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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
7e4b5f7cc281489853e80e153c21e4ae780a606d | 585158b1857434f2beed390ef5e240606c751e08 | /connection.cpp | 5101662916713685b480ac5f5885b15525e349a3 | [] | no_license | star2sea/asio_echo | d1600150d4a8ec4848a1396e9fc680606d426742 | e3743eab0c436d44766aa7c55556c57d4d20508d | refs/heads/master | 2020-06-28T16:02:01.860133 | 2019-08-03T06:08:25 | 2019-08-03T06:08:25 | 200,275,936 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,244 | cpp | #include "connection.h"
#include "boost/bind.hpp"
#include <iostream>
using namespace boost::asio;
Connection::~Connection() {
stop();
}
void Connection::start() {
started_ = true;
do_read();
}
void Connection::stop() {
if (started_) {
started_ = false;
sock_.close();
}
}
size_t Connection::read_complete... | [
"qbh1897@163.com"
] | qbh1897@163.com |
7ddc6fa463ede97184d2303152ab277e21e02e67 | 69ae9ec52e893d18a62d8eb2e0352ea3f5f53581 | /server.cpp | fa4b9c1cf95c1c5bb203f6be4032429d1fde793e | [] | no_license | CarlosPena00/Server | a545504e3761770ba97f944a2eef15403a78e3d7 | 67986f7e2595f22fe51f3fea3f6a553c930bcd83 | refs/heads/master | 2021-01-11T18:44:14.141593 | 2017-01-21T00:16:15 | 2017-01-21T00:16:15 | 79,611,348 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,422 | cpp | #include "server.hpp"
Server::Server(int portNo){
this->sockFD = socket(AF_INET, SOCK_STREAM, 0);
if (sockFD < 0){
error("Error Opening Socket ");
exit(1);
}
bzero((char *) &servAddr, sizeof(servAddr));
this->portNo = portNo;
servAddr.sin_family = AF_INET;
servAddr.sin_addr.s_addr... | [
"chcp@cin.ufpe.br"
] | chcp@cin.ufpe.br |
a873a1d6e14f4fa7c5ed18cc942c382e0a64334a | 6b2a8dd202fdce77c971c412717e305e1caaac51 | /solutions_2749486_0/C++/kleninz/B.cpp | 4e5e51d5c1a7d8d963c9760acb02f49152dd87b8 | [] | no_license | alexandraback/datacollection | 0bc67a9ace00abbc843f4912562f3a064992e0e9 | 076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf | refs/heads/master | 2021-01-24T18:27:24.417992 | 2017-05-23T09:23:38 | 2017-05-23T09:23:38 | 84,313,442 | 2 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 1,048 | cpp | #include <set>
#include <map>
#include <cmath>
#include <stack>
#include <queue>
#include <string>
#include <cstdio>
#include <vector>
#include <utility>
#include <cstdlib>
#include <iostream>
#include <algorithm>
#define INF 2e9
#define pb push_back
#define mp make_pair
#define forn(i,n) for (int i = 0; i < n; i++)
u... | [
"eewestman@gmail.com"
] | eewestman@gmail.com |
5e7f80b431f1634b351256b735d19b7ee93437b8 | 37ba3d21dcb6edd21e48dbb7f12591ac3590ab64 | /cpp_problems_competitive/DownToZeroII.cpp | 0e2f34360a69ee3fdaba7b22dca18c3e7f67dc1d | [] | no_license | Hygens/hackerearth_hackerrank_solutions | 2feaedec255a85792d305bb8ff35675254a03f2a | 86cc4c9ca4d5246f24db8cda93400f1d7ee00882 | refs/heads/master | 2021-07-06T15:56:28.906533 | 2020-04-28T22:45:56 | 2020-04-28T22:45:56 | 55,160,498 | 1 | 2 | null | 2020-10-01T06:48:09 | 2016-03-31T15:15:36 | Python | UTF-8 | C++ | false | false | 1,230 | cpp | //#include <cmath>
//#include <cstring>
//#include <cstdio>
//#include <vector>
//#include <queue>
//#include <iostream>
//#include <algorithm>
//using namespace std;
//const int ln = 1001010;
//bool v[ln];
//int n;
//void start(){
// memset(v, 0, sizeof(v));
//}
//
//void calcule(pair<int,int> &c, queue<pair<int,in... | [
"noreply@github.com"
] | Hygens.noreply@github.com |
85c54c4f66bbfdaf60838c9f006a2437e2baf8d1 | 67f988dedfd8ae049d982d1a8213bb83233d90de | /external/chromium/chrome/browser/extensions/api/extension_action/script_badge_apitest.cc | 2cd19df0abc0977bc4d7e76a6bb8732dab34fc6f | [
"BSD-3-Clause"
] | permissive | opensourceyouthprogramming/h5vcc | 94a668a9384cc3096a365396b5e4d1d3e02aacc4 | d55d074539ba4555e69e9b9a41e5deb9b9d26c5b | refs/heads/master | 2020-04-20T04:57:47.419922 | 2019-02-12T00:56:14 | 2019-02-12T00:56:14 | 168,643,719 | 1 | 1 | null | 2019-02-12T00:49:49 | 2019-02-01T04:47:32 | C++ | UTF-8 | C++ | false | false | 3,787 | 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 "chrome/browser/extensions/browser_event_router.h"
#include "chrome/browser/extensions/extension_action.h"
#include "chrome/browser/extension... | [
"rjogrady@google.com"
] | rjogrady@google.com |
1a181bc99d10c4a25e0590f63f4eab255af7b758 | 0a885eab87465c9343ff67c4b701d3c9c976b0fb | /core/Hardware.h | 272218965dc01cd6f27f59b6dc23fd5b9cbbeac8 | [] | no_license | slagyr/nitelite | 829aa0e95211c2df299009ab943c2e0ff72dc40e | ef7dc8d641ce0cff1b19269a7a28331f0710094c | refs/heads/master | 2020-08-16T03:06:47.984230 | 2019-11-12T15:11:56 | 2019-11-12T15:11:56 | 215,447,254 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,190 | h | #ifndef HARDWARE_H
#define HARDWARE_H
#include "core.h"
class Hardware {
public:
virtual void pinToInput(byte pin) = 0;
virtual void pinToInputPullup(byte pin) = 0;
virtual void pinToOutput(byte pin) = 0;
virtual int readDigitalPin(byte pin) = 0;
virtual int readAnalogPin(byte pin) = 0;
virtu... | [
"micahmartin@gmail.com"
] | micahmartin@gmail.com |
d0d9b60a60a1c81a9812556f2d2f422f5fff3720 | 34fd9e6997ac72b4bb4668708c0fa739cd0779b5 | /smooth.cpp | 7d307661455114ba8abe33079fcda7e77c13b531 | [
"MIT"
] | permissive | lawnjelly/godot-smooth | c5eeda154e42830d3bf26f8687497dac5a34bed4 | d20e45163b07c4c99e8c5331893a7758d6fd50bb | refs/heads/master | 2023-07-05T10:30:38.334651 | 2021-08-04T14:04:25 | 2021-08-04T14:04:25 | 197,944,289 | 30 | 8 | null | null | null | null | UTF-8 | C++ | false | false | 5,458 | cpp | // Copyright (c) 2019 Lawnjelly
// 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, distr... | [
"noreply@github.com"
] | lawnjelly.noreply@github.com |
24b74f2ae97d07fffa062246eb6c0282ffec4a22 | 8dc84558f0058d90dfc4955e905dab1b22d12c08 | /third_party/blink/renderer/core/frame/csp/csp_directive_list.h | 753888434931f7c8fd4a90fd9ccd2df55f8fe3d1 | [
"LicenseRef-scancode-unknown-license-reference",
"BSD-3-Clause",
"LGPL-2.0-only",
"BSD-2-Clause",
"LGPL-2.1-only",
"LGPL-2.0-or-later",
"GPL-1.0-or-later",
"MIT",
"Apache-2.0"
] | permissive | meniossin/src | 42a95cc6c4a9c71d43d62bc4311224ca1fd61e03 | 44f73f7e76119e5ab415d4593ac66485e65d700a | refs/heads/master | 2022-12-16T20:17:03.747113 | 2020-09-03T10:43:12 | 2020-09-03T10:43:12 | 263,710,168 | 1 | 0 | BSD-3-Clause | 2020-05-13T18:20:09 | 2020-05-13T18:20:08 | null | UTF-8 | C++ | false | false | 17,693 | h | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef THIRD_PARTY_BLINK_RENDERER_CORE_FRAME_CSP_CSP_DIRECTIVE_LIST_H_
#define THIRD_PARTY_BLINK_RENDERER_CORE_FRAME_CSP_CSP_DIRECTIVE_LIST_H_
#include ... | [
"arnaud@geometry.ee"
] | arnaud@geometry.ee |
6554e0b701a8134c7520356ca89b921aa21d2225 | ccceda1664791a42d22e1cd8e4eec7a9bc108ced | /deploy/ga/eclipse-project/GA/src/framework/LocalSearch.h | 4fdc67cb59bc8ef5c155b9422c9579fd6f381992 | [] | no_license | evellynsc/MyExperiments | a2049f98432bf2819216fdd845315d9963cf5798 | cc4ae5357b96633ed204c133afd7b9601a5999bd | refs/heads/master | 2021-01-18T21:21:32.400749 | 2016-05-24T17:35:37 | 2016-05-24T17:35:37 | 32,228,878 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 284 | h | /*
* LocalSearch.h
*
* Created on: 09/11/2014
* Author: evellyn
*/
#ifndef LOCALSEARCH_H_
#define LOCALSEARCH_H_
#include "../Individual.h"
class LocalSearch {
public:
virtual Individual run(Individual) = 0;
virtual ~LocalSearch(){};
};
#endif /* LOCALSEARCH_H_ */
| [
"evellyn.cavalcante@gmail.com"
] | evellyn.cavalcante@gmail.com |
7d10259775e4323b6487ab495b9718cd568b9681 | 597087dce4dd5591cecbda1b76f2680955823f30 | /ad_map_access/include/ad/map/intersection/CoreIntersection.hpp | 229a5c8e2e86a094f1b2f0007bc6c78206daf80e | [
"MIT"
] | permissive | carla-simulator/map | 5bea9c2528b8d90d40d7a91c739a9d3d80f7a0ca | cc9618fd005bc28ad08d0f89f30911bb7a75a41e | refs/heads/master | 2023-05-24T18:10:18.773260 | 2022-10-04T09:25:57 | 2022-10-04T09:25:57 | 226,390,805 | 87 | 44 | MIT | 2023-04-26T13:26:13 | 2019-12-06T18:55:16 | C++ | UTF-8 | C++ | false | false | 14,101 | hpp | // ----------------- BEGIN LICENSE BLOCK ---------------------------------
//
// Copyright (C) 2018-2021 Intel Corporation
//
// SPDX-License-Identifier: MIT
//
// ----------------- END LICENSE BLOCK -----------------------------------
/**
* @file
*/
#pragma once
#include <map>
#include <memory>
#include <sstream>
... | [
"noreply@github.com"
] | carla-simulator.noreply@github.com |
3904d9373eeb7c242c6e0652d1ddffce1ebc396c | 00f785ee987cb6923db9b7f283a1843db12c384c | /clientCache.cc | 342ff8227608b95aa48c7e26316a167b6597a6e8 | [] | no_license | pyrovski/dpfs | 8c223c659ea4fdd7fa8667988503587429f9985a | acb6dd4ce4a8a792472fc9fc4bce2e5295dc9cc6 | refs/heads/master | 2021-01-10T04:46:23.659930 | 2015-12-16T20:41:10 | 2015-12-16T20:41:10 | 47,600,853 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 132 | cc | #include "clientCache.h"
using namespace std;
clientCache::clientCache(uint64_t maxBytes): maxBytes(maxBytes),currentBytes(0)
{
}
| [
"peter.eldridge.bailey@gmail.com"
] | peter.eldridge.bailey@gmail.com |
d4d92bd682191183fbba726fad0b254cadf168ec | 83b65d0105504d9d4655495a2d924382e41f959a | /audio_compression/masking.cpp | e6c6eb52800fb75960d7724e6831bca928dec927 | [
"BSD-3-Clause",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | jeffreyforkfolder/lecture-demos | a343ceeaaf5044a5535a6bf075991d00e9dd7ddb | 0a0a2eecc45fe91520c0960a76d1d39841a6f0cb | refs/heads/master | 2020-06-29T03:36:54.380560 | 2019-07-03T06:34:40 | 2019-07-03T06:34:40 | 200,428,976 | 0 | 0 | BSD-3-Clause | 2019-10-28T14:26:40 | 2019-08-03T23:12:08 | C++ | UTF-8 | C++ | false | false | 6,777 | cpp | //Illustration of frequency masking
// Andreas Unterweger, 2017-2018
//This code is licensed under the 3-Clause BSD License. See LICENSE file for details.
#include <iostream>
#include <limits>
#include <array>
#include <opencv2/core.hpp>
#include <opencv2/highgui.hpp>
#include "common.hpp"
#include "sinewave.hpp"
#i... | [
"dustsigns@gmail.com"
] | dustsigns@gmail.com |
8768d429b0d2c37bc6c52ffb5f461af37bd9cbcf | df51418d7ff05c12f3a33410c675817febdea814 | /src/boink/cdbg/solid_compactor.cc | 993951e12336540887a28208a058f3edf8fc0f39 | [
"MIT"
] | permissive | ctb/boink | 629bf718d56c0050ceb219ce891474831c230e82 | 34bf4ca800ed401429ced5070b46974d96a3abc7 | refs/heads/master | 2020-05-15T07:45:04.568368 | 2019-03-23T00:53:03 | 2019-03-23T00:53:03 | 182,145,589 | 0 | 0 | null | 2019-04-18T19:27:08 | 2019-04-18T19:27:07 | null | UTF-8 | C++ | false | false | 268 | cc | /* boink/cdbg/solid_compactor.cc
*
* Copyright (C) 2018 Camille Scott
* All rights reserved.
*
* This software may be modified and distributed under the terms
* of the MIT license. See the LICENSE file for details.
*/
#include "boink/cdbg/solid_compactor.hh"
| [
"camille.scott.w@gmail.com"
] | camille.scott.w@gmail.com |
9bce159afbcefb78f593d6ac13b7b5d6ed21b0c9 | 16c2ab0383e8daf4ebbda9c215e1c230be9f7c15 | /Testing/H5FDdsmTestDriver.h | fefc35375e0ce777e0e64fc399b536ff442477a0 | [] | no_license | soumagne/h5fddsm | efcb44e4d01d63c1fb240fa488e059a55a8409a2 | 63d6b18d2f85ff383c7ee39552849e582360aad0 | refs/heads/master | 2021-07-23T23:17:39.765941 | 2014-10-23T09:25:58 | 2014-10-23T09:25:58 | 109,051,657 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,744 | h | /*=========================================================================
Project : H5FDdsm
Module : H5FDdsmTestDriver.h
Authors:
John Biddiscombe Jerome Soumagne
biddisco@cscs.ch soumagne@cscs.ch
Copyright (C) CSCS - Swiss National Supercomputing Centre.
... | [
"soumagne@cscs.ch"
] | soumagne@cscs.ch |
145ca82373ddf78389164b9e3281d2e0250988ee | e753f8ab10eb6732f272217169e48ab4754295ee | /japanese/scim-canna/dragonfly/patch-src_canna_jrkanji.cpp | f0f6186fa0282639d56310c64c82645c2d337e6b | [
"BSD-2-Clause"
] | permissive | DragonFlyBSD/DPorts | dd2e68f0c11a5359bf1b3e456ab21cbcd9529e1c | 4b77fb40db21fdbd8de66d1a2756ac1aad04d505 | refs/heads/master | 2023-08-12T13:54:46.709702 | 2023-07-28T09:53:12 | 2023-07-28T09:53:12 | 6,439,865 | 78 | 52 | NOASSERTION | 2023-09-02T06:27:16 | 2012-10-29T11:59:35 | null | UTF-8 | C++ | false | false | 270 | cpp | --- src/canna_jrkanji.cpp.orig 2006-02-02 05:04:11.000000000 +0200
+++ src/canna_jrkanji.cpp
@@ -24,6 +24,8 @@
#include <config.h>
#endif
+#include <cstring>
+
#include "canna_jrkanji.h"
#include "scim_canna_imengine.h"
#include "scim_canna_imengine_factory.h"
| [
"nobody@home.ok"
] | nobody@home.ok |
04d371c4146504d971fae03ba11d7d896808ed4d | a94b77c8622c50103526f50508cbe178500d36e5 | /VisualImpro/test/TestColor/TestColorBlackToWhite.cpp | 4ec7161067119bdc7a1a322bf25a5c61a8f49618 | [] | no_license | scrime-u-bordeaux/S8-PDP | cb3431008e193fc35578690cf97785fb0a9d29c4 | 1b89f2e605823c3f00d63cb886ed1304712cd521 | refs/heads/master | 2021-04-21T21:23:52.874020 | 2020-12-22T12:46:39 | 2020-12-22T12:46:39 | 249,815,926 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,403 | cpp | /**
* \file TestColorBlackToWhite.cpp
* \author Alexandre CASANOVA--FRANGER, Gauthier LARMARQUE, Paul SIMORRE,
* Lucas VIVAS
* \date March 2018
*
* \brief Test program of the ColorBlackToWhite function.
*
* This test is used to show us that our color function taking a float as
* paramet... | [
"acasanova33560@hotmail.fr"
] | acasanova33560@hotmail.fr |
e7167f99b13cdee7d0a10887fcf433f699dee5f2 | 95c97b93ca08045bbea7978f9dd192d796098778 | /p1.cpp | 32b8e5a8d45b7a0323879226d7003738a60fc20d | [] | no_license | tanvir-rahman-ewu/UVA-Solutions | 0d133bf276fd45fe57b88fa6f75e55ac5a6dc275 | 7c8bd8671e230790e5e757bafd1b201f115ede8c | refs/heads/master | 2020-12-23T15:11:13.808029 | 2020-08-22T06:54:42 | 2020-08-22T06:54:42 | 237,186,468 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 261 | cpp | #include<bits/stdc++.h>
using namespace std;
int main()
{
int a,b,ans;
while(scanf("%d%d",&a,&b)!=EOF)
{
if(a<b)
{
swap(a,b);
}
ans=a-b;
printf("%d\n",ans);
}
return 0;
}
| [
"tanvir.rahman.ewu@gmail.com"
] | tanvir.rahman.ewu@gmail.com |
1d6509030c17809d7cd119705d421af2538592f5 | 0ca652b9687ae8adcfc8571634f0c0e87446ed82 | /src/kalman_filter.h | 4a622f5a7ea44dbc80fd36ab8accee56cd13c870 | [
"MIT"
] | permissive | antonpavlov/Extended-Kalman-Filter | 0712311ced2f3e11ec0c06b46d1d6c2ff83f1acf | 80264c1623d9ff6fd1f676cc02b5d05c292bfae2 | refs/heads/master | 2020-03-09T04:28:56.223719 | 2018-04-17T02:59:10 | 2018-04-17T02:59:10 | 128,588,820 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,609 | h | #ifndef KALMAN_FILTER_H_
#define KALMAN_FILTER_H_
#include "Eigen/Dense"
class KalmanFilter {
public:
// state vector
Eigen::VectorXd x_;
// state covariance matrix
Eigen::MatrixXd P_;
// state transition matrix
Eigen::MatrixXd F_;
// process covariance matri... | [
"apavlov@logixits.com"
] | apavlov@logixits.com |
5d66238bf2af97c954dc88faa8a05d322e416159 | c31aee5e34737fe8f9b6646c29a3ba14d72a339e | /dateTypeImp.cpp | c2ab2958c823d18d6722d1b13df348b52a7f4f83 | [] | no_license | blabarbera/HospitalBilling | fadaaf02168d6c888615c8aefd30c00bfc0585b3 | 9fa3ab9db0e1c4006ffb220d3f16606f952b1c63 | refs/heads/master | 2020-07-22T10:02:14.705584 | 2019-09-10T04:04:23 | 2019-09-10T04:04:23 | 207,161,083 | 0 | 0 | null | 2019-09-10T04:04:26 | 2019-09-08T19:15:08 | C++ | UTF-8 | C++ | false | false | 466 | cpp | #include "dateType.h"
#include <iostream>
using namespace std;
void dateType::setDate(int m, int d, int y)
{
dMonth = m;
dDay = d;
dYear = y;
}
int dateType::getMonth() const
{
return dMonth;
}
int dateType::getDay() const
{
return dDay;
}
int dateType::getYear() const
{
return dYear;
}
void dateType::prin... | [
"blabarbera@outlook.com"
] | blabarbera@outlook.com |
eb098e582095f6ad328a6bc5a15f489db2182cf2 | a7c00841503643db2f061acc54f5053e2e59367a | /Primitive Engine/EntityManager.cpp | 3f267f6625efd3decb4ed3741c9cc4aee7ed4186 | [] | no_license | Epimethia/Primitive-3D-Graphics-Engine | a8ade46b483920efcb6702eb0820439aec1cd2ec | e642deeac7997885e950a10a96af198cb6ff3829 | refs/heads/master | 2021-07-25T16:24:40.313476 | 2018-10-28T03:27:02 | 2018-10-28T03:27:02 | 145,478,532 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,482 | cpp | // Bachelor of Software Engineering
// Media Design School
// Auckland
// New Zealand
//
// (c) 2005 - 2018 Media Design School
//
// Author : James Devenport
// Email : james.dev@mediadesign.school.nz
// File Name : EntityManager.cpp
// Description : Implimentation for the EntityManager class. Makes sure that
// ... | [
"jaden.links@yahoo.com"
] | jaden.links@yahoo.com |
ff3b988ecb10a46b560684a06564895f518271bf | 2f9e024ee03704fc09411062f474f4da594f20fd | /qatimeStudent/qatimeStudent/UITags.cpp | 75887fde93a84a226ca90c54e109bdb62b8b39c4 | [] | no_license | chuanjiabao1981/qatime-win-student | d7922df9aaf152020c317721fa1ced2a1f775950 | b630b7f1df524b3853a3117b6cd9420f5eca63d2 | refs/heads/master | 2021-08-08T12:47:10.162491 | 2017-11-10T09:54:11 | 2017-11-10T09:54:11 | 81,881,662 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 3,829 | cpp | #include "UITags.h"
#include <QMouseEvent>
#include <windows.h>
UITags::UITags(QWidget *parent)
: QWidget(parent)
, m_parent(NULL)
, m_room(NULL)
, m_bSelect(false)
, m_boardStream("")
, m_cameraStream("")
, m_bModle(false)
, m_b1v1Lesson(false)
, m_bLiving(false)
{
ui.setupUi(this);
connect(ui.close_pushBu... | [
"419589798@qq.com"
] | 419589798@qq.com |
edd092e0b55e8494879cc6aa8cb6c89afd2e5a95 | 7fe3e44cf771a7a811890a7d2ac78ed6708ddedf | /Engine/source/renderInstance/renderPassStateToken.cpp | de53423662c3915c8db78e5654eb69ec45713429 | [] | no_license | konradkiss/meshloop | 988ee721fb6463fbfece183c70f678c047215dd5 | 25b98ce223d21e232593a6c4dc2d6d863aace02c | refs/heads/master | 2021-03-19T13:36:21.104735 | 2015-05-21T13:00:55 | 2015-05-21T13:00:55 | 36,012,137 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,046 | cpp | //-----------------------------------------------------------------------------
// Torque Game Engine
// Copyright (C) GarageGames.com, Inc.
//-----------------------------------------------------------------------------
#include "renderInstance/renderPassStateToken.h"
#include "console/consoleTypes.h"
IMPLEMEN... | [
"konrad@konradkiss.com"
] | konrad@konradkiss.com |
4d2e5d66f4079683e9f30ce807583c8afa091014 | e28ad339ae624f904879ba179e400b2d6ce2ebe7 | /CLionProjects/21InterSectingLinkedList/main.cpp | dd5879fc193fad6a898245ef3d136543c7297ba6 | [] | no_license | AniketChavan1123/DataStructures | 198231ba4728727f3faf4d5e23980cd862ea5579 | 1eaee0be5881e3814866e102bd7f4f42f8bd60cf | refs/heads/main | 2023-07-02T07:52:56.645795 | 2021-08-04T13:15:04 | 2021-08-04T13:15:04 | 392,683,459 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,760 | cpp | #include <iostream>
#include <stack>
using namespace std;
class Node{
public:
int data;
Node *next;
};
Node *head=new Node;
Node *second=new Node;
void create(const int A[],int n)
{
Node *temp;
Node *tail;
head->data=A[0];
head->next= nullptr;
tail=head;
for(int i=1;i<n;i++)
{
... | [
"noreply@github.com"
] | AniketChavan1123.noreply@github.com |
acb08fde5a994a7bea2c4c16b72ecb38a1545ed0 | cfeac52f970e8901871bd02d9acb7de66b9fb6b4 | /generated/src/aws-cpp-sdk-resource-groups/include/aws/resource-groups/model/QueryType.h | aa128cd2dc6c620d4a2f1eeebcde74c598256f81 | [
"Apache-2.0",
"MIT",
"JSON"
] | permissive | aws/aws-sdk-cpp | aff116ddf9ca2b41e45c47dba1c2b7754935c585 | 9a7606a6c98e13c759032c2e920c7c64a6a35264 | refs/heads/main | 2023-08-25T11:16:55.982089 | 2023-08-24T18:14:53 | 2023-08-24T18:14:53 | 35,440,404 | 1,681 | 1,133 | Apache-2.0 | 2023-09-12T15:59:33 | 2015-05-11T17:57:32 | null | UTF-8 | C++ | false | false | 680 | h | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/resource-groups/ResourceGroups_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
namespace Aws
{
namespace ResourceGroups
{
namespace Model
{
enum class QueryTy... | [
"sdavtaker@users.noreply.github.com"
] | sdavtaker@users.noreply.github.com |
416f512c2a1aa807fb0cb8a2ae3a921298841c48 | 01fb222322f3f37b4fff999c53182162a24ce337 | /libs/math/include/math/combinatorics.hpp | 5903420b35b1c53683abaafa73a5d8324b3c238b | [
"LicenseRef-scancode-unknown-license-reference",
"Apache-2.0",
"LicenseRef-scancode-unknown"
] | permissive | MissingNO57/ledger | 51cc4b932909d9d25145ac9649b0caa193c5fb0e | 0afeb1582da6ddae07155878b6a0c109c7ab2680 | refs/heads/master | 2020-05-29T17:19:02.935379 | 2019-05-29T13:59:39 | 2019-05-29T13:59:39 | 189,269,908 | 1 | 0 | Apache-2.0 | 2020-02-24T11:02:56 | 2019-05-29T17:28:42 | C++ | UTF-8 | C++ | false | false | 3,515 | hpp | #pragma once
//------------------------------------------------------------------------------
//
// Copyright 2018-2019 Fetch.AI Limited
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the Licen... | [
"noreply@github.com"
] | MissingNO57.noreply@github.com |
d6233e3581c6e1a3ae1c060c8c2185e0fc6c9f65 | 36fc0b5c4902154a1f9ef3125819c99e0d896753 | /src/gui2.h | 88501cd3a05a2d5754bedd9f21893b7178b63f8a | [
"Apache-2.0"
] | permissive | EnderXenocide/DailyWork | 7bf82df8533a33d28870d3bcca03790048589637 | 7a6384ec7d692b2ebdbb466b2e83b5f6ac164e28 | refs/heads/master | 2021-01-18T22:48:18.798574 | 2016-05-25T15:55:25 | 2016-05-25T15:55:25 | 54,630,959 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,908 | h | #ifndef __GUI_H__
#define __GUI_H__
#define USE_RICH_EDIT TRUE
//#define HOTKEYS_ADD_TOMORROW = "\tCtrl++"
//#define HOTKEYS_ADD_YESTERDAY = "\tCtrl+-"
//#define HOTKEYS_GO_NEXT_AVAILABLE = "\tCtrl+Up"
//#define HOTKEYS_GO_PREV_AVAILABLE = "\tCtrl+Down"
#include <wx/filedlg.h>
#include <wx/statbox.h>
#include <w... | [
"silvestre.laurent@gmail.com"
] | silvestre.laurent@gmail.com |
9a8a31ea9a147935388d3c305aa371fde26e9d99 | ab5f9b47397b13a684c12906f4491a7911552188 | /source/MoveVisitor.h | 3d3c965ea2f54d44b9fb1cebe81ef772f0a3ecdf | [] | no_license | gobrien06/cs100-final-project | 873efbd8a77c6a2cfceca9da1ff4340acfb6d48e | 13993570b7a49b91f59d202dd7a683afbfd0df5c | refs/heads/master | 2023-04-30T20:24:28.214151 | 2021-06-01T22:51:40 | 2021-06-01T22:51:40 | 372,979,299 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 844 | h | #ifndef __MOVEVISITOR_HPP__
#define __MOVEVISITOR_HPP__
#include "Visitor.h"
#include "Piece.h"
#include "global.h"
#include <utility>
//Derived from Visitor
class MoveVisitor : public Visitor
{
public:
MoveVisitor(){};
std::vector<std::tuple<int, int> > visitPawn(Pawn *currentPawn);
std::vector<std::tupl... | [
"gobrien088@gmail.com"
] | gobrien088@gmail.com |
89be504b1f159348f1adc703d3f20408b957fad5 | 8db052dd5fa1bc0556441186ef9fc98d1593a79f | /Types/Instance.cc | dd546ec2228b62828f8984364f2e9f5d287ace54 | [
"MIT"
] | permissive | alok1106/nemesys | dcb9c9488fac0deecd7f7a84145327cf2e763ca0 | 1c23e4c5d6d23252e06c3a904e80408ddfc3e8ac | refs/heads/master | 2021-05-03T12:12:24.480445 | 2018-01-07T01:59:20 | 2018-01-07T01:59:20 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,531 | cc | #include "Instance.hh"
#include <stdint.h>
#include <map>
#include <string>
#include <stdexcept>
using namespace std;
// create an instance with no attributes
InstanceObject* create_instance(int64_t class_id, size_t attribute_count) {
InstanceObject* i = reinterpret_cast<InstanceObject*>(malloc(
sizeof(In... | [
"mjem@wildblue.net"
] | mjem@wildblue.net |
9b99e61e16799d65ac1fe14420867c5269539a64 | 6fe9ffeea3fcdd4fccc0c0dd390975cfc0fbc5a9 | /TICTACTOE.cpp | b44f6e00059dbe5da313f99ec8157cfae855f32f | [] | no_license | pierredyis/tictactoe | aad4406df218c79c6d10acc7a1c2759edb861ccb | 0fff692b9a048743e3fd4b92261e0577f414f488 | refs/heads/master | 2022-09-10T18:23:18.806864 | 2020-05-30T13:10:26 | 2020-05-30T13:10:26 | 268,080,217 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,283 | cpp | #include "TICTACTOE.h"
#include "PLAYERDATA.h"
#include <iostream>
#include <string>
#include <vector>
#include <random>
#include <ctime>
#include <tuple>
#include <Windows.h>
#define TRUE 1
using namespace std;
TICTACTOE::TICTACTOE() {
for (unsigned int i = 0; i < 15; i++)
for (int j ... | [
"noreply@github.com"
] | pierredyis.noreply@github.com |
4044353ce8aa86c6f9d8d438d79c28d5ab5ee777 | 127c53f4e7e220f44dc82d910a5eed9ae8974997 | /EngineSDK/kylinengine/FairyCore/EffectSystem/FairyParticleElement.cpp | f75367cc6334ae9a7fe3d74d5cb2523e292b4e20 | [] | no_license | zhangf911/wxsj2 | 253e16265224b85cc6800176a435deaa219ffc48 | c8e5f538c7beeaa945ed2a9b5a9b04edeb12c3bd | refs/heads/master | 2020-06-11T16:44:14.179685 | 2013-03-03T08:47:18 | 2013-03-03T08:47:18 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 12,522 | cpp | /********************************************************************
filename: FairyParticleElement.cpp
purpose: a particle system effect element.
*********************************************************************/
#include "FairyParticleElement.h"
#include "FairyEffectManager.h"
#include "Core/Fairy... | [
"amwfhv@163.com"
] | amwfhv@163.com |
dbd7255e0f024aeb660ba975654a3384aedbcdcb | dac9695fdf147cc886854f1257bfd03be49b9c9b | /examples/plugins/operator/examplePluginOperator_write.cpp | 4738261816f151a02b945efd9e9aeffd19d43e06 | [
"Apache-2.0"
] | permissive | chuckatkins/ADIOS2 | 0415562b28db51319ab0203983d96e17f1a994a7 | 2dbc992aae00f1f7b224b0dbdae033f3c342928f | refs/heads/master | 2022-08-21T22:09:07.997915 | 2022-06-02T07:29:56 | 2022-06-02T07:29:56 | 87,322,140 | 1 | 0 | NOASSERTION | 2022-03-25T06:05:38 | 2017-04-05T14:53:52 | C++ | UTF-8 | C++ | false | false | 3,378 | cpp | /*
* Distributed under the OSI-approved Apache License, Version 2.0. See
* accompanying file Copyright.txt for details.
*
* examplePluginOperator_write.cpp example showing how to use EncryptionOperator
* plugin
*
* Created on: July 5, 2021
* Author: Caitlin Ross <caitlin.ross@kitware.com>
*/
#include <... | [
"chuck.atkins@zora.khq.kitware.com"
] | chuck.atkins@zora.khq.kitware.com |
8d4fd45769f2fc17d670c18c745efc04e7b2ab53 | 27d67033be684de775fa75f9cfe2409f68344f56 | /Dark_Hypersquares_v0-2.cpp | 81ae52ba2886f67a54fe0f1573e7d3453f64a9cc | [] | no_license | janderkkotlarski/Dark_Hypersquare | 3e0765c16902bdba6938c526054c5861e09a4c2c | 550e174cf4f622c0f8df81292635bf24e1e243aa | refs/heads/master | 2021-01-20T09:55:32.657818 | 2019-09-26T15:44:32 | 2019-09-26T15:44:32 | 90,304,165 | 2 | 2 | null | 2017-05-10T08:49:40 | 2017-05-04T19:56:43 | C++ | UTF-8 | C++ | false | false | 31,222 | cpp | #include <iostream>
#include <string>
#include <cmath>
#include <chrono>
#include <thread>
#include <random>
#include <SFML/Graphics.hpp>
void Fiboinit(int fib_var[], int max_var, int fractar)
{
std::random_device generator;
std::uniform_int_distribution<int> distribution(1, fractar);
int frac_var = distributi... | [
"j.d.kotlarski@gmx.com"
] | j.d.kotlarski@gmx.com |
7c7ab6aa64bf3df29efa595d3c7e83e2a155085e | d465482e87fb18fd9d0192fbfd463b1d0b7a1040 | /source/inspectors/riff/riffinspector.cpp | 9fe6819743c34a2d0b56fe766241ff86226f87a6 | [] | no_license | punytroll/inspection | 035138de8321d9818757a12ff1262c4314d27f43 | 66e5f0d285d930df4f8d0fe974a8ede8a4b858ba | refs/heads/master | 2023-07-24T15:45:23.627702 | 2023-07-20T12:45:01 | 2023-07-20T12:45:01 | 215,878,285 | 0 | 0 | null | 2022-08-04T11:11:31 | 2019-10-17T20:17:28 | C++ | UTF-8 | C++ | false | false | 1,505 | cpp | #include <deque>
#include <string>
#include <common/getters.h>
#include <common/inspector.h>
#include <common/result.h>
namespace Inspection
{
class RIFFInspector : public Inspection::Inspector
{
protected:
virtual std::unique_ptr< Inspection::Result > _Getter(const Inspection::Buffer & Buffer)
{
auto Reade... | [
"hagen.moebius@googlemail.com"
] | hagen.moebius@googlemail.com |
da5fb4694f0eb6345db341abb22a9c2aa1ada84b | a6962e5fb4e1836bb6cf91025d960b54b8df8f74 | /SymbolCard.cpp | f663837c9fc6afdd509f4192031c672a02b78c0a | [] | no_license | HCL212/BlackJack-modified | 8a13a64da9767da6fd9b31c31f0e86ff66b6c34d | ff3599e866198366624d520082181fe0e0a35073 | refs/heads/master | 2020-03-19T21:56:21.700272 | 2018-06-11T16:50:45 | 2018-06-11T16:50:45 | 136,954,877 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,083 | cpp | #ifndef SYMBOLCARD_CPP_INCLUDED
#define SYMBOLCARD_CPP_INCLUDED
#include "SymbolCard.h"
//constructor retrieves the symbol, low value, and high value
SymbolCard::SymbolCard(char sym, int lowV, int highV)
{
setType('S');
symbol = sym;
setValue(lowV, highV);
}
//gets the value of the symbol card depending o... | [
"hcl212@users.noreply.github.com"
] | hcl212@users.noreply.github.com |
2834501bc5c99c3d4ea60bbe0102f1294ca26066 | 984d1c53e33f7ff7ce510f9b49d0e363996d0158 | /hdu/1219_AC Me.cpp | b13b70d62b43416a7dadda7d05caef0d7c50d1d5 | [] | no_license | lip23/growing | 789137ccb10bd3274fe5eaeec23958a726a120fb | 17b6911919084a79fa6e5971a3a7aec3646e38c4 | refs/heads/master | 2020-03-19T10:11:20.634008 | 2018-06-06T15:55:21 | 2018-06-06T15:55:21 | 136,351,110 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 496 | cpp | #include <iostream>
using namespace std;
int main()
{
char buf;
int letter[26];
char lett[26]={'a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s','t','u','v','w','x','y','z'};
memset(letter,0,sizeof(letter));
while(cin.get(buf))
{
if(buf=='\n')
{
for(int i=0;i<26;i++)... | [
"lip@suarez.local"
] | lip@suarez.local |
7eb1a23e6dec1dd4b649c7d4f69f1731a5aa7697 | 215750938b1dd4354eab9b8581eec76881502afb | /src/mfx/dsp/iir/BiquadPackSimd.hpp | 650b8c17c272249c5f88892349c1477386267036 | [
"WTFPL"
] | permissive | EleonoreMizo/pedalevite | c28fd19578506bce127b4f451c709914ff374189 | 3e324801e3a1c5f19a4f764176cc89e724055a2b | refs/heads/master | 2023-05-30T12:13:26.159826 | 2023-05-01T06:53:31 | 2023-05-01T06:53:31 | 77,694,808 | 103 | 8 | null | null | null | null | UTF-8 | C++ | false | false | 24,117 | hpp | /*****************************************************************************
BiquadPackSimd.hpp
Author: Laurent de Soras, 2016
--- Legal stuff ---
This program is free software. It comes without any warranty, to
the extent permitted by applicable law. You can redistribute it
and/or modify it under ... | [
"fuck@fuck.fuck"
] | fuck@fuck.fuck |
dbb9307b8f717de9bee8608b405855d526a7ec2d | 13b79d1b559ddbce2b7be0c5566b44747b2e9c2c | /core/KTextureBank.h | 44a760ec17df755dc197ffd1ad2656459c487f8f | [] | no_license | kazikikaziki/misc | 604a4a38d4388d4a2ec4a0eb30b4f04cefa46b3d | 7329b8cbd656e0a9eb6a174963931f79d1da3ba1 | refs/heads/master | 2020-06-12T04:40:41.409996 | 2019-07-24T15:33:33 | 2019-07-24T15:33:33 | 194,196,912 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,648 | h | #pragma once
#include "KVideoDef.h"
#include "KPath.h"
#include "GameId.h"
#include <unordered_map>
#include <mutex>
namespace mo {
class KImage;
class FileInput;
class VideoBank;
class IVideoBankCallback {
public:
/// SpriteRenderer の setModifier で値が指定されている場合に呼ばれる。
/// modifier の値に応じて、テクスチャーを動的に生成する。
/// @param... | [
"doveilbagno@gmail.com"
] | doveilbagno@gmail.com |
256ca056576e285bb3732c31316accd2a203f372 | 2231924aab5ae2450d306c1c77169f4a26f52aad | /Space/ItemMgr.cpp | 9b63b50b57de9e651a553692ffaefb182a70d0d1 | [] | no_license | seunhoo/SpaceWar | 741ce017e2bfa850b9afe935029ff1de562db1ce | 87e2d4659eeb9a74841f67704139468dc77a5faa | refs/heads/master | 2023-09-04T23:58:15.938583 | 2021-03-03T07:35:47 | 2021-03-03T07:35:47 | 334,849,223 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 380 | cpp | #include "stdafx.h"
#include "ItemMgr.h"
void ItemMgr::CreateItem(ITEM itemtype, Vec2 Pos)
{
switch (itemtype)
{
case ITEM::RIPLE:
break;
case ITEM::SNIPER:
break;
case ITEM::JUNKRAT:
break;
case ITEM::PASS:
break;
case ITEM::REGENERATION:
break;
case ITEM::SKILL:
break;
case ITEM::SPEED:
break;... | [
"seunhoo@naver.com"
] | seunhoo@naver.com |
7367e06236467b7f2802719963919848a476b9e4 | aa0f2f28ec0765bbf4631592eeacc5d11c968b8c | /EmptyProject/RenderMaterial.h | dd1a6983b3ce742abce847cfe7fc8a66c424104f | [] | no_license | goskatopudel/essencegfx | 63ce783a701237710079c6ea549dbcc7615d0d28 | 9a2c9cba7bed7ab08b093cf9b37d914ae2b7a72d | refs/heads/master | 2020-05-21T19:23:46.716591 | 2016-12-16T21:55:32 | 2016-12-16T21:55:32 | 55,321,362 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,851 | h | #pragma once
#include "Essence.h"
#include "Resource.h"
#include "Pipeline.h"
enum ERootParamType {
Table
};
struct FRootParamSetupCmd {
u32 Index;
union {
struct {
D3D12_GPU_DESCRIPTOR_HANDLE Handle;
} Table;
};
ERootParamType Type;
};
enum class ERenderPass {
Depth,
Base,
Forwa... | [
"jakub.tyrcha@gmail.com"
] | jakub.tyrcha@gmail.com |
60e915d1fea3b9f2963fbdbe2a240788178b319f | afb8ae91cea7935fe6fceccf4ab9b9a28e22e6d7 | /Core/Src/FontSystem.cpp | 7fe67d887d554cffbe097e1ffd188a26cda9d55d | [] | no_license | Trizek/WhiteBoxEngine | ab9372559c5a9ed1b0ff562d4414a08b319c7933 | 5e57b0445a286e904a93c911fed4d19088a46235 | refs/heads/master | 2020-04-12T09:02:42.411663 | 2019-12-17T01:12:46 | 2019-12-17T01:12:46 | 24,021,443 | 5 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 409 | cpp | #include "FontSystem.h"
#include <stdio.h>
WHITEBOX_BEGIN
CFontSystem::CFontSystem()
: m_bInit(false)
{
Init();
}
void CFontSystem::Init()
{
if ( !m_bInit )
{
m_bInit = FT_Init_FreeType( &m_library ) == 0;
WbLog( "Font", "Freetype init : %d", (int)m_bInit );
}
}
bool CFontSystem::IsInit() const
{
return... | [
"francois@fournel.com"
] | francois@fournel.com |
f7e3e4cc63a7bf6c552a8dc7b7e6d6f8d0b17e9c | c155f23453c635ed119f3cac8033b6373c6d8784 | /DmpSim/include/DmpDetectorConstruction.hh | 49553076a3556bf555dd8b2f0abc5bac211bb4a6 | [] | no_license | wangzm1992/trunk | feb66562857c82fb4227eb437dc1c16e88e503be | 75ff10d60a60e76e5ebb26db8f2c990e69618e7c | refs/heads/master | 2016-09-06T20:01:29.379498 | 2015-07-10T02:16:06 | 2015-07-10T02:16:06 | 38,856,167 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,119 | hh | #ifndef DmpDetectorConstruction_h
#define DmpDetectorConstruction_h 1
#include "G4VUserDetectorConstruction.hh"
#include "G4GDMLParser.hh"
#include "globals.hh"
#include "DmpPsdDetectorDescription.hh"
#include "DmpStkDetectorDescription.hh"
#include "DmpBgoDetectorDescription.hh"
#include "DmpNudDetectorDescription.h... | [
"wangzmcool@163.com"
] | wangzmcool@163.com |
b56f56ade4787757b4901834dce60250812c8848 | 3c504f55e2a96ae39b0a8eeda1a1c7973eed2f4f | /qtxpathquery.cpp | 6172bee5267524d59d6023dc17d2aadedb15d829 | [] | no_license | mulab/QtHpple | b8465cd8d3420a1850b60598ca73574bf55b7b17 | f0787d59e1cce73f82d236e7f160b3344bd5460d | refs/heads/master | 2016-08-03T17:15:50.415002 | 2015-12-25T18:54:16 | 2015-12-25T18:54:16 | 40,233,665 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,932 | cpp | #include "qtxpathquery.h"
#include <libxml/tree.h>
#include <libxml/tree.h>
#include <libxml/parser.h>
#include <libxml/HTMLparser.h>
#include <libxml/xpath.h>
#include <libxml/xpathInternals.h>
#include <QtCore>
#include <QMap>
//NSDictionary *DictionaryForNode(xmlNodePtr currentNode, NSMutableDictionary *parentResul... | [
"hubert.zyk@gmail.com"
] | hubert.zyk@gmail.com |
79d28427e43588564156e24b4662a6a67608fdf0 | 24c3b6ee3e2b06288bed587e34751969b4a73e31 | /AtCoder/AtCoder Beginner Contest/ABC122/C.cpp | 9f07b2a7e76159de8d16d195108bc3ed72515017 | [] | no_license | KatsuyaKikuchi/ProgrammingContest | 89afbda50d1cf59fc58d8a9e25e6660334f18a2a | d9254202eec56f96d8c5b508556464a3f87a0a4f | refs/heads/master | 2023-06-05T20:07:36.334182 | 2021-06-13T13:55:06 | 2021-06-13T13:55:06 | 318,641,671 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 732 | cpp | #include <bits/stdc++.h>
using namespace std;
typedef long long int ll;
typedef pair<ll, ll> pll;
#define FOR(i, n, m) for(ll (i)=(m);(i)<(n);++(i))
#define REP(i, n) FOR(i,n,0)
#define OF64 std::setprecision(10)
const ll MOD = 1000000007;
const ll INF = (ll) 1e15;
ll T[100005];
int main() {
ll N, Q;
cin ... | [
"k.kikuchi.ah@gmail.com"
] | k.kikuchi.ah@gmail.com |
e785413e670e92faef0f1669938db35998278246 | d06d37e287001270c45f07da450eb864320ee8d9 | /HiggsMassConstraint/src/RooNCSplinePdf_2D_fast.cc | a45d2084cfe2aef95b30db10b9236bd9a87b7086 | [] | no_license | usarica/HiggsMassConstraint | 2595db3078b93587df449fcc6096889097f8d0fa | af9129f4012ad267ae624a266e2186c62de76967 | refs/heads/master | 2021-01-11T16:10:18.410282 | 2017-04-24T23:06:13 | 2017-04-24T23:06:13 | 80,025,361 | 0 | 0 | null | 2017-02-23T19:01:54 | 2017-01-25T15:07:37 | C++ | UTF-8 | C++ | false | false | 11,042 | cc | #include "RooNCSplinePdf_2D_fast.h"
#include <cmath>
#include "TMath.h"
#include "Riostream.h"
#include "RooAbsReal.h"
using namespace TMath;
using namespace RooFit;
using namespace std;
RooNCSplinePdf_2D_fast::RooNCSplinePdf_2D_fast() :
RooNCSplinePdfCore(),
theYVar("theYVar", "theYVar", this)
{}
RooNCSplinePdf... | [
"ulascan90@gmail.com"
] | ulascan90@gmail.com |
ceaa8a31506b2039fb3259edbed579260720ba5c | 9ae8ee554aedda6e6de696b0522201f4a467b135 | /TopCoderSRM/SRM633/Jumping.cpp | e45b4f7f12bee63fc05a81d69c0863a2b7dc3792 | [
"MIT"
] | permissive | zombiecry/AlgorithmPractice | 29865a78c145a2af438b874cf0fb9481b4be796f | f42933883bd62a86aeef9740356f5010c6c9bebf | refs/heads/master | 2020-05-20T15:49:04.659543 | 2015-10-11T12:21:00 | 2015-10-11T12:21:00 | 17,374,313 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,623 | cpp | // BEGIN CUT HERE
// END CUT HERE
#line 5 "Jumping.cpp"
#include <vector>
#include <list>
#include <bitset>
#include <map>
#include <set>
#include <deque>
#include <queue>
#include <stack>
#include <bitset>
#include <algorithm>
#include <functional>
#include <numeric>
#include <utility>
#include <sstream>
#include <io... | [
"yangsc2013@live.com"
] | yangsc2013@live.com |
2e69ff5f08cf84d71ad39acaca39a83b3202814f | bf6ccc7ab3088a581cef8a4b3cd130e467ba09c1 | /Algo/onceInSortedArr.cpp | 9b01ccde9104f0f9be15cfb4ff5bc040d845a9b2 | [
"MIT"
] | permissive | ShivamS136/Learn-DS-Algo | 9f0d68fbbc3ca759d9376b2198b697e6b3d08a99 | 7ca8c418884c8324108754aebce38e0dabcdc42a | refs/heads/master | 2023-02-24T00:05:39.893093 | 2021-01-14T15:59:19 | 2021-01-14T15:59:19 | 257,907,146 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,319 | cpp | /*
*/
#include<bits/stdc++.h>
using namespace std;
class Solution {
public:
int singleNonDuplicate(vector<int>& nums) {
int start = 0;
int end = nums.size()-1;
int mid = (start+end)/2;
while(mid!=start){
if(mid%2 != 0){// 1,3,5
if(nums[mid] == ... | [
"shivamshrm235@gmail.com"
] | shivamshrm235@gmail.com |
1f0b8488f568a4a9a62a686b21cffeec3d5f71cf | b484662789b20152f80f5b7906d64c6f174c47b6 | /CountingTriangles.cpp | 22c20cbdb6e53ab8ba48a396118d1673cb6299b6 | [] | no_license | fargol/CodeRevolution | 9f155dc0274203b5eb1e607359cdf2dcbf9aaaa2 | 2492e1e06548c4238328a455119922b033a292e0 | refs/heads/master | 2020-06-12T13:32:09.074737 | 2019-03-13T17:52:35 | 2019-03-13T17:52:35 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 453 | cpp | #define M 1000000007
int Solution::nTriang(vector<int> &A) {
sort(A.begin(),A.end());
long long int count=0;
for(int i=0;i<A.size()-2;i++){
int k=i+2;
for(int j=i+1;j<A.size()-1;j++){
int sum=A[i]+A[j];
for(;k<A.size();k++){
if(A[k]>=sum){
... | [
"noreply@github.com"
] | fargol.noreply@github.com |
1b7bc489bd9b0eec68557a317f5e0eaea18264de | e48bbf5115838fbb7c2474cd3864e686f6191b91 | /BOMARBLE.cpp | 84a630417ee1b499cabf07a8cefaa623de54cd01 | [] | no_license | Vtech181/SPOJ_SOLUTIONS | a7af11b97ea8a78266891255fae931d35a78e96a | 3f0e52a2b7985395124a0aa6a5dfa37406bdc6b8 | refs/heads/master | 2020-06-13T17:56:03.946114 | 2018-06-28T17:06:51 | 2018-06-28T17:06:51 | 75,571,657 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 407 | cpp | #include <iostream>
using namespace std;
long long dp[1001];
void init()
{
int i;
dp[0]=1;
for(i=1;i<1001;i++)
{
dp[i]=-1;
}
}
long long solve(int n)
{
if(dp[n]!=-1)
{
return dp[n];
}
else
{
dp[n]= solve(n-1)+(3*n)+1;
return dp[n];
}
}
int main() {
// your code goes here
int t,z;
init();
while(... | [
"vaibhavchauhan94.vc@gmail.com"
] | vaibhavchauhan94.vc@gmail.com |
8a708bbb992b7c6f7c6332c29f20818bb533dca1 | b6378e2b29966589ad3ca591186eeb6e5716f651 | /Code/recastnavigation-master/Recast/Source/RecastMeshDetail.cpp | 69ed1475ed667c5b476669aae3adb227af5202fd | [
"Zlib",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | Joxx0r/Revelations | cb630a2135b8900be0705ee394604ed7089df828 | dd91517cdbc84d4932cfbe2106e149ca0e182fef | refs/heads/master | 2021-01-13T01:27:29.429529 | 2014-07-27T11:09:59 | 2014-07-27T11:09:59 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 30,064 | cpp | //
// Copyright (c) 2009-2010 Mikko Mononen memon@inside.org
//
// This software is provided 'as-is', without any express or implied
// warranty. In no event will the authors be held liable for any damages
// arising from the use of this software.
// Permission is granted to anyone to use this software for any purpose... | [
"Joxxor@gmail.com"
] | Joxxor@gmail.com |
cf3e26d3e99fd8001675af8584207d9332427c28 | 3a758932d17048595eec2a1d1b6ef125409bdd62 | /Assignments/Assignment 1/Gaddis_9thEd_chap2_Paint/main.cpp | 9a7fa2ec4710f8a0a73db1cf0421c96758b0ecfe | [] | no_license | pmk0625/Park.-Minkyu-CISCSC5-SPRING2018 | 0249dde694c13f88d14734b8003da77a39c449f8 | 937245524d7b70b16a26a19a8e57040221a4066b | refs/heads/master | 2021-04-09T11:26:04.604171 | 2018-06-08T06:36:18 | 2018-06-08T06:36:18 | 125,410,457 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,293 | cpp | /*
* File: main.cpp
* Author: Minkyu R. Park
* Created on February 15, 2018, 12:25 AM
* Purpose: Paint Calculation
*
*/
//System Libraries
#include <iostream> //I/O Library -> cout,endl
#include <cmath> //ceiling function
using namespace std;//namespace I/O stream library created
//User Libraries... | [
"36967168+pmk0625@users.noreply.github.com"
] | 36967168+pmk0625@users.noreply.github.com |
2700c04e168383774e166725b6011cf4dce28148 | 7424326c9803d9350dfd1e815abe353976203c39 | /time_elts/time_lock_table.h | 124cd7bd842b0983d7052de1a56caa14310aa12b | [
"MIT"
] | permissive | stswidwinski/multiversioning | 0c049153d2a1f0950f3b8dd2fac1bf50645eeb38 | 0f2d9a60254c2a4fdb3d8f272151f36ffa99f3fc | refs/heads/master | 2020-12-31T00:53:08.366560 | 2017-06-15T11:53:28 | 2017-06-15T11:53:28 | 80,565,762 | 1 | 3 | null | 2017-07-03T18:33:41 | 2017-01-31T21:46:08 | C++ | UTF-8 | C++ | false | false | 6,325 | h | #ifndef TIME_LOCK_TABLE_H_
#define TIME_LOCK_TABLE_H_
#include "batch/db_storage_interface.h"
#include "batch/lock_table.h"
#include "batch/scheduler.h"
#include "batch/txn_factory.h"
#include "batch/RMW_batch_action.h"
#include "batch/batch_action_interface.h"
#include "batch/SPSC_MR_queue.h"
#include "batch/time_uti... | [
"noreply@github.com"
] | stswidwinski.noreply@github.com |
3b5d4e39587b73a8f3a411c7a24205a489cab389 | 81f34bd058977aacac5bd6c9ba176cdc7d5ed29e | /RenderCore/RenderUtils.h | bfbf0613b228aec1c50ae444645315514322c204 | [
"MIT"
] | permissive | taknim/XLE | e2feafecc0813aad9026703604f6602446a67339 | 82b884dfea9a47feebe055443afaaf375eda4773 | refs/heads/master | 2021-01-18T07:43:41.735881 | 2015-03-23T07:58:23 | 2015-03-23T07:58:23 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,063 | h | // Copyright 2015 XLGAMES Inc.
//
// Distributed under the MIT License (See
// accompanying file "LICENSE" or the website
// http://www.opensource.org/licenses/mit-license.php)
#pragma once
#include "../Utility/PtrUtils.h"
#include "../Utility/MiniHeap.h"
#include "../Math/Matrix.h"
#include "../Core/Exceptions.h"
#i... | [
"djewsbury@xlgames.com"
] | djewsbury@xlgames.com |
6c24dfb015c57d70eb813f16a30976fcc6279cae | 61a344bd2ae94057a3cd0f53f850af918baa2f56 | /dBOSpp/Port/dBOS_Port.hpp | 47393349dab49c1ab7cc402b083f9211312def40 | [] | no_license | yisea123/dBOS | 18435199775de7931061ad29989c0535738b0f68 | e23c5c6b9a00dfe6504910b05a0ce89fa39d603d | refs/heads/master | 2020-09-21T16:22:23.322436 | 2016-07-14T08:46:58 | 2016-07-14T08:46:58 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,944 | hpp | /**
* @file dBOS_Port.hpp
* @author David Broadhurst
* @date 9/02/2014
*
* \brief Definition of interface to Port specific services.
*
*/
#ifndef DBOS_PORT_HPP_
#define DBOS_PORT_HPP_
// -------------------------------------------------------------------------------------------------
// INCLUDE FILES
#include ... | [
"decbroadhurst@gmail.com"
] | decbroadhurst@gmail.com |
00f787d2e1c6b7f8d73bc59411b5d2fdfd5ffeb0 | 188fb8ded33ad7a2f52f69975006bb38917437ef | /Fluid/processor0/0.37/cellDisplacement | 398a9a664b368f6697b5ce71d150d564e8771b03 | [] | no_license | abarcaortega/Tuto_2 | 34a4721f14725c20471ff2dc8d22b52638b8a2b3 | 4a84c22efbb9cd2eaeda92883343b6910e0941e2 | refs/heads/master | 2020-08-05T16:11:57.674940 | 2019-10-04T09:56:09 | 2019-10-04T09:56:09 | 212,573,883 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,228 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: dev |
... | [
"aldo.abarca.ortega@gmail.com"
] | aldo.abarca.ortega@gmail.com | |
b7e54d580e4537efa1eb601fe168ff928d8bb894 | 70ad0a06c54b68b7d817131f4b139b76739e2e20 | /Algorithms/extractWithCentroiding/SegmentedTargetImage.h | 78d07191077b9485a0a1c78f1c4bb54239108e46 | [
"MIT"
] | permissive | SherlockThang/sidecar | 391b08ffb8a91644cbc86cdcb976993386aca70c | 2d09dfaebee3c9b030db4d8503b765862e634068 | refs/heads/master | 2022-12-09T14:57:08.727181 | 2020-09-01T10:31:12 | 2020-09-01T10:31:12 | 313,326,062 | 1 | 0 | MIT | 2020-11-16T14:21:59 | 2020-11-16T14:21:58 | null | UTF-8 | C++ | false | false | 3,715 | h | #ifndef SEGMENTEDTARGETIMAGE_H
#define SEGMENTEDTARGETIMAGE_H
#include "ImageDataTypes.h"
#include "Logger/Log.h"
#include "Row.h"
#include "TargetImage.h"
#include "TargetSize.h"
#include "boost/shared_ptr.hpp"
#include <algorithm>
#include <iomanip>
#include <list>
#include <vector>
class SegmentedTargetImage {
pub... | [
"bradhowes@mac.com"
] | bradhowes@mac.com |
96e3c06fc90f9d2daa150859a154c5fde7a853b2 | fe7e88c699e69b7295d8c1667f248e46812423d2 | /QtOrm/QueryModels/UpdateQueryModel.cpp | a8e056d4d4e3139a4011888e5eb5cfe797c9b1eb | [
"MIT"
] | permissive | rensfo/QtOrm | d3b75884f8a3e970f6121a8089f66a5c8971f003 | ed9b88fd72dbc1e1701fab04f9a09417ae262eea | refs/heads/master | 2020-05-21T03:21:50.890206 | 2017-09-13T05:50:40 | 2017-09-13T05:50:40 | 39,850,020 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,322 | cpp | #include "UpdateQueryModel.h"
#include "Relations/OneToOne.h"
namespace QtOrm {
namespace Sql {
using QtOrm::Mapping::OneToOne;
UpdateQueryModel::UpdateQueryModel() : QueryModel() {
}
UpdateQueryModel::~UpdateQueryModel() {
}
void UpdateQueryModel::buildModel() {
mainTableModel = buildQueryTableModel();
sqlTe... | [
"rensfo@gmail.com"
] | rensfo@gmail.com |
4b16ed699e9fc870b836222943433517e5280460 | e4cb0c0e53c8b6644806649c37aabf9acd57df82 | /event/include/Dictionary_DmpEvtBgoDyCoe.h | 87b44da5de28f19c5484d0ef98b3388c128290be | [] | no_license | erxiao60/CalBgoDyCoe | 50d5168bf8d067879025eafd8d3e60c6c756496c | 0cf9f6153e94d1daef8d1a89ba11e4cdd3941cf8 | refs/heads/master | 2016-09-06T02:56:22.277721 | 2014-11-06T12:49:34 | 2014-11-06T12:49:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,519 | h | /********************************************************************
* ./include/Dictionary_DmpEvtBgoDyCoe.h
* CAUTION: DON'T CHANGE THIS FILE. THIS FILE IS AUTOMATICALLY GENERATED
* FROM HEADER FILES LISTED IN G__setup_cpp_environmentXXX().
* CHANGE THOSE HEADER FILES AND REGENERATE THIS FILE.
*****... | [
"bt2014@dampe.(none)"
] | bt2014@dampe.(none) |
d4ebb33ec76b2a27bdf145272c60a2efee0cccde | 5470644b5f0834b9646649da365c96101a2f9b2a | /Sources/Elastos/LibCore/inc/elastos/utility/logging/Logger.h | 66efc745481e4920ac4b104bfd8189a2b38ca5a7 | [] | no_license | dothithuy/ElastosRDK5_0 | 42372da3c749170581b5ee9b3884f4a27ae81608 | 2cf231e9f09f8b3b8bcacb11080b4a87d047833f | refs/heads/master | 2021-05-13T15:02:22.363934 | 2015-05-25T01:54:38 | 2015-05-25T01:54:38 | 116,755,452 | 1 | 0 | null | 2018-01-09T02:33:06 | 2018-01-09T02:33:06 | null | UTF-8 | C++ | false | false | 3,215 | h | #ifndef __UTILITY_LOGGER_H__
#define __UTILITY_LOGGER_H__
#include <elastos.h>
#ifndef __LOGGER_MACRO__
#define __LOGGER_MACRO__
#define LOGGERD(tag, ...) Elastos::Utility::Logging::Logger::D(tag, __VA_ARGS__);
#define LOGGERE(tag, ...) Elastos::Utility::Logging::Logger::E(tag, __VA_ARGS__);
#define LOGGERI(tag, ..... | [
"chen.yunzhi@kortide.com"
] | chen.yunzhi@kortide.com |
0f8c13f5053489c81673b51d5c2d0f1564f9433f | e2360235b762658107b28ff5e5302662254e6351 | /递归/poj-4117.cpp | da93bf98a91ed7ae494f86f154499562e6f7ec82 | [] | no_license | JasmineCAicai/POJ-_ | 31eaa77ad0a96592e2b9092c6034091a63ba35f8 | 807816b7999041b519f563c6633c241dffc05359 | refs/heads/main | 2023-07-04T08:13:22.028395 | 2021-08-06T00:12:11 | 2021-08-06T00:12:11 | 343,939,767 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 346 | cpp | // 简单的整数划分问题
#include <iostream>
using namespace std;
int divide(int m, int i) {
if(m==0) return 1;
if(i==0) return 0;
if(i<=m) return divide(m-i, i) + divide(m,i-1);
else return divide(m, i-1);
}
int main() {
int num;
while(cin >> num){
cout << divide(num,num) << endl;
}
retu... | [
"noreply@github.com"
] | JasmineCAicai.noreply@github.com |
7678775c9b39b0947cd571d4a9cb4b8bf3785208 | a882e7ea162c080d908d1030d81b8a7964dc9fc6 | /DeepSlam/sources/core/mapping/specialized_factor_tasks.h | c0771c72caa5e8e8838130f7f00338b8d5ccd4b9 | [] | no_license | rajy4683/SKWorks | b147cb25fa72254a3c92ae9d79f9710ec226a2bf | b43f45ce8154c5b54c179d4610d2098d5c46400c | refs/heads/master | 2023-01-14T00:50:01.522523 | 2020-11-18T07:35:27 | 2020-11-18T07:35:27 | 313,837,877 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,905 | h | /*
* This file is part of DeepSlam.
*
*/
#ifndef DF_SPECIAL_FACTORS_TASKS_H_
#define DF_SPECIAL_FACTORS_TASKS_H_
#include "factor_task.h"
// forward declare these some time later
#include "keyframe.h"
#include "cu_sfmaligner.h"
#include "camera_pyramid.h"
#include "photometric_factor.h"
#include "sparse_geometric_... | [
"root@ip-172-31-34-154.ap-south-1.compute.internal"
] | root@ip-172-31-34-154.ap-south-1.compute.internal |
2c132403fbdf0263679c67f686a60c9ec9273799 | 2a0dff633546beda315466878fa78e3582cf8188 | /src/p9_qt/src/menus/toolbarmain.cpp | 171901ff147c2ba7f71054b611be747576dbd667 | [] | no_license | ljjhome/myROSTutor | c9063a6fdd502a378c1f0839aa801f08700d2595 | 370f22df712454bdb53d603aad1fe479c5de0115 | refs/heads/master | 2021-01-18T23:17:23.094117 | 2017-05-20T14:58:56 | 2017-05-20T14:58:56 | 87,101,831 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 218 | cpp | #include "toolbar.h"
int main(int argc, char** argv){
QApplication app(argc, argv);
Toolbar window;
window.resize(300,300);
window.setWindowTitle("haha");
window.show();
return app.exec();
}
| [
"530872883@qq.com"
] | 530872883@qq.com |
28073b18d81d00b29e698f8ea6d4058a27e20ab4 | c11a6edc7e12541ffe8756701061f47e64361d9b | /tools/redis_to_kedis/sync_task.cpp | d343e9a926a84b9329a2b75ee3b6bd6c9fec3594 | [
"MIT"
] | permissive | jianqingdu/kedis | e1c84c3ffc29b0c9b400a18aa0e31b324ecadf84 | fa5dbd588927cb43479f8b9406f96d65d8407317 | refs/heads/master | 2023-08-25T08:44:52.444423 | 2023-08-15T01:54:55 | 2023-08-15T01:54:55 | 111,771,483 | 101 | 20 | null | null | null | null | UTF-8 | C++ | false | false | 5,383 | cpp | //
// sync_task.cpp
// kedis
//
// Created by ziteng on 17-11-20.
// Copyright (c) 2017年 mgj. All rights reserved.
//
#include "sync_task.h"
#include "cmd_line_parser.h"
#include "redis_conn.h"
#include "redis_parser.h"
#include "rdb_reader.h"
#include "event_loop.h"
#include "simple_log.h"
ThreadPool g_thread_po... | [
"ziteng@mogujie.com"
] | ziteng@mogujie.com |
83d5c9a1c921b9267484cbb8740f35e276afbce1 | 84a52447fafe0dcf0201d4fef13a105b293de10f | /cstring.cpp | e74d85435783c6b6430e7b12a9bfb7d443f04d1e | [] | no_license | Brienyll/CPP | f271cff46aadcc3eef327ed659b067d69abb423d | 02aec7871a180ae6a97a05bde958c0efdee60216 | refs/heads/master | 2018-12-19T01:52:54.507054 | 2018-09-15T06:42:59 | 2018-09-15T06:42:59 | 82,886,370 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 288 | cpp | #include <iostream>
#include <string>
#include <cstring>
using namespace std;
int main() {
char name1[] = "Brix";
char name3[] = "Hello";
string name2 = "Flor";
int a = strcmp(name1, name3);
int b = strlen(name3);
cout << a << endl;
cout << b << endl;
system("pause");
}
| [
"noreply@github.com"
] | Brienyll.noreply@github.com |
41e077883519669ccc25a2955802e88684fd50fd | c8b39acfd4a857dc15ed3375e0d93e75fa3f1f64 | /Engine/Source/ThirdParty/CEF3/cef_source/libcef/browser/scheme_impl.cc | b63769f01349f56fa5a8f4531eb9e7602ee5d96e | [
"MIT",
"LicenseRef-scancode-proprietary-license",
"BSD-3-Clause"
] | permissive | windystrife/UnrealEngine_NVIDIAGameWorks | c3c7863083653caf1bc67d3ef104fb4b9f302e2a | b50e6338a7c5b26374d66306ebc7807541ff815e | refs/heads/4.18-GameWorks | 2023-03-11T02:50:08.471040 | 2022-01-13T20:50:29 | 2022-01-13T20:50:29 | 124,100,479 | 262 | 179 | MIT | 2022-12-16T05:36:38 | 2018-03-06T15:44:09 | C++ | UTF-8 | C++ | false | false | 984 | cc | // Copyright (c) 2015 The Chromium Embedded Framework 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 "include/cef_scheme.h"
#include "libcef/browser/context.h"
#include "base/logging.h"
bool CefRegisterSchemeHandlerFactor... | [
"tungnt.rec@gmail.com"
] | tungnt.rec@gmail.com |
4d9fe8dbf91b5710bcb7a5ef12e70217e0af0049 | bf1b27d45df039b2341dad3e17ddb499ea760d10 | /manipulation/kuka_iiwa/iiwa_status_receiver.h | f334cc64ceabcef1a5c3d36747b1c3c32584b476 | [
"BSD-3-Clause"
] | permissive | joaqgira/drake | eaf4e4d86819a9bd2b9f062a6bd834b6534206fd | eff8d35c0bbffb92910dd62fb0c4ba546c53210b | refs/heads/master | 2020-07-01T22:12:54.086765 | 2019-04-30T18:24:29 | 2019-04-30T18:24:29 | 201,315,267 | 0 | 0 | NOASSERTION | 2019-08-08T18:28:28 | 2019-08-08T18:28:27 | null | UTF-8 | C++ | false | false | 3,317 | h | #pragma once
#include <vector>
#include "drake/common/drake_copyable.h"
#include "drake/common/drake_deprecated.h"
#include "drake/lcmt_iiwa_status.hpp"
#include "drake/manipulation/kuka_iiwa/iiwa_constants.h"
#include "drake/systems/framework/leaf_system.h"
namespace drake {
namespace manipulation {
namespace kuka_... | [
"noreply@github.com"
] | joaqgira.noreply@github.com |
a9c14665eecde59548380613b7724faa07b6b243 | 79c7054df7f0bbeb1fec3cbc6d7c141ceca26830 | /Library/Il2cppBuildCache/Windows/x64/il2cppOutput/GenericMethods4.cpp | 4e25515b9dc99ffa711ceeba0727d2f0a2d546a3 | [] | no_license | Fuuski/ArchitectureTeam5 | e8ef51ec202d63eeea418df2a0f51047597274bf | 508498ea190decc6c517f6a418ebc3a538051589 | refs/heads/main | 2023-05-13T17:42:39.340431 | 2021-06-03T13:01:20 | 2021-06-03T13:01:20 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,828,498 | cpp | #include "pch-cpp.hpp"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <stdint.h>
#include <limits>
template <typename R, typename T1>
struct VirtFuncInvoker1
{
typedef R (*Func)(void*, T1, const RuntimeMethod*);
static inline R Invoke (Il2CppMethodSlot slot, RuntimeObject* obj... | [
"sw.roeloffs@hotmail.com"
] | sw.roeloffs@hotmail.com |
2d0d1d03e7ed3c60a97dbab352c35ea26d3a9fa1 | 671080c547a48d571bd444ed5b72dd0eb4c03704 | /790_Domino_and_Tromino_Tiling.cpp | 480f5a72c568d71e75c988d096e29b9506c32809 | [] | no_license | gKevinK/LeetCode | dc42b7dd4d83a5a4b4aacfe6066fbca23900584b | 193eba041625a501b1578cf37fba819f9dbd17d4 | refs/heads/master | 2021-06-07T07:42:52.114362 | 2020-08-29T11:57:57 | 2020-08-29T11:57:57 | 115,308,104 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 474 | cpp | class Solution {
public:
int numTilings(int N) {
vector<int> v(N + 1, 0);
v[0] = 1;
for (int i = 1; i <= N; i++) {
for (int j = 0; j < i; j++) {
if (i - j == 1 || i - j == 2)
v[i] += v[j];
else
v[i] += 2 * v[... | [
"gkangkai@gmail.com"
] | gkangkai@gmail.com |
f208d4d2d6f34d2c6bbe4f8eb142bdd6f2bfa99b | 93f4a11f5a05ccaed8a93feac2f1c4b105603f18 | /RadialGlow/main - Copy.cpp | bebae582d81661cfe48109900bfad4fd49654f66 | [] | no_license | tcrane20/AdvanceWarsEngine | a1e06ad87248b34bb7efc7ce5c7232a069fa308e | 9112666e5caa36ab88c488f71aa20ff3b32141f2 | refs/heads/master | 2021-01-17T11:39:56.002222 | 2016-07-20T05:50:23 | 2016-07-20T05:50:23 | 37,164,646 | 9 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 7,630 | cpp | #include "main.h"
#include <math.h>
/*==========================================================================
** Bitmap Structs
----------------------------------------------------------------------------
The address to a Bitmap object points to a RGSSBITMAP instance. You must
then access the BITMAPSTRUCT and RGS... | [
"tscrane20@gmail.com"
] | tscrane20@gmail.com |
29d568a13c4ca469e2b17fa4a1e186928d3eaa96 | 72e51eaf7ff10abd36b9fb81aa16aaac0953a882 | /prj.objed/objed/src/meancl.cpp | 26b001b7c30125f9ed8371f0549284f575b2fe30 | [
"BSD-2-Clause"
] | permissive | usilinsergey/objed | 8f4fe614d8ecfe66f091e8b58996d2a3959f3262 | a5d0c82382a6546d5d4c649f153eec94c4ade0ee | refs/heads/master | 2020-06-01T12:09:28.075259 | 2017-04-07T17:00:41 | 2017-04-07T17:00:41 | 32,329,583 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,223 | cpp | /*
Copyright (c) 2011-2013, Sergey Usilin. All rights reserved.
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 code must retain the above copyright notice,
this l... | [
"usilin.sergey@gmail.com"
] | usilin.sergey@gmail.com |
7aa56dac6bee0a16fb0a4593d779747f918370fc | 2e05ee5264a0a02149c00469db3675d07c97f439 | /esp32/libraries/sensors_actors/Dht22/doku/Unterlagen/dht22_Adafruit_Isr_Evaluation/src/dht22Test.ino.ino | 272bf7c57f6251e33e80aecd5ebae26cbf66ae1e | [] | no_license | gkoe/iotsamstag2 | c41e181094f1a1d38aae93c98036f6f2bfe613e7 | 359f6e16578720c0124a2811737d0fb1854d7f49 | refs/heads/master | 2020-04-21T18:23:19.861915 | 2019-02-09T10:52:12 | 2019-02-09T10:52:12 | 169,767,561 | 5 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,991 | ino | /**
* Example for reading temperature and humidity
* using the DHT22 and ESP8266
*
* Copyright (c) 2016 Losant IoT. All rights reserved.
* https://www.losant.com
*/
#include "DHT.h"
#define DHTPIN D1 // what digital pin the DHT22 is conected to
#define DHTTYPE DHT22 // there are multiple kinds of DHT sens... | [
"gkoe@gmx.at"
] | gkoe@gmx.at |
93c555924adba47e8adae553777c7d80eee6f73b | 531e20fa94a0820a738f284f8d6b79a3c85f88b8 | /src/qt/transactionrecord.cpp | 9c19eddfb92707d65d4c0ee884e9cacce29e01bf | [
"MIT"
] | permissive | cryptoclm/ksocsports | e39bcf5c1cf8db0df83f500d97d5de1b4a067aec | c3479823d313417bf6b9daa18b317d7ccd12106b | refs/heads/main | 2023-07-18T22:41:23.004182 | 2021-09-12T21:16:11 | 2021-09-12T21:16:11 | 405,170,710 | 0 | 0 | MIT | 2021-09-10T18:02:12 | 2021-09-10T18:02:11 | null | UTF-8 | C++ | false | false | 18,136 | cpp | // Copyright (c) 2011-2014 The Bitcoin developers
// Copyright (c) 2014-2015 The Dash developers
// Copyright (c) 2015-2020 The PIVX developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "transactionrecord.h"
#inc... | [
"ksoc@kicksoccercoin.com"
] | ksoc@kicksoccercoin.com |
9b8c6d3bf7c5a7dcbcc0e5f1ec4ee1222b2aca4c | ebb05ddddb7f2ec20838844f4744e45a145c4b5f | /Trailing Zeros.cpp | ef97f78ffdfaab393a30be47775e75042c0f0ad3 | [] | no_license | SyedaShafi/C-CPP | 0a5fc381f0732ada07fc9c0a2cd37b71326e115b | 6ff5cf8a84273a69c99457284ab9ef2b2a8f1aeb | refs/heads/master | 2022-11-17T16:34:51.022130 | 2020-07-20T15:44:35 | 2020-07-20T15:44:35 | 281,143,433 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 185 | cpp | # include <bits/stdc++.h>
typedef long long ll;
using namespace std;
int main ()
{
ll n,c=0,i;
cin>>n;
for (i=5;n/i>=1;i*=5)
c+=n/i;
cout<<c<<"\n";
}
| [
"noreply@github.com"
] | SyedaShafi.noreply@github.com |
2323448d9ef2822c609400da86030dc842befd1f | d1de3d5e9e39c2920e6fa14de18397043d4a7576 | /InverseGreedyPM/MainWindow.cpp | d9d3f69328733132a009f408ed6ecf85929f5aad | [] | no_license | gnishida/LSystem | 3b1d5d8ffbf4bc97ba07d83ea105a28d347a7851 | 25bc8578f4031bc67c0358691c59a29e644869ba | refs/heads/master | 2020-06-06T02:38:36.422726 | 2015-06-25T19:27:00 | 2015-06-25T19:27:00 | 34,934,889 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,190 | cpp | #include "MainWindow.h"
#include <QDir>
#include <fstream>
#include "MLUtils.h"
#include "GreedyLSystem.h"
#include "GenerateSamplesWidget.h"
#include <QFileDialog>
MainWindow::MainWindow(int num_grid, int num_stat_grid, QWidget *parent, Qt::WFlags flags) : QMainWindow(parent, flags) {
this->num_grid = num_grid;
th... | [
"gnishida@purdue.edu"
] | gnishida@purdue.edu |
e78443aeb5e1b4bfd620ac9b32f5b876d9708f31 | 57e74e83ae00c0aa1a244b5be5c707ac6d9017ed | /1108. Defanging an IP Address.cpp | b9f3d5e3cab4c7b0061417a77eb86e9430d58a0a | [] | no_license | Asad51/Leetcode-Problem-Solving | c68f7ff1caa32769cb6358d1fa830c1b71c77bcd | 985a5bd8c794e77f09b9de463bbdf61decb40277 | refs/heads/master | 2021-07-21T20:43:25.303644 | 2020-04-10T12:22:35 | 2020-04-10T12:22:35 | 130,381,432 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 359 | cpp | class Solution
{
public:
string defangIPaddr(string address)
{
string defangedAddress = "";
for (int i = 0; i < address.size(); i++)
{
if (address[i] == '.')
defangedAddress += "[.]";
else
defangedAddress += address[i];
}
... | [
"asad.cse.ru.15@gmail.com"
] | asad.cse.ru.15@gmail.com |
91891dd5d95d8345ba0ca45c9c39df94db5489d3 | 30773b649ebd89ffadd16d30fd62740b77ca7865 | /SDK/BP_RitualBottle_classes.h | 01584d9eed89261bf99597e63cebbccfe25ef67c | [] | no_license | The-Jani/Sot-SDK | 7f2772fb5df421e02b8fec237248af407cb2540b | 2a158a461c697cca8db67aa28ffe3e43677dcf11 | refs/heads/main | 2023-07-09T07:17:56.972569 | 2021-08-18T23:45:06 | 2021-08-18T23:45:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,592 | h | #pragma once
// Name: S, Version: 2.2.1
/*!!DEFINE!!*/
/*!!HELPER_DEF!!*/
/*!!HELPER_INC!!*/
#ifdef _MSC_VER
#pragma pack(push, 0x01)
#endif
namespace CG
{
//---------------------------------------------------------------------------
// Classes
//----------------------------------------------------------------... | [
"ploszjanos9844@gmail.com"
] | ploszjanos9844@gmail.com |
1f8beec613ce2f27c40be664430d32ca1abb6530 | c2cce1df64fba18b7c19087aa4a450734de50cb5 | /SMGE/Assets/CAsset.cpp | a875c4abf86d78c8429297fbe5da1199bd2303da | [
"MIT"
] | permissive | cuwaki/MonoMax.GLPlayground | 5d7d0feb14e266ccaad0307e155009dbb501d46c | c14eb6879ca5d36bdff443ae244d6a58da7613ff | refs/heads/master | 2023-06-21T20:51:31.651706 | 2021-07-18T03:28:59 | 2021-07-18T03:28:59 | 258,217,872 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 41 | cpp | #include "CAsset.h"
namespace SMGE
{
};
| [
"cuwaki@naver.com"
] | cuwaki@naver.com |
8a7950edb1675f11c975e848867db403495d2529 | 8544a9d24339ea487443f7268a2ea1864577cc3d | /eosc/eosc_commands/eosc_command.cpp | df270dc130a67c8fa5cd8e7a29fb8669d1a043f6 | [] | no_license | stefanzarembinski/EosContracts | 1e8bd016aa5040d3d8d987e094dc81bd5d3d1550 | d92c7b34106a2a2d952070f636466738bd5718b6 | refs/heads/master | 2021-08-23T22:27:57.860475 | 2017-12-06T21:54:54 | 2017-12-06T21:54:54 | 110,572,739 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,874 | cpp | #include <stdio.h>
#include <iostream>
#include <cstdarg>
#include "boost/property_tree/json_parser.hpp"
#include "boost/date_time/posix_time/posix_time.hpp"
#include <boost/algorithm/string.hpp>
#include <boost/asio.hpp>
#include <pthread.h>
#include "eosc_command.hpp"
#include <eosc_config.h>
namespace tokenika::... | [
"stefan.zarembinski@gmail.com"
] | stefan.zarembinski@gmail.com |
907b40bc764c5b020da62a529376ece77632e169 | ece8cb8d48e1f2453fbc572b86de55a03c214914 | /HexBinWorker/HexBinWorker/CnComm.h | ae552cefcc92fa2d182a61e704a7afc899dba923 | [] | no_license | wpmyj/HexBinWorker | 89dccc605023781337c05a5d1d74fd8e91c75881 | e4ebfd95f2f0d9037462616369b726629c056a39 | refs/heads/master | 2021-01-21T14:47:59.722591 | 2014-08-26T08:33:14 | 2014-08-26T08:33:14 | 95,333,071 | 1 | 0 | null | 2017-06-25T02:08:53 | 2017-06-25T02:08:53 | null | GB18030 | C++ | false | false | 17,422 | h | #ifndef _CN_COMM_H_
#define _CN_COMM_H_
#pragma warning(disable: 4530)
#pragma warning(disable: 4786)
#pragma warning(disable: 4800)
#include <assert.h>
#include <stdio.h>
#include <windows.h>
//送到窗口的消息 WPARAM 端口号
#define ON_COM_RECEIVE WM_USER + 618
#define ON_COM_CTS WM_USER + 619 //LPARAM 1 valid
#define ON_COM_D... | [
"yujnln@gmail.com"
] | yujnln@gmail.com |
3e347734198c079d10b9a496dcb9ec11fe2b2b39 | cb89d4a92aebeb07bb250abe3d1cf3a0e00ca524 | /ros_ws/src/iris_rtk/include/rtk/ldc/pithy_buffer_compressor.h | 02a9f5fc8f3d02c375dd68ab7a91f7f6fc7148a6 | [
"BSD-3-Clause"
] | permissive | fabioalves98/IntelChair | a5bd2e68ef3c279488105f850aa93af9238e2c00 | 357f29ceabe2290bd1b4b7f6570714feb0f71963 | refs/heads/master | 2023-03-13T02:13:39.837027 | 2019-06-13T22:02:58 | 2019-06-13T22:02:58 | 343,525,367 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,566 | h | //
// Copyright (c) 2018, IRIS Laboratory, IEETA, University of Aveiro - Portugal
//
// @date 2018-10-30
// @authors Eurico Pedrosa <efp@ua.pt>
//
#pragma once
#include <rtk/ldc/buffer_compressor.h>
namespace rtk {
namespace ldc {
class PithyBufferCompressor : public BufferCompressor {
public:
virtual ~Pith... | [
"fabioalves98@ua.pt"
] | fabioalves98@ua.pt |
3e6743baa90a5d73347d951ba351f5da8d341be5 | c287f063100e0ddb29bcf27e9f901b914cca0f2e | /thirdparty/qt53/include/QtWidgets/qapplication.h | e72fe29bdb84dfe7d3bb50cb0ade933a89a06640 | [
"MIT"
] | permissive | imzcy/JavaScriptExecutable | 803c55db0adce8b32fcbe0db81531d248a9420d0 | 723a13f433aafad84faa609f62955ce826063c66 | refs/heads/master | 2022-11-05T01:37:49.036607 | 2016-10-26T17:13:10 | 2016-10-26T17:13:10 | 20,448,619 | 3 | 1 | MIT | 2022-10-24T23:26:37 | 2014-06-03T15:37:09 | C++ | UTF-8 | C++ | false | false | 8,323 | h | /****************************************************************************
**
** Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/legal
**
** This file is part of the QtWidgets module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL$
** Commercial License Usage
** Licens... | [
"zcy920225@gmail.com"
] | zcy920225@gmail.com |
319b6fee62eeec519116d91d10b0395ad0b9f5ab | f8e2eb6ea72caf9e4c47dc38546bcc3deccb1919 | /Easy/Q2210 (숫자판 점프).cpp | 2b7b4c6c00626e5190eee9f809b7c8d8d945e7b9 | [] | no_license | tinyfrog/Data-Structure-Algorithm | 63624f32c81d0a79a26ffb56c50f792ef9520524 | a01ca150496237eab685b6d1f8bd936c4ad694a1 | refs/heads/master | 2020-03-29T09:25:54.510798 | 2020-02-23T08:13:44 | 2020-02-23T08:13:44 | 149,758,067 | 10 | 0 | null | null | null | null | UHC | C++ | false | false | 1,192 | cpp | #define _CRT_SECURE_NO_WARNINGS
#include <cstdio>
int ar[6][6];
int save[25601];
int idx;
int dx[4] = { -1, 1, 0, 0 }, dy[4] = { 0, 0, -1, 1 };
void go(int x, int y, int c, int num)
{
int i;
if (num == 6) {
for (i = 0; i < idx; i++) {
if (c == save[i]) return;
}
save[idx++] = c;
return;
... | [
"noreply@github.com"
] | tinyfrog.noreply@github.com |
56805604b6def4c76b64b5badc22def1265aa769 | c0203751e2a057966cdf335c42b8d3b38d3e09f1 | /ash/wm/panels/panel_window_resizer.h | 5f3cc1667459c5aeca9c9c6ba3a15e47c82e4265 | [
"BSD-3-Clause"
] | permissive | timopulkkinen/BubbleFish | 8a39cb8f6c885602d8d2d3b30fdc6999348a8109 | eae72cda503b24447ebc9cd167e2f1ea9c933ce5 | refs/heads/master | 2020-05-09T15:52:41.453111 | 2013-03-24T21:27:44 | 2013-03-24T21:27:44 | 6,156,585 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,883 | h | // 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.
#ifndef ASH_WM_PANELS_PANEL_WINDOW_RESIZER_H_
#define ASH_WM_PANELS_PANEL_WINDOW_RESIZER_H_
#include "ash/wm/window_resizer.h"
#include "base/compile... | [
"flackr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98"
] | flackr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98 |
70ae435a6c31a2a4fad9f2fc5d7f47c0d66abd1d | 9d364070c646239b2efad7abbab58f4ad602ef7b | /platform/external/chromium_org/chrome/browser/notifications/sync_notifier/chrome_notifier_service_factory.h | 38aea3db90bb609863583a33d27c354cf539fdcb | [
"BSD-3-Clause"
] | permissive | denix123/a32_ul | 4ffe304b13c1266b6c7409d790979eb8e3b0379c | b2fd25640704f37d5248da9cc147ed267d4771c2 | refs/heads/master | 2021-01-17T20:21:17.196296 | 2016-08-16T04:30:53 | 2016-08-16T04:30:53 | 65,786,970 | 0 | 2 | null | 2020-03-06T22:00:52 | 2016-08-16T04:15:54 | null | UTF-8 | C++ | false | false | 1,233 | 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_NOTIFICATIONS_SYNC_NOTIFIER_CHROME_NOTIFIER_SERVICE_FACTORY_H_
#define CHROME_BROWSER_NOTIFICATIONS_SYNC_NOTIFIER_CHROME_NOTIFI... | [
"allegrant@mail.ru"
] | allegrant@mail.ru |
5c60a6a6b08437f032883c681183ce8596ff9a58 | a0239111f1365833a8d3f0ce99ba0a15590b2371 | /Samples/MaxPlugins/LibShared/MaxSDK/Max2014/include/maxnet_manager.h | 130e09ea2cc3c3a1c02505d19b895aa6f751e932 | [] | no_license | SuperMap/OGDC | 71c9f629e3e6ccde604446f1504d07a809ee82ae | c4e3fe509dd8772794d144fe0d906cfd123e5f66 | refs/heads/master | 2023-09-06T08:44:59.595550 | 2022-03-15T08:23:59 | 2022-03-15T08:23:59 | 6,771,763 | 30 | 15 | null | null | null | null | UTF-8 | C++ | false | false | 34,573 | h | //-----------------------------------------------------------------------------
// ---------------------------
// File ....: maxnet_manager.h
// ---------------------------
// Author...: Gus J Grubba
// Date ....: February 2000
// O.S. ....: Windows 2000
//
// History .: Feb, 15 2000 - Created
//
// 3D Studio Max Netwo... | [
"heqian@supermap.com"
] | heqian@supermap.com |
2f93ecc2dc43a81aeb6888ef555c736990c82c50 | d8bab638248606cb91fd9d9e87983b5a5e018130 | /LeetCode/LCP 17. 速算机器人.cpp | 08c1d8fee6adee1edc6405496ef22f9e019c74db | [] | no_license | ning2510/Think-twice-Code-once | cbb8c06a6b55b6c74e4361ecf879b14b0a0e74de | 45e2fb2448cd85df451722e562fc146db5910cde | refs/heads/master | 2023-01-01T00:04:47.509070 | 2020-10-24T07:01:07 | 2020-10-24T07:01:07 | 264,395,014 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 220 | cpp | class Solution {
public:
int calculate(string s) {
int x = 1, y = 0;
for(auto &c : s) {
if(c == 'A') x = 2 * x + y;
else y = 2 * y + x;
}
return x + y;
}
}; | [
"1367560112@qq.com"
] | 1367560112@qq.com |
cec6f5142ba78b96df27abe750f7d41e15739a0e | bc90e70ee2139b034c65a5755395ff55faac87d0 | /sprout/utility/pair/pair_decl.hpp | b7fa33741335bb26b760f82a513496c1c3a79611 | [
"BSL-1.0"
] | permissive | Manu343726/Sprout | 0a8e2d090dbede6f469f6b875d217716d0200bf7 | feac3f52c785deb0e5e6cd70c8b4960095b064be | refs/heads/master | 2021-01-21T07:20:16.742204 | 2015-05-28T04:11:39 | 2015-05-28T04:11:39 | 37,670,169 | 0 | 1 | null | 2015-06-18T16:09:41 | 2015-06-18T16:09:41 | null | UTF-8 | C++ | false | false | 5,727 | hpp | /*=============================================================================
Copyright (c) 2011-2015 Bolero MURAKAMI
https://github.com/bolero-MURAKAMI/Sprout
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.tx... | [
"bolero.murakami@gmail.com"
] | bolero.murakami@gmail.com |
f41b47912f7805b7d41a74600474742da7c21b57 | debd19379cf4e81beac0d52471da9164b3e3da81 | /include/rpc/msgpack/adaptor/deque.hpp | 6d4e640ca95f98a5383eb4216d915c5678f9255b | [
"Apache-2.0"
] | permissive | danielyoshizawa/yz-microservices | a44408a004c98a82e6aad790acb5abbdceae9201 | 14030168a743880cc700b6e61e4bbe2ef02f911d | refs/heads/master | 2021-09-22T10:10:33.227128 | 2018-09-07T18:45:56 | 2018-09-07T18:45:56 | 115,046,945 | 0 | 0 | Apache-2.0 | 2018-09-07T18:45:57 | 2017-12-21T21:04:20 | C++ | UTF-8 | C++ | false | false | 405 | hpp | //
// MessagePack for C++ static resolution routine
//
// Copyright (C) 2016 KONDO Takatoshi
//
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
//
#ifndef MSGPACK_TYPE_DEQUE_HPP
#define MSGPACK_TYPE_DEQU... | [
"yoshidanielcwb@gmail.com"
] | yoshidanielcwb@gmail.com |
bd0f0416fabd6b286f03ebc18f9e206f5bc9c656 | 29f2549998b45a046930f3b1c5e3024791b1be16 | /include/llvm/Support/type_traits.h | 71f7655e2efe70218bb9813371d4aaaab8ed2ec3 | [
"NCSA"
] | permissive | fanfuqiang/iec-61131_new | eda210bd30a6a32e3d14c3d3e87f51b179124c72 | fde56fdefd60e33facaa07661e388ed6c916c763 | refs/heads/master | 2016-09-05T14:59:12.678870 | 2015-02-06T23:55:09 | 2015-02-06T23:55:09 | 30,048,552 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,049 | h | //===- llvm/Support/type_traits.h - Simplfied type traits -------*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | [
"feqin1023@gmail.com"
] | feqin1023@gmail.com |
a60b64d6a07f770ed2c590df616a11d86cfc586b | b5e2b699b398583a6284dd3730af5a224fa07da6 | /Classes/SMFrameWork/Database/DBHelper.cpp | 5da92a893c248a6b6336381b526f32e42f93495b | [] | no_license | brokenpc00/SMFrameWork_CPP | 21b435d588bdded3e59818127bba42524af3bcda | 0038a631c1fc31a5366655ac84479c97bee528fa | refs/heads/main | 2023-02-26T15:08:56.466222 | 2021-02-01T23:44:18 | 2021-02-01T23:44:18 | 335,111,231 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,989 | cpp | //
// DBHelper.cpp
// SMFrameWork
//
// Created by KimSteve on 2016. 12. 7..
//
//
#include "DBHelper.h"
#include "DBConstant.h"
#include <cocos2d.h>
using namespace dbconst;
DBHelper* DBHelper::sInstance = nullptr;
DBHelper* DBHelper::getInstance() {
if (sInstance == nullptr) {
sInstance = new (std... | [
""
] | |
bf00804185f061337755ed5618058e472ab862d9 | 84160163f8db722320468391a63fa961ccef1f90 | /sources/keycode_map.cpp | 73c7269f1a8b874794915838016b34aef9e758c3 | [] | no_license | fromasmtodisasm/Emul86 | c04cc7b4db94829bf4240ff480dd0ecd47a24e02 | 9a72e110a974a2f0378106e4cbe9a5b680cf720c | refs/heads/master | 2020-12-22T00:11:29.025917 | 2019-09-09T15:31:55 | 2019-09-09T15:31:55 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,678 | cpp | #include "keycode_map.h"
#include <GLFW/glfw3.h>
int GetKeyCode(int key)
{
auto it = detail::GetKeyMap().find(key);
return it != detail::GetKeyMap().end() ? it->second : -1;
}
const std::map<int, int>& detail::GetKeyMap()
{
static KeyMap keyMap;
return keyMap.keyCodes;
}
detail::KeyMap::KeyMap()
{
int key;
ke... | [
"stanislav@podgorskiy.com"
] | stanislav@podgorskiy.com |
cecd01f48e09a5d7c47b97b4fc8867906750d6b2 | fc6d01c0a4ff1dd611a97b4a1999ba3e0ec051b5 | /Trapping Rain Water.cpp | a97602076680deb284e676e627783c66fb139352 | [
"MIT"
] | permissive | fz1989/LeetCode | 9e32ffbf13073b89a4d2b3b19a5a3cada5c09cc4 | 6d9c3ddf3e2048c7be456902841d7e5fc80cd741 | refs/heads/master | 2020-06-04T01:13:25.302987 | 2014-03-04T13:41:23 | 2014-03-04T13:41:23 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 599 | cpp | class Solution {
public:
int trap(int A[], int n) {
int lmax[n], rmax[n];
for (int i = 0; i < n; i++) {
if (i == 0) lmax[i] = A[i];
else {
lmax[i] = max(A[i - 1], lmax[i - 1]);
}
}
for (int i = n - 1; i >= 0; i--) {
if (... | [
"fz1989fz@gmail.com"
] | fz1989fz@gmail.com |
9bd2c8ad6a8970026f18b320791bf2a77bb9a6a6 | 082b362705c6c23f5f29dacdff7aa8bc397b6e37 | /GeoTempCore/Source/GeoTempCore/Private/GeoTempCore.cpp | aaba7dc7be25690a1710f964d8dec31b674719c8 | [
"MIT"
] | permissive | interactivevislab/GeoTempPlugins | eeabb2728bedee96bd54fbfa75535e4fe1578794 | 5c650769cbdb22931fc0e221bd7a3233a56c202a | refs/heads/master | 2021-04-20T10:55:33.651759 | 2020-05-20T22:20:55 | 2020-05-20T22:20:55 | 249,676,605 | 9 | 0 | MIT | 2020-05-28T11:27:13 | 2020-03-24T10:21:23 | C++ | UTF-8 | C++ | false | false | 608 | cpp | // Copyright 1998-2019 Epic Games, Inc. All Rights Reserved.
#include "GeoTempCore.h"
#define LOCTEXT_NAMESPACE "FGeoTempCoreModule"
void FGeoTempCoreModule::StartupModule()
{
// This code will execute after your module is loaded into memory; the exact timing is specified in the .uplugin file per-module
}
void FGe... | [
"alazar.az@gmail.com"
] | alazar.az@gmail.com |
909459f4b1e1560c16211770089066da228552b5 | b9462e07f7e98f2ac46c258d339ec1b0ec5a6bc1 | /core/header/Common.h | 66c1b17a96ca526b79688a5cd9e6a11e2478cae4 | [] | no_license | DamienGallet/sudokuSolver | 3dfc7b404d9c51f62bc539487d51f234996fe1c2 | d2d3bd3894304730aaedc4a39836dec72fd48079 | refs/heads/master | 2021-01-11T22:43:02.987234 | 2017-01-18T23:43:36 | 2017-01-18T23:43:36 | 79,022,589 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 360 | h | #pragma once
namespace gameConst {
const int SIZE = 9;
const int MAX_SCORE = SIZE+1;
const int AREA_EMPTY = 511;
const int NUMB_FREE = 1;
const int NUMB_USED = 0;
}
namespace classUtilities {
const enum AreaType { ROW, COL, BLOCK };
const enum CellState { INITIALLY_FILLED, FILLED_IN_GAME, NOT_FILLED };
const ... | [
"damien.gallet@insa-lyon.fr"
] | damien.gallet@insa-lyon.fr |
0cc5ae11dcda26ac69bee2fef59757e2a8c1f6de | e484505497715a09083c17a8269154334e38537d | /cpp/binary/binary.h | a27f6fcabe9fd5b9e3a1327005fd79d298baeb1f | [] | no_license | sehe/exercism | 2c71e729603981db098859d82b7040b95f8e86a7 | 8c2dd5c1391288fd24be4a8d084ed9a8bad5d8f2 | refs/heads/master | 2021-01-10T04:57:09.854995 | 2016-01-30T05:03:40 | 2016-01-30T05:03:40 | 49,395,117 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 265 | h | #include <string>
namespace binary {
uint64_t convert(std::string const& s) {
uint64_t r = 0;
for (char ch : s) {
r *= 2;
if (ch=='1') r += 1;
else if (ch!='0') return 0;
}
return r;
}
}
| [
"sgheeren@gmail.com"
] | sgheeren@gmail.com |
b93e4875b7a2cefcd32992b9f46e80d64b2302f8 | 74c839db7ab0f89adbcab4346d8e03f2ac892af1 | /source/core/inc/flyfrm.hxx | df2edc411cad63a66d8f1b86e20777287d9aab02 | [] | no_license | Jaredgs1988/ApplicationThemes | 96457ddca1d2eba72f1346f0439deca67358c95e | f59d52df4c9852572d8c8542d7cd5fc2fa0f6ab6 | refs/heads/master | 2016-08-12T20:32:51.026344 | 2015-06-24T04:59:29 | 2015-06-24T04:59:29 | 36,150,879 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,393 | hxx | /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozil... | [
"jared@localhost.localdomain"
] | jared@localhost.localdomain |
7fd105db903cdf84401fd7124842bd97eae3dadf | cc388a84101c394961d11d3c672403d6148ac36a | /Prime Numbers with dynamic programming/CountPrimeNumbers1.cpp | f771ca7b35e6068e589a8291ba4c7db9f3aa4db3 | [] | no_license | AlcantaraGabriel/Algorithms | ea59bccc5faecd7d01391b60482dd0041b5d94d0 | 9b6b8f18077ca590829d39390b927cf49e48b8bd | refs/heads/master | 2020-12-29T02:19:40.246453 | 2018-05-06T23:53:01 | 2018-05-06T23:53:01 | 55,343,439 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,262 | cpp | //Author: Gabriel Alcântara Silva
//Title: Using dynamic programming for viewing and count of prime numbers
//N = 0
//3*2^0-1 = 2, is prime
//3*2^0+1 = 4, not is prime
//Special case: 3*2^0, it is the only case that is prime number
#include <cstdio>
using namespace std;
#define MAX 1000000000
//Array used to save th... | [
"gabrielalcantara39@gmail.com"
] | gabrielalcantara39@gmail.com |
3d1e85d8678d722b2948f05db14c1499a96f0e06 | c8673b64ded8f92fbd29e34aa0a7f971d184cf8d | /test/transactions/types/fixtures/multi_payment.hpp | ba15ceedacb018cb6295ac8bc426b34490e4b417 | [
"MIT"
] | permissive | sleepdefic1t/cpp-crypto | 25492100fd66b1bf62736e2917c5c455cc919ceb | 6171bef724bf6ab99caa5cd515740cc10307f7e6 | refs/heads/master | 2023-03-16T14:21:20.061839 | 2020-03-09T03:30:52 | 2020-03-09T03:30:52 | 138,082,245 | 0 | 1 | MIT | 2018-10-08T20:52:35 | 2018-06-20T20:25:38 | C++ | UTF-8 | C++ | false | false | 47,952 | hpp | /**
* This file is part of Ark Cpp Crypto.
*
* (c) Ark Ecosystem <info@ark.io>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
**/
#ifndef ARK_TRANSACTIONS_TYPES_FIXTURES_MULTI_PAYMENT_HPP
#define ARK_TRANSACTIONS_TYPES_FIXTURES_MULT... | [
"noreply@github.com"
] | sleepdefic1t.noreply@github.com |
9aced85dc229cf9201c2e0d8c4a8cb7ecb45c3fc | 39465dfc263dc9d525bd850da967c566930636e6 | /Blackjack.cpp | 8b98d7256b1d47b45d964cd344ebadeac7aa62f7 | [] | no_license | cheperth/Cplusplus | cf2dd11665e6267fcc881c8718e495a412b4d66a | 86ec16b0a04c27957fdbfcfc0de4b5f64a9acaef | refs/heads/master | 2021-09-16T02:44:21.079905 | 2018-06-15T00:38:42 | 2018-06-15T00:38:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,184 | cpp | /*
Che Perth
CS110B
1/26/2018
a2_1.cpp
a2_1.cpp is a Blackjack program that gives the user 2 cards and asks the user
if they want another card. While the user responds with y the proram will keep
giving the user new cards. If the total reaches 21 the program says congratulations
as asks to user to play again. If th... | [
"noreply@github.com"
] | cheperth.noreply@github.com |
449bf94a7bdcf870dd3928d79b4b79cbb3ae6875 | e616734c3180bf21577db0ea7b2e38f795a0281a | /objconv/source/disasm2.cpp | 3bc282d34ed6e503890849ab589c2e3bb26dfb3d | [] | no_license | mr040790/agner | 5d8c2e0b2b15474bf85191a7b2d21da199991a2d | 21e50142dec05cbd13dad69169e7d546c7f0ea08 | refs/heads/master | 2020-05-23T22:34:46.952599 | 2015-03-24T01:12:45 | 2015-03-24T01:12:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 154,656 | cpp | /**************************** disasm2.cpp ********************************
* Author: Agner Fog
* Date created: 2007-02-25
* Last modified: 2014-12-12
* Project: objconv
* Module: disasm2.cpp
* Description:
* Module for disassembler containing file output functions
*
* Changes that relate to asse... | [
"trent@trent.me"
] | trent@trent.me |
67d7395ad9c15a4eb5137c7a9ad2c60dc8701425 | 23d30f6b1de52e23730735b2dc79bb8b0f6bc74d | /tests/cpp/common/test_numeric.cc | 2a91d2d72a7814431ebde9f96f2e070eac970c14 | [
"Apache-2.0"
] | permissive | rapidsai/xgboost | d66ae03418ae61511a27b060956831d836e12df7 | f5bf7ad4b5b06449e93500d98f41f0c9793db065 | refs/heads/branch-23.02 | 2023-05-25T01:26:38.483612 | 2022-12-07T21:26:58 | 2022-12-07T21:26:58 | 156,279,925 | 30 | 18 | Apache-2.0 | 2023-04-19T18:53:15 | 2018-11-05T20:39:47 | C++ | UTF-8 | C++ | false | false | 1,277 | cc | /*!
* Copyright 2022, XGBoost contributors.
*/
#include <gtest/gtest.h>
#include <numeric>
#include "../../../src/common/numeric.h"
namespace xgboost {
namespace common {
TEST(Numeric, PartialSum) {
{
std::vector<size_t> values{1, 2, 3, 4};
std::vector<size_t> result(values.size() + 1);
Context ctx;
... | [
"noreply@github.com"
] | rapidsai.noreply@github.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.