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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
629a922a49d52155bb810877f9efae21b3a1411f | c9f776512224bea54ea954daabce3684cf2993f0 | /dataStructure/顺序栈.cpp | da2d5226b5b1a39f077987b3055d4cbb91af1f4d | [
"MIT"
] | permissive | mooleetzi/lab | d1ff5434981eb934de75d699acefb3b9b1a2c4a7 | 57df24f6e4f439eb4fad3f2217d3b8fd6f609a6b | refs/heads/master | 2020-06-09T12:34:05.968034 | 2020-01-07T01:58:47 | 2020-01-07T01:58:47 | 193,438,979 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,772 | cpp | /* ***********************************************
Author :Mool
Created Time :2018年10月04日 星期四 10时52分43秒
File Name :201713160220-李常亮-ex5.cpp
************************************************ */
#include <iostream>
#include <cstdio>
#include <cstring>
#include <algorithm>
#include <string>
#include <cmath>
#i... | [
"13208308200@163.com"
] | 13208308200@163.com |
f6bd12853e6aca081c31cc10ff332d09b8c4ad2b | 3a7531fb74425caf23621681bf5288caf7bbb526 | /BigInteger Class in C++/BigInt.hpp | 9a5985b6fa9bc97c46381a0585db4a5f8c4aa43d | [] | no_license | tusharmverma/BigIntegerClass | 315b61bac079dd0ce9ca7f23394fa5a91805a55f | 3ca19885dd174481d5b60f1bb76c9e174aa7640d | refs/heads/master | 2020-03-28T20:08:44.267324 | 2017-09-18T15:08:25 | 2017-09-18T15:08:25 | 149,043,930 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,490 | hpp | #include <iostream>
#pragma once
struct slot;
class BigInt
{
static const int digitsPerSlot = 8;
static const int valuePerSlot = 100000000;
public:
BigInt();
BigInt(const BigInt & that);
BigInt(int value);
BigInt(const char string[]);
~BigInt();
bool isPositive;
BigInt & ... | [
"tushar.m.verma@gmail.com"
] | tushar.m.verma@gmail.com |
8c2ff92d8dedd8999a6f7eee0d1d4c1eb28e31a3 | 0c7e20a002108d636517b2f0cde6de9019fdf8c4 | /Sources/Elastos/Frameworks/Droid/Base/Core/inc/elastos/droid/internal/telephony/CRIL.h | 4df954521fb4b3a7b16a9d8ec63d8aaa65e13f45 | [
"Apache-2.0"
] | permissive | kernal88/Elastos5 | 022774d8c42aea597e6f8ee14e80e8e31758f950 | 871044110de52fcccfbd6fd0d9c24feefeb6dea0 | refs/heads/master | 2021-01-12T15:23:52.242654 | 2016-10-24T08:20:15 | 2016-10-24T08:20:15 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 506 | h | #ifndef __ELASTOS_DROID_INTERNAL_TELEPHONY_CRIL_H__
#define __ELASTOS_DROID_INTERNAL_TELEPHONY_CRIL_H__
#include "_Elastos_Droid_Internal_Telephony_CRIL.h"
#include "elastos/droid/internal/telephony/RIL.h"
namespace Elastos {
namespace Droid {
namespace Internal {
namespace Telephony {
CarClass(CRIL)
, public RI... | [
"zhang.leliang@kortide.com"
] | zhang.leliang@kortide.com |
c030c1f7dd45e27ca6c38ea283b18b97139a3095 | 01bf80c163f5acc203ea11daff4d7e918386d82e | /125-ValidPalindrome.cpp | eb6299d02be3ce79fcf78b6904ff8290c81021a9 | [] | no_license | DionysiosB/LeetCode | d284be5abcc2ee947c3c2d09ff1af1cce9a51eb6 | 6d95868518645b7bfcb6ba376427dd701b561b99 | refs/heads/master | 2020-05-31T07:09:04.080095 | 2018-05-30T01:41:13 | 2018-05-30T01:41:13 | 48,652,707 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 362 | cpp | class Solution {
public:
bool isPalindrome(std::string s) {
std::string t;
for(int p = 0; p < s.size(); p++){
if(!isalnum(s[p])){continue;}
t += tolower(s[p]);
}
for(int p = 0; p < t.size() / 2; p++){
if(t[p] != t[t.size() - 1 - p]){return false;}... | [
"barmpoutis@gmail.com"
] | barmpoutis@gmail.com |
122a06ee835138a75b1f61e79cfe39adb9fcf284 | 30b515966efaf825dee4909b0f48ab1631fef9a2 | /source/build/BuildSingleSphereLight.hpp | 53f5594ef6fb437fe61fc0d1354010acb7b5ead6 | [
"MIT"
] | permissive | akavasis/ray-tracing-from-the-ground-up | 7757421fbd9d4a859cd245efc65dee88d23bf6ca | 4ca02fca2cdd458767b4ab3df15b6cd20cb1f413 | refs/heads/master | 2023-03-16T15:38:27.014402 | 2019-08-09T17:16:15 | 2019-08-09T17:16:15 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 516 | hpp | #pragma once
void World::build(void){
vp.hres = 400;
vp.vres = 400;
vp.set_pixel_size(1);
vp.set_gamma(1);
vp.set_num_samples(1);
background_color = black;
tracer_ptr = new RayCast(this);
Pinhole* pin = new Pinhole(Point3D(0, 0, 100), Point3D(0, 0, -100));
pin->set_distance(100);
... | [
"hadryansalles00@gmail.com"
] | hadryansalles00@gmail.com |
59817052bead5ea3ba5a07424b20b97586689a39 | fbf1762846a7b779b38740eabeeb7805ba79289e | /app/libs/ogre/OgreMain/src/OgreMovablePlane.cpp | 4d33d1854ae0981b7dc67e373a434dc2d088c0c7 | [
"MIT"
] | permissive | litao1009/AndroidOgreTest | 8b591202515cfcc22d741d1c35da3ae9bf4a7bf4 | a339100e46631d45523c0a185a7e2ceaba89cc78 | refs/heads/master | 2020-06-14T18:04:32.390217 | 2019-04-17T07:03:52 | 2019-04-17T07:03:52 | 75,349,260 | 3 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 5,021 | cpp | /*
-----------------------------------------------------------------------------
This source file is part of OGRE
(Object-oriented Graphics Rendering Engine)
For the latest info, see http://www.ogre3d.org/
Copyright (c) 2000-2014 Torus Knot Software Ltd
Permission is hereby granted, free of charge, to any person obta... | [
"lee@lee.com"
] | lee@lee.com |
61a5251a604850c0dc1dd6325331afbf4d5a9f2e | c92268517f100d93d4931b73a6fc4eb0f58453c9 | /Watchable.cpp | 72f984ac47a1ced0bdc41365fd597456ef9e9a61 | [] | no_license | avivdro/SPLFlix | 45de55e936a8a48c930972e585893fbae1093368 | fe404aabcb1d39127e3c2921c1c4975d068faf6a | refs/heads/main | 2023-05-03T04:49:13.104653 | 2021-06-01T16:32:32 | 2021-06-01T16:32:32 | 369,117,215 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,498 | cpp | //
// Created by aviv on 20/05/2021.
//
#include <iostream>
#include <iterator>
#include <algorithm>
#include "Watchable.h"
#include "Session.h"
using namespace std;
//-------------------------------------------------------------------
//WATCHABLE
//constructor (main)
Watchable::Watchable(long id, int length, const ... | [
"avivdro@post.bgu.ac.il"
] | avivdro@post.bgu.ac.il |
d8500efbfcd8917550af3d24a7f5a32cacf72599 | 23b4708ff4c4cd1c1c139e54791cfa852eca7265 | /Triangle.cpp | 910d0e6e694cc512b33c71b7139f4125a9bd51a5 | [] | no_license | chrzhang/raytracer | 3623f42a716e0bd02219e7b2501202bb6ff69a62 | 2dcf349e3a543f64570a2280b86df193d0e69a11 | refs/heads/master | 2021-01-12T20:56:07.754092 | 2016-04-11T02:29:13 | 2016-04-11T02:29:13 | 44,039,519 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,029 | cpp | #include "Triangle.hpp"
#include <algorithm>
Triangle::Triangle(const Vector3D & epA, const Vector3D & epB,
const Vector3D & epC, Color color)
: epA(epA), epB(epB), epC(epC), color(color) {
normal = (epC - epA).crossProduct(epB - epA).normalize();
distance = normal.dotPro... | [
"christopherzhang3@gmail.com"
] | christopherzhang3@gmail.com |
fe451312c10437bcf1123b6aaf7fc7dc34270d69 | 683a7b4f6df1382d67fd88daf7a711f96f3a4388 | /Source/TelegramAntiRevoke/DllMain.cpp | 4baca9158e0cbffb46f7586a1d6d4ae62c0d13b1 | [
"BSD-3-Clause",
"MIT"
] | permissive | wenzijishu/Telegram-Anti-Revoke | ec69d2c6f6b32b7ece92f0512d7200a65f86e163 | dab2983e5b147e5390cd38f6b2d14f74a750a9e4 | refs/heads/master | 2020-12-21T07:17:19.098918 | 2020-01-25T08:06:44 | 2020-01-25T08:06:44 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 16,038 | cpp | /*
该文件内容由 AheadLib 自动生成,仅对其做了少量修改。
用于将原导出函数转发回被劫持的系统DLL。
The contents of this file are automatically generated by AheadLib and have only been slightly modified.
Used to forward the original exported function back to the hijacked system DLL.
*/
///////////////////////////////////////////////////////////////////... | [
"666xuebi@users.noreply.github.com"
] | 666xuebi@users.noreply.github.com |
b1f13932336db8cdbcf5c1d0f7307836293830d0 | fb3c1e036f18193d6ffe59f443dad8323cb6e371 | /src/flash/XXObjectContextMenu.cpp | e533db2564c20a4263a511b0ce927c7997ac5057 | [] | no_license | playbar/nstest | a61aed443af816fdc6e7beab65e935824dcd07b2 | d56141912bc2b0e22d1652aa7aff182e05142005 | refs/heads/master | 2021-06-03T21:56:17.779018 | 2016-08-01T03:17:39 | 2016-08-01T03:17:39 | 64,627,195 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 532 | cpp | // XXObjectContextMenu.cpp: implementation of the XXObjectContextMenu class.
//
//////////////////////////////////////////////////////////////////////
#include "StdAfxflash.h"
#include "XXObjectContextMenu.h"
//////////////////////////////////////////////////////////////////////
// Construction/Destruction
///... | [
"hgl868@126.com"
] | hgl868@126.com |
fdb5a7206c1f4e5c6e98982f162c84f8f1123fd1 | d85b1f3ce9a3c24ba158ca4a51ea902d152ef7b9 | /testcases/CWE789_Uncontrolled_Mem_Alloc/s01/CWE789_Uncontrolled_Mem_Alloc__malloc_char_connect_socket_62a.cpp | 00230cd8579d01ff7aa3a2e3a3e7e2f54ac1e32b | [] | no_license | arichardson/juliet-test-suite-c | cb71a729716c6aa8f4b987752272b66b1916fdaa | e2e8cf80cd7d52f824e9a938bbb3aa658d23d6c9 | refs/heads/master | 2022-12-10T12:05:51.179384 | 2022-11-17T15:41:30 | 2022-12-01T15:25:16 | 179,281,349 | 34 | 34 | null | 2022-12-01T15:25:18 | 2019-04-03T12:03:21 | null | UTF-8 | C++ | false | false | 4,855 | cpp | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE789_Uncontrolled_Mem_Alloc__malloc_char_connect_socket_62a.cpp
Label Definition File: CWE789_Uncontrolled_Mem_Alloc__malloc.label.xml
Template File: sources-sinks-62a.tmpl.cpp
*/
/*
* @description
* CWE: 789 Uncontrolled Memory Allocation
* BadSource: connect_... | [
"Alexander.Richardson@cl.cam.ac.uk"
] | Alexander.Richardson@cl.cam.ac.uk |
0802e100dc65be67efc80421e09f988349a70846 | aa92351325895aca2b1826794f719640114c5d5f | /larrecodnn/CVN/func/AssignLabels.cxx | fb82a8b5dd788ade29734ce2f2fa1f9fe19894a3 | [] | no_license | LArSoft/larrecodnn | 5e51a10459f47075a57de3cf988351efe78be6d9 | 6210026191ea3e3494d5e466824a56bf7053c086 | refs/heads/develop | 2023-08-31T15:29:51.158362 | 2023-08-16T02:43:25 | 2023-08-16T02:43:25 | 244,723,816 | 0 | 24 | null | 2023-06-28T21:13:08 | 2020-03-03T19:30:14 | C++ | UTF-8 | C++ | false | false | 12,938 | cxx | #include "art/Framework/Services/Registry/ServiceHandle.h"
#include "larrecodnn/CVN/func/AssignLabels.h"
#include "larrecodnn/CVN/func/InteractionType.h"
#include "larrecodnn/CVN/func/LArTrainingData.h"
#include "larsim/MCCheater/BackTrackerService.h"
#include "larsim/MCCheater/ParticleInventoryService.h"
#include "n... | [
"felarof.nayak@gmail.com"
] | felarof.nayak@gmail.com |
17a8f30908a834c9bcfd60d52f6d376a12192b6f | e65e6b345e98633cccc501ad0d6df9918b2aa25e | /Codeforces/Edu/84/E.cpp | 73d1c481ea71ffc15b0eb2b202a1237e50878ad9 | [] | no_license | wcysai/CodeLibrary | 6eb99df0232066cf06a9267bdcc39dc07f5aab29 | 6517cef736f1799b77646fe04fb280c9503d7238 | refs/heads/master | 2023-08-10T08:31:58.057363 | 2023-07-29T11:56:38 | 2023-07-29T11:56:38 | 134,228,833 | 5 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 626 | cpp | #include<bits/stdc++.h>
#define MAXN 200005
#define INF 1000000000
#define MOD 998244353
#define F first
#define S second
using namespace std;
typedef long long ll;
typedef pair<int,int> P;
int t,n,k;
int p10[MAXN];
void add(int &a,int b) {a+=b; if(a>=MOD) a-=MOD;}
int main()
{
p10[0]=1;
for(int i=1;i<=200000;i... | [
"wcysai@foxmail.com"
] | wcysai@foxmail.com |
0b76ea746cf6600772d485aeed2a2bfb8c75d889 | 2cb6f1ab83c7ac77f20f5fde950d31d55fffa67b | /src/viewer/render/gl_imgui.h | 05423899fb24278df424dd110873d2822d9a06bf | [] | no_license | takiyu/resp-robot | a4d025ce01909f017f8b1e2e156155a8c0888a58 | 6c20f812732709de17d0d79613d59473f3e64876 | refs/heads/master | 2021-05-07T01:17:18.521596 | 2017-11-10T10:29:32 | 2017-11-10T10:29:32 | 110,234,897 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 319 | h | #ifndef GL_IMGUI_160707
#define GL_IMGUI_160707
#include <string>
#include "gl_window.h"
const std::string IMGUI_FONT_PATH = "../3rdParty/fonts/Ricty-Regular.ttf";
void InitImGui(GLWindow& window);
void NewImGuiFrame();
void RenderImGuiFrame();
void UpdateImGuiInput(GLWindow& window);
void ExitImGui();
#endif
| [
"takiyu1025.txu.development@gmail.com"
] | takiyu1025.txu.development@gmail.com |
60f77d52af8f6bdce41dd70347921e18b80a1b78 | 706e1ad1a370356ed76e494c36240b5937072e42 | /Baltic/Baltic 06-coins.cpp | 65605a6303e2b8e04efa2554aef93d8a04ab5805 | [] | no_license | dolphingarlic/CompetitiveProgramming | 57e3573fa7c2f1172c4550f5897b9b19dc6ce6d2 | 736d1084561c1d4235d8d5e5ae203dce6e0089ac | refs/heads/master | 2023-09-01T20:20:42.718973 | 2023-08-29T01:38:45 | 2023-08-29T01:38:45 | 202,596,269 | 37 | 5 | null | 2022-06-12T04:35:34 | 2019-08-15T19:00:57 | C++ | UTF-8 | C++ | false | false | 783 | cpp | /*
Baltic 2006 Coin Collector
- Greedily take coins from least valuable to most valuable
- We take coin X iff (Sum of taken coins) + (X's value) < ((X + 1)'s value)
- This works because if we take X instead of some less valuable coin(s), either the number of coins take decreases
(bad), or the sum of the taken coins i... | [
"dolphingarlic@gmail.com"
] | dolphingarlic@gmail.com |
1931a3743a165e57291c70f9877f551e991799aa | 04472161c9a981a8c691888183884f0616f0a0ad | /before/vector/vector/vector.h | 0a9e6ad12f2ffa2681e413a0f38fd1091ff8a89a | [] | no_license | shalalalatuzki/coding-practice-everyday- | ae17ecd45e9ae04e93ad95ccd9fbe5020d29e606 | 0ecc03112ca144bfcd734dbc42bbc1c68a134af1 | refs/heads/master | 2020-03-28T22:15:15.139248 | 2019-05-12T15:19:26 | 2019-05-12T15:19:26 | 149,218,168 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 2,676 | h | #pragma once
typedef int Rank;
#define DEFAULT_CAPACITY 3
template<typename T> class Vector {//向量模板类
protected:
Rank _size; int _capacity; T* _elem;//规模、容量、数据区
void copyFrom(T const*A,Rank lo,Rank hi);//常量指针,指针指向的地址不变,所在地址的值可以变
void expand();//空间不足时扩展
void shrink();//装填因子过小时压缩
Rank bubble(Rank lo,Rank hi);//扫描交换
... | [
"2550662608@qq.com"
] | 2550662608@qq.com |
d7cfa35ddc511ec5e62eb320a68c9613745546d1 | 92697022961faa24df7de894d318ae056379af3b | /c++/ringroad.cpp | ab5ee42fd54fd28d7fc59346e64a10519f881abf | [] | no_license | gnorambuena/randomCodes | 833c5589b5992f0ba7826cd965722be76f276a82 | 05464998bf178268f565181cb42a06864fcc9b63 | refs/heads/master | 2021-01-19T08:05:57.011457 | 2017-08-24T21:04:16 | 2017-08-24T21:04:16 | 87,600,785 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 243 | cpp | #include <iostream>
using namespace std;
int main(){
long long n,m;
cin>>n>>m;
long long a=1,b;
long long time=0;
for(int i = 0 ; i < m ; i++){
cin>>b;
if(a<=b)time+=(b-a);
else time+=n-a+b;
a=b;
}
cout<<time<<endl;
return 0;
} | [
"gnorambuena@users.noreply.github.com"
] | gnorambuena@users.noreply.github.com |
aa4f6eaac93a4673222942e3d35ef2b3fff55794 | a7764174fb0351ea666faa9f3b5dfe304390a011 | /inc/Handle_StepBasic_ProductCategoryRelationship.hxx | 01200d1a6880ac92d31aebab2cb775b43a34001a | [] | no_license | uel-dataexchange/Opencascade_uel | f7123943e9d8124f4fa67579e3cd3f85cfe52d91 | 06ec93d238d3e3ea2881ff44ba8c21cf870435cd | refs/heads/master | 2022-11-16T07:40:30.837854 | 2020-07-08T01:56:37 | 2020-07-08T01:56:37 | 276,290,778 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 869 | hxx | // This file is generated by WOK (CPPExt).
// Please do not edit this file; modify original file instead.
// The copyright and license terms as defined for the original file apply to
// this header file considered to be the "object code" form of the original source.
#ifndef _Handle_StepBasic_ProductCategoryRelat... | [
"shoka.sho2@excel.co.jp"
] | shoka.sho2@excel.co.jp |
25150916521d5c9da0f17538162dc9ec66a5ae84 | 924f4852ab41c238dbfdbaedd49293f76035dfb0 | /cuckoo.h | c0a8d8705479f6d766e063e83d416bc1f01fb610 | [] | no_license | JaanJanno/AlgoFiltersProject | ad6451c5a98ec34d03c5c6b4a153599ef7d0e9da | cb9ad2590daf23976ec5afcb734b92c4fc346250 | refs/heads/master | 2016-08-12T20:49:02.017838 | 2016-01-06T08:34:17 | 2016-01-06T08:34:17 | 48,916,473 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 556 | h | #ifndef CUCKOO_H
#define CUCKOO_H
#include "filter.h"
#include "hashing.h"
class Cuckoo : public Filter
{
private:
char* table;
HashFunction* hashFun;
HashFunction* fingerFun;
char finger(uint64_t elem);
uint64_t hash1(uint64_t elem);
uint64_t hash2(uint64_t hash1, char finger);
uint64_t bucketCount;
b... | [
"jaan911@ut.ee"
] | jaan911@ut.ee |
7e5803a29d90d45fa03ded1f17d88f89adc5e3a3 | df6a615468a575a0e873609efd39ac6c6ad4e4db | /wifi_localization/src/wifi_node.cpp | ade43dfde9280853ac802650646e94b63cb992b1 | [] | no_license | JasonSun623/Wifi_Navigation | 0b01a370d39bc461cc82ca81db214c140fdb6d32 | 51ba624005fd7359abd0d489ab1f847cb5f6e4f3 | refs/heads/master | 2022-10-19T07:02:26.968391 | 2020-06-11T11:20:54 | 2020-06-11T11:20:54 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,492 | cpp | #include <wifi.h>
using namespace std;
// Kalman filter
//reference https://www.wouterbulten.nl/blog/tech/kalman-filters-explained-removing-noise-from-rssi-signals/
int R = 1, Q = 3, A = 1, B = 0, C = 1;
//double cov = 0, x = 0;
//bool first_data = true;
void kalman_filter(wifi_nav::RssDatumAvg &rss, dou... | [
"k.promsutipong@gmail.com"
] | k.promsutipong@gmail.com |
9a3d58b30e8854ecff46b795f91c6191eba16dd8 | ed094557fcd75eef5914a1351b08d5d2382d8902 | /project1/server.cc | 34cea411bfe3cfe630809848de6287cfb6a0c265 | [] | no_license | zhangchengyao/CS118 | 0a80fe0ded3953614fa74001a3754887861716cb | 09c7c3f969542594d55ad2337a2a24fa8d7e165e | refs/heads/master | 2020-05-09T12:31:15.529565 | 2019-06-07T18:51:47 | 2019-06-07T18:51:47 | 181,114,066 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 6,955 | cc | #include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <errno.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <sys/wait.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <dirent.h>
#include <string>
#include <sstream>
#include <fstream>
#include <unordered_map>
#incl... | [
"tc2002618@126.com"
] | tc2002618@126.com |
8a285853e7bf55a99f5747c4c770d653142c1a30 | b2b001c1804750c4c38ac092d2d9319adc4fdc8b | /LabelVector.h | 0c152749d1f44bc977dc0037501ab38511dbf6d8 | [] | no_license | pauljurczak/Second-Annual-Data-Science-Bowl | 536ec493e0a1967955a644ed2efb3914ac065b0f | 37cf7c23f33bb8f8d72489826b411c99ccb16f18 | refs/heads/master | 2021-01-10T05:26:16.354990 | 2016-02-20T07:19:05 | 2016-02-20T07:19:05 | 52,140,655 | 6 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 598 | h | #pragma once
#include "Label.h"
#include "Submission.h"
class LabelVector
{
public:
const int volumeMax = 599;
map<int, Label> labels; // map has to be ordered for makeSubmission()
LabelVector() {};
LabelVector(string filePath);
LabelVector(int patientIDMin, int patientIDMax, double testVal... | [
"pauljurczak@yahoo.com"
] | pauljurczak@yahoo.com |
75e1438834ef81a7dac786958b24613d471ed718 | 4d01bb05957be83604cc0dc931bf296eed890ff1 | /jni/src/binding_object/action/actionEase/JsEaseElasticOutBinding.cpp | 225f70285a682269205bc1bf0e949330db478b6d | [] | no_license | GG-coder889/game2d | 5b57134d61cf232be47fc1e63f1edf7499082e20 | b9da584b1cdd280806dd2477bd1c782540fc2cec | refs/heads/master | 2022-06-22T13:10:51.830866 | 2012-07-08T01:07:35 | 2012-07-08T01:07:35 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,578 | cpp | #define TAG "JsEaseElasticOutBinding"
#include "JsEaseElasticOutBinding.h"
#include "cocos2d.h"
using namespace cocos2d;
JSClass JsEaseElasticOutBinding::clz = { "EaseElasticOut", JSCLASS_HAS_PRIVATE,
JS_PropertyStub, JS_PropertyStub, JS_PropertyStub,
JS_StrictPropertyStub, JS_EnumerateStub, JS_ResolveStub,
JS_C... | [
"flywingsky@flywingsky.(none)"
] | flywingsky@flywingsky.(none) |
06b0587b0a4e5d503cdbd5fd43d25cd9eb26f22a | bb653d54e05f0c1eb7261d1fb33f6fc77f381331 | /OrderedNim.cpp | 0c448bd4245e9706f90ddc197d5164c5250affaa | [] | no_license | srinu634/topcoder | 180121d7476f2aa128e2910cb53e3d8d67435e25 | 0a5f9e29ee7fa58ca5f3d4ddf0f7d9fe3fd9e708 | refs/heads/master | 2016-09-06T03:38:43.941002 | 2015-01-31T13:23:14 | 2015-01-31T13:23:14 | 15,828,408 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 942 | cpp | #include <cstdio>
#include <cmath>
#include <cstring>
#include <ctime>
#include <iostream>
#include <algorithm>
#include <set>
#include <vector>
#include <sstream>
#include <typeinfo>
#include <fstream>
#define ALICE true
#define BOB FALSE
using namespace std;
class OrderedNim {
public:
string winner(vector<i... | [
"srinivas.suri46@gmail.com"
] | srinivas.suri46@gmail.com |
42b794d7432812baa47ef5fa71144143f76f2916 | 198378e6ba1a6a69644ff9160b5dac3ee0fab308 | /C++/OpenSSL/RandomBytes.cpp | e621d0727f5eedad3baaec806ee608c0416c0ad0 | [] | no_license | GauthamBanasandra/temp | 7797afe8895e5bb024ba03854f6fbac916a085c0 | 72816e4372af3308fb8b34c67df7c1825474b3d1 | refs/heads/master | 2023-07-21T02:55:05.251558 | 2022-02-07T07:04:27 | 2022-02-07T07:04:27 | 219,112,798 | 0 | 0 | null | 2023-07-05T20:52:00 | 2019-11-02T06:19:13 | Shell | UTF-8 | C++ | false | false | 718 | cpp | #include <iostream>
#include <optional>
#include <ostream>
#include <vector>
#include <openssl/err.h>
#include <openssl/rand.h>
std::optional<std::string> FillRandBytes(unsigned char *buf, const int size) {
if (RAND_bytes(buf, size) == 1) {
return std::nullopt;
}
return ERR_reason_error_string(ERR_get_error... | [
"gautham.bangalore@gmail.com"
] | gautham.bangalore@gmail.com |
86976b87eccf7758ecec93d73007fa439ac0154c | 7af9725e3ef63aa44eafa6f6fe91e2074b71d86c | /proj_final/passagetokenizer.cpp | 3b89b81168b1b5046348ff2ba4ed424b3617f482 | [] | no_license | tracypham1/COP3331 | 2808b8e8eb75d9ad758e40efaa0b3175280257ac | 9135e2ce62cd63e0c93987ea6c4348ef8c894dbf | refs/heads/master | 2022-04-08T09:38:44.523107 | 2020-02-26T02:14:30 | 2020-02-26T02:14:30 | 186,728,828 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,993 | cpp | #include "passagetokenizer.h"
#include <iostream>
#include <cstddef>
using namespace std;
PassageTokenizer::PassageTokenizer(string pass, int num)
{
passage = pass;
part_num = num;
int first, last, end_of_last;
string delim1 = "(";
string delim2 = ")";
string delim3 = "[[";
string ... | [
"tracypham@mail.usf.edu"
] | tracypham@mail.usf.edu |
7a6347ae18213eb506332cc9e4e7b8449cf541b8 | ffb568806e34199501c4ca6b61ac86ee9cc8de2e | /niji_project/prog/Trainer/Trainer/source/TrainerPairData.cpp | f5cee59eb0c9c235d17e61680bee1babcff334d4 | [] | no_license | Fumikage8/gen7-source | 433fb475695b2d5ffada25a45999f98419b75b6b | f2f572b8355d043beb468004f5e293b490747953 | refs/heads/main | 2023-01-06T00:00:14.171807 | 2020-10-20T18:49:53 | 2020-10-20T18:49:53 | 305,500,113 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 6,183 | cpp | //[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[
/**
* GAME FREAK inc.
*
* @file TrainetrPairData.cpp
* @brief 視線トレーナーペアデータ管理モジュール
* @author Miyuki Iwasawa
* @date 2016.01.18
*
*/
//]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]
#incl... | [
"forestgamer141@gmail.com"
] | forestgamer141@gmail.com |
061a5903b0cd5dc04e3a5d738aefc499b107b802 | 1aa283adc1bc980a4bb4a106fc9a8e0ccb4b0d74 | /Engine/include/Catastrophe/Core/Containers/Pair.h | cd9b52cb8dd9d9f8aae63146faae667cdb642e68 | [] | no_license | Imzogelmo/catastrophe | 60cccfbb3d6f34b110f41618640d76378dc1e3e0 | 3e7588a460585ecfa1c0191dc3249d7b4b293836 | refs/heads/master | 2021-01-01T05:59:48.032130 | 2015-06-09T03:19:53 | 2015-06-09T03:19:53 | 37,398,074 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,317 | h | // 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, distribute, sublicense, and/or sell... | [
"arpeggiodragon@a8cd0d33-2a72-5bf5-5b35-c9dba72e4cff"
] | arpeggiodragon@a8cd0d33-2a72-5bf5-5b35-c9dba72e4cff |
01d8d98188f715ae827ffe2acc22a4f3ec68a968 | f9aa703d41dbd3b987b70cdd6d8077716159ea50 | /task6/runge_kutta.h | a86099b6c4ed1b0b6d50348547349a5b9f123067 | [] | no_license | gerrich/numeric_methods | 3928e2cfc385e9b299ed44ffd95b58218e56c773 | bc3eed99390a3364f886495796767f26cd467d08 | refs/heads/master | 2020-12-24T14:52:47.283972 | 2012-05-23T13:43:54 | 2012-05-23T13:43:54 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,082 | h | #pragma once
#include <cmath>
#include <vector>
/* == BEGIN: Math subrotines == */
template <typename TData>
TData pow2_3(const TData &a) {
return a * std::sqrt(a);
}
template <typename TData>
void apply(std::vector<TData> &lhs, const std::vector<TData> &rhs, const TData &multiplier) {
for (size_t i = 0; i < lhs... | [
"ivanov.georg@gmail.com"
] | ivanov.georg@gmail.com |
d36540af048376320960d5c3497caaa6f01deb34 | c7f3db94cc3d69cd9a2ae24aa3c69cd767b28672 | /must_rma/src/modules/OneSidedChecks/RMATrack/RMAMap.h | a569c58da0f9024892d06e6ea68d64cdf6a1ea4d | [] | no_license | RWTH-HPC/must-rma-correctness22-supplemental | 10683ff20339098a45a35301dbee6b31d74efaec | 04cb9fe5f0dcb05ea67880209accf19c5e0dda25 | refs/heads/main | 2023-04-14T20:48:36.684589 | 2022-08-10T20:28:43 | 2022-11-18T03:33:05 | 523,105,966 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,365 | h | /* Part of the MUST Project, under BSD-3-Clause License
* See https://hpc.rwth-aachen.de/must/LICENSE for license information.
* SPDX-License-Identifier: BSD-3-Clause
*/
/**
* @file RmaMap.h
*
* @date 16.06.2017
* @author Simon Schwitanski
*/
#ifndef RMA_MAP_H
#define RMA_MAP_H
#include <map>
#include <lis... | [
"schwitanski@itc.rwth-aachen.de"
] | schwitanski@itc.rwth-aachen.de |
15029b1a13dc47c5a838a03801964bba4b64584a | d3d1d7d99054b8684ed5fc784421024050a95c79 | /codeforces/D/1058d.cpp | 279f8e5735522604d263ff9dcc0c245408d2829f | [] | no_license | rishabhSharmaOfficial/CompetitiveProgramming | 76e7ac3f8fe8c53599e600fc2df2520451b39710 | 85678a6dc1ee437d917adde8ec323a55a340375e | refs/heads/master | 2023-04-28T05:51:18.606350 | 2021-05-15T07:04:33 | 2021-05-15T07:04:33 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,867 | cpp | #include<bits/stdc++.h>
#define ll long long int
#define ld long double
#define pi pair<int,int>
#define all(x) x.begin(), x.end()
#define allr(x) x.rbegin(), x.rend()
#define sz(x) ((int)x.size())
#define ln(x) ((int)x.length())
#define mp make_pair
#define pb push_back
#define ff first
#define ss second
#define endl ... | [
"pranav.sindura@gmail.com"
] | pranav.sindura@gmail.com |
feafdcb9ca12bfe42c593251b92feaf9ac0ceedd | 7411c74add33b7050b94fe63c1141d29c5ff2dbc | /trunk/src/radar.cpp | 0da19bc831b578795a01019574193c145745da91 | [] | no_license | kgyrtkirk/networkers | d23a6cfc28d3c19b2544f3f76a34562b14ba070a | 67c3cd72e9f99c25b2c75859ff3c832dc70f2b97 | refs/heads/master | 2016-09-06T08:12:23.043624 | 2015-08-13T13:05:34 | 2015-08-13T13:05:34 | 40,658,955 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,496 | cpp | #include "detectable.h"
#include "radar.h"
#include "com_point.h"
#include "networker.h"
#include "set.h"
#include "nw_stat.h"
Radar radar;
void Radar::render()
{
cListCursor<Detectable> cr(&objects);
Detectable* ent;
steiner.render();
while((ent=cr.next()))
ent->render();
}
int Radar::get_fraction_size... | [
"znagy@chemaxon.com"
] | znagy@chemaxon.com |
fd73ca520d932d15b25458e2d6953a1f2942b173 | eef01cebbf69c1d5132793432578d931a40ce77c | /IF/Classes/Ext/CCMathUtils.h | 82827d02baaca55ddbe392e214ead76a9aebda1d | [
"BSL-1.0"
] | permissive | atom-chen/zltx | 0b2e78dd97fc94fa0448ba9832da148217f1a77d | 8ead8fdddecd64b7737776c03417d73a82a6ff32 | refs/heads/master | 2022-12-03T05:02:45.624200 | 2017-03-29T02:58:10 | 2017-03-29T02:58:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,863 | h | #ifndef __MATH_UTILS_H__
#define __MATH_UTILS_H__
#include "cocos2d.h"
USING_NS_CC;
#define PI 3.14159265
#define CCRANDOM_IN(left,right) left+(right-left)*CCRANDOM_0_1()
class CCMathUtils
{
public:
static int randCounter;
static int getRandomInt(int min, int max);
static int getRandomIntWithKey(int min, int... | [
"441066277@qq.com"
] | 441066277@qq.com |
99ce17fe23f4f4897352e2ae94d3354c078ff477 | 228661501fe881e67465e2ea6c5b1ca206986d05 | /doki_square/comm/jce_protocol/include/doki_api_extend.h | 2dd99cfae1fd0304fac5132dc0e4afdef225f39d | [] | no_license | P79N6A/spp | bc69c63ec7330d0277f2e0d3076fe08f49171490 | d4ecf7bdc51c1af8f843f31a102275a08f2f6c26 | refs/heads/master | 2020-04-24T09:44:12.143782 | 2019-02-21T12:51:54 | 2019-02-21T12:51:54 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 37,095 | h | // **********************************************************************
// This file was generated by a TAF parser!
// TAF version 3.1.1.2 by WSRD Tencent.
// Generated from `doki_api_extend.jce'
// **********************************************************************
#ifndef __DOKI_API_EXTEND_H_
#define __DOKI_API... | [
"181330729@qq.com"
] | 181330729@qq.com |
2069a33c78d9b98d1d35775b071f211328a9a200 | 1fc03d2d7fab6aa76bac20d9e209f4ee793e458b | /ipasir/sat/cryptominisat4/src/solvefeatures.cpp | c8be6150d6905a8525128dbffcbb410c70a723ac | [
"MIT"
] | permissive | yosid16/logic | 45f887ba1bb11de35ea6a0980fbe8cee66d75e99 | 64d50680cba9d4d43d4f209dd1cd91904e25a015 | refs/heads/master | 2021-01-11T12:05:53.620540 | 2017-03-04T20:13:30 | 2017-03-04T20:13:30 | 79,369,707 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,836 | cpp | /*
* CryptoMiniSat
*
* Copyright (c) 2009-2015, Mate Soos. All rights reserved.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation
* version 2.0 of the License.
*
* This library i... | [
"yosid16@gmail.com"
] | yosid16@gmail.com |
6c1d797394876ebe37e2832eb6edd4b4b262d965 | e41c19ea63b8e9e486cc57ef883f084440867564 | /TobExEE/src/lib/engpriestbk.h | b0cc433e38807351c5e14ba3961884adab935cb1 | [] | no_license | Ascension64/TobEx | 33700394d0c5699bcf1cdc0425533402c273bbf4 | b5c43d7f0799edb8a40873732d65cd06c60db047 | refs/heads/master | 2021-01-02T08:10:31.073023 | 2013-04-27T13:30:32 | 2013-04-27T13:30:32 | 3,049,458 | 8 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 533 | h | //TobExEE
#ifndef ENGPRIESTBK_H
#define ENGPRIESTBK_H
#include "engine.h"
class CScreenPriestBook : public CEngine { //Size 854h
public:
CHotkey m_keymap[95]; //d0h, size 474h
int m_keybuffer[95]; //544h, size 17Ch
int u6c0;
CVidCell u6c4;
int u788;
int u78c;
int u790;
int u794;
int u798;
int u79c;
IECPtrL... | [
"ascension6400@yahoo.com.au"
] | ascension6400@yahoo.com.au |
4228f51bf98a2255208fc10f588d85abc0c08664 | 2d7236941560fe81a6390a744005128d451aa29d | /src/billiecoind.cpp | d57f1dba5b42124473d333d96b4ca54a075d893e | [
"MIT"
] | permissive | zero24x/billiecoin | 1fcb2fa409c3940bd493d8ff7c8ebd754fe5c881 | 1b943b84aa687136edeb6c1fa258705a99157463 | refs/heads/master | 2020-12-23T22:32:08.313554 | 2020-01-30T20:23:10 | 2020-01-30T20:23:10 | 237,296,384 | 0 | 0 | MIT | 2020-01-30T20:11:16 | 2020-01-30T20:11:16 | null | UTF-8 | C++ | false | false | 7,102 | cpp | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2015 The Bitcoin Core developers
// Copyright (c) 2014-2017 The Dash and Syscoin Core developers
// Copyright (c) 2018-2020 The Billiecoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.o... | [
"admin@coldwallet2020.com"
] | admin@coldwallet2020.com |
2ce85b07a3e3349dbcaf8c31d12e459a9d97bbbb | 4c23be1a0ca76f68e7146f7d098e26c2bbfb2650 | /ic8h18/0.008/DC8H17O | 6febf3a305dadce0bbc7f7387a745371ebc01b63 | [] | no_license | labsandy/OpenFOAM_workspace | a74b473903ddbd34b31dc93917e3719bc051e379 | 6e0193ad9dabd613acf40d6b3ec4c0536c90aed4 | refs/heads/master | 2022-02-25T02:36:04.164324 | 2019-08-23T02:27:16 | 2019-08-23T02:27:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 839 | /*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: 6
\\/ M anipulation |
\*-------... | [
"jfeatherstone123@gmail.com"
] | jfeatherstone123@gmail.com | |
dec30de7e34d45723dfd932e62b4bb0dc30e3516 | 536656cd89e4fa3a92b5dcab28657d60d1d244bd | /third_party/blink/renderer/core/css/css_default_style_sheets.cc | 35b4ac04a48440fe3947f97266e03b7fb4da1a77 | [
"LGPL-2.0-or-later",
"LicenseRef-scancode-warranty-disclaimer",
"LGPL-2.1-only",
"GPL-1.0-or-later",
"GPL-2.0-only",
"LGPL-2.0-only",
"BSD-2-Clause",
"LicenseRef-scancode-other-copyleft",
"BSD-3-Clause",
"MIT",
"Apache-2.0"
] | permissive | ECS-251-W2020/chromium | 79caebf50443f297557d9510620bf8d44a68399a | ac814e85cb870a6b569e184c7a60a70ff3cb19f9 | refs/heads/master | 2022-08-19T17:42:46.887573 | 2020-03-18T06:08:44 | 2020-03-18T06:08:44 | 248,141,336 | 7 | 8 | BSD-3-Clause | 2022-07-06T20:32:48 | 2020-03-18T04:52:18 | null | UTF-8 | C++ | false | false | 14,803 | cc | /*
* Copyright (C) 1999 Lars Knoll (knoll@kde.org)
* (C) 2004-2005 Allan Sandfeld Jensen (kde@carewolf.com)
* Copyright (C) 2006, 2007 Nicholas Shanks (webkit@nickshanks.com)
* Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. All
* rights reserved.
* Copyright (C) 2007 Alexey Pros... | [
"pcding@ucdavis.edu"
] | pcding@ucdavis.edu |
f2d77de97c077d394c6202ec8739fbf4905310c4 | b807f532b1e227f9f6a89d01519e12b0eb6939de | /C_PlusPlus/HomeWork/HW7.cpp | 690eaa7c37704d89f59fc902c3a747200bb2accb | [] | no_license | thekim9304/LectopiaCProgramming | dd234d11f1dfa94036e22652d86e19527903f878 | 5dad6dd429f61c7c877c85eacc52dc8b51b37ec7 | refs/heads/master | 2021-06-02T19:17:56.062433 | 2020-03-01T06:06:02 | 2020-03-01T06:06:02 | 78,117,919 | 0 | 1 | null | null | null | null | UHC | C++ | false | false | 1,699 | cpp | /*
!! 저금통에 잔돈을 저금하는 프로그램을 작성한다.
키보드로부터 동전의 금액과 개수를 반복적으로 입력하다가 입력이 끝나면 총 저축액을 출력한다.
동전의 단위는 500원, 100원, 50원, 10원으로 하고 동전의 금액으로 음수가 입력되면 입력을 종료한다.
@ 2017.02.14
*/
#if 0
#include <iostream>
using namespace std;
struct Savings {
int w500;
int w100;
int w50;
int w10;
};
void init(Savings &s);
void input(... | [
"th_k9304@naver.com"
] | th_k9304@naver.com |
5005b68a6b069d21d75ded05d7e3713d82314b8e | 7563233617f4fa896670a5fdaa698973dea16fa3 | /Client/GameEngine [Minicastle]/QuadTree.h | 7127aeba93cd386fbdb2bfff96f86aa34c4d703d | [] | no_license | EmotionGame/EmotionGame | ad9db2e5dec9e9d86f66e43e9ff4ae669230e8fa | 351824326d3438ed3d49c431e8c7175721004309 | refs/heads/master | 2020-03-24T22:54:51.108950 | 2018-08-26T07:42:49 | 2018-08-26T07:42:49 | 143,108,226 | 0 | 0 | null | 2018-08-16T09:48:44 | 2018-08-01T05:32:15 | C++ | UTF-8 | C++ | false | false | 1,731 | h | #pragma once
/////////////
// GLOBALS //
/////////////
const int MAX_TRIANGLES = 10000;
class Terrain;
class Frustum;
class TerrainShader;
class QuadTree
{
private:
struct QuadTreeVertexType
{
XMFLOAT3 position;
XMFLOAT2 texture;
XMFLOAT3 normal;
};
struct QuadTreeVectorType
{
float x, y, z;
};
str... | [
"Minicastle@bluehole.net"
] | Minicastle@bluehole.net |
934990fb25e2ce0512a546acdee020c98f170065 | 8aab8ebf777fff6495caf0359faaf4f80e9f47da | /include/pastry/deferred/Light.hpp | f8ac5ce20e53554f347862a196f52e0fb57981a1 | [] | no_license | rethemnos/pastry | 5d0417df5b305cc8331d68fdfa731c642552fd30 | 40cfae6217ee36874302bf4294f6192a5b3c77ea | refs/heads/master | 2020-12-26T02:32:04.530573 | 2014-08-22T22:39:38 | 2014-08-22T22:39:38 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 912 | hpp | #pragma once
#include <pastry/deferred/Component.hpp>
#include <pastry/gl.hpp>
#include <Eigen/Dense>
namespace pastry {
namespace deferred {
class Camera;
class SkyBox;
class Light
: public Component
{
public:
virtual ~Light()
{}
virtual void render() = 0;
};
class EnvironmentLight
: public Light
{
public:
... | [
"davidw@danvil.de"
] | davidw@danvil.de |
e9073dee936671e133a32e2a1cf2d9b567611ae5 | c732666c24d86e0da4cd2c1ee12619e9c514e818 | /beakjoon/rhcsky/stage/16-9.cpp | 6f1795ce248c72f42320d690144d4e64a7dafd2f | [] | no_license | Algostu/boradori | 032f71e9e58163d3e188856629a5de4afaa87b30 | 939d60e8652074e26ba08252217f7788cae9063c | refs/heads/master | 2023-04-22T03:57:26.823917 | 2021-04-06T23:09:36 | 2021-04-06T23:09:36 | 263,754,451 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 468 | cpp | #include <iostream>
using namespace std;
int main() {
int n, ans = 9;
int arr[2][12] = {0,};
scanf("%d", &n);
for(int i = 2; i < 11; i++)
arr[1][i] = 1;
for(int i = 2; i <= n; i++) {
ans = 0;
for(int j = 1; j < 11; j++) {
arr[i%2][j] = (arr[(i-1)%2][j-... | [
"mangusn1@gmail.com"
] | mangusn1@gmail.com |
d5f6d61aa2814adf2fc0591625e5f40263120121 | 67ce342af70ac5fdc4b3aed358e1ca3063e09d24 | /source/main.cpp | 6407d9da4c6c9bf41c32947df0b40cf05c91e3e7 | [] | no_license | cct1986/CardProject | 1aab10da35c3fa826a62acbceec97683003bb266 | 35e5a7b69ec39844ffe3ab67cdc4ed71a4de0157 | refs/heads/master | 2016-09-06T07:56:37.431004 | 2013-01-31T17:53:06 | 2013-01-31T17:53:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,275 | cpp | //#define NDEBUG
#include <iostream>
#include "debug.h"
#include <vector>
#include "CSVIterator.h"
#include "CCard.h"
#include "CDeck.h"
#include "CHand.h"
using namespace std;
int main () {
ifstream file("../resource/data/cardData.csv");
vector<CCard> cards;
for( CSVIterator loop(file); loop != CSVIterato... | [
"cct1986@yahoo.com"
] | cct1986@yahoo.com |
0db73d1b1db52c284bb3313023fc725705390ecd | bcf138c82fcba9acc7d7ce4d3a92618b06ebe7c7 | /gta5/0x4700A416E8324EF3.cpp | 8d6945d28666fcdfcbf61d0d6a0d22929ffdac30 | [] | no_license | DeepWolf413/additional-native-data | aded47e042f0feb30057e753910e0884c44121a0 | e015b2500b52065252ffbe3c53865fe3cdd3e06c | refs/heads/main | 2023-07-10T00:19:54.416083 | 2021-08-12T16:00:12 | 2021-08-12T16:00:12 | 395,340,507 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 820 | cpp | // agency_heist2.ysc @ L111289
void func_708(int iParam0)
{
int iVar0;
iVar0 = func_42(iParam0);
if (func_41(iVar0) && !PED::IS_PED_INJURED(iParam0))
{
if (iParam0 == PLAYER::PLAYER_PED_ID() && PED::GET_PED_MAX_HEALTH(iParam0) == 200)
{
PED::SET_PED_MAX_HEALTH(iParam0, SYSTEM::ROUND((IntToFloat... | [
"jesper15fuji@live.dk"
] | jesper15fuji@live.dk |
97665e71dbafdd75d20cbb627095686f6dec522d | c6a9a6db04cc7c28678bb91c26805fa25c3e4d89 | /cocos2d/cocos/scripting/lua-bindings/auto/lua_cocos2dx_experimental_auto.cpp | d4c5e469238eefa9f3fa25125377c227c6ea29fa | [
"LicenseRef-scancode-unknown",
"LicenseRef-scancode-unknown-license-reference",
"BSD-3-Clause",
"LicenseRef-scancode-warranty-disclaimer",
"AFL-3.0",
"AFL-2.1",
"MIT-0",
"MIT",
"LicenseRef-scancode-proprietary-license",
"Apache-2.0"
] | permissive | aftermisak/WSSParticleSystem | e51b799afff7bb0790bcde6bab4869d36226f894 | 94b0b0f68b6c08537efd4f2d6ab1af1228f36d02 | refs/heads/master | 2023-08-31T07:44:31.178492 | 2018-04-19T07:36:43 | 2018-04-19T07:36:43 | 132,569,861 | 0 | 0 | Apache-2.0 | 2018-10-22T03:19:03 | 2018-05-08T07:18:26 | C++ | UTF-8 | C++ | false | false | 58,894 | cpp | #include "lua_cocos2dx_experimental_auto.hpp"
#include "CCFastTMXLayer.h"
#include "CCFastTMXTiledMap.h"
#include "tolua_fix.h"
#include "LuaBasicConversions.h"
int lua_cocos2dx_experimental_TMXLayer_getPositionAt(lua_State* tolua_S)
{
int argc = 0;
cocos2d::experimental::TMXLayer* cobj = nullptr;... | [
"1139454623@qq.com"
] | 1139454623@qq.com |
0fb4c352f6c2a3a83c6c78e85b7fcc209a72b453 | a1eab6f939f8e1622cf2d6a5bc344762a660a3cf | /algorithm/code/router.cpp | 2d08ecefa19ff555cb88f6298a6c7a9a6b947789 | [] | no_license | T-tssxuan/data_structure_algorithm | 02b21f20adae864ac55857d58c68d6fb806719a4 | 3a19ac19bd4b56c6971b95fa1adb9d7c857f94fe | refs/heads/master | 2021-01-12T16:26:14.980768 | 2017-08-16T14:06:43 | 2017-08-16T14:06:43 | 69,272,305 | 4 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 9,751 | cpp | #include <iostream>
#include <vector>
#include <queue>
using namespace std;
// Status for each subtree with x routers
struct Status {
int rate;
bool is_chosen; // the room is set router
bool is_cover; // the room is cover by router
vector<int> components; // the combine of subtree forms this tree
... | [
"2270360114@qq.com"
] | 2270360114@qq.com |
683ae047c6e8ea30d2418c7f8c74af5885c3fa85 | 60985412ca048a29bc7d75e8880cb1788b2aa922 | /BattleTank/Source/BattleTank/BattleTankGameModeBase.h | c3e62d8d093ca815da45bb926855420e772ce594 | [] | no_license | RodrigoMontes/BattleTank | 04cd1311806939f6cff5052ee62fa518cd44017e | 7a6caa6d6d728a4c170477d787a93a9f7945d3cd | refs/heads/master | 2020-03-24T16:11:02.833504 | 2019-01-28T16:51:33 | 2019-01-28T16:51:33 | 142,815,663 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 286 | h | // Rodrigo Montes - DelMontes Software
#pragma once
#include "CoreMinimal.h"
#include "GameFramework/GameModeBase.h"
#include "BattleTankGameModeBase.generated.h"
/**
*
*/
UCLASS()
class BATTLETANK_API ABattleTankGameModeBase : public AGameModeBase
{
GENERATED_BODY()
};
| [
"rjmontes@gmail.com"
] | rjmontes@gmail.com |
878ff4c98c8ad6461dcd645e3c8a6bae81ed8fa9 | 976fec21932d2cb50dae08ca7cf6b89100fe8f22 | /Transformation.cpp | 23d017c6a3df6fa892d3133281a0fcd77a6264f0 | [] | no_license | Hsuya1100/GVC-OpenGL | b4bd50728502f0b2e956809f38806b1acdbcfa4d | 3057bd541295f7d019f9848d32a6c8fd77f1168b | refs/heads/master | 2021-09-26T23:22:30.071753 | 2018-11-04T12:05:43 | 2018-11-04T12:05:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,881 | cpp | #include <GL/glut.h>
#include <math.h>
#include<GL/gl.h>
struct Point {
GLint x;
GLint y;
};
void draw_line(Point a, Point b)
{
GLfloat dx = b.x - a.x;
GLfloat dy = b.y - a.y;
GLfloat x1 = a.x;
GLfloat y1 = a.y;
GLfloat steps = 0;
if(abs(dx) > abs(dy))
{
steps = abs(dx);
}
else
{
steps = abs(... | [
"lekhidugtal@gmail.com"
] | lekhidugtal@gmail.com |
6eca1f6bc1170edf9992db199c837758c5eb989c | d7d6678b2c73f46ffe657f37169f8e17e2899984 | /controllers/ros/include/webots_ros/supervisor_simulation_get_modeRequest.h | 6818cfeff14a3ec0331269dcb8a2c063025b34c2 | [] | no_license | rggasoto/AdvRobotNav | ad8245618e1cc65aaf9a0d659c4bb1588f035f18 | d562ba4fba896dc23ea917bc2ca2d3c9e839b037 | refs/heads/master | 2021-05-31T12:00:12.452249 | 2016-04-15T14:02:05 | 2016-04-15T14:02:05 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,549 | h | #ifndef WEBOTS_ROS_MESSAGE_SUPERVISOR_SIMULATION_GET_MODEREQUEST_H
#define WEBOTS_ROS_MESSAGE_SUPERVISOR_SIMULATION_GET_MODEREQUEST_H
#include <string>
#include <vector>
#include <map>
#include "ros/types.h"
#include "ros/serialization.h"
#include "ros/builtin_message_traits.h"
#include "ros/message_operations.h"
... | [
"rggasoto@wpi.edu"
] | rggasoto@wpi.edu |
a2efb6bac33cdd603a65ad534648cb3f513cb143 | 9ab722e6b9e4ce741cc6f865ba97e0fdc0ad14e5 | /library/view/widget/tooltip_manager_win.cpp | 091d6902f4a727d16c8bf3cd541d9c1a975c089e | [
"MIT"
] | permissive | csjy309450/PuTTY-ng | b892c6474c8ff797f1d0bf555b08351da4fe617b | 0af73729d45d51936810f675d481c47e5588407b | refs/heads/master | 2022-12-24T13:31:22.786842 | 2020-03-08T16:53:51 | 2020-03-08T16:53:51 | 296,880,184 | 1 | 0 | MIT | 2020-09-19T13:54:25 | 2020-09-19T13:54:24 | null | GB18030 | C++ | false | false | 16,674 | cpp |
#include "tooltip_manager_win.h"
#include <windowsx.h>
#include <limits>
#include "base/message_loop.h"
#include "base/string_util.h"
#include "ui_gfx/font.h"
#include "ui_base/win/hwnd_util.h"
#include "ui_base/win/screen.h"
#include "ui_base/l10n/l10n_util_win.h"
#include "view/view.h"
#include "view/widget/mon... | [
"wlwlxj@gmail.com@b2b8c3b8-ce47-b78c-ec54-380d862a5473"
] | wlwlxj@gmail.com@b2b8c3b8-ce47-b78c-ec54-380d862a5473 |
d6af22d3232419cd8f3d638ca4f52688c45c83bf | 0096aececded1cc35abe32d0fdc3f2d789b3f536 | /MST1 - Minimum Step To One.cpp | f6abbdb400b649723a7662712604d89215ccf758 | [] | no_license | JayantGoel001/SPOJ | e3cdca022af9fb63f4690d4905fae1aafe85cc11 | f2371c5e2f8654b981ff89cfbe88d45de59265c0 | refs/heads/master | 2023-07-01T02:21:58.287116 | 2021-08-04T14:56:04 | 2021-08-04T14:56:04 | 320,226,183 | 5 | 0 | null | 2021-07-30T14:42:53 | 2020-12-10T09:44:25 | C++ | UTF-8 | C++ | false | false | 775 | cpp | #include <iostream>
#include <map>
using namespace std;
int countMinMoves(int n,int *dp){
if (n<=1){
dp[n] = 0;
return 0;
}
if (dp[n]!=-1){
return dp[n];
}
int sub = countMinMoves(n-1,dp);
if (n%2==0){
sub = min(sub,countMinMoves(n/2,dp));
}
if (n%3==0){
... | [
"jgoel92@gmail.com"
] | jgoel92@gmail.com |
9da500a6f2576cae6d72a80a469ab654c195703e | 500215cfe1e859d5b07d2bbfb55b60ac185daeaf | /src/BlockingQueue.cpp | 5b5fea33bc8f9d9537d51311153cfb885c1b23e6 | [] | no_license | jmjoseph/nt-demo | db5892a3a094cdf6bd20cdfe3d8eebcfc2b086aa | 6d6f5de0262f6e0ed94e4c7502edf48a3b406391 | refs/heads/master | 2023-04-06T11:30:28.541235 | 2020-05-27T23:07:18 | 2020-05-27T23:07:18 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 786 | cpp | #include "BlockingQueue.h"
#include <iostream>
BlockingQueue::BlockingQueue()
{
}
void BlockingQueue::push(std::unique_ptr<Task> t)
{
// Lock the mutex while the queue is modified
std::unique_lock<std::mutex> lock(m_mutex);
m_queue.push(std::move(t));
// Unlock and notify any process (pop()) tha... | [
"jmjoseph8@ymail.com"
] | jmjoseph8@ymail.com |
439030414316b8479dfaa737ba2838ab250008f3 | 760daa4d13754f763d6a59af91ca752ba7214b93 | /program11.cpp | b85463d86247bab67c5aa61b417918be59640723 | [] | no_license | LRAMSAI/bahubali | 48fadb6b3c44db16dbcfc4973ed03dfa716f877f | 4317cfe7c5ca5846c4a72991b49caff1f25fa955 | refs/heads/master | 2021-01-20T05:20:34.288933 | 2017-04-29T09:02:23 | 2017-04-29T09:02:23 | 89,773,044 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 248 | cpp | /*program to illustrate command line arguments*/
#include<iostream>
using namespace std;
int main(int argc, char*argv[])
{
int i;
cout<<"Total no. of arguments : "<<argc<<endl;
for(i=0;i<argc;i++)
cout<<"argv["<<i<<"]"<<argv[i]<<endl;
return 0;
}
| [
"ladi.14.ece@anits.edu.in"
] | ladi.14.ece@anits.edu.in |
fadda16afa2780fdb278ca15690ea73de47fa27f | a7c371ad35e055dd44b9c56a987d1626d70fc5d6 | /examples/SI47XX_04_TFT/SI47XX_01_TFT_ILI9225/SI47XX_01_TFT_ILI9225.ino | fbee1757ae6654c5233fcbf254bd1a6ad2fa0831 | [
"MIT"
] | permissive | hsuedq/SI4735 | be42fcb19d3a8051924e1dd059c4fa6b05281b12 | c575db9dcc1822da02c9ed7804bb94f7106eec30 | refs/heads/master | 2021-03-17T06:07:02.185968 | 2020-03-12T20:44:41 | 2020-03-12T20:44:41 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 21,070 | ino | /*
This sketch uses an Arduino Pro Mini, 3.3V (8MZ) with a SPI TFT from MICROYUM (2" - 176 x 220).
It is also a complete radio capable to tune LW, MW, SW on AM and SSB mode and also receive the
regular comercial stations. If you are using the same circuit used on examples with OLED and LCD,
you have to change s... | [
"ricardo.caratti@adm.cogect"
] | ricardo.caratti@adm.cogect |
9cc1bdbe1bb95ddaccc8471cc6fb717b93630cca | a08c82562c6d90c89a1d95ddb498dd108a33adf8 | /voxblox_rrt_planner/include/voxblox_rrt_planner/ompl_rrt_voxblox.h | f2159f757198aef5cfa6f87c039b18ab0765eb32 | [
"BSD-3-Clause"
] | permissive | Tatsuya-2/mav_voxblox_planning | 5b7b9c2b5044b01c8ac016fbe0556c0955beb8c7 | ef3561392845d471d702311ba66b8029f11ce0ee | refs/heads/master | 2022-12-17T05:03:01.201529 | 2020-09-18T04:46:40 | 2020-09-18T04:46:40 | 296,487,096 | 0 | 0 | BSD-3-Clause | 2020-09-18T02:20:56 | 2020-09-18T01:56:59 | C++ | UTF-8 | C++ | false | false | 1,236 | h | #ifndef VOXBLOX_RRT_PLANNER_VOXBLOX_OMPL_RRT_H_
#define VOXBLOX_RRT_PLANNER_VOXBLOX_OMPL_RRT_H_
#include <mav_msgs/conversions.h>
#include <mav_msgs/eigen_mav_msgs.h>
#include <ros/ros.h>
#include "voxblox_rrt_planner/ompl/mav_setup_voxblox.h"
#include "voxblox_rrt_planner/ompl_rrt.h"
namespace mav_planning {
class... | [
"gasserl@mavt.ethz.ch"
] | gasserl@mavt.ethz.ch |
bb7852146244a0b9e4aa502ac88bc39e619dcc73 | d0658532ab057dd443716f9684b45e6b5fa3adbe | /BitManipulation/BitManipulation/Solutions.cpp | c027734bfdcd07c77b118040ef5200a88e68cca2 | [] | no_license | toulene69/cpp-codes | a23ddc739cadd3312dc083da288e7ffb371bb630 | 00efc046596a29ee1e42ffca98f9aeecae824512 | refs/heads/master | 2021-01-16T00:28:51.712575 | 2018-01-18T19:28:48 | 2018-01-18T19:28:48 | 99,964,790 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,541 | cpp | //
// Solutions.cpp
// BitManipulation
//
// Created by Apoorv on 02/08/17.
// Copyright © 2017 presonal. All rights reserved.
//
#include "Solutions.hpp"
int numSetBits(unsigned int A) {
int count = 0;
while (A!=0) {
if (A&1) {
count++;
}
A = A>>1;
}
return co... | [
"toulene69@gmail.com"
] | toulene69@gmail.com |
69292525488f0e50c17dfe22399fc835c27ceae1 | 01ed73bffc3902c3a8bf93c18b5d9040221c3efd | /HLS/test_core.cpp | 0b0bbde557c76469a85e3e34e51db36a2264347b | [] | no_license | syedtihaamahmad/Image_Processing_on_FPGA-Machine-learning- | ffd656f52321db6c74b28a41be6c83f72bf140f5 | ae244bd008eaa8d4fb864a871e631397293cdc1b | refs/heads/master | 2021-09-02T12:18:29.109332 | 2018-01-02T14:43:00 | 2018-01-02T14:43:00 | 116,011,987 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,957 | cpp | #include <stdio.h>
#include <opencv2/core/core.hpp>
#include <hls_opencv.h>
#include "core.h"
#include "testUtils.h"
// Blur
/*
char kernel[KERNEL_DIM*KERNEL_DIM] = {
1/9, 1/9, 1/9,
1/9, 1/9, 1/9,
1/9, 1/9, 1/9,
};
*/
// Impulse
/*char kernel[KERNEL_DIM*KERNEL_DIM] = {
0, 0, 0,
0, 1, 0,
0, 0, 0,
};*/
// S... | [
"syedtahaamahmad@gmail.com"
] | syedtahaamahmad@gmail.com |
14edd347760ec0ebaa73c4b5cf4810e1e73e7aa1 | a3737f85d194ee475eeb9fd475af04d3a6c63a10 | /GameLib/UniquePtr.cpp | 945c0255ab0380add72b8f8cf27ccaaa9ff1e201 | [] | no_license | amitprakash07/GameEngineeringI | c8dd7edd422048492bba091869a01f7aec7011b4 | 5854967a1ee0930af59d9850ddc3416566ceadcd | refs/heads/master | 2020-05-29T11:03:08.561783 | 2015-05-13T21:54:54 | 2015-05-13T21:57:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,186 | cpp | #include "UniquePtr.h"
#include <assert.h>
namespace myEngine
{
/*template<typename T>
T* UniquePtr<T>::CreateObject()
{
if (m_WrappingObject != nullptr)
m_WrappingObject = new T;
return m_WrappingObject;
}*/
template<typename T>
UniquePtr<T>::UniquePtr()
{
m_WrappingObject = new T;
}
template<typename ... | [
"amit_prakash07@hotmail.com"
] | amit_prakash07@hotmail.com |
85d41132329f35dee33ec29a92b97a0be4c0975c | 31e144bfe008ce67db00d01777012c3a8153990e | /algo/count-inversion-bit.cpp | 76b57231e33db46d1900e776fd6acda317ad38c6 | [] | no_license | reliveinfire/codes | 0d285dd002bfef5732182144be19681dd22091e2 | 69750ebf708bcbf8ac7723c19f5370793cf8f95b | refs/heads/master | 2021-01-15T18:27:23.743076 | 2018-05-07T09:33:51 | 2018-05-07T09:33:51 | 99,788,745 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,288 | cpp | #include<bits/stdc++.h>
using namespace std;
// Returns sum of arr[0..index]. This function assumes
// that the array is preprocessed and partial sums of
// array elements are stored in BITree[].
int getSum(int BITree[], int index)
{
int sum = 0; // Initialize result
// Traverse ancestors of BITree[index]
... | [
"relive@g.com"
] | relive@g.com |
8259009b3563d64625a771fd60db522877c0259a | 3ff1fe3888e34cd3576d91319bf0f08ca955940f | /tem/src/v20210701/model/DestroyEnvironmentResponse.cpp | 45e4795b94583791c19a23fc11148d058ba4441a | [
"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 | 3,821 | 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 |
7218d11b00c718241147ee9a9601815ed1c3d02c | 1ef7b3a7ba47238699ce80b65f9a91fe8b6b8380 | /Utilities.cpp | 35e43d95a9a36978ddc3e3304b8800ea6a12c768 | [] | no_license | AlexanderPlatinum/MessengerClient | d25015a001b3e4e79dd17023fed357a75d69275d | 257c307368684a0cc5953263a4da3d058eaf2525 | refs/heads/master | 2021-09-10T19:06:20.553496 | 2018-03-31T11:05:03 | 2018-03-31T11:05:03 | 125,702,689 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 548 | cpp | #include "Utilities.h"
void Utilities::ShowError( QString message )
{
QMessageBox *msgBox = new QMessageBox();
msgBox->setWindowTitle( "Произошла ошибка!" );
msgBox->setText( message );
msgBox->exec();
}
QByteArray Utilities::MakeQuery( QString command, QJsonObject params )
{
QJsonObject *object... | [
"qwertysan20@gmail.com"
] | qwertysan20@gmail.com |
2319ccd5a466c7896346bec81c2276c5d58e1a04 | be8365fcefd5da4b06204640f2e49c55fdf9c039 | /Source/WinDialog.cpp | 27d23c0b7032c7050f63972f92b7d9dc2d9d45f9 | [] | no_license | StacyZalisk/SFMLSolitaire | dacca53ba39d9f3fb8bbafeef123f727121ab68b | 627934aaa44a21c89c12039ed0420a21482f8fef | refs/heads/master | 2021-01-23T08:11:16.876082 | 2017-03-29T15:20:52 | 2017-03-29T15:20:52 | 86,485,523 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 536 | cpp | #include "stdafx.h"
#include "WinDialog.h"
#include "SFMLGameObject.h"
#include "SFMLSprite.h"
WinDialog * WinDialog::Instance(nullptr);
WinDialog::WinDialog()
: SFMLGameObject("winBack", 283, 134)
{
GetSprite()->SetPerformCollisionDetection(false);
GetSprite()->SetVisible(false);
SetDepth(99);
}
WinDialog::~WinD... | [
"stacy.zalisk@sbcglobal.net"
] | stacy.zalisk@sbcglobal.net |
02b8ef117abf5886427719aa801b199bfc110888 | 9f520bcbde8a70e14d5870fd9a88c0989a8fcd61 | /pitzDaily/362/Ua | 34a608b1342e766a4e462ef066c58bf6741015a0 | [] | no_license | asAmrita/adjoinShapOptimization | 6d47c89fb14d090941da706bd7c39004f515cfea | 079cbec87529be37f81cca3ea8b28c50b9ceb8c5 | refs/heads/master | 2020-08-06T21:32:45.429939 | 2019-10-06T09:58:20 | 2019-10-06T09:58:20 | 213,144,901 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 249,670 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v1806 |
... | [
"as998@snu.edu.in"
] | as998@snu.edu.in | |
bf1a1abab33631fcb4a7a32d57c404befcb80488 | 5de6e7452825dbecea4a811d6dc8ff9ffc8105df | /src/mat.cpp | 56cbcddf821865fa23d98856a568e307385fb7ec | [
"MIT"
] | permissive | Zhengtq/BFQ | d6b54b2077cf76b86e00e30914a4afc0cb751213 | 11460756d7684e0e08642feb51a8b8ef53213511 | refs/heads/main | 2023-03-20T19:38:19.219599 | 2021-03-16T05:17:39 | 2021-03-16T05:17:39 | 345,588,118 | 9 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 506 | cpp | #include "mat.h"
#include <math.h>
#include "layer.h"
namespace ncnn {
void copy_make_border(const Mat& src, Mat& dst, int top, int bottom, int left, int right, int type,
float v, const Option& opt) {
Layer* padding = create_layer("Padding");
ParamDict pd;
pd.set(0, top);
pd.set... | [
"1553866519@qq.com"
] | 1553866519@qq.com |
e71bc0bc57587c03bb37ff9e6d74a5b604be19d8 | 58f46a28fc1b58f9cd4904c591b415c29ab2842f | /chromium-courgette-redacted-29.0.1547.57/media/filters/fake_video_decoder_unittest.cc | fc1cb14adc668df9a71d9084b5a42b46f40788fb | [
"BSD-3-Clause"
] | permissive | bbmjja8123/chromium-1 | e739ef69d176c636d461e44d54ec66d11ed48f96 | 2a46d8855c48acd51dafc475be7a56420a716477 | refs/heads/master | 2021-01-16T17:50:45.184775 | 2015-03-20T18:38:11 | 2015-03-20T18:42:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,122 | cc | // Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "base/basictypes.h"
#include "base/bind.h"
#include "base/message_loop.h"
#include "media/base/decoder_buffer.h"
#include "media/base/mock_filter... | [
"Khilan.Gudka@cl.cam.ac.uk"
] | Khilan.Gudka@cl.cam.ac.uk |
897e4c02b1a5d27083263a186fcfc40102de7236 | a47252d9df8b255a4f69c411226a17ee2472789d | /unit_test/suite_of_tests.cpp | eb4c5ff3e5be1d8a4ea6643e96515d3134e3369d | [] | no_license | giangiac/intro_to_alg | 1670e22d12f01455b663fdda40a25e7261810b66 | 37dbde0683f30e94c3aa50e888987f95d7a0e7d0 | refs/heads/master | 2023-02-18T05:34:08.292158 | 2021-01-19T01:59:30 | 2021-01-19T01:59:30 | 273,759,468 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 860 | cpp | /// @file suit_of_tests.cpp Define unit tests for the repo
#include <cmath> // std::abs(), std::cos(), std::pow(), ...
#include <iostream>
// googletest
#include "gtest/gtest.h"
// To compare complex values in an approximated way.
#define ASSERT_COMPLEX_NEAR(val1,val2,error) \
ASSERT_NEAR(val1.real(),val2.real(),e... | [
"giangiacomo.guerreschi@gmail.com"
] | giangiacomo.guerreschi@gmail.com |
b5ad460585ef072a4fcb45beac5d730079c59577 | 9a0f9505d96b03542b43115e8d2a8ec83cdbf46c | /CheckingAccount.h | 283d1ba9b02d6f8d45e1dc645408dab4a8d19110 | [] | no_license | dsingh80/FinalProject_Year1 | a7d975564db7d3526b8ca881f5bc46dd7e779d70 | e1654320dd6965508cebbce18fdd57b4cff40091 | refs/heads/master | 2020-07-06T12:09:25.039637 | 2016-12-05T00:05:54 | 2016-12-05T00:05:54 | 73,961,011 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 393 | h | #ifndef CHECKING_ACCOUNT_H_EXISTS
#define CHECKING_ACCOUNT_H_EXISTS
#include "Account.h"
#include <string>
class CheckingAccount : public Account {
public:
CheckingAccount();
CheckingAccount(std::string); // initialize with information and owner
~CheckingAccount();
std::string getType();
std::string get... | [
"damsingh@tesla.cs.iupui.edu"
] | damsingh@tesla.cs.iupui.edu |
450a4a0993fc988b2c90bb59f897ccac68d409c8 | 61e11350ff236aee8f8b79a324e505eb6413efe6 | /DIRR.CPP | e8d0dbadb4dec2926b738f77aa699f088399c579 | [
"MIT"
] | permissive | AungWinnHtut/CipherCAD2003 | 6de9c539e8b785ee01fd5a835745c9295b98fbe3 | fc826abcd2ae01acd477ad90f626f056ee53bc91 | refs/heads/master | 2021-01-01T05:35:21.073374 | 2015-08-01T02:30:44 | 2015-08-01T02:30:44 | 40,032,504 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,075 | cpp | #include"aung.h"
void MAINMENU(int s);
void Msgbox();
void menu_dirr(int pos); //defaultvalue
int button_dirr(int s);
void HELP();
char *current_directory(char *path);
struct ffblk ffblk;
int done;
char fname_dirr[100];
const int size_dirr=4;
char list_dirr[size_dirr][19]= {" OK \0",
" CANCEL \0"... | [
"aungwinnhtut@gmail.com"
] | aungwinnhtut@gmail.com |
505633c2b38cc513efafba476f3c3ded960bcb11 | 34d27a21336a1ae2a569bcef0bae59b762593e86 | /intersection_linkedlist/testCode.cpp | f9412ee703d2f31404ae7efed3cfe48316a8a15c | [] | no_license | nitinkodial/mini_code_assignments | 563a9275b5c19e1428571dfd35e743430afcdc56 | a14eb12d9137dbfbeddbb346503738d24db880e4 | refs/heads/master | 2021-09-10T20:46:30.142374 | 2018-04-02T03:57:07 | 2018-04-02T03:57:07 | 114,929,898 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,026 | cpp | // Intersection: Given two (singly) linked lists, determine if the two lists intersect. Return the inter-
// secting node. Note that the intersection is defined based on reference, not value. That is, if the kth
// node of the first linked list is the exact same node (by reference) as the jth node of the second
// link... | [
"nitinkodial@gatech.edu"
] | nitinkodial@gatech.edu |
5614d6e4a34cbdab4d3be002c55248d66f02d6c5 | d0c44dd3da2ef8c0ff835982a437946cbf4d2940 | /cmake-build-debug/programs_tiling/function14102/function14102_schedule_43/function14102_schedule_43_wrapper.cpp | fca4e1a1700f5d6759249b7407769de337dd253b | [] | no_license | IsraMekki/tiramisu_code_generator | 8b3f1d63cff62ba9f5242c019058d5a3119184a3 | 5a259d8e244af452e5301126683fa4320c2047a3 | refs/heads/master | 2020-04-29T17:27:57.987172 | 2019-04-23T16:50:32 | 2019-04-23T16:50:32 | 176,297,755 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,423 | cpp | #include "Halide.h"
#include "function14102_schedule_43_wrapper.h"
#include "tiramisu/utils.h"
#include <cstdlib>
#include <iostream>
#include <time.h>
#include <fstream>
#include <chrono>
#define MAX_RAND 200
int main(int, char **){
Halide::Buffer<int32_t> buf00(64, 128);
Halide::Buffer<int32_t> buf01(... | [
"ei_mekki@esi.dz"
] | ei_mekki@esi.dz |
561de69450216a354bd0ba35628e84ccfb64c8fc | 6079670a82f3b92a3e6c6ed180aa498b78baca9a | /zmy/cpp/23.merge-k-sorted-lists.cpp | 5f299bd8404dc2daebb90e6576d91b9c5f8a37dc | [] | no_license | sing-dance-rap-basketball/leetcode | 97d59d923dfe6a48dd5adba3fa3137a684c0b3ca | d663d8093d4547ab1c6a24203255dba004b1e067 | refs/heads/master | 2022-08-07T15:17:47.059875 | 2022-07-23T15:59:36 | 2022-07-23T15:59:36 | 194,498,806 | 0 | 1 | null | 2019-07-12T08:28:39 | 2019-06-30T09:35:12 | C++ | UTF-8 | C++ | false | false | 1,706 | cpp | /*
* @lc app=leetcode id=23 lang=cpp
*
* [23] Merge k Sorted Lists
*/
/**
* Definition for singly-linked list.
* struct ListNode {
* int val;
* ListNode *next;
* ListNode(int x) : val(x), next(NULL) {}
* };
*/
struct compare{
bool operator() (const ListNode* n1, const ListNode* n2) {
... | [
"manassehzhou@gmail.com"
] | manassehzhou@gmail.com |
a70e81a8576ef47ad9134cc44a32548e2808c94d | 71f81173176c6889875f42912e99462a17f72182 | /wcm/ext-app-ux.cpp | 39878a0a044812f574bf2928ecdb1639010a6ed9 | [
"MIT"
] | permissive | Karamax/WalCommander | c3853c21a367ae875943a93e58fb939b2999ee87 | e186faaf4762473dfe6e99fd17b1c2dcb59ce8d7 | refs/heads/master | 2020-12-03T08:05:03.957372 | 2014-08-26T16:08:25 | 2014-08-26T16:08:25 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 23,635 | cpp | #include <wal.h>
using namespace wal;
#include "bfile.h"
#include "string-util.h"
#include "ext-app.h"
#include <sys/types.h>
#include <dirent.h>
#include <sys/time... | [
"sk@linderdaum.com"
] | sk@linderdaum.com |
c05b0f11868ea75e5312faa9457178c1d5ede0e7 | 92b6aaade5a3f323d7f8e7d02fb9fec09f4c2f50 | /CP-Codes/500_div2_b.cpp | f1d68a48824c1024a935c5f804b73e50180d808b | [] | no_license | suraj1611/Competitive_Programming | 846dee00396e2f2b6d13e2ea8aaed444a34062af | 82bd88081ac067ad4170553afedc6c479bb53753 | refs/heads/master | 2020-04-22T17:27:18.116585 | 2019-12-16T19:42:29 | 2019-12-16T19:42:29 | 170,541,477 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,671 | cpp | #include<bits/stdc++.h>
#include <string>
using namespace std;
#define ll long long int
#define rep(i,n) for(int i=0; i<n; i++)
#define rep1(j,m) for(int j=1;j<m;j++)
#define mx INT_MAX
#define mn INT_MIN
#define md 1000000007
#define pb push_back
#define mp make_pair
#define pf printf
#define sc scanf
#define maxsiz... | [
"surajsk1611@gmail.com"
] | surajsk1611@gmail.com |
640dd16181875bd31108a74ec0b3a09f9f087429 | 9678f40cf818b8ae6485ed72f5f2b54777c544d1 | /graphs/MatrixGraph.h | 2626c484b9bf0ee1e14563dcd1083a21987e6ac7 | [
"Unlicense"
] | permissive | outfrost/data-structures-project | b342b4c5a772011e67116a200cf07ed6189eeb5f | ec39499a4288fbb0372bfb3decc49271178664f8 | refs/heads/master | 2021-06-28T08:17:51.931712 | 2018-02-28T17:25:56 | 2018-02-28T17:25:56 | 109,389,666 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 607 | h | #ifndef DATA_STRUCTURES_PROJECT_MATRIXGRAPH_H
#define DATA_STRUCTURES_PROJECT_MATRIXGRAPH_H
class MatrixGraph {
private:
int **neighbourMatrix;
int nodeCount;
static const int nullEdge = std::numeric_limits<int>::min();
public:
MatrixGraph();
MatrixGraph(int nodeCount);
~MatrixGraph();
int getEdgeMetric(i... | [
"kotlet.bahn@gmail.com"
] | kotlet.bahn@gmail.com |
337afedd752d547dc8cb6d915f689f7e4fa5a172 | 2aec12368cc5a493af73301d500afb59f0d19d28 | /GeometryTool/LibFoundation/Interpolation/Wm4IntpSphere2.h | c15f5fa90c4de97135528167adce7de656d524eb | [] | no_license | GGBone/WM4 | ec964fc61f98ae39e160564a38fe7624273137fb | 8e9998e25924df3e0d765921b6d2a715887fbb01 | refs/heads/master | 2021-01-11T21:48:17.477941 | 2017-01-13T14:09:53 | 2017-01-13T14:09:53 | 78,854,366 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 2,207 | h | // Geometric Tools, Inc.
// http://www.geometrictools.com
// Copyright (c) 1998-2006. All Rights Reserved
//
// The Wild Magic Version 4 Foundation Library source code is supplied
// under the terms of the license agreement
// http://www.geometrictools.com/License/Wm4FoundationLicense.pdf
// and may not be copied ... | [
"z652137200@gmail.com"
] | z652137200@gmail.com |
1e58d5ce5edef6d2a4ad34240081644f16f29159 | f781ab4b73f1000e660fcd7850f92890ee7da35a | /cstl/cstl_type_traits.h | febb3b4779810123d78fa652b65d3039ab2dba03 | [] | no_license | after1990s/CSTL | 3b9f895879572942515cc53adfb3467206006b6a | 174ee7b23408092c208dccc3c0fd216322aed1d1 | refs/heads/master | 2021-01-21T22:06:31.756504 | 2019-12-08T13:18:46 | 2019-12-08T13:18:46 | 95,170,245 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,420 | h | #ifndef TYPE_TRAITS_H
#define TYPE_TRAITS_H
namespace CSTL{
struct __true_type {};
struct __false_type {};
template <class T>
struct __type_traits{
typedef __true_type this_member_must_be_fist;
using has_trivial_default_constructor = __false_type;
using has_trivial_copy_constru... | [
"after1990s@gmail.com"
] | after1990s@gmail.com |
e869f678b317108c10e5e12d088a9c8f2c87a654 | 1379e7a0d643508e7eaa5c24917c1d0c41ef7525 | /Proyecto1_Carlos_Laparra_1031120/Proyecto1_Carlos_Laparra_1031120/Pila.cpp | 9ac24bca985b3fbcc0df668fb9ec26381dcbfee0 | [] | no_license | Carlos-Laparra/Proyecto-1 | 719e63078814a28a4d58c4e9bed5186cd48fe99c | f9019ce38d93a533dc11554f639e62b386befcdd | refs/heads/master | 2022-12-30T15:28:36.035367 | 2020-10-21T07:02:47 | 2020-10-21T07:02:47 | 305,936,807 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 482 | cpp | #include "Pila.h"
Pila::Pila() {
internalList = new Lista();
internalList->end = nullptr;
internalList->start = nullptr;
internalList->conta = 0;
}
void Pila::Insert(int value) {
internalList->InsertAtEnd(value);
}
Node* Pila::Peek() {
return internalList->ExtractAtEnd();
}
int Pila::Value(int i) {
return in... | [
"70443027+Carlos-Laparra@users.noreply.github.com"
] | 70443027+Carlos-Laparra@users.noreply.github.com |
88d51ce8373b6ef9376945e733b090546fc7533c | fd25353f114970b2d571beb21fa09700627087f0 | /code/Motor2D/j1App.cpp | 125c5d860a784e1ea874d4cb936ff8bde9d8087b | [
"MIT"
] | permissive | Leukino/fog-of-war | 9af7ab94c465c2ab45358ae8c5a6b89cab17f806 | 487a24d237c44b82447b1ef3da6cc08f43d4a91f | refs/heads/master | 2021-05-19T18:31:49.377684 | 2020-04-05T17:56:23 | 2020-04-05T17:56:23 | 252,064,553 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,958 | cpp | #include <iostream>
#include <sstream>
#include <iterator> //STL Stuff
#include "p2Defs.h"
#include "p2Log.h"
#include "j1Window.h"
#include "j1Input.h"
#include "j1Render.h"
#include "j1Textures.h"
#include "j1Audio.h"
#include "j1Scene.h"
#include "j1Map.h"
#include "j1App.h"
#include "j2EntityManager.h"
#includ... | [
"miquelqg99@gmail.com"
] | miquelqg99@gmail.com |
64887f8b74e2f3e01ce2bf793c5e210e8138669a | 8d1345522a63c184604f116b9874f82040b9529e | /链表/203.移除链表元素.cpp | d8f839312af96a9dd28e5e7167627d2be2d34cfa | [] | no_license | SherlockUnknowEn/leetcode | cf283431a9e683b6c2623eb207b5bfad506f8257 | 4ca9df3b5d093a467963640e2d2eb17fc640d4bd | refs/heads/master | 2023-01-22T14:24:30.938355 | 2023-01-18T14:37:36 | 2023-01-18T14:37:36 | 93,287,101 | 36 | 11 | null | null | null | null | UTF-8 | C++ | false | false | 888 | cpp | /*
* @lc app=leetcode.cn id=203 lang=cpp
*
* [203] 移除链表元素
*/
// @lc code=start
/**
* Definition for singly-linked list.
* struct ListNode {
* int val;
* ListNode *next;
* ListNode() : val(0), next(nullptr) {}
* ListNode(int x) : val(x), next(nullptr) {}
* ListNode(int x, ListNode *next) ... | [
"fjie666@outlook.com"
] | fjie666@outlook.com |
73ec83035351d5363c690cb3c425b4f4c8f89d7b | 4ad2ec9e00f59c0e47d0de95110775a8a987cec2 | /_Authored_by_me/Info1 2019 sources/p14/src.cpp | 0df3f6b3176987aaf82768e66fa13dfe7acd7d09 | [] | no_license | atatomir/work | 2f13cfd328e00275672e077bba1e84328fccf42f | e8444d2e48325476cfbf0d4cfe5a5aa1efbedce9 | refs/heads/master | 2021-01-23T10:03:44.821372 | 2021-01-17T18:07:15 | 2021-01-17T18:07:15 | 33,084,680 | 2 | 1 | null | 2015-08-02T20:16:02 | 2015-03-29T18:54:24 | C++ | UTF-8 | C++ | false | false | 3,329 | cpp | #include <iostream>
#include <cstdio>
#include <cstring>
#include <vector>
#include <algorithm>
#include <cmath>
//#define testing
#ifndef testing
#include "grader.h"
#endif
using namespace std;
#define mp make_pair
#define pb push_back
#define ll long long
#ifdef testing
const vector<int> expected = {8, ... | [
"atatomir5@gmail.com"
] | atatomir5@gmail.com |
52d8a3fd5d07ab9f85ccfdd3c7021048545ba8b4 | 9963f25b075c73fc4e2759c7099304035fa85fc0 | /yukicoder/1098.cc | eae27308c85ab90aee19d39439c614533a04f8e6 | [
"BSD-2-Clause"
] | permissive | kyawakyawa/CompetitiveProgramingCpp | a0f1b00da4e2e2c8f624718a06688bdbfa1d86e1 | dd0722f4280cea29fab131477a30b3b0ccb51da0 | refs/heads/master | 2023-06-10T03:36:12.606288 | 2021-06-27T14:30:10 | 2021-06-27T14:30:10 | 231,919,225 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,404 | cc | #include <stdint.h>
#include <stdlib.h>
#include <algorithm>
#include <iostream>
#include <numeric>
#include <vector>
using namespace std;
using default_counter_t = int64_t;
// macro
#define let auto const&
#define overload4(a, b, c, d, name, ...) name
#define rep1(n) \
for (default_counter_t i = 0, end_i = default... | [
"kyawashell@gmail.com"
] | kyawashell@gmail.com |
ebe1c58157363de601cf4fbe2b9d9687f5af21a2 | f98439a5ea465239a988f0d0193410f245ccaf5b | /Atomic/AtCharsets.h | 842a492676f894cb74f4e324dca68e60e431d551 | [
"MIT"
] | permissive | denisbider/Atomic | 6f0b6040dfdd71f80aa6bb30c1577a26d4136202 | 8e8e979a6ef24d217a77f17fa81a4129f3506952 | refs/heads/master | 2021-07-01T00:27:29.102487 | 2021-03-05T19:21:49 | 2021-03-05T19:21:49 | 220,709,742 | 4 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 261 | h | #pragma once
#include "AtSeq.h"
namespace At
{
// Returns zero if charset name not recognized.
// Charset names correspond to those used in .NET, and include preferred MIME names defined by IANA.
UINT CharsetNameToWindowsCodePage(Seq charset);
}
| [
"denisbider@users.noreply.github.com"
] | denisbider@users.noreply.github.com |
633e6d9f63fc8215daecbc584347250fa9591453 | ad5a6c611d28272bfba233fe0718ce9327ef3eb7 | /os-interface-linux.cpp | 7471a4117c4737e5359af03a099dac6de801fd2c | [] | no_license | gianantonio71/amber-runtime | 5f51da245aaadf85b014aa4e62f33706037473b4 | 18b98ba176326af06e2713660a1a36056d99fb4b | refs/heads/master | 2021-04-18T23:24:56.761976 | 2017-11-20T14:44:53 | 2017-11-20T14:44:53 | 19,239,696 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 967 | cpp | #include "lib.h"
#include "os-interface.h"
uint64 get_tick_count() {
struct timespec ts;
if (clock_gettime(CLOCK_MONOTONIC, &ts) != 0) {
// error
}
return 1000 * ts.tv_sec + ts.tv_nsec / 1000000;
}
char *file_read(const char *fname, int &size) {
FILE *fp = fopen(fname, "r");
if (fp == NULL) {
siz... | [
"gianantonio71@gmail.com"
] | gianantonio71@gmail.com |
066c3170dfb7fbc26238674f42e996b30d69294e | b162de01d1ca9a8a2a720e877961a3c85c9a1c1c | /382.linked-list-random-node.cpp | 6d4d276e3b77cc3cd7f8e3462551a9d3c495b288 | [] | no_license | richnakasato/lc | 91d5ff40a1a3970856c76c1a53d7b21d88a3429c | f55a2decefcf075914ead4d9649d514209d17a34 | refs/heads/master | 2023-01-19T09:55:08.040324 | 2020-11-19T03:13:51 | 2020-11-19T03:13:51 | 114,937,686 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,548 | cpp | /*
* [382] Linked List Random Node
*
* https://leetcode.com/problems/linked-list-random-node/description/
*
* algorithms
* Medium (48.32%)
* Total Accepted: 46.8K
* Total Submissions: 96.8K
* Testcase Example: '["Solution","getRandom"]\n[[[1,2,3]],[]]'
*
* Given a singly linked list, return a random node... | [
"richnakasato@hotmail.com"
] | richnakasato@hotmail.com |
4bc7b790aebe0ade3b83a560c498403b16400245 | ded10c52a4602174205b3ad5609319c7691fd9bf | /buoi 4.1.cpp | efcd4b3d3ef5240fe7d3ccf69dd237d9d4b6f72d | [] | no_license | Khachuy911/c-language | 6faf4eda6b3ff7be6a64185be7473dd9e695f437 | ede335608e2a4f5eeb0ec260a0852cb75a5f29d6 | refs/heads/master | 2023-08-14T21:23:05.507297 | 2021-09-17T10:17:44 | 2021-09-17T10:17:44 | 407,494,110 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 222 | cpp | #include<stdio.h>
#include<math.h>
int main (){
int a,b=1;
printf ("nhap a :");
scanf ("%d",&a);
for (int i=1;i<=sqrt(a);i++){
if (i>=0){
b= pow(i,2);
printf("\n%d",b);
}else
printf("nhap lai a");
}
return 0;
}
| [
"khachuy469@gmail.com"
] | khachuy469@gmail.com |
de94e663231bbd0341a904a2493b9b363fee976f | 71c8702211dc84b0311d52b7cfa08c85921d660b | /LeetCode/1. Two Sum.cpp | 03d004035b657f3513be7eb9dae6f98f630327de | [] | no_license | mubasshir00/competitive-programming | b8a4301bba591e38384a8652f16b413853aa631b | 7eda0bb3dcc2dc44c516ce47046eb5da725342ce | refs/heads/master | 2023-07-19T21:01:18.273419 | 2023-07-08T19:05:44 | 2023-07-08T19:05:44 | 226,463,398 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 831 | cpp | #include <bits/stdc++.h>
using namespace std;
class Solution
{
public:
vector<int> twoSum(vector<int> &nums, int target)
{
unordered_set<int> s;
vector<int> ans;
int j = 0;
for (int i = 0; i < nums.size(); i++)
{
int temp = target - nums[i];
// in... | [
"30567773+mubasshir00@users.noreply.github.com"
] | 30567773+mubasshir00@users.noreply.github.com |
4795e407dfd798ac260870bdc0917778997b8832 | 7147033f4900bd06e182c5f88a82c47d59b69024 | /server.cpp | 38460484f1d25542941325fc4cb74fa12c556125 | [] | no_license | anastasiaKretova/os-net-multiplexing | fd773cedd8b266e584dda5049e5c540b307b6b04 | f81fb45a84b9163daeda0d84e4c9bc5aaf26aa60 | refs/heads/master | 2020-05-28T05:10:04.031913 | 2019-06-15T19:10:12 | 2019-06-15T19:10:12 | 188,889,688 | 0 | 0 | null | 2019-05-27T18:13:27 | 2019-05-27T18:13:26 | null | UTF-8 | C++ | false | false | 4,853 | cpp | //
// Created by anastasia on 19.05.19.
//
#include <cstring>
#include <bits/stdc++.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <unistd.h>
#include "socket.cpp"
#include "epoll.cpp"
struct server_exception : std::runtime_error {
explicit server_exception(const std::string &... | [
"you@example.com"
] | you@example.com |
c9e0f21c6d310079a170fe63d92764da5f5f6761 | 0a03c2792ecf68a285d7b8b684cf31b7976d3cb1 | /bin/mac64.build/cpp/src/luxe/resource/Resource.cpp | 39c6e9a1c4426b67fa52fdf6ec7e68731bf9fa9a | [] | no_license | DavidBayless/luxePractice | 2cbbf5f3a7e7c2c19adb61913981b8d21922cd82 | 9d1345893459ecaba81708cfe0c00af9597e5dec | refs/heads/master | 2021-01-20T16:56:31.427969 | 2017-02-22T23:20:35 | 2017-02-22T23:20:35 | 82,842,198 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 22,107 | cpp | #include <hxcpp.h>
#ifndef INCLUDED_Luxe
#include <Luxe.h>
#endif
#ifndef INCLUDED_luxe_DebugError
#include <luxe/DebugError.h>
#endif
#ifndef INCLUDED_luxe_Resources
#include <luxe/Resources.h>
#endif
#ifndef INCLUDED_luxe_resource_Resource
#include <luxe/resource/Resource.h>
#endif
#ifndef INCLUDED_snow_api_Promise
... | [
"David.C.Bayless15@gmail.com"
] | David.C.Bayless15@gmail.com |
9abc0e4c584390e08ebb102a69b6e69af9f943d0 | 8c35610041e057a63e6326c76fc2f3edbd37259c | /src/include/kline_proc.h | 9187b9a603776af4adec4b7e938a4f53cb0c0fac | [] | no_license | luweikang08/ISON | 42b35a71987acc1d07fc1e42f4e6ae66f7882d6b | ee612b28ce676e5496157409795233f40309ee74 | HEAD | 2016-09-06T09:00:45.681419 | 2015-03-11T05:53:43 | 2015-03-11T05:53:43 | 32,001,177 | 0 | 5 | null | null | null | null | UTF-8 | C++ | false | false | 393 | h | #ifndef __ISON_SDS_KLINE_PROC_H__
#define __ISON_SDS_KLINE_PROC_H__
#include <iostream>
#include "document.h"
#include "isonsdsdataapi.h"
#include "data_struct.h"
int KlineFromMaketData(int StartIdx, int EndIdx, SDS_Level2 src[], KLineData& dest);
int KlineFromKline(int StartIdx, int EndIdx, KLineData src[], KLineDat... | [
"luweikang@hongkingsystem.cn"
] | luweikang@hongkingsystem.cn |
b4f6cb45f20a34c64ac886ab2a2d545a891c82dd | 0e7bd3d037bda33905f837b1e37a221ff805172a | /HackerRank/snakes_and_ladders_the_quickest_way_up.cpp | a9e29cca53ff188071f869a467cec7a5cf35acfe | [] | no_license | davidjacobo/Competencias | 0179d6392c13f369ee26e834a01be615f678c3ae | 9ef4b483d43dae2deef35291a0fb7af16d9e109b | refs/heads/master | 2021-01-15T15:44:25.687748 | 2016-08-21T08:24:54 | 2016-08-21T08:25:03 | 29,445,540 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 898 | cpp | #include <iostream>
#include <vector>
#include <algorithm>
#include <queue>
#define INF (1<<30)
#define MAX_N 101
using namespace std;
int dis[MAX_N], next_v[MAX_N];
void capture(int n) {
int x,y;
while(n--) {
cin>>x>>y;
next_v[x-1] = y-1;
}
}
int solve() {
queue<int> q;
fill(dis, dis+MAX_N, INF);
dis[0] =... | [
"jguillen@cimat.mx"
] | jguillen@cimat.mx |
89728a710750c26c9a554aad26b7392c9c2990d8 | 17da681b73da0a2db1d0a15040f573834762ac32 | /razorqt-0.4.0/razorqt-panel/plugin-clock/razorclock.cpp | 8d59f3cbd6d49bc3cba28bcd7c95ab64beb8589f | [] | no_license | easion/GoogleCodeImport | 652690592ad0e113ac60f807a937e50978cb3f64 | e7648d4fa4543520012b6e47a1d2fefed6f22d81 | refs/heads/master | 2021-01-25T05:35:28.584058 | 2015-03-14T07:59:22 | 2015-03-14T07:59:22 | 32,141,682 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,263 | cpp | /* BEGIN_COMMON_COPYRIGHT_HEADER
*
* Razor - a lightweight, Qt based, desktop toolset
* http://razor-qt.org
*
* Copyright: 2010-2011 Razor team
* Authors:
* Christopher "VdoP" Regali
* Alexander Sokoloff <sokoloff.a@gmail.ru>
* Maciej Płaza <plaza.maciej@gmail.com>
*
* This program or library is free s... | [
"easion@79e7c3d0-c8f2-11de-a9c8-2fbcfba63733"
] | easion@79e7c3d0-c8f2-11de-a9c8-2fbcfba63733 |
2c59b5b7226f249d2cba2d1fc529cafe0836eb65 | 9b153b86f575a2c9c00a0c861c700aa4dfbbeab3 | /src/267.palindrome_permutation_ii/code.cpp | 062e038c96688de658fe7b21859f4e1ff452429f | [
"MIT"
] | permissive | cloudzfy/leetcode | f847bd96ecfd90caebe7c8eb9840126ae6956e9d | 9d32090429ef297e1f62877382bff582d247266a | refs/heads/master | 2020-04-06T03:33:53.283222 | 2016-09-27T05:20:50 | 2016-09-27T05:20:50 | 19,370,689 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,511 | cpp | class Solution {
public:
vector<string> generatePalindromes(string s) {
vector<int> count(128, 0);
vector<string> ans;
for (int i = 0; i < s.length(); i++) {
count[s[i]]++;
}
int odd = 0;
string single;
for (int i = 0; i < 128; i++) {
i... | [
"cloudzfy@users.noreply.github.com"
] | cloudzfy@users.noreply.github.com |
876fe31f9ff37a159ea5836e30137286c4f7e57e | 1dbf007249acad6038d2aaa1751cbde7e7842c53 | /mpc/include/huaweicloud/mpc/v1/model/ListAllBucketsResponse.h | e28e4c04a007634b1fba581d54614765477d4ee9 | [] | permissive | huaweicloud/huaweicloud-sdk-cpp-v3 | 24fc8d93c922598376bdb7d009e12378dff5dd20 | 71674f4afbb0cd5950f880ec516cfabcde71afe4 | refs/heads/master | 2023-08-04T19:37:47.187698 | 2023-08-03T08:25:43 | 2023-08-03T08:25:43 | 324,328,641 | 11 | 10 | Apache-2.0 | 2021-06-24T07:25:26 | 2020-12-25T09:11:43 | C++ | UTF-8 | C++ | false | false | 1,460 | h |
#ifndef HUAWEICLOUD_SDK_MPC_V1_MODEL_ListAllBucketsResponse_H_
#define HUAWEICLOUD_SDK_MPC_V1_MODEL_ListAllBucketsResponse_H_
#include <huaweicloud/mpc/v1/MpcExport.h>
#include <huaweicloud/core/utils/ModelBase.h>
#include <huaweicloud/core/http/HttpResponse.h>
#include <huaweicloud/mpc/v1/model/ObsBucket.h>
#inclu... | [
"hwcloudsdk@huawei.com"
] | hwcloudsdk@huawei.com |
ceaf0d468ed594e5361170819faefdb690e7fb41 | 98ac03c85c210da08552252da7527859988c0062 | /Source/REM_Proto/InventoryItemObject.cpp | c88f216a5629b26a551c7ce7199ceb07bb4f975e | [] | no_license | larsmagnusny/REM_PROTO | d030ba16949f888dd598afaeb0990ef7280ce675 | 280e26d8e071a15d5bfad9821e068a4977ee2d3c | refs/heads/master | 2021-01-12T10:32:28.619491 | 2017-02-15T13:08:35 | 2017-02-15T13:08:35 | 81,302,820 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,089 | cpp | // Fill out your copyright notice in the Description page of Project Settings.
#define print(text) if (GEngine) GEngine->AddOnScreenDebugMessage(-1, 1.5, FColor::White,text)
#include "REM_Proto.h"
#include "InventoryItemObject.h"
#include "MainCharacter.h"
AInventoryItemObject::AInventoryItemObject()
{
}
// Calle... | [
"lars.magnus.nyland@gmail.com"
] | lars.magnus.nyland@gmail.com |
1af355b2211351df678a5f626eb6b090cf105094 | b00c54389a95d81a22e361fa9f8bdf5a2edc93e3 | /external/srec/tools/thirdparty/OpenFst/fst/lib/compat.h | cd80e2a58b3054600dd9777272e29776f791752d | [
"Apache-2.0"
] | permissive | mirek190/x86-android-5.0 | 9d1756fa7ff2f423887aa22694bd737eb634ef23 | eb1029956682072bb7404192a80214189f0dc73b | refs/heads/master | 2020-05-27T01:09:51.830208 | 2015-10-07T22:47:36 | 2015-10-07T22:47:36 | 41,942,802 | 15 | 20 | null | 2020-03-09T00:21:03 | 2015-09-05T00:11:19 | null | UTF-8 | C++ | false | false | 8,114 | h | // compat.h
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software... | [
"mirek190@gmail.com"
] | mirek190@gmail.com |
d2647385aa079cdcf4adad7bec5244f93f355ad7 | 28921575b33d2c8530cce2f0e59150768f675bd8 | /FengyanAndroid/FengyanAndroid/MonitorThread.cpp | 58d6e797f9b45b1722493a04aa5f393c36d25cd4 | [] | no_license | dovanduy/Project1 | bf2978edb8a5deea2840f31f36fec325dcad3a22 | bd353a750e260bec9445d1b14f6fb8ec2855a24f | refs/heads/master | 2021-03-24T07:33:50.574094 | 2018-06-12T11:57:52 | 2018-06-12T11:57:52 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,549 | cpp | #include "MonitorThread.h"
MonitorThread::MonitorThread()
{
}
MonitorThread::~MonitorThread()
{
}
void MonitorThread::run() {
MainSingleton* theMain = MainSingleton::getInstance();
while (true) {
if (theMain->accountIndex <= theMain->totalAccountNum) {
for (int i = 1; i <= theMain->windowCount; i++) {
th... | [
"Administrator@DESKTOP-576RBIE"
] | Administrator@DESKTOP-576RBIE |
fba4e887c70094956ff021c4b9e8308a3812a9c1 | 244bd1c5574bfb16d4eabcef085050d2071a1f16 | /src/tagger/tag_model.cc | b8b20518f5eb286022da5c9e6e7e0e13f43f7bec | [] | no_license | jimregan/arboratrix | cb2eeb05e9e1ec45aed4d52bc84ce016686ad95c | de25b0b17490b3758178b484cf0e9f775c969f03 | refs/heads/master | 2021-01-16T21:23:51.617737 | 2012-05-24T18:14:03 | 2012-05-24T18:14:03 | 572,692 | 1 | 0 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 5,018 | cc | // -*- C++ -*-
/*
* 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 in the hop... | [
"mlforcada"
] | mlforcada |
6452c943e03da11f383f4b79ff348016b6b6e119 | d0c8f41fb84d9ab3292f918e4bfac9a613149c2c | /iteration2/src/include/convolution_filter.h | c61b3c622d7e5925082a2617336e0897be06b8be | [] | no_license | BlakeSartor/PhotoShop | 6502694197242c29b81d8e492b733d503ab175eb | fd0ce531e7b4aa5b4d19881c07a667d891379118 | refs/heads/master | 2021-05-05T10:04:14.611274 | 2017-09-19T02:37:21 | 2017-09-19T02:37:21 | 104,015,818 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,905 | h | /*******************************************************************************
* Name : convolution_filter.h
* Project : Flashphoto
* Module : App
* Description : Implementation of BrushWork
* Copyright : 2016 CSCI3081W. All rights reserved.
* Creation Date : 11/5/16
* O... | [
"sarto019@umn.edu"
] | sarto019@umn.edu |
4e192881e1922d9440910956dc3ba64cd50519e7 | adf4e5bb27ab2bf5646b6b493698e03c16b38018 | /Pacman/ConsoleTypes.cpp | eeb5a69097fa78384166ce4835e96c83642ef971 | [] | no_license | Milosz503/Pacman | 6102ee6860a55bdbc0592d138ef2eff4cee69357 | 6798079677f2c28d24f26e7fca7d7f6ff78dd929 | refs/heads/master | 2023-09-04T17:10:20.197381 | 2018-06-04T13:58:49 | 2018-06-04T13:58:49 | 429,800,431 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,659 | cpp | #include "ConsoleTypes.h"
ConsoleObject::ConsoleObject() :
position_(0, 0)
{
}
void ConsoleObject::setPosition(const sf::Vector2i& position)
{
position_ = position;
}
void ConsoleObject::setPosition(int x, int y)
{
position_.x = x;
position_.y = y;
}
void ConsoleObject::move(int x, int y)
{
position_.x += x;... | [
"milosz.0518@gmail.com"
] | milosz.0518@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.