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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
a964722a11fdcc75a514e008f1b31eea3c9e4541 | 9a7d75b0d32ca40ab26860983e769c13d45267f9 | /include/win32/ListView.h | 0284a40a7b56ed658f525dab5c7d7efd6d5e091b | [
"BSD-2-Clause"
] | permissive | jpd002/Play--Framework | 4427b6709c819a4403f14dd41fd8f3131f5f8d48 | 2dadb6dfcbc855c08a6f0bdea90e0572ac4ee0b8 | refs/heads/master | 2023-08-31T11:40:41.713390 | 2023-08-27T00:35:45 | 2023-08-27T00:35:45 | 17,099,900 | 42 | 24 | NOASSERTION | 2022-05-19T12:48:40 | 2014-02-23T02:27:07 | C++ | UTF-8 | C++ | false | false | 1,398 | h | ListView.h | #pragma once
#include "Window.h"
#ifndef _WIN32_WINNT
#define _WIN32_WINNT 0x501
#endif
#include <commctrl.h>
namespace Framework
{
namespace Win32
{
class CListView : public CWindow
{
public:
CListView(HWND = 0);
CListView(HWND, const RECT&, unsigned long = 0, unsigned long = WS... |
bb4327b3153f2961fffc258874da3ef478be056a | 4078c657863b5ce577071f8b26627cbe7d9a9c69 | /CDB/VisitsInfoView.h | 8e0049dfe774bbcab656afa8d915f0de883b2968 | [
"MIT"
] | permissive | polamagdygeo/ChurchDb | eff5fae99c12739975b8f6ec737771bfa6226ea0 | 41c593c12c51aab492c04c074af03f2fe1b2a8e7 | refs/heads/master | 2023-05-11T19:44:15.456072 | 2021-05-28T18:22:42 | 2021-05-28T18:22:42 | 280,492,384 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 740 | h | VisitsInfoView.h | #ifndef VISITSINFOVIEW_H
#define VISITSINFOVIEW_H
#include <QDialog>
#include "VisitsRepo.h"
#include "PersonRepo.h"
namespace Ui {
class VisitsInfoView;
}
class VisitsInfoView : public QDialog
{
Q_OBJECT
public:
explicit VisitsInfoView(int m_familyId,QWidget *parent = nullptr);
~Visits... |
c6d99d0e0fdaacc5fac8f9f8feb5b576a3c60bb4 | 222ccbf6f706edcb2e4469f796cf18b3297609e0 | /src/run_crown/symbolic_memory.h | b78a0ed59f76a925a6be178da1c8050c997b5b7e | [
"MIT",
"BSD-3-Clause",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | Deeby/CROWN | 333ec1c27cc5c1356d5a6c82ab9c4b16eff33d7e | e59b894fb64db0a6a8dc079e9069a976efeeac13 | refs/heads/master | 2020-04-12T00:56:13.858648 | 2018-12-14T13:15:28 | 2018-12-14T13:15:28 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,699 | h | symbolic_memory.h | // This file is part of CROWN, which is distributed under the revised
// BSD license. A copy of this license can be found in the file LICENSE.
//
// This program is distributed in the hope that it will be useful, but
// WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PART... |
dbcbb965e09f14100ee5cfe6cb0ec755d21d5632 | 213c541abe41d53a31d69c0a35cec8543c23a83a | /remove_words_game_v3_source_byQT/check.cpp | b99c59bb558f4823f9db4cb51aa06e2b7e2db013 | [] | no_license | 666WXY666/WordGame | c88df5e28293f9778ead0903ca7263a0c1c10de8 | ece15697004670cf99954b29e9b8d153fea87f1f | refs/heads/master | 2022-11-21T23:54:12.964185 | 2020-07-15T02:55:24 | 2020-07-15T02:55:24 | 279,747,092 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,070 | cpp | check.cpp | #include "check.h"
#include "ui_check.h"
check::check(QWidget *parent) :
QWidget(parent),
ui(new Ui::check)
{
ui->setupUi(this);
init_database();
init_UI();
connect_event();
}
void check::init_database()
{
if(QSqlDatabase::contains("qt_sql_default_connection"))
db2 = QSqlDatabase::d... |
ed95308536ddf7939262c114797f768eb6ffff21 | 6f2851bb06ca514bdb2263611315a4119495d13f | /KursachTP/car.h | d70eb06e4f9d3541fe0da226b2107b7b69207245 | [] | no_license | rorrq/KursachTP | f597150ddf92c703c9e63e4c28ad9324b54a8448 | e8f2c7e9f069ecf1d21bd177ddcf7ff779581059 | refs/heads/master | 2022-10-07T16:30:49.661669 | 2020-06-11T15:28:03 | 2020-06-11T15:28:03 | 271,341,831 | 0 | 0 | null | null | null | null | WINDOWS-1251 | C++ | false | false | 1,591 | h | car.h | #pragma once
#include <iostream>
#include <fstream>
#include "exceptions.h"
class car {
public:
car();
car& operator=(const car& Obj);
friend std::ostream& operator<<(std::ostream& os, const car& Obj);
friend std::istream& operator>>(std::istream& is, car& Obj);
friend std::ofstream& operator<<(std::ofstream& of... |
edea6bb384b25180010f4aa50bd69007d75857f7 | b264a0a7435a991c7803102d62fcc136b13c784c | /Calculator.cpp | b24b73c29b9253c6982e3982854a7ed52d453214 | [] | no_license | Sammy2022/SammyJammy | ebbbb1e67901d4544b4df751fabbe972f1cedd6b | 2bb9b216c703db4018483c94a4ee8e3f474477e4 | refs/heads/main | 2023-07-12T10:49:21.584003 | 2021-08-10T07:05:47 | 2021-08-10T07:05:47 | 393,329,469 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 822 | cpp | Calculator.cpp | //
// main.cpp
// Calculator
//
// Created by samarth kumar on 06/08/21.
//
/* Calculator using switch case*/
#include<iostream>
using namespace std;
int main()
{
char oper;
float num1,num2;
cout<<" Please Enter 2 Numbers:"<<endl;
cin>>num1>>num2;
cout<<"Enter an operation(+,-,*,/):"<<endl;... |
683a5f92e386ac2379f463ef3eabeaf345663a59 | f28782d02a8fa301be9e08496c7341762462bc2c | /DataStruct/栈与队列/buct1959全排列.cpp | 355467f33da35dcac1dba234b8e0594291e52f9c | [] | no_license | BUCTdarkness/JiyiShen-s-Coding | 4dcd265c9e65d6c7dee21d87bb76420f39ace3b2 | 9957c10e222f15686459e5a7c909404e7e7ff536 | refs/heads/master | 2016-09-06T16:50:31.586323 | 2015-03-22T01:44:56 | 2015-03-22T01:44:56 | 32,655,388 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 642 | cpp | buct1959全排列.cpp | #include<iostream>
#include<algorithm>
#include<string.h>
using namespace std;
char s[10],ans[10],pre[1000][10];
int vis[10];
int len,p;
void dfs(int count)
{
if(count==len)
{
int flag=1;
for(int k=0;k<p;k++)
{
if(strcmp(ans,pre[k])==0)
{
flag=0;
break;
}
}
if(flag)
{
cout<<ans<<endl;
... |
05c913eb9de94e769f651718d620857ac58a2dcb | d696095a5f8f8f14ee17f53a96dcf3b2a66b1c0c | /BFS_1697_v2.cpp | 4997bacf512bbc3a0a14e32cb7f78e7d0f6dc8e2 | [] | no_license | xhoneybee23/Algorithm-Master | bbba78b0759d9477c94cee51a69cb673f9c2e7ce | a9d20f0b91924f8850e272c61c1cc0d3e52f9972 | refs/heads/master | 2022-04-02T06:15:23.337257 | 2019-10-16T12:02:42 | 2019-10-16T12:02:42 | 91,090,329 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,087 | cpp | BFS_1697_v2.cpp | #include <iostream>
#include <queue>
using namespace std;
int main() {
int s, d;
int dist[100001] = { 0 };
bool check[100001] = { false };
cin >> s >> d;
queue <int> q;
q.push(s);
dist[s] = 0;
check[s] = true;
while (!q.empty()){
int x = q.front();
q.pop();
// 여기서 x값을 destinati... |
e8636989aefc9cacc485aadd6eea9914b8d0592e | 3be032c14c9b659ba4c1dfd599f8c85257688317 | /dist/ios/src/_root.app18_ButtonEntry_Value_Property.cpp | d33b3390d311ee2c7452437f87eeaa45e1f925cb | [] | no_license | gncvalente/18app | 5433674c6f86d204af81290aa61eef07bb897cf5 | 40968aa4e3e7c044ce14cd2488313dd5a45d9b1b | refs/heads/master | 2021-07-21T01:43:39.091532 | 2017-10-31T12:44:48 | 2017-10-31T12:44:48 | 106,106,556 | 3 | 0 | null | 2017-10-07T15:02:43 | 2017-10-07T15:02:43 | null | UTF-8 | C++ | false | false | 4,379 | cpp | _root.app18_ButtonEntry_Value_Property.cpp | // This file was generated based on /Users/r0xstation/18app/src/.uno/ux13/app18.unoproj.g.uno.
// WARNING: Changes might be lost if you edit this file directly.
#include <_root.app18_ButtonEntry_Value_Property.h>
#include <_root.ButtonEntry.h>
#include <Uno.Bool.h>
#include <Uno.UX.IPropertyListener.h>
#include <Uno.U... |
5619455460e73f88735cdb0a2dff7ee88f901296 | 0fb375d004d1c98d4356acbeb0d5a6a9cc37b801 | /demo/wpr_grab_control/include/wpr_grab_control/wpr_grab_control_node.h | 0d1b485edb4298fa7678a4564f17e81d3fcf3a0c | [
"MIT"
] | permissive | yjz17377133/Team204 | 6675e7fc05fee0256420d86aff0d7f84ea4e7f7c | 12a9679c6eb7bc6a52d5691586fce2672dfcbc44 | refs/heads/master | 2021-03-01T13:40:02.741331 | 2020-06-15T06:08:10 | 2020-06-15T06:08:10 | 245,790,185 | 1 | 0 | MIT | 2020-05-21T02:41:06 | 2020-03-08T09:59:28 | null | UTF-8 | C++ | false | false | 3,466 | h | wpr_grab_control_node.h | //
// Created by yspjack on 2020/5/25.
//
#ifndef SRC_WPR_GRAB_CONTROL_NODE_H
#define SRC_WPR_GRAB_CONTROL_NODE_H
namespace wpr_grab_control_node {
/** \brief Bounding box
*/
struct BoxMarker {
float xMax;
float xMin;
float yMax;
float yMin;
float zMax;
flo... |
3550b29928eea23ea951ad1fea13ebfd6cc73353 | af0ecafb5428bd556d49575da2a72f6f80d3d14b | /CodeJamCrawler/dataset/14_12523_55.cpp | 8fc708fb85e5184ae950f13a4186e902dc69ed39 | [] | no_license | gbrlas/AVSP | 0a2a08be5661c1b4a2238e875b6cdc88b4ee0997 | e259090bf282694676b2568023745f9ffb6d73fd | refs/heads/master | 2021-06-16T22:25:41.585830 | 2017-06-09T06:32:01 | 2017-06-09T06:32:01 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,311 | cpp | 14_12523_55.cpp | #include <iostream>
#include <vector>
#include <algorithm>
#include <fstream>
using namespace std;
// main
int main(){
ifstream cin;
cin.open("magic_tric_test.txt");
ofstream cout;
cout.open("magic_tric_sol.txt");
// store T & proceed
int T; cin >> T;
for (int t = 0; t < T; t++){
// store 1st... |
382e60ed8b7ecadd8bc5f9663f1b75183af70920 | 7c24f112542188b3ad8f7815859017038982d69b | /Bolyongas/Bolyongas_old.ino_ | 6c60b3af9109749c70cd7eb714050631f006ea93 | [] | no_license | csatacsirke/Arduino | ede4acb0c9f668cffb809bb9b67cfa72e7da0e7f | d4b1a979630fd7464462407aadf7418507f0ce51 | refs/heads/master | 2021-01-10T13:19:52.892437 | 2016-02-11T13:48:18 | 2016-02-11T13:48:18 | 45,172,832 | 0 | 1 | null | 2016-02-11T13:48:18 | 2015-10-29T09:23:53 | Java | UTF-8 | C++ | false | false | 3,030 | Bolyongas_old.ino_ | ///////////////////////////////////////
//#include <Bridge.h>
//#include <HttpClient.h>
//#include <ArduinoJson.h>
#include <Servo.h>
Servo fwservo;
Servo stservo;
Servo turret;
//Digital pin 7 for reading in the pulse width from the MaxSonar device.
//This variable is a constant because the pin will not change thr... | |
4a858703be46a35c4070dce5944e0e9289b851d7 | 2f095fea14e9dcc9a0c422d822c398afbaacfcc8 | /binCon/MorseNode.h | 2bbcc5cd9fdd06153a607d9762a96cd048538d1a | [] | no_license | jmanndev/morseCodeConverter | 03c62253436792e768a16d81929952c08ca33ef2 | eefd5244a2c29f416d690d30cfc615615e77889e | refs/heads/master | 2020-07-02T03:58:22.964091 | 2016-11-21T06:43:20 | 2016-11-21T06:43:20 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 562 | h | MorseNode.h | #include <string>
#ifndef MORSENODE_H
#define MORSENODE_H
struct MorseNode
{
char letter;
std::string morse;
bool operator==(const MorseNode& inputNode) const
{
return (morse == inputNode.morse);
}
bool operator<(const MorseNode& inputNode) const
{
return (morse < inputNode.morse);
... |
23b24f779e9116849b71acaa0b0450c89fc90a3c | fb1eceebfb75469bd30c8f3c3a44872613ddc8be | /Sources/Luogu P1006 传纸条.cc | 860aa19c6bfa3b4d61146ebe506c065c09433b0c | [] | no_license | zeyugao/oi | 50711c0fc3c3103b23c6781f44907b2b31252959 | 5452b4e7540cae656dd839132ef5807e48b52cf5 | refs/heads/master | 2021-08-10T15:48:28.545202 | 2021-07-03T00:45:51 | 2021-07-03T00:45:51 | 64,367,780 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,294 | cc | Luogu P1006 传纸条.cc | #include <string.h>
#include <algorithm>
#include <iostream>
using namespace std;
#define MAXNUM 10000
#define LEN 4
//Summary:
// dp[step][x1][x2] = max(
// dp[step-1][x1][x2],//两个都只往下走一格
// dp[step-1][x1-1][x2],
// dp[step-1][x1][x2-1],
// dp[step-1][x1-1][x... |
1813abe1f5b15cf1b49aea339249cbab2f11c5fd | a7a0a438f9bc9c79f79c85a76cd9e49a31e871ea | /GameTemplate/Game/graphics/SkinModelEffect.h | 95da3fe358a1793babd2c3157517dd879b01fc7f | [] | no_license | m-taku/sotuken | 0e042cdadca5d960bdd48aeabdb3ea398c90fe87 | 472664bf8d3a4e22b1c8988d615d8e81fe6286c3 | refs/heads/master | 2022-04-16T01:25:42.834442 | 2020-03-27T07:10:42 | 2020-03-27T07:10:42 | 204,858,655 | 0 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 5,859 | h | SkinModelEffect.h | #pragma once
#include "graphics/Shader.h"
#include "TextureManager.h"
/*!
*@brief モデルエフェクト。
*/
class ModelEffect : public DirectX::IEffect {
protected:
std::wstring m_materialName; //!<マテリアル名。
Shader* m_pVSShader = nullptr;
Shader* m_pPSShader = nullptr;
Shader m_vsShader;
Shader m_vsShaderNature;
Shader m_vsSh... |
6834cff1a032f1ddc15010077e4dd27010db3c57 | aab3ae5bb8ce591d29599f51f5fb4cd9c5b05f38 | /SourceCode/Base/Math/Vector/Vec2D.cpp | cb3611e84d0c2e571cf8258400ef26e8cbf3fea7 | [] | no_license | S-V/Lollipop | b720ef749e599deaf3fbf48b1e883338dcb573c3 | eca4bfe6115437dc87f638af54a69de09956cbfb | refs/heads/master | 2022-02-09T04:59:17.474909 | 2022-01-25T20:20:20 | 2022-01-25T20:20:20 | 43,964,835 | 11 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,290 | cpp | Vec2D.cpp | /*
=============================================================================
File: Vec2D.cpp
Desc:.
=============================================================================
*/
#include <Base_PCH.h>
#pragma hdrstop
#include <Base.h>
#include <Base/Math/Math.h>
mxNAMESPACE_BEGIN
const Vec2D Vec2D::vec2_ori... |
bdf19315d89648c4f9a8e799f2fc9684f0e2a6ef | 368056bea38d2870eff3d059fff7bae77a73f2da | /repo/Mix2dSP/Fields.cpp | 52111c290a42dc90b7211ef898bb7de48e4914c1 | [] | no_license | lzrdig/Mix2dSP | b6e03527bc4232ed79d055914e5552c98f0b276e | f8549685e11be7310b09246b75d1c87853d0b4d9 | refs/heads/master | 2021-01-13T08:50:21.828358 | 2018-08-11T20:30:00 | 2018-08-11T20:30:00 | 71,913,197 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,042 | cpp | Fields.cpp | //***************************************************************************
//
// Class CFields
//
// List of member functions:
//
// * fSetField(int type, int num, float val)
//
// This function will set the array element 'num' for the variable
// specified in the 'type' argument to a 'val' value of... |
592edbe54700ce9a32031108983ce4ffd8c0569a | 09e5cfe06e437989a2ccf2aeecb9c73eb998a36c | /modules/clipper/clipper/contrib/fffear.h | 8bb32e08f7352d2d9e54ab792d674027af519baf | [
"LGPL-2.1-only",
"BSD-3-Clause"
] | permissive | jorgediazjr/dials-dev20191018 | b81b19653624cee39207b7cefb8dfcb2e99b79eb | 77d66c719b5746f37af51ad593e2941ed6fbba17 | refs/heads/master | 2020-08-21T02:48:54.719532 | 2020-01-25T01:41:37 | 2020-01-25T01:41:37 | 216,089,955 | 0 | 1 | BSD-3-Clause | 2020-01-25T01:41:39 | 2019-10-18T19:03:17 | Python | UTF-8 | C++ | false | false | 6,210 | h | fffear.h | /*! \file fffear.h
Header file for sample fffear impelementation
\ingroup g_fffear
*/
//C Copyright (C) 2000-2004 Kevin Cowtan and University of York
//C Copyright (C) 2000-2005 Kevin Cowtan and University of York
//L
//L This library is free software and is distributed under the terms
//L and conditions of vers... |
6eb428bf84faacd10d5d91e6efd9f2ea491b37f8 | 828a10fe37b8736ad9677849c924aae260aace56 | /rviz_robot_marker/include/rviz_robot_marker/RvizRobotMarkerPublisher.h | 5c102c63ba85a76ed6f2b7d8a4ad2d60dc0ce83f | [] | no_license | squirrel-project/squirrel_motion_planner | c65db2a3290723071ba07ef1fff484aba4908732 | 7ec99ce10732455581b73b230f48e57a618c2094 | refs/heads/indigo_dev | 2021-05-23T05:59:20.961557 | 2018-03-19T09:50:41 | 2018-03-19T09:50:41 | 94,750,216 | 0 | 5 | null | 2018-03-19T09:50:42 | 2017-06-19T07:44:56 | C++ | UTF-8 | C++ | false | false | 8,509 | h | RvizRobotMarkerPublisher.h | #ifndef INCLUDE_RVIZROBOTMARKERPUBLISHER_H_
#define INCLUDE_RVIZROBOTMARKERPUBLISHER_H_
#include <sensor_msgs/JointState.h>
#include <kdl/chainfksolverpos_recursive.hpp>
#include <kdl/tree.hpp>
#include <tf/tf.h>
#include <urdf_model/model.h>
#include <std_msgs/ColorRGBA.h>
#include <visualization_msgs/MarkerArray.h>
... |
298f138ffa8b59e5eed55566ced15f371d350ff1 | b26066401b2a4cb8d88f5b4b1b515bebb0c004f5 | /include/rpc_client.hpp | 9ad6d20fe957d8451ec771ff9ae59345fae31e03 | [
"MIT"
] | permissive | sleepy-zeo/rest_rpc | 4ee706be8cfd24fdc699d77b1e9accb53dc408d6 | b3d1c6e4dd42145fe36153cb01c6522e16f50f60 | refs/heads/master | 2022-12-12T19:10:59.393310 | 2020-09-16T09:00:54 | 2020-09-16T09:00:54 | 289,219,788 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 24,189 | hpp | rpc_client.hpp | #ifndef REST_RPC_RPC_CLIENT_H
#define REST_RPC_RPC_CLIENT_H
#include <deque>
#include <future>
#include <iostream>
#include <string>
#include <utility>
#include "client_util.hpp"
#include "const_vars.h"
#include "meta_util.hpp"
#include "use_asio.hpp"
using namespace rest_rpc::rpc_service;
namespace rest_rpc {
enu... |
1f98f0a18992bac845bd0ceb849e830d819bfc6c | 24d4eaf7a113c45e39d512cd35803fe5cbadb501 | /ChatServer/Misc.cpp | f45b1cf72fff95660802604a1e9caac2421bd40a | [
"Apache-2.0"
] | permissive | kc345ws/ChatMFC | 42d29e799e9bbf638e0bd39c8ba86859cc405c16 | d568a3d36434ff18524dd635e6fa2615aeb5564e | refs/heads/master | 2020-03-16T08:19:15.011355 | 2018-05-04T13:20:12 | 2018-05-04T13:20:12 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,822 | cpp | Misc.cpp | #include "stdafx.h"
#include "ChatServer.h"
#include "ChatServerDlg.h"
void CChatServerDlg::OnBnClickedOk()
{
PasswordBox->GetWindowTextW(Context.Password, 16);
Context.ServerThread = AfxBeginThread(CChatServerContext::ServerFunc, &Context);
}
void CChatServerDlg::OnBnClickedButton2()
{
if (Context.ServerThread)
... |
c28635ab1d9074c7e2f1aee7c77f87af1574f16b | c56a11bf4a49ce315e5fead7563b792c4a1c5cf6 | /SPN/unused/main.cpp | 710105185a2bb8652b49eef6ca2e44635830d724 | [] | no_license | podiumdesu/cryptography_design | d1c52ca46dec30316951f837b53bc7939e0a9b60 | d134e172a5f1f69cb14a6d80d3477292bf14ed90 | refs/heads/master | 2021-10-10T23:04:07.295800 | 2019-01-18T17:04:23 | 2019-01-18T17:04:23 | 143,545,598 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,378 | cpp | main.cpp | #include <stdio.h>
#include <stdlib.h>
#include "spn_create.h"
int max = 1310720; // 10M
unsigned long long k1=0x123ab25df686c124;
unsigned long long k2=0x973a5b6c7f7a654d;
unsigned long long x1=0x0000000000000000;
unsigned long long x2=0x0000000000000000;
unsigned long long iv1=0x3a94d63f12345678;
unsigned long l... |
4e8fe08dbc9135c7ac21c8f9e45eaa023193d3ea | 49bfb93d4775a43cd1d564c90f8de3b81fc4474c | /Labsheets/Lab_5 (Queue)/queue/queue_array.h | 29ddd097ac9f08017a7eb7f5b4a22623953cbdbf | [] | no_license | tt-jaimon/Data-Structures | 1532cc3f4ffdb88ac31c5b49e6781e6a4e4c19a6 | aaacdb75878525962e3da14379c3c9e47ff2cd9a | refs/heads/master | 2020-05-17T10:47:56.989844 | 2015-04-15T18:14:15 | 2015-04-15T18:14:15 | 27,226,505 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 816 | h | queue_array.h | #ifndef QUEUE_ARRAY_H
#define QUEUE_ARRAY_H
using namespace std;
#include<iostream>
class Queue_Array
{
static const size_t queue_size = 5;
typedef size_t size_type;
typedef int value_type;
value_type data[queue_size];
size_type Queue_Size;
int front_queue;
int back_queue;
public:
Queue_Arra... |
d29d1eda296c6e4ec7a8ca86d6377f63848e7e89 | afe703e78726cac56ac084021cafe870eee7bdec | /core/utils/lz4compression.cpp | 55a02fac8ff98298af7b5f45484c5d4c99ff7cdf | [
"Apache-2.0",
"MIT",
"LicenseRef-scancode-unicode",
"Unicode-DFS-2016",
"BSD-3-Clause",
"BSL-1.0",
"BSD-2-Clause"
] | permissive | iresearch-toolkit/iresearch | 061e0296cc0735c16f6ac9c69fbab1f21b77d92f | 27444dbdc18289b676a9fd45388861d4d496628f | refs/heads/master | 2023-08-16T23:58:24.239543 | 2023-08-16T19:20:58 | 2023-08-16T19:20:58 | 71,565,220 | 182 | 31 | NOASSERTION | 2023-09-14T16:23:43 | 2016-10-21T13:06:05 | C++ | UTF-8 | C++ | false | false | 4,403 | cpp | lz4compression.cpp | ////////////////////////////////////////////////////////////////////////////////
/// DISCLAIMER
///
/// Copyright 2019 ArangoDB GmbH, Cologne, Germany
///
/// 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... |
8ffabb1663d4adca47fd5fe55f7f9e642efb4aa9 | e1aa89225cbf3b540db43c69bb161209dbb2ce90 | /person.h | 75fde9847642e1e12c7fbf6963995f4f9a102840 | [] | no_license | chitalshangy/curriculum-design | 32a20c1b7283ae94b5d8bbe71f4c88bb08f4a882 | 07fa03b92ee926359b090bec668687edbb01e20e | refs/heads/master | 2021-06-26T07:42:13.363713 | 2020-12-07T13:56:10 | 2020-12-07T13:56:10 | 189,151,745 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 2,152 | h | person.h | #include<iostream>
#include<cstring>
using namespace std;
class person
{
public:
person();//无参构造函数
void setname(string q1);//设置姓名
void setsex(string q2);//设置性别
void setpbnumber(string q3);//设置电话号码
void setaddress(string q4);//设置地址
void setpostal_code(string q5);//设置邮政编码
void setemail(string ... |
796d8b0219e9557c22ee21b32923226b5999df0b | b3e5b0bd78521e7cc02d45076305bfcdd6095462 | /NAVS/userTools/usertools.h | 7a4a28c0bfe8c356842281e17842ccb66273abfe | [] | no_license | rapcode005/QMLApp | 4e3fc2681c10474a10c7ba1f1358fef1200ef6da | b764db47a22d66584a7b6933b9b512e07588c323 | refs/heads/master | 2022-12-28T06:31:23.388021 | 2020-10-12T09:27:25 | 2020-10-12T09:27:25 | 303,338,979 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,481 | h | usertools.h | #ifndef USERTOOLS_H
#define USERTOOLS_H
#include <QAbstractListModel>
#include <QObject>
#include <QJsonObject>
#include "webServicesTools/webservicestools.h"
#include "organizationModel.h"
#include "installationTools/installationtools.h"
class UserTools : public QObject
{
Q_OBJECT
public:
explicit UserTools(... |
48e0be23e3a9214e813f584f89acbe82c880f5a4 | 0937a9f2a63692a058dded1eb80afd2ce2759e9f | /Line.h | 245cb0602a9a6e51ee26e9d2dab0dfd2953742bb | [] | no_license | mejaseye9083/Individual_team | 4318d458d92115de9679e7d85b6468e8a708b86e | 49922689f7b38b576c9caa0d5950d0acb55a0074 | refs/heads/master | 2021-01-10T07:33:50.859837 | 2016-03-11T04:25:54 | 2016-03-11T04:25:54 | 51,127,622 | 0 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 996 | h | Line.h | /*===========================================================================================
概 略:描画関連の作成(カメラの向いてる向きのチェック等)
作成日:2015.08.31
更新日:2015.09.02
制作者:藤原順基
=============================================================================================*/
#pragma once
//---------------インクルード----------------... |
89cb96c4c95799245f3aae9da5a304e3452401a2 | 925eca107f80e1b066a6dcc939b9a5758e5ac287 | /7_09_1/7_09_1/7_09_6.cpp | 1ec2ba5ec19061ab401125c9c9e3ad3df793f92c | [] | no_license | SeungWookJung/Cpp_Study | 8f03cf23f28421ad478e5f8c913ea270dc8c97e1 | 66c39e5c57aca551e1b81fc72e2f3b2eb2c8dd12 | refs/heads/master | 2020-06-21T05:16:08.218304 | 2019-07-30T02:25:05 | 2019-07-30T02:25:05 | 197,353,226 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 1,079 | cpp | 7_09_6.cpp | #include <iostream>
using namespace std;
typedef struct Person
{
int id;
string name;
int phone;
};
int main()
{
int id = 0;
int count = 0;
int Default = 5;
Person p;
Person* person = new Person[Default];
int* dynamic_memory1 = new int[5];
int array_size = sizeof(*dynamic_memory1) / sizeof(int);
w... |
4227a02a6a7ed3e38b822d7edd2780bfc79bc386 | 74ec995628b5dc433367d834890df040aae196e3 | /src/kruto/sandbox/application.hpp | ed57a2052ce26427870233a3f42b009f2e43c622 | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | bagobor/kruto.js | 4b9f6d5035bf0ec69d8de783a8f7663209055013 | ac602b27b3b9c1a6212d4b0bb6b4e2b1f383f415 | refs/heads/master | 2021-01-16T19:54:23.776023 | 2013-01-11T17:16:23 | 2013-01-11T17:16:23 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 725 | hpp | application.hpp | #ifndef KRAPPLICATION_HPP
#define KRAPPLICATION_HPP
namespace kruto {
class Script;
class Application
{
public:
public:
Application(const int pArgc, char **pArgv);
~Application(void);
bool initialize(void);
void uninitialize(void);
int translateKey(const int pKey) const;
void processEvents(void);
int exec(... |
c6aa4a5ab95a89e34d3540945bcf05697606114c | 4e4b253d61b2502ae9c18c4587df8a4dac2b072b | /Program8_Task1.cpp | 098c926190339a46bf3225a2d1bd6d440b6b90ab | [] | no_license | hardik20sharma/Classroom_Data_Structures_and_Algorithms | 8674964832044460c9ab59e56d306ca84d429b0e | 1635d7981e292684f71b38bed771c8282ae76863 | refs/heads/master | 2022-04-20T18:56:21.568000 | 2020-04-19T12:05:17 | 2020-04-19T12:05:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,693 | cpp | Program8_Task1.cpp | // WAP to insert, display, delete elements in circular linked list
#include<iostream>
using namespace std;
struct node
{
int info;
node *next;
} *start, *rear, *newptr, *ptr;
node *create_new_node(int inf)
{
ptr = new node;
ptr->info = inf;
ptr->next = NULL;
}
void insert_node(node *n)
{
if(... |
642d4c42946fb956db96ecc4b6c95498c76670ee | 971a269417a87b9755f2904836e462d1999b1333 | /test-2/main.cpp | d89e798e7bdd013d6392d54a9a1e2906e419359d | [] | no_license | egon12/OFsketchToH264 | f4ab4232724f22adf6a273165253530aab99a355 | f86bc0edff4a6443646a713a564a19729dfaf02f | refs/heads/master | 2020-04-23T18:38:39.279930 | 2019-02-15T16:58:27 | 2019-02-15T16:58:27 | 171,374,681 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 426 | cpp | main.cpp | #include <iostream>
#include "../src/movie/RGBtoYCbCr.hpp"
int main() {
int w, h, c;
w = h = 2;
c = 3;
unsigned char rgb_data[12] = {255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255};
auto converter = new RGBtoYCbCr(w, h, c);
converter->setRGB(rgb_data);
auto yuvImage = converter->yuvI... |
614552938eb76a614f76cb111bb9ab7c070e44fc | 6531a31eaa5d9c7f8720f2c7b2667e6ce96a75e5 | /TMXTiledMapEx.h | 80505201c17f520311a56ac7860a20459ea42543 | [
"MIT"
] | permissive | DEAGS3000/cocos2dx-animated-tile-support | f3febbdd2359993101220e4d849af9ca327c0f9a | 228c9e33217b050e5c96961629f148172caebaab | refs/heads/master | 2020-08-31T02:04:59.006316 | 2019-11-18T12:10:55 | 2019-11-18T12:10:55 | 218,553,301 | 8 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,727 | h | TMXTiledMapEx.h | #pragma once
#include "cocos2d.h"
#include "TMXLayerEx.h"
#include "TMXTilesetInfoEx.h"
USING_NS_CC;
namespace pm
{
class TMXLayerEx;
class TMXLayerInfoEx;
class TMXMapInfoEx : public TMXMapInfo
{
public:
static TMXMapInfoEx * create(const std::string& tmxFile);
/// Layers
cons... |
b9f371b6a5d5aab25dabfd0a0f30c86a3df37ac4 | 1a380d6b5a6ed3984874b68ade18830056ff0b3b | /TREES/Trees 0/printing a tree in reverse order.cpp | 71bf936cb49e6cdf4fc48f77ccfe6651a4c20831 | [] | no_license | avinashgazula/Data-Structures | 689149f6b05ce209dabe1c8445f56d8c3777828e | 0aada83e7fe28bd01019290fb53773f725cdab9c | refs/heads/master | 2020-03-25T06:48:20.168064 | 2018-08-04T13:47:37 | 2018-08-04T13:47:37 | 143,524,990 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,181 | cpp | printing a tree in reverse order.cpp | #include<iostream>
using namespace std;
struct stack{
int size;
int top;
int elements[50];
};
typedef struct bstnode{
int data;
struct bstnode *lchild;
struct bstnode *rchild;
}* bstptr;
void push(struct stack &s,int data)
{
if(s.top==s.size-1)
{
cout<<"Stack is full\n";
}
else
{
... |
7d38af7b5fb122bbbabd654af5c17e2424f4f59b | 5b27c5a740e76c5c77c876b0ac2e009abe8cb120 | /include/dframework/monitor/MonBase.h | 944136a8a57d2ccfd3915dc01440f2590b0a3e44 | [] | no_license | dframework/cpp-common | 5a31ee667fa53a2e27c4ea362a4273889a860cb1 | 745d52e848db5261c9c3b2974999d085baffd1b2 | refs/heads/master | 2021-01-17T20:36:01.823663 | 2020-10-22T11:31:16 | 2020-10-22T11:31:16 | 59,715,298 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,453 | h | MonBase.h | #ifndef DFRAMEWORK_MONITOR_MONBASE_H
#define DFRAMEWORK_MONITOR_MONBASE_H
#include <dframework/base/Retval.h>
#include <dframework/util/Array.h>
#include <dframework/util/ArraySorted.h>
#include <dframework/io/File.h>
namespace dframework {
class Monitor;
class MonBase : public Object
{
public:
static... |
d557de267b4168d800c2ce0b4c99f5e50fbbec31 | 4986ae1665b0ab0eac85e13f6a883fa786bbe580 | /data/heap.cc | 33ff13ab6a8401d8351bf6117bb26599dec3f4f9 | [] | no_license | finallyjustice/sample | ffcbfca8adf1bdd129baa8f819b53321e74d17f6 | 36ae225a82640951b74be85e1e9d42a213845fbd | refs/heads/master | 2023-03-09T08:44:37.049755 | 2023-02-27T16:38:06 | 2023-02-27T16:38:06 | 14,458,335 | 4 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,755 | cc | heap.cc | #include <iostream>
#include <cstdlib>
using namespace std;
template <typename T>
class MaxHeap
{
private:
T *data;
int size;
int capacity;
private:
int parent(int i);
int left(int i);
int right(int i);
void max_heapify(int i);
public:
MaxHeap(int cap);
void build_max_heap(T *a, int n);
void insert(T val... |
dc0ecb3f054457677f931d038e975e479c479894 | 973996e18022fc176ec68876bbceb5ae54aa9cac | /ICPC_Mirrors/Nitc_13.0/problems/problems/lengths/files/validate.cpp | 968eda7517ea05e5cb99de00a0a73977ffb89624 | [
"MIT"
] | permissive | Shahraaz/CP_P_S5 | 80bda6a39f197428bbe6952c6735fe9a17c01cb8 | b068ad02d34338337e549d92a14e3b3d9e8df712 | refs/heads/master | 2021-08-16T11:09:59.341001 | 2021-06-22T05:14:10 | 2021-06-22T05:14:10 | 197,088,137 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 223 | cpp | validate.cpp | #include "testlib.h"
using namespace std;
int main(int argc, char** argv) {
registerValidation(argc, argv);
inf.readToken("[a-z]{1,200000}", "w");
inf.readEoln();
inf.readEof();
return 0;
} |
6f3196f19c7d2f3bf5bf4f97eca3ab3c18b50111 | 7e1e01498a2c9dc2c0c183463fd746ee73128e1f | /Battle City/Battle City/Block.cpp | 3b6e42c0e84d8c4589690685fab6c5ccf5c54ef3 | [] | no_license | parksch/SuChanPark | b91d3653eeb93fe81c6d1081bc48cb0af99658b6 | fd214f322c6766add20bdd90c057b0d3f8662879 | refs/heads/master | 2023-04-27T20:38:57.667603 | 2021-05-17T02:18:24 | 2021-05-17T02:18:24 | 265,213,869 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,025 | cpp | Block.cpp | #include "Block.h"
#include "GameScene.h"
Block::Block()
{
}
Block::~Block()
{
delete m_Block;
}
void Block::Init(int width, int height, int startX, int startY)
{
m_Block = NULL;
m_BlockSize.cx = (width *0.8f) / 13.0f;
m_BlockSize.cy = height / 13.0f;
m_Pos.x = m_BlockSize.cx * startX;
m_Pos.y = m_BlockSize.cy ... |
371a99d2a278284f7547de46e338418d27cd1cf0 | b7b2ab4cc78f0fa7c012dbc4c2cff81636b0345a | /src/Menu/Button.cpp | e66250a05d3aa30fb23db5c42cc18ba86014f021 | [] | no_license | Reterer/Ping-pong | 550844fd79d9f1bf38b680809ff03aa34d40aa8d | 6db2b07f131bdc6f6344babee8d7d6875880d410 | refs/heads/master | 2020-06-22T04:24:59.407225 | 2019-07-18T17:47:20 | 2019-07-18T17:47:20 | 197,632,272 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 885 | cpp | Button.cpp | #include "Button.h"
Button::Button()
{
}
void Button::init(int x, int y, int size_x, int size_y, sf::String str, sf::Font& font)
{
this->x = x;
this->y = y;
this->size_x = size_x;
this->size_y = size_y;
shape.setPosition(sf::Vector2f(x,y));
shape.setSize(sf::Vector2f(size_x,size_y));
sha... |
58638dc4de1fd1cb26ddd7b3e6bb7ef7be943291 | 90f012884b86fa418bc68ab393eff629a17d3fc8 | /src/abbros/src/qnode.cpp | 9964b3f35344d8ff0cb5ac3109e96fbac7c8a16a | [] | no_license | RazThePsycho/ABB_IRB140_PACKAGES_ROS | 6d4a21148a2454204b481f058d564ff9d0317563 | 39e1233a1fd32a92e955ef4ba898f469eaa3b72d | refs/heads/master | 2023-03-16T07:06:00.024265 | 2017-03-14T20:06:23 | 2017-03-14T20:06:23 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,398 | cpp | qnode.cpp | /**
* @file /src/qnode.cpp
*
* @brief Ros communication central!
*
* @date February 2011
**/
/*****************************************************************************
** Includes
*****************************************************************************/
#include <ros/ros.h>
#include <ros/network.h>
#in... |
3f5ead27bc6826ff2cc350ff020530edc701d8c7 | 5b4e7bacdc6373fe7167bdbc3d98d1cc7e9f6c0d | /raytracer/Plane.h | 73ac5f81680e0efa81defb4b470a05c9e81dec94 | [] | no_license | AliShug/Raytracer | 78989d4ba2db5d8361074515100c1d85d1001848 | d61fe8ee57a5697d432e0e5f7502983d20135c0b | refs/heads/master | 2020-12-25T13:08:03.444916 | 2015-05-22T23:40:10 | 2015-05-22T23:40:10 | 32,888,496 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 234 | h | Plane.h | #pragma once
#include "SceneObj.h"
class Plane : public SceneObj {
public:
Plane(glm::vec3 point = { 0, -0.8f, 0 }, glm::vec3 normal = { 0, 1, 0 });
~Plane();
HitInfo Intersect(const Ray &ray);
protected:
glm::vec3 _p, _n;
};
|
fd27ad64e84f1b244d9bce321d702eace5f0a302 | 18a4f8bd035da2a92dae23b06dbffba90c31354b | /drivers/laser/laser.hpp | 218d6dd4cb378be1d364a0a2f301ef6cf1e3a63b | [
"MIT"
] | permissive | ArchiGithub/zynq-sdk | 9d98247cfe758e3f5168e5973002ae98487c1497 | 9c95d033e4bde824c399478ac85b9ec9374f87bc | refs/heads/master | 2021-01-23T23:35:11.390955 | 2016-06-23T21:14:55 | 2016-06-23T21:14:55 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,048 | hpp | laser.hpp | /// Laser development kit driver
///
/// (c) Koheron
#ifndef __DRIVERS_LASER_HPP__
#define __DRIVERS_LASER_HPP__
#include <tuple>
#include <drivers/lib/dev_mem.hpp>
#include <drivers/addresses.hpp>
#include <drivers/xadc/xadc.hpp>
#include <drivers/gpio/gpio.hpp>
#include <drivers/eeprom/eeprom.hpp>
#include <threa... |
31ce47cbacfb20463850beb60797f03137339506 | 7b20d9bc63db11417847977cd2bdd3866f5128b7 | /Labwork4/Source.cpp | 0085efd2b4a9bc4359f7effa342b8c26c1106bf7 | [] | no_license | Evasionn/CENG351 | e9c517dbd01c081d25ada698c6b2c1bab0684f58 | 67934f6575710324a66e56a552b4af451008d071 | refs/heads/master | 2021-01-22T03:01:37.204521 | 2016-12-25T22:16:08 | 2016-12-25T22:16:08 | 72,097,595 | 0 | 0 | null | 2016-10-27T19:47:36 | 2016-10-27T10:29:03 | C++ | UTF-8 | C++ | false | false | 5,382 | cpp | Source.cpp | #include <stdio.h>
#include <stdlib.h>
#include <string.h>
#define indexFile "index.txt" //Index file format is (INDEX ID)
#define studentFile "student.txt" //Student file format is (INDEX ID NAME)
typedef struct s
{
int ID;
char name[32];
}Student;
typedef struct
{
Student * list;
int size;
}StudentList;
void ... |
9ec68c5dc7a7536695cbea4a15314a84bf7c944b | 8f4faf47d46d87991329d6499a3eb9e2688301b7 | /Sorting/Shellsort/main.cpp | 556c005b92770c1fb2db20687c1638b086a8a8f7 | [] | no_license | kirisanm/CppCollection | e65799b22bec40c971893b2add904a517d0e550d | baee9f2e70703eceb85180aeafeac1fc9296ffb5 | refs/heads/master | 2020-03-11T08:18:37.948341 | 2018-05-24T19:37:51 | 2018-05-24T19:37:51 | 129,880,512 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 607 | cpp | main.cpp | // Coded & Developed by Kirisan Manivannan
#include <iostream>
void shell_sort(int[], int);
void insertion_sort(int[], int, int);
int main{
const int length = 100;
int array[length];
shell_sort(array, length);
char ch; cin >> ch; // Keep window open();
return 0;
}
void shell_sort(int arr[], int len){
in... |
b3a173820c25d4334e0b964ec528157e3bb8bd79 | 6b2a8dd202fdce77c971c412717e305e1caaac51 | /solutions_5669245564223488_1/C++/urusant/main.cpp | e5ce77e9c683bcf4e52445165e958992c679b394 | [] | no_license | alexandraback/datacollection | 0bc67a9ace00abbc843f4912562f3a064992e0e9 | 076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf | refs/heads/master | 2021-01-24T18:27:24.417992 | 2017-05-23T09:23:38 | 2017-05-23T09:23:38 | 84,313,442 | 2 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 3,404 | cpp | main.cpp | #include <iostream>
#include <vector>
#include <algorithm>
#include <cmath>
#include <ctime>
#include <cstdlib>
#include <cstring>
#include <string>
#include <queue>
#include <deque>
#include <stack>
#include <set>
#include <map>
#include <iterator>
#include <cstdio>
#include <list>
using namespace st... |
26b4dd2ff06ed7341ebae232dcc1f4e48a86ca32 | 4732e8b09bfef920f834ae4be32af1210278eee8 | /2017 Data Structure/Project5/priorityQueue.cpp | c21ad615c4bda586b3a09f92a240f0b5c2a64947 | [] | no_license | Justin1095/2017-Data-Structure | 466a91383eb8f0fdeb82908ab18a337ae155f381 | 80ad8ad3720b86622822b486a3d9fd6d6da76676 | refs/heads/master | 2021-05-13T14:28:32.246914 | 2018-01-08T23:47:48 | 2018-01-08T23:47:48 | 116,741,616 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,618 | cpp | priorityQueue.cpp | //Justin Seda
//CPSC 250 10am
//jseda1@live.esu.edu
//30 April 2017
//This program is a heap implementation of a priority queue ADT.
//priorityQueue.cpp
#include"priorityQueue.h"
#include<iostream>
#include<iomanip>
using namespace std;
//Constructor - Initializes size to NULL and data to new int[CAPA... |
585355ddcb9749796f44649ea358f994946fc51e | 682dfc3e2ae0b49eafc52b7f9a079562e8bac7cf | /class/Division.cpp | ba2842e63ce9e826c7a6fbf8c0461ba2aa40f14a | [] | no_license | Snowdigit/Championnat | 9adb87cd123a501f6fa909733608c18ec9301fcb | 4e36cf7e197b801a837ed6e2d249fa3ad82a2a3e | refs/heads/main | 2023-06-15T22:11:55.848449 | 2021-07-15T06:17:18 | 2021-07-15T06:17:18 | 386,325,283 | 0 | 0 | null | null | null | null | ISO-8859-1 | C++ | false | false | 14,905 | cpp | Division.cpp | #include "Division.h"
// Pour créer une division
void Division::CreationDivision(){
sqlite3* db;
sqlite3_stmt* stmt;
int rc = sqlite3_open("mydb.db", &db);
char* err;
system ("cls");
cout << "Entrer le numero pour choisir championnat "<<endl;
sqlite3_prepare_v2(db, "select * from Cham... |
d41890c321d526dbbe65af0cd3d82859a817a0cd | 955790a1f28accff52f890211fdc2f5e4e58b3e1 | /SRC/experimentalSignalFilter/ESFErrorSimUndershoot.cpp | 479083881db36622fc89fd29895b21d3b91b93fd | [] | no_license | yangxlhit/OpenFresco | 5e18da3c5440c8573688ecb5590c6dafe5bd3afa | c94e549e6907bff6cc7aff6d85c2fbf5f5d4c2c3 | refs/heads/master | 2023-08-28T02:11:41.646849 | 2021-10-24T21:14:38 | 2021-10-24T21:14:38 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,128 | cpp | ESFErrorSimUndershoot.cpp | /* ****************************************************************** **
** OpenFRESCO - Open Framework **
** for Experimental Setup and Control **
** **
** ... |
9fe4e74ee1c5fb3ad3cd4ed20921b07dff03f6be | 635824211a4c1b94badcbd6d23d94bcfb765694e | /src/sched/ze/ze_event_manager.hpp | 68d7352d643fff94118a3207ed6dc0ee0b60f264 | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | oneapi-src/oneCCL | 3c62402dd644495938c36a85f1866510f2e8c92b | b4c31ba6b42b5bcc7228820e44d2d3f3d519fdc7 | refs/heads/master | 2023-08-25T20:30:14.485614 | 2023-07-19T19:42:04 | 2023-07-19T19:42:04 | 207,412,282 | 125 | 45 | NOASSERTION | 2023-07-25T13:18:50 | 2019-09-09T21:57:46 | C++ | UTF-8 | C++ | false | false | 5,203 | hpp | ze_event_manager.hpp | /*
Copyright 2016-2020 Intel Corporation
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in w... |
fb32c1afd570b1e0a7cc7b9f1dd15567b7abc643 | f3f2fb683ab1877eace58541e6d292f36e11abf1 | /KruskalMST.cpp | 929fa635a126ae45ca8c16ad25413466a331b720 | [] | no_license | prakritidave/graph-implementation | 27d11cfc5db1f522e3c0ff6a02c09813f8cb1811 | 92660d4b749a2b12b17dfb21c0f6716c0eed4a0a | refs/heads/master | 2021-01-01T16:41:39.533385 | 2017-07-21T19:14:02 | 2017-07-21T19:14:02 | 97,890,990 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,479 | cpp | KruskalMST.cpp | // KruskalMST.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
#include <iostream>
#include <vector>
#include <algorithm>
using namespace std;
struct setUnion{
vector<int>parent;
vector<int>size;
int n; //number of elements in set;
};
class kruskal{
setUnion *s;
vector< pair<int... |
609d3a88cea19add971f734cde2f116b7540a579 | ab5acae36b1a040030abc4835813a05c550d8811 | /Radium/MouseTest.cpp | a07d51c7528dc03249fdc4a7a0b088897bc6f481 | [
"MIT"
] | permissive | GameLabStudios/radium | 1f6bbce6e2cba6949339fe76fe657245cbf05fe7 | 2b0fe0e3dd20a5e8d66396b18659ddc33d369151 | refs/heads/master | 2020-04-04T14:33:47.732415 | 2015-03-28T09:14:39 | 2015-03-28T09:14:39 | 19,444,756 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,408 | cpp | MouseTest.cpp | #include "MouseTest.hpp"
#include <iostream>
#include <string>
#define _USE_MATH_DEFINES
#include <math.h>
MouseTest::MouseTest()
{
circle = CircleShape(20, 30);
circle.setOrigin(20.f, 20.f);
playerSpeed = 200.0f;
}
void MouseTest::onDraw(RenderTarget& target, RenderStates states) const
{
target.draw... |
f32f84696e05d2b60b727740d89a9f4ae4214eef | db2d2b3e36d9c9411a3983ca4ba38613ee8eabcf | /src/App/Controller/CommandReportWindShift.h | 295ef0a86e4a7cc2a69c1a17672b09e0eb73f164 | [] | no_license | jrezzende/Airport | 598036658a6777a70bbaf9c368e51c11c2207912 | 67d08b3e58cbe786895619f87dd8f768226a5c8b | refs/heads/master | 2021-09-05T16:42:53.946208 | 2018-01-29T18:03:45 | 2018-01-29T18:03:45 | 115,729,500 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 349 | h | CommandReportWindShift.h | #pragma once
#ifndef INCLUDED_COMMANDREPORTWINDSHIFT_H
#define INCLUDED_COMMANDREPORTWINDSHIFT_H
#include "Command.h"
class UserI;
class CommandReportWindShift : public Command
{
public:
CommandReportWindShift() = default;
~CommandReportWindShift() = default;
void exec(UserI& ui) override;
};
#endif //INCL... |
d9a817da5f2f14c1954a0299875cdf2ee8c45657 | 7fa0466c095842523cd3d58d1152557a6ea49acf | /mainwindow.h | f03bae358447256864bb5a65e3dd91cd0e2f3cfa | [] | no_license | CMon/qtPorts | 0e0dc690aa91ee2627ea085ad8d3d5b6e039aa54 | c43974cbe767935ee497a9af5ffd0c6b31faae78 | refs/heads/master | 2021-01-19T18:53:40.094791 | 2012-07-15T15:14:39 | 2012-07-15T15:14:39 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 503 | h | mainwindow.h | #pragma once
#include <QMainWindow>
#include <QSet>
class QTreeWidgetItem;
namespace Ui {
class MainWindow;
}
class MainWindow : public QMainWindow
{
Q_OBJECT
public:
explicit MainWindow(QWidget *parent = 0);
~MainWindow();
private slots:
void on_twCategories_currentItemChanged(QTreeWidget... |
48c63540ded2f5fffe0289156e0118ea0bebb4c4 | 671b2830778c1efe5d918a1ebe25a53c894cbfe6 | /cpp/CmdLinePrinter.cpp | 3d4c7abe0ebe8a54e4eea9d7a4bdba1271727f51 | [
"MIT"
] | permissive | YukihoAA/Simple-Cake-Collections | 1680c0e343bc55ac5c741b3b9e85462798f84a65 | 59857181415a6850c884735d2e65d70b17729b95 | refs/heads/master | 2022-09-12T01:08:24.675671 | 2022-08-21T08:34:39 | 2022-08-21T08:34:39 | 128,611,479 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 577 | cpp | CmdLinePrinter.cpp | // CmdLinePrinter.cpp - by Yuki (yukiho5048@naver.com)
//
#include <stdio.h>
#include <Windows.h>
int main(int argc, char* argv[])
{
HWND hWnd = GetConsoleWindow();
if (hWnd == NULL || ShowWindow(hWnd, SW_SHOW) == 0) {
char CmdLine[MAX_PATH] = "";
for (int i = 1; i < argc; i++){
strcat_s(CmdLine, argv[i]... |
34f4026202b38819cf730b96c517d4d67aa1b71c | f61c7e32650a10e3b697cf4e1a1ccbb4c2e2570d | /include/sympack/Ordering.hpp | 458e2687ae975ca7f7d41d376295bc7bda19eae7 | [
"BSD-3-Clause-LBNL"
] | permissive | symPACK/symPACK | 1446d84671550bc28d4867611df1a2d8cc7e25b7 | 2137ee661c8eb4c6fae4cf692c702f48d7dd0962 | refs/heads/master | 2023-09-04T01:29:39.613180 | 2023-08-27T21:26:06 | 2023-08-27T21:26:06 | 73,348,141 | 14 | 3 | NOASSERTION | 2023-09-07T20:43:56 | 2016-11-10T04:50:05 | C++ | UTF-8 | C++ | false | false | 1,753 | hpp | Ordering.hpp | /******************************************************************************
AMD, Copyright (c), 1996-2015, Timothy A. Davis,
Patrick R. Amestoy, and Iain S. Duff. All Rights Reserved.
Used in symPACK under the BSD 3-clause license.
***********************************************************************... |
06a5a503dc0a924be0505b5a098b9b29555a28a6 | 320f29dc945abd753ffdbfc4ebfe1108c81d1dd7 | /Basic/12hours24hours.cpp | aed64ea892b1ea8b23faeed1ef92e99535f526de | [] | no_license | JayThakkar17/DataStructuresAndAlgorithms | a41f375aa9791fe59c4442b0b87be92f5117276d | 32feb8e3c0b356503f10a63b7590fa745d9124da | refs/heads/master | 2023-02-09T02:00:41.842014 | 2021-01-04T05:27:46 | 2021-01-04T05:27:46 | 315,225,118 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,831 | cpp | 12hours24hours.cpp | #include<iostream>
#include<string.h>
#include <iomanip>
using namespace std;
int main() {
int hours, minutes, seconds, h1, m1, s1;
char median[10];
cout << "Enter hours, minutes, seconds:";
cin >> hours;
cin >> minutes;
cin >> seconds;
cout << "Enter median:";
cin >> median;
cout <<... |
028d037dd59b162fffb981ee944b3ee86f0b889e | 276c472235c963c01160275830fb68a68bc78eed | /CJOJ/CJ1478.cpp | 106d10604b93472a68632ab1c06dd8cfe7f3e010 | [] | no_license | MicDZ/Code | 057f5ef39e6b296d3d38897f20a7fae1edf37fa9 | 6665d48c742fd6e80f87b5ef23c030ec7f60fd2f | refs/heads/master | 2022-12-07T20:33:49.153077 | 2022-11-28T03:49:35 | 2022-11-28T03:49:35 | 218,696,992 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 999 | cpp | CJ1478.cpp | //////////////////////////////////////////////
// Author: MicDZ
// Email: me@micdz.cn
// Last modified: 2019-07-31 18:03
// Filename: CJ1478.cpp
//////////////////////////////////////////////
#include<bits/stdc++.h>
using namespace std;
#define REP(i,e,s) for(register int i=e; i<=s; i++)
#define DREP(i,e... |
3a5af57cc471e136ce785b97d2c9b8f0e349c476 | 6bf5f3857bc3d1cf945ea377e3280bcfbbf6c600 | /includes/debug.hpp | 7a0db8bb4806b7f5fdf1ff944435d8fe54b70a5a | [] | no_license | burner/pimp | 7ec25a2efc017664653ea5b03eadf5ab879cac63 | c415386064b621546fe4fcfc187a4f6a3b2eb828 | refs/heads/master | 2020-05-21T00:43:12.222136 | 2013-04-05T13:03:25 | 2013-04-05T13:03:25 | 3,632,148 | 1 | 0 | null | 2012-10-15T11:26:22 | 2012-03-05T22:34:00 | C++ | UTF-8 | C++ | false | false | 1,542 | hpp | debug.hpp | #ifndef DEBUG
#define DEBUG
#include <QDebug>
#include <iostream>
#include "format.hpp"
static const QString prettyPrintFileLineInfo(const QString& file, int line) {
auto tmp = QString("%1:%2").arg(file, QString::number(line));
return tmp;
}
static const QString stripFileName(const char* file) {
QString str(file)... |
b1927481489bee41479391dc968d3f0aeee26cdb | 3fef56efe52dd97c4942d8b8021d69c28b8b4e1e | /Problemset/977A - Wrong Subtraction.cpp | 1879274bf0c7ca8606f38275c96790036acce49e | [] | no_license | naiyer-abbas/Code-Forces | 384850c939b4243499ffd446092ff69a3e3ea8b0 | aca143949efe1583cdc9c8f71cb0e21b5d14fa1e | refs/heads/master | 2023-05-07T00:53:17.811357 | 2021-05-26T17:48:37 | 2021-05-26T17:48:37 | 327,666,421 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 239 | cpp | 977A - Wrong Subtraction.cpp | #include<bits/stdc++.h>
using namespace std;
int main()
{
int n, k;
cin>>n>>k;
for(int i = 0; i<k; i++)
{
if(n%10)
n--;
else
{
n = n / 10;
}
}
cout<<n;
}
|
8c18da4714c3d49fc056d479a80820e2a372a321 | 19a012b6a66374235771a8c2baee19560e98f8d7 | /UVa/v120/potentiometers.cpp | 523afb23106fa101b153a9e6e4881044c69ce1cc | [] | no_license | juancate/CompetitivePrograming | 735e992fd6ac9c264059604fb7a2f2dfce74d330 | 8cea3695fd0dec7122c94ab45b4517cb13232fb3 | refs/heads/master | 2021-01-25T10:06:47.576470 | 2018-12-19T01:11:41 | 2018-12-19T01:11:41 | 14,966,965 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,933 | cpp | potentiometers.cpp | #include <cstdio>
#include <cstdlib>
#include <cstring>
#include <cmath>
#include <ctime>
#include <cctype>
#include <cassert>
#include <iostream>
#include <sstream>
#include <iomanip>
#include <string>
#include <vector>
#include <stack>
#include <queue>
#include <deque>
#include <list>
#include <set>
#include <map>
#i... |
4027ed336efb85830cbef7e61568ad2219ce7014 | 8597e881cf20cf5f822f5b5a7c74d7862506cc50 | /iss_sgp4_teme.cpp | 46662e264d090e74d70ffb29e94b15e355572fb3 | [
"MIT"
] | permissive | komasaru/iss_sgp4_teme | e7ea1cb894fb41fdae726282914fc028bd7ae54b | 5474ab1acdc5076e12d90c1dcd2d259e36fbd18d | refs/heads/main | 2023-05-30T23:30:31.473863 | 2021-06-13T01:33:32 | 2021-06-13T01:33:32 | 376,413,592 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,356 | cpp | iss_sgp4_teme.cpp | /***********************************************************
TLE から ISS の位置・速度を計算
: 但し、座標系は TEME(True Equator, Mean Equinox; 真赤道面平均春分点)
: 指定 JST における BLH 座標の計算は iss_sgp4_blh
DATE AUTHOR VERSION
2021.05.13 mk-mode.com 1.00 新規作成
Copyright(C) 2021 mk-mode.com All Rights Reserved.
引数 : U... |
93d03fe7a4dab98ecffac7cff5ba6e5f403f8b14 | bc5acb0441096513b649c71c1fc582e32e889a32 | /nsfwgl/Window.cpp | 9a5b91751654169f88d86e0fcdeb48b8fd5408c1 | [] | no_license | Aidonis/octo-capsicum | 41d8bd062fb42db5f39d5f0b44d638034106b4fe | b492177a9002e867261329df071e3b8f6c7dda95 | refs/heads/master | 2021-01-13T00:45:44.696978 | 2015-12-11T21:21:53 | 2015-12-11T21:21:53 | 43,904,764 | 0 | 1 | null | 2015-11-07T01:10:31 | 2015-10-08T17:13:03 | C | UTF-8 | C++ | false | false | 2,659 | cpp | Window.cpp | #include "nsfw.h"
void APIENTRY oglErrorDefaultCallback(GLenum source,
GLenum type,
GLuint id,
GLenum severity,
GLsizei length,
const GLchar *message,
const void *userParam)
{
// if 'GL_DEBUG_OUTPUT_SYNCHRONOUS' is enabled, you can place a
// breakpoint here and the callstack should reflect the problem locatio... |
9007c4ea26507c68386341d1fc30484418292232 | 1f87cb8eb878000afbdcd24543e87301f4cd2ae3 | /src/apps/PSSM/Distances.cpp | 8c138eb1a05378cfb0d4272b7fdb04b40e904ef8 | [
"MIT"
] | permissive | pkrusche/seaweeds | 03834f03394842e921a632d4563f67e280846058 | 6607c577f11509ae819584a7ef86fcb1f243ec45 | refs/heads/master | 2020-12-25T18:17:53.330615 | 2018-09-27T16:56:45 | 2018-09-27T16:56:45 | 32,395,782 | 1 | 0 | null | 2018-09-27T16:56:46 | 2015-03-17T13:44:14 | C++ | UTF-8 | C++ | false | false | 4,875 | cpp | Distances.cpp | /***************************************************************************
* Copyright (C) 2012 Peter Krusche, The University of Warwick *
* pkrusche@gmail.com *
***************************************************************************/
#include "... |
25e1e627c0562327ac6ee99fbe28fcfbe0b77951 | 1e29330fbf4d53cf5dfac6f0290f660647109da7 | /yss/inc/drv/clock/drv_microchip_clock_type_A.h | 032dd43e2fab0cb09fde5d88ad9e84ce29d5868a | [] | no_license | bluelife85/yss | 2c9807bba61723a6fa578f80edadd9e8d6f9d1a9 | 1ada1bcc8579bf17e53d6f31525960703ef2f6b9 | refs/heads/master | 2023-01-16T02:12:26.099052 | 2020-11-26T01:18:43 | 2020-11-26T01:18:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,488 | h | drv_microchip_clock_type_A.h | ////////////////////////////////////////////////////////////////////////////////////////
//
// 저작권 표기 License_ver_2.0
// 본 소스코드의 소유권은 yss Embedded Operating System 네이버 카페 관리자와 운영진에게 있습니다.
// 운영진이 임의로 코드의 권한을 타인에게 양도할 수 없습니다.
// 본 소스코드는 아래 사항에 동의할 경우에 사용 가능합니다.
// 아래 사항에 대해 동의하지 않거나 이해하지 못했을 경우 사용을 금합니다.
// 본 소스코드를 사용하였... |
bdb9ac9eb50a5684e36aa752ad8abd4079a5b2b0 | 1ccbb3d8cada7f5c4acf6b32f3396b95a91bb6ca | /SonicGame3Dv3/src/water/WaterRenderer.cpp | c2d30fc488d3aceeacd248f6267718747b54c4ce | [] | no_license | jo9182/Sonic3DGamev3 | 980a59ce07e3848b3e8e462b79fe871923eba7bb | 4f40c27690f89be55701985855dde93be34b5ca8 | refs/heads/master | 2022-09-18T06:43:31.919326 | 2021-05-27T01:21:17 | 2021-05-27T01:21:17 | 308,197,647 | 0 | 0 | null | 2020-10-29T02:37:35 | 2020-10-29T02:37:34 | null | UTF-8 | C++ | false | false | 3,115 | cpp | WaterRenderer.cpp | #include "waterrenderer.h"
#include "../renderEngine/renderEngine.h"
#include "watershader.h"
#include "waterframebuffers.h"
#include "watertile.h"
#include <list>
#include <vector>
#include "../engineTester/main.h"
#include "../toolbox/maths.h"
#include "../toolbox/vector.h"
#include "../toolbox/matrix.h"
#... |
ece879d66c1b6329143ac0ef30d1cf22d250d8ce | e8282e3ae8aafa07b7f7261c639f206c4e97e0fc | /02 - SMA/Camp 1 OSN Kelas 11/Hari-13/E.cpp | bd0450adc479afa55dff8fe0182a92c059458e72 | [] | 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 | 239 | cpp | E.cpp | #include <bits/stdc++.h>
using namespace std;
long long n,i,j;
long long A[50];
int main(){
cin.tie(0);
A[1] = 2; A[2] = 2;
for (i = 3 ; i<=45 ; i++)
A[i] = A[i-1]+A[i-2];
cin >> n;
cout << A[n] << endl;
return 0;
} |
a9c5e5781800afbde4e3e62941617dbe499c689c | fafdf1e62cf622035ee82666ba6ae7108127d140 | /kynapse7/include/kypathdata/blob/blobfileheader.h | 4605636fc76f6a545aa648eb40556e28387076eb | [] | no_license | saerich/RaiderZ-Evolved-SDK | 7f18942ddc6c566d47c3a6222c03fad7543738a4 | b576e6757b6a781a656be7ba31eb0cf5e8a23391 | refs/heads/master | 2023-02-12T03:21:26.442348 | 2020-08-30T15:39:54 | 2020-08-30T15:39:54 | 281,213,173 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 2,215 | h | blobfileheader.h | /*
* Copyright 2010 Autodesk, Inc. All rights reserved.
* Use of this software is subject to the terms of the Autodesk license agreement provided at the time of installation or download,
* or which otherwise accompanies this software in either electronic or hard copy form.
*/
/*! \file
\ingroup kypathdata_blob ... |
7e943094859c03ab40f0e9150894abe2d2dca565 | a2206795a05877f83ac561e482e7b41772b22da8 | /Source/PV/build/Wrapping/ClientServer/vtkPVServerManagerCoreCSInit.cxx | afc5f309c3c728582f9046bc66be3cb6ad02ee52 | [] | no_license | supreethms1809/mpas-insitu | 5578d465602feb4d6b239a22912c33918c7bb1c3 | 701644bcdae771e6878736cb6f49ccd2eb38b36e | refs/heads/master | 2020-03-25T16:47:29.316814 | 2018-08-08T02:00:13 | 2018-08-08T02:00:13 | 143,947,446 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,300 | cxx | vtkPVServerManagerCoreCSInit.cxx | /* #undef PARAVIEW_USE_UNIFIED_BINDINGS */
/* #undef NO_PYTHON_BINDINGS_AVAILABLE */
#ifdef NO_PYTHON_BINDINGS_AVAILABLE
#undef PARAVIEW_USE_UNIFIED_BINDINGS
#endif
#ifdef PARAVIEW_USE_UNIFIED_BINDINGS
#include "vtkPython.h"
#include "vtkPythonInterpreter.h"
#endif
#include "vtkClientServerInterpreter.h"
#ifndef PARA... |
a6de5f381b9dd42929c9a70b8d87494c480ab547 | e006941ba53095bae9e233aab360925db7f30f2d | /engine/modules/core/src/atomic.cpp | ffcf0d3c43f5ee0fb9146b6370a34af41d7ca04d | [] | no_license | billfreist/LightEngine | a23e840e30a0758264b68e5274c881c6f4e0c863 | 0f0d017075889cf5d518086edc0f3ed055bee53b | refs/heads/master | 2021-01-12T04:53:45.265090 | 2020-04-06T04:34:55 | 2020-04-06T04:34:55 | 77,804,804 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 77 | cpp | atomic.cpp | ///
/// LICENSE
///
#include "pch.h"
namespace lite {
} // namespace lite
|
5d62f7045ff7ee84bcd27a38f8dac0f0956d1301 | 2558d081018b41203812933efe70365b71681987 | /Searching/linearsearching.cpp | 338fd8a0a8c2bea19c37ebe34920b3760c5fb7ab | [] | no_license | erwasim1/DSA | a166a2b662e1ba0ce64c3c84bc894cec0b5dbcef | c17ec591147142a467ffdc5d54028cdb3efaf1b0 | refs/heads/master | 2023-06-24T14:06:36.261310 | 2021-07-27T04:34:22 | 2021-07-27T04:34:22 | 389,848,274 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 646 | cpp | linearsearching.cpp | #include<iostream>
using namespace std;
void init(int arr[],int n){
for(int i=0;i<n;i++)
cin>>arr[i];
}
void display(int arr[],int n){
for(int i=0;i<n;i++)
cout<<arr[i]<<" ";
}
int linearsrch(int arr[],int n,int k){
for(int i=0;i<n;i++){
if(arr[i]==k){
return i;
}
}
r... |
73df22e480ebe64e6cfda5f15e10c1c11cf3ceae | bd7a1a70e83fa81acc152454494d822acb795ffd | /src/MarchingChunkManager.cpp | d6f9d386c3b10bdb0f0e47b37442574d335ab0e2 | [] | no_license | JC-G/Mountains | 828e69a4ab2a6b9ed5f125ddf06ec15d1dd13bed | b0d81eacac9352fadf606c8ec74b55d6c9885a84 | refs/heads/master | 2020-04-08T17:15:09.915382 | 2019-08-03T13:29:17 | 2019-08-03T13:29:17 | 159,558,928 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 270 | cpp | MarchingChunkManager.cpp | #include "MarchingChunkManager.h"
namespace MarchingChunkManager
{
std::vector<MarchingChunk*> loadedChunks;
GLuint VAO;
bool genVAO()
{
glGenVertexArrays(1,&VAO);
glBindVertexArray(VAO);
return glIsVertexArray(VAO);
}
}
|
0ced73ed1fbbb502a14d88c3ea93ca653a740d22 | d3718f4b2330e4f77168ab6a18a432cdd0dbbc4b | /MainForm.h | a10e64473fc5a7c3db544b5692c4a550c5873df0 | [
"MIT"
] | permissive | BomjSoft/Duplicate-finder | 0a81c164ccea8356c5aeeab0f477859ea0890bc4 | d865efba226ec5c9b29904226eae09f818988957 | refs/heads/main | 2023-07-02T20:02:30.703070 | 2021-08-04T07:59:21 | 2021-08-04T07:59:21 | 392,598,346 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,747 | h | MainForm.h | //---------------------------------------------------------------------------
#pragma once
//---------------------------------------------------------------------------
#include <set>
#include "BCL.h"
//---------------------------------------------------------------------------
#include "PerceptiveHash.h"
#inclu... |
bec1baf0e89dd02e0420573186206397ef931054 | 0619320681cddf3169f62676c3ef76c3764f1676 | /server-side/ws/soapStub.h | 3475451d99e2d3e3d7c9cc8b6cdf187a40e8e2e0 | [] | no_license | radtek/eHealthMonitoring | 177a5b8892bf906b77760c0934c616600c80bce3 | cbb23c1a4c04491b7d791803d265ab7dd75989d2 | refs/heads/master | 2020-06-21T22:29:28.870198 | 2018-07-04T22:11:18 | 2018-07-04T22:11:18 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,073 | h | soapStub.h | /* soapStub.h
Generated by gSOAP 2.8.67 for sensor.h
gSOAP XML Web services tools
Copyright (C) 2000-2018, Robert van Engelen, Genivia Inc. All Rights Reserved.
The soapcpp2 tool and its generated software are released under the GPL.
This program is released under the GPL with the additional exemption that
compilin... |
5c8e420eb3be37d898dd8dd1ebdb7f09f143924d | ae6c77d78818d1148ec068b64da357b4a56f5bf8 | /fade away.ino | 628dd384abc8d9710aa2844d609bc27f9f5855b2 | [] | no_license | wenxiaoding/fade-away | e12e4b672c0422fccf04f4744405aaaf3832944d | 73ea6eb40b67d65a14266b8291fef2a17dc76848 | refs/heads/main | 2023-02-07T05:15:33.851161 | 2020-12-29T04:35:48 | 2020-12-29T04:35:48 | 325,186,342 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,259 | ino | fade away.ino |
#define ValueGap 405
//该数值可用砝码校准
long HX711_Buffer = 0;
long Weight_Maopi = 0,Weight_Shiwu = 0;
float Weight = 0;
#define HX711_SCK A0
#define HX711_DT A1
int maxp=716;
int p=0;
void setup()
{
Init_Hx711(); //初始化HX711模块连接的IO设置
Serial.begin(115200);
delay(1000);
// Serial.print("Welcome to... |
bd518cbebb6004efcfd88c35427560fea069b9b5 | 5e8d200078e64b97e3bbd1e61f83cb5bae99ab6e | /main/source/src/core/scoring/methods/WaterSpecificEnergy.cc | 51152c829bcbd26c962335cb4437e00d6c537912 | [] | no_license | MedicaicloudLink/Rosetta | 3ee2d79d48b31bd8ca898036ad32fe910c9a7a28 | 01affdf77abb773ed375b83cdbbf58439edd8719 | refs/heads/master | 2020-12-07T17:52:01.350906 | 2020-01-10T08:24:09 | 2020-01-10T08:24:09 | 232,757,729 | 2 | 6 | null | null | null | null | UTF-8 | C++ | false | false | 4,404 | cc | WaterSpecificEnergy.cc | // -*- mode:c++;tab-width:2;indent-tabs-mode:t;show-trailing-whitespace:t;rm-trailing-spaces:t -*-
// vi: set ts=2 noet:
//
// (c) Copyright Rosetta Commons Member Institutions.
// (c) This file is part of the Rosetta software suite and is made available under license.
// (c) The Rosetta software is developed by the co... |
8200908e2983fc5525ef82967df0ec464775c574 | f62e37d6a8884960b8e315c61a924650d756df0d | /src/core/hw/gfxip/gfx9/gfx9PipelineChunkPs.cpp | 2ef1e2efa50baec9038aa2b06097c1ccf9ff634b | [
"MIT"
] | permissive | ardacoskunses/pal | cd5f0dfd35912239c32e884005bd68b391bb96e0 | ec4457f9b005dcb7a6178debc19b1df65da57280 | refs/heads/master | 2020-03-28T18:00:47.178244 | 2018-09-12T04:59:18 | 2018-09-12T05:06:04 | 148,844,552 | 0 | 0 | MIT | 2018-09-14T21:41:30 | 2018-09-14T21:41:30 | null | UTF-8 | C++ | false | false | 13,570 | cpp | gfx9PipelineChunkPs.cpp | /*
***********************************************************************************************************************
*
* Copyright (c) 2015-2018 Advanced Micro Devices, Inc. All Rights Reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associ... |
2112d42cfd535a02d9c896fdd3c694f8cc1fceb4 | a68c444d56d0bb6b5e0bb8ccbb76bfb081ba6b07 | /CowNetControllerV4/us/cownet/lamps/simple/SimpleGreyscaleLampPattern.h | 2aade3eaa6807b890c954965ef9ddc26ce9c0d48 | [] | no_license | fitzpatricksrus/Pinduino | 03040b99bdc27daecf6743a63a1a9a5d6f1b0a51 | 45bfdd5ca34163dc44ceb91380d36a7307c4f2df | refs/heads/master | 2020-04-06T07:05:09.429566 | 2016-06-30T02:23:51 | 2016-06-30T02:23:51 | 24,709,921 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 632 | h | SimpleGreyscaleLampPattern.h | /*
* SimpleGreyscaleLampPattern.h
*
* Created on: Jun 3, 2015
* Author: jfitzpatrick
*/
#ifndef SIMPLEGREYSCALELAMPPATTERN_H_
#define SIMPLEGREYSCALELAMPPATTERN_H_
#include <Arduino.h>
namespace us_cownet_lamps_simple {
class SimpleGreyscaleLampPattern {
public:
SimpleGreyscaleLampPattern();
virtual ~S... |
e024053f61a8811304f43dea89617490cef36520 | 25f2e4653573fd51200b89e2feea4d9cab1a4c45 | /CE_Summative.ino | 768209f1778f613b205a49055603343bf417ab96 | [] | no_license | HannahGuo/JustPlay | b7f9578359b1fcdbf4672ec15c94df87689fbabf | eb9583a754c6fd20f4d916cc452ba823f4266391 | refs/heads/master | 2020-03-20T10:13:33.351996 | 2018-06-24T00:46:54 | 2018-06-24T00:46:54 | 137,363,236 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,176 | ino | CE_Summative.ino | #include <TimeLib.h> // imports the time library for the milliseconds function
#include <LiquidCrystal.h> // imports a library to control the LCD
#include <pitches.h> // imports a library that has the notes for the buzzer
#define buzzerID 0 // Signal port for buzzer
#define scaler 1.0 // Scaler for note playing
const... |
56957a309ffeec43bd9488c64edeb0759090202b | 8c925d9e1aa4a299089bd2cfdf6aa4100e63dacb | /TP1/TDS/Medecin.h | ea9bb02769c48ebe43c6412b5fd4612db98a9abf | [] | no_license | loic294/TPs-INF1010 | 1934530aa59c91e08e89f6451f3458aa333d3faa | 3895d9a21531616cda30e61e08ce3a04236da818 | refs/heads/master | 2021-03-24T10:27:00.389482 | 2017-02-19T18:53:56 | 2017-02-19T18:54:11 | 80,391,245 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 883 | h | Medecin.h | /********************************************
* Titre: Travail pratique #1 - Medecin.cpp
* Date: 31 janvier 2017
* Auteur: Julien Bergeron (1829496) et Loic Bellemare-Alford (1846135)
*******************************************/
#ifndef MEDECIN_H
#define MEDECIN_H
#include <string>
#include "Specialiste.h"
using nam... |
555ab69df9059976e8c8253f112edf897f64dc96 | 574e5be8595ab272d5414e2f09dad27d75624d8e | /Assign3/Interval.h | c5c723d3c83236c14a257141dda8af01307a3259 | [] | no_license | VolrathTheFallen/DVA222-Assign3 | 460e72df150d5dd3013d0000bc34dc9f7ee2f3a5 | bb873279e41467b8748b836de3f859ee217c6775 | refs/heads/master | 2021-01-13T02:18:38.045620 | 2015-05-08T12:25:19 | 2015-05-08T12:25:19 | 35,118,247 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 198 | h | Interval.h | #ifndef INTERVAL_H
#define INTERVAL_H
class Interval
{
public:
int from;
int to;
Interval();
Interval(int from, int to);
static int CompareInterval(const void* l, const void* r);
};
#endif |
fcbbba1ae77cdad207950b25f611661d34ad094d | 33f8a1164c44b4ade4a1ae9edca25a5d631b14dc | /Sprite.h | 67580ba8052734999b7f1252e2ee2af42029df4d | [] | no_license | kuribohlv9/Skelly_Dungeon | fe2ef781c3e4169ef7300a3af1347ee7f18bf4a3 | 01d8d165a3d045b58b467a5e5c4594ba6c92a115 | refs/heads/master | 2020-04-30T09:03:41.956469 | 2015-02-07T15:29:12 | 2015-02-07T15:29:12 | 28,010,758 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 321 | h | Sprite.h | // Sprite.h
#ifndef SPRITE_H_INCLUDED
#define SPRITE_H_INCLUDED
class Sprite
{
public:
Sprite(SDL_Texture* texture);
virtual ~Sprite();
SDL_Rect* GetRegion();
SDL_Texture* GetTexture();
virtual void Update(float deltatime);
protected:
SDL_Rect m_region;
SDL_Texture* m_texture;
};
#endif // SPRITE_H_INCLUDED... |
33cf74bcc90cb28f369771051e5d9818f2f1b445 | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/CMake/CMake-gumtree/Kitware_CMake_old_hunk_670.cpp | a29ce1e0a7232a941220daccab69cdbc3fbe54d4 | [] | no_license | niuxu18/logTracker-old | 97543445ea7e414ed40bdc681239365d33418975 | f2b060f13a0295387fe02187543db124916eb446 | refs/heads/master | 2021-09-13T21:39:37.686481 | 2017-12-11T03:36:34 | 2017-12-11T03:36:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 223 | cpp | Kitware_CMake_old_hunk_670.cpp | if(res)
return res;
Curl_safefree(*allocuserpwd);
*allocuserpwd = aprintf("%sAuthorization: %s\r\n",
proxy ? "Proxy-" : "",
conn->response_header);
|
6af434b2351c61e14a23e5d508def09271ad72fc | 1684eccb401fb70871857b8fc547e3d2b8f99132 | /libraries/YarpPlugins/CuiAbsolute/IPositionControl2RawImpl.cpp | 54e56cfed297a7215e987959698cbf5e7d226014 | [] | no_license | David-Estevez/yarp-devices | ae9b07d0b1b9e91abf6b472d8469d5c8cc127d3f | 1632d72a7f6a2bf601dac52628226e4a1f319472 | refs/heads/develop | 2021-01-23T08:04:13.529029 | 2018-10-25T11:15:17 | 2018-10-25T11:15:17 | 86,474,242 | 0 | 0 | null | 2017-03-28T15:06:49 | 2017-03-28T15:06:48 | null | UTF-8 | C++ | false | false | 6,833 | cpp | IPositionControl2RawImpl.cpp | // -*- mode:C++; tab-width:4; c-basic-offset:4; indent-tabs-mode:nil -*-
#include "CuiAbsolute.hpp"
// ------------------ IPositionControlRaw Related ----------------------------------------
bool roboticslab::CuiAbsolute::getAxes(int *ax)
{
*ax = 1;
return true;
}
// ----------------------------------------... |
5ce608878ae71cbcc6fbc363358805d9527f2330 | b7056c4edc0ecb087fb6bc7a199d267e58df3f91 | /AnnihilationCharacter/AnnihilationCharacter/generic/Latter.hpp | 7c268815d157eb94b35ca870dc7777e3889470f1 | [] | no_license | elipmoc/AnnihilationCharacter | e9e7276c9eb01b3c89d92a2e25cb861a936d1089 | 6fda4c8bb69f6bb3e89682018fb2f9603d92b6c4 | refs/heads/master | 2020-12-02T19:19:29.642985 | 2017-07-15T05:16:18 | 2017-07-15T05:16:18 | 96,323,975 | 1 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 1,811 | hpp | Latter.hpp | #pragma once
#include <string>
#include "DrawObject.hpp"
#include "generic\Utility.hpp"
#include "DxLib.h"
namespace generic{
//画面に文字を表示するオブジェクト
class Letter :DrawObject
{
//フォントハンドル
int fontHandle;
//文字のカラー
unsigned int color;
//文字列の縦幅横幅
Vect rect;
//表示する文字
std::string text;
//文字拡大率
Vect ... |
8b9d4359ea50482332a13f6d4624708e18f3fc02 | f7f09782d15ee7bdd14e637bd717dfb8327bc57c | /2014Train/VJ/17/A.cpp | a00a1bbe6425a6b231a9483194e63435b6c9609f | [] | no_license | whywhyzhang/ACM-ICPC-Code | 14f3f6b0532c18da9694d7f70914a97e0983913f | d15bd475774ff104ebfe9504f8ea0acffdb5ddb0 | refs/heads/master | 2022-12-09T06:27:14.893967 | 2017-03-09T14:31:49 | 2017-03-09T14:31:49 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,016 | cpp | A.cpp | #include <stdio.h>
#include <string.h>
#include <iostream>
#include <algorithm>
#include <vector>
#include <queue>
#include <set>
#include <map>
#include <string>
#include <math.h>
#include <stdlib.h>
#include <time.h>
using namespace std;
const int MaxL=500005;
const int MaxC=26;
int que[MaxL];
int first,last;
st... |
7c7d304f1839bd11273563492e93216639f188b2 | 7556139eba33cbbbf0e0262c69e9c8b56e08a399 | /include/RED4ext/Scripting/Natives/Generated/CTextureArray.hpp | 3b5868823fbcd8bd28a1298fd6ee1756cfbc5f0c | [
"MIT"
] | permissive | vandermerwewaj/RED4ext.SDK | 3ef7563a1855e6206097fdf6c5b44ae1c1c2c20d | 9dd544a221a39f27c8d38aa23a607b31aba1715a | refs/heads/master | 2023-09-05T06:32:39.278419 | 2021-11-22T15:01:18 | 2021-11-22T15:01:18 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 848 | hpp | CTextureArray.hpp | #pragma once
// This file is generated from the Game's Reflection data
#include <cstdint>
#include <RED4ext/Common.hpp>
#include <RED4ext/Handle.hpp>
#include <RED4ext/Scripting/Natives/Generated/ITexture.hpp>
#include <RED4ext/Scripting/Natives/Generated/STextureGroupSetup.hpp>
#include <RED4ext/Scripting/Natives/Ge... |
11744f3e00595ec10e6b7af0a42b7ba01fb2eead | 561dd3af726151ec2fa7f23680108883a265fd95 | /OFProject 1/src/ofApp.cpp | d845122f10e3bd75caa7ff497c399cc76e080431 | [] | no_license | jessica0427/Project-1 | 41f2e0b00b5a295b4ea9301ad2af87632e5206a6 | 3fcc297c0bddbd9e7a1be81218bd215c636c4d90 | refs/heads/master | 2022-06-18T02:54:05.064366 | 2020-05-08T23:17:09 | 2020-05-08T23:17:09 | 255,390,729 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,641 | cpp | ofApp.cpp | #include "ofApp.h"
//--------------------------------------------------------------
void ofApp::setup(){
ofSetFrameRate(60);
ofSetBackgroundAuto(false);
ofBackground(0, 0, 0);
ofEnableBlendMode(OF_BLENDMODE_ALPHA);
control = true;
}
//-------------------------------------------------------------... |
e883c1d3025dcc4c704d42869e754063a21d2f87 | 8bb6d8ce77b9064da19fe3915a706904223f3f0a | /LeetCode/0452 - Minimum Number of Arrows to Burst Balloons.cpp | 1e56e5e79f91ab98c2619a385bbc24e0c0375714 | [] | no_license | wj32/Judge | 8c92eb2c108839395bc902454030745b97ed7f29 | d0bd7805c0d441c892c28a718470a378a38e7124 | refs/heads/master | 2023-08-16T19:16:59.475037 | 2023-08-02T03:46:12 | 2023-08-02T03:46:12 | 8,853,058 | 6 | 10 | null | null | null | null | UTF-8 | C++ | false | false | 494 | cpp | 0452 - Minimum Number of Arrows to Burst Balloons.cpp | class Solution {
public:
int findMinArrowShots(vector<pair<int, int>>& points) {
sort(points.begin(), points.end());
long long end = numeric_limits<long long>::min();
int count = 0;
for (const auto& p : points) {
if (p.first <= end) {
end = min(end, static... |
ed64618d307b8df329a6a8008e305bacaddc413b | 1c390cd4fd3605046914767485b49a929198b470 | /spoj/HK.cpp | 8d78edd72900de87b8cf82d95db680b46aebe787 | [] | no_license | wwwwodddd/Zukunft | f87fe736b53506f69ab18db674311dd60de04a43 | 03ffffee9a76e99f6e00bba6dbae91abc6994a34 | refs/heads/master | 2023-01-24T06:14:35.691292 | 2023-01-21T15:42:32 | 2023-01-21T15:42:32 | 163,685,977 | 7 | 8 | null | null | null | null | UTF-8 | C++ | false | false | 782 | cpp | HK.cpp | #include <bits/stdc++.h>
using namespace std;
const int p = 1000000007;
int t, n, m;
int f[501][1001];
int main()
{
scanf("%d", &t);
for (int tt = 0; tt < t; tt++)
{
scanf("%d%d", &n, &m);
double z = 0;
f[0][0] = 1;
for (int i = 0; i < n; i++)
{
for (int j = 0; j <= m; j++)
{
f[i + 1][j] = f[i][j... |
e6ed258de5042532ab6c4bd2ccffef633820b2c6 | bc31e7497ca3421a32afa3a55c65f9882a1ad452 | /src/main.cpp | 796239ace837a29f05f1b12c2279b9b0d0013295 | [
"BSD-2-Clause"
] | permissive | a9650615/qtCanvas | d8ac582de999c74a6ba022d0b4d6e0ccd7878135 | ad84a034cbca3abcc374208b6ee1c9687dccbc3f | refs/heads/master | 2020-07-28T15:14:55.896518 | 2019-09-19T08:26:54 | 2019-09-19T08:26:54 | 209,448,700 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 427 | cpp | main.cpp | #include <QApplication>
#include <QQmlApplicationEngine>
#include <QtQml>
#include <QtGui/QGuiApplication>
#include "colorMarker.h"
int main(int argc, char** argv)
{
QApplication app(argc, argv);
// load custom c++ module
qmlRegisterType<ColorMarker>("io.qt.colormarker", 1, 0, "ColorMarker");
QQmlApp... |
fb8f0f059ce2e86a60683c9693e360f40acd482c | 303e592c312459bf9eb3ce231b1357c4de91124b | /pku/2601/2601.cpp | 75e0b98437341c3796064e9f6f98887ae824d205 | [] | no_license | kohyatoh/contests | 866c60a1687f8a59d440da3356c6117f9596e8ce | b3dffeaf15564d57aec5c306f5f84bd448bc791f | refs/heads/master | 2021-01-17T15:06:23.216232 | 2016-07-18T14:06:05 | 2016-07-18T14:06:05 | 2,369,261 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 452 | cpp | 2601.cpp | #include <stdio.h>
#define rep(i, n) for(int i=0; i<(int)(n); i++)
int n;
double x, a[5000], c[5000];
double calc(double a1) {
a[1]=a1;
rep(i, n) a[i+2]=2*a[i+1]-a[i]+2*c[i];
return a[n+1];
}
int main() {
scanf("%d%lf%lf", &n, a, &x);
rep(i, n) scanf("%lf", c+i);
double l=-1000, r=1000, m;
... |
f72a99b69b93e6059116cbede13070d931face3b | 20f30902c29ede4a4aaa84eb4cd9cfb8d6ef8675 | /src/BasicOpenGL/Buffer.cpp | 788e11646212fe8d1cf096c2739646b94411198f | [] | no_license | Muroidea/SkeletalSkinning | 6e3b825bf654921f80c1de5260100ebef38c6191 | bc22ea3507cd276ce6f271d24df4720ea54db968 | refs/heads/master | 2023-03-12T16:41:56.693738 | 2021-03-02T10:34:18 | 2021-03-02T10:34:18 | 320,626,999 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,419 | cpp | Buffer.cpp | //
// Created by Rafał on 28.11.2020.
//
#include "Buffer.h"
Buffer::Buffer(unsigned int elementCount, size_t size, const void *data, GLenum bufferType, GLenum usage)
: m_ElementCount(elementCount), m_ElementSize(size), m_BufferType(bufferType)
{
Init(data, usage);
}
Buffer::Buffer(size_t size, const voi... |
71f076cd6eca93c7b07b7578e593ae7ce40fcab8 | fc7457b8e150bb7585cd3726770f85da2c9bba13 | /TP_POO/TP_POO/refugioPiratas.h | 2ef53f6684f99cca0cfdf401dfa9df2c00207139 | [] | no_license | cpo991/Kingdom_Game_C-Plus-Plus | ba1b32592b7f5e02aba09618742129f4e6b38645 | c20fa976186c7d8ef750f3013c8540503990e7f1 | refs/heads/main | 2023-02-19T09:45:50.951133 | 2021-01-18T00:46:57 | 2021-01-18T00:46:57 | 312,855,424 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 274 | h | refugioPiratas.h | //
// Created by Carolina Oliveira & Isabel Castro on 21/11/2020
//
#ifndef TP_POO_REFUGIOPIRATAS_H
#define TP_POO_REFUGIOPIRATAS_H
#include "territorio.h"
class refugioPiratas : public territorio {
static int id;
public:
refugioPiratas(const string name);
};
#endif
|
629f38e0d5602869136c0b1f36f22f518531f340 | 339e6cdb43fa4ac500a5f2e07026364340238160 | /Circuits/Circuits/main.cpp | 4ca8d60a01882bc1dcb6d725056850c437ce9e5e | [] | no_license | Ahmed-H300/cuircuit-solver | b26c2fee53fe0293614bf475b2a0c6cc65f92058 | 103f39b3556dacbace7cb9efa6c2feabab79b281 | refs/heads/main | 2023-06-16T00:46:10.418507 | 2021-07-04T19:19:56 | 2021-07-04T19:19:56 | 382,927,134 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 68,304 | cpp | main.cpp | #include<iostream>
#include <cmath>
#include<string>
#include<fstream>
#include<Eigen/Dense>
#include<Eigen/Sparse>
#include<complex>
#include"vsrc.h"
#include"Capacaitor.h"
#include"Resistance.h"
#include"Inductor.h"
#include"isrc.h"
#include"Branch.h"
#include "Node.h"
#include"Dependent_sources.h"
#include"Current_C... |
0fa6199574c9d9e083877b00483ac33ae6ac8302 | 332b6c8e272a0ac3c580dcf9c0a4afad2fd4f484 | /jni/audio_fft_test/discrete_point_fft.h | 985e4c8a83ec6f665324ead5c644e177fe286c83 | [] | no_license | TellMeYourName/Ne10-sample-test | c52c473c894fc02a5c261ffb8710adf20277d7a7 | a98e359cd5fa4b4c07668453749cf3fd18aa7247 | refs/heads/master | 2021-06-18T04:53:50.236967 | 2017-07-04T04:00:18 | 2017-07-04T04:00:18 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 842 | h | discrete_point_fft.h | #ifndef _DISCRETE_POINT_FFT_H_
#define _DISCRETE_POINT_FFT_H_
#include "CommonTools.h"
#include "./mayer_fft/fft_routine.h"
class DisCretePointFFT {
public:
DisCretePointFFT();
virtual ~DisCretePointFFT();
void test();
private:
/** 汉明窗 **/
float* m_hannwindow;
int m_corrsize;
void buildData(short* buffer, int... |
5f9746693262e2dc1939ab658bc8194ef0104c95 | 3a200778c4f6bb7d4f4f2a3c8ee4e63757edaee1 | /src/projector/ProjectorOpenGL.cpp | c9f7a5a6f313b1f3ab9861e32a840d84f2f41636 | [] | no_license | arkbriar/slstudio | e2179cf5d2563c481d715644cedd2ef5eea36181 | abe12bc909e81ea5e6bbba1c7d1f239a378fa7df | refs/heads/master | 2021-01-17T22:04:44.631504 | 2017-05-14T13:46:09 | 2017-05-14T13:46:09 | 84,187,632 | 5 | 2 | null | 2017-03-07T10:43:14 | 2017-03-07T10:43:13 | null | UTF-8 | C++ | false | false | 7,656 | cpp | ProjectorOpenGL.cpp | #include "ProjectorOpenGL.h"
ProjectorOpenGL::ProjectorOpenGL(unsigned int _screenNum) {
// Create the OpenGL context
context = new OpenGLContext(_screenNum);
// OpenGL setup
context->makeContextCurrent();
glEnable(GL_TEXTURE_2D);
glClearColor(1.0, 1.0, 1.0, 1.0);
glClear(GL_COLOR_BUFFER... |
6dc5f4d70f2c6e02dc60e082050142eace9c2e12 | c360bda7972554be8e9bb2cff42db68e4a2f1eb9 | /simview_vs2015/params.cpp | 98d663cbc9f53316e64974e3eaea412a45ab853a | [] | no_license | zhou-l/simview_vs2015 | 8c2caa5ee9c605b36a81d6bc7c0917543a18c942 | 726479c11dcc1f54afe3e6d27dabb6e8f963a01f | refs/heads/master | 2021-08-30T05:14:52.491253 | 2017-12-16T05:00:38 | 2017-12-16T05:00:38 | 113,353,612 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,523 | cpp | params.cpp | #include "params.h"
#include "SysTools.h"
#include "MersenneTwister.h"
using namespace std;
Params::Params():
_meshKDtree(3)
{
VolBlockSize(32);
ensStatNumOutliers(4);
ensStatNumNeighbors(8);
_randGen = new MTRand();
currentRun(0); // should set to the mean run
string folder = "C:/MyData/Utah_heart_isc... |
d3f9eee15602998bac6d0e2d2630dfa1ed153d52 | 60a95653baf5feb6a61cb66efc198ddfd4ac9a1e | /src/gpurt.h | cf9220ddb9088b0da2e94e07e17fc6cdfd541cad | [] | no_license | TheNumbat/GPU-RT | 9c066002c727729c592cde6177857bb16b90a083 | 2912c8335b52fa83d3d825563b93fc908aee70ea | refs/heads/main | 2023-04-26T10:53:09.627720 | 2021-05-24T06:29:14 | 2021-05-24T06:29:14 | 358,044,311 | 20 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,649 | h | gpurt.h |
#pragma once
#include <SDL2/SDL.h>
#include <platform/window.h>
#include <lib/mathlib.h>
#include <scene/scene.h>
#include <vk/rt.h>
#include <vk/effect.h>
#include <vk/mesh.h>
class GPURT {
public:
GPURT(Window& window, std::string scene_file);
~GPURT();
void loop();
private:
void event(SDL_Even... |
7cd373cb3b3b60db3ab8ec744db402e6c5fda989 | 34f2081361c2cdb28649db5c311b23ae45729867 | /Codeforces/285b.cpp | 1b3b6fe7a58259f9d293ee785163de79b0226481 | [] | no_license | shashank21j/CompetitiveProgramming | bd7d1516bda0047162293f62e78a8f3134021454 | 5e905ad7f59f36541baaa669391eba667f291a45 | refs/heads/master | 2022-02-14T08:12:05.656586 | 2022-01-30T02:56:15 | 2022-01-30T02:56:15 | 14,283,517 | 4 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 327 | cpp | 285b.cpp | #include <bits/stdc++.h>
using namespace std;
int main() {
int n,s,t;
cin>>n>>s>>t;
vector <int> Arr(n);
for (int i=0;i<n;i++) {
cin>>Arr[i];
}
int count = 0;
for (int i=0;i<=n;i++) {
if (s == t) {
break;
}
s = Arr[s-1];
count++;
}
if (count == n+1) cout<<"-1"<<endl;
else cout<<count<<endl;
retu... |
d30caa9225b16251357f0f7c4fe2c17c3a061af3 | 633bff0938643c0fd7b535e2b30e2eb57f5e87a7 | /C++ Games/MyGame/Src/Scene/TextHighlighterComponent.cpp | 2ba4ea0ee19c2861c1c80a519eea9f8393d2fa59 | [] | no_license | PaulPopa/Games | 98b7595861b42f7dd467f21bd751fe188cd5aac8 | ed0f36333dcbaf1bf35a35217845249351ec9a7a | refs/heads/master | 2021-01-10T16:03:45.241239 | 2018-05-31T09:27:51 | 2018-05-31T09:27:51 | 43,204,837 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,207 | cpp | TextHighlighterComponent.cpp | #include "TextHighlighterComponent.h"
#include "App.h"
#include "Helpers.h"
#include "stdincl.h"
#include "Input.h"
#include "SpriteComponent.h"
REGISTERIMPL(TextHighlighterComponent);
TextHighlighterComponent::TextHighlighterComponent() :
m_selected(false)
{
}
TextHighlighterComponent::~TextHighlighterComponent()
{... |
c68057798c6fab3313673fce0a8e9ccbb707e86e | 6b86a8e198ddcacef5efa25b7068aedb5b99a1e9 | /engine/ui/components/LayoutPanel.cpp | 05f9d4071968bbc21dc7dcb4bcb1bd7698c6c727 | [] | no_license | mattiejas/Push-d-Out | 82884859622b62dabf971e21915ef9315c13307f | 564ea23218f95b6bbf12aea91df0d9a7a7cbff84 | refs/heads/master | 2023-03-15T01:33:34.778444 | 2018-11-06T12:35:33 | 2018-11-06T12:35:33 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,969 | cpp | LayoutPanel.cpp | #include "LayoutPanel.h"
#include <algorithm>
namespace engine {
namespace ui {
void LayoutPanel::addComponent(const std::shared_ptr<Component>& component, LayoutAnchor anchor)
{
std::shared_ptr<WrappedComponent> wrappedComponent = std::make_shared<WrappedComponent>(component, anchor);
m_compon... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.