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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1f6320c193052c2c189e14986ca0ec795d291b97 | 5113c639dbdff970740dd82f7fcf31cbcf8484b8 | /Amazoom (Anushka Trial)/web_server.cpp | b0334edab06d1269b3988a4fe80529f8babeb938 | [] | no_license | SunnyChahal/Automated-Warehouse | 8b35773f45802499c305da2537643d72d69df4ea | bbb6e272bf369f5b5e505fdbb771d51288a2d5d0 | refs/heads/master | 2021-04-06T16:50:27.626638 | 2018-10-13T23:49:04 | 2018-10-13T23:49:04 | 125,403,263 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,158 | cpp | web_server.cpp | #include "central_computer.h"
#include <cpen333/process/shared_memory.h>
#include <thread>
#include <iostream>
#include "safe_printf.h"
//Testing for one item at one time right now
int main(int argc, char* argv[]) {
//Making no_items_present for each item in the inventory shared
cpen333::process::shared_memory mem... |
896ff6bbbc1e9c8acdbb9da1b581bf1684f7a957 | 3ad5e5b30a4f32744ee237cab390cc8a0dff66f3 | /leetcode_cpp/102_binary_tree_level_order_traverse.cpp | f6fa76ecd60fa6f6f9a359a532abd6d90aeaea16 | [] | no_license | LeiShi1313/leetcode | 721e41508eb244ec840ce593fedc3f8996050a0f | 895790f2a2706bb727d535b7cc28047e17b1fb6a | refs/heads/master | 2021-03-27T10:22:59.472077 | 2018-02-11T18:44:21 | 2018-02-11T18:44:21 | 94,644,211 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,093 | cpp | 102_binary_tree_level_order_traverse.cpp | //
// Created by Dicky Shi on 6/13/17.
//
#include <iostream>
#include <vector>
#include <map>
#include <set>
#include <unordered_map>
#include <unordered_set>
#include <string>
#include <ctime>
#include "utils.h"
using namespace std;
class Solution {
public:
vector<vector<int>> levelOrder(TreeNode* root) {
... |
35b25032bf53c3d5b18898c71b46d33b67b72f9e | 632a1f1fdd5381dd17ec30bed42e67c99bfe30db | /Animal.cpp | 2eb4c16b2be2cfb3bad5bebf655a1925cdd34141 | [] | no_license | hrmendoza96/HaroldMendoza-Examen2 | 692f02ec7bc8e61869d16440681bbb6ed4063d63 | b1c95d98893083e448ee8051d12e59bca166da76 | refs/heads/master | 2021-01-13T13:40:36.884696 | 2017-01-20T20:22:46 | 2017-01-20T20:22:46 | 76,367,016 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 546 | cpp | Animal.cpp | #include <iostream>
#include <string>
#include <sstream>
#include "Animal.h"
using namespace std;
Animal::Animal(){
}
Animal::Animal(string nombre, string sonido){
this->nombre=nombre;
this->sonido=sonido;
}
void Animal::setNombre(string nombre){
this->nombre=nombre;
}
string Animal::getNombre(){
return nomb... |
6df76fa9014c536839fe688109881f56f5b4f6c7 | 4ca9c0ed3f2dbdf5f2097dfaad7e03c57ef1384f | /src/Main.cpp | 10eaaf7d4faf0203aa69a03941c62da22a93829d | [] | no_license | AkiV/MazeGenerator | 534e6ac00ce13d6df89a1f42a03a37d196c11f63 | b217691768a7c2007592d1d600d28f602a31d82e | refs/heads/master | 2021-01-13T00:46:04.355075 | 2015-10-06T12:20:19 | 2015-10-06T12:20:19 | 43,735,934 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 928 | cpp | Main.cpp | #include <SFML\Graphics.hpp>
#include "MazeGenerator.h"
#include "Application.h"
#include "Player.h"
#include <Windows.h>
int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR szCmdLine, int iCmdShow)
{
int width = 640; int height = 640;
int size = 21;
Application application(width, height);
Maz... |
edb4097df0eeeba5b4025f00f9e6f88931a92b2d | 4e849c1d0518846419ed229a9194e20ae0eed0ce | /source/mips/msg.cpp | 0f8cfa702c65dd5d25b6688df3fb96e7430cb0ba | [] | no_license | TimerChen/mips | c2e75f8b9fba0461f728a23b0eb5baf059d6b4d9 | cd913bbf163a5813d2fda2e69f4dc14c4bcbca18 | refs/heads/master | 2021-01-23T08:21:58.806595 | 2017-07-07T06:53:18 | 2017-07-07T06:53:18 | 95,420,240 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 329 | cpp | msg.cpp | #include "msg.h"
MsgIF::MsgIF(const char *Str)
{
add = 0;
for( int i=0; i<12; ++i )
str[i] = Str[i];
}
MsgID::MsgID()
{
opt = narg = 0;
for( int i=0; i<5; ++i )
arg[i] = 0;
}
MsgEX::MsgEX()
{
opt = arg[0] = arg[1] = arg[2] = 0;
}
MsgMEM::MsgMEM()
{
opt = arg[0] = arg[1] = 0;
}
MsgWB::MsgWB()
{
opt = ar... |
49f5380a81659eb969e5df48884fac2407dbb68b | ff443629c167f318d071f62886581167c51690c4 | /src/crypto/chacha20poly1305.h | a847c258ef15271007d45411be7e92d16d7d104a | [
"MIT"
] | permissive | bitcoin/bitcoin | a618b2555d9fe5a2b613e5fec0f4b1eca3b4d86f | 6f03c45f6bb5a6edaa3051968b6a1ca4f84d2ccb | refs/heads/master | 2023-09-05T00:16:48.295861 | 2023-09-02T17:43:00 | 2023-09-02T17:46:33 | 1,181,927 | 77,104 | 33,708 | MIT | 2023-09-14T20:47:31 | 2010-12-19T15:16:43 | C++ | UTF-8 | C++ | false | false | 5,550 | h | chacha20poly1305.h | // Copyright (c) 2023 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef BITCOIN_CRYPTO_CHACHA20POLY1305_H
#define BITCOIN_CRYPTO_CHACHA20POLY1305_H
#include <cstddef>
#include <stdint.h>
#incl... |
c6ec65b86733dbbae726ef55fd5a18b45d1ed84d | 2e5088011b47581d00f19321de701db460cf6aec | /practicas/0_pruebas/practica_3_ver_inicial.cpp | 7ed94069a099e3cb0d0a0bfc8597d2cc081163f1 | [] | no_license | nawjanimri/uned_fund_programacion | a4f4e1979dd050bb023c87260948637bdf76f913 | 82d4ec060a3b59a9e317792e52abde497c49313b | refs/heads/master | 2020-04-03T09:35:44.208815 | 2019-01-10T15:48:40 | 2019-01-10T15:48:40 | 155,169,762 | 0 | 0 | null | null | null | null | ISO-8859-1 | C++ | false | false | 4,668 | cpp | practica_3_ver_inicial.cpp | /* *************************************
* NOMBRE: #Jose Manuel#
* PRIMER APELLIDO: #Alvarez#
* SEGUNDO APELLIDO: #Bautista#
* DNI: #29488955B#
* EMAIL: #jalvarez1623@alumno.uned.es#
***************************************/
#include <stdio.h>
int mes; /* Mes que se va a representar del calenda... |
505817a09d09a0d4909603cbc63600a0c6559e47 | 34e0a89e7c9ab88d80d6ee1435990bf873c26d58 | /src/ui/Model.h | 47e4d72c3503d8cf8a14093afd20d2061dd1713d | [] | no_license | dxinteractive/blend2-pedal | 63becf70bd36d41f2f3d0671bdd92bd90d8581f4 | b59b01cea65a6bce38878625ef1ba353a89fe09b | refs/heads/master | 2022-06-19T08:44:04.940866 | 2019-06-10T10:32:07 | 2019-06-10T10:32:07 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,991 | h | Model.h | /*
* Blend^2 guitar pedal loop blender and router.\
*
* Copyright (c) 2017 Damien Clarke
* damienclarke.me | github.com/dxinteractive/Blend2
*
* |~)| _ _ _| 2
* |_)|(/_| |(_|
*
*/
#ifndef MODEL_H
#define MODEL_H
#include <Stackui.h>
#include "../model/Blender.h"
#include "../model/BlendPre... |
ec7805b661c6d26e11e5d76c4eb2db5dae84c6d9 | 223995abcbcbbb50daad4fcb66e280beb6eb0c0d | /day_6/[practice]_E.cpp | 96281b972f87ac4ce1c9ae621821c9ad15c8b61a | [] | no_license | tksgo2582/SDS_algorithm | 7bcb19bb5599f5993bd3d9627c0efd9a336980e5 | 1bd4b58fcc9f3ad4f1ee63353c8fe377ef46cfc3 | refs/heads/master | 2023-03-12T07:15:32.678765 | 2021-02-24T19:25:37 | 2021-02-24T19:25:37 | 327,844,378 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,263 | cpp | [practice]_E.cpp | //d위상 정렬 문제,
#include <bits/stdc++.h>
using namespace std;
#define MAX 510
int N, M;
vector<int> parent[MAX], child[MAX];
bool visited[MAX], rev_visited[MAX];
int cnt, rev_cnt, ans = 0;;
/* 1. 체크인
2. 목적지에 도착했는가?
3. 연결된 곳을 순회
4. 갈 수 있는가?
5. 간다
6. 체크아웃 */
void dfs(int cur){
if(visited[cur])
r... |
7bb73441e35e94b1a7d774abc272ea0a57f078f3 | 08bd24caff7ebafe8946bb20a410a2adce23ccf9 | /DrawGraph/aaa.cpp | d4544a54076ec6751764ae939dc63d088cc7808b | [] | no_license | UniqueOnly/DrawGraph | 78831485830e0d224f57353a9164b038bbaff555 | 1f605c894ca834f36da40bf2bcb2bf74e2a2cb96 | refs/heads/master | 2016-09-03T07:36:51.303001 | 2014-08-11T10:25:35 | 2014-08-11T10:25:35 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,608 | cpp | aaa.cpp | // aaa.cpp : implementation file
//
#include "stdafx.h"
#include "te.h"
#include "aaa.h"
//#include "instrucments.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// aaa dial... |
82ddd18b967ef9934d394af6701c7fac582e1aeb | 659477b4e96ba1044b49e2272fe06f8c79ff1e87 | /OpenGL_FrameWork/Codes/CollisionMgr.cpp | 4bfa910c3eb1e651ff6e63d9f06840aad7ca8b0a | [] | no_license | ParkSeJun/2020_CG_Project | a64c9f431f0701950ed9dd29a8300565cd594271 | c8bda82509b8a8d4714de731e290881da8eda368 | refs/heads/master | 2023-02-01T04:23:04.090963 | 2020-12-16T00:03:04 | 2020-12-16T00:03:04 | 321,635,529 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,401 | cpp | CollisionMgr.cpp | #include "pch.h"
#include "..\Headers\CollisionMgr.h"
#include "Transform.h"
#include "Obj.h"
#include "Food.h"
_IMPLEMENT_SINGLETON(CCollisionMgr)
CCollisionMgr::CCollisionMgr()
{
}
CCollisionMgr::~CCollisionMgr()
{
}
bool CCollisionMgr::Check_Collision(vector<CObj*> pTargetLst, vector<CObj*> pBulletLst)
{
_float ... |
ebef8556b8c6eaeb52b50087de5edb3ee036809c | 14582f8c74c28d346399f877b9957d0332ba1c3c | /branches/pstade_1_03_5_head/pstade_subversive/pstade/junk/recursion.hpp | 60191c4867e3a0080cbd2d42f57319ee4a3879df | [] | no_license | svn2github/p-stade | c7b421be9eeb8327ddd04d3cb36822ba1331a43e | 909b46567aa203d960fe76055adafc3fdc48e8a5 | refs/heads/master | 2016-09-05T22:14:09.460711 | 2014-08-22T08:16:11 | 2014-08-22T08:16:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,136 | hpp | recursion.hpp | #ifndef PSTADE_OVEN_RECURSION_HPP
#define PSTADE_OVEN_RECURSION_HPP
// PStade.Oven
//
// Copyright Shunsuke Sogame 2005-2007.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
#include <boost/assert... |
5d7b7bd1fff9b62282cca353c3098cc277b1b1e0 | 4b24a445652f2342120ef8894a496494f7c1e13d | /VoxelMap/Light.h | 9e500b00e6a50dc558b65aee451e84fc4c8b18e0 | [] | no_license | KraftJrIvo/IVOxel | f1acf136f807dd66f8148dfff48a4234df0dfab0 | 8e75b7f88d7fbad02b8332b5bc2f1bf65cd88d56 | refs/heads/master | 2021-09-21T13:02:21.733370 | 2021-09-13T19:34:44 | 2021-09-13T19:34:44 | 230,286,861 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 322 | h | Light.h | #pragma once
#include <vector>
enum LightType : unsigned char {
NONE,
AMBIENT,
GLOBAL,
LOCAL
};
struct Light
{
Light(LightType type = NONE, const std::vector<uint8_t> rgba = { 0,0,0,0 }, const std::vector<float> position = { 0,0,0 });
LightType type;
std::vector<float> position;
std::vector<uint8_t> rgba;
}... |
d65de3a58aab39515277d49deaa5fdf3e96f7f5a | ec53fa6d944ba104a17696d334cfbbf867145f0a | /zarun/backend/backend_context_delegate.h | 4f29e84ced3d6321324604ce851abdafc27ae6dc | [] | no_license | zalemwoo/zarun | 83f20ea7807973ce84646c05500daa1df24ab5f2 | d1177881bf5e0028afa80c0eb1aded99fc862a04 | refs/heads/master | 2016-09-05T18:47:53.523668 | 2015-11-10T07:55:00 | 2015-11-10T07:55:00 | 26,324,736 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,426 | h | backend_context_delegate.h | /*
* backend_context_delegate.h
*
*/
#ifndef ZARUN_BACKEND_BACKEND_CONTEXT_DELEGATE_H_
#define ZARUN_BACKEND_BACKEND_CONTEXT_DELEGATE_H_
#include "base/callback.h"
#include "base/memory/scoped_ptr.h"
#include "gin/try_catch.h"
#include "zarun/zarun_export.h"
#include "zarun/script_context.h"
namespace zarun {
na... |
168ed507970ddb2be0f43a0748feb53838ec1bcf | 2a508ef51f861e91dae88712b8d86164014e20b0 | /arraysum.cpp | 468947cfe4af02a8295ebca896f5bacc9f656eb5 | [] | no_license | swapnil20711/CPP | c17077a195bb87be3572e7c9a54a01c5b621f504 | 2ed3dbcb42a828282806a4962bf998008086a87c | refs/heads/master | 2022-08-07T13:40:18.726845 | 2020-05-25T11:08:13 | 2020-05-25T11:08:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 337 | cpp | arraysum.cpp | //Program to print sum of array elements
#include<iostream>
using namespace std;
int main()
{
int i,n,arraySum=0;
cout<<"Enter the size of array"<<endl;
cin>>n;
int arr[n];
cout<<"Enter the array elements"<<endl;
for(i=0;i<n;i++)
{
cin>>arr[i];
}
for(i=0;i<n;i++)
{
arraySum+=arr[i];
}
cout<<"Array sum is "<<arra... |
4447b0e4da331570aed60e2015506c99771ed070 | 4e38ed925e356e7efe6b0918429dad19e23fe700 | /mmshplugins/mmshsettingsuiplugin/src/mussettingsplugin.cpp | 020c3767c8ca6abf56f2b37f0e0859c50f2a538c | [] | no_license | SymbianSource/oss.FCL.sf.app.mmsharinguis | 75a90aebd091f5ebcedfe1e6cc3a3ff2043e31fa | 9054f87d8ed408d79a305f09d720e6812e12244c | refs/heads/master | 2021-01-10T22:41:23.550567 | 2010-10-03T21:13:53 | 2010-10-03T21:13:53 | 70,368,951 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 30,094 | cpp | mussettingsplugin.cpp | /*
* Copyright (c) 2006-2007 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-... |
5222b12f3764dd1db3446e0b766c8cd7bfbdc5cf | c10fc3ec27dc78385506344916505a8a351a6076 | /3DDemo/world.cpp | c5c6a83891da6cfbcb68a55912da7c60395e0d4e | [] | no_license | wyrover/3DDemo | a284f197901eff0622667e35461c95ff8f8b790d | 5e591535ef80ee7e3ab5daf034b214a94130160d | refs/heads/master | 2021-01-15T13:12:03.014619 | 2015-01-29T08:42:50 | 2015-01-29T08:42:50 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,844 | cpp | world.cpp | #include "PreCompile.h"
#include "world.h"
#include "BitmapReader.h"
#include "LinearAlgebra.h"
#include <PortableRuntime/CheckException.h>
namespace Demo
{
static const Vector3f world_vertices[] =
{
{ -2, -2, -10 }, // left lower front 0
{ -2, 2, -10 }, // left upper front 1
{ 2... |
13c845a4fc885ca61835b155ac6902b9089ed349 | 9d89f00222f1c9108a006ea74607c4999491c8f5 | /POO_SSS_projet/ProjetPOOWin32SDL/source/Vaisseau.cpp | 5d2714a93dc87acc03b88adc5259158d58ee77a2 | [] | no_license | AlexECX/POOprojectSSS | 6343853a6010506cd9667d430c7a89cbecf39303 | 5190898bac012440b05b4e729c52f7f2fc7d26eb | refs/heads/master | 2021-09-06T03:51:18.186113 | 2017-12-09T02:29:07 | 2017-12-09T02:29:07 | 112,216,328 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 102 | cpp | Vaisseau.cpp | #include "EntiteVolante.h"
#include "Vaisseau.h"
Vaisseau::Vaisseau()
{
}
Vaisseau::~Vaisseau()
{
}
|
a22ad0150aff07daa5f10bc5ba9b41be49b3b650 | b73401933b5c06aad64930147181b0a2108c7613 | /tp3/src/timer.h | 3e1b8fb3f4683f2e5637ac9a523ac2571db05416 | [] | no_license | ABorgna/metnum | d62f06eb4385bd4efe7c6a70de9da7c8d0650e7a | c9469f1e83d079ccfebf8c127098514eb901b9a6 | refs/heads/master | 2020-04-15T02:57:23.870430 | 2019-01-06T17:32:06 | 2019-01-06T17:32:06 | 164,330,206 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 687 | h | timer.h | #pragma once
#include <chrono>
#include <iostream>
#include <string>
#include <vector>
/*
* Estructura para llevar la cuenta del tiempo de ejecución
*/
class TimeKeeper {
private:
std::chrono::steady_clock::time_point startPoint;
std::string currentLabel;
bool running = false;
public:
// Lis... |
cf877425f00f7f03d0827583b500848b98c8bd49 | 4009bb8e0dd4785f21f8a07c918ef2e37ed48609 | /aula1/exemplo3/empresa3.cc | eeeca1d6553e5051d856bd84eebdd12d8bfd94eb | [] | no_license | gaaj-ufrpe/modelagem-e-simulacao | 37c02a5ab803f1226effd2a67e885a8a888df82b | aa6cd701652d76b0b3af78c9059d00a2a390104e | refs/heads/main | 2023-03-10T11:33:48.106516 | 2021-02-23T20:57:57 | 2021-02-23T20:57:57 | 316,964,462 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,075 | cc | empresa3.cc | #include <string.h>
#include <omnetpp.h>
using namespace omnetpp;
class Maquina3 : public cSimpleModule {
private:
bool on = false;
protected:
virtual void initialize() override;
virtual void handleMessage(cMessage *msg) override;
virtual void updateDisplay();
public:
void s... |
9bd1bbf0520c3445c07f0796ee49e01e767a7fbb | 6d8faae66dd6332836bb11d7f02d6867c95d2a65 | /glast/pulsePhase/src/PulsePhaseApp.cxx | c01362a6ddf7a283ae317953fb3a99c5cdae3f2c | [] | no_license | Areustle/fermi-glast | 9085f32f732bec6bf33079ce8e2ea2a0374d0228 | c51b821522a5521af253973fdd080e304fae88cc | refs/heads/master | 2021-01-01T16:04:44.289772 | 2017-09-12T16:35:52 | 2017-09-12T16:35:52 | 97,769,090 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 5,975 | cxx | PulsePhaseApp.cxx | /** \file PulsePhaseApp.cxx
\brief Implmentation of PulsePhaseApp class.
\author Masaharu Hirayama, GSSC
James Peachey, HEASARC/GSSC
*/
#include "PulsePhaseApp.h"
#include <cctype>
#include <cmath>
#include <iostream>
#include <memory>
#include <set>
#include <stdexcept>
#include <string>
#include... |
3dbf67bf1d5185898c768ee30ca14f870be2b338 | 3e4bc3ea32154d83146dfa6c6ba48eee0d7d615f | /Ojos.h | 2f862c52492500b486c77f4547e4021f9f792afc | [] | no_license | edujguevara100/P3Lab-5_EduardoGuevara | c94fd41868b75dbae12f795772dac17cd9c42af3 | 23e989c8d61538d30c5fd868d8a8f51637d65c84 | refs/heads/master | 2021-01-25T13:48:34.964698 | 2018-03-02T22:25:12 | 2018-03-02T22:25:12 | 123,619,535 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 184 | h | Ojos.h | #ifndef OJOS_H
#define OJOS_H
#include <string>
using namespace std;
class Ojos{
private:
string color;
bool vision;
public:
Ojos();
Ojos(string, bool);
~Ojos();
};
#endif
|
ac01afb20805824bbc8d2e2af7f10792e1a308f7 | dceebf5fc54832a0c6d463109a7f366ffb70841f | /zadanie6/MilitaryAircraft.h | cf47a6c7ea64d6caf157b6d1f7b768d393488942 | [] | no_license | grips8/p2-lab | bc9930fbe719e56d11b61b10c4a2b8663440f4d9 | fc9b6a4e4a13066b2bb8f688002933aa6b91a998 | refs/heads/master | 2023-05-06T03:39:33.085609 | 2021-05-23T17:31:56 | 2021-05-23T17:31:56 | 345,218,205 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 644 | h | MilitaryAircraft.h | #ifndef P2_LAB_MILITARYAIRCRAFT_H
#define P2_LAB_MILITARYAIRCRAFT_H
#include <iostream>
#include "Aircraft.h"
class MilitaryAircraft: public Aircraft {
private:
mutable int number_of_get_role_calls = 0;
std::string class_of_aircraft;
std::string role;
public:
MilitaryAircraft(std::string, std::strin... |
8d0c863b045375df074131b425d1691c4072ada5 | fae63976cb3bf8dd21735f80b9b7e7c71caaba8c | /main.cpp | 6b6ca5e4f5d7b147d8b386e21ce9f85d6c67a650 | [] | no_license | whisperapart/SupplyChainOptimization | 6c004e055f0adaab630bc4ff589690d74ef138a1 | 4bcae5f8a1e514fd583063217b0e7bbe10d18c07 | refs/heads/master | 2022-11-22T09:09:09.251241 | 2020-07-20T06:34:04 | 2020-07-20T06:34:04 | 281,033,343 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 20,028 | cpp | main.cpp | /*
* File: main.cpp
* Author: Locyber <Locyber@cuttingplane.com>
*
* Created on 2015年9月21日, 上午9:21
*/
#include <stdlib.h>
#include <math.h>
#include <time.h>
#include <fstream>
#include <iostream>
#include <string>
#include <sstream>
#include <vector>
#include <list>
#include <algorithm>
#include <numeric> ... |
3136bb16071d199bff767875283a5c8911ee109c | 36e8e990339ee98bf263fc2ff7431d4d279d900d | /src/TrackGenerator.cpp | e2be36cb0db783691bd8ef38221aaa238dc805d1 | [] | no_license | razianushrat/OpenMOC-LOO | c31d77cd77584bdc1bb79840aa35190e8e5f53b8 | 3ab84c1fee987cb691ec5364c15b82b453135dd4 | refs/heads/master | 2020-12-02T14:05:32.725790 | 2014-10-13T07:44:05 | 2014-10-13T07:44:05 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 35,218 | cpp | TrackGenerator.cpp | #include "TrackGenerator.h"
/**
* TrackGenerator constructor
* @param geom a pointer to a geometry object
* @param plotter a pointer to a plotting object
* @param num_azim number of azimuthal angles
* @param spacing track spacing
*/
TrackGenerator::TrackGenerator(Geometry* geom, Plotter* plotter,
... |
4d3121deb84b43ea9692bee07384d1d4e92fb5ff | 21fe6e3a229e480a27b33b6a98b41fbacc0e91a4 | /src/message.hpp | 356e7a0c8e802cf2daa7c035d2c4488ed2f82058 | [] | no_license | Tusgavin/UDP-FileTransfer-ClientServer | 7ab9669dace500d3c26ecd640d71beb0fe5893f4 | f924e7a7a2f10e775c2aaa3bc7826b8f9eb8a8e6 | refs/heads/master | 2023-03-21T00:35:53.010828 | 2021-03-03T17:56:19 | 2021-03-03T17:56:19 | 344,212,496 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 878 | hpp | message.hpp | #ifndef MESSAGE_HPP
#define MESSAGE_HPP
#include <stdint.h>
#define UDP_PORT_SIZE 4
#define FILE_NAME_SIZE 15
#define HELLO 1
#define CONNECTION 2
#define INFO_FILE 3
#define OK 4
#define FIM 5
#define FILE 6
#define ACK 7
#pragma pack(1)
typedef struct
{
uint16_t id;
} HELLO_OK_FIM_message_struct;
#pragma pack(... |
066e84302736f2806262c94d35060f3e36a98482 | dd7632e0e77aa4ff03e23bdce7d65234f4712540 | /algorithms/Rotate Array/Rotate Array.cpp | eacd78881b1356a622a89df40f2ee4de5146e3b5 | [] | no_license | luckcul/LeetCode | f979a7771455312471b9b516c1a48cfb53086c2e | 9fa0ad174e6925fce4aae32a459e4a3c23951060 | refs/heads/master | 2021-01-20T18:48:50.657792 | 2020-10-21T22:30:55 | 2020-10-21T22:30:55 | 64,599,280 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 727 | cpp | Rotate Array.cpp | class Solution {
public:
void rotate(vector<int>& nums, int k) {
int n = nums.size();
k %= n;
if(k == 0) return ;
int cycle = gcd(n, k);
for(int i = 0; i < cycle; i++) {
int now_index = i, now_val = nums[now_index];
int count = 0;
int upp... |
a118bcb21715d6642626e82f991794682a2fda5a | 87c9e205ee1de595258f0f7a9432df448d637664 | /nfs/client/Client.cpp | 6703b8031a597f90d0a6229dc4ffbaf26fceb4e1 | [] | no_license | faushine/NFS-CS754 | 210d6605ca34297baaa24125e63358e815972922 | 6d0f2af4f4b5459d38f9e9b0729975cc2cd09aba | refs/heads/master | 2020-08-27T15:09:20.409466 | 2020-01-13T00:00:16 | 2020-01-13T00:00:16 | 217,417,782 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,138 | cpp | Client.cpp | //
// Created by l367zhan on 2019-10-17.
//
#define FUSE_USE_VERSION 31
#include "fuse.h"
#include <sys/stat.h>
#include <fuse.h>
#include "NFSClient.h"
#include <stdio.h>
struct fuse_operations nfsOps;
std::string toStr(const char *path) {
std::string a(path);
return a;
}
bool useCommit = true;
static C... |
db7512646131400cc93c7418113a590093ddf099 | f25a9618845af6f7278947a47ca5354b7ad2f827 | /include/LoggerWithHighlighting.h | 36db8ed9e0e29afa1f8931d9945f5992f9e2fa6a | [
"MIT"
] | permissive | Szmyk/zspy-cli | ed054dc7c3d21f50347dd995b296f46690ce0f0b | 5639f1b2d84652f3c8bf51ba391a2a4bbc1ba50b | refs/heads/master | 2020-04-28T01:51:04.795993 | 2019-05-07T20:22:01 | 2019-05-07T20:22:01 | 174,875,094 | 8 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 314 | h | LoggerWithHighlighting.h | #pragma once
#include "ILogger.h"
#include <vector>
class LoggerWithHighlighting : public ILogger
{
private:
std::string textToHighlight;
void performWriteLine(std::string message, rang::fg color);
public:
LoggerWithHighlighting(std::string textToHighlight, std::vector<std::string> messagesTypes);
};
|
8400c46986a645c11b1668d27a202e041640651f | c2d63db2bb391c73849393804d5d33df889aa7a2 | /Player.hpp | 5630f0dfb6c7017b843f881a198d5d0e775c10e7 | [] | no_license | KevinShaughnessy/RPG | 78ee6353498063d6dde2cec7242d08c2041fdd5d | 90bab83c981857640ee67d40c51dca16335dad02 | refs/heads/master | 2020-12-25T06:32:55.367448 | 2013-02-05T23:12:14 | 2013-02-05T23:12:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,601 | hpp | Player.hpp | /*
* File: Player.h
* Author: Adrian
*
* Created on 15. Dezember 2012, 17:47
*/
#include <string>
#include <list>
#include "Singleton.hpp"
#include "Sprite.hpp"
#include "Combat.hpp"
#ifndef PLAYER_H
#define PLAYER_H
using namespace std;
#define g_pPlayer Player::Get()
enum DIRECTIONS
{
UP,
DOWN,
... |
5cd3e24933673ff5bc7b6cb21cf885c8322a8acd | 89239a46b20e9b17606ab541bc497b5fad08faa1 | /US_Dist_LCD.ino | fa9265c1fa18bd8e0b580eb6f1cc4cec0c193cdc | [] | no_license | Manegiste/US_Dist_LCD | b8a36a750f3eaebca7a2be730ab8357f98381cd7 | 86a8aa7a4d8e2e9560283a271527956e7a62b0c5 | refs/heads/master | 2020-04-01T02:55:37.437952 | 2018-10-12T20:02:55 | 2018-10-12T20:02:55 | 152,801,890 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 941 | ino | US_Dist_LCD.ino | #define US_TRIG 2
#define US_ECHO 3
int US_Measure()
{
long duration;
long distance;
Serial.println ("Mesure =============");
// Clears the trigPin
digitalWrite(US_TRIG, LOW);
delayMicroseconds(2);
// Sets the trigPin on HIGH state for 10 micro seconds
digitalWrite(US_TRIG, HIGH);
delayMicroseconds(... |
678baca30807f27dede38ca25c387b65fb21cdae | f55a0e269d95418dcc600fd43c59f0ba76caaced | /MyWindow--createLinesTab.cpp | 285ba94844d488188f7b2e28b36a523a736aa1c3 | [] | no_license | dualsky/DynamicTemplates | 550c159a6b235a37d5fae3cbc4a139bab52163f5 | a8ce6a101f79174aa3824c159da7d0483398e844 | refs/heads/master | 2021-01-24T23:00:48.649628 | 2014-03-17T20:30:52 | 2014-03-17T20:30:52 | 29,475,833 | 2 | 0 | null | 2015-01-19T14:57:13 | 2015-01-19T14:57:13 | null | UTF-8 | C++ | false | false | 3,386 | cpp | MyWindow--createLinesTab.cpp | //
// $Id: MyWindow--createLinesTab.cpp,v 1.4 2009/01/29 02:47:51 igor Exp $
//
// This file is part of DIY_Dynamic_Templates_V2
//
// DIY_Dynamic_Templates_V2 is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation... |
140bffe52fb9d7d460800959a9c583b6ceeaf95d | 9bf46e3671777ad141a1224eec2f9d36f19676d7 | /main.cpp | 0ef085dcebd12d41318f6001918754d4b4a10a6f | [] | no_license | Rahulsharma468/CG_PROJECT | c8c968bc2d8ecc89cc41bcd4fecd83724c1e1960 | 13b354deebd917a94ebddd01215d14e2efe0efa4 | refs/heads/main | 2023-04-15T19:04:59.296771 | 2021-05-02T14:53:49 | 2021-05-02T14:53:49 | 363,675,686 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,463 | cpp | main.cpp | #ifdef __APPLE__
#include <GLUT/glut.h>
#else
#include <GL/glut.h>
#include <GL/glu.h>
#endif
#include <stdio.h>
#include <math.h>
#include <stdlib.h>
int win;
GLint m_viewport[4];
bool mButtonPressed = false;
enum view { INTRO , MENU , LINEAR , BINARY , EXIT};
view currentView = INTRO;
int mouseX , mouseY;
int val = ... |
8dd9e8683f9911c8d80b82953b528c334b4d156b | 00e9b8471bd2e81ceb667fc82e49240babbb113e | /main/src/coursewareTools/whiteboardtools.cpp | 13005730d1bb0c4414c058a720b7f5d1510e157e | [] | no_license | Xershoo/BM-Client | 4a6df1e4465d806bca6718391fc2f5c46ab1d2b4 | 2d1b8d26d63bb54b1ac296341353a6e07809b2d6 | refs/heads/master | 2020-03-29T05:01:00.564762 | 2019-03-06T01:46:35 | 2019-03-06T01:46:35 | 149,561,359 | 5 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 11,929 | cpp | whiteboardtools.cpp | #include "whiteboardtools.h"
#include <QBitmap>
#include <QDesktopWidget>
#include "common/Env.h"
#include "common/macros.h"
#include "Courseware/coursewaredatamgr.h"
#include "session/classsession.h"
#include "Courseware/CoursewareTaskMgr.h"
#include "Courseware/CoursewarePanel.h"
whiteboardtools::whiteboardtools(QWi... |
4f33bb59a349d5647153997ea9f0f7ad772b3fc6 | a8c1d3db2148944e7091b698f88e51185a47e2e9 | /src/ofxCasioProjectorControl.h | 609c76b8dd373ada1bff45d952349bafe75dcd72 | [] | no_license | DHaylock/ofxCasioProjectorControl | b152d7eac5fcb843deac2b7db349c3bd7e20a28b | 75af38e5529cc5363247186bea509f3dbf0e9499 | refs/heads/master | 2021-01-10T17:58:15.585354 | 2016-01-18T16:54:05 | 2016-01-18T16:54:05 | 49,890,612 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,061 | h | ofxCasioProjectorControl.h | //--------------------------------------------------------------
//* Name: ofxCasioProjectorControl.h
//* Author: David Haylock, Stewart Morgan
//* Creation Date: 15-12-2015
//--------------------------------------------------------------
#include "ofMain.h"
#include <stdlib.h>
#define TIMEOUT_STEP_DURATION 25000... |
963ae7804e946ab1fea47c9f6a8e65c3df61b1c2 | ef516abbf3cafc99dec7e12ddd9ee9423a0ccd93 | /Synergy/src/Synergy/Font.h | 109030b461713a05277e1995df80e6f98a8ce240 | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | nmrsmn/synergy | 15fb3baf851ab600b7a716c8ee26ee39b2f369a0 | 7f77c70c131debe66d2e91e00827fd30e736cf81 | refs/heads/develop | 2021-04-13T06:32:56.229898 | 2020-05-17T15:08:24 | 2020-05-17T15:08:24 | 249,143,774 | 0 | 0 | MIT | 2020-05-22T11:15:13 | 2020-03-22T08:40:09 | C | UTF-8 | C++ | false | false | 1,145 | h | Font.h | // Created by Niels Marsman on 03-05-2020.
// Copyright © 2020 Niels Marsman. All rights reserved.
#ifndef SYNERGY_FONT_H
#define SYNERGY_FONT_H
#include <unordered_map>
#include <glm/glm.hpp>
#include <ft2build.h>
#include FT_FREETYPE_H
#include "Synergy/Core.h"
#include "Synergy/Fonts.h"
#include "Synergy/Render... |
c87d3f95e0f3186b86cc79181da4271d2f186f78 | 18e4220339538573e4377096e25f624b1aadb68d | /GPS.ino | e27a8c74cb807ce9fc11265c5016f041bb5c004d | [] | no_license | pi3rrot/GPS-EM411 | 573cdf24268e378507dc7df6a52c5b5a26b817d5 | b74ca2084c00861cffa44b088c1e0d76eb4cccd1 | refs/heads/master | 2021-01-22T17:53:14.784366 | 2013-01-19T01:16:30 | 2013-01-19T01:16:30 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 369 | ino | GPS.ino | #include <SoftwareSerial.h>
SoftwareSerial GPSinterne = SoftwareSerial(2,3);
SoftwareSerial GPSexterne = SoftwareSerial(5,4);
void setup()
{
GPSinterne.begin(4800);
// GPSexterne.begin(4800);
Serial.begin(9600);
}
void loop()
{
if(GPSinterne.available() > 0)
{
char chaine = GPSinterne.read();
// char someChar ... |
572e110c6d16f728ca266724fe0014ac2feec3a5 | ef13e028bb85295266b79ca217b7fe9c2886637b | /delete the element by the position.cpp | 2436d9599bff46efde554e7fcba653a400332262 | [] | no_license | kavipriyaselvakumar/DataStructurs | 202eaf7dad5c51fc0e1b352ec54a794b058ca0a7 | 66133833e0b12bb2a2330a253869c149ec9b1799 | refs/heads/main | 2023-04-21T23:19:07.727253 | 2021-05-20T19:17:03 | 2021-05-20T19:17:03 | 348,046,060 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 977 | cpp | delete the element by the position.cpp | #include<iostream>
using namespace std;
struct node
{
int data;
struct node *next;
}*head=NULL;
int main()
{
int n;
cout<<"Enter the number of node:";
cin>>n;
int count=0;
node *temp=new node();
for(int i=0;i<n;i++)
{
node *newnode =new node();
int ele;
cout<<"Enter the element:";
ci... |
4b5b7ee4f12a37f27b7f2705f394bfec126784c5 | 42ab733e143d02091d13424fb4df16379d5bba0d | /third_party/spirv-tools/test/val/val_state_test.cpp | 4097a1feb87294c0ad506de5b804c5de1f9d177f | [
"Apache-2.0",
"CC0-1.0",
"LicenseRef-scancode-unknown-license-reference",
"LicenseRef-scancode-generic-cla"
] | permissive | google/filament | 11cd37ac68790fcf8b33416b7d8d8870e48181f0 | 0aa0efe1599798d887fa6e33c412c09e81bea1bf | refs/heads/main | 2023-08-29T17:58:22.496956 | 2023-08-28T17:27:38 | 2023-08-28T17:27:38 | 143,455,116 | 16,631 | 1,961 | Apache-2.0 | 2023-09-14T16:23:39 | 2018-08-03T17:26:00 | C++ | UTF-8 | C++ | false | false | 7,998 | cpp | val_state_test.cpp | // Copyright (c) 2015-2016 The Khronos Group Inc.
// Copyright (c) 2016 Google Inc.
//
// 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
//... |
42cf58c761d9ab03b0e35a912bfedd9d10bcc9a1 | 4d2067f60368d6e91210536f3dcf967650e8fa70 | /is_bst.cpp | 6e6481391d954a63050c6f42ac18bc1cc93db565 | [] | no_license | Paxing939/Theory-of-algorithms | 27be26d34c28261cfa7a4f90b047d53d5c28b44f | 11e2b1032012028ff0c97b8ac282adaf04cb02d1 | refs/heads/master | 2022-12-13T14:16:57.219475 | 2022-12-06T13:57:19 | 2022-12-06T13:57:19 | 249,015,468 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,098 | cpp | is_bst.cpp | #include <iostream>
#include <vector>
struct Node {
int64_t value;
int64_t left;
int64_t right;
};
int main() {
freopen("bst.in", "r", stdin);
freopen("bst.out", "w", stdout);
std::cin.tie(nullptr);
std::ios_base::sync_with_stdio(false);
int64_t n;
std::cin >> n;
std::vector<Node> tree(n);
st... |
6a2efd71d95e9d1ea1b6cf7e796b77ea84e1a92d | 718dc8e20a4b1fa265b2d7e96d39dd2038fb3b03 | /OGLContext.h | d9d6ffb87527f8a20d0b3e14140eae3236af88b3 | [] | no_license | EXL/SensorMonitor | efbccb597371d23b8d673e1a20f25357cca39ed9 | 66d1e64894721eed56361dbc8b63c18741e95ac4 | refs/heads/master | 2021-01-10T22:11:41.931963 | 2017-06-22T19:19:30 | 2017-06-22T19:19:30 | 16,229,910 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 961 | h | OGLContext.h | #ifndef OGLCONTEXT_H
#define OGLCONTEXT_H
#include <QGLWidget>
#include <QVector2D>
#include <QVector3D>
#include <QTimer>
class OGLContext : public QGLWidget
{
Q_OBJECT
QVector<QVector3D> vertices;
QVector<QVector2D> texCoords;
GLuint textures[4];
GLfloat nScale;
GLfloat ra... |
b1b6dde306548bdbd328d4159a3edc4612939633 | 0f378fac224a14161f7e409e5468ec156eece83a | /BlinkMorse.ino | 16edc35deca6dd823e06b025670bbe0bc06813cc | [
"MIT"
] | permissive | javleds/arduino-blink-morse | d7460cdbfd147c5c7a934b6ef34bb4b9651d9221 | e6909ba82d249c2afc7c9b61050ae8dce72bb1d4 | refs/heads/master | 2022-11-12T00:47:46.248980 | 2020-07-05T01:51:54 | 2020-07-05T01:51:54 | 277,213,381 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,028 | ino | BlinkMorse.ino | const int DOT = 0;
const int LINE = 1;
const int OFF = 2;
const int UNIT = 333;
const int LETTER_SPACE_INTERVAL = 1000;
const int END_PHRASE_BEEPS = 5;
const int END_PHRASE_DELAY = 50;
const int OUTPUT_PIN = 13;
const int DICTIONARY[][4] = {
{DOT, LINE, OFF, OFF}, // A
{LINE, DOT, DOT, DOT}, // B
{LINE, DOT, ... |
72b956a30e0a360228e9add716e4ae7cb048925c | 7ccdcc27e50526d568dfe2918aabfb172ef41b62 | /Reorder_List.cpp | eb7e4539298c048e075b2f0b1d3aacd1c375a803 | [] | no_license | albin3/leetcode | 71c30df4a7a778b2ce10619a244b7bc2a5122f33 | c458f80ec4a493f3b104883f6fa54321386f58a9 | refs/heads/master | 2021-01-22T15:22:32.827552 | 2015-08-12T10:08:59 | 2015-08-12T10:08:59 | 26,163,258 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,005 | cpp | Reorder_List.cpp | #include <iostream>
#include <vector>
using namespace std;
struct ListNode {
int val;
ListNode *next;
ListNode(int x) : val(x), next(NULL) {}
};
class Solution {
public:
void reorderList(ListNode *head) {
if (head==NULL) return;
vector<ListNode*> v;
while(head) {
v.push_back... |
f76fc2344f222a918b1be504dddec7baedc5604b | f324e18d380245e46fa897e54234327028983202 | /Server/Utils.h | 2069f9a4d647aea45c6c0877865c6d10c3a3e620 | [] | no_license | StevenHD/Linkaging | ff1679d0061d891b885bddd967ab3328669d629c | 725f85f06e86b7d5f1c2285823ab10e670548eee | refs/heads/master | 2023-06-18T16:37:16.124398 | 2021-07-22T14:19:00 | 2021-07-22T14:19:00 | 366,744,254 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 390 | h | Utils.h | //
// Created by hlhd on 2021/4/29.
//
#ifndef MODERNCPP_UTILS_H
#define MODERNCPP_UTILS_H
#define LSTNQUE 1024 // 监听队列长度,操作系统默认值为SOMAXCONN
#include "../all.h"
namespace Linkaging
{
namespace Utils
{
int createListenFd(int port); // 创建监听描述符
int setNonBlocking(int fd); // 设置非阻塞模式
};
}
#endif //MODE... |
c2d8870feeacd41808602cd9fe5b8586aa66ad0c | 270937d32c2bc8e33622d96c045b43b8a23bc086 | /ion/base/datacontainer.h | d8a6434de1e34f49ffdf5cb90fcacf729fd290f6 | [
"Apache-2.0"
] | permissive | google/ion | 32491fc26a0a2a5fd602e4008296ccba5017d689 | 514ce797458d02e7cd3a1b2d0b5c7ff8ccb5f5d1 | refs/heads/master | 2023-09-04T18:10:40.343013 | 2022-06-09T07:56:18 | 2022-06-09T07:56:18 | 50,387,855 | 1,651 | 132 | Apache-2.0 | 2018-05-12T02:16:47 | 2016-01-25T23:13:46 | C++ | UTF-8 | C++ | false | false | 10,014 | h | datacontainer.h | /**
Copyright 2017 Google 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 applicable law or agreed to in... |
cd99d9d3ea619d608705a3b8c3d1effd602dfb80 | 19a16e16c60401e468b3678975a7baad1201deee | /TrainingManager/mainwindow.h | b9ede1b9fa61fcb765eaba87a89baab5903b6806 | [] | no_license | jmbalmaceda/orpocopo2 | 7a7a14c0a759301b37587a11be9cba4da770d115 | 084d079e8b0a1ed129b6e55e3888de35648aeb9e | refs/heads/master | 2021-01-19T22:47:39.455260 | 2017-11-29T00:33:09 | 2017-11-29T00:33:09 | 88,871,506 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 685 | h | mainwindow.h | #ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include <QMainWindow>
#include <fnuevoentrenamiento.h>
#include <fmodificarentrenamiento.h>
#include "data.h"
namespace Ui {
class MainWindow;
}
class MainWindow : public QMainWindow
{
public:
Data datos;
explicit MainWindow(QWidget *parent = 0);
~MainWindow()... |
dd51c483ca66f2ad9d5efe5e2d9d911a2e1dc356 | 260e13adb6fd9e7c19c0da64d2298af2d5cd1d5b | /ch29/Q29_2_1/Q29_2_1/Ex29_2_1_Answer.cpp | 7179a3c35809fdc1c3f3024aebf948ace9594405 | [] | no_license | neighborpil/CExampleProjects | f6104338255e962518126505df86ef686bde7671 | fb7bc8969cf7a3059b3eb6425d58e26bf89079be | refs/heads/master | 2021-01-13T09:51:40.225628 | 2017-05-16T15:27:36 | 2017-05-16T15:27:36 | 72,652,801 | 0 | 0 | null | 2017-05-16T15:27:37 | 2016-11-02T15:21:05 | C | UHC | C++ | false | false | 733 | cpp | Ex29_2_1_Answer.cpp | #include <stdio.h>
#include <string.h>
char* AddStringOne(char des[], char src[], int desLen);
int main(void)
{
char str1[20] = "Your name is ";
char str2[20];
char *ret;
while (1)
{
printf("이름을 입력하세요 : ");
gets_s(str2, sizeof(str2)); //20글자 이상이면 애러
ret = AddStringOne(str1, str2, sizeof(str1) / sizeof(cha... |
a07fac390dda93880f76fe5e67111e71f6955269 | 085b0b660560d64465b0f25cc9678aed1d5799f9 | /plugins/animate/particle.cpp | 613812afb4bb5a81474e29b724a965ebed26cdc5 | [
"MIT"
] | permissive | ddevault/wayfire | 3eafa63d6955cbe31123eb99c9cba02fa45ae88c | 007452f6ccc07ceca51879187bba142431832382 | refs/heads/master | 2020-03-15T13:55:01.974924 | 2018-03-27T06:07:37 | 2018-03-27T19:11:18 | 132,178,245 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,537 | cpp | particle.cpp | #include "particle.hpp"
#include <opengl.hpp>
#include <config.h>
#include <debug.hpp>
#include <GLES3/gl32.h>
#include <GLES3/gl3ext.h>
#include <EGL/egl.h>
#include <thread>
glm::vec4 operator * (glm::vec4 v, float x)
{
v[0] *= x;
v[1] *= x;
v[2] *= x;
v[3] *= x;
return v;
}
glm::vec4 operator... |
fe80e1f63b4f4104dcf9e2c96e852cfc00f6accf | a738fab3d35dbc7ae90b7ca24ff7411ac12a76d9 | /Security and criptography/Tema2_SC/Tema2_SC/Debug/Generated Files/winrt/impl/Windows.ApplicationModel.Contacts.DataProvider.1.h | ae928d892325a9d40f5f48bf63221c0c26d7c6ab | [] | no_license | TheSeeven/personal-projects | 66c309233dfdf1d9986846f5bec5ededd57cf119 | 0d103b9647d2b1c650b0f0d7a63cc64786ddac23 | refs/heads/main | 2023-06-10T19:12:06.490243 | 2021-07-01T08:34:01 | 2021-07-01T08:34:01 | 301,747,006 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,670 | h | Windows.ApplicationModel.Contacts.DataProvider.1.h | // WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210403.2
#ifndef WINRT_Windows_ApplicationModel_Contacts_DataProvider_1_H
#define WINRT_Windows_ApplicationModel_Contacts_DataProvider_1_H
#include "winrt/impl/Windows.ApplicationModel.Contacts.DataProvider.0.h"
WINRT_EXPORT namespace winrt::W... |
3f89c49bcaca844fd888cc377c55b1d281db6af6 | 0795b9eb913c8322238c2892206532218f5b13d2 | /SLIC/SLIC.h | bd43cb91e11bb4e2572f130aa71293bf2432115a | [] | no_license | AlexsaseXie/SLIC_superpixel | d4ab6e9c78a634758e63e94584807230add2713c | 989bfc28b69048e0280f6aedaf743e47908f6651 | refs/heads/master | 2020-04-08T02:41:29.629333 | 2018-11-24T14:42:35 | 2018-11-24T14:42:35 | 158,944,944 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 361 | h | SLIC.h | #pragma once
#include <QtWidgets/QWidget>
#include "ui_SLIC.h"
#include "SLIC_function.h"
class SLIC : public QWidget
{
Q_OBJECT
public:
SLIC(QWidget *parent = Q_NULLPTR);
SLIC_Function f = SLIC_Function("lena512color.bmp", 1000, 30);
private:
Ui::SLICClass ui;
public slots:
void choose_input_image();
void c... |
7f2a40562aeb4885429901d1f3c4a6729f765ff0 | e7ea1d9916ded43eda9b96bd06210365f749d3f1 | /LeetCode/Valid Mountain Array.cpp | 3a62b77841d57a05fb6f9cd153906c53b8df99a5 | [] | no_license | chhipanikhil9/CppCompetitiveRepository | 8432808336c5e18c38ae5975cadcaf925578b9a2 | ba06529fc7282bfe491d4a75480ba28c490cc37b | refs/heads/main | 2023-07-21T14:26:22.912033 | 2023-07-13T03:26:54 | 2023-07-13T03:26:54 | 333,729,610 | 0 | 0 | null | 2021-04-17T13:41:19 | 2021-01-28T10:53:30 | C++ | UTF-8 | C++ | false | false | 915 | cpp | Valid Mountain Array.cpp | // One person climb from left side and go to peak of the mountain and then the right side
class Solution {
public:
bool validMountainArray(vector<int>& a) {
int n = a.size();
if(n<3 or a[0]>=a[1]) return false;
int i = 1;
while(i<n-1 and a[i]>a[i-1]){
i++;
}
... |
9d036ac7c6fc10622d01e16e65aa9593f7c5748e | bb7645bab64acc5bc93429a6cdf43e1638237980 | /Official Windows Platform Sample/Windows 8.1 Store app samples/99866-Windows 8.1 Store app samples/Direct3D tiled resources sample/C++/SamplingRenderer.h | 5ea4a5f6196f716e5a13b9d162ebdc2c39565985 | [
"MIT"
] | permissive | Violet26/msdn-code-gallery-microsoft | 3b1d9cfb494dc06b0bd3d509b6b4762eae2e2312 | df0f5129fa839a6de8f0f7f7397a8b290c60ffbb | refs/heads/master | 2020-12-02T02:00:48.716941 | 2020-01-05T22:39:02 | 2020-01-05T22:39:02 | 230,851,047 | 1 | 0 | MIT | 2019-12-30T05:06:00 | 2019-12-30T05:05:59 | null | UTF-8 | C++ | false | false | 2,846 | h | SamplingRenderer.h | //// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
//// ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
//// THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
//// PARTICULAR PURPOSE.
////
//// Copyright (c) Microsoft Corporation. All rights reserved
#pragma once
#... |
5ac937f0a980d6f72023c85a8d627e8b44dbc965 | bd58a8ca2483bb66cd8d8c7522865dd45e29f8a8 | /All_QT_Projects/QPrinter_PDF_Word_EXECl_Other/printpdf.h | 5389f7231dcae78511e4912c791ca8b3586755f4 | [] | no_license | Feather-Wang/Qt_Wangqs | 4bfd2c4da020fc3afdfb6321240a192fc06bd516 | df9f9f74bde6c58518a9a7a42c513fea7e1830d7 | refs/heads/master | 2020-04-05T04:10:31.603173 | 2018-11-07T12:10:37 | 2018-11-07T12:10:37 | 156,540,672 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 604 | h | printpdf.h | #ifndef PRINTPDF_H
#define PRINTPDF_H
#include <QWidget>
#include <QTextEdit>
#include <QFileDialog>
#include <QPrinter>
#include <QPrintDialog>
#include <QPrintPreviewDialog>
#include <QAbstractPrintDialog>
#include <QPageSetupDialog>
class PrintPDF : public QWidget
{
Q_OBJECT
public:
PrintPDF(QWidget *pa... |
2c688162da7cbec0b4da2611f0d34024a3a7659f | 618ba8ff08760c367bbb92746714e6ca927deabf | /NanoUART.cpp | af622876a9c1bf0f971a2cbacc29f1b4c0a86ca6 | [] | no_license | lsantiago/NANOS_cpp | eae67ed1eabbe2c03f69a74df0673380d8929516 | 9ce7f65f3799d22912a1115104d1c93f2681a771 | refs/heads/master | 2020-07-24T12:08:18.695137 | 2019-09-11T20:41:44 | 2019-09-11T20:41:44 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,411 | cpp | NanoUART.cpp | /*! \file NanoUART.cpp
\brief Library for managing RS-232 module
Modified for Tracklink by Sisi IOT, 2019
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either versi... |
218645ed7146d735aeb27f676a937d2f93a25087 | 7bcba60b0bf019c8e62d1013bd0f1bdd2d38fbe8 | /src/AEntity.h | efb4dc6606a26e398885bb2025ac12964b9b2f00 | [] | no_license | rubenhir/Car-Game | 705330b79e1f5aab7a6c0bcb2d554e03f255b92c | f30037b0eaab3467a6f0f3dcc2c18333ed574baa | refs/heads/master | 2021-03-24T12:42:59.650788 | 2015-06-21T21:55:32 | 2015-06-21T21:55:32 | 37,735,749 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,139 | h | AEntity.h | /*
... |
c88c06285f9af4dbded4264c0464188cc7166d95 | bfea494775d3268319cbb01d0f68bb2d70cac01d | /tools/release/ltsgraph/graph.cpp | 4b75b3357e1310971d6d1978fa86953040e47b11 | [
"BSL-1.0"
] | permissive | Noxsense/mCRL2 | e16855c7489a6dea6856d3778218b55d5f692430 | dd2fcdd6eb8b15af2729633041c2dbbd2216ad24 | refs/heads/master | 2021-07-04T21:36:46.816322 | 2021-01-12T09:20:11 | 2021-01-12T09:20:11 | 218,386,668 | 0 | 0 | NOASSERTION | 2019-10-29T21:26:04 | 2019-10-29T21:26:03 | null | UTF-8 | C++ | false | false | 21,092 | cpp | graph.cpp | // Author(s): Rimco Boudewijns and Sjoerd Cranen
// Copyright: see the accompanying file COPYING or copy at
// https://github.com/mCRL2org/mCRL2/blob/master/COPYING
//
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.t... |
aa035b39b7d0dd999389cba01919c4a00e3cf457 | 1791461e6740f81c2dd6704ae6a899a6707ee6b1 | /NOI[OpenJudge]/1.11/1.11.4.cpp | 1625a80ffcb47a81896f5d6932eee30930490663 | [
"MIT"
] | permissive | HeRaNO/OI-ICPC-Codes | b12569caa94828c4bedda99d88303eb6344f5d6e | 4f542bb921914abd4e2ee7e17d8d93c1c91495e4 | refs/heads/master | 2023-08-06T10:46:32.714133 | 2023-07-26T08:10:44 | 2023-07-26T08:10:44 | 163,658,110 | 22 | 6 | null | null | null | null | UTF-8 | C++ | false | false | 761 | cpp | 1.11.4.cpp | //Code By HeRaNO
#include <cstdio>
#include <algorithm>
#define MAXN 10020
using namespace std;
long long n, k, ans;
long long left = 1, right, middle;
double x;
long long a[MAXN];
long long mymax(long long a, long long b)
{
return a > b ? a : b;
}
long long check(long long len)
{
long long cnt = 0;
for (int i = ... |
06b739809a004987338f94733765e4b651ad82db | 8e961307a95fd14686b5562a765e6266478f2818 | /global_count.cpp | 53afa1dc1d7cb1aeca155b9aa795df27a277e515 | [] | no_license | rmccrystal/Mirror-Cheat | 16c63dcda679842bafb40ff71082e4f357e8134d | bb81c5138fe3780f0395d8fe711621a332013d60 | refs/heads/master | 2020-04-15T01:12:59.205302 | 2019-03-17T22:25:00 | 2019-03-17T22:25:00 | 164,267,484 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 863 | cpp | global_count.cpp | #include "global_count.h"
void game_event::on_hurt(IGameEvent * Event)
{
for (auto i = 0; i < Interfaces::Engine->GetMaxClients(); ++i)
{
const auto player = const_cast <IClientEntity*>(Interfaces::EntList->GetClientEntity(i));
if (!Event)
global_count::didhit[i] = false;
if (!strcmp(Event->GetName(), "pl... |
fcdf95700bef355bfa829b9f150ebcda10619c6b | 70c00b8c597576f3ccbd299a64b7ccc0e575c557 | /Src/Model3/DSB.h | 09ab60b05c32ab132983a7a26cb5d9e5c35066d9 | [] | no_license | mirror/model3emu | 7404fb61808dc3ad0e496bada75bb8e9c96caf01 | f77b119f7b3318ad5d3b7ccea2f7de2ffae1e571 | refs/heads/master | 2023-08-22T20:13:45.579652 | 2013-11-30T19:39:59 | 2013-11-30T19:39:59 | 7,616,012 | 7 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,128 | h | DSB.h | /**
** Supermodel
** A Sega Model 3 Arcade Emulator.
** Copyright 2011 Bart Trzynadlowski, Nik Henson
**
** This file is part of Supermodel.
**
** Supermodel is free software: you can redistribute it and/or modify it under
** the terms of the GNU General Public License as published by the Free
** So... |
c36e6bdc4ee3b266c046a76b575662436c5dccce | 84ea17552c2fd77bc85af22f755ae04326486bb5 | /Ablaze-Core/src/Entities/Components/UI/Clickable.cpp | f9bb34531e80c7a32ca74e4be1407f5bf915e4c9 | [] | no_license | Totomosic/Ablaze | 98159c0897b85b236cf18fc8362501c3873e49f4 | e2313602d80d8622c810d3d0d55074cda037d287 | refs/heads/master | 2020-06-25T20:58:29.377957 | 2017-08-18T07:42:20 | 2017-08-18T07:42:20 | 96,988,561 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 597 | cpp | Clickable.cpp | #include "Clickable.h"
namespace Ablaze
{
namespace Components
{
Clickable::Clickable()
{
}
Clickable::Clickable(const std::function<void(const Clickable*)>& callback) : Clickable()
{
PushCallback(callback);
}
const std::vector<std::function<void(const Clickable*)>>& Clickable::GetCallbacks() ... |
b3e0e9b186c0735cd4dd2dd48928b7b9979c8d54 | c6147c6bfa21da38ee60feb120b8b5a0c2406b5b | /mapamok/src/modelView.h | b26399f30a973ed34a7b75d6692304006a7c471b | [
"MIT"
] | permissive | lexvandersluijs/ProCamToolkit | 8b63388e49efedcb9d7923192df7e1f2b41b8678 | 6760dcc68a2edeeede3f4d05c0ffd0feef1f3062 | refs/heads/master | 2020-12-25T06:07:04.380200 | 2013-10-05T12:58:48 | 2013-10-05T12:58:48 | 12,036,385 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 504 | h | modelView.h | #pragma once
class projectorView;
class modelView : public meshView
{
private:
protected:
public:
ofEasyCam cam;
void draw(ofxControlPanel& panel, float mouseX, float mouseY, projectorView* projView, ofLight& light, ofShader& shader, ofTexture* texture); //ofImage& customPicture, ofxThreadedVideo& mappingMovie)... |
0cfd13e0faf1ab08700ce9429810c271c62aaf52 | 20623fdd89c5893a4aada45873a17c585f2456db | /okno.h | cc7ac6de6a4b549c63675c3f934e608eafea3fa0 | [] | no_license | faeton-off/nowy_tetris | 0693b7e3c835bb0311e6fa3829b69b61c82a6b70 | ea26d540050118cf9de1766c7cb9ce16b794b113 | refs/heads/master | 2023-05-30T16:49:09.179229 | 2021-06-14T17:15:01 | 2021-06-14T17:15:01 | 369,294,695 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 892 | h | okno.h | #ifndef OKNO_H
#define OKNO_H
#include <QWidget>
QT_BEGIN_NAMESPACE
class QLCDNumber;
class QLabel;
class QPushButton;
QT_END_NAMESPACE
class Plansza;
class Okno : public QWidget
{
Q_OBJECT
public:
/*!
* \brief
* Tworzy interfejs programu.
*/
... |
2dc586f9fccc598d77d38654681b4a1da569ac76 | 388afeba0686c3900337ea733506f0f928301177 | /test/cc/GPIOOutput.test.cc | ea99094be556b9e20def681c78b6a8d695c68425 | [] | no_license | jsdevel/node-pi-native-tools | b6c17c7d06eb980f51a8a1950cc4d2ea7adac18b | d1cf0d87407d4e5dd0178bc186b8e27c2ff8f54a | refs/heads/master | 2020-12-30T10:50:03.334183 | 2014-01-23T08:39:45 | 2014-01-23T08:39:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,828 | cc | GPIOOutput.test.cc | #include <cstdio>
#include <iostream>
#include <unistd.h>
#include "../../src/cc/bcm2835.h"
#include "../../src/cc/GPIOOutput.h"
#include "helpers/TestVars.h"
using namespace std;
extern TestVars TEST_VARS;
#define USE_BEFORE 1
#define USE_AFTER 1
#include "helpers/assert.h"
namespace test {
GPIOOutput * gpio;
... |
160e06408aadee29b64a7c60431f52371c833270 | 31f7b80d2c0651a6a360f6f6b36b835cf1fc22e5 | /Squareroot.cpp | e3df9f30cfb273e18a622347b87a8b481a6e070d | [] | no_license | sachin-nono/codingpractice | c59ed716c95a65e6ef30e802a377617a5546fd01 | e83b9b716cb3e6b4b5d2a6e20aa7024db43ad67f | refs/heads/master | 2020-03-21T10:00:07.561785 | 2018-07-28T10:01:44 | 2018-07-28T10:01:44 | 138,428,859 | 2 | 3 | null | 2018-07-05T16:18:12 | 2018-06-23T19:42:45 | C++ | UTF-8 | C++ | false | false | 416 | cpp | Squareroot.cpp | /*
Print Integral Part of a Square Root
*/
#include<iostream>
using namespace std;
int main()
{
int squareroot(double),x;
double y;
cout<<"Enter number : ";
cin>>y;
x=squareroot(y);
cout<<endl<<"Integral Part of Square Root of "<<y<<" is : "<<x<<endl;
return 0;
}
in... |
1b1794fa3f7e8843f7a7852d0b932c78c4b07ade | 62d74675721d939baae340864c0e79d3037df189 | /inheritance/predict the output part 1/18.cpp | fce8fb9b592f11ad051ac33d2e3dd7325ae45213 | [] | no_license | shubhamkanade/cpp-program | c5fe1c85d2adac7c67ebd934c34e9b69509466d4 | 0cf279bd9cd473541a8a72bfee1f4b948d7fdaba | refs/heads/master | 2021-07-12T08:49:14.479420 | 2021-07-06T03:24:06 | 2021-07-06T03:24:06 | 172,293,386 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 363 | cpp | 18.cpp | #include<iostream>
using namespace std;
class Base
{
public:
void fun(int i)
{
cout<<"Base fun\n";
}
void fun(int i,int j)
{
cout<<"Base fun\n";
}
};
class Derived:public Base
{
public:
void fun(int i)
{
cout<<"derivde fun\n";
}
};
int main()
{
Base bobj;
Derived dobj;
bobj.fun(10);
bob... |
531ce2577505a977fda00e734cf5b64fd2ef53c3 | 1b8e1ddcb86f0a5cd018bc6b3400c8c6fb1c1984 | /server/server/CheckIn/GameMsg_S2C_CheckResult.cpp | 333f6cc3cd612b4e22b00ca0b8eeb74138f44a97 | [] | no_license | yzfrs/ddianle_d1 | 5e9a3ab0ad646ca707368850c01f8117a09f5bfd | abffb574419cc2a8a361702e012cdd14f1102a6d | refs/heads/master | 2021-01-01T03:32:51.973703 | 2016-05-12T09:27:00 | 2016-05-12T09:27:00 | 58,615,329 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,132 | cpp | GameMsg_S2C_CheckResult.cpp | #include "GameMsg_S2C_CheckResult.h"
#include "../share/ServerMsgDef.h"
GameMsg_S2C_CheckInSuccess::GameMsg_S2C_CheckInSuccess()
:GameMsg_Base(MSG_S2C_CheckInSuccess)
,m_nDayIndex(0)
,m_nMoney(0)
,m_nBindCoin(0)
{
}
GameMsg_S2C_CheckInSuccess::~GameMsg_S2C_CheckInSuccess()
{
}
bool GameMsg_S2C_CheckIn... |
54036dfb3e636204adb5a05fa87d8055393e62b6 | 18a3f93e4b94f4f24ff17280c2820497e019b3db | /BOSS/MucMappingAlg/MucChain.cxx | c96d3de10c93b9a9e573dfca8bcb7011b7147194 | [] | no_license | jjzhang166/BOSS_ExternalLibs | 0e381d8420cea17e549d5cae5b04a216fc8a01d7 | 9b3b30f7874ed00a582aa9526c23ca89678bf796 | refs/heads/master | 2023-03-15T22:24:21.249109 | 2020-11-22T15:11:45 | 2020-11-22T15:11:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,574 | cxx | MucChain.cxx | //------------------------------------------------------------------------------|
// [File ]: MucChain.cxx |
// [Brief ]: Source file of class MucChain for electronics mapping |
// [Author]: Xie Yuguang, <ygxie@mail.ihep.ac.cn> ... |
89157a01e3a3eb4cf3bc380d78696e88700363f9 | 3e0405e67a035d3b9ce31a6e83bd805b6dc94041 | /src/core/arch/x86/Tss.cc | 48a4029270793dcdba6f895b45b44330a86105db | [
"Apache-2.0"
] | permissive | IntroVirt/IntroVirt | 33ec7fab4424656717d6ccb9ee87ba77e8f69b1f | e0953d1c9a12b6e501f6a876a07d188b7b80254a | refs/heads/main | 2022-12-22T05:47:27.038862 | 2022-12-15T22:52:21 | 2022-12-16T00:50:10 | 339,445,106 | 46 | 10 | Apache-2.0 | 2022-12-08T17:01:42 | 2021-02-16T15:37:13 | C++ | UTF-8 | C++ | false | false | 1,438 | cc | Tss.cc | /*
* Copyright 2021 Assured Information Security, Inc.
*
* 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 a... |
c4ad8b247bf32bc6f5eab55200b201699d6a0536 | e018d8a71360d3a05cba3742b0f21ada405de898 | /Client/Packet/SubVampireSkillInfo.h | c7a79c3991308d530d24d414c9fa3a8a15c9602a | [] | no_license | opendarkeden/client | 33f2c7e74628a793087a08307e50161ade6f4a51 | 321b680fad81d52baf65ea7eb3beeb91176c15f4 | refs/heads/master | 2022-11-28T08:41:15.782324 | 2022-11-26T13:21:22 | 2022-11-26T13:21:22 | 42,562,963 | 24 | 18 | null | 2022-11-26T13:21:23 | 2015-09-16T03:43:01 | C++ | UHC | C++ | false | false | 2,134 | h | SubVampireSkillInfo.h | //----------------------------------------------------------------------
//
// Filename : SubVampireSkillInfo.h
// Written By : elca
// Description :
//
//----------------------------------------------------------------------
#ifndef __SUB_VAMPIRE_SKILL_INFO_H__
#define __SUB_VAMPIRE_SKILL_INFO_H__
// ... |
33a3c9e770fc176cf8487f3edb10cbebfafa59bb | e47af45932cb22b98ed24290125c4a07f733fb1f | /src/components/gates/ComponentOR.cpp | b83fc87888fff3bcc3723246edb6d11f2ada32b8 | [] | no_license | lmallez/cpp_nanotekspice | 67e1af235ad6ea50b8517b8a491b15a26f4b0943 | a6bdfaf697132d1747f9d8ae211529a64870105b | refs/heads/master | 2020-03-09T12:28:48.832123 | 2018-03-04T22:19:48 | 2018-03-04T22:19:48 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 591 | cpp | ComponentOR.cpp | //
// EPITECH PROJECT, 2018
// cpp_nanotekspice
// File description:
// ComponentOR.cpp
//
#include "ComponentOR.hpp"
nts::ComponentOR::ComponentOR(std::string name) :
AGate(name, 3)
{
_pin.push_back(new PinComponentIn(this));
_pin.push_back(new PinComponentIn(this));
_pin.push_back(new PinComponentOut(this));}
... |
ced3f9b24a3e3e28e37e608c4f8e611807f83079 | 24cb2f3077d7be088ff4af406455c05a076391cc | /EmptyProject/first_game_page.cpp | 4f4d6f9e47d682a96dae4ed81ed29b2022e84980 | [] | no_license | yj310/DirectXGamePractice_210405 | 673dd68eb223191b7bdfbd9873058d845a1b7fc2 | 2c6ac62c4aa99e0fd7ea2c4614c03e57b345b21a | refs/heads/main | 2023-04-03T16:14:47.717419 | 2021-04-11T13:46:14 | 2021-04-11T13:46:14 | 354,835,360 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 7,616 | cpp | first_game_page.cpp | #include "DXUT.h"
#include "first_game_page.h"
#include <stack>
using namespace std;
FirstGamePage::FirstGamePage()
{
player = new Player();
myLand = 0;
backgroundTex = new LPDIRECT3DTEXTURE9();
D3DXCreateTextureFromFileExA(
DXUTGetD3D9Device()
, "resource/image/firstGame_background.png"
, D3DX_DEFAULT_NONP... |
6e62e96bfd3132332b180ef89dfb47c691f55f27 | d0ad8a66f04fce39af58393df458d20eecbf756e | /aplcore/include/apl/touch/utils/velocitytracker.h | c9c1d39364e15a6589d533505306b8bcea5ed784 | [
"Apache-2.0"
] | permissive | alexa/apl-core-library | 894b17b2aa38bfef3f4df1f2fe2ba1037a89485d | e3a15ae5ad1b85bf7ab3de4bc2e9688dc554e060 | refs/heads/master | 2023-08-13T20:54:09.374712 | 2023-07-06T21:24:03 | 2023-07-06T21:45:49 | 209,385,722 | 35 | 16 | Apache-2.0 | 2021-04-16T17:45:30 | 2019-09-18T19:14:15 | C++ | UTF-8 | C++ | false | false | 2,832 | h | velocitytracker.h | /**
* Copyright Amazon.com, Inc. or its affiliates. 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.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0/
*
* or in the "license" ... |
d877b764703a24775b9f6cb526d1facc5c2fba64 | dec4e6d85543706046b6d96f8e7ad2a5641d7b44 | /Protocol/objectdescription.cpp | e47a31bfb9721c69ab10ae63ba748c9413bf5eaa | [] | no_license | xorde/xoTools | 31c2d734c8e389355f50837fbc0c132dba76f718 | aea76df25f6776a8f388ac1130307a9d9d32a614 | refs/heads/master | 2022-11-10T13:50:58.868177 | 2020-06-30T14:13:20 | 2020-06-30T14:13:20 | 277,187,985 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,816 | cpp | objectdescription.cpp | #include "objectdescription.h"
ObjectDescriptionHeaderV2::ObjectDescriptionHeaderV2()
{
memset(this, 0, sizeof(ObjectDescriptionHeaderV2));
version = 2;
_verid = 0xF;
}
ObjectDescriptionHeaderV3::ObjectDescriptionHeaderV3()
{
memset(this, 0, sizeof(ObjectDescriptionHeaderV3));
version = 3;
_ve... |
d2ee36bf251de38b2fb82d6f815f046174ecca3a | e07e3f41c9774c9684c4700a9772712bf6ac3533 | /app/Temp/StagingArea/Data/il2cppOutput/System_System_Net_Mail_SmtpException1190166745.h | 582554a5d3118c566fbf95da62c52bca33465b7f | [] | no_license | gdesmarais-gsn/inprocess-mobile-skill-client | 0171a0d4aaed13dbbc9cca248aec646ec5020025 | 2499d8ab5149a306001995064852353c33208fc3 | refs/heads/master | 2020-12-03T09:22:52.530033 | 2017-06-27T22:08:38 | 2017-06-27T22:08:38 | 95,603,544 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,061 | h | System_System_Net_Mail_SmtpException1190166745.h | #pragma once
#include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <stdint.h>
#include "mscorlib_System_Exception1927440687.h"
#include "System_System_Net_Mail_SmtpStatusCode887155417.h"
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ... |
263c6c9d168234ec759229b38dfeddfde0d2e0aa | 90d253b075c47054ab1d6bf6206f37e810330068 | /BOI/2018/paths.cpp | badc09b36e5589f184adcf0121053919f6211e46 | [
"MIT"
] | permissive | eyangch/competitive-programming | 45684aa804cbcde1999010332627228ac1ac4ef8 | de9bb192c604a3dfbdd4c2757e478e7265516c9c | refs/heads/master | 2023-07-10T08:59:25.674500 | 2023-06-25T09:30:43 | 2023-06-25T09:30:43 | 178,763,969 | 22 | 8 | null | null | null | null | UTF-8 | C++ | false | false | 826 | cpp | paths.cpp | #include <bits/stdc++.h>
#define int long long
using namespace std;
int N, M, K;
int c[300000];
vector<int> graph[300000];
int dp[300000][32];
int ans = 0;
int dfs(int id, int left){
if(dp[id][left] >= 0){
return dp[id][left];
}
dp[id][left] = 0;
for(int i : graph[id]){
if(!(left & (1... |
57e47cb5f15727fc4061f5b45225b3952b44d77a | fd57ede0ba18642a730cc862c9e9059ec463320b | /ml/nn/driver/sample/SampleDriver.h | 9796a8c3bd7a718af6c549d2b206ca08969e460a | [
"Apache-2.0"
] | permissive | kailaisi/android-29-framwork | a0c706fc104d62ea5951ca113f868021c6029cd2 | b7090eebdd77595e43b61294725b41310496ff04 | refs/heads/master | 2023-04-27T14:18:52.579620 | 2021-03-08T13:05:27 | 2021-03-08T13:05:27 | 254,380,637 | 1 | 1 | null | 2023-04-15T12:22:31 | 2020-04-09T13:35:49 | C++ | UTF-8 | C++ | false | false | 10,074 | h | SampleDriver.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 requir... |
d1d2e8aa9568b46381def7e0cda468bf5093e17c | 164c043f88bfeb0157e0a852bd9b41635bba32fa | /MovingPixels/src/testApp.cpp | cb07d2b02d3272a67f004867d3658d4585115d06 | [] | no_license | tokujin/MS2Final | 507773bb402c1dac6de85d1824b10d052babd351 | c7eb9032a89b1a89c883eaa5659f642fedad4c91 | refs/heads/master | 2016-09-06T10:37:29.793898 | 2013-05-08T17:18:24 | 2013-05-08T17:18:24 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,453 | cpp | testApp.cpp | /************************************************************************
* Copyright (c) Nori & Mehdi *
* *
* *
* Written: 2013.05.10... |
53cd9efed70f48edee62a28014c34d2cfff6689b | 9da52aa798484428d4620b115febfafb0cadc756 | /dispositif/Cubicle/gestionfichier.cpp | 3807be4b3717dce0ae7967571310e799380fc199 | [] | no_license | ppff/Cubicle-GUI | 83644b5aa10912831f263e766d58733074f93e05 | d467d1da91a2fe11704db8a23a90622b69ea054a | refs/heads/master | 2021-01-25T05:57:56.645808 | 2015-06-12T07:15:27 | 2015-06-12T07:15:27 | 35,814,339 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,317 | cpp | gestionfichier.cpp | #include "gestionfichier.h"
using namespace std;
GestionFichier::GestionFichier()
{
}
void GestionFichier::ouvrir(QString empl,Cube c){
QFile file(empl);
if(!file.open(QIODevice::ReadWrite | QIODevice::Text)){
qDebug()<<"le fichier n'est pas ouvert";
return;
}
QTextStream flux(&file)... |
793ee8cde7c9fdab19d511b76ba8824a7e611fe6 | b07109df165c62585dd217c26ccb62430eb4be25 | /DFSandBFS.cpp | a7396df72cc4c6a673457671dae778f2d5e07997 | [] | no_license | LakshmiAnuroopaAnala/CPP | 1f70209468bda9b920a5caa0e7d43dc1fe4fcf4e | 33ec5ea7c2a961182c819602ba8ad1a20a2fc413 | refs/heads/main | 2023-06-09T19:21:33.679623 | 2021-07-03T11:09:28 | 2021-07-03T11:09:28 | 318,822,589 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 708 | cpp | DFSandBFS.cpp | #include<bits/stdc++.h>
using namespace std;
vector<int> adj[10000];
void dfs(int node,int prt)
{
cout<<node<<" ";
for(auto i:adj[node])
{
if(i!=prt)
{
dfs(i,node);
}
}
}
void Bfs(int node,int ptr)
{
queue<pair<int,int>> q;
q.push({node,ptr});
while(!q.empty())
{
auto it=q.front()... |
d3c525bbe2d41911fcd566edc7992eee6c70e46f | 5ac13fa1746046451f1989b5b8734f40d6445322 | /minimangalore/Nebula2/code/UrbanExtreme/inc/states/startmenustate.h | 4cc98c990d31e774f89cf3e0e52d43251b63d5d4 | [] | no_license | moltenguy1/minimangalore | 9f2edf7901e7392490cc22486a7cf13c1790008d | 4d849672a6f25d8e441245d374b6bde4b59cbd48 | refs/heads/master | 2020-04-23T08:57:16.492734 | 2009-08-01T09:13:33 | 2009-08-01T09:13:33 | 35,933,330 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 839 | h | startmenustate.h | #ifndef GAMEMENU_H
#define GAMEMENU_H
#include "application/app.h"
#include "application/gamestatehandler.h"
#include "gui/nguieventhandler.h"
#include "gui/nguicanvas.h"
class nGuiBrush;
class nGuiTextLabel;
class nGuiButton;
class GameMenuState :
public Application::GameStateHandler,
public nGuiEve... |
50f155ea5eedadff7e1a521e27d104994a6c7bed | 1e9c314b4fc20a842f587b56b26eff3f9ce50e8c | /sbml_cvode/example/cpp/vct_sim_ss/QSP_vct_ss.cpp | 6504c4470753853b2f8aa906be073acbd5118c40 | [
"MIT"
] | permissive | popellab/SPQSP_IO | bd84070f044cfffc702379fdfedccd420b9f996b | eca3ea55ec2f75b0db5d58da09500ddffabc001d | refs/heads/main | 2023-06-14T05:40:25.120050 | 2021-04-27T14:45:26 | 2021-07-09T14:55:26 | 384,192,318 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,541 | cpp | QSP_vct_ss.cpp | /*
################################################################################
# #
# #
# ... |
4958a7bd9dabbccbabd4705858374d5110e8fbee | 8c881345865a01b5c63a5bb076f126403716420c | /easyx-游戏程序范例/打字母/Cla_LivingThings.cxx | 0bdb0140cd40e9e132fb56920fdf08da41abd0b8 | [] | no_license | Asher-1/C_Plus_Plus-projects | f758df626de074a5a5071c6bf1ae08cfb5c4d2e3 | 56941f1a76cf1645df5cc0fcb5529eddc64643f2 | refs/heads/master | 2022-01-28T13:03:24.493838 | 2019-05-30T13:06:35 | 2019-05-30T13:06:35 | 160,189,947 | 3 | 2 | null | null | null | null | GB18030 | C++ | false | false | 3,156 | cxx | Cla_LivingThings.cxx | /***********************************************
//函数名称:Cla_LivingThings类
//函数说明:为活体运动类创建的父类
//函数作者:百度:haha1111111113
//函数版本:1.1.4
//完成时间:2013.4.25
//最后修改时间:2013.5.19
//版权:GPL标准
***********************************************/
#include "stdafx.h"
#include "Cla_LivingThings.h"
int Cla_LivingThings::CreateLifeTotalNumbe... |
d3cde18e8bc583d45f65438cb0047ea8ac119ed1 | fa1ad2e2ac7e376fc7cb3b3a6e1bb88eed3e80be | /dts/inlong/inlong-tubemq/tubemq-client-twins/tubemq-client-cpp/include/tubemq/tubemq_config.h | c5090e0e71dcd3c8d003a6d1a5087ad772e0237a | [
"Apache-2.0",
"MIT",
"LicenseRef-scancode-compass",
"BSD-3-Clause"
] | permissive | alldatacenter/alldata | 7bc7713c9f1d56ad6b8e59ea03206d1073b7e047 | 8d5f9a2d49ab8f9e85ccf058cb02c2fda287afc6 | refs/heads/master | 2023-08-05T07:32:25.442740 | 2023-08-03T13:17:24 | 2023-08-03T13:17:24 | 213,321,771 | 774 | 250 | Apache-2.0 | 2023-09-06T17:35:32 | 2019-10-07T07:36:18 | null | UTF-8 | C++ | false | false | 8,576 | h | tubemq_config.h | /**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you... |
769bb0506befe5019433ae581c8b19f8b04f7614 | 0ac7f4132bede7a860c5dd3e22622f1f1d26e0dd | /lib/sdl_main.hpp | 20670206a817e58f67f22ad337d272318193b120 | [
"BSD-3-Clause",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | adityaIyerramesh98/glvis | d93b7d86eaa39430ecf18855fd6a7b1d2db0e2ff | 9b5587eedf796dffd657a0bd8b327256cb5a6e7d | refs/heads/master | 2023-07-16T00:38:53.076195 | 2021-07-23T05:58:11 | 2021-07-23T05:58:11 | 388,872,217 | 1 | 0 | BSD-3-Clause | 2021-07-23T17:08:29 | 2021-07-23T17:08:27 | null | UTF-8 | C++ | false | false | 4,482 | hpp | sdl_main.hpp | // Copyright (c) 2010-2021, Lawrence Livermore National Security, LLC. Produced
// at the Lawrence Livermore National Laboratory. All Rights reserved. See files
// LICENSE and NOTICE for details. LLNL-CODE-443271.
//
// This file is part of the GLVis visualization tool and library. For more
// information and source co... |
5c37add1ac5bd32494f6b42d3b494bfdf02edf14 | e18f26150849f066fffe2094e3a6f7ac5d431587 | /example/access_specifier_base.cpp | 6e61c6b03a6145abbdafb7e37302b4d354b270c4 | [
"MIT"
] | permissive | HyeockJinKim/WeakKeywordCpp | 44a22f46fbe5188eb4f8414e00eca6c4da72d3f3 | a4826552d5c4aaca1bef8380961ca587b0d0b6f2 | refs/heads/master | 2021-06-25T22:28:33.096474 | 2019-06-02T18:52:14 | 2019-06-02T18:52:14 | 129,759,950 | 5 | 2 | MIT | 2019-04-25T15:02:54 | 2018-04-16T14:51:50 | Java | UTF-8 | C++ | false | false | 338 | cpp | access_specifier_base.cpp | class A {
public:
int generate() {
return 0;
}
};
class B : public A {
int b;
private:
bool isA;
void go() {}
protected:
int num(int a, int b) {
return a+b;
}
public:
void hello() {}
virtual void f() {}
};
int main() {
A* a = new A;
B* b = static_cast<B*>(a)... |
e20c986b3c875e2b35cddda0aadc582b05ec3287 | b3ff614159b3e0abedc7b6e9792b86145639994b | /math/game-theory/state-graph/keep_moving.cpp | 28dd0c3254787110e32492dd5f7cb52cab3c02ca | [] | no_license | s-nandi/contest-problems | 828b66e1ce4c9319033fdc78140dd2c240f40cd4 | d4caa7f19bf51794e4458f5a61c50f23594d50a7 | refs/heads/master | 2023-05-01T06:17:01.181487 | 2023-04-26T00:42:52 | 2023-04-26T00:42:52 | 113,280,133 | 0 | 0 | null | 2018-02-09T18:44:26 | 2017-12-06T06:51:11 | C++ | UTF-8 | C++ | false | false | 2,300 | cpp | keep_moving.cpp | // game theory (dfs on game state graph)
// https://toph.co/p/keep-moving
#include <bits/stdc++.h>
using namespace std;
using ll = long long;
using vi = vector<int>;
#define rep(i, a, b) for(auto i = (a); i < (b); ++i)
#define trav(a, x) for(auto& a: x)
#define all(a) begin(a),end(a)
#define sz(a) (int)a.size()
str... |
b2756af26114de6a9c76eac22a9c81982c45035f | 9a6d93512d40eb7b67c071a68e2e9b1bf66f2df8 | /NetworkProject_02/NetworkProject_02/chatDialog.cpp | f6ef5f301be70f77cacc36d7f9b00419ca9ca144 | [] | no_license | hyyg123/Multicast-Chatting-Program | 959c1efc2916fb6b92dca92688bda4ac3786de40 | 056a199753f66ac59ee77e684865bff07455561b | refs/heads/master | 2016-09-13T23:00:39.089413 | 2016-05-14T09:56:02 | 2016-05-14T09:56:02 | 58,800,843 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 18,180 | cpp | chatDialog.cpp | //#pragma comment(lib, "ws2_32")
#include "MulticastHandler.h"
#include <windows.h>
#include <windowsx.h>
#include <tchar.h>
#include <time.h>
#include <chrono>
#include <atlstr.h>
using namespace std;
// 컨트롤들의 아이디값
#define ACC_BTN 10
#define SEND_BTN 11
#define IP_EDIT 100
#define PORT_EDIT ... |
5333861ba26978d22c573efa4d56b85566842aae | 643c81df57fee3f9ddb6596970db9767080c183f | /OOP_Project_04/CUpdater.h | 2d1392bd61551d91935f6d85a2d6ff4075031321 | [] | no_license | geumkang/Design_Pattern_MFC_Shooting_Game | c96d4f24a8533cb6a76c85e353dd959bf7866ad2 | 6397965850fcae48d47dad4452be89b75c250330 | refs/heads/master | 2020-04-09T02:20:50.988194 | 2018-12-07T09:10:04 | 2018-12-07T09:10:04 | 159,937,356 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 98 | h | CUpdater.h | #pragma once
class CUpdater
{
public:
virtual void Update() = 0;
virtual void Pause() = 0;
};
|
8d269331a66999a61290979d81ec344b448bb878 | bdc27c22522a99b5bff2ec4cfa95fadcba65747d | /source/adios2/engine/ssc/SscReaderNaive.h | 5e815a5823fd0661d8becdccdeab8c08a2df592a | [
"Apache-2.0"
] | permissive | ornladios/ADIOS2 | a34e257b28adb26e6563b800502266ebb0c9088c | c8b7b66ed21b03bfb773bd972d5aeaaf10231e67 | refs/heads/master | 2023-08-31T18:11:22.186415 | 2023-08-29T20:45:03 | 2023-08-29T20:45:03 | 75,750,830 | 243 | 140 | Apache-2.0 | 2023-09-14T11:15:00 | 2016-12-06T16:39:55 | C++ | UTF-8 | C++ | false | false | 1,897 | h | SscReaderNaive.h | /*
* Distributed under the OSI-approved Apache License, Version 2.0. See
* accompanying file Copyright.txt for details.
*
* SscReaderNaive.h
*
* Created on: Mar 7, 2022
* Author: Jason Wang
*/
#ifndef ADIOS2_ENGINE_SSCREADERNAIVE_H_
#define ADIOS2_ENGINE_SSCREADERNAIVE_H_
#include "SscReaderBase.h"
#in... |
5f73517ff8b59e3289c30d381ba67d3c5fb56081 | f9c64e4c839c0c7549b5171ea7559a923a7bb0b4 | /algo2tp3/usorecursos.cpp | 6e18b267e84fdefa0a22d09ddc94989464a65684 | [] | no_license | aaronson/AED2 | d7ac535d3257be5a50e502c79f8bea13006b00a7 | a6bed36787fcb9daee1a34128555f1fd238a61f8 | refs/heads/master | 2021-01-25T06:05:49.440651 | 2013-03-16T21:37:20 | 2013-03-16T21:37:20 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,306 | cpp | usorecursos.cpp | #include "usorecursos.h"
Usorecursos::Usorecursos(){
}
Usorecursos::Usorecursos(recursos r){
unsigned int n = r.cantElemDistintos();
recursos::iterador it(r.crearIt());
rec* ar = new rec[n];
//cout << r.cardinal(0)<< endl;
unsigned int temp = 0;
while (it.hayMas()){
temp = it.actual();
ar[temp].total = r.c... |
d05c0c5ab23206d07d9a02856b0f7dc3be22c053 | fab6f199e628aaa2e5e06fb3d0c9a50ea60edbfc | /codes/14.longest-common-prefix.cpp | 0d7eb75d771e0c49bcaf273ed43ee52a97b32516 | [] | no_license | sunmiaozju/leetcode | 76a389a0ef6b037a980749ca333d455480e5fa63 | a7e52930ed5467ca1e500b0af7847ade9b38f165 | refs/heads/master | 2020-07-21T18:49:43.843343 | 2020-06-25T15:47:58 | 2020-06-25T15:47:58 | 206,946,122 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,379 | cpp | 14.longest-common-prefix.cpp | /*
* @lc app=leetcode id=14 lang=cpp
*
* [14] Longest Common Prefix
*
* https://leetcode.com/problems/longest-common-prefix/description/
*
* algorithms
* Easy (34.02%)
* Likes: 1565
* Dislikes: 1431
* Total Accepted: 525.7K
* Total Submissions: 1.5M
* Testcase Example: '["flower","flow","flight"]'
... |
cce80ea032736c165eef996ffed7b34e4017ab3f | de9adb25cc3e3cff81249d809ea198f9d55c28e4 | /src/node.cc | 4261a7a8bef542c383f3f4490e97c173dbf22240 | [
"MIT"
] | permissive | ethz-asl/rgbd_segmentation | 6f44c83e16d2e2094f3bceeb03445b0713c4f4bf | daafa0276d7c0d935acec087a7febc45847b53d9 | refs/heads/master | 2023-09-04T04:40:33.187150 | 2021-10-19T08:59:48 | 2021-10-19T08:59:48 | 157,723,310 | 10 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 671 | cc | node.cc | #include <glog/logging.h>
#include "rgbd_segmentation/rgbd_segmentation.h"
int main(int argc, char** argv) {
std::cout << std::endl
<< "RGB-D segmentation ROS node - Copyright (c) 2020- "
"Margarita Grinvald, Autonomous "
"Systems Lab, ETH Zurich."
<< std::endl
... |
654a2adeb82d76c33862acbd45da76fab773bd46 | 93aedbc5300998a5087b17b0370b8dee87c7127b | /libdbapi/SqlConnection.hpp | 5863e10befbf127b7b97d59cf10ae36574622e0e | [] | no_license | falquaddoomi/cs118-project1 | 848c3d5cdb203fe58c8e6cb769d1a209768dc53b | e02e9a307efbac477c9f89d68fc1a423cb1673fc | refs/heads/master | 2021-01-16T18:06:01.315683 | 2013-02-18T07:36:18 | 2013-02-18T07:36:18 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,493 | hpp | SqlConnection.hpp | #ifndef INCLUDE_up_db_SqlConnection_hpp
#define INCLUDE_up_db_SqlConnection_hpp
#include "SqlConnection.h"
namespace up {
namespace db {
template <typename TKey, typename TConnection>
SqlConnection<TKey, TConnection>::SqlConnection(TConnection const &connection):
m_connection(connection),
m_pool(m_conne... |
9cf36658913fbe48fb0a234af9afa42e2984a4a2 | 303e693dd45ded2d65eed959a5aa9e0f9cf49649 | /src/cards/CardReader.h | d0e26a1e8537e9fc21a788464e172d902b88b1d1 | [] | no_license | jleveau/Uno | 1099306a3da957c8571fa5fbb39d8218c458b472 | ab24e0f21e08aa2f8c883891f65b3d5691f73d6e | refs/heads/master | 2021-01-17T18:30:51.718344 | 2016-12-20T18:13:19 | 2016-12-20T18:13:19 | 71,471,430 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 374 | h | CardReader.h | //
// Created by julien on 09/10/16.
//
#ifndef GRAPH_CARDREADER_H
#define GRAPH_CARDREADER_H
#include <string>
#include "Card.h"
#include "vector"
class CardReader {
public:
std::vector<Card *> *readCards(const std::string path, int &nb_color, int &nb_number);
CardReader();
virtual ~CardReader();
p... |
507a6e870a622e2f6fd502d7eef26cd38a6c4c29 | 9c250214a3f17c4bff80bc6bd866c4de0b0b38bc | /src/developer/shell/interpreter/src/types.h | 33b44dd180ff83ec3eec9251a2d341805eabfcdd | [
"BSD-3-Clause"
] | permissive | sysidos/fuchsia | e4d83bbdeec58e429aa24289a414ddf9dbd60ac3 | 0c00fd3c78a9c0111af4689f1e038b3926c4dc9b | refs/heads/master | 2021-02-15T13:02:02.231060 | 2020-03-03T22:02:18 | 2020-03-03T22:02:18 | 244,899,807 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,082 | h | types.h | // Copyright 2020 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef SRC_DEVELOPER_SHELL_INTERPRETER_SRC_TYPES_H_
#define SRC_DEVELOPER_SHELL_INTERPRETER_SRC_TYPES_H_
#include "src/developer/shell/interpreter/src/no... |
1b49e149e32fa1fb8374d9f190b4e27906fb3e09 | 7ec5d6bdb52c2693af01686bc8678d951d06429e | /application_kit/Scripter/ScriptWorld/ScriptView.cpp | b36e7a21828769ab250ca21865e04c7621011b69 | [
"BSD-2-Clause"
] | permissive | HaikuArchives/BeSampleCode | c3787cc3a5b8134cc73fb0b5428a6276ed3f7e46 | ca5a319fecf425a69e944f3c928a85011563a932 | refs/heads/haiku | 2021-09-12T14:36:35.392130 | 2018-04-17T16:48:46 | 2018-04-17T16:48:46 | 82,111,290 | 8 | 6 | NOASSERTION | 2023-09-09T16:13:53 | 2017-02-15T22:01:51 | C++ | UTF-8 | C++ | false | false | 5,014 | cpp | ScriptView.cpp | /*
ScriptView.cpp
Copyright 1997 Be Incorporated, All Rights Reserved.
*/
/*
Copyright 1999, Be Incorporated. All Rights Reserved.
This file may be used under the terms of the Be Sample Code License.
*/
#ifndef SCRIPT_VIEW_H
#include "ScriptView.h"
#endif
#ifndef _ROSTER_H
#include <Roster.h>
#endif
#include ... |
d0d4a7da273664929a766a315598dd4ae04d4158 | edbef27bc07015f90dc0ef885a122a7585b38f64 | /examples/cpp_models/cooperative_minefield/src/cooperative_minefield/cooperative_minefield.h | 827ee5df6dce44e556b12f9860e9c0d7a21d2640 | [] | no_license | lounick/despot | f295951039e46b80e3da5362df4aebe5d6c50c18 | 2434243c4c637c327e577234286dab51730266ad | refs/heads/master | 2020-04-05T23:07:03.909936 | 2016-10-02T16:17:37 | 2016-10-02T16:17:37 | 62,072,297 | 0 | 0 | null | 2016-06-27T16:48:38 | 2016-06-27T16:48:38 | null | UTF-8 | C++ | false | false | 1,010 | h | cooperative_minefield.h | //
// Created by jim on 30/6/2016.
//
#ifndef DESPOT_COOPERATIVE_MINEFIELD_H
#define DESPOT_COOPERATIVE_MINEFIELD_H
#include <despot/core/pomdp.h>
#include <despot/core/mdp.h>
#include "base/base_cooperative_minefield.h"
#include <despot/util/coord.h>
#include <despot/util/grid.h>
namespace despot{
/* =============... |
65c38b0fe0ce323bf3e0c7a2aa08f7d1cae724e4 | b351fc983e964ee732946fa300785280d27e6f4e | /Physics/Particle.cpp | 97d155ddd6e6a00b419e2fbdd70a4b7404b3110c | [
"Apache-2.0"
] | permissive | sewaiper/Engine2DM | 050980fa9dc8b784b692f70b118a65f317a00164 | 85925295878ccbc351cb4e58becf0a8953dd0dfe | refs/heads/master | 2022-12-26T02:15:09.615903 | 2020-09-23T16:35:31 | 2020-09-23T16:35:31 | 298,030,326 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,906 | cpp | Particle.cpp | #include <iostream>
#include <cmath>
#include <SFML/Graphics.hpp>
#include "Vector.hpp"
class Particle : public sf::RectangleShape {
public:
float Mass;
float Scale;
Vector2 Acceleration;
Vector2 Velocity;
Vector2 Position;
// Forces
Vector2 AppForce;
Vector2 Frictional;
float Drag;
flo... |
3344280c33f2b00e13fa92af330c8867d4fd6277 | 83e9408e7a6c21d1357594715f631865142528e6 | /oj/hzoj/174.cpp | 56682d78bab70565863945931f451a7aeaf03895 | [] | no_license | chill-cy/Data-Structure | 0027ffbbc10c765f555951c678cf28b89494cb68 | b325de5781f9f3f00aec7724dcbbb680b1e5dcc9 | refs/heads/master | 2022-03-28T15:29:37.437731 | 2020-01-12T09:01:20 | 2020-01-12T09:01:20 | 197,802,813 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 583 | cpp | 174.cpp | /*************************************************************************
> File Name: 174.cpp
> Author:jiangxiaoyu
> Mail:2291372880@qq.com
> Created Time: 2019年07月03日 星期三 11时53分14秒
************************************************************************/
#include<iostream>
#include <cstring>
#include <string... |
9dda96d82433eb5dc67c5ba78529331a69261ea2 | 73607fd03628f5f346cdbcad83b4b4c9619d7c99 | /lwr_oro_bridge/src/lwr_oro_bridge-component.hpp | 80ecf74c8cfb9cef360c0c5d197bd5124ec8de91 | [] | no_license | basti35/lwr_tools | 7a8caad42c19639428dcb0a02cee9f79bfe9c306 | c8f4b8ec2a9b307ef4d22cfb729ba90d21cbf4d5 | refs/heads/master | 2016-09-05T19:48:22.952196 | 2015-07-03T14:50:46 | 2015-07-03T14:50:46 | 38,485,933 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,197 | hpp | lwr_oro_bridge-component.hpp | #ifndef OROCOS_LWR_ORO_BRIDGE_COMPONENT_HPP
#define OROCOS_LWR_ORO_BRIDGE_COMPONENT_HPP
#include <rtt/RTT.hpp>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <errno.h>
#include <kdl/frames.hpp>
#include <kdl/frames_io.hpp>
#include <lwr_oro_bridge/friComm.h>
#include <FRILibrary/FastResearchInt... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.