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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
f629b836bc23e2334c4a7731640f4a4fc3bf6005 | 44e1b05230ca2ac819b1fd2b3e382576019261bc | /domain/portable_card_stack.h | 8e58589f1c97a1b3341e6fe15ac0294d8b127a9f | [] | no_license | vyacheslav-borisov/spider | c025f213210a3e853767c4a6b5ead524df9af07e | 5d9fb6519f2a263e7c38fd7cff456383e7d3601e | refs/heads/master | 2021-05-11T23:35:06.646977 | 2018-01-15T07:58:00 | 2018-01-15T07:58:00 | 117,515,255 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,044 | h | #ifndef PEGAS_FAKESPIDER_PORTABLE_CARD_STACK_H
#define PEGAS_FAKESPIDER_PORTABLE_CARD_STACK_H
#pragma once
#pragma warning(disable : 4355)
namespace Pegas
{
class PortableCardStack: public GameObject, public IMovable, public Singleton<PortableCardStack>
{
public:
PortableCardStack(GameBoard& gameBoard);
virt... | [
"vyacheslav.borisov@playrix.com"
] | vyacheslav.borisov@playrix.com |
e2bfb44809022f7e6a1ba7bb08c1edeb903cf704 | 460455e7990de7257aa223a58e73069f3ef7ff43 | /src/server/scripts/Kalimdor/CavernsOfTime/WellofEternity/well_of_eternity_teleport.cpp | f8ce8459ce3ac2c5af8f00da828cc37d46e6b50c | [] | no_license | Shkipper/wmane | 2ce69adea1eedf866921c857cbc5bd1bc6d037f0 | 2da37e1e758f17b61efb6aae8fa7343b234f3dcd | refs/heads/master | 2020-04-24T19:51:51.897587 | 2019-02-25T06:14:18 | 2019-02-25T06:14:18 | 172,225,859 | 0 | 0 | null | 2019-02-23T14:49:31 | 2019-02-23T14:49:31 | null | UTF-8 | C++ | false | false | 3,008 | cpp | #include "ScriptPCH.h"
#include "well_of_eternity.h"
#include "GameObjectAI.h"
enum Spells
{
SPELL_TELEPORT_TO_START = 107934,
SPELL_TELEPORT_TO_AZSHARA_PALACE = 107979,
SPELL_TELEPORT_TO_WELL_OF_ETERNITY = 107691,
};
enum InstanceTeleporter
{
START_TELEPORT = 1,... | [
"felianther15@gmail.com"
] | felianther15@gmail.com |
822548ff67e57c335b62547755f86da6354bd5da | 03a47d14fc4c8ee461ba139fd22d2be589984ef0 | /source/compiler_tests/test14.cpp | e2cfadcf9604d07cd394dfd8d0640e2b9c2515b3 | [
"Zlib"
] | permissive | brittonsmith/c10.00-b | b6cd0058e1f37cf6e53863206f7c2bd73d5970a7 | e34b9a91941aab6eb2e5d4a6c76fa2d479f0abc7 | refs/heads/master | 2020-09-18T20:55:25.193631 | 2019-12-04T11:02:36 | 2019-12-04T11:02:36 | 224,183,983 | 0 | 1 | NOASSERTION | 2019-12-04T11:02:38 | 2019-11-26T12:10:06 | C++ | UTF-8 | C++ | false | false | 104 | cpp | #include "cddefines.h"
void test(multi_arr<long,3>& arr)
{
ml3ci p = arr.ptr(0,0,3);
(p--)[2] = 1;
}
| [
"gary@e66ded4d-7403-0c46-9ef1-c4afbd745067"
] | gary@e66ded4d-7403-0c46-9ef1-c4afbd745067 |
58fcee175b92bc2872462a4942c4265cf479c1ec | 9e20225f00fc59cd65962e56f5e0ed80aa948fbf | /6sem/Interfaces/ILogger.h | 2d9c5548aafc779e5b42f20fec376f646aefb0de | [] | no_license | GareevaMilena/Applied-Math | fc22885d0bd8b30dea91d81394f52393371de52c | 09e4e2b7fa79175a6579160ff135936fb54d1c9d | refs/heads/master | 2022-04-08T11:51:44.876680 | 2020-03-25T17:29:03 | 2020-03-25T17:29:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 484 | h | #ifndef ILOGGER_H
#define ILOGGER_H
#include "RC.h"
class ILogger {
public:
static ILogger* createLogger(void* pClient);
virtual void destroyLogger(void* pClient);
virtual void log(char const* pMsg, enum RESULT_CODE err) = 0;
virtual RESULT_CODE setLogFile(char const* pLogFile) = 0;
protected:
virtual ~ILog... | [
"elchin.kerimov.99@gmail.com"
] | elchin.kerimov.99@gmail.com |
fb95ec2c8e006503aa5b954ca8869aa72cd6ff46 | 600df3590cce1fe49b9a96e9ca5b5242884a2a70 | /components/password_manager/core/browser/form_fetcher_impl_unittest.cc | 7876c0179a0da763ab1daab4203c7aca975771ac | [
"BSD-3-Clause"
] | permissive | metux/chromium-suckless | efd087ba4f4070a6caac5bfbfb0f7a4e2f3c438a | 72a05af97787001756bae2511b7985e61498c965 | refs/heads/orig | 2022-12-04T23:53:58.681218 | 2017-04-30T10:59:06 | 2017-04-30T23:35:58 | 89,884,931 | 5 | 3 | BSD-3-Clause | 2022-11-23T20:52:53 | 2017-05-01T00:09:08 | null | UTF-8 | C++ | false | false | 9,502 | 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 "components/password_manager/core/browser/form_fetcher_impl.h"
#include <algorithm>
#include <memory>
#include <utility>
#include <vector>
#inc... | [
"enrico.weigelt@gr13.net"
] | enrico.weigelt@gr13.net |
a54604c6c7130f453ce85b2217882c00cf812117 | 3f84e550f46760e67330b9d1c24a62b5cae3c7eb | /12592440 - A2/laser.cpp | 95a9b5c5e54a663a0aa58ca6045402e185e41be6 | [] | no_license | esteban-andrade/projects | 58f303a6901b5eba340ca8c856eaea8ddd633f63 | b569f241b6dd1302811cce91407df7ac54a9ffa5 | refs/heads/master | 2020-07-03T11:59:43.915046 | 2020-05-15T02:58:18 | 2020-05-15T02:58:18 | 201,897,707 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 466 | cpp | #include <random>
#include <iostream>
#include "ranger.h"
#include "laser.h"
const int laserOffset_ = 0; //Orientation offset
const double laserMaxDistance_ = 8.0;
const double laserMinDistance_ = 0.2;
const int laserFOV_ = 180; //Field Of View
const int laserAngleRes_ = 10;
const int laserNumSamples_ = laserFOV_/las... | [
"esgaanza98@gmail.com"
] | esgaanza98@gmail.com |
f966a57957909115161e6cd37c0d1c3e29a1a6f2 | f81dff225fc22b325bf2a33f36981f473b6ae379 | /LeetCode/C++/3-Longest Substring Without Repeating Characters.cpp | 48de00e245280c462ea441d43e8ce2286f88855b | [] | no_license | PoundKey/Algorithms | 12d3656bbf4e896f26d6e062c795cbcd269a7074 | f975d3592211a6c5d18b7fa1746782c9ef3fd8b4 | refs/heads/master | 2021-07-06T14:05:46.115955 | 2021-05-23T01:01:13 | 2021-05-23T01:01:13 | 27,214,175 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,510 | cpp | // Thoughts: V1, using a hashmap to track existing characters and their position.
// mark down the last appearance of the same character.
// last varible + 1 indicates the start index of "GOOD" part. (inclusive)
class Solution {
public:
int lengthOfLongestSubstring(string s) {
unordered_map<char, int> dic... | [
"xuecnt@hotmail.com"
] | xuecnt@hotmail.com |
af5431d8e13975752e5b867ba8cddb9803c9c359 | 47987ca4269f18672e0c68a79a7d3df386e1693b | /268_(ChuaXong).cpp | b4c8a54bceeb6655a3b6bf6c7d89810fca31d124 | [] | no_license | thienchidh/ListBaiTapCoBan_C-_-_DeBai | a072ca8c87b7648de342bee92b9e7d4cc8de1839 | d26d111945ce88a44f7b854f3a4d6a4c350bd769 | refs/heads/master | 2020-03-29T22:14:44.293698 | 2018-11-05T14:15:35 | 2018-11-05T14:15:35 | 150,410,694 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 182 | cpp | /* Bài 268: Hãy tạo mảng b từ mảng a các giá trị 0, 1 để mảng có tính chẵn lẻ */
#include<bits/stdc++.h>
using namespace std;
int main() {
return 0;
}
| [
"thienchidh@gmail.com"
] | thienchidh@gmail.com |
128823720f9fb548c30485242493b108d1841c45 | 6dbb07f669bed14a9f22abfb8153c18429f906cb | /src/chainparamsbase.cpp | a310ce8349e721c2ea6d53bbc350552502306e09 | [
"MIT"
] | permissive | EcoPayCoin/ecopay | c5f2a0e245ea5bd9bda782dfd697f6cfbe2463df | 968900db433db55bda745c22bcc0a516569272e4 | refs/heads/master | 2020-03-28T13:10:52.008536 | 2018-09-11T20:01:00 | 2018-09-11T20:01:00 | 148,372,545 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,779 | cpp | // Copyright (c) 2010 Satoshi Nakamoto
// Copyright (c) 2009-2014 The Bitcoin developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "chainparamsbase.h"
#include "util.h"
#include <assert.h>
#include <boost/assig... | [
"ecopaycoin@gmail.com"
] | ecopaycoin@gmail.com |
03832ef71e820beb69dbec2920001155a9b454a0 | cdd4900fa7a80581807aeaa8fdb300ec70f84004 | /gendata/genData.cpp | b762bd19b9dcd945f520e8eb9f35220bb7a7041c | [] | no_license | dacdodinh99/planning_optimization_course_project | b699d7196cbe4813fbadabb9472ac80c327cb010 | 93a70e452a3fb8e1e286e916beeda13ee1a2bba8 | refs/heads/master | 2023-02-10T08:15:46.256368 | 2020-12-30T07:44:05 | 2020-12-30T07:44:05 | 321,336,690 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 770 | cpp | #include <bits/stdc++.h>
using namespace std;
mt19937_64 rng(chrono::steady_clock::now().time_since_epoch().count()); // or mt19937 for int
long long Rand(long long l, long long r) {
if (r < l) return 0;
return l + rng() % (r - l + 1);
}
int main() {
for (int n = 10; n <= 50; n += 10) {
for (int ... | [
"dacdodinh99@gmail.com"
] | dacdodinh99@gmail.com |
42b6a587934bd68c1e5ad06f15a3de3de441f9c8 | 38a43de7e64ab157a4b45a1394d4fcfeed1fd8dc | /os/sunaptos_bak/bak/sunaptos_38_minimal_include_rules_applied/src/_system/dynamiclibraryloader.cpp | ed29ddd158740b02b13fe1056d7b1f05b8dff72b | [
"MIT"
] | permissive | massimilianonardi/m | c9fdb21e32f083fae868366ac6d22ab0f3ecedfd | 93f6216ecc8e20de44561e95c6f760d0098a2c5c | refs/heads/master | 2022-08-08T20:11:45.570549 | 2022-07-11T22:16:38 | 2022-07-11T22:16:38 | 215,794,121 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,275 | cpp | #include "dynamiclibraryloader.h"
#include <string>
#ifdef WIN32
#include <windows.h>
#elif defined LINUX
#include <dlfcn.h>
#else
#endif
DynamicLibraryLoader::DynamicLibraryLoader(char* name)
{
#ifdef WIN32
// hinst = LoadLibrary(strcat(name, "."));
hinst = LoadLibrary((std::string(name) + ".").c_str());
#elif d... | [
"massimiliano.nardi@gmail.com"
] | massimiliano.nardi@gmail.com |
6cf9ff0648defd45925562ab92b5853f62ea1446 | 677c06aa5352e4087b0882050e0c1288378744ef | /Yoga.Native/HObjectEntry.h | 6fb7e27432759572ede82178f536f2a87ada0079 | [] | no_license | AragornWei/HRG_JieKe_FRJ_VisionMix_X64 | 7aeb04037e71e45b84f2610a4d659f3b927aad53 | f01b84305c2e1409737ac2628db4986b7d46ad80 | refs/heads/master | 2023-03-21T17:14:41.146662 | 2021-03-11T03:43:47 | 2021-03-11T03:43:47 | 346,602,444 | 2 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 548 | h | #pragma once
#include "qstring.h"
#include "HalconCpp.h"
#include "HWndMessage.h"
#include <QVariantHash>
#include<QHash>
using namespace std;
class HObjectEntry
{
public:
HObjectEntry(const HalconCpp::HObject &obj, const QHash<QString, HalconCpp::HTuple> &gc);
HObjectEntry(const HWndMessage &message);
~HObjectEntry... | [
"929356037@qq.com"
] | 929356037@qq.com |
585aa26df5d38610f64ccf3054f72a94aceb1ca0 | 0bd191ade88476365103d5bcd1257519c185a757 | /3-17/4-16/4-16/Udp_client.cc | 52a844f03a6d9913b76d63e24fedb0b9ae114198 | [] | no_license | UchihaMadara1/C- | 9d5981690f898a0b556bc6799d62a375072d09b8 | 82e38da355fc3752e81c4a66a696a52952ad54b0 | refs/heads/master | 2021-03-02T02:03:22.837073 | 2020-04-25T15:51:55 | 2020-04-25T15:51:55 | 245,828,922 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 302 | cc | #define _CRT_SECURE_NO_WARNINGS
#include "Udp_client.hpp"
void Usage(std::string _proc)
{
std::cout << _proc << " " << "server_ip server_port " << std::endl;
}
// ./Udp_client server_ip server_port
int main(int argc, char* argv[])
{
if (argc != 3)
{
Usage(argv[0]);
exit(1);
}
return 0;
}
| [
"2898831413@qq.com"
] | 2898831413@qq.com |
0b0d8199acc0dbb361f22b65a0f3ce2494806d28 | 475d7edc1983327b468a8f6d1ef3c6ad0f49c890 | /SET1/box/box/box.h | c656a0cc5a73ecb8c5aec874084303f2b39c3bfa | [] | no_license | 99002657/SET_1 | a8b8b17bde06b9a5c541d5c572275fe378f187ec | 7156c759c936ec6c5d12dd791698d2b106cbecd3 | refs/heads/master | 2022-12-19T23:56:26.124360 | 2020-09-19T07:15:00 | 2020-09-19T07:15:00 | 296,802,903 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 296 | h | #include<iostream>
class Box
{
private:
int m_length;
int m_height;
int m_breadth;
public:
Box();
Box(int,int,int);
Box(int);
Box(const Box &);
int getbreadth();
int getheight ();
int getlength();
int volume();
void display();
};
| [
"noreply@github.com"
] | 99002657.noreply@github.com |
b37cf9daf00fdf7183a1ee9724b06f6c19a4ab1d | b22588340d7925b614a735bbbde1b351ad657ffc | /athena/Simulation/FastShower/FastCaloSim/FastCaloSim/FastSimCell.h | 67310e008f28eb6e2861f51ec3d041d24ef33098 | [] | no_license | rushioda/PIXELVALID_athena | 90befe12042c1249cbb3655dde1428bb9b9a42ce | 22df23187ef85e9c3120122c8375ea0e7d8ea440 | refs/heads/master | 2020-12-14T22:01:15.365949 | 2020-01-19T03:59:35 | 2020-01-19T03:59:35 | 234,836,993 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 813 | h | /*
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
*/
#ifndef FASTSIMCELL_H
#define FASTSIMCELL_H
#include "CaloEvent/CaloCell.h"
#include "TileEvent/TileCell.h"
#include "LArRecEvent/LArCell.h"
#include "Identifier/IdentifierHash.h"
class FastSimCaloCell : public CaloCell {
public:
Fa... | [
"rushioda@lxplus754.cern.ch"
] | rushioda@lxplus754.cern.ch |
740a6823dfa72fdd2ca6c30b07ddf6d1d979d171 | 5c19bf1257fb8c5c04bf8f0dbb410c39272cbdc1 | /FEC/Common/PssFramework/Persistency/ControlRepositorySerializer.h | 9884dda6acb491a21b77623fefa617a0ebd23d56 | [] | no_license | maoravni/Dev | 48b6af8cba04b6a63c18b6ae8ed129bc583847fb | f76c60273b28a8b093095fb2585ed60ac47dadc3 | refs/heads/master | 2020-02-26T15:59:46.539561 | 2016-09-18T10:33:07 | 2016-09-18T10:33:07 | 68,514,525 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 720 | h | /*
* ControlRepositorySerializer.h
*
* Created on: 9 May 2016
* Author: maora
*/
#ifndef CONTROLREPOSITORYSERIALIZER_H_
#define CONTROLREPOSITORYSERIALIZER_H_
#include "Serializer.h"
#include <Controls/ControlRepository.h>
template<> class Serializer<ControlRepository> : public SerializerBase... | [
"LANDALABS\\maora"
] | LANDALABS\maora |
ccfbe11b2dd5c83f093204b98b78b1ef45589f25 | e25356b34cdd07d869896cfadb3ef0fc7d284a56 | /interviewstreet/gridwalk.cpp | b8f19fb1cec912bd607059a821b09294316da79b | [] | no_license | lantimilan/topcoder | 3d0f3a532fb59eeb88a3fb2cc6bc2ef6699b1225 | 7200ed04b1eb774f515a2f06f50a374a3d6782ae | refs/heads/master | 2020-04-05T14:39:02.898235 | 2018-11-20T06:40:49 | 2018-11-20T06:40:49 | 5,063,277 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,561 | cpp | // =========================================================
//
// Filename: gridwalk.cpp
//
// Description:
//
// Version: 1.0
// Created: 01/10/2012 12:51:20 PM
// Revision: none
// Compiler: g++
//
// Author: LI YAN (lyan), lyan@cs.ucr.edu
// Company: U ... | [
"lantimilan@gmail.com"
] | lantimilan@gmail.com |
44511e6499c18b6476a8b5d30a48fbeab94572f6 | ad0b7e5a3ae551592ec4ecbe846aeb9008fb3a32 | /hue/request.cpp | 887a1f6221c10799b9d9f4e496cef55cc6041bb5 | [
"Apache-2.0"
] | permissive | alanswx/afLib | 889daa0f0b682a2995f397207d4b13be1754fb5e | 0d1ea11d685ff7a2a415f26acfa2cb82fa4ce024 | refs/heads/master | 2020-12-26T04:05:31.077647 | 2016-09-07T22:20:59 | 2016-09-07T22:20:59 | 49,594,280 | 0 | 0 | null | 2016-01-13T18:47:53 | 2016-01-13T18:47:53 | null | UTF-8 | C++ | false | false | 2,130 | cpp | #include "request.h"
#include <sstream>
#include <iostream>
#include <string.h>
#define MAX_FILE_SIZE = 10485760 //10 MiB
size_t curl_to_string(void *ptr, size_t size, size_t count, void *requestptr)
{
HttpRequest *request = (HttpRequest *)requestptr;
std::string data((const char*) ptr, (size_t) size * coun... | [
"alan.steremberg@gsa.gov"
] | alan.steremberg@gsa.gov |
2d97c449882d02a87ca231663e99d57f73e0354d | d79408a9616a8ff8ac9375b9fffaa45ae6698fd5 | /src/test/merkle_tests.cpp | 76e880f4d3c624078a7d78d072f186b11915f5e9 | [
"MIT"
] | permissive | Schepses/nero | 6c77f5df6afd36a6ebcb14af1d8257d918d7bda7 | 7ec5e3a6c7f1c75f5ec15b1f4d0bcb9cdc0ec9b0 | refs/heads/master | 2020-03-07T13:43:18.425050 | 2018-03-28T12:27:27 | 2018-03-28T12:27:27 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,904 | cpp | // Copyright (c) 2015 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "consensus/merkle.h"
#include "test/test_nero.h"
#include "random.h"
#include <boost/test/unit_test.hpp>
BOOST_FIXTURE_... | [
"root@DS792121.clientshostname.com"
] | root@DS792121.clientshostname.com |
62189abbd899117b9128e422039ece58eec24b69 | 5a1d79d84c6cc39894879c8092017a425058b14c | /p500-euler/src/divisors.h | 2792efd56e472bd8cbba76da78747f08feb3b5be | [] | no_license | Kischy/p500-euler-pub | 9ce58bfa433eec7bc1da06e5332238e0dba66772 | 121aa68e42df9ab5e69529bf23fc29b57ad99866 | refs/heads/master | 2020-09-17T06:17:37.325171 | 2019-11-25T18:43:33 | 2019-11-25T18:43:33 | 224,016,834 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,800 | h | #pragma once
#include "../external/InfInt.h"
#include <algorithm>
#include <functional>
#include "expnum.h"
#include "math_helper.h"
#include "primenumbers.h"
/*
This class is based on the paper: M. E. Grost, The American Mathematical Monthly 1968, 75, 725.
For problem 500 of project euler Theorem 4 is most re... | [
"kischy@gmx.de"
] | kischy@gmx.de |
ba1b0e6cf8399617452747af740337dbc4b629a1 | eb192dfea075a36502882c19f566255562c99126 | /OpenFoamandPreCICE/Solid_exchange/5.7/T | d01577b6f36bc2fc08e345e7d3a7c8de7fca1d06 | [] | no_license | moritzhof/CFD-Solver | e8dfc5714107039e9b02d297d4c62a6a187cafa8 | 35fc2d02a8f7366ecc68a8ae275c6aec03132418 | refs/heads/master | 2020-06-23T17:06:09.203977 | 2019-08-07T21:04:01 | 2019-08-07T21:04:01 | 198,681,196 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 40,559 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 5.x |
... | [
"moritz.t.hof@gmail.com"
] | moritz.t.hof@gmail.com | |
dccd4aa4b2b2f0d14cccaa0624ef5974c56ac4f4 | b7f3edb5b7c62174bed808079c3b21fb9ea51d52 | /ui/message_center/views/notification_control_buttons_unittest.cc | 2ce2e4cfcd5f03514864482da30f124fc6d0508a | [
"BSD-3-Clause"
] | permissive | otcshare/chromium-src | 26a7372773b53b236784c51677c566dc0ad839e4 | 64bee65c921db7e78e25d08f1e98da2668b57be5 | refs/heads/webml | 2023-03-21T03:20:15.377034 | 2020-11-16T01:40:14 | 2020-11-16T01:40:14 | 209,262,645 | 18 | 21 | BSD-3-Clause | 2023-03-23T06:20:07 | 2019-09-18T08:52:07 | null | UTF-8 | C++ | false | false | 2,631 | cc | // Copyright 2020 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/message_center/views/notification_control_buttons_view.h"
#include "base/strings/utf_string_conversions.h"
#include "testing/gtest/include/g... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
769d23b944f6e91f693eb686bdb3a54477a10227 | 56a4cb943d085a672f8b0d08a8c047f772e6a45e | /code/Johnson_Client/ClientShellDLL/Lib_Network/NJean/Network/TcpAsyncSelect.h | 3c197e941fb75881bac4022fe2eb8955ce03c97e | [] | no_license | robertveloso/suddenattack_legacy | 2016fa21640d9a97227337ac8b2513af7b0ce00b | 05ff49cced2ba651c25c18379fed156c58a577d7 | refs/heads/master | 2022-06-20T05:00:10.375695 | 2020-05-08T01:46:02 | 2020-05-08T01:46:02 | 262,199,345 | 3 | 1 | null | null | null | null | UHC | C++ | false | false | 11,335 | h | /*****************************************************************************************************************
CTcpAsyncSelect
작성자 : 강진협
작성일 : 2004년 2월 25~27일
설 명 :
IOCP를 이용한 Server
사 용 :
1. Create를 사용하여 Iocp Server를 생성한다.
2. Bind와 Listen을 한다. 이 값은 기본 소켓 프로그램과 동일하다.
3. Start를 통해서 Iocp Server를 수행시킨다... | [
"robert@velosodigital.com"
] | robert@velosodigital.com |
0d394b0e22ec2a8f41326588e3473bf344cdf9d6 | 5fb008fc06cad41841c3c94b359cb3b843c473e9 | /permu.cpp | 238547675a7425553c872573dac709adc073586b | [] | no_license | sai123murali/paypal | 04b60cc91c452d0cb6349abc003d58abe118a8d6 | ad0a49b784de4275425b63e57d93d75c314cd434 | refs/heads/master | 2020-11-28T22:10:14.519026 | 2020-01-22T12:47:46 | 2020-01-22T12:47:46 | 229,933,095 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,257 | cpp | #include<bits/stdc++.h>
using namespace std;
bool isPossible(int arr[], int n, int m, int curr_min) ;
int min_pages(int arr[], int n, int m) ;
int main(){
int n ;
cin>>n;
cout<<endl;
int books[n];
//cout<<"The number of page in books are :\n";
for(int i = 0 ; i< n; i++){
cin>>books[i];
}
... | [
"noreply@github.com"
] | sai123murali.noreply@github.com |
732a293f216f848b1db11e5fb2c3bbbd26cd5b34 | bba8ad0d783119c7d9a413b4ead7654ed074fc2a | /Volume004/00492 - Pig-Latin.cpp | f9ec5612e7f9ea372e497683e0d65b18a9e0a95d | [] | no_license | m00p1ng/UVa-problem | 08d1298225a7d2bffef3e99ff33fd2f940d7924c | 9517304685e6681e7027335dbbea20f643d5fc37 | refs/heads/master | 2023-04-04T10:51:12.141260 | 2021-04-16T23:08:27 | 2021-04-16T23:08:27 | 81,700,393 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 672 | cpp | #include <cstdio>
#include <cctype>
#include <cstring>
bool isvowel(char c) {
switch(tolower(c)) {
case 'a': case 'e': case 'i': case 'o': case 'u':
return true; break;
}
return false;
}
int main() {
char s, c;
while(1) {
s = getchar();
if(s == EOF) break;
... | [
"mongkonchai4412@gmail.com"
] | mongkonchai4412@gmail.com |
ddb81a1e4738f523cd206652392d25bf844e189c | fb1ed49545324fe0819815b83dd4e13ce1580948 | /10.RangeQuerry/89new.cpp | 53af387c4a36dd9b3fdeda61aee0587a76843c6d | [] | no_license | trickstarcandina/C-Cplusplus | a3ce968165201ab729c95a56e7d21c8caa507508 | 1294a8f7499597e425899a3e9715bfc67041200c | refs/heads/master | 2023-04-25T04:25:54.263939 | 2021-05-20T10:36:55 | 2021-05-20T10:36:55 | 270,885,083 | 5 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 930 | cpp | #include<bits/stdc++.h>
using namespace std;
void nhap(vector<int> &a,int &n){
int x;
for(int i=0;i<n;i++){
cin>>x;
a.push_back(x);
}
}
// Returns beginning index of maximum average subarray of length 'k'
void findMaxAverage(vector<int> arr, int n, int k) {
// Check if 'k' is valid
//if (k > n) return -1... | [
"61593963+rinnegan101220@users.noreply.github.com"
] | 61593963+rinnegan101220@users.noreply.github.com |
a6ad93087eccf487a03fdec5826037c5854e0a35 | 6fd072757f7f9ceeff1832513b7393bcef91d4dc | /framework/tarscpp/tools/tars2node/main.cpp | f5bbeade49c107ff84f2089e0c9794df77a933b0 | [
"BSD-3-Clause",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | hfcrwx/Tars-v2.4.20 | 2d6a5f84df434c293cef301d978d38f691d9227f | b0782b3fad556582470cddaa4416874126bd105c | refs/heads/master | 2023-07-16T06:02:01.278347 | 2021-08-28T16:08:40 | 2021-08-28T16:08:40 | 400,194,431 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,662 | cpp | /**
* Tencent is pleased to support the open source community by making Tars
* available.
*
* Copyright (C) 2016THL A29 Limited, a Tencent company. All rights reserved.
*
* Licensed under the BSD 3-Clause License (the "License"); you may not use this
* file except in compliance with the License. You may obtain ... | [
"hfcrwx@163.com"
] | hfcrwx@163.com |
0e43e1ad36a90a37d9f52d4156972542f2c55b1d | 528b1ee0ca4a4f361a606ad9f7de054126abfb20 | /src/Papyrus.cpp | 72a0a3ffa279ec3ef3b52a23a20fa8a9146e6b32 | [
"MIT"
] | permissive | clayne/ActorCopyLib | 548980c45a3c0e80579f3c0828d81d206779d3de | 69021983bcf6a77fddca4c7996fa8a4d5ce9b96e | refs/heads/master | 2023-05-04T02:04:22.218413 | 2021-05-27T21:11:37 | 2021-05-27T21:11:37 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,133 | cpp | #include "Papyrus.h"
#include "PlayerUtil.h"
#include "Test.h"
#include "BSTArrayUtil.h"
namespace Papyrus {
void AddTeachableSpellsToPlayer(StaticFunctionTag*, Actor* source) {
PlayerCharacter* player = RE::PlayerCharacter::GetSingleton();
auto copier = PlayerUtil::ActorToPlayerCopier(player, sour... | [
"jcovey94@gmail.com"
] | jcovey94@gmail.com |
7b42f6454c202457dab8890fe5237d02de6a0594 | 13b14c9c75143bf2eda87cb4a41006a52dd6f02b | /lib/Library2008/die_lib/number/egcd.cpp | 790a002acfa28dd95ffe2247d4d42c3c1690b7c9 | [] | no_license | yutaka-watanobe/problem-solving | 2c311ac856c79c20aef631938140118eb3bc3835 | f0b92125494fbd3c8d203989ec9fef53f52ad4b4 | refs/heads/master | 2021-06-03T12:58:39.881107 | 2020-12-16T14:34:16 | 2020-12-16T14:34:16 | 94,963,754 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 442 | cpp | class Res{
public:
int a, b, c;
Res(int a, int b, int c) : a(a), b(b), c(c){
}
};
// x > 0, y > 0 に対し、ax + by = c = gcd(x, y) となるような、a, b, c を求める
//
// 任意の整数 k に対し、an = a0 + y*k, bn = b0 + x*k とすることで、
// 一般の an , bn を求められる。
Res egcd(int x, int y){
if(y == 0) return Res(1, 0, x);
Res r = egcd(y, x%y);
r... | [
"y.watanobe@gmail.com"
] | y.watanobe@gmail.com |
e71947cf3c3c369b407fa96c2f3e874863f15ba4 | 47b16769cbefd4dce74710fbd0b08028be528054 | /other/blohi.cpp | 03980e87d5cd4b0c16c682e66d44b096bb0048eb | [] | no_license | MarshalBrain/Sports-programming | ea9254635d0188f7631c85a5cdb6fcb9e509cbf4 | 5a3f0b0e4832f584a1c0fa538336885b49ece4ea | refs/heads/master | 2020-03-14T12:17:02.579686 | 2017-09-15T15:43:16 | 2018-04-30T15:43:16 | 131,507,129 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,008 | cpp | #include <bits\stdc++.h>
using namespace std;
const int s = 80,ss = 200;
int an[ss];
int NOD(int ch1,int ch2)
{
while (ch1 != 0 && ch2 != 0)
{
if (ch1 > ch2) ch1 = ch1%ch2;
else ch2 = ch2%ch1;
}
return ch1+ch2;
}
int main()
{
ios_base::sync_with_stdio(false);
/... | [
"marshalhukov3000@gmail.com"
] | marshalhukov3000@gmail.com |
17f76ab54d3f93491c4ee6f1b30ee7acf4c5a0ba | b883ed76836a2edad52c8b63e0501b3d3a664323 | /Arrays/Maximum Absolute Difference.cpp | c18f33cfbf53a1d517349b55fb12d088fec9e9b5 | [] | no_license | Ankit253/Data-Structures | 9c99a8e2682c7074e73b67e5d68e42dedd5528a7 | 2294cb4e9d07136d395c8ffde65ad13467ab717b | refs/heads/master | 2023-08-14T16:52:35.702862 | 2021-09-15T05:30:27 | 2021-09-15T05:30:27 | 377,757,648 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 756 | cpp | int Solution::maxArr(vector<int> &A) {
int n = A.size();
int max1 = INT_MIN, min1 = INT_MAX;
int max2 = INT_MIN, min2 = INT_MAX;
for (int i = 0; i < n; i++) {
// Updating max and min variables
// as described in algorithm.
max1 = max(max1, A[i] + i);
min1 = min(mi... | [
"yadavankit.ay253@gmail.com"
] | yadavankit.ay253@gmail.com |
a3fdae1b13d1299486c657f7711304d4a773f1f4 | 4cfc413ab98c29993d4fd4176eff32d7796e57ed | /src/server/service/journey_service.cpp | e00b55480d2577e41ab310aba0df1951acd303f6 | [
"BSD-2-Clause"
] | permissive | neilbu/osrm-backend | acdf41df11a95b39847f40520ab4e0304e63ba65 | 2a8e1f77459fef33ca34c9fe01ec62e88e255452 | refs/heads/master | 2021-01-17T09:31:50.333332 | 2017-11-16T15:24:44 | 2017-11-16T15:24:44 | 30,671,890 | 0 | 1 | null | 2017-04-19T08:34:10 | 2015-02-11T21:58:01 | C++ | UTF-8 | C++ | false | false | 1,356 | cpp | #include "server/service/journey_service.hpp"
#include "server/api/parameters_parser.hpp"
#include "engine/api/journey_parameters.hpp"
#include "util/json_container.hpp"
#include <boost/format.hpp>
namespace osrm
{
namespace server
{
namespace service
{
engine::Status
JourneyService::RunQuery(std::size_t prefix_le... | [
"neil.buckman@chopchops.co.uk"
] | neil.buckman@chopchops.co.uk |
8eb577294babc2b41f365619515ccf68b2b0406b | e230b4127f06aae4bed00bd7f51f10cc0d3a1269 | /ThirdParty/Osirose/Includes/packets/srv_server_data.h | 1ef0c2009cf13ddabbec39d42b6dfdc13c417359 | [] | no_license | blockspacer/osirose-client-new | 65a8d362777819872216f2a8ea840eca58435d44 | 58b136da195491c53d5394382e15d7c4fce52aca | refs/heads/master | 2022-02-22T02:20:15.401284 | 2019-09-19T00:43:27 | 2019-09-19T00:43:27 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 848 | h | #pragma once
/* Generated with IDL v0.1.1 */
#include "packetfactory.h"
namespace RoseCommon {
namespace Packet {
class SrvServerData : public CRosePacket {
public:
static constexpr ePacketType PACKET_ID = ePacketType::PAKWC_SERVER_DATA;
SrvServerData();
SrvServerData(CRoseReader reader... | [
"dragon83.super@gmail.com"
] | dragon83.super@gmail.com |
0c70a3797cb2512fbbda2127e6fbcc0069524c0f | 540eca7619a4b91424f1d1f269e9ef2c31e2321b | /src/httpserver.cpp | 4db6fdbfaa2ba6b15d57c353fc2abc13431a44d8 | [
"MIT"
] | permissive | Roshanthalal/RECAP-Core | 66406b8327ae233dd507b232e049a9acf10539b1 | ade84a0a11fe6d3769e7256c8f5117b9480d7e60 | refs/heads/master | 2022-11-19T10:05:32.551958 | 2020-07-27T05:03:06 | 2020-07-27T05:03:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 21,362 | cpp | // Copyright (c) 2015 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "httpserver.h"
#include "init.h"
#include "chainparamsbase.h"
#include "compat.h"
#include "util.h"
#include "utilstrenc... | [
"shamim.ice.ewu@gmail.com"
] | shamim.ice.ewu@gmail.com |
afe74762937834291bd2394fd137fb1c3c33c80c | 600df3590cce1fe49b9a96e9ca5b5242884a2a70 | /chrome/browser/downgrade/user_data_downgrade_browsertest.cc | 252b4d6e9ed1e4e9e2a5d0803cb1cebd5494d133 | [
"BSD-3-Clause"
] | permissive | metux/chromium-suckless | efd087ba4f4070a6caac5bfbfb0f7a4e2f3c438a | 72a05af97787001756bae2511b7985e61498c965 | refs/heads/orig | 2022-12-04T23:53:58.681218 | 2017-04-30T10:59:06 | 2017-04-30T23:35:58 | 89,884,931 | 5 | 3 | BSD-3-Clause | 2022-11-23T20:52:53 | 2017-05-01T00:09:08 | null | UTF-8 | C++ | false | false | 4,916 | 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 "chrome/browser/downgrade/user_data_downgrade.h"
#include "base/files/file_util.h"
#include "base/path_service.h"
#include "base/strings/utf_str... | [
"enrico.weigelt@gr13.net"
] | enrico.weigelt@gr13.net |
bfa83b53490acdc29610619d963d40e913883a2d | d1ff42f6b6f8d6aa68f88319506aba91394aded0 | /include/byref.h | e82866085029a85288e78ee1330b2413e8e1f877 | [
"Apache-2.0"
] | permissive | DigDeeply/PHP-CPP | 6efdec7b92f01438545fa7b9bafca6975f76339e | 778561e1739a4a7ef20e85b713b4790e6be225d3 | refs/heads/master | 2021-01-17T22:31:20.270865 | 2014-03-18T22:35:35 | 2014-03-18T22:35:35 | 17,888,720 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,323 | h | /**
* ByRef.h
*
* Overridden Argument class to specify by-reference function arguments
*
* @author Emiel Bruijntjes <emiel.bruijntjes@copernica.com>
* @copyright 2013 Copernica BV
*/
/**
* Namespace
*/
namespace Php {
/**
* Class definition
*/
class ByRef : public Argument
{
public:
/**
* C... | [
"emiel.bruijntjes@copernica.com"
] | emiel.bruijntjes@copernica.com |
10ad9ce11d16753fe2851e89d8355a7b70d6a8b8 | 43e42f048456ac8ac41f6951dd93282188b7b6c9 | /src/qt/intro.cpp | d1f315d91de7e5bd151c0f0d90d5ab21bada06f5 | [
"MIT"
] | permissive | Frenchh/French-core | 7a0f28ae8475b9adba3acfc2c5865a18d4d19243 | 0da631eeced40d9d21146703cf80f569350ee1a5 | refs/heads/master | 2020-04-05T20:57:43.559095 | 2018-11-13T00:46:04 | 2018-11-13T00:46:04 | 157,201,580 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 9,010 | cpp | // Copyright (c) 2011-2014 The Bitcoin developers
// Copyright (c) 2014-2015 The Dash developers
// Copyright (c) 2015-2017 The PIVX developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "intro.h"
#include "ui_... | [
"florent.accault@gmail.com"
] | florent.accault@gmail.com |
f57b14ea9d322ca82068c185ec7dee4c6c672e4a | 90047daeb462598a924d76ddf4288e832e86417c | /third_party/WebKit/Source/modules/payments/PaymentInstruments.h | 993d474ac3bb69cde90210f7e3613986a9bb176e | [
"BSD-3-Clause",
"LGPL-2.0-or-later",
"LicenseRef-scancode-warranty-disclaimer",
"LGPL-2.1-only",
"GPL-1.0-or-later",
"GPL-2.0-only",
"LGPL-2.0-only",
"BSD-2-Clause",
"LicenseRef-scancode-other-copyleft",
"MIT",
"Apache-2.0"
] | permissive | massbrowser/android | 99b8c21fa4552a13c06bbedd0f9c88dd4a4ad080 | a9c4371682c9443d6e1d66005d4db61a24a9617c | refs/heads/master | 2022-11-04T21:15:50.656802 | 2017-06-08T12:31:39 | 2017-06-08T12:31:39 | 93,747,579 | 2 | 2 | BSD-3-Clause | 2022-10-31T10:34:25 | 2017-06-08T12:36:07 | null | UTF-8 | C++ | false | false | 2,460 | h | // Copyright 2017 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 PaymentInstruments_h
#define PaymentInstruments_h
#include "components/payments/mojom/payment_app.mojom-blink.h"
#include "modules/ModulesExport.... | [
"xElvis89x@gmail.com"
] | xElvis89x@gmail.com |
3d1e6505bf5fc5a16f46f323560d8157c840b1b5 | 5cb096e0611b0187d59a566763d0fe3671b6e1d7 | /PhysicsTestbed/EntryPoint.cpp | 80a6d950245580794d19cd46fa7f6c96e64c3f86 | [] | no_license | Reeahn/physicsEngine | a3d4413364e1dfb4c5aeb9097b5ba1953008285d | 5271c90c8d275bb15a5bb1a2c6e9d372dd3887a6 | refs/heads/main | 2023-04-03T10:29:40.859873 | 2021-04-01T04:53:08 | 2021-04-01T04:53:08 | 348,507,013 | 0 | 0 | null | 2021-03-19T13:26:32 | 2021-03-16T22:14:40 | C++ | UTF-8 | C++ | false | false | 163 | cpp | #include "Example.h"
#include <iostream>
int main()
{
Example program;
while (program.IsRunning())
{
program.Update();
program.Render();
}
return 0;
} | [
"36976247+Reeahn@users.noreply.github.com"
] | 36976247+Reeahn@users.noreply.github.com |
e92ab42034920810ebe113397020cd6ea3b3dcda | 33e401955218c782d69f9a3dcc06ef716f608d30 | /ServerCodeFinal/projnewserver.cpp | 2364dd077c7ad6b3c62a5d3ad9981bac76909bd6 | [] | no_license | yaqoobjamal/virtualcloudenvironment | 2f6e7d4a4503c46bc88b8cfeeaf9ab4d1c33a823 | 7c6023480a4b4b7079d0885de0ee26c28149f70a | refs/heads/master | 2021-04-20T07:12:02.194650 | 2020-03-24T09:26:33 | 2020-03-24T09:26:33 | 249,664,970 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,550 | cpp | #include <iostream>
#include <fstream>
#include <dirent.h>
#include <errno.h>
#include <vector>
#include <sys/types.h>
#include <stdio.h>
#include <string.h> //strlen
#include <stdlib.h> //strlen
#include <sys/socket.h>
#include <arpa/inet.h> //inet_addr
#include <unistd.h> //write
#include <pthread.h>
#include <str... | [
"yaqoobjamal99@gmail.com"
] | yaqoobjamal99@gmail.com |
e0dd0d7f5d106eff957db56b5f234c3db9859860 | cb1253a944d694f3439d3bd5cb977df7eb0d183d | /SelfStudy/UnionFindRank.cpp | 2040de92abf74e665d7c6e750705d0f8ed076c27 | [] | no_license | RIckyBan/competitive-programming | 91701550a76b54d2ab76d6e23e4c0cc64b975709 | f1592de21d06ff54b81cec5c8477300fae443700 | refs/heads/master | 2022-05-03T06:38:37.141758 | 2022-04-12T14:52:25 | 2022-04-12T14:52:25 | 243,915,283 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,642 | cpp | // test: http://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=DSL_1_A&lang=jp
#include<iostream>
#include<vector>
using namespace std;
class UnionFind {
public:
vector<int> rank, size, p;
UnionFind(){}
UnionFind(int n){ // 初期化: rankが0のノードをn個生成する
rank.resize(n, 0); // rank(木の深さ)
... | [
"ricky1231@g.ecc.u-tokyo.ac.jp"
] | ricky1231@g.ecc.u-tokyo.ac.jp |
01627c0f076c3ba3c0e954e3a1641095aedff917 | 392aab7b6ac2a4612f5877152656dc794329200d | /examples/common/opengl.hpp | 2b8fce9335f01ff9591024642c827ab7007b794f | [
"MIT"
] | permissive | therocode/GimGui | 328e912efc50254ff07b6cd0ec8fee3102ee2702 | 039e70ef2cb34726ead867eb1bc102f6a53b0df5 | refs/heads/master | 2020-12-24T15:22:19.786557 | 2016-01-17T01:10:02 | 2016-01-17T01:10:02 | 30,752,141 | 22 | 5 | null | 2015-10-30T10:26:50 | 2015-02-13T10:42:35 | C++ | UTF-8 | C++ | false | false | 379 | hpp | #pragma once
#if defined(__EMSCRIPTEN__)
#define GL_GLEXT_PROTOTYPES
#include <GL/gl.h>
#include <GL/glu.h>
#include <GL/glext.h>
#else
#include "gl_core_3_3.h"
#endif
#if defined(__APPLE__) || defined(MACOSX) || defined(macintosh) || defined(Macintosh)
#include <OpenGL/gl.h>
#include <OpenGL/glu.h>
#elif !defined(__E... | [
"widlundtobias@gmail.com"
] | widlundtobias@gmail.com |
8021ac37ec5c9a9bb6607f7b6e5a14312d1d9508 | fbf3029f03ecc3ee2d3cf63f028835d92ce0c615 | /src/util/vector_util.cpp | c38502e1e4ad62ccb49db1512ac0207cb3924a89 | [] | no_license | aloysius-aryaputera/pathtracer | 222fd7e0b8dd373448a2c0c6ce8bb224f057c87e | 19b1a38a91abb5a7af6db8157193b61f1fe55249 | refs/heads/master | 2020-08-06T11:41:08.289946 | 2019-11-02T00:34:28 | 2019-11-02T00:34:28 | 212,963,318 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,092 | cpp | #include "vector_util.h"
glm::vec3 get_random_unit_vector_hemisphere() {
double sin_theta = double_rand();
double cos_theta = pow(1 - pow(sin_theta, 2), 0.5);
double phi = double_rand() * 2 * M_PI;
glm::vec3 v3_rand = glm::vec3(
sin_theta * cos(phi), sin_theta * sin(phi), cos_theta
);
return v3_rand;
... | [
"aloysius.aryaputera@gmail.com"
] | aloysius.aryaputera@gmail.com |
cd1c193236c084359061762d269f9ef3ddcfb843 | d827993da8397ebe92f31247e3a58dc5127e4358 | /segrnn-sup-learn.cc | 6f26920052d7228dab4cae7d966124f2cd500370 | [] | no_license | mixcoder/segbin | 3d47ff4c9604bb09664bea649334c943670c27e9 | d3e83fe1460cc735128174c8375410ceb1aeb082 | refs/heads/master | 2021-06-21T01:13:35.059926 | 2017-08-02T23:45:20 | 2017-08-02T23:45:20 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,987 | cc | #include "seg/seg-util.h"
#include "speech/speech.h"
#include <fstream>
#include "ebt/ebt.h"
#include "seg/loss.h"
#include "nn/lstm-frame.h"
std::shared_ptr<tensor_tree::vertex> make_tensor_tree(
std::vector<std::string> const& features,
int layer)
{
tensor_tree::vertex root;
root.children.push_back(... | [
"haotang@ttic.edu"
] | haotang@ttic.edu |
db5d919dfa1ac721f586df2c4d7903f28cdf6916 | 786f82264db7110e0c373ac05791759ac5753569 | /Include/USBHID.h | 23904e4c5b21f7955bb347027236e43f706b4a71 | [
"MIT"
] | permissive | Federerer/stm32usb | 60ab248dfb321c9eb36882bfb123471567c59d9d | f3ef4501592acf529704cfc734177d6173faac57 | refs/heads/master | 2020-03-30T20:55:31.347766 | 2018-10-04T17:32:39 | 2018-10-04T17:32:39 | 151,610,179 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 670 | h | /*
* USBHID.h
*
* Created on: 14 sie 2017
* Author: 08fed
*/
#ifndef USBHID_H_
#define USBHID_H_
#include "USBDevice.h"
#include "USBDeviceConfigration.h"
namespace USBLib
{
class USBHID : public USBDevice
{
public:
constexpr USBHID(const USBDeviceConfigration* config, USBLowLevel& lo... | [
"08fedra@interia.pl"
] | 08fedra@interia.pl |
bb57e25926ec0dfc5614818b5140e77c1a74dedd | dc2e0d49f99951bc40e323fb92ea4ddd5d9644a0 | /SDK/ThirdLibrary/include/activemq-cpp/cms/QueueBrowser.cpp | 496d1f67de4b654358c434221781d4f98d6a66e2 | [] | no_license | wenyu826/CecilySolution | 8696290d1723fdfe6e41ce63e07c7c25a9295ded | 14c4ba9adbb937d0ae236040b2752e2c7337b048 | refs/heads/master | 2020-07-03T06:26:07.875201 | 2016-11-19T07:04:29 | 2016-11-19T07:04:29 | 74,192,785 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,001 | cpp | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you... | [
"626955115@qq.com"
] | 626955115@qq.com |
8422b39523f2002ab8efbe80b7227bd047bbba26 | e2040e9c26ef5864259b20aa66681bc402ed888d | /Quick.cpp | ae2b25a60fe92394f576702c461d8268e02a25d8 | [] | no_license | Ronnieleee/Sorts | 5d8452fed1f71fd695cb75e9d6fc99354781ebe2 | 090decec835d19d57d9509a6658abd47e549a786 | refs/heads/master | 2022-02-03T11:47:37.539341 | 2022-01-06T08:12:22 | 2022-01-06T08:12:22 | 68,741,758 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,494 | cpp | // #############################################################################
// # FileName: Quick.cpp
// # Author: Lonely, CS0901, HUST
// #############################################################################
#include <cstdio>
#include <cstdlib>
#include <vector>
using namespace std;
// # sorting algo... | [
"lonely.hust@gmail.com"
] | lonely.hust@gmail.com |
cd278bb334f61f8f6743cc633836fc6adcd2af76 | 21a7ebcdfa37a511373b563ebac443d799fbb248 | /polygon/structures/vector.h | dc9438082124b760cef60d34e5d8c77568c2a4a9 | [] | no_license | vadim-platonov/polygon | 0454c6ef3939203d250fdcad35abc6d221ec075a | 4b00d626ade96dd3d8826ac88ced6be268616b3c | refs/heads/master | 2020-05-22T17:30:55.748637 | 2018-12-08T20:01:53 | 2018-12-08T20:01:53 | 15,206,562 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 358 | h | class vector
{
public:
vector();
~vector();
void push_back(int value);
int pop_back();
bool empty();
unsigned size();
void resize(unsigned size);
unsigned capacity();
void reserve(unsigned capacity);
int& at(unsigned index);
private:
int* m_memory;
unsigned... | [
"vadim.platonov@mail.ru"
] | vadim.platonov@mail.ru |
e8cd0e2d796a1ca8ca54f6dd219832bb088fe291 | b22588340d7925b614a735bbbde1b351ad657ffc | /athena/graphics/VP1/VP1Systems/VP1GuideLineSystems/VP1GuideLineSystems/GuideSysController.h | ee53f7fddf70fef4908e97fb3ef1919aa627cdeb | [] | no_license | rushioda/PIXELVALID_athena | 90befe12042c1249cbb3655dde1428bb9b9a42ce | 22df23187ef85e9c3120122c8375ea0e7d8ea440 | refs/heads/master | 2020-12-14T22:01:15.365949 | 2020-01-19T03:59:35 | 2020-01-19T03:59:35 | 234,836,993 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,111 | h | /*
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
*/
////////////////////////////////////////////////////////////////
// //
// Header file for class GuideSysController //
// ... | [
"rushioda@lxplus754.cern.ch"
] | rushioda@lxplus754.cern.ch |
c2b95600557a76ab481c04e060c290173362cdfe | d3a033203fd6959cda5a0f5531ce3fd78422832f | /openslam_gmapping/gui/qparticleviewer.cpp | a7b3627f9f9f6381e1108dfeee5dfefcb0596d53 | [] | no_license | rsbGroup1/frobo_rsd | a3b832c671e736c17a81cd0e36bc386281a55fdc | 6397f121e19589aabd6f969e1255b5935ecd9b61 | refs/heads/master | 2021-01-19T22:11:04.686040 | 2015-12-10T18:52:40 | 2015-12-10T18:52:40 | 42,850,212 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 16,054 | cpp | /*****************************************************************
*
* This file is part of the GMAPPING project
*
* GMAPPING Copyright (c) 2004 Giorgio Grisetti,
* Cyrill Stachniss, and Wolfram Burgard
*
* This software is licensed under the "Creative Commons
* License (Attribution-NonCommercial-ShareAlike 2.0... | [
"dowei14@student.sdu.dk"
] | dowei14@student.sdu.dk |
53f142ac1d3415dfdd95d600e17a7acffe04c7b5 | 265b55ca4d6e84e97792cf55dc0bac3dd82c8e9c | /COSC112_CS1/Source Code/Chapter 4 Source Code/Ch4_CompareNumbers.cpp | afd1500cef3b6911c6f6c345f8501d335236f46a | [] | no_license | Mario-Kart-Felix/CS-Courses | daf8ceb5a29eed6e724c0c6934cd8f5ce36c82a6 | 405c5bfd853da563169958e7daffcc2790306ad5 | refs/heads/master | 2023-03-16T08:46:51.160883 | 2021-03-07T23:37:41 | 2021-03-07T23:37:41 | 344,701,898 | 0 | 0 | null | 2021-03-07T07:39:42 | 2021-03-05T05:13:35 | C++ | UTF-8 | C++ | false | false | 580 | cpp | //Program: Compare Numbers
//This program compares two integers and finds the largest.
#include <iostream>
using namespace std;
int main()
{
int num1, num2;
cout << "Enter any two integers: ";
cin >> num1 >> num2;
cout << endl;
cout << "The two integers entered are " << num1
<< " a... | [
"frank.w.xu@gmail.com"
] | frank.w.xu@gmail.com |
8212a1d23e2ee2680615171b4527803c636665bd | d657ccfad7b5c70b3215e6599b57a66bdb926af3 | /opengl/renderingtablewidget.cpp | 7598b3db51b2b1e629a7ca9575281a706e82757e | [
"BSD-3-Clause"
] | permissive | Marphy/DSI-Studio | 62d392a5d93ebf546858dee0f64b12808779150e | 51d80d791b24c2b180e970eb19849bba78cf4ae0 | refs/heads/master | 2021-01-17T11:45:58.223057 | 2015-12-19T02:42:54 | 2015-12-19T02:42:54 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 17,263 | cpp | #include <QSlider>
#include <QComboBox>
#include <QHeaderView>
#include <QDoubleSpinBox>
#include <QSpinBox>
#include <QFile>
#include <QTextStream>
#include "renderingtablewidget.h"
#include "qcolorcombobox.h"
#include "tracking/tracking_window.h"
#include "glwidget.h"
#include <iostream>
#include <cmath>
... | [
"frank.yeh@gmail.com"
] | frank.yeh@gmail.com |
367696724ec10fd1ca0d3938aa93ddc45624403d | 06fd44712bbbdab1d094e0e9d2e6e04911175d76 | /Source/InventoryTutorial/InventoryItem.h | 56170e0df0d3cb30e1bad5d648cc9fe9ac291a83 | [] | no_license | Unreal-kurs/InventoryTutorial | 22aef38ad51c60123dab5506639a7f2a7c377626 | 3c9d0cbb041cfac5cb2cf2861c1541910fe26823 | refs/heads/master | 2020-03-10T22:42:19.045577 | 2018-04-19T14:10:48 | 2018-04-19T14:10:48 | 129,625,116 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,263 | h | // Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "CraftingInfo.h"
#include "Engine/DataTable.h"
#include "InventoryItem.generated.h"
USTRUCT(BlueprintType)
struct FInventoryItem : public FTableRowBase
{
GENERATED_BODY();
public:
FInvento... | [
"attestog@gmail.com"
] | attestog@gmail.com |
91fadb2cc2607f430f42b3be7a6398ff80b88cbe | 092efc47d4367de59068fefefb1c32eecd6be43b | /src/view/chart/chart_limits.h | f8f6333b8cbe132953ecfa6f94580e61b2fd4f0e | [] | no_license | martincrxz/induction-heater-software | 56ce75b718150cf480489a1bcc9587315967f1fc | a407b637f813141ba2951f12901938ef0079dc25 | refs/heads/master | 2023-03-11T13:16:33.876514 | 2021-01-14T17:03:04 | 2021-01-14T17:03:04 | 343,123,478 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,852 | h | #ifndef __CHART_LIMITS_H__
#define __CHART_LIMITS_H__
#include <QtCore/QDateTime>
struct ChartLimits {
QDateTime time_min;
QDateTime time_max;
double y1_min;
double y1_max;
double y2_min;
double y2_max;
double y3_min;
double y3_max;
double y4_min;
double y4_max;
ChartLimits(QDateTime &time_mi... | [
"federico.gomez@helpsystems.com"
] | federico.gomez@helpsystems.com |
3ce4120aefe586f432982fe7f7aeb00475691718 | e776c167acdb1ccf3342c79e06b7685e35d71861 | /chapter10/10.22.cpp | adcd6a0ed8f10034f7a48665278289617f08ff46 | [] | no_license | buaakael/Cpp_primer | 20342c87f9a69a4d082af919d938f3b7112b9720 | 4627965a3982d1d1d4a8d91c215686f6f78c1cee | refs/heads/master | 2022-11-13T09:43:36.493064 | 2020-06-22T09:10:51 | 2020-06-22T09:10:51 | 268,801,868 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,483 | cpp | #include <iostream>
#include <vector>
#include <algorithm>
#include <string>
#include <functional>
using namespace std::placeholders;
using namespace std;
template <typename T>
void print(vector<T> v)
{
for (auto it = v.cbegin(); it != v.cend(); ++it)
cout << *it << " ";
cout << endl;
}
void elimDups(... | [
"xdx894342547@163.com"
] | xdx894342547@163.com |
6ec46222dcd74e66ef101a9de474281751720d06 | d80dd9fd499ee7e90fdeb9fcc4da6e07a3a2ac85 | /OpenCV_example_code/chapter03/3-24_grayLayered.cpp | 411f30afaf54906aac1ebaad6c4416b482839e70 | [] | no_license | thinkerahead/Learning-opencv | 9f28e31976113a6e6cf78db0805384a6fd6fcb98 | 9e69e3018acb06f86d8121440ea752a770cbf4e4 | refs/heads/master | 2023-08-24T13:00:06.227404 | 2018-11-23T07:03:11 | 2018-11-23T07:03:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,134 | cpp | // C++ source file
/***********************************************
# Copyright (c) 2018, Wuhan
# All rights reserved.
#
# @Filename: 3-24_grayLayered.cpp
# @Version:V1.0
# @Author: Frank Liu - frankliu624@gmail.com
# @Description: 灰度级分层
# 更好地提取某些区域灰度的亮度特征,修复某些场景下的图像质量缺陷。
# 两种方法:
# (1) 将待提取的感兴趣区域的灰度值映射为同一值(最大值),其他不感兴趣的... | [
"frankliuceo@163.com"
] | frankliuceo@163.com |
566a7c34554b7ee258485b32711b1ef7bff27669 | 1e1713c9f11cb03a1c38e5f3a276083f9d25dc0a | /Array/Day-10-Arrays/maximumProductArrayforAll.cpp | 8bfd92a990ee431f87f5ef1382fee3dabdab6ebd | [] | no_license | VikrantSingh16/DSA | 1679575bd4b5fc525f7d796710644cf5ccec3cac | 93de2e09f1d59e7c6be68ba1e789930f87fd076c | refs/heads/main | 2023-07-26T05:48:52.395985 | 2021-09-04T04:09:19 | 2021-09-04T04:09:19 | 370,332,768 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 619 | cpp | #include<iostream>
#include<math.h>
using namespace std;
int main(){
int arr[]={-8, 5, 3, 1, 6};
int n=sizeof(arr)/sizeof(arr[0]);
int result = arr[0];
for (int i = 0; i < n; i++)
{
int mul = arr[i];
// traversing in current subarray
for (int j = i + 1; j < n; j++)
{... | [
"noreply@github.com"
] | VikrantSingh16.noreply@github.com |
88327738b333979e2c700a2e2e38dd2befe7d4db | d9ab96bcf97afb81c426dfe83aec86f1c6e63c87 | /gui/AmazonConfig.h | 37f1a5588ef111cfab0c52997a7c093414492b0f | [] | no_license | naszta/QSimpleDB | f918e38d1aef55e663980ea0bada76c24811f374 | c1fac37acfb2528d15db07b3bfd615c5faed71dd | refs/heads/master | 2021-01-01T05:32:33.716402 | 2012-03-18T00:07:19 | 2012-03-18T00:07:19 | 3,651,231 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 530 | h | #ifndef AmazonConfigH
#define AmazonConfigH 1
#include <QDialog>
#include "ui_AmazonConfig.h"
class QSettings;
class AmazonConfig : public QDialog
{
Q_OBJECT
public:
AmazonConfig( QWidget * parent = 0, Qt::WindowFlags flag = 0 );
virtual ~AmazonConfig( void );
public slots:
virtual void accept( void );
pro... | [
"naszta@naszta.hu"
] | naszta@naszta.hu |
751dcfbf56f9257f799d97fb5a7ac17cff83eedb | 0fff2b8b5faa7e551f2f95bf4709ac146c42bbbf | /STL_Exercises.cpp | bc01ff9a207f9d51d6821de8ff5f8707a15c3417 | [] | no_license | joiln/Bilibili_lanqiao_codes_1 | 45707922b8ad3197695005803aeb618c27d20826 | a471c2950326428134c1be3fb2d907757ac0f109 | refs/heads/master | 2021-06-18T00:18:20.363737 | 2019-08-18T09:07:18 | 2019-08-18T09:07:18 | 202,847,888 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,610 | cpp | //
// Created by chen on 2019/8/17 18:09.
//
/*
常用STL练习
这一部分习题用来练习和熟练vector、map、set的使用。
【程序设计】堆积木
【程序设计】计算集合的并
【程序设计】蒜头君学英语
【程序设计】蒜头君面试
【程序设计】水果店
1.堆积木
蒜头君有n块积木,编号分别为1到n。一开始,蒜头把第i块积木放在位置i。
蒜头君进行m次操作,每次操作,蒜头把位置 b上的积木整体移动到位置a上面。
比如1位置的积木是1,2位置的积木是2,那么把位置2的积木移动到位置1后,
位置1上的积木从下到上依次为1,2。
输入格式
第一行输入2个整数
n,m(1≤n≤10000,0... | [
"29aw@sina.cn"
] | 29aw@sina.cn |
f4a8fa7a5f06053e328fed80f3a7078d9d338cce | fbbf1af819c24d49ed95a498ddfad1a4123b3964 | /stimulateSpikeDetector/stimulateSpikeDetector/appl/AnalyseNeuronSpikeDetector.h | dcfce53ec0dbf221b9da3537434888512069ea76 | [] | no_license | stefanct/cameraZeiss | b9c0edf60b4865799153b51cf827136b42291bb6 | f9e30626a3d5fefc9f02c5cc32d19b355dbcc646 | refs/heads/master | 2021-09-24T10:31:15.093315 | 2018-10-08T08:08:23 | 2018-10-08T08:08:23 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,342 | h | ///////////////////////////////////////////////////////////
// AnalyseNeuronSpikeDetetor.h
// Implementation of the Class AnalyseNeuronSpikeDetetor
// Created on: 1-mar-2018 15:54:35
// Original author: Kim Bjerge
// Analyses neuron data by using neuron spike detector
// to search for ind... | [
"kimbjerge@hotmail.com"
] | kimbjerge@hotmail.com |
1ce5760613670d351d125e8cf9aa578a3f7995ad | f68202dfca4fc120967fd9dbdd6a4669bde1aecb | /gdal-3.0.2/frmts/jp2kak/jp2kakdataset.cpp | 5f1a3475d0da8ccb9612af9f94f304f4a0defa8c | [
"Apache-2.0",
"LicenseRef-scancode-public-domain",
"BSD-2-Clause",
"LicenseRef-scancode-warranty-disclaimer",
"MIT",
"SunPro",
"LicenseRef-scancode-info-zip-2005-02",
"BSD-3-Clause"
] | permissive | tiarnan97/circuitApp | 1338dfdb9d010ca60a1deccee9968b91a73724c2 | bd9069364437ae73cdca2a60d395f89616e7c032 | refs/heads/master | 2023-04-27T00:27:58.349520 | 2019-12-16T18:14:27 | 2019-12-16T18:14:27 | 215,044,695 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 98,717 | cpp | /******************************************************************************
*
* Project: JPEG-2000
* Purpose: Implementation of the ISO/IEC 15444-1 standard based on Kakadu.
* Author: Frank Warmerdam, warmerdam@pobox.com
*
******************************************************************************
* C... | [
"tiarnanmcgurk@yahoo.com"
] | tiarnanmcgurk@yahoo.com |
f4531d80b956daee88322e42c6b8233028389eb8 | e18c03d2a314f800e9196d01b032319efa5651f3 | /Plugin64/dll_main.cpp | 3506bb99c2a7cc620968ddb420761a76a863ccd0 | [
"MIT"
] | permissive | pgek/EU4dll | 9a7124f4e7ba8e07eb658ec37b4b215a9887d252 | a71b82e564be309b589afab7b375d7cec8e6073c | refs/heads/master | 2022-11-07T03:23:03.411063 | 2020-06-23T23:44:20 | 2020-06-23T23:44:20 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,813 | cpp | // dllmain.cpp : DLL アプリケーションのエントリ ポイントを定義します。
#include "pch.h"
#include "plugin_64.h"
#include "mod_download.h"
BOOL APIENTRY DllMain(HMODULE hModule,
DWORD ulReasonForCall,
LPVOID lpReserved){
if (ulReasonForCall == DLL_PROCESS_ATTACH){
BytePattern::StartLog(L"eu4_jp... | [
"matanki.saito@gmail.com"
] | matanki.saito@gmail.com |
4b4cdaab7ead5c3d31731503b3baff28036c0f62 | dd39c8914a217a51ca721fb4e16f9424ef80c02e | /src/Utils/SDK/KeyValues.hpp | 88e8c662567b0a5381fcbfe45a737d54c24cf8bd | [
"MIT"
] | permissive | Gaubbe/SourceAutoRecord | cb30b08cbf5b1df01c0338fcb552cdb1f5537b72 | 4ffa9b86d2f991c7968fe23361187fb71a976e3c | refs/heads/master | 2023-03-15T16:34:24.573544 | 2022-06-30T22:18:06 | 2022-06-30T22:18:06 | 197,606,959 | 0 | 0 | null | 2019-07-18T14:53:30 | 2019-07-18T14:53:30 | null | UTF-8 | C++ | false | false | 1,622 | hpp | #pragma once
#include <cstdint>
#define INVALID_KEY_SYMBOL (-1)
class IKeyValuesSystem {
public:
virtual void RegisterSizeofKeyValues(int size) = 0;
virtual void *AllocKeyValuesMemory(int size) = 0;
virtual void FreeKeyValuesMemory(void *mem) = 0;
virtual int GetSymbolForString(const char *name, bool create = tr... | [
"krzyht@gmail.com"
] | krzyht@gmail.com |
cba4798f749c0b6ff4038a241946e87a38a6175a | 62f6c77591367460b0c96fe1612705781079fedc | /src/Warp-Framework/WProgressBar.h | fb1b37a506f5f27bd6a89599dbf484a9e2d49f09 | [
"MIT"
] | permissive | fcccode/Warp-Framework | 13152a77a5ec58ac1825eda0cbb871a232fa103f | 97c2046d6340bf97fddbb75bbabba67b86383d8f | refs/heads/master | 2020-03-27T22:19:01.573070 | 2018-08-22T18:40:46 | 2018-08-22T18:40:46 | null | 0 | 0 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 2,264 | h | // © 2018 NIREX ALL RIGHTS RESERVED
#ifndef _W_PROGRESS_BAR_H_
#define _W_PROGRESS_BAR_H_
#include "WControl.h"
#include "WLerp.h"
class WProgressBar : public WControl
{
public:
WProgressBar(W_INT zIndex = 0);
WProgressBar(W_FLOAT top, W_FLOAT left, W_FLOAT bottom, W_FLOAT right, W_INT zIndex = 0);
WProgressBar(W... | [
"Nirex.0@gmail.com"
] | Nirex.0@gmail.com |
84d352704a89d1ace72320fd53e5a77389c6a431 | 16c36597452771a1c16813057f4fde5df9121982 | /ClientModule/share/smsConfig.h | 4d0cf875bd285e4f4054f08d063b088220ef90c4 | [] | no_license | wsofc/gameplaza | a1ea8c59bb84a882d7e9255b39ba14b5a57a1ba2 | af3f36b7483d6412a8579ea791c17be78de9ac33 | refs/heads/master | 2020-03-19T04:12:22.328190 | 2018-06-03T14:59:04 | 2018-06-03T14:59:04 | 135,805,062 | 3 | 0 | null | null | null | null | GB18030 | C++ | false | false | 792 | h | #ifndef __SMS_CONFIG_H__
#define __SMS_CONFIG_H__
// 短信配置结构
struct STU_SMSConfig
{
STU_SMSConfig()
{
::memset(this, 0, sizeof(*this));
}
LPCTSTR szUrl; // 接口地址
LPCTSTR szAccount; // 帐号
LPCTSTR szAuthKey; // 认证密钥
UINT uCgid; // 通道组编号
UINT uCsid; // 签名编号
};
class SMSConfig
{
public:
SMSConfig();
~SMSC... | [
"1663899600@qq.com"
] | 1663899600@qq.com |
bf82398d3b4db8171ed33d7d2353cb2f35330870 | f520acd3459ddd213c5e9013db46f0e914765bdf | /home_page_new/project/2014_spring/project_5/ESDC2014/source/intel_board/camera/camera.h | 0dd3bc2757c885a33b5d0829d0e67552823627d1 | [
"Apache-2.0"
] | permissive | Tony-YI/home_page | 3450c54c59930dbf5b5e3d5195b90bb88ba750d6 | 8b991af6b230881fd4c429cf332a8f7c734834fa | refs/heads/master | 2021-01-19T02:03:45.848339 | 2018-01-06T06:32:21 | 2018-01-06T06:32:21 | 17,402,709 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,337 | h | /**********************************************************
This part is added by project ESDC2014 of CUHK team.
All the code with this header are under GPL open source license.
**********************************************************/
#ifndef _CAMERA_H
#define _CAMERA_H
#include <string>
#include <iostream>
#inc... | [
"455054421@qq.com"
] | 455054421@qq.com |
9651ad5c3826cf00cf33bd18c68eb7992aef8376 | b007d3e37e789a7039b8965addcc866bfc6d414b | /prime1.cpp | 9df1404dcd42299c646e1327f44ccf3613fa2be4 | [] | no_license | vishaldeyiiest/SPOJ | 3cbe7568f2760edc13a2b1186240dd70ab6c1474 | 18d5fc57aac5e30a882810f096f39235f74b7370 | refs/heads/master | 2021-01-18T20:21:56.297905 | 2016-10-27T13:16:54 | 2016-10-27T13:16:54 | 72,109,932 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,339 | cpp | #include <bits/stdc++.h>
#define MAX 100000
#define max 50000
using namespace std;
int stprime[max];
int c;
void sieve()
{
bool primes[max+100];
memset(primes, true, sizeof(primes));
primes[0] = false;
primes[1] = false;
primes[2] = true;
for (int i = 2; i*i <= max; ++i)
{
if (primes[... | [
"vishal.iiestcst@gmail.com"
] | vishal.iiestcst@gmail.com |
ba35486cb5ab3e45c810bf783d02257322bc2bdd | bd6daed9385494197471ce6a61643e8a886d5997 | /ese strutturati a blocchi/02-11-2020/1/Ese1.cpp | 214557c0f6f098c2aa40e84c892c6bce60efd19c | [] | no_license | kekko-py/cpp-kekkopy | 96d14039d98564cac627e239dce8d5e717f982e7 | 621a13315302383c8bb9df95599e7b768c0cc782 | refs/heads/main | 2023-04-30T15:45:14.096153 | 2021-05-18T05:48:18 | 2021-05-18T05:48:18 | 368,414,493 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,794 | cpp | // De Rosa Francesco 02/11/2020.
using namespace std;
#include <iostream>
//_____________________________________________________________________
/*
* Dati 2 elenchi di Libri:
- Codice
- Autore
- Anno
- Prezzo
- Genere
*/
//_____________________________________________________________________
// ... | [
"71934113+kekko-py@users.noreply.github.com"
] | 71934113+kekko-py@users.noreply.github.com |
511bcad8d2259ce3f58ca9e318538d249ee28707 | cb698a7fe7450f0553820362f3197acd22aadc61 | /libs/src/filters/radius_outlier_removal.cpp | 9d1b4a49d803a3b4e7e4cf07742698e798b54c7c | [] | no_license | jvcleave/ofxPCL | 2691658755c9d8900de7bacaa129ec23ce1090f4 | fb35f9b60ad989289a54002a5b2235c87a9efbac | refs/heads/master | 2020-12-25T08:36:58.054734 | 2012-12-22T17:44:10 | 2012-12-22T17:44:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,579 | cpp | /*
* Software License Agreement (BSD License)
*
* Copyright (c) 2010, Willow Garage, Inc.
* 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 mu... | [
"satoruhiga@gmail.com"
] | satoruhiga@gmail.com |
c55f4f2fc2a99b58b5cfffbe3cec541bfb6e67d8 | d415301a6451842b8fa3632d0605c6deb4a70056 | /utils/utils.cpp | 4a368e9b3ca916c6d95f95ced4eec8ddef2e8135 | [] | no_license | jimmytyt/TagTools | 188beebc456a0770b85e96067f32f6f0666f2092 | b2a0e52c07f9e2a9d4cb889c76524fa3fbcc84cd | refs/heads/master | 2020-03-09T05:23:03.028226 | 2017-07-21T01:59:03 | 2017-07-21T01:59:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,853 | cpp | #include "stdafx.h"
#include "../utils/utils.h"
#include <boost/filesystem.hpp>
#include <opencv2/opencv.hpp>
#include <sstream>
const std::vector<std::string>& scanFilesUseRecursive(
const std::string& rootPath, std::vector<std::string>& container){
namespace fs = boost::filesystem;
fs::path fullpath(rootPath, fs:... | [
"bluewang90@gmail.com"
] | bluewang90@gmail.com |
0d31118b21f0638243b61f8f8e51656fc6bd273b | ee7d8fe376ad23664cfe462a7d4e3e4b58be3b04 | /BASE61.CPP | f6c3d4efb5da22e4a0a21f26cb9c7caf9992b743 | [] | no_license | rohitchoudhary1707/C-notes | 4fc8aec970f8deeea53c6edce471325de19bd702 | aff8b24d4ef26275795529b54695cb6ed64e213b | refs/heads/master | 2020-07-25T02:02:42.473238 | 2019-09-12T19:08:28 | 2019-09-12T19:08:28 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 261 | cpp | #include<iostream.h>
#include<conio.h>
void main()
{
clrscr();
int a,b;
cout<<"\nenter first value:=";
cin>>a;
cout<<"\nenter second value:=";
cin>>b;
if(a>b)
cout<<"\na>b";
else if(b>a)
cout<<"\nb>a";
else
cout<<"\na & b are equal";
getch();
} | [
"noreply@github.com"
] | rohitchoudhary1707.noreply@github.com |
083e63a3749cad585ecc6948d9a4c634400ff969 | a76238837144e593b3318b3e5b76038cab146de4 | /cxx/testThread.cc | 847e4f008cb3da1288568b3b3be2df93e8498958 | [] | no_license | SharedSmally/poco | e1fa3e9ddd622e6b45d5276515b7a765d94fbbd2 | 129174cac0b941674481e18d1fae82acd954d86a | refs/heads/master | 2021-01-23T12:18:11.500218 | 2017-08-28T20:38:51 | 2017-08-28T20:38:51 | 26,986,222 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,955 | cc | //https://www.justsoftwaresolutions.co.uk/threading/multithreading-in-c++0x-part-2-function-objects-and-arguments.html
#include <thread>
#include <iostream>
#include <string>
#include <functional> // for std::ref
//Type1: function()
void print()
{
std::cout<<"Thread: from function()" << std::endl;
}
//Type2: fun... | [
"SharedSmally@gmail.com"
] | SharedSmally@gmail.com |
4ffdc48b63c525fd8fb1044ae6ebf326adf0d794 | 56f3588e16e4d0c85611cae296897b1a11dc61ad | /backjoon/stepbystep/38.swipping/17131.cpp | 53a60c1cdfe59dd0064af7990139e7690ccb76f2 | [] | no_license | cjswoduddn/algorithm-master | 24739f7481d4b51c03778181173a60faef09654a | 1be36ca27e2481fae905cb887dac7f9f373f0c7f | refs/heads/main | 2023-04-01T04:15:25.669272 | 2021-04-04T05:09:21 | 2021-04-04T05:09:21 | 336,210,582 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,477 | cpp | #include<stdio.h>
#include<queue>
#include<vector>
#include<algorithm>
#define x first
#define y second
#define MOD 1000000007
#define SIZE 200000
using namespace std;
typedef pair<int, int> pii;
class cmp{
public:
bool operator()(const pii& a, const pii& b){
return a.y > b.y;
}
};
int N;
void insert(vector<int>&... | [
"cjswoudddn@naver.com"
] | cjswoudddn@naver.com |
339bb91f95da1d13e97e56f8c9848fd6249980ab | 722dbd1d338eb5f1dc7a4400c80a5573668a73a5 | /Tools/Editor/MapEditorLayerList.h | 5d6687acca791c6601fcb80adc7c94a0dd829cbd | [] | no_license | hamfirst/LD44 | a89ffff07489d204a5b0ad7dae70006adfb6f58b | 07daf301b65aa77299861afd37cb0ee135352ab1 | refs/heads/master | 2022-12-23T04:34:15.859103 | 2021-01-24T21:33:17 | 2021-01-24T21:33:17 | 183,854,134 | 0 | 0 | null | 2022-12-08T23:54:18 | 2019-04-28T04:07:20 | C | UTF-8 | C++ | false | false | 2,557 | h | #pragma once
#include <QWidget>
#include <QScrollBar>
#include "Runtime/Map/MapDef.refl.h"
#include "DocumentListValueWatcher.h"
#include "DocumentSubValueListMirror.h"
#include "MapEditorLayer.h"
class MapEditor;
class MapEditorLayerList;
class MapEditorLayerList : public QWidget
{
Q_OBJECT;
public:
MapEditor... | [
"nick.weihs@gmail.com"
] | nick.weihs@gmail.com |
eb87f3096150f51fd3aed6f4d804e86818deeb45 | d3239fc58f6176b3040575609c8f35af085ab584 | /src/Macro.cpp | a4a6dde70d913fca6473f75570696af5745a2365 | [
"MIT"
] | permissive | drporto/corth | 86d368063456a021018868b08ebd4d01b88611f0 | 4e2092c30c121666e1d07136bc581818c5371d45 | refs/heads/main | 2023-08-20T18:25:27.915058 | 2021-10-24T13:39:46 | 2021-10-24T13:39:46 | 419,204,855 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 594 | cpp | #include "Macro.hpp"
Macro::Macro(const std::string& _name, const Location& _location) :
name(_name),
location(_location),
tokens() { }
std::ostream& operator<<(std::ostream& os, const Macro& macro) {
os << "(" << macro.location << ") " << macro.name;
//if (macro.parentmacro != -1) os << " FROM MA... | [
"drporto@outlook.com"
] | drporto@outlook.com |
818c854a032c65ecf8637174595bcf4caa83a567 | 9c4c1548ba832b370487733a5a9d4bcaccb65b2b | /cardReaderSystem.h | be7d8686ffee083c692a53e1476ffe2afae0bc9a | [] | no_license | bkmakerspace/bkms-door-code | fe9b7dbed574eb5f68246f92febf2cf93fa68f43 | a6a4200a9841eda3b011979a19b915caef2c8cdc | refs/heads/master | 2020-04-05T22:19:46.052665 | 2019-03-12T19:40:28 | 2019-03-12T19:40:28 | 157,252,662 | 0 | 0 | null | 2019-03-12T19:40:29 | 2018-11-12T17:45:26 | C++ | UTF-8 | C++ | false | false | 398 | h | #ifndef card_reader_system_h
#define card_reader_system_h
class CardReaderSystem {
public:
CardReaderSystem(DoorDisplay *display, DoorLock *lock, Makey *makey, Adafruit_PN532 *nfc, uint8_t *secret_key);
void initializeReader();
void attemptRead();
private:
DoorDisplay *display;
DoorLock *lock;
... | [
"philip@thekinfamily.com"
] | philip@thekinfamily.com |
ff775ada17efe4ff707d018821a0cbda29ee61b2 | 76f0efb245ff0013e0428ee7636e72dc288832ab | /out/Default/gen/blink/bindings/modules/v8/V8GeneratedModulesBindings51.cpp | ecb68f980640c29ab47a98a25031d7f9d1f5dd7b | [] | no_license | dckristiono/chromium | e8845d2a8754f39e0ca1d3d3d44d01231957367c | 8ad7c1bd5778bfda3347cf6b30ef60d3e4d7c0b9 | refs/heads/master | 2020-04-22T02:34:41.775069 | 2016-08-24T14:05:09 | 2016-08-24T14:05:09 | 66,465,243 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,587 | cpp | /*
* THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT.
*
* This file was generated by the action_derivedsourcesallinone.py script.
*
* Copyright (C) 2009 Google Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the fol... | [
"dckristiono@gmail.com"
] | dckristiono@gmail.com |
e04acfe12fbbb732c018d2d5aa32d11e436184b5 | f9c75bd852a05b2c0e82db314f4df9857ead91ae | /Graphics_SFML/Ui.cpp | f2415ea9dc4be25288f4eafcbcf96ef9e7aa0dd9 | [] | no_license | maxshay/sorting-algorithms | f89050e66906d4d924adbec1434d7a954bda01da | a30cbb088adc224f98029d51fa822a903b64ae03 | refs/heads/master | 2021-03-02T20:57:38.302389 | 2020-03-08T23:46:20 | 2020-03-08T23:46:20 | 245,904,746 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,905 | cpp |
#include "Ui.hpp"
UI::UI()
{
m_textInstructions.setCharacterSize(10);
m_textComparisons.setCharacterSize(10);
m_textSwaps.setCharacterSize(10);
m_availableAlgorithms.setCharacterSize(10);
m_activeAlgorithmLabel.setCharacterSize(10);
m_activeAlgorithm.setCharacterSize(10);
m_textInstructions.setPosition(10, ... | [
"maksimshaynyuk@gmail.com"
] | maksimshaynyuk@gmail.com |
074344dab38461208dd887170de0bdb10301e2dd | 88ae8695987ada722184307301e221e1ba3cc2fa | /third_party/skia/src/gpu/ganesh/gl/GrGLGpu.h | 4c2738c8dde5d51acc0bd533ac5aacb62e0e4a73 | [
"BSD-3-Clause",
"Apache-2.0",
"LGPL-2.0-or-later",
"MIT",
"GPL-1.0-or-later"
] | permissive | iridium-browser/iridium-browser | 71d9c5ff76e014e6900b825f67389ab0ccd01329 | 5ee297f53dc7f8e70183031cff62f37b0f19d25f | refs/heads/master | 2023-08-03T16:44:16.844552 | 2023-07-20T15:17:00 | 2023-07-23T16:09:30 | 220,016,632 | 341 | 40 | BSD-3-Clause | 2021-08-13T13:54:45 | 2019-11-06T14:32:31 | null | UTF-8 | C++ | false | false | 35,924 | h | /*
* Copyright 2011 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#ifndef GrGLGpu_DEFINED
#define GrGLGpu_DEFINED
#include "include/core/SkTypes.h"
#include "include/private/base/SkTArray.h"
#include "src/core/SkChecksum.h"
#include "src/co... | [
"jengelh@inai.de"
] | jengelh@inai.de |
8f32008d9a0e57709bdbb73a571e4d193d9ac1a4 | 974897eae62d73db4aa1bdfda4efa41c4e9dd0ed | /Source/MV/Network/url.h | 176acf98c47814d5c26d429802dd2712c4d47b60 | [] | no_license | Devacor/Bindstone | 71670d3d1e37d578a8616baad4a2b4dba36ff327 | 6b204c945d437456d79189509526962b89499839 | refs/heads/master | 2023-02-17T08:52:35.874390 | 2020-10-19T08:04:19 | 2020-10-19T08:04:19 | 40,729,765 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,475 | h | #ifndef _MV_URL_H_
#define _MV_URL_H_
#ifdef _MSC_VER
# pragma warning(disable:4786)
#endif
#include <vector>
#include <map>
#include <string>
#include <sstream>
#include "MV/Utility/stringUtility.h"
namespace MV {
/**
A Uniform Resource Identifier, as specified in RFC 3986.
The URI class provides methods for ... | [
"maxmike@gmail.com"
] | maxmike@gmail.com |
887fa49f80d70fb624b2706ff2dc23b0e7db0cb1 | 088eb6a7584246cb1077fd0d1843c3b533ca860f | /2D arrays/matrixSearch.cpp | 8ed51d117dd7345b84f4067140935ae78be95b21 | [] | no_license | Nikzero6/C---codes | 03383e31afee4d573c3598d4a119a31dcceae25a | 506da75dcb4ddeda8959906d5357b48e2863951c | refs/heads/master | 2023-08-28T01:38:10.953628 | 2021-10-24T09:11:50 | 2021-10-24T09:11:50 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 681 | cpp | #include <bits/stdc++.h>
using namespace std;
//only for sorted matrix
int main() {
int n,m;
cin>>n>>m;
int target;
cin>>target;
int a[n][m];
for(int i=0; i<n; i++){
for(int j=0; j<m; j++){
cin>>a[i][j];
}
}
int r=0, c=m-1;
bool fou... | [
"nikzerosub@gmail.com"
] | nikzerosub@gmail.com |
cb4f5026c784c4540450b156f8fe892f0877ee0e | a9417ee33272c3f60eba5e8a2d9837d8e05a0ab8 | /src/robot/system/capteurs/BoardI2CADC.h | 09505b68d5c429fbb63b243ca4fc7427a34dbd8a | [] | no_license | ARIG-Robotique/robot-system-lib | 6d642f1968068a2ea04e6e4aab5fdadaa80040e2 | dece6b5220a6e464982b1e2b68e9a40b0816266c | refs/heads/master | 2021-01-18T23:01:33.393872 | 2017-05-31T11:39:12 | 2017-05-31T11:39:12 | 20,418,779 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 768 | h | /*
* BoardI2CADC.h
*
* Created on: 12 avr. 2015
* Author: gdepuille
*/
#ifndef BOARDI2CADC_H_
#define BOARDI2CADC_H_
#include <Arduino.h>
#include <Wire.h>
#include "../../../common.h"
class BoardI2CADC {
public:
#define DIFFERENTIAL_INPUTS 0
#define SINGLE_ENDED_INPUTS 1
#define POWER_DOWN_BETWEEN_... | [
"gregory.depuille@sogelink.fr"
] | gregory.depuille@sogelink.fr |
41fbd8746012b70e27a04f3157c0a4602e896f72 | 9ac0d5a496dc02b1b21976fd53c6d69ca1bc660e | /include/bauasian/primitives/sphere.hpp | 8972fe43538451d43476d0a9fb39509345035738 | [] | no_license | karol-gruszczyk/graphics-engine | b38c0471f73cf97697c44788972101635b2a9025 | 98eda2ecb250ec408648c80c9a493354e68cf7fc | refs/heads/master | 2021-01-17T09:53:31.244827 | 2017-01-24T09:31:50 | 2017-01-24T09:31:50 | 37,024,101 | 2 | 0 | null | 2016-06-02T16:48:21 | 2015-06-07T16:47:46 | null | UTF-8 | C++ | false | false | 340 | hpp | #ifndef BAUASIAN_SPHERE_HPP
#define BAUASIAN_SPHERE_HPP
#include "abstract/entity_3d.hpp"
namespace bauasian
{
class Sphere;
}
class bauasian::Sphere : public Entity3D
{
public:
Sphere(float radius, unsigned num_sides);
float getRadius() const
{ return m_radius; }
private:
float m_radius;
};
#endif /* BAU... | [
"karol.gruszczyk@gmail.com"
] | karol.gruszczyk@gmail.com |
59afbee4ce35c7f920f110ffc655ac047a0955ff | 7b0e355c2f3186681a08092aef7e0171be1afb87 | /Chapter 11/Sketches/RGBled/RGBled.ino | a93ea09be90222453ee5b2b4e6d9ad17a3cd9426 | [
"MIT"
] | permissive | PacktPublishing/Mastering-Arduino | 9dd5294cfaf983791d643c4df4cad88a5cb3206a | 7ea86558ac228a5f470f4ea0702fc26503e6e22c | refs/heads/master | 2023-02-02T21:40:14.401034 | 2023-01-30T08:33:25 | 2023-01-30T08:33:25 | 150,537,280 | 6 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 729 | ino | #define REDPIN 11
#define BLUEPIN 10
#define GREENPIN 9
#define COMMON_ANODE
void setup() {
pinMode(REDPIN, OUTPUT);
pinMode(GREENPIN, OUTPUT);
pinMode(BLUEPIN, OUTPUT);
}
void loop() {
// put your main code here, to run repeatedly:
setColor(255, 0, 0); // Red
delay(1000);
setColor(0, 255, 0); // Gre... | [
"noreply@github.com"
] | PacktPublishing.noreply@github.com |
91e569e4aa0c307c2a1021fad2441e05d12c4fd1 | 2d5b504351a2141127a985a434052607fd2b9207 | /2DCalc/main.cpp | 104b274956e4bcb0049ac49042bdcbb6fc6e4b58 | [] | no_license | MarioLalov/GeomCalc | ffb0825f89de35a9fa58c6ac3b05ba5d9ee9a83f | 6c31e19fe3929886a7da86aa01708aad39c2985b | refs/heads/main | 2023-08-06T01:38:36.909004 | 2021-09-15T09:05:43 | 2021-09-15T09:05:43 | 397,573,475 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,206 | cpp | //#include "Point/point.h"
//#include "Vector/vector.h"
//#include "Line/line.h"
//#include "Polygon/polygon.h"
#include "Command/command.h"
int main()
{
/*Point A("A", 4, -1);
Point B("B", 4, 4);
Point C("C", -1, 1);
Point D("D", 5, -3);
Point E("E", -4, 1);
Point F("F", 8, 6);
Point G("G"... | [
"maryo.lalov@gmail.com"
] | maryo.lalov@gmail.com |
b7824af9fec570bbe8348e1246588a5f6e9ff9eb | 03dc28cda1b6c56d5d711976d1aad55f46a0ac73 | /N_KeyPointDescriptor.cpp | be16c63242d2d670520653336e89944b2a47b472 | [] | no_license | xuan0827/xuan0827 | 46a4db755def322d90bd2cd444c986fc0d937b38 | fadd69e492f30988f6a9187c9b210be2bc31d8f1 | refs/heads/master | 2021-01-17T08:05:00.867878 | 2016-06-30T04:45:30 | 2016-06-30T04:45:30 | 62,280,031 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 11,326 | cpp | /*
* Copyright (C) 2007-2008 Anael Orlinski
*
* This file is part of Panomatic.
*
* Panomatic is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later ve... | [
"jj0827jj@gmail.com"
] | jj0827jj@gmail.com |
1417e0a0dacbce3858b9689cb5f42536e5b120e5 | a6cb7626ceb1029047706cac020e94b7bb467c6a | /main.cpp | de8f653119a82c912d107adc5a7b7324bb7525c0 | [] | no_license | postasze/VideoInfoReader | ba7770865e5725b0e160b0c99755ca3dca90258d | 5b02477e17792541adcb82044905942f853e93ee | refs/heads/master | 2023-01-19T20:58:37.746437 | 2020-11-27T17:36:30 | 2020-11-27T17:36:30 | 316,562,953 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,113 | cpp | #include <iostream>
#include <json/value.h>
#include <fstream>
#include <jsoncpp/json/json.h>
using namespace std;
int main() {
std::ifstream video_info_file("video_frame_timestamps.json", std::ifstream::binary);
Json::Reader reader;
Json::Value jsonObject;
float timestamp, previousTimestamp = 0.0f, d... | [
"pawel.ostaszewski@tcl.com"
] | pawel.ostaszewski@tcl.com |
a1272c94528688630d7a18bfad572461ec6ca9fa | aa1dc6985205f33f8e90e6f020dd5311271821a7 | /src/helpers/auxcu.h | 47f6ecf5152cb78d27862ce89c5caa93f2870189 | [
"BSD-3-Clause"
] | permissive | Logrus/gpufilters | 911691979c82fd7ba2cfd2e2cb17c771ea0c1ad6 | 2ab0a4aca6e0afbeee07ac9d52c5c5faa9e30295 | refs/heads/master | 2016-08-12T18:25:28.309845 | 2016-03-23T20:11:39 | 2016-03-23T20:13:55 | 54,589,976 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,398 | h | #ifndef AUXCU_H_
#define AUXCU_H_
#include <iomanip>
#include "CMatrix.h"
#include <vector>
#include <assert.h>
#ifndef CLIP
#define CLIP(min, val, max) (fminf(max, fmaxf(min,val)))
#endif
#ifndef DIV_UP
#define DIV_UP(a, b) (((a) + (b) - 1) / (b))
#endif
#ifndef SQR
#define SQR(a) ((a)*(a))
#endif
#define SSTR( x... | [
"idlogrus@gmail.com"
] | idlogrus@gmail.com |
b266688bc9cad39d06ecc92b6351c5152de8cd54 | 2bf5dda3869b8faca2b0a3b2ad229500891b6879 | /WhiteGL/Src/Data/Collision/Collision.h | ea6b8903388bc5b4eb36a8665f650077b33b5f42 | [] | no_license | metalS10/WhiteGL | 9347519b415779e44487972d1730364a3aa6e637 | 0194fadfd336a7e5a94de8531941c240e776abd7 | refs/heads/master | 2021-07-15T01:33:42.647101 | 2018-10-31T01:18:58 | 2018-10-31T01:18:58 | 106,292,629 | 0 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 2,787 | h | #pragma once
#include "../../Constants.h"
#include "../../Vec2.h"
//=====================================================
//実体データはここから書く
//=====================================================
class CBody
{
public:
float m_left;
float m_top;
float m_right;
float m_bottom;
CBody(){}
CBody(float left,float top,fl... | [
"tatsujin10.04@gmail.com"
] | tatsujin10.04@gmail.com |
b52e5b261d6fe9ddb1a058e00936773494338baf | 000546c22a1aa2e746a8499e605841a2ac4c60dd | /Codeforces/Rounds/897/C.cpp | 1ea857562064eae128f5d081aa75ffc743713f67 | [] | no_license | leandrovianna/programming_contests | be19a11e0f9e84f519628e78f56df8035f7c7501 | 78e31f4e327be819dd310df4d346b7ac2934f7dd | refs/heads/master | 2021-07-13T07:36:59.095154 | 2021-07-10T14:14:05 | 2021-07-10T14:14:05 | 77,759,229 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,361 | cpp | //Codeforces - Nephren gives a riddle - 897C
#include <bits/stdc++.h>
using namespace std;
const int N = 100'010;
const string BASE = "What are you doing at the end of the world? Are you busy? Will you save us?";
const string s1 = "What are you doing while sending \"";
const string s2 = "\"? Are you busy? Will you sen... | [
"leandro97vianna@gmail.com"
] | leandro97vianna@gmail.com |
9a6e4eed72a8e7edf44d24d8d971a0457b8c3dec | 2bda80b1021136ec1a1cd02d5b0ff8d2b4c71232 | /LBNECalibrationModule/src/EmulatedDevice.h | 082158b0b2d80b0bd6e2fd358740a504ad8b4571 | [] | no_license | kaikai581/LBNE35T | 933a1eba532b5ed05ad69bc847557144ba5378be | 1df8af59b29c75c487e443d7b2c483ef6dd903f1 | refs/heads/master | 2016-09-06T19:38:32.091150 | 2016-01-18T04:38:03 | 2016-01-18T04:38:03 | 38,787,628 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,740 | h | #ifndef EMULATEDDEVICE_H__
#define EMULATEDDEVICE_H__
#include "anlTypes.h"
#include "Device.h"
#include <iostream>
#include <iomanip>
#include <string>
#include <stdint.h>
#include <cstdio>
#include <cstring>
#include <unistd.h>
#include <memory>
#include "SafeQueue.h"
#include <atomic>
namespace S... | [
"kaikai5816787@gmail.com"
] | kaikai5816787@gmail.com |
1105d4bf993dbc4dfb4e772376c16354bfa0a32a | 44e27d0ccccfcd196c0fa718b809da23e743c481 | /example/oglplus/027_flow.cpp | bcbe0092ee88aee31517773261d72d500e889129 | [
"BSL-1.0"
] | permissive | swq0553/oglplus | b294108403803a12d0de929c20ffc7de314a29b3 | 7fa6da6369784feb349d045d8e3baeff84aebe73 | refs/heads/master | 2021-01-15T09:08:51.111032 | 2015-06-26T18:33:40 | 2015-06-26T18:33:40 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,173 | cpp | /**
* @example oglplus/027_flow.cpp
* @brief Shows how to generate a normal map simulating flowing liquid
*
* @oglplus_screenshot{027_flow}
*
* Copyright 2008-2014 Matus Chochlik. Distributed under the Boost
* Software License, Version 1.0. (See accompanying file
* LICENSE_1_0.txt or copy at http://www.bo... | [
"chochlik@gmail.com"
] | chochlik@gmail.com |
3efc7527cd1f5ebbca85dd4d9e6d567a725a37ca | 5622d8a09f2586025c6bb1d82495c75533a71e91 | /C++ program that calculate Mean, Median and Mode in an Array/main.cpp | 889c1de61410da42ee38e628679e7d3e0452aabd | [] | no_license | mrcse/Cpp-Basic-Programs | 1c5bfcb434f88f4feb2e66548f4cfd77840a9cac | 493728e541258106196849fe73b342c2922b0f9a | refs/heads/main | 2023-02-27T23:00:50.143635 | 2021-01-30T18:08:48 | 2021-01-30T18:08:48 | 334,369,754 | 6 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 695 | cpp | #include <iostream>
using namespace std;
int mode(int a[],int x)
{
int temp;
for(int i=0;i<x;i++)
for(int j=0;j<x;j++)
if(a[i+j]==a[j])
temp=a[j];
return temp;
}
int main()
{
int x;
float sum=0.0;
cout<<"Enter array size : ";
cin>>x;
int a[x];
... | [
"noreply@github.com"
] | mrcse.noreply@github.com |
e61867369511b290c126acdff14d48c4100589ff | 9ec4889daafa13a268f1c15da0d4b46ac3fd9d23 | /PlutoRover.cpp | 33f3c292881983e1304f9eb8c51061c9f652e0bd | [] | no_license | colleenDunlap/PlutoRover | bdefa4d8efa29507102572d256560d0b862b7f93 | 44386dc9304630cb389205bceb9a42557d3b812f | refs/heads/master | 2020-04-11T13:31:44.307525 | 2018-12-15T23:43:18 | 2018-12-15T23:43:18 | 161,813,520 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,015 | cpp | #include "PlutoRover.hpp"
#include <string>
#include <vector>
#include <iostream>
using namespace std;
PlutoRover::PlutoRover(){
xPos = 0;
yPos = 0;
Direction = 'N';
}
PlutoRover::PlutoRover(int x, int y, char direction){
xPos = x%PLUTOCIRCUMFERENCE;
if(xPos<0){
xPos = xPos + P... | [
"colleen.dunlap@marquette.edu"
] | colleen.dunlap@marquette.edu |
19472807d3361d11237a044c6d4a5191a8f2d949 | 666a1bf4e9c2e3213c230d311ce5227f88f3d54f | /basic/goodarray.cpp | 7a1517d8c24191338ecae9c042ce695a655e4279 | [] | no_license | JDI-Kim/Problem_Solving_vscode | 76be06d969a64a47600cd362b9f40b9a4edf6a4c | b1bf8033e2a55e7189eeaa905af0df3e1a448534 | refs/heads/master | 2022-10-23T10:06:11.992751 | 2020-06-06T07:02:21 | 2020-06-06T07:02:21 | 239,445,678 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,194 | cpp | /*
BOJ #2661 좋은 수열 **
*/
#include <iostream>
using namespace std;
int N;
const int maxN=80;
int arr[maxN];
void read(){
cin>>N;
}
bool isBad(int count){
int half=(count+1)/2;
for(int len=1;len<=half;++len){
bool isBad=true;
for(int check=0;check<len;++check){
if(arr[count-che... | [
"gorae.k0@gmail.com"
] | gorae.k0@gmail.com |
4c1e2a1e443ee0cf618214d554741c9b92de7b62 | e3f64b5dea5e0c8137b3dd84afbd948a5c585ba6 | /gazebo/rendering/Heightmap.cc | f5f81abea789cfaf0210d28379b8f76dfdbd7df6 | [
"Apache-2.0"
] | permissive | Karandaras/scene-reconstruction-gazebo | 40a99d9ae8820ba76b1d298ceabb91813b91402e | 8fdfc66ee5a73a0d18e36cf85e965f964e1ad15d | refs/heads/master | 2020-12-24T15:40:04.385097 | 2013-01-24T08:05:01 | 2013-01-24T08:05:01 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,852 | cc | /*
* Copyright 2011 Nate Koenig
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | [
"bastian.klingen@rwth-aachen.de"
] | bastian.klingen@rwth-aachen.de |
142021c62120c298463e74cb206d6e5370c06c86 | eaad4712bd497bade3d26cfa33713a7ad921a8ff | /Codeforces/1065A_Vasya and Chocolate.cpp | b5538179aced25191611d1776c7c5073f7ed8f09 | [
"MIT"
] | permissive | lieahau/Online-Judge-Solution | 7114c6ec8eac8e3c594d5c2e3c8b6412857f991d | 26d81d1783cbdd9294455f00b77fb3dbaedd0c01 | refs/heads/master | 2022-04-23T21:17:21.311192 | 2020-04-13T11:11:34 | 2020-04-13T11:11:34 | 255,291,628 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 532 | cpp | /*
People who don't work hard
don't have the right
to be envious of the people with talent.
People fail because
they don't understand
the hard work necessary to be successful.
*/
#include <bits/stdc++.h>
using namespace std;
long long int tc, s, a, b, c, ans;
int main()
{
... | [
"noreply@github.com"
] | lieahau.noreply@github.com |
503fe1dec1facb71c0d659c0d53fdf8a4edd604c | 52c66eb8770a6c4da6a7a884553cacc1bd9c8aa4 | /src/qt/rpcconsole.cpp | 65c6a7fa25873164ba2d4c572627d5ed5bb3b1a2 | [
"MIT"
] | permissive | PassionLTC/testcoin | 29fb16bcc46e779619fe4c15518866f58e4b02f8 | 7c13771ed4d2c3509f26503bf4dc8de4fdfa522a | refs/heads/master | 2016-09-11T00:25:53.274098 | 2013-05-11T00:20:03 | 2013-05-11T00:20:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,285 | cpp | #include "rpcconsole.h"
#include "ui_rpcconsole.h"
#include "clientmodel.h"
#include "bitcoinrpc.h"
#include "guiutil.h"
#include <QTime>
#include <QTimer>
#include <QThread>
#include <QTextEdit>
#include <QKeyEvent>
#include <QUrl>
#include <QScrollBar>
#include <boost/tokenizer.hpp>
#include <openssl/crypto.h>
//... | [
"passionltc@googlemail.com"
] | passionltc@googlemail.com |
afa84efc63efb0ed9c9431d45ab17af6bbe638f9 | fc4d9d2249eabae6228597b32363676e5b3537d2 | /common/src/vm/atomic.cpp | 634812b377e5eff3a609745ab249ddeb4e1361c8 | [] | no_license | xchbx/intel_qsv | 4d1e11fc55a5d68c880fb1c461d9d53b0bde4897 | b84becf6955c221f7f72ad69fdd2a36487f60989 | refs/heads/master | 2020-09-15T21:47:03.368805 | 2019-11-28T13:26:50 | 2019-11-28T13:26:50 | 223,562,941 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,167 | cpp | /******************************************************************************\
Copyright (c) 2005-2018, Intel Corporation
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. Redistributions of source c... | [
"124635957@qq.com"
] | 124635957@qq.com |
2774fafe7ca1a15c56b7cdee592d0590b84eb98b | 7e3ca66dfdc9d85cbb34a6b00815e161486a0fa7 | /c/Class8/1091.cpp | d128b04d7519ad245a391e1b4e363b6f36b3ab06 | [] | no_license | fina-death/fina-death.github.io | b1b0a139b241aa7471b0389474eab163e0c6701d | b6ef36b8ee5a169b150c6a14145e467ac5824b65 | refs/heads/master | 2021-01-09T21:42:40.542780 | 2016-09-06T08:10:16 | 2016-09-06T08:15:17 | 49,065,852 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 342 | cpp | #include <iostream>
/* run this program using the console pauser or add your own getch, system("pause") or input loop */
using namespace std;
void swapfun(int &x, int &y){
int tmp;
tmp = y;
y = x;
x = tmp;
}
int main1091(int argc, char** argv) {
int a ,b;
cin >> a >> b;
swapfun(a, b);
cout << a << endl;
co... | [
"finaldeath0953@gmail.com"
] | finaldeath0953@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.