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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
fa9aee36f5cce6a249d427d1005deb2124f9056f | 8db5cd6fa3938eb189832733718532d5b09b65c4 | /TezaNiamtuAlexandru.cpp.cpp | f835ec7c3481787ccd80b8c2f3db295abf43420e | [] | no_license | niamtualexandru/tezainfo2018 | af1b92309c38c67e42550dc4ecc98b0cefe47e56 | 9060aa3a4139bca3c584b83e86c6033d23e348b7 | refs/heads/master | 2021-09-07T22:37:50.649271 | 2018-03-02T10:49:44 | 2018-03-02T10:49:44 | 117,512,019 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,417 | cpp | TezaNiamtuAlexandru.cpp.cpp | //Niamtu Alexandru -> Arbori de cautare
#include <iostream>
#include <string.h>
using namespace std;
struct refe{
int frecv;
char sir;
struct refe *stg,*drp;
} arbore;
refe *maker()
{
refe *root=new refe;
root->frecv=4;
root->stg=new refe;
root->stg->frecv=2;
root->stg->sir='A';
root->drp... |
141bc28f756e87d153563840fc6b708be099528d | 83898b2d2d4de90dbb53a8efca2ba07f32df53d4 | /field.cpp | b05c73a09d72e64ec178eb74379c875995e95bc0 | [] | no_license | udubouski/Text-editor | 818549d5d37366de2e4bec0b19f10c0cd077068d | 1ad34db0216207633777de40d00ba0921d1e9ad3 | refs/heads/master | 2021-06-21T17:57:21.365188 | 2017-08-24T23:03:03 | 2017-08-24T23:03:03 | 101,343,968 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 17,012 | cpp | field.cpp | #include "field.h"
TextField::TextField(QFont f, QWidget *parent)
: QAbstractScrollArea(parent)
{
field_ = new QWidget(this);
setViewport(field_);
setHorizontalScrollBarPolicy(Qt::ScrollBarAsNeeded);
setVerticalScrollBarPolicy(Qt::ScrollBarAsNeeded);
setSizeAdjustPolicy(QAbstractScrollArea::Ad... |
7d51df39fbda26d921605a978cfedea5495245cb | 697e5bed4bee0bba5230f58df0386a2a851a9418 | /prototypes/Warper.hpp | b233dcd63564194100d2dc72b473c76e39bb86d9 | [] | no_license | nickvermeer/BklynBalletTracker | c3ca90cbed299648a3e7746fddb9581cf514ae30 | 46c0224f18057af93683c4333f6e5450ed34ae19 | refs/heads/master | 2020-05-20T13:59:18.805275 | 2014-11-25T14:59:14 | 2014-11-25T14:59:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 362 | hpp | Warper.hpp | #ifndef WARPER_H
#define WARPER_H
#include "Tracking.hpp"
class Warper{
public:
Warper(Size in_size, Size out_size, Mat H1, Mat H2);
~Warper();
void setH1(Mat H1);
void setH2(Mat H2);
void prepareMask();
void Warp(Mat &img1,Mat &img2, Mat *out);
private:
Mat H1;
Mat H2;
Mat Mask;
Size in_siz... |
2bda75f4d090ab7dcf3afbe24bbcad39d4141285 | 1f3fa98a56e65232540cb1ca3be525f562749b42 | /tlv/tlvelement.h | 1cf580d34b29e9d93be6c84aa135ce961b422bd1 | [] | no_license | mkaikkonen/BerTlvParser | 25948a993758eb984e1500f30f5ea7b5b02ad53a | 36e2210567fc5b714a075ec0e0611d199e3f0818 | refs/heads/master | 2021-01-01T15:44:37.299335 | 2014-11-28T11:22:21 | 2014-11-28T11:22:21 | 27,263,999 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 311 | h | tlvelement.h | #ifndef TLVELEMENT_H
#define TLVELEMENT_H
#include <string>
#include <vector>
#include <iostream>
using namespace std;
class TlvElement
{
public:
TlvElement(){}
bool Decode(string &output, unsigned char indent);
private:
string _name;
vector<unsigned char> _value;
};
#endif // TLVELEMENT_H
|
dfbae38042fc8f3c4f364525e2a16ae54f5bdf74 | e7e497b20442a4220296dea1550091a457df5a38 | /main_project/tripod2/cc/core/test/tripod_client_test.cc | bcab860af77917c59ea6b818b19be0b39ee681a2 | [] | no_license | gunner14/old_rr_code | cf17a2dedf8dfcdcf441d49139adaadc770c0eea | bb047dc88fa7243ded61d840af0f8bad22d68dee | refs/heads/master | 2021-01-17T18:23:28.154228 | 2013-12-02T23:45:33 | 2013-12-02T23:45:33 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,607 | cc | tripod_client_test.cc | #include "gtest/gtest.h"
#include "base/port.h"
#include "tripod2/cc/core/tripod_client.h"
#include "tripod2/cc/core/cache_proxy.h"
#include "LogWrapper.h"
#include "util/cpp/TimeCost.h"
namespace test {
using namespace xce::tripod;
using namespace boost;
class TripodClientTest : public ::testing::Test {
protect... |
fc99e8b4200224f09f28f998b770793b5b7ea164 | b33a9177edaaf6bf185ef20bf87d36eada719d4f | /qtdeclarative/src/qml/jsruntime/qv4mathobject.cpp | 5d1dbe69e17139a0af8ea3bfeea37630466fa0e7 | [
"Qt-LGPL-exception-1.1",
"LGPL-2.1-only",
"LGPL-2.0-or-later",
"LGPL-3.0-only",
"GPL-3.0-only",
"LGPL-2.1-or-later",
"GPL-1.0-or-later",
"LicenseRef-scancode-unknown-license-reference",
"GPL-2.0-only",
"GFDL-1.3-only",
"LicenseRef-scancode-digia-qt-preview",
"LicenseRef-scancode-warranty-discl... | permissive | wgnet/wds_qt | ab8c093b8c6eead9adf4057d843e00f04915d987 | 8db722fd367d2d0744decf99ac7bafaba8b8a3d3 | refs/heads/master | 2021-04-02T11:07:10.181067 | 2020-06-02T10:29:03 | 2020-06-02T10:34:19 | 248,267,925 | 1 | 0 | Apache-2.0 | 2020-04-30T12:16:53 | 2020-03-18T15:20:38 | null | UTF-8 | C++ | false | false | 10,954 | cpp | qv4mathobject.cpp | /****************************************************************************
**
** Copyright (C) 2015 The Qt Company Ltd.
** Contact: http://www.qt.io/licensing/
**
** This file is part of the QtQml module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL21$
** Commercial License Usage
** Licensees holding valid commerc... |
a4084f2a64931c9b842807da5061b064d71a136e | 36183993b144b873d4d53e7b0f0dfebedcb77730 | /GameDevelopment/Massively Multiplayer Game Development/Source Code/4.3 Procedural Worlds/GLPlanet/HeightMap.h | 52533ba7d8012b8d17cdf2f624e5bfdf9035d912 | [] | no_license | alecnunn/bookresources | b95bf62dda3eb9b0ba0fb4e56025c5c7b6d605c0 | 4562f6430af5afffde790c42d0f3a33176d8003b | refs/heads/master | 2020-04-12T22:28:54.275703 | 2018-12-22T09:00:31 | 2018-12-22T09:00:31 | 162,790,540 | 20 | 14 | null | null | null | null | UTF-8 | C++ | false | false | 5,137 | h | HeightMap.h | /*
s_p_oneil@hotmail.com
Copyright (c) 2000, Sean O'Neil
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice,
this list of condition... |
81b89352bfec8b43590202378aa30c2b4bf9717c | 9e14beffe73f13a6e3137e5331b058ba3928e67d | /cpp/Tree/treerb.cpp | c4fb5d15ec7c622914260bb10e565639c062eafa | [] | no_license | P1nkL1on/CppUniversity | 97dc6dbd14fef8dbb489cb694d11f0e360229e5b | ed7394f9eeed0b3a29ea540d48bb44da6a48870b | refs/heads/master | 2023-03-04T10:58:25.803195 | 2023-02-27T13:49:49 | 2023-02-27T13:49:49 | 123,028,695 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,725 | cpp | treerb.cpp | #include "treerb.h"
template<class T>
TreeRB<T>::TreeRB(T arr[], int count)
{
for (int i = 0; i < count; i++){
TreeNode<T>* newNode = new TreeNode<T>(arr[i]);
insertCase1(newNode);
}
}
template<class T>
void TreeRB<T>::DeepByPass(CallBack callback)
{
refindRoot(root);
int count = Dee... |
a42dd975a612c3aa708cb435f031c48b3d5cae4e | d650240f02e01dd2d9931d32617e894de0cb17da | /src/applog.cpp | 4f57c21e06a29429a1f1e2fd2852f8fe4d3f591e | [] | no_license | 519984307/Calypso | 4d1cef71ebfaaf06737b82ed8df492208c0224bb | 5939a98dec09d92eaa1f6e47f136548b763fa5ed | refs/heads/master | 2023-04-13T15:39:10.824760 | 2012-03-11T11:32:50 | 2012-03-11T11:32:50 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,084 | cpp | applog.cpp | #include "applog.h"
#include "addlogevent.h"
#include "kommute.h"
extern Kommute *pMainWin;
static int mLoggingLevel=AppLog::CRITICAL_ERROR_LEVEL;
void AppLog::criticalError( const char *inString )
{
if(mLoggingLevel >= CRITICAL_ERROR_LEVEL)
QApplication::postEvent (pMainWin,
new A... |
d0a77485c22085c2a8571998b60b184a0ab744e4 | dc6bbe36d0cc1a17dd925bb45e1bcb836d001b3e | /JamOneDeath/EventHandler.h | 7ef7415ef3b09bc3d43c2436708c904030f27aca | [] | no_license | sdemerson42/JamOneDeath | 1f3db3ce12e4239ad769c9a7e1e00091f5831430 | 5aa60effef7f34a67fc6bccf74f99e8624805fb7 | refs/heads/master | 2022-11-21T15:09:11.281231 | 2020-07-25T19:22:11 | 2020-07-25T19:22:11 | 279,122,304 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,041 | h | EventHandler.h | #pragma once
#include "EventBase.h"
#include "AutoList.h"
#include <memory>
#include <map>
#include <typeindex>
template<typename T, typename EventT>
using MFunc = void(T::*)(const EventT*);
class IDelegate
{
public:
virtual void call(const EventBase* event) = 0;
};
template<typename T, typename EventT>
class Del... |
111203c2f9fa07d158fcb56bdb5b27e64d99b26f | a949ca5fd781f526ad292992fd47f4b8bd973d9e | /Graph/MAY TARGET/2.AdjListRepn.cpp | bfd9f90a7cfa0e51c8886a7da53fd30dddff0f64 | [
"MIT"
] | permissive | scortier/Complete-DSA-Collection | 8f20e56b18e4a552aebd04964e8365e01eba5433 | 925a5cb148d9addcb32192fe676be76bfb2915c7 | refs/heads/main | 2023-05-14T14:24:21.678887 | 2021-06-06T18:59:01 | 2021-06-06T18:59:01 | 307,963,617 | 4 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 380 | cpp | 2.AdjListRepn.cpp | #include <bits/stdc++.h>
using namespace std;
int main() {
int nodes, edges;
cin >> nodes >> edges;
// declare the adjacent matrix
//vector at every index
//at every index we can store a vector
vector<int> adj[nodes + 1];
// take edges as input
for (int i = 0; i < edges; i++) {
int u, v;
cin >> u >> v;
... |
36d8ed35e78439cee4babbebc39683fd4961dda5 | eb3d1da5c245805588146328e140777a4e96bc5f | /main.cpp | a81472f56a477cfbd6a12437945ac5e30124276c | [] | no_license | AustinBearden/CoffeeShop | ad334bbed8241b8c9d498ef4638db0d00c2e8a29 | 39baa09b71d70418072622218cadd912bc84b4fd | refs/heads/master | 2021-09-08T12:44:51.102816 | 2018-03-09T19:17:31 | 2018-03-09T19:17:31 | 115,435,090 | 0 | 0 | null | 2018-03-09T19:17:31 | 2017-12-26T15:49:19 | C++ | UTF-8 | C++ | false | false | 1,240 | cpp | main.cpp |
//Filename: main.cpp
//Project: CoffeeShop
//Author: Austin Bearden
//Date Created: 1/2/18
#include <iostream>
#include "Menu.h"
#include "Records.h"
int main() {
std::cout << "This is the main file" << std::endl;
//Menu * myMenu = new Menu(4);
std::string categoryVar;
std::string nameVar;
dou... |
48b5bd3f748e914c19540a2f3cc3f29f75784c8c | 75c105aa5cc1c73dda025b6db6b538b9e2570f7d | /BackTrack/37.解数独.cpp | cdaf894f4d6e0f54b71f0a0aea1e6c9b43b6393b | [] | no_license | Heraldlc/myLeetcode | 8a463eaccecc2a478010522bcd6eac1c445609ba | 09224322cfbea66a4687d15160ea97689c924b43 | refs/heads/main | 2023-09-03T07:01:36.684671 | 2021-10-29T07:54:23 | 2021-10-29T07:54:23 | 362,350,239 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,370 | cpp | 37.解数独.cpp | /*
根据最简单的回溯思想写出,但需要复习
*/
class Solution {
public:
void solveSudoku(vector<vector<char>>& board) {
backtrack(board, 0, 0);
}
bool backtrack(vector<vector<char>>& board, int row, int col){
if(col == 9)
return backtrack(board,row+1,0);
if(row == 9)
return true;... |
bc5a7d764df234f4010caa18fc96e292128b2b81 | f56d3f98293e5ba6d74286652d5a183d7fce6557 | /Algorithm/sw7967.cpp | 2a2ef22dad851ab96887cd87d6e3bc2abada3796 | [] | no_license | August12/Seed | ac78e7fd0496a758399354ea6930cbc6212927dc | 4e76b62316bfb459218fd0d2923c51e979c5e686 | refs/heads/master | 2020-03-11T00:43:14.587277 | 2019-12-07T07:12:20 | 2019-12-07T07:12:20 | 129,670,558 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 950 | cpp | sw7967.cpp | #include <iostream>
#include <vector>
#include <algorithm>
using namespace std;
int T;
int N, M;
vector< pair<int,pair<int,int> > > TABLE;
int main(void) {
scanf("%d", &T);
for(int tc=1; tc<=T; ++tc) {
int sy, sx;
scanf("%d %d", &N, &M);
for(int y=1; y<=N; ++y) {
getchar(); // 버퍼 초기화.
for(int x=1; x... |
58c547f253020cf21b76c45aab27484ce3ce84c8 | bdd9f3cdabe0c768641cf61855a6f24174735410 | /src/engine/client/application/TerrainEditor/src/win32/BitmapView.h | ffe028c7f234e2c5ff43c482e7a1634477b13fa5 | [] | no_license | SWG-Source/client-tools | 4452209136b376ab369b979e5c4a3464be28257b | 30ec3031184243154c3ba99cedffb2603d005343 | refs/heads/master | 2023-08-31T07:44:22.692402 | 2023-08-28T04:34:07 | 2023-08-28T04:34:07 | 159,086,319 | 15 | 47 | null | 2022-04-15T16:20:34 | 2018-11-25T23:57:31 | C++ | UTF-8 | C++ | false | false | 2,365 | h | BitmapView.h | //
// BitmapView.h
//
// copyright 2004, sony online entertainment
//
//-------------------------------------------------------------------
#ifndef INCLUDED_BitmapView_H
#define INCLUDED_BitmapView_H
//-------------------------------------------------------------------
#include "sharedTerrain/BitmapGroup.h"
//----... |
7fc38868b0af18390e33114adf7ba2e2ff67bfea | 95ae7dfa9ee578f1b24a65986ff78bf77ceca0c5 | /Engine/source/console/simDictionary.h | 1247d504e1cd493854aa96d380bb897862e5b84b | [
"MIT",
"LicenseRef-scancode-unknown"
] | permissive | TorqueGameEngines/Torque3D | 4e1f6a05cc0928980c8c7c20bcdd680eaa6dcee8 | a445a4364664e299196bd551d213844486080145 | refs/heads/development | 2023-09-03T12:40:40.658487 | 2023-08-24T14:44:43 | 2023-08-24T14:44:43 | 267,440,108 | 1,192 | 178 | MIT | 2023-09-13T14:28:16 | 2020-05-27T22:35:54 | C++ | UTF-8 | C++ | false | false | 3,857 | h | simDictionary.h | //-----------------------------------------------------------------------------
// Copyright (c) 2012 GarageGames, LLC
//
// 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 restrictio... |
02a5934022bdc33e448af91d5cec5b989e340808 | 20ef4f8574171fbdadb724e16de4661cd0bbc916 | /ExecutionTimerFinalVersion/ExecutionTimerBackend/Foo.h | dc99f079ae523046d343072a2f5630ea5c8fda6f | [] | no_license | simsekonur/ExecutionTimerStaticLibrary | c7e75d1704f96df41f24203a1202e5ca2176de8d | 1c14816526ad5891afb87ed43c876828be5c0bc2 | refs/heads/master | 2022-12-15T02:42:10.263925 | 2020-09-17T10:17:59 | 2020-09-17T10:17:59 | 292,795,242 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 338 | h | Foo.h | #ifndef FOO2_H_
#define FOO2_H_
#include"ExecTimer.h"
class Foo{
private :
ExecTimer *execTimer;
pthread_t threadFoo;
public :
Foo();
~Foo();
void doJobFoo();
void doJobFromFoo();
static void * Run (void * arg );
void wait();
};
#en... |
01cf74679b5e7528d5e6bea7469ea01ad6ae328c | 036c4cd0eb54a149ea36068a851541879ac45cd7 | /tests/AComplexTest.cpp | dcdbab72d7172dba40f7fa2790531dbcf128f551 | [
"MIT"
] | permissive | rcalxrc08/xComplex | c8085ebff15481c72723e19ccb988fe49a918e18 | f1c675374a20a2b8a6222c18bc59204dd97ca729 | refs/heads/master | 2021-03-24T10:35:16.928534 | 2018-02-05T13:31:37 | 2018-02-05T13:31:37 | 81,317,649 | 2 | 0 | MIT | 2018-02-05T13:31:38 | 2017-02-08T10:27:51 | C++ | UTF-8 | C++ | false | false | 11,267 | cpp | AComplexTest.cpp | #include <cassert>
#include "acomplex.h"
#include "gtest/gtest.h"
#include <complex>
#define op operazione
#define Nprint 20
#define toll1 1E-9
TEST(AComplex, plusScalar)
{
#undef op
#define op +
double aa= (double)rand() / RAND_MAX;
double bb= (double)rand() / RAND_MAX;
adept::Stack s1;
adept::adouble ... |
05c04b69c2217de513a9c1a1838a208b35f22776 | 967b6aea1d29c9fbcb2d60a27b4986f939842629 | /DAY 6- 2 SEPT 2021/prog2.cpp | e4fed072a6089727271a0470823b45873800e68d | [] | no_license | Kingsky1t/OOP_Lab_2005757 | 7c607b362b7dbd63a26e74302abab4536352981f | 61c667509294a9c098fdeac5a34c7194a6a782dd | refs/heads/main | 2023-07-31T11:50:31.051276 | 2021-09-14T18:12:39 | 2021-09-14T18:12:39 | 391,252,227 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 690 | cpp | prog2.cpp | #include <iostream>
using namespace std;
class Time {
int hh;
int mm;
public:
Time() {
hh=0;
mm=0;
}
Time(int h,int m=0) {
hh=h;
mm=m;
}
Time(Time &a) {
hh=a.hh;
mm=a.mm;
}
~Time() {
cout<<"destructor called"<<endl;
}
void input() {
cout<<"enter the time in mins and sec:";
cin>>hh>>mm;
}... |
276f8ada6de4dc3f2ba0ed35e05258bddf73d847 | c845b43fb991a352ca39061f8b6d19d118596296 | /libraries/CyrI2c/CyrI2c.h | b4a4fcd6979e39d9ebeeb546015e6a0d04f8115e | [
"MIT"
] | permissive | koutAAL/sketchbook | 0813b0a24e3807bbe60b12294974746eb561802f | 47b736cd564ffed2e77409da811af3f4ae165d14 | refs/heads/master | 2022-11-17T19:50:27.485844 | 2015-03-24T07:24:39 | 2015-03-24T07:24:39 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,395 | h | CyrI2c.h | /*
* CyrI2c.h
* Заголовочный файл библиотеки CyrI2c
* Класс содержит методы вывода текста на экраны 1602
* используется протокол I2C
*
* created 19.01.2015
* modified 04.02.2015
* with Arduino 1.5.8 (tested on Arduino Nano)
*
* Copyright 2015 Vitaliy Fust <aslok.zp@gmail.com>
*
* This work is licensed under... |
dc0854ff3e8872601806146750a0c2c3e640f83d | d5737ce46df0993a289bfd984c7e9c0f872a1be2 | /src/main.ino | 26d9ba7046d1f4ad85cf87f782ab4c2ab31c9e4e | [] | no_license | Soyokaze-42/potion_challenge | ea113cf4d341ec955239b06f87556b9ded5db230 | 6939d46e81e320372c1b07bc88afc0c433c03e04 | refs/heads/master | 2021-09-08T14:41:44.454663 | 2021-09-05T20:17:15 | 2021-09-05T20:17:15 | 209,197,497 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,030 | ino | main.ino | /* Demo to see if there is a library I can use for interfacing with a MagiQuest wand
* Robbie Nichols
* 8/17/19
*/
#include <Wire.h> // display runs with I2C
#include <U8g2lib.h> //display
#include "IRremote.h" // to read the IR reciever
#include <SPI.h> // rfid runs on SPI
#include <MFRC522.h> // rfid card reader... |
8c3e3735f5d55a324a939805306edecce163a0c4 | 3309961780535e89f2da33feac089a1f329ed8f4 | /src/driver.cxx | 4ce9a5f8ad164448e363a11cd469c0ddc23623a1 | [] | no_license | miloserdow/Grammar | 322fe42d34f0280b591912bd8476d090e93fadc1 | fa3ef290c6e983c05921cb944b5304e489733375 | refs/heads/master | 2021-09-05T03:56:09.094726 | 2018-01-24T01:02:39 | 2018-01-24T01:02:39 | 115,785,126 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,357 | cxx | driver.cxx | #include <iostream>
#include <GLRSolver.h>
#include <GLLSolver.h>
#include "utils.h"
#include "MatrixSolver.h"
int main(int argc, char* argv[]) {
if (argc != 4 && argc != 3) {
std::cerr << "Usage: ./grammar <grammar file> <graph file> <output file>\n";
std::cerr << "or: ./grammar <grammar file> <gr... |
59a417f9e67e64c89eead2cf9740cddb6f4785fa | ce380dc8e65ee3631f3c9a493c9d2325583b0313 | /ch03/ex_101.cpp | d8501743e5221d0a5703603a3caa1b3a880e1167 | [] | no_license | XingxianDeng/CppPrimerSample | 694471533573a6e78d99cee5b9519dad70d763ec | 503ccca3ab930d384a83cb7d4c8e2723e4bc41e9 | refs/heads/master | 2021-08-24T00:08:05.049751 | 2017-12-07T06:12:39 | 2017-12-07T06:27:27 | 113,285,511 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 415 | cpp | ex_101.cpp | #include <iostream>
int main()
{
constexpr size_t rowCnt = 3, colCnt = 4;
int ia[rowCnt][colCnt]; // 12 uninitialized elements
// for each row
for (size_t i = 0; i != rowCnt; ++i) {
// for each column with in the row
for (size_t j = 0; j != colCnt; ++j) {
// assign the e... |
1ea38fc77ffde82ca79cdabd40e2b20734ec94ed | f786ddf9cae1857ea627feaf44ee89711d989ae4 | /Kajak/main.cpp | 45cf0f32b4c1a6088d9f3fa364f4211d229023b0 | [] | no_license | lbenc135/Cpp_codes | 90bc97633853eec5b6bd716f1cc4477251f1819b | 9787df91c812ebcd119dcac885e17a90ff11e183 | refs/heads/master | 2021-07-15T01:24:13.378412 | 2017-10-19T08:51:46 | 2017-10-19T08:51:46 | 107,521,447 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 509 | cpp | main.cpp | #include <iostream>
using namespace std;
int main()
{
int r, s;
cin >> r >> s;
char polje[r][s];
for(int i=0;i<r;i++)
for(int j=0l;j<s;j++)
cin >> polje[i][j];
int poz[10], pz=1;
bool pov;
for(int i=s-2;i>0;i--)
{
pov=false;
for(int j=0;j<r;j++)
... |
16f6398d6bb806e3dd9047648657ab82b246244b | 084c3fd59ae20cc9f4ee77f839b8b4c4f920266d | /kattis/airconditioned.cpp | 30404c76631b84f216b8efbd7d2c1db099be0294 | [] | no_license | dawidjaja/competitive-programming | 24d06c73d6ddbc931f1a2fe1bc2766f4e401bbf4 | a8c52ad8bfe8ac6908b3666abc3026da7ea8f27d | refs/heads/master | 2021-06-17T20:22:21.309523 | 2021-03-17T09:19:45 | 2021-03-17T09:19:45 | 149,089,446 | 0 | 0 | null | 2019-10-14T15:26:49 | 2018-09-17T07:57:52 | C++ | UTF-8 | C++ | false | false | 536 | cpp | airconditioned.cpp | #include <bits/stdc++.h>
#define fs first
#define sc second
#define pii pair<int,int>
using namespace std;
int n, lim, ans;
pii minion[105];
int main() {
scanf("%d", &n);
for (int i = 0; i < n; i++) {
scanf("%d%d", &minion[i].fs, &minion[i].sc);
}
sort(minion, minion + n);
lim = 0;
f... |
2ac9e58571dc2cf09710acd0433a14d3ba8ac12e | b9b966952e88619c9c5d754fea0f0e25fdb1a219 | /libcaf_io/caf/io/network/operation.hpp | c73a2917bf9ec52a9cacc7823fb7583bdd10c1c0 | [] | permissive | actor-framework/actor-framework | 7b152504b95b051db292696a803b2add6dbb484d | dd16d703c91e359ef421f04a848729f4fd652d08 | refs/heads/master | 2023-08-23T18:22:34.479331 | 2023-08-23T09:31:36 | 2023-08-23T09:31:36 | 1,439,738 | 2,842 | 630 | BSD-3-Clause | 2023-09-14T17:33:55 | 2011-03-04T14:59:50 | C++ | UTF-8 | C++ | false | false | 447 | hpp | operation.hpp | // This file is part of CAF, the C++ Actor Framework. See the file LICENSE in
// the main distribution directory for license terms and copyright or visit
// https://github.com/actor-framework/actor-framework/blob/master/LICENSE.
#pragma once
#include <string>
namespace caf::io::network {
/// Identifies network IO o... |
fba2df656542236e5020cb37797fb9ff413da2d5 | 9ed1564e46c1d6f7bfb2138e328d3c6d0cb4931c | /source/plugin/t4/hlx.cpp | 0042a168707911e89683adb85503a23c200afe65 | [] | no_license | ww4u/mct-t4 | c66a399fd2f4d281d1aa1cb6db1aded7edf781f1 | b4ff50ce2947e7d69972d500633aec991cd13c57 | refs/heads/master | 2022-12-14T22:36:39.047386 | 2019-08-05T04:32:15 | 2019-08-05T04:32:15 | 296,253,721 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 482 | cpp | hlx.cpp | #include "hlx.h"
#include "ui_hlx.h"
HLX::HLX(QWidget *parent) :
QWidget(parent),
ui(new Ui::HLX)
{
ui->setupUi(this);
}
HLX::~HLX()
{
delete ui;
}
void HLX::setName( const QString &name)
{ ui->label->setText( name ); }
QString HLX::name()
{ return ui->label->text(); }
void HLX::... |
8b480bd6563d6d14d460ca51eaf7537bc737d501 | f4856d61fcc38257f661b8c2117fc80086acc29e | /STL/test.cpp | 07eb5ec25d9258287a7dac63446dbbb611589386 | [
"Apache-2.0"
] | permissive | abhijay94/CompetitiveProgramming | 4e182cd71db74e908309b7795311e30a5310dec2 | ba1f05c189750a49ab9f69b10d2aafa60baa4310 | refs/heads/master | 2020-04-13T19:27:56.851791 | 2019-01-15T05:27:14 | 2019-01-15T05:27:14 | 163,403,550 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 197 | cpp | test.cpp | #include <iostream>
#include <vector>
#include <algorithm>
#include <cstring>
using namespace std;
int main() {
long long a = 1000000;
long long b = 1000000;
cout << a*a + b*b;
return 0;
} |
72d175db675e3feaa41b00b3dfaecfde6872b6cb | c2af7288d1eff2dc970cf99316ac1d58bea37f92 | /SP4/SP4/Character.cpp | 81e28eeb6c46e15c0b6e73da149262d2465f1408 | [] | no_license | StudioProject4/SP4 | bf0ec9c125c30763089219f7c217f50c4cc8d32f | 70716dc0974bda1540bb61c4e78978f15ca14c2a | refs/heads/master | 2020-05-18T22:28:26.003168 | 2015-03-05T05:15:42 | 2015-03-05T05:15:42 | 30,849,833 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 714 | cpp | Character.cpp | #include "Character.h"
void CCharacter :: Jump()
{
phys.Jump();
//Vector3 temppos = pos;
//pos = (temppos.x, temppos.y + 5, temppos.z);
}
void CCharacter :: MoveLeft()
{
//Vector3 temppos = pos;
//temppos.x = temppos.x - 10;
//pos.x = temppos.x;
phys.MoveSide(false);
dir.x = -1;
}
void CCharacter :: MoveRight(... |
b1b6f3657f6156183d066fd1f5645e42bcb1b9e5 | 5521a03064928d63cc199e8034e4ea76264f76da | /fboss/agent/MacTableManager.cpp | 047efce67ba4eac9ed9e0bb39e1d33e2ad4b5ea0 | [
"BSD-3-Clause",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | facebook/fboss | df190fd304e0bf5bfe4b00af29f36b55fa00efad | 81e02db57903b4369200eec7ef22d882da93c311 | refs/heads/main | 2023-09-01T18:21:22.565059 | 2023-09-01T15:53:39 | 2023-09-01T15:53:39 | 31,927,407 | 925 | 353 | NOASSERTION | 2023-09-14T05:44:49 | 2015-03-09T23:04:15 | C++ | UTF-8 | C++ | false | false | 1,070 | cpp | MacTableManager.cpp | /*
* Copyright (c) 2004-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
*/
#inc... |
76c92c9769043d7989c96719813e2f96858af2b8 | 9e0d711e682d6d8111fb754100d358ec5c40f08c | /directX/test_dx/game_engine/object/ge_object.cpp | 9ccd2125847e86c8527dd2d2b80429ae77b6e1de | [] | no_license | AmbBAI/ForTest | 4b4a87330429a2e595820eab81d6b8260f9d8af4 | 68afa0b2abcf962ba20733fee31d9f8faef8e959 | refs/heads/master | 2020-12-24T15:22:09.127338 | 2014-03-21T02:25:03 | 2014-03-21T02:25:03 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,945 | cpp | ge_object.cpp | #include "ge_object.h"
namespace ge
{
DLL_MANAGE_CLASS_IMPLEMENT(GEObject);
GEObject::GEObject()
{
memset(&transform_, 0, sizeof(transform_));
transform_.sx = 1.f;
transform_.sy = 1.f;
transform_.sz = 1.f;
}
GEObject::~GEObject()
{
}
bool GEObject::init()
{
return true;
}
void GEObject::destory()
{
}
voi... |
e5b20d012c26898c43212868c41d46e700278f01 | 8f608437957f7c9eb03f0ee00457e10282059ec8 | /UVa/11044.cpp | bfabb42c0bbf859bc876704e3314b8791fdcf3a7 | [] | no_license | npkhang99/Competitive-Programming | 0ddf3cfcfc13825f7fadaf5b53fdef16ca77522f | 1a5e3799e5855996aa56688680765511b0de7281 | refs/heads/master | 2023-06-28T15:17:44.489901 | 2021-07-30T05:31:15 | 2021-07-30T05:31:15 | 66,803,586 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 301 | cpp | 11044.cpp | #include <stdio.h>
#include <math.h>
using namespace std;
int T, n, m;
int main(){
scanf("%d",&T);
for(int i=0; i<T; i++){
scanf("%d%d",&n,&m);
n-=2, m-=2;
int col = ceil(n/3.0), row = ceil(m/3.0);
printf("%lld\n",(long long)(col*row));
}
return 0;
}
|
c858f8214894cdd1824be1e59bed1a1c3dbacef2 | 0056fabac3a7d415870e7feb4fed9ca30e2a0112 | /Actions/DELETEE.h | ef9db0a9cb566e11a3a60437d1087495210ea1c1 | [] | no_license | Haitham-AbdelKarim/Logic_Simulator_App | 502ce681c3ca6010c5252fad9a55f06438effab1 | d99732b9f19e98af9e9d4968acd90093446543bf | refs/heads/main | 2023-02-12T20:07:49.390323 | 2021-01-14T16:20:10 | 2021-01-14T16:20:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 494 | h | DELETEE.h | #pragma once
#include "action.h"
#include "..\Components\Component.h"
class DELETEE :
public Action
{
private:
Component* target;
Connection** targetConnections;
public:
DELETEE(ApplicationManager *pApp);
virtual void ReadActionParameters();
//Execute action (code depends on action type)
virtual void Execute();... |
d99e26521fc21c221db071e47c78d4f069426e0c | 611478e809fcf9f983c75d01086aecf70ae5b5ee | /include/lfd/MotionDescriptor.hpp | e30cce24e89d488c43059b4753f99ed2a4dd26c0 | [
"MIT"
] | permissive | waterben/LineExtraction | 066977f8deb70a1d65b59f8774a6c51d660a4090 | 7d3ab108ff57d6facdab5e59825c80c48592f044 | refs/heads/master | 2023-07-29T03:01:01.411154 | 2023-07-05T20:06:11 | 2023-07-05T20:06:11 | 158,287,194 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,262 | hpp | MotionDescriptor.hpp | /*M///////////////////////////////////////////////////////////////////////////////////////
// IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING.
//
// By downloading, copying, installing or using the software you agree to this license.
// If you do not agree to this license, do not download, instal... |
899072df6baf06cdc2abe1e0c5fd9b2b1d5ced2c | 4f9087d39d862c405c827a9e2f693797508d246f | /Server/Player.hpp | 521e1de4b91508ae49807b85a538b786024bfcbd | [] | no_license | aureooms-ulb-2010-2015/2011-2012-infof209-project | e1204eabe9dce71a6e843fdcf279103e246fb05b | 169ee99ce38ffbba6cc4fcc9e359314c934d648e | refs/heads/master | 2021-01-16T01:01:29.819169 | 2014-12-08T14:50:06 | 2014-12-08T14:50:06 | 38,203,046 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,833 | hpp | Player.hpp | #ifndef PLAYER
#define PLAYER
#include<iostream>
#include "Client.hpp"
class GameServer;
class GameInstance;
using namespace std;
class Player : public Client{
private :
GameInstance * _currentGame;
int _playerId;
int _bet;
public :
Player(string name, ServerGame *);
Player(string, ServerGame *,int);
... |
298d509f37b44fa422244a0c5f9c4b75862c556d | 02aca6543c607fe5d144d036f3d0c05b98812bee | /src/linux_parser.cpp | ae135061f507195f97d3dddc89debe1b52ffd8b6 | [
"MIT"
] | permissive | Godzab/CppND-System-Monitor | 7f71cd9bbfc685a532eb9fa5b4d3c60877c6733a | 7d708273d56982a04a49b0d8534915e31b241d7a | refs/heads/main | 2023-08-09T06:10:38.867268 | 2021-08-25T10:03:39 | 2021-08-25T10:03:39 | 398,778,452 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,788 | cpp | linux_parser.cpp | #include <dirent.h>
#include <unistd.h>
#include <sstream>
#include <string>
#include <vector>
#include <iostream>
#include <numeric>
#include<bits/stdc++.h>
#include "linux_parser.h"
#define Hertz sysconf(_SC_CLK_TCK)
using std::stof;
using std::string;
using std::to_string;
using std::vector;
template<typename T>... |
a8876b248ee27314aafdc43fd2ec37e205d944a4 | 6b2a8dd202fdce77c971c412717e305e1caaac51 | /solutions_2692487_1/C++/kpetrova/Osmos.cpp | 1e33eee922dc76c8f97922a4b8422aa250c3e814 | [] | no_license | alexandraback/datacollection | 0bc67a9ace00abbc843f4912562f3a064992e0e9 | 076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf | refs/heads/master | 2021-01-24T18:27:24.417992 | 2017-05-23T09:23:38 | 2017-05-23T09:23:38 | 84,313,442 | 2 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 703 | cpp | Osmos.cpp | #include <cstdio>
#include <algorithm>
using namespace std;
int a[128];
int main()
{
int t,tt;
scanf ("%d",&t);
for ( tt=1; tt<=t; tt++ ){
int n,A,br=0,mini;
scanf ("%d%d",&A,&n);
for ( int i=1; i<=n; i++ ) scanf ("%d",&a[i]);
sort (a+1,a+n+1);
mini =... |
89d5bee14a88335aaa03590ce6ef477b9826350e | 6d54a7b26d0eb82152a549a6a9dfde656687752c | /examples/chip-tool/commands/common/Command.cpp | 4848fe3e1e7183f9b5966518e5aabd45193715d7 | [
"Apache-2.0",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | project-chip/connectedhomeip | 81a123d675cf527773f70047d1ed1c43be5ffe6d | ea3970a7f11cd227ac55917edaa835a2a9bc4fc8 | refs/heads/master | 2023-09-01T11:43:37.546040 | 2023-09-01T08:01:32 | 2023-09-01T08:01:32 | 244,694,174 | 6,409 | 1,789 | Apache-2.0 | 2023-09-14T20:56:31 | 2020-03-03T17:05:10 | C++ | UTF-8 | C++ | false | false | 34,973 | cpp | Command.cpp | /*
* Copyright (c) 2020 Project CHIP Authors
* All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
... |
b3add21abf5ebf41cca018c5010a251f93da8da9 | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/httpd/gumtree/httpd_new_log_3491.cpp | fee50027356a85dba8294b5e643d87b76ff52c74 | [] | 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 | 113 | cpp | httpd_new_log_3491.cpp | ap_log_error(APLOG_MARK, APLOG_ERR, rv, s, APLOGNO(00791)
"scache_mc: 'retrieve' FAIL"); |
2abb9f625319fe8e40f9d0f297b60fba4146985a | 90fe7269bf18f05d60f1fa98525b1a45d6554801 | /Divers/AlgorithmeGenetique/src/application/GenerateurGraphe.cpp | c3d9aa70a1e0a92c27645eb0237b815c762b6ea3 | [] | no_license | SombreLoup/Enseignement | f02e31a05dcc22c7fa5cbd2523a054903fb24110 | a47b959edc62498e93f514bbeb6ef6fa6fa2908e | refs/heads/master | 2021-04-28T05:09:33.182056 | 2019-02-03T19:00:22 | 2019-02-03T19:00:22 | 122,171,576 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 378 | cpp | GenerateurGraphe.cpp | #include <iostream>
#include <fstream>
using namespace std;
#include <time.h>
#include "../graphe/Graphe.h"
#include "../graphe/Chemin.h"
#include "../xml/Parser.h"
int main(int argc, char **argv) {
Graphe graphe;
try {
Parser::parserNouveauGraphe("instances/Graphe1_30.parametres.xml",graphe);
}
catch ... |
29b926eabfe53a7c23e8ae10e3199eb4b0b35da9 | e30558bd90810e9f1cbf5036eebb9a119fe17720 | /src/mv3d_interface/src/mv3d_interface_zeng.cpp | e7eafacd46879b2542d98595adc0b7ff68fa3e82 | [] | no_license | AVR-TEC/mv3d_ros_interface | 314abf96156c5b170ef3c580a947271a67bc178c | 561a7f19f71d02d04863fe576f2b7095a6256ae0 | refs/heads/master | 2021-04-30T01:12:51.831538 | 2017-06-30T02:48:49 | 2017-06-30T02:48:49 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,210 | cpp | mv3d_interface_zeng.cpp | #include <ros/ros.h>
#include <sensor_msgs/PointCloud2.h>
#include <boost/thread/thread.hpp>
#include <pcl/point_types.h>
#include <pcl/filters/voxel_grid.h>
#include <pcl_conversions/pcl_conversions.h>
#include <pcl/visualization/pcl_visualizer.h>
#include <pcl/point_cloud.h>
#include <cv.h>
#include <highgui.h... |
2edbfe2407020c4fc05ff26808d0a8ec60bfa9a0 | ec571e3de2b9e28c0b3dda4394080d470c4af1e0 | /Util/Slog.h | 0613b6babf14897b54daa10f41414675c964fee0 | [
"BSD-3-Clause"
] | permissive | xuesu/gStore | 9714804878b8621cfca14b13876a24a075736c69 | aa29db10a9ff2429729e036b2baf90b861aa1928 | refs/heads/master | 2022-05-29T12:58:28.267531 | 2022-04-02T12:03:38 | 2022-04-14T15:52:36 | 143,608,413 | 0 | 0 | null | 2018-08-05T11:50:53 | 2018-08-05T11:50:53 | null | GB18030 | C++ | false | false | 2,106 | h | Slog.h | #ifndef SLOG_H
#define SLOG_H
/// 包裹类
/// @note 在程序启动的时候调用Logger::Start方法,例如:
/// Log.init("slog.properties");
/// 打日志的示例如下:
/// Log.Debug("Debug log[%d]", 100);
/// [可以自定义不同格式]
///
///
#if defined(__linux__)
#define VSPRINTF vsnprintf
#elif defined(_WIN32)
#define VSPRINTF _vsnprintf
#endif
cl... |
fa7285d9af066565edec7c97b6d0a95512d9936d | 7c05fed419d7a6b773ce8420ca74dbc5db782d63 | /UVa11723.cpp | 9bc7d2fd5882fa61437ad1c801c82ac8e5bdf862 | [] | no_license | MZayed47/Online_Judge_UVa | 164be3ba59e9df254ad274b6a000855e61b1165a | 8f07f11bd1caf0f513c978aca2c4aca53e5eed8d | refs/heads/main | 2023-03-14T15:00:17.830568 | 2021-03-11T09:17:39 | 2021-03-11T09:17:39 | 346,644,486 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 403 | cpp | UVa11723.cpp | /* Numbering Roads */
#include<bits/stdc++.h>
using namespace std;
int main()
{
int r,n,count=0;
while(cin>>r>>n){
count++;
if(r==0 && n==0){
break;
}
int x = (r-1)/n;
if(x<=26){
cout<<"Case "<<count<<": "<<x<<endl;
}
else{
... |
c631533e58ef3ada4f5ebdfcec5b33e52696b7f3 | 3e1e10fc80793bdedcda0d41c0d347ca2c9db595 | /Volume05/0548/c++.cpp | 1efd7b7c129ac469e834d410d3dac10f92451f8b | [] | no_license | mkut/aoj | 9a11999c113bc9fda6157ca174ebfb14e3af14ce | 1a088f15621c72c9f9d0c9ad0030cb8547b3e66e | refs/heads/master | 2016-09-05T11:17:48.734650 | 2013-07-13T13:18:06 | 2013-07-13T13:18:06 | 2,236,868 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,836 | cpp | c++.cpp | #include <iostream>
#include <cstdio>
#include <algorithm>
#include <vector>
#include <map>
using namespace std;
int dx[] = {0,0,1,-1}, dy[] = {1,-1,0,0};
class solver
{
map<int,int> memo;
vector<vector<vector<int> > > lnk;
int num;
public:
solver(vector<vector<vector<int> > >& lnk) : lnk(lnk), num(lnk.size()) {}... |
c57b00de8027f07b46f353dde31b7936e87e22ff | 847a8d77e3f792961a324701569c6d3c7fa9bb57 | /AmScope/main.cpp | 53bbaf007db1107615e135ffce0ad676464e400d | [] | no_license | aovanessian/Work-in-progress | ceda315f2a5e2a7d7c1aa5704742be9d9d6f4074 | 8ec27f0f53717b6a819456303d8a0bf361f4cff2 | refs/heads/master | 2023-02-06T01:36:31.631952 | 2020-12-26T12:17:53 | 2020-12-26T12:17:53 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,280 | cpp | main.cpp | // AmScope MT1000 camera (Anchor Chips Inc. 10M USBCam) websocket bridge application
// Reverse engineered camera driver using Wireshark by Gabriel Valky
// libusb code based on Christophe Augier CDC-ACM USB example
#include <unistd.h>
#include <stdlib.h>
#include <stdio.h>
#include <errno.h>
#include <cassert>
#inclu... |
ccaec514950b083a082bd5fab470dab72c5ef369 | a4b50e58e156747378039aee59a4dea8ae7a2d92 | /AI/Manager/Visualization/ManagerVisualization.h | ee53b07cac807edf29b15c7a77ac1c79d2ba8f70 | [] | no_license | FarCornsLab/labirintals | b367819cf5321db3af2848b88c279d1d6a2746d5 | 6b67b24d918bd3536482cd1c4a1067879e249ba9 | refs/heads/main | 2023-02-27T06:29:23.872981 | 2021-02-04T07:46:18 | 2021-02-04T07:46:18 | 318,997,364 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,125 | h | ManagerVisualization.h | #ifndef AI_MANAGERVISUALIZATION_H
#define AI_MANAGERVISUALIZATION_H
#include <utility>
#include "Manager.h"
#include "Executor/ManagerExecutor.h"
/** Manager for visualization of step */
class ManagerVisualization: public Manager {
public:
ManagerVisualization(std::shared_ptr<ManagerExecutor>&& executor) : execu... |
c94028ca33338494e828c68830be6bd4ec20ccc0 | f252f75a66ff3ff35b6eaa5a4a28248eb54840ee | /external/opencore/oscl/oscl/osclmemory/src/oscl_mem.h | f32e7f177a6694355f5391afb9d3a57bf489eb45 | [
"MIT",
"LicenseRef-scancode-other-permissive",
"Artistic-2.0",
"LicenseRef-scancode-philippe-de-muyter",
"Apache-2.0",
"LicenseRef-scancode-mpeg-iso",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | abgoyal-archive/OT_4010A | 201b246c6f685cf35632c9a1e1bf2b38011ff196 | 300ee9f800824658acfeb9447f46419b8c6e0d1c | refs/heads/master | 2022-04-12T23:17:32.814816 | 2015-02-06T12:15:20 | 2015-02-06T12:15:20 | 30,410,715 | 0 | 1 | null | 2020-03-07T00:35:22 | 2015-02-06T12:14:16 | C | UTF-8 | C++ | false | false | 18,766 | h | oscl_mem.h |
// -*- c++ -*-
// = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
// O S C L _ M E M
// = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
#ifndef OSCL_MEM_H_INCLUDED
#define OSCL_MEM_H_INCLUDED
#ifndef OSCLCONFIG_MEMORY_H_INCLUDED
#include "osclconfig_m... |
f6d11c98fc58901272a0043131fa6f2661443f3e | fd546a441074059e6a62587571d5b8f674bcf6bd | /src/Encode_String.cpp | 00a809c60ba12612f577b9b3f2ec202ca560544a | [] | no_license | TeodorLys/Encrypt-Something | 1578134944f77fc266ac893798659535cc92993d | d8edb6dd8a4c76f6244f4c7938e9c0beeb2884f7 | refs/heads/master | 2021-04-27T10:37:22.318381 | 2018-10-25T19:09:57 | 2018-10-25T19:09:57 | 122,542,950 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,510 | cpp | Encode_String.cpp | #include "Encode_String.h"
#include "Random_Name_Gen.h"
#include "Shared_String.h"
#include <sstream>
#include <iomanip>
#include <files.h>
#include <default.h>
#include <SFML\System\Thread.hpp>
Encode_String::Encode_String() {}
int ab = 0;
void thread_Test() {
while (Encode_String::es().test > 0) {
... |
cda42fe7eb2f9f29eb4bcefa0c4feeaa9c3d0080 | cb9c187346747959a7beead27484370578f76469 | /src/testApp.cpp | 35ca8869a097fbe1afc0aae9facb2531d304cbc8 | [] | no_license | jmarsico/marquee_oF | a879d6ab94cb3d69bc43d059e65c097fd3e585fe | 1ca4ebb60ddff74435385feb687d58fae0318061 | refs/heads/master | 2020-05-15T21:57:11.470466 | 2013-10-15T04:17:33 | 2013-10-15T04:17:33 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,522 | cpp | testApp.cpp | #include "testApp.h"
//--------------------------------------------------------------
void testApp::setup(){
ofBackground(0,0,0);
//ofSetBackgroundAuto(false);
cellSize = ofGetWidth()/12;
ofSetRectMode(OF_RECTMODE_CENTER);
ofEnableAlphaBlending();
//we can now get back a list of devi... |
f35eb3afd7bfce2a35c788f948a0736459ec17b8 | 86e49d6930fa8ba34df3012b224cdb5c43d8b944 | /ArrayList.cpp | ca3e6f795c89316d57d96ecac422bca4712003c5 | [] | no_license | AllProjectsCollege1/Vaccine-Tracking-System | 1f469c5fa43960aad5ca2694e63b3f58c7dcc468 | a7920d349950953494657175e1f7dc1de795ad53 | refs/heads/main | 2023-05-12T18:36:25.172784 | 2021-06-04T19:31:19 | 2021-06-04T19:31:19 | 372,652,952 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,849 | cpp | ArrayList.cpp | #include "ArrayList.h"
#include <iostream>
#include <assert.h>
using namespace std;
template <class T>
ArrayList<T>::ArrayList(int size)
{
Size = size;
count = 0;
array = new T[size];
}
template <class T>
ArrayList<T>::ArrayList()
{
count = 0;
Size = 5;
array = new T[Size];
}
template <class T >... |
09b40371c3199ddd80951718776659a653e6cc32 | 4d28185e7a78a569f9a449f39f183cac3024f711 | /lit/Register/Inputs/x86-64-gp-write.cpp | fd579c031a3e8e13a6c0d9b3563dd95bf57b54b9 | [
"NCSA",
"Apache-2.0",
"LLVM-exception"
] | permissive | apple/swift-lldb | 2789bf44f648609a1674ee520ac20b64c95de072 | d74be846ef3e62de946df343e8c234bde93a8912 | refs/heads/stable | 2023-04-06T00:28:15.882479 | 2019-10-25T22:46:59 | 2019-10-25T22:46:59 | 44,838,862 | 780 | 291 | Apache-2.0 | 2020-01-10T19:28:43 | 2015-10-23T21:13:18 | C++ | UTF-8 | C++ | false | false | 1,121 | cpp | x86-64-gp-write.cpp | #include <cinttypes>
#include <cstdint>
#include <cstdio>
int main() {
constexpr uint64_t fill = 0x0F0F0F0F0F0F0F0F;
uint64_t rax, rbx, rcx, rdx, rsp, rbp, rsi, rdi;
asm volatile(
// save rsp & rbp
"movq %%rsp, %4\n\t"
"movq %%rbp, %5\n\t"
"\n\t"
"movq %8, %%rax\n\t"
"movq %... |
1864481e0cb57f9123e155e17487bf16127067c7 | c4312eeac88e4aa5d213cb144dd7cddf2c01c7e1 | /trunk/libdms/src/dmsuser.cpp | b646f7728e181bcf489a2fa35769c8339aeffddf | [] | no_license | BackupTheBerlios/dms-svn | 42d734c441a3d738191659ca5651f54a2576ebfb | 468e254605ab57826493668558abea57215202f7 | refs/heads/master | 2021-01-18T17:17:57.265462 | 2009-05-01T11:23:55 | 2009-05-01T11:23:55 | 40,671,124 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,622 | cpp | dmsuser.cpp | /***************************************************************************
* Copyright (C) 2007-2008 by Alexander Saal *
* alex.saal@gmx.de *
* *
* Fil... |
174ffd4d9ecc69aeab4a457d1cd472f625b50f27 | e198d6305f2b6264fbb1a7bdfafdf88454143bb4 | /c++/sdl/sdlapplication/Prism.h | 8fe8573e61c0a28881b06ce37a5c26eda641ed9f | [] | no_license | Yan-Song/burdakovd | e4ba668b5db19026dbf505fb715be0456d229527 | 0b3b90943b3f8e2341ed96a99e25c1dc314b3095 | refs/heads/master | 2021-01-10T14:39:45.788552 | 2013-01-02T10:51:02 | 2013-01-02T10:51:02 | 43,729,389 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 359 | h | Prism.h | #ifndef PRISM_H
#define PRISM_H
#include "Frustum.h"
// призма: частный случай усеченной пирамиды
class Prism : public Frustum
{
public:
Prism(const Vector3D& center, const double R, const double H, const int precision, const Color& color)
: Frustum(center, R, R, H, precision, color)
{
}
};
#endi... |
ef3da0b5174455a01e42bd80259dcb13e3fd8bdb | 6432ea7a083ff6ba21ea17af9ee47b9c371760f7 | /stage0/src/library/compiler/extern_attribute.h | 84c6d3194bfa96b7f2e7694420abfea5f3ae2a5c | [
"Apache-2.0",
"LLVM-exception",
"NCSA",
"LGPL-3.0-only",
"LicenseRef-scancode-inner-net-2.0",
"BSD-3-Clause",
"LGPL-2.0-or-later",
"Spencer-94",
"LGPL-2.1-or-later",
"HPND",
"LicenseRef-scancode-pcre",
"ISC",
"LGPL-2.1-only",
"LicenseRef-scancode-other-permissive",
"SunPro",
"CMU-Mach"... | permissive | leanprover/lean4 | 4bdf9790294964627eb9be79f5e8f6157780b4cc | f1f9dc0f2f531af3312398999d8b8303fa5f096b | refs/heads/master | 2023-08-30T01:57:45.786981 | 2023-08-29T23:14:28 | 2023-08-29T23:14:28 | 129,571,436 | 2,827 | 311 | Apache-2.0 | 2023-09-14T18:29:16 | 2018-04-15T02:49:20 | Lean | UTF-8 | C++ | false | false | 964 | h | extern_attribute.h | /*
Copyright (c) 2019 Microsoft Corporation. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Leonardo de Moura
*/
#pragma once
#include <string>
#include "kernel/environment.h"
namespace lean {
bool is_extern_constant(environment const & env, name const & c);
bool is_e... |
5b6d4eaca6443dd674f4efd394c37a653508ad9e | 7d6e81d77da55dce2e895d7d787f9a529039995b | /13APR/1.cpp | 1c6e19a6ea0acbd89aeb15453b9ce148b2d688ce | [] | no_license | andyanidas/TeachingMgl | 65dc88088ecc2ad6529b96c674fcdd09f42801f5 | 1305923c9e43789db09b1ec520139db21811cc3a | refs/heads/main | 2023-04-24T19:08:04.587445 | 2021-05-20T16:14:59 | 2021-05-20T16:14:59 | 331,643,983 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 605 | cpp | 1.cpp | #include<iostream>
using namespace std;
int findPower(int,int);
int main(){
int num,power,result;
cin>>num>>power;
result = findPower(num,power);
cout<<result;
return 0;
}
//5 3
int findPower(int x, int y){
if(y==1){
return x;
}
return x*findPower(x,y-1); // 5*findPower(5,2)... |
50a22a4ce5ee021582f7d6bf4dfe2693438d4e2c | ca64b3e7f64bae649a3334ad98f20cbf58a4e79a | /DokaSnake/DokaSnake/DokaSnake.cpp | c325db6a6e14286e45b10de0ee2956582a8fc40a | [
"MIT"
] | permissive | Long-as-Python/DokaSnake2 | 22ac45a07e40b55c7371bf936cdd765b4063e164 | 05075cf64378cb429f0c3022c89856b497b055fc | refs/heads/master | 2021-02-18T18:07:30.693727 | 2020-03-10T09:57:18 | 2020-03-10T09:57:18 | 245,221,032 | 0 | 0 | MIT | 2020-03-12T16:54:00 | 2020-03-05T17:03:16 | C++ | UTF-8 | C++ | false | false | 972 | cpp | DokaSnake.cpp | #include <iostream>
#include <windows.h>
#include <conio.h>
#include <iomanip>
#include <thread>
using namespace std;
void SetXY(short x, short y)
{
COORD coord = { y, x };
SetConsoleCursorPosition(GetStdHandle(STD_OUTPUT_HANDLE), coord);
}
const int HEIGHT = 11;
const int WIDTH = 21;
int map[HEIGHT][WIDTH]; //0 ... |
18f34031e8bfa4b098c838e80925568cabaa8244 | efc3bf4f88a2bfc885de5495c87433d345b54429 | /ZOJ/3777.cpp | 1fb8ffdabede60f29c990f67073e802cbb719d94 | [] | no_license | calvinxiao/Algorithm-Solution | 26ff42cc26aaca87a4706b82a325a92829878552 | afe254a4efa779598be8a82c5c5bcfcc94f80272 | refs/heads/master | 2016-09-05T21:08:35.852486 | 2015-08-23T15:13:23 | 2015-08-23T15:13:23 | 20,149,077 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,258 | cpp | 3777.cpp | /*
#Problem ID: 3777
#Submit Time: 2014-06-21 20:49:18
#Run Time: 500
#Run Memory: 8288
#ZOJ User: calvinxiao
*/
#include <iostream>
#include <cstdio>
#include <set>
#include <vector>
#include <map>
#include <stack>
#include <queue>
#include <cmath>
#include <algorithm>
#include <cstring>
#include <string>
... |
e11b76da22c17ac0020437bf0af27b2f9d3ca54d | 6dd7c93af0e4c89dabba27f9432ca7cf41ee7073 | /buggy_assembler/phase2-master/Assembler/l_turn.cpp | 99b7a0345329766dda62375143319934b28ad99a | [] | no_license | tenfoldpaper/SEphase3 | 2707fa1f4e2db69769af901a5b70fad1d6a59b1a | 76e256aaa0bdcd8503db452fa19e65502232eaf0 | refs/heads/master | 2020-03-08T21:09:46.545342 | 2018-04-09T17:10:21 | 2018-04-09T17:10:21 | 128,400,757 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 168 | cpp | l_turn.cpp | /*
* l_turn.cpp
* Gisi Musa
*/
#include "allHeaders.h"
l_turn::l_turn() { }
l_turn::~l_turn() { }
void l_turn::read() { }
int l_turn::parse(string args, int line) { } |
c4b211be4804c07649a102968671bac91823b0d9 | 9c4a144a097bfa9804748f7504d47839dbc2794a | /user.cpp | 795af79464501478991b82b1b00bd113f5a9d200 | [] | no_license | mastergreg/my_chat | 61b912f077546d815f772af5d1c0579e6feb6b5f | 55cae5f22eea9891d428e0f143b1ff3058b59a65 | refs/heads/master | 2020-05-30T10:32:37.009819 | 2012-04-02T15:00:09 | 2012-04-02T15:00:09 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 320 | cpp | user.cpp | #include "user.h"
#include <sys/socket.h>
#include <netinet/in.h>
#include <string>
#include <iostream>
int user::konnect()
{
cliLen = sizeof (cliAddr);
return 0;
}
int user::str_up(char* stptr)
{
while (*stptr != '\0')
{
*stptr = toupper((int) * stptr);
stptr++;
}
return 0;
}
|
80fe70e60440a22dd8fc8314964bbe47c8d44b5f | 1f1859827cf66a262b0c75f50f44d26c5f35750b | /arduino/energy_meter/energy_meter.ino | cef3d7bc48659ab51f52f15900be779c7e887d6a | [
"MIT"
] | permissive | priyoditn/raspi | 76d137993da561c9d271b6e5bc568dfd754bbb6a | afb4f6fdc65000f4f039c6a66ba717e11490c4cc | refs/heads/main | 2023-08-25T23:07:03.597477 | 2021-10-23T20:39:38 | 2021-10-23T20:39:38 | 409,922,500 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 973 | ino | energy_meter.ino | #include <LiquidCrystal.h>
int Read_Voltage = A1;
int Read_Current = A0;
const int rs = 2, en = 4, d4 = 9, d5 = 10, d6 = 11, d7 = 12;
LiquidCrystal lcd(rs, en, d4, d5, d6, d7);
float Voltage = 0.0;
float Current = 0.0;
float Power = 0.0;
int Time = 0;
void setup()
{
lcd.begin(16, 2);
Serial.begin(9600);
... |
0cbe74f363973f00af0129e22ca74b6702fa2f49 | 6426ae91efed816ec782a4a109bd4f7e4daffc5a | /Library/LegacyResources/Headers/FileSystem/FileSystem/PrivateSource/UpdateableFileImpl.h | a06f463d712f184dce3fd7a30305331e6b832a48 | [] | no_license | rfim/Microstrategy | 04756e390d3f17572cafe18f7f6be8b36a024190 | 9ab9d1d3b4321e2b17626d97074d694f1196c41f | refs/heads/master | 2021-04-09T15:09:43.191220 | 2018-03-21T07:38:13 | 2018-03-21T07:38:13 | 125,734,634 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,962 | h | UpdateableFileImpl.h | //==============================================================================================
// FILENAME : UpdateableFileImpl.h
// AUTHOR : vovechkin
// CREATION : 2004-10-04
// Copyright (C) MicroStrategy Incorporated 2004
// All Rights Reserved
//============================================================... |
cf91b95ddbb00840737f3674a0d32645b63a8093 | 05d2f534c830d7a0fccc2f454423c1bd1562d9d0 | /T3D/House.h | 73836303ffac161505830975251f2772bd9489dc | [] | no_license | aidden93/T3D | 1dd380df696ec2de9a579fe9222bcc81d4b3e80b | 99b807abc0702123392b113f4f7c0371ed00ca0c | refs/heads/master | 2021-07-13T00:20:41.679651 | 2017-10-17T13:08:33 | 2017-10-17T13:08:33 | 104,062,938 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 569 | h | House.h | // =========================================================================================
// KXG363 - Advanced Games Programming, 2012
// =========================================================================================
//
// Author: Robert Ollington
//
// cube.h
//
// Simple cube mesh with coloured sides
#... |
b850d5603e6088a45a3c031141e690356a1693f5 | 01dde47c678065fa56e2f302723bad19798188fc | /src/overlay/peer_network.cpp | 8a0afa5a55cb096dd939f9e035a08684307c1259 | [
"Apache-2.0"
] | permissive | lvci2018/bubichain-v3 | ed12242d3bb4e1cf50779e2ae8c83d1cd41cc264 | d8d689bc937aa38a53fdb0a64eced40024fee60f | refs/heads/master | 2020-03-17T17:20:26.511107 | 2018-05-17T02:11:22 | 2018-05-17T02:11:22 | 133,784,395 | 0 | 1 | null | 2018-05-17T08:39:52 | 2018-05-17T08:39:52 | null | UTF-8 | C++ | false | false | 27,225 | cpp | peer_network.cpp | /*
Copyright Bubi Technologies Co., Ltd. 2017 All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... |
41d6077a7365778c38618e59689d8e4968e282ae | 28430149cc3d5df0c7436180e986e6544dd5c043 | /explorator.cpp | 5501af0cdb4a26290ae8393a088cbef87be086f8 | [] | no_license | Madalina-Nicolescu/TreasureHunt | a4742bdd802f9ab5665d59cf0c491ae4b7ad63f2 | a51ca556f9e2c9eae5ea2301dae4577ac283fe59 | refs/heads/master | 2022-07-31T05:08:37.620685 | 2020-05-27T16:46:34 | 2020-05-27T16:46:34 | 260,288,647 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 767 | cpp | explorator.cpp | #include "explorator.hpp"
Explorator::Explorator():xHarta(-1),yHarta(-1),comoara(false),isAlive(true),nume_explorator("") {}
Explorator::Explorator(Harta& h, int x, int y, bool c, bool a, string n): xHarta(x), yHarta(y), comoara(c), isAlive(a), nume_explorator(n)
{}
Explorator::~Explorator()
{
this->nume_explora... |
f5348d8e7ee1b6cf65d92e59788135f2a4ee16a1 | cd46437c6b5062cfc63f165472b75c19ad5043c3 | /lib/IOutputFormatFactory.cpp | e594863170b1516ec8c550f70776f6242a15f9f4 | [] | no_license | lewellen/linearAssignmentProblem | caed783d0765a68a5f3e0013736b62f721935804 | 2eb048b331ad54b9e0257a4509247275a0aac454 | refs/heads/master | 2021-01-22T23:26:51.488129 | 2017-03-21T15:39:14 | 2017-03-21T15:39:14 | 85,641,951 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,312 | cpp | IOutputFormatFactory.cpp | #include <cassert>
#include <string>
#include "IOutputFormat.h"
#include "IOutputFormatFactory.h"
#include "LatexOutputFormat.h"
#include "ListOutputFormat.h"
#include "MatrixOutputFormat.h"
#include "TableOutputFormat.h"
using std::string;
const string IOutputFormatFactory::O_FORMAT_LATEX = "LATEX";
const string I... |
8f2c07f7aedfafb26c195203230cff42efd0f817 | afeedc93b8108c18eb58065d3843f69d6fcf6437 | /EUD-Ops/src/WindowsUI/DragListControl.h | bab6f14931bfdbab2e25f4124d816bcbcb84cc1d | [
"MIT"
] | permissive | TheNitesWhoSay/EUD-Ops | 649a5d1f32e275ae5b38f0b1bd5e4874414668f1 | 99846f59bb96b3d90c071b0216fef9d407d82f1c | refs/heads/master | 2022-03-30T11:36:16.470233 | 2018-01-01T13:52:55 | 2018-01-01T13:52:55 | 113,746,442 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 233 | h | DragListControl.h | #ifndef DRAGLISTCONTROL_H
#define DRAGLISTCONTROL_H
#include "WindowControl.h"
class DragListControl : public WindowControl
{
public:
bool CreateThis(HWND hParent, int x, int y, int width, int height, u32 id);
};
#endif |
ad97a0b8686443665bec2d662a23ee42e884c671 | 9f9660f318732124b8a5154e6670e1cfc372acc4 | /Case_save/Case20/case4/1700/k | 99d4fd76c4655e6b1846aa0047c005977bcd4034 | [] | no_license | mamitsu2/aircond5 | 9a6857f4190caec15823cb3f975cdddb7cfec80b | 20a6408fb10c3ba7081923b61e44454a8f09e2be | refs/heads/master | 2020-04-10T22:41:47.782141 | 2019-09-02T03:42:37 | 2019-09-02T03:42:37 | 161,329,638 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,801 | k | /*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: 6
\\/ M anipulation |
\*-------... | |
80c7f4f24c1604ac9bd95ecb081525dade4ffbe0 | 9cfb5e0fd4af48b28fe8b2ebf12d64503d877a3e | /determine_if_a_string_is_a_rotation/c++/start.cpp | cd47e97e70a4e16f4cee471c1ea9bbfd4ee03771 | [] | no_license | dnuffer/dpcode | ca5547ee42adef5fbe9e9171d65ffb84bd25d8bb | 0c772f1f4e86b1c8e21547a3865e0d1259dd020b | refs/heads/master | 2021-01-10T18:38:09.582635 | 2018-02-21T14:57:53 | 2018-02-21T14:57:53 | 4,272,218 | 35 | 5 | null | null | null | null | UTF-8 | C++ | false | false | 447 | cpp | start.cpp |
int main(int argc, char** argv)
{
assert(is_rotation("abc", "abc"));
assert(is_rotation("abc", string("abc")));
assert(!is_rotation(u8"aaa", u8"aa"));
assert(is_rotation(u"abc", u"bca"));
assert(is_rotation(L"abc", wstring(L"cab")));
assert(is_rotation(U"waterbottle", U"erbottlewat"));
assert(!is_rotation(R"(wa... |
75bf53a8c2e5e8d5a80e1187c9af46c2370e752a | 7446390f0213548cebe1362b2953438de8420d9e | /Analysis/BackgroundModel/interface/FitContainer.h | c62f9ae6b4a84b8c6748b94d61838efaefa0fd30 | [] | no_license | desy-cms/analysis | c223db1075dc7b21414e039501965438c1b3b031 | e1bd297c8ac1db4cdd2855caa7d652308196eaa8 | refs/heads/develop | 2021-04-09T17:12:11.830400 | 2017-05-16T13:07:25 | 2017-05-16T13:07:25 | 43,806,324 | 6 | 18 | null | 2017-04-18T12:57:01 | 2015-10-07T09:30:16 | C++ | UTF-8 | C++ | false | false | 5,454 | h | FitContainer.h | #ifndef Analysis_BackgroundModel_FitContainer_h
#define Analysis_BackgroundModel_FitContainer_h 1
#include <vector>
#include <string>
#include <memory>
#include <array>
#include <fstream>
#include "TH1.h"
#include "TFile.h"
#include "TCanvas.h"
#include "TObject.h"
#include "TString.h"
#include "TIterator.h"
#include... |
f6043692762b00ee9186abbd6203e64d57bfcc4f | 80b4644b3f653aa4fe4d9115fad867b4cb92ca32 | /oops/02-encapsulation.cpp | 6377dc5fd1107614911b67e7720252cf979c2ec6 | [] | no_license | devblin/datalgo | c50dea524dd25c54959bf4d5421d899ab6ed2ab8 | 6730fb7099c2b95024ddf124494fbb815001c572 | refs/heads/main | 2023-08-20T00:20:23.836436 | 2021-10-10T14:00:25 | 2021-10-10T14:00:25 | 325,352,851 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 824 | cpp | 02-encapsulation.cpp | #include <iostream>
using namespace std;
class Video
{
private:
/*
Attributes should be inaccessible outside class as per encapsulation concept,
instead provide getter and setter methods to the user for manipulating private attributes
*/
int likes, dislikes;
string name;
public:
Video(string n... |
072fe0ba87a8f367d5ab0db62b6315a4fa3c4a7e | be6601674657294784b9ef455c1773d73ad657d9 | /PandoraSDK/include/Persistency/XmlFileWriter.h | 913703e3863f0f90249fc66388279a5cf316f52e | [] | no_license | cms-externals/pandora | 0a7a7eaec6596f57bec89f28e72ac4eb04a68eb7 | 41abc90c25109c5bc91896079546e53a8586c057 | refs/heads/master | 2016-09-05T13:13:39.703922 | 2015-03-12T09:48:17 | 2015-03-12T09:48:17 | 31,168,496 | 0 | 1 | null | 2015-03-12T09:48:20 | 2015-02-22T16:01:51 | C++ | UTF-8 | C++ | false | false | 3,114 | h | XmlFileWriter.h | /**
* @file PandoraSDK/include/Persistency/XmlFileWriter.h
*
* @brief Header file for the xml file writer class.
*
* $Log: $
*/
#ifndef PANDORA_XML_FILE_WRITER_H
#define PANDORA_XML_FILE_WRITER_H 1
#include "Pandora/Pandora.h"
#include "Objects/CartesianVector.h"
#include "Objects/TrackState.h"
#includ... |
be3eca30bc08aca4aa404252a0a8f9b357d2b3d9 | 45ddf44888e8c46f5ea26d8accce1b90bb7d369c | /src/cstree.cpp | 866777b3145b036cb433250c040a9fdaf400bb0f | [] | no_license | cran/macs | f6976301ee37db4a5935dd2e1ba10bdb897cdf5f | 942277d8e42fedbd963f16f931c12ab69102c809 | refs/heads/master | 2020-12-22T00:59:13.824512 | 2019-10-09T12:30:03 | 2019-10-09T12:30:03 | 236,622,485 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 68,482 | cpp | cstree.cpp | /*the part is edited to compare several method for some real data*/
/*updated on December 10, 2009 from ver7. This was to correct the error in
printing the categorical variable. It involved two functions:
split_via_best() and print_int_string()
*/
#include <stdio.h>
#include <math.h>
#include <malloc.h>
#include <stri... |
e7b46a093abec552838cea59091f07658485a360 | f11059a855524ea036e4c17b1c19d11d54c16099 | /packages/feature_tracker/test/epipolar_feature_matcher_test.cpp | bffbcc4ff543ca2342290850847c3215924b2861 | [] | no_license | Forrest-Z/robot | 8edc6d27a6e69c343dde921dada2f2030fb7d8c2 | 66877347b3dd0fd5bd870a6d64fb5a606f4075c6 | refs/heads/master | 2023-04-04T11:58:33.925162 | 2021-04-15T23:25:29 | 2021-04-15T23:25:29 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,688 | cpp | epipolar_feature_matcher_test.cpp | #include "packages/feature_tracker/include/epipolar_feature_matcher.h"
#include "packages/calibration/include/kannala_brandt_distortion_model.h"
#include "gtest/gtest.h"
TEST(EpipolarFeatureMatcherTest, canInstantiate) {
calibration::CameraIntrinsicCalibration leftIntrinsics;
calibration::CameraIntrinsicCali... |
ad48da9227e2b6d29c353261885410590087ffb3 | d7968720b20b12e2293d913f3b997951a65e39ab | /asq.h | 217e5978ba64d96f43e4a01aac4a3720811184cd | [] | no_license | yozhipozhi/asq | 9625e3a02052bd5704ef04cb1f799632067e3646 | 19a01bd6983b6bbd158bde40775cebb7f680e7ee | refs/heads/master | 2021-07-24T13:59:55.010266 | 2017-11-06T07:01:27 | 2017-11-06T07:01:27 | 108,620,292 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,774 | h | asq.h | #ifndef INCLUDE_ASQ_ASQ_H_
#define INCLUDE_ASQ_ASQ_H_
#include <Arduino.h>
namespace asq {
template <typename T>
class array_t {
public:
array_t(const T& data) {
size_ = 1;
data_ = &data;
}
array_t(const size_t size, const T* data) {
size_ = size;
data_ = data;
}
... |
f016d27165f90b2272272673d306a4e36a8ad6e4 | 9ccc5fc2a6352967acd105b03158bca803e08add | /tool_algo_analysis.h | a46e76d3ca9f624f9ec76c79690ade64f1697c92 | [] | no_license | jacketsj/geometryvis | bb5aa4fd100edb2ff6c28b5b6a7f0fae922ded5d | ac69752398b4b6cc9689cd5af5bcfa4cb3ad61bd | refs/heads/master | 2022-09-28T06:04:24.271952 | 2020-05-10T09:49:53 | 2020-05-10T09:49:53 | 255,511,598 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 559 | h | tool_algo_analysis.h | #pragma once
#include <memory>
#include <vector>
#include "canvas.h"
#include "geometry.h"
#include "point.h"
#include "tool.h"
#include "tool_algo.h"
template <typename T, typename D>
class tool_algo_analysis : public tool_algo<D> {
private:
virtual std::vector<std::unique_ptr<geometry<D>>>
analyse(std::vector<st... |
ea07e95bd8de1a5f470296b6c8f13758b159f34b | 5767901e710139131a85e8ef4f952a51c4a9c41c | /CS264_C++/SoftwareDesignPatterns/FactoryExample/DominosPizza.cpp | 4a0f9dcfebd40de502007f52ee9d33a66d7d9e94 | [] | no_license | SobblesBobbles/Teaching | ff081e6277ab199f0042c657b60562881366da2b | c17ec33e178cdc9d35db6f77f9ff25d26f029259 | refs/heads/master | 2020-03-20T01:12:16.616318 | 2018-08-06T13:08:06 | 2018-08-06T13:08:06 | 137,069,623 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 818 | cpp | DominosPizza.cpp | //
// Created by Stephen O Brien on 17/06/2018.
//
#include "DominosPizza.h"
#include "HawaiianPizza.h"
#include "Ticket.h"
DominosPizza::DominosPizza(){ //default constructor
}
Pizza* DominosPizza::makePizza(Ticket* t){ // dominos has the ability to make pizza
Pizza* pizza;//pointer object to pizza to be r... |
2a0325e07af65530aa032ae9aa2c2b190aeabc5b | 18c9f462701dd6cd3c8cea41ce44b4ecdd24ec17 | /baekjoon/16946 벽 부수고 이동하기4.cpp | 105607ec5434e56dee93df2ada7ccaa24575a06d | [] | no_license | Jiyoung-h/algorithm | 9ad35ca6c1fd0b9f6516e51b3b9ff56b5d39eebd | a5423647ee61e889156aeb00c6473c65d5532aa8 | refs/heads/main | 2023-04-19T23:38:37.412730 | 2021-05-02T08:59:26 | 2021-05-02T08:59:26 | 324,719,207 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,015 | cpp | 16946 벽 부수고 이동하기4.cpp | #include <vector>
#include <queue>
#include <set>
#include <iostream>
#include <algorithm>
using namespace std;
int dx[4] = { 0,0,1,-1 };
int dy[4] = { 1,-1, 0,0 };
int n, m;
vector<vector<int>> board;
vector<vector<int>> space;
vector<vector<bool>> visit;
vector<int> table;
void bfs(int x, int y, int index) {
queue<... |
a2593fe98661e5868100a3184a31e7f5d05ae1cf | fe2f14cd988cf4d18c825a2e4dbaf65348ed6597 | /lib/include/FlexWorld/LuaModules/Server.hpp | 3679638b31c2534643df6e64a5d284c0b264f1ef | [] | no_license | TankOs/flexworld | 3d3ec9f6b5cf86d7d47ca84c80ce203698141bc1 | 5d52565265b213cd2149ff1ccf5212a941f13cfd | refs/heads/master | 2021-01-20T16:59:45.307383 | 2017-02-23T12:32:56 | 2017-02-23T12:32:56 | 82,852,790 | 5 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,698 | hpp | Server.hpp | #pragma once
#include <Diluculum/LuaVariable.hpp>
#include <Diluculum/LuaFunction.hpp>
/*#include <SFML/System/String.hpp>
#include <map>
#include <vector>
#include <cstdint>*/
namespace Diluculum {
class LuaState;
}
namespace fw {
namespace lua {
class ServerGate;
/** Server Lua module.
*/
class Server {
publi... |
8c379f19f01bcae80051d23de3f2740fb1c69047 | fbcd022a857478155d4137aa4c444e09c2e1eac4 | /thuchanh6/bai5/circle.cpp | 2e62665d546d65f312e164fe41c2cc5931f676b0 | [] | no_license | nhaantran/oop | 9701b19b92bcb1d4bad13b17c35b13b493eab219 | 013b7bb9cf9165f9b41ca06d8b34848e5598a596 | refs/heads/master | 2023-07-17T05:01:33.178916 | 2021-08-30T15:26:15 | 2021-08-30T15:26:15 | 393,911,676 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 729 | cpp | circle.cpp | #include "circle.h"
#include <iostream>
#include <math.h>
using namespace std;
#define PI 3.14159
circle::circle()
{
this->side = new int;
this->fradius=0;
}
bool circle::check()
{
if(this->fradius>0)return 1;
return 0;
}
void circle::set()
{
do
{
cout<<"Input radius: ";cin>>this->side[0... |
da8b20d9aacda208b0ed764457763ff067211800 | 19494ab42920a2826d49550d3a6b4050439d43f6 | /src/textbox.h | 7fb56171462a75c90c306d61e040e9d790e6c1d6 | [] | no_license | hvent90/zSILENCER | 3978b1491d7503d62a6315a71a45d19f4082fb6a | 16f7c7cb96385f5a2e5c949dbaef9f63c3423fd6 | refs/heads/master | 2020-08-06T16:57:27.794597 | 2017-08-01T04:58:34 | 2017-08-01T17:58:09 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 592 | h | textbox.h | #ifndef TEXTBOX_H
#define TEXTBOX_H
#include "shared.h"
#include "object.h"
#include "sprite.h"
#include <deque>
#include <vector>
class TextBox : public Object
{
public:
TextBox();
void Tick(World & world);
void AddLine(const char * string, Uint8 color = 0, Uint8 brightness = 128, bool scroll = true);
void AddTe... |
43af0109c8f32ee65e992e6d3710aa046d257cca | e5f046bdc51bb6583a256cb6633cca39b98952e0 | /main_with_ring_cache.cpp | efd323aa0bf75a60c882d045947c3fce092e7460 | [] | no_license | kongjialin/Cassandra-thrift | 6e1db9bdc8113e63b9c1593d4c77ac6c37e4ab2a | 6b46dbc538f4841ddcfff499ee07b417a7b8b20e | refs/heads/master | 2021-01-15T14:43:13.302302 | 2014-12-08T10:46:20 | 2014-12-08T10:46:20 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,033 | cpp | main_with_ring_cache.cpp | #include "offline_manager.h"
#include <atomic>
#include <stddef.h>
#include <algorithm>
#include <vector>
#include "common/base/functor.h"
#include "common/base/join_functor.h"
#include "common/base/timestamp.h"
#include "random_message.h"
#include "thirdparty/boost/thread/thread.hpp"
#include "thirdparty/gflags/gfla... |
d4e00da3a7d61d7d8ccc80553cb9115a1e5673d0 | c997e853620d739ddbd430b663984f6fc10bc460 | /DS18B20-2CAPT-virtuino/DS18B20-2CAPT-virtuino.ino | b2fe48097ba84806ab6dbcbd5410f631a2e2360a | [] | no_license | alismont/Mesdag-lobet | a791d2cdeed5dcaa89a6cb412831afbed49432ef | 115af8f30fd6eb3cfcc03d14c6375bd7382eb9b4 | refs/heads/master | 2021-01-21T17:13:07.940123 | 2017-05-21T08:06:08 | 2017-05-21T08:06:08 | 91,940,546 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,978 | ino | DS18B20-2CAPT-virtuino.ino | /* Virtuino example No1 (Bluetooth)
* Example name = "Hello Virtuino World"
* Created by Ilias Lamprou
* Updated Jul 01 2016
* This is the code you need to run on your arduino board to cummunicate whith VirtUino app via bluetooth
* Before running this code config the settings below as the instructions on the righ... |
c6b22cc5a9e2243f9415b683a6c90df8ac579c9a | f13ef18abfb61d983040f83249bd19c6f55c29c9 | /dsa/WAA-TRD/accel/classification-pre_int8/include/common/xf_axi_sdata.hpp | 42425933d809caada00cd03eda721ec827afa51e | [
"LicenseRef-scancode-free-unknown",
"Apache-2.0"
] | permissive | AEW2015/Vitis-AI | 5487b6474924e57dbdf54f66517d1c604fc2c480 | 84798c76e6ebb93300bf384cb56397f214676330 | refs/heads/master | 2023-06-24T11:02:20.049076 | 2021-07-27T05:41:52 | 2021-07-27T05:41:52 | 390,221,916 | 1 | 0 | Apache-2.0 | 2021-07-28T05:12:07 | 2021-07-28T05:12:06 | null | UTF-8 | C++ | false | false | 1,496 | hpp | xf_axi_sdata.hpp | /*
* Copyright 2019 Xilinx, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... |
0bbfe95e4b6f3375ece47fdfe4ecd5acd3b38789 | c6506db403966fe16791da391d00506587fd0cfe | /seminar 2/Source.cpp | 4f5c2fa19b6978f73d1ca7db55d33b1837b1e56f | [] | no_license | adelamaria2301/1060 | ef211ec2f4d428c480ae355e4df740b19c060676 | f145161fd83fdefba25d8516a5f36077ce88dd99 | refs/heads/master | 2022-03-30T01:46:34.943543 | 2020-01-18T11:13:13 | 2020-01-18T11:13:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,099 | cpp | Source.cpp | #include<iostream>
using namespace std;
class Persoana {
private:
char *CNP;
protected:
public:
char *nume;
int varsta;
Persoana() {
this->nume = NULL;
this->varsta = NULL;
this->CNP = NULL;
}
Persoana(char* nume1, int varsta1) {
this->nume = new char[strlen(nume1) + 1];
strcpy(this->nume, nume1);
... |
afcf3eabed2b3be247e4350107499d0138d9c8ef | af2fc5a99365a18aa3099e8dd77d0f1a4b591444 | /include/utils/dot_representation.hpp | 00cf387ea0d9cd78d3ec64dca76abca36e277915 | [] | no_license | maxs-im/LTL_to_NGA | 712fbcad302f1c372e75b11dd188641901b76941 | cba2c567d412b8b6319566175ac2eb2dc8cda02a | refs/heads/main | 2023-04-30T02:55:01.367531 | 2021-05-19T22:57:26 | 2021-05-19T22:57:26 | 366,546,339 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 338 | hpp | dot_representation.hpp | #pragma once
#include "ltl/closure.hpp"
namespace dot
{
/// \param simplify: do not print formula inside circles
/// \return first element is a state representation and the second is a dot-language graph
std::pair<std::vector<std::string>, std::string> convert_to_dot(const std::shared_ptr<ltl::converting>& algo);
}... |
6bb1c297766ac34f32085da865b36c84877a4450 | f8795251dfe29747f7a30c2a506366b2cb91ae6b | /leetcode/算法/N0005-二进制求和.cpp | 9f63e1e2d5644e3f012f5941991dbd5c1d014e45 | [] | no_license | Niusgit/Cplusplus | 5b22da67d5d8a7047ee048b880bdaaed186cbd81 | 6c08c01c0d4c7c19ab45ab6eacd4c8ae95c0e1c9 | refs/heads/master | 2022-07-26T11:23:28.483388 | 2022-07-07T13:12:09 | 2022-07-07T13:12:09 | 123,245,174 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,304 | cpp | N0005-二进制求和.cpp | #include <assert.h>
#include <stdlib.h>
#include <algorithm>
#include <iostream>
#include <string>
// std::string addBinary(std::string a, std::string b) {
// bool over = false;
// std::string ans;
// int i, j;
// for (i = a.length() - 1, j = b.length() - 1; i >= 0 && j >= 0; i--, j--) {
// i... |
d6898e7f8c52fde8f5f855de6251d0d7edb8c21e | 0d79c4be8e471163a9ab248ced1b38292b82e4b2 | /375div2/A.cpp | 1017c6873df931c6c237e85ec3b631b010e7135f | [] | no_license | KhusainovAydar/codeforces | c2969022c6d9c3a9bd0e5bc524a9c2b57fb152fb | 922db9f3147aff6ccbcf4e5d0981a66355703f6b | refs/heads/master | 2020-05-05T01:19:55.869594 | 2019-04-05T02:39:17 | 2019-04-05T02:39:17 | 179,599,612 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,007 | cpp | A.cpp | #include <bits/stdc++.h>
#define fi first
#define se second
#define endl '\n'
#define pb push_back
#define INF 10000000
//#define pi 3.1415926535897932384626433832795
#define eps 0.0000000001
#define cntbit(x) __builtin_popcount(x)
//#define double long double
//#define int ll
using namespace std;
typedef long long l... |
1e7f4bce8d5a4e13fb53df71f95b07cd80950431 | a4a2e44ec7d78bf81a3c8a01f91115fc2fc388f8 | /include/hermes/VM/MarkBitArrayNC.h | 2ab272ea349366e4ee5153482411f2d5daa657b6 | [
"MIT"
] | permissive | callstack/hermes | 17fdfad6116ec39bf09c01195e66e9160f65cffa | 76698490d890e4697ddca2b32e3291f2149c8860 | refs/heads/master | 2022-12-30T14:57:01.733726 | 2020-08-17T17:02:20 | 2020-08-17T17:05:12 | 288,255,047 | 1 | 0 | MIT | 2020-08-21T08:22:10 | 2020-08-17T18:21:39 | null | UTF-8 | C++ | false | false | 6,175 | h | MarkBitArrayNC.h | /*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#ifndef HERMES_VM_MARKBITARRAYNC_H
#define HERMES_VM_MARKBITARRAYNC_H
#include "hermes/Support/OSCompat.h"
#include "hermes/VM/Ali... |
9917bdf6456e27447d4aeac5f437596dd9ff3697 | a3af09a2125a02cb36c08c31a8bbaa1f98756530 | /source/CellAnimation.cpp | 58c642ceb19148aa84ecfbbd1101517336b64abd | [] | no_license | erictruitt/SuperMarioClone | 408e97ff81fe7b9b0b17487f06f3dbf7dcd54592 | 83a2923b125c5cda8c45ba51ce86ffaec55196c0 | refs/heads/master | 2021-01-11T20:33:36.932757 | 2017-02-17T22:11:05 | 2017-02-17T22:11:05 | 79,144,723 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,243 | cpp | CellAnimation.cpp | /***************************************************************
| File: CellAnimation.cpp
| Author: Eric Truitt
| Course: SGD 1410
| Purpose: CellAnimation class runs a fixed-size animation
| from frame 0 -> n-1
***************************************************************/
#include "CellAnimation.h"
#include... |
02c532f39c49aff9c646f30cdd0c54bc1f540c54 | 7a18ac32354f0e8d2e6b733f91e8b29d756897b1 | /VirtualWorld_CPP/HeracleumSosnowskyi.h | d1d0496e4b46aec5a2949c79f749631315add6f9 | [] | no_license | iceShaver/VirtualWorld_CPP | e49f4aa1e71cfc819fcd3f7bc768024bef116d23 | fc96885a683654892acabc2e1adab390aa222ecc | refs/heads/master | 2021-01-19T16:48:08.238049 | 2017-04-24T01:20:52 | 2017-04-24T01:20:52 | 88,286,259 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 329 | h | HeracleumSosnowskyi.h | #pragma once
#include "Plant.h"
class HeracleumSosnowskyi : public Plant
{
public:
HeracleumSosnowskyi(World* world, OrganismPositon organismPositon);
~HeracleumSosnowskyi();
void act()override;
ResistType resistsAttack(const Organism*otherOrganism)override;
void sow(const OrganismPositon& organismPosition) overr... |
3fd91233b63cc9ec64c4ccd0eca39ea2a645d645 | 31b96119ab38d2c824a5cf76626c4719add95d8d | /Client.h | 084baa23b105b7a6656abb9a36f5c4340622fb0b | [] | no_license | mikeycrostar/camera-tracking | ac34e7d536d9dc3a2a137ce95f4ab471a97cf886 | f0176f1be7a28a4fefd9a35e0bbaf05e1f5b8cd2 | refs/heads/master | 2021-01-25T00:10:00.961762 | 2015-05-14T20:18:16 | 2015-05-14T20:18:16 | 35,634,767 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 290 | h | Client.h | #pragma once
#include <winsock2.h>
#include <WS2tcpip.h>
#include <iostream>
#include <string>
#include "Barycentre.h"
#include <cstdio>
class Client {
public:
Client();
Client(char *ip, int port);
~Client();
void deco();
void SendCoord(t_donnee coord);
private:
SOCKET sock;
};
|
a770b6675b4a1aeb6393563c459d998d4ad9a90e | 7a277bce4c8006fbc7bd23ece6fbdd4508db2220 | /parsers.h | d55c98ae9dd7ab0de04ae67595f5db12f5d74bfd | [
"MIT"
] | permissive | JoshuaDriesman/BaseballStats | 24ba68930318742ca9a0ed9a771a29979438fee2 | 728373729328b1dfc2e0a285450274d7fbd53b11 | refs/heads/master | 2021-05-31T10:47:43.805974 | 2016-02-11T15:12:43 | 2016-02-11T15:12:43 | 51,522,856 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 725 | h | parsers.h | /*
* stats.h
*
* Created on: Jun 10, 2013
* Author: joshua
*/
#ifndef STATS_H_
#define STATS_H_
#include <vector>
using namespace std;
typedef struct {
char playerID[13];
int year;
int stint;
char team[4];
char leagueID[3];
char position[3];
int games;
int gamesStarted;
int inOuts;
int putOuts;
i... |
a9032f93ffbe78751cce3a0c5545ac0746632797 | e85a2afd66dcdc705ca2ba085763143be108ffff | /cpp/design/Observer.cpp | 91f6d8e7eaa92c4803cd7435061e02ecccbcc0e5 | [] | no_license | xulidong/c_cpp | c5d6b36d5ed02fbabc905e8cc6df57b5a038aff4 | 4222496e79cff1dc6349b29825146a1c619881d2 | refs/heads/master | 2020-12-25T15:17:38.788355 | 2016-08-17T09:34:59 | 2016-08-17T09:34:59 | 65,895,051 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,184 | cpp | Observer.cpp | #include <iostream>
#include <list>
using namespace std;
/*
* 观察者模式
* 一对多的关系
* */
class Secretary;
class PlayerObserver {
public:
PlayerObserver(Secretary* secretary) {
this->secretary = secretary;
}
void update(string action) {
cout << "action: " << action << ... |
084c5bafdba923c2f2bad443a3c2de1ec12929b6 | d9a5c093b6e530b49957e6f1e567b3b93f02b176 | /src/sources/bin_tree_checker.cpp | 73b754342f8051932a5d282b42085bcbb855ffc9 | [] | no_license | annalieks/speller | f5799ede73600b67f25031b238cd543650c73d91 | 9b7d17e71333709ea3f4dcae292be5b877c478b9 | refs/heads/master | 2022-04-13T22:15:02.239203 | 2020-03-10T20:45:24 | 2020-03-10T20:45:24 | 244,495,867 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,912 | cpp | bin_tree_checker.cpp | #include "bin_tree_checker.h"
// virtual function that adds element to the tree
void BinTreeChecker::add(const File& file) {
timer->startTimer();
addValueByIndex(0, int64_t(file.getWords().size()) - 1, file.getWords());
addingTime += timer->getPassedTime();
}
// recursive function for calculating element in... |
dc74d6370f1e73932dc8e6890287fabf040eb7b7 | 94d8b66f6512f2f17f77000729fd8ac999484ed3 | /workspace/Samples/SiviaIbex/ibex-2.0/include/ibex/ibex_CtcNewton.h | 0ae94789d1cce6242ca33b47c36f6d3c1980e5a7 | [] | no_license | utctao/reliable-slam | 7885c098574afb5284675a6f022d368f7f303ba6 | 1f00c584d9dacfc17e31e0aa91b0d717998b0310 | refs/heads/master | 2021-01-20T19:49:49.038094 | 2013-07-22T21:50:55 | 2013-07-22T21:50:55 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,741 | h | ibex_CtcNewton.h | //============================================================================
// I B E X
// File : ibex_CtcNewton.h
// Author : Gilles Chabert
// Copyright : Ecole des Mines de Nantes (France)
// License : See the LICENSE file
// Cre... |
00a3fb8b29509f74d64d92e46158d0b9750a10f5 | 986625313ad411f8b9720d98dd354106c989a182 | /DrawDistance/main.cpp | de3b4db77db71610bdb1b964b0a6e969054647e3 | [
"MIT"
] | permissive | sugoma245/AMLMods_GTASA | 044f4d03ea529ca3ba0640d47176d753fe4fe752 | 7cdf312098ba0c166ab873e978c906021d972f08 | refs/heads/main | 2023-07-10T06:47:25.613896 | 2021-08-15T14:18:27 | 2021-08-15T14:18:27 | 396,845,701 | 1 | 0 | MIT | 2021-08-16T15:05:10 | 2021-08-16T15:05:09 | null | UTF-8 | C++ | false | false | 7,094 | cpp | main.cpp | #include <mod/amlmod.h>
#include <mod/logger.h>
#include <mod/config.h>
#include "isautils.h"
ISAUtils* sautils = nullptr;
#define THUMB_ADDRESS(_address) ((_address) | 1)
MYMODCFG(net.rusjj.gtasa.drawdistance, GTA:SA Draw Distance, 1.0, RusJJ)
NEEDGAME(com.rockstargames.gtasa)
BEGIN_DEPLIST()
ADD_DEPENDENCY_V... |
03a24b143ac9b6bc2a5ca1a6449f9650d19e8574 | 25da2b85d5623bd03306a2f612e969a3d7927c74 | /servidor/Clases/ClienteProxy.cpp | 63520ba36ba3784982f0512fe3b90cde94e14e91 | [] | no_license | moreover22/ArgentumOnline | f55e7863e31d0e73e474a2ee9c86fe17b91da522 | 80f334112c42d35e2303f45eb64f1b1ce9cf06c7 | refs/heads/master | 2023-03-18T22:08:57.574188 | 2020-07-21T20:36:42 | 2020-07-21T20:36:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,264 | cpp | ClienteProxy.cpp | #include "ClienteProxy.h"
#include "Divulgador.h"
#include <iostream>
#define TAM_CODIGO 4
ClienteProxy::ClienteProxy(Socket unSocket, Cliente *miCliente) :
socket(std::move(unSocket)),
cliente(miCliente),
colaOperaciones(nullptr),
... |
c6228b6751159e7f0fc039900a660f9bd92baf45 | 0a8dec67441227c416912575d27b10796be4734f | /cpp/module00/ex01/Contact.class.cpp | 7d10687ed186727a0463c4f60fd9e503d6008e50 | [] | no_license | lucasnfarias/42Cursus | 0fc1a6508797914bcb00d48dfcae59e660e5f8eb | a938ec0dabe1cceedbf6826d8c55bac492a0fe74 | refs/heads/master | 2023-02-19T02:25:11.039210 | 2023-02-12T02:30:13 | 2023-02-12T02:30:13 | 237,063,426 | 11 | 2 | null | 2022-12-12T00:42:25 | 2020-01-29T19:21:30 | C | UTF-8 | C++ | false | false | 2,791 | cpp | Contact.class.cpp | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* Contact.class.cpp :+: :+: :+: ... |
adcf34ea5948ce8255325112c265531b241deb52 | 0f34254882dc256377900fe8785af6e96a675395 | /ContainerWithMostWater/a.cpp | 5e5e0acd243db5812980230377f1e2171179d5d4 | [] | no_license | Shirish111/LeetCode | 349a4f0de952691ad8c995d40df50a178a48d76e | 49e10292579f9da5176bb55735c4b4792c0f302e | refs/heads/master | 2022-04-28T20:09:53.545944 | 2020-04-30T20:13:28 | 2020-04-30T20:13:28 | 215,360,477 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,130 | cpp | a.cpp | // Container With Most Water
// Given n non-negative integers a1, a2, ..., an , where each represents a point
// at coordinate (i, ai). n vertical lines are drawn such that the two endpoints
// of line i is at (i, ai) and (i, 0). Find two lines, which together with
// x-axis forms a container, such that the container ... |
84db8acd617e87a89dfe67c51126bc349acdafb4 | 864c0806421c1c44e20281c5d771fcd8b5e272e5 | /src/Camera.h | 448363140c00c98424d75e1f28cf966222d73f3f | [
"LicenseRef-scancode-public-domain",
"BSD-2-Clause"
] | permissive | ElChapos/BlockWorld | fe7a14d77144cd84c2cb51e6574bfb4644511f3c | 9fcd224682ef52a1ca82d7f4ff6c1b39afe97b94 | refs/heads/master | 2020-12-31T06:58:12.179642 | 2016-06-02T16:21:16 | 2016-06-02T16:21:16 | 56,694,136 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 697 | h | Camera.h | #include <iostream>
#include <string>
#include <glm/ext.hpp>
#include "common.h"
#ifndef SRC_CAMERA_H_
#define SRC_CAMERA_H_
class Camera {
public:
Camera();
void CheckCollision(glm::vec3 bounding_box_max, glm::vec3 bounding_box_min);
glm::mat4 UpdateCameraPosition(Input input_direction,... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.