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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
2047cd75bc526addead398d34b47188577c7a2db | 9f520bcbde8a70e14d5870fd9a88c0989a8fcd61 | /pitzDaily/508/pa | 55969dbc94fe16328ef7f5da5c3e93abd2cb1b91 | [] | no_license | asAmrita/adjoinShapOptimization | 6d47c89fb14d090941da706bd7c39004f515cfea | 079cbec87529be37f81cca3ea8b28c50b9ceb8c5 | refs/heads/master | 2020-08-06T21:32:45.429939 | 2019-10-06T09:58:20 | 2019-10-06T09:58:20 | 213,144,901 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 104,998 | pa | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v1806 |
... | |
7ffc93506627a1ba1c8637e01be034d34dd7a8c9 | 39bcafc5f6b1672f31f0f6ea9c8d6047ee432950 | /third_party/tpce-tool/utilities/condition.cpp | 5c3d3a3d27987e0be7f48683ecccae42dc25f6c2 | [
"MIT"
] | permissive | duckdb/duckdb | 315270af6b198d26eb41a20fc7a0eda04aeef294 | f89ccfe0ec01eb613af9c8ac7c264a5ef86d7c3a | refs/heads/main | 2023-09-05T08:14:21.278345 | 2023-09-05T07:28:59 | 2023-09-05T07:28:59 | 138,754,790 | 8,964 | 986 | MIT | 2023-09-14T18:42:49 | 2018-06-26T15:04:45 | C++ | UTF-8 | C++ | false | false | 4,942 | cpp | condition.cpp | /*
* Legal Notice
*
* This document and associated source code (the "Work") is a part of a
* benchmark specification maintained by the TPC.
*
* The TPC reserves all right, title, and interest to the Work as provided
* under U.S. and international laws, including without limitation all patent
* and trademark rig... |
60ee3d343dc0acf6a19680f225f498087016479f | cfeac52f970e8901871bd02d9acb7de66b9fb6b4 | /generated/src/aws-cpp-sdk-glue/include/aws/glue/model/TransformStatusType.h | 39299324c6c0c6db522ebc69d8682e74aef18242 | [
"Apache-2.0",
"MIT",
"JSON"
] | permissive | aws/aws-sdk-cpp | aff116ddf9ca2b41e45c47dba1c2b7754935c585 | 9a7606a6c98e13c759032c2e920c7c64a6a35264 | refs/heads/main | 2023-08-25T11:16:55.982089 | 2023-08-24T18:14:53 | 2023-08-24T18:14:53 | 35,440,404 | 1,681 | 1,133 | Apache-2.0 | 2023-09-12T15:59:33 | 2015-05-11T17:57:32 | null | UTF-8 | C++ | false | false | 678 | h | TransformStatusType.h | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/glue/Glue_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
namespace Aws
{
namespace Glue
{
namespace Model
{
enum class TransformStatusType
{
NOT_SET,
... |
6f20bab14b8246b86682f5bef80b74a16458aec1 | 8c10b097e827f6c33250d2081188a6814a9ed303 | /HW/HW-05 Peer Review/Peer 02/main.cpp | 573bbe72ffbd92d8b616f96696d96dd7a2501632 | [] | no_license | ktjones/CPP4C_Programmers | b023dc328df93a7530d28bd02656f6b43eda3927 | 6af90d23e8aa63138fa131b58455beb775557b36 | refs/heads/master | 2016-09-06T00:36:52.076836 | 2013-12-28T13:26:21 | 2013-12-28T13:26:21 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,283 | cpp | main.cpp | // Hex.cpp : Defines the entry point for the console application.
// Assiggment5 Cpp for C programer
// 12/01/2013
// compiler: MSFT Visual Studio 2012
#include<vector>
#include<iostream>
#include<algorithm>
#include<cstdlib>
#include<string>
#include<ctime>
#include<random>
#include<chrono>
using namespace std;
cla... |
2b7d27790a37fbcda778954321da452d443a059d | 07dbd95507b1acf1bd8587e669b8ea8df2052ea5 | /OnlineJudges/Codeforces/#337 (Div. 2)/D.cpp | 87ea3d97425beff8c2384ac6c3a348d19291bb75 | [] | no_license | LargeDumpling/Programming-Contest | 20fc063a944253da9f0a96d059c3fd4c0f6917ad | 001f75b6bc4af6f63bd2c250d649b70b77f92ebe | refs/heads/master | 2021-06-21T12:01:23.015714 | 2019-09-16T14:13:08 | 2019-09-16T14:13:08 | 107,221,521 | 0 | 0 | null | 2017-10-18T14:38:35 | 2017-10-17T05:22:16 | C++ | UTF-8 | C++ | false | false | 1,393 | cpp | D.cpp | /*
Author: LargeDumpling
Email: LargeDumpling@qq.com
Edit History:
2015-12-27 File created.
*/
#include<iostream>
#include<cstdio>
#include<cstdlib>
#include<cstring>
#include<cmath>
#include<map>
#include<set>
#include<algorithm>
using namespace std;
int n;
struct jp
{
int l,r;
jp(int a=0,in... |
9c301cc0116b071fe9b3bfe8086422409d41f082 | 50baf46a384bae0c291aee25428cb1b180a4ba5f | /android/GpuImageStudy/gpu_mage/src/main/cpp/gpuimage-library.cpp | fb392d904c1e660970e49555751436596e29410a | [
"Apache-2.0"
] | permissive | LightSun/research-institute | 9c84b5e6bb3005614cc923007ef436c621d33190 | 48eb3500a00b69bca78242fd648cc1f818b394b0 | refs/heads/master | 2021-05-15T00:24:18.066470 | 2019-09-07T07:35:29 | 2019-09-07T07:35:29 | 103,363,180 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 4,360 | cpp | gpuimage-library.cpp | #include <jni.h>
#include <stddef.h>
extern "C"
JNIEXPORT void JNICALL
Java_jp_co_cyberagent_android_gpuimage_GPUImageNativeLibrary_YUVtoRBGA(JNIEnv *env, jclass type,
jbyteArray yuv_, jint width,
... |
868c7b7ddcfef35dae0988a6a691c4a6498d6def | c6d5995f0daf9dcb5424b77348b9602eaba43a89 | /src/icpvevent.cpp | b8eedaa1bcbbbcc4bab90fa28e8fbc74904a0a94 | [] | no_license | VitalyVorobyev/libTatami | 118a8d7ef1b114d051453c84628c45aa0f62ee99 | 7667011f09d122ff164283fa9764b246cfbb6c33 | refs/heads/master | 2021-01-10T15:23:32.442957 | 2018-01-18T10:36:27 | 2018-01-18T10:36:27 | 49,852,199 | 0 | 1 | null | 2016-12-19T00:44:56 | 2016-01-18T04:33:25 | C++ | UTF-8 | C++ | false | false | 4,265 | cpp | icpvevent.cpp | /** Copyright 2016 Vitaly Vorobyev
** @file icpvevent.cpp
**
** @brief This message displayed in Doxygen Files index
**
** @author Vitaly Vorobyev
** Contact: vit.vorobiev@gmail.com
**
**/
#include <fstream>
#include <iostream>
#include <sstream>
#include <exception>
#include "icpvevent.h"
namespace libTatam... |
dbef0017f3d599e8de2e8e84e9cdc4ab3b0dae92 | 2d361696ad060b82065ee116685aa4bb93d0b701 | /src/gui/widgets/seq_graphic/config_utils.cpp | 2ffda27a82db2c35ebffec6cd21a01bee06e3b82 | [
"LicenseRef-scancode-public-domain"
] | permissive | AaronNGray/GenomeWorkbench | 5151714257ce73bdfb57aec47ea3c02f941602e0 | 7156b83ec589e0de8f7b0a85699d2a657f3e1c47 | refs/heads/master | 2022-11-16T12:45:40.377330 | 2020-07-10T00:54:19 | 2020-07-10T00:54:19 | 278,501,064 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 7,194 | cpp | config_utils.cpp | /* $Id: config_utils.cpp 39666 2017-10-25 16:01:13Z katargir $
* ===========================================================================
*
* PUBLIC DOMAIN NOTICE
* National Center for Biotechnology Information
*
* This software/database is a "United States Government... |
dfa87a44693af16ef10e93cf19d995ac14b43bab | 053309314b081dcb3fca08fc5ea15e6e8596141d | /day5/source/_rqy/two.cpp | 92f6f4e6c9d7d5bef44fb22993a560edfd9393f9 | [] | no_license | cppascalinux/jinanjixun | a6283e1bbdc4cac938131e8061a8b5290f6bb1dc | 555a95c7baf940c38236ac559f0a2c11a34edd0c | refs/heads/master | 2020-05-29T14:46:31.982813 | 2019-06-14T07:14:19 | 2019-06-14T07:14:19 | 189,192,981 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,228 | cpp | two.cpp | #include <algorithm>
#include <cstdio>
#include <cstring>
#include <set>
#define mp std::make_pair
typedef std::pair<int, int> PI;
const int N = 200050;
int ch[N][26], fa[N], len[N], last, cnt;
bool vis[N];
int n, k;
long long ans;
char s[N];
inline void Init() {
cnt = 1; last = 0;
fa[0] = -1;
}
void ins(int c... |
723bfeaf07cd3b080b64ba935ba068e0d650ba2a | 772d932a0e5f6849227a38cf4b154fdc21741c6b | /CPP_Joc_Windows_Android/SH_Client_Win_Cpp_Cmake/App/src/sh/scenarios/randDungeons_a_v1/gw/zoneTurnBasedRDungeonA/gw/explorableRooms/GamePartExplorableRooms.h | 450ab4c4b28c2687dd13f4d1b5bf39c003113b9d | [] | no_license | AdrianNostromo/CodeSamples | 1a7b30fb6874f2059b7d03951dfe529f2464a3c0 | a0307a4b896ba722dd520f49d74c0f08c0e0042c | refs/heads/main | 2023-02-16T04:18:32.176006 | 2021-01-11T17:47:45 | 2021-01-11T17:47:45 | 328,739,437 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 396 | h | GamePartExplorableRooms.h | #pragma once
#include <base/gh.h>
#include "GPER_ActiveRoomDetector.h"
namespace randDungeons_a_v1 {
namespace TurnBasedRDungeonA {
class GamePartExplorableRooms : public GPER_ActiveRoomDetector {priv typedef GPER_ActiveRoomDetector super;pub dCtor(GamePartExplorableRooms);
pub explicit GamePartExplorableRooms(ba... |
0d0f5a8d2a596d920442ba1589df008d5ada0d2f | 55e1f4ea9f999e5fda2c088d2b0cb3781c8aa0bc | /src/bfa_common.cpp | 97b67fdcf40cfb5e4fa4bb94b93bf73c318b3126 | [] | no_license | david-dunson/gaussian-copula-factor-model | cbfd2fc3d1386e5bcd597006fad22cedc67aecad | ed598d6413018c4d7a1285ed80c117e4f2ac5864 | refs/heads/master | 2021-01-12T17:06:37.033280 | 2016-10-20T23:05:14 | 2016-10-20T23:05:14 | 71,510,882 | 4 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 2,129 | cpp | bfa_common.cpp | #include <RcppArmadillo.h>
#include <Rcpp.h>
#include "bfa_common.h"
using namespace arma ;
using namespace Rcpp ;
bool is_sorted(arma::vec row) {
int len = row.n_elem;
bool out = true;
for (int i=1; i<len; i++) {
if (row(i)-row(i-1)<0.0) {
out=false;
break;
}
}
return(out);
}
bool bfa_isfinite(dou... |
00c9e9b66ccfc8d08bd48bd5fac7d8a78104e93d | e173eb6747fa06a230a55deafb636e6d3723639c | /classwork16.cpp | cd2d88eeac58ee51c0997c0315b886fb20b2b1d9 | [] | no_license | techkypranav/clab | ad58f9aaeb3581aa7948bffac4f11253de803a74 | 5157e4357c27635046810ffccaf9408ea5316327 | refs/heads/master | 2022-12-19T04:30:27.361526 | 2020-09-24T09:21:52 | 2020-09-24T09:21:52 | 298,228,289 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 269 | cpp | classwork16.cpp | #include<iostream>
using namespace std;
class sample{
private: int a,b;
public: sample(){
a=10;
b=20;
}
void display(){
cout<<a<<" "<<b;
}
};
int main(){
sample ob;
ob.display();
}
|
24ae53e42b479b6ac5eee5eed3d8995acb4f92f3 | 736fff9eb4854f092073130f449f343b67c2a237 | /Object.cpp | da42ed2d2a8b06187ef4d099810c43d7245368bb | [
"MIT"
] | permissive | ayush194/DiffuseShader | 2e265646600d8dc871681ff4683a6521340c65e7 | 9e4f7d5fa4ecfe19adbab420ced38118fbdebdc3 | refs/heads/master | 2020-09-23T05:55:45.435510 | 2019-12-09T16:41:17 | 2019-12-09T16:41:17 | 225,421,693 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,678 | cpp | Object.cpp | #include <Object.h>
std::vector<Vertex> Object::vertices;
std::vector<Material*> Object::mtls;
unsigned int Object::instance_count = 0;
Object::Object(const char* filename) : id(Object::instance_count) {
Object::instance_count++;
Object::loadVertexData(filename);
this->model = glm::rotate(glm::radians(90.... |
706901036b55a3050cc6f388d71cd57712142b4b | c0a9ca590691a0a56a9365eb3ba1b4f23ee45c3e | /bust.cpp | 2f40842d7c9a7f61b53ccf60b39bdc61c8901005 | [] | no_license | Naveena13/Rainbow | 4309717696b2308d16a2cbbc5f506b2f1fdc4324 | 04665715d5eaf71de50fabbec837180a8cd7f917 | refs/heads/master | 2020-04-11T16:21:02.739498 | 2019-05-02T17:11:22 | 2019-05-02T17:11:22 | 161,921,088 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,083 | cpp | bust.cpp | #include<iostream>
#include<fstream>
#include<cstdlib>
#include<string.h>
using namespace std;
class passenger
{
int seat;
char gender;
char name[10];
char ph[13];
int fare;
public:
void read_data();
void show_data();
void bookticket();
void read_rec();
... |
1f9ca1bc36d11c335590f5a7a86e8d4d853344a6 | 36fe1024a2d8c1a71b33ae009954a77557f6da8f | /source/externals/bblocks/source/btree.h | fd8acff652a97bc38a1b7fa26455643bb9902e67 | [] | no_license | google-code/cad-play-ground | 40f5dee32b763954c93e2318d4c73535dc93c2a2 | c8f7daf7ef41a698aba5a04762b2512713af81a7 | refs/heads/master | 2016-09-16T03:35:22.684587 | 2015-03-16T02:40:41 | 2015-03-16T02:40:41 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 20,823 | h | btree.h | /* ========================================================================= */
/* ------------------------------------------------------------------------- */
/*!
\file btree.h
\date Jul 2012
\author TNick
\brief Contains the definition for BTree class
*//*
~~~~~~~~~~~~~~~~~~~~~~~~~~~~... |
a1e88ec93dcd71e441e1feefd8e495cd35559fcc | 32a6e59d3fa4c564ac4def442b323d92735fd981 | /glwidget.h | 4258045d1283346026fb673cc24f30d383caaf53 | [] | no_license | heathen557/linearArrayUSB | 4e3ab12898ec0427b13df2bb5f9f6f96ffbd74fd | b13e11f74778af3c76de75c49da130cfd38c876f | refs/heads/master | 2020-07-02T05:35:01.506295 | 2019-11-13T08:32:24 | 2019-11-13T08:32:24 | 201,429,858 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 591 | h | glwidget.h | #ifndef GLWIDGET_H
#define GLWIDGET_H
#include <QOpenGLWidget>
#include<helper.h>
#include <QPainter>
#include <QTimer>
#include<QToolTip>
#include<QMouseEvent>
class GLWidget : public QOpenGLWidget
{
Q_OBJECT
public:
explicit GLWidget(QWidget *parent = 0);
Helper helper;
QTimer timer;
signals:
publ... |
70eea952f8dd732380f5d43af202afde556bd005 | 48e295698695a653e272044bc39ee5cec87d82e3 | /Gengine/Match.cpp | bf0c4c4a8e59e8816e54e5b152513059068c18c0 | [
"Apache-2.0"
] | permissive | jmluis/Gengine | b726c67bd185a7af2c21f4d2e7f98d414b696081 | cbdc346287682013f33dbf5d6bd6092ba0ae15ba | refs/heads/master | 2021-05-30T23:55:54.201707 | 2015-03-27T22:16:25 | 2015-03-27T22:16:25 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,687 | cpp | Match.cpp | #pragma once
#include "Match.h"
namespace Gengine
{
Match::Match()
{
// Our match has two horizontal walls at the top and bottom
//////////////////////////////////////////////////////////////////////////
// | | //
/////////////////////... |
39ecae69b9000f5ecf0a6f8235459da4cd8e34d5 | 6acd04024c6df2d8ddc97f95fc660344ba6bb046 | /Module_for_cluster/Politech_project/example/Rod_mesh_heating.h | 33ae221a4733701cc4f738768f1636b319376bff | [
"MIT"
] | permissive | anisimovih/Rod_mesh_heating | b82e52b4aa8ef545f1f2514ffb3fd6e6b17c8579 | 73953371ed2565712ce0ddaafdbb5f1517b96293 | refs/heads/master | 2020-09-07T09:55:08.470724 | 2020-01-10T15:45:41 | 2020-01-10T15:45:41 | 220,744,491 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,423 | h | Rod_mesh_heating.h | #pragma once
#include <vector>
#include <deque>
#include "../Task.h"
#include "../Point.h"
using std::vector;
using std::deque;
using std::string;
using std::map;
class RodMeshHeating : public Task {
public:
RodMeshHeating();
~RodMeshHeating();
void parseParam(map<string, string> mapParam);
double getTime();
map... |
8a75f7bf7ac133623cb50a8fc7e9ca385aaa8c49 | 50896037139f9398c0560c88d0326a2061b11dfb | /useranalysis/rawmonitoring/UserHistosRawMonitoring.cxx | 66a12e37d06aceb3d4482b038ab4bdc7f2457abc | [] | no_license | evovch/ACCULINNA_go4_user_library | a20734e1c334b54523a301663d1cb27ce98b9b9e | c9904a7050dfd6b23735e7ef206a79589bd3bab4 | refs/heads/master | 2021-06-02T10:21:19.671976 | 2019-06-19T12:19:49 | 2019-06-19T12:19:49 | 130,993,882 | 2 | 7 | null | 2021-02-22T20:14:00 | 2018-04-25T11:07:10 | C++ | UTF-8 | C++ | false | false | 2,640 | cxx | UserHistosRawMonitoring.cxx | #include "UserHistosRawMonitoring.h"
// ROOT
#include <TH1D.h>
#include <TH2D.h>
// Go4
#include <TGo4Analysis.h>
UserHistosRawMonitoring::UserHistosRawMonitoring()
{
TGo4Analysis* a = TGo4Analysis::Instance();
//TODO define correct ranges
mhEvType = a->MakeTH1('D', "RawMon/mhEvType ", "m... |
add0ff1fc0baf51fffdccbeb0975545858829720 | 141338ad722b00aaeccfd9ea34b36f51ecab88a0 | /Konsolówka/While_expression.cpp | c626a1afa50905eab52355ad9af19d912436cebf | [] | no_license | dkinvoker/Maszyna_W | b42ceb1d3fa5633860a45a4d97b5bddd6d11e9c7 | d30b402140bc9b7a5e12fc828069a79882f85408 | refs/heads/master | 2021-01-11T01:57:45.985006 | 2017-01-20T13:33:27 | 2017-01-20T13:33:27 | 70,832,347 | 0 | 0 | null | null | null | null | WINDOWS-1250 | C++ | false | false | 860 | cpp | While_expression.cpp | #include "While_expression.h"
#include "translate_string.h"
Assembler_section While_expression::translate()
{
Assembler_section returner;
string return_tag_string;
//żeby ucinało literki...
//while -> le (2 literki jak w if'ie, żeby sie dobrze translatowało)
If_expression helper{ command_string.substr(3, comma... |
c85208753512d49363270a9ab3a64fb8a812afb8 | 76171660651f1c680d5b5a380c07635de5b2367c | /SH6_58mps/0.600075/rho | 4bff9d9f7c66509cc46cb0d15fc0dee757615eb0 | [] | no_license | lisegaAM/SH_Paper1 | 3cd0cac0d95cc60d296268e65e2dd6fed4cc6127 | 12ceadba5c58c563ccac236b965b4b917ac47551 | refs/heads/master | 2021-04-27T19:44:19.527187 | 2018-02-21T16:16:50 | 2018-02-21T16:16:50 | 122,360,661 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 132,218 | rho | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 3.0.x |
... | |
251be7b0e9adcc62ac5c985652083dbe53783388 | cd1d88f0f5845c26f91aecc15a153d39197d60a8 | /libraries/_07_m_Sensor_Weight/Sensor_Weight.cpp | 09fc88e7914c777c692fa5094686eda971684f4d | [] | no_license | wasdpkj/Microduino-IDE-Support | 205bc58df4dcbbb0c068533004c3dc4cc24dd214 | dc013a39927d2bd0ef7b0ec8e6d85f211bbcfa90 | refs/heads/master | 2023-07-25T20:27:12.329157 | 2023-07-10T06:22:25 | 2023-07-10T06:22:25 | 38,144,679 | 23 | 24 | null | 2023-05-22T12:25:04 | 2015-06-27T03:10:45 | C | UTF-8 | C++ | false | false | 5,612 | cpp | Sensor_Weight.cpp | /*********************************************************
// LICENSE: GPL v3 (http://www.gnu.org/licenses/gpl.html)
// 支持Microduino_Sensor_Weight
// 库版本
// B1.0 新建传感器支持库
// B1.1 更改函数名称,更易理解。
// 重量获取细化到小数(一位最佳)
// 固件更新为版本2
// Microduino wiki:
// http://wiki.microduino.cn
// E-mail:
// jinqi... |
b5e16fc9cbd5bc56cd2a0298632b76fd33751638 | 04b2c3c058d9c110be49c7b207d52ad6db6ff1a4 | /VroumVroum/Source/Sandbox/WeatherConfig.cpp | 23817605935616ca2499b547e11fb610d9661b3a | [] | no_license | AxelIngouf/PlushRush | b6c46a81ab67ecc57b646ba6a47fbfad4bfd7045 | 4bfe443dceb9ca0547634692dccb7754e312a35b | refs/heads/master | 2023-03-10T15:19:19.403088 | 2021-03-04T01:24:29 | 2021-03-04T01:24:29 | 342,774,381 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,375 | cpp | WeatherConfig.cpp | // Fill out your copyright notice in the Description page of Project Settings.
#include "WeatherConfig.h"
#include "BumperKart.h"
#include "EngineUtils.h"
#include "Components/AudioComponent.h"
#include "Components/BoxComponent.h"
#include "Components/LightComponent.h"
#include "Components/SkyLightComponent.h"
#in... |
48d298c4b90a32e2743f8d8fad705b1eab613fd5 | 81d8d99c64a901bbec13676cd5342c6605f17eab | /src/cocos/CCScene.cpp | d11aa8b6e360485a828682de5f9ce9d10e450ad5 | [
"Apache-2.0"
] | permissive | vyouyou/kof | a6cfb17355efbffd41d9816ee21d07948329ca11 | fb7340b7eb61779cc299d135189b65550685b625 | refs/heads/master | 2022-12-28T21:05:40.376525 | 2020-09-23T04:05:32 | 2020-09-23T04:05:32 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 963 | cpp | CCScene.cpp | /*******************************************************************************
author : ljc
version : <1.0>
--------------------------------------------------------------------------------
info :
--------------------------------------------------------------------------------
******************************... |
4624f08395d7c29c52a910c69695547fca897528 | c834f1c3ba7f922f6a6ff16aabd4d130d7678a2c | /KickerTerminal/Source/main.cpp | 00b7aab398463ee52a058dae6ae26fcbd8964014 | [] | no_license | Nkyoku/KIKS | d2fe67f9d19ffd48ed54b09d5827fd43626dbfd0 | 411520115265d0cc1ce16a0fa22bc398bb897123 | refs/heads/master | 2021-03-12T21:37:32.164099 | 2014-04-16T05:28:55 | 2014-04-16T05:28:55 | 17,817,877 | 1 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 6,210 | cpp | main.cpp | // プログラマー
#include <stdio.h>
#include <locale.h>
#include <conio.h>
#include <Windows.h>
#include <Shlwapi.h>
#include <string>
#include "kicker/kicker.h"
iKicker *Kicker; // デバイス
static void print_bool(bool p){
if (p == true) wprintf(L"true\n");
else wprintf(L"false\n");
}
static bool YesOrNo(void){
... |
e5215b5319371e0f2f9a3261424b893629072386 | 91a8643a41a5617d5685215935fbf6fb283c2ffc | /Modules/OpenAL/RNOpenALSource.cpp | 20e84e3e2818812590206772fa6a0a81bfc87fcd | [
"MIT"
] | permissive | Unbeaten-East/Rayne | 3ed11f9aa1ded6283df68bf6c3eabb001ec51b01 | 252b78671799a03b159e6bd264ce65d438cfe0bf | refs/heads/master | 2023-04-19T21:49:37.681937 | 2021-01-17T12:31:03 | 2021-01-17T12:31:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,816 | cpp | RNOpenALSource.cpp | //
// RNOpenALSource.cpp
// Rayne-OpenAL
//
// Copyright 2017 by Überpixel. All rights reserved.
// Unauthorized use is punishable by torture, mutilation, and vivisection.
//
#include "RNOpenALSource.h"
#include "RNOpenALWorld.h"
#include "RNOpenALResourceAttachment.h"
#include "AL/al.h"
#include "AL/alc.h"
name... |
7450a95f1b95c1dc6cbc8e02fed9637378605c2e | acb84fb8d54724fac008a75711f926126e9a7dcd | /poj/poj1770.cpp | 5038a8502b63b8cd2a788d3a2b68faf606a46ed8 | [] | no_license | zrt/algorithm | ceb48825094642d9704c98a7817aa60c2f3ccdeb | dd56a1ba86270060791deb91532ab12f5028c7c2 | refs/heads/master | 2020-05-04T23:44:25.347482 | 2019-04-04T19:48:58 | 2019-04-04T19:48:58 | 179,553,878 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,672 | cpp | poj1770.cpp | #include <cstdio>
#include <cstring>
#include <cstdlib>
#include <iostream>
#include <cmath>
#include <map>
#define N 10000
#define M 100000
using namespace std;
map<int,int> mp;
int head[N],to[M],next[M],a[N],b[N],cnt,num,n,m,tc[N],dp[N][2];
bool vis[N];
inline void add(int u,int v)
{
to[cn... |
a7710b6487f6d7908484629a563b44d34cc656c2 | d4e771d4d73f2de262698f5b39f9ced416e63314 | /Remove_One_Element.cpp | a4418f93c13604bf66bb94efc5380e0f9cc8468a | [] | no_license | Aman-IIITA/C-code | 3b7d1fcc5487747786b91dcc289c9f81529ecfed | 5e787773b8efb417a0eec04c1eae67f307de8d93 | refs/heads/master | 2023-08-07T13:09:40.813454 | 2021-09-27T08:03:32 | 2021-09-27T08:03:32 | 410,783,736 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 946 | cpp | Remove_One_Element.cpp | #include<bits/stdc++.h>
using namespace std;
#define int long long
#define fastio ios_base::sync_with_stdio(false); cin.tie(NULL)
#define endl '\n'
const int mod = 1000000007;
signed main(){
fastio;
int t;
cin>>t;
while(t--)
{
int n;
cin>>n;
vector <int> a(n);
vect... |
2b3f48487e882af54c2150c8ba6a181e77571b0c | 911fe58a1da0c1b3b13aa789fa318b6bb9b18193 | /src/mpint.cpp | beba329088fe2b8fdbcbd1fa915c6dfa182dbd17 | [
"BSD-2-Clause"
] | permissive | Fadis/hermit | b984b1662c8546dcd5cd70a062a486b8a2fcaa59 | 1b378fb94165e0348d11d8065d3259d14c49977b | refs/heads/master | 2020-05-07T19:27:04.769484 | 2012-12-31T01:28:52 | 2012-12-31T01:28:52 | 4,384,958 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,925 | cpp | mpint.cpp | /***************************************************************************
* Copyright (C) 2012, Naomasa Matsubayashi
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistribu... |
be3f17bfed51fbbde3ac22461025b42f08120f1e | c258ecfc7fd11507da15e25bfcf5c6548c6f5874 | /CatalanNumber.cpp | 94b52d36ec4503f1b04087256e56638be3e07953 | [] | no_license | sagarsingla14/Codechef | 724ae9b8563deed5cb6c8648cbc39603f0283c57 | 74384679a2eec984b2fbb762e0a8a8e8f60cc103 | refs/heads/master | 2021-07-13T17:17:34.026783 | 2020-09-27T14:07:27 | 2020-09-27T14:07:27 | 208,868,122 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 491 | cpp | CatalanNumber.cpp | #include <bits/stdc++.h>
using namespace std;
#define ll long long int
#define mod 1000000007
ll catalan[5001];
void catalanDP() {
catalan[0] = catalan[1] = 1;
for(ll i = 2; i <= 5000; i++) {
catalan[i] = 0;
for(ll j = 0 ; j < i ; j++) {
catalan[i] += (catalan[j] % mod) * (catalan[i - j - 1] % mod);
catala... |
1557a3af4f112e3801ad11e6217506ea7017ddc9 | 79d343002bb63a44f8ab0dbac0c9f4ec54078c3a | /lib/libcxx/include/span | 23af04f3883909a1fbb46c658042b7ddf4994a98 | [
"LLVM-exception",
"Apache-2.0",
"MIT",
"NCSA"
] | permissive | ziglang/zig | 4aa75d8d3bcc9e39bf61d265fd84b7f005623fc5 | f4c9e19bc3213c2bc7e03d7b06d7129882f39f6c | refs/heads/master | 2023-08-31T13:16:45.980913 | 2023-08-31T05:50:29 | 2023-08-31T05:50:29 | 40,276,274 | 25,560 | 2,399 | MIT | 2023-09-14T21:09:50 | 2015-08-06T00:51:28 | Zig | UTF-8 | C++ | false | false | 23,988 | span | // -*- C++ -*-
//===----------------------------------------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===------------... | |
a7a7247f980433ea990518bfafbd0c8c65c3e7df | 9bdb9edd98d3995fe646ca8ecc00867e99e94812 | /CkpLib/Main/CMP_CKP.ino | 8630a9a2d600b1103ce6ab95cabb872d8135e5d0 | [
"MIT"
] | permissive | LCSP/ArduCkpCmpG3N | 12a2b0fb1153e2ae8b4e3dc4dfbf187bfb301a85 | ff5d80a12f487804a6833401a08b8f491b0d2cb3 | refs/heads/master | 2021-09-28T19:06:31.962322 | 2018-11-19T18:01:47 | 2018-11-19T18:01:47 | 107,486,345 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 824 | ino | CMP_CKP.ino |
boolean count = true;
void CKPCMP(byte Sig[], int PinCKP, int PinCMP, int Retr, boolean Estados){
byte l = 0;
byte c = 5;
byte j;
for(int h; j<=9; j++){
while(count){
for(int i; l <= 4;i++){
GEN(l, Sig, PinCKP, Retr, 1);
l++;
SerialLoop(Estados);
//Serial.println("lol");
break;
}
}
while(!coun... |
fd8b46db337d89dd56c1cdd4acff85051a8b6e31 | 561f222030b75c12ef991af18d1cfb0ec5c7f366 | /OpenGL_intro/Code/qrc_resources.cpp | 5ced3ddd8dbf662e9cf9b5fb02ae62decddc422a | [] | no_license | suzannemaquelin/ComputerGraphics | 3d77b56229ac058b11fcd3a03f733567cb8d7d84 | 6087c0b99034cfef49a901ccd2487c26ea91521a | refs/heads/master | 2021-05-03T15:30:19.475237 | 2018-03-19T08:38:09 | 2018-03-19T08:38:09 | 120,477,719 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,707 | cpp | qrc_resources.cpp | /****************************************************************************
** Resource object code
**
** Created by: The Resource Compiler for Qt version 5.5.1
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/
static const unsig... |
d4a7ade40de1c602d19cc4bdd48b15d978ee6c94 | d3e028b03d4908139c0dcc6549a82e26cb971097 | /2016-02-13/h.cpp | 326fc72aa476944ff4ea8b7baeb3eb30eb556ecf | [] | no_license | gzgreg/ACM | 064c99bc2f8f32ee973849631291bedfcda38247 | 1187c5f9e02ca5a1ec85e68891134f7d57cf6693 | refs/heads/master | 2020-05-21T20:27:46.976555 | 2018-06-30T18:16:36 | 2018-06-30T18:16:36 | 62,960,665 | 6 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 617 | cpp | h.cpp | #include <math.h>
#include <iostream>
#include <vector>
#include <map>
#include <cstring>
using namespace std;
map<int, long> memo;
string s;
long dp(int i){
if(i >= s.size()){
return 1;
} else if(s[i] == '0'){
return 0;
} else if(i == s.size() - 1){
return 1;
} else if(memo.find(i) != memo.end()){
retur... |
a3fb307b7fcaf6b827f792b33c940bc0ad5459a0 | 055f01de3773d4b38c6c2f384445dbb3d9573b80 | /SDAlgorithm/src/BackgroundModel.cc | 1d00edaac2a702beab04f2233e95024b22b3d20a | [] | no_license | jmduarte/ShowerDeconstruction | 4dd9a2ff7eb83581567428948714d93a4f59589b | fb9070eef6fb698077cb84d5248ec57afa2bff0f | refs/heads/master | 2021-03-27T11:01:30.700371 | 2015-05-18T11:07:29 | 2015-05-18T11:07:29 | 72,777,403 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,328 | cc | BackgroundModel.cc | #include "ShowerDeconstruction/SDAlgorithm/interface/BackgroundModel.h"
#include <vector>
#include <fastjet/PseudoJet.hh>
#include "ShowerDeconstruction/SDAlgorithm/interface/Helper.h"
#include "ShowerDeconstruction/SDAlgorithm/interface/Parameters.h"
using namespace Deconstruction;
Deconstruction::BackgroundModel:... |
792871270e6afdd944419de0eb5675eb3f603bbe | 4aca36f7a859ee8de557effff1c14154430ca8e1 | /HashTable/hashtable2.cpp | 28b8aeebccdfb6ae9d0f8b150030c360408ec8c2 | [] | no_license | nwkrix/.cc | 45683ebbe93633e5dff7f691c83c28ff6fdf007e | d4f1428ded06349e5cf083628ccf942b879d6169 | refs/heads/master | 2023-09-05T03:24:57.371890 | 2021-11-04T01:04:59 | 2021-11-04T01:04:59 | 403,487,036 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,647 | cpp | hashtable2.cpp | /*
HASH TABLE CLASS IMPLEMENTATION BASED ON LINEAR PROBING (AN OPEN ADDRESSING METHOD);
SEP 4, 2021 CDMX
AUTHOR: CHRISTIAN NWACHIOMA
*/
#include<iostream>
#include<string>
#include<cstring> // STRLEN(CONST CHAR* STR)
using namespace std;
#define TSIZE 5
#define EMAILSIZE 255
#define NAME_SIZE 255
struct club { // dat... |
532bb0c4fcc7ea753f98af7aa559ee9f8430439e | 22a2f42543e9a09535348f53bfb55bd24b4c5f79 | /main.cc | cac7399d2ac27489099a3819c23af9d514c1878a | [] | no_license | akadams/xsight-analyzer | 797847747317f47f180a060e977b8b6cb5d62872 | 7e23a192efacf5da23c87d7b123cb497967c27e9 | refs/heads/master | 2016-08-12T07:02:08.485149 | 2016-03-29T14:17:05 | 2016-03-29T14:17:05 | 51,319,264 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 76,779 | cc | main.cc | /* $Id: main.cc,v 1.7 2014/04/11 17:42:15 akadams Exp $ */
// Copyright © 2009, Pittsburgh Supercomputing Center (PSC).
// See the file 'COPYRIGHT.txt' for any restrictions.
#include <sys/types.h>
#include <sys/stat.h>
#include <assert.h>
#include <ctype.h>
#include <err.h>
#include <limits.h>
#include <pthread.h>... |
0f8684102f82ec0e5ca491c55e6ae1c05c49a0c5 | e8b06ddf3c7c23f5e80e56075b02de75b6506a44 | /packages/Utils/src/DTK_Core.hpp | b7e2d512cd6d706f325406ee1d4ea0336369234b | [
"BSD-3-Clause",
"LicenseRef-scancode-free-unknown"
] | permissive | ORNL-CEES/DataTransferKit | e65e8b89bd68e400363d04ef8b3499451ed106ae | 60a4cbd0a55505e0450f1ac979e1eef8966dc03f | refs/heads/master | 2023-08-26T13:11:30.588519 | 2023-08-24T12:54:10 | 2023-08-24T12:54:10 | 25,265,743 | 54 | 27 | BSD-3-Clause | 2023-08-17T22:49:41 | 2014-10-15T17:35:07 | C++ | UTF-8 | C++ | false | false | 1,398 | hpp | DTK_Core.hpp | /****************************************************************************
* Copyright (c) 2012-2020 by the DataTransferKit authors *
* All rights reserved. *
* *
* This ... |
e28c4aca4b9075e4efa2b1491de347fdf5bc2c2b | 50dae90fa41e97045dbbe501a2158a90d2b9b866 | /0726-1004/0726-1004/main.cpp | 4ab8245c1990eb33f667ad4ec7bea8dec58d70de | [] | no_license | ZihanYuanCN/C | 4872cb195b70a20e4fa94771de83c261933c9b3b | 73727d534a70263c12de63fc45b2e997b022b662 | refs/heads/master | 2022-01-03T18:14:46.746077 | 2018-04-05T08:58:40 | 2018-04-05T08:58:40 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,345 | cpp | main.cpp | //
// main.cpp
// 0726-1004
//
// Created by 袁子涵 on 15/7/28.
// Copyright (c) 2015年 袁子涵. All rights reserved.
//
#include <iostream>
#include <string.h>
#include <stdio.h>
using namespace std;
int m,n,T;
int maze[55][55];
int sum;
void red(int x,int y)
{
int i=x,j=y;
sum++;
if (x==n-1) {
maz... |
e43717ee3263dd279b3689cdcc006e470c81da1c | 9ac3c1fa3b1147eaac807f14a9bf47f0e5776d95 | /2018/day8/day8.cpp | 24f4898b6a3ec6c8dd7e597bf6e07679c34d5c3e | [] | no_license | patrikfors/adventofcode2017 | f3048bfe0c11e40e4f3ec33c7053b67a4ed0e8f4 | 9d03baf824cf6b7079d8402799a9bee3d7fc970c | refs/heads/master | 2021-10-08T21:07:23.549194 | 2018-12-17T19:57:54 | 2018-12-17T19:57:54 | 112,712,835 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,798 | cpp | day8.cpp | #include <fstream>
#include <iostream>
#include <regex>
#include <sstream>
#include <string>
#include <vector>
std::vector<std::string> read_input() {
std::vector<std::string> rval;
std::string line;
while (std::getline(std::cin, line)) {
rval.emplace_back(line);
}
return rval;
}
uint32_t add_metadata... |
f563619eaeb1f6b280d02fc3b8c30aeef26f5ffd | e5e138f0aa1685c44e26cd6cbde27473510c08e4 | /Source/sms-bingo/ServerClient/BingoReceiver.h | f570c97f4d0355400dbe9474089b751dbadad4a6 | [] | no_license | aleclouisgrant/sms-bingo | 92dc1b4cf0f24a262c3178ba8649659d5093a383 | cb0bc6ced58ca45d31d055ab204b0a92deea1e41 | refs/heads/master | 2020-06-10T00:33:01.939864 | 2019-11-07T17:42:23 | 2019-11-07T17:42:23 | 193,535,633 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 423 | h | BingoReceiver.h | #pragma once
#include <QObject>
class BingoReceiver : public QObject
{
Q_OBJECT
public:
BingoReceiver(int port);
~BingoReceiver();
void DataReceived(int buttonId);
void SetupDataReceived(char *data);
char *GetRemoteUsername();
int GetPort();
signals:
void Received(int buttonId);
void SetupDataParsed();
pr... |
a93440a6ace429a217e3c812dd59b95599406052 | 8f50c262f89d3dc4f15f2f67eb76e686b8f808f5 | /Control/SGTools/SGTools/BuiltinsClids.h | 91688256c30430f27179aff0d800c173bab6214b | [
"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 | 940 | h | BuiltinsClids.h | ///////////////////////// -*- C++ -*- /////////////////////////////
/*
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
*/
// BuiltinsClids.h
// Header file for CLIDs for C++ builtins
// Author: S.Binet<binet@cern.ch>
///////////////////////////////////////////////////////////////////
#ifnd... |
6cc1afb0ce855f18bc263122e5371dc89427ba9a | 79186c77d353411ce58ba420c477409001c5562c | /INCL/grid_arith_0829_1.inc | 349009c2fbf68c16e22767c824d4b96dd14e4b98 | [] | no_license | Roboticseo/Troickoe_120RTM_CVI_CT | 48c979199683a4b1660576f490ebb2e5139ec0a2 | 6fe6e48f912e16346971a32144b28065aab248a5 | refs/heads/master | 2020-04-13T18:35:45.323893 | 2014-10-21T06:41:58 | 2014-10-21T06:41:58 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,289 | inc | grid_arith_0829_1.inc | ARITHMETIC
ARRCTMULT(,,1:40) = 1
PERMX(,,1:40) = 1.00005E-04*((PORO*100)^5.1)
PERMX(,,41:79) = 4.02456E-02*EXP(44.17*PORO)
PERMX = MIN(PERMX, 2000)
PERMX(,,41:79) = ARRCTMULT * PERMX
ARR001(,,1:40) = MAX((42.9+11.835*(PORO*100)-1.5613*(PORO*100)^2+0.06093*(PORO*100)^3-0.000782*(PORO*100)^4)*0.01,0.07)
ARR001(,,41:79) =... |
f1a9e6da9419e30c87e368d705b108a867bde0c6 | 4b5a008421fb71f83d948dc9f147e955ab4dc7b1 | /uaMobi/Datacore/UtilityEntities.cpp | 2fb4580d1d565731ffffbe7ecf02a03cc632517e | [] | no_license | ston1x/UNARetail | a205becbe3c69b3bd51127b6ec29c3e5abf340d0 | 491ced2068cb89ed24d7d5c23477fd80ca54b8dd | refs/heads/master | 2022-10-11T01:26:44.848735 | 2020-06-09T10:07:00 | 2020-06-09T10:07:00 | 271,839,954 | 1 | 0 | null | 2020-06-12T16:11:36 | 2020-06-12T16:11:36 | null | UTF-8 | C++ | false | false | 1,492 | cpp | UtilityEntities.cpp | #include "UtilityEntities.h"
#include "widgets/utils/ElementsStyles.h"
QString SeparatorEntity::_toSql() const
{
return QString();
}
static TemplatedTableHandler* nullTTH = new TemplatedTableHandler("sep", "id number", QStringList());
const TemplatedTableHandler* SeparatorEntity::_assocTable() const
{
return nul... |
680696c2fe78dc80842fa5f43eb749f16237fc0c | 7fb1765837defc5c6b640a10fc0b7efcfaa0994a | /01325hackingGroup.cpp | 3507930d030cb7621ec04a75e538fee3ee2f1c75 | [] | no_license | winnie-byun/baekjoon | 99d74cb69c6c3158fe96381dd57720c989277fc7 | eb4d10b4bead06d22beebbd38478005a774427db | refs/heads/master | 2021-09-29T03:18:03.926598 | 2018-11-23T08:02:21 | 2018-11-23T08:02:21 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,388 | cpp | 01325hackingGroup.cpp | #include <iostream>
using namespace std;
int compNum, inNum;
int link[10002][10002];
int info[10002][2]; // 0 - num of data
// 1 - num of comp to hack
void print() {
for (int i = 1; i <= compNum; i++) {
cout << "Comp : " << i << "\tData : " << info[i][0] << "\tHack : " << info[i][1] << endl... |
36bc4e0b8659954f0e1232248f77c7626fba3c12 | fecd7d6463285a77ed2017e0bb42429e0c24bcf1 | /Game_Old/Game/Game/assembly.h | acf03931daf10f3b9474f229b0df153863116f37 | [] | no_license | TreasurePT/TreasurePT | 3eee3ddb0e7081edf9b602e083dc5959eb481b53 | 2948eec5c1573ae2db71512fa0dd6a6aec90a704 | refs/heads/master | 2020-12-25T18:19:21.802421 | 2015-08-15T07:03:57 | 2015-08-15T07:03:57 | 37,395,224 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 898 | h | assembly.h | #pragma once
extern LPVOID EditData;
#define EAX 1
#define ECX 2
#define EDX 3
#define EBX 4
#define ESP 5
#define EBP 6
#define ESI 7
#define EDI 8
class CAssembly
{
public:
void MakeBaseAddress( int Address );
void SetLastAddress( );
void AtualizeAddress( void* Address, bool Last = false );
void Push( int Var ... |
03bc47c2e4a0d134133175a36fa0d658da4b628b | 42d9c7a5825a903c7808d35fb695922ecf5af709 | /BetterPosture.ino | 4174776204cc33713fb64f0e2a0af70aebf4addf | [] | no_license | Mark-MDO47/BetterPosture | ef59ee179a62571f36edbd3d705509a2e25f876d | 47eb10caa3bc9f5407b47a544b879fcac3758e30 | refs/heads/master | 2020-04-18T12:56:56.979204 | 2019-08-31T20:55:36 | 2019-08-31T20:55:36 | 66,690,052 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,441 | ino | BetterPosture.ino | // We're including two Libraries, "Ultrasonic.h" and "FastLED.h"
// FastLED.h gives us the ability to addres the WS2812 LEDs
// "Ultrasonic.h" allows us to trigger and read the ultrasonic sensor
#include "Ultrasonic.h"
#include "FastLED.h"
// Mark Olson 2016-09
//
// adapted from TWIT-TV Know How https://twit.tv/shows... |
ebbb0002413ceb5773681c804c0283c2a8949d31 | 435734fea3031191e9e00d5d54d8b14d7b01ee48 | /cpp/coin_change.cpp | f3c2734809301711553c91ff2cf0d51f0286e722 | [] | no_license | sumansourabh26/everyday_codes | 1f4bc4b05fdb51512b68c37371933535d90edf10 | 2a8c097adbb64d103dc823bdb9987e99dfd9943b | refs/heads/master | 2020-05-04T15:22:13.872019 | 2014-11-05T16:11:08 | 2014-11-05T16:11:08 | 17,599,784 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 981 | cpp | coin_change.cpp | #include<simplecpp>
void change(int totallevel,int level, int domination[],int countlvl[], int left){
if(level>totallevel){
cout<<"-1";
return ;
}
if(level<=totallevel){
if(left==0){
int count=0;
for(int i=0;i<totallevel;i++){
count=count+countlvl[i];
}
cout<<count;
return... |
e1d6616f6b033f7653d638a6581c111a5ce98c56 | 6a59a44410937dd10619c2ac016a3302670b7353 | /tusa9/apps/chat/remove_old_vote.cpp | 434d156f345feffa2a4455b2a191524e60144f26 | [
"MIT"
] | permissive | akakist/tusa-chat | 0dbf26674eb94deec56021085a9a7bcdb0239d5a | 1dfedb4a15ad86727a0133f06b87a567114afe0d | refs/heads/master | 2021-07-10T00:37:29.415885 | 2021-03-30T07:19:47 | 2021-03-30T07:19:47 | 235,997,118 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 901 | cpp | remove_old_vote.cpp | #include <stdio.h>
#include "st_stuff.h"
#include "str_lib.h"
#include "mysql_extens.h"
#include <time.h>
int main()
{
MYSQL *_dbh=new MYSQL;
mysql_init(_dbh);
MYSQL *res=mysql_real_connect(_dbh,NULL,NULL,NULL,"chat",0,NULL,0);
if(!res)
{
logErr("chat_sender: mysql_real_connect failed to %s","chat");
exit(1);... |
d415462816bd458113228e3d4cf60b4196a959c3 | 6a00799b81bb00c868c460b83fd4ef8573732c97 | /Lobby/netdrv/source/KwNetSocket.cpp | 23702e515c02bcca292c9f4b850fac448799cf54 | [] | no_license | callmechiefdom/FBServer | 875f209406ebcc9ad193e63ab04795b9c99e6d07 | 20d617889bacadea57dc27c3a6c9eea7151a6ae2 | refs/heads/master | 2021-09-15T15:28:34.318580 | 2018-06-05T17:38:17 | 2018-06-05T17:38:17 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 40,252 | cpp | KwNetSocket.cpp | #include "KwNetPrivate.h"
#include "KwNetSocket.h"
#ifdef __WINDOWS__
#else
#endif
#if __LINUX__
#if !ANDROID
// Android平台已经定义了此变量 [JiangWei]
extern int32 errno;
#endif
pthread_t tid;
void *ThreadEntrySample(void *derivedThread)
{
int i = 0;
errno = 300;
printf("other error=%d\r\n",errno)... |
11a28a106a56a4eed9016c94da1c8a706d62eec7 | 05e8381844a4ab79930ef5a8bf256c62d2f1a668 | /src/canencoder.hpp | ffd4fb5826b9d0988a9f3aed3eb113640e88f6a3 | [
"Apache-2.0"
] | permissive | insert0003/agl-service-carlaclient | d2d8359070c27f6078f6b072ae24e1b139197cee | 2f9c063275dff290543ceea9ed1afa3165172cdc | refs/heads/master | 2020-06-06T22:13:29.952937 | 2019-07-09T06:19:56 | 2019-07-09T06:19:56 | 192,863,813 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,222 | hpp | canencoder.hpp | /*
* Copyright (c) 2017-2018 TOYOTA MOTOR CORPORATION
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by appli... |
2a298d31ed03aa5ef7f4a323a9803b52428ed78d | 4e34e61d4d95e20cda10b1997f72134eacf31418 | /c++/src/lib/math_lib/src/dtw.cpp | 57dabf2c73f115ec3626c847278788a623449017 | [] | no_license | Slifer64/DMP_KF | 8a13199f519d38c1ed253acfc727827518af4ea4 | 064885e0be97623589c5aba42998867b617d8536 | refs/heads/master | 2020-03-26T21:11:13.380694 | 2018-10-29T18:26:49 | 2018-10-29T18:26:49 | 145,372,582 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,004 | cpp | dtw.cpp | #include <math_lib/dtw.h>
namespace as64_
{
namespace math_
{
double dtw(const arma::mat &s, const arma::mat &t, arma::rowvec &ind_s, arma::rowvec &ind_t, int w, distance_function dist_fun_h)
{
if (w<0)
{
w = std::max(s.size(),t.size());
}
int ns = s.n_cols;
int nt = t.n_cols;
if (s.n_rows != s.n_co... |
68b89962eed62cbb70a0bbc6940a9d599f114a34 | f1bc129debaca67dd206d20bddf3cbac2aff235a | /USACO/lgame.cpp | 94941aff4f98cd4d422ff036a19e72db432fb3af | [] | no_license | ovis96/coding-practice | a848b0b869b8001a69770464c46e4cfe1ba69164 | 7214383be1e3a2030aa05ff99666b9ee038ae207 | refs/heads/master | 2022-05-28T14:13:17.517562 | 2022-05-21T14:16:04 | 2022-05-21T14:16:04 | 70,779,713 | 3 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 2,774 | cpp | lgame.cpp | /*
ID: ovishek1
LANG: C++11
PROB: lgame
*/
#include <bits/stdc++.h>
#define ll long long
#define mx 105
using namespace std;
map<string, int> mp;
int val[] = {2,5,4,4,1,6,5,5,1,7,6,3,5,2,3,5,7,2,1,2,4,6,6,7,5,7};
int getValue(string st)
{
int ret = 0;
for(char ch : st)
ret += val[ ch - 'a' ];
retur... |
f9215b3090b831886e545b4f032251ee9f740225 | 4ee4b2d880fbd89bdf646570b6d2b3356488f143 | /witisoPC/32cpp/贺利坚/overall/点结构体与枚举.cpp | deeef58b634774692ea253ed593787fa66794b53 | [] | no_license | wwuhn/wwuhn.github.io | 8e5b3422c91f50c4ca989ed53b0d0e27131b574f | c63929f95557398b9f58319fe51a2ab00055afa4 | refs/heads/master | 2023-06-24T16:32:47.855733 | 2023-06-11T02:32:07 | 2023-06-11T02:32:07 | 211,744,777 | 3 | 3 | null | null | null | null | GB18030 | C++ | false | false | 1,619 | cpp | 点结构体与枚举.cpp | #include "iostream" // 点结构体与枚举
#include "Cmath"
using namespace std;
enum SymmetricStyle {axisx,axisy,point};//分别表示按x轴, y轴, 原点对称
struct Point
{
double x; // 横坐标
double y; // 纵坐标
};
double distance(Point p1, Point p2); // 两点之间的距离
double distance0(Point p1); ... |
d68a7843a79155f67a4c3f0ec422820d33fc30d6 | 540c04254075b9fb22685a73487531f4c0b3e3ac | /lib-pca9685/examples/simple.cpp | a2dfc2465018aa84a510e478dbf07d8932452aa2 | [
"MIT"
] | permissive | vanvught/rpidmx512 | 197573217fc2c0c3673d6727d199c10e528a9fac | f27ae141d14c1d1cb9e0b62a291356ae0780c99f | refs/heads/master | 2023-08-08T02:06:52.200184 | 2023-05-19T12:44:48 | 2023-05-19T12:44:48 | 15,496,962 | 380 | 125 | MIT | 2023-05-19T12:47:24 | 2013-12-28T18:27:20 | C++ | UTF-8 | C++ | false | false | 2,572 | cpp | simple.cpp | /**
* @file simple.cpp
*
*/
/* Copyright (C) 2017-2018 by Arjan van Vught mailto:info@orangepi-dmx.nl
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including w... |
fd22ac84d8823432bfcf45f225bfba603024442c | ffc9bbeb5696f55d730c38f29a0591a0921147a0 | /workspace/ns-3-dev/src/applications/model/igmpv3-application.h | 7c69c8511fe80473ccb6412a607c914a4c50a96e | [] | no_license | qkthomas/SIGMP-and-GSAM-on-ns-3 | a7809d130ca7c9e1955f4a544e4cb5bbf038bf80 | 43bf875cfe053cda31472c51bd10cf6eaedea0f9 | refs/heads/master | 2021-07-17T03:06:30.610657 | 2017-10-20T17:15:25 | 2017-10-20T17:15:25 | 107,705,390 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,272 | h | igmpv3-application.h | /*
* igmpv3-application.h
*
* Created on: Feb 9, 2016
* Author: lim
*/
#ifndef IGMPV3_APPLICATION_H
#define IGMPV3_APPLICATION_H
#include "ns3/application.h"
#include "ns3/event-id.h"
#include "ns3/internet-module.h"
#include "ns3/network-module.h"
#include <list>
namespace ns3 {
class Igmpv3Application:... |
2695048cb251998b5112a2079895107768f5c08b | 121e100bb6b5ea29e56e2b5e0d612fd24f9259d2 | /6.ZigZag Conversion/main.cpp | 89b6281e650e575208471242b1d7c47f22892226 | [] | no_license | SamNormcoreWayne/LeetCode | 48cc7110f2676a8babb234a200bfc852f8290110 | f2f7bb3bad43ff23c54c23710c9bfe4278164c59 | refs/heads/master | 2020-06-03T10:39:52.102709 | 2019-06-28T08:40:36 | 2019-06-28T08:40:36 | 191,538,079 | 0 | 0 | null | 2019-06-28T08:40:37 | 2019-06-12T09:15:38 | C++ | UTF-8 | C++ | false | false | 564 | cpp | main.cpp | #include <iostream>
#include <vector>
#include <string>
using namespace std;
string convert(string s, int numRows)
{
int n = s.length();
int j = 0;
int step = 2 * numRows - 2;
string newStr(n, '\0');
for (int i = 0; i < numRows; ++i)
{
while((step * j + i) < n)
{... |
b53cf87d55d533e96199f80e3ac2f1400a7877be | 506a359c19f18616d5002361f9c470ff58afdb44 | /high-level/scoutos/scout/libscout/src/behaviors/navigationMap.cpp | 883a50ba0f8739abfc3fbcbf7c6b83d1d04725ba | [
"MIT",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | CMU-Robotics-Club/Colony | d4df76363597075fdaef26d4c43b078fb8d0c8af | ccc8747ac670171930896201c5284ecd23514df2 | refs/heads/master | 2020-03-26T17:47:40.332115 | 2015-04-09T22:03:58 | 2015-04-09T22:03:58 | 24,465,817 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 10,982 | cpp | navigationMap.cpp | /**
* Copyright (c) 2011 Colony Project
*
* Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentation
* files (the "Software"), to deal in the Software without
* restriction, including without limitation the rights to use,
* copy, modify, merge,... |
2e69c4e66bdc0d96f9a2146c690b404eea3bc28d | 055000592d33babe54de58d46709de27aca77b7c | /Demos/ODFAEG-CLIENT/gameAction.hpp | 92c9064b6301699227eb667ea341e3f9112e8b67 | [] | no_license | Ornito/ODFAEG | 65e870af7a44e7d3fcfdf28ed89c4a226efd5696 | 7e480ddd837d743da1a3e0d43969b337ba78ea10 | refs/heads/master | 2022-12-20T20:41:13.088169 | 2022-12-11T20:03:59 | 2022-12-11T20:03:59 | 49,057,352 | 0 | 0 | null | 2016-01-05T09:54:57 | 2016-01-05T09:54:57 | null | UTF-8 | C++ | false | false | 343 | hpp | gameAction.hpp | #ifndef GAME_ACTION_HPP
#define GAME_ACTION_HPP
#include "hero.h"
#include "odfaeg/Network/network.h"
#include "odfaeg/Core/variant.h"
namespace sorrok {
class GameAction : public odfaeg::core::Visitor<> {
public :
void operator()(Item& item, Hero* hero);
void operator()(Skill& skill, Hero* ... |
8f9f4ce98303a4162987baa9375b8004cec600b3 | b8bcfac790be34eeaf5527f912da54bbb2fc2d48 | /Src/AmrTask/rts_impls/upcxx/PerillaRts.cpp | 7dae4f39e1188ae24b29ed8cb2d004a49cd98b2c | [
"BSD-2-Clause"
] | permissive | zetwal/amrex | cabfbf636b5078e55170fa46e46d2d797034d04c | 95995073ff23e4051330c9f96fd2d195d77b9468 | refs/heads/master | 2021-01-03T01:32:23.724017 | 2020-02-03T17:12:48 | 2020-02-03T17:12:48 | 239,858,821 | 1 | 0 | NOASSERTION | 2020-02-11T20:33:51 | 2020-02-11T20:33:50 | null | UTF-8 | C++ | false | false | 5,256 | cpp | PerillaRts.cpp | //Question? email tannguyen@lbl.gov
//Created 07-19-2017
//Last modification 08-14-2017
#include <mpi.h>
#include <sched.h>
#include <sys/syscall.h>
#include <unistd.h>
#include <mylock.h>
#include <pthread.h>
#include "PerillaRts.H"
#include <iostream>
#include <queue>
using namespace std;
#include <cassert>
using n... |
309b136ea4ee2be6c8402095f3bf0054fdedb712 | 00522ff12e3137df8ef89a8ecff99b864a7ba352 | /Common/RtxDataChannel.cpp | 337b93ea2a65ce726f24fb93678ea3c37c15d657 | [] | no_license | valaxsimon/ILC_RTX | 6c6d4c374f76880f0d43d0078e2964d669802fea | 944b26157b7afbe4c5591e0d31e4fb46342207ba | refs/heads/main | 2023-05-07T13:20:59.657835 | 2020-11-17T10:32:52 | 2020-11-17T10:32:52 | 313,585,313 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,715 | cpp | RtxDataChannel.cpp | #include "RtxDataChannel.hpp"
#include "RtxLogging.hpp"
OneWayChannel::OneWayChannel(int number):
mMsgMemorySize(MAXIMUM_NUMBER_MSG * sizeof(Message)),
mChannelNumber(number),
mHeaderRead(false)
{
wchar_t fullName[255];
LPSECURITY_ATTRIBUTES lpMutexAttributes = NULL; //ignored by rtCreateMutex
//swprintf(fullNa... |
bca5c2ca05a18a884cfb514bdb428738dbe0cc07 | 34e1ea65fc9d3ac1c7c7c8b7461aaca519902bb7 | /fighting.cpp | 120b1a7ad5788488f9e846ddac6f3da3ca8312bd | [] | no_license | starlegendary/SelfreliantHarmfulSuperuser | 3039f0151b7da464e57d71471ae24c14329d8ce3 | 9d59bd12acc37cec9975da6f811929bbc6010fd3 | refs/heads/master | 2022-06-21T02:14:25.066742 | 2020-05-08T11:46:01 | 2020-05-08T11:46:01 | 262,309,229 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,248 | cpp | fighting.cpp | #include "datas."
void fight_with_monster(vector<vector<rooms>> board,status& Monster,status& Player,int S){
string c;
cout << "----------------------------------------------------" << endl;
cout << "| Monster is here !!!! |" << endl;
cout << "----------------------------------------... |
6acbc4e69168fba7a68497a538dcdc42fc6d74e9 | 44cb9bba7cb4292ee489fcea1fb4340ce3a1efda | /include/VmdFileReader.h | 61bba5aa2a730c8d3d29a034520971aa4b5d7796 | [
"MIT"
] | permissive | kanosawa/mmd-eigen | 5d92d241fb4ddb02fa7123f8a4214a3c19f2240d | e0177f7761a85b9da506b7cc09246a5b2263b2c0 | refs/heads/master | 2021-05-09T14:33:24.427095 | 2018-02-24T18:11:14 | 2018-02-24T18:11:14 | 119,068,038 | 6 | 0 | null | 2018-02-23T18:18:40 | 2018-01-26T15:26:31 | C++ | UTF-8 | C++ | false | false | 1,369 | h | VmdFileReader.h | #ifndef MMD_VMD_FILE_READER_H
#define MMD_VMD_FILE_READER_H
#include <memory>
#include <fstream>
#include "Bone.h"
#include "Motion.h"
#include "FileReader.h"
namespace mmd {
/*! @brief VMDファイル読み込みクラス
*/
class VmdFileReader {
public:
/*! @brief コンストラクタ
* @param[in] filen... |
c09ddd8bf53b2181c284aa843dd4dac2cccfb46c | 8c13a103a4b28971f2d659751179a124b08c2923 | /Source/CasualMercenaries/ShopLogic.h | 7433076a958b9575b68cd94caeb880c9f8d9e5d0 | [] | no_license | SlooBo/CasualMercenaries | 9dfd9104729d63864172bba9e162666455353aa3 | 9934a2dc820ebaf4c618086ab885de8e75c92867 | refs/heads/master | 2021-01-22T13:38:00.243717 | 2015-07-30T20:39:47 | 2015-07-30T20:39:47 | 37,316,800 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,265 | h | ShopLogic.h | // Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "UILogicBase.h"
#include "Inventory.h"
#include "WeaponStruct.h"
#include "ShopLogic.generated.h"
/**
*
*/
UCLASS()
class CASUALMERCENARIES_API UShopLogic : public UUILogicBase
{
GENERATED_BODY()
public:
UShopL... |
6617e942d5aacf6949ef854f6aa34b0a66038f07 | 44f9e2ec0e4fc8acc5ca41a437878852f88f1183 | /Unit1.h | a7ccbff04a531c8be31eb19932978a7f82f2dcaa | [] | no_license | Alexthunder2/Fishing | a75ffbfb7066189201e442f9c4523bea6ea73586 | e735e1ff17b6ce255a1ecd5493faec2442e90882 | refs/heads/master | 2020-09-26T06:47:41.920210 | 2019-12-05T21:55:04 | 2019-12-05T21:55:04 | 226,193,579 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,512 | h | Unit1.h | //---------------------------------------------------------------------------
#ifndef Unit1H
#define Unit1H
//---------------------------------------------------------------------------
#include <System.Classes.hpp>
#include <Vcl.Controls.hpp>
#include <Vcl.StdCtrls.hpp>
#include <Vcl.Forms.hpp>
#include <Vcl... |
5b0e952b37b3355db05a478a0738c0e7e9dae73b | 638d5b8c45e80729fa3ebd89abc2e308ae579036 | /include/timestamp.hpp | 86a0778594ff42c4070f2ff4326c40818e3db87c | [] | no_license | ironchicken/musak-annotations2 | 409c76b9b2a1433ab013e34e68fcfc63b5ef1fc5 | 71b342e9a241ff1e51e2875cf95a5bdf1098fe53 | refs/heads/master | 2016-09-13T19:26:50.446468 | 2016-05-16T16:47:19 | 2016-05-16T16:47:19 | 56,639,186 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,203 | hpp | timestamp.hpp | #ifndef H_MUSAK_TIMESTAMP
#define H_MUSAK_TIMESTAMP
#include "musak.hpp"
#include <string>
#include <regex>
#include <tuple>
#include <ostream>
namespace musak {
namespace annotations {
using hms_t = std::tuple<int,int,int,int>;
class timestamp {
public:
timestamp(const std:... |
7748a3003108f66d4ed4c614b0534f7782c65451 | 5e4f88634b025ddbb959b78211805cc659cbc25e | /source/move_generator/main.cpp | df4e001e5d499e458a952cdb7f320bf36e04b46e | [
"MIT"
] | permissive | mikelane/minichess | 0bb4e795d7d24fa58569caf3dc1a7706a219b768 | b341581ec7055d3a9396d4a54d623f692e5dec3c | refs/heads/master | 2020-12-30T16:01:59.912130 | 2017-06-15T18:50:10 | 2017-06-15T18:50:10 | 91,197,954 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,370 | cpp | main.cpp | /**
* The main function for the back end.
* Mike Lane
*
*/
#include <iostream>
#include <zmq.hpp>
#include <sstream>
#include "Player.h"
#include "Random_Player.h"
#include "Testing_Player.h"
#include "Negamax_Player.h"
#include "AB_Player.h"
#include "AB_ID_Player.h"
#include "AB_ID_TT_Player.h"
int main() {
i... |
4a0da3f559e002227e1ff2a701f52f94fcb9b6cd | f127bdc25a4672793e4aedea61470b3dbfe065cb | /Learn/src/Mesh.cpp | e61bd726080ae02fbb8d27ed82cbd4d15caac414 | [] | no_license | hefanzhou/LearnOpenGL | b9741659eb3c6459ee0d8ec2736ceae0272785af | 3dc423676af1c638a2688fb1ce9a7ed177cefaf1 | refs/heads/master | 2022-11-13T21:07:11.566526 | 2020-06-21T08:04:44 | 2020-06-21T08:04:44 | 269,851,963 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,959 | cpp | Mesh.cpp | #include "Mesh.h"
#include "Utility.h"
#include <sstream>
#include <iostream>
Mesh::Mesh(vector<Vertex> vertices, vector<unsigned int> indices, vector<TextureSlot> textures):drawMode(GL_TRIANGLES)
{
this->vertices = vertices;
this->indices = indices;
this->textures = textures;
setupMesh();
}
void Mesh::setupMesh... |
adeecb479d6d93375a9b0787303cf3987017cb3c | a146e629e54d1f9c548ac70a178451e27905a6c7 | /oop/Triangle.cpp | 81c5bdf3bc7cf0d0b7834c8097cdf55c2dd3d68c | [] | no_license | Alexandr8970/ITa | a8ef55c3845900031b8f073af488f3b3893d5362 | 53f0f577bde779452a706fb699b568b245bdd92b | refs/heads/master | 2021-01-10T20:38:21.438726 | 2013-09-11T11:30:15 | 2013-09-11T11:30:15 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 855 | cpp | Triangle.cpp | #include "Triangle.h"
//-----------------------------------------------------------------------------
Triangle::Triangle() : DrawObj(DrawObj::OBJ_TYPE_TRIANGLE)
//-----------------------------------------------------------------------------
{
}
//-----------------------------------------------------------------------... |
cdb20aaff6d49f8c736be1bbf95753c59b721cd5 | 154dfd2a2130a3a7731a9a9b431e8295fbf82cd2 | /misc/test.cpp | 95951a7e3759fe82acf9933189984ab62dbc04c7 | [] | no_license | ltf0501/Competitive-Programming | 1f898318eaecae14b6e040ffc7e36a9497ee288c | 9660b28d979721f2befcb590182975f10c9b6ac8 | refs/heads/master | 2022-11-20T21:08:45.651706 | 2020-07-23T11:55:05 | 2020-07-23T11:55:05 | 245,600,907 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 427 | cpp | test.cpp | #include<bits/stdc++.h>
using namespace std;
int a[500];
main()
{
int n = 500;
int k = 303;
mt19937 rng(chrono::steady_clock::now().time_since_epoch().count());
uniform_int_distribution<int> dis(0, (int)1e9);
for(int i = 0; i < n; i++) {
a[i] = i * 211243 + 10;
}
sort(a, a + n);
printf("%d %d... |
aafc2575bc5871ab9b6bea60dfe3e2978417380e | 6c3fea1143555da76d65f11842bfa411e9a1c0c8 | /TetraAudio.cpp | 6eaeca5231a31a0f5172e5edb3a77a0ad4986f87 | [] | no_license | qcarver/RecorderRawStereo | 7e9e4fb1a27b693a5946384f4741e0da35736729 | 1301544c87d1c13b1e69670935fbbc7b68828c14 | refs/heads/master | 2021-01-19T17:31:49.753078 | 2017-12-13T16:32:28 | 2017-12-13T16:32:28 | 101,068,776 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,394 | cpp | TetraAudio.cpp | #include "TetraAudio.h"
#define BLOCK_SIZE 512
#define SAMPLE_SIZE sizeof(uint16_t)
#define Q_READ_SIZE 128 * SAMPLE_SIZE
const int numAudioChannels = 4;
uint8_t audioData[BLOCK_SIZE];
#ifdef MOCK_AUDIO
void init() {
return;
}
boolean startRecording() {
return true;
}
uint8_t * continueRecording(uint32_t current... |
e3c8954dc6a78bb4508d80a025f5df3468d81b9b | 86df0d09506ea697d035a20e9cca142f6172a02c | /spark_core/application.cpp | 5a89c488f2d86a0c885b196c3b5cc2078b190a5f | [
"CC0-1.0"
] | permissive | synox/Spark-Busstop-Light | ad95d15e0142703f8c0b9835c8e9ee6c805f84da | c1cf5b6561efda74b170fcd4b1ac3054475f1b07 | refs/heads/master | 2020-12-31T03:36:30.630781 | 2014-08-10T22:32:50 | 2014-08-10T22:32:50 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 19,659 | cpp | application.cpp | #include "application.h"
// ------------- configuration ------------
// set the parametrs from= and to= (keep the fields[] as it is).
const char* query = "/v1/connections?from=Bern&to=Bern,Hirschengraben&fields[]=connections/from/departure&limit=6";
const char* connName1 = "9 Bern";
// possible status list:
enum St... |
b1f8ed2267bfc378a0f825ac406d93195b2752d3 | 4c4e6db2bed76397c274a6f2250a2f8e616d340c | /Final/length of string using pointer.cpp | 4a4f812659642ac95f2698c8a89a24295421d462 | [] | no_license | Jubayer-Hossain-Abir-404/Problem-Solving-Using-C-C- | 128ee447d6f2ebbb7b544fea3db48abbd7d69e0c | 17e7e7fbd59730d19d0ac00b0ed1040dccae7416 | refs/heads/main | 2023-06-20T14:38:23.661368 | 2021-07-17T17:32:26 | 2021-07-17T17:32:26 | 357,664,303 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 270 | cpp | length of string using pointer.cpp | #include<stdio.h>
int main()
{
char str1[20];
int *p1;
p1=str1;
int c=0;
printf("Enter the string:");
scanf("%s",&str1);
p1=str1;
while(*p1!='\0')
{
p1++;
c++;
}
printf("Length of sting:%d",c);
return 0;
}
|
1c97b70841e65de44f06ef4f38ce1b639b80c0e8 | ca71a8028ae57cac5e8f9b10fa0db3333efec086 | /ACC sharedmemory exposer/SDK/ACC_ABP_Pit_Crew_RECEIVER_classes.hpp | 88047c7cc472325a29824f13293d87da93f587b7 | [] | no_license | Sparten/ACC | 42d08b17854329c245d9543e5184888d119251c1 | 3ee1e5c032dcd508e5913539feb575f42d74365e | refs/heads/master | 2020-03-28T20:47:48.649504 | 2018-10-19T20:47:39 | 2018-10-19T20:47:39 | 149,102,523 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,689 | hpp | ACC_ABP_Pit_Crew_RECEIVER_classes.hpp | #pragma once
// Assetto Corsa Competizione (0.1.0) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "ACC_ABP_Pit_Crew_RECEIVER_structs.hpp"
namespace SDK
{
//---------------------------------------------------------------------------
//Classes
//----------------------------------------------------------... |
653f3ab27f70521d8182c109343bc49a2f969a4c | ef7a6b323ac174be1de7df8d171893b7bf3490fe | /Max_Flow.cpp | 98867a0c4bcf5a4646d3623ef79eeaf1cdb9af03 | [] | no_license | asimali246/Algorithms | 199b914913d44ed4f818cdf463999eb459c0b8de | 8c9ddac060c06c7f131c3195a1bf04a971e9108e | refs/heads/master | 2020-05-17T02:11:09.106646 | 2014-11-30T21:00:07 | 2014-11-30T21:00:07 | 27,349,856 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,467 | cpp | Max_Flow.cpp | #include <iostream>
#include <cstdio>
#include <cstdlib>
#include <cmath>
#include <set>
#include <cstring>
#include <iomanip>
#include <map>
#include <algorithm>
#include <stack>
#include <queue>
#include <list>
#include <string>
#include <vector>
#include <new>
#include <bitset>
#include <ctime>
using namespace st... |
e8dfda2a9feff6594159ca9b05aa6c22b3592f61 | cf4fd204adc0b05979675bf98eac4890da9dd76f | /Basics_Of_CPP/8_OOP/Sources/7_this_Pointer.cpp | d40cc465819d14805a0f0c2765203c2453f56925 | [] | no_license | LiuKang1080/Learning_CPP | d99afbe7b2b183b7b38b2694cf343ea7187f5c53 | 0448da69073ffe366ac64577bf5cde90440169a3 | refs/heads/master | 2022-12-11T18:27:06.155781 | 2022-11-26T22:32:55 | 2022-11-26T22:32:55 | 198,784,566 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,923 | cpp | 7_this_Pointer.cpp | // The 'this' Pointer in C++
/*
'this' pointer:
- 'this' is a reserved keyword.
- Contains the address of the object, so it's a pointer to the object.
- Can only be used in class scope.
- ALL member access is done via the 'this' pointer
- Can be used to by programmer:
- To access data memb... |
8bbfd7878eb917c1d00c34dddc43c13a328a5a63 | 162a26801e13863113dc8efea2b51f7c1dfc61fb | /codeforces/1354/E.cpp | 59f0656b89b7a2c58ac6a7539f59620207e3a4b3 | [] | no_license | wuyuhang422/OI-Code | a0c415dd64fbe3b9413799eefc436d3d6e8b6cf4 | ddd9cc0c848d7f1f9ca2e63be8421ce385de5a2e | refs/heads/master | 2023-03-11T09:30:11.733537 | 2021-02-19T06:35:00 | 2021-03-04T13:25:15 | 323,195,874 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,198 | cpp | E.cpp | /*
* Author: RainAir
* Time: 2020-05-17 17:58:46
*/
#include<bits/stdc++.h>
#define fi first
#define se second
#define U unsigned
#define P std::pair<int,int>
#define LL long long
#define pb push_back
#define MP std::make_pair
#define all(x) x.begin(),x.end()
#define CLR(i,a) memset(i,a,sizeof(i))
#d... |
8fb1b816f6419abda118717a6bb93dc6afdde896 | 6e073c2f2354708b8025c5cf9ada05774e8b5697 | /Fourmi.cpp | 69c5e3dbb1bdebd643eee689c8ed4b0dfcb7e2f7 | [] | no_license | inceptor/Ants-moove | 94c25ba72868fa7108c5ade06f3db2f0149359f6 | 8aeccdcabf834a864e72c8ade5297eea1acde162 | refs/heads/master | 2021-01-23T03:48:54.589526 | 2015-04-20T15:56:13 | 2015-04-20T15:56:13 | 34,270,081 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 793 | cpp | Fourmi.cpp | #include <iostream>
#include "Fourmi.h"
using namespace std;
Fourmi::Fourmi(Plateau& plat)
{
i = (plat.get_h() / 2);
j = (plat.get_l() / 2);
for(d = 0; plat.get_case(i,j).get_o() != false; d++)
{
//Etape 1 : changement de direction
plat.get_case(i,j).modif_d();
//Etape 2 : o... |
767e623cdbc4802a0bf8115d59d2a3074dd5d2b3 | f9619bbf3d2b66bba3a84bbb0537154b50ca1c75 | /Material/TPZBndCondWithMem_impl.h | 5e70bc6b0548550d85dc4faf3758e814ba47c13f | [] | no_license | mfkiwl/neopz | 6b6ce984ab7ac2a6cbe7197313ec9ec97f16cafd | 30686f7bbfeb402d40bc204012ea0077cae31d58 | refs/heads/master | 2023-03-21T00:50:52.324139 | 2021-01-29T17:38:53 | 2021-01-29T17:38:53 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,121 | h | TPZBndCondWithMem_impl.h | //
// TPZBndCondWithMem_impl.h
// pz
//
// Created by Omar Durán on 6/12/19.
//
#include "TPZBndCondWithMem.h"
template <class TMEM>
void TPZBndCondWithMem<TMEM>::Print(std::ostream &out)
{
out << this->Name();
TPZBndCond::Print(out);
}
template <class TMEM>
TMEM & TPZBndCondWithMem<TMEM>::MemItem(const i... |
e3a865ee2adbda50727e8068a03fa3eb2a01b406 | 5246f9ddd591c20913657a967740239fd451c28c | /src/WaterShed2.cxx | fd9ebff2e98ecc0cfb9eccc88a6be54d9ec6a57f | [] | no_license | intelcode01/3Dbrain | 3da1c1ef1fe56ea89472998900a5aac486771edf | c0d63f06d85caaf55fdf9929be6b863260d9bf07 | refs/heads/master | 2021-01-22T06:54:50.035387 | 2015-07-05T07:21:06 | 2015-07-05T07:21:06 | 37,702,435 | 6 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 3,211 | cxx | WaterShed2.cxx |
#include "itkWatershedImageFilter.h"
#include "itkImageFileReader.h"
#include "itkImageFileWriter.h"
#include "itkScalarToRGBPixelFunctor.h"
#include "itkUnaryFunctorImageFilter.h"
#include "itkGradientMagnitudeRecursiveGaussianImageFilter.h"
int main( int argc, char *argv[] )
{
if( argc < 5 )
{
std::cerr <<... |
a4ff4e2a44f38975990e8b6c1e3aa6b57f8a35b4 | f08711d0e952792661a58d3a125554e77f9ac4bd | /src/qtimeserver/main.cpp | a5d8a8e520447450e8caa483b6db695468b39cc6 | [
"MIT"
] | permissive | yodamaster/timefriend-server | f82fe685a4cd734c3cf9ab475b67c2471a2978c8 | b9c22605c37843e0a423f9887d4ec0901c78f776 | refs/heads/master | 2020-12-03T00:01:15.503732 | 2015-12-13T14:26:00 | 2015-12-13T14:26:00 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 336 | cpp | main.cpp | #include <QCoreApplication>
#include "test.h"
#include "application.h"
int main(int argc, char *argv[])
{
QCoreApplication a(argc, argv);
QStringList arguments = a.arguments();
if (arguments.contains("test")) {
Test test;
test.testDB();
}
Application app;
app.init();
retu... |
cb6c68b43d50e8b143f8b3c549ac71832ca5544f | d8812b9cfbe246b577df23f841d27dc8f8e7327f | /CodeJam/Parenting_Partnering_small.cpp | 291c71d8cf1c2e56d1b5793973443c3f04a9bfcd | [] | no_license | paka99/AlgorithmStudy | 98f23a6de76b88700d20a24c57090d1d9c11fa53 | 3d3a20c227c34abc26ab1ec6b260ffb893ddace2 | refs/heads/master | 2021-01-21T10:53:30.522057 | 2017-05-05T12:20:58 | 2017-05-05T12:20:58 | 83,500,819 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,027 | cpp | Parenting_Partnering_small.cpp | #include <vector>
#include <list>
#include <map>
#include <set>
#include <queue>
#include <deque>
#include <stack>
#include <bitset>
#include <algorithm>
#include <functional>
#include <numeric>
#include <utility>
#include <sstream>
#include <iostream>
#include <iomanip>
#include <cstdio>
#include <cmath>
#include <cst... |
38df705c563fe3f8d0a1e3738659909d661489e3 | 1da1a0285169847b7e93826f9fa8e039881c4502 | /originals/1998/WormsScreensaver/Worm.h | dc6e320f6ac4fce69a1604b2f692ef40f0a0adf9 | [] | no_license | Lercher/old-stuff | b38fb858627b55c20300486c34573f9f00ad9185 | 9d1ca0557a8700b71d5b10c276f24ed86f22a0c2 | refs/heads/master | 2021-01-10T16:55:22.156654 | 2016-03-25T20:06:49 | 2016-03-25T20:06:49 | 54,742,074 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 924 | h | Worm.h | // Worm.h: interface for the Worm class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_WORM_H__13CDBC86_C3DE_11D1_A84C_204C4F4F5020__INCLUDED_)
#define AFX_WORM_H__13CDBC86_C3DE_11D1_A84C_204C4F4F5020__INCLUDED_
#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000
... |
be9bdca5ae768695abbb80c2ecb8f1d0897678a0 | ee00140bd95ce6e75c5c4ec59b1987b8c85ea56f | /Cuarteles.cpp | 8dd0e67e1bcee3c6e2b44cb370dc5c5a92084a69 | [] | no_license | sarahcastelar/lab9_sarahCastelarp3 | f4d73b60af137551bac154029995f17d28266224 | c0db965e09c9a15254da785a95e3d491cca7b4d6 | refs/heads/master | 2020-03-28T16:28:39.510012 | 2018-09-14T18:33:53 | 2018-09-14T18:33:53 | 148,699,237 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 660 | cpp | Cuarteles.cpp | #include "Cuarteles.h"
Cuarteles::Cuarteles(int costoOro, int costoMadera, int costoPiedra, bool creandoSoldado, bool creandoCabelleria):Edificio(costoOro,costoMadera,costoPiedra){
this->creandoSoldado = creandoSoldado;
this->creandoCaballeria = creandoCaballeria;
}
bool Cuarteles::getCreandoCaballeria(){
... |
73f9498cfc03e16afe26974993c6a072750e3a56 | 65337a8abfa35d898360b296747e5ca87ad80ebd | /WinPaint/source/Observers/Observable.h | 9fbb17dc5cb16d1d4eae7c17e4496087687e23a0 | [] | no_license | AlexMalei/OSSP.WinPaint | 06a06601efc756c236ebd08bdf37c6525a0e3af5 | aea7bc0ab054b9aa521854b53c0800067a486fc4 | refs/heads/master | 2020-12-30T14:00:05.914798 | 2016-10-16T18:10:42 | 2016-10-16T18:10:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 569 | h | Observable.h | #pragma once
#include "Observer.h"
#include <vector>
namespace paint
{
template <class T>
class Observable
{
typedef void (T::*method)(void);
public:
void AddObserver(T* observer) { m_observers.push_back(observer); }
void RemoveObserver(T* observer)
{
auto it = std::find(m_observers.begin(), m_observe... |
0900e172ea1aeaa36487a78edb7be4aa907ebde4 | b052937681803bd58d410d6e84abfabf9c6c598e | /sw_x/storageNode/datasetdb/src/.svn/text-base/unicode_upcase_table.cpp.svn-base | 714fc2371cfe50b191f192c3e437414cdc966bf7 | [] | no_license | muyl1/acer_cloud_wifi_copy | a8eff32e7dc02769bd2302914a7d5bd984227365 | f7459f5d28056fa3884720cbd891d77e0b00698b | refs/heads/master | 2021-05-27T08:52:21.443483 | 2014-06-17T09:17:17 | 2014-06-17T09:17:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 113,723 | unicode_upcase_table.cpp.svn-base | #include "vplu_types.h"
u16 unicode_upcase_table[] = {
0x0000,
0x0001,
0x0002,
0x0003,
0x0004,
0x0005,
0x0006,
0x0007,
0x0008,
0x0009,
0x000a,
0x000b,
0x000c,
0x000d,
0x000e,
0x000f,
0x0010,
0x0011,
0x0012,
0x0013,
0x0014,
0x0015,
... | |
3a6afae0fe6dca0f698353f1dd93e8101179aac2 | 4510c631da0bb7d3015a42f75ca46d8b96013f4e | /samples/Prime.cpp | ec318b472ce43f33f4ed006048bcb44e13030b3f | [] | no_license | GraspCS/CPP-Programs | 59a215b97565715ae47f77c5679a011bf2aedfd1 | 0b99a18c50c1b70e67e8906e3dac3c4349046d36 | refs/heads/main | 2023-06-17T00:50:14.491401 | 2021-07-06T17:30:39 | 2021-07-06T17:30:39 | 345,389,297 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 813 | cpp | Prime.cpp | #include <iostream>
using namespace std;
/**
* A program to find if a number is Prime Number
* @Author - GraspCS
* Feel free to learn from the code
* And to modify as per your needs
*/
int main() {
// This will be the number to be checked
int n;
cout << "Enter the Number = ";
cin >> n;
if ... |
dcf80c8652926fb6cc6f36574fe5a48f57544a1c | 7ba61112ddd3e934cc41a9360fe8393fb05297a7 | /A2-Borchate-T/Keyframes.h | e14d57d5c6ae65091f541f814940ec91a36f9e27 | [] | no_license | tusharborchate/A2-Borchate-T | 169f86c657eeb8e24946aa7f529051bd69cff531 | f27e5b3fe666650f6f097925f5cbe9357c3cb9de | refs/heads/master | 2020-04-20T10:49:03.186777 | 2019-02-10T02:47:37 | 2019-02-10T02:47:37 | 168,799,454 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 265 | h | Keyframes.h | #pragma once
class Keyframes
{
public:
int objectId;
int frame_Number;
double posX;
double posY;
double posZ;
double rotX;
double rotY;
double rotZ;
double scaleX;
double scaleY;
double scaleZ;
double time;
Keyframes();
virtual ~Keyframes();
};
|
d2a9034b436cdf12953ab3004af191046880dea2 | 5122fd1df8157561ba5241abf3a93a6af609d86e | /FullGame/GameMap.h | 7e2b3d72855dd7dbfe57e1a2f15630fc7d5f0d91 | [] | no_license | JHVy/Castlevania-JHVy | 2eecd31537edf9accb0797330cf977bfca625d61 | 41aa147f41f4e031b2bdfa12c2b0eb13690a8843 | refs/heads/master | 2022-11-26T02:43:55.068972 | 2020-08-08T06:47:10 | 2020-08-08T06:47:10 | 254,833,509 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 761 | h | GameMap.h | #ifndef __GAMEMAP_H__
#define __GAMEMAP_H__
#include <string>
#include <vector>
#include "Textures.h"
#include "Define.h"
#include "Sprites.h"
//#define ID_TEX_MAP1 4
#define TILE_SIZE 64
#define BRICK_SIZE 32
using namespace std;
class GameMap
{
public:
GameMap();
~GameMap();
private:
int numRows, numCols; ... |
e2e8473ba495b8a179cbc640f314285d379aa732 | 1c9247716c90a747ff6df31c94fad633b2c54ee5 | /infinity-table-sw/ledUtils.cpp | c94ba6b78608f27568c61d8cdae1a95d4d32b9f6 | [] | no_license | sorell/whirling-electrons | 348208503d8d83aad0b78261077b1f77df74f6d5 | 0836b42cc703f6da172ce2714bd423c1a96bbe6f | refs/heads/master | 2023-01-13T14:48:17.073449 | 2022-12-28T16:30:25 | 2022-12-28T16:56:26 | 158,593,444 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 920 | cpp | ledUtils.cpp | #include <FastLED.h>
#include "ledUtils.h"
/*----- Function --------------------------------------------------------------
* Does:
* Calculates accurate R,G,B delta values.
* The accuracy can't be calculated with all 8 bits' value, because then the
* number sign information would be lost on <<8 op.
... |
76daa4ca874a1c733f6dad9b60fc61447742e59c | 83e56aa5ee54cb957daeff9ef69b1616bd7e01cb | /examples/Webinterface/Webinterface.ino | e7cfd68df921a75a5bd7b842e52a6114adceebb8 | [] | no_license | roboticafacil/HIPPIE | ebebb3254d88878e874870f1c0939fc67154dfd8 | 2840798d7bd83c1add89b9889764279c6056840c | refs/heads/master | 2021-09-12T16:30:19.875116 | 2018-04-18T17:12:49 | 2018-04-18T17:12:49 | 114,018,659 | 0 | 0 | null | 2017-12-13T09:23:55 | 2017-12-12T17:20:40 | C++ | UTF-8 | C++ | false | false | 4,331 | ino | Webinterface.ino | // This examples shows the Hippie Library used toghether with ESPUI Library by Lukas Bachschwelll on the ESP32
#include <WiFi.h>
#include <ESPUI.h>
#include <Hippie.h>
#include <Oscillator.h>
const char* ssid = "Hippie";
Hippie hippie;
boolean walk_forward = false;
boolean walk_backward = false;
boolean jump = fals... |
f31956c6eb1a6d72bd92768970bddecfd6443ec4 | 26cc428b3d87f0cd0f1a2e6a51e9da25cd0b651a | /upperPosition/Blasius_10/Upper_zeroGradient_wall/upwind/constant/polyMesh/points | b97b701e8cbc1171ded1c5398e58331427d549c3 | [] | no_license | CagriMetin/BlasiusProblem | 8f4fe708df8f3332d054b233d99a33fbb3c15c2a | 32c4aafd6ddd6ba4c39aef04d01b77a9106125b2 | refs/heads/master | 2020-12-24T19:37:14.665700 | 2016-12-27T19:13:04 | 2016-12-27T19:13:04 | 57,833,097 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 242,660 | points | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.3.0 |
... | |
f07d8d9129ec850fdd2523c5c6340b4ab8cd8bf8 | 5ecf7f976f2ba9d12ae7d81a86bf11bb17950a4d | /Files/Files/main.cpp | 854a8140f6a95a8a07b80ea16c6a63cc251154d9 | [] | no_license | LucianoPAlmeida/udemy-course-cpp-beginners | dfa034cc7f9c6e1f4c1ed4b792f0c09e31a8d743 | c579668db64e31ae51bd2a54cafb5167e2fc09ed | refs/heads/master | 2021-07-06T16:38:15.531466 | 2020-07-24T02:22:55 | 2020-07-24T02:22:55 | 135,063,020 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 975 | cpp | main.cpp | //
// main.cpp
// Files
//
// Created by Luciano Almeida on 07/10/18.
// Copyright © 2018 Luciano Almeida. All rights reserved.
//
#include <iostream>
#include <fstream>
int main(int argc, const char * argv[]) {
std::fstream f;
f.open("./text.txt", std::fstream::app);
if (f.is_open()) {
f... |
74f1212383c9d07f8225b657dee557de2edfc029 | 2bd3f99d8fbdf1a1f1720c79f470240175289b07 | /include/motor_controllers/communication/i_signal_channel.h | 0c8d7a92421636a545a883dd34a05f30b947501f | [
"Apache-2.0"
] | permissive | XB32Z/motor_controllers | 5695095046e318f6bdf86dee5f5d00e5dc6c4fa6 | 41cb26b828d544b72babbe40d0334cbd7072af5b | refs/heads/main | 2023-04-21T05:33:56.532371 | 2021-05-09T10:05:52 | 2021-05-09T10:05:52 | 340,696,946 | 0 | 0 | Apache-2.0 | 2021-05-01T11:46:08 | 2021-02-20T16:15:55 | C++ | UTF-8 | C++ | false | false | 1,508 | h | i_signal_channel.h | /**
* @file i_signal_channel.h
* @author Pierre Venet
* @brief
* @version 0.1
* @date 2021-02-28
*
* @copyright Copyright (c) 2021
*
*/
#pragma once
#include <functional> // std::function
#include <memory> // std::unique_ptr
namespace motor_controllers {
namespace communication {
/**
* @brief Class t... |
cdc80f30e03ba2b7451cf9b942d8631f4a6e6e71 | 974d04d2ea27b1bba1c01015a98112d2afb78fe5 | /paddle/phi/kernels/concat_kernel.h | f5ac2d3cbb75e9d175d7fad342723a5aa1db1dea | [
"Apache-2.0"
] | permissive | PaddlePaddle/Paddle | b3d2583119082c8e4b74331dacc4d39ed4d7cff0 | 22a11a60e0e3d10a3cf610077a3d9942a6f964cb | refs/heads/develop | 2023-08-17T21:27:30.568889 | 2023-08-17T12:38:22 | 2023-08-17T12:38:22 | 65,711,522 | 20,414 | 5,891 | Apache-2.0 | 2023-09-14T19:20:51 | 2016-08-15T06:59:08 | C++ | UTF-8 | C++ | false | false | 1,656 | h | concat_kernel.h | // Copyright (c) 2022 PaddlePaddle 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
//
// Unless required... |
70aa775c0bd2fab062e5945bb2a6610085fee81a | f9a82c5090c6136993438cbb20cb7bedc5c67cb4 | /84.cpp | 22d15c6f4686b79b0fef5eef14d12e234ab28a75 | [] | no_license | JarvisZhang/Leetcode | 78d1dab0e8dda79aa00f3a8f76897432813cc108 | ed7d2975b0719ae2ce25bedb23ca57b62e74a58d | refs/heads/master | 2020-06-03T19:18:58.503493 | 2015-09-23T13:17:49 | 2015-09-23T13:17:49 | 38,595,044 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,676 | cpp | 84.cpp | //
// 84.cpp
// LeetCode
//
// Created by 张佐玮 on 15/6/30.
// Copyright (c) 2015年 JarvisZhang. All rights reserved.
//
// Title: Largest Rectangle in Histogram
//
#include <iostream>
#include <vector>
#include <stack>
using namespace std;
class Solution {
public:
int largestRectangleArea(vector<int>& height)... |
ac77cf45271f7ec504fbc6984369ae3b9eec3dda | 152033c36c5b8f0c12843db6036bff9e0e848e98 | /src/ui/tray-icon.cpp | 5a8fa66fb5939cfc4c2d670ad7ecd3d56cbd6cbf | [
"MIT",
"Apache-2.0"
] | permissive | haiwen/seafile-client | 4f8348c184ec749757e44cea8cc44ae0713492ae | 5c832cb119af540e6c2517f225cca67b172e6a63 | refs/heads/master | 2023-09-01T20:47:19.188179 | 2023-08-28T07:53:26 | 2023-08-28T07:53:26 | 11,894,308 | 441 | 332 | Apache-2.0 | 2023-09-08T02:22:13 | 2013-08-05T09:08:07 | C++ | UTF-8 | C++ | false | false | 23,270 | cpp | tray-icon.cpp | #include <stdlib.h>
#include <QtGlobal>
#include <QtWidgets>
#include <QApplication>
#include <QDesktopServices>
#include <QSet>
#include <QDebug>
#include <QMenuBar>
#include <QRunnable>
#include <QSysInfo>
#include <QCoreApplication>
#include "rpc/local-repo.h"
#include "utils/utils.h"
#include "utils/utils-mac.h"... |
b3ecdb7b9213d308d56336bfe8e82d8421771260 | fd6711836e85e29cc23dc756d5165eea72a3f797 | /elf_format_v2.h | ad6dcf389b12809dc9c4d2f404c1aa45cade4765 | [] | no_license | asanzjx/ELF_Parser | 01eec386394070c6d508914117d6ce7c84b5cfc7 | e7adaace949756658fbcc68afa19f6403ad7a3b7 | refs/heads/master | 2021-09-05T15:21:40.295782 | 2018-01-29T07:51:47 | 2018-01-29T07:51:47 | 115,853,315 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,405 | h | elf_format_v2.h | #pragma once
/*
* file_name: elf_format.cpp
* author: asanzjx
* date: 2017-12-22~2018-1-17
* description: elf/so file resolve header file
32bit/64bit file
*/
/*
typedef unsigned short int uint16_t;
typedef unsigned int uint32_t;
typedef int int32_t;
typedef unsigned long int uint64_t;
typedef uint32_t Elf32_Addr... |
fa1093c01ad67887401e5c27f36620979301e15f | bd73e2da8c721f65ee8658f01b85a30ea52de561 | /CSES/Dynamic Programming/implementation.cpp | ab2a840768e0917829eccd13bde14d4f875d0876 | [] | no_license | npsnishant/C-DSA | e02e6e450a5bf0d541b3fe40b5b517a7773c67d6 | 5c91ed8bf8c69bade06126b0b4330660026b81fc | refs/heads/master | 2023-08-04T15:12:26.173462 | 2021-09-17T16:11:23 | 2021-09-17T16:11:23 | 407,604,010 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 321 | cpp | implementation.cpp | #include <iostream>
#include <bits/stdc++.h>
#include <algorithm>
#define mod 1000000007
using namespace std;
int main(){
int n,m;
cin>>n>>m;
vector<int>adj[n+1];
for(int i=0;i<m;i++){
int u,v;
cin>>u>>v;
adj[u].push_back(v);
adj[v].push_back(u);
}
return 0;
... |
080cadf8a447c75929bd5ebf1725cac7a748c4d2 | 251c2c0bfacebc316c7cd1833ee187d9c9a9fe73 | /hw10 - ObjectsClasses/patient.cpp | e0d980377ef61aa8571b98ea6a98558d4813b03e | [] | no_license | swizrc/Various-Projects | bd4b3f7f136adb98859ac62d201bf65edcc47a69 | 6ab1445beceefbc3a3b10a8306ea62dbaad17a51 | refs/heads/master | 2021-01-20T12:49:25.422371 | 2017-05-06T01:06:11 | 2017-05-06T01:06:11 | 90,410,266 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,520 | cpp | patient.cpp | //Name: Samuel Itschner
//Date: 4/5/2012
//Description: Contains the functions for class 'patient'
//File:patient.cpp
#include "patient.h"
string patient::randName()
{
ifstream filename;
string dat_file, name;
int num_data, Rand;
filename.clear();
filename.open(NAME_PAT.c_str());
while (!filename)
{
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.