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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
324f419308e621cbd2ec05a256066400c7115b62 | a97cf6d1c69355a6364be3d1f2e8f79632850a8b | /BattleTank_Final/Source/BattleTank_Final/Public/MenuSwitchGameInstance.h | e479dab2476e9b7f19d37e9d650aed703a179d16 | [] | no_license | KhudangAnish01/Final_Tank_Game | 24bf8061649a9e3a0d91ac56bd353f1d15b92792 | a41aee6fb240e9f51af4eafa795a6f1112c00652 | refs/heads/master | 2020-12-26T17:29:59.430465 | 2020-06-26T14:48:41 | 2020-06-26T14:48:41 | 237,575,272 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 777 | h | MenuSwitchGameInstance.h | // Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "Engine/GameInstance.h"
#include "MenuSwitchGameInstance.generated.h"
/**
*
*/
UCLASS()
class BATTLETANK_FINAL_API UMenuSwitchGameInstance : public UGameInstance
{
GENERATED_BODY()
publ... |
8696b963e21650ba0f6e162aaee95348050c47f6 | e5447f2f2437294b42e36302ba3d9b0ea1e224d5 | /examples/HX8357_Padding_demo/HX8357_Padding_demo.ino | bd011ae4928781005e67cdf0eaf1b0b96e7ccd52 | [
"BSD-3-Clause"
] | permissive | Bodmer/TFT_HX8357 | 69ef939d8a3827e8f4105b791fee6cb5188688e6 | ada4701c8cfd4fe0f8e23d3cddccfc5703e9a967 | refs/heads/master | 2023-07-08T08:11:11.982112 | 2023-06-30T13:29:03 | 2023-06-30T13:29:03 | 48,673,247 | 122 | 61 | null | 2023-06-30T08:40:16 | 2015-12-28T04:10:18 | C | UTF-8 | C++ | false | false | 6,430 | ino | HX8357_Padding_demo.ino | /*
Example to show how text padding and setting the datum works.
Drawing a numbers at a location can leave the remains of previous numbers.
for example drawing 999 then 17 may display as:
179 for left datum
or
917 for right datum.
By setting the correct text padding width and setting a background colo... |
34475c9d8ca8ebd9567c38c67ee356b0d792fa29 | c76db678bfb9010e6e8fd1bf737da483798ac2c9 | /Personnage.h | d02f6f2eb825982151e37cdeec7db0c14044186e | [] | no_license | scapel/tutoC- | 75ec00269751d08f5967b2bf1ea178feae639541 | 649d03d21a8325b087ee780aef11a2e5bbf1cf8c | refs/heads/master | 2021-01-12T09:31:46.619215 | 2016-12-11T18:10:53 | 2016-12-11T18:10:53 | 76,181,903 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 434 | h | Personnage.h | /*
* Personnage.h
*
* Created on: 11 déc. 2016
* Author: magalie
*/
#ifndef PERSONNAGE_H_
#define PERSONNAGE_H_
#include <string>
class Personnage {
private:
int m_vie;
std::string m_nom;
public:
Personnage();
Personnage(std::string nom,int vie);
void recevoirAttaque(int degat);
void coupDePoing(Pe... |
6be86a65f085c2994894b4f10de688539c601b9d | 25530bb0da97911d147a6d29ae9bc332566cbe55 | /FluidEngine/Engine/Math/MatrixExpression.h | 1dc36933b67c3ff62992931216a20aeff9e9cac2 | [] | no_license | LCM1999/FluidEngine | 579a84702dce2a33ed2803a5acb701750389b916 | 0814ef8e4f740a170351ae4c3b90f23856020104 | refs/heads/master | 2022-05-05T05:12:56.179735 | 2019-10-31T03:38:27 | 2019-10-31T03:38:27 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 20,796 | h | MatrixExpression.h | #pragma once
#include "Size2.h"
#include "../Utils/Macros.h"
#include "../Utils/MathUtils.h"
#include "VectorExpression.h"
namespace Engine
{
// MARK: MatrixExpression
//!
//! \brief Base class for matrix expression.
//!
//! Matrix expression is a meta type that enables template expression pattern... |
6b0f8c6b949ed9077629fca98a041d1759311114 | 30bdd8ab897e056f0fb2f9937dcf2f608c1fd06a | /contest/1542551197.cpp | 505df4c4f1048978f62e300c36aee6b91b0afbd6 | [] | 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 | 475 | cpp | 1542551197.cpp | #include<bits/stdc++.h>
using namespace std;
int main(){
double h,m,s,t,t2;
cin>>h>>m>>s>>t>>t2;
if(t>t2)
swap(t,t2);
s/=(double)5;
m/=(double)5;
int cont=0;
if(s>t&&s<t2)
cont++;
if(m>=t&&m<t2)
con... |
bd16a3e0177e5fe1216a610be8cd781a0ad0a92a | 694f0572136d8383c1f8a533513ab1b6cf5f1ebe | /ch8/prb82/b_my_find.cc | 85eec7beea8135aff5a40517ff56d8554f5f39ef | [] | no_license | kmad1729/acpp_progs | 663b81ea922c0998cf40f0e6395d18fe29ee0ea3 | d55ae7439e7a6c36ecbede9ea09da7692a0a498d | refs/heads/master | 2021-01-19T07:41:03.826521 | 2016-06-25T06:30:17 | 2016-06-25T06:30:17 | 8,615,547 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 950 | cc | b_my_find.cc | #include <iostream>
#include <algorithm>
#include <string>
#include <vector>
using std::vector;
using std::string;
using std::cout;
using std::endl;
template <class In, class Elem>
In my_find(In b, In e, const Elem& x)
{
while(b != e) {
if(*b == x)
return b;
b++;
}
return e;
}
... |
797d13dbb6219383f20b99998c722259093d500d | e16de0260783b679f9fc1437477fff2960049ddc | /4_gyro/main.cpp | 2d810eb031602948b3cf058c49b226de1e89c94a | [] | no_license | CoppaMan/Pinballs | 050f8fb089a09dbfc1d0a2c1343c38c822ce2039 | 19a9640727a7bdfca275f3bbd0484b2aa168cb0c | refs/heads/master | 2020-04-17T00:33:15.285208 | 2018-12-19T15:47:39 | 2018-12-19T15:47:39 | 166,053,958 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,650 | cpp | main.cpp | #include <deque>
#include "Gui.h"
#include "GyroSim.h"
#include "Simulator.h"
class GyroGui : public Gui {
public:
// simulation parameters
Eigen::Vector3f m_w;
Eigen::Vector3f m_diag;
float m_mass = 1.0;
float m_dt = 0.03;
int m_maxHistory = 200;
std::vector<float> m_energy_history;
... |
4b8b7dbfff190c7f2a0f4e389de747d2fb99b54a | c7ac597f22011a6beba1e8c4d723e5771cb8092c | /Test/GraphicsEngine.cpp | e86da7eab5c0e9d5bda524a5b1b94db526667810 | [] | no_license | jamessmith119/Test | 33e02f4a2fb617b1668cbd7997cd98a0e5472312 | af2f044f6ad237d46aafbd2b7155a50efad8785e | refs/heads/master | 2021-01-01T05:36:08.351551 | 2014-11-04T20:45:18 | 2014-11-04T20:45:18 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,029 | cpp | GraphicsEngine.cpp | #include "GraphicsEngine.h"
D3D_FEATURE_LEVEL featureLevels[] = { D3D_FEATURE_LEVEL_11_1, D3D_FEATURE_LEVEL_11_0,
D3D_FEATURE_LEVEL_10_1, D3D_FEATURE_LEVEL_10_0,
D3D_FEATURE_LEVEL_9_3, D3D_FEATURE_LEVEL_9_2,
D3D_FEATURE_LEVEL_9_1 };
GraphicsEngine::GraphicsEngine()
{
device = nullpt... |
aff67aad7dedc9d99925d549994061874b56ed08 | 86a6a7947494b0bf71a64f93e358130c85b3ba98 | /Ciphers/Common/cipherTools.cpp | 52cc749bb7c39b574d33b12a5a01f0aeb33dce61 | [] | no_license | christsmith/ZooKeyclue_CipherTools | 68f93d5ee995d8156ebe8b976ebc9f24609644a6 | cd7f0c21843edb3baeb95f80073bb4286d7ecd9c | refs/heads/master | 2016-08-11T16:46:35.454076 | 2016-01-09T22:45:25 | 2016-01-09T22:45:25 | 43,655,559 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,544 | cpp | cipherTools.cpp | #include <fstream>
#include <vector>
#include <string>
#include <sstream>
#include <iterator>
#include <iostream>
#include "cipherTools.h"
char value_to_ascii(int v, letter_case_t letter_case)
{
char c;
switch (letter_case)
{
case LETTER_CASE_UPPER:
c = (char)(v + 'A');
brea... |
4afecb8dfedeb3d10597a8581294d955e8dc8541 | ed1b1e2f35e18569aa19b63568431c65493b4fbe | /archsim/src/abi/devices/arm/core/ARMv6-MMU.cpp | 5b38616c8f5f087a711ae1ce6e7dd6720a7e5ef9 | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | yczheng-hit/gensim | cd215c6efc6357f1e375a90d7bda003e8288ed55 | 1c2c608d97ef8a90253b6f0567b43724ba553c6b | refs/heads/master | 2022-12-31T21:00:50.851259 | 2020-10-16T11:52:19 | 2020-10-16T11:52:19 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 21,048 | cpp | ARMv6-MMU.cpp | /* This file is Copyright University of Edinburgh 2018. For license details, see LICENSE. */
/*
* ARMv6-MMU.cpp
*
* Created on: 12 Jan 2016
* Author: kuba
*/
//#include "abi/devices/arm/core/ARMv6-MMU.h"
#include "abi/devices/MMU.h"
#include "abi/devices/arm/core/ArmControlCoprocessorv6.h"
#include "abi/me... |
938d1a2243561f5579963a4326a295b5c9b8b3ae | c92b2b4c795a569530abf64495f45e08f92573d0 | /K173722A2P3.cpp | 0b7b46ded15e49423b1198080b06ab82d8709189 | [] | no_license | Murad1893/Simulation-of-Queuing-Systems | c9618d0aae383aafae4331dc85a4f53834af9fd3 | c8508edb8a52350206cb6b4c8c664feee3627bf4 | refs/heads/master | 2022-02-23T18:10:34.944125 | 2019-10-02T15:23:33 | 2019-10-02T15:23:33 | 212,374,677 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,417 | cpp | K173722A2P3.cpp | #include <iostream>
#include <windows.h>
#include <time.h>
#include <fstream>
using namespace std;
static int customer_count=0; //to store the customer count in order to print each customer with a different integer like "Customer 1,Customer 2..." etc
class customer{
private:
int arrival_hr;
int arr... |
deaa27ea45e80ba88cc940873bbb417695f0546c | dc81c76a02995eb140d10a62588e3791a8c7de0d | /PortfolioTrading/TradeStation/charsetconvert.cpp | 4ca8a327623c9d01004f52af458affee816bdc66 | [] | no_license | xbotuk/cpp-proto-net | ab971a94899da7749b35d6586202bb4c52991461 | d685bee57c8bf0e4ec2db0bfa21d028fa90240fd | refs/heads/master | 2023-08-17T00:52:03.883886 | 2016-08-20T03:40:36 | 2016-08-20T03:40:36 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,902 | cpp | charsetconvert.cpp | #include "StdAfx.h"
#include "charsetconvert.h"
#include <Windows.h>
void UTF_8ToUnicode(wchar_t* pOut,char *pText)
{
char* uchar = (char *)pOut;
uchar[1] = ((pText[0] & 0x0F) << 4) + ((pText[1] >> 2) & 0x0F);
uchar[0] = ((pText[1] & 0x03) << 6) + (pText[2] & 0x3F);
}
void UnicodeToUTF_8(char* pOut,wc... |
c5ee95cc63149ded7c3a2e3bd3dbd4718a10a76a | cfdfa665d16ac9f732b21369f031c35450dbea9f | /src/academy/src/MindFLfull.cpp | 3999fb35c719761b98a95f9fc224736e36e7f5b9 | [] | no_license | lazyrun/kenay | 7df8e143b8ab69891087d0af887d757297fbb2da | 4ec4d686185c8f3307de23d526004af2649aac40 | refs/heads/master | 2016-09-06T15:37:38.890401 | 2013-03-30T08:53:57 | 2013-03-30T08:53:57 | null | 0 | 0 | null | null | null | null | WINDOWS-1251 | C++ | false | false | 50,053 | cpp | MindFLfull.cpp | #include "MindFLfull.h"
#include "GlobVars.h"
// Категории игроков по VPIP
#define MANIAK 44.
#define LOOSE 32.
#define MODERATE 24.
#define TIGHT 18.
#define EXTRATIGHT 1.
//Порог по PFR
#define PFR_PASSIVE 8.// меньше, значит пассив
#define PFR_AGGRESIVE 12.
//порог по лимпу
#define LIMP_... |
6de1e1a8853ebab706a4f38b077f1166abbca884 | f5b936c57a82a479983a2adc71c2abe7d6b3ec9b | /Codeforces/round431/b.cpp | 4d017fcc6c075618605b3952cd6b565e27c8ace1 | [] | no_license | FranciscoThiesen/OldProblems | 002e2099fcb7f0c874f3d8927a60d1644521bbdf | 809747fceb5a75127aae832697d6f91b63d234f5 | refs/heads/master | 2021-08-31T16:20:28.969377 | 2017-12-22T02:07:05 | 2017-12-22T02:07:05 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,132 | cpp | b.cpp | /*input
5
1000000000 0 0 0 0
*/
#include <bits/stdc++.h>
using namespace std;
#define fr(i,a,b) for(int (i) = (a); (i) < (b); ++(i))
#define rp(i,n) fr(i,0,n)
#define fi first
#define se second
#define all(v) (v).begin(), (v).end()
#define pb push_back
#define mt make_tuple
#define mp make_pair
#define sz(a) (int)(a.... |
7a27c1288f7266ef2dc94fcb51865e2f752de46b | 3201e8242e06e563b80f467e5324112d36d1241e | /C++ lanuage/03_Function/0_defination.cpp | ed348b9766ffa91d4a10613905491a44b64bc2ad | [] | no_license | AnuragJiMahan/Code-Notes | 14df238e4460cfb21de7b3137ca55fb675162f79 | b27443cc355b229060079a610f515844994561c4 | refs/heads/main | 2023-09-02T07:34:34.184410 | 2021-11-21T11:30:20 | 2021-11-21T11:30:20 | 430,345,875 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 317 | cpp | 0_defination.cpp | /*Function:- Function are two type in c++;
1. library function --> cout<<,clrscr(),gets()...
2. user difine function :
user define function are four type in c++;
1. simple function
2. return function
3. parameter no return function
4. parameter with return function
*/
// 4===>all
// 3--->1,3
|
ab287521aa2fac30e4a48d00668f66ced7a9eb65 | 647a494d78469d625e06e8872ea7c183d12505a5 | /silly/src/comm.c | 9db245dab65e3264cac0ec831fcea7ab9f7106cd | [
"BSD-4-Clause-UC",
"MIT",
"DOC"
] | permissive | okeuday/sillymud | df735f383fbc2daf3b39e6619896075e136c79f8 | d94fbe39df8e5b3807ad049cc39d2d6f77926b25 | refs/heads/master | 2023-07-09T04:45:28.180595 | 2023-06-22T02:35:42 | 2023-06-22T02:35:42 | 16,369,185 | 8 | 2 | null | 2014-08-16T04:06:25 | 2014-01-30T05:28:13 | C | UTF-8 | C++ | false | false | 39,132 | c | comm.c | /*-*-Mode:C;coding:utf-8;tab-width:8;c-basic-offset:2;indent-tabs-mode:()-*-
* ex: set ft=cpp fenc=utf-8 sts=2 ts=8 sw=2 et:
SillyMUD Distribution V1.1b (c) 1993 SillyMUD Developement
See license.doc for distribution terms. SillyMUD is based on DIKUMUD
*/
#include <errno.h>
#include <stdio.h>
#in... |
66f209839bee290a6bd45d2cf662fb9cd706adbc | 803b3156ad1d29ad2d88e67fb7d7e66225efe06b | /CCBase/CCBase/CrimeCraft_MiniSDK/CrimeCraft/ACCCLTGameInfo.h | d5b931398195a846c62a1ba0ed270cdaa72ead12 | [] | no_license | x4l4/HaveFun | 892f12b354ddab88e31d3ea7c1c73a41f2f30f8b | 58e9206d2561b6fc96f55e173b6cf776123ce58e | refs/heads/master | 2020-03-13T20:24:17.730442 | 2018-04-28T09:45:36 | 2018-04-28T09:45:36 | 131,273,488 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,931 | h | ACCCLTGameInfo.h | /////////////////////////////////////////////////////////////////////////////
// Unreal Engine MiniSDK Generator by uNrEaL
// Game: CrimeCraft
// File: ACCCLTGameInfo.h
// Date: 06/16/2011 @ 05:19:40.938
/////////////////////////////////////////////////////////////////////////////
#ifdef _MSC_VER
#pragma pack(... |
a11e50292444b1090a1df4803569afea29577dc5 | 710f7d2951c7af722d8e8ea896c5e6733e155860 | /zDataServer_X/zDataServer/zzzitem.h | 9d47ad1c3c3a9d30315861f8be48c76fd1bf4e14 | [] | no_license | lnsurgent/X-MU_Community_Server | 5cda542a5cbd6d73ade156ca8354eeab2909da91 | e576e30a0222789b2d02506569e5b435dd696e2f | refs/heads/master | 2016-09-06T07:50:10.870481 | 2016-02-11T06:56:20 | 2016-02-11T06:56:20 | 29,187,243 | 12 | 8 | null | 2015-01-18T15:23:14 | 2015-01-13T11:40:29 | C++ | UHC | C++ | false | false | 4,937 | h | zzzitem.h | #ifndef __ZZZITEM_H__
#define __ZZZITEM_H__
#include "ItemDef.h"
class CItem
{
public :
DWORD m_Number;
char m_serial;
short m_Type;
short m_Level;
BYTE m_Part;
BYTE m_Class;
bool m_TwoHand;
BYTE m_AttackSpeed;
BYTE m_WalkSpeed;
WORD m_DamageMin;
WORD m_DamageMax;
BYTE m_SuccessfulBlocking;
WOR... |
c468e7bedb14d350ecc00ea3c433eb9a75558497 | 2f8d6f68b0926594177abd79d48462ef3d0595cc | /projectTrain/MyHOGSVM/main.cpp | 285006431cd60cfb7864ad033ebd1c2073adf300 | [] | no_license | pobin6/graduation_project | 53fbd9ae5c2aee88596951b56543f0c06989605c | 5cb765bca34762352542214eb6811ee58348419a | refs/heads/master | 2021-09-15T00:52:50.564969 | 2018-05-23T03:58:13 | 2018-05-23T03:58:13 | 117,124,206 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,281 | cpp | main.cpp | #include <QCoreApplication>
#include "cv.h"
#include"cxcore.h"
#include"highgui.h"
#include <opencv2/core/core.hpp>
#include <opencv2/highgui/highgui.hpp>
#include <ml.h>
using namespace std;
using namespace cv;
int test(int posSam[], int negSam[]);
int train(int posSam[], int negSam[]);
#define Posnum 240 //正样本个... |
6dc29e9d529416e747d67a25caf441c7a7dcbcb9 | 33a82980352cf366b9c288cf8a74d2740272d90b | /avstream/avscamera/sys/Synthesizer.cpp | 2598f4693a722118cba8581d0f53e0b74309f250 | [
"MS-PL"
] | permissive | microkatz/Windows-driver-samples | d249ecb8ab1be5a05bf8644ebeaca0bf13db1dad | 98a43841cb18b034c7808bc570c47556e332df2f | refs/heads/master | 2022-05-09T17:42:10.796047 | 2022-04-20T20:47:03 | 2022-04-20T20:47:03 | 161,238,613 | 2 | 0 | MS-PL | 2022-04-20T20:47:03 | 2018-12-10T21:28:00 | C | UTF-8 | C++ | false | false | 50,434 | cpp | Synthesizer.cpp | /**************************************************************************
A/V Stream Camera Sample
Copyright (c) 2014, Microsoft Corporation.
File:
Synthesizer.cpp
Abstract:
This file contains the implementation of CSynthesizer.
The base image synthesis and overlay class... |
d603eac39332c2e38b873cbf6b9d1fd27f0c890d | 21a8693d5827ffe7017f07432cf8a33abce9ad32 | /rosplan_knowledge_base/include/rosplan_knowledge_base/RDDLUtils.h | 4677ae56be966f03acd8b5dbd7854ad3c3ee708b | [
"BSD-2-Clause"
] | permissive | KCL-Planning/ROSPlan | c0f4bd63a05857c511d4ad3708a50fee50877502 | 639037230073997d3ed3fea7391f1e1b3c6b1ffa | refs/heads/master | 2023-06-22T08:42:48.827676 | 2022-09-07T14:19:41 | 2022-09-07T14:19:41 | 21,421,114 | 337 | 169 | BSD-2-Clause | 2023-06-13T20:37:31 | 2014-07-02T11:04:22 | C++ | UTF-8 | C++ | false | false | 5,753 | h | RDDLUtils.h | //
// Created by Gerard Canal <gcanal@iri.upc.edu> on 25/09/18.
//
#ifndef ROSPLAN_KNOWLEDGE_BASE_RDDLOPERATORUTILS_H
#define ROSPLAN_KNOWLEDGE_BASE_RDDLOPERATORUTILS_H
#define NOT_IMPLEMENTED(str) ROS_WARN_STREAM(__FILE__ << ":" << __LINE__ << ": " << str)
#define NOT_IMPLEMENTED_OPERATOR NOT_IMPLEMENTED("Unknown or... |
d0fb46f87dc41a782be181966a2afb22b1c28077 | 5ab80e7479327b14cc6b7adb36bc1e7ff22d8c74 | /z_RunoobC/C++_Lessons/05_Class/main.cpp | dfe53860a8c47922671d2e87cfeef3ca8b42ddcd | [] | no_license | kiasher0099/C | 8f738cf6b0845e6e85d4d8c9f5e51df07a922384 | 0fee4b4b3f7408cbf497b98d37121c819f69f6fc | refs/heads/master | 2022-04-14T07:11:38.056288 | 2020-04-14T04:00:05 | 2020-04-14T04:00:05 | 210,148,849 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,105 | cpp | main.cpp | /*************************************************************************
> File Name: main.cpp
> Author: kiasher
> Mail: kiasher@sina.com
> Created Time: Mon 02 Dec 2019 03:48:20 PM CST
************************************************************************/
#include<iostream>
using namespace std;
class Box
{... |
e9efb2e8d274ddd80572a0aa275a4d6ff5988027 | 868778cfaff0103c350abbb7af2aaddb62eae40c | /Chapter 18/18-1/main.cpp | 35628644b1ecc101894b17f4ba0eff8d48f1a5ce | [] | no_license | Jerrydepon/C_plus_plus_Practice | a1f3287f98a0fb625218cfccfb9228d040186f13 | d75a4d3be64c6030d020c10a5bbb86e8313415c1 | refs/heads/master | 2020-07-06T16:36:38.765385 | 2019-08-19T02:03:19 | 2019-08-19T02:03:19 | 203,080,358 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 710 | cpp | main.cpp | #include <iostream>
#include "IntStack.h"
using namespace std;
int main()
{
IntStack stack(5);
int catchVar;
cout << "Pushing 5\n";
stack.push(5);
cout << "Pushing 10\n";
stack.push(10);
cout << "Pushing 15\n";
stack.push(15);
cout << "Pushing 20\n";
stack.push(20);
cout << "Pushing 25\n... |
c1f4760b49dbc34b2e1a029a3e45af295b619535 | e344a762c2edda8c3b5406143a0bc1df79871937 | /string/test.cpp | 0d39c4113127fa9bd0a24d97cccf34cc7a12a9ef | [] | no_license | Presageee/STL-IMPL | f413420772a08bb6f316071edeeb8067cb8b20ff | 5150f2f739a611ad9538dd388aacfdf1df17f09d | refs/heads/master | 2020-05-22T00:40:31.359668 | 2017-03-19T10:40:47 | 2017-03-19T10:40:47 | 84,656,512 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 489 | cpp | test.cpp | #include "string.h"
#include <iostream>
using namespace std;
using namespace lib;
int main(int args, char* argv)
{
lib::string str;
lib::string str1("abcde");
lib::string str2("12345678901234567");
lib::string str3(str1);
lib::string str4 = str3 + str1;
lib::string str5 = str4 + str2;
lib::string str6(str2);
s... |
311abfe89f3f5a86942ce5f9dfca6c95a2f91413 | 8cddfd85a78adcb43f181a2cae8aefaa51fbefa8 | /task_4_8/dict_editor_window.cpp | 180a22dfad95593071e0789b60aa8d7b8d288795 | [] | no_license | floatint/cxx_tasks_sm | 81d0f77818718eb3c7b8e64bd4083ac9e6931891 | 4b49cb28184dc9647c44b086f2e4a55055aa021a | refs/heads/master | 2022-11-11T11:34:33.987575 | 2020-06-28T18:11:21 | 2020-06-28T18:11:21 | 274,197,145 | 0 | 1 | null | null | null | null | WINDOWS-1251 | C++ | false | false | 7,518 | cpp | dict_editor_window.cpp | #include "dict_editor_window.h"
#include "dictionary_helper.h"
#include "declension.h"
#include "messages.h"
#include <set>
DictEditorWindow::DictEditorWindow(Dictionary& dict, QWidget *parent)
: QDialog(parent),
m_dict(dict)
{
m_dictNode = nullptr;
ui.setupUi(this);
this->setWindowTitle(DIALOG_TITLE);
//обновл... |
25e958326ca06f2676b449731952b54177486f64 | d64fdcbd9ce18d4e124c3bb9dc4eaa343a771154 | /code459_重复的字符串.cpp | 0d50ba25f0d0ba86620cae036a984e1b88f5d587 | [] | no_license | luanjianbing/leetcode | c61d8a80128b35d22c891a597df19c5dd1b3c331 | edaafb8b86ac32878ba7582e06c668a7136f918f | refs/heads/master | 2022-12-13T03:14:33.227682 | 2020-09-11T01:58:53 | 2020-09-11T01:58:53 | 282,830,965 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 714 | cpp | code459_重复的字符串.cpp | #include <iostream>
#include <sstream>
using namespace std;
//给定一个非空的字符串,判断它是否可以由它的一个子串重复多次构成。
//给定的字符串只含有小写英文字母,并且长度不超过10000。
class Solution {
public:
bool repeatedSubstringPattern(string s) {
int n = s.size();
for (int i = 1; i * 2 <= n; ++i) {
if (n % i == 0) {
bool match = true;
for (int j = i; j... |
36f2b111a2f0f00266e703fb5ff1b6448cc1e886 | 3825145e1bcf1d8fd2c888c6b113b9bd81e84fbd | /ROS/camina12/src/Nodo2_parametrizacion.cpp | d7000e2f22a86f98c37dc04ec33e0691bdc3e954 | [] | no_license | mau25rojas/tesis-hexapodo | 9bc29361fd70d28d60de01c40b4916e7d590da1b | b2a573f13efffe8487948c9cb3a13c8fb55d1b82 | refs/heads/master | 2020-05-18T18:22:04.826463 | 2014-10-01T15:25:30 | 2014-10-01T15:25:30 | 32,201,978 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 8,937 | cpp | Nodo2_parametrizacion.cpp | #include "ros/ros.h"
#include "math.h"
#include "string.h"
//Librerias propias usadas
#include "camina12/v_repConst.h"
#include "camina12/constantes.hpp"
#include "camina12/vector3d.hpp"
// Used data structures:
#include "camina12/DatosTrayectoriaPata.h"
#include "camina12/AngulosMotor.h"
//#include "camina12/CinversaP... |
c0f698d099be20b17b97868f3957c598827e5a62 | b42b4c4b6bb01c79f2b3214d5ffd05a735b4d823 | /games/nibbler/Fruit.cpp | 272a35baa70a9c2f38e39ca276fe6e3786e95dd4 | [] | no_license | overnxt/retromania | a8e73df181c8b725d130ed24f2c67eed463b2f33 | 065b63181a11f087e1f40f7582c6f5d82b557ed7 | refs/heads/master | 2021-06-20T02:54:41.750477 | 2017-07-31T16:08:56 | 2017-07-31T16:08:56 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,375 | cpp | Fruit.cpp | #include <algorithm>
#include <random>
#include "Nibbler.hpp"
namespace retromania
{
void Nibbler::manageFruits()
{
eatFruit();
checkFruits();
if (_fruits == 0)
spawnFruit();
if ( _fruits < 3) {
std::mt19937 rng;
rng.seed(std::random_device()());
std::uniform_int_distribution<std::mt19937::res... |
28b4012b8291cc8da87ebd5f1cbcd97f23cdeafe | a27c13c55680e95a0cfe375dd02daae9d8e64d04 | /mods/android/bionic/tests/time_test.cpp | b3192c82b2afdce1c09748d909f18f227c5747df | [
"LicenseRef-scancode-unicode",
"Apache-2.0"
] | permissive | NaiveTorch/ARC | 4572ed94d01f3b237492579be4091f3874a8dfe0 | 4007a4e72f742bb50de5615b2adb7e46d569b7ed | refs/heads/master | 2021-01-22T06:38:12.078262 | 2014-10-22T15:43:28 | 2014-10-22T15:43:28 | 25,082,433 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,405 | cpp | time_test.cpp | /*
* Copyright (C) 2013 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... |
f7f5b43d56c657ddeae967afeaf2fa5450131176 | 5e5d3b9a20bf0ec666990a2bea9ec9caec75e02a | /TestGraph.c++ | 5aa290e4a127836db8b226317c34c9639f87f023 | [] | no_license | lclg21/cs378-graph | 697faf2f09ae33ae2d1d0d4c031dc077c853ac59 | b57a7a50439094b8c040c908b5f06f8f305a0340 | refs/heads/master | 2021-01-18T06:09:20.998989 | 2015-07-27T02:22:36 | 2015-07-27T02:22:36 | 39,175,971 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,402 | TestGraph.c++ | // --------------------------------
// projects/g++/graph/TestGraph.c++
// Copyright (C) 2015
// Glenn P. Downing
// --------------------------------
// --------
// includes
// --------
#include <iostream> // cout, endl
#include <iterator> // ostream_iterator
#include <sstream> // ostringstream
#include <utility> /... | |
9702a8f0defccdc61132b74cce4b3cd8788bc4ac | 72e3e602546bc94a392ed7a485a948aa3895218e | /Engine/cameraclass.cpp | e927be66fd949e4ce137ea47c9d1f1ac9578ebd5 | [] | no_license | fromasmtodisasm/DirectXCpp | b3c304c9c0748313e33d4994db59dc58d0b0e580 | 3026189a07af7567d83ee69ca651969ebb5446bc | refs/heads/master | 2021-06-12T09:41:32.160190 | 2017-03-21T22:19:17 | 2017-03-21T22:19:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,979 | cpp | cameraclass.cpp | #include "cameraclass.h"
CameraClass::CameraClass()
{
positionX = 0.0f;
positionY = 0.0f;
positionZ = 0.0f;
rotationX = 0.0f;
rotationY = 0.0f;
rotationZ = 0.0f;
}
CameraClass::CameraClass(const CameraClass& other)
{
}
CameraClass::~CameraClass()
{
}
void CameraClass::SetPosition(float x, float y, float z)
{
... |
06a5476af504cd4e71fd24df3fcf58ac7b993866 | 681e5578721dabbc517262463cdb48f3630b7c29 | /src/programs/Simulation/mcsmear/MyProcessor.cc | 320c7a7b703d8e8e08848683976e9dd1a596b335 | [] | no_license | JeffersonLab/sim-recon | d7a76e03887cfee255e1309ade73edb5a4f3bd87 | de076695f16956fe649366b53959c7582285001f | refs/heads/master | 2020-04-12T09:00:00.639534 | 2018-07-30T20:26:51 | 2018-07-30T20:26:51 | 39,176,669 | 15 | 20 | null | 2018-07-30T20:26:52 | 2015-07-16T04:35:19 | C++ | UTF-8 | C++ | false | false | 16,375 | cc | MyProcessor.cc | // Author: David Lawrence Sat Jan 29 09:37:37 EST 2011
//
//
// MyProcessor.cc
//
#include <iostream>
#include <cmath>
#include <vector>
#include <map>
using namespace std;
#include <strings.h>
#include "MyProcessor.h"
#include "hddm_s_merger.h"
#include <JANA/JEvent.h>
#include <HDDM/DEventSourceHDDM.h>
#includ... |
8742755f19a1af47af5f7cf7d612d7dd931f1a30 | 6b40e9dccf2edc767c44df3acd9b626fcd586b4d | /NT/enduser/netmeeting/core/setupdd.cpp | 6c70bbc03bbee75563bf6ffed0fdd57a7ec31cd0 | [] | no_license | jjzhang166/WinNT5_src_20201004 | 712894fcf94fb82c49e5cd09d719da00740e0436 | b2db264153b80fbb91ef5fc9f57b387e223dbfc2 | refs/heads/Win2K3 | 2023-08-12T01:31:59.670176 | 2021-10-14T15:14:37 | 2021-10-14T15:14:37 | 586,134,273 | 1 | 0 | null | 2023-01-07T03:47:45 | 2023-01-07T03:47:44 | null | UTF-8 | C++ | false | false | 5,494 | cpp | setupdd.cpp | // File: setupdd.cpp
// The code to install the NM display driver for Windows NT.
// TODO: NM-specific HRESULT codes
#include "precomp.h"
#include "resource.h"
#ifdef NMDLL_HACK
inline HINSTANCE GetInstanceHandle() { return g_hInst; }
#endif
const TCHAR g_pcszDisplayCPLName[] = TEXT("DESK.CPL")... |
0d79b88d3f363b0334f14504e0ad60dfda26635c | 3b9513b1e62b7aa9c9527cc69e4dbbae44d23feb | /blimp/src/core/object/object.h | d4245fbe51450d4cc31844ce7d5fa05afb35467a | [
"MIT"
] | permissive | 3dgo/blimp | cf2500402f96c6602f36b6823c090b20b6c6e9c2 | 70ab20f235add5a10c6288c72498456b1b9214ce | refs/heads/master | 2020-08-05T22:38:40.595031 | 2020-02-18T06:03:36 | 2020-02-18T06:03:36 | 212,737,117 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,480 | h | object.h | #pragma once
// Operator Overloads and uuid implemented by Matt Warner
/// <summary>
/// Object Class
/// </summary>
namespace blimp
{
class Object
{
DECLARE_ABSTRACT_BASE_CLASS(Object)
private:
std::string name = "";
UUID uuid = ""; // holds the uuid struct
... |
23440f0a63b063a1006a25005a69986a706fbfa8 | 9a526e11888f2a65b3b26125c73f675ec4c695e5 | /array/coding-interviews/PrintMinNumber.h | 9ba4e9cc652f8e1e3e6cacfbe171f5c66ac0afea | [] | no_license | GeekSprite/iOS-Algorithm | 04c3c4aef269cbcdebf5584699edf0fb85effe28 | e821e39bb141639ae48f8e6041a517f8319646bf | refs/heads/master | 2023-01-28T00:03:21.197888 | 2020-12-02T14:33:34 | 2020-12-02T14:33:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,171 | h | PrintMinNumber.h | //
// PrintMinNumber.h
// array
//
// Created by junlongj on 2019/8/3.
// Copyright © 2019 junl. All rights reserved.
//
#ifndef PrintMinNumber_hpp
#define PrintMinNumber_hpp
#include <stdio.h>
#include <string>
#include <vector>
#include <math.h>
/*
剑指Offer(三十二):把数组排成最小的数
输入一个正整数数组,把数组里所有数字拼接起来排成一个数,打印能拼接出的所有数... |
afb9802275782182ac20740fcc774e0c5e785f11 | c3192020e560076ef8af3dce5355f7ab0ff685be | /pinocchio/include/pinocchio/spatial/motion-ref.hpp | eba6a23c72ffa6500285352afd6deb040cf5c85c | [
"BSD-2-Clause",
"BSD-3-Clause"
] | permissive | CiaranZ/CIaran | 604c93b1126643fcf6fd6f34e5b420b7a4c41ab4 | 185624ce371482820eba3d59fd0122e9d332bfde | refs/heads/master | 2023-06-11T11:21:30.667753 | 2023-05-30T10:27:39 | 2023-05-30T10:27:39 | 123,782,966 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 64 | hpp | motion-ref.hpp | /mnt/nvme1n1p7/HKUST_ws/src/pinocchio/src/spatial/motion-ref.hpp |
a42211f9f48e7be7f2cc409a8bc0521dd914a558 | c0cae871847dd7f3e247cadfab6af72782f01072 | /mainwindow.h | 3a34d9320b7e205a4a37949f18f0ea436ad4dd56 | [] | no_license | wangxg2github/TestMangemment | a30c93d982f38696ce9740c672c08e7dfdfb5f83 | 795fb7b0d7115ff8273bfc7acf45b06885d3d6e5 | refs/heads/master | 2021-05-14T01:51:03.008798 | 2018-01-07T15:44:06 | 2018-01-07T15:44:06 | 116,576,486 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 444 | h | mainwindow.h | #ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include <QMainWindow>
#include <QHBoxLayout>
#include <QLabel>
#include "qnavigationwidget.h"
#include "modelview/qshowwidget.h"
class MainWindow : public QMainWindow
{
Q_OBJECT
public:
MainWindow(QMainWindow *parent=0);
~MainWindow();
private:
QWidget ... |
1b311b94db10a0f1d215d93013c97013bb0e9e7f | 141cd086b082772f39cd6ea937f9d54cf7d1c4be | /tf/model/ner/NER_LSTM.hpp | f8ee315aaf28a2f2071039cc677b8f10f36604d8 | [] | no_license | phylieac/TF-NER | 45e9d46e213d0aa1a545977f984bf1401fc55c54 | a5024a00ca32389bea93535b01ca63bf68ac8397 | refs/heads/master | 2022-10-06T21:27:09.048553 | 2020-06-10T06:36:40 | 2020-06-10T06:36:40 | 270,534,630 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,078 | hpp | NER_LSTM.hpp | //
// NER_LSTM.hpp
// NER
//
// Created by 潘洪岩 on 2020/1/5.
// Copyright © 2020 潘洪岩. All rights reserved.
//
#ifndef NER_LSTM_hpp
#define NER_LSTM_hpp
#include <stdio.h>
#include <iostream>
#include <tensorflow/core/public/session.h>
#include <tensorflow/core/platform/env.h>
#include <tensorflow/cc/saved_model/lo... |
20ff564a200f0ef6d1c7132203e0bdffccc7f102 | 37f41843d2751015e6b6938eb96e8e28a25ccd8c | /trajectory_tracker/include/trajectory_tracker/eigen_line.h | eca6446bddd03ac661fca7e4d977e9187cc37ff6 | [
"BSD-3-Clause"
] | permissive | at-wat/neonavigation | 16b499b1361c67929ff3ec3685b6aed504122a7e | a9d14309198b5893b981c5976ce0467588f1f05c | refs/heads/master | 2023-08-31T21:08:41.495171 | 2023-08-30T04:09:51 | 2023-08-30T04:09:51 | 67,018,317 | 257 | 91 | NOASSERTION | 2023-09-14T10:13:52 | 2016-08-31T08:23:10 | C++ | UTF-8 | C++ | false | false | 3,455 | h | eigen_line.h | /*
* Copyright (c) 2014, ATR, Atsushi Watanabe
* Copyright (c) 2014-2018, the neonavigation authors
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* * Redistributions of source code... |
06608bfc2bb0c54e40de76b9e60adea591162d69 | fd82c48fcf02ee09f0753f7d7571d93530953d2f | /Languages/cpp/1_cin_cout/code/cout_quiz.cpp | 5a751b59e68d0aa14f72ca47cc26f4dc7b28da08 | [] | no_license | Hahnnz/Computer_Science_Summary | ac8bce5be226dd8bf52221b8974557d7d6bba5ff | 1458766969704ebfc1fe68f1ef80f8b4deb3be35 | refs/heads/master | 2020-03-18T16:15:11.787218 | 2018-06-23T05:38:32 | 2018-06-23T05:38:32 | 134,955,675 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 321 | cpp | cout_quiz.cpp | #include <iostream>
using namespace std;
int main(){
cout<<"[안내]"<<endl;
cout<<"인터넷 변경하세요"<<endl;
cout<<"통신사 관계없이"<<endl;
cout<<"현금 등 40만원 +"<<endl;
cout<<"할인 37%"<<endl;
cout<<"<최대> \"2천 ~ 9천\" 가능"<<endl;
cout<<"통화버튼 눌러주세요"<<endl;
} |
9700d16ab0d83fccbfa6b8e68e560f3595649955 | 48ca31dbd1ec7b9399b0ce81d26aaa6242b13ac3 | /AGVControlSystem/CAGVConfigPane.cpp | b9ff3bd25ebc3dbc778303b6b1c5aa1c14b352d9 | [] | no_license | qqsskk/AGVMapCreate | ccc7c93be6d9bccb540f1444b784d14db0862da5 | 5257f49a24a065644104c6192bbbc7085d4d3a8b | refs/heads/master | 2020-12-12T23:47:01.657410 | 2019-12-02T10:44:53 | 2019-12-02T10:44:53 | 234,260,501 | 2 | 0 | null | 2020-01-16T07:26:39 | 2020-01-16T07:26:39 | null | UTF-8 | C++ | false | false | 1,219 | cpp | CAGVConfigPane.cpp | // CAGVConfigPane.cpp: 实现文件
//
#include "stdafx.h"
#include "AGVControlSystem.h"
#include "CAGVConfigPane.h"
// CAGVConfigPane
IMPLEMENT_DYNAMIC(CAGVConfigPane, CDockablePane)
CAGVConfigPane::CAGVConfigPane()
{
}
CAGVConfigPane::~CAGVConfigPane()
{
}
BEGIN_MESSAGE_MAP(CAGVConfigPane, CDockablePane)
ON_WM_CRE... |
a33a58b40df25bd13f1497e5951c654a35669535 | 333b58a211c39f7142959040c2d60b69e6b20b47 | /Include/CTTables/EVCPolicyRecord.h | 0cd7df3bf7e62867b6343cc04007eb3e126a04a8 | [] | no_license | JoeAltmaier/Odyssey | d6ef505ade8be3adafa3740f81ed8d03fba3dc1a | 121ea748881526b7787f9106133589c7bd4a9b6d | refs/heads/master | 2020-04-11T08:05:34.474250 | 2015-09-09T20:03:29 | 2015-09-09T20:03:29 | 42,187,845 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,063 | h | EVCPolicyRecord.h | /*************************************************************************/
// This material is a confidential trade secret and proprietary
// information of ConvergeNet Technologies, Inc. which may not be
// reproduced, used, sold or transferred to any third party without the
// prior written consent of Converg... |
0c073e0f9f4b34d916b3480e9fbee6837f07516c | 9042399d3d135b9cf80904e0f180dd0a974041de | /refs/async/epoll_io_op.h | 24b5d79b12e25357212880bdb647658f4dcd7f92 | [] | no_license | thibetabc/xxsocket | 9a5a29f683fcbdc66b06bafc9c1c68390b610668 | be754ed415804ff33a6bcf99dd250c03ac3e8288 | refs/heads/master | 2021-01-18T07:17:40.213843 | 2016-06-04T09:37:06 | 2016-06-04T09:37:06 | 60,538,625 | 0 | 1 | null | 2016-06-06T15:22:53 | 2016-06-06T15:22:53 | null | UTF-8 | C++ | false | false | 504 | h | epoll_io_op.h | #ifndef _EPOLL_IO_OP_H_
#define _EPOLL_IO_OP_H_
#include "epoll_fwd.h"
class epoll_io_op
{
typedef void (*func_type)(epoll_io_service*,
epoll_io_op*,
u_long ec,
size_t bytes_transferred);
public:
epoll_io_op(func_type func) : func_(func)
{
}
void complete(... |
f18561f070c94df2bf7b1a47c6c95335eec1fc24 | 37e2a3e18dc74e26a46e6f62f65d9aa3cbf6a2bf | /include/caffe/layers/scatter_nd_layer.hpp | 7bb915fc9af2a7d0cdf366ee67c3ffdae164783a | [
"LicenseRef-scancode-generic-cla",
"BSD-2-Clause"
] | permissive | foss-for-synopsys-dwc-arc-processors/synopsys-caffe | bc5d91e81575460137fa22623ba01816413d3bf0 | 63123ca6c80b72365c87332bbb3de2995e063065 | refs/heads/main | 2023-09-02T10:25:17.991467 | 2023-08-02T11:01:05 | 2023-08-02T11:01:05 | 103,567,504 | 27 | 20 | NOASSERTION | 2023-08-02T10:44:05 | 2017-09-14T18:28:41 | C++ | UTF-8 | C++ | false | false | 1,343 | hpp | scatter_nd_layer.hpp | #ifndef CAFFE_SCATTER_ND_LAYER_HPP_
#define CAFFE_SCATTER_ND_LAYER_HPP_
#include <vector>
#include "caffe/blob.hpp"
#include "caffe/layer.hpp"
#include "caffe/proto/caffe.pb.h"
namespace caffe {
template <typename Dtype>
class ScatterNDLayer : public Layer<Dtype> {
public:
explicit ScatterNDLayer(const LayerPa... |
5546ca4b74d0c643dd7ced8225b2c8a3a2ff57a7 | 0687f997984b71293ba896862758f46103901b36 | /data_generation/compute_prediction/c_packetprocessing/apps/env/test7.cc | c708d36b5104108159a2cc6f63acfd62188551b3 | [
"Apache-2.0"
] | permissive | XinYao1994/Clara | 28b6ad41428301a49401d60d36d15741857dbbdc | eea38c52beb17600dd325f465a3740f267bab2e5 | refs/heads/master | 2023-08-29T22:01:17.451714 | 2021-11-01T04:08:25 | 2021-11-01T04:08:25 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,321 | cc | test7.cc | /*
yarpgen version 2.0 (build 7edd86d on 2021:04:18)
Seed: 4145813097
Invocation: ./build/yarpgen -n test7
*/
#include <click/config.h>
#include <click/args.hh>
#include <click/glue.hh>
#include <clicknet/ip.h>
#include <clicknet/tcp.h>
#include <clicknet/udp.h>
#include <clicknet/icmp.h>
#include <algorithm>
#include ... |
50463ef9d7c1ca29677af4980089790407f90dbd | 05f024a2efdc5f77dabb31e94259bbf557c67c67 | /week12/src/ofApp.cpp | b167bb554121d6c17964342b626d0e9b2d78a715 | [] | no_license | cocosy/sheny082_dtOF_2018 | 3894440398b3ff863b7d8d60242a1fbfe5435bd2 | 2928c5a6ff6e7ab24d16790fee71d4ca7eb9d59e | refs/heads/master | 2021-08-19T00:43:53.423089 | 2018-12-12T01:40:49 | 2018-12-12T01:40:49 | 146,523,280 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,500 | cpp | ofApp.cpp | #include "ofApp.h"
//--------------------------------------------------------------
void ofApp::setup(){
ofBackground(0);
body.loadModel("woman.obj",true);
body.setPosition(ofGetWidth()/20, (float)ofGetHeight() * -0.3 , 0); //position
// body.setRotation(0, 180, 1, 0, 0); ... |
f78c81ec6ce7c31f596c49b211f917262cc04ef1 | 76bc8a0073fcbf97c53f48984e6ae037a934da90 | /Parcial 2/Proyecto 2 Parcial/Funcion.h | 85dc767792794a36aaec5f717cb05bb20c96f501 | [
"MIT"
] | permissive | Adrian-Garcia/ObjectOrientedProgramming | 1555800490db4e8a581deaed2ecfe9ee11bc2548 | a37f8cfb68a9d2a4067b148ab34232c6d1012438 | refs/heads/master | 2020-04-05T18:52:15.010299 | 2018-11-11T20:25:25 | 2018-11-11T20:25:25 | 157,115,483 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,096 | h | Funcion.h | #include <string>
#include "Hora.h"
using namespace std;
//Clase Funcion de la pelicula
class Funcion {
//Atributos
private:
string sCveFuncion;
int iNumPeli;
Hora hora;
int iSala;
//Metodos
public:
//Constructor default y con parametros
Funcion();
Funcion(string sCveFuncion, ... |
ed006bfaf50badf42add67a76e1784389b0b6daf | e01f56ce91eb3a20707344bb4cb5535848058df8 | /src/validators/claims/listclaimvalidator.cpp | 222cf1afafd62bbf27928d3090a48b9ec46397ce | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | martindederer/jwt-cpp | e613523f1f98de75b0dc41db3821101a9050a779 | eb9f3b5afc43f679c6bdc44196e6d3fc59ac6396 | refs/heads/master | 2021-01-01T18:24:11.740704 | 2017-07-19T23:51:16 | 2017-07-19T23:51:16 | 98,326,940 | 1 | 0 | null | 2017-07-25T16:20:20 | 2017-07-25T16:20:20 | null | UTF-8 | C++ | false | false | 3,040 | cpp | listclaimvalidator.cpp | // Copyright (c) 2015 Erwin Jansen
//
// MIT License
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, including
// without limitation the rights to use, copy, modify... |
057282565ec3a0b51f818df2bb0c55ad106eb661 | 50ffd9891ed0a2c99e216e0f1484815f0cbe9d3c | /src/Astronauta.cpp | 041e2bf3d7bd4f2ff64c7efb9736db5c94e3661b | [] | no_license | KrustyN/Defender1980 | 847dd4ede5320418f88bf4823daf97f0944360f7 | e058233b34b393df13b748f972d4723ac2cea341 | refs/heads/master | 2022-07-02T20:16:46.936722 | 2020-05-15T06:03:16 | 2020-05-15T06:03:16 | 259,112,524 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 118 | cpp | Astronauta.cpp | #include "Astronauta.h"
Astronauta::Astronauta()
{
//ctor
}
Astronauta::~Astronauta()
{
//dtor
}
|
ef8f3b9ece8e61ac6cd16605e6e43c32fdeaed71 | 74482f41ed55fcfd9b0dbde50b7dd245894dcc08 | /SetPass.h | f0389c1aad66b7cc63a14e3d5c4ba37ca0e87290 | [] | no_license | github188/digivideo | a9e487541e3f4ea2a994d0d4d11fdf1f70da8909 | 5de603d07ac4ba4794a724ecdcf699d074fd53ad | refs/heads/master | 2021-01-21T19:20:53.655380 | 2015-01-22T03:24:01 | 2015-01-22T03:24:01 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 450 | h | SetPass.h | #pragma once
// CSetPass 对话框
class CSetPass : public CDialogEx
{
DECLARE_DYNAMIC(CSetPass)
public:
CSetPass(CWnd* pParent = NULL); // 标准构造函数
virtual ~CSetPass();
// 对话框数据
enum { IDD = IDD_A_SETPASS };
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV 支持
DECLARE_MESSAGE_MAP()
publi... |
5c844587ea1d498d44ecd405c4f5fee729c17590 | a07fb51d7d4a9faf30ed7fb7ef811334befd67ba | /06.프로그래밍언어(C++)/7주차/3교시_구조체_공용체/arraystruct.cpp | d81ac7a499de79f97080a497b35cf92bcfe07801 | [] | no_license | Jnkim/CPP | d90955aa0fa42146bc3ad97351e3cfcd5dac517a | af39850190d119cc5ff6eda1ab13aaab1129f7d5 | refs/heads/master | 2023-02-04T15:15:21.902451 | 2020-12-29T18:28:47 | 2020-12-29T18:28:47 | 325,350,916 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 714 | cpp | arraystruct.cpp | #include <iostream>
#include <iomanip>
using namespace std;
struct Student{
char hakbun[11]; // 학번
char name[20]; // 이름
int c; // C교과 점수
int cpp; // C++교과점수
int web; // Web 교과점수
};
int main(){
struct Student student[] = {
{"2020620038" , "김진남" , 88 , 99 , 95 }
,{"2020620039" ... |
0ded2b682b84be98af6dd84b199cac408a3af396 | c279a2fcb56de70f5cac2c8e890f155e177e676e | /Source/Plugins/SubsystemPlugins/BladeGraphics/source/interface_imp/RenderHelper/AABBRenderer.cc | 24bc49cc91a5411865755fd2e76f0bf5b10db50c | [
"MIT"
] | permissive | crazii/blade | b4abacdf36677e41382e95f0eec27d3d3baa20b5 | 7670a6bdf48b91c5e2dd2acd09fb644587407f03 | refs/heads/master | 2021-06-06T08:41:55.603532 | 2021-05-20T11:50:11 | 2021-05-20T11:50:11 | 160,147,322 | 161 | 34 | NOASSERTION | 2019-01-18T03:36:11 | 2018-12-03T07:07:28 | C++ | UTF-8 | C++ | false | false | 3,846 | cc | AABBRenderer.cc | /********************************************************************
created: 2011/05/21
filename: AABBRenderer.cc
author: Crazii
purpose:
*********************************************************************/
#include <BladePCH.h>
#include "AABBRenderer.h"
#include <interface/public/graphics/IGraphicsResourceM... |
a89f231367c219e4f959bfb1a37f6ddecc515fc2 | 5380b60ffee90107f38e815d62263a920276f0d4 | /mm.h | 8f843b3c1045c6936b091a0e3070cd30a1da5d8a | [] | no_license | ennorehling/MemoryManager | 8f3f8f7baa8c01fdec6cc31b8e310bdd344cdd44 | 76439bb87e134a6d058f2772dfe05777e1739aab | refs/heads/master | 2020-05-20T23:11:24.521267 | 2015-06-18T23:08:25 | 2015-06-18T23:08:25 | 37,645,256 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,871 | h | mm.h | #include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <type_traits>
#define INITIAL_SIZE 5
#ifndef _MSC_VER
inline static void fopen_s(FILE **F, const char *filename, const char *options) {
*F = fopen(filename, options);
}
#endif
template< typename T>
struct hasInit
{
template<typename U>
static std... |
a600a4d1eb68ffc30fcdd773735e3109452ffc4f | 87942051269beacf8f2af60c091a384b4cfd23c5 | /Rtp/RtpSend.h | 80f1cdd7405f40aefb057420af9cadecf7cd0d42 | [] | no_license | codeape123/IPTest | a261e655b0702d5388b523f9bc33e04616368ae4 | 93df0a1df6aec33972e0d24ce2c988a9c6a41181 | refs/heads/master | 2020-04-08T02:48:23.888008 | 2018-11-24T18:32:57 | 2018-11-24T18:32:57 | 158,949,670 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 666 | h | RtpSend.h | #pragma once
#include "RtpBase.h"
///
class RTP_EXP CRtpSend : public CRtpBase
{
public:
CRtpSend();
~CRtpSend();
public:
void BeginSend();
void StopSend();
void PushData();
public:
//lparam: 1: clip info
BOOL OnTaskNotify(WPARAM wParam = NULL, LPARAM lParam = NULL);
protected:
HANDLE ... |
9802a198353aa7cdefe9e5c8a30aa4d4f12a0d97 | bf839d1e59fe714e589e3497c4f00104780e1b18 | /debugblock/TopkListGenerator.cpp | 1e2e95e24fb3b9716bb8c7507e7668587d580fb5 | [] | no_license | hanli91/debug_blocking | 9eefb00a53d26b3685948859b80937c644b00b6f | a58b447809d5b87a91a66cd2d9e568d1eedf164d | refs/heads/master | 2021-07-05T13:03:49.473473 | 2017-09-29T21:24:27 | 2017-09-29T21:24:27 | 105,079,277 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,345 | cpp | TopkListGenerator.cpp | #include "TopkListGenerator.h"
TopkListGenerator::TopkListGenerator() {
}
TopkListGenerator::~TopkListGenerator() {
}
double init_topk_list_calc_sim(const vector<int>& ltoken_list, const vector<int>& rtoken_list) {
int overlap = 0;
unordered_set<int> rset;
unsigned long denom = 0;
for (int i = 0; ... |
d531df27745c7cdb69dd87927f5b6f8fb3d3d7a3 | 9030ce2789a58888904d0c50c21591632eddffd7 | /SDK/ARKSurvivalEvolved_Buff_Companion_BaseBP_classes.hpp | a7bd39cf0f059d718cd5603f744c3d055f5df299 | [
"MIT"
] | permissive | 2bite/ARK-SDK | 8ce93f504b2e3bd4f8e7ced184980b13f127b7bf | ce1f4906ccf82ed38518558c0163c4f92f5f7b14 | refs/heads/master | 2022-09-19T06:28:20.076298 | 2022-09-03T17:21:00 | 2022-09-03T17:21:00 | 232,411,353 | 14 | 5 | null | null | null | null | UTF-8 | C++ | false | false | 892 | hpp | ARKSurvivalEvolved_Buff_Companion_BaseBP_classes.hpp | #pragma once
// ARKSurvivalEvolved (332.8) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "ARKSurvivalEvolved_Buff_Companion_BaseBP_structs.hpp"
namespace sdk
{
//---------------------------------------------------------------------------
//Classes
//---------------------------------------------------... |
45b00a9dc8e8dd9a82906301178b13ef8514ae78 | 6b2a8dd202fdce77c971c412717e305e1caaac51 | /solutions_5738606668808192_1/C++/hiaatcnd/c.cpp | c87c755b11d4ed864092ff8e7816a78e6b35fcb6 | [] | no_license | alexandraback/datacollection | 0bc67a9ace00abbc843f4912562f3a064992e0e9 | 076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf | refs/heads/master | 2021-01-24T18:27:24.417992 | 2017-05-23T09:23:38 | 2017-05-23T09:23:38 | 84,313,442 | 2 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 900 | cpp | c.cpp | #include <bits/stdc++.h>
using namespace std;
const int N = 32, M = 500;
const int pri[25] = {2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97};
int a[60];
bool check(){
vector<int> ans;
for(int k = 2; k <= 10; k++){
bool flag = 0;
for(int j = 0; j < 25 && !flag; j++){
int c... |
b9e0eaa7896ed856bd2a8be7f2a0b9616e07cd7e | 169a82b7b07a7d101bcf53ab45ff7fccfa5b801e | /ConfigServer.hpp | 7b57d7caa7896158e554a745b6cc29e27cce70fb | [] | no_license | toastedcode/Roboxes | efd51fa53a1bafb416b45d50761948c3623bbeff | 753a8ef3545402ea7d7cdab247517eba634a3c7b | refs/heads/master | 2021-01-11T16:17:52.080789 | 2017-02-02T04:13:27 | 2017-02-02T04:13:27 | 80,058,794 | 0 | 0 | null | 2017-02-02T04:13:27 | 2017-01-25T21:17:20 | C++ | UTF-8 | C++ | false | false | 241 | hpp | ConfigServer.hpp | #pragma once
#include <ESP8266WebServer.h>
class ConfigServer
{
public:
static void begin();
static void run();
private:
static void handleRoot();
static void handleNotFound();
static ESP8266WebServer server;
};
|
408c69bd02c32f3ed19f14385c5f6f4bc44be707 | 0bf8cdde9562a400fe1604237a658fae5a170982 | /ext/openMVG/dependencies/osi_clp/CoinUtils/src/CoinAlloc.cpp | 120277da0a0ad141b998fa48b1b6a3e1248ed3b1 | [
"LicenseRef-scancode-free-unknown",
"EPL-1.0",
"BSD-3-Clause"
] | permissive | AIBluefisher/EGSfM | 64c2108c037a7e730a81690598022586d6ae90aa | e2e505353cdc525b8e814e0019bd0dc67be75fea | refs/heads/master | 2021-06-19T02:06:22.904219 | 2021-02-28T03:11:14 | 2021-02-28T03:11:14 | 187,424,684 | 91 | 19 | BSD-3-Clause | 2020-03-03T07:33:47 | 2019-05-19T02:20:18 | C++ | UTF-8 | C++ | false | false | 4,524 | cpp | CoinAlloc.cpp | /* $Id: CoinAlloc.cpp 1373 2011-01-03 23:57:44Z lou $ */
// Copyright (C) 2007, International Business Machines
// Corporation and others. All Rights Reserved.
// This code is licensed under the terms of the Eclipse Public License (EPL).
#include <cassert>
#include <cstdlib>
#include <new>
#include "CoinAlloc.hpp"
#... |
675727041a2b719ba2f12021577d9c545a4fdde1 | 1ec58232eb5b7d092b58fffeaf79814992322b2e | /108.cpp | 6a7f325567eb8a640f7ccfaf8d895867bf5d12d2 | [] | no_license | linkouth/acm-univer | f6490911866e07bc6e7343c21a4dd476ebcd3e15 | d9adf9ee7d666a064fc8ee034cf379da6ba1aafa | refs/heads/master | 2020-04-09T06:09:27.941820 | 2019-09-16T04:40:19 | 2019-09-16T04:40:19 | 160,100,708 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,040 | cpp | 108.cpp | #include <iostream>
#include <vector>
using namespace std;
const int INF = INT32_MAX;
int main()
{
int N, M, v1, v2;
cin >> N >> M >> v1 >> v2;
v1--; v2--;
vector < vector < pair<int, int> > > g(N);
for (int i = 0; i < M; ++i) {
int start, end, length;
cin >> start >> end >> length;
start--; end--;
g... |
70902ffd63672bde940f1b42a21b15435224a2c0 | 2944427265e7ac86292a1f0d51b770944656f59a | /mission/sdv.TANOA/dialog/settings.hpp | 2e51c47bbed2bc78119cd8baab43fa0a88218ad8 | [
"CC0-1.0"
] | permissive | PC-Gamercom/pcg_tanoa | 939d0856c9aa2f16ea72771b756bc309b93030c0 | 36df0ebdcb5cc46af61536d9850b5f8c0c15265e | refs/heads/master | 2020-12-19T06:02:41.209072 | 2016-08-09T11:01:00 | 2016-08-09T11:01:00 | 61,654,721 | 14 | 6 | null | null | null | null | UTF-8 | C++ | false | false | 4,724 | hpp | settings.hpp | class SettingsMenu
{
idd = 2900;
name = "SettingsMenu";
movingEnable = 1;
enableSimulation = 1;
class controlsBackground
{
class RscTitleBackground : life_RscText
{
colorBackground[] = {"(profilenamespace getvariable ['GUI_BCG_RGB_R',0.3843])", "(profilenamespace getvariable ['GUI_BCG_RGB_G',0.7019])", "(... |
0220c73925421ab836b0a5fa68f81d7c01162be0 | 5359506484bde1255e15e1a94c1cbabafdda1112 | /src/menu/WaitingMenu.cpp | 3f6f6ac83ad1ba92ad69c6f742417b02899d8579 | [] | no_license | siwon/projetBomberman | 49e59e1470cf259107987696f077ca2fdee379a0 | 38a05ac81c17f3c6f49b8ccfb066b0fd218c374f | refs/heads/master | 2016-09-05T14:35:50.475687 | 2012-06-07T16:11:12 | 2012-06-07T16:11:12 | 3,461,125 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 4,502 | cpp | WaitingMenu.cpp | /*!
* \file WaitingMenu.cpp
* \brief Gestionnaire du menu d'attente de début de partie
* \author Maxime GUIHAL
*/
#include "menu/WaitingMenu.hpp"
#include "PolyBomberApp.hpp"
namespace PolyBomber
{
WaitingMenu::WaitingMenu(SMenuConfig* menuConfig) :
title("Resume de la partie", TITLEFONT, 50),
ip("Adresse IP... |
f78d11d53f90350d4a79c98736729d738ef37004 | b22588340d7925b614a735bbbde1b351ad657ffc | /athena/DetectorDescription/GeoModel/GeoModelKernel/src/GeoVPhysVol.cxx | e1a965ea0c885f3c7be852ed46df34cbaf584612 | [] | no_license | rushioda/PIXELVALID_athena | 90befe12042c1249cbb3655dde1428bb9b9a42ce | 22df23187ef85e9c3120122c8375ea0e7d8ea440 | refs/heads/master | 2020-12-14T22:01:15.365949 | 2020-01-19T03:59:35 | 2020-01-19T03:59:35 | 234,836,993 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,591 | cxx | GeoVPhysVol.cxx | /*
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
*/
//## begin module%1.5%.codegen_version preserve=yes
// Read the documentation to learn more about C++ code generator
// versioning.
//## end module%1.5%.codegen_version
//## begin module%3CD3E93F00F9.cm preserve=no
// %X% %Q% %Z% %W... |
35f02f9437c45b8268a37197fa8e776d7e23f174 | ca892d28aa68a3d7b6ee2a03ba71a6b5ad85f91f | /cpp/cpp/16_ExercicioAvaliacao_3/src/Veiculo.cpp | 436476952852977d1f7c1c147fdc80972b80d381 | [] | no_license | SamuelCarneiroSilveira/College_Classes | 5a0449a598ee06217b6e4b4e940181df820195d0 | 11da3546b1e2c4f2a966775f0672fa0a7c1546c8 | refs/heads/main | 2023-08-25T01:54:15.389105 | 2021-09-28T01:27:53 | 2021-09-28T01:27:53 | 411,095,295 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,604 | cpp | Veiculo.cpp | #include "Veiculo.h"
Veiculo::Veiculo()
{
//ctor
}
Veiculo::~Veiculo()
{
//dtor
}
void Veiculo::setCor(string cor)
{
this->cor = cor;
}
void Veiculo::setAno(int ano)
{
this->ano = ano;
}
void Veiculo::setFabricante(string fabricante)
{
this->fabricante = fabricante;
}
void... |
bdc348b0ac40f28d7e77e6b857e59a96fa218621 | e0548caf7bd8153f8d991b7d7c1bed487402f0bc | /semestr-5/Algorytmy i struktury danych 1/PRO/programy-z-cwiczen/2019/C12/ID03P04/C12_ID03P04_0001/src/Application.cpp | c482981b7b53ae707a6157e7e0238d918ae37425 | [] | no_license | Ch3shireDev/WIT-Zajecia | 58d9ca03617ba07bd25ce439aeeca79533f0bcb6 | 3cd4f7dea6abdf7126c44a1d856ca5b6002813ca | refs/heads/master | 2023-09-01T11:32:12.636305 | 2023-08-28T16:48:03 | 2023-08-28T16:48:03 | 224,985,239 | 19 | 24 | null | 2023-07-02T20:54:18 | 2019-11-30T08:57:27 | C | UTF-8 | C++ | false | false | 1,371 | cpp | Application.cpp | #include "Application.h"
///******************************************************
void Application::Run(){
srand(time(0));
Main05();
}
///******************************************************
void Application::Main01(){
Animal an01("Kajtek");
cout<<an01.AnimalName()<<endl;
}
///****... |
8b24fe6b0e8e8cc251ce38ace26727e15f06d463 | 729141e43e5188aa97569cc66b7016abe26f55aa | /software/arduino/integration/integration.ino | 8ebe4a9204ee2909b1548e8f69de0b1489a77e6b | [] | no_license | opensensinglab/iteration8a | 3da393eea85fd29154a77db3d54147b7e846bb7f | 0e26665fa96f4cb6f95161af33ee7902abdc3046 | refs/heads/master | 2020-07-26T02:11:12.808914 | 2019-09-21T07:37:36 | 2019-09-21T07:37:36 | 208,498,778 | 0 | 0 | null | 2019-10-30T05:59:54 | 2019-09-14T20:19:39 | C++ | UTF-8 | C++ | false | false | 2,001 | ino | integration.ino | #include <Wire.h>
#include <sps30.h>
#include "SPS30Interface.h"
#include "SparkFun_SCD30_Arduino_Library.h"
#include "SensorBuffer.h"
#include "SensorRadiation.h"
SCD30 airSensor; // SCD30 CO2 Sensor
SPS30Interface sps30; // SPS30 Air Particle Sensor
// Radiation Watch Type 5 radiation sensor
SensorB... |
94d4ba978b220d5baaa816b66dfb673d422913b4 | 727c574f0b5d84ae485b852ccf318063cc51772e | /ZOJ/ACM answer/1584_S.CPP | 694f48d69cfd1af1e945b9083f108b5d76ec5293 | [] | no_license | cowtony/ACM | 36cf2202e3878a3dac1f15265ba8f902f9f67ac8 | 307707b2b2a37c58bc2632ef872dfccdee3264ce | refs/heads/master | 2023-09-01T01:21:28.777542 | 2023-08-04T03:10:23 | 2023-08-04T03:10:23 | 245,681,952 | 7 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 2,171 | cpp | 1584_S.CPP | /*
138394 2003-05-02 10:31:49 Wrong Answer 1584 C++ 00:00.00 31<<12K just for play
138430 2003-05-02 11:30:43 Runtime Error SIGSEGV 1584 C++ 00:00.04 392K just for play
138431 2003-05-02 11:32:53 Wrong Answer 1584 C++ 00:00.24 408K just for play
138437 2003-05-02 11:38:21 Accepted 1584 C++ 00:00.24 408K just for pla... |
71a8b03f0dc912a212e1dca11487a9610fe202ad | 655202725f7b5eac7bd45a415b333042cd33ef6b | /Physics/Algorithms.cpp | 39d18bde7965f14e69538deff04cb5ff415eae8a | [] | no_license | BarabasGitHub/DogDealer | 8c6aac914b1dfa54b6e89b0a3727a83d4ab61706 | 41b7d6bdbc6b9c2690695612ff8828f08b1403c7 | refs/heads/master | 2022-12-08T04:25:50.257398 | 2022-11-19T19:31:07 | 2022-11-19T19:31:07 | 121,017,925 | 1 | 2 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 19,158 | cpp | Algorithms.cpp | #include "Algorithms.h"
#include "Movement.h"
#include "Inertia.h"
#include "BodyID.h"
#include "BodyEntityMappingFunctions.h"
#include <Conventions\Velocity.h>
#include <Math\MathFunctions.h>
#include <Math\SSEFloatFunctions.h>
#include <Math\SSEMatrixFunctions.h>
#include <Math\SSEMathConversions.h>
#incl... |
63eeeeeb13566fb2408965edca0d78a68956fc00 | aeeb9442e954f6955dd832637bd4991503c20377 | /src/au_uav_ros/src/planeObject.cpp | aa15ae0ebeee1a9f28f2d483afce47b47d4b5b60 | [] | no_license | Idianale/au_uav_pkg | 8ad46b04c72e320bc58333ae5371ef58188635b9 | e38b06eef33d34c96a2d32ea2f6aed735a0d73d8 | refs/heads/master | 2021-05-31T22:46:18.812867 | 2016-06-07T16:10:25 | 2016-06-07T16:10:25 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,804 | cpp | planeObject.cpp | #include "au_uav_ros/planeObject.h"
using namespace au_uav_ros;
/* Implementation of the default constructor: Member variables are set to zero */
PlaneObject::PlaneObject(void) {
this->id = 0;
this->currentLoc.altitude = 0.0;
this->currentLoc.latitude = 0.0;
this->currentLoc.longitude = 0.0;
this->... |
5a04945e78fd2ec838b65bc1ec1c91005d85c845 | 46bf6fc69231692b467f50eba2299db7f1784ace | /Proj/hfview_facade.cpp | f2e1b2ab62fbf0ca55cd68711334a800ecc56392 | [] | no_license | RabbitChenc/crasherror | 5080c6629659a04721e27a04a5100d982c264ff6 | 2b3c589f00e60fc32b0715d795d6ac5070126113 | refs/heads/master | 2022-09-17T13:19:21.198554 | 2020-06-03T09:03:28 | 2020-06-03T09:03:28 | 269,039,710 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 347 | cpp | hfview_facade.cpp | #include "hfview_facade.h"
#include <QDebug>
//外观类的处理
HFViewFacade::HFViewFacade(QWidget *parent):QWidget(parent)
{
qDebug()<<"控件外观基类的构造函数";
}
HFViewFacade::~HFViewFacade()
{
qDebug()<<"控件外观基类的西沟函数";
}
HFviewFacadeAttrs& HFViewFacade::vistViewAttri()
{
return mViewAttri;
}
|
afd49d3fd02d44e53d417a404d0810a5dca9bb75 | d8ac31ea897f5dee083e0823a78f53d7b61ddd15 | /src/compress/Gststreamercontrl.cpp | a16a52a3e61f62e4c2d5b1d28f954881b3205a9d | [] | no_license | tianxiejack/qr_pro_360pano_main | 51a7974b569747b2baf8d167c3e4aa5c7eeac9b7 | d924573b25e4f316407d6da9a1e90f2dfc38bc85 | refs/heads/master | 2020-06-02T23:46:32.783513 | 2019-11-11T01:49:57 | 2019-11-11T01:49:57 | 191,347,495 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,083 | cpp | Gststreamercontrl.cpp | #include "Gststreamercontrl.hpp"
#include "videorecord.hpp"
#include "Queuebuffer.hpp"
#include "debug.h"
extern int gst_videnc_create(void);
extern int gst_videnc_enable(int bEnable);
extern int gst_shotenc_record(void);
GstreaemerContrl* GstreaemerContrl::instance=NULL;
GstreaemerContrl::GstreaemerContr... |
05a646fa40be353a153e4d82247c1c0c8453f5f7 | 0c6ad83017727a71da52800e5d648eaaa646f43b | /Src/Engine/Public/Base/Allocators/ueFixedBlockAllocator.h | 98c80ec90847567cb7c8171bf801cc1c98168b62 | [] | no_license | macieks/uberengine | 4a7f707d7dad226bed172ecf9173ab72e7c37c71 | 090a5e4cf160da579f2ea46b839ece8e1928c724 | refs/heads/master | 2021-06-06T05:14:16.729673 | 2018-06-20T21:21:43 | 2018-06-20T21:21:43 | 18,791,692 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 559 | h | ueFixedBlockAllocator.h | #ifndef UE_FIXED_BLOCK_ALLOCATOR_H
#define UE_FIXED_BLOCK_ALLOCATOR_H
#include "Base/Containers/ueGenericPool.h"
//! Fixed block size allocator; super fast and zero per-allocation overhead
class ueFixedBlockAllocator : public ueAllocator
{
public:
static ueSize CalcMemReq(ueSize blockSize, u32 numBlocks, ueSize bloc... |
a1d4c4d7b26ec882e563121b4f230cc30f882494 | 9e36aa7bb2abcf133aa53eb965a0096bb9513487 | /11960 - Divisor Game.cpp | d05a9292e3ad45052f42183e1692710bd645ca2a | [] | no_license | Nil0ofar/UVa_Solutions | c260f913e0c723ddfab36119fc002669a8b96b53 | 7cd4e83967a1cc6e49df7ea971ca8fe9e6057fa0 | refs/heads/master | 2023-02-21T13:15:40.432746 | 2021-01-20T16:39:37 | 2021-01-20T16:39:37 | 331,358,652 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,096 | cpp | 11960 - Divisor Game.cpp | #include<bits/stdc++.h>
#include <ext/pb_ds/detail/standard_policies.hpp>
#include <ext/pb_ds/assoc_container.hpp>
#include <ext/pb_ds/tree_policy.hpp>
using namespace std;
using namespace __gnu_pbds;
#define fi first
#define se second
#define ll long long
#define pll pair<ll , ll>
#define pii pair<int , int>
#define... |
3af2912a195d190de589e0832641cca9a095c213 | e8cecef34c5c54b11f6fc007ed21e1e012384bfb | /Chapter15/QueryResult.h | 7af71947131951a404546eebf64d25efb0c8ab81 | [] | no_license | cdh981009/CppPrimer | 1eac8c4bf59467b949892dd401bf1903d1ee80cb | f47c45bb5c0758b0b2dc8a230ad7b2d62891cb86 | refs/heads/master | 2022-11-20T01:35:16.020830 | 2020-07-16T11:56:47 | 2020-07-16T11:56:47 | 259,614,307 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 744 | h | QueryResult.h | #pragma once
#include <iostream>
#include "TextQuery.h"
class QueryResult {
friend std::ostream& operator<<(std::ostream&, const QueryResult&);
public:
using line_no = TextQuery::line_no;
QueryResult(std::string s,
std::shared_ptr<std::set<line_no>> p,
std::shared_ptr<std::vector<std::string>> f):
sough... |
630763997db037e85a0e6a0fbd8d0fa1cf68ab0a | 6d4f619664992a8a752a5e1e82e9ddb46bd805b1 | /SegImage.h | cff3a249ff64cd1e6f8262a44c543e0164f97861 | [] | no_license | Earlvik/ImageSegmentor | 19dfb9e9e75c39a8e5736256a7ccd5a1293c7df3 | 3a1b8174f0c4b07e0aed260e2e258f68abafd181 | refs/heads/master | 2021-01-01T04:50:13.661714 | 2016-05-14T16:31:09 | 2016-05-14T16:31:09 | 58,818,239 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,524 | h | SegImage.h | #pragma once
class SegImage
{
public:
SegImage(int numRows, int numCols, int numSlices, bool init);
~SegImage();
void setVoxel(int x, int y, int z, unsigned char value) const;
unsigned char getVoxel(int x, int y, int z) const;
void getSize(int &x, int &y, int &z) const;
// Get a sub-image
// ulc - upper left c... |
a7faa440da2c8fe1f2283d1e158fb84605c5bd61 | 403c3ac652d9a3cb9dcfe66afad9b0f3027cdbd3 | /codes/Registration.cpp | e9b674d52455574bdf5e8c44c45d82e84e22e258 | [] | no_license | alex10151/seg-reg | e32f7b2b2ce076fc848c66eafa6728229a960ffd | 7eda029980209ea6d010b689c30e11e6e6df46ec | refs/heads/master | 2020-04-07T06:41:51.642235 | 2018-12-03T07:07:47 | 2018-12-03T07:07:47 | 158,147,214 | 0 | 0 | null | 2018-12-03T07:07:48 | 2018-11-19T01:52:42 | C++ | UTF-8 | C++ | false | false | 4,197 | cpp | Registration.cpp | #include"Registration.h"
#include"PreDef.h"
#include"CmdIterationUpdate.h"
#include"RegistrationInterfaceCommand.h"
using namespace predef;
int OptimizeStepPipe(FixedImageType::Pointer fix,MovingImageType::Pointer mov, RegistrationType::Pointer registration)
{
//registration components def
TransformType::Pointer ... |
eda0713e5e9b54aaa48235fc4fdf8eb13ae82f11 | 30e528120996eac586e7276e9474d0a831fc82ad | /src/main.cpp | c7aecd1c827733b9f76c66a8f2653430bd46c7ee | [] | no_license | FotiadisM/ecosystem-simulation | 8c26d38b1d38e2cbf50d679556b540e54e3888d7 | 5faa52a797fd47c0e1dd622698c6faf269dcbd59 | refs/heads/master | 2020-04-22T21:39:49.172980 | 2019-10-17T10:20:22 | 2019-10-17T10:20:22 | 170,680,174 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 516 | cpp | main.cpp | #include <iostream>
#include <cstdlib>
#include <ctime>
#include <string>
#include "../include/classes.h"
using namespace std;
int main(int argc, char const *argv[])
{
string numOfDays;
ecosystem* myEcosystem;
srand((int)time(NULL));
myEcosystem = new ecosystem(10, 180);
// myEcosystem-... |
8a00bed312bc33b71b674a2deccfefb82077ec3c | 2e27b44b1e0ef1e0a7a6b83392481d2094e4dc80 | /automated-tests/src/dali-toolkit/utc-Dali-ToggleButton.cpp | 6d3424ebfd20986b1d34e3a35c6e1c565d80e358 | [
"Apache-2.0",
"BSD-3-Clause"
] | permissive | elishateng/dali-toolkit | 1c3ce96eb204307ed48d2ede853fd2314a472ef8 | 3cc49ee528659b670f46b43be6a9de552f282724 | refs/heads/master | 2023-04-20T01:18:39.054662 | 2021-05-21T09:26:13 | 2021-05-21T09:26:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,473 | cpp | utc-Dali-ToggleButton.cpp | /*
* Copyright (c) 2020 Samsung Electronics Co., Ltd.
*
* 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... |
003a2d2b01086369e43dc56dce9dd6d194f0b7b2 | d687b9cd2e43f7eef4c1c4d8142cd9db1ec1e41e | /10055.cpp | d03c60b2416493ac12a2b0eca7cc98d3314bdd22 | [] | no_license | MehediMubin/UVA-Solutions | 4a1d501d1490b67dd6dfcb8923308a3d14606ab4 | 07a80ee491460f1e2fc3a3d8f134bb1d5fd5684f | refs/heads/master | 2020-06-27T01:24:24.620713 | 2020-02-07T15:32:50 | 2020-02-07T15:32:50 | 199,809,188 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 285 | cpp | 10055.cpp | #include<iostream>
#include<cstdio>
using namespace std;
int main()
{
long long int a, b;
while(scanf("%lld %lld", &a, &b) != EOF){
if(a > b)
cout << (a - b) << endl;
else
cout << (b - a) << endl;
}
return 0;
}
|
35e21390d83522872690e45a5aa0e9ab0c10f07c | c24cd343d2736f15aa4583e3057a9e1a715f9481 | /queue.cpp | d4be8aa974aebd33925e34b1955cf776fe674446 | [] | no_license | blpearson26/COP4534-Project2 | 8e2100e5dad481dc5bc1b5162969fa5ad7b9d8c5 | a1ba1d7bc789c6fdcad2e850c0dea81e7338d801 | refs/heads/main | 2023-07-31T10:29:07.856489 | 2021-10-07T20:18:43 | 2021-10-07T20:18:43 | 412,893,382 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 558 | cpp | queue.cpp | #include "queue.hpp"
Queue::Queue()
{
head = NULL;
tail = NULL;
size = 0;
}
void Queue::PushBack(float data)
{
isEmpty = false;
Customer *newNode = new Customer(data);
if(tail == NULL)
{
tail = head = newNode;
return;
}
tail->nextCust = newNode;
tail = newNode;
++size;
}
Customer Queue::Pop()
{
if(h... |
73facd11733311b4f96d8cce729ffe5471bcbed5 | e7f4c25dc251fd6b74efa7014c3d271724536797 | /src/util/u32lim.h | ad20a3f6944dfd225f50aaea4f215c705c80d72a | [
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-public-domain"
] | permissive | nightlark/re2c | 163cc308e9023b290e08cc82cc704a8ae5b90114 | 96104a652622c63ca2cc0b1d2b1d3dad8c34aae6 | refs/heads/master | 2023-08-08T18:35:31.715463 | 2023-07-21T21:23:56 | 2023-07-21T21:29:45 | 100,122,233 | 1 | 0 | null | 2017-08-12T15:51:24 | 2017-08-12T15:51:24 | null | UTF-8 | C++ | false | false | 1,662 | h | u32lim.h | #ifndef _RE2C_UTIL_U32LIM_
#define _RE2C_UTIL_U32LIM_
#include <stdint.h>
namespace re2c {
// uint32_t truncated to LIMIT. Any overflow (either result of a binary operation or conversion from
// another type) results in LIMIT (LIMIT is a fixpoint).
template<uint32_t LIMIT>
class u32lim_t {
uint32_t value;
ex... |
90556fca86f6ba47ac17fc3ebada1461de2b8a56 | 71cbc64910807ceab826a6c54e0fea8d96104506 | /DBServer/LoongDB.cpp | 8a2374615280c716e79ad82b287a658107e1c2be | [] | no_license | adrianolls/ll | 385580143dfc2365428469a51c220da08bfea8ec | 9c7d480036b1e6f1e3bdffe93b44bd5c70bd944a | refs/heads/master | 2022-12-26T07:06:13.260844 | 2020-09-16T04:36:17 | 2020-09-16T04:36:17 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 45,811 | cpp | LoongDB.cpp | //-------------------------------------------------------------------------------------------------------
// Copyright (c) 2004 TENGWU Entertainment All rights reserved.
// filename: LoongDB.cpp
// author: Sxg
// actor:
// data: 2008-05-12
// last:
// brief: 数据库操作应用层实现
//------------------------------------------------... |
5d304c74819944c4f7275c2b60ff06e6d8ba0046 | 6a66d041994187166eb3ea74762f82bca100aa3c | /src/entities/PhysicalSensor.hpp | 72ed662307b0c35a29cc647b04a6e267a1abbdac | [
"BSD-3-Clause"
] | permissive | TheTosters/Home-Control-Base-Station | 932aca2636d69a93f7f3604dabecd0acf611a51d | c9f33918c3b35f5a0666c9c6d097e9e1313e9e0a | refs/heads/dev | 2021-01-13T13:40:56.842584 | 2017-05-08T08:49:07 | 2017-05-08T08:49:07 | 76,362,550 | 1 | 0 | null | 2017-05-08T08:49:07 | 2016-12-13T13:47:20 | C++ | UTF-8 | C++ | false | false | 3,458 | hpp | PhysicalSensor.hpp | //
// PhysicalSensor.hpp
// HomeControl
//
// Created by Bartłomiej on 30/12/16.
// Copyright © 2016 Imagination Systems. All rights reserved.
//
#ifndef PhysicalSensor_hpp
#define PhysicalSensor_hpp
#include <stdio.h>
#include <string>
#include <vector>
#include <inttypes.h>
#include "entities/Entity.hpp"
#inclu... |
a601d62d6a051a3cf4e6b7bdf49c82d2a49c0965 | 9074ea06744314cf8dce2134872eed0609a3670f | /TD4/Exercice3PileFile/CFile.cpp | c2f773d00c912be064e0953076002ea0ee5eb434 | [] | no_license | Nambrok/IN505_Langages_Avancees | dae474a167999b67d06d8b507a54711634b5486a | 4032b09b42b3da824ccaa03dad5272032c24b2fb | refs/heads/master | 2021-01-13T08:17:59.012758 | 2016-12-13T15:18:23 | 2016-12-13T15:18:23 | 69,956,323 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 325 | cpp | CFile.cpp | using namespace std;
class CFile: public CList{
public:
CFile();
~CFile();
CFile& operator<(int i);
};
CFile& CFile::operator<(int i){
if(tete != NULL){
Noeud* act = tete;
while(act->getNext() != NULL){
act = act->getNext();
}
act->setNext(new Noeud(i));
taille++;
return *this;
... |
c8ad7e2ea247c0fa0aa5607188c84bcd5a1f638d | da9af0a8a815bb11e03ac70f9f0930afb7a173e1 | /code/main.cpp | fa813dc1ab19e53e1bfc46879a9c3546482a2b08 | [] | no_license | zhuxiaoyou2011qp/ChangeDesktopBackground | ad61d17ce9179035ba13e48fec3ca5789841767a | 2fc396005b7b97613f6e3b425ab7f95afe92883e | refs/heads/master | 2020-12-24T18:14:04.515647 | 2017-02-20T12:36:59 | 2017-02-20T12:36:59 | 56,961,181 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 6,939 | cpp | main.cpp | //---------------------------------------------------------------------------
#pragma hdrstop
//---------------------------------------------------------------------------
#include <iostream> //for string
#include <fstream> //for fstream
#include <winsock2.h> //for SOCKET
#include <io.h> //for access
#include "cJSON.... |
48ef50bfe50c6507a24874e87eb4e4d5abb3a985 | 12e2bae461c22579785453f6676cfe375e3de6e2 | /FileSearchUtility/FileSearchUtility.h | 30d482a27e05de59cd332489abbaab148d48ab1b | [
"MIT"
] | permissive | koronabora/FileSearchUtility | 952dab7cee47fd342903ae21e2fbd61ba6120330 | 8e7df67f0f38cb098f278e5f46fb915c41db42be | refs/heads/master | 2021-05-17T15:50:41.947304 | 2020-04-30T08:02:55 | 2020-04-30T08:02:55 | 250,854,629 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,964 | h | FileSearchUtility.h | #pragma once
#include <QtWidgets/QMainWindow>
#include <QPointer>
#include <QPushButton>
#include <QLineEdit>
#include <QGroupBox>
#include <QPlainTextEdit>
#include <QTableView>
#include <QFileDialog>
#include <QTimer>
#include <QColor>
#include "ui_FileSearchUtility.h"
#include "Structs.h"
#include "FilesModel.h"
#... |
6406cfddd2eec863a33bfc6cc80cd1df7f48df67 | 2d361696ad060b82065ee116685aa4bb93d0b701 | /src/gui/packages/pkg_sequence_edit/indexer_app_mode.hpp | 31134cb9f5a3f0ad1bf3b0e99afd99a4cd3237ea | [
"LicenseRef-scancode-public-domain"
] | permissive | AaronNGray/GenomeWorkbench | 5151714257ce73bdfb57aec47ea3c02f941602e0 | 7156b83ec589e0de8f7b0a85699d2a657f3e1c47 | refs/heads/master | 2022-11-16T12:45:40.377330 | 2020-07-10T00:54:19 | 2020-07-10T00:54:19 | 278,501,064 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,357 | hpp | indexer_app_mode.hpp | #ifndef PKG_SEQUENCE_EDIT___INDEXER_APP_MODE__HPP
#define PKG_SEQUENCE_EDIT___INDEXER_APP_MODE__HPP
/* $Id: indexer_app_mode.hpp 39241 2017-08-28 15:44:36Z katargir $
* ===========================================================================
*
* PUBLIC DOMAIN NOTICE
* Natio... |
821a87c1eaba71de0f3868ee98d5286f65ee2588 | 24dec428c42a4835208950cef330016419ce06fc | /src/trienode.hpp | 9d18b374dc88ae648e0e7b31dc0a089b3ef0e524 | [] | no_license | tmager/COMP150-lzw | 7c134ccbdf168e8d9193855463eb0342d24eaec0 | f76c4efb2ad2a63f3bbe24ece08da5c11afe1f53 | refs/heads/master | 2021-01-20T09:55:13.872474 | 2017-05-13T20:22:58 | 2017-05-13T20:22:58 | 90,301,684 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 741 | hpp | trienode.hpp | #include <stdint.h>
#ifndef __TRIENODE_HPP__
#define __TRIENODE_HPP__
#define NCHILDREN (256)
class TrieNode {
public:
TrieNode(uint8_t _sym, uint64_t _code,
uint64_t _data, TrieNode *_parent);
~TrieNode();
uint8_t getSymbol();
uint64_t getCode();
uint64_t getData();
bool isLea... |
87eb646e449df1254155d8fd56de6ddd6f5bbdad | 193f6b964b1a030d1e819ca4932fb2b829e2e41c | /Framework/Render/Material.h | a609aa7e290bb7cae2e975551d7d8f0ae3a86a0a | [] | no_license | fkem79/DX11_Team_HomeSweetHome | cef13f869bee16fb2bbfe401364a2d4293925b2f | 27b5b45ddcaaa407eb7e385f0ac63bdbd75c46e2 | refs/heads/master | 2021-05-18T20:34:29.754175 | 2020-05-10T16:37:20 | 2020-05-10T16:37:20 | 251,392,881 | 1 | 0 | null | 2020-05-08T12:57:25 | 2020-03-30T18:25:32 | C++ | UTF-8 | C++ | false | false | 1,111 | h | Material.h | #pragma once
class Material
{
public:
class MaterialBuffer : public ConstBuffer
{
public:
struct Data
{
Float4 diffuse;
Float4 specular;
Float4 ambient;
}data;
MaterialBuffer() : ConstBuffer(&data, sizeof(Data))
{
data.diffuse = Float4(1, 1, 1, 1);
data.specular = Float4(1, 1, 1, 1);
da... |
7f56baecd426a3e8c88e58224bef8067bebba590 | 0ae19202ccf1aec551a5d875d4a1ee99e891e0d4 | /1.Classes&Inheritance/Hero.cpp | 4f89a2b803502355118cd5ee449e7a96ff66e7c5 | [] | no_license | JamGrif/Computer-Games-Programming-Exercises | 442ad2404d63232f100879bfeef4550f8ea66630 | 5f15e4e2eb38614e4dd8a59c01a6d078de192a15 | refs/heads/master | 2020-07-31T14:38:29.358668 | 2019-10-07T20:41:12 | 2019-10-07T20:41:12 | 210,635,287 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 692 | cpp | Hero.cpp | #include "Hero.h"
Hero::Hero(int x, int y, std::string Name, int Lives)
:Creature(x,y,Name)
{
m_Lives = Lives;
m_Score = 0;
}
void Hero::display()
{
Creature::display();
std::cout << m_Name << " has " << m_Lives << " lives" << std::endl;
//std::cout << m_Name << " score is " << m_Score << std::endl;
}
int Hero... |
101e81d29f73d43bac2c02ec86a221ecd37d6e4f | eda4e88a12782648cab63618865067aa489d89b9 | /CodeSprint2014_Qualification1/4bigger-is-greater-English.cpp | 5df11738496da04e2b67657f7facff4f8266e9e8 | [] | no_license | ajayporwal/Hacker_Rank | bec2fb0d4fe7df3dd79840d9add164e5624a5f9f | 5de607be030fcd1e4098f5fdd502add74eaae41a | refs/heads/master | 2016-09-06T00:28:11.119510 | 2014-09-19T06:26:56 | 2014-09-19T06:26:56 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 383 | cpp | 4bigger-is-greater-English.cpp | /*https://www.hackerrank.com/ajayporwal
www.hackerrank.com/indian__*/
#include <stdio.h>
#include<string.h>
#include<algorithm>
#include<iostream>
using namespace std;
int main() {
int t;
char w[110], z[110];
cin>>t;
while(t--)
{
cin>>w;
strcpy(z,w);
next_permutation(w,w+strlen(w));
if(strcmp(w,z)<=0)
... |
1f7e81023d8861e0b412d88b829e1f173b074375 | e5a2eed530086b4b3772886f1daad8ed6d6b5152 | /projects/app/src/mvc/pokemonstoragemodel.cpp | 9e365e4918ef3bbd6959312384ca6af751b991c0 | [
"Apache-2.0"
] | permissive | junebug12851/pokered-save-editor-2 | f7cf5013652737ef24f0c7a400c6520e4df5f54b | af883fd4c12097d408e1756c7181709cf2b797d8 | refs/heads/master | 2020-06-06T09:17:16.194569 | 2020-03-18T09:45:34 | 2020-03-18T09:45:34 | 192,697,866 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,897 | cpp | pokemonstoragemodel.cpp | /*
* Copyright 2020 June Hanabi
*
* 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 l... |
8550b7786bee06c91a82c774fba96a98645b2abc | abbb664b47373bf0546a02ec2595af0be190c108 | /1-Algorithmic-Toolbox/1.4-divide-and-conquer/assignment/majority_element.cpp | 38171c06becd1e403f773b37018b350c0dc0815d | [] | no_license | mcitoler/data-structures-algorithms | 6f72e5ced4e10b49877969fa4efc3ffb886a7faa | 4dc7160a67570b78a03beae66644b0fa0e46dd7f | refs/heads/master | 2021-10-11T00:48:18.770763 | 2018-05-26T18:30:39 | 2018-05-26T18:30:39 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,507 | cpp | majority_element.cpp | #include <algorithm>
#include <cstdlib>
#include <iostream>
#include <vector>
using std::vector;
int get_count(vector<int> &vec, int x, int lo, int hi) {
int count{0};
for (int i = lo; i <= hi; ++i) {
if (vec[i] == x)
count++;
}
return count;
}
int get_majority_element(vector<int>... |
e34e7a3473aa4e4d3048bea903c36ba8c4d788f1 | 23f988531f6b59d5e2639d14d7c3183a94360cef | /util/util.cpp | 9f0e85b22f8423c52b291319fa3241e675208db6 | [] | no_license | AthallahDzaki/SAMPMobile | 0f883ed25396dca6841f3c2002500c2824efb33c | 165673b0d853ede42a94ec0f09180869809aaa6e | refs/heads/master | 2023-08-01T19:41:05.482866 | 2021-10-01T00:38:32 | 2021-10-01T00:38:32 | 267,602,721 | 20 | 16 | null | null | null | null | UTF-8 | C++ | false | false | 4,618 | cpp | util.cpp | #include "util.h"
uintptr_t FindLibrary(const char* library)
{
char filename[0xFF] = {0},
buffer[2048] = {0};
FILE *fp = 0;
uintptr_t address = 0;
sprintf( filename, "/proc/%d/maps", getpid() );
fp = fopen( filename, "rt" );
if(fp == 0)
{
Log("ERROR: can't open file %s", filen... |
22023ad18f2f4616ecc8765262c849abe6108794 | 5d513922371951e68767dbd0a89b92dcd2f7ecdf | /solution242.cpp | 616bff4d4d166067e16a5721fbb944d2ec99185f | [] | no_license | lazur5566/Leetcode | 2f7809e8d554f429b7824d183f57fd6523544110 | 08a227fb3ea35c61a42d7e5bc698acd329d0bd29 | refs/heads/master | 2020-03-22T00:17:29.094869 | 2018-09-20T03:01:08 | 2018-09-20T03:01:08 | 139,235,644 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 754 | cpp | solution242.cpp | //
// solution242.cpp
// LEETCODE
//
// Created by lazur on 2018/4/8.
// Copyright © 2018年 lazur. All rights reserved.
//
#include <stdio.h>
#include <vector>
#include <string>
class Solution242 {
public:
bool isAnagram(std::string s, std::string t) {
if(s.size()!=t.size())
{
return... |
d29c23739429cadb3601eaa4fe0ae70ec626d25e | f82349a360e808e0f139d3c688afc38dd6d356bf | /Prism.Engine/include/Renderer/Graphics/VertexArrayObject.h | 256f139ee1ff37be865e6637e6776e87921fbbe0 | [] | no_license | Vinno97/prism | 7f71cf27d37d4e993dc1c530be349e855ecb362e | 7207e67d2331fba5096996d6d85b9b5e3bc79b8c | refs/heads/master | 2020-03-28T03:44:39.231736 | 2018-12-19T23:21:18 | 2018-12-19T23:21:18 | 147,668,071 | 2 | 1 | null | 2018-12-19T23:21:19 | 2018-09-06T12:10:47 | C | UTF-8 | C++ | false | false | 1,198 | h | VertexArrayObject.h | #pragma once
#include <glm/glm.hpp>
#include <SDL2/SDL_opengl.h>
#include "Renderer/Graphics/VertexBuffer.h"
#include <iostream>
#include <memory>
namespace Renderer {
namespace Graphics {
class VertexArrayObject
{
public:
VertexArrayObject()=default;
/// <summary>
/// adds a vertexbuffer to the VAO. ... |
3d2c6a00e6768899cddc498850b5a719d8640ab3 | 97086e933088f069c92a53443e63585be06a1630 | /source/details/settings.cpp | 807e6c71177e20f65a31d92ecf5de496f454b790 | [] | no_license | light0222/BotUI | 20e1f9668f420680840356d6b8d9a1709e31189a | 9b8e2b5dc7eaf0b2d1d428f51b4951ad0df56969 | refs/heads/master | 2021-08-19T08:26:14.743472 | 2017-11-25T13:21:31 | 2017-11-25T13:21:31 | 112,004,483 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 245 | cpp | settings.cpp | #include "details/settings.hh"
#include "ui_settings.h"
DetailsSettings::DetailsSettings(QWidget *parent) :
QWidget(parent),
ui(new Ui::DetailsSettings)
{
ui->setupUi(this);
}
DetailsSettings::~DetailsSettings()
{
delete ui;
}
|
f77f19abfdb7add665274d354bff19edb6a0b283 | 88bcc2419c678a156c444a1f93b9993e1e1d9760 | /include/experimental/kernel/mha_core_attention/mha_core_attn.hpp | 780b95f8c2970443bdcc9ebbe0e7a21d4a57ec41 | [
"Apache-2.0",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | intel/xetla | e2014e6ca1cae37e4092f83923791226a1936093 | d644c2144590adcfe9b1aca206da35a408db3506 | refs/heads/main | 2023-08-30T23:54:16.063035 | 2023-08-28T08:01:59 | 2023-08-28T08:01:59 | 627,110,514 | 34 | 5 | Apache-2.0 | 2023-09-11T06:05:49 | 2023-04-12T20:02:17 | C++ | UTF-8 | C++ | false | false | 85,350 | hpp | mha_core_attn.hpp | /*******************************************************************************
* Copyright (c) 2022-2023 Intel Corporation
*
* 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... |
be7eecd0c1a853f9f68cafd318b50e93d063f2cc | 0306b7dcdfb1c9b7f7f620425771957b68cd76fc | /syscall/write_syscall.cpp | 86f50acf98f746665a772dadd2948c66364160c8 | [] | no_license | golsana7/test-for-skua | 3db6893312b924360f07ed10f272738c4232b92a | 23587fbbed3436afb95c7cc767423e1522b4c0af | refs/heads/master | 2020-06-04T15:47:11.916832 | 2019-07-08T16:14:42 | 2019-07-08T16:14:42 | 192,089,172 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,036 | cpp | write_syscall.cpp |
// C program to illustrate
// write system Call
#include <fcntl.h>
#include <iostream>
#include <unistd.h>
#include <time.h>
//asm volatile
#include <stdio.h>
#include <inttypes.h>
#include <stdlib.h>
//gettimeofday
#include <bits/stdc++.h>
#include <sys/time.h>
using namespace std;
main()
{
int sz;
uns... |
664c046511f38b17f86695508978982526a48059 | d13087f57817c024176920f3513188a16d5214cc | /src/plane_detection.cpp | 281691ae938a121262a0715d16e4b5614c81f09d | [] | no_license | RhysMcK/Beam-Detector | b99e4c6748f0f49879ff7dc974088f4f6921fed0 | 3db8ed4d81c58ad28c7791b00fa355fb76cf2b89 | refs/heads/master | 2020-04-04T21:31:03.681504 | 2018-11-12T07:33:26 | 2018-11-12T07:33:26 | 156,289,061 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,706 | cpp | plane_detection.cpp | #include <cstdlib>
#include <ctime>
#include <string>
#include <iostream>
#include <pcl/console/parse.h>
#include <pcl/filters/extract_indices.h>
#include <pcl/io/pcd_io.h>
#include <pcl/point_types.h>
#include <pcl/sample_consensus/ransac.h>
#include <pcl/sample_consensus/sac_model_plane.h>
#include <pcl/sample_consen... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.