blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 2 247 | content_id stringlengths 40 40 | detected_licenses listlengths 0 57 | license_type stringclasses 2
values | repo_name stringlengths 4 111 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringlengths 4 58 | visit_date timestamp[ns]date 2015-07-25 18:16:41 2023-09-06 10:45:08 | revision_date timestamp[ns]date 1970-01-14 14:03:36 2023-09-06 06:22:19 | committer_date timestamp[ns]date 1970-01-14 14:03:36 2023-09-06 06:22:19 | github_id int64 3.89k 689M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 25
values | gha_event_created_at timestamp[ns]date 2012-06-07 00:51:45 2023-09-14 21:58:52 ⌀ | gha_created_at timestamp[ns]date 2008-03-27 23:40:48 2023-08-24 19:49:39 ⌀ | gha_language stringclasses 159
values | src_encoding stringclasses 34
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 7 10.5M | extension stringclasses 111
values | filename stringlengths 1 195 | text stringlengths 7 10.5M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
151436e227554f978d37c2e217468506947c2406 | 0c8ca41403a6f030fbc3818d24e67326f0254aba | /robot/proto_code/proto_read.cpp | 692b9cc5d38232c68982aec8b1fc1fe9df6aa671 | [] | no_license | buzhengya/C-Code | 44b51d77916c897f12782eb4d765d7fecc2d0a85 | e213374502f70ef4637c37d5acf421c3ac228d4a | refs/heads/master | 2022-04-01T04:51:25.861444 | 2020-01-21T10:32:10 | 2020-01-21T10:32:10 | 141,689,949 | 1 | 0 | null | null | null | null | GB18030 | C++ | false | false | 2,600 | cpp | proto_read.cpp | #include "proto_read.h"
#include "tool.h"
#include <iostream>
using namespace std;
bool CProtoRead::GetProto(string strFile, vector<string> & vecProto)
{
m_strFile = strFile;
if (!_OpenFile())
{
cout << "open file : " << strFile << " failed." << endl;
return false;
}
string strMsg = "";
w... |
e86e8ef669ef9ebefadcd7ff5d952c78f1e12d3b | 4b2a3003d807c30387cbddc0342452cb53d83251 | /main.cpp | 6971272cef9b4de22f5fb3e50cf916c86e382b67 | [] | no_license | EddyBer16/YumpuToPDFConverter | a263551703568269c57e2c160a38860ea2ce94ab | b12a1fcad9372f3d29adb9a7b1bc334dd87ed2de | refs/heads/main | 2023-02-26T09:21:12.844413 | 2021-02-04T00:02:25 | 2021-02-04T00:15:17 | 335,789,332 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,705 | cpp | main.cpp | #include <iostream>
#include <stdlib.h>
#include <string>
#define pagesTotal 200
using std::cout;
using std::to_string;
using std::string;
void concatenateURL(string *pURL, int page);
void downloadPage(string URL, int page);
void convertToPdf();
void deleteAllJPGs();
string getAllPagesString();
int main() {
stri... |
e34b3cac13bf2a480c680499eb78060aaa29d0f0 | 61690117232423251b57e3bc044346499f723b65 | /components/win32/Win32Module.cpp | a95ef3f49d513c278fbfb9ac2793209bb4b65d60 | [] | no_license | taf2/xulmusic | 6038e5918d65fad89bd3147864f7aba95fd34923 | cb7b3a8ce451206fc1c6af8bfbe32710267f8d49 | refs/heads/master | 2016-09-05T17:44:32.653165 | 2009-07-20T16:20:48 | 2009-07-20T16:20:48 | 256,060 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,445 | cpp | Win32Module.cpp | /*
* "The contents of this file are subject to the Mozilla Public License
* Version 1.1 (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.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS IS"
... |
9803c317d47313137786238dbfd2772af455e687 | 793c8848753f530aab28076a4077deac815af5ac | /src/dskphone/ui/t48/metaswitchui/mtswvoicemaillistdelegate.cpp | 780a600bd47526da20d9b23f5f0900a0a294eac8 | [] | no_license | Parantido/sipphone | 4c1b9b18a7a6e478514fe0aadb79335e734bc016 | f402efb088bb42900867608cc9ccf15d9b946d7d | refs/heads/master | 2021-09-10T20:12:36.553640 | 2018-03-30T12:44:13 | 2018-03-30T12:44:13 | 263,628,242 | 1 | 0 | null | 2020-05-13T12:49:19 | 2020-05-13T12:49:18 | null | UTF-8 | C++ | false | false | 8,853 | cpp | mtswvoicemaillistdelegate.cpp | #if IF_FEATURE_METASWITCH_VOICEMAIL
#include "mtswvoicemaillistdelegate.h"
#include "settingui/src/settingitemfactory.h"
#include "dlgmtswvoicemail.h"
#include "dsklog/log.h"
#include "metaswitchui/mtswvoicemaillistitem.h"
#include "include/uicommon.h"
#include "baseui/t4xpicpath.h"
#include "uicommon/qtcommon/qmisc.h"... |
ce871e2132985543f7ece6551ae85663e4e36908 | 8a87f5b889a9ce7d81421515f06d9c9cbf6ce64a | /3rdParty/boost/1.78.0/libs/math/example/ooura_fourier_integrals_multiprecision_example.cpp | f2ac131941350773ca51816a072eb208f1b476c2 | [
"BSL-1.0",
"Apache-2.0",
"BSD-3-Clause",
"ICU",
"Zlib",
"GPL-1.0-or-later",
"OpenSSL",
"ISC",
"LicenseRef-scancode-gutenberg-2020",
"MIT",
"GPL-2.0-only",
"CC0-1.0",
"LicenseRef-scancode-autoconf-simple-exception",
"LicenseRef-scancode-pcre",
"Bison-exception-2.2",
"LicenseRef-scancode... | permissive | arangodb/arangodb | 0980625e76c56a2449d90dcb8d8f2c485e28a83b | 43c40535cee37fc7349a21793dc33b1833735af5 | refs/heads/devel | 2023-08-31T09:34:47.451950 | 2023-08-31T07:25:02 | 2023-08-31T07:25:02 | 2,649,214 | 13,385 | 982 | Apache-2.0 | 2023-09-14T17:02:16 | 2011-10-26T06:42:00 | C++ | UTF-8 | C++ | false | false | 5,236 | cpp | ooura_fourier_integrals_multiprecision_example.cpp | // Copyright Paul A. Bristow, 2019
// Copyright Nick Thompson, 2019
// Use, modification and distribution are 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)
#if !defined(__cpp_structured_bindings) || (__cpp_structure... |
5118fd4a4f27f26df4cca1aa7c7627d3f5ede03e | b4925f354c0236406d07cdab4e47667f12f58067 | /3.- SEGURIDAD/Cliente.cpp | ab3ec8404409e7ec99b8f41e90a7e0aba50809d8 | [] | no_license | MauricioCerv10/schoolhistory | 93be0e0adc57a79e5feea4665cac92d925edd9d8 | 7e5ef296909cc1e6daa54846e595b299e4be4e6e | refs/heads/master | 2023-07-01T16:14:25.918824 | 2021-07-30T03:12:15 | 2021-07-30T03:12:15 | 390,902,375 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,324 | cpp | Cliente.cpp | #include <iostream>
#include <fstream>
#include <sstream>
#include <fcntl.h>
#include <stdlib.h>
#include <stdio.h>
#include "Solicitud.h"
/*
Variables foráneas:
->LIMITE_ARCHIVO
->Ubicación: Mensaje.h
Entidades foráneas:
->struct mensaje
->Ubicación: Mensaje.h
->Solicitud
->Ubicación: Solicitud.h
*/
int flip... |
0a207aaf1bccae1fe167b509ab8feb66944e81a7 | fed831589a6414430544759f79fed0677098c391 | /source/OctaneEngine/EntityID.h | 7ee8764656561e01a024ff2581819d40dd6cc55f | [] | no_license | zachrammell/octane-engine | 42be2466d028588efd0e78fd51b233a3e8783538 | 0725cff58b2ce55b923996c5f20064a8ab9ef35c | refs/heads/master | 2023-02-26T05:49:57.169095 | 2020-12-10T00:07:54 | 2020-12-10T00:07:54 | 335,762,774 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 200 | h | EntityID.h | #pragma once
#include <EASTL/numeric_limits.h>
namespace Octane
{
using EntityID = uint32_t;
static constexpr EntityID INVALID_ENTITY = (eastl::numeric_limits<EntityID>::max)();
} // namespace Octane |
e80ed15e566b3538df7355f8783dc7a0400c8b2b | 16a67d50c0fdfed550966abf340b080eae69d781 | /engine/src/imgui/imguiwindow.h | 2e71ece212e64e91568b531c74b972ea5c0debc4 | [
"MIT"
] | permissive | anujv99/GameEngine | f3e2a03e6e8cbb51c6b46105f852313a20764909 | 644cb6667800cfecaa429666e5610e27f923e953 | refs/heads/master | 2023-07-04T12:41:02.015462 | 2021-07-23T11:20:22 | 2021-07-23T11:20:22 | 225,782,838 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 793 | h | imguiwindow.h | #pragma once
#include "../math/math.h"
#include "../common/handledobject.h"
#include "../common/types.h"
namespace prev {
struct ImGuiWindow : public HandledObject<ImGuiWindow> {
pvstring Name; // Name
Vec2i Pos; // Center Position
Vec2i Dimen; // Dimension of window
Vec2i DimenAutoSize; // ... |
a39a8df69168086bd4b2d2f0c75c96743cd39f6b | 2c555b82ce9e068b5cd01aa83fef77f6ca9d9747 | /Angry Birds/SlingLine.h | 2e590bb0c3705bbb2a7ecfa1910831e03f9832b7 | [] | no_license | LEChaney/Angry-Birds | 4fd08cc673c36e994753849c91580a99d904c73e | 8bce5f13d2326016b8809e061712f1549850f38c | refs/heads/master | 2020-03-07T13:36:48.081401 | 2018-04-09T22:30:14 | 2018-04-09T22:30:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 228 | h | SlingLine.h | #pragma once
#include <Box2D\Box2D.h>
class Birb;
struct NVGcontext;
class SlingLine {
public:
SlingLine(b2Vec2 slingPos, Birb*& grabbedBirb);
void draw(NVGcontext*);
private:
b2Vec2 m_slingPos;
Birb*& m_grabbedBirb;
}; |
b523b2f11032f1874708033d338118e9decc8aa0 | a5b566fe7906ec05fa0e638eab99d623eac8564e | /sources/AASubSelSubMatrix.cpp | 02266590d0afc3f813335463e398c7c43bb92377 | [] | no_license | bayesiancook/bayescode | 6d44f97ee617164538ac977cb5219ae670135674 | 855ac3b331267b9626d2ac25952d36a6a9374bdd | refs/heads/master | 2023-08-29T03:37:01.202960 | 2022-10-05T16:06:57 | 2022-10-05T16:06:57 | 92,596,965 | 4 | 4 | null | 2022-04-14T08:36:06 | 2017-05-27T12:20:15 | C++ | UTF-8 | C++ | false | false | 1,492 | cpp | AASubSelSubMatrix.cpp | #include "AASubSelSubMatrix.hpp"
#include <iostream>
using namespace std;
// ---------------------------------------------------------------------------
// AASubSelSubMatrix
// ---------------------------------------------------------------------------
AASubSelSubMatrix::AASubSelSubMatrix(int inNstate, const std:... |
a8e00333c3098a1294acd500c8fd5b0de09fbf36 | 0201c254e64b49736f1a3098fb73d09466b75e26 | /ZPar-Meishan-master/src/include/linguistics/disconstituent.h | 4326c088bccf6525ea3db117803c4a9344f874b1 | [] | no_license | zenRRan/ZPar_Example | d53c9a448e59ccb22111e02e28183954216082c9 | 020b67aec0c008ca9db3b39151ae8c770446ff2a | refs/heads/master | 2020-04-06T06:25:04.218308 | 2017-02-23T06:16:08 | 2017-02-23T06:16:08 | 82,891,161 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,622 | h | disconstituent.h | // Copyright (C) University of Oxford 2010
/****************************************************************
* *
* constituent.h - the constituent tree *
* *
* Autho... |
cf3fa669cd65c9b5d95791f257177bf6b35ca33a | 7fa5f9c40ad60e7cdafabec84421e9f2dd5665fa | /src/httpclient.h | 2680371f9309ba7f806a9178a8ff3a8cbcb32eb6 | [
"MIT"
] | permissive | d80y6/OpenWx | 3bf58cdc82089dad2dc0b34806e8ec39b6c3f4b1 | 976a6891c0919ff56ad9fe758b71251b0e4c3aeb | refs/heads/master | 2022-12-20T14:52:31.503140 | 2020-09-14T21:57:18 | 2020-09-14T21:58:55 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 521 | h | httpclient.h | #ifndef HTTPCLIENT_H
#define HTTPCLIENT_H
#include <functional>
#include <list>
#include <string>
typedef void CURLM;
class HttpClient {
public:
HttpClient();
virtual ~HttpClient();
void get(const std::string& url, std::function<void(std::string)> callback);
private:
void perform();
static flo... |
340b7b0cb77559b4fe17d263cad457a093a6e766 | a2803c12762066961d16ac53c2d55899e557c3f4 | /src/Epsilon.cxx | 00f9ecf30b8adb2c1e5901749567c0cdc9b08852 | [
"MIT"
] | permissive | nilsalex/tensor-trees | f16210330b7f854d32ca7c815c1894ee17f39ce6 | 48b5b4f6932705bac7160bb3379f6066222f9b70 | refs/heads/master | 2020-03-15T04:35:09.278891 | 2018-08-03T21:29:39 | 2018-08-03T21:29:39 | 131,969,210 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,815 | cxx | Epsilon.cxx | #include <sstream>
#include <boost/archive/text_iarchive.hpp>
#include <boost/archive/text_oarchive.hpp>
#include <boost/serialization/base_object.hpp>
#include <boost/serialization/export.hpp>
#include "Epsilon.hxx"
BOOST_CLASS_EXPORT(Epsilon)
#include "eval.hxx"
Epsilon::Epsilon(char const i1, char const i2, char c... |
51518d3b93c21353f2f97637dbc2efac138fb8ac | c62710853eaaaaa554fe2ef348db1b615ec814fb | /c/niuhongli/chapter07/ex7.26.cpp | e88d0b09ab25b4c4c8666df3db02899850b51cb7 | [] | no_license | CodingWD/course | e38d75871e17627d1ce24beef6700ef65e606640 | e80eeba61be9c0960002259a452babce44ee84a1 | refs/heads/master | 2023-04-06T21:47:54.940420 | 2021-04-15T10:25:30 | 2021-04-15T10:25:30 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 463 | cpp | ex7.26.cpp | #include<iostream>
#include<string>
using namespace std;
string make_plural(size_t ctr, const string &word, const string &ending="s")
{
return (ctr==1)? word: word+ending;
}
int main()
{
cout << "Singular version: " << make_plural(1,"sucess","es")
<< "\t \t Plural version: " << make_plural(0,"sucess","es") << en... |
1596b7eb0c2c470b85cc0df515ee1b53f283200d | 2779cd67e38f7498306720f59c5dbd570b49081c | /selfdrive/ui/replay/replay.hpp | 6ca042612bc2f3ed96a30467d2ae45833e95034a | [
"MIT",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | BogGyver/openpilot | f1c68f3a0d253aa39bbf401f63cda4b72c77d208 | 501c7de91b59c70510e9dc1585acfde9b7102c93 | refs/heads/tesla_unity_dev | 2023-07-15T21:05:53.083579 | 2023-03-23T20:57:33 | 2023-03-23T20:57:33 | 143,180,647 | 55 | 66 | MIT | 2023-01-07T01:03:19 | 2018-08-01T16:19:40 | Python | UTF-8 | C++ | false | false | 811 | hpp | replay.hpp | #pragma once
#include <QFile>
#include <QQueue>
#include <QJsonArray>
#include <QJsonObject>
#include <QJsonDocument>
#include <capnp/dynamic.h>
#include "qt/api.hpp"
#include "Unlogger.hpp"
#include "FileReader.hpp"
#include "FrameReader.hpp"
#include "visionipc_server.h"
#include "common/util.h"
class Replay : p... |
3b9ba11bf1923d6c075f27ad6248042663bad6e9 | 1120f23bf7808c565595edc1b0d65b660d738093 | /xx/luogu/1105/1.cpp | 09e8447c09f38e3b3296a968c612a05d1df78830 | [] | no_license | nn020701/OIER | f61cfdbcb406bc3a0e5111c5540378c798afd969 | 43f5a2987e2080c8f356edafb6875e4d0b707d99 | refs/heads/master | 2021-07-15T00:44:27.398058 | 2017-10-21T10:34:09 | 2017-10-21T10:34:09 | 104,617,028 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 974 | cpp | 1.cpp | #include<cstdio>
#include<cstring>
#include<iostream>
#include<algorithm>
using namespace std;
#define ll long long
#define N 1005
inline int read(){
int x=0,f=1;char ch=getchar();
while(ch<'0'||ch>'9'){if(ch=='-')f=-1;ch=getchar();}
while(ch>='0'&&ch<='9'){x=x*10+ch-'0';ch=getchar();}
return x*f;
}
struct node{
... |
0536fb84c9d9fdcc2da9dfa3e825ec50c19c8473 | 464367c7180487bba74097d6b229174b53246676 | /unit_tests/tests/base/StateElement/StateElement_test.cc | 08166cb9fe0c490e8c02dac40ba0631af3875f2e | [
"LicenseRef-scancode-unknown-license-reference",
"Apache-2.0"
] | permissive | openhwgroup/force-riscv | 5ff99fd73456b9918a954ef1d29997da2c3f2df7 | 144fb52a99cde89e73552f88c872c05d2e90b603 | refs/heads/master | 2023-08-08T14:03:54.749423 | 2023-06-21T02:17:30 | 2023-06-21T02:17:30 | 271,641,901 | 190 | 53 | NOASSERTION | 2023-09-14T01:16:08 | 2020-06-11T20:36:00 | C++ | UTF-8 | C++ | false | false | 18,383 | cc | StateElement_test.cc | //
// Copyright (C) [2020] Futurewei Technologies, Inc.
//
// FORCE-RISCV is 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
//
// THIS SOFTW... |
ad82f7b9822901efab395563a787ac029b832fcb | dc29086e666691d3d1f1371708ca860c7393fd8f | /libWorld/include/LibEngine/DWriteFont.h | 3a618868ebcbc69fdf0520fd165d4033d78d353d | [] | no_license | preboy/9DayGame | acb9ee02500a7a6a8b3470d4c6adbfbd517c442a | 4947b402e5e9e9cd430ea178b8bf6debc05abbf4 | refs/heads/master | 2021-01-11T14:11:59.060933 | 2017-02-10T14:46:12 | 2017-02-10T14:46:12 | 81,573,914 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 392 | h | DWriteFont.h | #pragma once
#include <D2D1.h>
#include <dwrite.h>
namespace LibEngine
{
class DWriteFont
{
public:
DWriteFont();
~DWriteFont();
bool Init();
void Release();
private:
ID2D1RenderTarget* m_pRende... |
230a4624c8ffc69161d5e254c5ff6977ebf30413 | d6f49ffb3d50133d28601e41338203fae6403bbc | /core/modules/etherswitch.cc | ba8e084f4899656912ad46b876d7d009d73995f1 | [
"BSD-3-Clause"
] | permissive | fabricioufmt/dyscobess | 16e0f195b99951b149451d2e3b471386e4eb1ed0 | bb26c1bfdd58d5b3a88b7881cf694139af148e8c | refs/heads/master | 2018-12-22T07:03:04.423831 | 2018-11-27T11:16:29 | 2018-11-27T11:16:29 | 108,544,440 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,856 | cc | etherswitch.cc | #include "etherswitch.h"
const Commands EtherSwitch::cmds = {
{"add", "EtherSwitchCommandAddArg", MODULE_CMD_FUNC(&EtherSwitch::CommandAdd),
Command::THREAD_UNSAFE},
{"del", "EtherSwitchCommandDelArg", MODULE_CMD_FUNC(&EtherSwitch::CommandDel),
Command::THREAD_UNSAFE},
};
CommandResponse EtherSwitch::Init(const... |
1e0702409104ccc5c4133187bb5f2c0b53d2eb02 | 459caaebf3c9d6355ca19cc3893062912ea7df26 | /copt/examples/bbmcsp_init_lb.cpp | 41758e831bed596b4e043cc2d22de074ef39000c | [] | no_license | rafa-hub/converter | 4ada07932a4f9dba5d3790148b681ba5ba6a14ab | a9bec4a01fa91bf10285b800288c511307452197 | refs/heads/master | 2023-05-30T10:54:46.669505 | 2019-02-20T11:36:37 | 2019-02-20T11:36:37 | 106,400,987 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,671 | cpp | bbmcsp_init_lb.cpp | //example of simple BBMCSP (exact maximum clique for large and massive graphs) execution from cmd line:
//Cmd line info: <binary> <filename> <lower bound>
//author:pablo san segundo
//date: 20/12/14
#include <iostream>
#include <stdlib.h>
#include "utils/prec_timer.h"
#include "../clique/clique.h"
using nam... |
cc3c38233e9acf98e79a8d7c479542062dd00097 | b6f5e9ea853a5d213ab1c90eea070a2de6fb1c77 | /Morgue app STL, console UI/repository/CSVassistantRepository.h | 5005d433534379b282baa06fd868bf6c2cb044ea | [] | no_license | StefanCsPurge/Object-Oriented-Programming | a1c354d32144f8a175cb829dde8ee360d025026a | d9650b26e4a94e40bf72ccde5f8b8b8cd83e4895 | refs/heads/master | 2022-11-15T08:31:40.356419 | 2020-06-28T08:29:49 | 2020-06-28T08:29:49 | 262,393,847 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 314 | h | CSVassistantRepository.h | #pragma once
#include "repository.h"
class CSVassistantRepo : public AssistantRepository
{
private:
void writeVictimsToFile() const override;
public:
CSVassistantRepo(string filePath = "");
void addVictim(const Victim& v) override;
void openInApplication() override;
~CSVassistantRepo() {}
}; |
a2a3d4bdcb1ec74b577d8ab6735938d5de15f0c1 | 9de0cec678bc4a3bec2b4adabef9f39ff5b4afac | /PWGLF/RESONANCES/AliRsnLoopEvent.h | cfa094d847e7cb0ef0c2c3314929fe6229b3c4ce | [] | permissive | alisw/AliPhysics | 91bf1bd01ab2af656a25ff10b25e618a63667d3e | 5df28b2b415e78e81273b0d9bf5c1b99feda3348 | refs/heads/master | 2023-08-31T20:41:44.927176 | 2023-08-31T14:51:12 | 2023-08-31T14:51:12 | 61,661,378 | 129 | 1,150 | BSD-3-Clause | 2023-09-14T18:48:45 | 2016-06-21T19:31:29 | C++ | UTF-8 | C++ | false | false | 715 | h | AliRsnLoopEvent.h | #ifndef ALIRSNLOOPEVENT_H
#define ALIRSNLOOPEVENT_H
//
// Computator for events.
// The simplest loop,
// which is filled once per event.
//
#include "AliRsnLoop.h"
class AliRsnLoopEvent : public AliRsnLoop {
public:
AliRsnLoopEvent(const char *name = "default");
AliRsnLoopEvent(const AliRsnLoopEvent ©);
... |
ca68faf67be91ec879716fc625b11cd4b8a60d1c | f5d87ed79a91f17cdf2aee7bea7c15f5b5258c05 | /cuts/unite/presentation/gnuplot/Gnuplot_Presentation_Service.inl | e89fd327fb568996b0b8675ffb7acf08dea96f11 | [] | no_license | SEDS/CUTS | a4449214a894e2b47bdea42090fa6cfc56befac8 | 0ad462fadcd3adefd91735aef6d87952022db2b7 | refs/heads/master | 2020-04-06T06:57:35.710601 | 2016-08-16T19:37:34 | 2016-08-16T19:37:34 | 25,653,522 | 0 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 342 | inl | Gnuplot_Presentation_Service.inl | // -*- C++ -*-
// $Id$
//
// CUTS_Gnuplot_Presentation_Service
//
CUTS_INLINE
CUTS_Gnuplot_Presentation_Service::CUTS_Gnuplot_Presentation_Service (void)
: output_ ("."),
has_group_titles_ (true)
{
}
//
// CUTS_Console_Presentation_Service
//
CUTS_INLINE
CUTS_Gnuplot_Presentation_Service::~CUTS_Gnuplot_Presentatio... |
2a49cfa88a86a704ba825aef2d38d9a06fcb7355 | 0e3a227cdc555d9e5e5fa6117a2b0faa898dd5b4 | /Day31-C 预编译指令/ex1.cpp | 84fc622953d877996bdd88fed32e9d4b15527fcd | [] | no_license | wangmin668899/iosClassNotes | 873fac1355e963a5471e89287e3f094d25bcc711 | 4a46c7e3f7c07214b6f6bd36938653b271d9abd2 | refs/heads/master | 2021-01-18T07:28:34.482462 | 2013-09-18T07:30:23 | 2013-09-18T07:30:23 | null | 0 | 0 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 639 | cpp | ex1.cpp | // ex1.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
#include <stdio.h>
#define FOR(COUNT)\
{\
for(int i = 0; i < COUNT; i++)
#define LINE(COUNT) \
FOR(COUNT)\
printf("©¤");\
}
#define SPACE(COUNT) \
FOR(COUNT)\
printf(" ");\
}
#define RECTANGLE(LENGTH,... |
c2e2514330e98e93bc8d5cfd1e10733bf7f3d086 | 36b9decf14d266d6babaf1c44085c2ba869c03ce | /Remnant-main/Remnant/SDK/Widget_HUD_Survival_TraitList_functions.cpp | 844dfd5fc501d88c26f881265f088a58288600cb | [] | no_license | RoryGlenn/RemnantLootSwitcher | 6e309a7b2b7bac88a166b552b640c830b863eb2d | 85c4cb6839b7c0f60cf8143c571d64ca12439a63 | refs/heads/master | 2022-12-29T08:47:15.713546 | 2020-10-23T22:01:45 | 2020-10-23T22:01:45 | 305,910,400 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,689 | cpp | Widget_HUD_Survival_TraitList_functions.cpp | // Name: Remnant, Version: 6
#include "../SDK.h"
#ifdef _MSC_VER
#pragma pack(push, 0x01)
#endif
/*!!HELPER_DEF!!*/
/*!!DEFINE!!*/
namespace UFT
{
//---------------------------------------------------------------------------
// Functions
//--------------------------------------------------------------------------... |
55f8bfb1c80106408974cc3bf481f56be456b7f7 | e5613489d002d0c7f4c0270f5e2255c92e8e6bf7 | /src/jace/source/jace/JNIException.cpp | 73ef618958e338c9cbcecb410e4c10dd95a12359 | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | jkschneider/SilverKing | f59baf39b80737aa1859587809b228cf3d2d67cb | 0e2544ba48e9f5c7bab05d5e5d9a137fd1b85c3c | refs/heads/master | 2023-05-23T23:26:25.906550 | 2021-05-27T22:51:48 | 2021-05-27T22:51:48 | 373,652,271 | 0 | 0 | Apache-2.0 | 2021-06-03T22:02:32 | 2021-06-03T22:02:31 | null | UTF-8 | C++ | false | false | 478 | cpp | JNIException.cpp |
#include "jace/JNIException.h"
#include <string>
using std::string;
BEGIN_NAMESPACE(jace)
JNIException::JNIException(const string& value) throw ():
BaseException(value)
{}
JNIException::JNIException(const JNIException& rhs) throw ():
BaseException(rhs)
{}
JNIException& JNIException::operator=(const JNIExc... |
9f68b914b15548c180cd57ede2b6fca66aa19b4f | 370e6f99b6180939322c67629c62b5cae0b2f2d5 | /data/leetcode/739.cpp | d3267f411d7456bbb29e4f02829ecde979bb8e95 | [] | no_license | zhuwenboa/data_struct | 40e5625af67080855d1ea27b45e8b51c0df279b9 | 0511b01a59117fad6966e98a839b687cb31c9900 | refs/heads/master | 2021-06-10T15:16:11.586819 | 2021-03-23T07:02:45 | 2021-03-23T07:02:45 | 150,682,316 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 754 | cpp | 739.cpp | #include<iostream>
#include<algorithm>
#include<vector>
#include<stack>
using namespace std;
class Solution
{
public:
vector<int> dailyTemperatures(vector<int>& T)
{
if(T.size() == 0)
return {};
vector<int> res(T.size(), 0);
stack<pair<int, int>> st;
st.push({0, T... |
fcfb7366921d8a264746aaead883379a7b5836a3 | baa201e4b6c215a563c72bb765d1f8748c8e309b | /Limbitless_Elbow.ino | f0039d5a2e22fc14982b0bc3941882909de7a565 | [] | no_license | Limbitless/Limbitless_Elbow | d24e236ececaf3c933a4fac745296fd3c7bf2e9a | 84638e680daa8d57bd91218e64ff53ed795fee95 | refs/heads/master | 2021-01-01T17:22:04.624602 | 2015-02-21T22:15:40 | 2015-02-21T22:15:40 | 31,143,183 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,981 | ino | Limbitless_Elbow.ino | /**
* Limbitless Solutions
* EMG Pulse Flex Test
*
* Josh Kaplan <jk@joshkaplan.org>
* October 25, 2014
*
* Takes an analog input from an EMG sensor
* and prints out which pulse it read.
*
* Current code supports two types of pulses:
* 1. Long Pulse
* 2. Two short Pulses
*/
#define EMG_THRESH 40 ... |
c130b463d75970f20fefddc75f0ef7c011d8e04b | d97cb5fc79855d9e33cb23225855696102071ba0 | /DES203_Project/Source/DES203_Project/RangedWeapon.cpp | f06ea9b131192143b4c33f9472fb803aebbf4e01 | [] | no_license | andreamin97/interactive-media-production-project | 0910120f475be124045b8c61ee283e6c4df47879 | ce2b6b6cd9b9a56bc9f92e53f5ae75ae78867cfb | refs/heads/master | 2022-06-06T10:29:39.894873 | 2020-05-04T18:45:53 | 2020-05-04T18:45:53 | 234,117,108 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,621 | cpp | RangedWeapon.cpp | // Fill out your copyright notice in the Description page of Project Settings.
#include "DES203_ProjectCharacter.h"
#include "DES203_ProjectPlayerController.h"
#include "Kismet/GameplayStatics.h"
#include "UObject/ConstructorHelpers.h"
#include "DrawDebugHelpers.h"
#include "Components/ArrowComponent.h"
#include "Math... |
06ec683b16377da8833c9e2d718294edb2a89832 | 1a20961af3b03b46c109b09812143a7ef95c6caa | /ZGame/DX11/hieroglyph3/trunk/Hieroglyph3/Applications/TessellationParams/App.cpp | ac94f2b1a0a9fd07490a07acb1501da60112d91a | [
"MIT"
] | permissive | JetAr/ZNginx | eff4ae2457b7b28115787d6af7a3098c121e8368 | 698b40085585d4190cf983f61b803ad23468cdef | refs/heads/master | 2021-07-16T13:29:57.438175 | 2017-10-23T02:05:43 | 2017-10-23T02:05:43 | 26,522,265 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 26,508 | cpp | App.cpp | //--------------------------------------------------------------------------------
// This file is a portion of the Hieroglyph 3 Rendering Engine. It is distributed
// under the MIT License, available in the root of this distribution and
// at the following URL:
//
// http://www.opensource.org/licenses/mit-license.ph... |
20c50c1ffa30abd85230e448a597d59e4894df56 | 09191649a78f77b3bddf289879eb440ce636c7a8 | /ExecuteStage.h | 48805a462cb5f8222d9923419af37a54bb1192da | [] | no_license | jwosborne/Y86 | fcf33a7e3522b5d88dfb1e7ed9cdf8a7e62d0d66 | 7697fc6b7e0e6489b35308ac4a575beaefb48fe0 | refs/heads/master | 2020-04-05T09:55:04.156720 | 2018-11-08T23:07:13 | 2018-11-08T23:07:13 | 156,780,659 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,593 | h | ExecuteStage.h | /*
File: ExecuteStage.h
Desc: Declares ExecuteStage class and associated constants
*/
#ifndef EXECUTESTAGE_H
#define EXECUTESTAGE_H
#include "Sim.h"
#include "PipeStage.h"
#include "Register.h"
#include "MemoryStage.h"
#include "Forward.h"
#include "ProgRegisters.h"
class ExecuteSt... |
e658c0fa960f5df6a6867bb32001ed3b339d1f8b | 7524106d9776f24311be4e6050cedd2a10e31282 | /problems/spoj/x_cstreet_prim/main_ctreet_prim.cpp | b1c6222ca1e230bc610566e45f278bf224ec79cc | [] | no_license | Exr0nProjects/learn_cpp | f0d0ab1fd26adaea18d711c3cce16d63e0b2a7dc | c0fcb9783fa4ce76701fe234599bc13876cc4083 | refs/heads/master | 2023-04-11T08:19:42.923015 | 2021-01-27T02:41:35 | 2021-01-27T02:41:35 | 180,021,931 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,935 | cpp | main_ctreet_prim.cpp | /*
* Problem cstreet_prim (spoj/cstreet_prim)
* Create time: Mon 02 Nov 2020 @ 11:39 (PST)
* Accept time: [!meta:end!]
*
*/
#include <set>
#include <queue>
#include <cstdio>
#include <cstdlib>
#include <utility>
#include <cstring>
#include <iostream>
#include <algorithm>
#define ll long long
#define dl double
... |
4171e97b7e074237b685fca665b278601411a056 | 62e744795a2d8e1e3587cdef33ee176d7e564b7b | /Seagull-Core/src/Platform/DirectX/DirectXHelper.cpp | 07eb690861e9701cef078d8c368564b047f27db8 | [
"MIT"
] | permissive | Catddly/Seagull-Engine-Discarded | 49bde4b8d3d16d6d519c2372176eb97b7c0a9931 | fb51b66812eca6b70ed0e35ecba091e9874b5bea | refs/heads/main | 2023-06-16T15:10:49.754971 | 2020-11-15T11:26:26 | 2020-11-15T11:26:26 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 602 | cpp | DirectXHelper.cpp | #include "sgpch.h"
#include "DirectXHelper.h"
#include <comdef.h>
namespace SG
{
DxException::DxException( HRESULT hr, const std::wstring& functionName, const std::wstring& filename, int lineNumber)
:m_ErrorCode(hr), m_FunctionName(functionName), m_Filename(filename), m_LineNumber(lineNumber)
{}
std::wstring... |
0c810b2cc3dfd9e5e25b9fa0c165da6e37a1b2c3 | 77c0b69b3da92c46278da9cab9979b1f8efe01c3 | /mpllibs/metamonad/v1/impl/compose.hpp | 21783973d8ce23964ca2b6a1a2bc0f0ad144dd27 | [
"BSL-1.0"
] | permissive | sabel83/mpllibs | 6e670ab0c23422c4ab80ccbe1ba0c2531619fbf5 | 8e245aedcf658fe77bb29537aeba1d4e1a619a19 | refs/heads/master | 2021-01-21T12:31:50.702386 | 2016-05-13T19:45:07 | 2016-05-13T19:45:07 | 691,824 | 82 | 7 | null | 2014-05-04T08:29:15 | 2010-05-28T21:13:03 | C++ | UTF-8 | C++ | false | false | 2,159 | hpp | compose.hpp | #ifndef MPLLIBS_METAMONAD_V1_IMPL_COMPOSE_HPP
#define MPLLIBS_METAMONAD_V1_IMPL_COMPOSE_HPP
// Copyright Abel Sinkovics (abel@sinkovics.hu) 2013.
// 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)
#in... |
6dbee9e7067c0c94d195b6e5b26ac7d46ba78a6c | c3f15201deec4787164e2a965512602abdc01566 | /RaymarcherVR/RaymarcherCave.h | 2441e1b31d906a5decb56c8acd53d33fc67ffdd8 | [
"MIT"
] | permissive | iebeid/RaymarcherVR | d7c82ef501c30047bfbfb0dde5b855b8268dfff5 | c1977e1e9db37f7a4aec1acf5c5ec378c7bcffbb | refs/heads/master | 2021-01-17T06:12:14.638600 | 2017-02-17T17:16:00 | 2017-02-17T17:16:00 | 68,488,197 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 982 | h | RaymarcherCave.h | #ifndef RAYMARCHER_CAVE_H
#define RAYMARCHER_CAVE_H 1
#include <vrj/vrjConfig.h>
#include <iostream>
#include <iomanip>
#include <vrj/Draw/OpenGL/App.h>
#include <gadget/Type/PositionInterface.h>
#include <gadget/Type/DigitalInterface.h>
#include <GL/glew.h>
using namespace vrj;
class CaveApp : public opengl::Ap... |
c82a0590b115fa2557e3cb9db09cfb10b4a65718 | cb80a8562d90eb969272a7ff2cf52c1fa7aeb084 | /inletTest5/0.034/omega | 33d81d5b9c77ef6e8e1bc82349fd0a0058c3c16a | [] | no_license | mahoep/inletCFD | eb516145fad17408f018f51e32aa0604871eaa95 | 0df91e3fbfa60d5db9d52739e212ca6d3f0a28b2 | refs/heads/main | 2023-08-30T22:07:41.314690 | 2021-10-14T19:23:51 | 2021-10-14T19:23:51 | 314,657,843 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 219,403 | omega | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v2006 |
... | |
3e61d42251a868708e79aebc430f64bd43613864 | 227affc37b44107192f32b6003d6da4269e45b21 | /bits.cpp | 44f17a80db4132a31b04497036c89f51ab5008f8 | [] | no_license | motomax990/lectionSem2 | f347d80bb8682611c92f61cd688d2fcca63de1a8 | c2b24a541ae02989aecbb042b8d07f0791ab0232 | refs/heads/master | 2021-05-23T09:32:25.467730 | 2020-08-04T11:00:14 | 2020-08-04T11:00:14 | 253,222,789 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 209 | cpp | bits.cpp | #include <iostream>
#include <cmath>
using namespace std;
double f(double x);
int main()
{
double x;
cin >> x;
cout << f(x) << endl;
return 0;
}
double f(double x)
{
return 2*sin(x);
} |
eb4776494508ef650ce9dbd853fe15e127c66669 | a8e5517df264ca12e84c377270574a3cc378f0c1 | /LAVIDA/2378/large_dat.cpp | 3087065a37261e8e85de488c65885825fed75c33 | [] | no_license | wowoto9772/Hungry-Algorithm | cb94edc0d8a4a3518dd1996feafada9774767ff0 | 4be3d0e2f07d01e55653c277870d93b73ec917de | refs/heads/master | 2021-05-04T23:28:12.443915 | 2019-08-11T08:11:39 | 2019-08-11T08:11:39 | 64,544,872 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 296 | cpp | large_dat.cpp | //#include <stdio.h>
//#include <time.h>
//#include <stdlib.h>
//
//int main()
//{
// freopen("large_dat6.in", "w", stdout);
//
// srand(time(NULL));
//
// for (int i = 1; i <= 40; i++){
// int a = rand() % 40000 + 60001;
// int b = rand() % 40000 + 60001;
// printf("%d %d\n", a, b);
// }
//} |
1b5ec2fec1a3b8973b3ee7507c683078b0fd7da0 | 852f4f6406adc1014c4257f9cf65fdc0c4a229a5 | /Proyecto-final-ciencias/controlador/ControladorGeneral.h | af56ee8e9d916dde7adc60fc8feef3460af323e7 | [] | no_license | CarlosLopez98/Ciencias_Computacion_I | eb94a369c9a73b3eb5b75472331f38524d126233 | f080036803c759d0dfc57d9661c8fb629ae3bf14 | refs/heads/master | 2020-05-22T21:33:20.500730 | 2019-05-14T02:31:29 | 2019-05-14T02:31:29 | 186,528,320 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 822 | h | ControladorGeneral.h | #include"../vista/general/MenuGeneral.h"
#ifndef CONTROLADORGENERAL_H
#define CONTROLADORGENERAL_H
using namespace std;
class ControladorGeneral {
private:
public:
ControladorGeneral();
~ControladorGeneral();
void menuPrincipal(string&, string&);
void menuConsulta(string&, string&);
void menuRegistro(s... |
34dd42e67be1270585375928de5c4fb8a156fb38 | 9a4c07e26795891494dde93aa1281b1c06285e91 | /app/src/main/jni/tango-motion-tracking/motion_tracking_app.h | aa8909c06d25f99033bdb64a8fdce0bebb58c21c | [] | no_license | hmermerkaya/cpp_motion_tracking_example | c52e28e686f00a0c2722a541cc21757ae024181a | cc414506a4be5ecbb4ca6b1a8dcfb3eef3fd4d7a | refs/heads/master | 2021-01-18T17:37:23.143382 | 2017-08-16T13:16:42 | 2017-08-16T13:16:44 | 100,490,411 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,969 | h | motion_tracking_app.h | /*
* Copyright 2014 Google Inc. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applic... |
006ba20e956a9abec592f1fbc398cb8a0f31e3a3 | cd29eb13f68c68957be29690a80c8517babff0b6 | /GD4SFMLGameWorld/ParticleID.hpp | 80540b4b9430efbd0217e6c1d4a0d7c52d0dbfb3 | [] | no_license | RaisinTheSteaks/MultiplayerCA_2 | 2bc9ba1eccaa3f43fc52a7e0a287951af17b52da | 99fa37672decd4be77d68c2acb90ba79d107dfb1 | refs/heads/master | 2020-12-30T07:45:29.625381 | 2020-03-27T15:54:21 | 2020-03-27T15:54:21 | 238,912,965 | 1 | 1 | null | 2020-03-27T11:36:34 | 2020-02-07T12:08:44 | C++ | UTF-8 | C++ | false | false | 104 | hpp | ParticleID.hpp | /*
Charlie Duff
D00183790
*/
#pragma once
enum class ParticleID
{
Propellant,
Smoke,
ParticleCount
}; |
4332b191bc1822a157f3db5c4c2c018c0b8d5c94 | 70ccb9c09a87b3b089ce7e494c52006b93c0ae3f | /Core/Inc/OLED_GFX.h | fb50c5622c223056fc325e0ab09e01518c554d77 | [] | no_license | thaaraak/PyboardRadio | 65ff368bc7a9623bf6fc8c9046c532ea5f451301 | 0f02b6f26b135a80ff28562348e8cdb167ec1753 | refs/heads/master | 2022-12-04T20:12:30.016011 | 2020-08-29T23:22:17 | 2020-08-29T23:22:17 | 286,315,574 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,435 | h | OLED_GFX.h | #ifndef __OLED_GFX_H
#define __OLED_GFX_H
#include "stm32f4xx_hal.h"
#include "OLED_Driver.h"
typedef enum {
FONT_5X8 = 0,
FONT_8X16
}FONT_SIZE;
#ifdef __cplusplus
extern "C" {
#endif
class OLED_GFX : public virtual OLED_Driver
{
public:
OLED_GFX(void);
void Set_FontSize(FONT_S... |
4cfd3cadcdf08f9bee39273a569fd97f610397bc | 79b39e5a38b2b84365dac101296e627d28afd999 | /Binary_Search/square_root_binary_search.cpp | 427c106947c31f4033600d165201cbce602a5c1b | [] | no_license | Nikhil-Vinay/DS_And_Algo | ee2e0bd9f9b90f3412e59fde7aba552150a20568 | 65b657f9b02cd7b61b538d37c250016479f098e2 | refs/heads/master | 2022-12-24T14:43:57.223894 | 2020-10-08T08:54:29 | 2020-10-08T08:54:29 | 291,686,411 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,719 | cpp | square_root_binary_search.cpp | /**** Calculate square root by binary search till n decimal place *********/
/**** Fastest algorithm to calculate square root of a number *******/
#include<iostream>
#include<bits/stdc++.h>
using namespace std;
int SqrtDecimalPartUtil(int n)
{
int ans = 0;
int start = 0, end = n, mid = 0;
// time complexity... |
fb4613cb2fea6525c26c8bbab0398d64ddfc851b | 1069c8c8b692ff7ea7ef447a1e08e51e3f60e30c | /bitmanip/test.cpp | 7c645ca84ed3236a1e6d042a9fa7fddd59a11df4 | [] | no_license | ganeshkumar269/400 | ce3609e76149a7bf34643e955ab98480e909a791 | d5a1e2af5fe5b22216c8b434b5e341d97bd21537 | refs/heads/master | 2021-07-09T22:02:01.223304 | 2021-06-05T15:34:38 | 2021-06-05T15:34:38 | 245,402,930 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 86 | cpp | test.cpp | #include <iostream>
using namespace std;
int main(){
cout << (1^2^4^8) << endl;
} |
519fa2b0f116e586cc4d16ee17f87d59d7b29f50 | bd9b6a6e5613505011539667888230a4ae5bb2ef | /src/renderer/core/renderer.h | 19d84874a46c4da95ec95dee3e3a7eda41c581fc | [] | no_license | szy042/GPU-Renderer | 35dc42e66298e1d9b50f8a58524483d3c1ada02d | 002bdcdd3c0251443768d7ebde2c5bff88b70e54 | refs/heads/master | 2020-11-24T11:55:56.846341 | 2019-12-26T07:09:04 | 2019-12-26T07:09:04 | 227,125,868 | 0 | 0 | null | 2019-12-10T14:04:47 | 2019-12-10T13:17:20 | null | UTF-8 | C++ | false | false | 303 | h | renderer.h | #pragma once
#ifndef __RENDERER_H
#define __RENDERER_H
#include "renderer/core/scene.h"
#include "renderer/core/camera.h"
#include "renderer/core/integrator.h"
class Renderer {
public:
Renderer() {}
Scene m_scene;
Camera m_camera;
Integrator m_integrator;
};
#endif // !__RENDERER_H
|
8a986d2cadbd91715eda0791c1de290b4180c870 | 24ff89c4052823e31841c17a7e0de08c64c0b206 | /Things Speak API Write.ino | 09e1d7738108fd58acad1e9a51b43efcbc4c02c3 | [] | no_license | vivekthota16/Internet-of-Things-Mission-Kitchen-Project- | 141ca356260297630c995fba12101c53e78759e5 | dee7d8a693d7c880fa2be5541220340090db0e78 | refs/heads/master | 2021-05-06T11:34:08.553302 | 2017-12-15T12:33:54 | 2017-12-15T12:33:54 | 114,268,905 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 624 | ino | Things Speak API Write.ino | #include "ThingSpeak.h"
//#include <ESP8266WiFi.h>
#include <WiFi.h>
char ssid[] = "Vicky"; // your network SSID (name)
char pass[] = " "; // your network password
WiFiClient client;
unsigned long myChannelNumber = 290437;
const char * myWriteAPIKey = "HSXSWWJ4WWUFB6WV";
void setup() {
pinMode(7,OUTPU... |
44fa6a3b6f67590958e2b3a6887c5bdc658f9ab0 | 8b96e94e4dc37841879098266ab92dd3b538e239 | /commands/dss_core/cmd_core_context_open.h | 641db58f930162b6b18c6cf8d8a010a573c4678b | [] | no_license | Renat060888/dss_client | 79b327b8b58a41022f90a8dfddbca9162945c61c | 4d16a4b3ccf82df5738776e8cd3ea9e433bf9588 | refs/heads/master | 2021-02-08T02:56:51.163175 | 2020-06-07T07:47:19 | 2020-06-07T07:47:19 | 244,101,498 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 593 | h | cmd_core_context_open.h | #ifndef CMD_CORE_CONTEXT_OPEN_H
#define CMD_CORE_CONTEXT_OPEN_H
#include "../i_command.h"
namespace dss_client {
class CommandContextOpen : public ICommand
{
public:
CommandContextOpen( common_types::SCommandServices * _commandServices, PNetworkClient _network );
common_types::TDssClientUniqueId m_clientId;... |
43e30e828c08e82ec034e0e923cc8c8ffb725f69 | a56252fda5c9e42eff04792c6e16e413ad51ba1a | /resources/home/dnanexus/root/include/TMVA/TNeuronInputAbs.h | c786df0b523d746126a8719c0eb6948057e6df0e | [
"LGPL-2.1-or-later",
"LGPL-2.1-only",
"Apache-2.0"
] | permissive | edawson/parliament2 | 4231e692565dbecf99d09148e75c00750e6797c4 | 2632aa3484ef64c9539c4885026b705b737f6d1e | refs/heads/master | 2021-06-21T23:13:29.482239 | 2020-12-07T21:10:08 | 2020-12-07T21:10:08 | 150,246,745 | 0 | 0 | Apache-2.0 | 2019-09-11T03:22:55 | 2018-09-25T10:21:03 | Python | UTF-8 | C++ | false | false | 3,639 | h | TNeuronInputAbs.h | // @(#)root/tmva $Id$
// Author: Matt Jachowski
/**********************************************************************************
* Project: TMVA - a Root-integrated toolkit for multivariate data analysis *
* Package: TMVA *
* Class : TMVA::... |
86eb34a223aec7ff39b516d412314697da74da8a | c9796a20cf56aa01ecbc2ff3985703b17bfb51fe | /leetcode/BoldWordsinString/a.cpp | 07717b8fb3111b17d25db1ef0a62d3d53443a4eb | [] | no_license | iamslash/learntocode | a62329710d36b21f8025961c0ad9b333c10e973a | 63faf361cd4eefe0f6f1e50c49ea22577a75ea74 | refs/heads/master | 2023-08-31T08:20:08.608771 | 2023-08-31T00:05:06 | 2023-08-31T00:05:06 | 52,074,001 | 7 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,229 | cpp | a.cpp |
#include <cstdio>
#include <vector>
#include <string>
#include <set>
// painting strategy
// O(WS) O(S)
class Solution {
public:
std::string boldWords(std::vector<std::string>& W, std::string s) {
// make bolds
std::vector<bool> bolds(s.size());
for (auto& w : W) {
int pos = s.find(w);
whil... |
ebc57ed95ce8f949eb42f935d0df4cc4455f67ad | 623450a58872631ee085ecfb45eabc246def198e | /Game/Properties.h | 4ecb7d6804b30cfd52f1e67a755ee53d61a36c2a | [] | no_license | lyro41/the_legacy_of_the_mercenary | 0f04e34930093867b5fcbfbffa078dba839306fd | 93a2d4381858612bf24ef01c1bd985de2242dab6 | refs/heads/master | 2022-06-19T15:48:59.819524 | 2019-05-16T11:31:08 | 2019-05-16T11:31:08 | 180,413,359 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 914 | h | Properties.h | #pragma once
#ifndef PROPERTIES_H
#define PROPERTIES_H
#include <SFML/Graphics.hpp>
#include <unordered_map>
#include <string>
#include <fstream>
#include <Windows.h>
#include <codecvt>
#include <iostream>
#include <vector>
#include "Geometry.h"
using namespace sf;
class Properties
{
public:
Image image;
Textur... |
acebda4b2fdd9454b2de55fd841c42b312b47d1f | ad8970af123d028ba70985162909c1d512cd5857 | /arrays/min_sum_subarray_ofsize_k.cpp | 03e0d5f55532591d08c9772d2d80df1fa68a2b8b | [] | no_license | shivam2146/Data_Structures | 999f1a6e4d2d37c56fa4effe6ec7dcb65250888d | f7a858aae8263299fa20c37a2b3b6d23a82cf7a5 | refs/heads/master | 2021-05-08T03:45:18.058308 | 2018-07-01T02:00:55 | 2018-07-01T02:00:55 | 108,306,243 | 0 | 2 | null | 2017-11-01T19:06:14 | 2017-10-25T18:00:45 | C++ | UTF-8 | C++ | false | false | 585 | cpp | min_sum_subarray_ofsize_k.cpp | #include<iostream>
#include<limits.h>
using namespace std;
//using sliding window tech
void minSumSubArray(int arr[],int n,int k){
int index = 0, minSum = INT_MAX, winSum = 0;
for(int i=0; i<n ; i++){
winSum += arr[i];
if(i+1 >= k){
if(minSum > winSum){
minSum = winSum;
index = i;
... |
ba717871f38584a7b6e2455593f26d1a6362a0dd | ca2a8b942e542e0c0a2d15392683a7d74228a41f | /storytime/src/system/Timer.h | c336fb6642af057bc4c46fff192e664f12a4a5f7 | [] | no_license | Taardal/storytime | 1480f17b92b1ff07fabd760e9af80faf50d50009 | 1d911dcf69d239867a214eea7872257849dba7ee | refs/heads/master | 2023-05-27T18:41:17.984534 | 2020-09-06T08:35:34 | 2020-09-06T08:35:34 | 218,632,081 | 0 | 0 | null | 2020-04-28T10:37:20 | 2019-10-30T21:42:53 | C++ | UTF-8 | C++ | false | false | 603 | h | Timer.h | #pragma once
#include <chrono>
namespace storytime
{
class Timer
{
private:
typedef std::chrono::high_resolution_clock HighResolutionClock;
typedef std::chrono::duration<long, std::nano> Nanoseconds;
typedef std::chrono::duration<float, std::milli> Milliseconds;
template<t... |
105c80b7274dd366cc5b0944298d0eb351535135 | 91934151a853b78d5438ffbbf41d9070bc469656 | /Tricky Permutation.cpp | f9b10066854f7b8cb871954f80cf030385673f57 | [] | no_license | hrAnand1999/Coding-Blocks-Solution | 19731002e47715225e70e47116c58b9e0b894ea2 | 333d38ada05513a88b6e445816c4c7be847079ce | refs/heads/master | 2023-06-06T10:42:34.789658 | 2021-06-25T05:22:45 | 2021-06-25T05:22:45 | 338,001,025 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 494 | cpp | Tricky Permutation.cpp | #include <iostream>
#include<set>
#include<string>
using namespace std;
void permute(string t, int i, set<string> & s)
{
if(t[i] == '\0')
{
s.insert(t);
return;
}
for(int j = i; t[j] != '\0'; j++)
{
swap(t[i], t[j]);
permute(t, i + 1, s);
swap(t[i], t[j]);
... |
8abc12a8ad2c88972ecc3b7467d992ebffc11a79 | b36002d71971c3964d91be277d130ca6b22c44a1 | /Day.cpp | 3584c95385a55526008772e1266c443620b789bc | [] | no_license | SbZhechev/Calendar-Project | a7bc29c1fbe3e1df895d5303379b06d728fa0e0e | bb41c045f72f6e271b804dff37e9e3f2db08f110 | refs/heads/master | 2020-04-06T18:59:56.297247 | 2018-11-22T22:09:56 | 2018-11-22T22:09:56 | 157,721,466 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,073 | cpp | Day.cpp | #pragma once
#include "Day.h"
void Day::resize()
{
this->capacity=this->capacity*2+1;
Task** temp = new Task*[this->capacity];
for(size_t i=0;i<this->size;i++)
{
temp[i]=this->tasks[i];
}
this->destroy();
this->tasks=temp;
}
void... |
83b060193d58462e0ea596bb3c16063f2d3d5187 | 9a476ad6d7620ccd9f924c020ca06a6f44755f8b | /PinConfig.hpp | 9205727ff87d131c06b2a6e9a1d144f07ab060de | [
"Unlicense"
] | permissive | rautava/EspMatrix | ba5de42296815d273ee89bd82832161b8ee20bbe | 92a9216ea177c49c8847c99ee2892f46b87beb84 | refs/heads/master | 2022-11-25T01:50:08.048194 | 2020-07-31T18:53:33 | 2020-07-31T18:53:33 | 282,484,647 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 272 | hpp | PinConfig.hpp | #pragma once
#include "Arduino.h"
namespace PinConfig
{
constexpr int PHOTO_SENSOR = A0;
constexpr int MATRIX_DISPLAY = D8;
constexpr int BUTTON_LEFT = D5;
constexpr int BUTTON_MIDDLE = D6;
constexpr int BUTTON_RIGHT = D7;
} // namespace PinConfig
|
840f1500e1e8cb448e1ced66ddff288e187d0d4d | 102beccb4a386876dfeaea493209537c9a0db742 | /RexLogicModule/Communications/ScriptDialogWidget.h | 8dd5743a3870165b4b076431146b952a4f5088bb | [
"LicenseRef-scancode-unknown-license-reference",
"Apache-2.0"
] | permissive | Chiru/naali | cc4150241d37849dde1b9a1df983e41a53bfdab1 | b0fb756f6802ac09a7cd9733e24e4db37d5c1b7e | refs/heads/master | 2020-12-25T05:03:47.606650 | 2010-09-16T14:08:42 | 2010-09-17T08:34:19 | 1,290,932 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,011 | h | ScriptDialogWidget.h | /**
* For conditions of distribution and use, see copyright notice in license.txt
*
* @file ScriptDialogWidget.cpp
* @brief Dialog Widget started by llDialog script command at server.
*/
#ifndef incl_RexLogicModule_ScriptDialogWidget_h
#define incl_RexLogicModule_ScriptDialogWidget_h
#include "ScriptDialog... |
8e5cacdfcb716ba710e54dc88370d658dea1de66 | e8282e3ae8aafa07b7f7261c639f206c4e97e0fc | /03 - Online Judges/spoj/SHUB1307.cpp | 51e45e945dd42d8c044f6692124a1db9a5bd67ac | [] | no_license | irfansofyana/cp-codes | 7cad844da49b901ccf678b75c31ed41e2fa9d645 | 9fa723129088f0e4832ecb7e012fe586b6d59e41 | refs/heads/master | 2023-04-04T00:48:36.334817 | 2021-04-12T03:07:06 | 2021-04-12T03:07:06 | 218,084,148 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,266 | cpp | SHUB1307.cpp | #include <bits/stdc++.h>
#define fi first
#define se second
#define pb push_back
#define irfan using
#define sofyana namespace
#define putra std
irfan sofyana putra;
typedef long long ll;
const ll INF = (ll)1e15;
ll t,n,m,i,j,k;
ll dp[105][105][505];
ll arr[105][105];
bool cek(ll r, ll c){
return... |
82f63a4230b4824f030613d18ec5d350d73c3e43 | b0e9c60f22f15705487f18d8e38fcd316d5ce949 | /code/unotu/utility/tab_presets/test.h | 259323ae4cfb17729245c546fbe03ee6ed72189c | [
"LicenseRef-scancode-other-permissive",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | DanilaFoxPro/Unotu | 09522b370be08cf5b4f4c29ca8e9336927bb957f | 3d50b014ec06a0d8a0d1d07bb476368b6f443780 | refs/heads/master | 2023-06-22T05:56:08.761098 | 2021-01-05T21:13:48 | 2021-01-05T21:13:48 | 295,349,174 | 0 | 0 | NOASSERTION | 2021-01-05T21:13:49 | 2020-09-14T08:14:03 | C | UTF-8 | C++ | false | false | 413 | h | test.h | #ifndef __UNOTU_UTILITY_TAB_PRESETS_TEST_H_
#define __UNOTU_UTILITY_TAB_PRESETS_TEST_H_
#include <unotu\utility\deps\unotui_includes.h>
namespace unotu {
namespace TabPresets
{
struct test : public unotui::w_tab
{
test();
virtual void PostConstruct();
virtual void OnEvent( std::sh... |
d2d34718205ca2c208abba63aaa670cfddd7a711 | 1094f19fc564502f80ec98ee1b92d843f9c0fa50 | /PenetrationInAir/src/beamDoseMaterials.cc | a5ab67d8e0875d07e1b8ccd975fd2aa0e116fa00 | [] | no_license | joeharms92/Data-Dump-Plos-paper | f6877727da881cae08d6dadd5b8965d32f31f2ad | 5c605f9abeeda289861ebb287050244b97bd7316 | refs/heads/master | 2022-01-29T04:54:49.425490 | 2019-07-19T19:24:46 | 2019-07-19T19:24:46 | 197,830,672 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,007 | cc | beamDoseMaterials.cc | #include "G4Isotope.hh"
#include "G4Element.hh"
#include "G4Material.hh"
#include "G4VisAttributes.hh"
#include "G4Color.hh"
#include "G4OpticalSurface.hh"
#include "beamDoseMaterials.hh"
#include "G4NistManager.hh"
#include "G4SystemOfUnits.hh"
#include "G4PhysicalConstants.hh"
beamDoseMaterials *beamDoseMaterials... |
6599be2e824b87069c820888490336ae1129253b | ac48dc874f5550d03648c28b1eda5720202eb55c | /mm-camera/mm-camera2/media-controller/modules/imglib/components/quadracfa/prebuilt/test/remosaic_test.cpp | 73f7bfe03d072ab515518284030d94a6c7c121f9 | [] | no_license | difr/msm8937-8953_qcom_vendor | 464e478cae4a89de34ac79f4d615e5141c40cbcb | 6cafff53eca7f0c28fa9c470b5211423cf47fd40 | refs/heads/master | 2020-03-20T09:58:48.935110 | 2018-05-27T04:13:22 | 2018-05-27T04:13:22 | 137,355,108 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,048 | cpp | remosaic_test.cpp | /**********************************************************************
* Copyright (c) 2016 Qualcomm Technologies, Inc.
* All Rights Reserved.
* Confidential and Proprietary - Qualcomm Technologies, Inc.
**********************************************************************/
#include <math.h>
#include "remosaic_te... |
ce5d6bb3652042148755e8dde69a9f08eea2283c | 6b40e9dccf2edc767c44df3acd9b626fcd586b4d | /NT/net/tapi/rtc/phoenix/src/core/test4/rtctest.cpp | 2f380a3e6f5bc38bea0cc9fbcf99e778821db83e | [] | no_license | jjzhang166/WinNT5_src_20201004 | 712894fcf94fb82c49e5cd09d719da00740e0436 | b2db264153b80fbb91ef5fc9f57b387e223dbfc2 | refs/heads/Win2K3 | 2023-08-12T01:31:59.670176 | 2021-10-14T15:14:37 | 2021-10-14T15:14:37 | 586,134,273 | 1 | 0 | null | 2023-01-07T03:47:45 | 2023-01-07T03:47:44 | null | UTF-8 | C++ | false | false | 23,903 | cpp | rtctest.cpp | #define UNICODE
#include <windows.h>
#include <RTCCore.h>
#include <rtcerr.h>
#include <stdio.h>
#include "RTCTest.h"
IRTCClient * g_pClient = NULL;
IRTCSession * g_pSession = NULL;
IRTCProfile * g_pProfile = NULL;
CRTCEvents * g_pEvents = NULL;
/////////////////////////////////////////////
//
// Wn... |
ba9f4e4e970adde51ccf07296833bea1898552c3 | 124996117a11a06361a199ae551af0112f89ab41 | /include/windows/GDIMouseProcessor.h | 38e3659979d4b53e4d5f36d5df20cc7f09b2ebf5 | [
"MIT"
] | permissive | smasherprog/screen_capture_lite | bf44ee08a6a694903b654b9d5a06a2ff333ec5f9 | db80989ae79a678073e65d1a41f83ec37116c0e5 | refs/heads/master | 2023-07-19T17:59:23.641764 | 2023-07-12T13:51:34 | 2023-07-12T13:51:34 | 43,233,769 | 560 | 155 | MIT | 2023-08-14T13:49:22 | 2015-09-27T04:05:58 | C | UTF-8 | C++ | false | false | 451 | h | GDIMouseProcessor.h | #pragma once
#include "ScreenCapture.h"
#include "internal/SCCommon.h"
#include <memory>
#include "GDIHelpers.h"
namespace SL {
namespace Screen_Capture {
class GDIMouseProcessor : public BaseMouseProcessor {
HDCWrapper MonitorDC;
HDCWrapper CaptureDC;
public:
... |
67e5bede291f947963271c0998cc5486a7fa32a4 | d50396ce3551c62f8336c981f5004b659d2b3351 | /examples/subarray.cc | 444f577a898ca86da4356594c2ebfa5f25f54db6 | [] | no_license | wistaile/mpl | a49c8354270a96b2e994a0d950c31906f3ef2843 | 2f6ae1e12d072769679d959e75af03d17f68013f | refs/heads/master | 2023-08-07T18:37:47.823013 | 2021-09-12T20:12:18 | 2021-09-12T20:12:18 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,410 | cc | subarray.cc | #include <cstdlib>
#include <iostream>
#include <iomanip>
#include <mpl/mpl.hpp>
int main() {
const mpl::communicator &comm_world = mpl::environment::comm_world();
// run the program with two or more processes
if (comm_world.size() < 2)
return EXIT_FAILURE;
// test layout for a subarray
// layouts on sen... |
e96700a961948af20cae1ed788c3921c57fd42ef | 4a1b388fc7254e7f8fa2b72df9d61999bf7df341 | /ThirdParty/ros/include/sensor_msgs/msg/detail/point_cloud__type_support.cpp | e1924e54ddaeefe7fb6d612a38f1e1c238c7a66f | [
"Apache-2.0"
] | permissive | rapyuta-robotics/rclUE | a2055cf772d7ca4d7c36e991ee9c8920e0475fd2 | 7613773cd4c1226957603d705d68a2d2b4a69166 | refs/heads/devel | 2023-08-19T04:06:31.306109 | 2023-07-24T15:23:29 | 2023-07-24T15:23:29 | 334,819,367 | 75 | 17 | Apache-2.0 | 2023-09-06T02:34:56 | 2021-02-01T03:29:17 | C++ | UTF-8 | C++ | false | false | 6,869 | cpp | point_cloud__type_support.cpp | // generated from rosidl_typesupport_introspection_cpp/resource/idl__type_support.cpp.em
// with input from sensor_msgs:msg/PointCloud.idl
// generated code does not contain a copyright notice
#include "array"
#include "cstddef"
#include "string"
#include "vector"
#include "rosidl_runtime_c/message_type_support_struct... |
9e094844c8d24ff4e5af307b416c1e4f77852ffc | 906f63c09d2bddbc8a54e63b66021cd451a01f2e | /templates/project-wp/LUNA_PROJECT_NAME/App.xaml.cpp | ef9705bdf82ab833b2a04980dae51885b710d0e6 | [
"MIT"
] | permissive | stepanp/luna2d | d4b0cec0dd7045c1f5f45af7123805f66495980a | b9dbec8cabaaf4c3c0a4f99720350d25a8b42fcf | refs/heads/master | 2021-01-23T20:55:44.246817 | 2018-10-09T09:13:12 | 2018-10-09T09:13:12 | 28,882,415 | 33 | 13 | null | 2016-04-28T12:51:34 | 2015-01-06T20:38:37 | C++ | UTF-8 | C++ | false | false | 1,680 | cpp | App.xaml.cpp | //
// App.xaml.cpp
// Implementation of the App class.
//
#include "pch.h"
using namespace LUNA_PROJECT_NAME;
using namespace Platform;
using namespace Windows::ApplicationModel;
using namespace Windows::ApplicationModel::Activation;
using namespace Windows::Foundation;
using namespace Windows::Foundation::Collecti... |
47941f9e9c29fd6b631acacbcdb7bbdb41552696 | df6a7072020c0cce62a2362761f01c08f1375be7 | /include/oglplus/lib/images_load.hpp | 72a7861435509398e307b5fcae46577f1df8a85b | [
"BSL-1.0"
] | permissive | matus-chochlik/oglplus | aa03676bfd74c9877d16256dc2dcabcc034bffb0 | 76dd964e590967ff13ddff8945e9dcf355e0c952 | refs/heads/develop | 2023-03-07T07:08:31.615190 | 2021-10-26T06:11:43 | 2021-10-26T06:11:43 | 8,885,160 | 368 | 58 | BSL-1.0 | 2018-09-21T16:57:52 | 2013-03-19T17:52:30 | C++ | UTF-8 | C++ | false | false | 635 | hpp | images_load.hpp | /**
* @file oglplus/lib/images_load.hpp
* @brief All-in-one include file for the separatelly-built image loading functions
*
* @author Matus Chochlik
*
* Copyright 2010-2014 Matus Chochlik. Distributed under the Boost
* Software License, Version 1.0. (See accompanying file
* LICENSE_1_0.txt or copy at htt... |
bdb4df614608364036e9b942c7e871403c83c629 | 77a091c62781f6aefeebdfd6efd4bab9caa51465 | /Done/Seletiva/seletiva2020-1/A.cpp | 83c2d6a54b465ea0a2cc1f34d60d4be5d0929c13 | [] | no_license | breno-helf/Maratona | 55ab11264f115592e1bcfd6056779a3cf27e44dc | c6970bc554621746cdb9ce53815b8276a4571bb3 | refs/heads/master | 2021-01-23T21:31:05.267974 | 2020-05-05T23:25:23 | 2020-05-05T23:25:23 | 57,412,343 | 1 | 2 | null | 2017-01-25T14:58:46 | 2016-04-29T20:54:08 | C++ | UTF-8 | C++ | false | false | 580 | cpp | A.cpp | //If you are trying to hack me I wish you can get it, Good Luck :D.
#include <bits/stdc++.h>
using namespace std;
#define debug(args...) fprintf (stderr,args)
#define pb push_back
#define mp make_pair
typedef long long ll;
typedef pair<int,int> pii;
typedef pair<ll,ll> pll;
const int MAX = 1312;
const int INF = 0x3f... |
c9e934bd2045903dfe67b37f2015c64b4a35ca0e | a7881a10dbeded9534f8c37d1655c1750d82518d | /geometry/mesh/tri_mesh.h | 00f353d8592e7dcf1b2c02814d32ecac9fd2c7e6 | [
"MIT"
] | permissive | aconstlink/natus | 31130e7439c1bb983c35e5f8ed2e684677c6583a | 8f8ad12aa71d246a10802bf5042f407de45d66d7 | refs/heads/master | 2023-08-17T01:58:03.578900 | 2023-03-29T12:45:45 | 2023-03-29T12:45:45 | 248,593,153 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,490 | h | tri_mesh.h |
#pragma once
#include "imesh.h"
#include "flat_tri_mesh.h"
namespace natus
{
namespace geometry
{
/// a mesh with triangles. Every three indices
/// form a triangle.
/// @note this mesh type does not have a polygon
/// indirection table. The polygon's(tri's) vertices
... |
73d89fd5be929acb6bd214851851f13885e37286 | a3d6556180e74af7b555f8d47d3fea55b94bcbda | /ash/system/privacy_hub/sensor_disabled_notification_delegate.h | 80e1a6f2e2f4de4a6e76892bf1249d3a6a714ed7 | [
"BSD-3-Clause"
] | permissive | chromium/chromium | aaa9eda10115b50b0616d2f1aed5ef35d1d779d6 | a401d6cf4f7bf0e2d2e964c512ebb923c3d8832c | refs/heads/main | 2023-08-24T00:35:12.585945 | 2023-08-23T22:01:11 | 2023-08-23T22:01:11 | 120,360,765 | 17,408 | 7,102 | BSD-3-Clause | 2023-09-10T23:44:27 | 2018-02-05T20:55:32 | null | UTF-8 | C++ | false | false | 1,858 | h | sensor_disabled_notification_delegate.h | // Copyright 2021 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef ASH_SYSTEM_PRIVACY_HUB_SENSOR_DISABLED_NOTIFICATION_DELEGATE_H_
#define ASH_SYSTEM_PRIVACY_HUB_SENSOR_DISABLED_NOTIFICATION_DELEGATE_H_
#include <string>
#include <vec... |
7aee6f82f2bd7ced54f0b1704ea8e50ab99fc7ba | 83682a6f8006132cc186e845df8f558361637c35 | /MTX/src/MTX/Core.h | 8e05b2e5636f9b19a02d5a86da677a08db8b60b9 | [] | no_license | tyler961/DirectX11-and-OpenGl-Renderer-Test | 83f8ca3b42f946aba769c89f3c64c7de25b2a5d5 | 9df93f687151e6b79cee33313560805be4d76a0d | refs/heads/master | 2023-05-31T09:44:50.233318 | 2021-06-08T04:52:51 | 2021-06-08T04:52:51 | 194,752,889 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,395 | h | Core.h | #pragma once
// Currently only Windows is supported my MTX
#ifdef MTX_PLATFORM_WINDOWS
#else
#error MTX only supports windows!
#endif
// Used to stop running the program if a critical error occurs to assist with debugging only
#ifdef MTX_ENABLE_ASSERTS
#define MTX_ASSERT(x, ...) { if(!(x)) { MTX_CRITICAL("Assert... |
e28c9d29a4c981f3623fc696050dc7dc3cba2d25 | 4d52aa630c6b1ceb249cae73e44df4ec686f6d2c | /UI/Pdk/PdkApp.h | 99c17c005ce5ae67eca81d90b758f703946c4bbc | [] | no_license | gezi322/WindowsPrinterDriver | 25b3d4ec69a85da0013e4ea4b1d53b0236135beb | da8927f5e023ee4e85ca3d3d54006bb075b200c1 | refs/heads/master | 2021-05-27T05:54:50.371221 | 2014-08-14T14:33:01 | 2014-08-14T14:33:01 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,306 | h | PdkApp.h | #ifndef PDKAPP_H_ // (make sure this is only included once)
#define PDKAPP_H_
#ifndef __cplusplus
#error PdkApp.h included in a non-C++ source file!
#endif
// --------------------------------------------------------------------
// INCLUDES
// -----------------------------------------------------... |
93718e314f37ae6eb9aab2fe5c8c396ad735ded7 | d4b2969c221b160a5aec724cccfe8b2014306cf4 | /Chapter 2/code3_2.cpp | c415d17bd5b259a4985e7cbc6f3851f485293d9f | [] | no_license | TairanHu/The_Method_of_Programming | 8fd2dab165e56531356a09f8995187e737feb7a5 | 82b654056789e9a12ea5007ca73ecdc434528eb3 | refs/heads/master | 2020-05-25T07:25:10.929320 | 2017-04-17T08:21:55 | 2017-04-17T08:21:55 | 84,921,687 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 576 | cpp | code3_2.cpp |
#include <iostream>
#include <vector>
#include <algorithm>
using namespace std;
bool SumOf_K_Number(vector<int> &num, int pos, int sum)
{
if(sum == 0)
{
return true;
}
if(pos >= num.size())
{
return false;
}
if(SumOf_K_Number(num, pos+1, sum-num[pos]) || SumOf_K_Number(n... |
e1491247a6f3b7622447702fad7d66fea4c9e150 | 29b4050f703705cc9102e6a9d8f2800caa8459e7 | /cpp/PartSumProblem/PartSumProblem/PartSumSolverZZ.h | 338c8d9d59fa31a4c3abf856db9f3ecefddbc836 | [] | no_license | bloodysnowx/ProgramContest | c1cf5ac2a843ed84772437557991ca1ceb519e1e | f954d4a35d1ba97f36f7deb258dc9fd179eaef2c | refs/heads/master | 2021-01-18T13:58:45.668409 | 2015-01-28T00:33:33 | 2015-01-28T00:33:33 | 6,904,456 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 640 | h | PartSumSolverZZ.h | //
// PartSumSolverZZ.h
// PartSumProblem
//
// Created by 岩佐 淳史 on 2013/03/08.
// Copyright (c) 2013年 岩佐 淳史. All rights reserved.
//
#ifndef __PartSumProblem__PartSumSolverZZ__
#define __PartSumProblem__PartSumSolverZZ__
#include <iostream>
#include "IPartSumSolver.h"
class PartSumSolverZZ : public IPartSumSolv... |
c2973214edfe20f8631bbcc580ccacba0feb29c5 | 93eb356a59a9f7f73d250018ef4c3d6b44617333 | /dataStructures1/WordSpellingChecker.cpp | e6707ff0d0d1d0bbe456325cf729a6121694a021 | [] | no_license | Eilonc285/DataStructures | 5694f0dc8e37158b63f0301864a2183e09ac6eb1 | f004f0ddfd7865c82e4e8baee0763e7ef54f4607 | refs/heads/master | 2023-02-17T07:44:10.654226 | 2021-01-21T06:34:17 | 2021-01-21T06:34:17 | 331,538,050 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,808 | cpp | WordSpellingChecker.cpp | #define _CRT_SECURE_NO_WARNINGS
#include "WordSpellingChecker.h"
/*
This function does the same as the search function.
*/
int isWordInDictionary(HashTable * dictionaryTable, char * word)
{
return search(dictionaryTable, word);
}
/*
This function receives a hash table and a string(char*).
Then for every index betwee... |
513b1c8d5d4ba0a3f571ef1d7a830e5f7fce240a | 72d4674373c155b0909d0a9a1fb2551062aec32d | /src/main.cpp | 0088731b5e3cc77792f47b53bf9ea03b28e363d1 | [
"BSD-3-Clause"
] | permissive | junwzm/box_detector | 6698249502cfce7ca87fd91c1bdabe4b25ae02e4 | 8802ee7dbb38d09b0455d9a1f341036ca10401a8 | refs/heads/master | 2022-01-10T10:06:38.205967 | 2019-05-02T17:22:46 | 2019-05-02T17:22:46 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,337 | cpp | main.cpp | /**
* BSD 3-Clause LICENSE
*
* Copyright (c) 2019, Anirudh Topiwala
* 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 of source code must retain the above cop... |
c988c5058e44f320dfb6ede72a805a4c2d93f02a | 6ce8c22c227a119d606951e4d1fded9de40a1e86 | /CasiaBot/Source/LurkerManager.cpp | 11a4b07868a03b9e325221c38db913ddb155403e | [] | no_license | biug/Casia | 3bf7da5fa8473fb010c2d2b46c00c90d1faf3c9e | a80adcf9950cbd31075077d27a4e3d401e5e4584 | refs/heads/master | 2021-01-01T16:47:27.591357 | 2017-07-31T11:48:52 | 2017-07-31T11:48:52 | 97,922,786 | 2 | 0 | null | 2017-08-08T08:38:34 | 2017-07-21T08:06:02 | C++ | UTF-8 | C++ | false | false | 7,712 | cpp | LurkerManager.cpp | #include "LurkerManager.h"
#include "UnitUtil.h"
using namespace CasiaBot;
LurkerManager::LurkerManager()
{
}
void LurkerManager::executeMicro(const BWAPI::Unitset & targets)
{
const BWAPI::Unitset & lurkers = getUnits();
// figure out targets
BWAPI::Unitset lurkerTargets;
std::copy_if(targets.begin(), targets.... |
a7893e4dbcf50d4605aa30d94dc5955e1dcdb167 | 6d22e7d0f912858f87e6c4769d52a7aeee3ec0b3 | /test/testhttpmultipart.cpp | c9a244d4e54ef7fbf6b914600100f5ea6faac667 | [] | no_license | BooooL/candy | fe0bba723fbb887f5786dab84c50448698e8d4cf | 537cfed74c63e556476a4eae95a8d3dedfbc7b72 | refs/heads/master | 2023-03-29T11:13:25.052038 | 2021-03-23T02:29:56 | 2021-03-23T02:29:56 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,519 | cpp | testhttpmultipart.cpp | //
// Created by Jsiyong on 2021-03-13.
//
#include "../src/protocol/http/httpmultipart.h"
/*
POST / HTTP/1.1\r\n
Host: 192.168.66.66:8888\r\n
Connection: keep-alive\r\n
Content-Length: 591\r\n
Cache-Control: no-cache\r\n
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chro... |
05056111363e5d11d7ac04702e4ba5307dc65c43 | 71d2598984432dabbb464c70e1f94df734783b78 | /tags/rel_0.10.0_rc1/core/plug-in/stats/StatsUDPServer.cpp | 17726d0542e6a7430a666c7a6927d87af5d8ae7f | [] | no_license | BackupTheBerlios/sems-svn | f55535988e9b9a093d7c8276c326cf7d42def042 | fc19cf9f112df2490770411e0974bc65764b10d9 | refs/heads/master | 2020-06-01T16:32:05.042325 | 2010-06-03T09:51:35 | 2010-06-03T09:51:35 | 40,818,829 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,766 | cpp | StatsUDPServer.cpp | #include "StatsUDPServer.h"
#include "Statistics.h"
#include "AmConfigReader.h"
#include "AmSessionContainer.h"
#include "AmUtils.h"
#include "AmConfig.h"
#include "log.h"
#include <string>
using std::string;
#include <sys/types.h>
#include <sys/socket.h>
#include <arpa/inet.h>
#include <errno.h>
#include <unistd.h>
... |
59a0a879778cb62888d7a9017e61c6fe82c2925a | 78f8badd914d95d82c9da8bc9961f2c7c6d92b9a | /Visualization/vtkCudaVisualization/vtkCuda2DInExLogicTransferFunctionInformationHandler.cxx | 8869da3b6fa9bcdb6cc7157aa9c1afeacc406a24 | [
"MIT"
] | permissive | jcfr/RobartsVTK | 140459de6a5f5a95c4d22255dcd00810a5b52939 | d711c99b9c5b8a53afd23ee10d84f77a24565a3f | refs/heads/master | 2021-01-25T13:24:01.221479 | 2018-03-01T18:28:20 | 2018-03-01T18:28:20 | 123,564,796 | 0 | 0 | MIT | 2018-03-02T10:18:50 | 2018-03-02T10:18:50 | null | UTF-8 | C++ | false | false | 9,248 | cxx | vtkCuda2DInExLogicTransferFunctionInformationHandler.cxx | /*=========================================================================
Program: Robarts Visualization Toolkit
Copyright (c) John Stuart Haberl Baxter, Robarts Research Institute
This software is distributed WITHOUT ANY WARRANTY; without even
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
... |
47f5839fd94e4a831d1657f6a9ea7e16dee870b0 | f122dc6c2f2809b1fc2e85568983a14b68ebb252 | /eps/mac0420-cg/ep3/ray.h | 0b05ca7a213466316ea047bfec2f666c7e3389fa | [] | no_license | henriquegemignani/ime | 5cabd15e40b6eaf49be793d88a1d3560a545e136 | d54d9f74f07efc3465de90e3c2475cedd32b4a46 | refs/heads/master | 2016-09-05T22:04:06.679111 | 2012-05-22T16:19:26 | 2012-05-22T16:19:26 | 2,629,331 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 766 | h | ray.h | #ifndef RAY_H_
#define RAY_H_
#include "vector3d.h"
#include "common.h"
#include "object.h"
class Ray {
public:
Ray(Vector3D orig, Vector3D dir) : source(orig), direction(dir) {}
virtual ~Ray() {}
typedef struct {
Object* obj;
float dist;
} Intersection;
Intersection FindClosestIntersection(Environment &en... |
78304c6489ad100060db6939a36e5bcdeaea5ea5 | 321e4444df0441a6879af3f4fbea6100b14434e5 | /FEMModel.h | b7c8148fc0c03491fc0e49f19c8dfd6429c4498c | [] | no_license | yu-yuxuan/Bridge_project | 094b9cc6b19836fc5a026364a0ea5c3bf3bc6ead | 10f60429acfd696df8bc1965cb9357afc169fd26 | refs/heads/master | 2021-08-23T03:06:11.950114 | 2017-12-02T20:18:13 | 2017-12-02T20:18:13 | 112,873,923 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 972 | h | FEMModel.h | #ifndef FEMMODEL_H
#define FEMMODEL_H
class FEMModel
{
protected:
int NodeNumber;
int *Node;
double *KReduced;
double *FReduced;
double *UReduced;
double *L_LU;
double *U_LU;
double *Stress;
double *U;
double *K;
double *F;
//Initial values for element components
int... |
e71785135219e81057a3b3e33c9a39983b8df1fb | 1838a2f3660c654147dcf55507472b6746506302 | /src/StringCache.h | f929634e83594751ed6b6b246a628311751c7c05 | [] | no_license | EdwardOwusuAdjei/AIengine-xtra | 5eaa1f44f0b318462c07913b49bcec68bff35638 | d4cc87068a1683786c6eb33faf84f11a6d46030e | refs/heads/master | 2021-01-10T17:10:34.989045 | 2016-02-17T19:38:59 | 2016-02-17T19:38:59 | 51,943,608 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,803 | h | StringCache.h | /*
* AIEngine a deep packet inspector reverse engineering engine.
*
* Copyright (C) 2013-2016 Luis Campo Giralte
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License as published by the Free Software Foundation; either
* versi... |
aef216cd37c09912ff549663b13a9db7cb9d38c4 | 6e5ecd49d8d9f45f8a153a4f532fcd411fe0aa8d | /2course/C++ Homeworks/HW10/graph/Graph.cpp | 66261abfd8cff36fb878da9b034477043da1622b | [] | no_license | Damtev/ITMO_HOMEWORKS | 79548473e78a6d57bb93efbba3dbaceaceb8d755 | 6f5d4ce803cd00d7a403270a918b4739431f22fe | refs/heads/master | 2022-05-26T16:44:33.716667 | 2019-11-20T10:32:05 | 2019-11-20T10:32:05 | 144,037,299 | 0 | 1 | null | 2022-05-20T20:54:51 | 2018-08-08T16:01:40 | Java | UTF-8 | C++ | false | false | 915 | cpp | Graph.cpp | //
// Created by damtev on 01/09/18.
//
#include "Graph.h"
Graph::Graph(const std::vector<Vertex*>& vertices) {
mVertices = vertices;
}
Graph::~Graph() {
mVertices.clear();
mEdges.clear();
}
Vertex& Graph::getVertex(int id) const {
return *mVertices[id];
}
const std::vector<Vertex*>& Graph::getVer... |
79611d64bb5a0c43ee88ad317d667fbb1f852dfc | 43707cf850fe9fdd52c66446ad489a11a6e75503 | /game-709/server/servers/majiang_server/src/majiang_logic.cpp | a4d8004fb07e229ce5e3de726f7d59068d8e41df | [] | no_license | luoweiqiao/game-709 | d6b2ca8b9d473bd87e0adc25c5f0845318081bc2 | c1a144199c36a5322261fae84aaed83acd7d2106 | refs/heads/master | 2023-03-25T22:01:31.551606 | 2021-03-22T05:04:01 | 2021-03-22T05:04:01 | 308,546,921 | 1 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 113,718 | cpp | majiang_logic.cpp |
#include "majiang_logic.h"
#include "math/rand_table.h"
#include "majiang_config.h"
#include "game_imple_table.h"
#include <center_log.h>
using namespace game_majiang;
//静态变量
namespace game_majiang {
/*
0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09, //万子
0x11,0x12,0x13,0x14,0x15,0x16... |
11eea2a53c81c006248d96fae37ced6fc2f9ef7d | 39810ed798d9391953c15333b52e7527e03d656e | /LeetCode代码待做总结和记录/LeetCode-52 N-Queens II.cpp | bda0cff3207259066afdc351f482328ca0cd306e | [
"MIT"
] | permissive | Jiacheng-Wei/LeetCode-code-conclusion | 889fcdfd70c469fcc83e434dc6fb23fd45faaaf4 | d882eb6286f75e6177c14a87abacad213be362db | refs/heads/master | 2020-05-02T17:36:10.807621 | 2019-04-23T13:02:38 | 2019-04-23T13:02:38 | 178,104,100 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 873 | cpp | LeetCode-52 N-Queens II.cpp | class Solution {
public:
int totalNQueens(int n) {
int res=0;
vector<int> pos(n,-1);
generate(pos,0,res);
return res;
}
void generate(vector<int>& pos,int row,int& res)
{
int n=pos.size();
if (row==n)
{
res++;
return;
... |
1358bb26958db6fc1d6e3db9e558102e9bc16fff | 48bb4e409cad79a8c8936c2e9e0b2952078473ba | /USER-ANN/symm_radial.h | 01ec55622851194042d8d96eb5dbbc4a43957455 | [] | no_license | hitergelei/ann | 78edd7f106784ae213ca7b36f2f30d765dc881f8 | 024601baafd567487323c722dceb027e889af884 | refs/heads/master | 2023-06-11T01:15:55.064373 | 2021-07-08T21:48:03 | 2021-07-08T21:48:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,809 | h | symm_radial.h | #pragma once
#ifndef SYMM_RADIAL_HPP
#define SYMM_RADIAL_HPP
// c++ libraries
#include <iosfwd>
// ann - serialization
#include "serialize.h"
//*****************************************
// PhiRN - radial function names
//*****************************************
struct PhiRN{
enum type{
UNKNOWN=0,
... |
44c82f36c26074514963c2b02156fb075bbc98ea | 08fae5bd7f16809b84cf6463693732f2308ab4da | /ETS/MarketInterfaces/RTTF/OConnor/ViewLog.cpp | a21b7dc43e280f41a2c17337ad86812d67baa785 | [] | no_license | psallandre/IVRM | a7738c31534e1bbff32ded5cfc7330c52b378f19 | 5a674d10caba23b126e9bcea982dee30eee72ee1 | refs/heads/master | 2021-01-21T03:22:33.658311 | 2014-09-24T11:47:10 | 2014-09-24T11:47:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,327 | cpp | ViewLog.cpp | //**************************************************************************************************************//
// solution: OConnor
// project: OConnor
// filename: ViewLog.cpp
// created: 26-Dec-2002 15:27 by Suchkov Dmitry
//
// purpose: implementation of CViewLog
//
//*****************************************... |
780a4842c7df7fce7c0439bbea404d768bfb1e72 | 0ae47bda5e8e17ccbf5df81803d2cc0284e74b19 | /backjoon/boj_01766_문제집-그래프,위상정렬.cpp | ffc32220341c8a5c63356ed56e40c573744fb116 | [
"MIT"
] | permissive | gitahn59/Algorithm | 0d2531e82f1ea56b25bfd77988983943b3750110 | 8b25b737352fbd81163b4548230a5aef09abe770 | refs/heads/master | 2023-05-27T04:36:40.808968 | 2021-08-24T13:35:10 | 2021-08-24T13:35:10 | 248,760,420 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 1,471 | cpp | boj_01766_문제집-그래프,위상정렬.cpp | /*
boj_1766_문제집(난이도 : 골드2)
boj_2252_줄 세우기 의 확장 문제
기본적인 위상정렬이지만
우선순위 큐를 사용해 출력순서 조정
*/
#include <iostream>
#include <queue>
#include <vector>
#include <map>
#include <algorithm>
#include <string>
#include <cstring>
#include <stack>
#include <cmath>
#include <set>
#include <bitset>
#define PRIME 1000... |
d5ec5fb91a054843c7c2c24d719c7c00957ec6d7 | 71dae8653492a02c77f67d03a0824f920d5fd9ee | /LD32/src/LD32Application.h | 0447157f2b83d718ef870c24295004d98c693f5b | [
"Apache-2.0"
] | permissive | TheCherno/LD32 | 8ad6aeb6f1345ecb04a351e2632ac9cf343a595c | 9654d71c62d94f3c00de9029ea42e248438fc02a | refs/heads/master | 2016-09-06T06:35:55.806350 | 2015-04-21T05:01:45 | 2015-04-21T05:01:45 | 34,146,855 | 15 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 984 | h | LD32Application.h | #pragma once
#include <sparky.h>
#include "layers/UILayer.h"
#include "layers/DebugLayer.h"
#include "level/Level.h"
#include "level/entity/Player.h"
#include "menu/Menu.h"
#include "menu/MainMenu.h"
#include "menu/GameOverMenu.h"
#include "menu/HelpMenu.h"
#include "menu/AboutMenu.h"
#include "State.h"
#define AP... |
88aa0ad3a9c9f3d55ee4dc6ba11a73e6d7cb7c6f | 9415c87c134e066cc848515caf498fb4e3e1c92e | /caffe_app/caffe_app.cpp | 58d401a3754500b84787c0a7a1b276af9b4b80dc | [] | no_license | Mingcong/apps_for_streaming | aefc12c00ff572d2990ee68e562e9687d2518fd3 | 086af6c13cfea7cbaa77adbcfb6ca27b83039d50 | refs/heads/master | 2021-04-30T22:57:47.954459 | 2015-01-02T04:12:01 | 2015-01-02T04:12:01 | 27,449,986 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,598 | cpp | caffe_app.cpp | #include "call_app.h"
#include <cuda_runtime.h>
#include <cstring>
#include <cstdlib>
#include <vector>
#include <string>
#include <iostream>
#include <fstream>
#include <stdio.h>
#include "caffe/caffe.hpp"
#include "caffe/util/io.hpp"
#include "caffe/blob.hpp"
#include <cv.h>
#include <highgui.h>
using namespace ... |
2a92b15d75b4a3351579335fed6f50ef513c8ae2 | ca6a0c4eb6fabc5a3b778c60759e476beb3614e8 | /Raytracer/src/AmbientLight.cpp | 7847af482ad70343702632d40d7dd022e291507b | [] | no_license | vansten/Renderers | 75e5f06eb473e824c6bbac2bb2468190ac1eccfb | 5409a3785a307440c2c30b3aaea52f9f37cd862d | refs/heads/master | 2021-01-11T04:10:12.389414 | 2016-11-22T17:17:10 | 2016-11-22T17:17:10 | 71,240,165 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 456 | cpp | AmbientLight.cpp | #include "../include/AmbientLight.h"
namespace raytracer
{
AmbientLight::AmbientLight(Color24 color) : Light(Vector3::Zero, color)
{
}
AmbientLight::AmbientLight(const AmbientLight& other) : Light(other)
{
}
Color24 AmbientLight::Affect(const Shape* shape, const IntersectionPoint& intersection, const Camera... |
089484b128176c2c1d7d1674eff78946e0a85599 | 2f0cc6fb3fef1785fe056d4a82ed2610a401b63a | /samples/shadow-render/point.cpp | 6be446be7b0248cb368c5f483561350f1cf2d86b | [] | no_license | tim-napoli/lab | 7a4d788b65603b2f1d9375c5cce38977b5265f3c | cbae4752fbacf18ec050805d7afc449bdf73d206 | refs/heads/master | 2021-01-12T15:07:02.325843 | 2017-10-03T18:48:49 | 2017-10-03T18:48:49 | 71,699,029 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 813 | cpp | point.cpp | #include "constants.hpp"
#include "point.hpp"
point::point(glm::vec2 pos, glm::vec2 speed)
: _position(pos)
, _speed(speed)
{
}
point::point() : _position(0), _speed(0) {}
point::~point() {
}
void point::move() {
glm::vec2 dest = _position + _speed;
if (dest.x < 0) {
dest.x = 0;
... |
2dddbcf1e7451bf76f389197133ef0eca0c652f7 | 1b9484f051414df045b4be62d44b2e095ba5a71f | /include/ofp/instructionlist.h | db789756eba629d7f1d9fbb2c3031bf126d14b46 | [
"MIT"
] | permissive | byllyfish/oftr | be1ad64864e56911e669849b4a40a2ef29e2ba3e | 5368b65d17d57286412478adcea84371ef5e4fc4 | refs/heads/master | 2022-02-17T15:37:56.907140 | 2022-02-01T04:24:44 | 2022-02-01T04:24:44 | 13,504,446 | 1 | 1 | MIT | 2022-02-01T04:24:44 | 2013-10-11T16:59:19 | C++ | UTF-8 | C++ | false | false | 1,424 | h | instructionlist.h | // Copyright (c) 2015-2018 William W. Fisher (at gmail dot com)
// This file is distributed under the MIT License.
#ifndef OFP_INSTRUCTIONLIST_H_
#define OFP_INSTRUCTIONLIST_H_
#include "ofp/bytelist.h"
#include "ofp/instructioniterator.h"
#include "ofp/instructionrange.h"
#include "ofp/instructions.h"
#include "ofp/... |
aae2b075d6c3784fb6a75d7a6a988ef2173dd2fc | fcdd559a409bb8126bc135e3a468cdfac2ab5b03 | /0042. Trapping Rain Water/0042.cpp | cb611cb6d92db3fd3cab3ba027623cb25d931bb1 | [] | no_license | JiaheZhang/leetcode | 522a4b5240639d5d427f0423dc83f0bccedf302d | 97df96b98b69e54c0fbee4015f675410b85302e7 | refs/heads/master | 2021-06-08T22:31:59.281206 | 2020-09-24T07:19:56 | 2020-09-24T07:19:56 | 116,484,605 | 1 | 0 | null | 2020-08-31T12:53:21 | 2018-01-06T13:21:45 | C++ | UTF-8 | C++ | false | false | 933 | cpp | 0042.cpp | #include<iostream>
#include<vector>
#include <algorithm>
#include <string>
#include <unordered_set>
using namespace std;
class Solution {
public:
int trap(vector<int>& height) {
if(height.size() <= 2) return 0;
int i = 0,j = height.size()-1;
int left_max = height[i],right_max = height[j]... |
497ce2256739366cc9474505f7ca34573ba088f6 | 809f35c818d649dcd01f6ba94352521d6f526cd3 | /src/MoonRoad/SystemInfo.cpp | 2eb259ce5285f8c659c8d2b73844d41bc884c1af | [] | no_license | mkbiltek/krento | e536ab5b09405fe4e8ace45ff11ee6c4b1a78438 | 0f5a778eb5d234cf22c0dce30932228a9e73fa28 | refs/heads/master | 2018-08-27T12:22:58.299658 | 2013-07-30T07:25:09 | 2013-07-30T07:25:09 | 57,170,055 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,950 | cpp | SystemInfo.cpp | #include "stdafx.h"
#include "SystemInfo.h"
#include <shlwapi.h>
#include <shlobj.h>
#include <shellapi.h>
#include "Netlistmgr.h"
#include "Wininet.h"
#include "Winsock2.h"
#include <Dbghelp.h>
#include "FileOperations.h"
#include <psapi.h>
#include <Tlhelp32.h>
#ifndef _WIN64
typedef BOOL (WINAPI *LPFN... |
61c802c7fa462631d1ef1d0b602ceb1202163f04 | 4d6f1c83d9dbb972e73bcc6b0afd4ac04ff5e776 | /textinput/peninputarc/gsplugin/gspeninputplugin/inc/peninputgsinterface.inl | 3ec0eb472ebe5cfee0e5f0a3bcbea1e55d483cb3 | [] | no_license | SymbianSource/oss.FCL.sf.mw.inputmethods | 344aff3e5dc049d050c0626210de231737bbf441 | 51e877bef2e0a93793490fba6e97b04aaa1ee368 | refs/heads/master | 2021-01-13T08:38:51.371385 | 2010-10-03T21:39:41 | 2010-10-03T21:39:41 | 71,818,739 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 959 | inl | peninputgsinterface.inl | /*
* Copyright (c) 2002-2005 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of "Eclipse Public License v1.0""
* which accompanies this distribution, and is available
* at the URL "http://www.eclipse.org/legal/epl... |
acf174292fb2f08aad28221feba611311be2cbef | 9a625ea6ad56782c1601756d5b5dd540a3cc3456 | /properties/types/PathPropertyBrowserType.cpp | 98b428373b35393f62f1335fc175fb6d5a509330 | [] | no_license | Aardvajk/Ark | 077936b33bd6b947989ba23881216fbdd0e2c8bf | 696eea3a11ba5e04eb72000bb1c2b97e4abcf0c8 | refs/heads/master | 2021-08-16T05:50:43.350831 | 2020-04-16T09:28:21 | 2020-04-16T09:28:21 | 159,943,057 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,458 | cpp | PathPropertyBrowserType.cpp | #include "PathPropertyBrowserType.h"
#include <QPxWidgets/QPxLayouts.h>
#include <QPxPropertyBrowser/QPxPropertyBrowserItem.h>
#include <QtWidgets/QLineEdit>
#include <QtWidgets/QToolButton>
#include <QtWidgets/QFileDialog>
namespace
{
class Cache
{
public:
Cache(PathPropertyBrowserType::Type type, const QStri... |
62e9aaea0cd0ddecea297d1f66c1ec435d29c0e1 | 5123172b4f2fbfbfa1a65367cf5a489dec3149b7 | /vecv.cpp | 8d6bb42ee5043d278e21e6ab07e0b7832924f572 | [] | no_license | abhijeetmanhas/spoj | 91e9b81abab7684d8978e8cba7a53ebb9d6faa39 | cbdc03ab54fa26a92b938879819675d35e33ed96 | refs/heads/master | 2020-06-10T22:21:21.010050 | 2015-03-18T16:14:34 | 2015-03-18T16:14:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 254 | cpp | vecv.cpp | #include <iostream>
#include <vector>
using namespace std;
int main(void)
{
vector <vector <int > > a ;
int t;
cin>> t;
vector<int> t1;
t1.push_back(t);
a.push_back(t1);
typeof(a)::iterator b = a.begin();
cout<<*a;
return 0;
}
|
97780defebc7c1891b5d34fdfff3be711733c03c | a70bf47a4b05d6f522d6a374eb61e7b93c3c87fe | /Source/Unreal_BattleTank/Unreal_BattleTank.cpp | 7fe2564269e3457f1a9419ca65fffd3eaeb009d2 | [] | no_license | pikacsc/Unreal_BattleTank | 07f7673dcb03a1ee893c47cd65ed84d59343119c | 843d67c536bf27eb42366edd8f07682263ea4e87 | refs/heads/master | 2020-04-22T03:11:16.343111 | 2019-04-17T15:36:59 | 2019-04-17T15:36:59 | 170,076,871 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 244 | cpp | Unreal_BattleTank.cpp | // Fill out your copyright notice in the Description page of Project Settings.
#include "Unreal_BattleTank.h"
#include "Modules/ModuleManager.h"
IMPLEMENT_PRIMARY_GAME_MODULE( FDefaultGameModuleImpl, Unreal_BattleTank, "Unreal_BattleTank" );
|
a7d1535137652728b0b72d640f9bc4a15db369ec | a22652188a350dc30bced52da03df0242903ae96 | /src/lib/bruker/Directory.cpp | 453c23f0db1f7f37b24002bd6ed99d2e1150ab69 | [] | no_license | Lahaxe/dicomifier | 2e439c1d9e0fd56256b5277254835aad7a3d7e19 | 718fe266be30a1f15145f2e06dc40738bad66ffe | refs/heads/master | 2021-01-20T16:12:11.577080 | 2015-12-29T10:14:56 | 2015-12-29T10:14:56 | 48,741,797 | 1 | 0 | null | 2015-12-29T10:20:37 | 2015-12-29T10:20:37 | null | UTF-8 | C++ | false | false | 5,080 | cpp | Directory.cpp | /*************************************************************************
* Dicomifier - Copyright (C) Universite de Strasbourg
* Distributed under the terms of the CeCILL-B license, as published by
* the CEA-CNRS-INRIA. Refer to the LICENSE file or to
* http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.