blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 3 264 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 5 140 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 905
values | visit_date timestamp[us]date 2015-08-09 11:21:18 2023-09-06 10:45:07 | revision_date timestamp[us]date 1997-09-14 05:04:47 2023-09-17 19:19:19 | committer_date timestamp[us]date 1997-09-14 05:04:47 2023-09-06 06:22:19 | github_id int64 3.89k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 22
values | gha_event_created_at timestamp[us]date 2012-06-07 00:51:45 2023-09-14 21:58:39 ⌀ | gha_created_at timestamp[us]date 2008-03-27 23:40:48 2023-08-21 23:17:38 ⌀ | gha_language stringclasses 141
values | src_encoding stringclasses 34
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 3 10.4M | extension stringclasses 115
values | content stringlengths 3 10.4M | authors listlengths 1 1 | author_id stringlengths 0 158 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
76151196a3685639ab263d8189370d44fafb770c | 8b7639352a922a39874cfd006c8213381b1dca13 | /checkSubarraySum.cpp | 384f31e9a3a576a588a13652d224f43d43e84529 | [] | no_license | Boomshakalak/leetCodePractice | 3cabdec4341e3525a9bcbf20851e45c46de83e6f | bd616240015a094e3303afa7865a1a54e1720128 | refs/heads/master | 2020-07-02T14:13:45.190585 | 2017-08-17T02:20:38 | 2017-08-17T02:20:38 | 74,304,042 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 584 | cpp | class Solution {
public:
bool checkSubarraySum(vector<int>& nums, int k) {
vector<int> sum(nums.size()+1,0);
unordered_set<int> remainder;
int rem;
for (int i =1 ; i < sum.size();i++){
sum[i] = sum[i-1]+nums[i-1];
if(k){
rem = sum[i]%k;
... | [
"soarer@vip.qq.com"
] | soarer@vip.qq.com |
c30cc47d93d3e63648259807e269e0965e8bcc0d | 3874cfa40b8bc4f45a214a9d8524326d01161901 | /include/UGM/Interfaces/INorm.h | 582b818d49cb08f0bfaca85e01d6f67c8e2119eb | [
"MIT"
] | permissive | MatrixHan/UGM | dcadad5ab86beb001f2a2e3483078cfd92acdd6e | db7ee6f550b411e7dbbbcb25f20eb9e5ae06c7df | refs/heads/master | 2022-12-16T20:06:38.871032 | 2020-09-20T12:48:57 | 2020-09-20T12:48:57 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,054 | h | #pragma once
#include "ILinear.h"
#include "IMetric.h"
#include "../basic.h"
namespace Ubpa {
template<typename Base, typename Impl>
struct INorm : Base {
using F = ImplTraits_F<Impl>;
using Base::Base;
inline F norm() const noexcept {
return static_cast<const Impl*>(this)->impl_norm();
}
inline co... | [
"641614112@qq.com"
] | 641614112@qq.com |
77a39d3c9a32c07ee913c6a0eab2fca3b0ce7a6a | 12ee1ef4d0c2f5b9929de5159aa12cb73289ae26 | /hoomd/test/test_global_array.cc | 524fca388a5a632555fe7431326a37fd50345c0b | [
"BSD-3-Clause"
] | permissive | adulaney/hoomd-blue | fa70a62dab41852313abceacfc799459288da89a | f3d96ad213906067e00c0e02b4fa37c8eb5bf232 | refs/heads/master | 2020-03-30T21:38:31.084848 | 2019-01-03T02:26:40 | 2019-01-03T02:26:40 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,002 | cc | // Copyright (c) 2009-2018 The Regents of the University of Michigan
// This file is part of the HOOMD-blue project, released under the BSD 3-Clause License.
// this include is necessary to get MPI included before anything else to support intel MPI
#include "hoomd/ExecutionConfiguration.h"
#include <iostream>
#incl... | [
"jsglaser@umich.edu"
] | jsglaser@umich.edu |
40b9c77005750e5f369234fe9e7a84731dc2fb7c | 59d26f54e985df3a0df505827b25da0c5ff586e8 | /Contest/0. Codeforces div2/536/A. Lunar New Year and Cross Counting_AC.cpp | f10727b043dfca357e46e53f067eeb9550809a08 | [] | no_license | minhaz1217/My-C-Journey | 820f7b284e221eff2595611b2e86dc9e32f90278 | 3c8d998ede172e9855dc6bd02cb468d744a9cad6 | refs/heads/master | 2022-12-06T06:12:30.823678 | 2022-11-27T12:09:03 | 2022-11-27T12:09:03 | 160,788,252 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 961 | cpp | #include<bits/stdc++.h>
//#include<iostream>
using namespace std;
#define check(a) cout << a << endl;
#define cc(a) cout << a << endl;
#define msg(a,b) cout << a << " : " << b << endl;
#define msg2(a,b,c) cout << a << " : " << b << " : " << c << endl;
#define msg3(a,b,c,d) cout << a << " : " << b << " : " << c << " : "... | [
"minhaz1217@gmail.com"
] | minhaz1217@gmail.com |
60a565bb08b42bda5fd324d5c02fd6942c9b7e71 | bc6cd18a13992f425bb97406c5c5e7e3b8d8cb03 | /src/ui/components/topological_map_renderer.h | 5e8dac6b23133e2a20b9047bbce2aef08f0c67b0 | [
"MIT"
] | permissive | collinej/Vulcan | 4ef1e2fc1b383b2b3a9ee59d78dc3c027d4cae24 | fa314bca7011d81b9b83f44edc5a51b617d68261 | refs/heads/master | 2022-09-19T01:59:45.905392 | 2022-09-18T02:41:22 | 2022-09-18T02:41:22 | 186,317,314 | 3 | 3 | NOASSERTION | 2022-04-29T02:06:12 | 2019-05-13T00:04:38 | C++ | UTF-8 | C++ | false | false | 7,353 | h | /* Copyright (C) 2010-2019, The Regents of The University of Michigan.
All rights reserved.
This software was developed as part of the The Vulcan project in the Intelligent Robotics Lab
under the direction of Benjamin Kuipers, kuipers@umich.edu. Use of this code is governed by an
MIT-style License that can be foun... | [
"collinej@umich.edu"
] | collinej@umich.edu |
b3bd2f2dc08cdbd13f0e4f4443a35092cadb4ffa | 30bdd8ab897e056f0fb2f9937dcf2f608c1fd06a | /CodesNew/1200.cpp | 009b726e3ec6ce0af111b82a5bebef8f6753c178 | [] | no_license | thegamer1907/Code_Analysis | 0a2bb97a9fb5faf01d983c223d9715eb419b7519 | 48079e399321b585efc8a2c6a84c25e2e7a22a61 | refs/heads/master | 2020-05-27T01:20:55.921937 | 2019-11-20T11:15:11 | 2019-11-20T11:15:11 | 188,403,594 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 4,647 | cpp | /* Kamal sahoo
* NIT Rourkela
* ( - _ - ) */
#include<bits/stdc++.h>
using namespace std;
const long long int N =(long long)1e18+5;
const long long Mod = (long long)1e9+7;
#define ii long long
#define uii unsigned long long
int Int() {
int x;
scanf("%d",&x);
return... | [
"harshitagar1907@gmail.com"
] | harshitagar1907@gmail.com |
1cdbf50eb4b72e48e1dcd4c8426891628e23b207 | fda134cfb6771f14439d783d7d1f3d30a3a4d584 | /Ethereal/Private/Characters/Enemy/Signet/EarthGolem.cpp | 0cefafdf094b77687e3fe66c21f613a159ae85a7 | [
"Apache-2.0"
] | permissive | Soleyu/EtherealLegends | b01562b7bfd48ed025faa2ba43947b5bfb9e3b2a | 69c6107dba3b4c3598d72f7cee9f6a68aa71cd34 | refs/heads/master | 2021-01-23T20:38:44.073943 | 2017-04-25T22:10:53 | 2017-04-25T22:10:53 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,867 | cpp | // © 2014 - 2017 Soverance Studios
// http://www.soverance.com
// 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 applica... | [
"scott.mccutchen@soverance.com"
] | scott.mccutchen@soverance.com |
17f89074117b7fdf12c4b2886327d24e6b2d8bba | 8ee5b1d44a1568b239dce3421145c0dc19e4e6c9 | /xx_asio_test2/ss.h | 23e8e285fa363e8daa3118af3e02099c88718573 | [
"MIT"
] | permissive | denghe/xxlib | c38a7be26f877565e02adda974319484f4aa6289 | 4fc059fe06bcefbcb283fac301b3703cb0d53131 | refs/heads/main | 2023-08-31T21:06:37.352038 | 2023-08-29T03:40:57 | 2023-08-29T03:40:57 | 343,328,442 | 18 | 9 | null | null | null | null | UTF-8 | C++ | false | false | 7,034 | h | #pragma once
#include <xx_obj.h>
#include <ss.h.inc>
struct CodeGen_ss {
inline static const ::std::string md5 = "#*MD5<a5ec32f8f0a84959a520e7d3d15c49d9>*#";
static void Register();
CodeGen_ss() { Register(); }
};
inline CodeGen_ss __CodeGen_ss;
namespace SS { struct Scene; }
namespace SS { struct Shooter; }
... | [
"denghe@hotmail.com"
] | denghe@hotmail.com |
0783971374dd8fe193ff16b1e28866972f947a50 | 9b30dba63899a26bb6edf21fa2522b99b8c93f72 | /src/olcPixelGameEngine.h | 897b644c478d7a37c5f35fa2754768046777e2f5 | [] | no_license | Knoblauchpilze/new_frontiers | c9f88f72ce4f2679ef6f2a53a6c804b2cfab9a1b | b183dd03dc66c385d39b666d2989f1d863e120e4 | refs/heads/master | 2023-01-31T12:05:31.169287 | 2020-12-15T18:22:00 | 2020-12-15T18:22:00 | 290,413,695 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 139,039 | h | /*
olcPixelGameEngine.h
+-------------------------------------------------------------+
| OneLoneCoder Pixel Game Engine v2.08 |
| "What do you need? Pixels... Lots of Pixels..." - javidx9 |
+-------------------------------------------------------------+
What is this?
~~~~~~~~~~~~~
ol... | [
"maxime.rigaud.perso@gmail.com"
] | maxime.rigaud.perso@gmail.com |
afc3c1f4ac1921b06c00d45e59d2c8122a2a5c00 | 29a4c1e436bc90deaaf7711e468154597fc379b7 | /modules/fdlibm/unit/scalar/sqrt.cpp | 2a65b2daa2b8e826be341fdcf5c2bc1beecbc591 | [
"BSL-1.0"
] | permissive | brycelelbach/nt2 | 31bdde2338ebcaa24bb76f542bd0778a620f8e7c | 73d7e8dd390fa4c8d251c6451acdae65def70e0b | refs/heads/master | 2021-01-17T12:41:35.021457 | 2011-04-03T17:37:15 | 2011-04-03T17:37:15 | 1,263,345 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,283 | cpp | //////////////////////////////////////////////////////////////////////////////
/// Copyright 2003 and onward LASMEA UMR 6602 CNRS/U.B.P Clermont-Ferrand
/// Copyright 2009 and onward LRI UMR 8623 CNRS/Univ Paris Sud XI
///
/// Distributed under the Boost Software License, Version 1.0
/// ... | [
"jtlapreste@gmail.com"
] | jtlapreste@gmail.com |
f7e512384a11113a6c95229dee57d10fe64762e8 | ca3e813e8864d0b2fdea6422dd2021417de8dae5 | /drivers/sensors/RainSensor/RainSensor.cpp | c7116d6cdcca5788efa6a817ae8deefaa0657bf0 | [] | no_license | bakterian/AVR_WeatherStation | 83640fea57f9c96945f942ca532d618e55783ec0 | 880d2b408be26d1b8e93ccc1725c1483aeb04a13 | refs/heads/master | 2021-01-17T12:45:39.295800 | 2016-09-11T01:24:45 | 2016-09-11T01:24:45 | 56,618,379 | 0 | 0 | null | 2016-06-18T15:07:18 | 2016-04-19T17:43:33 | C++ | UTF-8 | C++ | false | false | 1,630 | cpp | /*
* RainSensor.cpp
*
* Created on: 18.06.2016
* Author: Marcin.Karczewski
*/
#include "RainSensor.h"
namespace drivers
{
namespace sensors
{
RainSensor::RainSensor(const RainConfiguration& rConfig):
ISensor(rConfig.sBaseConfig),
m_sRainConfig(rConfig),
m_u32LastResult(0xFFFFFFFFU),... | [
"marcinkarczewski86@gmail.com"
] | marcinkarczewski86@gmail.com |
2cce3c90c7431da0cc4f7506ae20fec60eb3effc | 0bd01a90685472aecd6bd7c10957ca98578097d0 | /code/clone graph.cpp | 13a9a87645a5d8a17a68965470204ac15f145b0b | [] | no_license | iwccsbfb/leetcode | c450493da7585a6b9871ebd464c43b15e900135f | c119e05bcd4dced6f5f662562a5d6a8dc1f50f14 | refs/heads/master | 2021-05-24T04:21:12.054670 | 2021-01-18T01:27:36 | 2021-01-18T01:27:36 | 62,474,923 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,494 | cpp | /**
first clone nodes, then clone edges;
DFS and BFS
Refer:
http://bangbingsyb.blogspot.com/2014/11/leetcode-clone-graph.html
* Definition for undirected graph.
* struct UndirectedGraphNode {
* int label;
* vector<UndirectedGraphNode *> neighbors;
* UndirectedGraphNode(int x) : label(x) {};
* };
*/
... | [
"zengye.wang@hotmail.com"
] | zengye.wang@hotmail.com |
d8219b21c3f2691373e19e7d13f3e092994c34bf | 011006ca59cfe75fb3dd84a50b6c0ef6427a7dc3 | /codeforces/round636/c.cpp | 396bf934971c67c791ae34ef1ff4f96c080c2f24 | [] | no_license | ay2306/Competitive-Programming | 34f35367de2e8623da0006135cf21ba6aec34049 | 8cc9d953b09212ab32b513acf874dba4fa1d2848 | refs/heads/master | 2021-06-26T16:46:28.179504 | 2021-01-24T15:32:57 | 2021-01-24T15:32:57 | 205,185,905 | 5 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 4,763 | cpp | #include <bits/stdc++.h>
#include <ext/pb_ds/assoc_container.hpp>
#include <ext/pb_ds/tree_policy.hpp>
const long long mod = 1e9+7;
// const long long mod = 998244353;
using namespace std;
// DEBUGGER
// *
vector<string> vec_splitter(string s) {
s += ',';
vector<string> res;
while(!s.empty()) {
res.push_back(s.sub... | [
"mahajan.ayush2306@gmail.com"
] | mahajan.ayush2306@gmail.com |
aed423784dbefe6f9f1e6b86e2b940195bb580b2 | dc97d1c59897c6232ae61e6b2c6aa7c85fa6e60d | /Sparky-core/render/gamerender3.cpp | 2e6bcf6afdb50004357b578d58337baae9df1157 | [] | no_license | wkctnnd/sparky-plus | 9d00cd22d8427cb25e0476f9431010803357da64 | b0743ce0fb7f9b9ba5452531d5a34281407766b3 | refs/heads/master | 2021-07-18T04:48:37.566124 | 2021-05-27T11:08:19 | 2021-05-27T11:08:19 | 248,698,736 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,169 | cpp | #include "GameRender3.h"
#include "world/component/staticmeshrenderercomponent.h"
#include "world/scene.h"
#include "world/actor.h"
#include "world/PrimitiveSceneProxy.h"
#include "render/rendermaterial.h"
#include "graphics/rendertarget.h"
#include "graphics/texture/rendertexture.h"
#include "graphics/texture/renderte... | [
"wkctnnd@sina.com"
] | wkctnnd@sina.com |
e3590188601344cd94fa8045a93fe1777ddaa019 | fbe77e9e2a53a4600a1d9b00b5f2c29ee3e8c59a | /contracts/libc++/upstream/test/std/utilities/meta/meta.unary/meta.unary.cat/is_array.pass.cpp | dfd09ac52bfa4c775a7b0244f1b62d20cebb6268 | [
"NCSA",
"MIT",
"Apache-2.0",
"BSD-3-Clause"
] | permissive | AcuteAngleCloud/Acute-Angle-Chain | 8d4a1ad714f6de1493954326e109b6af112561b9 | 5ea50bee042212ccff797ece5018c64f3f50ceff | refs/heads/master | 2021-04-26T21:52:25.560457 | 2020-03-21T07:29:06 | 2020-03-21T07:29:06 | 124,164,376 | 10 | 5 | MIT | 2020-07-16T07:14:45 | 2018-03-07T02:03:53 | C++ | UTF-8 | C++ | false | false | 2,346 | cpp | //===----------------------------------------------------------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is dual licensed under the MIT and the University of Illinois Open
// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------... | [
"caokun@acuteangle.cn"
] | caokun@acuteangle.cn |
7295ba4fe19baefd4e6651b40ed1a6a046f9560a | 28d7fb3e41a1882c8066aa0659a150252078a247 | /Algo/hEarth_jun3.cpp | d41a13924a67d1f871e3f4d14745cb834a1a6d67 | [] | no_license | Shashidhar7407/C-and-Cpp-Programs | 193d32f6afa711f63cfbc1a10f50760d6a4c1a2e | 3920b798437f106aee91e31ccab5273ac327b8b7 | refs/heads/master | 2021-05-28T12:48:19.461170 | 2014-10-14T10:25:34 | 2014-10-14T10:25:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 727 | cpp | #include <iostream>
#include<bits/stdc++.h>
#define pb push_back
#define gc getchar_unlocked
using namespace std;
int n, sum=0;
list<int> adj[10010];
#ifdef ONLINE_JUDGE
inline void ip(int &p) {
p=0;
int ch=gc();int sign=1;
while(ch < '0' || ch > '9') { if(ch == '-') sign=-1; ch=gc();}
while(ch >= '0' && ch <= '9')... | [
"naveen@naveen-Vostro-1550.(none)"
] | naveen@naveen-Vostro-1550.(none) |
c2c3de4e9b9488cffbef34c80138dceabdecd04b | 3ff1fe3888e34cd3576d91319bf0f08ca955940f | /ess/src/v20201111/model/GroupOrganization.cpp | 31d7e72bc90cfe332bc2973f94349eefc4d206ce | [
"Apache-2.0"
] | permissive | TencentCloud/tencentcloud-sdk-cpp | 9f5df8220eaaf72f7eaee07b2ede94f89313651f | 42a76b812b81d1b52ec6a217fafc8faa135e06ca | refs/heads/master | 2023-08-30T03:22:45.269556 | 2023-08-30T00:45:39 | 2023-08-30T00:45:39 | 188,991,963 | 55 | 37 | Apache-2.0 | 2023-08-17T03:13:20 | 2019-05-28T08:56:08 | C++ | UTF-8 | C++ | false | false | 13,476 | cpp | /*
* Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
... | [
"tencentcloudapi@tencent.com"
] | tencentcloudapi@tencent.com |
aa5550adafdea19ccbc0259ec6b7a48c5cb323d5 | 675fade53b5dc60dac5d9cf08150b15d11e6dca3 | /Temp/StagingArea/Data/il2cppOutput/Photon3Unity3D_ExitGames_Client_Photon_SupportClas3331265407.h | 9018b222f1f112a4dff71b373267c220042658cd | [] | no_license | tejaskhorana/SandboxFPS | be90670c29dbe20b20295e36c85e8e73b948f08f | 6c795634703e31e4ab6d416663fbf6c89b179c59 | refs/heads/master | 2020-02-26T15:05:01.879563 | 2017-05-24T05:52:04 | 2017-05-24T05:52:04 | 83,266,163 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,512 | h | #pragma once
#include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <stdint.h>
// ExitGames.Client.Photon.SupportClass/IntegerMillisecondsDelegate
struct IntegerMillisecondsDelegate_t3509750057;
#include "mscorlib_System_Object4170816371.h"
#ifdef __clang__
#p... | [
"tejaskhorana@gatech.edu"
] | tejaskhorana@gatech.edu |
f62104de4ba95016cc185226c95fffef62a8e6e4 | 65bb9baec2801d9933f3ee36464ddf0c256c3cfa | /src/rosban_csa_mdp/core/policy.cpp | a09911f74502bddb16ac279f0c5c29a5db124b8c | [] | no_license | Rhoban/rosban_csa_mdp | 071952e6b84248b56a047caaab39017274e2fc96 | 5a518227015cfa6b1f1f73222f39528f636d094c | refs/heads/master | 2021-09-06T12:00:11.864785 | 2017-12-06T23:03:41 | 2017-12-06T23:03:41 | 100,256,266 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,242 | cpp | #include "rosban_csa_mdp/core/policy.h"
namespace csa_mdp
{
Policy::Policy()
: internal_random_engine(std::random_device()()),
nb_threads(1)
{
init();
}
void Policy::init(){}
void Policy::setActionLimits(const std::vector<Eigen::MatrixXd> &limits)
{
action_limits = limits;
}
Eigen::VectorXd Policy::bound... | [
"medrimonia@gmail.com"
] | medrimonia@gmail.com |
9965bc0c1253e9811dad61d22560bba2fd48ff07 | f30e15e2b7da0f71498e4b8cca1cac80f7a77df6 | /245/main.cpp | b560bffc665e6d45c0c64d44eb16c497965ac189 | [] | no_license | TheRiseOfDavid/Uva | c5b0c4929052bf43d9342a82e5ac0f65cd0ecfe8 | 72b6003acc2a4b0a698e3f5947799cde4100f90b | refs/heads/master | 2021-09-29T11:43:16.248412 | 2021-09-10T07:04:22 | 2021-09-10T07:04:22 | 242,308,813 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,319 | cpp | #include<bits/stdc++.h>
#define LOCAL
#define MAXN 100000
using namespace std ;
char ch ;
string strTemp = "" ;
int wcnt = 0 , head = 0 , num =0 ;
struct stu_words{
int next ;
string word ;
}word[MAXN] ;
int main(){
#ifdef LOCAL
freopen("in1.txt" , "r" , stdin );
//freopen("out.txt" , "w" , stdout ... | [
"david53133@gmail.com"
] | david53133@gmail.com |
6f522b127b9ae8232facad6c9ea5493bc3096bef | 2945d889bec36a8be79a27ee5058366bfa7dfc32 | /src/GameObject/Category/Conveyor/ConveyorHolder/ConveyorHolder.h | f6149baf586432e0084f7bdd6b3c66aa9e2fcc8f | [] | no_license | peperontino39/FactoryTown | b8c35464e5866019b5e26034e32cc21b5f95d781 | 3990bb28a2d828f1b4e00f23e503e85bec97f8e8 | refs/heads/master | 2021-01-22T21:37:11.553225 | 2017-03-20T08:53:05 | 2017-03-20T08:53:05 | 85,445,646 | 0 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 693 | h | #pragma once
#include "../../../GameObject.h"
//ここは使うときになったら使います//
///コンベヤをまとめるクラス/////
class ConveyorBase;
typedef std::vector<std::vector<ConveyorBase*>> Conveyor2D;
enum ConveyorDirection;
class ConveyorHolder : public GameObject
{
public:
void draw() override;
void setup() override;
void shutdown()override;
... | [
"peperrontino39@docomo.ne.jp"
] | peperrontino39@docomo.ne.jp |
4edc29638ce2cc5f5f6094f557a921fac99a41a2 | 78da2c3fc16fb25587576c406b101a7e07e35c6a | /src/group_mapper_test.cc | 03e913479b052aec700117de625046fa268b9676 | [
"CC-BY-4.0",
"Apache-2.0"
] | permissive | amoe/figshare-uploader | a0ff57710a2c4fce9efa46705b7aed01781e2118 | 6a2c32c8521891e7f5e37670e7adb37dafbda3da | refs/heads/master | 2023-06-23T02:32:02.736670 | 2023-06-13T07:04:08 | 2023-06-13T07:04:08 | 113,032,906 | 7 | 1 | Apache-2.0 | 2022-09-23T16:24:49 | 2017-12-04T11:13:08 | C++ | UTF-8 | C++ | false | false | 670 | cc | #include <iostream>
#include <gmock/gmock.h>
#include <string>
#include "mocks.hh"
#include "group_mapper.hh"
#include "http_getter.hh"
#include "raw_literals.hh"
using namespace testing;
// what do we want? a simple map that maintains a groupNameToId() method
// and we'll mock out the httpgetter to patch in the requ... | [
"amoebae@gmail.com"
] | amoebae@gmail.com |
1650bc90ddecd168b3089297e6f6e4b030e8b5c0 | c0caed81b5b3e1498cbca4c1627513c456908e38 | /src/protocols/membrane/MembranePositionFromTopologyMoverCreator.hh | cde0a06d9d383bcdd88985cfd69c938869ae9a2e | [] | no_license | malaifa/source | 5b34ac0a4e7777265b291fc824da8837ecc3ee84 | fc0af245885de0fb82e0a1144422796a6674aeae | refs/heads/master | 2021-01-19T22:10:22.942155 | 2017-04-19T14:13:07 | 2017-04-19T14:13:07 | 88,761,668 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,996 | hh | // -*- mode:c++;tab-width:2;indent-tabs-mode:t;show-trailing-whitespace:t;rm-trailing-spaces:t -*-
// vi: set ts=2 noet:
//
// (c) Copyright Rosetta Commons Member Institutions.
// (c) This file is part of the Rosetta software suite and is made available under license.
// (c) The Rosetta software is developed by the co... | [
"malaifa@yahoo.com"
] | malaifa@yahoo.com |
ff5d8d258cc9806d9c2f10cb55c962b52f943aed | 771a5f9d99fdd2431b8883cee39cf82d5e2c9b59 | /SDK/BP_AF_Rank16_RankDesc_functions.cpp | dc7f7dc23a8e22096435501456bdf314e11dbad0 | [
"MIT"
] | permissive | zanzo420/Sea-Of-Thieves-SDK | 6305accd032cc95478ede67d28981e041c154dce | f56a0340eb33726c98fc53eb0678fa2d59aa8294 | refs/heads/master | 2023-03-25T22:25:21.800004 | 2021-03-20T00:51:04 | 2021-03-20T00:51:04 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 554 | cpp | // Name: SeaOfThieves, Version: 2.0.23
#include "../pch.h"
/*!!DEFINE!!*/
/*!!HELPER_DEF!!*/
/*!!HELPER_INC!!*/
#ifdef _MSC_VER
#pragma pack(push, 0x01)
#endif
namespace CG
{
//---------------------------------------------------------------------------
// Functions
//--------------------------------------------... | [
"40242723+alxalx14@users.noreply.github.com"
] | 40242723+alxalx14@users.noreply.github.com |
a4eb3279e34e3b4b81c8be31fdbdc1b16cd0ba35 | a62a8f35ca08d264c06a0133b3acf8c38bf347f1 | /inc/Identity.hpp | c39eae612019e515fc65222155b742a7478cdfdd | [] | no_license | rlorigro/runlength_analysis_cpp | 112e430034e70c3e82882068785fa0e949827534 | 890ffb361ac9c54adf1d22ee2b8c9f5c48e5aa0f | refs/heads/master | 2023-01-27T12:39:33.313399 | 2022-05-18T17:35:40 | 2022-05-18T17:35:40 | 196,482,180 | 1 | 2 | null | 2023-01-17T00:05:14 | 2019-07-12T00:33:39 | C++ | UTF-8 | C++ | false | false | 977 | hpp | #ifndef RUNLENGTH_ANALYSIS_IDENTITY_HPP
#define RUNLENGTH_ANALYSIS_IDENTITY_HPP
#include <iostream>
#include <string>
#include <experimental/filesystem>
#include "BamReader.hpp"
using std::cout;
using std::string;
using std::experimental::filesystem::path;
CigarStats measure_identity_from_fasta(path reads_fasta_pat... | [
"rlorigro@ucsc.edu"
] | rlorigro@ucsc.edu |
b51222a90f24fa619adfe388423bf4bab62df127 | 16eae4fc8f62811a61f7a99eb0d9ca628617a5c9 | /client.cpp | 1a13bbdada151bf86634ed6f31f036b7ffe73906 | [] | no_license | picksan/liaotianshi | 58727a0fbd538fa99b1f7382f12fd1d2eb96dde0 | bee81d66fca4329be72e71302ee79db076b24795 | refs/heads/main | 2023-06-15T04:46:50.255620 | 2021-07-04T11:56:40 | 2021-07-04T11:56:40 | 382,818,316 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,921 | cpp | #include "client.h"
client::client(int port,string ip):server_port(port),server_ip(ip){}
client::~client(){
close(sock);
}
void client::run(){
//定义sockfd
sock = socket(AF_INET,SOCK_STREAM, 0);
//定义sockaddr_in
struct sockaddr_in servaddr;
memset(&servaddr, 0, sizeof(servaddr));
servaddr.si... | [
"1034161933@qq.com"
] | 1034161933@qq.com |
3253f0274bd5fff1247360552a4d4d4deafbfa5f | 2ba94892764a44d9c07f0f549f79f9f9dc272151 | /Engine/Plugins/Runtime/OculusRift/Source/OculusRift/Private/OculusRiftRender.cpp | ca9c1bac105b1a55e6aa0581c49cf4bf42f23680 | [
"BSD-2-Clause",
"LicenseRef-scancode-proprietary-license"
] | permissive | PopCap/GameIdea | 934769eeb91f9637f5bf205d88b13ff1fc9ae8fd | 201e1df50b2bc99afc079ce326aa0a44b178a391 | refs/heads/master | 2021-01-25T00:11:38.709772 | 2018-09-11T03:38:56 | 2018-09-11T03:38:56 | 37,818,708 | 0 | 0 | BSD-2-Clause | 2018-09-11T03:39:05 | 2015-06-21T17:36:44 | null | UTF-8 | C++ | false | false | 23,633 | cpp | // Copyright 1998-2015 Epic Games, Inc. All Rights Reserved.
//
#include "HMDPrivatePCH.h"
#include "OculusRiftHMD.h"
#if !PLATFORM_MAC // Mac uses 0.5/OculusRiftRender_05.cpp
#if OCULUS_RIFT_SUPPORTED_PLATFORMS
#include "RendererPrivate.h"
#include "ScenePrivate.h"
#include "PostProcess/PostProcessHMD.h"
#include "... | [
"dkroell@acm.org"
] | dkroell@acm.org |
0c3eb225af2ef114782bb5eaa07a529b2197c067 | d09945668f19bb4bc17087c0cb8ccbab2b2dd688 | /srm/tco/2013-2019/tco19_3a/WaitingForBusAgain.cpp | 9f452d53b377e1f17720a4da1c280101a9abce31 | [] | no_license | kmjp/procon | 27270f605f3ae5d80fbdb28708318a6557273a57 | 8083028ece4be1460150aa3f0e69bdb57e510b53 | refs/heads/master | 2023-09-04T11:01:09.452170 | 2023-09-03T15:25:21 | 2023-09-03T15:25:21 | 30,825,508 | 23 | 2 | null | 2023-08-18T14:02:07 | 2015-02-15T11:25:23 | C++ | UTF-8 | C++ | false | false | 3,703 | cpp | #include <bits/stdc++.h>
using namespace std;
typedef signed long long ll;
#undef _P
#define _P(...) (void)printf(__VA_ARGS__)
#define FOR(x,to) for(x=0;x<to;x++)
#define FORR(x,arr) for(auto& x:arr)
#define ITR(x,c) for(__typeof(c.begin()) x=c.begin();x!=c.end();x++)
#define ALL(a) (a.begin()),(a.end())
#de... | [
"kmjp@users.noreply.github.com"
] | kmjp@users.noreply.github.com |
9018e90e99e03f6b730e09bb5895c0749a5bbc73 | 9d32b375e0c21abfe40cc1000091ad8db764e1d3 | /src/txmempool.cpp | cce5aeb190499b12ad96d1d6dd74ef4b85f4d422 | [
"MIT"
] | permissive | zoldur/esbcoin2 | 96290fc83ae74f61150abe477ca1a89a548f702e | 93d0de7849fe897406ab58605e54ac9d2c17da26 | refs/heads/master | 2020-05-09T10:17:44.873932 | 2019-04-12T17:06:52 | 2019-04-12T17:06:52 | 181,036,208 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 26,669 | cpp | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2014 The Bitcoin developers
// Copyright (c) 2016-2017 The PIVX developers
// Copyright (c) 2018-2019 The esbcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mi... | [
"28493599+SkaZun@users.noreply.github.com"
] | 28493599+SkaZun@users.noreply.github.com |
5c1945567e4a0578586fae64ddbbd1c7c5f41390 | 6fdb85087462bb4f5b16ca8da337d2992591965e | /FrameWork/FrameWork/Subject.cpp | e9445166abeae266023cb8d1286fabf31c099b68 | [] | no_license | ckgusqls95/inhaPractice | 0218ee671c67aaa265164d16f3e800842f6a89a3 | 5776bc1f62364aa5fb8d7cf6324c46ad70b3b903 | refs/heads/main | 2023-02-05T19:51:34.571424 | 2021-01-01T11:08:45 | 2021-01-01T11:08:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 307 | cpp | #include "stdafx.h"
#include "Subject.h"
#include <algorithm>
#include "Observer.h"
cSubject::cSubject()
{
}
cSubject::~cSubject()
{
}
void cSubject::Detach(cObserver& ob)
{
using namespace std;
m_vecObservers.erase(remove(m_vecObservers.begin(),
m_vecObservers.end(), &ob),m_vecObservers.end());
}
| [
"ckgusqls00@gmail.com"
] | ckgusqls00@gmail.com |
1f9811e1cb358054d656bc43eced9a39c823c98e | ddac7feb045569ba059ec7a96874e94d86ed1feb | /数据结构/蓝桥杯/基础练习/十六进制转十进制.cpp | 33a3b903125f23eb6cffc2c3781c7d4c6a78589a | [
"Apache-2.0"
] | permissive | TimVan1596/ACM-ICPC | 8d38e1843b40afe9294fd668e3e18ebc69e89bbf | b8d4e681b4b999cc025ac6d1d0357f0ccbaf092f | refs/heads/master | 2023-08-14T07:58:20.340426 | 2022-08-20T16:33:59 | 2022-08-20T16:33:59 | 182,549,941 | 1 | 0 | Apache-2.0 | 2023-07-22T03:45:01 | 2019-04-21T15:22:22 | JavaScript | UTF-8 | C++ | false | false | 784 | cpp | #include <cstdio>
#include <iostream>
#include <cmath>
#include <cstring>
#include <stack>
using namespace std;
#define TRANSNUM 16
int print16To10(char num) {
if(num>='A' && num <='F') {
//printf("%c",num-10+'A');
return num-'A'+10;
} else {
//printf("%d",num);
return num-'0';
}
}
int main() {
string... | [
"877020296@qq.com"
] | 877020296@qq.com |
b215b9abd30f2f17da540794084f2f24caf8d831 | eec1c418addc7552156bb29f2b4597e025f8ce4e | /Permutation/permutation.cpp | 0f7dbd9fc6029236a1a64efc5ca0d9eb9585e66d | [] | no_license | Banghyungjin/DataStructure | df65ac12845fbc717d56a873884482cc7a9b5c07 | 809ec7017e5ee3b9051bac9b7fe061ae2e968e30 | refs/heads/master | 2020-08-09T18:23:59.787896 | 2019-11-28T06:14:05 | 2019-11-28T06:14:05 | 214,142,417 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,158 | cpp | //made by Hyungjin Bang
#include <iostream>
#include <fstream>
#include <deque>
using namespace std;
void readFile(ifstream &inFile, string &inputString, int &inputNum);
void makeVector(deque<char> &inputDeque, string &inputString);
void permutationForward(deque<char> &inputDeque);
void permutationBackward(deque<cha... | [
"Banghyungjin@.github.com"
] | Banghyungjin@.github.com |
03168fbb39e87e87310df0bc2bc12a86ad6fb298 | a4a86ed1b209f88030a0da2a3213dd4638746f6e | /editorgraphicsview.cpp | aa09605429ce5f98d7f496b2e02551694f12ad76 | [] | no_license | jeanielamwh/photo-editing-software | 89c7b4c7bd9c3af48ee09ebb1c326ee99cd1fd63 | 799a12e5bd2ea66f33202771f53479d3326c03e6 | refs/heads/master | 2021-10-09T13:09:38.019540 | 2018-12-28T15:46:28 | 2018-12-28T15:46:28 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 652 | cpp | /**
* @class EditorGraphicsView
* @brief The EditorGraphicsView class provides a widget for viewing the EditorGraphicsScene.
*/
#include "editorgraphicsview.h"
/**
* @brief Constructs a viewing widget with the given parent
* @param parent the parent widget
*/
EditorGraphicsView::EditorGraphicsView(QWidget *pare... | [
"ttoo74@gmail.com"
] | ttoo74@gmail.com |
00c7b31099ea0d7a705c5f1d6f3dbd8c97212320 | b77349e25b6154dae08820d92ac01601d4e761ee | /List/GridList/gridlistView.h | bc921fc589b5ccc85db73cecf5663385bebf900c | [] | no_license | ShiverZm/MFC | e084c3460fe78f820ff1fec46fe1fc575c3e3538 | 3d05380d2e02b67269d2f0eb136a3ac3de0dbbab | refs/heads/master | 2023-02-21T08:57:39.316634 | 2021-01-26T10:18:38 | 2021-01-26T10:18:38 | 332,725,087 | 0 | 0 | null | 2021-01-25T11:35:20 | 2021-01-25T11:29:59 | null | UTF-8 | C++ | false | false | 1,585 | h | // gridlistView.h : interface of the CGridlistView class
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_GRIDLISTVIEW_H__92CA598F_9434_11D1_88D5_444553540000__INCLUDED_)
#define AFX_GRIDLISTVIEW_H__92CA598F_9434_11D1_88D5_444553540000__INCLUDED_
#if _MSC_VER >= 1000
#... | [
"w.z.y2006@163.com"
] | w.z.y2006@163.com |
e7015b07a3e0ce6434d20439055c18e6b48adc58 | 1696770bf3cdf3cd6582d266fbcb4e6b17b15811 | /AChart/achartpolyline.cpp | f30a4d576c53620d88f5b256ad0c501179c8ca00 | [] | no_license | KapPing-Git/evolution | 28090830137f7023b7042be36143b6121fe0feb0 | a6e71b787cffe33c38dbfeeb1a4434b31cbefd43 | refs/heads/master | 2020-12-18T15:10:35.661061 | 2020-01-21T20:29:59 | 2020-01-21T20:29:59 | 235,433,228 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 737 | cpp | #include "achartpolyline.h"
AChartPolyline::AChartPolyline():
QPolygonF()
{
this->clear();
}
void AChartPolyline::addPoint(qreal x, qreal y)
{
this->append(QPointF(x, y));
}
bool AChartPolyline::setPoint(int numPoint, qreal x, qreal y)
{
if (numPoint > size()) return false;
replace(nu... | [
"kapnowin@rambler.ru"
] | kapnowin@rambler.ru |
007215eb57626afa5b09d1c5dbd71411c24bc8e9 | 54870ca31cf90f24c81ae1b69c59e854ebd6aa25 | /linearalgebra/linearsolverexact.cpp | ea91bf738ab10d4152b68d750db2d1f734704c37 | [] | no_license | yongyi/finitedifference | a48fc889fecd4bec65b6c106f972b94dbf17f136 | 445910147d3a9550e404ef467211b937e3e7e85f | refs/heads/master | 2020-05-20T08:14:48.453297 | 2012-12-16T23:25:08 | 2012-12-16T23:25:08 | 6,945,407 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 4,184 | cpp | /*
* Implementation of the linear solver classes that uses decomposition to get
* solutions, including:
*
* Forward Substitution
* Backward Substitution
* LU without pivoting
* LU with row pivoting
* Cholesky
*
* they all inherit from the base class interface linearsolver.
*
*/
#in... | [
"yongyi.iy@gmail.com"
] | yongyi.iy@gmail.com |
a95f3faf9708da865d08ca4f37909817de876a3d | 0d1a0fbfa8d4f16de934d7f833134f02fc9a30e0 | /Hazel/src/Hazel/Renderer/Shader.h | b2698468c2cde9dfe336eae3e2ef6fd850ee1dac | [] | no_license | T5-lab/Hazel | 25774432999957ab2fb17e72c030fe54b2d0ccbf | a7bc29870886386a10635f0ba62f271c1db69a7e | refs/heads/main | 2023-08-24T10:51:09.964015 | 2021-10-18T09:27:13 | 2021-10-18T09:27:13 | 369,762,729 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 459 | h | #pragma once
#include "hzpch.h"
namespace Hazel
{
class Shader
{
public:
Shader(const std::string& vertexSrc, const std::string& fragmentSrc);
~Shader();
void Bind();
void Unbind();
private:
void CreateProgram(const std::string& vertexSrc, const std::string& fragmentSrc);
unsigned int CompileShader(u... | [
"t5development4ever@gmail.com"
] | t5development4ever@gmail.com |
8b9d38a09129b693e98ab6f9b9c6cb091bf32edc | 952eaaff06d57b02cddbfa3ea244bbdca2f0e106 | /src/Utils/Utils/MolecularDynamics/MDIntegrator.h | 045bf7bb59d4a5b6373b3d77287429f70f6142cb | [
"BSD-3-Clause"
] | permissive | DockBio/utilities | 413cbde988d75a975b3e357c700caa87406c963b | 213ed5ac2a64886b16d0fee1fcecb34d36eea9e9 | refs/heads/master | 2023-02-25T20:50:19.211145 | 2020-04-27T20:41:03 | 2020-04-27T20:41:03 | 257,099,174 | 0 | 0 | BSD-3-Clause | 2020-04-27T20:41:05 | 2020-04-19T20:48:18 | null | UTF-8 | C++ | false | false | 3,304 | h | /**
* @file
* @copyright This code is licensed under the 3-clause BSD license.\n
* Copyright ETH Zurich, Laboratory for Physical Chemistry, Reiher Group.\n
* See LICENSE.txt for details.
*/
#ifndef UTILS_MDPOSITIONUPDATER_H
#define UTILS_MDPOSITIONUPDATER_H
#include <Utils/Typenames.h>
nam... | [
"scine@phys.chem.ethz.ch"
] | scine@phys.chem.ethz.ch |
3ad58bbe08f03401c9a87c05e598ec43f0359877 | 953d8b31f59c412f1930e8a6ad7c969cfcf5cfd8 | /3.smartCampus/communication/eventListenerHandler.h | 282852f00dfa30030e91543b29543dbfbc333ead | [] | no_license | nadavMiz/school-projects | 181dacd0e1de9112d31d4a9f10cf4d454efaaa30 | 6ad7522243386f5dbabbbea2c4040b154614d1c2 | refs/heads/master | 2021-01-25T10:35:25.652041 | 2018-10-13T21:26:13 | 2018-10-13T21:26:13 | 123,361,951 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 748 | h | #ifndef __EVENT_LISTENER_HANDLER_H__
#define __EVENT_LISTENER_HANDLER_H__
#include <tr1/memory>
#include "server.h"
#include "ihandler.h"
#include "eventCommHandler.h"
namespace smartCampus
{
typedef std::tr1::shared_ptr<netcpp::Server> ServerPtr;
typedef std::tr1::shared_ptr<EventCommHandler> EventCommHandlerPtr;
... | [
"nadav.mizrahi16@gmail.com"
] | nadav.mizrahi16@gmail.com |
d62b1cb17449e9041949a26f71a6b4373a30a50d | 36bc2ef8c754501d7968d544fa0f0d5b5aa2ba4f | /ITP1_2/1_2_A.cpp | 7331a07941ccb20ee1992b3c7b4507dd537da1fe | [] | no_license | applideveloper/procon | 5d52f79a0d3b53a2620a43d45b7eb57d8d3ef48f | b4a8b0733219a5ecd79422234ccc8f7690bb772b | refs/heads/master | 2021-08-14T12:26:57.251525 | 2017-11-15T17:46:10 | 2017-11-15T17:46:10 | 110,865,818 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 263 | cpp | #include <iostream>
using namespace std;
int main() {
int a, b;
cin >> a >> b;
if (a < b) {
cout << "a < b" << endl;
} else if (a == b) {
cout << "a == b" << endl;
} else {
cout << "a > b" << endl;
}
return 0;
} | [
"senalove2007@gmail.com"
] | senalove2007@gmail.com |
7b6e13804d4734d1d41b8fb78a12e92cf2754874 | 1600a936c5d7600d6ec43adf2d35270ebed33870 | /Sliding-Window/grumpy_bookStore_owner_leetcode.cpp | 100c1262b17ae5dd0e0e24754cc92dc1b681cc27 | [] | no_license | farhan787/dsa-fundamentals | 4b37518f36f3d5d29eadf4077379677c7c4d72fd | 59323f92e6263b096dc2a16a7f51f61a8f02b7b4 | refs/heads/master | 2023-01-13T16:15:47.838481 | 2020-11-19T09:33:14 | 2020-11-19T09:33:14 | 203,385,039 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,317 | cpp | // Problem link: https://leetcode.com/problems/grumpy-bookstore-owner/
#include <iostream>
#include <vector>
using namespace std;
// Time complexity = O(|customers|)
// Space complexity = O(1)
int maxSatisfied(vector<int>& customers, vector<int>& grumpy, int X) {
int maxSatisfiedCustomers = 0;
for (int i = 0... | [
"farhanshah.96930012@gmail.com"
] | farhanshah.96930012@gmail.com |
c54008f3ecef252f819f40fc1d79bd807c37330e | 98157b3124db71ca0ffe4e77060f25503aa7617f | /icpc/pnrc2018/h.cpp | 3b7cac2001b1e527d4eed1265ed7f15a585e8554 | [] | no_license | wiwitrifai/competitive-programming | c4130004cd32ae857a7a1e8d670484e236073741 | f4b0044182f1d9280841c01e7eca4ad882875bca | refs/heads/master | 2022-10-24T05:31:46.176752 | 2022-09-02T07:08:05 | 2022-09-02T07:08:35 | 59,357,984 | 37 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 652 | cpp | #include <bits/stdc++.h>
using namespace std;
const int N = 1e6 + 6;
bool nonprime[N];
vector<int> prime;
pair<int, int> goldbach[N];
int dp[N];
int main() {
for (int i = 2; i < N; ++i) {
if (nonprime[i]) continue;
prime.push_back(i);
for (int j = i + i; j < N; j += i)
nonprime[j] = 1;
}
for... | [
"wiwitrifai@gmail.com"
] | wiwitrifai@gmail.com |
08198f488b3c36142a58c5e78e83289ca2f446d4 | c287f063100e0ddb29bcf27e9f901b914cca0f2e | /thirdparty/qt53/include/QtScriptTools/5.3.0/QtScriptTools/private/qscriptdebuggerlocalswidgetinterface_p_p.h | 13eebeb0addf06fc916007c86b2c5312d78a9978 | [
"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 | 2,804 | h | /****************************************************************************
**
** Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/legal
**
** This file is part of the QtSCriptTools module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL$
** Commercial License Usage
** Li... | [
"zcy920225@gmail.com"
] | zcy920225@gmail.com |
eb8af699aa52142aa2e030f76f3ea63c40dd3a10 | 8799d3e93f6edb753d09616651067af2346e0016 | /比赛/2019寒假集训CPP代码/Day4C.cpp | a6b625a1eba09f083949828af1b0884adffbe5e2 | [] | no_license | StarPolygen/Code_Library | 560b6c07af9f975e81efdeda60ce031b5dff3a22 | a259f4e003817b317d4847222235edc09e4e5380 | refs/heads/master | 2021-07-13T06:18:09.796797 | 2020-07-24T13:03:11 | 2020-07-24T13:03:11 | 184,305,507 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 322 | cpp | #include <bits/stdc++.h>
const int maxn=200000+10;
struct Edge{
int x,y;
} edge[maxn];
int main(){
int n,m,k;
int rank[n+1];
scanf("%d%d%d",&n,&m,&k);
for(int i=1;i<=n;i++){
scanf("%d",rank[i]);
}
for(int i=1;i<=m;i++){
int from,to;
scanf("%d%d",&from,&to);
edge[i].x=from;
edge[i].y=to;
}
return 0;
... | [
"34528868+StarPolygen@users.noreply.github.com"
] | 34528868+StarPolygen@users.noreply.github.com |
d04543757bfce391f8a4b748ac6e6fa1162f0ebe | 04b1803adb6653ecb7cb827c4f4aa616afacf629 | /ui/gl/gl_helper.cc | 4378c6b81838280dc6c9bdf44048ac6a6c934e46 | [
"BSD-3-Clause"
] | permissive | Samsung/Castanets | 240d9338e097b75b3f669604315b06f7cf129d64 | 4896f732fc747dfdcfcbac3d442f2d2d42df264a | refs/heads/castanets_76_dev | 2023-08-31T09:01:04.744346 | 2021-07-30T04:56:25 | 2021-08-11T05:45:21 | 125,484,161 | 58 | 49 | BSD-3-Clause | 2022-10-16T19:31:26 | 2018-03-16T08:07:37 | null | UTF-8 | C++ | false | false | 3,177 | cc | // Copyright 2015 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/gl/gl_helper.h"
#include <string>
#include "base/logging.h"
#include "ui/gl/gl_context.h"
#include "ui/gl/gl_version_info.h"
#include "ui/g... | [
"sunny.nam@samsung.com"
] | sunny.nam@samsung.com |
1917c02a2499de0e664866b070857755da28f50b | cdb05caa858047692bff9efa3aad1be04bb205d1 | /api_c++/jugimap/jmGlobal.h | 4676e826eb90a7ec10d0206bb0b6b2510a5ef676 | [
"MIT"
] | permissive | MORTAL2000/JugiMapAPI | 938d775dab8f3effb6787171b745a6e7313f741d | ecbaac487e46ecafb2d743f5ff3b0f304355b498 | refs/heads/master | 2020-11-26T11:48:41.968236 | 2019-12-14T16:32:04 | 2019-12-18T16:45:54 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 16,908 | h | #ifndef JUGIMAP_GLOBAL_H
#define JUGIMAP_GLOBAL_H
#include <chrono>
#include "jmCommon.h"
namespace jugimap {
/// \addtogroup Globals
/// @{
/// The file kinds.
enum class FileKind
{
SINGLE_IMAGE, ///< Single image file.
TILE_SHEET_IMAGE, ///< Tile sheet image file.
... | [
"jugiweb@jugilus.com"
] | jugiweb@jugilus.com |
6ed03beb9f5a02678b7cc882eb3b4a924048b963 | 8a42f7246f6df21dd810d80aa52cc7dbd95f598c | /components/rage-device-payne/src/HookInitialMount.cpp | 2906a037d0a75edc28148ba1adfb7a0b93fef918 | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | calibercheats/client | c7da5b3783efc730249e5b223cb234c7175e748f | f69c0fcb5612e42231c48c181122909c5c57f47a | refs/heads/portability-five | 2021-01-24T15:43:37.294191 | 2016-07-24T20:07:09 | 2016-07-24T20:07:20 | 64,492,887 | 10 | 6 | null | 2016-07-29T15:57:29 | 2016-07-29T15:57:29 | null | UTF-8 | C++ | false | false | 534 | cpp | // hook for the initial mountpoint of filesystem stuff
#include "StdInc.h"
#include <fiDevice.h>
#include <Hooking.h>
static void CallInitialMount()
{
rage::fiDevice::OnInitialMount();
}
static HookFunction hookFunction([] ()
{
/*static hook::inject_call<void, int> injectCall(0x7B2E27);
injectCall.i... | [
"bas@dotbas.net"
] | bas@dotbas.net |
860c5820b479a00343a796c79bb9b068de69a19f | f954d4becae0ef07d253dec5ebe9eb7238919f4d | /editor/offer03.cpp | 0ee91f9f687779f91a365d8a016c5ede653a2015 | [] | no_license | iznilul/leetcode- | ec2c4f3d6ea487daa0791810c45971abeca87952 | c4ee1510701601e6d0851e68753ba0768099cbfb | refs/heads/main | 2023-03-30T14:46:19.387944 | 2021-04-09T05:02:21 | 2021-04-09T05:02:21 | 315,317,344 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 531 | cpp | //
// Created by Administrator on 2021/2/2.
//
#include <iostream>
#include <vector>
#include <unordered_set>
using namespace std;
class Solution {
public:
int findRepeatNumber(vector<int>& nums) {
unordered_set<int> set;
for (auto i:nums) {
if(set.count(i)){
... | [
"1773950094@qq.com"
] | 1773950094@qq.com |
df80366f34bfb83507f56fc77b36d670e664d4e1 | 714d4d2796e9b5771a1850a62c9ef818239f5e77 | /chrome/browser/ui/sync/browser_synced_window_delegates_getter.h | 54128b58604706ca74d1dd819a1431411327aef8 | [
"BSD-3-Clause"
] | permissive | CapOM/ChromiumGStreamerBackend | 6c772341f815d62d4b3c4802df3920ffa815d52a | 1dde005bd5d807839b5d45271e9f2699df5c54c9 | refs/heads/master | 2020-12-28T19:34:06.165451 | 2015-10-21T15:42:34 | 2015-10-23T11:00:45 | 45,056,006 | 2 | 0 | null | 2015-10-27T16:58:16 | 2015-10-27T16:58:16 | null | UTF-8 | C++ | false | false | 1,162 | h | // Copyright 2015 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_UI_SYNC_BROWSER_SYNCED_WINDOW_DELEGATES_GETTER_H_
#define CHROME_BROWSER_UI_SYNC_BROWSER_SYNCED_WINDOW_DELEGATES_GETTER_H_
#includ... | [
"j.isorce@samsung.com"
] | j.isorce@samsung.com |
91dfc199f756cb3960ee82e46c3e986aad1b93dd | d0936f19fd00b79705e7e27bb4d46d1f80f16d8d | /05/serializer.cpp | 2999a66de6a8ca5314b5492c861067d63db1d300 | [] | no_license | EvgenijGod/sphere_1sem_cpp_autumn_2019 | 9dba840d582a0836a13217a875bd1c2104261eda | c7051d39f1c83aa34f67ece113df1dbf90357384 | refs/heads/master | 2022-04-01T13:14:27.678881 | 2020-01-21T09:09:11 | 2020-01-21T09:09:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 104 | cpp | #include <stdlib.h>
#include <iostream>
#include <string>
#include <algorithm>
#include "serializer.h"
| [
"EvgenijGod@users.noreply.github.com"
] | EvgenijGod@users.noreply.github.com |
6d3830ee9e296e9643efbf42500d6877572e9a52 | 702aa7364289f87d16e0fcbd163d648bd9cc4148 | /Languages/C++/BubbleSort.cpp | 33589b896e230efbc2a0eb0bc2de7116c26d3661 | [] | permissive | syyam/Hacktoberfest | f41cc5c1bafafb8fc4b577a4c34f58ca24d60e19 | d58c6289d27aca2c728a5095078e6bc623937c5e | refs/heads/master | 2022-12-30T23:37:52.748817 | 2020-10-06T09:21:27 | 2020-10-06T09:21:27 | 152,482,182 | 0 | 0 | MIT | 2018-10-10T19:59:15 | 2018-10-10T19:59:14 | null | UTF-8 | C++ | false | false | 428 | cpp | #include<iostream>
using namespace std;
void sort(int a[],int size)
{
for(int i=0;i<size-1;i++)
{
for(int j=0;j<size-1-i;j++)
{
if(a[j]>=a[j+1])
{
int t=a[j];
a[j]=a[j+1];
a[j+1]=t;
}
}
}
}
int main()
{
int n;
cout<<"Enter Size of Array:";
cin>>n;
int a[n];
cout<<"Enter Elemen... | [
"nafees87n@gmail.com"
] | nafees87n@gmail.com |
418f66b1401ea6eff0dc9c27e9cf1a8f9b2259ee | 8985a13232fc5ca9e0da954c9002d79ffa2b2c65 | /src/mtchain/app/ledger/impl/InboundLedgers.cpp | be658f3ce7dc2ca079f9587bad00217bdfcd8246 | [] | no_license | finpal/finpal-basic | 429b5871da8167c7adb38af43c64f4f8012901aa | 3675542b1c95982321d03cb7bb3d4d204d6f71c9 | refs/heads/main | 2023-02-04T13:13:35.198917 | 2020-12-21T16:18:01 | 2020-12-21T16:18:01 | 323,375,890 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 12,266 | cpp | //------------------------------------------------------------------------------
/*
This file is part of FinPald: https://github.com/finpal/finpal-basic
Copyright (c) 2019 ~ 2020 FinPal Alliance.
Permission to use, copy, modify, and/or distribute this software for any
*/
//========================... | [
"finpal6@outlook.com"
] | finpal6@outlook.com |
fc372d07dd6e84ed166a2b05a8393f7e495addfa | cc702ebf7ac22bed3a353f98d24c530e6f16c39f | /1011.cpp | e544518d89e2278db985944e4df551d57dbdaaec | [] | no_license | Luowaterbi/PAT | d3df5158743a4558494b308cd00c0be7eaacbea2 | ed29aee52cfe41d40c7b88b2d3ce2fe4cfa0abbb | refs/heads/main | 2023-03-27T01:37:13.835609 | 2021-04-03T22:18:19 | 2021-04-03T22:18:19 | 342,521,065 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,038 | cpp | #include <bits/stdc++.h>
#define rep(i,a,b) for(int i=(a);i<=(b);i++)
#define repp(i,a,b) for(int i=(a);i<(b);i++)
#define lep(i,a,b) for(int i=(a);i>=(b);i--)
#define lepp(i,a,b) for(int i=(a);i>(b);i--)
#define pii pair<int,int>
#define pll pair<long long,long long>
#define mp make_pair
#define All(x) x.begin(),x.en... | [
"1033024878@qq.com"
] | 1033024878@qq.com |
a85553cb1c53dacee7f2d9b310a049d525445505 | e6d5d8b109addce1f40d63fc85c83433ddd516a3 | /katabatic/src/AutoVertical.cpp | 72cc9b30360a8765b46d42715c9392c3aeca414e | [] | no_license | leviathanch/coriolis | fcaa75bcc931e144129858a8f1f30424cac330d3 | 0930660a1f4f74cbfc2238d0107d98a62dcc662c | refs/heads/master | 2021-04-27T05:57:32.747915 | 2015-10-02T13:59:01 | 2015-10-02T13:59:01 | 122,604,383 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 25,373 | cpp | // -*- C++ -*-
//
// This file is part of the Coriolis Software.
// Copyright (c) UPMC 2008-2015, All Rights Reserved
//
// +-----------------------------------------------------------------+
// | C O R I O L I S |
// | K a t a b a t i c - Routing Toolbox ... | [
"Jean-Paul.Chaput@lip6.fr"
] | Jean-Paul.Chaput@lip6.fr |
65f0f7ecd36b417ce3f3c13c39554b5eb2fbb26a | 1c53a12ed9e9435c6b55dd87f3b922c4976c7987 | /TowerDefense/mainwindow.h | eb62265251c338b60ac7e5757a627dab5c174915 | [] | no_license | imperialsoft/Belfry-Aegis | 790dc0574d4986476afcf4a136aa6ad734fdb464 | e66fda815e8038a8c8b2e5241902b49568e325fb | refs/heads/master | 2021-01-13T01:27:09.279136 | 2011-04-18T18:10:36 | 2011-04-18T18:10:36 | 1,577,905 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 368 | h | #ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include <QMainWindow>
#include "glwidget.h"
namespace Ui {
class MainWindow;
}
class MainWindow : public QMainWindow
{
Q_OBJECT
public:
explicit MainWindow(QWidget *parent = 0);
~MainWindow();
private:
Ui::MainWindow *ui;
protected:
private slots:
... | [
"curtis.kelsey@gmail.com"
] | curtis.kelsey@gmail.com |
6118bcb63353157d2b86036e867aa647d9dd46c1 | f8bcbeb2935dcd5075ef11573a22451ea29acf62 | /02_shockTube/include/ShockTubeSolver.hpp | 48333de022ae08b5942f23b83624d9c127317b31 | [
"MIT"
] | permissive | wwhui123/CFDbasics | 2a1725f80c036157f6d8e0c60a1634e8754a340a | 638372956e31f8392f20b0d2027762cc4f9ef10b | refs/heads/master | 2022-05-25T14:25:08.382117 | 2020-04-23T20:45:05 | 2020-04-23T20:45:05 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,643 | hpp | #pragma once
#include <Eigen/Core>
#include <array>
#include <iostream>
#include <string>
#include <vector>
using Bounds = std::array<double, 2>;
class ShockTubeSolver
{
public:
ShockTubeSolver(Bounds calc_bounds, double endtime, double dt, int n_cell);
~ShockTubeSolver();
void SetGrid();
void SetFl... | [
"yssubnr.out@gmail.com"
] | yssubnr.out@gmail.com |
ba1086006aa3dc7e375ad82629915a0f8e3e1eb6 | 5ebd5cee801215bc3302fca26dbe534e6992c086 | /blazemark/blazemark/blas/TDVecDMatMult.h | 672b4ead6ac70bc51193b5324808e0a52901fb4a | [
"BSD-3-Clause"
] | permissive | mhochsteger/blaze | c66d8cf179deeab4f5bd692001cc917fe23e1811 | fd397e60717c4870d942055496d5b484beac9f1a | refs/heads/master | 2020-09-17T01:56:48.483627 | 2019-11-20T05:40:29 | 2019-11-20T05:41:35 | 223,951,030 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,038 | h | //=================================================================================================
/*!
// \file blazemark/blas/TDVecDMatMult.h
// \brief Header file for the BLAS transpose dense vector/dense matrix multiplication kernel
//
// Copyright (C) 2012-2019 Klaus Iglberger - All Rights Reserved
//
// This ... | [
"klaus.iglberger@gmail.com"
] | klaus.iglberger@gmail.com |
7626f8773afefac6dba343ccb622fa44a9f7c209 | c221ce45eb6fc7786ea09e53186b9fa6977377ad | /src/test/base64_tests.cpp | 75d0688b8bf18b071c4d5f86822aa1e1a327f62c | [
"MIT"
] | permissive | Rav3nPL/polcoin-core | 88fdfad064cc5ddc8b40ae6998c17cb5847822b4 | 2c1e174c51ab492763a33efdb97eea82e1d94578 | refs/heads/1.5.1.0 | 2021-01-23T05:46:07.186844 | 2016-12-11T20:58:59 | 2016-12-11T20:58:59 | 92,989,131 | 0 | 0 | null | 2017-05-31T21:11:42 | 2017-05-31T21:11:42 | null | UTF-8 | C++ | false | false | 835 | cpp | // Copyright (c) 2011-2013 The Polcoin Core developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "utilstrencodings.h"
#include <boost/test/unit_test.hpp>
BOOST_AUTO_TEST_SUITE(base64_tests)
BOOST_AUTO_TEST_... | [
"pawel.drobek@gmail.com"
] | pawel.drobek@gmail.com |
831bf13018efbd2a5c858b6f9dd765e37271bcb6 | e88b13ac24cc1e3537c9b3cf6627d905d8fa1499 | /src/processPointClouds.h | 26d52fa2913a407c2b895b8f620a7e6987b0ee38 | [] | no_license | aliasaswad/SFND_Lidar_Obstacle_Detection | c9c02cad03b469c3bce97d1a020789744f82e366 | bf21545e0c6b6a71cc2cb9be76a6f346c77694d2 | refs/heads/master | 2022-08-04T01:35:44.562895 | 2020-06-05T02:13:44 | 2020-06-05T02:13:44 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,306 | h | // PCL lib Functions for processing point clouds
#ifndef PROCESSPOINTCLOUDS_H_
#define PROCESSPOINTCLOUDS_H_
#include <pcl/io/pcd_io.h>
#include <pcl/common/common.h>
#include <pcl/filters/extract_indices.h>
#include <pcl/filters/voxel_grid.h>
#include <pcl/filters/crop_box.h>
#include <pcl/kdtree/kdtree.h... | [
"ibrahimkelfaramawy@gmail.com"
] | ibrahimkelfaramawy@gmail.com |
aec1a1121c00b9e37099245ae58f8f53f339002c | 55dc77e0d9a0d76390f09fc97e25261a77ba82ba | /2) CS163 Data Structures/Stack & Queue/queue.cpp | 689aef80c2747ace98a1fdc3771454ff4b6806b5 | [] | no_license | SourabhJam/ComputerScienceProjects | 18f9a97d70ad06c9ab76cd5dc2b90fb8cae8e767 | 4a9051aa2773ca8969d92b8aae61eb54d4e2d406 | refs/heads/master | 2020-12-03T10:11:09.376556 | 2020-06-30T21:42:13 | 2020-06-30T21:42:13 | 229,887,186 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,645 | cpp | #include "queue.h"
queue::queue(){
front = NULL;
rear = NULL;
}
queue::~queue(){
node *current = front;
if(front == NULL){
cout<<"Nothing In Queue"<<endl;
}else{
while(current != rear){
node *temp = current->next;
delete current;
current = temp;
}
delete current;
}
front = NULL;
rea... | [
"sourabh.jamalapuram@gmail.com"
] | sourabh.jamalapuram@gmail.com |
bd59b98c619ee40537a8d59ae597642e0bfb70f7 | 6bae74469cb19d943a405f4b052426b533cbeee5 | /Classes/common/Global.h | 211c7f664ddabbad071112596d30c12ad2394987 | [] | no_license | cnsuhao/3ddemo | 21e0ab7fa1e17fe365fe8b184dcf0fa1803f2e35 | 0147c8bda14c3d83d7bddc71727ed8aabbc6c4ba | refs/heads/master | 2021-08-23T13:42:03.315600 | 2016-02-16T08:32:22 | 2016-02-16T08:32:22 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,626 | h | #ifndef __GAMEGLOBAL_H__
#define __GAMEGLOBAL_H__
#include "CocosHead.h"
typedef std::function<void(Ref*)> GameEventCallback1;
static Size designSize = Size(800, 480);
extern float map_grid_width;
extern float map_grid_height;
extern float g_frameRate;
// zorder
enum class Zorder
{
order_map = 1,
order_grid ... | [
"zxw793362854@2eec0ad9-b4fb-457c-80ae-9885d9582a6a"
] | zxw793362854@2eec0ad9-b4fb-457c-80ae-9885d9582a6a |
128db5f96ca8e7619ec9af911a48b469ab35c3ae | 470fae08316b55246ab01675ac5013febfb13eee | /src/server/game/Battlegrounds/ArenaScore.cpp | 6b4d3c564183d06a401eb72530b5be4e7facab13 | [] | no_license | adde13372/shadowcore | 8db6fb6ccc99821e6bd40237a0c284ce7cf543c2 | aa87944193ce02f6e99f7b35eceac5023abfca1b | refs/heads/main | 2023-04-01T07:38:39.359558 | 2021-04-03T07:54:17 | 2021-04-03T07:54:17 | 354,320,611 | 4 | 8 | null | 2021-04-03T15:02:49 | 2021-04-03T15:02:49 | null | UTF-8 | C++ | false | false | 2,168 | cpp | /*
* Copyright 2021 ShadowCore
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation; either version 2 of the License, or (at your
* option) any later version.
*
* This program is distributed... | [
"81566364+NemoPRM@users.noreply.github.com"
] | 81566364+NemoPRM@users.noreply.github.com |
685ddefaaab342e92843b1dc6260cdec769f6e47 | 948f4e13af6b3014582909cc6d762606f2a43365 | /testcases/juliet_test_suite/testcases/CWE762_Mismatched_Memory_Management_Routines/s07/CWE762_Mismatched_Memory_Management_Routines__new_free_long_13.cpp | 3597140cd4e18802885f5fab3e7667db5fe34b6a | [] | no_license | junxzm1990/ASAN-- | 0056a341b8537142e10373c8417f27d7825ad89b | ca96e46422407a55bed4aa551a6ad28ec1eeef4e | refs/heads/master | 2022-08-02T15:38:56.286555 | 2022-06-16T22:19:54 | 2022-06-16T22:19:54 | 408,238,453 | 74 | 13 | null | 2022-06-16T22:19:55 | 2021-09-19T21:14:59 | null | UTF-8 | C++ | false | false | 4,669 | cpp | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE762_Mismatched_Memory_Management_Routines__new_free_long_13.cpp
Label Definition File: CWE762_Mismatched_Memory_Management_Routines__new_free.label.xml
Template File: sources-sinks-13.tmpl.cpp
*/
/*
* @description
* CWE: 762 Mismatched Memory Management Routines... | [
"yzhang0701@gmail.com"
] | yzhang0701@gmail.com |
597d75edf40faf877436cdd762ba906ef67f675a | 99e3208f162fcb37e6dfff16b4b705caa9d0705b | /Source/coopgame/Private/UI/hud/NativeInGameMenuWidget.h | c2e12e7a461d72a71cb619a490e53d273609c7bc | [
"Apache-2.0"
] | permissive | dakitten2358/coopgame | 21e94b87d56c348c763eaea0eeb7dca64e91a94c | 660293ce381d55025e4654ff448faf6a71a69bd2 | refs/heads/master | 2021-07-14T17:29:38.054269 | 2020-11-09T19:29:06 | 2020-11-09T19:29:06 | 67,722,847 | 1 | 1 | Apache-2.0 | 2020-11-18T11:39:04 | 2016-09-08T16:56:30 | C++ | UTF-8 | C++ | false | false | 610 | h | // Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "Blueprint/UserWidget.h"
#include "NativeInGameMenuWidget.generated.h"
/**
*
*/
UCLASS()
class UNativeInGameMenuWidget : public UUserWidget
{
GENERATED_BODY()
public:
... | [
"jay.w.murray@gmail.com"
] | jay.w.murray@gmail.com |
60c02dff57a1e42a892e218bd406e422caa22bd0 | 3cf8a4c9899f655018e7da1c4272815fa6873aa7 | /include/Bull/Network/Socket/Datagram.hpp | d6e03ff10651ddb7c38fb190476dba84cc323e83 | [
"MIT"
] | permissive | siliace/Bull | 5009633d56c5379ef0c02ce4ba2ba220f775df24 | c668273d0d4740d82f68ca323c1a740374b018b8 | refs/heads/master | 2021-03-27T13:41:35.650870 | 2019-11-14T19:47:03 | 2019-11-14T19:47:03 | 70,693,137 | 7 | 1 | null | 2017-10-25T22:23:04 | 2016-10-12T11:26:43 | C++ | UTF-8 | C++ | false | false | 440 | hpp | #ifndef BULL_NETWORK_SOCKET_DATAGRAM_HPP
#define BULL_NETWORK_SOCKET_DATAGRAM_HPP
#include <memory>
#include <Bull/Core/Memory/ByteArray.hpp>
#include <Bull/Network/Address/IpAddress.hpp>
#include <Bull/Network/Address/NetPort.hpp>
namespace Bull
{
struct BULL_NETWORK_API Datagram
{
NetPort port;
... | [
"benjber69@gmail.com"
] | benjber69@gmail.com |
11110ad9545efcf3ab5a11f673c406bfa174cfbb | 2d361696ad060b82065ee116685aa4bb93d0b701 | /src/corelib/plugin_manager.cpp | ac3280af5b026ea5470a2b374ba80aa22a34f1f0 | [
"LicenseRef-scancode-public-domain"
] | permissive | AaronNGray/GenomeWorkbench | 5151714257ce73bdfb57aec47ea3c02f941602e0 | 7156b83ec589e0de8f7b0a85699d2a657f3e1c47 | refs/heads/master | 2022-11-16T12:45:40.377330 | 2020-07-10T00:54:19 | 2020-07-10T00:54:19 | 278,501,064 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 10,425 | cpp | /* $Id: plugin_manager.cpp 570204 2018-09-05 17:25:51Z ivanov $
* ===========================================================================
*
* PUBLIC DOMAIN NOTICE
* National Center for Biotechnology Information
*
* This software/database is a "United States Governmen... | [
"aaronngray@gmail.com"
] | aaronngray@gmail.com |
34e6ea964517b4cc1d18e0d96d95f6ad75d1490e | 9030ce2789a58888904d0c50c21591632eddffd7 | /SDK/ARKSurvivalEvolved_Buff_GauntletWaves_InvisibleWallShield_parameters.hpp | fe66f3629e02d401637b5aae33798ce84399b950 | [
"MIT"
] | permissive | 2bite/ARK-SDK | 8ce93f504b2e3bd4f8e7ced184980b13f127b7bf | ce1f4906ccf82ed38518558c0163c4f92f5f7b14 | refs/heads/master | 2022-09-19T06:28:20.076298 | 2022-09-03T17:21:00 | 2022-09-03T17:21:00 | 232,411,353 | 14 | 5 | null | null | null | null | UTF-8 | C++ | false | false | 1,559 | hpp | #pragma once
// ARKSurvivalEvolved (332.8) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "ARKSurvivalEvolved_Buff_GauntletWaves_InvisibleWallShield_classes.hpp"
namespace sdk
{
//---------------------------------------------------------------------------
//Parameters
//-------------------------------... | [
"sergey.2bite@gmail.com"
] | sergey.2bite@gmail.com |
27f0becb315179c74a4f46d79e411f8639ff68a2 | 26d3688d1839717de6edec3aa6fa60fb1fe3483d | /external/boost_1_60_0/qsboost/mpl/aux_/preprocessed/no_ctps/bind.hpp | 9eba399c2a09c32934d2791488cfa034cdddef3c | [
"MIT"
] | permissive | wouterboomsma/quickstep | 7d91c8070dca9f0d1d5ac30a38a9e159224a5e13 | a33447562eca1350c626883f21c68125bd9f776c | refs/heads/master | 2021-01-22T19:25:45.689105 | 2017-04-19T09:25:23 | 2017-04-19T09:25:23 | 88,726,115 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,571 | hpp |
// Copyright Peter Dimov 2001
// Copyright Aleksey Gurtovoy 2001-2004
//
// 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)
//
// Preprocessed version of "boost/mpl/bind.hpp" header
// -- DO NOT modify by hand!
... | [
"wb@di.ku.dk"
] | wb@di.ku.dk |
07d5d267d5e685ef7fc82af5947532c33b168789 | e0c28b2d8e8ec4102df6b2108f9db361197d1a6d | /Algorithm.Greatest-common-divisor.CPP/Algorithm.Greatest-common-divisor.CPP.cpp | 3ee5c9f562909d204fd298431a4d8c7f74b1ecc6 | [] | no_license | andrei-kolesnik/interview | d4930d51c600cedf1ebc68b73e8be2f8d0a1c403 | 5b71a0007cf794ff958126e9b42eccde103d079b | refs/heads/master | 2020-04-01T11:28:35.640840 | 2019-09-22T23:32:41 | 2019-09-22T23:32:41 | 153,163,934 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 958 | cpp | /*
Find the greatest common divisor of the two given numbers using the Euclidean algorithm
IN: 252, 105
OUT: 21
*/
#include <iostream>
using namespace std;
int gcd_division(int a, int b) {
while (b != 0) {
int t = b;
b = a % b;
a = t;
}
return a;
}
int gcd_subtraction(int a, int b) {
while (a != b) {
if ... | [
"andrei.kolesnik@gmail.com"
] | andrei.kolesnik@gmail.com |
400360d08fa8399084f4e320886a664090f8536d | 606df8f6d7095e5f10a697f4acf66cf9aa9ebd61 | /usaco/Chapter4/Section 4.3/prime3.cpp | d7441ee9c5c241bc904879c106d090f7eb90cfb1 | [] | no_license | memset0x3f/oj-data | 15cb8a6f878f819e6e32443648ca8cfb75bf61e0 | c20e0da978195aa8d72679a6a0ae1a1eff2b94f7 | refs/heads/master | 2020-05-02T01:03:00.607743 | 2016-01-09T07:39:01 | 2016-01-09T07:39:01 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,144 | cpp | /*
ID:ybojan2
LANG:C++
TASK:prime3
*/
#include <iostream>
#include <cstdio>
#include <cstring>
#include <cmath>
#include <algorithm>
#define MAXN 1024
#define MAXR 10000
#define MAXS 64
using namespace std;
int dat[MAXS][10][MAXN], l[MAXS][10];
bool has0[100000], has2[100000];
int bit_sum(int x)
{
... | [
"buaabarty@gmail.com"
] | buaabarty@gmail.com |
e1fefe89acbb2afb64b8844b862f601eb27bc9b8 | 88ca799c2a2b28b30a259958f4389bc7bff61de4 | /bubbleSort.cpp | 1ce60cb929c9d5549fb5b14a45c804895c33314e | [
"MIT"
] | permissive | guilhermeqbs/Escalonamento-SO | d86c1ae5d12611d042f3a28ca3a81d8ba549e6f0 | c83a2c0cf1658ddc1c3494ce66eaecb39d871381 | refs/heads/master | 2022-12-28T18:45:10.205363 | 2020-10-10T23:46:07 | 2020-10-10T23:46:07 | 294,253,827 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 606 | cpp | #include<iostream>
#include <iomanip>
#include <math.h>
using namespace std;
void bubbleSort(int n, int *p, int *y, int *s)
{
int auxP, auxY, auxS;
//percorre todo o vetor
for(int i=0; i<n; i++)
{
for(int j=1; j<n; j++)
{
if(y[j-1] > y[j])
{
auxP... | [
"guilhermeqbs@gmail.com"
] | guilhermeqbs@gmail.com |
96f47573a2afddf0a9befacfcc97db015c1da2b2 | ea6230c98fce7765ca933b5d478b05b530725fcc | /Src/Crypt/crypt.cpp | 7d834a1d3a8f5c6ac9fabebb5c218a88af71eff1 | [] | no_license | Brebl/Aes-gcm | aa54153c366ab9cb99b01bbd7cdb8a79a1e089cb | 375b89c6376ba55e1265dc45a376720670539092 | refs/heads/master | 2023-01-09T11:51:19.637923 | 2020-11-10T16:29:14 | 2020-11-10T16:29:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,055 | cpp | #include "crypt.h"
Crypt::Crypt()
{
try {
/**************************
Algorithm handle
**************************/
//open an algorithm handle
//or use global BCRYPT_AES_GCM_ALG_HANDLE
if (!NT_SUCCESS(status = BCryptOpenAlgorithmProvider(
&hAlg,
BCRYPT_AES_ALGORITHM,
NULL,
0)))
{
throw st... | [
"br3b3l@gmail.com"
] | br3b3l@gmail.com |
e1a9d0f6ec97c418d108a390b307c51908e0a418 | d2f0e04359c7b8002833943300ea7cd3b6ecbb69 | /Dependencies/ajson/example1_helloworld.cpp | d6b68f5626ba47f9298936de08d2e3d6be9178ef | [
"BSL-1.0",
"Apache-2.0"
] | permissive | a8037902/NoahGameFrame | 5cc6d7383cc57bebcd18d18ebdbdea3ddff113f5 | 0c5b81538f0ee74e03bd3430b106f28ef45db17c | refs/heads/master | 2020-04-16T10:03:19.153854 | 2019-07-09T07:10:26 | 2019-07-09T07:10:26 | 165,488,048 | 2 | 0 | Apache-2.0 | 2019-01-13T09:33:21 | 2019-01-13T09:33:20 | null | UTF-8 | C++ | false | false | 419 | cpp | #include <iostream>
#include <string>
#include "ajson.hpp"
using namespace std;
using namespace ajson;
struct demo
{
string hello;
string world;
};
AJSON(demo,hello,world)
int main(int argc, char * argv[])
{
char * buff = "{\"hello\" : \"Hello\", \"world\" : \"world.\"}";
demo the_demo;
load_from_buff(the_d... | [
"342006@qq.com"
] | 342006@qq.com |
a586e996c989d61618dd390372b701a737d88e25 | 9b8591c5f2a54cc74c73a30472f97909e35f2ecf | /codegen/QtScriptTools/QScriptEngineDebuggerSlots.cpp | bba9e77c81a96c91b61f3f8d4321645f45479dfd | [
"MIT"
] | permissive | tnsr1/Qt5xHb | d3a9396a6ad5047010acd5d8459688e6e07e49c2 | 04b6bd5d8fb08903621003fa5e9b61b831c36fb3 | refs/heads/master | 2021-05-17T11:15:52.567808 | 2020-03-26T06:52:17 | 2020-03-26T06:52:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 325 | cpp | %%
%% Qt5xHb - Bindings libraries for Harbour/xHarbour and Qt Framework 5
%%
%% Copyright (C) 2020 Marcos Antonio Gambeta <marcosgambeta AT outlook DOT com>
%%
$project=Qt5xHb
$module=QtScriptTools
$header
$includes
$beginSlotsClass
$slot=|evaluationResumed()
$slot=|evaluationSuspended()
$endSlotsCl... | [
"5998677+marcosgambeta@users.noreply.github.com"
] | 5998677+marcosgambeta@users.noreply.github.com |
4fda49015695bd55004e3be1f4d2f956d91bbc9e | 32e675e9786c839c2744d8f57d0420faaf65a1c8 | /2018/02.fall/final/Problem02/problem02.cpp | 3bfee5cb77e7d5291c98bc6b5c249079d4a46181 | [
"MIT"
] | permissive | cbchoi/sit22005 | 8d142b2a7c9be3fc9610e07e3e6b7bd6595d3aa5 | efe62732f494e5231b65c3fe9ed7c90160752ddc | refs/heads/master | 2020-04-10T17:19:37.479562 | 2019-10-07T10:48:25 | 2019-10-07T10:48:25 | 161,171,057 | 5 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,877 | cpp | #include <iostream>
#include <string>
#include <vector>
#include <cstring>
class Book
{
private:
char* _book_name;
char* _author_name;
int _publish_year;
public:
Book(const char* name, const char* author, int year)
:_book_name(nullptr), _author_name(nullptr)
{
_book_name = name;
... | [
"cbchoi@handong.edu"
] | cbchoi@handong.edu |
9c6d7ec0eae7d7a8816795e1c2f701d122face03 | b733bcb63c8ca8d8642a2aee7635d8e4491a7be1 | /NS3_DJI/wifi/model/wifi-tx-vector.cc | 7eb35d847cc9a7aa8e58ed7f47598e1ceb577c27 | [] | no_license | Will1998/NS3-Air-to-ground-communication | 09d8a91527e7a548df825a099a4b77c451bd7a2e | db2253bc9e99ab1112f72e21b15c841e52dc9e3b | refs/heads/main | 2023-03-21T10:26:26.534616 | 2021-03-16T13:56:15 | 2021-03-16T13:56:15 | 348,365,412 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,259 | cc | /* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */
/*
* Copyright (c) 2010 CTTC
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation;
*
* This program is distribut... | [
"wenqi.rong@ericsson.com"
] | wenqi.rong@ericsson.com |
9ba16e102f1ca1d47d45bb343c8ad4efd79bf29f | 854f3f6ae97c85ca054c3e1c801ff1ef8badcdf2 | /src/glmnetpp/test/testutil/translation/lognet.hpp | 98dea6476f37a52b0d8e77700bb2c94b2eae357e | [] | no_license | cran/glmnet | 5d24e2d1ec9e4ca4ae17aeb28781cbe163c3523c | 625f6ca6e3132ce730563ce34233c37f347754c8 | refs/heads/master | 2023-09-01T20:24:37.049612 | 2023-08-22T03:10:09 | 2023-08-22T05:30:40 | 17,696,436 | 64 | 99 | null | 2017-11-09T01:18:04 | 2014-03-13T04:53:09 | Fortran | UTF-8 | C++ | false | false | 4,321 | hpp | #pragma once
#include <Eigen/Core>
#include <vector>
// have been separately unittested
#include <glmnetpp_bits/elnet_driver/chkvars.hpp>
#include <glmnetpp_bits/elnet_driver/standardize.hpp>
#include <testutil/translation/lognetn.hpp>
#include <testutil/translation/lognet2n.hpp>
#include <testutil/translatio... | [
"csardi.gabor+cran@gmail.com"
] | csardi.gabor+cran@gmail.com |
8402abab93f35162a55770efb337cab1aeff1799 | a1fbdc3cf6694530301b00d4ea50ceab33f376e4 | /src/Rendering/TransformComponent.cpp | 100ba67b0b4f4c1a10aa2a94cf01e5baabad63ae | [
"MIT"
] | permissive | rustynoob/Fission | 3fd511422103601266c603988fc5d24b92cd770b | e607a47fefb0df48167a0785d914e23e99a5c885 | refs/heads/master | 2020-05-31T06:01:27.598014 | 2013-11-04T09:48:51 | 2013-11-04T09:48:51 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 294 | cpp | #include "Rendering/TransformComponent.h"
TypeBits TransformComponent::Type;
TransformComponent::TransformComponent(sf::Vector2f pos, float rot, sf::Vector2f scale)
{
setPosition(pos);
setRotation(rot);
setScale(scale);
}
TransformComponent::~TransformComponent()
{
//dtor
}
| [
"tderego94@gmail.com"
] | tderego94@gmail.com |
a46e15a93d66a4a702846d9dc44c61a04f57027e | 281c2763051432271b132499702860bd2b3f5ffa | /Volume_22/2298_Starting_Line.cpp | dcce04bd375ad29690e435ee0698cfb98910af7d | [
"Apache-2.0"
] | permissive | dtbinh/AOJ | 27c95c32a829adbee37431e6e5f510723992fe45 | f4fc75717e67b85977f5ba0ccf9e823762e44a45 | refs/heads/master | 2021-01-24T23:42:46.858379 | 2015-05-25T17:05:03 | 2015-05-25T17:05:03 | 36,429,163 | 1 | 0 | null | 2015-05-28T09:46:45 | 2015-05-28T09:46:44 | null | UTF-8 | C++ | false | false | 1,709 | cpp | #define _USE_MATH_DEFINES
#define INF 0x3f3f3f3f
#include <cstdio>
#include <iostream>
#include <sstream>
#include <cmath>
#include <cstdlib>
#include <algorithm>
#include <queue>
#include <stack>
#include <limits>
#include <map>
#include <string>
#include <cstring>
#include <set>
#include <deque>
#include <bitset>
#in... | [
"s1220795@u.tsukuba.ac.jp"
] | s1220795@u.tsukuba.ac.jp |
a8beae866adf5ebf98434545e987e0ae62a349a2 | b01caabbbb6ad56c30e0652f0699873ec49b3f5d | /Src/DynamicObject.h | 32e412a33cdd495b554c023dfde6f5919dec8b7f | [] | no_license | nitoriYTEk/IWFunassy | a72b6f72b34b6221bce38c3843b4b2a89c8db5fe | 0f54dacd36a17032db3f6a9117c3dfa595c61060 | refs/heads/master | 2021-01-10T06:24:04.296540 | 2016-03-27T06:08:36 | 2016-03-27T06:08:36 | 54,815,354 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 846 | h | #pragma once
# include <vector>
# include <memory>
#include "Object.h"
constexpr double GRAVITY = 1200;
constexpr double LIMIT_VELOCITY = 800;
using namespace std;
class DynamicObject : public Object {
public:
DynamicObject(int x, int y, int xsize, int ysize);
void checkFloating(const vector<shared_ptr<Object>>... | [
"masaki.seizaemon@gmail.com"
] | masaki.seizaemon@gmail.com |
51547a4853c1998e15ba3d84ce52b6fa8de36a7d | 09a4962b93c196f2f8a70c2384757142793612fd | /Dripdoctors/build/Android/Debug/Dripdoctors/app/src/main/jni/_root.Dripdoctors_FuseControlsImage_Width_Property.cpp | 839099e9a99080f61eef272f1257b2283210586b | [] | no_license | JimmyRodriguez/apps-fuse | 169779ff2827a6e35be91d9ff17e0c444ba7f8cd | 14114328c3cea08c1fd766bf085bbf5a67f698ae | refs/heads/master | 2020-12-03T09:25:26.566750 | 2016-09-24T14:24:49 | 2016-09-24T14:24:49 | 65,154,944 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,640 | cpp | // This file was generated based on C:\Users\rodriguez\workspace\FUSE\apps-fuse\Dripdoctors\.uno\Dripdoctors.unoproj.g.uno.
// WARNING: Changes might be lost if you edit this file directly.
#include <_root.Dripdoctors_FuseControlsImage_Width_Property.h>
#include <Fuse.Controls.Image.h>
#include <Fuse.Elements.Element.... | [
"jimmy_sidney@hotmail.es"
] | jimmy_sidney@hotmail.es |
2c585406a97c26fdbf210c56f2a915bc564d7e7f | 9f4a9338f2a25275128d8debead7c06bba472e10 | /src/udf_template.cpp | a0ad2b54ad01011e0e08c566739f0e1aabf10a5c | [
"MIT"
] | permissive | simonmssu/hdf5-udf | d11c0bb853fe20d6f3c413b74134339b45fd57b1 | 1b95e273f43caa5aa57e7a438c4bbfe66d36f421 | refs/heads/master | 2022-12-27T19:09:38.713354 | 2020-10-16T12:23:40 | 2020-10-16T12:23:40 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,524 | cpp | //
// HDF5-UDF: User-Defined Functions for HDF5
//
// File: udf_template.cpp
//
// HDF5 filter callbacks and main interface with the C++ API.
//
#include <sys/types.h>
#include <string>
#include <vector>
// The following variables are populated by our HDF5 filter
std::vector<void *> hdf5_udf_data;
std::vector<const ch... | [
"lucasvr@gmail.com"
] | lucasvr@gmail.com |
111b7ea67d881efa0960009e723375d71b0e1fcd | a765e0ffe72ea7f3ea340dbfb9dbc52f82259b8a | /Proyecto1_Leyenda/Source/Proyecto1_Leyenda/BatteryMan.h | 62b19f150b8761dd29adf7e2a8388ed28554ed13 | [] | no_license | TheoLeyenda/TSDVJ_Unreal_Practica | e345013927bcc8262aae6fc144202e09728e21b3 | b8bf148b09905933e038b33f531bb115ed7321da | refs/heads/master | 2022-08-02T06:11:50.652383 | 2020-05-26T00:38:58 | 2020-05-26T00:38:58 | 258,636,487 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,783 | h | // Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "GameFramework/Character.h"
#include "Camera/CameraComponent.h"
#include "Components/CapsuleComponent.h"
#include "Components/StaticMeshComponent.h"
#include "Components/InputComponent.h"
#inc... | [
"theofritaku@gmail.com"
] | theofritaku@gmail.com |
f8ac3fb528a618807bc431636a49175f15524374 | 7664df6ca1abefb57dcbeac49b59417ca0aabb3e | /FenwickTree.cpp | da7e2f307fcede2a926267a88e644a74bb2519f2 | [] | no_license | vikram7599/JANUARY | a3dff07b15e712739690e17f3b6058bc692e3953 | 74a75435c1d6746751572c0b82db44b9a95bcff1 | refs/heads/master | 2020-04-15T17:33:50.004202 | 2019-01-09T15:34:50 | 2019-01-09T15:34:50 | 164,876,152 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,059 | cpp | #include<bits/stdc++.h>
using namespace std ;
void update(int index , int value , int *BIT, int n){
for(; index <= n ; index += index&(-index)){
BIT[index] += value ;
}
}
int query(int index , int *BIT){
int sum = 0 ;
for(; index>0 ; index -= index&(-index)){
sum += BIT[index];
}... | [
"vikram7599@gmail.com"
] | vikram7599@gmail.com |
64b3fc5db85446210f0fa1968d35f8dea182ee75 | 53502055949fa8e5cc89904f41aad2e407c5547a | /src/testApp.h | 709b2344d2f5fb41e6f30d4c1fe34ed1bb1479f8 | [] | no_license | pkmital/NSCARPE | 67d5bd51bd07b36d6151e6e7cb72001823021d4e | 27a320fdf7c765b3430e78cce6ba1a870976b353 | refs/heads/master | 2021-03-27T19:14:13.752756 | 2015-02-17T05:10:02 | 2015-02-17T05:10:02 | 12,507,106 | 5 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 16,099 | h | /*
CHANGELOG:
----------
* 0.12: Data agnostic, XML changes
- Changes to XML file format. Please see new XML file example as some fields have moved around.
- No longer dependent on loading movie/eye-movements. E.g. if only audio is loaded, then the app will still be able to process your data. Or similarly, ... | [
"parag@pkmital.com"
] | parag@pkmital.com |
2f15832a7fbf06cfa3a7bdae2d36a6bbb7bccc61 | f486721eddea6c5c5dedb3d18bfd6a138c273fe4 | /src/qtlottieitem.cpp | 696452d1a37003a14c6eac79112a366c9f15e5ff | [
"MIT"
] | permissive | Qt-Widgets/qtlottie | 10333c6dbc85063a19ca9844274e579d8db446ec | 1aa1d9b0cdb5f1ab845a26c0e1c7fb5c5e26728e | refs/heads/main | 2023-04-04T15:20:11.476825 | 2021-03-30T05:03:19 | 2021-03-30T05:03:19 | 352,975,220 | 2 | 0 | MIT | 2021-03-30T11:23:31 | 2021-03-30T11:23:31 | null | UTF-8 | C++ | false | false | 5,230 | cpp | /*
* MIT License
*
* Copyright (C) 2021 by wangwenx190 (Yuhang Zhao)
*
* 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
* t... | [
"2546789017@qq.com"
] | 2546789017@qq.com |
722c9691e664766ab1faae8e104c62280690c548 | c44ad98f9c56b30ac4f7b507069ba1be54a870c0 | /Motor2D/j1App.h | 5193cf83ba9298759ffd1c5dccc589ed459bf317 | [] | no_license | rogerta97/FogOfWar | 62928bb5be989905b45f2c503dae4cc16b6135f5 | b37cd4fbb24efba30962af1b2ff9a023efb9f993 | refs/heads/master | 2021-01-23T08:15:47.585722 | 2017-04-25T09:03:47 | 2017-04-25T09:03:47 | 86,492,968 | 7 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,122 | h | #ifndef __j1APP_H__
#define __j1APP_H__
#include "p2List.h"
#include "j1Module.h"
#include "j1PerfTimer.h"
#include "j1Timer.h"
#include "PugiXml\src\pugixml.hpp"
#include "CollisionFilters.h"
class UI_Window;
class UI_Text;
class UI_ColoredRect;
// Modules
class j1Window;
class j1Input;
class j1Render;
class j1Text... | [
"rogerteello97@gmail.com"
] | rogerteello97@gmail.com |
90c4cfdcaeeecfba23b9cbc8feb7a27c75278707 | 55f3266958a87192e4af07ff369f0a0bac9a00a9 | /src/CollisionDetector.h | 6b0108b5b71b910df24674d4043f4dde952f85a0 | [
"MIT"
] | permissive | LiquidityC/flat | f40a22f7c41ec87510957a8d9051d03e64558e7a | db5a1527f4b7f2f03cdc35c24e62a8642c47a794 | refs/heads/dev | 2021-09-27T03:31:26.884681 | 2021-09-09T08:38:46 | 2021-09-09T08:38:46 | 51,245,755 | 91 | 5 | MIT | 2020-05-17T11:58:52 | 2016-02-07T11:49:19 | C++ | UTF-8 | C++ | false | false | 2,877 | h | #ifndef COLLISIONDETECTOR_H_
#define COLLISIONDETECTOR_H_
#include "EntityShape.h"
namespace flat2d {
class EntityContainer;
class EntityProperties;
class Entity;
class DeltatimeMonitor;
class Square;
class GameData;
/**
* Checks collisions between objects.
* @author Linus Probert <linus.probert@gmail.com... | [
"linus.probert@gmail.com"
] | linus.probert@gmail.com |
d90defeccde8c350f35a5429575522346492322e | 0216bd5a407e793551aeaa4e7f2f4cb669deb720 | /dev/WCSim/Communication.cpp | ebc5e1ac1e1fe9de374ca70a58bedb51c3b00dac | [] | no_license | ptibbets/SCADA2 | 698d1af19055581f91621b825746fd82fceaeabf | bb23b88845e67038fd9d38e527d4753cd99c1f13 | refs/heads/master | 2021-01-12T08:56:26.886634 | 2017-01-19T04:55:25 | 2017-01-19T04:55:25 | 76,728,407 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 386 | cpp | #include "Communication.h"
namespace wcsim
{
Communication * Communication::mInstance = nullptr;
Communication::Communication(Communication * vInstance)
{
mInstance = vInstance;
}
Communication & Communication::getInstance()
{
return *mInstance;
}
bool Communication::... | [
"misio4x4@gmail.com"
] | misio4x4@gmail.com |
6414565f6421c0a9bebd0c02fda23b9e12362cfd | 959bfc68809eff5a98af462ae612986fe1c91db5 | /Solutions/389/A[ Fox and Number Game ].cpp | ebdbad3126435510766d4bbcb3be951ccc9da55d | [] | no_license | sbmaruf/Codeforces_Solution | af1f112dddc699191c959ec259bbb58074733edb | ad9b52c5e4d2f8d8e2eed4be1a279197c7f0b0a7 | refs/heads/master | 2021-08-29T04:50:06.106638 | 2017-12-13T12:28:08 | 2017-12-13T12:28:08 | 114,116,916 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 28,060 | cpp | /EN">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<meta name="X-Csrf-Token" content="2272aa69d17c11b92e473dd51d34a74b"/>
<meta id="viewport" name="viewport" content="width=device-width, initial-scale=0.01"/>
<script type="text/javascript" src="http://st.codeforces.c... | [
"sbmaruf@gmail.com"
] | sbmaruf@gmail.com |
88cbc10bebe32a006f081082ac8290b77d54f926 | a1859bbfc6cef11345ca554a85469de857d17e03 | /AISDeocder/include/src/nmea/dbt.hpp | 09ca58d29fc242ced2ce72eb25943c4f6aa76324 | [] | no_license | ashraful100/Web-Service-Broker | 272cc8f3ef64fad076a73bd4529ea1c60299c7e1 | 3ff53e6bbc869c5c66abb4fc043c2cb403dee302 | refs/heads/master | 2020-06-11T12:52:34.777579 | 2019-06-26T20:26:13 | 2019-06-26T20:26:13 | 193,970,445 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,174 | hpp | #ifndef src__NMEA__DBT__HPP
#define src__NMEA__DBT__HPP
#include <src/nmea/sentence.hpp>
#include <src/utils/optional.hpp>
namespace src
{
namespace nmea
{
/// @brief DBT - Depth Below Transducer
///
/// @code
/// 1 2 3 4 5 6
/// | | | | | |
/// $--DBT,x.x,f,x.x,M,x.x,F*hh<CR><LF>
/// @endco... | [
"write2ashraf_eee@yahoo.com"
] | write2ashraf_eee@yahoo.com |
3378d7b8bd549f97d00edfe22e7a41603b151825 | 6c5da5e5fad13e0c415dd6b0e36d8efd6fb3bc9c | /src/main.cpp | 4e5fbf31992a4b251e08fcd831bd08fbe5ae81da | [
"Apache-2.0"
] | permissive | dr0pdb/External-Merge-Sort | a0844d658149ef047ebc956cc9a6d693fca80f98 | a4b8f551b64d551f92e38951307eee77f066a6f6 | refs/heads/master | 2021-10-08T12:30:17.668063 | 2018-12-12T02:40:52 | 2018-12-12T02:40:52 | 160,748,274 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,418 | cpp | #include <utils.h>
#include <sort.h>
#include <iostream>
#include <string>
#include <vector>
#include <fstream>
#include <sstream>
#include <algorithm>
#include <numeric>
#include <ctime>
int main(int argc, char const *argv[])
{
std::cout<<"-------------------------------------------------------\n";
std::cout<<"Welc... | [
"srv.twry@gmail.com"
] | srv.twry@gmail.com |
ae967c6e5068b09919e9e03469485df3dd165b1f | 964743cc9072f09d3d60a88ddd90971e48e8a956 | /NewGeneUI/NewGene/Widgets/newgenemainwindow.h | f057792c2640aa43c32c97d610bc70d0bcd39259 | [] | no_license | daniel347x/newgene | f6a7abae718bc4b3813c6adf2c2f991dca535954 | dc0b5ddaeea441d905d627a4145d7a3e2eda78b5 | refs/heads/master | 2022-06-27T17:19:42.205690 | 2022-06-21T21:52:07 | 2022-06-21T21:52:07 | 9,526,888 | 0 | 2 | null | 2022-06-21T21:52:08 | 2013-04-18T16:55:22 | C | UTF-8 | C++ | false | false | 3,076 | h | #ifndef NEWGENEMAINWINDOW_H
#define NEWGENEMAINWINDOW_H
#include "globals.h"
#include <QMainWindow>
#include <QProgressBar>
#include <QStatusBar>
#include "newgenewidget.h"
#include "../Infrastructure/Messager/uimessager.h"
#include <memory>
#include <map>
namespace Ui
{
class NewGeneMainWindow;
}
class Splash;
c... | [
"daniel347x@gmail.com"
] | daniel347x@gmail.com |
0dbc27bceebd85dc710b4a3fdcc9034e331e1cf8 | ea1cf452e9ec5ae00c914cdc8a599dc6e7a2e1fa | /krpai2020/Sesi 3/tirtapods-war/pump.h | 9842f461c434ccbcd7e17df47517431697914b5e | [] | no_license | utamadonny/tirtapods-x | f4dbe6432068c8e2f8160cc410b9acdc2d9a2168 | b0c8ecbccc59afc3a56c46d5a4e52287c4165b39 | refs/heads/master | 2023-01-14T10:47:45.661501 | 2020-11-13T14:42:16 | 2020-11-13T14:42:16 | 283,935,826 | 3 | 2 | null | 2020-08-20T14:22:06 | 2020-07-31T03:46:11 | C++ | UTF-8 | C++ | false | false | 482 | h | #define PIN_PUMP 9
namespace pump {
void setup () {
pinMode(PIN_PUMP, OUTPUT);
}
void extinguish (unsigned int ms) {
digitalWrite(PIN_PUMP, HIGH);
delay(ms);
digitalWrite(PIN_PUMP, LOW);
delay(1000);
}
void activate (bool active = true) {
if (active) digitalWrite(PIN_PUMP, HIGH);
... | [
"utamadonny10@gmail,com"
] | utamadonny10@gmail,com |
7b3a15d460a622c567facee3000bd51c05043b2c | 02a17b4d09ad84c89c2bc53d0f86e700270dec41 | /src/cmd.cpp | 8efa6a1f4a6ce2fc714ebebcfd4e8abb068c798d | [] | no_license | jwFon/zv | 04cc1c84d666cb4d6c06c76886732a27b9ffb520 | 525781a66ed055ce0c0ab37d91adb5486458936f | refs/heads/master | 2021-05-07T02:27:41.915059 | 2017-11-13T15:06:48 | 2017-11-13T15:06:48 | 110,563,792 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 844 | cpp | #include "cmd.h"
#include "zv.h"
#include "value.h"
#define CHECK(condition) \
do { \
if (!(condition)) { \
return false; \
} \
} while(0)
Ping::Ping() : Cmd("ping", 0) {}
bool Ping::process(Client* c)
{
c->output_buf = "+pong\r\n";
return true;
}
Set::Set() : Cmd("set", 3) {}
bool Set::process(Client *c)
{
... | [
"286415862@qq.com"
] | 286415862@qq.com |
6c2dc8561c63acbffad5678c60f701a65d464603 | a88e929e6ba2eb3f41d85eb7b963d08a124571a2 | /include/channel.hpp | 7ab76ff4ddc930106706cd6a1c589c89bb7ecf5a | [
"BSD-3-Clause"
] | permissive | gilescope/mamba | bb9d9550c9ebc3a817b4aafe55438c7fca69a07e | d6200d1643c0a5efd1cd6b9edb4cf33530d1e257 | refs/heads/master | 2022-11-06T10:29:28.725809 | 2020-06-27T08:58:56 | 2020-06-27T08:58:56 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,193 | hpp | #ifndef MAMBA_CHANNEL_HPP
#define MAMBA_CHANNEL_HPP
#include <map>
#include <string>
#include <vector>
namespace mamba
{
class Channel
{
public:
Channel(const std::string& scheme = "",
const std::string& auth = "",
const std::string& location = "",
... | [
"johan.mabille@gmail.com"
] | johan.mabille@gmail.com |
966dd0361e60bad157f2c16b7508b7c7c2ae7119 | 721ecafc8ab45066f3661cbde2257f6016f5b3a8 | /codeforces/till-Dec-2018/808-B/808-B-27127480.cpp | da950b54ee05e773d75dfc08304d85aac29992ae | [] | no_license | dr0pdb/competitive | 8651ba9722ec260aeb40ef4faf5698e6ebd75d4b | fd0d17d96f934d1724069c4e737fee37a5874887 | refs/heads/master | 2022-04-08T02:14:39.203196 | 2020-02-15T19:05:38 | 2020-02-15T19:05:38 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 651 | cpp | #include<bits/stdc++.h>
#define ABS(a) ((a < 0) ? ((-1)*(a)) : (a))
using namespace std;
int main(){
int n,k,nweeks;
cin>>n>>k;
nweeks=n-k+1;
int sleep[n];
for(unsigned i = 0; i < n; ++i) {
cin>>sleep[i];
}
long long temp_sum=0,total_sum=0;
fo... | [
"saurav007tiwary@gmail.com"
] | saurav007tiwary@gmail.com |
f63829d5a00edf2fddacb9380e68c6d1cbbcd80f | 4064061e754e12efcfcc257268f5a2920a844029 | /qml/plugin.h | 9c50d2d837d7e5a5b54b480a4683842cd3bccabb | [] | no_license | renatofilho/test-qml | f4018c95501b8f02e322078b7c2a84999526d54c | ad0257c71c8ee5093f712e27c447a2b0b4a4ed8e | refs/heads/master | 2020-05-20T13:01:52.188023 | 2012-10-08T12:51:07 | 2012-10-08T12:51:07 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 220 | h | #include <QtQml/QQmlExtensionPlugin>
class SmallQmlPlugin : public QQmlExtensionPlugin {
Q_OBJECT
Q_PLUGIN_METADATA(IID "org.qt-project.Qt.QQmlExtensionInterface")
public:
void registerTypes(const char *uri);
};
| [
"renato@canonical.com"
] | renato@canonical.com |
79f664dea7b83bbe54e9e1642ad7ebebed287394 | 5e1f5f2090013041b13d1e280f747aa9f914caa4 | /src/connectivity/bluetooth/hci/transport/usb/bt-transport-usb-test.cc | d5eb7ae575fa7305b6cfcc1bdb6bc352f3f86f8e | [
"BSD-2-Clause"
] | permissive | mvanotti/fuchsia-mirror | 477b7d51ae6818e456d5803eea68df35d0d0af88 | 7fb60ae374573299dcb1cc73f950b4f5f981f95c | refs/heads/main | 2022-11-29T08:52:01.817638 | 2021-10-06T05:37:42 | 2021-10-06T05:37:42 | 224,297,435 | 0 | 1 | BSD-2-Clause | 2022-11-21T01:19:37 | 2019-11-26T22:28:11 | C++ | UTF-8 | C++ | false | false | 7,662 | cc | // Copyright 2020 The Fuchsia 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 <fuchsia/hardware/usb/cpp/banjo.h>
#include <lib/fake_ddk/fake_ddk.h>
#include <fbl/auto_lock.h>
#include <usb/request-cpp.h>
#include <zxtest/ba... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
478c47269d3529646d48872351551eceb3830313 | db746376155509ed132ed3ca5d36810143800b85 | /Quiz 6.2.cpp | 8994b9f17ca0a56c817c10a48e9764e32603a365 | [] | no_license | opezaimd/TC101 | 7f34faac8168f0d4fd2bab4cb324ea7790653b53 | feef4bc0b5a581df76d4bea0852319ccb08f1088 | refs/heads/master | 2020-04-21T04:04:28.701848 | 2015-11-24T07:38:35 | 2015-11-24T07:38:35 | 41,690,669 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 232 | cpp | #include <iostream>
using namespace std;
char star(int x)
{
return '*';
}
int main()
{
int x;
cout << "How many * you want to print?" << endl;
cin >> x;
while(x>0)
{
cout << star(x);
x = x -1;
}
return 0;
}
| [
"opeza.imd@gmail.com"
] | opeza.imd@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.