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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
414e8c86308a975a16049299ea1b83c8c481a8ff | 29381c7e4601c308ac4f8a1a118fff849a80d4c9 | /Back_End/Communication_files/initConn.cpp | a2ee1a55e8263edce96663b2e13bc136f2fce341 | [] | no_license | MatiasDwek/EDA-Worms | 78f929d19314970a50d1b80b8f6063ac76da9876 | 36a3f61d9d096fe1d8a86c950c9256d9b61cd9ee | refs/heads/master | 2021-01-10T23:45:39.690010 | 2016-10-09T14:16:29 | 2016-10-09T14:16:29 | 70,406,936 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,155 | cpp | initConn.cpp | #include <iostream>
#include <cstdio>
#include <cstdlib>
#include <cmath>
#include <string>
#include <cstring>
#include <unistd.h>
#include <ctime>
#include <conio.h>
#include "../../polonet.h"
#define ALLEGRO_STATICLINK
#include <allegro5\allegro.h>
#include <allegro5\allegro_primitives.h>
#include <allegro5\allegro_... |
5f4c97894c8d1ec915e4bf09b882d47ea28f64da | b9e34dcbe2ce2e03a3dfe96024dbd65188888a62 | /cUnitState.h | 5b23fcf1bdcf3761a5bb9a03aeb8433f0553ac80 | [] | no_license | bakaba192/Farland | 3de04446624376453eebab299ed46b94847fdae3 | 1d67aeb02b506d71a9901923be89af3c4971bc89 | refs/heads/master | 2021-01-21T02:24:04.183565 | 2017-12-07T17:23:21 | 2017-12-07T17:23:21 | 101,888,808 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 524 | h | cUnitState.h | #pragma once
class cUnit;
//유닛의 특정한 동작을 설정할 수 있다.
//카린은 플레임버스트 스킬사용 이라는 상태를 가진다고 가정하면
//아리스는 치유스킬 사용이라는 상태를 가지게된다.
//이 모든 행동은 init, update, render사이에서 일어나게 될것임.
class cUnitState
{
private:
cUnit* unit;
public:
cUnitState(cUnit* unit);
virtual ~cUnitState();
virtual void init();
virtual void update();
virtual ... |
325f9055ecae1b756b17b6bb63afb5ad656c7b6c | a5711cf4b4a6ea662bc8b4859c66f62ed04170ef | /factory.h | 32feec12e88d73b293ba5dd5da71ff10be9e8d3b | [] | no_license | lulu2184/CommentRemover | 9b4eb2f1c8d1668db178d37b3044116f52de3e70 | 5467274fadc0ef2d072a6069bde836cabe7ba5ff | refs/heads/master | 2021-01-13T04:35:10.444371 | 2014-10-28T01:58:38 | 2014-10-28T01:58:38 | 25,848,000 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 539 | h | factory.h | #pragma once
#include <string>
#include <set>
#include "processor.h"
using namespace std;
enum ProcessorType
{
ERROR = 0,
MATCHED_FILE,
NOT_MATCHED_FILE,
FOLDER,
ROOTFOLDER
};
extern set <string> g_ExtensionSet;
bool IsDir_ForLinux(const char *InputPath);
void BuildExtensionSet();
bool MatchExtension(const char... |
e2ab3628ae56902b43b112e160fddfb453657989 | bb6759e96dcff9b4e1259b2eb3392f6f3787c7c5 | /1964_오각형.cpp | 43aea9b84d294ea03c9eed83b55fa130d100049e | [] | no_license | chasyujang/Baekjoon | b852d14fd5afd74ca44c0e277da372d04bc6cd54 | 71891a840b690b32a7ea459c6865137603c84676 | refs/heads/main | 2023-09-05T09:07:00.056293 | 2021-10-19T04:34:57 | 2021-10-19T04:34:57 | 411,156,092 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 441 | cpp | 1964_오각형.cpp | #define _CRT_SECURE_NO_WARNINGS
#include<iostream>
#include<string>
#include<string.h>
#include<functional>
#include<math.h>
#include<set>
#include<vector>
#include<algorithm>
#include<stack>
#include<sstream>
using namespace std;
int mod = 45678;
int main() {
int n;
cin >> n;
long long sum = 5;
if (n == 1) {... |
5d3b39a2abad46145c43c9bb75d98ae6f28a063a | 478207bfab006191ee5843c9d9ecaf672a83c45c | /Institutions/Institutions/String.h | cd6721f7ebcbbaa25230bd5ed487cbdc27d0c8ce | [] | no_license | lilCentipede/Institutions | c1004c9b9f36e16c7bc0e52240570b4569a3ca34 | ef98c31ea9a9099a2f1f3a6f6d3a235c6677620b | refs/heads/main | 2023-03-15T05:28:46.947901 | 2021-03-25T21:01:24 | 2021-03-25T21:01:24 | 351,572,420 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 880 | h | String.h | #pragma once
#include <iostream>
#include <cstring>
#include <cassert>
#pragma warning(disable : 4996)
const int INCREASE_FACTOR = 10;
class String
{
private:
char* str;
int size;
int capacity;
public:
String();
String(char c);
String(const char* s);
String(const String& other);
~String() { delete[] str; }
i... |
1b6b90573eb9900018cb30745a855eabad8b638a | c7dadd5f8ca9e65b051e4ee86286c1732bbe294b | /Data structures/ceaser_str.cpp | 0c584554a03d3092cd53e4df520e8ab0334351fb | [] | no_license | vanshkapoor/DS-ALGO | 36c31e0b1a315fafcfa073a1cf9ad507b5c0923e | ea7835b5871c160bd8b09ea098e4e36771b07dcb | refs/heads/master | 2021-07-05T23:21:40.160282 | 2020-11-29T21:47:43 | 2020-11-29T21:47:43 | 206,524,703 | 2 | 7 | null | 2020-11-30T14:27:08 | 2019-09-05T09:23:52 | C++ | UTF-8 | C++ | false | false | 1,225 | cpp | ceaser_str.cpp | #include <iostream>
using namespace std;
void caesarCipher(string s, int k)
{
char ch;
for (int i = 0; i < s[i] != '\0'; i++)
{
ch = s[i];
if (ch >= 'a' && ch <= 'z')
{
// ch = s[i];
ch += k;
if (ch > 'z')
{
ch = ch -... |
6a8d3d780df9be485dad005f6d66fbf8f464d2d2 | 33514b82726bc166aea73f4e01431505fd040184 | /122A.cpp | 336d97f1dd2ea8faaa035910edb9591110275296 | [] | no_license | JahidulHasanRabbi/CodeForce-Cpp | 2e1d434dec58d62deac7b3ad3cf7e34aeaf368a4 | 1e9a091efc7eb19ba98d69be07c910cc7a8ede99 | refs/heads/main | 2023-07-14T15:45:50.933748 | 2021-08-25T14:02:18 | 2021-08-25T14:02:18 | 399,838,102 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 391 | cpp | 122A.cpp | #include<iostream>
using namespace std;
int main()
{
int num[14]={4, 7, 44, 47, 74, 77, 444, 447, 474, 477, 744, 777, 774, 747};
int n;
bool flag=0;
cin >> n;
for(int i=0; i<14; i++) {
if(n%num[i] == 0) {
flag=true;
}
}
if(flag) {
cout << "YES" << endl... |
254ad1ecdac6d3ac301e87707ed3b8ec7ac2f3c2 | 99e86e6ee991f855c061a10cdef00ede3ee383fd | /14_OperatorOverloading/main.cpp | 96671f87bd911335a771542e7b3e8f06a5d48d3e | [] | no_license | slim-sheady19/CPP_Udemy | b8a3e9af21012a7340dcee37771517f9f27e81ed | d27d2fa437a13588e1643649c683d67f805c6759 | refs/heads/main | 2023-06-02T07:50:24.054252 | 2021-06-17T18:26:00 | 2021-06-17T18:26:00 | 364,392,605 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,622 | cpp | main.cpp | // Section 14
// Overloading copy assignment
#include <iostream>
#include <vector>
#include "Mystring.h"
using namespace std;
int main() {
//161. OVERLOADING ASSIGNMENT OPERATOR (MOVE)
Mystring a{"Hello"}; //Overloaded constructor
a = Mystring{"Hola"}; //Overloaded constructor then move assignmenet... |
4778df8582127210c9fd94906f0dc3c818dba78d | 79e1a66a49a02bba6a25022c3816bc60a564d825 | /singleton/singleton_lock.h | f6056e2c3c23adce4a9c3e517705e35615823615 | [] | no_license | t107598066/Design-Pattern | b1e779f6f447ddae8225eaecd91cca537fc218db | dbb6317f60fb564113d3f0c1540fb8d62bb1bff8 | refs/heads/main | 2023-04-23T12:11:30.337101 | 2021-05-10T11:22:10 | 2021-05-10T11:22:10 | 366,017,035 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,004 | h | singleton_lock.h | #include <iostream>
#include <WinSock2.h>
using namespace std;
class Singleton_lock
{
private:
static Singleton_lock* instance;
//臨界區,防止多線程產生多個實例
static CRITICAL_SECTION m_Sec;
Singleton_lock()
{
}
public:
static CRITICAL_SECTION* getl... |
67b2039ea88b1527238ea448db77b9b8fe070003 | 5b3f52abdec713ad219f613da03399185923b6a5 | /BubbleBobble/BubbleBobble/BaseState.h | 054ce948ab59d47a19ba29e99cf61f6699282223 | [] | no_license | 17srb01/BubbleBobble | 252f5c86388048d5778aaf88329e8413c50c0ce5 | 8d30028614eb2a83d6907a646f25b16ce02f4552 | refs/heads/master | 2021-01-21T10:46:08.347210 | 2017-05-10T20:50:44 | 2017-05-10T20:50:44 | 83,478,245 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,072 | h | BaseState.h | #ifndef BASESTATE_H
#define BASESTATE_H
#include <string>
#include "SFML/Graphics.hpp"
#include "GameObject.h"
#include "InputManager.h"
class BaseState
{
public:
BaseState();
BaseState(sf::RenderWindow *);
~BaseState();
//Allows states to stop and switch between each other.
//Planned to be use to stop GameStat... |
640272495a290eef302294db5be1e2d791dfc078 | cbc55b359bb7fae22824a7ebc3734e0c756da0d5 | /dependencies/PyMesh/tests/tools/Wires/Inflator/WireProfileTest.h | 3a1adc93e3bce2e49fa770b7ff2e1754b6166460 | [
"MIT"
] | permissive | aprieels/3D-watermarking-spectral-decomposition | 6a022f87b25b5d056561ad7159dab1300530b0bf | dcab78857d0bb201563014e58900917545ed4673 | refs/heads/master | 2020-03-09T06:45:03.420116 | 2018-06-03T15:54:35 | 2018-06-03T15:54:35 | 128,647,275 | 7 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,894 | h | WireProfileTest.h | /* This file is part of PyMesh. Copyright (c) 2015 by Qingnan Zhou */
#pragma once
#include <cmath>
#include <iostream>
#include <Wires/Inflator/WireProfile.h>
#include <WireTest.h>
class WireProfileTest : public WireTest {
protected:
virtual void SetUp() {
m_rel_correction = Vector3F::Zero();... |
c1d75daa36a1f7b8d118409ef7a981e016b2aea1 | 04ca8ee975d060f841f71c7f1ca7a6f0bcee47b6 | /quadcopter_flight_software/logger.cpp | d29e563389947bddc2401fe8f9563c13c8079fe7 | [] | no_license | larrykvit/quadcopter_flight_software | ee7b7dd63ae838f5a5d47741145395f8e9ce8996 | 7d7969d6219c87e74071e21726cf45a7bb031e45 | refs/heads/master | 2021-01-19T10:34:36.363096 | 2012-09-30T19:42:23 | 2012-09-30T19:42:23 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,145 | cpp | logger.cpp | #include "stdafx.h"
#include "logger.h"
#include <stdlib.h>
#include <string.h>
#include <time.h>
#include <Windows.h>
QLogger::QLogger()
{
f = CreateFile( TEXT("log.txt"), GENERIC_WRITE, FILE_SHARE_READ, NULL, OPEN_ALWAYS, FILE_ATTRIBUTE_NORMAL, NULL );
if( INVALID_HANDLE_VALUE == f )
{
throw "error";
}
if( ... |
2b4ef352688e7a6462e9d91aec56c556a7e9e02e | 2cab89672b04819ce94bc7ba4a45cf99f4953f9a | /ShanCheng_Game/Source/ShanCheng_Game/GameBase/SCAnimationManager.h | 57ad6761360bfe1d8d637698e923db24fb93dbc3 | [] | no_license | awplying14/DCB_ShanCheng | 998f44bd7aabc2cf98c20d0c5eb74c9d6aa2f7d7 | 2fc89b662a0b0aac20d69cd4b60b4c1399a9bdaf | refs/heads/master | 2022-10-11T08:33:01.967673 | 2020-06-06T03:51:13 | 2020-06-06T03:51:13 | 266,657,265 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 500 | h | SCAnimationManager.h | // Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "../Base/AnimationManagerBase.h"
#include "SCAnimationManager.generated.h"
/**
*
*/
UCLASS()
class SHANCHENG_GAME_API ASCAnimationManager : public AAnimationManagerBase
{
GENERATED_BODY()... |
a280d944ee9fadefe2d0d63817f7d60071672f42 | bf325d30bfc855b6a23ae9874c5bb801f2f57d6d | /summer/百度之星/1.cpp | 10d32f1926d35ce03c19dbe419caaf7ad000d281 | [] | no_license | sudekidesu/my-programes | 6d606d2af19da3e6ab60c4e192571698256c0109 | 622cbef10dd46ec82f7d9b3f27e1ab6893f08bf5 | refs/heads/master | 2020-04-09T07:20:32.732517 | 2019-04-24T10:17:30 | 2019-04-24T10:17:30 | 160,151,449 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 490 | cpp | 1.cpp | #include<iostream>
#include<cstdio>
#include<algorithm>
#include<cmath>
using namespace std;
int main()
{
ios::sync_with_stdio(false);
string s[1005];
int num[15];
int n,m,k,i,j,o;
int nA;
int T;
cin>>T;
for(o=1;o<=T;o++)
{
for(i=0;i<15;i++)
num[i]=0;
cin>>n>>m>>k;
for(i=0;i<n;i++)
{
cin>>s[i];
... |
deec801d5878fe72692504b9194eed3583e73bb7 | 6a5b7576ccfa25dc1c2cd42f45c30a055ce0caf9 | /examples/sandbox/dainty_sandbox_example2.cpp | b2fbdb6898c63c226e5a8b6b44dafece0ca0e431 | [
"MIT"
] | permissive | kieme/dainty | 6cc68388064e7600c2a9dd4f161a01124a963e1f | 302734bbdb7ba52a2ad48895afbf36e715852043 | refs/heads/master | 2022-02-03T13:07:27.046522 | 2022-01-19T21:19:55 | 2022-01-19T21:19:55 | 167,362,760 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 4,961 | cpp | dainty_sandbox_example2.cpp | /******************************************************************************
MIT License
Copyright (c) 2018 frits.germs@gmx.net
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 restric... |
0768e6c4dfdc5a904f3b3d9d684bdb1837b7b41e | 87fb8b8446fee86b9b5ed4e0c585d35171041843 | /tp1_1.cpp | 716d8798e60ddbcda4e4adfbd8a4d48fecadb0b8 | [] | no_license | TallerDeLenguajes1/trabajo-practico-nro1-NTVGcele | 373ab512c4576a637aed9159829c21ff178234ba | 1c734d1ab3ed20bca398eee8e83d5b8b57f2aa9f | refs/heads/master | 2020-04-30T12:41:10.797927 | 2019-03-24T20:00:40 | 2019-03-24T20:00:40 | 176,832,829 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 904 | cpp | tp1_1.cpp | #include <stdio.h>
#include <stdlib.h>
int main()
{
int *p;
int n=30;
p=&n;
printf("El contenido del puntero es: %d", *p);
printf("\nLa dirección de memoria almacenada por el puntero es: %p", p);
printf("\nLa dirección de memoria de la variable es: %p", &n);
printf("\nLa dirección de memoria de del puntero e... |
d2584f21fd14292e1854f715a6a4b06cf615b91f | 0d5d5aaa152ed34f4f49591e66acdd4a6296bed7 | /Engine/DataStructure/GridUniform2D.cpp | fceca9e79179ea9b7cad5813d9507386c089a537 | [
"MIT"
] | permissive | jmhong-simulation/LithopiaOpen | 179d2a4edca6021ad3dc08c2cac2cfb79d770403 | 49c4c0863714ee11730e4807eb10c1e1ebb520f1 | refs/heads/master | 2021-06-04T06:18:08.055601 | 2020-05-21T17:01:47 | 2020-05-21T17:01:47 | 93,008,441 | 8 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,026 | cpp | GridUniform2D.cpp | // The Lithopia project initiated by Jeong-Mo Hong for 3D Printing Community.
// Copyright (c) 2015 Jeong-Mo Hong - All Rights Reserved.
// This file is subject to the terms and conditions defined in
// file 'LICENSE.txt', which is part of this source code package.
#include "GridUniform2D.h"
#include "Array1D.h"... |
d09adddc1bd37f0c56f0d023788704ddf5ede863 | 7fe7acd38b7915a5be4daf20dc4c754617d39cb7 | /CryptoChat/CryptoChat/server.h | da3687edb9a313fe4af891700a92d4da128d1e12 | [] | no_license | Silencer253/elliptic_curves | c571425f5c6f365fe48c41b001ff40cea7faae84 | 57c9503d562390dad62aff79921cf3cde2024b88 | refs/heads/master | 2021-09-07T04:25:33.177556 | 2018-02-17T13:19:31 | 2018-02-17T13:19:31 | 118,451,258 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 573 | h | server.h | #ifndef ECHOSERVER_H
#define ECHOSERVER_H
#include "windows.h"
#include "QMutex"
#include "QThread"
#include "QTcpServer"
#include "QTcpSocket"
#include "socketthreadbase.h"
class server : public QObject
{
Q_OBJECT
public:
server(const QString &ipAddr, const ushort port) : ipAddr(ipAddr), port(port) {}
QS... |
5d52fed3723f28e09be73414f49fcf0d96dfdbab | fc4b185f24a5769aa9ab933d8d1208a42357ce55 | /Cormen cpp/Inersions/main.cpp | 36f28dc0248978f0b2519733d9f9f0d54b452286 | [] | no_license | MateusLoureiro/Cormem-Algorithms | 3a32d1aa4efe00ee8bb10fc4054ccd1443e2e16d | 6181370b95a0fec687dd5fb1f7235b90631b2432 | refs/heads/master | 2020-04-25T07:33:07.976862 | 2019-05-06T00:38:30 | 2019-05-06T00:38:30 | 172,617,644 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,349 | cpp | main.cpp | #include <iostream>
#include <vector>
#include <stdlib.h>
#include <time.h>
using namespace std;
void imprime(vector<int> vetor);
int mergeVectors(vector<int> &vetor, int inicio, int meio);
int mergeSort(vector<int> &vetor, int inicio, int ultimoIndice);
int main()
{
vector<int> vetor(20);
vector<int> copia(20);... |
e4f2677fb4754deaa12c1f6ec26ae7091d7d998e | be966f24bb3c016ba39e49c7d60b412f9c7ff251 | /si/trunk/history/device/PDeviceEraseWidget.h | a690465e085259cfa9416baef1e769ff88b14620 | [] | no_license | ShiverZm/si | e3c042243d8e8a930255f63c0c8f7a5aff84b4c0 | 0632c31520a2c8349f0d17eeb65ae2d2c72f8680 | refs/heads/master | 2023-03-30T12:22:19.912671 | 2019-03-28T01:20:44 | 2019-03-28T01:20:44 | 353,050,532 | 0 | 0 | null | 2021-03-30T16:42:11 | 2021-03-30T15:30:01 | null | GB18030 | C++ | false | false | 661 | h | PDeviceEraseWidget.h | #pragma once
#include "uicommon/device/PDeviceLocalDecorator.h"
class CPDeviceEraseWidget : public QWidget
{
Q_OBJECT
public:
CPDeviceEraseWidget(QWidget* parent = nullptr);
void initView(const pdevice::DeviceDisks& allDisks,
const pdevice::DeviceDisks& usbDisks);
protected:
//qss对基类QWidget不起作用,需... |
b68a02c39b797384c58b252fe76fc8235167baea | 1e60c211f41d63ecf16a420ccf7f8eee23cdb576 | /math/assert.h | 9d773b9a233a5455c55dd21a41b8710fdfbf03ac | [
"MIT"
] | permissive | Bargor/tempest-math | 16eccc1eabd9d5f82f246e3785c3aa06a4429f87 | 59a8dfe07be1a59c57d64d924dc49ec11a1cc3f3 | refs/heads/master | 2021-10-16T20:02:09.613982 | 2019-02-12T20:41:01 | 2019-02-12T20:41:01 | 106,006,182 | 0 | 0 | MIT | 2019-02-12T20:41:02 | 2017-10-06T13:12:09 | C++ | UTF-8 | C++ | false | false | 601 | h | assert.h | // This file is part of Tempest-math project
// Author: Karol Kontny
#pragma once
#include <cstdio>
#include <cstdlib>
namespace tst
{
namespace math {
inline void _assert(const char* expression, const char* file, int line)
{
fprintf(stderr, "Assertion '%s' failed, file '%... |
0effa06f9330b2973a330eb562d1b54012e9c637 | 517b8356289fd31d4a8474c4077c3e62eac9ea57 | /08/c++/Name.h | 440884686f4d2fa5e989952e1c49ce9c3eb36b0e | [] | no_license | CharlesABlum/CS214 | d203b96a0e06b784b5ecb9df247e036626d46c98 | f9c40a5fd224b13e96e24b4f9d182fafde757c1f | refs/heads/master | 2020-05-29T22:07:40.589676 | 2014-05-14T15:37:10 | 2014-05-14T15:37:10 | 19,785,130 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 559 | h | Name.h | /* Name.h declares class Name.
*
* Begun by: Dr. Adams, CS 214 at Calvin College.
* Completed by:Charles Blum
* Date: 13 April 2014
*/
#include <string> // string
using namespace std;
class Name {
public: // interface functions
Name(const string & first, const string & middle... |
ce823f8e1cc80e1f7f0ba90a46828c5093fd9eb9 | b363c549ba49ba4c58f6d6db499cd8a04317fcce | /Display_OLED_I2C_SSD1306_BME280/Display_OLED_I2C_SSD1306_BME280.ino | dca0d25f3054651ef1627e4334c3050bed56599a | [] | no_license | Bastelkwast/BMP280 | 9f536497a015aafe0435a0dcd057c05bfef26726 | d8154d9620e3fb1e7bcd96601f8185bcbf641dcf | refs/heads/master | 2022-11-26T13:07:41.012192 | 2020-08-08T13:27:21 | 2020-08-08T13:27:21 | 286,024,419 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,103 | ino | Display_OLED_I2C_SSD1306_BME280.ino | /*
Das ist ein Beispiel um ein OLED 128x64 I2C mit SSD1306 Treiber in verbindung mit einem
BME280 I2C anzusteuern
Pins:
GND = GND
VCC = 3,3V
SCL = A5
SDA = A4
Benötigte Libraries:
https://github.com/adafruit/Adafruit_SSD1306
https://github.com/adafruit/Adafruit-GFX-Library
http://cactus.io/... |
958fab62469662a62be9fe87f79f7c95b229f798 | df86c492dec81c48baa698c146e32d3c98310cad | /Sources/ClassDefinitions/skillactiveeffects.cpp | 166cb367bd4628841437751bd94d24fa3bbc35f6 | [] | no_license | KJarzyna/OmniMGIII | 41bf2a2496a0aac8cc6a2c0f8f905365587cb467 | bec4e95da51247a7df89e9cf3e8ae4f6405902e8 | refs/heads/master | 2022-05-15T19:20:38.331135 | 2022-03-11T22:45:21 | 2022-03-11T22:45:21 | 96,703,539 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 105 | cpp | skillactiveeffects.cpp | #include "Headers/ActiveEffects/skillactiveeffects.h"
C_SkillActiveEffects::C_SkillActiveEffects()
{
}
|
400323c79645b2bbf47a3ce5a588f169215926ac | cbd72bd8776cb1c270a65445323289ea5c4e57f9 | /simulator/Clock/Clock.h | 38b5d312eff278e7521c02145192ae482e7cb24b | [] | no_license | shaybarak/Tomasulo | 0b6f816852764ef26572920b8ca2f321a121fffa | 8f86670860192b5c677524ec8c9625421462b104 | refs/heads/master | 2021-01-23T12:06:52.344311 | 2013-01-11T17:24:38 | 2013-01-11T17:24:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 630 | h | Clock.h | #pragma once
#include <vector>
#include "Clocked.h"
using namespace std;
/** A system clock. */
class Clock {
public:
// Initializes clock with start time of 0
Clock() : time(0) {}
// Initializes clock with a given start time
Clock(int time) : time(time) {}
/**
* Register a new clocked component.
* Clocked c... |
2a2a74f3eee75aa7723152a0d925ec1e13834267 | 82646fb7fe40db6dcdf238548128f7b633de94c0 | /akoj/1005.cpp | ebc6084017880475c5f1c1d8bcfdf2bf6c234838 | [] | no_license | jtahstu/iCode | a7873618fe98e502c1e0e2fd0769d71b3adac756 | 42d0899945dbc1bab98092d21a1d946137a1795e | refs/heads/master | 2021-01-10T22:55:47.677615 | 2016-10-23T12:42:38 | 2016-10-23T12:42:38 | 70,316,051 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 679 | cpp | 1005.cpp | #include<cstdio>
#include<iostream>
using namespace std;
int main()
{
int n,a,b,c,t,min,max;
while(cin>>n)
{
while(n--)
{
cin>>a>>b>>c;
min=a;
max=a;
if(b<min) min=b;
if(b>max) max=b;
if(max/min==c)
... |
86dada6ddff426fcb0da54fe959d8e6b797c653a | 87953a76a2d3ca67d85c5441d099fc13a919a4e2 | /CnComm/Examples/VC6/SerialDlg.h | d016c959935d46497f7f03dddb252c2e4cb6310e | [] | no_license | kunge0408/CodeProject | c118a7e7f2dae34459f256a77b5f6ab09ccd1f79 | 02acbec58d5147dcbddaf6d3440d0c4a455edb00 | refs/heads/master | 2020-06-03T19:58:22.582327 | 2012-12-02T16:17:32 | 2012-12-02T16:17:49 | 6,531,665 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,613 | h | SerialDlg.h | #if !defined(AFX_SERIALDLG_H__C93FF80C_17E3_42E7_BC90_CB5850D497ED__INCLUDED_)
#define AFX_SERIALDLG_H__C93FF80C_17E3_42E7_BC90_CB5850D497ED__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// SerialDlg.h : header file
//
///////////////////////////////////////////////////////////////////////////... |
382c9cd43149c87659ab6237527a56dab282c484 | 898c114cfe33dfbc6410c1bd793b47e079d0596a | /lab7/shape/Triangle.h | 81583181349f47d38150da6599806b9404c26355 | [] | no_license | piowik/jimp | 284c7dae1443015d2fa71a4c472feb5923d03509 | 22a7a7e9435dbf884d501502325c1508ef4741bf | refs/heads/master | 2021-01-19T04:19:59.196309 | 2017-06-21T15:42:33 | 2017-06-21T15:42:33 | 84,430,676 | 0 | 0 | null | 2017-06-21T15:42:34 | 2017-03-09T10:43:16 | C++ | UTF-8 | C++ | false | false | 247 | h | Triangle.h | //
// Created by Piotrek on 21.04.2017.
//
#ifndef JIMP_EXERCISES_TRIANGLE_H
#define JIMP_EXERCISES_TRIANGLE_H
#include "Shape.h"
class Triangle : public Shape {
public:
void Rysuj() const override;
};
#endif //JIMP_EXERCISES_TRIANGLE_H
|
83d6c3a59afe185fea4d4204670d3b93d264051d | 6880874f22609cfded6237d3ac839bea5dbf7f7c | /src/networkhandler.cpp | 93796c301fc78a1d837c1da3aa38ae68f86a8fd0 | [] | no_license | wikii122/tin | 2944fdb8b393a6286ef654f69e08ce58544cd39a | 971f2e1b97d457ad83b66120ca9bdbfb725e9291 | refs/heads/master | 2016-09-05T15:54:26.573237 | 2014-06-10T00:34:33 | 2014-06-10T00:34:33 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,285 | cpp | networkhandler.cpp | #include "networkhandler.h"
#include <sys/socket.h>
#include <iostream>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <string.h>
#include <fcntl.h>
#include <unistd.h>
#include <netdb.h>
#include <sys/types.h>
#include <ifaddrs.h>
#include <server.h>
#include "packet/packet.h"
#include "files/storage_in... |
a13bf6ae968c1296d37424d99c55f479c6eaaf69 | a1b66d53bece1e5068a18a425effb769e8e78eac | /UVa/TowerOfHanoi.cpp | 734e917e771ac41c09a1b72b4913f3bcccb6c9bf | [] | no_license | salsabilahmedkhan/CompetitiveProgramming | d5a745830d6d7bfdadb5691e9f63f34de1fb804e | 6d067bee97ae15b8cc0060dc6b521a098523913e | refs/heads/master | 2021-01-13T08:43:05.500270 | 2017-02-11T06:06:36 | 2017-02-11T06:06:36 | 81,631,886 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 370 | cpp | TowerOfHanoi.cpp | #include <cstdio>
#include <iostream>
using namespace std;
void tower(char from,char use,char to,int n)
{
if(n==1)
printf("%c -> %c\n",from,to);
else
{
tower(from,to,use,n-1);
printf("%c -> %c\n",from,to);
printf("%c -> %c\n",use,to);
}
}
int main()
{
int n;
ci... |
7842f324750674d1a017cced831996547d633a47 | 05cdd8362ba8686fe1dd4f2d1c47b337d94ce923 | /Interval_Selection.cpp | c806fb29c520855e312410a8e6052644d526ca83 | [] | no_license | vismit2000/compCode-II | 162411aed8483cf0f3c7cc67488aed4b78aeb3a5 | eaad7d1475d2314de533df9017d5788e9a30b0b2 | refs/heads/master | 2022-12-23T04:54:21.431142 | 2022-12-17T04:51:15 | 2022-12-17T04:51:15 | 191,161,603 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,320 | cpp | Interval_Selection.cpp | // Problem: https://www.hackerrank.com/challenges/interval-selection/problem
// Approach: Greedy Technique - https://www.hackerrank.com/challenges/interval-selection/editorial
#include <bits/stdc++.h>
using namespace std;
// Sort the intervals based on their ending boundaries
bool compare(const pair <int, int> & p1,... |
0ff6a2a56a39749dca185a19c10ce427a0db6093 | be6f66e3e64d51a30f21388d8679f3c5b59d1319 | /registry/include/registry_common.hpp | 71cf24661775d748dcdb561116ee83f4bf0a23cf | [
"BSD-2-Clause"
] | permissive | AmbrSb/multiprocess-logger | 19b048d7941829306d77a42abccb473a3e60e9bb | c0781494d2cc60e3c75cc39ed490a46d7840bcd7 | refs/heads/master | 2020-12-21T05:06:33.943974 | 2020-01-26T14:58:33 | 2020-01-26T15:25:55 | 236,315,351 | 4 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 5,302 | hpp | registry_common.hpp | #pragma once
#include <variant>
#include <string>
#include <cassert>
#include <exception>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <gsl/pointers>
namespace registry
{
/**
* @brief Possible address types for a Registry location and
* also ring buffer location.
*
*/
using NetAddr = std::variant<s... |
ee0a326ad1369574cbbfebb296fd93debf40bf48 | 224fa57544bdd4f3c310961706639c5caf44f70e | /Arduino/PVcommunicate_slave/PVcommunicate_slave.ino | a1335a3c6b72c627b64bc6bf7b1e6dbe15ba9163 | [] | no_license | azpiero/PV_exxperiment | d5f600c7107e80d76b89190290ab87d3b285fa22 | 78a38e695f062083797c0bd1cbecbf70a4d2445a | refs/heads/master | 2021-01-12T14:25:34.273501 | 2017-07-28T04:32:07 | 2017-07-28T04:32:07 | 69,429,659 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,723 | ino | PVcommunicate_slave.ino | #include <wiring_private.h>
#include <PV_comdis.h>
#include <MsTimer2.h>
#include <TimerOne.h>
//#include <EEPROM.h>
PV pv;
void respheartbeat(){
pv.generatepacket();
Serial.println("resp heartbeat!");
MsTimer2::stop();
}
void errorDisconnect(){
if(++pv.loopcounter >60){
//Serial.println("disconnect by no ... |
6174cfbe127ae261d8d25ac35aae6e445e8c5f68 | f241af12f82f98a9e046029c861b35777615ee29 | /List/list.h | f1293f08b8401614dbdeb48304ade953a91f5883 | [] | no_license | OmarNaffaa/CPP-STL-Implementations | e8098682cdbb010fa3502e2457cbe66f1921922b | 9381ae64b84b526ccdc0fa06177746a271891a5c | refs/heads/main | 2023-04-04T15:53:42.674671 | 2021-04-07T05:51:25 | 2021-04-07T05:51:25 | 355,420,177 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 252 | h | list.h | #pragma once
#define CAPACITY 1024
typedef int ElementType;
class List
{
int listsize;
ElementType dataArray[CAPACITY];
public:
List();
bool empty();
void insert(ElementType item, int pos);
void erase(int pos);
void display();
List copy();
};
|
4af217f77defcaed6c397c6570d172706a6818dd | 2e53dc31a060640d13d62c2f63a8aeae89bd9837 | /DigDug/DigDugLevelEditScene.cpp | b560c07b07c52c5b50e008839bd9dc8bb34f5b68 | [] | no_license | DewanckelJonas/Prog4_GameEngine | b48d811da71f962a4482e18866f80720cfea8e76 | 3e1a5b8c4a7b79209dda90f0c5c2cd6995ebc5bf | refs/heads/master | 2022-02-05T18:09:01.400726 | 2019-05-26T21:35:23 | 2019-05-26T21:35:23 | 183,748,583 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,606 | cpp | DigDugLevelEditScene.cpp | #include "pch.h"
#include "DigDugLevelEditScene.h"
#include <GameObject.h>
#include <TransformComponent.h>
#include <TextureComponent.h>
#include <SpriteComponent.h>
#include <InputManager.h>
#include <TextComponent.h>
#include <Font.h>
#include "DigDugLevelComponent.h"
#include "DigDugPrefabs.h"
#include "LivesCompone... |
8afa02c1007835dacf7da04a15ddd145fa1c7415 | 9866acd66b81d25e74195a22f9f5867d166b1380 | /gc/src/qnx/common/lib/check_actserver/check_actserver.h | 8e95ef2d0db340c80472b376237cd78a59549323 | [] | no_license | John-Nagle/Overbot | af45bcba87ddf1442c44830cc966cdb4b5107fef | 80c56adb16b673ff7d667ac3d6ed4a0ee36e25a3 | refs/heads/master | 2020-04-15T20:37:27.263381 | 2019-01-10T06:36:19 | 2019-01-10T06:36:19 | 165,001,886 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 972 | h | check_actserver.h | #include "actserver.h"
class MyServer: public ActServer {
public:
// errors
enum Err {
ERR_OK, // SIMU, INIT, VERB, DATA
ERR_INIT_NEEDED, // DATA
};
};
//
// MyServerMsgDATA - DATA: My Server data request
//
// Same message structure used to set the target gear and to get the
// current gear state.
/... |
402659048805fd9f5aeaf1f121a31ed1f21013b8 | fa5fe2767623eb038fadc1be2fa66d0b5bf2e943 | /tests/ft_toupper_test.cpp | e2d6f6ccdafd724a7c4c979f60c287de103edb53 | [] | no_license | takumihara/libft-test | 08b632534fc103681fd976f7446c3688578a8903 | 3c24d2a73b41980b4862de4a9c5b72106a241fdd | refs/heads/master | 2023-06-19T04:41:51.736586 | 2021-07-20T10:25:55 | 2021-07-20T10:25:55 | 387,454,910 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 274 | cpp | ft_toupper_test.cpp | #include "tests.h"
class toupper_class : public ::testing::Test {
protected:
virtual void SetUp(){
}
virtual void TearDown(){
}
};
TEST_F(toupper_class, toupper)
{
JUDGE_EQ(toupper, 'a');
JUDGE_EQ(toupper, '0');
JUDGE_EQ(toupper, 'A');
JUDGE_EQ(toupper, 0x00);
} |
2c0ef6c4339dabf596f698899c14079c08812511 | 58b8d5f831f0e4cd707c39327e42bdfb12b95845 | /Projects/Project/p1.cpp | 86133477fff6cb5faf60a1f686e7724478eba5ee | [] | no_license | yuru-liu2114/VE280-2020SU | 1afdf5adb341b24f655656fdd3daaa3a71e29ad5 | feda1e322150351f95a1fb4b337638b9c95df0de | refs/heads/master | 2023-03-18T06:13:42.403203 | 2020-08-03T12:31:56 | 2020-08-03T12:31:56 | 269,900,316 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,705 | cpp | p1.cpp | #include <iostream>
#include <cmath>
using namespace std;
bool if_triangle_helper(int test_integer) {
//EFFECTS: Determine whether test_integer is a triangle number
int max_n = sqrt(2 * test_integer); //the maximum of n
// We use sqrt(2 * test_integer) to reduce loop
bool if_triangle = 0;
for(int ... |
c57482da8f4e967250c773b99ddc44273f9f019e | adf66a51a862ffb9f5392b35f92df9c34da91047 | /TypeWriter/main.cpp | 3f63dcec98791a0a564265876064732f088e52e2 | [] | no_license | darioShar/MiniGames | 419a7990f62b746dcd12f81d633b47b77c6bcc3c | 6b830b3e8b9038d46cd45b48f535b0c34ecbb5c7 | refs/heads/main | 2023-02-19T01:56:28.070932 | 2021-01-26T17:52:55 | 2021-01-26T17:52:55 | 333,166,734 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,716 | cpp | main.cpp | #include <SFML\Graphics.hpp>
#include "FlyingText.h"
#include "Box.h"
#define WIDTH 1600
#define HEIGHT 900
#define TEXT_INITIAL_SPEED 0.042f
#define TEXT_ACCELERATION_FACTOR 1.3f
#define TEXT_INITIAL_WORDS 20
#define TEXT_MULTIPLICATION_FACTOR 1.2
#define NUM_LEVEL 5
using namespace sf;
int ma... |
8d36f193cb884cc234194c7d9c38160865c2f63a | 7216481fcd5cc40c44b4bc84f477877f2680f173 | /projects/atLib/include/UI/Window/XLib/atXLib.h | 7ed9377ad7d4c94180638de768694eae2990beaa | [
"MIT",
"LicenseRef-scancode-public-domain"
] | permissive | mbatc/atLib | 96a7c232f76345712d10e745347329aa79e4d39c | 7e3a69515f504a05a312d234291f02863e291631 | refs/heads/master | 2021-06-20T22:08:24.373563 | 2020-10-24T12:21:57 | 2020-10-24T12:21:57 | 151,035,681 | 1 | 0 | MIT | 2020-10-18T13:06:09 | 2018-10-01T04:17:54 | C++ | UTF-8 | C++ | false | false | 1,360 | h | atXLib.h | #ifndef _atXLib_h__
#define _atXLib_h__
#include "atPlatform.h"
#include "atWindowDefinitions.h"
#include "atColor.h"
#include "atString.h"
class atWindow;
class atXLibWindow
{
public:
atXLibWindow(atWindow *pWindow);
~atXLibWindow();
void Clear(const atCol &color);
void Swap();
bool Create(const atWindo... |
a0461638830443326ba966d6e24a9162733b282e | 3be3af53137e686fbea7c9dc71d1e3fef522e5df | /2_gale2.cpp | 21c5abe2e240fdd62e0e5d73956b9b50c6b6b891 | [] | no_license | rishirajsurti/dsa_ee | 0163677f76e19ce3130d26f3c1032fe3e95dd3cf | 5f9628f20ff03ebb866570e0b0b55d86d1768448 | refs/heads/master | 2021-01-20T07:48:17.387483 | 2015-04-14T07:06:23 | 2015-04-14T07:06:23 | 30,142,771 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 607 | cpp | 2_gale2.cpp | #include <iostream>
#include <vector>
#include <algorithm>
using namespace std;
int main(){
int t;
cin>>t;
int i,n;
i=0;
while(i++<t){
cin>>n;
int b[n+1][n+1];
int g[n+1][n+1];
int j,k,l;
for(j=1; j<=n; j++){
cin>>k;
for(k=1; k<=n; k++){
cin>>l;
g[j][l] = k;
}
}
for(j=1; j<=n; j++){
cin>>k;... |
3a4df341ebb876bb00dc8aef0ab736ac47b11e51 | c20c4812ac0164c8ec2434e1126c1fdb1a2cc09e | /Source/Source/Tools/SceneEditor/KSceneEditorAboutBox.h | a4243c7e6f51218ec010b0e3c7490c0151445759 | [
"MIT"
] | permissive | uvbs/FullSource | f8673b02e10c8c749b9b88bf18018a69158e8cb9 | 07601c5f18d243fb478735b7bdcb8955598b9a90 | refs/heads/master | 2020-03-24T03:11:13.148940 | 2018-07-25T18:30:25 | 2018-07-25T18:30:25 | 142,408,505 | 2 | 2 | null | 2018-07-26T07:58:12 | 2018-07-26T07:58:12 | null | UTF-8 | C++ | false | false | 463 | h | KSceneEditorAboutBox.h | #pragma once
// KSceneEditorAboutBox dialog
class KSceneEditorAboutBox : public CDialog
{
DECLARE_DYNAMIC(KSceneEditorAboutBox)
public:
KSceneEditorAboutBox(CWnd* pParent = NULL); // standard constructor
virtual ~KSceneEditorAboutBox();
// Dialog Data
enum { IDD = IDD_ABOUTBOX };
protected:
virtual void Do... |
e230abde9ca8e85c0c6398e93afbcd115e31ce97 | d84156aed6991854d3ff400293283866a92820fa | /examples/hello/include/hello.hpp | a8abfc60b84c18e761203e74bb55e3ca07cf0603 | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | cyberway/cyberway.cdt | e6ba7f02d8bf7947fdd73956c8d5cb8522910a12 | 4e6a8cb1045d4c63b9dadfe9d255e95241ee0532 | refs/heads/master | 2021-08-06T06:14:08.813687 | 2020-04-15T04:53:08 | 2020-04-15T04:53:08 | 154,245,607 | 5 | 0 | MIT | 2020-04-15T04:53:09 | 2018-10-23T01:58:55 | C++ | UTF-8 | C++ | false | false | 322 | hpp | hello.hpp | #include <eosio/eosio.hpp>
using namespace eosio;
CONTRACT hello : public contract {
public:
using contract::contract;
ACTION hi( name nm );
ACTION check( name nm );
using hi_action = action_wrapper<"hi"_n, &hello::hi>;
using check_action = action_wrapper<"check"_n, &hello::check>;
}... |
b1267b80eec8de0f531265ad53711c3c0a5e63e3 | cffb2c8cd029670f8c3dbb6e5451c066b76d6804 | /qsym/pintool/flags.cpp | 4d07bd58d3d1d2da01c037bc8f22c0988d051a59 | [
"BSD-2-Clause"
] | permissive | sslab-gatech/qsym | 7cf0d66a416f8e0f289ebec6484becad964704fa | 153a0b468258e76e03e5d9763a11349e744844fa | refs/heads/master | 2022-12-11T21:44:20.473329 | 2022-11-23T00:23:07 | 2022-11-23T00:23:07 | 145,025,326 | 634 | 141 | NOASSERTION | 2022-05-16T01:14:11 | 2018-08-16T18:30:29 | C++ | UTF-8 | C++ | false | false | 10,300 | cpp | flags.cpp | #include "flags.h"
namespace qsym {
static INT32 kTimeStampCounter = 0;
// FlagOperation
FlagOperation::FlagOperation()
: flags_(0),
timestamp_(0),
expr_result_(NULL),
expr_dst_(NULL),
expr_src_(NULL) {}
FlagOperation::~FlagOperation() {}
void FlagOperation::set(OpKind kind, ExprRef expr_result,
... |
5d3261886ca4bc37fbfe6e02c7646fad84521400 | b61ab91935a71777053d2c82d5843fdd551854e8 | /20621620_Yavor_4_grupa.cpp | 68498edf3f854d87398278d72537b32a7f678659 | [
"MIT"
] | permissive | StoyanovBG/TennisTournament | 70397ede4367b88899885e9566dcae71efc03aea | 96e6b5e77c8c55ffebe75ddbe4bde23f9f502b26 | refs/heads/main | 2023-03-14T05:51:34.585040 | 2021-03-10T23:42:31 | 2021-03-10T23:42:31 | 319,456,313 | 0 | 0 | MIT | 2020-12-07T22:23:57 | 2020-12-07T22:05:17 | null | UTF-8 | C++ | false | false | 28,304 | cpp | 20621620_Yavor_4_grupa.cpp | #include<iostream>
#include<cmath>
#include <cstring>
#include<string>
#include <iomanip>
#include<fstream>
#include<stdio.h>
#include<array>
using namespace std;
const int N = 100; //limits the array
const char Filename[] = "TURNIR.dat"; //file const for name
typedef ... |
2f66567060e42ec4c5cab2b09d9e200a68b58439 | a063b8a4f9dfbf42b2a7ed84dc5fc84178a4aca8 | /DS2DLL/UIFrontend.h | 9062b5614c2679d4dd1bd3824042984d24f45832 | [
"MIT"
] | permissive | Zebrina/DS2DLL | e3408bfc342f8cc8a5592993d2f8e0752d840a47 | 7bf7152760d2d10c140be8308c0465a7db39de06 | refs/heads/master | 2023-03-17T06:35:25.894152 | 2023-03-11T12:49:49 | 2023-03-11T12:49:49 | 170,225,238 | 4 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,273 | h | UIFrontend.h | #pragma once
#include "GPString.h"
class UIFrontend {
public:
$Singleton(UIFrontend, 0x00410450);
$Method(0x0044a109, InitFrontendDialog, void);
$Method(0x00451d69, CanStartWorld, bool, const GPBString& unk1);
$Method(0x0041028e, GetBackToSp, bool);
$Method(0x004521fd, HasPartyContinue, bool);
$Method(0x0044a1... |
ba8b2da932e4ddfeb52b1e1764c5b23df3bbb8d2 | 27a2de6b423e7e688094b9a9c9d2766e65475d98 | /oldbackup/mfc-chapter3-1/MFC.h | 011af5b70ea26cecd30b4527003f28a58a59caee | [] | no_license | wxggg/mfc-simulator | b44b96a66930f5184c812061dfde9f8308875f9e | c440ee017123d92fb9095956323fe977299a3a34 | refs/heads/master | 2020-03-28T15:30:39.865529 | 2018-09-13T08:14:18 | 2018-09-13T08:14:18 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,294 | h | MFC.h | #include<iostream>
class CObject
{
public:
CObject::CObject(){ std::cout << "CObject Constructor\n"; }
CObject::~CObject(){ std::cout << "CObject Destructor\n"; }
};
class CCmdTarget:public CObject
{
public:
CCmdTarget::CCmdTarget(){ std::cout << "CCmdTarget Constructor\n"; }
CCmdTarget::~CCmdTarget(){ std::cout ... |
89d08748a759356e9d9921a057d6d6db8665db24 | 4e38faaa2dc1d03375010fd90ad1d24322ed60a7 | /include/RED4ext/Scripting/Natives/Generated/quest/MovePuppetNodeParams.hpp | 538531da3a42c1a80f1f36f3849fb6593fb8e239 | [
"MIT"
] | permissive | WopsS/RED4ext.SDK | 0a1caef8a4f957417ce8fb2fdbd821d24b3b9255 | 3a41c61f6d6f050545ab62681fb72f1efd276536 | refs/heads/master | 2023-08-31T08:21:07.310498 | 2023-08-18T20:51:18 | 2023-08-18T20:51:18 | 324,193,986 | 68 | 25 | MIT | 2023-08-18T20:51:20 | 2020-12-24T16:17:20 | C++ | UTF-8 | C++ | false | false | 1,158 | hpp | MovePuppetNodeParams.hpp | #pragma once
// clang-format off
// This file is generated from the Game's Reflection data
#include <cstdint>
#include <RED4ext/Common.hpp>
#include <RED4ext/Handle.hpp>
#include <RED4ext/Scripting/Natives/Generated/quest/AICommandParams.hpp>
#include <RED4ext/Scripting/Natives/Generated/quest/MoveType.hpp>
namespa... |
16453bfb02eade8c37d5e302aa3c17db234ff36d | a35b30a7c345a988e15d376a4ff5c389a6e8b23a | /boost/test/detail/log_level.hpp | 47f3131ca49d69206588e4a567d0505ac53a1cd4 | [] | no_license | huahang/thirdparty | 55d4cc1c8a34eff1805ba90fcbe6b99eb59a7f0b | 07a5d64111a55dda631b7e8d34878ca5e5de05ab | refs/heads/master | 2021-01-15T14:29:26.968553 | 2014-02-06T07:35:22 | 2014-02-06T07:35:22 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 67 | hpp | log_level.hpp | #include "thirdparty/boost_1_55_0/boost/test/detail/log_level.hpp"
|
dc3fcea898577202ab499921c83d74e9f65527cf | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/CMake/CMake-gumtree/Kitware_CMake_repos_basic_block_block_14696.cpp | a5c7088e6377d435bd61d100cfe81191d96b526b | [] | 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 | 142 | cpp | Kitware_CMake_repos_basic_block_block_14696.cpp | {
archive_set_error(a, errno,
"Failed to get flagset from an NFSv4 ACL entry");
ret = ARCHIVE_FAILED;
goto exit_free;
} |
f4dd173cb83459b8b641f72a632279a8c4c2fd55 | c27cb5f5560d818b8935c08c4609a5ec21e1ba0a | /tools/postgre/cppbench/thread_search.cpp | 0bccb2c38308d510d6df942c8555cce5a588dfac | [] | no_license | upwell/study | 799ac21c71ddef35bf5bc6c78d26e9ae3aa9a172 | 8a002c860b6f299532ed8b89ac281d354f170aa0 | refs/heads/master | 2021-01-10T21:35:59.189584 | 2013-12-12T08:55:05 | 2013-12-12T08:55:05 | 1,659,814 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,441 | cpp | thread_search.cpp | #include <iostream>
#include <pthread.h>
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
#include <sys/time.h>
#include "libpq-fe.h"
using namespace std;
const int MAX_ID = 10*1000*1000;
const int MAX_CMD_LEN = 1024;
const string TABLE_NAME = "usergroup";
typedef struct thread_args
{
... |
da371d9a8edd22e21fe2340fd1a9020f7947b9c1 | 31407af3b66776561921837b4475948e8a78d5c2 | /PEResInfo.cpp | c7ebb981b4c349befce3d5da5b84151fd59bbb75 | [] | no_license | ExpLife0011/UpdateResource | 5aa342a5d2b528b3918ba3edbe3e849153a2ad67 | 218fe75aba235e3bc57acd158a4feab80295f30c | refs/heads/master | 2020-03-18T14:51:43.073594 | 2014-05-21T07:29:59 | 2014-05-21T07:29:59 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 17,877 | cpp | PEResInfo.cpp | #include "StdAfx.h"
#include "PEResInfo.h"
#pragma comment(lib, "Version.lib")
CPEResInfo::CPEResInfo()
: m_hExeFile(NULL)
, m_bVerInfoModified(FALSE)
{
ZeroMemory(m_szCurExePath, sizeof(m_szCurExePath));
ZeroMemory(&m_verInfo, sizeof(UPDATE_VERSION_RES_INFO));
m_wLangID = MAKELANGID(LANG_CHINESE, SUBLANG_CHINES... |
73a0c9167cc6a1155bc7e2c5763c2024c4953fc8 | 7fc893f90fb32caf73c0dea8353cf4093646a1b2 | /Cruise Control/silver_prototype_1.ino | 9a0d69fa17fae9a117261d0c47fd2afac45b8335 | [] | no_license | michael-cummins/Cruise-Control-Line-Follower | 4c7b4b47650e0ab0cdf606eb134b0f23122b1417 | bbe3ddf338459f794fb273d7c1e16a9df504bad6 | refs/heads/main | 2023-08-15T07:11:46.916759 | 2021-10-07T16:46:26 | 2021-10-07T16:46:26 | 414,681,507 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,352 | ino | silver_prototype_1.ino |
#include <WiFiNINA.h>
//wifi details
char ssid[] = "eir37842095-2.4G";
char pass[] = "ezmns3bw";
//set up server with port number
WiFiServer server(56676);
//PID co-efficients
double kp = 9.5;
double ki = 6;
double kd = 2;
//used in compute_pid
unsigned long currentTime, previousTime;
double elapsedTi... |
1be45198126045b87567a7c0217278103b10c6af | a5a99f646e371b45974a6fb6ccc06b0a674818f2 | /SimGeneral/GFlash/interface/GflashKaonMinusShowerProfile.h | 80959a12936b3b3119e057008e83b11dec5ae256 | [
"Apache-2.0"
] | permissive | cms-sw/cmssw | 4ecd2c1105d59c66d385551230542c6615b9ab58 | 19c178740257eb48367778593da55dcad08b7a4f | refs/heads/master | 2023-08-23T21:57:42.491143 | 2023-08-22T20:22:40 | 2023-08-22T20:22:40 | 10,969,551 | 1,006 | 3,696 | Apache-2.0 | 2023-09-14T19:14:28 | 2013-06-26T14:09:07 | C++ | UTF-8 | C++ | false | false | 511 | h | GflashKaonMinusShowerProfile.h | #ifndef GflashKaonMinusShowerProfile_H
#define GflashKaonMinusShowerProfile_H
#include "SimGeneral/GFlash/interface/GflashHadronShowerProfile.h"
class GflashKaonMinusShowerProfile : public GflashHadronShowerProfile {
public:
//-------------------------
// Constructor, destructor
//-------------------------
Gf... |
2c7c9115f52a7bf03d41829def95c29e60b1f3fa | ba57574972a24642e658a9e6f030f93974374f50 | /v0.1/src/basic/Settings.cpp | c91c130ff12e22f006fd14974894c280d6fe0e8c | [] | no_license | Milover/HydNet | 118c41bf161d655651396dc26df5ea974455166c | e237daeeaae1f0ed0f79a22f750c2b7a7c3f7bf7 | refs/heads/master | 2020-04-23T15:57:01.592096 | 2019-03-25T20:03:03 | 2019-03-25T20:03:03 | 171,281,858 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,363 | cpp | Settings.cpp | // Definitions for input parsing functions
//
// created: 14-9-2018
// version: 0.3
//
// tested: 14-9-2018
// status:
//
// last edit: 14-9-2018
//=============================================================================
//
// Headers
#include<stdexcept>
#include<cctype>
#include<ostream>
#include<ios>
#includ... |
9ab7d9102ebca9154b616d277f22e0e61d5c7488 | 9ed6a9e2331999ee4cda5afca9965562dc813b1b | /angelscript/API/game/cTrace.h | eec961aea32375087fb4428ec46dce792eb3762e | [] | no_license | kalhartt/racesow | 20152e59c4dab85252b26b15960ffb75c2cc810a | 7616bb7d98d2ef0933231c811f0ca81b5a130e8a | refs/heads/master | 2021-01-16T22:28:27.663990 | 2013-12-20T13:23:30 | 2013-12-20T13:23:30 | 16,124,051 | 3 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 579 | h | cTrace.h | /* funcdefs */
/**
* cTrace
*/
class cTrace
{
public:
/* object properties */
const bool allSolid;
const bool startSolid;
const float fraction;
const int surfFlags;
const int contents;
const int entNum;
const float planeDist;
const int16 planeType;
const int16 planeSignBits;
/* object ... |
eb533aa1ee4f76ee32837ae39bbbf9c511f23085 | fe6d55233610a0c78cfd63cc25564400982b0a4e | /src/value-types.cc | a69da4b35ba11acd3fe85311310f31410106ce54 | [
"MIT",
"MIT-0",
"Zlib",
"BSD-3-Clause",
"ISC",
"BSL-1.0",
"Apache-2.0",
"LicenseRef-scancode-public-domain",
"BSD-2-Clause"
] | permissive | syoyo/tinyusdz | 6cc9c18ec4df61a514571cda8a5f8c3ee4ef279a | cf6e7f3c6428135109c1d66a261e9291b06f4970 | refs/heads/dev | 2023-08-19T06:06:10.594203 | 2023-08-18T12:34:09 | 2023-08-18T12:34:09 | 255,649,890 | 345 | 23 | MIT | 2023-07-14T09:20:59 | 2020-04-14T15:36:33 | C++ | UTF-8 | C++ | false | false | 33,486 | cc | value-types.cc | // SPDX-License-Identifier: MIT
// Copyright 2022 - Present, Syoyo Fujita.
#include "value-types.hh"
#include "str-util.hh"
#include "value-pprint.hh"
#include "value-eval-util.hh"
//
#include "common-macros.inc"
// For compile-time map
// Another candidate is frozen: https://github.com/serge-sans-paille/frozen
//
#... |
9610a7f8fe6f6902b4e9d5c962d140e310cf2b4f | 91a558f24eb151a5df74bea96deefa93b07fdf24 | /UE4.25/Plugins/IQIYIVR/QIYIVRHMD/Source/QIYIVRHMD/Private/QIYIVRHMD_VulkanExtensions.cpp | 0935ce09617f3f8bad810ae2fd9e595c4e5cbf3b | [] | no_license | iQIYIVR/Qiyu_Unreal_SDK | 782849dd418d17833d23a77f231fef400ebfbe4e | eb59a54384c992f5f36be800997bd9d128f93714 | refs/heads/main | 2023-07-10T01:50:04.936360 | 2021-08-17T03:16:05 | 2021-08-17T03:16:05 | 397,075,757 | 1 | 1 | null | 2021-08-17T08:00:33 | 2021-08-17T03:13:30 | C++ | UTF-8 | C++ | false | false | 3,426 | cpp | QIYIVRHMD_VulkanExtensions.cpp | //=============================================================================
//
// Copyright (c) 2021 Beijing iQIYI Intelligent Technologies Inc.
// All Rights Reserved.
//
//==============================================================================
#include "QIYIVRHMD_VulkanExtensio... |
c0e7db30cbbb992e0f0d8229cde8f7e4a89d5b5c | efd7adff589e37ca98d2e3eb245aaeb23f64496e | /src/libs/cplusplus/TypeOfExpression.h | 656b01eb15d085f9a6082808ed15bf3c390bf174 | [] | no_license | Andersbakken/CPlusPlus | 3cf03c28968243587fa1d4661e7e5a388e62eb43 | 400f0b8f19de1c3fc9b794228c7aeec2259fce81 | refs/heads/master | 2021-01-10T20:24:54.067140 | 2013-05-28T03:46:50 | 2013-05-28T03:46:50 | 9,491,173 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,581 | h | TypeOfExpression.h | /****************************************************************************
**
** Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/legal
**
** This file is part of Qt Creator.
**
** Commercial License Usage
** Licensees holding valid commercial Qt licenses may use this f... |
caf18af69beb610e7be32a87b5dd8184480e6c86 | 52ca17dca8c628bbabb0f04504332c8fdac8e7ea | /boost/config/compiler/borland.hpp | 96a184f32e2c3eaa51bed8dd3ef3d5d2bcdb0bf2 | [] | no_license | qinzuoyan/thirdparty | f610d43fe57133c832579e65ca46e71f1454f5c4 | bba9e68347ad0dbffb6fa350948672babc0fcb50 | refs/heads/master | 2021-01-16T17:47:57.121882 | 2015-04-21T06:59:19 | 2015-04-21T06:59:19 | 33,612,579 | 0 | 0 | null | 2015-04-08T14:39:51 | 2015-04-08T14:39:51 | null | UTF-8 | C++ | false | false | 69 | hpp | borland.hpp | #include "thirdparty/boost_1_58_0/boost/config/compiler/borland.hpp"
|
446c4a27e649121194d3c555cdffddec3069f868 | bba88c98499e4c23c81de0001a1b7ef0093efa29 | /my_heap/LeftTistHeap.hpp | 8e96a9773c39e7b632b6f14d9c7de5f65ea35d02 | [] | no_license | Nightmare4214/DataStructureStudy | 77389fcebb6fdbf9fae21bf1c34bf31c0731a59f | 852736dfe7e38b01a4ed830444b718ee97a908e4 | refs/heads/master | 2021-02-21T23:18:09.481536 | 2020-07-12T07:01:27 | 2020-07-12T07:01:27 | 245,366,540 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 603 | hpp | LeftTistHeap.hpp | #pragma once
#include <iostream>
#include <queue>
template<typename T>
class LeftTistHeapNode{
public:
int left,right,dist;
T val;
LeftTistHeapNode():left(0),right(0),dist(0){}
explicit LeftTistHeapNode(const T& x):val(x),left(0),right(0),dist(-1){}
};
template<typename T>
class LeftTistHeap{
private:
... |
e875d44e07d17b2aad722e39f68fbb5611f65ce7 | faeb3cc4e3568a49b5bea5d75057e2ab5ed37675 | /Src/Load.cpp | baa4d4f1c1e70895bc9aef4ca452407748e056d6 | [] | no_license | tacite/cpp_bomberman | d39f1597f6fb61badb1239ae4ae4232e7b9559dd | 07f95b8d79622f384369b99c1f78c1d320636589 | refs/heads/master | 2021-01-01T05:05:46.119462 | 2016-05-10T15:17:52 | 2016-05-10T15:17:52 | 58,471,320 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,254 | cpp | Load.cpp | /*
** Load.cpp for in /home/roledg/CURRENT/cpp_bomberman
**
** Made by role-d_g
** Login <roledg@epitech.net>
**
** Started on Sun Jun 15 23:42:49 2014 role-d_g
** Last update Sun Jun 15 23:42:51 2014 role-d_g
*/
#include "Load.hpp"
Load::Load()
{
listPlayer.clear();
listIa.clear();
listBlock.clear();
m... |
a77ed73d049a1385c39dfd0c3f52beeb16787004 | 40226495a7562f98fbdf8629ecce2c478423ea6e | /src/outParam.cpp | 951c4b3f8664d6b6508a54d769cb3ff1c9a41d71 | [] | no_license | sebmartel/node-oracle | d6e16a64a0332fd76c452d15b2c132a68bba20cd | cb51ac3f63ab1f7f262b58158f86056deb323a59 | refs/heads/master | 2021-01-18T11:37:18.632411 | 2013-04-05T04:16:03 | 2013-04-05T04:16:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 713 | cpp | outParam.cpp |
#include "outParam.h"
Persistent<FunctionTemplate> OutParam::constructorTemplate;
void OutParam::Init(Handle<Object> target) {
HandleScope scope;
Local<FunctionTemplate> t = FunctionTemplate::New(New);
constructorTemplate = Persistent<FunctionTemplate>::New(t);
constructorTemplate->InstanceTemplate()->SetIn... |
04e284d67530c74ad863b7a1efb734cea4a772cc | 1e1bce1a4ce57d41f8deab0a5068e6c314610284 | /dp/practice/longestPalindrome.cpp | 91c45255002e878b53d54df9e575653ba96902d0 | [] | no_license | driti924/DSA | c2ef36d92994cc49453405101dc86cc10cfcdab5 | 4fc88b0254b8bca8b9aea5841f8c593b45f3cdc4 | refs/heads/main | 2023-08-20T12:43:16.881611 | 2021-10-20T16:00:30 | 2021-10-20T16:00:30 | 411,663,875 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,655 | cpp | longestPalindrome.cpp | #include<iostream>
#include<vector>
#include<math.h>
#include<cstring>
using namespace std;
#define rep(i,a,b) for(int i=a;i<b;i++)
#define ff first
#define ss second
#define mii map<int, int>
#define pii pair<int, int>
#define vii vector<pii>
#define vi vector<int>
int dp[10006][10006];
/*
bool helper(string s, in... |
3fc37881e42180fe014d691f3ff9d1c1071e37be | d86d622845e4b19b3f93b1e61ed8184571c684ed | /src/search/backup_function.h | 5f627aae4a024b1996a1da8ba3bc877354e1e2ec | [
"MIT"
] | permissive | prost-planner/prost | d34966e805bdb11b2bf1714e4a79d6169e5b7a15 | 3e38dd000c940565f584174c4e1a5e5db121b740 | refs/heads/master | 2022-11-12T11:46:23.547225 | 2022-11-01T09:25:45 | 2022-11-01T09:25:45 | 215,983,867 | 36 | 19 | null | null | null | null | UTF-8 | C++ | false | false | 4,135 | h | backup_function.h | #ifndef BACKUP_FUNCTION_H
#define BACKUP_FUNCTION_H
#include <string>
class THTS;
class SearchNode;
/******************************************************************
Backup Function
******************************************************************/
class BackupFunction {
public:
virt... |
3ebfb53f8063fa0291006cf8faf260481f4c9672 | 58d250f7b68c410bec38b34163072b6581509cf7 | /test/datetime.t.cpp | 278f04d2aa386a98b6b89cf9979b7b67cc49727c | [
"MIT"
] | permissive | GothenburgBitFactory/libshared | 9a37e67480d1586cf604ffb1c32ae689bb0a1907 | 3bcb73bd9024e18ed0a5e8783ada04e116af1d0a | refs/heads/master | 2023-08-22T08:05:36.676067 | 2023-08-12T10:15:53 | 2023-08-17T09:15:50 | 120,080,629 | 3 | 24 | NOASSERTION | 2023-09-11T01:36:17 | 2018-02-03T10:18:08 | C++ | UTF-8 | C++ | false | false | 79,687 | cpp | datetime.t.cpp | ////////////////////////////////////////////////////////////////////////////////
//
// Copyright 2013 - 2021, Göteborg Bit Factory.
//
// 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 witho... |
7cae4aae220035625e3395faff20725566d0055f | 370881312084d8d2ce0f9c8dce147b81a3a9a923 | /Game_Code/Code/CryEngine/CryAction/Serialization/XMLCPBin/XMLCPB_Utils.cpp | a663f50d39b426c3157c744ca432b14e51a60f80 | [] | no_license | ShadowShell/QuestDrake | 3030c396cd691be96819eec0f0f376eb8c64ac89 | 9be472a977882df97612efb9c18404a5d43e76f5 | refs/heads/master | 2016-09-05T20:23:14.165400 | 2015-03-06T14:17:22 | 2015-03-06T14:17:22 | 31,463,818 | 3 | 2 | null | 2015-02-28T18:26:22 | 2015-02-28T13:45:52 | C++ | UTF-8 | C++ | false | false | 9,926 | cpp | XMLCPB_Utils.cpp | /*************************************************************************
Crytek Source File.
Copyright (C), Crytek Studios, 2001-2010.
*************************************************************************/
#include "StdAfx.h"
#include "XMLCPB_Utils.h"
#include "Writer/XMLCPB_Writer.h"
#include "Writer/XMLCPB_Nod... |
ad89919728a5a59f12153b7ce38c694de784eb67 | d010434ef81d8a9f42a7f5f6c3b2f22ae77ca224 | /resp_newton.cpp | 6e12202f43c8e14005cd3f456687287b7860740a | [] | no_license | Eilin83226/test_smooth | 9bd849507e3f4ef457166128cdd7540a272106cb | 61f9fe3eb433c133526e62e906a37e17b960a2d5 | refs/heads/master | 2020-03-22T07:20:01.429541 | 2018-09-01T18:30:06 | 2018-09-01T18:30:06 | 139,595,127 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 16,547 | cpp | resp_newton.cpp | #include "resp_newton.h"
//#include "bacf_optimized.h"
#include "thread_bacf_tracking.h"
#include "func.h"
void resp_newton(vector <Mat> &response,vector <Mat> &responsef,double iterations,Mat &ky,Mat &kx,double use_sz[],float &disp_row,float &disp_col,int &sind){
//double START,END;
//START = clock();
... |
b93eab66908ce831f01477735e90d11fc2eb3ab7 | 112021b2aab61cd24847b72aeb856e887c028d25 | /Assignments/Solutions/Chetas Shree Madhusudhan/Assignment 4/Q2.cpp | 863ac1151ea02fcafc5de367c88aca0a0cbd0758 | [] | no_license | amanraj-iit/DSA_Uplift_Project | 0ad8b82da3ebfe7ebd6ab245e3c9fa0179bfbef1 | 11cf887fdbad4b98b0dfe317f625eedd15460c57 | refs/heads/master | 2023-07-28T06:37:36.313839 | 2021-09-15T11:29:34 | 2021-09-15T11:29:34 | 406,765,764 | 10 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 358 | cpp | Q2.cpp | // Question 2
// Given a string str, the task is to remove all the duplicates in the given string
// I/P:
// aababcdd
// O/P:
// abcd
#include<bits/stdc++.h>
using namespace std;
int main(){
string a = "aababcdd";
int l = a.size();
sort(a.begin(),a.end());
for(int i=0;i<l;i++){
if (a[i+1] != a... |
954af0d3f32f85bed874f14e941ca5a3479eb1ba | 89292be10b520779772588bbd90184e4f6d00748 | /mojo/system/core_impl.h | 7e226948c50b498d2cc7c6d728c9abfc1da240eb | [
"BSD-3-Clause"
] | permissive | anirudhSK/chromium | 2cd85630932a05fa065a5d9a1703de33e9b5c483 | a8f23c87e656ab9ba49de9ccccbc53f614cdcb41 | refs/heads/master | 2016-09-11T03:25:35.744751 | 2014-03-14T15:59:45 | 2014-03-14T15:59:45 | 10,112,188 | 2 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 7,299 | h | core_impl.h | // Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef MOJO_SYSTEM_CORE_IMPL_H_
#define MOJO_SYSTEM_CORE_IMPL_H_
#include "base/basictypes.h"
#include "base/compiler_specific.h"
#include "base/contain... |
0ae87d92e13c90d6e9254996675f477c403e89a1 | d6b4bdf418ae6ab89b721a79f198de812311c783 | /clb/include/tencentcloud/clb/v20180317/model/Backend.h | dcf40a99fd218c55a254a104a2628ff3d0359b3f | [
"Apache-2.0"
] | permissive | TencentCloud/tencentcloud-sdk-cpp-intl-en | d0781d461e84eb81775c2145bacae13084561c15 | d403a6b1cf3456322bbdfb462b63e77b1e71f3dc | refs/heads/master | 2023-08-21T12:29:54.125071 | 2023-08-21T01:12:39 | 2023-08-21T01:12:39 | 277,769,407 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,350 | h | Backend.h | /*
* Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. 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
... |
a418f5ccd1816b6958439da6f374bf7e29e5ba3c | 78569960e7531522988f774e1cffae2f458b7b3e | /src/zrtp/confack.cc | 825aeeb6df6a7ade29a07c917b268a2e98b58ea8 | [
"BSD-2-Clause"
] | permissive | firesidecollectives/uvgRTP | 3b684d565189b66a99598ac7470e4269947ea628 | 7949f4cef1f0a59214637f0135f51094a6f58887 | refs/heads/master | 2023-08-20T11:11:32.238892 | 2021-09-20T03:18:29 | 2021-09-20T03:18:29 | 358,142,792 | 0 | 0 | BSD-2-Clause | 2021-09-22T04:37:59 | 2021-04-15T05:51:34 | C++ | UTF-8 | C++ | false | false | 2,014 | cc | confack.cc | #include <cstring>
#include "debug.hh"
#include "zrtp.hh"
#include "zrtp/confack.hh"
#define ZRTP_CONFACK "Conf2ACK"
uvgrtp::zrtp_msg::confack::confack(zrtp_session_t& session)
{
LOG_DEBUG("Create ZRTP Conf2ACK message!");
frame_ = uvgrtp::frame::alloc_zrtp_frame(sizeof(zrtp_confack));
rframe_ = uvgrt... |
29627110b007833c9329724c2c1584b63d42b044 | a06b3a3f6ffa7cbfce5f61e362090c1c45e15979 | /tos-miniconf/tos-staff.cc | 46bc86096316a454fd87e4ec9224085e892a8a8f | [] | no_license | BackupTheBerlios/nxsadmin | 8c026d8f947da8829c236e4a6b610cfb141de686 | 66da3e8ffbfde1ccc1fc2bdc8ef4e44938eedc3b | refs/heads/master | 2021-01-01T19:21:00.488703 | 2010-09-29T12:09:00 | 2010-09-29T12:09:00 | 40,081,936 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,785 | cc | tos-staff.cc | /***************************************************************************
* Copyright (C) 2008 Computer Group "Drohobych" *
* developer@drohobych.com.ua *
* *
* This pr... |
070844f6b902051f33b683abf23a91372a9488b9 | 8f50c262f89d3dc4f15f2f67eb76e686b8f808f5 | /Trigger/TrigT1/TrigT1Muctpi/src/Mioct/LUTFFOverlapCalculator.h | e7a4f4730a5b3b509aaa8db557cf4a060f0f8ee3 | [
"Apache-2.0"
] | permissive | strigazi/athena | 2d099e6aab4a94ab8b636ae681736da4e13ac5c9 | 354f92551294f7be678aebcd7b9d67d2c4448176 | refs/heads/master | 2022-12-09T02:05:30.632208 | 2020-09-03T14:03:18 | 2020-09-03T14:03:18 | 292,587,480 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,914 | h | LUTFFOverlapCalculator.h | // Dear emacs, this is -*- c++ -*-
/*
Copyright (C) 2002-2018 CERN for the benefit of the ATLAS collaboration
*/
// $Id: LUTFFOverlapCalculator.h 701446 2015-10-19 15:19:09Z wengler $
#ifndef TRIGT1MUCTPI_LUTFFOVERLAPCALCULATOR_H
#define TRIGT1MUCTPI_LUTFFOVERLAPCALCULATOR_H
// Local include(s):
#include "LUTOverl... |
42974e694fdb67b0012c95a74aa1ef3b5597d54b | a4c7af774fea898675b74c34ba89b820f17b64a9 | /Source Files/Record.cpp | 982636184e275d9432032bbfd72926ad6d4645c0 | [] | no_license | StefanCardnell/Running | a55520084dfbf72694f7c6aa525dc003db644ce5 | 29f8dbff470a86fb6889ac3a04add2ea9fbb5001 | refs/heads/master | 2021-05-30T18:04:26.306065 | 2015-12-28T22:50:01 | 2015-12-28T22:50:01 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,606 | cpp | Record.cpp | #include <iostream>
#include <fstream>
#include <sstream>
#include <string>
#include <vector>
#include <iomanip> //for setw(n)
#include <algorithm>
#include <numeric>
#include <exception>
#include <stdexcept>
#include "Record.h"
using namespace std;
const double kmpermile = 1.609344;
const double mileperkm = 0.621371... |
c5426c3c3b2410e2a8b35cf1d0ff570c51631112 | cb52c1b188e6b3fb36e3cc3680c26da72165395a | /Arduino/libraries/Camera/Camera.cpp | 20384a3aa3f8de89638c8e063b3f4007a3a0e7be | [] | no_license | digitalfotografen/CaptureControl | 7b0a578b8d1ebeef11072352b5b91b5f9a4d1e24 | f20a079fe0f15deaf3490584cba9fe900aac5c87 | refs/heads/master | 2020-05-24T12:31:41.382641 | 2015-04-15T11:09:31 | 2015-04-15T11:09:31 | 33,654,936 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,627 | cpp | Camera.cpp | #include <Camera.h>
Camera::Camera(int shutterPin, int focusPin)
{
_shutterPin = shutterPin;
_focusPin = focusPin;
_exposureTime = 20L; // default 20 milliseconds = 1/50 s
reset();
}
void Camera::focus()
{
if (_state > CAMERA_HOLD){
digitalWrite(_focusPin, HIGH);
_state = CAMERA_FOCUS;
}
}
void C... |
7c7a969e64b0f9efd0203b9b93d2755dba2dbab8 | 25981883b16d2d4fe2ecfc456304b3be080fa890 | /Schema/LogicalProjection.h | 7ff093ed2b43e329fdb0d2235f3c6897bd09d816 | [] | no_license | theta1990/Claims | c82cfd248bb585f660cbce829ce947f99c3c19f6 | f3f21872c9fc87febc6bc14d8d1affcfb549d2c7 | refs/heads/master | 2021-01-22T16:37:25.450262 | 2014-02-21T05:25:49 | 2014-02-21T05:25:49 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 399 | h | LogicalProjection.h | /*
* LogicalProjection.h
*
* Created on: Nov 8, 2013
* Author: wangli
*/
#ifndef LOGICALPROJECTION_H_
#define LOGICALPROJECTION_H_
#include <vector>
#include <map>
#include "../Catalog/table.h"
#include "../Catalog/Column.h"
class LogicalProjection{
public:
LogicalProjection();
virtual ~LogicalProjection(... |
caf3b6f1c795af003eb8ffffc8bda9a1bd10cd2f | 7299efe4f5b6225b6c88671739b79be9c93abe8e | /NetDataParser/NetDataStatClass.h | 278e63a55fb2661247e07ad0aae538650f5615a6 | [
"MIT"
] | permissive | KonstantinLeontev/NetDataParser | b3f000e14baee8f3a815d40b845e39de3108606b | 57dcf1b7fc02b85301af2521c5799a0389659a57 | refs/heads/master | 2020-03-13T09:49:46.463195 | 2019-01-30T19:56:06 | 2019-01-30T19:56:06 | 131,072,177 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 8,779 | h | NetDataStatClass.h | #pragma once
#include <iostream>
#include <string>
#include <set>
#include <map>
#include <algorithm>
#include <iomanip>
#include "Packet.h"
enum DATA {
NETV1_P, // Task 1: NETWORK V1 packets.
NETV2_P, // Task 2: NETWORK V2 packets.
NETV1_A, // Task 3: NETWORK V1 addresses.
NETV2_A, // Task 4: NETWORK V2 addresses... |
4c06f0fa06c4eff413a78ed09184ec3862bbe50a | 7d232f51e2330a4f537c50ede9c6bc023d656fd4 | /src/core/ext/filters/stateful_session/stateful_session_filter.cc | 315e7e5ae628119bf1c28ae9bc7a36fa38f85c28 | [
"BSD-3-Clause",
"MPL-2.0",
"Apache-2.0"
] | permissive | grpc/grpc | 6975af3ba6f07a6fe965b875a0c09abf18999a52 | e4d598ab64aa54f1da78c6ed6133b741742d11d4 | refs/heads/master | 2023-08-31T01:10:22.666618 | 2023-08-30T22:35:17 | 2023-08-30T22:35:17 | 27,729,880 | 42,330 | 13,022 | Apache-2.0 | 2023-09-14T21:54:19 | 2014-12-08T18:58:53 | C++ | UTF-8 | C++ | false | false | 12,317 | cc | stateful_session_filter.cc | //
// Copyright 2022 gRPC authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed t... |
f898a59a0385443bc2f8ab5528be7ea09278377f | ec20a53091e1e5e7a31d708f14cd37b857a94016 | /Hardware_Week_2_Th/fade_withStates/fade_withStates.ino | 18532405c061fd1b17369f9f4f871e2d6081ffc9 | [] | no_license | tatecarson/LSU-PDM-Spring-2019 | 04640e86553727111305d62f3d0b81cd1c8dd0a1 | 788039b53c08360ae53c3389f13ebce82772a41f | refs/heads/master | 2020-04-22T01:59:37.394409 | 2019-04-02T17:32:29 | 2019-04-02T17:32:29 | 170,032,444 | 2 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,727 | ino | fade_withStates.ino | // PWM Pin
int led = 9;
int brightness = 200;
int fadeAmount = 5;
int pot;
int button1 = 0;
int button2 = 0;
int button1State = 0;
int button2State = 0;
// States allow us to turn the button from a momentary button to a toggle button
// now we can press the button once to switch between two states
void setup()
{
//... |
939a8346a40a503253e90a04e1198f0081a41417 | 60bd79d18cf69c133abcb6b0d8b0a959f61b4d10 | /libraries/MTP40C/examples/MTP40D_I2C_demo/MTP40D_I2C_demo.ino | c5a3b902d09ebae811fe208b13e60e168f622f2a | [
"MIT"
] | permissive | RobTillaart/Arduino | e75ae38fa6f043f1213c4c7adb310e91da59e4ba | 48a7d9ec884e54fcc7323e340407e82fcc08ea3d | refs/heads/master | 2023-09-01T03:32:38.474045 | 2023-08-31T20:07:39 | 2023-08-31T20:07:39 | 2,544,179 | 1,406 | 3,798 | MIT | 2022-10-27T08:28:51 | 2011-10-09T19:53:59 | C++ | UTF-8 | C++ | false | false | 1,656 | ino | MTP40D_I2C_demo.ino | //
// FILE: MTP40D_I2C_demo.ino
// AUTHOR: Rob Tillaart
// PURPOSE: demo of MTP40D I2C interface
// DATE: 2021-08-27
// URL: https://github.com/RobTillaart/MTP40C
//
//
// TODO TEST WITH SENSOR
// do not expect this to work yet
//
// Tested with an MTP40-F (slave address 0x32) - PR#7
// - reading the gas... |
890026f06d73a581398a2f2634710a35295dae2e | 9bccc708faa4c8908a4398250502818c3795a95a | /06.PrintList/main.cpp | eec6a5c79d14cdbbd963710a1f1fa94c750ea495 | [] | no_license | Convere/SwordOffer | f03ffdfe2ee55b173077b0b13007b63b9c7cb6b9 | 0e901f31d3f165aafa277fd1833b00dd206c6a79 | refs/heads/master | 2023-07-11T07:02:15.948997 | 2021-08-15T08:46:14 | 2021-08-15T08:46:14 | 381,646,077 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,935 | cpp | main.cpp | #include <iostream>
#include <stack>
using namespace std;
struct ListNode
{
int m_value;
ListNode* m_next = nullptr;
ListNode() { m_value = -1; m_next = nullptr; }
ListNode(int a, ListNode* ptr):m_value(a),m_next(ptr) {}
ListNode(int a) :m_value(a) {}
};
//递归逆序打印
void printList(ListNode* list)
{... |
7302925fc1a1c43c8fb19ab383a7ddad132ecbd4 | 98c45d55f6ef5f13579012b11e2c024954efcbc3 | /jni/src/mtxw_instance.cpp | f5c3d69b7612997d6bb9dd6275e0247529c7e1c7 | [] | no_license | cloudflywoo/hello-world | 07f259ff525d4310d23ce969e58297334ef47a0e | 73e2ee82618562fecfe18edb5e954f14dcd14fad | refs/heads/master | 2020-03-21T19:59:15.176636 | 2018-08-06T03:24:27 | 2018-08-06T03:24:27 | 138,981,138 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 44,125 | cpp | mtxw_instance.cpp | #include "mtxw_instance.h"
#include "mtxw_controlblock.h"
#include <string.h>
#include <time.h>
#include <net/if.h>
//buffer消息的最大长度
static UINT32 MTXW_AUDIO_BUFFER_MSG_SIZE_MAX = 1*1024;
static UINT32 MTXW_VIDEO_BUFFER_MSG_SIZE_MAX = 2*1024*1024;
#define MTXW_BUFFER_MSG_SIZE_MAX ((this->bAudio)? (MTXW_AUDIO_BUFFER_... |
fe09967e56d4f3681853edf5321c295df8bc5212 | 39d6ad40b021143df3c03a6546ea238cfc5e6e63 | /shinobi/SourceCode/CEditor/CHermitian.h | c19cd2d7c4a6e251303e66ef42c5010a1b68783d | [] | no_license | weiqiuxiang/shinobi | eb1c3312e120a04232722099c2b7834cfce07313 | 8cfa81fbdf2fa36ca01cbac4be4b2bc925dfee5e | refs/heads/master | 2020-03-18T18:22:43.405608 | 2018-05-28T02:01:32 | 2018-05-28T02:01:32 | 135,088,800 | 0 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 2,785 | h | CHermitian.h | //説明 : エルミート曲線の2DUI、曲線補間もしくはミサイルの弾道に使う
#pragma once
#ifndef HERMITIAN_H_
#define HERMITIAN_H_
#include "main.h"
#include "CFontUIScale.h"
#include <vector>
class CHermitian
{
public:
typedef enum {
LOCK_NONE = 0,
LOCK_WINDOW,
LOCK_START,
LOCK_END
}MOUSE_IN_OBJ;
CHermitian();
~CHermitian();
void Init(co... |
9805126d522536a100d43d0b499aaefd533246b5 | 88935ce124c354acdb013df9a499067444829ca0 | /solutions/1306.cpp | d5055492794160728098ccace968aa5c324fd0d1 | [] | no_license | pascal-the-elf/TIOJ-ASE | 6883e4d0d0a23f02d3f2efe58bf5bd9537952384 | 181ba41b732d52f9c8c728be247961dda3bd4398 | refs/heads/main | 2023-06-04T11:40:20.715491 | 2021-06-27T16:35:40 | 2021-06-27T16:35:40 | 377,033,735 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,652 | cpp | 1306.cpp | #pragma g++ optimize("Ofast")
#pragma loop_opt(on)
#include <iostream>
using namespace std;
const int N = 400025, K = 26;
struct AhoCorasick {
int tot, ch[N][K], ans[N], fail[N]; // root = 0
int q[N], head, tail;
void init() {
for(int i = 0; i <= tot; i++) {
ans[i] = fail[i] = 0;
... |
215fcf85b46731900ad6fa190e25637c2b281a26 | 274c7e80dd5157e0c2921e525d4c387729873dba | /test.cpp | 30c608ee84c2cfe24059c0a271fb321a857de6cc | [] | no_license | Akantonio/Homework2 | 5d4db95a8d1cff2719589ac2a5e5b697f5fa9db3 | 6c17a062193b4c1981b3985a6f02e0cafc6f91b6 | refs/heads/master | 2023-03-12T06:32:13.595079 | 2021-02-13T04:49:46 | 2021-02-13T04:49:46 | 337,599,590 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,731 | cpp | test.cpp | //
// Created by Adrian Antonio on 2/11/2021.
//
#include "catch.hpp"
#include "programheader.h"
#include "memoryLay.h"
TEST_CASE("Struct Value"){
std::list<buildingValue> buildingList(5); //Initializing a list of buildingValues.
for(int i=0; i<5;++i ){
buildingList.push_back(buildingValue{i,200,"F... |
1fb86b8fc7350e39079e04bb1a11b0fb63a2f865 | ba39e82596f1a9d5b3278bee5c55845fba67c312 | /car.ino | 4f4a1f5f12e824f18bfbc2b70407dd53236ccd63 | [] | no_license | binfeiruci/arduinoCar | c199a8c22745a6dc9c49ea8d5f5acc5e7bee9109 | 29879f77b51c2ecbafa38a298b9a002d265b46a1 | refs/heads/master | 2021-05-04T11:07:52.571412 | 2019-04-16T11:00:23 | 2019-04-16T11:00:23 | 48,179,392 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 293 | ino | car.ino | void setup() {
// put your setup code here, to run once:
motorSetup();
trackSensorSetup();
barrierSensorSetup();
irSetup();
Serial.begin(9600);
}
void loop() {
// put your main code here, to run repeatedly:
// trackSensorControl();
// barrierSensorControl();
irControl();
}
|
2ae3bebc353200e4778249b0dd538c0de101e3ed | 5a99894cf35d03f1a85f8b0bef5bee719b70afee | /MODULE_04/ex02/AssaultTerminator.cpp | 2702ed457300597df34a5be5b25f9f94789c3485 | [] | no_license | fjimenez81/PISCINA_CPP | a2c6410912db48b25fd024ea99caf37221809e5d | e14b9c0cdf317e4960a2d73377e13cb4b6aea2d9 | refs/heads/master | 2023-01-14T05:37:08.847262 | 2020-11-20T11:33:18 | 2020-11-20T11:33:18 | 274,480,126 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,799 | cpp | AssaultTerminator.cpp | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* AssautTerminator.cpp :+: :+: :+: ... |
6f09024d24a4efc7dc06b2cb525ae1dc5b60789e | 64178ab5958c36c4582e69b6689359f169dc6f0d | /vscode/wg/sdk/UBuoyancyComponent.hpp | 48833be53c93e7c1faae7ed3118c8ab57cc9a88a | [] | no_license | c-ber/cber | 47bc1362f180c9e8f0638e40bf716d8ec582e074 | 3cb5c85abd8a6be09e0283d136c87761925072de | refs/heads/master | 2023-06-07T20:07:44.813723 | 2023-02-28T07:43:29 | 2023-02-28T07:43:29 | 40,457,301 | 5 | 5 | null | 2023-05-30T19:14:51 | 2015-08-10T01:37:22 | C++ | UTF-8 | C++ | false | false | 9,792 | hpp | UBuoyancyComponent.hpp | #pragma once
#include "UMovementComponent.hpp"
#include "FVector.hpp"
#include "FRotator.hpp"
#ifdef _MSC_VER
#pragma pack(push, 1)
#endif
namespace PUBGSDK {
struct alignas(1) UBuoyancyComponent // Size: 0x2C0
: public UMovementComponent // Size: 0x230
{
private:
typedef UBuoyancyComponent t_str... |
3f62c15b3c4d6c9eb55683a4224311a49c2c6cb4 | 8443144a2cf857153eb6024ef6f1181bcea8d625 | /GeometryEngine/Items/Materials/MultiTextureMaterial.h | 5891533cc414751cea194200946a19127661ef93 | [] | no_license | Ithos/TestGameEngine | dc9d90d551ba6fa8ad96264949d9720958b9f556 | 91ddfd70e573311ee8d405434555e8b1dbdcf4ff | refs/heads/master | 2022-12-22T11:55:45.798212 | 2022-12-08T12:23:50 | 2022-12-08T12:23:50 | 171,184,187 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,017 | h | MultiTextureMaterial.h | #pragma once
#ifndef MULTITEXTUREMATERIAL_H
#define MULTITEXTUREMATERIAL_H
#include <list>
#include <qopengltexture.h>
#include "Material.h"
namespace TexturesFiles
{
class Textures;
}
namespace GeometryEngine
{
namespace GeometryMaterial
{
class TextureParameters;
/// Material tha uses different textures fo... |
f7ad8efb404d03946993614668e9edd39a9fd2e6 | b80322e91645595c1f93b474acfcfbe1fb28066d | /Graph/Medium/strongly_connected_components.cpp | 433a86c0c2f0882462273cc71f58f571c8784dde | [] | no_license | Priyanshu-24/Data-Structures-Level-2 | 4e012ddeb3dd6cd9fc3e517cc2a310fceecae7f9 | 3586b54cf84bdb9681cda5522b442c9c91f804bd | refs/heads/main | 2023-06-19T05:34:50.797798 | 2021-07-19T11:49:27 | 2021-07-19T11:49:27 | 331,359,546 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,879 | cpp | strongly_connected_components.cpp | // kosaraju's algorithm
// SCC are those in which we can reach from one node to all the nodes of that component
// (Obviously we have directed graph)
// scc can be merely a single node also
// the cache here is that we will do dfs in reverse order
// steps :-
// 1) sort all the nodes in order of their finishing time... |
5b825d385c2991d03c7582e562b6ec03432fef83 | 1a9eec622f34988714ba994915d1c538fc2d16aa | /ArtifactManager/ArtifactType.h | a43ec78f8c7dc61e1cfc977f075a902e659a428f | [
"MIT"
] | permissive | EladShriki/Stresser | a6e344f39c2d79822bb470cc26f488d093648168 | 1c3b98a53603d1bd6e90ac5794c15682c7b7d66f | refs/heads/master | 2023-02-01T04:36:51.799950 | 2020-12-20T19:04:09 | 2020-12-20T19:04:09 | 322,077,069 | 0 | 0 | MIT | 2020-12-20T19:09:30 | 2020-12-16T19:07:23 | C++ | UTF-8 | C++ | false | false | 248 | h | ArtifactType.h | #pragma once
#ifndef __ARTIFACT_TYPE_H
#define __ARTIFACT_TYPE_H
class ArtifactType {
public:
enum class Type {
Registry,
File,
Process,
Service
};
static std::wstring ArtifactTypeToWString(Type type);
};
#endif // !__ARTIFACT_TYPE_H
|
051d5362c9f4ad539c7f96efe7795e2a5948b30b | 8b7cc74678bee750812a66d2748103de2e0fbd45 | /tl_detectors/meanshiftdetector.cpp | f6d0fa14361e2bbaf5f7f8786b7303ff83541ce6 | [
"MIT"
] | permissive | joachimvalente/tracklib | 9bd3a0eb261a216dfc6dab3eb16c5734144d1291 | f518e757ba58fa1370f63969837d853597d64255 | refs/heads/master | 2021-01-01T06:54:09.856390 | 2014-04-03T20:54:43 | 2014-04-03T20:54:43 | 16,682,584 | 6 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,509 | cpp | meanshiftdetector.cpp | #include "tl_detectors/meanshiftdetector.h"
using namespace cv;
namespace tl {
//--------------------------- Constructor -------------------------
MeanshiftDetector::MeanshiftDetector(const cv::Mat &initial_frame,
cv::Rect initial_state) :
Detector(initial_frame, initial_state)... |
190b4d8c3afd25ff1aac10ed7166f571f59c4c64 | 01b1f86aa05da3543a2399ffc34a8ba91183e896 | /modules/test/unit/doc/source/ulpdist.cpp | 634f90a6a760afc5dbbdeb06aa9b0c0bc58ce48f | [
"BSL-1.0"
] | permissive | jtlap/nt2 | 8070b7b3c4b2f47c73fdc7006b0b0eb8bfc8306a | 1b97350249a4e50804c2f33e4422d401d930eccc | refs/heads/master | 2020-12-25T00:49:56.954908 | 2015-05-04T12:09:18 | 2015-05-04T12:09:18 | 1,045,122 | 35 | 7 | null | null | null | null | UTF-8 | C++ | false | false | 806 | cpp | ulpdist.cpp | //[ulpdist
template<class T> double ulpdist(T a0, T a1)
{
if( (a0 == a1) || ((a0!=a0) && (a1!=a1)) ) /*< Exit if a0 and a1 are equal or both NaN >*/
return 0.;
int e1,e2;
T m1,m2;
m1 = std::frexp(a0, &e1);
m2 = std::frexp(a1, &e2);
int expo = std::max(e1, e2); /*< Compute the largest exponent betwee... |
ad8e525218e14fb934332ec1b265522f19ec471b | fc33c65cdb4933b349c4513e5701ba7d3cd53df9 | /include/ans/it.hpp | c4be6b31a09302bf512a5df22fdcc455f298b032 | [] | no_license | Answeror/ans | ff9abbc1c7fa977a3bcd77c2d753f1de7947a3da | 7cc5ce6876c0b488a56e0bc7dbc7bbe1fdcb2996 | refs/heads/master | 2021-01-20T06:25:13.715741 | 2012-10-15T15:17:05 | 2012-10-15T15:17:05 | 1,858,037 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 146 | hpp | it.hpp | #ifndef ANS_IT_HPP
#define ANS_IT_HPP
#include "it/it.hpp"
#include "it/make_range.hpp"
namespace ans {
using namespace its;
} // ans
#endif
|
d7a24e1a976c4b77111a5e9e35b5719bcf1fa524 | 1e363a86ab80681cc516b4a301e21a57fb3ad64c | /src/BitflowCpp20/bitflow/draw/DrawUtils.h | 38ee4aab81cce069dbd34adaba5c64a827fed455 | [] | no_license | abhean/BitflowCpp20 | da7cb43ab9dfcec679b87f0aceaa7334e6e9afc0 | fe7e9457986ac96693a5b5f107c40f009672d537 | refs/heads/master | 2020-06-09T23:16:51.882487 | 2017-02-02T20:48:56 | 2017-02-02T20:48:56 | 76,127,639 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 463 | h | DrawUtils.h | #pragma once
#include "bitflow/model/Types.h"
#include <SFML/Graphics.hpp>
namespace bitflow::draw
{
inline sf::Vector2f PositionToVector2f(model::Position const& position)
{
return sf::Vector2f{ X(position).value(), Y(position).value() };
}
inline sf::Vector2f DirectionToVector2f(model::Direction const& positio... |
1a9426e58dd60e2eefb655240b4a1a1b71fbcf9b | 726d8518a8c7a38b0db6ba9d4326cec172a6dde6 | /0990. Satisfiability of Equality Equations/Solution.cpp | f58e20296803c83422c5ac5345ba014b1e3def04 | [] | no_license | faterazer/LeetCode | ed01ef62edbcfba60f5e88aad401bd00a48b4489 | d7ba416d22becfa8f2a2ae4eee04c86617cd9332 | refs/heads/master | 2023-08-25T19:14:03.494255 | 2023-08-25T03:34:44 | 2023-08-25T03:34:44 | 128,856,315 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 908 | cpp | Solution.cpp | #include <functional>
#include <string>
#include <vector>
using namespace std;
class Solution {
public:
bool equationsPossible(vector<string>& equations)
{
vector<int> tree(26);
for (int i = 0; i < 26; ++i)
tree[i] = i;
function<int(int)> findRoot = [&](int x) -> int {
... |
c1aaa6f1d36df88313a278d94e149df4dbef1f2d | c77c898a7dc5ce5818236823a3a74638df238fa5 | /07_class_multiples/shooter.h | 2f01de4cbdccaccef061b1b5c071b5efb2712e3d | [
"MIT"
] | permissive | acc-cosc-1337-spring-2019/midterm-spring-2019-TranBran | 946c41701a4fcaa394f5d212fac76e5b6c08d321 | ed8c1f250c685185e0d1abe13063342915d46191 | refs/heads/master | 2020-04-28T02:33:43.750083 | 2019-03-21T03:46:31 | 2019-03-21T03:46:31 | 174,903,386 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 173 | h | shooter.h | #ifndef SHOOTER_H
#define SHOOTER_H
#include"roll.h"
class Shooter
{
public:
Roll shooter(Die & d1, Die &d2);
private:
};
#endif //class Shooter interface |
da072f911e716a2627e1cab7c21124f3172b00f6 | 67cff220c93120ac56191101b21e1d16d04ef70c | /include/nbl/asset/IPipelineLayout.h | 1ba8824ae79dc223611819e5827242c37e71e4d9 | [
"LicenseRef-scancode-unknown-license-reference",
"Apache-2.0"
] | permissive | Przemog1/Nabla | ad271f723cb52ba2f0c5767dd37dc010335e76d7 | 4ba1fb2f3fe57dbdcd8360ce9e484dd443895781 | refs/heads/master | 2023-06-10T11:03:32.621767 | 2021-05-08T19:44:12 | 2021-05-08T19:44:12 | 294,165,513 | 0 | 0 | Apache-2.0 | 2021-04-27T21:35:48 | 2020-09-09T16:15:07 | C++ | UTF-8 | C++ | false | false | 5,446 | h | IPipelineLayout.h | // Copyright (C) 2018-2020 - DevSH Graphics Programming Sp. z O.O.
// This file is part of the "Nabla Engine".
// For conditions of distribution and use, see copyright notice in nabla.h
#ifndef __NBL_ASSET_I_PIPELINE_LAYOUT_H_INCLUDED__
#define __NBL_ASSET_I_PIPELINE_LAYOUT_H_INCLUDED__
#include <algorithm>
#include ... |
62d259d283ccc88bf275145b2d9deba5fd1e36a2 | d5c94de3e7b6111222fcdc0f50c081a5e9a83490 | /test/extensions/filters/http/wasm/test_data/metadata_cpp.cc | 626c1003578055cd64de2ec10282fd014080d610 | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | xybots/envoy | 4037b1c4b505f912e91f377c0488a8919b8459c2 | 7689cd98afb9c20a5a0ad32077483f2434cd9a09 | refs/heads/master | 2023-05-04T23:59:23.549269 | 2021-06-01T07:41:37 | 2021-06-01T07:41:37 | 372,743,585 | 1 | 0 | Apache-2.0 | 2021-06-01T07:43:32 | 2021-06-01T07:41:29 | C++ | UTF-8 | C++ | false | false | 4,051 | cc | metadata_cpp.cc | // NOLINT(namespace-envoy)
#include <string>
#include <unordered_map>
#include "proxy_wasm_intrinsics.h"
#include "proxy_wasm_intrinsics_lite.pb.h"
#include "contrib/proxy_expr.h"
class ExampleContext : public Context {
public:
explicit ExampleContext(uint32_t id, RootContext* root) : Context(id, root) {}
Filter... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.