blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 3 264 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 5 140 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 986
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 3.89k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 23
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 145
values | src_encoding stringclasses 34
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 3 10.4M | extension stringclasses 122
values | content stringlengths 3 10.4M | authors listlengths 1 1 | author_id stringlengths 0 158 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
c9c6e8029630df9cd8c93a176092f77639693502 | 1b7537533689c996d0c0c3d07c421137fe796fdd | /examples/.svn/text-base/ExampleTwoArgonAtoms.cpp.svn-base | a9d73122a55a36fddbea0c9ad9475fecff2d1cd9 | [] | no_license | nashmit/molmodel_legacy | 14b6524967d1a62a75b228eef44bd9c90d08ce2e | 7acbe13a4ffc1615d9db62c6ce0ac7dc947ab112 | refs/heads/master | 2021-01-19T17:38:50.531210 | 2019-01-25T14:12:24 | 2019-01-25T14:12:24 | 101,079,434 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,141 | #include "Molmodel.h"
#include <iostream>
#include <exception>
using namespace SimTK;
int main() {
try {
// molecule-specialized simbody System
CompoundSystem system;
SimbodyMatterSubsystem matter(system);
DecorationSubsystem decorations(system);
// molecular force field
DuMMFo... | [
"spiridon.laurentiu@gmail.com"
] | spiridon.laurentiu@gmail.com | |
2279ea3fb4a5e34bc3c6e178f71f6b9cddb2e55e | a51750f599885dd6dc91bc8a41e7ffa495cb59a2 | /cspark/spark/parse/tokens.h | d0f1d3ca4fbc2fd36860ed25987b1e6b62358f17 | [
"Apache-2.0"
] | permissive | viridia/spark | 3f15ffdb00e23bfdc76099f49517b71ec95c1e0b | d1c0f4cc1e72f73b360b119e8b694b58935b0209 | refs/heads/master | 2016-09-05T19:26:48.597528 | 2015-11-13T03:30:01 | 2015-11-13T03:30:01 | 31,223,236 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,020 | h | // ============================================================================
// ident.h: AST representing identifiers
// ============================================================================
#ifndef SPARK_PARSE_TOKENS_H
#define SPARK_PARSE_TOKENS_H 1
#if SPARK_HAVE_OSTREAM
#include <ostream>
#endif
#if S... | [
"viridia@gmail.com"
] | viridia@gmail.com |
23b593372718124be7ad30e2074e7777b7c79332 | 00d59fc683ae26dbda511bab355836b9e2e6b43d | /vjudge/Aizu/1335/3056388_AC_0ms_1388kB.cpp | 62fdddb37a59eb44354e776aa66ff86c42e8971a | [] | no_license | howardchina/ACM-ICPC-solved-problem | 01f8744c12b765ffc0ea23600fab79c58a5f6e0e | 63805f390c754c4561d43c4902939eff26ad7cbd | refs/heads/master | 2020-04-01T20:22:33.562335 | 2018-12-11T09:09:03 | 2018-12-11T09:09:03 | 153,601,172 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 638 | cpp | #include<iostream>
#include<stdio.h>
#include<math.h>
#include<string.h>
using namespace std;
int dp[23][13][166];
int main()
{
int n,k,s;
memset(dp,0,sizeof dp);
dp[0][0][0]=1;
for(int j=0;j<=10;j++)
for(int i=0;i<=20;i++)
for(int s=155;s>=0;s--)
if(dp[i][j][s])
... | [
"978632333@qq.com"
] | 978632333@qq.com |
3f22593cdbeff7683183d8688aa5175e0fe515f3 | 0cfc3b9e5c914e746875734ad210eaed70dc12cf | /src/PlayState.h | 2e887d009576fff52d7af8e4c47e5bfc9d2dcdf3 | [] | no_license | etheone/tdp005 | 8e3ceb2f299512dc20b03e763f23fcf24494ff94 | 756f53877aec7c41f7ba4e6ad2bbc2c7b632dc08 | refs/heads/master | 2020-06-19T19:49:57.075913 | 2014-12-19T09:49:18 | 2014-12-19T09:49:18 | 74,837,508 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,226 | h | /*
* PlayState.h
*
* Created on: 29 nov 2014
* Author: joagy323
*/
#ifndef SRC_PLAYSTATE_H_
#define SRC_PLAYSTATE_H_
#include "AbstractGamestate.h"
#include "Level.h"
#include "HighscoreMenu.h"
//! Handle's the game logic
/*!
The run() method creates a new level and starts the main loop
which update... | [
"joagy323@student.liu.se"
] | joagy323@student.liu.se |
89685a7fde3a290dfbda2794def8a71ebe344a40 | dac5254630fefae851da7c843dcab7f6a6af9703 | /MacOS/Sources/Application/Preferences_Dialog/Sub-panels/Display_Panels/CPrefsDisplayQuotes.h | 3ae596e6f8ccc32a59604a0fb0bcec5591557ba8 | [
"Apache-2.0"
] | permissive | gpreviato/Mulberry-Mail | dd4e3618468fff36361bd2aeb0a725593faa0f8d | ce5c56ca7044e5ea290af8d3d2124c1d06f36f3a | refs/heads/master | 2021-01-20T03:31:39.515653 | 2017-09-21T13:09:55 | 2017-09-21T13:09:55 | 18,178,314 | 5 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 2,437 | h | /*
Copyright (c) 2007 Cyrus Daboo. 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
Unless re... | [
"svnusers@a91246af-f21b-0410-bd1c-c3c7fc455132"
] | svnusers@a91246af-f21b-0410-bd1c-c3c7fc455132 |
309de4d53d0f2acb62863842ef2c06985b0e33ab | eb2ecd17bc9e72dc02cf9296e4179fcf81fda353 | /ProjectEuler/ProjectEuler/ForProblem13.cpp | 4cc9570dc858889d649de12215eccc5601874044 | [] | no_license | Schwarf/MyEP | 35ba27a96aa2887f5d6fe406b9449c7a1ae1c598 | fe978de3c52f4e9f1a26925535897c3ce4158b18 | refs/heads/master | 2020-04-01T07:27:36.737408 | 2018-10-14T15:59:50 | 2018-10-14T15:59:50 | 152,990,891 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 291 | cpp | #include "pch.h"
#include "ForProblem13.h"
std::vector<std::string> ForProblem13::Data()
{
auto fileName = "..\\..\\EulerProjectData\\LargeSum_Problem13\\Numbers.txt";
FileReader FileReader(fileName);
std::vector<std::string> linesInFile = FileReader.getData();
return linesInFile;
}
| [
"andreas.b.scharf@gmail.com"
] | andreas.b.scharf@gmail.com |
a005a74697e3287ff3da08b265e4eda6841c92a4 | dc66632dac12081000da3c8fe551431e4239c413 | /viewer-development/indra/llimage/llpngwrapper.h | 0fc5f08f871ac5592cbbc51f4fd4f53969e3b37f | [] | no_license | MAPSWorks/GIS | ea115b1d4f68fefe42aef91482d440f6c6407d7f | 6bd74a125a35d33a763046a7cc506bdd7a629919 | refs/heads/master | 2020-04-07T16:34:38.952498 | 2012-02-06T20:25:34 | 2012-02-06T20:25:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,308 | h | /*
* @file llpngwrapper.h
*
* $LicenseInfo:firstyear=2007&license=viewerlgpl$
* GIS Viewer Source Code
* Copyright (C) 2010, Linden Research, Inc.
*
* 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 S... | [
"hiz.wylder@gmail.com"
] | hiz.wylder@gmail.com |
02293ee03d355b8f39b3e07a94c9dd1e1cd9494e | 4ee169a029a3bd0df6b29a23340d36ee343d722d | /PA5/src/oglWidget.h | f36f4c9d38e727b73ab0da06f570f6c6d9f3bb16 | [
"MIT"
] | permissive | denismorozov/QtOpenGL-ComputerGraphics | b240555e17b93783c2398249bebeae06ec2a4a53 | 47d83918074eec1a2de908d3ed5c85b5e3efa06b | refs/heads/master | 2021-01-11T03:04:59.093423 | 2015-12-07T16:39:21 | 2015-12-07T16:39:21 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 916 | h | #ifndef OGL_WIDGET_H
#define OGL_WIDGET_H
#include <QApplication>
#include <QOpenGLWidget>
#include <QOpenGLFunctions>
#include <QMatrix4x4>
#include <QKeyEvent>
#include <QDebug>
#include <QString>
#include "camera3d.h"
#include "renderable.h"
#include "cube.h"
#include "suzanne.h"
class OGLWidget : publi... | [
"SaharathKleips@yahoo.com"
] | SaharathKleips@yahoo.com |
17a549b987348188e71f91509b6d139b23d8fb98 | bf232ea707f345294775fdf01989497e9f8680bf | /DiceNew/CQAPI.h | 734dd14796abe4c2aeed8f651c9db390c6711381 | [] | no_license | yagoo1919/mdice | 9741c4b836bbc1830356180b35e24bf5bb6f0d03 | b07b55437fa9fbd85a21bef329498d29686048b1 | refs/heads/master | 2022-11-21T05:42:46.478539 | 2020-07-29T03:00:47 | 2020-07-29T03:00:47 | 283,379,552 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 6,587 | h | /*
CoolQ SDK for VS2017
Api Version 9.13
Written by MukiPy2001 & Thanks for the help of orzFly and Coxxs
*/
#pragma once
#include "cqdefine.h"
#ifdef _MSC_VER
#define CQAPI(NAME,ReturnType) extern "C" __declspec(dllimport) ReturnType __stdcall NAME // NOLINT
#else
#define CQAPI(NAME,ReturnType) extern "C" __attribut... | [
"noreply@github.com"
] | yagoo1919.noreply@github.com |
2d7d1b5818ed0f673e3419b5bf0fc83426f5c462 | f637a3ec15413e8864d1e87be79fc2bbc0be1944 | /proxy/smart_pointers.cc | c4ffc3d1c0bae11f22f1185a4acb57edff41587b | [] | no_license | binoyjayan/design-patterns | 23c4fd34833d5f0f1e1f781cb7462c62d1c750d0 | 600d53182f91c5be056e15d07330190882b42421 | refs/heads/master | 2023-08-22T21:29:34.876428 | 2021-10-11T19:19:24 | 2021-10-11T19:20:35 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,202 | cc | #include <string>
#include <sstream>
#include <memory>
#include <iostream>
using namespace std;
struct BankAccount
{
virtual ~BankAccount() = default;
virtual void deposit(int amount) = 0;
virtual void withdraw(int amount) = 0;
};
struct CurrentAccount : BankAccount {
explicit CurrentAccount(const int balanc... | [
"bjayan@cpacketnetworks.com"
] | bjayan@cpacketnetworks.com |
087b161a2982169b8302497db245d56b06ff3519 | 9c7138c85b9936d23bf2ff4bffc51c2e05ce6cb4 | /src/PowerUp.cpp | 92ab29c7b3bc940aee14da007874c94128a402eb | [] | no_license | Luttien/kIArts | c75bfbf17c9e65db15a44bdd0e70743a0a8e9095 | f32392df7a98e7a7262cf2ec389980696ea30016 | refs/heads/master | 2018-10-09T00:20:06.494181 | 2018-08-31T16:38:09 | 2018-08-31T16:38:09 | 112,459,419 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 799 | cpp | #include "PowerUp.h"
PowerUp::PowerUp() {
model = NULL;
active = false;
}
PowerUp::PowerUp(Vector3<f32> newPosition) {
model = new Cube(50, newPosition);
model -> setVisible(true);
active = false;
timer = new Timer(7500);
}
PowerUp::~PowerUp() {
if (model != NULL) {
delete model;
... | [
"cristinaponcep11@gmail.com"
] | cristinaponcep11@gmail.com |
64663e0d7d0098db74ff1167fb67afe3d570b2f8 | c9796a20cf56aa01ecbc2ff3985703b17bfb51fe | /hackerrank/algorithms/Knapsack/a.cpp | 6fb0b6c3befa17f3255467c8099af3e888c160d5 | [] | no_license | iamslash/learntocode | a62329710d36b21f8025961c0ad9b333c10e973a | 63faf361cd4eefe0f6f1e50c49ea22577a75ea74 | refs/heads/master | 2023-08-31T08:20:08.608771 | 2023-08-31T00:05:06 | 2023-08-31T00:05:06 | 52,074,001 | 7 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 792 | cpp | // Copyright (C) 2018 by iamslash
// https://www.hackerrank.com/challenges/unbounded-knapsack/problem
#include <bits/stdc++.h>
#include <algorithm>
using namespace std;
int unboundedKnapsack(int k, vector <int> arr) {
int C[k+1] = {0,};
int n = arr.size();
for (int i = 0; i <= k; ++i) {
for (in... | [
"iamslash@gmail.com"
] | iamslash@gmail.com |
972b4cc001aac073c37e0df7b954584183c0d068 | c3cc34d6db74cfbea963df81c6466dec64b9bf44 | /TeamProject/Boom.h | 7625629c875aa57263778181b83fc668304b5928 | [] | no_license | qaws1134/API_1945Team | 68d9f9b93f2c486609931697758bbfee023160f2 | c153c1bb2de6596db2858686c6315b03bd46d6cb | refs/heads/master | 2023-05-19T16:41:29.517797 | 2021-06-11T05:04:12 | 2021-06-11T05:04:12 | 374,034,228 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 364 | h | #pragma once
#ifndef __BOOM_H__
#define __BOOM_H__
#include "Item.h"
class CBoom :
public CItem
{
public:
CBoom();
virtual ~CBoom();
// CItem을(를) 통해 상속됨
virtual void Initialize() override;
virtual void Render(HDC _DC) override;
virtual void WriteMatrix() override;
virtual void Use_Item(CObj * _pPlayer) overrid... | [
"57062717+qaws1134@users.noreply.github.com"
] | 57062717+qaws1134@users.noreply.github.com |
2c7d2760554eaf9a9844084e24c3dcda7e7e7a06 | cd98135ee54252094c1ca7aba42d987b765f39cc | /src/MasterSwitcher/src/app/ilocalpc.h | 040f5831d35f736286d573c07184e205bb790e76 | [] | no_license | isliulin/contron-psm70 | 4e0a10a5693bfe87a3f16f9837681d8f7eead450 | c57bff151653e2fed2dda2a13b4a3de3becab535 | refs/heads/master | 2023-03-16T10:16:25.604663 | 2015-09-25T09:36:18 | 2015-09-25T09:36:18 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 198 | h | #ifndef ILOCALPC_H
#define ILOCALPC_H
class ILocalPC
{
public:
ILocalPC();
~ILocalPC();
virtual void onLocalIsSlave()=0;
virtual void onLocalIsMaster()=0;
};
#endif // ILOCALPC_H
| [
"liuguanhong@contron.com.cn"
] | liuguanhong@contron.com.cn |
b780f974d199c4b00d031aeab1c4a5c5e95e00e5 | 3885c062510e352ebb3ce0edff3be4127f5c727f | /src/core/intersection.cpp | 0351279acbfabb2b5239da64bbdc322d822347c0 | [] | no_license | OscarShen/orion | 5f651974c94b9cf4ea1e7180d4934483198aef78 | 50464fb1b4f3ff570441c2797c6987fe7935c639 | refs/heads/master | 2021-01-19T20:54:03.114465 | 2018-08-29T04:40:18 | 2018-08-29T04:40:18 | 88,573,681 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 235 | cpp | #include "intersection.h"
#include "light.h"
ORION_NAMESPACE_BEGIN
Spectrum Intersection::Le(const Vector3f & wo) const
{
const AreaLight *area = primitive->getAreaLight();
return area ? area->L(*this, wo) : 0;
}
ORION_NAMESPACE_END
| [
"oscarshen09@foxmail.com"
] | oscarshen09@foxmail.com |
4f172043c76ca8a3dc54b9fd805405b294ee62f4 | 3af6551baf2684fe6ee2fb36b74e39cb25067559 | /Server/include/CameraManage.h | d465965cfbdad6862b3c10d9a6ce858e6a6cfce4 | [] | no_license | bniss/MediaServer | a6737905d792ba6bccce263df658379ede142a4c | 8d5e6e538eaa61976555e06c2443ab4c1bbdeaa2 | refs/heads/master | 2021-05-31T16:32:35.171890 | 2015-09-09T05:56:58 | 2015-09-09T05:56:58 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,643 | h | #ifndef _CAMERA_H_
#define _CAMERA_H_
#include <boost/shared_ptr.hpp>
#include <boost/enable_shared_from_this.hpp>
#include <boost/thread.hpp>
#include "MyLog.h"
#include "Common.h"
#include "NetServer.h"
#include "NetClient.h"
#include "SingleCamera.h"
#include "CmdDefine.h"
#include "Data.h"
#include "CppSQLite3.h... | [
"arronmy525@gmail.com"
] | arronmy525@gmail.com |
be6e8f3e5b17c640766c544abd04b197a8cd1341 | ef07174a7db292ffb7534bb7c6d5c2f4c7d529f2 | /Apuntes/Recursividad/PotenciaRecursiva.cpp | 770c392d8a895dc0768941ae4aa9bbbdcf0aa816 | [] | no_license | TMRGZ/Practicas-Fundamentos-de-la-Programacion-UMA | a2ceb1866f71b587eb1f62db8580bab8f90df750 | 73a0ef856ca0bf8be94ca2be0d98f22c0685034b | refs/heads/main | 2023-02-04T00:45:52.977350 | 2020-12-13T16:02:45 | 2020-12-13T16:02:45 | 321,102,474 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 213 | cpp | #include<iostream>
using namespace std;
unsigned potencia (unsigned x, unsigned n){
unsigned res;
if(n==0){
res = 1;
}else{
res = x*potencia(n-1, x);
}
return res;
}
| [
"noreply@github.com"
] | TMRGZ.noreply@github.com |
96723f1cd0ebd6b4057d13611285f52a958698ca | 54f352a242a8ad6ff5516703e91da61e08d9a9e6 | /Source Codes/AtCoder/agc007/C/2967704.cpp | 25628b4a8a1c2b358303efdf7426bc7a649b5a7c | [] | no_license | Kawser-nerd/CLCDSA | 5cbd8a4c3f65173e4e8e0d7ed845574c4770c3eb | aee32551795763b54acb26856ab239370cac4e75 | refs/heads/master | 2022-02-09T11:08:56.588303 | 2022-01-26T18:53:40 | 2022-01-26T18:53:40 | 211,783,197 | 23 | 9 | null | null | null | null | UTF-8 | C++ | false | false | 308 | cpp | #include<iostream>
#include<cstdio>
#define db double
using namespace std;
int n;
db x,d,ans,tmp;
int main()
{
int i,j;
cin>>n>>d>>x;
for(;n;n--)
{
ans+=(d*2.0+(db)(2*n-1)*x)/2.0;
tmp=d;
d+=d/(db)n+5.0*x/(db)(2*n);
x+=2.0*x/(db)n;
// cout<<ans<<" "<<d<<" "<<x<<endl;
}
printf("%.10f",ans);
} | [
"kwnafi@yahoo.com"
] | kwnafi@yahoo.com |
726bbf0d039548ade59040a1ad207dcd66e16519 | 5df36d6a2a73d3aa24bd7b1d3fe35a4731706c34 | /ABC162/b.cpp | 208b4bb666e669a9931ce193fba5c13795ccba9c | [] | no_license | shunya-s15/Atcoder | 7a5ce84eef673fc0b1dc4fd1100d44ebe1ba9dcc | 7c670109bcc19a25efa4ec48c95615d0ebaafab0 | refs/heads/master | 2023-06-20T04:12:44.711496 | 2021-07-20T03:47:16 | 2021-07-20T03:47:16 | 282,530,952 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 322 | cpp | #include<iostream>
#include<vector>
#include<algorithm>
using namespace std;
int main(){
int n;
cin >> n;
int64_t ans=0;
for(int i=1;i<=n;i++){
if(i%3==0 || i%5==0){
continue;
}else{
ans+=i;
}
}
cout << ans << endl;
return 0;
... | [
"shunya.suraimu@gmail.com"
] | shunya.suraimu@gmail.com |
a7ac12c0ab73644c6d3a5503d4deb7403b2648a4 | c51febc209233a9160f41913d895415704d2391f | /YorozuyaGSLib/source/_personal_automine_current_state_zoclDetail.cpp | 948b6714bb8091d409002b55fa3b25b7d890b224 | [
"MIT"
] | permissive | roussukke/Yorozuya | 81f81e5e759ecae02c793e65d6c3acc504091bc3 | d9a44592b0714da1aebf492b64fdcb3fa072afe5 | refs/heads/master | 2023-07-08T03:23:00.584855 | 2023-06-29T08:20:25 | 2023-06-29T08:20:25 | 463,330,454 | 0 | 0 | MIT | 2022-02-24T23:15:01 | 2022-02-24T23:15:00 | null | UTF-8 | C++ | false | false | 2,696 | cpp | #include <_personal_automine_current_state_zoclDetail.hpp>
#include <common/ATFCore.hpp>
START_ATF_NAMESPACE
namespace Detail
{
Info::_personal_automine_current_state_zoclctor__personal_automine_current_state_zocl2_ptr _personal_automine_current_state_zoclctor__personal_automine_current_state... | [
"b1ll.cipher@yandex.ru"
] | b1ll.cipher@yandex.ru |
6b13c3fc77a4f2d4d9d90737cf230ad7feb4a098 | 1ec55de30cbb2abdbaed005bc756b37eafcbd467 | /Nacro/SDK/FN_BP_PlayerSpawnTeleportPad_parameters.hpp | 42b6a8c167be8f069e7f0f19963d401fc4382ae0 | [
"BSD-2-Clause"
] | permissive | GDBOI101/Nacro | 6e91dc63af27eaddd299b25351c82e4729013b0b | eebabf662bbce6d5af41820ea0342d3567a0aecc | refs/heads/master | 2023-07-01T04:55:08.740931 | 2021-08-09T13:52:43 | 2021-08-09T13:52:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 26,433 | hpp | #pragma once
// Fortnite (1.8) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "../SDK.hpp"
namespace SDK
{
//---------------------------------------------------------------------------
//Parameters
//---------------------------------------------------------------------------
// Function BP_PlayerSpaw... | [
"68667854+Pakchunk@users.noreply.github.com"
] | 68667854+Pakchunk@users.noreply.github.com |
e0b8a34fa6a6fa0206f63fee11fb264faab759dc | e87582df03601e57beb4f293fc60048106430b52 | /include/chrono.h | 18554879cf25c9bbd77c9713306e83b92b92654e | [] | no_license | RazaKazmi/ProgrammingExercises | 3c99501f25b4d5cac4a1d5c58f6721e4826c8195 | 0185cc22487dbe49407cf45da30801e5cd5541bd | refs/heads/master | 2023-09-02T16:18:23.688890 | 2021-11-16T17:34:57 | 2021-11-16T17:34:57 | 384,226,356 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,174 | h | #pragma once
#include <iostream>
namespace Chrono
{
enum class Month
{
jan = 1, feb, mar, apr, may, jun, jul, aug, sep, oct, nov, dec
};
class Date
{
public:
class Invalid{};
// Check for valid date and initalize
Date(int y, Month m, int d);... | [
"22304772+RazaKazmi@users.noreply.github.com"
] | 22304772+RazaKazmi@users.noreply.github.com |
55b1a77f468b69bf16b9d5f4d745306bee827b94 | 9639c4451a7f2845a57931b6a670a2f744f58e0f | /johan/6주차/1967.cpp | 74611947ac0cfb43757a6bcb93b1593bcf611bbf | [] | no_license | 42somoim/42somoim2 | d00a256c5ca949d89b444e1600043afac2c0c4d6 | 64c9fb657736c84d88df901e3d1662c05ddc5954 | refs/heads/master | 2023-03-24T13:42:43.489332 | 2021-03-15T13:25:57 | 2021-03-15T13:25:57 | 300,144,427 | 1 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 832 | cpp | #include <iostream>
#include <vector>
#include <cstring>
using namespace std;
vector<pair<int, int> > graph[10001];
int n, diameter = 0, farthestNode = 0;
int visited[10001];
void dfs(int node, int cost)
{
if (visited[node])
return ;
visited[node] = 1;
if (diameter < cost)
{
diameter = cost;
farthestNode = ... | [
"lgwl81@gmail.com"
] | lgwl81@gmail.com |
c793f472a4b8ab43d5a271499dd154f133884352 | d1077a0e204151af2d44997ed8e4f4a7150fccec | /AIProjects/GameAIProject_01/SeekBehaviour.cpp | 578cd58674c89a9d8548254d312e1925056dae7c | [] | no_license | JustinKatic/AIRaylibProjects | e386d554802473b9653c437c76942a6c833d92f1 | e0469912859879d6c566288f9a7e0c4907da05e8 | refs/heads/master | 2022-12-12T02:35:55.920699 | 2020-08-21T00:12:37 | 2020-08-21T00:12:37 | 281,823,603 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,444 | cpp | #include "SeekBehaviour.h"
#include <iostream>
#include "GameObject.h"
SeekBehaviour::SeekBehaviour()
{
}
SeekBehaviour::~SeekBehaviour()
{
}
void SeekBehaviour::Update(GameObject* obj, float deltaTime)
{
float distToTarget = Vector2Distance(obj->GetPosition(), m_target);
//if entity reached target call on arriv... | [
"justinkatic4@gmail.com"
] | justinkatic4@gmail.com |
207f950d04cef842790ad2adaabc812aaaba8f6b | 42c187cd09d4bd077372115ed316b150b540d0bc | /Sandbox/SandboxApp.cpp | 97831cc1a311331461e926f3a783f65b0cdd8baf | [] | no_license | Sirpip91/Pip | ae8449f1d1d7b14b9b433d95d9804305786eaead | fc3d43c9ac3695fc050668e4b836ab46e3314c26 | refs/heads/main | 2023-07-05T19:46:48.781323 | 2021-08-19T14:47:26 | 2021-08-19T14:47:26 | 395,448,645 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 200 | cpp | #include "pippch.h"
#include<Pip.h>
class Sandbox : public Pip::Application
{
public:
Sandbox()
{
}
~Sandbox()
{
}
};
Pip::Application* Pip::CreateApplication()
{
return new Sandbox();
} | [
"allenbradley91@hotmail.com"
] | allenbradley91@hotmail.com |
496c0ec47f52cfb7b7566558b6adf1faa3934d9d | fa0c642ba67143982d3381f66c029690b6d2bd17 | /Source/Engine/Platform/ios/GameCenter/iosGameCenter.h | 4bc2bfbd146361aada9dc40673013d9f31eae064 | [
"MIT"
] | permissive | blockspacer/EasyGameEngine | 3f605fb2d5747ab250ef8929b0b60e5a41cf6966 | da0b0667138573948cbd2e90e56ece5c42cb0392 | refs/heads/master | 2023-05-05T20:01:31.532452 | 2021-06-01T13:35:54 | 2021-06-01T13:35:54 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 748 | h | //! @file iosGameCenter.h
//! @author LiCode
//! @version 1.1.0.621
//! @date 2011/01/17
//! Copyright 2009-2010 LiCode's Union.
#pragma once
namespace EGE
{
//----------------------------------------------------------------------------
// iosGameCenter
//--------------------------------------------------... | [
"zopenge@126.com"
] | zopenge@126.com |
f766b77e36e741578568891234947735c80da21d | afe730a0f68c678402b1a6145761c4eaf9206554 | /src/qt/bitcoinamountfield.cpp | 02b3d3541c2b63123a032a64a95f4167ace1c36f | [
"MIT"
] | permissive | DEXBET/eliqa | dcbffd23408f10b40f2bcd5d3dea6a5da1a2a352 | 7fa23327a902b0422a07ebb670464445f93e597d | refs/heads/master | 2020-03-18T03:38:48.537663 | 2018-04-09T14:33:29 | 2018-04-09T14:33:29 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,186 | cpp | // Copyright (c) 2011-2014 The Bitcoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "bitcoinamountfield.h"
#include "bitcoinunits.h"
#include "guiconstants.h"
#include "qvaluecombobox.h"
#include <QA... | [
"worker@worker"
] | worker@worker |
689cc95b0bb28e4a1c13aa851d8ff176841c41d5 | 1da725803e8f81f0a0a35e603d23cc9f365abd0b | /TextLog.cpp | 17f4726cb4e7319cfbf51e01262db56b91b33417 | [] | no_license | darkain/wasabi-irc | 3e624eee439e43b0eec8a4cf8d1d66f9c1295094 | 5e71076068a40b0e88df60400e361e995cedd5cb | refs/heads/master | 2020-04-27T05:52:02.476881 | 2019-03-06T07:19:27 | 2019-03-06T07:19:27 | 174,092,710 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,076 | cpp | #include "precomp.h"
#include "../../bfc/std.h"
#include "TextLog.H"
TextLog::TextLog() {
lockcallback = FALSE;
showurl = TRUE;
showtimestamp = TRUE;
}
TextLog::~TextLog() {
}
BOOL TextLog::isTextUrl(const char *text) {
for (int i=0; i<8; i++) { if (text[i] == NULL) return FALSE; }
static char www[] = "www.... | [
"git@darkain.com"
] | git@darkain.com |
71547c8b39063251831de56470fee7e04a752ce4 | c737a4344065f4a3e596f81da2b875686554d14f | /hunterlevl1-3.cpp | 3674749ab2cce372cdca850e59a3380062ee7571 | [] | no_license | santhoshpro05/codekata | 56698f1a6a0cbf848d5dc231cc594ffe6a1d4b76 | d9aec8d9104c6be9fde17171de96293b99466c5f | refs/heads/master | 2021-04-28T05:54:52.215400 | 2018-07-07T10:13:56 | 2018-07-07T10:13:56 | 122,189,802 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 289 | cpp | #include<stdio.h>
void main()
{
long int a[100000],v,i;
int f=0;
printf("enter a no");
scanf("%ld",&v);
printf("enter numbers\n");
for(i=0;i<v;i++)
{
scanf("%ld",&a[i]);
}
for(i=0;i<v;i++)
{
if(a[i]==i)
{
f=1;
printf("%d",i);
}
}
if(f==0)
printf("-1");
}
| [
"noreply@github.com"
] | santhoshpro05.noreply@github.com |
84d0eeb398ce4518349d0b4cb111d5242ccffad0 | 36de1033a8ba7ed4be4c1d416595d3f8856283c3 | /Prepare second camp/1st day/philo.cpp | 230a2f2736626280c9af18c51da87a59ce4136b2 | [] | no_license | Sav-eng/C | d9f21f5d05b955555e74ac73548b28ebb5043d78 | 99393603a1833b386ff4832b5ca44feae4529ec8 | refs/heads/master | 2021-11-22T22:13:12.059015 | 2021-11-07T08:29:45 | 2021-11-07T08:29:45 | 167,829,396 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 780 | cpp | #include<stdio.h>
int arr[1000][1000];
int a,b;
int mem[1000][1000];
int max(int x,int y)
{
if(x>y) return x;
return y;
}
int fm(int i,int j)
{
if(i>=a || j < 0 || j >=b)return 0;
else
{
if(mem[i][j]==0)
{
mem[i][j]= max(fm(i+1,j),max(fm(i+1,j+1),fm(i+1,j-1)))+arr[i][j];
... | [
"save-000@hotmail.com"
] | save-000@hotmail.com |
3a530bf70ada0c9d22afe6a8757f0fcfe3ee30c1 | e8ffb6a293a3c25b760a6784e0b0f852290d175e | /UVA Solutions/272.TEX quote.cpp | 32cf91a52c1e1a569c6656252629386db3a427da | [] | no_license | lutfullahillabib/ACM-SOLUTION | cd8fa2db281a7b7736d42961174c9ca6e311d897 | 9b60fe8b72a0cfd27238f1372d028184baa015cb | refs/heads/master | 2022-01-12T05:08:20.359827 | 2018-10-31T20:44:14 | 2018-10-31T20:44:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 548 | cpp | #include<cstdio>
#include<cstring>
#include<string>
#include<iostream>
using namespace std;
int main()
{
char a[1000];
int i,n=0;
while(gets(a))
{
for(i=0; a[i]!='\0'; i++)
{
if(a[i]=='"')
{
n++;
if(n%2==1)
pri... | [
"rctushar07@gmail.com"
] | rctushar07@gmail.com |
d812c4fd37045b12519ea7d67b1f3e4735bf8d00 | 184bcf7925e6718b3021946581576f8cae80526b | /BOJ/2019-团队-2/C.cpp | b1c79414cc9e822282cf3397330cb59a72238ee1 | [] | no_license | iPhreetom/ACM | a99be74de61df37c427ffb685b375febad74ed9a | f3e639172be326846fe1f70437dcf98c90241aa0 | refs/heads/master | 2021-06-14T08:11:24.003465 | 2019-09-13T22:54:34 | 2019-09-13T22:54:34 | 142,748,718 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 555 | cpp | // fyt
#include<bits/stdc++.h>
#define int long long
#define double long double
#define endl '\n'
using namespace std;
signed main(){
ios::sync_with_stdio(false),cin.tie(0),cout.tie(0);
int t;
cin >> t;
while(t--) {
int n;
cin >> n;
priority_queue<int,vector<int>,greater<int>> que;
for (int i=1; i<=n; i++... | [
"iPhreetom@gmail.com"
] | iPhreetom@gmail.com |
7d491c27762be810ff073736e78d84a2a1207860 | 1a17167c38dc9a12c1f72dd0f3ae7288f5cd7da0 | /Source/ThirdParty/angle/third_party/spirv-tools/src/source/fuzz/transformation_equation_instruction.h | 7eec9c65931ba3ad8478e90314c63f9b82c6f680 | [
"BSD-3-Clause",
"LicenseRef-scancode-unknown-license-reference",
"MIT",
"LicenseRef-scancode-generic-cla",
"Apache-2.0",
"LicenseRef-scancode-warranty-disclaimer",
"Zlib",
"LicenseRef-scancode-khronos",
"BSL-1.0",
"BSD-2-Clause"
] | permissive | elix22/Urho3D | c57c7ecb58975f51fabb95bcc4330bc5b0812de7 | 99902ae2a867be0d6dbe4c575f9c8c318805ec64 | refs/heads/master | 2023-06-01T01:19:57.155566 | 2021-12-07T16:47:20 | 2021-12-07T17:46:58 | 165,504,739 | 21 | 4 | MIT | 2021-11-05T01:02:08 | 2019-01-13T12:51:17 | C++ | UTF-8 | C++ | false | false | 3,172 | h | // Copyright (c) 2020 Google LLC
//
// 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 ... | [
"elialoni@Elis-MacBook-Pro-16.local"
] | elialoni@Elis-MacBook-Pro-16.local |
bea79a4928fe2ef9eb78e65bb6bc472e1f0d45ab | 30ccf1e43761a0e8c491b69b9620cc28df45be82 | /code/include/mainframe/cef/cefhelper.h | 2e1fd46ea11f458352f775a8527f79e4d043c53c | [
"MIT"
] | permissive | Goofy-Penguin/MainframeCef | 0edae4b89e74bfd050b0f93468aee4638bd49eb9 | c04a3e9391af31a73a6cf4e0e0abef8ab3c25be1 | refs/heads/main | 2023-04-12T09:31:08.783934 | 2021-05-17T20:06:04 | 2021-05-17T20:06:04 | 318,504,522 | 0 | 0 | MIT | 2021-04-11T20:49:10 | 2020-12-04T12:06:31 | C++ | UTF-8 | C++ | false | false | 364 | h | #pragma once
#include <include/cef_client.h>
#include <mainframe/ui/modifierkey.h>
namespace mainframe {
namespace cef_ {
class Helper {
public:
static uint32_t mouseGlfwToCefEvent(CefBrowserHost::MouseButtonType btn);
static int convertGlfwKeyToCef(int key);
static int getCefKeyboardModifiers(int key, ... | [
"bromvliegbrombeer@gmail.com"
] | bromvliegbrombeer@gmail.com |
c04814ef53359f6b8fcb04848c08d9586d06c8ce | ad594d3d1cc6fe4c34b596d9564a7b1bf54a2f7a | /313.cpp | 3079e5c40a2e0475664bfc09eabc03edba182861 | [] | no_license | colinlee1999/leetcode | 16199151de09073754e2d209af170fd3b489bb21 | 5ada773459ca45a942113a96581550a1b1af9987 | refs/heads/master | 2020-05-21T23:13:27.766217 | 2017-08-23T06:07:28 | 2017-08-23T06:07:28 | 61,930,482 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,530 | cpp | #include "iostream"
#include "vector"
#include "set"
#include "map"
using namespace std;
class Solution {
public:
Solution()
{
series.push_back(1);
heap.push_back(heap_element(0, 0, series));
}
int nthSuperUglyNumber(int n, vector<int>& primes) {
for (auto pit : primes)
heap.push_back(heap_element(0, pit... | [
"arteest@foxmail.com"
] | arteest@foxmail.com |
dcac7e1b01535d84d9b544133d4877d2a9a21904 | f2bf3fc97d65fb67f9ed016a32bd4e6e7dfeed06 | /30.1.cpp | 3db158a6348a6d9e2397c3a195f7f02e0dfafa10 | [
"MIT"
] | permissive | Shiv-Shah/c-work-HS | 48581ea7e40c5eabcaf57e93192afb47f82dfd35 | 090b6a63bd7d8f55523adc590e6eeae7770ce663 | refs/heads/master | 2020-03-20T20:43:17.808901 | 2018-10-08T18:54:13 | 2018-10-08T18:54:13 | 137,702,608 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,408 | cpp | #pragma once
#include <iostream>
#include <string>
using namespace std;
class date {
public:
date()
{
myMonth = 1;
myDay = 1;
myYear = 1;
}// default constructor, date is set to valid values of your choice
date(int month, int day, int year)
{
myMonth = month;
myDay = day;
myYear =... | [
"noreply@github.com"
] | Shiv-Shah.noreply@github.com |
53933a279a37e39480404c99c92aff6a99927857 | d46c60d12cf8ba53e5518b0497df664e3fb4fb21 | /ring3/newCSGOdll/newCSGO/CDrawing.cpp | 57905041971385ff9811922f2a793f192f8540a8 | [] | no_license | rootm0s/Cheats | 3b47cf414bf66d5402314c00d75d22c887c315af | 831a46c8c72cc0343f93cae6db4ea170ab6129fa | refs/heads/master | 2021-05-08T00:18:29.838947 | 2017-10-23T07:34:50 | 2017-10-23T07:34:50 | 107,648,524 | 141 | 49 | null | null | null | null | UTF-8 | C++ | false | false | 1,382 | cpp | #include "stdafx.h"
CDrawing cDraw;
void CDrawing::TextW(bool cent, int font, int x, int y, Color color, wchar_t *pszString)
{
if(cent)
{
int wide, tall;
pSurface->GetTextSize(font, pszString, wide, tall);
x -= wide / 2;
y -= tall / 2;
}
pSurface->DrawSetTextColor( color );
pSurface->DrawSetT... | [
"noreply@github.com"
] | rootm0s.noreply@github.com |
efb9553fa3d8a537118f4337f8175996a4743124 | 426c6ac8e5f2d352d9771326335ef2017b534490 | /app/src/main/cpp/libs/jpegutil/JpegDecPlanarYCbCr.h | 100a60b8636e325c45ba11bf729e3d1fcf7946c0 | [] | no_license | raynor73/MobileEngine3D | a564bb788b5278820c8970fcd14de6532ee3d96a | a0aae8bcab68b568115a4966c0992437856b2b40 | refs/heads/master | 2021-06-30T05:20:54.372972 | 2017-07-11T08:12:35 | 2017-07-11T08:12:35 | 103,912,172 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 621 | h | #ifndef JPEGDECPLANARYCBCR_H_
#define JPEGDECPLANARYCBCR_H_
#include <stdio.h>
#include <stdint.h>
#include <stdlib.h>
#include <jpeglib.h>
namespace jpegutil {
class JpegDecPlanarYCbCr {
public:
JpegDecPlanarYCbCr();
virtual ~JpegDecPlanarYCbCr();
JpegDecPlanarYCbCr(const JpegDecPlanarYCbCr&) = delete... | [
"ilapin@parallels.com"
] | ilapin@parallels.com |
f93b0c6becbf0ad64eeaa3d586e47e314c795f11 | d120030c7500aa61a931d040b340c2df9942615b | /synthlab_dm/dm_projects/sfx_wt/source/synthlabcore.h | e28d47b7250f64f1791e6a2c3f8905fc93f33cb1 | [] | no_license | benlainer/SynthLab | 77181520fb440d5404d401650a18120bffec707b | 1dc7a060b8b75f4f6c238c4ad3db287145baa923 | refs/heads/main | 2023-06-17T23:46:19.424906 | 2021-07-11T18:47:01 | 2021-07-11T18:47:01 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,939 | h | #pragma once
// *** NOTE: relative paths to SDK files ********************************************
// these are setup so that ModuleCore DM projects are compiled directly
// from the SDK itself with minimal effort
//
// You may want to adjust these to suit your particular developmen... | [
"willpirkle@gmail.com"
] | willpirkle@gmail.com |
7b4122373680123beb8be9ce6b21326676b90f6b | d16dd63f004534adfe1efd6423ccd519741a0918 | /lib/glcpp/src/shader/Shader.hpp | f842c489d9d610c6b76f1f7c8d2d970bdc0d5a09 | [] | no_license | andraantariksa/opengl-playground | ddf60c92aaab9cd3deb04fa36f3d67ceda8fcaa6 | 5305df8702453c5918f8784c374930d9fa1e251c | refs/heads/master | 2023-05-03T06:09:55.824882 | 2021-05-23T15:58:50 | 2021-05-23T15:58:50 | 370,096,195 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,459 | hpp | #ifndef GLCPP_SRC_SHADER_SHADER_HPP
#define GLCPP_SRC_SHADER_SHADER_HPP
#include <glad/glad.h>
#include "../exception/CompileException.hpp"
namespace GLCPP
{
class Shader
{
public:
enum class Type : GLenum
{
VertexShader = GL_VERTEX_SHADER,
FragmentShader = GL_FRAG... | [
"andra.antariksa@gmail.com"
] | andra.antariksa@gmail.com |
49de365ec20f405994d02e5cdd7f78782fa72a45 | 4616892ed9605c6f938e8941ec18dc5f3a5c45e5 | /BOOKS_SAMPLES/OpenGL_Receptury_Book/oryginalne/Rozdzia2/KameraSwobodna/KameraSwobodna/GLSLShader.cpp | 9838442578c7479db8c7a83967b48d4b5de17e55 | [] | no_license | rafal-tarnow/TEMPLATES | a10d18d8a1e7dcfa842d5981d50574aa8ea66a20 | 8eafb525f3cc4d9fd32034955a29d77b7dbcd4f5 | refs/heads/master | 2020-06-19T05:29:10.619931 | 2018-06-07T06:00:17 | 2018-06-07T06:00:17 | 94,178,253 | 0 | 1 | null | null | null | null | WINDOWS-1250 | C++ | false | false | 3,047 | cpp | #include "GLSLShader.h"
#include <iostream>
GLSLShader::GLSLShader(void)
{
_totalShaders=0;
_shaders[VERTEX_SHADER]=0;
_shaders[FRAGMENT_SHADER]=0;
_shaders[GEOMETRY_SHADER]=0;
_attributeList.clear();
_uniformLocationList.clear();
}
GLSLShader::~GLSLShader(void)
{
_attributeList.clear();
_uniformLocationLis... | [
"rafal.kruszyna@zmt.tarnow.pl"
] | rafal.kruszyna@zmt.tarnow.pl |
ebad4d8dd8ba92ba865b981e95c3cc1224a5d9dd | 685d26127352a9e846111c60f47cf94db4763296 | /libowybot/inc/picking_module.hpp | 8d81509aaf21bcbb4e6ac6a10e8aa4ddc05ae537 | [] | no_license | luannbr/L2InterludeBot | b15769a9c6244d5205510b77888958a6edd8a47a | 8d87dd1aae1bc4f62119658cc81f737a230804f5 | refs/heads/master | 2023-04-17T01:46:06.790756 | 2021-04-21T19:29:10 | 2021-04-21T19:29:58 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 105 | hpp | #pragma once
namespace picking_module
{
bool perform_action(); // return true if action is performed
};
| [
"krzpyrkosz@gmail.com"
] | krzpyrkosz@gmail.com |
06114a31a8761e492463666b1f8ba5fa04794598 | d0fb46aecc3b69983e7f6244331a81dff42d9595 | /privatelink/src/model/TagResourcesRequest.cc | d1a899786e77689139be9f6d2894c34b36db5dad | [
"Apache-2.0"
] | permissive | aliyun/aliyun-openapi-cpp-sdk | 3d8d051d44ad00753a429817dd03957614c0c66a | e862bd03c844bcb7ccaa90571bceaa2802c7f135 | refs/heads/master | 2023-08-29T11:54:00.525102 | 2023-08-29T03:32:48 | 2023-08-29T03:32:48 | 115,379,460 | 104 | 82 | NOASSERTION | 2023-09-14T06:13:33 | 2017-12-26T02:53:27 | C++ | UTF-8 | C++ | false | false | 2,850 | cc | /*
* Copyright 2009-2017 Alibaba Cloud 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
*
* Unless required by... | [
"sdk-team@alibabacloud.com"
] | sdk-team@alibabacloud.com |
e76003ce59560550a775897bfa98689194acfcda | e28ac09cf260fa33c9e7cabbb5315a0264a4a151 | /WinBase/TemplateTimer.h | ce4e76cd8484845474fdd18e7418bb44fb4a0539 | [] | no_license | jadesnake/baselib | 10ed98b68c2114ff9c4e3b7ecb196f09930ca945 | 784e83f97c6a47572a8f4367d6a1c3d3aa165a7f | refs/heads/master | 2023-02-10T05:43:28.160948 | 2023-02-06T09:33:24 | 2023-02-06T09:33:24 | 102,822,990 | 9 | 6 | null | null | null | null | GB18030 | C++ | false | false | 2,919 | h | #pragma once
#include <atlbase.h>
static void CALLBACK TimerProc(void*, BOOLEAN);
//
// 类名称:CTimer
// 类描述:定时器类
//
class CTimer
{
public:
CTimer()
{
m_hTimer = NULL;
m_mutexCount = 0;
}
virtual ~CTimer()
{
Stop();
}
bool Start(unsigned int nInterval, // 以毫秒为单位
... | [
"jadesoft@hotmail.com"
] | jadesoft@hotmail.com |
ca9a0e6ed395aa2632c14407d6f437b9e01b60ab | d2d6aae454fd2042c39127e65fce4362aba67d97 | /build/iOS/Preview1/src/Fuse.Text.Bidirectional.g.cpp | 51edeed44c6f4260c632340c90587f1b8333477a | [] | no_license | Medbeji/Eventy | de88386ff9826b411b243d7719b22ff5493f18f5 | 521261bca5b00ba879e14a2992e6980b225c50d4 | refs/heads/master | 2021-01-23T00:34:16.273411 | 2017-09-24T21:16:34 | 2017-09-24T21:16:34 | 92,812,809 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 19,592 | cpp | // This file was generated based on '(multiple files)'.
// WARNING: Changes might be lost if you edit this file directly.
#include <Fuse.Text.Bidirection-87dd5f24.h>
#include <Fuse.Text.Bidirectional.Run.h>
#include <Fuse.Text.Bidirectional.Runs.h>
#include <Fuse.Text.Bidirection-d76428a6.h>
#include <Fuse.Text.Shaped... | [
"medbeji@MacBook-Pro-de-MedBeji.local"
] | medbeji@MacBook-Pro-de-MedBeji.local |
6b3fd273b45ddb9783a1abdab3c9099320992fd4 | 9423a2cdf7bb75f8c7f672f9961a1ba6fa311b0a | /baekjoon 1193.cpp | b0e1afdcd740738a7d7718c05c7f04337375c250 | [] | no_license | OkiHeo/BOJ-sol | 318f6897d5a8038be91e8a72de9bf78fc0b55d62 | dc691b0b5f45c6457ae6c673a9a731d9383b8aa7 | refs/heads/master | 2020-09-12T01:14:09.305739 | 2020-02-25T14:34:34 | 2020-02-25T14:34:34 | 222,252,212 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 433 | cpp | #include <iostream>
int main()
{
long long int X;
std::cin>>X;
int no=0;
int up, down;
int num=0;
while(1){
num++;
if( num %2 == 0 ){
up = 1;
down = num;
}
else{
up = num;
down = 1;
}
for( int i=0; i<num; i++){
no++;
if( no == X ){
std::cout<<up<<'/'<<down;
return 0;
... | [
"37202612+OkiHeo@users.noreply.github.com"
] | 37202612+OkiHeo@users.noreply.github.com |
485db243d678ad216c70607f8456de9a376ce395 | ed4e45e69e5342b59fe26a4239fc9c1d5d7eaa7c | /Depends/SmartWin-2.0.0-RC2-CVS/include/boost/mpl/map/aux_/erase_key_impl.hpp | b03958dcead2f102b1c7d15996af4f98d4a7ca61 | [
"BSD-3-Clause"
] | permissive | Konnekt/kTransfer3 | 75d4f94e1f398b4760ec4ed5d03659e5269e8abd | 8dc3c1fdf0a512c9c0f046176477e4d72f8135c6 | refs/heads/master | 2016-09-05T21:08:49.468236 | 2012-12-16T13:06:48 | 2012-12-16T13:06:48 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,447 | hpp |
#ifndef BOOST_MPL_MAP_AUX_ERASE_KEY_IMPL_HPP_INCLUDED
#define BOOST_MPL_MAP_AUX_ERASE_KEY_IMPL_HPP_INCLUDED
// Copyright Aleksey Gurtovoy 2003-2004
// Copyright David Abrahams 2003-2004
//
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// ... | [
"sija@sija.pl"
] | sija@sija.pl |
6cddf9c2fe77849e0161a0b730f4d3f7e5640fb7 | 04d2afabdebc6ce4a733f6519088a4dcd76cda03 | /devel/.private/kinova_msgs/include/kinova_msgs/ClearTrajectoriesResponse.h | d56d5db71a2f440710ddc9b1b787d19868b37249 | [
"MIT"
] | permissive | FProgrammerLIU/caster_man_ros | 11c3b7d153ab4663903c031006041b8af5672af3 | a75b503fad3a470f985072a2b3953e89074f3223 | refs/heads/master | 2020-09-13T18:47:17.822909 | 2019-11-20T06:55:32 | 2019-11-20T06:55:32 | 222,870,826 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,804 | h | // Generated by gencpp from file kinova_msgs/ClearTrajectoriesResponse.msg
// DO NOT EDIT!
#ifndef KINOVA_MSGS_MESSAGE_CLEARTRAJECTORIESRESPONSE_H
#define KINOVA_MSGS_MESSAGE_CLEARTRAJECTORIESRESPONSE_H
#include <string>
#include <vector>
#include <map>
#include <ros/types.h>
#include <ros/serialization.h>
#includ... | [
"995536737@qq.com"
] | 995536737@qq.com |
c4f7c73eedc10f503a1df08675b6f35adcd1c795 | b71b8bd385c207dffda39d96c7bee5f2ccce946c | /testcases/CWE762_Mismatched_Memory_Management_Routines/s05/CWE762_Mismatched_Memory_Management_Routines__new_array_delete_wchar_t_14.cpp | 1345ab4f42e53ab9bb57dc20822205124ada9b40 | [] | no_license | Sporknugget/Juliet_prep | e9bda84a30bdc7938bafe338b4ab2e361449eda5 | 97d8922244d3d79b62496ede4636199837e8b971 | refs/heads/master | 2023-05-05T14:41:30.243718 | 2021-05-25T16:18:13 | 2021-05-25T16:18:13 | 369,334,230 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,973 | cpp | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE762_Mismatched_Memory_Management_Routines__new_array_delete_wchar_t_14.cpp
Label Definition File: CWE762_Mismatched_Memory_Management_Routines__new_array_delete.label.xml
Template File: sources-sinks-14.tmpl.cpp
*/
/*
* @description
* CWE: 762 Mismatched Memory Managem... | [
"jaredzap@rams.colostate.edu"
] | jaredzap@rams.colostate.edu |
c26b50c5e0a5fd473c704dd1816994fd1d62ed62 | 29d06ebd92c4e3804c21f15f5d4b450ab4bbbfc5 | /src/double_dirichlet_categorical_factor.hpp | affe812aa94bf33c84431a5b47eed7cc2d4702f7 | [] | no_license | Sawndip/graphmod | 0f05302d92874b68e41741f66683065f6e36f923 | 94c6cae73a01b2d01743bc34f2cc4ecbcf94af93 | refs/heads/master | 2021-05-30T00:26:37.484528 | 2015-02-24T17:15:48 | 2015-02-24T17:15:48 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,500 | hpp | #ifndef GRAPHMOD_DOUBLE_DIRICHLET_CATEGORICAL_FACTOR_HPP
#define GRAPHMOD_DOUBLE_DIRICHLET_CATEGORICAL_FACTOR_HPP
#include <functional>
#include "factor.hpp"
#include "variable_interface.hpp"
#include "categorical_variable.hpp"
#include "continuous_vector_variable.hpp"
#include "probability_vector.hpp"
namespace grap... | [
"tom.lippincott@gmail.com"
] | tom.lippincott@gmail.com |
d221a94727a85f387517ed95a06bdff399c5aa70 | 950161afb4cbe035579af74aa69a206e543697da | /grammar/pglang_grammar__definition.cpp | ea4897a6f7564b090b94828ae4fd581dca031c73 | [] | no_license | mugisaku/pglang | 31120a683cce8c9bca2c9271aa659a1a96269c1a | afdbd2c6e7f10bc2e16302d04fe9a26d33496b8e | refs/heads/master | 2021-01-12T07:49:04.379042 | 2017-02-01T03:49:08 | 2017-02-01T03:49:08 | 77,029,725 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 713 | cpp | #include"pglang_grammar__definition.hpp"
#include"pglang_grammar__symbol.hpp"
#include"pglang_grammar__book.hpp"
namespace pglang{
namespace grammar{
Definition::
Definition(std::string&& name_, int begin_, int end_, Group&& grp):
name(std::move(name_)),
beginning_character(begin_),
ending_character(end_),... | [
"lentilspring@gmail.com"
] | lentilspring@gmail.com |
00ed5517837d563e629773066eb92c721253eab6 | 5d127c8cfce3e064bb2ac333b7cbee5cd3afa5d0 | /Server/Server/Console.cpp | e375ddbd5bba93b74108c4ad9ecccaaafb29d151 | [
"MIT"
] | permissive | kbm0996/-Network-SelectModel-StarControl | 9ed6d04c99cd5890aec132d9366aeed60ed88459 | d920b9799b65d5dda93dca244f6470f9a8b4b37e | refs/heads/master | 2020-04-21T03:21:20.444020 | 2019-12-15T21:17:23 | 2019-12-15T21:17:23 | 169,282,376 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,231 | cpp | #include <windows.h>
#include <stdio.h>
#include "_config.h"
HANDLE g_hConsole;
void cs_Initial(void)
{
CONSOLE_CURSOR_INFO stConsoleCursor;
//-------------------------------------------------------------
// Set Cursor to Invisible
//-------------------------------------------------------------
stConsoleCursor... | [
"kbm0996@naver.com"
] | kbm0996@naver.com |
3d1533458f04d64e36baa8279fc96f958af6e4f3 | 47a424ac0fb904ba8da6fa5f97c83724b429331e | /Natarajan_Project9/Source.cpp | 84416f7d819f605a32872e56c512e2883266bac6 | [] | no_license | deepa-Natarajan/Temperature-App | f82478bb815419c29d50a3b28fb2c5586636389e | b7ce978576653a799a01d2666eab2f3959b89758 | refs/heads/master | 2020-07-07T12:36:50.838016 | 2019-08-20T10:41:48 | 2019-08-20T10:41:48 | 203,349,679 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 941 | cpp | #include<iomanip>
#include<iostream>
#include"Header.h"
using namespace std;
double temperature::getFahrenheit() {
return fahrenheit;
}
double temperature::getCelsius() {
return centigrade;
}
double temperature::FahrenheittoCelsius()
{
centigrade=(getFahrenheit() - 32) * 5 / 9;
return centigrade;
}
double tem... | [
"53449985+deepa-Natarajan@users.noreply.github.com"
] | 53449985+deepa-Natarajan@users.noreply.github.com |
83763c5b629c44570fb6fc92df67c92510f7a38e | 54cd530ef6d1c777b633f492ef902450181af6bf | /kamylmeister.cpp | 926090fc6ec30b00850be5318d0214ab770d1790 | [] | no_license | mmoscicki/ConsoleApplication11 | c1773d82032b896bdd3834495d03b200f50d3903 | 17698fcaa5e5071e8cc02ef6e5f3a3039b244630 | refs/heads/master | 2021-06-24T17:06:01.535602 | 2021-04-14T12:58:37 | 2021-04-14T12:58:37 | 216,990,458 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 33 | cpp | #include "pch.h"
// Kamil Ramocki | [
"kamil.ramocki@gmail.com"
] | kamil.ramocki@gmail.com |
b0931c899088a1f9a1beda0d318ce4d021a378a8 | 33fc983a345097f49099ac3d39da62db16f651fd | /Il2CppOutputProject/Source/il2cppOutput/Bulk_System.Runtime.Extensions_0.cpp | b924c812c20d7f82d4f5fcaa2093bacd887bf37f | [] | no_license | JohnFlex/PaintingLive | d14e18027bc401d7da846107a6edbc5aa659406e | e89605f0025f7e25b37b6e0f92cbc0bb35cb890a | refs/heads/master | 2020-05-22T16:09:03.019167 | 2019-05-14T08:13:43 | 2019-05-14T08:13:43 | 186,422,282 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,746 | cpp | #include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <cstring>
#include <string.h>
#include <stdio.h>
#include <cmath>
#include <limits>
#include <assert.h>
#include <stdint.h>
#include "il2cpp-class-internals.h"
#include "codegen/il2cpp-codeg... | [
"marcelih55@gmail.com"
] | marcelih55@gmail.com |
ff30ea4a487958cbc004525c936c6eebb9fff0bd | 5ee0eb940cfad30f7a3b41762eb4abd9cd052f38 | /play/case0/190/U | 3f3cddb1cad43c1293138bc999e3f3a81d7e6223 | [] | no_license | mamitsu2/aircond5_play4 | 052d2ff593661912b53379e74af1f7cee20bf24d | c5800df67e4eba5415c0e877bdeff06154d51ba6 | refs/heads/master | 2020-05-25T02:11:13.406899 | 2019-05-20T04:56:10 | 2019-05-20T04:56:10 | 187,570,146 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,017 | /*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: 6
\\/ M anipulation |
\*-------... | [
"mitsuaki.makino@tryeting.jp"
] | mitsuaki.makino@tryeting.jp | |
0169a5553740e5a9d65b16cfc0a5c7e0343488a6 | b0e5102fb39ab1b740e80f61a2b114f645020673 | /Ch03/3_42.cpp | 6a5bf32cd18ae00617dce418a29858806441222e | [] | no_license | ironldk/CppPrimer | 2fa2fafe6c0ec579aac652bd9db71c2a5fb35573 | 7d3bbd07a88907700c42b5db8c6171242e1d0908 | refs/heads/master | 2022-05-05T00:41:51.866462 | 2022-04-21T16:00:11 | 2022-04-21T16:00:11 | 131,614,331 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 444 | cpp | #include<iostream>
#include<vector>
using std::cout;
using std::cin;
using std::endl;
using std::vector;
using std::begin;
using std::end;
int main()
{
vector<int> vec = {0, 1, 2, 3, 4, 5};
int l = vec.size();
int arr[l];
for (int i = 0; i < l; i++)
arr[i] = vec[i];
for (auto i : arr)
... | [
"ldk953146716@126.com"
] | ldk953146716@126.com |
49b4f3f53f99459cb2ff8311228177038020e46c | 952c4197a91eb5cb1c08f9c1b1d9ada6c231a13f | /taksi-code-187/main/src/dll/TaksiDll.cpp | e1df9266ae332b6f002a5948c6239f26e52292c9 | [] | no_license | Jimallan/CxlCap | b37457d38b5ff6fb6469643a42891e265b2cbffc | 18ccbb65a2ff9a21cd92edd5e326aac64a65d565 | refs/heads/master | 2021-01-13T01:45:33.865848 | 2013-08-12T02:47:23 | 2013-08-12T02:47:23 | 12,046,342 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 24,037 | cpp | //
// TaksiDll.cpp
// Link this into the process space of the app being recorded.
//
#include "../stdafx.h"
#include <stddef.h> // offsetof
#include "TaksiDll.h"
#include "GAPI_Base.h"
#include "HotKeys.h"
#ifdef USE_GDIP
#include "../common/CImageGDIP.h"
#endif
//*****************************************************... | [
"goldtimes2008@126.com"
] | goldtimes2008@126.com |
f2221fc5c82fa790174da0d274638267e5744c57 | 9030ce2789a58888904d0c50c21591632eddffd7 | /SDK/ARKSurvivalEvolved_Buff_ScoutTracker_structs.hpp | 2621d4d5e94942a7b89c0652b4f20a4439c5f44b | [
"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 | 416 | hpp | #pragma once
// ARKSurvivalEvolved (332.8) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "ARKSurvivalEvolved_Basic.hpp"
#include "ARKSurvivalEvolved_Buff_Base_classes.hpp"
#include "ARKSurvivalEvolved_Engine_classes.hpp"
#include "ARKSurvivalEvolved_CoreUObject_classes.hpp"
#include "ARKSurvivalEvolve... | [
"sergey.2bite@gmail.com"
] | sergey.2bite@gmail.com |
7027efd41576b0dc882d858e02fd67953b02b918 | 2414355a572097a0e23d58dcf72013c0997d34e7 | /game.h | 89f0c5d1f9499120b455da9780f458174949ce90 | [] | no_license | Ichmed/CTrinketeers | 587c531495fa0c412ae57ee52aa61dbc3c97c3e3 | 2de37dfbaca0b92098b7f1f3aa6f3abb3df46c8f | refs/heads/master | 2021-01-19T20:41:23.035861 | 2017-05-03T16:30:28 | 2017-05-03T16:30:28 | 88,523,914 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 112 | h | #ifndef GAME_H
#define GAME_H
class Game
{
public:
Game();
int getNextEntityId();
};
#endif // GAME_H
| [
"pandora@Pandoras-Box.fritz.box"
] | pandora@Pandoras-Box.fritz.box |
8f290d7aa262f903926e876d42cd04233521fdb6 | 398ac80a2250c75524e3b5fe946b7f613820976a | /hm6/testing/DictionaryTest.cpp | f62b8ef12ad267012c4218b3cc034994e64b6159 | [] | no_license | lpbv1/cs1440 | 2fe25658dfd9543771a4026a84826216b33ef870 | c3bfbc091e20ed70e0cd8988bde7e35a5df39a3f | refs/heads/master | 2021-01-19T15:06:41.308293 | 2017-04-23T04:55:50 | 2017-04-23T04:55:50 | 80,385,104 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,600 | cpp |
#include "DictionaryTest.h"
void DictionaryTest::constructorTest() {
std::cout << "DictionaryTest::constructorTest" << std::endl;
Dictionary<int, int>* test0 = new Dictionary<int, int>(10);
if(test0->getCount() != 0){
std::cout << "DictionaryConstructorTest0 failed: wrong count" << std::endl;
... | [
"leopb03@gmail.com"
] | leopb03@gmail.com |
0cc613885723473d3dabd6b3356080c76a9b69a4 | c9cf0586ace11aa32fa67606d237a130a06364ee | /circular-cylinder-3-40/29.75/p | 2726efcc78f2d8d78cffcf0fdd1be209e0b224dc | [] | no_license | jezvonek/CFD-Final-Project | c74cfa21f22545c27d97d85cf30eb6dc8c824dc1 | 7c9a7fb032d74f20888effa0a0b75b212bf899f4 | refs/heads/master | 2022-07-05T14:43:52.967657 | 2020-05-14T03:40:56 | 2020-05-14T03:40:56 | 262,370,756 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 176,836 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v1912 |
... | [
"jezvonek@gmail.com"
] | jezvonek@gmail.com | |
93c8477f830b8a3d992dab9000cef10034755e40 | a3d6556180e74af7b555f8d47d3fea55b94bcbda | /media/gpu/v4l2/test/h264_decoder.cc | bb3f888d654eefbcea84eba83b61e33bfd1b8d2d | [
"BSD-3-Clause"
] | permissive | chromium/chromium | aaa9eda10115b50b0616d2f1aed5ef35d1d779d6 | a401d6cf4f7bf0e2d2e964c512ebb923c3d8832c | refs/heads/main | 2023-08-24T00:35:12.585945 | 2023-08-23T22:01:11 | 2023-08-23T22:01:11 | 120,360,765 | 17,408 | 7,102 | BSD-3-Clause | 2023-09-10T23:44:27 | 2018-02-05T20:55:32 | null | UTF-8 | C++ | false | false | 36,961 | cc | // Copyright 2022 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "media/gpu/v4l2/test/h264_decoder.h"
#include <linux/v4l2-controls.h>
#include <linux/videodev2.h>
#include "base/logging.h"
#include "base/memory/ptr_util.h"
#inclu... | [
"chromium-scoped@luci-project-accounts.iam.gserviceaccount.com"
] | chromium-scoped@luci-project-accounts.iam.gserviceaccount.com |
5bc67d7b1078da2130b27ed0c149fa1baea24a91 | ec84758716b19257a898d962fe1ff24db619b0c5 | /CryptoFBC/src/ModifiedMD5.cpp | 0e18b7eee2b16610ba4b90fe1cef1cb5cf2f7c6b | [] | no_license | cryptofbc/cryptofbc | fa3bfb0ec53f2169135c2a541f68883cdaee09f2 | 6f735a084abbaa286cf26034546fad27e0365c60 | refs/heads/master | 2023-02-03T11:29:16.613108 | 2023-01-23T14:46:38 | 2023-01-23T14:46:38 | 32,198,252 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,926 | cpp | #include "ModifiedMD5.h"
NAMESPACE_BEGIN(CryptoFBC)
const int MODIFIEDMD5::DigestSize=16;
void MODIFIEDMD5::MD5Transform(FBC_Dword state[4], FBC_Byte block[64])
{
FBC_Dword a = state[0];
FBC_Dword b = state[1];
FBC_Dword c = state[2];
FBC_Dword d = state[3];
FBC_Dword x[MODIFIEDMD5::DigestSize];
... | [
"cnbragon@gmail.com@f296d2d8-7def-11de-9693-657164a66812"
] | cnbragon@gmail.com@f296d2d8-7def-11de-9693-657164a66812 |
1575e7ba0aa3b972e13ead2b5c03658b8cda8c6b | e27f9d4c48355b5ea6d562aae35b7ca46ed3fc1c | /src/lib/CodeGen/MachineCopyPropagation.cpp | 602c1fa8d00fd0ca15621509dfbec4b6e5be3936 | [
"NCSA"
] | permissive | dongAxis/clang-700.0.72 | 67c4bb38b77e63da966e5dbd4e6ea7b6725b2484 | 513e64095d87e15954b41a22da367552a1c4dcc4 | refs/heads/master | 2021-01-10T12:17:26.230788 | 2016-02-04T04:29:53 | 2016-02-04T04:29:53 | 51,051,978 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,404 | cpp | //===- MachineCopyPropagation.cpp - Machine Copy Propagation Pass ---------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | [
"amo260@gmail.com"
] | amo260@gmail.com |
d089c362c817b3767464b08e471e4b08e952c8e8 | b90d75a80c61739b39b1c9b5b06a1bddf64c9217 | /SURF/main.cpp | ba1234f61cb176d524cf40b601c6cf0f48b376cf | [] | no_license | Andreachen0707/banknote_detection | 649a0eaa9210d2a8e9144a6e744a5c305ec3d49c | 2c19c412d3931764b60397f4720855ba5071a648 | refs/heads/master | 2020-03-09T01:05:00.534929 | 2018-04-07T08:28:01 | 2018-04-07T08:28:01 | 128,504,754 | 1 | 0 | null | null | null | null | GB18030 | C++ | false | false | 7,400 | cpp | #include <opencv2/opencv.hpp>
#include "opencv2/nonfree/nonfree.hpp"
#include <opencv2/legacy/legacy.hpp>
#include <iostream>
using namespace cv;
using namespace std;
double mindistance(int rows,vector< DMatch > matches, double min_dist);
vector< DMatch > goodmatches(int rows, vector< DMatch > matches, double min_dis... | [
"andreachen0707@gmail.com"
] | andreachen0707@gmail.com |
ce827d88ec5470f2bc1e293c36a1801be140da45 | 730087a3eaa5ffe75bbfa04e027fec8b005a8eef | /build-trailgrid-Desktop_Qt_5_8_0_GCC_64bit-Debug/moc_occupancygrid.cpp | a0f96799a8c86f02cc99dea84d5144787951106f | [] | no_license | lperdomo/trailgrid | 329008808ecc31a363175f40eaea5cdfb3ebcc16 | 7c6ef1ca8fc8172aab7a8648a72026103c5c33c4 | refs/heads/master | 2023-02-21T01:22:52.145604 | 2017-05-18T19:51:33 | 2017-05-18T19:51:33 | 90,581,127 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,674 | cpp | /****************************************************************************
** Meta object code from reading C++ file 'occupancygrid.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.8.0)
**
** WARNING! All changes made in this file will be lost!
*******************************************************... | [
"leonardo.perdomo.social@outlook.com"
] | leonardo.perdomo.social@outlook.com |
1a63d97ea7ecb864952e1388bb6ed85303b8b8b3 | 66e0c84b9ad23124714826dca93e58898ed375ce | /bachelor/cpp/src/part_i/Bsuir.AaDs.Cpp.Lab3/main.cc | 5a91e606a79142acee995ee3b93280a7c275c3f9 | [
"BSD-3-Clause"
] | permissive | MaximusTED/bsuir | acc1fab316ee6586a3be293b9f3ea6a512dfda87 | 180bba1d3b5b0e5abe877476fc56287237928ed8 | refs/heads/master | 2021-09-28T16:39:11.614892 | 2018-11-18T11:28:30 | 2018-11-18T11:28:30 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 962 | cc | // Copyright (c) 2015, reginell. All rights reserved.
// Use of this source code is governed by a BSD license that can be
// found in the LICENSE file.
//
// Subject: Algorithms and Data structures (AaDs).
// Lab work 3: Cycles programming.
#include <cmath>
#include <cstdint>
#include <cstdlib> // for EXIT_*... | [
"maximus1642@gmail.com"
] | maximus1642@gmail.com |
3e593993c1fa9a488ffd90c5b54e3d7f302e8a26 | b92e700e4201305c43ded2b2708d13bd9008112a | /src/tools/log/console.cpp | ea80db1900e2a1820a235de7d4fddec5d6ac72ab | [] | no_license | kparkins/gnut | 010d09c8da168eec3a3cf9086bdf0f2eb544ea2a | 9b45129b8b3f28a65c774f3129b9fedfba7ce448 | refs/heads/master | 2021-05-31T15:22:22.029262 | 2016-02-11T22:41:15 | 2016-02-11T22:41:15 | 46,889,328 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 288 | cpp | //
// Created by Kyle on 11/26/2015.
//
#include "console.h"
mutex gnut::log::console::m_mutex;
gnut::log::console::console() {
}
gnut::log::console::~console() {
}
void gnut::log::console::write(const string &message) {
lock_guard<mutex> lock(m_mutex);
cout << message;
}
| [
"kjp.parkinson@gmail.com"
] | kjp.parkinson@gmail.com |
cc10b5a6a728fe19bfc233b487a4e3a0438d94ab | 62e6e04d4ab08ca4b5090179af1f670099f94780 | /游戏组件/水果乐园/游戏客户端/GameClientDlg.h | e5c11d6199a16d1b4508972f65cedd17bd9df392 | [] | no_license | hanshouqing85/wh6603_hpkj | 9895e3bc2e9948aacb15f6bc60f083146796ddf9 | eed96681c75dcc2948f89c63088da21e3d8e0bc0 | refs/heads/master | 2020-04-13T13:48:10.811183 | 2019-06-15T10:49:21 | 2019-06-15T10:49:21 | 163,242,393 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 4,739 | h | #pragma once
#include "Stdafx.h"
#include "GameClientView.h"
#include <mmsystem.h>
#pragma comment(lib,"winmm.lib")
//////////////////////////////////////////////////////////////////////////
//游戏对话框
class CGameClientDlg : public CGameFrameEngine
{
//友元声明
friend class CGameClientView;
//限制信息
protected:
__int64 ... | [
"hanshouqing85@163.com"
] | hanshouqing85@163.com |
2836e65edc6b83352a0987a7c199419fcdca5673 | 8ffd6f07c653f98111de90815c3e74d34f1985ba | /makara/mission_stack/debugger/src/main.cpp | 969343ba51f63c9603306b632b8425806b25948d | [
"MIT"
] | permissive | prats778/makara_test | 60b29d29091ba5d8f3f8037c8155af00a807184a | 9c512d5f7714399be4571cd14b19290f9ceff8ee | refs/heads/master | 2021-05-18T12:32:40.398387 | 2020-04-02T09:13:11 | 2020-04-02T09:13:11 | 251,244,835 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 417 | cpp | #include "debugger/mainwindow.h"
#include "ros/ros.h"
#include <QApplication>
int main(int argc, char *argv[])
{ ros::init(argc, argv, "debugger");
ros::NodeHandle nh;
QApplication a(argc, argv);
MainWindow w(nh);
w.show();
/*ros::Rate rate(0.5);
while(ros::ok())
{
ros::spinOnce()... | [
"noreply@github.com"
] | prats778.noreply@github.com |
1ea564c218d90a2604a17cdb77122f35a136d389 | 6361d669e13ef4eaf3b2eb59396a775532bebe04 | /libcamera/QualcommCameraHardware.cpp | 755ead145ff5ad851547907c5e62c815e3bef54d | [] | no_license | flph/android_device_commtiva_z71 | dce34f8bcc8e788019b0dd749a8809f91fa5f5e0 | dc066d90ebaa4c4d6acd59e9a54454208370b87c | refs/heads/master | 2016-09-10T12:59:49.273896 | 2010-11-03T01:36:40 | 2010-11-03T01:36:40 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 166,187 | cpp | /*
** Copyright 2008, Google Inc.
** Copyright (c) 2009, Code Aurora Forum. 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/L... | [
"github@cerqueira.org"
] | github@cerqueira.org |
b71b7082b55fac4148182c48493a8673e96e24b7 | ef6856255162ae89b3f737db384273cb945c99e2 | /test/compound_table_test.h | 80038e6ca70c115b86caee3ae6c378e2a33c4b4e | [] | no_license | project-eutopia/roulette | 45a4c3124e9d7d2c3e05ae70a17cd1e96614234d | ebbc60402bf2b248854afce2e86613647328d2cc | refs/heads/master | 2021-01-23T04:30:03.886182 | 2018-01-15T05:14:54 | 2018-01-15T05:14:54 | 102,446,766 | 2 | 0 | null | 2018-01-15T05:14:55 | 2017-09-05T07:08:31 | C++ | UTF-8 | C++ | false | false | 690 | h | #pragma once
#include "test_helper.h"
#include "roulette/compound_table.h"
using namespace roulette;
TEST(CompoundTableTest, reads_in_from_json_file) {
const Element& hydrogen = compound_table.periodic_table().element(1);
const Element& oxygen = compound_table.periodic_table().element(8);
const Compound& wate... | [
"project.eutopia@gmail.com"
] | project.eutopia@gmail.com |
1373a142783a0ac5a83a9a47f223b731c94954c8 | c08a26d662bd1df1b2beaa36a36d0e9fecc1ebac | /uifw/AvKon/src/aknquerydata.cpp | 6da97ea0c248c5f028545bbe864ca7dd7600ba91 | [] | no_license | SymbianSource/oss.FCL.sf.mw.classicui | 9c2e2c31023256126bb2e502e49225d5c58017fe | dcea899751dfa099dcca7a5508cf32eab64afa7a | refs/heads/master | 2021-01-11T02:38:59.198728 | 2010-10-08T14:24:02 | 2010-10-08T14:24:02 | 70,943,916 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,286 | cpp | /*
* Copyright (c) 2002 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of "Eclipse Public License v1.0"
* which accompanies this distribution, and is available
* at the URL "http://www.eclipse.org/legal/epl-v10.h... | [
"kirill.dremov@nokia.com"
] | kirill.dremov@nokia.com |
14d2d7bb77671a3954bdadf3a763d9a2b466e6d8 | 1d928c3f90d4a0a9a3919a804597aa0a4aab19a3 | /c++/xbmc/2017/12/Win10StorageProvider.h | 41c41bf06330494ced36beb452e68034df791053 | [] | no_license | rosoareslv/SED99 | d8b2ff5811e7f0ffc59be066a5a0349a92cbb845 | a062c118f12b93172e31e8ca115ce3f871b64461 | refs/heads/main | 2023-02-22T21:59:02.703005 | 2021-01-28T19:40:51 | 2021-01-28T19:40:51 | 306,497,459 | 1 | 1 | null | 2020-11-24T20:56:18 | 2020-10-23T01:18:07 | null | UTF-8 | C++ | false | false | 1,361 | h | #pragma once
/*
* Copyright (C) 2005-2013 Team XBMC
* http://xbmc.org
*
* 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, or (at your option)
* any later ver... | [
"rodrigosoaresilva@gmail.com"
] | rodrigosoaresilva@gmail.com |
a654f5e0eced58c7131cbc8de9fcbeb0035a6dd6 | 5a3251e7f068cafdf3c5e93674dfb3f50ebe4dee | /dataCapturer/WinpcapMFC/WinpcapMFC/ipCallBack.cpp | 0f40b16e1e5a6cc3074085b3e2fcad72e7a5acd1 | [] | no_license | SarielMa/courseProject | f2df4833a3a75687c2c80895a2f074bed08ebf11 | bdbd2abdbf325a17b71a5edff59320293a99a1a6 | refs/heads/master | 2021-04-28T21:47:34.412653 | 2016-12-31T10:01:01 | 2016-12-31T10:01:01 | 77,734,009 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,742 | cpp | #include "stdafx.h"
void ip_protocol_packet_callback(FILE *file,const struct pcap_pkthdr* packet_header, const u_char* packet_content,struct mysqlData*sqlDataCopy )
{
struct ip_header *ip_protocol;
u_int header_length;
u_int offset;
u_char tos;
u_int16_t checksum;
ip_protocol=(struct ip_header*)(packet_content+... | [
"496252590@qq.com"
] | 496252590@qq.com |
89b0172c653adb3b6386f29ee35eee35816d761b | 1a2d1617bf1a484aed20dd552d22e16880ea174b | /src/main/cpp/processors/reverb.h | bfb7c1a500a7cfec1b3d8a01938202dcbce645d1 | [
"MIT"
] | permissive | teotigraphix/MWEngine | 7bb55d315b299ba85271a015537ddd231acc3dc6 | 5b3ac365989b7430f37aef49c8e010cec68dd4a0 | refs/heads/master | 2020-04-05T06:04:25.050086 | 2018-11-15T21:54:04 | 2018-11-15T21:54:04 | 155,614,750 | 0 | 0 | MIT | 2018-10-31T19:48:36 | 2018-10-31T19:48:36 | null | UTF-8 | C++ | false | false | 2,125 | h | /**
* Ported from mdaAmbienceProcessor.h
* Created by Arne Scheffler on 6/13/08.
*
* mda VST Plug-ins
*
* Copyright (c) 2008 Paul Kellett
*
* 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 Softw... | [
"noreply@github.com"
] | teotigraphix.noreply@github.com |
2abe32fe780623a68a68d644226f5d0dde515b3c | 1b94a0e4535ae9df9688052ac1458eab1b73d90f | /Calculator.cpp | ad7a5ca0e446c098873e74d60883e2b5c476a388 | [] | no_license | SamGoodin/363-assignment4 | 07d43bd49e3c69ae040939b9a4513e424a58c3a9 | 5f7f102caffeb37dad1672ee9a96a446eccc7bc9 | refs/heads/main | 2023-05-05T09:26:01.628894 | 2021-05-24T16:39:09 | 2021-05-24T16:39:09 | 370,419,990 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,205 | cpp | #include "Calculator.h"
Calculator::Calculator (Eval_Expr_Tree & visitor) :
visitor_ (visitor)
{
}
/*
Calculator::Calculator (Eval_Expr_Tree & visitor, Expr_Tree_Builder & builder) :
visitor_ (visitor),
builder_ (builder)
{
}
*/
int Calculator::evaluate (const std::string & input)
{
if (!parse_... | [
"samuelgoodin@sbcglobal.net"
] | samuelgoodin@sbcglobal.net |
b22f5efbc6cc41ceba0d88ef6b9aaf9bfc8a7efb | 2d46a63b9949ddf6efc6755c3a07ca1427ec1275 | /PlugIn/Quantum/Source/Main.cpp | cdb6f83f9fa6a9ff8bb49e31a9128d909ed1dc26 | [] | no_license | xinghuaman/Klanghabitat_Quantum | 6f02ce60afb7a0a4d0a6a53d42c8e034611c407e | b5aa9261b4ad98d911953cb40bfdadb0b7932d0d | refs/heads/master | 2023-04-15T01:05:42.732026 | 2021-04-21T14:35:20 | 2021-04-21T14:35:20 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 504 | cpp | /*
==============================================================================
This file was auto-generated and contains the startup code for a PIP.
==============================================================================
*/
#include "../JuceLibraryCode/JuceHeader.h"
#include "Quantum.h"
... | [
"sagerchr@googlemail.com"
] | sagerchr@googlemail.com |
950fe486ae7b02a61551fb6f7aed23f1448e04e7 | 78918391a7809832dc486f68b90455c72e95cdda | /boost_lib/boost/multi_index_container_fwd.hpp | 5689b93ddb0ff9885b1ad9023975bd8961d64940 | [
"MIT"
] | permissive | kyx0r/FA_Patcher | 50681e3e8bb04745bba44a71b5fd04e1004c3845 | 3f539686955249004b4483001a9e49e63c4856ff | refs/heads/master | 2022-03-28T10:03:28.419352 | 2020-01-02T09:16:30 | 2020-01-02T09:16:30 | 141,066,396 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,860 | hpp | /* Copyright 2003-2013 Joaquin M Lopez Munoz.
* 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)
*
* See http://www.boost.org/libs/multi_index for library home page.
*/
#ifndef BOOST_MULTI_INDEX_FWD_HPP
#define ... | [
"k.melekhin@gmail.com"
] | k.melekhin@gmail.com |
113fa44011dec5dec5b26ce2be08d41142ab6422 | ecec137010f2cb4631f96b8c183983a62c9b2ca0 | /C++/college_code/expr/.history/experi_12_20200526204525.cpp | 8c86770d69043a40df097e01d3774bbcf7df2300 | [] | no_license | lijiayan2020/Code | d6296658bdec1adb6353faa3ca1ae583542ce926 | ba9f015c51a60fc8aeb1f5efbd33e96126c34265 | refs/heads/master | 2023-04-12T19:23:21.860951 | 2021-04-21T16:21:11 | 2021-04-21T16:21:11 | 330,329,460 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,990 | cpp | /*
* @Description:
* @version:
* @Author: LiJiayan
* @Date: 2020-04-15 22:58:43
* @LastEditors: LiJiayan
* @LastEditTime: 2020-05-26 20:45:25
*/
// 1. 定义一个组合类课程类Lesson,其数据成员有:课号id,课程名name,任课老师teacher,选课学生s,
// 其中学生信息定义成学生类的数组。
// 成员函数有:AddStudent增加选课学生信息,GetPassRate计算课程的及格率,ShowInfo显示课程信息。
//学生类包括学号、姓名及该门课的成绩... | [
"1131106863@qq.com"
] | 1131106863@qq.com |
92acaacef465f2de9b794843674705564536981e | 6b2a8dd202fdce77c971c412717e305e1caaac51 | /solutions_1483485_0/C++/Borisp/Googlerese.cpp | 98e847a24d7a6c81244925a77641dc7054fca96a | [] | no_license | alexandraback/datacollection | 0bc67a9ace00abbc843f4912562f3a064992e0e9 | 076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf | refs/heads/master | 2021-01-24T18:27:24.417992 | 2017-05-23T09:23:38 | 2017-05-23T09:23:38 | 84,313,442 | 2 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 1,308 | cpp | #define _CRT_SECURE_NO_DEPRECATE
#include<iostream>
#include<string>
#include<sstream>
#include<vector>
#include<deque>
#include<queue>
#include<stack>
#include<numeric>
#include<math.h>
#include<set>
#include<map>
#include<fstream>
#define epsilon 0.000000001
#define cosinusa(a, b, c) ((a * a + b * b - c... | [
"eewestman@gmail.com"
] | eewestman@gmail.com |
a92a0948cdcea6803356597e8c1fc99da48dc7d1 | d7e805290fc33b287cded039923dae1ea421a207 | /CPP_04/ex01/PowerFist.hpp | bf4d673c44f6254d4febdb39a8c2cd5924f65cde | [] | no_license | ldevillard/Piscine-Cpp | 1dda8962790b06aedd7f1078840029817853e2f9 | 5996eab595a176a863d95fd71f9646df3110592c | refs/heads/master | 2023-06-17T23:32:13.122147 | 2021-07-13T15:46:47 | 2021-07-13T15:46:47 | 351,032,312 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,208 | hpp | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* PowerFist.hpp :+: :+: :+: ... | [
"ldevilla@z1r11p5.42lyon.fr"
] | ldevilla@z1r11p5.42lyon.fr |
f846fe6dbf9c8b31262052fc5dafbdf1943906d4 | 9a60b4f125d11ae13ffd9e48fb4ee9b79e94f562 | /IL2CPP/Il2CppOutputProject/Source/il2cppOutput/Bulk_Generics_44.cpp | 630db4e73f091bb8927ac250e9b09c79564f0fdc | [
"MIT"
] | permissive | dngoins/AutographTheWorld-MR | 99109e728746c164b12cf68e84e7b4b5a9390ab7 | 24e567c8030b73a6942e25b36b7370667c649b90 | refs/heads/master | 2021-04-12T07:51:07.040152 | 2018-03-19T06:36:00 | 2018-03-19T06:36:00 | 125,808,361 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,480,922 | cpp | #include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <cstring>
#include <string.h>
#include <stdio.h>
#include <cmath>
#include <limits>
#include <assert.h>
#include <stdint.h>
#include "il2cpp-class-internals.h"
#include "codegen/il2cpp-codegen.h"
#include "il... | [
"dngoins@hotmail.com"
] | dngoins@hotmail.com |
31e5b6765000519d0c79b7f8ec8852d01167111e | 86d738506fff0e3ef67e048aff2500594f6a76bd | /src/network/timer_queue.h | fad16036cdcaafdb897144ebfafd892a3cf3deb3 | [
"BSD-3-Clause"
] | permissive | malolk/glue | 07ccaf4edfd14a8088d93e418421318353e3a655 | addb19993ce9964fdd0fd6b3054244b5796d8179 | refs/heads/master | 2020-09-20T09:53:13.622229 | 2017-03-19T02:46:42 | 2017-03-19T02:46:42 | 67,484,814 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,811 | h | #ifndef GLUE_NETWORK_TIMERQUEUE_H_
#define GLUE_NETWORK_TIMERQUEUE_H_
#include "network/timer.h"
#include "network/event_channel.h"
#include "libbase/heap.h"
#include "libbase/noncopyable.h"
#include "libbase/timeutil.h"
#include "libbase/loggerutil.h"
#include <utility>
#include <memory>
#include <set>
#include <sy... | [
"malolkkk@yahoo.com"
] | malolkkk@yahoo.com |
8a53d9782133333c363b1437653928209d2603f0 | 05bc9df81a5b11d201cc4ac291a7dec043703d8a | /control.cpp | 3bc88853b343e7b67df30a4cf052acad6c87486a | [
"Apache-2.0"
] | permissive | eugene-che/ofgw | 88ac8de96fc6fa1a2fa4759b30e2e1c0531e96b6 | 1caedc4e7813ab6e00ddf34176512ba3eef45eda | refs/heads/master | 2016-08-11T06:58:18.971376 | 2016-04-13T08:37:27 | 2016-04-13T08:37:27 | 47,513,912 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,844 | cpp | #include <iostream>
#include "gateway.hpp"
#include <boost/program_options.hpp>
namespace po = boost::program_options;
// GateWay keeps a long term connection with a switch by prentending to be an OpenFlow controller.
// Thus clients may use GateWay to connect the switch and send it arbitrary commands or requests.
... | [
"eugene.chemertiskiy@gmail.com"
] | eugene.chemertiskiy@gmail.com |
7dc36cd33faa6480164f9664cd10eb3cd579928f | c7bcd0590f52975d3a832e9dfb00763e8702c7ec | /src/IOE/IOEMaths/Camera.cpp | c611e8a6d032e397cd34fea49e63e09812d47114 | [] | no_license | stevenhartin/IOE | 656075f502b1e4f39525ec93564ba05c158215fe | d070a2f583aa26632625fe5b8115460d82349ca9 | refs/heads/master | 2020-05-23T09:47:56.408122 | 2019-05-15T22:03:38 | 2019-05-15T22:03:38 | 186,713,691 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,076 | cpp | #include "Camera.h"
#include <IOE/IOEApplication/IOEApplication.h>
#include <IOE/IOECore/IOEEngine.h>
namespace IOE
{
namespace Maths
{
//////////////////////////////////////////////////////////////////////////
IOECamera::IOECamera(ECameraStyle nStyle /*=ECameraStyle::ECS_Fixed*/)
: m_pTarget(nullptr)
, m_nCam... | [
"steven.hartin@googlemail.com"
] | steven.hartin@googlemail.com |
9ac9b4530dc989c6dd688262cb993a4a7ce5270b | fb1ffb7c426f3491fea25f62dddbf078f851d5d9 | /Arduino/experiments/MotorEncoder/MotorEncoder.ino | 1364d8004743c8774bc7811fac307d9396604b4c | [] | no_license | jaycode/Self-Driving-RC | c286a10c1e0c7f92967b8fd3ef282358a2e96459 | fede6ae55a9a2a7a5cb5e66b171f8aa62f46b1d7 | refs/heads/master | 2021-01-20T05:19:20.923400 | 2017-06-29T05:56:15 | 2017-06-29T05:56:15 | 89,770,614 | 7 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 278 | ino | void setup() {
// put your setup code here, to run once:
pinMode(1, INPUT);
pinMode(2, INPUT);
Serial.begin(9600);
}
void loop() {
// put your main code here, to run repeatedly:
Serial.print(digitalRead(2));
Serial.print(" ");
Serial.println(digitalRead(1));
}
| [
"teguhwpurwanto@gmail.com"
] | teguhwpurwanto@gmail.com |
7679d632e7d67321a7d1ee2ef44b7634ea6e194b | 8941d29423c6a5def7dc0b959fb719d2a2c67706 | /MonthlyChallenge/JuneLeetCodeChallenege/13_Largest_Divisible_Subset.cpp | 23e2393fd4fc5b2e7fab534141f01b64cffbdb0b | [] | no_license | Adiiigo/Leetcode | 713c96e415ebf8ba15173c6e87588914e6cb3d68 | f48912f073a9c1a5d83303770dced79aaa20b8c0 | refs/heads/master | 2022-12-20T04:55:42.110185 | 2020-10-05T20:33:03 | 2020-10-05T20:33:03 | 272,035,963 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,312 | cpp | Given a set of distinct positive integers, find the largest subset such that every pair (Si, Sj) of elements in this subset satisfies:
Si % Sj = 0 or Sj % Si = 0.
If there are multiple solutions, return any subset is fine.
Example 1:
Input: [1,2,3]
Output: [1,2] (of course, [1,3] will also be ok)
Example 2:
Input... | [
"noreply@github.com"
] | Adiiigo.noreply@github.com |
fa84ba796a511bac4ce821ddd0206b277c6e5714 | adefab1f540aee6a245b250ea660faa618513431 | /dbms/src/Parsers/ASTInsertQuery.cpp | f39c77d11f3261bf7013d1f8f4c6ffde374bf7d8 | [
"Apache-2.0"
] | permissive | SevaCode/ClickHouse | 23b6ba4f3ae9ed62807dcdd8e5d3bae68c8e038b | 08cb8e506b49aef6ae2086be8947f728450c4d73 | refs/heads/master | 2020-06-14T15:16:59.282376 | 2016-11-29T19:28:50 | 2016-11-29T19:28:50 | 75,167,027 | 0 | 0 | NOASSERTION | 2019-03-14T09:46:11 | 2016-11-30T08:29:42 | C++ | UTF-8 | C++ | false | false | 1,119 | cpp | #include <mysqlxx/Manip.h>
#include <DB/Parsers/ASTInsertQuery.h>
namespace DB
{
void ASTInsertQuery::formatImpl(const FormatSettings & settings, FormatState & state, FormatStateStacked frame) const
{
frame.need_parens = false;
settings.ostr << (settings.hilite ? hilite_keyword : "") << "INSERT INTO " << (setting... | [
"milovidov@yandex-team.ru"
] | milovidov@yandex-team.ru |
68061c816bd6a93e39a3a7c832207c1dc13c9372 | 3cfa229d1d57ce69e0e83bc99c3ca1d005ae38ad | /sphere/source/engine/system.hpp | d360c80fc1235894323421fa721df960590a62f7 | [] | no_license | chadaustin/sphere | 33fc2fe65acf2eb56e35ade3619643faaced7021 | 0d74cfb268c16d07ebb7cb2540b7b0697c2a127a | refs/heads/master | 2021-01-10T13:28:33.766988 | 2009-11-08T00:38:57 | 2009-11-08T00:38:57 | 36,419,098 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 121 | hpp | #ifndef SYSTEM_HPP
#define SYSTEM_HPP
extern void UpdateSystem();
extern void QuitMessage(const char* message);
#endif
| [
"tunginobi@c0eb2ce6-7f40-480a-a1e0-6c4aea08c2c2"
] | tunginobi@c0eb2ce6-7f40-480a-a1e0-6c4aea08c2c2 |
3cc582c28003252411bec2ceee60284d289416c0 | 8814f39ced956700182028b17a91f86389b98756 | /code/DX12Demo/main.cpp | 348d1b28a416890007668ff12c36e87587e5f1d7 | [] | no_license | sunnior/DX12Demo | 425c25ba05f5095ed2ab9d5ec8cb82ad169b8453 | 99b281cb7c548f80affcedb0f4d1bcf4d1c19501 | refs/heads/master | 2020-03-22T01:15:17.602307 | 2018-08-03T00:18:52 | 2018-08-03T00:18:52 | 139,292,992 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 253 | cpp | #include "Engine.h"
int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE, LPSTR, int nCmdShow)
{
const int s_width = 1280;
const int s_height = 720;
Engine engine({ hInstance, nCmdShow, s_width, s_height });
engine.Init();
engine.Run();
return 0;
} | [
"1520339807@qq.com"
] | 1520339807@qq.com |
9bc811c1a1405187e07e009a56c8503ff2289ca8 | bf6bdef3eedc8ac6d189799a74ca8298e4e8a783 | /stackUsingLL.cpp | 4fdbc0e80753b6f3fedf66a3550d039bb95cd5da | [] | no_license | parul-jain5102/LinkedList | df1eefde5878c5a34fed407ae6a8196c0ad5e3aa | ea7ee64dc3c52ed41928e4e972334b8c99daa0b3 | refs/heads/main | 2023-06-03T22:15:35.465326 | 2021-06-25T07:50:08 | 2021-06-25T07:50:08 | 378,214,543 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,736 | cpp | #define fast \
ios_base::sync_with_stdio(false); \
cin.tie(NULL); \
cout.tie(NULL);
#include <bits/stdc++.h>
using namespace std;
struct Node{
int data;
Node *next;
Node(int x)
{
data=x;
next=NULL;
}
};
class My... | [
"noreply@github.com"
] | parul-jain5102.noreply@github.com |
0532f0a5cb64c03590d9e57757e5744d242a5b42 | f845a87f3a58d6fef5af9d8f391e7df3e15a4c25 | /31.cpp | 215754bce4494f94268dec0d822ff89a1cf88649 | [
"MIT"
] | permissive | jinxinwangstd/LeetCode | 352f5ef7a81e33c9a9434f25a3653be5944a30ca | c8d09e86cee52648f84ca2afed8dd0f13e51ab58 | refs/heads/master | 2022-04-03T12:52:45.079347 | 2022-03-26T16:39:35 | 2022-03-26T16:39:35 | 173,209,742 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 820 | cpp | #include <bits/stdc++.h>
using namespace std;
using ull = uint64_t;
using ll = int64_t;
using ld = long double;
class Solution
{
public:
void nextPermutation(vector<int>& nums)
{
int descend_len = 1, len = nums.size();
// Find the non-increasing sequence starting from the end
while (descend_len < len && nums[... | [
"jianhuqiuxia@gmail.com"
] | jianhuqiuxia@gmail.com |
57f09d9b47810a9e26da2424bdde2dc7ada823f6 | 9fad4848e43f4487730185e4f50e05a044f865ab | /src/ui/ozone/platform/drm/common/client_native_pixmap_dmabuf.h | b00f34d21249b644dd06904743b10a80f560fe53 | [
"BSD-3-Clause"
] | permissive | dummas2008/chromium | d1b30da64f0630823cb97f58ec82825998dbb93e | 82d2e84ce3ed8a00dc26c948219192c3229dfdaa | refs/heads/master | 2020-12-31T07:18:45.026190 | 2016-04-14T03:17:45 | 2016-04-14T03:17:45 | 56,194,439 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,322 | h | // Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef UI_OZONE_PLATFORM_DRM_COMMON_CLIENT_NATIVE_PIXMAP_DMABUF_H_
#define UI_OZONE_PLATFORM_DRM_COMMON_CLIENT_NATIVE_PIXMAP_DMABUF_H_
#include <stdint.... | [
"dummas@163.com"
] | dummas@163.com |
c50a530658d49837545c37d349bf6ed75a79eff5 | e0434f9b14546a503f3a2fc7de368078320ffd3f | /CSci 390/Midterm/main.cpp | e537a2dde4b417fc677955b6c55528fd19d6f38d | [] | no_license | ghost413/127.0.0.1 | ecb39b4fc430f9920d62c6e2d408261b975c8c0f | e26a06e6cb3e64dd283dca49e9a283bf7447d220 | refs/heads/master | 2021-04-28T19:32:41.494804 | 2020-11-13T01:02:06 | 2020-11-13T01:02:06 | 121,899,211 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,121 | cpp | // Name: James Jacob Shaver
// ID: 010260091
// Email: jjshaver@go.olemiss.edu
// Program Source File Name: main.cpp
// Last Edit Date: Saturday 22 September 2018
// Course Information: CSci 390
// Program Description:
// Sources Consulted:
// Honor Code Statement: In keeping with the honor code policies of th... | [
"jjshaver@go.olemiss.edu"
] | jjshaver@go.olemiss.edu |
2ea49d7066e43b00f68e2e9266480f9ec54c5aa5 | 1af49694004c6fbc31deada5618dae37255ce978 | /components/optimization_guide/optimization_guide_decider.h | 1072e612cfdd4ec37cbf87ff34b4d8c45599bb14 | [
"BSD-3-Clause"
] | permissive | sadrulhc/chromium | 59682b173a00269ed036eee5ebfa317ba3a770cc | a4b950c23db47a0fdd63549cccf9ac8acd8e2c41 | refs/heads/master | 2023-02-02T07:59:20.295144 | 2020-12-01T21:32:32 | 2020-12-01T21:32:32 | 317,678,056 | 3 | 0 | BSD-3-Clause | 2020-12-01T21:56:26 | 2020-12-01T21:56:25 | null | UTF-8 | C++ | false | false | 5,088 | h | // Copyright 2019 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 COMPONENTS_OPTIMIZATION_GUIDE_OPTIMIZATION_GUIDE_DECIDER_H_
#define COMPONENTS_OPTIMIZATION_GUIDE_OPTIMIZATION_GUIDE_DECIDER_H_
#include <vector>... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
41b9873c1e06c026e203e18eb3ef5a365fd42a99 | 2f7a9c5a38027d2f836bc0c2e2545bdd4fb05530 | /Alarms.ino | f3d3008de96d315ed056b789fa2f3caab9a2f09b | [] | no_license | dmsloan/SwimmingPool | e179b1be5109ecec3b8f81a1ec10c9a7303200fc | ebdbc187b6ae69cd84fb55cfc8682edd46318e34 | refs/heads/master | 2020-04-02T14:23:38.421468 | 2018-10-29T04:52:46 | 2018-10-29T04:52:46 | 154,522,717 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,284 | ino | void checkAlarm()
{
int dow = weekday();
int secsOfDay = hour()*3600 + minute()*60 + second();
int timeOn, timeOff;
switch(dow)
{
case 1: // Sundays
timeOn = nHoursOn*3600 + nMinutesOn*60;
timeOff = nHoursOff*3600 + nMinutesOff*60;
break;
case 2: // Mondays
timeOn = mHoursOn*36... | [
"dsloan@ibe-inc.com"
] | dsloan@ibe-inc.com |
009feba84801bf0feed9c853e44d9dfda6f15c5a | 28769c5b470eb0cc084db5b98189767c9b0d3b9c | /src/t3.hpp | a3b262d3f660d743e2eac454e4a679645db681bf | [] | no_license | koja/t3 | a1527d39dda1b68b60f0b2bcdffec1b80f18d928 | 58d4e3c150adc46cc1a912282838f6245b6d8230 | refs/heads/master | 2021-01-10T08:31:56.225278 | 2015-12-05T22:22:40 | 2016-03-14T23:41:29 | 53,810,619 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,016 | hpp | #include <iostream>
#include "src/exception_intf.hpp"
#include "src/model/game.hpp"
#include "src/engine/engine.hpp"
#include "src/engine/setup_players.hpp"
#include "src/ui/cli.hpp"
inline void t3() {
/* std::shared_ptr ctor is noexcept */
std::shared_ptr<ui_intf> the_ui{nullptr};
try {
the_ui =... | [
"koja@kjx"
] | koja@kjx |
5e4db522a411fc12115c6205df89119b6dc65158 | 4bd9953e0ec435796712b58fb1ec1ed167544994 | /count-of-range-sum.cpp | f193fdd39c2e1a73f07b20b05fba0a29b42ebdbf | [] | no_license | kyungwoh/leetcode | 1a2d82276650f7d31c90ac6b9dccf166606cc219 | 88d48f177274dc388572b6fc3703cf12f76a59ec | refs/heads/master | 2021-06-02T18:08:49.587617 | 2020-10-04T22:03:42 | 2020-10-04T22:03:42 | 140,018,560 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 898 | cpp | // https://leetcode.com/problems/count-of-range-sum/description/
// Partial Sum + MultiSet + Distance between lower_bound() and upper_bound()
// Time: O(n^2) because std::distance consumes O(n) in the worst case
// Space: O(n)
class Solution {
public:
int countRangeSum(vector<int>& nums, int lower, int upper) {
... | [
"noreply@github.com"
] | kyungwoh.noreply@github.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.