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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
57d8977b110ecf05339c91cc08180c419a296f6c | 6243026351c5bb42a52c3c5e0a028f278e378471 | /Minigin/TextureManager.h | e9cc1fa78a94d11dddd06a021753b68ebe07781c | [] | no_license | jsilva96/Exam_Assignment | aceef5bf6dbff420956dbd9df53dbb0f7c26e0cc | 5fbc5cf418ca3378672e9ea8a067926911cab74e | refs/heads/master | 2022-01-14T14:22:25.328627 | 2019-05-26T20:35:23 | 2019-05-26T20:35:23 | 186,192,683 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 390 | h | TextureManager.h | #pragma once
#include "Singleton.h"
#include <map>
namespace dae
{
class Texture2D;
}
class TextureManager : public dae::Singleton<TextureManager>
{
public:
TextureManager() = default;
~TextureManager();
dae::Texture2D* GetTexture(const std::string& path);
private:
dae::Texture2D* CreateNewTexture(const std::st... |
a2683eacc8b034f6f2246d242b8e310c86b7cb50 | 6c49d899439d3decf463c553fbc1038f6aade1cb | /Soar-SC/Source/Soar_Link.h | 369ea26c69302a9ed78a77a9dd368b0bb00dc476 | [] | no_license | Sonophoto/Soar-SC | 668ef6634ada1d0525e3994aa539cf66fdff46d0 | 8c6e6752de57df172d813d036700c5bc555c32a9 | refs/heads/master | 2021-01-12T22:07:47.031277 | 2013-06-04T20:47:33 | 2013-06-04T20:47:33 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,872 | h | Soar_Link.h | #ifndef SOAR_LINK_H
#define SOAR_LINK_H 1
//SDL Headers
#include "SDL/SDL_thread.h"
#include "SDL/SDL_mutex.h"
//SML Headers
#include "sml_Client.h"
//C++ Standard Library Headers
#include <iostream>
#include <fstream>
#include <vector>
//Windows Headers
#include <windows.h> //For windows related fu... |
7273e13dbbe5b22c3b0285f2285211c1baef011b | 5f02aa5e3449c9d3002c8a248b67e965d377cedf | /Source-32-Bit/Page512.cpp | ade829bd414efe4203a3f6f165624afba55459df | [] | no_license | YYGYYGyy/LSPC-Loading-Simulation-Program | bb94fe04d4b620d6afd30b9d40eb582b84283a0b | 2f846c6719088642178a636ed3ae7630d8df9afd | refs/heads/master | 2021-09-24T04:46:44.649224 | 2018-03-07T19:05:35 | 2018-03-07T19:05:35 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,263 | cpp | Page512.cpp | // Page512.cpp: implementation of the CPage512 class.
//
//////////////////////////////////////////////////////////////////////
#include "stdafx.h"
#include "lspc.h"
#include "Page512.h"
#include "MainFrm.h"
#include "LSPCView.h"
#include "LSPCDoc.h"
#include "LSPCMODEL.h"
#ifdef _DEBUG
#undef THIS_FILE
static char T... |
16bad6d458bb43db33857d8fa946abd425c09688 | f5303bee9003fe3ace6f82fa69de0377cea45cd8 | /cli/src/list.cpp | 608f2008920ef87405a68c0218474dcd1e1aa319 | [
"MIT"
] | permissive | rdmenezes/exodusdb | 82c55d8c43934c30821dd2a752e83c1d792e154a | f732e366b74ff4697890ec0682bc3697b8cb0bfb | refs/heads/master | 2021-01-16T00:27:49.522747 | 2014-12-24T18:01:51 | 2014-12-24T18:01:51 | 32,968,924 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 43,244 | cpp | list.cpp | /*
//Exodus Copyright (c) 2009 Stephen Bush
//Licence http://www.opensource.org/licenses/mit-license.php
This is a complete ACCESS/ENGLISH/LIST replacement that can output in DOS or HTML format.
It is an attempt to show a substantial program written in Exodus's reincarnation of Multivalue Basic.
The original P... |
545f992fcbe4ffee7b263e2627d834bb633ab1cb | 30bdd8ab897e056f0fb2f9937dcf2f608c1fd06a | /CodesNew/4167.cpp | d3948e7eb405adf5c761700ea632cbdb9b8b261e | [] | no_license | thegamer1907/Code_Analysis | 0a2bb97a9fb5faf01d983c223d9715eb419b7519 | 48079e399321b585efc8a2c6a84c25e2e7a22a61 | refs/heads/master | 2020-05-27T01:20:55.921937 | 2019-11-20T11:15:11 | 2019-11-20T11:15:11 | 188,403,594 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 983 | cpp | 4167.cpp | #include <bits/stdc++.h>
typedef long long ll;
typedef unsigned long long ull;
#define pii pair<int,int>
#define pll pair<ll,ll>
#define fo(i,a,b) for(ll i=a;i<b;i++)
#define fo_(i,a,b) for(ll i=a;i>b;i--)
#define M(a) memset(a,0,sizeof a)
#define M_(a) memset(a ,-1,sizeof a)
#define pb push_back
#d... |
acf34b871980d0a2511bcc3169b401572a6682a6 | d225fe9be015f259e83309bf59cfab11fed4db9d | /src/dll/mono_api.inl | 5aa734ed90816990aa18df77d9df79ad2140dbab | [] | no_license | juntalis/uniject | ccf9edef17c7d9bd130b1f44b80dfdb37c8c0f49 | 7f3cef728798b1266e7afb450c5c1fa262374da9 | refs/heads/master | 2021-06-08T20:20:56.921603 | 2021-04-10T07:12:21 | 2021-04-10T07:12:21 | 157,262,626 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,191 | inl | mono_api.inl | /**
* Included multiple times with different implementations of MONO_API.
*/
#ifndef MONO_API
#error MONO_API must be defined prior to including mono_api.inl!
#endif
MONO_API(void, mono_trace_set_level_string, const char*level)
MONO_API(void, mono_trace_set_mask_string, const char *mask)
MONO_API(void, mono_set_co... |
b45a8ed694b6058815bbaad042d3691eb1fbb1e3 | 29769bfa865b0c2ccdd7c958116d84c4e2e55130 | /day19/part1.cpp | 4bc52a06411702b2abdd8ab8a506e8a2493516cc | [] | no_license | CJosephides/AOC2020 | a39752fd4858fe1df62f6552154cc3d472c8f9dd | 4b0b83ff0e5cdab57e98435241ba32247bb214e8 | refs/heads/master | 2023-08-13T07:04:11.603605 | 2021-09-26T00:29:49 | 2021-09-26T00:29:49 | 390,152,164 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,821 | cpp | part1.cpp | #include <iostream>
#include <fstream>
#include <vector>
#include <string>
#include <unordered_map>
#include <cctype>
class Rule {
public:
int number;
std::vector<std::vector<int>> children_set;
char emits;
public:
Rule(int number, std::vector<std::vector<int>> children_set, c... |
5aee4e45d989b8190fa7fbabb3f93a45255aa1a2 | c19e0fad02849a09cb0e8a74b6481db2d7c285f0 | /Intel-Computer-Vision-SDK/TASS-PVL/Windows/Webcam/ConsoleApp/TASS-PVL-Windows-Console/TASS-PVL-Windows-Console.cpp | 8bab707f6d743e203b753359bd0feabafdc2bfa8 | [] | no_license | iotJumpway/Intel-Examples | dbc203dd73ba8bc085ac708c29a4cba227fbf52f | 6c557721f993545a30cc4b4edd116bc3d7429677 | refs/heads/master | 2021-09-18T13:01:30.904426 | 2018-07-14T11:21:07 | 2018-07-14T11:21:07 | 79,503,274 | 37 | 24 | null | null | null | null | UTF-8 | C++ | false | false | 19,910 | cpp | TASS-PVL-Windows-Console.cpp | /*
* Copyright 2016 Intel Corporation.
*
* The source code, information and material ("Material") contained herein is
* owned by Intel Corporation or its suppliers or licensors, and title to such
* Material remains with Intel Corporation or its suppliers or licensors. The
* Material contains proprietary information of ... |
79ecbf06a2680a452cc0faaab0857039d5d8c3e0 | e70718bc25c8c64a256c35d26321c47c84b3859a | /Ntupler/src/TDielectron.cc | a01f98420d90cff360d99e0f85c1716e12c5c227 | [] | no_license | ksung25/EWKAna | ae36ea9d63cc853ebfa73fc3f42da26e48dbda2b | 4458781d181e6fdc5364a2e25dd70e79d5c24079 | refs/heads/master | 2021-01-10T19:33:09.205898 | 2014-01-16T17:43:02 | 2014-01-16T17:43:02 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 81 | cc | TDielectron.cc | #include "EWKAna/Ntupler/interface/TDielectron.hh"
ClassImp(mithep::TDielectron)
|
c1b0b1abe04c791b637db2c48c7941f9b3937704 | 278d4d79484f3ceae7406b0e1f9f84ad31b972ea | /Pause_menu.cpp | 9fd7799a14ddae2a30f1d50bee9937f6639282c4 | [] | no_license | Rlk81/CS3398-cardassians-S2019 | cac63550332fba898277e383e2b88d7c9cad8471 | 05297e7b63d113278fd626ff40b4620e6312d513 | refs/heads/master | 2021-01-04T21:48:24.155166 | 2019-05-02T05:11:32 | 2019-05-02T05:11:32 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,947 | cpp | Pause_menu.cpp | #include "Pause_menu.h"
void Pause_menu::Pause_Menu(IO startIO, Board &b, Game &g, Difficulty &difficulty, int& lines_cleared, int& temp_score, int& score) {
//Images for menu
SDL_Surface* start_background = SDL_LoadBMP("Start_menu_background.bmp");
SDL_Surface* start_screen = SDL_SetVideoMode(640, 480, 32... |
808242a30c04880d936588b1c99ba38d2c3aeb19 | 310992385f9d9acf0c4fe97cd215025985d11bec | /components.cpp | e0956232a2824ef0fbf81cca35da1e8dff791edd | [] | no_license | nimadastmalchi/gravity-simulator | e220e938509dedfd0bd1b1d0ea4f0eb40ba5bf6c | eadad6525197cb0a627650754c451b9b09b40b2c | refs/heads/main | 2023-05-26T11:52:54.634884 | 2023-05-23T03:20:14 | 2023-05-23T03:20:14 | 333,347,022 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,872 | cpp | components.cpp | #ifndef components_cpp
#define components_cpp
#define MASS_RADIUS_MULT 10
#include "components.h"
Vector::Vector() : x(0), y(0) {}
Vector::Vector(const double& ix, const double& iy) : x(ix), y(iy) {}
double Vector::getx() const { return x; }
double Vector::gety() const { return y; }
void Vector::setx(cons... |
fc44c84422f0394adc317196f9eec5116a9b99f8 | 65e3391b6afbef10ec9429ca4b43a26b5cf480af | /HLT/TPCLib/AliHLTTPCAgent.cxx | b552a7d4bec81f0118ba7b236ea048c397621f3d | [
"GPL-1.0-or-later"
] | permissive | alisw/AliRoot | c0976f7105ae1e3d107dfe93578f819473b2b83f | d3f86386afbaac9f8b8658da6710eed2bdee977f | refs/heads/master | 2023-08-03T11:15:54.211198 | 2023-07-28T12:39:57 | 2023-07-28T12:39:57 | 53,312,169 | 61 | 299 | BSD-3-Clause | 2023-07-28T13:19:50 | 2016-03-07T09:20:12 | C++ | UTF-8 | C++ | false | false | 26,662 | cxx | AliHLTTPCAgent.cxx | // $Id$
//**************************************************************************
//* This file is property of and copyright by the *
//* ALICE Experiment at CERN, All rights reserved. *
//* *
//*... |
7f414c3815b2d2ee62ac8e36a76e52d51a76ec02 | 08447d0db2c609ddb8a673d9ad29cb95caf0125e | /src/Base.cpp | a7fc11e819f491cc0711c854ca7555b1c6fe72b6 | [] | no_license | geoliveira/cg | 1a786eb464ba34af6f94b8444630957fc8c47f58 | ff49de10987c14d9d32521dfbd1fa0eb73a2bf5a | refs/heads/main | 2023-05-04T02:53:22.890368 | 2021-05-21T21:53:21 | 2021-05-21T21:53:21 | 315,444,575 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 716 | cpp | Base.cpp | #include "Base.h"
string data_atual() {
struct tm *data;
time_t segundos;
time(&segundos);
data = localtime(&segundos);
return to_string(data->tm_mday)+"-"+
to_string(data->tm_mon+1)+"-"+
to_string(data->tm_year+1900)+"_"+
to_string(data->tm_hour)+"h"+
... |
61107bf12ab1d5f94a92239990af36aa5cdcb3db | f6cac62734ad207098db71c7a6c8d01c50b2225c | /myneuralnet.h | 88c8af9a495292ee7bfa862809e692a39149f90e | [] | no_license | khaiit/LTNC | 4a4b2d9eb1d80c1a8e3929a3e78d78c2288dcb1f | 6a01e604ff25dc72af221113b6d83ce6b51ba273 | refs/heads/master | 2021-01-01T04:59:15.867866 | 2017-07-15T01:47:21 | 2017-07-15T01:47:21 | 97,284,598 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,887 | h | myneuralnet.h | #ifndef BPNET_H
#define BPNET_H
/*********************************Cau truc Neural******************************/
struct neuron
{
float *weights; // Cac trong so dau vao neural
float *deltavalues; //gia tri delta
float output; //output
float gain;//Gain
float wgain;//Weight gain
neuron();//C... |
e84a791a082942d45f952de5e99ff1a53ac55d0a | 5f62c0d9aea206cdc633e79db8e0b2d801f0a2cf | /gie/include/gie/NodeId.h | 21ab7cb2440eb9c24e1b789d9c243c27db5fbc14 | [
"BSD-3-Clause-Clear"
] | permissive | Kerdek/gie | e681b54ebc17ff15fdd42fdcf8b4da5aaf3123ee | ebcd1aec6dc34de46145e4013afd6d5dad194a9f | refs/heads/master | 2020-12-21T23:08:21.877964 | 2019-07-23T23:44:52 | 2019-07-23T23:44:52 | 236,594,381 | 0 | 0 | BSD-3-Clause-Clear | 2020-01-27T21:03:30 | 2020-01-27T21:03:29 | null | UTF-8 | C++ | false | false | 596 | h | NodeId.h | //
// Created by alex on 7/14/19.
//
#ifndef GIE_NODEID_H
#define GIE_NODEID_H
#include <StrongAlias.h>
#include <functional>
using NodeId = StrongAlias<std::size_t, struct NodeIdTag>;
inline bool operator==(const NodeId& lhs, const NodeId& rhs) { return lhs.get() == rhs.get(); }
namespace std
{
template<> str... |
72a062e9b203ce042b0aa1849ee05b18924832d1 | a33aac97878b2cb15677be26e308cbc46e2862d2 | /program_data/PKU_raw/26/1084.c | d53650220edda7601418d391de2b3215841fac30 | [] | no_license | GabeOchieng/ggnn.tensorflow | f5d7d0bca52258336fc12c9de6ae38223f28f786 | 7c62c0e8427bea6c8bec2cebf157b6f1ea70a213 | refs/heads/master | 2022-05-30T11:17:42.278048 | 2020-05-02T11:33:31 | 2020-05-02T11:33:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 241 | c | 1084.c | int main()
{
char a[105];
int i;
gets(a);
for(i=0;a[i]!='\0';i++){
if(a[i]!=' '){
printf("%c",a[i]);
}else if((a[i]==' ')&&(a[i+1]!=' ')){
printf(" ");
}
}
return 0;
} |
cda6d0b82666b552029d052477c6fcc0695efd9f | 2af943fbfff74744b29e4a899a6e62e19dc63256 | /MistSlicer/Libs/MRML/vtkMRMLSliceCompositeNode.h | 91843f0614b449c2898284e63808c5fb7eb1b9d6 | [
"LicenseRef-scancode-3dslicer-1.0",
"BSD-3-Clause",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | lheckemann/namic-sandbox | c308ec3ebb80021020f98cf06ee4c3e62f125ad9 | 0c7307061f58c9d915ae678b7a453876466d8bf8 | refs/heads/master | 2021-08-24T12:40:01.331229 | 2014-02-07T21:59:29 | 2014-02-07T21:59:29 | 113,701,721 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 5,913 | h | vtkMRMLSliceCompositeNode.h | /*=auto=========================================================================
Portions (c) Copyright 2005 Brigham and Women's Hospital (BWH) All Rights Reserved.
See Doc/copyright/copyright.txt
or http://www.slicer.org/copyright/copyright.txt for details.
Program: 3D Slicer
Module: $RCSfile: vtkMRM... |
0949cb25ba6b04163504d6a476ea90cd738d1b01 | ccd66b3afdb74acaa99400e02dcf7cadf6a8a894 | /prg86 _copycon.cpp | 3119ca25d72c50118637f959c8a7a8bcf2b4ad63 | [] | no_license | Mrkotadiya/nirbhay_cpp | fdf298ec98604c27b62029d3a29646fa2cf69d9f | 678b40f78232f8feb4af3b51939121663f15f541 | refs/heads/master | 2023-08-01T04:20:56.512312 | 2021-09-23T11:18:10 | 2021-09-23T11:18:10 | 402,391,834 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 384 | cpp | prg86 _copycon.cpp | #include<iostream>
using namespace std;
class findage
{
int age;
public:
findage(int n)//comstructor
{
age=n;
cout<<"\n constructor called= "<<age;
}
findage(findage &new_age)//comstructor
{
age=new_age.age;
cout<<"\n constructor called= "<<age;
}
};
int... |
3859c9e8336d69e0575742db1fa662eea030b023 | 2d98f202e981b1a49eb37b6697170d803f2d215f | /Src/FM79979Engine/Core/SpineRender/SpineLoader.cpp | 473f3eddf8c4ed022ac547aca7a720142f756553 | [] | no_license | fatmingwang/FM79979 | bb1274241605f490b8e216f930a2c5aaba86f669 | 735f204bd70773c2482e15b3105a8680cf119706 | refs/heads/master | 2023-07-09T00:47:02.782514 | 2023-06-23T10:23:27 | 2023-06-23T10:23:27 | 43,816,834 | 7 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 18,245 | cpp | SpineLoader.cpp | #include "SpineLoader.h"
#include <spine/Debug.h>
#include <spine/spine.h>
#include <stdio.h>
#include <functional>
#include <tuple>
#include "SpineExtension.h"
#include "SkeletonRenderer.h"
#include "SkeletonAnimation.h"
#include "pch.h"
#include <filesystem>
using std::filesystem::directory_iterator;
... |
3bd981326d103003b158bd546cc08a2bb20f7970 | 015b33912513b609263da043d2f85bb480290175 | /pca_1.0.cpp | 7aad4826e99a30d669821a3ca0f71ea2bbd2c8cd | [
"MIT"
] | permissive | gamer240/pls-cpp-octave | 4614b18ec49ff78ae583dfc3d5487aa967bbeb4e | d288c55490e35bdedb75993392bc304a4ede80b8 | refs/heads/master | 2021-01-20T22:05:13.667768 | 2016-07-12T04:52:16 | 2016-07-12T04:52:16 | 63,126,110 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,821 | cpp | pca_1.0.cpp | #include<stdio.h>
#include<iostream>
#include<math.h>
#include<Eigen/Eigen>
#define rows 9
#define columns 4
using namespace Eigen;
using namespace std;
float calc_cov (int a, int b,float array_minusmean[rows][columns]) {
float product=0.00000;
float product_sum=0.00000;
for (int i=0;i<rows;i++){
pr... |
4f59d953ea850def579b4045fd5148e02c39fc5f | 2e3d4537e4fc5fd25a20c54c8f51928b65708ec2 | /Curves v1.0/main.cpp | 568aba9bdd116fed36578adf4d82ff6e31cbe1e9 | [] | no_license | micura/Computer-Graphics-programs | 3b64eb74bda13a29c87f8e6a0a72349cb0ec8bfa | 4927e3f8523a98aa95448eaa9054e47c2e158bfd | refs/heads/master | 2021-01-14T04:29:33.638632 | 2020-02-24T00:15:56 | 2020-02-24T00:15:56 | 242,600,187 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,046 | cpp | main.cpp | #include "freeglut/include/GL/glut.h"
#include "bevgrafmath2017.h"
#include <math.h>
GLsizei winWidth = 900, winHeight = 750;
float t1 = -2.0;
float t2 = 0.5;
float t3 = 1.5;
float z = 0.5;
#define N 11 // Pontok száma
vec2 Points[N] = {
{ 100, 600 }, //P0
{ 400, 650 }, //P1
{ 600, 550 }, //P2
{ 150, 725 ... |
4bf3b68835b4d2daa04532fe530c10d1aaac593a | f3c134a598dd76a94b07aba0fcdafa4c12b23c65 | /src/dcoady/ctype/line.cpp | f97d52b2335f5e0ffe190672653d42891b5c6ec1 | [] | no_license | deniscoady/wikidata-filter | e2805fa62c3fc29b23e66efaf93e95bb398171a1 | 3fdf79ed3e7cb5bbae35f41e28f075dd2a020625 | refs/heads/master | 2023-04-07T21:26:00.027057 | 2015-10-05T02:59:59 | 2015-10-05T02:59:59 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 330 | cpp | line.cpp | #include <dcoady/ctype/line.h>
namespace dcoady {
namespace ctype {
line::line()
: std::ctype<char>(get_table())
{
}
std::ctype_base::mask const* line::get_table()
{
static std::vector<std::ctype_base::mask>
rc(table_size, std::ctype_base::mask());
rc['\n'] = std::ctype_base::space;
return &rc... |
8cc80db9fcbc2bb25c618c5a09a4ebba81ed98d7 | 9c7f6d30ea51747f77132c7e969d7da1398cab3a | /pointers_2.cpp | 831fcded4ab1e89593ffda25ae4086ecea824e15 | [] | no_license | juanchuletas/U_CplusplusCourse | 37e2995150045ee3623bed4b6889d3e49b8903ce | 47bb13814302a5417a170fbd1cd8668f26441b3a | refs/heads/master | 2020-10-01T02:12:27.659472 | 2019-12-11T19:49:23 | 2019-12-11T19:49:23 | 227,430,840 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 792 | cpp | pointers_2.cpp | #include<iostream>
#include<string>
#include <sstream>
int main()
{
int givenInt;
float givenFloat;
double givenDouble;
std::string givenString;
char givenChar;
std::cin>>givenInt;
std::cin>>givenFloat;
std::cin>>givenDouble;
//We need to use cin.ignore so cin will ignore
//... |
16f1499169f2ac332f43d92da51624e3c1eff2bc | 5499e8b91353ef910d2514c8a57a80565ba6f05b | /zircon/system/ulib/fs/include/fs/ticker.h | e560c2a5d2fb91cbb90512d1fd4170c26a47f485 | [
"BSD-3-Clause",
"MIT"
] | permissive | winksaville/fuchsia | 410f451b8dfc671f6372cb3de6ff0165a2ef30ec | a0ec86f1d51ae8d2538ff3404dad46eb302f9b4f | refs/heads/master | 2022-11-01T11:57:38.343655 | 2019-11-01T17:06:19 | 2019-11-01T17:06:19 | 223,695,500 | 3 | 2 | BSD-3-Clause | 2022-10-13T13:47:02 | 2019-11-24T05:08:59 | C++ | UTF-8 | C++ | false | false | 1,442 | h | ticker.h | // Copyright 2018 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.
// This file contains a helper for gathering metrics timing info.
#pragma once
#ifdef __Fuchsia__
#include <lib/zx/time.h>
#endif
// Compile-time option... |
c8ba193056628d92b6602e8d496fc2a039b4317b | 2cb592c546ec8f6116339653fbf3b7c61a59717b | /Game3.0/Game/Game/GameConsole.h | f81da06989ba31fd3d7a065a2faac38716092adf | [] | no_license | TO-OTR/BRICK-UTSEUS-2018LO02 | 063790155fb079cadbb78a050d49b3e13b57dfdf | f05f401284bfaa4009c86068965b68a7304d1ee9 | refs/heads/master | 2020-04-04T16:33:32.430726 | 2018-12-18T08:02:51 | 2018-12-18T08:02:51 | 156,082,845 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 233 | h | GameConsole.h | #pragma once
#include "console.h"
#include "Barre.h"
class GameConsole :
public Console
{
public:
GameConsole(void);
~GameConsole(void);
void onKeyPressed(WORD keyCode);
void setBarre(Barre &_barre);
private:
Barre *barre;
};
|
8dec0ad476bdae1b5ee7db5858e47e18dd236474 | 89709aec3b162770ffdb6b28efd461e678e5fd2f | /udp/src/models/base_datagram.pb.h | ed4ade9939d887b4da1df5c44002d4a13e812da4 | [
"MIT"
] | permissive | sunshinfight/socketme | dea37d88cf133f9c2313edc452a5c4de3f930371 | cd39d0da42fffe1293fde8a707f681d0c895458a | refs/heads/master | 2022-05-25T23:11:25.912676 | 2020-04-22T14:05:29 | 2020-04-22T14:05:29 | 257,916,404 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | true | 45,826 | h | base_datagram.pb.h | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: base_datagram.proto
#ifndef GOOGLE_PROTOBUF_INCLUDED_base_5fdatagram_2eproto
#define GOOGLE_PROTOBUF_INCLUDED_base_5fdatagram_2eproto
#include <limits>
#include <string>
#include <google/protobuf/port_def.inc>
#if PROTOBUF_VERSION < 3011000
#erro... |
179aa3938b1b5ba9b6aacffc9188f8ded6f6c55b | 0f0b84bc92156e8ee93e58529b888a169a218eff | /LOJ1000.cpp | 34daff75d250cf664508759896f49309711a24de | [] | no_license | Mujahid2923/lightoj-solutions | 1924c2a9ad3b2a6f4b702b5539f1d94238aff25f | e16cf6cc55e558ff2a4c5e3102a908eb8aed8976 | refs/heads/master | 2021-06-30T08:10:13.521791 | 2020-09-25T05:28:28 | 2020-09-25T05:28:28 | 165,869,432 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 236 | cpp | LOJ1000.cpp | #include<bits/stdc++.h>
using namespace std;
int main()
{
int t,a,b;
cin>>t;
for(int i=1; i<=t; i++)
{
cin>>a>>b;
int sum=a+b;
printf("Case %d: %d\n",i,sum);
}
return 0;
}
|
9eb5f2f84f02d5e3d05148c249c21ca03d581886 | 5791d786c0f26fc287ac0fa7b293fe7339e041c2 | /Classes/circuit/worklayer/UI/device/microphone/CCMicrophone.h | c31399ddbade208a50967e6b97e889a16c6d9cac | [] | no_license | fengmm521/myspice | 2c2da3e9c250e0a4193d2d999b2eb119c18f0d38 | aacf57b4a11a34aa8ed38ee3557f6dc532aabffb | refs/heads/master | 2021-01-10T11:26:53.150769 | 2015-09-27T16:28:59 | 2015-09-27T16:28:59 | 43,237,336 | 3 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 432 | h | CCMicrophone.h | //
// CCMicrophone.h
// myspice
// 精灵类,主要用来创建一些定制的精灵动画。
// Created by woodcol on 15/9/27.
//
//
#ifndef __myspice__CCMicrophone__
#define __myspice__CCMicrophone__
#include "cocos2d.h"
#include "DeviceShowBase.h"
//麦克风
class CCMicrophone:public DeviceShowBase
{
public:
CREATE_FUNC(CCMicrophone);
virtual ... |
eee6d7f10fc1b7e0be9d24b0fa3129e522dc1988 | 1832b62d456dccff292c7804658098707a119149 | /LaboratoryHomework/3PotRGB.ino | 17af8aa24b1839cee3a34cab53f9ffd8f291e94b | [] | no_license | Cosmin2108/Arduino | f8305eb5d6a0a1890f3fb1cd0845ed91f1cfe4f8 | e8913d3f5c28fb4fb32dfb52febdb3297add7bf6 | refs/heads/master | 2021-06-21T11:52:24.400540 | 2021-06-15T14:20:52 | 2021-06-15T14:20:52 | 217,827,976 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 891 | ino | 3PotRGB.ino | // Pins of the RGB LED.
const int redPin = 11;
const int greenPin = 10;
const int bluePin = 9;
// Analog input from the potentiometer
const int potPinRed = A0;
const int potPinGreen = A1;
const int potPinBlue = A2;
// Values for each pin of the RGB LED.
int currentColorValueRed;
int currentColorValueGreen;
int curre... |
12d04d5fb145db817b20f114a9923d7d7613aa5b | 8a87f5b889a9ce7d81421515f06d9c9cbf6ce64a | /3rdParty/V8/v7.9.317/third_party/icu/source/i18n/number_formatimpl.h | fd8708c532e13196cd69c7507a99db4a8ffd5d8f | [
"LicenseRef-scancode-unicode",
"ICU",
"LicenseRef-scancode-unknown-license-reference",
"BSD-3-Clause",
"LicenseRef-scancode-public-domain",
"BSD-2-Clause",
"NAIST-2003",
"MIT",
"bzip2-1.0.6",
"Apache-2.0",
"SunPro",
"Zlib",
"GPL-1.0-or-later",
"OpenSSL",
"ISC",
"LicenseRef-scancode-gut... | permissive | arangodb/arangodb | 0980625e76c56a2449d90dcb8d8f2c485e28a83b | 43c40535cee37fc7349a21793dc33b1833735af5 | refs/heads/devel | 2023-08-31T09:34:47.451950 | 2023-08-31T07:25:02 | 2023-08-31T07:25:02 | 2,649,214 | 13,385 | 982 | Apache-2.0 | 2023-09-14T17:02:16 | 2011-10-26T06:42:00 | C++ | UTF-8 | C++ | false | false | 6,090 | h | number_formatimpl.h | // © 2017 and later: Unicode, Inc. and others.
// License & terms of use: http://www.unicode.org/copyright.html
#include "unicode/utypes.h"
#if !UCONFIG_NO_FORMATTING
#ifndef __NUMBER_FORMATIMPL_H__
#define __NUMBER_FORMATIMPL_H__
#include "number_types.h"
#include "number_stringbuilder.h"
#include "number_patternst... |
b304f2858d92d0447cbb9908e99a4ad9f66f3dbf | 7d5593b9bbaf6bb8eaacca88449d90c9c305c36e | /problems/380-insert-delete-getrandom-o1/380.hh | e72034fd3843bd7b09f65a34ca3ddb34b672125c | [] | no_license | yottacto/leetcode | fc98052ed9d643be8a79116d28540596bcc7c26b | 9a41e41c0982c1a313803d1d8288d086fbdbd5b6 | refs/heads/master | 2021-04-25T12:05:55.671066 | 2019-12-15T03:07:31 | 2019-12-15T03:07:31 | 111,814,868 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,209 | hh | 380.hh | #include <vector>
#include <algorithm>
#include <random>
#include <iterator>
#include <unordered_map>
struct RandomizedSet
{
std::vector<int> v;
std::unordered_map<int, int> h;
std::mt19937 gen;
// Initialize your data structure here.
RandomizedSet() : gen(std::random_device{}())
{
}
... |
41137024f518595382b5cb8594d2b5ceaab588ca | a80bb4b52730c40ad09c123d60f42a46ca895ff1 | /Cellular.hpp | e92e9e16df8aec302bb7731a7ac16f51f5170516 | [] | no_license | theoden8/emu-automaton | dcabdd3e6706da536d49f94bac066bd95972cb11 | 5a8863129ea947300f801624aed2d359dfed2be8 | refs/heads/master | 2020-04-30T12:05:26.865337 | 2019-12-22T01:34:43 | 2019-12-22T01:34:43 | 176,818,138 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,127 | hpp | Cellular.hpp | #pragma once
#include <cstdlib>
#include <type_traits>
#include <utility>
namespace ca {
template <typename CA>
inline uint8_t random(int y, int x) {
return rand() % CA::no_states;
}
constexpr int DEAD = 0, LIVE = 1;
template <typename CA, typename B>
inline int count_neighbours(B &prev, int y, int x) {
int cou... |
be097c50dfb3de9bacc3c31d0c24112ddbab76b3 | d82b193bb0ad64a3b952b62eec51f7c6babd0a15 | /RCD_CAR/src/RCDArduinoSketch/RCDArduinoSketch.ino | 27b9587118e785129238806941a60e2b2d999fa3 | [] | no_license | lorenzoMacca/RCD_demo | 5155bc8ecfa9db9a9944058ba04fb452e9515b9e | 34de72d69f74cc5a4da0871fc7fd7b8d04542545 | refs/heads/master | 2021-01-21T04:46:44.030655 | 2016-06-10T19:48:25 | 2016-06-10T19:48:25 | 55,777,776 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 883 | ino | RCDArduinoSketch.ino | #include "lib/ESP8266/ESP8266Arduino.h"
#include <SoftwareSerial.h>
#define RX_PIN 10
#define TX_PIN 11
ESP8266Arduino *esp8266;
SoftwareSerial esp8266Serial(RX_PIN, TX_PIN); // RX, TX
String ssid = "KDG-C1CFE";
String pass = "F0Ey03x0YQU3";
String ip = "192.168.0.39";
String port = "9090";
void setup() {
pinMode(R... |
925190a0e4352017609f55997f32d36eb5dd122d | d8cd2ec9b3b4bdb7bf5133c687772a29936f660d | /Source/VMUV_Plugin/TCP/SocketWrapper.cpp | 127ed178786f4c390238c80b211b478b674cf6bd | [] | no_license | shastaclokey1/VMUV_UNREAL_PLUGIN | 7b33b938328371c447cef02c44da1d770d96c78c | 476aebface71f28f1de7d8229b13210090e89626 | refs/heads/master | 2021-01-19T18:20:28.021339 | 2017-08-23T02:17:45 | 2017-08-23T02:17:45 | 101,125,053 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,370 | cpp | SocketWrapper.cpp | // Fill out your copyright notice in the Description page of Project Settings.
#include "SocketWrapper.h"
#include "VMUV_Plugin.h"
#include <SDKDDKVer.h>
#include <stdio.h>
#include <tchar.h>
#include "../Logging/traceLogger.h"
const FString socketWrapper::version = "1.0.0";
socketWrapper::socketWrapper() : config(C... |
f988fbaf303df6665173790102b0aa14b8292320 | dec084e532035a84c0ae36abb4ddadd15380e585 | /DetourLib/SharedDetour.cpp | 944527a40360cbff451c11da93e1c772ce6fe363 | [] | no_license | calvinhsia/DetourSample | 51c450e4a8bfa023e782579392d28d9e296ef666 | 9daedd2b40c01a0dd99f3a17c0c2b7be5cfde91e | refs/heads/master | 2021-10-24T13:14:21.531354 | 2021-10-21T06:31:48 | 2021-10-21T06:31:48 | 135,942,424 | 0 | 0 | null | 2020-08-09T23:21:37 | 2018-06-03T21:35:13 | C++ | UTF-8 | C++ | false | false | 14,123 | cpp | SharedDetour.cpp | #include <Windows.h>
#include "..\Detours\detours.h"
#include "..\DetourSharedBase\DetourShared.h"
#include "stdio.h"
DetourTableEntry g_arrDetourTableEntry[DTF_MAX];
// using declsepc(naked) means we don't have to push/pop the params multiple times
#ifndef _WIN64
/*
STUBMACRO defines ASM code that takes the parame... |
f111c5b435a683bf47c8609efa2f15176e4b7fd0 | 1aab741b833300ce780e2a5540a914781255f702 | /libkafka-asio/examples/offset_fetch_cxx03.cpp | 70435b04a016a905db6975236d9598114aa97f96 | [
"MIT",
"BSD-2-Clause"
] | permissive | GSLabDev/libasynckafkaclient | c169f0d25028258861b0a71d4f0718e1a5cdf334 | 98c6ecc227f965d5916929c3d70e95f12bdf7006 | refs/heads/master | 2021-01-18T22:34:47.209830 | 2016-05-26T12:18:08 | 2016-05-26T12:18:08 | 50,917,795 | 5 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,926 | cpp | offset_fetch_cxx03.cpp | //
// examples/offset_fetch_cxx03.cpp
// -------------------------------
//
// Copyright (c) 2015 Daniel Joos
//
// Distributed under MIT license. (See file LICENSE)
//
// ----------------------------------
//
// This example shows how to fetch offset data for a consumer group using the
// 'OffsetFetch' API of Kafka 0.... |
9681a611ac8358faf324ee96ab4bd9b7075de3cc | cae0243512e1614fc9ef945713c9499d1a56d389 | /src/testers/tester_daniel_restart.cpp | 99b36d5424193287bce183939c5d17050afcf18b | [] | no_license | alejandro-reyesamaro/POSL | 15b5b58a9649234fa9bedbca4393550d38a69e7d | 0b3b7cf01a0392fc76394bbc04c52070637b3009 | refs/heads/master | 2021-04-15T11:10:24.998562 | 2016-09-06T15:10:54 | 2016-09-06T15:10:54 | 33,991,084 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,356 | cpp | tester_daniel_restart.cpp | #include "tester_daniel_restart.h"
#include "../data/solution.h"
#include "../modules/operation_module.h"
#include "../modules/om_fixed_first_configuration.h"
#include "../modules/om_daniel_as_restart_processing.h"
#include "../modules/grouped_sequential_computation.h"
#include "../operators/sequential_exec_operator.h"... |
9cc759ed32dee3a047986f9abce501df64092557 | b4efea02cb77bb02f14cd79a7b6243ca3fae3b14 | /utils/test_harness/tools/sysman/src/test_harness_sysman_psu.cpp | 80482a495006fe1ceadc0f47c7a222c3cb4deae2 | [
"MIT"
] | permissive | wrrobin/level-zero-tests | 47730040b0a9e1220c76b5955134cd1451898db5 | 723749cb22e6f8648ee9c781dd632d7288fab74b | refs/heads/master | 2022-11-13T19:35:48.223393 | 2020-06-29T18:41:36 | 2020-06-30T01:31:26 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,424 | cpp | test_harness_sysman_psu.cpp | /*
*
* Copyright (C) 2020 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#include "test_harness/test_harness.hpp"
#include <level_zero/ze_api.h>
#include "utils/utils.hpp"
namespace lzt = level_zero_tests;
namespace level_zero_tests {
uint32_t get_psu_handles_count(ze_device_handle_t device) {
uint... |
7d8375df34b1c77d4422d9a6efcb12bea0ff0c96 | c8fe9838c4776012da2281f40fbfa6fa85b37489 | /include/mico/expressions/character.h | 815e08fdd77fe58a155e9461d7528a0dae1d3d0b | [
"MIT"
] | permissive | newenclave/mico | 7a27cfcb600d581886efce6c4cd63975ce3c7555 | 7d3616e01cc2881688cdc803b990ccf791e1120a | refs/heads/master | 2023-04-07T15:47:55.032628 | 2023-03-21T12:27:36 | 2023-03-21T12:27:36 | 94,879,752 | 45 | 7 | null | null | null | null | UTF-8 | C++ | false | false | 1,353 | h | character.h | #ifndef MICO_EXPRESSIONS_CHAR_H
#define MICO_EXPRESSIONS_CHAR_H
#include <sstream>
#include "mico/ast.h"
#include "mico/tokens.h"
#include "mico/expressions/impl.h"
#include "mico/types.h"
namespace mico { namespace ast { namespace expressions {
template <>
class impl<type::CHARACTER>: public typed_expr<typ... |
2355351bd5304761573d308f64823fd23abcaf4c | 6c572769cd9b9f1f2dfdac0112ca3ed42b4f8c09 | /Arduino/bpm180_toptechboy_sparkfun_SD_shield_simpleLogger/bpm180_toptechboy_sparkfun_SD_shield_simpleLogger.ino | a0f2a06e26fb8ea38b828e753750984af5481ca6 | [] | no_license | nyirock/el | 4ec12a5ded702dd041764883ca79afcab048c109 | 699c54f0f058086faf2e9ad0b25ff04a24ce5667 | refs/heads/master | 2021-01-19T04:15:57.984096 | 2016-07-06T07:30:41 | 2016-07-06T07:30:41 | 55,384,887 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,352 | ino | bpm180_toptechboy_sparkfun_SD_shield_simpleLogger.ino | #include <SPI.h>
#include <SD.h>
#include "Wire.h"
#include "Adafruit_BMP085.h"
Adafruit_BMP085 mySensor; // Create a pressure sensor called mySensor
float tempC;// variable to hold the temperature reading
float tempF;
float pressurePa; //variable to hold the barometric pressure in Pa
File myFile;
// On the Etherne... |
ba3fe48eeba6d6cf0d5bf10035768663927031cc | dd7569e4abb94aef8810257a704bf06064952b2c | /64. 合并排序数组 .cpp | f0a40f4fbeaac97f64d0f05acdc3c11492d412f5 | [] | no_license | oeljeklaus-you/LintCode | f8d5b609d4d6d68b4ae41b4dc4f34c1a1c329b3e | 2596580b01c81d29e39194cb3bf716d178b36d9c | refs/heads/master | 2020-03-17T08:48:01.393304 | 2018-06-06T01:50:38 | 2018-06-06T01:50:38 | 133,450,241 | 5 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 706 | cpp | 64. 合并排序数组 .cpp | class Solution {
public:
/*
* @param A: sorted integer array A which has m elements, but size of A is m+n
* @param m: An integer
* @param B: sorted integer array B which has n elements
* @param n: An integer
* @return: nothing
*/
void mergeSortedArray(int A[], int m, int B[], int n... |
0068eb1122a811253f22fca90ddb25824167595e | 3bd35024ffd5426359a2e77007c465378996c976 | /cli/traversal/unit.hxx | 656ec728642b2983be2f9f48cccb2f318433f5f2 | [
"MIT"
] | permissive | yssource/cli | e3fae1a248ee1e13b37ed3d6ac8354590a96c1e0 | bc5ca36a3971c1572c4c27ee9372127a3962115f | refs/heads/master | 2020-04-18T03:51:54.604791 | 2014-09-18T04:24:00 | 2014-09-18T04:24:00 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,043 | hxx | unit.hxx | // file : cli/traversal/unit.hxx
// author : Boris Kolpackov <boris@codesynthesis.com>
// copyright : Copyright (c) 2009-2011 Code Synthesis Tools CC
// license : MIT; see accompanying LICENSE file
#ifndef CLI_TRAVERSAL_UNIT_HXX
#define CLI_TRAVERSAL_UNIT_HXX
#include <traversal/elements.hxx>
#include <sema... |
42037d6a59b51909bc1aed7d6dcfda0479b0eb1b | 94821aafe743907eee47d61b47b00bfff1512dfc | /Swarm_Rover_V1_0/COM_MANAGER.h | b77a6d24cf8e65382cf8309ffe7983f78178100f | [] | no_license | nlantz/Swarm_Rover | 2c827db8153189e96a9071fc1c2cd890cb83ac92 | 24da1f96b6b648b0429209d7c73aa2b8cde742e3 | refs/heads/master | 2021-01-10T19:43:33.668004 | 2014-12-23T19:15:53 | 2014-12-23T19:15:53 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 392 | h | COM_MANAGER.h | #ifndef COM_MANAGER_H
#define COM_MANAGER_H
#include "Arduino.h"
class COM_MANAGER{
public:
COM_MANAGER(); //Constructor
~COM_MANAGER(); //Destructor
void transmit(unsigned long data, int nbits);
boolean transmitObjectDetect(unsigned long data, int nbits, int RxPin);
void markObjectDetect(int uSec,... |
77820cdec9c7e42b4630894b1fbd9dd9766bf155 | 79cdd121bd78a52bbe94d0b6ab5fa11b62cbcd4b | /src/main.cc | 46158ba96d93d7eb05b5b09f12178b8a321c1756 | [] | no_license | gerarddelcastillo/ex03-threeintegersort | 34e67c526b9b48aaaf2760ec341f41b72b6a66e1 | ecaed94e694d98c17c28f7caff9b34b58bb52229 | refs/heads/master | 2020-03-30T13:48:33.915157 | 2018-12-14T18:45:33 | 2018-12-14T18:45:33 | 151,288,721 | 0 | 0 | null | 2018-10-02T16:41:27 | 2018-10-02T16:41:27 | null | UTF-8 | C++ | false | false | 137 | cc | main.cc | //
// Created by Gerard Del Castillo on 11/28/2018.
//
#include <algorithm>
#include <threeintegersort.h>
int main() {
return 0;
} |
a636f990ae378f88a15e484c5376d216fc4e7f31 | 7246f7795ba754d05b0868b9c887f8d650f37a46 | /ProjetPriseDeNote/latexexport.h | f74422df7df3dd0962bfde034dc617c985ca5602 | [] | no_license | Simobain/MotDit | 736ebc16262e2ae4184e8029a6bdb3b55b7c05a5 | 4bfa7ac8882b3f61b69e0615cc624fbde8d0a49c | refs/heads/master | 2021-01-19T19:37:49.636026 | 2013-06-16T22:04:03 | 2013-06-16T22:04:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,608 | h | latexexport.h | #ifndef TEXEXPORT_H
#define TEXEXPORT_H
#include "exportstrategy.h"
/*!
* \file latexexport.h
* \brief Classe LaTexExport : permet d'exporter les notes en LaTex
* \author Pauline Cuche/Simon Robain
*/
/*!
* \class LaTexExport
* \brief Cette classe permet d'exporter les différents types de notes en LaTex.
*Elle... |
0818279955933315077bae704761321320a36cf2 | 82989fa5beaa922e41e664c3a861207b6f54223a | /1/1.22/1.22.cpp | 990ecf6061fb3b3105e2ffd88b26f1f86d8045c0 | [] | no_license | didizlatkova/cpp-primer | 40d54f8f0fba70d344d3851a937db5af0d136176 | 61aa1a0e896be4401f972af6826d507c90c3934a | refs/heads/master | 2021-01-21T22:19:46.992176 | 2017-03-12T11:23:26 | 2017-03-12T11:23:26 | 102,150,498 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 400 | cpp | 1.22.cpp | /*
Write a program that reads several transactions for the same
ISBN . Write the sum of all the transactions that were read.
*/
#include <iostream>
#include "../Book Resources/1/Sales_item.h"
using namespace std;
int main()
{
Sales_item item, sum;
cin >> item;
sum = item;
while(cin>>item)
{
... |
0f1d16239d9c58f2defae922526fc5d4c2740b12 | e316c998ec4a529761ab7716d3925662850dcdf4 | /main.cpp | 1dae9d7672bc95b3ea568d78c2dd13b28ee6c65f | [] | no_license | ncheneld/alphabet-soup | 097dd70a6c5f2894d6170855456d824284fc52f9 | d80584c179cb140791786d904bb2ac4e0d86e16e | refs/heads/master | 2021-03-31T16:32:44.090851 | 2020-03-20T16:28:45 | 2020-03-20T16:28:45 | 248,119,784 | 0 | 0 | null | 2020-03-18T02:26:50 | 2020-03-18T02:26:49 | null | UTF-8 | C++ | false | false | 2,040 | cpp | main.cpp | /*
main.cpp is the driver for WordSearch.
------------------------------------------
- It takes in a file from the command line
i.e. ./{program} inFile.txt
- Input Example
3x3
A B C
D E F
G H I
ABC
AEI
Other Notes:
compiled using g++ -o -g program main.cpp WordSearch.cpp
ran using ./program... |
f5ad065659d7faa1ddacfa8c1194f12a6e126ee3 | 4c75d7861be66659a1cfc499e764fc305fab30df | /CCKVDemo/CCKVDemo/OpenSSL/crypto/aes/openSSL_aes_ecb.cpp | 4b83df3ae0f414b9b7947a1e5bf136cad6ee06a5 | [] | no_license | huary/CCKV | 85df73201914bb16a2be5ce375de71f64501478d | ae6028922ac0160e4283e111e40f4136081ddfbb | refs/heads/master | 2021-06-24T23:38:02.703930 | 2019-09-29T09:34:01 | 2019-09-29T09:34:01 | 210,117,330 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 815 | cpp | openSSL_aes_ecb.cpp | /*
* Copyright 2002-2016 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
* in the file LICENSE in the source distribution or at
* https://www.openssl.org/source/l... |
4dc24583bca5a2f639019ba69d9816c60619e619 | 4b6343d8750b61eedcabb61b0f9459c22d6ed8d0 | /task/server.cpp | 18204b992683a45ad735b937712faf5fb70c608c | [] | no_license | zahoussem/grub_freq_aware | 571f0475c3ed4a3fb52c2bd354aa34a0364f6930 | b999f651d05f685ba974adcf91e1986374c48fde | refs/heads/master | 2021-01-14T03:09:09.961730 | 2020-06-29T13:58:05 | 2020-06-29T13:58:05 | 242,581,498 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,890 | cpp | server.cpp | #include "server.hpp"
namespace task
{
/**
* The Constructor of the Class server
* @param budget The budget that is allocated to the current server
* @param T The period of the server
*/
Server::Server(double budget, double T)
{
this->budget = budget;
this->T = T;
this->v = 0;
this-... |
40d10931011a8884870a5a8ea904fde4ccbfc9d2 | 86d197c0e128dbc715771bdbab45f2000f0dc08f | /src/main.cpp | 8f5762895ef54ebb0505b99094f492fa3ceb5973 | [] | no_license | HarbingTarbl/Nemu | 5fc9af4c1fb8580ca5f3e44d1ad378f84a5b2e6f | fd73c04e7455d300dc3deca57af30fbc024e7a8f | refs/heads/master | 2021-01-02T22:57:08.772966 | 2014-04-22T02:02:01 | 2014-04-22T02:02:01 | 16,090,089 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,714 | cpp | main.cpp | #include "VMemory.hpp"
#include "CPU.hpp"
#include "NES.hpp"
#include "Renderer.hpp"
#include "OpCodes.hpp"
#include <iostream>
#include <iomanip>
#include <thread>
#include <chrono>
int main(int argc, const char* args[])
{
using namespace std;
bool Ok = true;
try
{
Render::Initalize(800, 600);
... |
64ab7fb35c08115926705225c58ee270f56ecc94 | 25118489134e3607131dc21ee3fc541ec419a66e | /Generation.h | f29e9eba8992cfd9fc286bea2b259e04d6504251 | [] | no_license | RuzickaJiri/Software_deployment | b84a31e919ba55f0d681d9d9cb11c333c3e3303b | 2a4fdccc0455bbdefafad15b8b923dadb2003559 | refs/heads/master | 2020-05-18T00:59:49.611405 | 2019-05-30T14:56:56 | 2019-05-30T14:56:56 | 184,077,480 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 863 | h | Generation.h | #include "Tree.h"
#include "Operator.h"
#include <iostream>
#ifndef GEN_
#define GEN_
class Generation{
public :
Generation(size_t size,std::vector<std::string> xlabels);
~Generation();
Tree GetBestIndividual( bool **x, int y[], int x_size) const;
std::string GetBestFormula(bool **x, int y[], int... |
3b9cc49ea3922ea6e9bec965b5e5d78b8b77364d | 3d44ba3949e4e227337b22f55a1abfd51bfcac41 | /cachelab-handout/algoquedijoelprof.cpp | aecb0521c6a371f88eed5e912767af477de82990 | [] | no_license | tatianacv/ComputerArchitecture | 7d49cbdc58b9a036b2f3cacc6fbb0ad010efef6f | ac4ceafcaac7bc99464adff24e442c048fc3e087 | refs/heads/master | 2021-01-01T23:42:53.943850 | 2020-02-10T00:24:05 | 2020-02-10T00:24:05 | 239,395,548 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 74 | cpp | algoquedijoelprof.cpp | fid=fopen(nombre del file, 'r');
fscanf(fid, " %c %llx, $d", &c, &a, &n);
|
edb5ec4b881069701f34b2051873d96d0f1935ac | eec6fc365c7415835b4a69eaceb23a224f2abc47 | /BaekJoon/2020/게임 (1072번).cpp | 509746cbf88e6926ae7f64a2a1bec9a2837f709e | [] | no_license | chosh95/STUDY | 3e2381c632cebecc9a91e791a4a27a89ea6491ea | 0c88a1dd55d1826e72ebebd5626d6d83665c8431 | refs/heads/master | 2022-04-30T23:58:56.228240 | 2022-04-18T13:08:01 | 2022-04-18T13:08:01 | 166,837,216 | 3 | 1 | null | 2019-06-20T10:51:49 | 2019-01-21T15:32:03 | C++ | UTF-8 | C++ | false | false | 474 | cpp | 게임 (1072번).cpp | #include <iostream>
#include <algorithm>
using namespace std;
long long X, Y, Z;
long long res = 987654321;
void bisearch() {
long long lo = 0, hi = 1000000000;
while (lo <= hi) {
long long mid = (lo + hi) / 2;
long long z = ((Y + mid) * 100) / (X + mid);
if (z > Z) {
hi = mid - 1;
}
else {
res = mi... |
3139dca03e4e45f9d5fbbbb967ee4dfb68431207 | c45b28dc411206a3846c4e05a048b328e83a3b80 | /Graph/adjMatrix.cpp | 3b876e1bd0e3c6c23410b244d1d09b3e26828b3e | [] | no_license | Anurag313y/Ds-algo | 4023b0086e7c127b169f70deeecf6ca0a80c69c9 | 2f026156f634055bc5207552e7860a19183ba591 | refs/heads/main | 2023-08-19T15:58:24.065963 | 2021-09-29T06:47:59 | 2021-09-29T06:47:59 | 411,556,579 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 783 | cpp | adjMatrix.cpp | /////Adjancy Matrix of Undirected Graph
#include<bits/stdc++.h>
using namespace std;
int main()
{
///size of matrix (n x m)
int n,m;
cin>>n>>m;
vector<vector<int>> adjm(n+1, vector<int>(n+1,0));
for(int i=0; i<m;i++){
int x,y;
cin>>x>>y;
adjm[x][y] = 1;... |
36903d6f1a999ee9dc84c68346ac0c6a3983fb6c | 045cc95f97998eaa1cb6f3abff69d8589b26fefa | /Chapter5/Chapter5_Exercise14.cpp | 10faa7c25d43dced3cfe027c615dd4f40f9f268a | [] | no_license | Simkod/learncpp | 481934d4b4a1f2097bb90f3e034e017f9540bc00 | d563e36b6b9e9fdbef8ca8800d653c08b4ff2e2b | refs/heads/master | 2020-05-17T23:21:41.377435 | 2019-11-08T09:10:30 | 2019-11-08T09:10:30 | 184,030,004 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,389 | cpp | Chapter5_Exercise14.cpp |
#include <iostream>
#include <string>
#include <vector>
#include <map>
#include <numeric>
#include <algorithm>
using namespace std;
enum DayName
{
Monday,
Tuesday,
Wednesday,
Thursday,
Friday,
Saturday,
Sunday
};
class Day
{
public:
Day();
Day(DayName nam... |
2fd43988e59c419a5c80ee18bf4ac5d828862c4b | 3b5c5ec5b76df1b6a6b9af292e25e41c984212e2 | /test/uvcpp/req.cc | 8df896cfffe6656651f6f2d688443a905edfa0a0 | [] | no_license | neevek/uvcpp | 75d200e27a4c533e9df36dc77e5ba6aeda37c7a7 | a1cc04b25e360e9ae390751d5e6153706a69293f | refs/heads/master | 2021-07-17T14:01:37.321060 | 2020-05-05T06:11:23 | 2020-05-05T06:13:34 | 141,360,782 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,127 | cc | req.cc | #include <gtest/gtest.h>
#include "uvcpp.h"
using namespace uvcpp;
TEST(Req, DNSRequestResolveLocalHost) {
auto loop = std::make_shared<Loop>();
ASSERT_TRUE(loop->init());
auto req = DNSRequest::create(loop);
req->selfRefUntil<EvDNSRequestFinish>();
req->once<EvError>([](const auto &e, auto &r) {
FAIL(... |
98bfc625ec792df362abaf05c7f8ceb27de453a6 | 6bb5139002378822b2fcc085ffb7a30d8e661cd6 | /YIN/motor_line2/motor_line2.ino | 6145db73e47bf781c9e6409d77299f7e08d00a80 | [] | no_license | maroro0220/arduino_basic | 8e1d419e6e60838952ffa238eddce456f82c6c7f | b0e878afeb2b46ea5e056a4ca3f0e4c8ff2a5daf | refs/heads/master | 2021-01-15T22:19:00.038439 | 2017-11-08T03:32:51 | 2017-11-08T03:32:51 | 99,896,878 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,730 | ino | motor_line2.ino | // IN1, IN2, ENA (D2, D4, D5), IN3, IN4, ENB (D7, D8, D9)
//http://www.hardcopyworld.com/ngine/aduino/index.php/archives/159
#define IN1 2
#define IN2 4
#define ENA 5
#define IN3 9
#define IN4 7
#define ENB 6
#define SPEED 150
void setup() {
pinMode(IN1, OUTPUT);
pinMode(IN2, OUTPUT);
pinMode(IN3, OUTPUT);
pin... |
24444534c2d93413c2dbabb7ccd6cfdac5893058 | d501850612acfcc3434d886a1393e279f1fb8445 | /1089.cpp | d26eba8b7ef5d035b913f1747065f7b1cf3a49ed | [] | no_license | crrflying/C | c9c3e53e03475a7f603c3b6740811d428eb189a6 | 3160a14b98f6c7809ec89bebc462e1a764c4c633 | refs/heads/master | 2020-05-22T06:06:33.151036 | 2019-05-12T11:41:21 | 2019-05-12T11:41:21 | 186,247,161 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 992 | cpp | 1089.cpp | #include<stdio.h>
int main()
{
int n;
scanf("%d", &n);
int wj[n];
int w1,w2;
for(int i=1;i<=n;i++)
{
scanf("%d", &wj[i]); //输入玩家说的话
}
//假设有两个狼人i,j
for(int i=1;i<=n;i++)
{
for(int j=i+1;j<=n;j++)
{
int pl=0, wl=0;
//遍历每个人说的话,判断其是否说谎
for(int k=1;k<=n;k++)
{
//如果玩家k说的话小于0,则... |
4090bd3e8919ebc373f28a7251b1f854ee13939c | 8817aaa66bcba8563a302830a312e1e5108c90df | /from_bill/ZEUS5_IP/tdev/tdevmount20091217.cpp | 270dde56b6f1d9627d47111bb0829f4070ae6e5c | [] | no_license | dennis-tmeinc/dvr | 908428496c16343afcc969bea2f808e9389febe8 | 7064cfc66445df45d0e747e7304e301a25c214f8 | refs/heads/master | 2021-01-12T17:19:44.988144 | 2018-03-27T22:19:53 | 2018-03-27T22:19:53 | 69,481,073 | 3 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 3,241 | cpp | tdevmount20091217.cpp | #include <stdio.h>
#include <unistd.h>
#include <stdlib.h>
#include <string.h>
#include <fcntl.h>
#include <sys/user.h>
#include <sys/wait.h>
#include <dirent.h>
class dir_find {
protected:
DIR * m_pdir ;
struct dirent * m_pent ;
struct dirent m_entry ;
char m_dirname[PATH_MAX] ;
char m_pathname[PA... |
14535953ec2c343989e3b9d05ca710aa60172a60 | 0ea123f8f49346d2e43ce1e6e642e79781067792 | /ODE/include/inverseCtx.h | 45d8fb940f4bc537d12e520704315e88b7d3380f | [
"MIT"
] | permissive | paralab/Dendro-5.01 | 38615a9f900e478caf6e2e1db7c5f5442813dfe6 | 5dbcfa64a81364c47ef720e7c3793c6742cacdcf | refs/heads/master | 2023-08-05T10:49:43.693159 | 2023-07-11T16:07:45 | 2023-07-11T16:07:45 | 102,657,919 | 29 | 8 | MIT | 2023-06-19T19:44:48 | 2017-09-06T21:01:16 | C++ | UTF-8 | C++ | false | false | 2,399 | h | inverseCtx.h | /**
* @file sensitivityCtx.h
* @author Milinda Fernando
* @brief Ctx class to perform sensitivity analysis for time dependent problems.
* @version 0.1
* @date 2021-10-12
* @copyright Copyright (c) 2021
*/
#pragma once
#include "dendro.h"
#include "mesh.h"
#include "launcher.h"
namespace invp
{
template<t... |
a2b9ae88f6833a3dd3ad640e260773aa4a426b6b | 0c268ff10b68c4a24023ca646bb46c5a125eb84c | /Codeforces_ProblemSet/939b.cpp | 85962411acdc3119c97541d631f81b2585ba4ef8 | [] | no_license | TzeHimSung/AcmDailyTraining | 497b9fb77c282f2f240634050e38f395cf1bedbc | 2a69fa38118e43cbeca44cb99369e6e094663ec8 | refs/heads/master | 2023-03-21T21:39:02.752317 | 2021-03-14T03:41:00 | 2021-03-14T03:41:00 | 159,670,822 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,096 | cpp | 939b.cpp | //basic
#include <iostream>
#include <cstdio>
#include <cstdlib>
#include <string>
#include <cstring>
#include <climits>
#include <cmath>
#include <cstdint>
//STL
#include <vector>
#include <set>
#include <map>
#include <queue>
#include <stack>
#include <algorithm>
#include <array>
#include <iterator>
//define
#define ... |
d43afeb7f985204dd030ce95ae27635241c63904 | 3b141c379debc63588586dbceb44442ccfba97eb | /12-model_loading/SceneLoaderFactory.cpp | 010e60891249622cc5462bfa22085f17b43371a6 | [] | no_license | FabrizioPerria/OpenGL | 27fbca335e5b4efe660a93306450f0af2e13896a | a5686f096189290051d80ace9fdaf0394f9785ba | refs/heads/master | 2020-12-24T18:32:04.622301 | 2016-05-24T14:35:36 | 2016-05-24T14:35:36 | 55,981,134 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 422 | cpp | SceneLoaderFactory.cpp | #include "SceneLoaderFactory.h"
#include "RawSceneLoader.h"
#include "AssimpSceneLoader.h"
std::unique_ptr<ISceneLoader> SceneLoaderFactory::makeLoader(std::string type)
{
if(type == "raw")
return std::unique_ptr<RawSceneLoader>(new RawSceneLoader);
else if(type == "assimp")
return std::unique_ptr<Assim... |
c46b18cc08735e6b991b5670f7fd1ab015e5dc18 | 7e157199610f52120735ead7caa397a7b068a711 | /OniDev/source/collision/rect.cpp | 337de51706bada26eaf9fab6be0210e7bd62fe61 | [
"Zlib",
"LicenseRef-scancode-unknown-license-reference",
"LicenseRef-scancode-other-permissive"
] | permissive | onidev/onidev | 2f63445feae6b8f7985f3a2d47a4a249a420cab3 | c9ade0c27bf6fe179eb85cbffc34b3981009d5f6 | refs/heads/master | 2021-01-21T13:34:12.365850 | 2016-05-18T11:43:26 | 2016-05-18T11:43:26 | 55,431,294 | 2 | 1 | null | 2016-04-04T19:42:46 | 2016-04-04T17:33:18 | C++ | UTF-8 | C++ | false | false | 4,875 | cpp | rect.cpp | // OniDev - Copyright (c) 2013-2016 Boris Marmontel
//
// This software is provided 'as-is', without any express or implied warranty.
// In no event will the authors be held liable for any damages arising from the use of this software.
//
// Permission is granted to anyone to use this software for any purpose,
//... |
e7955564426ee9fab19592c1783251956f422443 | 62066f9781e0ac72ad0a12fa03d0ed2ac4bc1e58 | /CircularList.h | de8f018c3cf9674b713805ad64189e6049e323fe | [] | no_license | cs2100-utec-aed-2019ii/cs2100-listas-tekken_force | 76a40968c7c0c8ef441eb8b6f8a98cb006d18d0c | 9ffc900bddf3433beca0905ea4e88cd6473baffe | refs/heads/master | 2020-07-13T07:20:47.127661 | 2019-10-28T22:16:38 | 2019-10-28T22:16:38 | 205,030,911 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,504 | h | CircularList.h | #ifndef JERARQUIA_LISTAS_CIRCULARLIST_H
#define JERARQUIA_LISTAS_CIRCULARLIST_H
#include "List.h"
#include <time.h>
#include "ForwardNode.h"
#include <ctime>
template <class T>
class CircularList : public List<T>{
protected:
ForwardNode<T> *head;
public:
CircularList(List<T>&);
CircularList(T*, int);... |
91d4c063c60fce701db603b8ddb7f8c340e2f591 | 0e0a39875ad5089ca1d49d1e1c68d6ef337941ff | /inc/Graphics/GeometryBuffer.h | 95a8b585f1d73ed7093ccf25e195ccfa0542d526 | [
"BSD-3-Clause",
"BSD-2-Clause"
] | permissive | FloodProject/flood | aeb30ba9eb969ec2470bd34be8260423cd83ab9f | 466ad3f4d8758989b883f089f67fbc24dcb29abd | refs/heads/master | 2020-05-18T01:56:45.619407 | 2016-02-14T17:00:53 | 2016-02-14T17:18:40 | 4,555,061 | 6 | 2 | null | 2014-06-21T18:08:53 | 2012-06-05T02:49:39 | C# | WINDOWS-1252 | C++ | false | false | 3,327 | h | GeometryBuffer.h | /************************************************************************
*
* Flood Project © (2008-201x)
* Licensed under the simplified BSD license. All rights reserved.
*
************************************************************************/
#pragma once
#include "Core/References.h"
#include "Core/Math/Vector.h... |
e47228777a71754c1dd64b15f01bdbae3d624390 | 9718c436ab7664cfa1fa810fc798572a12177158 | /4draymarcher/FunTimes/utils.cpp | 4cf40abe96bee252a8d9ae381e033d801c26b6bc | [] | no_license | veesusmikelheir/Experiments | 319b219e8a47480f6b92807b6de3105634897852 | 83900443501eab23d106fc775534624fed5fd1aa | refs/heads/master | 2020-08-27T06:37:14.744503 | 2019-10-24T10:35:40 | 2019-10-24T10:35:40 | 217,272,292 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 217 | cpp | utils.cpp | #include "GLFW/glfw3.h"
#include <stdlib.h>
// Necessary clean up to avoid leakage
void properExit(int code) {
glfwTerminate();
exit(code);
}
void conditionalExit(int code) {
if (code) {
properExit(code);
}
} |
0bb7731a02b822fcf7af20ac341b6a09a2ce9779 | b2756d5bc65ac143fe2d8a0c7e9bcae02827854b | /Source/SmartCity/GeoMap.h | 153987a4e2bb549f7a8a69e7bc7fe8282e56aa6b | [] | no_license | denfrost/UE4-SmartCity | f4be3d6dd6e5c23638cfc1e1c4a64b89245a1a1d | 1b65be2289669e9549c132224e1042e25cb2b0f9 | refs/heads/master | 2022-10-04T22:54:10.808821 | 2020-06-08T11:43:41 | 2020-06-08T11:43:41 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 195 | h | GeoMap.h | // Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
/**
*
*/
class SMARTCITY_API GeoMap
{
public:
GeoMap();
~GeoMap();
};
|
09e70efc206e48d0042bab4073c63315c581935c | 7850cecd7a1476ca48f082faa5acd30c08eef1b1 | /mcu/src/bfcp/messages/BFCPMsgFloorRequest.cpp | b5f82be7af2d21cfc125753ebdbe7491acf1feaa | [] | no_license | InteractiviteVideoEtSystemes/mediaserver | abc68705cf0a4e228deff2107fd8ebc6990cd5f6 | b6c965d9a8d62957d8636b3f5fc65391460cd55e | refs/heads/master | 2023-07-06T01:53:45.862522 | 2023-03-28T06:41:05 | 2023-03-28T06:41:05 | 48,166,471 | 5 | 3 | null | 2022-06-10T13:00:55 | 2015-12-17T09:56:12 | C++ | UTF-8 | C++ | false | false | 5,639 | cpp | BFCPMsgFloorRequest.cpp | #include "bfcp/messages/BFCPMsgFloorRequest.h"
#include "log.h"
/* Instance members. */
BFCPMsgFloorRequest::BFCPMsgFloorRequest(int transactionId, int conferenceId, int userId) :
BFCPMessage(BFCPMessage::FloorRequest, transactionId, conferenceId, userId),
beneficiaryId(NULL),
participantProvidedInfo(NULL)
{
}... |
e46b2fb071a97ee61860980ff0e01679dcf70332 | 7a78522a78f7082f9517e0aa6af75db3f9de2357 | /Engine/source/EtPipeline/Content/ContentBuildConfiguration.h | 6a02d1b5f69453583a6007ea731ebb8013cbe057 | [
"MIT"
] | permissive | avpdiver/ETEngine | 86a511d5d1ca8f03d47579d0ce0b367180e9b55e | 8a51e77a59cdeef216d4b6c41e4b882677db9596 | refs/heads/master | 2023-03-21T21:57:22.190835 | 2022-07-14T01:09:49 | 2022-07-14T01:09:49 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 970 | h | ContentBuildConfiguration.h | #pragma once
namespace et {
namespace pl {
//------------------------------
// BuilConfiguration
//
// Provides info for how to build assets for runtime
//
struct BuildConfiguration
{
// definitions
//-------------
enum class E_Configuration : uint8
{
Invalid,
Debug,
Develop,
Shipping
};
enum class ... |
930c340b09e1483175559a8fbbd5ebf1ed91fe23 | 6a96925bc81615eb528ccd5322be99757a223a53 | /log.hpp | 9dd1288d98ecf363ec2e33c7dc4ea8cd777fd7d5 | [] | no_license | markdellostritto/qatom | 4d849f0b82bf190d59a4f6260d21b84cac456e96 | 64c9ed30d25d2184cd43ce44128ba37f63b61d1d | refs/heads/master | 2022-01-26T17:31:16.410209 | 2019-07-30T14:42:52 | 2019-07-30T14:42:52 | 156,614,182 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,641 | hpp | log.hpp | #ifndef LOG_H
#define LOG_H
#include <iostream>
#include <string>
#include <vector>
#include <stdexcept>
#include <fstream>
#include <memory>
namespace logging{
inline void nullDeleter(void* p){}
//**********************************************************************************
//Sink class
... |
344d09a8f0abbee6c00f77e6f4260131cb0074e4 | 33812fd99580266e0dc63ac8ac6518c9f27ef21c | /Day001/EXAM_13/exam_13.cpp | 1f6d0e82509d5538f8c37f14e5833c2018a042bb | [] | no_license | JMK92/C_pp_Programming | eb23f0de1d4849260454ae9bd376249482038a6c | ad9b8753fc3d57412be1d2aa2c4124d824d6de55 | refs/heads/master | 2023-05-30T15:17:27.444925 | 2021-06-20T14:12:55 | 2021-06-20T14:12:55 | 372,444,137 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 644 | cpp | exam_13.cpp | /*
레퍼런스(Reference) & NickName(별칭)
- 이름을 지닌 대상에 별명을 붙여주는 행위
- 변수 : 메모리 공간에 붙여진 이름, 기억공간(장소)
- 메모리 공간에 이름을 하나 더 추가하는 행위
- 형식
int& ref = val; -> int이름을 ref로
*/
#include<iostream>
using namespace std;
int main() {
int val = 10;
int* pVal = &val; // 포인터변수
int& rVal = val; // 레퍼런스 선언 , val의 또다른 이름
cout << ... |
3ac0642e70757fe8776cea5d1225b1b76eb609a5 | 8e00949820b168b0ad1d6640b67ad810ed4daa67 | /calWheelSpeed/calWheelSpeed.ino | b0fd5683aa181a7166bc9d41fd8ce11064bbca28 | [] | no_license | EC544-F2015-Group5/Challenge_4 | 111656f75ff04a256e8f6555e3dd07b531182de7 | b03d8f368f86edfb812f1e5f161739d6a48ddf29 | refs/heads/master | 2021-01-10T17:09:46.568432 | 2015-10-29T15:57:43 | 2015-10-29T15:57:43 | 44,640,341 | 0 | 0 | null | 2015-10-28T16:19:52 | 2015-10-20T23:16:57 | Arduino | UTF-8 | C++ | false | false | 822 | ino | calWheelSpeed.ino | int pinReceptor = A1;
int sensorVal;
int BorW=0;
int counter = 0;
int caltime = 0;
double rotation = 0;
double Wheelspeed = 0;
void increase(){
counter++;
}
double getWheelspeed(double rota){
double Wspeed = 0.1*rota;
return Wspeed;
}
void setup() {
// put your setup code here, to run once:
Serial... |
78db7eb711d7980b942f0d9df6ad2fa5a991912e | 5153b4b3826705491d90302b1212b7b277537ff5 | /DriveTrain.cpp | 9f6b408d03163941b8985ad7a35aa7f62b727541 | [] | no_license | SuchForbiddenColors/Code2014ForReal | e47efd7f15e1de9661f030de820f5e84f25f2f1a | 319f2eb78836075b64bd64a79f40dca2033ec5a6 | refs/heads/master | 2020-04-17T08:01:10.791929 | 2015-11-11T01:45:27 | 2015-11-11T01:45:27 | 28,749,185 | 0 | 0 | null | 2015-01-03T17:48:25 | 2015-01-03T16:55:27 | C++ | UTF-8 | C++ | false | false | 5,159 | cpp | DriveTrain.cpp | #include "DriveTrain.h"
#include "Defines.h"
#include "Math.h"
DriveTrain::DriveTrain(int leftMotor, int rightMotor)
{
drive = new RobotDrive(leftMotor, rightMotor);
leftHandicapSubtraction = 0;
rightHandicapSubtraction = 0;
messageUse = 0;
handicapHasBeenPressed = false;
}
void DriveTrain::TankDrive(GenericHID ... |
8ff95a305d59bd84f0607900585036233d2873df | b687b9adc8e886a92b407b506041ded030dd0e97 | /tabulator/PageNumCtrl.cxx | c958008b209c0badbb761c4da65e6626e0b865d0 | [] | no_license | vir/pdf | 6dc2cd1c4f62aef208e54edc58e3ea30fa14c507 | 6b36a3d41e4c5962d7af0407f926423d07076412 | refs/heads/master | 2021-01-17T09:25:51.145910 | 2017-07-18T14:50:18 | 2017-07-18T14:50:18 | 37,723,254 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,378 | cxx | PageNumCtrl.cxx | #include "PageNumCtrl.hpp"
BEGIN_EVENT_TABLE(PageNumCtrl, wxTextCtrl)
EVT_CHAR (PageNumCtrl::OnChar)
EVT_SET_FOCUS (PageNumCtrl::OnSetFocus)
END_EVENT_TABLE()
PageNumCtrl::PageNumCtrl(wxWindow* parent, wxWindowID id, const wxString& value, const wxPoint& pos, const wxSize& size, long style, const wxString& na... |
394f47398966fdc9a3f4c8a000655abde35c863f | e59177d7d26f249bb3974e5877ea3bbc4354cf4a | /700+/720_Longest_Word_in_Dictionary.cpp | 191b448cbd6f4349523db8ab8f31ac00f86b9469 | [] | no_license | milanow/LeetCodePractice | 8ae2957f70f94dcfd22558d0b736cda587c5b308 | c99545d6b5a191bce6fd66c9941b06573a0af0c1 | refs/heads/master | 2021-09-12T12:42:21.958668 | 2018-04-16T18:42:39 | 2018-04-16T18:42:39 | 104,815,007 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 710 | cpp | 720_Longest_Word_in_Dictionary.cpp | /* 720. Longest Word in Dictionary
* The key is to find out (1)if the substring(0, sz-1) of a word (in words)
* is also in words
*
* Sorting the words first and save previous qualified words (meets (1) in a set
* checking if current word's substring(0, sz-1) also inside the set
*/
class Solution {
public:
s... |
37f73239dd0c58307888ea406c19b3b93e7fc571 | 81d229a16cccac2cb9684b6a685e9be973a5e6e3 | /queue-rate/ConcurrencyFreaks/CPP/papers/poormansurcu/PerformanceBenchmarkURCU.h | e27e2a5a922af124c089d31f8afcf31026bfc688 | [] | no_license | charlesarcher/queue-rate | 83e2f183f4679eb3a1de7b088c3900efc31f8106 | 18dab4c3a0d45e99eb1e842568753c0c51f4e5a8 | refs/heads/master | 2021-01-12T00:19:47.931172 | 2017-01-12T05:08:39 | 2017-01-12T05:08:39 | 78,710,000 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,187 | h | PerformanceBenchmarkURCU.h | /*
* PerformanceTest.h
*
* Created on: Jul 24, 2013
* Author: pramalhe
*/
#ifndef _PERFORMANCE_BENCHMARK_URCU_H_
#define _PERFORMANCE_BENCHMARK_URCU_H_
#include <thread>
#include <iostream>
#include <atomic>
#include <forward_list>
#include <algorithm>
#include <vector>
#include <utility>
#include "TestCas... |
7ca6a593c24a4d059d07e881f9e6e7c0f8f13f9f | 328ef5181c5a2ffaa75ef4cfa8424b80f42395fb | /main.cpp | a3cb5a9fbcb43ea647798ddb2abae19a2c7d144e | [] | no_license | EzGDNull/CryptoppDemo-rsa-sign | 269e0d77e971d8cea629a731a9303d9324a4c0e8 | 1a27cac1cbb3601869bc2561a720c1831e40eefd | refs/heads/main | 2023-06-06T06:40:16.600414 | 2021-07-05T00:48:38 | 2021-07-05T00:48:38 | 381,750,131 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,489 | cpp | main.cpp | #include "mainwindow.h"
/*#include "cryptopp/include/md5.h"
#include "cryptopp/include/filters.h"
#include "cryptopp/include/hex.h"*/
#include <QApplication>
#include <QDebug>
int main(int argc, char *argv[])
{
QApplication a(argc, argv);
QByteArray privateKeydecBase64 = QByteArray::fromBase64(
... |
76511a424db47f0671a9ece691062018a742ff8c | 49abb58c40577ce4470cca16034cf03ff0f94f7c | /C++/cisco/CPA/lab/cpa_lab_7_3_8/main.cpp | 1c5ca9d296d34221800e1193ebb85a8e81827f0b | [
"MIT"
] | permissive | stablestud/trainee | 196c3e64920adc8278bd2f06430b6e357091c2a7 | 72e18117e98ab4854e9271c2534e91cf39c42042 | refs/heads/master | 2022-08-11T11:52:26.099642 | 2022-07-30T22:45:56 | 2022-07-30T22:45:56 | 130,486,168 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,079 | cpp | main.cpp | #include <iostream>
#include <exception>
#include "ipAddress.h"
int main(void)
{
char ip[14];
int range;
try {
std::cin >> ip >> range;
ipAddressRange i0(ip, range);
i0.print();
} catch (std::exception& err) {
std::cout <<... |
fa1df0da2cf2db5d178b1c00baee3d3b8e3f9819 | a12bd9ee16dd864756829f2ff98f9e7ca59e322a | /06. arduino/ch04/buzzer/ex04/app.ino | a2fb74b9321a2c12da4089b8f17e7e45d4eb4dbc | [] | no_license | hongjy127/TIL | 0bda9250f850a21dc27597a8b6288cf7ecb9e470 | a1760aba50bb3b77ab6576f5b5dcb16f0d9f5c5a | refs/heads/master | 2023-06-17T17:04:21.873930 | 2021-07-18T07:54:26 | 2021-07-18T07:54:26 | 325,415,046 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 220 | ino | app.ino | #include <Melody.h>
#include "pitches.h"
#include "pirates.h"
int length = sizeof(notes) / sizeof(int);
Melody melody(2, notes, durations, length);
void setup() {
melody.play();
}
void loop() {
melody.run();
} |
0dd1bd3a2d8b89cca0e6225084456d552c3049af | 25f207ef23e55300ef8b9b2e94ae9de4ba2bd924 | /plugins/inp/sidplay/sidplay/fixpoint.h | 98fba21515ac114224ec2b80d5de471afd9140f4 | [
"LicenseRef-scancode-philippe-de-muyter"
] | permissive | zig/dcplaya | 7a6af0ea20a9426d915f1c08d864f18288fb4a9d | 3ecdfe75ffe5ca2beb73c85c2f7cb05dd79364f2 | refs/heads/master | 2021-01-13T02:26:18.205607 | 2009-08-05T01:11:05 | 2009-08-05T01:11:05 | 271,023 | 4 | 2 | null | null | null | null | WINDOWS-1250 | C++ | false | false | 5,965 | h | fixpoint.h | /*******************************************************************************
*
* File header: PseudoFloat.h
*
* Description: Fixed point class
*
*
* Author: Vincent Penné
*
* Date: Sat 18th October 1997
*
*******************************************************************************/
/*****... |
6e685660d7a1fa55939c78fa83ddc4b39cd75459 | d506f7389997a418f0ecc5b8f6a830bf7df3512a | /MaxLocal.cpp | d302b4dc6a3ca1f58920d84ac2161f34bf564582 | [] | no_license | ali-akhi/Introductory | a64011e4f7f5fc9ba306fe5ce49f5ece7a707b5f | 2aa395f14b74875602dab714175a6b059e5e45c9 | refs/heads/main | 2023-07-10T13:18:09.996086 | 2021-08-22T20:07:53 | 2021-08-22T20:07:53 | 353,035,858 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,654 | cpp | MaxLocal.cpp |
#include <bits/stdc++.h>
using namespace std;
int findLocalMaxima(int n, int arr[])
{
vector<int> mx, mn;
if (arr[0] > arr[1])
mx.push_back(0);
for(int i = 1; i < n - 1; i++)
{
if ((arr[i - 1] < arr[i]) and
(arr[i] > arr[i + 1]))
mx.push_back(i);
... |
d9b3914ae7aab6fa400958e803ca3d2eea55194a | 9ecbc437bd1db137d8f6e83b7b4173eb328f60a9 | /gcc-build/i686-pc-linux-gnu/libjava/gnu/java/locale/LocaleInformation.h | 3ba9ddd6bf21c4ef9786a6202d9b461911f9fa41 | [] | no_license | giraffe/jrate | 7eabe07e79e7633caae6522e9b78c975e7515fe9 | 764bbf973d1de4e38f93ba9b9c7be566f1541e16 | refs/heads/master | 2021-01-10T18:25:37.819466 | 2013-07-20T12:28:23 | 2013-07-20T12:28:23 | 11,545,290 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 597 | h | LocaleInformation.h | // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
#ifndef __gnu_java_locale_LocaleInformation__
#define __gnu_java_locale_LocaleInformation__
#pragma interface
#include <gnu/java/locale/LocaleInformation_en.h>
extern "Java"
{
namespace gnu
{
namespace java
{
namespace locale
{
... |
4e88a09496a711b4c2a9e693ee8490d5cc306c16 | cd954f06232e3b9fe008f9a6291689e75f179a88 | /acwing/每日一题·春季/Week 1/LeetCode 73. 矩阵置零.cpp | 75787514a941b6a122b128aa336942c94d42bef0 | [
"MIT"
] | permissive | upupming/algorithm | 35446f4b15f3a505041ac65c1dc6f825951d8e99 | a3807ba05960b9025e55d668ef95b3375ae71895 | refs/heads/master | 2023-08-09T03:07:18.047084 | 2023-08-01T05:57:13 | 2023-08-01T05:57:13 | 217,478,998 | 239 | 34 | MIT | 2021-08-13T05:42:26 | 2019-10-25T07:41:19 | C++ | UTF-8 | C++ | false | false | 1,596 | cpp | LeetCode 73. 矩阵置零.cpp | /*
用两个变量记录第一行和第一列是否有0。
遍历整个矩阵,用矩阵的第一行和第一列记录对应的行和列是否有0。
把含有0的行和列都置成0。
*/
#include <bits/stdc++.h>
using namespace std;
class Solution {
public:
void setZeroes(vector<vector<int>>& matrix) {
int m = matrix.size(), n = matrix[0].size();
int col0 = 1, row0 = 1;
for (int i = 0; i < m; i++) {
... |
66545bb9932d4a0b599d76e213f149afeaf38f6f | 5386865e2ea964397b8127aba4b2592d939cd9f2 | /grupa C/olimpiada/oblasten/2011/raboti/Haskovo/E/AVG/alphabet.cpp | 608da0e9ea0823bf94342ecb64ea9ed3c8be3ea2 | [] | no_license | HekpoMaH/Olimpiads | e380538b3de39ada60b3572451ae53e6edbde1be | d358333e606e60ea83e0f4b47b61f649bd27890b | refs/heads/master | 2021-07-07T14:51:03.193642 | 2017-10-04T16:38:11 | 2017-10-04T16:38:11 | 105,790,126 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,649 | cpp | alphabet.cpp | #include<iostream>
#include<cmath>
#include<iomanip>
using namespace std;
int main()
{
int n,m,k=0,br=0,br2=0,r=0;
cin>>n>>m;
char a;
int l=0;
for(int i=0;i<m;i++)
{
cin>>a;
br++;
while(a!='.')
{
if(l==0)
{
if(n==1){if(a=='a'||a=='A'){br2=br;}}
... |
6143f6f2b573058fc3a75ba8970a0472750b7c0c | 8cdf166161d7052422634b872d39d0614438963a | /Tree/CheckSumTree.cpp | 75d087f97e32d8f1a738699349448ed2aa18ffdc | [] | no_license | ravimathur23/DataStructureAndAlgorithms | a13c468c3d3a5f8e291cf5df6e814959645e806d | 099ca1316c766a21a1f5794a308243f2772a2d0f | refs/heads/master | 2021-01-25T12:23:51.060688 | 2016-01-21T11:56:17 | 2016-01-21T11:56:17 | 24,589,988 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,024 | cpp | CheckSumTree.cpp | #include <iostream>
#include <stack>
using namespace std;
class Tree{
int data;
public:
Tree(int d):data(d){left= NULL; right=NULL;};
Tree * left; Tree * right;
int get_data(){return data;}
};
int sum(Tree* node){
if(node == NULL)
return 0;
else
return sum(node->left)+node->get... |
68b780ef1b78a7598a4b8125b0e8c8a424cd22d9 | 87b1fdb68e2d21b4c9124b0b2161a25519818b97 | /RobotBuilder/Source/RobotBuilder Source/dmvArticulationData.cpp | fc1f0866bb7a43df44e582b007329dd34e388299 | [
"MIT"
] | permissive | mcmillan03/Robotbuilder | 5d5e37c5513c38b1ff5ab22b804537093d575ecc | 490d35fef532f1220519575021aa39764e3e1afd | refs/heads/master | 2021-07-10T02:25:40.334055 | 2017-10-09T17:55:57 | 2017-10-09T17:55:57 | 106,306,445 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 18,579 | cpp | dmvArticulationData.cpp | // dmvArticulationData.cpp: implementation of the CdmvArticulationData class.
//
//////////////////////////////////////////////////////////////////////
#include "stdafx.h"
#include "dmvArticulationData.h"
#include "dmvRevoluteLinkData.h"
#include "dmvMobileBaseLinkData.h"
#include "dmvPrismaticLinkData.h"
#in... |
9591369f71a051fc61313cf3a3e9ed5e72aed243 | c400b969e46afb5b230745332e55b27f285b7e52 | /SparseVoxelOctree.cpp | 330ce1ecd182d58c26f356341e7a698beb29d65b | [] | no_license | Jiafeimaochuanqi/Sparse-Voxel-DAGs | 3e3af5bf88cb89d0e37903face571d46dea6d99f | 10caf70e93a8e4071b99361de1dca00dd6605527 | refs/heads/master | 2023-03-17T11:53:13.274768 | 2015-06-10T17:48:57 | 2015-06-10T17:48:57 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,536 | cpp | SparseVoxelOctree.cpp | /**
* SparseVoxelOctree.cpp
*
* by Brent Williams
*/
#include "SparseVoxelOctree.hpp"
/**
* Instantiates and initializes the SVO.
*/
SparseVoxelOctree::SparseVoxelOctree(const unsigned int levelsVal, const BoundingBox& boundingBoxVal, const std::vector<Triangle> triangles, std::string meshFilePath)
: bounding... |
ae317675a5b1c83b90bec139ffd2c71ddf544aef | a248cf5584c4d3d0841be339c9c54b14af590b0f | /adding.cpp | 8efc0fbf5f8e05b873acfde0e051c2620ccf7005 | [] | no_license | Patrick-Gemmell/ICS3U-Unit3-01-CPP | aa55a51dee1afb6c12fffd305d48c953f7651d57 | e43f60db5054a27245444cc79c2e26447b058725 | refs/heads/master | 2020-08-01T22:33:55.269236 | 2019-09-26T17:08:16 | 2019-09-26T17:08:16 | 211,139,834 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 638 | cpp | adding.cpp | // Copyright (c) 2019 Patrick Gemmell All rights reserved.
//
// Created by: Patrick Gemmell
// Created on: September 12 2019
// This Program calculates the total of two integers
#include <iostream>
int main() {
// This function calculates area and perimeter
int integer1;
int integer2;
int total;
... |
93d1f5646a5f44d12647f43cbeeb81b2536fc286 | ec3b8fcf4cafe11a7fed25dd9de1304a8e22a6a9 | /src/external/android-jni-wrap/wrap/java.lang.cpp | 523bbaaee110b2c94bb68025b788b2da199a7588 | [
"CC-BY-4.0",
"BSL-1.0"
] | permissive | mateosss/monado | acfcdf105545535c122fe4a720f0e740b028ab75 | a6da40de505b58c28f50dc578d36b7b2f0887ad7 | refs/heads/master | 2023-04-13T22:25:42.732317 | 2021-03-09T17:45:45 | 2021-03-09T18:16:01 | 339,816,160 | 12 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,319 | cpp | java.lang.cpp | // Copyright 2020, Collabora, Ltd.
// SPDX-License-Identifier: BSL-1.0
// Author: Ryan Pavlik <ryan.pavlik@collabora.com>
#include "java.lang.h"
namespace wrap {
namespace java::lang {
Class::Meta::Meta()
: MetaBase(Class::getTypeName()),
forName(classRef().getStaticMethod(
"forName", "(Ljava/lang... |
7f7135df978e0babfbd8470b4e55d39c79535ffc | 4a954a2bf42fd7568035c3657b21e48c745db21e | /hacclient/EngineFunctions.cpp | 1897677c9663c1f42f2274019cbb2bd6a1920937 | [
"MIT"
] | permissive | ChadSki/hacclient | bfe6fcf9e12e484f8a95cb9fc3e6c6ffb4a95d61 | f1471e1f74de13dbbc1ae6d92238939e010ff7d6 | refs/heads/master | 2021-01-18T15:26:50.247524 | 2017-03-30T03:15:13 | 2017-03-30T03:15:13 | 86,653,289 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 4,897 | cpp | EngineFunctions.cpp | #include "EngineFunctions.h"
#include "EngineState.h"
#include "EnginePointers.h"
#include <string>
#include <sstream>
std::uintptr_t HUDPrint, SoundPlay, ChatSend, GenMD5, Connect, CommandExecute,
DisplayMenu, LoadMap, CommandInject, ChatLocalSend,
OverlayResolve;
float* pDrawDistance;
char* VehicleContr... |
db83eaeb46eb6e479d412f360a8f662952ac6510 | fe0fd9a242ae51024f69abe66bcea33435bcf027 | /hooks/DesyncFix.cpp | b9382b8c22c026707952ddda73e5a2376e4131f0 | [] | no_license | Strogoo/FA-Binary-Patches | 320d98fbe4fda7405d6e4e0152503b3533c91034 | f5bcbe7ce4e2880c9339f31bacecb272bd6f2ce2 | refs/heads/master | 2023-07-29T07:26:29.800985 | 2023-02-25T15:21:07 | 2023-02-25T15:21:07 | 221,268,045 | 0 | 0 | null | 2019-11-12T16:56:27 | 2019-11-12T16:56:27 | null | UTF-8 | C++ | false | false | 8,872 | cpp | DesyncFix.cpp | #include "../define.h"
asm(
//HOOK decode
".section h0; .set h0,0x6E4150;"
"jmp "QU(Moho__CDecoder__DecodeMessage)";"
"nop;"
".section h1; .set h1,0x74B8B0;"
"jmp "QU(EndGame)";"
".section h2; .set h2,0x489F90;"
"jmp "QU(Gpg_Net_Entry)";"
"nop;"
"nop;"
//HOOK instance running
".section h3; .... |
740086d874d4ed734020203e788f2ec65ba0eba9 | a7de84b76e5bd1adf6689fc85010966680719cf8 | /BusRoute.h | 81d14f9a617a53f3e7b23364e85d059db1202b4a | [] | no_license | konrad-kalinowski/BusArrival | ac84ded8b826db38f1a56bf264554d987d028a32 | 493728e23ad0ce9fbacc2a213c07bae6252f5412 | refs/heads/master | 2021-09-01T22:19:16.725457 | 2017-12-28T21:56:55 | 2017-12-28T21:56:55 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 827 | h | BusRoute.h | #ifndef BUSROUTE_H
#define BUSROUTE_H
#include <list>
#include "BusStop.h"
#include "RouteSegment.h"
#include <boost/date_time/posix_time/posix_time.hpp>
using namespace boost::posix_time;
using namespace std;
class BusRoute {
public:
BusRoute(const string& name, const list<RouteSegment>& r, list<ptime> depart... |
f188f146aa451a519a25b99f874df936eb208d0c | 6fc66dfe9c818e0295df74e11d132cdc400243ca | /lib/bsp/device/dvp.cpp | 238e7c79649a311f3883f8310be9d9681759a2dc | [
"Apache-2.0"
] | permissive | kendryte/kendryte-freertos-sdk | 600d8acc5900f532bf44823ad758e602dbac8d38 | b9dd7678f4c6549b0458a8ba9d80198691a2504d | refs/heads/develop | 2022-07-15T22:45:47.458472 | 2021-02-01T02:23:27 | 2021-02-01T02:23:27 | 147,630,962 | 206 | 75 | Apache-2.0 | 2020-09-26T14:44:26 | 2018-09-06T06:56:36 | C | UTF-8 | C++ | false | false | 7,215 | cpp | dvp.cpp | /* Copyright 2018 Canaan 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 applicable law or agreed to in ... |
c1efa693f0a6e71c0bded454fd8b321d951dc927 | 63ee03dd1baa698a30d643afbf92ea72f6a10648 | /src/ArsUIMapControlState.cpp | 5eb25413ed65c0cb06c1305750e841557f1f84cb | [] | no_license | imclab/prix-ars-2013-UI | 761fc97fe9a513ecb89808abcbac84ee072bc185 | 4f17e094897470be701e7fa6a333c9392e704d3a | refs/heads/master | 2020-12-31T03:56:36.628112 | 2013-03-15T12:33:26 | 2013-03-15T12:33:26 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 17,872 | cpp | ArsUIMapControlState.cpp | //
// MapControlState.cpp
// arsUI
//
// Created by Circuit Lab. Mac mini on 3/12/13.
//
//
#include "ArsUIMapControlState.h"
//--------------------------------------------------------------
ArsUIMapControlState::ArsUIMapControlState()
{
init();
}
//------------------------------------------------------------... |
fee5dc50a42fdd78ee3e8be648ab6db9a1c5bb34 | 1ae555d3088dc123836060371fc520bf0ff13e52 | /atcoder/abc111/c2.cpp | ea8be89a25f9edb1765af8128ffd8c5765aa3cfd | [] | no_license | knagakura/procon | a87b9a1717674aeb5ee3da0301d465e95c758fde | c6ac49dbaaa908ff13cb0d9af439efe5439ec691 | refs/heads/master | 2022-01-31T19:46:33.535685 | 2022-01-23T11:59:02 | 2022-01-23T11:59:02 | 161,764,993 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 671 | cpp | c2.cpp |
//偶数番目の頻度最大と奇数番目の頻度最大
#include <bits/stdc++.h>
using namespace std;
#define rep(i,N) for(int i=0;i<int(N);++i)
#define rep1(i,N) for(int i=1;i<int(N);++i)
#define all(a) (a).begin(),(a).end() //sort(all(vi S)) sort(all(string S))
typedef long long ll;
typedef vector<int> vi;
typedef set<int> seti;
typedef vector<str... |
c7f1211a8f94591763153b65b9c6bfac01af712a | 791df5c6abb554b9e91cca853171b9a78c5e0104 | /Condition/break.cpp | 72b17b9605a7d399ea963d9beda36d41fab24f5b | [] | no_license | hudacse6/Beginner-and-Intermediate-level-Programming-Codes | 38dbd7112611e97f0fda15d196f438fd6591c731 | ec92c676efa077509bf483416b90aecc6078422a | refs/heads/master | 2021-03-02T19:45:35.381762 | 2020-03-08T22:42:53 | 2020-03-08T22:42:53 | 245,899,469 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 239 | cpp | break.cpp | #include<bits/stdc++.h>
using namespace std;
int main()
{
/// This loop is used to break
//int n=1;
//while( n<=100 )
for(int n=0 ; n<100 ;n++)
{
printf("%d\n",n);
//n++;
if( n>10 )
{
break;
}
}
return 0;
}
|
d503e730829bc3bc439e85264cfd2f7e8aac3144 | 53b0ba368c4a6647f772b30c111cf523a386a33d | /include/operators/bivectorOperators.hpp | 04b5e733a9a321929fd881d1f6939bf6cea897d5 | [] | no_license | L-Naej/Grassman | 0ab0b069248c88a1725c401719ecd9958ebe5490 | e2a8cb16e64574b0c33aa6cca921b6af36f2a2d2 | refs/heads/master | 2021-01-10T19:31:16.001036 | 2014-01-06T15:35:28 | 2014-01-06T15:35:28 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 604 | hpp | bivectorOperators.hpp | #pragma once
#include "scalar.hpp"
#include "vector.hpp"
#include "bivector.hpp"
#include "trivector.hpp"
#include "quadvector.hpp"
namespace gca
{
class GCA_antibivector;
class GCA_antitrivector;
class GCA_antiquadvector;
GCA_quadvector operator^(const GCA_bivector& a, const GCA_bivector& b);
GCA_quadvector operat... |
5bf8c12477d61164f1e4d79ee24ce31b5ae528ef | 830e850a98e3d9140ad67da84d612e2738ed2b88 | /raytracer/include/materials/Matte.h | 82cfd367455ccdfa0a34e370a9a2786b60af298b | [
"MIT"
] | permissive | phaser/raytracer | b6047104be6b1a58eaad47bfe58878934d15c731 | 2f1506b03b0240ee89a06c8bb3429e5392c5a48e | refs/heads/master | 2021-05-04T11:33:02.565654 | 2016-09-11T16:52:48 | 2016-09-11T16:52:48 | 36,222,057 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 309 | h | Matte.h | #pragma once
#include <materials/Material.h>
class Lambertian;
class Matte : public Material
{
public:
Matte();
RGBColor shade(HitRec& hr);
Matte& SetAmbient(Lambertian* ambient);
Matte& SetDiffuse(Lambertian* diffuse);
private:
Lambertian* ambient_brdf;
Lambertian* diffuse_brdf;
}; |
77282f0854a4599d985d231e0d13c6e64f14bc89 | 5c6a0a26dcc7e784876f06375c52ddbb59ec7608 | /final-project-laurenho025/src/tuner.cpp | 42547a5a071077781690d344a35d55f8dd3090de | [] | no_license | laurenho025/face-tuner | 6f6f402df10f3d9b6eae946dc86590ee01d735ce | 5b3ee3caa46964adc544cce8a051527e049f530a | refs/heads/master | 2020-05-30T09:59:48.613113 | 2019-05-02T03:44:06 | 2019-05-02T03:44:06 | 189,662,262 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,598 | cpp | tuner.cpp | #include "tuner.hpp"
#include <vector>
#include <string>
#include <math.h>
using std::vector;
using std::find;
using std::pair;
float Tuner::GetDifference() {
return difference;
}
float Tuner::FindClosestPitch(string selectednote, float measuredmidi) {
// A valid MIDI note number can only be between 21-127
... |
3c16b48c2524aa219ae7e7933ca503ba3e7b4016 | 71f88b70aec1c1b3224e18f0c31abf64fb1332bf | /codeFiles/ChuangkouDlg.cpp | 544a424784e3f00427d1e0410dacae78ba8da039 | [] | no_license | llllllfff233/VCPictureProcessing | 6efc53de8b6b9af2f89f8cb609213b6e1a379739 | d6990ab023aebe4b17555972a16690208f08dcb2 | refs/heads/master | 2021-05-21T00:44:27.666030 | 2017-11-19T14:04:01 | 2017-11-19T14:04:01 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 949 | cpp | ChuangkouDlg.cpp | // ChuangkouDlg.cpp : implementation file
//
#include "stdafx.h"
#include "MfcPictureProcessing.h"
#include "ChuangkouDlg.h"
#include "afxdialogex.h"
// ChuangkouDlg dialog
IMPLEMENT_DYNAMIC(ChuangkouDlg, CDialogEx)
ChuangkouDlg::ChuangkouDlg(CWnd* pParent /*=NULL*/)
: CDialogEx(ChuangkouDlg::IDD, p... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.