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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
c9cc05487c3d540114fb22848c33fc0563560c7e | 4db9da754b1ae73d9074367ff273f827b95b2cb8 | /GoogleCodeJam/GCJ_2015_1A_B/main.cpp | 4045f99b9f2529998c1775f1c2277dcd18d2eb6d | [] | no_license | sergii-yatsuk/codejam | 9ba5e3d3d27c7d5c66ab093add90f465b46f3e79 | 06184086ce54329744c81e85875871099cbd2424 | refs/heads/master | 2021-09-13T12:02:14.077337 | 2018-04-29T18:41:00 | 2018-04-29T18:41:00 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,009 | cpp | main.cpp | #define _CRT_SECURE_NO_WARNINGS
#include <algorithm>
#include <fstream>
#include <list>
#include <map>
#include <numeric>
#include <set>
#include <sstream>
#include <string>
#include <vector>
#include <queue>
#include <iostream>
#include <iomanip>
#include <array>
#include <cmath>
#include <limits>
#include <cassert>
... |
bf3ceeb9490fc9fdb26db949be8938c281aac071 | 0a7c429c78853d865ff19f2a75f26690b8e61b9c | /Images/Algorithms/Grayscale.h | 3f2eb25e04e1adc9aba214f8f7e9288ee0568553 | [] | no_license | perryiv/cadkit | 2a896c569b1b66ea995000773f3e392c0936c5c0 | 723db8ac4802dd8d83ca23f058b3e8ba9e603f1a | refs/heads/master | 2020-04-06T07:43:30.169164 | 2018-11-13T03:58:57 | 2018-11-13T03:58:57 | 157,283,008 | 2 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 2,330 | h | Grayscale.h |
///////////////////////////////////////////////////////////////////////////////
//
// Copyright (c) 2005, Adam Kubach
// All rights reserved.
// BSD License: http://www.opensource.org/licenses/bsd-license.html
//
///////////////////////////////////////////////////////////////////////////////
#ifndef __IMAGES_GRAYS... |
989d0a2ca3b725b8d0f48f205b8270b1d9b558cd | f1ce39f9e7a3534fcba8c7c6be64700f069eb70b | /RFID/SerialCommApp.h | ce3be3c02095d79cdc8d203c8996ddb21e1acd6e | [
"MIT"
] | permissive | JohnAgapeyev/COMP3980A3 | 2289413c9d0f127d878fff13c739d74c986b484f | 681880c37154e99f25c3c6cbaccc6f772eac4e7f | refs/heads/master | 2021-01-19T02:10:56.611363 | 2016-11-16T00:53:53 | 2016-11-16T00:53:53 | 73,436,464 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,736 | h | SerialCommApp.h | #pragma once
#define _CRT_SECURE_NO_WARNINGS
#include <Windows.h>
#include <string>
#include <sstream>
#include "SerialCommPort.h"
using std::string;
class SerialCommApp {
public:
SerialCommApp();
void setConnect(HWND);
void setDisconnect();
HWND getConnectButton();
HWND getDisconnectButton();
... |
d8119f3207f02cdaa3d57f4498c2eb8b826e83c0 | 6dcda687bc386b58c6391d150a3816adf43c7cea | /SDK/Vanas_AnimBlueprint_classes.h | 2d796e2c11e24eccf928c4e0cfbc23f16a9e8b6d | [] | no_license | firebiteLR/PavlovVR-SDK | 813f49c03140c46c318cae15fd5a03be77a80c05 | 0d31dec9aa671f0e9a2fbc37a9be34a9854e06a4 | refs/heads/master | 2023-07-23T11:28:43.963982 | 2021-02-18T15:06:38 | 2021-02-18T15:06:38 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,202 | h | Vanas_AnimBlueprint_classes.h | #pragma once
// Name: , Version: 1.0.0
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
namespace SDK
{
//---------------------------------------------------------------------------
// Classes
//---------------------------------------------------------------------------
// AnimBlueprintGeneratedClass Vanas_AnimBluep... |
ce13e488a137e0b99fa414458892338602929a9b | 2053e0ec782db1f74eba0c210fcc3ab381e7f152 | /leetcode/695maxareaOfIsland.cpp | f3cd8a8827d39653d3360ee393d01b7b422546c4 | [] | no_license | danielsamfdo/codingAlgo | 86d18b0265c4f5edb323d01ac52f24a2b88599d4 | 0a8e5b67d814ddedcb604f4588e6d959c8958c0b | refs/heads/master | 2021-05-15T10:46:18.941263 | 2017-11-01T02:42:40 | 2017-11-01T02:42:40 | 108,208,650 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 962 | cpp | 695maxareaOfIsland.cpp | //https://leetcode.com/problems/max-area-of-island/description/
class Solution {
public:
int MARKER = -1;
void dfs(vector<vector<int>>& grid, int i, int j, int &cnt, int &maxans){
if(i<0 || i>=grid.size() || j<0 || j>=grid[i].size()|| grid[i][j]!=1 )
return;
if(grid[i][j]==1... |
99623e6cf8d5456d0db5a85814d41cc3fbb35f42 | b5c32572e3551214734aa81244939973f91da1c5 | /Plutonium_v2/Plutonium/Source/pu/ui/ui_Dialog.cpp | 01eabf1a4448192aa60fd994ff89f9f6798d5154 | [
"MIT"
] | permissive | wetor/ONS-Switch-GUI | 16cd251b00de89f3280854bceba824d8ac5d384f | 536e247a2d97c06e14575a48cfd9d792a6156839 | refs/heads/master | 2021-08-07T08:15:29.479803 | 2021-07-03T05:51:27 | 2021-07-03T05:51:27 | 185,741,318 | 4 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 9,984 | cpp | ui_Dialog.cpp | #include <pu/ui/ui_Dialog.hpp>
#include <pu/ui/ui_Application.hpp>
#include <cmath>
namespace pu::ui
{
Dialog::Dialog(String Title, String Content)
{
this->tfont = render::LoadDefaultFont(30);
this->cfont = render::LoadDefaultFont(20);
this->ofont = render::LoadDefaultFont(18);
... |
a3329796f08550993a0f14c5cc3c4f5a425ef32c | c8fc4407862b838f1f1a94482338da5abeaca983 | /rtree/rtree.cpp | 705ebc64b21c1b61a5f7911e516c04962702c66f | [] | no_license | yyaoyu/Reverse_TopK | d075223fe82f48ed0308c587c5db39279c17f36a | 70967a72170bd52f9836c94b9174f1b9726270ab | refs/heads/master | 2022-03-28T14:25:49.853625 | 2017-11-05T09:03:59 | 2017-11-05T09:03:59 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 121,173 | cpp | rtree.cpp | /*rtree.cpp
this file implements the RTree class*/
// switch to turn on/off debugging information
//#define FILE_DEBUG // output to files.
#define CMD_DEBUG // output to the screen.
#define _CRTDBG_MAP_ALLOC
#include<stdlib.h>
#include<crtdbg.h>
#include <vector>
#include <math.h>
#include <float.h>
#include <st... |
9ca9e8fbfd3e3788e4ed96da1f1a0c07bf784fe5 | 188cbf5dd41d87c17632ff568cf08bd49eb07fec | /Probability_theory/main.cpp | 1dbdb76f8ba0c773bc01c6eec3d485a1d3867101 | [] | no_license | whekin/Probability_theory_exp | cc15010f153546fb7bc5a842fe0979ddc5281a18 | 4c68b2302cc42338a3f405e132815609c825c175 | refs/heads/master | 2020-04-06T12:38:02.630486 | 2018-12-09T12:06:35 | 2018-12-09T12:06:35 | 157,463,437 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,856 | cpp | main.cpp | #include <iostream>
#include <vector>
#include "ins.h"
#include "experiment.h"
#include "experiment_handler.h"
#include "to_interval.h"
#include "mathAnalytically.h"
#include <SFML/Graphics.hpp>
#include <SFML/OpenGL.hpp>
#include "table/TextTable.h"
#include "Poligon.h";
#include <cmath>
using namespace std;
int mai... |
801f5403d7b0116031bb1e755225a9b3a159688d | 4019f3d4f76a1d9cfe6099c9c9780cd69d4a187e | /Compilers/src/main.cxx | 5a7b45c192425aa27cf163c6160779ec0bfd92b9 | [] | no_license | electricFeel/Ant-Runner | 4f431539feeb69529f24358e6141e2bf8aef6780 | b68ea4e357db29a96accf8152415cfb21f3dd7ef | refs/heads/master | 2022-02-05T07:20:44.499885 | 2009-07-05T21:06:20 | 2009-07-05T21:06:20 | 244,880 | 0 | 1 | null | 2022-01-27T16:18:36 | 2009-07-07T02:21:49 | Java | UTF-8 | C++ | false | false | 4,145 | cxx | main.cxx | /******************************************************************************/
/* IAP In-System Application Programming Demo */
/******************************************************************************/
/* This file is part of the uVision/ARM development tools. ... |
cbdcb7ff3ead8bf4b3af459f0bb482b6eeacee61 | 2421c7328589b9392c68ef0a1e99f7523e6b6dfa | /KiwiWidgets/KiwiGuiButton.cpp | 603741879657f406738f00b7b0a5486eec207fb8 | [] | no_license | KiwiMusic/KiwiGui | 58beedacdfa1ce9f5e4f4bf5ef74ce35890eda27 | 073f04fda1c415bc5bab533ecb126e733b7b9b61 | refs/heads/master | 2021-01-17T11:19:11.852080 | 2015-06-13T14:38:24 | 2015-06-13T14:38:24 | 29,305,724 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,646 | cpp | KiwiGuiButton.cpp | /*
==============================================================================
This file is part of the KIWI library.
Copyright (c) 2014 Pierre Guillot & Eliott Paris.
Permission is granted to use this software under the terms of either:
a) the GPL v2 (or any later version)
b) the Affero GPL v3
Details ... |
d99debdb6ab7b8b64d9e72d9dbdc17166429f211 | e582e4332a2f1fb7703b60787ff1e5adf162aae7 | /cpp/39_combinationSum.cpp | 4c0de3a7458e3c045158b90ca6f4238b301e9695 | [] | no_license | loversmile/leetcode | eb0b8f275361b52b5441ea456be508b0ea75103e | 5c752fecc28d6032692816ca3468fbf3fad8a29f | refs/heads/master | 2022-12-17T20:13:42.151534 | 2020-09-14T03:47:31 | 2020-09-14T03:47:31 | 294,271,271 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,164 | cpp | 39_combinationSum.cpp | #include <iostream>
#include <vector>
using namespace std;
class Solution {
public:
void dfs(vector<int>& candidates, int target, vector<vector<int>>& res, vector<int>& combine, int idx)
{
if (idx == candidates.size()) return;
if (target == 0) {
res.emplace_back(combine);
... |
11139c3b4ce7c67848ca0423a70b8f82192caece | 3172e1455ae3d40289c122f1e39da054c3137f40 | /Ishrakk_Tawsif-ac/CodeForces/25D/13924326_AC_60ms_3760kB.cpp | f325181fa2f56b786b60ffc8a46d051cc48704a2 | [] | no_license | Ishrak-Tawsif/Accepted-Codes | 959d2e1b444e3a7727ad78945f0590f62819ba31 | 24254c00e4b1c5a0b5ffc8eb2a01ee1d53f9a467 | refs/heads/master | 2020-12-26T19:36:15.048621 | 2020-02-01T13:27:56 | 2020-02-01T13:27:56 | 237,616,661 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,186 | cpp | 13924326_AC_60ms_3760kB.cpp | #include <bits/stdc++.h>
using namespace std;
int dx[8]={0,0,1,-1,1,1,-1,-1};
int dy[8]={1,-1,0,0,1,-1,1,-1};
/*#pragma comment(linker,"/stack:200000000")
#pragma GCC optimize("Ofast")
#pragma GCC target("sse,sse2,sse3,ssse3,sse4,popcnt,abm,mmx,avx,tune=native")*/
#define sf(nn) scanf ("%d", &nn)
#de... |
b9aa14f0c94d77c92c496d34205f35b1bf5894a2 | ed54435352f5c9a55eb01c579535265f1a734ba0 | /common/src/World.cpp | b4b49d1248346f6f299392fc43cd0af35f50e0a1 | [] | no_license | LoganBarnes/LogiBearPlayground | cd9ab5f0b3c4dfb8aafa4ba560fac2f2d637e394 | 718ed2cfef9ba615741be33f6b1da8745b8937c2 | refs/heads/master | 2020-04-06T06:36:38.998038 | 2016-10-09T08:58:37 | 2016-10-09T08:58:37 | 70,309,496 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 684 | cpp | World.cpp | #include "World.hpp"
namespace lbc
{
/////////////////////////////////////////////
/// \brief World::World
///
/// \author LogiBear
/////////////////////////////////////////////
World::World( )
{}
/////////////////////////////////////////////
/// \brief World::~World
///
/// \author LogiBear
/////////////////////... |
faa55d9bfc2ac81848332a89317fa316a77d6523 | f35339490b06ad09f6537da693ca577fa1ae0f18 | /Employee.h | aab323c7fcbaf3045d46b3c97957b6fb2101788f | [] | no_license | athfemoiur/companyProject | 53fcc70f1b6eed0592f5dc25e6351414fa2fa92c | 81e83d5f27f221d26055463b1113eef786e3aef1 | refs/heads/master | 2023-05-29T10:03:59.356870 | 2021-06-14T04:58:49 | 2021-06-14T04:58:49 | 376,317,050 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,014 | h | Employee.h | #ifndef COMPANY_PROJECT_EMPLOYEE_H
#define COMPANY_PROJECT_EMPLOYEE_H
#include <ostream>
#include "istream"
#include "Person.h"
class Employee : public Person {
protected:
int hourWork;
int salaryPerHour;
int workToDo;
int workDone;
public:
Employee(const string &, const string &, const Address &,... |
ab31573c838e671571cba58da5dac4f5cca46a71 | 69dd4bd4268e1c361d8b8d95f56b5b3f5264cc96 | /GPU Pro5/06_Compute/Object-order Ray Tracing for Fully Dynamic Scenes/Application/RayTracing/header/RayTracing/LightEffectDriver.h | d4038b84af830cbcc830961caef5103e55cdb021 | [
"MIT",
"BSD-3-Clause"
] | permissive | AnabaenaQing/Source-Code_ShaderX_GPU-Pro_GPU-Zen | 65c16710d1abb9207fd7e1116290336a64ddfc86 | f442622273c6c18da36b61906ec9acff3366a790 | refs/heads/master | 2022-12-15T00:40:42.931271 | 2020-09-07T16:48:25 | 2020-09-07T16:48:25 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,083 | h | LightEffectDriver.h | #pragma once
#include "Tracing.h"
#include <beScene/beLightEffectDriver.h>
#include "TracingEffectBinder.h"
namespace app
{
namespace tracing
{
class TracingEffectBinderPool;
/// Light effect driver.
class LightEffectDriver : public besc::LightEffectDriver
{
protected:
TracingEffectBinder m_tracingBinder; ///<... |
a8e68059794148f6c0e01c44e73f6eeb12928874 | a1e9fbed8e3fdca91aeb30424b4e49164fd8bed0 | /samurai/arduino_5/arduino_5.ino | b5c8940383c85259752a4003c70f4cf6ec6943ab | [] | no_license | tmildemberger/micro_asm | 4c8a7c920f0f88a03627064c123219bb9c2fa289 | 55ff3c5f592f1d8c71f288632a6097a8f7fdca44 | refs/heads/master | 2020-03-08T15:29:24.890570 | 2018-05-24T18:30:32 | 2018-05-24T18:30:32 | 128,213,346 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,091 | ino | arduino_5.ino | /**
* Aluno: Thiago de Mendonça Mildemberger. Data: 24/05/2018
*/
/**
* O sketch usa 584 bytes (1%) de espaço de armazenamento para programas. O máximo são 32.256 bytes.
* Variáveis globais usam 9 bytes (0%) de memória dinâmica, deixando 2.039 bytes para variáveis locais. O máximo são 2.048 bytes.
*/
void setup... |
bf6ce1f8d0b4a400026f8d321d42ad5a9bf50708 | 98f90b3b495d3ae98bf007ff3d5383cc8aeb8adc | /feynman.cpp | c4591b50b8d78b3ae6ccd5b0077472994363210f | [] | no_license | AYRtonMeD/contest-training | f8740de903f61cf2ded62ab1bb5cedc315d51caa | 703658b1b29ed8203527a487372ae7d400e46aab | refs/heads/master | 2021-07-01T13:53:53.459677 | 2020-10-03T23:33:56 | 2020-10-03T23:33:56 | 179,202,441 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 269 | cpp | feynman.cpp | #include <iostream>
using namespace std;
int main(){
int p;
int total;
while (cin >> p && p != 0){
total = 0;
for (int i = 0; i < p; i++){
total += p*p/(i+1)*(i+1);
}
cout << total << endl;
}
return 0;
}
|
c4d1fa7cc2d2b45ef0d5417cd38376e8dfd553e9 | a4d742ef60ae720a8b8ee842400d61981a7399db | /src/widgets/ldapclientsearch.cpp | 2cd3286b1451934b06bee5509dad82b4c9af1319 | [
"CC0-1.0",
"BSD-3-Clause"
] | permissive | KDE/kldap | 84e5bed06cd160504ad4fb741a5d55a811a25944 | d32defc69c9aa45a83776fd05e6dec5fc3cd68d3 | refs/heads/master | 2023-07-31T13:46:41.617870 | 2023-07-31T02:15:37 | 2023-07-31T02:15:37 | 42,736,302 | 10 | 5 | null | null | null | null | UTF-8 | C++ | false | false | 12,842 | cpp | ldapclientsearch.cpp | /* kldapclient.cpp - LDAP access
* SPDX-FileCopyrightText: 2002 Klarälvdalens Datakonsult AB
* SPDX-FileContributor: Steffen Hansen <hansen@kde.org>
*
* Ported to KABC by Daniel Molkentin <molkentin@kde.org>
*
* SPDX-FileCopyrightText: 2013-2023 Laurent Montel <montel@kde.org>
*
* SPDX-License-Identifier: LGPL-... |
41ffb9f66f5254afd92e885091089634fe83f339 | d50b3cf185f19206cc04657efb39e441f8e5ac59 | /GameTemplate/myEngine/ksEngine/graphics/Bloom.cpp | a7121a5c8789f56e0b3d2e0ce387dc2689079ace | [] | no_license | kaito1111/GameTemplete | bf908fe837c7777dd8e6b34dc9a2399f8e044646 | b752228adae4913c831c32270a9a700e72b597fd | refs/heads/master | 2023-08-24T21:10:48.896577 | 2021-10-14T05:21:51 | 2021-10-14T05:21:51 | 278,224,007 | 0 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 5,779 | cpp | Bloom.cpp | #include "stdafx.h"
#include "Bloom.h"
#include "PostEffect.h"
Bloom::Bloom()
{
}
Bloom::~Bloom()
{
if (m_disableBlendState != nullptr) {
m_disableBlendState->Release();
}
//if (m_blurParamCB != nullptr) {
// m_blurParamCB->Release();
//}
//if (m_samplerState != nullptr) {
// m_samplerState->Release();
//}
... |
e210f800fdfd6425362ce1d11cda5f4d7c11eb77 | e0898eaa79845e16ba38d1397976fe55b57604f7 | /prm_planner/prm_planner/src/planners/prm/heuristic.cpp | c080425a8161ae8e63f2e7f946dbf551c4e4d919 | [] | no_license | hitersyw/prm_planner | ef34b2fd55def2d63549233af3b3223cfb04ab79 | c53d33a6882dcee4110958649ae0ca72d34839e3 | refs/heads/master | 2021-09-10T12:38:31.680684 | 2018-03-26T11:59:16 | 2018-03-26T11:59:16 | 299,898,310 | 1 | 0 | null | 2020-09-30T11:33:35 | 2020-09-30T11:33:34 | null | UTF-8 | C++ | false | false | 1,071 | cpp | heuristic.cpp | /*
* Copyright (c) 2016 Daniel Kuhner <kuhnerd@informatik.uni-freiburg.de>.
* All rights reserved.
*
* Created on: Jun 21, 2016
* Author: Daniel Kuhner <kuhnerd@informatik.uni-freiburg.de>
* Filename: heuristic.cpp
*/
#include <prm_planner/planners/prm/heuristic.h>
#include <Eigen/Core>
namespace prm... |
2115073170901d744bb2d273d1bc2f7b8bec6a01 | 33668d1b4d081758b05cd4a22e8628ede7f37208 | /core/source/buffer/vertexBuffer.cpp | c402b7583eb37ad491a9ebdeab110f3cb6a541a6 | [] | no_license | snaildex/ogele | 8612c8e0fd4ad7b6b3ff6dd89cb82d5095a534fd | 35502cc3d92665e8c56001bb336ae822fc2f2388 | refs/heads/master | 2021-07-05T09:19:48.845488 | 2020-08-02T22:10:34 | 2020-08-02T22:10:34 | 140,880,517 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,082 | cpp | vertexBuffer.cpp | #include <stdafx.h>
#include <ogele.h>
namespace ogele {
BufferBase::BufferBase(BufferDataType dataType, size_t structSize, int size) {
switch (dataType) {
case BufferDataType::Byte:
m_elemSize = sizeof(signed char);
break;
case BufferDataType::Short:
m_elemSize = sizeof(signed short);
break;
case ... |
66063f9a8e3da4acb92a48db7eb7497609cdd0d8 | c8b39acfd4a857dc15ed3375e0d93e75fa3f1f64 | /Engine/Source/Runtime/AIModule/Private/BehaviorTree/Decorators/BTDecorator_BlackboardBase.cpp | 8df75ecdf586c66676392aa2333ee4fa03671d11 | [
"MIT",
"LicenseRef-scancode-proprietary-license"
] | permissive | windystrife/UnrealEngine_NVIDIAGameWorks | c3c7863083653caf1bc67d3ef104fb4b9f302e2a | b50e6338a7c5b26374d66306ebc7807541ff815e | refs/heads/4.18-GameWorks | 2023-03-11T02:50:08.471040 | 2022-01-13T20:50:29 | 2022-01-13T20:50:29 | 124,100,479 | 262 | 179 | MIT | 2022-12-16T05:36:38 | 2018-03-06T15:44:09 | C++ | UTF-8 | C++ | false | false | 2,369 | cpp | BTDecorator_BlackboardBase.cpp | // Copyright 1998-2017 Epic Games, Inc. All Rights Reserved.
#include "BehaviorTree/Decorators/BTDecorator_BlackboardBase.h"
#include "BehaviorTree/BlackboardComponent.h"
UBTDecorator_BlackboardBase::UBTDecorator_BlackboardBase(const FObjectInitializer& ObjectInitializer) : Super(ObjectInitializer)
{
NodeName = "Bla... |
032b290b7e876337b299dad5e1972d2f993e935d | f83ef53177180ebfeb5a3e230aa29794f52ce1fc | /ACE/ACE_wrappers/apps/JAWS2/JAWS/Cache_Hash_T.cpp | 022553c65ba90c1bdcb40319933fe576103673a4 | [
"Apache-2.0"
] | permissive | msrLi/portingSources | fe7528b3fd08eed4a1b41383c88ee5c09c2294ef | 57d561730ab27804a3172b33807f2bffbc9e52ae | refs/heads/master | 2021-07-08T01:22:29.604203 | 2019-07-10T13:07:06 | 2019-07-10T13:07:06 | 196,183,165 | 2 | 1 | Apache-2.0 | 2020-10-13T14:30:53 | 2019-07-10T10:16:46 | null | UTF-8 | C++ | false | false | 6,440 | cpp | Cache_Hash_T.cpp | #ifndef JAWS_CACHE_HASH_T_CPP
#define JAWS_CACHE_HASH_T_CPP
#include "JAWS/Cache_Hash_T.h"
#include "JAWS/Hash_Bucket_T.h"
template <class EXT_ID, class HASH_FUNC, class EQ_FUNC> unsigned long
JAWS_Cache_Hash<EXT_ID,HASH_FUNC,EQ_FUNC>::hash (const EXT_ID &ext_id) const
{
return HASH_FUNC (ext_id) % this->size_;
}
... |
4d6b77f0288de0cff20ae53f76d9093946ade8b6 | 32b934cb3ef99474b7295da510420ca4a03d6017 | /GamosPhysics/PhysicsList/src/GmAcollinearEplusAnnihilation.cc | 95af013ee70439a35912239280df8310ec60f364 | [] | no_license | ethanlarochelle/GamosCore | 450fc0eeb4a5a6666da7fdb75bcf5ee23a026238 | 70612e9a2e45b3b1381713503eb0f405530d44f0 | refs/heads/master | 2022-03-24T16:03:39.569576 | 2018-01-20T12:43:43 | 2018-01-20T12:43:43 | 116,504,426 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,829 | cc | GmAcollinearEplusAnnihilation.cc | //
// ********************************************************************
// * License and Disclaimer *
// * *
// * The GAMOS software is copyright of the Copyright Holders of *
// * the GAMOS Collaboration.... |
2b2d9bec30ffe07da883c66f7f1334248f8b7340 | a9e308c81c27a80c53c899ce806d6d7b4a9bbbf3 | /SDK/include/WildMagic4/SDK/Include/Wm4IntrBox3Sphere3.h | b64f6902868de43bf7c83013c707922528e682e7 | [
"BSL-1.0"
] | permissive | NikitaNikson/xray-2_0 | 00d8e78112d7b3d5ec1cb790c90f614dc732f633 | 82b049d2d177aac15e1317cbe281e8c167b8f8d1 | refs/heads/master | 2023-06-25T16:51:26.243019 | 2020-09-29T15:49:23 | 2020-09-29T15:49:23 | 390,966,305 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,680 | h | Wm4IntrBox3Sphere3.h | // Geometric Tools, LLC
// Copyright (c) 1998-2010
// Distributed under the Boost Software License, Version 1.0.
// http://www.boost.org/LICENSE_1_0.txt
// http://www.geometrictools.com/License/Boost/LICENSE_1_0.txt
//
// File Version: 4.10.0 (2009/11/18)
#ifndef WM4INTRBOX3SPHERE3_H
#define WM4INTRBOX3SPHERE3_H
#inc... |
0cf0479a58de8a8666ca6666687d8b8066d0a0a8 | 70e30b2e3a578f509b66f1ee1049b23c5fcceaf0 | /3268/main.cpp | 6be484e29525c2d4c414325a1c5c579e0910822c | [] | no_license | xyzwj/POJ | 283d20a646eb71e42f0b68a4fea56d78c2145769 | ec9389bc57cf6ec4a2c02ad2e8ae28c4130b7d85 | refs/heads/master | 2021-01-17T12:47:14.180223 | 2012-06-14T23:03:19 | 2012-06-14T23:03:19 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,932 | cpp | main.cpp | // Limit: 65536K 2000MS
// Used : 988K 94MS
#include <iostream>
#include <iomanip>
#include <sstream>
#include <vector>
#include <map>
#include <set>
#include <queue>
#include <stack>
#include <algorithm>
#include <cstdio>
#include <cmath>
#include <cstring>
using namespace std;
typedef vector<int> VI;
typedef vect... |
122c040620ea5da469f5926a20293cfddaf1c8ea | 10e6c6416f768d9ce74e70fe900ad475facf41a3 | /src/media/ffmpeg.h | 2869cd57fea301bcb220fd0caa50041ca85ef173 | [
"MIT"
] | permissive | longlonghands/fps-challenge | eddfb809c90d95b0efa5d344ed658064aef672a0 | 020c133a782285364d52b1c98e9661c9aedfd96d | refs/heads/main | 2022-12-27T07:29:56.210284 | 2020-10-13T09:00:48 | 2020-10-13T09:00:48 | 302,957,861 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,295 | h | ffmpeg.h | #pragma once
#include <string>
#include <memory>
#include <inttypes.h>
#define __STDC_CONSTANT_MACROS
extern "C" {
#include <libavutil/opt.h>
#include <libavcodec/avcodec.h>
#include <libavformat/avformat.h>
#include <libswscale/swscale.h>
#include <libavutil/log.h>
#include <libavutil/base64.h>
#include <libavdevice... |
13912499dd87817a42e21b76a2ada80f810345d9 | 851a98a0428854bb0e928d42e546e7fa25943003 | /src/objects/tex_string.cpp | 051ff1d2e44fe0ce0aca23a696ee16a7d02f69bf | [
"MIT"
] | permissive | algorithm-archivists/GathVL | 18aeea5756d1453c947fdcf8d4c7331d50305596 | 0e5c682d8ba0e63129384f7ba102203ce801f4d8 | refs/heads/master | 2021-12-24T12:25:02.555141 | 2021-12-16T15:46:41 | 2021-12-16T15:46:41 | 126,804,528 | 12 | 4 | MIT | 2021-12-16T15:46:41 | 2018-03-26T09:21:43 | C | UTF-8 | C++ | false | false | 5,514 | cpp | tex_string.cpp | #include "../../include/objects/tex_string.h"
#include "../../include/stb_image.h"
#include "../../include/stb_image_resize.h"
#include "../../include/systems/system.h"
#include <cstdio>
#include <iostream>
#include <fstream>
#include <random>
#include <vector>
static const char tex_template[] =
"\\documentclass[... |
f1820a0e278f6d9bf8e69ba47733b8a6311c0e92 | ba77bae271c17c794b7cf6e05862a85f6e21b283 | /Source/Lift_Off_Laetus/PowerUps/HarvestSource.h | 7a64b75edfd1b088334cb6c8dbba5b77d58d283b | [
"MIT"
] | permissive | Used-Unicycle-Usurpers/Lift_Off_Laetus | 0dc2fe48a1621ad6d52639415df1634bf0670ea5 | de72f3cf9b8edec6e884a0970fc4c0507a8cbc7c | refs/heads/main | 2023-04-23T13:05:17.509567 | 2021-05-13T19:49:56 | 2021-05-13T19:49:56 | 356,085,470 | 0 | 1 | MIT | 2021-05-13T19:49:57 | 2021-04-09T00:27:54 | C++ | UTF-8 | C++ | false | false | 1,207 | h | HarvestSource.h | // Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "GameFramework/Actor.h"
#include "PowerUpActor.h"
#include "../GameManagement/GameEnums.h"
#include "HarvestSource.generated.h"
UCLASS()
class LIFT_OFF_LAETUS_API AHarvestSource : public AAct... |
f6e271e56ac87e05d97343ce8f752476854e8311 | 38a0aa9160d74ac7470a97830b13aee81a510a63 | /tests/Blast/FileExistenceCheckerTest.cpp | 239ce5ce5c9afbf57a98cc31e533d6555a595855 | [] | no_license | MarkOates/blast | 9339d70dcb8dc4dac2f0b7ff6f28e06640fd6201 | bd0d6d49706e88673c2187506cfa6eb0ca9d5cf5 | refs/heads/master | 2023-08-20T05:54:29.438877 | 2023-08-17T01:02:42 | 2023-08-17T01:02:42 | 116,609,192 | 0 | 0 | null | 2022-08-31T01:35:49 | 2018-01-08T00:07:51 | C++ | UTF-8 | C++ | false | false | 1,143 | cpp | FileExistenceCheckerTest.cpp |
#include <gtest/gtest.h>
#include <Blast/FileExistenceChecker.hpp>
#ifdef _WIN32
#define TEST_FIXTURES_PATH "/msys64/home/Mark/Repos/blast/tests/fixtures/"
#else
#define TEST_FIXTURES_PATH "/Users/markoates/Repos/blast/tests/fixtures/"
#endif
TEST(Blast_FileExistenceCheckerTest, can_be_created_without_blowing_up)
{... |
d78aec32505a9a6ef487821eabe75bfd37d6e18d | e7f9d01e7fac9d9f2cb7fc8f4cc09d91f4c0d0ed | /Game/unittests_gpp/unittests.cpp | 4665e3f7c95522e37742fdb7c70c5e4810855773 | [
"MIT"
] | permissive | pampersrocker/risky-epsilon | 912a14d92ac53230e305bb7b7cbd2a64c359df2a | 28f85a00f9d98c287e83cfca6542c9d78b1ab529 | refs/heads/master | 2021-01-22T11:37:37.648880 | 2014-07-31T22:43:39 | 2014-07-31T22:43:39 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 941 | cpp | unittests.cpp |
#include "stdafx.h"
#include "gep/unittest/UnittestManager.h"
// implement new/delete
#include "gep/memory/newdelete.inl"
int main(int argc, const char* argv[])
{
bool doDebugBreaks = false;
bool pause = true;
for(int i=1; i<argc; i++)
{
if(!strcmp(argv[i], "-debugbreak"))
... |
43517eef1e0f2994be76ae017b8bd479a5902a58 | e6d37821568e951670ad4efdf6ceb28ae6fd3bca | /Src/SDE/SimulateNavigate/SpatialIndex/StaticRTree/StaticRTree.cpp | 9bca0649cc98ed22315123a184f4dd3476e40d80 | [] | no_license | xzrunner/sde | 8e927f1cad72182935053ffcb89b16cbeb07406e | ad1b5a2252e84bd8351205f9b2386358dc5c9c3b | refs/heads/master | 2020-03-22T18:57:04.442857 | 2018-07-10T22:28:19 | 2018-07-10T22:28:19 | 140,493,562 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 17,844 | cpp | StaticRTree.cpp | #include "StaticRTree.h"
#include "../../../NVDataPublish/Features/BulkLoader.h"
#include "../../../NVDataPublish/Features/Data.h"
#include "../../../NVDataPublish/Features/Strategy.h"
using namespace IS_SDE;
using namespace IS_SDE::SimulateNavigate::SpatialIndex::StaticRTree;
ISpatialIndex* SimulateNavigate::Spatial... |
73b8aade87be24e2f6034dcee54749b8d488a506 | 85ca284d9c99c841818bf8390f3dc8593eeedb65 | /Lesson8/Activity18/travel_itinerary.cpp | 76d71a1c227c970d7d91bf11ad4bb8228f1f3c37 | [
"MIT"
] | permissive | sunkyoo/CPP-Data-Structures-and-Algorithms | 51d28f080fd96fffd8b53df8d296925263b5c7bb | 38d68057891f6be998e8d4f169d1e29245d68a96 | refs/heads/main | 2023-02-28T04:16:30.303510 | 2021-02-09T02:35:24 | 2021-02-09T02:35:24 | 326,623,052 | 11 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,560 | cpp | travel_itinerary.cpp | #include <vector>
#include <algorithm>
#include <iostream>
using namespace std;
typedef long long LL;
const LL MOD = 1000000007;
LL TravelItinerary(int n, vector<int> distance)
{
reverse(distance.begin(), distance.end());
vector<LL> DP(n + 1, 0);
vector<LL> sums(n + 2, 0);
DP[0] = sums[1] = 1;
for (int i =... |
dcdd7b7e48cc058d185707955a6a3635ee556c5c | 38616fa53a78f61d866ad4f2d3251ef471366229 | /3rdparty/GPSTk/ext/lib/Vdraw/PSImage.cpp | b71197f430145cbc8797f6b49c0bc977853adc2e | [
"GPL-3.0-only",
"LGPL-2.0-or-later",
"LGPL-3.0-only",
"LGPL-2.1-or-later",
"GPL-1.0-or-later",
"MIT"
] | permissive | wuyou33/Enabling-Robust-State-Estimation-through-Measurement-Error-Covariance-Adaptation | 3b467fa6d3f34cabbd5ee59596ac1950aabf2522 | 2f1ff054b7c5059da80bb3b2f80c05861a02cc36 | refs/heads/master | 2020-06-08T12:42:31.977541 | 2019-06-10T15:04:33 | 2019-06-10T15:04:33 | 193,229,646 | 1 | 0 | MIT | 2019-06-22T12:07:29 | 2019-06-22T12:07:29 | null | UTF-8 | C++ | false | false | 3,417 | cpp | PSImage.cpp | //============================================================================
//
// This file is part of GPSTk, the GPS Toolkit.
//
// The GPSTk is free software; you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as published
// by the Free Software Foundation; ei... |
10a59167c8c1836140be6db05dde3743d8c6ebfe | 774b8fcea7c8b57b7494cc7f48c6593f5e3e0517 | /extras/ESP8266WiFi_nossl_noleak/src/ESP8266WiFiAP.h | 74e885026c248b9640678f2208acc9fef6eecfe0 | [
"MIT"
] | permissive | Mixiaoxiao/Arduino-HomeKit-ESP8266 | a180603fe20db0374d00ce2266827249151e76af | 8a8e1a065005e9252d728b24f96f6d0b29993f67 | refs/heads/master | 2023-08-03T12:49:47.785503 | 2022-07-21T18:02:27 | 2022-07-21T18:02:27 | 240,946,290 | 1,385 | 274 | MIT | 2023-07-19T12:21:00 | 2020-02-16T18:50:03 | C | UTF-8 | C++ | false | false | 2,103 | h | ESP8266WiFiAP.h | /*
ESP8266WiFiAP.h - esp8266 Wifi support.
Based on WiFi.h from Arduino WiFi shield library.
Copyright (c) 2011-2014 Arduino. All right reserved.
Modified by Ivan Grokhotkov, December 2014
Reworked by Markus Sattler, December 2015
This library is free software; you can redistribute it and/or
modify it under th... |
037dfd362648e61b6c02d100ff6c45b6145ef2dd | 7d0de46d1e9e8eb84cd1061fa146dcf06ab8b0a3 | /DEMO/DEMO/Pista.cpp | 92030e0806b1d8863e845bf90874b09b99892ba1 | [] | no_license | fundDEMO/DEMOProject | 118f079d225a424563290b89660b92942a46dc23 | 644724011e36f2e4d9135dbe3d320983c8a5e0bf | refs/heads/master | 2021-01-10T18:59:49.441109 | 2015-01-16T20:22:27 | 2015-01-16T20:22:27 | 28,597,057 | 0 | 0 | null | null | null | null | WINDOWS-1250 | C++ | false | false | 775 | cpp | Pista.cpp | // Pista.cpp: implementación de la clase Pista
#include "Pista.h"
#include <vector>
#include <string>
Pista::Pista() // Constructor default.
{
pistaId = "";
audio = "";
clipEn0 = new ClockTime(0, 0, 0, 0);
efectosAplicados = new std::vector<Efecto*>;
masterVolume = 0.0f;
looped = false;
activ... |
4c6def7941509992ce873b716d2bbc534560f0fa | 1990124c36c0417193293380473de3d86ee85e8c | /test/core/src/opcodes/extended/cpufirmware_sla.cpp | 1423eb29a19a5dff702caca20293d910f517b021 | [] | no_license | ien646/sleepy | d60ae1b160eab265f342c34495e69c6efbca7e75 | 73c5cb7a2591fb1e886998dd51a9f10c652927e9 | refs/heads/master | 2020-04-25T06:08:40.682867 | 2020-01-06T22:01:53 | 2020-01-06T22:01:53 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,512 | cpp | cpufirmware_sla.cpp | #include <catch2/catch.hpp>
#include "../../cpufw_test_init.hpp"
namespace sleepy
{
TEST_CASE("CpuFirmware_SLA")
{
SECTION("CpuFirmware_SLA_Registers_Flags")
{
CPUFW_SLEEPY_TESTINIT();
auto& sla_b = inst_map[opcode(0xCB, 0x20)];
auto& sla_c = inst_map[opcode(0xCB... |
cd24a1fdc9b50f97f9f6a99b514cb462b80b3b2b | 3e482a2e67038a9739d1cd2c8238837e32d18305 | /Engine/cDebugRenderer.cpp | 55591d035cbb79e36bca9c3bfc74beec2427bd63 | [] | no_license | araujojr82/Graphics2_Midterm | e94568165fd5875b71a5310a2528034f2d89e2e6 | 9b52c4020ca5b85080ef4b5671734b752569505a | refs/heads/master | 2021-04-12T04:32:23.925142 | 2018-05-07T19:15:36 | 2018-05-07T19:15:36 | 125,884,835 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 24,594 | cpp | cDebugRenderer.cpp | #include "cDebugRenderer.h"
#include "globalOpenGL_GLFW.h"
#include "cShaderManager.h"
#include <glm/mat4x4.hpp> // glm::mat4
#include <glm/gtc/matrix_transform.hpp> // glm::translate, glm::rotate, glm::scale, glm::perspective
#include <glm/gtc/type_ptr.hpp> // glm::value_ptr
#include <sstream>
#include <fstream>... |
05e6b93d0ecd234df2a0a9502275d148be4a06a2 | 36136944e4e0e334660e95fdadca3a0e62f8d2a6 | /Engine/Source/ZeronPlatform/Platform/API/Shared/GLFW/WindowGLFW.cpp | 291ee67be5c8f3956c5f626a544e13eb72c2a6ce | [
"MIT"
] | permissive | ekokturk/ZeronEngine | 0abf914549d6f68a3ec00cee53f0c6ca2a92173a | bdedeb3de5dbb98b1f570a901a095ac23af92275 | refs/heads/main | 2023-04-29T16:48:38.177272 | 2023-04-22T23:37:30 | 2023-04-22T23:37:30 | 241,022,858 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,978 | cpp | WindowGLFW.cpp | // Copyright (C) Eser Kokturk. All Rights Reserved.
#if ZE_WINDOW_GLFW
# include <Platform/API/Shared/GLFW/WindowGLFW.h>
# include <GLFW/glfw3.h>
# include <Platform/API/Shared/GLFW/GLFWHelpers.h>
namespace Zeron
{
int WindowGLFW::mWindowGLFWCount = 0;
WindowGLFW::WindowGLFW(const WindowConfig& config, void* use... |
198bc219bbd719cdac206b24243738bd1248ca8c | b53575b4f1da8246e9abbb2bf4d297fd0af75ebb | /UVa/10900/10926.how-many-dependences.cpp | 560b295c34d4cbe17fd40629fa8206b7f2147d0f | [] | no_license | mauriciopoppe/competitive-programming | 217272aa3ee1c3158ca2412652f5ccd6596eb799 | 32b558582402e25c9ffcdd8840d78543bebd2245 | refs/heads/master | 2023-04-09T11:56:07.487804 | 2023-03-19T20:45:00 | 2023-03-19T20:45:00 | 120,259,279 | 8 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,373 | cpp | 10926.how-many-dependences.cpp | #include<iostream>
#include<string>
#include<cmath>
#include<cctype>
#include<algorithm>
#include<bitset>
#include<vector>
#include<queue>
#include<map>
#define M 101
using namespace std;
vector<vector<int> > g;
int mx,best,temp;
bitset<M> d;
void dfs(int u)
{
d[u]=1;
for(int i=0;i<g[u].si... |
04895faa9652e7285e3c0afacdd10be479e8d5ae | 32118aee792fb9a9a29ca5ce533dd1e88c771ead | /ООП лаба БГУиР/main.cpp | 37a1c6a96e25a11f4d1c39b90ca87386fd0f589d | [] | no_license | vakden/cpp | bff2c1dd4d8552645b59dc796c918ba90fa531b8 | 343d50d3ffe99d5846dd011c8501824bf8f20ed6 | refs/heads/main | 2023-04-03T12:04:29.599629 | 2021-04-14T19:54:47 | 2021-04-14T19:54:47 | 357,787,663 | 1 | 0 | null | null | null | null | ISO-8859-6 | C++ | false | false | 780 | cpp | main.cpp | #include <iostream>
#include "Header.h"
using namespace std;
int main()
{
try
{
setlocale(LC_ALL, ".1251");
List L;
L.ListPrint();
L.InsertFirst('w');
L.ListPrint();
L.InsertLast('a');
L.ListPrint();
L.InsertFirst('b');
L.ListPrint();
L.InsertLast('c');
L.ListPrint();
L.I... |
251e1633cf93ec3261435b1ab0d3a6591a41ad90 | 883887c3c84bd3ac4a11ac76414129137a1b643b | /Voip/VoipManServer/include/PipeProtocol/KickedOut.h | f2a86c763410f7f6fbccc11a6c3cdc0f6d4646eb | [] | no_license | 15831944/vAcademia | 4dbb36d9d772041e2716506602a602d516e77c1f | 447f9a93defb493ab3b6f6c83cbceb623a770c5c | refs/heads/master | 2022-03-01T05:28:24.639195 | 2016-08-18T12:32:22 | 2016-08-18T12:32:22 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 129 | h | KickedOut.h | #pragma once
#include "CommonPipePacketOut.h"
class CKickedOut : public CCommonPipePacketOut
{
public:
CKickedOut(byte aID);
}; |
f7173fa4db059388d268fc493a2e111ccceeac0d | 5cbe1a50ac812d5954918a1f6bcdbbb696793bed | /MVMFirmwareUnitTests/simulated_i2c_device.h | 885f0ccdc8ca8309ef5960254d15cc3b4dfba686 | [
"Apache-2.0"
] | permissive | vpesudo/mvm-firmware | e03415d04ee58769b058694c11199d6041130a9c | 869c867cc2440f236d1e649a5d0fbc1398528a14 | refs/heads/master | 2022-06-27T08:03:10.946548 | 2020-05-08T16:57:15 | 2020-05-08T16:57:15 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,391 | h | simulated_i2c_device.h | //
// File: simulated_i2c_device.h
//
// Author: Francesco Prelz (Francesco.Prelz@mi.infn.it)
//
// Revision history:
// 23-Apr-2020 Initial version.
//
// Description:
// Base class to describe simulated I2C devices.
//
#ifndef _I2C_DEVICE_SIMUL_H
#define _I2C_DEVICE_SIMUL_H
#include <functional>
#include <sstream>
... |
755ec99c569edb8bb96c4d5e0789209ff8f2d3ce | 21dfcc44840cb94058bcd014946f2a38fbf30c54 | /src/regal/RegalPpa.h | 55bbf8bd8b9263b8afa4a5d64fb2544037459f96 | [
"SGI-B-2.0",
"MIT",
"Libpng",
"BSD-3-Clause",
"LicenseRef-scancode-glut",
"Zlib",
"LicenseRef-scancode-public-domain",
"BSD-2-Clause",
"Unlicense"
] | permissive | nigels-com/regal | 819a74deeeac00860bcb6f21c3e59ccad1b78448 | 3f1a06d5c098339d30221c9e999640e4c5437a0b | refs/heads/master | 2020-12-14T16:19:29.701418 | 2015-10-18T08:57:48 | 2015-10-18T08:58:56 | 9,986,650 | 2 | 3 | null | 2014-07-12T07:28:49 | 2013-05-10T17:35:20 | C++ | UTF-8 | C++ | false | false | 78,490 | h | RegalPpa.h | /*
Copyright (c) 2011-2013 NVIDIA Corporation
Copyright (c) 2011-2012 Cass Everitt
Copyright (c) 2012 Scott Nations
Copyright (c) 2012 Mathias Schott
Copyright (c) 2012 Nigel Stewart
All rights reserved.
Redistribution and use in source and binary forms, with or without modification,
are permitted prov... |
0dfc66ad9a624104d162a95fd0d1159cd73109c5 | b01195f7a4d6559c7483419cbf479aab290f4154 | /Chapter_08_Inheritance_Code.cpp | 939dbf3ed337ed5466d32f2f80e2cfbd68cba28c | [] | no_license | huanfeiwang/PIC10B-Projects | 7d9461305082867b727cfcb521b4cda333ea36d3 | 328ca464c25c19b2e3d8af031ccffa7e92ed228b | refs/heads/master | 2022-02-27T19:03:54.556430 | 2019-10-29T08:10:27 | 2019-10-29T08:10:27 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,948 | cpp | Chapter_08_Inheritance_Code.cpp | #include <vector>
#include <iostream>
#include <cstring>
#include <string>
#include <iomanip>
using namespace std;
class Point2D
{
public:
Point2D() {}
Point2D(double a, double b) { x = a; y = b; }
void setx(double a) { x = a; }
void sety(double b) { x = b; }
double getx() const { return... |
bcb4d90f28650713ac9bf42cd99cd189c120c3a8 | eef2c88186610a5ff4b56fac5c3c53773a0bcce1 | /prova2/c.cpp | 50586a400c9cb4e2c293145aad013c8c9f46eacd | [] | no_license | heronsousa/PPC | c9933b877989430f9c6735027e0ce1362030dea5 | 5e2c11c2b2a148778c57a7eac7818c2ccb91c477 | refs/heads/master | 2020-07-03T13:51:26.373175 | 2019-08-12T12:25:12 | 2019-08-12T12:25:12 | 201,925,116 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 550 | cpp | c.cpp | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
int main(){
ll m, n, v;
vector<ll> val;
val.push_back(0);
cin >> m >> n;
ll sum=0;
while(n--){
cin >> v;
val.push_back(v);
}
ll ans = 0;
for(ll i=0; i<val.size(); i++){
if(val[i] > 0) ans+=val[i];
else if(val[i]... |
3900a32a31f1094ac50ed2b236bf836a295513ae | 675e55b07deb42ad99dddbe8746899e051127701 | /26_Rm_Duplicates_from_Sorted_Array/26.cpp | d89b4d0c11de013a17d5029ccf97a85d70a805e7 | [] | no_license | wyc25013/leetcode | 3bbef070b72a16666a1cdf0d4710d3558c30f4be | 5358f3c2cc7a5999d134b77bc87c8764dad2ddc2 | refs/heads/master | 2021-01-18T15:17:05.658334 | 2015-10-14T02:14:39 | 2015-10-14T02:14:39 | 37,750,911 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 583 | cpp | 26.cpp | #include <iostream>
using namespace std;
class Solution {
public:
int removeDuplicates(int A[], int n) {
if(!n)
return 0;
int *head = A;
int *tail = A;
int count = 1;
int i = 0;
while (i < n - 1) {
tail++;
if(*tail == *head) {
... |
6e994da8c7c62cf4043fd347e5e60ba984cfb63f | c35f3fdc158d100e328b901827f07fc485e31c0a | /src/host/ut_host/CommandNumberPopupTests.cpp | 8c4460ec8a0e0bfc0278f01f8c707f553b99b470 | [
"MIT",
"LicenseRef-scancode-object-form-exception-to-mit",
"BSD-3-Clause",
"BSD-2-Clause",
"Unlicense",
"LGPL-2.1-or-later"
] | permissive | cinnamon-msft/terminal | dee3e60459994f39fa035e2f17b7b7478eacee6b | 4deee64b0fce46827ce2fdda5c91917297e1c9d2 | refs/heads/main | 2023-05-12T15:24:51.369560 | 2023-04-17T15:53:18 | 2023-04-17T15:53:18 | 282,002,283 | 16 | 0 | MIT | 2023-04-17T18:55:48 | 2020-07-23T16:27:47 | C++ | UTF-8 | C++ | false | false | 11,972 | cpp | CommandNumberPopupTests.cpp | // Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
#include "precomp.h"
#include "WexTestClass.h"
#include "../../inc/consoletaeftemplates.hpp"
#include "CommonState.hpp"
#include "PopupTestHelper.hpp"
#include "../../interactivity/inc/ServiceLocator.hpp"
#include "../CommandNumb... |
b8ab4778259207e90f4c0fc7b323321ce7052738 | 58a0ba5ee99ec7a0bba36748ba96a557eb798023 | /CodeForces/Complete/400-499/426B-SerejaAndMirroring.cpp | 5666697c652b9056565727c9e4c8732aa050031b | [
"MIT"
] | permissive | adityanjr/code-DS-ALGO | 5bdd503fb5f70d459c8e9b8e58690f9da159dd53 | 1c104c33d2f56fe671d586b702528a559925f875 | refs/heads/master | 2022-10-22T21:22:09.640237 | 2022-10-18T15:38:46 | 2022-10-18T15:38:46 | 217,567,198 | 40 | 54 | MIT | 2022-10-18T15:38:47 | 2019-10-25T15:50:28 | C++ | UTF-8 | C++ | false | false | 495 | cpp | 426B-SerejaAndMirroring.cpp | #include <cstdio>
#include <iostream>
#include <vector>
int main(){
int n(0), m(0); scanf("%d %d\n", &n, &m);
int output = n;
std::vector<std::string> rows(n, " ");
for(int k = 0; k < n; k++){getline(std::cin, rows[k]);}
bool stop = 0;
while(output % 2 == 0){
for(int k = 0; k < outp... |
4a5e267ae8e5de15db82dd4e73cc4a46b4c60ae1 | e5503be4f2e97e90fb5a078711b5d79b17dc5c6c | /map/seychia_room_db.cpp | 37e086994fa3a3300803f67c9dca383c0407b068 | [] | no_license | Michal-Atlas/TextAdventure-Experiments | aa0f7c8eb92d4d49f3ccb776e7374164a0b16f15 | 8edbc60a3f084385f886bf6448ed3db9741c5056 | refs/heads/master | 2022-12-03T04:33:29.569615 | 2020-08-10T12:07:58 | 2020-08-10T12:07:58 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 340 | cpp | seychia_room_db.cpp | #include <map>
#include "map.h"
namespace DawnStorm {
std::map<std::string, Room> Room::DB = {
{"dungeon_0", Room{
"The Lone Wild",
{
{
"rock"
}
}
... |
78aef4593c44510d39a91edbc75156fdc7b70e6b | 613de79e1134485ce750cfbcdd2d2293831ca7f8 | /CP_Platform_Bucket/CodeChef/chefcake.cpp | 74ccba78ddc548a9041320a08ca2ee4875ff9093 | [] | no_license | arkch99/CodeBucket | a668ad69bd759a2545ec402652c0c3fadfa6e489 | 2a4959114e3d9a501211afeb2341dc729f4042c2 | refs/heads/master | 2023-01-08T11:23:56.765635 | 2020-10-30T07:03:55 | 2020-10-30T07:03:55 | 303,733,044 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 365 | cpp | chefcake.cpp | #include<bits/stdc++.h>
using namespace std;
int fact(int n)
{
if(n==0||n==1)
return 1;
else
return n*fact(n-1);
}
int main()
{
int t;
cin>>t;
while(t--)
{
int n;
cin>>n;
long long int i,j,a[n],sum=0;
for(i=0;i<n;i++)
cin>>a[i];
for(i=0;i<n;i++)
for(j=1;j<pow(10,n);j*=10)
sum+=j*a[i]*(fact... |
a41d74dc8520f2f04b82a272511a496f6ce80a5f | 753777cd3722ad731f848908e94adc7630c8cf4f | /CSE 461 - Advance Operating Systems/Lab7/Table.cpp | f356da13ba1b4ed9bc99da80e64e1b10a62c0aa1 | [] | no_license | MikeSmith14/School-Work | cf6bac0b791689f302844ecc1c16ecea55f8e7aa | eb31894356463bd65e73a17a2d3a1fd7d1a6da45 | refs/heads/master | 2020-04-15T08:21:58.108962 | 2019-01-08T01:24:30 | 2019-01-08T01:24:30 | 164,520,007 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,472 | cpp | Table.cpp | #include <fstream>
#include <sstream>
#include <iostream>
#include <string>
#include <iomanip>
#include "Filesys.h"
#include "Table.h"
using namespace std;
Table::Table(string diskname, int blocksize, int numberofblocks, string flatfile, string indexfile) :Filesys(diskname, numberofblocks, blocksize), flatfile(flatfi... |
bcd7ee742198a02bedcb5cead72a6f4774c01bb1 | a9e4c398451c8b0d1711d3dffb3fc19ab4a6eb8c | /C++/include/ParameterData.h | bb7f80f2593d91f300cb0b5bf319b100b3daac19 | [
"LicenseRef-scancode-us-govt-public-domain"
] | permissive | supriyantomaftuh/icarous | df0ef8c5571672f65e3baadb3b6ec1d50d919876 | b0d2262a89f5783bcad5664991d80b73be316b64 | refs/heads/master | 2017-12-07T15:16:49.563140 | 2017-03-10T04:37:26 | 2017-03-10T04:37:26 | 69,625,426 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 10,297 | h | ParameterData.h | /*
* Copyright (c) 2014-2016 United States Government as represented by
* the National Aeronautics and Space Administration. No copyright
* is claimed in the United States under Title 17, U.S.Code. All Other
* Rights Reserved.
*/
#ifndef PARAMETERDATA_H_
#define PARAMETERDATA_H_
#include "Units.h"
#include "Err... |
f8d3b5f87fdaf535198bb7d2b2b44b3127003725 | ca3ad5bd204721d5f9e3df39d8030816fd14ea08 | /ch01/ex1_15.cpp | 1bbecc19cd024662b2d356b78343513505d1d578 | [] | no_license | sealingShing/cpp_Primer | 2dffb9a533666cb1aa33e0690324e12cd358bef3 | e4d1e37ad4bde04358fc380017b146fb3560161b | refs/heads/main | 2023-07-19T05:09:11.323236 | 2021-09-14T11:21:56 | 2021-09-14T11:21:56 | 394,485,621 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 302 | cpp | ex1_15.cpp | //
// Created by wfs on 2021/8/10.
//
#include "iostream"
using namespace std;
int main(){
cout << "Read each file." << endl;
cout << "Update master." << endl;
cout << "Write new master." << endl;
int v1 = 0, v2 = 0;
cin >> v1 >> v2;
cout << v1 + v2 << endl;
return 0;
} |
00199226e83775e86600d36ca70a1ab7a3f90ee2 | 0dda8cef707f38f5058c3503666cbe3bf6ce8c57 | /CODEFORCES/1307B_Cow_and_Friend.cpp | c622f15017e82ff12aa10593c0b168f449fd82b9 | [] | no_license | Yuessiah/Destiny_Record | 4b1ea05be13fa8e78b55bc95f8ee9a1b682108f2 | 69beb5486d2048e43fb5943c96c093f77e7133af | refs/heads/master | 2022-10-09T07:05:04.820318 | 2022-10-07T01:50:58 | 2022-10-07T01:50:58 | 44,083,491 | 0 | 1 | null | 2017-05-04T12:50:35 | 2015-10-12T04:08:17 | C++ | UTF-8 | C++ | false | false | 432 | cpp | 1307B_Cow_and_Friend.cpp | #include<bits/stdc++.h>
using namespace std;
int const maxn = 1e5 + 10;
int t, n, x, a;
int main()
{
scanf("%d", &t);
while(t--) {
scanf("%d%d", &n, &x);
int mx = 0;
bool eq = false;
for(int i = 0; i < n; i++) {
scanf("%d", &a);
if(a == x) eq = true;
mx = max(mx, a);
}
... |
f0e5a242a138be04f9529b9f922bc66571f9473f | 65f9576021285bc1f9e52cc21e2d49547ba77376 | /LINUX/android/vendor/qcom/proprietary/qcril-hal/modules/qmi/src/UimHttpModemEndPointModule.cpp | cf43152c011b391f917d365f44236348098d9daf | [
"Apache-2.0"
] | permissive | AVCHD/qcs605_root_qcom | 183d7a16e2f9fddc9df94df9532cbce661fbf6eb | 44af08aa9a60c6ca724c8d7abf04af54d4136ccb | refs/heads/main | 2023-03-18T21:54:11.234776 | 2021-02-26T11:03:59 | 2021-02-26T11:03:59 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 40,092 | cpp | UimHttpModemEndPointModule.cpp | /******************************************************************************
# @file UimHttpModemEndPointModule.cpp
# @brief Registers with QMI UIM HTTP and sends receives messages to and from
# modem using QMI UIM interface
#
# ----------------------------------------------------------------------... |
7d9683427b74f37b2db3823a3340db0f2e172fd1 | 1ea17fb9415957a1bedd02f121627a094620ed52 | /Session 1/gaonK/3/9461.cpp | 8130535f466ce77bf455ea05712cfe8731357d81 | [] | no_license | gaonK/AlgorithmStudy | e5dd261537c8ec2bb3058d4c7fd05cda599aafc5 | 025f09bc7b18f2c84c5db24a66548c06f86f3d0b | refs/heads/master | 2021-07-09T12:38:13.777563 | 2019-03-07T22:29:49 | 2019-03-07T22:29:49 | 147,552,885 | 2 | 2 | null | 2019-03-07T22:29:50 | 2018-09-05T17:09:58 | C++ | UTF-8 | C++ | false | false | 363 | cpp | 9461.cpp | #include <iostream>
using namespace std;
long long p[101];
int main() {
p[1] = 1;
p[2] = 1;
p[3] = 1;
p[4] = 2;
p[5] = 2;
for (int i = 6; i <= 100; i++) {
p[i] = p[i - 1] + p[i - 5];
}
int T;
cin >> T;
while (T--) {
int N;
cin >> N;
cout ... |
7a0d558a19fc00ad015936adcaa8548047ce1426 | a315d8c81c934f778b4f602fdd1cd77717c6e1b0 | /src/dtl/filter/blocked_bloomfilter/blocked_bloomfilter_config.hpp | 84b132661ae9cda46a092b57fb25cd1de980aaf5 | [
"BSD-3-Clause",
"BSL-1.0",
"Apache-2.0"
] | permissive | diegomestre2/bloomfilter-bsd | ac749c0d452cbd349607872bdf5801a71e4d644f | 4c800910acee25b74d946580d9da893a871cc1e1 | refs/heads/master | 2020-05-16T10:07:59.512210 | 2019-03-07T15:54:42 | 2019-03-07T15:54:42 | 151,229,238 | 0 | 0 | NOASSERTION | 2018-10-02T09:15:29 | 2018-10-02T09:15:29 | null | UTF-8 | C++ | false | false | 1,950 | hpp | blocked_bloomfilter_config.hpp | #pragma once
#include <sstream>
#include <dtl/dtl.hpp>
#include "block_addressing_logic.hpp"
namespace dtl {
//===----------------------------------------------------------------------===//
struct blocked_bloomfilter_config {
$u32 k = 8;
$u32 word_size = 4; // [byte]
$u32 word_cnt_per_block = 1;
$u32 sector... |
bdeb0e6df5b0f55a0eebe1acd86bdf7f606d6d33 | 59f00d4f6fccb6b1103c5aa54f43a6e4d4f8bfc5 | /src/common-lib/IdentificationTools/Substance.cpp | 247b146b68cd668a4d5dd80c7ffe7adcff15f024 | [] | no_license | tomas-pluskal/masspp | 9c9492443bb796533bcb27fe52a0a60e4ba62160 | 808bf095215e549e7eb5317c02c04dfb2ceaba15 | refs/heads/master | 2021-01-01T05:33:44.483127 | 2015-06-07T12:54:17 | 2015-06-07T12:54:17 | 33,917,190 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,266 | cpp | Substance.cpp | /**
* @file Substance.cpp
// implementation of Substance class
*
* @author H.Parry
* @date 2012.01.25
*
* Copyright(C) 2006-2014 Shimadzu Corporation. All rights reserved.
*/
#include "stdafx.h"
#include "Substance.h"
#include "Hit.h"
#include "SearchResult.h"
using namespace kome::ident;
#include <crtdbg... |
bea92c16e5ea2562c9b5a95edac6cde463ebec6b | 1ffe4a35cf8244cb94e2b8e50ffd026f2e9ecef4 | /Tools/ResourceEditor/Classes/Qt/Scene/SceneTabWidget.cpp | 95ea459ff1f05e270cd5d8f1dd1c493032da4e71 | [] | no_license | jjiezheng/dava.framework | 481ff2cff24495feaf0bf24454eedf2c3e7ad4bc | 6e961010c23918bb6ae83c0c3bee5e672d18537b | refs/heads/master | 2020-12-25T08:42:01.782045 | 2013-06-12T11:13:05 | 2013-06-12T11:13:05 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 726 | cpp | SceneTabWidget.cpp | #include "GameCore.h"
#include "Scene/SceneTabWidget.h"
#include <QVBoxLayout>
SceneTabWidget::SceneTabWidget(QWidget *parent)
: QWidget(parent)
, davaUIScreenID()
{
// init all DAVA things
InitDAVAUI();
// create Qt controls and add them into layout
tabBar = new QTabBar(this);
davaWidget = new ... |
01b71dfdfa0ab313606b06783bc71ef8c838abb2 | deceac78497921ad4e732c136e32d275f1910cd5 | /src/mods/Sample.cpp | 3cd9b4397e4169f18aaab97ef361371b4d0e7858 | [
"MIT"
] | permissive | muhopensores/dmc4_hook | 579447f95bce49e6987cdc5aedd2e1f112f0804f | 396838b21ed3c1410c95cfc7c608540405a10ac1 | refs/heads/master | 2023-07-18T04:21:49.925799 | 2023-07-12T02:12:58 | 2023-07-12T02:12:58 | 225,172,831 | 16 | 4 | MIT | 2022-12-21T08:42:29 | 2019-12-01T14:14:17 | C++ | UTF-8 | C++ | false | false | 1,302 | cpp | Sample.cpp | // include your mod header file
#include "Sample.hpp"
#if 0
static uintptr_t jmp_return { NULL };
static bool mod_enabled{ false };
//uintptr_t ModSample::some_shared_ptr{ NULL };
// detour
// naked is defined to __declspec(naked)
naked void detour() {
__asm {
}
}
std::optional<std::string> ModSample::onInitial... |
0fbc5ab98c25a5ce523271c4301144cf0dd8b6ae | a57f34a696c449c5a091edb5c57e1927a38e6064 | /class/deserializador.cpp | a1a9a748850477b5d9633d02e2d623fc46065d4e | [] | no_license | TheMarlboroMan/the-seer | 4ad257473c456452f06314b3f21705f6a5dcb2b2 | eaee3c4b31d568607553a888b88a2739b04cd552 | refs/heads/master | 2021-05-15T04:08:59.374274 | 2021-05-11T11:09:23 | 2021-05-11T11:09:23 | 119,861,400 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,911 | cpp | deserializador.cpp | #include "deserializador.h"
Deserializador::Deserializador(unsigned int indice_archivo):
archivo(Definiciones_serializador_deserializador::construir_ruta_archivo(indice_archivo), std::ios::in),
version(0), id_sala(0), id_entrada(0), error(false)
{
}
Deserializador::~Deserializador()
{
}
bool Deserializador::es_... |
9c8ed44be89112b544cf3e5ccf52afaa2bbd21aa | ee3ab94bab428c5774410d196c7bd929207a9290 | /include/Menu.hpp | abb93b0fd4f449388f40b73c8e346a395ba1d0d6 | [] | no_license | codergopher/Hotdog-Inspector | fc8b29407361f749998e8965233b6139aca3d85d | 3b34e8aaaacf1840e6bcbca1d01fdbc1e8c0be8a | refs/heads/master | 2023-01-14T12:26:18.760446 | 2020-08-17T02:52:35 | 2020-08-17T02:52:35 | 286,106,695 | 15 | 7 | null | 2020-11-28T09:20:05 | 2020-08-08T19:27:41 | C++ | UTF-8 | C++ | false | false | 236 | hpp | Menu.hpp | #pragma once
#include <map>
#include <string>
#include "Sprite.hpp"
#include "Animation.hpp"
class Menu : public Sprite
{
public:
Menu();
Menu(const SpriteCreateInfo& p_info);
void update(const float& p_dt) override;
private:
}; |
487d36ce5ae9bdf68b75ed67ed0fb17ed7c0adab | 32389f46f2abc0822b733fb70c14c17cba4a4c2b | /shaders/raymarching/PixelMetaballShader.cpp | af2a99105bb44ecc08573c66a41a7f49cf35c750 | [] | no_license | FamilyAgency/Appart | 70975f45aa186593cf713efcd078dca3b9c07a31 | b410645d718917a5ef8fb668fb9e7d46a1d388c7 | refs/heads/master | 2020-03-28T06:30:11.346294 | 2018-09-07T15:19:53 | 2018-09-07T15:19:53 | 147,839,375 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,127 | cpp | PixelMetaballShader.cpp | #include "PixelMetaballShader.h"
#include "MathTools.h"
using namespace frames;
PixelMetaballShader::PixelMetaballShader(float width, float height)
: FrameShader(width, height),
scale(50.)
{
name = "Pixel Metaball Shader";
spoutChannelName = "Shader Art";
addParameter(new Parameter3f("u_color", ofVec3f(1.0, 0.... |
7406a5767e2bc9f43584aced4f3b898ce2593e96 | 805f02059eb5d374fb4b72995c8acbda1f379941 | /ch1/hello.cpp | df3e0ec4c825d1b120f8fd4f992d8f2665ae8cfa | [] | no_license | axesurvey/opencv_python_examples | a6f4cc3af301c725f1f84467bd8389fc1d001999 | 712c3e2831cdf21cb07fa51dd394956e3ed2e37e | refs/heads/master | 2020-12-02T17:39:31.906456 | 2016-12-25T02:42:58 | 2016-12-25T02:42:58 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 101 | cpp | hello.cpp | #include <iostream>
#include "hello.h"
void sayHello()
{
std::cout << "Hello OpenCV!\n";
}
|
806b35fb35966a601040b904787d560b5114cffa | 73c900fdb63579fb59b7552813dffc9cc4572a5f | /src/assignment2/SkeletonNode.cpp | 47b68d14db611da04b4e4b9e2f984fed63de6e58 | [] | no_license | bbartschi14/heirarchical_skinning | 5048e1ed2fdf69d3baaa74dd3ffa35424222d0a4 | efa830294613971b4c90275c309c60643034448e | refs/heads/main | 2022-12-28T11:23:58.717284 | 2020-10-17T04:50:19 | 2020-10-17T04:50:19 | 304,777,270 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,313 | cpp | SkeletonNode.cpp | #include "SkeletonNode.hpp"
#include "gloo/utils.hpp"
#include "gloo/InputManager.hpp"
#include "gloo/MeshLoader.hpp"
#include "gloo/debug/PrimitiveFactory.hpp"
#include "gloo/components/RenderingComponent.hpp"
#include "gloo/components/ShadingComponent.hpp"
#include "gloo/components/MaterialComponent.hpp"
#include "g... |
4736010a9ab9ebd0e7536ae453ef5469b217e6ac | 717e50a345d596dee57feefa798a50c4fa76daa6 | /TungstenOsmosis/TungstenWPFInterop.cpp | 1fae822bcb93fc1ca68d9fd30c56591531292b05 | [] | no_license | daniel-stanciu/Tungsten2 | 933bc30cc98f73201582a6619b5fd7b653095b5a | 0e3b3dc02f92d419ec954b99042912281dee3813 | refs/heads/master | 2022-11-23T04:48:40.432958 | 2020-07-11T15:40:27 | 2020-07-11T15:40:27 | 84,127,255 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,241 | cpp | TungstenWPFInterop.cpp | // This is the main DLL file.
#include "pch.h"
#include "TungstenWPFInterop.h"
#include "Tungsten/PlatformTools.h"
#include "Tungsten/ConfigManager.h"
#include <vcclr.h>
#include "Tungsten\D3DRenderer.h"
#include "TungstenWPFWindowRenderer.h"
#include "Tungsten/ServiceLocator.h"
#include "Tungsten/TungstenMath.h"
#... |
013f97ef05261cc55c2abbe4e9c038a552cb98cf | 4ba129e0121fda723e7fb292495ad1da1fd7a640 | /Ozcan_vs_Nebulus_and_the_Towergoround/code/Game/CHUD.h | 36c53680de559de31ce76339fa26a989ca3c3147 | [] | no_license | nickben99/Ozcan | 64f13069fa61f1bb790ec7e0093d19f7a71e3ed0 | 07ecc94e8587600ed9f0b5d6d2803741ca52c7fa | refs/heads/master | 2020-05-21T16:42:27.590241 | 2018-01-11T04:59:49 | 2018-01-11T04:59:49 | 61,513,500 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,373 | h | CHUD.h | //CHUD.h - header for the Head Up Display (HUD) class
// system includes ----------
#include <stdio.h> // header file for standard input/output
#include "Rendering/OpenGLInclude.h"
// --------------------------
#ifndef _CHUD_h_
#define _CHUD_h_
//header files-------------------
#include "FileReading/texture.h" // ... |
5ff667498f2cd7de319d526ac8f93465cce66c4d | 9ab0f33e9fa020fd0ef1a9da21c47969ba6c642c | /Biye/timer.h | 6de7f5480531809e4436f3c2f37ba1fdf3375fc8 | [] | no_license | YuriHehe/BiyeSheji | c25c3af59e3fc88ae1847bb0b76b1ec7b95d7224 | 4298be00329ec92bd5a2340802f0b8c11ccbbe27 | refs/heads/master | 2020-05-25T10:07:46.885643 | 2019-05-28T02:16:20 | 2019-05-28T02:16:20 | 187,754,082 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 260 | h | timer.h | #include "predefine.h"
#include "util.h"
namespace timer {
class Timer {
public:
Timer() : start_(util::get_timestamp_ms()) {};
int64_t get_elapsed_us() {
return util::get_timestamp_ms() - start_;
}
private:
const int64_t start_;
};
} |
0917cecb9f00d4cd216e8c1e73fa26c0217773e8 | e15bae789aaf7d1020929df50206649ac027b2a6 | /Source/TextReader.h | 8682d3a2b0a5e789f9a2afa2bacaf5269b8a44fb | [] | no_license | fredrikhanses/GraphicsGLFW | 4bfb332535b71d5c0cff6737c88e78615ffcc9e1 | d17b1ec65262baaff2d7ff10addc417af6bbbf0f | refs/heads/main | 2023-03-12T02:32:05.516234 | 2021-02-27T11:49:06 | 2021-02-27T11:49:06 | 337,235,395 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 142 | h | TextReader.h | #pragma once
#include <string>
class TextReader
{
public:
TextReader();
~TextReader();
std::string ReadText(std::string Path);
private:
}; |
4bf91fed11574b6a71711963a1a90042fac735b7 | 6e3b592de89cb3e7d594993c784e7059bdb2a9ae | /Source/AllProjects/CQCAdmin/CQCAdmin_ImgViewTab.cpp | 96c3f8e7443f99270afde8f72aed3a4fd2e902bd | [
"MIT"
] | permissive | jjzhang166/CQC | 9aae1b5ffeddde2c87fafc3bb4bd6e3c7a98a1c2 | 8933efb5d51b3c0cb43afe1220cdc86187389f93 | refs/heads/master | 2023-08-28T04:13:32.013199 | 2021-04-16T14:41:21 | 2021-04-16T14:41:21 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,716 | cpp | CQCAdmin_ImgViewTab.cpp | //
// FILE NAME: CQCAdmin_ImgViewTab.cpp
//
// AUTHOR: Dean Roddey
//
// CREATED: 08/09/2015
//
// COPYRIGHT: Charmed Quark Systems, Ltd @ 2020
//
// This software is copyrighted by 'Charmed Quark Systems, Ltd' and
// the author (Dean Roddey.) It is licensed under the MIT Open Source
// license:
//
// https://ope... |
c55aadfac0b8b619b3eff09d17669bf9d50421b2 | c909ae1cbb7f73632b0f1d363e18eaf892aec1b7 | /build/px4_sitl_default/build_gazebo/Odometry.pb.cc | e444afb75b419065723e65c0933050601edce6e2 | [
"BSD-3-Clause"
] | permissive | amilearning/PX4_Firmware_rw | 8e4454db2cc98530ffce9484f3e1a5367dae551a | 8babdc71169f2632ec23173530eb871d475aada1 | refs/heads/master | 2023-06-20T13:36:22.333503 | 2021-07-20T02:46:38 | 2021-07-20T02:46:38 | 387,507,315 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | true | 34,697 | cc | Odometry.pb.cc | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: Odometry.proto
#define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION
#include "Odometry.pb.h"
#include <algorithm>
#include <google/protobuf/stubs/common.h>
#include <google/protobuf/stubs/port.h>
#include <google/protobuf/stubs/once.h>
#include <... |
d9c4f32284957b469122014f5a073ff3554b2621 | 25f97b71289d7839b70650ff4a154ee2fbdf7011 | /170522/03_sfinae/02_lower_bound_b.cpp | 51f097e86070d56a3e0559bab0d2a3e1a27747cb | [
"MIT"
] | permissive | yeputons/spring-2017-cpp | 3d1f6be5d8f5d1d3c81c56d369b823cbac3becee | f590dcf031be6f2920cae5fc9fe147fcac414d3f | refs/heads/master | 2021-01-17T16:00:18.158210 | 2017-06-08T13:15:58 | 2017-06-08T13:15:58 | 84,119,719 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,658 | cpp | 02_lower_bound_b.cpp | #include <algorithm>
#include <iostream>
#include <set>
#include <vector>
#include <type_traits>
// https://stackoverflow.com/questions/257288
template<typename Container, typename Arg>
struct has_lower_bound {
private:
template<typename T>
static auto foo(int) -> decltype(
std::declval<T>().lower_bound(std::... |
10ee08724a0b91527df8b1c74faea5ff9b9d79bd | 4135cd460b4e62af63679281c400e1d4077f071b | /Test/PngTest.cc | 44d22dd8cdb2f605a437fbe668e247518d7a6bc8 | [] | no_license | duane/render | ce9ea5bc676edca13bd9b9963cd9c15f7121076e | 06390929fa8094e8f70b9c469cc9925cdeb779ad | refs/heads/master | 2016-09-06T08:16:29.169505 | 2013-10-17T18:37:05 | 2013-10-17T18:37:21 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 593 | cc | PngTest.cc | #include <Raster/Image.h>
#include <Raster/PNGDriver.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
int main(int argc, char **argv) {
const size_t width = 100;
const size_t height = 100;
const size_t size = width * height * 3;
uint8_t *data = (uint8_t*)malloc(size);
... |
7c2400f2a9156643a45fd6b2fc63a66babf6eba0 | 62e9e89f941b7f70d3c532a063248dfb8d48ae3a | /load_image.cpp | c8a86ace31a7a755fd030ac55f7d2e721ad24bec | [] | no_license | ryanmcmahon1/opencv | f28caa2cda1602fa7bdce318e76b14df5f68de1b | 3c9cb7d869e1668d69b7f2cfefa9690cd591d3cd | refs/heads/master | 2021-04-03T13:17:22.059795 | 2020-03-19T15:15:50 | 2020-03-19T15:15:50 | 248,357,838 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 417 | cpp | load_image.cpp | #include <opencv2/core/core.hpp>
#include <opencv2/highgui/highgui.hpp>
#include <iostream>
using namespace cv;
using namespace std;
int main()
{
Mat image = imread("beach.jpg", CV_LOAD_IMAGE_COLOR);
if (!image.data) {
cout << "image can't be loaded" << endl;
return -1;
}
namedWindow("window", CV_WINDOW_AU... |
a1bd00270454e7f3c4fecb2beb136da6428d9686 | 720d5e92b631cbcca07c7c074ebf9ec832765af7 | /aos/common/actions/action_test.cc | 21da2c7a6f6598adb1d34c0b9db7a21edffed737 | [
"BSD-2-Clause"
] | permissive | comran/miranda-dashboard | e1d3dd1ca3c4738b0ed92224bc60cdac4f160f47 | 54079cb276ef4ee149e931d618b445a618c7c1c0 | refs/heads/master | 2021-01-12T04:06:24.676407 | 2017-01-06T01:41:36 | 2017-01-06T01:41:36 | 77,504,455 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,539 | cc | action_test.cc | #include <unistd.h>
#include <memory>
#include <thread>
#include "gtest/gtest.h"
#include "aos/common/queue.h"
#include "aos/common/actions/actor.h"
#include "aos/common/actions/actions.h"
#include "aos/common/actions/actions.q.h"
#include "aos/common/actions/test_action.q.h"
#include "aos/common/event.h"
#include "... |
9ab4f9adf5f11aad01dc397a302371862a47eeb4 | e4833fb04f56ac806d91debc0571804e88512d4e | /2021/01/11/robot.cpp | 3c86518daeb5ed0d5efac5020c56441ea98c91d9 | [] | no_license | Papillon6814/tracker | f7cca3b2f19c1c63b4bed226abdd7a66f550a1dd | 1cd1012865f317b85670da7b3e41364270cf7f2a | refs/heads/main | 2023-06-26T18:28:45.089288 | 2021-07-10T13:26:03 | 2021-07-10T13:26:03 | 303,100,401 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 663 | cpp | robot.cpp | #include <bits/stdc++.h>
using namespace std;
typedef pair<int, int> pii;
int main() {
int N;
cin >> N;
// それぞれ座標と腕の長さを表す
vector<int> x(N), l(N);
for(int i=0; i<N; i++) {
cin >> x[i] >> l[i];
}
// robotの始点と終点
vector<pii> p(N);
for(int i=0; i<N; i++) {
p[i].first ... |
13c5f96447c8097385b28aa8d97b973dd5e7bd72 | b34d78655cb6bcb96872d8ddfdce837cc184158d | /basics/math2.cpp | d612f57978211e2027d656b8f896a00442791b83 | [] | no_license | gabefgonc/learning-cpp | 5c050221f1811bc2ca70ff0e6c4edaac709f156f | b08090585843339c2d07e3a5c1a8a914579cc96c | refs/heads/master | 2022-12-04T22:38:00.250868 | 2020-08-18T15:23:44 | 2020-08-18T15:23:44 | 284,142,585 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 310 | cpp | math2.cpp | #include <iostream>
using namespace std;
int main(){
int n1, n2;
n1 = 0;
n2 = 10;
cout << "n1" << endl;
cout << n1 << endl;
W
n1 += 5;
cout << n1 << endl;
n1++;
cout << n1 << endl;
cout << "n2" << endl;
cout << n2 << endl;
n2 -= 5;
cout << n2 << endl;
n2--;
cout << n2 << endl;
} |
fa24cc93875702ad073fbfbf1bc66e09cd09d627 | ceaf222cb0e08eb2253ae9a83a04fe73b08718f3 | /functions.cpp | bb9e4a62b1aeb9223e68bfd3033156a8e2755a9f | [] | no_license | herocodemaster/Image-labeling-tool | bba0c0d8d431a167cf0b1fb7b75f9adf6e90c41f | 780d0566ab494adb4ac11a646d67a0cd248acbab | refs/heads/master | 2021-01-11T04:16:07.322638 | 2011-12-15T15:30:32 | 2011-12-15T15:30:32 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,700 | cpp | functions.cpp | /*
* functions.cpp
*
* Created on: Oct 6, 2011
* Author: Gapchich Vladislav
*/
#include "functions.h"
#include <QString>
#include <QChar>
#include <QDomDocument>
#include <QDomNode>
#include <QDomText>
#include <QPoint>
#include <QLine>
#include <qmath.h>
#include <QDebug>
//! Gets number from a string wh... |
57c03857b5ae71e8ef55d6441538ee9adbe1ea16 | 93307b0361c5abb72bfa4059bd3aac9c28d6be6f | /destinationimage.cpp | a2193f475ff2cd6daa4d0a5bfead9acdc2d16b94 | [] | no_license | MinjieTao/PoissonImage | 3e54850a86d4a9cb4b4dbea97bee324c2c5659a9 | 458450521ef6effb8896fc1c1a653c15b6881ae2 | refs/heads/master | 2021-01-02T22:51:51.795097 | 2012-06-01T06:39:25 | 2012-06-01T06:39:25 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,125 | cpp | destinationimage.cpp | #include "destinationimage.h"
DestinationImage::DestinationImage(QWidget *parent) :
QWidget(parent)
{
}
void DestinationImage::paintEvent(QPaintEvent *event)
{
QPainter painter(this);
if(!destinationImage.isNull())
painter.drawImage(0,0,destinationImage);
if(!subImage.isNull())
painte... |
35eabbfc8af3b585d64bee1011df8273e802f50e | c6c8ebb6647556273411c0f9db8cf5fb2a80c618 | /Day127.cpp | f689341bb4078336937593df78f362dd769dac89 | [] | no_license | dhanendraverma/Daily-Coding-Problem | 3d254591880439c48a3963045298c965790ae5be | 4bec6bc4fa72d7ab7a21332bdef78a544a9cb3df | refs/heads/master | 2023-01-19T15:26:18.508292 | 2023-01-14T07:27:12 | 2023-01-14T07:27:12 | 189,551,929 | 35 | 12 | null | null | null | null | UTF-8 | C++ | false | false | 2,011 | cpp | Day127.cpp | /*************************************************************************************************************************************
Good morning! Here's your coding interview problem for today.
This problem was asked by Microsoft.
Let's represent an integer in a linked list format by having each node represent a dig... |
710363829f5b7c9c42527520a833204d26fd5129 | e5edc6c16ed134b48293668ed07cf5d8d768b386 | /Ray.hpp | fc89c56c2f4afd23c8bc6ef25bccbc24963105fa | [
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | fcccode/XnaMathWrapper | e7d6f6247c03ce63fdf6d893c9160d0ea2113465 | ab846169d78fbf935e873a5fc8401cef85623bff | refs/heads/master | 2020-04-09T18:40:42.479336 | 2015-04-13T22:06:03 | 2015-04-13T22:06:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,495 | hpp | Ray.hpp | #pragma once
#ifndef __MATHS_RAY_HPP__
#define __MATHS_RAY_HPP__
#include "Vector3.hpp"
namespace Math
{
class Ray
{
private:
// The values are private because we want to keep the direction vector normalised
Vector3 mOrigin;
Vector3 mDirection;
public:
Ray() : mDirection(Vector3::UNIT_Z)
{
}
Ray(... |
b20f52ebfd39cd7df870dd6aee5a26a7e5c94989 | 0015079f91ab1e823cca7244d9e7338914609f6b | /rnn.cpp | c92f8c96b0c60707a41ee0c3da7663d18d19eacf | [] | no_license | dongzwhitsz/hls-demo | a23aa518986693726dd07058bf4b9d819f8909ae | 60e0e4f0c57a2063d0516d40286f755f47b128f9 | refs/heads/master | 2020-06-20T05:51:55.925172 | 2019-09-03T11:19:57 | 2019-09-03T11:19:57 | 197,015,437 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,742 | cpp | rnn.cpp | //#include <iostream>
//#include <cmath>
//using namespace std;
#include "./weight/dense_bias.h"
#include "./weight/dense_kernel.h"
#include "./weight/lstm_kernel_o.h"
#include "./weight/lstm_kernel_c.h"
#include "./weight/lstm_kernel_f.h"
#include "./weight/lstm_kernel_i.h"
#include "./weight/lstm_bias_c.h"
#include... |
01e22c9aeb76ba9be9d8d38bc8256014a212ae9f | 91dd40450b8f251e96b70da424e3c5b82d3493ba | /decode_the_mad_man.cpp | 865f5ff2d84c175f4b3ba94db265280c371c9b9e | [] | no_license | danielecappuccio/UVa-online-judge | 3cfa2cdafeb5deec9048483964dbe7969b719650 | b3a6c65a56aad98cd5e86325cd1f29082892b86f | refs/heads/master | 2021-07-06T09:56:05.257214 | 2017-10-01T11:51:28 | 2017-10-01T11:51:28 | 85,356,118 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,138 | cpp | decode_the_mad_man.cpp | /*
* Competitive Programming
*
* @author Daniele Cappuccio
* @link (https://github.com/daniele-cappuccio/UVa-online-judge)
* @license MIT License (https://opensource.org/licenses/MIT)
*/
#include <iostream>
#include <string>
using namespace std;
int main(){
ios::sync_with_stdio(fals... |
11f78f37e6d927d15aeb8c2aa9d6fa8534ea17bb | a3d6556180e74af7b555f8d47d3fea55b94bcbda | /chrome/browser/ash/app_list/chrome_app_list_item_browsertest.cc | 6e2c297891d9627a5f800c08629c22fd50d7d369 | [
"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 | 6,070 | cc | chrome_app_list_item_browsertest.cc | // 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.
#include "chrome/browser/ash/app_list/chrome_app_list_item.h"
#include <vector>
#include "ash/constants/ash_features.h"
#include "ash/public/cpp/accelerators.h"
#include "ash... |
fc2609a1ebad302741e647b557c104e60a2944ed | 355af27bc0929e1f433f3db53c25962e10a60d84 | /step/math/CountStep.h | 1442ef270773f6d391c577cd3f9e1657874a584a | [
"Apache-2.0"
] | permissive | bgamer50/Gremlin- | 698d22fb81e6a07c81cda5d2f0406eb0b2252674 | 9c917b8a3baac13865fdb932ece082533e70082b | refs/heads/main | 2023-08-15T23:21:59.379924 | 2022-10-12T02:55:49 | 2022-10-12T02:55:49 | 173,864,939 | 23 | 3 | Apache-2.0 | 2022-06-12T02:37:00 | 2019-03-05T03:19:15 | C++ | UTF-8 | C++ | false | false | 523 | h | CountStep.h | #ifndef COUNT_STEP_H
#define COUNT_STEP_H
#define COUNT_STEP 0x61
#include "step/TraversalStep.h"
#include <functional>
class CountStep : public TraversalStep {
public:
CountStep()
: TraversalStep(true, MAP, COUNT_STEP) {
// empty constructor
}
virtual ... |
6f1bff4abb5683474ecb5903569fedb0c8a27999 | 8d5359051852e8f191fa0e71fed62e8fc8f06f5e | /Programs/Copy of testing copy v6/SimuBoundaryTable.cpp | d3f1a0ceeca6d31e492526495d53684f8c33b77f | [] | no_license | practisedaybyday/MSc-Thesis | 0289a279048a7501c512a51b4ec1d92e198c7923 | f9ca80b6c64e6c7cfa12f4ce5866c4e94bd569c2 | refs/heads/master | 2020-04-16T23:49:21.413706 | 2017-10-12T16:47:22 | 2017-10-12T16:47:22 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,352 | cpp | SimuBoundaryTable.cpp | // SimuBoundaryTable.cpp: implementation of the CSimuBoundaryTable class.
//
//////////////////////////////////////////////////////////////////////
#include "stdafx.h"
#include "SimuFlexApp.h"
#include "SimuBoundaryTable.h"
#ifdef _DEBUG
#undef THIS_FILE
static char THIS_FILE[]=__FILE__;
#define new DEBUG_... |
9d295bce6bc085708af04cfd14c0533ce385a69d | 244769435c3954c1f37efdccca3ed0d714f80091 | /Fraction/FractionClass.cpp | 6ab2705634c10129b19309c01ecaaee6ae5961bf | [] | no_license | Annerley/FractionExam | 2ef8f5566b59fa651156cf8eed732b325bf71a71 | 2793eec2f47b78c9c7a0e49547bd71f6765b7452 | refs/heads/main | 2023-02-05T02:27:50.448457 | 2020-12-28T08:21:05 | 2020-12-28T08:21:05 | 324,936,224 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 27 | cpp | FractionClass.cpp | #include "FractionClass.h"
|
aa8567b4079b8f1feb4522c990b2a6bccad45f4d | 33f77c32fb16283501d950b6fc6b43a07914f32e | /autopilot/Autopilot/hw/gps/GpsTime.hpp | 434c13ef90d107d8e9ad451ffbfde8ae2a3f56dc | [] | no_license | CLUBMODELISMECEADSTOULOUSE/autopilot | 26b79d6a2a632f08989a5528e82f553616617646 | a6ffae2f8a86fbc79e636ddd5173af104e1af9cd | refs/heads/master | 2021-01-21T00:59:06.271128 | 2015-10-25T09:31:54 | 2015-10-25T09:31:54 | 34,409,237 | 1 | 0 | null | null | null | null | ISO-8859-2 | C++ | false | false | 250 | hpp | GpsTime.hpp | /*
* GpsTime.hpp
*
* Created on: 24 déc. 2013
* Author: Robotique
*/
#ifndef GPSTIME_HPP_
#define GPSTIME_HPP_
namespace hw {
class GpsTime {
public:
GpsTime();
virtual ~GpsTime();
};
} /* namespace hw */
#endif /* GPSTIME_HPP_ */
|
c66e59af4b448caeda0bf1e4bb4aa747385d7d91 | 09461b035c15d1a01af2429ce4ef23895c44828a | /ripples/src/ofApp.cpp | 178450e225d11381a488bb81e96868212c5f855f | [
"MIT"
] | permissive | graham-riches/sketches | 7d5ca86b2bc21c4c59106683294028096162512e | 026be227193e84859aedcd350e7fcfc4b87e43d2 | refs/heads/main | 2023-08-25T13:50:45.020875 | 2021-10-30T18:52:45 | 2021-10-30T18:52:45 | 337,732,865 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,881 | cpp | ofApp.cpp | /**
* \file ofApp.cpp
* \author Graham Riches (graham.riches@live.com)
* \brief
* \version 0.1
* \date 2021-02-16
*
* @copyright Copyright (c) 2021
*
*/
/********************************** Includes *******************************************/
#include "ofApp.h"
#include "ripple.hpp"
#include <filesystem>
#... |
2b00cc475bca58bad48ff35bdf03081e02a2f350 | 859b30c6a1aef258b296da0c4ed2ef162eae1d0a | /KAVI/include/PlanAction.h | 2f8b76cc01bf6b6e8b2ebac92b6b11ebbf8f2baf | [] | no_license | xuanjianwu/KAVI | e809d8d14ea4c8626050690025e673d2ef3bb6f9 | 063e05b4777951aef0c2d6d55a3bc21b2afed203 | refs/heads/master | 2018-07-20T22:36:55.293729 | 2018-06-26T12:03:56 | 2018-06-26T12:03:56 | 117,961,570 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,239 | h | PlanAction.h | /*
* @author: liYc
* @date : 2018/3/4
* @brief : This class implements an action from plan. Save the action's preconditions, effects and so on.
*/
#ifndef PLANACTION_H
#define PLANACTION_H
#include "KAVIBase.h"
class PlanAction{
public:
/*
* construct function
* @params: N/A
* @return: N/A
... |
11aaccdf4c388998b4e49fdea4f0fb90370a91e5 | 19e225d0c580574f5432b3dcfebc096c20b9ad8c | /notebook2015/Graphs/Bellman-Ford (Shortest Path with Negative Weights).cpp | 8bb2d4bcac31629d552bf27cc1fbab92feda82a3 | [] | no_license | rhaps0dy/UPF-SWERC | 4dd68d12433a0bfcf43207acc038eacca6de5480 | 28a9e61093a22e1672c0a7f26b763fd9a94e8261 | refs/heads/master | 2020-04-04T00:55:25.589289 | 2015-12-01T00:03:52 | 2015-12-01T00:03:52 | 25,181,782 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,040 | cpp | Bellman-Ford (Shortest Path with Negative Weights).cpp | // Complexity: E * V - Input: directed graph
typedef pair<pair<int,int>,int> P; // par de nodos + coste
int N; // numero de nodos
vector<P> v; // representacion aristas
int bellmanford(int a, int b) {
vector<int> d(N, 1000000000);
d[a] = 0;
for (int i = 1; ... |
eddc5798b3ada02204f1258c77098206b46c4c64 | a5f3b0001cdb692aeffc444a16f79a0c4422b9d0 | /main/svx/source/sidebar/area/AreaTransparencyGradientControl.cxx | 51adddd8d005c2c732bda790f76ff59069ad248d | [
"Apache-2.0",
"CPL-1.0",
"bzip2-1.0.6",
"LicenseRef-scancode-other-permissive",
"Zlib",
"LZMA-exception",
"LGPL-2.0-or-later",
"LicenseRef-scancode-free-unknown",
"LicenseRef-scancode-philippe-de-muyter",
"OFL-1.1",
"LGPL-2.1-only",
"MPL-1.1",
"X11",
"LGPL-2.1-or-later",
"GPL-2.0-only",
... | permissive | apache/openoffice | b9518e36d784898c6c2ea3ebd44458a5e47825bb | 681286523c50f34f13f05f7b87ce0c70e28295de | refs/heads/trunk | 2023-08-30T15:25:48.357535 | 2023-08-28T19:50:26 | 2023-08-28T19:50:26 | 14,357,669 | 907 | 379 | Apache-2.0 | 2023-08-16T20:49:37 | 2013-11-13T08:00:13 | C++ | UTF-8 | C++ | false | false | 13,811 | cxx | AreaTransparencyGradientControl.cxx | /**************************************************************
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to yo... |
e531193586852e9af1393371112ac64142fc5aa9 | 2c185af119b337fc4baafde2abb8138a18f8b85b | /src/pf_imgui/layouts/BoxLayout.cpp | 5a1bdce1477b75567fc8e534d7bc0600a222099e | [] | no_license | southdy/pf_imgui | 705a73417e0eff4ffcac7643e6d6ab3fa6affbb4 | ed44abe3deee98757264c17bb5ff67e07ca66883 | refs/heads/master | 2023-08-25T15:01:14.432258 | 2021-11-14T11:21:45 | 2021-11-14T11:21:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,457 | cpp | BoxLayout.cpp | //
// Created by petr on 1/24/21.
//
#include "BoxLayout.h"
#include <imgui.h>
#include <numeric>
namespace pf::ui::ig {
BoxLayout::BoxLayout(const std::string &elementName, LayoutDirection layoutDirection, const Size &size,
AllowCollapse allowCollapse, ShowBorder showBorder, Persistent persiste... |
6ba0d9e880be397165618f6fd8df97b58f74cbac | 339927d079c0bd8cfb4ac97cbc9f007ccbcaf9c6 | /YunDisk/debug/moc_buttongroup.cpp | 77117b10fad97fb11722ff381249a40750b0efac | [] | no_license | Jsondp/CloudDisk | 9fa565e1f3f6eeb065edf9b9870615edc4333cf4 | a121ecb74392d53c3f8bc3ebc707301dfd0f1d57 | refs/heads/master | 2021-07-25T21:10:12.563577 | 2020-05-03T11:05:35 | 2020-05-03T11:05:35 | 163,037,243 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,616 | cpp | moc_buttongroup.cpp | /****************************************************************************
** Meta object code from reading C++ file 'buttongroup.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.5.0)
**
** WARNING! All changes made in this file will be lost!
*********************************************************... |
8599f051ed8cd6daed80c50634da3a3febdcc746 | a11985724577486c5fc789e3eca3fda636f030c2 | /PlzNumbers/src/old/PyAllUp.cpp | 4f3a250eedcc80756a2600366976401764b6bc1f | [
"MIT"
] | permissive | McCoyGroup/RynLib | 1ffa703e02f20a2ddb8defcffdecf3b1e61e70ed | 8d7e119ebbd3da4c8b0efb49facba9ff1cbaa09d | refs/heads/master | 2021-06-24T01:05:53.298531 | 2021-02-17T14:46:30 | 2021-02-17T14:46:30 | 182,337,960 | 1 | 1 | null | 2020-03-05T01:51:56 | 2019-04-19T23:42:51 | Python | UTF-8 | C++ | false | false | 6,792 | cpp | PyAllUp.cpp | //
// Created by Mark Boyer on 1/30/20.
//
#include "Python.h"
#include "RynTypes.hpp"
#if PY_MAJOR_VERSION == 3
const char *_GetPyString( PyObject* s, const char *enc, const char *err, PyObject *pyStr) {
pyStr = PyUnicode_AsEncodedString(s, enc, err);
if (pyStr == NULL) return NULL;
const char *strExcTy... |
c88d3169f542ee3d4ba56a002e23677919c758ac | 2ead9e8c28020494403301ec50f7f052098acf2b | /lexical/RegexConf.h | 1b0c61761a6a78aadf16883cb05028e1bed3eb85 | [] | no_license | 340StarObserver/compiler | dd80fd1ef848a0fde569d12c844b9d379a3fe504 | e241627d5decad38be752c457a96225c87d8d108 | refs/heads/master | 2020-12-24T12:05:36.332498 | 2017-03-24T08:25:04 | 2017-03-24T08:25:04 | 73,075,793 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,351 | h | RegexConf.h | /*
Author : Lv Yang
Created : 22 November 2016
Modified : 01 December 2016
Version : 1.0
*/
#ifndef _REGEXCONF_H
#define _REGEXCONF_H
#include <vector>
using std::vector;
#include <string>
using std::string;
namespace Seven
{
/* one regex conf item */
struct RegexConfItem
{
int id; // 该正则的编号( 从1开始 ... |
0dbbec37e37aacb7bc51928b5b44228e7248a149 | 4f75073754f7efa9f75da00da063ae9cdba6c204 | /PE2Shellcode/ProccessData.h | 88d6333d042c790e477dea8e3c47088bcaee4d7b | [] | no_license | fadinglr/PE2Shellcode | 77dd24d230ed490287892c04a73e798d5960dc99 | 28c510994a77c7976a64b44877849b8d6e893037 | refs/heads/master | 2022-04-04T01:07:38.025252 | 2020-01-09T16:24:04 | 2020-01-09T16:24:04 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 624 | h | ProccessData.h | #pragma once
typedef DWORD(__stdcall *pRtlCompressBuffer)(
IN ULONG CompressionFormat,
IN PVOID SourceBuffer,
IN ULONG SourceBufferLength,
OUT PVOID DestinationBuffer,
IN ULONG DestinationBufferLength,
IN ULONG Unknown,
OUT PULONG pDestinationSize,
IN PVOID WorkspaceBuffer);
typedef DWORD(__st... |
fae4406d4115bd9f9353984f3143d61bc088c96e | 38db68509b1a7d586e81564d7bcf4066eb2df6fc | /Audrey/Audrey_OF1/src/Ball.hpp | d46d6c8414fa58205d7f8e3c0d45d5e3b7509c52 | [] | no_license | huynj316/CCLab-Homework | 36200765f2db56b089f5cb5a5f60c0013b95cc3b | 1b7a7ba6d65b4009281e9731219e233bd1aa3184 | refs/heads/master | 2016-09-06T02:44:42.664534 | 2015-12-22T23:52:50 | 2015-12-22T23:52:50 | 42,139,507 | 1 | 0 | null | 2015-09-15T23:34:56 | 2015-09-08T21:17:38 | JavaScript | UTF-8 | C++ | false | false | 324 | hpp | Ball.hpp | //
// Ball.hpp
// mySketch
//
// Created by Audrey on 11/9/15.
//
//
#pragma once
class Ball {
public:
// Ball();
void setup();
void update();
void draw();
float xPos;
float yPos;
float xSpeed;
float ySpeed;
int xDirection;
int yDirection;
... |
11fe1064a42161455231bd0c554bb543848469cf | 24f8c1bc84049310ade1ecdea8d041f5aff94bd8 | /books/The_C++_Programming_Language/Special_Edition/chapter05/ch05ex13.cpp | fbd5d11eab4430599e1f60b2c2b335389e400bd9 | [] | no_license | BartVandewoestyne/Cpp | f10d709aed4bbe03b3cca1778ef8f5b7ec554c54 | 055d3fc61922a29657f48241defcaba744f43d0f | refs/heads/master | 2023-08-22T19:42:32.516681 | 2023-08-03T21:58:02 | 2023-08-03T21:58:02 | 4,518,426 | 126 | 17 | null | null | null | null | UTF-8 | C++ | false | false | 532 | cpp | ch05ex13.cpp | #include <iostream>
using namespace std;
struct Date
{
int day;
int month;
int year;
};
Date readDate()
{
Date d;
cin >> d.day;
cin >> d.month;
cin >> d.year;
return d;
}
void printDate(Date* d)
{
cout << "day = " << d->day << endl;;
cout << "month = " << d->month << endl;
cout << "year = ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.