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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
d2fc4f653cde2d2ca565c7db7e6b01d8dcf5cc7f | b8a317bfd56ce30ff8eb376ca229e89e43a926f7 | /test/base/testFileUtil.h | c23d248890afe3634e2b47f25f3d0889254ccd8a | [] | no_license | linxiangyao/sc | e7f0efb3fb9f68a68c7cf63b5cd9acb68d2495db | 53938e9019da2b9bfd222206a7bf3fc20831ebab | refs/heads/master | 2020-03-25T01:55:50.456389 | 2018-08-08T02:01:28 | 2018-08-08T02:01:28 | 143,265,160 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 372 | h | testFileUtil.h | #ifndef __TEST_FILE_UTIL_H
#define __TEST_FILE_UTIL_H
#include "../comm.h"
using namespace std;
USING_NAMESPACE_S
void __testFileUtil()
{
printf("\n__testFileUtil ---------------------------------------------------------\n");
std::string str;
FileUtil::readFileAllContent("test.txt", str);
cout << "test... |
a56573d2e4ccf336e60d2330662bf218a2d8f8e2 | d6471818bb77d0ebf568991fcc0622f08019522a | /Project14/Project14/Source.cpp | 4d590f11ac2b18472db88d62e8e32c470b8b967b | [] | no_license | Blizzard-Nova/AVL-Balanced-tree | 1e5679bba353ec4e353c1d76ecae9e6f9702e293 | fc2694e70461fbcb9e270e622ad5bccba6d766ad | refs/heads/main | 2023-07-07T02:06:17.832896 | 2021-08-11T15:53:07 | 2021-08-11T15:53:07 | 395,042,326 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,380 | cpp | Source.cpp | #include <iostream>
using namespace std;
struct node
{
int data;
node* right;
node* left;
int height;
};
class BST
{
public:
BST();
void insert(int val);
void inorder_print();
int max_depth();
private:
node* insert(int val, node* leaf);
void inorder_print(node* leaf);
int MaxDepth(node* ... |
72e8e6c22d71243263aec51197a33defed0f518f | bed88e5d7e40ebb11ec19488596d7a8a9b9c99ac | /organizacao_e_recuperacao_de_inforacoes/fixofixo.cpp | 1f2ce64df12386444115d0bc04fd4dd884b7e49a | [] | no_license | BGCX067/fabiocpngraduationworks-svn-to-git | cb1e84f4956b6096e8698946d3e93fa0008d90ba | 1ccbcdfc9bbaf1256a90867a0f3a79f9e3a891fb | refs/heads/master | 2016-09-01T08:53:25.337196 | 2015-12-28T14:38:33 | 2015-12-28T14:38:33 | 48,759,709 | 0 | 0 | null | null | null | null | ISO-8859-1 | C++ | false | false | 4,198 | cpp | fixofixo.cpp | /*Organização e Recuperação da Informação
Manipulação de Registros em Arquivo
Registros e Campos de Tamanho Fixo*/
#include <iostream>
#include <fstream>
using namespace std;
class Pessoa
{
private:
char *key; //A chave possui 4 dígitos
char *lastname;
... |
4cd23355408e19ccc32c260079b78def392e7e09 | 48425ca11050646f5f0f956106b7d9d13d827e6f | /gfg/C++ productivity hacks/passing1d_array_vector.cpp | c2e926cd794593658bd9f50f52bf32e5452d7ac4 | [] | no_license | Saptarshidas131/CPP | 1d854ca530c0f17407c587c7528b4d30d2528811 | c93cce85089e6ec28820c91a2c6da39576889c4a | refs/heads/main | 2023-05-30T21:35:56.218850 | 2021-06-28T08:04:36 | 2021-06-28T08:04:36 | 321,994,798 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 464 | cpp | passing1d_array_vector.cpp | #include <iostream>
#include <vector>
using namespace std;
void fun(int a[], int n)
{
for (int i = 0; i < n; i++)
cout << a[i] << ' ';
cout << '\n';
}
void fun(const vector<int> &v) // using reference to avoid copying of vector
{
for(auto x : v)
cout << x << " ";
cout << "\n";
}
int main()
{
... |
89d6dfcea57945b4970511eb0fe913842e1471a2 | af168681c24ed4f20a8902de694e5d2c7f18c89d | /DS DATASTUCTURES/BUILDING TREE.cpp | 7cbf3599d28989c8c6be3ace457ae36ab0852b3c | [] | no_license | Captain272/cpp_code_base | 1dc552094940c301790e9313509412c782e97597 | 38f6d7aaca9cf6cabfc705a111fd99f10971d6ee | refs/heads/master | 2023-08-28T12:34:58.637415 | 2021-10-01T07:51:30 | 2021-10-01T07:51:30 | 412,550,375 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,015 | cpp | BUILDING TREE.cpp | #include<iostream>
using namespace std;
struct node
{
int data;
node* left;
node* right;
}*root=NULL,*temp=NULL,*p=NULL;
node * create(int a)
{
node* temp=new node;
temp->data=a;
temp->left=NULL;
temp->right=NULL;
if(root==NULL)
{
root=temp;
}
return temp;
}
node* insert(int a,node* p)
{
if(p==NULL)
... |
66382ec2f964f84c936149971dc8564f09b2ce35 | 1de094a15fa0067b63e8a7106209dfe29e803ea9 | /STL/my_first_hash_table.cpp | 3b5e7f5a2ecd5eca86c313b47faa3ddbcde788b7 | [] | no_license | jigsaw5071/algorithms | 70146537d2e617c02f6253549abc8a32d9361272 | 9144b2c117f2845ab125b89aeec6b33891c98dd3 | refs/heads/master | 2020-07-20T19:03:11.431940 | 2019-10-17T22:17:36 | 2019-10-17T22:17:36 | 66,913,566 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,628 | cpp | my_first_hash_table.cpp | /*
-By Shubham Sharma
:13-10-2016
HASHING FUNCTION FOR INTEGER THAT ARE MOSTLY REPEATING FOR LEETCODE QUESTION MAJORITY ELEMENT
*/
#include<bits/stdc++.h>
using namespace std;
#define TABLE_SIZE 4999 // prime number is best probability of collisions is low
class _hash_map{
private:
vector<list<pair<int,int>... |
6764374ac04b528f4ed99dad60b769d9b1a6040d | c0b429e6aafe68c6896a947b231bb34280d14ca4 | /src/RenderingEngineRayTraceFunc.cpp | 4528b65450a975bbe55a7f86ba436c8eb4bb8923 | [] | no_license | jbpagliuco/CS419RayTracer | d48ce0e75ee13f081573d6f6158b6241ad4ab34e | d9bc4bfa3fdf0aaa68cb062d0c73e4fbc53bbadb | refs/heads/master | 2020-12-30T23:10:35.974218 | 2017-03-28T02:35:18 | 2017-03-28T02:35:18 | 80,589,830 | 0 | 0 | null | 2017-03-28T02:35:19 | 2017-02-01T04:35:21 | C++ | UTF-8 | C++ | false | false | 3,110 | cpp | RenderingEngineRayTraceFunc.cpp | #include <RenderingEngine.h>
#include <Log.h>
#include <fstream>
#include <direct.h>
namespace RE
{
// RIGHT HANDED COORDINATE SYSTEM
void RenderingEngine::RunRayTracer()
{
if (!pWorld)
{
RE_LOGERROR(RENDER_ENG, RUNTIME, "World reference not set. Not able to draw scene.");
return;
}
RE_LOG(RENDER_EN... |
63716ffb5e57fc4feeb5d1ac4a9ee86585a794fb | b0c66358ae5c0386db5887e2609929e753c38d18 | /arch/fbhc/2018/2/Ethan.cpp | 5a790cb43889dd57e981a4c38455090170ba76bb | [] | no_license | michalsvagerka/competitive | e7683133ee5f108429135a3a19b3bbaa6732ea9f | 07f084dff6c1ba6f151c93bf78405574456100e4 | refs/heads/master | 2021-06-07T14:54:35.516490 | 2020-07-07T08:17:56 | 2020-07-07T08:19:09 | 113,440,107 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 836 | cpp | Ethan.cpp | #include "../l/lib.h"
// #include "../l/mod.h"
class Ethan {
public:
void solve(istream& cin, ostream& cout) {
int T; cin >> T;
for (int t = 0; t < T; ++t) {
cout << "Case #" << t+1 << ": ";
int N, K; cin >> N >> K;
if (N == 2 || K <= 3) {
cout << "0\n1\n";
} else if... |
cd27876f8afd4693268f5ce1b244f528cf8da80e | 7040eebac314697384964cbb6552922886034a58 | /lesson2/project/src/game.cpp | d92063c2a72d328c9cd5ea2cdfc05385890d0525 | [
"MIT"
] | permissive | VarLog/cpp_lessons | dcbefb272e22e285003660d3e91f60c3058cea8e | 82112997a75edba9b7b039f56f8606728d38ef7b | refs/heads/master | 2020-06-21T01:26:11.609246 | 2016-12-17T11:04:05 | 2016-12-17T11:04:05 | 74,812,000 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 657 | cpp | game.cpp | #include "game.h"
#include <iostream>
#include <random>
#include <sstream>
int Game::run() {
std::random_device rd;
std::mt19937 gen(rd());
std::uniform_int_distribution<> dis(1, 9);
while (std::cin.good()) {
auto a = dis(gen);
auto b = dis(gen);
auto answer = 0;
std... |
7ff099193f4c32bde36b145045fb086fcd937374 | 536656cd89e4fa3a92b5dcab28657d60d1d244bd | /services/device/serial/serial_device_enumerator_linux.cc | 7243bdc9aaac5a4490b4b96a0f255c842f76fa36 | [
"BSD-3-Clause"
] | permissive | ECS-251-W2020/chromium | 79caebf50443f297557d9510620bf8d44a68399a | ac814e85cb870a6b569e184c7a60a70ff3cb19f9 | refs/heads/master | 2022-08-19T17:42:46.887573 | 2020-03-18T06:08:44 | 2020-03-18T06:08:44 | 248,141,336 | 7 | 8 | BSD-3-Clause | 2022-07-06T20:32:48 | 2020-03-18T04:52:18 | null | UTF-8 | C++ | false | false | 4,868 | cc | serial_device_enumerator_linux.cc | // Copyright 2014 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.
#include "services/device/serial/serial_device_enumerator_linux.h"
#include <stdint.h>
#include <memory>
#include <utility>
#include <vector>
#include ... |
d922cc3da9a6ac2810c3c2dc034d0e3e1271e5e8 | 0ac485cca6a3a5c90b73c8ffaadf51c3637c1704 | /RPG_MyLife/StageManager.h | 25038965ed354adf85c5c75218bb5ad14e91dc13 | [] | no_license | americococo/RPG_FIrst | 6ddfcaf2835b33358ec6683d36fb35f35fd613ee | 16db481ba69caa59a27dcd101821106637944e86 | refs/heads/master | 2020-03-19T11:13:42.981708 | 2018-08-03T10:56:39 | 2018-08-03T10:56:39 | 136,440,737 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 368 | h | StageManager.h | #pragma once
#include <list>
class Stage;
class StageManager
{
private:
StageManager();
static StageManager * _instance;
public:
~StageManager();
static StageManager * GetInstance();
public:
void Init();
void Update(float deltTime);
void render();
private:
Stage * _stage;
std::list<Stage*> _stageList;
p... |
955d72a2ddb122de18315dd4193c0525e4e18130 | 9f0d42c412db503f0759980a35136618ac6fda79 | /MyProjects/C++/2020/10.03/bf.cpp | 4db913f37c28db8a7ebc4b1dd5ff599e84d9c427 | [] | no_license | lieppham/MyCode | 38a8c1353a2627d68b47b5f959bb827819058357 | 469d87f9d859123dec754b2e4ae0dced53f68660 | refs/heads/main | 2023-08-25T04:00:00.495534 | 2021-10-21T12:15:44 | 2021-10-21T12:15:44 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 696 | cpp | bf.cpp | //File: bf.cpp
//Author: yanyanlongxia
//Date: 2020/10/5
//
#include <bits/stdc++.h>
#define ll long long
using namespace std;
int n,m,maxm,step[2000005];
vector<pair<int,int> >v;
inline bool check(int num)
{
for (int i=v.size()-1;i>=0;i--)
{
int x=v[i].first,y=v[i].second;
}
}
i... |
c6e5acf1e412e866e39b6f6762e5d0c976ca73c5 | d5dfa659de2f76ce6be461db87bfd3dab78190eb | /derive.cpp | 08e2dee3582d289560e57ac5b9caabb0a881b272 | [] | no_license | GuangChenPidouki/c_puls_plus_study | 5c69dd35909b52cadd990a1a26c537e2e8e7aefa | 6c6eb9fe1af40500d140125f2de34b36f46d3452 | refs/heads/master | 2020-12-15T02:40:12.724518 | 2020-01-19T21:19:46 | 2020-01-19T21:19:46 | 234,968,731 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 344 | cpp | derive.cpp | #include<iostream>
using namespace std;
class Base{
public:
void func(double){cout << "base double" << endl;}
private:
void func(int){cout << "base int" << endl;}
};
class Derived : public Base{
public:
using Base::func;
void func(int a){cout << "derived int" << a << endl;}
};
int main()
{
Derived d;
d.func(1... |
8f1f107b4c93ea3e52e3fbc04f775e1d70e22a13 | a671414f8f624acfeb1db81a43a13ba1b780fc37 | /Libraries/LibGUI/GScrollableWidget.cpp | 246158d9f4d778c9fa09973cec8518d6ec414cef | [
"BSD-2-Clause"
] | permissive | Thecarisma/serenity | 28940e6a1c304e9c330fdb051b179ae687eb15bc | bd1e8bf16639eda528df671e64447febbcffd10a | refs/heads/master | 2020-07-30T07:34:49.840914 | 2019-09-21T22:46:29 | 2019-09-21T22:46:29 | 210,136,929 | 3 | 0 | BSD-2-Clause | 2019-09-22T11:37:41 | 2019-09-22T11:37:41 | null | UTF-8 | C++ | false | false | 6,748 | cpp | GScrollableWidget.cpp | #include <LibGUI/GScrollBar.h>
#include <LibGUI/GScrollableWidget.h>
GScrollableWidget::GScrollableWidget(GWidget* parent)
: GFrame(parent)
{
m_vertical_scrollbar = GScrollBar::construct(Orientation::Vertical, this);
m_vertical_scrollbar->set_step(4);
m_vertical_scrollbar->on_change = [this](int) {
... |
7f328ad40c1cae6d503f7826b0c93355307c9e32 | 9dd7633fd0625e5b5858a3d7a2fd9791d39bd137 | /IntroD3D9/Ch03D3DRender/Cube/RenderCube.h | fd0720ba02366497151d373371b03ae4196178f6 | [] | no_license | breaker/studies | 9f47846f8e8fbe7330a3fab5dd7d4ab711d44b60 | 015050ee892587ad0b5af4f2ac235134190fbe59 | refs/heads/master | 2022-12-04T16:31:04.104470 | 2022-11-24T10:23:27 | 2022-11-24T10:23:27 | 6,194,386 | 9 | 5 | null | null | null | null | GB18030 | C++ | false | false | 1,432 | h | RenderCube.h | // RenderCube.h
//
#ifndef __RENDERCUBE_H__
#define __RENDERCUBE_H__
// FVF 顶点类型, 只包含位置
struct Vertex {
Vertex(float x, float y, float z) : x_(x), y_(y), z_(z) {}
float x_;
float y_;
float z_;
static const DWORD FVF = D3DFVF_XYZ;
};
/////////////////////////////////////////////////... |
987cbe85d1a5a3fb98fe2d3d8fbdc306bdaeb98c | 4498a53d12a3e1611540d2130c36f36f6e9294cd | /braintrain/boostdi/bindings/bindings4.cpp | e68f9ebd41b2a69cfecef9453eace9a82b83df0e | [] | no_license | haldokan/CppEdge | bec9fb92ea8a7f2dd473e7bc1f3bd97d11abf4e0 | ae6a8509d41ee7b2f2c29fde00480ebec6d5fb0c | refs/heads/main | 2023-02-10T02:19:20.788089 | 2021-01-05T17:32:23 | 2021-01-05T17:32:23 | 304,011,300 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,873 | cpp | bindings4.cpp | #include <iostream>
#include "../di.hpp"
using namespace std;
namespace di = boost::di;
class icard {
public:
virtual ~icard() = default;
virtual double charge(double) = 0; // charge amt and return balance
};
class credit_card : public icard {
public:
double charge(double amt) override {
cout <<... |
3e467ffaa201327c9728f5013555c66232d66159 | a2206795a05877f83ac561e482e7b41772b22da8 | /Source/PV/build/Qt/Components/moc_pqProxyInformationWidget.cxx | 87bba15e3eff34d9729dcd28ef1c1c39b3ed2db4 | [] | no_license | supreethms1809/mpas-insitu | 5578d465602feb4d6b239a22912c33918c7bb1c3 | 701644bcdae771e6878736cb6f49ccd2eb38b36e | refs/heads/master | 2020-03-25T16:47:29.316814 | 2018-08-08T02:00:13 | 2018-08-08T02:00:13 | 143,947,446 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,389 | cxx | moc_pqProxyInformationWidget.cxx | /****************************************************************************
** Meta object code from reading C++ file 'pqProxyInformationWidget.h'
**
** Created by: The Qt Meta Object Compiler version 63 (Qt 4.8.6)
**
** WARNING! All changes made in this file will be lost!
********************************************... |
f651a205eac2479c6a1ad6af78aeff14eb899cae | 2bdca426e00b7648e1cb76432c7b9548dcfe5095 | /src/instruments/CashFlow.hpp | d9fbf8473dfcb6de9bcb735dd3cfbcc936d222fd | [] | no_license | mbrzecki/julian | b6b0c7c5fdc40f2970ae9cbeed1bd12c020dae6f | 04a38f0a26a23ba8f80c879997216c22dbc81ebb | refs/heads/master | 2020-03-28T02:30:08.777303 | 2019-05-28T18:10:30 | 2019-05-28T18:10:30 | 147,575,336 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,130 | hpp | CashFlow.hpp | #ifndef JULIAN_CASHFLOW_HPP
#define JULIAN_CASHFLOW_HPP
#include <marketData/interestRateCurves/irCurve.hpp>
#include <dates/date.hpp>
#include <interestRates/interestRate.hpp>
namespace julian {
/**
* @file CashFlow.hpp
* @brief File contains definition of cash flow class.
*/
/** \ingroup inst... |
d3c20ceea5e7fc250ccb6445bfd5f06bfac39467 | f3b589ef1d0a7353ac7ec16ab4aa6c5d7f05dc0b | /Node/PatchEditor.h | 58c4440fbfe6f1046743a575d2214e1b18759fb2 | [] | no_license | Snake174/PipmakAssistant | 46b6abbaa9f7131fe64de3d31dad425f5f2f1d65 | 4095507f95ac4f483114394ec4038773c998c00c | refs/heads/master | 2021-01-04T22:32:39.834369 | 2015-03-06T04:41:51 | 2015-03-06T04:41:51 | 19,058,852 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,135 | h | PatchEditor.h | #ifndef PATCHEDITOR_H
#define PATCHEDITOR_H
//=================================================================================================
#include <QWidget>
#include <QVariant>
#include <QListWidgetItem>
//=================================================================================================
QT_BEGIN_... |
317d89e2868d3f84b0f13da1d3d235c0463e90e1 | 4be1b10eac05682757da9155fdd0265ac26d4880 | /Command/MoveLightSourceCommand.h | 26c2fe2b2ab2390829d93fe15e786074168991d6 | [] | no_license | JacKeTUs/ComputerGraphics | 0d0a8925088b35d62c88d32f18e099061f9c8155 | 8dc04c0f5d84e025f1028c221ec4e6fb858ff8c0 | refs/heads/master | 2021-09-05T19:14:09.885200 | 2018-01-30T12:57:23 | 2018-01-30T12:57:23 | 119,534,697 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 484 | h | MoveLightSourceCommand.h | #ifndef MOVELIGHTSOURCECOMMAND_H
#define MOVELIGHTSOURCECOMMAND_H
#include "Command.h"
class MoveLightSourceCommand : public Command
{
private:
int index;
double dx;
double dy;
double dz;
public:
MoveLightSourceCommand(int i, double x, double y, double z): index(i), dx(x), dy(y), dz(z) {}
~Mov... |
0758a192afe6337858de6be0c7649ddd346dbf80 | 06aa3647ea9caf1e5fe6cd37c76651f6fece1a3b | /src/mxFlowCanvas.cpp | 6e05319427b643bb4500cc65e8da3246eb56daf2 | [] | no_license | SoftwareIDE/ZinjaI | 6731dc9a5a67a9f138f547f02f8c62a67d42f8d5 | a3d752bf5fa971a726fc4ba036d860edf6588b5f | refs/heads/master | 2020-12-24T19:46:21.098172 | 2016-05-04T20:45:52 | 2016-05-04T20:45:52 | 58,789,743 | 3 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 34,625 | cpp | mxFlowCanvas.cpp | #include <stack>
#include "mxFlowCanvas.h"
#include "mxSource.h"
#include "mxUtils.h"
#include "mxMessageDialog.h"
//#define FC_DRAW_LINE(x1,y1,x2,y2,pen) draw.lines.insert(draw.lines.begin(),fc_line(x1,y1,(x2)==(x1)?(x1):(x2)>(x1)?(x2)+1:(x2)-1,(y2)==(y1)?(y1):(y2)>(y1)?(y2)+1:(y2)-1,pen))
#define FC_DRAW_LINE(x1,y... |
4a696e3c87bd5162b7ab39bc0ea3629b14bc0d4e | e166c0c3712eccd4e8d5527016b16327efcfbc34 | /artemis-code/src/concolic/executiontree/tracevisitor.h | 0c7e7b112b06eb0b75f48c717a3459c9b7de1a17 | [
"Apache-2.0"
] | permissive | daisy1754/Artemis | 1b7b49bee5db746628e1616d70c7aa8027f10a80 | 8a5dcbcda569a39fe51723388d66d3297ad18eff | refs/heads/master | 2020-12-24T22:20:52.045403 | 2013-09-18T16:13:39 | 2013-09-18T16:13:39 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,202 | h | tracevisitor.h | /*
* Copyright 2012 Aarhus University
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... |
10f12f16b568dd1004bcc63cfe84e45a4e8cf30a | a91e4983cca710865e76f69c608d159d4af7f596 | /main.cpp | f8bab2552372495fab945ca52142556a0383819c | [] | no_license | ploe/citron | 7ef576180648ab0c5a875d35c0dbfc639c85f9dd | bfd4045f56fe0442ef812efa6aa9c9b6ff143064 | refs/heads/master | 2020-07-30T11:09:41.397972 | 2019-09-23T15:40:40 | 2019-09-23T15:40:40 | 210,208,322 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,703 | cpp | main.cpp | #include <IL/il.h>
#include <IL/ilu.h>
#define GLEW_STATIC
#include <GL/glew.h>
#ifdef __linux
#include <SDL2/SDL.h>
#include <SDL_opengl.h>
#elif __APPLE__
#include <SDL.h>
#include <SDL_opengl.h>
#endif
SDL_Window *window;
SDL_GLContext context;
GLuint vertexShader, fragmentShader;
typedef char *Text;
enum {
EL... |
719be6f2762c1f28096d3775e2ce3350c8c9509c | 41a05309d3d4aff77816417f8b1e551294decbf4 | /deps/v8/src/builtins/builtins-intl.cc | c14d73b3b60b69701fad42d74508c5cbfb071c18 | [
"LicenseRef-scancode-unknown-license-reference",
"BSD-3-Clause",
"LicenseRef-scancode-unicode",
"ICU",
"LicenseRef-scancode-openssl",
"NAIST-2003",
"ISC",
"Zlib",
"LicenseRef-scancode-public-domain",
"NTP",
"BSD-2-Clause",
"Artistic-2.0",
"MIT",
"bzip2-1.0.6",
"SunPro"
] | permissive | RajithaKumara/nodejs-mobile | 27d86aa5e64e400fe78441c57db78ce453906734 | 2d415b1d7efd6ff90ce44d4b90f553bbdcf11882 | refs/heads/mobile-master | 2020-05-02T22:23:13.694176 | 2019-02-07T16:23:05 | 2019-02-07T16:29:54 | 178,250,404 | 1 | 0 | NOASSERTION | 2019-04-01T12:11:38 | 2019-03-28T17:18:36 | JavaScript | UTF-8 | C++ | false | false | 3,553 | cc | builtins-intl.cc | // Copyright 2017 the V8 project 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 V8_INTL_SUPPORT
#error Internationalization is expected to be enabled.
#endif // V8_INTL_SUPPORT
#include "src/builtins/builtins-utils.h"
#inc... |
0033e53e175556d840f81deb1dcbb5b7d62ded37 | 9956d3dfc1536b32d1fea7bd4efaafc593a5ab10 | /src/data_structures/cc_node.tpl.h | 282301ee279070de6cd0f1572f00b39ab19faf77 | [] | no_license | curiousTauseef/chapchom | a66201d8a5dfcd8eeb310e4e23645f5c69fbbee5 | 127f07758a35305d82336216abf1e068d67992e8 | refs/heads/master | 2022-11-22T00:10:05.408899 | 2020-01-29T19:25:11 | 2020-01-29T19:25:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,468 | h | cc_node.tpl.h | // IN THIS FILE: The definition of a class to represent nodes
// Check whether the class has been already defined
#ifndef CCNODE_TPL_H
#define CCNODE_TPL_H
#include "../general/common_includes.h"
#include "../general/utilities.h"
#include "./cc_data.h"
namespace chapchom
{
/// @class CCNode cc_node.h
// Abstra... |
a91c198b975999578fa6ba38126a6fb825f05b98 | ae831e9906154180f0e2192a1a2715f6d394b08c | /src/timer.h | 835ed43eeb5594836734c74c459c02f76889e540 | [
"BSD-3-Clause"
] | permissive | Treecodes/TABI-PB | 0109377e538ce104f2345619da93b6a064aa31fe | 0710ff7c346c5b13416d34a1ae6da2a738a5dbbd | refs/heads/master | 2022-05-04T08:58:18.959724 | 2022-05-01T19:05:53 | 2022-05-01T19:07:48 | 108,321,952 | 5 | 0 | NOASSERTION | 2022-05-01T19:07:49 | 2017-10-25T20:23:27 | C++ | UTF-8 | C++ | false | false | 773 | h | timer.h | #ifndef H_TIMER_STRUCT_H
#define H_TIMER_STRUCT_H
#include <chrono>
class Timer
{
private:
std::chrono::time_point<std::chrono::steady_clock> start_time_;
std::chrono::time_point<std::chrono::steady_clock> end_time_;
std::chrono::duration<double, std::milli> elapsed_time_ = std::chrono::steady_clock::dura... |
24462abdd79f9652da0782abf43508572cfe8d09 | a3d6556180e74af7b555f8d47d3fea55b94bcbda | /third_party/blink/renderer/core/style/style_variables_test.cc | 77ffa595db43cd5734cab115f892c6808866a9eb | [
"GPL-1.0-or-later",
"MIT",
"LGPL-2.0-or-later",
"Apache-2.0",
"LGPL-2.0-only",
"BSD-2-Clause",
"LGPL-2.1-only",
"LicenseRef-scancode-warranty-disclaimer",
"GPL-2.0-only",
"LicenseRef-scancode-other-copyleft",
"BSD-3-Clause"
] | permissive | chromium/chromium | aaa9eda10115b50b0616d2f1aed5ef35d1d779d6 | a401d6cf4f7bf0e2d2e964c512ebb923c3d8832c | refs/heads/main | 2023-08-24T00:35:12.585945 | 2023-08-23T22:01:11 | 2023-08-23T22:01:11 | 120,360,765 | 17,408 | 7,102 | BSD-3-Clause | 2023-09-10T23:44:27 | 2018-02-05T20:55:32 | null | UTF-8 | C++ | false | false | 7,945 | cc | style_variables_test.cc | // Copyright 2019 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "third_party/blink/renderer/core/style/style_variables.h"
#include "third_party/blink/renderer/core/css/css_test_helpers.h"
#include "third_party/blink/renderer/core/... |
f9abc39d48852570adb378941fbeb6b76204692f | a33aac97878b2cb15677be26e308cbc46e2862d2 | /program_data/PKU_raw/72/578.c | 0ea465abe50e76eadc07e553e3d8b5b5ca58bb1c | [] | no_license | GabeOchieng/ggnn.tensorflow | f5d7d0bca52258336fc12c9de6ae38223f28f786 | 7c62c0e8427bea6c8bec2cebf157b6f1ea70a213 | refs/heads/master | 2022-05-30T11:17:42.278048 | 2020-05-02T11:33:31 | 2020-05-02T11:33:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 467 | c | 578.c | main()
{
int a[21][21];
int i,j,k,m,n;
for(i=0;i<21;i++)
for(j=0;j<21;j++)
a[i][j]=0;
scanf("%d %d",&m,&n);
for(i=1;i<m+1;i++)
for(j=1;j<n+1;j++)
scanf("%d",&a[i][j]);
for(i=1;i<m+1;i++)
{
for(j=1;j<n+1;j++)
{
if(a[i][j]>... |
407ac95eb6d5417fde8037119f59f9bd0850064b | dd2b09c58a82ac7c5ee62e7d889f450a3b4b55c2 | /src/http_category.cpp | 6af60766a8b951350878da9e27a88bcb5a6ec360 | [
"BSL-1.0"
] | permissive | darcyg/boost.http | 6d3db384798bcf81ab9ffa42841ac457f0afbd94 | a9cc6838afd1672d794b8c9bef3a0dadd3950c8e | refs/heads/master | 2021-01-18T14:29:52.635116 | 2014-05-22T02:03:52 | 2014-05-22T02:03:52 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 970 | cpp | http_category.cpp | /* Copyright (c) 2014 Vinícius dos Santos Oliveira
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) */
#include <boost/http/http_errc.hpp>
namespace boost {
namespace http {
class http_category_impl: public std::... |
fefefa637c1a76593b7962dffe56e55ef13a0a5a | fa5d4fc69288949d60fadb7a2b6ac5c448284032 | /include/Pixel.h | c3404c3f2b719dae46c682754511290dc49bd2fc | [
"Apache-2.0"
] | permissive | giane88/NormalizeMPI | 1c86432e96cd57327e0faf8ad556813df72524bc | 792cdc1c7b9abf066e7cbaa58c4f9b81e372dbbe | refs/heads/master | 2016-09-15T23:02:39.679877 | 2014-12-16T12:33:15 | 2014-12-16T12:33:15 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 955 | h | Pixel.h | #ifndef PIXEL_H
#define PIXEL_H
#include <boost/mpi.hpp>
#include <boost/serialization/access.hpp>
class Pixel
{
private:
unsigned char m_red;
unsigned char m_green;
unsigned char m_blue;
friend class boost::serialization::access;
template <class Archive>
void ser... |
6fcb3ce01f543155235d2d41cf743454edbadf19 | a82e7f7a5b55197d0639cb4b9f7cacd50ae6b0a1 | /LeetCode/algorithm/Add_Strings_415.cpp | e480ef816d9a06eab7829401e1f22518255e4dcf | [] | no_license | bhushan23/competitive-programming | af96f38cb32f351abbd3551c9cf4f25974e01a13 | 530c602498ee153517dacf9d95822e99c7e248db | refs/heads/master | 2021-01-20T00:50:52.393881 | 2018-03-01T17:26:34 | 2018-03-01T17:26:34 | 89,196,037 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 945 | cpp | Add_Strings_415.cpp | class Solution {
public:
string addStrings(string num1, string num2) {
reverse(num1.begin(), num1.end());
reverse(num2.begin(), num2.end());
string ans(max(num1.length(), num2.length()), '0');
int i, carry = 0;
for (i = 0; i < min(num1.length(), num2.length()); ++i) {
... |
ae95bbafdc6f028637967bc82eab751b1acb4005 | 0443e6cbc9c3b755748224b9877cd9c77f87175d | /Question7/src/main/main.cc | ca47eee26df01d0b71f8ac71a77ab4b4a218c342 | [] | no_license | JingchaoZhou/EE599_HW2 | ef9cc010528bfb3d186779126e1e9481b792fccd | a1a167021b8f8262561ff03529d1859926dfd51e | refs/heads/master | 2020-12-29T11:53:58.424428 | 2020-02-06T03:25:59 | 2020-02-06T03:25:59 | 238,598,725 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 439 | cc | main.cc | #include <iostream>
#include "src/lib/solution.h"
#include <iterator>
int main()
{
Solution solution ;
string from = "add";
string to = "egk";
map<char,char> out = solution.mappable(from,to);
map <char,char>::iterator itr;
cout << "{";
for(itr = out.begin(); itr != out.end(); ++itr){
... |
b8c55778ab3866dbf1f83af79f02dce8f2903443 | e09347fc3a3518e96bda01277474350f43ab06ec | /scpp_models/include/rocketHoverDefinitions.hpp | 1fe97d02d30f01a6752fcdee679731f194bfb241 | [
"MIT"
] | permissive | kaikaishen/SCpp | 21744beca0be90fe37516374e1b1c9c53c31d954 | bebaf6148c932e3b053e1d8414eba0a4b9496c8b | refs/heads/master | 2020-12-06T16:09:26.867590 | 2019-12-18T18:35:00 | 2019-12-18T18:35:00 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 147 | hpp | rocketHoverDefinitions.hpp | #pragma once
#include "common.hpp"
namespace scpp::models
{
enum rocketHover
{
STATE_DIM_ = 10,
INPUT_DIM_ = 3,
PARAM_DIM_ = 10
};
} |
bafc4d6ee15266a37b4cc7ab2d774fcfae1078be | 31435b5020e2b2ce1f15d3222376f0fdd6a92add | /src/Functors/GeometrySpringGetAngles.cpp | 195abdce48c37a212a5279bb468a2a7368c5ab10 | [] | no_license | vadimostanin/sceleton_phisics_constructor | 4ac3a3a371133a3a97cc763ef9158a667fdaa3dc | 87424844e8ca8c8eef1d1935a845c81f0162021a | refs/heads/master | 2021-01-16T00:27:56.271805 | 2015-04-25T10:45:18 | 2015-04-25T10:45:18 | 32,335,198 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 2,147 | cpp | GeometrySpringGetAngles.cpp | /*
* GeometrySpringGetAngles.cpp
*
* Created on: 22 апр. 2015
* Author: vadim
*/
#include "GeometrySpringGetAngles.h"
#include "GeometrySpringGetCrosslinkPredicate.h"
#include "GeometryLinkGetAbsoluteAnglePredicate.h"
GeometrySpringGetAngles::GeometrySpringGetAngles( const GeometrySpring * geometrySpring )... |
0263cd430228230497f2262114b3053c6a0309b8 | cd0cfa7320731abedb554e528324b6eae7fb5ce1 | /BilliardsGL/Engine/UI/UIButton.hpp | 6384c17401519b7c0b9c7e71ec6e99b89968bc8e | [] | no_license | HSKKOU/BilliardsGL | 1d5654773454ca8934fd6becb238085aaa61d803 | 80d9cd3d99c014017983d2d6419fc2ecdc4f5d6a | refs/heads/master | 2021-05-04T01:28:04.681376 | 2016-12-15T10:58:56 | 2016-12-15T10:58:56 | 71,215,581 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 927 | hpp | UIButton.hpp | //
// UIButton.hpp
// BilliardsGL
//
// Created by 比佐 幸基 on 2016/11/13.
// Copyright © 2016年 比佐 幸基. All rights reserved.
//
#ifndef UIButton_hpp
#define UIButton_hpp
#include "UIPanel.hpp"
NS_ENGINE_UI
class IButtonHandler {
public:
virtual ~IButtonHandler() {}
virtual void onButtonDown() = 0;
virtual voi... |
f3edf29f6e3a4670f6133f2c6efffb764ae363a8 | 8386739914b178a5aa31964b29820f7675e617d4 | /src/Object.h | b2b829d9f7bf51e56289a32e57fced2d93319a8b | [] | no_license | dAmihl/ppg-core | 3892c823876370d5f4fb75b2b2fffd6af18b10ec | b8815f020803d299e0b3fb0adb3d654e8cebf4ba | refs/heads/master | 2023-08-06T02:23:34.513301 | 2021-10-04T18:07:34 | 2021-10-04T18:07:34 | 200,243,877 | 0 | 0 | null | 2021-09-27T14:56:32 | 2019-08-02T13:57:33 | C++ | UTF-8 | C++ | false | false | 1,230 | h | Object.h | #pragma once
#include "core/Core.h"
#include "State.h"
#include "StateTransition.h"
#include "core/ObjectMetaData.h"
namespace PPG
{
class PPG_EXPORT Object
{
public:
Object();
Object(Str name);
public:
Str getObjectName() const;
State getCurrentState() const;
StateTransition getStateTransition() co... |
c557f5ca2caa2cc87f27f23e258b6422f9967c71 | 5b23c5c264ee9d6c3a9317f2e56b837b611f72e3 | /demo/AllInOneDialog.h | 3e8a519ce115a3961179042a035bbd5fa9a91cbc | [
"MIT",
"GPL-1.0-or-later"
] | permissive | shi-yan/AssortedWidgets | 1cc620f5ee9513cf7f501456995ef8b51ddd06d6 | a2f2e8503dea99658c06ce14ef0fbc3203360ebd | refs/heads/master | 2021-11-25T21:19:12.466213 | 2021-11-16T01:38:57 | 2021-11-16T01:38:57 | 37,887,411 | 117 | 35 | MIT | 2021-11-16T01:38:57 | 2015-06-23T00:11:02 | C++ | UTF-8 | C++ | false | false | 1,543 | h | AllInOneDialog.h | #pragma once
#include "Dialog.h"
#include "GridLayout.h"
#include "Label.h"
#include "Button.h"
#include "TextField.h"
#include "ScrollPanel.h"
#include "CheckButton.h"
#include "RadioButton.h"
#include "SlideBar.h"
#include "ProgressBar.h"
#include "DropList.h"
#include "DropListItem.h"
#include "RadioGroup.h"
namesp... |
f02adf6bea3c3c92fe1947d7a3a0fe79288dc682 | c5a1f3a68bd228df99f7a2520099c25a00ea0fb1 | /debugStuff.h | 9f126f0e1e154ed8176c48ef037c1fa59bc55acc | [] | no_license | ericDeCourcy/BiologySim | 6d7dfa018a7ee87ce6b41c2f2c81f786ea8178ce | 7d6d3ef94d1c7121407ee2f46a26a8aa6993aece | refs/heads/master | 2020-03-17T00:32:18.545514 | 2018-11-14T02:05:29 | 2018-11-14T02:05:29 | 133,120,427 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,307 | h | debugStuff.h | ofstream logFile;
void spreadMinerals()
{
mineralPop[0].directionMoving = -1;
mineralPop[0].type = 0;
mineralPop[0].x = 0;
mineralPop[0].y = 3;
gameMap[0][3] = 1000;
mineralPop[1].directionMoving = -1;
mineralPop[1].type = 0;
mineralPop[1].x = 1;
mineralPop[1].y = 3;
... |
3ae900ab85a35a8b45e8857c36b025f289c0fc3a | f83ef53177180ebfeb5a3e230aa29794f52ce1fc | /ACE/ACE_wrappers/TAO/tests/InterOp-Naming/INS_i.h | afce1f3c4e40f087b185bd5ff483e4ac3783bb74 | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference",
"LicenseRef-scancode-proprietary-license",
"LicenseRef-scancode-sun-iiop"
] | permissive | msrLi/portingSources | fe7528b3fd08eed4a1b41383c88ee5c09c2294ef | 57d561730ab27804a3172b33807f2bffbc9e52ae | refs/heads/master | 2021-07-08T01:22:29.604203 | 2019-07-10T13:07:06 | 2019-07-10T13:07:06 | 196,183,165 | 2 | 1 | Apache-2.0 | 2020-10-13T14:30:53 | 2019-07-10T10:16:46 | null | UTF-8 | C++ | false | false | 703 | h | INS_i.h | // -*- C++ -*-
//=============================================================================
/**
* @file INS_i.h
*
* This class implements the INS interface.
*
* @author Vishal Kachroo <vishal@cs.wustl.edu>
*/
//=============================================================================
#ifndef INS_I... |
609b6192d35f764e12923a2832790ef8e31a80de | f5602d385458a7a85ae292184359939721d25b77 | /Data/neigh_inc.cpp | c40c212d0db366d07e239666e81a29d8f3ab00ff | [] | no_license | LiisaLoog/pleistocene-wolves | 5aaa6c875fe2fa6d9c81ed26a7486918f3b60824 | 5bad55557dd0bf99313ec3a43a40edd86c098dca | refs/heads/master | 2020-06-13T17:44:10.610149 | 2019-10-16T12:11:53 | 2019-10-16T12:11:53 | 194,736,650 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 847 | cpp | neigh_inc.cpp | //-----------------------------------------------------------------------------------
// Graph defining wolf regions
//
// 0: Europe
// 1: Central_North_Eurasia
// 2: Beringia
// 3: Middle_East
// 4: South_East_Asia
// 5: Arctic_North_America
// 6: North_America
//
//----------------------------------------------------... |
4ed9efee7df4330afab5aa718cd33dce2e193998 | 976004c9f4426106d7ca59db25755d4d574b8025 | /demos/network/src/demo_download.cpp | 6a03816262829839a3ba2e08c0c6c75e0628a723 | [] | no_license | peterzxli/cvpp | 18a90c23baaaa07a32b2aafdb25d6ae78a1768c0 | 3b73cfce99dc4b5908cd6cb7898ce5ef1e336dce | refs/heads/master | 2022-12-05T07:23:20.488638 | 2020-08-11T20:08:10 | 2020-08-11T20:08:10 | 286,062,971 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 502 | cpp | demo_download.cpp |
#include <cvpp/network/network_downloader.h>
#include <cvpp/auxiliar/macros.h>
using namespace cvpp;
int main(int argc, char *argv[])
{
// CREATE DOWNLOAD INTERFACE
Downloader down;
// DOWNLOAD FILE
disp( "Downloading..." );
bool suc = down.toFile( "https://eigen.tuxfamily.org/dox/AsciiQuickRe... |
3372f326f42aab40c9799a850d00d0b4ba3777b9 | 8bf6eff1bff54f677801144d6ede3a5e8ce12900 | /base/Sources/Compute/RomixCpu.hpp | 52b6a4e35d25ea6a72805e89b5d5c2c31bff3cbf | [] | no_license | DarkIntegral/romix-acceleration | 791c2cf21ad4b2b7cc6d56144d3024fbe09d8c80 | b9ab77027bccd36a19fab3c653e1e190cc5fe898 | refs/heads/main | 2023-04-10T12:02:04.252399 | 2021-03-26T21:08:38 | 2021-03-26T21:08:38 | 351,782,437 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 961 | hpp | RomixCpu.hpp | //
// RomixCpu.hpp
//
// Created by Braiden Brousseau on 2021-03-26.
//
#ifndef RomixCpu_hpp
#define RomixCpu_hpp
#include <vector>
#include "RomixBase.hpp"
class RomixCpu: public RomixBase
{
public:
RomixCpu();
void mix(uint8_t* data, size_t blocks);
private:
// scratch buffers
std::vec... |
579ba52a65e4e62ca334e6894b305e0f7033483e | 8ea521234d9a63d73d99f6c67dd23d81cc8b4999 | /Tecent_exam/Tecent_exam/main.cpp | 06b43ad091baf7d38b87a932c4d8be29989dffe6 | [] | no_license | chenfushan/alps_algorithm | e9b9994e398a0cb503b50812b262049475185815 | fe23ce5a6d6eb647f6fae41e78c9d729170b1f11 | refs/heads/master | 2021-01-21T04:55:22.840848 | 2016-06-05T08:36:35 | 2016-06-05T08:36:35 | 22,367,983 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 538 | cpp | main.cpp | //
// main.cpp
// Tecent_exam
//
// Created by Alps on 15/4/8.
// Copyright (c) 2015年 chen. All rights reserved.
//
#include <iostream>
using namespace std;
struct A{
unsigned char x;
unsigned char y;
int z;
};
#pragma pack(8)
struct B{
uint8_t a;
uint32_t b;
uint16_t c;
};
#pragma pack()
... |
ba0f3b362a1c51f2d4854539dee956a8495d7a74 | dfc4d0ae87d50a34441c80a690955126001f36a4 | /11145.cpp | 867ca0805a4d23590f8dc1a24e3a0e0d191f52b8 | [] | no_license | fakerainjw/ProblemSolving | 48c2e83f414f3ea9a9b8e182ff94842b4f9453ae | 402c06a1d64ee287e39a74282acc1f0c7714d8fe | refs/heads/master | 2023-07-08T07:33:18.003061 | 2016-08-01T13:16:07 | 2016-08-01T13:16:07 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,108 | cpp | 11145.cpp | #include <iostream>
#include <cstdio>
#include <cstring>
using namespace std;
char input_stream[100];
int main(void)
{
int N;
freopen("test.txt","r",stdin);
scanf("%d",&N);
getchar();
for (int i=0;i<N;i++)
{
gets(input_stream);
int len = strlen(input_stream);
bool checking = true;
... |
a3012c267d9cd454d31c006b7dccb0c4d39a64f9 | a52c4c629e6dba91de3ca1f04784507392c0b798 | /arduinoir/arduinoir.ino | 03dad971aaff05ec38d9ee230de603a7eac38e24 | [] | no_license | freedom5566/Arduino | 57ee4df4d0e815935b5d40a00149d41d080c1c44 | 6cb0596543fa222561242e770cc213e6563180c6 | refs/heads/master | 2021-05-02T14:23:57.984976 | 2018-03-18T14:53:04 | 2018-03-18T14:53:04 | 120,719,697 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 590 | ino | arduinoir.ino | int Led=13;
#define FALSE 0
#define TRUE 1
int buttonpin=3;
int val;
int i=0,j=0;
static int g_counter = 0;
//http://www.yd-tech.com.tw/product_info.php/products_id/70965
void setup() {
// put your setup code here, to run once:
Serial.begin(9600);
pinMode(Led,OUTPUT);
pinMode(buttonpin,INPUT);
}
void loop() {... |
fd37ae7477e4284e05f9d46c4949f0e99a8a4b9a | 5ddfc063c839e7880d28eaa1166475eda41aab90 | /MSCMPSO/function.h | 04d7f721d68f91613498ebae4ce4cd6f43c2b519 | [] | no_license | lanshiyinging/MSCMPSO | c81d2549a252aa96dd17010ed3a6426a9777a9eb | 2a824d15026d9ccf4b8c2adc835f4fcb8cb7803c | refs/heads/master | 2020-09-08T10:30:04.571207 | 2019-11-15T15:59:19 | 2019-11-15T15:59:19 | 221,108,837 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 646 | h | function.h | //
// Created by lansy on 2019/11/12.
//
#ifndef MSCMPSO_FUNCTION_H
#define MSCMPSO_FUNCTION_H
#include <cmath>
#include <vector>
using namespace std;
#define PI 3.14159265
const double TabletWidth = 100;
const double QuadricWidth = 100;
const double RosenbrockWidth = 50;
const double GriewankWidth = 300;
const dou... |
fd53a86a40b3ee57c947d5553a64c8452b7cb622 | 35bc9c40286431c55a835625219793e8d12e9e65 | /processing/module/maker/yas_processing_number_to_signal_module.cpp | 4a40d7699def44520a80e36cd7d88f3a831f5a27 | [
"MIT"
] | permissive | objective-audio/processing | 07bd9ff77932f37b199edc704935a90bac7bc3b9 | 2963433b633e474113103ff4cbfb4cf1798d4173 | refs/heads/master | 2023-06-08T17:48:50.505776 | 2023-06-04T09:16:17 | 2023-06-04T09:16:17 | 73,592,179 | 0 | 0 | MIT | 2023-06-04T09:16:18 | 2016-11-13T02:59:40 | Objective-C++ | UTF-8 | C++ | false | false | 4,946 | cpp | yas_processing_number_to_signal_module.cpp | //
// yas_processing_number_to_signal_module.cpp
//
#include "yas_processing_number_to_signal_module.h"
#include <cpp_utils/yas_boolean.h>
#include <cpp_utils/yas_fast_each.h>
#include <processing/yas_processing_module.h>
#include <processing/yas_processing_number_event.h>
#include <processing/yas_processing_number_... |
4ac014f465fcf3457b8e96d3955ac008eb5e00bd | cb3ac43d4dc552f5158be56aff3ef935417d4e47 | /Non Zero Segments.cpp | 6116852f0c7b16f69a28bbd948bd80a3866aca80 | [] | no_license | ShreyasKadiri/CodeForces | 3fe7ca8487202b666286f72d64f95f18b29a7ec6 | 74cf476855c2c2964c24ae4c8568d87f39154501 | refs/heads/master | 2023-02-02T16:22:35.973993 | 2020-12-20T17:32:53 | 2020-12-20T17:32:53 | 291,511,134 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 546 | cpp | Non Zero Segments.cpp | #include <bits/stdc++.h>
typedef long long ll;
using namespace std;
int main(){
//freopen("input.in","r",stdin);
//freopen("output.in","w",stdout);
ios_base::sync_with_stdio(false);
cin.tie(NULL);
cout.tie(NULL);
int n,i,j,t;
cin>>n;
vector<ll> v(n);
ll su(0),cnt(0);
set<ll> s;
s.ins... |
b31ef20689ecaf5b6cb1535bfd556284b7a2f963 | 17053a27fc1fb3373bc5582815ff2482f17af011 | /EOYRacingGame/Intermediate/Build/Win64/UE4Editor/Inc/EOYRacingGame/EOYRacingGamePawn.gen.cpp | 9a279647f4f3c6d30e2d34f0eea253d38b7560fd | [] | no_license | wcthscgda/EOYRacingGame | 09eba38b6796106ed800baa90974bf0458219fc1 | c442ac95520089479f83c53f2667dae95658b895 | refs/heads/master | 2020-05-14T09:37:20.589390 | 2019-05-03T13:33:41 | 2019-05-03T13:33:41 | 181,743,151 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 20,274 | cpp | EOYRacingGamePawn.gen.cpp | // Copyright 1998-2018 Epic Games, Inc. All Rights Reserved.
/*===========================================================================
Generated code exported from UnrealHeaderTool.
DO NOT modify this manually! Edit the corresponding .h files instead!
==============================================================... |
860b923b4b0d61ae4a362fedc4c49c0590915c6f | 8073614012d6f036bc68f72145fecd5d11cd125d | /my_gl_widget.h | 077988cc97f9b5fd31116f7474d5583ac76c0681 | [] | no_license | GentleHedgehog/learnopengl_qt | 81ad8bea1a5d0f21eebfa015fab45be7328403dc | a3beb3de92fe975e17c643975cb8905f1fb7a986 | refs/heads/master | 2021-09-01T18:49:10.596204 | 2017-12-28T08:24:11 | 2017-12-28T08:24:11 | 115,601,000 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 301 | h | my_gl_widget.h | #ifndef MY_GL_WIDGET_H
#define MY_GL_WIDGET_H
#include <QGLWidget>
class MyGlWidget : public QGLWidget
{
public:
MyGlWidget(QWidget *parent = nullptr);
protected:
virtual void initializeGL();
virtual void resizeGL(int w, int h);
virtual void paintGL();
};
#endif // MY_GL_WIDGET_H
|
38e0131ca9f305d4fb8b3c9eed4c73c126a06e36 | 790c74e6fb10857cd396e07f1eb39c4733596e91 | /include/eagine/units/dim/acceleration.hpp | 767391440cc98f9de08a949aef7c6b343c1b46cc | [
"BSL-1.0"
] | permissive | Blinky0815/oglplu2 | 838a4d9484359b8c381ab49827caad4bef7e0a39 | 8cc3f1d3305179e4ade8b3973f4862df7543ad2a | refs/heads/master | 2020-03-22T21:59:10.271736 | 2017-11-17T14:01:25 | 2017-11-17T14:01:25 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 636 | hpp | acceleration.hpp | /**
* @file eagine/unit/dim/acceleration.hpp
*
* Copyright Matus Chochlik.
* Distributed under the Boost Software License, Version 1.0.
* See accompanying file LICENSE_1_0.txt or copy at
* http://www.boost.org/LICENSE_1_0.txt
*/
#ifndef EAGINE_UNITS_DIM_ACCELERATION_1512222148_HPP
#define EAGINE_UNITS_DIM... |
ed74265a5a94eec94073e449ad0df3461a79ea9d | 078d16366463370cc74caea92f9b35e43d9870be | /Module 3/part2-cute_comics/cutecomics/entities/panel.cpp | 8412615d79953ab371fe29b76afa93325c20c7cd | [
"MIT"
] | permissive | PacktPublishing/End-to-End-GUI-development-with-Qt5 | 6cac1289c6b03dbc94435d9c4ee971d7b71049b4 | 8ac713da23aac4b305b12ee1ef6ec60362bcd391 | refs/heads/master | 2023-02-03T09:16:34.581304 | 2023-01-30T09:56:23 | 2023-01-30T09:56:23 | 138,880,448 | 26 | 10 | null | null | null | null | UTF-8 | C++ | false | false | 270 | cpp | panel.cpp | #include "panel.h"
namespace entities {
Panel::Panel(QObject *parent) : QObject(parent)
{
}
QSize Panel::get_size() const {
return m_size;
}
void Panel::set_size(QSize size) {
if (size != m_size) {
m_size = size;
emit sizeChanged();
}
}
}
|
0a31b27ee7d2426b00ef60f6a38287ad5b2b4508 | 591e32997255776efeb7692b6623c2bdc2167531 | /Lista 1/Code/openGL_tutorial.cpp | c462568d56565400958708a7a96fbba6ac749428 | [] | no_license | tfc2/if680 | 2ad90aaf333132401f79a429f9a8006083b019d9 | 275b98b7fa3d39859bc877779ea88f0412033bb7 | refs/heads/master | 2020-04-19T04:25:41.067800 | 2015-07-10T06:07:02 | 2015-07-10T06:07:02 | 35,982,256 | 0 | 0 | null | null | null | null | WINDOWS-1250 | C++ | false | false | 3,295 | cpp | openGL_tutorial.cpp | #include "openGL_tutorial.h"
#include <iostream>
#include <vector>
const int WINDOW_W = 500;
const int WINDOW_H = 500;
using namespace std;
class Ponto
{
public:
float x, y;
Ponto(float x, float y) : x(x), y(y) {};
};
vector <Ponto> pontos;
double fatorial(int n)
{
double resposta;
i... |
7dc4fdcb12651f7a07c593a2fea7f62f0285d97a | f9c0a7f9eb3e35cd022937518420d1e2716f3603 | /Graph/GraphSource.cpp | 6aa1b15d993395d0b4af00585617524b36392313 | [] | no_license | BaranovMykola/Parallel-Computing | 275d107c393eb20b6927c4c97db223eac651f653 | a27a6c932fa465672836cbaa4269fb9c33f2aed2 | refs/heads/master | 2021-01-23T10:20:58.685543 | 2017-10-28T13:55:41 | 2017-10-28T13:55:41 | 102,609,969 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,780 | cpp | GraphSource.cpp | // A C / C++ program for Dijkstra's single source shortest path algorithm.
// The program is for adjacency matrix representation of the graph
#include <stdio.h>
#include <chrono>
#include <limits.h>
#include <iostream>
#include <vector>
#include <thread>
#include <ctime>
// Number of vertices in the graph
#define V 1... |
c64231cd2e1d51676927ef11e5b994be8be97763 | 995951566b842a9871e20025635233b883d034b2 | /Tertian/Tertian/Source/Keyboard.cpp | 661d13c44bbb6633c3a08f87632c278850ec7a1e | [] | no_license | Hypervariate/tertian | 36e0e82b84c889525117ad20c19dbe7c71b4a4a8 | af3af4cf620a1deff34de4c0a62d7142be63a567 | refs/heads/master | 2020-03-29T09:47:34.007373 | 2012-02-13T02:04:29 | 2012-02-13T02:04:29 | 3,612,452 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 739 | cpp | Keyboard.cpp | #include "Keyboard.h"
map<SDL_Keycode, bool> Keyboard::keys;
Keyboard::Keyboard(){}
Keyboard::~Keyboard(){}
void Keyboard::AnalyzeEvents(SDL_Event* event)
{
switch( event->type )
{
case SDL_KEYDOWN:
keys[event->key.keysym.sym] = true;
cout << "Key: " << SD... |
42763d4151f4023347503e4a0609234e029ebdd3 | dd4f474ecc48f309941879b761dba5f4c5d5b912 | /OtherCodes/UltrasonicMatrix/UltraMat.h | efb043ee07f13e9de472947134970f608c17ff66 | [
"Unlicense"
] | permissive | manykits/ManyKitArduino | e0d776676d4aa92bc1ce3bd5c6925f574ec50066 | f4dc989a1c04fe9111abc9974c487aa138f27286 | refs/heads/master | 2020-04-29T02:37:52.409040 | 2019-08-25T02:14:33 | 2019-08-25T02:14:33 | 175,777,789 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 907 | h | UltraMat.h | // UltraMat
#ifndef ULTRAMAT
#define ULTRAMAT
#include "UltraObj.h"
#include "Arduino.h"
const int NumMaxUltra = 6;
const int OT_DSTMAT_I = 30;
const int OT_RETURN_DSTMAT = 31;
enum PXFPin
{
P_0 = 0,
P_1,
P_2,
P_3,
P_4,
P_5,
P_6,
P_7,
P_8,
P_9,
P_10,
P_11,
P_12,
... |
ea7b7f332df9dc900397809cce88822386e792dc | c6194c146264a314cddcf3ddfeaf9a9f4d06dfd5 | /frc/wpi/include/wpi/StackTrace.h | 44e0b21d7bbae1c8450367b51d24739266e22984 | [
"MIT"
] | permissive | qhdwight/frc-go | f911222c6d147ddeefa8a177d18dba0ea03c5b99 | b3a59ac64b76d55c6ede586f8ca3a35bdfc3a4d3 | refs/heads/main | 2022-02-23T08:34:52.677930 | 2022-02-03T03:59:41 | 2022-02-03T03:59:41 | 217,160,684 | 8 | 1 | MIT | 2022-02-03T03:59:42 | 2019-10-23T21:56:23 | C++ | UTF-8 | C++ | false | false | 907 | h | StackTrace.h | // Copyright (c) FIRST and other WPILib contributors.
// Open Source Software; you can modify and/or share it under the terms of
// the WPILib BSD license file in the root directory of this project.
#ifndef WPIUTIL_WPI_STACKTRACE_H_
#define WPIUTIL_WPI_STACKTRACE_H_
#include <string>
namespace wpi {
/**
* Get a st... |
9f1217c1f379dc2e11aa363128d3e0c33308973b | 6f9c0dc059a5d8c3ba5163e6058e86b3df6e0c87 | /src/Base/3dModelBase.h | aa729f32f5103e07b03da6669d90b0ee27297f9b | [] | no_license | hy-2013/3d_model_base | d75def135c3c9ef96b590b4a80c221f8c3759f3e | 99f963b817876b227d3ac98ccf7e1b3017d2b8e6 | refs/heads/master | 2020-04-06T06:59:23.132718 | 2015-08-19T01:58:58 | 2015-08-19T01:58:58 | 39,321,808 | 3 | 2 | null | 2015-08-18T06:35:44 | 2015-07-19T04:00:55 | C++ | UTF-8 | C++ | false | false | 13,380 | h | 3dModelBase.h | /*************************************************************************
> File Name: ModelBase.h
> Author: clzhang
> Mail: zcwtuibian@gmail.com
> Created Time: 2014年11月25日 星期二 05时28分42秒
************************************************************************/
#include<iostream>
#include<vector>
#... |
67bbfec361d555fc3a10e2887e58031e40ba2ffa | 6591044f45464f289420f9c98e296554836b8deb | /sim/csim/lsm/csim/src/membranepatchsimple.h | 3e39df00cb5e68148b61f4ffec965e44f191e191 | [] | no_license | vbaker145/neuron | 8dab0fae1fdb5c96f5804404b159812302eb6b80 | 2d977854e99e389c2541e86c6d6d5cc779fcb02a | refs/heads/master | 2022-01-18T03:54:59.864863 | 2018-12-15T14:02:18 | 2018-12-15T14:02:18 | 84,617,348 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,463 | h | membranepatchsimple.h | /*! \file membranepatchsimple.h
** \brief Class definition of MembranePatchSimple
*/
#ifndef _MEMBRANEPATCH_SIMPLE_H_
#define _MEMBRANEPATCH_SIMPLE_H_
#include "spikingneuron.h"
#include "ionchannel.h"
#include "synapsetarget.h"
class IonChannel;
//! A a path of membrane with an arbitrary number of channels and cu... |
98b0dace69374c1ce9dd44a87d42636b087644c7 | 696ea2a7febaf75a03b296c1c35376cc9e36b269 | /openscenario/openscenario_interpreter/include/openscenario_interpreter/syntax/parameter_action.hpp | 4192adfcea6af4aad8d9c3646541fe95585bd341 | [
"Apache-2.0"
] | permissive | kmiya/scenario_simulator_v2 | 2c260787af6b7493f556d00e7e3cb641099bde71 | 13635e661cc643c783853d1b4c060d1e3dff3458 | refs/heads/master | 2023-06-11T20:45:51.934634 | 2021-07-02T06:05:39 | 2021-07-02T06:05:39 | 382,219,805 | 0 | 0 | Apache-2.0 | 2021-07-21T13:25:10 | 2021-07-02T03:29:15 | C++ | UTF-8 | C++ | false | false | 2,354 | hpp | parameter_action.hpp | // Copyright 2015-2020 Tier IV, Inc. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by app... |
e0fcd4e7dc1beb71eae290bfe51cfc946fbf4c07 | 0ef832d8eaedc16253cc220bc704a52597d248fe | /libs/els/if_parser/src/attributeStruct.cxx | 8e738db7f13a3d3511b5f1eabfbb3acd7e7f1262 | [
"BSD-2-Clause"
] | permissive | radtek/software-emancipation-discover | 9c0474b1abe1a8a3f91be899a834868ee0edfc18 | bec6f4ef404d72f361d91de954eae9a3bd669ce3 | refs/heads/master | 2020-05-24T19:03:26.967346 | 2015-11-21T22:23:54 | 2015-11-21T22:23:54 | 187,425,106 | 1 | 0 | BSD-2-Clause | 2019-05-19T02:26:08 | 2019-05-19T02:26:07 | null | UTF-8 | C++ | false | false | 4,515 | cxx | attributeStruct.cxx | /*************************************************************************
* Copyright (c) 2015, Synopsys, Inc. *
* All rights reserved. *
* *
* Redistribution and... |
0b1e08710bb24682cdb6b9dd2ec8692ae79a901c | 8d129048ae705c3f78f1f3ac6aedbd475cb67316 | /chroma-renderer/core/scene/scene.cpp | 6aa18a44a1f203a2b5de1cc300efbb6e697783ba | [] | no_license | alexfrasson/ChromaRenderer | ce17dcc2a7c044b0b9b8cfffb4b793f62d751ec3 | 3214fe14b76faa782a9ff9ec9b434982e9f55eac | refs/heads/master | 2023-04-30T13:40:32.741358 | 2023-04-16T17:31:38 | 2023-04-16T17:31:38 | 24,805,912 | 5 | 0 | null | 2023-04-16T17:31:39 | 2014-10-05T01:27:14 | C++ | UTF-8 | C++ | false | false | 1,182 | cpp | scene.cpp | #include "chroma-renderer/core/scene/scene.h"
size_t Scene::triangleCount()
{
size_t tc = 0;
for (size_t i = 0; i < meshes.size(); i++)
{
tc += meshes[i]->t.size();
}
return tc;
}
void Scene::clear()
{
meshes.clear();
materials.clear();
}
BoundingBox Scene::getBoundingBox()
{
... |
a7ec92dd1fc940a16fe0fd351893ea4be939d60f | a6f5f9e85c25a8523276501e7a53362189bc8685 | /King.cpp | 359aec1ea281a1e61da0c990920a7b8d533be2e3 | [] | no_license | jkasari/terminalChess | bd081c60aa9adbd8f05576347c00a649a1fa55f3 | b4f2b95609221e49127c4b2a5ffc5611b50aeeea | refs/heads/master | 2023-04-24T08:45:13.849318 | 2021-05-06T04:26:39 | 2021-05-06T04:26:39 | 342,637,502 | 0 | 0 | null | 2021-04-04T00:44:01 | 2021-02-26T16:40:35 | C++ | UTF-8 | C++ | false | false | 1,416 | cpp | King.cpp | #include "King.h"
std::vector<Location> King::potentialMoves(Location location) {
std::vector<Location> moves;
Location potentialMove = location;
uint8_t boardLimit = location.row;
for(int moveIndex = 0; moveIndex < 8; ++moveIndex) {
moves.push_back(potentialMove);
potentialMove = movePie... |
7eaf510f60d784d9a0a21c77f53c465151368169 | 879681c994f1ca9c8d2c905a4e5064997ad25a27 | /root-2.3.0/run/tutorials/multiphase/twoPhaseEulerFoam/RAS/bubbleColumn/98/U.water | e28150fe10dc31b0c0760f6d0370b503701c7c4c | [] | no_license | MizuhaWatanabe/OpenFOAM-2.3.0-with-Ubuntu | 3828272d989d45fb020e83f8426b849e75560c62 | daeb870be81275e8a81f5cbac4ca1906a9bc69c0 | refs/heads/master | 2020-05-17T16:36:41.848261 | 2015-04-18T09:29:48 | 2015-04-18T09:29:48 | 34,159,882 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 49,035 | water | U.water | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.3.0 |
... |
49117f56b3cef6887aca5ce7951b9e6a7326aebb | 64178ab5958c36c4582e69b6689359f169dc6f0d | /vscode/wg/sdk/FLightmassPointLightSettings.hpp | b183af8083f12e1e84149159b14d896fd37c1d54 | [] | 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 | 586 | hpp | FLightmassPointLightSettings.hpp | #pragma once
#include "FLightmassLightSettings.hpp"
#ifdef _MSC_VER
#pragma pack(push, 1)
#endif
namespace PUBGSDK {
struct alignas(1) FLightmassPointLightSettings // Size: 0xC
: public FLightmassLightSettings // Size: 0xC
{
public:
};
#ifdef VALIDATE_SDK
namespace Validation{
auto constexp... |
d4dd3f5b9863fc04681d11f3c3a396ccb34d03a0 | 38ec1fcc95781b8e244b2cc6801980d22fec4cb2 | /uva-solutions/cf1A.cpp | acd4eb6cde4c7040a5ee63dcc65aa7056089511b | [] | no_license | techyvish/uva-solutions | e88a349f5126f184a6928bf481cedc4a66e6e232 | 6ac2290b64836fee5f952c13ab2e800b9f6a2fa2 | refs/heads/master | 2021-01-20T00:48:29.121266 | 2015-10-04T13:46:30 | 2015-10-04T13:46:30 | 38,370,878 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 917 | cpp | cf1A.cpp | //
// Created by Vishal Patel on 7/5/15.
// Copyright (c) 2015 Vishal Patel. All rights reserved.
//
#include<cstdio>
#include<cstring>
#include<string>
#include<cmath>
#include<iostream>
#include<cctype>
#include<map>
#include<stack>
#include<cstdlib>
#include <queue>
#include <vector>
#include<algorithm>
#include <s... |
70b4b84546d9179fa7e7b98f439aebcfb2b41a8c | 1e5e30a157cb009a7a40ba7de5b2751101d62710 | /SNACS/branches/branch_001/snacs/trunk/snSimulation/snFIRFilter.cpp | 5b9c333ee95fea53938686ed86cf39b3c0f34835 | [] | no_license | zhufengGNSS/GNSSDDM | 630cfb7dbc83e8cc04631516223bdcec750a3b06 | 22de16723fc2abd5b8c2ab1753b386db7542eb74 | refs/heads/master | 2022-12-05T00:31:50.464294 | 2020-08-26T10:51:11 | 2020-08-26T10:51:11 | 295,369,687 | 1 | 0 | null | 2020-09-14T09:36:43 | 2020-09-14T09:36:43 | null | UTF-8 | C++ | false | false | 1,660 | cpp | snFIRFilter.cpp | /*
* SNACS - The Satellite Navigation Radio Channel Simulator
*
* Copyright (C) 2009 F. M. Schubert
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License... |
ba4dc7d2ad73a658b48cbd67f4135035f9213c7a | d3bf068ac90138457dd23649736f95a8793c33ae | /PFAResult/inc/ComponentTranOutMgr.h | 4a926798743b8032eb8871a562b6d388f238ecc5 | [] | no_license | xxxmen/uesoft-AutoPFA | cab49bfaadf716de56fef8e9411c070a4b1585bc | f9169e203d3dc3f2fd77cde39c0bb9b4bdf350a6 | refs/heads/master | 2020-03-13T03:38:50.244880 | 2013-11-12T05:52:34 | 2013-11-12T05:52:34 | 130,947,910 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 931 | h | ComponentTranOutMgr.h | // ComponentTranOutMgr.h: interface for the ComponentTranOutMgr class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_COMPONENTTRANOUTMGR_H__597AE7D7_E6E1_4688_8BB4_6899006CC35A__INCLUDED_)
#define AFX_COMPONENTTRANOUTMGR_H__597AE7D7_E6E1_4688_8BB4_6899006CC35A__INCLUDED_
#... |
e469512867c68972b6f69c7166aa0112754feee2 | 480a636bd44373abe85245c03271a4a273c5bd60 | /2nd sem/labs/2.cpp | cf363f591ed060792bcf9597f133ed131be9300e | [] | no_license | allf1337/lab1st | bdc7161b89d5e14c338c0219cc015a7949076526 | 20bf6387fa6c06b13a957b9b7441410e0295f0a7 | refs/heads/master | 2023-03-26T07:57:32.727640 | 2021-03-11T11:14:06 | 2021-03-11T11:14:06 | 298,055,466 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 444 | cpp | 2.cpp | #include "stdafx.h"
#include <iostream>
#include <locale.h>
using namespace std;
int main()
{
setlocale(LC_ALL, "Russian");
int number,tens,units, sum, composition;
cout << "Введите двузначное число: ";
cin >> number;
if (number > 99 | number < 9)
cout << "Данное число не двузначно "<< endl;
tens = numb... |
f76f9d69387df3e002567f737e556c78f0abf0e6 | a3d6556180e74af7b555f8d47d3fea55b94bcbda | /components/gcm_driver/crypto/encryption_header_parsers.cc | 6148cae6851ceeec1e798f58add949a2809109fa | [
"BSD-3-Clause"
] | permissive | chromium/chromium | aaa9eda10115b50b0616d2f1aed5ef35d1d779d6 | a401d6cf4f7bf0e2d2e964c512ebb923c3d8832c | refs/heads/main | 2023-08-24T00:35:12.585945 | 2023-08-23T22:01:11 | 2023-08-23T22:01:11 | 120,360,765 | 17,408 | 7,102 | BSD-3-Clause | 2023-09-10T23:44:27 | 2018-02-05T20:55:32 | null | UTF-8 | C++ | false | false | 4,754 | cc | encryption_header_parsers.cc | // Copyright 2015 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "components/gcm_driver/crypto/encryption_header_parsers.h"
#include "base/base64url.h"
#include "base/strings/string_number_conversions.h"
#include "base/strings/str... |
0969374285237ac1bf633141394abca515317d42 | 6b28d9a072b59b5fa6b527fd60f26b8a997f01d8 | /Microsoft.WindowsAzure.Storage/tests/main.cpp | 2e6f4af987986c46ace9f2dbd6516dd7b72ec510 | [
"Apache-2.0"
] | permissive | mildwolf/azure-storage-cpp | 030b7d15bbfb523d8fc75496a6f009264fc425c4 | 5486e18ef0de786479e44c2cf58b2c139b1a29f0 | refs/heads/master | 2020-03-10T05:13:47.255408 | 2019-08-07T02:19:47 | 2019-08-07T02:19:47 | 129,212,501 | 0 | 0 | Apache-2.0 | 2018-04-12T07:41:12 | 2018-04-12T07:41:11 | null | UTF-8 | C++ | false | false | 2,732 | cpp | main.cpp | // -----------------------------------------------------------------------------------------
// <copyright file="main.cpp" company="Microsoft">
// Copyright 2013 Microsoft Corporation
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with th... |
37027a50625940a0d131c378a617326f463dfbb8 | ea54021e59910ae07c171a556f487f3403f79f6c | /VisualStudioProjects/VC7/COM/KeyInput/KeyInput/CKeyInput.cpp | 882555e4e9188feb78345ebcc70df8ae85b2364d | [] | no_license | 15831944/pre2006 | e56441c0e511a5b4695d970d8a9a14b343ccc675 | 7d38b738fb74fa8987fa49bf2598be74645ebbd0 | refs/heads/master | 2023-02-24T19:57:40.843660 | 2021-01-19T13:01:19 | 2021-01-19T13:01:19 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 2,886 | cpp | CKeyInput.cpp | // CKeyInput.cpp : 实现文件
//
#include "stdafx.h"
#include "KeyInput.h"
#include "CKeyInput.h"
#include ".\ckeyinput.h"
// CKeyInput
IMPLEMENT_DYNCREATE(CKeyInput, CCmdTarget)
CKeyInput::CKeyInput()
{
EnableAutomation();
EnableConnections();
// 为了使应用程序在 OLE 自动化对象处于活动状态时保持
// 运行,构造函数调用 AfxOle... |
e5e2abc181d6bf83f9c59334a88d46461a3eed0a | c15d124ea20024ed94884e0d457a4e24f024b377 | /1357_dp_矩阵快速幂.cpp | b5a684058ae8bbc5fc48bc2b498b6935d04098ab | [] | no_license | zm2417/luogu-cpp | 34e37afaf96f17e45f1ccb2b883dea5584b332d0 | 40d4960dc7ccf84168707fd5f0285b2e325eb03f | refs/heads/master | 2020-12-21T02:24:12.088314 | 2020-03-11T07:44:39 | 2020-03-11T07:44:39 | 236,278,364 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,653 | cpp | 1357_dp_矩阵快速幂.cpp | #include <iostream>
using namespace std;
const long long MOD = 1000000007;
long long n, m, k, ans;
int lim;
struct node
{
long long t[64][64];
} re, x;
int ok[64], bin[6]; //ok:是否是合法状态
void work(int zt, int num)
{
ok[zt] = 1;
int kl = zt >> 1;
x.t[kl][zt] = 1;
// 判断后面能否为1
if (num == k && !(zt ... |
c031108e0cfb3fcebbca8e48291afd3c05cf0ceb | ac8ffabf4d7339c5466e53dafc3f7e87697f08eb | /python_solutions/1221.split-a-string-in-balanced-strings.cpp | b8e638df6d4bad65a51c996cab4105a454d1b4bf | [] | no_license | h4hany/leetcode | 4cbf23ea7c5b5ecfd26aef61bfc109741f881591 | 9e4f6f1a2830bd9aab1bba374c98f0464825d435 | refs/heads/master | 2023-01-09T17:39:06.212421 | 2020-11-12T07:26:39 | 2020-11-12T07:26:39 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,457 | cpp | 1221.split-a-string-in-balanced-strings.cpp | /*
* @lc app=leetcode id=1221 lang=cpp
*
* [1221] Split a String in Balanced Strings
*
* https://leetcode.com/problems/split-a-string-in-balanced-strings/description/
*
* algorithms
* Easy (78.31%)
* Total Accepted: 16.7K
* Total Submissions: 21.3K
* Testcase Example: '"RLRRLLRLRL"'
*
* Balanced string... |
25ad54a6f91c5e59af5195c9d0e269619a275157 | d129923ee05243e11668bc2c6102a65997a269b0 | /src/DBFile.h | 64ba8961b36209d5b4934c8ff4d358ba49cd7506 | [] | no_license | vikramsk/sequel | 82e8cc07b1eb9b094cf0a639bb7436e08cff3e54 | b292cdaa28e790ecc2d64ff2cbee5a1c66e639cc | refs/heads/master | 2021-03-27T13:33:40.293837 | 2018-05-02T15:04:30 | 2018-05-02T15:04:30 | 117,310,418 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,905 | h | DBFile.h | #ifndef DBFILE_H
#define DBFILE_H
#include "BigQ.h"
#include "Comparison.h"
#include "ComparisonEngine.h"
#include "File.h"
#include "Record.h"
#include "Schema.h"
#include "TwoWayList.h"
typedef enum { heap, sorted, tree } fType;
typedef enum { READ, WRITE } modeType;
class GenericDBFile {
private:
fType fi... |
8fc716ea0c99725289acb372d09bcaa6fd616153 | 830bc266bdbfb6d1b8f0a15b85bafdb59c269c36 | /samples/sampleImportExport/InferenceEngine.cpp | 90cc68ae8419cc7b22fdbeca46c2f54bdb9f1825 | [] | no_license | FrancescoMarchesini/tensorRT | c839d8f80294ddcdf5cd9dc3678dd46e97aa577d | 909b8b607a657bdbd7871ca70f3f335d4dc4074c | refs/heads/master | 2021-09-15T19:54:14.102719 | 2018-06-01T23:45:22 | 2018-06-01T23:45:22 | 115,917,024 | 0 | 1 | null | 2018-01-02T11:45:15 | 2018-01-01T12:11:23 | null | UTF-8 | C++ | false | false | 4,670 | cpp | InferenceEngine.cpp | #include "InferenceEngine.h"
#include <fstream>
#include <iostream>
#include <sstream>
motoreDiInferenza::motoreDiInferenza()
{
}
motoreDiInferenza::motoreDiInferenza(
const std::string& model_file,
const std::string& weights_file)
{
std::cout<<LOG_GIE<<"Creo il Builder"<<std::endl;
nvinfer1::IBuilder* build... |
e866515b2ea799948f09e104c1bc7b0166b00121 | 3a9de4bd3d74257a7a45de105f8be5d462f768b1 | /Mathematics/Function/Computable/Library/a_Macro.hpp | 6db50f294c35bc346d5f83ee2461a601a88cc279 | [
"MIT"
] | permissive | p-adic/cpp | 0ffd97a06f79e744c9ceeee25d409a509812828b | 006036e88ed402efd1d55cab3cbe43e58daf6e13 | refs/heads/master | 2023-08-31T21:59:42.647794 | 2023-08-31T11:10:46 | 2023-08-31T11:10:46 | 228,025,919 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 147 | hpp | a_Macro.hpp | // c:/Users/user/Documents/Programming/Mathematics/Function/Computable/Basic/a_Macro.hpp
#pragma once
#define BASIC using namespace QpBasic
|
b6634c7071354b46bfe5c1789245ca61252f05b0 | 34382bac2cd600407e0873cf73e1babd6a3149ad | /leq2020/0714/K-找规律.cpp | 2cde911d20cb708a4a9cc32bace71d86432c26b8 | [] | no_license | windring/CppAlgorithms | a5a2f199e04e66db2dc5e4b8e7b01fad07747b03 | 3a1489c07bf363cf730c446828515065733fe484 | refs/heads/master | 2021-01-02T09:19:03.702868 | 2020-10-21T04:46:01 | 2020-10-21T04:46:01 | 99,191,191 | 0 | 0 | null | 2020-10-21T04:46:02 | 2017-08-03T04:37:57 | C++ | UTF-8 | C++ | false | false | 898 | cpp | K-找规律.cpp | #include <bits/stdc++.h>
using namespace std;
int st[6500+5];
void shift(string &str,int n){
int len=str.length();
reverse(str.begin(),str.begin()+len-n);
reverse(str.begin(),str.end());
}
void solve(){
int cnt=0;
string str1,str2;
cin>>str1>>str2;
if(str1==str2){
cout<<0<<endl;
return;
}
stri... |
0698e8a4419db1165dbdd0f46caaf441bc204ebe | ab2177db3b2a793b1377d41729d9ef3d3b8685c5 | /ch6/wwwServer.cpp | 46b6328994d6ca7c641d418a8383dca7a45116ed | [] | no_license | mageru/parallelalgo | aa2b931d5e35d6c874e0278e67ab2ed72693c12b | dbd0c29daeb3e524afdd8e53524eb8ede98b0d18 | refs/heads/master | 2021-01-18T18:32:27.156858 | 2012-07-19T02:15:36 | 2012-07-19T02:15:36 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,199 | cpp | wwwServer.cpp | #include <stdio.h>
#include <string.h>
#include <netdb.h>
#include <sys/types.h>
#include <sys/socket.h>
/* Run the code until it stops at the accept. Then start a web browser and enter http://localhost/index.html The program should print the content of the HTTP (hypertext transfer protocol) GET packet. If port 80 is a... |
e512ff1d29be3ca222c9b37b052a52f5e0b1943b | f98fde7dafbb31e59b85791c071c0c87b22544a0 | /NueralNetworks/Test.cpp | da681c61187eacd6debba3614a515cd7c625ff7f | [] | no_license | stephenverderame/NNLib | 2fd7437fdae37cd7f0374aa3252cc4957c89c9b8 | 75df47e2093b3cb9884b61d2acadfed98e2f3046 | refs/heads/master | 2021-01-08T22:55:12.865815 | 2020-03-21T20:44:23 | 2020-03-21T20:44:23 | 242,166,993 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,096 | cpp | Test.cpp | #include "Matrix.h"
#include <iostream>
#include "FeedForward.h"
#include <time.h>
#include "MNIST.h"
#include "AdvancedFeedForward.h"
#include "Layer.h"
/*
#define relu(x) ((x) >= 0 ? (x) : ((x) / 20.0))
#define reluP(x) ((x) >= 0 ? 1 : (1.0 / 20.0))
#define sig(x) (1.0 / (1 + exp(-(x))))
#define sigP(x) (sig(x) * (1 ... |
07cd14ab420d137ca65c6781d95b794a93b9690a | ca0d65a2519697f1fab4d0467271e032f72feed5 | /darts-x86/omp2cd-examples/tests/reduce-omp-test/reduce-omp.output.darts.h | 106c6944448e3eb4a2eeb5114533b6299388e51e | [
"LicenseRef-scancode-unknown-license-reference",
"BSD-2-Clause"
] | permissive | jandres742/omp2cd | fca943f38e77ff9d32d066c6713e4556cf30fd54 | 15f64d65c41a1b9238af81fe2627c1b8e12ceca7 | refs/heads/master | 2020-12-24T11:09:41.811053 | 2017-06-28T19:23:40 | 2017-06-28T19:23:40 | 73,186,762 | 6 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,950 | h | reduce-omp.output.darts.h | #ifndef _reduce_omp_output_darts_h_
#define _reduce_omp_output_darts_h_
#ifndef __DARTS_
#define __DARTS_
#endif
#include "darts.h"
#include "ompTP.h"
#include "tbb/concurrent_vector.h"
#include "utils.h"
#include <limits.h>
#include <mutex>
#include <numa.h>
#include <stdio.h>
#include <stdlib.h>
#include <sys/time.h>... |
010e58f789c8bcd1e88d76302c0a5f0b2d11a16b | 4258060d4015b4f6fd17c238833b74dd4ecafa70 | /assignment4/main.cpp | 522458b0edb7db172e1e1242b36c757b5967a4d7 | [
"MIT"
] | permissive | MichaelReiter/CSC305 | f150a09c618950ab38eb251906902c3ad4ded00c | 37e52be3a82c990032d9113747d1cf1db5125b07 | refs/heads/master | 2021-03-27T10:03:30.594357 | 2018-04-07T21:33:35 | 2018-04-07T21:33:35 | 116,181,191 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 470 | cpp | main.cpp | #include "Rendering/renderer.h"
int main(int argc, char** argv)
{
constexpr unsigned int width = 1280;
constexpr unsigned int height = 720;
constexpr float field_of_view = 80.0f;
constexpr float movement_speed = 0.25f;
// Procedurally generate and render a 3D environment using OpenGL
Rendering... |
c3348bb45bede67130dad242746a96ec5c4172c5 | 5d8068348be2eb408758f9aa44b9c882f283b4ee | /Firebird 1.07 VS - eventColliders/Firebird/Timer.h | a42a25a6e2a87c2beca28528e37673beeb82d721 | [] | no_license | Losapioj/Firebird | 6dacd7689871b605c775a96f73719f6753627138 | a4ab06f3b4b7f765de3db1696ba1616370d8f40e | refs/heads/master | 2020-04-08T12:22:17.039002 | 2015-02-01T18:49:58 | 2015-02-01T18:49:58 | 30,155,385 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,409 | h | Timer.h | // Timer.h - class cTimer definition
#ifndef __TIMER_H__
#define __TIMER_H__
#include <windows.h>
class cTimer : public iListener
{
private:
__int64 cntsPerSec;
float secsPerCnt;
__int64 currTimeStamp,
prevTimeStamp;
float dt;
bool paused;
EventID TimeUpdate;
EventID TimePause;
public:
cTimer()
: cntsP... |
43f71ae64e93a8b6cbd208a957f36932565614ec | 5a980d185577ed17bea4bc4bb9b49b22a88a12ed | /include/Rtype/Game/Client/GameClientObject.hpp | cdd8fa340f0d5569ab6e4812e04f0d082df768ae | [] | no_license | LeonardoRicky/rtype | 90120c175212ddca76aef8e94fec5ad0a05194d3 | d721f26800cc09114a02138e5e8bbc82a10033b6 | refs/heads/master | 2022-05-05T05:11:24.696050 | 2017-01-02T19:25:56 | 2017-01-02T19:25:56 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,481 | hpp | GameClientObject.hpp | #pragma once
#include "SaltyEngine/SaltyBehaviour.hpp"
#include "SaltyEngine/GameObject.hpp"
#include "Rtype/Game/Client/RtypeClientGameClient.hpp"
#include "Network/Core/NativeSocketIOOperationDispatcher.hpp"
#include "Protocol/Game/GamePackageFactory.hpp"
namespace Rtype
{
namespace Game
{
namespace Client
{
... |
9ec4a8f931d5cc3518b4c2d5d555ca4d5cc9f033 | b61d2afb38cbe96851b32570ce1b55dfb3f9321b | /interface/vm/vmclone.h | 2e04f50066a3d835d7959fed42894d3b932c86ca | [] | no_license | hbiner/VMRR | c53c0dc2d42647d3fbe58bd193d78697909e99e8 | 40a1e11d49efff1aba45f0868f108086cc59ffbe | refs/heads/master | 2021-01-01T05:34:39.059852 | 2015-09-02T02:16:42 | 2015-09-02T02:16:42 | 41,773,904 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,157 | h | vmclone.h | #ifndef VMCLONE_H
#define VMCLONE_H
#include <QObject>
/*
* 功能:完成虚拟的克隆,从模板部署虚拟机
* 编写时间:2013-04-21
* 具体功能:
* |克隆
* |开机->|
* 虚拟机->| |克隆为模板
* | |克隆
* |关机->| 克隆为模板
* |转化为模板
* | 克隆
* 模板->| 转化为虚拟机
* |从该模板中部署虚拟机
*/
class VMClone : public Q... |
93ddd0479b8b674ecaa66ebb847474676b0b011c | 3f78a9da3eecc6d8e401f1cce37e054a252930bc | /[Client]MH/MunpaMarkManager.cpp | 3b13e271380459b4a8e8a62be78f3ad2f843314f | [] | no_license | apik1997/Mosiang-Online-Titan-DarkStroy-Azuga-Source-Code | 9055aa319c5371afd1ebd504044160234ddbb418 | 74d6441754efb6da87855ee4916994adb7f838d5 | refs/heads/master | 2020-06-14T07:46:03.383719 | 2019-04-09T00:07:28 | 2019-04-09T00:07:28 | 194,951,315 | 0 | 0 | null | 2019-07-03T00:14:59 | 2019-07-03T00:14:59 | null | UHC | C++ | false | false | 2,962 | cpp | MunpaMarkManager.cpp | // MunpaMarkManager.cpp: implementation of the CMunpaMarkManager class.
//
//////////////////////////////////////////////////////////////////////
#include "stdafx.h"
#include "MunpaMarkManager.h"
#include "MHFile.h"
//////////////////////////////////////////////////////////////////////
// Construction/Destruction
///... |
e30efdc1aefb11391ad82fe51a743cb34f3aaf77 | 671b33372cd8eaf6b63284b03b94fbaf5eb8134e | /protocols/zlight/zl_Request.h | 92ef2fc3dbb6389a26de7eaff540060312cb4da1 | [
"MIT"
] | permissive | LPD-EPFL/consensusinside | 41f0888dc7c0f9bd25f1ff75781e7141ffa21894 | 4ba9c5274a9ef5bd5f0406b70d3a321e7100c8ac | refs/heads/master | 2020-12-24T15:13:51.072881 | 2014-11-30T11:27:41 | 2014-11-30T11:27:41 | 23,539,134 | 5 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 3,495 | h | zl_Request.h | #ifndef _zl_Request_h
#define _zl_Request_h 1
#include "zl_Message.h"
#include "types.h"
#include "Digest.h"
#include "ARequest.h"
//class Digest;
class zl_Principal;
//
// Request messages have the following format.
//
struct zl_Request_rep : public zl_Message_rep
{
Digest od; // Digest of rid, cid, command.
s... |
9abca54c873e7a73579a681095c91305d5ce80e6 | 2ce8c4d9046ee4887127d87dc01ad97ebf1f3408 | /common-c-library/httpcontroller/item/HttpConfigItem.h | 92f39d7cc49932e5c3097ce55e234e8d330d78b6 | [] | no_license | ListFranz/LiveClient | 7be8ab96d420bd8a06ea415bdbb9484d06b8e63e | 0bc40e09c0edda782bbdc1ebf675236feac79e49 | refs/heads/master | 2019-07-02T04:24:39.474802 | 2017-09-08T02:53:19 | 2017-09-08T02:53:19 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,695 | h | HttpConfigItem.h | /*
* HttpConfigItem.h
*
* Created on: 2017-8-18
* Author: Alex
* Email: Kingsleyyau@gmail.com
*/
#ifndef HTTPCONFIGITEM_H_
#define HTTPCONFIGITEM_H_
#include <string>
using namespace std;
#include <json/json/json.h>
#include "../HttpLoginProtocol.h"
#include "../HttpRequestEnum.h"
... |
3e3a6c3d6ed6b57f6fb97bdf00e987b4195717fc | 878edb95b565c3200710a32ee155d9e6784f45dc | /Menu.h | 1fa8017fdeea511251707cb7ae0471d228ba3751 | [] | no_license | WuangMai/baza_studentow_edukacja | 1fe800cf53d82122fce56de191389a69f48ec312 | 4e17c70cb1013fd2a056626bf73eac63626bbe51 | refs/heads/master | 2023-06-20T02:52:01.686852 | 2021-06-25T05:01:34 | 2021-06-25T05:01:34 | 379,464,881 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 116 | h | Menu.h | #pragma once
#include <string>
#include <vector>
#include <iostream>
class Menu
{
public:
static void menu();
};
|
195a58255e2a9bf84351c8db85eb7aff7495e9cc | cbe59932b468f2ecf6e59e63bba98dd3410e2398 | /Pointers/Pointers giris2.cpp | fb544bf4a4ece6cab24dc2b577fc9bf47147bbeb | [] | no_license | healtherengineer/Algorithms | 95e245bc73cddeca1a65bb71b83b0d637fb53357 | 28340f895a869df6e4805321f18201c4ba747fda | refs/heads/master | 2023-08-14T12:58:35.282231 | 2021-09-22T19:03:49 | 2021-09-22T19:03:49 | 409,321,609 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 579 | cpp | Pointers giris2.cpp | #include<stdio.h>
int main()
{
//write code
int a = 12;
int *a_ptr = &a;
//printf("%p",a_ptr);
//printf("\n%d",*a_ptr);
float decimal =3.14;
char ch= 'E';
float *decimal_p = &decimal;
char *ch_p = &ch;
int arr[5]={1,2,3,4,5},*arr_ptr;
for(int i=0;i<5;i++)
{
arr_ptr=&arr[i];
printf("%d array ... |
de1c705044ebe721cd59a9dccd90dcd6c3c1ca5c | 1583065211b61f0076fb673e1533091548633e1b | /esp32-nofrendo/display.cpp | f8ce73aa837827156923028d4c504d527a3a1150 | [
"MIT"
] | permissive | daomao201/TTGO_FC | 121d73c55c54b7143a4beaf47f1732239656f1d8 | 330d0d7c81477b3e29144542fe1976cbfe2c1204 | refs/heads/main | 2023-08-19T13:06:36.422521 | 2021-10-16T10:57:07 | 2021-10-16T10:57:07 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,167 | cpp | display.cpp | extern "C"
{
#include <nes/nes.h>
}
#include "hw_config.h"
#include <Arduino_GFX_Library.h>
/* M5Stack */
#if defined(ARDUINO_M5Stack_Core_ESP32) || defined(ARDUINO_M5STACK_FIRE)
#define TFT_BRIGHTNESS 255 /* 0 - 255 */
#define TFT_BL 32
Arduino_DataBus *bus = new Arduino_ESP32SPI(27 /* DC */, 14 /* C... |
5d053fe7ac899dde3ee3d5f2a1ccbab3cb396cc6 | 4536c89828880388a65f811a9e871a6ca26ad58b | /game/entity/Entities.hpp | efd13dfd5094578d0e7e544e0bbf36d312b78e38 | [] | no_license | CyberFlameGO/AwdClient | 2dbf24f17034abe166b5cc2403c700135e9cd6f4 | 2cc76980d0dbbbe80dff3deb539e3ba8c053d93c | refs/heads/main | 2023-05-31T07:41:56.228127 | 2021-06-20T22:03:09 | 2021-06-20T22:03:09 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 729 | hpp | Entities.hpp | #pragma once
#include <cstdint>
namespace awd::game {
class Entities {
public:
class EntityPlayer {
public:
static constexpr uint32_t TYPE = 1;
static constexpr uint32_t ANIM_BASE_STILL_FRONT = 0; // Стоит на месте. Лицом к пользователю.
s... |
0c11f228fb3837054765d7bdf30fd78c3f589418 | fe2ea8a5ef9b585b7eadf5123ae87cb0a965dfe1 | /cookingprocess.h | 7f7770129ed26cf60dc1c0e457abf9b541c3d943 | [] | no_license | SammyVimes/IDP-Strikes-back | 97f9a9fae454e5c07a79e9b7c486cbdd2384a6d4 | 27781fafc9ec8628439a9dbdfc9279d7b3d48c95 | refs/heads/master | 2021-01-22T20:45:18.074338 | 2017-06-15T10:05:55 | 2017-06-15T10:05:55 | 85,358,239 | 2 | 1 | null | 2017-05-11T11:31:40 | 2017-03-17T22:01:57 | C++ | UTF-8 | C++ | false | false | 597 | h | cookingprocess.h | #ifndef COOKINGPROCESS_H
#define COOKINGPROCESS_H
#include "dfdelement.h"
#include "food.h"
#include "pill.h"
#include "vector"
using namespace std;
class CookingProcess : public DFDElement
{
public:
CookingProcess(int type):DFDElement(0) {
}
CookingProcess():DFDElement(0) {
}
vector<Food> g... |
05038141d30b2c4b06c1d02c939981b48ecaa78b | 98acd351cde85dccefbae219c2ebbf7e097c2762 | /Kosmo/KosmoCore/Sources/Components/KmComponent.cpp | 1a2111c6bf67196a5d6b0329e4601ad1aef5b309 | [] | no_license | korben4leeloo/korben-dev | d75f48a79592ae951fd40b6a97679db82ab12591 | 846f00d731d28842459903d73743ec96a7467e54 | refs/heads/master | 2020-04-05T14:39:37.626857 | 2018-08-22T16:45:58 | 2018-08-22T16:45:58 | 32,147,112 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 814 | cpp | KmComponent.cpp | //*****************************************************************************
//
// File: KmComponent.cpp
// Created: 2013-08-26
//
//*****************************************************************************
#include "KmComponent.h"
//----------------------------------------------------------------------------... |
a0e769e9f489ab0847675f6c99d6d55e78672865 | af4961412f288f01624e0d088f0fafbe15f2ba65 | /Guias/Cristian/p3_track.cpp | c81562728381da3bb4ae4a147e30e51fa7fbf4c5 | [] | no_license | escudero89/pdifich | 7ec345d58a8c8a5460b17de5e464e7f69b9734d1 | a77ecb63832075f98330740d93975860f4e61cc3 | refs/heads/master | 2016-09-11T07:13:20.494936 | 2013-08-26T15:19:21 | 2013-08-26T15:19:21 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,365 | cpp | p3_track.cpp | #include <cassert>
#include <cmath>
#include <complex>
#include <ctime>
#include <iostream>
#include <cstring>
#include "../../CImg-1.5.4/CImg.h"
#include "PDI_functions.h"
#include "funciones.h"
#define EPSILON 0.00001
#define PI 3.14159265359
using namespace cimg_library;
void track_coloring(
const char * filenam... |
b73a34dfecbca23db313c905422760dc7813dec8 | d15f656f56daa0d1cf9d6bdcac9fab7ddbde393b | /GeometryLib/MinOBB.cpp | 8e41f5380ed157e061f842dcd975d7979a7a4d7f | [] | no_license | ljwdust/fold-hcc | 814d02a70bdb4fff90385028a2f76aa2a4ae2bb3 | fe371809065c292d6f36a1d70f8c6a415dd2bb6e | refs/heads/master | 2020-05-18T13:25:47.359249 | 2014-11-15T02:34:39 | 2014-11-15T02:34:39 | 35,209,422 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,133 | cpp | MinOBB.cpp | // Geometric Tools, LLC
#include "MinOBB.h"
#include "Numeric.h"
#include "AABB.h"
#include "ProbabilityDistributions.h"
Geom::MinOBB::MinOBB( QVector<Vector3> &points, bool addNoise)
{
if (addNoise) computeWithNoise(points);
else compute(points);
}
void Geom::MinOBB::computeWithNoise( QVector<Vector3... |
ce984bbbbcff2be4b004658ea1e0bf5c74613b03 | 89ebb834fb4c3f9d9a3ec250efa18eaea5d3879d | /designPatterns/Builder2nd/src/Builder2nd.cpp | 5dddc0e134d1515aea4db092b5679df44c240009 | [] | no_license | ManteshE/cpp | 0656107ec7464d0461bf822824f029797e0a812d | b8d3a965d2455d027591fcb30bf8207932026a38 | refs/heads/master | 2020-03-28T00:08:52.220164 | 2018-09-08T17:47:31 | 2018-09-08T17:47:31 | 147,379,249 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,171 | cpp | Builder2nd.cpp | //============================================================================
// Name : Builder2nd.cpp
// Author : Mantesh
// Version :
// Copyright : Your copyright notice
// Description :
//============================================================================
#include <iostream>
#include <s... |
d9378dd7960ac22dd93a061fa17b180b38da8ea9 | aa9c1220a0b2b0fa6ba89acd03148cc71bfd749b | /c2/frameworks/runtime-src/Classes/auto/lua_YVChatNode_auto.cpp | be57ac3788495b8fd695de29e43a00722147e520 | [] | no_license | JackXuXin/nn | 2d291371a5ae97eb75057fb9545347e1ba49c6f1 | 7918bc403a400732071acff1b3fbbb42d6b8d7b9 | refs/heads/master | 2021-08-29T01:38:11.518210 | 2017-12-13T09:35:23 | 2017-12-13T09:35:23 | 112,933,598 | 3 | 5 | null | null | null | null | UTF-8 | C++ | false | false | 19,371 | cpp | lua_YVChatNode_auto.cpp | #include "lua_YVChatNode_auto.hpp"
#include "YVChatNode.h"
#include "tolua_fix.h"
#include "LuaBasicConversions.h"
int lua_YVChatNode_YVChatNode_setisvoiceAutoplay(lua_State* tolua_S)
{
int argc = 0;
YVChatNode* cobj = nullptr;
bool ok = true;
#if COCOS2D_DEBUG >= 1
tolua_Error tolua_err;
#endif
... |
7f4a132669cb9bccb0d94f95c2744286a3c69e88 | d0a2a6a83168b5a1fa8d6202e450f808bdd27722 | /plugin/libdbusmenuqt/dbusmenuimporter.h | d041782652580e03721a89710b4fd3aa8e2c52a7 | [] | no_license | KDE/plasma-active-window-control | 4d321d3d9a23079157c65de6afd52a54a2c8729b | 6ec2af55ed474479f568c44ba0d5ee0c5c822464 | refs/heads/master | 2023-03-16T14:36:41.763875 | 2023-03-12T03:35:56 | 2023-03-12T03:35:56 | 106,180,033 | 23 | 6 | null | null | null | null | UTF-8 | C++ | false | false | 2,549 | h | dbusmenuimporter.h | /* This file is part of the dbusmenu-qt library
SPDX-FileCopyrightText: 2009 Canonical
SPDX-FileCopyrightText: Aurelien Gateau <aurelien.gateau@canonical.com>
SPDX-License-Identifier: LGPL-2.0-or-later
*/
#ifndef DBUSMENUIMPORTER_H
#define DBUSMENUIMPORTER_H
// Qt
#include <QObject>
class QAction;
class ... |
4b5c1ee65d9c7ba1794b0cb6c6324353c6a5f81f | d6dcf7cea843560c76abce63688cd6b915afeab8 | /DualTetrahedron/DualTetrahedron.cpp | ddcd9990e85293b9fdd38469fbe13e2edf5221fc | [] | no_license | reecec/CI312-Graphic-Algorithms | 37b7743b9958559542814deb36cb0e5398e3d58e | d7b15711a35a84ed8fab5a377a72454db4f97064 | refs/heads/master | 2022-11-10T06:50:52.872889 | 2020-06-30T13:15:20 | 2020-06-30T13:15:20 | 115,644,255 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 20,922 | cpp | DualTetrahedron.cpp | // Geometry
//
// This tutorial supports learning
// about assembling a scene in a scene graph
// using transformation cores
// headers for OpenSG configuration and GLUT
#include <OpenSG/OSGGLUT.h>
#include <OpenSG/OSGConfig.h>
#include <OpenSG/OSGSimpleGeometry.h>
#include <OpenSG/OSGGLUTWindow.h>
#include <OpenSG/OS... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.