blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 4 201 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 7 100 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 260
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 11.4k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 17
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 80
values | src_encoding stringclasses 28
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 8 9.86M | extension stringclasses 52
values | content stringlengths 8 9.86M | authors listlengths 1 1 | author stringlengths 0 119 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
afe1c9ad7dc54b17ad6ec0344f4577789c8950cc | f77f105963cd6447d0f392b9ee7d923315a82ac6 | /Box2DandOgre/source/HoltStateInAir.cpp | 19ac8236965d16cface25aab4032e4e583b70fde | [] | no_license | GKimGames/parkerandholt | 8bb2b481aff14cf70a7a769974bc2bb683d74783 | 544f7afa462c5a25c044445ca9ead49244c95d3c | refs/heads/master | 2016-08-07T21:03:32.167272 | 2010-08-26T03:01:35 | 2010-08-26T03:01:35 | 32,834,451 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,707 | cpp |
/*=============================================================================
HoltStateInAir.cpp
State for Holt on the ground.
=============================================================================*/
#include "HoltStateInAir.h"
#include "HoltStateOnGround.h"
#include "Holt.h"
#include "Messa... | [
"Kaziks@34afb35a-be5b-11de-bb5c-85734917f5ce"
] | Kaziks@34afb35a-be5b-11de-bb5c-85734917f5ce |
e1fe29d79ea1036127962c195abe3d8c3d6e80d9 | 280e2ca15259066633a39ed20b04d0f70e21a96e | /external/pysoundtouch14/libsoundtouch/RateTransposer.cpp | 26fa50c70bea54481b05d48af9c9e4f44585e50b | [] | no_license | psobot/remix | fb0525519975a2d0f9e36a6ff6278fbbbcc66042 | 2de483fd08c2760323b5abd82f695467d4f4d8a0 | refs/heads/master | 2021-01-18T02:59:12.247861 | 2013-01-15T06:58:00 | 2013-01-15T06:58:00 | 2,263,107 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 18,059 | cpp | ////////////////////////////////////////////////////////////////////////////////
///
/// Sample rate transposer. Changes sample rate by using linear interpolation
/// together with anti-alias filtering (first order interpolation with anti-
/// alias filtering should be quite adequate for this application)
///
/... | [
"brian@echonest.com"
] | brian@echonest.com |
7bc7a3d423f950632cc0ac7cd33948c6960235dc | 0460cb3ce6febc094baa7a4cafb81e8b4eb2c27a | /dependencies/czPlatform/source/czPlatform/czSharedFlag.h | b3f20d37a4f9376676c466c7637d4bd0eb7f0ee5 | [] | no_license | funZX/nutcracker | 1cf029ac907c7fc20fc7fa11a1740f075ec92ce0 | d8e4c4e6556ef0634b3fd98b6a714005f0ff53b6 | refs/heads/master | 2020-05-30T15:52:27.087863 | 2019-06-02T16:36:24 | 2019-06-02T16:36:24 | 189,830,679 | 2 | 0 | null | 2019-06-02T10:02:37 | 2019-06-02T10:02:36 | null | UTF-8 | C++ | false | false | 1,362 | h | /********************************************************************
CrazyGaze (http://www.crazygaze.com)
Author : Rui Figueira
Email : rui@crazygaze.com
purpose:
*********************************************************************/
#pragma once
#include <memory>
namespace cz
{
class Shared... | [
"ruimvfigueira@gmail.com"
] | ruimvfigueira@gmail.com |
e7f9e6676556f9b837c79c57e7bf74da79cf200c | 0ed6208e908df7259f058b1944ea439675cb876e | /staffGovSystem/source/manager.cpp | e03f378c84956b0673ce6b0226efdbf98345c124 | [] | no_license | kuntung/cppStudy | 01d884399500831cbde09c26d7ee0a1977f93e42 | e84de98cea85fc8235de681c64479fa8bc936ff5 | refs/heads/main | 2023-02-18T17:22:25.868879 | 2021-01-22T12:23:06 | 2021-01-22T12:23:06 | 297,596,228 | 1 | 0 | null | 2020-10-05T09:33:05 | 2020-09-22T09:14:28 | Jupyter Notebook | GB18030 | C++ | false | false | 622 | cpp | //
// Created by tangkun on 2020/12/26.
//
#include "header/manager.h"
void Manager::show_info() {
cout<<"职工编号为:"<<this->m_id
<<"\t职工姓名:"<<this->m_name
<<"\t岗位:"<<this->get_deptName()
<<"\t岗位职责:"<<this->get_workType()<<endl;
}
Manager::Manager(int id, string name, int dId) {
this->m... | [
"loveus3512_korol@163.com"
] | loveus3512_korol@163.com |
f124ad71b16a67a3523f8a1eca12b2414d58479e | 9cefd684e459400b4bae450d7502443f68c48338 | /character.h | be19dc8931b0bdf5b9b53df52982cc06ea4ffe7a | [] | no_license | ashmit-khadka/Game-Engine-Arrow-Shooter-Cpp-OpenGL- | 38fc8edcbeb2a287b09eb2f90881cc9907428520 | 63b4d17e4f82232e8418ff1f5ae24b9cd3772aea | refs/heads/master | 2023-01-03T20:33:10.771026 | 2020-11-04T22:36:29 | 2020-11-04T22:36:29 | 310,125,087 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 505 | h | #pragma once
#include "texture.h"
class Character {
public:
enum Sprite { left, right, jump, fall };
GLfloat posX;
GLfloat posY;
int size;
int health;
int movementSpeed;
GLfloat velocity;
bool dead, gravityActive = false;
int deathAnimation;
GLfloat getPosX() {
return posX;
}
GLfloat getPosY() {
retu... | [
"a0khadka@gmail.com"
] | a0khadka@gmail.com |
0f5e4022cb02f98795d17a17e52bbfe268748e60 | 908b105f8ed1c55e7e55c75eaeac58e7fc012122 | /显示左键按下和抬起/显示左键按下和抬起/显示左键按下和抬起Doc.cpp | a5de876bc66bffe10c66e50c0e4e2e5c430ad0fa | [] | no_license | GXNU-luofeng/MFC | 26dcd4fa034e5f14d78d9cb594aa08a0ed667dec | 8e0cdfe5be45717b9d8be66794419ff53fecd8eb | refs/heads/master | 2021-05-16T21:13:15.628336 | 2020-06-12T10:56:08 | 2020-06-12T10:56:08 | 250,469,113 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 2,991 | cpp |
// 显示左键按下和抬起Doc.cpp : C显示左键按下和抬起Doc 类的实现
//
#include "stdafx.h"
// SHARED_HANDLERS 可以在实现预览、缩略图和搜索筛选器句柄的
// ATL 项目中进行定义,并允许与该项目共享文档代码。
#ifndef SHARED_HANDLERS
#include "显示左键按下和抬起.h"
#endif
#include "显示左键按下和抬起Doc.h"
#include <propkey.h>
#ifdef _DEBUG
#define new DEBUG_NEW
#endif
// C显示左键按下和抬起Doc
IMPLEMENT_DYNCREAT... | [
"1441834346@qq.com"
] | 1441834346@qq.com |
a98b6db648e27250edcd124d9548371ac76559f8 | 3651c7cf09fb909ee5801dd86db89e6cc46843e9 | /mbed-os/features/cellular/framework/AT/AT_CellularStack.cpp | a1410fd02779f7ef9f308fd0907865d37f6b8f34 | [
"Apache-2.0",
"BSD-3-Clause",
"MIT",
"LicenseRef-scancode-public-domain",
"BSD-2-Clause",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | bigw00d/mbed-ps2-controller-host | cef63076a1d5339e18f8a850c1ff1d5ddc9ada11 | 6d67bdf25603cb3e59047fb600ffe1fc44f56a17 | refs/heads/master | 2021-08-26T05:59:34.401405 | 2020-04-07T13:04:51 | 2020-04-07T13:04:51 | 253,772,376 | 0 | 0 | Apache-2.0 | 2021-08-09T20:52:44 | 2020-04-07T11:24:26 | C | UTF-8 | C++ | false | false | 11,507 | cpp | /*
* Copyright (c) 2017, Arm Limited and affiliates.
* SPDX-License-Identifier: Apache-2.0
*
* 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/LICEN... | [
"daiking_tensai@yahoo.co.jp"
] | daiking_tensai@yahoo.co.jp |
65cef77918435881880c6f44a276ee1d02d9e69e | 18e721e79b002c99ef684c39d977cce06fe523dc | /src/ConEmuCD/Actions.cpp | 34d8ad1389b225a4daff13779e924948427695ba | [
"BSD-3-Clause"
] | permissive | lkisac/ConEmu | 71ae64b7c539021e07a540a49f6f13ea06788af3 | 694d71c27f83628e65d2fbbb54c4f2c94547933f | refs/heads/master | 2021-01-19T20:45:36.106700 | 2017-04-03T10:16:50 | 2017-04-03T10:16:50 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 31,649 | cpp |
/*
Copyright (c) 2016-2017 Maximus5
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 and the followin... | [
"ConEmu.Maximus5@gmail.com"
] | ConEmu.Maximus5@gmail.com |
b522fe665ffffd5cf55df36948cd46e0383fc237 | 61d2c90145d6c4acf4d3ea64f266a6e77d6a35bf | /example/src/ofApp.h | 14213ea1a11f72cb42fd307a3dd16c76da4ca85f | [] | no_license | themancalledjakob/ofxSpriteSheetRenderer | 5b35d9a6b5f512be8c21c3e9c2845c48fa14ebeb | 622a295d744deccde5c5a230bdd19ed0ca6a61c9 | refs/heads/master | 2020-06-28T16:27:45.514193 | 2019-08-02T18:54:39 | 2019-08-02T18:54:39 | 200,282,365 | 0 | 0 | null | 2019-08-02T18:42:40 | 2019-08-02T18:42:40 | null | UTF-8 | C++ | false | false | 2,489 | h | #ifndef _OF_APP
#define _OF_APP
#include "ofMain.h"
#include "ofxSpriteSheetRenderer.h"
//create a new animation. This could be done optinally in your code andnot as a static, just by saying animation_t walkAnimation; walkAnimation.index =0, walkAnimation.frame=0 etc. I find this method the easiest though
static an... | [
"bornbreaker@gmx.de"
] | bornbreaker@gmx.de |
944c00112f2c1c5d5bb95c13f957fb510edcfbd9 | ed5669151a0ebe6bcc8c4b08fc6cde6481803d15 | /test/magma-1.6.0/sparse-iter/control/magma_smlumerge.cpp | 81445bced493c33604d2037476ae3c9e0c335eea | [] | no_license | JieyangChen7/DVFS-MAGMA | 1c36344bff29eeb0ce32736cadc921ff030225d4 | e7b83fe3a51ddf2cad0bed1d88a63f683b006f54 | refs/heads/master | 2021-09-26T09:11:28.772048 | 2018-05-27T01:45:43 | 2018-05-27T01:45:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,694 | cpp | /*
-- MAGMA (version 1.6.0) --
Univ. of Tennessee, Knoxville
Univ. of California, Berkeley
Univ. of Colorado, Denver
@date November 2014
@generated from magma_zmlumerge.cpp normal z -> s, Sat Nov 15 19:54:23 2014
@author Hartwig Anzt
*/
#include "magma_lapack.h"
#include ... | [
"cjy7117@gmail.com"
] | cjy7117@gmail.com |
dc86054e3c053b6ec4def3a031806427ae2042f9 | 9b72464c8df2a328ccf457c701625967603061e3 | /21. Scope/scope.cpp | bd3af950c8117bdc1759d29c923933d67f06c5d5 | [] | no_license | Hanivan/Program-cpp-dasar | a076784de7a695a30a47e3e90512b56a892b24d5 | 1a7a015c0d6dace06abefac2938f1c3a2ed98af5 | refs/heads/master | 2022-11-15T23:44:21.445421 | 2020-06-14T06:27:51 | 2020-06-14T06:27:51 | 272,142,624 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,035 | cpp | #include <iostream>
using namespace std;
// global scope
int x = 10; // variabel global
int ambilGLobal(){
return x; // mengambil variabel global
}
int xLocal(){
int x = 5; // variabel local scope xLocal
return x;
}
int main(){
cout << "1. Variabel Global: " << x << endl;
// local
int x... | [
"noreply@github.com"
] | noreply@github.com |
cab0ea0894404bff6d1ad521eae4cbcc2a5f787e | 64a1533f4541b76181cd6d3cec3b28876c969250 | /LADS/LabsForms/frmSessionList.cpp | 1bd7f6bffd4c1f1da5cf289799945eda1df91979 | [] | no_license | drkvogel/retrasst | df1db3330115f6e2eea7afdb869e070a28c1cae8 | ee952fe39cf1a00998b00a09ca361fc7c83fa336 | refs/heads/master | 2020-05-16T22:53:26.565996 | 2014-08-01T16:52:16 | 2014-08-01T16:52:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,527 | cpp | /*---------------------------------------------------------------------------
*
* 16 April 09, NG: Guess session end for single audit trail entry
* 26 May 2009, NG: Move into shared library; provide callback
*
*--------------------------------------------------------------------------*/
#include ... | [
"chrisjbird@gmail.com"
] | chrisjbird@gmail.com |
70b55ef265028e9507e8d5d7c1233610523d59df | a834b70f74642e869d06bd9f2c37ea6070bf48f2 | /compile_failed_test/tp2.cpp | 78f2d076c8738c4df4a6019035c1a4b18088b02d | [
"MIT"
] | permissive | scisxuepeng/sslink | f18ac1fe437fbc3574c4604ea90386c10fd8365a | 29fa9eb96aa9a55cf9c09f47d8b5a739c85a55db | refs/heads/master | 2021-01-21T06:39:52.875454 | 2017-02-27T05:01:51 | 2017-02-27T05:01:51 | 83,269,766 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,379 | cpp | /***********************************************
The MIT License (MIT)
Copyright (c) 2012 Athrun Arthur <athrunarthur@gmail.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 the Software without restrictio... | [
"xuepeng.fan@whova.com"
] | xuepeng.fan@whova.com |
f3c31583d441b1f12a8010788e729fae48b1731f | 3bd7d50c9f1c13ea60a37f5212483022f4c85bfb | /01/main.cpp | 670e5193dc91dd3799883531aea57c01c5be8464 | [] | no_license | RomanovaDI/msu_spring_2019 | 685ce6c832ce12d456d68828a540d06ffdf5a7f7 | 49d07b5938a757bcfc1af8dc15dfee028112d5a1 | refs/heads/master | 2020-04-28T23:40:49.184406 | 2019-03-24T18:50:35 | 2019-03-24T18:50:35 | 175,665,247 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 989 | cpp | #include "numbers.dat"
#include <iostream>
using namespace std;
#define MAX 100000
int isPrimeNumber(int n)
{
if (n < 2) return 0;
if (n == 2) return 1; // 2 - простое
if (n % 2 == 0) return 0; // четное -> не простое
int d = 3; // начальный делитель
while (d * d <= n) {
if (n % d == 0) return 0;
d += 2; //... | [
"romanovadi@gmail.com"
] | romanovadi@gmail.com |
c232e0429288fb14763d5978194208664f89064d | 5175bd24b43d8db699341997df5fecf21cc7afc1 | /libs/asio/test/properties/cpp14/can_prefer_not_preferable_member_prefer.cpp | 73312add76e6beb81d7149b7ca0689e527afce79 | [
"BSL-1.0",
"LicenseRef-scancode-proprietary-license"
] | permissive | quinoacomputing/Boost | 59d1dc5ce41f94bbd9575a5f5d7a05e2b0c957bf | 8b552d32489ff6a236bc21a5cf2c83a2b933e8f1 | refs/heads/master | 2023-07-13T08:03:53.949858 | 2023-06-28T20:18:05 | 2023-06-28T20:18:05 | 38,334,936 | 0 | 0 | BSL-1.0 | 2018-04-02T14:17:23 | 2015-06-30T21:50:37 | C++ | UTF-8 | C++ | false | false | 1,192 | cpp | //
// cpp14/can_prefer_not_preferable_member_prefer.cpp
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
//
// Copyright (c) 2003-2021 Christopher M. Kohlhoff (chris at kohlhoff dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.... | [
"apandare@lanl.gov"
] | apandare@lanl.gov |
328bd183a2e13046c2105b73320bc0347546db7c | c322776b39fd9a7cd993f483a5384b700b0c520e | /glslopt.mod/glslopt/src/glsl/ir_variable_refcount.cpp | 951682c13019802c67d888ff09883c8fdffd82ae | [
"MIT"
] | permissive | maxmods/bah.mod | c1af2b009c9f0c41150000aeae3263952787c889 | 6b7b7cb2565820c287eaff049071dba8588b70f7 | refs/heads/master | 2023-04-13T10:12:43.196598 | 2023-04-04T20:54:11 | 2023-04-04T20:54:11 | 14,444,179 | 28 | 26 | null | 2021-11-01T06:50:06 | 2013-11-16T08:29:27 | C++ | UTF-8 | C++ | false | false | 4,131 | cpp | /*
* Copyright © 2010 Intel Corporation
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* the rights to use, copy, modify, merge, pub... | [
"woollybah@b77917fb-863c-0410-9a43-030a88dac9d3"
] | woollybah@b77917fb-863c-0410-9a43-030a88dac9d3 |
019e8b13bf4d6dcb3500cb410484deff7c3bf3b6 | aa333e18ea3a527bf75e96666af5d9287d144ac2 | /WIFI/TridentTD_Linenotify-3.0.3/TridentTD_Linenotify-3.0.3/src/TridentTD_LineNotify.h | 55f49c5b3e01b0c3515cc9e40ee947c8450b6e34 | [
"MIT"
] | permissive | japoka410666/NCKU_Intelligent_manager_for_vehicles | 458775323c562026df9c9dfa0407ca0810ecd430 | ec914e4e1dfa953c04b2a483cb85b42282da09c0 | refs/heads/main | 2023-06-30T11:30:24.014086 | 2021-07-25T14:46:00 | 2021-07-25T14:46:00 | 371,681,413 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 4,674 | h | /*
[TridentTD] : TridentTD's Esp8266, ESP32 IoT Library
TridentTD_LineNotify.h - A simple way to send LINE NOTIFY
Version 1.0 03/04/2560 Buddhism Era (2017) by TridentTD
Version 1.1 15/02/2561 Buddhism Era (2018) by TridentTD
Version 2.0 17/04/2561 Buddhism Era (2018) add notifySticker() and notifyP... | [
"noreply@github.com"
] | noreply@github.com |
01b8474d6bdf18f6183718bbc26f5a6efeb7a7f7 | 7045bb4f95ada6e1669a3cd9520681b7e548c319 | /Meijer/Source/AfxTransBroker/IOLib/IOLibDeviceMgr.h | 3427ea028a2ba70cc40c0457f01904b81c29738a | [] | no_license | co185057/MeijerTESTSVN | 0ffe207db43c8e881fdbad66c1c058e25fe451f5 | 3a3df97b2decc1a04e6efe7c8ab74eff5409f39f | refs/heads/master | 2023-05-30T00:19:36.524059 | 2021-06-10T08:41:31 | 2021-06-10T08:41:31 | 375,576,064 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,449 | h | /////////////////////////////////////////////////////////////////////
//
// IOLibDeviceManager
// --------------------
// Devices use I/O completion ports for communication, making the architecture
// scalable to a large amount of devices. The CIOLib, CIOLibDeviceMgr,
// CIOLibDevice and IOLibxxxDevice classes a... | [
"co185057@ncr.com"
] | co185057@ncr.com |
8f70e3372fdd7c896b4bb603e1d44b86412c43d4 | 12676cc44aeaf7ae604fdd7d3319052af7d0fbf2 | /uva00679.cpp | f407dad45aebd9ae46b9f68e6bbbfc9a11f72522 | [] | no_license | BIT-zhaoyang/competitive_programming | e42a50ae88fdd37b085cfaf64285bfd50ef0fbbc | a037dd40fd5665f3248dc9c6ff3254c7ab2addb2 | refs/heads/master | 2021-04-19T00:02:12.570233 | 2018-09-01T11:59:44 | 2018-09-01T11:59:44 | 51,271,209 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,450 | cpp | #include <bits/stdc++.h>
#define _ ios_base::sync_with_stdio(0), cin.tie(0), cout.tie(0), cout.precision(15);
using namespace std;
int main(){ _
int tc; cin >> tc;
while(tc--){
int D, I; cin >> D >> I;
// same idea but runs slow
// find the path consisting of the status of the nodes ... | [
"bit.zhaoyang512@gmail.com"
] | bit.zhaoyang512@gmail.com |
cfe0511e57e8e18a48ab70aabb8244e2c486dbeb | 155e12d1b6e8cacd27d8bd773b592876d8cd9829 | /UsualEngineR/Graphics/Raytracing/BLASBuffer.cpp | adca20ee487120125d00227a28d958f28a41b40b | [] | no_license | kokoasann/UsualEngineR | dd6606f72b719ea1e3d684bde59af90f2a981280 | cf803f96c3520bd485282c680be29f5248737b26 | refs/heads/master | 2023-03-07T12:18:52.795038 | 2021-02-25T17:21:59 | 2021-02-25T17:21:59 | 291,441,353 | 0 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 1,995 | cpp | #include "PreCompile.h"
#include "BLASBuffer.h"
namespace UER
{
namespace raytracing {
void BLASBuffer::Init(RenderContext& rc, const std::vector<InstancePtr>& instances)
{
for (auto& instance : instances) {
D3D12_BUILD_RAYTRACING_ACCELERATION_STRUCTURE_INPUTS inputs = {};
inputs.DescsLayout = D3D1... | [
"kokoasann@gmail.com"
] | kokoasann@gmail.com |
b54b662828b01596ce340cdae84b035285be8ef9 | 2f4789ff9ea1e2894a9e86e1116f67bc94e390cb | /S1_CPP/15_decimal_to_binary.cpp | 3202bd3d699c5122c108d30eb77b240887a90721 | [] | no_license | varunkverma/cpp_code | a0e2e1183f38ba7c7ed493c6159cce1d55fa8b7b | 74291cb0db640254f3fafef5091d6275550cccf6 | refs/heads/master | 2022-11-23T08:46:54.442468 | 2020-07-28T11:43:54 | 2020-07-28T11:43:54 | 272,623,790 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 572 | cpp | #include <iostream>
#include <algorithm>
using namespace std;
string convert_decimal_to_binary(long long int deci)
{
string bin;
while (deci)
{
bin += (char)((deci & 1) + '0');
deci >>= 1;
}
reverse(bin.begin(), bin.end());
return bin;
}
int main()
{
int num1 = 7;
int n... | [
"varunkverma1996@gmail.com"
] | varunkverma1996@gmail.com |
cfdd5bce43bb821a624822b894d45f9b7e19c8f9 | 687bccfa22d3f0b184bc04b8a4ba4b4b2d5e7a24 | /include/agf/renderer/light/PointLight.h | 34b380f4b89d898094868eb154472bb1d2f04097 | [] | no_license | wilkss/another-game-framework | 589d9c81c57be5aac77df997c90f941e0cd54c2e | 286b17827c4ee6ee9b795beb77d31e242720e144 | refs/heads/master | 2020-04-14T13:57:16.490478 | 2019-01-02T19:58:07 | 2019-01-02T19:58:07 | 163,883,554 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,007 | h | #pragma once
#include "agf/renderer/light/Light.h"
namespace agf {
struct Attenuation
{
float constant;
float linear;
float quadratic;
};
class Framebuffer;
class PointLight : public Light
{
public:
PointLight(const glm::vec3& color, unsigned shadowMapSize, const Attenuation& attenuation);
~PointL... | [
"stephenwilks213@gmail.com"
] | stephenwilks213@gmail.com |
2519a75cd96ce2b92107fb539727e6a871f8ff24 | daa1e2490c3db49d3a60ebbc24e6823569ef7536 | /examples/tutorial/tutorial02.cpp | 53e05d50865f60b722b414d55dbd63e91597874f | [
"BSD-3-Clause"
] | permissive | harold-b/daScript | f3d3223277c81ab627da313a8ba9e4e312316a8d | 7bbc63e064ee9fee2159f2ef8e7163262eeb89e4 | refs/heads/master | 2023-02-16T01:53:59.794703 | 2021-01-04T19:49:05 | 2021-01-04T19:49:05 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,186 | cpp | #include "daScript/daScript.h"
#include "msvc32.inc"
using namespace das;
// function, which we are going to expose to daScript
float xmadd ( float a, float b, float c, float d ) {
return a*b + c*d;
}
// making custom builtin module
class Module_Tutorial02 : public Module {
public:
Module_Tutorial02() : Modu... | [
"bbatkin@gmail.com"
] | bbatkin@gmail.com |
e95edfb031db610400d9419a2a72d8a5c093af22 | 04f9d6828588293522ce83fabcf56066fa0bb9a4 | /mbed-iot-devkit-sdk/libraries/WiFi/src/AZ3166WiFiClient.cpp | 9839cf8f9a77d097b55919596bbf0f2cf117937e | [
"MIT"
] | permissive | badsaarow/mxchip_az3166_firmware | 31552ba2b94f30a8485eb6eb56668a889fbec0fd | b0fb6cdd4bb72470494ae7f60dc32badcd95e03c | refs/heads/master | 2023-08-25T06:29:35.245467 | 2023-08-11T02:09:32 | 2023-08-11T02:09:32 | 191,081,947 | 0 | 0 | MIT | 2023-08-11T02:09:34 | 2019-06-10T02:23:17 | C | UTF-8 | C++ | false | false | 2,767 | cpp | /*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distribu... | [
"ogbastem@microsoft.com"
] | ogbastem@microsoft.com |
6669dc7bb3e86a6150a64bdeab0de9d4624f6588 | 121bc8316f81c94b1dd7c43ddc8291b0f672b2b2 | /algo (1).cpp | 7eea3336baa065372b8fe7d0573d9cf76a8e16af | [] | no_license | ppatoria/cpp | e05e1bef3cd562d4bc3cbdc254ff5a879f53e8bf | 16ae7bf2854bd975aa0c24a0da8d901e9338143d | refs/heads/master | 2021-01-10T05:18:38.822420 | 2016-02-27T20:12:43 | 2016-02-27T20:12:43 | 51,691,819 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,391 | cpp | // stl/algo1.cpp
#include <algorithm>
#include <vector>
#include <iostream>
using namespace std;
int main()
{
// create vector with elements from 1 to 6 in arbitrary order
vector<int> coll = { 2, 5, 4, 1, 6, 3 };
// find and print minimum and maximum elements
auto minpos = min_element(co... | [
"ppatoria@gmail.com"
] | ppatoria@gmail.com |
676c4e39898be0283333d04765323f5ea94d5a53 | c086d0487a0fa9746580e8f3a8a4b16a8c1ea7f4 | /OS/BANKER/banker.cpp | b0fd94a7b17e7bb7e276265907bb42b44a8f525f | [] | no_license | RealYoungk/Dong-A_University.github.io | 4d26d563b70335e0036f1d778d5e8fb248d00692 | e492afeff9f12826f239e684b65517397ed2deb2 | refs/heads/master | 2020-08-28T21:22:04.465328 | 2019-11-05T06:21:16 | 2019-11-05T06:21:16 | 217,824,613 | 1 | 0 | null | null | null | null | UHC | C++ | false | false | 5,987 | cpp | #include<iostream>
#include<fstream>
#include<string>
#include<algorithm>
#include<vector>
using namespace std;
typedef struct Request {
string command;
int pid;
int source[50];
};
ifstream fin("banker.inp");
ofstream fout("banker.out");
int need[50][50], pmax[50][50], alloc[50][50];
int totalAll... | [
"noreply@github.com"
] | noreply@github.com |
0079a2fdde0256e6c01bb342d9cf9560f7cdc270 | 54f352a242a8ad6ff5516703e91da61e08d9a9e6 | /Source Codes/AtCoder/abc116/A/4500616.cpp | 9b1556d483b112cd1aded50f4700d41cb96b3b32 | [] | no_license | Kawser-nerd/CLCDSA | 5cbd8a4c3f65173e4e8e0d7ed845574c4770c3eb | aee32551795763b54acb26856ab239370cac4e75 | refs/heads/master | 2022-02-09T11:08:56.588303 | 2022-01-26T18:53:40 | 2022-01-26T18:53:40 | 211,783,197 | 23 | 9 | null | null | null | null | UTF-8 | C++ | false | false | 3,529 | cpp | #ifndef _GLIBCXX_NO_ASSERT
#include <cassert>
#endif
#include <cctype>
#include <cerrno>
#include <cfloat>
#include <ciso646>
#include <climits>
#include <clocale>
#include <cmath>
#include <csetjmp>
#include <csignal>
#include <cstdarg>
#include <cstddef>
#include <cstdio>
#include <cstdlib>
#include <... | [
"kwnafi@yahoo.com"
] | kwnafi@yahoo.com |
91e66a27e81f6357b334f707525ad2aec47fd48c | 767419ca9e6a899d84db512e165c07c5842b6b27 | /aurobotservers/trunk/include/urob4/uresclientifvar.h | 1cea90dfd08348695086f23aa320dc66a6682a9a | [] | no_license | savnik/LaserNavigation | 3bf7a95519456a96b34488cd821d4da4bee3ceed | 614fce06425c79e1d7e783aad4bbc97479798a7c | refs/heads/master | 2021-01-16T20:55:33.441230 | 2014-06-26T21:55:19 | 2014-06-26T21:55:19 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,751 | h | /***************************************************************************
* Copyright (C) 2007 by DTU (Christian Andersen)
* jca@oersted.dtu.dk
* *
* This program is free software; you can redistribute it and/or modify *
* it under... | [
"ex25@localhost.(none)"
] | ex25@localhost.(none) |
b548e4509bdaa1601e5ccd4782e740b534481158 | 54bf4b43a580f8bb5c6cb4b96ef92fa0b9d0ee51 | /main.cpp | b864dc3ddbfe4f9f5f6e2116cb12967ac102cb22 | [] | no_license | CS1103/unidad-1-area-compuesta-JuanGA12 | a1b9e21895ca1c549906c228465141b46dc8d8d7 | adfce2db412c6726aebd6341796d326cefa1e1e9 | refs/heads/master | 2022-03-18T19:44:12.720936 | 2019-08-28T02:58:10 | 2019-08-28T02:58:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,593 | cpp | #include <iostream>
#include "Triangulo.h"
#include "Rectangulo.h"
#include "Circulo.h"
#include "Figura.h"
using namespace std;
int main() {
float Centroide_x;
float Centroide_y;
float base1, base2, altura1, altura2,radio,x1,x2,x3,y1,y2,y3;
int verdad1,verdad2,verdad3;
//Figura *x = nullptr;
... | [
"juan.galvez@utec.edu.pe"
] | juan.galvez@utec.edu.pe |
b1ce9b95e63af72e41ba95af61ee82556d32f457 | f8b35da33f4308139a6c5ca55f9eaa0cc33676e9 | /tutorialApp/Classes/AppDelegate.h | c5cdc510fa119bf0a5b31257ebfe562cfa364d8d | [] | no_license | bacph178/tutorialApp | 574311dce71b1cdab3b8f3f039b02e992daeb9f8 | 7231cd0dbbd9afd5dd7f61ebee88d413dc5681d0 | refs/heads/master | 2021-03-13T00:01:59.501973 | 2013-06-07T10:46:46 | 2013-06-07T10:46:46 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,152 | h | //
// tutorialAppAppDelegate.h
// tutorialApp
//
// Created by macbook_016 on 2013/06/07.
// Copyright __MyCompanyName__ 2013年. All rights reserved.
//
#ifndef _APP_DELEGATE_H_
#define _APP_DELEGATE_H_
#include "CCApplication.h"
/**
@brief The cocos2d Application.
The reason to implement with private inher... | [
"Admin@macbook-016.local"
] | Admin@macbook-016.local |
bdc5e778c59722418dd2ccfde5abd60b903e6c9e | d147941b964174578cedc1a54a783f6657d33081 | /DAQ/DAQdesign/ip/DAQdesign_xlconstant_1_0/sim/DAQdesign_xlconstant_1_0.h | a5cbcaf3132af31a4bff3cb7e33bc138da3c0c1d | [] | no_license | pratikto/High-Speed-Measurement-Unit | 48fa5ea48386bda9a8b32c4427d0d3e7187bd28b | 8ee34042dfb7f94dc1f7fe7ec160e3f67364bad7 | refs/heads/master | 2022-12-04T05:15:17.065065 | 2020-08-26T10:20:21 | 2020-08-26T10:20:21 | 280,585,533 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,631 | h | // (c) Copyright 1995-2014 Xilinx, Inc. All rights reserved.
//
// This file contains confidential and proprietary information
// of Xilinx, Inc. and is protected under U.S. and
// international copyright and other intellectual property
// laws.
//
// DISCLAIMER
// This disclaimer is not a license and does not grant ... | [
"pratikto.sulthoni.h@gmail.com"
] | pratikto.sulthoni.h@gmail.com |
ac3b9ff4c8cf6af90af65300685a7012e953c32f | 0c117a5e7faaaade9ce1bb5fda6b7272930c5320 | /Shooty/CircleBullet.h | e125e2045bc90739a5e7a5fd14bb8a53251a7630 | [] | no_license | Lurgypai/Shooty | 2bed6d349e62bd1fdb0db9c12e8bf053960e2725 | 143f3599f5ca42dc4793b36271ec1da6613659f1 | refs/heads/master | 2021-10-16T15:55:12.785260 | 2019-02-11T23:44:41 | 2019-02-11T23:44:41 | 110,046,936 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 593 | h | #pragma once
#include "stdafx.h"
#include "BulletBase.h"
#include "EntityPlayer.h"
class CircleBullet : public Bullet {
private:
bool canHit;
float expandingSpeed;
sf::CircleShape circle;
public:
CircleBullet(void);
CircleBullet(float angle, sf::Vector2f position);
float getExpandSpeed() const;
bool getCanHit(... | [
"bonkdroid@gmail.com"
] | bonkdroid@gmail.com |
b954918d0e1e9787a47b8a799311b12df9ee6885 | 9d9e354d378ad272194a529b667f19da2014c330 | /practice/FizzBuzz.cpp | cdff28bde0f2186ae555639fadcc0530f7d423d7 | [] | no_license | Ta-SeenJunaid/Data-Structures-and-Algorithm | e5ebd234b6266b2342d173128becc74c26824634 | 7d0619bba7f5624cda8d247a0953d9c0466a2b9a | refs/heads/master | 2023-08-15T11:29:06.997531 | 2023-07-29T10:46:51 | 2023-07-29T10:46:51 | 150,042,053 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 647 | cpp | /*Write a short program that prints each number from 1 to 100 on a new line.
For each multiple of 3, print "Fizz" instead of the number.
For each multiple of 5, print "Buzz" instead of the number.
For numbers which are multiples of both 3 and 5, print "FizzBuzz" instead of the number.*/
#include <bits/stdc++.h>
... | [
"taseen.junaid@gmail.com"
] | taseen.junaid@gmail.com |
d0d67960aae2d68643068855c80d52a31eb38134 | 67a8c824902b83f76daf5075e5ddb730980a15e8 | /RevivalPlus/weapons/@Attachments/config.cpp | dcfd31b6fbc6207371084206ca9977155dd11601 | [
"MIT"
] | permissive | benedikz/RevivalPlus | 8004e8ec5f0f9369957e3c412e8afc49626f8397 | b51d90ede21f457d78aba8e175e7c9463678cac1 | refs/heads/master | 2023-07-16T07:20:50.675598 | 2021-09-06T22:26:11 | 2021-09-06T22:26:11 | 294,627,453 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,291 | cpp | class CfgPatches
{
class RPL_Weapons_Attachments
{
units[] = {};
weapons[] = {};
requiredVersion = 0.1;
requiredAddons[] = {
"DZ_Data",
"DZ_Weapons_Firearms"
};
};
};
class CfgVehicles
{
// Rifle Buttstocks
class AK_WoodBttstck;
class RPL_AK_WoodBttstck_PaintBase : AK_WoodBttstck
{
... | [
"benzeex@gmail.com"
] | benzeex@gmail.com |
8e04e2c65198c64fc812b6956fb5c80d38462d73 | 0fe27e6c63a755fe7df003f36acc079490a338f3 | /src/cpp/Relative-Sort-Array.cpp | ef6414c2cf303d71f0ec52508fcacc8670d9c717 | [] | no_license | Finalcheat/leetcode | 83f9ceb7bd10783554133434347803a41260a713 | 985deb6142c6841aa7025c9b582010b33f694e6c | refs/heads/master | 2022-11-11T22:51:42.666150 | 2022-11-05T03:07:31 | 2022-11-05T03:07:31 | 53,241,690 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,517 | cpp | /**
* @file Relative-Sort-Array.cpp
* @brief 相对排序数组(https://leetcode.com/problems/relative-sort-array/)
* @author Finalcheat
* @date 2019-09-21
*/
/**
* Given two arrays arr1 and arr2, the elements of arr2 are distinct, and all elements in arr2 are also in arr1.
* Sort the elements of arr1 such that the relativ... | [
"finalcheat@gmail.com"
] | finalcheat@gmail.com |
08653e7efddeb8f09e0f5f8f566328028e257aa0 | 1fc09ef8c0ec74e24f712e390b92448eddc94119 | /apps/wavelet2d/daubechies_generator.cpp | c495f2f9788f6996bd8da7f1cedf0680a6da3cfc | [
"BSD-3-Clause",
"MIT",
"LicenseRef-scancode-blas-2017",
"Apache-2.0"
] | permissive | tufei/Halide | 8c644bfbf375dafcd0e84a7665a760a6d2998006 | 624a3d26edab1b196ae0a6e7421752ea6e002375 | refs/heads/master | 2022-09-12T11:30:50.603032 | 2022-08-27T18:23:50 | 2022-08-27T18:23:50 | 118,275,351 | 0 | 1 | null | 2018-01-20T19:48:09 | 2018-01-20T19:48:08 | null | UTF-8 | C++ | false | false | 1,483 | cpp | #include "Halide.h"
#include "daubechies_constants.h"
namespace {
Halide::Var x("x"), y("y"), c("c");
class daubechies : public Halide::Generator<daubechies> {
public:
Input<Buffer<float>> in_{"in", 2};
Output<Buffer<float>> out_{"out", 3};
void generate() {
Func in = Halide::BoundaryConditions... | [
"yyuan@gmx.com"
] | yyuan@gmx.com |
a754d893d6f271e8f5b04d215423cb4807f53c00 | 4fd05729855c323116fbedf7e85634955d4c20d0 | /devel/.private/mavros_msgs/include/mavros_msgs/LogRequestListRequest.h | 1a9b88a312ccc51b74c40c6fbdfbab2cdea6f5e9 | [] | no_license | zhenyibi/my-profile | 3b588b68b0a67a2bbe3a463f6e494b8b433fa03e | 1367ff0e67eb0a6638a4c2e4e146e52e205bfcf7 | refs/heads/master | 2020-11-27T09:07:30.023512 | 2019-12-21T06:05:18 | 2019-12-21T06:05:29 | 229,378,411 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,702 | h | // Generated by gencpp from file mavros_msgs/LogRequestListRequest.msg
// DO NOT EDIT!
#ifndef MAVROS_MSGS_MESSAGE_LOGREQUESTLISTREQUEST_H
#define MAVROS_MSGS_MESSAGE_LOGREQUESTLISTREQUEST_H
#include <string>
#include <vector>
#include <map>
#include <ros/types.h>
#include <ros/serialization.h>
#include <ros/built... | [
"945895201@qq.com"
] | 945895201@qq.com |
a9ac265dbe349a9109fad9b8130296b158a84da2 | 6e89098eabc4713a81d6ee8686e6c392760236f0 | /src/timedata.cpp | fe638c52e742ea06c029c53e860148ab49114e03 | [
"MIT"
] | permissive | 15364097026/russellcoin-1 | 57c5e6a8becfcd17fd98deb3cc07413100edfbc7 | 631a6403af5ea54adf0b276cc537473430019f7d | refs/heads/master | 2020-09-08T09:10:43.327474 | 2019-11-08T06:31:21 | 2019-11-08T06:31:21 | 221,089,041 | 1 | 0 | MIT | 2019-11-11T23:30:47 | 2019-11-11T23:30:47 | null | UTF-8 | C++ | false | false | 3,655 | cpp | // Copyright (c) 2014 The Bitcoin developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "timedata.h"
#include "netbase.h"
#include "sync.h"
#include "ui_interface.h"
#include "util.h"
#include "utilstrencodings.h"... | [
"muqdeshuo@outlook.com"
] | muqdeshuo@outlook.com |
9076d4b6d4f4e597e15b0b37ce2240007863e507 | 1237bff76137031b8c1cafb8345f1232fcbf613b | /View/front_graphic.cpp | f0085fc88189e3c77a9f9f7eccc0bfab0f73fe81 | [] | no_license | DamienCg/Calculator-Kalk-QT | 9bf2b3c18f64a3c3175dc96eda9668e418d79ea7 | fba0f1e4bd48e99473e1ab4ed16b3f11f11a5023 | refs/heads/master | 2022-06-28T17:09:16.773632 | 2020-11-05T18:30:19 | 2020-11-05T18:30:19 | 124,523,203 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,605 | cpp | #include "front_graphic.h"
#include <QStackedWidget>
#include <QMessageBox>
#include <QVBoxLayout>
void Front_graphic::OpenTypes(int a){
if( a != windowIndex)
listatipi->switchToType(windowIndex);
Stack->setCurrentIndex(a);
}
void Front_graphic::setWindowIndex(int i){
windowIndex = i;
listatip... | [
"damienciagola@gmail.com"
] | damienciagola@gmail.com |
9503d7f36b3347fc6e7f91ee804c33366c20c6e6 | 9a43eaa182541cbd05415d6ca2e408c801b94e5e | /Apps/CustomModuleTest/Source/MainWindow.cpp | d032efda75f8c101f04e95d4ae2b35c0565dcab3 | [] | no_license | LeoFabre/Juce_vst_tests | 0e1e0eb3414391f68bcde32664ceb40354202ed5 | dcc8014bc7c29a1bba628b0e2a25f9394ae98925 | refs/heads/master | 2023-06-16T07:16:24.783341 | 2021-07-08T13:14:59 | 2021-07-08T13:14:59 | 359,187,798 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 815 | cpp | #include "MainWindow.h"
namespace Omni
{
constexpr bool isMobile()
{
#if JUCE_IOS || JUCE_ANDROID
return true;
#else
return false;
#endif
}
MainWindow::MainWindow(const String& name)
: DocumentWindow(name, getBackgroundColour(), allButtons)
{
setUsingNativeTitleBar(true);
setContentOwned(new MainC... | [
"fabre.leo@gmail.com"
] | fabre.leo@gmail.com |
028065e305d65ae125e536f19cc6a001f66d8091 | 15d8fe4a6858378e350b9df832062bc2050a75ce | /014-normals-diffuse-lighting/014-normals-diffuse-lighting.h | 1abd7587fe9ad0cd8c3334a9753ec02c70c72525 | [
"MIT"
] | permissive | michalbb1/opengl4-tutorials-mbsoftworks | cdf6ea187914792f237e4f4c60194d40472ade60 | 85909d0d22f51a4ebff5f22ac3f7456d77a6058a | refs/heads/dev | 2022-11-05T09:27:03.270344 | 2022-10-29T05:14:35 | 2022-10-29T05:14:35 | 123,883,165 | 71 | 21 | MIT | 2022-10-29T05:14:36 | 2018-03-05T07:43:53 | C++ | UTF-8 | C++ | false | false | 383 | h | #pragma once
// Project
#include "../common_classes/OpenGLWindow.h"
namespace opengl4_mbsoftworks {
namespace tutorial014 {
class OpenGLWindow014 : public OpenGLWindow
{
public:
void initializeScene() override;
void renderScene() override;
void updateScene() override;
void releaseScene() override;
};... | [
"michalbb1@gmail.com"
] | michalbb1@gmail.com |
7e2852cac2c88cc8605353d8c118a03fcf77b7cc | 035c23cff67a9e0fdce3d9a021807697fe266883 | /common/tunicate/rootparitycollisiontest.cpp | 76793a8019a202bb4afdb4525c03465f62adb819 | [
"BSD-2-Clause"
] | permissive | joeedh/eltopo | bf6420ff11efc29ac36882e84ba0094b442d6f50 | 5db63d4df66816a07509fe3884299fca52d38665 | refs/heads/master | 2021-01-05T15:27:08.708465 | 2020-03-13T21:58:09 | 2020-03-13T21:58:09 | 241,061,523 | 0 | 0 | BSD-2-Clause | 2020-02-17T08:59:20 | 2020-02-17T08:59:20 | null | UTF-8 | C++ | false | false | 100,277 | cpp |
#include <rootparitycollisiontest.h>
#include <cstdlib>
namespace rootparity
{
namespace // unnamed namespace for local functions
{
///
/// Local helper functions
///
template<unsigned int N, class T>
inline void make_vector( const Vec<N,double... | [
"tyson.brochu@gmail.com"
] | tyson.brochu@gmail.com |
ca7f6a4d3d873d478f3495149eff37459f847cfd | 05c8790d8d7ee113075d72e30079da9f2ce64fe1 | /QT-Gui/FloatParameter.h | aefe1bed7f250b68c307e9318f1804854e66f7eb | [
"Apache-2.0"
] | permissive | knut0815/realsurf | ab3d059b105728dd2d46aa491c676a68b36dd85e | c0a98aa4762e8e44032bed0a0224ff33454cdf50 | refs/heads/master | 2021-02-08T17:27:52.015351 | 2013-11-05T12:38:19 | 2013-11-05T12:38:19 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,315 | h | #ifndef __FLOATPARAMETER_H__
#define __FLOATPARAMETER_H__
#include "ui_floatParameter.h"
#include "FloatParameterProperties.h"
class FloatParameter : public QWidget, protected Ui_floatParameter
{
Q_OBJECT
private:
QDoubleSpinBox *valueSpinBox;
QDoubleSpinBox *minSpinBox;
QDoubleSpinBox *maxSpin... | [
"stussak@mfo.de"
] | stussak@mfo.de |
190e4464aaee67d052ccc7c7f518ac6b257d3d05 | b07baaa9ec8b9f7ec745b97875bebe4f268f6775 | /src/tools/vision/fuse_viewer/fuse_viewer_gui.h | 20dd2b868301d3b2079be0ab0eced04d64faf09b | [] | no_license | timn/fawkes | 9a56dc42aacbb87302ac813d5cc47af9337025db | bc3024b62963d2144dc085fb7edbff51b360cc51 | refs/heads/master | 2021-07-21T12:15:15.097567 | 2021-02-03T12:06:09 | 2021-02-03T12:06:09 | 1,030,913 | 0 | 0 | null | 2018-10-05T15:10:45 | 2010-10-28T05:30:51 | C++ | UTF-8 | C++ | false | false | 2,632 | h |
/***************************************************************************
* fuse_viewer.h - Fuse (network camera) Viewer Gui
*
* Created: Thu Dec 18 14:16:23 2008
* Copyright 2008-2009 Christof Rath <c.rath@student.tugraz.at>
*
****************************************************************************/... | [
"niemueller@kbsg.rwth-aachen.de"
] | niemueller@kbsg.rwth-aachen.de |
c500333683fce23f2561f2cb7044f2da574b55e2 | ad5e5d5d620bd6faa9d6dad5c0f61212714e8131 | /catkin_ws/src/data_acquisition/include/pcl_lidar_screenshot.hpp | 17167f12d485d107bc75e7d78cfad6e26c3cb172 | [
"Apache-2.0"
] | permissive | gromovnik1337/ROS_OD_SC | 80805cc4134ce6c64957402e0c75a4b5f62e633d | e11ea0780e193a3b045b578d7bf3688ee4aa99f0 | refs/heads/main | 2023-08-10T17:19:26.520297 | 2021-09-20T13:24:14 | 2021-09-20T13:24:14 | 407,622,802 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 609 | hpp | #ifndef PCL_SCREENSHOT_HPP
#define PCL_SCREENSHOT_HPP
// Include necessary libraries
//ROS
#include <ros/ros.h>
#include <sensor_msgs/PointCloud2.h>
// PCL
#include <pcl/point_cloud.h>
#include <pcl_conversions/pcl_conversions.h>
#include <pcl/visualization/pcl_visualizer.h>
#include <pcl/io/pcd_io.h>
class getAndV... | [
"vice.roncevic@luxc.tech"
] | vice.roncevic@luxc.tech |
bc0f6294b79f4c2be87f7afe93ee38a8262566a4 | a0423109d0dd871a0e5ae7be64c57afd062c3375 | /Aplicacion Movil/generated/bundles/login-transition/build/Android/Preview/app/src/main/include/Fuse.Float2Computer.h | 2366272afe8e7ce7ffa9525307122e7c3903db92 | [
"Apache-2.0"
] | permissive | marferfer/SpinOff-LoL | 1c8a823302dac86133aa579d26ff90698bfc1ad6 | a9dba8ac9dd476ec1ef94712d9a8e76d3b45aca8 | refs/heads/master | 2020-03-29T20:09:20.322768 | 2018-10-09T10:19:33 | 2018-10-09T10:19:33 | 150,298,258 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 980 | h | // This file was generated based on C:/Users/JuanJose/AppData/Local/Fusetools/Packages/Fuse.Marshal/1.9.0/Computer.uno.
// WARNING: Changes might be lost if you edit this file directly.
#pragma once
#include <Fuse.Computer1-1.h>
#include <Uno.Float2.h>
namespace g{namespace Fuse{struct Float2Computer;}}
namespace g{
... | [
"mariofdezfdez@hotmail.com"
] | mariofdezfdez@hotmail.com |
e7e814d0315d708cad2be2ba6014ef00c980d589 | 547e084c5b075c118a917a937fac202a44abd045 | /C++/58-HocDeQui/main.cpp | b35833fd74043c3377532d8b7ef4b2bd76a85123 | [] | no_license | laquythi/laquythi.github.io | 016c9b9220d3c115e722a4634bf4a83ccb809501 | 37c7285effce53e9076e6562e368c6f7378c973c | refs/heads/master | 2022-07-15T10:24:07.922753 | 2021-06-24T09:05:25 | 2021-06-24T09:05:25 | 183,374,657 | 1 | 0 | null | 2022-06-03T03:33:10 | 2019-04-25T06:53:55 | HTML | UTF-8 | C++ | false | false | 737 | cpp | #include <iostream>
using namespace std;
/* run this program using the console pauser or add your own getch, system("pause") or input loop */
int TinhGiaiThua(int n);
void H10ToH2(int n);
int main(int argc, char** argv) {
// int gt=TinhGiaiThua(5);
// cout<<"5!="<<gt<<endl;
int n;
cout<<"nhap n:";
cin>>n;
int gi... | [
"laquythi@gmail.com"
] | laquythi@gmail.com |
4588bc2db25ded59fe7f888d2a0219cc94459456 | 4d6ec3eb29b40e49728085e20c6074b817f65402 | /leetcode-algorithms/376. Wiggle Subsequenc/376. Wiggle Subsequence.cpp | 9efb851f929520c971355a62d42f560074557cc4 | [] | no_license | ShuyiLU/leetcode | fba9960a0a2bb180a9103f1efff2c20a25bd1f57 | f8784b271099b766e180e92313e331917c426844 | refs/heads/master | 2020-08-28T01:27:26.970875 | 2019-11-06T15:09:32 | 2019-11-06T15:09:32 | 217,546,725 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 605 | cpp | #include<iostream>
#include<vector>
using namespace std;
class Solution {
public:
int wiggleMaxLength(vector<int>& nums) {
vector<int> up(nums.size(), 1);
vector<int> down(nums.size(), 1);
for(int i=1; i<nums.size(); i++){
if(nums[i] > nums[i-1]){
up[i] = down[i-1] + 1;... | [
"pudding0129@hotmail.com"
] | pudding0129@hotmail.com |
35abcc3c7942308aba2c8e77c494b1fd4cb73e4c | e87da7a3b1e5fcad4ae4c2de4f4800d736194036 | /engine/src/libCoreCommon/round_robin_service_selector.h | e4ddbfb01224b5df825a0ef7737e3b8f9af55ba7 | [] | no_license | lxq2537664558/realtime_ex | ab7713c37a971d904d709880bccab9b3fcfde79d | f3e09f854e3a4ff0dcc6a53ceee82f795ba140cd | refs/heads/master | 2021-05-13T16:16:44.309001 | 2017-11-10T05:48:52 | 2017-11-10T05:48:52 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 465 | h | #pragma once
#include "service_selector.h"
namespace core
{
class CRoundRobinServiceSelector :
public CServiceSelector
{
public:
CRoundRobinServiceSelector(CServiceBase* pServiceBase);
virtual ~CRoundRobinServiceSelector();
virtual uint32_t select(const std::string& szServiceType, uint32_t nS... | [
"379171482.qq.com"
] | 379171482.qq.com |
09c7294347f579a8b507db47a20188e1b67d329b | 9cb6f5a6c0db98f7af43fb81ce91a5025ca3807e | /Beecrowd/1581.cpp | 4c92bbc5f2353ceed5813b0bd761608d389e9c1f | [] | no_license | luizaes/competitive-programming | 1af3393f0d75fa4d2736a54a44ca04713e998559 | 9742acbefc9c56ba94d57ead63048e995fa3d203 | refs/heads/master | 2022-07-30T04:41:45.587448 | 2022-07-07T19:39:34 | 2022-07-07T19:39:34 | 135,094,280 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 593 | cpp | /* Strings, 1581 - Conversa Internacional */
#include <iostream>
using namespace std;
int main() {
int num_casos, cont = 0, pessoas, i;
string lingua_falada, lingua;
bool dif = false;
char c;
cin >> num_casos;
while(cont < num_casos) {
cin >> pessoas;
cin.get(c);
for(i = 0; i < pessoas; i++) {
ge... | [
"luiza.engler@gmail.com"
] | luiza.engler@gmail.com |
c39a916c87026912c9c8a07f41ac51fe803efdcb | c43b0d1e041d004d1fa8e1469f57b62d4d4bea88 | /zircon/system/utest/usb-virtual-bus/usb-hid-test.cc | 5003c0a6553629150800d3066c5d31b7d9a5aef9 | [
"BSD-3-Clause",
"MIT"
] | permissive | ZVNexus/fuchsia | 75122894e09c79f26af828d6132202796febf3f3 | c5610ad15208208c98693618a79c705af935270c | refs/heads/master | 2023-01-12T10:48:06.597690 | 2019-07-04T05:09:11 | 2019-07-04T05:09:11 | 195,169,207 | 0 | 0 | BSD-3-Clause | 2023-01-05T20:35:36 | 2019-07-04T04:34:33 | C++ | UTF-8 | C++ | false | false | 2,784 | cc | // Copyright 2019 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "usb-virtual-bus.h"
#include "helper.h"
#include <ddk/platform-defs.h>
#include <dirent.h>
#include <endian.h>
#include <fbl/auto_call.h>
#includ... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
81dd737f26e3322e67bb9a96946b8eaa112287d7 | 3d9df061cb4044dcb781b0c6a252fc590f85f399 | /code/ray tracer/ray tracer/Shader.cpp | e340fa105a73aeaa2e82a5c97c83e63a0d6d8509 | [] | no_license | jamesrogers93/real-time-ray-tracer | 3d443594b185a64493d93c7c82f4eb6bda565eb7 | e7d421a3048bc11406991cb43651c82b56b09ac4 | refs/heads/master | 2023-04-09T20:43:54.322350 | 2016-11-17T20:52:29 | 2016-11-17T20:52:29 | 60,629,722 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,730 | cpp | //
// Shader.cpp
// Simple Gravity
//
// Created by James Rogers on 28/12/2015.
// Copyright © 2015 James Rogers. All rights reserved.
//
#include "Shader.h"
Shader::Shader()
{
this->program = 0;
}
Shader::Shader(const GLchar* vertexPath, const GLchar* fragmentPath)
{
this->loadShader(vertexPath, fragmentPath)... | [
"James Rogers"
] | James Rogers |
ab00efa9682d3133cfcd4a20fde326573e11ce62 | ff505338515523f56537ac0ac298e897c2ab6541 | /src/c++/eigen/Eigen/src/SparseLU/SparseLU_SupernodalMatrix.h | 2e5c7591a491acd9ac93b17f4fd6d459e18badc5 | [] | no_license | yanlei2017/code-learning | f71b4cca223bdf9c7004759f245d1f45c77bc3b5 | 877aa62ed9cfbc8a2fe1c76957bb11962a3874b4 | refs/heads/master | 2021-07-09T10:06:57.386934 | 2020-10-13T16:19:16 | 2020-10-13T16:19:16 | 201,642,556 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,335 | h | // This file is part of Eigen, a lightweight C++ template library
// for linear algebra.
//
// Copyright (C) 2012 Désiré Nuentsa-Wakam <desire.nuentsa_wakam@inria.fr>
// Copyright (C) 2012 Gael Guennebaud <gael.guennebaud@inria.fr>
//
// This Source Code Form is subject to the terms of the Mozilla
// Public Lice... | [
"yanlei6666@gmail.com"
] | yanlei6666@gmail.com |
e61ef1e062500cef9e377e63b70a6800fce949cf | 9f93116a1a67b9e2e56c9684eb968175fcdb37a4 | /AGGRCOW.cpp | 1c1d9b1b5598aa1aef0c4f397f2f8ea3f3ec8172 | [] | no_license | Anmol2307/SpojProblems | 72d7fa2b1b56f0228dcdd4c803a40ac97abb592e | 9784e8149df8ff19f441d77fd30f829e4f1d551d | refs/heads/master | 2016-08-03T07:43:26.350944 | 2014-11-20T10:06:12 | 2014-11-20T10:06:12 | 17,081,832 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 651 | cpp | #include<iostream>
#include<cstdio>
#include<algorithm>
using namespace std;
int arr[100001];
int c,n;
int f(int x){
int cowsplaced=1;
long long int lastpos=arr[0];
for(int i=1;i<n;i++){
if(arr[i]-lastpos>=x){
cowsplaced++;
if(cowsplaced==c)
return 1;
lastpos=arr[i];
}
}
return 0;
}
int binSea... | [
"garganmol1993@gmail.com"
] | garganmol1993@gmail.com |
176b7a80e93b29e9fd835ad3780442ab38708052 | 4f91c76818c2312d501156ae9abfc0f6b055199d | /DODATKI/SORT/INTERNI/MAIN.CPP | 795d1f8f2829f9e61064e0558d9e6431a9233e62 | [] | no_license | MPrtenjak/cppZaVelikeInMale | 3f77398755e9849c3109973d7e75c4a24e698c63 | c6cb40974254772717fd046417caee73c88d11a0 | refs/heads/master | 2020-03-21T06:11:22.614385 | 2018-06-21T19:09:00 | 2018-06-21T19:09:00 | 138,204,639 | 0 | 0 | null | null | null | null | WINDOWS-1250 | C++ | false | false | 3,456 | cpp | /*
Eden izmed dodanih primerov h knjigi "C++ za velike in male"
AVTOR:
Matjaž Prtenjak
NAMEN:
Glavna datoteka programa za sortiranje.
OPERACIJSKI SISTEM:
Vsi operacijski sistemi
*/
#include <iostream.h> // za tokove
#include <iomanip.h>
#include <time.h> // za merjenje časa
#i... | [
"matjaz@matjazev.net"
] | matjaz@matjazev.net |
4990fb84e33d0c6db4ac811f5f05b2746f612820 | 5e117c7f994525ed76be9cab04a633fd99ef1d15 | /AdvancedLevel/second time/1066.Root of AVL Tree(25)/main.cpp | 60b7fe977ae27c77e747cbf5afbbed4a8c28eae6 | [] | no_license | Weijun-H/PAT | 05151dd355bb87e1b18d7a2139a9acd1b57b5d2e | 923260408375f9d06f426f05c7d6654baf8a039c | refs/heads/master | 2022-02-16T04:07:25.194752 | 2019-09-07T16:27:45 | 2019-09-07T16:27:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,960 | cpp | #include <iostream>
#include <algorithm>
using namespace std;
struct Node{
int data;
int height;
Node* lchild,*rchild;
};
int getHeight(Node* root){
if(root==NULL)return 0;
return root->height;
}
void updateHeight(Node* root){
root->height=max(getHeight(root->rchild),getHeight(root->lchild))+1;
... | [
"huangweijun1001@gmail.com"
] | huangweijun1001@gmail.com |
36ee5d2d92bf786bc1de78803d4b0a392451102c | 4056438672d6d6f1ae517f60f5f2dd5a90c8e6a5 | /Source/CustomerOrder.cpp | 092efd76c52489697b6144a2d172adede48690ba | [] | no_license | Rad-tech-spec/Simulated-Assembly-Line | 869da268fae295146b23853cb1ca35e7bd4f1310 | 3e1729486982feb9c220b147cc3cbbe61266ee3c | refs/heads/master | 2023-04-23T18:13:48.473431 | 2021-05-02T20:44:00 | 2021-05-02T20:44:00 | 363,744,256 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,636 | cpp | #include "CustomerOrder.h"
#include <vector>
#include <iomanip>
size_t CustomerOrder::m_widthField;
CustomerOrder::CustomerOrder()
{
this->m_name = "";
this->m_product = "";
this->m_cntItem = 0u;
this->m_1stItem = nullptr;
}
CustomerOrder::CustomerOrder(std::string& str) : CustomerOrder()
{
Utilities temp;
boo... | [
"Eshghirad97@gmail.com"
] | Eshghirad97@gmail.com |
fadaf52c2d4ece2aafd6cd0eb2cf26b83dfe3d03 | db96b049c8e27f723fcb2f3a99291e631f1a1801 | /src/app/cn3d/sequence_viewer.cpp | 06495073b3b56d8ea6cc0725777d52ec8d0eaa76 | [] | no_license | Watch-Later/ncbi-cxx-toolkit-public | 1c3a2502b21c7c5cee2c20c39e37861351bd2c05 | 39eede0aea59742ca4d346a6411b709a8566b269 | refs/heads/master | 2023-08-15T14:54:41.973806 | 2021-10-04T04:03:02 | 2021-10-04T04:03:02 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 22,849 | cpp | /* $Id$
* ===========================================================================
*
* PUBLIC DOMAIN NOTICE
* National Center for Biotechnology Information
*
* This software/database is a "United States Government Work" under the
* terms of the United States Copyright Act.... | [
"ludwigf@78c7ea69-d796-4a43-9a09-de51944f1b03"
] | ludwigf@78c7ea69-d796-4a43-9a09-de51944f1b03 |
30d31d943cae94ffae38f9eb7bf886292d206c33 | dd1c4797e587c5c939ef6870f974a6d87e776bdc | /my_cpp_code/stack using queues.cpp | 13c651e67536bd8764b936ba48dd450969394e1e | [] | no_license | avnyaswanth/DS_AND_ALGO | b18d4d0385c604c2592fc48c526bc267460fb90c | 7b4130d80e5d0266a6d3bf5e258d399dfcc054fa | refs/heads/master | 2023-08-26T05:22:56.915863 | 2021-10-12T11:07:57 | 2021-10-12T11:07:57 | 309,110,548 | 0 | 1 | null | 2020-12-31T13:38:32 | 2020-11-01T14:12:10 | C++ | UTF-8 | C++ | false | false | 646 | cpp | #include<iostream>
#include<queue>
using namespace std;
class Stk
{
queue<int> q1, q2;
int size;
public:
Stk()
{
size = 0;
}
void push(int x)
{
q2.push(x);
size++;
while(q1.empty()!=1)
{
q2.push(q1.front());
q1.pop();
}
queue<int> q = q1;
q1 = q2;
q2 = q;
}
voi... | [
"avnyaswanth@DESKTOP-F55DKI8.localdomain"
] | avnyaswanth@DESKTOP-F55DKI8.localdomain |
703bb6f4ea4c844a8a9b60269516cd22fffdb5f6 | 0a1be59f55b359866370c2815671af22bd96ff51 | /dependencies/skse64/src/skse64/CommonLibSSE/include/RE/TESMagicTargetForm.h | 31dc1658fddba33ad1671a9a6a75dbe411f1cb5d | [
"LicenseRef-scancode-warranty-disclaimer",
"MIT"
] | permissive | joelday/papyrus-debug-server | ba18b18d313a414daefdf0d3472b60a12ca21385 | f5c3878cd485ba68aaadf39bb830ca88bf53bfff | refs/heads/master | 2023-01-12T14:34:52.919190 | 2019-12-06T18:41:39 | 2019-12-06T18:41:39 | 189,772,905 | 15 | 10 | MIT | 2022-12-27T11:31:04 | 2019-06-01T20:02:31 | C++ | UTF-8 | C++ | false | false | 74 | h | #pragma once
namespace RE
{
class TESMagicTargetForm
{
public:
};
}
| [
"joelday@gmail.com"
] | joelday@gmail.com |
5c512110b1466174368ae05c494b378e6d0858b2 | 47aca8bc7f4b89c3417dcffeae67c37862e39ec8 | /include/nodamushi/svd/enum_helper.hpp | 0b017a360e1d49989ccf482a1ea0957199738315 | [
"CC0-1.0"
] | permissive | nodamushi/nsvd-reader | 14fb366128d53013c3b2990f6cf502130c8f8e8b | cf3a840aaac78d5791df1cf045596ec20dc03257 | refs/heads/master | 2020-06-27T20:37:05.656337 | 2019-09-29T13:12:57 | 2019-09-29T13:12:57 | 200,042,564 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 763 | hpp | /*
* These codes are licensed under CC0.
* http://creativecommons.org/publicdomain/zero/1.0/
*/
#ifndef NODAMUSHI_SVD_ENUM_HELPER_HPP
#define NODAMUSHI_SVD_ENUM_HELPER_HPP
# include <string>
# include <cstring>
# if __cplusplus >= 201703
# include <string_view>
# include <optional>
# endif
namespace nodamushi{
n... | [
"nodamushi@outlook.jp"
] | nodamushi@outlook.jp |
ffdfb2905c2a101d70de606ba7246f6b297fb6c1 | 1a17167c38dc9a12c1f72dd0f3ae7288f5cd7da0 | /Source/ThirdParty/angle/tools/clang/plugins/FindBadConstructsAction.cpp | e2395b94b43ef9044302517e34f9f9445f1daee6 | [
"MIT",
"LicenseRef-scancode-unknown-license-reference",
"LicenseRef-scancode-warranty-disclaimer",
"BSD-3-Clause",
"Zlib",
"LicenseRef-scancode-khronos",
"BSL-1.0",
"BSD-2-Clause"
] | permissive | elix22/Urho3D | c57c7ecb58975f51fabb95bcc4330bc5b0812de7 | 99902ae2a867be0d6dbe4c575f9c8c318805ec64 | refs/heads/master | 2023-06-01T01:19:57.155566 | 2021-12-07T16:47:20 | 2021-12-07T17:46:58 | 165,504,739 | 21 | 4 | MIT | 2021-11-05T01:02:08 | 2019-01-13T12:51:17 | C++ | UTF-8 | C++ | false | false | 1,865 | cpp | // 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.
#include "FindBadConstructsAction.h"
#include "clang/AST/ASTConsumer.h"
#include "clang/Frontend/FrontendPluginRegistry.h"
#include "FindBadConstruc... | [
"elix22@gmail.com"
] | elix22@gmail.com |
c5a4c37b25ba080e534d5f867e072f8dc9978831 | 5ef0d91085aff5495f9d1243f649b07f5e57afc2 | /c++/graph theory/graphinput.cpp | d3c038f09b3619e472aea6442512cd98d5794c23 | [] | no_license | NavalPangtey/Competitive-programming | ba925e934b7402aa105bfea1d51350f5045ba9d6 | 641123d6b98ce72479a923d24d6aca25f6d7a579 | refs/heads/main | 2022-12-30T13:30:21.361996 | 2020-10-21T13:54:09 | 2020-10-21T13:54:09 | 305,720,814 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 469 | cpp | //Adjacency list implimantaion
#include<bits/stdc++.h>
using namespace std;
void read()
{
#ifndef ONLINE_JUDGE
freopen("input.txt", "r", stdin);
freopen("output.txt", "w", stdout);
#endif
}
int main()
{
read();
int a , b, n, m;
cin >> n >> m;
vector<int> v[n + 1];
for (int i = 0 ; i < m; i++)
{
cin >> a >>... | [
"navalpangtey22@gmail.com"
] | navalpangtey22@gmail.com |
a188b783745e82d0741cc48f983f2c8901aa05f4 | 4f06b2bd0bf3266e1f064a8cffafd0b9eb502945 | /TCRT_5000_IR_SENSOR_MODULE.ino | 2b2aa52a3dab4774641c87bd015359dc3b2e73b9 | [] | no_license | erkan-polat/arduino | 5af119a85aecde641eb7124760e5a40b31c2d451 | 34f8b2e91dfbd00a6c065467a4e6552802620b99 | refs/heads/main | 2023-02-12T09:01:19.205380 | 2021-01-17T11:05:26 | 2021-01-17T11:05:26 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 453 | ino | const int pinIRd = 8;
const int pinIRa = A0;
const int pinLED = 9;
int IRvalueA = 0;
int IRvalueD = 0;
void setup()
{
Serial.begin(9600);
pinMode(pinIRd,INPUT);
pinMode(pinIRa,INPUT);
pinMode(pinLED,OUTPUT);
}
void loop()
{
Serial.print("Analog Reading=");
Serial.print(IRvalueA);
Serial.print("\t Digit... | [
"noreply@github.com"
] | noreply@github.com |
6f1d0587dc9acafed44895d042b63eb0ff11ef34 | a03ed9feb8ce4983baf67d431cbb2d6de91a70f5 | /rendererCpp/material.cpp | 6211ecc3b3691afce7eec2502356926b7604669d | [] | no_license | michcio12174/rendererCppOld | d71e3f538a7dff541a4f0243145aa1f3ce2c6781 | 18ececd0887d5b8589f4a1927436292c8c0fe4f3 | refs/heads/master | 2021-04-03T10:29:00.530168 | 2019-01-20T23:08:19 | 2019-01-20T23:08:19 | 124,757,245 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 448 | cpp | #include "stdafx.h"
#include "material.h"
material::material()
{
this->materialTexture = new texture(0.4f, 0.4f, 0.4f);
}
material::material(texture *materialTexture)
{
this->materialTexture = materialTexture;
}
material::~material()
{
}
vector3 material::shade(rayHitInfo info)
{
return getTextureColor(info.hi... | [
"michcio12174@gmail.com"
] | michcio12174@gmail.com |
640b812b0c4289eb062b944f4041b9f88fb3944d | 0bd6a68601a053427f463cccad5bfe95f6b134f7 | /Bubblesort.cpp | f11c426f47ff206b4736f1d05f7b8555256cbba1 | [] | no_license | heyOnuoha/Algorithms-C- | 89498895953ea2dbe97ec3566806ad8ef24f069c | 02986129e19b762b5126f72f1d453f2ccbc65ac2 | refs/heads/master | 2021-09-15T11:36:46.817878 | 2018-05-31T21:28:50 | 2018-05-31T21:28:50 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 415 | cpp | #include "Bubblesort.h"
Bubblesort::Bubblesort()
{
}
Bubblesort::~Bubblesort()
{
}
void Bubblesort::bubblesort(int array[], int size)
{
for (int i = 0; i < size; i++)
{
for (int j = 0; j < size; j++)
{
if (array[i] < array[j])
{
swap(array, i, j);
}
}
}
}
void Bubblesort::swap(int list[], in... | [
"favouronu@gmail.com"
] | favouronu@gmail.com |
8c1343a7d9d511fcc226fd7c96cf004f904b2bf4 | 55d560fe6678a3edc9232ef14de8fafd7b7ece12 | /libs/hana/example/replace_if.cpp | 6ab4a517e3c3f5588cb04e27458663990a037a04 | [
"BSL-1.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | stardog-union/boost | ec3abeeef1b45389228df031bf25b470d3d123c5 | caa4a540db892caa92e5346e0094c63dea51cbfb | refs/heads/stardog/develop | 2021-06-25T02:15:10.697006 | 2020-11-17T19:50:35 | 2020-11-17T19:50:35 | 148,681,713 | 0 | 0 | BSL-1.0 | 2020-11-17T19:50:36 | 2018-09-13T18:38:54 | C++ | UTF-8 | C++ | false | false | 681 | cpp | // Copyright Louis Dionne 2013-2017
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt)
#include <boost/hana/assert.hpp>
#include <boost/hana/config.hpp>
#include <boost/hana/equal.hpp>
#include <boost/hana/replace_if.hp... | [
"james.pack@stardog.com"
] | james.pack@stardog.com |
3f4f48a774dcbe4fded5c749e3cadf1dfcb999a5 | c39924b2624e429d280dde795f7837c27a4fd3d2 | /client/gui_part/include/Game_Window.hpp | 8145cfae60efafbb65a1ecb1e04ec9e3aa3d8532 | [] | no_license | trevisg/PSU_zappy_2017 | 89f697cd721e7e2f23dfa54662ea747f7ae79432 | dac14b2d5f4b43d0e66295270bc26eb444a6da3e | refs/heads/master | 2020-03-20T15:31:54.264089 | 2018-07-02T17:56:26 | 2018-07-02T17:56:26 | 137,515,428 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,083 | hpp | //
// EPITECH PROJECT, 2018
// PSU_zappy_2017 Client GUI
// File description:
// Gui Game Window Header
//
#ifndef GAME_WINDOW_HPP_
#include "Network_Client.hpp"
#include <map>
#include <SFML/Audio.hpp>
#include <SFML/Window.hpp>
#include <SFML/Graphics.hpp>
class GameWindow
{
public:
GameWindow();
void _setgam... | [
"trevisgulby@protonmail.ch"
] | trevisgulby@protonmail.ch |
9e1d446a3f9fadfa6e52cbef2a56f4c9b13c653b | a9c1d305400ce605870ee4a0dbafe241f55e1d95 | /Coursera/Yandex_CppYellow/Week03_Task04_bus_manager.cpp | 4a55a35b8d8151cabf3ac3f44c716240e43aa60a | [
"MIT"
] | permissive | zakhars/Education | 8bcc6c72edd4ba16b818e7a493068de7a643bf84 | 88f4963868193e4f9fb4ec6681fa0c4669e156b8 | refs/heads/master | 2023-02-10T14:59:41.493239 | 2023-02-03T19:43:10 | 2023-02-03T19:43:10 | 101,640,996 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,407 | cpp | #include <map>
#include <vector>
#include <string>
#include <iostream>
#include "Week03_Task04_bus_manager.h"
#include "Week03_Task04_responses.h"
using namespace std;
void BusManager::AddBus(const string& bus, const vector<string>& stops)
{
buses_to_stops[bus] = stops;
for (const string& stop : stops)
... | [
"zakhar.stavitsky@gmail.com"
] | zakhar.stavitsky@gmail.com |
ed9986bd76a9b56a8c1d3d86ba7ec8f9933524c7 | cbbef8580d0571c84ab4ce5a559e0fb9d660f485 | /data/submissions/530621.cpp | 8cab0ca1f3af34a24a03662ecb936ebeecdd618a | [] | no_license | yuantailing/tsinsen | efb4c0297e096b8fa64a3390d6bde3cbaaddb217 | a92759dc965ed58a33536e8c6faaa19b0931afbc | refs/heads/main | 2023-07-08T11:44:32.294152 | 2021-08-09T19:34:07 | 2021-08-09T19:34:07 | 394,414,206 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 885 | cpp | #include <iostream>
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <string.h>
using namespace std;
int main()
{
int i,j,k,n,m;
char p[100009];
char *a;
int b[100009];
int c,d;
int buf,tmp;
cin >> buf;
for (tmp=0;tmp<buf;++tmp){
a=p;
a[0]=a[1]=a[2]=a[3]='0';
a=&... | [
"yuantailing@gmail.com"
] | yuantailing@gmail.com |
059140a1dc7f4b9667d33640adc379b2409a97d8 | 112eaf6e46be9feb0e711e1ee6658e0d5acbff2c | /include/Pins.h | 48562893b7d32fe59691a59d1dbc4863dd18502a | [] | no_license | thepipster/funky-van-lights | 2d0b71441e65164a6d1e10ddfe7dab1c6bce9774 | 9f9dcc2ca37b145dae595f735d57c80c5a0f39e0 | refs/heads/main | 2023-07-18T16:55:12.563631 | 2021-09-19T01:41:33 | 2021-09-19T01:41:33 | 406,593,628 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 136 | h | #ifndef PINS_H
#define PINS_H
#include <Arduino.h>
class Pins
{
public:
int buttonUp = A5;
int buttonDown = A4;
};
#endif
| [
"mikep76@gmail.com"
] | mikep76@gmail.com |
d3134a20edc0e771bc4c66bbe114a3b0b2ed950e | 641fa8341d8c436ad24945bcbf8e7d7d1dd7dbb2 | /third_party/crashpad/crashpad/handler/handler_main.cc | 29c5ddc14e6c4a26b7842eebb813b00f7c5a2eec | [
"Apache-2.0",
"LGPL-2.0-or-later",
"GPL-1.0-or-later",
"MIT",
"BSD-3-Clause"
] | permissive | massnetwork/mass-browser | 7de0dfc541cbac00ffa7308541394bac1e945b76 | 67526da9358734698c067b7775be491423884339 | refs/heads/master | 2022-12-07T09:01:31.027715 | 2017-01-19T14:29:18 | 2017-01-19T14:29:18 | 73,799,690 | 4 | 4 | BSD-3-Clause | 2022-11-26T11:53:23 | 2016-11-15T09:49:29 | null | UTF-8 | C++ | false | false | 14,789 | cc | // Copyright 2014 The Crashpad Authors. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by ... | [
"xElvis89x@gmail.com"
] | xElvis89x@gmail.com |
20d5a340658ba35235e21f05c67e22bd44faabd5 | 08d4e9313f915e848332e63375ae5b605dadf7eb | /player/src/main/cpp/Shader.cpp | 0f65ccbc0b62557515cbbb1f25dd279251dbffa3 | [] | no_license | playwind/LoserPlayer | a04a6638659175a8060fc8aff9c8619d1e957e00 | 66fcc2f4f75f29c1dee6bb35fe6a2d2dce626e8b | refs/heads/master | 2023-05-21T02:30:15.489300 | 2021-06-10T01:51:02 | 2021-06-10T01:51:02 | 371,313,653 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 8,049 | cpp | #include "Shader.h"
#include <AndroidLogger.h>
#include <GLES2/gl2.h>
#define GET_STR(x) #x
// 顶点着色器
static const char *vertexShaderSource = GET_STR(
attribute vec4 aPosition; // 顶点坐标
attribute vec2 aTexCoord; //材质顶点坐标
varying vec2 vTexCoord; // 输出的材质坐标
void main() {
vTexCo... | [
"forrest_zheng@intretech.com"
] | forrest_zheng@intretech.com |
e34e611a9ed792547f92a7ce5108bf3bb5c9999d | 2c35da61dc41f8ff2c1588a2e66b61ca90cd1f3a | /src/lib/utils/noise/module/spheres.h | 049d12ba37644a6b82dbd807f535582883746455 | [] | no_license | vkaytsanov/AngryBirds | 5858b3dad02940f21dfa849153a134645ecc2191 | 2cc1a7494f1c2c337461df73c4f43c57bfa57770 | refs/heads/master | 2023-06-17T10:27:37.254180 | 2021-07-08T11:37:00 | 2021-07-08T11:37:00 | 364,853,524 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,518 | h | // spheres.h
//
// Copyright (C) 2003, 2004 Jason Bevins
//
// This library is free software; you can redistribute it and/or modify it
// under the terms of the GNU Lesser General Public License as published by
// the Free Software Foundation; either version 2.1 of the License, or (at
// your option) any later version.... | [
"vkaytsanov@yahoo.com"
] | vkaytsanov@yahoo.com |
33b4f850c089d543f167ee5af51c48d38dfe321e | ee4646a74ac1bffc0d0d4f0dc33fef84ccd1959b | /TwoDiskinaRectangle/code/RandomConditions01.hpp | c7d90340aa8ec4bb2cc9da433abd0e5c679a01a9 | [] | no_license | kzapfe/ProblemasSanders | b93900ec296553fb0ff9c82389ce03451761760f | d59fbf28124dcbc41ccce378b96d77f5df944123 | refs/heads/master | 2021-06-23T16:43:58.766280 | 2021-01-25T21:14:35 | 2021-01-25T21:14:35 | 19,159,390 | 0 | 0 | null | 2019-02-25T16:38:48 | 2014-04-25T20:17:52 | Jupyter Notebook | UTF-8 | C++ | false | false | 6,785 | hpp |
void RandomizaDiscos(Disco &Uno, Disco &Dos, double Energia, gsl_rng *r){
//Rutina que les da condiciones iniciales a los Discos
// a partir de la energia y el espacio Disponible
//Think about this...: No es posible poner Ni siquiera el primero donde sea.
//especialmente si son gordos. El centro, por ejemplo,... | [
"kzapfe@gmail.com"
] | kzapfe@gmail.com |
3e787f4580cde5333ead60855a43bf6969214f8b | dd80a584130ef1a0333429ba76c1cee0eb40df73 | /bionic/libc/bionic/sbrk.cpp | 6c9b534c322bce2462e19b2a501f276a2111987f | [
"MIT",
"BSD-4-Clause-UC",
"LicenseRef-scancode-warranty-disclaimer",
"BSD-3-Clause",
"Martin-Birgmeier",
"dtoa",
"HPND",
"SunPro",
"CMU-Mach",
"ISC",
"Apache-2.0",
"BSD-2-Clause",
"BSD-4-Clause",
"BSD-4.3TAHOE",
"LicenseRef-scancode-ibm-dhcp"
] | permissive | karunmatharu/Android-4.4-Pay-by-Data | 466f4e169ede13c5835424c78e8c30ce58f885c1 | fcb778e92d4aad525ef7a995660580f948d40bc9 | refs/heads/master | 2021-03-24T13:33:01.721868 | 2017-02-18T17:48:49 | 2017-02-18T17:48:49 | 81,847,777 | 0 | 2 | MIT | 2020-03-09T00:02:12 | 2017-02-13T16:47:00 | null | UTF-8 | C++ | false | false | 2,009 | cpp | /*
* Copyright (C) 2008 The Android Open Source Project
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* * Redistributions of source code must retain the above copyright
* notice, t... | [
"karun.matharu@gmail.com"
] | karun.matharu@gmail.com |
2bd178dfa92e6b565574467d733669ca73d3af47 | cf26a6c225fe2aed5b0a97ea0d2ecc108bf68e61 | /src/dict/dictMath.cpp | 1660ea4910680a585d96ef2419cc861733bb6e65 | [
"MIT"
] | permissive | 0918nobita/Paraphrase | 886f5c70fdebeb5cd15997a2b469ce02ba2e6b96 | 1c2a74d664ebd6f6ab663bbc41c4e72bed288c1a | refs/heads/master | 2023-03-05T14:59:31.443171 | 2021-02-22T15:25:34 | 2021-02-22T15:25:34 | 340,126,593 | 0 | 0 | MIT | 2021-02-18T17:31:17 | 2021-02-18T17:31:16 | null | UTF-8 | C++ | false | false | 32,708 | cpp | #define _USE_MATH_DEFINES
#include <stdlib.h>
#include <time.h>
#include <math.h>
#include <climits>
#include <cfloat>
#include <cmath>
#include <boost/multiprecision/cpp_int.hpp>
#include "externals.h"
#include "typedValue.h"
#include "stack.h"
#include "word.h"
#include "context.h"
#include "mathMacro.h"
const B... | [
"koji.iigura@gmail.com"
] | koji.iigura@gmail.com |
8da3f1899d97d82cc68e98b979f6eb1e6158958a | c0e2fc2049cdb611b44af8c3a656d2cd64b3b62b | /src/File/Unix2Dos/readahead.h | d7e92c60a34c80f6b013f36eff1f551ac6680150 | [
"Apache-2.0"
] | permissive | github188/SimpleCode | f9e99fd6f3f73bb8cc6c1eea2a8fd84fff8dd77d | 781500a3b820e979db64672e3f2b1dc6151c5246 | refs/heads/master | 2021-01-19T22:53:56.256905 | 2016-02-02T08:02:43 | 2016-02-02T08:02:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 462 | h |
#ifndef H__READAHEAD
#define H__READAHEAD
#include <stdio.h>
class readahead
{
public:
readahead(const char *filespecs, unsigned size, bool binary = false);
~readahead();
bool open() const {return fp != NULL;}
int operator [](int i) const {return buffer[i];}
void advance(unsigned count = 1);
... | [
"echo_eric@yeah.net"
] | echo_eric@yeah.net |
b4acd87b4b1acee6054244b4c2016d268cd74672 | 243e8662495072d8f84ed2c6c55de15dcc219d6a | /tyrrellJustin_VGP463_newProject/Student.Point.h | 0c815161b431d7feb7a683de3809c898ae99872e | [] | no_license | pdx1138/OpenGLRTE | 1c0e9d5256bd7641342cc47ed2b6d2a54b15b3ea | f16fe5800808d92a67c3035deb2b51e0b6c0c2e8 | refs/heads/master | 2021-01-10T05:25:15.032264 | 2016-08-25T04:02:41 | 2016-08-25T04:02:41 | 53,845,542 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 564 | h | // Student.Point.h
///////////////////////////////////////////////////////////////////////////////////////////////
#pragma once
class Point {
public:
float x, y, z, w;
Point();
Point(float x, float y, float z, float w);
void Normalize();
float Length();
Point operator-(const Point &p) const;
Point oper... | [
"justinedwardtyrrell@gmail.com"
] | justinedwardtyrrell@gmail.com |
75a059e7939ad200b055b10cab14715eb2a3406c | bae731d82d044cf02239ee63954b7d60da2b8a04 | /GitHubTutorial/Tutorial.cpp | 7aa3f745fc34113ced4cc6948c5894af27dccd28 | [] | no_license | ktj9279/GitHubTutorial | bf0bd63eb3246123c027fa01e87046bccf361c2b | bf0600a355eb43ebaba86b042b41aafc9e400013 | refs/heads/master | 2020-12-30T13:20:11.943397 | 2017-05-15T15:59:18 | 2017-05-15T15:59:18 | 91,345,529 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 114 | cpp | #include <iostream>
using namespace std;
int main(int argc, char* argv[]) {
cout << "Hello world";
return 0;
} | [
"ktj9279@gmail.com"
] | ktj9279@gmail.com |
fa6a15eb82d679b596ea8c6057f59f07d076312e | 5e99905feaadc98c4c89e6900151ec922d480735 | /561.cpp | beb250755f4ae5c2955f103c1cfa897d3c42cd6f | [] | no_license | suraj021/LeetCode-Solutions | 0bc7407fa35e1a9390fd32325c2fca2e50482c0f | 02f3a4302f93443bf2c79935717770abd9b79d03 | refs/heads/master | 2020-06-10T05:57:06.344586 | 2020-03-21T07:22:00 | 2020-03-21T07:22:00 | 76,068,210 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 256 | cpp | class Solution {
public:
int arrayPairSum(vector<int>& nums) {
sort(nums.begin(), nums.end());
int sum= 0;
for(int i= 0; i< nums.size(); i+= 2){
sum+= nums[i];
}
return sum;
}
}; | [
"surajbora021@gmail.com"
] | surajbora021@gmail.com |
ce32a8056f4e17b1394eda68a0efacb462cdb1de | 5a60d60fca2c2b8b44d602aca7016afb625bc628 | /aws-cpp-sdk-connect/include/aws/connect/model/UpdateSecurityProfileRequest.h | a8cdf60dc4961cad427dea4829b428f3ae88b144 | [
"Apache-2.0",
"MIT",
"JSON"
] | permissive | yuatpocketgems/aws-sdk-cpp | afaa0bb91b75082b63236cfc0126225c12771ed0 | a0dcbc69c6000577ff0e8171de998ccdc2159c88 | refs/heads/master | 2023-01-23T10:03:50.077672 | 2023-01-04T22:42:53 | 2023-01-04T22:42:53 | 134,497,260 | 0 | 1 | null | 2018-05-23T01:47:14 | 2018-05-23T01:47:14 | null | UTF-8 | C++ | false | false | 17,329 | h | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/connect/Connect_EXPORTS.h>
#include <aws/connect/ConnectRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include... | [
"aws-sdk-cpp-automation@github.com"
] | aws-sdk-cpp-automation@github.com |
89f8919bc59d49f1755805cb6d61db604c6368f2 | 26ee8ad1a8675e07cc5f364dc1468f6091c10fba | /VertexStruct.h | ab85711b05cfebeb0bde30282ab177d67ac521ab | [] | no_license | Yuriy29/GL2DImageTo3DOOP | f989e8b74623cbd1c04d080a9b15fd4744b51131 | cfc02dcf42364f8c2e919a99bd5e203833262147 | refs/heads/master | 2021-01-02T23:07:42.953408 | 2014-12-23T14:12:52 | 2014-12-23T14:12:52 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 253 | h | #pragma once
#include "glm/glm.hpp"
#include "glm/gtx/transform.hpp"
#include "glm/gtc/type_ptr.hpp"
class VertexStruct
{
public:
glm::vec3 *pos;
glm::vec3 *normal;
glm::vec2 *tex;
VertexStruct(int u, int v);
~VertexStruct(void);
};
| [
"dopayura@gmail.com"
] | dopayura@gmail.com |
c46144909dab589026a90a8ecf1b5c7d16dbeef8 | c3bdc0d043569dc98e9724e06fd3147d7fac551b | /ezhg/2016whatever/tobbsor_mira1_vagynem/jav_stillnoorwat/Enor.txt | b2d730f947e84a3a503e502cbcafdd609f25f77f | [] | no_license | 8emi95/elte-ik-prog | efc20783a60432a908fd3a56e0e94a37238f9de6 | bf51ddd880d1d8e35b4020e6fdb3f8f95ba9127f | refs/heads/master | 2020-07-25T09:10:54.122984 | 2019-03-16T22:47:27 | 2019-03-16T22:47:27 | 175,998,663 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 565 | txt | #ifndef ENOR_H
#define ENOR_H
#include<iostream>
#include<vector>
#include<fstream>
struct Par
{
int adag;
std::string tipus;
};
struct Adat
{
std::vector<std::string> rovidetes;
int asztalszam;
std::string ido;
std::vector<Par> p;
};
class Enor
{
public:
Enor(std::string fnev);... | [
"8emi95@inf.elte.hu"
] | 8emi95@inf.elte.hu |
a8984118ad9afcf91dc277366a6459ac221d570e | b480d9f90f05dc65615e902dec9a402589bc1f14 | /player.cpp | 7498d3427af1954b1f686ee1750bdf5eaf0c167f | [] | no_license | marcus-elia/random-terrain | fd99c35d49174f2877efb1915ff605b9813ed9bb | 8be8d540cb9efb44a994f7fbaf09f2d57ed21512 | refs/heads/master | 2022-12-22T00:08:32.417374 | 2020-09-09T22:35:11 | 2020-09-09T22:35:11 | 292,424,849 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,663 | cpp | #include "player.h"
Player::Player()
{
location = {0, 10, 0};
lookingAt = {0, 10, -10};
up = {0, 20, 0};
speed = 2;
velocity = {0, 0, 0};
sensitivity = 0.1;
height = 20;
radius = 5;
initializeAngles();
initializeSphericalDirection();
maxDistanceFromSpawn = 5120;
isGround... | [
"mselia@uvm.edu"
] | mselia@uvm.edu |
56299c6b59839b5a8ffa191c66583a14a567156c | 4e32963cbed9c80f04215ea77f8a5a4a224ae2db | /headers/ProjectiveTextureMapping.h | 387a9eec461915e2d12c0f4b3fd1e4b97a09c58d | [] | no_license | DontSuCharlie/DualPhotography | 9c7458f34e00abb147ab8c754a0e84b3873cba6e | 6b895c61460e8bbbda71625b595ab639d381aea4 | refs/heads/master | 2020-03-08T19:20:17.775540 | 2018-04-26T08:25:47 | 2018-04-26T08:25:47 | 128,348,630 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 209 | h | #pragma once
#include <vector>
class ProjectiveTextureMapping
{
public:
ProjectiveTextureMapping(vector<float> polygon_verts, Framebuffer img, function pointer for search alg, error function);
private:
}; | [
"dragonsmirth@gmail.com"
] | dragonsmirth@gmail.com |
e07b82a2411e1c0b8aee1c592d519c5e3b03d236 | fb7efe44f4d9f30d623f880d0eb620f3a81f0fbd | /chrome/browser/ui/ash/launcher/arc_app_window.cc | cc201ceeba1f7e1c0423c08911351e6a3f776225 | [
"BSD-3-Clause"
] | permissive | wzyy2/chromium-browser | 2644b0daf58f8b3caee8a6c09a2b448b2dfe059c | eb905f00a0f7e141e8d6c89be8fb26192a88c4b7 | refs/heads/master | 2022-11-23T20:25:08.120045 | 2018-01-16T06:41:26 | 2018-01-16T06:41:26 | 117,618,467 | 3 | 2 | BSD-3-Clause | 2022-11-20T22:03:57 | 2018-01-16T02:09:10 | null | UTF-8 | C++ | false | false | 4,580 | cc | // Copyright 2017 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.
#include "chrome/browser/ui/ash/launcher/arc_app_window.h"
#include "base/strings/utf_string_conversions.h"
#include "chrome/browser/ui/app_list/arc/arc_... | [
"jacob-chen@iotwrt.com"
] | jacob-chen@iotwrt.com |
cdd23a71ee3d6c329803fe457fbafdac5310d32e | 97bb7da626def8ad206be815c64348778f550d38 | /384.shuffle_an_array/ShuffleAnArray.h | 9426096b573b29da262d30a55502100ad30bb0e1 | [] | no_license | songkey7/leetcode | c242daafe33cc6035461fc2f3e751489d8b2551e | 2f72c821bd0551313813c9b745ddf5207e1cb71c | refs/heads/master | 2021-05-14T09:50:35.570822 | 2020-04-10T01:20:11 | 2020-04-10T01:20:11 | 116,336,985 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 341 | h | //
// Created by Qi Song on 18/04/2018.
//
#ifndef LEETCODE_SHUFFLEANARRAY_H
#define LEETCODE_SHUFFLEANARRAY_H
#include "../Base.h"
class ShuffleAnArray: public Base {
vector<int> _vec;
vector<int> reset();
vector<int> shuffle();
vector<int> shuffle2();
public:
void run();
};
#endif //LEETC... | [
"qsong@freewheel.tv"
] | qsong@freewheel.tv |
75eb35f6900edd26d64b901b648d1c7ac43f22d1 | 3c82ea39e4c0698b613e91a82c1b2d940742d16d | /CP_Air/CP_Air/MainForm.cpp | 93325d5e54a3fa832c3ab62d3a5bb70b6b12fb1c | [] | no_license | SergeyGorbanenko/Gorbanenko_CourseProject | 6463e47806ab212373721732d124002d9bf412f9 | 6368b13fb944403b44f5a7eaa2e3632a2b54efea | refs/heads/master | 2021-07-01T03:41:13.437408 | 2017-09-22T05:56:36 | 2017-09-22T05:56:36 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 295 | cpp | #include "MainForm.h"
using namespace CP_Air;
using namespace CP_Air::Windows::Forms;
[STAThreadAttribute]
int main(array<System::String ^> ^args){
Application::EnableVisualStyles();
Application::SetCompatibleTextRenderingDefault(false);
CP_Air::MainForm form;
Application::Run(%form);
} | [
"xxx1607xxx@mail.ru"
] | xxx1607xxx@mail.ru |
43f2aee1d4802330a718f079c550386425c697cb | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/httpd/gumtree/httpd_old_hunk_5033.cpp | b47d5cd9bce37d0eac29a31e091e2fee7ff43b78 | [] | no_license | niuxu18/logTracker-old | 97543445ea7e414ed40bdc681239365d33418975 | f2b060f13a0295387fe02187543db124916eb446 | refs/heads/master | 2021-09-13T21:39:37.686481 | 2017-12-11T03:36:34 | 2017-12-11T03:36:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 283 | cpp | }
apr_file_open_stderr(&errfile, pool);
rv = apr_getopt_init(&opt, pool, argc, argv);
if (rv != APR_SUCCESS) {
apr_file_printf(errfile, "Error: apr_getopt_init failed."NL NL);
return 1;
}
if (argc <= 1) {
usage();
return 1;
| [
"993273596@qq.com"
] | 993273596@qq.com |
92a2a7869ea67931392747a28983dc977eb6ed3f | 2fb12ae9a322f25c9fde98196aa37fb53d1d0c6a | /sir.cpp | 7fba1101aa6392264e61f4c18f12a56a2004315b | [] | no_license | Theodorulus/HW-1-OOP | d090479828fed0fde2ba99fe8ea876be85c57fe6 | 749c621b8144396f4bfc657f23710a33938dd8ed | refs/heads/master | 2023-06-09T03:34:32.540229 | 2021-06-26T08:26:58 | 2021-06-26T08:26:58 | 250,359,460 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,791 | cpp | #include <iostream>
#include "sir.h"
using namespace std;
Sir::Sir ()
{
s = new char[1];
s[0] = '\0';
}
Sir::Sir(char *str)
{
int nr, i;
for(nr = 0; str[nr] != '\0'; nr++); // len(str)
s = new char[nr + 1]; // nr + 1 ca sa las un caracter liber pentru linistea mea
for(i = 0; i < nr; i++)
... | [
"theo_tudorache@yahoo.com"
] | theo_tudorache@yahoo.com |
b80807145417010050f76fd09b086c4ec355ad83 | 8c0ce0f8a28e2a738bf6248e010fb9e9be55ad01 | /PAT-Test/advanced/1017.cpp | 0da8188b44d08b47ad32f971dbf5971e28b81e86 | [
"MIT"
] | permissive | niuyi1017/algorithm-demos | ff0295a21e22454c8efe43e95fba84c1fd27f33e | 298ef237a13e3f80a03f7780a3cbd52fb1cdac09 | refs/heads/master | 2020-03-29T21:48:37.048323 | 2019-09-08T11:34:23 | 2019-09-08T11:34:23 | 150,388,748 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,268 | cpp | #include <iostream>
#include <vector>
#include <algorithm>
using namespace std;
struct node
{
int come, time;
} tempCustomer;
bool cmpl(node a, node b)
{
return a.come < b.come;
}
int main()
{
int n, k;
cin >> n >> k;
vector<node> customs;
for (int i = 0; i < n; i++)
{
int hh, mm, ss, time;
scan... | [
"1096196462@qq.com"
] | 1096196462@qq.com |
4036f0254dae773e6da79d3cdb22ada2d2421243 | 027ba1e389d45e253dce892220555d6f9826f0cd | /packages/ipnoise-router/router-rc/src/objects/client/handlerTelnet/command/clientHandlerTelnetCommandGetContactList.h | 1c5f0b6f2d29ea61d6e296b6e0ed6b183075f11d | [] | no_license | m0r1k/IPNoise | 1f371ed6a7cd6ba5637edbbe8718190d7f514827 | dbab828d48aa1ab626fd528e71b1c28e3702be09 | refs/heads/master | 2021-01-02T23:09:51.193762 | 2018-02-04T11:23:27 | 2018-02-04T11:23:27 | 99,478,087 | 1 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 742 | h | using namespace std;
class ClientHandlerTelnetCommandGetContactList;
#ifndef CLIENT_HANDLER_TELNET_COMMAND_GETCONTACTLIST_H
#define CLIENT_HANDLER_TELNET_COMMAND_GETCONTACTLIST_H
#include "objects/client/handlerTelnet/clientHandlerTelnetCommandAbstract.h"
#include "objects/client/handlerTelnet/clientHandlerTelnetObj... | [
"interferation@gmail.com"
] | interferation@gmail.com |
8fd37890d15b483ecb7af75560707283a6e8ccc8 | 412004775bc7b039b49c271da524768961dc2bd5 | /Div2_B/Airport.cpp | 0a111946ca68663ed3a04ecbef06f511cf122a40 | [] | no_license | LUTLJS/CodeForces | 6ee1f080dbbe9c733d2453f30a5eeaaa605b7cb2 | ef74dc71a37f37356baa81bceb25899a83440b22 | refs/heads/main | 2023-04-22T17:56:48.782431 | 2021-05-10T07:49:42 | 2021-05-10T07:49:42 | 328,949,731 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 816 | cpp | #include <bits/stdc++.h>
using namespace std;
int main(){
ios::sync_with_stdio(0);cin.tie(0);
int n,m;cin>>n>>m;
int nn=n;
int a[m],b[m];
for(int i=0;i<m;i++){int e;cin>>e;a[i]=e;b[i]=e;}
sort(a,a+m,greater<int>());
sort(b,b+m,greater<int>());
int maxMoney=0;
while(true){
int... | [
"noreply@github.com"
] | noreply@github.com |
f62398e008adf22553e576bc8a2ff6771aa7fc4c | 4be23cbe9ee3d084360c5c2197de5cc7b64ef393 | /DP/Miscellaneous/samSubstr.cpp | db3ba0a7afe40d0638ce7fc5f94d3cbad8291c9b | [] | no_license | Coderangshu/DP-Recursion | af539dcf850094e6d2055452f782a1ff44102ec8 | 08284609c59f2845dcf64b06e87b0103bb9075b0 | refs/heads/master | 2023-06-08T04:06:58.805759 | 2021-06-29T06:48:59 | 2021-06-29T06:48:59 | 362,504,755 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 659 | cpp | // Question link
// https://www.hackerrank.com/challenges/sam-and-substrings/problem
#include <bits/stdc++.h>
#define llint long long int
#define MOD 1000000007
using namespace std;
llint memo[200001];
llint recursion(string s,llint ans){
llint n = stoi(s);
if(memo[n]!=-1) return 0;
if(s.length()==1){
memo[n] =... | [
"senguptaangshuman17@gmail.com"
] | senguptaangshuman17@gmail.com |
c8f06a067819aa49c61a0d6789f49560bd5a284d | b6bfc9dc312ebc833b5eda2d8a4702dde090eff3 | /modules/prediction/evaluator/vehicle/jointly_prediction_planning_evaluator.cc | d0b614cc1a0026fc8eb6786f88c52d3199b28754 | [
"Apache-2.0"
] | permissive | ZZG5220/apollo | fb93c36fda9864338252f97e37243138bb7c949c | 77de0aace2533db7d16c6ea8b995ca8bb8e3229d | refs/heads/master | 2023-07-11T11:59:24.670534 | 2021-08-09T05:59:41 | 2021-08-09T05:59:41 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 21,171 | cc | /******************************************************************************
* Copyright 2021 The Apollo Authors. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
... | [
"jiangjianan@baidu.com"
] | jiangjianan@baidu.com |
140be8a93b05128eea4c6d3237f02a0d06e2a9d1 | 211ad6cdb983d71eedf79877889b6fb5d643dd24 | /CA1-2018-s4901441/plane.h | cf96c3ea501131cbb2b8fc845e33ee4e70df8569 | [] | no_license | s4901441/Physics-Engine-by_XiaoouNie | 3d2221856f1287b6f63dc0f03afcbb629adef5eb | 8e3e969d4f9e49881db7d3973d1a0a9ee92370e8 | refs/heads/master | 2022-05-27T21:19:59.828472 | 2020-05-01T12:45:39 | 2020-05-01T12:45:39 | 260,423,091 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 657 | h | #ifndef PLANE_H
#define PLANE_H
#include "Particles.h"
#include <vector>
#include <ngl/AbstractVAO.h>
#include <memory>
class plane : public Particles
{
public:
plane(ngl::Vec3 _P, ngl::Vec3 _v, ngl::Vec3 _f, float _mass, const std::string &_shaderName,
Emitter *_parent,ngl::Colour _c);
virtual ~plane();
... | [
"noreply@github.com"
] | noreply@github.com |
0f9bbb1b4b77c4ff2d3a709fc259be2fdf3b9e22 | f03d25a1bc27880f4763166e7d60f1415e9c2738 | /condition_variable().cpp | 3c6f79993b31896f7019a2d8e1bc3d2e622663ed | [] | no_license | bashar404/Threads | dc2644af98cf14def91de900fdc6ffc4e2291e5a | 1257038a54d1870fdaf8b05ef012200f789c65c9 | refs/heads/master | 2023-02-18T01:12:48.125652 | 2020-12-29T00:54:04 | 2020-12-29T00:54:04 | 290,917,926 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,759 | cpp | // A condition variable is an object able to block the calling thread until notified to resume.
// It uses a unique_lock (over a mutex) to lock the thread when one of its wait functions is called. The thread remains blocked until woken up by another thread that calls a notification function on the same condition_variab... | [
"noreply@github.com"
] | noreply@github.com |
3c6e55d884e31ea325353a88597771b35ca816cb | fc84128b2d456fa241579c52d2af91582e4076f9 | /20_app/Vision/VisionSourceDll/include/visionresourcedll.h | 8ba62618d05e3c8a28ab6f5f72c088544bc11ae5 | [] | no_license | RealCrond/Herman | ccaf5d436799fe5263da8cd9e21c4ab5d8c0445e | 0559eee19cecfe47c14405892014cf52121cee02 | refs/heads/master | 2022-11-13T00:04:36.560217 | 2020-07-02T01:26:25 | 2020-07-02T01:26:25 | 255,483,055 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 598 | h | #pragma once
#include <Windows.h>
#include <tchar.h>
//IDR_ZIPRES
#include "resource.h"
#ifdef VISIONSOURCEDLL_EXPORTS
#define VISIONRES_API __declspec(dllexport)
#else
#define VISIONRES_API __declspec(dllimport)
#endif // VISIONSOURCEDLL_EXPORTS
class VISIONRES_API CVisionResHandle
{
public:
CVisionResHandle()
... | [
"liuzizhe01@gmail.com"
] | liuzizhe01@gmail.com |
bec2c116ba05bdc00a4bfce6004a9a07d1b142fc | b45d0da3f87dab3ad024642d918f0427c513490a | /MatrixGame.cpp | 8f3ca904b020dc65390f740d5248ae15c0665a02 | [] | no_license | Nikhil569/Codeforces | 604c69ca738eef4c1a958bf7988c34dbd224f213 | 17c3ca67e1ca3f39e0858bdd675bf1557095ff99 | refs/heads/master | 2022-11-17T19:24:25.527564 | 2020-07-24T22:44:21 | 2020-07-24T22:44:21 | 256,477,176 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 631 | cpp | #include <bits/stdc++.h>
using namespace std;
int main(int argc, char const *argv[])
{
int t;
cin>>t;
for(int i=0;i<t;i++){
int n,m;
cin>>n>>m;
int a[n][m];
int count_row = 0;
int count_col = 0;
for(int j=0;j<n;j++){
int sum=0;
for(int k=0;k<m;k++){
cin>>a[j][k];
sum = sum + a[j][k];
... | [
"noreply@github.com"
] | noreply@github.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.