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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
d13703d753e8b4d43cccbd529f7fc0878c21b293 | fb9723dd49f6c3d08007607abb56aac46e914d52 | /mods/mod_cavebot/StdAfx.cpp | d1abdcc5c02766bc26559ceabe4015625678c673 | [] | no_license | zekoman/tibiaauto | 4b4a2c469e68bb3393a60ebd737866f0bcb90f2b | 9395d210fc3cb177f77f6421af37d3977cfb8e71 | refs/heads/master | 2020-04-12T22:45:14.424621 | 2012-07-14T17:29:21 | 2012-07-14T17:29:21 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 205 | cpp | // stdafx.cpp : source file that includes just the standard includes
// mod_cavebot.pch will be the pre-compiled header
// stdafx.obj will contain the pre-compiled type information
#include "stdafx.h"
| [
"zippoxer@gmail.com"
] | zippoxer@gmail.com |
60c74f63ba47df4782befb6113d5b3693e379bb7 | ec3184b57577effad1a982c903298c0e511b5a4b | /C/CProgramming/C3rdWeek/ConsoleColorChange.cpp | 067a599f5f19c434a74ff600b6f1d01a45740c56 | [] | no_license | BckLily/yeilGroupStudy | 6535c58922407e0256874bfade305f46541e1e09 | 3e30c19a771baab23636591f28e3d26bd51ae072 | refs/heads/main | 2023-07-17T23:03:55.500076 | 2021-08-29T08:18:39 | 2021-08-29T08:18:39 | 393,947,582 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 545 | cpp | #include "ConsoleColorChange.h"
// Console Font Change
void FontColorChange(unsigned short textColor, unsigned short backColor) {
SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE), textColor | (backColor << 4));
}
//"mode con cols=30 lines=30 | title ?쒕ぉ紐?
void ConsoleWindowSize(unsigned short cols, unsigned... | [
"52183009+BckLily@users.noreply.github.com"
] | 52183009+BckLily@users.noreply.github.com |
32f266e25edad8c7a1dec51de1bff3bd6d248b48 | b312a8b60827cff6c7db3538785197c0ac643671 | /source/cortex-m4/test-rtos/application/hwtimer.h | b6492454b4d904f039864203bf787cc52a98ae71 | [] | no_license | sigmadrone/sigmadrone | 8a05f0d04612e82d5fd50d067e0aa86aa20b2d9f | 662c0fd5e09d3fcf9d5a9cd9fb147700161ad731 | refs/heads/master | 2021-01-23T20:43:45.388369 | 2018-10-07T23:32:41 | 2018-10-07T23:32:41 | 36,966,425 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 5,451 | h | /*
* HwTimer.h
*
* Created on: Jan 13, 2015
* Author: svetlio
*/
#ifndef TEST_PRINTF_HWTIMER_H_
#define TEST_PRINTF_HWTIMER_H_
#include "stm32f4xx_hal.h"
#include "functionptr.h"
#include <cassert>
#include <vector>
#include "units.h"
#include "gpiopin.h"
class HwTimer {
public:
enum Mode {
MODE_NOT_I... | [
"sdvassilev@yahoo.com"
] | sdvassilev@yahoo.com |
038a4de57c384634827e79c0a0b4422d9cb96bdd | 0a9034344f15e42b57a8ae8e50214a8ef4e3b6ab | /BattleOfFightWar/RangedWeapon.h | 3e237d0c972615bc78e95cbcf7fb5e56853f99bf | [] | no_license | thawhtaik/Battle-of-Fight-War | 27f19119f366a910cfe9dc05ee53d90ded035b82 | ef3db676f65b800d1da76c4abe8a9862f1ec99e6 | refs/heads/master | 2020-05-17T17:55:33.275032 | 2012-03-09T02:02:12 | 2012-03-09T02:02:12 | 3,347,737 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 447 | h | #ifndef _WEAPON_RANGED_
#define _WEAPON_RANGED_
#include "Weapon.h"
#include "Bullet.h"
#include "ProjectileList.h"
#define WEAPON_RANGED_WIND_UP_TIME_NORMAL 1
#define WEAPON_RANGED_MUZZLE_FLASH_OFFSET 0
extern ProjectileList GlobalProjectileList;
class RangedWeapon: public Weapon
{
public:
RangedWeapon(int n... | [
"thaw.htaik@gmail.com"
] | thaw.htaik@gmail.com |
491e50e62555b444cc1edd1982b4b63435c80467 | 6c468d281898335a713f179509eb7f89310a0c14 | /Tower_Defense/TowerDefense/Source/Tile.cpp | 079ae5421f43c9f47ed6d5ea763012cf3c472684 | [] | no_license | Raymenes/Rui_Zeng_Portfolio | 1a258b07126dce6c9234fc3e96aa795bb9e30818 | 9738379f8af7fe3bfe2eefde082da64f418b03ce | refs/heads/master | 2021-01-10T16:11:58.115079 | 2015-12-17T06:02:52 | 2015-12-17T06:02:52 | 43,798,159 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 446 | cpp | //
// Tile.cpp
// Game-mac
//
// Created by Rui Zeng on 10/2/15.
// Copyright © 2015 Sanjay Madhav. All rights reserved.
//
#include "Tile.hpp"
#include "Game.h"
IMPL_ACTOR(Tile, Actor);
Tile::Tile(Game& game)
: Actor(game), isBlocked(false), isPath(false), isSpecial(false)
{
mMeshComponent = MeshCompone... | [
"jean.jacques.menes@gmail.com"
] | jean.jacques.menes@gmail.com |
9a132574d50e1a089ad8a777cf886bcc280d5e1f | 74aec8287f60eb75ae6f4dfcb82f7b1b24be8607 | /clangTool/IfInfo.h | 7a9e0518dbb280c38953462d114b47f7c7c646c4 | [
"BSD-2-Clause"
] | permissive | ayushmalikofficial/Hermes | 6849528ebb8d90750503538e918fe1b534fd84c2 | 4bf70ac70f331cb1dfb01be70dae85d4a3bcdf88 | refs/heads/master | 2020-10-01T18:56:42.142693 | 2019-07-26T05:07:33 | 2019-07-26T05:07:33 | 227,603,753 | 1 | 0 | NOASSERTION | 2019-12-12T12:38:42 | 2019-12-12T12:38:41 | null | UTF-8 | C++ | false | false | 974 | h | /*
* Dhriti Khanna (dhritik@iiitd.ac.in)
*
* Class for storing 'if' data. Whenever an'if' is encountered, an object of this class is created and
* pushed into the stack being maintained for storing such 'ifs'.
*/
#ifndef IFINFO_H
#define IFINFO_H
#include <vector>
#include <stdio.h>
#include <iostream>
#include <str... | [
"dhritik@iiitd.ac.in"
] | dhritik@iiitd.ac.in |
1b9d1d45f6dbdd5a35102be5eefbd7b08e437193 | 603ad7bb3df5a02d222acefec08ce4f94d75409b | /atcoder/sumiD.cpp | d9f4c45367a5a93d6bd41dd23649f474ef790160 | [] | no_license | MijaelTola/icpc | 6fc43aa49f97cf951a2b2fcbd0becd8c895abf36 | ee2629ba087fbe7303743c84b509959f8d3fc9a0 | refs/heads/master | 2023-07-09T00:47:42.812242 | 2021-08-08T00:44:10 | 2021-08-08T00:44:10 | 291,160,127 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 883 | cpp | #include <bits/stdc++.h>
using namespace std;
int n;
string s;
vector<int> v[11];
int main() {
cin >> n >> s;
for (int i = 0; i < n; ++i)
v[s[i] - '0'].push_back(i);
int ans = 0;
for (int i = 0; i < 100; ++i) {
string x = to_string(i);
while(x.size() < 2) x = "0" + ... | [
"mija.tola.ap@gmail.com"
] | mija.tola.ap@gmail.com |
63d8c6de73fd35da1e4c63de6cd42b70578eca25 | 867748c43510579840e061f2fa23ce46f6d7c87c | /code/server/epoller.cpp | b97b026aa58ea310fd632b0980829b9b91fedf61 | [] | no_license | IceCream-jy/HTTPWebServer | 22c45689deab9b2517e0bae345ef6df3f8517cdb | 9b845b0958b3ade170f20ea6d729ad45c1d1a2ef | refs/heads/main | 2023-05-29T09:39:19.996463 | 2021-06-04T01:27:28 | 2021-06-04T01:27:28 | 346,352,459 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,137 | cpp | #include "epoller.hh"
Epoller::Epoller(int maxEvent):epollFd_(epoll_create(512)), events_(maxEvent){
assert(epollFd_ >= 0 && events_.size() > 0);
}
Epoller::~Epoller() {
close(epollFd_);
}
bool Epoller::AddFd(int fd, uint32_t events) {
if(fd < 0) return false;
epoll_event ev = {0};
ev.data.fd = f... | [
"304754843@qq.com"
] | 304754843@qq.com |
7cc3015cd2b5956133dc26662e79c2b5886917df | 501591e4268ad9a5705012cd93d36bac884847b7 | /src/server/game/Grids/GridDefines.h | 4eef48579399f5bee0ad1c2c6c706f74ebc7e817 | [] | no_license | CryNet/MythCore | f550396de5f6e20c79b4aa0eb0a78e5fea9d86ed | ffc5fa1c898d25235cec68c76ac94c3279df6827 | refs/heads/master | 2020-07-11T10:09:31.244662 | 2013-06-29T19:06:43 | 2013-06-29T19:06:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,910 | h | /*
* Copyright (C) 2008 - 2011 Trinity <http://www.trinitycore.org/>
*
* Copyright (C) 2010 - 2012 Myth Project <http://mythprojectnetwork.blogspot.com/>
*
* Myth Project's source is based on the Trinity Project source, you can find the
* link to that easily in Trinity Copyrights. Myth Project is a private commun... | [
"vitasic-pokataev@yandex.ru"
] | vitasic-pokataev@yandex.ru |
f72446aa7c13fd6262a06f20e418f8cdeed9f8b9 | dddc4c4446efe13ecf66216f94f03f61ca343a4d | /higan/hiro/gtk/widget/radio-button.hpp | f1e77ead71c1878f5956615afe076f955768ee66 | [] | no_license | RianKatoen/Higan-Core | 65fdda51b89f04b437373387e83d507c0b1de0d1 | 62e39877da4bba23356cb65bc7c6dc6f0925bdc3 | refs/heads/master | 2023-03-25T13:09:20.181034 | 2021-02-22T21:32:56 | 2021-02-22T21:32:56 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 456 | hpp | #if defined(Hiro_RadioButton)
namespace hiro {
struct pRadioButton : pWidget {
Declare(RadioButton, Widget)
auto minimumSize() const -> Size;
auto setBordered(bool bordered) -> void;
auto setChecked() -> void;
auto setGroup(sGroup group) -> void;
auto setImage(const Image& image) -> void;
auto setOrien... | [
"PGGB@users.noreply.github.com"
] | PGGB@users.noreply.github.com |
e4a515c9465c9ad5331205b9b95b4d8095ceef27 | 92d32b057d2b9b94694c97eaefa4d9967b97265d | /Quartz Composer Interface /OSCMinuit/ip/UdpSocket.cpp | 48958f06abb33b24c04907567c0f76a11f80d624 | [
"Unlicense"
] | permissive | Minuit/minuit | 153db9cd216b54d30b0b43969e34a513448d0384 | 247dc9663b483434d0282423996c172669c3bb71 | refs/heads/master | 2020-12-09T14:59:16.544377 | 2017-02-24T17:14:44 | 2017-02-24T17:14:44 | 15,773,165 | 17 | 2 | null | 2014-11-04T14:37:05 | 2014-01-09T17:06:49 | Max | UTF-8 | C++ | false | false | 15,749 | cpp | /*
oscpack -- Open Sound Control packet manipulation library
http://www.audiomulch.com/~rossb/oscpack
Copyright (c) 2004-2005 Ross Bencina <rossb@audiomulch.com>
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files
(the "Software"), to ... | [
"pascal@baltazars.org"
] | pascal@baltazars.org |
c5bdd57284863add5acb6e5fa35738990d4541b0 | b4ba3bc2725c8ff84cd80803c8b53afbe5e95e07 | /Test/Test/Dev/Game/Layer/3D/POD3DLayer.cpp | 05b46c378371796208c6f725d36dbaafbde06300 | [
"MIT"
] | permissive | xueliuxing28/Medusa | c4be1ed32c2914ff58bf02593f41cf16e42cc293 | 15b0a59d7ecc5ba839d66461f62d10d6dbafef7b | refs/heads/master | 2021-06-06T08:27:41.655517 | 2016-10-08T09:49:54 | 2016-10-08T09:49:54 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,436 | cpp | // Copyright (c) 2015 fjz13. All rights reserved.
// Use of this source code is governed by a MIT-style
// license that can be found in the LICENSE file.
#include "TestPreCompiled.h"
#include "POD3DLayer.h"
POD3DLayer::POD3DLayer(StringRef name/*=StringRef::Empty*/, const IEventArg& e/*=IEventArg::Empty*/) :BaseCaseL... | [
"fjz13@live.cn"
] | fjz13@live.cn |
db11432de161a30b42c1c1359a054ebac17826b6 | cb30423685deeed8f5720a287a32ce4cd1088563 | /gunrock/src/pr/pr_functor.hxx | 7b05aed514d5cb86b10796ebeb7a930f6908587e | [
"Apache-2.0"
] | permissive | YuxinxinChen/mini | d2dedc6ddb5e1fbc9a23d4b9ad42326147f84e7a | 5fd1a0eafe161ec91acdbeebca410f62edd82195 | refs/heads/master | 2020-12-01T15:35:51.658376 | 2019-12-27T11:29:38 | 2019-12-27T11:29:38 | 230,683,659 | 0 | 0 | Apache-2.0 | 2019-12-29T00:25:48 | 2019-12-29T00:25:47 | null | UTF-8 | C++ | false | false | 1,375 | hxx | #pragma once
#include "pr/pr_problem.hxx"
#include "intrinsics.hxx"
using namespace gunrock::util;
namespace gunrock {
namespace pr {
struct pr_functor_t {
static __device__ __forceinline__ bool cond_filter(int idx, pr_problem_t::data_slice_t *data, int iteration) {
float old_value = data->d_... | [
"yzhwang@ucdavis.edu"
] | yzhwang@ucdavis.edu |
409b7e111389c82094d6a4bc321fd3d3dda1f101 | fe837dfcc6026d7d2ba7319108598988900c278b | /src/main.h | 0e3fc7b90351c38f715a45d5b5947d418e5b81b4 | [
"MIT"
] | permissive | Peppsycoin/Peppsycoin-Wallet | ebef4539a402c5a75015ef20e0784b31cdc6d450 | 3af7ca9b3625649921dc2c65ff37a204e304fd79 | refs/heads/master | 2016-09-06T10:52:19.805566 | 2016-02-02T19:16:16 | 2016-02-02T19:16:16 | 34,880,435 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 44,986 | h | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2012 The Bitcoin developers
// Copyright (c) 2011-2012 Litecoin Developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef BITCOIN_MAIN_H
#define BITCO... | [
"ubu@mastermining.net"
] | ubu@mastermining.net |
68e29d55ac1ed372a0b96b6c374d13987052fee5 | 999ca2f4259c1ca9de722f70f77c434a8d839bac | /DirectX11_Starter/Camera.h | d0319f8526c60fc0e51fb19e287ffb6b090b913b | [] | no_license | KevinMGranger/discs | 02eaffb8f8b1902fd261ad4c19d54f9a7ce81920 | 5e03ee3823ce8399fbf22bdad1361b89ee2741fe | refs/heads/master | 2020-12-26T04:15:35.443469 | 2015-10-15T06:55:06 | 2015-10-15T06:55:06 | 45,007,476 | 0 | 0 | null | 2015-10-27T00:50:30 | 2015-10-27T00:50:30 | null | UTF-8 | C++ | false | false | 842 | h | #pragma once
#include <DirectXMath.h>
#include <Windows.h>
#include "SimpleShader.h"
using namespace DirectX;
/// <summary>
/// Basic camera.
/// </summary>
class Camera
{
private:
bool viewMatIsDirty;
XMFLOAT4X4 viewMat;
XMFLOAT4X4 projMat;
XMFLOAT3 position;
XMFLOAT3 direction;
float rotX;
float rotY;
p... | [
"42istheanswer.whatsthequestion@gmail.com"
] | 42istheanswer.whatsthequestion@gmail.com |
ebfe1b720078f2c32a0ecd42fbb387c6bef1abf6 | a3d6556180e74af7b555f8d47d3fea55b94bcbda | /components/services/storage/public/mojom/buckets/bucket_id_mojom_traits.cc | 62ea3c93ad282c00578ac68888c12d8803a7da1c | [
"BSD-3-Clause"
] | permissive | chromium/chromium | aaa9eda10115b50b0616d2f1aed5ef35d1d779d6 | a401d6cf4f7bf0e2d2e964c512ebb923c3d8832c | refs/heads/main | 2023-08-24T00:35:12.585945 | 2023-08-23T22:01:11 | 2023-08-23T22:01:11 | 120,360,765 | 17,408 | 7,102 | BSD-3-Clause | 2023-09-10T23:44:27 | 2018-02-05T20:55:32 | null | UTF-8 | C++ | false | false | 490 | cc | // Copyright 2021 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "components/services/storage/public/mojom/buckets/bucket_id_mojom_traits.h"
namespace mojo {
// static
bool StructTraits<storage::mojom::BucketIdDataView, storage::B... | [
"chromium-scoped@luci-project-accounts.iam.gserviceaccount.com"
] | chromium-scoped@luci-project-accounts.iam.gserviceaccount.com |
916bc105c18dca122b1ba854dcd11e8a125ae157 | b7913eb4849ffd4c60bdab08853bbaa7b38ff415 | /1034.cpp | 537192bd1782a7587cb7d1f45d48ae987d954a72 | [] | no_license | BismarckDD/HihoCoder | 21776854895183a56a16959a6229d4bd2094094a | 73e181d0002720ea5404ae9974df5d30e3be17f1 | refs/heads/master | 2021-01-13T00:59:22.293004 | 2017-01-24T13:54:43 | 2017-01-24T13:54:43 | 55,900,245 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,984 | cpp | #include <cstdio>
#include <cstring>
#include <algorithm>
#include <vector>
using namespace std;
#define maxn 100010
#define max(a, b) (a>b?a:b)
#define min(a, b) (a<b?a:b)
#define LL long long
#define ULL unsigned long long
#define UInt unsigned int
const ULL ULLMIN = 0;
const ULL ULLMAX = ~(ULL)(1<<63);
int n, m, l,... | [
"dodi@microsoft.com"
] | dodi@microsoft.com |
998bf72dcf017dfa24acd8a262f8dd4b6a83f3af | dc6f3df2c3fde15d5c157e58251cdf9401d58db8 | /CS148/HW/hw4/submit/HW4-starter-code/include/Shape.h | 9d870d0c1df3b8e48340f77379b03ce527857a58 | [] | no_license | xavi1989/cs231n | 1888a642dc912623f33afaa69172839c93a6cd86 | be23c07888d0dc4d2b0549985f1fa5f31b725c78 | refs/heads/master | 2020-04-15T14:36:12.594198 | 2018-01-24T19:21:50 | 2018-01-24T19:21:50 | 55,452,259 | 0 | 6 | null | 2016-04-25T21:17:37 | 2016-04-04T23:17:56 | Jupyter Notebook | UTF-8 | C++ | false | false | 367 | h | #ifndef SHAPE_H
#define SHAPE_H
#include <Eigen/Dense>
#include <Materials.h>
namespace Raytracer148 {
struct Ray {
Eigen::Vector3d origin, direction;
};
class Shape;
struct HitRecord {
Eigen::Vector3d position, normal;
double t;
Materials m;
};
class Shape {
public:
virtual ~Shape(){}
virtual HitRecor... | [
"wxia@nvidia.com"
] | wxia@nvidia.com |
d69c9e8cf49670817aa379a471ed42e112d2e75e | d18c4464af78f715ffc5d5addb1e005d018ca68d | /Voj/小希的迷宫 .cpp | 423167d2cbef9a89ef629bb8f32365fef4c9344a | [] | no_license | xiaoshidefeng/ACM | 508f71ba7da6e603e8c6fbbccfa9d68d497f15a9 | b646ae0a624fc5db2d7ac46b7baef9a2779fef7b | refs/heads/master | 2021-01-19T22:05:47.518409 | 2018-05-14T14:09:51 | 2018-05-14T14:09:51 | 82,564,505 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,142 | cpp | #include<stdio.h>
#include<string.h>
#include<stdlib.h>
#include<math.h>
#include<algorithm>
#include<map>
#include<set>
#include<queue>
#include<string>
#include<iostream>
using namespace std;
#define MID(x,y) ((x+y)>>1)
#define CLR(arr,val) memset(arr,val,sizeof(arr))
#define FAST_IO ios::sync_with_stdio(false);cin.t... | [
"1330661071@qq.com"
] | 1330661071@qq.com |
e1b7e12e8ee093cb4cacb88c4922da3b2cbae449 | d6f231aa64df78689776dde56ea7afb8cbd215f3 | /CodeForces/268A/12436915_AC_30ms_1860kB.cpp | 37762ea5e591aece11ccdecab2d89e1cdcc25c10 | [] | no_license | Linzecong/My-ACM-Code | 18de33b786d51fd0729b601349f0db0f8ff22141 | d5487590d400510f387d352cd0748e9224f7acdd | refs/heads/master | 2021-01-24T04:28:53.268943 | 2018-11-30T08:36:40 | 2018-11-30T08:36:40 | 122,939,894 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 386 | cpp | #include<iostream>
#include<algorithm>
using namespace std;
int h[100];
int g[100];
int main(){
int a;
cin>>a;
for(int i=0;i<a;i++){
cin>>h[i]>>g[i];
}
int ans=0;
for(int i=0;i<a;i++){
for(int j=0;j<a;j++){
if(i!=j)
if(h[i]==g[j])
... | [
"504603913@qq.com"
] | 504603913@qq.com |
8b16765dbcdf9433426e7c4deb37778c42de2fd8 | c0526eb4f180b3502acdb83ddc4835ad9bf876be | /Code/Engine/Core/Utility/ErrorWarningAssert.hpp | 0dd8ef17cec05ced9cba822865dab1168f649be7 | [] | no_license | achasedev/Engine | 502fb98b276962047ee27f0a2fb0b42be3d8f81d | 55ed183af05a7511b10e685e2d64b977bbfd5603 | refs/heads/master | 2022-05-22T06:38:40.721915 | 2019-05-07T22:09:39 | 2019-05-07T22:09:39 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,146 | hpp | #pragma once
//-----------------------------------------------------------------------------------------------
// ErrorWarningAssert.hpp
//
// Summary of error and assertion macros:
// #define ERROR_AND_DIE( errorText ) // "MUST not reach this point"; Show error dialogue, then shut down the app
// #define ERROR_RE... | [
"amchase@smu.edu"
] | amchase@smu.edu |
b79837dd5696da721741ed91ead3e23044964b54 | 08b8c25f7fea9970647f31469e4be3bc48e5b86d | /uva-online-judge/accepted-solutions/725 - Division.cpp | 3bdfe6f91049554c05075dd75f31d723bf7db1e2 | [] | no_license | SharifulCSECoU/competitive-programming | ab55e458055c816877b16044a728af5a35af2565 | f7d4bb0cb156cc6044fe61e7ed508d5bdcf68a07 | refs/heads/master | 2020-04-05T03:05:10.770413 | 2018-11-07T06:59:28 | 2018-11-07T06:59:28 | 156,500,818 | 0 | 0 | null | 2018-11-07T06:30:40 | 2018-11-07T06:30:40 | null | UTF-8 | C++ | false | false | 1,210 | cpp | //725 - Division
#include <iostream>
using namespace std;
char a[32350][7], temp[7];
int N=0, n;
bool exist, Free[15];
void Generate(int n) {
if (n==5) {
strcpy(a[N++], temp);
return;
}
for (int i=0; i<=9; i++)
if (Free[i]) {
Free[i] = false;
temp[n] = i+'... | [
"lamphanviet@gmail.com"
] | lamphanviet@gmail.com |
1602a9af0f37ffef18f93b6f260210d3475fa6d9 | fe94f2d2bfe9993c0c3c23be2e59fcb5d9cf1290 | /autotune/services/include/Sqlite3TuningDatabase.h | d6c23b66468a8dc270c0e7171782a63311ea4f55 | [
"BSD-3-Clause"
] | permissive | readex-eu/readex-ptf | 43f213d1bf8663a1e2790c49cce125bd817cef08 | 011ef4bf133476a10482c8c248027bcb651d4d57 | refs/heads/master | 2022-11-29T04:18:47.400222 | 2018-09-01T18:53:41 | 2018-09-01T18:53:41 | 139,039,087 | 1 | 2 | BSD-3-Clause | 2022-11-26T01:05:10 | 2018-06-28T15:48:19 | C++ | UTF-8 | C++ | false | false | 1,521 | h | #ifndef SQLITE3TUNINGDATABASE_H_
#define SQLITE3TUNINGDATABASE_H_
#include "config.h"
#include "TuningDatabase.h"
#ifdef PSC_SQLITE3_ENABLED
#include <sqlite3.h>
class sqlite3_error : public std::runtime_error {
public:
explicit sqlite3_error( const string& arg ) : runtime_error( arg ) {
}
};
class Sqlite... | [
"robert.mijakovic@in.tum.de"
] | robert.mijakovic@in.tum.de |
71032fe4b88da052606c48092b0e3d9fcf722ef9 | f879bf08c5ea4ae33d58010fda3af17126ab4389 | /src/Choreographer.cpp | 8593bdc1d996fe143af3b1daeadabcb1e9cee483 | [] | no_license | oturpe/fog-mover | e83c95c090425f84d05fd390cb91c9bbd59cd3cb | 69b21cd951c230fa299d87343b6532f665ad19cc | refs/heads/master | 2021-01-17T12:50:32.580124 | 2016-07-03T11:45:32 | 2016-07-03T11:45:32 | 57,836,738 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,953 | cpp | #include <avr/io.h>
#include "Choreographer.h"
#include "FogGeneratorController.h"
#include "PololuStepperController.h"
#include "ValveController.h"
Choreographer::Choreographer(
FogGeneratorController & fogMachine,
PololuStepperController & bellow,
ValveController & exitValve,
ValveController & topVa... | [
"oturpe@iki.fi"
] | oturpe@iki.fi |
a38fc8a0599f00dab9c88db520d1a35f4598b682 | 7f255c8e466ecc172830323c4b2268ae428a8563 | /LINKED LIST.cpp | bb8589d8ce087528cdd50bd35c01051c9781443f | [] | no_license | hitechgaurav/Data-Structure-Using-C-and-C- | 03a2be83e77289f4ed61a30fc80d8ea3a684212b | 10454f254e7b52eb2f545883e69c77e51665aad3 | refs/heads/master | 2020-12-19T02:19:49.086895 | 2020-01-22T14:38:15 | 2020-01-22T14:38:15 | 235,591,754 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,645 | cpp | //Program to illustrate LINKED LIST
#include<iostream>
#include<conio.h>
using namespace std;
class node
{
public:
int data;
node *next;
};
class l_list
{
private:
node *top,*head;
public:
l_list();
void create();
void append(node*);
node *getnode();
void display();
void in... | [
"noreply@github.com"
] | noreply@github.com |
5bb707f331a3ee866cf36e7911421203332a5d90 | fcf0b03a0528eae28f91435eaa5166c06823ba39 | /FableMod.Gfx.Integration/ExtendedFrame.h | 7aaeba0c767e99e94e3e37883070d694117c5db4 | [] | no_license | DeanHnter/chocolate-box | 27f9ebe4fb8a4bc315fd60e737de5176faac0091 | df92d975d60c02cea1b0af1b4a8a6d797e7fbbad | refs/heads/master | 2022-05-01T20:42:34.919891 | 2019-07-19T14:41:58 | 2019-07-19T14:41:58 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 587 | h | #pragma once
#include <windows.h>
#include <memory.h>
#include <d3d9.h>
#include <d3dx9math.h>
using namespace System;
namespace FableMod
{
namespace Gfx
{
namespace Integration
{
struct D3DXEXTENDEDFRAME : public D3DXFRAME
{
ID3DXMesh* pSkinnedMesh;
FableMod::Gfx::TexturePtr spTexture;
Fable... | [
"baystone79@yahoo.com"
] | baystone79@yahoo.com |
d00c44dc974685581933e0a286235c9e0aab565c | a603e9d52853ae836ec34102105b6920c7aad9f6 | /flow/cpp/magical_flow/src/db/DesignDB.cpp | 0e7f9298bfaf7a688e2b6b991972d255acc833f4 | [
"BSD-3-Clause"
] | permissive | magical-eda/MAGICAL | a8225e66653c411a5b1ec422233ef3f8d60dafff | 199ab0719f85f74c79bf85a556118b132988a5fe | refs/heads/master | 2022-11-19T04:36:36.542986 | 2021-09-10T22:14:57 | 2021-09-10T22:14:57 | 174,222,055 | 176 | 44 | BSD-3-Clause | 2021-09-10T22:14:58 | 2019-03-06T21:12:55 | C++ | UTF-8 | C++ | false | false | 1,692 | cpp | /*
* @file DesignDB.cpp
* @author Keren Zhu
* @date 06/26/2019
*/
#include "db/DesignDB.h"
#include <unordered_map>
PROJECT_NAMESPACE_BEGIN
bool DesignDB::findRootCkt()
{
if (this->numCkts() == 0) { return true; }
std::stack<IndexType> sortStack; //< Store the sorted indices here
std::vector<IntTyp... | [
"keren@cerc.utexas.edu"
] | keren@cerc.utexas.edu |
6088a9357710017d61c6d8d2e965f7e9fbb0975b | cfd07462c76839287112e7a1b5e7b8d3156e9ffa | /New Ping/New Ping.ino | b7474b9996408eeb0821044816d7221d27fff6b1 | [] | no_license | wbrown97a/Basic-Arduino | c845bd73fadfecf6888c01d661c9f7b992d3720e | b4d33dffdac912e1ef5568cbf9ab9de386a64eb7 | refs/heads/master | 2021-01-03T01:21:45.190589 | 2020-03-13T19:43:21 | 2020-03-13T19:43:21 | 239,855,188 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 384 | ino | #include <NewPing.h>
#define TRIGGER_PIN 2
#define ECHO_PIN 4
#define MAX_DISTANCE 200
NewPing myHCSR04(TRIGGER_PIN, ECHO_PIN, MAX_DISTANCE);
void setup() {
Serial.begin(9600);
pinMode(13,OUTPUT);
}
void loop() {Serial.println(myHCSR04.ping_cm());
delay(50);
if (myHCSR04.ping_cm() > 5)
d... | [
"wbrown97@ccs.local"
] | wbrown97@ccs.local |
e72c8b0cf00043968179187c28d41213144ddb4a | 9a488a219a4f73086dc704c163d0c4b23aabfc1f | /tags/Release-0_9_2/src/RootTheme.hh | e848e66c5c6bad7c8a87fba405ee80b5be692a32 | [
"LicenseRef-scancode-unknown-license-reference",
"MIT"
] | permissive | BackupTheBerlios/fluxbox-svn | 47b8844b562f56d02b211fd4323c2a761b473d5b | 3ac62418ccf8ffaddbf3c181f28d2f652543f83f | refs/heads/master | 2016-09-05T14:55:27.249504 | 2007-12-14T23:27:57 | 2007-12-14T23:27:57 | 40,667,038 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,375 | hh | // RootTheme.hh
// Copyright (c) 2003 Henrik Kinnunen (fluxgen(at)users.sourceforge.net)
//
// 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 limitat... | [
"(no author)@54ec5f11-9ae8-0310-9a2b-99d706b22625"
] | (no author)@54ec5f11-9ae8-0310-9a2b-99d706b22625 |
d9bb2e8333c781126e4e85160bae3e92fd2d579f | e071a601b9cb597511ed637800f000b428bf8491 | /ext/soui/soui/UIEngine/UIEngine.h | 845448669ebc8da5e9317ebaa3062fb3ad843520 | [
"MIT"
] | permissive | radtek/oIM | 7964ed39421f8dab37d75c1b252f517bbed747fd | 0a439b34bee703c50772ce1029e126f1da624576 | refs/heads/master | 2020-05-25T10:54:16.054941 | 2018-01-12T13:44:23 | 2018-01-12T13:44:23 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 486 | h | //SOUI组件配置
#pragma once
#include <com-def.h>
#include <com-loaderex.hpp>
#include <interface\szip-i.h>
# define UIENGINE_DLL _T("UIEngine.dll")
class SUIEngine
{
public:
SUIEngine()
{
}
BOOL CreateZip(IObjRef **ppObj)
{
return UIEngine.CreateInstance(UIENGINE_DLL, ppObj, INAME_ZIP);
... | [
"lwq@2015"
] | lwq@2015 |
74b8af949547774a9ce0ba374709c0fdc642ebb2 | 502acfbf60879aaeb4f5bae4fe5ebe84accec734 | /src/picacoin-wallet.cpp | d0613eecec5d530acc6c492973ccfe096d8206a0 | [
"MIT"
] | permissive | picacoin/picacoin | 43415691bb84be2b26d897b11ee66b7e289ca5b4 | a6b6c1053d796fac077d1c4ce63e09014002b364 | refs/heads/main | 2022-07-28T10:53:15.869086 | 2021-06-24T02:31:01 | 2021-06-24T02:31:01 | 367,504,237 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 5,360 | cpp | // Copyright (c) 2016-2020 The Picacoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#if defined(HAVE_CONFIG_H)
#include <config/picacoin-config.h>
#endif
#include <chainparams.h>
#include <chainparamsbase.h>... | [
"developer@gmail.com"
] | developer@gmail.com |
01d68840b4c26560d0b17e675c614a082443c2d4 | d4f2df282ef9a8ad104f93799995c24c4fd9554e | /kumite_projects/date-event-base.cpp | 1c08a9d0c42b88c1b1e4d5dc76beb6b33e424760 | [
"BSD-3-Clause"
] | permissive | Pythonimous/learning-cpp | d1f0a50e09e43df027f593a9ab986b9ad898768e | d4a32ebbf9ca28aace619746de5b2580a8debd93 | refs/heads/main | 2023-08-27T04:32:50.637949 | 2021-11-11T13:29:58 | 2021-11-11T13:29:58 | 339,829,084 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,467 | cpp | #include <iostream>
#include <sstream>
#include <iomanip>
#include <string>
#include <vector>
#include <set>
#include <map>
#include <exception>
/*
Final project of the 1 / 5 course of the specialization.
A simple Date-Event database.
Supports dates of format yyyy-mm-dd. 1 <= mm <= 12; 1 <= dd <= 31.
Months, leap year... | [
"kir.nikolaev.7@gmail.com"
] | kir.nikolaev.7@gmail.com |
1d0264ab584313aa5f374b80def97ea34f170280 | 78918391a7809832dc486f68b90455c72e95cdda | /boost_lib/boost/type_traits/is_float.hpp | 0f0b1519bc081c8e8d6c82f4d977c7e3289a6d70 | [
"MIT"
] | permissive | kyx0r/FA_Patcher | 50681e3e8bb04745bba44a71b5fd04e1004c3845 | 3f539686955249004b4483001a9e49e63c4856ff | refs/heads/master | 2022-03-28T10:03:28.419352 | 2020-01-02T09:16:30 | 2020-01-02T09:16:30 | 141,066,396 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 786 | hpp | // (C) Copyright Steve Cleary, Beman Dawes, Howard Hinnant & John Maddock 2000.
// Use, modification and distribution are subject to the Boost Software License,
// Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt).
//
// See http://www.boost.org/libs/type_trait... | [
"k.melekhin@gmail.com"
] | k.melekhin@gmail.com |
e16daf535294dfe272aae44b3852f5711c67c713 | 2373e540b14b2b4fb105ab4ed48f5decaa4aa2fc | /vanhove/main_vhove.cpp | e0d7b0764b5dea9c9db5848411207359a1b10a3f | [] | no_license | hiddevuijk/abp_simulation | a853f806ab51b4701865b01c53f5e645a5767335 | 1dacb28ded034a2bff8528edeea395db6b030d73 | refs/heads/master | 2020-04-05T14:09:42.764262 | 2017-10-30T15:08:01 | 2017-10-30T15:08:01 | 94,788,092 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,827 | cpp |
#include <iostream>
#include <vector>
#include <string>
#include <random>
#include "read.h"
#include "deriv.h"
#include "integrate.h"
#include "pair_distribution.h"
#include "diffconst.h"
#include "fcc_lattice.h"
#include "vanHove.h"
#include "orientation.h"
using namespace std;
int main(int argc, char *argv[])
{
... | [
"hdvuijk@gmail.com"
] | hdvuijk@gmail.com |
0310c9d688c16067263467fafd9ee721030dbd6e | 05087ffdddfe3f13a8e5f3bd3ca10c6212220bdb | /HW.DS2.C3/HW.DS2.C3/HW.DS2.C3.cpp | 43657811c4388957765cf08a4bacb37260cf8cf7 | [
"MIT"
] | permissive | LeeInJae/Algorithm | d2397c44f6d7c1b516981f6269b7e8c6ada59d4e | ec9d539a96fd87c3c0fdd4067e10900f7cddbaf9 | refs/heads/master | 2021-07-09T14:39:44.035975 | 2016-10-30T15:38:55 | 2016-10-30T15:38:55 | 22,943,693 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 1,353 | cpp | // HW.DS2.C3.cpp : 콘솔 응용 프로그램에 대한 진입점을 정의합니다.
//
#include "stdafx.h"
#include <string.h>
#define TRUE 1
#define FALSE 0
typedef struct human{
char * name;
int age;
float salary;
}human_t;
void setPerson(human_t * person, char * name, int age, float salary){
person->name = name;
person->age = a... | [
"LeeInJae@users.noreply.github.com"
] | LeeInJae@users.noreply.github.com |
e472ee60877a1913c5cfe113c4a11134a7b395cf | d72c583f762925436cc05ef548414e7d316d84bd | /Github/Source/moc_fill.cpp | 5fd0df2b9f94de1707700cd399dbba746dde7dd6 | [] | no_license | MaksSmagin999/Source-Mini-Graphics-Editor.-Qt5-C- | 6db2d69f09f7e1d42bc73548cf13af13e1095488 | 8ca55e114b7d2b8a643b002c748b364d095490ae | refs/heads/master | 2022-04-11T15:09:29.407974 | 2020-04-04T10:55:30 | 2020-04-04T10:55:30 | 251,317,492 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,750 | cpp | /****************************************************************************
** Meta object code from reading C++ file 'fill.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.14.1)
**
** WARNING! All changes made in this file will be lost!
*********************************************************... | [
"noreply@github.com"
] | noreply@github.com |
f2ab6b23c20f3ba14df952720e0c33c4e076367d | cbea49eecad8f9e13d7c6170b496ca5db4147cb2 | /Programming-Techniques/T6/Z1/main.cpp | 1a91603d6a35aeb0ab8a05365632dfcd279ae969 | [] | no_license | amsiljak/c9-Projects | ea53221a9d83f955d8225797950783db8ae7be8f | 60a8242cd6dbf8edefc47bde3b0daa0f15993cdc | refs/heads/main | 2023-04-21T03:05:41.851590 | 2021-05-02T23:02:57 | 2021-05-02T23:02:57 | 363,766,433 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,449 | cpp | /*
TP 16/17 (Tutorijal 6, Zadatak 1)
Autotestovi by Kerim Hodzic. Prijave gresaka, pitanja
i sugestije saljite na mail: khodzic2@etf.unsa.ba
Napomene: testovi su konacni tek pred tutorijal
za krsenje zabrana dobiva se 0 bodova za zadatak
*/
#include <iostream>
#include <cmath>
#include <new>
#includ... | [
"amsiljak@gmail.com"
] | amsiljak@gmail.com |
545ac2dc1fc4aecbd9ccb2e97ffbc5928da412b8 | 711c4e7bea9c3a656605ba1ed0d6f7bd1935ccc0 | /ShaderManager.h | 50588d2abd0eaf1f98ac7d2cbc45423242b1cab3 | [] | no_license | Cuteposter/Witchgame | 74f12be45cf6d35497ad9defa31d63f19ec19c8e | d6e79914e036d86080740d6723422e66cb5ca069 | refs/heads/master | 2021-01-21T04:35:20.673187 | 2016-07-04T04:53:08 | 2016-07-04T04:53:08 | 55,560,818 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,335 | h | /**
Copyright (c) 2012 - Luu Gia Thuy
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, publish, distribute,... | [
"cuteposter@gmail.com"
] | cuteposter@gmail.com |
a8fef47f8ef716d61296938883514d53c331c5fd | dc38a39ddaa88b01353d28daecf133e77b04a6be | /codeforces/div3_555/p4.cpp | f7849022dae7cdb17e1e1c141118bc01d3a616e2 | [] | no_license | alexriderspy/Competitive-Programming | de57a7a5af617f979063d528ca0ae12c22f29036 | 30c1809800411a361d557a4e98921c6fdc0eb7b2 | refs/heads/main | 2023-06-01T02:12:19.587635 | 2021-07-09T04:06:21 | 2021-07-09T04:06:21 | 384,316,770 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,780 | cpp | #include<bits/stdc++.h>
using namespace std;
typedef vector<int> VI;
typedef vector<vector<int>> VVI;
typedef vector<string> VS;
typedef vector<vector<string>> VVS;
typedef signed long long i64;
typedef unsigned long long u64;
#define pi pair<int, int>
#define mod 1000000007
#define ll long long
#define ld long doubl... | [
"sreemantidey1234@gmail.com"
] | sreemantidey1234@gmail.com |
0842966219719ee98fb8d963d9145100a500ccf1 | fb7efe44f4d9f30d623f880d0eb620f3a81f0fbd | /third_party/crashpad/crashpad/snapshot/test/test_process_snapshot.h | 7dd312475c490d0b3c08723a07567c0eb82b90c0 | [
"Apache-2.0",
"BSD-3-Clause",
"LGPL-2.0-or-later",
"GPL-1.0-or-later",
"MIT"
] | 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 | 6,896 | h | // 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 ... | [
"jacob-chen@iotwrt.com"
] | jacob-chen@iotwrt.com |
c799a74c4306ad9d12b87b02f5c3064cb702d8f3 | f2ec2c68ba7791a4db8838a24dd6d1b7f054b18f | /important/codesinC/practice/feb_farewell.cpp | 5ade9dd65e68cc23dfa53134dc63ebe4b05cca96 | [] | no_license | captain59/importantCodes | de56d241635d1129ae980cb6449407b24bb20992 | e1a80e45796fcb060d0b906f2cabc87cab73b67f | refs/heads/master | 2021-01-01T17:08:05.201104 | 2017-07-24T11:52:19 | 2017-07-24T11:52:19 | 98,005,629 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 284 | cpp | #include <stdio.h>
#include <iostream>
#include <string>
#include <algorithm>
#include <math.h>
#include <vector>
using namespace std;
int main()
{
int n,m;
scanf("%d%d",&n,&m);
int a[n];
for(int i=0;i<n;i++)
scanf("%d",&a[i]);
sort(a,a+n);
printf("%d\n",a[n-m]);
return 0;
} | [
"chanchal59kopt@gmail.com"
] | chanchal59kopt@gmail.com |
238a662afc5546139b3d10d7e37b8222d6631e4e | 19a8bdb4fac11ea31b8b4f642d209e0a9f075d1b | /coder/CodeB/Code/n!/x/xchian!.cpp | 6316d93d91249229cf9f5f2119aa1b150784b967 | [] | no_license | HuyKhoi-code/C- | 049727c5ba792a9e24f945522f8e2aaed7360650 | 57ea096681fc8db7470445f46c317c325900e9cb | refs/heads/master | 2023-06-02T03:11:03.793539 | 2021-06-17T07:50:22 | 2021-06-17T07:50:22 | 377,746,797 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 279 | cpp | #include <iostream>
using namespace std ;
int x,n;
int main ()
{
cin >>x;
cin >>n;
float s=0;
int t=1;
int d=1;
for (int i=1;i<=n;i++)
{
t=t*i;
d=d*x;
s=s+d/t;
}
cout <<s;
return 0;
}
| [
"18520949@gm.uit.edu.vn.com"
] | 18520949@gm.uit.edu.vn.com |
5ff9d4d664ee0b2dbe6e035ccf7384044816217c | 8aad555c3c3a47b66b08b353ddd7ce4b0c6c06e3 | /NvEncoder/EncoderCUDA.h | 4080099604e5cc68d874fc8a482b2a529e3f2604 | [] | no_license | TamedTornado/nvenc | 2b02f69b5964c292b952d039f4ad6327c0484ceb | 87094365c2e2a1d8abb01a579acdc414e1f2847e | refs/heads/master | 2021-07-09T01:54:15.585450 | 2017-10-07T14:14:24 | 2017-10-07T14:14:24 | 106,089,460 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,298 | h | #pragma once
#include <cuda_runtime_api.h>
#include <cuda.h>
#include <vector_types.h>
#include "nvEncodeAPI.h"
#include "encoder.h"
/**
* @brief Encoder for CUDA device memory and array input (uses current CUDA context in constructor).
*/
class EncoderCUDA : public Encoder
{
public:
EncoderCUDA();
EncoderCUDA(uint... | [
"backov@tamedtornado.com"
] | backov@tamedtornado.com |
0f6a730393edd4b40eb86667e6513c5bc1e3f8ac | a939af9df16d2aca0dfb8970ed5f241db911574f | /Vertex.h | aee00991b250c01a640c715c6ba1ef4661c2cba3 | [] | no_license | multixd/Lab10 | 1fdb056d678c166103c0840271b33d878aa87e6c | 386bcebc4c8e79d67ea965d43321af06bf690123 | refs/heads/master | 2020-09-25T06:12:24.795490 | 2019-12-04T18:51:54 | 2019-12-04T18:51:54 | 225,935,480 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 373 | h | #ifndef VERTEX_H_
#define VERTEX_H_
#include <string>
#include <list>
#include <map>
#include <climits>
using namespace std;
class Vertex {
public:
list<pair<int, int> > neighbors;
string label;
int distance;
string color;
Vertex* prev;
Vertex(string label):label(label),distance(INT_MAX),color("WHITE"... | [
"noreply@github.com"
] | noreply@github.com |
54861377296ef379c12d5e3c4137531db5669370 | 320c93e4bea7b5f44499b11564f36883a2e5eb2f | /src/RcppExports.cpp | 85f457bcd48f61731e817e1bdd47d3ec2a34b9cd | [] | no_license | krishnapsrinivasan/quanteda.textmodels | da62a8e6745190d8bbd885f41f7cc5fb39dc96df | 7430c1e8575f30b54e1504a83e710ca5c0f55f80 | refs/heads/master | 2022-11-28T18:20:26.727683 | 2020-06-16T14:40:06 | 2020-06-16T14:40:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,103 | cpp | // Generated by using Rcpp::compileAttributes() -> do not edit by hand
// Generator token: 10BE3573-1514-4C36-9D1C-5A225CD40393
#include <RcppArmadillo.h>
#include <Rcpp.h>
using namespace Rcpp;
// qatd_cpp_ca
S4 qatd_cpp_ca(const arma::sp_mat& dfm, const double residual_floor);
RcppExport SEXP _quanteda_textmodels_... | [
"kbenoit@lse.ac.uk"
] | kbenoit@lse.ac.uk |
c31650fd6cf1f9737efea3dfe24c2e2e7e59958d | f0fed75abcf38c92193362b36d1fbf3aa30f0e73 | /android/frameworks/av/media/libstagefright/include/MPEG4Extractor.h | 27dcae4d66e998f620a2b7114185f7a9efc52357 | [
"LicenseRef-scancode-unicode",
"Apache-2.0"
] | permissive | jannson/BPI-1296-Android7 | b8229d0e7fa0da6e7cafd5bfe3ba18f5ec3c7867 | d377aa6e73ed42f125603961da0f009604c0754e | refs/heads/master | 2023-04-28T08:46:02.016267 | 2020-07-27T11:47:47 | 2020-07-27T11:47:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,909 | h | /*
* Copyright (C) 2009 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... | [
"mingxin.android@gmail.com"
] | mingxin.android@gmail.com |
2900d32b8c3844f4a270e957b7e8f92f6420eaf7 | c6339883d5c3e5c3c73f20c9c3a9bf7c0101893a | /HomeWork2/Person.h | 20895af9e533fb08b83b1273d7c52146ed27cfde | [] | no_license | TexHexx/HomeWork2 | ac1811c3b6e674502ac9ef5fd50b303afb0f8107 | 05bc385fe1b714c76e00d620663d3691ce516acf | refs/heads/master | 2023-07-23T19:32:16.247579 | 2021-08-30T10:20:03 | 2021-08-30T10:20:03 | 400,783,804 | 0 | 0 | null | 2021-08-29T07:05:47 | 2021-08-28T12:11:31 | C++ | UTF-8 | C++ | false | false | 650 | h | #pragma once
#include <string>
enum class sex { man, woman };
class Person {
private:
std::string* _personName;
int _personAge;
sex _personSex;
int _personWeight;
public:
explicit Person(std::string* personName, int personAge = 0, sex personSex = sex::man, int personWeight = 0) : _personName(personName), _person... | [
"prior_it@mail.ru"
] | prior_it@mail.ru |
061a12e2a778a7a7996b41b59bc19d85c2e094ca | f90de00314d0a7fda3a9a2a9577a0e6a1469d88b | /cpp_primer/13/13_08.h | ecaa603938cc14b6c4fd577af5151739b1a5b199 | [] | no_license | 1iuyzh/exercise | fdb4c6c34c47e512c5474c4b90c7533f81c1177f | 95f0b9e91dd8fb7fd9c51566fd47eff4f033d1be | refs/heads/master | 2020-05-20T12:59:51.518359 | 2018-10-25T03:36:11 | 2018-10-25T03:36:11 | 80,420,443 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 378 | h | #include<string>
using std::string;
class HasPtr {
public:
HasPtr(const string &s = string()) : ps(new string(s)), i(0) { }
HasPtr(const HasPtr &hp) : ps(new string(*hp.ps)), i(hp.i) { }
HasPtr& operator=(const HasPtr &rhs) {
delete ps;
ps = new string(*rhs.ps);
i = rhs.i;
... | [
"liuyzh@tju.edu.cn"
] | liuyzh@tju.edu.cn |
b5961d8e0b53afb907b6cc02414fc858e3e3fdc4 | d387c3750d6ee7481df3b30a621a1f1f67a097f2 | /codeforces/1433/C.cpp | 931e7e133d8bca0baa94cea5e8f1dfc4fbadb985 | [] | no_license | sahilkhan03/CF-Solutions | 54b7c4858d0c810ea47768f975f4503bd83fff8b | 67e9e9581d547229b44bee271b4844423fff3a29 | refs/heads/master | 2023-04-22T01:37:43.022110 | 2021-04-19T13:34:00 | 2021-05-10T05:00:23 | 333,403,802 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,151 | cpp | #pragma GCC optimize("Ofast")
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
#define fast ios_base::sync_with_stdio(false); cin.tie(nullptr);
#define all(x) x.begin(), x.end()
#define F first
#define S second
#define pb push_back
#define pl pair<ll, ll>
#define vl vector<ll>
#define vi vector<int>
... | [
"sahilkhan0307.sk@gmail.com"
] | sahilkhan0307.sk@gmail.com |
0be7267c1db0d9e42599ab3d85f495f5c4ca5266 | 5a0ce4bb19201fea53aa676d68737e1ed4cf3f67 | /Turtles/build-turtles-Desktop_Qt_5_11_1_MinGW_32bit-Debug/debug/moc_mainwindow.cpp | 22c9734407673384696f4bbd2fa5a6e8efdb9e20 | [] | no_license | diegoramillamx/Turtles | ceff6049fc8015b2a44836f58020fcf85f57d565 | dd35f07a54e5f3e46206f2272dda0166ed51ec2d | refs/heads/master | 2020-03-30T06:42:54.880006 | 2019-09-13T23:52:32 | 2019-09-13T23:52:32 | 150,883,615 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,079 | cpp | /****************************************************************************
** Meta object code from reading C++ file 'mainwindow.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.11.1)
**
** WARNING! All changes made in this file will be lost!
*********************************************************... | [
"diego_ramirezmillan@hotmail.com"
] | diego_ramirezmillan@hotmail.com |
cdeaa1c56b081c3f0bd35ab1ce68db545561c78e | a3917f60c106698a5cd245a73ff2c5bb767e3e13 | /src/layer/rnn.h | 0372dc9a283a7c9842c24916954278f8b7e2f6d7 | [
"BSD-3-Clause",
"Zlib",
"BSD-2-Clause"
] | permissive | sunbinbin1991/ncnn-bin | 85e7a43258c488b9b6cbf8a83c9875fd7e7889e9 | fc74404af642bc4729532fd39f8e9446eb7b0dcd | refs/heads/master | 2021-05-05T11:13:10.553624 | 2018-03-07T08:03:08 | 2018-03-07T08:03:08 | 118,119,521 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,433 | h | // Tencent is pleased to support the open source community by making ncnn available.
//
// Copyright (C) 2017 THL A29 Limited, a Tencent company. All rights reserved.
//
// Licensed under the BSD 3-Clause License (the "License"); you may not use this file except
// in compliance with the License. You may obtain a ... | [
"sunbinbin@uni-ubi.com"
] | sunbinbin@uni-ubi.com |
db30f1248dc5e25abc2b53e85284890694b60e21 | 9fc9581e07ea2cf1b2a8588f230cff93c02743a5 | /probleme/vectori/cautare_binara/2443.cpp | 3224d55a20d74609f1a0ef4b80f6b370f829ac24 | [] | no_license | UncleKhab/cpp-probleme | 4b47a9a8dc4939c05d916865842df29e2538956c | 9960cb67361b39b94625c228d609d5fdc9fc40c5 | refs/heads/main | 2023-05-08T03:34:35.803000 | 2021-05-26T12:18:55 | 2021-05-26T12:18:55 | 330,030,311 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 781 | cpp | #include <bits/stdc++.h>
using namespace std;
int a[100001],b[100001];
int n,m,x,s;
int cautare_binara(int x)
{
int st = 1, dr = n;
int mij;
while(st <= dr)
{
mij = (st+dr)/2;
if(b[mij] == x)
{
return mij;
}
if(b[mij] > x)
{
dr = m... | [
"cobrosoffice@gmail.com"
] | cobrosoffice@gmail.com |
8e98e3a49c2f58a5d8611090feeb0b0cc9eb1125 | 050ebbbc7d5f89d340fd9f2aa534eac42d9babb7 | /grupa2/irebas/p1/pro.cpp | a2b89f9f39c891f1539c3a180c0bae82491c9105 | [] | no_license | anagorko/zpk2015 | 83461a25831fa4358366ec15ab915a0d9b6acdf5 | 0553ec55d2617f7bea588d650b94828b5f434915 | refs/heads/master | 2020-04-05T23:47:55.299547 | 2016-09-14T11:01:46 | 2016-09-14T11:01:46 | 52,429,626 | 0 | 13 | null | 2016-03-22T09:35:25 | 2016-02-24T09:19:07 | C++ | UTF-8 | C++ | false | false | 198 | cpp | #include <iostream>
using namespace std;
int main() {
unsigned int a,b,c;
cin >> a >> b >> c;
cout << "Objętosc: " << a*b*c << endl;
cout << "Pole: " << 2*(a*b)+2*(a*c)+2*(b*c) << endl;
}
| [
"igor.rebas@gmail.com"
] | igor.rebas@gmail.com |
6a1eb9fb564d93169389105e52f5bda5dc9eb3a5 | 6b2a8dd202fdce77c971c412717e305e1caaac51 | /solutions_5658571765186560_0/C++/BananaTree/D.cpp | 4f018b6481e1213d1dffb9797dd50ec9136d3163 | [] | 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 | 1,285 | cpp | #include <bits/stdc++.h>
#define FOR(i, n) for (int i = 0; i < n; ++i)
using namespace std;
const string ALLOK = "GABRIEL";
const string NOTOK = "RICHARD";
int main() {
int T, area, row, col;
cin >> T;
FOR(tt, T) {
cout << "Case #" << tt + 1 << ": ";
cin >> area >> row >> col;
if (r... | [
"eewestman@gmail.com"
] | eewestman@gmail.com |
56f95b8e85ca1994a7cbe1677aecffc4f5cc2ff9 | d27c4ca7fd96a62363e555677d9d41e0b649f704 | /saber/funcs/impl/cuda/saber_box_coder.h | 049397a35239cd28272291d18901871e1a3f4660 | [
"Apache-2.0"
] | permissive | imharrywu/Anakin-1 | 26e69bb2ec38d66d279cb3b1003501cbf0f8b729 | ffabcf1bd4b19cc6c682ba8a9e68b8ef976d9da7 | refs/heads/master | 2020-09-21T12:53:29.055278 | 2019-11-29T09:37:52 | 2019-11-29T09:37:52 | 224,795,082 | 0 | 0 | Apache-2.0 | 2019-11-29T06:56:16 | 2019-11-29T06:56:16 | null | UTF-8 | C++ | false | false | 1,994 | h | /* Copyright (c) 2019 Anakin Authors, Inc. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicab... | [
"liujunjie03@baidu.com"
] | liujunjie03@baidu.com |
fd371ea4f645e3ead78231a4dc7dfdad781b8bc4 | 7041d863026248d007963cb0fcdd6c505f6eb0d1 | /process2/myecho.cc | c54b2e0c998bf43f709e3f4296c7bdec97fbf06e | [] | no_license | Firebird1029/cs61-lectures | 8d64a4fd1490e38b651c3cb061e95acac54ef4b0 | 59923921a5243af491c204f0ed8bfaaa3b9790d4 | refs/heads/main | 2023-01-19T00:54:00.615636 | 2020-12-03T14:22:04 | 2020-12-03T14:22:04 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 235 | cc | #include "helpers.hh"
int main(int argc, char* argv[]) {
fprintf(stderr, "Myecho running in pid %d\n", getpid());
for (int i = 0; i != argc; ++i) {
fprintf(stderr, "Arg %d @%p: \"%s\"\n", i, argv[i], argv[i]);
}
}
| [
"ekohler@gmail.com"
] | ekohler@gmail.com |
cdc9f81d395a3f9c39fe0538516f3aa0d8337025 | 32ede53a77c76deb095cf4609f3a301550a2bf35 | /PickStructure.h | 34a5981c7ccc596c8fae665d9df52a67f2a30534 | [] | no_license | justtookoff/FlyingDuckChart | 9492fa2e1083139102f592ea887c78fa074370a7 | 8b551285e97b14cb6c959473c89ab6c2ab82ff50 | refs/heads/master | 2021-07-03T03:25:18.942558 | 2017-09-23T09:13:15 | 2017-09-23T09:13:15 | 104,552,351 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 666 | h | //PickStructure.h
#ifndef _PICKSTRUCTURE_H
#define _PICKSTRUCTURE_H
#include "MouseLButtonAction.h"
class Structure;
class SelectedStructure;
class GroupSelectedStructure;
class Group;
class PickStructure : public MouseLButtonAction {
public :
PickStructure();
PickStructure(const PickStructure& sou... | [
"noreply@github.com"
] | noreply@github.com |
c69ce11beb35702e7ddd3b36ae78d2a9e1d7f909 | 10f3c3497a8e005382f839205220261c2ec6053d | /main.cpp | a53cd8708635ea5780cd8305c3a2ee3d912eadbd | [] | no_license | WorkhorsyTest/cpp_sdl2_opengl | d0060295a301abf4ed1a2ff294a09e40630a35b3 | e679e930a11322b97c6f9e8e990f0352eef2c7f2 | refs/heads/master | 2021-07-08T11:27:59.213730 | 2017-10-01T16:27:35 | 2017-10-01T16:27:35 | 74,003,387 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,924 | cpp |
#include <stdbool.h>
#include <string>
#include <iostream>
#include <sstream>
#include <stdexcept>
#include <GL/glew.h>
#include <SDL/SDL.h>
#include <SDL/SDL_image.h>
#include "SDL_opengl.h"
#ifdef EMSCRIPTEN
#include <emscripten.h>
#include <math.h>
void gluPerspective(GLdouble fovy, GLdouble aspect, GLdouble zNe... | [
"matthew.brennan.jones@gmail.com"
] | matthew.brennan.jones@gmail.com |
4a0a5a0d9ee2da46b6fa85b97cf3fe234893e53c | a3ae02601fac3a51f6ed2eca50322cd50f9711e2 | /source/sziFancyLogger.h | 48663bc211d55cf54187644d9eb12760e8752392 | [] | no_license | bbsun/AutomaticTuningOfSysParams | e66ca7881de7373aac12126c8592eb9eb899cd49 | 6593b706f3600cf83375fb05d9d641e01821b6ad | refs/heads/master | 2021-05-27T04:52:42.192043 | 2013-05-25T21:22:17 | 2013-05-25T21:22:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,471 | h | #ifndef _sziFancyLogger_h_
#define _sziFancyLogger_h_
#include <itkLogger.h>
#include <itkStdStreamLogOutput.h>
#include <fstream>
#include <itkFancyString.h>
namespace szi
{
/**
A logger implementation that always logs incoming messages to a file.
It also includes some minor revisions to the original i... | [
"rhgong@gmail.com"
] | rhgong@gmail.com |
e0312d07630033447e7bedfed01ef128ef7f1563 | 0d3e7bb4c93eef383bff1f0ff6e7e46296634364 | /versions/v10/Instance.cpp | 0f5d8f8880dfcba83fb1d7c62eebf6bbaa34c583 | [] | no_license | mlomb/halite2-bot | ff7982067a15392379f279754d87f1116c66e796 | 3b1ed0fbce4c16268590ebedec4db2c7ed773630 | refs/heads/master | 2021-05-10T15:53:16.422027 | 2019-01-29T17:16:50 | 2019-01-29T17:16:50 | 118,563,037 | 4 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 18,908 | cpp | #include "Instance.hpp"
#include "hlt/constants.hpp"
#include "Input.hpp"
#include "Log.hpp"
#include "Navigation.hpp"
#include "Image.hpp"
#include <queue>
#include <chrono>
#include <string.h>
#include <algorithm>
Instance* Instance::s_Instance = nullptr;
Instance::Instance()
{
s_Instance = this;
}
void Instan... | [
"mlomb@users.noreply.github.com"
] | mlomb@users.noreply.github.com |
9cf7bb2823358fa498f68cf8288d12e6720cc1ed | 7849554c268311afab49d919d68a0deed784c221 | /src/SimulatorApp/org.alljoyn.Notification.Producer/ProducerConsumer.h | 022eaaa63c0c7e8c82ee63691e7a9ce06cf0059b | [
"MIT"
] | permissive | dotMorten/AllJoynDeviceSimulator | aa30a73e188c738daa7ba5cc143e7af72c65d005 | b5a7e7198983c0aad02f78d1868a083940f7c57f | refs/heads/master | 2020-12-29T00:30:27.844468 | 2016-08-16T04:13:28 | 2016-08-16T04:13:28 | 49,626,641 | 8 | 5 | null | 2016-08-08T19:45:35 | 2016-01-14T06:08:58 | C++ | UTF-8 | C++ | false | false | 9,557 | h | //-----------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
//
// Tool: AllJoynCodeGenerator.exe
//
// This tool is located... | [
"mnielsen@esri.com"
] | mnielsen@esri.com |
42131c11f0ac8992b971668fe82712c62dc966d7 | 39100b66c5359c5fa7ce2dc3e0bba754f70d73f7 | /CaioRB L2E2/DarkPriest.cpp | 2dd072711b3ee35bcafc8966fcf8036076e8bd50 | [] | no_license | raphaellc/AlgEDCPP | 74db9cf0b2a27239c7b44b585e436637aa522151 | f37fca39d16aa8b11572603ba173e7bc2e0e870a | refs/heads/master | 2020-03-25T21:11:30.969638 | 2018-11-29T14:24:06 | 2018-11-29T14:24:06 | 144,163,894 | 0 | 0 | null | 2018-12-11T22:08:25 | 2018-08-09T14:28:14 | C++ | UTF-8 | C++ | false | false | 194 | cpp | #include "DarkPriest.h"
#include <iostream>
DarkPriest::DarkPriest()
{
}
DarkPriest::~DarkPriest()
{
}
void DarkPriest::charm()
{
std::cout << "You follow me now./n";
}
| [
"noreply@github.com"
] | noreply@github.com |
662f734dd95f0aa3d89f583a6b0c116020432d84 | 348929c1b3bbcf91de71f52c8d34c5c37160eda2 | /StrukturePodataka/SP-Stablo-LV(fax)/SP-LV(fax)/Main.cpp | 7b6de4d944c4619ceb65a2cadb987842b1964334 | [] | no_license | pavle-doby/Elfak_lab_vezbe | 385c9592d9e23fa3d4d70e4cb7251387d40f3099 | 262ac7c75e719b82ac61e3f80b8608c4b401e966 | refs/heads/master | 2021-10-14T04:32:42.956300 | 2018-10-24T00:41:58 | 2018-10-24T00:41:58 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 422 | cpp | #include <iostream>
#include "Tree.h"
#include "Node.h"
using namespace std;
void main()
{
Tree drvo;
drvo.insert(7);
drvo.insert(11);
drvo.insert(9);
drvo.insert(12);
drvo.insert(3);
drvo.insert(5);
drvo.insert(2);
drvo.insert(1);
cout << "drvo:" << endl;
drvo.printAll();
int br=drvo.atLevel(drvo.getRoot... | [
"pavle.marinkovic@elfak.rs"
] | pavle.marinkovic@elfak.rs |
b6c1bf76f6fcde201e7eeaa7e70bf73adefb3955 | e4d400c65be7fe8d44e6d0534fb705b89a0a7901 | /CQuiz/CQuiz.cpp | 741abae5c6040f43a23662e5e6846ea6d1278c77 | [] | no_license | JBudiman00/CQuiz | d690a8e59decec0abb33cdd683e3c8968d062cd6 | 78b822d3f2989b7da8370f134fa15946ccb5e655 | refs/heads/master | 2022-11-21T13:16:38.873353 | 2020-07-24T14:46:23 | 2020-07-24T14:46:23 | 282,243,403 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,479 | cpp | // CQuiz.cpp : This file contains the 'main' function. Program execution begins and ends there.
//
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
#include <string.h>
int random(int, int);
int answer(char[]);
int getQuestions();
void getMax();
int checkUsed(int);
int max;
int* usedQ;
int main()
{
char c... | [
"jonathan@radialogica.com"
] | jonathan@radialogica.com |
64e2ded0ad1c4b037754f2005d7d7843003d5fb0 | c54b4353e2a813ba522877293df14d4591261787 | /xcode/script_object.cpp | 8611f37608b4d1fffe55cc7a832bea24aee2881b | [] | no_license | joemcalister/A.M.I | 47895ef5d5ebc39224a48eae599423ccfb27e911 | 09b81640e40de56675fa1d717a1197359e6af115 | refs/heads/master | 2021-01-19T21:13:29.266062 | 2017-05-08T14:55:47 | 2017-05-08T14:55:47 | 88,628,584 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 114 | cpp | //
// script_object.cpp
// ami_proto_2
//
// Created by Joe on 11/02/2017.
//
//
#include "script_object.hpp"
| [
"joe@lonestorm.com"
] | joe@lonestorm.com |
525964768846afee855a92d2415bb5df3c2da2d0 | 9922edafddb080ccefb36858e5ffd1a106beae95 | /Server/LoginServer/main/LDBTaskCharDelete.h | 609f6c98128e28d28fcb48d7fe55514b50ad1023 | [] | no_license | saerich/RaiderZ-Evolved-Develop | ee93f46d866ed0310107a07ad0a4a2db3a2fd529 | b2a20e2a5b058a330b2e18a3f0a45a10f71f2cb0 | refs/heads/master | 2023-02-25T15:43:26.276331 | 2021-02-04T01:37:25 | 2021-02-04T01:37:25 | 281,212,532 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 904 | h | #ifndef _LDBTASK_DELETECHARACTER_H
#define _LDBTASK_DELETECHARACTER_H
#include "LDBAsyncTask.h"
#include "MMemPool.h"
class SAccountCharList;
class LDBTaskCharDelete : public LDBAsyncTask, public MMemPool<LDBTaskCharDelete>
{
public :
LDBTaskCharDelete();
~LDBTaskCharDelete();
enum
{
CHAR_DELETE = 0,
};
... | [
"fabs1996@live.co.uk"
] | fabs1996@live.co.uk |
711788c880c730b69b49ab3a116d7a0c944c2651 | a864edfee8f42d67157ef8091b2a10c5803bbe6c | /Source/Samples/18_CharacterDemo/PhotoCamera.h | 57fd95aeacfe1384a8becc86a1b7dbf574b5a4e6 | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | MynachMelyn/U3DGame | 16be918351adef75d57aace1df66cce34b285bdd | 19517880318ef7c676184d60377a3fa752e8804e | refs/heads/master | 2022-03-11T04:50:44.011403 | 2019-07-03T23:52:21 | 2019-07-03T23:52:21 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,031 | h | #pragma once
#include <Urho3D/Scene/LogicComponent.h>
#include <Urho3D/Graphics/AnimatedModel.h>
#include <Urho3D/Graphics/RenderPath.h>
using namespace Urho3D;
class PhotoCamera : public LogicComponent {
URHO3D_OBJECT(PhotoCamera, LogicComponent);
public:
///Construct.
explicit PhotoCamera(Context*... | [
"alexjames0011@gmail.com"
] | alexjames0011@gmail.com |
c958a59c193603a15febc1773d3627888303d9b8 | 6c0f8abb26f9832eb7ab00901f470d001be4af32 | /util/Test/tNoiseBias.cc | 55455e776337f8b48df96ea0916a0b682bd81a94 | [
"MIT"
] | permissive | erikleitch/climax | 146a6bf69b04f0df8879e77ea4529b4c269015a5 | 66ce64b0ab9f3a3722d3177cc5215ccf59369e88 | refs/heads/master | 2021-07-19T17:17:22.524714 | 2021-02-02T17:17:35 | 2021-02-02T17:17:35 | 57,599,379 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 14,294 | cc | #include <iostream>
#include <iomanip>
#include <cmath>
#include "gcp/program/Program.h"
#include "gcp/util/Angle.h"
#include "gcp/util/HourAngle.h"
#include "gcp/util/Declination.h"
#include "gcp/util/Mass.h"
#include "gcp/util/Sampler.h"
#include "gcp/util/Stats.h"
#include "gcp/pgutil/PgUtil.h"
#include "cpgplo... | [
"eleitch@basho.com"
] | eleitch@basho.com |
a52a15998beb185a242b082ec4d8ab875e4f9f1d | 1d506a4d22a61f66de9019bf3795d10297ef9e4a | /HTTPServer/Sources/VHTTPWebsocketHandler.cpp | fdc6bf8ad4f4038792b0350975805c5750c99cd9 | [] | no_license | sanyaade-teachings/core-Components | b439c37bbe0e5d896645848d8db183e40f40b9e7 | a93d30e32da6f5fd58c76dfed430093746906ed1 | refs/heads/master | 2021-01-18T10:56:50.349393 | 2013-05-16T15:04:40 | 2013-05-16T15:04:40 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 24,635 | cpp | /*
* This file is part of Wakanda software, licensed by 4D under
* (i) the GNU General Public License version 3 (GNU GPL v3), or
* (ii) the Affero General Public License version 3 (AGPL v3) or
* (iii) a commercial license.
* This file remains the exclusive property of 4D and/or its licensors
* and is protected by na... | [
"stephane.hamel@4d.com"
] | stephane.hamel@4d.com |
044288fd94c6007420c4f7797fdb7977898c5744 | a386d4c4dcec9fc39cedc3d820b5cdee0b0aa6b7 | /src/shared/opl3/opl3_operator.h | a0d581e59e0f09a8c8b2181a00fe33dadbf7a2fb | [
"MIT"
] | permissive | francescosacco/tinyXT | 0e5a2e41affad813dfcbac651b18382c799570ce | d0beb4d5d3c8ad37bc0de0d89cbe522a4deb0aa5 | refs/heads/master | 2021-03-04T21:15:58.800056 | 2018-02-13T19:51:08 | 2017-12-27T19:52:11 | 108,322,541 | 14 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 11,417 | h |
#include "opl3_envelope_gen.h"
//
// Phase Generator
//
class OPL3_PhaseGenerator_t
{
public:
double phase, phaseIncrement;
OPL3_PhaseGenerator_t()
{
phase = phaseIncrement = 0;
}
inline void setFrequency(int f_number, int block, int mult)
{
// This frequency formula is derived from the followi... | [
"francesco_sacco@hotmail.com"
] | francesco_sacco@hotmail.com |
7bafc675b4e2d99bbc5f20749f7ab1641bea00eb | 9e0d3a88bbec553403c16d947d3eb8ab610936b0 | /my_controller_pkg/src/dummy_app.cpp | 6481f4700d4b8beaa19b26dcb7dbfd4abb9d625d | [] | no_license | FatihKaanAkkus/mobile_robot | 45c9eb5e38260966cd7e8ba719178bcf9d412161 | c14c0723eef20b8609516b2dd7ceffaddef03946 | refs/heads/master | 2020-03-11T19:37:08.427339 | 2018-05-26T00:04:42 | 2018-05-26T00:04:42 | 130,212,743 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 554 | cpp | #include <ros/ros.h>
#include <controller_manager/controller_manager.h>
#include <my_controller_pkg/my_robot_hw.h>
using namespace my_controller_pkg;
int main(int argc, char** argv)
{
ros::init(argc, argv, "DummyApp");
ros::AsyncSpinner spinner(1);
spinner.start();
MyRobotHW hw;
ros::NodeHandle nh;
con... | [
"fthknakkus@hotmail.com"
] | fthknakkus@hotmail.com |
83457e225aec7801eb9ce6831795f9b507bb2eea | 7d4ff4ea6b306a07fc13a8fa3d120fb62df94726 | /photoresistor/Photoresistor.cpp | 77871ba1750dfe5477932fa630d26f7ccb78e424 | [] | no_license | oshurmamadov/ArduinoSamples | af34e14f88b3c807146fc652d2ee5304891e5a0d | 0b1a8bdf6241b886e0cba0b37f5ca4c1f5635b2e | refs/heads/master | 2023-04-21T15:29:07.466356 | 2021-05-05T07:36:48 | 2021-05-05T07:36:48 | 356,362,023 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 795 | cpp | /*
* Photoresistor.cpp
*
* Created on: 11 Apr 2021
* Author: parviz.oshurmamadov
*/
#include "Photoresistor.h"
#include "Arduino.h"
#include "../utils/VoltTransformer.h"
int BIT_RATE = 28800;
int photoresistorReadPin = A5;
int redPin = 4;
int greenPin = 2;
VoltTransformer transformer;
void Photoresistor::... | [
"parviz0492@gmail.com"
] | parviz0492@gmail.com |
5e042f4982474cab891a338f2450193257a76bb0 | a80f9892194bb0a4e2262e116f6c81df1149ab4d | /libraries/Led_Dragon/Led_Dragon.h | ce2ee8bf7cc72ac0684a74eebc2e5d88310f21ae | [] | no_license | stevedudek/Arduino | f4bfe975c5da7148d67a20f3103d9de01fec6ae7 | 9025714324190f7b8b352185d3455f8b88636419 | refs/heads/master | 2023-01-08T00:14:57.236175 | 2022-12-27T00:40:37 | 2022-12-27T00:40:37 | 29,985,600 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,636 | h | //
// Led.h
//
#ifndef Led_h
#define Led_h
class Led
{
public:
Led(uint16_t i);
uint16_t
getNumLeds(void);
void
fill(CHSV color),
fillHue(uint8_t hue),
fillBlack(void);
void
setPixelColor(uint16_t i, CHSV color), setPixelHue(uint16_t i, uint8_t hue),
increasePix... | [
"stephen.dudek@invitae.com"
] | stephen.dudek@invitae.com |
7d08490fa64e30ff3d03ff84c15692897de3d725 | 6300038dd6b7d7251afa52bdfee980c8bbcf7669 | /src/compositor/texture_delegate.h | ad735bf56b96ea8b59f062b691f71b350701d3b2 | [
"BSD-3-Clause"
] | permissive | kkspeed/NaiveWM | 06740316336a425b95456dd8f1bb3fede0d0947d | 5da1e816ae3b9ec7a5a8c0b73b569615e231a215 | refs/heads/master | 2020-12-10T03:19:51.709491 | 2017-09-28T02:35:47 | 2017-09-28T02:35:47 | 95,508,262 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 493 | h | #ifndef COMPOSITOR_TEXTUREDELEGATE_H_
#define COMPOSITOR_TEXTUREDELEGATE_H_
#include <memory>
namespace naive {
namespace compositor {
class TextureDelegate {
public:
virtual void Draw(int x,
int y,
int patch_x,
int patch_y,
int width... | [
"leilmyxwz@gmail.com"
] | leilmyxwz@gmail.com |
fea24f6a05e55b6172baef5cb50885af9ea27f3d | f359d190dd0fa43dc21772a0faccec89013e0e99 | /export/windows/obj/include/flixel/system/debug/_Window/GraphicWindowHandle.h | dcf766073c60c36944da533e2feaa54517687018 | [] | no_license | pedrohpe/terminal | 0da838959f09c50550e629fa8c592dc364b1fa1f | 49fdf9fd10a075ae083e9b31850788fbb814fea5 | refs/heads/master | 2020-03-25T09:18:50.578453 | 2018-08-05T21:42:33 | 2018-08-05T21:42:33 | 143,659,093 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | true | 2,329 | h | // Generated by Haxe 3.4.4
#ifndef INCLUDED_flixel_system_debug__Window_GraphicWindowHandle
#define INCLUDED_flixel_system_debug__Window_GraphicWindowHandle
#ifndef HXCPP_H
#include <hxcpp.h>
#endif
#ifndef INCLUDED_openfl_display_BitmapData
#include <openfl/display/BitmapData.h>
#endif
HX_DECLARE_CLASS4(flixel,_hx_s... | [
"pedroh.egler@hotmail.com"
] | pedroh.egler@hotmail.com |
778584d71bc37f92d61b1a4c79dd3dea4ca1e06a | 1af49694004c6fbc31deada5618dae37255ce978 | /chrome/browser/chromeos/child_accounts/time_limits/web_time_limit_navigation_throttle.cc | 4404363f7692b33f34559f20f8328bac31369252 | [
"BSD-3-Clause"
] | permissive | sadrulhc/chromium | 59682b173a00269ed036eee5ebfa317ba3a770cc | a4b950c23db47a0fdd63549cccf9ac8acd8e2c41 | refs/heads/master | 2023-02-02T07:59:20.295144 | 2020-12-01T21:32:32 | 2020-12-01T21:32:32 | 317,678,056 | 3 | 0 | BSD-3-Clause | 2020-12-01T21:56:26 | 2020-12-01T21:56:25 | null | UTF-8 | C++ | false | false | 8,031 | cc | // Copyright 2019 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/chromeos/child_accounts/time_limits/web_time_limit_navigation_throttle.h"
#include <string>
#include "base/feature_list.h"
#inc... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
44622f4287c3d9dd208817612d2951a76ecc90aa | bbece7213a837ae2650bd7f881f42a143f3b5464 | /Homework_2/Asteroids_SSE.cpp | 8e57f5d3e9170235cca98883d4230d04d26df27e | [] | no_license | sjgeorge2/CS441_Homework | b225ad597e6386a59f9882e88cebf6adfededbce | dcf69029a442d6beeb019c2508b6dbc44ab7da9c | refs/heads/master | 2021-01-18T04:09:02.762373 | 2017-03-23T23:52:46 | 2017-03-23T23:52:46 | 85,760,209 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,774 | cpp | // Samuel George
// CS441 Homework Assignemnt 2
// This code was modified to work with the SSE instruction set
// Original code provided from class
#include <iostream>
#include <fstream>
using std::fstream;
using std::ios;
#include <chrono> //c++11 Timing functions
#include <cmath>
//#include "lib/inc.c" // netrun tim... | [
"sjgeorge34@yahoo.com"
] | sjgeorge34@yahoo.com |
2ce3606a9991717375288144c15eb9944452456f | 21a221c20313339ac7380f8d92f8006e5435ef1d | /src/arcemu-world/LfgHandler.cpp | 8dda031f6cf5ba01c2db81b3bc7860d70a370a91 | [] | no_license | AwkwardDev/Descent-core-scripts-3.3.5 | a947a98d0fdedae36a488c542642fcf61472c3d7 | d773b1a41ed3f9f970d81962235e858d0848103f | refs/heads/master | 2021-01-18T10:16:03.750112 | 2014-08-12T16:28:15 | 2014-08-12T16:28:15 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 120,228 | cpp | /*
* ArcEmu MMORPG Server
* Copyright (C) 2005-2007 Ascent Team <http://www.ascentemu.com/>
* Copyright (C) 2008 <http://www.ArcEmu.org/>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foun... | [
"jozsab1@gmail.com"
] | jozsab1@gmail.com |
c4d4f5d4f38fcf0ad6bf548c620476a97adc36ed | 6fa78aa110e4eae26418a5104690135599344f31 | /gravitypotential.hpp | 53cf372988402cd6c915b9e9933e43f054e79339 | [] | no_license | jusperino/md_2017 | b27c6454b9afa43022e38e5120d2935de9b43336 | 2a469d71bbacb6fd035735f130c64cafd9dd2613 | refs/heads/master | 2021-09-05T03:44:45.311965 | 2018-01-21T00:37:01 | 2018-01-21T00:37:01 | 109,430,725 | 0 | 4 | null | 2018-01-09T12:15:19 | 2017-11-03T18:40:04 | C++ | UTF-8 | C++ | false | false | 501 | hpp | #ifndef _GRAVITYPOTENTIAL_HPP
#define _GRAVITYPOTENTIAL_HPP
#include "potential.hpp"
/**
* @brief TODO add the documentation
*/
class GravityPotential : public Potential {
public:
/**
* @brief calculate the force between the two particles and add it to p
*
* @param p particle p
* @param q ... | [
"noreply@github.com"
] | noreply@github.com |
e78ea861d7e0a0ba7b4391d82cedeefb1953c1d4 | 8c8820fb84dea70d31c1e31dd57d295bd08dd644 | /WebBrowserTexture/Public/WebBrowserTextureModule.h | ac19aac5072a3ee72a3310c6cfc571766d1e5abb | [] | no_license | redisread/UE-Runtime | e1a56df95a4591e12c0fd0e884ac6e54f69d0a57 | 48b9e72b1ad04458039c6ddeb7578e4fc68a7bac | refs/heads/master | 2022-11-15T08:30:24.570998 | 2020-06-20T06:37:55 | 2020-06-20T06:37:55 | 274,085,558 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 271 | h | // Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "CoreMinimal.h"
#include "Modules/ModuleInterface.h"
#include "Modules/ModuleManager.h"
/**
* WebBrowserTextureModule interface
*/
class IWebBrowserTextureModule : public IModuleInterface
{
};
| [
"wujiahong19981022@outlook.com"
] | wujiahong19981022@outlook.com |
3469de2552984b2f009c3971dec9145c5b71ada2 | 6c94f958f52b0c451bba629906900e23086d62e2 | /Client/Source/Info.h | 8e3062f9de79f31e8068aee21e1d3542219a4c24 | [] | no_license | JulienDuf/Server | 8967cf4737ad0df986fb93542f2b45dc5f4ca455 | 55285b16a9b3a6bbe9e2a2001370ff4a321db5c4 | refs/heads/master | 2021-01-19T18:51:58.869448 | 2016-01-24T07:07:34 | 2016-01-24T07:07:34 | 44,824,162 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,577 | h | #pragma once
#include <string>
enum server_message_type {NEW_CLIENT, NEW_MESSAGE, CLIENT_DISCONNECTED, CLIENTS_CONNECTED};
class ServerInfo {
public:
server_message_type message_type;
int clientID;
std::string clientName;
std::string* message;
ServerInfo() {
message = nullptr;
}
ServerInfo(char* info)... | [
"dufresne_julien@hotmail.ca"
] | dufresne_julien@hotmail.ca |
5915eb6ee70df0ce3265eefa9afe19138f9326c5 | e4c3c428c5944a75a7444f65247e27aee29a3813 | /bindings/python/flashlight/lib/text/_decoder.cpp | 5606686f824694413f51499321a57465b3f34c08 | [
"BSD-3-Clause",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | wesbz/flashlight | 844f12f2e3d69c014c05d616062aaab6229eb8e6 | e692a941e902f9e207a1a4ee226c0ad0f8dbdc5e | refs/heads/master | 2022-12-17T22:29:19.146569 | 2020-09-22T21:41:17 | 2020-09-22T21:42:32 | 297,592,328 | 0 | 0 | NOASSERTION | 2020-09-23T14:31:37 | 2020-09-22T08:58:20 | null | UTF-8 | C++ | false | false | 9,448 | cpp | /**
* Copyright (c) Facebook, Inc. and its affiliates.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree.
*/
#include <pybind11/pybind11.h>
#include <pybind11/stl.h>
#include "flashlight/lib/text/decoder/Lexi... | [
"facebook-github-bot@users.noreply.github.com"
] | facebook-github-bot@users.noreply.github.com |
c7cbde244a8505bca05d63086fc8a18fd1fd0c1f | 5ec06dab1409d790496ce082dacb321392b32fe9 | /clients/cpp-qt5/generated/client/OAIComDayCqWcmDesignimporterImplCanvasBuilderImplInfo.cpp | 69075eeccfc125a1d7badebbbe7c0004fc86fa29 | [
"Apache-2.0"
] | permissive | shinesolutions/swagger-aem-osgi | e9d2385f44bee70e5bbdc0d577e99a9f2525266f | c2f6e076971d2592c1cbd3f70695c679e807396b | refs/heads/master | 2022-10-29T13:07:40.422092 | 2021-04-09T07:46:03 | 2021-04-09T07:46:03 | 190,217,155 | 3 | 3 | Apache-2.0 | 2022-10-05T03:26:20 | 2019-06-04T14:23:28 | null | UTF-8 | C++ | false | false | 5,196 | cpp | /**
* Adobe Experience Manager OSGI config (AEM) API
* Swagger AEM OSGI is an OpenAPI specification for Adobe Experience Manager (AEM) OSGI Configurations API
*
* OpenAPI spec version: 1.0.0-pre.0
* Contact: opensource@shinesolutions.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openap... | [
"cliffano@gmail.com"
] | cliffano@gmail.com |
9725f06117ea50fda953a975efd3293ec1d6faa0 | 8a2d3bba659ceffdb260c5e0cf3a064aa67f132d | /zestaw 6/zad6.cpp | e62e05b80fda28744acdf941315fe1168ac08924 | [] | no_license | maciejsikora2302/WDI--Introduction-to-Computer-Science | 7c1a96effe975be7192d22ca929166ba44ab0f0c | 7e557f2c664adb8bb42b1cc664b74a9768cf38a1 | refs/heads/master | 2020-05-03T23:43:46.941672 | 2019-04-01T13:58:59 | 2019-04-01T13:58:59 | 178,871,156 | 0 | 0 | null | null | null | null | WINDOWS-1250 | C++ | false | false | 1,117 | cpp | // ConsoleApplication2.cpp : Ten plik zawiera funkcję „main”. W nim rozpoczyna się i kończy wykonywanie programu.
//
#include<iostream>
#include <cmath>
using namespace std;
const int N = 6;
int liczba(int t[N], int pocz, int kon) {
int l = 0, pod = 1;
for (int i = kon; i >= pocz; i--) {
l += pod * t[i];
pod *... | [
"maciejsikora2302@gmail.com"
] | maciejsikora2302@gmail.com |
f18ca7801703570671b4e9817172776908dda53b | 948f4e13af6b3014582909cc6d762606f2a43365 | /testcases/juliet_test_suite/testcases/CWE190_Integer_Overflow/s05/CWE190_Integer_Overflow__unsigned_int_max_square_81.h | 0fc55589d5c6ef60f98d357d7ad4ff7f397163c2 | [] | no_license | junxzm1990/ASAN-- | 0056a341b8537142e10373c8417f27d7825ad89b | ca96e46422407a55bed4aa551a6ad28ec1eeef4e | refs/heads/master | 2022-08-02T15:38:56.286555 | 2022-06-16T22:19:54 | 2022-06-16T22:19:54 | 408,238,453 | 74 | 13 | null | 2022-06-16T22:19:55 | 2021-09-19T21:14:59 | null | UTF-8 | C++ | false | false | 1,578 | h | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE190_Integer_Overflow__unsigned_int_max_square_81.h
Label Definition File: CWE190_Integer_Overflow.label.xml
Template File: sources-sinks-81.tmpl.h
*/
/*
* @description
* CWE: 190 Integer Overflow
* BadSource: max Set data to the max value for unsigned int
* ... | [
"yzhang0701@gmail.com"
] | yzhang0701@gmail.com |
313b709cad4eb37e451c3731feba07fa19e47723 | aefe0e674b19382754d4df1fc1d35e2570a7d259 | /Source/FurryTest/FurryTestGameMode.cpp | e0aabf235fe2c3341908399551599f114359f2b6 | [] | no_license | Auseng/FurryTest | 8f8bed55de62e9515edc14749281db16151d2694 | 55f3c7dd9b9666bea1fa3db11db545618a135c96 | refs/heads/master | 2020-03-17T22:08:41.748841 | 2018-05-18T23:56:49 | 2018-05-18T23:56:49 | 133,989,711 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 486 | cpp | // Copyright 1998-2018 Epic Games, Inc. All Rights Reserved.
#include "FurryTestGameMode.h"
#include "FurryTestCharacter.h"
#include "UObject/ConstructorHelpers.h"
AFurryTestGameMode::AFurryTestGameMode()
{
// set default pawn class to our Blueprinted character
static ConstructorHelpers::FClassFinder<APawn> PlayerP... | [
"jostein.h.aseng@gmail.com"
] | jostein.h.aseng@gmail.com |
dfd88f0d75a78db9d3480364c3eaf9af5c5cdf04 | 3314307a5199fdc855c70970682345a1ac85c61d | /src/Core/PCM/PCMManager.cpp | 8f26a2aed6e419ea025a4ec12ac375f14f2967ca | [] | no_license | Botbusters4635/2020RobotCode | 546b5c82cd41dc39a779c8c59ab6558b0eb4cc94 | 2d4880df4aab45b0c5ce47f3c02fe66bb0bbe532 | refs/heads/master | 2023-02-20T10:40:25.212929 | 2021-01-19T02:11:46 | 2021-01-19T02:11:46 | 329,182,159 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,344 | cpp | //
// Created by abiel on 8/22/19.
//
#include "PCMManager.h"
PCMManager::PCMManager() : Manager("PCMManager") {
log->info("Initializing PCMManager...");
pistonsConfig = settings->getAllOfGroup("Pistons");
initializePistons();
}
void PCMManager::initializePistons() {
for (auto const &configEntry : pistonsCon... | [
"empoleom@gmail.com"
] | empoleom@gmail.com |
414b7fb687a6a1af20add0dfbb1493e52c7c1d1a | 51e8abe780348857f5023fe97810d6f1fdd5f690 | /opengl7/filters/AberrationFilter.cpp | 77c3a92dd3204311dbbaeb3716e97dafff2d0e7d | [] | no_license | rbaygildin/learn-graphics | 959a0182d7a81a7a3c33349e337aa5adea0ff32c | b6b88659b4028a6e3b5c05c68954503afd3e1c97 | refs/heads/master | 2021-09-15T03:08:58.803772 | 2018-05-24T19:00:44 | 2018-05-24T19:00:44 | 109,318,622 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 363 | cpp | //
// Created by Max Heartfield on 15.03.18.
//
#include "AberrationFilter.h"
AberrationFilter::AberrationFilter() {
addShaderFromSourceCode(QOpenGLShader::Vertex, readFile(VERT_PATH));
addShaderFromSourceCode(QOpenGLShader::Fragment, readFile(FRAG_PATH));
bindAttributeLocation("vertex", 0);
bindAttri... | [
"rbaygildin95@gmail.com"
] | rbaygildin95@gmail.com |
fa9a2965b179ebf73bfd20aa5ec4d5eacdea26e8 | 7c7ca9efe5869a805a3c5238425be185758a71ce | /marsksim/boost/mpl/aux_/preprocessed/no_ctps/reverse_iter_fold_impl.hpp | f6e39aff07ff9d2cd2fd003ba2e66979d0fbd381 | [] | no_license | cansou/MyCustomMars | f332e6a1332eed9184838200d21cd36f5b57d3c9 | fb62f268a1913a70c39df329ef39df6034baac60 | refs/heads/master | 2022-10-20T18:53:22.220235 | 2020-06-12T08:46:25 | 2020-06-12T08:46:25 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,624 | hpp |
// Copyright Aleksey Gurtovoy 2000-2004
//
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
//
// Preprocessed version of "boost/mpl/aux_/reverse_iter_fold_impl.hpp" header
// -- DO NOT modify by hand... | [
""
] | |
097f338633370b41fff291e5e855f3eff16a9941 | be4952850ad6a8b0abe50de671c495c6add9fae7 | /codeforce/CF_841A.cpp | 461dccea773d04fac1718874d908a38b17641daf | [] | no_license | ss5ssmi/OJ | 296cb936ecf7ef292e91f24178c9c08bd2d241b5 | 267184cef5f1bc1f222950a71fe705bbc5f0bb3e | refs/heads/master | 2022-10-29T18:15:14.290028 | 2022-10-12T04:42:47 | 2022-10-12T04:42:47 | 103,818,651 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 314 | cpp | #include<bits/stdc++.h>
using namespace std;
int main() {
int n,k,t[26]={0},sum=0,maxt=-1;
char s[100];
scanf("%d%d",&n,&k);
scanf("%s",s);
for(int i=0;i<n;i++){
t[s[i]-'a']++;
}
sort(t,t+26);
for(int i=1;i<26;i++){
sum=max(sum,t[i]);
}
if(sum<=k) printf("YES\n");
else printf("NO\n");
return 0;
}
| [
"imss5ss@outlook.com"
] | imss5ss@outlook.com |
827fd0640d571670a0fe31509395bad903ea24b4 | 0e4a14372d86ed9d008f394bd3a1b9fd58ea2b68 | /cpp-course/chapter9/chapter9.cpp | 432d47e3f7e88fdf3509032abd4e0543dfa33ebe | [
"MIT"
] | permissive | jacekplocharczyk/cpp-course | 8e0f2492182bd7c13293cae191b010c2f211c415 | 1653c1001041efb02a56a6eda3ffceefd8b0b67d | refs/heads/master | 2021-06-08T17:26:00.489156 | 2018-08-06T11:09:47 | 2018-08-06T11:09:47 | 141,833,629 | 0 | 0 | MIT | 2021-04-23T07:57:44 | 2018-07-21T17:38:37 | C++ | UTF-8 | C++ | false | false | 113 | cpp | #include "drill.h"
int main() {
//drill1();
//drill2();
//drill3();
//drill4();
drill5();
return 0;
} | [
"jacek.plocharczyk@protonmail.com"
] | jacek.plocharczyk@protonmail.com |
b49ba4ff33eb3729809928eb84133519a6108c29 | 131e65509db2c7e34b6ac41717fe8cf19c4fe726 | /dp2.cpp | 133e9b55ce49ad2257df80077cc6d40cdf5a35eb | [] | no_license | Keepen/DP | 167335346587f70abb28f6209392c4c12b1e39df | c1e05dda155c38ccd903a8e42c3f30c75caab0cd | refs/heads/master | 2022-12-03T09:11:49.906024 | 2020-08-03T15:14:45 | 2020-08-03T15:14:45 | 281,422,314 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,098 | cpp | //问题描述:
// 在一个数组中,给定一个目标数字S,求在该数组中能否找到几个数的和刚好等于目标数字
// 能:true;不能:false
//思路:
// 还是要与不要的原则
// 如果要当前数字 :就看前i - 1个数字能否拼成 S - v[i]
// 如果不要当前数字:就看前 i - 1个数字能否拼成 S
#include <iostream>
#include <vector>
using namespace std;
//递归版本
bool isOK(vector<int>& v, int i, int s){
if(s == 0){
return true;
}
... | [
"46278766+Keepen@users.noreply.github.com"
] | 46278766+Keepen@users.noreply.github.com |
9274fd5f94c83f43abc296b1a253773ce3dfa70d | 4f0a96aa4642a735f71704c360beb2a5d4dd9a9e | /apps/OpenVizEarth/UIFacade.h | ae2ad468076c63f21eb47d54ad56747c850eee12 | [] | no_license | longyangzz/OpenVizEarth | 79f3f2873329d92b5749500c0dfbde128e0cfb13 | e8477ba4c7a48be37e6246cd98836895b086ae7d | refs/heads/master | 2022-09-18T19:58:33.747036 | 2022-08-07T07:05:52 | 2022-08-07T07:05:52 | 192,552,174 | 33 | 19 | null | 2019-10-06T11:37:56 | 2019-06-18T14:05:21 | C++ | UTF-8 | C++ | false | false | 1,765 | h | #ifndef ATLAS_H
#define ATLAS_H
#include <MainWindow.h>
#include "../NameSpace.h"
#include <osg/Object>
#include <osg/Node>
#include <osg/BoundingSphere>
namespace osg
{
class Group;
class PositionAttitudeTransform;
}
namespace osgSim
{
class OverlayNode;
}
namespace osgText
{
class Font;
}
namespace osgEart... | [
"451215954@qq.com"
] | 451215954@qq.com |
9136b2387e0e8aaa2cc49f679d0a63b95790108f | 2678798b354051ec740e0cd9a8cad6797a2ab9f1 | /src/test/transaction_tests.cpp | 9310b1cfd7eae54f7cc70f556d95d5cf62614568 | [
"MIT"
] | permissive | klauson/Corvus | 17f7a5c7eec0b13cc93fb1859a9a37a27b1585d0 | 69f8371131dd1b2f77a3f5f6f7022a7ed6b26674 | refs/heads/master | 2020-03-14T03:02:04.163437 | 2018-04-28T14:34:14 | 2018-04-28T14:34:14 | 131,411,768 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 17,466 | cpp | // Copyright (c) 2011-2015 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "data/tx_invalid.json.h"
#include "data/tx_valid.json.h"
#include "test/test_corvus.h"
#include "clientversion.h"
#... | [
"zacc.ledford@gmail.com"
] | zacc.ledford@gmail.com |
0e9d3a2cdbfc85da178b7ceadaa155d8bc8407f4 | 53b95dfec4ca824d1929dc9f03989e32c21e98b0 | /src/1671 - Shortest Routes I.cpp | 59e4a8ab5599aa80d03daed2fee57fc7ce571b6d | [] | no_license | fuad7161/CSES-Solutions | 612e81975c653c9bd1339fa65a56c28ea61d7a7a | cf324f66365ff2ce375e169bc22e69c18f86ca62 | refs/heads/master | 2023-08-24T16:43:20.772743 | 2021-09-23T03:40:18 | 2021-09-23T03:40:18 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,559 | cpp | /*
Problem Name: Shortest Routes I
Problem Link: https://cses.fi/problemset/task/1671
Author: Sachin Srivastava (mrsac7)
*/
#include<bits/stdc++.h>
using namespace std;
template<typename... T>
void see(T&... args) { ((cin >> args), ...);}
template<typename... T>
void put(T&&... args) { ((cout << args << " "), ...);}
te... | [
"mrsac7@gmail.com"
] | mrsac7@gmail.com |
2583d37de31028267cd5c0003ec319e629a5843f | 45c884678c2077542ee5bcdbf1791f06a6ce2a9c | /AABB2D/Model.h | af1bce216055359bbfdddc5d1f73be992d4e134b | [] | no_license | IGME-RIT/physics-AABB2D-VisualStudio | a523620fe99178baa238c7290a54ff4057097c5e | af2d5f4b1b6f439b6667a9513bd372ba32ab94b6 | refs/heads/master | 2020-06-07T07:56:36.676317 | 2019-06-30T15:03:41 | 2019-06-30T15:03:41 | 192,967,046 | 0 | 0 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 6,220 | h | /*
Title: AABB-2D
File Name: Model.h
Copyright © 2015
Original authors: Brockton Roth
Written under the supervision of David I. Schwartz, Ph.D., and
supported by a professional development seed grant from the B. Thomas
Golisano College of Computing & Information Sciences
(https://www.rit.edu/gccis) at the Rochester Ins... | [
"njp2424@ad.rit.edu"
] | njp2424@ad.rit.edu |
6520bfb8672411cc2d7efedaecedf793b34078c6 | ae9ffe2cf2ed611de03a54df50efbb66efa0f3c5 | /cocos/2d/CCComponent.cpp | 4e0a228ae2e9d20d044fd0d0bb021d0c82b2b183 | [
"MIT"
] | permissive | jinsuoliu/cocos2d-bgfx | 3d02cdf31493ee6c43ab5f0e1ccf16303138b816 | 8d4a5cfd525e94b941f333170f747222745713b9 | refs/heads/master | 2020-06-26T20:03:34.338951 | 2019-05-16T08:28:03 | 2019-05-16T08:28:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,658 | cpp | /****************************************************************************
Copyright (c) 2013-2016 Chukong Technologies Inc.
http://www.cocos2d-x.org
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 Sof... | [
"xuruoji@hotmail.com"
] | xuruoji@hotmail.com |
623e24cfe4024dfac339c7dc1efe69e731a50b47 | a3f8e3d964d09d1b6895f8dd9e27a160fd385ff8 | /Assignment_1/Assignment_5/FilterByName.cpp | 3f61b86ffd98149013b310f01dc326dea7018202 | [] | no_license | NaxxoBG/SAR_repo | ca08445d0919f4af5da366f5afd83754dfa69074 | 56c6f9606eed8bf47d7092b631ea4e49f0bc3782 | refs/heads/master | 2020-12-28T09:21:29.486105 | 2020-05-05T17:04:11 | 2020-05-05T17:04:11 | 238,264,581 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 468 | cpp | #include "FilterByName.h"
#include <algorithm>
FilterByName::FilterByName(std::unordered_set<std::string> &names)
{
this->names = names;
}
std::vector<Monkeyy> FilterByName::filter(std::vector<Monkeyy> ms)
{
std::vector<Monkeyy> filtered;
std::copy_if(ms.begin(), ms.end(), std::back_inserter(filtered), [this](Mo... | [
"atanas.latinov@yahoo.com"
] | atanas.latinov@yahoo.com |
a1cf681c32d94c9669389d71da2f884262cba504 | 5bf031203768b81b48dd6550f5ded7f6a6e91cbf | /dbms/src/Formats/MySQLWireBlockOutputStream.cpp | 621a624fb0e8690939e5cc8170799646b079bfde | [
"Apache-2.0"
] | permissive | MyXOF/ClickHouse | e687e45eacb4891a4253f3d43e2dcdf2ce4a2675 | b8faf69b3f894254d77741fb8e04e391bd1fab41 | refs/heads/master | 2020-06-19T01:05:13.526951 | 2019-07-28T09:45:25 | 2019-07-28T09:45:25 | 196,508,548 | 0 | 0 | null | 2019-07-12T04:27:17 | 2019-07-12T04:27:16 | null | UTF-8 | C++ | false | false | 2,880 | cpp | #include "MySQLWireBlockOutputStream.h"
#include <Core/MySQLProtocol.h>
#include <Interpreters/ProcessList.h>
#include <iomanip>
#include <sstream>
namespace DB
{
using namespace MySQLProtocol;
MySQLWireBlockOutputStream::MySQLWireBlockOutputStream(WriteBuffer & buf, const Block & header, Context & context)
: he... | [
"yurrio@ya.ru"
] | yurrio@ya.ru |
86d2249f40b08c1fce1b7af7e9c4c704075c11f3 | 0a99e7c3abed0f4bc5f0e5abf7b6fede80622a5b | /SFML_Template/SFML_Template/SFML_Template/src/Barriers.cpp | 1735697a9ba220d6f81e0c65473f79a404ea458e | [] | no_license | mrjai24/Code-Samples--C-- | 2ac4faa62663f011a16554dfd0cfd03fc2b2f34c | 0dbfc8990c5e54870a20fe3d05548301fc824fda | refs/heads/main | 2023-01-23T21:35:35.011998 | 2020-11-27T21:36:05 | 2020-11-27T21:36:05 | 316,598,448 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,061 | cpp | //Adding in additional libraries.
#include "../include/Barriers.h"
//Defining a variable for the scale of the barriers.
float fScale = 0.75f;
//Private functions.
void Barriers::initTextures()
{
//Initialising all the barrier textures.
//Full barriers.
this->textures["BarrierFull"] = new Texture();
this->texture... | [
"jai25@live.co.uk"
] | jai25@live.co.uk |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.