blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 3 264 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 5 140 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 986
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 3.89k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 23
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 145
values | src_encoding stringclasses 34
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 3 10.4M | extension stringclasses 122
values | content stringlengths 3 10.4M | authors listlengths 1 1 | author_id stringlengths 0 158 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
a0dd47af1b552d19f3583c8095e67390cde686ca | c824d97cc1208744e4453bac916dcc24dc77a377 | /libcaf_core/src/type_erased_value.cpp | 6392f29a4c3bd63d2d4a6602762335f894baa512 | [
"BSL-1.0"
] | permissive | DePizzottri/actor-framework | 1a033440660c4ea507b743b0d46a46de7fd30df6 | bdbd19541b1e1e6ec0abe16bcf7db90d73c649d2 | refs/heads/master | 2021-01-24T00:23:18.672012 | 2018-04-28T13:04:21 | 2018-04-28T13:04:21 | 59,172,681 | 0 | 0 | null | 2017-03-07T04:22:26 | 2016-05-19T04:04:18 | C++ | UTF-8 | C++ | false | false | 1,799 | cpp | /******************************************************************************
* ____ _ _____ *
* / ___| / \ | ___| C++ *
* | | / _ \ | |_ Actor *
... | [
"dominik.charousset@haw-hamburg.de"
] | dominik.charousset@haw-hamburg.de |
8c55a2fee42abd7569c14942316464bb6ff980c0 | 5a9e00549b34e729aee373786fd4c8bc26b85670 | /main.cpp | 83e08d26faa9533da9241bdd80f45fe7a56f09fb | [] | no_license | pelikenmag/tetris | 5b11b8513be64e1cc1074845a1661d6ca52b460b | 2bee8cf822df1c4a6e87a975cf8628129793a766 | refs/heads/master | 2021-01-20T04:24:56.948643 | 2014-09-02T17:41:13 | 2014-09-02T17:41:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,700 | cpp | #include "tetris.h"
int main(){
Field gamefield;
Shape myshape;
st_MERGEME mergeme;
SDL_Event event_handle;
gamefield.Init(FIELD_SIZE_N,FIELD_SIZE_M);
int i,j,x=DEFAULT_X,y=DEFAULT_Y,mergeresult,protox=x;
char arrow;
bool quit=false;
myshape.Generate(SHAPE_STICK);
DrawWorld window2D;
window2... | [
"pelikenmag@gmail.com"
] | pelikenmag@gmail.com |
8f76b106331437044891d34a5ff1c9d03cc99d29 | 595f3608b6563f5cf162159704d7175326bb576f | /Src/AmrTask/rts_impls/mpi/PackageQueue.H | 9d6eb4f092a129436dc26d026ff9ebf5dcb794d5 | [
"BSD-2-Clause"
] | permissive | ChrisDeGrendele/amrex | b89ca9f5a3b475ee730ed5371f318eae2841e8b5 | 586ea4491d9920d4bb0b925cf3809cb1de1df493 | refs/heads/master | 2020-06-02T18:17:16.998018 | 2019-05-31T20:50:55 | 2019-05-31T20:50:55 | 191,254,393 | 0 | 0 | NOASSERTION | 2019-06-10T22:29:00 | 2019-06-10T22:28:59 | null | UTF-8 | C++ | false | false | 1,409 | h | #ifndef P_PACKAGEQUEUE_H
#define P_PACKAGEQUEUE_H
#include <PerillaConfig.H>
#include <pthread.h>
#include <mpi.h>
class Package
{
private:
int source, destination;
public:
double *databuf;
int bufSize;
pthread_mutex_t packageLock;
volatile bool completed; //message transfer is done
volatile bool served; ... | [
"tannguyen@lbl.gov"
] | tannguyen@lbl.gov |
1829e9a55811d0596400923fd7a80e179c26a823 | d2e0ec84698d691195500365ad6dca0b4737b72d | /skse64/skse64/ScaleformCallbacks.cpp | 579a5f07de57b19c9b28abdb2114a28c56af44ed | [
"MIT"
] | permissive | michaeljdietz/NpcVoiceActivation | 26fc9c170710b8f0a05ed9841369f3a036c0605e | df62efc5e6ed9510e4f9423561071d7119a3a44b | refs/heads/master | 2020-03-14T12:30:39.768955 | 2018-04-30T19:52:09 | 2018-04-30T19:52:09 | 131,613,327 | 2 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 776 | cpp | #include "ScaleformCallbacks.h"
#include <typeinfo>
UInt32 g_GFxFunctionHandler_count = 0;
GFxFunctionHandler::GFxFunctionHandler()
{
g_GFxFunctionHandler_count++;
}
GFxFunctionHandler::~GFxFunctionHandler()
{
g_GFxFunctionHandler_count--;
}
FunctionHandlerCache g_functionHandlerCache;
RelocAddr... | [
"michael.dietz@shelterlogic.com"
] | michael.dietz@shelterlogic.com |
26e9b32a0ac602db8e05eda995c6c0f156ce56bc | 08b8cf38e1936e8cec27f84af0d3727321cec9c4 | /data/crawl/squid/hunk_7122.cpp | 991bdd2b94171fb3b70dab6a4f627fa1a9a37504 | [] | 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 | 573 | cpp | {
*var = 0;
}
-
+
+static void
+dump_size_t(size_t var)
+{
+ printf("%d bytes", (int) var);
+}
+
+static void
+dump_kb_size_t(size_t var)
+{
+ printf("%d KB", (int) var);
+}
+
+static void
+parse_size_t(size_t *var)
+{
+ parseBytesLine(var, B_BYTES_STR);
+}
+
+static void
+parse_kb_size_t(size_t *var)
+{
... | [
"993273596@qq.com"
] | 993273596@qq.com |
60ba4e52aa3bb3c4f4a26f8e64dec172f8aca84b | e116d3e1069e483cd60cd2c56765b16cb0c875b0 | /addons/cirkit-addon-reversible/src/cli/commands/lpqx.hpp | 237335ca9725629464d486dc3d76221658046010 | [
"MIT"
] | permissive | alexandrecrsilva/cirkit | 0be24a3157e32a2a44ce042a72ef02f774136fb0 | c88215ffb18c05ff9f56b9b99327834b34054f80 | refs/heads/master | 2020-04-07T09:57:32.149641 | 2018-11-18T03:01:54 | 2018-11-18T03:01:54 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,927 | hpp | /* CirKit: A circuit toolkit
* Copyright (C) 2009-2015 University of Bremen
* Copyright (C) 2015-2017 EPFL
*
* 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, in... | [
"aamaralalmeida@gmail.com"
] | aamaralalmeida@gmail.com |
4e6e65085367f2ec055ce29f970ef74d52f007d3 | 5bccf2d2118008c0af6a51a92a042e967e4f2abe | /Support/Modules/GSRoot/Win32GDIPlusInterface.hpp | c0c959e80d8eca39799f2dbc44bbf0e4322f7707 | [
"Apache-2.0"
] | permissive | graphisoft-python/DGLib | fa42fadebedcd8daaddde1e6173bd8c33545041d | 66d8717eb4422b968444614ff1c0c6c1bf50d080 | refs/heads/master | 2020-06-13T21:38:18.089834 | 2020-06-12T07:27:54 | 2020-06-12T07:27:54 | 194,795,808 | 3 | 0 | Apache-2.0 | 2020-06-12T07:27:55 | 2019-07-02T05:45:00 | C++ | UTF-8 | C++ | false | false | 643 | hpp | // *****************************************************************************
// File: Win32GDIPlusInterface.hpp
//
// Description: Includes GDIPlus Headers
//
// Namespace: -
//
// Contact person: MM
//
// SG compatible
// *****************************************************************************
#if !defin... | [
"445212619@qqcom"
] | 445212619@qqcom |
9335d8776df15af44e60a09854464205f254f46a | f29124740362de0f137ebe665421555ff2f3f5e0 | /Minuit3/stdafx.cpp | 4d25dc47e9b595acba208b812f74c466a56645cb | [] | no_license | salvato/Minuit3 | 5ddbeca869137adb1015fd6188915874a579c03f | 1443216bd526643571802b2391f9d7ae796fb97e | refs/heads/master | 2020-04-27T00:33:21.606255 | 2019-03-05T11:55:54 | 2019-03-05T11:55:54 | 173,937,555 | 0 | 0 | null | null | null | null | ISO-8859-13 | C++ | false | false | 213 | cpp | // stdafx.cpp : file di origine che include solo le inclusioni standard
// Minuit3.pch sarą l'intestazione precompilata
// stdafx.obj conterrą le informazioni sui tipi precompilati
#include "stdafx.h"
| [
"noreply@github.com"
] | salvato.noreply@github.com |
e3651344e542830057edd500b615c6e7531ae04a | 9ab11e1e76fb7654ba1e247d035da873f4256d6a | /Sources/RainbowEngine/UI/include/UI/Widgets/InputFields/InputSingleScalar.h | ddbe95f3f502937f144e804b2adab42db6f632d5 | [] | no_license | Tekh-ops/RainbowEngine | f7e565ddcbdcab0e8fb663d8e51988b73895698f | 5d1dc91d15fc988d7eacdd23900d0d5c398d5f1b | refs/heads/master | 2023-04-03T13:55:10.200479 | 2021-04-01T15:14:48 | 2021-04-01T15:14:48 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,738 | h |
#pragma once
#include <Tools/Eventing/Event.h>
#include "UI/Widgets/DataWidget.h"
namespace UI::Widgets::InputFields
{
/**
* Input widget of generic type
*/
template <typename T>
class InputSingleScalar : public DataWidget<T>
{
static_assert(std::is_scalar<T>::value, "Invalid InputSingleScalar T (Scalar exp... | [
"43663573+leoandtt@users.noreply.github.com"
] | 43663573+leoandtt@users.noreply.github.com |
3f15420462f9b715113b92dd8748ea6bfad71f4c | 87d9f453831f38ca5dc45b74f8b31cb8093b4da0 | /cppVersion/Maximum Subarray.cpp | 55857c7918256967b3d37cd970d070664d17df6c | [
"MIT"
] | permissive | ChinoMars/LeetCodeSolution | a46cb8ce4690164ca7988232bff726b8740542bd | 604fc5e387582ecec85d0431bbddb542af2b92fa | refs/heads/master | 2020-05-21T00:08:44.124489 | 2015-10-30T02:00:14 | 2015-10-30T02:00:14 | 35,195,112 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 395 | cpp | class Solution
{
public:
int maxSubArray(vector<int>& nums)
{
int len = nums.size();
int fnlsum = INT_MIN, tmpsum = 0;
for(int i = 0; i < len; ++i)
{
tmpsum = tmpsum>=0 ? tmpsum+nums[i] : nums[i];
fnlsum = max(fnlsum,... | [
"chinomask@gmail.com"
] | chinomask@gmail.com |
dbec0ae167e90e5023eac29a07e211765f2d5f3e | 9611083d0317ce148f7a007550118cfb347ac845 | /PROJECTS/2016_09_AQUAPHONEIA/Flowsensor_Thibodeau/arduino/old_versions/Aquaphoenia-Flowsensor-0.7/Aquaphoenia-Flowsensor-0.7.ino | 25618609df69484812733addd3d6a32daeaa5029 | [] | no_license | navid/TML-depo | 957f65bfbb9f62c5089ee5396437329f9868fb3e | 08e215db1bd7967de74d5f200a1e4f839cf8d7b9 | refs/heads/master | 2023-02-08T22:04:02.402584 | 2023-02-07T03:28:28 | 2023-02-07T03:28:28 | 45,488,866 | 3 | 4 | null | 2017-11-01T18:21:18 | 2015-11-03T19:02:47 | Max | UTF-8 | C++ | false | false | 2,741 | ino | //--------------------------------------
// DECLARING STUFF
//--------------------------------------
// Timer variables
int ONE_SECOND = 62500;
int TIME_DIV = 4;
//int RESET_COUNT = 65536 - (ONE_SECOND / TIME_DIV);
int RESET_COUNT = 49910; //4Hz
// Testing variables
volatile bool isr_flag = false;
volatile bool ... | [
"navid.nav@gmail.com"
] | navid.nav@gmail.com |
a2a99dd1230df8b2d1eccc32b8378a5b8b3fcd28 | 684c9beb8bd972daeabe5278583195b9e652c0c5 | /src/cobalt/script/mozjs-45/mozjs_data_view.h | 64b0228616e65a49904c4b2918d13a13f8b1bf06 | [
"BSD-3-Clause",
"Apache-2.0"
] | permissive | elgamar/cobalt-clone | a7d4e62630218f0d593fa74208456dd376059304 | 8a7c8792318a721e24f358c0403229570da8402b | refs/heads/master | 2022-11-27T11:30:31.314891 | 2018-10-26T15:54:41 | 2018-10-26T15:55:22 | 159,339,577 | 2 | 4 | null | 2022-11-17T01:03:37 | 2018-11-27T13:27:44 | C++ | UTF-8 | C++ | false | false | 4,203 | h | // Copyright 2018 The Cobalt Authors. 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 by ap... | [
"aabtop@google.com"
] | aabtop@google.com |
1271239ec4b48ba565f775e79b0b2770cd71f835 | bc3b19735701983322449ad28281971f5e6a9c6d | /Player.h | c41c50c547c71bd5573de292ea2b6aa844ffbb4f | [] | no_license | ykh09242/TileGame | 5553dd490321ab33c64b71d8c0a1b5d277156087 | 5f1cdd966659cbd8d87f0b5e3a1b9a893d99634f | refs/heads/master | 2020-03-21T21:51:43.327512 | 2018-07-03T08:28:47 | 2018-07-03T08:28:47 | 138,686,034 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 214 | h | #pragma once
class Player
{
public:
string shape;
Vector2 pos;
int move;
bool turnEnd;
private:
bool item;
public:
Player(string shape, Vector2 startPos, int move = 1);
public:
void Moving(Map* map);
};
| [
"phk09242@gmail.com"
] | phk09242@gmail.com |
0880399f98ab642e3233fe261d9672cce48e07a3 | b7593b8540740813b210fbec7dca2fe1833d9594 | /Timer.h | 90e98d7ce37858f16c27f434a1d63b1fe27632f2 | [] | no_license | samrbutler/FeyndDiagram | 0193ffe450a5576a3985b49638d087f725e5ea86 | fefd0d991f55feae646bdae9a1f8178012fe8431 | refs/heads/master | 2023-03-10T21:13:09.221548 | 2021-02-17T16:16:09 | 2021-02-17T16:16:09 | 299,690,606 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 414 | h | #pragma once
#include <chrono>
#include <iostream>
#include <string>
class Timer
{
using clock_t = std::chrono::high_resolution_clock;
using second_t = std::chrono::duration<double, std::ratio<1> >;
std::chrono::time_point<clock_t> m_beg;
public:
Timer() : m_beg(clock_t::now()) {};
void reset() { m_beg = clo... | [
"sam.r.butler@outlook.com"
] | sam.r.butler@outlook.com |
06e81d526f954c6efc67d218631b48b633e80ab1 | 329bf38920ae26cf6699a659d0a875b43cd4764e | /STM8L101F3P6/utils/queue/queue.cpp | ee50db313f29bb51ce231e75e1bb044bb3121a25 | [] | no_license | amitandgithub/STM8L101F3_FW | ae012d6417ca1c11bbab66734529f7fbe07b4957 | 787e802665b199f2183fc8fad19b4189661f613e | refs/heads/master | 2022-01-23T00:12:38.080393 | 2021-12-25T04:42:02 | 2021-12-25T04:42:02 | 199,318,490 | 0 | 0 | null | 2019-09-06T04:57:37 | 2019-07-28T17:39:52 | C | UTF-8 | C++ | false | false | 2,218 | cpp | /******************
** FILE: queue.c
**
** DESCRIPTION:
** queue implementation
**
** CREATED: 8/5/2019, by Amit Chaudhary
******************/
#include"queue.hpp"
queue::Queue_Status_t queue::QueueInit(Queue_t* pQueue)
{
if(pQueue)
{
pQueue->WriteHead = pQueue->Capacity - 1; // rear
pQueue->ReadHead = 0... | [
"amit4u.com@gmail.com"
] | amit4u.com@gmail.com |
638b97491d2610206cf1d2496e9cf939e7468971 | adfcd15da351a38af5713ea4e138160e1744bc1e | /src/Pool.h | 0f93b6fd913b5d3d93a66a0301c0508420eb9e42 | [
"BSD-2-Clause"
] | permissive | natecollins/vecs | 05ea013a89d4c6a3a5a76bec288212ba797dbc4c | b003b8f856acd20c8d02cfea89baed119b8cd794 | refs/heads/master | 2020-03-23T01:24:48.192243 | 2018-07-14T04:30:55 | 2018-07-14T04:30:55 | 140,915,974 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,793 | h | #ifndef POOL_H_
#define POOL_H_
#include <cstdint>
#include <cstdlib>
#include <deque>
#include <vector>
#include <tuple>
#include <atomic>
#include "entdef.h"
namespace vecs
{
class Pool {
friend class Domain;
private:
// Spinlock for allocations/de-allocations
std::atomic_flag spinlock;
// Assignme... | [
"npcollins@gmail.com"
] | npcollins@gmail.com |
0d2de1cd68d86ba5beae70eb86b90f6ce81f3175 | 33eaafc0b1b10e1ae97a67981fe740234bc5d592 | /tests/RandomSAT/z3-master/src/math/euclid/euclidean_solver.cpp | af11d43044ded464574903c7fa76fb8d10d7c9b5 | [
"MIT"
] | permissive | akinanop/mvl-solver | 6c21bec03422bb2366f146cb02e6bf916eea6dd0 | bfcc5b243e43bddcc34aba9c34e67d820fc708c8 | refs/heads/master | 2021-01-16T23:30:46.413902 | 2021-01-10T16:53:23 | 2021-01-10T16:53:23 | 48,694,935 | 6 | 2 | null | 2016-08-30T10:47:25 | 2015-12-28T13:55:32 | C++ | UTF-8 | C++ | false | false | 29,230 | cpp | /*++
Copyright (c) 2011 Microsoft Corporation
Module Name:
euclidean_solver.cpp
Abstract:
Euclidean Solver with support for explanations.
Author:
Leonardo de Moura (leonardo) 2011-07-08.
Revision History:
--*/
#include"euclidean_solver.h"
#include"numeral_buffer.h"
#include"heap.h"
struct euclidean... | [
"nikaponens@gmail.com"
] | nikaponens@gmail.com |
c687408876c520061be8235999944711d40863c6 | 308f3cb8a30fcacd8851cc2ed979949b643cf1d9 | /bzoj__orzliyicheng/p1237.cpp | 9a552c45fea54165cab3c3206e0ace5591729bc0 | [] | no_license | szh-bash/ACM | 9a49859644d077bcb40f90dbac33d88649e7b0f3 | 3ddab1ab8f9b8a066f012f2978ee9519d00aec54 | refs/heads/master | 2022-08-08T19:20:09.912359 | 2022-07-20T10:43:57 | 2022-07-20T10:43:57 | 98,170,219 | 5 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 889 | cpp | #include<iostream>
#include<cstdio>
#include<cstring>
#include<algorithm>
using namespace std;
typedef long long ll;
const ll inf=10000000000009LL;
#define abs(x) (((x)<0)?(-(x)):(x))
#define A(x,y) ((x==y)?inf:abs((x)-(y)))
ll n,a[100005],b[100005],f[100005];
char buf[2000000],*p=buf;
inline int getint(){
ll r=0; ... | [
"342333349@qq.com"
] | 342333349@qq.com |
904e9b852ca21ca230939af2f5cca46d8778e20a | fa3a850e413f7ba655eed6ad009e075e0f0e3286 | /cpp_d06_2019/hospital/KoalaDoctorList.hpp | 606313c6c86e139e66199c085883cc2ba866547e | [] | no_license | Pavlograd/Piscine-CPP-2020 | fa31d3f45fdafddb88215c0a48a35076a0706100 | 3cdd6a1a9d4354aa48aada4834a7d2edbd5f2f59 | refs/heads/master | 2022-11-12T02:07:09.912933 | 2020-07-05T19:35:19 | 2020-07-05T19:35:19 | 277,366,066 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 640 | hpp | /*
** EPITECH PROJECT, 2020
** KoalaDoctorList
** File description:
** KoalaDoctorList
*/
#ifndef KoalaDoctorList_Ex05
#define KoalaDoctorList_Ex05
#include "KoalaDoctor.hpp"
#include <list>
class KoalaDoctorList {
public:
KoalaDoctorList(KoalaDoctor *koala);
~KoalaDoctorList();
bool isEnd();
void app... | [
"noreply@github.com"
] | Pavlograd.noreply@github.com |
f2ba86b536158bc9c8d8f1536468b0dcddc82612 | 4eb4242f67eb54c601885461bac58b648d91d561 | /algorithm/poj/2337/code.cc | 83707f4d5504837a6677c71b0068c72b069ca86e | [] | no_license | biebipan/coding | 630c873ecedc43a9a8698c0f51e26efb536dabd1 | 7709df7e979f2deb5401d835d0e3b119a7cd88d8 | refs/heads/master | 2022-01-06T18:52:00.969411 | 2018-07-18T04:30:02 | 2018-07-18T04:30:02 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,088 | cc | // Copyright 2013 Jike Inc. All Rights Reserved.
// Author: Liqiang Guo(guoliqiang@jike.com)
// I just want to GH to hss~
// Date : 2013-11-13 19:10:49
// File : code.cc
// Brief :
/*
* 单词作为边,节点是26个字符,这样的构图才是可以用
* 欧拉路来做的
* Accepted 424K 47MS
* */
#include "base/public/common_ojhead.h"
namespace algorithm {
c... | [
"guoliqiang2006@126.com"
] | guoliqiang2006@126.com |
185c576c41ae5ab485510ba6776760d6ef6ddf5a | ae99db8a12c4e22a6e844100144babc5f452a152 | /DSA/Leetcode/121.cc | dfd64d9e69b72d5ec468427340e3af15e6f4cf23 | [
"MIT"
] | permissive | zhmz90/Lan | 6d7591344029b80e16c39b41cddce500bcf32418 | d7bb1b38ecb5a082276efaafdadca8d9700fbc27 | refs/heads/master | 2021-01-21T12:53:58.281744 | 2017-07-21T11:54:45 | 2017-07-21T11:54:45 | 48,616,087 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,359 | cc | /** 121. Best Time to Buy and Sell Stock
Say you have an array for which the ith element is the price of a given stock on day i.
If you were only permitted to complete at most one transaction (ie, buy one and sell one share of the stock), design an algorithm to find the maximum profit.
Example 1:
Input: [7, 1, 5, 3, ... | [
"zhmz90@gmail.com"
] | zhmz90@gmail.com |
05b37699a4808e786a867a58d6833c6554d5df4b | ffd9e6bb9e3ceb48f07ad48a9ea5f7816a9db7c0 | /src/primitives/block.h | 9fa1861fe64e638a86067166244d0a49b3a478c6 | [
"MIT"
] | permissive | weigun/MagnaChain-dev-master | 0a26a48cbd617b4a6e2bc610d27b779d4022e18b | a7587b10072cca03a6c7a6a44cba1b6f2a202af6 | refs/heads/master | 2020-05-01T16:21:32.855483 | 2019-03-23T06:42:01 | 2019-03-23T06:42:01 | 175,793,168 | 0 | 0 | MIT | 2019-03-15T09:50:45 | 2019-03-15T09:50:42 | null | UTF-8 | C++ | false | false | 4,601 | h | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2016 The Bitcoin Core developers
// Copyright (c) 2016-2019 The MagnaChain Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef MAGNACHAIN_PRI... | [
"weigun@weigun.com"
] | weigun@weigun.com |
4cdaa9370b5fb6d0b40ad7bbfeb3f246dc9ef91b | 16c6035c8b20b58937e527081ddeb10f508e9034 | /ros_ws/devel/include/piksi_rtk_msgs/ImuRawMulti.h | b703ad07c8ffe7ca6086169b170b00d7f24bdfcd | [
"MIT"
] | permissive | njoubert/tgdriver | 77d082ab9a6537327de74276eb81f8cba6ebb323 | e46ce6d89488116136a56805abfafe3b0d979ee1 | refs/heads/master | 2020-07-04T08:46:35.637633 | 2019-08-04T06:15:03 | 2019-08-04T06:15:03 | 192,004,866 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,186 | h | // Generated by gencpp from file piksi_rtk_msgs/ImuRawMulti.msg
// DO NOT EDIT!
#ifndef PIKSI_RTK_MSGS_MESSAGE_IMURAWMULTI_H
#define PIKSI_RTK_MSGS_MESSAGE_IMURAWMULTI_H
#include <string>
#include <vector>
#include <map>
#include <ros/types.h>
#include <ros/serialization.h>
#include <ros/builtin_message_traits.h>
... | [
"ottotechnogecko@gmail.com"
] | ottotechnogecko@gmail.com |
845e398f5a8050062ee9de1415d037caf0c5fa41 | c76bca6811a24c4434209bcc0d5736118886e88c | /week8/assignment/Main.cpp | cfc28219387a49af89b199dc4a8106ce0f116684 | [] | no_license | Ellard24/CS162 | bb2c161f844beef11d2306839144854679d2a481 | 8335e6b9c700f467763bf1b230102db3e9b57539 | refs/heads/master | 2021-01-10T17:13:29.458696 | 2016-03-17T17:20:07 | 2016-03-17T17:20:07 | 54,130,981 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,796 | cpp | /*****************************************************************************************************
**Author: Ellard Gerritsen van der Hoop
**Description: This program will ask users to input what fighters they want to put against each other.
** The program will then create these fighters with appropriate stats ... | [
"egvdh@comcast.net"
] | egvdh@comcast.net |
cea0d5569a18a621c0adca0c86705e137e5e9aec | e0548caf7bd8153f8d991b7d7c1bed487402f0bc | /semestr-5/Algorytmy i struktury danych 1/PRO/programy-z-cwiczen/2019/C07/ID03P06/C07_ID03P06_0001/include/TabInt01.h | d35ed144317ad8076de84fd129371b57ff7ed087 | [] | no_license | Ch3shireDev/WIT-Zajecia | 58d9ca03617ba07bd25ce439aeeca79533f0bcb6 | 3cd4f7dea6abdf7126c44a1d856ca5b6002813ca | refs/heads/master | 2023-09-01T11:32:12.636305 | 2023-08-28T16:48:03 | 2023-08-28T16:48:03 | 224,985,239 | 19 | 24 | null | 2023-07-02T20:54:18 | 2019-11-30T08:57:27 | C | UTF-8 | C++ | false | false | 758 | h | #ifndef TABINT01_H
#define TABINT01_H
///213.135.46.21:7070
///\\sz240\temp\PRO
#include <iostream>
#include<ctime>
using std::cout;
using std::cin;
using std::string;
using std::endl;
using std::to_string;
using std::ostream;
///**********************************
///**********************************
c... | [
"thesmilingcatofcheshire@gmail.com"
] | thesmilingcatofcheshire@gmail.com |
3806098444e7b001fa171d3d3fe45ebcafe5df26 | 68843a3957f49255aa0aacd7dc99a541a38e3c72 | /STEP1/Scene.h | 298f4f4e3589fe19d7707b49f0903546f2d58dc8 | [] | no_license | gamorejon/cell-ray | 61fec3e9c7df7146c77ce76ef0cd0df984709208 | 8f567f6c3741cf75d4bb2a0d67b53c0b050cfc6b | refs/heads/master | 2021-01-19T12:12:34.567177 | 2012-08-10T21:47:16 | 2012-08-10T21:47:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,139 | h | #ifndef SCENE_H
#define SCENE_H
#include <vector>
#include <cmath>
using namespace std;
#include <altivec.h>
#include "SceneObject.h"
#include "ColorGroup.h"
#include "Intersection.h"
#include "Light.h"
#include "AltivecUtils.h"
#include "VectorSInt.h"
class Scene
{
private:
SceneObject** objects;
Light** li... | [
"gamorejon@gmail.com"
] | gamorejon@gmail.com |
2b085414a8218ce467d66ee7369032148ade9b2f | e1923c6dbede9cf6cca4c95346a2e0544e1d8c12 | /src/main.cpp | 6d081f4c7b2eb9c3c2ced72eb9ee5ad6ae0c1213 | [] | no_license | TolimanStaR/Ex09 | 8015ac669fa8f4fa3520ee2f75a708d690617d57 | 0ef19457137799c4f0ee7a5fb751dfa7c41ccd2b | refs/heads/main | 2023-02-11T17:04:20.500084 | 2021-01-13T20:20:08 | 2021-01-13T20:20:08 | 328,803,915 | 0 | 0 | null | 2021-01-11T22:09:56 | 2021-01-11T22:09:56 | null | UTF-8 | C++ | false | false | 233 | cpp | // Copyright 2021 Toliman
#include "../include/MyStack.h"
signed main() {
MyStack<int> s(3);
s.push(1);
s.push(3);
MyStack<int> t(3);
t.push(8924389);
t.push(89489);
MyStack<int> u(t);
return 0;
}
| [
"dadyryaev@edu.hse.ru"
] | dadyryaev@edu.hse.ru |
20dfa3809caa970f7b91ddf1dba3b03bbd6e3fb2 | cd7fdd7cca834eb7649973908b8ff7d40580e756 | /Plugins/AdvancedSessions/AdvancedSessions/Intermediate/Build/Win64/UE4/Inc/AdvancedSessions/AdvancedFriendsLibrary.generated.h | 5cdad9e936280f276994de7a57a446b75d39e811 | [
"MIT"
] | permissive | jackychew77/FYP | 09cb03ea326e7aed0ad190bd6f13a38153ff4095 | 4ba57241a1d960f6ff3cb40c375aeb29982efa0d | refs/heads/master | 2022-09-22T22:12:54.900880 | 2020-05-28T08:30:06 | 2020-05-28T08:30:06 | 206,222,682 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,575 | h | // Copyright 1998-2019 Epic Games, Inc. All Rights Reserved.
/*===========================================================================
Generated code exported from UnrealHeaderTool.
DO NOT modify this manually! Edit the corresponding .h files instead!
==============================================================... | [
"jacky_chew629@live.com.my"
] | jacky_chew629@live.com.my |
5c796659b9b0dc8b7115a2dad76cc117339d68c5 | de984a13290408a3dc42fecdbf65a04c3bc4ccb5 | /shadowmapping-master/ShaderDefault.cpp | 2fd024625ac9de8f10106d853f20db4bc2b4dc8e | [] | no_license | HerrAndersson/3DProject | d39e5243bcb49b896bf3a30955b9479772ca94fc | 7c5254cd3987d53243284d92c382bcbd2129ee5b | refs/heads/master | 2021-01-21T03:29:49.108644 | 2016-04-28T22:45:14 | 2016-04-28T22:45:14 | 57,338,388 | 0 | 0 | null | 2016-04-28T22:43:25 | 2016-04-28T22:43:23 | null | UTF-8 | C++ | false | false | 3,723 | cpp | #include "ShaderDefault.h"
using namespace DirectX;
using namespace std;
ShaderDefault::ShaderDefault(ID3D11Device* device,
LPCWSTR vertexShaderFilename,
LPCWSTR pixelShaderFilename
) : ShaderBase(device)
{
D3D11_INPUT_ELEMENT_DESC inputDesc[] =
{
{ "POSITION", 0, DXGI_FORMAT_R32G32B32_FLOAT, 0, 0, D3D11_INPUT... | [
"anderssonjonas94@gmail.com"
] | anderssonjonas94@gmail.com |
8d60a08a5aafdba0384cff343d51e3d838ac3426 | 99143df5e2ef15f8f9b7e90c320a61ce93a1ffe8 | /Burgh/StatDisplay.h | 2fc5f386b9c0a964d2788107856f446490bbb03b | [] | no_license | MrGodin/IceCaves | af55f600cc70277d3b3332b3844966e2f7ec155d | ee6aafc60170b329329ae7918746dfb235610fda | refs/heads/master | 2020-05-30T17:48:44.221679 | 2015-08-11T20:16:53 | 2015-08-11T20:16:53 | 40,512,793 | 0 | 0 | null | 2015-08-11T20:16:53 | 2015-08-11T00:30:06 | C++ | UTF-8 | C++ | false | false | 1,464 | h |
#pragma once
#include "GuiFrame.h"
#include "GuiTextControl.h"
class StatDisplay : public GuiFrame
{
private:
protected:
GuiText* pFps = NULL;
GuiText* pWorldPos = NULL;
public:
StatDisplay(GuiFrameDesc desc)
:
GuiFrame(desc)
{
}
~StatDisplay()
{
SAFE_DELETE(pFps);
SAFE_DELETE(pWorldPos);
}
void... | [
"benwold@telus.net"
] | benwold@telus.net |
f77d99738b9417fca4e9bc674fe5a49d6db9eb81 | 5898d3bd9e4cb58043b40fa58961c7452182db08 | /part4/ch30/30-4-3-5-error_code-mapping/src/my_future_errc.h | bc8df3b4eb69405a5fc5257af02893748e32cead | [] | no_license | sasaki-seiji/ProgrammingLanguageCPP4th | 1e802f3cb15fc2ac51fa70403b95f52878223cff | 2f686b385b485c27068328c6533926903b253687 | refs/heads/master | 2020-04-04T06:10:32.942026 | 2017-08-10T11:35:08 | 2017-08-10T11:35:08 | 53,772,682 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 718 | h | /*
* my_future_errc.h
*
* Created on: 2017/08/06
* Author: sasaki
*/
#ifndef MY_FUTURE_ERRC_H_
#define MY_FUTURE_ERRC_H_
#include <system_error>
#include <string>
using namespace std;
enum class my_future_errc {
broken_promise = 1,
future_already_retrieved,
promise_already_satisfied,
no_state
};
clas... | [
"sasaki-seiji@msj.biglobe.ne.jp"
] | sasaki-seiji@msj.biglobe.ne.jp |
dbd100284e494eb7106787771442f8c1b84a2ebc | c4979d123ddfd01c3a4251b1d84fd4797684242d | /src/business/management_server/actions/server_list_request_action.h | 0668d4e3c718fa84ff5ca928a70b4e3f59559b30 | [] | no_license | evandropoa/open-carom3d-server | e9a3aedae46610ea062e3a19e785779b13cfdc6e | 9c3d5af8cb9e79c4650f85607d47d9afa0be3f50 | refs/heads/master | 2022-11-07T06:29:12.170550 | 2020-06-09T06:29:46 | 2020-06-09T06:29:46 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 547 | h | //
// Created by CGR on 15/05/2020.
//
#ifndef __OPEN_CAROM3D_SERVER_SERVER_LIST_REQUEST_H__
#define __OPEN_CAROM3D_SERVER_SERVER_LIST_REQUEST_H__
#include <business/util/abstract_action.h>
namespace business { namespace management {
class ServerListRequestAction : public AbstractAction<void> {
public:
... | [
"cesargreche@gmail.com"
] | cesargreche@gmail.com |
da6d22d1fc4c47fc7bd7aed4c5dde096d9940929 | 3dbec36a6c62cad3e5c6ec767b13f4038baa5f79 | /cpp-lang/qt/quick/integratingqml/backend.h | 97c13707fa5e68b95fa22e9b37e7f8ab7a9cee83 | [] | no_license | reposhelf/playground | 50a2e54436e77e7e6cad3a44fd74c0acc22a553a | 47ddd204a05ec269e4816c2d45a13e5bc6d3e73a | refs/heads/master | 2022-04-22T13:50:24.222822 | 2020-04-10T15:59:30 | 2020-04-10T15:59:30 | 254,675,772 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 463 | h | #ifndef BACKEND_H
#define BACKEND_H
#include <QObject>
#include <QString>
class BackEnd : public QObject
{
Q_OBJECT
Q_PROPERTY(QString userName READ userName WRITE setUserName NOTIFY userNameChanged)
public:
explicit BackEnd(QObject *parent = nullptr);
QString userName() const { return m_userName; }
... | [
"vladimironiuk@gmail.com"
] | vladimironiuk@gmail.com |
dcbd68892c41f860cf6f1ae91a48bd16bccf7391 | bb6ebff7a7f6140903d37905c350954ff6599091 | /ui/app_list/views/apps_grid_view.cc | d7da61bd4191ed9c8d016eb58df39c7834f90923 | [
"BSD-3-Clause"
] | permissive | PDi-Communication-Systems-Inc/lollipop_external_chromium_org | faa6602bd6bfd9b9b6277ce3cd16df0bd26e7f2f | ccadf4e63dd34be157281f53fe213d09a8c66d2c | refs/heads/master | 2022-12-23T18:07:04.568931 | 2016-04-11T16:03:36 | 2016-04-11T16:03:36 | 53,677,925 | 0 | 1 | BSD-3-Clause | 2022-12-09T23:46:46 | 2016-03-11T15:49:07 | C++ | UTF-8 | C++ | false | false | 73,690 | cc | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ui/app_list/views/apps_grid_view.h"
#include <algorithm>
#include <set>
#include <string>
#include "base/guid.h"
#include "ui/app_list/app... | [
"mrobbeloth@pdiarm.com"
] | mrobbeloth@pdiarm.com |
62f2c03046d409d07addc69ef2566f1d59190278 | 5f17573507d160aa087b02d0f00d97be7a603f6c | /319c.cpp | efe802d35c90df985aa1c2bf61c6c3d4fd686578 | [] | no_license | nishnik/Competitive-Programming | 33590ea882e449947befc36594fd20c720c05049 | cab12301ca7343b6e5f4464fcfbb84b437379da8 | refs/heads/master | 2021-01-10T05:43:44.252506 | 2016-02-23T14:14:03 | 2016-02-23T14:14:03 | 52,363,354 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,005 | cpp | #include <bits/stdc++.h>
//usage getline(cin,str_name);
#define rep(i, n) for(__typeof(n) i = 0; i < (n); i++)
#define rrep(i, n) for(__typeof(n) i = (n) - 1; i >= 0; --i)
#define rep1(i, n) for(__typeof(n) i = 1; i <= (n); i++)
#define FOR(i, a, b) for(__typeof(b) i = (a); i <= (b); i++)
#define forstl(i, s) for (... | [
"nishantiam@gmail.com"
] | nishantiam@gmail.com |
7219bf2a0c913ae407ae363b504d8f6ee6025afa | 5552798e3562cad0b615b6141f8ea33214bba861 | /C++/Codeforces/newyearpermu.cpp | fcb3ea8b95d3e153f8ca3ba46986d22498ea5867 | [] | no_license | YashSharma/C-files | 3922994cf7f0f5947173aa2b26a7dc399919267b | 3d7107e16c428ee056814b33ca9b89ab113b0753 | refs/heads/master | 2016-08-12T09:16:25.499792 | 2015-12-20T08:24:47 | 2015-12-20T08:24:47 | 48,312,664 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,817 | cpp | #include<iostream>
#include<stdio.h>
#include<algorithm>
using namespace std;
static int a[302][302];
bool visited[302]={0};
static int test[302];
static int position[302];
static int p[302];
int pos=0;
void tovisit(int n,int size)
{ int flag=0,i=n,j;
visited[i]=1;
for(j=0;j<size;j++)
{ if(v... | [
"Apple@Yash-MacBook-Air.local"
] | Apple@Yash-MacBook-Air.local |
49d1263a08328d29d957c9eebdd1cdc9bdcce858 | aae79375bee5bbcaff765fc319a799f843b75bac | /atcoder/abc_146/c.cpp | fd9ace2d78b1d2116d12758ede9a195fdda288f5 | [] | no_license | firewood/topcoder | b50b6a709ea0f5d521c2c8870012940f7adc6b19 | 4ad02fc500bd63bc4b29750f97d4642eeab36079 | refs/heads/master | 2023-08-17T18:50:01.575463 | 2023-08-11T10:28:59 | 2023-08-11T10:28:59 | 1,628,606 | 21 | 6 | null | null | null | null | UTF-8 | C++ | false | false | 571 | cpp | // C.
#include <iostream>
#include <sstream>
#include <algorithm>
#include <vector>
#include <cmath>
using namespace std;
typedef long long LL;
int main(int argc, char* argv[]) {
cout.precision(20);
#ifdef _MSC_VER
while (true)
#endif
{
LL a, b, x = -1;
cin >> a >> b >> x;
if (x < 0) return 0;
LL left = ... | [
"karamaki@gmail.com"
] | karamaki@gmail.com |
0e4b2a0a52ae40c1f56ea562c0f94d4041e84553 | 801f7ed77fb05b1a19df738ad7903c3e3b302692 | /refactoringOptimisation/differentiatedCAD/occt-min-topo-src/src/BRepAlgo/BRepAlgo_Tool.cxx | 8d2110caae2643d9b6070da561c56dbf30523c1a | [] | no_license | salvAuri/optimisationRefactoring | 9507bdb837cabe10099d9481bb10a7e65331aa9d | e39e19da548cb5b9c0885753fe2e3a306632d2ba | refs/heads/master | 2021-01-20T03:47:54.825311 | 2017-04-27T11:31:24 | 2017-04-27T11:31:24 | 89,588,404 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,850 | cxx | // Created on: 1995-10-23
// Created by: Yves FRICAUD
// Copyright (c) 1995-1999 Matra Datavision
// Copyright (c) 1999-2014 OPEN CASCADE SAS
//
// This file is part of Open CASCADE Technology software library.
//
// This library is free software; you can redistribute it and/or modify it under
// the terms of the GNU L... | [
"salvatore.auriemma@opencascade.com"
] | salvatore.auriemma@opencascade.com |
16152f2e9078375555eae45332d38bc7062b4de0 | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/collectd/gumtree/collectd_repos_function_2399_collectd-5.6.3.cpp | a2e27d80cc1731941381a6c20d3e8c9945c6cf98 | [] | no_license | niuxu18/logTracker-old | 97543445ea7e414ed40bdc681239365d33418975 | f2b060f13a0295387fe02187543db124916eb446 | refs/heads/master | 2021-09-13T21:39:37.686481 | 2017-12-11T03:36:34 | 2017-12-11T03:36:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 932 | cpp | int parse_identifier_vl(const char *str, value_list_t *vl) /* {{{ */
{
char str_copy[6 * DATA_MAX_NAME_LEN];
char *host = NULL;
char *plugin = NULL;
char *plugin_instance = NULL;
char *type = NULL;
char *type_instance = NULL;
int status;
if ((str == NULL) || (vl == NULL))
return (EINVAL);
sstrnc... | [
"993273596@qq.com"
] | 993273596@qq.com |
05e3a0a1e6de3db461fa4c0fe23f100de76a3ee1 | 45a26f28a29ab6dd9d3bcf315117d814f50808b1 | /src/AppleSMBIOS/AppleSMBIOS-41/AppleSMBIOS.cpp | a26a5c96df9e4f1d39bf1ffb5388ce011f6669e8 | [] | no_license | zeborrego/opensource.apple.com | 0eb9161029ce8440dbdc4b5157b3927a6e381f8d | 88cbaab4a42e97cbbfe6b660f2f0945536821be6 | refs/heads/master | 2021-07-06T17:16:28.241638 | 2017-10-02T11:58:56 | 2017-10-02T11:58:56 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 34,266 | cpp | /*
* Copyright (c) 1998-2009 Apple Computer, Inc. All rights reserved.
*
* @APPLE_LICENSE_HEADER_START@
*
* The contents of this file constitute Original Code as defined in and
* are subject to the Apple Public Source License Version 2.0 (the
* "License"). You may not use this file except in compliance with th... | [
"mattl@cnuk.org"
] | mattl@cnuk.org |
6e538136c6970fe02384f1287b6c63029c411c32 | 729ae3d19e80f5ca0f48cfa010784a92531ad6b9 | /mak_dic_zzj.cpp | f375e65f374bc79650e871f30094fe1019af4e90 | [] | no_license | zhenjizhang/NLP | a77264c79b0db885035dc88b2b089a675a3bebfb | 5b587caa7c28acc1882d299c6daef9e85e867bb8 | refs/heads/master | 2021-06-25T04:44:19.861951 | 2017-09-12T10:14:35 | 2017-09-12T10:14:35 | 103,254,862 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,178 | cpp | #include <iostream>
#include <map>
#include <vector>
#include <string>
#include <fstream>
using namespace std;
const char *Train_text = "TrainData.txt";
const char *dic_text = "dic.txt";
// struct dic_word
// {
// int num;
// string word;
// double rate;
// }
map <string, double> dic_word;
map <string, double> ::... | [
"noreply@github.com"
] | zhenjizhang.noreply@github.com |
f295d6c4d31e87a46505c3bbe1f2dabcf80787ab | b76289396b22eda191f25744a600fac2abaf8850 | /third-party/fizz/src/fizz/protocol/BrotliCertificateCompressor.cpp | 9aeb6cb4c6d10a37b0b0b89543aeb60898e27b4c | [
"BSD-3-Clause",
"MIT",
"PHP-3.01",
"Zend-2.0"
] | permissive | fengjixuchui/hhvm | cb8cece7afd025fb8cdf8479c2a0696f38730949 | bbbb1782fa258b8dd526ffc7e8ba0f6115931bff | refs/heads/master | 2023-03-15T15:55:46.355422 | 2023-01-27T13:59:08 | 2023-01-27T13:59:08 | 175,142,159 | 0 | 1 | NOASSERTION | 2021-11-03T11:22:20 | 2019-03-12T05:34:16 | C++ | UTF-8 | C++ | false | false | 2,151 | cpp | /*
* Copyright (c) 2018-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree.
*/
#include <brotli/encode.h>
#include <fizz/protocol/BrotliCertificateCompressor.h>
using namespace foll... | [
"atry@fb.com"
] | atry@fb.com |
fcf5c0a3f82b704b3266ded483a7d5d8eae8d7cd | 74e7667ad65cbdaa869c6e384fdd8dc7e94aca34 | /MicroFrameworkPK_v4_1/BuildOutput/public/debug/Client/stubs/spot_net_security_native_Microsoft_SPOT_Net_Security_SslNative.h | 0767fe1527105eabf5fcfb4f2a0f65bd3dcbed2c | [
"BSD-3-Clause",
"OpenSSL",
"LicenseRef-scancode-unknown-license-reference",
"Apache-2.0"
] | permissive | gezidan/NETMF-LPC | 5093ab223eb9d7f42396344ea316cbe50a2f784b | db1880a03108db6c7f611e6de6dbc45ce9b9adce | refs/heads/master | 2021-01-18T10:59:42.467549 | 2011-06-28T08:11:24 | 2011-06-28T08:11:24 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,534 | h | //-----------------------------------------------------------------------------
//
// ** WARNING! **
// This file was generated automatically by a tool.
// Re-running the tool will overwrite this file.
// You should copy this file to a custom location
// before adding any customizat... | [
"psampaio.isel@gmail.com"
] | psampaio.isel@gmail.com |
875d556f40fc399e6c1c5e0ad045babc620e15db | 42707f98a26a505aac0286e5e95a29d2f68646fa | /Array/Rotations/Pair in sorted and rotated array.cpp | 6e935427b19b9e6b5560c1132529c3948c0795de | [] | no_license | binarydevelop/GeeksforGeeks_Data-Structures | c323b5d070305ab30565bd775841640871c9c206 | 88b2352912017485ba88c2c7c9814efb5b2b52b8 | refs/heads/master | 2023-01-13T22:50:26.701023 | 2020-11-12T03:31:52 | 2020-11-12T03:31:52 | 266,951,840 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 999 | cpp | #include<iostream>
using namespace std;
bool pairInSortedRotated(int arr[], int n, int x)
{
// Find the pivot element
int i;
for (i=0; i<n-1; i++) // 18 here is the pivot as arr[i](68)>arr[i+1](18)
if (arr[i] > arr[i+1]) // 20 43 68 18
break;
int l = (i+1)%... | [
"binarydevelop@gmail.com"
] | binarydevelop@gmail.com |
9020bc876f3e0a79c3fb260e519cafb3e59fd191 | 530822b710300825d0395b10feaa067a0236e3b4 | /C++_Primer_Exercises/Dealing_with_Data/SecondsToHoursMinutesAndSecondsConverter.h | 826dd4c1c7e79de7562f204c43be07d3df1ede7f | [] | no_license | Rick-Addiction/CPlusPlus_Studies | b29ebdbefd588e099bc69346de6dd3678f33772f | 491d94eeae4d33481ece8046729c7c69bab98836 | refs/heads/master | 2020-08-05T20:57:38.730135 | 2020-07-04T18:24:19 | 2020-07-04T18:24:19 | 212,707,313 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 184 | h | #ifndef SECONDSTOHOURSMINUTESANDSECONDS_H
#define SECONDSTOHOURSMINUTESANDSECONDS_H
#include <iostream>
#include <string>
void SecondsToHoursMinutesAndSecondsConverter();
#endif | [
"henrique.rachti@gmail.com"
] | henrique.rachti@gmail.com |
10ab0c981932fc9421d1b8118993572b0913b8fa | 64cb681c4430d699035e24bdc6e29019c72b0f94 | /renderdoc/driver/d3d8/d3d8_resources.cpp | 23fb32d1bb2a8cbe2bfff48418351fa004f8b524 | [
"LicenseRef-scancode-unknown-license-reference",
"MIT"
] | permissive | new-TonyWang/renderdoc | ebd7d0e338b0e56164930915ebce4c0f411f2977 | ac9c37e2e9ba4b9ab6740c020e65681eceba45dd | refs/heads/v1.x | 2023-07-09T17:03:11.345913 | 2021-08-18T02:54:41 | 2021-08-18T02:54:41 | 379,597,382 | 0 | 0 | MIT | 2021-08-18T03:15:31 | 2021-06-23T12:35:00 | C++ | UTF-8 | C++ | false | false | 3,245 | cpp | /******************************************************************************
* The MIT License (MIT)
*
* Copyright (c) 2019-2021 Baldur Karlsson
*
* 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... | [
"baldurk@baldurk.org"
] | baldurk@baldurk.org |
2100826e4ac5369f09a0893aa300609afd0d9d03 | 93574cdfec6227131bda78ec7c2a687f7bb43edf | /c++/balanced-binary-tree.cpp | 0c3a50cee9f6131b85306f35db5688f2ffa18af4 | [] | no_license | fyang26/leetcode | 642cd051fe29fb26c8c24921c5fc1504554bbe67 | 2f7d2aa174a719d93bd42790f3c216f6f0173d5b | refs/heads/master | 2021-01-10T11:08:33.920393 | 2016-04-27T00:59:05 | 2016-04-27T00:59:05 | 43,520,536 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 618 | cpp | /**
* Definition for a binary tree node.
* struct TreeNode {
* int val;
* TreeNode *left;
* TreeNode *right;
* TreeNode(int x) : val(x), left(NULL), right(NULL) {}
* };
*/
class Solution {
public:
bool isBalanced(TreeNode* root) {
if (!root) return true;
int diff = abs(getdep... | [
"fyang@umiacs.umd.edu"
] | fyang@umiacs.umd.edu |
6b97bd0d6558c838bc2f760509df9b9e4320190f | ea86bc50922e5d96a78575e400aadaf7f888590e | /ds/chap3/decode_string/solu.cpp | 9d6d92eee0a7cfd929fcb80e2a6d619baa282ee2 | [] | no_license | EvergreenHZ/See-Let-Pointer-Fly | 527d5d6ae35fc26d298bc07dd921c53c3307d082 | 68c088995f1a8ea951b6144bdbd1a0923c0be90c | refs/heads/master | 2020-03-07T04:42:58.077212 | 2018-10-22T11:56:21 | 2018-10-22T11:56:21 | 127,274,299 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,715 | cpp | #include <string>
#include <iostream>
#include <vector>
#include <stack>
using namespace std;
class Solution {
public:
string decodeString(string s) {
if (!isValid(s)) return "";
stack<string> _stack;
stack<int> _nstack;
... | [
"huaizhixtp@163.com"
] | huaizhixtp@163.com |
959cc315edc842a06c3bc56a5f9f2e5010d28558 | 25fa0e6825f56a140aaaaf9ebe43dccbc7d31a0b | /CPP_SimpleGames/Guess_My_Number/BackgroundInfo/forLoopCounters.cpp | 174ebdbcbc0367fee4a2df192d10484bf98cea27 | [] | no_license | JoshuaTPierce/Learning_Repo1 | 0342e42d6db846dd1be74ead4116d4fc247c590a | 9a5a34bf04bfe6699420976dedcd295ca79335b4 | refs/heads/master | 2020-03-25T02:48:29.923672 | 2018-08-31T13:11:54 | 2018-08-31T13:11:54 | 143,308,470 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 737 | cpp | // Counter
// Demonstrates for loops
#include <iostream>
using namespace std;
int main(){
cout << "Counting forward:\n";
for (int i = 0; i < 10; ++i) {
cout << i << " ";
}
cout << "\n\nCounting backward:\n";
for (int i = 9; i >= 0; --i) {
cout << i << " ";
}
cout << "\n\nCounting by fives:\n";
for (int i... | [
"joshua.pierce@licor.com"
] | joshua.pierce@licor.com |
f1335a743daadbbbd90c1fa57d3644f0ff223907 | 7e6aac751bb9c43f53785134b3b6c1f9c603f37d | /generator/booking_dataset.cpp | caeaff88d181c86f12f10e36849a59d5099c8236 | [
"Apache-2.0"
] | permissive | psokol/omim | cc2e95bb21d9ebe453e83517ec96cd5b3d383306 | 8c0c85aac64841c08ed8892b55022bcc69300f4d | refs/heads/master | 2020-12-25T17:45:18.633298 | 2016-06-30T22:14:03 | 2016-06-30T22:14:03 | 60,401,992 | 0 | 0 | null | 2016-06-04T08:59:57 | 2016-06-04T08:59:57 | null | UTF-8 | C++ | false | false | 7,769 | cpp | #include "generator/booking_dataset.hpp"
#include "indexer/search_delimiters.hpp"
#include "indexer/search_string_utils.hpp"
#include "geometry/distance_on_sphere.hpp"
#include "base/logging.hpp"
#include "base/string_utils.hpp"
#include "std/fstream.hpp"
#include "std/iostream.hpp"
#include "std/sstream.hpp"
name... | [
"yershov@corp.mail.ru"
] | yershov@corp.mail.ru |
c372f73b9fd5119e174357e458eaf8b3f6bba794 | 03c01f0a10c844c3432f499e59271e31898f3a3a | /Shovels and Swords.cpp | 8c95eb6ae87095231ae98c242fb188c0825e5307 | [] | no_license | AmirFaruk75/Codeforces | ae2fba252a236be2baafe27d75008ecdb95febdb | 3a381547543a8fd557afaa68c4ed576bcb662906 | refs/heads/main | 2023-03-07T22:56:45.179559 | 2021-02-23T16:31:58 | 2021-02-23T16:31:58 | 341,608,698 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 758 | cpp | #include<bits/stdc++.h>
using namespace std;
int main()
{
ios_base::sync_with_stdio(false);
int t,a,b,i,j,c,d,e,f,g,h;
cin>>t;
for(i=0;i<t;i++)
{
cin>>a>>b;
if(a>=b)
{
c=a/2;
if(b<c)
{
cout<<b<<endl;
}
... | [
"noreply@github.com"
] | AmirFaruk75.noreply@github.com |
fb20e5b5f06ae8930e678e73feb40274709ded12 | ef620e1a2c22758ffc835ebb12e9d1a7a9b7fb0d | /connect4solver/Constants.MoveData.h | f4fd778c8f1e66810b2644ebae7bf58c879d9254 | [] | no_license | dfoverdx/connect4solver | e3eb3f0fc12b6419cda50634cb53c0dad01b7f0b | 036b0b953af618b45fd933ce0f5417e38321cc11 | refs/heads/master | 2021-08-06T14:57:48.939912 | 2017-11-01T20:57:32 | 2017-11-01T20:57:32 | 107,034,998 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,205 | h | #pragma once
#include "Constants.h"
#include "Helpers.h"
#include "MoveData.CompilerFlagTypedefs.h"
namespace connect4solver {
namespace moveDataConstants {
constexpr MoveDataBase MOVES_TO_WIN_MASK_BITS = RequiredBits<BOARD_SIZE>::value;
constexpr MoveDataBase IS_FINISHED_MASK_BITS = 1;
co... | [
"thinkin.arbys@gmail.com"
] | thinkin.arbys@gmail.com |
fe78a0dae67da977156383ae71393014e60bda8c | aaf04ff1e0ec94e769103faf6b74e4f3570337c5 | /sdks/spirit/boost/mpl/iter_fold_if.hpp | dc3791f7d882293b1bff07abb3da13eb455f4e91 | [] | no_license | jacob-meacham/Ego | 815ac6cb63f2fbf28e924f66729ca36147881000 | 682ae352fde6e08ad728899d81ab9a2039ccc27c | refs/heads/master | 2021-01-01T05:36:49.656269 | 2015-12-27T19:40:11 | 2015-12-27T19:40:11 | 10,834,409 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,131 | hpp |
#ifndef BOOST_MPL_ITER_FOLD_IF_HPP_INCLUDED
#define BOOST_MPL_ITER_FOLD_IF_HPP_INCLUDED
// Copyright Aleksey Gurtovoy 2003-2004
// Copyright Eric Friedman 2003
//
// 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.tx... | [
"jmeacham@palantir.com"
] | jmeacham@palantir.com |
e3f09a6e12cf874ccd86c0ebf2aae36398d78c32 | 12043db0f57f5d9402a99507648bcbb4d9417452 | /Programming_Abstractions/Chapter_10/Exercise_01/Exercise_01/editor_test.cpp | bca7a401e559b6f5574d89bd617f8a866165e029 | [] | no_license | daniellozuz/CPP | a8afb1ae3353bd483cf953fac8a70b0b1446023c | fdc8957158522fc27aa55a44b3e45333157b843f | refs/heads/master | 2021-05-12T08:31:17.581023 | 2018-03-07T23:41:45 | 2018-03-07T23:41:45 | 117,283,294 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 906 | cpp | #include "EditorBuffer.h"
#include <iostream>
#include <string>
using namespace std;
void execute_command(EditorBuffer &buffer, string line);
int main(void) {
EditorBuffer buffer;
while (true) {
cout << "*";
string command;
getline(cin, command);
if (command != "")
execute_command(buffer, command);
b... | [
"daniel.zuziak@gmail.com"
] | daniel.zuziak@gmail.com |
94ab6f6f037184890b6fdae9e8ad06e216f77de8 | da4cc98ed821ec4c41a0a29c926c0a97df3c0bff | /demo/framework-dx11/unorderedaccessiblebatch.h | 20c7875ec7b68b7ec4a038af80cc9eed7654b74d | [
"MIT"
] | permissive | rokuz/GraphicsDemo | 514d308ad147214480b53e58c47cfccb558a9cbd | 41300287cc9d2f7e4e0656348809db5b3c939ced | refs/heads/master | 2023-04-06T20:15:11.159235 | 2023-03-31T21:32:13 | 2023-03-31T21:32:13 | 17,832,703 | 11 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 1,642 | h | /*
* Copyright (c) 2014 Roman Kuznetsov
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* the rights to use, copy, modify, merge, pu... | [
"r.kuznetsow@gmail.com"
] | r.kuznetsow@gmail.com |
b9f57c0639e3cc260af0bdeffb3e5207d7908338 | 2de9e70c7b44b05f9029d8966bc2491378ed805f | /indie/object/IPowerUp.hpp | 315a5733f773c0ab79af18a035e6be9e3506032a | [] | no_license | Zoryi/indie_studio | 67cf3ffec17e71982642aeb6ebdd481565ec4e9d | bd2931d55bf09a8ae45c59e74b5a25e27daa873a | refs/heads/master | 2020-04-07T17:10:11.940514 | 2018-11-21T14:25:17 | 2018-11-21T14:25:17 | 158,558,080 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 238 | hpp | //
// EPITECH PROJECT, 2018
// indie_studio
// File description:
// IPowerUp.hpp
//
#ifndef POWERUP_HPP_
#define POWERUP_HPP_
# include "IObject.hpp"
class IPowerUp : public IObject
{
public:
virtual ~IPowerUp() = default;
};
#endif
| [
"romain.devalle@epitech.eu"
] | romain.devalle@epitech.eu |
351201f6c09a3c555bb0219e57cd5624c1ff0d71 | 1588f7002ebfaceb9c382c73fce67ab435d0e840 | /utils/src/PointNormal/NormalEstimator.h | e040ed5a8875721e368acf837d85a25e21cf37b6 | [] | no_license | akosiorek/Tagger3D | ff04ac94a7f3bc9c0a189cc972e7cd3dcdb900ae | 6459f41517710168080badbfc09e3ea1625c6a09 | refs/heads/master | 2016-09-05T19:47:32.612709 | 2014-10-14T18:46:44 | 2014-10-14T18:46:44 | 12,671,025 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 890 | h | /*
* Tagger3D : NormalEstimator.h
*
* Created on: 28 lip 2013
* Author: Adam Kosiorek
* Description:
*/
#ifndef NORMALESTIMATOR_H_
#define NORMALESTIMATOR_H_
#include "PointNormal.h"
#include <pcl/features/normal_3d_omp.h>
namespace Tagger3D {
class NormalEstimator: public PointNormal {
public:
Normal... | [
"Kosiorek.Adam@gmail.com"
] | Kosiorek.Adam@gmail.com |
7af69f5df3114533e65f12e0f9063824674a974c | f481aeb897c81095bf5bc544f9368aa78457694b | /1103.cpp | 5a0178fa188414437eb8e1355b5127cc39ca30a6 | [] | no_license | channyHuang/leetcodeOJ | 78b10f31f9a6c6571124208efe85201a3690f2da | b41e9c3c076074b6ab9349455b0cf40c270df41f | refs/heads/master | 2023-01-28T15:31:29.346320 | 2023-01-18T03:43:10 | 2023-01-18T03:43:10 | 221,703,848 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 438 | cpp | class Solution {
public:
vector<int> distributeCandies(int candies, int num_people) {
vector<int> res;
res.resize(num_people);
int n = 1, pos = 0;
while (candies >= n) {
res[pos++] += n;
if (pos >= num_people) pos -= num_people;
candies -= n;
... | [
"349117102@qq.com"
] | 349117102@qq.com |
6e4bd73023694c8ba3f433e67544c9c54efccb04 | dd129fb6461d1b44dceb196caaa220e9f8398d18 | /topics/shared-memory/cat-mmap.cc | 442112c34208b3b218af5ab20f37f266448cde09 | [] | no_license | jfasch/jf-linux-trainings | 3af777b4c603dd5c3f6832c0034be44a062b493a | aebff2e6e0f98680aa14e1b7ad4a22e73a6f31b4 | refs/heads/master | 2020-04-29T19:13:33.398276 | 2020-03-29T20:45:33 | 2020-03-29T20:45:33 | 176,347,614 | 0 | 1 | null | 2019-10-01T06:02:49 | 2019-03-18T18:35:28 | C++ | UTF-8 | C++ | false | false | 683 | cc | #include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <sys/mman.h>
#include <stdlib.h>
#include <unistd.h>
#include <iostream>
#include <cassert>
int main(int argc, char** argv)
{
if (argc != 2) {
std::cerr << "Usage: " << argv[0] << " <filename>" << std::endl;
exit(1);
}
... | [
"jf@faschingbauer.co.at"
] | jf@faschingbauer.co.at |
7b8642e5d85671ce529dcac2a3788cd258953f5b | e2df82085ac658a7ca7c974919f3809e89d646bb | /LibWebRtcUsingExample/Include/rtc_base/signalthread.h | 2c11da4507c4eece4f18dae6e93aaa9f879d5cd7 | [
"Apache-2.0",
"MIT"
] | permissive | HATTER-LONG/NoteBook_WebRtcLearning | 7c846cf548804361123ff9cd6017cc05b3b9a559 | 834c94c82646e57d53fa5f1cc8210dda3799b78f | refs/heads/master | 2023-06-30T21:45:56.672079 | 2021-08-07T08:46:34 | 2021-08-07T08:46:34 | 338,822,304 | 3 | 2 | null | 2021-02-14T14:33:08 | 2021-02-14T14:22:12 | null | UTF-8 | C++ | false | false | 5,398 | h | /*
* Copyright 2004 The WebRTC Project Authors. All rights reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contributing ... | [
"caolei6767@gmail.com"
] | caolei6767@gmail.com |
060031cfc46e091203d2239c3131a08e473d4555 | 6d763845a081a6c5c372a304c3bae1ccd949e6fa | /day04/ex00/Cow.hpp | eb9ae99ba327530b7b9a000213f3313dc4ce3aad | [] | no_license | hmiso/CPP_modules | cc5539764b10d9005aea0ccdf894c0fd2562a649 | e0608a810ef6bbb7cb29461721f6248e0c3b88eb | refs/heads/master | 2023-02-28T09:12:49.284788 | 2021-02-06T14:40:33 | 2021-02-06T14:40:33 | 322,648,779 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,093 | hpp | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* Cow.hpp :+: :+: :+: ... | [
"macbook@MacBook-Pro-MacBook.local"
] | macbook@MacBook-Pro-MacBook.local |
5608a9b97c922f6b022755c0efbe466851850b70 | a45067a48af5e720dc6144b39685d3b1fba0432f | /offer/3.cpp | 9887a24e63a104e17a8908f64453cccfff5a1619 | [] | no_license | lihao779/linuxsys | b8cb1d5a42a2a32fb648a094c4332e68ca501f71 | c445ff7d11ae546f3ca71aa430c7f788cf7e2e39 | refs/heads/master | 2023-05-29T17:28:54.924952 | 2021-06-15T14:26:03 | 2021-06-15T14:26:03 | 305,936,508 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,052 | cpp | #include <stdio.h>
#if 0
bool IsHavenum(int array[3][3], int row, int col, int num)
{
int temprow = 0;
int tempcol = col - 1;
int temp = -1;
while(temprow <= row - 1 && tempcol >= 0)
{
temp = array[temprow][tempcol];
if(temp == num)
return true;
else if(temp > n... | [
"3024978915@qq.com"
] | 3024978915@qq.com |
8533a4336175f9ee5d1e6bed19a9c3cb8da6e237 | 10377d9a5b1e2d451d07bb64d3981e936e1035d7 | /include/NumCpp/Functions/greater_equal.hpp | 4dc88fa5a4259b16380c0ef78614bc69fa62a6c5 | [
"MIT"
] | permissive | faichele/NumCpp | 03ac79cde618d6dfe08c3352fff7d235527a130f | 7c8fc50fbe44b80eaa105f0f9258120abddfcec2 | refs/heads/master | 2020-12-29T16:25:21.426391 | 2020-01-20T05:23:34 | 2020-01-20T05:23:34 | 238,668,660 | 0 | 0 | MIT | 2020-02-06T11:02:13 | 2020-02-06T11:02:12 | null | UTF-8 | C++ | false | false | 2,004 | hpp | /// @file
/// @author David Pilger <dpilger26@gmail.com>
/// [GitHub Repository](https://github.com/dpilger26/NumCpp)
/// @version 1.2
///
/// @section License
/// Copyright 2019 David Pilger
///
/// Permission is hereby granted, free of charge, to any person obtaining a copy of this
/// software and associated documen... | [
"dpilger26@gmail.com"
] | dpilger26@gmail.com |
c4335096b953f9efeeea3d64b018ea0722800ac8 | 452cd2da6d866568579e8f82477295bb44ea03d6 | /Example/main_writer.cc | 96e0a87353f22dc15e37532e111bb566846610d9 | [] | no_license | nlurkin/XMLPreProcessor | 7cfd57cd3d1811aa5fcb329f401c6c47c7a796e8 | f45c19e498e907d4d9ac7161df3975d53c7b00ea | refs/heads/master | 2021-05-16T02:49:11.190499 | 2015-06-25T11:43:44 | 2015-06-25T11:43:44 | 34,051,860 | 1 | 1 | null | 2020-02-29T21:39:51 | 2015-04-16T11:26:01 | Python | UTF-8 | C++ | false | false | 628 | cc | /*
* main_writer.cc
*
* Created on: 18 Apr 2015
* Author: nlurkin
*/
#include "XMLConfWriter.h"
#include "ex_struct.h"
#include <iostream>
#include <cstring>
using namespace std;
int main(){
XMLConfWriter writer;
exampleStruct test;
test.version = 42;
strcpy(test.name, "my_example");
test.my_substru... | [
"nlurkin@debian"
] | nlurkin@debian |
bc4ccf67679f8c45dcf9ad364da3b32ec2050bf9 | ed5669151a0ebe6bcc8c4b08fc6cde6481803d15 | /test/magma-1.6.0/src/dpotrf_panel_batched.cpp | e64f1fb9539f78834c00c86f9eb55a16ac12c48b | [] | no_license | JieyangChen7/DVFS-MAGMA | 1c36344bff29eeb0ce32736cadc921ff030225d4 | e7b83fe3a51ddf2cad0bed1d88a63f683b006f54 | refs/heads/master | 2021-09-26T09:11:28.772048 | 2018-05-27T01:45:43 | 2018-05-27T01:45:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,424 | cpp | /*
-- MAGMA (version 1.6.0) --
Univ. of Tennessee, Knoxville
Univ. of California, Berkeley
Univ. of Colorado, Denver
November 2013
@author Azzam Haidar
@author Tingxing Dong
@generated from zpotrf_panel_batched.cpp normal z -> d, Sat Nov 15 19:54:09 2014
*/
... | [
"cjy7117@gmail.com"
] | cjy7117@gmail.com |
1609244a1ad6c2cde27161dc0aac7fd20ea32d1c | b289812c11c6847107fe07066e7a5e09133f4245 | /Candy/candy.cpp | e8be4caae1df9da5188146fee7c51c85e16bef39 | [
"MIT"
] | permissive | somnusfish/leetcode | ccff146ac84eed6a92dabc600e7d4fd3f8981234 | eae387efd76159bc63948235fd1cb7d56f45335e | refs/heads/master | 2020-12-24T16:25:04.543885 | 2016-04-27T02:13:50 | 2016-04-27T02:13:50 | 35,150,389 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,296 | cpp | class Solution {
public:
int candy(vector<int>& ratings) {
if(ratings.size()==0){
return 0;
}
if(ratings.size()==1){
return 1;
}
int * candyArray = new int[ratings.size()];
int peak = 0;
int nadir = 0;
candyArray[0] = 1;
... | [
"somnusfish@gmail.com"
] | somnusfish@gmail.com |
85099beff0ad7fc2c14257bcd30f2f0dac5e2c5e | 81cfe1dbd19df9e1dcb944bb9fec44238af153fc | /contest_grafos/ga.cpp | 4d9cbcbdb81c2daaa7beac941cf6294df100d700 | [] | no_license | weirdfish23/icpc | a3807bd4d93e8546ed818c0a0627e7ac405c1477 | 5464f928bca6e38cbb6fec945899af0f1d97ee90 | refs/heads/master | 2020-07-07T20:41:11.012953 | 2019-09-28T03:25:27 | 2019-09-28T03:25:27 | 203,472,187 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 186 | cpp | #include <iostream>
using namespace std;
int main (){
cout << 200000 << endl;
for(int i=1; i<=200000; ++i){
cout << i << " ";
}
cout << endl;
return 0;
}
| [
"jjcabrerarios@gmail.com"
] | jjcabrerarios@gmail.com |
a24d659b48edceb135204aaf79f01278ec2a4a61 | 01a2c436a1b8c9f2518ae2b0165b69603a6d8c52 | /date/main.cpp | c14536bc9ea8c0826b211c031c563d6f6b6969fa | [] | no_license | 0x81-sh/cpp-composition-article | 5c50905b6a76f05d528aaa84cad01f9af85e4bfb | 88de3e072798ab86c0fc788091b418afedaa65f7 | refs/heads/master | 2023-06-01T09:10:00.210917 | 2021-06-17T15:12:35 | 2021-06-17T15:12:35 | 377,873,192 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,188 | cpp | #include <iostream>
#include <cassert>
#include "Date.h"
void testIsLeapYear(const Date &date, bool expected);
void testAdd(Date &source, int days, const Date &expected);
void testDiff(Date &source, const Date &comparison, int expected);
int main() {
testIsLeapYear(Date(1, 1, 0), true);
testIsLeapYear(Date(1,... | [
"ulrich.barnstedt@gmail.com"
] | ulrich.barnstedt@gmail.com |
7e701d07e3a6c36f5795c283e7e071080c91083c | 79901169d636e19ca57096af214d73a2922e6b86 | /Marvel vs Capcom/Helper/VectorHelper.cpp | 1f3acf81bcd15ea06f9a4ada75405106285bc415 | [] | no_license | delpinor/taller7542 | d46ac3dabdfb4f35ad93cddf1f90ad913df4e2b1 | 36930692fe62cd2ee86d080aee2e29ad156079e5 | refs/heads/master | 2022-04-22T02:26:18.830009 | 2019-04-30T13:17:29 | 2019-04-30T13:17:29 | 257,655,906 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 344 | cpp | /*
* VectorHelper.cpp
*
* Created on: Apr 12, 2019
* Author: dev73
*/
#include "VectorHelper.h"
#include "StringHelper.h"
bool VectorHelper::contiene(std::vector<string> *vec, std::string valor){
if (std::find(vec->begin(), vec->end(), StringHelper::toLower(valor)) != vec->end()){
return true;
}
else{... | [
"rodrigo.sluciano1988@gmail.com"
] | rodrigo.sluciano1988@gmail.com |
48b76467e110e111fb084e93618c193837a080be | d001f6e23300a9b1845c890a3ae65c775e93eee0 | /RF2Dlg.cpp | cb0aaef3765f72a2b9cb61c1445f4a36c424323c | [] | no_license | JohanVanTol/NHMFLMeasure | 7ba15c7900d58cd4797fa8634e213c878f99b9e4 | ff5264f7255e223c968158464d7eef2b61a9e210 | refs/heads/master | 2020-03-28T06:31:28.486519 | 2018-10-18T15:01:42 | 2018-10-18T15:01:42 | 147,841,053 | 0 | 0 | null | 2018-09-10T16:58:33 | 2018-09-07T15:21:04 | C++ | UTF-8 | C++ | false | false | 12,403 | cpp | //---------------------------------------------------------------------------
#include <vcl.h>
#pragma hdrstop
#include <math.h>
#include "RF2Dlg.h"
#include "SMB100A.h"
//---------------------------------------------------------------------------
#pragma package(smart_init)
#pragma resource "*.dfm"
exte... | [
"noreply@github.com"
] | JohanVanTol.noreply@github.com |
0d7a825b2da17835934b1528662bfc1fc771c9eb | 85049d73764926d9d8cbf068504d3cec0abfc85d | /course/cs106b/1176/midterm/p2/student_70.cpp | 0349929084bd25ee5f8771796310d0a632437f07 | [] | no_license | tofergregg/CodeReview | a13f3ff30e586d11d63f2c02246bb6ca1206a4fa | 5fc04c818b017b30466ac53e5b1be1d8ef9336a3 | refs/heads/master | 2021-01-21T07:00:42.726665 | 2018-06-10T00:43:50 | 2018-06-10T00:43:50 | 91,594,286 | 0 | 0 | null | 2017-07-24T05:04:33 | 2017-05-17T15:52:14 | C++ | UTF-8 | C++ | false | false | 1,504 | cpp | string decode(string seq) {
int min = 1;
while(seq.size()!=0) {
if(seq[0]='I') {
Queue<int> solution;
solution.enqueue(min);
} else {
Stack<int> solution;
solution.push(min);
}
}
}
I give up.
This problem is retardedly hard.
there is some obvious thing I am not seeing
i know 100% how stacks and q... | [
"tofergregg@gmail.com"
] | tofergregg@gmail.com |
3f4694f690c492589c35e8eefa55aa300c672c7a | 99e578a2e5b42ba1540683ce1e0497537267858b | /src/base/track.cc | 6570ba63c3c8f18158fe532a07badb684d1bbd8c | [
"BSD-3-Clause"
] | permissive | ThakurSarveshGit/privacy_preserving_sfm | ffa551e086c30620b6b66a20e50b0d65aab1cf93 | c2f1e8a58251eae5af7eba7ede3f15534f944f1a | refs/heads/master | 2023-06-03T20:45:45.294563 | 2021-06-09T07:33:25 | 2021-06-09T07:33:25 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,513 | cc | // Copyright (c) 2020, ETH Zurich and UNC Chapel Hill.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// * Redistributions of source code must retain the above copyright
// notic... | [
"marcel.geppert@inf.ethz.ch"
] | marcel.geppert@inf.ethz.ch |
5bb53334518deefcfcc547c724ee4adb5b438194 | 6bdeefa16065fcad160c47c188c3de44ecaea6aa | /Codeforces/1037/G/b.cpp | 8e83fae07805a2cdf2403dc3818015ab05316d43 | [] | no_license | DolaBMOon/CodeerStf | 6fdbe830cab3d4e23035537ce0cbb6ef8d3a89cb | 3ee7b66e1c28c48fae72a5f65a9b8270c41127da | refs/heads/master | 2021-09-25T16:27:51.952473 | 2018-10-24T06:35:20 | 2018-10-24T06:35:20 | 146,592,777 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,181 | cpp | #include<iostream>
#include<algorithm>
#include<cstdio>
#include<cstring>
#include<cassert>
#include<vector>
#include<unordered_map>
using namespace std;
#define Whats(x) cout<<#x<<" is "<<(x)<<endl
#define DivHim() cout<<">>>>>>>>>>>>>>>"<<endl
#define DivHer() cout<<"<<<<<<<<<<<<<<<"<<endl
#define Oops() cout<<"!!!... | [
"dolabmoon@gmali.com"
] | dolabmoon@gmali.com |
34483e5efaae0f464e494d6d232b289c88a1d550 | ef057bfab67839f83a95608f94877c630953093a | /Animations.cpp | c13547f1ca3b335940053106363f2e7026313fce | [] | no_license | henry-dv/Animations | d617e4ae16668958a3aa8fc7f4c91c2ddc8e17d8 | 723b7547e9bc48c943ddfc3f6d951ccc7bed9a5c | refs/heads/master | 2023-02-11T01:34:23.186419 | 2021-01-02T19:22:42 | 2021-01-02T19:22:42 | 326,255,025 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,005 | cpp | /*
Animations.cpp - Fancy animations for an Adafruit_NeoPixel strip.
Created by Henry Lehmann, December 30, 2020.
Released into the public domain.
*/
#include "Arduino.h"
#include "Colors.h"
#include "Animations.h"
Animations::Animations(Adafruit_NeoPixel* strip) {
this->strip = strip;
e_MyAnimation =... | [
"34438247+henry-dv@users.noreply.github.com"
] | 34438247+henry-dv@users.noreply.github.com |
6f8b08e7802cd14b3056be1217c407ea6982f40e | 87ef03375ec4a32b7defdbdb1fbd1ed8dbb4dcbd | /Hcv/LocHist/ImgDataGradMgr_LocHist.h | b02047271d2f2de976a04d71909736edbba90537 | [] | no_license | Haytham-Magdi/CppLib | 192fb2008907c3d0ae2bb34bb8c066c1d86a4c6f | c8a1ba6bca656574196ba19a75c1cbdc4b829b7c | refs/heads/master | 2020-09-20T10:54:57.022052 | 2017-01-23T05:27:52 | 2017-01-23T05:27:52 | 66,259,819 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,721 | h | #pragma once
#include <Lib\Cpp\Common\commonLib.h>
#include <Lib\Cpp\Math\mathLib.h>
#include <Lib\Hcv\CvIncludes.h>
#include <Lib\Hcv\Types.h>
#include <Lib\Hcv\error.h>
#include <vector>
#include <Lib\Hcv\Channel.h>
#include <Lib\Hcv\Image.h>
#include <Lib\Hcv\IImgDataGradMgr.h>
#include <Lib\Hcv\LocHist\ImgDataMgr... | [
"haytham.magdi@hotmail.com"
] | haytham.magdi@hotmail.com |
81710e3803eb8eba46dd8947c905b3a3412d3139 | e4f90ba52e0f85412a372ca1f0e073f1b8bce1af | /DSA/DSAttractors.cpp | c8b3820dd3a93c8179c158dc4d6a2f2287877a5d | [] | no_license | 3bab/DSAttractors | a68f0f21e2a02fc75980a754dc94d2ec20a148b1 | 2292decde7affa1e26931111074b5a4729ee6f8e | refs/heads/master | 2023-08-13T06:42:29.137062 | 2021-10-05T09:56:37 | 2021-10-05T09:56:37 | 295,835,007 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 22,269 | cpp | #include "DSAttractors.h"
using namespace sf;
using namespace std;
DSAttractors::DSAttractors() {
setupText();
view.setCenter(Vector2f(0.0f, 0.0f));
view.setSize(Vector2f(static_cast<float>(screenWidth / 10), static_cast<float>(screenHeight / 10)));
attractorConfig = {
{10.0f, 30.0f, 8... | [
"gintas.palionis@gmail.com"
] | gintas.palionis@gmail.com |
b24c6649ce457c9828ea65170ede2780c4b8d4e1 | 666765fbc0275e8dd38580ba7911b199b74c7d2c | /tests/UnitTests/TestTransfersSubscription.cpp | 32c0c2681cdc2928eb6a718b34426e4f0e28e59d | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | nixtechie49/4xbitcoin | 66b579580662db6280836eb0b02068e0b5b9fe5c | a92535b8f04d56705aaf82581200870823deef5b | refs/heads/master | 2020-04-28T18:31:26.314639 | 2019-03-13T19:29:58 | 2019-03-13T19:29:58 | 175,481,543 | 0 | 0 | null | 2019-03-13T18:58:06 | 2019-03-13T18:58:05 | null | UTF-8 | C++ | false | false | 4,876 | cpp | /*
* Copyright (c) 2018-2019, The Mybtcfx Developers.
* Portions Copyright (c) 2012-2017, The CryptoNote Developers, The Bytecoin Developers.
*
* This file is part of 4xBIT.
*
* This file is subject to the terms and conditions defined in the
* file 'LICENSE', which is part of this source code package.
*/
#incl... | [
"33263353+mybtcfx@users.noreply.github.com"
] | 33263353+mybtcfx@users.noreply.github.com |
b1f99e3664070b0b1904a62226a09dbf5f226dfd | ffa427f7667d7fc05c4e872966cbb272242d3c19 | /arc/000/030/arc033/b/main.cpp | cbda9a52f0002a9a31b0cfe79adee3bc47a73bf3 | [] | no_license | kubonits/atcoder | 10fb6c9477c9b5ff7f963224a2c851aaf10b4b65 | 5aa001aab4aaabdac2de8c1abd624e3d1c08d3e3 | refs/heads/master | 2022-10-02T06:42:32.535800 | 2022-08-29T15:44:55 | 2022-08-29T15:44:55 | 160,827,483 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 720 | cpp | #include <algorithm>
#include <iomanip>
#include <iostream>
using namespace std;
int main() {
int n, m, a[100000], b[100000];
double cnt1 = 0.0, cnt2 = 0.0;
cin >> n >> m;
for (int i = 0; i < n; i++) {
cin >> a[i];
}
for (int i = 0; i < m; i++) {
cin >> b[i];
}
sort(a, a + n);
sort(b, b + m);... | [
"kouhei.08.10.09.s@gmail.com"
] | kouhei.08.10.09.s@gmail.com |
36e33e9f80f6ad5f240e4953e0f367be28da17ba | ef87493adfa9386136dcf007c7f9e2bf131553a6 | /CGJ_Team/CGJ_Team/Object.h | 975ddc6837be6bc1d5abfdd23ef7ddca370dbec6 | [] | no_license | megax37/Tanks | b3ec17b75cb5430cae96af6243428ac0b3b3adaa | 74270618ca3424c201adde1b9f88b716d0e9a33c | refs/heads/master | 2020-06-16T13:03:09.580438 | 2017-01-21T02:23:34 | 2017-01-21T02:23:34 | 75,099,604 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 138 | h | #ifndef _OBJECT_
#define _OBJECT_
class Object
{
public:
void virtual update(int elapsedTime) = 0;
void virtual move() = 0;
};
#endif | [
"velkan14@gmail.com"
] | velkan14@gmail.com |
eade68ffa3eddf2dcf48c12abe6cf4dd64c611eb | 5e9c396ea5d81dce62ef4e6f260db21385608922 | /src/tests/unit_tests/core/utest_CH_linalg.cpp | e61bfa12240205e6e30df6bca1f83afc5a25391a | [
"BSD-3-Clause"
] | permissive | gvvynplaine/chrono | 357b30f896eb6c1dcabcebd0d88f10fab3faff20 | a3c0c8735eb069d5c845a7b508a048b58e022ce0 | refs/heads/develop | 2023-01-05T08:43:13.115419 | 2020-07-09T08:24:34 | 2020-07-09T08:24:34 | 278,308,549 | 0 | 0 | BSD-3-Clause | 2020-10-30T12:17:47 | 2020-07-09T08:33:24 | null | UTF-8 | C++ | false | false | 8,105 | cpp | // =============================================================================
// PROJECT CHRONO - http://projectchrono.org
//
// Copyright (c) 2014 projectchrono.org
// All rights reserved.
//
// Use of this source code is governed by a BSD-style license that can be found
// in the LICENSE file at the top level of t... | [
"serban@wisc.edu"
] | serban@wisc.edu |
e79b4f30995cfb7dff0ef66853b9e22413dd5890 | 7917fec06701ba93b7f3253507e3d1307fb8157d | /Landing Prediction UE4 Tensorflow/Source/TFGameBase/TFGameBaseGameModeBase.h | 1632a0f5d61b3c0335764842542fe5862b0d5d88 | [] | no_license | the-muses-ltd/Cassie | e13bdaca05d79b5aae4b48d1b8e5a2cced5151c3 | 74bdbf70d40867b68075a5999333af29da809ef2 | refs/heads/main | 2023-02-04T05:56:20.380965 | 2020-12-22T10:49:20 | 2020-12-22T10:49:20 | 312,335,813 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 320 | h | // Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "GameFramework/GameModeBase.h"
#include "TFGameBaseGameModeBase.generated.h"
/**
*
*/
UCLASS()
class TFGAMEBASE_API ATFGameBaseGameModeBase : public AGameModeBase
{
GENERATED_BODY()
};
| [
"alicep35@gmail.com"
] | alicep35@gmail.com |
5456f37cb5385ab0a9376214e5ac355c42da21db | 9de6af0ff9eb15e857c0c0ecffb6108418a80750 | /Ninja_Platformer/src/App.cpp | 70a815e60825ec6b51201b09d14114bd299d759c | [
"MIT"
] | permissive | Alejandro-Casanova/Advanced-C-and-Graphics | 70157dc13ac0da2f36937c96ce73ddd9b2e73c2a | e7876b23e1cde3368c73fb7e34ebcbc3cb141704 | refs/heads/master | 2023-02-11T16:26:15.143673 | 2020-12-24T17:44:59 | 2020-12-24T17:44:59 | 289,323,683 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 375 | cpp | #include "App.h"
#include <Bengine/include/ScreenList.h>
App::App()
{
//ctor
}
App::~App()
{
//dtor
}
void App::onInit(){
}
void App::addScreens(){
m_gameplayScreen = std::make_unique<GameplayScreen>(&m_window);
m_screenList->addScreen(m_gameplayScreen.get());
m_screenList->setScreen(m_gamepl... | [
"36633619+Alejandro-Casanova@users.noreply.github.com"
] | 36633619+Alejandro-Casanova@users.noreply.github.com |
12ffc4313dc8491e2b01d43047c021f498f7574f | 7ab7b7da369587e9bb76a0b1f26928e24a78c67d | /src/modules/airspeed_selector/airspeed_selector_main.cpp | f483d7e30ee54bf4890d9f020045ee7f1bc83e01 | [
"BSD-3-Clause"
] | permissive | a4aleem/Firmware | f0dff97eecac7e8b3a71c2404bcba2d0a0435efa | 2fa3ee9336353c337906056efe6a77dc9a30dfe9 | refs/heads/master | 2020-07-17T15:51:49.244222 | 2019-08-30T04:40:22 | 2019-08-30T04:40:22 | 206,047,341 | 1 | 0 | BSD-3-Clause | 2019-09-03T10:06:35 | 2019-09-03T10:06:34 | null | UTF-8 | C++ | false | false | 23,380 | cpp | /****************************************************************************
*
* Copyright (c) 2018 PX4 Development Team. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistri... | [
"bapstroman@gmail.com"
] | bapstroman@gmail.com |
8784c08929767b821170990ad43b1272e89fb222 | 981fcc98d4509488697c932ca5fa5e554a98ea7a | /image_util/Bounds.cpp | 912319056a116315333ece08e370d27aaf40bc3e | [] | no_license | marknemm/Switchless | fe50c43f492bd101167d3db9976f6a85c63a63b0 | 1214eddcf17ba88f8cadb0e8303041311b291057 | refs/heads/master | 2020-03-15T13:52:43.304353 | 2018-05-04T18:46:50 | 2018-05-04T18:46:50 | 132,177,327 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 338 | cpp | #include "Bounds.h"
using namespace cv;
cv::Rect Bounds::qRectToCvRect(const QRect &qRect)
{
cv::Rect cvRect(qRect.x(), qRect.y(), qRect.width(), qRect.height());
return cvRect;
}
QRect Bounds::cvRectToQRect(const cv::Rect &cvRect)
{
return QRect(cvRect.x, cvRect.y, cvRect.width, cvRect.height);
}
B... | [
"marknemm@buffalo.edu"
] | marknemm@buffalo.edu |
462a3599fb0a92544d863106b4ec44f4c35586dd | a8ee1337ed14fb4d47fea6510cdceb535c818e6c | /src/qt/statisticspage.cpp | 4c11b6396e719573e899cb53c90b1c1403074016 | [
"MIT"
] | permissive | Jspike1/SpikePrivateCoin | 26e88438fdbe8c94ace6606501b2decdc76bb73c | 3f5e2a571ad9a20c47e94907ef70265b37aa7c5b | refs/heads/master | 2021-01-19T19:39:50.232345 | 2015-08-07T17:40:11 | 2015-08-07T17:40:11 | 39,851,648 | 0 | 2 | null | 2015-08-07T17:40:11 | 2015-07-28T18:43:51 | C++ | UTF-8 | C++ | false | false | 5,115 | cpp | #include "statisticspage.h"
#include "ui_statisticspage.h"
#include "main.h"
#include "wallet.h"
#include "init.h"
#include "base58.h"
#include "clientmodel.h"
#include "bitcoinrpc.h"
#include <sstream>
#include <string>
using namespace json_spirit;
StatisticsPage::StatisticsPage(QWidget *parent) :
QWidget(parent... | [
"info@sandersonlinetrading.nl"
] | info@sandersonlinetrading.nl |
df1daeada37d4ab7bfae77c41d26a838555e1ed2 | 7a1663ae38245aa82d7be716ca33052a6ce1090f | /binding/matlab/Matlab_segmentCoM.h | a55362a495751dbec5dfc5095071b6e95f4e7f83 | [
"MIT"
] | permissive | vincentdelpech/biorbd | 9d10b22782723bc9b654e667b4e48298bef68cb5 | 0d7968e75e182f067a4d4c24cc15fa9a331ca792 | refs/heads/master | 2020-07-11T21:31:42.198425 | 2019-10-03T15:01:21 | 2019-10-03T15:01:21 | 204,647,893 | 0 | 0 | MIT | 2019-08-27T09:40:55 | 2019-08-27T07:40:52 | null | UTF-8 | C++ | false | false | 1,937 | h | #ifndef BIORBD_MATLAB_SEGMENT_COM_H
#define BIORBD_MATLAB_SEGMENT_COM_H
#include <mex.h>
#include "BiorbdModel.h"
#include "class_handle.h"
#include "processArguments.h"
void Matlab_segmentCOM( int, mxArray *plhs[],
int nrhs, const mxArray*prhs[] ){
// Verifier les arguments d'entr... | [
"pariterre@hotmail.com"
] | pariterre@hotmail.com |
2fa9054b71d3ed180255c09d30aa724fed625665 | 603eefc58befb614aae826b7340f02a43980c108 | /Source/Library/RTCOP/DependentCode/ExecuteLayerdObjectFinalizer.h | f7d16915356710269db4afe046b89c606697c8e3 | [] | no_license | tanigawaikuta/RTCOP | b5e6c7b58e02b0620af1715e77d2ebe270c74dfe | fbb5f8e08a824b3c4f20279bcc52b9cd67e62f44 | refs/heads/master | 2023-05-13T08:31:56.069954 | 2021-06-01T07:36:47 | 2021-06-01T07:36:47 | 277,475,195 | 3 | 1 | null | 2021-06-01T07:36:51 | 2020-07-06T07:40:58 | C# | UTF-8 | C++ | false | false | 814 | h | //================================================================================
// ExecuteLayerdObjectFinalizer.h
//
// 役割: レイヤードなオブジェクトのファイナライザを実行するための関数を提供する。
// この関数の実装は、プラットフォームによって異なる。
//================================================================================
#ifndef __RTCOP_DEPENDENTCODE_EXECUTE... | [
"tanigawaikuta@gmail.com"
] | tanigawaikuta@gmail.com |
1c812224916c80381ebea9df26b1d096204317cb | 2d1f82fe5c4818ef1da82d911d0ed81a0b41ec85 | /codeforces/gym/Petrozavodsk Winter Training Camp, Saratov SU Contest 2017/CF101741L.cpp | 76cda8e79a3950308eb986ef72dda7ef6e6d6854 | [] | no_license | OrigenesZhang/-1s | d12bad12dee37d4bb168647d7b888e2e198e8e56 | 08a88e4bb84b67a44eead1b034a42f5338aad592 | refs/heads/master | 2020-12-31T00:43:17.972520 | 2020-12-23T14:56:38 | 2020-12-23T14:56:38 | 80,637,191 | 4 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,824 | cpp | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef pair<int, int> pii;
#define FOR(i, a, b) for (int (i) = (a); (i) <= (b); (i)++)
#define ROF(i, a, b) for (int (i) = (a); (i) >= (b); (i)--)
#define REP(i, n) FOR(i, 0, (n)-1)
#define sqr(x) ((x) * (x))
#define all(x) (x).begin(), (x).end()
#de... | [
"zhangbin199807@gmail.com"
] | zhangbin199807@gmail.com |
0238a389cce0ed8f818fceac574fc5edaf0c5c22 | 0782f9e1df8b7eb0e0e9be12b0dd596c5a117887 | /include/Bloco.h | 61b9c3335bb015ce04e5daca093c2046dda017e2 | [] | no_license | gtroja/qjgo | 4084642c23aa6af3c8ae661cad0abb5930159d24 | e0b7b71be85c84b75fc8977f11e8ea401ebb4f4b | refs/heads/master | 2020-07-01T15:09:21.791333 | 2019-10-02T04:06:50 | 2019-10-02T04:06:50 | 74,335,723 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 682 | h | #ifndef BLOCO_H
#define BLOCO_H
#include "Defines.h"
#include "Coordenada.h"
#include "Terreno.h"
class Bloco{
public:
Bloco();
//int setLimites(Bloco* lim);
int mover(coordenada c);
int crescer(coordenada c);
int setPosicao(coordenada p);
int setTamanho(coordenada t);
//bool estaDentro(coordenada d);
//bo... | [
"guilhermetrojan@alunos.utfpr.edu.br"
] | guilhermetrojan@alunos.utfpr.edu.br |
38cc2f39ff5486a4e0f5677e7c6cc296d47cfabe | 08b8cf38e1936e8cec27f84af0d3727321cec9c4 | /data/crawl/collectd/old_hunk_285.cpp | 7bcf7c053e8d38039e38765ed439e6cf86d7baa4 | [] | 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 | 225 | cpp | CPY_RELEASE_THREADS
}
static PyObject *cpy_register_generic(cpy_callback_t **list_head, PyObject *args, PyObject *kwds) {
cpy_callback_t *c;
const char *name = NULL;
PyObject *callback = NULL, *data = NULL, *mod = NULL;
| [
"993273596@qq.com"
] | 993273596@qq.com |
5ff9891947ecb8f5e01cfd81b9d4930aab72fe49 | 4c93ca76318969f1624a0e77749bcdea3e7809d3 | /~9999/1289_트리의 가중치_2.cpp | 5ef7c132a38cef45ad2582540959349a25cd86c6 | [] | no_license | root-jeong/BOJ | 080925f6cfbb5dcbdf13c4c3a3c7e0a444908e6e | ec1ef5ad322597883b74d276078da8a508f164a8 | refs/heads/master | 2022-04-03T22:33:44.866564 | 2020-01-08T12:21:19 | 2020-01-08T12:21:19 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 569 | cpp | #include <iostream>
#include <vector>
using namespace std;
vector<pair<int, int> > vec[100001];
int DIV = 1000000007;
long long total;
long long dfs(int now, int prev) {
long long tmp;
long long ret = 1;
for (const auto & x : vec[now]) {
if (x.first != prev) {
tmp = dfs(x.first,now )* x.second % DIV;
total ... | [
"gjek136@naver.com"
] | gjek136@naver.com |
1e23c85e2ac4cbeabaf47240458593e953d56482 | 1917cc3414598031b02f6530a48af20ccc5dd2a6 | /kodilib/src/widgets/KButton.cpp | 1bc5bb1eba1f7db39bbf65e2564646c48e74fe75 | [
"LicenseRef-scancode-warranty-disclaimer",
"Unlicense"
] | permissive | Mistress-Anna/kiki | 8cebcf4b7b737bb214bbea8908bbdc61bc325cb5 | 2f615044d72de6b3ca869e2230abdd0aced2aa00 | refs/heads/master | 2022-04-29T16:34:45.812039 | 2018-06-24T09:13:39 | 2020-01-04T23:38:22 | 42,407,357 | 2 | 1 | Unlicense | 2022-03-16T08:11:09 | 2015-09-13T18:23:04 | C++ | UTF-8 | C++ | false | false | 1,911 | cpp | /*
* KButton.cpp
* kodisein
*/
#include "KButton.h"
#include "KConsole.h"
#include "KColor.h"
KDL_CLASS_INTROSPECTION_2 (KButton, KLabel, KNotificationObject)
// --------------------------------------------------------------------------------------------------------
KButton::KButton ( const std::string & n ) : ... | [
"monsterkodi@users.sourceforge.net"
] | monsterkodi@users.sourceforge.net |
cd50527672973dec7d2f37fa822b8b9ab666da98 | e12b5ffa7153c58c16e25cd4475189f56e4eb9d1 | /Explanation2/P2296.cpp | c94cf6dd032edcf1efdab30c6fee22ac83a6784a | [] | no_license | hhhnnn2112-Home/NOI-ACcode-Explanation | ef1cdf60504b3bd01ba96f93519dde5aa1aec7ad | 821b08584b804a2ae425f3f7294cc99bd87c9f5b | refs/heads/main | 2023-02-01T02:20:00.421990 | 2020-12-15T10:11:22 | 2020-12-15T10:11:22 | 321,634,613 | 1 | 0 | null | 2020-12-15T10:36:22 | 2020-12-15T10:36:21 | null | UTF-8 | C++ | false | false | 1,235 | cpp | #include<bits/stdc++.h>
using namespace std;
int a[400050],b[400050];
struct edge
{
int ver,nxt;
}z[400050],f[400050];
int head1[400050],head2[400050],cnt;
void add1(int x,int y)
{
cnt++;
z[cnt]=(edge){y,head1[x]};
head1[x]=cnt;
}
void add2(int x,int y)
{
cnt++;
f[cnt]=(edge){y,head2[x]};
head2... | [
"48145116+hhhnnn2112@users.noreply.github.com"
] | 48145116+hhhnnn2112@users.noreply.github.com |
4521879a270666d0870c36ab4a573d7255bebd28 | 3233accbde095c41593861c9d5b44d0f7959c721 | /1394camera/1394camera/1394CamFMR.cpp | 5ab2d848ee3a714ff6e912102d5da36baa3d4f9b | [] | no_license | iamchucky/tdloc | 6cf4a76f0ab7f19bb2cb5db7150a8750943cba34 | d30cce12c626260df86885770033323156aa6224 | refs/heads/master | 2021-01-19T16:23:40.961659 | 2011-05-19T18:22:49 | 2011-05-19T18:22:49 | 1,204,147 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 20,564 | cpp | /**\file 1394CamFMR.cpp
* \brief Implements Format, Mode, Rate manipulation for the C1394Camera class.
* \ingroup camfmr
*/
//////////////////////////////////////////////////////////////////////
//
// Version 6.4
//
// Copyright 8/2006
//
// Christopher Baker
// Robotics Institute
// Carnegie Mellon University
... | [
"yangchuck@gmail.com"
] | yangchuck@gmail.com |
bcb23788265b1c147d12b7549a090326f5708646 | 91f0a562bd2672febf99040d4bca1b8fcfd2c179 | /misakalovelibrary/src/main/cpp/libeditcore/video_effect_core.h | 7d5092361fd7159a1ba71fbef7758c826462038b | [] | no_license | JabamiLight/MisakaLove | 5af77bfb77bbc628e356532b2397caa13115ddc1 | c2d9a7426345141cfc8440a710881f56f8f4ebb8 | refs/heads/master | 2020-03-23T09:56:07.448090 | 2019-02-12T03:02:49 | 2019-02-12T03:02:49 | 141,415,756 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,362 | h | //
// Created by TY on 2018/7/25.
//
#ifndef MISAKALOVE_VIDEO_EFFECT_PROGRAM_H
#define MISAKALOVE_VIDEO_EFFECT_PROGRAM_H
#define LOG_TAG "VideoEffectCore"
#include "../opengl/program.h"
#include <list>
#include <GLES2/gl2ext.h>
#include "common/camera_preview_program.h"
#include "../libcommon/CommonTools.h"
#include... | [
"568478312@qq.com"
] | 568478312@qq.com |
46b7fc5ae6a4000d2c5040e174a45462fa3c98cc | 1c711f642328e5195cbbb61760a83f4a8ff6977a | /assets/src/AtCoder/238/c.cpp | 723b81498cd4ecab58366118d69ed5d7e5bc9a6f | [] | no_license | liuxueyang/liuxueyang.github.io | 29d85b989e5938e964b70c9616a418e13003212e | 86e10cb6137d930c2ac81f2ae20318eb1354f2b5 | refs/heads/master | 2023-03-07T13:06:17.366563 | 2023-03-01T14:41:41 | 2023-03-01T14:41:41 | 17,851,538 | 2 | 0 | null | 2023-01-31T04:00:56 | 2014-03-18T02:46:21 | C++ | UTF-8 | C++ | false | false | 1,864 | cpp | // Date: Sat Feb 12 15:25:13 2022
#include <cstdio>
#include <cstring>
#include <cstdlib>
#include <cmath>
#include <climits>
#include <iostream>
#include <sstream>
#include <string>
#include <vector>
#include <queue>
#include <stack>
#include <map>
#include <set>
#include <algorithm>
#include <utility>
#include <fun... | [
"liuxueyang457@gmail.com"
] | liuxueyang457@gmail.com |
5c812ce865e1a9d3224ebbcc21aecec818b84fa9 | f8f903486ebca5bfa1f304c0d4308c494f4331b1 | /test/keyframe_test.cpp | 2a62ed453ee705630a4aede0e7c69779249a0ef6 | [] | no_license | utomore/ncuipc | 530ad1a7aa8389b24256d8413cd5afb512f72dcf | 6301d63ea8ac7db679dee9b5a0f9e2a0b6266f7c | refs/heads/master | 2021-09-20T23:49:13.344028 | 2018-08-17T03:35:17 | 2018-08-17T03:35:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,123 | cpp | #include "tako/common_include.hpp"
#include <string>
#include <vector>
#include <iostream>
//DBoW3
#include "DBoW3/DBoW3.h"
using namespace std;
using namespace cv;
int main(int argc, char **argv)
{
//read the image
cout << "read images" << endl;
vector<Mat> images;
for (int i = 0; i < 10; i++)
{... | [
"lhm.stu@gmail.com"
] | lhm.stu@gmail.com |
cdd28cce38118074ab91be4cad7bfbb4cbe6791e | 254cb2f933e9ead5df3c36a59c7280db481ec885 | /TapToExit/main.cpp | d3860ace33d97eec1853e10522078951a107783a | [
"MIT"
] | permissive | KennFatt/Kyoote | d253953ab1b4dc5dd7f0802474fd828f70223529 | 7b9ec2ef980e8a39fb76662c6259c8c77019b97b | refs/heads/master | 2021-04-08T00:17:27.326682 | 2020-03-20T17:46:55 | 2020-03-20T17:46:55 | 248,719,263 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 98 | cpp | #include "src/application.h"
int main(int argc, char **argv)
{
Application app(argc, argv);
} | [
"clashofklen@gmail.com"
] | clashofklen@gmail.com |
23d5832e4ae7cfe5443ef701961f082f0e23e33c | ee3039b27532d09c0c435ea7b92e29c70246c66e | /opencv/learnOpencv/001-030/029-快速的图像边缘滤波算法.cpp | 73c5cea64d53d71177f00f805e03d2e8559648d8 | [] | no_license | Alvazz/fanfuhan_ML_OpenCV | e8b37acc406462b9aaca9c5e6844d1db5aa3c944 | dacfdaf87356e857d3ff18c5e0a4fd5a50855324 | refs/heads/master | 2022-04-05T06:15:31.778227 | 2020-02-07T01:40:07 | 2020-02-07T01:40:07 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 421 | cpp | #include <iostream>
#include <opencv2/opencv.hpp>
using namespace std;
using namespace cv;
/*
* 快速的图像边缘滤波算法
*/
int main() {
Mat src = imread("../images/test.png");
if (src.empty()) {
cout << "could not load image.." << endl;
}
imshow("input", src);
Mat dst;
edgePreservingFilter(src,... | [
"gitea@fake.local"
] | gitea@fake.local |
3af2f1c6176db72ee508d728cdae2e4b979c4744 | 2bc4762a1a424f195c9b20b6d89d14763f11b010 | /playlist.cpp | 8a3b67b0630965cc78ead1b1ce4f09376a82f066 | [] | no_license | Danile71/winsaplayer_sources | a6b66ceaca6514418980fa7655a9af8a09a5b0e5 | ca607d79788b10ed6775b916497d6b9866e9c0f9 | refs/heads/master | 2021-08-06T10:31:16.043194 | 2017-11-05T07:27:53 | 2017-11-05T07:27:53 | 109,423,755 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 961 | cpp | #include "include/playlist.h"
#define null ""
__fastcall TXml::TXml()
{
List=new TStringList();
PList=new TStringList();
}
AnsiString __fastcall TXml::GetAutor(AnsiString str)
{
AnsiString ret,strt="no name";
if(str.Pos("<title>"))
{
ret="";
for(int i=str.Pos("<title>")+7;i<str.Pos("</title>");i++)ret... | [
"danile71@gmail.com"
] | danile71@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.