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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
162cd723b65360c2d59ef5a79f5c441ade402f8c | 182322f4f2800f851754bb1bcb85fd4f9fc324ea | /pcca/2015_1/1003/pa.cpp | f199c94bf1236c8e3390f31cdb2835aad0dc0304 | [] | no_license | Tocknicsu/oj | 66100fe94d76b6fe8d1bd3019f5ada9d686c1753 | e84d6c87f3e8c0443a27e8efc749ea4b569a6c91 | refs/heads/master | 2021-01-17T08:12:32.510731 | 2016-04-18T02:09:04 | 2016-04-18T02:09:16 | 32,704,322 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 638 | cpp | pa.cpp | #include <bits/stdc++.h>
using namespace std;
int ans[32768];
unordered_set<int> s;
int main(){
int t = 1;
for(int i = 1 ; i < 1001 ; i++){
if(s.count(i)){
for( ; t <= i && s.count(i*t) ; t++);
for(int j = t ; j <= i ; j++)
s.insert(j*i);
} else {
... |
d9e30b6086ef976aceafba9cb95c67c2929aa8b8 | f93d816161738cc58539108fff064a2de77147f5 | /OpenGLHelloWorld/src/main.cpp | e63d657cdfd499f3094ffd1d2931e3eac4dd8f5f | [] | no_license | icouldbreathe/sideproj-learn-opengl | 414da97319872b5bdfbd8cf012f1336a3b1dc086 | 5565aaf7a3d085f9363fccc6188cae0b0aa7bf7c | refs/heads/master | 2020-05-17T15:36:38.630625 | 2019-04-27T17:00:17 | 2019-04-27T17:00:17 | 183,794,742 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 396 | cpp | main.cpp | #include "Engine/Engine.h"
#include "Engine/Window.h"
#include <stdio.h>
#include <string>
#include <iostream>
uint32_t WINDOW_WIDTH = 800;
uint32_t WINDOW_HEIGHT = 800;
int _main (int argc, char *argv[]) {
Window *myWindow = nullptr;
Engine *myEngine = nullptr;
myEngine = new Engine(WINDOW_WIDTH, W... |
c69cf47ab4ca361759323573ba7bc5d26e117823 | 63e0684a30f177074b8f206c45c3fc2d381bde75 | /MyServer/MyProtocol/MyConnectionContext.h | 16134201e6b5df3dd35cf27910cefdd1fb51ac96 | [] | no_license | fion45/MyServer | 81b487a07757ab16b0bcb27fa6b02c7130d7c9a3 | 0d002a47f929706510b7b214985575718699ac31 | refs/heads/master | 2021-01-23T07:21:12.884135 | 2015-01-11T15:19:18 | 2015-01-11T15:19:18 | 27,760,243 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 558 | h | MyConnectionContext.h | #pragma once
#include "Symbols.h"
#include "Protocol.h"
class MYPROTOCOL_API MyConnectionContext : public PushFramework::ConnectionContext
{
public:
enum
{
Initialized = 0,
HandshakeStage,
HeartbeatStage,
ConnectedStage,
LoginedStage
};
enum
{
UnknowedProtocol = 0,
WebSocketProtocol = 1,
FCIIProto... |
ef6195f8d59f40b7c24f294ee4a60b890db5ea54 | 62d31a4cf095806e6e57057b4556b26681857282 | /objtoan8/Animation.h | 152e7c53ab92f975aa27996854a38ee36e3fe9d7 | [
"Unlicense"
] | permissive | FForgione/N64-Tools | 9071feccc8669de2d0c7c7ad325309ddb35b5a5c | d29260ad65124dc822d528441ecee9501e0c38d0 | refs/heads/master | 2022-01-17T22:57:40.685697 | 2019-05-25T19:51:22 | 2019-05-25T19:51:22 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 218 | h | Animation.h | #pragma once
#include <vector>
#include "Keyframe.h"
class CAnimation
{
public:
CAnimation(void);
~CAnimation(void);
CString name;
std::vector<CKeyframe*> keyframes;
bool isCamera;
bool treatAsBlendShape;
};
|
944cbe93197e3682477ed17864ac230613bebfe9 | 729622d702c42d81c99cf88220db1f206382e916 | /source/app/public/Forms/FormMain.hxx | 410cf437fb33690aad49aa5a16c485b4b0dd6478 | [
"MIT"
] | permissive | xu7103224/pdb-type-viewer | 4f0494a89ecc7c59ee47a5092aff4e549addfcb2 | d348aaeb04a8f15c2f09dbda95f5010f1d6709e1 | refs/heads/master | 2023-03-16T16:10:28.000378 | 2019-06-27T12:33:21 | 2019-06-27T12:33:21 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,477 | hxx | FormMain.hxx | #pragma once
#include <QMainWindow>
#include <LibPtv.hxx>
class QAction;
class QListWidget;
class QMenu;
class QStringListModel;
class QTreeView;
class QDockWidget;
class QListView;
class QSortFilterProxyModel;
class QTableView;
class QLineEdit;
class QPushButton;
namespace ptvapp::models
{
class TypeDescriptorM... |
0e1102321904d0c33a60c6856a513485e8e442cd | d62c1081b555706daf9b86cdb80fdbace9aaa40a | /cpp_src/client/synccoroqueryresults.cc | 3d24ab72ca3df059a09e73c288189653950b6e0f | [
"Apache-2.0"
] | permissive | Restream/reindexer | 2906aae14e16c27e50b36e806949ef0fe4aca61c | 6d4504fcdb9dc2e98169ea739fd14c243766da2d | refs/heads/master | 2023-08-28T09:36:57.626697 | 2023-07-29T12:41:16 | 2023-07-29T12:41:16 | 96,545,309 | 775 | 79 | Apache-2.0 | 2022-12-27T11:39:04 | 2017-07-07T14:14:38 | C++ | UTF-8 | C++ | false | false | 904 | cc | synccoroqueryresults.cc | #include "synccoroqueryresults.h"
#include "client/namespace.h"
#include "synccororeindexer.h"
#include "synccororeindexerimpl.h"
namespace reindexer {
namespace client {
using namespace reindexer::net;
SyncCoroQueryResults::SyncCoroQueryResults(SyncCoroReindexer *rx, int fetchFlags) : results_(fetchFlags), rx_(rx) ... |
4b7efda01bd724dca137d92f938db07f30edaa5e | 620f7ae17cfea68d6dc4240ab8a5da114206741b | /unique_ptr.hpp | 017e7b29b6331d7f0ed1f1e20686d46c248219c4 | [] | no_license | Kalord/smart-pointer | 0be433573a36d91c5d1ae1cd69b79c1134d113d1 | c7419d03441caf22e4a92bc73f44e6e42d3a6dbf | refs/heads/master | 2022-03-31T01:29:20.475736 | 2020-01-24T22:38:17 | 2020-01-24T22:38:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 440 | hpp | unique_ptr.hpp | /**
* Smart pointer
* The allocated memory can belong to only one object.
*/
template<typename T>
class unique_ptr
{
private:
T* pointer;
//Non copy
unique_ptr<T>(unique_ptr<T> const&) = delete;
unique_ptr<T>& operator=(unique_ptr<T> const&) = delete;
public:
unique_ptr(T* pointer) :
pointer(pointer)
{}
~un... |
a112c0165855e12a52d0e1e71ae0da72f2c8481a | 65f29dc80c0cbe5cc56075d0fe1124dcb41665df | /exercises/day_11/Exercise_2.cpp | a201d6633eaffa2767aa92a391415771361bfe5d | [] | no_license | br-labud/cpp | 3f44e95eb9dd969bed08612079b4c5e5c6e1bfa5 | 842b55a6b6fb5d29d76d6fc564334cedc6f7a90e | refs/heads/main | 2023-07-10T09:49:57.640728 | 2021-08-23T16:25:03 | 2021-08-23T16:25:03 | 398,587,781 | 0 | 0 | null | 2021-08-21T15:28:23 | 2021-08-21T15:08:13 | C++ | UTF-8 | C++ | false | false | 658 | cpp | Exercise_2.cpp | // Speed Control
#include <iostream>
#include <vector>
using namespace std;
int gps(int s, vector<double> &x) {
vector<double> arr;
if(x.size() < 1) return 0;
for(auto i = 0; i < x.size() - 1; i++) {
double diff = x[i+1] - x[i];
arr.push_back(3600.0 * (diff / (double)s)); ... |
84d5bc3488d51d1d6544ebe1dff05df6c6525536 | 4349efc92fdcbbec693b0e95e3a6f7abed22bb23 | /include/bmp/greenblockleftbmp.h | ed9fe6150bad5557b3e4be774b1d45acffd08489 | [
"MIT"
] | permissive | ant512/ReallyBadEggs | 81d57d690cd0e37a22cdc1c42d4213fb9bae28c1 | 5537e9f4c22c5de7686623ac63d4b84992467ad4 | refs/heads/master | 2020-04-06T05:46:43.974711 | 2015-02-08T06:08:57 | 2015-02-08T06:08:57 | 15,411,446 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 190 | h | greenblockleftbmp.h | #ifndef _GREENBLOCKLEFTBMP_H_
#define _GREENBLOCKLEFTBMP_H_
#include <bitmapwrapper.h>
class GreenBlockLeftBmp : public WoopsiGfx::BitmapWrapper {
public:
GreenBlockLeftBmp();
};
#endif
|
dfacde0d6e02a51f234baee87937fcbc7e326a5f | 07306d96ba61d744cb54293d75ed2e9a09228916 | /External/Scaleform/Src/Platform/Platform_RenderHALThread.h | 1460756746ec315fa386463d626d7271ce7cd4dd | [] | no_license | D34Dspy/warz-client | e57783a7c8adab1654f347f389c1dace35b81158 | 5262ea65e0baaf3f37ffaede5f41c9b7eafee7c1 | refs/heads/master | 2023-03-17T00:56:46.602407 | 2015-12-20T16:43:00 | 2015-12-20T16:43:00 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,614 | h | Platform_RenderHALThread.h | /**************************************************************************
Filename : Platform_RenderHALThread.h
Content : Default RenderThread implementation used by applications
that render directly to HAL.
Created : Jan 2011
Authors : Michael Antonov
Copyright : Copyrigh... |
c17e71517a44090b36211f1da46946eeb4a73f98 | bd500f4386225716a43aa002c4827c9b1067513e | /include/UImessenger.hh | bb10ca7b9df46042f19dd25be0282c509fb02ea8 | [] | no_license | WPIRadiationPhysics/Faraday-Cup | d6b3e66d36238e75d72e86daf80c3137c6e57082 | b337417903df5d7b0ae34b73ca07e73b6fa29967 | refs/heads/master | 2021-01-17T11:33:41.607218 | 2015-12-02T04:26:10 | 2015-12-02T04:26:10 | 25,929,759 | 0 | 0 | null | 2015-12-02T04:26:10 | 2014-10-29T16:18:03 | C | UTF-8 | C++ | false | false | 668 | hh | UImessenger.hh | #ifndef UImessenger_h
#define UImessenger_h 1
#include "globals.hh"
#include "G4UImessenger.hh"
class DetectorConstruction;
class G4UIdirectory;
class G4UIcmdWithAnInteger;
class G4UIcmdWithADouble;
class UImessenger: public G4UImessenger {
public:
UImessenger(DetectorConstruction* );
virtual ~UImessenger... |
3550e06b197e2c4c4def8f15e0c6b8a43bb65fcc | 268e0035da3170ddfe579d2337510925249b3ed4 | /fun/base/math/vectorize_dx.h | f68ee1689b57a85544445e70f33a621571ea7e57 | [] | no_license | maxidea1024/fun | 89e2b4ae1c23c60201e7b9a2ef85bb33a8a25202 | bc10f8a5fef70b4c02cf443c27c29c6a71cb31b5 | refs/heads/master | 2021-08-07T05:16:10.630398 | 2020-05-06T10:46:08 | 2020-05-06T10:46:08 | 169,390,099 | 2 | 0 | null | 2019-03-28T13:58:16 | 2019-02-06T10:39:41 | C++ | UTF-8 | C++ | false | false | 31,810 | h | vectorize_dx.h | #pragma once
#if __cplusplus_cli
// there are compile issues with this file in managed mode, so use the FPU version
#include "fun/base/math/math_vectorize_fpu.h"
#else
#include <DirectXMath.h>
#include <DirectXPackedVector.h>
namespace fun {
//
// Helpers
//
/**
* float4 vector register type, where the first f... |
1364737713bbd95368e5351bc7328bc962a2c389 | 83ea4112a19c193dcc8a3d36f2ea7f9b70294d53 | /1/kamil.cpp | b8f2aa516100467c3445203bf3a952af242ddf37 | [] | no_license | s-bond/Miscellaneous-Codes | a8240eb8d2ab59528be59a1a60ad9fcd1722e9b2 | 51fa3242230a7c820a58999e3449a755e9fda6f4 | refs/heads/master | 2021-01-02T22:58:50.156483 | 2013-08-12T17:53:36 | 2013-08-12T17:53:36 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 206 | cpp | kamil.cpp | #include <iostream>
using namespace std;int main(){int i=0,j=0,s=1;char c[21],a;while(i<10){cin>>c;while(c[j]!='\0'){a=c[j];if(a=='T'||a=='D'||a=='L'||a=='F')s*=2;j++;}cout<<s<<endl;s=1;j=0;i++;}return 0;}
|
e574d69a7a30158027a62012cf8f4e98c226adb7 | 36367ce7909547ea38d49cbef13b4d1b6e9c5a98 | /M5StickCSat/M5StickCSat.ino | b45c942b5050f73e2200f157f79b1e85fd498c7a | [] | no_license | OzoraKobo/SWOS2AE | cda6504f981bef8ecea3287bc3869218c3e7da08 | 16814c26e307a17d489b16db3c4966f4fe495339 | refs/heads/main | 2023-08-21T17:39:00.428011 | 2021-09-22T01:06:38 | 2021-09-22T01:06:38 | 404,594,311 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,973 | ino | M5StickCSat.ino |
#include "M5StickC.h"
#include "M5Timer.h"
#include "SerialReceive.h"
// タイマー
M5Timer timer; // M5Timer オブジェクト生成
#define TIMER_1SEC 1000 // タイマー:1秒
bool timer_1sec_flag = false; // 1秒タイマーフラグ
uint32_t run_time = 0; // 起動後の経過時間(秒)
// コマンド受信許可タイマー
#def... |
06a62e20cb6a1f2e241890e7b4f94b1ed20eff69 | 10a3c55e32cabba74f87f0fb71b32b8267de28a6 | /geometry/proximity/bounding_volume_hierarchy.cc | b684421e86f726f3a566885229311811aea4a7be | [
"BSD-3-Clause"
] | permissive | saguilera3/drake | 9510c4cf2efc8bcb03577d5ff0087c451406da8e | 4edd4f900930512a6c4d0e12f7783bdeb5cae4fc | refs/heads/master | 2020-12-04T05:38:01.717875 | 2020-09-30T16:59:12 | 2020-09-30T16:59:12 | 231,632,723 | 0 | 1 | NOASSERTION | 2020-01-03T17:18:45 | 2020-01-03T17:18:44 | null | UTF-8 | C++ | false | false | 13,449 | cc | bounding_volume_hierarchy.cc | #include "drake/geometry/proximity/bounding_volume_hierarchy.h"
#include "drake/common/eigen_types.h"
namespace drake {
namespace geometry {
namespace internal {
using Eigen::Matrix3d;
using Eigen::Vector3d;
using math::RotationMatrixd;
bool Aabb::HasOverlap(const Aabb& a, const Aabb& b,
const... |
62aca96a2b8b62380d3541d60bc6e47e51d36536 | f6737c532718980a62d5d19753be9b1e94f908c1 | /boost/asynchronous/scheduler/multiqueue_threadpool_scheduler.hpp | 67805fcc94e72b300ba31e4d4f90836ff1d057b7 | [] | no_license | Shevchenko-Alexander/asynchronous | 8096228eda9b1e6455edcda746c91722f16973e9 | 1f0acf7bcd628d3ad0db50d8b921d5494f43f8a1 | refs/heads/master | 2020-04-03T11:41:37.695317 | 2018-10-29T15:06:26 | 2018-10-29T15:06:26 | 155,228,999 | 0 | 0 | null | 2018-10-29T14:47:59 | 2018-10-29T14:47:57 | null | UTF-8 | C++ | false | false | 15,112 | hpp | multiqueue_threadpool_scheduler.hpp | // Boost.Asynchronous library
// Copyright (C) Christophe Henry 2013
//
// Use, modification and distribution is subject to the Boost
// Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
// For more information, see http://www.boost.org
#i... |
bdaf11ddb4b80d8a5f319db7fda1a2983d1eacaf | 2c5a5452430ba54b8d3bcb80572e887235d9bdef | /Estrutura_de_Dados/simple_conj_DIN.hpp | 5728a5aad5f2bd9426a96ee34b7ca6653cae6fe5 | [] | no_license | matheus123deimos/Projetos_PEstruturada | 370d683161ec1949ecbfc9752f0c9d284ac0e7e0 | 99fdca042d86487e9087a9d5ab8a9df089e7af44 | refs/heads/master | 2021-01-13T15:54:02.124289 | 2019-01-02T18:34:53 | 2019-01-02T18:34:53 | 76,803,016 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,178 | hpp | simple_conj_DIN.hpp | #include <iostream>
using std::nothrow;
template<typename T>
struct Node{T elem; Node<T> *prox;};
template<typename T>
struct ConjuntoDim{Node<T> *prim;};
template<typename T>
void Inicializar_Conjunto(ConjuntoDim<T> &C){C.prim = NULL;};
template<typename T>
bool Inserir(ConjuntoDim<T> &C,T e){
Nod... |
ccdfbd3523b6b828561ff07469493cdff977e433 | 0b070626740788d5af23fcd1cd095e56033308de | /727.cpp | 5db90a8c02279ba402baad0202d4d319aad86dbf | [] | no_license | xis19/leetcode | 71cb76c5764f8082155d31abcb024b25fd90bc75 | fb35fd050d69d5d8abf6794ae4bed174aaafb001 | refs/heads/master | 2021-03-24T12:53:34.379480 | 2020-02-24T04:25:36 | 2020-02-24T04:25:36 | 76,006,015 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,705 | cpp | 727.cpp | #include <limits>
#include <string>
#include <vector>
std::string minWindow(const std::string& S, const std::string& T) {
// For this one, we cannot use two pointer strategy since we have
// to preserve the order of the characters in the string.
// We consider the example
// a b c d e b d d e
/... |
a196b4314dfc524fa4f0e5e00827d99b78037717 | f7fa8eb004c767dc1120062f2c342147f1a67cd1 | /src/JsonParser.cpp | 093966c54a3aa993167e1075d45e3eab9b79723b | [] | no_license | VisaJE/feedback-system | 08ea042506ceed538b29bb3017a1b4e62f8487d9 | c9b6b9887ac34e296d3f0a9f02830c41c84b26fe | refs/heads/master | 2020-03-20T21:28:16.051751 | 2019-04-21T09:13:40 | 2019-04-21T09:13:40 | 137,742,447 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,317 | cpp | JsonParser.cpp | /*
* JsonParser.cpp
*
* Created on: 18 Jun 2018
* Author: visakoe1
*/
#include <iostream>
#include "JsonParser.h"
#include <string>
#include <sstream>
#include "rapidjson/document.h"
#include "rapidjson/writer.h"
#include "rapidjson/stringbuffer.h"
#include "rapidjson/filewritestream.h"
#include "rapidjson/... |
43888346b25fd471c6796a58e26b77ba87782b72 | 54320ef64dd0548a5b5016feed14c606a5fd1e76 | /Araksya_Hambaryan/Homework/C++/Homework_07_12_2015/Zombi_process.cpp | a9bcfc1268c9ac2d89ee535d146ad8c38d4b94d9 | [] | no_license | ITC-Vanadzor/ITC-7 | 9859ebbd0d824d3a480ea281bbdb14edbb6a374e | d2bfcdc3a1faea4cdc1d7e555404445ac8768c66 | refs/heads/master | 2021-01-17T15:43:29.646485 | 2019-02-17T19:07:36 | 2019-02-17T19:07:36 | 44,699,731 | 0 | 4 | null | 2017-04-13T18:45:36 | 2015-10-21T19:38:34 | JavaScript | UTF-8 | C++ | false | false | 1,062 | cpp | Zombi_process.cpp | #include <iostream>
#include <cstdio>
#include <cstdlib>
#include <signal.h>
#include <sys/wait.h>
#include <unistd.h>
int main()
{
std::cout << "Starting Process"<<std::endl;
int pid = fork();
switch (pid) {
case -1:
perror ("fork");
exit (1);
case 0:
std::cout << "Child ... |
85380847fef22f0ba6d614195a8b05a15f6ccaee | 2bec5a52ce1fb3266e72f8fbeb5226b025584a16 | /particles/src/collision.cpp | 2f7f4b68cdc0ec016758312e9877fce6ef33f656 | [
"MIT",
"BSD-3-Clause"
] | permissive | akhikolla/InformationHouse | 4e45b11df18dee47519e917fcf0a869a77661fce | c0daab1e3f2827fd08aa5c31127fadae3f001948 | refs/heads/master | 2023-02-12T19:00:20.752555 | 2020-12-31T20:59:23 | 2020-12-31T20:59:23 | 325,589,503 | 9 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 874 | cpp | collision.cpp | #include <Rcpp.h>
#include "vector.h"
#include "quadTree.h"
using namespace Rcpp;
//[[Rcpp::export]]
NumericMatrix collision(NumericMatrix pos, NumericMatrix vel, NumericVector radii, double strength) {
size_t i;
NumericMatrix res(pos.nrow(), pos.ncol());
QuadTree<2> tree;
std::deque<Body<2> *> bodies;
for ... |
f055c2fcd6fa8b2801a3a7b5a187c3fac77e1835 | 7c2aacac64c1cb773737fab1fae9cb792fe93714 | /src/datastruct.cpp | a9a369b5a618f6144cdd3f88ce6f523205b65e73 | [] | no_license | cycmay/DataStruct | a828fcf8f15034b01d42277df9489b1d26d46f0f | e0f9fa2389368b58a4f377770a642a85ad1d853c | refs/heads/master | 2021-03-17T12:59:10.312145 | 2020-04-10T05:11:47 | 2020-04-10T05:11:47 | 246,992,792 | 2 | 1 | null | 2020-03-13T05:58:12 | 2020-03-13T05:10:20 | C++ | UTF-8 | C++ | false | false | 160 | cpp | datastruct.cpp | #include <iostream>
// #include "BinaryHeap_test.hpp"
#include "sort_test.hpp"
int main(){
// insertsort_test();
quicksort_test();
return 0;
}
|
fb05bfd060eebb8404561e05b048b7e9d75735b8 | 4b4ab8dcab747913d105a687d64b3dec00b0789d | /Switch_Base/Switch_TimerOne.cpp | f595c0e1fcb5538f5df307a6a3238c35a01a5b6b | [
"MIT"
] | permissive | woutercharle/switch | 8f90a1b5266b7aef3ee199de0767910f486c21b7 | 632f48fde60d071fdda0b4e7655db0a8354b5ef4 | refs/heads/master | 2020-04-17T11:12:03.744878 | 2019-01-19T20:02:21 | 2019-01-19T20:02:21 | 166,531,427 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,429 | cpp | Switch_TimerOne.cpp | /*
* Interrupt and PWM utilities for 16 bit Timer1 on ATmega168/328
* Original code by Jesse Tane for http://labs.ideo.com August 2008
* Modified March 2009 by Jérôme Despatis and Jesse Tane for ATmega328 support
* Modified June 2009 by Michael Polli and Jesse Tane to fix a bug in setPeriod() which caused the t... |
c80b9bc674ce2db7dd51ea6051d9f229bdddc303 | 3c0ded2d66f189d4ae6ca5fbab10d43e8677175f | /Algorithm-Analysis/AA.cpp | d8ff5a67df5377011b0a9de17aae02efa0c3ddc2 | [] | no_license | kk2849/cs2134-data-structures-algorithms | e698ae8f80fa7fbb3b8db0d830d6079efdc0e737 | f8a141c87353d4f3e4d7342441dca1d5a854dc2b | refs/heads/master | 2020-03-17T04:06:36.045106 | 2018-05-19T02:51:36 | 2018-05-19T02:51:36 | 133,263,110 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,226 | cpp | AA.cpp | #include <iostream>
#include <vector>
#include <cmath>
using namespace std;
int func1(vector<int>& v, int item){
for (int i = 0; i < v.size(); i++)
if (item == v[i]) //controlling line of code
return i;
return -1;
}
int func2(vector<int>& v, int item){
int a = 0;
int b = v.size() - 1;
int c = (b + a) / 2;
... |
06796e1323efbaf0df67c43cd4d6127ddf262800 | cfddc57c95f3dce1c9e4cd71fa727267019c4357 | /QuadraticCurve.h | 55c8709cc9b96bbb2cffa7eed9185fd94bf0fd10 | [] | no_license | GraGLeS/TopoRecognizer | 1543131205f91f76659e4c2032c92b2ebfc3e402 | f47b52088f935f09754471b9b753161d895433a2 | refs/heads/master | 2021-01-19T10:18:27.391261 | 2017-02-16T11:58:34 | 2017-02-16T11:58:34 | 82,174,252 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 973 | h | QuadraticCurve.h |
/*
* File: QuadraticCurve.h
* Author: Arbeit
* Created on 18. Dezember 201
*/
#ifndef QUADRATICCURVE_H
#define QUADRATICCURVE_H
#include <Eigen/Dense>
using namespace std;
class QuadraticCurve {
public:
QuadraticCurve();
QuadraticCurve(const QuadraticCurve& orig);
virtual ~Qu... |
5e07d06736ace3f669e5bf6b3f150714eee70d48 | 492976adfdf031252c85de91a185bfd625738a0c | /src/Game/AI/Action/actionLastBossRailWarpAction.h | 198acdaa785b62aa04db45a082034f39f5b4888a | [] | no_license | zeldaret/botw | 50ccb72c6d3969c0b067168f6f9124665a7f7590 | fd527f92164b8efdb746cffcf23c4f033fbffa76 | refs/heads/master | 2023-07-21T13:12:24.107437 | 2023-07-01T20:29:40 | 2023-07-01T20:29:40 | 288,736,599 | 1,350 | 117 | null | 2023-09-03T14:45:38 | 2020-08-19T13:16:30 | C++ | UTF-8 | C++ | false | false | 1,052 | h | actionLastBossRailWarpAction.h | #pragma once
#include "KingSystem/ActorSystem/actAiAction.h"
namespace uking::action {
class LastBossRailWarpAction : public ksys::act::ai::Action {
SEAD_RTTI_OVERRIDE(LastBossRailWarpAction, ksys::act::ai::Action)
public:
explicit LastBossRailWarpAction(const InitArg& arg);
~LastBossRailWarpAction() ove... |
598285936f3b49f036f79a3dfbf3f171a160aee7 | 768371d8c4db95ad629da1bf2023b89f05f53953 | /applayerpluginsandutils/httpprotocolplugins/WspProtocolHandler/MConnectInvokerCallback.h | a0e97ed4f468a4b2a8c340dddfa0f1d8f251b41b | [] | no_license | SymbianSource/oss.FCL.sf.mw.netprotocols | 5eae982437f5b25dcf3d7a21aae917f5c7c0a5bd | cc43765893d358f20903b5635a2a125134a2ede8 | refs/heads/master | 2021-01-13T08:23:16.214294 | 2010-10-03T21:53:08 | 2010-10-03T21:53:08 | 71,899,655 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,420 | h | MConnectInvokerCallback.h | // Copyright (c) 2001-2009 Nokia Corporation and/or its subsidiary(-ies).
// All rights reserved.
// This component and the accompanying materials are made available
// under the terms of "Eclipse Public License v1.0"
// which accompanies this distribution, and is available
// at the URL "http://www.eclipse.org/legal/e... |
f5e85041d1013e90bd413d0b1a4c9e5bf835b1b3 | ff010526baef07afb0424b13cac83ee12a0ed543 | /exp13_3.cpp | f88c8f62c40bed6d31efe2970e464e35d6e1a524 | [] | no_license | DeepFlying/C- | c89f92cbd5ccc5adf9694d55f74b43535e4ae11f | 3008d4d40b60293751d625665bbc2fc7a4454d6f | refs/heads/master | 2020-03-28T23:48:18.366476 | 2018-09-24T14:32:57 | 2018-09-24T14:32:57 | 149,309,608 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 358 | cpp | exp13_3.cpp | //给二维数组输入数据,并以行列输出
#include <iostream>
using namespace std;
int main()
{
int A[3][4],i,j;
for (i=0;i<3;i++)
for (j=0;j<4;j++) cin >> A[i][j];
for (i=0;i<3;i++) {
for (j=0;j<4;j++) //内循环输出一行
cout<<A[i][j]<<" ";
cout<<endl; //每输出一行换行
}
return 0;
}
|
94b9da9b1a5578c39495f4b930004395b264acbe | a7abbfbed7e441005d00cc91a3e3ff22e3f40539 | /Porxy/include/proto/LogServer.pb.h | 2183e3f944011805cd19d8379721e81fe051a16d | [] | no_license | Original-Adios/ByteTalk | 3833e3b6b00d57f2f0bb35a10230bff76e5a7766 | ff8425b7dc28b9b847b76c7cf78a22938c6ed403 | refs/heads/main | 2023-07-18T02:05:02.876806 | 2021-05-05T07:07:00 | 2021-05-05T07:07:00 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | true | 21,502 | h | LogServer.pb.h | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: LogServer.proto
#ifndef PROTOBUF_LogServer_2eproto__INCLUDED
#define PROTOBUF_LogServer_2eproto__INCLUDED
#include <string>
#include <google/protobuf/stubs/common.h>
#if GOOGLE_PROTOBUF_VERSION < 3000000
#error This file was generated by a newer... |
0800bd5de6b636840409164ee21fb164d92d45a3 | f3f83758741ae8b328e7aff3af75e6043adf98a9 | /ApryxEngine/src/ui/LinearLayout.cpp | 3758bfdf731d601921b4715b36c7852d9414707f | [] | no_license | folkerthoogenraad/ApryxEngine | 0db7547976c14cbf7d2c29ca83babc9305c32023 | 272eeee7b05e8ee3a24fbe7b037e2c9bbbc5007b | refs/heads/master | 2020-04-01T08:05:42.016852 | 2018-12-26T21:44:39 | 2018-12-26T21:44:39 | 153,017,359 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,334 | cpp | LinearLayout.cpp | #include "LinearLayout.h"
namespace apryx {
void LinearLayout::updateLayout(Rectanglef newSize)
{
// TODO implement Exact scaling.
UIComponent::updateLayout(newSize);
if (getChildCount() == 0)
return;
Rectanglef rect = getLocalBounds();
float weightSum = 0;
float sizeSum = 0;
// Calculate t... |
9fa29fb3b97cf1874b7042fa79730ae8e670a1af | 1f25f8adb39ece73ce111d759e2104bd0b0b4cd2 | /acm/srm/CountBinarySequences.cpp | 3258b78dc43ccdd15ff9b71d7d2d5377fb5d7e2f | [] | no_license | LTzycLT/code | 75f31ecc02ddd1ca8d264f7640d37c02fb7750b9 | 47cb2cfa7c6f3318a35e4763e1827197227e468b | refs/heads/master | 2021-01-10T16:51:05.866008 | 2018-04-25T12:33:06 | 2018-04-25T12:33:06 | 36,212,582 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 3,704 | cpp | CountBinarySequences.cpp | // BEGIN CUT HERE
// END CUT HERE
#line 5 "CountBinarySequences.cpp"
#include<stdio.h>
#include<string.h>
#include<sstream>
#include<cstdio>
#include<iostream>
#include<algorithm>
#include<math.h>
#include<vector>
#include<string>
#define MP(x,y) make_pair(x,y)
#define clr(x,y) memset(x,y,sizeof(x))
#define ll long lo... |
b63fec51d027aaf361d781f2bb7f84303baf5eb5 | 82bef373811a746ff84d6f723a2336c4ab8c548a | /mainwindow.h | 432c784b790ed9588acb017e2a03aadec4773bb0 | [] | no_license | Henrai/Particle-Demo | c2d9e2e86cd88c1e5b8bb788c778660bbab2f85d | e8c7965aee7db07131d4e5570124bd1b0be9f496 | refs/heads/master | 2020-04-14T21:37:40.501039 | 2019-01-04T17:07:06 | 2019-01-04T17:12:25 | 164,134,516 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 666 | h | mainwindow.h | #ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include <QMainWindow>
#include <QPainter>
namespace Ui {
class MainWindow;
}
class MainWindow : public QMainWindow
{
Q_OBJECT
public:
explicit MainWindow(QWidget *parent = nullptr);
~MainWindow();
signals:
void generateParticles();
void clearScreen();
... |
9a8fc1b2973e5b53ba00c93fa912d387e7bbe6b3 | 2af91f07b907ba1020e7e05a973e81750d345cc6 | /D05/ex01/Bureaucrat.cpp | 2c0cb391a99a2fbe01b082040e09ae13c5d3b534 | [] | no_license | NormanSchilling/PiscineCplusplus | aa612d7619d98f224212d31850e8217ec01d4f92 | 77087bc87dec57c2c70ee4d7a04f978b13c714c9 | refs/heads/master | 2021-01-17T14:35:17.803534 | 2015-04-18T09:52:16 | 2015-04-18T09:52:16 | 30,865,699 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,169 | cpp | Bureaucrat.cpp | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* Bureaucrat.cpp :+: :+: :+: ... |
562b62e3f2526e10699c5430ea45c73aa63dd16f | 858f12541d3dfa97dab9d15bca890b3e4b5e065a | /ast/AstLet.cpp | dc9c3483ca793ee4deea30cc3d6f5af2de6dd332 | [] | no_license | kevinrtai/cs345h_lemonade | 8d0a81993552021150c8ec980edd424f9d3197b4 | ca2ca9981eeacd85566fe1c13fcca22c6c840ea0 | refs/heads/master | 2021-01-19T01:37:34.178751 | 2016-12-01T01:39:25 | 2016-12-01T01:39:25 | 73,323,851 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,619 | cpp | AstLet.cpp | #include "AstLet.h"
AstLet* AstLet::make(AstIdentifier* id, Expression* val, Expression* body)
{
AstLet* l = new AstLet(id, val, body);
Expression* res = get_exp(l);
assert(res->get_type() == AST_LET);
return static_cast<AstLet*>(res);
}
AstLet::AstLet(AstIdentifier* id, Expression* val, Expression* body)
{
th... |
bf7b5d4fddd9fb79df3388e460c7bc7e04231747 | f5add335feb88b57e1b2f5a23217298b6f698586 | /iEngine/Network/NSession/Pool.cpp | c50100f28fcdda2994d7db3654ffcddd3d6cb647 | [] | no_license | truelsy/iEngine | bdd5de84cae5974c1ea2ceebc4df5dca2b3b8ba9 | 7932b34fafda4d44ccd5e38b5bd4445cc299c108 | refs/heads/master | 2021-01-18T13:54:51.101233 | 2016-02-29T08:23:52 | 2016-02-29T08:23:52 | 24,037,259 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,456 | cpp | Pool.cpp | /*
* Pool.cpp
*
* Created on: 2014. 6. 27.
* Author: mega
*/
#include "../Session.h"
namespace BoostAsioNetwork {
Session::Pool::Pool()
{
pthread_cond_init(&m_Cond, NULL);
pthread_mutex_init(&m_Lock, NULL);
}
Session::Pool::~Pool()
{
for (Session * pSession : clsSessionList)
delete pSession;
clsSe... |
73ce69612478cee93ec42a931f36ca086e33df70 | 007265a4351662f37e6d3f59581fd4575ece5093 | /include/pcsc-cpp/pcsc-cpp-utils.hpp | 0017d0f381f1f2a2a8f82a0bd0e965894e12b9b0 | [
"MIT"
] | permissive | Counter178/libpcsc-cpp | 04a41ece49113e5006ac0d221a728c4e9f3486d3 | 820160ad99820f23a0114f70959b47514b993aa7 | refs/heads/main | 2023-03-22T17:58:45.178406 | 2021-03-02T19:33:26 | 2021-03-05T07:58:50 | 347,892,727 | 0 | 0 | MIT | 2021-03-15T08:35:56 | 2021-03-15T08:35:56 | null | UTF-8 | C++ | false | false | 2,343 | hpp | pcsc-cpp-utils.hpp | /*
* Copyright (c) 2020 The Web eID Project
*
* 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,... |
ae92f87513cb3d0d514e9b5650b50e921feac203 | 93b63e96111dd9781df655cae66e0b5b31662fcd | /inc/EllipseEnv.h | 1ca7934ad106e45a7371f06fdf1168ebca1c37f8 | [
"MIT"
] | permissive | sunjinbo/Ellipse | 970e08705373977b15820b3d1f732dc57fba4b6d | 61c88982046f8239cb17c897af86322c657f7f5d | refs/heads/master | 2021-07-21T07:02:51.065936 | 2017-10-31T01:54:28 | 2017-10-31T01:54:28 | 108,852,263 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 700 | h | EllipseEnv.h | /*
============================================================================
Name : EllipseEnv.h
Author : Sun Jinbo
Copyright : Your copyright notice
Description : This file contains declarations for constants of Ellipse.
The file can be included in C++ or resource file.
=================================... |
1f3d4a1a9af27230fb16a0e60c0bd15d503ac43a | 2fe5cc7977fe083ecd260ad8c9cbd213ba99365f | /ps3emu/spu/SPUThread.h | 3de4e9090f3e93e0579d73161ec5ee43eff46b64 | [] | no_license | lasyka/ps3emu | f5feaf2fb5d3ae16652f985c2b4720b52a20a51d | 69f36338d4aa7f729d3832b91188d26c95760661 | refs/heads/master | 2023-03-18T16:43:42.507305 | 2021-02-26T23:22:33 | 2021-02-26T23:22:33 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,832 | h | SPUThread.h | #pragma once
#include "ps3emu/libs/ConcurrentQueue.h"
#include "ps3emu/libs/sync/queue.h"
#include "ps3emu/constants.h"
#include "ps3emu/BitField.h"
#include "ps3emu/ReservationMap.h"
#include "ps3emu/enum.h"
#include "ps3emu/utils/debug.h"
#include "ps3emu/OneTimeEvent.h"
#include "ps3emu/profiler.h"
#include "SPUCha... |
309bc54d5d7b696c06f0ec8bed282f98741e559c | 4e1190455394bb008b9299082cdbd236477e293a | /CodeForces/Educational/2/d.cpp | b215a942b459e44b1df6b3cd48d9214efcf7b5d1 | [] | no_license | Leonardosu/competitive_programming | 64b62fc5a1731763a1bee0f99f9a9d7df15e9e8a | 01ce1e4f3cb4dc3c5973774287f2e32f92418987 | refs/heads/master | 2023-08-04T06:27:26.384700 | 2023-07-24T19:47:57 | 2023-07-24T19:47:57 | 202,539,762 | 4 | 6 | null | 2022-10-25T00:24:54 | 2019-08-15T12:46:33 | C++ | UTF-8 | C++ | false | false | 1,712 | cpp | d.cpp | #include "bits/stdc++.h"
#define f first
#define s second
#define pb push_back
#define sz(x) (int)(x).size()
#define ALL(x) x.begin(),x.end()
#define present(c, x) (c.find(x) != c.end())
using namespace std;
typedef long long ll;
typedef pair<int, int> pii;
typedef vector<int> vi;
const double EPS = 1e-6;
const double... |
eaeec3b340a8a9ddaae84ee4cc74818ba96e36c6 | 45ae089c7d939488e56e87a71309c56f51b01f0c | /HDServer/Account/SmAccountNumGenerator.h | 617fb9b82efa6e5bb045edde10ce6c4372d4a5e6 | [] | no_license | wangscript007/HDServer | 3f22472800dcdf34f75abd4f96528cf314e37e08 | c8d1c6533a0da0bc46523b5fee0f130caee71730 | refs/heads/master | 2022-12-09T22:29:01.213842 | 2020-09-03T11:38:42 | 2020-09-03T11:38:42 | null | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 295 | h | SmAccountNumGenerator.h | #pragma once
#include <string>
class SmAccountNumGenerator
{
public:
// type : 0 -> 해외 계좌, 1 -> 국내 계좌
std::string GetNewAccountNumber(int type = 0);
void SaveAccountNumber(int type = 0);
private:
int _First = 100;
int _Second = 1000;
int _Last = 1000;
int _Level = 0;
};
|
1fd55d2b69bd9326ef4e8a07a044a1aef431a818 | 5f0b1eb1f56d9eb8b7250041e362e639cfe90fca | /BinaryTree/BinaryTreeUtils.h | 1462369d9e1c9ac9aebd34cd4cb00493393c0473 | [] | no_license | yang747046912/Algorithm | 9e6eb0cdf4ffa3b38eb2ea1f7d9e08b2729fe0a8 | 239a946e9a00d52717fc27b1dbb566ec089730a0 | refs/heads/master | 2021-01-12T16:43:39.760739 | 2016-10-25T14:25:15 | 2016-10-25T14:25:15 | 71,439,793 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 972 | h | BinaryTreeUtils.h |
#ifndef BinaryTreeUtils_h
#define BinaryTreeUtils_h
#include "BinaryTree.h"
#include <stdio.h>
#include <iostream>
#include <queue>
#include <stack>
#include <string>
using namespace std;
void logTreeNode(BinaryTree tree);
BinaryTree buildTree(int array[], int n);
void logLevel(BinaryTree tree);
void _logPreOrd... |
2b1ca79e4ead06544063f7b228d1a59ebbd35d59 | c1f3cf1bb6e2a0be181630ea2a992d971b37b278 | /lalsa_test/snd_pcm_delay_test.cc | 4e4d9ef44a1e1a0bc5fd519d1fca9465c5432940 | [] | no_license | leeonky/clayer | 1f00b7ccafec6450b6672f714dd4e9c39bf962e9 | 26216dac5c1979118f207a502a662afd04a8b353 | refs/heads/master | 2023-08-24T08:45:01.410961 | 2021-10-07T14:43:34 | 2021-10-07T14:43:34 | 107,023,342 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,104 | cc | snd_pcm_delay_test.cc | #include <cstdio>
#include <cstdlib>
#include <cunitexd.h>
#include "stdexd/stdexd.h"
#include "lalsa/lalsa.h"
#include "mock_alsa/mock_alsa.h"
SUITE_START("snd_pcm_delay_test");
static snd_pcm_t *arg_pcm;
static int arg_rate;
static snd_pcm_sframes_t ret_delay;
static int stub_snd_pcm_delay(snd_pcm_t *, snd_pcm_sfr... |
f101637c2c1620f9e5b970599bbc887c7bda015f | 7270bc2c9acf6b0e1a711d03433d102627a3e84a | /MattEngine/sprite.cpp | ff0e603421b1226eeb6cc1dca01dda0cf020b9f4 | [] | no_license | mgordon34/cppGame | 6f56d02e923ed89d21917a65322e3f393506d4d3 | 96127cbdb51631f0f28d8fb72392c291907131b7 | refs/heads/master | 2021-01-20T12:05:05.285357 | 2017-09-07T13:14:24 | 2017-09-07T13:14:24 | 101,698,230 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,450 | cpp | sprite.cpp | #include "sprite.h"
#include "vertex.h"
#include <SOIL/SOIL.h>
#include "window.h"
#include "ResourceManager.h"
namespace MattEngine {
Sprite::Sprite(Window *window) {
_window = window;
_vboID = 0;
}
Sprite::~Sprite() {
if (_vboID != 0) {
glDeleteBuffers(1, &_vboID);
}
if (_textureID != 0) {
glDe... |
654942da5fba5d5199e82c3690321c4161f8363c | f2dc46d7603448694f2c5b10f2b018b5bc4fd3d0 | /Projects/WeatherCheck/mainwindow.h | bc7f019739a64bb8d39dd1630b57c582b4773012 | [] | no_license | Flyte27/Personal-Work | f9ed863413f2ed24e08bff71601261c77e95cee8 | ecceb4d64307c7d5c252840f19bc97debe86a956 | refs/heads/master | 2021-03-12T19:56:14.091939 | 2014-10-07T00:47:12 | 2014-10-07T00:47:12 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,303 | h | mainwindow.h | /*Created by Alex Payne
*mainwindow.h is a header file containing a interface for the MainWindow object class
*October 7, 2013
*/
#ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include <QMainWindow>
#include <QtNetwork/QNetworkReply>
#include <weathermodel.h>
#include <fstream>
namespace Ui {
class MainWindow;
}
class... |
d515bb7b90fadc975cc1bc007b49a1c84c026f67 | 26cc428b3d87f0cd0f1a2e6a51e9da25cd0b651a | /upperPosition/Blasius_6/upwind/0.2/phi_0 | b2c0d812f5548ceba8fb461866bf2e63050a108d | [] | no_license | CagriMetin/BlasiusProblem | 8f4fe708df8f3332d054b233d99a33fbb3c15c2a | 32c4aafd6ddd6ba4c39aef04d01b77a9106125b2 | refs/heads/master | 2020-12-24T19:37:14.665700 | 2016-12-27T19:13:04 | 2016-12-27T19:13:04 | 57,833,097 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 50,419 | phi_0 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.3.0 |
... | |
06182bd4e66bb69120d917188194acb9eb0d9845 | 9fcffeb6c8427f1fd61a1d5d792774f881371ae2 | /EssentialCPP/chapter2/2.3.cpp | 762e6bf8e8b2be2d5c02f0dbaba518e55b2ff584 | [] | no_license | leicj/books | e5b5ab8bdda7e67b0105a144c4c21f98cb833f7c | 1f3dcabd53aac3663d8bd5482fcd433d022c09d3 | refs/heads/master | 2020-12-25T15:29:45.797631 | 2016-07-30T05:01:28 | 2016-07-30T05:01:28 | 34,327,167 | 2 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 591 | cpp | 2.3.cpp | #include <iostream>
#include <vector>
#include <string>
#include <stdio.h>
using namespace std;
int isOk(int n)
{
return (0 < n && n < 1024);
}
void pen(vector<int> &ivec, int n)
{
if (!isOk(n)) {
return;
}
for (int i = 0; i < n; i++) {
ivec.push_back(i * (3 * i - 1) / 2);
}
}
temp... |
0624682397c34e5f3343dcf393f813648cfeab80 | 28c000caf6617ba2074e0f2a8fc936ccb8c01fb3 | /poj/2257/6184032_AC_0MS_180K.cpp | 95cfe2b3f4b7de99379c2ae60cf6e301422cdf6c | [] | no_license | ATM006/acm_problem_code | f597fa31033fd663b14d74ad94cae3f7c1629b99 | ac40d230cd450bcce60df801eb3b8ce9409dfaac | refs/heads/master | 2020-08-31T21:34:00.707529 | 2014-01-23T05:30:42 | 2014-01-23T05:30:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,535 | cpp | 6184032_AC_0MS_180K.cpp | #include <map>
#include <cstdio>
#include <string>
#include <cstring>
#include <algorithm>
using namespace std;
int n,t;
char name[21][12];
struct node{
int id;
int wi;
bool operator <(const node a)const
{
return a.wi>wi;
}
}nod[21];
int main()
{
int nca=0;
while(s... |
6f3516fd1aab8f5dbd51aee4f335486b0702ccb5 | c917ce9cf68b2b4e018657fd4bfb0dd5fd5587d3 | /driver_customhmd/ServerDriver.cpp | 4705b49ae77273f41790efcb4c014e193add246f | [] | no_license | zodsoft/openvr-customhmd | 31b1ad578919470844a44c6f4f0d4de3f019d144 | eb5fa5bd3ae413a259f4194b80331da61ad82819 | refs/heads/master | 2021-01-14T13:47:30.460690 | 2016-09-01T23:31:58 | 2016-09-01T23:31:58 | 67,395,300 | 1 | 0 | null | 2016-09-05T06:49:53 | 2016-09-05T06:49:53 | null | UTF-8 | C++ | false | false | 7,281 | cpp | ServerDriver.cpp | #include "ServerDriver.h"
#include "TrackedHMD.h"
#include "TrackedController.h"
#include <process.h>
EVRInitError CServerDriver::Init(IDriverLog * pDriverLog, IServerDriverHost * pDriverHost, const char * pchUserDriverConfigDir, const char * pchDriverInstallDir)
{
timeBeginPeriod(1);
m_CurrTick = m_LastTic... |
897aa9966683528b7eff0c84a985805888b8f6c8 | 842fc3ea5d387406fd07f1466f6253fd30da32e4 | /11.cpp | 237d6ad7e1ac8244ec6f996028995f07381d8a96 | [] | no_license | alex49knight/assignment-3 | d15d14f136822d1e7101d32970cc7bee2ea1e146 | dd996a52895fad0de3538d9bf01eb0b1a54be7ef | refs/heads/master | 2021-01-23T10:22:12.895839 | 2017-09-15T15:32:44 | 2017-09-15T15:32:44 | 102,612,441 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 397 | cpp | 11.cpp | #include<iostream>
using namespace std;
main () {
int a;
cout<<"week number "<<endl;
cin>> a;
if(a==1){
cout<<"sunday "<<endl;
}else if
(a==2){
cout<<"monday"<<endl;
}else if(a==3)
{cout<<"tuesday"<<endl;
}else if (a==4){
cout<<"wednesday"<<endl;
}else if(a==5){
cout<<"thursday"<<endl;}
else if(a==6){
cout<<"friday"<<e... |
6cfa2028cc5cbb2e27ff9e3ec0bf1a490028dc9e | ce20d0de4822644e2a553d33cfa5d1ba21d2ee5e | /aoj/1186.cpp | 97d58325f3f792729bf3565040252c3cd2c29cee | [] | no_license | yana87gt/procon | 08bfc87756d43a7cac9d61fad271880c421e4aca | 3f420f0b242f3e9108c780ca37288696e09522eb | refs/heads/master | 2023-08-31T01:50:13.592343 | 2023-08-26T17:11:02 | 2023-08-26T17:11:02 | 92,819,190 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 615 | cpp | 1186.cpp | #include <bits/stdc++.h>
using namespace std;
int main(void){
int h,w,D;
while(cin>>h>>w, h|w){
bool notFound=true;
for(D=h*h+w*w; notFound; h=0,++D){
/*高さを1ずつ伸ばして探索*/
while(++h, h*h<D/2){
/*高さ固定で幅を伸ばして整長方形になるか調べる*/
for(w=h; w... |
6853aa51701bc8769cf10fead53da88ee90fc693 | c9efc906edacba400d1e984fd165bcb13a4dae9d | /Engine/applicationclass.cpp | 984ce8c30d78bfe278f8296eca91488c91b62436 | [] | no_license | RynoT/Procedural-Methods-Abertay | fbec8723efef51332f236aa8c1f557c75db36d63 | c4555c2391581791a1ded857ea4dee734324bf31 | refs/heads/master | 2021-03-22T04:27:41.163645 | 2017-05-02T19:52:59 | 2017-05-02T19:52:59 | 88,818,565 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,563 | cpp | applicationclass.cpp | #include "applicationclass.h"
#include "game/scene/default_scene.h"
#include "game/scene/dungeon_scene.h"
int ApplicationClass::SCREEN_WIDTH = 800;
int ApplicationClass::SCREEN_HEIGHT = 600;
ApplicationClass::ApplicationClass(InputClass *input) : m_HWND(nullptr), m_Direct3D(nullptr), m_Scene(nullptr), m_Input(input)... |
b2a41eeaa266144e7ee08bfefa212f637b76b87e | 68f9c7aa5a78222bd009392fc82886329162b6f9 | /CH07/CH07/FANMEETING.cpp | 593ef26a7afbb9d35647466ffa945d8930f22f44 | [] | no_license | wbluke/Algorithm_PS | 1cb20f7d393a6c1cc155cb2b53f5dd19a64c595e | 9e810739a51410654a1cde686ab5376fea20bc70 | refs/heads/master | 2020-04-05T03:48:52.527347 | 2019-03-15T04:39:20 | 2019-03-15T04:39:20 | 156,528,237 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,611 | cpp | FANMEETING.cpp | #include<iostream>
#include<vector>
#include<string>
#include<algorithm>
using namespace std;
/*
void normalize(vector<int> &num) {
num.push_back(0);
for (int i = 0; i < num.size(); i++) {
if (num[i] < 0) {
int borrow = (abs(num[i]) + 9) / 10;
num[i + 1] -= borrow;
num[i] += borrow * 10;
}
else {
... |
438b7dad6406eb1c0eceee04e4b0efc174a2cffa | cfce1e28f1bc7e7bfe92d467454192bb9c30e9b8 | /sketchbook/rfid_led/rfid_led.ino | 75bf0e66f70376346ab487d51404a463f9177ede | [] | no_license | markgauzza/arduino | 0f88b3aa7f922b299031f689a38092429aab95ec | 1390d344d831b90ca57b9fc0d328f812de5cf4bc | refs/heads/master | 2021-01-25T05:15:42.524866 | 2016-03-01T16:55:49 | 2016-03-01T16:55:49 | 18,268,345 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 40 | ino | rfid_led.ino | Card detected #3973483339
#3973446155
|
e35761691a8bb7b1cffa6b0a21ce676eca6acad2 | 87b81def15fc20214d7b3adebe28a60f714fe4fc | /extractor/DinoCrisis2.h | 2b1ba056959850347b8a4e1eedb59513e1bbc413 | [] | no_license | Gemini-Loboto3/DC2-Mod-SDK | 482acd3f32027721d5b69395470a2915a60c15d8 | 6fc27d4d8ed4b54694f772941b45377b5a7ad191 | refs/heads/master | 2020-08-05T19:47:57.395370 | 2019-11-25T21:18:20 | 2019-11-25T21:18:20 | 212,683,446 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,703 | h | DinoCrisis2.h | #pragma once
#include <stdafx.h>
#include <vector>
enum GEntryType
{
GET_DATA, // generic literal data
GET_TEXTURE, // stripped TIM pixel
GET_PALETTE, // stripped TIM clut
GET_SNDH, // VAG header 'Gian'
GET_SNDB, // VAG body
GET_SNDE, // configuration for sound samples?
GET_UNK,
GET_LZSS0,
GET_LZSS1 // c... |
9dae1bfe071d1c8e8a6e574b8f3dd08d92ca7bf6 | 821f12cb1b5700c3f85b907476712e82f498d47d | /C++Projects/Homework-10/Homwork-10/Node_JunjieFeng.h | b4f0344c1e2ca4ff1ed7ee81552f8af8252ec8d2 | [] | no_license | Junjie-Feng/Previous-Projects | bfb19134d79b83f0a5a08b2624ee8f39831736f9 | 7d1f22c5f5a4134f43297d64f36f8341c36d4431 | refs/heads/master | 2021-01-11T04:16:43.688141 | 2016-10-18T00:59:11 | 2016-10-18T00:59:11 | 71,194,272 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 494 | h | Node_JunjieFeng.h | #ifndef NODE_H
#define NODE_H
#include <string>
using namespace std;
using std::string;
class Node
{
friend class LinkedList;//make LinkedLIst a friend
public:
//constructor
Node(string name, int no)
:itemName(name), itemNo(no)
{
this->next = NULL;//the innitialization of pointer next is NULL
}... |
f7d8ca2ebb91f1ec52d9a00ec198c1358ad68b1f | 0b431412de715f7ee9000e46d40c337422ab9d0c | /src/game/entities/subsystems/lifeanddeathsystem.h | e1254728f457956b21e853c9cfc50efc6045b287 | [] | no_license | gered/MonsterDefense | 66f53c7459e96acab4d194919fe92657dd23e7ac | 4960df2ea152049a2348fc48c0821977a6606c1c | refs/heads/master | 2020-04-26T07:24:29.793861 | 2019-03-02T02:17:33 | 2019-03-02T02:23:29 | 173,393,236 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 733 | h | lifeanddeathsystem.h | #ifndef __GAME_ENTITIES_SUBSYSTEMS_LIFEANDDEATHSYSTEM_H_INCLUDED__
#define __GAME_ENTITIES_SUBSYSTEMS_LIFEANDDEATHSYSTEM_H_INCLUDED__
#include "../../../framework/common.h"
#include "../../../entities/componentsystem.h"
class EntityManager;
class EventManager;
struct Event;
class LifeAndDeathSystem : public Componen... |
9d82cfb7a7ab87925b2a09931d7e6c20c4041da1 | b9ee0ea8b5c16eeb4d5d69017e9a9335e4de386e | /DMC/Player.h | dd4bd7e24906410953b68f7aa90e85f7098272e6 | [] | no_license | diegodem/dmc-nes | 629a1230513a66c2048521f1807cfe303baee632 | 19e3475ec35ea682a0b4f2943df1ec5f9eab383c | refs/heads/master | 2023-03-20T09:19:24.924204 | 2021-03-19T00:00:48 | 2021-03-19T00:00:48 | 344,885,700 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 888 | h | Player.h | // Code by Diego de Miguel (https://github.com/diegodem) - March 2021
#pragma once
#include <SDL.h>
#include "State.h"
#include "Timer.h"
class Player
{
public:
Player();
void update();
void moveRight(float deltaTime);
void moveLeft(float deltaTime);
int attackSword();
void fire();
void noButtonPressed();
S... |
d1e6da3315bc1dd4c500890ee75f6a76cb2b4d3c | eaea9b15bcbfcf86fc946e0855ad0a0c91beb8e0 | /SP1Framework- UPDATED/SP1Framework/Gamestory.cpp | 1681eff09d9b1ad26d94bca31fbc387adced2dec | [] | no_license | Siongyu/SP1Framework | 66a19a8517cbf331acf0a3797761bb0a559f57c1 | 9a906ba16d3bbf5129601ee347b0fb3c40d3d681 | refs/heads/master | 2021-01-22T19:17:56.045487 | 2016-08-26T09:18:05 | 2016-08-26T09:18:05 | 65,705,759 | 0 | 0 | null | 2016-08-15T05:03:08 | 2016-08-15T05:03:07 | null | UTF-8 | C++ | false | false | 377 | cpp | Gamestory.cpp | #include "game.h"
extern Console g_Console;
void Story()
{
COORD c = g_Console.getConsoleSize();
c.Y = 3; // Story at y 9
c.X = g_Console.getConsoleSize().X / 2 - 9;
c.Y += 3;
c.X = 0;
string line;
ifstream myfile("Story.txt");
if (myfile.is_open())
{
while (getline(myfile, line))
{
c.Y += 1;
g_C... |
302fad9d004e5350eeda2aa6c98ccd30a5dcd486 | 617eea0130bd6910c67bb5c2d95e33d368f0b90d | /Delete_Person.cpp | 39c7f94ab95eba361c6b5aafe5567ffe0a06b1c8 | [] | no_license | xu254zhu/test | de3eb7d77e8eba506dd05641afe9daa58d084a1a | f7f9df3cb3521009ed380eb84085dcc4dc720c8e | refs/heads/main | 2023-03-14T04:41:05.050776 | 2021-02-23T02:37:44 | 2021-02-23T02:37:44 | 340,795,722 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 486 | cpp | Delete_Person.cpp | #include"Delete_Person.h"
#include"Rank_Person.h"
#include"Add_Person.h"
void Delete_Person(A_Person All_person[], int &count)
{
string delete_name;
cout << "请输入你想要删除人的姓名:" << endl;
cin >> delete_name;
for (int i = 0; i < count; i++)
{
if (All_person[i].Name == delete_name)
{
All_person[i] = All... |
57b38b9401dd1bf7df1198d42b9d4880d46e87a8 | 9ca6885d197aaf6869e2080901b361b034e4cc37 | /JetMETCorrections/Utilities/src/SealModule.cc | 794a1ce3f689bbb78848f64ee126bca771905ad9 | [] | no_license | ktf/cmssw-migration | 153ff14346b20086f908a370029aa96575a2c51a | 583340dd03481dff673a52a2075c8bb46fa22ac6 | refs/heads/master | 2020-07-25T15:37:45.528173 | 2013-07-11T04:54:56 | 2013-07-11T04:54:56 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 206 | cc | SealModule.cc | #include "FWCore/PluginManager/interface/ModuleDef.h"
#include "FWCore/Framework/interface/MakerMacros.h"
#include "JetMETCorrections/Utilities/interface/TriggerFilter.h"
DEFINE_FWK_MODULE(TriggerFilter);
|
64043cf262c0b9d914385f80b7cdb1e21c21994b | e0de5239c18c983dd46ce5803b1871db9f8d34f8 | /src-qt/printerinterface.cpp | b6bfa081a9d8d54af931f6097691dd49a219a8e4 | [] | no_license | spachev/davpro | a2a0ce53fcd74f6b5bbdcfe748acf9d083f57f0b | 3b0c60150b80347bd52883f51a651c9f3532eba0 | refs/heads/master | 2020-06-13T18:45:02.675334 | 2016-12-03T21:25:24 | 2016-12-03T21:25:24 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,870 | cpp | printerinterface.cpp |
#include "printerinterface.h"
#include <QJsonDocument>
#define GETSTATUSCMD "/home/steve/Development/davpro/davpro -j 192.168.1.7 9100"
PrinterInterface::PrinterInterface()
{
connect( &proc, SIGNAL(finished(int, QProcess::ExitStatus)),
this, SLOT(statusupdate(int, QProcess::ExitStatus)) ) ;
st... |
60acde58a8a8fc1ac4a6c7b52ce05fdfe404f6ee | 14b5c1086f278ce63f1ff67cc61058917924b153 | /sopnet/sopnet/inference/Problems.h | 8818191dbba47e376eded6dafc4062d1a6809740 | [
"MIT"
] | permissive | funkey/sopnet | 7a1f6a16101c2028b55d28d9bbb16265134b942e | 70df598211d00e7f5f5b39dabc5c67f89a5da43d | refs/heads/master | 2020-05-16T23:12:13.959045 | 2015-06-25T20:21:45 | 2015-06-25T20:21:45 | 4,703,605 | 0 | 1 | null | 2014-08-04T11:51:08 | 2012-06-18T17:01:24 | C++ | UTF-8 | C++ | false | false | 1,054 | h | Problems.h | #ifndef SOPNET_INFERENCE_PROBLEMS_H__
#define SOPNET_INFERENCE_PROBLEMS_H__
#include <pipeline/all.h>
#include "Problem.h"
/**
* A collection of problems.
*/
class Problems : public pipeline::Data {
public:
typedef std::vector<boost::shared_ptr<Problem> > problems_type;
typedef problems_type::iterator ... |
fae16d20343b820f36b5058da1aa5826923ae505 | 10571cc8e30797b2bdad94817580e420b4a89742 | /fon9/framework/SeedImporter.cpp | 5f392421f56f291b7a5c58c41e3bd7348cdbfbc3 | [
"Apache-2.0"
] | permissive | fonwin/libfon9 | 3651cab44470ca353dd779280f0a1e550001af9b | ff682e272798a9a65d4b18852eb6522a715f48f2 | refs/heads/master | 2023-08-28T06:54:05.250118 | 2023-07-25T02:36:46 | 2023-07-25T02:36:46 | 115,598,127 | 30 | 12 | Apache-2.0 | 2023-02-24T07:08:05 | 2017-12-28T07:36:02 | C++ | UTF-8 | C++ | false | false | 10,522 | cpp | SeedImporter.cpp | /// \file fon9/framework/SeedImporter.cpp
///
/// - 僅適合匯入少量初始化資料, 不適合處理整批大量資料.
/// 如果需要匯入整批大量資料(例: 客戶庫存, 全市場商品...), 建議使用專用匯入模組.
///
/// - SeedImporter factory plugin:
/// - EntryName: SeedImporter
/// - 參數設定 Args: "Name=SeedImporter|AuthMgr=|AddTo=..."
/// - Name= 若沒提供 Name 則預設為 "SeedImporter"
/// - A... |
64fdcd488ec0afd6c1587e7d40e67a3605e55a0e | 039a64f162815f44343f88f476050052681399a1 | /empty_simply_wx/src/MyApp.cpp | e8cd8ce2862553520b1d32d2732b823d541bb6ff | [] | no_license | Jamesder/wxWidgets | 142f8f1503d8f85ba0eb2b903eb0a93e3ef6bc44 | 20b4dd3839461623eb22e23cc0de1419069de9ef | refs/heads/master | 2020-03-30T15:51:30.645514 | 2018-10-03T08:35:49 | 2018-10-03T08:35:49 | 151,382,770 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 184 | cpp | MyApp.cpp | #include "MyApp.h"
bool MyApp::OnInit()
{
MyFrame *frame = new MyFrame("Hello World", wxPoint(50,50), wxSize(450,340) );
frame->Show( true );
return true;
}
|
80e5806f550fadd851b11693baec926f48695833 | 67298ca8528b753930a3dc043972dceab5e45d6a | /Asteroids/include/main.h | 82ca172112d0af42212e9028f8812f751475982d | [] | no_license | WhyKay92/cs260assignment3 | 3cf28dd92b9956b2cd4f850652651cb11f25c753 | 77ad90cd2dc0b44f3ba0a396dc8399021de4faa5 | refs/heads/master | 2021-05-30T14:59:21.297733 | 2010-12-13T09:18:17 | 2010-12-13T09:18:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,997 | h | main.h | // ---------------------------------------------------------------------------
// Project Name : Asteroid
// File Name : main.h
// Author : Sun Tjen Fam
// Creation Date : 2008/02/05
// Purpose : main header file for the asteroid game
// History :
// - 2007/02/05 : - initial implementation
// ---------... |
1a653fecb4e719f86d2e16d8df9159e6981b4df2 | ad6ec880535edbe1f682e6b7347b641688607234 | /Player.h | 49c821d2a2dd8aee7f85bad81195e3e7ae400467 | [] | no_license | amichaiman/jasmine-cpp-2 | de53d5a4485fd76697cbd1e87fef9a9ec18af600 | be00938516507af8929be0944706bf1d4b267291 | refs/heads/master | 2020-04-06T19:43:22.409191 | 2018-11-16T01:25:50 | 2018-11-16T01:25:50 | 157,747,109 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 381 | h | Player.h | //
// Created by amichai on 15/11/18.
//
#ifndef YASMIN_CPP_2_PLAYER_H
#define YASMIN_CPP_2_PLAYER_H
#include <string>
using namespace std;
class Board;
using namespace std;
class Player {
public:
string getInput(Board *board);
bool cinGoodStatus();
void setColor(char color);
char getColor() const;
p... |
fe856067f7cc294cff156a3e6262485558dc0926 | f75a4415bb34ba1c1b9aefbe44f4949a1efd6aea | /lab1/src/Sort.hpp | 871b82b1ada6ef642d7e0790a0874b9ab9f0e470 | [] | no_license | YuMolly/CS3353-Baohua | 5fb39dc7c5698f2f4e7b94251f359485558f9ff9 | 7ae1033ebd754f9a12c542436b88ee60d661d62c | refs/heads/master | 2022-03-12T06:31:09.821536 | 2019-12-05T15:29:34 | 2019-12-05T15:29:34 | 204,796,737 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 665 | hpp | Sort.hpp | //
// Sort.hpp
// data_generator
//
// Created by MollyYu on 9/11/19.
// Copyright © 2019 MollyYu. All rights reserved.
//
#ifndef Sort_hpp
#define Sort_hpp
#include <stdio.h>
#include <vector>
#include "Algorithm.hpp"
class Sort : public Algorithm{
public:
Sort();
~Sort();
std::vector<int> load(std:... |
1e77a5c369224562f9de7e07f3f23d60be841cb1 | d2249116413e870d8bf6cd133ae135bc52021208 | /Advanced MFC Programming/Chap10/10.3/Gdi/GDIDoc.cpp | 271fafd25c6f761f8268285a4fc51132f3c35892 | [] | no_license | Unknow-man/mfc-4 | ecbdd79cc1836767ab4b4ca72734bc4fe9f5a0b5 | b58abf9eb4c6d90ef01b9f1203b174471293dfba | refs/heads/master | 2023-02-17T18:22:09.276673 | 2021-01-20T07:46:14 | 2021-01-20T07:46:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,428 | cpp | GDIDoc.cpp | #include "stdafx.h"
#include "GDI.h"
#include "GDIDoc.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
IMPLEMENT_DYNCREATE(CGDIDoc, CDocument)
BEGIN_MESSAGE_MAP(CGDIDoc, CDocument)
//{{AFX_MSG_MAP(CGDIDoc)
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
CGDIDoc... |
9ecf61b0debac9c5909b98438b73dd2570f87b4a | 5161f140491b8ccddb282ef58e716d56d982e516 | /time.cpp | 911efd7630178c2d66e1690706e91a45445b2cdc | [] | no_license | lizhonglz/excerciseForProgram | 9d54cb78e8b2fb473ce51aea6c9715fdd4bc054a | ec1037afeea041ec0fbf5017099789cfdbda25e0 | refs/heads/master | 2020-03-11T03:26:06.466964 | 2018-04-16T13:57:16 | 2018-04-16T13:57:16 | 129,747,149 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 958 | cpp | time.cpp | #include "time.h"
#include<iostream>
#include<iomanip>
using namespace std;
Time::Time(int h, int m, int s)
{
setTime(h,m,s);
}
Time::~Time()
{
}
Time&Time::setTime(int h, int m, int s)
{
setHour(h);
setMinute(m);
setSecond(s);
return *this;
}
Time&Time::setHour(int h)
{
hour=(h>=0&&h<=24)?h... |
f03524531bcd6bc7799157140bae8dbb4d69f321 | 748514a0e8d110a7ade9365c40497ae1ae2cad56 | /Source/UnrealBattleArena/Public/Character/ArenaAbilitySystem.h | d639361068bf01f4be46a46bf36c35429d415e20 | [
"MIT"
] | permissive | jidevil/UnrealBattleArena | b55886b3c052188b8e8cf321e3d64153e879f064 | 03fd5bab3c0e987b3e0c599aaf091c0a34263448 | refs/heads/main | 2023-07-16T17:17:24.748613 | 2021-09-10T08:57:45 | 2021-09-10T08:57:45 | 399,450,084 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 784 | h | ArenaAbilitySystem.h | // Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "Components/ActorComponent.h"
#include "ArenaAbilitySystem.generated.h"
UCLASS(ClassGroup=(Custom), meta=(BlueprintSpawnableComponent))
class UNREALBATTLEARENA_API UArenaAbilitySystem : publi... |
d0f7556cfa59aac7e017efdaa8f47f1d195ee99f | 28f65056ec611c69bfce6d914448f286da58b000 | /rtdb/RtdbDll/TcpListener.h | 5d088850950af5c43719816b7d67021e49179d1f | [] | no_license | icprog/SmartLight | 856562f20bdc341fe26903d66ad55e3047b287d7 | 8799b5be823c046b101d8b41d79e8e7d75fb3bd9 | refs/heads/master | 2020-04-04T16:44:35.576577 | 2018-07-01T23:52:26 | 2018-07-02T00:00:56 | 156,091,413 | 0 | 4 | null | 2018-11-04T14:37:13 | 2018-11-04T14:37:13 | null | GB18030 | C++ | false | false | 1,238 | h | TcpListener.h | /////////////////////////////////////////////////////////////////////////////
// TcpListener.h: 定义一个负责在服务器上监听客户端连接请求类CTcpWorker
/////////////////////////////////////////////////////////////////////////////
#ifndef __AFX_TCP_LISTENER_H_2004_03_02__
#define __AFX_TCP_LISTENER_H_2004_03_02__
class CTcpReceiver;
#include... |
0601531a4642d53290c4c249db7f0a7449270322 | 4d3c61db53d1b043981698e8468582c6ddb14955 | /TicTac2/Amateur.h | 13ac2d253f2d7fe6af299b78c2158a915413eac9 | [] | no_license | jnisitha/TicTacToe | aa74ec66121689d44d7a9c54f0489942e31817b5 | 274954c3affea5f18eb2e034fe37809cd1bf6fb0 | refs/heads/master | 2021-01-10T09:13:15.026156 | 2016-02-29T23:44:49 | 2016-02-29T23:44:49 | 52,830,206 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 149 | h | Amateur.h | #pragma once
#include"Board.h"
#include <stdlib.h>
class Amateur {
public:
void move(Board& board, int amateurPlayer);
Amateur();
~Amateur();
};
|
797fe90063ec3977298bc9f4f6b2c6181066f8bf | a6ec75ad548c88df8b3d478919eb85653da294b3 | /Source/DungeonDeathmatch/Private/AI/Decorators/BTDecorator_CheckDistance.cpp | c41504e400dc8e7bc49e1738e93e8320ffbd9a27 | [
"MIT"
] | permissive | nik3122/Dungeon-Deathmatch | 112f2a4c636ff4d62db86772565173dca40cc589 | 0b86c613ea9bdfd974ca78db85bd7d8b4d9af37c | refs/heads/master | 2022-01-05T12:39:31.567613 | 2019-04-14T02:17:07 | 2019-04-14T02:17:07 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,901 | cpp | BTDecorator_CheckDistance.cpp | // Fill out your copyright notice in the Description page of Project Settings.
#include "BTDecorator_CheckDistance.h"
#include "DungeonCharacter.h"
#include "AIGlobals.h"
#include <BehaviorTree/BlackboardComponent.h>
#include <BehaviorTree/Blackboard/BlackboardKeyAllTypes.h>
UBTDecorator_CheckDistance::UBTDecorator_... |
569e2431f905ca701d5940dc755bc83539bc92dc | df21a8c7af8e46f7bc5c815ffe124cd30d70c3f5 | /3年前期三校合同/1.FLAG CAPTOR ROAD TO WAR/ゲーム本体/03_プロジェクト一式/tutorial2D.h | e933679dbc828f677003b903ceb92fde31cb32db | [] | no_license | Doge-Coin-Tsukae/GameProgram | 4f6b5476cb5cf773954b845a3ec18d5fa8d5b060 | fed3b8b4a58fbee94237c9f75d14721d266b6daf | refs/heads/main | 2023-02-28T22:12:41.472881 | 2021-02-12T02:42:53 | 2021-02-12T02:42:53 | 320,138,164 | 0 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 278 | h | tutorial2D.h | #pragma once
#include "gameobject.h"
class CTUTORIAL2D :public CGameObject
{
private:
CPolygon *Gamename;
public:
void Init();
void Uninit();
void Update();
void Draw();
void ChangeTexture(char* SetTextureName); //チュートリアルのテクスチャチェンジ
}; |
589886ab6a00e5dd60d3f590eb7ada442b194c03 | c68c88d8bcaf91806a5326e12c79fddd8ad26a8b | /server_gui/Graph.cpp | 16a03d2bd5736f7928e2168abcf8756d9b842f46 | [] | no_license | dilin993/MultiCameraPeopleTrackingSystem1-0-UDP | d5138c9e21a570b7f5f70a3c41f73920fff974ac | c481eedf218b982070ccf75719c1e0b574559c3c | refs/heads/master | 2021-09-04T19:16:22.767868 | 2018-01-21T16:15:58 | 2018-01-21T16:15:58 | 111,350,368 | 1 | 1 | null | 2018-01-15T12:55:49 | 2017-11-20T02:06:02 | C++ | UTF-8 | C++ | false | false | 4,058 | cpp | Graph.cpp | #include "Graph.h"
TrackedPoint::TrackedPoint(uint8_t cameraID,
cv::MatND histogram,
cv::Point2f location,
cv::Scalar color):
cameraID(cameraID),
histogram(histogram),
location(location),
color(color)
{
}
void TrackedPoi... |
9aebb662c1971c368234cb82ab4a716fcea9dab0 | 6fbc2163d58c5a5f7199f1b295fe5116c25d8c84 | /analyser/outstreams.cpp | c8530e30de3b1781975df44b10b6ca8105a12796 | [
"WTFPL"
] | permissive | sensorphalanx/sc2-map-analyzer | b37fbe315a6115de25e61656da71cc97ed6a2908 | b5adb13fb72a0f0a8c278241700791e7907ad4ad | refs/heads/master | 2021-05-30T14:59:12.175120 | 2016-02-10T06:49:45 | 2016-02-10T06:49:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,085 | cpp | outstreams.cpp | #include <stdlib.h>
#include <stdio.h>
#include <stdarg.h>
#include "utility.hpp"
#include "outstreams.hpp"
#include "Common.h"
static bool warningOrErrorReported = false;
static bool printMessages = true;
static bool printWarnings = true;
static bool printErrors = true;
static int numWarnings =... |
9e592d3b69e2f5b3cff39a4ae02cfe4a63b5fb18 | fedfd83c0762e084235bf5562d46f0959b318b6f | /L4 信息学奥赛一本通/0. 程序部分/ch05/第03节 字符类型和字符数组/1142.cpp | 4d6833eda219fa4bb19d348b5f1bd028242d3cde | [] | no_license | mac8088/noip | 7843b68b6eeee6b45ccfb777c3e389e56b188549 | 61ee051d3aff55b3767d0f2f7d5cc1e1c8d3cf20 | refs/heads/master | 2021-08-17T21:25:37.951477 | 2020-08-14T02:03:50 | 2020-08-14T02:03:50 | 214,208,724 | 6 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 185 | cpp | 1142.cpp | #include <iostream>
#include <cstring>
using namespace std;
int f = 1;
string s;
int main()
{
while(cin >> s)
{
if(f) f = 0;
else cout << ",";
cout << s.size();
}
return 0;
}
|
11ec0680d0da6cacdd309194c301ec9ffed78130 | 6d7f2381b8f1c5c0e0d96156ae36cac12be3017b | /codeforces/350div2/D1/main.cpp | 0e748b03089134f5aa06d6003fdd1e9c31123648 | [
"Unlicense"
] | permissive | Johniel/contests | 708ccf944d6aeb0ef0404eec47e8ff7819ea00f0 | 15d465b08cac56e394509bcf8f24764e3dc6ca7d | refs/heads/master | 2023-09-04T07:32:49.822786 | 2023-09-02T13:44:28 | 2023-09-02T13:44:50 | 48,701,889 | 0 | 0 | null | 2019-10-25T09:21:20 | 2015-12-28T16:38:38 | C++ | UTF-8 | C++ | false | false | 975 | cpp | main.cpp | #include <bits/stdc++.h>
#define each(i, c) for (auto& i : c)
#define unless(cond) if (!(cond))
using namespace std;
typedef long long int lli;
typedef unsigned long long ull;
typedef complex<double> point;
template<typename P, typename Q>
ostream& operator << (ostream& os, pair<P, Q> p)
{
os << "(" << p.first <<... |
52f4519f04d7ab58eb23dca33a58cecc2480de2e | ae0434c20e5604a2beeb8183e577e8f1d91020f8 | /C++/CopyListWithRandomPointer.cc | 948bd4d956aa3e8ee5731490aaea94adba738f19 | [] | no_license | savadev/leetcode-4 | d0324078b9cdded4801888427ce1a13a83ef9e07 | aec4b06b3bccc640ecfe5c349ccf9e71d5a33474 | refs/heads/master | 2020-12-31T20:04:22.904153 | 2016-05-07T20:46:43 | 2016-05-07T20:46:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,163 | cc | CopyListWithRandomPointer.cc | // A linked list is given such that each node contains an additional random pointer which could point to any node in the list or null.
// Return a deep copy of the list.
class Solution {
void buildNode(RandomListNode* oldNode, RandomListNode* &newNode, unordered_map<RandomListNode*, RandomListNode*>& nodesMap) {... |
7d2668351b62f6d198f65cd916c208c5fd532b0f | 189f52bf5454e724d5acc97a2fa000ea54d0e102 | /interFoam/laminar/altered/sample/8/p_rgh | 44a3e848e22eb5cce988c778b4ce047a50fd62d2 | [] | no_license | pyotr777/openfoam_samples | 5399721dd2ef57545ffce68215d09c49ebfe749d | 79c70ac5795decff086dd16637d2d063fde6ed0d | refs/heads/master | 2021-01-12T16:52:18.126648 | 2016-11-05T08:30:29 | 2016-11-05T08:30:29 | 71,456,654 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 37,562 | p_rgh | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.4.0 |
... | |
8e56b72b8cd39aa3fac0c76ab83b181851f8b068 | 89154640716cc405b9390f2fca09508a45bbe9df | /05-产品原料/06-视频服务器/1.4G视频服务器SDK/2.厂家英码4G服务器资料/SDK程序包/SDK程序包/4000sdk/English/DemoCode/ConfigDemo/NetServerVVEye.h | 41dc28e8443b83dcd86de2aa35ad0f3f955aec68 | [] | no_license | zzfd97/07-CRAB310 | 1f046ce0a54f30630dfcb1e6f97012c07874fe33 | 10e0dd9fbcff0c241d6b59b594ca086ab6822e31 | refs/heads/master | 2021-12-14T09:21:07.628146 | 2017-04-22T03:49:18 | 2017-04-22T03:49:18 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,707 | h | NetServerVVEye.h | #if !defined(AFX_NETSERVERVVEYE_H__02DF8B21_B2AC_4D8E_BC7F_FA92F9B5444C__INCLUDED_)
#define AFX_NETSERVERVVEYE_H__02DF8B21_B2AC_4D8E_BC7F_FA92F9B5444C__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// NetServerVVEye.h : header file
//
////////////////////////////////////////////////////////////... |
c96088d3e21b5c8c0732376a9c2307ee26ca086b | 54a977bf8988c33d59b23a76b7ba26a38907834e | /SONAR_buzz.ino | 751b3b6c8cd10b47a7585e4de2ead056589be7bc | [] | no_license | Vishnulalm/Arduino-Based-Projects | 3f85a8e1d754942dd3615728fbc106ede61ba1e0 | 0357f1f91eab7a0ce7d1000cdfdf0e8fb7509f2f | refs/heads/master | 2022-11-26T15:43:23.951318 | 2020-08-01T08:50:00 | 2020-08-01T08:50:00 | 284,119,314 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 536 | ino | SONAR_buzz.ino | int trigPin=10;
int echoPin=9;
int distance;
long duration;
void setup() {
Serial.begin(115200);
pinMode(trigPin,OUTPUT);
pinMode(echoPin,INPUT);
pinMode(13,OUTPUT);
}
void loop() {
digitalWrite(trigPin,LOW);
delayMicroseconds(2);
digitalWrite(trigPin,HIGH);
delayMicroseconds(10);
d... |
1f2beec19fe99ca5bca484fe6edfb250b9977210 | 9fa292d97ceb374068d355bd41097d0407d68bd3 | /src/rspf/imaging/rspfHsiRemapper.cpp | cfd8acbac5cb4e0b970e23bc2e0e1a75a0325dbf | [] | no_license | mfkiwl/rspf_v2.0 | 4d90153b92cc416663c798e05f87e348ad8792ef | f22d2707b775a4776fc8359a255f39c26ecc96a3 | refs/heads/master | 2021-05-27T04:36:34.132569 | 2013-07-16T04:04:12 | 2013-07-16T04:04:12 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 91,181 | cpp | rspfHsiRemapper.cpp | //*******************************************************************
// Copyright (C) 2002 ImageLinks Inc.
//
// License: LGPL
//
// See LICENSE.txt file in the top level directory for more details.
//
// Author: David Burken
//
// Description:
//
// Remapper to adjust hue, saturation and intensity.
//
//*********... |
c7c3c6b3ca9c32cf4b3fca3db8e046456b39b205 | 879fb3581f03b5c17dd90c68b45751712fbcd671 | /lib/semantics/Categorical_event.cpp | 394536231e07f02fd3d6a57810de163f82dd078b | [] | no_license | ivilab/kjb | 9f970e1ce16188f72f0edb34394e474ca83a9f2b | 238be8bc3c9018d4365741e56310067a52b715f9 | refs/heads/master | 2020-06-14T07:33:17.166805 | 2019-07-30T16:47:29 | 2019-07-30T16:47:29 | 194,946,614 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 320 | cpp | Categorical_event.cpp | /*!
* @file Categorical_event.cpp
*
* @author Colin Dawson
* $Id: Categorical_event.cpp 17097 2014-07-05 00:13:22Z cdawson $
*/
#include "semantics/Categorical_event.h"
namespace semantics
{
std::ostream& operator<<(std::ostream& os, const Categorical_event_base& e)
{
e.print_to(os);
return os;
}
};
|
bd77137ed4d347fb6cb099baac206d4caf331073 | 2b00f77cbb9f93a8ee77a0375a3f160e55c5b8cb | /05-SceneManager/Animation.h | 6642bc235c5e480cbcbfa01bb1e58afda6667619 | [] | no_license | dungdna2000/gamedev-intro-tutorials | 562a9279e9cb9b4eeef7d53f08427a45ed061bf2 | a51d470a30619a32a597d8a6e54112ccfbf12802 | refs/heads/master | 2023-06-07T21:29:56.704076 | 2023-05-25T10:10:53 | 2023-05-25T10:10:53 | 148,815,341 | 54 | 66 | null | 2023-05-25T14:20:10 | 2018-09-14T16:32:20 | C++ | UTF-8 | C++ | false | false | 478 | h | Animation.h | #pragma once
#include <Windows.h>
#include <unordered_map>
#include "Sprites.h"
#include "AnimationFrame.h"
using namespace std;
class CAnimation
{
ULONGLONG lastFrameTime;
int defaultTime;
int currentFrame;
vector<LPANIMATION_FRAME> frames;
public:
CAnimation(int defaultTime = 100) { this->defaultTime = defau... |
cb2d2b28aa878acab908fd936c54ca8d44e55ed6 | aee5e113d4739740fa5dbe2acf62218f824ff13c | /latest/lib/bitmap.cc | e227832f4c4eefbb50b97a6bad7b82083216db50 | [
"BSD-3-Clause"
] | permissive | hlitz/stamp_libitm_excitevm | 0ea8d2655678f4ca6299d38c95b9ab04ee4a2b05 | cda1a76c01e18ae7e51650d6921630fdee499de9 | refs/heads/master | 2020-05-17T01:23:04.717961 | 2015-06-29T20:18:35 | 2015-06-29T20:18:35 | 32,036,335 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,515 | cc | bitmap.cc | /* =============================================================================
*
* bitmap.c
*
* =============================================================================
*
* Copyright (C) Stanford University, 2006. All Rights Reserved.
* Author: Chi Cao Minh
*
* =========================================... |
a598dcfe41d066dabe26265d06d0f7f814afca94 | 88ec20832536c735a5fea270691973b4d1049327 | /salestax.cpp | 43adb7b38b78004553987298d5692cdccc716ca0 | [] | no_license | lwelshchapman/int2020-assign2 | e3d501b7cccfc49a7362ddf3fbe5329a75453845 | 44ebc95c28051faf9c2f91fe561dce9923656556 | refs/heads/master | 2020-12-19T13:34:38.749602 | 2020-01-24T21:13:36 | 2020-01-24T21:13:36 | 235,747,823 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,035 | cpp | salestax.cpp | /*
* Logan Welsh
* lwelsh@chapman.edu
* CPSC-298-07
* int2020-assign2
* salestax.cpp
*/
/*
* Problem 4 (salestax.cpp):
* Implement a function called addTax.
* The function addTax has two formal parameters:
* taxRate, which is the amount of sales tax expressed as a percent;
* and cost, which is the cost of a... |
3e5dcbcc5adfdfe543608044a03cd2a90c67df8d | 94514e6b023d1f042108c4d474c2f0198408ca88 | /华为上机/选取礼仪.cpp | 81e9be86bc4ba45d81be0769f39f9e0bbfad7496 | [] | no_license | Saunak626/HUAWEI-CODE | 3495542d8d938ac4a429c7ff6db3e140590c024d | b6d4ecd4cf7d9f2b1b90289075cd42b5c96ad78f | refs/heads/master | 2021-05-29T05:28:04.524924 | 2015-06-01T06:43:17 | 2015-06-01T06:43:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 426 | cpp | 选取礼仪.cpp | #include <stdio.h>
#include <stdlib.h>
int compare(const void *p,const void *q){
return *(int *)p-*(int *)q;
}
int main()
{
int n,i=0,a[100];
scanf("%d",&n);
while(getchar()!='\n'){
a[i++]=n;
scanf("%d",&n);
}
a[i++]=n;
qsort(a,i,sizeof(int),compare);
int ans=a[1]-a[0],k;
for(int j=1;j<i-1;j++)
{
if... |
3942302ac53e6dfaf62d99d046f4dd8f3b5d8254 | a3c25f35626392cd1dd490e5ace63b2c81e70bdd | /Model/lab5_inform/inform-center/computer.cpp | 9c20678d4ece65ef45396af7b06ebcee544b6cdb | [] | no_license | reijo1337/7sem | 64aa6a48286e232a3e2ce9a216855e7fecf10b4b | 410067bb0a1348c4e4ddecd31771784d4f36ac1d | refs/heads/master | 2021-09-01T19:08:16.002316 | 2017-12-28T10:37:13 | 2017-12-28T10:37:13 | 104,502,702 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 533 | cpp | computer.cpp | #include "computer.h"
#include "base.h"
void Computer::recvRequest()
{
m_queue++;
}
Computer::Computer(double time)
{
m_serveTime = time;
m_currentTime = 0;
m_queue = 0;
}
void Computer::proc()
{
if (m_currentTime > 0) {
m_currentTime -= 0.01;
}
if (m_currentTime <= 0 && m_queue >... |
419d702895ac15970069899373bc582d82067461 | d9ede3cde24323d19fcc3eb729b75b4da3b286c4 | /DoubleCheck/SoundOption.h | 1fa0d46fdd7978e410763a1330c1db8adce1cd1d | [] | no_license | minseoksung/BODYSEX | 1e8ca86f81e5629a300c91ed0a8a1e44bc3bf0bb | 2bf6d40bbf01c0fc148478a44fdfb98da2ababa9 | refs/heads/master | 2021-03-01T11:46:29.964371 | 2020-03-07T18:54:42 | 2020-03-07T18:54:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,337 | h | SoundOption.h | #pragma once
/*
* Author :Chulseung Lee
* File :SoundOption.h
* Term :2020 Winter
* Class :GAM250
* Project :GAM250 Project
* Date :2020/02/11
* Description :Header file of SoundOption.cpp
* copyright All content ?2019 DigiPen (USA) Corporation, all rights reserved
*/
#pragma once
#include "State.h... |
744a03f5064c2aae77622c6952bfc80d9b6ae183 | cb5ee802d85e40428ed556fafb31b951ff517557 | /ED/practica1/Punto2D.hpp | 809a67f753ef7e4ed1037650092e09c55270b1ab | [] | no_license | i22safed/AsignaturasIngenier | 04bbe62d23f166e65d039f7cd400b30663d9c0c4 | 331638f1d766e7ac8dea45643a1a7e50a62c14f2 | refs/heads/master | 2021-01-18T02:34:20.010445 | 2015-04-20T15:41:18 | 2015-04-20T15:41:18 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,056 | hpp | Punto2D.hpp | /**
*@brief Clase Punto que usaremos para trabajar con rectas, y listar los puntos de contorno y aproximacion, para calcular el error
@param _coordenadaX como primera coordenada
@param _coordenadaY como segunda coordenada
*/
#ifndef PUNTOS2D_HPP
#define PUNTOS2D_HPP
#include <iostream>
#include <cassert>
#include <cm... |
314eed99aea4f748d222ba341e72207ad2d345bd | ec6d82eec01de000a919f9a3b7741cd953d3aef7 | /TKOM-proj/statement/Procedure.h | e6cf89d49317a94cd1ae881b1ff363acc3da9af8 | [] | no_license | Kasia4/SmartHouseLang | 4bd80c2f41b868ac4266eaa1243baf9feac2bbef | c9e0d01605fb65019353c7468330f49ea791d97f | refs/heads/master | 2020-03-12T18:47:31.381142 | 2018-05-19T16:22:12 | 2018-05-19T16:22:12 | 130,769,450 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 444 | h | Procedure.h | #pragma once
#include <memory>
#include "Statement.h"
using StatementPtr = std::unique_ptr<Statement>;
class Procedure
{
public:
Procedure() = default;
//TODO: add name of procedure
Procedure(std::string proc_name, StatementPtr block_statement) : proc_name(proc_name), block_statement(std::move(block_statement)) {};
... |
14de8f6219e12d3d0272e7bbec69fe83a9487603 | 62199d3d54f3dd133cf1b7f759d8ca0fa01d550a | /stix/Source/audio/Voice.h | 3f4034ee500503d2b0d0d3c38e35e1abd87ae54c | [] | no_license | mhavryliv/blue_sky | 3116ab64f962f671dd414636791e5e9c242d8a62 | 8f2b23eb733fc99f2ca5240b36cff45666afdad7 | refs/heads/master | 2023-01-08T23:54:51.284401 | 2020-10-14T01:17:05 | 2020-10-14T01:17:05 | 235,459,929 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,590 | h | Voice.h | /*
==============================================================================
Voice.h
Created: 23 Jan 2020 12:49:29pm
Author: Mark Havryliv
==============================================================================
*/
#pragma once
#include <JuceHeader.h>
#include "Utils.h"
using namespace j... |
cb3965ab19b798c6d8a3fc5f7a5e4ad1ab97d766 | 8d1a5b13e34925bf847b78b54c9163c36ecc9988 | /18120258/ConsoleApplication1/Source.cpp | 72294a2e1dea7e3a89e8b9a05ad74b2736783c20 | [] | no_license | tungrg/Binary-Search-Tree | 9d07ef63265008ff5c6c2447152e03135a034147 | 110b1ae604954ce4ff2f829fb8984a259b19dada | refs/heads/master | 2020-09-12T16:35:10.039015 | 2019-11-18T15:26:48 | 2019-11-18T15:26:48 | 222,480,939 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,070 | cpp | Source.cpp | #include "Source.h"
void inMenu()
{
cout << "1. Nhap du lieu vao cay nhi phan" << endl;
cout << "2. In cay nhi phan" << endl;
cout << "3. Xoa 1 node" << endl;
cout << "4.Tim 1 node " << endl;
cout << "5. Tim tat ca ca node" << endl;
cout << "6.Thoat" << endl;
cout << "Nhap lenh can thuc hien: ";
}
int... |
053a580aee008ee4383669bc772700432e0f6f55 | 23553b6bcf0a278776f0a651b24a3c6a22a702f9 | /ALibrary/ABase/AFilename.cpp | 459461cbc1f52bd627cda32f1ba7cffcf182d26d | [] | no_license | achacha/AOS | 24ace04a4228de4d0295379d84cb936c2a33511b | bea07af94f23982d4fceb10a9cf70a7e5467355f | refs/heads/master | 2020-05-17T12:20:35.667655 | 2016-02-10T13:33:43 | 2016-02-10T13:33:43 | 3,578,772 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,520 | cpp | AFilename.cpp | /*
Written by Alex Chachanashvili
$Id$
*/
#include "pchABase.hpp"
#include "AFilename.hpp"
#include "AXmlElement.hpp"
const AString AFilename::RESERVED("|\\?*<\":>/");
const AString AFilename::FILE_PREFIX("file:///");
void AFilename::debugDump(std::ostream& os, int indent) const
{
ADebugDumpable::ind... |
29c742936111260acabcde6121064d0e6944484f | 28ea54a68b4bd8f4225a33484db0dddabbe91a2c | /source/Classes/Client/Items/.svn/text-base/GemStonesFromLua.h.svn-base | 5d277be3b95dc7f017aa2288ac1c2ba519ecfb9c | [] | no_license | cash2one/hellopetclient | fad7374899a1c0bb04581caa517586ae8fb124ab | f87e47cd946858f8fe5bae6ea2bbc13b43d912d4 | refs/heads/master | 2020-12-24T11:52:38.157993 | 2015-12-26T17:07:23 | 2015-12-26T17:07:23 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 920 | GemStonesFromLua.h.svn-base | #ifndef GEM_STONES_FROM_LUA_H
#define GEM_STONES_FROM_LUA_H
#include "cocos2d.h"
class GemStonesFromLua
{
public:
GemStonesFromLua();
virtual ~GemStonesFromLua();
static GemStonesFromLua* getInstance(void);
static void Destroy();
void init();
//宝石镶嵌请求
void EquipInlayGemReq(unsigned int equip,unsigned int hole... | |
bbe1c9aabe2268b7992e79674eca408cb71d74f9 | 3f3095dbf94522e37fe897381d9c76ceb67c8e4f | /Current/BP_LargeLongRootLoop_3.hpp | 7f5311d0022db3a82fbbff3ba01292889df17d11 | [] | no_license | DRG-Modding/Header-Dumps | 763c7195b9fb24a108d7d933193838d736f9f494 | 84932dc1491811e9872b1de4f92759616f9fa565 | refs/heads/main | 2023-06-25T11:11:10.298500 | 2023-06-20T13:52:18 | 2023-06-20T13:52:18 | 399,652,576 | 8 | 7 | null | null | null | null | UTF-8 | C++ | false | false | 166 | hpp | BP_LargeLongRootLoop_3.hpp | #ifndef UE4SS_SDK_BP_LargeLongRootLoop_3_HPP
#define UE4SS_SDK_BP_LargeLongRootLoop_3_HPP
class ABP_LargeLongRootLoop_3_C : public ABP_HugeRoots_Base_C
{
};
#endif
|
ad7d851558599583238876b95ba44eefe07a601f | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/collectd/gumtree/collectd_repos_function_1415_collectd-4.8.0.cpp | 22d22da6e62f5340814ed1a471d203984f6404d9 | [] | 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 | 755 | cpp | collectd_repos_function_1415_collectd-4.8.0.cpp | static int ts_config_add_string (char **dest, /* {{{ */
const oconfig_item_t *ci, int may_be_empty)
{
char *temp;
if (dest == NULL)
return (-EINVAL);
if ((ci->values_num != 1)
|| (ci->values[0].type != OCONFIG_TYPE_STRING))
{
ERROR ("Target `set': The `%s' option requires exactly one string ... |
04eadd8f5a718fd46dd146020f7a29e2f536bbc9 | c593e95683bdd81be3f1e006755cbea2368a2719 | /sources/contained.cpp | c0ae112da2318149680d55d420b978b88acaf431 | [
"BSD-2-Clause"
] | permissive | gcross/HDF | 163ea7f299f4de3e691186932669505cd67b2a4a | 074ca9e35799325b0c0716c3e5d488b9990d24fb | refs/heads/master | 2016-09-03T07:08:11.578938 | 2013-12-20T09:58:03 | 2013-12-20T09:59:49 | 1,789,412 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 715 | cpp | contained.cpp | // Includes {{{
#include "contained.hpp"
#include <boost/make_shared.hpp>
// Includes }}}
// Usings {{{
using boost::make_shared;
// Usings }}}
namespace HDF {
// class Contained {{{
// Constructors {{{
Contained::Contained() {}
Contained::Contained(File const& file, hid_t id, Identity::Closer const& closer)
... |
4b37a686c994f067df298b247259a581f7cd1536 | 0bc37ee7f7b94bb6ffc06b8afeced5bdda60a065 | /include/test_tracing_data.hpp | 82e918d78572071b179cd40ad4e0965beae71a1a | [
"BSL-1.0"
] | permissive | CppPhil/caf_shiviz_trial | 97baac89bdb1eb97ee78d88d07b79f73292d1e1b | 90ebd1329ec664896ca7a6eb216ff04439fa0f90 | refs/heads/master | 2022-04-23T20:05:54.366241 | 2020-04-23T14:14:26 | 2020-04-23T14:14:26 | 242,571,660 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 387 | hpp | test_tracing_data.hpp | #pragma once
#include "caf/all.hpp"
namespace cst {
class test_tracing_data : public caf::tracing_data {
public:
std::string value;
test_tracing_data(std::string value); // NOLINT(google-explicit-constructor)
caf::error serialize(caf::serializer& sink) const override;
caf::error_code<caf::sec>
serialize(c... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.