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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
f3ac2f2411693d51eff22ffc7ce26a7a2a5518e2 | a35b30a7c345a988e15d376a4ff5c389a6e8b23a | /boost/proto/transform/lazy.hpp | db5f3be7f4bc128d3b2103864eb5ee7a25f35371 | [] | no_license | huahang/thirdparty | 55d4cc1c8a34eff1805ba90fcbe6b99eb59a7f0b | 07a5d64111a55dda631b7e8d34878ca5e5de05ab | refs/heads/master | 2021-01-15T14:29:26.968553 | 2014-02-06T07:35:22 | 2014-02-06T07:35:22 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 66 | hpp | #include "thirdparty/boost_1_55_0/boost/proto/transform/lazy.hpp"
| [
"liuhuahang@xiaomi.com"
] | liuhuahang@xiaomi.com |
15c771cd8cc149bbcbf97c75de999b3513498be6 | bb10aaccf7daafacb7124795ed2c63e95b90f8e7 | /chapter3/strings/3.10modified.cpp | ec007e5993e55bc4dadddcca530d4ec48dbd8302 | [] | no_license | shubharthaksangharsha/cpp_primer | bcce6cb1b3363911fe24e74f119633177033ced2 | 34d6ad5387167b4e5e6e84cff72edc36d766d981 | refs/heads/main | 2023-06-06T20:15:42.744316 | 2021-07-13T10:57:05 | 2021-07-13T10:57:05 | 374,952,762 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 390 | cpp | #include<iostream>
using std :: cout ;
using std :: cin ;
using std :: string;
using std :: endl;
int main(){
string name ;
getline(cin , name ) ;
decltype(name.size()) index = 0;
for(index = 0 ; index < name.size(); index++ ) {
if(ispunct(name[index])){
name[index]=' ';
cout<<name[index];
... | [
"shubharthaksangharsha@gmai.com"
] | shubharthaksangharsha@gmai.com |
a56a17add61e385aadcfd03bf3d8e01d5f76369f | 33035c05aad9bca0b0cefd67529bdd70399a9e04 | /src/boost_algorithm_string_constants.hpp | ad134d9081a6914294962c548798c72a9e5bd768 | [
"LicenseRef-scancode-unknown-license-reference",
"BSL-1.0"
] | permissive | elvisbugs/BoostForArduino | 7e2427ded5fd030231918524f6a91554085a8e64 | b8c912bf671868e2182aa703ed34076c59acf474 | refs/heads/master | 2023-03-25T13:11:58.527671 | 2021-03-27T02:37:29 | 2021-03-27T02:37:29 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 48 | hpp | #include <boost/algorithm/string/constants.hpp>
| [
"k@kekyo.net"
] | k@kekyo.net |
5375a856f25f482b2ec50b644ac2a3c96a673798 | 59aaa53325799de87719810dfd2738caa016a96b | /AllProgs/c5/sat.cpp | 8c3bccca595090ec30d0aaafc0a17d1fc9e11823 | [] | no_license | vaibhavait04/Sahni2ECodes | 6bc70b6642e89ceba14432427072a81202dc0c94 | 5b492a7a99f79a819c08925ec82a0d9e3d8fdae4 | refs/heads/master | 2021-01-01T19:31:03.330282 | 2015-05-02T12:49:10 | 2015-05-02T12:49:10 | 33,411,348 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,705 | cpp | #ifndef _IOSTREAM_H
#include <iostream>
#define _IOSTREAM_H
#endif
using namespace std;
//enum Boolean { FALSE, TRUE};
enum TypesOfData {LogicalNot, LogicalAnd, LogicalOr,
LogicalTrue, LogicalFalse};
class SatTree;
class SatNode {
friend class SatTree;
private:
SatNode *LeftChild;
TypesOfData data;
bo... | [
"vaibhavait04@gmail.com"
] | vaibhavait04@gmail.com |
831dc81d3dd34a7fe9ef4b071fdf4f0293a95d91 | 242e3bb85ffd18368e2c5db091ad6e18bab65343 | /test.cpp | eb705caf04f157f63e3a5c08a9e2934043fd0c40 | [] | no_license | TheMostKnown/Discrete-Density-Evolution | 29dec1200f2463753cd9757f9411f40cba652e11 | a264e581b481c2a0ed18760406d5fe38bbc930f5 | refs/heads/main | 2023-05-03T03:19:12.267376 | 2021-05-15T23:12:59 | 2021-05-15T23:12:59 | 338,883,046 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 569 | cpp | #include "discrete_val.h"
#include <iostream>
// use this to test the abilities of the library
int main() {
std::vector<double> a = {0.3, 0.7};
std::vector<double> b = {0.2, 0, 0.8};
discrete_value test_a(a, 1, 2);
discrete_value test_b(b, 1, 3);
//discrete_value test(-1, 3);
//test.print();
//... | [
"allakos01@mail.ru"
] | allakos01@mail.ru |
6da44169230138abfcde2bda5396bbced1c15d63 | 206038e91a1f33a4cf6fa4b653802f5934382b14 | /Classes/portRemodeLayer.cpp | 2d61b8e994eea588ff2eb3b265a56681e892082d | [] | no_license | zhyl19920810/JLU_collection | 6d3d3a606c111c2b76a5a8e7451c770f5e54adb0 | 157e47b7416cc9967f98179c288e01c63cb3fa0e | refs/heads/master | 2021-01-19T01:51:40.619585 | 2016-08-09T09:37:03 | 2016-08-09T09:37:03 | 45,473,160 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 815 | cpp | //
// portRemodeLayer.cpp
// kancolle_alpha
//
// Created by 岩林张 on 10/21/15.
//
//
#include "portRemodeLayer.h"
bool PortRemodeLayer::init()
{
bool bRet=false;
do
{
if (!Layer::init())
{
break;
}
initLayer();
bRet=true... | [
"zhyl19920810@gmail.com"
] | zhyl19920810@gmail.com |
80355033c5e1657b48515dbdc6d2152942a9037c | cc072b6de199867f99e9288338d6f0c3580eed8e | /eqnsearch/alter/genAssoc.cpp | 375bf4712f854a7428f4a4bd4680e713815f131d | [] | no_license | ndnygren/unfitsym | 530a9c0d96e77edb6ff119be8b1f612852b19cd6 | ec7ee538bddaedeb22309b75785ef5ce4966ed20 | refs/heads/master | 2021-01-15T11:48:23.502644 | 2011-10-07T00:58:59 | 2011-10-07T00:58:59 | 1,979,663 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,557 | cpp | /* unfitsym - framework for symbolic computation
* Copyright (C) 2011 Nick Nygren
*
* 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 3 of the License, or
* (at your option) any lat... | [
"ndnygren@ucalgary.ca"
] | ndnygren@ucalgary.ca |
bf92ecc745e9c15a03a06c23af1c2705a0866ea2 | f30c7994709ea8bb407af6249d3b19faecea56c3 | /src/ui/TraceUI.cpp | 2655ea73753a0b926746af6aa9e1323c1afb257e | [] | no_license | YanggWendy/trace | d81ece1b6e3526b93e36872f90bdd5bb92915f39 | 46ab91d47a6855093f5c5b10155cbf63ec0bf199 | refs/heads/master | 2023-02-07T05:56:22.756423 | 2023-01-29T11:35:15 | 2023-01-29T11:35:15 | 256,892,537 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 16,316 | cpp | //
// TraceUI.h
//
// Handles FLTK integration and other user interface tasks
//
#include <stdio.h>
#include <time.h>
#include <string.h>
#include <FL/fl_ask.h>
#include "TraceUI.h"
#include "../RayTracer.h"
static bool done;
//------------------------------------- Help Functions -----------------------------------... | [
"wyangaz@connect.ust.hk"
] | wyangaz@connect.ust.hk |
4010fdcdaadd03e851cbe7b239715bcd0fa8cbf4 | 6a51f1b3398766841aa038b1efd5ecd6864daf61 | /packet.cpp | 678062fb687d4bdcae056bda114be8342f68bc3c | [] | no_license | Smiley32/stratego | 8539190714c7e621c013072d9dacf431e925937e | d60495a3830543f35a3fac15830dc0c44c89f57d | refs/heads/master | 2021-09-08T02:52:58.699286 | 2018-02-27T14:53:16 | 2018-02-27T14:53:16 | 104,477,547 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 614 | cpp | #include "packet.h"
#include <cstring>
Packet::Packet() {}
void Packet::append(char data) {
std::size_t start = m_data.size();
m_data.resize(start + 1);
m_data[start] = data;
}
/*void Packet::append(const void* data, std::size_t dataSize) {
if(data && (dataSize > 0)) {
std::size_t start = m_data.size();
... | [
"jeannin.emile@laposte.net"
] | jeannin.emile@laposte.net |
541d1b25bf149bfefcbeb1fa967b86d7d443ed70 | 297497957c531d81ba286bc91253fbbb78b4d8be | /third_party/libwebrtc/rtc_base/numerics/moving_percentile_filter.h | 3d7aa27dd7223b0e536ddd58b84097b968867e94 | [
"LicenseRef-scancode-unknown-license-reference",
"BSD-3-Clause"
] | permissive | marco-c/gecko-dev-comments-removed | 7a9dd34045b07e6b22f0c636c0a836b9e639f9d3 | 61942784fb157763e65608e5a29b3729b0aa66fa | refs/heads/master | 2023-08-09T18:55:25.895853 | 2023-08-01T00:40:39 | 2023-08-01T00:40:39 | 211,297,481 | 0 | 0 | NOASSERTION | 2019-09-29T01:27:49 | 2019-09-27T10:44:24 | C++ | UTF-8 | C++ | false | false | 2,044 | h |
#ifndef RTC_BASE_NUMERICS_MOVING_PERCENTILE_FILTER_H_
#define RTC_BASE_NUMERICS_MOVING_PERCENTILE_FILTER_H_
#include <stddef.h>
#include <cstddef>
#include <list>
#include "rtc_base/checks.h"
#include "rtc_base/numerics/percentile_filter.h"
namespace webrtc {
template <typename T>
class MovingPercentile... | [
"mcastelluccio@mozilla.com"
] | mcastelluccio@mozilla.com |
efb2dd04e826aa6e0ba637917ed2be1977558c81 | cfd9878263624bfff0e0348b3372ed0b5b652ed7 | /zachariah3D/run/system/fvSolution | b6afbfacfd16e74ffb0d1f3bf83ec0232493c6d6 | [
"MIT"
] | permissive | CathyZZZ/OpenFOAM | cf6acb610fbe381512ae8ceb7e4d2646d1533080 | 2e7e869d8fcd0b67cfc0a3be3a4aacf0708dd504 | refs/heads/master | 2020-04-02T04:17:07.190247 | 2019-02-27T08:54:16 | 2019-02-27T08:54:16 | 154,009,515 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,060 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.3.1 |
... | [
"ziyizhu00@gmail.com"
] | ziyizhu00@gmail.com | |
bac72f7901bd2a79df3a897506d9008d75e0646b | 0d0e78c6262417fb1dff53901c6087b29fe260a0 | /as/include/tencentcloud/as/v20180419/model/ExecuteScalingPolicyResponse.h | ba0337a384910d7affd8bf404bd32266e9c9f0e2 | [
"Apache-2.0"
] | permissive | li5ch/tencentcloud-sdk-cpp | ae35ffb0c36773fd28e1b1a58d11755682ade2ee | 12ebfd75a399ee2791f6ac1220a79ce8a9faf7c4 | refs/heads/master | 2022-12-04T15:33:08.729850 | 2020-07-20T00:52:24 | 2020-07-20T00:52:24 | 281,135,686 | 1 | 0 | Apache-2.0 | 2020-07-20T14:14:47 | 2020-07-20T14:14:46 | null | UTF-8 | C++ | false | false | 2,198 | h | /*
* 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
... | [
"jimmyzhuang@tencent.com"
] | jimmyzhuang@tencent.com |
2cc0df724a5690b5e884c860cf827c63c6e6893b | 450f507ebf25d5bb450447cadb18685908e20fbf | /Engine/src/Platform/OpenGL/OpenGLContext.cpp | 6467250c17d7d204ffb6adc30028122e52b81c9b | [] | no_license | crasheds22/GameEngine | 02038abf4ce6c73bfe341b8a85af54017e7073ba | c8e698e4e772be9ac5bb9b0f4fe80bcf5c18249c | refs/heads/main | 2023-07-16T10:56:12.017780 | 2021-08-21T12:00:32 | 2021-08-21T12:00:32 | 391,243,392 | 0 | 0 | null | 2021-08-21T11:59:21 | 2021-07-31T03:14:14 | C++ | UTF-8 | C++ | false | false | 748 | cpp | #include "ngpch.h"
#include "OpenGLContext.h"
#include "GLFW/glfw3.h"
#include "glad/glad.h"
namespace Engine {
OpenGLContext::OpenGLContext(GLFWwindow* windowHandle)
: mWindowHandle(windowHandle)
{
NG_CORE_ASSERT(mWindowHandle, "Window handle is null");
}
void OpenGLContext::Init()
{
glfwMakeContextCur... | [
"a.thomson22@outlook.com"
] | a.thomson22@outlook.com |
9ce17a9cea3dab5e42469a95b7e51a2d359555f0 | b8179c8164d459e2796e50124014fec9c4ddaf41 | /a.cpp | 77cb305d841c99292089faed4057673ebf5ac2d0 | [] | no_license | BiralTuya/URI | 91310d3e28b2626a9f4cb57ff53415b22a34524b | e6b5a3bc4a3bb85c5e8b6af062d723fbfeef817b | refs/heads/master | 2021-01-19T12:26:14.745322 | 2016-10-10T14:57:15 | 2016-10-10T14:57:15 | 82,310,740 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 463 | cpp | #include<iostream>
using namespace std;
int main(){
int n=0,v=0;
cin>>n;
for(int i=0;i<n;i++){
cin>>v;
if(v%2==0 && v>0)
cout<<"EVEN POSITIVE"<<endl;
if(v%2==0 && v<0)
cout<<"EVEN NEGETIVE"<<endl;
if(v%2!=0 && v>0)
cout<<"ODD POSITIVE"<<... | [
"Sanzila Hossain Tuya"
] | Sanzila Hossain Tuya |
88ee85641e76185f5990ebb2966f88252cc43560 | 99a466aba71f86a69fe38b47e87d9333d6251454 | /contest/439/b.cpp | 334747812726900730b5464ed833cd260ec0f078 | [] | no_license | m-nny/Codeforces | ca84be67110c5c5ba0f986652b3b195f964a5026 | fbd5918f567a907005bb65b283595a2f0974e412 | refs/heads/master | 2021-09-04T20:37:02.533540 | 2018-01-22T07:47:39 | 2018-01-22T07:47:39 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 349 | cpp |
#include <bits/stdc++.h>
using namespace std;
#define maxn (int)(1e5 + 12)
int n, x, a[maxn];
long long ans;
int main()
{
scanf("%d%d", &n, &x);
for (int i = 0; i < n; i++)
scanf("%d", &a[i]);
sort (a, a + n);
for (int i = 0; i < n; i++)
{
ans += (x + 0ll) * a[i];
x = max(1, x - 1);
... | [
"Alibek.manabayev@gmail.com"
] | Alibek.manabayev@gmail.com |
61208f8741db64f4fe42dc901692daad7c926fa3 | 2c468a95f18331aa30eda764e913f15f5e8587f4 | /MyBattleTank/Source/MyBattleTank/Private/MyTankMovementComponent.cpp | 6013fc483976eaf468f54b480379b5fedd000afb | [] | no_license | FixeoUnreal/04_MyBattleTank | ba93be5b0211ad44c5ed1e63cbcfdbc12769a2c2 | 38ca7a10d0b99760c24cd8c8429b3f793bdb26fd | refs/heads/master | 2020-03-12T04:49:36.495808 | 2018-06-13T10:49:51 | 2018-06-13T10:49:51 | 130,452,436 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,177 | cpp | // Copyright FIXEO
#include "MyBattleTank/Public/MyTankMovementComponent.h"
#include "MyBattleTank/Public/MyTankTrack.h"
void UMyTankMovementComponent::IntendMoveForward(float Throw)
{
if (!ensure(LeftTrack && RightTrack)) { return; }
LeftTrack->SetThrottle(Throw);
RightTrack->SetThrottle(Throw);
}
void UMyTan... | [
"giang151093@yahoo.com.vn"
] | giang151093@yahoo.com.vn |
79ece81058b69827bc10cf2f215c5c1626d07f69 | dc02e94a6b7f09714a85198af3ce5fb2cbc0def4 | /src/engine/client/graphics.h | 817c7dc014b7a7b631b10552c2965c140410bc09 | [
"Zlib",
"LicenseRef-scancode-other-permissive"
] | permissive | SailorEx/Taschenrechner | 1c87791464f9cbeb094edaac7021703e3464ec93 | f4ac996469c5d02f51c92b2d0b60ba436bcaeeba | refs/heads/master | 2020-12-13T07:37:47.162881 | 2015-01-11T21:18:52 | 2015-01-11T21:18:52 | 234,348,839 | 0 | 1 | NOASSERTION | 2020-01-16T15:20:57 | 2020-01-16T15:20:56 | null | UTF-8 | C++ | false | false | 5,011 | h | /* (c) Magnus Auvinen. See licence.txt in the root of the distribution for more information. */
/* If you are missing that file, acquire a complete release at teeworlds.com. */
#ifndef ENGINE_CLIENT_GRAPHICS_H
#define ENGINE_CLIENT_GRAPHICS_H
class CGraphics_OpenGL : public IEngineGraphics
{
protected:
... | [
"xshaddi@hotmail.com"
] | xshaddi@hotmail.com |
5cb5462e462c86fa538b9e0ba0e6084a5d03d80c | 72f8f4fdf1dfdc94b5c76e95ee7af40675ee3986 | /C-Books/CLion-Primer/coder/maths/linear-algebra/src/main.cpp | 6ce0932bca71f1eccc43d356a94b1eafaf26b71e | [
"MIT"
] | permissive | lauer3912/LoveYourBooks | 8e4de283a68a9e23a4b5cc0f5c614768e133bbe8 | 23c894b8b2d3e513626045441a873c03486e14ba | refs/heads/master | 2022-12-24T16:51:28.422214 | 2021-08-25T05:20:10 | 2021-08-25T05:20:10 | 160,127,907 | 2 | 0 | MIT | 2022-12-09T17:36:16 | 2018-12-03T03:33:51 | HTML | UTF-8 | C++ | false | false | 216 | cpp | #include <iostream>
#include "ArmadilloHelper.h"
#include "EigenHelper.h"
int main()
{
std::cout << "Hello, World!" << std::endl;
// ArmadilloHelper::RunTest();
EigenHelper::RunTest();
return 0;
} | [
"lauer3912@gmail.com"
] | lauer3912@gmail.com |
6144714c640a32caf49188341d91a4b85e2ecb3d | c3ffda360b1c77218ee4b09ef941ef2e58a82ec3 | /Playground/GStreamerTutorialWithC++/GstSupport/src/Support.cpp | 8a49298682e6f306f327fb32c77f150d55dea343 | [] | no_license | StackedCrooked/stacked-crooked | 187ab1f9465223949732336444aa104277223072 | 08cd3e7ea1d7d326792c536f0346f220c347f5e4 | refs/heads/master | 2023-08-15T15:37:43.635922 | 2023-07-19T22:47:46 | 2023-07-19T22:47:46 | 32,498,571 | 5 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 16,785 | cpp | #include "Gst/Support.h"
#include "Gst/MakeString.h"
#include <gst/interfaces/propertyprobe.h>
#include <stdexcept>
namespace Gst {
namespace Pipeline {
GstElement * Create(const std::string & inName)
{
GstElement * pipeline = gst_pipeline_new(inName.c_str());
if (!pipeline)
{
th... | [
"StackedCrooked@users.noreply.github.com"
] | StackedCrooked@users.noreply.github.com |
52c7a0f18b1ab75ebe7e9eea144fdd3222358f05 | 5367342507ac9bb8a2032bfb15a023aadc02c522 | /src/renderer/win/winglextensionsloader.cpp | 329290c0ee94826bebb1479cc1a665f15de8ca1c | [] | no_license | allexzander/rendering_framework | 1567811418db334cb8ae34487a1e1c637f792c02 | 6ef1e7c54ed896951ba15db284840ecd11ce19e4 | refs/heads/master | 2016-09-06T15:23:15.839390 | 2015-08-04T19:58:14 | 2015-08-04T19:58:14 | 35,037,464 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,901 | cpp | #include "renderer/win/winglextensionsloader.h"
#include <GL/wglext.h>
namespace ALZ_RENDERER
{
WinGlExtensionsLoader::WinGlExtensionsLoader()
{
glGenVertexArrays = nullptr;
glBindVertexArray = nullptr;
glGenBuffers = nullptr;
glBindBuffer = nullptr;
glBufferData = nullptr;
glVertexAttribPointer = nullp... | [
"blackslayer4@gmail.com"
] | blackslayer4@gmail.com |
108def4a0d45d8803d289b9a15fc2bb3e451f170 | 5ada15984f0c484e9ecc0ec27d87d5b2902a0890 | /trace_src/jiao.cpp | 82ea23e147f4b9944add8a4db2ae3f5b8a2f81e2 | [] | no_license | dongchen-coder/locapo | a1199d6d5821b9446cdcb0cb39361cdc3f535ffd | bb5ef5a6a8077523b0b95deba8baaded6bad6d70 | refs/heads/master | 2021-06-26T11:25:27.554337 | 2020-11-20T04:35:57 | 2020-11-20T04:35:57 | 176,756,501 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,324 | cpp | #include "../utility/rt.h"
#include "../utility/data_size.h"
#ifdef ORG
#define NI 256
#define NJ 256
#define NK 256
#define NL 256
#elif defined (TX)
#elif defined (FX)
#elif defined (EX)
#endif
#define TMP_OFFSET 0
#define A_OFFSET NI * NJ
#define B_OFFSET NI * NJ + NI * NK
#define D_OFFSET NI * NJ + NI * NK + ... | [
"jiao@dhcp-10-4-0-69.wireless.rochester.edu"
] | jiao@dhcp-10-4-0-69.wireless.rochester.edu |
c3a9a59bb2e4ecd5131135c790788bd6033ea590 | fb98e790b90cc475b53780f1e5fedd5eccfe8b56 | /Laelaps/sw/liblaelaps/ut/utRobot.cxx | 7bbcc2667f91b570979f5bdb4df11e3344e0c953 | [
"MIT"
] | permissive | roadnarrows-robotics/rnr-sdk | e348dacd80907717bee4ad9c0a3c58b20fa380ae | be7b3e0806364cdb4602202aba2b4cdd9ba676f4 | refs/heads/master | 2023-08-16T06:52:31.580475 | 2023-08-03T19:45:33 | 2023-08-03T19:45:33 | 56,259,572 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,795 | cxx | ////////////////////////////////////////////////////////////////////////////////
//
// Package: Laelaps
//
// Program: utRobot
//
// File: utRobot.cxx
//
/*! \file
*
* $LastChangedDate: 2016-02-01 15:14:45 -0700 (Mon, 01 Feb 2016) $
* $Rev: 4289 $
*
* \brief Unit test liblaelaps robot class.
*
* \aut... | [
"robin.knight@roadnarrows.com"
] | robin.knight@roadnarrows.com |
cb5a3e887830a2d2cac7bbc514e31a66f4b32299 | 127c53f4e7e220f44dc82d910a5eed9ae8974997 | /Client/Game/Network/PacketHandler/GCNewPlayerHandler.cpp | 8d3458319e8a64cb247033ea1f1326b549440843 | [] | no_license | zhangf911/wxsj2 | 253e16265224b85cc6800176a435deaa219ffc48 | c8e5f538c7beeaa945ed2a9b5a9b04edeb12c3bd | refs/heads/master | 2020-06-11T16:44:14.179685 | 2013-03-03T08:47:18 | 2013-03-03T08:47:18 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 3,398 | cpp | #include "StdAfx.h"
#include "GITimeSystem.h"
#include "..\..\Procedure\GameProcedure.h"
#include "Object\Manager\ObjectManager.h"
#include "Object\Logic\Character\Obj_PlayerOther.h"
#include "Object\ObjectCommandDef.h"
#include "..\..\NetWork\NetManager.h"
#include "CGCharAskBaseAttrib.h"
#include "GCNewPlayer... | [
"amwfhv@163.com"
] | amwfhv@163.com |
cda49f98253bd19d7d2f3123a214cbd6475ea280 | 786de89be635eb21295070a6a3452f3a7fe6712c | /ImgPixSpectra/tags/V00-00-01/include/MiniCSPadPixSpectra.h | 57f93e5e9437b52202d12135061e0c55792c5822 | [] | no_license | connectthefuture/psdmrepo | 85267cfe8d54564f99e17035efe931077c8f7a37 | f32870a987a7493e7bf0f0a5c1712a5a030ef199 | refs/heads/master | 2021-01-13T03:26:35.494026 | 2015-09-03T22:22:11 | 2015-09-03T22:22:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,306 | h | #ifndef IMGPIXSPECTRA_MINICSPADPIXSPECTRA_H
#define IMGPIXSPECTRA_MINICSPADPIXSPECTRA_H
//--------------------------------------------------------------------------
// File and Version Information:
// $Id$
//
// Description:
// Class MiniCSPadPixSpectra.
//
//----------------------------------------------------------... | [
"dubrovin@SLAC.STANFORD.EDU@b967ad99-d558-0410-b138-e0f6c56caec7"
] | dubrovin@SLAC.STANFORD.EDU@b967ad99-d558-0410-b138-e0f6c56caec7 |
8423fdc9bd2bcaddbd7451a75507864ce59b6f3c | a33aac97878b2cb15677be26e308cbc46e2862d2 | /program_data/PKU_raw/7/913.c | ab3306b5aa32456a253dc18da08b51eda0e66a6d | [] | no_license | GabeOchieng/ggnn.tensorflow | f5d7d0bca52258336fc12c9de6ae38223f28f786 | 7c62c0e8427bea6c8bec2cebf157b6f1ea70a213 | refs/heads/master | 2022-05-30T11:17:42.278048 | 2020-05-02T11:33:31 | 2020-05-02T11:33:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 356 | c |
int main()
{
char s3[100];
char s1[100];
char s2[100];
int L1,L2,i,j;
gets(s1);
gets(s2);
gets(s3);
L1=strlen(s1);
L2=strlen(s2);
for(i=0;i<L1;i++)
{
if(s1[i]==s2[0]&&s1[i+L2-1]==s2[L2-1])
{
for(j=i;j<i+L2;j++)
{
s1[j]=s3[j-i];
}
break;
}
... | [
"bdqnghi@gmail.com"
] | bdqnghi@gmail.com |
1c98ac9a2f67d2eacf6222eb5e01312a8e74bf21 | 3373becb8d434b2ebae20e9b2e446520115a968f | /os/android/grallocbufferhandler.cpp | 57ff8476046fdc9d5418cdbcd1d29fdcbf09c470 | [] | no_license | yogesh-marathe/IA-Hardware-Composer | e98670ced0016d28ac836e10fffec00a27404536 | ef70c6132f1dfc1ee842bc231e1aebcbe9247965 | refs/heads/master | 2021-01-19T22:54:13.357196 | 2017-04-24T09:37:56 | 2017-04-24T09:40:48 | 88,889,599 | 0 | 0 | null | 2017-04-20T16:54:11 | 2017-04-20T16:54:10 | null | UTF-8 | C++ | false | false | 4,779 | cpp | /*
* Copyright (C) 2016 The Android Open Source Project
*
* 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 app... | [
"kalyan.kondapally@intel.com"
] | kalyan.kondapally@intel.com |
6b160e90da9424a466e7f786861ffe39638151f2 | d0db9eaf6333da4bd1336c24c71cca2ae61a6514 | /bin/targetCtrlDir/FollowerProperty.h | cd4b70ca671db167e8666d1572d940076d949b7f | [] | no_license | quinsmpang/CcbToCode | 2c33fad6f4ee5bf8df0c5817e0593277a7373558 | 970b1e4063494c9aa115e50f56de216f730d2168 | refs/heads/master | 2019-04-21T08:26:56.366457 | 2015-03-02T02:47:46 | 2015-03-02T02:47:46 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,096 | h | //
// FollowerProperty.h
//
//
// this code is auto generate by the tool created by neo. Email andsonliang@gmail.com
// and improved by TerrenceRao. Email rcttobattle@gmail.com
// feel free to modify this class
//
#ifndef __autogen_ccbuilder__FollowerProperty__
#define __autogen_ccbuilder__FollowerProperty__
#i... | [
"rct1985@163.com"
] | rct1985@163.com |
b9671cdebc23d4957661db48121c7443874fbaf2 | 1f63dde39fcc5f8be29f2acb947c41f1b6f1683e | /Boss2D/addon/webrtc-jumpingyang001_for_boss/rtc_base/ifaddrs_converter.cc | 448a1c6dcf98f5d92ed1c57d4f3e44b8a1534bcc | [
"MIT",
"BSD-3-Clause",
"LicenseRef-scancode-google-patent-license-webm",
"LicenseRef-scancode-google-patent-license-webrtc",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | koobonil/Boss2D | 09ca948823e0df5a5a53b64a10033c4f3665483a | e5eb355b57228a701495f2660f137bd05628c202 | refs/heads/master | 2022-10-20T09:02:51.341143 | 2019-07-18T02:13:44 | 2019-07-18T02:13:44 | 105,999,368 | 7 | 2 | MIT | 2022-10-04T23:31:12 | 2017-10-06T11:57:07 | C++ | UTF-8 | C++ | false | false | 1,909 | cc | /*
* Copyright 2015 The WebRTC Project Authors. All rights reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contributing ... | [
"slacealic@nate.com"
] | slacealic@nate.com |
42a2dda01b5fa069a69b96bd84db6fbf84ddcbe1 | cb728b5019bf0c5c466fecbd59bac07b24778d2a | /Practice/201907180805/AlgoritmAndDataStructus/AlgoritmAndDataStructus/quickSort.h | 3444c707cffa4c7b3217598636ca316dcc223ac5 | [] | no_license | githubgjb/c-20171012067-3 | 2064a805ef42d59838b39b7e780b84ee8f87d442 | adb5feed68c053c399829ce022a38f2b9071b737 | refs/heads/master | 2021-05-04T19:14:36.622555 | 2020-04-04T07:46:26 | 2020-04-04T07:46:26 | 106,658,208 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 681 | h | #include <iostream>
#include <algorithm>
using namespace std;
//对arr[l...r]部分进行partition操作
//p arr[l...p-1] < arr[p] arr[p+1...r] > arr[p]
template<typename T>
int __partition(T arr[], int l, int r){
T v = arr[l];
//arr[l+1...j] < v ; arr[j+1..i] > v
int j = l;
for (int i = l+1; i <= r; i++)
{
if (arr[i] < ... | [
"31399236+githubgjb@users.noreply.github.com"
] | 31399236+githubgjb@users.noreply.github.com |
7289e79b25fa8d89ca06f834b0348064454473b6 | c445821d3d24ec09d233a156e5c2bba7d778ede4 | /EscapeRoomZ/creature.h | 496476df136a4c683632890d9d2aba7e894861a2 | [
"MIT"
] | permissive | ermario/EScapeRoomZ | 9613daf59dcc71710d85d68e3271cb8c2dc888c3 | 2ec78b353248347cc5ad70e47daa06bc72c033b0 | refs/heads/main | 2023-06-04T11:53:18.524829 | 2021-06-24T15:48:40 | 2021-06-24T15:48:40 | 379,427,612 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 326 | h | #ifndef _CREATURE_
#define _CREATURE_
#include <string>
#include "entity.h"
class Room;
class Item;
using namespace std;
class Creature : public Entity
{
public:
Creature(const char* name, const char* description, Room* room);
~Creature();
Room* getRoomN() const;
virtual void Die();
public:
bool alive;
};
#... | [
"marius.dambean@gmail.com"
] | marius.dambean@gmail.com |
74ceffa6f8292a7cc9c04b3bc86807a3fb803baf | 3f3f6941b6f8301f4019ca5146f18fec872d211d | /module.cpp | 826c64d3745c706d2356131210403f8a4848c4ec | [] | no_license | shackspace/shack_kiosk_v5 | db7fd381bd8856fc523db79eb3604c2a213238de | 92041f28a95826755d83a23056f71bf6caf8bb17 | refs/heads/master | 2021-07-17T00:27:24.819813 | 2020-09-19T01:00:14 | 2020-09-19T01:00:14 | 212,873,292 | 0 | 2 | null | 2020-01-19T17:59:58 | 2019-10-04T17:55:34 | C++ | UTF-8 | C++ | false | false | 225 | cpp | #include "module.hpp"
module::~module()
{
}
void module::init()
{
}
void module::enter()
{
}
notify_result module::notify(SDL_Event const &)
{
return failure;
}
void module::render()
{
}
void module::leave()
{
}
| [
"git@mq32.de"
] | git@mq32.de |
1fca9879770c2c541ddacc46f2f226fde6ce7890 | bcbdd0fe58815e9a55a19d0c8211bd5209eb3949 | /Online-Judge-Solutions/HDU/1358-Period.cpp | 8bdbebf111d151047e6c5e349138b6f82fbb8bf0 | [] | no_license | simantaturja/Competitive-Programming | e43d84237b706453aac842fab8893547832093ac | f43bf518d9c75e24ae2231440b434fe57c2d72a5 | refs/heads/master | 2021-01-19T18:06:17.122842 | 2020-08-26T18:15:24 | 2020-08-26T18:15:24 | 267,894,783 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 842 | cpp | #include <bits/stdc++.h>
using namespace std;
const int N = (int)1e6 + 2;
int pi[N + 7];
void prefixTable(const string &s) {
int len = (int)s.length();
int i = 1, j = 0;
pi[0] = 0;
while ( i < len ) {
while ( j > 0 && s[i] != s[j] ) {
j = pi[j - 1];
}
if ( s[i] == s[j... | [
"simantaturja@gmail.com"
] | simantaturja@gmail.com |
ee3beafb9fe15990fbf5134df01edcc9bb84006d | 9a3b9d80afd88e1fa9a24303877d6e130ce22702 | /src/Providers/UNIXProviders/PolicyRuleValidityPeriod/tests/PolicyRuleValidityPeriod.Tests/main.cpp | d5ddfb78054312b9d553750cf4508e50f3c76147 | [
"MIT"
] | permissive | brunolauze/openpegasus-providers | 3244b76d075bc66a77e4ed135893437a66dd769f | f24c56acab2c4c210a8d165bb499cd1b3a12f222 | refs/heads/master | 2020-04-17T04:27:14.970917 | 2015-01-04T22:08:09 | 2015-01-04T22:08:09 | 19,707,296 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,083 | cpp | //%LICENSE////////////////////////////////////////////////////////////////
//
// Licensed to The Open Group (TOG) under one or more contributor license
// agreements. Refer to the OpenPegasusNOTICE.txt file distributed with
// this work for additional information regarding copyright ownership.
// Each contributor lice... | [
"brunolauze@msn.com"
] | brunolauze@msn.com |
e77786c2aebc97dec2afd355b07408d1b6fae328 | 49c6cf776addc6fbac50c887edfa168d81aa7729 | /Ujjwal/Halim/Ch4/SSSP/10653.cpp | 27ad1bd701fc4ae032112859c069556c1035f30b | [] | no_license | Ryednap/Coding-Competition | b43e38b4e8d3bfc7eee21750cd1014fb4ce49c54 | a4fd7b97f3898e60800689fe27b8c00ac8a456fa | refs/heads/main | 2023-08-19T06:55:04.344956 | 2021-10-08T05:59:24 | 2021-10-08T05:59:24 | 398,359,907 | 0 | 0 | null | 2021-08-28T12:33:09 | 2021-08-20T17:55:14 | C++ | UTF-8 | C++ | false | false | 2,083 | cpp | #include <bits/stdc++.h>
using namespace std;
#define sim template < class c
#define ris return * this
#define dor > debug & operator <<
#define eni(x) sim > typename \
enable_if<sizeof dud<c>(0) x 1, debug&>::type operator<<(c i) {
sim > struct rge { c b, e; };
sim > rge<c> range(c i, c j) { return rge<c>{i, j}; }
s... | [
"ujjwalpandey408@gmail.com"
] | ujjwalpandey408@gmail.com |
f3002abb7b9551b6c6f25c19fa9078eb0aa97e18 | 5d83739af703fb400857cecc69aadaf02e07f8d1 | /Archive2/0b/79f84878b28746/main.cpp | be3aa617cb01f99f15b6d544b3ac57fb278d3117 | [] | no_license | WhiZTiM/coliru | 3a6c4c0bdac566d1aa1c21818118ba70479b0f40 | 2c72c048846c082f943e6c7f9fa8d94aee76979f | refs/heads/master | 2021-01-01T05:10:33.812560 | 2015-08-24T19:09:22 | 2015-08-24T19:09:22 | 56,789,706 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 681 | cpp | #include <type_traits>
class BASE_Y {};
class BASE_X {};
struct A {
template<class T, class = void>
class S;
template<class T>
class S < T, typename std::enable_if< std::is_base_of< BASE_Y, T >::value >::type > {};
template<class T>
class S < T, ty... | [
"francis.rammeloo@36614edc-3e3a-acb8-9062-c8ae0e4185df"
] | francis.rammeloo@36614edc-3e3a-acb8-9062-c8ae0e4185df |
3f5ca3e20cab5a3f770630a8ee91e2cc06f97fa2 | ac0d3dc1867eaebe756642b9e29ac8a89e59309b | /Agora/Public/Modes/AgoraGameState.h | c2847b7e37681edb32ac393a55db61f910142911 | [] | no_license | lineCode/MobaGame | e58a9caf289f067d6708598ead35ddcfe9d2a806 | 1c26b527a19e5ec3bfaaa6fbe6869510cfecfa50 | refs/heads/main | 2023-03-25T22:17:11.179350 | 2021-03-29T22:43:06 | 2021-03-29T22:43:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,926 | h | // Copyright (C) 2019 Kevin Ossia, Joe Finley, and Nicholas Arthur. Unauthorized copying of this file via any medium is strictly prohibited.
#pragma once
#include "CoreMinimal.h"
#include "GameFramework/GameState.h"
#include "AgoraTypes.h" // FDamageContext
#include "AgoraGameState.generated.h"
class AAgoraPlayerSta... | [
"joefinleybusiness@gmail.com"
] | joefinleybusiness@gmail.com |
5754e0caf5f2aa9ca2821a78e5fe0718cb7137ac | bc077ae16563297c741428f2f48ac1c5bac4ef21 | /SFMLSetup/main.cpp | 10fc2adc1cddd61c031dc388b4d803816ac877f2 | [] | no_license | RobertNieuwkoop/FallingSandSimulation | c0b5a2c1e86bdd22477d18dd04fd3591ae4f8b3a | 0af7fcc1c9e9f3be2f5cef4d13ebc92e9fe47915 | refs/heads/master | 2023-06-14T08:42:27.786664 | 2021-04-21T18:39:00 | 2021-04-21T18:39:00 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 323 | cpp | #include <iostream>
#include <string>
#include <SFML/Graphics.hpp>
#include <SFML/System.hpp>
#include <SFML/Window.hpp>
#include <SFML/Audio.hpp>
#include <SFML/Network.hpp>
#include "Game.h"
int main()
{
//Init Game engine
Game game;
while (game.running()) {
game.update();
game.render();
}
return 0... | [
"davidmclaugh@gmail.com"
] | davidmclaugh@gmail.com |
1750286abbbb70dd7cd88258afac9697931338d1 | 56bcffceb734a9de899362391b2e44916d6ff7c0 | /DesignPattern/DecoratorLib/DecoratorLib/MemoryStream.cpp | cf974cf572d4894dd5a51eb9e998be59b47bab61 | [] | no_license | deeplin/CppProjects | f136a8111dc74b49621369b843d6ec2d1f02c9c4 | 935b31c7b3dd83c85a3b59432bd70a69de0a3635 | refs/heads/master | 2023-03-19T05:21:14.240646 | 2021-03-11T07:51:22 | 2021-03-11T07:51:22 | 341,447,276 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 85 | cpp | #include "MemoryStream.h"
string MemoryStream::operation()
{
return "memory";
}
| [
"10525677@qq.com"
] | 10525677@qq.com |
fdc71676cb683d3f799734cbce94f994c2c8d11a | 9ed65d06644977f0873e2880ec654cd9988ac5f0 | /Tetris_Assignment/Tetris_Assignment/Sound.h | a3cf33c663b9154d4a7597d1f82ea6f2a5c21188 | [] | no_license | rNdm74/CPlusPlus | 72ddc37f1b217e7472d8ad3c119741b69660b555 | 2e762b08eee58d5ec6d48e0497345ff5b250dc70 | refs/heads/master | 2021-01-22T16:45:14.141887 | 2013-11-10T10:57:25 | 2013-11-10T10:57:25 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 254 | h | #pragma once
using namespace System::Media;
using namespace System::Resources;
ref class Sound
{
private:
SoundPlayer^ player;
ResourceManager^ rManager;
public:
bool Play;
public:
Sound(ResourceManager^ rm);
void play(System::String^ file);
};
| [
"rndm@windowslive.com"
] | rndm@windowslive.com |
496f521a2ce3a58731b204970f84fb15768c27a3 | 55d8ae43f175c381e6846208f904916d4d365908 | /SDKPackage_OGLES2/TrainingCourse/13_FastTnL/OGLES2/Content/Mask.cpp | 6f6cea171771e0eb4ac92f7a2598121c62502252 | [] | no_license | anonymousjustice/pvr-pi | 404b1c73b6f83e4e6bf25432ed913e8a198beb8c | fbc9b6daaa44fe07c0bd6f897d7f7a87fe08f669 | refs/heads/master | 2016-08-06T20:43:44.778663 | 2013-02-14T10:31:26 | 2013-02-14T10:31:26 | 5,461,385 | 7 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 295,106 | cpp | // This file was created by Filewrap 1.1
// Little endian mode
// DO NOT EDIT
#include "../PVRTMemoryFileSystem.h"
// using 32 bit to guarantee alignment.
#ifndef A32BIT
#define A32BIT static const unsigned int
#endif
// ******** Start: Mask.pod ********
// File data
A32BIT _Mask_pod[] = {
0x3e8,0xb,0x502e4241,0x3... | [
"anon@justice"
] | anon@justice |
3183d4237af154f28f498ae087dc8c8d1120f740 | 5bf03d99f9849f283229baa747a383f1b0e682a1 | /src/rpcblockchain.cpp | cabbe16eed1e6b71fbe735714cf55189fe4535dc | [
"MIT"
] | permissive | vividplatform/vividcoin | f98b94c60b7a5cd371799019af16bf1a11ce8508 | 7a23aba5932470ac10a843302d86f9b694201d68 | refs/heads/master | 2020-03-20T10:15:41.813739 | 2019-10-10T13:19:42 | 2019-10-10T13:19:42 | 137,364,401 | 3 | 4 | MIT | 2018-12-01T16:15:13 | 2018-06-14T13:50:16 | C++ | UTF-8 | C++ | false | false | 33,415 | cpp | // Copyright (c) 2010 Satoshi Nakamoto
// Copyright (c) 2009-2014 The Bitcoin developers
// Copyright (c) 2014-2015 The Dash developers
// Copyright (c) 2015-2017 The PIVX developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php... | [
"vividtoken@gmail.com"
] | vividtoken@gmail.com |
72b7925040bf28812d4c0b869605289ace443197 | fad392b7b1533103a0ddcc18e059fcd2e85c0fda | /build/px4_msgs/rosidl_typesupport_cpp/px4_msgs/msg/estimator_status__type_support.cpp | afc41a9830112142d4efe52cfaca64a2e49078a4 | [] | no_license | adamdai/px4_ros_com_ros2 | bee6ef27559a3a157d10c250a45818a5c75f2eff | bcd7a1bd13c318d69994a64215f256b9ec7ae2bb | refs/heads/master | 2023-07-24T18:09:24.817561 | 2021-08-23T21:47:18 | 2021-08-23T21:47:18 | 399,255,215 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,184 | cpp | // generated from rosidl_typesupport_cpp/resource/idl__type_support.cpp.em
// with input from px4_msgs:msg/EstimatorStatus.idl
// generated code does not contain a copyright notice
#include "cstddef"
#include "rosidl_generator_c/message_type_support_struct.h"
#include "px4_msgs/msg/estimator_status__struct.hpp"
#inclu... | [
"adamdai97@gmail.com"
] | adamdai97@gmail.com |
6dadd8a5d892cdefef9e0d1a9cfce40a0212d29a | 2898223584a244abedec2740accea93e803f9c53 | /FileText/FileText/widget.cpp | bf28b0f04b9e59d03310b921b86560f46848fe72 | [] | no_license | oobiliuoo/QtCode | 4a767bbf661a94816e7f733e43bc90aeed41a993 | 9600278071c41b9c65d1fe55cf254232b00d2429 | refs/heads/main | 2023-06-09T06:58:21.953477 | 2021-07-01T15:43:39 | 2021-07-01T15:43:39 | 377,562,169 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,496 | cpp | #include "widget.h"
#include "ui_widget.h"
#include <QFile>
#include <QFileDialog>
#include <QMessageBox>
// 文件流
// 文本流 数据流(二进制格式)
#include <QTextStream> // 操作基础数据类型: int,string...
#include <QDataStream> // QImage、QPoint、QRect
#include <QDebug>
Widget::Widget(QWidget *parent) :
QWidget(parent),
ui(... | [
"biliu819@163.com"
] | biliu819@163.com |
2333783c189a7b8542c18617c5328fa43ad372b2 | 48298469e7d828ab1aa54a419701c23afeeadce1 | /Server/Item/ItemTable.h | 14916dd6a1b4ca8e345bb5267d4313bb44433386 | [] | no_license | brock7/TianLong | c39fccb3fd2aa0ad42c9c4183d67a843ab2ce9c2 | 8142f9ccb118e76a5cd0a8b168bcf25e58e0be8b | refs/heads/master | 2021-01-10T14:19:19.850859 | 2016-02-20T13:58:55 | 2016-02-20T13:58:55 | 52,155,393 | 5 | 3 | null | null | null | null | GB18030 | C++ | false | false | 7,362 | h | /********************************************************************
创建日期: 2005年11月2日
创建时间: 16:54
文件名称: ItemTable.h
文件路径: d:\Prj\Server\Server\Item\ItemTable.h
文件功能: 物品基础数据表操作
修改纪录:
*********************************************************************/
#ifndef _ITEM_TABLE_H_
#define _ITEM_TABLE_H_
#include... | [
"xiaowave@gmail.com"
] | xiaowave@gmail.com |
38d2b651017ad017fe8e549c07357a9f542636b7 | 0065cefdd3a4f163e92c6499c4f36feb584d99b7 | /rogue/cheat/sdk/SDK/UMG_parameters.h | eab82d8ea1137a4d1d4ab70dd241657bcb37b68a | [] | no_license | YMY1666527646/Rogue_Company_hack | ecd8461fc6b25a0adca1a6ef09ee57e59181bc84 | 2a19c81c5bf25b6e245084c073ad7af895a696e4 | refs/heads/main | 2023-08-20T06:07:14.660871 | 2021-10-21T20:33:53 | 2021-10-21T20:33:53 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 306,780 | h | #pragma once
// Name: roguecompany, Version: 425
/*!!DEFINE!!*/
/*!!HELPER_DEF!!*/
/*!!HELPER_INC!!*/
#ifdef _MSC_VER
#pragma pack(push, 0x01)
#endif
namespace CG
{
//---------------------------------------------------------------------------
// Parameters
//----------------------------------------------------... | [
"51001754+dmitrysolovev@users.noreply.github.com"
] | 51001754+dmitrysolovev@users.noreply.github.com |
f65d6ff2b7a2b3e56230d821bc5c4126ef04d613 | 794539b862b4a2ca802bd60073ac75d1e64978f8 | /Litvinov group/semester 1/06.HW/6.4/main.cpp | 6d84ce57ecdd96e6180c5480e7393a92dbc9eb61 | [] | no_license | katerina-kamkova/SPbU-homework | 30d4470da75c4c3f9898b6ab54f0e6909c9b888b | 5abcc1a1d16f3d9f71e6a007cb5d7fd52fcc77d6 | refs/heads/master | 2022-10-11T05:44:13.241813 | 2020-06-07T22:34:56 | 2020-06-07T22:34:56 | 207,313,661 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 242 | cpp | #include "6.4.h"
#include <iostream>
using namespace std;
int main()
{
Notebook *notebook = createNotebook();
input(notebook);
mergeSort(notebook, menu());
print(notebook);
deleteNotebook(notebook);
return 0;
}
| [
"katerina.kamkova@mail.ru"
] | katerina.kamkova@mail.ru |
92ff9ad1d9f001b9396b5c14e7de8b39f6c66b1a | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/collectd/gumtree/collectd_old_hunk_643.cpp | 57c20dbec889fefa62a73164d0fe3cbe4c57409f | [] | no_license | niuxu18/logTracker-old | 97543445ea7e414ed40bdc681239365d33418975 | f2b060f13a0295387fe02187543db124916eb446 | refs/heads/master | 2021-09-13T21:39:37.686481 | 2017-12-11T03:36:34 | 2017-12-11T03:36:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,462 | cpp |
#include "collectd.h"
#include "common.h"
#include "plugin.h"
#include "utils_parse_option.h"
#include "utils_cmd_putnotif.h"
#define print_to_socket(fh, ...) \
do { \
if (fprintf (fh, __VA_ARGS__) < 0) { \
char errbuf[1024]; \
WARNING ("handle_putnotif: failed to write to socket #%i: %s", \
... | [
"993273596@qq.com"
] | 993273596@qq.com |
0408d2159b0ea76899e37de7a795457631fc5f92 | e870e51caf43430c2bf7369a46deef02a61b36ad | /CppBehaviourTree/src/Attack.cpp | 41e5af3529c68ed2b325bafcb3192d990b7b7c59 | [] | no_license | maxi-jp/CppBehaviourTree | 14367ed6b494e4df12a22ed24d83abedc7a5de63 | 52d4d772839479107e18616345b3bbb16db4c4ea | refs/heads/master | 2021-06-26T02:17:17.698319 | 2020-10-12T21:50:46 | 2020-10-12T21:50:46 | 158,011,095 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 444 | cpp | #include "Attack.h"
#include "Bot.h"
#include "World.h"
Attack::Attack() : Task()
{
}
Attack::~Attack()
{
}
void Attack::Reset()
{
}
void Attack::Tick(Bot* bot, World* world)
{
if (bot->GetCurrentEnemy() != 0)
{
if (bot->GetCurrentEnemy()->IsAlive())
{
// there is an enemy bot and it is alive
// mak... | [
"juventudperdia@gmail.com"
] | juventudperdia@gmail.com |
0ba83e4cc88b2dfe9fe9e1873ed01c76b97f3eab | 1fc7a6ff8d4f93c9716a2074c71911f192745d95 | /imagelib/cos/COSTimer.cpp | f0ce447eadd45dfd04a3b848d2896a0e0309ebcc | [] | no_license | playbar/gllearn | 14dc6e671f5161cac768884771e2a6401a5ed5b7 | 19e20ffd681eadff2559f13a42af12763b00b03e | refs/heads/master | 2021-12-06T05:15:10.299208 | 2021-11-09T11:00:46 | 2021-11-09T11:00:46 | 180,532,777 | 0 | 2 | null | 2020-10-13T12:55:49 | 2019-04-10T08:04:15 | C++ | UTF-8 | C++ | false | false | 1,435 | cpp | #include <COSTimer.h>
#include <std_os.h>
#include <time.h>
#include <cerrno>
#define HAS_NANO_SLEEP 1
uint
COSTimer::
sleep(uint secs)
{
#if OS_UNIX
// TODO: use nanosleep or clock_nanosleep (linux)
int remain = sleep((uint) secs);
return remain;
#else
std::cerr << "COSTimer::sleep: Unimplemented" << std... | [
"hgl868@126.com"
] | hgl868@126.com |
0be4584e29b6b2c240a8c79db97913e7a5891ad9 | 1578f090a72c54c851eb19a751a2920792644409 | /hashset.hpp | 503cd8e41b4e30403a6738363ae190e34336dcab | [] | no_license | patrickdgr81/SpellcheckerC-- | c6aac42416dc136a1555565044e2e38320bf7d3c | 84424204104de16d312f7971578b5161c7e68623 | refs/heads/master | 2021-01-25T12:20:37.848954 | 2014-01-03T22:34:23 | 2014-01-03T22:34:23 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,512 | hpp | /**
* \file hashset.hpp
* \brief Declares the hashset template.
*
* \Author: Lu Wenhao, Wang Xiaotian (wlu-xwang)
*/
#ifndef HASHSET_HPP
#define HASHSET_HPP 1
#include "abstractset.hpp"
#include <cstddef>
#include <list>
#include <iostream>
/// The number of buckets we decide to start with.
static const size_t... | [
"patricklu00@hotmail.com"
] | patricklu00@hotmail.com |
5ae0c343374141ee147b5133e7e6f58dac65345d | eee200906478fc3c244ca551d398eb05fb2ed6ae | /gui_alian/BmpResource.cpp | f6f6e03f9a03e9888978d9cfd0ce0f3154c82242 | [] | no_license | laizl123/gitskill | c4f9f95933e5a5bbcedad6e67a248708bf992924 | fada7ee6318c3c2b8607be675b30634d9d73390e | refs/heads/master | 2020-12-02T12:47:22.587871 | 2017-07-10T09:02:24 | 2017-07-10T09:02:24 | 96,595,912 | 0 | 0 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 2,882 | cpp | // BmpResoure.cpp: implementation of the CBmpResource class.
//
//////////////////////////////////////////////////////////////////////
#include "stdafx.h"
#include "resource.h"
#include "BmpResource.h"
CBitmap CBmpResource::m_bmpIEAddpage;
// LAMP
CBitmap CBmpResource::m_bmpLampWait;
CBitmap CBmpResource:... | [
"825663610@qq.com"
] | 825663610@qq.com |
8875a4571748919ee9c5222c025dd1d2e7062231 | 8dc84558f0058d90dfc4955e905dab1b22d12c08 | /third_party/pdfium/core/fpdfapi/parser/cpdf_syntax_parser.cpp | 245617dca1f29e9765022db714fc84c6dc6460b0 | [
"LGPL-2.0-or-later",
"GPL-1.0-or-later",
"MIT",
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference",
"BSD-3-Clause"
] | permissive | meniossin/src | 42a95cc6c4a9c71d43d62bc4311224ca1fd61e03 | 44f73f7e76119e5ab415d4593ac66485e65d700a | refs/heads/master | 2022-12-16T20:17:03.747113 | 2020-09-03T10:43:12 | 2020-09-03T10:43:12 | 263,710,168 | 1 | 0 | BSD-3-Clause | 2020-05-13T18:20:09 | 2020-05-13T18:20:08 | null | UTF-8 | C++ | false | false | 20,682 | cpp | // Copyright 2016 PDFium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
#include "core/fpdfapi/parser/cpdf_syntax_parser.h"
#include <algorithm>
#inc... | [
"arnaud@geometry.ee"
] | arnaud@geometry.ee |
e19cc89781a12a28fdb5acd1fa654efc91d2dd53 | fbc6fa2ae9e939c800a03d5527f1e28ef13354ca | /types/var_types.cpp | 6f1f9f2e3df28f689f80416bdfc5757539e7874f | [] | no_license | tolber01/Math-interpreter | f05a8e3e7e10ccca59252aa410e3c768771b5aba | 56f3010d483df43f48f6a3569c5a7015c8942928 | refs/heads/master | 2023-02-12T11:10:17.104758 | 2021-01-10T20:28:34 | 2021-01-10T20:28:34 | 328,471,497 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,687 | cpp | #include "../execution/context.hpp"
#include "../parsing/parser.hpp"
using namespace std;
// ==== GenericValue implementation ====
GenericValue::GenericValue(ValueType object_type) :
type(object_type)
{}
GenericValue* GenericValue::clone() { return new GenericValue(*this); }
// ==== RationalNumber implemen... | [
"ov4.t@yandex.ru"
] | ov4.t@yandex.ru |
94972761961c4872ab90c4f795381827e6d4bcd1 | 74837c92508b3190f8639564eaa7fa4388679f1d | /wrspice/devlib/bsim4.8.0/b4trun.cc | c9d5739f623a18b719eb0e6dad6edbf7c47720bb | [
"LicenseRef-scancode-unknown-license-reference",
"Apache-2.0"
] | permissive | frankhoff/xictools | 35d49a88433901cc9cb88b1cfd3e8bf16ddba71c | 9ff0aa58a5f5137f8a9e374a809a1cb84bab04fb | refs/heads/master | 2023-03-21T13:05:38.481014 | 2022-09-18T21:51:41 | 2022-09-18T21:51:41 | 197,598,973 | 1 | 0 | null | 2019-07-18T14:07:13 | 2019-07-18T14:07:13 | null | UTF-8 | C++ | false | false | 4,710 | cc |
/*========================================================================*
* *
* Distributed by Whiteley Research Inc., Sunnyvale, California, USA *
* http://wrcad.com *
* Copyright (... | [
"stevew@wrcad.com"
] | stevew@wrcad.com |
4ee1bd1d41dc881990c275066081718c942a9f8e | ca72686ff29bfa25c440449bc672fceb927326a3 | /advanced/homework_9b/homework_9b.cpp | 2a51d5b219daef09020898287d0171b3d6e7ba6b | [
"MIT"
] | permissive | runt1m33rr0r/cpp-stuff | 1ea05acac3a320330a4e9be33538044dd03c589b | 0a98d8d618a8226e7e2a63b262ef8fe3ec43e185 | refs/heads/master | 2021-06-22T05:24:38.831066 | 2019-06-01T08:00:53 | 2019-06-01T08:00:53 | 109,747,935 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,368 | cpp | #include "pch.h"
// Александър Янков F87134
#include <iostream>
#include <vector>
#include <limits>
#include <unordered_set>
using namespace std;
typedef vector<vector<unsigned>> Graph;
const unsigned MAX_VALUE = numeric_limits<unsigned>::max();
unsigned minSum;
unsigned curSum;
vector<unsigned> used;
vector<uns... | [
"19938633+runt1m33rr0r@users.noreply.github.com"
] | 19938633+runt1m33rr0r@users.noreply.github.com |
43b70d6b685a7432ee2979ed82bc2a33418c3847 | 00332281a2e92b01327e437ffe20370ec8e13ea4 | /dev/floyd_speak/parts/immer-master/test/map/generic.ipp | 033e10cb67a9a433e7b6de5986ef5299086700e0 | [
"MIT",
"LGPL-3.0-only",
"LGPL-2.1-or-later",
"LGPL-3.0-or-later"
] | permissive | PavelVozenilek/floyd | 78dd79b0376f6c819a0d9cf4ba47ffa79ade47c9 | debc34005bb85000f78d08aa979bcf6a2dad4fb0 | refs/heads/master | 2020-06-13T17:20:14.470042 | 2019-06-19T11:33:48 | 2019-06-19T11:33:48 | 194,729,571 | 0 | 0 | MIT | 2019-07-01T19:10:33 | 2019-07-01T19:10:33 | null | UTF-8 | C++ | false | false | 7,556 | ipp | //
// immer - immutable data structures for C++
// Copyright (C) 2016, 2017 Juan Pedro Bolivar Puente
//
// This file is part of immer.
//
// immer 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 vers... | [
"marcus.zetterquist@gmail.com"
] | marcus.zetterquist@gmail.com |
10c234dde6d090fbdee2c119808725f0e5464e64 | 9bf03a25cc3c1e439ad8f8a1e829f336b8cb9e17 | /URI/c++/BEE - 2697.cpp | 9dcc8378c488c1630ae24211218b9080fcca0aae | [] | no_license | leonardorodriguesds/codes | 793b9a5c6a426b78959f4fc3b48246df4ca1bc4a | 4fdd17ff932d4a44fbb52c6b150f07f74d68d3ac | refs/heads/master | 2023-09-04T13:06:54.742366 | 2023-08-19T23:39:50 | 2023-08-19T23:39:50 | 143,721,913 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,349 | cpp | #include <bits/stdc++.h>
using namespace std;
#define ALFA 256
#define MOD 1000000007
#define INF 0x3f3f3f3f
#define INFLL 0x3f3f3f3f3f3f3f3f
#define EPS (1e-9)
#define PI 3.141592653589793238462643383279502884
#define all(a) a.begin(), a.en... | [
"leoonardodf@gmail.com"
] | leoonardodf@gmail.com |
4c0a5503e0314df40b562a9423773143a6fef763 | 879fc5574b6dd2c683b4c12e39ba51e44e6dc942 | /src/lib/math/discretegaussiangenerator.cpp | e86e2fdec706cf31d06c8e34cc4f0ca0fa615a91 | [
"MIT"
] | permissive | carlzhangweiwen/gazelle_mpc | a48072cf296dd106ee0dd8d010e728d579f2f522 | 45818ccf6375100a8fe2680f44f37d713380aa5c | refs/heads/master | 2020-09-24T13:38:33.186719 | 2019-12-06T02:15:48 | 2019-12-06T02:15:48 | 225,770,500 | 0 | 0 | MIT | 2019-12-04T03:25:50 | 2019-12-04T03:25:49 | null | UTF-8 | C++ | false | false | 4,402 | cpp | /*
* @file discretegaussiangenerator.cpp This code provides generation of gaussian distibutions of discrete values.
* Discrete uniform generator relies on the built-in C++ generator for 32-bit unsigned integers defined in <random>.
* @author TPOC: palisade@njit.edu
*
* @copyright Copyright (c) 2017, New Jersey I... | [
"chiraag@mit.edu"
] | chiraag@mit.edu |
c913eef20571352bfc7b249e358de27161c09ade | b206579e4098b2cfa376f7cc34743717c63f7cf3 | /Direct3DGame/33_SCAExport_1/SMatrixExporter.cpp | 011c523b50c0e7ce764b23101a7fbf65b4e9af1b | [] | no_license | seoaplo/02_Direct3DGame | b4c1a751e72517dec06b1052830e7f27a69afebb | 88d4615ecc3bac7ffdce86ca4391104064567ca1 | refs/heads/master | 2021-11-28T05:07:04.367958 | 2021-09-05T13:50:56 | 2021-09-05T13:50:56 | 201,198,261 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,349 | cpp | #include "SMatrixExporter.h"
void SMatrixExporter::Convert()
{
m_MatrixManager.Release();
SAExporter::CreateMaterialList();
m_MatrixManager.SetSize(g_iNodeMaxNum);
for (auto& pNode : SAExporter::g_NodeList)
{
int iMaterialNum = SAExporter::FindMaterial(pNode.first);
m_MatrixManager.AddObject(pNode.first, g_S... | [
"seoxx@naver.com"
] | seoxx@naver.com |
1eca96dafb078224b50cdc0fdcf73ce9641b9eb6 | 3886504fcbb5d7b12397998592cbafb874c470eb | /sdk/include/inspurcloud/oss/model/PostVodPlaylistRequest.h | 77d2ed7b844466a8224ee3aaa8e747224eaeaae6 | [
"Apache-2.0"
] | permissive | OpenInspur/inspur-oss-cpp-sdk | 1c9ff9c4de58f42db780a165059862bf52a2be8b | a0932232aaf46aab7c5a2079f72d80cc5d634ba2 | refs/heads/master | 2022-12-04T15:14:11.657799 | 2020-08-13T03:29:37 | 2020-08-13T03:29:37 | 286,946,985 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 905 | h | #pragma once
#include <inspurcloud/oss/Export.h>
#include <inspurcloud/oss/OssRequest.h>
#include <inspurcloud/oss/Types.h>
#include <inspurcloud/oss/model/ObjectMetaData.h>
#include <inspurcloud/oss/http/HttpType.h>
namespace InspurCloud
{
namespace OSS
{
class INSPURCLOUD_OSS_EXPORT PostVodPlaylistRequest : publ... | [
"wangtengfei@inspur.com"
] | wangtengfei@inspur.com |
53424323746bf3783d7e0a80818b4726e6963815 | c9304af7790d66f71073e38e6899040f3da1917a | /c_plus_plus/white_belt/week2/capital_guide.cpp | 107a9221cd401f1da4dca100a26d4a4698849bf0 | [
"MIT"
] | permissive | raventid/coursera_learning | b086ac474be00f24af8c75ce5eada09f7ca6d39d | 9cd62324b91d2a35af413dd4442867e160e7a4ea | refs/heads/master | 2023-07-11T04:07:41.034279 | 2023-07-02T19:22:49 | 2023-07-02T19:22:49 | 78,435,867 | 1 | 0 | MIT | 2022-06-06T21:08:01 | 2017-01-09T14:25:07 | Assembly | UTF-8 | C++ | false | false | 3,151 | cpp | #include <iostream>
#include <string>
#include <map>
// Реализуйте справочник столиц стран.
// На вход программе поступают следующие запросы:
// CHANGE_CAPITAL country new_capital — изменение столицы страны country на new_capital,
// либо добавление такой страны с такой столицей, если раньше её не было.
// RENAME ol... | [
"julian.kulesh@kupibilet.ru"
] | julian.kulesh@kupibilet.ru |
9f1e04b3aeee66d572adff54709d4a5288aaab57 | c0f8fa65755d822bc6e4c71afdcc6c13075d7565 | /src/protocol.cpp | 49232ed14035dcc707c6d4231f5f486bc8c094cb | [
"MIT"
] | permissive | MNodelab/Nodelab | de42b49e7f10597df2d7b3abf0c935535170fabb | 96a4508f57cc73d4826ab04cde6896fa598c902b | refs/heads/master | 2020-03-22T08:10:39.187698 | 2018-07-04T19:30:04 | 2018-07-04T19:30:04 | 139,750,021 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 7,900 | cpp | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2015 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "protocol.h"
#include "util.h"
#include "utilstrencodings.h"
#ifndef W... | [
"mnlab@gmail.com"
] | mnlab@gmail.com |
b54c87d8d8f77497a9b678d9a84a735d2189ad8f | ae25fa735ec1e5c0aa002cc22e1658376972d17c | /src/server/server-entry.hpp | b257ee0bbb8bdc3bb04d4628da0110418cbde0d7 | [
"BSD-3-Clause"
] | permissive | TailinZhou/non_iid_dml | 889917f48f990cfe628ab45b9d3f6f39131d4981 | ddc3111a355f62877cafbbba03998f203d1350e5 | refs/heads/master | 2023-01-02T12:16:04.996046 | 2020-10-22T19:18:41 | 2020-10-22T19:18:41 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,825 | hpp | #ifndef __server_entry_hpp__
#define __server_entry_hpp__
/*
* Copyright (c) 2016, Anonymous Institution.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions o... | [
"kevhsieh@microsoft.com"
] | kevhsieh@microsoft.com |
c7d28dbd791f6436164bc305858645b5b24e29ca | 0358887bf64831f158c278a5c0cce18e94751d1a | /gardenDrone/Pumps.ino | 07a4448a1cd89ca503ac880ea02cc105fad017dc | [] | no_license | disgustipated/GardenDrone | fb16663a5b50467af2e09a0ad49bd35e4e2b8a6d | c073e0ef5c78363c1177d449d0cd5aed58ec0cdf | refs/heads/master | 2023-06-21T15:15:33.748703 | 2021-07-24T18:02:43 | 2021-07-24T18:02:43 | 387,055,282 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 768 | ino | void pumpRunning()
{
//should the pump be running
currMillis = millis();
if ((digitalRead(PUMP_ACTIVATE_PIN) == LOW) && (currMillis > (deviceActivateStart + ACTIVATE_DURATION))){
stopPump();
}
}
void activatePump()
{
deviceActivateStart = millis();
server.send(200,"text/plain", "OK");
... | [
"disgustipated@erasethis.net"
] | disgustipated@erasethis.net |
682a79f51b9225367e99ccc19bae5646d9127779 | 775a3fc6e96d50b2f2782d92be72bdc6170f22b7 | /Arcade/The Core/37-first-reverse-try.cpp | 54650e5edfe2b6accd7b67ed7562c3dad1dbaaa7 | [] | no_license | son2005/CoFi | 3f9e4ef1778c6e246199cae7a69bbb0b08e2567f | d76ba175f240d0018f879a636c0c91fc413e0d6f | refs/heads/master | 2021-06-02T14:01:06.322261 | 2021-02-06T16:03:31 | 2021-02-06T16:03:31 | 94,472,532 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 226 | cpp | // https://codefights.com/arcade/code-arcade/list-forest-edge/ND8nghbndTNKPP4Tb
std::vector<int> firstReverseTry(std::vector<int> arr) {
if(arr.size() > 1)
std::swap(arr[0], arr[arr.size() - 1]);
return arr;
}
| [
"tranbaoson2005@gmail.com"
] | tranbaoson2005@gmail.com |
7e77c55428f5ebc5b214b741cc9f932e1beba19d | 9250c1e4685b1bfb689325f2a3c58e933e738791 | /src/libs/fortD/irregAnalysis/Mall.h | bb547584ee1452be7c7f6114f77f606b5180108b | [] | no_license | canliture/DSystem | a58ba3ca867b16a69cd0e35125aeb66f20641f96 | 7810a6423ae4435d336374195743e1f0cec94b0c | refs/heads/master | 2023-03-15T22:54:11.021114 | 2020-11-17T18:08:36 | 2020-11-17T18:08:36 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,294 | h | /* $Id: Mall.h,v 1.3 1997/03/11 14:28:32 carr Exp $ */
/******************************************************************************/
/* Copyright (c) 1990, 1991, 1992, 1993, 1994 Rice University */
/* All Rights Reserved */
/*********************... | [
"carr"
] | carr |
8524179c71d09259afc5b3dd599dfeed9cf702ee | 44a87947d68f9b03aa49e3a730a82f896d11f02d | /src/util.cpp | 8a80f9b351579dfd6babf1e6ce48af289bf1d515 | [
"MIT"
] | permissive | gamacoin2017/newgamacoin | 9df4bd0e3a7bcf2c1120b78b786c92d792a66908 | ba87ed439ec33f7ca66c3b2f52d6baa0aa38b5ec | refs/heads/master | 2021-09-01T03:41:47.638587 | 2017-12-24T15:08:35 | 2017-12-24T15:08:35 | 115,270,317 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 43,213 | cpp | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2012 The Bitcoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef WIN32
// for posix_fallocate
#ifdef __linux__
#define _POSIX_C_SOURCE 2001... | [
"aboutyou2017@gmail.com"
] | aboutyou2017@gmail.com |
c897f324b8d7cc79b3debd14e454e5849d1a005d | 15241b6d3d26379904dfdd2882cd79e2c0fa7c13 | /src/SmallFBX/sfbxModel.cpp | b6cfd31566af5834cab6ac57f2d326ced537cde0 | [
"MIT"
] | permissive | JiangKevin/SmallFBX | c6aa45fe11344e9943b924de2594f2d15240fa87 | 3feb94d7892395af5c70730f3fb0b8498a23682f | refs/heads/master | 2023-03-27T12:32:49.458596 | 2021-03-25T12:38:03 | 2021-03-25T12:38:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 17,411 | cpp | #include "pch.h"
#include "sfbxInternal.h"
#include "sfbxModel.h"
#include "sfbxGeometry.h"
#include "sfbxMaterial.h"
namespace sfbx {
ObjectClass NodeAttribute::getClass() const { return ObjectClass::NodeAttribute; }
ObjectSubClass NullAttribute::getSubClass() const { return ObjectSubClass::Null; }
ObjectSubClass Ro... | [
"saint.skr@gmail.com"
] | saint.skr@gmail.com |
77b5e308536e733a4ca74ca385e817e69007a081 | 3635df8d74077ff1d51e468f545d21a7a73a584e | /Anima/OS/TimerFactory.h | f999ff4c3d51b24deb050bfe6b3c6aa75ae2e960 | [] | no_license | edamiani/Anima-Engine | 2615ee632b10e35dceb82b902661acd988aa9396 | 14b99b71bf5ea5c4b19d08037ca56298a36f6288 | refs/heads/master | 2021-12-14T10:38:18.883495 | 2021-12-02T20:08:08 | 2021-12-02T20:08:08 | 18,024,642 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 518 | h | #ifndef __AE_OS_TIMER_FACTORY__
#define __AE_OS_TIMER_FACTORY__
#include "Anima/Types.h"
namespace AE
{
namespace OS
{
class Timer;
class TimerPeriodic;
class TimerSimple;
class TimerListener;
class TimerFactory
{
public:
TimerFactory() {}
virtual ~TimerFactory() {}
virtual AE::OS::TimerPer... | [
"edamiani@gmail.com"
] | edamiani@gmail.com |
6a894f97da48c1566c538a8d02ecc19ea1f23b98 | ce7a67334e51fbfbecc46a04300de04695506d7e | /Sources/Internal/Network/Base/IPAddress.h | 4044b5fc3a26a15175041fa5cd76eb87420d0452 | [] | no_license | dava-bot/dava.framework | 2b2cd60d419fe3948a48da2ae43142ff24016ee2 | 295c279990b7302be8e7f91eb0899399c118b825 | refs/heads/development | 2020-12-24T19:18:09.877267 | 2015-03-13T15:07:03 | 2015-03-13T15:07:03 | 32,009,964 | 4 | 0 | null | 2015-03-11T09:48:13 | 2015-03-11T09:48:12 | null | UTF-8 | C++ | false | false | 3,563 | h | /*==================================================================================
Copyright(c) 2008, binaryzebra
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistr... | [
"m_lazarev@wargaming.net"
] | m_lazarev@wargaming.net |
9291014448ae323b4b5bc6bfa4be705f3e2d2209 | 8ff9ac12d33c773349654fcd5296392b090dfe87 | /main.cpp | 4b4f0b7f6b6b5d90091dbdc381a0b2ce36fba7f3 | [] | no_license | mostafa-hussein/A-star-algorithm | f17402571afbb4ed28bc6c7ee646db182ecd0987 | 8e72cb78c73281ecb12de50e24e888a035ffc436 | refs/heads/master | 2022-04-01T23:53:53.112035 | 2020-02-07T22:00:39 | 2020-02-07T22:00:39 | 111,221,833 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,939 | cpp | #include <stdlib.h>
#include <iostream>
#include <stdio.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <string.h>
#include <arpa/inet.h>
// #include <unistd.h>
#define PORT 4000
using namespace std;
struct link
{
int id;
int f;
int g;
... | [
"eng.mostafa_2005@aun.edu.eg"
] | eng.mostafa_2005@aun.edu.eg |
335af772765766a62b3e4b4873525e247df283cb | 04d392d79a7bacc69952398403773756bfacc1f1 | /PackingGeneration/Core/Headers/Types.h | 799ff028386785d8723c1bfb2f6956f5c7252b91 | [
"LicenseRef-scancode-unknown-license-reference",
"MIT"
] | permissive | Tontonis/packing-generation | 2e93ee28fac1506a5ca44841102778112acbb717 | e3ba06d3581461763247baf9744e9c175eafae23 | refs/heads/master | 2021-01-20T04:39:56.530770 | 2017-03-29T15:05:39 | 2017-03-29T15:05:39 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,009 | h | // Copyright (c) 2013 Vasili Baranau
// Distributed under the MIT software license
// See the accompanying file License.txt or http://opensource.org/licenses/MIT
#ifndef Core_Headers_Types_h
#define Core_Headers_Types_h
#include <boost/array.hpp>
// TODO: Move to Core namespace and Constants.h
const int DIMENSIONS =... | [
"bas1l@mail.ru"
] | bas1l@mail.ru |
2d180d7a193643eb4d3c904b499920e72168c38e | 092f83af8daf07844bef4f5c61b1ca7d298488b8 | /bins/binary_to_cpp/src/binary_to_cpp.cpp | 91a5468dfee37876ab100a2bec0d1dd5aa1d50c8 | [
"MIT"
] | permissive | tiaanl/red5 | 1fd0d1ab0f86f8f70fc27d8b7b072d1eb1e956ad | ea7593b38f61f64f8aeb7d58854106bd58c05736 | refs/heads/main | 2023-01-07T05:11:57.569662 | 2020-11-14T19:19:46 | 2020-11-14T19:19:46 | 305,490,400 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,332 | cpp | #include <spdlog/spdlog.h>
#include <filesystem>
#include <fstream>
#include <iostream>
namespace fs = std::filesystem;
int main(int argc, char** argv) {
if (argc < 3) {
std::cout << "USAGE: " << argv[0] << " <binary-file> <cpp-file>";
return 0;
}
fs::path binaryPath{argv[1]};
fs::path cppPath{argv[... | [
"tiaanl@gmail.com"
] | tiaanl@gmail.com |
6d468b7bcd4628cb86e5f8bc1cf20f8a0f919d56 | e3e0769670f50de27467a8f99f409f61acf313d2 | /inc/lexer.hpp | 5db617f37e6c42a3586fdbe59a866933f8877f9e | [] | no_license | anko9801/ArowCompiler | c0387d6b13a09621f42aa8a3fc00c1881c438ede | 40e574c8817d925a08da440a5bbcc87bf6a5a5a2 | refs/heads/master | 2021-10-14T07:11:30.333625 | 2019-02-02T06:37:17 | 2019-02-02T06:37:17 | 155,954,392 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,641 | hpp | #ifndef LEXER_HPP
#define LEXER_HPP
#include<cstdio>
#include<cstdlib>
#include<fstream>
#include<list>
#include<string>
#include<vector>
#include"APP.hpp"
/**
* トークン種別
*/
enum TokenType{
TOK_IDENTIFIER, //識別子
TOK_DIGIT, //数字
TOK_FLOAT,
TOK_STRING,
TOK_TRUTH,
TOK_IMPORT,
TOK_SYMBOL, //記号
TOK_TYPE, ... | [
"daiusa3@icloud.com"
] | daiusa3@icloud.com |
6ab19ec82680188dc5204e705eb3c8751c0fa08e | 07c2844a6fd38fc39a109fd4577ddc99a19087ba | /Peta_ITB/garis.cpp | 4479e237e04c7bc6eb231115dd5e5a7757531f78 | [] | no_license | n4de4k/Grafika_Komputer | c1a089a3c0932585936126537eb0011dd6521f4c | c9704ccc11f17419d60c6728290b9111c8e90522 | refs/heads/master | 2021-09-09T04:07:06.889557 | 2018-03-13T18:27:30 | 2018-03-13T18:27:30 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,790 | cpp | #ifndef GARIS
#define GARIS
#include "./titik.cpp"
#include <utility>
#include <stdlib.h>
#include <unistd.h>
#include <stdio.h>
#include <fcntl.h>
#include <linux/fb.h>
#include <sys/mman.h>
#include <sys/ioctl.h>
using namespace std;
class Garis {
public :
Garis() {
}
Garis(Titik p, Titik q) {
... | [
"leo112071@gmail.com"
] | leo112071@gmail.com |
56995fb31c5eac52ff855b3354364f79babcba83 | dd80a584130ef1a0333429ba76c1cee0eb40df73 | /dalvik/vm/mterp/c/OP_ADD_LONG_2ADDR.cpp | 4ae71bb66dad0f7b65d72deb81d36a3c7a1c63a1 | [
"LicenseRef-scancode-generic-cla",
"Apache-2.0",
"MIT"
] | permissive | karunmatharu/Android-4.4-Pay-by-Data | 466f4e169ede13c5835424c78e8c30ce58f885c1 | fcb778e92d4aad525ef7a995660580f948d40bc9 | refs/heads/master | 2021-03-24T13:33:01.721868 | 2017-02-18T17:48:49 | 2017-02-18T17:48:49 | 81,847,777 | 0 | 2 | MIT | 2020-03-09T00:02:12 | 2017-02-13T16:47:00 | null | UTF-8 | C++ | false | false | 62 | cpp | HANDLE_OP_X_LONG_2ADDR(OP_ADD_LONG_2ADDR, "add", +, 0)
OP_END
| [
"karun.matharu@gmail.com"
] | karun.matharu@gmail.com |
b7f2bb12a4b7722b4d96271dacf71b881042a3a5 | 191bf92db1a9f6df7c30e37a8f0a14d1c220a3bd | /POSSPEW.cpp | 98d2d1eadcfa3c2d38e6dbf6bf935b4bc95984d4 | [] | no_license | doomsday861/Allofit | 958fa379296e1a4c9a78b25ab0fd7c222bb1f81a | 94d644e52a64ff2949ea731c569478e721fc71bf | refs/heads/master | 2023-01-04T12:35:10.447467 | 2022-12-28T09:30:18 | 2022-12-28T09:30:18 | 250,110,669 | 0 | 1 | null | 2021-01-11T09:20:21 | 2020-03-25T22:59:54 | C++ | UTF-8 | C++ | false | false | 1,439 | cpp | /**
* posspew codechef
**/
#include<bits/stdc++.h>
#define ll long long
#define testcase ll t;cin>>t;while(t--)
#define pb push_back
#define fi first
#define se second
#define vll vector<ll>
#define for0(i, n) for (ll i = 0; i < (ll)(n); ++i)
#define for1(i, n) for (ll i = 1; i <= (ll)(n); ++i)
#define run ios_base::s... | [
"kartikeyasrivastava861@gmail.com"
] | kartikeyasrivastava861@gmail.com |
33b2596192701fcbbf6013313472b16876bf493c | 57f24846a3fa3670c8519af87e658eca120f6d23 | /B2_CoarseMesh/7/phi | 33ac4516fc2b98621ac16276c72cbb6762050ef0 | [] | no_license | bshambaugh/openfoam-experiments | 82adb4b7d7eb0ec454d6f98eba274b279a6597d8 | a1dd4012cb9791836da2f9298247ceba8701211c | refs/heads/master | 2021-07-14T05:53:07.275777 | 2019-02-15T19:37:28 | 2019-02-15T19:37:28 | 153,547,385 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,119,757 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 4.1 |
... | [
"brent.shambaugh@gmail.com"
] | brent.shambaugh@gmail.com | |
963dc43da22f6caf70f34a40c07092cfcc737a9c | ecbf53ba2ed807597173f35a52a4a0d191ae4669 | /src/PID.cpp | 508b0d433968acb3b020538dd2afb11788138f32 | [] | no_license | tigeryu8900/PID-controller | 90bcc8711af7655c1219fb73dd5f949c842a2a5a | 85d430d86c81d2b63c3f93107b52bc790dd8ffcf | refs/heads/master | 2020-06-14T04:32:26.337396 | 2019-07-04T22:31:51 | 2019-07-04T22:31:51 | 194,901,033 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,687 | cpp | //
// Created by tiger on 7/2/2019.
//
#include "PID.h"
namespace PID {
int64_t PID::nanos() {
return std::chrono::duration_cast<std::chrono::nanoseconds>(std::chrono::time_point_cast<std::chrono::nanoseconds>(
(std::chrono::high_resolution_clock::now())).time_since_epoch()).count();
}
PID::PID(double ... | [
"tigeryu8900@gmail.com"
] | tigeryu8900@gmail.com |
d428ae608e9bb7d8da194c3ef93e21e7d551e5cd | fa39a27d0915c551735418f69704bfc024b9cc49 | /C++/C++PrimerPlus/11/1/vector.h | 4dc1d3ee40c796612a631b4df0abac97d93e6248 | [] | no_license | fenneishi/learningCode | 99c125fa554079a9799fb7893d8d665b04cd7581 | cc95ac44d74e285065ad1cea84e057ba5f6c56d2 | refs/heads/master | 2020-04-29T11:50:54.746482 | 2019-03-17T15:05:23 | 2019-03-17T15:05:23 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,641 | h | #ifndef VECTOR_H_
#define VECTOR_H_
#include <iostream>
#include <fstream>
namespace VECTOR
{
class Vector
{
public:
enum Mode{RECT,POL};//RECT for rectangle,POL for Polar modes;
private:
Mode _mode;//RECT or POL
double _x;
double _y;
double _mag;//length
... | [
"fenneishi@163.com"
] | fenneishi@163.com |
8a4cf5b7da86fa5335d7a9ca59622dd477c472d3 | 3594d75edecb33d285b1dfed6107ee960d440657 | /base/i18n/streaming_utf8_validator_perftest.cc | 18b91ab9273b1218a94d6bc68a7024021fd5a603 | [
"BSD-3-Clause"
] | permissive | Lynskylate/chromium-base-bazel | fa3f87822e56446ff2228ad4402d6c075681e805 | e68247d002809f0359e28ee7fc6c5c33de93ce9d | refs/heads/master | 2022-04-29T03:13:18.519535 | 2018-11-20T01:11:12 | 2018-11-20T01:11:12 | 259,334,137 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 8,636 | cc | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// All data that is passed through a WebSocket with type "Text" needs to be
// validated as UTF8. Since this is done on the IO thread, it needs to be
// r... | [
"damian@pecke.tt"
] | damian@pecke.tt |
be16e82ce1c2266ebdbcf45b9409e81ea4a1f24f | 14e18690460ab3fbfdaa24190838c4643dce0089 | /src/usDotx/us_usx_frame.h | b206d4357a08700c8c2c74fb120b94e10219a678 | [] | no_license | MrBigDog/MyProject | e864265b3e299bf6b3b05e3af33cbfcfd7d043ea | a0326b0d5f4c56cd8d269b3efbb61b402d61430c | refs/heads/master | 2021-09-10T21:56:22.886786 | 2018-04-03T01:10:57 | 2018-04-03T01:10:57 | 113,719,751 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,272 | h | ///////////////////////////////////////////////////////////////////////////
//
// This source file is part of Uniscope Virtual Globe
// Copyright (c) 2008-2009 by The Uniscope Team . All Rights Reserved
//
///////////////////////////////////////////////////////////////////////////
//
// Filename: us_usx_frame.h
// ... | [
"635669462@qq.com"
] | 635669462@qq.com |
59eca04ab9660a42342d828404b0ac38ddd43f56 | 2999c075c4e39d2f6d84e2281c90e8d925c800ee | /R-Type/ClientFinal/ClientFinal/GraphicalElem.h | 6d437b8b2996065404b6aaaf0432316a4cd53101 | [] | no_license | lelabo-m/R-Type | b69c31aae2c3451a508059e5980c8e3b5fb572a3 | 68933e5b979b6ae3ef0d9d2bc1b066212cc58391 | refs/heads/master | 2021-09-28T02:48:51.492494 | 2015-04-25T22:03:01 | 2015-04-25T22:03:01 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 673 | h | #ifndef GRAPHICALELEM_H_
#define GRAPHICALELEM_H_
#include "Vector2D.h"
#include "SFMLanimatedSprite.h"
class GraphicalElem
{
public:
GraphicalElem(const std::string& name, size_t classid, size_t id, size_t x, size_t y, size_t v);
const std::string& Name() const;
size_t Id() const;
size_t ClassId() const;
... | [
"christopher.millon@outlook.com"
] | christopher.millon@outlook.com |
5c491d44347635876491e06678f089a27542a728 | 6d70bf6047e59bb02406885d0497cce3722808cd | /RosalindProblems/problem4/Problem4Solver.cpp | fa404d8a604da006af5b5dee1e47afb7e3823239 | [] | no_license | dteixeira/rosalind-problems | 2d83b7ff5a297bf81b12764d07bc22ae38af8c2f | 95cb89a239ebd58fed338c8b4431e0d658401a7c | refs/heads/master | 2021-05-26T12:17:03.316589 | 2013-09-03T14:58:45 | 2013-09-03T14:58:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,762 | cpp | #include "Problem4Solver.h"
Problem4Solver::Problem4Solver() : ISolver("problem4/")
{
}
Problem4Solver::~Problem4Solver()
{
}
bool Problem4Solver::solve()
{
if(!reader_->isFileOpen() || !writer_->isFileOpen())
return false;
else
{
// Read input data.
int nBytes = static_cast<int>(... | [
"diogo.andre.teixeira@gmail.com"
] | diogo.andre.teixeira@gmail.com |
e25dd31be51ffbcda0be81d6de5d118cb75357e6 | 3a79a5211d34468f88e41cb9b9ca6110dcad6d26 | /Engine/include/Engine/Engine.h | 00c74cd1f1dde614886030b1451bc59d448a8988 | [
"MIT"
] | permissive | vazgriz/VoxelGameOld | 6e84c8fd50b452f29c5d5ec6398c41afe3f75744 | 28b85445dc64606aecd840c977fb0557008e37a0 | refs/heads/master | 2022-12-05T16:23:00.499974 | 2020-08-20T22:21:26 | 2020-08-20T22:21:26 | 233,920,335 | 7 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,034 | h | #pragma once
#include "Engine/Buffer.h"
#include "Engine/Camera.h"
#include "Engine/Clock.h"
#include "Engine/Mesh.h"
#include "Engine/Graphics.h"
#include "Engine/Image.h"
#include "Engine/Input.h"
#include "Engine/MemoryManager.h"
#include "Engine/Mesh.h"
#include "Engine/RenderGraph/RenderGraph.h"
#include "Engine/S... | [
"contact@ryan-vazquez.dev"
] | contact@ryan-vazquez.dev |
4db4ff7665a6118e3c6952df9b614bcfea709d64 | 39d5249686d1b7c2fca9bc33be0c0f6949378bba | /test_ice_cpp/src/server.cpp | d906b2d406a2d4b16c14ae24ce12477db71d9d1b | [] | no_license | marcinlos/rozprochy | 1896526dd9dce89d3cc43fc26c9ecede2015d643 | 32cdc88552778a69ed5def499213b2c50e515f65 | refs/heads/master | 2021-01-22T13:57:27.657818 | 2014-09-06T14:21:09 | 2014-09-06T14:21:09 | 8,122,196 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,068 | cpp | #include <iostream>
#include <string>
#include <Ice/Ice.h>
#include "generated/Printer.h"
class PrinterI: public rozprochy::iiice::test::Printer
{
virtual void print(const std::string& text, const Ice::Current&)
{
std::cout << text << std::endl;
}
};
int main(int argc, char* argv[])
{
int stat... | [
"losiu99@gazeta.pl"
] | losiu99@gazeta.pl |
8d0981eacafa86785cf2d84b40ea68cdf0964a2b | 5a7fe0ecaa45bcc169cba4c622c694e2ebab4164 | /Assignment_2_2.cpp | 9cd940ecf8147d6562dbc3325f67cc28c4822036 | [] | no_license | bipulkmr-crypto/data_structures_1 | de48514b323f2d99cfc2587f36ad5601b28bdd17 | ed976be5e51fd1c5b2918d421132c052473884a1 | refs/heads/master | 2023-06-07T06:36:41.634531 | 2021-05-27T11:04:06 | 2021-05-27T11:04:06 | 382,251,172 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,013 | cpp | // // this is linear recursion wilh time complexity of O(n)
// //The depth of the tree is n and width is 1
// //the disadvantange is the time taken is comparitively more than the iterative version of the solution and there is also change of stack overflow in case of normal compiler
// //advantage is that some complex p... | [
"bipul1707@gmail.com"
] | bipul1707@gmail.com |
9ca217555f87e4f509cbcd406830ada1ce0dab81 | 808b3a49735d93a33802b86e122df29ffb61209e | /programmers/소수찾기.c++ | ccdd67502fb41d19e46a876d2a595848fe44492a | [] | no_license | KingJoo/programmers | 0deb1a9c5c615d0583f8142cd395d33186c3c255 | e51b2dadebdc75d10b07ea567775784e2ffa3cb8 | refs/heads/master | 2023-08-12T03:40:43.243599 | 2021-09-28T11:20:25 | 2021-09-28T11:20:25 | 410,730,410 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 315 | #include <string>
#include <vector>
#include <cmath>
using namespace std;
int solution(int n) {
vector<bool> a(n+1,0);
int c=0;
for(int i=2;i<=sqrt(n);i++)
if(!a[i])
for(int j=i+i;j<=n;j+=i)
a[j]=1;
for(int i=2;i<=n;i++)
if(!a[i]) c++;
return c;
} | [
"jkangju@gmail.com"
] | jkangju@gmail.com | |
27720b11794a0bc03d554e694835d489bc0638b0 | a2111a80faf35749d74a533e123d9da9da108214 | /raw/pmsb13/pmsb13-data-20130530/sources/6ndbc4zuiueuaiyv/2013-04-11T09-43-51.121+0200/sandbox/my_sandbox/apps/index_a2/index_a2.cpp | 13251213075b53f175b72a84513f756b54c797a4 | [
"MIT"
] | permissive | bkahlert/seqan-research | f2c550d539f511825842a60f6b994c1f0a3934c2 | 21945be863855077eec7cbdb51c3450afcf560a3 | refs/heads/master | 2022-12-24T13:05:48.828734 | 2015-07-01T01:56:22 | 2015-07-01T01:56:22 | 21,610,669 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 666 | cpp | #include <seqan/sequence.h>
#include <seqan/index.h>
using namespace seqan;
int main()
{
String<Dna5> genome = "ACGTACGTACGTN";
Index<String<Dna5>, IndexEsa<> > esaIndex(genome);
Finder<Index<String<Dna5>, IndexEsa<> > > esaFinder(esaIndex);
// String<char> text = "This is the first example";
// I... | [
"mail@bkahlert.com"
] | mail@bkahlert.com |
51b772f1362e56a179e5ced790a0101e8417fea9 | 3714880a44d422dcfd4d9043f3abc1518b9fd823 | /src/bot/modules/AI/AIAnswer.cpp | de06700ff54fa907cde764fb8d4d88fe09b29e6c | [
"MIT"
] | permissive | fkrauthan/IrcBot | b17880a6b309ef780e234aa4b4c460ee3732d47f | 63620a12f1873a0865bb2d63f81434a6fd950c5d | refs/heads/master | 2021-01-20T05:31:16.121399 | 2014-05-23T20:21:33 | 2014-05-23T20:21:33 | 5,297,924 | 2 | 0 | null | 2012-08-04T20:37:20 | 2012-08-04T19:09:15 | C++ | UTF-8 | C++ | false | false | 2,040 | cpp | /*
* AIAnswer.cpp
*
* Created on: 13.07.2011
* Author: fkrauthan
*/
#include "AIAnswer.h"
#include <libbase/StringUtils/StringUtils.h>
#include <ticpp/ticpp.h>
#include <cstdlib>
AIAnswer::AIAnswer(ticpp::Element* node) {
mCategory = node->GetAttribute("name");
ticpp::Element* answers = node->FirstCh... | [
"mail@fkrauthan.de"
] | mail@fkrauthan.de |
7bbca215e0f1d7109c1bb98b93fc236090dd47f5 | 2af29f0c2676c57191678f1a2f0244c364f81fa1 | /Source/sn/TileTerrain.cpp | c44e8cd065027e17bbc00292d33b51ffbb628969 | [
"MIT"
] | permissive | kochol/kge | 7c313c0c68242e7d9eee1f4a7dd97fd60038f63e | 9ffee7ab7f56481383d8f152cfa0434e2f9103c1 | refs/heads/master | 2020-04-26T11:28:25.158808 | 2018-06-30T07:26:07 | 2018-06-30T07:26:07 | 4,322,408 | 10 | 1 | null | 2014-05-29T20:47:11 | 2012-05-14T10:11:55 | C | UTF-8 | C++ | false | false | 65,270 | cpp | // File name: TileTerrain.cpp
// Des: This is a tile based terrain class good for strategic games
// Date: 22/11/1387
// Programmers: Ali Akbar Mohammadi (Kochol)
#include <stdio.h>
#include "../../Include/sn/TileTerrain.h"
#include "../../Include/gfx/Renderer.h"
#include "../../Include/gfx/MeshManager.h"
#include "..... | [
"kocholsoft@yahoo.com"
] | kocholsoft@yahoo.com |
5ccdcc0ea0c157023af3144ae8b48960d4b357aa | fc6d89e1b89a6fc32a4c2c50d0edd211398a3946 | /002._SimpleLed/002._SimpleLed.ino | a056b17b94925da9337dd2ce6f8337322a587f48 | [] | no_license | Axolodev/LearningArduino | 86f7d0dcddb5c4b2faae16c56b2eb1b8d2634e33 | fdd073dd819def825b43d8ed0cd9bb64b88b74a0 | refs/heads/master | 2023-01-27T21:04:21.987226 | 2017-10-21T18:06:16 | 2017-10-21T18:06:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 403 | ino | unsigned int ledPin = 10;
unsigned int delayTime = 1000;
void setup() {
// put your setup code here, to run once:
Serial.begin(9600);
pinMode(ledPin, OUTPUT);
}
int getDelayTime(){
return random (300, 1000);
}
void loop() {
// put your main code here, to run repeatedly:
digitalWrite(ledPin, HIGH);
d... | [
"rroberto.rruiz@gmail.com"
] | rroberto.rruiz@gmail.com |
9af3b06fe5324a6aa75560787e5184480dd56b71 | dd1393cef959982b09bbdbc08180f963f7ecaec6 | /PrimeEngine/PrimeEngine-Core/Graphics/BasicWindow.cpp | 6429f67d268602f8e7848bd97e6dc87e4edc6f6d | [] | no_license | TomasMonkevic/PrimeEngine | 5926d34c04daf32df90aae789cada8fcc3f4df0f | bd143c14151b84f2e2e39f21b93f24189b83909e | refs/heads/master | 2022-09-25T07:38:36.647152 | 2020-02-24T10:20:00 | 2020-02-24T10:20:00 | 198,994,960 | 3 | 0 | null | 2020-02-21T20:51:05 | 2019-07-26T10:08:10 | C | UTF-8 | C++ | false | false | 764 | cpp | #pragma once
#include <Graphics/BasicWindow.h>
#include <Graphics/OpenGL.h>
namespace PrimeEngine
{
namespace Graphics
{
void BasicWindow::Clear() {
GlCall(glClearColor(_color[0], _color[1], _color[2], _color[3]));
GlCall(glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT));
... | [
"tomas.monkevic@sbdigital.lt"
] | tomas.monkevic@sbdigital.lt |
835d159b110fda71848983153e3cf6b828f3dc0d | ecdd55ef7ea5ad5e07603daa9224afe2df47c29b | /src/qt/blockbrowser.h | 5593f894860bf4848663d81832ac4d7751e6ddc3 | [
"MIT"
] | permissive | compounddev/Compound-Coin | b9deb393e94b00df8a0608eca787e5e3c4b6a449 | 698e0c3fc31f3c24c5726f4ff46b636fde3a3e95 | refs/heads/master | 2021-09-04T15:12:39.626639 | 2017-10-05T03:21:38 | 2017-10-05T03:21:38 | 105,627,488 | 22 | 18 | MIT | 2018-01-08T13:05:08 | 2017-10-03T07:59:46 | C++ | UTF-8 | C++ | false | false | 1,293 | h | #ifndef BLOCKBROWSER_H
#define BLOCKBROWSER_H
#include "clientmodel.h"
#include "main.h"
#include "wallet.h"
#include "base58.h"
#include <QWidget>
#include <QDir>
#include <QFile>
#include <QProcess>
#include <QTime>
#include <QTimer>
#include <QStringList>
#include <QMap>
#include <QSettings>
#include <QSlider>
st... | [
"32350979+compoundev@users.noreply.github.com"
] | 32350979+compoundev@users.noreply.github.com |
21658c31c1b0d97b3e83d1b625470ee824ccd26d | 7aa5b7134c72245d67654930f9f773c14d542bb2 | /luis/learning_image_transport/src/backup/my_subscriber-1.cpp | ba36cde99cc18a0474ed1cb734ed0b816c4f6f19 | [
"BSD-3-Clause"
] | permissive | shantanu-vyas/crw-cmu | 2b226552e39db0906e231e85c8a086ebcb380255 | db2fe823665dbd53f25e78fa12bc49f57d4b63aa | refs/heads/master | 2021-01-19T18:07:29.549792 | 2013-08-12T19:26:16 | 2013-08-12T19:26:16 | 11,484,469 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,625 | cpp | /*
* File: my_subscriber.cpp
* Author: pototo
*
* Created on July 28, 2011, 9:56 PM
*
* This program recognizes the water in front of the boat by using ground
* plane detection techniques already available. This will look for the pixels
* from the boat, and go up the image until it finds the vector plane ... | [
"shantanusvyas@gmail.com"
] | shantanusvyas@gmail.com |
ead82ce9274524cde7edb79e395d2c6833ebb3ea | 1a79c0b96269ba602a58f955c9161a3250000cd5 | /160324.Geekband_Homework4/test.cpp | 30d1653ad642e8c7520abb712127fd473f6a3bd9 | [] | no_license | weiweikong/Program_Practice | 4f1b31a81694f2bc768124cc7cf7d29b33802216 | d475652be31e1927481c3b91374868ca670471b0 | refs/heads/master | 2021-01-21T13:03:13.379462 | 2016-04-23T11:41:14 | 2016-04-23T11:41:14 | 53,239,701 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,498 | cpp | #include <iostream>
using namespace std;
static void print_object(const char *name, void *this_, size_t size) {
void **ugly = reinterpret_cast<void**>(this_);
size_t i;
printf("created %s at address %p of size %zu\n", name, this_, size);
for(i = 0 ; i < size / sizeof(void*) ; i++) {
printf(" pointer[%zu] ... | [
"kongww.nudt@gmail.com"
] | kongww.nudt@gmail.com |
455a6d0a8b669b7ad731ea63fae165769bf62191 | 398f882bb7a394f21fde53f0b160f981b61a7aff | /Tarea1/Collector.cpp | 18a7f15bf4b7d0cbed06c8ff6325c8bbd7c08f18 | [] | no_license | AkionGarro/ITCR.Datos2.Tarea1 | 62aac0cbc057db3f5c7f7a34f1b9c473063aa43f | 8b4209e01db47205e861e00e4116fb4582184226 | refs/heads/main | 2023-03-26T20:02:53.511901 | 2021-03-18T18:11:21 | 2021-03-18T18:11:21 | 343,580,393 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,395 | cpp | //
// Created by garroakion on 1/3/21.
//
#include "Collector.h"
#include "Node.h"
//---------------------Singlethon Implementation--------------------------
Collector* Collector::collector_= nullptr;
Collector *Collector::GetInstance()
{
if(collector_==nullptr){
collector_ = new Collector();
}
... | [
"carloscamp1008@estudiantec.cr"
] | carloscamp1008@estudiantec.cr |
4f436d45a57e7a30a8154ad390deb2058e3c1ec3 | e33c83c67754a38d6f2cd6c6799b1e1c30876318 | /Test/Queue.cpp | 7a6ae2776128661e9e439d377ef936ab080541e0 | [] | no_license | CasperTheCat/LZ4-DLL | 560dcc2bceded9909fef504f45f73915fbefab5e | 97c0e542e14547805cb01302fcceec2216e4765f | refs/heads/master | 2021-01-18T10:18:07.493526 | 2015-09-27T10:07:17 | 2015-09-27T10:07:17 | 43,233,275 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,516 | cpp | #include "Queue.h"
PathQueue::PathQueue()
{
// Default Constructor
back = nullptr;
arbiter = new QueueItem(path("NULL"), nullptr);
itemCount = 0;
}
PathQueue::~PathQueue()
{
while (itemCount != 0)
{
pop();
}
// Last move
free(arbiter);
}
// Push to forward
void PathQueue::push(path _path)
{
QueueItem* ... | [
"zsmyna@gmail.com"
] | zsmyna@gmail.com |
4abd27deb62c872daadce18dfe1cb2b52d759322 | 477ee5b551232fd3bc784a3fab6e77ea36c4f18c | /SoundBoard/Engine/explosion.cpp | 620eca07fe21e777748dc50f8dd4f5e87f6359b2 | [] | no_license | beastpuncher/GameLibrariesProject | 3160d05c77cd8e532aaab67af95735fe68075202 | 7934af9343eed07c5e53451a398bf844bce21249 | refs/heads/master | 2021-06-02T10:30:48.519337 | 2020-01-22T05:05:12 | 2020-01-22T05:05:12 | 142,481,323 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,104 | cpp | #include "explosion.h"
#include "spriteComponent.h"
#include "animationComponent.h"
#include "audioSystems.h"
void Explosion::Create(const Vector2D & position)
{
m_transform.position = position;
m_transform.scale = Vector2D(2.0f, 2.0f);
SpriteComponent* spriteComponent = AddComponent<SpriteComponent>();
spriteCo... | [
"beastpuncher@gmail.com"
] | beastpuncher@gmail.com |
e59d7646dd27b51c687861721683fb756e1634b5 | a6af28b2551fa2dad84060ae6b99fbc3a0ef9a2a | /VK cup/round 3/A/C.cpp | d848fa7d1a38dedcf8a79819d2df1bdffa7f7864 | [] | no_license | blueyeq/codeforces | 894f8e11ce5d44b37df62238178b68ef06d78206 | 9cdc04bbb3cbafbfd92a604b373d1d3e3b11b3bd | refs/heads/master | 2016-09-06T04:54:00.474306 | 2013-07-20T15:42:39 | 2013-07-20T15:42:39 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,057 | cpp | #include <stdio.h>
#include <cstring>
#include <string>
#include <vector>
#include <algorithm>
#define MP make_pair
#define PB push_back
using namespace std;
const int MAXN = 100010;
vector< pair<int, int> > ans, a;
int h[MAXN], typ[MAXN];
int main()
{
// freopen("C.in", "r", stdin);
int n;
while(scanf("... | [
"hnu0314@126.com"
] | hnu0314@126.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.