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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
7a9f85a824d07fd0d4b489843ac3d1e0b2aecbe4 | 4d678a09d5e37d6494cc1540151ca213f07c52e6 | /auto_forcast_server/main.cpp | 5364502e1a1141f7842cc9238626e5945709dc61 | [] | no_license | spartawwy/TrdWinSystem | e2ead6caa2a0bad3221f0d7f05739de655f50d0f | 3a3324c7ff5d87c9e5c5515b27fd6d9ec0a1bf19 | refs/heads/master | 2021-06-01T22:29:40.121986 | 2021-01-01T20:11:46 | 2021-01-01T20:11:46 | 108,314,744 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 199 | cpp | #include "auto_forcast_server.h"
#include <QtWidgets/QApplication>
int main(int argc, char *argv[])
{
QApplication a(argc, argv);
auto_forcast_server w;
w.show();
return a.exec();
}
| [
"32713201+spartawwy@users.noreply.github.com"
] | 32713201+spartawwy@users.noreply.github.com |
6935171454547f11f5bd20a5d46b226358e49067 | fc197a31331898b2238f7035997571eb86a2590a | /Qml/LearnQSG_20210614_Line/main.cpp | 5fb469c2fbed470de6860c0fc329f115c47cc736 | [] | no_license | guili116345/MyTestCode2021 | 7ad46f98bfaa985dfd1f2546b4938b88d1f21c88 | c2490a01a99f3892e2e060e51f1b1dba54c47c56 | refs/heads/master | 2023-09-05T01:28:18.135590 | 2021-11-01T16:17:52 | 2021-11-01T16:17:52 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 887 | cpp | #include <QGuiApplication>
#include <QQmlApplicationEngine>
#include "QSGLine.h"
#include "MyLine.h"
#include "SmoothLine.h"
int main(int argc, char *argv[])
{
#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
#endif
QGuiApplication app(argc, argv);
q... | [
"654344883@qq.com"
] | 654344883@qq.com |
6419536f73dd8a1880efa38f0ec2a9fc85964cfa | b49422b74db2ac985b0db445ad7a6dcde1d95a80 | /Mpeq/Builds/MacOSX/PluginEditor.h | d1cb56b3124c2d3e042ec4a9668c209d23b9f230 | [] | no_license | sipkewoudstra/SOGM | 31e4731112d1afc32bf62db7cd611e166a96e9e0 | af65a74ab472b6dcc4665c4f71d61731c8d9342c | refs/heads/master | 2016-09-05T17:41:39.037147 | 2014-12-18T19:29:33 | 2014-12-18T19:29:33 | 23,915,397 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,188 | h | /*
==============================================================================
This file was auto-generated by the Introjucer!
It contains the basic framework code for a JUCE plugin editor.
==============================================================================
*/
#ifndef PLUGINEDITO... | [
"sipkewoudstra@gmail.com"
] | sipkewoudstra@gmail.com |
d2dbdea770ce61064d1d09d624cfb64817d0daf1 | 4ad2ec9e00f59c0e47d0de95110775a8a987cec2 | /_Codeforces/Round 362/C/main.cpp | 20fec0822ace940be3a8b86772fc109cbfee8a3b | [] | no_license | atatomir/work | 2f13cfd328e00275672e077bba1e84328fccf42f | e8444d2e48325476cfbf0d4cfe5a5aa1efbedce9 | refs/heads/master | 2021-01-23T10:03:44.821372 | 2021-01-17T18:07:15 | 2021-01-17T18:07:15 | 33,084,680 | 2 | 1 | null | 2015-08-02T20:16:02 | 2015-03-29T18:54:24 | C++ | UTF-8 | C++ | false | false | 1,571 | cpp | #include <iostream>
#include <cstdio>
#include <cstring>
#include <vector>
#include <algorithm>
#include <cmath>
using namespace std;
#define mp make_pair
#define pb push_back
#define ll long long
#define mod 1000000007
ll d1[2][2], d2[2][2];
struct matrix {
int i, j, k;
ll data[2][2];
void init() {
... | [
"atatomir5@gmail.com"
] | atatomir5@gmail.com |
73cab7ac68464024f9421710ede5dcfca184ee5b | cb381d8fb6e877d92831fbfb86f3d8b2081a09f9 | /src/pbrt/util/sampling_test.cpp | 616ac09429915d354b07e8da96199a4f33a505b9 | [
"Apache-2.0"
] | permissive | mmp/pbrt-v4-ci-testing | 95c2bc888261800b4b1ea9d6ed6fe765dfc9264d | 70eb8fa81deb0db326d1f48f5fa292ac057ffbbf | refs/heads/master | 2023-02-27T07:44:22.106255 | 2021-02-09T15:27:08 | 2021-02-09T15:27:08 | 337,428,137 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 47,608 | cpp | // pbrt is Copyright(c) 1998-2020 Matt Pharr, Wenzel Jakob, and Greg Humphreys.
// The pbrt source code is licensed under the Apache License, Version 2.0.
// SPDX: Apache-2.0
#include <gtest/gtest.h>
#include <pbrt/pbrt.h>
#include <pbrt/util/float.h>
#include <pbrt/util/image.h>
#include <pbrt/util/lowdiscrepancy.h... | [
"matt@pharr.org"
] | matt@pharr.org |
c78b8f45355cbaff9f731505e6c7a101d7c1de93 | 642742cd1138f8e0fd9bb19271af676d1ae5facc | /core/optimization/blackbox/SimpleOptProblem.cpp | 98114cb00827391461fc16f2aead310876ab2e19 | [] | no_license | cvjena/nice-core | d64f3b1b873047eb383ad116323f3f8617978886 | d9578e23f5f9818e7c777f6976eab535b74dc62f | refs/heads/master | 2021-01-20T05:32:01.068843 | 2019-02-01T16:17:13 | 2019-02-01T16:17:13 | 3,012,683 | 4 | 4 | null | 2018-10-22T20:37:52 | 2011-12-19T15:01:13 | C++ | UTF-8 | C++ | false | false | 9,860 | cpp | /*
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
License version 2 as published by the Free Software Foundation.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the imp... | [
"Erik.Rodner@uni-jena.de"
] | Erik.Rodner@uni-jena.de |
e4d4f17081db26d4e70b4b3fca1d9ff760f5364f | dd69a8c55745c20cf547b47541f488b70b5f11ca | /plugins/writers/stl_bin.cpp | b7e34b3e8d690337d565995a5aed6070b514a44b | [
"BSD-3-Clause"
] | permissive | brex-it/3dconv | 84b7a9f85c070888d35021edd0baed49d5e0a309 | 8efa4da731ce453ddb200fb192f17e277560821e | refs/heads/master | 2022-10-25T07:01:30.780318 | 2020-06-14T13:00:34 | 2020-06-14T13:14:11 | 248,105,194 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,870 | cpp | #include <memory>
#include <sstream>
#include <type_traits>
#include <3dconv/io.hpp>
#include <3dconv/utils.hpp>
class STLBinWriter : public Writer {
public:
STLBinWriter() : Writer{std::ios_base::binary} {}
void operator()(const std::shared_ptr<const Model> orig_model) override {
/* NOTE: Not so memory-efficien... | [
"62312974+brex-it@users.noreply.github.com"
] | 62312974+brex-it@users.noreply.github.com |
7eda83d6e91d39eb457959fc6c00c7604ed52052 | fc5a1199af4d11d0ee78b88d8c525f6af86b8449 | /laba1git/laba1git/MailMediator.cpp | cf161020c17f8dba34cba267bb58121f3e722797 | [] | no_license | vmradik/2ADof2S_lab1 | 93935659c52e8caec1781cc5993071d42aa70271 | ccef18b1b56f6a8ba3080e0e1a718c31177b071f | refs/heads/master | 2021-01-12T14:36:42.648612 | 2016-12-22T09:12:18 | 2016-12-22T09:12:18 | 72,039,702 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 513 | cpp | #include "MailMediator.h"
CMailMediator::CMailMediator(void)
{
}
CMailMediator::~CMailMediator(void)
{
}
void CMailMediator::add_colleague(CColleague* colleague)
{
m_colleagues.push_back(dynamic_cast<CMailReceiver*>(colleague));
}
void CMailMediator::remove_colleague(CColleague* colleague)
{
}
void CMailMedia... | [
"drunk-coder@yandex.ru"
] | drunk-coder@yandex.ru |
3d1ff5ca7ca6ddd101e54c7ff6281368aacc7051 | 385f1352c2b24fa467c21ba8a271c750b466a136 | /Practice/PascalsTriangle.cpp | 04a81114d8c13a85eeb03180be255f20afde33f0 | [] | no_license | XRSHEERAN/CPPArchive | 805fa98cb22c415815a5ae821ff8140fdd5e1a7d | b9761e2e9498a55ca6fa70c1cf3541797db39bd5 | refs/heads/master | 2020-04-01T06:03:25.005801 | 2019-07-05T14:56:30 | 2019-07-05T14:56:30 | 152,931,522 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 471 | cpp | class Solution {
public:
vector<int> getRow(int rowIndex) {
if(rowIndex==0)
return {1};
else if (rowIndex==1)
return {1,1};
vector<int> ret(rowIndex+1,1);
for(int i=2;i<=rowIndex;i++){
int next(1);
for(int j=1;j<i;j++)... | [
"noreply@github.com"
] | XRSHEERAN.noreply@github.com |
15d06d9676e673e7b35f7c588e51ddd5ac40eefe | 3935ac1e3bd8958e987b44b366f3c17376d6c766 | /camuso 141 Polimorfismo (late binding)/src/Cerchio.h | 9dd8b50dabc6dbd031ea7788721a91e62dd1e332 | [] | no_license | mircocrit/Cpp-workspace-camuso | 0f2dc9231fd52b63cea688fa9702084071993c61 | fe1928a0f4718880d53b4acbf3bd832df2ae9713 | refs/heads/master | 2020-05-19T13:29:31.944404 | 2019-05-05T15:03:06 | 2019-05-05T15:03:06 | 185,040,544 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 351 | h | #ifndef CERCHIO_H_
#define CERCHIO_H_
#include "Figura.h"
class Cerchio : public Figura{
public:
Cerchio() : Cerchio(1) {}
Cerchio(int raggio) :Figura("nero"), raggio{raggio}{ }
double perimetro() override{
std::cout << "Cerchio\n";
return 2*3.14*raggio;
}
protected:
int raggio=0;
... | [
"Mirco@DESKTOP-A55DTAV"
] | Mirco@DESKTOP-A55DTAV |
4237c75e51fe75bdf95b74a31f222e1c144bd80f | 90e3291f9c0ddd9d474c13382cd7688fc0494ce0 | /GitHub/GitHub.cpp | c9dca20510ac839e136539ae43d513b58033f0ae | [] | no_license | marcchik/Test-Rep-2k | f89ed0eb617bddc5e0003caea3d417e9f3884dee | a1b8df6c758fc39fcd2c2658a8a7d6bae5ffed86 | refs/heads/master | 2022-12-14T00:23:40.865615 | 2020-09-15T07:44:25 | 2020-09-15T07:44:25 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,655 | cpp | // GitHub.cpp : Этот файл содержит функцию "main". Здесь начинается и заканчивается выполнение программы.
//
#include <iostream>
int main()
{
std::cout << "Hello World!\n";
std::cout << "Hello Maaaark!\n";
}
// Запуск программы: CTRL+F5 или меню "Отладка" > "Запуск без отладки"
// Отладка программы: F5 или мен... | [
"markstal2002@gmail.com"
] | markstal2002@gmail.com |
61750ce3feed5c20c04a2e9d338f37ba11ab2200 | a32a3162ff0b98b21871d4ffa6821fd5e87a147c | /src/Modules/GoldenRatio/IGoldenRatioPresenter.h | 84deeb91899c767da038e7efdf9271f58d8184d4 | [] | no_license | Volkolak27/ASize | 2c2a77d8fdab57202b5b3f9cbb40c1d83e99a310 | a696aba52823ebefb430966a3976e3e526ded7d5 | refs/heads/master | 2023-03-27T10:54:28.313464 | 2020-02-09T22:11:04 | 2020-02-09T22:11:04 | 352,111,277 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 427 | h | #ifndef IGOLDENRATIOPRESENTER_H
#define IGOLDENRATIOPRESENTER_H
#include "src/Modules/GoldenRatio/IGoldenRatioView.h"
#include "src/Pattern/BasePresenter.h"
class IGoldenRatioPresenter : public BasePresenter<IGoldenRatioView*>
{
public:
virtual void sourceValueChanged(const double& newValue, const GoldenRatioPart&... | [
"volkolak27@gmail.com"
] | volkolak27@gmail.com |
79f683d3f39d19450e081ffdb0aa321e1e6a22f1 | bd5ca643253046ba841fe3d38731d60db9716352 | /Graph/bfs_ssss.cpp | c570820e0f042b5a6389e4116b3d9a4547104c67 | [] | no_license | vivekgopalshetty/code | eabb32d2a8cc464eda399dd20f152ce9eb418913 | 8472fb15b87f027d088f4cecf538967a0c311717 | refs/heads/master | 2022-11-16T21:28:31.944287 | 2020-07-14T11:47:53 | 2020-07-14T11:47:53 | 279,570,731 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 947 | cpp |
#include<bits/stdc++.h>
using namespace std;
void bfs(vector< vector<int> > mat,int n)
{
queue<int> q;
bool visited[n]={0};
int parent[n]={0};
q.push(0);
while(!q.empty())
{
int k=q.front();
q.pop();
visited[k]=1;
cout << k;
int j=0;
while(j<n)
... | [
"vivek.gopalshetty20@gmail.com"
] | vivek.gopalshetty20@gmail.com |
fa2cfb1df241f58895835a82eccb03d09e19bdb3 | 92b146ce50466823b8192ed62f98ed4beddbd24e | /src/SimpleProgramRuntime.cpp | e81ee7e869031729ec822f62bc85c672effc648a | [] | no_license | w0301/dp_thesis | bdacba1114642a8b0c4625da03419f2c7e7340dd | f276806cfb375bb1b636412a9794ebcc2a0e1c62 | refs/heads/master | 2020-03-16T02:47:38.024411 | 2018-05-08T10:49:27 | 2018-05-08T10:49:27 | 132,473,126 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,868 | cpp | #include <memory>
#include <locale>
#include <codecvt>
#include <iostream>
#include "antlr4-runtime.h"
#include "LangLexer.h"
#include "LangParser.h"
#include "LangParserBaseVisitor.h"
#include "ProgramAnalyzer.h"
#include "SimpleProgramRuntime.h"
using namespace std;
using namespace antlr;
using namespace antlr4;
... | [
"richard.kakas@gmail.com"
] | richard.kakas@gmail.com |
c6d4bfaa86ff8bca08245486362b1f848dc1d2dd | e60b97131005e5ebed974684cade42a886991f5d | /988. 从叶结点开始的最小字符串.cpp | 3465e242fb05fb5532fbc128b6c9f07ff4a9a804 | [] | no_license | alphabetc1/leetcode | 4c1db42528e949dbacf8da7248ee0945f6d3a9b6 | a253778cdf077e9fc5d6d1faca986bf511511d0a | refs/heads/master | 2021-02-24T12:52:48.112748 | 2020-10-23T03:15:52 | 2020-10-23T03:15:52 | 245,432,062 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,194 | cpp | 988. 从叶结点开始的最小字符串.cpp
/**
* Definition for a binary tree node.
* struct TreeNode {
* int val;
* TreeNode *left;
* TreeNode *right;
* TreeNode(int x) : val(x), left(NULL), right(NULL) {}
* };
*/
class Solution {
public:
string res;
void Inorder(TreeNode* root, string s1) {
if(root... | [
"2508695655@qq.com"
] | 2508695655@qq.com |
47684e421006b72fe0e0bc84e7678978fd10706b | a7764174fb0351ea666faa9f3b5dfe304390a011 | /inc/BiTgte_Blend.hxx | ac4a13b7717cb0e669f6ecb990cbdc8327624270 | [] | no_license | uel-dataexchange/Opencascade_uel | f7123943e9d8124f4fa67579e3cd3f85cfe52d91 | 06ec93d238d3e3ea2881ff44ba8c21cf870435cd | refs/heads/master | 2022-11-16T07:40:30.837854 | 2020-07-08T01:56:37 | 2020-07-08T01:56:37 | 276,290,778 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,436 | hxx | // This file is generated by WOK (CPPExt).
// Please do not edit this file; modify original file instead.
// The copyright and license terms as defined for the original file apply to
// this header file considered to be the "object code" form of the original source.
#ifndef _BiTgte_Blend_HeaderFile
#define _BiT... | [
"shoka.sho2@excel.co.jp"
] | shoka.sho2@excel.co.jp |
9608ad9e3ac3b88d8df9e9a626b9e1889e22c49e | 710ac923ad7aaaf3c59882a057a2ebbe159ef135 | /Ogre-1.8rc/Components/RTShaderSystem/src/OgreShaderGenerator.cpp | 32f1e000b02f0e2bc775e0974e1b1021da8df288 | [] | no_license | lennonchan/OgreKit | 3e8ec4b0f21653cb668d5cd7d58acc8d45de6a96 | ac5ca9b9731ce5f8eb145e7a8414e781f34057ab | refs/heads/master | 2021-01-01T06:04:40.107584 | 2013-04-19T05:02:42 | 2013-04-19T05:02:42 | 9,538,177 | 1 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 63,606 | cpp | /*
-----------------------------------------------------------------------------
This source file is part of OGRE
(Object-oriented Graphics Rendering Engine)
For the latest info, see http://www.ogre3d.org/
Copyright (c) 2000-2012 Torus Knot Software Ltd
Permission is hereby granted, free of charge, to any person obtai... | [
"qinlong.mkl@gmail.com"
] | qinlong.mkl@gmail.com |
35fc4785638b82207e8b9f34ed4029ac3dac89fc | b7b60f2b9b264fff80e233b94ec561f24fe97c05 | /src/qt/aboutdialog.cpp | baf520d98c2f1e62d199e7e52a3af5fdb3357f5a | [
"MIT"
] | permissive | bruhcoin-project/bruhcoin | 116f357f6f9904bdceff8bf79e827ae8ee87cc00 | c57b88e147698dc43929a54657bb5a9e86184ce1 | refs/heads/master | 2021-07-08T05:59:35.309811 | 2017-09-20T02:30:52 | 2017-09-20T02:30:52 | 104,005,585 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,114 | cpp | // Copyright (c) 2011-2013 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 "aboutdialog.h"
#include "ui_aboutdialog.h"
#include "clientmodel.h"
#include "clientversion.h"
// Copyright year (... | [
"coinbruh@gmail.com"
] | coinbruh@gmail.com |
9088f8098e6429da72a414ae65b164315bb5a45e | db8755f58a43891bb108b167abd9d62447223d04 | /Library/Source Files/03 Command Buffers and Synchronization/04 Ending a command buffer recording operation.cpp | 6a2679f6b7a62cb517b55444ba8900cdb2cd0277 | [
"MIT"
] | permissive | KillerGoldFisch/Vulkan-Cookbook | d05e60caca97a2198c7bd623b95cb20109f65aef | e6efd57609d858ed26a71c3b2e657e809f2b8c6a | refs/heads/master | 2023-01-29T02:58:56.553994 | 2023-01-18T09:57:50 | 2023-01-18T09:57:50 | 169,872,221 | 0 | 0 | MIT | 2023-01-18T16:51:19 | 2019-02-09T13:57:41 | C++ | WINDOWS-1252 | C++ | false | false | 1,819 | cpp | // Permission is hereby granted, free of charge, to any person obtaining a
// copy of this software and associated documentation files (the "Software"),
// to deal in the Software without restriction, including without limitation
// the rights to use, copy, modify, merge, publish, distribute, sublicense,
// and / or se... | [
"sushantn@packtpub.net"
] | sushantn@packtpub.net |
ea71ee0a36576aecc51da52d69f870ff22255596 | b9f8942265dccf84161c9af3ca249015d6ab7808 | /Scheduler/RT-ROS/clients/roscpp/src/libros/transport/transport_tcp.cpp | 316b788754182da0f4ba08255f641de53eff9732 | [] | no_license | CPFL/ROSCH | 82620f654953f0d39c0616bf136ae6f4496ae344 | 92c005919384db54409318a348115a539bebac71 | refs/heads/master | 2021-01-20T13:45:38.567973 | 2018-06-20T05:27:26 | 2018-06-20T05:27:26 | 90,527,400 | 19 | 16 | null | null | null | null | UTF-8 | C++ | false | false | 18,932 | cpp | /*
* Software License Agreement (BSD License)
*
* Copyright (c) 2008, Willow Garage, Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* * Redistributions of source code mu... | [
"gakky@ubi.cs.ritsumei.ac.jp"
] | gakky@ubi.cs.ritsumei.ac.jp |
fb6e54d1abfe999dbb483cf50a6d826dada85b05 | ea401c3e792a50364fe11f7cea0f35f99e8f4bde | /released_plugins/v3d_plugins/bigneuron_AmosSironi_PrzemyslawGlowacki_SQBTree_plugin/libs/ITK_include/itkGaussianKernelFunction.h | cb1728fd38ba58f52cf10670a2a4c8047fe04411 | [
"LicenseRef-scancode-warranty-disclaimer",
"MIT"
] | permissive | Vaa3D/vaa3d_tools | edb696aa3b9b59acaf83d6d27c6ae0a14bf75fe9 | e6974d5223ae70474efaa85e1253f5df1814fae8 | refs/heads/master | 2023-08-03T06:12:01.013752 | 2023-08-02T07:26:01 | 2023-08-02T07:26:01 | 50,527,925 | 107 | 86 | MIT | 2023-05-22T23:43:48 | 2016-01-27T18:19:17 | C++ | UTF-8 | C++ | false | false | 2,599 | h | /*=========================================================================
*
* Copyright Insight Software Consortium
*
* 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
*
* h... | [
"amos.sironi@gmail.com"
] | amos.sironi@gmail.com |
809f8d06418f27ed207d2d0ed3b7e2cb8dc461ad | e6690d8021101c96a25e7524c8978d4b104ea304 | /FWCore/Framework/interface/stream/EDProducerAdaptor.h | d249bbd21f6c3b8d9587cd635e908b65a97aa8f8 | [] | no_license | ebecheva/cmssw | c85bdae152e51043a401be576c18c116f1b6ced3 | 8e06a4545229aa4ea6fd316df5a448e091fd9dcb | refs/heads/CMSSW_7_0_X | 2023-06-08T12:58:29.123904 | 2013-08-23T14:57:23 | 2013-08-23T14:57:23 | 12,325,697 | 0 | 1 | null | 2023-06-02T10:59:38 | 2013-08-23T15:00:14 | C++ | UTF-8 | C++ | false | false | 1,049 | h | #ifndef FWCore_Framework_stream_EDProducerAdaptor_h
#define FWCore_Framework_stream_EDProducerAdaptor_h
// -*- C++ -*-
//
// Package: FWCore/Framework
// Class : EDProducerAdaptor
//
/**\class edm::stream::EDProducerAdaptor EDProducerAdaptor.h "EDProducerAdaptor.h"
Description: Adapts an edm::stream::EDProd... | [
"chrisdjones15@gmail.com"
] | chrisdjones15@gmail.com |
b5b96bd82ff0022ef163180ffc2abece8b14dc71 | 3b5ce98d4658899a4ee23722d382843ea1927d09 | /lab122.cpp | 4898e80ba67a16bdafa84a1481dd9ecabd7b215e | [] | no_license | Rafael-CP/Lab_OOP | e295e382bb658ba78e5f362ca88aa1fe9372ba92 | e95ffdef264a14ff035544c5160ecbb86f1ae7f9 | refs/heads/master | 2023-04-22T07:52:29.777410 | 2021-05-04T21:48:02 | 2021-05-04T21:48:02 | 364,394,177 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 531 | cpp | #include <iostream>
#include <stdexcept>
using namespace std;
class NumSimples: public runtime_error{
public:
NumSimples()
: runtime_error("terminate called without an active exception exited, aborted") {}
};
void VerificaNum(int a){
if(a >= 0 && a <= 9){
cout << "Este e um numero simples"... | [
"rafaelcpaes@unifei.edu.br"
] | rafaelcpaes@unifei.edu.br |
766c243a681de83d5e619184832f9f853a2deddf | a843a64e421405a3d719abfea6b24fd6c7a8be16 | /quiz/q49.cpp | 34fbb4133859db5f33c3f610d6b4a77df107ccc5 | [] | no_license | xs2ranjeet/CPP-Tutorial | 7274025693c75af83a008e89174213194af2b7e5 | aaa1ca7e86c6067b4e95b56d79d2425d02f0485e | refs/heads/master | 2021-01-01T20:32:51.213781 | 2017-12-26T11:09:27 | 2017-12-26T11:09:27 | 98,884,503 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 216 | cpp | #include <iostream>
class C{
private:
int i;
public:
C(int i): i(i) {std::cout<<i;}
~C() { std::cout<<i+5;}
};
int main(int argc, char const *argv[])
{
const C &c = C(1);
C(2);
return 0;
} | [
"xs2ranjeet@gmail.com"
] | xs2ranjeet@gmail.com |
f245de033c2bc346ae91ca1c084da015b58e73e7 | 1b8e1ddcb86f0a5cd018bc6b3400c8c6fb1c1984 | /server/server/login/GameMsg_Player_Logout.h | a64258e20d51a94c14f4f0d110efc869d446b654 | [] | no_license | yzfrs/ddianle_d1 | 5e9a3ab0ad646ca707368850c01f8117a09f5bfd | abffb574419cc2a8a361702e012cdd14f1102a6d | refs/heads/master | 2021-01-01T03:32:51.973703 | 2016-05-12T09:27:00 | 2016-05-12T09:27:00 | 58,615,329 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 416 | h | #ifndef __GAMEMSG_PLAYER_LOGOUT_H__
#define __GAMEMSG_PLAYER_LOGOUT_H__
#include "../../socket/GameMsg_Base.h"
class GameMsg_Player_Logout :
public GameMsg_Base
{
typedef GameMsg_Base _baseClass;
public:
GAMEMSG_CREATEDECLARE(GameMsg_Player_Logout);
GameMsg_Player_Logout(void);
~GameMsg_Player_Logou... | [
"root@localhost.localdomain"
] | root@localhost.localdomain |
e933a5a5dd77650c4000a9a1eeaffee7616e2384 | c17a1629e4f6cce6081d4ad848b3ae3211d053a2 | /Sorter.hh | 90234264ca9873a8e7808eedb4bdc2b703eeed43 | [] | no_license | jturko/CEMRC_Analysis_Tools | 4c4f7ee3667faf350b80ff37d14e1dacc706c192 | dadb5e2b3684648b0e0c3752c676aac2409927d5 | refs/heads/master | 2020-03-22T06:32:11.284579 | 2018-07-05T23:27:16 | 2018-07-05T23:27:16 | 139,641,105 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,429 | hh |
#ifndef SORTER
#define SORTER 1
#include <string>
#include <vector>
#include "TFile.h"
#include "TTree.h"
#include "TGraph.h"
#include "TF1.h"
#include "TH1.h"
#include "TH1F.h"
#include "TRandom3.h"
class Sorter
{
public:
Sorter(std::string filename);
Sorter();
~Sorter();
// These functions sh... | [
"jturko@mail.uoguelph.ca"
] | jturko@mail.uoguelph.ca |
934f4bb4937f20b38f7e89adba9f142a44712af3 | f788bde0757cc50ea7c825e049d9652d6700ba37 | /UDE_Outlook/ProjectName.cpp | 098902efe1297191a8da2397d2ca2e0ec093889c | [] | no_license | 15831944/CCD_Project | 235a6c05dfc790f18aa1b66394158b8cbadc7bf2 | 21fd27a9638d698002c3b0231366337a770aaa25 | refs/heads/master | 2023-02-27T07:45:16.250515 | 2021-02-04T09:44:08 | 2021-02-04T09:44:08 | 486,609,060 | 0 | 1 | null | null | null | null | GB18030 | C++ | false | false | 1,570 | cpp | // ProjectName.cpp : 实现文件
//
#include "stdafx.h"
#include "UDE_Outlook.h"
#include "ProjectName.h"
#include "afxdialogex.h"
// CProjectName 对话框
IMPLEMENT_DYNAMIC(CProjectName, CTpLayerWnd)
CProjectName::CProjectName(CWnd* pParent /*=NULL*/)
: CTpLayerWnd(CProjectName::IDD, pParent)
, m_strProjectName(_T(""))
{
... | [
"463115211@qq.com"
] | 463115211@qq.com |
3df24b92b6651fb26c6431b036519dbaae61f09c | 45ff4b84cb0fdafd3829fdf3efa433eec2c67b64 | /JapetusML/tensor/src/Tensor.h | b5450f1da2ad4f3d2e566762c5161ab431ffb66e | [] | no_license | microchips-n-dip/NeuralNets | 059f2f813d7514cead192cb84615e38b3bed151e | f005285d7158237115ac43c342a4647760119c34 | refs/heads/master | 2020-12-04T03:58:43.012807 | 2018-05-01T21:29:24 | 2018-05-01T21:29:24 | 66,862,583 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,984 | h | #ifndef JAPETUS_TENSOR_H
#define JAPETUS_TENSOR_H
namespace Japetus {
namespace tensor {
template <typename Scalar_, typename Index_, typename Indices_>
struct traits<Tensor<Scalar_, Index_, Indices_>>
{
typedef Scalar_ Scalar;
typedef Index_ Index;
typedef Indices_ Indices;
enum {
Flags = is_const<Scal... | [
"xisavariable52@gmail.com"
] | xisavariable52@gmail.com |
a99b4fe2b3fca336827407eed30c3156a4e0f907 | a7ed34943cb92b8bfc9c3471a08ee9e8edba6362 | /lib/LCDMenu/src/LCDMenu.h | 1e92f2adf8ea94e18bb0c7426ea45b320d0d9987 | [
"MIT"
] | permissive | nvip12041994/Menu_liquid | dd1f13f6db7c5d637da8797b2f2a4231487dd8e2 | 2ad02de4c3feeeaff7543f940d86cea6c8907c45 | refs/heads/master | 2020-09-07T20:12:36.258434 | 2019-11-11T04:36:06 | 2019-11-11T04:36:06 | 220,901,434 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 18,590 | h | /* ******************************************************************************
* LCDMenu (LCDML)
* ******************************************************************************
*/
// File header
#ifndef LCDMenu_h
#define LCDMenu_h
// ####################### //
// This followi... | [
"nvip12041994@gmail.com"
] | nvip12041994@gmail.com |
d47b51e67a507aa05a77be471964f8746ce5008d | efa37f47df307f5d05a04bc6177f1e1c91a3df96 | /goblin.2.8b30/lib_src/libImport.cpp | 4b3a87c4cee4a02b6bc335aa0df988a82011f0ab | [] | no_license | GunterMueller/GOBLIN-Graph-Library | 5c4f3a9ab12bfd439f91c486569366c93aea4a4e | f5beb4edfa98f78d22a9f70931864f0ee9624e19 | refs/heads/master | 2021-07-22T11:19:09.078316 | 2021-01-27T17:50:34 | 2021-01-27T17:50:34 | 86,537,148 | 3 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 16,402 | cpp |
// This file forms part of the GOBLIN C++ Class Library.
//
// Initially written by Christian Fremuth-Paeger, April 2007
//
// Copying, compiling, distribution and modification
// of this source code is permitted only in accordance
// with the GOBLIN general licence information.
/// \file libImport.cpp
/// \br... | [
"gmphoneopo01@gmail.com"
] | gmphoneopo01@gmail.com |
22ccebd15439a1818dea5ee3305aa7a55e01d11d | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/httpd/gumtree/httpd_old_log_4944.cpp | 3dd67817242bb696ff16b277f0a74a90e02cea26 | [] | 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 | 109 | cpp | ap_log_rerror(APLOG_MARK, APLOG_ERR, 0, r,
"Invalid URI in request %s", r->the_request); | [
"993273596@qq.com"
] | 993273596@qq.com |
e2e3c6a4c1aa6dd26b0cb89cbb6d75d62a83e29b | 3632625d4f3009118387939a1c89254df4c16ec4 | /cxf/exercise/j.cpp | ac1c0487c0236220dbe18beb323256d58af1d455 | [] | no_license | lingmagirl/cppexecrises | bbc6bd2f02612dc8bd7228ef5722947b164ac87f | 06deffe43d1378536a85defdfb42fb5570701e30 | refs/heads/master | 2021-08-24T10:34:45.019776 | 2017-12-09T07:02:21 | 2017-12-09T07:02:21 | 113,645,907 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 154 | cpp | #include <iostream>
int main()
{
struct student{
char *Name;
char age;
short gread;
};
student arr[10];
for(int i = 0; i < 10; i++){
}
}
| [
"lingmagirl@163.com"
] | lingmagirl@163.com |
b0b9d030e00fbe10f50dfc94b773373348399f41 | 3dacd6b1be2cf63548a61d9235e071e5c81b1f82 | /src/RBTree.hpp | da9190a72d6d11c915c02d38cab8fe3000ba7d08 | [
"MIT"
] | permissive | heiye007/yvm | 58c23b94be7b73918d22f66ec5e578c03528a604 | 75fcebbb099d4556764608288445d8d937bc3382 | refs/heads/master | 2020-03-29T09:50:16.783799 | 2018-08-31T06:27:43 | 2018-08-31T06:27:43 | 149,776,141 | 1 | 0 | MIT | 2018-09-21T14:39:55 | 2018-09-21T14:39:55 | null | UTF-8 | C++ | false | false | 14,961 | hpp | #ifndef YVM_RBTREE_H
#define YVM_RBTREE_H
#include <type_traits>
template <typename _KeyType, typename _ValueType>
class RBTree {
using _ResolvedKeyType = typename std::conditional<
std::is_class<_KeyType>::value,
typename std::add_lvalue_reference<_KeyType>::type, _KeyType>::type;
using _Res... | [
"1948638989@qq.com"
] | 1948638989@qq.com |
83e886e33cd8f20b7149e0e89d3db43a5229e104 | 90047daeb462598a924d76ddf4288e832e86417c | /net/ssl/ssl_config_service.cc | 6afef76e86af495c93d2fdafe1843a652550c468 | [
"BSD-3-Clause"
] | permissive | massbrowser/android | 99b8c21fa4552a13c06bbedd0f9c88dd4a4ad080 | a9c4371682c9443d6e1d66005d4db61a24a9617c | refs/heads/master | 2022-11-04T21:15:50.656802 | 2017-06-08T12:31:39 | 2017-06-08T12:31:39 | 93,747,579 | 2 | 2 | BSD-3-Clause | 2022-10-31T10:34:25 | 2017-06-08T12:36:07 | null | UTF-8 | C++ | false | false | 3,442 | cc | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "net/ssl/ssl_config_service.h"
#include <tuple>
#include "base/lazy_instance.h"
#include "base/synchronization/lock.h"
#include "net/ssl/ss... | [
"xElvis89x@gmail.com"
] | xElvis89x@gmail.com |
7b1e22d6df35d8e34277645b009b7c93e42274e6 | 83bacfbdb7ad17cbc2fc897b3460de1a6726a3b1 | /node/v8_inspector/platform/v8_inspector/InjectedScriptNative.h | c8082fe95edd61f14b0134bac734d6119342e510 | [
"Apache-2.0",
"BSD-3-Clause",
"MIT",
"ISC",
"BSD-2-Clause",
"LicenseRef-scancode-openssl",
"ICU",
"LicenseRef-scancode-unknown-license-reference",
"NAIST-2003",
"NTP",
"LicenseRef-scancode-unicode",
"Zlib",
"Artistic-2.0",
"LicenseRef-scancode-public-domain"
] | permissive | cool2528/miniblink49 | d909e39012f2c5d8ab658dc2a8b314ad0050d8ea | 7f646289d8074f098cf1244adc87b95e34ab87a8 | refs/heads/master | 2020-06-05T03:18:43.211372 | 2019-06-01T08:57:37 | 2019-06-01T08:59:56 | 192,294,645 | 2 | 0 | Apache-2.0 | 2019-06-17T07:16:28 | 2019-06-17T07:16:27 | null | UTF-8 | C++ | false | false | 1,422 | h | // Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef InjectedScriptNative_h
#define InjectedScriptNative_h
#include "platform/inspector_protocol/Collections.h"
#include "platform/inspector_protocol/... | [
"22249030@qq.com"
] | 22249030@qq.com |
e259c203a8569cdcce979520fc383ab68a7a7ea7 | c87056cdd72f29f63c756adeccc55bb24d288abd | /src/rpcserver.cpp | 8872ce664a35f07d0aa085d7ae8f731d4cf7af82 | [
"MIT"
] | permissive | spayse/Hydrocarbon | 819aab60e9fdd26c67c91ecf5d746822894d7246 | 08f5dd546e20eaad4bc118bf73708cebf4d74ded | refs/heads/master | 2021-01-01T16:09:30.406212 | 2017-07-20T16:13:33 | 2017-07-20T16:13:33 | 97,781,438 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 31,412 | cpp | // Copyright (c) 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.
#include "rpcserver.h"
#include "base58.h"
#include "init.h"
#include "util.h"
#includ... | [
"Spayseghost@gmail.com"
] | Spayseghost@gmail.com |
12b37281aa064fc3de1f728f8b0dcf04fabb4433 | 7c8a5f62a335d5108fd95c62f3c6aaf15cae0b7b | /array/reverseWords.cpp | d20477c93040ba461e38d2dc23fcbd20b13f9925 | [] | no_license | pratiksaha/practice | a6809006fedeee982e823b3660c7673f2c77379a | 3b3705d7738dbeddc20c0482a6bce07028ddbafe | refs/heads/master | 2021-01-13T17:25:39.678405 | 2017-03-15T21:40:16 | 2017-03-15T21:40:16 | 24,746,662 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 863 | cpp | //to reverse words of a string
#include<iostream>
#include<cstdlib>
using namespace std;
void reverse(char *begin, char *end) {
while (begin < end) {
swap(*begin, *end);
begin++;
end--;
}
}
void reverseWords(char *s) {
char *word_begin = NULL;
char *temp = s;
while (*temp) ... | [
"pratiksaha89@gmail.com"
] | pratiksaha89@gmail.com |
1629c4f790828631c024f02e64e6f64bf60bf11e | a167763d84012b9aacf4c92c7bff098460f0aeaa | /LightOJ/1077/11170434_AC_8ms_1684kB.cpp | 01c9bfab43410c4fb4eefff0100decc545e86cab | [] | no_license | MuizZer07/Online-Problems | 8f226a332e3330a747d01f6d3a62f5f3fbd70e99 | 1f33e6ee21890c29a6d27171dd369e6bc05f1a11 | refs/heads/master | 2021-04-09T13:01:01.293878 | 2020-03-08T16:54:57 | 2020-03-08T16:54:57 | 125,536,723 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 339 | cpp | #include <bits/stdc++.h>
using namespace std;
int main(){
int t;
cin>>t;
for(int i=1; i<=t;i++){
long long x1, y1, x2, y2;
cin >> x1 >> y1 >> x2 >> y2;
long long x = abs(x2-x1);
long long y = abs(y2-y1);
cout << "Case " << i << ": "<< __gcd(x,y)+1 << endl;
}
... | [
"muizxzer07@gmail.com"
] | muizxzer07@gmail.com |
f02402e89ab970a2b593052752f0f6cf9a71d6c5 | f398bfcd9f31f7552b957506e50df2771f0d11b7 | /test/interview/offer/02_ReplaceBlank/Merge.cc | 4d29492eabf31346471b22f6ddabad1e2fa5d509 | [] | no_license | bigfei123/learngit | 886e0ebe8ea908b3596b58b6491a57e9e7877696 | 9345fd85f4005ac96646cb5f9db4c5d2e308755a | refs/heads/master | 2020-04-15T16:06:42.075706 | 2019-04-18T11:24:43 | 2019-04-18T11:24:43 | 164,820,516 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,777 | cc | ///
/// @file Sort2Array.cc
/// @author bigfei775655478@qq.com)
/// @date 2019-03-08 21:07:24
///
#include <vector>
#include <iostream>
using std::cout;
using std::endl;
using std::vector;
class Solution
{
public:
auto Merge(int array1[], const int len1, int array2[], const int len2)
//void Merge(vect... | [
"775655478@qq.com"
] | 775655478@qq.com |
a41781e638c9799ba6b8f4e57ea5a4c441102073 | 069fe42eb327bb0e4eb1df70567c55bab3df25dd | /IMUViewer/src/utils/SparseMat/SparseMat.h | 41b5e6df572b5c036f6ee2947d8f32b0ed85d086 | [] | no_license | Near32/PoseEstimator | a801ecaee19d1664170f70914e7d6d447f607ede | 254f75f68d26e2d5a9430db6f22eab4b3de586aa | refs/heads/master | 2021-01-10T15:49:12.317349 | 2016-02-02T07:17:32 | 2016-02-02T07:17:32 | 50,901,710 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,719 | h | #ifndef SPARSEMAT_H
#define SPARSEMAT_H
#include <iostream>
#include <cstdlib>
#include <map>
#include "../Mat/Mat.h"
template<class T>
class SparseMat
{
private :
typedef std::map<size_t, std::map<size_t, T> > mat_t;
typedef typename mat_t::iterator row_iter;
typedef std::map<size_t, T> col_t;
typedef typenam... | [
"denamganai.kevin@gmail.com"
] | denamganai.kevin@gmail.com |
04ac294e563775722ab589d64734fc6b7c5fc0b8 | 6a3e80822bdec7b85183920d5449e93649b07c20 | /cpp/test_verilog.cpp | 70186dc0949c6a940050156193285c7df0e8f2a6 | [] | no_license | wuerges/vlsi_verification | 799d699b3a9193b4fd247f25b99730cb719160ef | 879b7d78ec56178efdbfc89c0962c49088504ba7 | refs/heads/master | 2021-01-17T07:51:22.652617 | 2017-03-10T20:44:34 | 2017-03-10T20:44:34 | 41,334,298 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 96 | cpp | #include "verilog.hpp"
using namespace std;
int main(int nargs, char** argv) {
return 0;
}
| [
"wuerges@gmail.com"
] | wuerges@gmail.com |
b28c2ffbfb72002337bc1793659c319f760557e1 | 72852e07bb30adbee608275d6048b2121a5b9d82 | /algorithms/problem_0983/other1.cpp | f55a4ccc44c040e60c5730b99159873f38bcb217 | [] | no_license | drlongle/leetcode | e172ae29ea63911ccc3afb815f6dbff041609939 | 8e61ddf06fb3a4fb4a4e3d8466f3367ee1f27e13 | refs/heads/master | 2023-01-08T16:26:12.370098 | 2023-01-03T09:08:24 | 2023-01-03T09:08:24 | 81,335,609 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,689 | cpp | /*
Intuition
For each travel day, we can buy a one-day ticket, or use 7-day or 30-day passes as if we would have purchased it 7 or 30 days ago. We need to track rolling costs for at least 30 days back, and use them to pick the cheapest option for the next travel day.
Here, we can use two approaches: track cost for all... | [
"drlongle@gmail.com"
] | drlongle@gmail.com |
0e62ef3eb67770bfa1df9b02b3ee563941954d1a | ffa21617e605906a3408618a4eceae5e71e13d89 | /31. Next Permutation/solution.cpp | e53f27bb126c8e2ca7260c8d8eb4495bfabab025 | [] | no_license | michaelala25/personal-leetcode-solutions | 7459d8c34049ed877da011fb1537903cce1bf58c | f332a81b3dcf4a43dec857601e0e71985bfebd4b | refs/heads/master | 2022-08-09T21:48:06.114245 | 2018-11-26T16:48:07 | 2018-11-26T16:48:07 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,221 | cpp | /*
Implement next permutation, which rearranges numbers into the lexicographically next greater permutation of numbers.
If such arrangement is not possible, it must rearrange it as the lowest possible order (ie, sorted in ascending order).
The replacement must be in-place and use only constant extra memory.
Here are... | [
"michaelala25@gmail.com"
] | michaelala25@gmail.com |
07c1406eb1a2b930634972430a4d440c83d63dba | d0fb46aecc3b69983e7f6244331a81dff42d9595 | /iot/src/model/UpdateParserDataSourceResult.cc | b493237c0a55b3ffef3444e9088654937e416544 | [
"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 | 1,751 | 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... | [
"sdk-team@alibabacloud.com"
] | sdk-team@alibabacloud.com |
6b279f7b6b5b9e5cf77a2c8bb17b0d2351e2a1b2 | a59e0fc4a9c573794bba987548dfc7680a1d04d5 | /arch/context.h | da8092900249940c6e5f3e97cd4011fcbb176bbb | [
"MIT"
] | permissive | 00mjk/granary2 | cc671bf83b02b44e1408e63248dd24c2c14f574b | 66f60e0a9d94c9e9bf9df78587871b981c9e3bed | refs/heads/master | 2021-09-15T09:28:39.502722 | 2016-10-22T19:37:07 | 2016-10-22T19:37:07 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,918 | h | /* Copyright 2012-2014 Peter Goodman, all rights reserved. */
/*
* context.h
*
* Created on: Sep 8, 2014
* Author: Peter Goodman
*/
#ifndef ARCH_CONTEXT_H_
#define ARCH_CONTEXT_H_
#ifdef GRANARY_INTERNAL
# include "arch/base.h"
# include "granary/base/base.h"
# include "granary/base/new.h"
# include "grana... | [
"peter.goodman@gmail.com"
] | peter.goodman@gmail.com |
4b012684d3097af62cb1f9a10b47fa6fc673f03f | e46bd22112c15d9558ad9531deef183849636d62 | /UVA/Volume 9 (900-999)/990 - Diving for gold.cpp | ae6a312ccfe126340e6985d4568e0c07a087c66f | [] | no_license | jariasf/Online-Judges-Solutions | 9082b89cc6d572477dbfb89ddd42f81ecdb2859a | 81745281bd0099b8d215754022e1818244407721 | refs/heads/master | 2023-04-29T20:56:32.925487 | 2023-04-21T04:59:27 | 2023-04-21T04:59:27 | 11,259,169 | 34 | 43 | null | 2020-10-01T01:41:21 | 2013-07-08T16:23:08 | C++ | UTF-8 | C++ | false | false | 1,469 | cpp | /*****************************************
***Problema: Diving for gold
***ID: 990
***Juez: UVA
***Tipo: DP, Knapsack
***Autor: Jhosimar George Arias Figueroa
******************************************/
#include <stdio.h>
#include <cstring>
#define MAX 2005
int dp[ MAX ], dep[ MAX ] , v[ MAX ], seen[ 35 ][ 1005... | [
"jariasf03@gmail.com"
] | jariasf03@gmail.com |
9d3dfd7fc7209bd493d4ca4760e58d5aaa7e87ea | 775acebaa6559bb12365c930330a62365afb0d98 | /source/public/includes/VOSCursor.h | 3e3da24277dd85006d9ae8a158de7f71870dc002 | [] | no_license | Al-ain-Developers/indesing_plugin | 3d22c32d3d547fa3a4b1fc469498de57643e9ee3 | 36a09796b390e28afea25456b5d61597b20de850 | refs/heads/main | 2023-08-14T13:34:47.867890 | 2021-10-05T07:57:35 | 2021-10-05T07:57:35 | 339,970,603 | 1 | 1 | null | 2021-10-05T07:57:36 | 2021-02-18T07:33:40 | C++ | UTF-8 | C++ | false | false | 4,952 | h | //========================================================================================
//
// $File: //depot/devtech/16.0.x/plugin/source/public/includes/VOSCursor.h $
//
// Owner: EricM
//
// $Author: pmbuilder $
//
// $DateTime: 2020/11/06 13:08:29 $
//
// $Revision: #2 $
//
// $Change: 1088580 $... | [
"75730278+Tarekhesham10@users.noreply.github.com"
] | 75730278+Tarekhesham10@users.noreply.github.com |
a052ba96ce7e10fe0fd5efb1d4aeacab423f3337 | 09035f75bb5ca0ce361023b061fb2c25090b1ca8 | /gdal/ogr/ogrsf_frmts/segukooa/ogrsegukooadatasource.cpp | d5e1d9727313d5470f52d8ee1b03e301378153ab | [
"LicenseRef-scancode-info-zip-2005-02",
"LicenseRef-scancode-warranty-disclaimer",
"MIT",
"LicenseRef-scancode-public-domain"
] | permissive | aashish24/gdal-cmake | 321f560f9af42dd3c03c614865578bb661b2f925 | d00996ea017ce9c574d77dfa417f21ce70e8428e | refs/heads/master | 2020-12-24T17:55:05.040674 | 2011-11-13T21:46:07 | 2011-11-13T21:46:07 | 2,739,580 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 6,375 | cpp | /******************************************************************************
* $Id$
*
* Project: SEG-P1 / UKOOA P1-90 Translator
* Purpose: Implements OGRSEGUKOOADataSource class
* Author: Even Rouault, even dot rouault at mines dash paris dot org
*
********************************************************... | [
"rouault@f0d54148-0727-0410-94bb-9a71ac55c965"
] | rouault@f0d54148-0727-0410-94bb-9a71ac55c965 |
8ffcfef4b1a48d18d4534d6553bd0fb5b1a62324 | 442de4309edbbf350b342d9e59d85d782a1f1ae7 | /InputManager.h | 43c786699fe0ce693b49002558225f13150cf187 | [] | no_license | Sgm907/StrategyEngine | acf3a97154d6a02dd2f31fdb6574537f2371c6b8 | 95c42e354d974b39a44e560e15c3cfe7b6e2add0 | refs/heads/main | 2023-08-20T03:09:07.385233 | 2021-10-25T02:08:59 | 2021-10-25T02:08:59 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 277 | h | #pragma once
#include <Windows.h>
#include <conio.h>
#include "EventHandler.h"
class InputManager
{
public:
void Update(float dt, HWND windowHandle);
static InputManager* GetInstance();
private:
InputManager();
bool m1Down, m2Down, m3Down;
EventHandler* eventHandler;
};
| [
"millzy907@charter.net"
] | millzy907@charter.net |
4423cdcdc6f8229c78ad00b7daf2aaa47532a0cb | 859cba3c86640978f3f247c832a0734a77428efb | /Drone C++/HandlerH/BlockingQueue.h | 9aad74084e92b59dd32907c1ee4d506ba437a6ab | [] | no_license | PrigentC/Projet-3A | cba1029062b050500f2cd754af74d350e4367aee | 552d1fb100aa1977e48f004428949935ae3738c9 | refs/heads/master | 2016-08-12T14:37:03.131164 | 2016-02-19T09:08:37 | 2016-02-19T09:08:37 | 43,000,733 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,166 | h | #ifndef BLOCKINGQUEUE_H
#define BLOCKINGQUEUE_H
#include <queue>
#include <thread>
#include <mutex>
#include <condition_variable>
namespace handler {
template <typename T>
class BlockingQueue
{
public:
T pop();
void pop(T& item);
void push(const T& item);
BlockingQueue() = default;
BlockingQueue(const ... | [
"maithili.vinayagamoorthi@uha.fr"
] | maithili.vinayagamoorthi@uha.fr |
04075c5f9f9966fca4a5529197cbac73777d6f6d | d256626491309db4ac28e65b5112b12b119c8971 | /LR_1/LR_1/mainwindow.cpp | 4794451dcd5443cd50e0696fab83800e46db82a1 | [] | no_license | Gr1dlock/OOP | 45d40c2914ef93187b8f70c6edf3631c19111a2f | 7bbd7329691f4cd615fe0d1124403ea9b3ed07fe | refs/heads/master | 2021-06-21T01:40:57.045723 | 2021-01-30T15:57:55 | 2021-01-30T15:57:55 | 177,463,708 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,736 | cpp | #include "mainwindow.h"
#include "ui_mainwindow.h"
MainWindow::MainWindow(QWidget *parent) :
QMainWindow(parent),
ui(new Ui::MainWindow)
{
ui->setupUi(this);
main_scene.scene = new QGraphicsScene();
main_scene.center_x = CENTER_X;
main_scene.center_y = CENTER_Y;
QGraphicsScene *scene = getS... | [
"dmit.lugovoy@gmail.com"
] | dmit.lugovoy@gmail.com |
45cf211382aef0fa0029519eba2ec14a2d26619c | f798e5955febcbb5e053604dde0056225954e956 | /GeekforGeeks/MISSING-NUMBER-IN-ARRAY.cpp | baf8642e7171c986a885a1731417bdb1014ceda5 | [] | no_license | atulRanaa/problem-solving-directory | bd129da93f205602fd1b596a80d98ca3c164020f | 3c261a7a57591203d0fb502859a0e388f9b09ae1 | refs/heads/master | 2022-09-02T00:22:02.199595 | 2022-08-22T07:14:56 | 2022-08-22T07:15:41 | 177,447,829 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 927 | cpp | // geeksforgeeks
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
const ll N = 5e5+5;
const ll MOD = 1000000007;
#define all(x) x.begin(),x.end()
#define pii pair<ll,ll>
#define pis pair<ll,string>
#defin... | [
"atul.rana@go-mmt.com"
] | atul.rana@go-mmt.com |
951b08390c7d2e3c6942f52f5bf9eb7cec2ed366 | d527cb28a200c6b679a6d8e85f8d69a89cfd6bed | /2_term/1_module/Task1/ArcGraph.h | 5aafb3b44e74796491bc9c445cbfd284c5a55239 | [
"MIT"
] | permissive | ilyabelow/algorithms_tasks | 29f48eca1dc16a643e36dddfd6d045eaec899edd | 33718497fd2f16daa2c6101dc656124a540714fa | refs/heads/master | 2020-05-17T19:16:43.230300 | 2020-05-12T14:39:33 | 2020-05-12T14:39:33 | 183,910,637 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 705 | h | #pragma once
#include "IGraph.h"
#include <vector>
#include <utility>
//graph with vector of its adjacency_matrix
class ArcGraph : public IGraph {
private:
std::vector<std::pair<int, int>> edges;
//in this graph size of the container doesn't correspond with vertices count so we need to store another integer
... | [
"belof.ilya@gmail.com"
] | belof.ilya@gmail.com |
5429feaa9e22bac81a5c931f0695517e2d62e219 | 5370eba2ea13b0c229e7004a3c35f9eb71a68cc8 | /curv/program.h | 9287d8d9471622da8e1db9af727779a2c139f7ea | [
"Apache-2.0"
] | permissive | iplayfast/curv | 348458500d8e297557c39b1af0553534abb5fd36 | e14ff67ba269c630b78be4708454fefcdbfc4378 | refs/heads/master | 2020-06-25T04:21:53.661296 | 2018-04-27T15:14:17 | 2018-04-27T15:14:17 | 131,206,111 | 0 | 0 | Apache-2.0 | 2018-04-27T15:14:18 | 2018-04-26T20:17:26 | C++ | UTF-8 | C++ | false | false | 1,123 | h | // Copyright 2016-2018 Doug Moen
// Licensed under the Apache License, version 2.0
// See accompanying file LICENSE or https://www.apache.org/licenses/LICENSE-2.0
#ifndef CURV_PROGRAM_H
#define CURV_PROGRAM_H
#include <curv/builtin.h>
#include <curv/frame.h>
#include <curv/meaning.h>
#include <curv/module.h>
#include... | [
"doug@moens.org"
] | doug@moens.org |
32da725623cfae4c8561d0a3f11c23ec61147ad5 | 665813341b9d0911aaab3658c38b495ff1dae30a | /AOJ/ITP1/6/MatrixVectorMultiplication.cpp | b8c9fb540e6cb8127f528d65f3b06a7d01ffdfeb | [] | no_license | THEToilet/program | 1fd54802d8e90ae648a50685d2ff8ee1838ebeb9 | 30b13449e114849981f832a6360dd0ab702682d1 | refs/heads/master | 2021-12-22T07:14:47.025845 | 2021-12-19T17:10:29 | 2021-12-19T17:10:29 | 243,990,671 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 565 | cpp | #include <bits/stdc++.h>
#include <string>
using namespace std;
int main()
{
int n, m;
int A[101][101];
int b[101][1];
int c[101][1];
for (int i = 0; i < 101; i++)
{
c[i][1] = 0;
}
cin >> n >> m;
for (int i = 0; i < n; i++)
{
for (int j = 0; j < m; j++)
{
cin >> A[i][j];
}
}... | [
"bp18015@shibaura-it.ac.jp"
] | bp18015@shibaura-it.ac.jp |
51c8c4f5f335f1d64d1376158814148c53e6c38e | ab240438df5539d8f91af90d7742840594d36c14 | /hardware/libraries/Fatfs/SdFatFs.h | 23bac5ea9429ef706d04d8ed60744d340d33b934 | [] | no_license | u8913557/u8913557_arduino-ameba | bd6354ed43b1caf78246e35cb7f91cfd0ec59223 | 682c2bfb17f35d8313c4ff3ee489383600687e2c | refs/heads/master | 2020-09-10T03:09:59.401480 | 2016-09-06T03:44:31 | 2016-09-06T03:44:53 | 67,471,324 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 914 | h | #ifndef _FATFS_H_
#define _FATFS_H_
#include "SdFatFile.h"
#define MAX_FILENAME_LEN 256
class SdFatFs
{
public:
SdFatFs();
int begin();
int end();
char *getRootPath();
int readDir(char *path, char *result_buf, unsigned int bufsize);
int mkdir(char *absolute_path);
int rm(char *absolute... | [
"u8913557@gmail.com"
] | u8913557@gmail.com |
14a936ef41d3fcbe041106ccf4872951ef29f6af | 89dceecf2e320622312ea6e03330ac4fb6bd97bc | /AddDigits/Solution.cpp | 2db6da7a9977c98aa73fc0731a23c30a06d2eb95 | [] | no_license | 00mjk/leetcode-1 | 62106f7bcd06e98dc9eca6e380ad12cb3b8f77fd | 6e1d866d790a4a08ceb61b714e672f8670cce170 | refs/heads/master | 2022-02-25T10:15:30.851536 | 2019-05-31T06:08:10 | 2019-05-31T06:08:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 525 | cpp | #include <iostream>
#include <sstream>
#include <string>
#include <vector>
#include <algorithm>
#include <stack>
#include <cctype>
using namespace std;
class Solution {
public:
int addDigits(int num) {
int ret = 0;
while (num > 0) {
ret += num % 10;
num /= 10;
}
... | [
"mamin506@gmail.com"
] | mamin506@gmail.com |
2fff3ef83311b691e01e7e9fec5640b507b1ada9 | ab0dcab89f39d12746ad2b3506e1c2c34d8f1bf4 | /POJ/2185/8394933_AC_547ms_940kB.cpp | 2154c7663de043541d39c8f11a270bd657fc829f | [] | no_license | lum7na/ACM | f672583ff3022bc916d9cd3d721f0a464b287042 | fa667f4105450ec48e9b1d1b062f1444b6f0da32 | refs/heads/main | 2023-05-06T21:23:13.069269 | 2021-06-01T11:56:16 | 2021-06-01T11:56:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 642 | cpp | #include<stdio.h>
#include<string.h>
#include <cstdlib>
char s[10010][80];
int next[10010];
int main()
{
int i,j,x,y,r,c,f[80];
char a[80];
scanf("%d%d",&r,&c);
for(i=0;i<c;i++)f[i]=0;
for(i=0;i<r;i++){
scanf("%s",s[i]);
strcpy(a,s[i]);
for(j=c-1;j>0;j--){
a[j]=0;
for(x=0,y=0;s[i][y];x++,y++){
if(!... | [
"aster2632@gmail.com"
] | aster2632@gmail.com |
581beb28029d57fe7906f938114df08c38d99a4f | 8d5f992bfcaf2591397dbcad22ca1f37ae9d13a4 | /test/test_promise_post.cpp | efeca81eac70cdefae9b56c4b9731ab843dcada5 | [] | no_license | florianbehrens/fiber | 26c08cdaa8d19438fc0927481c1343ae225c4232 | ccfbb1a187fd3fd0e7861d0ee261b07c34c91135 | refs/heads/master | 2021-01-18T10:27:27.081385 | 2016-06-07T06:25:42 | 2016-06-07T06:25:42 | 60,726,925 | 0 | 0 | null | 2017-03-10T15:14:34 | 2016-06-08T20:01:45 | C++ | UTF-8 | C++ | false | false | 11,073 | cpp | // (C) Copyright 2008-10 Anthony Williams
//
// 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)
#include <utility>
#include <memory>
#include <stdexcept>
#include <string>
#include <boost/test/unit_test.hpp>
... | [
"oliver.kowalke@gmx.de"
] | oliver.kowalke@gmx.de |
f08a2c41d5b76f90f17f272b28641a582dd8059c | d0a79de913dbc74bea7621bb418bdabcff989e0b | /src/data-structures.cc | 01adcdd0be620bff82e6520ba48287df46395a4e | [
"LicenseRef-scancode-warranty-disclaimer",
"MIT"
] | permissive | mfrdbigolin/alkhtio | 75cae265746e69fa66fa1506efda188506788961 | de57ef1be4f6b7aa94a3c6b9a97d7a301634dede | refs/heads/master | 2022-12-11T15:09:41.811344 | 2020-09-08T21:44:05 | 2020-09-08T21:44:05 | 293,934,823 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,986 | cc | // data-structure.cc -- C++ data structures
// Copyright (C) 2020 Matheus Fernandes Bigolin <mfrdrbigolin@disroot.org>
// SPDX-License-Identifier: MIT
#include "utils/utils.hh"
#include <bits/stdc++.h>
using namespace std;
void
dyn_array ()
{
vector<int> v = {6, 3, 2};
vector<int> v2 (10, 3);
cout << "SIZE:... | [
"mfrdrbigolin@disroot.org"
] | mfrdrbigolin@disroot.org |
2621d8c849b2103fb995c68662d0e5ead23abef0 | 0fdb6565a31358a7021c30bbfd0e95a1a9d39e25 | /tests/morganaFields/feStaticField2dTest1.cpp | 7452d8b8b7844297d01f7c8b370a654de5a1e591 | [] | no_license | feof81/morganaPublic | b8b61a08d222a2ade3484cbdfc80c9790c0e5508 | 540cdbcdcf56e5cd13c0dc98c04f724543025bce | refs/heads/master | 2023-01-28T01:12:51.711178 | 2023-01-11T16:56:37 | 2023-01-11T16:56:37 | 216,569,123 | 3 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 3,331 | cpp | /*%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
This file is part of Morgana.
Author: Andrea Villa, andrea.villa81@fastwebnet.it
Morgana is free software: you can redistribute it and/or modify it under the terms of the GNU Gene... | [
"andrea.massimo.villa@gmail.com"
] | andrea.massimo.villa@gmail.com |
4724679835f761a29443a89a109f0ee9a044b8fa | f8b49fdc7b2c3f08d52788671e9eac8a2de5c5e8 | /iValuableController/NetworkEngine.h | 47c718d30b59117c91e9d54dbee9e55b24ed2692 | [] | no_license | chinnyannieb/iValuable | 51f2616c3935270f07c9ac9988b67c0ff544550b | 34c5149558f3ed880352b401c8a6e28dca2c7065 | refs/heads/master | 2021-01-18T01:59:52.019001 | 2015-07-02T07:55:55 | 2015-07-02T07:55:55 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,397 | h | #ifndef _NETWORK_ENGINE_H
#define _NETWORK_ENGINE_H
#include "TcpClient.h"
#include "CommStructures.h"
#include "UnitManager.h"
#include "StorageUnit.h"
#include "RfidUnit.h"
#include <boost/type_traits.hpp>
#include <boost/smart_ptr.hpp>
#include <boost/make_shared.hpp>
namespace IntelliStorage
{
class NetworkEngin... | [
"luotianqi@dihmed.com"
] | luotianqi@dihmed.com |
fb748939e49e1f127346cfcc18dfa410fe2fcd4c | f1e16ef3517cf74e77c708a7038d99e9b3ed800a | /Inserts/Stingray/Oc60/Discrete/SRGBubbleGraph.h | 9b3e82e56ebbc2d75b1586f9bff78c4e5e727abb | [] | no_license | 15831944/vssource | daab1b29270f5db3ca85b603708abedc7117ba79 | 96c78dcc32d76938dc556d0037e28c2ec82f8b3c | refs/heads/master | 2022-05-07T01:41:59.398195 | 2018-12-12T19:07:24 | 2018-12-12T19:07:24 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,837 | h | //////////////////////////////////////////////////////////////////////
// Stingray Software - Objective Chart(tm) Copyright (c) 1996 Stingray
// Software Inc. All Rights Reserved. This source code is only
// intended as a supplement to the Stingray Objective Chart product.
// See the help files for detailed information... | [
"ray@viperss.com"
] | ray@viperss.com |
a555268a0de05121ae895116527f2d95175dee3c | c9a94b8261fd1515f5d39c5b5ef5d4c45dedd685 | /BASE DATOS/busqueda secuencial.cpp | c03beebd61214d9297a1d2013c0c66626ceb66e0 | [] | no_license | Angelo86/ubiquitous-disco | f4446439ea2e099ffb2b757287480294d1971bf2 | 8ae6e9a5ec7995bf639198c9e9acb1dfa364537e | refs/heads/master | 2021-05-02T11:01:42.913549 | 2016-09-22T00:41:36 | 2016-09-22T00:41:36 | 55,849,104 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 538 | cpp | # include <iostream>
#include<stdio.h>
#include<conio.h>
using namespace std;
int main()
{
int a[8]={23,5,87,45,3,10,50,67};
char b='F';
int i, dato;
printf("Ingresa un numero a buscar en el arreglo: ");
scanf("%i",&dato);
i=0;
while ((b=='F')&&(i<8)){
if(a[i]==dato){
b='V';
}
... | [
"noreply@github.com"
] | Angelo86.noreply@github.com |
619f1931ad9e97f748c112d500b323c42828fbb2 | d619b8a30ec216c51a9b0d843b9ddd59d23a4266 | /range-v3/include/range/v3/view/group_by.hpp | 4efe075642705a0d24924d39661dd6c3e2eea2f9 | [
"NCSA",
"MIT",
"BSL-1.0",
"LicenseRef-scancode-mit-old-style",
"LicenseRef-scancode-other-permissive",
"Apache-2.0"
] | permissive | codeplaysoftware/parallelts-range-exploration | 959ccac4f86ce328b1eb8cd01dae2d515c23e417 | bccff39b6f1bb2a64a36da62e43f805a793d48ff | refs/heads/master | 2021-03-30T17:23:38.235696 | 2018-02-27T16:36:02 | 2018-02-27T16:36:02 | 90,240,376 | 11 | 1 | Apache-2.0 | 2018-02-27T16:36:03 | 2017-05-04T08:35:30 | C++ | UTF-8 | C++ | false | false | 5,905 | hpp | /// \file
// Range v3 library
//
// Copyright Eric Niebler 2013-2014
//
// Use, modification and distribution is subject to 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)
//
// Project home: https://github.com/ericniebler/ra... | [
"michael.haidl@uni-muenster.de"
] | michael.haidl@uni-muenster.de |
4e6f54dfd7d0a2665fc6d8764f3d97b633b25efe | cf4555207bf17d30e161e4e6dd482c8ad3003365 | /Zenova/ZenovaLauncher/ZenovaLauncher/utils.cpp | 700a3cdfcda5561bb4059ce5384763f1e56ac176 | [] | no_license | MinecraftZenovaTeam/zenova_modloader | 4bcf50b1973bc4c8ee9b1e961eeb540b1d86ec92 | bbb4a149c3a231bcedabd3e6e7dbc594e5e1a2b6 | refs/heads/master | 2021-01-10T16:23:51.890515 | 2016-05-14T06:21:20 | 2016-05-14T06:21:20 | 51,780,260 | 20 | 9 | null | null | null | null | UTF-8 | C++ | false | false | 2,129 | cpp | #include <Windows.h>
#include <ShlObj.h>
#include "utils.h"
EXTERN_C IMAGE_DOS_HEADER __ImageBase;
/* Converts a C string to a wchar_t* */
wchar_t* Util::CHARPTR_TO_WCHAR(const char* charptr)
{
size_t size = strlen(charptr) + 1;
size_t output;
wchar_t* wa = new wchar_t[size];
mbstowcs_s(&output, wa,... | [
"jocopa3@gmail.com"
] | jocopa3@gmail.com |
a6bc50d27520525b71ab8cfcd9b801c8ac2196be | 12abbca6dcb4e04de5f8f3e7a4b0f2269bc2a04c | /shared_classes/WorldObject.cpp | 0d02289e191cbf44eb856e716ec8dc7165ee4abf | [] | no_license | 103game/103game | aeb373a972e55d2c41b87e29eb08603ec4d71139 | 9bff4eaba46ee45edbcac1944b291d82d946690c | refs/heads/master | 2021-01-10T19:39:10.041130 | 2014-05-18T08:52:30 | 2014-05-18T08:52:30 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 771 | cpp | #include "CompilerOptions.h"
#include "WorldObject.h"
#include "SurfaceBlock.h"
#include "Creatures.h"
BSONObj WorldObject::objectToBSON(shared_ptr<WorldObject> obj) {
if(obj->getClassName() == "Zombie"){
return static_pointer_cast<Zombie>(obj)->toBSON();
}else if(obj->getClassName() == "Survivor"){
return ... | [
"spamgoga@gmail.com"
] | spamgoga@gmail.com |
fa1035264816c4d81cd5d90e54820fc642a1850d | d61f2cac3bd9ed39f95184b89dd40952c6482786 | /testCase/results/42/wBA_l | 2e45b35d2e3fa36917550cdc3b6e856a3e531a66 | [] | no_license | karimimp/PUFoam | 4b3a5b427717aa0865889fa2342112cc3d24ce66 | 9d16e06d63e141607491219924018bea99cbb9e5 | refs/heads/master | 2022-06-24T08:51:18.370701 | 2022-04-28T18:33:03 | 2022-04-28T18:33:03 | 120,094,729 | 6 | 3 | null | 2022-04-27T09:46:38 | 2018-02-03T13:43:52 | C++ | UTF-8 | C++ | false | false | 10,660 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 3.0.1 |
... | [
"mohsenk@outlook.com"
] | mohsenk@outlook.com | |
f414838d64a8db50c93fdcaf5f4143edee37343b | d6b4bdf418ae6ab89b721a79f198de812311c783 | /tcss/include/tencentcloud/tcss/v20201101/model/DeleteEscapeWhiteListResponse.h | d5531452152793d30895b1075d7352c1fd4eec70 | [
"Apache-2.0"
] | permissive | TencentCloud/tencentcloud-sdk-cpp-intl-en | d0781d461e84eb81775c2145bacae13084561c15 | d403a6b1cf3456322bbdfb462b63e77b1e71f3dc | refs/heads/master | 2023-08-21T12:29:54.125071 | 2023-08-21T01:12:39 | 2023-08-21T01:12:39 | 277,769,407 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,654 | 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
... | [
"tencentcloudapi@tencent.com"
] | tencentcloudapi@tencent.com |
44cbe7edc2e3b27325987e4a8ddc1084b9534cfc | 78407e5fa5a7853f6316195476307930b1b3d3a1 | /Multi_Level_Inheritance.cpp | 5e9cbda49371e7b6f0dbd8111ad68bb7e4489801 | [] | no_license | Arathi-V-N/Solve-CPP-Hackerrank | 81949ffcd96ace1f054c4fd15196f633f0066830 | ed82cdb431ef14ebfd2da785a003ea9d83e3e8b4 | refs/heads/main | 2023-06-03T16:42:51.178793 | 2021-06-26T06:28:43 | 2021-06-26T06:28:43 | 380,424,965 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 594 | cpp | #include <cmath>
#include <cstdio>
#include <vector>
#include <iostream>
#include <algorithm>
using namespace std;
class Triangle{
public:
void triangle(){
cout<<"I am a triangle\n";
}
};
class Isosceles : public Triangle{
public:
void isosceles(){
cout<<"I am an isosceles triangle\n";
}
};
... | [
"noreply@github.com"
] | Arathi-V-N.noreply@github.com |
5112a797008debde11b39ad97b2d0a43a8a54b87 | 1d35c51846dbeea1195215c132008a36d53942c6 | /src/camera.cpp | 35effc258912646726bafd9233330cc6b3f68bbb | [] | no_license | latent-variable/ray_tracer | f692999d91d9301b355521a7556c31219f539387 | a26e27b5ee3a7072fdd7d8727e86e8b11ef12191 | refs/heads/master | 2023-06-08T01:35:33.113112 | 2018-02-01T21:21:22 | 2018-02-01T21:21:22 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,498 | cpp | #include "camera.h"
Camera::Camera()
:colors(0)
{
}
Camera::~Camera()
{
delete[] colors;
}
void Camera::Position_And_Aim_Camera(const vec3& position_input,
const vec3& look_at_point,const vec3& pseudo_up_vector)
{
position=position_input;
look_vector=(look_at_point-position).normalized();
hor... | [
"lgonz041@ucr.edu"
] | lgonz041@ucr.edu |
9a877616e64b9ce7aeeb586ec6f65f8096733feb | f9cee609271e95984f0745974d328af76dc56a42 | /Old codes/apple.cpp | 1272b8b44ecc4c43707ed1249a7c5c6ddabee2bc | [] | no_license | sriankit/cpp_codes | 61d10973cffca2270cf120304f05ba1a6c3e9baf | 1765d5b53f4f19b95bf8d3b6388c4568ab9a81b2 | refs/heads/master | 2020-05-17T23:08:42.323105 | 2015-07-19T13:35:06 | 2015-07-19T13:35:06 | 39,333,754 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 501 | cpp | #include<cstdio>
#include<algorithm>
#include<math.h>
typedef long long ll;
using namespace std;
int main(){
int n;
scanf("%d",&n);
ll s=0;
int arr[n];
for(int i=0;i<n;i++){
scanf("%d",&arr[i]);
s+=arr[i];
}
int avg=s/n;
int ch[n];
for(int i=0;i<n;i++)
ch[i]=arr[i]-avg;
ll zeros[n];
zeros[0]=0;
for(i... | [
"ank7845@gmail.com"
] | ank7845@gmail.com |
e63e764cc98fae51bd023d0d0230d04bab8fe58e | 9e5d5fe2b7e7e2313c11fa2764ba125defced53f | /rotate-image/rotate-image.cpp | f01558d48a64a91fd1437448f9aedea0520a7bc6 | [] | no_license | Nirmitjatana/DSA-hmmm | 37169da9e57646c6e0677d6729c3ab46ab4e6100 | a7c7ed66b472c8bf28ad20d9843456c182e5c58a | refs/heads/main | 2023-08-25T07:32:49.033112 | 2021-11-08T09:33:04 | 2021-11-08T09:33:04 | 365,837,335 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,131 | cpp | class Solution {
public:
void rotate(vector<vector<int>>& matrix) {
int ln = matrix.size();
for(int i=0;i<ln;i++){
for(int j=0;j<ln/2;j++){
int temp;
temp = matrix[j][i];
matrix[j][i] = matrix[ln-j-1][i];
matrix[ln-j-1][i] =... | [
"52108077+Nirmitjatana@users.noreply.github.com"
] | 52108077+Nirmitjatana@users.noreply.github.com |
e0e49618dee6b7ad64ddff5d6092e435a101056d | 877fff5bb313ccd23d1d01bf23b1e1f2b13bb85a | /app/src/main/cpp/dir7941/dir29315/dir29712/dir29713/dir30015/file30052.cpp | af2885ad03022eb43f5b77f120172ff9f9fabad4 | [] | no_license | tgeng/HugeProject | 829c3bdfb7cbaf57727c41263212d4a67e3eb93d | 4488d3b765e8827636ce5e878baacdf388710ef2 | refs/heads/master | 2022-08-21T16:58:54.161627 | 2020-05-28T01:54:03 | 2020-05-28T01:54:03 | 267,468,475 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 115 | cpp | #ifndef file30052
#error "macro file30052 must be defined"
#endif
static const char* file30052String = "file30052"; | [
"tgeng@google.com"
] | tgeng@google.com |
622ea10288978fd52b64de04d2c6d33d71548a50 | 6d11fb4cec266f8591cea3bd557548a15fe27b47 | /bombattack-src/instructions.h | b3ea3cbee457278801e2dec8437095abed81ee92 | [] | no_license | axem/BombAttack | 12967717c8e24cc99aa49449a8c1e82853ef5059 | 6fe6e90e02e7e9cd60e1536fb4deb93e9d26cdc7 | refs/heads/master | 2021-06-01T16:49:54.776264 | 2015-04-20T16:17:23 | 2019-11-03T06:58:35 | 34,271,345 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,821 | h | /***************************************************************************
* Copyright *
* *
* *
* This pr... | [
"axem@axem"
] | axem@axem |
2b10a50f522b87df37c0870b9107c4f6f0e40935 | 0d87d119aa8aa2cc4d486f49b553116b9650da50 | /src/invalid.cpp | ad22b9b5cbe86c0b384f34899d99bffa04c779bc | [
"MIT"
] | permissive | KingricharVD/Nests | af330cad884745cc68feb460d8b5547d3182e169 | 7b2ff6d27ccf19c94028973b7da20bdadef134a7 | refs/heads/main | 2023-07-07T12:21:09.232244 | 2021-08-05T01:25:23 | 2021-08-05T01:25:23 | 386,196,221 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,386 | cpp | // Copyright (c) 2018-2020 The PIVX developers
// Copyright (c) 2020-2021 The NestEgg Core Developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "invalid.h"
#include "invalid_outpoints.json.h"
#include "invalid_ser... | [
"northerncommunity1@gmail.com"
] | northerncommunity1@gmail.com |
6176f28cce8f3068010808ad4bc79048a202cd5c | f04959c639b6f87cffc2773f83ddc5f575b65a87 | /1269/code.cpp | 4af35334afa48c3b0e1df068c15747fde2556493 | [] | no_license | WHOLEACS/LeetCode | 9e659a5de0d9030c32b6235544a40b71f9654051 | 9e6636ed4b23a725407df16e631edac092b4978f | refs/heads/master | 2023-06-30T10:12:19.413754 | 2021-07-09T09:09:35 | 2021-07-09T09:09:35 | 299,252,829 | 4 | 0 | null | 2021-07-09T09:09:36 | 2020-09-28T09:09:55 | C++ | UTF-8 | C++ | false | false | 714 | cpp | const int MOD = 1e9 + 7;
class Solution {
public:
// 动态规划
// 状态定义:dp[i][j] 表示经过i步后提留在j处的方案数
// 状态转移:dp[i][j] = dp[i-1][j-1] + dp[i-1][j] + dp[i-1][j+1]
// 边界情况
int numWays(int steps, int arrLen) {
int dp[505][505];
dp[0][0] = 1;
int col = min(steps, arrLen);
for (int ... | [
"1831866525@qq.com"
] | 1831866525@qq.com |
13d922ebf445a41dc74f509f5b82d4b8e45e97d3 | 33d634b050655097ba63787f0c058a727f49dc0a | /7. LinkedLists/29.cpp | ed7fadd678826b2a9474773afd01436fdb08b477 | [] | no_license | LucasJezap/WDI | 5a8e571a9d7eb9066fe0f9bae2ea3fe2d824139c | 624d342a5a58b072732354e5b45d6f5b9709a8b6 | refs/heads/master | 2020-09-04T04:43:47.143962 | 2019-11-07T14:12:59 | 2019-11-07T14:12:59 | 219,660,159 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,923 | cpp | #include <iostream>
#include <ctime>
#include <cstdlib>
using namespace std;
struct node {
string val;
node* next;
};
void stworz_cykl(node *&first, int N) {
int i = 0;
node *p = NULL;
node *tmp;
while(i<N) {
p = new node;
cin >> p->val;
p->next = first;
... | [
"noreply@github.com"
] | LucasJezap.noreply@github.com |
200c1986bdae4c6635e5d2cb7b71afeb28f3f53a | d84967ba1e6adc72e120f84524c51ad57912df5a | /devel/electron14/files/patch-electron_shell_browser_native__window__views.cc | 0f722ff00bb8d8735e525fb2de4485aaf42357db | [] | no_license | tagattie/FreeBSD-Electron | f191d03c067d03ad3007e7748de905da06ba67f9 | af26f766e772bb04db5eb95148ee071101301e4e | refs/heads/master | 2023-09-04T10:56:17.446818 | 2023-09-04T09:03:11 | 2023-09-04T09:03:11 | 176,520,396 | 73 | 9 | null | 2023-08-31T03:29:16 | 2019-03-19T13:41:20 | C++ | UTF-8 | C++ | false | false | 4,802 | cc | --- electron/shell/browser/native_window_views.cc.orig 2022-03-29 23:00:48 UTC
+++ electron/shell/browser/native_window_views.cc
@@ -44,7 +44,7 @@
#include "ui/wm/core/shadow_types.h"
#include "ui/wm/core/window_util.h"
-#if defined(OS_LINUX)
+#if defined(OS_LINUX) || defined(OS_BSD)
#include "base/strings/string_... | [
"tagattie@gmail.com"
] | tagattie@gmail.com |
e0fa0796a9e73fc5576242ff45eab3060b696523 | f14626611951a4f11a84cd71f5a2161cd144a53a | /武侠世界/代码/客户端/Client/Common/AxTrace.cpp | ca4a63af8342dc6c1cd959f9f32908394316c76d | [] | no_license | Deadmanovi4/mmo-resourse | 045616f9be76f3b9cd4a39605accd2afa8099297 | 1c310e15147ae775a59626aa5b5587c6895014de | refs/heads/master | 2021-05-29T06:14:28.650762 | 2015-06-18T01:16:43 | 2015-06-18T01:16:43 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 3,741 | cpp | #include <windows.h>
#include "AxTrace.h"
#include <stdio.h>
#define WATCHER_WINDOW_TITLE ("{74680574-FCAD-40bc-B9D7-3BED3B0EA4C2}")
HWND g_hWatcherWnd = NULL;
#ifdef _DISABLE_TRACE__
//...
//禁止后空代码
//...
#else
#define CONTENTS_LENGTH (2048)
typedef struct
{
unsigned char cTraceType;
unsigne... | [
"ichenq@gmail.com"
] | ichenq@gmail.com |
1229599e9919c356c7b1f15e678c7f10fdaa2d1a | 7c7558fbebbc3638d6798945047d1994af7ff7d3 | /Matrix.h | 893285cd96967f1f242d03df250267b4c1999204 | [] | no_license | lexfor/MRZVIS3 | 9114a9706b6813f2dbf56af36ae75801c9d94fb2 | 1dafc37213a9b10051b9da55648b63cdfe00697e | refs/heads/master | 2023-02-02T03:26:45.500111 | 2020-12-17T08:47:02 | 2020-12-17T08:47:02 | 322,233,781 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 922 | h | #pragma once
#include <vector>
class Matrix
{
private:
int width;
int height;
std::vector<std::vector<double>> data;
public:
Matrix();
Matrix(const Matrix&);
Matrix(std::vector<std::vector<double>>);
void setWidth(int);
void setHeight(int);
void setData(std::vector<std::vector<double>>);
int getWidth();
int ... | [
"thetim182001@mail.ru"
] | thetim182001@mail.ru |
6635e63790345b9afa365069f9e423e3bbc56411 | 0e4f7c1a06a3e72a098832f39e7cfd2c5ac89823 | /SampleInput.h | 07ec9d4857f8ba908268d5685e4d22a860f54ba9 | [] | no_license | a501508/c2cs | 407e552f60561eb0b1210ee312c598d085f81d33 | 8dcb73e7f8baadfb16f2f07c380d97c34766ada3 | refs/heads/master | 2020-04-02T00:06:11.220598 | 2015-03-01T16:06:10 | 2015-03-01T16:06:10 | 31,501,519 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,777 | h | //C2CS_TOP_Write // This is both a demo and testing file. This file represents a c/c++ header file that we want to share basic items with a C# project. These can be constants, structures, predefinitions, and enums.
/* Commands and usage Description
===================================================... | [
"wiktorb82@gmail.com"
] | wiktorb82@gmail.com |
f1140e98a22b7830624d2efeade31c9dd9c43eec | 8be6cff6072ff9eedfe261f2771d725df00af0d9 | /myopengl.cpp | 678b94f1aed8696be3dad4b13999ee4eab80c577 | [] | no_license | YangSai567/get_IMU_data | 227b4bdf24c7230237457705809549a2f2a85be9 | f2efaebe61ee1ba821831c3c7b3decee3bca2b1f | refs/heads/main | 2023-04-18T18:02:39.972502 | 2021-05-07T16:45:35 | 2021-05-07T16:45:35 | 365,292,343 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,570 | cpp | #include "myopengl.h"
#include <QApplication>
#include <GL/gl.h>
#include <GL/glu.h>
#include <GL/glut.h>
#include <QMatrix>
#include <QMouseEvent>
#include <QWheelEvent>
#include "lpsensor/LpmsSensorI.h"
#include "lpsensor/LpmsSensorManagerI.h"
#include "mainwindow.h"
#include <math.h>
#include <ft2build.h>
#include <... | [
"noreply@github.com"
] | YangSai567.noreply@github.com |
4d9a48a41dde991f09564c6b5b7a00f8c9342f4c | 15d1bf690fe546615629090ce857c0169e2c7587 | /tests/task_7_33_tests.cpp | 0d613d21a67329e9901f2f8dab17229e5664679b | [] | no_license | Mars-2dot/tasks | 54759d959699fa22c8d06889a32967dfab141c26 | bcc8a74c3ae6c0dc1a2486691c5b9108fcf7d3e6 | refs/heads/master | 2023-05-31T09:55:16.682294 | 2021-06-20T07:17:18 | 2021-06-20T07:17:18 | 342,370,489 | 1 | 0 | null | 2021-05-01T19:13:27 | 2021-02-25T20:28:55 | C++ | UTF-8 | C++ | false | false | 971 | cpp | #include "tests.h"
TEST( Task7_33, run )
{
int dataFalse[5] = {1, 2, 3, 4, 5};
ASSERT_FALSE( Task_7_33_run( dataFalse, 5 ) );
int dataTrue[5] = {2, 2, 3, 4, 5};
ASSERT_TRUE( Task_7_33_run( dataTrue, 5 ) );
int dataTrueNotSort[5] = {1, 2, 2, 3, 4};
ASSERT_TRUE( Task_7_33_run( dataTrueNotSort, ... | [
"ilya.boldyrev36@gmail.com"
] | ilya.boldyrev36@gmail.com |
0dfece9febf9678a86dc912d983060f6b9c9e6c8 | 869b2da0c363d110a3129e9f40b7f633a6eec972 | /src/RandomProgramGenerator.cpp | 7cc8025fe17a1caed6ebad53e7e3412a697c7508 | [
"BSD-3-Clause",
"BSD-2-Clause"
] | permissive | hyc/randprog | e5d41fc647a1a214b6ba3671055d6a716df4099f | 33c88e206a8dc2ba30006f88a3b31ffcd582903b | refs/heads/master | 2020-03-09T07:58:18.632346 | 2018-04-21T18:34:48 | 2018-04-21T18:34:48 | 128,677,758 | 29 | 3 | null | 2018-04-22T07:33:40 | 2018-04-08T20:08:18 | C | UTF-8 | C++ | false | false | 8,907 | cpp | // -*- mode: C++ -*-
//
// Copyright (c) 2007, 2008 The University of Utah
// All rights reserved.
//
// This file is part of `randprog', a random generator of C programs.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are m... | [
"hyc@symas.com"
] | hyc@symas.com |
b93c4650e1989b497aa4470c787ffca1cec16806 | afaf58bfe495edc9da224d597912763df1b5a410 | /src/embree-1.1/rtcore/triangle/triangle4i_intersector1_moeller.h | 20947ebcb0baf135cd5ae62e189118337de14982 | [] | no_license | tian0ti/sketch | 1c5ee62a6411e478f292cfbaa98760d98f62288e | 3ef958dfc69a32a822c6ce71c2d3b4839e1592a0 | refs/heads/master | 2016-09-06T13:40:57.836963 | 2015-04-13T08:46:58 | 2015-04-13T08:46:58 | 33,857,540 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,152 | h | // ======================================================================== //
// Copyright 2009-2012 Intel Corporation //
// //
// Licensed under the Apache License, Version 2.0 (the "License"); //
// y... | [
"sjulin@gmail.com"
] | sjulin@gmail.com |
7117216edb0ec5acd799b6e56495caeabdf189c0 | fe7daddef0c3afc298d43f6136142de11882583e | /Intro to CS/Assignments/cerealbox.cpp | 91c5816bc3085e1b6e2d557525058e3219299300 | [] | no_license | harmonh/CS-Projects | 5f30b56722d285f969a67afb789170626ca095a4 | 9a0ee056aedc3d7070d02c33912c8d317d551c48 | refs/heads/master | 2020-04-01T06:41:11.756710 | 2015-12-02T00:59:23 | 2015-12-02T00:59:23 | 27,974,794 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,422 | cpp | /*********************************************************************************
**Program: cerealbox.cpp
**Author: Holly Harmon
**Description: Program for Absolute C++ Programming Projects 1.1. Converts the weight
of a box of cereal from ounces to metric tons and tells the user how many boxes it
would take to make... | [
"harmonh@onid.oregonstate.edu"
] | harmonh@onid.oregonstate.edu |
8f9656aa7cb8a3a855952e3b0a71a40d081b881e | f1a604303e3c3a6d6fc490eaeac9c8566a4959ff | /src/triangle.cpp | 6b0ac8ae1541e681cd03a813bf26edd3cf8db46b | [] | no_license | jcracken/prog04-jcracken-reupload | c826a257b03e5b06fb2b94ab7f475e408fb8a995 | 98adf15257f6de5862bafa2c1713fbe58f0607ba | refs/heads/master | 2020-03-25T19:19:42.257900 | 2018-03-25T15:55:00 | 2018-03-25T15:55:00 | 144,077,028 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 813 | cpp | #include "triangle.h"
triangle::triangle(){
//constructor
}
vect triangle::thirdPoint(vect head, vect tail){ //find the point that doesn't match the two passed in points
unsigned int i = 0;
for (i = 0; i < this->points.size(); i++) {
if (!(head.comp(*(this->points.at(i)))) && !(tail.comp(*(this->points.at(i)))))... | [
"jiminycracken@gmail.com"
] | jiminycracken@gmail.com |
bde1f96b705d62c3e3cb383f970d97f7c98d40be | 5d4bbc4ba9ab0ddf8a44034ad1a8f3cf0ee274a3 | /maxStack.cpp | 77519e5f420632f19afd09d51fa42ee9786ac000 | [] | no_license | a5batra/LeetCode-Solutions-in-C-plus-plus | eda25d641859d8da193825cf06fd7db845862224 | 2124763fce4b5f7c150c95578bf972fbba3d3b50 | refs/heads/master | 2021-12-08T21:41:11.234971 | 2021-08-11T20:43:13 | 2021-08-11T20:43:13 | 243,896,276 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,889 | cpp | //
// Created by Ankit Batra on 7/26/21.
//
/* Design a max stack data structure that supports the stack operations and supports finding the stack's maximum
* element.
* Implement the MaxStack class:
* MaxStack() Initializes the stack object.
* void push(int x) Pushes element x onto the stack.
* int pop() Removes... | [
"a5batra@ucsd.edu"
] | a5batra@ucsd.edu |
8b31aed0703962d9289418ef345bba5f24365db3 | c6214d6691be86672b54ed6376daa9dfd324e653 | /Lab2/Bytes.cpp | 5c3fc28ebc3341623e8a6cd126b5f16754049525 | [] | no_license | VLAILIN/CPP | 13fbc8d7e843c81ade34732f1028ba477525af67 | 70aca6d393c8c28808b13c67560cfaa2a8358f11 | refs/heads/master | 2020-07-24T05:07:09.891354 | 2019-09-12T13:00:24 | 2019-09-12T13:00:24 | 207,810,083 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 455 | cpp | #include "Bytes.h"
using namespace std;
/*
void Bytes::ShowOct()
{
//cout.flags(ios::oct | ios::showbase);
cout <<oct<< static_cast<int>(m_dec) << endl;
}
void Bytes::ShowHex()
{
//cout.flags(ios::hex | ios::showbase);
cout <<hex<< static_cast<int>(m_dec) << endl;
}
*/
void Bytes::ShowDec()
{
... | [
"noreply@github.com"
] | VLAILIN.noreply@github.com |
dead3072a8577595e9e8999d8a79f075a721855a | d6b4bdf418ae6ab89b721a79f198de812311c783 | /monitor/include/tencentcloud/monitor/v20180724/model/DeleteGrafanaNotificationChannelResponse.h | 501b552c985c2179bc96538260498064a13864ba | [
"Apache-2.0"
] | permissive | TencentCloud/tencentcloud-sdk-cpp-intl-en | d0781d461e84eb81775c2145bacae13084561c15 | d403a6b1cf3456322bbdfb462b63e77b1e71f3dc | refs/heads/master | 2023-08-21T12:29:54.125071 | 2023-08-21T01:12:39 | 2023-08-21T01:12:39 | 277,769,407 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,743 | 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
... | [
"tencentcloudapi@tencent.com"
] | tencentcloudapi@tencent.com |
dbccf74e7b629d248a4c301354027239e2da67b0 | a24772dfdf120c30df2163ca735f225e5ba34ad4 | /240c/Homework2/RectangleHouse.h | 86bd026397beeb74e0dd9803d6daafd3f9a00ee0 | [] | no_license | n0ma/code | 2c75ce7a7778dbcac424c1496c49aa33fb6ad5d8 | 5b2b2a2b5777d30829b3abab155a477a90bea9c4 | refs/heads/master | 2021-01-12T22:15:32.780699 | 2008-11-18T23:19:37 | 2008-11-18T23:19:37 | 47,167,916 | 0 | 0 | null | 2015-12-01T05:33:53 | 2015-12-01T05:33:53 | null | UTF-8 | C++ | false | false | 524 | h | #ifndef RectangleHouse_h
#define RectangleHouse_h
#include "TwoOptionHouse.h"
class RectangleHouse : public TwoOptionHouse {
public:
RectangleHouse(std::string type) : TwoOptionHouse(type),
length(0), width(0), height(0) {}
virtual std::string serialize();
virtual int unserialize(std::string data);
virt... | [
"Jonathan.Plona@Gmail.com"
] | Jonathan.Plona@Gmail.com |
72e1e86af876a4a4c7ed59c16bf0511ed6910910 | 68be6121d893d074f7a41e041daa434969c222db | /dyknow_nodehandle/include/dyknow_nodehandle/util/my_shared_ptr.hpp | 5a9f61c223f4d37a8fa53443a80e3d63ab8db55e | [
"BSD-3-Clause"
] | permissive | dnleng/dyknow_common | 51fc0be70dcd509bc6582936e24d636bded9569f | 740b6decab59c4a599704affa42105757dd25f8e | refs/heads/master | 2020-09-30T21:53:47.299959 | 2019-12-11T14:19:44 | 2019-12-11T14:19:44 | 227,382,163 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,175 | hpp | /**
* Alternative to Boost::shared_ptr
* Source: http://stackoverflow.com/a/7793459 (with minor modifications)
*
* Copyright (c) 2016 Emilio Garavaglia, Daniel de Leng
*/
#ifndef INCLUDE_MY_SHARED_PTR_HPP_
#define INCLUDE_MY_SHARED_PTR_HPP_
namespace dyknow {
template<class T>
class my_shared_ptr
{
template... | [
"daniel.de.leng@liu.se"
] | daniel.de.leng@liu.se |
5f224a064edc57769d7aae4d471be4f4219d6bd1 | cb7f1fbbf28ee554ef3b865419185f63c3ca01d2 | /5l24.cpp | 514c94320ec50f67b63d8e8d7b6d561ecbe6df3e | [] | no_license | Jabi7/jaja | 35542863f11bd933d2ad2bca5b7ef0d58503e19d | 56799e16496947970e9505768d17d9404f82d393 | refs/heads/master | 2020-03-25T20:43:51.108748 | 2018-09-24T18:11:41 | 2018-09-24T18:11:41 | 144,143,168 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 153 | cpp | #include <iostream>
//include a needed lib file
using namespace std;
int main(){
int i=65;
while(i<=90){
cout<<char(i)<<endl;
i++;}
return 0;
} | [
"noreply@github.com"
] | Jabi7.noreply@github.com |
43c84f45c36009036b0a855f1ae48603d0501fad | 7999c750dfd76218ff6358af6440eef3de1d94e7 | /3DEngine/3DEngine/NullPixelShader.h | a170bb2f04d30d09a078200b6c2f80bf738cafff | [] | no_license | Eat-My-Data/3DEngine | 1b9d85f2166d41c2d7ab03b225d3542f07b04901 | bc9128f883768a33fd761f996847be557f7d91e8 | refs/heads/master | 2023-06-17T03:06:28.811951 | 2021-02-01T20:51:38 | 2021-02-01T20:51:38 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 349 | h | #pragma once
#include "Bindable.h"
namespace Bind
{
class NullPixelShader : public Bindable
{
public:
NullPixelShader( Graphics& gfx );
void Bind( Graphics& gfx ) noexcept override;
static std::shared_ptr<NullPixelShader> Resolve( Graphics& gfx );
static std::string GenerateUID();
std::string GetUID() con... | [
"Ethan2015D@gmail.com"
] | Ethan2015D@gmail.com |
d3f95f30125aa1fafe81832ef5dd4554d08e503b | 8956304d039918a2749affd83c81566917935869 | /ProblemSolving/Linked List/Source.cpp | dc6cd4f2e830a87a85bb36cef0272e1e02ef58cd | [] | no_license | virty/problem-solving | 5515f3c6fb0fa3d779bc3d1a35b05a3151de5118 | b8d3630104643ad696f9ed47b841900976040f76 | refs/heads/master | 2021-01-11T17:37:26.712964 | 2017-07-10T16:15:09 | 2017-07-10T16:15:09 | 79,805,406 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,074 | cpp | #include <stdio.h>
#define MAX_NODE 100
typedef struct listNode
{
int data;
struct listNode* prev;
struct listNode* next;
} ListNode;
typedef struct
{
int use;
ListNode node;
} ListNodeHeap;
ListNodeHeap heap[MAX_NODE];
void initHeap()
{
for (int i = 0; i < MAX_NODE; i++)
heap[i].use = 0;
}
void initListN... | [
"virty@naver.com"
] | virty@naver.com |
178493832f0614e8ee999e5fa0eaacb0baf5d906 | 404461bf56c73fd87df0c2d1f67216b5ca0704c0 | /src/OCR_SegmentedComponent.h | f69fbd51eaf0bd991cb12f65a2adbd240392f94c | [] | no_license | VinayaSathyanarayana/MILE-OCR-Engine | 87b3a29b354e018f46df10b7cc1d5560781f3447 | 9cc56cb69110ebfe840c1e29c91bd4e3a0d57ab5 | refs/heads/master | 2023-05-12T10:53:18.995847 | 2021-06-08T13:16:51 | 2021-06-08T13:16:51 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,684 | h | #ifndef OCR_SEGMENTEDCOMPONENT_H_
#define OCR_SEGMENTEDCOMPONENT_H_
#include <string>
#include <cstdio>
#include "OCR_GlobalDef.h"
#include "OCR_Util.h"
#include "OCR_ClassLabel.h"
using std::string;
namespace IISc_KannadaClassifier {
class OCR_SegmentedComponent {
public:
CvRect boundingBox;
IplImage *img;
int ... | [
"shivahr@gmail.com"
] | shivahr@gmail.com |
bb832b33f86359afb6a5a8e53e60f6938c55ae9d | 2c3951dc7e5ab1b8dd88d5e055e6dcfcbac21497 | /Qt_serial/Q1_QThreadTimer/mainwindow.h | 67675fbe95f4341c5fef63d27a2ff79b3d89fd88 | [] | no_license | EnzoFerrari430/QtStudy | de1dd3823c696d3eb589971346cf23ac9f71dc06 | 8b5d21d86a6026527eee494514afa33c1b4c64c2 | refs/heads/master | 2021-09-08T23:30:07.122462 | 2021-08-27T13:55:01 | 2021-08-27T13:55:01 | 228,004,635 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 471 | h | #pragma once
#include <QtWidgets/QMainWindow>
#include "ui_mainwindow.h"
class mainwindow : public QMainWindow
{
Q_OBJECT
public:
mainwindow(QWidget *parent = Q_NULLPTR);
~mainwindow();
public:
void initThreadTimer();
void stopThreadTimer();
public slots:
void printSth();
void startTimer();
void on_p... | [
"782794844@qq.com"
] | 782794844@qq.com |
4b2e1a788edb581e262119cb4a98b48c0beb1c7a | 16fd8d256cbc59e2eb355a9e4f16bee98f2f2273 | /src/gui/rig.h | cd7b046fff68831fd85b43ceffb3c5df0166b26e | [] | no_license | lyntel/Scotty3D | 4c1cb475d06964a1345b1f3007c3e5366a20f2c4 | d5f929a8bf918c22a4d86a7758981dd9cf03c10b | refs/heads/master | 2023-01-24T23:24:13.629861 | 2020-12-03T21:31:05 | 2020-12-03T21:31:05 | 318,675,081 | 0 | 1 | null | 2020-12-05T01:23:41 | 2020-12-05T01:23:41 | null | UTF-8 | C++ | false | false | 1,114 | h |
#pragma once
#include "../rays/tri_mesh.h"
#include "widgets.h"
#include <SDL2/SDL.h>
namespace Gui {
enum class Mode;
class Manager;
class Rig {
public:
bool keydown(Widgets &widgets, Undo &undo, SDL_Keysym key);
void select(Scene &scene, Widgets &widgets, Undo &undo, Scene_ID id, Vec3 cam, Vec2 spos,
... | [
"mjslater@andrew.cmu.edu"
] | mjslater@andrew.cmu.edu |
1a0648361111e9ee48b68fcce8bc6fd0052f7db2 | 8219fc5e014988fc46246ecca5f3169cee3fefcc | /monitor/DlgUpdateOrderTicket.h | 8e4a55304fdd40e55634522059a74eb4558e067a | [
"Apache-2.0"
] | permissive | itrading/thunder-trader | 24fb7b9194823a62db135b4e61034629dc2b6450 | e53f02d065fde126370f03e788e8b3b166a16ba2 | refs/heads/master | 2020-04-17T02:44:47.744964 | 2019-01-16T07:47:02 | 2019-01-16T07:47:02 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 706 | h | #pragma once
#include "afxwin.h"
// CDlgUpdateOrderTicket 对话框
class CDlgUpdateOrderTicket : public CDialogEx
{
DECLARE_DYNAMIC(CDlgUpdateOrderTicket)
static int s_intMaxTickets;
static int s_intRemainTickets;
public:
CDlgUpdateOrderTicket(CWnd* pParent = NULL); // 标准构造函数
virtual ~C... | [
"huyifeng@baidu.com"
] | huyifeng@baidu.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.