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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
c175eed74f98e9d6ec65cd11f61b3b0cc96499b5 | 296f4c6db6d74af82877ae882d00b60d1b6b2261 | /interfaz/directivo.cpp | 972be65202af07c08a1f5482132c8a84979fe245 | [] | no_license | jesusparrachaparro/sistema_empresa | dea87736eba60c26a901ee2cd5775a8e3e09dacf | 656175c05d5d755886675181681b124e31747590 | refs/heads/master | 2020-05-07T09:37:34.710915 | 2019-05-06T20:28:53 | 2019-05-06T20:28:53 | 180,385,056 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 550 | cpp | directivo.cpp | #include "directivo.h"
// Constructor de la clase Directivo
Directivo::Directivo(string nombre, int edad, string DNI, string sede):Persona(nombre, edad, DNI){
this->sede = sede;
}
// Métodos clase Directivo
vector<string> Directivo::mostrarDirectivo(){
vector<string> vaux = mostrarPersona();
vau... |
efde3c9af1265940e9d790fff1259302e8a0538e | 54e42a45ce9f9d47b44163b1bd29e27cbed0fa2b | /avs/vis_avs/r_grain.cpp | e50265d440ae7603a44667c5ccd83fef5f8b9a0b | [
"BSD-3-Clause"
] | permissive | czeskij/vis_avs | 0578b0b2d9c5bb7a51e00385ccb825542f33a5b6 | 10cbc47adbc128f17505c695535d8cbec243410e | refs/heads/master | 2021-01-26T01:29:28.340747 | 2021-01-08T13:54:45 | 2021-01-08T13:54:45 | 243,258,235 | 0 | 0 | null | 2020-02-26T12:33:50 | 2020-02-26T12:33:50 | null | UTF-8 | C++ | false | false | 13,449 | cpp | r_grain.cpp | /*
LICENSE
-------
Copyright 2005 Nullsoft, Inc.
All rights reserved.
Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice,
this list of conditio... |
9a4732b870127977e3d228c873d4fc13d84c9931 | 7597231f658a5ba2cb9feef5febda64534ffbb22 | /CppFiles/MainWindow.h | 421700625a690222e8e53cd7a4b61376f864ce3f | [] | no_license | SergiuJec/cumulus-qt | b8aef2f2cd65493c178adcc89bc3b405a2d35e63 | 77f5e07f2160aa835246c74b598f8838fded312a | refs/heads/master | 2021-01-24T16:15:22.671968 | 2017-12-10T15:18:45 | 2017-12-10T15:18:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 423 | h | MainWindow.h | #ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include <QMainWindow>
class MainWindow : public QMainWindow {
Q_OBJECT
void saveSettings();
void loadSettings();
void registerQmlType();
bool m_closeApp;
public:
explicit MainWindow(QWidget *parent = nullptr);
~MainWindow();
void closeEvent(QC... |
3367da464385d6443f0267b4bf747d642e9c0806 | dbf66e9fd7ddce8e97839e8804400ae5636243dc | /src/mydiagrammview.cpp | d08db2f5e0c4867f1aad53bf5db70d04b55584c9 | [] | no_license | Schliene/Brauhelfer-Experiment | 6e6011b94139adc87a2f99c6f98c213f7e50d794 | c11749f68beb2da534fba1ca63520ab0687dba11 | refs/heads/master | 2021-07-15T14:18:50.264556 | 2017-10-18T18:12:58 | 2017-10-18T18:12:58 | 106,861,155 | 0 | 1 | null | 2017-10-18T18:34:43 | 2017-10-13T18:44:14 | C++ | UTF-8 | C++ | false | false | 23,077 | cpp | mydiagrammview.cpp |
#include "mydiagrammview.h"
#include <QMouseEvent>
#include <QDebug>
//
MyDiagrammView::MyDiagrammView( QWidget * parent, Qt::WindowFlags f )
: QWidget(parent, f)
{
colorL1 = QColor::fromRgb(116, 30, 166);
colorL2 = QColor::fromRgb(56, 104, 2);
colorL3 = QColor::fromRgb(170, 0, 0);
BezeichnungL1 = "";
Kur... |
5f003b678bf4b5a23e41a3d05033b11fa4424c3a | d0309d1a68e1185c0884330c5d08f23bededb0be | /includes/filesystem.hpp | b0e60ae21a261337f0059cb9a7f50c82e1bad968 | [] | no_license | mbits-os/libbase | a3f8ba83604820c6dea53b9843f3351b89578353 | cc4dbe3956b647ba59ab5ed865a3165e56a3e445 | refs/heads/master | 2020-04-05T23:36:14.727751 | 2014-03-25T08:35:00 | 2014-03-25T08:35:00 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,939 | hpp | filesystem.hpp | /*
* Copyright (C) 2013 midnightBITS
*
* Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentation
* files (the "Software"), to deal in the Software without
* restriction, including without limitation the rights to use, copy,
* modify, merge, pub... |
e54d97099674659830a66de8a61359e15babe033 | 7ebd80c33d2c10a994819959b44e309a3cb695eb | /ProArc/data.cpp | 6fedc499cf501e295256631141ebdf1268ed1bc8 | [] | no_license | jinyurui/qmlStudy | 7c1bb2f885dc7883ab1101be5f317e2a8a86ee77 | 0ee322b63b97cf6ac8ed58219717683f5d6f708d | refs/heads/master | 2020-05-27T20:14:55.077471 | 2019-08-06T07:45:10 | 2019-08-06T07:45:10 | 188,774,790 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 303 | cpp | data.cpp | #include "data.h"
Data::Data()
{
m_pSrcData = std::make_shared<srcData>();
}
Data::Data(std::shared_ptr<srcData> p)
:m_pSrcData(p)
{
}
Data::~Data()
{
}
QString Data::getName() const
{
return m_pSrcData->getName();
}
int Data::getCount() const
{
return m_pSrcData->getCount();
}
|
6029a5198a67d41b6ecb9f8ea6854a63cd11438c | b7be58016ff114b8a6c0e48209399e74724e46b1 | /ETGG2802/ETGG2802/FrameBuffer.h | a1f27ac39202cdc2e0ce57c1a4fa3ed836404818 | [] | no_license | TylermEvans/Portfolio | 5f3973886f1d924d425f5fd7c847ab9185b97e50 | 95fc6bcdad6e61abb469c5025b9b3c9edafab8fc | refs/heads/master | 2021-09-29T04:57:13.533349 | 2018-11-23T20:53:48 | 2018-11-23T20:53:48 | 109,090,191 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,920 | h | FrameBuffer.h | #pragma once
#include "Texture2D.h"
#include "CubeTexture.h"
//abstract base class
class RenderTarget {
public:
RenderTarget(const RenderTarget&) = delete;
//tells which RT is currently active, or null if none
static RenderTarget* active_target;
//saved viewport (the one that was active before we switched
//t... |
2385d8a91aad1e61a7de60254b10b7e08f890eb8 | ce26a33879e1140be5f0e20081d2eda32696c2a1 | /kahns_toposort_alg.cpp | b462644e2ee69c284fd8fa6eaf312dca330d71c5 | [] | no_license | Team-Kek/Notebook | 6a3c581e1f1abb6258aeae60e64b4be428d8a3b7 | fee9e624daaf0bc4b3ee1f2775534f485ed24ca9 | refs/heads/master | 2020-12-05T00:56:28.233696 | 2017-10-12T08:06:25 | 2017-10-12T08:06:25 | 66,931,006 | 1 | 2 | null | 2017-10-12T08:06:26 | 2016-08-30T10:29:06 | C++ | UTF-8 | C++ | false | false | 1,961 | cpp | kahns_toposort_alg.cpp | #include <vector>
#include <set>
#include <iostream>
using namespace std;
//-RECIPE-START-//
// KAHN'S ALGORITHM FOR TOPOLOGICAL SORT.
// Tested on HackerRank Kingdom Connectivity and UVa 11686
// O(E lg V)
vector<int> kahns(const vector<vector<int>> &adj_lists) {
// Construct our own adj list so we don't delete stu... |
8741dbe21a229f8846189ffac26a60f00dce03d9 | 771a4e3846212eabbabf6b68bf73d4a326d0973e | /src/UMSFreeVirtualProcessorRoot.h | 91cdebb4cfd501b7e49baa141f558cdb74382909 | [] | no_license | ganboing/crt.vc12 | 4e65b96bb5bd6c5b5be6a08d04c9b712b269461f | f1d47126bf13d1c9dccaa6c53b72217fd0474968 | refs/heads/master | 2021-01-13T08:48:12.365115 | 2016-09-24T20:16:46 | 2016-09-24T20:16:46 | 69,113,159 | 4 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 15,034 | h | UMSFreeVirtualProcessorRoot.h | // ==++==
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// ==--==
// =+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+
//
// UMSFreeVirtualProcessorRoot.h
//
// Part of the ConcRT Resource Manager -- this header file contains ... |
84db5f565d9d0bf6ff5342e214cfa6bc371da475 | c49e6f468f5322084743350537c28d6e84e1f11b | /funcs.cpp | b5a4f5e3798f55b7b8614cf5223e65a75be7181c | [] | no_license | EricLi-Dev/fall-2021-13500-lab-02-PANDAERICBEAR | c19af7f8dd9a3f1209d313c73c9196af0038560a | 4f11e1c5542915866ac9cf009a9b3e12180d6370 | refs/heads/main | 2023-07-26T09:05:48.304989 | 2021-09-11T20:08:36 | 2021-09-11T20:08:36 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 139 | cpp | funcs.cpp | #include <iostream>
#include "funcs.h"
void print_interval(int L, int U){
for (int i = L; i < U; i++){
std::cout << i << " ";
}
}
|
4c1d41c81b34777afde31d7ee37a4267bc98e504 | 68dcd66c5a250dad2797dd575d176507ae195c83 | /src/Display.h | d491ecd30f849f11e55e8100bc666352c78367f9 | [] | no_license | DavidDriessen/smartcities_weerstation | 3a41dbbdbdbec7b12708eb188020228b5345cc52 | 39ab5853223e477eb4010aa04b4001ff445c415f | refs/heads/master | 2021-09-06T01:38:56.951601 | 2018-02-01T10:37:24 | 2018-02-01T10:37:24 | 119,816,445 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 713 | h | Display.h | //
// Created by root on 12/14/17.
//
#ifndef WEERSTATION_DISPLAY_H
#define WEERSTATION_DISPLAY_H
#include "SSD1306.h"
#include "images.h"
class Display : public SSD1306 {
public:
Display(uint8_t _sda, uint8_t _scl) : SSD1306(0x3c, _sda, _scl) {}
/// Initiate the display
void initDisplay();
/// Display ... |
cf5d37cf2fd8c3bf7e2b7440db18033de49a9a91 | a2414ef6707b4e0502ff5c31953671205037fac2 | /opening.h | dbfc061c70d40181844e9a2badf79ecc73cc1a80 | [
"MIT"
] | permissive | GergoTothF/chess | fcb29b417cac1a3fba54f0e6f1fd2e5c6b4231f3 | ff801ded64d757145224365a74f4a13a85dbaf51 | refs/heads/master | 2020-12-26T20:44:39.733396 | 2020-02-01T17:36:51 | 2020-02-01T17:36:51 | 237,637,251 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 515 | h | opening.h | #ifndef OPENING_H
#define OPENING_H
#include <string>
inline std::string checkOpening(std::string fen)
{
if (fen == "rnbqkbnr/pppppppp/8/8/3P4/8/PPP1PPPP/RNBQKBNR b KQkq - 0 1")
{
return "d7d5 0";
}
if (fen == "rnbqkbnr/pppppppp/8/8/4P3/8/PPPP1PPP/RNBQKBNR b KQkq e3 0 1")
{
... |
f30c26581af627299be026fd6c6a9bb4a1a6b0d4 | 096961ee99272213aae979902aad0fed8b86a957 | /CodeForces/427/C.cc | 68988fc1967dcadd650f28cad57672d8aaf62e43 | [] | no_license | yassin64b/competitive-programming | 2d92ee9878e33b5f40da4f0440e994beb595a21b | 180a309da3e12d00c9e4dc384a9aa95ec3e80938 | refs/heads/master | 2021-03-27T15:58:27.450505 | 2020-01-11T16:40:17 | 2020-01-11T16:40:17 | 53,347,417 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,847 | cc | C.cc | /**
* code generated by JHelper
* More info: https://github.com/AlexeyDmitriev/JHelper
* @author yassin
*/
#include <fstream>
#include <iostream>
#include <vector>
#include <string>
#include <utility>
#include <algorithm>
#include <map>
#include <set>
#include <cmath>
#include <cstdlib>
#include <tuple>
#include ... |
9762c339216784419890d3a335cd8603a8dc02cd | b3965e90cd020cc881ac150f0f0fb79cd5b8b7fd | /Command.h | 03f33493c5d9f8c778368952f08a9245b563ed6a | [] | no_license | revolutioner11/SVG-project | d7fc7fa00c15ae524fb59c649f526b5c4cf43499 | 5bb3690ae2056408949de76f090b96181b82620f | refs/heads/SVG-project | 2021-01-22T05:24:14.433358 | 2016-09-22T15:51:00 | 2016-09-22T15:51:00 | 68,935,152 | 0 | 0 | null | null | null | null | WINDOWS-1251 | C++ | false | false | 323 | h | Command.h | #pragma once
#include "Circle.h"
#include "Line.h"
#include "Rect.h"
#include <fstream>
///
/// Клас изпълняващ всички команди
///
class Command
{
public:
Command();
//Command(MyString Path);
~Command();
void Free();
void Open(MyString Path);
private:
Figure** Data;
MyString Path;
};
|
751b3e0f0546c27581e55bcd9e17499d70965260 | 272c90626a2bf1fb37b8543cbe30b896d70100da | /project/src/module2/module/Module2.h | 722bea417dc7a139e28f8849fd8987f99d4d4c1b | [] | no_license | aphanjl/makefile | 1a80f93ec49831077fa0c707387da3395b960025 | 04c9af7bbd8554acc985acae3b4e5a21828d5b0e | refs/heads/master | 2020-05-07T01:06:29.972607 | 2015-02-03T14:49:07 | 2015-02-03T14:49:07 | 22,712,798 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 216 | h | Module2.h | #ifndef CXX_MODULE2_H
#define CXX_MODULE2_H
#include "Module2Base.h"
class Module2: public Module2Base
{
public:
Module2();
virtual ~Module2();
virtual void start();
virtual void stop();
};
#endif
|
4816f947eee701f6c1bfc626d26e1ec72b48193a | 9e0a6be5a6c462500fd2e0baeaf34f2a1b0af3af | /src/analytic.cpp | d22b055794b8fa617f64bbc625f7da6285fc2b40 | [] | no_license | Aloshi/dendro-heat | 52801e7c8469f6894ec11833b1da1908a0fe5fc5 | 455edf17aa9c348ce6f421726854d23dc4e3e194 | refs/heads/master | 2020-06-11T05:19:42.169124 | 2018-02-15T23:44:52 | 2018-02-15T23:44:52 | 75,998,443 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,306 | cpp | analytic.cpp | #include "analytic.h"
#include <HTEquation.h>
#include <Grid/elem-types.h>
#include <interp.h>
#include <feMatrix.h>
double calc_u_analytical(double x, double y, double z, double ts) {
return sin(M_PI*x)*sin(M_PI*y)*sin(M_PI*z)*exp((-ts));
}
void addAnalyticalSolution(ot::DA* da, const double* problemSize, Vec u_v... |
976f1283068babfb666be994f1aed9b151d17d12 | 83bacfbdb7ad17cbc2fc897b3460de1a6726a3b1 | /third_party/WebKit/Source/core/css/BasicShapeFunctions.cpp | 1ebbecccbf91220eec1f851d643f49815e35793a | [
"Apache-2.0",
"BSD-2-Clause",
"LGPL-2.1-only",
"LGPL-2.0-only",
"BSD-3-Clause",
"LGPL-2.0-or-later",
"LicenseRef-scancode-warranty-disclaimer",
"GPL-1.0-or-later",
"GPL-2.0-only",
"LicenseRef-scancode-other-copyleft"
] | permissive | cool2528/miniblink49 | d909e39012f2c5d8ab658dc2a8b314ad0050d8ea | 7f646289d8074f098cf1244adc87b95e34ab87a8 | refs/heads/master | 2020-06-05T03:18:43.211372 | 2019-06-01T08:57:37 | 2019-06-01T08:59:56 | 192,294,645 | 2 | 0 | Apache-2.0 | 2019-06-17T07:16:28 | 2019-06-17T07:16:27 | null | UTF-8 | C++ | false | false | 11,627 | cpp | BasicShapeFunctions.cpp | /*
* Copyright (C) 2012 Adobe Systems Incorporated. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of source code must retain the above
* copyright notice, this ... |
7d0a8cd2c6aee34d012f1c3ee023bc3da52d2169 | 7ea8e3b5a660c328dbcce7f13a7b10f878a3f46e | /src/Workload_LU.hpp | b4a18822b3164d0d85f2df78b3be0166924608dd | [] | no_license | PrincetonUniversity/MemFlow | 512ca050896eff795858559bd8c21f54b259f8bd | 3f85f17d78a87f7f5b20ec84d86635902894556c | refs/heads/master | 2021-03-27T15:17:47.271500 | 2019-01-12T18:19:13 | 2019-01-12T18:19:13 | 80,735,247 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 833 | hpp | Workload_LU.hpp | #ifndef WORKLOAD_LU
#define WORKLOAD_LU
#include "Workload.hpp"
using namespace std;
class Workload_LU: public Workload{
public:
Workload_LU(string app_name, int in_m, int in_n, int in_k):Workload(app_name, in_m, in_n, in_k){cout << "constructor of workload lu" << endl; cout << "m " << m << endl;};
~Worklo... |
ce983085d0cb011cb4ea7c4be51bed1d8d822c6b | 031e4d530346aab54ba32e5ec0aeb8ab1a783be1 | /Report 2/W41/0.05/phi | 6085f6eb5acfb334df51c8b0aedf7431b7d45851 | [] | no_license | shyam97/modelling1 | 781ddcf6c16b6bd8f528b0f58bd19953f86716d9 | 68bd2ebc7960111b86bbff04af96003229618af7 | refs/heads/master | 2022-11-21T07:03:25.868074 | 2020-07-20T16:20:09 | 2020-07-20T16:20:09 | 262,878,324 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,701,496 | phi | /*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: 7
\\/ M anipulation |
\*-------... | |
2e625ff74ac106f4d0d24a4209bf5220436a6a5d | 2bfe33dae576a1b642e050a7e75f9a5de44e9266 | /digitanks/src/digitanks/digitankslevel.cpp | 8568135682dc4ca2b12bb378b22623c1cd86e270 | [
"BSD-2-Clause"
] | permissive | BSVino/Digitanks | 5c25dd6576b878b9c887fbf8bd9068b38c0f02d2 | 1bd1ed115493bce22001ae6684b70b8fcf135db0 | refs/heads/master | 2021-03-19T07:11:46.713983 | 2014-04-19T21:15:50 | 2014-04-19T21:15:50 | 1,963,881 | 13 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,922 | cpp | digitankslevel.cpp | #include "digitankslevel.h"
#include <datamanager/data.h>
#include <renderer/renderer.h>
#include <ui/digitankswindow.h>
#include <ui/instructor.h>
CDigitanksLevel::CDigitanksLevel()
{
m_eGameType = GAMETYPE_EMPTY;
m_flMaxHeight = 60;
m_bBuffers = true;
m_bPSUs = true;
m_bTankLoaders = true;
m_bArtilleryLoade... |
1e386403042783fb0b4d38254c8013eb26a7c0fd | 05ceb7bd2213fea402c2c563aa45f149aae2b049 | /src/ComputeBeatHisto/ComputeBeatHisto.cpp | dd38f77f447998907fff4943f5e9870826183cf7 | [
"MIT"
] | permissive | alexanderlerch/libACA | f114bd5d06ce36fa76083bded281364055b50d65 | 1b81f65a6d2a129fb43b8aa487df0645eb146f23 | refs/heads/main | 2023-05-23T01:09:46.110481 | 2022-09-12T18:38:02 | 2022-09-12T18:38:02 | 485,183,471 | 51 | 4 | MIT | 2022-06-17T19:18:47 | 2022-04-25T01:20:38 | C++ | UTF-8 | C++ | false | false | 3,612 | cpp | ComputeBeatHisto.cpp | #include "AcaAll.h"
#include <iostream>
#include <fstream>
#include <ctime>
#include "BeatHisto.h"
using std::cout;
using std::endl;
// local function declarations
void showClInfo();
/////////////////////////////////////////////////////////////////////////////////
// main function
int main(int argc, char* argv[... |
f72a10b94d0d9da0817e1af3728231f9526618f4 | 93a2581f050f88c7514eeb23eead04c9b3c5b49a | /Punto3D/Punto3D/Point.h | 48a7daf2aa53b578643797ee83e0103e64354184 | [] | no_license | waltercordoba/practicos | ea4616bc42aede2d65281efb7fdeec3a93163728 | 4960dc381f66e163a21ab008cd72eea51324cc8d | refs/heads/master | 2021-04-27T00:21:37.403511 | 2018-05-01T23:03:10 | 2018-05-01T23:03:10 | 123,799,163 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 696 | h | Point.h | #pragma once
namespace Cpp_math
{
class Point
{
public:
Point() : mX(0.0f), mY(0.0f), mZ(0.0f) {}
Point(const float x, const float y, const float z);
Point(const Point& p);
Point getAddition(const Point& p);
Point getSubtraction(const Point & p);
const Point& add(const Point& p);
const Point & subtract... |
f315de02d54a65fed170ed9b9eeb96b85aabaf93 | 45d3f7f93f0c83069b17fc02dd621cfc6783545f | /Ch08/cpp_8-4.cpp | 6b8de31fdb0e206e4585cf65ba4177ce4ae05a39 | [] | no_license | Roc-J/Cpp_Primer_Learning | e3f8ce23a5490919561587a823646e31853e8111 | 88d0c77e46de8e15cb764eaf67b03f11686063e9 | refs/heads/master | 2023-02-08T03:52:40.542551 | 2021-01-05T13:38:32 | 2021-01-05T13:38:32 | 286,002,747 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 330 | cpp | cpp_8-4.cpp | #include<iostream>
#include<fstream>
#include<string>
#include<vector>
using namespace std;
void readFromFile(const string & filename, vector<string> & vec)
{
ifstream ifs(filename);
if (ifs)
{
string buf;
while (getline(ifs, buf))
{
vec.push_back(buf);
}
... |
be33ef0c984dc0ad4640dbc874679a0022b46fe0 | cce8c11d5fd213f199fb2d3d7abe32526c784914 | /Source/LINAL/Private/MySpaceShip.cpp | 34a03908b2fb21df541755e2f1e0560b276a1633 | [] | no_license | sakirma/LINAL | 4ea6b54ebf17694acd8fc660854413c412f48b17 | 9d636a29dee86caae881d2f13d16041606f61105 | refs/heads/master | 2023-04-21T00:09:13.984472 | 2021-05-12T12:36:04 | 2021-05-12T12:36:04 | 345,111,924 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,316 | cpp | MySpaceShip.cpp | // Fill out your copyright notice in the Description page of Project Settings.
#include "MySpaceShip.h"
#include <vector>
#include "MyMissileComponent.h"
#include "STransform.h"
#include "Components/LineBatchComponent.h"
#include "Kismet/GameplayStatics.h"
#include "Math/FSMatrix.h"
// Sets default values
AMySpa... |
125e46fe0871957f5684d2a20c2ccfe82a8e3e91 | 4766384e3a7de263286f5e963d178ff2856ffad2 | /Arduino_101/Blink_3_animation/Blink_4_using_Loop.ino | 29c6a123a4e4f4691ef8115363e657b3b587bc5f | [] | no_license | Team-SDIoT/SDIoT_Training | b88ae48b5cd97604c9df90ea0fb4da33c90d8a73 | ff234ea34b36eaf8b7804d529d6170bbfe724c84 | refs/heads/master | 2021-09-01T03:20:04.984698 | 2017-12-24T13:51:37 | 2017-12-24T13:51:37 | 111,235,640 | 1 | 2 | null | 2017-11-22T19:05:29 | 2017-11-18T20:10:14 | Arduino | UTF-8 | C++ | false | false | 403 | ino | Blink_4_using_Loop.ino | /* Arduino program 4 to Blink 4 LED's animation using for loop
* Date: 18th Nov 17
* @BML Munjal University, Arduino 101 Workshop
*/
void setup()
{
pinMode(2, OUTPUT);
pinMode(3, OUTPUT);
pinMode(4, OUTPUT);
pinMode(5, OUTPUT);
}
void loop()
{
int i;
for(i=2;i<=5;i++)
{
digitalWrite(i, HIGH);
de... |
23e174888ae371a318050b125946bdf34e686409 | 1b4ef06460dee1faa27ef5568fb6e3d8b3db7cfb | /GDUTOJ/1037/main.cpp | dcf843350f0290908af337ced5c23070d72458ef | [] | no_license | imoverflow/mycode | 3efb4d3663334ca7d96feaefbaa07cac4b4e2076 | 6ca89e1df775dbf351b5a7590f6a6af5167a46e9 | refs/heads/master | 2020-04-01T23:06:39.017093 | 2018-12-02T04:40:02 | 2018-12-02T04:40:02 | 153,742,417 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 634 | cpp | main.cpp | #include <iostream>
#include <stdio.h>
using namespace std;
char s[505][505];
int main()
{
int t;
scanf("%d",&t);
while(t--)
{
int n;
scanf("%d",&n);
for(int i=0;i<n;i++)
{
scanf("%s",&s[i]);
}
int flag=1;
for(int i=0;i<n/2;i++)
... |
4266e170794989b471c902ce703b4ade2b295944 | e48f8c16f8df6b4429c3be0e8f44b8699cb965c8 | /aulas/s08e03/zoo_1.cpp | 7241d2363d494dfce937bd586853bed3e7655359 | [] | no_license | senapk/fup_2016_2 | 537cd14a51dd7ee840e35c391e3048426c693b9c | 5e09a36ab42c2f7f49f59d5a71bccc43acd8f596 | refs/heads/master | 2020-07-03T09:52:32.539640 | 2016-11-22T19:33:50 | 2016-11-22T19:33:50 | 66,418,683 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 525 | cpp | zoo_1.cpp | #include <iostream>
using namespace std;
int main(){
int qtd;
cin >> qtd;
int vet[qtd];
for(int i = 0; i < qtd; i++){
cin >> vet[i];
}
int total = 0;
for(int i = 0; i < qtd; i++){
bool eh_repetido = false;
for(int j = (i - 1); j >= 0; j--){
if(vet[i] == v... |
d5097b04051ca427e633fc98583067534df19f62 | 3116e3f8ef99fcd0222bfa561d4d95507f4171dd | /chapter2_information_representation_handling/unsign_sign_shift.cc | 795776ad1b6be661dd931ecc4f8fa03bc405b00c | [] | no_license | luoshao23/CSAPP | c3d5c8a367a89d20c90f72d6c946bad8647306b1 | f83265df17634774636fcdfefd509ac1d0213191 | refs/heads/master | 2021-03-17T15:30:45.286624 | 2020-03-17T09:12:16 | 2020-03-17T09:12:16 | 247,000,310 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 531 | cc | unsign_sign_shift.cc | #include <cstdio>
int fun1(unsigned word)
{
return (int)((word << 24) >> 24);
}
int fun2(unsigned word)
{
return ((int) word << 24) >> 24;
}
int main()
{
// fun1 76, fun2 76
// fun1 21, fun2 21
// fun1 c9, fun2 ffffffc9
// fun1 87, fun2 ffffff87
printf("fun1 %x, fun2 %x\n", fun1(0x76), fu... |
2c4f10db0100fbd19cd7485b8f50b0289b987702 | 0de361455c0a5b0d4fe9cfa00f246276607d0bb5 | /Segment Tree/2_VS_3.cpp | 16597e76b88d649bd9a0c531df2dd5cc63f05c3e | [] | no_license | parikshit223933/Coding-Ninjas-Competitive-Programming | 150cd35c86c44a2b388300e83c53825f0237ed40 | b3860ecbdb53525eb04e238e5a7c4b5d895cce3f | refs/heads/master | 2023-09-02T18:46:27.473156 | 2022-07-08T08:52:38 | 2022-07-08T08:52:38 | 245,968,461 | 569 | 356 | null | 2023-08-18T06:27:42 | 2020-03-09T07:20:06 | C++ | UTF-8 | C++ | false | false | 3,693 | cpp | 2_VS_3.cpp | /* The fight for the best number in the globe is going to finally come to an end.The top two contenders for the best number are number 2 and number 3.It's the final the entire world was waiting for. Expectorates from all across the globe came to witness the breath taking finals.
The finals began in an astonishing way.A... |
e72bfb566827652f42c4d6b0a431993eae5bd19e | 334c5c96b7ab8085b086d6403b75153e83371a05 | /Leetcode/146. LRU Cache/lru_cache_faster.cpp | 18bfe6ce0d09a8f5314073854c4fe3c1e97756c2 | [] | no_license | fenix0111/Algorithm | d536c901df4843e80376c4ad4ca1a520fb77acb6 | 9ed08d536ec84695b28152abaaaea2c6a55ae01f | refs/heads/master | 2023-07-23T08:14:41.173782 | 2023-07-08T13:44:26 | 2023-07-08T13:44:26 | 102,463,797 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,084 | cpp | lru_cache_faster.cpp | // Leetcode 146. LRU Cache
// https://leetcode.com/problems/lru-cache/
// Runtime: 168 ms
// Memory: 38.4 MB
class LRUCache
{
int capacity = 0;
list<int> key_list;
unordered_map<int, int> cache_map;
unordered_map<int, list<int>::iterator> cache_addr;
public:
LRUCache(int capacity)
{
... |
aebbad00fce77c88254968f6bea23f1f998c3e87 | 632df45e8aceb450934ccc39a89d4a3e55178ede | /auto_ordering/Inventory.cpp | dbab131e75fb5fe37ea81652916cc659b1cdb4ac | [] | no_license | nikadavis1/Cplus_projects | b60b58acad1255560432b4a7d79ab9338e7b6681 | dc1b95f52d72ea5d24eb5bf8fed5dd2aa6b90dbe | refs/heads/master | 2020-04-21T10:09:45.564295 | 2019-02-06T22:04:56 | 2019-02-06T22:04:56 | 169,478,058 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,663 | cpp | Inventory.cpp | #include "Inventory.h"
#include <fstream>
void Inventory::add_part(Auto_Part* part)
{
if(inventory.count(part) == 1)
inventory.at(part) = inventory.at(part)+1;
else
inventory.insert(std::pair<Auto_Part*,int>(part, 1));
}
void Inventory::add_parts(Auto_Part* part, int num)
{
if(inventory.count(part) == 1)
i... |
af6bcd61e569d856670bbe9154e5629b37e06561 | c32ee8ade268240a8064e9b8efdbebfbaa46ddfa | /Libraries/m2sdk/CHBitmap.h | 20548a5ae1c20d43325dfdab86cbc82385a36a8d | [] | no_license | hopk1nz/maf2mp | 6f65bd4f8114fdeb42f9407a4d158ad97f8d1789 | 814cab57dc713d9ff791dfb2a2abeb6af0e2f5a8 | refs/heads/master | 2021-03-12T23:56:24.336057 | 2015-08-22T13:53:10 | 2015-08-22T13:53:10 | 41,209,355 | 19 | 21 | null | 2015-08-31T05:28:13 | 2015-08-22T13:56:04 | C++ | UTF-8 | C++ | false | false | 252 | h | CHBitmap.h | // auto-generated file (rttidump-exporter by h0pk1nz)
#pragma once
#include <CHObject.h>
/** CHBitmap (VTable=0x01EA7500) */
class CHBitmap : public CHObject
{
public:
virtual void vfn_0001_22A59470() = 0;
virtual void vfn_0002_22A59470() = 0;
};
|
d5d734fb468af579b2dcda8a7e13b7af9af5def2 | 9ac19fce0b3bd299a95f68a49fc230f087273447 | /SyntacticalAnalyzer.h | 0c3c61d94bef58551ad44153acc9738af6a00b68 | [] | no_license | ssubrandon/project3 | 4335c2cc2e4e69a9001c369130f1535d33f82fdd | 700f72974594c791f8dd66a57e578ff241b8d9d2 | refs/heads/master | 2020-04-11T21:03:38.947981 | 2018-12-17T07:40:33 | 2018-12-17T07:40:33 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,435 | h | SyntacticalAnalyzer.h | #ifndef SYN_H
#define SYN_H
#include <iostream>
#include <fstream>
#include <stack>
#include <vector>
#include "LexicalAnalyzer.h"
#include "CodeGenerator.h"
using namespace std;
/* Purpose of these is to map the
* functions to the correct column
* in the syntactical table. */
enum functionRuleNumberMapping {
PR... |
233b40fb0b62c01bb729af26bc797c0c208de56b | 71631a7411f0017f1e63ddec2027fe23cb277a5e | /src/player/player.h | 30902d5d29160b0fc61b6401c36c31009ed69cb2 | [] | no_license | kofes/audio_tool | 8c4403b280bfc8b289fb2efbc2bc740079e30e5c | a09abd874d515e7b8480d34adf980af44a6aaea1 | refs/heads/master | 2023-03-25T13:59:34.269553 | 2021-03-24T16:56:20 | 2021-03-24T16:56:20 | 350,888,597 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 491 | h | player.h | #pragma once
#include <memory>
namespace custom {
class player {
public:
player() noexcept;
player(int argc, const char* const* argv);
player(player&&) noexcept;
player& operator=(player) noexcept;
~player();
public:
void add_tracks_to_queue(const std::string&);
void start_playing_in_b... |
4fbf673dae0ef10f5b96cb25b27f35fc9898710c | fb68ee5c893d2760ea23757255e62059f0756391 | /InterfaceRegistre8_16.cpp | c1345c53d0938d39eceb1b1930f0e7d4d1f70906 | [] | no_license | Bruno-Muller/RelayComputer | 8a4a644e239331bcae5254ccd2e6f40c9cf18e3f | a26b250ea42b56ef309fbbca998fbce226e2427d | refs/heads/master | 2016-09-05T13:53:44.079094 | 2013-10-13T01:34:54 | 2013-10-13T01:34:54 | 13,531,913 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 797 | cpp | InterfaceRegistre8_16.cpp | /*
* InterfaceRegistre8_16.cpp
* PC
*
* Created by Bruno Muller on 28/10/11.
* Copyright 2011 __MyCompanyName__. All rights reserved.
*
*/
#include "InterfaceRegistre8_16.h"
InterfaceRegistre8_16::InterfaceRegistre8_16(Registre *registreH, Registre *registreL, Bus *inputBus, Bus *outputBus) : m_registreL(r... |
991fa643a7908c299725512bd86b4fe9f1fba7df | cfdf3711761fce3dea56a647bb7ef554b08fee1a | /squirrel_2d_localizer/src/laser_model.cpp | cc72a7161c030efd2344990cffcbcca2d9bd7ad5 | [] | no_license | squirrel-project/squirrel_nav | 2d96163cc2bea3437dd2481355049c3d4a2ad31a | bf8ad9ff9f79ab489af82efe37d69716b088b73e | refs/heads/indigo_dev | 2021-03-22T05:18:30.620881 | 2018-04-03T08:13:06 | 2018-04-03T08:13:06 | 19,309,260 | 5 | 12 | null | 2018-04-03T08:13:08 | 2014-04-30T09:51:14 | C++ | UTF-8 | C++ | false | false | 3,944 | cpp | laser_model.cpp | // Copyright (c) 2016-2017, Federico Boniardi and Wolfram Burgard
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// * Redistributions of source code must retain the above copyright notic... |
2e215d5016ceaa3df3517b492acd5ab4bc26ce84 | b26c1999e8642d710439ba0ce503ed94ed228ac8 | /Logic/vtkSlicerModuleLogic.cxx | e415813c3420f47c4cf82c974664ba58dbb7b3bd | [] | no_license | JD-TamayoQuintero/3D-Dental | c31070f4897cee93999e0f162bd8884326223a8e | 9e766d6fd7ae5e9b553adbe7c3c1d50d743d25ef | refs/heads/master | 2022-03-15T21:31:14.138745 | 2019-12-04T10:36:01 | 2019-12-04T10:36:01 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,851 | cxx | vtkSlicerModuleLogic.cxx | /*=auto=========================================================================
Portions (c) Copyright 2005 Brigham and Women's Hospital (BWH) All Rights Reserved.
See COPYRIGHT.txt
or http://www.slicer.org/copyright/copyright.txt for details.
===========================================================... |
d59afb48c095176605d09d60166dd32be0bbf94c | a41fa0428171a86f4176ddd35413906e5ab31167 | /AVL Tree/AVLTree.h | b8dfb2c2b272bebb631cea9a826b4c6b117b05b0 | [] | no_license | iSergioMejia/Trees | 4b9fbb92f7ddbc2225db754954d31306ac6f9315 | 1b11d64137a6e280ebcb550ac4f69aef7a8de93b | refs/heads/master | 2021-01-16T06:22:41.944628 | 2020-08-20T14:44:02 | 2020-08-20T14:44:02 | 243,006,830 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,619 | h | AVLTree.h | #ifndef __PUJ__AVLTree__h__
#define __PUJ__AVLTree__h__
#include <string>
namespace PUJ
{
template< class _TValue >
class AVLTree
{
public:
typedef _TValue TValue;
typedef AVLTree Self;
protected:
class Node
{
public:
Node( const TValue& v );
virtual ~Node( );
const T... |
025efe351f8e11a6edc728d795e82c54553209e3 | 720a85026c9fb0d80e45641e11c7e218c649a01c | /alvr/client_core/cpp/glm/ext/matrix_common.inl | 9d508485b866c1a64b7d9db67792f50b61357b1f | [
"MIT",
"Unicode-DFS-2016",
"BSD-3-Clause",
"CC0-1.0",
"BSL-1.0",
"Apache-2.0",
"OFL-1.1",
"BSD-2-Clause",
"zlib-acknowledgement",
"LLVM-exception",
"MPL-2.0",
"Unlicense"
] | permissive | alvr-org/ALVR | e6b56cfa4b75475b6444e4e650b4153861ac76d1 | 8fbcb23f71927079fdcd1a377eccc84c561df700 | refs/heads/master | 2023-08-03T21:30:23.717883 | 2023-08-03T09:22:09 | 2023-08-03T09:50:43 | 197,211,881 | 3,147 | 375 | MIT | 2023-09-12T03:59:03 | 2019-07-16T14:40:08 | C++ | UTF-8 | C++ | false | false | 617 | inl | matrix_common.inl | #include "../matrix.hpp"
namespace glm
{
template<length_t C, length_t R, typename T, typename U, qualifier Q>
GLM_FUNC_QUALIFIER mat<C, R, T, Q> mix(mat<C, R, T, Q> const& x, mat<C, R, T, Q> const& y, U a)
{
return mat<C, R, U, Q>(x) * (static_cast<U>(1) - a) + mat<C, R, U, Q>(y) * a;
}
template<length_t C, l... |
3c96a104792cd3653dd3cf5b68a41d4a0e5c0f6e | e26511cb0e0b9551adc05e0e6050d7147e2fd256 | /Gunz/FunctionalListener.h | 384f2294f1203dfd74162e5c4c90b853b3bb01fb | [] | no_license | PathosEthosLogos/RefinedGunz | 8d79c786bcb91f5fe365a085868626ab687f4f3c | 2f8c09a0cdc85183b0f2624ddc50d2570ff9a7ad | refs/heads/master | 2020-03-12T10:57:16.361321 | 2018-04-19T22:42:09 | 2018-04-19T22:42:09 | 130,584,829 | 1 | 0 | null | 2018-04-22T16:16:44 | 2018-04-22T16:16:43 | null | UTF-8 | C++ | false | false | 1,974 | h | FunctionalListener.h | #pragma once
#include <functional>
#include <list>
#include "ZGameInterface.h"
template <typename T>
void Listen(const char* WidgetName, T&& Function)
{
struct ListenerType : public MListener
{
ListenerType(T&& Function) : Function{std::forward<T>(Function)} {}
virtual bool OnCommand(MWidget* Widget, const char... |
323be80b2b98a9e4241a1a63767fa337387d8d41 | f39fbc00e7584a3e93f92534ca016fd951110cf1 | /src/v/net/conn_quota.cc | 25e99a935f277784bfd3facf7f8c96134fe7f418 | [] | no_license | redpanda-data/redpanda | 93234ff70348d3ed131bdc2d121fc8dcb7bffca9 | bee41676303c0e5fb161256b844bb14a135de8cd | refs/heads/dev | 2023-08-27T21:40:47.107399 | 2023-08-26T11:45:30 | 2023-08-26T11:45:30 | 309,512,982 | 4,297 | 308 | null | 2023-09-14T20:36:21 | 2020-11-02T22:43:36 | C++ | UTF-8 | C++ | false | false | 18,649 | cc | conn_quota.cc | // Copyright 2022 Redpanda Data, Inc.
//
// Use of this software is governed by the Business Source License
// included in the file licenses/BSL.md
//
// As of the Change Date specified in that file, in accordance with
// the Business Source License, use of this software will be governed
// by the Apache License, Versi... |
d4bbb6c62a9fbcae49f0f324eaa727f51d4cea7d | d034f9478a0c17bbc2f2c1679a3afbe50bc4a723 | /swap sort double pointers/main.cpp | 529b53d8c06186b85c89afe8096c1aa2bb84e9ab | [] | no_license | jacgre-0/Lab3 | 047bb03c11a871dab11b6260ef0b6792f8ac2368 | b1218c8de1e60b88a68d2639002f0910a2ac293e | refs/heads/master | 2023-01-21T01:18:58.941170 | 2020-11-17T14:44:17 | 2020-11-17T14:44:17 | 313,363,094 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,616 | cpp | main.cpp | #include <iostream>
void swap_sort_ptr_addr(int** a, int** b, int** c, bool sortOrder);
int main() {
int a{};
int b{};
int c{};
int* aPtr = &a;
int* bPtr = &b;
int* cPtr = &c;
bool sortOrder{};
std::cout << "Give a (0 to quit): ";
std::cin >> a;
if (a == 0) {
std::cou... |
65c565bf1cadcda0e4042f95860e98c09f06b464 | 70ea64c522d12dad3d50443854ce869e019d2ca2 | /Game/Gun/Bazooka.h | acceac8c8cfe63a46cb7ff56051ed64424007536 | [] | no_license | clxhtm456/DirectX2D | ea88afabaecc81600addd8cd14924b0630327b60 | 4c7027cb061008e962ed8ddd3c38c1216cf72de7 | refs/heads/master | 2022-11-05T05:28:44.377906 | 2020-07-01T15:32:03 | 2020-07-01T15:32:03 | 276,414,762 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 220 | h | Bazooka.h | #pragma once
#include "Game/Gun/Weapon.h"
class Bazooka : public Weapon
{
public:
static Bazooka* Create();
bool Init();
Bullet* CreateBullet();
// Weapon을(를) 통해 상속됨
virtual void Shot() override;
}; |
071d501854d17e56fec179cbae631864778ab40f | 285ee55d1815a18f48f031cac198f3ac38796e5b | /Compute/Tokens/Operators/negateoperatortoken.cpp | 15f0ddc6e0acaff3cf9b5798af40d6cc1ded2ed6 | [] | no_license | sadler-j/QtCalculatorExample | 0f6360d6306d991f728ebcdd4c5a8646a6595000 | 79d48760820acd7ebeac391c7f714ef1cdb47d80 | refs/heads/master | 2020-08-06T08:41:17.053270 | 2019-10-04T22:24:27 | 2019-10-04T22:25:32 | 212,910,982 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 747 | cpp | negateoperatortoken.cpp | #include "negateoperatortoken.h"
#include "Exceptions/computeexception.h"
using namespace Compute;
using namespace Compute::Exceptions;
using namespace Compute::Tokens;
using namespace Compute::Tokens::Operators;
void NegateOperatorToken::Operate(std::stack<std::shared_ptr<ValueToken>> &valueStack,
... |
da6d6a7ff743cbba3ad713a2c922789de8fd709b | 536d0d8a27cd84114167e96a66ff1b499fc766b4 | /TestGameEnginev13/GameEngine2/building.h | b2bf6b969e056bc89842295f3abd29afd6e23693 | [] | no_license | drowdemon/TestGameEngine | d80a8827838a3357833d1447304f134d54763ddc | d43ee6db4c191c6bafa6a064c44bcc6e2169db8c | refs/heads/master | 2016-08-05T06:23:19.313572 | 2013-07-09T20:31:57 | 2013-07-09T20:31:57 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,929 | h | building.h | #ifndef building_h
#define building_h
#include "baseUnitBuildings2.h"
#include "dataStructures.h"
class building : public basebuilding //all buildings, including towers, walls, castles, houses etc.
{
public:
float x;
float y;
bool selected; //whether or not the player that owns it has selected it.
//short player; ... |
ca1f7d89cfe81768c046d2269b191e6c66b5ee6c | 091d0584da946320b5e8f393aedcccc69db21662 | /src/libv/serial/types/std_deque.hpp | 9fd06390aee69779d7751d08ad27d4253f491bff | [
"Zlib"
] | permissive | cpplibv/libv | bfe3f395439d27f15d06fbe9d614b21cba34006e | cc7182ca38ecd01fe7f87dadf3577b7d5f7dfa28 | refs/heads/master | 2023-08-31T23:47:44.957226 | 2022-07-25T22:34:53 | 2022-07-26T00:14:48 | 95,343,090 | 10 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 121 | hpp | std_deque.hpp | // Project: libv.serial, File: src/libv/serial/types/std_deque.hpp
#pragma once
// ext
#include <vide/types/deque.hpp>
|
453918b7001f3e8b87036ba889dbc5dab40f3a03 | ef35fd19145c2df32466093ff51edc343e6b09a4 | /src/Model/OverWorld.cpp | 0eb27474ea4e2fc5154fb362bc14182791b34675 | [] | no_license | SockPuppet8/Alienhack | ed5d8c4bb9031f150532fdd2c7ba7912c97712a1 | b843d42641dae00eb87c283702e56429ea1a7ad2 | refs/heads/master | 2020-04-02T19:19:52.934817 | 2018-11-02T14:22:29 | 2018-11-02T14:22:29 | 154,730,646 | 4 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 60,267 | cpp | OverWorld.cpp | #include "OverWorld.hpp"
#include "AHGameModel.hpp"
#include "Objects/PlayerCharacter.hpp"
#include "Objects/Alien.hpp"
#include "Objects/Egg.hpp"
#include "Objects/Pickup.hpp"
#include "Objects/Armour.hpp"
#include "Objects/Weapon.hpp"
#include "Objects/WeaponData.hpp"
#include "Objects/Decoration.hpp"
#include "Objec... |
8d31e46ea60c2f2ee7bf076c961422bf776a4983 | 327f2b4e03a03e03a1b4e8d85084dc25d020995c | /C++(luv)/hackerearth_double_strings.cpp | 308f99fb4e2c217a2af40b5bf367c9988c608050 | [] | no_license | brijeshvp/my_CP_directory | cb3abf5dd3a9abca75c5bc4c0c36ae0d5c9ba5b3 | 53fc023b5a80c2107c5c6a6c41a471edd5654fb0 | refs/heads/main | 2023-07-01T07:25:03.810276 | 2021-08-07T06:10:55 | 2021-08-07T06:10:55 | 393,594,440 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 279 | cpp | hackerearth_double_strings.cpp | // https://www.hackerearth.com/practice/data-structures/hash-tables/basics-of-hash-tables/practice-problems/algorithm/xsquare-and-double-strings-1/
#include<bits/stdc++.h>
using namespace std;
int main(){
int t;
cin>>t;
while(t--){
string s;
cin>>s;
}
return 0;
} |
e4b18c74fe8b39de0aa6d6512dae5094239f8a3d | 590f6d59886db2a32edcb887d9868c168688536a | /Userland/Libraries/LibWeb/Layout/BlockFormattingContext.cpp | 6727d9444b0c19786a702155c77306f9cf8e96f3 | [
"BSD-2-Clause"
] | permissive | ta00000/serenity | 8b801c85645e2b36199e55f74f0c043d91aad9af | 865162b1c3a0d94b3cfa165e7f4e33f647cbb749 | refs/heads/master | 2023-08-15T08:07:14.751688 | 2021-10-11T22:20:54 | 2021-10-12T10:17:25 | 416,350,814 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 32,048 | cpp | BlockFormattingContext.cpp | /*
* Copyright (c) 2020-2021, Andreas Kling <kling@serenityos.org>
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#include <LibWeb/CSS/Length.h>
#include <LibWeb/DOM/Node.h>
#include <LibWeb/Layout/BlockContainer.h>
#include <LibWeb/Layout/BlockFormattingContext.h>
#include <LibWeb/Layout/Box.h>
#include <LibWeb/Lay... |
299050475d9b6659d39a9d8e4e919e3a6eff75c3 | b6e1ab32dd357f50588c271042ca2c3ff8949760 | /BattleTanks/HUD.cpp | 269b94b9ea925d35195641dac361ba002e6e702c | [] | no_license | DZoin/BattleTanks | 5be9e9339c50eee5c2e083144cf77d42163e0a37 | f3cb5a89efe73eb29db39c19b33b97fc1948fdd6 | refs/heads/master | 2021-01-02T09:41:14.228020 | 2018-01-21T08:24:21 | 2018-01-21T08:24:21 | 99,279,217 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,164 | cpp | HUD.cpp | #include "HUD.h"
#include "Actor.h"
#include "Canvas.h"
HUD::HUD() {}
HUD::HUD(Canvas &canvas, Player &player, Player& player2)
{
_player1 = player;
_player2 = player2;
_healthBarSprite1 = SpriteActor(canvas, "Content/Sprites/HealthBar.png", 0, 40, 64, 8, 0, 0);
_healthBarSprite2 = SpriteActor(canvas, "Content/S... |
a5759a8936f510aec5cdd07674d6b8dcfc7c0151 | c1b03b59b3974058e3dc4e3aa7a46a7ab9cc3b29 | /src/module-wx.new/generated/Class_wx_FileSystemWatcherEvent.cpp | 387b7153e292dcdae0c45b649776e271687f1d62 | [] | no_license | gura-lang/gura | 972725895c93c22e0ec87c17166df4d15bdbe338 | 03aff5e2b7fe4f761a16400ae7cc6fa7fec73a47 | refs/heads/master | 2021-01-25T08:04:38.269289 | 2020-05-09T12:42:23 | 2020-05-09T12:42:23 | 7,141,465 | 25 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,655 | cpp | Class_wx_FileSystemWatcherEvent.cpp | //----------------------------------------------------------------------------
// wxFileSystemWatcherEvent
//----------------------------------------------------------------------------
#include "stdafx.h"
Gura_BeginModuleScope(wx)
//----------------------------------------------------------------------------
// Gura... |
ebc640bf38ecbe9cb4050ea5b7e22680ffa22367 | e466b103633234ecccbb10128ca15f6ea9735f3b | /TECvsZombies/cuadricula.cpp | 7451422696b0cae5c8839b34e1065278fddd27e8 | [] | no_license | andyrrr/conjunto | 0ac353770cdd93643dd026b192e42b4ed03a56ea | 5ec0b29b4ca10c2c7b32083f2681cb87448890e1 | refs/heads/master | 2020-09-15T16:37:07.940664 | 2019-11-23T06:34:19 | 2019-11-23T06:34:19 | 223,504,805 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,957 | cpp | cuadricula.cpp | #include "cuadricula.h"
#include <iostream>
using namespace std;
/**
* Representa la cuadricula
*
* @since 30/04/19
*/
/**
* Constructor de Cuadricula.
*/
Cuadricula::Cuadricula() {
///Se genera la matriz
buildZone(ZONE_SIZE);
///Nodos inicial y final
nodoInicial = matriz[0][0];
nodoFi... |
698e0970579a696fac6f5c43a3b79473a45a0c61 | cafe4cc5e7b49b7628440bd4abe060b2b375b8d2 | /CS260/Game/GameCore/GameObject.h | 5ee78d53dd531ba0205059462060fc7110a4c434 | [] | no_license | sshedbalkar/DigiPen_Backup | 47e75d03d06f8753c34c3777f2685a1fa055b7c9 | a4bc4446e28bd997a4ad35bf53d70fa3707189ff | refs/heads/main | 2022-12-25T18:36:22.711116 | 2020-10-11T09:32:22 | 2020-10-11T09:32:22 | 303,085,254 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 572 | h | GameObject.h | #ifndef GAME_OBJECT_H
#define GAME_OBJECT_H
// Graphics
#include "Texture.h"
// Math
#include "Vector2D.h"
#include "Matrix2D.h"
class GameObject
{
public:
GameObject(void);
GameObject(std::string Name);
GameObject * target;
std::string name;
Vector2D pos;
Vector2D vel;
Vector2... |
32f48495edca9a9404f4f417a6cf13cdfa018a50 | 2260a9ea727917e57fc6eae3749db2a2eebcd42b | /support/module/xml_char_filter/xmlcharfilter.cpp | c0f22d58739229943bad899b32dffc0dde8fcb54 | [] | no_license | longwei/qt5pro | 806d0d880931e146f62d1462e1d4417d0f831513 | d0b1533b78f04d641e828535406d6e4e21641782 | refs/heads/master | 2020-04-17T19:31:58.231976 | 2015-01-06T23:44:14 | 2015-01-06T23:44:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,769 | cpp | xmlcharfilter.cpp | #include "xmlcharfilter.h"
#include <QRegularExpression>
#include <algorithm>
//returns true, if the passed character is acceptable in XML
// ( #x9 | #xA | #xD | [#x20-#xD7FF] | [#xE000-#xFFFD] | [#x10000-#x10FFFF] )
// and is not the Unicode replacement character ( #xFFFD )
static bool inXMLCharacterRange( uint ch... |
12f6744ee1ee342f8969b6f35eddce415f7a96da | d6f854470717a5be61fcb638165a3d05c97625a3 | /example.cpp | a0b3916547dc883765f565c95bfed24c89856390 | [
"Zlib"
] | permissive | Libbum/ThreadPool | 19cec299b0ac042990b0a538cb94f3d74bec425f | e44128156e9d54cecaf0d74df1095fb944dc0e85 | refs/heads/master | 2020-12-25T04:53:19.410125 | 2016-03-01T12:26:55 | 2016-03-01T12:26:55 | 52,865,552 | 0 | 0 | null | 2016-03-01T09:43:08 | 2016-03-01T09:43:07 | null | UTF-8 | C++ | false | false | 638 | cpp | example.cpp | #include <iostream>
#include <vector>
#include <chrono>
#include "ThreadPool.hpp"
int main()
{
ThreadPool<PRIORITY> pool(2);
std::vector< std::future<int> > results;
for(int i = 0; i < 11; ++i) {
results.push_back(
pool.enqueue(i, [i] {
std::cout << "hello " << i << s... |
739bfd72c1913b56316814fb34655fb0dac6532b | 638260818ef562bc3d22aa6a1de34e1c60c755a9 | /src/gainData/main.cpp | 508f8e3053018fecdbb35208c8b4e9e7d195fd6f | [] | no_license | CMon/dld | e62f6112aa59e26cf574b6de2e5a3076e8f57bf7 | 6603e572bb501afe6aa435631bf2698a3c518474 | refs/heads/master | 2021-01-01T18:28:49.300091 | 2017-03-13T22:30:24 | 2017-03-13T22:30:24 | 11,779 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,567 | cpp | main.cpp | /*
* ----------------------------------------------------------------------------
* "THE BEER-WARE LICENSE" (Revision 42):
* <simon.schaefer@koeln.de> wrote this file. As long as you retain this notice you
* can do whatever you want with this stuff. If we meet some day, and you think
* this stuff is worth it, you ... |
e25c95761e76d58117c8ea2aae0fe2a843098f94 | de42db6b7ca9da722804b9a754158d477a4550d6 | /include/RunningStatistics.h | ef931fa1e4975c4950419bdb9aa65c5886a85903 | [] | no_license | hershen/commonRootFunctions | 247a95e74d9491e23d56b28adc67c29443bbfb33 | 28d3b74e02b4d526ecfbe728a80aa86968613c3e | refs/heads/master | 2022-03-09T07:46:47.403425 | 2019-11-26T18:33:27 | 2019-11-26T18:33:27 | 104,494,016 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,248 | h | RunningStatistics.h | #pragma once
#include <cmath>
#include <iostream>
namespace myFuncs {
//-------------------------------------
// Class to calculate statistics on the run, without memory of previous values
// Ref - The art of computer programming, Knuth, Vol2, Second edition (1981), p. 216
//-------------------------------------
cla... |
1e11b4b2a558bc7b2c1e823243bda93ab4a9c06e | 23ba742dbd55d9d2cef68e624f2d23e4fd76e8a3 | /src/saiga/vulkan/imgui/ImGuiGLFWRenderer.h | a602b7750b5e3bda948e2958a6250c23005ee594 | [
"LicenseRef-scancode-unknown-license-reference",
"MIT"
] | permissive | darglein/saiga | a4026b86e7397266e5036294a6435d85657f39ee | 7617871a8ccdde58847e4f6871bd527f32652a79 | refs/heads/master | 2023-08-17T03:33:44.387706 | 2023-08-15T14:54:47 | 2023-08-15T14:54:47 | 97,219,629 | 135 | 26 | MIT | 2023-02-13T16:24:21 | 2017-07-14T09:55:50 | C++ | UTF-8 | C++ | false | false | 474 | h | ImGuiGLFWRenderer.h | /**
* Copyright (c) 2021 Darius Rückert
* Licensed under the MIT License.
* See LICENSE file for more information.
*/
/*
* UI overlay class using ImGui
*
* Copyright (C) 2017 by Sascha Willems - www.saschawillems.de
*
* This code is licensed under the MIT license (MIT) (http://opensource.org/licenses/MIT)
*/... |
f82394cfa270612ce65e6ca1df9ace6e2bef7584 | 5495609a7d91950e1d1570436acca8c0f9f60b09 | /2015/day18.cpp | a909cdaf005311578089872d0fa55d28c6109c6e | [] | no_license | Combatjuan/adventofcode | 9e70a50d6a2b0f3f097a7b301a75f1549bc311a7 | 0ef1428c562bf4b03204f3d0e5fa6cd8aa95ec9c | refs/heads/master | 2022-12-21T04:42:08.672510 | 2022-12-11T20:57:30 | 2022-12-11T20:57:30 | 47,855,742 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,256 | cpp | day18.cpp | #include <iostream>
#include <string>
#include <sstream>
#include <fstream>
using namespace std;
const int WIDTH = 100;
const int HEIGHT = 100;
const int ITERATIONS = 100;
class Grid
{
public:
Grid(int w, int h) : _width(w), _height(h) {
data = new char[w * h];
};
~Grid() {
delete data;
}
void next() {
ch... |
0a27181a13098b8bb6b8f8a393fd6beafa5be11f | bd1b4af8e1754e9fe560729970f17135cdd98b9a | /src/client/client_main.cpp | 9eedd33b31c78bc897aab60a9eadb1f2a472cf5d | [] | no_license | LLDay/TcpChat | 5d6266dafad2c2f516e3134c2bba5db3d4342044 | df43cee501f3628909f9ec2c16d15f975fa990fc | refs/heads/master | 2022-12-30T11:38:11.655820 | 2020-10-20T08:28:01 | 2020-10-20T08:28:01 | 299,712,737 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 701 | cpp | client_main.cpp | #include "client/client.h"
#include "client/name_dialog.h"
#include "setup.h"
#include "utils.h"
#include <QApplication>
#include <signal.h>
int main(int argc, char * argv[]) {
signal(SIGPIPE, SIG_IGN);
auto setup = getSetup(argc, argv, "127.0.0.1", 50000);
if (!setup.has_value())
return -1;
... |
a884e76084fceeb699a18f86adda7cf13f202993 | 57e61f69d36efca41e776bda30553221be258c79 | /src/util/containers/try.hpp | bb7d8ecbe62d50e690aa02076f081fb424db2dcd | [] | no_license | NathanSWard/GameTime | 19c304133f01daa6d23cb8f7bb87e7570391449a | de7dc28ccf19c017e5e01026a351232b6f7f8c1e | refs/heads/master | 2023-03-28T06:10:35.499180 | 2021-03-19T19:49:03 | 2021-03-19T19:49:03 | 340,489,803 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 565 | hpp | try.hpp | #pragma once
template <typename T>
struct try_ops;
#define TRY(VAR_NAME, VAL_TO_TRY) \
static_assert(std::is_rvalue_reference_v<decltype(VAL_TO_TRY)>, \
"TRY(x, y) macro requires `y` to be an rvalue reference. Consider using `std::move`"); \
if (try_ops<std::remove_cvref_t<decltype(VAL_TO_TRY)>>::shou... |
f81b9ea8a955fe9b798dff5578689549cd10d4f7 | 0e250e04293cea0986f04428028698985b0f8a8e | /lib/straight/sp/fft.cpp | c48e249bbf8a0159f526fcf25bcd13925f329910 | [
"MIT",
"CC-BY-4.0",
"CC-BY-3.0",
"LicenseRef-scancode-public-domain",
"GPL-1.0-or-later"
] | permissive | qingyundou/tacotron_qdou | ddc471117b16b71c18224c4e36b68f1580250783 | aca014e8ea73bbab617029b81368cee235f47ce2 | refs/heads/master | 2023-07-19T18:56:34.069589 | 2019-11-19T14:49:28 | 2019-11-19T14:49:28 | 198,648,348 | 2 | 1 | MIT | 2023-07-06T21:14:27 | 2019-07-24T14:09:12 | Jupyter Notebook | UTF-8 | C++ | false | false | 13,543 | cpp | fft.cpp | /*
* fft.c
* coded by H. Banno
*
* Tomoki Toda (tomoki.toda@atr.co.jp)
* From Mar. 2001 to Sep. 2003
*/
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include "defs.h"
#include "memory.h"
#include "fft.h"
#include "vector.h"
#include "voperate.h"
#include "complex.h"
#include "filter.h"
/*
... |
a97a2d42f6c9901df20ea9ee3b19add31c991e8f | 68378ddb7462a2c0cf07a7e5b0783227bfaea324 | /server-code/src/service/world_service/account/AccountManager.cpp | 657e40ef6f01adee6efd6dfed0195b7702c54e50 | [] | no_license | blockspacer/mmo-server | 7e973a9509230025373c196b3b3d0a6ca078fec4 | 9b170f9e9307ee8c2b6d191d99f7e2c35a84626c | refs/heads/master | 2022-12-07T04:18:20.870326 | 2020-08-28T02:44:05 | 2020-08-28T02:44:05 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,657 | cpp | AccountManager.cpp | #include "AccountManager.h"
#include <brpc/channel.h>
#include "Account.h"
#include "GMManager.h"
#include "MD5.h"
#include "WorldService.h"
#include "msg/world_service.pb.h"
#include "server_msg/server_side.pb.h"
const char* AUTH_URL = "https://example.com";
CAccountManager::CAccountManager() {}
CAccountManager::... |
e6376bfbddae1420f504992663ef8375fa547352 | 9a38657463f6199a2b6e3788180fbc28a0f8cdbf | /include/Yasp/Rendering/RenderContextD3D.h | f8083877662160e267be9cc6e9c44c9f8142ebe9 | [] | no_license | JimNilsson/Yasp | 388c1e0e01f7245c1a3125bdf7637f1fb7c4b9b9 | 413c409a78489eb651676f67c83f998dfd2200dd | refs/heads/master | 2022-02-08T20:19:45.868399 | 2022-01-09T16:10:16 | 2022-01-09T16:10:16 | 202,814,319 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,406 | h | RenderContextD3D.h | #ifndef YASP_RENDER_CONTEXT_D3D_H
#define YASP_RENDER_CONTEXT_D3D_H
#include <Yasp/Config.h>
#include <Yasp/Rendering/IRenderContext.h>
#include <Yasp/Rendering/Descriptions.h>
#include <d3d11.h>
namespace yasp
{
class RenderContextD3D : public IRenderContext
{
public:
RenderContextD3D(void* windowHandle);
~Re... |
55fae5e6673e0dba3a7de86ed7addd6eda1677d2 | 06681bca998dae0aa57bd761a5788542e7b1c821 | /p11879 - Multiple of 17/p11879 - Multiple of 17.cpp | e5da840913b57f13246a4859fb8a71f0e0e24a08 | [] | no_license | sarafinmahtab/Solved-UVA-Problems | 11f89aaf6f2e44922c9f9d0457d224d191db1066 | 0d5b59363d0c4537c2a142ef6ec40f4b43afbc81 | refs/heads/master | 2021-10-22T11:43:12.200718 | 2019-03-10T14:33:11 | 2019-03-10T14:33:11 | 111,911,644 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 541 | cpp | p11879 - Multiple of 17.cpp | #include<cstdio>
#include<cstring>
#include<iostream>
using namespace std;
int main()
{
int i, len, k;
char num[1000];
while(gets(num))
{
if(num[0] == '0')
{
break;
}
len = strlen(num);
k = num[0] - '0';
for(i = 1; i < len; i++)
{
... |
a096c056f47794189fe4b8c5f4fc81643a57ac14 | d2249116413e870d8bf6cd133ae135bc52021208 | /SemiTransparentDialogWithStandardCtrls/SemiTransparentDialogWithStandardCtrls/SemiTransparentDialogWithStandardCtrlsDlg.h | da23d07e85a443445c0390b7d34e19697b22bc3c | [] | no_license | Unknow-man/mfc-4 | ecbdd79cc1836767ab4b4ca72734bc4fe9f5a0b5 | b58abf9eb4c6d90ef01b9f1203b174471293dfba | refs/heads/master | 2023-02-17T18:22:09.276673 | 2021-01-20T07:46:14 | 2021-01-20T07:46:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 895 | h | SemiTransparentDialogWithStandardCtrlsDlg.h |
// SemiTransparentDialogWithStandardCtrlsDlg.h : header file
//
#pragma once
#include "afxwin.h"
#include "afxcmn.h"
#include "afxdtctl.h"
#include "./Src/ImgDialogBase.h"
// CSemiTransparentDialogWithStandardCtrlsDlg dialog
class CSemiTransparentDialogWithStandardCtrlsDlg : public CImgDialogBase
{
//... |
6b97dc2793d0541a3fa234a91952927a7ea512f9 | 3d9a84f8cf3db943caa21f8c1d089c2b4e57e6f6 | /UI/AdsrControls.cpp | 866ec34cad7b6ce52f4a53449c87dfaef2ef7cb5 | [] | no_license | malcolmm89/SynthProject | 910c7e411cefd9f2c83882f9c04d0c6f4afca469 | ffc62d0cfd854b0e75be09c08191d67787ec45c7 | refs/heads/main | 2023-04-29T23:41:30.011731 | 2021-05-04T23:43:10 | 2021-05-04T23:43:10 | 337,579,389 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,169 | cpp | AdsrControls.cpp | /*
==============================================================================
AdsrControls.cpp
Created: 21 Feb 2021 9:19:36pm
Author: malco
==============================================================================
*/
#include <JuceHeader.h>
#include "AdsrControls.h"
//=====================... |
df7f4a845dfbf7e0aaa7a1896640db85a4b3b794 | 24a0c4835a70f852c2a5c0f1890afeedd6573e19 | /chre/host/hal_generic/V1_0/generic_context_hub_v1_0.h | 54c6264e5cbf261a4b852a82a0e46b618aa4329a | [
"BSD-3-Clause",
"Apache-2.0"
] | permissive | jiangshide/android-system | cbe903883b4334be718f98b47910640515f1190e | ef92d4e47f51e84d2e7ed3affbeadabeafde2cd2 | refs/heads/main | 2023-06-09T01:52:12.061540 | 2021-06-21T03:00:05 | 2021-06-21T03:00:05 | 378,790,086 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,416 | h | generic_context_hub_v1_0.h | /*
* Copyright (C) 2017 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... |
d28aabb9493e9371a0294058dec9c8ac35817df7 | c3288875d0106ad9f2bf1fa3df343df0268b68a6 | /BerEditor/key_derive_dlg.cpp | 4e970380897a9d9af4a695c8e5a189100db29fbf | [] | no_license | ALEHACKsp/BerEditor | 20189382a89bbd409dd3e2eabb95712d7798667a | 206fcb18e9e4dbc338cf36f0ec81dca6335cf4ac | refs/heads/master | 2023-04-10T04:05:11.393350 | 2021-04-22T09:54:13 | 2021-04-22T09:54:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,876 | cpp | key_derive_dlg.cpp | #include "key_derive_dlg.h"
#include "ber_applet.h"
#include "common.h"
#include "js_pki.h"
static QStringList dataTypes = {
"String",
"Hex",
"Base64"
};
static QStringList hashTypes = {
"md5",
"sha1",
"sha224",
"sha256",
"sha384",
"sha512"
};
KeyDeriveDlg::KeyDeriveDlg(QWidget *... |
2c5bb563ac64813327ee85226323791c4c8c03cd | 87181f6f4fad14ca81385e9a1489f5a9410b3cdb | /SplayTree.h | 21918b1376bf010f466d0e0128e81b2145d6d7ec | [] | no_license | Saharco/Colosseum1 | c641f39c3212809b1662b06cf811bd6149a0dbc6 | 942110268131cd98a76efd6c211f81e4f7c9fb7f | refs/heads/master | 2020-05-20T13:15:03.911136 | 2019-05-08T11:33:28 | 2019-05-08T11:33:28 | 185,593,229 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,698 | h | SplayTree.h | //
// Created by Yuval on 01/12/2017.
//
#ifndef COLOSSEUM_SPLAYTREE_H
#define COLOSSEUM_SPLAYTREE_H
#include <cstdio>
#include <exception>
#include "Exceptions.h"
/*
* Classes for Exceptions:
*/
class ElementAlreadyExists : public failureException {
};
class ElementDoesntExist : public failureException {
};
/*
*... |
dbbff6a9dcea32b67515c3e672fb68ccb136f502 | aaeda5a34c75c9d9414aebe2d28360a9bbf803f5 | /gene/threshgene.h | b6f8dbe9ff8fc50191724c9a749a26361a5389b0 | [] | no_license | dpietruchowski/MEPVision | 598e4cb77acd310a8a8ea0feadc8b8b2d5ec58ac | 10da2952735ce898ce3afac226b6938b6ed467e3 | refs/heads/master | 2020-03-29T21:57:45.669698 | 2016-08-12T12:08:14 | 2016-08-12T12:08:14 | 62,752,434 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,304 | h | threshgene.h | #ifndef THRESHGENE_H
#define THRESHGENE_H
#include "gene.h"
struct ThreshParameters
{
static ThreshParameters getRandom();
int threshValue;
int threshType; //max 4
ThreshParameters(int value, int type):
threshValue(value), threshType(type) {}
ThreshParameters(const std::string& param)
... |
79f9f3f4cdfabd8d99e2ff38975579ed64b5b51d | dc6aff828a87f96358e97b87331917ff20dc3243 | /Entity/Characters/Creatures/Creature.cpp | 254d18f1df65004020d9a37102a9c4dd5a2534d0 | [] | no_license | pelluro/CppRush00 | 88c4aea65aadcfc3d3bb94ad104342b94579668c | a7ccf1b4e59cd73fbdb7842e552618cd740bed79 | refs/heads/master | 2020-05-27T03:43:44.898555 | 2019-05-28T13:15:03 | 2019-05-28T13:15:03 | 188,469,349 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,105 | cpp | Creature.cpp | #include "Creature.hpp"
#include "../../../Constants.hpp"
#include <ncurses.h>
Creature::Creature( void ):
Character('@', "creature", 1, NULL)
{
this->_x = WIDTH / 2;
this->_oldX = WIDTH / 2;
this->_y = 0;
this->_oldY = 0;
this->_speed = 1;
this->_direction = PLUS_Y;
}
Creature::Creature( char type, std::strin... |
9ee727c8d2afbf92ee6f6945f24bae2b4418fa8b | 955129b4b7bcb4264be57cedc0c8898aeccae1ca | /python/mof/cpp/req_moneytreestate.h | c9b1ca4fd1efbe4be1c7629771414d9fde54d117 | [] | no_license | PenpenLi/Demos | cf270b92c7cbd1e5db204f5915a4365a08d65c44 | ec90ebea62861850c087f32944786657bd4bf3c2 | refs/heads/master | 2022-03-27T07:33:10.945741 | 2019-12-12T08:19:15 | 2019-12-12T08:19:15 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 274 | h | req_moneytreestate.h | #ifndef MOF_REQ_MONEYTREESTATE_H
#define MOF_REQ_MONEYTREESTATE_H
class req_moneytreestate{
public:
void decode(ByteArray &);
void PacketName(void);
void ~req_moneytreestate();
void req_moneytreestate(void);
void build(ByteArray &);
void encode(ByteArray &);
}
#endif |
4509fb3ba119db5fbb4c77a81322b148f0329662 | b6832cccb00d73c0e9b1754a4bd1c46af87a410b | /N_Body_Simulator/Main.cpp | b25975d18df78fd3a5268373d9f81b46e9825123 | [] | no_license | RUSLoker/N_Body_Simulator | fbd99f616fee58b735b164a88b80b8cb8144357f | e70a312ca374a6c62e991880bd66767239df0e7b | refs/heads/master | 2023-06-09T11:36:21.517642 | 2021-05-10T16:02:59 | 2021-05-10T16:02:59 | 363,249,170 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,060 | cpp | Main.cpp | #include <SFML/Graphics.hpp>
#include <chrono>
#include <ctime>
#include <thread>
#include <iomanip>
#include <fstream>
#include "BH_tree.cpp"
#include "omp.h"
#include "constants.h"
#include "Config.h"
#include "Simulation.cpp"
using namespace sf;
using namespace std;
bool drawBH = false;
volatile double fps = 0;
... |
7cce4307543e1d1dc82f0fd3c7f220497083f3f3 | ff4fe1b5051c983693a529c493fe25b7ad7770dc | /treeMaker/makeTree.cc | 8ab42a3687cbb6532e146bd62fd42e73779269c0 | [] | no_license | iselyuzh/HADES | ba699f6b827406a8681f3bcb269bad168c12ca6e | cea82b822320781220371e22c07db7a95635652a | refs/heads/master | 2021-08-26T03:52:06.769397 | 2017-11-21T14:08:04 | 2017-11-21T14:08:04 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 27,049 | cc | makeTree.cc | //Alexander Zaytsev
//a.zaytsev@gsi.de
//October 2016
#include "hades.h"
#include "hloop.h"
#include "htime.h"
#include "hcategory.h"
#include "hcategorymanager.h"
#include "hparticlecand.h"
#include "hparticletracksorter.h"
#include "hparticlebooker.h"
#include "hparticletool.h"
#include "hparticledef.h"
#include "hp... |
455fc14b89de3875ee49335e1fcfbab410bc2c02 | 6f977d2a16d4b09ad17c3703f345cd8361c76c55 | /Transform.h | 3bdec7e4a9b8d71ec3c114c6bc933a1684d6df9c | [
"Unlicense"
] | permissive | mariokonrad/asteroid-flight | c7b47706aea311a7592d6071c25eb01bcfbee8a7 | 8af5776691716d93cb4499a7b8bc116afe8bee94 | refs/heads/master | 2020-09-24T13:16:04.611560 | 2013-07-18T21:40:05 | 2013-07-18T21:40:05 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 180 | h | Transform.h | #ifndef __TRANSFORM_H__
#define __TRANSFORM_H__
#include "Vector3.h"
class Transform
{
public:
static Vector3 & rot(Vector3 *, const Vector3 &, float);
};
#endif
|
1b931bcbce447d202f48dd8be50094ace05f4524 | 5088e5a4300b0f98fca34b95f562c261722aee4e | /5_BitManipulation/Union.cpp | 083942f981d3a19c7c8bdf6cb46a79a2912ef580 | [] | no_license | tsaiJN/CodingInterview | f5414efe35c640931aed118e4d3b54551d00b57e | 389d8c1ebad84e30ab8d375cd17d2271b66c8d22 | refs/heads/master | 2021-01-12T09:40:32.054269 | 2016-12-23T07:07:04 | 2016-12-23T07:07:04 | 76,228,659 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 586 | cpp | Union.cpp | #include<iostream>
#include<inttypes.h>
using namespace std;
// the variables in union will share a same memory space
union udouble {
double d;
uint64_t u;
}; // double is 64-bit wide
union ufloat {
float f;
uint32_t u;
}; // float is 32-bit wide
int main() {
udouble checkDouble;
checkDouble.... |
dc309d099b48fdceaf15d4378053e8df97d75bdc | ba2b9857a08307764e39df9b8c95bc80190040db | /C++_ZL/chapter5_dataSP/staticMember.cpp | b6667545fbdee0185bc8d1dd9bd8aae41b377ce3 | [] | no_license | wizofe/C_Learning | b33afb35fd0dc8cf767e1b65df59e04c3358b17d | a192d45ea4400115a0470f5f96cf27404d6131d5 | refs/heads/master | 2023-03-17T15:01:51.552177 | 2021-01-24T22:36:24 | 2021-01-24T22:36:24 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,044 | cpp | staticMember.cpp | /*static member of class*/
#include<iostream>
using namespace std;
class Point
{
private:
int x, y;
static int count; //static member, for revording the number of points
public:
Point(int x=0, int y=0): x(x), y(y) //constructor
{
//accumulation of count
count++;
}
Point(Point &... |
10c6f1b890865bb08fc573b8872151f9f35d7202 | 5d6c59994055837198842571b5686421e67344e8 | /src/reader.h | 89e83e20ff619598b83eddceb204fd84b73b3cf5 | [
"BSD-3-Clause"
] | permissive | NickNaso/hiredis-node | 0868277072a9b0d774fdd68ce36e37bf94f3116e | 2acc6b14fb394984ba5716edbd43912dc7bf1ab7 | refs/heads/master | 2021-09-14T07:28:58.805255 | 2018-04-04T23:45:20 | 2018-04-04T23:45:20 | 107,608,498 | 1 | 0 | null | 2017-10-19T23:17:39 | 2017-10-19T23:17:39 | null | UTF-8 | C++ | false | false | 1,636 | h | reader.h | #include <napi.h>
#include <hiredis/read.h>
namespace hiredis {
class Reader : public Napi::ObjectWrap<Reader> {
public:
explicit Reader(const Napi::CallbackInfo& info);
~Reader();
static Napi::Object Initialize(Napi::Env env, Napi::Object exports);
void Feed(const Napi::Callb... |
142a52f86595b6f37ad1bb32119ccf419b2911e4 | a4527a5510628a49ecf3ce89461d9d89aa7de2ad | /SPOJ/TRICOUNT.cpp | b1fa3b768ac86d368f1f1b8cee490d84ea7938a7 | [
"MIT"
] | permissive | ujjwalgulecha/Coding | 66ecc42bdb632619b3811e312bc9564edbfb1b84 | d04c19d8f673749a00c85cd5e8935960fb7e8b16 | refs/heads/master | 2020-12-24T13:17:11.907400 | 2017-02-05T21:57:43 | 2017-02-05T21:57:43 | 32,799,802 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 586 | cpp | TRICOUNT.cpp | <<<<<<< HEAD
#include<iostream>
#include<math.h>
#include<stdint.h>
using namespace std;
int main()
{
int t;
cin>>t;
uint64_t n,res;
while(t--)
{
cin>>n;
floor(res=(n*(n+2)*((2*n)+1))/8);
cout<<res<<endl;
}
return 0;
}
=======
#include<iostream>
#include<math.h>
#incl... |
1fc64ac886e4825c85f83761d9b7078c6fb5e238 | 26fc860323fa891978ba3172aea95a700acb25f7 | /Game Project/TheRescue/TheRescue/source/AnimationManager.cpp | b7e2836bcde2781fe820118ffaa7a697fe50edb5 | [] | no_license | mudball2/unfinishedexperiments | 17d68180afb095bea786bba893db5768f349552f | ad26ff9b6ee62d5983673231953a5ba382667fa1 | refs/heads/master | 2021-01-19T12:54:55.741841 | 2019-04-25T13:44:44 | 2019-04-25T13:44:44 | 82,349,104 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,553 | cpp | AnimationManager.cpp | /*
File: AnimationManager.cpp
Author: Gabriel Islas
Class: SGP
Purpose: Serves as the manager of the several animations at once by updating, setting and loading them.
*/
#include "AnimationManager.h"
#include "Frame.h"
#include "AnimInfo.h"
//#include "stdafx.h"
////////////////////////////////////////... |
346241b65123867e9d1f535d37d09cb42a2c293f | c9d0890214a4226d189b391ee38650c7f4f53e32 | /gzcom-dll/include/cISC4LotDeveloper.h | b2b202d86bad6db75deba18e65ef02987d80898d | [
"MIT"
] | permissive | caspervg/gzcom-dll | bd980db53da968b80fa87e3427b3dafa6c7c4e18 | 58662321b12d8db2f82421902d6048390a90c365 | refs/heads/master | 2020-07-21T08:39:55.476761 | 2019-09-07T06:32:08 | 2019-09-07T06:32:08 | 206,800,259 | 0 | 0 | MIT | 2019-09-06T13:31:06 | 2019-09-06T13:31:06 | null | UTF-8 | C++ | false | false | 4,999 | h | cISC4LotDeveloper.h | #pragma once
#include "cIGZUnknown.h"
#include "SC4Rect.h"
class cISC4BuildingOccupant;
class cISC4BusinessUnit;
class cISC4Lot;
class cISC4LotBaseTextureOccupant;
class cISC4LotConfiguration;
class cISC4LotConfigurationObject;
class cISC4Occupant;
class cISC4LotDeveloper : public cIGZUnknown
{
public:
class Bound... |
45722dfaeb7cf3036256f203d3d711e1fe5a8328 | d5f4f2e52a30d1eaaf6024c62731e977450b6246 | /Code/Server/http/http.h | 4101456cd13eb57e0ca6de306189a7fe94b19d3e | [] | no_license | JarrenLong/TheOS | 6bee68e080d3c4c7733e8d60c0247020d107adc3 | f238a19fd50b62100184f44ecd2a3b28c50c4ea3 | refs/heads/master | 2023-06-22T08:38:43.318136 | 2014-12-26T05:18:22 | 2014-12-26T05:18:22 | 324,447,435 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 631 | h | http.h | #ifndef HTTP_H
#define HTTP_H
#include <vector>
#include "../IPlugin.h"
#include "CRequest.h"
#include "CResponse.h"
//Port 80 HTTP Protocol
class Http : public IPlugin {
public:
Code Process(std::string data); //Get/set the command flag, handle command
protected:
//Housekeeping
bool Clean(std::string dat... |
e160a471199afab13a4430608feb886a70752c72 | 28c04a0d43891059216a9f8e55fd8ae48a386903 | /code/inheri.cpp | 61d91ead2bcb07e3b262b27469c9f4f9d897ea53 | [] | no_license | stfuanu/cpp | a97508631de08c5f3daeffa851711f4a9839b13a | 774858399e5fb49d779c3b90c0cc061cef16133b | refs/heads/master | 2023-03-23T03:40:07.451518 | 2021-03-18T05:28:17 | 2021-03-18T05:28:17 | 330,319,062 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 744 | cpp | inheri.cpp | #include<iostream>
using namespace std;
class A
{
public:
int x;
void first()
{
cout << "\nEnter First Number : ";
cin >> x;
}
};
class B
{
public:
int x;
void second()
{
cout << "\nEnter Second Number : ";
cin >> x;
}
};
class C : public A, publ... |
0f4f63e9ff1b396c8b5f3b7d94b98bd005f1c796 | adac60a7d0c18210ea33481f36edd7cf3eb5fc55 | /[教程] [本人] Counterstrike Global Offensive/N.CSGO外部武器换肤/main.cpp | 654430f1de70952d916278cdbe6a3609e6bf13ba | [
"MIT"
] | permissive | yyltwin/How-to-create-a-csgo-cheating-program | 8356e411db5326168ab31b5aefd06d457df7ce91 | 46973acf6a871429a2df2720ac7dbd1ca9270f85 | refs/heads/master | 2022-11-27T17:44:29.202131 | 2020-08-03T05:49:44 | 2020-08-03T05:49:44 | 278,087,713 | 1 | 0 | MIT | 2020-08-03T05:49:46 | 2020-07-08T12:48:48 | null | GB18030 | C++ | false | false | 7,881 | cpp | main.cpp | #include "main.h"
#include <iosfwd>
/*
2020.06.22
csgo换刀换肤程序
*/
unsigned long g_pid = 0;
unsigned long g_client = 0;
unsigned long g_engine = 0;
unsigned long dwClientState = 0;
unsigned long dwLocalPlayer = 0;
unsigned long dwEntityList = 0;
unsigned long m_hViewModel = 0;
unsigned long m_iViewModelIndex = 0;
unsig... |
9ff96bbfddd446fb3be98c8f1dd2455aa75e3c6c | aca519f9f34147bae81a537b097334745b273064 | /inc/deform/openmesh_adapter.h | afbaa9a802c9de89bb0631e9c3098c5287b104f8 | [] | no_license | cheind/mesh-deform | 80fd15dca54f69753b807e88b3af72b6df49dc8a | 4100b7037498c17ec14fa5ae300e53a96b41b911 | refs/heads/master | 2022-05-05T07:15:20.656010 | 2022-04-16T18:24:15 | 2022-04-16T18:24:15 | 57,321,865 | 80 | 18 | null | null | null | null | UTF-8 | C++ | false | false | 3,275 | h | openmesh_adapter.h | /**
This file is part of mesh-deform.
Copyright(C) 2016 Christoph Heindl
All rights reserved.
This software may be modified and distributed under the terms
of the BSD license.See the LICENSE file for details.
*/
#ifndef DEFORM_OPENMESH_ADAPTER_H
#define DEFORM_OPENMESH_ADAPTER_H
#ifndef _USE_MATH_DEFINES
... |
fd6a9b86ea54699c9031936f21248bea40784fd0 | 0fc986eaac34e48eeb1561030a152ba14d2f3390 | /software/libtp12/include/tcpman.h | ebc5c03cf5a84b1f8438b34e86a626e2144c094a | [] | no_license | yongaru/cflora | bf0e1bcc5f96e81c98f692387b27dda3d1830903 | f098c998128ac5230296ca11ca1b742ffa464043 | refs/heads/master | 2020-03-11T10:17:26.410435 | 2017-01-16T07:50:44 | 2017-01-16T07:50:44 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 944 | h | tcpman.h |
#include <stdio.h>
#include <unistd.h>
#include <string.h>
#include <arpa/inet.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <pthread.h>
#include <netdb.h>
#include "common.h"
#define BUF_SIZE 128
#define MAX_CLNT 256
#ifndef __TCPMANAGER__
#define __TCPMANAGER__
class tcpmanager
{
private :
i... |
236086daf92e6ac6287fd02135726380a887ac68 | 11a246743073e9d2cb550f9144f59b95afebf195 | /codeforces/545/c.cpp | 8edd93353d919d4069da94ff0c3862c61c469aaa | [] | no_license | ankitpriyarup/online-judge | b5b779c26439369cedc05c045af5511cbc3c980f | 8a00ec141142c129bfa13a68dbf704091eae9588 | refs/heads/master | 2020-09-05T02:46:56.377213 | 2019-10-27T20:12:25 | 2019-10-27T20:12:25 | 219,959,932 | 0 | 1 | null | 2019-11-06T09:30:58 | 2019-11-06T09:30:57 | null | UTF-8 | C++ | false | false | 1,001 | cpp | c.cpp | #include <cstdio>
#include <algorithm>
using namespace std;
constexpr int MAXN = 100005;
int n;
int x[MAXN];
int h[MAXN];
// dp[i][flag] = max number we can fall if the last one falls flag way
// 0 - fall left, 1 - stay up, 2 - fall right
int dp[MAXN][3];
int main() {
scanf("%d", &n);
for (int i = 0; i < n; ... |
117738c0675e9a401b053da5f8049d87f5b5c247 | efc0d6b521aa7c6605a2827311214b79a7efb8ec | /210_Indychko_task2/Queue.h | 6a24a6e4458a6d4f33b1a34a42bcdea46809f067 | [] | no_license | luseno4ek/task2-3_4sem_cmc | bfe32ad697a0bd5b49b8b7f534efa045bc7dcd0d | 7f832b5287ba0fd63d80c5109c92bdeb6f3708ce | refs/heads/main | 2023-03-29T16:51:54.180949 | 2021-03-14T10:51:41 | 2021-03-14T10:51:41 | 351,848,063 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 717 | h | Queue.h | #ifndef QUEUE_h
#define QUEUE_h
#include <iostream>
struct ClientInfo {
char* surname;
int time;
ClientInfo(const char* _surname, int _time = 0);
ClientInfo(const ClientInfo& _client);
~ClientInfo();
friend std::ostream& operator <<(std::ostream& out, const ClientInfo& arg);
};
template <type... |
404ff29755b09b5fdab7b9de64f3ea7fb083a6a5 | ce7a67334e51fbfbecc46a04300de04695506d7e | /Sources/Internal/Render/Material/NMaterialNames.h | b7c0e2c9e3564f72a569429c961ae2cc9a513080 | [] | no_license | dava-bot/dava.framework | 2b2cd60d419fe3948a48da2ae43142ff24016ee2 | 295c279990b7302be8e7f91eb0899399c118b825 | refs/heads/development | 2020-12-24T19:18:09.877267 | 2015-03-13T15:07:03 | 2015-03-13T15:07:03 | 32,009,964 | 4 | 0 | null | 2015-03-11T09:48:13 | 2015-03-11T09:48:12 | null | UTF-8 | C++ | false | false | 3,585 | h | NMaterialNames.h | /*==================================================================================
Copyright (c) 2008, binaryzebra
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributio... |
e357157aa613d2e252266b094e98d67150f340ac | 69c559b48892683c86b6249bc525276756e27de6 | /Validation.hpp | 93e0d4da0aa293058b43a2fc6efde62cc7a3210f | [] | no_license | Miwoli/WSTI-VideoRental-Project | b2288dde28fd73b93915697cc32f7a3f1ced3f48 | 5b915ea026543a62b14c379a95c89ae2d97adc33 | refs/heads/master | 2023-02-25T03:17:22.743584 | 2021-01-31T13:40:32 | 2021-01-31T13:40:32 | 324,586,285 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 324 | hpp | Validation.hpp | #pragma once
#include "Movie.hpp"
#include "User.hpp"
#include "Movie.hpp"
#include "DB.hpp"
class Validation {
public:
static bool isMovieRent(Movie);
static bool isLoginUsed(std::string);
static bool isMovieNameUsed(std::string);
static bool isDecimallBetween(double value, double lowerRange, double upperRange);
... |
e9a65e490fa1f5be33aaf96f6d2733b7f3cedba1 | 1c8ed2331707b7bbabc8d1bee56be9f0a4fe1fad | /opengl/gl_object.cpp | 6b84f0b733138be78627c18730cafc3da3137ea8 | [] | no_license | mandyedi/raytracing-thesis | 2f72ee2b74e29ff1073711a07b2e8b8a21dad30c | 7169f918d1f91f6627434482ceddaa42ad5e5e3a | refs/heads/master | 2021-06-09T16:06:01.183400 | 2021-04-22T19:46:24 | 2021-04-22T19:46:24 | 168,833,848 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,853 | cpp | gl_object.cpp | #include <QDebug>
#include <QVector3D>
#include "gl_object.h"
#include "3rd_party/tiny_obj_loader.h"
GLObject::GLObject()
: VertexBuffer( QGLBuffer::VertexBuffer )
, Vertices( nullptr )
, NumberOfVertices( 0 )
{
}
GLObject::~GLObject(){}
void GLObject::release(){}
void GLObject::init( std::string &objFileName )
... |
05188cacce03256ef307ebf774e8808f31338c9f | 74030bc8c1fb673eb3f2b960e09f4f631f52c83c | /quicksort.cpp | fb44d654d561e63268004254da18169fd5afe6e1 | [] | no_license | jasfin/CPP-Programming | 607df9501581459c6f3e93e61ed2e1d1df6dd9e1 | 1930ddcb3b097af4bf2bfe1a470f598776e5e407 | refs/heads/master | 2020-06-08T17:17:37.706236 | 2019-06-22T19:31:09 | 2019-06-22T19:31:09 | 193,271,009 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 745 | cpp | quicksort.cpp | #include<bits/stdc++.h>
using namespace std;
void quicksort(int *a,int first,int last)
{
if(first>=last)
return;
int left=first,right=last,pivot=a[first];
while(left!=right)
if(pivot==a[left])
{
if(a[right]<pivot)
{
swap(a[right],a[left]);
left++;
}
else
right-... |
b6b65d7e577ae784207e1a9c8cd9ffb5287dcc11 | 457843ef5cb43ec84917583f603e0171e886e7ec | /FXOS8700.cpp | 9021b180b2edf3d3ab2f7e624d9f55ec36b2f16f | [] | no_license | PaulStoffregen/Magnetometers_Test | 0fe6e7711e2dc79e8530ee230f02c60b410f0291 | efd6a4f49c7d8221315ffeb888fe675057ca3dee | refs/heads/master | 2016-08-12T15:05:07.207367 | 2016-01-28T14:24:13 | 2016-01-28T14:24:13 | 50,587,366 | 2 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 3,725 | cpp | FXOS8700.cpp | #include "FXOS8700.h"
#include <Wire.h>
#define FXOS8700_I2C_ADDR 0x1E // SA1 = Gnd, SA0 = Gnd
//#define FXOS8700_I2C_ADDR 0x1D // SA1 = Gnd, SA0 = Vcc
//#define FXOS8700_I2C_ADDR 0x1C // SA1 = Vcc, SA0 = Gnd
//#define FXOS8700_I2C_ADDR 0x1F // SA1 = Vcc, SA0 = Vcc
#define FXOS8700_WH... |
39724dc525ea428d2915e7515ac60c090b4617c5 | a8b32299f194b3eb48b6268a704d108ee8afff21 | /include/DetectorConstruction.hh | 427ca5261436c133ac81a120a360ef4a6ae2f11a | [] | no_license | EgorStadnichuk/antidwyer_geant4 | b67c035c0051e7d9bb39a1baf85e61b8cd91c19c | 64b0ea21a99072af2e8a9b7f2011cfecf0703f79 | refs/heads/main | 2023-07-31T04:25:39.983342 | 2021-09-20T20:50:02 | 2021-09-20T20:50:02 | 408,596,775 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 597 | hh | DetectorConstruction.hh | //
// Created by mihail on 24.05.17.
//
#ifndef GEANT4_DETECTORCONSTRUCTION_HH
#define GEANT4_DETECTORCONSTRUCTION_HH
#include "G4VUserDetectorConstruction.hh"
#include "G4GDMLParser.hh"
#include <string>
using namespace std;
class G4VPhysicalVolume;
class G4LogicalVolume;
class G4Material;
class DetectorConstru... |
2eaa39f47237f22bd47279ac22af7a16848c63d7 | 07e793fd2ef3de2093089aee779b0402d94dbcc2 | /brickmaster/Classes/models/BrickItem.cpp | debce1efce1b3a9cf3b34be95791866fdbc5a02b | [] | no_license | hyo6191110/brick | c6e87979a5cad35229d84cdf0ea316d808227d95 | 35530ce290af8fbe2099afe280a6ef59f631bd23 | refs/heads/master | 2020-05-15T17:45:39.927356 | 2019-06-14T09:13:50 | 2019-06-14T09:13:50 | 182,410,087 | 6 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 186 | cpp | BrickItem.cpp | #include "BrickItem.h"
USING_NS_CC;
const int BrickItem::Max_ItemTypes = (int)(Points)+1;
void BrickItem::initWithData(float x, float y)
{
this->setPosition(x, y);
this->setTag(5);
} |
1e8e78ff5ed64fa16e503eab44baf54a07c14734 | 696ea2a7febaf75a03b296c1c35376cc9e36b269 | /openscenario/openscenario_interpreter/src/syntax/open_scenario.cpp | b626e9aaef9b393dc7b4c08858a276e1075dd4f2 | [
"Apache-2.0"
] | permissive | kmiya/scenario_simulator_v2 | 2c260787af6b7493f556d00e7e3cb641099bde71 | 13635e661cc643c783853d1b4c060d1e3dff3458 | refs/heads/master | 2023-06-11T20:45:51.934634 | 2021-07-02T06:05:39 | 2021-07-02T06:05:39 | 382,219,805 | 0 | 0 | Apache-2.0 | 2021-07-21T13:25:10 | 2021-07-02T03:29:15 | C++ | UTF-8 | C++ | false | false | 1,757 | cpp | open_scenario.cpp | // Copyright 2015-2021 Tier IV, Inc. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by app... |
1cbb21a002f8ed69f618b471f90e47957f110e24 | d550216adb6f13f99f1a9f5056d8c20b130abd41 | /include/gpgpu.h | fb12da50996d2db064e389563313d89f46c24ade | [
"MIT"
] | permissive | hdd2tb/Warshall-Floyd-Algorithm-with-CUDA | 8ea2cf78027bcff66e902a2709f8cb346c581796 | a1f3a2309d77287cd8bd1f8031525a21733089e5 | refs/heads/master | 2016-08-11T00:47:27.195966 | 2016-02-01T14:28:10 | 2016-02-01T14:28:10 | 50,837,782 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 907 | h | gpgpu.h | /*
Header file to implement Warshall-Floyd algorithm
Warshall-Floyd法を実装するためのヘッダファイル
*/
#ifndef GPGPU_H
#define GPGPU_H
#include <iostream>
#include <algorithm>
#include <thrust\host_vector.h>
#include <thrust\device_vector.h>
#define INF 200000000
using namespace std;
void executeDummy(){
int *dummy;
cudaMal... |
c77a3d1237ef663d79b82fc9f6de60cda0589c5a | 22bb84f4ba051dcc8ab742d3567f1e135f80c8d5 | /puddle/rendering/texture.h | d4eb771f5012847709b0b89a698bc72361d92c43 | [] | no_license | weslo/puddle | 5c632308ce00d31831bf1600c5726c128e77b9d9 | 4ab6940ac9d9f22488459f67712e66ebdab8c8bb | refs/heads/master | 2021-04-28T03:15:57.053673 | 2018-03-09T16:15:36 | 2018-03-09T16:15:36 | 122,133,483 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 232 | h | texture.h | #ifndef PUDDLE_TEXTURE_H_
#define PUDDLE_TEXTURE_H_
namespace puddle {
class Texture {
public:
Texture(const char* img_path);
~Texture();
private:
unsigned int texture_id_;
int width_;
int height_;
};
}
#endif
|
99629feaa8cf83f7a606d4262eeff2d878737ae2 | bcf138c82fcba9acc7d7ce4d3a92618b06ebe7c7 | /gta5/0x8EB2F69076AF7053.cpp | e8eea7253866f192169273a4085df9a5f730e833 | [] | no_license | DeepWolf413/additional-native-data | aded47e042f0feb30057e753910e0884c44121a0 | e015b2500b52065252ffbe3c53865fe3cdd3e06c | refs/heads/main | 2023-07-10T00:19:54.416083 | 2021-08-12T16:00:12 | 2021-08-12T16:00:12 | 395,340,507 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 613 | cpp | 0x8EB2F69076AF7053.cpp | // player_scene_t_insult.ysc @ L7452
void func_58()
{
int iVar0;
iVar0 = 0;
while (iVar0 < iLocal_243)
{
if (iLocal_243[iVar0] != 0)
{
STREAMING::SET_MODEL_AS_NO_LONGER_NEEDED(iLocal_243[iVar0]);
}
iVar0++;
}
iVar0 = 0;
while (iVar0 < iLocal_256)
{
if (iLocal_256[iVar0] != 0... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.