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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
b32aa846c0281581dfd5683d0e1453a2f874c010 | 55ba956a151844d92f784627543b46592c9c4313 | /BCAL.cpp | 1dbaac5e038663defc5deec60acaad414cbfbca7 | [] | no_license | sheenxavi004/Coding-Ninjas | 9303574b4ee025ee05bb996783c0dc7ed3062eb6 | 6a38663bb5f179ea884e6369c75746e2004c3a89 | refs/heads/master | 2022-11-08T22:35:34.181417 | 2020-06-26T07:50:39 | 2020-06-26T07:50:39 | 275,101,177 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 746 | cpp | BCAL.cpp | #include<bits/stdc++.h>
using namespace std;
int main()
{
int m;
cin >> m;
vector<int> ans;
int n;
cin >> n;
while(n--)
{
string a;
cin >> a;
int carry = 0;
if(ans.empty())
{
for(int i = m - 1 ; i >= 0 ; i--)
{
int a_bit = a[i] - 48;
ans.push_back(a_bit);
}
}
else
{
int size ... |
09385c0f743f570e9b0798f31276b296bccbd087 | 6517df3e19322929cb7d6de28d75b6a58fb129f8 | /classes/implementation/userCode_test_soilwat_simulate.cpp | b02bfaea41c2efaca81a576b1a604b4be4000ca1 | [
"MIT"
] | permissive | tpilz/echse_engines | 81ebd77cc0480ad49d96e8291f00b11ed5fa187b | 96de4b8af730f439d759aaaeb8958dfeebf884e5 | refs/heads/master | 2023-02-08T10:21:06.155226 | 2023-02-02T17:32:28 | 2023-02-02T17:32:28 | 39,507,604 | 1 | 1 | null | 2015-07-22T13:29:13 | 2015-07-22T13:29:12 | null | UTF-8 | C++ | false | false | 4,694 | cpp | userCode_test_soilwat_simulate.cpp |
// save initial values of runoff components
double surf_sat_init = stateScal(runst_surf_sat);
double surf_inf_init = stateScal(runst_surf_inf);
double sub_init = stateScal(runst_sub);
double gw_init = stateScal(runst_gw);
// scaling of ksat
vector<double> ksat_scale(stateVect(wc).size());
for (unsigned int i=0; i<sta... |
76db75daa3296ddc5396dfabcb9018451f7499f5 | 511e5a4dca0455a7309f05e514eda244170d5eaa | /src/utilities/wrappers/mpi_wrapper.hpp | 99f31da2703e6d68eac64d4860c238c55e26f57f | [] | no_license | SimonDavenport/quantum_state_neural_network | 278ac2a95c647aad03108b979d641ba39d278a11 | 9935d42b3f5350414ce6ab82b438507187b1ea4b | refs/heads/master | 2021-01-17T10:12:47.868856 | 2017-06-05T12:19:44 | 2017-06-05T12:19:44 | 84,007,660 | 4 | 1 | null | 2017-06-05T12:14:24 | 2017-03-05T22:40:09 | Roff | UTF-8 | C++ | false | false | 17,878 | hpp | mpi_wrapper.hpp | ////////////////////////////////////////////////////////////////////////////////
//!
//! \author Simon C. Davenport
//!
//! \file
//! This file contains a bunch of functions used for MPI programming
//! Examples at https://computing.llnl.gov/tutorials/mpi/
//!
//! Copy... |
9e523406d302bdb1d56987e8ea71f8d5c1eb5b2a | fbe68d84e97262d6d26dd65c704a7b50af2b3943 | /third_party/virtualbox/src/VBox/Runtime/r3/linux/mp-linux.cpp | 7ba407875c43ff4ab944671c484e5149f89b3a8f | [
"GPL-2.0-only",
"LicenseRef-scancode-unknown-license-reference",
"CDDL-1.0",
"LicenseRef-scancode-warranty-disclaimer",
"GPL-1.0-or-later",
"LGPL-2.1-or-later",
"GPL-2.0-or-later",
"MPL-1.0",
"LicenseRef-scancode-generic-exception",
"Apache-2.0",
"OpenSSL",
"MIT"
] | permissive | thalium/icebox | c4e6573f2b4f0973b6c7bb0bf068fe9e795fdcfb | 6f78952d58da52ea4f0e55b2ab297f28e80c1160 | refs/heads/master | 2022-08-14T00:19:36.984579 | 2022-02-22T13:10:31 | 2022-02-22T13:10:31 | 190,019,914 | 585 | 109 | MIT | 2022-01-13T20:58:15 | 2019-06-03T14:18:12 | C++ | UTF-8 | C++ | false | false | 9,424 | cpp | mp-linux.cpp | /* $Id: mp-linux.cpp $ */
/** @file
* IPRT - Multiprocessor, Linux.
*/
/*
* Copyright (C) 2006-2017 Oracle Corporation
*
* This file is part of VirtualBox Open Source Edition (OSE), as
* available from http://www.virtualbox.org. This file is free software;
* you can redistribute it and/or modify it under the te... |
147a4e89076ecf6efcb5910f45949005bea421f1 | 89f30a997d0ae6d634e0f8c861b7a101f8a7b57e | /10square/Source.cpp | 076c28c14d6b56d2c4070e4894818bc4da695fd5 | [] | no_license | Napassawan/10square | 178be62d8da0614d22d8c07bf73fab72e69e220c | 78ae3a00c1e3f4166ad2580f095e02a0df8845d4 | refs/heads/master | 2022-12-28T02:49:25.546993 | 2020-10-14T17:06:49 | 2020-10-14T17:06:49 | 304,080,558 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 334 | cpp | Source.cpp | #include <stdio.h>
int a, r, star;
void square(int);
int main()
{
printf("Enter number of rows : ");
scanf_s("%d", &a);
square(a);
}
void square(int a)
{
for (r = 1; r <= a; r++)
{
for (star = 1; star <= a; star++)
{
if (r % 2 == 0)
{
printf("1");
}
else
{
printf("0");
}
}
print... |
2a9726dac441421f049974ac8e727bdee4704590 | c66541f5cf90e75933a85851c38ea1a03e8dc233 | /Chapter9/Inserting a Range of Elements.cpp | fe9a552ab8b2cd52f0f3cb8190148801e93fb296 | [] | no_license | Chase07/Cpp-Primer-Exercise | ce89266d54f41ace27ce8fbb54281757b291fb34 | bd33cba4b7213ecaa23c8437080dbc6289cd9d80 | refs/heads/master | 2021-08-22T06:21:21.902266 | 2017-11-29T13:51:53 | 2017-11-29T13:51:53 | 112,478,205 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 428 | cpp | Inserting a Range of Elements.cpp | #include<iostream>
#include<vector>
#include<list>
#include<string>
using namespace::std;
int main()
{
vector<string> svec{"Hello!"};
list<string> slist;
slist.insert(slist.begin(), "over!");
svec.insert(svec.begin(), 9, "Hi!");
slist.insert(slist.begin(), svec.end() - 1, svec.end());
slist.insert(slist.end(),... |
9bf7416e5009517d98429acb9ba3a6d3d57d81bc | 314ddc4c5d39c5670ce31f094e9983ff838f95a5 | /HugCoffe/HugCoffe/MenuModifyDlg.cpp | dd07de400849be053a208b74270464d10e91b837 | [] | no_license | sc545/DB-Project | 24d2534e2d8598bb915e5157bc8adbfac5380472 | 38681815e372f0306a0d95707e82ba3e109d3670 | refs/heads/master | 2021-01-18T23:55:21.701797 | 2015-12-16T20:52:27 | 2015-12-16T20:52:27 | 47,829,197 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 3,564 | cpp | MenuModifyDlg.cpp | // MenuModifyDlg.cpp : 구현 파일입니다.
//
#include "stdafx.h"
#include "HugCoffe.h"
#include "MenuModifyDlg.h"
#include "afxdialogex.h"
#include "tblBeverage.h"
#include "tblSide.h"
// CMenuModifyDlg 대화 상자입니다.
IMPLEMENT_DYNAMIC(CMenuModifyDlg, CDialogEx)
CMenuModifyDlg::CMenuModifyDlg(CWnd* pParent /*=NULL*/, CString na... |
6238b9b987a3ac87344fb1a65e9070c362f3212c | 7fd64b86c7e8f63d6238fe93ccf6e62a4b8ebc66 | /codeforces/1349/B.cpp | d58d4fe67c7c3626fef35eec30917e4a38aa3c01 | [] | no_license | Mohammad-Yasser/harwest | 775ba71303cc2849f71e82652263f31e79bd8e04 | d01834a9a41c828c8c548a115ecefd77ff2d6adc | refs/heads/master | 2023-02-02T23:37:54.186079 | 2013-09-19T19:28:00 | 2020-12-21T14:30:32 | 323,233,072 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,606 | cpp | B.cpp | #ifndef Local
#pragma GCC optimize("Ofast,no-stack-protector,unroll-loops,fast-math,O3")
#pragma GCC target("sse,sse2,sse3,ssse3,sse4,sse4.2,popcnt,abm,mmx,avx")
#endif
#include <bits/stdc++.h>
#include <ext/numeric>
#include <ext/pb_ds/assoc_container.hpp>
using namespace __gnu_pbds;
using namespace __gnu_... |
2bb70ea45d19e07931e55f6e359cb7d56cba2838 | 1958153475715dfc266cbc469a8d5ccaa6241c8b | /mc/semantics.hpp | 4a8bf84b8509c9cc45e016690a718aba99ae0709 | [] | no_license | tdotdev/mcc | 6b64416ece570af8c5f2cbe0fc1b70ad04172174 | 1594efdd040ac9b4ae6b2748bb4a438ab17d9179 | refs/heads/master | 2021-09-14T07:43:09.956575 | 2018-05-10T03:25:19 | 2018-05-10T03:25:19 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,259 | hpp | semantics.hpp | #pragma once
#include <vector>
#include <unordered_map>
#include "expression.hpp"
#include "statement.hpp"
#include "declaration.hpp"
#include "type.hpp"
#include "token.hpp"
#include "scope.hpp"
struct Semantics {
Semantics()
{
sem_scope = new scope(global);
}
scope* sem_scope;
decl* new_program(std::vect... |
222a9e96603d4689766859a41c1c6a4961a460d3 | c3de57676ebc2c4f6d0849347798534f85ab9a72 | /GUILib/include/GUILib/Plot.h | a21432341dbc6fe0ed4e14b2137c992b190e6fb8 | [] | no_license | plusminus34/Interactive_thin_shells_Bachelor_thesis | 0662f6d88d76d8d49b2b6066bf1d2b0fc258f01e | 85f034a476eeab8d485f19a6ea3208498061a4da | refs/heads/main | 2023-03-10T15:15:53.666726 | 2021-02-24T08:01:25 | 2021-02-24T08:01:25 | 341,820,202 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,867 | h | Plot.h | /*
Plot.h -- Plot widget, based off nanogui/graph.h
*/
#pragma once
#include <nanogui/widget.h>
#include <Eigen/Eigen>
struct PlotData
{
public:
PlotData() {}
PlotData(const Eigen::VectorXf &xValues, const Eigen::VectorXf &yValues)
: mXValues(xValues), mYValues(yValues){
updateMinMax();
}
PlotData(const E... |
dac5511481d27aecc350492c230a734e28e20ffe | 3f277f9f4e034d6d47984bdc70a24ba8952e5a1d | /src/RcppExports.cpp | 79ffa89401c9ee0a800001bcf694472faa8af9e0 | [] | no_license | kkholst/mets | 42c1827c8ab939b38e68d965c27ffe849bcd6350 | c1b37b8885d5a9b34688cb4019170a424b7bec70 | refs/heads/master | 2023-08-11T17:09:18.762625 | 2023-06-16T07:54:16 | 2023-06-16T07:54:16 | 28,029,335 | 16 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 22,584 | cpp | RcppExports.cpp | // Generated by using Rcpp::compileAttributes() -> do not edit by hand
// Generator token: 10BE3573-1514-4C36-9D1C-5A225CD40393
#include "../inst/include/mets.h"
#include <RcppArmadillo.h>
#include <Rcpp.h>
#include <string>
#include <set>
using namespace Rcpp;
#ifdef RCPP_USE_GLOBAL_ROSTREAM
Rcpp::Rostream<true>& ... |
7f136a78480672511ee0a7bbed785d36bc462b57 | f681c4cd4bec5ec0a724960b89b5ea38318c6168 | /open.gl/textures/units.cpp | a8cdaeb5c9a3d34fdfdfcd89507077ebd214ee4d | [] | no_license | bbguimaraes/books | 3da5948a7c075de2e6b52802266fa358abf80049 | 379107bdc4a89065e07113d581ebc26a50bb603a | refs/heads/master | 2022-06-26T10:59:48.539652 | 2022-06-19T08:39:51 | 2022-06-21T17:06:47 | 182,409,569 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,576 | cpp | units.cpp | #include "common.h"
#include <SOIL/SOIL.h>
float vertices[] = {
// pos texcoords
-0.5f, 0.5f, 0.0f, 0.0f,
0.5f, 0.5f, 1.0f, 0.0f,
0.5f, -0.5f, 1.0f, 1.0f,
-0.5f, -0.5f, 0.0f, 1.0f,
};
GLuint elements[] = {
0, 1, 2,
2, 3, 0,
};
const GLchar * vertex_shader_src =
"#version 1... |
30853a140c724fd5f7f897e43fb4412ecf8fc59a | b50bc7c8a3ee966b05de80a318c94a8c2f616399 | /old/MPBStreamingSoundWhiteNoise.cpp | 806de115c88721c6cc09503bf15938ccb039280e | [] | no_license | mpb-cal/MPB-Game-Library | 8420e4c5613f985b9a6d4851ecb0ab0f84b9e69a | 8d1ead5288f84eb139139b8eb5ffaf52ab4442c8 | refs/heads/master | 2020-12-04T10:05:13.961280 | 2020-01-04T06:48:58 | 2020-01-04T06:48:58 | 231,721,364 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 192 | cpp | MPBStreamingSoundWhiteNoise.cpp |
#include "MPBStreamingSoundWhiteNoise.h"
GGSynthFloat* MPBStreamingSoundWhiteNoise::process()
{
m_umb.clear();
m_uwn.gen( .1f );
m_umb.gen( m_uwn.outputs );
return m_umb.outputs;
}
|
02076a9c1bab7b6ff210de4ed08d1dc78d52633a | 56c558f4bbcd79447cf072cce75b01f4dc76eb43 | /Lab 2/StateMachine/StateMachine.ino | 2d62ca5fa72cada94b7ee4713f759009cb1a7bfb | [] | no_license | parzival111/Mobile-Robotics | c4f7846ea96618aa9aed1fc84f45e10f41e44d2f | bb6a0760126f344b488bc0445d423c3730de37c2 | refs/heads/master | 2020-09-26T07:55:45.993869 | 2020-02-19T16:07:15 | 2020-02-19T16:07:15 | 226,208,558 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,296 | ino | StateMachine.ino | /*&StateMachine.ino
Author: Carlotta. A. Berry
Date: December 3, 2016
This program will provide a template for an example of implementing a behavior-based control architecture
for a mobile robot to implement obstacle avoidance and random wander. There are many ways to create a state machine
and this is just o... |
6b0fccec183dde2c8bb7be96e02091e5df552d87 | e2da41aefbd0d5b82a4471830b0e03b173229c95 | /final_v2.ino | f8bc0cc3952efee04a2b16639d8d9eddc0ff5340 | [] | no_license | ocneves/Glute-O-Licious | f3fd80454b92d7778358f8a23274dd67f1036924 | e050dafe12343a69d84d50dfae2362ffa0c98cf5 | refs/heads/master | 2021-01-24T04:29:51.428439 | 2012-04-06T15:48:58 | 2012-04-06T15:48:58 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,699 | ino | final_v2.ino | /*------------------------------------------------------------------------------------------
FINAL PROJECT - VIRTUAL BIKE RIDE
------------------------------------------------------------------------------------------*/
const int sensor1... |
5bdc104e3ed501a4cbae8416b6b983dbbc6bb54c | 007837c3ecfdea6af17368dc0bb705cf9db54b40 | /hackathon_final.ino | cbc645847f1c2c377cfd324b828069aa725734a1 | [] | no_license | Rudra-banerjee/Drip-irrigation | 9ae5163b90e12f6886cd061cb654569825470a49 | 04cb689d243c52c2ed81cc8bffc816f4c62330b7 | refs/heads/master | 2021-09-06T06:24:48.119120 | 2018-02-03T05:22:09 | 2018-02-03T05:22:09 | 113,135,826 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 11,216 | ino | hackathon_final.ino | //GSM communication sms
#include <SoftwareSerial.h>
SoftwareSerial GPRS(8,9); //Pins 8 and 9 to Rx Tx
int c;
#include <dht.h> //DHT11 library
dht DHT; //DHT object
#include<LiquidCrystal.h>
const int rs = 12, en = 11, d4 = 5, d5 = 4, d6 = 3, d7 = 2;
LiquidCrystal lcd(rs, en, d4, d5, d6, d7);
#define ... |
f4c41866ae1c42eb052343fa493e6e1d7ee33089 | c8b39acfd4a857dc15ed3375e0d93e75fa3f1f64 | /Engine/Source/Runtime/AnimGraphRuntime/Private/AnimNotify_PlayMontageNotify.cpp | bfb46a8c8e66e610509c1cea8ec72346611a4f88 | [
"MIT",
"LicenseRef-scancode-proprietary-license"
] | permissive | windystrife/UnrealEngine_NVIDIAGameWorks | c3c7863083653caf1bc67d3ef104fb4b9f302e2a | b50e6338a7c5b26374d66306ebc7807541ff815e | refs/heads/4.18-GameWorks | 2023-03-11T02:50:08.471040 | 2022-01-13T20:50:29 | 2022-01-13T20:50:29 | 124,100,479 | 262 | 179 | MIT | 2022-12-16T05:36:38 | 2018-03-06T15:44:09 | C++ | UTF-8 | C++ | false | false | 2,546 | cpp | AnimNotify_PlayMontageNotify.cpp | // Copyright 1998-2016 Epic Games, Inc. All Rights Reserved.
#include "AnimNotify_PlayMontageNotify.h"
#include "Animation/AnimInstance.h"
//////////////////////////////////////////////////////////////////////////
// UAnimNotify_PlayMontageNotify
///////////////////////////////////////////////////////////////////////... |
829820d20a0b3af845b26c8a3758d4d23ce8ca0b | 7766b4e12fbd6b6e8b9dab3e631aa745af0b3d1c | /FreeCompose/branches/devel/SharedInclude/KeyIsXAlnum.h | 0e3364b8eeb11a541736db417c582905eb67f20f | [] | no_license | TReKiE/freecompose | 8634ee9bb3c44856be373700e887500a1216adba | a03775c2f1a6ff8bac272b74038fde1782d6c995 | refs/heads/master | 2020-04-08T07:32:44.006087 | 2015-04-15T15:57:47 | 2015-04-15T15:57:47 | 33,805,024 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 230 | h | KeyIsXAlnum.h | #pragma once
#include "FCShared.h"
class FCSHARED_API KeyIsXAlnum {
public:
static bool Test( const DWORD dwVK );
private:
static void _Initialize( void );
static bool _map[256];
static bool _initialized;
};
|
7ee62398f416be5fa78e505fe7c8baeaa5cd806a | 311da5b17c18be34422ae55a12c4d6e8ec3a0767 | /src/grid/grid_general.h | 4a8a25e0c66d936b467528eb6b7ce48c08aee3de | [] | no_license | Knights-Templars/pubsed | f3d17df709f5e0d4c556a59fd80d38c4370b0979 | f124d000b0d8eedae86a6cee4253a1eb4c202665 | refs/heads/main | 2023-05-09T19:26:17.747010 | 2020-07-20T22:29:53 | 2020-07-20T22:29:53 | 445,101,129 | 1 | 0 | null | 2022-01-06T08:47:19 | 2022-01-06T08:47:19 | null | UTF-8 | C++ | false | false | 4,339 | h | grid_general.h | //------------------------------------------------------------------
//*****************************************************************
//************************* GRID ********************************
//*****************************************************************
// The grid class is a construct whose main purp... |
6537433d870d6cef4d6ed2c2e442d9cf47c097ab | d6ac474dd403e7c0302dfa0f94a7efbb98e89a13 | /Intro3D/Polygon3D.cpp | b03865057dbfae5a1ddff459fa196b6d2cb82c01 | [] | no_license | HampsterEater/DirectXFramework | 25a52b2cecb6880f5085dfd9f7afd038f49114fb | f99f350ec7b28e20b9d7882432e0e02dc07a3c9a | refs/heads/master | 2021-01-01T15:55:18.902444 | 2013-03-16T03:41:44 | 2013-03-16T03:41:44 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,224 | cpp | Polygon3D.cpp | // =========================================================================================
// Polygon3D.cpp
// =========================================================================================
// Written by Timothy Leonard
// For Introduction to 3D Graphics Programming (5CC068)
// ============================... |
d6a7213b55ea721a46d6d414180f7d9e15aa2ffd | 98e657765290c2bbbd12f51788e2880a0b0d16d8 | /bobcat/datetime/setyear.cc | 408c7f7ab84340502bfe1935a0bff20172029eee | [] | no_license | RoseySoft/bobcat | 70f7394ebfa752a04aeaafa043c2a26f2ab09bd7 | ec358733b07fb1a8018602a46e92e7511ba5a97f | refs/heads/master | 2018-02-24T06:07:50.699146 | 2016-08-17T08:32:41 | 2016-08-17T08:32:41 | 67,193,814 | 1 | 0 | null | 2016-09-02T05:46:56 | 2016-09-02T05:46:55 | null | UTF-8 | C++ | false | false | 148 | cc | setyear.cc | #include "datetime.ih"
bool DateTime::setYear(size_t year)
{
TimeStruct ts = d_tm;
ts.tm_year = year - 1900;
return updateTime(ts);
}
|
08ad9d261b0a3b1c7823eaa4cfab73f1f7718ba4 | 17da3571af4a82f8a7b70c5701987cdc455f055a | /src/VMFoundation/mappingfile.h | 403aaf3e7f6f5c125e788ea4ffbe9023453c61b1 | [] | no_license | cad420/VMCore | 32566c245cc6ac34ddad4075f1f974309f14da74 | ef97966c03320663f342673ded49d8ab6b5a6e62 | refs/heads/master | 2023-06-22T13:13:03.533705 | 2023-06-19T13:04:03 | 2023-06-19T13:04:03 | 210,555,836 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,155 | h | mappingfile.h | #pragma once
/*
* Only for internal use
*/
#include <VMCoreExtension/ifilemappingplugininterface.h>
#include <VMCoreExtension/plugin.h>
#include <VMUtils/common.h>
#ifdef _WIN32
namespace vm
{
class WindowsFileMapping__pImpl;
class WindowsFileMapping : public EverythingBase<IMappingFile>
{
VM_DECL_IMPL( WindowsFi... |
0c2ecad22305ff62c13d12a3323eae289430eb79 | 8c0aa69b4a148f96bcdf4637329262d5227ddf08 | /include/goetia/sketches/sketch/vec/blaze/blaze/math/views/column/Column.h | 0b2901f9a30b8f1ebf02296ae9c578d5980792b3 | [
"MIT",
"BSD-3-Clause"
] | permissive | camillescott/goetia | edd42c80451a13d4d0ced2f6ddb4ed9cb9ac7c80 | db75dc0d87126c5ad20c35405699d89153f109a8 | refs/heads/main | 2023-04-12T15:30:48.253961 | 2022-03-25T00:23:39 | 2022-03-25T00:23:39 | 81,270,193 | 6 | 0 | MIT | 2022-04-01T21:40:58 | 2017-02-08T00:40:08 | C++ | UTF-8 | C++ | false | false | 15,387 | h | Column.h | //=================================================================================================
/*!
// \file blaze/math/views/column/Column.h
// \brief Column documentation
//
// Copyright (C) 2012-2020 Klaus Iglberger - All Rights Reserved
//
// This file is part of the Blaze library. You can redistribute it a... |
b953b0f815638b04d9a8d00646d6b8db6e9a0601 | fcdddf0f27e52ece3f594c14fd47d1123f4ac863 | /TeCom/src/TdkLayout/Source Files/TdkViewUserProperty.cpp | e9dab57c3bfe5963ce2174226a2f4a40daa6d0db | [] | no_license | radtek/terra-printer | 32a2568b1e92cb5a0495c651d7048db6b2bbc8e5 | 959241e52562128d196ccb806b51fda17d7342ae | refs/heads/master | 2020-06-11T01:49:15.043478 | 2011-12-12T13:31:19 | 2011-12-12T13:31:19 | null | 0 | 0 | null | null | null | null | ISO-8859-2 | C++ | false | false | 2,462 | cpp | TdkViewUserProperty.cpp | #include<TdkLayoutTypes.h>
#include <TdkViewUserProperty.h>
///////////////////////////////////////////////////////////////////////////////
// Constructor
//Author : Rui Mauricio Gregório
//Date : 08/2009
///////////////////////////////////////////////////////////////////////////////
TdkViewUserProperty::Td... |
6b212e4675ed54a659ec47267c08bf12d7fa4595 | 30bdd8ab897e056f0fb2f9937dcf2f608c1fd06a | /CodesNew/4666.cpp | 83389e57efea1ed5d0b44006bd336b1598f34802 | [] | no_license | thegamer1907/Code_Analysis | 0a2bb97a9fb5faf01d983c223d9715eb419b7519 | 48079e399321b585efc8a2c6a84c25e2e7a22a61 | refs/heads/master | 2020-05-27T01:20:55.921937 | 2019-11-20T11:15:11 | 2019-11-20T11:15:11 | 188,403,594 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 321 | cpp | 4666.cpp | #include<bits/stdc++.h>
using namespace std;
int n,m[500001],j,k,i,a;
main()
{
cin>>n;
for(i=0; i<n; i++)
cin>>m[i];
sort(m,m+n);
for(j=0; j<n; j++)
{
if(m[j]>=2*m[k])
k++;
}
a = n/2;
a = min(a,k);
n = n-a;
cout<<n;
... |
e60486a9b85119e5d3af185c59ac0f2152f88426 | d14b5d78b72711e4614808051c0364b7bd5d6d98 | /third_party/llvm-16.0/llvm/lib/Target/DirectX/DirectXSubtarget.cpp | 526b7d29fb13ed5d91e98a96b6c2c2c218709768 | [
"Apache-2.0"
] | permissive | google/swiftshader | 76659addb1c12eb1477050fded1e7d067f2ed25b | 5be49d4aef266ae6dcc95085e1e3011dad0e7eb7 | refs/heads/master | 2023-07-21T23:19:29.415159 | 2023-07-21T19:58:29 | 2023-07-21T20:50:19 | 62,297,898 | 1,981 | 306 | Apache-2.0 | 2023-07-05T21:29:34 | 2016-06-30T09:25:24 | C++ | UTF-8 | C++ | false | false | 1,044 | cpp | DirectXSubtarget.cpp | //===-- DirectXSubtarget.cpp - DirectX Subtarget Information --------------===//
//
// 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
//
//===---------------------------... |
ea001868aa0e77ec31db9839c25d332d18f514cc | 9da63bc07c1b71ecc34db52f16e762cf5dfa9d6f | /dlls/IVI Foundation/IVI/Drivers/wx218x/Source/IWX218xASK.cpp | 664b377765702c54d7ec95d64972ea21469076f9 | [] | no_license | tomdbar/cold-control | bd9f64a583793aa9ddefc8a1624948c3290d61bc | 4ed8aa46915aa9adf1eada1c6cebfd4778b6f42e | refs/heads/master | 2020-03-27T23:32:09.914576 | 2018-09-07T09:32:09 | 2018-09-07T09:32:09 | 147,326,156 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 21,153 | cpp | IWX218xASK.cpp | /******************************************************************************
*
* Copyright 2010-2012 Tabor Electronics Ltd.
* All rights reserved.
*
*******************************************************************... |
8923f5f424030c183927064371514fc9994a03ec | 98e575d2911f291ec152e32721468a0ccb9b7dd0 | /sockets/Archive/findLocalIp.h | b4af7bba6322ef6e41469c81a44f3c0bfab567df | [] | no_license | BenjaminKnol/domotica | 3f54840e9271450d9ac766b4aeae0d8ecf4b96e5 | ed8a280bd39edc90409b031d09f50109a85df1e5 | refs/heads/master | 2023-03-01T04:25:40.684365 | 2021-01-28T08:32:41 | 2021-01-28T08:32:41 | 315,907,622 | 1 | 1 | null | 2021-02-03T22:44:29 | 2020-11-25T10:41:39 | PHP | UTF-8 | C++ | false | false | 360 | h | findLocalIp.h | //
// Created by benja on 08/01/2021.
//
#ifndef SOCKETS_FINDLOCALIP_H
#define SOCKETS_FINDLOCALIP_H
#include <arpa/inet.h>
#include <netinet/in.h>
#include <sys/socket.h>
#include <unistd.h>
#include <string>
#include <cstring>
#include <iostream>
using namespace std;
class findLocalIp {
public:
string findIp... |
ad4f9f4fdba4e4b575ab26307ad6a1035acd5e41 | 725aabdfb0a30083357a72f989eefa9b2d710aad | /strutture/Location.cpp | e49e9c352c566d3c6e1170912b745f530faeeaaa | [] | no_license | luigimassagallerano/posix-file-sharing | aa7c38ae7928d455071fad2dd5061e9a16454814 | 09053fd15782feeb6b68236cbb72b548594614ba | refs/heads/master | 2021-01-02T08:33:29.798419 | 2013-02-10T11:22:42 | 2013-02-10T11:22:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 967 | cpp | Location.cpp | #include "../include/Location.h"
Location::Location(const string& ip, const string& porta, int mc)
{
ip_FS = ip;
porta_FS = porta;
if(sem_init(&maxClient, 0, mc) == -1) sys_err("Inizializzazione maxClient Fallita!\n");
}
Location::Location(const string& ip, const string& porta)
{
ip_FS = ip;
porta_FS = porta;
}
... |
dc13e719b2eef41a33b9318c20f68f781ae6a3f9 | 1b28e004adc4d365eb70165719c08e59cc1d8b10 | /ci22.cpp | 7521f44ab0741f271f551b6578a47b97255630a3 | [] | no_license | weirme/leetme | e5a98abdc0816dbe87292172c41c328513640898 | 0e3d4c40c8e122cde8f50ab541b182041c53078d | refs/heads/master | 2022-06-08T15:21:26.554825 | 2022-02-19T11:23:51 | 2022-02-19T11:23:51 | 203,276,581 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 686 | cpp | ci22.cpp | #include <cstdio>
#include <cstdlib>
#include <cstring>
#include <cmath>
#include <iostream>
#include <vector>
#include <string>
#include <queue>
#include <stack>
#include <map>
#include <algorithm>
#include "types.h"
using namespace std;
const int INF = 0x3f3f3f3f;
class Solution {
public:
ListNode* getKthFromE... |
10a3299eb32d81f65fcd6c17d976ad63be3040e5 | 312463a0ad42b933cce6a851004ab5e56e5b4fb4 | /src/neb/gfx/core/actor/plugin.cpp | 51a9d788fcd252c6c833fe226b7e488a35c902c4 | [] | no_license | Luddw/Nebula-Graphics | bfeeedafc18f18728fb9b5adc8198f12a56891af | 8d787f4fed27e9d0130f69a4473d5bfe48e02794 | refs/heads/master | 2021-05-29T17:42:09.056540 | 2015-03-11T03:17:14 | 2015-03-11T03:17:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 349 | cpp | plugin.cpp | #include <neb/fnd/plug/gfx/core/actor/util/decl.hpp>
#include <neb/gfx/core/actor/base.hpp>
namespace NS0 = neb::fnd::plug::gfx::core::actor;
namespace NS1 = neb::gfx::core::actor;
typedef NS0::Base T0;
typedef NS1::base T;
extern "C" T0* actor_create(int i)
{
return new T;
return 0;
}
extern "C" void actor_de... |
b5130155719f4105854212c5a2f1bbb3a3707677 | 10ec02d50efe300575da214023bb8f93801f5882 | /Kursovaya/Site.h | 16a4e3c6b0250c05b33d40332817df9b396dec6d | [] | no_license | Pavelpro-art/Kurs | 07b15f32116c2e0e567fd586e5d32796f2eca872 | 212dda625746532202f6d6d3d26e9f7018b658d4 | refs/heads/master | 2022-09-25T01:52:40.219548 | 2020-06-07T21:56:46 | 2020-06-07T21:56:46 | 269,346,562 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 186 | h | Site.h | #pragma once
#include "Chain.h"
class Site : public Сhain {
protected:
string filename;
void result(Game* game);
public:
Site(); //конструктор
string get_filename();
};
|
4f71e19d8845d5e235beb1635bb5ce48668a52b5 | e83fd6a92810c746415a0648306ba2549d2df6ce | /src/Entity/Mesh.cpp | 662721a217dd82130f37dff59411f66420f11374 | [] | no_license | Craigspaz/Axle | e59906af68a9d9b7e3fc7902cb4b70d630b09811 | 9a37162e393dba9f1a5b5769a6d88cd59a3e4a37 | refs/heads/master | 2023-06-05T15:08:47.044512 | 2021-06-23T01:38:12 | 2021-06-23T01:38:12 | 114,414,532 | 0 | 0 | null | 2020-10-12T18:05:57 | 2017-12-15T21:59:07 | C | UTF-8 | C++ | false | false | 61 | cpp | Mesh.cpp | #include "Entity/Mesh.h"
Mesh::Mesh()
{
}
Mesh::~Mesh()
{
} |
9aff91d8ab74f3a0edbd0b96b53e448375e6357f | b3588eb9c3747e2e95881f88c2a2c522ce784dc3 | /inc/camera.h | 314fe50887fe237e5ce7ca95f82d89ac2544c2cc | [] | no_license | knightlyj/renderer | 90a819420ac9da4c5dadb8784f4b2e4c25c0f085 | 628397228b12c9aeea46d353eb39f48afb9230eb | refs/heads/master | 2021-01-20T13:46:00.285606 | 2018-08-26T15:05:32 | 2018-08-26T15:05:32 | 90,527,317 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 3,881 | h | camera.h | #pragma once
#include <vector>
#include "transform.h"
#include "math3d.h"
#include "matrix.h"
#include "RenderTexture.h"
#include "vertex.h"
#include "FbxModel.h"
class Camera
{
public:
Camera() {
Setup(-1, -1000, 1, 90);
}
Camera(float n, float f, float aspect, float fov) {
Setup(n, f, aspect, fov);
}
voi... |
90e4cb34ff4a84552abc7846e5e0761d670020d4 | c937d29654550947de0354fcd330ca4a642458be | /ExportPart.h | 2312c9bf97e6b020b97a767f7ccfa5f85d11f3a3 | [] | no_license | EricFonk/Database | 5ba76415b2957eab5c2566055160970d63d4fdce | 169a9c53649f4800c0c54b26e4532af4f111be09 | refs/heads/master | 2021-01-12T04:01:19.611722 | 2016-09-10T07:28:34 | 2016-09-10T07:28:34 | 77,472,015 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,054 | h | ExportPart.h | //
// ExportPart.hpp
//
// Created by Eric on 16/8/21.
//
//
#ifndef EXPORTPART_H
#define EXPORTPART_H
#include <QtWidgets/QCheckBox>
#include <QtWidgets/QComboBox>
#include <QtWidgets/QHeaderView>
#include <QtWidgets/QLabel>
#include <QtWidgets/QLineEdit>
#include <QtWidgets/QListView>
#include <QtWidgets/QPushBut... |
90d91b6897f8cc27e3c90a689aafd4396b65b2d5 | bc965d59d05962a911d2aeffe419d86e076a71b6 | /exercises/lab6/task3.cpp | 6a4b9fc03e57afe1fe277cae8415483784026299 | [] | no_license | AGalabov/up-2019-2020 | c8449dc7b6efa0bef4be8df3aba9833a5b9539c0 | 96eff071fa8efc9e3e1ef206b8d2311c4dcafe86 | refs/heads/master | 2020-08-13T19:19:20.231489 | 2020-01-13T12:54:33 | 2020-01-13T12:54:33 | 215,024,194 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,120 | cpp | task3.cpp | #include <iostream>
#include <cstring>
using namespace std;
int main()
{
char str[1001];
cin.getline(str, 1001);
int histogram['z' - 'a' + 1]; // 26 letters
/*
'z' and 'a' are constant, there will be no error. So you don't have to remember how many letters there
are in the alphabet z = 'a'... |
f6ba9b53edf768af717409581a0fcae1a488984e | 1d4204c6766449214544a6511e138782712c0806 | /Src/Simulation/DockWidget.h | 950833dc3c0a831ca785812190cd44941d12a9bc | [] | no_license | spyfree/tjNaoBackup | 2d0291a83f8473346546567ae7856634f6c5a292 | 0c7dd47f65e23be6e9d82a31f15ef69a3ce386cb | refs/heads/master | 2016-09-06T08:20:52.068351 | 2014-01-31T03:33:19 | 2014-01-31T03:33:19 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,334 | h | DockWidget.h | #ifndef DOCKWIDGET_H
#define DOCKWIDGET_H
#include <QDockWidget>
#include <QAbstractItemModel>
#include <QTreeView>
#include <QModelIndex>
#include <QStringListModel>
#include <QVariant>
#include "MotionWindow.h"
class DockWidget :public QDockWidget
{
Q_OBJECT
public:
DockWidget(QWidget *parent=0);
Doc... |
710d1939a454c1b884f5cf1b4f756b94a2eef01a | 06861f9da5c7ef4764ba2b739c7b8028160d59e4 | /MyLittleGame/source/Application.h | 714cc39f3a098fc4413165cad9b6192ae7298bd4 | [] | no_license | archfedorov/tryGithub | 17161edfe22112c152f58a5e307139f5b917b378 | 4d05e7b57d0b52163d896c204aa11e39c3f95d72 | refs/heads/master | 2023-01-06T05:13:29.354220 | 2020-11-07T05:16:53 | 2020-11-07T05:16:53 | 240,283,151 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 274 | h | Application.h | #pragma once
#include "SFMLForward.h"
namespace mlg {
class Application {
private:
sf::RenderWindow* window;
void processInput();
void update(const sf::Time&);
void render();
void initialize();
public:
Application();
~Application();
void run();
};
} |
3dbd3ad0a2c93ed87a3da5323e74a5590b1ef896 | 8351df6733abc3d833a19cbc10ae2942521af003 | /src/infra/MessageException.h | 2372f0a91a88e7f823fe6d4ae06c54a1ae2e6de4 | [] | no_license | eklavya1983/datom | 4d569adbecfa908d2829015dcfd13b5be639cd62 | 29800008a40040a958c57571c4b9abd42420e75e | refs/heads/master | 2021-01-12T16:08:23.374707 | 2017-03-29T02:12:57 | 2017-03-29T02:12:57 | 71,948,107 | 1 | 1 | null | 2017-04-07T19:41:34 | 2016-10-25T23:40:06 | C++ | UTF-8 | C++ | false | false | 549 | h | MessageException.h | #pragma once
#include <infra/StatusException.h>
namespace infra {
struct MessageException : StatusException {
MessageException(Status status, const std::string &message)
: StatusException(status),
message_(message)
{
}
void setMessage(const std::string &message)
{
message_ = ... |
4fcb6750afb1e82c5172a2ded87da396def7c04d | 42bfe89e7d24abf27d8c1e047ada75cccc9cd850 | /Arduino/submodule/submodule.ino | 6b219124bc8ee495c21fc9148ae40cba05e5ec85 | [] | no_license | ayware/smart_home | e1ff4bb34661446273ea93b0e8cee52de9240607 | 3066eaab136d4ab08c1862d23079458d773a517c | refs/heads/master | 2022-10-21T14:54:15.250805 | 2020-06-15T12:42:12 | 2020-06-15T12:42:12 | 270,732,384 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,008 | ino | submodule.ino | #include <SPI.h>
#include "nRF24L01.h"
#include "RF24.h"
#define CSN_PIN 10
#define CE_PIN 9
#define NRF_DATA_LED 6
#define RELAY_PIN 7
#define POT_PIN A0
#define BLINK_DELAY 50
RF24 alici(CE_PIN, CSN_PIN);
const byte address[6] = {"00001"};
struct Data {
int socketValue;
int ledValue;
int potValue;
};
v... |
0dcfba81c005d176d8e760b261c9f6959d79f26d | ddf9da2d740d24ebf786d9fe9df3ba49e648e53c | /bridge/abstraction.cpp | fc8f06d7f8aae188adae52075b540cb20199e9a9 | [] | no_license | archdoor/DesignPatterns | 3ed1259bbb9cc5ee6fc0f308525fa63fbf3d20c5 | 5e4ce6913504929228f891c80e2f5bd59d12df4d | refs/heads/master | 2020-04-25T03:20:10.542138 | 2019-02-25T09:17:40 | 2019-02-25T09:17:40 | 172,472,627 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 322 | cpp | abstraction.cpp | #include "abstraction.h"
Abstraction::Abstraction()
{
}
Abstraction::~Abstraction()
{
}
DefinedAbstraction::DefinedAbstraction(AbstractionImplement* absImp)
{
this->absImp = absImp;
}
DefinedAbstraction::~DefinedAbstraction()
{
}
void DefinedAbstraction::operation()
{
absImp->operation();
}
... |
8ee86758207fe778a5bf362efc750ad6a8b82d70 | 8c4c0e3a496f74d955a299dc9dfad2ceefbcf82f | /Bitwise_Operators/ShreyasheeS2.cpp | 3e366757d3689a2c8efe794e567aa35fa40586d6 | [
"MIT"
] | permissive | shwethabm/Hacktoberfest-2k17 | 002e9a97ebfcae001e199155e4c904d28573bd94 | 87383df4bf705358866a5a4120dd678a3f2acd3e | refs/heads/master | 2020-03-31T04:31:42.151588 | 2017-11-03T11:18:25 | 2017-11-03T11:18:25 | 151,909,308 | 0 | 1 | MIT | 2018-10-08T15:20:35 | 2018-10-07T05:33:08 | C | UTF-8 | C++ | false | false | 401 | cpp | ShreyasheeS2.cpp | //This code in C++ swaps the even and odd bits in a binary number and prints the resultant decimal number.
#include<iostream>
using namespace std;
int main()
{
//code
int t;
cin>>t;
while(t--)
{
int n;
cin>>n;
unsigned int even=n&(0x5555);
unsigned int odd=n&(0xAAAA);
even=even<<1;
o... |
92294b9bfb2df20e7465dfb366c699820655c771 | 1be66b32b55baeef9dff49bafc04a26dce301192 | /RTS_Prototype/BSRTSCamera.h | 2707f2f16ea20ac914af37c041fa63118058e680 | [] | no_license | LarssonSv/HordeHavoc | d66c622814d0794ad08c076af9d441ac311aa407 | a2435f09ef0018995497b9cf1def7f573f7fd491 | refs/heads/master | 2020-08-05T00:36:29.716542 | 2019-10-23T07:34:50 | 2019-10-23T07:34:50 | 212,334,305 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,883 | h | BSRTSCamera.h | // Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "GameFramework/Pawn.h"
#include "Components/BSElementComponentSystem.h"
#include "BSRTSCamera.generated.h"
UCLASS()
class TEAM2_PROJECT2_API ABSRTSCamera : public APawn
{
GENERAT... |
41f042425ee2884ce0c39cc01afe2043d64e0221 | 9eab75ac8109b4cd6968718252cf949dd54ff8f4 | /codeforces/cf_ringRoad.cpp | 991fccf5cdf5e9316a16286f42eab023430a7468 | [] | no_license | tymefighter/CompetitiveProg | 48131feca6498672c9d64787a27bea20597e5810 | f867d53c6f1b307d8f2d323a315974b418abd48d | refs/heads/master | 2021-06-09T14:09:16.186246 | 2021-05-17T14:17:14 | 2021-05-17T14:17:14 | 186,087,058 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,741 | cpp | cf_ringRoad.cpp | #include<iostream>
#include<cstdio>
#include<vector>
#include<map>
#include<utility>
using namespace std;
bool check_edge(vector<pair<int, int> > &a, int u)
{
for(auto x : a)
{
if(x.first == u)
return true;
}
return false;
}
int find_wt(vector<pair<int, int> > &a, int u)
{
for(auto x : a)
{
if(x.first ... |
22472a9d4f5e418cbbbfdd6703cdd2889b012cc1 | 96aacfe8ce2922cad8d4b8bd0f341b0297f70323 | /LineEditor.cpp | 5f1a1a69ca96854db5aa43569220d51c5df63127 | [] | no_license | andrewfsanchez/DataStructure-Project-1 | 52f134882982ce2858f6cd33a144986454aee0c2 | 75710c29e02592cac464ae14bc01bc63257cb1f0 | refs/heads/master | 2020-03-28T16:22:51.612396 | 2018-09-26T22:11:00 | 2018-09-26T22:11:00 | 148,688,666 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,847 | cpp | LineEditor.cpp | #include "stdafx.h"
#include "LineEditor.h"
LineEditor::LineEditor()
{
LinkedList document;
}
void LineEditor::start() {
bool t = true;
while (t)
{
std::string input = "";
getline(std::cin, input);
std::string temp = input.substr(0, input.find(" "));
if (temp.compare("insertEnd") == 0)
{
int sta... |
d979498bc80a019ff3d02ef54866e9044a195aaf | 076fea580fcdd2bdf815fc901a3874ce412073fb | /src/core/interfaces/IEngine.h | ba540e564e9e698eb360655c0a2aed4a9f08ec31 | [
"MIT"
] | permissive | varunamachi/tanyatu | b67fb7340f37aac8c64cb43ef537edae2dfc9296 | ce055e0fb0b688054fe19ef39b09a6ca655e2457 | refs/heads/master | 2021-01-10T19:39:17.131012 | 2017-03-08T01:14:29 | 2017-03-08T01:14:29 | 28,555,687 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 7,132 | h | IEngine.h | /*******************************************************************************
* Copyright (c) 2014 Varuna L Amachi. All rights reserved.
*
* 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 ... |
abe8791f9809b158515e74be9f5aaaf15e23d808 | 2dc607eda5957c91cddf2a040eeb2c5ae9db416f | /kernel/ddstring.cpp | c47c292766067e1e9272ed731bbeba820d3de3c0 | [
"Apache-2.0"
] | permissive | ddjohn/mordana | 42c87465077dabb064ce0ec5917cfd1f52ac6be6 | bb9bdc9406c46933e1e428644dd2a4abc40574c9 | refs/heads/master | 2021-07-09T04:49:27.090246 | 2021-03-08T21:14:33 | 2021-03-08T21:14:33 | 230,494,282 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 649 | cpp | ddstring.cpp | #include "ddstring.h"
String::String() {
data[0] = '\0';
len = 0;
}
String::String(const char* message) {
for(unsigned int i = 0; i < MAX_STRING_LENGTH + 1; i++) {
data[i] = message[i];
if(message[i] == '\0') {
len = i;
break;
}
}
data[MAX_STRING_LENGTH + 1] != '\0';
}
String::~String() ... |
42ef25b1528baa56ec288f3830349277fc0e5752 | 5a63bd6870346aa6593233b990303e743cdb8861 | /SDK/UI_StopServerDisclaimer_parameters.h | d2d0176309ab033341f767f17f784b1422acbe6e | [] | no_license | zH4x-SDK/zBlazingSails-SDK | dc486c4893a8aa14f760bdeff51cea11ff1838b5 | 5e6d42df14ac57fb934ec0dabbca88d495db46dd | refs/heads/main | 2023-07-10T12:34:06.824910 | 2021-08-27T13:42:23 | 2021-08-27T13:42:23 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,446 | h | UI_StopServerDisclaimer_parameters.h | #pragma once
#include "../SDK.h"
// Name: BS, Version: 1.536.0
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
namespace SDK
{
//---------------------------------------------------------------------------
// Parameters
//---------------------------------------------------------------------------
// Function UI_Sto... |
df2d1677a523e348b48df35be518d621f89fc721 | bfa1718b94d3f991c90509b5d50712f1e1c5388e | /src/He3DetectorConstruction.cc | 700c414ba04bbdd38c44cfa80bf9aaeba276f1af | [] | no_license | madantimalsina/G4_He3YBeNsim_UCB | 4862db3470ee4d3cf84e5b1f890e1cecd9a69eb5 | 60a0e6ccdd1943df5e4ebd314e3c7f3857363aa2 | refs/heads/main | 2023-08-12T10:59:48.606681 | 2021-09-29T16:32:38 | 2021-09-29T16:32:38 | 411,417,986 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 39,941 | cc | He3DetectorConstruction.cc | //
// ********************************************************************
// * License and Disclaimer *
// * *
// * The Geant4 software is copyright of the Copyright Holders of *
// * the Geant4 Collaboration... |
d4fd77c257111aaac57d1a46e9390484cb1a7315 | dbe1d5035800c829b2137ffda2259dee17ea1169 | /cppcache_server/src/encrypt/include/encrypt_crack.h | b3ff163587d6a729e630d4c89f237fa4bac6f9bf | [] | no_license | chwangbjtu/urlcracker | d6fbf911b6026f705ac926e0a6c5dccc1a211902 | 51d6b99d837db45d831f3a2f10a682d42d36e85a | refs/heads/master | 2021-01-24T10:59:23.587133 | 2016-09-27T09:56:53 | 2016-09-27T09:56:53 | 69,342,847 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 922 | h | encrypt_crack.h | #ifndef __ENCRYPT_CRACK_H__
#define __ENCRYPT_CRACK_H__
#include "encrypt_base.h"
namespace ftsps {
//class encryption;
class encrypt_crack : public encrypt_base{
public:
virtual ~encrypt_crack(){}
static encrypt_crack* instance(void);
private:
encrypt_crack();
static encrypt_crack* _instance;
};
//class arithm... |
6745df9c16e49bb34fb4c2f4e3ca413ff3be2e8c | de58c954b511189b5b60ce3bd073764ccfd7032d | /Práctica 1/TPV2/GameCtrl.h | 58ad2a2bf1b0de071a3e1b7f16e4fae586cee761 | [] | no_license | jorgmo02/TPV2 | 6871e1bef77661c9904d8a8636b76c3a53774299 | e7560074093a14e69d12d953896c88f283a07c75 | refs/heads/master | 2022-11-13T21:51:37.707142 | 2020-07-06T16:05:45 | 2020-07-06T16:05:45 | 239,794,279 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 470 | h | GameCtrl.h | #pragma once
#include "Component.h"
#include "ScoreManager.h"
#include "Transform.h"
#include "AsteroidPool.h"
#include "Health.h"
class GameCtrl: public Component {
public:
GameCtrl();
GameCtrl(AsteroidPool* a, Health* h, int asteroidsGenerated);
virtual ~GameCtrl();
void init() override;
void update() override... |
6aff055face02b7b0cd4ea6d15bcb5bb96569fcb | 3a90df4655a9bfcc01df3fbf0e8ef5081794736c | /PRACTICE/stack.cpp | 9e80aa4ba8ba1308a322a2d3774d541e38752575 | [
"MIT"
] | permissive | prasantmahato/CP-Practice | 0442434665603496b3e79741476c0a30855be214 | 54ca79117fcb0e2722bfbd1007b972a3874bef03 | refs/heads/master | 2023-01-03T04:41:22.672625 | 2020-10-26T16:52:37 | 2020-10-26T16:52:37 | 300,133,429 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 986 | cpp | stack.cpp | #include <iostream>
using namespace std;
#define MAX 1000
class Stack
{
int top;
public:
int arr[MAX];
Stack(){ top=-1; }
bool push(int x);
int pop();
int peek();
bool isEmpty();
};
bool Stack::push(int x)
{
if(top >= (MAX-1))
{
cout<<"\nStack Overflow.";
... |
5617065e1ba6c5f03868a9066a075226d52e3e00 | 1477fb73b101a32d111f0a5a13354ead9fffff33 | /src/libkmc/calculators/node.h | 141c8abca3e38c5305748af59bdb4d580b74905c | [
"Apache-2.0"
] | permissive | razziel89/kmc | f7a4946759cee795792ab8faaef6c6db2b7afcd6 | 22b1d67991a60533266bceffb41057aa70c475bf | refs/heads/master | 2021-01-19T22:05:00.776253 | 2017-01-25T22:22:58 | 2017-01-25T22:22:58 | 88,747,752 | 0 | 0 | null | 2017-04-19T13:21:27 | 2017-04-19T13:21:27 | null | UTF-8 | C++ | false | false | 2,181 | h | node.h | /*
* author: Kordt
*/
#ifndef NODE_H
#define NODE_H
#include <votca/tools/vec.h>
using namespace std;
using namespace votca::kmc;
// KMCMULTIPLE PART //
typedef votca::tools::vec myvec;
struct Event
{
int destination;
double rate;
votca::tools::vec dr;
// stuff for Coulomb interaction
d... |
c2a4e53cba45f7d1cf160526959bf45a0eab7c0e | f0306eb78280dbf5de894c247a2545738298ce39 | /PatriciaTrie/Patricia.cpp | 537e33ca6ea2971dda743ca65de33c13c84f5b05 | [] | no_license | trol53/DA | 18d086a2cd72a757e891d48538bf2f86b41bcd92 | f6909374ded5ff0a89b3a5c9d55eeff75f6ae892 | refs/heads/master | 2021-04-02T23:53:09.921672 | 2020-12-04T09:29:32 | 2020-12-04T09:29:32 | 248,337,802 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,294 | cpp | Patricia.cpp | #include <iostream>
#include <stdlib.h>
#include <string.h>
#include <algorithm>
#include <fstream>
const int MAX_SIZE = 257;
using namespace std;
void ToLower(char *str){
int size = strlen(str);
for (int i = 0; i < size; i++){
char tmp = str[i];
str[i] = (char)tolower(tmp);
}
}
bool Com... |
b8e14552c704683643e1aee506c999782b8f995d | 0a699f115a1e4d3045ed3da528d088b30b6f5b1b | /serial_lcd_write.ino | ebe759b7a486c1760d7078c1f33858591c9d0704 | [
"MIT"
] | permissive | ckuzma/arduino-weather-lcd-shield | 0aa5b39f6c49a5aa5dfe0713fcd2bfd9d3261f09 | 3a2986f503e5d6ad11f4bae2c40a37172d38c88a | refs/heads/master | 2020-05-20T06:03:07.751075 | 2016-02-14T21:35:44 | 2016-02-14T21:35:44 | 51,715,225 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 720 | ino | serial_lcd_write.ino | #include <Wire.h>
#include <LiquidCrystal.h>
LiquidCrystal lcd( 8, 9, 4, 5, 6, 7 );
void setup() {
// set up the LCD's number of columns and rows:
lcd.begin(16, 2);
Serial.begin(9600);
}
void loop() {
String content = "";
char character;
while(Serial.available()) {
delay(10);
character = Serial.... |
61ebb8fecb7b8cbb40ea3ee29166dc3c9cd07f1e | 293af45d1722f0b059028f8d06f2a3151c3858bd | /DevilTitan-LIBPRO-64/DataProcessingTechnician.h | d759c1e97854ad6a4eb761c2bb2087360ca093bc | [] | no_license | DevilTitan/DevilTitan-LIBPRO | 912c24b6d242e7c8076d7aabee5bc4aa28ab8fff | 1cb5562faab818973ebaced588abc07707b91e08 | refs/heads/master | 2020-12-30T16:28:19.449946 | 2017-06-23T04:44:03 | 2017-06-23T04:44:03 | 90,991,599 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,602 | h | DataProcessingTechnician.h | #pragma once
#include <QWidget>
#include "ui_DataProcessingTechnician.h"
#include "user.h"
#include "global.h"
#include <QSqlQuery>
#include <QSqlDatabase>
#include <QDebug>
#include "QSqlError"
#include <QSqlQueryModel>
#include "switchrole.h"
#include "loginform.h"
#include "changepassword.h"
#include "changetheme.h... |
b8aa67d73f915f0e6f60877bfefa47b114d9eb31 | e27ba04dcd5a60cd74ff8ba27db5edabd2810687 | /library_rsa/Source.cpp | 5ac43ad20c8da668e7a584352624891674f0c84a | [] | no_license | pavelllm/RSALibrary | 62b13c04ef182662c58e9d0c5a8cd2e606aff828 | 5242bbf135d0c75d7f5684d60cb4a590d6c0998f | refs/heads/master | 2021-07-10T17:27:24.584827 | 2017-10-10T18:47:37 | 2017-10-10T18:47:37 | 105,371,441 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,103 | cpp | Source.cpp | #include <stdio.h>
#include <stdlib.h>
#include <time.h>
#include "Library.h"
//Подпрограмма сложеие двух длинных чисел
//a и b - слагаемые размером size слов
//с - сумма размером size слов
//возвращаемое значение - бит переноса
unsigned short add(unsigned short * a, unsigned short * b, unsigned short size, unsigned ... |
5ec42f8aa28169826c33346b8fe465814481e683 | d444e796a9543b7b855fad46be1ffcd83a5b3941 | /farsight/cpp/2-day/Vector.cpp | bfa484bc60749affdedf3e24d2fd1c22fea1bdb1 | [] | no_license | xianjimli/misc | 7e1f8e02f30e0cb0700e9751d5336b329a97880f | 90cc886b2ce882eec2513b654d7c04920be0d028 | refs/heads/master | 2021-06-05T23:04:42.242138 | 2018-09-19T06:40:06 | 2018-09-19T06:40:06 | 20,082,914 | 3 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 509 | cpp | Vector.cpp | #include "Vector.h"
#include <cstring>
#include <cstdlib>
#ifdef VECTOR_TEST
#include <cassert>
int main(int argc, char* argv[])
{
int i = 0;
int data = 0;
CVector<int>* dvector = new CVector<int>(10);
for(i = 0; i < 20; i++)
{
dvector->append(i);
assert(dvector->get(i, data) && data == i);
}
CVector<in... |
973ca1f7e8adf843ac1d16a80cb82f02366782fe | 1a8b0d48e3cb78803aee22fcd676dcb17d3b5340 | /Protocol/headers/NewEntity.hpp | d59b446c9641d327b66d200b7cbcd680f1bacd46 | [
"WTFPL"
] | permissive | jurelou/R-type | e62a17ab4c35fe951a3c9b82b23f505944724caf | 0982f0a6fa49456abca3c3471094a8f5332e9f7a | refs/heads/master | 2021-05-02T13:18:20.821238 | 2018-02-08T13:17:55 | 2018-02-08T13:17:55 | 120,756,725 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 601 | hpp | NewEntity.hpp | //
// Created by marmus_a on 18/01/18.
//
#ifndef R_TYPE_NEWENTITY_HPP
#define R_TYPE_NEWENTITY_HPP
#include <ARequest.hpp>
#include "Vertex.hpp"
namespace Protocol {
class NewEntity : public ARequest {
public:
NewEntity();
NewEntity(EntityType type, int id, const Vertex& pos);
virtual ~NewEntity();... |
90ee50bb3b0795f84194eb9004ed9c4e558ddb6d | af74ee386a16d0445e18d0ed25999d493092e3f1 | /TankWars/Tank.cpp | e5a7e7c6ddb29a2fae3b91c6b852bac2925fbe72 | [] | no_license | LonelyCpp/TankWars | 54a979c9452df8467b4aeccc3c89996ca8b74d0e | edaf209bd35173c478270a239917dd7808f2575b | refs/heads/master | 2022-07-20T07:09:06.717676 | 2020-05-19T05:26:52 | 2020-05-19T05:26:52 | 86,409,532 | 5 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 3,839 | cpp | Tank.cpp | #include "Tank.h"
#include <vector>
void Tank::drawCircle(float x, float y, float r)
{
glBegin(GL_POINTS);
glPointSize(1);
for(float i = 0; i < 2 * 3.14159; i += 0.5)
{
glVertex2f(x + r * cos(i), y + r * sin(i));
}
glEnd();
}
Tank::Tank(int x, int y)
:healthBar(x + 30, y + 100)
{
this->x = x;
this->y = y;... |
83d1d4e381957fe06727aa02a995fb6bf938e533 | fc718d08bd934266fce33896d42d0a8641af37b8 | /LL_Anim.hpp | 0547efb3fdbb58eef4b15ded036c84d041b9368c | [] | no_license | ixchow/Preshack | de690b1c500e9389f54db524a82ac920e028e6fd | d8aa0f8ef8cca8d5b1aed759a92202de8355934e | refs/heads/master | 2021-06-08T12:05:10.338455 | 2017-08-25T03:36:42 | 2017-08-25T03:36:42 | 4,300,347 | 15 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 456 | hpp | LL_Anim.hpp | #ifndef LL_ANIM_HPP
#define LL_ANIM_HPP
#include "Module.hpp"
enum {
BARS,
BALL,
EDGES,
STACKING
};
class LayerAnim : public Module {
public:
LayerAnim();
virtual ~LayerAnim();
virtual Vector2f size();
virtual void draw(Box2f viewport, Box2f screen_viewport, float scale, unsigned int recurse = 0);
virtual vo... |
60117d52d63e2cd066211aed3a3c753c3281f212 | 058238f45c98e0d4a7ed9883594489780f6ebe7d | /QTProject/QTopObjectDisplay.h | be20a24b560829484d9fe4c7f67a3d6d6a6537b9 | [] | no_license | xiangliu/QSceneEdit | 18283970032208ef6c395c200cea3bd56978f982 | f9215782fa7896322556e20b74df1ccbe187f7b2 | refs/heads/master | 2020-05-04T15:32:25.091948 | 2013-06-03T01:53:44 | 2013-06-03T01:53:44 | 7,065,363 | 0 | 1 | null | null | null | null | GB18030 | C++ | false | false | 659 | h | QTopObjectDisplay.h | #ifndef QTOPOBJECTDISPLAY_H
#define QTOPOBJECTDISPLAY_H
namespace Ui {
class QTopObjectDisplay;
}
class QTopObjectDisplay : public QWidget
{
Q_OBJECT
//method
public:
explicit QTopObjectDisplay(QWidget *parent = 0);
~QTopObjectDisplay();
void paintEvent(QPaintEvent *e); //继承自基类的虚绘制函数
protected:
//attribu... |
a25a80bb8ab089fcc3db353ecde68060aca881a2 | 427f48b76d1b312cff7af2d9b535ea333e8d154e | /cpp/utility_rel_ops_operator_cmp.cpp | 0719429e09d576670c86c7abc76841ac3d73eddd | [
"MIT"
] | permissive | rpuntaie/c-examples | 8925146dd1a59edb137c6240363e2794eccce004 | 385b3c792e5b39f81a187870100ed6401520a404 | refs/heads/main | 2023-05-31T15:29:38.919736 | 2021-06-28T16:53:07 | 2021-06-28T16:53:07 | 381,098,552 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 821 | cpp | utility_rel_ops_operator_cmp.cpp | /*
g++ --std=c++20 -pthread -o ../_build/cpp/utility_rel_ops_operator_cmp.exe ./cpp/utility_rel_ops_operator_cmp.cpp && (cd ../_build/cpp/;./utility_rel_ops_operator_cmp.exe)
https://en.cppreference.com/w/cpp/utility/rel_ops/operator_cmp
*/
#include <iostream>
#include <utility>
struct Foo {
int n;
};
bool operator... |
0f61756e2035c07e435b58a38cac6f6f213540ec | 2743ed11026e2fba43799799b04d0df55af30365 | /abserv/abserv/IOModel.h | 4079f7de036d828fdf789e3811efeaf2cbe2b123 | [] | no_license | lineCode/ABx | bb792946429bf60fee38da609b0c36c89ec34990 | b726a2ada8815e8d4c8a838f823ffd3ab2e2b81b | refs/heads/master | 2022-01-22T06:13:49.170390 | 2019-07-19T20:03:31 | 2019-07-19T20:03:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 268 | h | IOModel.h | #pragma once
#include "Model.h"
#include "IOAsset.h"
namespace IO {
class IOModel : public IOAssetImpl<Game::Model>
{
public:
/// Import 3D Model file exported with the import program
bool Import(Game::Model* asset, const std::string& name) override;
};
}
|
12966fb09458102c161bd225ed06454aae662aa3 | 9e96debaf9c430056586e0dc3c9ac363f1eb3810 | /compendium/tools/SCRCodeGen/test/TestCodeGenerator.cpp | 3ada67304e75a44361ae28b2f148e058b9bec5ef | [
"Apache-2.0"
] | permissive | sunfirefox/CppMicroServices | b2f73be5c75efb5ffcedeed0deb82e37bac66272 | 55dda3b59ce471b3b7baaa6bf449bc0efe930956 | refs/heads/master | 2023-05-24T20:28:38.076412 | 2023-04-28T15:09:27 | 2023-04-28T15:09:27 | 14,852,197 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 29,231 | cpp | TestCodeGenerator.cpp | /*=============================================================================
Library: CppMicroServices
Copyright (c) The CppMicroServices developers. See the COPYRIGHT
file at the top-level directory of this distribution and at
https://github.com/CppMicroServices/CppMicroServices/COPYRIGHT .
Licensed un... |
355e63b95c19c5fcd8591e569a10b80888cf3097 | d25e80c4469f2e7f4bafc23bc49cfc6a8c1e13c5 | /dfslib-clientnode-p2.cpp | 09b50578195e7b251b19d7c8e3d2f2967dd19460 | [] | no_license | GJGao/Distributed-File-System-gRPC | 58394a055cbcdc57c9e1da6096678109b3c7fd8f | aa508995f25f94a6828dac7ab9a76bd3dbef68cc | refs/heads/master | 2022-12-06T08:44:16.388262 | 2020-09-02T04:09:43 | 2020-09-02T04:09:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 41,607 | cpp | dfslib-clientnode-p2.cpp | #include <regex>
#include <mutex>
#include <vector>
#include <string>
#include <thread>
#include <cstdio>
#include <chrono>
#include <errno.h>
#include <csignal>
#include <iostream>
#include <sstream>
#include <fstream>
#include <iomanip>
#include <getopt.h>
#include <unistd.h>
#include <limits.h>
#include <sys/inotify... |
ecb4648191216678dd7ce8d6d2e8b7197adc1fe5 | c9426c0b6919f2aeee9f7ed43771d531b6d8ca59 | /DiabloUI/selhero.cpp | 2250407a11311b888e89095bb40f0aa0f809a9d7 | [
"Unlicense",
"LicenseRef-scancode-public-domain"
] | permissive | seritools/devil-nightly | d90902ae3983aa9e4bbde619d9a1f5e7e0dd3758 | 78e0cd3e49029fd9f05c9431b26a6fcb3b2693ae | refs/heads/master | 2020-03-26T22:02:06.902318 | 2018-09-17T20:50:13 | 2018-09-17T20:50:13 | 145,426,445 | 1 | 0 | Unlicense | 2018-08-20T14:10:33 | 2018-08-20T14:10:33 | null | UTF-8 | C++ | false | false | 24,088 | cpp | selhero.cpp | // ref: 0x1000B7A0
int SelHero_1000B7A0() { return 0; }
/* {
return dword_1002A458;
} */
// 1002A458: using guessed type int dword_1002A458;
// ref: 0x1000B7A6
int SelHero_1000B7A6() { return 0; }
/* {
return dword_1002A428;
} */
// 1002A428: using guessed type int dword_1002A428;
// ref: 0x1000B7AC
... |
ca38b0e54fd169688106c8a9dcfb550d628d7a2d | 08ec40c60e13fffa6d8289c4f5e5aae0c02de983 | /hcc_ws/devel/include/tutorial/my_service.h | 1fb46fddab2b7f9b4e0c83f72093a325140c7513 | [] | no_license | samuel95207/ROS-Projects | 335b31ba00ce14e0c02f70bf6ffe9f2581718bb1 | f3fa05c3650873600c52e9b8921cb3e360cda8bc | refs/heads/master | 2022-12-14T08:04:45.844776 | 2020-08-31T06:45:52 | 2020-08-31T06:45:52 | 283,133,719 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,607 | h | my_service.h | // Generated by gencpp from file tutorial/my_service.msg
// DO NOT EDIT!
#ifndef TUTORIAL_MESSAGE_MY_SERVICE_H
#define TUTORIAL_MESSAGE_MY_SERVICE_H
#include <ros/service_traits.h>
#include <tutorial/my_serviceRequest.h>
#include <tutorial/my_serviceResponse.h>
namespace tutorial
{
struct my_service
{
typedef ... |
69cc4fe91fdce5d87c23d48e754d6e01f55facd1 | 2ac71c7f3fe414113216bc42c27de916de250eb6 | /src/render/ChunkRenderer.cpp | a863fdf1407335ea916ae9ff637512f9366bf4a8 | [] | no_license | thebigcx/cubeworld | db00562a3950f3559f71f0fc7904fc5159cf9d8d | 5edbc48b6fc057fe796021bf1355a5713a24318d | refs/heads/master | 2022-12-27T18:44:57.039618 | 2020-10-07T23:09:13 | 2020-10-07T23:09:13 | 299,471,443 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 521 | cpp | ChunkRenderer.cpp | #include "ChunkRenderer.h"
ChunkRenderer::ChunkRenderer()
{
}
void ChunkRenderer::render(Chunk& p_chunk)
{
ResourceManager::shaders.get("block").use();
ResourceManager::shaders.get("block").setUniform("model", p_chunk.m_mesh.model);
ResourceManager::textures.get("terrainAtlas").bind();
glBindVertex... |
df92a8a25da84a5367a781ebcf8623d11ba2a642 | 335f7102c0a5d8d1dc3d9f94d653a51469489254 | /src/include/error_handling/detail/Ret/RetValErrors.hpp | b90f74f8f87bb5d4309567d00387f60df7771d2e | [
"BSL-1.0"
] | permissive | mdraven/error_handling | f4b23c535741573fab09e47ca61b6f67ec91f27f | eb81346d0089fb97331b9f46f2771c2b9b14d4d4 | refs/heads/master | 2020-05-20T14:02:14.489072 | 2014-07-20T13:25:35 | 2014-07-20T13:25:35 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,879 | hpp | RetValErrors.hpp | /*
* Copyright (C) 2014 Ramil Iljasov
*
* Distributed under the Boost Software License, Version 1.0.
*
*/
#ifndef RETVALERRORS_HPP_
#define RETVALERRORS_HPP_
#include <error_handling/detail/Ret/Ret.hpp>
#include <error_handling/detail/Set/Set.hpp>
#include <error_handling/detail/EnableIfNotUniversalRef.hpp>
#inc... |
0471d7303e49daf94038444bb3a1f27582eb516a | 6b2a8dd202fdce77c971c412717e305e1caaac51 | /solutions_5706278382862336_0/C++/Omelianenko/a.cpp | 149d539a703a98184b0cbdf88fff826826d6520e | [] | no_license | alexandraback/datacollection | 0bc67a9ace00abbc843f4912562f3a064992e0e9 | 076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf | refs/heads/master | 2021-01-24T18:27:24.417992 | 2017-05-23T09:23:38 | 2017-05-23T09:23:38 | 84,313,442 | 2 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 1,418 | cpp | a.cpp | #include<algorithm>
#include<iostream>
#include<cstdlib>
#include<cstdio>
#include<vector>
#include<cmath>
#include<set>
#include<map>
using namespace std;
#define x first
#define y second
#define pow hi1
#define mp make_pair
#define ll long long
#define pb push_back
#define bro pair<int, int>
#define a... |
dc4ac596b563be26c6025f5ed066e1255ebfb1bd | ee0943757123a5c01348588928203ca8a53f3a99 | /headers/Level.h | 70ecc609da78747c415bcade6a8c7319509798cc | [] | no_license | igormlk/CaveStoryRemake | ba3020a70fac27e965151c0489224704a6c3fe6b | b759f5e833c28f216c8a451bdf5d63ccde7e21e6 | refs/heads/master | 2020-03-28T20:09:37.233184 | 2019-07-21T18:33:08 | 2019-07-21T18:33:08 | 149,045,407 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,307 | h | Level.h | //
// Created by igor on 16/09/18.
//
#ifndef LEVEL_H
#define LEVEL_H
#include <string>
#include <vector>
#include <tinyxml2.h>
#include "Vector2.h"
#include "Tile.h"
#include "Tileset.h"
#include "Rectangle.h"
class Graphics;
struct SDL_Texture;
class Level
{
public:
Level();
Level(std::string mapName, Ve... |
2b9eafa53d40664bd84770a378a097a42a63d69d | 06bc755b00127f5c6ed72aa9e959d4464a1f9949 | /Software/lib/SpeedMeter/SpeedMeter.cpp | 6e028f6a69c456e3e97d52e8d5fade23226f99b5 | [] | no_license | TheMadHatt3r/RT-E | 214d8d811231ec50317968a451246c2744fd7bbc | 0041f7e8c9583f1d68e2c29ca6a88e27f588d23d | refs/heads/master | 2021-07-23T17:21:23.250764 | 2017-10-30T00:49:13 | 2017-10-30T00:49:13 | 108,783,610 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,558 | cpp | SpeedMeter.cpp | /*
Collin Matthews - 2014
library to measure fuel flow and temperature.
Just call IncPulseCnt in the edge interrupt, feed it a temperature every now and then,
and then call FlowUpdate.
Lib version 1.1
1.0 - did not self contain temperature
*/
#include "Arduino.h"
#include "SpeedMeter.h"
SpeedMeter::SpeedMeter(lo... |
2d836ce458130d976aa93ff584c4ca4070bef5d5 | 84a3adb95d4c3340c266fd9ec0d19000f362e11f | /infoarena/ratina/main.cpp | 0bec182b9c9674b2da91c9831abd6a8483d00503 | [] | no_license | lavandalia/work | 50b4b3eb4a63a5a0d0ab8ab4670d14ecb3d71293 | a591adfd2fd2ff0fa8c65dc5829a15bc8cc60245 | refs/heads/master | 2020-05-01T02:25:31.229379 | 2017-12-17T08:39:32 | 2017-12-17T08:39:32 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,746 | cpp | main.cpp | #include <iostream>
#include <fstream>
#include <vector>
#include <algorithm>
using namespace std;
int main() {
ifstream cin("ratina.in");
ofstream cout("ratina.out");
int N, M; cin >> N >> M;
vector<string> S(N);
for (int i = 0; i < N; ++i)
cin >> S[i];
vector<int> P(N);
for (i... |
e4adac8334de620c9a657b39c1bf175b10b1aaef | bdc67ddec677652859d5af62fb9be76e232064b8 | /c++ learning/Others/Prime_factorization(11653번).cpp | 53be903ae6849579993ebae3d2863cc751e3737d | [] | no_license | vvonth/Algorithm | e1491bf95740fb6037ae4834c7bd05d38db11c88 | 7847ffd9ae32410507b93226e424b6a3886c38ae | refs/heads/master | 2023-02-16T18:31:36.631210 | 2021-01-10T03:35:25 | 2021-01-10T03:35:25 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,312 | cpp | Prime_factorization(11653번).cpp | //
// Prime factorization.cpp
// c++ learning
//
// Created by 원태희 on 04/04/2019.
// Copyright © 2019 원태희. All rights reserved.
//
/*#include <iostream>
using namespace std;
int main(void)
{
int n,i;
scanf("%d",&n);
for(i=2;i*i<=n;i++)
{ while(n%i==0)
{
cout<<i... |
25b7433ec75b7b1dcf811d08a2bb05e1959ba086 | 4ca4e2ab20b67a36ca7dc7b8401e5e01c8b4b4d2 | /Public/ShopApi.h | 27b4b0cdf4770a442e16c89aea294c3606dd6922 | [] | no_license | admin4eg/survivalshop-api | faf68a077cb4ba9b2e9d59b092d085b35d26fea0 | 8d97d4c010d86edb6c0abc50660ee6ecc60e279a | refs/heads/master | 2023-05-25T15:53:26.015174 | 2023-05-18T19:06:46 | 2023-05-18T19:06:46 | 148,482,243 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,560 | h | ShopApi.h | #pragma once
#include "Plugin.h"
#define SURVIVALSHOP_API __declspec(dllimport)
namespace SurvivalShopApi
{
typedef bool(*EquipmentFunction)(const unsigned long long steamId, const web::json::value *customItem, std::wstring *logMessage);
typedef void(*TimerFunction)(const unsigned long long id, unsigned long long... |
6001272778641310dabd4cf79b5eb169cd306345 | 6aff867d1ca170085987cc0a007c6aad6050e255 | /Source/Tutorial/AnimInstance/CEnemyAnimInstance.cpp | 09713c0b8aa5afc9b3442ac70a21b2de709af8cc | [] | no_license | tjrdud004/Ue4Tutorial | d9f8d85cf4f72c30fedebc67138e4bbecf55cbf9 | 133755f2ed57b9d397d4e3136bac6ea329c6b9d6 | refs/heads/master | 2022-10-09T15:18:55.121380 | 2020-06-09T12:57:13 | 2020-06-09T12:57:13 | 267,015,916 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 873 | cpp | CEnemyAnimInstance.cpp | // Fill out your copyright notice in the Description page of Project Settings.
#include "CEnemyAnimInstance.h"
#include "GameFramework/Character.h"
#include "GameFramework/CharacterMovementComponent.h"
#include "Enemy/CEnemy.h"
UCEnemyAnimInstance::UCEnemyAnimInstance()
{
}
void UCEnemyAnimInstance::NativeBeginPlay... |
e83f9770e057f451178e4438a6a0a9ec53512926 | c81a95338c75978747468f933cba4dfc581bddbc | /eminence/dynamicProg2/subsetSumExtended.cpp | cb9a7ddc4938eee1d876036c12797f2ad8bc2c74 | [] | no_license | swardhan/competetive | f775a8fc8f95a9ce12f61b5f6871ae77ea7e1d5c | 997e6369e8e9aeebad3034163bc1a6065185cd77 | refs/heads/master | 2018-12-24T18:03:49.693987 | 2018-10-17T14:09:34 | 2018-10-17T14:09:34 | 107,956,151 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 702 | cpp | subsetSumExtended.cpp | #include<bits/stdc++.h>
using namespace std;
bool subsetSum(int* val, int n, int sum){
bool** dp = new bool*2;
for(int i=0;i<=1;i++){
dp[i] = new bool[sum+1];
}
for(int i=0;i<=sum;i++){
dp[0][1] = false;
}
dp[0][0] = true;
int flag = 1;
for(int i=1; i<=n; i++){
for(int j=1; j<=sum;j++){... |
eeb41b918f48d97f1fed847181ad0fa172d3f0f7 | 2e270b8d6ab03c5a2566c91817f5d611f9741f78 | /C++/119.cpp | 11956151690d884497d81eccf6c0b91cb02b5842 | [] | no_license | zjjyh96/LeetCode | 9b4a3171d88936268bf59a8c33b477b177715ae6 | e9bb86f21fa88298072b1b2718bfcba22fe8df5f | refs/heads/master | 2021-05-26T07:02:34.165999 | 2019-10-15T20:13:41 | 2019-10-15T20:13:41 | 127,827,519 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 412 | cpp | 119.cpp | //
// Created by Yinhao Jiang on 2018/8/13.
//
#include <iostream>
#include <vector>
using namespace std;
class Solution {
public:
vector<int> getRow(int rowIndex) {
vector<int> ans(rowIndex+1,0);
ans[0]=1;
for(int i=1;i<rowIndex+1;i++)
{
for(int j=i;j>0;j--)
... |
783cd339a13b60c5d0815574ea074f8faffcb142 | f157a231879833ac4dfa054d9f8e5a9aa9042725 | /mtk/gui_ext/test/test-service.cpp | 7b21f3286f492f4b762dd7be0bf48fafb941d557 | [] | no_license | xen0n/android_device_meizu_arale | 3f0812dbd6f6d900ceaf05e1f8822fb6762b735b | e11e0c3611d375fdfbc2e51e26f9ef2c645b30fa | refs/heads/cm-13.0 | 2020-04-04T03:12:08.790366 | 2016-12-02T15:59:06 | 2016-12-02T15:59:06 | 41,228,374 | 51 | 55 | null | 2016-08-19T05:56:32 | 2015-08-22T23:38:47 | C | UTF-8 | C++ | false | false | 1,311 | cpp | test-service.cpp | #define LOG_TAG "GuiExt-Test"
#define MTK_LOG_ENABLE 1
#include <cutils/log.h>
#ifdef USE_PTHREAD
#include <pthread.h>
#else
#include <utils/AndroidThreads.h>
#endif
#include <binder/BinderService.h>
#include <AALService.h>
void printids(const char *s)
{
#ifdef USE_PTHREAD
pid_t pid;
pthread_t tid;
... |
41e7627ffaebb3c84c9212744cfdd2935de4a396 | a3effdcf4d0546743118897a2508f3f4a3fadded | /cs165/asteroids/source_code/imageSet.cpp | 292dda0bfe8eb48a1508c67bc0c65d871941b227 | [] | no_license | wheelerkeith/cs165 | 70a35fbd6f6ac6cad0a325240f894489e1f8e12a | e65f0fdaee1fc2757d02c7033085c7722e68852b | refs/heads/master | 2020-04-04T18:22:36.611594 | 2019-10-25T15:50:03 | 2019-10-25T15:50:03 | 156,161,184 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,252 | cpp | imageSet.cpp | #include "imageSet.h"
sf::RenderWindow* imageSet::pWndw = NULL;
sf::Color imageSet::tColor = sf::Color(0,0,0);// transparency mask color
imageSet::imageSet(void)
{
}
imageSet::~imageSet(void)
{
DLT();
}
bool imageSet::INIT( std::string fileName, int NumSets, int NumCols, int cellSzx, int cellSzy )
{
bool OK = F... |
8518eee680f8e5c8230c508bc218ab583d02bbc8 | 5a49b5da44fa9c3a585febcf3d975197d872efc9 | /SGPLibraryCode/modules/sgp_particle/core/sgp_SPARK_Interpolator.h | 40e327cf4ad4c9de769634d914c71f2a58cb77af | [
"MIT"
] | permissive | phoenixzz/SGPEngine | 1ab3de99fdf6dd791baaf57e029a09e8db3580f7 | 593b4313abdb881d60e82750b36ddda2d7c73c49 | refs/heads/master | 2021-01-24T03:42:44.683083 | 2017-01-24T04:39:43 | 2017-01-24T04:39:43 | 53,315,434 | 4 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 9,784 | h | sgp_SPARK_Interpolator.h | #ifndef __SGP_SPARKINTERPOLATOR_HEADER__
#define __SGP_SPARKINTERPOLATOR_HEADER__
class Particle;
// Constants defining which type of value is used for interpolation
enum InterpolationType
{
INTERPOLATOR_LIFETIME, /**< Constant defining the life time as the value used to interpolate */
INTERPOLATOR_AGE, /**< Cons... |
d33947cf1b97df01e1d8638c3b52892e5a39dc39 | 70418d8faa76b41715c707c54a8b0cddfb393fb3 | /10022.cpp | 41697ab1cb65a9648d2742e7b7fe9f16825de3c8 | [] | no_license | evandrix/UVa | ca79c25c8bf28e9e05cae8414f52236dc5ac1c68 | 17a902ece2457c8cb0ee70c320bf0583c0f9a4ce | refs/heads/master | 2021-06-05T01:44:17.908960 | 2017-10-22T18:59:42 | 2017-10-22T18:59:42 | 107,893,680 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,419 | cpp | 10022.cpp | #include <bits/stdc++.h>
using namespace std;
#define MAXI(a, b) (a > b ? a : b)
#define MINI(a, b) (a > b ? b : a)
int N, M, N_row, M_row, N_left, M_left, N_right, M_right, MAX;
int Find_R(int n)
{
int k;
k = sqrt((double)n);
if (k * k < n)
{
return k + 1;
}
return k;
}
int Find_L_R(int n, int row)
{
int m... |
0d81568c9a436a4be9e303aabf3d02f1b809d365 | c464c4b4ed4527d5f6f2f53b82815a8ec6b5e4fc | /test/spec/section/list_spec.cpp | 49611d0c1c8218b64e33c232fc0b16e736314849 | [
"MIT"
] | permissive | mrk21/bitfield | 210e6186c0192091ba80ca8805818f8de84c4d59 | 01dae50464ee568e0c9dc9143048cd7e348eed18 | refs/heads/master | 2020-05-05T01:35:07.902928 | 2014-06-10T04:11:22 | 2014-06-10T04:11:22 | 18,355,150 | 4 | 2 | null | 2014-06-02T12:28:08 | 2014-04-02T05:00:48 | C++ | UTF-8 | C++ | false | false | 4,457 | cpp | list_spec.cpp | #include <bandit/bandit.h>
#include <bitfield/field.hpp>
#include <bitfield/section/list.hpp>
#include <bitfield/iostream.hpp>
#include <array>
namespace bitfield { namespace section {
union list_test {
using container_type = container::array<96>;
using sections_length_type = ... |
eb60bc033f3c3ad1a6d0c244478fb62d4f0988bb | 10cd18311300d8684bd057a09a0fc088cf5c2668 | /Try some Algorithms/Fast Dijkstra/FastDijkstra.cpp | e69d3a2560a69f74bdccfc19e324923dfaf77179 | [] | no_license | jam-xd/Competitive-Programing | a2a17835bdb114740b7f8c4d478492aad075cb38 | 6e897affd33655938aa3d83e75cf4b1ee05bb017 | refs/heads/master | 2023-03-11T20:35:29.466393 | 2021-03-02T22:41:22 | 2021-03-02T22:41:22 | 336,113,893 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,891 | cpp | FastDijkstra.cpp | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef unsigned long long ull;
typedef long double dbl;
#define QuieroComer ios_base::sync_with_stdio(false); cin.tie(0); cout.tie(0);
#define FileIn freopen("input.txt", "r", stdin)
#define FileOut freopen("output.txt", "w", stdout)
#define endl "\... |
79db841a1c08abf6182d2edcbc6f718abe359112 | 7a6f95fe320efd1fbf91b8deef2591ce470c4a69 | /ex2/param_par_defaut.cpp | 23ddc0131865587b9a8d84504d497a4428712b00 | [] | no_license | AnodeGrindYo/cpp_exercices | 8cd84a2fc4b8ce0aab6129e86237d729b52bd1b1 | 2cc9221a293f137bc746552ac8bebbb0170a2f37 | refs/heads/master | 2022-01-08T04:17:18.013617 | 2017-06-26T10:59:57 | 2017-06-26T10:59:57 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,326 | cpp | param_par_defaut.cpp | #include <iostream>
#include <cmath>
using namespace std;
struct cercle
{
string nom;
double rayon;
double perimetre;
double aire;
};
double Aire(string nomducercle = "Defaut_A", double rayon = 1)
{
double aire = rayon*rayon*M_PI;
cout << "\nFonction Aire\n-------------" << endl;
cout << nomducercle << " a un ... |
920e1854783991bf43b7342dbdac5b006cc5535f | 64bd24b4f52af6594fb63d467276168288680d69 | /src/payload.cpp | 0ec111e5a47162c2f8db744a0af1dcd73c216815 | [
"Apache-2.0",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | simoncl2/snowplow-cpp-tracker | 395658c358afc1b96e6746712cf0547f04dbc3e7 | 88623326345450a74dcd0722b47e9d15b05f7bfd | refs/heads/master | 2021-01-16T20:14:06.125098 | 2016-06-09T21:49:13 | 2016-06-09T21:49:13 | 60,808,832 | 0 | 0 | null | 2016-06-09T21:38:28 | 2016-06-09T21:38:27 | null | UTF-8 | C++ | false | false | 1,518 | cpp | payload.cpp | /*
Copyright (c) 2016 Snowplow Analytics Ltd. All rights reserved.
This program is licensed to you under the Apache License Version 2.0,
and you may not use this file except in compliance with the Apache License Version 2.0.
You may obtain a copy of the Apache License Version 2.0 at http://www.apache.org/licenses/LICE... |
fd89f41fc3ecf4616f0ebf3e62c65b0eb4003269 | 6ea50d800eaf5690de87eea3f99839f07c662c8b | /ver.0.15.0.1/DefaultMobSpawner.h | a0a590c2807a20960164e8932709e41a07ad3229 | [] | no_license | Toku555/MCPE-Headers | 73eefeab8754a9ce9db2545fb0ea437328cade9e | b0806aebd8c3f4638a1972199623d1bf686e6497 | refs/heads/master | 2021-01-15T20:53:23.115576 | 2016-09-01T15:38:27 | 2016-09-01T15:38:27 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 254 | h | DefaultMobSpawner.h | #pragma once
class DefaultMobSpawner{
public:
DefaultMobSpawner(MobSpawnerBlockEntity *);
void getPos(void);
void getPos(void);
void ~DefaultMobSpawner();
void ~DefaultMobSpawner();
void ~DefaultMobSpawner();
void ~DefaultMobSpawner();
};
|
9e04d9e6422d86bbc4ad471c1b756e094035658b | c3f715589f5d83e3ba92baaa309414eb253ca962 | /C++/round-5/1401-1500/1421-1440/1431.h | 05184922ff3a3e3de897420aeae6fa22708370ac | [] | no_license | kophy/Leetcode | 4b22272de78c213c4ad42c488df6cffa3b8ba785 | 7763dc71fd2f34b28d5e006a1824ca7157cec224 | refs/heads/master | 2021-06-11T05:06:41.144210 | 2021-03-09T08:25:15 | 2021-03-09T08:25:15 | 62,117,739 | 13 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 346 | h | 1431.h | class Solution {
public:
vector<bool> kidsWithCandies(vector<int> &candies, int extraCandies) {
int max_candies = *max_element(candies.begin(), candies.end());
vector<bool> result(candies.size());
for (int i = 0; i < result.size(); ++i) {
result[i] = (candies[i] + extraCandies) >= max_candies;
}... |
b09d7055d3a975a2773623703dc6c0260a66df92 | b125a380034af850935172318cb553e7e97a0cc8 | /u_assert.cpp | b01a4f1f9edf2071fd8321414504261c6e112667 | [
"MIT"
] | permissive | graphitemaster/neothyne | 375a3f6835edeb525d2aa97f6f65d444bd1d2395 | 101dd7f96e5c62e32e797105d9fb23f975986626 | refs/heads/master | 2021-01-24T06:41:32.453686 | 2017-01-08T21:28:41 | 2017-01-08T21:28:41 | 22,590,787 | 82 | 21 | null | 2016-12-27T22:02:14 | 2014-08-04T03:27:46 | C++ | UTF-8 | C++ | false | false | 297 | cpp | u_assert.cpp | #include "engine.h"
namespace u {
[[noreturn]] void assert(const char *expression,
const char *file,
const char *func,
size_t line)
{
neoFatal("Assertion failed: %s (%s: %s: %d)", expression, file, func, line);
}
}
|
26d4565fe52d125bf0cd05219cdc38ec6d743e3f | eb3b6e912c3fca7991717d645a09d9a47a59eeb6 | /main.cpp | 3fa26ba6685a48d7045347d4c3f885465318f1f7 | [] | no_license | Vespemeon/AlgLabSem4_1 | c493d09a4b042943601ac307e259364d58c56728 | 193c91f8dc339361aa4ef3bbf724c239fee31a81 | refs/heads/master | 2020-05-29T11:31:08.994156 | 2019-05-29T00:12:33 | 2019-05-29T00:12:33 | 189,119,925 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 183 | cpp | main.cpp | #include "linkedList.h"
int main() {
List<int> *list = new List<int>({ 13, 19, 16, 8 });
list->insert(15, 3);
std::cout << *list << std::endl;
system("PAUSE");
return 0;
}
|
15e1d17a7569a22b86d4745aefb2affd0d746f25 | 9d6ddd684d04e13713111c2a6cc8456f0d5dde19 | /Main_Arduino/Main_Arduino.ino | 826f8b8c8dcdb31e7dc91e8fa8d478d929afac70 | [
"MIT"
] | permissive | AndresBercovich/Motorghino | 3778f6506a4ecacae62e9c111b57d3fe7fc4498c | 8740f385d67750cf51d5417292aa4df3828a6090 | refs/heads/main | 2023-01-21T18:04:52.880547 | 2023-01-09T20:21:24 | 2023-01-09T20:21:24 | 240,085,927 | 2 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 248 | ino | Main_Arduino.ino | #include <SPI.h>
#define CS_Motorghino_L 7
#define CS_Motorghino_R 8
int a, b;
int l_a, l_b;
long s_L, l_s_L, rev_L = 0;
int d_wheel = 32;
void setup() {
Serial.begin(115200);
motorghino_begin();
}
void loop() {
systick();
}
|
39ca1e3e5590f4492f508f1f232e50bfccbecd97 | fcdce5a6f6e75f28a8998a08f54fd452a3c91f0f | /02_VECTORES/vectores_9.cpp | 21be196ef0aebd3ba89e98263ff089d4e8cf230b | [] | no_license | pablolizardo/TSP | a118a7db552f7b406ab4298bc47f97e3e9a2f452 | 9ff001231664887cd4b607f5d934406a7f983328 | refs/heads/master | 2021-01-20T18:28:17.123932 | 2016-06-24T21:32:13 | 2016-06-24T21:32:13 | 61,912,727 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 802 | cpp | vectores_9.cpp | #include <cstdlib>
#include <iostream>
using namespace std;
int main(int argc, char const *argv[]) {
int n = 0;
cout << "Ingrese la cantidad de alumnos -> ";
cin >> n;
int trim1[n], trim2[n], trim3[n], prom[n] ;
for (int i = 0; i < n; ++i)
{
trim1[i]=0;
trim2[i]=0;
trim3[i]=0;
prom[i]=0;
}
for (int i = ... |
dd74b1e003ac949cc6708b30e2db8a3508371c7e | b794490c0e89db4a3a4daabe91b2f057a32878f0 | /PE/Debugger/EasyDbg/src/ExportTable.cpp | c2f9bcc53bb564f9d78c9607b7325e03fa14b251 | [] | no_license | FusixGit/hf-2011 | 8ad747ee208183a194d0ce818f07d312899a44d2 | e0f1d9743238d75ea81f1c8d0a3ea1b5a2320a16 | refs/heads/master | 2021-01-10T17:31:14.137939 | 2012-11-05T12:43:24 | 2012-11-05T12:43:24 | 50,957,230 | 3 | 8 | null | null | null | null | GB18030 | C++ | false | false | 5,573 | cpp | ExportTable.cpp | // ExportTable.cpp : implementation file
//
#include "stdafx.h"
#include "EasyDbg.h"
#include "ExportTable.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CExportTable dia... |
f72841897cbf33322ca7cf68c5abe29637f4e7b2 | cb3d8088e0894d9fadaeb3313af850660dff29de | /src/Vulkan/VulkanObjectCreation/InstanceCreation.cpp | 3c041961a2ab2076812b395240cf986c1d5e5df4 | [
"MIT"
] | permissive | GJHap/VkPong | 851c900152636ffaa3f957974cb47db6e57962d4 | bedb9bce32fb3be98a283df02b803d230e5c0176 | refs/heads/master | 2022-04-10T03:59:42.790289 | 2020-03-23T02:02:39 | 2020-03-23T02:02:39 | 242,434,854 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,647 | cpp | InstanceCreation.cpp | #include "InstanceCreation.hpp"
#include "GLFW/glfw3.h"
namespace vkPong
{
const static std::vector<const char*> INSTANCE_EXTENSIONS
{
"VK_EXT_debug_report"
};
const static std::vector<const char*> INSTANCE_VALIDATION_LAYERS
{
"VK_LAYER_LUNARG_standard_validation"
};
static std::vector<const char*> getVu... |
0b5479e757138b827f3b44f95aebf4efd3154b91 | 363ff47ec32297c25c43840d12dae4497b5f0b32 | /include/Utils/Matrix.h | b05cf912193187f30a9c168b9137e023f276bb0d | [
"MIT"
] | permissive | pyomeca/biorbd | 0fd76f36a01bce2e259ddea476d712c60fb79364 | 70265cb1931c463a24f27013350e363134ce6801 | refs/heads/master | 2023-06-25T21:07:37.358851 | 2023-06-22T13:38:47 | 2023-06-22T13:38:47 | 124,423,173 | 63 | 43 | MIT | 2023-09-14T14:40:58 | 2018-03-08T17:08:37 | C++ | UTF-8 | C++ | false | false | 2,238 | h | Matrix.h | #ifndef BIORBD_UTILS_MATRIX_H
#define BIORBD_UTILS_MATRIX_H
#include "biorbdConfig.h"
#include "rbdl/rbdl_math.h"
namespace BIORBD_NAMESPACE
{
namespace utils
{
///
/// \brief A wrapper for the Eigen::MatrixXd
///
#ifdef SWIG
class BIORBD_API Matrix
#else
class BIORBD_API Matrix : public RigidBodyDynamics::Math::Matr... |
ce48d695d58a2a3f966561f1278a63ce2203ef65 | b57d616af751914298914d94cb42fde311e48cf2 | /Going_Quackers_Framework/Code/EngineBase/Game Systems/Components/GrapplingHook.h | 48ac99c51be037cb8a82d8346a1ac8b57279b015 | [] | no_license | JennyBeanTheSkelepun/GGD-GoingQuackersFramework | b2ef18de2926ac589e727f8872f9c4f6a4b0844f | a324237b7a34b015511088b6f8c5976dc50a87fd | refs/heads/main | 2023-05-30T12:50:56.385037 | 2021-06-08T09:30:45 | 2021-06-08T09:30:45 | 333,702,828 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,948 | h | GrapplingHook.h | #ifndef _GRAPPINGHOOK_H_
#define _GRAPPINGHOOK_H_
#include "Component.h"
#include "../../Data Structures/Vectors.h"
class GrapplingHook : public Component
{
public:
GrapplingHook(GameObject* owner);
~GrapplingHook();
//- Basic Loops -//
void OnDestroy() override;
void Update() override;
//- ImGui UpdateLoop -... |
1e06bc68dd1ee257759ba3321c59538575659b88 | 6666e7a941745462a00855aafa61a97f8a58ee47 | /Test/include/EventAction.h | 1804ea64ab165ac0acfe84b1053e347d035da8db | [] | no_license | IvyHong/2nd-SchoolPC | 572c61ea8e13bad06259d2f04d112286f0ee9b22 | 462a377ad64b83f327f44c060d7e56d95c4df602 | refs/heads/master | 2020-04-08T12:27:04.453896 | 2014-02-01T15:54:15 | 2014-02-01T15:54:15 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 609 | h | EventAction.h | #ifndef EVENTACTION_H
#define EVENTACTION_H
#include "G4UserEventAction.hh"
#include "globals.hh"
#include "RunAction.h"
#include "G4ThreeVector.hh"
class RunAction;
class HistoManager;
class G4HCofThisEvent;
class EventAction : public G4UserEventAction
{
public:
// Constructor
EventAction();
// Destr... |
35f5c499970304752f604a39f825c78e19660350 | fbf0b22759588eafab029b7c1253eccbae0068c3 | /Sources/Utils/Bounds.hpp | 8a45b80f889f73816f3641bc416c05a7ab4aacad | [
"MIT"
] | permissive | facybenbook/LightweightGraphicCore | a835230f91aa1cc04cf6d58bb60b78b50359b1e5 | 655ed35350206401e20bc2fe6063574e1ede603f | refs/heads/master | 2022-01-15T04:08:39.888594 | 2019-06-22T15:15:14 | 2019-06-22T15:15:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 942 | hpp | Bounds.hpp | #pragma once
#include <iostream>
#include <string>
#include "IncludeDeps.hpp"
#include GLM_INCLUDE
namespace LWGC
{
class Bounds
{
private:
glm::vec3 _min;
glm::vec3 _max;
public:
Bounds(void);
Bounds(const glm::vec3 & min, const glm::vec3 & max);
Bounds(const float x1, const float y1, const f... |
3af998c0862232e3dba0944cf551f296b8ad3d14 | ac7fffccaf78a6496dd7211866b7e0b6118a83d0 | /Information.h | 2c905ac14234414a7f274d5ab230c151d33b07a7 | [] | no_license | mohammadalikhasi/AP_SEC_PRO | f8426a1c34427821b7832e14f32e344212229b5d | 01ff887924dd2ac612f2e1003b01c56e7ad1974e | refs/heads/main | 2023-06-17T02:06:46.092600 | 2021-07-22T02:43:40 | 2021-07-22T02:43:40 | 387,844,398 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 974 | h | Information.h | #ifndef INFORMATION_H
#define INFORMATION_H
#include <QDialog>
#include <QPushButton>
#include <QGridLayout>
#include <QLabel>
#include <QLineEdit>
#include <QComboBox>
namespace Ui {
class information;
}
class information : public QDialog
{
Q_OBJECT
QPushButton *cls;
QLabel*user1,*user2,*user3,*col1,*col... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.