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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
be40cfe67bd6b5412efc5f2bb9214b9dfedc651a | 7e48d392300fbc123396c6a517dfe8ed1ea7179f | /RodentVR/Intermediate/Build/Win64/RodentVR/Inc/TemplateSequence/TemplateSequenceActor.generated.h | 7cf7d8b5f9425d9939c2beeaff5223cf8ccfc7d2 | [] | no_license | WestRyanK/Rodent-VR | f4920071b716df6a006b15c132bc72d3b0cba002 | 2033946f197a07b8c851b9a5075f0cb276033af6 | refs/heads/master | 2021-06-14T18:33:22.141793 | 2020-10-27T03:25:33 | 2020-10-27T03:25:33 | 154,956,842 | 1 | 1 | null | 2018-11-29T09:56:21 | 2018-10-27T11:23:11 | C++ | UTF-8 | C++ | false | false | 7,406 | h | TemplateSequenceActor.generated.h | // Copyright Epic Games, Inc. All Rights Reserved.
/*===========================================================================
Generated code exported from UnrealHeaderTool.
DO NOT modify this manually! Edit the corresponding .h files instead!
========================================================================... |
7866d68ebd2ea0c47d85077a58184aae29ae1840 | 6627d27fc69922f179b14b612b366bbf0bc4eff9 | /old/robots/claymore/util/pwm_transcriber.h | a16d3b52e94f30d52cb718ffe54c69dc63a2927a | [] | no_license | errorcodexero/newarch | 1a4773377197174ae58b6e4ef6d670bf197c643b | e69a864012e09548014ad208affeb8901835a654 | refs/heads/master | 2021-06-03T16:28:41.840622 | 2020-03-15T18:15:08 | 2020-03-15T18:15:08 | 139,747,384 | 9 | 6 | null | 2020-01-31T05:35:34 | 2018-07-04T16:54:36 | C++ | UTF-8 | C++ | false | false | 4,130 | h | pwm_transcriber.h | #ifndef PWM_TRANSCRIBER_H
#define PWM_TRANSCRIBER_H
#include <map>
#include <set>
#include <iostream>
#include <cassert>
#include <cmath>
class PWM_transcriber{ //This class is used to manage conversion of a data set to unique PWM values for transmission
private:
class Transcriber_base{//This class is used to repre... |
7da0fc1860a27a85007c253510f7db6d75ed4e09 | 83aca81ee006fb1b4b965e746786e5276d218cb6 | /2018/include/maya/MStreamUtils.h | a568f33f3e30b77c4260293879f2390cbc0ac359 | [] | no_license | smart-tai/maya_SDK | cef4d73b812d294ad44e89b714b46c18929965e1 | 9549d16c028880f2c4735b7b371ca8bc427a7d0e | refs/heads/master | 2023-02-23T03:25:12.113515 | 2020-03-21T08:29:17 | 2020-03-21T08:29:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,345 | h | MStreamUtils.h | #ifndef _MStreamUtils
#define _MStreamUtils
//-
// ===========================================================================
// Copyright 2017 Autodesk, Inc. All rights reserved.
//
// Use of this software is subject to the terms of the Autodesk license
// agreement provided at the time of installation or download, o... |
b44e7b50ecb6012baeb06186bb598a1aed2cdbf4 | 9dadd5a4d77ccf063374c758c15e4ab8c8eba76d | /Delays.hpp | a5e9dd6f8ca3c5b229ce955b219ae5722c09c02b | [] | no_license | thomasmaters/A2B-Applicatie | efd1f7cb63a1fd18c685e34f994ab1d12600eb63 | 089c09b1cd8049c9207ec2938328c5e68983eb81 | refs/heads/master | 2021-01-10T02:35:06.692442 | 2015-10-06T13:12:16 | 2015-10-06T13:12:16 | 43,670,436 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 414 | hpp | Delays.hpp | #ifndef DELAYS_H
#define DELAYS_H
#include <string>
#include <vector>
#include <list>
#include <iostream>
#include <assert.h>
#include "TrafficData.hpp"
class Delays : public TrafficData
{
public:
Delays():
TrafficData(),
delay(0),
startTime(0)
{};
Delays(const Delays& aDelays):
TrafficData(),
delay(0),... |
d195a0e0ddda40ac3868d1f0319bc634c704e3ba | 772fa05727dab9f9ee4bf8ae7ba21226b70e7117 | /practice/priority queue/test.cpp | 5ee1b115ac9a6824f603ee90d58d8b103901ccc1 | [] | no_license | harshrajdhote/programs | b0692271dac6371211222b0a8a560df49907a23a | aab92d219ef353cce8cf97a36e5b8cc2f2826ab4 | refs/heads/master | 2021-07-10T14:13:20.251029 | 2020-11-01T15:01:11 | 2020-11-01T15:01:11 | 203,723,595 | 3 | 2 | null | 2020-08-14T08:07:16 | 2019-08-22T05:53:12 | Python | UTF-8 | C++ | false | false | 83 | cpp | test.cpp | #include<stdio.h>
int main(){
while(1){
int *a = new int[1000];
}
} |
3f4c64066151088805ee9af7a1a57a57f59cd2a2 | 0f9ca909d2aeb502a3c8368123410c29426bb4ce | /L_Piece.h | 9557adb71da00497dd09e6c659bea51322a9d836 | [] | no_license | Hami0095/Tetris-Game_Console_Game | 0f1da4effc28622fbccc2e6915db57ff2a738246 | 13b40b922370149918ee6cc0e6eba7ba8018ec1d | refs/heads/main | 2023-02-13T10:46:53.560002 | 2021-01-03T19:30:26 | 2021-01-03T19:30:26 | 326,365,183 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 946 | h | L_Piece.h | #ifndef L_PIECE_H
#define L_PIECE_H
#include<iostream>
#include"Block_Class.h"
using namespace std;
class L_Piece :
public Block
{
private:
friend class Board;
public:
L_Piece();
// _____________Completed_____________
// complete pack for the movement of the piece :)
void move(string, Boar... |
e49c73148014fd08d53276877f24f163b503688a | 1e78e98969b6f530f7e4dcc310de957dbd805af3 | /midistance/PeriodicityCheck.cpp | 3c7ff20d9c8b166dcf6287ddabcead8335428922 | [] | no_license | blyw/g96x.hdf5 | 748fb90bcd5af25add4a80bf25ad99da8c887f2f | 1a83406b05666c2e08b7b50cce0adbdef8ebdf06 | refs/heads/master | 2021-01-17T11:38:19.092745 | 2015-03-14T13:52:48 | 2015-03-14T13:52:48 | 32,190,211 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,139 | cpp | PeriodicityCheck.cpp | #include "PeriodicityCheck.h"
PeriodicityCheck::PeriodicityCheck()
{
}
PeriodicityCheck::~PeriodicityCheck()
{
}
void PeriodicityCheck::NearestImagesFinder(Structs::FrameGeometric *framedata, Structs::GenericParameters *me, Structs::FrameoutReferenceGrids *grids)
{
std::cout << framedata->frame_id << std::endl... |
a6b0fefe6033da50e986178f98122369ba4f1607 | e9f7c2afaff32570872f93646e2a41db39ca8c30 | /C++_code/bingchaji23.cpp | adce21a36ecb9c9b26a865e303fbbac88fd2053d | [] | no_license | czkct/My_code | f49ed33c73776ae4767201a9aabc6fa76f447c29 | 37b04bb5429911aeec540af988a65a3fed02d70a | refs/heads/master | 2016-08-11T14:08:47.547447 | 2015-12-19T10:10:04 | 2015-12-19T10:10:04 | 47,608,222 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,344 | cpp | bingchaji23.cpp | #include<iostream> //此题中并不会使各个大型集合(除了给出的一对一对的点)相互合并到一起
#include<cstring> // 所以每个集合都可以维护一个相应的 自身元素个数变量 setMAX
#include<cstdio>
#include<algorithm>
using namespace std;
const int MAXN = 10000000+10;
int setMAX[MAXN]; //初始化值都应该是 1
int pre[MAXN]; //初始化值都应该是自己
void init(){
for(int i = 1; i <= MAXN; i++) {
pre[i]... |
ee56d02970c9b1989ab285ba0a50dee0f633364d | 08b3f234d56e71e80e4cd973c25f85ab354268e8 | /AliBazar Project Version 3.0/Password_Vali_Asterisk.h | 98f4f7feefb0923b921ef90c2899e311513f9354 | [] | no_license | Anurag22022/cpp-projects | 2044b8962e9e7bf3344b99631d2e9b4670c42e0e | 9ef3d35773da4dfdc9ed37c8cdade623cbf86ca5 | refs/heads/master | 2023-06-10T18:57:10.009551 | 2021-06-29T07:00:21 | 2021-06-29T07:00:21 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,147 | h | Password_Vali_Asterisk.h | #pragma once
#include <iostream>
#include <string>
#include <conio.h>
using namespace std;
// Global variables
string Password_Val, Change_Val; char Letter_Val; int Length_Val;
////////////////////////////////////////////////
void F_Password_Val() {
Password_Val = "";
Parol_Sign = "";
cout << "\t\t\t\t\... |
0dcc7b1d97d9ded8bc5da39e7c8755e8e7295a72 | e274becd012db0712acf745b9aa4a911b7021d8f | /Linux/src/control/lightcontroller.cpp | 7b8ff38fa9aa2b51f518cdfa879ff38ea17cc8da | [] | no_license | Aaronyoungjs/AutoCar | c038858c3069b24f54239bc5f9b2330e946bd09a | 7e4bab42ca83e77db50a304f85750ee43b2427c2 | refs/heads/master | 2021-05-05T09:10:26.114793 | 2016-09-21T06:28:58 | 2016-09-21T06:28:58 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 687 | cpp | lightcontroller.cpp | #include "lightcontroller.h"
#include "config.h"
LightController::LightController()
{
setControllerName("Light Controller.");
setControllerType(Controller::MISC);
light = new LED(100, 255);
sensor = new Brightness();
light->setPin(4);
setLevel(DEF_LEVEL);
setDelay(DEF_DELAY);
start = t... |
123878360bde363c43fbe711634d6de3ad07ebc4 | 11297b3ac40dafbd68f6cc87e83492dcd5eb9c45 | /lib/compiler/hostfunc/wasi/fd_FdstatSetFlags.cpp | 5b15b1aa067751ed9fc0d85603e60b1fd591da81 | [
"BSD-3-Clause",
"CC0-1.0",
"Apache-2.0"
] | permissive | ewasm-benchmarking/SSVM | 833da9e073f7081e6c5ea3a82126b7fe5c0ba2c7 | d0906726bd5c91568ec4c8effb82735baf364fa9 | refs/heads/master | 2022-10-11T18:53:13.665582 | 2020-05-06T14:33:00 | 2020-05-06T15:44:36 | 262,974,748 | 1 | 0 | null | 2020-05-11T07:48:10 | 2020-05-11T07:48:09 | null | UTF-8 | C++ | false | false | 876 | cpp | fd_FdstatSetFlags.cpp | // SPDX-License-Identifier: Apache-2.0
#include "compiler/hostfunc/wasi/fd_FdstatSetFlags.h"
#include <algorithm>
#include <fcntl.h>
#include <unistd.h>
namespace SSVM {
namespace Compiler {
uint32_t WasiFdFdstatSetFlags::run(uint32_t Fd, uint32_t FdFlags) {
int Flags = 0;
if ((FdFlags & __WASI_FDFLAG_APPEND) != ... |
af8adbb5af670959aea8585ee9d8bffc00431d88 | 315f1de5835d38669c9777e8009709d80ff3d04e | /spatial/core/resources/chiselgen/template-level/fringeVCS/DRAMSim2/CSVWriter.h | e19156392b2b0a65cfc34127b998cc38a73bb522 | [
"MIT"
] | permissive | stanford-ppl/spatial-lang | 751dcadfc38770f7a0b65e701f3e6aa5ef50e146 | 55e9a67b28f83caf3606e0c7bbead82a12cfbd2a | refs/heads/master | 2023-03-08T17:55:24.007295 | 2018-11-14T22:07:39 | 2018-11-14T22:07:39 | 78,697,642 | 109 | 15 | MIT | 2018-04-12T10:44:07 | 2017-01-12T01:47:41 | Verilog | UTF-8 | C++ | false | false | 6,894 | h | CSVWriter.h | /*********************************************************************************
* Copyright (c) 2010-2011, Elliott Cooper-Balis
* Paul Rosenfeld
* Bruce Jacob
* University of Maryland
* dramninjas [at] g... |
32c06521ec2c2adf1712368b7b447cc624e63854 | e4af51f2f57daa1f764f7af47e9f05fcd6a32829 | /DeferMySponza/source/MyView.cpp | 7c86681b35aa7311455b56b4ca53323880b15def | [] | no_license | Patryk-Szylin/Real-Time-Graphics | 5fea28b7c1c478f2c9400f89a4be547b75ba1931 | d482e114df337ac6bec1d61726f10d0949f5080c | refs/heads/master | 2020-03-17T06:11:19.073551 | 2018-05-14T10:38:01 | 2018-05-14T10:38:01 | 133,345,167 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 31,004 | cpp | MyView.cpp | #include "MyView.hpp"
#include <scene/scene.hpp>
#include <tygra/FileHelper.hpp>
#include <tsl/shapes.hpp>
#include <glm/gtc/matrix_transform.hpp>
#include <glm/gtc/type_ptr.hpp>
#include <iostream>
#include <cassert>
MyView::MyView()
{
}
MyView::~MyView() {
}
void MyView::setScene(const scene::Context * scene)
{... |
8be4fb3a93b78e326cf8ab6aa5e8991f7937fb4c | 98e7b300f79707cc2151b2b1da991c8559270bca | /src/world.cpp | 9f746325188f3a6d2e5c915ea359d44ba7cf39f7 | [] | no_license | qnope/TutorialPhotonMapCPU | 8849373547f71f2dd0a2b4b5b1540132a93c31ef | 5d1ea7b2052af6c7d012752b302f901badcb3a36 | refs/heads/master | 2016-09-06T15:09:03.339513 | 2015-09-06T20:59:11 | 2015-09-06T20:59:11 | 41,703,734 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,421 | cpp | world.cpp | #include "include/world.hpp"
World World::world;
Random Random::random(1'000'000);
using namespace std;
using namespace glm;
vec3 getRadianceFromNearest(Ray const &_ray) {
Ray ray = _ray;
auto nearest = World::world.findNearest(ray);
if(get<0>(nearest) != nullptr) {
ray.distMax = get<1>(nearest);
... |
529b91ff51f9e17e970e423b8b8e016ef7f9f0fb | db92a3f5f885a6733b385531f0109bfdb2cdca72 | /src/application/Component/button/graphics/tlgraphicspushbutton.cpp | fae9c67a32419ff0f952fd9fe98cf7de6542521c | [] | no_license | zb872676223/QtFor2048 | fa850329fc8102088bc2cd375af849ca40a47a91 | b31dff79294e9ffeb2298a0bb7982883b6987bba | refs/heads/master | 2022-12-18T20:15:57.280852 | 2020-09-29T15:01:34 | 2020-09-29T15:01:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 725 | cpp | tlgraphicspushbutton.cpp | #include "tlgraphicspushbutton.h"
#include <QPainter>
TLGraphicsPushButton::TLGraphicsPushButton(QGraphicsObject *parent)
: TLGraphicsBaseControl(parent)
{
}
void TLGraphicsPushButton::paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget)
{
painter->setRenderHint(QPainter::Antial... |
7b38ea2628afe94288d0ea0a2d94e8e6754db527 | 6b2a8dd202fdce77c971c412717e305e1caaac51 | /solutions_5708921029263360_0/C++/AlexAlvarez/solution.cc | ce8f41971f79cc788dab33954931cad60e5d4135 | [] | 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 | 3,044 | cc | solution.cc | #include <iostream>
#include <map>
#include <vector>
#include <algorithm>
using namespace std;
using ll = long long;
struct Triple
{
Triple() { }
Triple(int xx, int yy, ll mmask) : x(xx), y(yy), mask(mmask) { }
bool operator<(Triple const& other) const
{
if (x == other.x)
return y == other.y ? mask... |
3da202ce9b79e806bc39f36be8a12fe80e9bb547 | 6dd2d01228723a70bf245fd726ad640a0b800c95 | /include/inter.h | da3515dee7af4cded42103444bcf3eeea626db3f | [] | no_license | kederiku/RTS | 63d2b810139f75d07718c1c7b97359346d7fa480 | 806dbaad5928e72584e01fc90ff465469ed6fec2 | refs/heads/master | 2021-01-19T08:20:29.521411 | 2013-02-07T10:36:30 | 2013-02-07T10:36:30 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,164 | h | inter.h | #ifndef __INTER_H__
#define __INTER_H__
#include "info.h"
#include "Lib2D.h"
#include "enums.h"
class Building;
class Player;
class Unit;
class Ressources;
struct t_products
{
Lib2D::Container* container;
t_cost* cost;
};
class Inter : public Lib2D::Container
{
Lib2D::Image* __building;
Lib2D::Label* __name;... |
07d628c087515ac546989293ccc6a2a18e2e5a67 | 832c996f157f15f09b699c5d4659be63cf568d64 | /入门综合练习1/三连击升级版.cpp | 7a95c296c2284d8b76db2ae791e2a5614fb56e91 | [] | no_license | lzh66666/luogu | c94d1296da4ec3b96fe19d05bc44397f19be3a9c | 216b242d717df4c53ca468436a3cc772f3c2be19 | refs/heads/master | 2020-07-16T16:46:25.304856 | 2020-01-14T10:53:45 | 2020-01-14T10:53:45 | 205,826,912 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 721 | cpp | 三连击升级版.cpp | #include<stdio.h>
#include<string.h>
int a[10];
int count = 0;
int main(){
int d,e,f;
scanf("%d%d%d",&d,&e,&f);
for (int x=1;x<=1000/f;x++){
int i=x*d,j=x*e,k=x*f;
if(j>999 || k>999)
break;
int o=i,p=j,q=k;
int flag=0;
memset(a,0,sizeof(a));
while(i>0){
... |
25b3d2467f54dac5597a9f4af353e60d5ccd1faf | aea4d46a9150efdc502453b275f014a5a9b6c04d | /config_proc.h | e04332655cf2dbc8d392ec13bad0705ec03fcd7d | [
"MIT"
] | permissive | JetLinWork/qt_xml_in_dir | 9f34f90609b61eceef68de65e6562e6dedd9b974 | e122a6c7df2fe6dd29bcc1dea267810e04c4a94b | refs/heads/main | 2023-03-16T02:19:04.215874 | 2021-03-06T07:46:11 | 2021-03-06T07:46:11 | 345,027,716 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,462 | h | config_proc.h | #ifndef CONFIG_PROC_H
#define CONFIG_PROC_H
# include <stdio.h>
# include <stdlib.h>
#include <QDomDocument>
#include <QFile>
#include <QTextStream>
#include <QTextCodec>
#include <QMessageBox>
#include <QFileInfo>
#include <QDir>
#include <QFileDialog>
#include <QDebug>
namespace Ui {
class ConfigProc;
class AppfsV... |
6c0db6cdff0c60ea191c4e2662d74ad742c57635 | db0da227137c5819bdff6da365c3dff7ad484092 | /training contest (NEERC)/题解/neerc-2015-archive/adjustment/adjustment_pkun.cpp | d12d23a1a8f5870d85ed501498e20c548ad2a090 | [] | no_license | hzy9819/ICPC-Problem-Code-Solution | 79351c4a86c113742ab4431ab3581691a87274eb | 7e6ffc0019cc40291456c129f0b541f7e58137a3 | refs/heads/main | 2023-03-30T05:26:55.686854 | 2021-04-10T09:52:56 | 2021-04-10T09:52:56 | 356,527,484 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,152 | cpp | adjustment_pkun.cpp | //#include <iostream>
#include <fstream>
#include <vector>
#include <set>
#include <map>
#include <cstring>
#include <string>
#include <cmath>
#include <cassert>
#include <ctime>
#include <algorithm>
#include <sstream>
#include <list>
#include <queue>
#include <deque>
#include <stack>
#include <cstdlib>
#include <cstdi... |
c3006b18b01900cb7028e429db201bac1a09cb5c | 3401f7be14ae1f4a7b94bf765f286de8cac76097 | /Board.h | 2518c444442147f142f63233d14a213493a76a85 | [] | no_license | KockataEPich/Chess | 32809a416f52e583a145ae5593fb027f67c1e5cb | a2b1b855db0e55a5e8fe62346bf64f2e67a6fe7e | refs/heads/master | 2023-08-03T03:53:29.806590 | 2021-07-03T17:44:07 | 2021-07-03T17:44:07 | 369,745,036 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 991 | h | Board.h | #pragma once
#include "Square.h"
#include "Move.h"
#include "Player.h"
#include "PlayerEnum.h"
#include <vector>
#include <memory>
class Square;
class Move;
typedef std::shared_ptr<Square> shr_sqr;
typedef std::vector<shr_sqr> sqr_vec;
typedef std::vector<sqr_vec*> board_vec;
typedef std::vector<std::shared_ptr<Ches... |
69d4f785873579f2f59011c16ecaca5adc1b6b00 | 019a9c2de0eeccb4f31eecbeb0e91cc2db5404c2 | /LeetCode/1207. Unique Number of Occurances.cpp | d68331722ded6a69a5e02fd217874c1e55632f71 | [] | no_license | Prakhar-FF13/Competitive-Programming | 4e9bd1944a55b0b89ff21537e0960f058f1693fd | 3f0937475d2985da323e5ceb65b20dc458155e74 | refs/heads/master | 2023-01-09T05:09:27.574518 | 2023-01-04T11:32:01 | 2023-01-04T11:32:01 | 133,995,411 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,386 | cpp | 1207. Unique Number of Occurances.cpp | #include<iostream>
#include<cstdio>
#include<string.h>
#include<climits>
#include<sstream>
#include<vector>
#include<stack>
#include<queue>
#include<set>
#include<map>
#include<unordered_map>
#include<unordered_set>
#include<cmath>
#include<algorithm>
#include<numeric>
#include<functional>
using namespace std;
typedef... |
9f70161c3c25801cae05dffb85bc16e079509065 | ec9ae74d76b85fc732919e08a29a0cebf8fc77dd | /src/XDxCoreLibrary/XSRVManager.cpp | 307841b20d3d4992ec5c8efa81f3ae6992003e28 | [] | no_license | shkuk88/MapTool | 681759d38d55b87637a458c6e651e7c6fee8ac12 | b9ff8691eccae9e4e6b385964fe14d9bbae8b61a | refs/heads/master | 2020-04-09T11:03:38.434647 | 2019-01-18T02:10:32 | 2019-01-18T02:10:32 | 160,293,868 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 749 | cpp | XSRVManager.cpp | #include "XSRVManager.h"
TString XSRVManager::Add(ID3D11Device* pd3dDevice, TString szTexture)
{
TString sz = szTexture;
for (auto iter : m_SRVList)
{
if (iter.first == szTexture)
return iter.first;
}
ComPtr<ID3D11ShaderResourceView> pSRV = NULL;
hr = D3DX11CreateShaderResourceViewFromFile(pd3dDevice, szT... |
e385efc9541c064c60f4248629f423c3c1d791ac | cd2e59f2fd3a1c0eb5fa6f58288a046118f6bce6 | /squirrel_recognition/src/test_recognizer2d.cpp | b69b8b42963bfc61b5a251e92cff5c8fd690fc5c | [] | no_license | squirrel-project/squirrel_perception | 2b1834f33aca3367b9a8f7288ed3db271558d4dd | 0fdfd1f2753daf4fe97955a88cc65021b64249f2 | refs/heads/indigo_dev | 2021-01-20T10:46:22.646839 | 2018-03-15T15:50:12 | 2018-03-15T15:50:12 | 19,309,285 | 1 | 7 | null | 2018-04-03T08:14:02 | 2014-04-30T09:51:59 | C++ | UTF-8 | C++ | false | false | 4,725 | cpp | test_recognizer2d.cpp | /*
* main.cpp
*
* Created on: Feb 20, 2014
* Author: Thomas Faeulhammer
*/
#include <ros/ros.h>
#include <sensor_msgs/Image.h>
#include <std_msgs/String.h>
#include <image_transport/image_transport.h>
#include <cv_bridge/cv_bridge.h>
#include <sensor_msgs/image_encodings.h>
#include <v4r/common/pcl_opencv.... |
a1feaab2f1cab3f2fe07acca4ef4fca863ea9b2b | ed9d316a879bbdcbc221ef5e36423e086dddc08e | /src/npgsl/npRandom.h | c68b1fb292a65b53f2b5bd9ed5f29742b60b69f0 | [] | no_license | npadmana/nputils | 005d2bcbf96c3ef245ebde01082849b1af207888 | c7ddb580be2dd949b581ae2db93e32c1452bd496 | refs/heads/master | 2021-01-18T17:25:12.947905 | 2013-02-02T04:58:36 | 2013-02-02T04:58:36 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,942 | h | npRandom.h | /*
* npRandom.h
*
* Created on: Jul 20, 2012
* Author: npadmana
*/
#ifndef NPRANDOM_H_
#define NPRANDOM_H_
#include <gsl/gsl_rng.h>
#include <gsl/gsl_qrng.h>
#include <vector>
#include <Eigen/Core>
/** Wrapper around the GSL random number generators
*
* Automatically switches to using the Mersenne Twis... |
2204b03f3e9ef2cd7b0d2ff596320dc387f05aa2 | 6d54a7b26d0eb82152a549a6a9dfde656687752c | /examples/android/CHIPTool/app/src/main/cpp/native-lib.cpp | 4a0235adbff06ec2f6c10a60a71a643179c0165e | [
"Apache-2.0",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | project-chip/connectedhomeip | 81a123d675cf527773f70047d1ed1c43be5ffe6d | ea3970a7f11cd227ac55917edaa835a2a9bc4fc8 | refs/heads/master | 2023-09-01T11:43:37.546040 | 2023-09-01T08:01:32 | 2023-09-01T08:01:32 | 244,694,174 | 6,409 | 1,789 | Apache-2.0 | 2023-09-14T20:56:31 | 2020-03-03T17:05:10 | C++ | UTF-8 | C++ | false | false | 1,406 | cpp | native-lib.cpp | /*
* Copyright (c) 2020 Project CHIP Authors
* All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
... |
3f5d0ccfb9f0b49d9e920620dd4d3a8bda93d17d | 5a7d3db1f4dc544d47430dcecf9de5ae2990fe88 | /.emacs.d/undohist/!home!sirogami!programming!compe!AtCoder!ARC!059!d2.cc | 84b905db7953007d522b5e833a2495cfd31bc45a | [] | no_license | sirogamichandayo/emacs_sirogami | d990da25e5b83b23799070b4d1b5c540b12023b9 | c646cfd1c4a69cef2762432ba4492e32c2c025c8 | refs/heads/master | 2023-01-24T12:38:56.308764 | 2020-12-07T10:42:35 | 2020-12-07T10:42:35 | 245,687,325 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,569 | cc | !home!sirogami!programming!compe!AtCoder!ARC!059!d2.cc |
((digest . "98d19acffa406b2ade6c020bc7de48ec") (undo-list nil (440 . 441) nil (432 . 440) nil (427 . 432) nil (412 . 413) nil ("2" . -412) ((marker . 441) . -1) 413 nil (409 . 414) nil (407 . 409) nil (406 . 407) nil (404 . 405) (403 . 405) ("\"" . -403) (403 . 404) ("\"" . -403) (402 . 404) nil (400 . 402) nil (396 .... |
0ef11e7d0f830c7cfdf3edd18cb486b2090c10ba | addaa6d642e791808c50c5b7b1671d9ba5ce9314 | /src/gui/votedialog.hpp | 70995b50c3a4880caa1850ac06667b89bceeda9a | [] | no_license | JRandomHacker/CS429-Avalon | 2418c1a852e44029d920d8628602b1e1e669526a | 6daa935a111ce7238ba7bc8b2b32f03a33a6811a | refs/heads/master | 2021-01-19T17:44:41.187161 | 2015-05-04T03:22:44 | 2015-05-04T03:22:44 | 30,218,515 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 283 | hpp | votedialog.hpp | #ifndef VOTEDIALOG_H
#define VOTEDIALOG_H
#include <QDialog>
namespace Ui {
class VoteDialog;
}
class VoteDialog : public QDialog
{
Q_OBJECT
public:
explicit VoteDialog(QWidget *parent = 0);
~VoteDialog();
private:
Ui::VoteDialog *ui;
};
#endif // VOTEDIALOG_H
|
1073f32f315b1e4eb1e9a5da51a8bd9669d0c7f6 | 97086e933088f069c92a53443e63585be06a1630 | /include/details/inventory.hh | 6d5d9bf59952198691aef074a1d8271036cefff6 | [] | no_license | light0222/BotUI | 20e1f9668f420680840356d6b8d9a1709e31189a | 9b8e2b5dc7eaf0b2d1d428f51b4951ad0df56969 | refs/heads/master | 2021-08-19T08:26:14.743472 | 2017-11-25T13:21:31 | 2017-11-25T13:21:31 | 112,004,483 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 337 | hh | inventory.hh | #ifndef DETAILS_INVENTORY_HH
#define DETAILS_INVENTORY_HH
#include <QWidget>
namespace Ui {
class DetailsInventory;
}
class DetailsInventory : public QWidget
{
Q_OBJECT
public:
explicit DetailsInventory(QWidget *parent = 0);
~DetailsInventory();
private:
Ui::DetailsInventory *ui;
};
#endif // DETA... |
1fdc80ff3a46d70d4556a420168f500f67eb7a1b | 61884c6d039daaee7c6d43aa59448d4684dafa37 | /include/callStack.h | 371196982735a1e548dcb3f3b1094e2c0945edd1 | [] | no_license | erimsa/call-stack-logger | f4d42b9b616770258d144ce62b5b21efdd4909fa | a26027f051fc343132ee736ea40cb9ba306259e5 | refs/heads/master | 2023-08-31T13:53:35.101374 | 2021-10-10T23:55:28 | 2021-10-10T23:55:28 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,148 | h | callStack.h | // Xerus - A General Purpose Tensor Library
// Copyright (C) 2014-2017 Benjamin Huber and Sebastian Wolf.
//
// Xerus is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License as published
// by the Free Software Foundation, either version 3 of the License,
/... |
4c825c506ce70ca284f8a4115492095b4ebebcaf | 984c3e0cecb3c6d579bbd4bfd6d451ef82a8930b | /C++ - Object Oriented Programming/trimino/trimino.cc | 454c4f898b2091446dd3e5a0b3b7218e172663d4 | [] | no_license | SalloxWave/UniversityPortfolio | 3675ec18afbafcd042c028bf1cea511551c95c1a | 6bdadfb36a5d8469a3d166e7f22c68fc1d2a9eb1 | refs/heads/master | 2020-03-19T01:57:00.697160 | 2018-06-23T18:45:02 | 2018-06-23T18:45:02 | 135,585,439 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,560 | cc | trimino.cc | #include <fstream>
#include <iostream>
#include <exception>
#include <string>
#include <sstream>
#include <array>
#include <vector>
using namespace std;
class Trimino
{
public:
Trimino(int n1, int n2, int n3)
{
numbers = {n1, n2, n3};
}
Trimino(array<int, 3> arr)
: numbers {arr}
{}... |
cc77f8ab6fad53e7ba0a4b6244448ed2d29cd5eb | 742df0a389fa897534605a67d13a1185e40886a2 | /Labs_Cpp/lab5_Cpp/mainwindow.cpp | 9f5b48155991b2dd12ba0003caba3df4fdecf01b | [] | no_license | Rariramz/Labs_term2 | a5f654b64a8eea36c8847c527fb7bb80d3be22fc | be075c63216a63c9c70fdfe5001979e25666dfa8 | refs/heads/main | 2023-05-13T01:25:54.725912 | 2021-05-31T20:49:19 | 2021-05-31T20:49:19 | 372,625,063 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,210 | cpp | mainwindow.cpp | #include "mainwindow.h"
#include "ui_mainwindow.h"
MainWindow::MainWindow(QWidget *parent)
: QMainWindow(parent)
, ui(new Ui::MainWindow)
{
ui->setupUi(this);
ui->listView->setEditTriggers(QAbstractItemView::NoEditTriggers);
queue = new RandomQueue();
}
MainWindow::~MainWindow()
{
delete ui;... |
ab49bc3f73830c12e51f01de9b489677440cee90 | 0ae61467dc21f997e868d31eb5a555b59c463cd4 | /21days_CPlusPlus/chapter10/10.8_protected_inheritance.cpp | cb5c33ee57c2201be497a247c4cab00efb5d6f71 | [] | no_license | eoGqzPzYlN/C-and-C-plus-plus | c9ed101c7da1e3d8525c003d900640cc12db0f02 | 30a5838f9b9641b7cb67bfa322d355cc50826bc7 | refs/heads/master | 2023-07-26T01:36:02.854345 | 2021-09-06T05:43:45 | 2021-09-06T05:43:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,493 | cpp | 10.8_protected_inheritance.cpp | #include <iostream>
class Motor
{
public:
void SwitchIgnition()
{
std::cout << "Ignition ON" << std::endl;
}
void PumpFuel()
{
std::cout << "Fuel in cylinders" << std::endl;
}
void FireCylinders()
{
std::cout << "Vroooom" << std::endl;
}
};
// 保护继承
// has-a 关系
// 派生类能够访问基类的所有公共和保护成员
//... |
49fc96910ae8538b4d27c7b4e64bffbf95be4e7d | 2cbd0c2b589d146d0c884e4a7baa18cb4f86e089 | /SEPTEMBER LONG CHALLENGE/SecondSolution_ADAMAT.cpp | 3624312c455d3294dde3e49567ac03e9289ce9e4 | [] | no_license | arjunsingh64/CODECHEF | fb818a5a355ba6fa3ff4b800bf87f192059d2afc | dcb4bc5fe7fefe692aecc7c70f9f181444522e3b | refs/heads/master | 2022-12-23T03:43:11.439500 | 2020-09-18T11:54:35 | 2020-09-18T11:54:35 | 296,272,208 | 0 | 1 | null | 2020-09-30T18:37:03 | 2020-09-17T08:56:12 | C++ | UTF-8 | C++ | false | false | 735 | cpp | SecondSolution_ADAMAT.cpp | #include<bits/stdc++.h>
using namespace std;
int main()
{
int tc;
cin>>tc;
while(tc--)
{
int count=0;
int N,i,j;
cin>>N;
int arr[N][N];
for(i=0;i<N;++i)
{
for(j=0;j<N;++j)
{
cin>>arr[i][j];
}
}
bool array[1][N];
int cnt=1;
for(i=0;i<1;++i)
{
for(j=1;j<N;++j)
{
++cnt... |
bcdc7f0efd26e1c8cab28be5681790f6037be8ea | 7de867ace1fdedb9060245e7ea02f3612021cdf3 | /C++/Linearr_Search.cpp | e832d29dc0140c328beb871e08a787467af7bf63 | [
"MIT"
] | permissive | Ravitejavelamuri/DataStruture-and-algroithms-program | 3f19c83d4a8debc74dcad4cf618b63717b85f35d | f5707a78c477f07d349ae78c08f1a8731f0dc90f | refs/heads/main | 2023-08-25T01:09:02.109055 | 2021-10-07T16:43:19 | 2021-10-07T16:43:19 | 414,692,635 | 1 | 0 | MIT | 2021-10-30T04:14:58 | 2021-10-07T17:13:28 | null | UTF-8 | C++ | false | false | 777 | cpp | Linearr_Search.cpp | #include<bits/stdc++.h>
using namespace std;
int main(){
int n;
cout<<"Enter the length of the Array : ";
cin>>n;
cout<<endl;
int a[n];
cout<<"Enter the elements in the array : "<<endl;
for (int i = 0; i < n; i++)
{
cout<<"a["<<i<<"] = ";
cin>>a[i];
cout<<... |
3b1cbe18e3743d0a6f35beb49593d12edf4df80e | 75d8a8031744f63d699e1b1b2e4b30c5b3383752 | /cf/training/ArabellaCPC2019/M.cpp | 71b9e7d79546ae4ac7656ab5d735891b64aaac5d | [] | no_license | pedrodiogo219/competitiveProgramming | 9d80ebb347b34423f09e3304101560a3903d59d6 | 0e8297a8ded46d2021d0ab3d94ea611464793d77 | refs/heads/master | 2021-07-24T04:06:25.726703 | 2021-07-12T12:08:03 | 2021-07-12T12:08:03 | 189,424,835 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 426 | cpp | M.cpp | #include <bits/stdc++.h>
using namespace std;
int main(){
string str;
cin >> str;
sort(str.begin(), str.end(), greater < char >());
for (int i=0; i<26; i++){
string ans;
for (int i=0; i<str.size(); i++){
if(i+1 < str.size() && str[i] == str[i+1] && str[i] != 'z'){
ans.push_back(str[i]+1);... |
7fc039af1fc8a4ccf515ce0e60c559f8623eba0e | 475897accc433baa4ab4b681b40193fa80276d6f | /Assignment-11/bt47/Source.cpp | 8245a2e06a5de830e9c7057f864acd1aaa49e7b0 | [] | no_license | DangNguyen146/WeCode | aa1a136408df33510a4f3c677bbce629d557048a | 08f8fbe03f046aa3af29477af81a42a295dde557 | refs/heads/master | 2022-11-18T22:15:51.598818 | 2020-07-07T17:32:12 | 2020-07-07T17:32:12 | 277,856,916 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,238 | cpp | Source.cpp | #include<iostream>
using namespace std;
struct tNode
{
int key;
tNode* tLeft;
tNode* tRight;
};
typedef tNode* Tree;
tNode* CreateNode(int x)
{
tNode* p = new tNode;
p->key = x;
p->tLeft = NULL;
p->tRight = NULL;
return p;
}
int InsertTree(Tree& T, int x)
{
if (T)
{
if (T->key == x)
return 0;
if (T->... |
7742efbe7ddb3e8cbe2233d3c4d9aea9a81dc255 | f7c0f54e93f561b8d09d8293435bdc2695d31e6f | /L4_IO/pixy/pixy_brain.hpp | 162fad5de01bc55dc95eb9a7751f5bf74266e024 | [] | no_license | alexanderkoumis/lpc1758_freertos | 0eb275bdf37641576a8227334e7f8e57acfc3cfa | cd22ed6e8d449d7dea7d2f78485e17df4b5cff05 | HEAD | 2016-09-06T11:03:03.253120 | 2015-10-03T10:46:20 | 2015-10-03T10:46:20 | 32,504,481 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 5,581 | hpp | pixy_brain.hpp | #ifndef PIXY_BRAIN_HPP
#define PIXY_BRAIN_HPP
#include <algorithm>
#include <iostream>
#include <memory>
#include <queue>
#include <vector>
#include <stack>
#include "storage.hpp"
#include "pixy.hpp"
#include "pixy/pixy_eyes.hpp"
#include "pixy/common.hpp"
#include "pixy/common/board.hpp"
#include "pixy/common/block... |
68a1d1ecb141643fcb8af617c8cd0c71d5b967ff | da1500e0d3040497614d5327d2461a22e934b4d8 | /cobalt/cssom/property_value_visitor.h | 6dfc7d1bb25c833c8e34fdfa9fb6edf1019cc6d2 | [
"Apache-2.0",
"BSD-3-Clause"
] | permissive | youtube/cobalt | 34085fc93972ebe05b988b15410e99845efd1968 | acefdaaadd3ef46f10f63d1acae2259e4024d383 | refs/heads/main | 2023-09-01T13:09:47.225174 | 2023-09-01T08:54:54 | 2023-09-01T08:54:54 | 50,049,789 | 169 | 80 | BSD-3-Clause | 2023-09-14T21:50:50 | 2016-01-20T18:11:34 | null | UTF-8 | C++ | false | false | 6,404 | h | property_value_visitor.h | // Copyright 2014 The Cobalt Authors. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by ap... |
efb28d0a30b6afd238d24fd3a0abd59c785f4b72 | 09a8182e2ff8d3fd0f5fe5e0cb9acb96f648f788 | /Elevator/MyForm.h | 1455f64b5300da6bbad98eea6457cff555b3b25d | [] | no_license | chang-chih-yao/University_Project | cf617d92b7da764a4c71718a79a5626312d3db0c | b81a6c53a9702983e15c5384119738346bfc302f | refs/heads/master | 2020-04-27T17:08:52.877741 | 2019-03-09T14:26:45 | 2019-03-09T14:26:45 | 174,506,390 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,922 | h | MyForm.h | #pragma once
#include <iostream>
#include <time.h>
#include <stdio.h>
#include <stdlib.h>
#include <opencv2\opencv.hpp>
#include <opencv\highgui.h>
#include <opencv\cv.h>
#include "opencv2/objdetect/objdetect.hpp"
#include "opencv2/highgui/highgui.hpp"
#include "opencv2/imgproc/imgproc.hpp"
#include "opencv... |
461480608428e12ee55e17b35a4536d9075e3997 | 524a15b1e3454baae34acc324f56a717d747ed5e | /ContainerLibrary/libs/containers/include/Queue/Queue.hpp | 06c3ef3faed2daefd61aac016887889d7a258d27 | [
"MIT"
] | permissive | intrepid249/Bootstrap-ShooterGame | 3afd919b794b987750cd6c050aad7cb1088c2629 | 789ec52ce8139fef3172be7a4a0dff0c958ae384 | refs/heads/master | 2020-12-30T13:07:43.621995 | 2017-07-16T23:30:02 | 2017-07-16T23:30:02 | 91,321,851 | 0 | 0 | null | 2017-06-12T14:09:46 | 2017-05-15T09:49:21 | C | UTF-8 | C++ | false | false | 919 | hpp | Queue.hpp | #pragma once
#include <LinkedList\LinkedList.hpp>
#include <memory>
#include <functional>
template <class T>
class Queue {
public:
Queue() {}
Queue(Queue const &) = delete;
Queue &operator =(Queue const &) = delete;
Queue(Queue &&o) : m_data(std::move(o.m_data)) {}
Queue &operator =(Queue &&o) {
if (this != &o)... |
4b07fdd66b16feadfca3695b18ed67209aee45d4 | 372911494ee90af6e412086c0628d66856dab634 | /threading/exception_thread.cc | 7abe2ef37c5c59084d069cd9ee287c3d32f5b150 | [] | no_license | blacktrain/cplusplus | 4a07b58b669c2db9b50d6416a6fe701d758c0957 | d66dfcce845fd4ced9e8e9f45436e8731f2c0132 | refs/heads/master | 2018-11-06T01:57:17.323844 | 2018-10-08T11:37:14 | 2018-10-08T11:37:14 | 103,897,013 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 872 | cc | exception_thread.cc | #include <iostream>
#include <thread>
#include <chrono>
struct func{
int& i;
func(int i_):i(i_){}
void operator() (){
using namespace std::chrono_literals;
for(unsigned j = 0;j < 10000000;j++){
i = j;
std::cout << i << std::endl;
std::this_thread::sleep_for(1s);
}
}
};
void do_something_in_curre... |
13918c439867b7083f40caf5f678e93f654e0495 | 9e7e1400eca1d85e87b5058adc016ccb19f6c0bc | /export/windows/cpp/obj/include/Player.h | 592b28d9340e8a0a172bdaca73baa32d0b119350 | [] | no_license | sam2/sandbox | af16de13cbe4b9cf6773ee57ef2c0991e3a2d6db | a8eba4c37d81fc36fc5b9ee922e2a9c7f0311e86 | refs/heads/master | 2021-01-20T05:04:55.715042 | 2013-11-22T04:52:05 | 2013-11-22T04:52:05 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,609 | h | Player.h | #ifndef INCLUDED_Player
#define INCLUDED_Player
#ifndef HXCPP_H
#include <hxcpp.h>
#endif
#include <Character.h>
HX_DECLARE_CLASS0(Character)
HX_DECLARE_CLASS0(Enemy)
HX_DECLARE_CLASS0(Player)
HX_DECLARE_CLASS1(flixel,FlxBasic)
HX_DECLARE_CLASS1(flixel,FlxObject)
HX_DECLARE_CLASS1(flixel,FlxSprite)
HX_DECLARE_CLASS1(... |
b0d59fae147fd50b7f220be3b13322804c89ed82 | 91181534c2601ef99023cfcea801a545563a2ace | /android/app/src/main/cpp/LMDBJNI.cpp | fcc98b0ef387093bfe45dc9d231824ca93ac713d | [] | no_license | followmeeapp/BlueCode | 9b658aa882e05aa3a57e3689e87316d5f8eed822 | 7df6cccad283cf1390617e7c6e5c4de721d48b69 | refs/heads/master | 2021-01-09T05:41:56.984135 | 2017-02-03T17:42:02 | 2017-02-03T17:42:02 | 80,864,531 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,644 | cpp | LMDBJNI.cpp | //
// Created by Erik van der Tier on 02/02/2017.
//
// super simplified JNI based lmdb class
//
#include <liblmdb/src/lmdb.h>
#include <jni.h>
#include <string>
#include <android/log.h>
#define LOGI(...) \
((void)__android_log_print(ANDROID_LOG_INFO, "lmdbJNI::", __VA_ARGS__))
#ifdef __cplusplus
extern "C" {
#endi... |
66a21e6088b2601c3b6f4e629ab53e757f10d925 | 2e276b78c0996bf2819fa93183f7ee7639a92551 | /jni/gcpe/world/gen/NewFeature.h | 4da078d4def2b241010d26eb83b4676aa96a71ee | [] | no_license | EEEEEEEEEEEEEEEEEEEIEEEEEEEEEEEEEEEEEE/Galacticraft-pocket-edition | a795cd58651f28c461a01f94792d4f2911ed2f65 | 3636a79eb31c252845743746224d59dccf2bb150 | refs/heads/master | 2020-06-12T06:19:20.835411 | 2017-02-07T09:18:35 | 2017-02-07T09:18:35 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 145 | h | NewFeature.h | #pragma once
#include "mcpe/level/gen/Feature.h"
class NewFeature : public Feature
{
public:
NewFeature(BlockSource *, BlockPos const&);
};
|
ea10a84264070bd4b54b9ee6599926c208d794a6 | 1240cab345c126566291f8e461d063cb6430396f | /src/openms/source/TRANSFORMATIONS/FEATUREFINDER/FeatureFinderAlgorithmPicked.cpp | 60d1dfd3e8fc5c5acc90fc68fe6beffc2756af9a | [
"BSD-3-Clause",
"BSL-1.0"
] | permissive | OpenMS/OpenMS | 05cd6c9a2b8f3004ef47755305711a6631c13340 | 15e8641e9b6fad76e8314448a808d68231a93088 | refs/heads/develop | 2023-08-18T03:44:50.273261 | 2023-08-17T19:45:27 | 2023-08-17T19:45:27 | 15,763,403 | 443 | 312 | NOASSERTION | 2023-09-14T13:29:36 | 2014-01-09T10:15:13 | C++ | UTF-8 | C++ | false | false | 86,203 | cpp | FeatureFinderAlgorithmPicked.cpp | // --------------------------------------------------------------------------
// OpenMS -- Open-Source Mass Spectrometry
// --------------------------------------------------------------------------
// Copyright The OpenMS Team -- Eberhard Karls University Tuebingen,
// ETH Zurich, and Freie Universit... |
fb4c1682c1a507df918af582dbe4b9e5b7627651 | 7e59e2bdd5cdceb8a5fca7dae38b6348becd3547 | /src/component/yijinjing/journal/Timer.cpp | f7438d534581d70ce63a3a382a2c4ebffb73f44e | [
"MIT"
] | permissive | therealtylerli/ft | 21176bea548d23d0dff7b960786fe41b03265f16 | d19ab11be108aa536f92c1e92782938857e297c4 | refs/heads/master | 2023-09-05T04:23:48.153742 | 2021-11-17T06:25:55 | 2021-11-17T06:25:55 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,228 | cpp | Timer.cpp | /*****************************************************************************
* Copyright [2017] [taurus.ai]
*
* 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/li... |
09cca1939a9c66a6570f7f9aa9827d104ce73404 | 840faa97d44492f7435ba042e2c1312de99f4ea3 | /src/kudu/master/mini_master.cc | e8bb0571ff2aefdf7dfd7d08034848e939496c59 | [
"OpenSSL",
"Apache-2.0",
"BSD-3-Clause",
"LicenseRef-scancode-openssl",
"LicenseRef-scancode-ssleay-windows",
"LicenseRef-scancode-google-patent-license-webrtc",
"LicenseRef-scancode-unknown-license-reference",
"dtoa",
"MIT",
"BSL-1.0",
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode... | permissive | apache/kudu | c05fad4ea1cf48a650e99b2fb6917f19a790bd3d | ecb51af801bd1bf40d0216b0697bf7e5765461d5 | refs/heads/master | 2023-08-31T23:18:23.205496 | 2023-08-28T21:54:50 | 2023-08-29T19:16:49 | 50,647,838 | 1,757 | 698 | Apache-2.0 | 2023-08-17T13:36:43 | 2016-01-29T08:00:06 | C++ | UTF-8 | C++ | false | false | 4,500 | cc | mini_master.cc | // Licensed to the Apache Software Foundation (ASF) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you may... |
5cc127939f5c4c8d27538c7ce4e64268a6dfc00e | 073b36993a750623f001a366f4faf5854ea75fb1 | /PWFusion_SHT3X.h | 593c788d6893fcd041f8e9b1229e46d69bf7738e | [] | no_license | PlayingWithFusion/PWFusion_SHT3X | 7a85a685ce6ef583efa217e4d2317b42f5e11628 | c66f3d4fff2853ad2914637966375d3aa6db2fc6 | refs/heads/master | 2021-01-22T22:21:10.801787 | 2017-03-20T04:19:36 | 2017-03-20T04:19:36 | 85,534,490 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,266 | h | PWFusion_SHT3X.h | /***************************************************************************
* File Name: SEN-37002_SHT31D_HumTemp.ino
* Processor/Platform: Arduino Uno R3 (tested)
* Development Environment: Arduino 1.6.5
*
* Designed for use with with Playing With Fusion SHT31-DIS-B and SHT31-DIS-F
* Humidity and Temperature Se... |
0898cca772a983651218d626665bc51db8d83da3 | d4fae6eafcc99a335267c04e61293e42e3f28097 | /OpenEDA.TPI/includes/Testpoint.hpp | 11ad6ec6e0330a3be1ba6368ede85a35a3e70d7f | [] | no_license | icexxx/OpenEDA | dc944b17a32ea3ce477b2388ab18dd5a1ce71028 | 9499943bf720d07de35ec7e4d662f3bd11af017f | refs/heads/master | 2022-02-04T12:44:56.483907 | 2019-08-06T15:03:21 | 2019-08-06T15:03:21 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,779 | hpp | Testpoint.hpp | /**
* @file Testpoint.h
* @author Spencer Millican (millican@auburn.edu)
* @version 0.1
* @date 2019-02-05
*
* @copyright Copyright (c) 2019
*
*/
#ifndef Testpoint_h
#define Testpoint_h
#include "Circuit.h"
#include "FaultStructures.hpp"
#include "Value.h"
/*
* An object capible of mod... |
f71bde778c35e0d7b4ab881ea98ec0980c9d9dc6 | 44b98554e6ea51babba2f20f68d05bf9d5635cd9 | /app/ipcam/cameraserver/utils/Pdu.h | 52e80c55a41b5093801901d677e3ae0ae19054bb | [] | no_license | pengdu/bbam | 8550688d1aa6dda680fbe953439e595efc1b7107 | afc307dc04fffe89a111a0f1b5ef6376f52e194c | refs/heads/master | 2015-08-10T03:58:11.792991 | 2013-10-24T06:23:54 | 2013-10-24T06:23:54 | 16,098,118 | 5 | 8 | null | null | null | null | UTF-8 | C++ | false | false | 12,019 | h | Pdu.h | #ifndef __GMPDU_H_
#define __GMPDU_H_
#include "GmDefines.h"
#include <string>
#define KBYTE_2_BYTE(n) ( ( n ) << 10 )
#define BYTE_2_KBYTE(n) ( ( ( n ) >> 10 ) + ( ( ( n ) & ( ( 1 << 10 ) - 1 ) ) ? 1 : 0 ) )
#define UINT_TO_BYTES(u, bytes) uint2bytes((u), (bytes))
#define BYTES_TO_UINT(bytes) bytes2uint((bytes))... |
cac5fc0456d73b5f672b76e632b05e1a725e0c1c | dd289eb872ca37d70121ecd59d9dd5f9c0b80934 | /Algorithms/Sort/InsertionSort.cpp | d8ad35a6c317a954c8b2684788905f698790096d | [] | no_license | samarsault/competitive-programming | 02190ff34f86c45c769c68bd4e2bde347156dee0 | 5755523021b76a47444e97f9360dae7eb5b7d4ca | refs/heads/master | 2022-01-11T23:18:16.074183 | 2019-05-05T22:18:24 | 2019-05-05T22:18:24 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 540 | cpp | InsertionSort.cpp | #include <stdio.h>
int incount = 0;
void insertion_sort(int A[], int n)
{
for (int i = 1;i < n;i++)
{
int key = A[i];
int j = i - 1;
while (j >= 0 && A[j] > key)
{
A[j + 1] = A[j];
incount++;
j--;
}
A[j + 1] = key;
}
}
int main(int argc, const char *argv[])
{
int arr[] = { 2, 3, 8, 6, 1 }... |
439720c178a593b38591d25e36d6a93e8a49ef49 | dbcad7e55a9ccda9822383bb79eba2746cfe07bd | /Project/Project/RocketFactory.cpp | 23381abd092ab85ba8f17cc4d02c11e409a0908d | [] | no_license | Smaugmuel/SpaceSimulation | 53f9c6515cf45d3516f3af56bf0387e0a7969cfa | bd1645d4ccf82c4e757f71a13bd1b7f87889ca8c | refs/heads/master | 2021-07-15T00:58:50.106413 | 2017-10-14T15:23:11 | 2017-10-14T15:23:11 | 105,751,795 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 621 | cpp | RocketFactory.cpp | #include "RocketFactory.hpp"
#include "Planet.hpp"
#include "Rocket.hpp"
#include "Input.hpp"
#include "SystemInformation.hpp"
Rocket * RocketFactory::CreateRocket(Planet * startPlanet)
{
Vector2d mousePos = Input::Get()->MousePositionDouble() * (1.0 / PX_PER_M);
Vector2d rocketPos = startPlanet->GetPosition();
Vec... |
7dc8c88f7aa745dc61aea271de5facac1bd002f9 | 41b8833fa2b47640b84284b09b25f1915dba7564 | /YaoPlayer/YaoPlayer.cpp | c41e65956b057f9edddf807609d118655a0117cb | [] | no_license | 820209232/YaoPlayer | 15d67ca52659174622101cb65a5ed588e9e2681c | 4bd157eed0efd3b01258037470e22f300dfac6f5 | refs/heads/master | 2022-10-09T08:07:45.141356 | 2020-06-12T09:40:58 | 2020-06-12T09:40:58 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 628 | cpp | YaoPlayer.cpp | #include "YaoPlayer.h"
YaoPlayer::YaoPlayer(std::string _path)
{
path = _path;
}
YaoPlayer::~YaoPlayer()
{
}
int YaoPlayer::open(double time)
{
if (playerCtr == nullptr) {
playerCtr = new YaoPlayerCtr(time);
playerCtr->start();
return 0;
}
return -1;
}
int YaoPlayer::stop()
{
if ... |
1b38b9b40053225b8f924558fdae872906cd86f8 | c91ac9497c7ef59b8171805a54c78e5d1ad688e9 | /tests/test.cpp | 4d1172ddab5e0e4825142f0da408d7d2a1449460 | [
"MIT"
] | permissive | 4Rjee/lab03sharedptr | c39579846090bd6ce7479e72f513cd0da3962a8d | 80a4413d00f9ff011310e073f50bfefb9708977a | refs/heads/master | 2023-02-13T09:52:26.498428 | 2021-01-21T02:56:34 | 2021-01-21T02:56:34 | 330,815,065 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,126 | cpp | test.cpp | // Copyright 2020 Kochurin Nikita kochurin.nikita@gmail.com
#include <gtest/gtest.h>
#include <string>
#include "shared_ptr.hpp"
TEST(SharedPtr, EmptySharedPtr) {
SharedPtr<std::string> r;
ASSERT_EQ(r.get(), nullptr);
}
TEST(SharedPtr, InitializationSharedPtr) {
SharedPtr<std::string> r(new std::string{"Hello"});
AS... |
472c02fd29a25a6595f8fd889a5c68580fe104c2 | aecef693df48abb893627f4762f8f46a83040787 | /2015/CS2420/a7/main.cpp | cdf34a6e8845a0e83f75107f3143d5285552a8dd | [] | no_license | adamtew/USU | 6f269ec6d28b81eb1f64370dc57e57a8da6e7f19 | b4cc88c996f2841ee3776405f1d606b2bd1a1b4e | refs/heads/master | 2021-01-21T05:59:07.492786 | 2017-09-24T06:40:55 | 2017-09-24T06:40:55 | 28,891,531 | 2 | 0 | null | 2016-01-25T04:59:30 | 2015-01-07T01:06:26 | C++ | UTF-8 | C++ | false | false | 2,016 | cpp | main.cpp | #include <iostream>
#include "Graph.h"
#include <fstream>
using namespace std;
void play();
Graph g;
int main() {
// ifstream fin("/Users/at/gitSchool/usu/2015/CS2420/a7/digraph1.txt");
// ifstream fin("/Users/at/gitSchool/usu/2015/CS2420/a7/digraph2.txt");
// ifstream fin("/Users/at/gitSchool/usu/2015/CS24... |
7e41ea99367d7e2c0321a0f16ba8449ccd9e836b | 650afd54ad6e3a5fb2ad62a25b56b8640c6c8ec3 | /V2/Klijent.cpp | 5bcaf924766b3e66a2658f2c09865ddeec1c7555 | [] | no_license | al0cam/MR2 | 29b55e7cb107082b419da04604c859df83eb48ce | 4d15dfa34634be92fcd77931d31420e97659e498 | refs/heads/main | 2023-02-17T21:57:15.852007 | 2021-01-21T10:45:51 | 2021-01-21T10:45:51 | 331,597,597 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,667 | cpp | Klijent.cpp | #include <sys/types.h>
#include <sys/socket.h>
#include <netdb.h>
#include <string.h>
#include <stdio.h>
#include <unistd.h>
#include <iostream>
#include <cstdlib>
/* IPV4 makro konstanta navodi IPV4 adresu na koju se klijent povezuje */
#define IPV4 "127.0.0.1"
/* PORT makro navodi broj TCP porta na koji se klijent ... |
43774845a9a27a82721b7ae2d4caaff906f32c02 | fce13eff25af401c650de31220a08727f9669d87 | /parser/mpFuncCmplx.h | 345584bcf8ea9e146a546722c65c38cd35873a28 | [
"BSD-2-Clause"
] | permissive | beltoforion/muparserx | d75d41afe1e1805d13c4e0dd6dc134bcf6bea12a | 9074157b22e7d2b3fcc0ab210751b9daaee19914 | refs/heads/master | 2023-08-24T19:57:32.625165 | 2023-06-06T19:18:46 | 2023-06-06T19:18:46 | 32,697,483 | 126 | 64 | BSD-2-Clause | 2023-03-21T21:44:10 | 2015-03-22T21:54:18 | C++ | UTF-8 | C++ | false | false | 9,159 | h | mpFuncCmplx.h | /** \file
\brief Definition of functions for complex valued operations.
<pre>
__________ ____ ___
_____ __ _\______ \_____ _______ ______ __________\ \/ /
/ \| | \ ___/\__ \\_ __ \/ ___// __ \_ __ \ /
| Y Y \ | / | / __ \| | \/\_... |
620a523e0e1d68780f5793aebde9e8a615b0950f | 0f1157c33b1e5cca6f76b1c6a779bc824913c631 | /Arnab_goal.cpp | 0ba6a601ecaab0b58378ce6c2a5f2b6c237f3917 | [] | no_license | lohith9/skills_solutions.cpp | 56f883c475c819939d22d75449d2b0fb95f4cadc | 3d1e7eac8446ec310e9f47e987e817aae3cc400b | refs/heads/master | 2020-03-24T10:15:09.281182 | 2018-07-28T06:40:13 | 2018-07-28T06:40:13 | 142,651,485 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 357 | cpp | Arnab_goal.cpp | #include <iostream>
using namespace std;
int main() {
int t;
cin>>t;
while(t--){
int x,y,z;
cin>>x>>y>>z;
int count1=0,count2=0;
while(z>1){
if(x%z==0){
count1++;
x--;
}
if(y%z==0){
count2++;
y--;
}
z--;
}
... |
cd5bf8e57f5ce1c4f99b234d92868d4da0ad4bdd | 0aff1a2e7229802de192735ca01c4470f3635333 | /Fool 2019/a.cpp | 5ceef78f0b7697846ac7f7a402dda259d8ad1b2d | [] | no_license | mn619/cf-practise | 70d7706bb6c1e8459158ec947b1ebcd359701a17 | 0d68239bd4fabd55d0dd40e1506d8c01a2e241f1 | refs/heads/master | 2022-09-12T14:42:49.156257 | 2020-05-28T18:53:01 | 2020-05-28T18:53:01 | 190,338,201 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 698 | cpp | a.cpp | #include<bits/stdc++.h>
#define FLASH cin.tie(0); cout.tie(0); ios_base::sync_with_stdio(false);
#define pb push_back
#define int long long
#define fr(i,a,b) for(int i=a;i<b;i++)
#define mod 1000000007
#define FILEIO freopen("/home/aman/Desktop/Kachda/input.txt", "r", stdin); freopen("/home/aman/Desktop/Kachda/output.t... |
c7ecaf6a270d2376606d648d6ed4a53b9076bc3b | cf49fcf8108f84e03ad503c0e496aa007b950700 | /spike/GUI/GameEngine.hpp | 400d64f51655c6ac2c8bdc09bc6e8f7405e79201 | [
"MIT"
] | permissive | KaceCottam/UltimateBattleship | 3cae1528c5a355344c71aa92562a1129e099eca6 | d45f4df2d880fcb4aaca3bf22f017b7df71ea3db | refs/heads/master | 2020-05-09T10:41:10.639373 | 2019-04-24T17:11:24 | 2019-04-24T17:11:24 | 181,052,358 | 0 | 1 | MIT | 2019-04-14T08:29:52 | 2019-04-12T17:17:53 | C++ | UTF-8 | C++ | false | false | 1,664 | hpp | GameEngine.hpp | #pragma once
#include <map>
#include <SFML/Graphics.hpp>
#include <fmt/format.h>
#include <spdlog/spdlog.h>
#include "Scene.hpp"
#include "../SFMLUtil/BadIndexError.hpp"
namespace GUI {
using namespace sf;
using namespace fmt;
using namespace spdlog;
class Game {
public:
using SceneId = std::size_t;
Game(Rende... |
ce9fbe439220e570d03e0e39eef47cfa072f3484 | 633a78599aefa7ab8b6a282c13e475af5a15d793 | /src/classwork/10_assign/sales_employee.h | 5c17316f486080af88d718871fca13384d19fe0c | [
"MIT"
] | permissive | acc-cosc-1337-summer-2020-classroom/acc-cosc-1337-summer-2020-Gabe-Cpp | 291c25bf226e49c118831a3e07d0f18951292623 | f5b7d8610054c975b67ff04a41a7a054325e3c7e | refs/heads/master | 2022-11-22T14:53:47.483892 | 2020-07-26T19:10:58 | 2020-07-26T19:10:58 | 268,946,885 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 493 | h | sales_employee.h | //sales_employee.h
#include "employee.h"
#ifndef SALES_EMPLOYEE_H
#define SALES_EMPLOYEE_H
class SalesEmployee: public Employee{
public:
SalesEmployee() : Employee(){}
SalesEmployee(double hours, double rate, double commission) :Employee(hours, rate, commission){
num_hours = hours;
... |
ce0636af26fa175a38e8a51cfc3456393f2e5525 | d110fa80f2ae305c52b449872fd93152038f8a73 | /QPRecordModel/syslogtype.cpp | 596be191c53c67a67dc98b71611a5345fbd39d53 | [] | no_license | iamgeniuswei/QPlatform | 6fd98dae5576a7dd85ea9800404375fa784907fe | 05cba523571287f551dc20c6211203988e820be3 | refs/heads/master | 2020-04-06T07:12:35.796750 | 2016-07-22T01:12:59 | 2016-07-22T01:12:59 | 56,820,817 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 528 | cpp | syslogtype.cpp | #include "syslogtype.h"
int SysLogType::getLogTypeId() const
{
return logTypeId;
}
void SysLogType::setLogTypeId(int value)
{
logTypeId = value;
}
QString SysLogType::getLogTypeName() const
{
return logTypeName;
}
void SysLogType::setLogTypeName(const QString &value)
{
logTypeName =... |
9026c895d02d8a9400abadf54da772b9da5c82be | 8b127cab5c35c1b5a754fc152118baec7df74003 | /Accelerated-Cpp/ch_5/ex_5-1/src/rotate.cpp | 2633ff2f8fe50590873f8affc0b2b2bfac7e7c91 | [] | no_license | arshjot/Cpp-Practice | 76cb07c30b02a110fbe1fba9b65045402f3818df | 0463d6f1c5fcb60967e7e3be88717e566dbcf984 | refs/heads/master | 2020-12-19T20:04:43.343339 | 2020-03-06T15:10:58 | 2020-03-06T15:10:58 | 235,838,197 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,016 | cpp | rotate.cpp | #include <string>
#include <vector>
#include <numeric>
#include "rotate.h"
#include "split.h"
using std::string;
using std::accumulate;
using std::vector;
using std::copy;
// function to define the comparison of splitted strings
// comparison to be done in lowercase
bool compare(const Rotated_line& x, const Rotated_l... |
08e4f991db7587201f4f8ef8b6be4492e010c829 | 51005c0d28f07eddb703702c1464bd09940981fc | /services/call/include/ims_call.h | 164a2707d8771e51eb5f05427a48dabc1147d487 | [
"Apache-2.0"
] | permissive | openharmony-sig-ci/telephony_call_manager | aa57c18764da0ebe762b9780b4e9fbcac56cf970 | 440ac87630239cd495ec8d52e4ec3da1e37ca704 | refs/heads/master | 2023-08-03T15:46:52.923035 | 2021-09-08T09:49:15 | 2021-09-08T09:49:15 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,925 | h | ims_call.h | /*
* Copyright (C) 2021 Huawei Device Co., Ltd.
* 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 ... |
2f874e9a7af6dd834fe2b17c7a4bab81e034655f | 6226d6aed3629aa4069c46971ffe764bb6c743f6 | /Myway/RenderSystem/MWSceneRenderUniform.h | 44bcaa44ea376549d64a9fcdd367d1331c91fab3 | [] | no_license | Myway3D/Myway3D | 83c30258f1e3eae90e619269406acd0ddeac7887 | 39cf569993f62fc648cbba49ebf74b3f8a64e46a | refs/heads/master | 2020-04-22T20:24:15.817427 | 2014-03-09T14:25:23 | 2014-03-09T14:25:23 | 170,640,096 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,019 | h | MWSceneRenderUniform.h | #pragma once
#include "MWSceneRender.h"
#include "MWRenderTarget.h"
#include "MWShadowRender.h"
#include "MWSceneNode.h"
namespace Myway
{
enum RenderUniformStage
{
RUS_DIFFUSE,
RUS_PROJECTION,
MW_ALIGN_ENUM(RenderUniformStage)
};
class MW_ENTRY SceneRenderUniform : public SceneRend... |
e725d895a434dbb68e1f37f66cadac914fe3e378 | 90fabd6f58ab3ffb12549f1c6daada17113d5199 | /application/data_loader.h | fe4c45ce488f6fb60675159584a65abe75c2ce09 | [] | no_license | tmandry/db-team15-test | 1e877ad8fc3b8ac60899091b94d2305280a36772 | 1e81d582ba5c9743417503eeda4ab29fccc028ae | refs/heads/master | 2021-01-22T13:57:46.987235 | 2013-03-01T05:40:42 | 2013-03-01T05:40:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 427 | h | data_loader.h | #pragma once
#include <string>
#include <array>
#include <utility>
using namespace std;
#include "Table.h"
class Database;
// Class to load data from CSV files into a database.
class DataLoader
{
public:
DataLoader(string data_dir);
~DataLoader();
Database* load();
private:
template<typename D>
void loa... |
81c6c76ef91771921a2a93e24526c290ca460e62 | 70deb8b7b31f17c2a308738e0abf037dc4d22604 | /TC++PL/ch2/Game.h | 447e8cbacdb924ed5d54cc6c884d8f473183c0c6 | [] | no_license | jmanders85/stroustrup | b254039a3964ab835ea98dcca53d7495d4ec9971 | 203506b23168bfe8a53ed80728dc779122a1c556 | refs/heads/master | 2021-09-03T12:05:53.031877 | 2018-01-08T23:43:53 | 2018-01-08T23:43:53 | 115,728,293 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 130 | h | Game.h | class Game {
public:
Game(char* name);
void play();
void printPlayCount();
private:
int p;
char* name;
};
|
03d39a7d60c460db9b6f012cc5e918d003b6a9e3 | 2d9eadcfbe46c99772a4bd20fb4a81da42a44c62 | /AVBase/MediaMuxer/wlock.cpp | f4dfb33079fbd89e9069425a1ee81be7f1b99e73 | [] | no_license | open-vp/AVLib | fc1a1eac219d74f0ecf258819a371716b5770893 | 581209939d9d61ff9b35e02942717058aa1ee297 | refs/heads/master | 2020-03-27T20:49:26.384940 | 2018-09-03T01:23:40 | 2018-09-03T01:23:40 | 147,095,763 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,219 | cpp | wlock.cpp | // WLock.cpp: implementation of the WLock class.
//
//////////////////////////////////////////////////////////////////////
#include "wlock.h"
using namespace OPENVP;
//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////... |
592f6f4fb062d46f3687e59e2ffea64864acf8dc | 7eeec50de5a1ce6884f11e1b97b47aec8fe6ffc9 | /myProject/netxy/examples/TuntuClient.cpp | 9896d41dca56e7dea44b0f25d6188f724913db13 | [] | no_license | okokokok123/proall | 854a0e70b163d20d71db73f3226e0c9ffa34b021 | a58d62e330a4677f360882cfd6aefe9c86f5a154 | refs/heads/master | 2020-03-24T21:18:49.459526 | 2018-07-31T14:27:16 | 2018-07-31T14:27:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,338 | cpp | TuntuClient.cpp | /*************************************************************************
> File Name: TuntuClient.cpp
> Author: ma6174
> Mail: 17704623602@163.com
> Created Time: Wed Nov 15 17:55:13 2017
************************************************************************/
#include<netxy/base/TimeStamp.h>
#include<netxy/ne... |
896cada8ea3a07c8dd6d612f98bedcf16626fe4d | 09e5cfe06e437989a2ccf2aeecb9c73eb998a36c | /modules/clipper/clipper/contrib/skeleton.cpp | bff10496032f03fb69d5dd29d17c52e8a00f9293 | [
"LGPL-2.1-only",
"BSD-3-Clause"
] | permissive | jorgediazjr/dials-dev20191018 | b81b19653624cee39207b7cefb8dfcb2e99b79eb | 77d66c719b5746f37af51ad593e2941ed6fbba17 | refs/heads/master | 2020-08-21T02:48:54.719532 | 2020-01-25T01:41:37 | 2020-01-25T01:41:37 | 216,089,955 | 0 | 1 | BSD-3-Clause | 2020-01-25T01:41:39 | 2019-10-18T19:03:17 | Python | UTF-8 | C++ | false | false | 13,378 | cpp | skeleton.cpp | /* skeleton.cpp: Skeletonisation implementation */
//C Copyright (C) 2000-2004 Kevin Cowtan and University of York
//C Copyright (C) 2000-2005 Kevin Cowtan and University of York
//L
//L This library is free software and is distributed under the terms
//L and conditions of version 2.1 of the GNU Lesser General Public... |
b602e14c5f6a93219251f73378c298a53bbeb1d6 | 536b21ab1ebacc907a2435c667756240f48a0cb2 | /C&C++ Project File/OnlineJudge/OnlineJudge/BAEKJOON/Step by Step/[9] Sort/[5] SortInside.cpp | 4acb01526c0cff2dd65e994ffe22d9ffdf3d3e79 | [] | no_license | IRONAGE-Park/online-judge | e3d9f37cc93182b81a16912efae912fe46a7cc9e | 724a7a301ecd6226fe78b916662c44b88866d9c0 | refs/heads/master | 2022-03-09T22:19:18.947225 | 2019-01-20T19:05:17 | 2019-01-20T19:05:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 401 | cpp | [5] SortInside.cpp | #include<iostream>
#include<string>
#include<vector>
#include<algorithm>
using namespace std;
bool compare(int a, int b) {
return a > b;
}
int main() {
string num;
cin >> num;
vector<int> array;
for (int i = 0; i < num.length(); i++) {
array.push_back(num[i] - 48);
}
sort(array.begin(), array.end(), compare... |
ffbb55dec61ddef41859b4c4cb393c3278a019da | 540bf26df5570f7dfe9f3dca52769bdc594dbaa5 | /src/game/server/in/director_battery_spawn.cpp | 2ecfbf4b7cb9552736034adee15ec9008617064a | [] | no_license | InfoSmart/InSource-Singleplayer | c7a8e0de648c4fafcebc4d7ec78e46ad8afd742c | 55e6fb30252d5ff4d19fb7c9d146bfec56055ad4 | refs/heads/master | 2021-01-17T05:46:39.867026 | 2013-07-07T06:13:41 | 2013-07-07T06:13:41 | 7,018,102 | 2 | 0 | null | null | null | null | ISO-8859-1 | C++ | false | false | 3,149 | cpp | director_battery_spawn.cpp | //=====================================================================================//
//
// Creador de baterias
//
// Entidad que trabajara en conjunto con Director para la creación de baterias según
// el nivel y estres del jugador.
//
// Inspiración: Left 4 Dead 2
// InfoSmart 2013. Todos los derechos reservados.... |
e7c5c809be728c18516121561aa975d3ba3469e5 | bdc9b0972c241b12637abc8602c59ae1bffcde44 | /apps/sfbds/statehash.h | 35397f9632645a5f2452407063450b56645aa9be | [
"MIT"
] | permissive | carolyn-y/hog2 | eb0a3361b0d9247d1b7a4891fc1e1095b3eabf44 | 96616b40f4173959b127011c76f3e649688e1a99 | refs/heads/master | 2023-07-09T05:28:49.342432 | 2015-08-19T22:00:37 | 2015-08-19T22:00:37 | 277,397,436 | 0 | 0 | MIT | 2020-08-13T16:17:02 | 2020-07-05T23:02:04 | null | UTF-8 | C++ | false | false | 623 | h | statehash.h | // definition of hash functions for a state, i.e. a tuple of vertices
#ifndef SFBDS_STATE_HASH
#define SFBDS_STATE_HASH
/*
notes:
- define SFBDS_LITTLE_ENDIAN if you have an akward machine
- for state=graphState we support a maximum of 2^32 vertices
- for state=xyLoc we support maximal dimensions of 2^16 x 2^1... |
29a9ed34cf09b0c444d477e706dfc14f24e339d5 | 1bac5efd5fddd18d3dc6260669e4299cd9f4adb0 | /CS 235/Lab 4/Lab 04/LinkedList.h | 3815769e44e495b6f356fcdd8b86eeb42200f207 | [] | no_license | dnybodan/Projects | 832946405b7d0d1aced2497563e65c49f1dde61c | 734b4647753577172a0b50e2d4f5e1cf678d45f0 | refs/heads/master | 2023-02-26T15:56:24.060380 | 2021-02-04T02:30:56 | 2021-02-04T02:30:56 | 211,124,642 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,270 | h | LinkedList.h | #ifndef LINKED_LIST_H
#define LINKED_LIST_H
#include "LinkedListInterface.h"
#include <iostream>
#include <fstream>
#include <string>
#include <sstream>
using namespace std;
template <typename T>
class LinkedList : public LinkedListInterface <T>
{
private:
public:
struct Node
{
//the data contained in the node... |
2f682da983af3d7a0e161814800af123b6c3857e | 0ba0b1d779fc9e4e3a06c0b78c4f7df0b9463bf4 | /Source/Logic/Private/Scene/RenderView.cpp | 31145066049bf15cc33c304fade841d7f7f9c200 | [] | no_license | xtozero/SSR | b2516297382940eb7d44500c0c5a331fe56a592b | 7c4c3fb40154cbca794cac8486fc9da3c0cd4afb | refs/heads/master | 2023-08-16T20:05:50.069134 | 2020-03-09T14:53:20 | 2020-03-09T14:53:20 | 32,936,541 | 21 | 1 | null | 2023-07-22T13:51:14 | 2015-03-26T15:45:06 | C++ | UTF-8 | C++ | false | false | 1,807 | cpp | RenderView.cpp | #include "stdafx.h"
#include "Scene/RenderView.h"
#include "common.h"
#include "Core/GameLogic.h"
#include "Render/IRenderer.h"
#include "Scene/ConstantBufferDefine.h"
using namespace DirectX;
void CRenderView::SetViewPort( IRenderer& renderer, const Viewport* viewPorts, int count )
{
renderer.SetViewports( viewPor... |
c617bddaae1c514feca3ae8f9fe24a1355330124 | 2aa2aaa234b24a494b6cb77b74016e727e0f9e0c | /17.03/simple_class_inheritance.cpp | fe417dad0fd7350a82ce0f5c46c194bdc5460b19 | [] | no_license | mstfzbn/sdp-pm14 | ad1191e066e51d49653ef423c9b0d09f7b48539e | ecbcfe7120670563f65baea955f9a5e2a757ab66 | refs/heads/master | 2020-04-06T04:39:10.293600 | 2014-06-04T05:21:24 | 2014-06-04T05:21:24 | 47,319,296 | 1 | 0 | null | 2015-12-03T08:43:02 | 2015-12-03T08:43:02 | null | UTF-8 | C++ | false | false | 1,201 | cpp | simple_class_inheritance.cpp | #include<iostream>
#include<string>
#include <vector>
using namespace std;
class Person {
char name[100],gender[1];
int egn;
protected:
void hello(){cout<<"HELLO"<<endl;}
public:
Person(){cout<<"EMPTY"<<endl;}
Person(int e){
egn = e;
strcpy(name , "HELLO ! ");
strcpy(gender , " ");
}
Person(char *n, int e... |
a8af6fc407141f57bde99aee36319122572a250e | 27721e886795df3e467756b8e0480f7afd6e66c4 | /xtt/lib/glow/src/glow_conclass.h | 1690a058b1352056fcf02c415254649abd387ab9 | [] | no_license | brunad-coder/proview | 88722029f3614d0febc4a8e9e6dea4859cc87363 | 4d75b942c649b1da8797323fa40f7f20cff634f8 | refs/heads/master | 2020-07-15T14:52:59.275163 | 2020-03-02T23:40:11 | 2020-03-02T23:40:11 | 205,586,528 | 0 | 0 | null | 2019-08-31T19:15:34 | 2019-08-31T19:15:34 | null | UTF-8 | C++ | false | false | 4,548 | h | glow_conclass.h | /*
* ProviewR Open Source Process Control.
* Copyright (C) 2005-2018 SSAB EMEA AB.
*
* This file is part of ProviewR.
*
* 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 2... |
633adc99eb253603470c3eb87ef7dc31e8fdb2fd | 180330a85e885300a260cccc3ffd7b39ec67d98d | /DontTouch.ino | 3f761a547ff578a2e0385d7ee6acd38d630315fb | [] | no_license | kahodesu/DontTouch | ad6c9ce8a297a0a38ca703d18b1c871a7431826e | 537c5e616c7a8006d3f3b320bb317bf6d56a7979 | refs/heads/master | 2021-01-01T15:54:48.986727 | 2014-12-06T05:30:54 | 2014-12-06T05:30:54 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,553 | ino | DontTouch.ino | /////////////////////////////////////////
/// Glove Code for Don't Touch game ///
/// by Ramsey Nasser & Kaho for ///
/// 3D Leap Motion Game Jam 2014 ///
/////////////////////////////////////////
/*
Based on following examples:
-- String to Integer conversion by Tom Igoe
*/
////////////////LIBRARIES///... |
703d7af2799bd28bb9a297cdd475015a58945e1b | 514e453348f579457270c70b71eab1abfeaea1b3 | /src/config/rgb-led-lighting-shield-conf.hpp | 4178f7258e43b0a3e9fcbcc5213604b1f0e75912 | [
"MIT"
] | permissive | Infineon/rgb-led-lighting-shield | 78418804823fcd6f5f34201f4213510ebe4ce779 | cc8d00b339cecf8dac0b599e3b5ebfd1c9095e34 | refs/heads/master | 2023-05-09T07:23:40.879100 | 2021-06-02T12:53:52 | 2021-06-02T12:53:52 | 317,917,558 | 1 | 0 | MIT | 2021-06-02T12:53:53 | 2020-12-02T16:10:33 | C++ | UTF-8 | C++ | false | false | 669 | hpp | rgb-led-lighting-shield-conf.hpp | /**
* @file rgb-led-lighting-shield-conf.hpp
* @brief RGB LED LIGHTING SHIELD Library Configuration
* @date November 2020
* @copyright Copyright (c) 2020 Infineon Technologies AG
*
* SPDX-License-Identifier: MIT
*/
#ifndef RGB_LED_LIGHTING_SHIELD_CONF_HPP_
#define RGB_LED_LIGHTING_SHIELD... |
d991b19c1c1830bc695284b89c048ddb33603f90 | da31c36c03476c3b5db7deef1de7c29f3a4f7cab | /POO ed_prat_01-09-2020/main.cpp | 852737611cb0888a56b16ec19e8895a813780a16 | [] | no_license | erickfigueiredo/praticas-estrutura-dados | 58c4f593248f4b8ba456aab9c7366e84ff23f76d | b7bbfbe78d63a7934c70d3936f5fa66a6671a811 | refs/heads/main | 2023-02-04T21:18:46.590539 | 2020-12-21T18:15:12 | 2020-12-21T18:15:12 | 302,192,223 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,223 | cpp | main.cpp | #include "Agenda.h"
int main()
{
int numCompromissos, numConsultas;
cin >> numCompromissos >> numConsultas;
Agenda ag;
//cerr << numCompromissos << numConsultas << endl;
//Le os compromissos
for (int i = 0; i < numCompromissos; i++)
{
string compr;
cin.ignore();
getl... |
015b0e0197167a4f4ff3b7859e3aab85fb157ec6 | b4d1fc90b1c88f355c0cc165d73eebca4727d09b | /tests/ceftests/test_request.h | 904a00df8492b52d681d9ae63135355ecbf70849 | [
"BSD-3-Clause"
] | permissive | chromiumembedded/cef | f03bee5fbd8745500490ac90fcba45616a29be6e | f808926fbda17c7678e21f1403d6f996e9a95138 | refs/heads/master | 2023-09-01T20:37:38.750882 | 2023-08-31T17:16:46 | 2023-08-31T17:28:27 | 87,006,077 | 2,600 | 454 | NOASSERTION | 2023-07-21T11:39:49 | 2017-04-02T18:19:23 | C++ | UTF-8 | C++ | false | false | 3,139 | h | test_request.h | // Copyright (c) 2020 The Chromium Embedded Framework 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 CEF_TESTS_CEFTESTS_TEST_REQUEST_H_
#define CEF_TESTS_CEFTESTS_TEST_REQUEST_H_
#pragma once
#include <string>
#include "in... |
290e819ad48f23336c7dbdbac6c96718997e578c | a8a252e6f994981db99063915d68a11074cf4745 | /Chart/ClientChart.h | f25b3f8bf36b6688f0d40cfdb15b46aaa23796c0 | [] | no_license | jhluo/EFM_Server | 7f38716f62de8a84a4e016f81b601510cb977fc8 | 70dd7c67b54067f046d2ee3b773d65f17ac183fa | refs/heads/master | 2021-01-12T08:26:11.237838 | 2017-03-14T21:43:29 | 2017-03-14T21:43:29 | 76,579,078 | 0 | 0 | null | 2016-12-21T02:33:56 | 2016-12-15T16:59:56 | C++ | UTF-8 | C++ | false | false | 882 | h | ClientChart.h | #ifndef CLIENTCHART_H
#define CLIENTCHART_H
#include <QObject>
#include <QChartView>
#include <QtCharts>
class AClient;
class ClientChart : public QChartView
{
Q_OBJECT
public:
ClientChart(AClient *pClient, QWidget *pParent=0);
~ClientChart();
private:
void createChart();
void mousePressEvent(Q... |
d104f7fd4eef065be61e213fb1a25cb7cf820262 | 0ef4c8732fad76359494b0017a9aec17afdc0f08 | /src/modelo/entidadUbicada/FactoryEntidadUbicada.h | 0f6c849c1a0448e3be28c11ded101af746f7b3a3 | [] | no_license | nachonitz/Eclipsados-Servidor | c60e95f535dc130a40dc5c56848f90bb34a546a1 | 052afdc13368cdcb1e719af185b6b25a0fa5679a | refs/heads/master | 2020-08-14T16:29:58.079813 | 2019-12-12T04:04:58 | 2019-12-12T04:04:58 | 215,198,713 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,241 | h | FactoryEntidadUbicada.h | /*
* FactoryEntidadUbicada.h
*
* Created on: Sep 9, 2019
* Author: franco
*/
#ifndef SRC_MODELO_ENTIDADUBICADA_FACTORYENTIDADUBICADA_H_
#define SRC_MODELO_ENTIDADUBICADA_FACTORYENTIDADUBICADA_H_
#include "EntidadUbicada.h"
#include "dibujable/Personaje.h"
#include "dibujable/Enemigo.h"
#include "dibujable/... |
4a9790c275bb4bcda9aa2691302a0750eeb88d38 | 7eefe46d8ffcc9e039f2b2bdf54f8099b8a3e486 | /src/liboslexec/wide/wide_optrigonometric.cpp | 6a8adb157bddec2dc4197199b7c22dfa6c4cd6f6 | [
"BSD-3-Clause",
"CC-BY-4.0"
] | permissive | luyatshimbalanga/OpenShadingLanguage | 955b19cdae0648e4a46ea396ee98f8c613701a21 | 2120647911af732f0d12d70e2f7f4e1ebe8fadcb | refs/heads/master | 2023-08-24T04:36:43.728182 | 2021-11-05T06:29:54 | 2021-11-05T06:29:54 | 410,814,717 | 0 | 0 | BSD-3-Clause | 2021-11-05T07:12:41 | 2021-09-27T09:06:43 | C++ | UTF-8 | C++ | false | false | 15,903 | cpp | wide_optrigonometric.cpp | // Copyright Contributors to the Open Shading Language project.
// SPDX-License-Identifier: BSD-3-Clause
// https://github.com/AcademySoftwareFoundation/OpenShadingLanguage
/////////////////////////////////////////////////////////////////////////
/// \file
///
/// Shader interpreter implementation of Trigonometric ope... |
06e5723cec47c4a4da9315d73597501f25327938 | 753a57645d0824a750fa07176bdf7e37369940f6 | /Engine/Plugins/UnrealCS/Source/MonoPlugin/Private/GeneratedScriptLibraries/LevelStreamingAlwaysLoaded.script.h | aac9ed646751310f0e2d1a1af2f8dc17310f6c61 | [
"LicenseRef-scancode-unknown-license-reference",
"MIT"
] | permissive | marynate/UnrealCS | 5782c4dd1b3fe6e136dcee54ce430aabd97b70a4 | de43f7e42ca037445202d59c8114fafc30e031ec | refs/heads/master | 2021-01-19T13:01:35.048880 | 2017-02-22T02:18:33 | 2017-02-22T02:18:33 | 82,354,770 | 2 | 1 | null | 2017-02-18T02:17:07 | 2017-02-18T02:17:06 | null | UTF-8 | C++ | false | false | 333 | h | LevelStreamingAlwaysLoaded.script.h | #pragma once
namespace UnrealEngine
{
class _ULevelStreamingAlwaysLoaded
{
static UClass* StaticClass(){return ULevelStreamingAlwaysLoaded::StaticClass();}
public:
static void BindFunctions()
{
mono_add_internal_call("UnrealEngine.ULevelStreamingAlwaysLoaded::StaticClass",(const void*)StaticClass);
... |
140e8c50459236c1f8802432f36c98f21a5f57ca | 8e4a3464a9cfb59466f7ce80b276e7ba87044bc7 | /Code Storage/Windows/ComlayerUsage/TestComlayer/libraries/LibComLayer/LangLabEvent.h | 10b4e86530b5296915ee87d416dcb6ce18e3f0b9 | [] | no_license | lilingshui/code-refrence | 875daf6b69c6a1d0bb908e78cc718ccc967cf8e6 | 5bf07d09f12133a1fa10d8d3fb086f143f9f7c1e | refs/heads/master | 2023-08-16T16:38:43.215233 | 2023-07-23T09:54:00 | 2023-07-23T09:54:00 | 26,759,907 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,475 | h | LangLabEvent.h | #ifndef __LANGLABEVENT_H__
#define __LANGLABEVENT_H__
class CEventItem : public IEventItem
{
public:
CEventItem(DWORD cbRecycle, LPVOID lpvData, DWORD cbData) {
m_cbRecycle = cbRecycle;
m_lpvData = lpvData;
m_cbData = cbData;
}
virtual ~CEventItem(void) {
}
public:
virtual LPVOID GetData();
virtual DWORD... |
88447f324f1e32800ada70bcb900becd5977f6dc | 8f8ede2d240cafa0b17f135c553a2ae64e6ea1bd | /voice/tts/test/ttslib/engine/nuance/TTS_PlatformAccessor_test.cpp | 0f8f392b6f3f9282d8193b087130542b488306cc | [] | no_license | hyCpp/MyDemo | 176d86b720fbc9619807c2497fadb781f5dc4295 | 150c77ebe54fe7b7f60063e6488319d804a07d03 | refs/heads/master | 2020-03-18T05:33:37.338743 | 2019-03-10T04:21:01 | 2019-03-10T04:21:01 | 134,348,743 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,042 | cpp | TTS_PlatformAccessor_test.cpp | /**
* Copyright @ 2014 - 2017 Suntec Software(Shanghai) Co., Ltd.
* All Rights Reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are NOT permitted except as agreed by
* Suntec Software(Shanghai) Co., Ltd.
*
* Unless required by applicable law or agreed to in writ... |
71b4ddd6a9cfd20811bbee1b8c91bd89a5c3f7d1 | fe8c119cb323de5dd8223cd631eb015244807671 | /NairnMPM/src/Materials/ExponentialTraction.cpp | b8c5d806760e7f40850c964829bdf271db7bdfdc | [] | no_license | nairnj/nairn-mpm-fea | a5706d97b97276c04b39ea199bfc91201bb43f69 | bee532cf2bda16b2fbb5f935aeb5bfb3e0d249d7 | refs/heads/master | 2023-08-18T02:59:50.899329 | 2023-08-12T16:17:08 | 2023-08-12T16:17:08 | 40,681,568 | 89 | 38 | null | 2018-10-31T16:46:25 | 2015-08-13T21:01:25 | C++ | UTF-8 | C++ | false | false | 6,339 | cpp | ExponentialTraction.cpp | /********************************************************************************
ExponentialTraction.cpp
nairn-mpm-fea
Created by John Nairn on 12/22/2020.
Copyright (c) 2020 John A. Nairn, All rights reserved.
This material used the scaled exponential law allowed in Abaqus
*********************... |
6bf2e1cc9885d0d5333757bd645b8ad27c53f437 | fb2a45ec972b3544616a142f5df0a0ed6a3267ba | /operation.h | d7cd8146ad872c505576fc794de4b33aaa6ce3af | [] | no_license | cyber4ron/mmo-server | a761729a34ca00c4e9d09f41cf0a9fcd1722f3a2 | 2cc4752f06dc7a570e0771d7c960d32837423336 | refs/heads/master | 2020-04-11T06:48:25.631899 | 2013-09-19T18:00:04 | 2013-09-19T18:00:04 | 12,915,191 | 1 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,046 | h | operation.h | #pragma once
#include "message.h"
// 人员动作参数的枚举定义
namespace ActionParams {
enum ButtonMoveDirection { kUp = 0, kDown};
enum ValveRotateDirection { kPositive = 0, kNegative};
};
class operation
{
public:
std::string opid;
std::string sub_opid;//用于顺序
operation_type::ot op_type;
std::string personid;
std:... |
3fdf527d899c4e00f8a6c1136159c83a4498e5a1 | a439c1a70f907258cd5c2d1fcfad26cffcbb4c70 | /vlclauncher/vlclauncher.cpp | 489708a6d0bacb72df082b275e36d6af627c7dbf | [] | no_license | Slippy2k/vlcdemo | 312cb07284d84a2ab65af7356d89fa86a8de96f2 | 62eed7215770c3fec641a10e91ae30171dbdbb72 | refs/heads/master | 2020-04-27T03:00:37.313961 | 2017-05-04T15:08:39 | 2017-05-04T15:08:39 | 174,012,219 | 1 | 0 | null | 2019-03-05T20:03:55 | 2019-03-05T20:00:38 | C++ | UTF-8 | C++ | false | false | 3,079 | cpp | vlclauncher.cpp | // vlclauncher.cpp : Defines the entry point for the application.
//
#include "stdafx.h"
#include "vlclauncher.h"
#include <conio.h>
#include <Windows.h>
#include <string>
#include <fcntl.h>
#include <io.h>
#include <ppltasks.h>
#include <Pathcch.h>
#include <Shlobj.h>
#include <iostream>
#include <fstream>
using ... |
a490e2a48beebe3f3d02ef2552871e81451ea0c0 | 5759ec01a7b25272296664ed6532be5a8ea329f8 | /sq-solver/square_equation_solver.cpp | dbcdc928ca04ae62a5b71e637c6769904da6659a | [
"MIT"
] | permissive | MrKaStep/ded-2018 | 316be236c06c37d1cd6fb280da2078da3e748242 | d6a4044864b14901ce0d87f1f6b38004d898f456 | refs/heads/master | 2020-03-28T12:22:47.901331 | 2018-09-27T06:06:27 | 2018-09-27T06:06:27 | 148,292,002 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,368 | cpp | square_equation_solver.cpp | #include "square_equation_solver.h"
#include <util.h>
#include <cassert>
namespace SqSolver {
using Util::IsZero;
bool IsLinear(const Equation& equation) {
return IsZero(equation.a);
}
Result SolveLinear(const Equation& equation) {
assert(IsLinear(equation));
if (IsZero(equation.b)) {
if (IsZe... |
267a8b6f0b165e5ff09047a943597fe365864b17 | aad34ffba02900ffbe26837899eadecacb1c156d | /Arrays/missing.cpp | 93c05f89156718d2ab7252744011f7a79174d769 | [] | no_license | ankithans/Data-structures-algorithms | 20deab67923fedf117a3bf9b7218c6f41c98f604 | bbacd78da5dfe1e243a90776ea3652e38b2a4f28 | refs/heads/master | 2023-01-03T09:09:07.424274 | 2020-10-02T07:09:17 | 2020-10-02T07:09:17 | 282,894,503 | 2 | 2 | null | 2020-10-08T07:33:40 | 2020-07-27T12:39:32 | C++ | UTF-8 | C++ | false | false | 466 | cpp | missing.cpp | #include <bits/stdc++.h>
using namespace std;
void inputOutput() {
#ifndef ONLINE_JUDGE
freopen("input.txt", "r", stdin);
freopen("output.txt", "w", stdout);
#endif
}
int main() {
inputOutput();
cout << "hello";
return 0;
}
/*
given 2 arrays, both arrays have same elements, but second
array has 1 elemen... |
f736139e0b206ecb2b7df87fa67a0ac3feb661b2 | adb2be7654cf31b13cc08dceb7394dda7732c6ee | /common.ino | 7a4ecfe47b220dd6841b8d8b6efdd932569f380d | [
"MIT"
] | permissive | LuckyNoS7evin/iracing-flag | 3c33f58e49e8a41a3294cf425d177793e923476b | 270d15a73da6d8d1bbfe485419bda5d41b249b93 | refs/heads/main | 2023-04-28T08:43:22.897499 | 2021-05-24T16:04:52 | 2021-05-24T16:04:52 | 363,042,684 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 290 | ino | common.ino |
void showStrip() {
strip.show();
}
void setPixel(int Pixel, byte red, byte green, byte blue) {
strip.setPixelColor(Pixel, strip.Color(red, green, blue));
}
void setAll(byte red, byte green, byte blue) {
for(int i = 0; i < NUM_LEDS; i++ ) {
setPixel(i, red, green, blue);
}
}
|
6b5f7cb27a48151c47df7ab177a6b2fadd2154e3 | 1c3d30e9ab85d548d41a525092bdadc5fe855343 | /objects/include/Flosion/Objects/Melody.hpp | ff20e5a50a81e79f5af2a8db38633b953e25ace2 | [] | no_license | timstr/Flosion | c9cb84fdb5f6c6585b1259f21cee39cedb03c825 | 75ed5be66a7c8baaced318ef6718e19705a2db32 | refs/heads/master | 2021-07-11T10:04:59.578103 | 2021-04-03T16:18:32 | 2021-04-03T16:18:32 | 89,533,633 | 6 | 1 | null | 2019-12-20T04:53:51 | 2017-04-26T22:54:09 | C++ | UTF-8 | C++ | false | false | 6,618 | hpp | Melody.hpp | #pragma once
#include <Flosion/Core/SoundSourceTemplate.hpp>
#include <Flosion/Core/MultiSoundInput.hpp>
namespace flo {
// TODO: add a bunch of Signals for subscribing to any important sorts of changes
class Melody;
class MelodyNote;
// The state of the Melody object
class MelodyState : public... |
cf48f5053e3eb5dac35f8d15d7d606c24d26e4e2 | 3866a0068c20e462470562ce42cac4b64deee954 | /RFX/Refractor.h | 9dae7ec7eb548529e89d410f034c9e70a694a259 | [] | no_license | BadSanta12345/RFX | 93fa5e5c7220c473959b0be0712be8e747821e93 | 3e49dafc2200f909595d6e91bd62c2c896988044 | refs/heads/master | 2021-01-19T09:25:17.896722 | 2017-09-11T20:34:25 | 2017-09-11T20:34:25 | 82,108,158 | 5 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 4,753 | h | Refractor.h | #pragma once
#include "bs\string_functor.h"
#include "bs\window.h"
#include "BF2Classes.h"
/*
* This file defines an easy to use interfaces for BF2 engine modders(/hackers)
* These functons are to be called only after BF2 has called create window.
*/
#include <d3d9.h>
#include <d3dx9.h>
namespace DICE
{
namespace... |
edc4b73601b93abef1561cfbbf844597a4a2aa8a | 6b40e9dccf2edc767c44df3acd9b626fcd586b4d | /NT/ds/security/cryptoapi/ui/cryptui/signgen.cpp | 3603cad208447ba9b7226a6896fed0c05c4c9071 | [] | no_license | jjzhang166/WinNT5_src_20201004 | 712894fcf94fb82c49e5cd09d719da00740e0436 | b2db264153b80fbb91ef5fc9f57b387e223dbfc2 | refs/heads/Win2K3 | 2023-08-12T01:31:59.670176 | 2021-10-14T15:14:37 | 2021-10-14T15:14:37 | 586,134,273 | 1 | 0 | null | 2023-01-07T03:47:45 | 2023-01-07T03:47:44 | null | UTF-8 | C++ | false | false | 35,144 | cpp | signgen.cpp | //+-------------------------------------------------------------------------
//
// Microsoft Windows
//
// Copyright (C) Microsoft Corporation, 1997 - 1999
//
// File: signgen.cpp
//
//--------------------------------------------------------------------------
#include "global.hxx"
#include <dbgdef.... |
568abcb9abf8e39ec3d4ee4e377c8a694aa4ab1a | 8addbe3a0a41341ab1ea08b451376976577b9c1f | /Classes/GameLevelChoose.h | 0b57059e769ca6b7e9310f07ac0af7aefa5fd624 | [] | no_license | tennysondy/PointGame_Src | 86ec38e160ba8017df00a0a5a40162b9313bb05f | 710f859c70fdb319150e8b2ec1857dd116f5686f | refs/heads/master | 2021-01-22T04:40:32.667045 | 2014-10-20T08:32:18 | 2014-10-20T08:32:18 | 25,069,892 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 521 | h | GameLevelChoose.h | #ifndef __GameLevelChoose__H__
#define __GameLevelChoose__H__
#define LEVEL_TAG 100
#define LEVEL_NUM 12
#include <string>
#include "cocos2d.h"
USING_NS_CC;
using namespace std;
class GameLevelChoose:public Layer
{
public:
GameLevelChoose(void);
~GameLevelChoose(void);
virtual bool init();
CREATE_FUNC(GameLevel... |
d227bca856d3cbb7f7c85795461d5feb6404b406 | 5300e0494a2431b0e8390ed60a933ccec2314db0 | /Task11/z-функция/main.cpp | 4997aed34b4f9e2e5bb4404d83e857e13f56eef4 | [] | no_license | AlmazNasibullin/algorithms-and-data-structures | b92b64c36acba8370a3f0257c9aab8407e57db3d | 1e39c1a3b04fc1269f9f03f68a4d81a9af70fc95 | refs/heads/master | 2016-09-03T07:19:46.284775 | 2013-02-11T14:58:33 | 2013-02-11T14:58:33 | null | 0 | 0 | null | null | null | null | WINDOWS-1251 | C++ | false | false | 2,742 | cpp | main.cpp | #include <iostream>
#include <string>
#include <vector>
#include <fstream>
using std::string;
using std::vector;
using std::cin;
using std::cout;
using std::endl;
using std::fstream;
using std::cerr;
using std::ios;
string read_input_string() {
string s;
try {
fstream in("in.txt");
in.seekg(0,... |
3617f57f034038b7d55bc4b37c6762ea2899e4d5 | 67150e5bd016ec389842466d2e482892af7b4527 | /src/components/NodeTest.cpp | d7113133bc0435024f6be5953e38c6db9cf000ce | [] | no_license | sevenmachines/cryomesh-cute | fa25508f6474960baf82d6aeb5e3008874817d6a | 0ebf7c7ef9a741cc4fa1bf00fe7978560926add2 | refs/heads/master | 2022-09-26T10:43:56.354061 | 2011-10-20T07:29:18 | 2011-10-20T07:29:18 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 20,153 | cpp | NodeTest.cpp | /*
* NodeTest.cpp
*
* Created on: 19 Jan 2011
* Author: SevenMachines<SevenMachines@yahoo.co.uk>
*/
//#define NODETEST_DEBUG
#include "NodeTest.h"
#include "components/Connection.h"
#include "common/TimeKeeper.h"
namespace cryomesh {
namespace components {
NodeTest::NodeTest() {
}
NodeTest::~NodeTest()... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.