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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
bcf6d54b7070cc933202462e4e4eb5e42c0fd88d | c494ffee7fdfa3011594beed9aed7f366724e3be | /actors/Neutron.cpp | 0632cac3d174043983368f8fb26b125e7b0a5ced | [] | no_license | Wavesonics/ReactorCpp | 9a97b7700faa79f51a4e0d359b793d4ab029964a | 643a1a9d72aa34e7697b3f3f94f5f93c6c1ed1fc | refs/heads/master | 2021-02-05T21:58:44.128401 | 2020-02-28T22:13:19 | 2020-02-28T22:13:19 | 243,839,298 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 748 | cpp | //
// Created by Adam on 2/27/2020.
//
#include "Neutron.h"
#include "../util/Utils.h"
#include <iostream>
#include <cmath>
#include <limits>
using namespace std;
Neutron::Neutron() : position(vec2f()), velocity(vec2f())
{
}
Neutron::Neutron(const vec2f &position, const vec2f &velocity)
: position(position), v... | [
"adamwbrown@gmail.com"
] | adamwbrown@gmail.com |
8776f38c09ad933a39c98e389395288e00ea0ea9 | a23d1ed72a3802a4a0cf5a6633116ee13ba9be22 | /pthread_test/thread_test.h | 82da4ca37715f18f6066607e527056b10dc04e2c | [] | no_license | impressionyang/linux_cpp_pthread | c906ceb08a3f48b9f798510f4527d8a8e6f02280 | 8f77b5511b46d9ec8c105a412be702101421556f | refs/heads/master | 2023-02-20T14:18:37.713268 | 2021-01-24T04:03:31 | 2021-01-24T04:03:31 | 332,362,008 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 362 | h | #ifndef _THREAD_TEST_CPP_
#define _THREAD_TEST_CPP_
#include <iostream>
#include <unistd.h>
#include "thread.h"
using namespace std;
class Thread_Test: public Thread
{
public:
Thread_Test(int cnt);
void stop();
int get_cnt();
bool get_running();
protected:
void run();
private:
int cnt;
... | [
"impressionyang@outlook.com"
] | impressionyang@outlook.com |
14668dca4d67a137aea55939c9a11f8311ae3d26 | 2a8b52d022abc254e51427a229b8f3a697c8132d | /tests/VectorTest.cpp | 6256bf37fdf1948ccfb184f7746a00d82bb69c2a | [
"MIT"
] | permissive | HNSDFZ-OIER-2015/RSRL | 5737a22a50dd5bdeb773042c221212bf19c62ead | 2f4b988fb7ce2022c4b211d93ab3e02d019eb637 | refs/heads/master | 2020-08-03T12:00:08.179255 | 2016-11-10T07:03:53 | 2016-11-10T07:03:53 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,272 | cpp | //
// Copyright 2016 riteme
//
#include "Math.h"
#include <iostream>
using namespace std;
using namespace rsr;
int main() {
float x1, y1, z1, x2, y2, z2, r;
while (cin >> x1 >> y1 >> z1 >> x2 >> y2 >> z2 >> r) {
Vector4f a(x1, y1, z1);
Vector4f b = { x2, y2, z2 };
cout << "a + b = ... | [
"1412803389@qq.com"
] | 1412803389@qq.com |
caffa792d449e15c132c6a0bbb5615f70104b100 | 2967c0d3c7ec878f436da69e919d57b18cb83de4 | /CS 106b/Assignment7-xcode/path.cpp | 174037ce53afec12af5f1560a4d4868f1ac578f0 | [] | no_license | ryanefoley/repo3 | e14d5096c45d827dca9130f81b93b945011c8383 | afa9fe038f655e2f6b40040ff4b16ff786b2bc85 | refs/heads/master | 2016-08-08T15:22:00.735742 | 2013-01-06T23:52:30 | 2013-01-06T23:52:30 | 7,474,291 | 3 | 13 | null | null | null | null | UTF-8 | C++ | false | false | 1,922 | cpp | /*
* File: path.cpp
* --------------
* Name: Ryan Foley
* Section: Brett Wines
* This file implements the path.h interface.
*/
/////////////////////////////////////////////////////////////////////
// Your task in this part of the assignment is to write the code //
// that implements your path.h interface. For... | [
"ryanefoley@gmail.com"
] | ryanefoley@gmail.com |
84df5769e03a49cd0a0da78b3d010c44f6016abc | 097d3031dc2d1791aeec01747423648db0f2a01b | /src/qt/walletmodel.cpp | a594b10a74cc6fe3393d57e79ac783efb8a88e2d | [
"MIT"
] | permissive | wmcorless/paccoin | 9e0482e0be681f28b47261fc2ac17133c593f319 | 833b6fda90695ec0ab2407b0f2ca52e1a1aabc18 | refs/heads/master | 2021-06-04T08:22:13.534690 | 2018-06-20T22:51:32 | 2018-06-20T22:51:32 | 14,294,397 | 11 | 28 | MIT | 2018-01-20T22:04:10 | 2013-11-11T07:33:45 | C++ | UTF-8 | C++ | false | false | 11,673 | cpp | #include "walletmodel.h"
#include "guiconstants.h"
#include "optionsmodel.h"
#include "addresstablemodel.h"
#include "transactiontablemodel.h"
#include "ui_interface.h"
#include "wallet.h"
#include "walletdb.h" // for BackupWallet
#include "base58.h"
#include <QSet>
#include <QTimer>
WalletModel::Walle... | [
"bill@EVGA.(none)"
] | bill@EVGA.(none) |
625c6d1a22059c4f3f83adbba849e8885c98ab47 | b9a747833e8ccdc7eaf92f5b09938bc9ba466f32 | /LinearAlga_opdr1/Camera.h | 2795baf13d849654dc939ee2bf95c0ad4f3ededb | [] | no_license | MaxStubbe/Linal2020 | 761d57f89eee772f45a21315ce1772be6c169997 | c1b205f178f960bf5437f0561e78469090ca1acb | refs/heads/master | 2020-12-06T02:05:03.805778 | 2020-01-11T11:00:48 | 2020-01-11T11:00:48 | 232,309,014 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 243 | h | #ifndef __Camera_h__
#define __Camera_h__
class Camera {
int SCREEN_WIDTH;
int SCREEN_HEIGHT;
public:
int x;
int y;
float zoom;
Camera(int width, int height);
void setZoom(float value);
void update();
float getZoom();
};
#endif
| [
"maxyman@hotmail.nl"
] | maxyman@hotmail.nl |
fb45d1587b275792baf6f31252c8e008a9877668 | d889e734c389eb89f98ee3f177d04636e890a13f | /herramientas/26-03-20/distribution.cpp | a3eb687dee54a438a6ff0e3c6c4dac212c12ff75 | [] | no_license | EdissonPeralta/hola | ee2be4352a997c3a52cfbdd966bad1eb02d0e09f | 83b9aeb493e2091377f7248b1d9ebbd22597ea38 | refs/heads/master | 2023-07-19T12:05:49.264054 | 2021-03-27T20:15:36 | 2021-03-27T20:15:36 | 245,467,230 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 250 | cpp | #include <random>
#include <iostream>
int main(void)
{
std::random_device rd;
std::mt19937 gen(rd());
std::uniform_real_distribution<> dis (0,1);
for (int n=0;n<100;n++)
{
std::cout<<dis(gen)<<std::endl;
}
std::cout<<'\n';
}
| [
"edlperalta@unal.edu.co"
] | edlperalta@unal.edu.co |
df8069aa747afcf521296734b81f99af0c7feebe | cf8ddfc720bf6451c4ef4fa01684327431db1919 | /SDK/ARKSurvivalEvolved_PrimalInventoryBP_Tap_functions.cpp | 599865ca8e3910aa60a2583253fc9db6314bdf2e | [
"MIT"
] | permissive | git-Charlie/ARK-SDK | 75337684b11e7b9f668da1f15e8054052a3b600f | c38ca9925309516b2093ad8c3a70ed9489e1d573 | refs/heads/master | 2023-06-20T06:30:33.550123 | 2021-07-11T13:41:45 | 2021-07-11T13:41:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,060 | cpp | // ARKSurvivalEvolved (329.9) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "ARKSurvivalEvolved_PrimalInventoryBP_Tap_parameters.hpp"
namespace sdk
{
//---------------------------------------------------------------------------
//Functions
//------------------------------------------------------------... | [
"sergey.2bite@gmail.com"
] | sergey.2bite@gmail.com |
ff34817f6eb5ab35be6242df330dcabd3bfd8cd3 | 4c8f8d7d4fa4a486267427c9cf12c3c246dae9d4 | /cplusplus/chapter13/test5/usebrass3.cpp | 80596551a416ca81237b53892ad381a2ae00723b | [] | no_license | shuwentao/learn | 3f8b1a15d2b440820e4804e20e42f821ae872a92 | a07b1fc1f47e0657b4d985f3a1a29b6a43bd5ec7 | refs/heads/master | 2020-09-23T19:18:55.715984 | 2019-12-26T08:52:10 | 2019-12-26T08:52:10 | 225,566,386 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,166 | cpp | #include <iostream>
#include <string>
#include "acctabc.h"
const int CLIENTS = 4;
using namespace std;
int main()
{
AcctABC * p_clients[CLIENTS];
string temp;
long tempnum;
double tempbal;
char kind;
for(int i = 0 ; i < CLIENTS ; i ++)
{
cout << "Enter client's name: ";
getline(cin,temp);
cout << "Enter ... | [
"418674879@qq.com"
] | 418674879@qq.com |
c43a5e35c2afe91169fa7e87b83aaffded19f16a | 47db6d2e67f74d0f58643c32ea601aefb739574d | /Practical1.cpp | 30602d97dd7f020a3a71bd6640c21239544cf015 | [] | no_license | arthur-coll/Cplusplus_class | bce7aa4527d01b14c6953792903fc62cbc9c6ac1 | ced1eb6aff593912b478242f7bd289c6eaafd009 | refs/heads/main | 2023-03-01T20:01:16.432404 | 2021-02-14T21:15:33 | 2021-02-14T21:15:33 | 330,741,390 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,383 | cpp | /*
// EXercice 2
#include <iostream>
using namespace std;
// function main begins program execution
int main(){
int i,j;
cin >> i;
cin >> j;
cout << i*j<< endl; // prints on
return 0; // indicates that program ended successfully
}
//Exercice 3
#include <iostream>
using namespace std;
// function main begins program e... | [
"replituser@example.com"
] | replituser@example.com |
879fe538d1c228e4c77f369b45f3e5328685712d | 24731385a47b4ddee7b85eb7aaad659e6dca3e80 | /compiler/translator.h | c31917a406cf425aba56c10bccc0127ca9ea9850 | [] | no_license | igreench/univer-compiler | 8640d7c78f0b11ff14ae1d0e8501d5f712689224 | 74bd1d70f7896f3daa734d7c16621219d6ea5310 | refs/heads/master | 2021-01-25T06:05:58.037717 | 2014-04-29T00:31:12 | 2014-04-29T00:31:12 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,962 | h | #ifndef TRANSLATOR_H
#define TRANSLATOR_H
#include <QVector>
#include <QString>
#include <QFile>
#include "parser.h"
using namespace parser;
namespace translator {
class ByteCode {
public:
ByteCode(QString cmd, QString value) {
this->cmd = cmd;
this->value =... | [
"eugenejsm@mail.ru"
] | eugenejsm@mail.ru |
ee7c9a342a1bb58beb1a9eeab3af33d000c06da7 | ceed8ee18ab314b40b3e5b170dceb9adedc39b1e | /android/external/libchrome/sandbox/linux/seccomp-bpf/sandbox_bpf.cc | 5cf6c2eb6a3ff8acbee869e05d2c2deac85fbfa0 | [
"BSD-3-Clause"
] | permissive | BPI-SINOVOIP/BPI-H3-New-Android7 | c9906db06010ed6b86df53afb6e25f506ad3917c | 111cb59a0770d080de7b30eb8b6398a545497080 | refs/heads/master | 2023-02-28T20:15:21.191551 | 2018-10-08T06:51:44 | 2018-10-08T06:51:44 | 132,708,249 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 9,120 | 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 "sandbox/linux/seccomp-bpf/sandbox_bpf.h"
#include <errno.h>
#include <stdint.h>
#include <sys/prctl.h>
#include <sys/types.h>
#include <uni... | [
"Justin"
] | Justin |
8873ca12731d12c2b95bfaa2bf9cef221d4cb027 | 07e65dc571a42363d2bc8b3c883ca6aab8915c4a | /Source/Reflection/GuiTypeDescriptor.h | e26f9752d93536d887228d798b360ccb30b23379 | [
"MS-PL"
] | permissive | uchuugaka/Vlpp | 0c182fe5dd0e50beaa04ad33affb37dd699474db | ed40f923de343ca40dcd08cb878bff19160dcb9e | refs/heads/master | 2021-01-11T22:42:56.446937 | 2017-01-15T02:20:48 | 2017-01-15T02:20:48 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 47,442 | h | /***********************************************************************
Vczh Library++ 3.0
Developer: Zihan Chen(vczh)
Framework::Reflection
XML Representation for Code Generation:
***********************************************************************/
#ifndef VCZH_REFLECTION_GUITYPEDESCRIPTOR
#define VCZH_REFLECTI... | [
"vczh@163.com"
] | vczh@163.com |
158ed8d8b6404a50e2a01ed65fc4810d6f67329e | 4fee08e558e77d16ab915f629df74a0574709e8b | /cpsc585/Havok/Common/Base/Memory/Tracker/Report/hkScanReportUtil.h | f60e4bbb80d86f9ff6ef26fe84772918cc16a583 | [] | no_license | NinjaMeTimbers/CPSC-585-Game-Project | c6fe97818ffa69b26e6e4dce622079068f5831cc | 27a0ce3ef6daabb79e7bdfbe7dcd5635bafce390 | refs/heads/master | 2021-01-21T00:55:51.915184 | 2012-04-16T20:06:05 | 2012-04-16T20:06:05 | 3,392,986 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,398 | h | /*
* Confidential Information of Telekinesys Research Limited (t/a Havok). Not for disclosure or distribution without Havok's
* prior written consent. This software contains code, techniques and know-how which is confidential and proprietary to Havok.
* Level 2 and Level 3 source code contains trade secrets of... | [
"cdebavel@ucalgary.ca"
] | cdebavel@ucalgary.ca |
c0fc004e57a395a609ef3a61fa2f80be9cb28e51 | 61c9db3c5a289567baf25cf28c1d95473bbb3c76 | /src/Tags/QteTags.cpp | e5d66f34cc23a2ce115d79a2fb09d6f6d1263c57 | [] | no_license | Ely4s/InfiniteConquest | 4355ffa2dc2e944e21ea092a582feec5f5da6f2d | 8b7f230b24edcc941e70a2b05e4ef378ee93736c | refs/heads/main | 2023-07-04T21:06:28.715842 | 2021-07-29T14:41:19 | 2021-07-29T16:34:01 | 390,754,973 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 173 | cpp | //
// Created by Elyas EL IDRISSI on 20/03/2021.
//
#include "QteTags.h"
hashmap::unordered_map<int, std::string> &QteTags::getLabels() const
{
return QteTags::LABELS;
}; | [
"el.idrissi_elyas@icloud.com"
] | el.idrissi_elyas@icloud.com |
dbdddfc583e82cfce091ffa0217ab315feebd205 | d90a065bf8f4294dd29a8934b95b052a1ad9c242 | /src/transactions/PaymentOpFrame.h | f7ead56c660201e6a0aacf556367736ab918607f | [
"Apache-2.0",
"BSD-3-Clause",
"MIT",
"BSL-1.0",
"LicenseRef-scancode-public-domain",
"BSD-2-Clause"
] | permissive | iotbda/iotchain-core | ab1e6e208601b6695a7f3a05526752520f06df5f | 74094a7853d2591cdfa79aa4a9459f6036008b2d | refs/heads/master | 2020-09-29T00:09:24.454483 | 2020-01-29T14:18:41 | 2020-01-29T14:18:41 | 226,899,145 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 967 | h | #pragma once
// Copyright 2015 Stellar Development Foundation and contributors. Licensed
// under the Apache License, Version 2.0. See the COPYING file at the root
// of this distribution or at http://www.apache.org/licenses/LICENSE-2.0
#include "transactions/OperationFrame.h"
namespace iotchain
{
class AbstractLedg... | [
"58486892+iotbdaus@users.noreply.github.com"
] | 58486892+iotbdaus@users.noreply.github.com |
1a6db6f148172fbaf0ba0b9740f35b0279cad82e | e8c79a50bb3ae6de451fbbae6e6865677626a07c | /algorithm/elimDups.cpp | 4c77b52a9b48f637b34a8935c33d2ba4501c2cc6 | [] | no_license | doc-cloud/cpp | 24ddf931a501d4660c6755587500d4989b9b1639 | c9dfe9d527b04d3d0890f2a3effed3b9e7f2a373 | refs/heads/master | 2021-01-23T23:04:17.952391 | 2017-09-09T13:03:47 | 2017-09-09T13:03:47 | 102,954,864 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 595 | cpp | #include <iostream>
#include <string>
#include <vector>
#include <algorithm>
using namespace std;
template <typename Sequence>
auto println(Sequence const & seq) -> ostream &
{
for (auto const & elem : seq)
cout << elem << " ";
return cout << endl;
}
auto eliminate_duplicates(vector<string> & vs) -> vector<strin... | [
"Linkerist@163.com"
] | Linkerist@163.com |
b86662f893696cce92e7c6eab93707fa96d775f3 | 82815230eeaf24d53f38f2a3f144dd8e8d4bc6b5 | /Airfoil/wingMotion/wingMotion2D_pimpleFoam/2.36/omega | 5efed27761991f06639b6fee29c2512a4dc8cd64 | [
"MIT"
] | permissive | ishantja/KUHPC | 6355c61bf348974a7b81b4c6bf8ce56ac49ce111 | 74967d1b7e6c84fdadffafd1f7333bf533e7f387 | refs/heads/main | 2023-01-21T21:57:02.402186 | 2020-11-19T13:10:42 | 2020-11-19T13:10:42 | 312,429,902 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 156,033 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v1912 |
... | [
"ishantamrakat24@gmail.com"
] | ishantamrakat24@gmail.com | |
a13b230afd0a0ceffcd1d89d6e379954c766a47d | 0d78cd0f1a2d8165fef37c519dc04e6d32eab2f1 | /Arrays/subarray_with_0_sum.cpp | 3695d23342e7410bc931668ab7b5572d0496eb5a | [] | no_license | amaan211/dsa-cp | d0531e5415936e97ac19c61006f6c6a1f5e0cab2 | c14ecfc3baa62cc982e51d8609163e7e015e87e4 | refs/heads/main | 2023-06-07T17:54:08.313112 | 2021-06-26T17:55:36 | 2021-06-26T17:55:36 | 345,557,221 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 553 | cpp | class Solution{
public:
//Complete this function
//Function to check whether there is a subarray present with 0-sum or not.
bool subArrayExists(int arr[], int n)
{
unordered_map<int, int> s;
bool isFound = false;
int prefix_sum = 0;
for(int i=0; i<n; i++){
... | [
"khanamaan827@gmail.com"
] | khanamaan827@gmail.com |
74f85d7514fbda641b2b18e6435d26fcb975ba0f | 4aca6e0da325098e72791349bea4dad0d79d3674 | /Engine/Source/D3D12Renderer/D3D12GPUCommandList.cpp | 2d1b6c4cffd10675f85a967f78c25ab886e29627 | [] | no_license | stenzek/YGameEngine | 9e1d42cc01cba1ea40030776df401ec4ed2bc4cb | 833e0dceee8f7d87c311624776344dde4ffa1c83 | refs/heads/master | 2021-08-23T10:10:20.598809 | 2015-11-05T15:19:37 | 2015-11-05T15:19:37 | 110,406,401 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 76,477 | cpp | #include "D3D12Renderer/PrecompiledHeader.h"
#include "D3D12Renderer/D3D12Common.h"
#include "D3D12Renderer/D3D12GPUDevice.h"
#include "D3D12Renderer/D3D12GPUCommandList.h"
#include "D3D12Renderer/D3D12GPUBuffer.h"
#include "D3D12Renderer/D3D12GPUTexture.h"
#include "D3D12Renderer/D3D12GPUShaderProgram.h"
#include "D3D... | [
"mclaughc@outlook.com"
] | mclaughc@outlook.com |
1ab0d339289d72e77fd71f02808adc92b5b758fc | 5f5bb4fe58ca6c9758e5ecd4f1acd7f3af7a41a4 | /cses/tree-algorithms/company-queries-ii.cpp | 3e74738b5fa27ac5221adaa4dc1c1b2042242236 | [
"MIT"
] | permissive | tysm/cpsols | 61a93de55dbeb2d92d92c80681d6615521d3d0ba | 262212646203e516d1706edf962290de93762611 | refs/heads/master | 2023-03-10T01:04:39.409948 | 2021-02-23T21:49:55 | 2021-02-23T21:49:55 | 202,269,911 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 442 | cpp | #include <cpplib/stdinc.hpp>
#include <cpplib/graph/tree/lowest-common-ancestor.hpp>
int32_t main(){
// https://cses.fi/problemset/task/1688
desync();
int n, q;
cin >> n >> q;
vvi adj(n+1);
for(int i=2; i<=n; ++i){
int p;
cin >> p;
adj[p].pb(i);
}
LCA lca(adj, 1)... | [
"ysm.thalles@gmail.com"
] | ysm.thalles@gmail.com |
66be8aa100d226b4f816ea6895ea6f3485d4d826 | 08b8cf38e1936e8cec27f84af0d3727321cec9c4 | /data/crawl/squid/old_hunk_6508.cpp | 893929b899d97501200be90e6cbb880c1672dfb8 | [] | 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 | 1,794 | cpp | */
type = get_token(fp, token);
if ((type != DESCRIPTION) && (type != INDEX) && (type != EQUALS)) {
print_error("Should be DESCRIPTION, INDEX, or EQUALS", token, nexttype);
free_node(np);
return 0;
}
if (type == DESCRIPTION) {
type = get_token(fp, token);
if (type !=... | [
"993273596@qq.com"
] | 993273596@qq.com |
850471e4bdd1becdfad33ebba7c6530b4c040b80 | 7c176571d9117b986e0b97bd0d427abf6b391311 | /session10/01inheritancereview.cc | 0ca10ebfbf5177636784e065286f8672ca6fbd3a | [] | no_license | StevensDeptECE/EE553_2017F | 04740fd1607f03cb9bcb4d02432090df7c5482c7 | 2b1eceec6a332815f5db2bdb0dca2e027dd0fb04 | refs/heads/master | 2021-01-21T13:29:57.269482 | 2017-12-20T13:46:08 | 2017-12-20T13:46:08 | 102,131,389 | 9 | 20 | null | null | null | null | UTF-8 | C++ | false | false | 504 | cc | class A {};
class B : public A {
private:
int x;
public:
B(int x) : x(x) { cout << "p"; }
~B() { cout << 'q'; }
};
int main() {
A a1; // legal______________________________
A* pa1; //LEGAL
// cout << *pa1; // ILLEGAL, looking at uninitialized memory (CRASH)
//B b1; // ILLEGAL: no such constructor
B... | [
"dov.kruger@gmail.com"
] | dov.kruger@gmail.com |
eef220476d2d8216e8e87dde440a90694a5b0bb9 | 6d4b4d2094ac6873cfe4ab97953749f33fae9f10 | /OpenHome/Media/Source.h | 61c00e367fb9895180deee79f40b991c93005e0f | [] | no_license | DoomHammer/ohMediaPlayer | cc695ab0278b5bd78f86d3417307fd4b0580f472 | fffc2ca4df5127da7436da02fa4a1b499fcfc423 | refs/heads/master | 2020-04-15T03:33:45.133504 | 2015-11-09T17:34:53 | 2015-11-09T17:34:53 | 7,721,894 | 3 | 1 | null | 2015-11-09T17:34:53 | 2013-01-20T21:02:22 | C++ | UTF-8 | C++ | false | false | 1,935 | h | #ifndef HEADER_OPENHOME_MEDIA_SOURCE
#define HEADER_OPENHOME_MEDIA_SOURCE
#include <OpenHome/OhNetTypes.h>
#include <OpenHome/Buffer.h>
#include <OpenHome/Media/Standard.h>
namespace OpenHome {
namespace Media {
class Track;
class IPlayer;
class Source : public Observable
{
public:
static const TUint kMaxTypeBy... | [
"keith@openhome.org"
] | keith@openhome.org |
36a2526cc4a4b73ed866ad4a4c919194f43d4dd3 | fb57dc0efeab3e51e6c59c8d58c654ac253c3ba9 | /Sharing/Src/Source/Common/Private/IntArrayAdapter.cpp | f2591f1a0d77b2b0ff5f01329ab3f385d3b67e4c | [
"MIT"
] | permissive | microsoft/MixedRealityToolkit | aa7eddbeb36cbb5894beea32e2ff91cef29afcdf | 8454abcce504effd83c9d6e20725f6037c11e2b4 | refs/heads/main | 2023-07-08T11:15:38.879033 | 2023-06-28T19:21:12 | 2023-06-28T19:21:12 | 46,008,487 | 251 | 61 | MIT | 2023-06-28T19:21:13 | 2015-11-11T20:37:59 | C++ | UTF-8 | C++ | false | false | 1,066 | cpp | //////////////////////////////////////////////////////////////////////////
// IntArrayAdapter.cpp
//
// Copyright (C) 2016 Microsoft Corp. All Rights Reserved
//////////////////////////////////////////////////////////////////////////
#include "stdafx.h"
#include "IntArrayAdapter.h"
XTOOLS_NAMESPACE_BEGIN
void IntAr... | [
"jovan@microsoft.com"
] | jovan@microsoft.com |
fbf7c4e433a8cf80a70e82d50f4df558f7758991 | 550bb47d72b1db9a6f930859540bf17e56a78f2f | /01_dna/main_bin_multi_stat.cpp | 9e23a3e22b5df5cf003e15618f388cf96970e0ec | [] | no_license | therocode/rosalind_cpp | 8def739a97802242f4b64afd821448b6880b3afb | 0f9a08893efda70b2d215f882eb629159e051047 | refs/heads/master | 2021-05-05T20:56:37.490990 | 2018-01-01T15:24:47 | 2018-01-01T15:24:47 | 115,410,636 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 17,807 | cpp | #include <cmath>
#include <random>
#include <fstream>
#include <string>
#include <iostream>
#include <vector>
#include <limits>
constexpr uint64_t countCompressed(uint8_t compressed)
{
uint64_t aAmount = 0;
uint64_t cAmount = 0;
uint64_t gAmount = 0;
uint64_t tAmount = 0;
for(int8_t charInByte = 0... | [
"kimspindel@gmail.com"
] | kimspindel@gmail.com |
2b8edf4ff016a419c042e106291f5d22245279fc | dd80a584130ef1a0333429ba76c1cee0eb40df73 | /external/chromium_org/cloud_print/gcp20/prototype/conio_posix.cc | 0a955c1ef58856e99c0296ca940da48fb946162a | [
"MIT",
"BSD-3-Clause"
] | permissive | karunmatharu/Android-4.4-Pay-by-Data | 466f4e169ede13c5835424c78e8c30ce58f885c1 | fcb778e92d4aad525ef7a995660580f948d40bc9 | refs/heads/master | 2021-03-24T13:33:01.721868 | 2017-02-18T17:48:49 | 2017-02-18T17:48:49 | 81,847,777 | 0 | 2 | MIT | 2020-03-09T00:02:12 | 2017-02-13T16:47:00 | null | UTF-8 | C++ | false | false | 1,100 | cc | // Copyright 2013 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 "cloud_print/gcp20/prototype/conio_posix.h"
#include <stdio.h>
#include <sys/time.h>
#include <sys/types.h>
#include <termios.h>
#include <unist... | [
"karun.matharu@gmail.com"
] | karun.matharu@gmail.com |
e81ebccc99fb55d447e7b2abb85f089ba0874da9 | adc10baf2a9d95dc22a00d5189e42907cc40272f | /MDCB.cpp | e1ae33abd618313d9904be6a340ea0e18268654c | [] | no_license | roachspray/MDCBWeakCheck | 54aaf417274c13be24ae23b9ef1a7df4942adfdf | 2e2a4eaab7d549009610da94f25478b473d812c6 | refs/heads/master | 2021-07-07T16:58:04.843122 | 2017-10-04T14:04:00 | 2017-10-04T14:04:00 | 105,775,632 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,893 | cpp | /*
* typical lame arr code :D
*
*/
#include "llvm/IR/Module.h"
#include "llvm/Pass.h"
#include "llvm/IR/InstIterator.h"
#include "llvm/IR/CallSite.h"
#include "llvm/IR/Instructions.h"
#include "llvm/IR/Operator.h"
#include "llvm/Support/raw_ostream.h"
using namespace llvm;
#include "MDCB.h"
bool
MDCBPass::runOnMo... | [
"areiter@veracode.com"
] | areiter@veracode.com |
32ec900cb6d3ac8f0cce030865774cbcfb310edb | d386c1a411efbbe63de99a168c071d0b477cdef8 | /MBED/Motor.h | 6e2e7284ef6e73eaf1a5f5b727e8c4ca04ff5a83 | [] | no_license | Rossano/RobyBal | 1ac1ae50655deea1f469e2fc4ac89c03b59613f9 | 1bdb9bf2529f7a841bd3be36c79209b0abe4feb5 | refs/heads/master | 2021-04-27T00:24:33.073831 | 2018-08-22T22:30:18 | 2018-08-22T22:30:18 | 123,807,619 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 963 | h | /*
* Motor.h
*
* Created on: 14 avr. 2018
* Author: Ross
*/
#ifndef MOTOR_H_
#define MOTOR_H_
#include "mbed.h"
#define ENABLE true
#define DSIABLE false
enum motor_direction
{
STOP,
FORWARD,
BACKWARD
};
enum motor_rotation
{
CLOCKWISE,
ANTICLOCKWISE
};
class Motor {
public:
Motor(PinName EN, Pin... | [
"rossano.pantaleoni@gmail.com"
] | rossano.pantaleoni@gmail.com |
7135e680eb26fe37c78a949ccc583e1e209be440 | 5557b7c8eb7fc24d25c46712b2ef7c1697d62f2b | /graphics/src/Renderer.cpp | 2c5b06c261af53af908c280d893e459fa9215516 | [] | no_license | janhsimon/polypusher | 9a91a15b06cea9228e09be4b148d16a1c957b4b9 | af76e76ff36e3e75fe2db2c94400a17a052971cd | refs/heads/master | 2021-01-03T20:13:36.787690 | 2020-03-14T20:25:31 | 2020-03-14T20:25:31 | 240,221,659 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,638 | cpp | #include "Renderer.hpp"
#include "Batch.hpp"
#include <glad/glad.h>
#include <stdexcept>
Renderer::Renderer(const Batch& batch) : indexCount(0u)
{
glClearColor(0.16f, 0.16f, 0.18f, 1.0f);
const std::string vertexShaderSource = "#version 150 core\n"
"attribute vec3 screen... | [
"janhsimon@gmail.com"
] | janhsimon@gmail.com |
74dc19310f1863dd07f194a1b70b88375ea9aa0b | cbdc078b00041668dd740917e1e781f74b6ea9f4 | /GiftFactory/src/main.cpp | b36089b1b5146f69d5fbe184174af347db1f8956 | [] | no_license | mireidril/gift-factory | f30d8075575af6a00a42d54bfdd4ad4c953f1936 | 4888b59b1ee25a107715742d0495e40b81752051 | refs/heads/master | 2020-04-13T07:19:09.351853 | 2011-12-16T11:36:05 | 2011-12-16T11:36:05 | 32,514,347 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 172 | cpp | #include "Application.hpp"
int main(int argc, char** argv)
{
Application giftFactory;
giftFactory.init();
giftFactory.update();
return EXIT_SUCCESS;
} | [
"celine.cogny@369dbe5e-add6-1733-379f-dc396ee97aaa"
] | celine.cogny@369dbe5e-add6-1733-379f-dc396ee97aaa |
dc02766cd342005e61809eec451b3cce567ed423 | 9e409a0a4333c376059ef795a336ef580c1ded20 | /codeforces/contest/959/a/46629323.cpp | 5848b3426f33127551ac51cd9e66280f320d4e9b | [] | no_license | hobby10/problems-solution | 569d4f52f7fe5d437c91041f5f6b9247c70915b1 | f35fb13a34f32b789e707b854eb0778c2c3c8484 | refs/heads/master | 2023-06-14T13:21:38.941953 | 2021-07-07T13:42:04 | 2021-07-07T13:42:04 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 808 | cpp | #include <bits/stdc++.h>
#define all(v) ((v).begin()), ((v).end())
#define sz(v) ((int)((v).size()))
#define clr(arr, k) (memset(arr, k, sizeof(arr)))
#define lpv(i,a,n) for(int i=a;i<(int)n;i++)
#define ll long long
using namespace std;
const double EPS = (1e-8);
const double PI = acos(-1.0);
const ll ... | [
"omarashrf15@gmail.com"
] | omarashrf15@gmail.com |
efff46e7fa443a34c28f9686f036f62f547aa12e | d09092dbe69c66e916d8dd76d677bc20776806fe | /.libs/puno_automatic_generated/inc/types/com/sun/star/util/XPathSettings.hpp | 7ad1c9b56fdd737a4dd0e2de57cca6413ae3fe0f | [] | no_license | GXhua/puno | 026859fcbc7a509aa34ee857a3e64e99a4568020 | e2f8e7d645efbde5132b588678a04f70f1ae2e00 | refs/heads/master | 2020-03-22T07:35:46.570037 | 2018-07-11T02:19:26 | 2018-07-11T02:19:26 | 139,710,567 | 0 | 0 | null | 2018-07-04T11:03:58 | 2018-07-04T11:03:58 | null | UTF-8 | C++ | false | false | 1,496 | hpp | #ifndef INCLUDED_COM_SUN_STAR_UTIL_XPATHSETTINGS_HPP
#define INCLUDED_COM_SUN_STAR_UTIL_XPATHSETTINGS_HPP
#include "sal/config.h"
#include "com/sun/star/util/XPathSettings.hdl"
#include "com/sun/star/beans/XPropertySet.hpp"
#include "com/sun/star/uno/Reference.hxx"
#include "com/sun/star/uno/Type.hxx"
#include "cppu... | [
"guoxinhua@10.10.12.142"
] | guoxinhua@10.10.12.142 |
b39d75a2960373021de89f404a29d20b2e4114e3 | c1fe1493d4eaa436222e4835adc3112d0735b968 | /ctg/utils/qcd_TEST.cc | 67e2425dce65108498038287ad8c2ab88f132f22 | [] | no_license | ctgcoin/ctg-master | 52599e9af11677e34ac95828c09bfb668f5cda6c | 330298882fa0d2da9a495931f316f3caaf471338 | refs/heads/master | 2020-03-28T23:24:11.833003 | 2018-11-27T10:08:07 | 2018-11-27T10:08:07 | 149,287,321 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,178 | cc | /* vim: set sw=4 sts=4 et foldmethod=syntax : */
/*
* Copyright (c) 2010, 2011
*
* This file is part of the ctg project. ctg is free software;
* you can redistribute it and/or modify it under the terms of the GNU General
* Public License version 2, as published by the Free Software Foundation.
*
* ctg is distr... | [
"support@ctgcoin.org"
] | support@ctgcoin.org |
ac10236627c29881bfdf8093e1c144aa4e4a2b06 | 7121e3df80afdc58fdc10c664c08aee411a78181 | /src/net/spdy/spdy_network_transaction_unittest.cc | 4bbb9ee0afcba4725bba45a2ac09d8951d6e41e5 | [
"BSD-3-Clause"
] | permissive | ochrisoyea/AccessControlListsintheDOM | 93d0a1f77f7f3af864d4a2942e4590af9065a7d8 | 9a8796f899592d236628f4d3007337ff5743c32f | refs/heads/master | 2020-06-08T14:31:37.838842 | 2019-06-22T16:17:41 | 2019-06-22T16:17:41 | 193,242,663 | 0 | 0 | null | 2019-06-22T14:24:31 | 2019-06-22T14:24:31 | null | UTF-8 | C++ | false | false | 303,686 | 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 <cmath>
#include <utility>
#include <vector>
#include "base/bind.h"
#include "base/bind_helpers.h"
#include "base/compiler_specific.h"
#incl... | [
"heatherfarrar.ima@gmail.com"
] | heatherfarrar.ima@gmail.com |
25bdc48a29faa1534b52f4355b079d77a0646133 | 818df5a6b667055f9c472e72ee0fc823f86de819 | /10653.cpp | 2dc935e6d6f4bb5e788b2a2825251c1b8162d61a | [] | no_license | kalex1994/UVA | 0a495e971fdcf92a785421a5c741bda915c21fca | cf45c6174cd299df14e8b52637c29ea7c3ec0f20 | refs/heads/master | 2021-01-01T19:47:13.630295 | 2016-10-15T19:14:46 | 2016-10-15T19:14:46 | 12,342,624 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,683 | cpp | #include <iostream>
#include <string>
#include <sstream>
#include <vector>
#include <algorithm>
#include <limits>
#include <climits>
#include <cctype>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <cmath>
#include <set>
#include <queue>
#include <map>
#include <cassert>
#include <list>
#include <func... | [
"kiralaleks@gmail.com"
] | kiralaleks@gmail.com |
5b0797eede6725545ef67883c477377b58b76e69 | e7da96c9f7bbdcf883086288dea7533fcbcd9a7d | /B-CPP-300-PAR-3-3-CPPD08-marc.wang/ex01/Droid.hpp | dfac7acde1ad1098081f758c51584a89c21bdf59 | [] | no_license | MarcWng/CPP_POOL | 48aca7ede509339052c509df02f2f4035bca53f4 | 762d807c08bd108c94ce69553e0c8f2f0c2349a5 | refs/heads/main | 2023-05-30T06:19:09.806149 | 2021-06-22T18:08:42 | 2021-06-22T18:08:42 | 367,852,320 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,043 | hpp | /*
** EPITECH PROJECT, 2020
** B-CPP-300-PAR-3-3-CPPD08-marc.wang
** File description:
** Droid.hpp
*/
#ifndef DROID_HPP
#define DROID_HPP
#include <string>
#include <iostream>
#include "DroidMemory.hpp"
class Droid
{
private:
std::string Id;
size_t Energy;
const size_t Attack;
const size_t Toughness... | [
"marc.wang@epitech.eu"
] | marc.wang@epitech.eu |
fba8722f0e7661433a1a2e1372b7452da62097e6 | 0d0e78c6262417fb1dff53901c6087b29fe260a0 | /redis/include/tencentcloud/redis/v20180412/model/DescribeInstanceMonitorBigKeySizeDistResponse.h | ed97783336460d2fc0853b754946d2a3032dfc14 | [
"Apache-2.0"
] | permissive | li5ch/tencentcloud-sdk-cpp | ae35ffb0c36773fd28e1b1a58d11755682ade2ee | 12ebfd75a399ee2791f6ac1220a79ce8a9faf7c4 | refs/heads/master | 2022-12-04T15:33:08.729850 | 2020-07-20T00:52:24 | 2020-07-20T00:52:24 | 281,135,686 | 1 | 0 | Apache-2.0 | 2020-07-20T14:14:47 | 2020-07-20T14:14:46 | null | UTF-8 | C++ | false | false | 2,421 | h | /*
* Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. 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
... | [
"zhiqiangfan@tencent.com"
] | zhiqiangfan@tencent.com |
5560cf46f124f9eb5a5ebb6ef70ffe913474671a | 29cd8de734117b5fb81d4bc568ac9b45b4e2cd82 | /ONP.cpp | 99da76eeb0121a712689a5d56e2f2cbcde2cb41a | [] | no_license | vedantpople4/problem_solving_cpp | 386eacd11ea307e3e9bf2ce86b78043573d67b9c | ebe4599ad9eba332fccec9aec0b63ecad930813b | refs/heads/master | 2022-07-28T22:21:17.659296 | 2022-07-11T13:10:20 | 2022-07-11T13:10:20 | 228,216,495 | 1 | 3 | null | 2020-10-25T15:58:32 | 2019-12-15T16:38:00 | C++ | UTF-8 | C++ | false | false | 987 | cpp | #include <bits/stdc++.h>
#define ll long long int
#define db double
#define pb push_back
#define mpr make_pair
#define andl "\n"
#define f first
#define s second
#define mset(x,y) memset(x,y,sizeof(x))
#define fr(i,h,n) for(long long int i=h;i<n;i++)
#define trace(it,x) for(auto it = (x).begin(); it != (x).end(); it++)... | [
"vedantpople4@gmail.com"
] | vedantpople4@gmail.com |
ad0710cdea11e7bae6b3c1ce148a89cbb00f891b | 989633814d5330ebbfee0345a422239739ae9af1 | /Exercise23 - Complex number class/Main.cpp | 848ced363950a518c4bb29366a99525156c0a4cb | [] | no_license | mtiganik/Cplusplus | 91c8f6070f1323aa20cbacd504b2624ecc127a74 | 47619731dfde04747830957c1e9dfe64e3a31fe1 | refs/heads/master | 2020-03-26T10:46:26.788112 | 2018-08-24T09:58:17 | 2018-08-24T09:58:17 | 144,814,757 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 644 | cpp | /// FILE NAME: Main.cpp
/// PROJECT: Exercise23
/// AUTHOR: Mihkel Tiganik
/// CREATED: 20.06.2018
/// MODIFIED: 22.06.2018
///
/// DESCRIPTION: Create a class of ComplexType, which
/// contains a real and imaginary parts. This class
/// should support sum, difference, multiplication
/// and division operands
#incl... | [
"mihkel.tiganik@ee.abb.com"
] | mihkel.tiganik@ee.abb.com |
8b30f2f41e0e6191dffeaa628a74043d712000fe | ee0a95fe19ff41a204ee6af5f715a0d0c8e44b10 | /Efectos en tiempo real/Efectos en tiempo real/CombReverbLP.h | 14eca36982ccead06f3ba872afd1c49aa1c83607 | [] | no_license | JavierKipen/Efectos-en-tiempo-real | c59fba9853dae7f3ba0028d33f1827ab408eca91 | 8a6c37728b0eb224b1a511cab8d1a523eaa666a3 | refs/heads/master | 2020-03-11T21:44:47.218738 | 2018-05-17T02:18:45 | 2018-05-17T02:18:45 | 130,274,056 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 419 | h | #pragma once
#include <vector>
#include <math.h>
using namespace std;
class CombReverbLP
{
public:
CombReverbLP(float g, unsigned int Taps, float a); //fc Normalizada!!!
void Action(const float *in, float *out, unsigned int len);
void setA(float a);
~CombReverbLP();
private:
void calcCoefs();
float g,A,coefX[2],... | [
"jkipen@itba.edu.ar"
] | jkipen@itba.edu.ar |
37fae704fd778efec7bfa1fec2ce6bfed8d6c077 | 15aa96062729aa327103f93783e0b5f0fd78c280 | /log.h | 85cac506565911eaeab14b02cabdfb68552cc12f | [] | no_license | dreamer-xs/wechatServer | 37d42d8658013fc8eb795ea55fcd24381811e06b | ab5fafdba534124518ff41358d7b99af5a00e330 | refs/heads/master | 2020-05-07T05:37:02.536134 | 2019-04-23T01:05:15 | 2019-04-23T01:05:15 | 180,276,197 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,343 | h | #ifndef __LOG_H__
#define __LOG_H__
//#include <QObject>
#ifdef __cplusplus
extern "C"{
#endif
#include <stdio.h>
#include <string.h>
#include <time.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <stdarg.h>
#include <syslog.h>
#include <unistd.h>
/************************************c语言通用日志框架*************... | [
"root@xs.dreamer"
] | root@xs.dreamer |
e22f719c56bee0a9205ee136411dd35da59558e2 | f62e6bf812b46ed7b7011bfa4487f4bb940a86c9 | /DuyetCay1.cpp | fd8804b57339858c08ad0090de8009a562b20ec7 | [] | no_license | diepdao1708/CPP | a18ae6904783b03ab4af0776aeff1268f190b473 | b94421300cf0a9db280887a817e8d09509899fbe | refs/heads/main | 2023-07-14T18:50:26.199755 | 2021-08-23T09:02:27 | 2021-08-23T09:02:27 | 366,944,692 | 12 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 818 | cpp | #include<iostream>
#include<string>
#include<vector>
#include<cmath>
#include<algorithm>
#include<stack>
#include<queue>
#define ll long long
using namespace std;
int Search(int a[], int x, int n){
for(int i=0; i<n; i++){
if(a[i] == x) return i;
}
return -1;
}
void printPostorder(int in[], int pre[... | [
"diepdao1708@gmail.com"
] | diepdao1708@gmail.com |
95db0ff74e89935a7481fa5d84e114e34db7109c | 7f6b5add0116e4fecf6f06f71ab6ce654bded260 | /sample/libs/cpplib/rates/ZCBuild.hpp | 5cf8efdb95c67ab648deae3b8af72832e54aac62 | [] | no_license | PeterTaylor2/spi-dist-prod | ef0677180f36c764f675dbdc01989b92d20b41ec | cd24ec465ce42f193c18da1caa45ace6713a8d5c | refs/heads/main | 2023-01-14T15:58:13.369400 | 2020-11-08T18:19:39 | 2020-11-08T18:19:39 | 307,236,671 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,273 | hpp | /*
Copyright (C) 2015 Sartorial Programming Ltd.
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, publish,... | [
"33470226+PeterTaylor2@users.noreply.github.com"
] | 33470226+PeterTaylor2@users.noreply.github.com |
18359b8db402baffede8831fd462b4a04457125d | ffb049555bbb9dbf40e78cf2984295282da4df20 | /differentialevolution/population.hpp | 25f70e8262c70968a0573b52b21bf681dda21aca | [
"BSD-3-Clause"
] | permissive | uwhda/differential-evolution | be4333683c166404e1ae10a12d6a3609442e5293 | ec20399c542bfcb3637c05244e7e24abfd05d3c9 | refs/heads/master | 2023-06-25T22:05:23.767583 | 2020-07-31T17:33:26 | 2020-07-31T17:34:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,675 | hpp | /*
* Copyright (c) 2017, Adrian Michel
* http://www.amichel.com
*
* This software is released under the 3-Clause BSD License
*
* The complete terms can be found in the attached LICENSE file
* or at https://opensource.org/licenses/BSD-3-Clause
*/
#pragma once
#include "individual.hpp"
namespace ... | [
"adrian@tradery.com"
] | adrian@tradery.com |
168adef11480a741380349f092dab50919e5b2ac | d8b340ed0ad2f9f6f04738ce32169f251ff1008d | /binaryMaze.cpp | c002fa416aca34f76d45d166f4a6b799e367bff5 | [] | no_license | aditya-kumar12/binary-maza | f130d9725ca2505029d921f18ef767a18142f48c | cdfba32f68884a4365be37ab1904ca3d174b6546 | refs/heads/master | 2022-12-04T00:21:43.654900 | 2020-08-27T07:27:54 | 2020-08-27T07:27:54 | 290,706,598 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,037 | cpp | #include <bits/stdc++.h>
using namespace std;
int shortestPathBinaryMaze(int maze[21][21],int m,int n,int destX,int destY)
{
if(maze[0][0]==0)
return -1;
if(destX==0 && destY==0)
return 0;
int visited[21][21]={};
int finalAns=INT_MAX;
queue< pair< pair<int,int>,int> > q;
pair< pair<int... | [
"adityakumarst12@gmail.com"
] | adityakumarst12@gmail.com |
d68a77a9172f3adca7e5ea242067d4ccc96e2212 | 6ce41dfeb56cf0ffdbf0b24a5bace79810b2ac17 | /网络赛/nowcoder2/h.cpp | d05e7bb31d7d448489a3d5733759f6588f62030b | [] | no_license | CheaSim/ACM | a0ada35f4a568a5f4da2b6d8bc484ed0425d89cf | 7adfb588324d6586a18d5a27afc2fbae241ebeba | refs/heads/master | 2020-03-24T23:59:16.428577 | 2019-04-24T13:07:42 | 2019-04-24T13:07:42 | 143,164,171 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,518 | cpp | #include<bits/stdc++.h>
using namespace std;
#define rep(i,a,n) for(int i=(a);i<(n);i++)
#define per(i,a,n) for(int i=(n-1);i>=(a);i--)
#define fi first
#define se second
typedef pair <int,int> pII;
typedef long long ll;
const int INF = 0x3f3f3f3f;
//head
const int maxn = 4e5 + 10;
struct node{
int to,next;
}G[maxn... | [
"852975133@qq.com"
] | 852975133@qq.com |
92399e7ca3d67445caf1ee049eab6bb1f26aca8b | db01773d3f6dec3cb15dc9446eb75f41ec3757fc | /8/inPlaceCountSort.cpp/inPlaceCountSort.cpp | 9b03bb7ee04e930fc65c81fc3e7821ca5171c57b | [] | no_license | coolsnowy/CLRS | 786c23caa3f88e34b4146ac21e85c6854c6b01f1 | 6d78dbe3ff646259c2b263ef86ef44db64bdfd61 | refs/heads/master | 2020-03-24T16:56:25.819760 | 2018-10-15T04:27:47 | 2018-10-15T04:27:47 | 142,843,681 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,158 | cpp | #include <iostream>
#include <vector>
#include <ctime>
#include <cmath>
using std::vector;
using std::cout;
using std::cin;
using std::cerr;
using std::endl;
void show(std::vector<int> vec) {
for (auto i : vec) {
cout << i << '\t';
}
cout << endl;
}
// this program is in place and run in linear ti... | [
"lc.shang.cn@gmail.com"
] | lc.shang.cn@gmail.com |
85f7391d2ae8dabf731989708df58bef1f2b7eae | 1b9e7f3a3e2606e8e04f989b5cb4dd5a3de725af | /cpp/Ntreev.Crema.ReaderTest/src/reader/src/iniexception.cpp | a43f7840a011c6b572d81ea70482392d43f50197 | [
"MIT"
] | permissive | NtreevSoft/Crema | 703666b7d6de84602935b0c862bd11c926aa47b0 | f1074fc570e03d3c4ad39e798b27741b53f17713 | refs/heads/master | 2022-12-11T14:34:10.387586 | 2020-10-06T00:28:43 | 2020-10-06T00:28:43 | 127,836,101 | 74 | 15 | MIT | 2022-12-07T19:52:57 | 2018-04-03T01:57:03 | C# | UTF-8 | C++ | false | false | 691 | cpp | #include "../include/crema/iniexception.h"
namespace CremaReader
{
#ifdef _MSC_VER
keynotfoundexception::keynotfoundexception(const std::string& key, const std::string& container_name)
: exception(format_string(key, container_name).c_str())
{
}
#else
keynotfoundexception::keynotfoundexception(co... | [
"s2quake@ntreev.com"
] | s2quake@ntreev.com |
c14720f92607f6b8e334bc2db01713c84ea5c260 | 1e3e792e6d42849ba1e06658542770bf24fe2ac3 | /Disjoint_Sets/03-kruskals_algo.cpp | 4fd975b8a44c4f0a803fe8daf413cf9678d1c4b9 | [] | no_license | sleepturtle2/Algorithms | 7f9ab3daf2e77f5ac760afe2bceaac0e0af05895 | 11a4380cc22ee1f161ed47de2952e33f33e77610 | refs/heads/main | 2023-08-13T23:43:44.145284 | 2021-09-30T08:38:25 | 2021-09-30T08:38:25 | 329,034,135 | 4 | 0 | null | 2021-02-20T17:25:35 | 2021-01-12T15:45:13 | C++ | UTF-8 | C++ | false | false | 5,279 | cpp | #include <stdio.h>
#include <stdlib.h>
#include <string.h>
// a structure to represent a weighted edge in graph
struct Edge
{
int src, dest, weight;
};
// a structure to represent a connected, undirected
// and weighted graph
struct Graph
{
// V-> Number of vertices, E-> Number of edges
int V, E;
// graph is... | [
"sayantan.mukh98@gmail.com"
] | sayantan.mukh98@gmail.com |
0f896245d322b67c9447a9ff4f51d56c9e7ac2a5 | 27236b3afe4d3ecf704d07b4ccbec3ea06d3faee | /src/ofApp.h | 57d0a1e515ebe1e27131bca7a5fdfb35e7101393 | [] | no_license | Koutaroo/Cube | b8ae5872c35c24f8c04163782d687056fa91effe | 3c1a889ecbb7c0fe686c373a7e644e29a7afa957 | refs/heads/master | 2021-01-19T23:32:20.464815 | 2017-04-21T14:28:34 | 2017-04-21T14:28:34 | 88,990,176 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 700 | h | #pragma once
#include "ofMain.h"
#define NUM 500
class ofApp : public ofBaseApp{
public:
void setup();
void update();
void draw();
void keyPressed(int key);
void keyReleased(int key);
void mouseMoved(int x, int y );
void mouseDragged(int x, int y, int button);
void mousePressed(int x, int y, int b... | [
"sss5555656sksd555656ktrktr@gmail.com"
] | sss5555656sksd555656ktrktr@gmail.com |
84f7a64a05e2c945fdee1d8da1c83db01e53c8f5 | c485cb363d29d81212427d3268df1ddcda64d952 | /dependencies/boost/libs/geometry/test/algorithms/expand.cpp | 349a28a89033da42c9188dcf9fa11977909042cd | [
"BSL-1.0"
] | permissive | peplopez/El-Rayo-de-Zeus | 66e4ed24d7d1d14a036a144d9414ca160f65fb9c | dc6f0a98f65381e8280d837062a28dc5c9b3662a | refs/heads/master | 2021-01-22T04:40:57.358138 | 2013-10-04T01:19:18 | 2013-10-04T01:19:18 | 7,038,026 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 5,485 | cpp | // Boost.Geometry (aka GGL, Generic Geometry Library)
// Unit Test
// Copyright (c) 2007-2011 Barend Gehrels, Amsterdam, the Netherlands.
// Copyright (c) 2008-2011 Bruno Lalande, Paris, France.
// Copyright (c) 2009-2011 Mateusz Loskot, London, UK.
// Parts of Boost.Geometry are redesigned from Geodan's Geogr... | [
"fibrizo.raziel@gmail.com"
] | fibrizo.raziel@gmail.com |
3f4d446a0b726a0e1d26113373b868bfb091e2f4 | eb8a780c2197e27cd7072451482df03ea92dac82 | /blink.ino | 0cf9601cc37c776d4fafd7ebfaaba2c507dbe73d | [
"CC0-1.0"
] | permissive | MakerColombia/Codigo-Tutoriales-Arduino | 24b1d200ef21d74daf8a60097029abf1dc61200b | 5340c6a4a6bc9187a54874dff2bf044fc8087dd7 | refs/heads/master | 2020-12-24T17:27:13.248503 | 2015-03-08T15:30:26 | 2015-03-08T15:30:26 | 26,650,102 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 772 | ino | /*
Blink
Enciende el led por un segundo, luego lo apaga.
www.MakerColombia.com
Noviembre 2013
*/
// El pin digital 13 de arduino Uno R3 tiene un led conectado incorporado en la board, puede cambiar el pin por cualquiera del arduino
int led = 13;
// El codigo dentro de Setup se ejecuta una sola vez despues... | [
"jcallano@gmail.com"
] | jcallano@gmail.com |
52e932bb7de64acc9f3b27128ec880287acec7b8 | 1dfed9551327f6d42953516d09eddba1153d8874 | /src/cpp/curl/src/util.cc | 276d67f7725922fb571fb2b0f2ff4bec9ebddca2 | [] | no_license | mcanthony/nodejs-phplike | 27ae7746fe9c6278e11bad6c5267c9f540c83545 | 44a78c1bbadb1181e62b3629ca227ee64a72e755 | refs/heads/master | 2021-01-23T01:51:14.324354 | 2015-09-28T13:11:33 | 2015-09-28T13:11:33 | 45,092,571 | 2 | 0 | null | 2015-10-28T06:08:34 | 2015-10-28T06:08:34 | null | UTF-8 | C++ | false | false | 1,847 | cc | #include "util.h"
namespace util {
std::string urlEncode(const std::string &toEncode) {
std::ostringstream out;
for(std::string::size_type i=0; i < toEncode.length(); ++i) {
short t = toEncode.at(i);
if(
t == 45 || // hyphen
... | [
"pipi00000@gmail.com"
] | pipi00000@gmail.com |
e06242bc34b2d027eb45e80a31abf478db6443f0 | 13bdc9a34e8163282bbd4f6345d7834b875878bb | /pipeline/libstream/FinalStep.hh | 9f9ec57eca3b3e4b77311bd2d5e6022ef2f18eec | [] | no_license | chunzer/misc | d1c6672a10404be42f332ea72ca36d332b4fdb0e | ad1a80a7ab022dc11f02c3a541ff2c5b49fc96a1 | refs/heads/master | 2021-10-08T10:49:29.399624 | 2018-12-11T10:08:06 | 2018-12-11T10:08:06 | 109,380,088 | 0 | 0 | null | 2017-11-03T09:57:32 | 2017-11-03T09:57:32 | null | UTF-8 | C++ | false | false | 309 | hh | #ifndef __FINALSTEP_HH__
#define __FINALSTEP_HH__
#include "Handler.hh"
class FinalStep: public Handler {
public:
void process(frame_t& frame, uint32_t *params, void* addr);
protected:
FinalStep();
~FinalStep();
virtual void doProcess(frame_t& frame, uint32_t *params, void* addr) = 0;
};
#endif
| [
"ykli@ingenic.cn"
] | ykli@ingenic.cn |
14cfa67486496ed1bf8605f6cb9ac1ab6ed282e5 | f8459b3999857f911501a84a56c640d8454c13b0 | /algorithm/RingSig.cpp | 7f821a691244b5078cc5b15cbe374de05eb40ef5 | [] | no_license | zixian5/FISCO-BCOS-GR-Sig | 5da0581594a96737086887d18ed7e590c9a0b8b0 | 521de36ab4a7900781a38a57059a811ca5a59d9b | refs/heads/master | 2020-04-05T11:05:34.138553 | 2018-11-09T06:59:35 | 2018-11-09T06:59:35 | 156,821,852 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,426 | cpp | /*
This file is part of FISCO BCOS.
FISCO BCOS is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
FISCO BCOS is distributed in the hope ... | [
"406964409@qq.com"
] | 406964409@qq.com |
5c8fcc62c3753d0a5e0b5b655016bf62fe64e072 | e4c792f4108748b43d94a841ae8b4ab6e8f3a1c4 | /ojC++/MyString2.cpp | 2d6ff917ec9e7d46f664a1c986fac2ec24a4c8aa | [] | no_license | Doraemonfan/mytest | f64fbf014bdab78c4e192302bce4043ae9e3e381 | 3e1d93acfe501a457d9fe818d7d74ddca41b2727 | refs/heads/master | 2020-03-10T07:07:50.022522 | 2018-06-13T16:33:37 | 2018-06-13T16:33:37 | 129,255,752 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,530 | cpp | #include <cstdlib>
#include <iostream>
#include <string>
#include <algorithm>
using namespace std;
class MyString:public string {
public:
MyString() { }
MyString(const char *cstr): string(cstr) { }
MyString(const MyString &mstr): string(mstr) { }
MyString& operator=(const char *cstr)
{
stri... | [
"17305693990@163.com"
] | 17305693990@163.com |
7aa60837917a4db727104e1ad2749c43f1b63626 | 3b62f57d4293c65b654b8b2d029c2920721e0f8e | /src/vector3.h | 30526d9a303ca7ddd2e0ccf1ab6d17125f76de94 | [] | no_license | varnholt/subsurf | 114be89c1f6b187a6222afdc73a8ccbfc7cf416d | 83dc8bd8a6cfa1091b06dcb20c091af1773954b3 | refs/heads/master | 2022-02-20T19:11:13.493782 | 2019-08-16T07:49:10 | 2019-08-16T07:49:10 | 202,683,210 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,771 | h | // simple 3-component vector class
// this class is assumed to be exactly 3 floats in size!
// absolutely avoid virtual function!
#pragma once
#include <math.h>
class Vector3
{
#define EPS 0.0001f
public:
float x,y,z;
Vector3() = default;
Vector3(float x, float y, float z) : x(x), y(y), z... | [
"matthias.varnholt@seeingmachines.com"
] | matthias.varnholt@seeingmachines.com |
01d370fa09faaf0ee013e0b6edcc8783c78893ef | de53f2a5067c61ef770a8a06229c3a7308826f8b | /desktop_app/mainwindow.cpp | a2b5eae200fd2c8ca5b40390dd582f71733069e7 | [] | no_license | EEL7323/chewbacca | d1cecaf4959270dca5bd07200890a3d720e901e6 | 377cc627dc319ca81b90d9541b2359240603fc1c | refs/heads/master | 2022-12-14T14:01:55.961473 | 2017-07-04T18:02:32 | 2017-07-04T18:02:32 | 89,487,979 | 0 | 1 | null | 2022-12-07T23:58:11 | 2017-04-26T14:05:26 | C++ | UTF-8 | C++ | false | false | 2,299 | cpp | #include "mainwindow.h"
#include "requestapi.h"
#include "ui_mainwindow.h"
#include "mytcpsocket.h"
#include "QJsonObject"
#include "QJsonDocument"
#include "QJsonArray"
class MainWindow::Data
{
public:
Data() : m_r(NULL) {}
RequestApi* r(QObject *parent) {
if (!m_r) m_r = new RequestA... | [
"alucassch@gmail.com"
] | alucassch@gmail.com |
a32c8d5f6e97f2686314396960fefba227beb1eb | a8ce1decc8b44e4d553a2d16991c8866afabead8 | /src/libraries/ANALYSIS/DHistogramActions_Reaction.h | 9b915b2a51273c5c9a082918c8b66b263cc29e51 | [] | no_license | dtbinh/sim-recon | 9d9761b1982854eb9eeca01ae41921f9904a4708 | 841e6b69e44f04b38d6172a5bf7a37b3315cad95 | refs/heads/master | 2020-12-30T19:58:44.908414 | 2015-09-25T19:02:37 | 2015-09-25T19:02:37 | 43,251,182 | 1 | 0 | null | 2015-09-27T15:08:04 | 2015-09-27T15:08:04 | null | UTF-8 | C++ | false | false | 20,028 | h | #ifndef _DHistogramActions_Reaction_
#define _DHistogramActions_Reaction_
#include <map>
#include <set>
#include <deque>
#include <string>
#include <iostream>
#include <sstream>
#include <limits>
#include "TROOT.h"
#include "TDirectoryFile.h"
#include "TH1I.h"
#include "TH2I.h"
#include "TH1D.h"
#include "TH2D.h"
#in... | [
"pmatt@jlab.org"
] | pmatt@jlab.org |
d6c0e44df68cacfb395f0c8d6745885da8d3bc49 | 7c6aa2b0dd8828c366b033ce114b475e4fe0add6 | /OOP WEEK 4/CLASS GIA SUC/GiaSuc.cpp | b1d747a32b497175dc95bdede921c000d22a57d3 | [] | no_license | NearHuscarl/UIT_OOP_Exercises | 7fa4562f70a23ceb1bce096f15b5d5a1087858d4 | dc3eae9989939f1f00cd316e1cc6630aeec21008 | refs/heads/master | 2021-01-20T08:21:31.194663 | 2017-05-02T14:11:37 | 2017-05-02T14:11:37 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 165 | cpp | #include "GiaSuc.h"
GiaSuc::GiaSuc()
{
}
GiaSuc::~GiaSuc()
{
}
void GiaSuc::Keu()
{
}
int GiaSuc::SinhCon()
{
return 0;
}
int GiaSuc::ChoSua()
{
return 0;
} | [
"mrnsapro@gmail.com"
] | mrnsapro@gmail.com |
0a7705c95c39aaf71f61d8201ee9a2fa186cf661 | 4576badf950ed9adafdfc1960aedb62a157f5cd8 | /AV1/AV1Z6.cpp | 943919ef040d76975c7def86503296aef8fc2c0d | [] | no_license | zayim/ProgrammingIntro | e5ed63b0c5bd12e57d4b28c03ff6df341b2085b2 | 5d3002e8e9049c60bde2fac3d7a0c89850befd0f | refs/heads/master | 2020-04-05T23:25:04.631754 | 2016-09-20T22:29:13 | 2016-09-20T22:29:13 | 68,758,527 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 214 | cpp | #include <iostream>
#include <cmath>
using namespace std;
int main()
{
double x,y;
cout << "Unesi x,y: "; cin >> x >> y;
cout << "Veci je: " << (x+y+abs(x-y))/2.0 << endl;
return 0;
}
| [
"zayim92@gmail.com"
] | zayim92@gmail.com |
c43a09bbecc621e1a3fbc831aec65f907fdf12b5 | fcf18d621075650965f40f950bb0b595b524a478 | /src/qt/qtipcserver.cpp | eeeaacb5ee58a3e3d64366ebdcb0d040c9d8edef | [
"MIT"
] | permissive | VirtaCrypto/Virta-Cryptocurrency | d9b0161b6947592b4bfc5b102936143d27ecd2b1 | c8bb0024fe64b6dc2dbca68fdcbde31e04c5a0aa | refs/heads/master | 2021-01-24T23:00:19.412298 | 2016-09-17T00:14:56 | 2016-09-17T00:14:56 | 68,342,590 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,921 | 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... | [
"bhokor@gmail.com"
] | bhokor@gmail.com |
0d9c060a3215770c0f3f34f17bfea8be4694f332 | 248311b0a2f2c04515730c68b3e9b8bd24a08c4c | /src/main.cpp | 55e2ac88a4f5d225c98f7d9922d1496e0dd9e3a0 | [] | no_license | jonike/HumanSkeletonAITool | 127ae5ed9154b52a6c34e332ecbe59615d87f807 | fbdba71acb0a2e650640cd7333086d7c424354c6 | refs/heads/master | 2022-01-27T18:28:43.488000 | 2019-06-17T03:26:56 | 2019-06-17T03:26:56 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 344 | cpp | #include "main.h"
Window* window;
int main(int argc, char** argv)
{
JSONReader* json = new JSONReader(".//resource/scene.json");
rapidjson::Document scenefile = json->Read();
if(scenefile == NULL) return 0;
if(scenefile["window"].IsObject())
{
window = new Window(argc, argv);
window->Init(scenefile["window"... | [
"mark.w.geise@gmail.com"
] | mark.w.geise@gmail.com |
c69c1237e0a05a5cba090237939381589c27d8d9 | 43a43fde17fefc9b57df136e7833865c82ea3623 | /Library/Bee/artifacts/WebGL/il2cppOutput/cpp/UnityEngine.CoreModule_Attr.cpp | f2933bd4fef7028dfa8a57faee1bf6b109ea031c | [] | no_license | mmr0451/Rhythm_game_0731 | 73fa654fca2380f16ba1775b3bc08454c90293d4 | 8e5b617140c197e193ac72d989591ac34ecf4526 | refs/heads/master | 2023-07-14T20:31:34.208773 | 2021-08-16T07:23:27 | 2021-08-16T07:23:27 | 391,263,733 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,115,999 | cpp | #include "pch-cpp.hpp"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <limits>
#include <stdint.h>
// System.Collections.Generic.IEnumerable`1<System.String>
struct IEnumerable_1_t349E66EC5F09B881A8E52EE40A1AB9EC60E08E44;
// System.Char[]
struct CharU5BU5D_t799905CF001DD5F13F7DB... | [
"sanuki451@gmail.com"
] | sanuki451@gmail.com |
4c6d86fc24bed6012234ad89e3e601179dd365ce | 59e6dbd8220deed9899584eade4d95842f53ae1d | /FiniteGroups/GeneratedFiles/qrc_modulo.cpp | 718ab17553045251ecad23ef7cbf38162ad6aabd | [] | no_license | kevinhaeni/Crypto.FiniteGroups.Cpp | 50d561d0952d1c29527121bab8d3986b2f3d381a | f7b73c33b0a8c11478758d3555930ea224b2b6c6 | refs/heads/master | 2021-01-10T08:22:38.728028 | 2016-04-04T06:33:28 | 2016-04-04T06:33:28 | 54,921,919 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,344 | cpp | /****************************************************************************
** Resource object code
**
** Created by: The Resource Compiler for Qt version 5.6.0
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/
#ifdef QT_NAMESPAC... | [
"kevin.haeni@gmail.com"
] | kevin.haeni@gmail.com |
f6ffd0e922324aa15dee6fe48d214571a004685c | 06154f67ffc2f685e08c691e2306ea0744543345 | /src/framework/gui/gui.cc | 98ecdaa84b441f699d38710f90345b115912a8b8 | [
"MIT",
"Apache-2.0"
] | permissive | trinhvo/ravaged-planets | 3e096a22abf85857a6697a1eb7bb3efa76722c48 | ab20247b3829414e71b58c9a6e926bddf41f1da5 | refs/heads/master | 2020-08-15T16:26:03.488214 | 2015-09-08T12:27:05 | 2015-09-08T12:27:05 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,805 | cc |
#include <boost/foreach.hpp>
#include <framework/framework.h>
#include <framework/cursor.h>
#include <framework/input.h>
#include <framework/graphics.h>
#include <framework/paths.h>
#include <framework/gui/gui.h>
#include <framework/gui/drawable.h>
#include <framework/gui/window.h>
namespace fw { namespace gui {
gu... | [
"dean@codeka.com.au"
] | dean@codeka.com.au |
839997938e250b0a8710e3bcad7cb0cc8fa76b90 | cb517177a1a2fc008285c84c6ab105c29967cfcc | /Competition/UVa10307.cpp | f0268e6ca3ad290a9d944c4fbc9f85bf169fa745 | [] | no_license | cshung/Competition | 8b4219593bfe28372ba82fbf923437988d862e2c | f534f37b34a0ef2351f4af3926ac864fed6dafc5 | refs/heads/main | 2023-08-29T03:25:35.042880 | 2023-08-16T15:32:45 | 2023-08-16T15:32:45 | 23,745,091 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,832 | cpp | #include "stdafx.h"
// http://uva.onlinejudge.org/index.php?option=onlinejudge&page=show_problem&problem=1248
#include "UVa10307.h"
#include <iostream>
#include <string>
#include <vector>
#include <map>
#include <set>
#include <queue>
using namespace std;
int UVa10307_find(int item, vector<int>& sets)
{
if (se... | [
"cshung@gmail.com"
] | cshung@gmail.com |
ce6b3723d30a66c99e30ffc366849c0537325c3a | 8448de53a91d6e2ac638290baf8e8cf6b2115322 | /easyMule/src/UILayer/DlgMainTabAdvance.cpp | 9cc87aa138980801ac7c014dd459aff80edc4826 | [] | no_license | tempbottle/archive-code | 0986e3e8dc689eedfb79adbbbbc51f6582f02d51 | 4a0b65fa026d868a018dddd14d5ed20e6c6044c6 | refs/heads/master | 2020-12-25T15:29:37.601713 | 2015-08-11T16:26:14 | 2015-08-11T16:26:14 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 3,382 | cpp | /*
* $Id: DlgMainTabAdvance.cpp 19524 2010-05-20 10:09:21Z dgkang $
*
* this file is part of easyMule
* Copyright (C)2002-2008 VeryCD Dev Team ( strEmail.Format("%s@%s", "emuledev", "verycd.com") / http: * www.easymule.org )
*
* This program is free software; you can redistribute it and/or
* modify it u... | [
"V.E.O@TOM.COM"
] | V.E.O@TOM.COM |
3dd94efb13172b640c5ad9029bb47e395a74ee27 | 4d0300263d28fb461f285cc2c3dfd7c51621cb4d | /external/Angle/Project/samples/Asteroids/glm/gtx/std_based_type.inl | e349c4a43da248700add098e384ffb974384a0a0 | [
"MIT",
"LicenseRef-scancode-generic-cla",
"LicenseRef-scancode-free-unknown",
"BSD-3-Clause",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | coronalabs/corona | 6a108e8bfc8026e8c85e6768cdd8590b5a83bdc2 | 5e853b590f6857f43f4d1eb98ee2b842f67eef0d | refs/heads/master | 2023-08-30T14:29:19.542726 | 2023-08-22T15:18:29 | 2023-08-22T15:18:29 | 163,527,358 | 2,487 | 326 | MIT | 2023-09-02T16:46:40 | 2018-12-29T17:05:15 | C++ | UTF-8 | C++ | false | false | 535 | inl | ///////////////////////////////////////////////////////////////////////////////////////////////////
// OpenGL Mathematics Copyright (c) 2005 - 2013 G-Truc Creation (www.g-truc.net)
///////////////////////////////////////////////////////////////////////////////////////////////////
// Created : 2008-06-08
// Updated : 20... | [
"vlad@coronalabs.com"
] | vlad@coronalabs.com |
44441264a43fbbbe00bc9532886a2e48bce6ab6f | a6d9b0f30f38bb7c3e777cb4befd4bc675935fa8 | /src/Common/Api/TracksQueryBase.cpp | 25732811f4a4cb3e49c0f4e769c416fbc3a26cd1 | [] | no_license | asdlei99/Tidal-Unofficial-Win10 | 2cb41ed8478078bc02ea26c74234de1e1075c526 | 37dbfde89c8e346dd09526adc6144e3699c943c0 | refs/heads/master | 2021-06-09T12:48:17.904735 | 2016-08-25T11:07:56 | 2016-08-25T11:07:56 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,419 | cpp | #include "pch.h"
#include "TracksQueryBase.h"
#include "../tools/StringUtils.h"
using namespace api;
api::GetTracksQueryBase::GetTracksQueryBase(int limit, int offset, Platform::String ^ sessionId, Platform::String ^ countryCode)
: QueryBase(sessionId, countryCode)
{
addQueryStringParameter(L"limit", limit.ToString(... | [
"sferquel@infinitesquare.com"
] | sferquel@infinitesquare.com |
964d0ba0aefec710d950e5a219d33561758d4e61 | 7dab14000c7c2a1bf2159744c0a1d5c2ccc99023 | /src/hproxy_client/tunnel_client.cpp | 9ee308e397f79bdbe58a3a011c8f3e520735db99 | [] | no_license | southrriver/libs-tt | 756969541f650b26de781c0e6d282992b67c26dc | 8bd3ffd3ecfa223ecfacd0f8732d3485569e040c | refs/heads/master | 2023-04-27T13:15:08.875396 | 2018-02-08T03:38:48 | 2018-02-08T03:38:48 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,202 | cpp |
#include <stdint.h>
#include <stdlib.h>
#include <string.h>
#include <arpa/inet.h>
#include <sys/time.h>
#include <event2/bufferevent.h>
#include <event2/buffer.h>
#include <event2/util.h>
#include <event2/event.h>
#include "log.h"
#include "header.h"
#include "proto.h"
#include "tunnel.h"
#include "... | [
"hjnhong@163.com"
] | hjnhong@163.com |
6b3db74d6591c6ad9d51f81ea95a03735da3ccf6 | d0b9a07078c61942e4286e5eea68223a7a2649e9 | /19584.cpp | b3943d6dcd513b48f355592dda2bd7eae0f2bc59 | [] | no_license | qjatn0120/BOJ_algorithm | 3b82e030bc56fdbcf68c726e1fb4764e8e1218cd | ab3c03342a206c1c2d89561fe9bb885ed98b1a4f | refs/heads/master | 2023-07-15T21:42:12.997079 | 2021-09-04T02:23:33 | 2021-09-04T02:23:33 | 287,887,189 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 659 | cpp | #include <bits/stdc++.h>
using namespace std;
const int MX = 2e5 + 5;
map <int, long long int> mp;
int N, M, x, y[MX], u, v, c;
int main(){
cin.tie(nullptr), ios::sync_with_stdio(false);
cin >> N >> M;
for(int i = 1; i <= N; i++) cin >> x >> y[i];
for(int i = 1; i <= M; i++){
cin >> u >> v >... | [
"69745946+qjatn0120@users.noreply.github.com"
] | 69745946+qjatn0120@users.noreply.github.com |
ab6c2d743c74bc62061683d8be9d7fd73dc53a4c | dd80a584130ef1a0333429ba76c1cee0eb40df73 | /external/chromium_org/chrome/browser/chromeos/drive/fake_file_system.h | 84e4d08cb7b92c4d4211a6db4621c708a230079c | [
"MIT",
"BSD-3-Clause"
] | permissive | karunmatharu/Android-4.4-Pay-by-Data | 466f4e169ede13c5835424c78e8c30ce58f885c1 | fcb778e92d4aad525ef7a995660580f948d40bc9 | refs/heads/master | 2021-03-24T13:33:01.721868 | 2017-02-18T17:48:49 | 2017-02-18T17:48:49 | 81,847,777 | 0 | 2 | MIT | 2020-03-09T00:02:12 | 2017-02-13T16:47:00 | null | UTF-8 | C++ | false | false | 8,916 | h | // Copyright (c) 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_CHROMEOS_DRIVE_FAKE_FILE_SYSTEM_H_
#define CHROME_BROWSER_CHROMEOS_DRIVE_FAKE_FILE_SYSTEM_H_
#include <string>
#include "base... | [
"karun.matharu@gmail.com"
] | karun.matharu@gmail.com |
e50d705e52e74e39197d78d9850aed507ef72e99 | f92340037348baef34d0d855655cfac1631ab890 | /entities/sophie.cpp | bab74ad1f295cfe11e55664ebb3b524f2efb6921 | [] | no_license | Templier/lastexpressengine | c177d5e79a91a24c751dcf42879720f14285d809 | 1a056ef7c1f52e2fdf53d31b727fc81ca604f586 | refs/heads/master | 2021-01-10T20:20:03.429910 | 2010-10-15T11:56:31 | 2010-10-15T11:56:31 | 32,111,343 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,005 | cpp | /* ScummVM - Graphic Adventure Engine
*
* ScummVM is the legal property of its developers, whose names
* are too numerous to list here. Please refer to the COPYRIGHT
* file distributed with this source distribution.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of ... | [
"Templier@users.noreply.github.com"
] | Templier@users.noreply.github.com |
6f6058e3c057c4d0a4ae655a35d062e7a3afd806 | 27e4266a72b010086fc540cf9c5dd8287acb6db4 | /GuideBot.si4project/Backup/motor(7115).cpp | 6be5f701535e8f4f25c1e14c322261aa0dfdb2d1 | [] | no_license | hans-zh/GuideBot | 121ecfea3155ea2cf482923deb419050fd9285e4 | e9e1be5fbea04aae35fef9c7405a31de54f5bb0d | refs/heads/master | 2020-06-03T07:06:27.266926 | 2019-06-18T02:46:23 | 2019-06-18T02:46:23 | 191,488,842 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,423 | cpp | #include "motor.h"
#include "main.h"
//#include "stm32f4xx_hal.h"
extern TIM_HandleTypeDef htim3;
// GPIO_TypeDef* MOTOR_PORT[MOTORn] = {RIKI_MOTOR1_GPIO_PORT, RIKI_MOTOR2_GPIO_PORT};
GPIO_TypeDef* MOTOR_PWM_PORT[MOTORn] = {RIKI_MOTOR1_PWM_PORT, RIKI_MOTOR2_PWM_PORT};
TIM_TypeDef* MOTOR_PWM_TIM[MOTORn] = {RIKI_MOTOR... | [
"jack.zh95@gmail.com"
] | jack.zh95@gmail.com |
83ae94cf27e9c8136dbeacec44e664e8203b086e | 2f181f4ed8f310b5273188f3ce87421299de16d7 | /Cwiczenia/Informatyka/Zadania/Nazwa tygodnia/main.cpp | 60aeb276fc31520fa87a189b1d04243f78cabb13 | [] | no_license | Wojtbart/CPP- | 394e32d92ae98da5be8e88c17e0b878696431b51 | d3ee318032336778f0008f37b1a5d0b4206faf75 | refs/heads/master | 2023-03-27T03:14:21.515522 | 2021-03-30T17:58:13 | 2021-03-30T17:58:13 | 353,093,243 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 581 | cpp | #include <iostream>
using namespace std;
string Dzien(int a)
{ if(a==1) return "Poniedzialek";
else if(a==2) return "Wtorek";
else if(a==3) return "Sroda";
else if(a==4) return "Czwartek";
else if(a==5) return "Piatek";
else if(a==6) return"Sobota";
else if(a==7) return... | [
"wsekowski@poczta.onet.pl"
] | wsekowski@poczta.onet.pl |
633a6864612d87b3a275b0e1dea19ac1e42e7937 | ff0cc7e931d038a9bd9a56665b20cd8dab071959 | /src/Apps/Plugins/MeshEditorPlugin/widgets/ToolsProcessorWidget/ptExtractMainSurfacePanelWidget.h | 79d1c7e4fbc89df905eb858ba8f851855e9e01e3 | [] | no_license | jakubsadura/Swiezy | 6ebf1637057c4dbb8fda5bfd3f57ef7eec92279b | bd32b7815b5c0206582916b62935ff49008ee371 | refs/heads/master | 2016-09-11T00:39:59.005668 | 2011-05-22T19:38:33 | 2011-05-22T19:38:33 | 1,784,754 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,668 | h | /*
* Copyright (c) 2009,
* Computational Image and Simulation Technologies in Biomedicine (CISTIB),
* Universitat Pompeu Fabra (UPF), Barcelona, Spain. All rights reserved.
* See license.txt file for details.
*/
#ifndef ptExtractMainSurfacePanelWidget_H
#define ptExtractMainSurfacePanelWidget_H
#include <wx/wx.h>
#in... | [
"spam@sadura.pl"
] | spam@sadura.pl |
4f4cd198e13c04df71b6d6045c546e5dbb1a11a9 | 2cda4cee70a7b676520dcacd25fb928e00f7f77b | /src/Server/onserver.h | 674564e00694b2783b7c6faa8c1a7bad02f2d37f | [] | no_license | GreenDamTan/priston | bbb23b6c9a10f8132f0534b48bd0e3c93c4320cb | 9c416f64332016ac3b040eecf8f31207719b8fbb | refs/heads/master | 2020-12-02T06:33:35.548117 | 2017-01-14T17:54:24 | 2017-01-14T17:54:24 | 96,853,442 | 1 | 1 | null | 2017-07-11T05:17:06 | 2017-07-11T05:17:06 | null | UHC | C++ | false | false | 16,667 | h | //PK가능한 레벨
#define LIMIT_PK_LEVEL 20 // pluto PK허용 필드 전부
#define AUTOPLAYER_MAX 2048
#define AUTOPLAYER_MASK 2047
//유료 아이템 기본 사용시간 설정
#define PRIME_ITEM_TIME_THIRDEYES (60*60*24)
#define PRIME_ITEM_TIME_EXPUP (60*60*24)
#define PRIME_ITEM_TIME_THIRDEYESx7 (60*60*24*7)
#define PRIME_ITEM_TIME_EXPUPx7 (60... | [
"renan.toledo@live.com"
] | renan.toledo@live.com |
809ba2127af80fd84af547b1b02f55ba9463d45f | e19ee192d6ab1100e3a4ac918b894b1d619b7b18 | /gdal-1.9.2/ogr/ogrsf_frmts/sqlite/ogrsqlitelayer.cpp | 89e29cde6b2537935749d13cfdf8834f4a3a58a2 | [
"LicenseRef-scancode-info-zip-2005-02",
"LicenseRef-scancode-warranty-disclaimer",
"MIT",
"LicenseRef-scancode-public-domain"
] | permissive | Magnarox/GDAL-1.9.2-WindowsBuild | 2fe0c5f702c536ce1c772b9502c3f450d13118de | 6940c104eca37c549571e9123faad39a6ac4995e | refs/heads/master | 2020-06-21T13:04:56.465843 | 2016-11-26T18:32:28 | 2016-11-26T18:32:28 | 74,786,828 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 94,862 | cpp | /******************************************************************************
* $Id: ogrsqlitelayer.cpp 23593 2011-12-18 14:02:09Z rouault $
*
* Project: OpenGIS Simple Features Reference Implementation
* Purpose: Implements OGRSQLiteLayer class, code shared between
* the direct table access, and th... | [
"thevinc@gmx.fr"
] | thevinc@gmx.fr |
deb7cfbe079f10cd346a2b9c81766a0a5a86a288 | e396ca3e9140c8a1f43c2505af6f318d40a7db1d | /unittest/logic_test/HA762_HasComeEarlierThan_SameZone2.cpp | 9d9f2e010c3a2e1982b3821af1eff6bdfe968c57 | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | kenji-hosokawa/rba | 4fb2c8ef84c5b8bf2d80785986abd299c9e76203 | 52a88df64dcfec8165aea32cb3052e7e74a3a709 | refs/heads/master | 2022-12-17T10:23:05.558421 | 2020-07-29T11:03:27 | 2020-07-29T11:03:27 | 274,852,993 | 0 | 0 | null | 2020-06-25T07:19:19 | 2020-06-25T07:19:19 | null | UTF-8 | C++ | false | false | 11,326 | cpp | // Copyright (c) 2019 DENSO CORPORATION. All rights reserved.
/**
* HA762_HasComeEarlierThan_SameZone2.cpp
*/
#include <vector>
#include <string>
#include "RBAJsonParser.hpp"
#include "TestCommon.hpp"
#include "HA762_HasComeEarlierThan_SameZone2.hpp"
namespace {
using namespace rba;
HA762_HasComeEarlierThan_SameZ... | [
"nnishiguchi@jp.adit-jv.com"
] | nnishiguchi@jp.adit-jv.com |
679dd5fc9ee642ba9bfbc4c5ad4489db91f67033 | 89bc274c951480d5d728294dcbabd9d11b5f00ec | /framework/tests/JPetParamUtilsTest/JPetParamUtilsTest.cpp | 33de89c1a54c1a42a1db01aa85c155cafae78181 | [
"MIT"
] | permissive | wictus/oldScopeAnalysis | f73c680e48155cfeba75a0ca99a578d60471f823 | e8a15f11c504c1a1a880d4a5096cdbfac0edf2de | refs/heads/master | 2020-07-19T07:26:11.618505 | 2019-09-04T20:02:42 | 2019-09-04T20:02:42 | 206,401,149 | 0 | 0 | MIT | 2019-09-04T20:02:43 | 2019-09-04T19:50:15 | null | UTF-8 | C++ | false | false | 456 | cpp | #define BOOST_TEST_DYN_LINK
#define BOOST_TEST_MODULE JPetParamUtilsTest
#include <boost/test/unit_test.hpp>
#define private public
#include "../../JPetParamUtils/JPetParamUtils.h"
BOOST_AUTO_TEST_SUITE(FirstSuite)
BOOST_AUTO_TEST_CASE( default_not_related_slots )
{
/*JPetBarrelSlot slot1;
JPetBarrelSlot slot2;
... | [
"wictusn@gmail.com"
] | wictusn@gmail.com |
cfc0193007bd833c6f2b6cbb8def622d249b479b | 45f5af0dc714685377c5a0252dc428488ee10de6 | /enet_server_test_14.cpp | 5e677dbe6561f0cbcdc8694b50618fcf686c3784 | [] | no_license | JustPandaEver/growtopia-private-servers-cpp | 1397454af1a969094169be8730460d72a70300ba | 6e84c2562b2552f6e7f79f6a86167b709f339e4a | refs/heads/main | 2023-03-21T19:44:39.556364 | 2021-03-15T19:06:06 | 2021-03-15T19:06:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 617,668 | cpp | /**********************************************************************************
First Growtopia Private Server made with ENet.
Copyright (C) 2018 Growtopia Noobs
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published
by the Fr... | [
"nerzater@gmail.com"
] | nerzater@gmail.com |
7c6c8895878ca351463995f4722588cc5cd922ce | ba96d7f21540bd7504e61954f01a6d77f88dea6f | /build/Android/Debug/app/src/main/jni/_root.Häsläämispäiväk-c0239f3e.cpp | fd57bd197c14d573353ac4238f7e7c5e049fbe2a | [] | no_license | GetSomefi/haslaamispaivakirja | 096ff35fe55e3155293e0030c91b4bbeafd512c7 | 9ba6766987da4af3b662e33835231b5b88a452b3 | refs/heads/master | 2020-03-21T19:54:24.148074 | 2018-11-09T06:44:18 | 2018-11-09T06:44:18 | 138,976,977 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,522 | cpp | // This file was generated based on '/Users/petervirtanen/OneDrive/Fuse projektit/Häsläämispäiväkirja/.uno/ux13/Häsläämispäiväkirja.unoproj.g.uno'.
// WARNING: Changes might be lost if you edit this file directly.
#include <_root.Häsläämispäiväk-c0239f3e.h>
#include <Fuse.Animations.Change-1.h>
#include <Uno.UX.IPrope... | [
"peyte.com@gmail.com"
] | peyte.com@gmail.com |
43e0dce94beb800489b3f1a3b839eb04e2de12bd | 553ab888ca621ee90e42caeb6821046a7db9bfaa | /blockware/fireworks/lib/Particle/Particle.h | b5f592d6369df98f15616516b1434396ecada891 | [
"MIT"
] | permissive | jlupien/blocks-with-screens | 3c1f50e1a372554f0c6824f33267693f13cf2a72 | 94c9766edd83aee437e2c26e129d34dae6721bda | refs/heads/main | 2023-09-04T16:32:46.680082 | 2021-11-24T03:31:33 | 2021-11-24T03:31:33 | 431,311,348 | 0 | 0 | MIT | 2021-11-24T01:40:48 | 2021-11-24T01:40:48 | null | UTF-8 | C++ | false | false | 1,312 | h | #include <Adafruit_SSD1351.h>
#include <Vec2d.h>
#include <Colors.h>
#include <vector>
#ifndef PI
#define PI 3.14159
#endif
const float TAU = PI * 2;
const float GRAVITY = 0.07;
const int MAX_HEIGHT = floor(0.1 * 128);
const int MIN_X = floor(0.1 * 128);
const int MIN_HEIGHT = floor(0.7 * 128);
const int MAX_X = flo... | [
"jeremie.castagna@gmail.com"
] | jeremie.castagna@gmail.com |
e57c31897b536a3d6df8dcea9c012af06cabb4a2 | a3d6556180e74af7b555f8d47d3fea55b94bcbda | /services/network/public/cpp/file_enumeration_entry_mojom_traits.cc | e6b1d71cd72a39cc177f69b81f6275c1346a3781 | [
"BSD-3-Clause"
] | permissive | chromium/chromium | aaa9eda10115b50b0616d2f1aed5ef35d1d779d6 | a401d6cf4f7bf0e2d2e964c512ebb923c3d8832c | refs/heads/main | 2023-08-24T00:35:12.585945 | 2023-08-23T22:01:11 | 2023-08-23T22:01:11 | 120,360,765 | 17,408 | 7,102 | BSD-3-Clause | 2023-09-10T23:44:27 | 2018-02-05T20:55:32 | null | UTF-8 | C++ | false | false | 971 | cc | // Copyright 2022 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "services/network/public/cpp/file_enumeration_entry_mojom_traits.h"
#include "base/files/file_path.h"
#include "base/time/time.h"
namespace mojo {
bool StructTraits... | [
"chromium-scoped@luci-project-accounts.iam.gserviceaccount.com"
] | chromium-scoped@luci-project-accounts.iam.gserviceaccount.com |
87b2001313b1299280a5efc85d334a6643614c57 | 634051ec09fc445c706fa5f7e8eddc1cb05c4a31 | /Common/BlockLock.h | c4417c22edb3bf2b5af7d5ad54df8e57ef6f9719 | [
"MIT"
] | permissive | abt8WG/EDCB | 001a651d1ad40f9f8380a152f0c181b4a4907df5 | 669262b158a25e1c84443ff00597fc981fa78aa6 | refs/heads/master | 2021-01-16T17:09:28.016698 | 2016-10-10T17:18:36 | 2016-10-10T17:20:32 | 11,049,580 | 14 | 9 | null | 2016-07-12T12:52:49 | 2013-06-29T09:07:33 | C++ | UTF-8 | C++ | false | false | 220 | h | #pragma once
class CBlockLock
{
public:
CBlockLock(CRITICAL_SECTION* lock_) : lock(lock_) { EnterCriticalSection(lock); }
~CBlockLock() { LeaveCriticalSection(lock); }
private:
CRITICAL_SECTION* lock;
};
| [
"xt4ubq@gmail.com"
] | xt4ubq@gmail.com |
8989711990158dbfec25ccea4773a13ff4eedc0a | 25f15e5aaa102eae5280a0d5de4bee1b4578e22a | /eecs268/KnightsTour/Board.cpp | d5648edd26574dc587e126a7c8d62767fa05f3a8 | [] | no_license | sharynneazhar/coursework | 4c1ea27026b83b599fcbea2e51dcbfbf44b99794 | da4840f1352017a62897f61a1823905e1d9103b6 | refs/heads/master | 2021-03-27T16:48:52.495058 | 2018-05-11T02:50:04 | 2018-05-11T02:50:04 | 44,264,439 | 1 | 1 | null | 2016-02-05T03:32:16 | 2015-10-14T17:25:59 | C++ | UTF-8 | C++ | false | false | 2,072 | cpp | /**
* @file : Board.cpp
* @author : Sharynne Azhar
* @date : 03-07-2016
* Purpose: Implementation file for the Board class
*/
#include "Board.h"
Board::Board(int rows, int cols, int startRow, int startCol) {
boardRows = rows;
boardCols = cols;
knightStartingRow = startRow;
knightStartingCol = startCol... | [
"sharynneazhar@gmail.com"
] | sharynneazhar@gmail.com |
eed29a332454e8f8253e445e10239e62ee7e5f0f | d932716790743d0e2ae7db7218fa6d24f9bc85dc | /services/video_capture/service_impl.cc | 16bfa06d59cbce36495bfcfca0450958c9417d36 | [
"BSD-3-Clause"
] | permissive | vade/chromium | c43f0c92fdede38e8a9b858abd4fd7c2bb679d9c | 35c8a0b1c1a76210ae000a946a17d8979b7d81eb | refs/heads/Syphon | 2023-02-28T00:10:11.977720 | 2017-05-24T16:38:21 | 2017-05-24T16:38:21 | 80,049,719 | 19 | 3 | null | 2017-05-24T19:05:34 | 2017-01-25T19:31:53 | null | UTF-8 | C++ | false | false | 3,046 | cc | // Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "services/video_capture/service_impl.h"
#include "mojo/public/cpp/bindings/strong_binding.h"
#include "services/service_manager/public/cpp/servi... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
a0eaf03d91ff9717d8532576ace495fab1c07fbd | f8e473cfde05425d873e8138f854c248f95701ee | /CPP-02/ex00/Fixed.cpp | 3ef89ab5232ff7758added8f7e3fa8a95c86a9cf | [] | no_license | Ourobore/CPP-Modules | cc29150d1c1dc8808c6d62d3c44190ce91ae0b80 | a15c25dd3407c5ccdb7d67654e2009534c36d891 | refs/heads/master | 2023-07-15T18:35:59.999433 | 2021-08-25T08:50:59 | 2021-08-25T08:50:59 | 377,454,565 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,632 | cpp | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* Fixed.cpp :+: :+: :+: ... | [
"chaprenet.loic@gmail.com"
] | chaprenet.loic@gmail.com |
a3c7e963119c5f00286fad2745518e76642044b8 | 2c7fce246f7034877667e00d597adfbea51315ff | /tools/ZAPD/ZAPD/ZBackground.h | 55cbf2b6132d2fad324e0466f4bb7b37f29ccc0e | [
"MIT"
] | permissive | NEstelami/oot | b6387861ed8051055aa406674cf6c02973ca7253 | 82545640ed043c5fcc4b5baf467d5c9e94212c91 | refs/heads/master | 2021-07-18T22:01:44.442811 | 2021-04-30T07:17:48 | 2021-04-30T07:17:48 | 247,888,477 | 1 | 1 | null | 2020-03-17T06:11:27 | 2020-03-17T05:40:12 | null | UTF-8 | C++ | false | false | 1,173 | h | #pragma once
#include <cstdint>
#include <vector>
#include "ZResource.h"
class ZBackground : public ZResource
{
protected:
std::vector<uint8_t> data;
public:
ZBackground(ZFile* nParent);
ZBackground(const std::string& prefix, const std::vector<uint8_t>& nRawData,
uint32_t nRawDataIndex, ZFile* nParen... | [
"7463599+Jack-Walker@users.noreply.github.com"
] | 7463599+Jack-Walker@users.noreply.github.com |
89d3188541a09beefd4e9d8afd6419b9e97b69e5 | bebf852872cd832cbe54dc46ea75240dc6c4d9b9 | /src/runtime/runtime-wasm.cc | cd7ffaaa0167b04aa7691cecf6e2602b7665408b | [
"SunPro",
"BSD-3-Clause",
"bzip2-1.0.6"
] | permissive | janet-cat/v8 | 487fc16e32311b86551f8bf2d134c82659ad44d4 | 4af7efc1bc9211164be1e12dfede122b6cd7ff93 | refs/heads/master | 2021-04-12T04:25:29.380254 | 2018-03-19T15:44:12 | 2018-03-19T16:52:54 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,267 | cc | // Copyright 2016 the V8 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.
#include "src/runtime/runtime-utils.h"
#include "src/arguments.h"
#include "src/assembler.h"
#include "src/compiler/wasm-compiler.h"
#include "src/conv... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
2bbabb1cfb11ffa74268add8e855e45e27234397 | 19106d5f532c3b0d5b22c527d5c9cab89bad9251 | /Projects/Wizards/CApp_OnRender.cpp | 1de0b9e69d38d6f0dc11b93cfa6f5532ce085229 | [] | no_license | jsinclair/GameDev | 74a9768a512aec5d054b95a4f10df481e0cf5efb | 6ccbd49c6789e80f349abca0a3f96d76bae09632 | refs/heads/master | 2021-09-08T16:12:05.030782 | 2021-09-01T07:27:46 | 2021-09-01T07:27:46 | 32,154,580 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 415 | cpp | #include "CApp.h"
void CApp::OnRender() {
window->clear();
CTexture::OnDraw(window, testTexture, 0, 0);
CArea::AreaControl.OnRender(window, -CCamera::CameraControl.GetX(), -CCamera::CameraControl.GetY());
for(unsigned int i = 0;i < CEntity::EntityList.size();i++) {
if(!CEntity::EntityList[i]... | [
"james@mytcg.net"
] | james@mytcg.net |
530225a4285de50bfaaa07e332814263a9337db6 | a7149ba45fba900aab110ec851ba9e38174e2834 | /src/create_network.cc | 8a240c1bf412e88285ee31f3039f2a042ea97ba8 | [] | no_license | danielbaud/NeuralNetwork | 4090372c458adfcae1f5ea569208f46d64b88290 | 5a0463db13c15efea6f7ff521c7a772e2a508d1a | refs/heads/master | 2020-06-19T15:42:28.296720 | 2019-07-13T21:47:34 | 2019-07-13T21:47:34 | 196,768,688 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,478 | cc | #include "network/network.hh"
#include <csignal>
#define ERROR 0.01
static bool stop = false;
void sig(int signal)
{
if (signal == SIGINT)
std::cout << "\nProgram received SIGINT";
if (signal == SIGTSTP)
std::cout << "\nProgram received SIGTSTP";
stop = true;
}
void print(std::vector<std::vector<double... | [
"daniel.baud@epita.fr"
] | daniel.baud@epita.fr |
2553943ac416806d48cc55441678b6d744b4b650 | 75e4215ee67badf9e6b0ab35410c97817a25d558 | /dom_carnet/main.cpp | 98b37ff59bbcec98904e9c2ed932550162add47d | [] | no_license | danielduri/ED2021 | 8a380ac9da1867f67c2a4c94d648057673c4ad3a | fe9b25947143036b6363fd6fd83ed9ae01f2a6c0 | refs/heads/master | 2023-06-01T03:42:51.035980 | 2021-06-15T23:14:43 | 2021-06-15T23:14:43 | 375,764,315 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,033 | cpp | #include <iostream>
#include <stdexcept>
#include <fstream>
#include <vector>
#include <map>
#include <unordered_map>
//DANIEL DURÁN RIVERO y JULIÁN ENCINAS FUENTES
//C37 y C38
using namespace std;
using dni=string;
using puntos=int;
class carnet_puntos {
private:
unordered_map<dni, puntos> puntosConductores;
... | [
"danielduri@gmail.com"
] | danielduri@gmail.com |
e95ceba04557518fe553e16d878b999b35ee4fbc | 1622007cdb2e00f709b425949e8fb2664fe21760 | /implementation/ListNode.cpp | 1e094f9523ed795945a2cbbc5a299acf4a9a2d79 | [] | no_license | michaellimair/DataStructures | efaa33377fedf0a887729d9cd0659f0f6adad09a | 4a9f5a69c8e9b928648ef14ecf39a49bcb4449d7 | refs/heads/master | 2020-08-31T23:00:33.259829 | 2019-11-03T17:12:46 | 2019-11-03T17:12:46 | 218,807,741 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 370 | cpp | #pragma once
#include "ListNode.h"
ListNode::ListNode(int data, ListNode *next = NULL) {
this->data = data;
this->next = next;
};
ListNode* ListNode::get_Next() {
return next;
};
int ListNode::getData() {
return data;
}
void ListNode::set(int data) {
this->data = data;
}
void ListNode::set_Next... | [
"michaellimbong@gmail.com"
] | michaellimbong@gmail.com |
73d902b9783eea30fb1e82ec3d3ade703a04b798 | 807a97a8137b9cb99a56a9756e1b7e47acf99361 | /FCCmdImgCmdComposite.cpp | b255249623dd10c23f5d169ed33178de44a549f7 | [] | no_license | lupnfer/camc | f54a11b9545c46467aee82a3151107eb57ff2b5a | baf09c4d8a81fdbc2d9362aab384b4d71bf924de | refs/heads/master | 2021-01-10T07:42:09.063247 | 2013-03-05T03:08:15 | 2013-03-05T03:08:15 | null | 0 | 0 | null | null | null | null | ISO-8859-7 | C++ | false | false | 973 | cpp | #include "StdAfx.h"
#include ".\fccmdimgcmdcomposite.h"
#include "ObjCanvas.h"
#include "ObjProgress.h"
#include "FColor.h"
//=================================================================================
// ΧιΊΟΚύΈφΓόΑξ/composite image effect command
FCCmdImgCmdComposite::~FCCmdImgCmdComposite()
{
while (!m_cmdLi... | [
"lupnfer@yahoo.com.cn"
] | lupnfer@yahoo.com.cn |
b6c4869e420e5601ae02877a5722b718efe7b3dc | dc6287d15bc412512e34e50a61bb10dede894543 | /vkconfig/active_layers_widget.h | b4e5fa717db7387b060836f34ccc84c778e9da4a | [
"Apache-2.0"
] | permissive | luopan007/VulkanTools | cac05bc61dceafade6f3d03bd4e4137c2a427732 | 76472f01602854164bf07b83875bd659307656db | refs/heads/master | 2022-11-14T12:24:00.510261 | 2020-07-08T08:38:24 | 2020-07-08T08:38:24 | 278,025,020 | 0 | 0 | NOASSERTION | 2020-07-08T07:48:18 | 2020-07-08T07:48:18 | null | UTF-8 | C++ | false | false | 2,710 | h | /*
* Copyright (c) 2018-2019 Valve Corporation
* Copyright (c) 2018-2019 LunarG, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0... | [
"lenny@lunarg.com"
] | lenny@lunarg.com |
64f3b0ca15db26a859bce7177e8bb625541a8467 | 76d1f120ad28306fe0a6635d43ff1e1df7e4aa45 | /programs/blink/src/drivers/adc.h | 500d6411ce6c2b531db2f4d420f07243df6e0522 | [
"MIT"
] | permissive | lst555/touch-keyboard-sequencer | 1daa7ef214fbe426f884c64636b66a2d5f07ed4a | 533e8005f1eeecbdfe343a7e8ea156c7d0c4ba53 | refs/heads/master | 2023-06-08T20:08:10.815757 | 2019-08-17T15:28:38 | 2019-08-17T15:28:38 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,299 | h | #ifndef LST_DRIVERS_ADC_H_
#define LST_DRIVERS_ADC_H_
#include <avr/io.h>
#include <avr/interrupt.h>
#include <lib.h>
namespace lst {
const uint8_t kNumMuxChannels = 8;
enum AdcChannel {
ADC_MULTIPLEX_1 = 0,
ADC_CHANNEL_LAST
};
class Adc {
public:
Adc() { }
~Adc() { }
void Init();
void Read();
in... | [
"lievenstockx@hotmail.com"
] | lievenstockx@hotmail.com |
837550ce0bf22a7c7ae81faac5ff01edaa45c196 | ee1a1eb207a53de1e744380e1480e8744542645f | /threads/time.cpp | c42a308355cf595ebd5c3c4c87c0cdb66a2e98fb | [] | no_license | lg6s/game | c4f56fe792095290c198c15e5b0c5e6dea3b450f | 269d60bcffcced6a89e5a3a7c1b67431cf19696b | refs/heads/master | 2022-02-08T03:13:33.879709 | 2013-12-07T23:34:02 | 2013-12-07T23:34:02 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 720 | cpp | #include "time.h"
#include <ctime>
#include <cstdint>
#ifdef __WIN32
#include <windows.h>
#endif
#ifdef __ANDROID__
#include <unistd.h>
#endif
#include <time.h>
uint64_t Time::tickCount() {
uint64_t c = clock();
c = 1000*c/CLOCKS_PER_SEC;
return c;
#ifdef __WIN32
return GetTickCount();
#else
timespec ts;
... | [
"try9998@gmail.com"
] | try9998@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.