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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
9da6de968c26575cb22754c388bf9d7d4a3d9743 | 7a455d1705511cc4dfbcf44d5a9544cd2052f62e | /code/machine_learning/src/feature_precondition.cpp | ef0fa14bdfdb260c75ff5eb4a512d9e323ed9b4e | [] | no_license | 8l/insieme | 69bf70adc34e465c41581dfd077a37451cac56d4 | 1db3b7dc6643d8c4c791c69a4004efabb19b665c | refs/heads/master | 2020-04-05T19:00:15.914694 | 2015-07-20T13:12:31 | 2015-07-20T13:12:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,128 | cpp | feature_precondition.cpp | /**
* Copyright (c) 2002-2013 Distributed and Parallel Systems Group,
* Institute of Computer Science,
* University of Innsbruck, Austria
*
* This file is part of the INSIEME Compiler and Runtime System.
*
* We provide the software of this file (below described as "INSIEME")
* under... |
2422f48383cb70156037b0ba170dce27052920fa | 4ec84d397a741bef5d390a638046086577461900 | /common/uiutils/hash_for_QPoint.h | 9ab8ecad61735f53ca5f881d2e277891da5a3985 | [] | no_license | luchengbiao/xqs_game | 186934d41b10a085650bf45bc0a496fb52d44582 | ce447bb923188a3ae13710033bcb074529a0d2e4 | refs/heads/master | 2020-04-05T06:17:55.699468 | 2019-03-21T10:40:26 | 2019-03-21T10:40:26 | 156,632,557 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 390 | h | hash_for_QPoint.h | #ifndef __UI_UTILS__HASH_FOR_QPOINT_H__
#define __UI_UTILS__HASH_FOR_QPOINT_H__
#include <functional> // for std::hash
#include <QPoint>
namespace std
{
template<>
struct hash<QPoint>
{
typedef QPoint argument_type;
typedef size_t result_type;
result_type operator()(const argument_type& rh) const
{
retu... |
05cebea43a18bf807672faa56aa72c00faad75b4 | fb3c1e036f18193d6ffe59f443dad8323cb6e371 | /src/flash/AVMSWF/api/flash/system/AS3SecurityDomain.cpp | eaed5a2c5eed069c1f18531cbf021b385fc270ba | [] | no_license | playbar/nstest | a61aed443af816fdc6e7beab65e935824dcd07b2 | d56141912bc2b0e22d1652aa7aff182e05142005 | refs/heads/master | 2021-06-03T21:56:17.779018 | 2016-08-01T03:17:39 | 2016-08-01T03:17:39 | 64,627,195 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,291 | cpp | AS3SecurityDomain.cpp | #include "StdAfxflash.h"
#include "ShellCore.h"
using namespace avmplus;
#include "AS3SecurityDomain.h"
namespace avmshell{
SecurityDomainClass::SecurityDomainClass(VTable* cvtable):ClassClosure(cvtable)
{
createVanillaPrototype();
//prototype = new (core()->GetGC(), cvtable->getExtraSize())SecurityDomainObje... |
44fc70ef7a24f6e75520fccd26fae106cefc423c | be7888e4cca05bf56e6389af0be139ea09f08464 | /form_command_11.cpp | 48cb0ce0ebbb4ab4dc3b15169a9b3126c16aabf1 | [] | no_license | raccoon-94/control | f612eb70c753b0c1f07fbde62c2af87f3105c5bc | 26be064ac74af55a633ba99f498800bf04676b1a | refs/heads/master | 2020-04-06T05:22:27.417678 | 2014-09-04T10:36:09 | 2014-09-04T10:36:09 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,616 | cpp | form_command_11.cpp | #include "form_command_11.h"
#include "ui_form_command_11.h"
form_command_11::form_command_11(QWidget *parent) :
QWidget(parent),
ui(new Ui::form_command_11)
{
ui->setupUi(this);
timer = new QTimer(this);
connect(timer, SIGNAL(timeout()), this, SLOT(update_form()));
timer->start(200);
clipb... |
3af641a04e22c80b1a0c3086185b5e0a6b2497e8 | 86ff4f376246eb72e4459dea7cb52bbd3005372a | /analisis/instruccion.h | 15b44f1e9f8e19a7584867009afa2f34b35e4723 | [] | no_license | bmoisesg/sistema-archivos | 1f5684987a58c70aea37b7c3a1383024a966c4c0 | 0e850c056f0a7eb743d8a1267d71689c93c654df | refs/heads/master | 2022-11-19T02:26:31.091239 | 2020-07-21T04:56:39 | 2020-07-21T04:56:39 | 269,168,495 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 988 | h | instruccion.h | #ifndef INSTRUCCION_H
#define INSTRUCCION_H
#include "iostream"
#include "QString"
#include "QList"
#include "parametro.h"
#include "lista_parametros.h"
#include "structs/MBR.h"
#include "structs/EBR.h"
#include "fstream"
using namespace std;
class instruccion{
public:
QList<parametro> parametros;
virtual voi... |
70d4f6fa1435b3e3affe4ec2e8aeb8d367282923 | 56e68d81f0d45fe4594ff62de725c01ec35f7ac4 | /StandardUser.h | 0e2fe8b34e1da09bca21306137bb0472e8fe53c0 | [] | no_license | tetchel/3307_bank | 46551a649e20c61eca9c3dfe1707bc4d72025d86 | 7703f4c2562f158ef15266ce1de708d6880e1ae8 | refs/heads/master | 2020-05-26T00:37:40.818971 | 2015-10-15T17:24:31 | 2015-10-15T17:24:31 | 44,136,366 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 569 | h | StandardUser.h | #ifndef STANDARDUSER_H_
#define STANDARDUSER_H_
#include "User.h"
#include "UserList.h"
#include "IOUtils.h"
#include <iostream>
#include <limits>
#include <sstream>
#include <cmath>
#include <algorithm>
class StandardUser {
public:
static void standardUserOperations(User*, UserList*);
private:
static int getDolla... |
ebdfaed7123d39351b976f567ee234f84c79de60 | 7ec7ab5b9d417869f9991d8c2e78f056ae767b2e | /Slash/Chapter 16 Instancing and Frustum Culling/InstancingAndCulling/Layer.cpp | e02576449ffa7297f8903b8c6f6423295054c99e | [] | no_license | notinmybackyaard/SlashClient | 33c5a7b365e9f3b3ce5ee1f6b4d9edc89d93615b | b5120a65856b5ce9b13f5874454c8ca84d261a57 | refs/heads/master | 2020-03-31T18:40:43.038556 | 2018-10-10T18:26:38 | 2018-10-10T18:26:38 | 152,467,989 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 968 | cpp | Layer.cpp | #include "stdafx.h"
#include "Layer.h"
#include "GameObject.h"
#include "Define.h"
CLayer::CLayer()
{
}
CLayer::~CLayer()
{
}
HRESULT CLayer::Initialize()
{
return S_OK;
}
bool CLayer::Update(const GameTimer & gt)
{
size_t iSize = m_vecObject.size();
for (size_t i = 0; i < iSize; ++i)
{
if (false == m_vecO... |
bf3e48b678fd96a1599f80b07f174d06980eb159 | 9b2a3151a7de6271f1618a482adbe4137aca6824 | /Coj/c++/1665 - WERTYU/main.cpp | 19b4f0beb09b0b60e7224d6f8956c38ac7b2d53a | [] | no_license | LuisEnriqueSosaHernandez/Programas-coj-otros | 4bb8f24b785144366ad4ebd65fc41571fec44f4f | ef24094e347e0d7b21a021cdd1e32954ff72a486 | refs/heads/master | 2020-04-05T14:36:04.355386 | 2017-07-19T20:34:56 | 2017-07-19T20:34:56 | 94,712,937 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 652 | cpp | main.cpp | #include <iostream>
using namespace std;
int main()
{
ios_base::sync_with_stdio(false), cin.tie(0);
string palabra;
bool verdadero;
char teclado[48]="`1234567890-=QWERTYUIOP[]\ASDFGHJKL;'ZXCVBNM,./";
int i,j;
while(true){
getline(cin,palabra);
i=0;
while(i<palabra.length()){
... |
91c534b7f7fe4d21d288ae5a9736b8ffc844f872 | 5f3bf7bf84d18ee5c637278f116c7d875eb37774 | /mbed/src/modes/weather_light_motion_mode.cpp | acd9ef9ef8facfd83872e7a38b25042195d4fdb8 | [] | no_license | arm-mbed-2015-project/moodlight | 8fabfc5b5bc256d1923d09e6950fbb4380d6d1a7 | f2796fcc6f1906f2fae777fc76f1010abfbbcedd | refs/heads/master | 2021-01-10T13:55:47.659052 | 2015-07-02T15:58:22 | 2015-07-02T15:58:22 | 36,483,021 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,571 | cpp | weather_light_motion_mode.cpp | #include "modes/weather_light_motion_mode.hpp"
#include "leds/leds.hpp"
#include <stdbool.h>
#include "Lights.h"
#include "NeoPixels.h"
#include "mbed.h"
extern Serial pc;
namespace moodlight {
WeatherLightMotionMode::WeatherLightMotionMode(){
motion = false;
intensity = 500;
temperature = 20;
}
W... |
9a02f24ce2687ae417cc3553792afc8cb1316c37 | 216abd368107b846ced481558013085748055e0f | /LAB05/q2.cpp | b549bbee6fb7216d6b9c69a197e7dea5e557043e | [] | no_license | Ogi0811/partogipsimatupang_FOP2020 | 935bd365304ba1b6e0e203d727453973d8b69e1d | a7b54aedbeb17970acfbcb7943ce1622fd88285b | refs/heads/master | 2023-02-17T14:45:19.741539 | 2021-01-05T00:20:24 | 2021-01-05T00:20:24 | 294,578,267 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 483 | cpp | q2.cpp | #include <iostream>
#include <cstdlib>
#include <ctime>
using namespace std;
int main ( ){
srand(time(0));
int answer,count,number;
int point=0;
while(count <10){
float x=rand()%10, y=rand()%10;
number = x+y;
cout <<"How many " << x <<"+"<< y <<endl;
cin >>answer;
count++;
if (answer ... |
c88da42a9db5302dacaeaa7bdb65f1943bb76a14 | 5069f89049e1519bf5d9ccbc450c66468c68744c | /raytracer/raytracer/samplers/stratified-sampler.cpp | d8ca158f9231770103e0854074b678b9b3a84bfc | [] | no_license | DenisBlondeel/3D-raytracer | a1a10cad421a22c079c7d0577112ca46a7aced5b | b4c313cf6d9488b77eec97e6d9ab6848225b3404 | refs/heads/master | 2023-01-24T19:45:43.768665 | 2018-08-29T07:49:19 | 2018-08-29T07:49:19 | 320,062,465 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 919 | cpp | stratified-sampler.cpp | #include <stdlib.h>
#include "samplers/stratified-sampler.h"
#include "math/rasterizer.h"
using namespace math;
using namespace raytracer;
namespace
{
class Stratified : public raytracer::samplers::_private_::SamplerImplementation
{
public:
Stratified(int N, int M) : N(N), M(M) {}
int N;
... |
020af617884a66980c09821ae9b807ba2cbfdac2 | 0bde333e0b611457eabf84075eb5ae437053eeaf | /NewImageDisplayDialog.cpp | beac911060617d4e9756e981f6cb94b49dc659ad | [] | no_license | radtek/scanTracSingle2013 | 39d643e1898b97c097bc1dfc931a3d31aa97798b | e26a7f08184807d8c43c82528dd687dde54acf09 | refs/heads/master | 2021-03-04T04:19:01.819977 | 2019-12-28T02:32:48 | 2019-12-28T02:32:48 | 246,008,002 | 1 | 0 | null | 2020-03-09T10:38:40 | 2020-03-09T10:38:39 | null | UTF-8 | C++ | false | false | 639,802 | cpp | NewImageDisplayDialog.cpp | //ScanTrac Side View Source File
// NewImageDisplayDialog.cpp : implementation file
//
#include "stdafx.h"
#include "ScanTrac.h"
#include "NewImageDisplayDialog.h"
#include "NoticeDialog.h"
#include "YesNoDialog.h"
#include "AlphaEntryDialog.h"
#include "NumericEntryDialog.h"
#include "PasswordEntryDialog.h"
#include ... |
b7846aaa75f27b21ed1aa77d40345f40c9eb9326 | 3dfbd65374842a0356ccd7a8a24041d5e52b657c | /zuul2.cpp | 7b2695b041e29f2fa5471f1972d0c916d5fb82a5 | [] | no_license | alannacroysdale/Zuul_ | 21dbc753b76a7109535c5ca784eecd1406a302b3 | 065830d68a669e75e2130e25691a679a92151834 | refs/heads/master | 2021-05-08T12:29:13.480928 | 2018-02-02T07:15:44 | 2018-02-02T07:15:44 | 119,946,680 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 17,324 | cpp | zuul2.cpp | #include <iostream>
#include <string.h>
#include <vector>
#include "Room.h"
#include "Item.h"
#include "Player.h"
//Alanna Croysdale 2-1-18 Zuul
using namespace std;
// Print all room descriptions
void printRooms(vector<Room*>);
// function to create Rooms and Items, define Exits,
// and put items in rooms
void cr... |
29cfc32ecf8dce316e5e5e0faa354c5a59d9335e | fa9757b08425b484857d9449f7d28413c6f7f8a9 | /src/Backlog.hpp | b61b0e61da78f33dbf7e7a286881984a16fef6dc | [] | no_license | yixiaoxian/wheres-crypto | a045257bde7c9691e2b1ee7907d4ec532d628c86 | 3e14a1368c7295126a5cb966ae37d97edfb9d7d4 | refs/heads/master | 2022-12-28T20:43:49.312669 | 2020-10-15T15:19:10 | 2020-10-15T15:19:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 741 | hpp | Backlog.hpp | #pragma once
#include <unordered_map>
#include <list>
#include "types.hpp"
class BacklogImpl : virtual public ReferenceCounted, public std::list<bool> {
public:
BacklogImpl() { }
BacklogImpl(bool bValue) : std::list<bool>(1, bValue) { }
BacklogImpl(const BacklogImpl &other) = default;
};
class BacklogDbImpl : vi... |
ec289eec1d87e2ca83b71bd5c2ead4fd1919b5a7 | 790d0925a6bd5878b48a739660e3b9cb0eececb6 | /FreeNOSTest/lib/libposix/unistd/write.cpp | 3c7c0e5f536947a35061400f16a37536b4789a44 | [] | no_license | sunryy/FreeNos | e8fb21100a1943724188575c57eede4836b341c3 | 7cddd90d48fc7addf70a5235e56e2f70a5a3bac2 | refs/heads/master | 2021-08-20T02:17:13.766827 | 2017-11-28T00:21:17 | 2017-11-28T00:21:17 | 112,264,456 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 798 | cpp | write.cpp | #include "write.h"
#include "intel/pc/System.h"
#include "FileSystemMessage.h"
#include "Runtime.h"
#include "errno.h"
#include "unistd.h"
ssize_t write(int fildes, const void *buf, size_t nbyte){
FileSystemMessage msg;
FileDescriptor *fd = (FileDescriptor *)getFiles()->get(fildes);
//Write the file
if (fd)
{
... |
005089fcb288842bc3637dc8c62a961fb5ee6ce2 | ab1f1ea1d5c794a81a29bf88ed2dfb6b3e7ffdff | /include/measurement_kit/common/error.hpp | 72abda54db1ccdccd7c09b18dc0cb365a4ba8584 | [
"Zlib",
"MIT",
"curl",
"BSD-2-Clause",
"BSD-3-Clause"
] | permissive | marcosajc/cloned_mk | 6b080d08cba5e3f821b1877090be34ccae8cd702 | e721b3c6172036ba06a02ddd4818c21f109b52b0 | refs/heads/master | 2021-01-20T13:38:09.276970 | 2017-05-21T18:42:32 | 2017-05-21T18:42:32 | 90,509,288 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,760 | hpp | error.hpp | // Part of measurement-kit <https://measurement-kit.github.io/>.
// Measurement-kit is free software. See AUTHORS and LICENSE for more
// information on the copying conditions.
#ifndef MEASUREMENT_KIT_COMMON_ERROR_HPP
#define MEASUREMENT_KIT_COMMON_ERROR_HPP
#include <measurement_kit/common/var.hpp>
#include <string>... |
4298436f954bd9069f9fd2220badd0743b53e845 | 16fff289603c3e32e8f1a5cef98d5951f22d8b05 | /pessoal/house.cpp | 64145305f75b49db1d9fe1650023d87187ac81a0 | [] | no_license | iybe/Modelador-3D-opengl | de75e6dcf390d80a1bfae5189db55515f5f5f698 | 4052184a7a973de7cec0d2650c95129161a08df0 | refs/heads/master | 2022-12-17T10:44:13.461033 | 2020-09-12T23:48:00 | 2020-09-12T23:48:00 | 295,041,920 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 777 | cpp | house.cpp | #include "house.h"
house::house()
{
model = new Model3DS("3ds/house.3DS");
nome = "house";
}
void house::desenha()
{
glPushMatrix();
Objeto::desenha();
if(selecionado){
glEnable(GL_CULL_FACE);
GUI::drawBox(-1, -1, -1, 1, 1, 1, true);
}
if(desenhar_si... |
33c6d8f1a5aef4c46fa2c1f1e1aeab1c928d46b2 | 313775839ab9ae5d5f7e7f2cbac2992525400be0 | /Source/PlayerVs/Player/ABDeathMatchPlayerState.h | 48c58a57c715d3a61bde78502c0b89702b4cbf3f | [] | no_license | EthanSherr/PlayerVs | f7cd22c8164b1c51395d2f949be126c442becc9f | 0a76e1053f3093ad4d3d9f8ea588f04b88f30da2 | refs/heads/master | 2023-07-20T15:10:14.653962 | 2019-03-20T19:47:42 | 2019-03-20T19:47:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 671 | h | ABDeathMatchPlayerState.h | // Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "Player/ABPlayerState.h"
#include "ABDeathMatchPlayerState.generated.h"
/**
*
*/
UCLASS()
class PLAYERVS_API AABDeathMatchPlayerState : public AABPlayerState
{
GENERATED_BODY()
protected... |
6a8e713a773e8070e90b27b7a8410e8c633c8717 | 1af660d6e0ff16032e9fc15228b7029cb35f25c2 | /common/EntityHandle.h | 77890b1dfa4d3af835b2d30615130bc9e221c549 | [] | no_license | evaaan/ProjectM | 8fe2b76325d1e99c20b862ba991669cced44c75a | 06a8fba0fc2d59a857c4a42cb2b63e8d29f7a5f0 | refs/heads/master | 2023-03-16T12:17:26.425892 | 2021-03-07T02:56:34 | 2021-03-07T02:56:34 | 323,200,048 | 5 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,808 | h | EntityHandle.h | #pragma once
#include <memory>
#include <utility>
#include "Entity.h"
#include "World.h"
// Forward Declarations
class World;
template <typename ComponentType>
struct ComponentHandle;
/* Syntax helpers around a wrapper to World. Example:
* EntityHandle player = world.createEntity();
* player.addComponent(std::make_u... |
e70f12ec3da0d0d6af30de041660ccf20e785798 | ff99c6a7e0375516e435a60903f0a7c7d4c777bb | /Engine 4/Particle.cpp | ff68ca06c0e927fdd0a1657d4d7305895b5a8b8f | [] | no_license | gustifur89/Engine-4 | fde9c3e3b2a477e905b544351fd50551a3578a3f | 945e1e44af72d74d9471bba77eea110cfa46cef6 | refs/heads/master | 2021-02-06T02:25:40.796525 | 2020-07-19T20:17:09 | 2020-07-19T20:17:09 | 243,864,680 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,534 | cpp | Particle.cpp | #include "Particle.h"
// =========================== ParticleSystem ===============
std::vector<GLfloat> ParticleSystem::g_vertex_buffer_data = {
-0.5f, -0.5f, 0.0f,
0.5f, -0.5f, 0.0f,
-0.5f, 0.5f, 0.0f,
0.5f, 0.5f, 0.0f,
};
float ParticleSystem::aspectRatio = 1.0;
void ParticleSystem::setAspectRatio(float asp... |
3387a5e91d8a6676b97191417b481e2c316ade4d | 01ef20f3487a7eb053f4ae30fd26211fba1a5567 | /sdl2-3d/sdl2-3d/Voxel/VoxelBlock.cpp | 40b7db675a87abed28af0f046ad4887864c0ee07 | [] | no_license | cappah78/sdlgame | 310f862e4249c7fe87bac2f2d5be290c954ab60f | 6eeb439c61b5e8cc0603339d13690f43c6b61782 | refs/heads/master | 2020-04-17T16:21:38.921146 | 2014-03-18T21:30:16 | 2014-03-18T21:30:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,107 | cpp | VoxelBlock.cpp | #include "VoxelBlock.h"
#include "PropertyManager.h"
#include <assert.h>
#include <algorithm>
struct PropertiesSorter
{
inline bool operator() (const PerBlockProperty& lhs, const PerBlockProperty& rhs)
{
return lhs.name < rhs.name;
}
};
BlockProperties::BlockProperties(luabridge::LuaRef block, Pro... |
5ae9a09089630b8928a14b1f75fcb5a75be83f4a | e195d2583b037d828baa2bbbd5c58fb7fd7a6fac | /test/qu8-dwconv-minmax-gemmlowp.cc | 09e3a274133c422d13ebdce54dec4fcc57ce174c | [
"LicenseRef-scancode-generic-cla",
"BSD-3-Clause"
] | permissive | mitchellspryn/XNNPACK | b09b34e376c66f4f80a97d7c70ac8c3d23619757 | cf277de610b96e0c8ebdea48421570c307b827da | refs/heads/master | 2023-06-17T23:07:44.567408 | 2021-07-08T06:33:14 | 2021-07-08T06:34:07 | 384,202,533 | 0 | 0 | NOASSERTION | 2021-07-08T17:33:48 | 2021-07-08T17:33:47 | null | UTF-8 | C++ | false | false | 22,656 | cc | qu8-dwconv-minmax-gemmlowp.cc | // Copyright (c) Facebook, Inc. and its affiliates.
// All rights reserved.
//
// Copyright 2019 Google LLC
//
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree.
//
// Auto-generated file. Do not edit!
// Specification: test/qu8-dwconv-m... |
af6a25fa11a6ea68a403f7fb2edae12246f5d214 | bcad67e4911cfb471a62600d203f9fa80ab39063 | /GuardianCombat2/Source/Game/Enemy/StateAction/StateAction_Summons.cpp | 7db9b208a939dda115258ef11a62ed4e486f7741 | [] | no_license | TanakaHirokiHalTokyo/GuardianCombat2 | 0b9aca7eae7f3c3c69219487a869ad5dd4a22e70 | 647115c71df0a4e88afbb8e8c5750ca3b29dea30 | refs/heads/master | 2020-04-03T05:15:30.083228 | 2019-02-20T01:26:51 | 2019-02-20T01:26:51 | 155,039,991 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,123 | cpp | StateAction_Summons.cpp | #include "StateAction_Summons.h"
#include "../StateEnemy/StateEnemy_RotateToMiddle.h"
#include "../StateEnemy/StateEnemy_MoveToPoint.h"
#include "../StateEnemy/StateEnemy_Summons.h"
StateAction_Summons::StateAction_Summons(Enemy* enemy)
{
SetEnemy(enemy);
rotateMiddle_ = new StateEnemy_RotateToMiddle();
transMiddle_... |
7da8c8522f87bc5cf6072595590bb98779bf6edb | 16130ebe7fb5e52231e87e6dec74da16d4c491cc | /mi/exams/ljr_2019/fifth.cpp | b3a2edafae8297e9e7f8222871cab60a57923a7f | [] | no_license | Zeko369/asp | 3ce230c0fe4ae203a87222ed4f13f19bafb79a86 | 03627e0c86df02ad0566eb8ba5d3d84d260f94d9 | refs/heads/master | 2023-03-05T09:46:39.683246 | 2021-02-12T05:35:35 | 2021-02-12T05:35:35 | 309,824,526 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 747 | cpp | fifth.cpp | class Node {
public:
int value;
Node *next;
};
class List {
private:
Node *head;
public:
void extend(int item) {
Node **tmp = &head;
while (*tmp) {
if ((*tmp)->next) {
if ((*tmp)->value < item && (*tmp)->next->value < item) {
int va... |
a30408efe1046994e9d5618b103053fe0c06c9f6 | 60cb1638f0c44b850d197b48e9ebe57ac14feb7a | /算法程序-用C++语言实现/ch2/矩阵求秩.cpp | 6193d7028a58aed4a5a3e909780c57870b0fcd88 | [] | no_license | losangler/C_project | 44e0cf5426df1b83c3c69ad00a5038d8a595bf84 | ef36e9e2dbc606c7eb28afcd3691613c306be15f | refs/heads/master | 2022-05-10T01:21:45.101742 | 2020-04-28T10:09:30 | 2020-04-28T10:09:30 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,527 | cpp | 矩阵求秩.cpp | //矩阵求秩.cpp
#include <cmath>
#include <iostream>
using namespace std;
//a[m][n] 存放m×n阶矩阵A的元素。返回时将被破坏。
//函数返回A的秩。
int rank(double a[],int m,int n)
{ int i,j,k,nn,is,js,l,ll,u,v;
double q,d;
nn=m;
if (m>=n) nn=n;
k=0;
for (l=0; l<=nn-1; l++)
{ q=0.0;
for (i=l; i<=m-1; i++... |
fd49d28d9f1985bc112fc46dc97fdc2290f38cd5 | 510cfe880a475f0c572cc34c1b544e41911c3e6c | /1389A.cpp | bc3a671bdb35792ad542fe1d19f71af480ba29e8 | [] | no_license | ptkhai1203/cf-problems | aa40a1233b490c0daa977f978bed5b517bc47190 | 421c8e43401aa409363d6653540d8d6238b0e1d3 | refs/heads/main | 2023-04-14T14:03:45.795965 | 2021-04-12T13:35:05 | 2021-04-12T13:35:05 | 340,100,309 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 964 | cpp | 1389A.cpp | #include <bits/stdc++.h>
#define nl '\n'
using namespace std;
typedef long long ll;
#define pi acos(-1)
#define all(x) (x).begin(), (x).end()
ll gcd(ll x, ll y){
if(x == 0)
return y;
return gcd(y, x % y);
}
ll lcm(ll x, ll y){
return (x * y) / gcd(x, y);
}
int main(){
#ifdef PTK
freopen("inp... |
58f6e9e60bf05858c4ef7f60dc069b8465e98bd4 | aaa916b4098427a107b972f98604cdeff781d797 | /solvers/heuristic.hpp | 26b523619ab29cd226552e67b7dbb95fd7d37e43 | [
"MIT"
] | permissive | Marxan-source-code/marzone | 0024af69b0afae451f20d93e1adfb3cf4e779cb8 | 85082e3346937010703ecad829f0eb2fd132d82f | refs/heads/master | 2023-03-28T21:13:14.886333 | 2021-03-24T23:40:21 | 2021-03-24T23:40:21 | 179,776,636 | 3 | 1 | MIT | 2021-03-24T21:49:13 | 2019-04-06T01:39:45 | C | UTF-8 | C++ | false | false | 11,835 | hpp | heuristic.hpp | #pragma once
#include <limits>
#include <random>
#include "../marzone.hpp"
#include "../pu.hpp"
#include "../reserve.hpp"
#include "../zones.hpp"
namespace marzone {
using namespace std;
/* * * * ***** Main Heuristic Engine * * * * * * * * ****/
class Heuristic {
public:
Heuristic(mt19937& r... |
019eca634267ca183fb0ecab001fb5d6777aebb4 | 44227276cdce0d15ee0cdd19a9f38a37b9da33d7 | /arcane/extras/NumericalModel/src/Utils/ItemGroupMap.cc | 162e2ddbf5af6590da2818dd355806ca394a49e7 | [
"Apache-2.0",
"LGPL-2.1-or-later"
] | permissive | arcaneframework/framework | 7d0050f0bbceb8cc43c60168ba74fff0d605e9a3 | 813cfb5eda537ce2073f32b1a9de6b08529c5ab6 | refs/heads/main | 2023-08-19T05:44:47.722046 | 2023-08-11T16:22:12 | 2023-08-11T16:22:12 | 357,932,008 | 31 | 21 | Apache-2.0 | 2023-09-14T16:42:12 | 2021-04-14T14:21:07 | C++ | UTF-8 | C++ | false | false | 8,501 | cc | ItemGroupMap.cc | // -*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*-
//#include "arcane/geometry/ItemGroupMap.h"
#include "Utils/ItemGroupMap.h"
#include "arcane/IMesh.h"
#include "arcane/utils/ItemGroupObserver.h"
#include "arcane/utils/OStringStream.h"
#include "arcane/ItemPrinter.h"
#include "arcane/Arcane... |
a06c2f183b6d68fc74e958420eaf4f5ec401aa9d | d6f4fe10f2b06486f166e8610a59f668c7a41186 | /Base/cxx/point.h | be15a1bfcced97e3b36dd436371e0d8ae8e54a31 | [] | no_license | nagyistge/slicer2-nohistory | 8a765097be776cbaa4ed1a4dbc297b12b0f8490e | 2e3a0018010bf5ce9416aed5b5554868b24e9295 | refs/heads/master | 2021-01-18T10:55:51.892791 | 2011-02-23T16:49:01 | 2011-02-23T16:49:01 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,356 | h | point.h | /*=auto=========================================================================
Portions (c) Copyright 2005 Brigham and Women's Hospital (BWH) All Rights Reserved.
See Doc/copyright/copyright.txt
or http://www.slicer.org/copyright/copyright.txt for details.
Program: 3D Slicer
Module: $RCSfile: point.... |
a86354c7bde863092218dea62c580d08e9fb31ad | a158f5bf5f601f6c257d954136474cabe834bc85 | /C++/dmn.cpp | 6c31c932b7a4956dda432207e5f8b7567daa093f | [] | no_license | SwagataSrimani/HACKTOBERFEST2020-4 | a9c537078e1b6bca6504293574ea149010e60b7c | 97ce6bec85f1ae2f0f6c46ed56110db0b0c5f125 | refs/heads/master | 2022-12-28T18:50:34.818775 | 2020-10-08T15:54:14 | 2020-10-08T15:54:14 | 302,392,332 | 0 | 1 | null | 2020-10-09T17:54:25 | 2020-10-08T15:58:11 | null | UTF-8 | C++ | false | false | 2,302 | cpp | dmn.cpp | // script for exercise "Domino" from contest ilocamp 3 grupa srenia
// its content you can find there: https://szkopul.edu.pl/
#include <bits/stdc++.h>
#define pc putchar
#define gc getchar
#define gcu getchar_unlocked
#define fi first
#define se second
#define pb push_back
#define mod ((ll)1e9 + 7)
typedef long long l... |
faae6414a66b9b6e5845a6811117e5d8bc82da74 | d96ebf4dac46404a46253afba5ba5fc985d5f6fc | /third_party/libwebrtc/call/rtp_payload_params.h | 3fe184cc1077fbee07edd124ba223b71a567c30c | [
"LicenseRef-scancode-unknown-license-reference",
"BSD-3-Clause"
] | permissive | marco-c/gecko-dev-wordified-and-comments-removed | f9de100d716661bd67a3e7e3d4578df48c87733d | 74cb3d31740be3ea5aba5cb7b3f91244977ea350 | refs/heads/master | 2023-08-04T23:19:13.836981 | 2023-08-01T00:33:54 | 2023-08-01T00:33:54 | 211,297,165 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,286 | h | rtp_payload_params.h | #
ifndef
CALL_RTP_PAYLOAD_PARAMS_H_
#
define
CALL_RTP_PAYLOAD_PARAMS_H_
#
include
<
array
>
#
include
<
vector
>
#
include
"
absl
/
types
/
optional
.
h
"
#
include
"
api
/
field_trials_view
.
h
"
#
include
"
api
/
video_codecs
/
video_encoder
.
h
"
#
include
"
call
/
rtp_config
.
h
"
#
include
"
modules
/
rtp_rtcp
/
s... |
0d52d62aa7b0bd1de3dcaf183c3f09547fb93d9b | 2f19e39d581eaa8298ca08192460fe3ac9f8d02b | /re2robot/re2robotDriver/src/tests/DriverTest.cpp | 91906930675cac67d368f2d71b41e01866a7e9c6 | [] | no_license | davecarr1024/libfhe | 77497b67c2ead85fc0bd6a7837a765daf6ccfe30 | 31682b423fc2255a10235f28c17cbdc7c6d7668b | refs/heads/master | 2021-05-08T05:22:02.635076 | 2016-08-22T20:11:06 | 2016-08-22T20:11:06 | 31,622,347 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,526 | cpp | DriverTest.cpp | #include <re2robotDriver/DriverProxy.h>
#include <re2math/RE2Math.h>
#include <gtest/gtest.h>
#include <ros/ros.h>
using namespace re2;
using namespace robot;
boost::shared_ptr< DriverProxy > driver;
TEST( DriverTest, motion )
{
static const double POS_THRESHOLD = 0.01, VEL_THRESHOLD = 0.01;
ASSERT_TRUE... |
609167d530c8dd651ed332ef9811eb6c456886ce | 0d3cfdb002d76df41ea7f77f6e66235c2ae8bcea | /pointer1.cpp | 707abf964720191211eaf888fdf4850ce7633812 | [] | no_license | raymarkcruz4/cpedstrucl-e21 | 3ff27b8c0883d93b05a387c164e994cafb13f8c9 | b0b853a0d6010258ce6a6e8665012fe7947743f6 | refs/heads/master | 2020-06-16T06:24:53.768643 | 2017-03-02T00:26:56 | 2017-03-02T00:26:56 | 75,237,674 | 0 | 0 | null | 2016-11-30T23:52:13 | 2016-11-30T23:52:13 | null | UTF-8 | C++ | false | false | 228 | cpp | pointer1.cpp | #include <iostream>
using namespace std;
int main(){
int *ptr;
int inputn;
ptr=&inputn;
cout << "Enter number: ";
cin >> inputn;
cout << "The pointer values is " << *ptr << " the memory address is: " << ptr;
return 0;
}
|
c10c6ee9ab08ee82972acd58459725457e33fab0 | 51baf325067a23df03bc6b700496dc8da139bac3 | /cplusplus/Simulator.cpp | 06181b9c6d8f217b0a38331527a9a19eef58492b | [] | no_license | pcsfilho/trapezoidCircuitSimulator | 8f7ac2fe4a0b4557e825714d9816b2fc6ce02ee3 | 8552d86a2b2b102a2e59872cadd07fc932b78f39 | refs/heads/master | 2018-11-02T22:56:27.131548 | 2018-08-25T15:05:52 | 2018-08-25T15:05:52 | 104,423,167 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,182 | cpp | Simulator.cpp | #include <iostream>
#include <fstream>
#include <cstdlib>
#include <string>
#include <algorithm>
#include "Simulation.h"
#include "Simulator.h"
#include "matrix.h"
using namespace std;
Simulator::Simulator(){}
Simulator::Simulator(ifstream &netlistFile, Simulation* sim)
{
simulation = sim;
parser_simulator(ne... |
4983bc27fad6e87c081ef99ea329090303bc640b | da6863c90ee854ceba9ae4f4d75c2c04df394dfd | /contest/codejam20/qual/Epar.cpp | 0990458202e8f6b7e8d5dd1b63fa6cacf9512aca | [] | no_license | iamrakesh28/Competitve-Programming | a9db8df3d4a90ea34bad982a5c9ff90da4f9708e | c7aec676acfee8d506e5cfbbd010bdb913d880e4 | refs/heads/master | 2021-06-11T03:27:31.364670 | 2021-04-04T11:54:55 | 2021-04-04T11:54:55 | 180,629,170 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,118 | cpp | Epar.cpp | #include <iostream>
#include <cstring>
using namespace std;
const int N = 5;
int row[N], col[N], ans[N][N];
bool backtrack(int i, int n, int k) {
int r = i / n, c;
c = i % n;
if (r == n) {
int tr = 0;
for (int j = 0; j < n; ++j)
tr += ans[j][j];
if (tr == k)
return true;
return fals... |
4cca7d3e275f84b8edec3db33d678c9c13016d11 | 5b9f80a1e1bda4588ea96589c25fd7b80f0351f0 | /Counterexample.cpp | a002ae03efb8ee9be68533979cb0aaeda13a9782 | [] | no_license | blissfullpeace/CP | 898edeedc583b657388ebd1b9bf60b771cab4a99 | 1a2e4647202ccd12ae34a9e134cff4fef3625b41 | refs/heads/main | 2023-07-12T03:21:09.993035 | 2021-08-20T12:15:39 | 2021-08-20T12:15:39 | 397,310,884 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 291 | cpp | Counterexample.cpp | #include <bits/stdc++.h>
using namespace std;
int main(){
cin.tie(0)->sync_with_stdio(0);
long long l, r;
cin >> l >> r;
if((r - l <= 1) || ((l & 1) && r - l == 2))
{
cout << -1 << '\n';
return 0;
}
if(l & 1)l++;
cout << l << ' ' << l + 1 << ' ' << l + 2 << '\n';
}
|
78c4e4b02e1ee7891aacd0372b4c3b5374b845b7 | ca249ca9733de013d6c5e317551897fa56479d15 | /2209.cpp | 08de571a549fc8968ea0b0b0948fc4af0ec0d959 | [] | no_license | fjl1005/BSOJ-answers | 6d2055a6e3229e06bf81be45996d20a0b587e349 | 7773b1c588d3f17eef470dfba2daa59be3fce7fa | refs/heads/master | 2020-06-28T22:55:52.475735 | 2019-08-03T11:42:37 | 2019-08-03T11:42:37 | 200,363,773 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 431 | cpp | 2209.cpp | #include<cstdio>
int sum[200005],num[200005],q[200005];
int main(){
int n,m,x,ans=-0xffffff,i;
int head=1,tail=1;
scanf("%d%d",&n,&m);
for(i=1;i<=n;i++){
scanf("%d",&x);
sum[i]=x+sum[i-1];
if(ans<sum[i]-q[head]){
ans=sum[i]-q[head];
}
while(sum[i]<=q[tail]&&tail>0){
tail--;
}
q[++... |
328c66a1b78288dd631180ecf63904de1e5fd0d6 | 58609ba406a43c180752379fb25fa52a447a4d3f | /Src/CollisionPhysics/Part2_V2/Chestie/Chestie/Intersection.h | 36d52f44477d5caef82fe127fbede6b386588c49 | [] | no_license | elf11/GPGPU | f0c96577d9471154d4136ade0b2fdf51a7c0a910 | 93ab7f6f7179d5392d2c921f1f5570b155f416d6 | refs/heads/master | 2020-06-04T01:01:26.042953 | 2012-11-16T13:29:32 | 2012-11-16T13:29:32 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 443 | h | Intersection.h |
#ifndef __INTERSECTION_H_DEF__
#define __INTERSECTION_H_DEF__
#include "stdinc.h"
#include "RMath.h"
#include "tvector.h"
class BaseObject;
class Intersection
{
public:
static bool SphereSphere(const TVector * const pos1, const float _rad1, const TVector * const pos2, const float _rad2);
static bool PointSphere(c... |
d81dcbeb65f145ba0d1d93e67e46b3ba571ac415 | d1287220117f6d56db78c9239ac2ba437594a20d | /ProjCPOA_Init/csg/CsgPrimitive.cpp | 8020a263f5ce85abcaeac696716f8770c438c880 | [] | no_license | ggrosshenny/Projet_CPOA | a7d88eed5e41c6d52323d59ee62b2aa9ad9fad5d | 11c9339b9ab587607cfcabd1c9bdb9d7a31e810a | refs/heads/master | 2021-03-27T17:06:31.549743 | 2018-01-09T15:35:51 | 2018-01-09T15:35:51 | 108,534,608 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,608 | cpp | CsgPrimitive.cpp | #include "CsgPrimitive.h"
// ===========
// Constructor
CsgPrimitive::CsgPrimitive()
{
this->father = NULL;
this->transformationMatrix = Matrix33D().identity();
this->transformationInversedMatrix = this->transformationMatrix.inverse();
this->center = {0,0};
}
// ===================
// Getters and s... |
3a26648d05a81c025bf6a3235f9b2ea36c3ee942 | 082cce2495043810a045564880dc235c16f7a3a9 | /util/utilities.h | 29bc951ba94aad4bb1ece0618d07644a10a774fe | [
"Apache-2.0"
] | permissive | dusmith1974/osoa | bd1ce884fd14f7bca95ffdfb5c7147a94b54b392 | 0d24aadac2ad5085220e2318f86127d00603bf3e | refs/heads/master | 2016-09-05T14:49:11.523471 | 2015-01-21T22:08:26 | 2015-01-21T22:08:26 | 14,902,733 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,834 | h | utilities.h | // Copyright 2014 Duncan Smith
// https://github.com/dusmith1974/osoa
//
// 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 req... |
6d78f7a0e236473b63e6f9d82da14243f2a434f3 | 2e6c001805d872577fb4b05d1e91bc812d1db41c | /answers/JS-0267/ball/ball.cpp | b163ed4599bb86be425ebe65d9b3d73588675a4d | [] | no_license | fsy-juruo/noip2020-JS-Answers | f9e7ec8c7d86274bb8d18ecf7a9b858b11d9a8bb | 476106a54046665e1362bee246fa83b6f0d00857 | refs/heads/main | 2023-01-31T02:37:52.273421 | 2020-12-05T12:27:17 | 2020-12-05T12:27:17 | 318,722,231 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,429 | cpp | ball.cpp | #include <bits/stdc++.h>
using namespace std;
#define MAXX 110000
int n,m;
struct node{
int l,r;
};
void fen_10(){
stack<int> a,b,c;
node ans[MAXX];
int v;
int cnt=0;
for(int j=1;j<=m;j++){
cin>>v;
a.push(v);
}
for(int j=1;j<=m;j++){
cin>>v;
b.push(v);
}
while(c.size()!=m&&!b.empty()){
while(!... |
62b8220d2cff4a886cce73d0c5d7959e72f54f4c | 19667baea785a5181c29daaea9799435107e91c3 | /data/cpp/1f2b74b0b6ad9b5998de660d223fd949_Data.cpp | 095b26041a2919b84bde754c20e84457d8901511 | [
"Apache-2.0"
] | permissive | maxim5/code-inspector | d71f024390fe5a5f7c1144b289e0e22b59dbb2c7 | 14812dfbc7bac1d76c4d9e5be2cdf83fc1c391a1 | refs/heads/master | 2021-09-10T19:23:39.324768 | 2018-03-31T17:17:27 | 2018-03-31T17:17:27 | 115,271,942 | 5 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 8,456 | cpp | 1f2b74b0b6ad9b5998de660d223fd949_Data.cpp | /*
* Data.cpp
* mert - Minimum Error Rate Training
*
* Created by Nicola Bertoldi on 13/05/08.
*
*/
#include <algorithm>
#include <cmath>
#include <fstream>
#include "Data.h"
#include "Scorer.h"
#include "ScorerFactory.h"
#include "Util.h"
#include "util/exception.hh"
#include "util/file_piece.hh"
#include ... |
6463096a2a500ab39a8417625e1d36cd7f2cf34a | e8c96af2caa589780b37c25f258bf106368d0c89 | /Classes/VirtualService.cpp | 7aceaaea0260819763e38df5e68847238f0ba7b4 | [] | no_license | joyfish/zgc | 262c43236b3d2ac16db1444989e777bd84f66f5b | 799946a342bd195a45eebf9ff61f362582a9c3f2 | refs/heads/master | 2020-12-26T20:44:16.328628 | 2014-12-24T14:25:12 | 2014-12-24T14:25:12 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 3,490 | cpp | VirtualService.cpp | #include "VirtualService.h"
#include "UI/BattleFieldScene.h"
#include "StaticTable/KGameStatic.h"
#include "common/KClientTabfileLoader.h"
#include "GameLogic/KDynamicWorld.h"
#include "KAction/KActionStaticMgr.h"
#include "KNet/KClientGateListener.h"
#include "StaticTable/StaticData.h"
#include "Store/KStoreCr... |
782d0612e442b0db5a32da4634a3b979ac616108 | f076f0e98d9b5f96cfe1c34aa5de83e5f7bd295d | /SDL2_METEORAIN/cMovingGraphObj.cpp | 4711700116ce7dab67c8ae962923cefcfef789c1 | [] | no_license | slavanza/SDL2_METEORAIN | a2bfec8e3acef246330623e19b5875b81f0d62dc | 807fd6529d6b2deabe7a1c80838358bf4dad1328 | refs/heads/master | 2018-09-22T17:15:34.891846 | 2018-08-05T22:47:10 | 2018-08-05T22:47:10 | 119,970,573 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,051 | cpp | cMovingGraphObj.cpp | #include "cMovingGraphObj.h"
#include <cmath>
#define PI 3.14159265
cMovingGraphObj::cMovingGraphObj()
{
iSpeed = xSpeed = ySpeed = 0;
angle = 0;
dest.x = dest.y = rect.x = rect.y = 0;
}
cMovingGraphObj::cMovingGraphObj(char* szName, int iSpeedInput):cGraphObj(szName)
{
iSpeed = iSpeedInput;
xSpeed = ySpeed = s... |
7b0e06d6eac9a0d42083ae5ff807fc5343c4ab5c | dc25bcafc5df1bd283334527d97b604386c974ad | /algorithms/cpp/math/test.cpp | 3dc83e9785dcbe4d37393824520b136f74229b62 | [] | no_license | mackeper/AlgorithmsAndDataStructures | 5ee83dd4ee274e1c34763b31aca05c6c22bec725 | f3eb428112d9a7545741b03b29fcd0d45db777ea | refs/heads/master | 2022-06-01T03:27:24.532414 | 2022-05-20T15:33:37 | 2022-05-20T15:33:37 | 158,453,929 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 429 | cpp | test.cpp | #include <iostream>
#include "big_integer.hpp"
using namespace std;
int main() {
BigInteger b_int1(0);
BigInteger b_int2(1000000000);
BigInteger b_int3(5);
for(int i = 0; i < 11; i++) {
b_int1 += b_int2;
cout << b_int1 << endl;
}
b_int1 = b_int3;
cout << b_int1 << endl;
... |
d5b2d6c39ffea42af81227fb091f00caa572c85c | 324b85983b50efab9aac87bc768307bd2fd13446 | /CPPreview/Solutions/Buy_Sell_Stock.cpp | 700e3d7901d39ea3f6964a91e6dc9cfdf6c6c398 | [] | no_license | cucla/Basics | 7f3bd9b06800a6ea52091952160ebfc3acce3f4b | aba5061a6fa565d6ef519608b64976a721059374 | refs/heads/master | 2023-02-18T16:17:55.510677 | 2023-02-11T17:13:06 | 2023-02-11T17:13:06 | 150,378,959 | 0 | 1 | null | 2020-10-24T11:31:52 | 2018-09-26T06:30:54 | C++ | UTF-8 | C++ | false | false | 1,256 | cpp | Buy_Sell_Stock.cpp | /* I. Maximum profit earned for 1 transaction
If you were only permitted to complete at most one transaction (i.e., buy one and sell one share of the stock),
design an algorithm to find the maximum profit.
Note that you cannot sell a stock before you buy one.
*/
int maxProfit(vector<int>& prices) {
int maxprofit = ... |
97d4d170a61a9681b8f706cbf2f905a46e718a3d | bbefb930e6b7ab13ccec3da28e46d409f2b6f2e6 | /x360emu/Xenon/XInterpreter/System.cpp | 33f49bf779808806b959b2ddaf81a5a8f6c24458 | [] | no_license | francescobbo/x360emu | 00685ae788df60e28c35ee6611232be2f91ba8b5 | aca1059faabee4056fa82f9abf1a5dd5e128e755 | refs/heads/master | 2021-07-11T10:16:15.395320 | 2017-10-15T18:30:20 | 2017-10-15T18:34:12 | 3,747,539 | 3 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 3,012 | cpp | System.cpp | /**
* x360emu - An emulator for the Xbox 360 gaming system.
* Copyright (C) 2012 - The x360emu Project
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see http://www.gnu.org/licenses/.
*/
#include "../XInterpreter.h"
#include <iostream>
#include <Exceptio... |
1e866f3452ce9aeb3cb7263f3787abda6763fbc7 | ba3ffede0c370b2a8af40fe9a82cdeb9dbf73fb6 | /Source/SurvivalGame/BinaryCodeKey.cpp | 8e5bb243835b332641c8f6fea1527eadf22ee810 | [] | no_license | rickynanami/final-2097 | c4450ce672218d16c3010cc1d6d9910cfa65303a | de16d236d7a34f9fa676198f2189d70367d4ce6e | refs/heads/main | 2023-08-28T10:27:39.347096 | 2021-10-22T11:04:01 | 2021-10-22T11:04:01 | 419,305,501 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,550 | cpp | BinaryCodeKey.cpp | // Fill out your copyright notice in the Description page of Project Settings.
#include "BinaryCodeKey.h"
#include "BinaryCodeBridge.h"
#include "Materials/MaterialInstanceDynamic.h"
// Sets default values
ABinaryCodeKey::ABinaryCodeKey()
{
// Set this actor to call Tick() every frame. You can turn this off to im... |
0173d6c91a925f1267997e21e03c0866bcd1bdc1 | 4cd59cb891155ae2b4ddfe26f29ae6eb09a19ece | /sobeautifulyouare/source/module/vision/imgproc/sideline.cpp | c8b0ae9b331bb31ab56e6f72181f724eb367cd01 | [] | no_license | Ayle3125/darwin-op2 | 3656b7e4c7c6739b8f429b4a1b6c76a1d3148428 | fb0dc81efebd3d094776ae5883c14c333fa7bf21 | refs/heads/master | 2021-03-24T10:18:34.621057 | 2016-07-24T04:33:21 | 2016-07-24T04:33:21 | 88,521,957 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,057 | cpp | sideline.cpp | #include<sideline.h>
sideline::sideline()
{
MAX_GRAY_VALUE = 256;
area = 0;
MIN_GRAY_VALUE = 0;
k_value = 0.0;
line_type = 0;
threshold_value = 120;
threshold_type = 3;
max_BINARY_value = 255;
forbiddenline = 0;
erosion_elem = 0;
erosion_size = 5;
kvalue ... |
b0ca8ca8f11dd3055bd394882b65d67e1306bf86 | 2ceca033401a46cc932efe9c64303f5798fea077 | /D3D11_Engine/D3D11_Engine/ShaderManager.cpp | 625a6b3836e83a9e1d33858e94bc0595354a0d1c | [] | no_license | EunwooSong/D3D11-Engine | a9a14b686e22ee5dfd7385eed6c2fb94b49b9f53 | da1360197a48498fa5ffcc8bd137c81753093040 | refs/heads/master | 2022-12-04T10:55:49.121516 | 2020-08-29T21:01:08 | 2020-08-29T21:01:08 | 289,652,489 | 5 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 47 | cpp | ShaderManager.cpp | #include "stdafx.h"
#include "ShaderManager.h"
|
16022974694cd07c3f06bb708b8e326faa458bb3 | d61e718eb470faef3f422280f825127729cac901 | /训练/2020-03-22 2014 ACM-ICPC World Finals/K.cpp | d548d4c4e8ea2abf431262e9f881ab4978936cbe | [] | no_license | sjtu-imperishable-night/code-library | 737e871ad5287fd52a596902b32f07ce56563a78 | 0818f507c76b534f9144ed9b64bc138c37b30c5e | refs/heads/master | 2020-06-24T15:43:25.051083 | 2020-04-27T11:43:26 | 2020-04-27T11:43:26 | 199,004,542 | 1 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 1,478 | cpp | K.cpp | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
const int N = 1e6+10;
const int LOGN = 21;
int _w;
int read() {
int x = 0, ch;
while( isspace(ch = getchar()) );
do x = x * 10 + ch - '0';
while( isdigit(ch = getchar()) );
return x;
}
int n, k, a[N], b[N];
ll f[N][LOGN];
int ... |
dd7bf20bc7d199f0e579db02cad77f55f8e4414b | f49a30c465a347bdcdf164f629907c07469a23d2 | /code/BlockingQueue.h | f38a0c7ce11a3e82297ee26eb98f8265fd2429f2 | [] | no_license | KennethLaws/LIDAR-Characterization-Validation | dc550ad9e0161fed34cf00f45d667a653d1f62fb | 5eb70f5b0b66cfcf04b2d383d999d02928f629f6 | refs/heads/master | 2021-04-26T22:44:42.994508 | 2018-03-06T23:24:24 | 2018-03-06T23:24:24 | 124,140,436 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,548 | h | BlockingQueue.h | #if !defined __BAH_BLOCKING_QUEUE_H_
#define __BAH_BLOCKING_QUEUE_H_
#include <queue>
#include <condition_variable>
#include <chrono>
#include <thread>
#include <type_traits>
#include <cassert>
// This class initializes to an active state, i.e. shutdown is false to start.
template < typename Item, unsigned item_limit... |
d34bc586aa06d4ab8f3b1ef64f3afc0057f3545b | 5ff6ebf284c0016059dd95c1612fa7ba0dd8d98a | /src/ProjectTreeModel.h | c6f825759435dbef7207324cf36024580d77c5db | [] | no_license | vishalkumar2222/MRIAnalyzer | 36bcdddf8bb20e2a789998f2e4c5d09c2759462c | 620de6c4b2b124ecb9517b35dc28f9ddd953d642 | refs/heads/master | 2020-03-27T23:03:39.417214 | 2018-10-22T07:27:53 | 2018-10-22T07:27:53 | 147,286,177 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,111 | h | ProjectTreeModel.h | #ifndef PROJECTTREEMODEL_H
#define PROJECTTREEMODEL_H
#include <QAbstractItemModel>
#include <QModelIndex>
#include <QVariant>
class TreeItem;
class ProjectTreeModel : public QAbstractItemModel
{
Q_OBJECT
public:
explicit ProjectTreeModel(QObject *parent = 0);
~ProjectTreeModel();
... |
ef359fbb4272bc8b3d287fdc2d1d54a9da9b61a9 | 097201ea26ce8f777ccbde1e5aedb1a8c772fd14 | /redatam/redbin/rpbases/nmir/eng/Styles_ENG.inl | a2b858afabd862db40279022b9f020e32d2f425d | [] | no_license | iavilanieto/red | e8ecb3c951784188b537ec5f892dc0b4009807f6 | c06174eccd85b71d318167ff67a32afcc2ee3d65 | refs/heads/master | 2021-01-21T18:57:47.158059 | 2017-07-04T17:46:19 | 2017-07-04T17:46:19 | 92,097,270 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,709 | inl | Styles_ENG.inl | ***************** STYLES *************************************
/--------------------------------------------------------------
[FREQUENCY.DEFAULT]
NODETYPE=NODESTYLE
INDICHEIGHT=150
ROWCAPTIONTOP=30
ROWCAPTIONLEFT=10
ROWTOP=50
ROWLEFT=10
ROWWIDTH=200
ABKCAPTIONTOP=80
ABKCAPTIONLEFT=10
ABKCAPTIONWIDTH=200
ABKTOP=100
... |
77178e3eaeff39ebfe13c7746ba9619415d11330 | 7667d46e0a8eff9935b7d38458f8320042190d2a | /temp-sensor/src/temp-sensor.ino | 27137a34da04e0de5adfacccf2861e9bbe6c1e62 | [] | no_license | syoder89/Kitchen-Monitoring | d9d76b7f7cb176356673cfa3a2025d770a341d84 | 6697a2a7790f89f308973eb9b22275278043bae4 | refs/heads/master | 2022-05-27T10:59:39.166916 | 2019-06-15T01:33:04 | 2019-06-15T01:33:04 | 185,844,409 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,301 | ino | temp-sensor.ino | /*
* Project Kitchen-Monitoring
* Description: Test project for
* Author: Joshua Snyder
* Date: 5-9-2019
*/
#include <Particle.h>
#include <RH_RF95.h>
#include <Adafruit_SHT31.h>
#include <RHReliableDatagram.h>
#define MY_ADDRESS 77
#define SERVER_ADDRESS 2
#define TXPWR 13
// In milliseco... |
a5788410cae34fe5e360c094a730a17e69d65747 | c28a6f2c8ce8f986b5c22fd602e7349e68af8f9c | /android/device/realtek/proprietary/libs/RtkHWMBinder/include/IRtkHWMBinderService.h | 67e1480f1680800f6ece6ed0d202dfb59cfdab24 | [] | no_license | BPI-SINOVOIP/BPI-1296-Android6 | d6ade74367696c644a1b053b308d164ba53d3f8c | 1ba45ab7555440dc3721d6acda3e831e7a3e3ff3 | refs/heads/master | 2023-02-24T18:23:02.110515 | 2019-08-09T04:01:16 | 2019-08-09T04:01:16 | 166,341,197 | 0 | 5 | null | null | null | null | UTF-8 | C++ | false | false | 985 | h | IRtkHWMBinderService.h | #ifndef ANDROID_ITESTSERVICE_H
#define ANDROID_ITESTSERVICE_H
#endif
#include <utils/String8.h>
#include <sys/types.h>
#include <binder/Parcel.h>
#include <binder/IInterface.h>
#include <utils/RefBase.h>
namespace android {
class IRtkHWMBinderService: public IInterface {
public:
DECLARE_META_INTERFACE (RtkHWMBi... |
b3175d83ee04047781e7f66fff280f220b4d09c9 | 9fe97df404dbd9192607aa3140d97954490bd727 | /1808_Immediate_Decodability_GraphTheo.cpp | 55ae8843709e73a57555d570b5120fc84be23ae5 | [] | no_license | castyxel/practice | a484e02aa83580a7d813f234d8bf61d3d3b2f8be | 36e311e65555eda26f19a0bc56705d5e95ea1d0d | refs/heads/master | 2016-09-06T06:32:17.966472 | 2014-06-18T05:38:42 | 2014-06-18T05:38:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,059 | cpp | 1808_Immediate_Decodability_GraphTheo.cpp | //终于见到一图论的了……虽然还是简单图论
#include <iostream>
#include <cstdio>
#include <vector>
#include <cmath>
#include <string>
#include <cstring>
#include <algorithm>
#include <set>
using namespace std;
#define RP(i, st, ed) for(int i=st; i<=ed; i++)
#define RRP(i, ed, st) for(int i=ed; i>=st; i--)
#define MS(name, val) memset(name,... |
1d0cad5e6db72a90da3a689b3d00928c56259d68 | 4dc8e014f7098384a3411c9ad0cfaf0330bdb1a7 | /codes/Variation - binary search.cpp | 40f52cb93668405190121b3f324d34425ce056c1 | [] | no_license | sanjaynath/Codes | 1e1893ca2919c3623e9d9680ffea6ddb6f52b4b8 | 485c3bd5fbcee73d49ab3ad2b058e28cb8b21184 | refs/heads/master | 2020-03-24T00:36:15.136932 | 2018-10-13T09:00:51 | 2018-10-13T09:00:51 | 142,298,903 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 747 | cpp | Variation - binary search.cpp | /*
WRONG SOLUTION
*/
#include <bits/stdc++.h>
using namespace std;
#define lli long long int
#define speed ios_base::sync_with_stdio(0)
int main()
{
speed;
int n,k;
cin>>n>>k;
std::vector<lli> v;
lli m=n;
while(m--)
{
lli a;
cin>>a;
v.push_back(a);
}
... |
4c27b28bbce126d9f046a4ee47ce6066854d930f | 478570cde911b8e8e39046de62d3b5966b850384 | /apicompatanamdw/bcdrivers/mw/classicui/uifw/apps/bctestutil/src/bctestendcase.cpp | fbb8a8d5e137e606f90f89a75c23ee5f49808008 | [] | no_license | SymbianSource/oss.FCL.sftools.ana.compatanamdw | a6a8abf9ef7ad71021d43b7f2b2076b504d4445e | 1169475bbf82ebb763de36686d144336fcf9d93b | refs/heads/master | 2020-12-24T12:29:44.646072 | 2010-11-11T14:03:20 | 2010-11-11T14:03:20 | 72,994,432 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,559 | cpp | bctestendcase.cpp | /*
* Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of "Eclipse Public License v1.0"
* which accompanies this distribution, and is available
* at the URL "http://www.eclipse.org/legal/epl... |
db0a6834f26c4ca6f1e9bbfaec6a5d99bfb46e28 | 05b738e23c8223e86ed725f87774753ace71e9b4 | /0607/line.cc | 303e15127f2a1954c8c99beeb02138cb717497b8 | [] | no_license | JiangShaoYin/Learn_cpp | dc44ef4672c3f1a44685d6b0a5e5e4377d8a2e8c | bd2e5d330428dcbd490a31a3503294338b15376a | refs/heads/master | 2020-04-09T17:24:06.634839 | 2020-03-01T15:04:45 | 2020-03-01T15:04:45 | 160,479,999 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 654 | cc | line.cc | ///
/// @file Point.cc
/// @author jiang(tooo_cold@163.com)
/// @date 2018-06-07 15:03:21
#include <iostream>
using std::cout;
using std::endl;
class Point{
public:
Point()
:_ix(0)
,_iy(0)
{}
Point(int x,const int y)
:_ix(x)
,_iy(y)
{
cout<<"Point(int x,int y)"<<endl;
}
void p... |
ea02903430cfbe0835f48b587a755ec95a2df524 | a3d6556180e74af7b555f8d47d3fea55b94bcbda | /chrome/browser/background/background_application_list_model.h | f5d2efa37dbe521681de57531843d9679751dd09 | [
"BSD-3-Clause"
] | permissive | chromium/chromium | aaa9eda10115b50b0616d2f1aed5ef35d1d779d6 | a401d6cf4f7bf0e2d2e964c512ebb923c3d8832c | refs/heads/main | 2023-08-24T00:35:12.585945 | 2023-08-23T22:01:11 | 2023-08-23T22:01:11 | 120,360,765 | 17,408 | 7,102 | BSD-3-Clause | 2023-09-10T23:44:27 | 2018-02-05T20:55:32 | null | UTF-8 | C++ | false | false | 7,942 | h | background_application_list_model.h | // Copyright 2012 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_BACKGROUND_BACKGROUND_APPLICATION_LIST_MODEL_H_
#define CHROME_BROWSER_BACKGROUND_BACKGROUND_APPLICATION_LIST_MODEL_H_
#include <stddef.h>
#include <ma... |
e607dc8135b1d88e6a37593790b47534090d587e | 5a4fd7072ae71d912a7a2b8a34e83260bdcd75ed | /Wind_API/WindData.cpp | be1967c9e9616477fae59281d4631113b526f2ad | [
"Apache-2.0"
] | permissive | chenhq/q_Wind | e62d8a9a8fca56f2b7fa38a3ca665178d243b9a9 | 90581d2a18ef703bfbdd5d84f647abb3ba30fc1a | refs/heads/master | 2021-01-19T06:31:01.916726 | 2015-07-17T09:59:17 | 2015-07-17T09:59:17 | 39,283,667 | 1 | 0 | null | 2015-07-18T02:27:07 | 2015-07-18T02:27:06 | C++ | UTF-8 | C++ | false | false | 1,977 | cpp | WindData.cpp | #include "stdafx.h"
#include "WindData.h"
#include "WindDateTimeArray.h"
#include "WindCodeArray.h"
#include "WindFieldsArray.h"
#include "MatrixDataParser.h"
#include "kdb+.util/K_ptr.h"
#include <cassert>
Wind::Data::Data(::WQData const& data) {
DateTimeArray dateTimes(data.ArrDateTime);
WindCodeArray windCodes(... |
b87f520437692b11708b115a449c08cd08d2afa9 | 54206ca8e33105dd1760f9a141b7bc8296d7f0be | /HW4/main.cpp | 70036b0cb3b0b94f6b3d021b1202a50a42ec3199 | [] | no_license | khasmamad99/Bilkent-CS202-HWs | 1340043fd86b75317f90130f3f0b1576dd04da10 | 834af522be61d784fd9e3601c679833898e90bb3 | refs/heads/main | 2023-07-16T01:49:52.495273 | 2021-08-26T07:06:35 | 2021-08-26T07:06:35 | 400,072,866 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,762 | cpp | main.cpp | /**
* Title : Main file
* Author : Khasmamad Shabanovi
* ID: 21701333
* Section : 2
* Assignment : 4
* Description : main file
*/
#include "graph.h"
#include <string>
#include <iostream>
/*You can add additional libraries here to read and process the dataset*/
#include <fstream>
using namespace std;
int main() {
... |
9eff6bd08eba7801aef176ea75230bffb868b42d | f74531c46964536d1699b42dbec97a47a2137aaf | /JetEngine/FileSystem-nt.h | 439c851d4c121b32d068e1cbefe6a97f6070de76 | [] | no_license | mitko0003/JetEngine | 2f4aebd0446ae10cd42d9c5bbdca60a2f3c7eec3 | 904d8014beb592861311e549fb639166cb908123 | refs/heads/master | 2022-09-04T11:36:56.822700 | 2022-08-13T15:15:01 | 2022-08-13T15:15:01 | 162,027,061 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 203 | h | FileSystem-nt.h | #pragma once
namespace FS
{
struct FileNT
{
LPVOID Buffer = nullptr;
HANDLE Mapping = INVALID_HANDLE_VALUE;
HANDLE Descriptor = INVALID_HANDLE_VALUE;
};
using PlatformFile = FileNT;
}
|
d8c450bbc2e82292a168a8411ed8cbba6a85f5c9 | 6dc5ad4ffcecdb55bba74dfaf006c54ee6141c3c | /sources/main/DensitoPreviewWnd.h | 47bfcee85f5578f5f5d78b565af3183c9bacbacd | [] | no_license | sebastienroy/curveunscan | 7b3d02e67c6b7a1f626bfd657e337d826036ee63 | fbe8b215fc25f265b174221b31bfdbba370bdcbe | refs/heads/master | 2020-07-05T05:25:28.954806 | 2020-04-21T13:03:47 | 2020-04-21T13:03:47 | 202,535,325 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,435 | h | DensitoPreviewWnd.h | #if !defined(AFX_DENSITOPREVIEWWND_H__C32D8030_F284_4D0E_A7C3_19D9319AC6CE__INCLUDED_)
#define AFX_DENSITOPREVIEWWND_H__C32D8030_F284_4D0E_A7C3_19D9319AC6CE__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// DensitoPreviewWnd.h : header file
//
class CDensityCurve;
/////////////////////////////... |
1542a25e0907bff0b101bfd0df1dc6264cb262b6 | aca9e0c88c6df9858d9f89669a7cfa38d2cfb1b4 | /CharacterConverter_EmmanuelIdehen.cpp | a0857050341c42c4e245d829ef1ace21aff8d804 | [] | no_license | emmanuelidehen/Character-Converter | 258e8d4d3713d9b4a3da00b41d92b525250c6c31 | 702d7988b2f471552233c3b202b1fc45563336f2 | refs/heads/master | 2020-04-28T23:31:32.309651 | 2019-03-14T16:18:04 | 2019-03-14T16:18:04 | 175,657,938 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,650 | cpp | CharacterConverter_EmmanuelIdehen.cpp | //
// main.cpp
// Midterm
//
// Created by Emmanuel Idehen on 3/7/19.
// Copyright © 2019 Emmanuel Idehen. All rights reserved.
//
/*
Create a Charconverter class that performs various operations on strings. It should have
the following two public member functions to start with. Your instructor may ask you to
ad... |
394a6c266f56133a242eb881fb9f5fd2ca4df792 | 9ad5b103d7c737bb969c1e11e7035e33a06f22c9 | /src/Constants/AirsoftSmartMineBLECharacteristics.cpp | 2172e2617a6841185540ac58de84ba2e2e65a569 | [] | no_license | illja96/asm-esp32 | 1444d623df38e2bad583ac6acfb64160d4a1d023 | 736cf94239976e378b9df7838dfc2e8e8af438a9 | refs/heads/master | 2023-01-15T05:54:33.770153 | 2020-11-25T00:28:39 | 2020-11-25T00:28:39 | 297,378,963 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,228 | cpp | AirsoftSmartMineBLECharacteristics.cpp | #include "AirsoftSmartMineBLECharacteristics.h"
const std::string AirsoftSmartMineBLECharacteristics::ServiceUUID = "00000001-0001-0001-0001-000000000000";
const std::string AirsoftSmartMineBLECharacteristics::Version = "00000001-0001-0001-0001-000000000001";
const std::string AirsoftSmartMineBLECharacteristics::Runt... |
040589fbf5c0584e290965189d205e1337b95f30 | 77a6fef9d9a4204576494cbbda93e1c47b4eef2d | /src/DialogCreateNewImage.cpp | 2498388f5dfde9813d385242913f27b95d8fa829 | [] | no_license | calaos/calaos_installer | 3bb1bbc52898931542eedf7a3592d9bf2f794622 | 6eb11631c8f642584688c985f63f8809cdea9cc2 | refs/heads/master | 2023-02-08T04:06:27.543247 | 2023-01-31T19:44:30 | 2023-01-31T19:44:30 | 8,417,641 | 26 | 19 | null | 2022-01-01T18:43:16 | 2013-02-25T20:34:02 | C | UTF-8 | C++ | false | false | 9,587 | cpp | DialogCreateNewImage.cpp | #include "DialogCreateNewImage.h"
#include "ui_DialogCreateNewImage.h"
#include <QNetworkAccessManager>
#include <QNetworkReply>
#include <QJsonDocument>
#include <QJsonArray>
#include <QJsonObject>
#include <QDialog>
#include <QNetworkAccessManager>
#include <QNetworkRequest>
#include <QNetworkReply>
#include <QUrl>
#... |
15571a17c92c89e7d49eae94dee50a2f0870755e | 4d3e60bb79ee3d879e6ee72683c917bfaf17d75d | /main.cpp | 8962fec75e63bd7f5dea0599442704848d88febc | [] | no_license | NicoProjet/Dictionaries | 1af1df451935f513c4c6a9b2c5dd2f1c8c05ff32 | 39faf122fffc7b9a579a5451d9a304d69db41e03 | refs/heads/master | 2020-05-23T14:32:19.141874 | 2019-05-15T10:35:15 | 2019-05-15T10:35:15 | 186,804,847 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,996 | cpp | main.cpp | #include <iostream>
#include<DictionaryTrie.h>
#include<DictionaryList.h>
#include<DictionaryVector.h>
int main()
{
// Tries
std::cout << "\n ++++++++++++++++" << std::endl;
std::cout << " ++++ Trie ++++" << std::endl;
std::cout << " ++++++++++++++++\n" << std::endl;
std:... |
240816b3ebd8359af4b1f5b75dcb131fec142326 | ce88454eaa336925e6991519d2acf92570552453 | /src/include/catalog/catalog_defs.h | a397745212585323f8402cd3b1e8588df72aedf0 | [
"MIT"
] | permissive | Ghatage/terrier | dc24691d60923d554a77816ce884b61b3409565e | c12fbfbbb57363297b3e08c42919ccf5f480e33a | refs/heads/master | 2020-04-17T02:14:12.861890 | 2019-08-16T12:22:48 | 2019-08-16T12:22:48 | 166,125,878 | 0 | 0 | MIT | 2019-01-16T23:09:32 | 2019-01-16T23:09:31 | null | UTF-8 | C++ | false | false | 1,169 | h | catalog_defs.h | #pragma once
#include <string>
#include <utility>
#include "common/strong_typedef.h"
namespace terrier::catalog {
#define NULL_OID 0 // error return value
#define START_OID 1001
#define INVALID_COLUMN_OID col_oid_t(NULL_OID)
#define INVALID_DATABASE_OID db_oid_t(NULL_OID)
#define INVALID_INDEX_OID index_oid_t(NUL... |
ae7ca94caa7dd31ee9d7f094c9f3d20b95def32f | 187ff46c043c1ea16a5aff704bac315683678eb4 | /Workshop1/Workshop1/Tools.h | 4b41b2068f3dd82bcb957b5b6f24bcbec56e8840 | [] | no_license | minhtrietnhan/OOP244 | 498b71c5889c8efb6d0113675a2152adc6a867a2 | 8f5e33e69077f16f3e307e43ab989dfbe6e2200b | refs/heads/master | 2021-03-11T00:34:23.887348 | 2020-03-11T20:34:58 | 2020-03-11T20:34:58 | 246,498,485 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 358 | h | Tools.h | #ifndef _SDDS_TOOLS_H_
#define _SDDS_TOOLS_H_
#include <iostream>
#include <cctype>
#include <cstring>
namespace sdds {
void toLowerCaseAndAlphabeticCopy(char des[], const char source[]);
void title();
void endList();
void totalWordsStat(int totNoWrds, int totalOverAll, int longestWord);
void wordStats(bool logO... |
3d5af79ae57ae974049702672a677f947c0787b1 | a5dfce1b4e871ee6e660001a52a16589b1eafa84 | /image_sectors/element.h | 9c1509cebcb50e4e334fb9007eed34909fc59a4f | [] | no_license | gzmuszynski/Jezdzcy-Fouriera | 072f8a737c0b34f112f3ba24d13d684685fa5bd3 | 1fbd70c8150fdae1c2a6a4030a043138d2140e4d | refs/heads/master | 2021-09-04T01:23:16.307517 | 2018-01-14T01:18:23 | 2018-01-14T01:18:23 | 106,401,749 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 542 | h | element.h | #ifndef ELEMENT_H
#define ELEMENT_H
#include <QImage>
#include <QVector>
#include <complex>
class Element
{
public:
Element(QString label, QVector<double> features);
QString getLabel() const;
QVector<double> getFeatures() const;
QImage *getFft() const;
void setFft(QImage *value);
QImage *ge... |
1f4eb1ff5ff47d863c0319f1f7ff8423bfe0a0b8 | df92ce6faadc533921e1a5b8438ebdc998353282 | /include/Pyros3D/Rendering/Components/Lights/DirectionalLight/DirectionalLight.h | 35e100ad525214829ce569d5dbe6c91e6751344e | [
"MIT"
] | permissive | Peixinho/Pyros3D | 5bf00eb8dba80176941a4fe2cf112182707b95d9 | 59d1663c212fbb45cde3a87ac46f9ff40c6aaffa | refs/heads/master | 2022-04-30T22:48:11.057181 | 2022-04-26T16:31:37 | 2022-04-26T16:31:37 | 48,172,013 | 21 | 4 | MIT | 2021-05-30T22:26:36 | 2015-12-17T12:02:21 | C++ | UTF-8 | C++ | false | false | 2,956 | h | DirectionalLight.h | //============================================================================
// Name : DirectionalLight.h
// Author : Duarte Peixinho
// Version :
// Copyright : ;)
// Description : Directional Light
//============================================================================
#ifndef DIRE... |
94da0130ca0a4490094f75822281aefcc685aa99 | 03aaa4f34a5df8806b225527ea3df81da15d7a7e | /5.2.Shrink_image.cpp | 6e4529e9d7f85f817413ec4d6a6b3ec94db406cd | [] | no_license | huylllooo/Image-Processing | 31285fb6effa38b4d8d3b47a1e6e4b9976093a70 | d044ae139dd10f132139212e8d7fda67afb832d5 | refs/heads/master | 2021-01-18T20:25:16.413640 | 2017-04-05T02:27:30 | 2017-04-05T02:27:30 | 86,966,640 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,963 | cpp | 5.2.Shrink_image.cpp | #include "opencv2/imgproc/imgproc.hpp"
#include "opencv2/highgui/highgui.hpp"
#include "opencv\cv.h"
#include <math.h>
#include <iostream>
using namespace cv;
using namespace std;
// 5-1 IMAGE ENLARGING
int main(int argc, char** argv)
{
// Print out usage
if (argc != 4) {
cout << "Usage: " << argv[0] << "[input... |
0c9b68478e675d4b24d46cd26be71784cb5a0ccb | 1a5fc6d5e785cd3b847169608382606c379b2489 | /Dynamic_Problems/Couts_dp/37. Sudoku Solver.cpp | b3f78a2bf5a165c075aa912e63fdc89d4416c848 | [] | no_license | Liousvious/LeetCode | 6ed45d56c074d59513074304a4d6122aa8629073 | 61c8a7bc0f6f10fbcdcf78cb8489e9a51a276416 | refs/heads/master | 2022-12-12T15:35:37.817688 | 2020-09-01T03:00:33 | 2020-09-01T03:00:33 | 291,630,632 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,323 | cpp | 37. Sudoku Solver.cpp | #include <bits/stdc++.h>
using namespace std;
class Solution {
public:
void solveSudoku(vector<vector<char>>& board) {
bool flag = backTracking(board, 0, 0);
cout << flag << endl;
}
bool backTracking(vector<vector<char>>& board, int row, int col) {
int m = 9, n = 9;
if (co... |
fb5d979bf3ffb1a98a6275e6d1a32a569b2fcc71 | caaf77336f83998cd7cb323c1c09cae1f8a62c4c | /GLEngine/src/GLScene.cpp | b279586edf468b9b80cb191a9925ebea3da1a849 | [] | no_license | MoraxAlvizo/ProyectoADA | 52916c59df0838b78b28ff4738e049eca61d0588 | 08909d47197115c80864f683aa68c2e54f52d3f5 | refs/heads/master | 2021-01-10T16:24:50.985817 | 2015-12-07T03:21:59 | 2015-12-07T03:21:59 | 45,311,619 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 870 | cpp | GLScene.cpp | #include "GLScene.h"
GLScene::GLScene(void)
{
}
GLScene::~GLScene(void)
{
}
void GLScene::addMesh(GLMesh* m)
{
meshes.push_back(m);
}
//Mueve todas las pelotas cada delta entre el frame actual y el frame anterior.
//Ademas de moverlas revisa las colisiones entre pelotas y pelotas contra pared.
void GLScene::move... |
cb5b8e7269d4b71b6e5f8dec808ee2d9a85bddde | 664ae414d475403bdfa320aeb049f2a078932ce3 | /emitter.cc | b995d01ecab8f98993a50f22e41dde887d695cab | [] | no_license | tmg2134/TruPL-compiler | 9e8ff1003c655a8280e91c97471cb7ec2db7594f | b7e8e655b13b6c8844d781544c52779613c38ffa | refs/heads/master | 2021-01-19T14:45:34.300770 | 2017-04-13T17:53:19 | 2017-04-13T17:53:19 | 88,187,212 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,953 | cc | emitter.cc | #include "emitter.h"
Emitter::Emitter()
{
label_num = 0;
}
Emitter::~Emitter()
{
}
// Return a label of the form "_Lz", where z is guaranteed
// to be a unique number.
string *Emitter::get_new_label()
{
string *label = new string ("_L");
string *number = itos (label_num);
label_num++;
*label += *number;
delete... |
8a4d7caaaa6ac84dbab9a2df8519468b4c88983f | 0ad3309ea19c983090875486ca3e81aa90db06fb | /ratwin/controls/basic=struct.h | 955ccc4c852fc42248f13a56b8a662abec032561 | [] | no_license | jdlugosz/repertoire | 82eac78f6593593da964059bc2dea3913e169472 | 7dd13cf9e7e8d23710681d64f4123067d0101601 | refs/heads/master | 2021-01-24T06:30:09.399288 | 2009-05-03T02:39:31 | 2009-05-03T02:39:31 | 191,081 | 6 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,150 | h | basic=struct.h | // The Repertoire Project copyright 2006 by John M. Dlugosz : see <http://www.dlugosz.com/Repertoire/>
// File: ratwin\controls\basic=struct.h
// Revision: public build 9, shipped on 18-Oct-2006
#pragma once
#include "ratwin\base.h"
STARTWRAP
namespace ratwin {
namespace controls {
struct DRAWITEMSTRUCT {
unsig... |
9173e0665cffb62c0cf03dfcf7b3baf64beb1361 | e7389c007a1c5d389fbf09d3ffb0d8d1b0108458 | /SyncCPU.cpp | 2e0eac9740cd141c1866e72961caf84eb09253d2 | [] | no_license | Prakxo/pj64 | 7310d6009a2278ca2fd41e749f3ec155f3044d5f | 20a38df8873126afc374f877487eff5adfac7112 | refs/heads/master | 2023-03-16T03:49:24.998750 | 2020-01-13T19:38:57 | 2020-01-13T19:38:57 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 19,010 | cpp | SyncCPU.cpp | /*
* Project 64 - A Nintendo 64 emulator.
*
* (c) Copyright 2001 zilmar (zilmar@emulation64.com) and
* Jabo (jabo@emulation64.com).
*
* pj64 homepage: www.pj64.net
*
* Permission to use, copy, modify and distribute Project64 in both binary and
* source form, for non-commercial purposes, is hereby granted with... |
dfb577a442a63eb2c0f85fc3a2ef8b8619166250 | aa49e42c4e72f5cd5db9168252470601b7d4cffb | /CCPC第二场/testH.cpp | 4110c151ab4e72f0287ce003c34840a96cb899b6 | [] | no_license | lancercd/Learning-code | 309b235d833e7081524bcfafb8025b446460d65b | 9d96705243ae73be809118617989ca76e280dcda | refs/heads/master | 2023-08-24T22:08:14.538173 | 2021-09-11T09:00:12 | 2021-09-11T09:00:12 | 288,375,944 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,023 | cpp | testH.cpp | #include "iostream"
#include "cstring"
#define ll long long
using namespace std;
const ll MAXN=2e5 + 10;
ll N,M,dp[MAXN];
ll weight[MAXN];
ll value[MAXN];
inline ll read()
{
ll x = 0, f = 1; char ch = getchar();
while (ch < '0' || ch > '9'){if (ch == '-')f = -1;ch = getchar();}
while (ch >= '0' && ch <= '9... |
e4759781a3b28dafe3c42aeb3df36e958581777e | 82ac4f0c26aa401c76c7130225b664eda76b4a9b | /cpp_template.cpp | 872de8c46aa6b5b0a043c8f331899489c8f23a40 | [] | no_license | saketmht/Competitve-Programming | 92727523ce5d320de797bc425f76c15c709ce8d5 | cee6c1ef8f2fca2d378893e740d2e38bab8e664d | refs/heads/master | 2022-12-31T04:35:46.219222 | 2020-10-21T16:15:57 | 2020-10-21T16:15:57 | 298,620,498 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,192 | cpp | cpp_template.cpp | #include <bits/stdc++.h>
using namespace std;
#define all(x) x.begin(), x.end()
#define ris return * this
#define tmp template<typename T
#define args(...) " [" << #__VA_ARGS__ ": " << (__VA_ARGS__) << "] "
struct debug {
#ifdef LOCAL
~debug() { cerr << '\n'; }
debug& operator<<(const string s) { cerr << s... |
c2382b139525a73f8cbe9a1ed5b7770c98fa1734 | 627818ca26e7cd0813bf3ab6d1db807ec0143e86 | /Source.cpp | d75c472d30e72f69413b7865ce08caaa9b96f991 | [] | no_license | karimmady/quine-mccluskey | 815fbf0460e37112a44881e4bfffd4632236096b | 7a389bf5715a4e062ed61413c8b5e681cc3d5661 | refs/heads/master | 2021-01-17T17:00:56.896230 | 2017-03-11T12:52:43 | 2017-03-11T12:52:43 | 84,127,340 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,820 | cpp | Source.cpp | #include<iostream>
#include<string>
#include<cmath>
#include<vector>
#include"DEQ.h"
using namespace std;
deq<int>dont_cares;
deq<int>minterms;
int var;
int no_of_min;
void compare()
{
int original_length = minterms.deq_length();
deq<string>binary_string;
for(int i=0;i<original_length;i++)
{
int b... |
803dada5dff760febf0d87283834677b4aaa9467 | e643e4e505986ed783b1f46635480e03767de7b3 | /src/graph/directed_acyclic_graph.cpp | 39d9d75ca6039d38656b1067ddf083df3b07c02a | [] | no_license | arihantb2/graph_algorithms | e2c88f12ca32c43bfd04a5d94a7845b2892a07da | 95578b35be9b47b1baf2704272385810f691b1b7 | refs/heads/master | 2023-05-08T14:28:45.224457 | 2021-05-30T21:06:27 | 2021-05-30T21:06:27 | 351,013,135 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,306 | cpp | directed_acyclic_graph.cpp | #include <directed_acyclic_graph.h>
namespace graph
{
VertexIdList DirectedAcyclicGraph::topologicalSort()
{
VertexIdMap<bool> visited;
visited.clear();
for (auto vertex : vertices())
visited[vertex.first] = false;
VertexIdList ordering;
VertexIdList postTr... |
5b11bca896a5316b34ce413537354fcf2ba2e4c4 | 65c7e26d9a45169cc0fca85e15ed8f10cc5ff1ee | /game/tests/manual/tests_manual.cpp | 3f9e4dfef53f26430ecae0c663a00e40f501c833 | [
"MIT"
] | permissive | edwinkepler/chessman | 6113e94a9ef9c0b3f003e2f5e19807a59b8f9a74 | f9ffb902ce91c15726b8716665707d178ac734e1 | refs/heads/master | 2021-01-19T19:30:41.318603 | 2017-09-26T12:28:49 | 2017-09-26T12:28:49 | 101,198,451 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,982 | cpp | tests_manual.cpp | /*
* @copyright 2017 Edwin Kepler
* @license MIT
*/
#include <iostream>
#include <string>
#include <vector>
#include <utility>
#include <chrono>
#include <tuple>
#include <algorithm>
#include <memory>
#include "board.hpp"
#include "pieces/pawn.hpp"
#include "pieces/bishop.hpp"
#include "pieces/king.hpp"
#include "... |
4c31e8b75dd4f6642e02e8f91db04b1c7bdaa707 | 31c68bfcdb4ecb1ea6adc90fe67d9e458b7af9b7 | /JC_AI_Engine/VGP332_WI17/HelloPolygon/HelloPolygon.cpp | 075bf256e4ee3797a055790bddafa89c5e39e713 | [] | no_license | Saltylanguage/AI_Demo | 085c8035909358ffb1fea5718de8ebb08380e7f7 | e55c8c95f331ddea8db8cafc484608f5c6316401 | refs/heads/master | 2020-03-23T22:58:21.657529 | 2018-07-24T21:43:50 | 2018-07-24T21:43:50 | 142,209,422 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,139 | cpp | HelloPolygon.cpp | #include "X\Inc\XEngine.h"
// http://cgm.cs.mcgill.ca/~godfried/teaching/cg-projects/97/Ian/cutting_ears.html
const float cursorRadius = 8.0f;
enum class Mode
{
None,
AddVertex,
RemoveVertex
};
namespace
{
struct Polygon
{
std::vector<X::Math::Vector2> vertices;
std::vector<int> indices;
};
Mode mode = Mo... |
7136de042c6d441a0221d814f817c50ff8e7d2ff | 2f954012487aa10a0a3be9e6ebca994b14e3a082 | /src/resource.hpp | b5bc834ededdc2592ef3a186aacf920f995683fc | [] | no_license | jxiao90/SysRT | 6f14ed3b142fb78c83a816653b6330d7430bab59 | fcde21f0aa975da5c5fa91f7dc6fa0454c30d840 | refs/heads/master | 2021-01-17T07:22:35.831428 | 2017-03-02T17:34:21 | 2017-03-02T17:34:21 | 83,703,544 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,828 | hpp | resource.hpp | /***************************************************************************
Author: Jun Xiao and Giuseppe Lipari
***************************************************************************/
/***************************************************************************
* ... |
cdb9541dfb6256806701243a5374e7659b8ddce2 | ca61fb8c6be85f530265f7070242fb0b7ee8d478 | /test/grid_cell_test.cpp | b9ba10e37019f5920fe662fe617e3e4dcea47016 | [
"Apache-2.0"
] | permissive | DarkWingMcQuack/GridGraphPathFinder | 0e2177b53271ea82cf5dbf54728ab3b45efee544 | d8f9a237f17516141bf58c8c86d468f3559af5e3 | refs/heads/master | 2023-02-17T20:33:05.696088 | 2021-01-09T12:11:23 | 2021-01-09T12:11:23 | 289,577,831 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,555 | cpp | grid_cell_test.cpp | #include <fmt/core.h>
#include <fmt/ostream.h>
#include <fmt/ranges.h>
#include <graph/GridCell.hpp>
#include <gtest/gtest.h>
using graph::GridCell;
using graph::GridCorner;
TEST(GridCellTest, SimpleSplitTest)
{
GridCorner tl{0, 0};
GridCorner tr{0, 1};
GridCorner bl{1, 0};
GridCorner br{1, 1};
... |
72335600ff8794303aaede1be699ee5dca2221ed | d544156248d85dcebe5ad016bf947e02ae4c9d63 | /数字方格/rule.cpp | 3d0175c92d95cf9efc66d1355d6ad55d4cb08ffb | [] | no_license | huyixuan531/MyCodeInBUPT | 0906d53aeda403e9a66517242a75016e71cb677d | 88e81af4a94a3809aad6ddbf7a5846280ce99a12 | refs/heads/master | 2020-08-30T06:04:44.712900 | 2019-10-29T13:38:16 | 2019-10-29T13:38:16 | 218,285,232 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 2,375 | cpp | rule.cpp | #include"head.h"
//函数名:rule
//功能:每关前显示本关规则界面
void rule() {
setbkcolor(RGB(251, 248, 241));//背景颜色(米)
settextcolor(RGB(150, 126, 104));//字体颜色(棕)
cleardevice();//清屏
RECT C1 = { 60,60,540,440 };
switch (level) {//根据不同关卡显示不同规则
case 1:drawtext("关卡1:\n\n请按照由小到大的顺序依次点击图中的数字\n", &C1, DT_WORDBREAK);
break;
... |
c9c259c6b027278b9d8877c616c1617acbe2993e | 4a1af53053c1e3fccf476b48fee86ecc928eaa91 | /Lab4/lab4.cpp | a5af8e504714c04514a20ab6c456c6fdebd0675f | [] | no_license | 7h3f0x/Compiler-Lab | aa7dd86302e7a192fd6ebf290e761bff4ec09025 | 6fde3364bfa943e9f457cf810dd1a81387b06c2a | refs/heads/main | 2023-05-14T16:32:24.514032 | 2021-06-01T09:04:54 | 2021-06-01T09:04:54 | 374,355,329 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,568 | cpp | lab4.cpp | #include <iostream>
#include <iomanip>
#include <vector>
#include <set>
#include <map>
#define EPSILON ' '
typedef std::vector<char> Rule;
typedef std::set<char> Set;
typedef std::pair<char, char> Index;
typedef std::map<Index, int> ParsingTable;
std::vector<Rule> grammar = {
{'S', 'T', 'B'},
{'B', '+', 'T',... |
319a3f3427a0f78b5ea719626f47297bfd47652d | bf29f7ff24c9c9e3a4dc9351387a8ec1aaae288f | /Code_Presentations/06_Interoperability/TestServer/dllmain.h | b2799c18a6555923644ec681a0334b9a027a3d73 | [] | no_license | Bl0bb3r/KPU_CBD | 13ae47d63bc5046950941752682071504b26ff9c | b86c23d8d0333b0ec1b1de4ec7312cdb5f1cb042 | refs/heads/master | 2022-12-05T19:36:22.869724 | 2020-08-20T09:17:02 | 2020-08-20T09:17:02 | 288,168,156 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 306 | h | dllmain.h | // dllmain.h : Declaration of module class.
class CTestServerModule : public ATL::CAtlDllModuleT< CTestServerModule >
{
public :
DECLARE_LIBID(LIBID_TestServerLib)
DECLARE_REGISTRY_APPID_RESOURCEID(IDR_TESTSERVER, "{d0df4a54-d702-42a2-b3f3-d8015d37d6fa}")
};
extern class CTestServerModule _AtlModule;
|
c70e84d44face6fc89d129eea65d504bc4cbcd68 | ebff47eb7542904c267c6021f1fb5b7780351b21 | /UnitTest/UIComponentTest.cpp | 6256f0e29b128acc89d22f044c5193287172c4c5 | [] | no_license | Jonazan2/Dominus | 85524896e92b46f30db531280910c458382aefdc | 74fffd30cc5e4200412949cd4f71ccb6dbc41d46 | refs/heads/develop | 2021-01-10T15:54:45.689962 | 2016-04-19T22:26:21 | 2016-04-19T22:26:21 | 50,295,621 | 4 | 1 | null | 2016-05-13T15:50:31 | 2016-01-24T16:11:16 | C++ | UTF-8 | C++ | false | false | 10,906 | cpp | UIComponentTest.cpp | //
// main.cpp
// Test
//
// Created by Alvaro Chambi Campos on 4/6/15.
// Copyright (c) 2015 Alvaro Chambi Campos. All rights reserved.
//
#include <iostream>
#include "UIComponent.h"
#include "gtest/gtest.h"
namespace {
// The fixture for testing class Foo.
class UIComponentTest : public ::testing:... |
7c4f6493fa8a400010d4e45d559462630feb17c8 | 45711d378b4d9a677bdc15948ade07dcbb49a186 | /include/hm3/solver/level_set/amr.hpp | c0740b8503add9abded8ab38f520055da58c7551 | [
"BSL-1.0"
] | permissive | gnzlbg/hm3 | 1978c70abd4dcee6f194474cca4e87c22366834e | 8c254d0ca96b9b379e4af3264e2dd431792ae076 | refs/heads/master | 2023-08-18T21:05:08.549131 | 2015-10-26T23:50:34 | 2015-10-26T23:50:34 | 44,331,524 | 7 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,924 | hpp | amr.hpp | #pragma once
/// \file
///
/// Adaptive mesh refinement for the level-set solver
#include <hm3/grid/types.hpp>
#include <hm3/amr/amr.hpp>
#include <hm3/solver/level_set/state.hpp>
namespace hm3 {
namespace solver {
namespace level_set {
/// Adaptive mesh refinement target for the level set solver
template <uint_t Nd>... |
2232d21a5e7594ad2b6c0ebebf558467c536e658 | 9d057ad4468e652388fec6345b690332375a91f0 | /ftol_tileset.h | fb91b3d15c23728aa66edda803024826d72c0eaf | [] | no_license | jrgagnon/FinalTriggerofLegend | 469bac604c7d1c16c144bf4961a61eb1cf9d4a44 | ce73ee382e044b6f2d1bb89dbd7ae2fe4e3deda1 | refs/heads/master | 2021-01-20T04:09:33.696052 | 2017-05-08T00:45:50 | 2017-05-08T00:45:50 | 89,651,491 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 555 | h | ftol_tileset.h | #include "ftol_SDL.h"
#pragma once
class ftol_tileset
{
public:
ftol_tileset(int xTiles, int yTiles);
SDL_Rect* getTileSections(); //Returns the entire set of tile sections
SDL_Rect getTileSection(int x); //Returns the section associated with the passed number
private:
void sectionTiles();
SDL_... |
8c39b17e4f18991bb708bae17b066ef654effb1d | 1cfa0cca385662a61c5089947ea4dc37a6ab76b3 | /src/feedback.cpp | 213eb3b09e61b415eeb2fa2983e23e53bfd049c8 | [
"MIT"
] | permissive | jspricke/taskwarrior | f67eb2ff8ff498ca99c6d549261f576d42642d71 | 473eb628bc311c05dd74cc202368aeb6f73c357c | refs/heads/master | 2021-06-30T11:35:16.048293 | 2019-03-03T00:48:09 | 2019-03-03T00:48:09 | 208,275,390 | 1 | 0 | NOASSERTION | 2019-09-13T13:57:03 | 2019-09-13T13:57:02 | null | UTF-8 | C++ | false | false | 16,057 | cpp | feedback.cpp | ////////////////////////////////////////////////////////////////////////////////
//
// Copyright 2006 - 2016, Paul Beckingham, Federico Hernandez.
//
// 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... |
2c9a66d02e2a3c41179a297676b841fa3642a7e2 | 5b10b05d22c17836aa139239bd6d2e0c7c7d8427 | /4c1t/Compilation Theory/MiniJava/SyntaxAnalysis/inc/VisitorTarget.h | bc779a349b5fc74f48ef3801de8bddea13a1df62 | [] | no_license | a1ip/mipt-materials | f362218c095df61a9ade282726009909589c0e23 | 5e9d8cc5d32922e939d2f4c30d0250bb5352699f | refs/heads/master | 2023-03-21T12:54:21.519985 | 2018-05-21T17:33:37 | 2018-05-21T17:36:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 281 | h | VisitorTarget.h | // Author: Alexey Zhuravlev
// Description: Interface for visitor target. All targets for visitor must be inherited from it
#pragma once
#include <Visitor.h>
class IVisitorTarget {
public:
virtual ~IVisitorTarget() {}
virtual void Accept( IVisitor* visitor ) const = 0;
};
|
c28c6b5676f8ec06affe416ac28131fe70d503af | df82be0251d4881dd2e5ae7f8f168779adb68307 | /Source/EstimationAndControl/ControllerGeneric.h | 4af92f44753147672f0ddf39244c5f648d113c7c | [
"Apache-2.0"
] | permissive | jasonbunk/InvertedPendulumVisualControl | 078fc0787a7f06e1fcf9bca66f632f829660f966 | 90577a4abb2215065845d0f878a85cc345b1ae98 | refs/heads/master | 2021-01-19T13:30:31.724096 | 2015-03-20T18:29:11 | 2015-03-20T18:29:11 | 31,190,977 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 393 | h | ControllerGeneric.h | #ifndef ___GENERIC_PC_CONTROLLER_H______
#define ___GENERIC_PC_CONTROLLER_H______
#include "PendulumCart_Constants.h"
#include <opencv2/opencv.hpp>
class pc_controller_generic
{
protected:
PendulumCartDCM2_Constants pcsys;
public:
virtual void Initialize(PendulumCartDCM2_Constants system_params) = 0;
virtual d... |
182d58bc520afab2d4cdb8a3f0d1df951dd20a3f | eed6b5ac94a8aeedc6d9aa2c11559dc24bae128f | /GUI/ImageLoader.h | 6032f7d28b540c9b3ccfc69381e4026e78dd84a3 | [] | no_license | BHuber55/Program05 | 26e9b164f0d256fe0aefdcc3d7df06c32bc874d6 | 15b619c227e8d1d138ad80aa0c9cd251db7a9cb8 | refs/heads/master | 2016-08-03T10:11:03.268445 | 2015-05-01T18:32:09 | 2015-05-01T18:32:09 | 34,621,106 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 259 | h | ImageLoader.h | #ifndef IMAGELOADER_H
#define IMAGELOADER_H
#include <gtkmm/drawingarea.h>
class ImageLoader
{
public:
static Glib::RefPtr<Gdk::Pixbuf> loadImageRGB(const char* id);
static Glib::RefPtr<Gdk::Pixbuf> loadImageRGBA(const char* id);
};
#endif
|
ca73d6ff2f649b6123ceac19295b90169f9c7b07 | 093d2517cc0a988ebb5bf33a14d6545cb69bff1d | /ZCOPRAC/ZCO15004.cpp | e99b2eb44ca7c9d58f3ad27778de0e5183819433 | [] | no_license | svineet/competitive_programming | d6aaf06cafa7a93d580d75cb941e3f8f923537fc | ea65c8c2118df936a96273b858f6e3fc0ed94258 | refs/heads/master | 2021-07-18T07:19:49.435105 | 2020-08-16T10:05:29 | 2020-08-16T10:05:29 | 77,293,516 | 1 | 2 | null | 2019-10-20T02:41:00 | 2016-12-24T17:26:23 | C++ | UTF-8 | C++ | false | false | 605 | cpp | ZCO15004.cpp | #include <stdio.h>
#include <algorithm>
#include <vector>
using namespace std;
int main() {
int n;
scanf("%d", &n);
n += 2;
int coords_x[n];
coords_x[0] = 0;
coords_x[1] = 100000;
for (int i=2; i<n; i++) {
int temp;
scanf("%d %d", &coords_x[i], &temp);
}
std::sor... |
6ffec5f2ba0fba14a9361565b3f49934bbeb1863 | bb63318dd823322be3ae24acb668c2956a502609 | /include/binarySearchTree.h | 640cf3489a10f8b65535298d8428d1357026abb0 | [] | no_license | dabao085/DataStructureInC | 147d129f8614c93474ea195723901e96ca5e6251 | 4cbd1b3f9475d331ecdd8b60181eb4baea2c0d64 | refs/heads/master | 2020-04-15T17:28:34.781921 | 2019-03-21T08:59:27 | 2019-03-21T08:59:27 | 42,656,571 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,805 | h | binarySearchTree.h | /*
* Author: Cheng xiang
* Date: 2019-2-25
* header of tree structure, templates defination must located in header
*/
#ifndef _BINARY_SEARCH_TREE_H_
#define _BINARY_SEARCH_TREE_H_
#include <iostream>
#include <algorithm>
#include "exceptions.h"
template <typename Comparable>
class BinarySearchTree
{
public:
Bi... |
ea7a9e97ed6c212b7e2c42bef6ac81c848e85471 | 15d188a6a5a948628d0c1f7dee9439e6380595d6 | /src/GEL/CGLA/Quaternion.h | 7d6a84c425869c7bc799c3521595dfd13ed2a08a | [] | no_license | janba/GEL | 5dcabf5a0addadaaabdffe8936c154750a07a4f3 | 1ccaf541385fadad5de51881fb884493b41ada75 | refs/heads/master | 2023-08-28T16:43:58.895144 | 2023-06-05T08:46:12 | 2023-06-05T08:46:12 | 21,777,529 | 78 | 25 | null | 2023-09-05T05:47:12 | 2014-07-12T22:06:29 | C | UTF-8 | C++ | false | false | 562 | h | Quaternion.h | /* ----------------------------------------------------------------------- *
* This file is part of GEL, http://www.imm.dtu.dk/GEL
* Copyright (C) the authors and DTU Informatics
* For license and list of authors, see ../../doc/intro.pdf
* ----------------------------------------------------------------------- */
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.