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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
148299db2d4de6f64ec8440e6270b9623f7f362b | 70f3bff2cbceb478dc09c8260482472e6f2b7170 | /include/Material.h | ecff806a104f06185786b0482aa9bc99d536aaac | [] | no_license | irpainel-zz/assignment3 | 2b0d3d1e0249c55599b7f653ccba97e11edf4f58 | 5dce885faebc4c7760ccac029dbd54a24a7c1c2f | refs/heads/master | 2021-09-08T20:32:41.559459 | 2014-10-01T05:16:48 | 2014-10-01T05:16:48 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 395 | h | Material.h | /*
* Material.h
*
* Created on: Sep 15, 2014
* Author: Iury Roger Painelli
*/
#ifndef MATERIAL_H_
#define MATERIAL_H_
#include "glm/vec4.hpp"
class Material {
public:
Material();
virtual ~Material();
glm::vec4 emission; // Ecm
glm::vec4 ambient; // Acm
glm::vec4 diffuse; // Dcm
glm::vec4 ... |
94443525fd24c2253c3dea74404d3e9b61f9b910 | d8e7a11322f6d1b514c85b0c713bacca8f743ff5 | /7.6.00.37/V76_00_37/MaxDB_ORG/sys/src/SAPDB/Interfaces/Runtime/IFR_SQLWarning.cpp | 6bc589ad8b34aab62e19c103772757550fd58c07 | [] | no_license | zhaonaiy/MaxDB_GPL_Releases | a224f86c0edf76e935d8951d1dd32f5376c04153 | 15821507c20bd1cd251cf4e7c60610ac9cabc06d | refs/heads/master | 2022-11-08T21:14:22.774394 | 2020-07-07T00:52:44 | 2020-07-07T00:52:44 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,695 | cpp | IFR_SQLWarning.cpp | /*!
@file IFR_SQLWarning.cpp
@author D039759
@ingroup IFR_Common
@brief SQL Warnings
@see
\if EMIT_LICENCE
========== licence begin GPL
Copyright (c) 2001-2005 SAP AG
This program is free software; you can redistribute it and/or
modify it under... |
7fa6dd2f1226fdab92831f1365d1c1922dd0803e | 76c5e0e751e41873a871c31ad590d3e93d193982 | /docaocuacay.cpp | 053354237af1556c26f6c9d73dcde13d313120c2 | [] | no_license | quynhtrangn/CTDL-GT | f25a892523b294c0e419df2e7553436f6be3b6f1 | af28b0c45063c45b9d6a401a1127414e00301929 | refs/heads/master | 2023-07-30T10:56:14.660274 | 2021-09-13T11:54:55 | 2021-09-13T11:54:55 | 405,948,437 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 750 | cpp | docaocuacay.cpp | //#include<bits/stdc++.h>
//#include<queue>
//#include<vector>
//using namespace std;
//int main(){
// long long k,i,j,n,m,x,d,t;
// cin>>t;
// while(t--){
// cin>>n;
// d=0;
// long long s[n+1];
// s[1]=0;
// d=0;
// for (i=0;i<n-1;i++) {
// cin>>m>>k;
// s[k]=s[m]+1;
// ... |
d339a2f9b913bdc3dd89cdc1dca69d01313326ba | 435959be994ec86ac1c09c972a52b8c2b0f9a5b8 | /src/model_importer/FileUtils.h | a48134fafda5c00350365a9e859414116e0b8f0b | [] | no_license | JRB-90/SoftwareRenderer | 77c87cfac4afad925b52b0e3be2c98af17cf2063 | c938f4b9a6a22b84ce4d5ff587732a85092d696c | refs/heads/main | 2023-03-03T12:21:01.051349 | 2021-02-05T10:26:37 | 2021-02-05T10:26:37 | 316,537,644 | 0 | 0 | null | 2021-01-15T15:44:37 | 2020-11-27T15:30:30 | C++ | UTF-8 | C++ | false | false | 216 | h | FileUtils.h | #pragma once
#include <vector>
#include <string>
namespace softengine
{
class FileUtils
{
public:
FileUtils() = delete;
static std::vector<std::string> explode(
const std::string& s,
char c
);
};
} |
9ecb02841426e0256488469abf8742b7ccd0a7af | 3095cc4d7c149c67d56767abf52aa02d354aa0e6 | /src/ds/Triple.h | 5ba5ab0e9966be92e4908fb5fce844ecb5e9380f | [] | no_license | t-s-moon/infltrait | b8e617698de206b8ccbc0362048bc51719f7b3c5 | 641423157b46f4d28025764eba680a2dd868201b | refs/heads/master | 2021-01-01T16:55:14.555124 | 2012-04-01T16:15:22 | 2012-04-01T16:15:22 | 33,077,107 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,135 | h | Triple.h | /**
* @file Triple.h
* @author Taesun Moon <tsmoon@w-central-232-178.public.utexas.edu>
* @date Sun Apr 12 18:11:51 2009
*
* @brief
*
*
*/
#ifndef __TRIPLE_H__
#define __TRIPLE_H__
#include <map>
#include <string>
#include <vector>
namespace infl {
template <typename Container = std::vector<double... |
2ce51908d6412eaf548ab7beb30aca0e475cc190 | 2298cf6c691925733b254368de09e1428c754fcf | /UserTools/MCParticleProperties/MCParticleProperties.cpp | ccbb4d9d5a593dac225963b546f6695b8ffb230c | [
"LicenseRef-scancode-warranty-disclaimer",
"MIT"
] | permissive | ANNIEsoft/ToolAnalysis | a7d6ea18e22ba0770aa3dbb96654e871027cd945 | 0ba4a6ad1c1f7051579b1dea638f7e6fe8a58a30 | refs/heads/Application | 2023-08-16T18:18:13.419107 | 2023-07-25T21:12:45 | 2023-07-25T21:51:38 | 113,612,944 | 7 | 42 | NOASSERTION | 2023-09-13T07:01:16 | 2017-12-08T20:07:35 | C++ | UTF-8 | C++ | false | false | 57,594 | cpp | MCParticleProperties.cpp | /* vim:set noexpandtab tabstop=4 wrap */
#include "MCParticleProperties.h"
#include "MRDSubEventClass.hh" // a class for defining subevents
#include "MRDTrackClass.hh" // a class for defining MRD tracks - needed for cMRDTrack EnergyLoss TF1
#include "Position.h"
#include "TF1.h"
MCParticleProperties::MC... |
939e534176fd14d74421b48e098cd90be0ad1606 | 158456d78a4ae26c260f7d6a10fa289f0c396427 | /cpu_load.cpp | 690e0db1a02397e65cbd4a33c1bb44e6db2c0c62 | [] | no_license | Teste899/SC18 | e8324ff8594d7d5f37f979e7492aed97e2bca084 | 263852c3661610dd89542e3370757c6622e0860e | refs/heads/master | 2020-03-07T04:37:49.048518 | 2018-05-31T04:32:37 | 2018-05-31T04:32:37 | 127,271,757 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 911 | cpp | cpu_load.cpp | #include <pthread.h>
#include <pthread.h>
#include <cstdlib>
#include <iostream>
#include <sys/time.h>
#include <unistd.h>
#include <math.h>
using namespace std;
bool shut= false;
void *idle(void *arg)
{
long n= (long)arg;
cout << "Thread " << n << endl;
double res= 0, i=0;
while(!shut)
{
res+=sqrt(i)*s... |
969ede88d8c836ba8fd0ab2343da2a4e9ae14371 | c35d0440a42c0694ac02f7148c33d611a7406689 | /save_pcd.cpp | 0274b77f439701987b4bde1683ab42f1fa245b09 | [] | no_license | Yuki-fuku/ssii2016_tutorial | c4c1eaa2258a56715004285408d53901a47b5854 | a5dc94a9b637d276da55d7320044e5b29098c65d | refs/heads/master | 2021-12-09T05:17:33.040679 | 2016-04-28T09:49:24 | 2016-04-28T09:49:24 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,871 | cpp | save_pcd.cpp | #include <ros/ros.h>
#include <cv_bridge/cv_bridge.h>
#include <opencv2/highgui/highgui.hpp>
#include <pcl_ros/io/pcd_io.h>
#include <sensor_msgs/image_encodings.h>
class SavePCD {
private:
ros::NodeHandle _nh;
ros::Subscriber _sub1, _sub2;
pcl::PointCloud<pcl::PointXYZRGB> input_cloud;
int save_count;
public:... |
ca697be0950ddb5b729fef988681a61248d1986a | 59c26579e0e993f485878aab72b0b6a735c657b5 | /ThrowBack/GrandPrize.cpp | de82b1734f3a854457c7d507f3d4ece75613dee2 | [
"MIT"
] | permissive | Rufian55/Cplusplus | 0bf999638640ff4fee02d2ca12244a2a9de5654a | baaf5d3b0a36c95d1e796b85aafc407d3f2c5a4b | refs/heads/master | 2021-04-26T05:36:54.030791 | 2016-10-10T20:17:09 | 2016-10-10T20:17:09 | 66,270,120 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,859 | cpp | GrandPrize.cpp | /****************************************************************************************
** Program Filename: GrandPrize.cpp
** Author: Chris Kearns
** Date: 3/17/2016
** Description: Contains the grandPrize() function.
** Input: array "collector"
** Output: Used by Main.cpp to generate Jan Kok's Galaxy oscillator ani... |
8b89bdba9fe8f693f2ba14f5160f8a90dc6904df | 5c23b302684f260fbbad2edfe19dd7cf16fd822c | /ch06/exercise_6_33.cpp | 5bf21169bdc173eac7d7f9e2757765298b5a66cc | [] | no_license | platoTao/CPP_Primer_Answer | 123c99b0283ba15d51037cf16f2a6886b570d394 | b1837239c9d58e54587f7a5ae44ee220238f5c95 | refs/heads/master | 2021-04-03T06:43:04.089574 | 2018-06-10T06:25:57 | 2018-06-10T06:25:57 | 124,714,759 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 343 | cpp | exercise_6_33.cpp | #include<iostream>
#include<vector>
using namespace std;
void print(vector<int>::iterator beg,vector<int>::iterator ends){
if(beg == ends)
return;
else{
cout << *beg << " ";
return print(++beg,ends);
}
}
int main(){
vector<int> v1 = {1,2,3,4,5,6,7,8};
print(v1.begin(),v1.e... |
d32852fd8ab35f824af446a4b66acd014bedd654 | fb5b25b4fbe66c532672c14dacc520b96ff90a04 | /export/release/macos/obj/include/EtternaFunctions.h | d65808e36ea35ff81045b149285a5ebad4cafa96 | [
"Apache-2.0"
] | permissive | Tyrcnex/tai-mod | c3849f817fe871004ed171245d63c5e447c4a9c3 | b83152693bb3139ee2ae73002623934f07d35baf | refs/heads/main | 2023-08-15T07:15:43.884068 | 2021-09-29T23:39:23 | 2021-09-29T23:39:23 | 383,313,424 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | true | 2,271 | h | EtternaFunctions.h | // Generated by Haxe 4.1.5
#ifndef INCLUDED_EtternaFunctions
#define INCLUDED_EtternaFunctions
#ifndef HXCPP_H
#include <hxcpp.h>
#endif
HX_DECLARE_CLASS0(EtternaFunctions)
class HXCPP_CLASS_ATTRIBUTES EtternaFunctions_obj : public ::hx::Object
{
public:
typedef ::hx::Object super;
typedef EtternaFunctions_ob... |
b86dddbb07432228fedf10b9ced0437f92357bd8 | d2211a60418e59cdc59528168b961600c0d06da0 | /Engine/Igneel.D3D9/EnumConverter.cpp | 8c467eaaa407874b0b8e8512255dce0e05b2cd22 | [
"Apache-2.0"
] | permissive | ansel86castro/Igneel | 2bdee251d9b66760284bb65b238904a00f1217b4 | 7a1e6c81e18326aff78be97cc4321f3a610481ff | refs/heads/master | 2020-01-23T21:57:10.375352 | 2018-09-07T20:18:49 | 2018-09-07T20:18:49 | 74,725,914 | 8 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 10,829 | cpp | EnumConverter.cpp | #include "stdafx.h"
#include "EnumConverter.h"
#include < stdio.h >
#include < stdlib.h >
#include < vcclr.h >
D3DFORMAT GetD3DFORMAT(Format f)
{
switch (f)
{
case Igneel::Graphics::Format::UNKNOWN: return D3DFMT_UNKNOWN;
case Igneel::Graphics::Format::R16G16B16A16_FLOAT: return D3DFMT_A16B16G16R16F;
ca... |
f99a0d83d090c53dc16c32b5e1104d5e38659999 | 91a882547e393d4c4946a6c2c99186b5f72122dd | /Source/XPSP1/NT/inetsrv/msmq/src/admin/mqsnap/certgen.h | 5c0cf8d09002c76e1cdaddf73c13ec08b2f18a20 | [] | no_license | IAmAnubhavSaini/cryptoAlgorithm-nt5src | 94f9b46f101b983954ac6e453d0cf8d02aa76fc7 | d9e1cdeec650b9d6d3ce63f9f0abe50dabfaf9e2 | refs/heads/master | 2023-09-02T10:14:14.795579 | 2021-11-20T13:47:06 | 2021-11-20T13:47:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,466 | h | certgen.h | #if !defined(AFX_CERTGEN_H__3FE71264_DA70_11D1_9C86_006008764D0E__INCLUDED_)
#define AFX_CERTGEN_H__3FE71264_DA70_11D1_9C86_006008764D0E__INCLUDED_
#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000
// CertGen.h : header file
//
/////////////////////////////////////////////////////////////////////////////
/... |
8098d1e757e358aff977311a7c5f48dedee07af0 | b66eaf76662219e560eadf6e2d62b8b1a19de4f1 | /Introduction/LinearDS/STLlist/11988.cpp | 0e18821ca86c8fefac36a7f9eace864d6a220b5c | [] | no_license | jPHU/CP3 | a6d6256ea53fcbecef0af99a26ef4b3633009ea9 | d1b8b37ef0a3896829fa5704a69b8b808056f686 | refs/heads/master | 2021-05-05T12:00:37.896507 | 2018-02-18T19:56:11 | 2018-02-18T19:56:11 | 118,205,699 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 727 | cpp | 11988.cpp | #include <list>
#include <cstdio>
#include <iostream>
#include <string>
using namespace std;
int main(void)
{
string input;
while(getline(cin, input) && input != "")
{
list<char> beiju;
list<char>::iterator it = beiju.begin();
for(char c : input)
{
if(c == ... |
774810091b8acded36a0a6fdce133212e27c545e | 9d364070c646239b2efad7abbab58f4ad602ef7b | /platform/external/chromium_org/chrome/browser/ui/libgtk2ui/g_object_destructor_filo.h | 02c6ae9263090f0e68b963b1a40612c9c2fd277f | [
"BSD-3-Clause"
] | permissive | denix123/a32_ul | 4ffe304b13c1266b6c7409d790979eb8e3b0379c | b2fd25640704f37d5248da9cc147ed267d4771c2 | refs/heads/master | 2021-01-17T20:21:17.196296 | 2016-08-16T04:30:53 | 2016-08-16T04:30:53 | 65,786,970 | 0 | 2 | null | 2020-03-06T22:00:52 | 2016-08-16T04:15:54 | null | UTF-8 | C++ | false | false | 1,685 | h | g_object_destructor_filo.h | // Copyright (c) 2012 The Chromium 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 CHROME_BROWSER_UI_LIBGTK2UI_G_OBJECT_DESTRUCTOR_FILO_H_
#define CHROME_BROWSER_UI_LIBGTK2UI_G_OBJECT_DESTRUCTOR_FILO_H_
#include <glib.h>
#in... |
6a829dda3c55e28b88579ba8cdcd5ef30fabe7e5 | 39e1131c46c2c934b758638e0b13b59b01a28df6 | /semana1/main.cpp | 85815697a70fb1234fb4f75ce89c3a3504446223 | [] | no_license | ator89/clasesP3 | ab88bae53670066306e0990c0a9e05be2afeb1b1 | 5e3f70dd79d0ffb70043e4854a5230f47796a8b1 | refs/heads/master | 2020-04-01T10:47:04.253359 | 2019-01-30T19:25:47 | 2019-01-30T19:25:47 | 153,131,551 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 542 | cpp | main.cpp | #include <iostream>
using std::cout;
using std::endl;
using std::cin;
int main(){
int numero;
char opcion;
do{
cout << "Ingrese un numero: "<< endl;
cin >> numero;
if(numero < 0){
cout << "Ingrese solo positivos."<<endl;
}else{
for(int i=1; i<=numero; i++){
... |
56242da78516452c139963d29353b88957369c9f | 7556139eba33cbbbf0e0262c69e9c8b56e08a399 | /include/RED4ext/Scripting/Natives/Generated/input/InputSystemWin32Base.hpp | 290fb6cba4d2be26d70c27d444948c9c68db87bf | [
"MIT"
] | permissive | vandermerwewaj/RED4ext.SDK | 3ef7563a1855e6206097fdf6c5b44ae1c1c2c20d | 9dd544a221a39f27c8d38aa23a607b31aba1715a | refs/heads/master | 2023-09-05T06:32:39.278419 | 2021-11-22T15:01:18 | 2021-11-22T15:01:18 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 540 | hpp | InputSystemWin32Base.hpp | #pragma once
// This file is generated from the Game's Reflection data
#include <cstdint>
#include <RED4ext/Common.hpp>
#include <RED4ext/Scripting/Natives/Generated/input/IInputSystem.hpp>
namespace RED4ext
{
namespace input {
struct InputSystemWin32Base : input::IInputSystem
{
static constexpr const char* NAM... |
1889b447ea9a77e3af7cd9745532e7c0a8d09194 | 9d96add1aa91b24d47b671bb6dabbc0f7335c0a9 | /base/string16.h | 0cf5804b2cc6cd08bc37b284d284bb05c91fae2c | [] | no_license | shangsh/chromium_ui | eff0fdde5da038b98485ec78cb9a5314e99c71b8 | c9dd9643247b2ce824ca8d6164604ee3dfdbc1bb | refs/heads/master | 2022-11-18T00:18:03.039532 | 2020-07-18T09:30:09 | 2020-07-18T09:30:09 | 280,623,231 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 171 | h | string16.h |
#ifndef __string16_h__
#define __string16_h__
#pragma once
#include <string>
typedef wchar_t char16;
typedef std::wstring string16;
#endif //__string16_h__ |
b2aa5159195e52fefbb243beaf3317147331f0a0 | b3cef08db0c047ddf3e608048b6a2422b1aeecd0 | /dependencies/include/Utilities/EdeficeCommon/BasicTString.h | fac87a4d5a3f3e7187603f9a1205274b836e9378 | [] | no_license | benagain/CredProv | 5668eadbb07ad8784179e4ae7026e02fe9646dfa | e9ff80af69ef2b46cba9ab33f1091a2135b277b0 | refs/heads/master | 2021-09-10T21:55:55.821741 | 2018-04-02T20:41:40 | 2018-04-02T20:41:40 | 127,474,144 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 351 | h | BasicTString.h | #pragma once
#include <string>
#include <tchar.h>
namespace EdeficeCommon {
#ifdef _UNICODE
typedef std::wstring tstring;
typedef std::wstringstream tstringstream;
#else
typedef std::string tstring;
typedef std::stringstream tstringstream;
#endif
}
namespace eUtil {
using EdeficeCommon::tstring;
using E... |
2bfe24203e47a8881485f1ea081ce6d91f05d23e | 4bea57e631734f8cb1c230f521fd523a63c1ff23 | /projects/openfoam/rarefied-flows/hyperCavity/test_case/0.00034/linearKE | b71831a5fca8abceae2cbb8f446b7d0fb29245a6 | [] | no_license | andytorrestb/cfal | 76217f77dd43474f6b0a7eb430887e8775b78d7f | 730fb66a3070ccb3e0c52c03417e3b09140f3605 | refs/heads/master | 2023-07-04T01:22:01.990628 | 2021-08-01T15:36:17 | 2021-08-01T15:36:17 | 294,183,829 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 16,408 | linearKE | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v1912 |
... | |
96c14ced1e63da7d2b1aa1c74ea7bd35ddc9293e | e8e25b6152e01e4f6de80524e44f874392825b71 | /Engine/Renderer/FrameTimer.cpp | 108c422a5d15fffca958ef63867c316de8e1cb72 | [] | no_license | BenPowellDev/RelicHuntersSEG | 0bf43252cae6179e60edd3943d557268601a31b2 | 9a7c91222d3b851ac69b47b1a5bd241eb6903842 | refs/heads/main | 2023-04-30T17:37:13.709324 | 2021-05-12T10:19:11 | 2021-05-12T10:19:11 | 366,674,370 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 717 | cpp | FrameTimer.cpp | #include "FrameTimer.h"
#include <iostream>
const double TARGET_FRAMETIME = 1.0 / 60.0;
FrameTimer::FrameTimer()
{
}
FrameTimer::~FrameTimer()
{
}
void FrameTimer::Initialise()
{
m_ElapsedTime = 0.0;
QueryPerformanceFrequency(&frequency);
//start the timer
QueryPerformanceCounter(&last... |
4c25e483ffec7fa4bb65b47cc5125fb1053beef7 | d7085a2924fb839285146f88518c69c567e77968 | /KS/SRC/ks/files_frontend.cpp | e3423c97118f004c288c54918338ece59e74537f | [] | no_license | historicalsource/kelly-slaters-pro-surfer | 540f8f39c07e881e9ecebc764954c3579903ad85 | 7c3ade041cc03409a3114ce3ba4a70053c6e4e3b | refs/heads/main | 2023-07-04T09:34:09.267099 | 2021-07-29T19:35:13 | 2021-07-29T19:35:13 | 390,831,183 | 40 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 2,169 | cpp | files_frontend.cpp | // front end files
// With precompiled headers enabled, all text up to and including
// the following line are ignored by the compiler (dc 01/18/02)
#include "global.h"
#include "globaltextenum.cpp"
#include "boarddata.cpp"
#include "FEPanel.cpp"
#include "FEAnim.cpp"
#include "FEMenu.cpp"
#include "tut... |
ab8217c8b8262313b942b7c3feb2526e1955242e | eef061820925a2c30599aa244f3a4716f4e469f9 | /RangoShooter/3dHelperClasses.cpp | e88558622e0719298b065f0c88df334e0751dc90 | [] | no_license | licnep/RangoShooter | 56b9c5b040abea804d20fa7ba1dbd55920345594 | b69d1c79ada63c5e2aac7f6c589d70d5ed13e5d8 | refs/heads/master | 2016-09-06T18:26:58.980005 | 2013-07-21T15:28:16 | 2013-07-21T15:28:16 | 11,183,122 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,629 | cpp | 3dHelperClasses.cpp | #include "loader.h"
#include "3dHelperClasses.h"
float linearInterpolation(float start,float end, float percent)
{
return start+percent*(end-start);
}
void translateRotate(locRot r) {
glTranslatef(r.x,r.y,r.z);
glRotatef(r.x_rot,1.0,0.0,0.0);
glRotatef(r.y_rot,0.0,1.0,0.0);
glRotatef(r.z_rot,0.0,0.0,1.0);
}
vo... |
2491e64ff46177abf98578fe0f1d838f5d81c9c8 | c6bddd88916e6c8697a9e02485bd22c58d76bcec | /GeneratedPlaceholders/Engine/MaterialExpressionStaticBool.h | 7364f810d2bee44934dcff1b7a2c8c89b222513b | [] | no_license | GIRU-GIRU/Mordhau-Unofficial-SDK | 18d13d62d746a838820e387907d13b0a37aed654 | f831d7355cf553b81fb6e82468b3abf68f7955aa | refs/heads/master | 2020-07-06T03:36:48.908227 | 2020-04-22T13:54:00 | 2020-04-22T13:54:00 | 202,872,898 | 7 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 281 | h | MaterialExpressionStaticBool.h | #pragma once
#include "CoreMinimal.h"
#include "MaterialExpressionStaticBool.generated.h"
UCLASS()
class UMaterialExpressionStaticBool : public UMaterialExpression
{
GENERATED_BODY()
public:
UPROPERTY(Replicated, EditAnywhere, BlueprintReadWrite)
unsigned char Value : 1;
}; |
ce42656f295cf01fb388e94eac81502da093536d | d58c240d46a77f04f7dbda6a4ccbf77777fb08f3 | /createll.hpp | 8fc55cdca7f67ffc8a32fb0169e27570e0b170ca | [] | no_license | joshianshul2/Linked-List | 968e7126fa231f08ed6a42c385286cfa3342f1e5 | 7a7156ccf794d026a962f41e69903cca3e1368a3 | refs/heads/master | 2022-04-18T20:53:40.999946 | 2020-04-18T18:21:15 | 2020-04-18T18:21:15 | 256,822,968 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 221 | hpp | createll.hpp | //
// createll.hpp
// LL
//
// Created by Anshul joshi on 18/04/20.
// Copyright © 2020 Anshul joshi. All rights reserved.
//
#ifndef createll_hpp
#define createll_hpp
#include <stdio.h>
#endif /* createll_hpp */
|
9a6972b9ffa1f273fd9c92db7db405d7de2ea021 | a58b889171c57b8509c72b9b122b31faf975ffae | /完全数.cpp | 159616f0191cde3a22a3d788f7ef1c6d30d60fdf | [] | no_license | Lstaras/C-practices | 8e8aa0764bd0d63d1f43ffc000ceb2ef57af260d | af27d53584f6e7f22ee3e76a45bf714a18cfe8d9 | refs/heads/master | 2020-04-26T09:13:25.607738 | 2019-03-28T14:09:06 | 2019-03-28T14:09:06 | 173,448,259 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 547 | cpp | 完全数.cpp | //完全数:如果一个数恰好等于它的因子之和,则称该数为"完全数"
//它所有的真因子(即除了自身以外的约数)的和(即因子函数),恰好等于它本身。
#include<stdio.h>
int isPerfect(int n){
int i;
int sum = 0;
if (n<=0){
return 0;//
}else{
sum = 0;
for (i = 1; i < n; ++i){
if (n%i==0)
{
sum+=i;
}
}
}
if (sum==n)
{
return 1;
}else{
return 0;
}
}
int main(int... |
97fe1f444f916f01bf8df53c2b2f9c9830660076 | 60a02af9855fd34fbe668628bca31e1bd0e37ea2 | /projects/eclipse_workspace_kang/test2/src/aa.cpp | c6edf8d9bee554f2862930b9815f6b9c4d3707e6 | [] | no_license | dwkang0/auto-car | ac43dcd178789c906886042931f6634a85b79d4f | 230e5a558790634bd420010c049d386561b089ca | refs/heads/master | 2020-06-01T15:27:00.951042 | 2019-09-21T01:13:25 | 2019-09-21T01:13:25 | 190,833,289 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 152 | cpp | aa.cpp | /*
* aa.cpp
*
* Created on: 2019. 7. 28.
* Author: dwkang
*/
#include "abc.h"
#include <stdio.h>
void abc::print2(){
printf("print2");
}
|
2ffd9dd96e5f93036837bee838e0d4d0d91444f9 | 3adbe404c5a38e92a48f8cc45753b888cb71450d | /minnum.cpp | c6c8cfeed22ec308170b9616cdadb4ca3aad3fa7 | [] | no_license | pravinkumarkg/codekata7 | 08254a6ef6acd684462bbbb4018a174e7a9ef016 | 18fc0a60a7dcda1ec196f7805e6e5f7887c5012f | refs/heads/master | 2020-06-30T13:38:30.777915 | 2019-08-06T14:03:01 | 2019-08-06T14:03:01 | 200,843,257 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 229 | cpp | minnum.cpp | #include <iostream>
using namespace std;
int main()
{
int n;
cin>>n;
int arr[n];
for(int i=0;i<n;i++)
{
cin>>arr[i];
}
int min=arr[0];
for(int j=0;j<n;j++)
{
if(min>arr[j])
min=arr[j];
}
cout<<min;
return 0;
}
|
87a9421d09eea2500f114bd6d6bd704e48a93e3b | 79e1d6c2a95d9833b0d645191fbd518c673cf27f | /_7.0.95/MainMCU/THardware.h | 754aeb3aba968f931d8a9be166fa7478938db826 | [] | no_license | yaroslau1/Firmware_LastRelease | 1a1ff064a6097e53429a9aa32784270ba0a1e0df | 57ba1e60ff9562601a9a98d5851ced2559ed3dc8 | refs/heads/master | 2021-09-25T03:42:07.583348 | 2018-10-09T14:01:09 | 2018-10-09T14:01:09 | 152,089,652 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,748 | h | THardware.h | /*----------------------------------------------------------------------------------*/
#ifndef HARDWARE_H
#define HARDWARE_H
/*----------------------------------------------------------------------------------*/
#include "main.h"
/*----------------------------------------------------------------------------------*/
//... |
c19bef80d1158d0766dec28021d1596764cd6f45 | 2f7fba7427ae2a7f95664080c1a48c4502f2b78c | /Codeforces/beautiful_year.cpp | 8a4e2823c2e900808af3f2fd3a3b32c5d3b1fb7f | [] | no_license | max-muoto/competitve-programming | b66c6079a3a7b41a02a15133f5bd9215b36948fb | 4ca66c4c24286eebcf0cf69362e76a2d0c6d4d5b | refs/heads/master | 2023-01-30T23:19:15.880343 | 2020-12-19T23:32:48 | 2020-12-19T23:32:48 | 322,956,126 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 630 | cpp | beautiful_year.cpp | #include <algorithm>
#include <iostream>
#include <string>
#include <vector>
#include <cmath>
#include <map>
using namespace std;
int main() {
int y;
cin >> y;
for (int i = y; i++;) {
string z = to_string(i);1
int counter = 0;
std::map<char, int> occurences = {};
for (int x =... |
18223aef0cf380aa6b8e76396a3490c5a80ad46d | e87944a8f72367e62cf35f11e0ae741ba2ade27c | /src/lasers/button.cpp | 3c12c8d2ec81b1b1abddc823726c9bd291d829cd | [] | no_license | Think-Engineer/laser-harp | 2c09bc69b0f23afe79a0e8689eab4b8279e9ac51 | 8cd87345ac7f7e5eb2701339cae535260a632190 | refs/heads/master | 2020-03-27T13:46:30.126520 | 2018-08-29T17:16:50 | 2018-08-29T17:16:50 | 146,627,408 | 4 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,692 | cpp | button.cpp | #include "button.h"
/* Store Button Pins and Values */
int nextButton = A14; //TODO: update after buttons installed
int nextButtonValue;
int prevButton = A15;
int prevButtonValue;
/* Store voices */
int voices[VOICE_COUNT] = { 46, 102, 12, 18, 101, 91, 89, 80, 95, 45 };
int currentVoice = 0;
void saveVoice() {
u... |
1dfe57b914ae396870975a76a75b426df6514fd8 | ba7a96bd68d6ccbe571cb7a2f0f3f007ecbeafe9 | /UVA.11461.SquareNumbers/squareNumbers.cpp | 0ead327dfcf91903c7b1fe0462e992200f095ab8 | [] | no_license | simon0191/ProgrammingExercises | 6d45cf8d60a494218d188e9bbf776940a7928779 | 3e49e539a844e2a3069f0e008fee61de6eb7ccd9 | refs/heads/master | 2021-01-23T03:05:28.105220 | 2012-09-21T05:51:16 | 2012-09-21T05:51:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 852 | cpp | squareNumbers.cpp | #include <algorithm>
#include <bitset>
#include <cctype>
#include <cmath>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <deque>
#include <iostream>
#include <iterator>
#include <limits>
#include <list>
#include <map>
#include <queue>
#include <set>
#include <stack>
#include <vector>
#define UL... |
287294b5ce591e77ff193c599bdc0dbf9c104442 | eb3d5577434b795317b6c9f768f80c7b18bd243f | /ecf50/fh.cpp | 77c121ee90cf2e4dfb0d7cc22d3ecba3d4931ef8 | [] | no_license | JacobianDet/CompeteUp | e00f9f468eb074dfe6e21eeadc17193e5b118f28 | f4048b093e0dc0dad054cc4024eac09e2567630e | refs/heads/master | 2021-06-08T16:18:26.320750 | 2021-04-03T13:29:42 | 2021-04-03T13:29:42 | 143,545,505 | 2 | 1 | null | 2021-04-03T13:29:42 | 2018-08-04T16:37:05 | C++ | UTF-8 | C++ | false | false | 174 | cpp | fh.cpp | #include <bits/stdc++.h>
typedef long long ll;
int main(void)
{
ll n,k;
std::cin>>n>>k;
if(k % n)
std::cout<<(k/n) + 1<<"\n";
else std::cout<<(k/n)<<"\n";
return 0;
} |
5b96e51fcf95fa5b7d2644cf438b434d57a0762b | 0ef4f71c8ff2f233945ee4effdba893fed3b8fad | /misc_microsoft_gamedev_source_code/misc_microsoft_gamedev_source_code/extlib/Scaleform/GFx SDK 2.1.57/Src/GKernel/GRefCount.cpp | e10ae5d6a8b3d026977dc9ab6977f2887ee39cf8 | [] | no_license | sgzwiz/misc_microsoft_gamedev_source_code | 1f482b2259f413241392832effcbc64c4c3d79ca | 39c200a1642102b484736b51892033cc575b341a | refs/heads/master | 2022-12-22T11:03:53.930024 | 2020-09-28T20:39:56 | 2020-09-28T20:39:56 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,386 | cpp | GRefCount.cpp | /**********************************************************************
Filename : GRefCount.cpp
Content : Reference counting implementation
Created : January 14, 1999
Authors : Michael Antonov
Notes :
History :
Copyright : (c) 1999-2006 Scaleform Corp. All Rights Re... |
295eeccaeb86367e33f72d5d22b4f6637ca66eab | 53f5ffa858d936b3dcdd2c62d972f5dcfcc8d48f | /src/systems/differential/attractor/Lorenz83Attractor.h | b27e64c9008590f8de66d499a99eca3196208286 | [
"Unlicense"
] | permissive | pigatron-industries/xen_octasource | 7c8ffc20374f3bdaec66892b42e664b1657662ae | 6430c1af2382233d5608d654688bc4a24131440f | refs/heads/master | 2023-07-22T21:36:29.744523 | 2023-07-19T22:27:05 | 2023-07-19T22:27:05 | 234,933,202 | 7 | 1 | Unlicense | 2021-11-06T11:06:07 | 2020-01-19T16:54:05 | C++ | UTF-8 | C++ | false | false | 956 | h | Lorenz83Attractor.h | #ifndef Lorenz83Attractor_h
#define Lorenz83Attractor_h
#include "../ContinuousSystem.h"
class Lorenz83Attractor : public ContinuousSystemN<3> {
public:
void init(float sampleRate) {
ContinuousSystemN::init(sampleRate);
pos[X] = 0.1;
pos[Y] = 0.1;
pos[Z] = 0... |
7542dbbaa9e18282cda17d701e4c739491ee7bc3 | cc426fede0b4ecc7af978f23227e01b6e962df44 | /src/game/player_controller.hpp | 791c3a2f8bafd995acc428f8004ee4fa99c157ea | [
"MIT"
] | permissive | RiscadoA/voxel-platformer | 0618cef1b524eb9983e779c93fc8faa4c3d3adb0 | 4e7aadad978c333a59f452a8ee9f4612ee128614 | refs/heads/master | 2023-03-14T20:42:32.566603 | 2021-03-05T20:35:05 | 2021-03-05T20:35:05 | 342,795,753 | 5 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,601 | hpp | player_controller.hpp | #pragma once
#include <vpg/ecs/behaviour.hpp>
#include <vpg/data/text.hpp>
#include <vpg/input/mouse.hpp>
#include <vpg/input/keyboard.hpp>
#include <vpg/physics/collider.hpp>
using namespace vpg;
struct PlayerController : public ecs::IBehaviour {
static constexpr char TypeName[] = "PlayerController";
st... |
7a2bcdc3418f62d14677686f7e1e74f4df171a0e | 39f0781900fe2eb6a9be10fd1f014ffebbff188d | /src/keysubscriber.cpp | 880ab0cdaddb0b761c7000131d6e88e93fb43d22 | [] | no_license | f5gkw/visionS | 0b34fb015a07dcf16b2379de708257853648cad5 | b1d943893dfdc3964f1adc63f2f07dc0d043382a | refs/heads/master | 2021-08-27T17:16:39.655574 | 2017-05-05T20:07:26 | 2017-05-05T20:07:26 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 139 | cpp | keysubscriber.cpp | #include "keysubscriber.h"
void KeySubscriber::parse() {
// std::string str = data_buffer->front();
// data_buffer->popFront();
}
|
b069e5b788e233a5d85c8a42b5e589b1cd0abc3a | c7c6e341decb69347dfba3eb8ef9dab0e628104a | /include/bak/TEA16.h | 9ceab359d3c049ded295dd8a3e64c2d22949809b | [] | no_license | sarrows/EasyCoding | 1307ef39d1befbbf8493c864a53746ab4ec77707 | 319802595367f15ae915c8a9f5b6fa60961a419f | refs/heads/master | 2021-01-10T19:45:18.326058 | 2014-11-04T15:25:23 | 2014-11-04T15:25:23 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,234 | h | TEA16.h | /*TEA 16*/
#ifndef _QCRYPTER_H_
#define _QCRYPTER_H_
#include "MD5Cryptor.h"
class CQCryptor
{
public:
CQCryptor();
~CQCryptor();
static int encrypt(unsigned char * in, // 输入串
int in_len, // 输入串长度
unsigned char * key, // 密钥... |
f052a1657c7eff2e3c624914a6df7db6c9fe1203 | 733de464662408d2ed3fa637b0c7ecdc7c281c0a | /device/component/keys/ascii_key.h | 6ee4fcc872ac876f7554e6872038fb2fd6e704bf | [
"MIT"
] | permissive | aconstlink/snakeoil | f15740eb93d3e36b656621bb57a0f7eb2592f252 | 3c6e02655e1134f8422f01073090efdde80fc109 | refs/heads/master | 2021-01-01T17:39:53.820180 | 2020-02-23T20:56:36 | 2020-02-23T20:56:36 | 98,117,868 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,055 | h | ascii_key.h | //------------------------------------------------------------
// snakeoil (c) Alexis Constantin Link
// Distributed under the MIT license
//------------------------------------------------------------
#pragma once
#include "../../typedefs.h"
#include <snakeoil/log/global.h>
namespace so_device
{
enum class ascii... |
2ce7776b2f6cd3e462787a41df369d247293d3d1 | e452ae6edba31ad013d9fcb058ff91f217b66d45 | /Zaprzyjaznij_sie_z_algorytmami/trt.cpp | 639e74942f833719f990469ad19796f88124e739 | [] | no_license | bati22/Algorithmics---solved-problems | fa725cea43e697ebca5c049e6c7785affccd87f2 | 8aa3317380833c27fc60c5b92ef45d1f54640818 | refs/heads/main | 2023-04-03T13:55:32.382866 | 2021-04-15T18:17:30 | 2021-04-15T18:17:30 | 358,334,966 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,451 | cpp | trt.cpp | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
const ll N_MAX = 2000009;
ll f_begin, f_end;
ll a, b, n, k;
ll x[N_MAX];
ll y[N_MAX];
ll part_x[N_MAX];
ll part_y[N_MAX];
ll v;
ll part_number;
ll last_result;
ll check(ll v)
{
ll result = 0;
ll j = n;
for (ll i = 0; i <= n; i++)
{
while(j >= 0 ... |
72ee3bf8d41bc2c2fbf88d5c7d4410dd6bd9daaf | 32809f6f425bf5665fc19de2bc929bacc3eeb469 | /src/1259-Handshakes-That-Don't-Cross/1259.cpp | 37f95888dc620f4bb602c219ca071ddea440dbad | [] | no_license | luliyucoordinate/Leetcode | 9f6bf01f79aa680e2dff11e73e4d10993467f113 | bcc04d49969654cb44f79218a7ef2fd5c1e5449a | refs/heads/master | 2023-05-25T04:58:45.046772 | 2023-05-24T11:57:20 | 2023-05-24T11:57:20 | 132,753,892 | 1,575 | 569 | null | 2023-05-24T11:57:22 | 2018-05-09T12:30:59 | C++ | UTF-8 | C++ | false | false | 482 | cpp | 1259.cpp | class Solution
{
public:
int numberOfWays(int n)
{
vector<long long> inv(n / 2 + 2, 0);
inv[1] = 1;
long long mod = 1e9 + 7, res = 1;
for (int i = 2; i < n / 2 + 2; i++)
{
inv[i] = mod - mod / i * inv[mod%i]%mod;
}
for (int i = 1; i < n/ 2 +... |
4ed43d621d77bb65045cbafa9c0990607d60e045 | 6e8c86ecd1b21a94d119142f3d9681fc68cde014 | /2.2. lab in cpp/6th lab.cpp | 4bc83ee1094297c04c68345cc44c95d0d7f8dda1 | [] | no_license | NaziaAnjumSharupa/c-and-cpp | 6bca220fe792fe7e3cca23215c5396ed7c44a8cf | c39798158c4590a0c7646050e137d37bcf3006e2 | refs/heads/master | 2021-05-03T14:26:38.967870 | 2018-02-06T12:40:06 | 2018-02-06T12:40:06 | 120,456,073 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,022 | cpp | 6th lab.cpp | #include<iostream>
#include<conio.h>
#define INF 999999999
using namespace std;
int a,b,u,v,n,i,j,k,ne=1;
int mini,mincost=0,cost[9][9],parent[9];
long int m[20][20];
int s[20][20],p[20];
int find1(int);
int uni(int,int);
void print_optimal(int,int);
void matmultiply(void);
Kruskals()
{
cout<<"Enter the number of v... |
315abc36a45b398ff8527cf4f2d342f4421bd7ab | 40116762cdaf8af03d9b77d412abbc2bd2a0f822 | /native/cocos/core/geometry/Frustum.cpp | 1c9c08411a6649bc6d9b4a16e01f4eca6745361b | [
"MIT"
] | permissive | shrinktofit/engine | 10facc571f22584691661399f280cccc6b0cfeb5 | 7bad7a25ec9fa9c540e2231c25ec4a52fe00d8cb | refs/heads/develop | 2023-08-21T19:55:32.188131 | 2023-07-21T06:01:33 | 2023-07-21T06:05:54 | 147,444,425 | 1 | 1 | NOASSERTION | 2023-08-14T03:15:15 | 2018-09-05T01:53:20 | C++ | UTF-8 | C++ | false | false | 7,869 | cpp | Frustum.cpp | /****************************************************************************
Copyright (c) 2021-2023 Xiamen Yaji Software Co., Ltd.
http://www.cocos.com
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in... |
65844e6c782be8fd9e9f8823fd7798231df22ff2 | c3f18073dac4767129e28dece885dc95525c1f53 | /LeetCode/Tag/Depth-first-Search/cpp/1306.jump-game-iii.cpp | b1b5e0fa04b11fbcb37dadb469ac21b41c5f4263 | [
"MIT"
] | permissive | sunnysetia93/competitive-coding-problems | 670ffe1ec90bfee0302f0b023c09e80bf5547e96 | e8fad1a27a9e4df8b4138486a52bef044586c066 | refs/heads/master | 2023-08-09T04:31:24.027037 | 2023-07-24T12:39:46 | 2023-07-24T12:39:46 | 89,518,943 | 20 | 22 | MIT | 2023-07-24T12:39:48 | 2017-04-26T19:29:18 | JavaScript | UTF-8 | C++ | false | false | 364 | cpp | 1306.jump-game-iii.cpp | class Solution {
public:
bool canReach(vector<int>& arr, int start) {
if (start < 0 || start >= arr.size() || arr[start] < 0)
return false;
int jump = arr[start];
arr[start] = -arr[start]; // a way of marking the index as visited
return jump == 0 || canReach(arr, start-... |
487f6353a9e28108df96ed7145a62c385e5d4072 | 350d19972a11b83d212489ec2b9fa7f5bcd83ebc | /WagonsRecognition/_old_code.cpp | 84a958a87ff892119fe84d2b5ceaac0da4f8fb79 | [] | no_license | igororlov/WagonsRecognition | 30f2d998075ff7bae2fdb5cc483f818fc822b0da | 883679d3e20917f1d83665fddd9fd0fc5f9f7b3e | refs/heads/master | 2021-05-28T08:27:00.028648 | 2014-02-23T14:04:01 | 2014-02-23T14:04:01 | 6,472,063 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 72,431 | cpp | _old_code.cpp | ////////////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////////////
// OPENCV includes BEGIN
#include <opencv2\core\core.hpp>
#include <opencv2\highgui\highgui.hpp>
#include <opencv2\features2d\features2d.hpp>... |
48b0ee7fe3ebe8ea001f8ee29db02d304eff89e0 | 811ff0c8389ad4aa5496872227324e6185c5bba1 | /UIs/Studio/DesignScriptStudio.Renderer/Camera.h | c4de2225d27d7e3880e857e91e3cbeb352838ddc | [
"Apache-2.0"
] | permissive | DynamoDS/designscript-archive | 2c2bb2182f6214a262a56d685168dc8a345616e0 | 2cfafd1299af0ffddacf77c41f51150556e88b80 | refs/heads/master | 2020-04-10T20:12:10.737867 | 2014-02-17T12:24:45 | 2014-02-17T12:24:45 | 11,632,510 | 4 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 802 | h | Camera.h |
#pragma once
#include "Primitives.h"
namespace DesignScriptStudio { namespace Renderer {
class Camera
{
public:
Camera(int pixelWidth, int pixelHeight);
~Camera(void);
void SetOrthographicMode(bool orthographic);
void SetProjectionMatrix(void) const;
... |
76ce7eb15788e470eba44a8a39d9fb57ea016ef5 | 835aa348b329b740bbdc2e26cb07d122248890ce | /src/node.cpp | 9b22f175d34db67a50de451cd30ef33d74acfc99 | [
"NCSA"
] | permissive | jayp/Rappel | a81ec6d69fa5242420d6cac253f8e55efe0948c2 | 3ad355fbd3ed82b42e2b108e4eadfc22dd47e425 | refs/heads/master | 2021-01-19T22:02:09.916132 | 2011-10-04T20:24:33 | 2011-10-04T20:24:33 | 2,514,562 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,242 | cpp | node.cpp | #include "rappel_common.h"
#include "timer.h"
#include "transport.h"
#include "node.h"
#include "vivaldi.h"
#include "rappel.h"
#include "debug.h"
// global variables
static sqlite3_stmt* g_stats_insert_coordinates_stmt;
// constructor
Node::Node(const node_id_t& node_id) {
_timer = Timer::get_instance();
asse... |
a11e16226a61ae37eaf188b925fa137c4f01871c | 4db67c8c69dac02bbccb41a370a58ad21e17aabd | /src/commands.h | 1649f387567e0e28c5c23f94ad2b0c5358ef11a9 | [
"MIT"
] | permissive | charlesfleche/lpd8editor | 3fc66476364d81811614595f988aa52d80d5a7aa | ae9072e58d23d5926ca8d0228400eead9248a494 | refs/heads/master | 2022-05-03T00:33:11.631662 | 2022-04-09T21:27:26 | 2022-04-09T21:27:26 | 90,320,665 | 41 | 6 | MIT | 2022-04-09T21:27:27 | 2017-05-05T00:14:26 | C++ | UTF-8 | C++ | false | false | 1,853 | h | commands.h | #ifndef COMMANDS_H
#define COMMANDS_H
#include <QUndoCommand>
#include <QVariant>
class ProgramsModel;
class QAbstractItemModel;
class QItemSelectionModel;
class QModelIndex;
class QUndoStack;
QUndoStack* undoStack();
int selectedProgramId(QItemSelectionModel* model);
class CreateProgramCommand : public QUndoComm... |
c459ced7c8d7b058244e80ba62aa7791e8f9ffb4 | 777a75e6ed0934c193aece9de4421f8d8db01aac | /src/Providers/UNIXProviders/DatabaseResourceStatistics/UNIX_DatabaseResourceStatistics_STUB.hxx | b45a5b058ac34cb7a1088519026430fc1aa9ae57 | [
"MIT"
] | permissive | brunolauze/openpegasus-providers-old | 20fc13958016e35dc4d87f93d1999db0eae9010a | b00f1aad575bae144b8538bf57ba5fd5582a4ec7 | refs/heads/master | 2021-01-01T20:05:44.559362 | 2014-04-30T17:50:06 | 2014-04-30T17:50:06 | 19,132,738 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 147 | hxx | UNIX_DatabaseResourceStatistics_STUB.hxx | #ifdef PEGASUS_OS_STUB
#ifndef __UNIX_DATABASERESOURCESTATISTICS_PRIVATE_H
#define __UNIX_DATABASERESOURCESTATISTICS_PRIVATE_H
#endif
#endif
|
c4969eafd01c8b5bffd5fa3e27e0b4643ba311a6 | 4861067392a62a94eb6754e002c4348cfc378e43 | /src/network/ssl/qdtls.h | dd24aa219ade5ed864fa2113a88f9f2b06d20636 | [] | no_license | qt/qtbase | 10c7d55cfa1e34e4d23c00e96c6199a1657095e1 | 0e5f60a6cae61c5086f25c039a953a5ade5fa471 | refs/heads/dev | 2023-09-01T20:11:09.742148 | 2023-08-31T15:56:57 | 2023-09-01T16:06:27 | 9,880,335 | 2,175 | 1,249 | null | 2023-07-17T10:11:10 | 2013-05-06T06:01:22 | C++ | UTF-8 | C++ | false | false | 4,092 | h | qdtls.h | // Copyright (C) 2018 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
#ifndef QDTLS_H
#define QDTLS_H
#include <QtNetwork/qtnetworkglobal.h>
#include <QtNetwork/qsslsocket.h>
#include <QtNetwork/qssl.h>
#include <QtCore/qcryptographichash.h>
... |
c0f01aece36b44f01724671fcf7be90ed0206bc5 | 08b6b4544776ae685a7113a82953cd7d5b02952f | /SNOTRA/Game.cpp | 4fb014afffec8e14e6b180f6be8624f09b51829e | [] | no_license | SNOTRAProject/snotra | 964cdc11c34dc56375af71e2e29fb1db2c703f8c | e7321ecf49ea064563bbcb45cc000cd9a3110f62 | refs/heads/master | 2020-06-01T16:41:12.982628 | 2013-04-18T17:07:44 | 2013-04-18T17:07:44 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,334 | cpp | Game.cpp | /*
* File: Game.cpp
* Author: antoine
*
* Created on 12 février 2013, 22:17
*/
#include "Game.h"
#include "BackupManager.h"
#include "WireShark.h"
/**
* the window Game and connect the toolbox and the area of the game
*/
Game::Game() {
gameWindow.setupUi(this);
QMdiSubWindow * toolBoxMdi = new QMd... |
484125a27139015864659b97b376b4cefe711c37 | 02377b31ea07978717e8cb5c702fd135cc16f04e | /Lógica de Programação/URI n div 10000.cpp | a4f44cbab99a2242e55df76e14be8aad0ef76022 | [
"MIT"
] | permissive | biielsantos/SENAI | 3d28daf2989f5fd5598da84628414addf384cf23 | dad5ef5519cb6ece833d9862eff280a98ff9e6f6 | refs/heads/main | 2023-03-24T23:49:16.809328 | 2021-03-23T23:32:00 | 2021-03-23T23:32:00 | 350,887,266 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 142 | cpp | URI n div 10000.cpp | #include <stdio.h>
int main(){
int n, i;
scanf("%d", &n);
for(i = 1; i <=10000; i++){
if (i%n == 2){
printf("%d\n", i);
}
}
}
|
a688f65e05798c317442b0a1547e70f43a2bf9eb | 806a0e71fa40501e2f0edfe62269e8801f187e5c | /C++/BaiTap/NganHang/De1/nguoi.h | 1a8025f544a489037bcc26299c7500b13d2a25f4 | [] | no_license | ducthangbui/Learning | 1c991a84a27cf6f112f9d2d643eacfdfb0a1de49 | 5a7acdf0c05e00e4ba736113a075423bf0b967db | refs/heads/master | 2020-03-31T13:46:30.180506 | 2018-10-14T15:18:06 | 2018-10-14T15:18:06 | 152,268,559 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 267 | h | nguoi.h | #ifndef NGUOI_H
#define NGUOI_H
#include <iostream>
using namespace std;
/*
* No description
*/
class Nguoi
{
// private section
public:
// class constructor
Nguoi();
void Nhap();
void Xuat();
protected:
string hoten,diachi,sdt;
};
#endif // NGUOI_H
|
9b845882f8d502a2e5603402b0ae4bcd3f750b1d | 01b1f86aa05da3543a2399ffc34a8ba91183e896 | /modules/type/complex/polynom/unit/scalar/ratfracder.cpp | 821c96d72f2724cd8300b263eb339148a5206fbf | [
"BSL-1.0"
] | permissive | jtlap/nt2 | 8070b7b3c4b2f47c73fdc7006b0b0eb8bfc8306a | 1b97350249a4e50804c2f33e4422d401d930eccc | refs/heads/master | 2020-12-25T00:49:56.954908 | 2015-05-04T12:09:18 | 2015-05-04T12:09:18 | 1,045,122 | 35 | 7 | null | null | null | null | UTF-8 | C++ | false | false | 1,646 | cpp | ratfracder.cpp | //==============================================================================
// Copyright 2003 - 2012 LASMEA UMR 6602 CNRS/Univ. Clermont II
// Copyright 2009 - 2012 LRI UMR 8623 CNRS/Univ Paris Sud XI
//
// Distributed under the Boost Software License, Version 1.0.
// ... |
ce25a846e43189e3221d01793bb7b45c01c91150 | 2c7bad0defab1f275b8e65e614932b3833e73f9f | /src/common/config.cpp | 67a4f5734882cd7c10115f8af52b42d016c4fc79 | [
"MIT"
] | permissive | Fadis/shader-samples-2020 | 84557a108466a20618738e902b902e9f04469d3c | 916554161f63f62b33c85ffc8731ad003ef6cccb | refs/heads/master | 2021-01-13T23:27:22.881671 | 2020-02-23T14:15:10 | 2020-02-23T14:17:36 | 242,527,752 | 4 | 0 | null | null | null | null | EUC-JP | C++ | false | false | 3,122 | cpp | config.cpp | #include <iostream>
#include <boost/filesystem/path.hpp>
#include <boost/program_options.hpp>
#include <boost/spirit/include/qi.hpp>
#include <cstdlib>
#include "common/config.h"
namespace common {
configs_t parse_configs( int argc, const char *argv[] ) {
namespace po = boost::program_options;
po::options_de... |
ba34f701fb78357e4826e912602ea9bd359be4af | e243c8817e2196b3fbff88ee3d568f644472f1ad | /CPP Tutorial/cpp4.cpp | 0881d9180f9eef0554bb199ca615fda18b72a13b | [] | no_license | keerthu230/Programming | 7a0417e46f8a9c6b25516d47989d2f0b33d6635a | 1695b804a673237de406e18a1a475e72f20f7118 | refs/heads/main | 2023-06-10T06:05:41.919723 | 2021-06-30T18:08:24 | 2021-06-30T18:08:24 | 381,247,600 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,765 | cpp | cpp4.cpp | // cpp tutorial 4
// Data types -> int , float , double , char , bool , signed and unsigned of char , int , short int , long int
// naming variables with -> camel casing format -> alphabetNumber , begins with small letter then new word begins with capital one
#include<iostream>
using namespace std;
int ma... |
a6acc689b313a5d18a4a97eebe8df0d240ff1c6c | 4a8c93591269fba8e7f87ffacf2d1e18f049a682 | /Example/linked list (insert + sort).cpp | 14fcdd51efd87b27cbe41645be96264091cc5f4d | [] | no_license | Pooh1223/Online-Judge | fd3c237b21bd07396e841b4d077a997c51383d8a | afb208ccc5ecc6f3fa42693d190dc64e19195ff6 | refs/heads/master | 2020-07-25T19:28:30.163074 | 2020-06-29T15:15:32 | 2020-06-29T15:15:32 | 208,401,769 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,098 | cpp | linked list (insert + sort).cpp | #include <cstdio>
#include <cstdlib>
typedef struct node {
int val;
struct node *next;
}node;
node *head = NULL;
// insert value "val" into link list
void insert_value(int val)
{
node *prev, *rush;
// create node for that insertor
node *data = (node*) malloc(sizeof(node));
// put the value in that n... |
ccaaa0c337c52b5e551299b7fa8f6c80e6550c6f | 4edbb86de29e65b1a1f9068431a4eec57ff29d5a | /Server_ChattingSystem/Command.h | 3be8929b90e34ea8e481525d79482c8a47dac464 | [] | no_license | nntp0/ChattingMFC | ecf36584ecd4da4381fbca98f91073b6ffc51210 | 8027eaa2934bbfc5ec27e040aa69bc85e8fe3e8d | refs/heads/master | 2023-06-18T21:46:14.063051 | 2021-07-19T13:45:59 | 2021-07-19T13:45:59 | 357,121,748 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 679 | h | Command.h | #pragma once
#include "iServer.h"
#include "iCommand.h"
// CreateRoomDlg 대화 상자
class CommandDlg : public CDialogEx, public iCommand
{
DECLARE_DYNAMIC(CommandDlg)
public:
CommandDlg(CWnd* pParent = nullptr); // 표준 생성자입니다.
virtual ~CommandDlg();
// 대화 상자 데이터입니다.
#ifdef AFX_DESIGN_TIME
enum { IDD = IDD_DIALOG1 ... |
c2d3fdd4f15348dc1be1b839b2877873e317610d | 202b96b76fc7e3270b7a4eec77d6e1fd7d080b12 | /platforms/unix/product/x11quick/popupmenu.h | dc9e8e370b04c3af6b9d7a7d66076a1d8980126b | [] | no_license | prestocore/browser | 4a28dc7521137475a1be72a6fbb19bbe15ca9763 | 8c5977d18f4ed8aea10547829127d52bc612a725 | refs/heads/master | 2016-08-09T12:55:21.058966 | 1995-06-22T00:00:00 | 1995-06-22T00:00:00 | 51,481,663 | 98 | 66 | null | null | null | null | UTF-8 | C++ | false | false | 11,932 | h | popupmenu.h | /* -*- Mode: c++; tab-width: 4; c-basic-offset: 4 -*-
*
* Copyright (C) 1995-2012 Opera Software ASA. All rights reserved.
*
* This file is part of the Opera web browser.
* It may not be distributed under any circumstances.
*
* Espen Sand
*/
#ifndef POPUPMENU_H
#define POPUPMENU_H
#include "menuelement.h"
#... |
3fea5fc943a13ae87cb92af0dc457c3a869f3668 | 32da723b5c759c98845249bb51332109014b4f62 | /C++OOP.cpp/03 ReadingAndPrintingOnTextFile/InputOutputTextFilesSecond.cpp | 98109e1011d07f20befb137dd017b70bc0e20467 | [] | no_license | IliyanKafedzhiev/FacultyOfMathematicAndInformatic | b8a810ca1100cc0f39c1460f60eb014e4c0b5ffc | a2b05a9aa7e677609447c0311ee79552464434ce | refs/heads/master | 2020-07-06T04:19:30.531000 | 2015-03-02T21:54:42 | 2015-03-02T21:54:42 | 18,809,355 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 339 | cpp | InputOutputTextFilesSecond.cpp | #include <iostream>
#include <fstream>
#include <string>
using namespace std;
int main ()
{
string line;
ifstream text;
text.open("ntbtlog.txt");
if (text.is_open())
{
while (text.good())
{
getline (text,line);
cout<<line<<endl;
}
}
text.close(... |
d5baa15c72e8ce844f0b984ff7f3b80fa5efb5ef | c0d7220b4e4c572ebd0394aebe5e8b63ea0593b0 | /Bomberman/GameEngine.cpp | eb1b496ce760ad07e3dac5a45a7302b8747e0958 | [] | no_license | CyrilPivec/teck3 | 602f7bbd703da0376662673052438cbd953a22a1 | df5041d487d4efad0b43a2f60c9422b31f2d77db | refs/heads/master | 2021-01-10T17:38:25.864288 | 2017-04-19T00:09:39 | 2017-04-19T00:09:39 | 51,869,830 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,395 | cpp | GameEngine.cpp |
#include "GameEngine.hpp"
#include <iostream>
GameEngine::GameEngine()
{
}
GameEngine::~GameEngine()
{
for (size_t i = 0; i < _objects.size(); ++i)
delete _objects[i];
delete _ground;
delete _mapLoader;
}
bool GameEngine::initialize()
{
if (!_context.start(1000, 800, "My bomberman!"))
return false;... |
8aa4e5948b282fda3f486c5803c370d3ca799c05 | 8689857310cdb7ac9dd9dde14195e50742d1f471 | /geeksforgeeks/graphs/add-maximum-edges.cpp | fae827c32020e3446ff4d3515f78f47ae73ce12f | [] | no_license | aayush2k11/competitive-programming | 78a50826b92e2f3381d802bdee19ed58f10dd8c4 | 1eb3d770be9e6d4ff85dfabee83c5ef3184eca08 | refs/heads/master | 2021-01-10T14:49:30.800522 | 2016-12-03T13:03:35 | 2016-12-03T13:03:35 | 55,831,180 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,621 | cpp | add-maximum-edges.cpp | #include <cstdio>
#include <iostream>
#include <vector>
#include <set>
#include <queue>
using namespace std;
vector<int> topologicalSort(vector<int> graph[], vector<int> indegree, int v){
vector<int> topolgical;
queue<int> q;
for (int i=0;i<v;i++){
if (indegree[i] == 0){
q.push(i);
}
}
while... |
74b0e1dff31bae2791d87c5382a1564862d1aa99 | 5b83b4f72c9836cf9ee44b9aef7b2f045498ac22 | /pot_game.cpp | 4137262ad203bc2e1d77ba46a86b0bc6bacb69d5 | [] | no_license | liehendi11/cpsource | 1d623ff7ead79f6de9442ec6c65e49d5dff0549f | 154985a24ea64433733910bfde33325070fbcfe3 | refs/heads/master | 2016-09-11T11:12:25.142341 | 2015-01-27T14:34:15 | 2015-01-27T14:34:15 | 29,897,045 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 793 | cpp | pot_game.cpp | #include <stdio.h>
#include <stdlib.h>
#include <vector>
#include <cstring>
using namespace std;
vector<int> dpSum;
vector<int> num;
int dp[100][100];
int n;
void createDpSum()
{
int sum = 0;
for (int i=0; i<num.size(); i++)
{
sum += num[i];
dpSum.push_back(sum);
}
}
int findSum(int a, int b)
{
int left = ... |
3e379c81becb3dbedac1e89a22347023cb8a197b | c84dbf974bfa9e1d07105f9ced9270ecffb2e5c5 | /80-QThread-FileWrite/main.cpp | c1562a47a242d498f281d1fe3379d7f63169475b | [] | no_license | yogach/QT-Experiment | 859bf19804445f84f140c68b94d96a21c165cf99 | 70a8373c443b5e71c6925fb7e412eda912228d1f | refs/heads/main | 2023-08-13T11:36:22.753072 | 2021-10-09T02:21:58 | 2021-10-09T02:21:58 | 350,174,937 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 491 | cpp | main.cpp | #include <QtCore/QCoreApplication>
#include "FileWrite.h"
#include <QThread>
#include <QDebug>
int main(int argc, char *argv[])
{
QCoreApplication a(argc, argv);
qDebug() << "main() tid = " << QThread::currentThreadId();
FileWrite writer("/home/delphi/2.txt");
if( writer.open() )
{
write... |
807230735ae55db66ec2e7b6a5c903858db2082b | e83fd6a92810c746415a0648306ba2549d2df6ce | /include/Menu-UI/Image.h | 336146f1890fa493de52898473ffb31987f220c8 | [] | no_license | Craigspaz/Axle | e59906af68a9d9b7e3fc7902cb4b70d630b09811 | 9a37162e393dba9f1a5b5769a6d88cd59a3e4a37 | refs/heads/master | 2023-06-05T15:08:47.044512 | 2021-06-23T01:38:12 | 2021-06-23T01:38:12 | 114,414,532 | 0 | 0 | null | 2020-10-12T18:05:57 | 2017-12-15T21:59:07 | C | UTF-8 | C++ | false | false | 419 | h | Image.h | #ifndef __IMAGE__
#define __IMAGE__
#include "UIElement.h"
#include <iostream>
class Image : public UIElement
{
public:
Image(glm::vec3 position, glm::vec3 rotation, glm::vec3 scale, bool visible = true, bool disabled = false);
~Image();
void render();
UIElement toParentObject() const;
bool opera... |
812b609549b30cda866d6695c05ca36080ed48f8 | fb71a2ef9e4c2f33a33d74912bd28342c6200404 | /tests/boost-http/request_parser_test.cc | c1689ca10191b3f128f66cbf020aa54aca392496 | [] | no_license | nzimmerman3/server | 7aa2da4bc61b87a7365d5ed43a30f8790593e830 | 49d60d25425facda256597df22db97e8881ebe14 | refs/heads/master | 2022-11-12T04:42:28.019163 | 2020-06-24T19:31:09 | 2020-06-24T19:31:09 | 274,745,598 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,566 | cc | request_parser_test.cc | #include "gtest/gtest.h"
#include "../../libraries/boost-http/include/request_parser.hpp"
#include "../../libraries/boost-http/include/request.hpp"
#include "../../libraries/boost-http/include/header.hpp"
class RequestParserTests : public ::testing::Test {
protected:
http::server::request_parser reqParser;... |
4f4df472ff87f84a6f3deb8636a94e5fb51be027 | 3b9eed9a464c512f6a8b97491515e2707b71aa6a | /FOFReaderLib/FOFFiles/FOFMultiCube.h | 1b7b54c12dfd1a0256a0ee4a84f7d1c95a6c4dec | [
"CECILL-B",
"LicenseRef-scancode-cecill-b-en"
] | permissive | pasdeloup/FOFReaderLib | d2f5da474568b93e0513c1d5532d826e941430c9 | 33ba45cd60fa4f702b918512ec5e40fd048ef1f0 | refs/heads/master | 2020-12-24T16:24:07.712142 | 2016-03-16T09:34:18 | 2016-03-16T09:34:18 | 13,593,825 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,297 | h | FOFMultiCube.h | /* ************************** FOFReaderLib ********************************** */
/*////////////////////////////////////////////////////////////////////////////*/
// PROJECT : FOFReaderLib
// TITLE : FOFMultiCube
// DESCRIPTION : FOF MultiCube file management
// AUTHOR(S) : Jean Pasdeloup (j... |
be65bd8b1660d5c6bbdba7fce4c666fcce8f0e8b | f7979bcaa25a5b32f0916cc201cc72ea5595237c | /GameScreen.h | 18110f0a789cbe7fd949edebb3ae880c44f89c8f | [] | no_license | adrian-1066/Mario | 6088cd5ea627a222394f09e5b6fd699cff826089 | 6d9ffa06a9fc500f00cdebad10a18a358fe0aeb7 | refs/heads/main | 2023-04-16T12:04:07.857523 | 2021-04-21T15:55:19 | 2021-04-21T15:55:19 | 360,217,836 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 334 | h | GameScreen.h | #pragma once
#ifndef _GameScreen_H
#define _GameScreen_H
#include<SDL.h>
class GameScreen
{
protected:
SDL_Renderer* m_renderer;
private:
public:
GameScreen(SDL_Renderer* renderer);
~GameScreen();
virtual void Render();
virtual void Update(float deltaTime, SDL_Event e);
};
#endif // ... |
b92222fee6152ba5206d651c1cd7f7c508144bc5 | da1bb93db9b11763011ec2eff0879c75940acb3c | /src/source.cpp | 79afdee8fbcb725d08554bfcc44e783ae9e56b88 | [] | no_license | FeverDream12/SpellChecker | 0883aacfdb8a5e6ab489918ff6c0c63bf36f48ab | 52e12a533ed7a87dff1fe9ad91c1c02249c107d8 | refs/heads/master | 2021-04-10T10:53:15.953868 | 2021-01-04T10:25:16 | 2021-01-04T10:25:16 | 248,930,807 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,054 | cpp | source.cpp | #include "textWork.h"
#include <fstream>
#include <iostream>
#include <string>
#include <unordered_set>
using namespace std;
unordered_set<string> introduceDictionary(string filename)
{
unordered_set<string> Dictionary;
ifstream dictFile;
dictFile.open(filename);
if (dictFile.is_open()) {
stri... |
a70f88d4de62c46c76cf777671287e279f406a6d | d815a285ede3ffd3ca1a431ec14410a613cadcdc | /CauTrucDuLieu&GiaiThuat/BTLon/BTLon_ThamKhao/Nhóm 13/Source/Dictionary/Header.h | 3399bbb0e57e2e15e0a6c67825bf9aabe5f210cb | [] | no_license | PTson2207/HK1_Year-2 | dbb893ca844957ac001a20683a097f98afb8ea92 | d39a18c4ec7f530be1b85c327e0e29dd64bda0eb | refs/heads/master | 2023-02-16T11:24:47.449700 | 2021-01-19T15:37:08 | 2021-01-19T15:37:08 | 301,892,152 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,491 | h | Header.h | #pragma once
#include <conio.h>
#include <string>
#include <iostream>
#include <conio.h>
#include <fcntl.h>
#include <io.h>
#include <locale>
#include <codecvt>
#include <fstream>
#include <Windows.h>
#include <sstream>
#include <stdio.h>
#include <thread>
#include<stdlib.h>
const HANDLE StdHandel = GetStdHandle(STD_... |
05ad4c843dedb6c39d646ff27ae7baa79d6daf0f | d997a68f0193e7992779b076ee1d1b212b2b6738 | /Algorithms and data structure/SIS/sis.cpp | 80660589e7654596ae6d70579cbafb995f0fe089 | [] | no_license | alikhan880/ADS | f76508be3f9715da53cb14c45884bf6e8c3583ad | c28a844ff5e5cfcc5247730dc086bec413a299b3 | refs/heads/master | 2021-01-13T07:57:42.402934 | 2017-05-31T06:43:11 | 2017-05-31T06:43:11 | 71,996,809 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,307 | cpp | sis.cpp | #include <iostream>
#include <vector>
using namespace std;
bool found = false, added = false;
struct Node{
public:
string name;
Node *parent;
vector<Node*> children;
Node(string name){
this->name = name;
parent = NULL;
}
};
struct GenTree{
public:
Node *root;
vector<Node*> roots;
GenTree(){
root = N... |
c4f802ba0f3596cff80597e216577f4e393bc059 | 8be023f90d9a18f4917af4bba8fb31230df3df2a | /SigLog_Lib/snmp_auth.cpp | 7c3fc6e532392ee01a84602fe9e497214bc6ebea | [] | no_license | duniansampa/SigLog | d6dba1c0e851e1c8d3aef3af4bb85b4d038ab9c9 | 3dae0e42a36ebc5dca46fb044d3b1d40152ec786 | refs/heads/master | 2021-01-10T12:25:17.511236 | 2016-03-12T18:38:19 | 2016-03-12T18:38:19 | 44,571,851 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,125 | cpp | snmp_auth.cpp | /*
* snmp_auth.c
*
* Community name parse/build routines.
*/
/**********************************************************************
Copyright 1988, 1989, 1991, 1992 by Carnegie Mellon University
All Rights Reserved
Permission to use, copy, modify, and distribute this software and its
documentation for an... |
93ee77a03f2efd255c6879e45b633f275458b7bb | da677987cf0319f09f6c192d5f22caf4eaf5f73c | /L10/t3.cpp | 7035a78ef8e4fa264c909d351f9b4f36a6e43e16 | [] | no_license | DRJ31/COMP1013-SP | bc6f0a1da19fc658f7023734ada27d7f1e7a03e0 | e703dd81acba80beedd5401217f90b27a3c39a49 | refs/heads/master | 2021-03-22T01:04:23.247467 | 2017-12-19T03:57:02 | 2017-12-19T03:57:02 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 425 | cpp | t3.cpp | #include <stdio.h>
char* stringCopy(char *dest, char *res);
int main() {
char str1[20], str2[20];
scanf("%s", str1);
stringCopy(str2, str1);
puts(str2);
return 0;
}
char* stringCopy(char *dest, char *res) {
//Another way to solve this Problem
// while ((*dest++ = *res++) != '\0');
while (true){
*dest = ... |
960fd7494accde619312a8d48c88ef740c2447d1 | e4c7e4941c4d403f70026ebdf5172a62eabba3da | /filehandler.h | fc1b5fd6aad67663cacd9e1f6f8de649fe9eb4c7 | [] | no_license | BenSliwa/AgentVisualization | 34633f631afec9b51adb162e3a74b5bee6e513c5 | 2a1040462218999d67312de6c81304c6a6e3aaaf | refs/heads/master | 2020-04-15T05:01:34.189599 | 2016-08-18T05:36:24 | 2016-08-18T05:36:24 | 61,936,318 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 335 | h | filehandler.h | #ifndef FILEHANDLER_H
#define FILEHANDLER_H
#include <QObject>
#include <QDebug>
#include <QStringList>
#include "Mobility/csvmobilitydataaccess.h"
class FileHandler : public QObject
{
Q_OBJECT
public:
FileHandler(QObject *_parent = 0);
static QStringList readLines(const QString &_path);
};
#endif //... |
4c69445d5fe9dd501e0d2c4e4a9a884368e4b3ce | 63bc247adf9bce867fb35583854d7ab0bb8a8714 | /Responses/camerasnapfree_command_response.h | 969edbf46d8884e39325f9e6da320b986b08c418 | [] | no_license | yanganok/SITSNEW | 2848f645e70e88aec344bf4eb6303b5a777f89e1 | 67aa4039d1afa6ac305948ec763e6a62638ca86c | refs/heads/master | 2022-12-13T21:02:58.031548 | 2020-08-31T00:43:38 | 2020-08-31T00:43:38 | 290,928,033 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 311 | h | camerasnapfree_command_response.h | #ifndef CAMERASNAPFREE_COMMAND_RESPONSE_H
#define CAMERASNAPFREE_COMMAND_RESPONSE_H
#include "response.h"
class CameraSnapFree_Command_Response : public Response
{
public:
CameraSnapFree_Command_Response();
};
Q_DECLARE_METATYPE(CameraSnapFree_Command_Response)
#endif // CAMERASNAPFREE_COMMAND_RESPONSE_H
|
e1166126c103ad94842bddf45ebee9d4e83ade11 | 0e7b9be29357c36dbb3a61094d567e179d7fb9a6 | /Arduino-Code/Tests/mega_pin_test/mega_pin_test.ino | ef62540e62d0135c514b46a779803a93466d392a | [] | no_license | SulaimanKsj/Capstone-DogDrone | 78a20cd15d957c03666985c58d0867d1f57b9d60 | 5d4f07cd5ab2ee51de0354e20b35a00cb726ce0a | refs/heads/master | 2021-04-05T13:19:23.601384 | 2020-03-16T17:53:26 | 2020-03-16T17:53:26 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,940 | ino | mega_pin_test.ino | //External libraries
#include "arduino.h"
#include <Wire.h>
#include <Adafruit_Sensor.h>
#include <Adafruit_FXAS21002C.h>
#include <Adafruit_FXOS8700.h>
//PIN MAP
//Battery voltage
#define batteryMotorPin A1
#define batteryCompPin A3
//Xbee breakout
//Serial3
#define rssiInPin A0
#define xbeeRX 15 ... |
615f4163dde4097b5d28bb872d84251649abebfe | 05975df9f354e16e4dacdf07a231c72b6066e825 | /Castlevania/HUD.cpp | 226aca7b813a9118a8fce03c2aad7c41d8c48adc | [] | no_license | PhanVinhLong/GameDevIntro | d55ea4ecb17913f4f270c8a43386e015b86e53b8 | 16138b495467730e33937dcfbc741657c563f0c0 | refs/heads/master | 2020-03-29T03:55:49.210954 | 2019-01-05T12:08:20 | 2019-01-05T12:08:20 | 149,507,531 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,886 | cpp | HUD.cpp | #define _CRT_SECURE_NO_WARNINGS
#include "HUD.h"
CHUD* CHUD::__instance;
CHUD::CHUD()
{
player = CSimon::GetInstance();
this->texBackground = CTextures::GetInstance()->Get(ID_TEX_HUD_BG);
this->texHealth = CTextures::GetInstance()->Get(ID_TEX_HEALTH);
text = CText::GetInstance();
for (int i = 0; i < 3; i++)
li... |
4f507ca1342700d8d9f8bc5f3e0e630bff7f9951 | b7f7756ee79768bcdff05ac96575f25ca975cd79 | /Rotate List/Rotate List.cpp | f53654fb5b6660f3e3f49b6ff3535d973f5851c3 | [] | no_license | suwei111333/BaseInterviewCode | e8a3c3b4e283676d0b438a5d3276c73ac9877343 | 205089eda593add518be518176e15d8f5aae37f8 | refs/heads/master | 2021-01-10T19:04:41.076863 | 2013-11-05T08:41:04 | 2013-11-05T08:41:04 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 777 | cpp | Rotate List.cpp | #include <iostream>
using namespace std;
struct ListNode {
int val;
ListNode *next;
ListNode(int x) : val(x), next(NULL) {}
};
class Solution {
public:
ListNode *rotateRight(ListNode *head, int k) {
// Start typing your C/C++ solution below
// DO NOT write int main() function
... |
22ddda43da58b2aac678164b979d899bb5a428d6 | 3310dca4d36ff34f1aede0088fe15053b18c688b | /clickhouse/columns/factory.cpp | aeacdabcea7bb40520cc305ab803075d67ad7b86 | [
"Apache-2.0"
] | permissive | ClickHouse/clickhouse-cpp | 6448fabd21db31960b47c18e3c5afd0a41b804d7 | a133b50db0160f4e2b1e0288a99f123ae76793b7 | refs/heads/master | 2023-09-03T18:08:01.833017 | 2023-08-02T11:10:40 | 2023-08-02T11:10:40 | 208,047,461 | 258 | 163 | Apache-2.0 | 2023-09-14T18:43:33 | 2019-09-12T12:35:34 | C++ | UTF-8 | C++ | false | false | 9,171 | cpp | factory.cpp | #include "factory.h"
#include "array.h"
#include "date.h"
#include "decimal.h"
#include "enum.h"
#include "geo.h"
#include "ip4.h"
#include "ip6.h"
#include "lowcardinality.h"
#include "lowcardinalityadaptor.h"
#include "map.h"
#include "nothing.h"
#include "nullable.h"
#include "numeric.h"
#include "string.h"
#includ... |
209fc2a0872c7609935fcd610663d3b6351cc50d | 5fa0e0ba6cd719a856c6e479e90602dfb6bed4ff | /DigDug/DigDugStateDead.cpp | 9d68ae9647bc0affd7b0aeece9538d173d882d56 | [] | no_license | Cem-Alagozlu/MyEngine | a853a2ff23e2dbd02c53e14f2e96605e74718666 | b81ff77ca87266bcdfeccef577c72e54e04d4030 | refs/heads/master | 2022-01-10T18:39:49.902708 | 2019-05-26T21:13:15 | 2019-05-26T21:13:15 | 183,600,565 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,441 | cpp | DigDugStateDead.cpp | #include "DigDugPCH.h"
#include "DigDugStateDead.h"
#include "GameObject.h"
#include "DigDugBlackboard.h"
#include "Player.h"
#include "PlayerData.h"
namespace cem
{
DigDugStateDead::DigDugStateDead()
{
}
DigDugStateDead::~DigDugStateDead()
{
}
void DigDugStateDead::Enter()
{
std::shared_ptr<GameObject> p... |
1b4938502c924e5c063865030d574675c35267fd | 0a48f16abff32fe331a956c91278eb58de2e8a74 | /include/estudiante.h | 05b11a3df9e79e6d4b0d1db78c87a8f475a86f64 | [] | no_license | sserna1231/POSGSOFT | b0ee601392dffdfc18441b9184f02b26694f2134 | 1e595e25add96336abec0dfb75e5607cb7490d05 | refs/heads/master | 2023-03-24T19:16:40.415878 | 2021-03-24T06:19:51 | 2021-03-24T06:19:51 | 348,100,817 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 660 | h | estudiante.h | #ifndef ESTUDIANTE_H
#define ESTUDIANTE_H
#ifndef EMPTY_ID
#define EMPTY_ID
static constexpr int empty_id = -1;
#endif
#include <iostream>
using std::cin;
using std::cout;
using std::endl;
using std::string;
class Estudiante{
private:
string nombre;
int id;
string celular;
string ... |
1631cd0240271f2b5ada0b67f838e3d235d77152 | ef7e5f9f2528126b0ca5ae4ddc5dad63e9aa91b8 | /LedStrips.h | ddd73e439c69e1340838ea6a71d27177935156be | [] | no_license | michelkeijzers/SynthLedStrips | 16b97ea18c42841568aef852019ed84639b581fb | 3ca3d4bd15ef5b75d6eecb25efbfd13f3893584b | refs/heads/master | 2023-05-14T01:43:39.935509 | 2021-06-09T21:23:56 | 2021-06-09T21:23:56 | 342,181,497 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 724 | h | LedStrips.h | #pragma once
#include <stdlib.h>
#include "LedStrip.h"
#include "SynthLedStrips.h"
constexpr auto NR_OF_LED_STRIPS = 4;
constexpr auto NR_OF_KEYBOARD_1_FRONT_LEDS = 98;
constexpr auto NR_OF_KEYBOARD_1_BACK_LEDS = 125; //TODO
constexpr auto NR_OF_KEYBOARD_2_FRONT_LEDS = 178;
constexpr auto NR_OF_KEYBOARD_2_BACK_LEDS ... |
35f42c8aa4902dd82df2d7abd2cd1b51ad0d3215 | ab8d5c1344ece514a61ae0f4646575d4028df548 | /week12_Hash/hash.h | a35fa333ac162d81af4829734fb2e76808b38207 | [] | no_license | YuraVasiuk/Custom-Made-Data-Structures | e20262b3e3e43d1e4d61e441ffc237b3d88aa88b | 032ea861280cf26f33ce76a2279e17eead5f0a49 | refs/heads/master | 2021-09-04T11:09:16.722965 | 2018-01-18T05:00:44 | 2018-01-18T05:00:44 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,295 | h | hash.h | #include <list>
#include <string>
#include <assert.h>
using namespace std;
/****************************************
* HASH
* The parent template hash class
****************************************/
template <typename T>
class Hash
{
public:
// the constructors
Hash() : numBuckets(0), numElements(0), buckets(NULL)... |
c1d39174e6d2ee65188fc4012ad0b4e4eaf88650 | bc7d3cb16a9d479c0891dd251203b3e39716a97b | /binary-search/vjudge-binary-search/a.cpp | 08d851c1f1c88901a3f825c162037793a1c7b8f4 | [] | no_license | dorenyerbolov/algorithms-and-ds | 87e9e68fc4d10df500e615f3d39cc6df9d47305a | a5a25b49a57707a8d35982f79087c3fed81866dd | refs/heads/master | 2020-03-28T18:00:44.204592 | 2018-10-14T04:55:39 | 2018-10-14T04:55:39 | 148,844,451 | 0 | 1 | null | 2018-10-27T20:55:52 | 2018-09-14T21:40:04 | C++ | UTF-8 | C++ | false | false | 529 | cpp | a.cpp | #include <iostream>
using namespace std;
string binarySearch(int *a, int el, int size){
int l = 0;
int r = size - 1;
while(l<r){
int m = (l+r)/2;
if(a[m] < el) l = m + 1;
else r = m;
}
if(a[l] == el) return "YES";
else return "NO";
}
int main(){
int n, m, el;
freopen("collect.in", "r", stdin);
freopen... |
15085590857857d3ccf52f2d0101f12eacf685de | 61cbb1d05c2119381ebbdc721ecd49ff24949e56 | /xcode/luminous/luminous/main.cpp | f1b8bd686f184fcb7b9e479f3e63065699dba957 | [
"Apache-2.0"
] | permissive | GordonMcGregor/luminous | 328db10db73d203e9cdfe021f6e04479fe5bf577 | b4f8d7134059072a5f524e2133af9609fc76c1e2 | refs/heads/master | 2021-01-01T15:35:20.580652 | 2014-02-28T15:32:56 | 2014-02-28T15:32:56 | 17,150,292 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 10,964 | cpp | main.cpp | //
// main.cpp
// Main file
// ----------------------------------
// Developed with embedXcode
// http://embedXcode.weebly.com
//
// Project luminous
//
// Created by Gordon McGregor, 2/25/14 4:47 PM
// Gordon McGregor
//
// Copyright © Gordon McGregor, 2014
// License <#license#>
//
// See lumino... |
5a1662cedb2f653af4b1fe603d3d9ed2fa4f3d6a | 658d9a724201b391f7f5bdfac82dbf0c4911e7f6 | /problems/cracking-the-coding-interview/cci_2-3.cpp | 8eaae0fff12f9473a30e00d91f53cec4c8e07872 | [] | no_license | currant77/interview-preparation | 26e58a887c3b9b920d3999662a476c16b1c129a0 | 91cecef2097cb9fe0220e8b7e893487831eaf25e | refs/heads/master | 2022-12-23T11:51:16.344963 | 2020-09-23T06:21:47 | 2020-09-23T06:21:47 | 270,768,199 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,623 | cpp | cci_2-3.cpp | /**
* @file cci_2-3.cpp
* @author Taylor Curran
* @brief Solution to problem 2.3 from Cracking the Coding Interview
* @version 0.1
* @date 2020-07-02
*
* @note McDowell, Gayle Lakkmann. Cracking the Coding Interview.
* 6th ed. Palo Alto, CA: CareerCup, 2016.
*
* @copyright Copyright (c) 2020
*
*/
/* Pr... |
91c8607f3640892f7c2d0e706affd6964f7db7e0 | e5b8a4d038300c8d98361ebee439ab04ca8f0668 | /third_party/streamDM/streamDM/streams/LibSVMReader.cpp | c427479b46fef030676a03fc531fcf4189223719 | [
"BSD-3-Clause"
] | permissive | scikit-ika/scikit-ika | 5c48985893159f082ac0ec45cbb1c1aa139aa9c8 | ae70e053e4f89b524415971bfb9180c98b1aadd9 | refs/heads/master | 2022-05-10T02:05:46.572973 | 2022-04-27T03:30:50 | 2022-04-27T03:30:50 | 211,992,306 | 15 | 3 | BSD-3-Clause | 2022-04-20T08:39:39 | 2019-10-01T01:41:49 | Python | UTF-8 | C++ | false | false | 3,652 | cpp | LibSVMReader.cpp | //================================================================================//
// Copyright 2009 Google Inc. //
// //
// Licensed under the Apache License, Version 2.0 (the "License"... |
e7a555e2d3ceadf0766382c99573b23e576dd3fe | c8ff2d4fc99f4e37e16e42440aa3a22156d0adc2 | /test/test.cpp | a4efcec6e79cbf111b07f9dd787c245824580ac5 | [
"BSL-1.0"
] | permissive | BoostGSoC17/data_frame | 3ef0ffb99a3c227ee625e07380500cf4affea870 | c6ed820df8154491021dd22b34322d60f23ac086 | refs/heads/master | 2018-10-31T11:55:36.162939 | 2018-08-24T05:29:32 | 2018-08-24T05:29:32 | 92,756,543 | 8 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 18,763 | cpp | test.cpp | // Copyright(C) Rishabh Arora 2017.
// 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)
// To compile, use boost with the flag -lboost_unit_test_framework.
// To run use ./a.out --log_level=all ... |
d1d4dff8fde6df1d7eb0a0c23c234e9089916469 | 6f7574c8adc99e09f44029d8dc9f7e1f4b055365 | /LED_Patterns/shimmer4SaberWhite/shimmer4SaberWhite.ino | b02cb13f44a1592d1478e53b87a4eff893af9f56 | [] | no_license | jacobjoaquin/D18 | 7242238af33592f3a99051cf80cc948e13f14739 | 5a796b8b94c7850de63c5ab67255d24ec4a59df1 | refs/heads/master | 2021-08-16T10:51:50.197910 | 2018-09-06T19:25:01 | 2018-09-06T19:25:01 | 142,781,012 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,665 | ino | shimmer4SaberWhite.ino | #include <Adafruit_NeoPixel.h>
// Combine rbg values to color
#define rgb(R, G, B) ((((uint32_t)(R)) << 16) | (((uint32_t)(G)) << 8) | ((uint32_t)(B)))
// Constansts
const int PIN = 13;
const int nLeds = 60;
const int frameDelay = 1000 / 12;
const int nSparklesPerFrame = 1;
// Neopixel setup
Adafruit_NeoPixel leds(... |
243a63183e7d68365d6e5fcdcef946ed77b2f329 | c88eca76f98aeaed16bfbd6051eea6c9594f5595 | /framework/core/src/db/schema/grammars/rename_column.cc | 977d6d9039cd97f10c2510a3e53b9106607313d1 | [
"MIT"
] | permissive | xubingyue/plain | 9154acfb95e47f72221773d14eea78fdbfc6076e | 28f9411de4507735da340a341211570992407a01 | refs/heads/master | 2020-05-19T18:23:11.562043 | 2019-03-26T12:29:33 | 2019-03-26T12:29:33 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 306 | cc | rename_column.cc | #include "pf/db/schema/grammars/rename_column.h"
using namespace pf_db::schema::grammars;
//Compile a change column command into a series of SQL statements.
std::vector<std::string> RenameColumn::compile(
Grammar *,
Blueprint *,
fluent_t &,
ConnectionInterface *) {
return {"", };
}
|
30ef5025fed61e3ea671a0c33562acb2af08acc7 | 9f90a51dcec4068ea316da1a7e1716ec8f718dca | /proxy_dll/myIDirect3DSwapChain9.h | 8765633a4cac9420a37ebf7729678c50276af7cd | [
"MIT"
] | permissive | Poyeyo/deltabest | 622ca6c8df0c6d6471b58be59bfdfb671db39eb1 | 6b4d17591c75073515f1e2c2615919486c49ecbf | refs/heads/master | 2022-12-09T14:32:40.983963 | 2020-09-21T22:02:03 | 2020-09-21T22:02:03 | 297,467,070 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,174 | h | myIDirect3DSwapChain9.h | #pragma once
class myIDirect3DSwapChain9 : public IDirect3DSwapChain9
{
public:
myIDirect3DSwapChain9(IDirect3DSwapChain9* pOriginal, IDirect3DDevice9* pDevice);
virtual ~myIDirect3DSwapChain9(void);
// START: The original DX9 function definitions
HRESULT __stdcall QueryInterface (REFIID riid, void** ppv... |
de3976b67e8aece115b6b098b2398176bb2d11ab | 98cd78aad82b56adfe9e9658ffe299e9e8598b5b | /src/entities/Box.hpp | eebc65e485a4ef9badee3bb30e11986a4cac2f29 | [] | no_license | paul-maxime/bombercraft | 6e6ac6bcd31f4f05db1593aa9a7a5b297e24194f | fb7bf2aaf57423a251607556e52a9d0ec7355a8c | refs/heads/master | 2020-09-28T02:11:21.790785 | 2016-10-27T09:28:40 | 2016-10-27T09:28:40 | 67,894,054 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,287 | hpp | Box.hpp | /**
* \file Box.hpp
* Defines the box entity.
*/
#ifndef BOX_HPP_
#define BOX_HPP_
#include "AEntity.hpp"
/**
* \class Box
* A destructible block containing a bonus
* Inherits from AEntity
*/
class Box : public AEntity
{
public:
/**
* The box constructor
* \param map The map where the entity is contai... |
3f862371235bf6ab34f5ed3b5eb16a7b98bffe4b | 9c69f7f7ae42c4df28201cf208beaea112398dc0 | /gstmultimedialib/Multimedia/Multimedia/Filter/Sink/Video/XVideoImageSink.h | b231b82c4d606b5aaba1f072986d5961133d9ced | [
"BSD-4-Clause"
] | permissive | alekstheod/gstmultimedialib | 1cc2545b6f228f7b50658a2c217c6b949529fa72 | ce9699e402d6870bf2724e09e89c03fe8a52fd16 | refs/heads/master | 2016-09-05T11:08:30.401766 | 2015-03-22T11:49:41 | 2015-03-22T11:49:41 | 32,673,295 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 572 | h | XVideoImageSink.h | /*
* XVideoImageSink.h
*
* Created on: Feb 23, 2011
* Author: m1cRo
*/
#ifndef XVIDEOIMAGESINK_H_
#define XVIDEOIMAGESINK_H_
#include <Multimedia/Filter/BaseFilter/BaseSinkFilter.h>
namespace multimedia {
class XVideoImageSink: public multimedia::BaseSinkFilter {
public:
static const std::string CONST_P... |
ebd6dc82f1a0a8beff15153f5fd8ad2f1f76c43e | 75b9e915c0614a48d5f7a5d14998ce05dc9921f2 | /kernel/ide.h | 50739a15ccbc4c2f64f52e6a6932ac981f134838 | [] | no_license | pato/patOS | bd2c6ea21cacd89a1c9f18db82ae6f8cf69573c1 | e59c2b501a2125394e85dfaba45d1d6f9d9c4f9e | refs/heads/master | 2020-06-06T11:28:09.987574 | 2014-12-13T08:09:14 | 2014-12-13T08:09:14 | 27,852,811 | 7 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 329 | h | ide.h | #ifndef _IDE_H_
#define _IDE_H_
#include "block.h"
#include "semaphore.h"
class IDE : public BlockDevice {
int drive;
Mutex mutex;
public:
static constexpr uint32_t SECTOR_SIZE = 512;
IDE(int drive) : BlockDevice(SECTOR_SIZE), drive(drive) {}
void readBlock(uint32_t blockNumber, void* buffer);
};... |
8a131458dac24d3e7089c850ca87c72b2c288225 | e4acfc74af19f692dd3e12220e6fab951a199b64 | /components/uxvcos_navigation/src/models/FIX_POS_MEAS_MODEL_EULER_BFL.h | a2e874d12ccd23a47319c2379c971c1e143e00e0 | [] | no_license | tu-darmstadt-ros-pkg/uxvcos | 222b1d4c84966a04cb9862e7055a612f151c6109 | ac57278f57dc8060950b86a1ab188ff35acdb3cd | refs/heads/master | 2021-01-23T08:39:30.890385 | 2013-08-01T17:37:37 | 2013-08-01T17:37:37 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,948 | h | FIX_POS_MEAS_MODEL_EULER_BFL.h | //=================================================================================================
// Copyright (c) 2013, Johannes Meyer and contributors, Technische Universitat Darmstadt
// All rights reserved.
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provi... |
504624f2886c6caec4570b1a844ed12db018fda6 | d76e86c698452a5b00e1a06ed5caaaae237429c2 | /portable/ipc/BsdSocket.h | 7b30adc8cbdb569017ef0e9947e9c69ac41de31e | [
"BSD-3-Clause",
"LicenseRef-scancode-free-unknown",
"MIT"
] | permissive | asokolsky/libunistd | 90e38718f451a3482a6fe880da3b87b79a7cf7d8 | 8002a231e913e56726369d4901486dc7318391f6 | refs/heads/master | 2020-05-16T19:59:20.055857 | 2019-04-24T01:02:39 | 2019-04-24T01:02:39 | 183,275,391 | 1 | 0 | MIT | 2019-04-24T17:22:41 | 2019-04-24T17:22:41 | null | UTF-8 | C++ | false | false | 3,381 | h | BsdSocket.h | // portable/BsdSocket.h
// Created by Robin Rowe on 11/27/2015
// Copyright (c) 2015 Robin.Rowe@CinePaint.org
// License open source MIT
#ifndef BsdSocket_h
#define BsdSocket_h
#include <thread>
#include <memory.h>
#include <string>
#include <memory>
#include <vector>
#include <unistd.h>
#include <arpa/inet.h>
#inclu... |
3fa41bd1ad7b8a09c25e33a86c0fad88c32e53df | 8d1561db8546b3a62eaacc1a85e01331667665e5 | /final_project/Arduino/libraries/ColorSensor/ColorSensor.cpp | 9519e3556fbadc990bc41bad3b7791c363f16099 | [] | no_license | ayou7995/Embedded-Experiment | 50434bbca125b1ceb55539081fc31b205c359932 | 93923535e210fc5d7310178628a55772844624b2 | refs/heads/master | 2021-01-19T00:24:33.750161 | 2017-06-16T11:45:48 | 2017-06-16T11:45:48 | 86,575,222 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,886 | cpp | ColorSensor.cpp | /*
ColorSensor.cpp - Library for White Balence and Detecting Color.
Created by ayou7995, June 11, 2017.
Released into the public domain.
*/
#include <TimerOne.h>
#include "Arduino.h"
#include "ColorSensor.h"
//#define HIGH 1
//#define LOW 0
int count = 0; // 頻率計算
int rgb[3]; // 儲存 RGB 值
int flag = 0; ... |
4297c85c456e6f309d5b68d0471fce4a6c19a53f | ee1c6b8f192c77e3c04476dc7733d910b67787b4 | /week_8_cgal/1_antenna/antenna/main.cpp | 11585a1c1efe05717639f49a05958139f7ebe466 | [] | no_license | akuendig/algolab | f6b8f2e971d73464a8bad21508aa6b1cac903134 | fa0c61a64c7670fc57410f03b9d4f4b6e0b59a19 | refs/heads/master | 2016-09-06T07:39:02.180696 | 2013-01-23T17:44:55 | 2013-01-23T17:44:55 | 24,091,596 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,564 | cpp | main.cpp | #include <CGAL/Exact_predicates_exact_constructions_kernel_with_sqrt.h>
#include <CGAL/Min_circle_2.h>
#include <CGAL/Min_circle_2_traits_2.h>
#include <iostream>
#include <vector>
#include <cmath>
typedef CGAL::Exact_predicates_exact_constructions_kernel_with_sqrt K;
typedef CGAL::Min_circle_2_traits_2<K> Min_Circle... |
1398b7ec00ca86bc6f91f7d88e2b5db6c3201f96 | d58ea4adff736467d66a7634d42733fe07726df8 | /trunk/WebKitTools/DumpRenderTree/bal/EditingDelegate.cpp | bca62878c7168ac7698f9fcea2be6b5be120c37f | [] | no_license | explorer-ading/axSurface | 3fc6334cf58d280e763d975faffff09bf47b4569 | 5cc1dd264c40925ec186efb2548cc541b8511bcc | refs/heads/master | 2020-04-17T08:42:05.900900 | 2019-01-31T15:29:20 | 2019-01-31T15:29:20 | 166,422,212 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,253 | cpp | EditingDelegate.cpp | /*
* Copyright (C) 2009 Pleyo. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions... |
6c9ca518af5e47c84532870d49e35ac52be8d9f1 | 9ef582feefa39f7226dbc72a8f548c636b735b1f | /topovis/ttk/generated/ivw_ttkjacobiset.cpp | d1eaab1eeade242fca62501ec74fce5fe85490d1 | [
"BSD-2-Clause"
] | permissive | inviwo/modules | 56f2dbb7c037da3a90dad438380efb352bc9dd35 | c2f0f5d721d9aeed46184c76f65367ead45288c0 | refs/heads/master | 2023-08-27T09:47:56.993778 | 2023-08-15T18:06:00 | 2023-08-15T18:06:00 | 148,468,026 | 9 | 9 | BSD-2-Clause | 2023-09-11T08:20:19 | 2018-09-12T11:14:52 | C++ | UTF-8 | C++ | false | false | 5,141 | cpp | ivw_ttkjacobiset.cpp | #include "ivw_ttkjacobiset.h"
#include <inviwo/core/common/inviwomodule.h>
#include <inviwo/ttk/processors/ttkgenericprocessor.h>
#include <inviwo/core/properties/ordinalproperty.h>
#include <inviwo/core/properties/optionproperty.h>
#include <inviwo/core/properties/boolproperty.h>
#include <inviwo/core/properties/stri... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.