blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 3 264 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 5 140 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 905
values | visit_date timestamp[us]date 2015-08-09 11:21:18 2023-09-06 10:45:07 | revision_date timestamp[us]date 1997-09-14 05:04:47 2023-09-17 19:19:19 | committer_date timestamp[us]date 1997-09-14 05:04:47 2023-09-06 06:22:19 | github_id int64 3.89k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 22
values | gha_event_created_at timestamp[us]date 2012-06-07 00:51:45 2023-09-14 21:58:39 ⌀ | gha_created_at timestamp[us]date 2008-03-27 23:40:48 2023-08-21 23:17:38 ⌀ | gha_language stringclasses 141
values | src_encoding stringclasses 34
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 3 10.4M | extension stringclasses 115
values | content stringlengths 3 10.4M | authors listlengths 1 1 | author_id stringlengths 0 158 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
efd5620f7cfa2c0499de900449e7050fe0e557d0 | 0ae39e4f9744046848868cd58598f3f489fb22b4 | /Products/Tools/Projucer/Source/ComponentEditor/jucer_ComponentLayout.cpp | c3b45a73dab6c13788e79afab8dbd8c164670e99 | [] | no_license | gogirogi/RS-MET | b908509ddd7390d05476ffce9c9cbb30e95439e8 | d767896f542d8e00e803ad09d20c05b2f25c2c71 | refs/heads/master | 2021-08-19T21:56:36.416451 | 2017-11-27T14:11:52 | 2017-11-27T14:11:52 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 31,032 | cpp | /*
==============================================================================
This file is part of the JUCE library.
Copyright (c) 2015 - ROLI Ltd.
Permission is granted to use this software under the terms of either:
a) the GPL v2 (or any later version)
b) the Affero GPL v3
Details of these ... | [
"robin@rs-met.com"
] | robin@rs-met.com |
a66e5ba64f0804fb2af2d895e739c1f4e0de2ea0 | 8e00d5de63e04ab01897056144c94ddeab148a4f | /stonesDinamic/main.cpp | 4f8bb8633b244f944cc14fd93219566ff73759aa | [] | no_license | MaratZiganshin/coding | 9b6a3d68426fe46d5b055551c0be6443ab0058a6 | c423c97a02c37dc4e60b58bffa7d05785ff512d0 | refs/heads/master | 2021-05-01T17:50:45.036411 | 2018-04-25T20:44:00 | 2018-04-25T20:44:00 | 120,996,992 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,247 | cpp | #include "ReadWriter.h"
//vector, string, iostream included in "ReadWriter.h"
using namespace std;
//Можно добавлять любые вспомогательные методы и классы для решения задачи.
void way(int i, int j, int* stones, vector<int>& res, int** A){
if (A[i][j] == 0)
return;
if (A[i][j] != A[i-1][j])
{
... | [
"zig-marat@mail.ru"
] | zig-marat@mail.ru |
fe0070978f562e7e57ffacbc714a5e980018a7ac | 1243f24d3ed0750f42363bf8705af985a1a7a5c5 | /Handout/Motor2D/j1App.h | ebf7407ad4da00c5b988a4eb5bc25083030a9c55 | [] | no_license | danielolondriz/Sprite-Ordering-Research | ad1167e4f3c894b5ba628cb8da4b28ef11cf9a71 | c6e786fd892bb892ef9bacadaa0bf6ba106440a4 | refs/heads/master | 2020-05-22T23:55:24.183117 | 2017-03-12T18:42:40 | 2017-03-12T18:42:40 | 84,735,321 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,003 | h | #ifndef __j1APP_H__
#define __j1APP_H__
#include "p2List.h"
#include "j1Module.h"
#include "PugiXml\src\pugixml.hpp"
// Modules
class j1Window;
class j1Input;
class j1Render;
class j1Textures;
class j1Audio;
class j1FileSystem;
class j1Scene;
class j1Map;
class j1EntityManager;
class j1Player;
class j1App
{
public:
... | [
"oldan1997@gmail.com"
] | oldan1997@gmail.com |
c82f57e6e4983075ddd4554ab9e54620ccbfb0a2 | 5cbf0eb95605c3b3ca5e6d02162de611425c7555 | /Phone-Charact/Phone-Charact.cpp | 252f0d0913fa26e08484f70f5950a0579a798ef3 | [] | no_license | ArnoStep/Phone-Charact | 884fa09a3041d49f9349c7b0b428281f0722b1b1 | f77e07d99b905bd4fb735208965f27a7529cf8b7 | refs/heads/main | 2023-02-13T04:12:56.105215 | 2021-01-19T15:08:47 | 2021-01-19T15:08:47 | 331,016,374 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,613 | cpp | #include <iostream>
#include <fstream>
#include <string.h>
#include <stdlib.h>
#include <iomanip>
#include <ctime>
#include "mylist.h"
using namespace std;
//--------------------- прототипы функций -------------------------
//реализация пункта меню "1: Read from the file"
void ReadListFromFile(MyList* lst);
//ре... | [
"71711752+ArnoStep@users.noreply.github.com"
] | 71711752+ArnoStep@users.noreply.github.com |
1614de335ab6f54d97b8cda1ace27055b8c8638b | 41743c4b7962f2c953c16d24c7323d06ebc025f9 | /219-Contains-Duplicate-II/solution.cpp | eb9ade198296527bc9ca12a6b37ca03647975216 | [] | no_license | yqliving/Practice | e3bd4d28d8e1e9dabd0ca413dee7d96db136fd22 | 34669d62b079949a329d9869dc6a8b6db791283a | refs/heads/master | 2021-06-04T21:04:57.977020 | 2016-09-05T19:18:41 | 2016-09-05T19:18:41 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,501 | cpp | class Solution {
public:
bool containsNearbyDuplicate(vector<int>& nums, int k) {
unordered_map<int, int> mp;
for (int i = 0; i < nums.size(); i++) {
if (mp.count(nums[i]) && i - mp[nums[i]] <= k) return true;
mp[nums[i]] = i;
}
return false;
}
};
/*=========
定义一个长度最大为k的滑动窗口,用一... | [
"yqliving@gmail.com"
] | yqliving@gmail.com |
f07d843172f276d3300e75dc35daec4f72782609 | e5bd63c4026bfe3e441badb7db1028f41be102e4 | /src/cppad/local/rev_two.hpp | 4c1fe1c5d6f4101de03f1b35d070688f72d507c6 | [] | no_license | cran/SpeciesMix | 4c18711646a93d58887fc18613f34f9dd4fdf1e4 | 9fd0442acdceb95ab684da296b15971ecb24aa2a | refs/heads/master | 2021-05-16T03:26:36.527725 | 2016-10-29T10:48:16 | 2016-10-29T10:48:16 | 17,693,756 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,301 | hpp | # ifndef CPPAD_REV_TWO_INCLUDED
# define CPPAD_REV_TWO_INCLUDED
/* --------------------------------------------------------------------------
CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-06 Bradley M. Bell
CppAD is distributed under multiple licenses. This distribution is under
the terms of the
... | [
"csardi.gabor@gmail.com"
] | csardi.gabor@gmail.com |
61cd0e54979623daef6de540a476efe426ae8d89 | 1e9063402c285564b24d2abce4fcee01b16c4059 | /Greedy_Algorithms/luythuamatran4.cpp | d97ee77a50df36b71309e866cc79b5530d60c66c | [] | no_license | LoggIT2001/Data_Structure_And_Algorithms_PTIT_2021 | 0628d0262486aee08e7ec3d58e986c026b48b3f0 | da282f12db54d13e5e6642d91c11c3a503bcfa2f | refs/heads/master | 2023-05-31T13:51:53.859740 | 2021-07-12T15:42:37 | 2021-07-12T15:42:37 | 385,298,353 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,052 | cpp | #include<bits/stdc++.h>
using namespace std;
#define ll long long
long long const mod=1e9+7;
ll n,k;
ll x[10][10],y[10][10];
void Multiply(ll x[10][10], ll y[10][10]){
ll tmp[10][10];
for(ll i=0;i<n;i++){
for(ll j=0;j<n;j++){
ll Mul=0;
for(ll l=0;l<n;l++){
Mul+=... | [
"dangthelong2001@gmail.com"
] | dangthelong2001@gmail.com |
86f64e88df10de781f6bdb3ced5cdaee49356fd5 | 89cc0ce7a08079a1e0ee111a7424ad591b59345b | /src/pubkey.h | a6e3f780189f7ebc6db984a161d4210d950ecf22 | [
"MIT"
] | permissive | niko117/new-pos | 031d78435369a2b02d3ff29c03a0f908f7b1df2b | 764f53966b6df5bc497e0284fa8afed4ad94565a | refs/heads/master | 2020-04-01T19:33:39.636987 | 2018-10-23T14:23:22 | 2018-10-23T14:23:22 | 153,560,130 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 8,181 | h | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2014 The Bitcoin developers
// Copyright (c) 2015-2017 The PIVX developers
// Copyright (c) 2017-2018 The NXBoost & Bitfineon developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/... | [
"support@zeboost.com"
] | support@zeboost.com |
fd216cea53ad2cfb6473ff6a4dbc36daa6fd3cd7 | 896bbae9bd90d51c0fc75f7cfe92916ff057bb91 | /Game/screen.hpp | 0136a6f67abbd1e035d23f2f8eee8350334157d9 | [] | no_license | avisekksarma/flappy-bird | 244df94e6014384ac721c988f55b0a9a967f7ea3 | a67ecd2d9fa8f6aa55413d89a017b399aa26bbe8 | refs/heads/main | 2023-06-11T15:02:42.886255 | 2021-06-27T13:25:29 | 2021-06-27T13:25:29 | 380,736,521 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,783 | hpp | #ifndef SCREEN_HPP
#define SCREEN_HPP
#include <SFML/Graphics.hpp>
class Screen
{
public:
Screen(const sf::Vector2u &windowSize, sf::RenderWindow &window, const std::string &fileName) : mWindowSize(windowSize), mWindow(window)
{
if (!mTexture.loadFromFile(fileName))
{
//error
... | [
"avisekksarma@gmail.com"
] | avisekksarma@gmail.com |
829b05033e300fbc728abfcbd9d56749874e7700 | 2eacf16030663d4ab6523b979c32556b2f556b7a | /ce30_driver/data_types.cpp | 6066df4272107e27eb985fc0f21e7dcdbb82a60a | [] | no_license | KenthJohan/lidar_skitrack | 874d3f5bb02ea81ce76c54236bb185ebbd7f8c05 | f5671f79b32444941a397152a4bbe95e78acb838 | refs/heads/master | 2023-04-15T10:47:04.709138 | 2021-04-28T08:22:46 | 2021-04-28T08:22:46 | 290,718,995 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 206 | cpp | #include "data_types.h"
namespace ce30_driver {
Point::Point() : Point(0.0f, 0.0f, 0.0f) {}
Point::Point(const float& x, const float& y, const float& z) {
this->x = x;
this->y = y;
this->z = z;
}
}
| [
"johan.soderlind.astrom@gmail.com"
] | johan.soderlind.astrom@gmail.com |
96651713e08c33fb105063f26407362b626b9e66 | fe11f21bd261126e9b24892a17009464f6664d8a | /Google/Kickstart2020/Kickstart2020B3.cpp | 5c5d480f059db9f0ca877aac4f987dbbfc97fdac | [] | no_license | AnimeshSinha1309/coding-contests | 1139c6f1aa8713135e1da7988db6295839f59841 | 471d5d05cbddcbad5e440130fc155489192a4ea7 | refs/heads/master | 2022-12-14T16:38:14.482806 | 2020-09-14T14:24:44 | 2020-09-14T14:24:44 | 243,180,848 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,195 | cpp | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef vector<long long> vll;
typedef pair<long long, long long> pll;
typedef vector<vector<long long>> mll;
typedef vector<pair<long long, long long>> vpl;
typedef long double ld;
typedef vector<long double> vld;
typedef vector<vector<long double>>... | [
"animeshsinha1309@gmail.com"
] | animeshsinha1309@gmail.com |
b8e8cdcc0eb2efa5029e7fee4ab841307a93ca8c | d1cee40adee73afdbce5b3582bbe4761b595c4e1 | /back/RtmpLivePushSDK/boost/boost/preprocessor/if.hpp | 44c0c65552d9bd6df763cb01c15562cdcfb4cef5 | [
"BSL-1.0"
] | permissive | RickyJun/live_plugin | de6fb4fa8ef9f76fffd51e2e51262fb63cea44cb | e4472570eac0d9f388ccac6ee513935488d9577e | refs/heads/master | 2023-05-08T01:49:52.951207 | 2021-05-30T14:09:38 | 2021-05-30T14:09:38 | 345,919,594 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 730 | hpp | # /* **************************************************************************
# * *
# * (C) Copyright Paul Mensonides 2002.
# * Distributed under the Boost Software License, Version 1.0. (See
# * accompanying file LICENSE_1_0.txt... | [
"wenwenjun@weeget.cn"
] | wenwenjun@weeget.cn |
16e8e3198cdca105ce3cd3a0e609b044979498d3 | a2d5837d959ec40a2517520e517a92fda97d9a8a | /chapters/5/5-6.cpp | ee60ebc95af954deffbe3bab58054b0053b99d73 | [
"Apache-2.0"
] | permissive | white0rchardpUnK/Cpp-Primer-5th-Solutions | f4d058511ed100ce2f03377477c1fc043ad0f7e0 | 0c5e53921233e9cefd5e6f2daed490c58d1804df | refs/heads/master | 2022-11-02T21:53:01.118399 | 2022-11-01T14:54:58 | 2022-11-01T14:54:58 | 142,985,567 | 156 | 29 | NOASSERTION | 2019-10-13T05:24:29 | 2018-07-31T08:29:36 | C++ | UTF-8 | C++ | false | false | 652 | cpp | #include <iostream>
#include <vector>
#include <string>
using std::cin; using std::cout;
using std::endl;
using std::vector;
using std::string;
int main(){
const vector<string> alpha = {"F", "E", "D", "C", "B", "A"};
//90~100=A,80~89=B,70~79=C,60~69=D,50~59=E,<=49=F
int grade = 0;
string alphagrade;
... | [
"6168406+white0rchardpUnK@users.noreply.github.com"
] | 6168406+white0rchardpUnK@users.noreply.github.com |
01cfec0ba4618107a73eb4338d830e436f3cea76 | 492976adfdf031252c85de91a185bfd625738a0c | /src/Game/AI/Action/actionPlayerWait.h | a36ff073c1aa790f3a66dde73f880102bb4ff62d | [] | no_license | zeldaret/botw | 50ccb72c6d3969c0b067168f6f9124665a7f7590 | fd527f92164b8efdb746cffcf23c4f033fbffa76 | refs/heads/master | 2023-07-21T13:12:24.107437 | 2023-07-01T20:29:40 | 2023-07-01T20:29:40 | 288,736,599 | 1,350 | 117 | null | 2023-09-03T14:45:38 | 2020-08-19T13:16:30 | C++ | UTF-8 | C++ | false | false | 448 | h | #pragma once
#include "Game/AI/Action/actionPlayerAction.h"
#include "KingSystem/ActorSystem/actAiAction.h"
namespace uking::action {
class PlayerWait : public PlayerAction {
SEAD_RTTI_OVERRIDE(PlayerWait, PlayerAction)
public:
explicit PlayerWait(const InitArg& arg);
void enter_(ksys::act::ai::InlinePa... | [
"leo@leolam.fr"
] | leo@leolam.fr |
05ded1fbbc500bc59b505568ce22ff125425d619 | 7d1430e402a53326b797d6405466c266d07298fa | /GoogleExercises/get_input2.cpp | 78a5f9c4827ddaab9c71cad970b7e67e998970a3 | [] | no_license | osullivan-daniel/cpp_Google_Educate_Exercises | a25179110fff965e4cda9bf6bb4659ecfc7350d3 | edc8fd0c18fa693e58afe8c6beb5ef567260d2a8 | refs/heads/master | 2016-09-02T02:52:07.775660 | 2013-01-26T17:30:28 | 2013-01-26T17:30:28 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 881 | cpp | // get_input2.cpp: Daniel O'Sullivan
// Description: Illustrate the use of cin to get input.
#include <iostream>
using namespace std;
int main()
{
int input_var = 0;
// Enter the do while loop and stay there until either
// a non-numeric is entered, or -1 is entered. Note that
// cin will accept any integer, 4, 4... | [
"daniel@Donkey"
] | daniel@Donkey |
2220d14bca841600b04e5519d1e19878a97652fe | daa4dcb733d87e45993e2e79020fc83508394c28 | /Cpp/task8/Man.cpp | a0a29d071f4119e938b9d8bf1884e5f71435c109 | [] | no_license | Leksoo/ITMO_Storage | 4c70933c9d30cf523260c383b394b6adfc6262bc | 450cb80d29acd2ce99fa83966789e10bb94d95ec | refs/heads/master | 2023-01-23T10:14:42.472706 | 2021-01-30T13:13:00 | 2021-01-30T13:13:00 | 184,566,283 | 0 | 1 | null | 2023-01-05T03:57:31 | 2019-05-02T11:04:58 | Jupyter Notebook | UTF-8 | C++ | false | false | 309 | cpp | //
// Created by lekso on 20.11.2018.
//
#include "Man.h"
Man::Man(size_t mId, size_t mHP, size_t mAP, const std::string& race, size_t age)
: Unit(mId, mHP, mAP), mRace(race), mAge(age) {}
const std::string& Man::getRace() const {
return mRace;
}
size_t Man::getAge() const {
return mAge;
}
| [
"leksoor@gmail.com"
] | leksoor@gmail.com |
3ae2eb2b5ebd4b58c26edbb62d372a0bb4884aeb | 6fae1c65cb9b714cea96ba38d9e11f011b9743df | /tests/source/TestConnectionSettings.cpp | 000406bb6ec1725cd9a46ff228ab24d069d52500 | [
"MIT"
] | permissive | RabidSQL/backend | 1cb798dd4112ae7e8aa25b675301fc54eae96ec8 | 8e491dad792cdc2a69c3a6b8f2df831ba9557c94 | refs/heads/master | 2020-04-08T21:53:13.140249 | 2016-01-30T15:32:25 | 2016-01-30T15:36:24 | 42,556,700 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,674 | cpp | #include "ConnectionSettings.h"
#include "gtest/gtest.h"
namespace RabidSQL {
class TestConnectionSettings : public ::testing::Test {
protected:
void SetUp()
{
filename = "/tmp/rabidsql-test-connection-settings";
}
void TearDown()
{
// Unlink temp file
std::remove(filename... | [
"me@chelseau.com"
] | me@chelseau.com |
027262c1884c2c5f9d65c513bad02b680a533ecd | de534ea69788439de0caf8bd97a5f47293c18149 | /src/entities/dir/dirent.h | 1aa62293e6b2f950ded278454164b4842bce5f65 | [] | no_license | d32f123/ex-fs | 9553ff3b99fd5a50cb9a0c2b64e546ca7d196843 | 1634d2ba716599c29df84cd36214f853c034cfa0 | refs/heads/master | 2021-05-14T01:13:11.497699 | 2018-01-13T22:25:45 | 2018-01-13T22:25:45 | 116,560,777 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 482 | h | #ifndef DIRENT_H_GUARD
#define DIRENT_H_GUARD
#define DIRENT_NAME_MAX (32)
#include "../../inode/inode.h"
typedef struct dirent_struct
{
uint32_t inode_n;
file_type f_type;
char name[DIRENT_NAME_MAX];
} dirent_t;
inline std::ostream& operator<<(std::ostream& os, dirent_struct d)
{
return os << static_cast<unsig... | [
"d32f123@yandex.ru"
] | d32f123@yandex.ru |
8adc2c9634bcc37e493ffc3a11683e3588456179 | 293480e2d415ad060f5682049c4c739f71850fc8 | /id-increment/id.pb.h | ae915cff82b385a7d125af3a3a736a2d9e1d2fed | [
"MIT"
] | permissive | KyrielightWei/multi-master-tool | c0e1d7a59e18a5defcfdda2eb03b5f6147160ca8 | 7d40b372d459894ea5de64685e10e79ddaa3760c | refs/heads/master | 2023-02-22T10:50:26.716719 | 2020-08-28T12:42:43 | 2020-08-28T12:42:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | true | 25,625 | h | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: id.proto
#ifndef GOOGLE_PROTOBUF_INCLUDED_id_2eproto
#define GOOGLE_PROTOBUF_INCLUDED_id_2eproto
#include <limits>
#include <string>
#include <google/protobuf/port_def.inc>
#if PROTOBUF_VERSION < 3012000
#error This file was generated by a newer ... | [
"pokemonwei@126.com"
] | pokemonwei@126.com |
91b4237bf46973c21237259ecf30cebc74a0c5db | 6af6a8a36e81cd8bd8ec62e0d6c91c1341553525 | /aspirant_application/Game.Avatar.Items.h | 8dc5e29524f025732459dfd290e2cdf1a52468d2 | [
"MIT"
] | permissive | playdeezgames/dcjam2021 | 0c9511b30134bcc95d72a0e29761013101810c9b | b0846eb8d61ae1a6d2fa22cd016f4316c1b17839 | refs/heads/main | 2023-05-21T22:57:27.769257 | 2021-06-15T20:40:44 | 2021-06-15T20:40:44 | 353,330,612 | 3 | 0 | MIT | 2021-04-15T10:52:47 | 2021-03-31T11:21:00 | C++ | UTF-8 | C++ | false | false | 690 | h | #pragma once
#include "Game.Item.h"
#include <map>
#include <optional>
#include <string>
#include <tuple>
#include "Game.h"
namespace game::avatar::Items
{
size_t Read(int);
void Reset(const game::Difficulty&);
void Add(int, size_t);
size_t Remove(int, size_t);
std::map<int, size_t> All();
void Start();
void Dr... | [
"ernestpazera@gmail.com"
] | ernestpazera@gmail.com |
c045497b0e890085f17be353996d70d5d68f33e0 | c354d2b16e5e993a68b4c7dc8792bc41c9af9957 | /상수.cpp | b8a0f4e4fe5b6765a2c3318ae826a10414d7feb7 | [] | no_license | DonnaKin/C-_Class-1season- | 6283422f40ce051bddfad8301fdee5b8b6dba3e5 | f21346966901255737bf2f26a64496e0793e8854 | refs/heads/master | 2021-09-01T06:43:35.983303 | 2017-12-25T12:36:12 | 2017-12-25T12:36:12 | 115,336,813 | 0 | 0 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 275 | cpp | #include <iostream>
using namespace std;
#define f(x) x*x
#define MAX_COUNT 100
#define MAX(a,b) a>b? a:b
int main(){
cout << MAX_COUNT << endl;
//int nMAX = MAX(100, 200);
cout << (MAX(100,200)) << endl;
cout << f(2 + 3) << endl; //±×´ë·Î ³ª¿È
return 0;
} | [
"mkkin916@naver.com"
] | mkkin916@naver.com |
eb391ae24598367fdc87dadae96d501909d8bbd9 | 2c6db978a533caa74150705f8d15f50f7b0a31a5 | /Game/Source/FadeToBlack.cpp | 58b3464545dc6584980128ad00395f18cb24b31c | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | MrPollito/PlatformerGame | 0742bd9596d4ce23a82b97311ea432cf66a70cbf | e1265d77a8fd625dde2a9a21090a5743d1af8871 | refs/heads/master | 2023-02-11T21:08:59.807688 | 2021-01-10T22:56:24 | 2021-01-10T22:56:24 | 301,352,519 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,165 | cpp | #include "FadeToBlack.h"
#include "Window.h"
#include "App.h"
#include "Render.h"
#include "Scene.h"
#include "Defs.h"
#include "Log.h"
#include "SDL/include/SDL_render.h"
FadeToBlack::FadeToBlack() : Module()
{
name = "fade";
//corregir
screenRect = { 0, 0, SCREEN_WIDTH, SCREEN_HEIGHT };
}
FadeToBlack::~FadeT... | [
"juanortegasanchez2000@gmail.com"
] | juanortegasanchez2000@gmail.com |
7e9ba5f2e16de6654536bcc1ab9d90e60370385e | 1c227ba096a00c5b9b7a3f5736c4cf87e57bcef2 | /hikyuu_cpp/hikyuu/utilities/db_connect/mysql/MySQLStatement.h | 8e5fb38c20082f9a6f7c1adf00f630758492af00 | [
"LicenseRef-scancode-unknown-license-reference",
"MIT"
] | permissive | super-quants/hikyuu | 32a334208727c8eeea62ffca0ec637cfab86f7a2 | ed82c04ec160b95dd9c133c108c092859a544066 | refs/heads/master | 2022-11-28T11:46:13.318175 | 2020-08-05T15:52:24 | 2020-08-05T15:52:24 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,029 | h | /*
* MySQLStatement.h
*
* Copyright (c) 2019, hikyuu.org
*
* Created on: 2019-8-17
* Author: fasiondog
*/
#pragma once
#ifndef HIYUU_DB_CONNECT_MYSQL_MYSQLSTATEMENT_H
#define HIYUU_DB_CONNECT_MYSQL_MYSQLSTATEMENT_H
#include <boost/any.hpp>
#include "../SQLStatementBase.h"
#if defined(_M... | [
"fasiondog@163.com"
] | fasiondog@163.com |
37a720ddea9318a57c182eebbf40c8b9cf913594 | 4ad2ec9e00f59c0e47d0de95110775a8a987cec2 | /_zFTP-backup/_Surse/BR_gim/BR_6_gim/BR_6_002/BR_6_0022.cpp | 2666d9ad6a7e002a3b00e98c7855c1f19e8b5719 | [] | no_license | atatomir/work | 2f13cfd328e00275672e077bba1e84328fccf42f | e8444d2e48325476cfbf0d4cfe5a5aa1efbedce9 | refs/heads/master | 2021-01-23T10:03:44.821372 | 2021-01-17T18:07:15 | 2021-01-17T18:07:15 | 33,084,680 | 2 | 1 | null | 2015-08-02T20:16:02 | 2015-03-29T18:54:24 | C++ | UTF-8 | C++ | false | false | 246 | cpp | #include <fstream>
using namespace std;
long n,i;
int main()
{
ifstream f("munte.in");
ofstream g("munte.out");
f>>n;
for(i=1;i<=n;i++)
g<<2<<'\n';
g<<4<<'\n';
g<<4<<'\n';
f.close();
g.close();
return 0;
}
| [
"atatomir5@gmail.com"
] | atatomir5@gmail.com |
bd27ebb4d43fa529a6556f98f89227ab24be8f6a | 600df3590cce1fe49b9a96e9ca5b5242884a2a70 | /components/sync/api/sync_error_factory.cc | d668e844bbe4b83930afd8dba7737cdc3595bf8b | [
"BSD-3-Clause"
] | permissive | metux/chromium-suckless | efd087ba4f4070a6caac5bfbfb0f7a4e2f3c438a | 72a05af97787001756bae2511b7985e61498c965 | refs/heads/orig | 2022-12-04T23:53:58.681218 | 2017-04-30T10:59:06 | 2017-04-30T23:35:58 | 89,884,931 | 5 | 3 | BSD-3-Clause | 2022-11-23T20:52:53 | 2017-05-01T00:09:08 | null | UTF-8 | C++ | false | false | 349 | cc | // 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 "components/sync/api/sync_error_factory.h"
namespace syncer {
SyncErrorFactory::SyncErrorFactory() {}
SyncErrorFactory::~SyncErrorFactory(... | [
"enrico.weigelt@gr13.net"
] | enrico.weigelt@gr13.net |
98d3e012bed88cce03cbbe12abcbdb4a2af5a5eb | 36701a7bbf9ab496ece446c4f99dc46829bdc6a8 | /ddcc2020-qual/b.cpp | 7faba38e4461b598c50922744aac17129a1de032 | [] | no_license | yyatsuo/atcoder | de83ec74cb30fac10e80701871fa97233823d8d8 | d9dc1734514e0235b606bf9195373de34c49e695 | refs/heads/master | 2022-03-04T02:40:32.878692 | 2022-02-27T13:13:05 | 2022-02-27T13:13:05 | 182,335,971 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 903 | cpp | #include <bits/stdc++.h>
#define INF INT_MAX
#define ll long long
#define ull unsigned long long
#define rep(i,n) for(ll i=0; i<n; ++i)
#define FOR(i, s, e) for(ll i=s; i<e; ++i)
#define MOD 1000000007
using namespace std;
template<class T> inline bool chmin(T& a, T b) { if(a>b) {a=b; return true;} return false;}
temp... | [
"yyatsuo@debian.or.jp"
] | yyatsuo@debian.or.jp |
7fafe7eb65fcf11e94a76b4e32e4b472a78bb88c | cfeac52f970e8901871bd02d9acb7de66b9fb6b4 | /generated/src/aws-cpp-sdk-opsworks/source/model/DescribeCommandsRequest.cpp | 317c8faf427f7f0fe548a908e52a7bbf139c75aa | [
"Apache-2.0",
"MIT",
"JSON"
] | permissive | aws/aws-sdk-cpp | aff116ddf9ca2b41e45c47dba1c2b7754935c585 | 9a7606a6c98e13c759032c2e920c7c64a6a35264 | refs/heads/main | 2023-08-25T11:16:55.982089 | 2023-08-24T18:14:53 | 2023-08-24T18:14:53 | 35,440,404 | 1,681 | 1,133 | Apache-2.0 | 2023-09-12T15:59:33 | 2015-05-11T17:57:32 | null | UTF-8 | C++ | false | false | 1,469 | cpp | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/opsworks/model/DescribeCommandsRequest.h>
#include <aws/core/utils/json/JsonSerializer.h>
#include <utility>
using namespace Aws::OpsWorks::Model;
using namespace Aws::Utils::Json;
usi... | [
"sdavtaker@users.noreply.github.com"
] | sdavtaker@users.noreply.github.com |
84bee7909323a33dbf13d2f363d7539a86f972f0 | 1cece0d71f79fe991ede775181767e1a697ac374 | /tensorflow/compiler/xla/tests/custom_call_test.cc | 63c3b4b5b02988bba8967c199bed3303a8a5a376 | [
"Apache-2.0"
] | permissive | microsoft/tensorflow-directml | 18d95a3f9ea0909fde8c1c245973eaa891e11348 | 3800a8e1cdeea062b9dac8584fb6303be7395b06 | refs/heads/directml | 2023-08-24T03:21:52.097089 | 2022-12-21T22:39:00 | 2022-12-21T22:39:00 | 291,217,084 | 459 | 43 | Apache-2.0 | 2022-12-21T22:39:02 | 2020-08-29T06:44:33 | C++ | UTF-8 | C++ | false | false | 8,452 | cc | /* Copyright 2017 The TensorFlow 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 applicable law or a... | [
"gardener@tensorflow.org"
] | gardener@tensorflow.org |
873cd48c1da29785ac34b7d4855ddbbd5e83fd1b | af8630866113c8e34a50180d6dbc81d1630c5877 | /G11_Project/BoundObject.h | 65b011e3d8ff19d02dc946eff24450fd496e5463 | [] | no_license | GaneshTambat/G-11_Project | 5557b824b93f9f68a4d706754f1fcdcb3dec1855 | daf98b0c70e139b0de1ae3e2f806267c4f520eb4 | refs/heads/master | 2020-03-20T19:36:08.353761 | 2015-07-07T06:23:37 | 2015-07-07T06:23:37 | null | 0 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 711 | h | #pragma once
#ifndef _BOUND_OBJECT_H_
#define _BOUND_OBJECT_H_
#include "Wall.h"
class BoundObject;
class Player;
typedef void(*BOAction)(BoundObject*);
class BoundObject :public Wall
{
public:
BoundObject(int priority) :Wall(priority){};
static BoundObject* Create(const D3DXVECTOR2& pos, const D3DXVECTOR2& size,... | [
"xeon_lagunas@yahoo.co.jp"
] | xeon_lagunas@yahoo.co.jp |
950089aee9e3b876b9288bd8bb532429de016612 | 89b7e4a17ae14a43433b512146364b3656827261 | /testcases/CWE134_Uncontrolled_Format_String/s02/main_linux.cpp | 7f9bcf79220c5365c0915b03fea79248b0939684 | [] | no_license | tuyen1998/Juliet_test_Suite | 7f50a3a39ecf0afbb2edfd9f444ee017d94f99ee | 4f968ac0376304f4b1b369a615f25977be5430ac | refs/heads/master | 2020-08-31T23:40:45.070918 | 2019-11-01T07:43:59 | 2019-11-01T07:43:59 | 218,817,337 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 145,773 | cpp | /* NOTE - eventually this file will be automatically updated using a Perl script that understand
* the naming of test case files, functions, and namespaces.
*/
#include <time.h> /* for time() */
#include <stdlib.h> /* for srand() */
#include "std_testcase.h"
#include "testcases.h"
int main(int argc, char * argv[... | [
"35531872+tuyen1998@users.noreply.github.com"
] | 35531872+tuyen1998@users.noreply.github.com |
e8bc16b3ce0cdeb6d05ce3799dfc5e3cac00e23a | 55a565270e3c53349485a4a7db48f782a15c857c | /headers/Windows.Devices.SerialCommunication.dll.h | a636c53f41ea4d334889e831114079c1b0176548 | [] | no_license | 33c0c3/MS-public-PDB-structs | a005cddbddaecc92ac43fc9c5ba74a1e68521324 | f6cbccb3e8b4ae5d2cfe77934323be9185b03ddb | refs/heads/master | 2023-03-17T11:13:55.415986 | 2019-03-14T08:27:19 | 2019-03-14T08:27:19 | 584,683,044 | 1 | 0 | null | 2023-01-03T08:43:27 | 2023-01-03T08:43:26 | null | UTF-8 | C++ | false | false | 1,649,456 | h | struct $_TypeDescriptor$_extraBytes_102;
struct $_TypeDescriptor$_extraBytes_103;
struct $_TypeDescriptor$_extraBytes_104;
struct $_TypeDescriptor$_extraBytes_108;
struct $_TypeDescriptor$_extraBytes_109;
struct $_TypeDescriptor$_extraBytes_110;
struct $_TypeDescriptor$_extraBytes_113;
struct $_TypeDescriptor$_extraByt... | [
"achevalier87@gmail.com"
] | achevalier87@gmail.com |
49805f5039b67e3348b9482a0564da0244b61cde | 0c2df436d549eb254304ccb10c16481464c61495 | /AaronEngine/src/SoundBuffer.cpp | b146c2798060749c503f6e5fbccb1c75c084db58 | [] | no_license | abrom010/AaronEngine | 29adb8f78a29ff818673eccd9ecd29bfebc5d6d0 | 3ccb4d674e685559ec7c2d04cc22761a1e78f0ce | refs/heads/master | 2023-06-22T14:10:11.986421 | 2021-07-23T20:22:07 | 2021-07-23T20:22:07 | 382,748,969 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,166 | cpp | #include "SoundBuffer.h"
#include <sndfile.h>
#include <inttypes.h>
#include <AL\alext.h>
namespace AaronEngine {
SoundBuffer* SoundBuffer::get() {
static SoundBuffer* sndbuf = new SoundBuffer();
return sndbuf;
}
ALuint SoundBuffer::addSoundEffect(const char* filename) {
ALenum err, format;
ALuint buffer;... | [
"abrom010@fiu.edu"
] | abrom010@fiu.edu |
b3a3cd8777a6dcb72f119ec8c9d8536bf1916c9a | f60896cbf22c59168bd2eb7afbf3740caf7def97 | /Product.h | 5c71c82266f4cf3008a6a1bfb91831eba3814c41 | [
"MIT"
] | permissive | frkey/shelf-organizer | 00f80a99e45b38c0f768727900dfa5e31a020176 | 3219a4e1abc5ee073b4e62ce283b98311f56e29d | refs/heads/master | 2020-03-10T19:28:12.794945 | 2018-04-14T19:58:19 | 2018-04-14T19:58:19 | 129,548,288 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 556 | h | class Product {
private:
int line;
int column;
public:
Product();
Product(int line, int column);
int getLine();
void setLine(int line);
int getColumn();
void setColumn(int column);
} product;
Product::Product() {}
Product::Product(int line, int column) {
this->line = line;
thi... | [
"frkey@outlook.com"
] | frkey@outlook.com |
f75c11eb71cd7f0eb01decd8d4e644c2605ff162 | 428befae60da20950b41e18151c9a2a7985ed159 | /browser/src/vts-libbrowser/utilities/obj.cpp | 9308d71f06c3ed83e89d169dc44cff4893eaaa75 | [
"BSD-2-Clause"
] | permissive | melowntech/vts-browser-cpp | e367a6c23911937a74ae192a9089b893931bbeb7 | 5a27ebc2ac55f998571f77be4d503d0f6da29e17 | refs/heads/master | 2022-01-21T11:47:13.475148 | 2021-05-11T10:32:30 | 2021-05-11T10:32:30 | 92,922,231 | 34 | 16 | BSD-2-Clause | 2021-09-26T07:01:33 | 2017-05-31T08:18:39 | C++ | UTF-8 | C++ | false | false | 2,734 | cpp | /**
* Copyright (c) 2017 Melown Technologies SE
*
* 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,
* this list of conditions and the f... | [
"tomas.maly@melown.com"
] | tomas.maly@melown.com |
99e930811e7488898d45169f3d3fdfc07d730de2 | d360e5530669a86d1a835b37d1d0b11bef369fee | /Source/Shaders/ShaderLoader.h | eb8dfd420c7f2040b5e7e34c7d6deb75c9ee3a90 | [
"MIT"
] | permissive | raydelto/MineCraft-One-Week-Challenge | 39cc69421a0c746ce3a4eab46cba5d6a18208395 | 4b07f2a60a3104bcd0ea7e4d59757ad5220accc8 | refs/heads/master | 2022-10-22T07:34:42.476901 | 2020-06-07T04:19:38 | 2020-06-07T04:19:38 | 269,068,719 | 0 | 0 | MIT | 2020-06-03T11:22:38 | 2020-06-03T11:22:37 | null | UTF-8 | C++ | false | false | 252 | h | #ifndef SHADERLOADER_H_INCLUDED
#define SHADERLOADER_H_INCLUDED
#include "../glad/glad.h"
#include <string>
GLuint loadShaders(const std::string &vertexShader,
const std::string &fragmentShader);
#endif // SHADERLOADER_H_INCLUDED
| [
"mhopson@hotmail.co.uk"
] | mhopson@hotmail.co.uk |
50106d91a6778d57af111754b6c22986fe5711a0 | b5a9d42f7ea5e26cd82b3be2b26c324d5da79ba1 | /tensorflow/compiler/mlir/lite/flatbuffer_to_string.cc | 7f39aa36998b0926ec378a0d18f59fad8d0ca8ca | [
"Apache-2.0"
] | permissive | uve/tensorflow | e48cb29f39ed24ee27e81afd1687960682e1fbef | e08079463bf43e5963acc41da1f57e95603f8080 | refs/heads/master | 2020-11-29T11:30:40.391232 | 2020-01-11T13:43:10 | 2020-01-11T13:43:10 | 230,088,347 | 0 | 0 | Apache-2.0 | 2019-12-25T10:49:15 | 2019-12-25T10:49:14 | null | UTF-8 | C++ | false | false | 4,664 | cc | /* Copyright 2019 The TensorFlow 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 applicable ... | [
"v-grniki@microsoft.com"
] | v-grniki@microsoft.com |
f8a27c31f55fe6e8bf54e634a3acc793af527a45 | eb5421feb6baa70b724bd1bbacba405c7cd96a99 | /Code/Engine/EventSystem/NamedProperties.cpp | 0bfe6c5dc6b2af9ca9afc0d01cd4f52bb0a16163 | [] | no_license | KomalShashank/Engine | a92b1a44c79e6476e41070cea8fb345a84b3ad3c | 837fbc9eae391549bc69fdf3bd46b604300567ba | refs/heads/master | 2022-12-15T15:15:59.188094 | 2020-09-05T10:59:09 | 2020-09-05T10:59:09 | 293,054,040 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 215 | cpp | #include "Engine/EventSystem/NamedProperties.hpp"
NamedProperty::NamedProperty()
{
}
NamedProperty::~NamedProperty()
{
}
NamedProperties::NamedProperties()
{
}
NamedProperties::~NamedProperties()
{
} | [
"komalshashank1992@yahoo.com"
] | komalshashank1992@yahoo.com |
31c3337d52d4a5251af5eed6dff78e72d1e71a2c | 8dc964c1a667eb2d828e5cdacf018866311f55f8 | /IP_balance/main_mega/PID_test_old/PID_v1.cpp | 219c0b325de4dd9c89033288dd4093e2d5867506 | [] | no_license | RX-00/roller_biped | 89943afe6acfec122cdd9addd17d30a3b177f47c | a3bbd511e6b2348740e447b2e9fe5e8cfe1bc050 | refs/heads/master | 2021-06-21T14:38:53.528099 | 2020-08-03T17:09:27 | 2020-08-03T17:09:27 | 254,499,606 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,787 | cpp | /**********************************************************************************************
* Arduino PID Library - Version 1.0.1
* by Brett Beauregard <br3ttb@gmail.com> brettbeauregard.com
*
* This Library is licensed under a GPLv3 License
*********************************************************************... | [
"00royxing@gmail.com"
] | 00royxing@gmail.com |
47669aeb99e4973ecc4c008a40e59f13cb843dde | 948f4e13af6b3014582909cc6d762606f2a43365 | /testcases/juliet_test_suite/testcases/CWE680_Integer_Overflow_to_Buffer_Overflow/CWE680_Integer_Overflow_to_Buffer_Overflow__new_fscanf_53a.cpp | badf01dea2f3a1c52832417d9bf0ce81e116c8bd | [] | 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 | 2,383 | cpp | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE680_Integer_Overflow_to_Buffer_Overflow__new_fscanf_53a.cpp
Label Definition File: CWE680_Integer_Overflow_to_Buffer_Overflow__new.label.xml
Template File: sources-sink-53a.tmpl.cpp
*/
/*
* @description
* CWE: 680 Integer Overflow to Buffer Overflow
* BadSourc... | [
"yzhang0701@gmail.com"
] | yzhang0701@gmail.com |
345249264c136b222122c3cf76aae388f638722f | cefd6c17774b5c94240d57adccef57d9bba4a2e9 | /WebKit/Source/WebCore/crypto/keys/CryptoKeyDataRSAComponents.cpp | e484926189e0e0bb48766f9fe7900256440b4b64 | [
"BSD-2-Clause",
"LGPL-2.0-only",
"LGPL-2.1-only",
"BSL-1.0"
] | permissive | adzhou/oragle | 9c054c25b24ff0a65cb9639bafd02aac2bcdce8b | 5442d418b87d0da161429ffa5cb83777e9b38e4d | refs/heads/master | 2022-11-01T05:04:59.368831 | 2014-03-12T15:50:08 | 2014-03-12T15:50:08 | 17,238,063 | 0 | 1 | BSL-1.0 | 2022-10-18T04:23:53 | 2014-02-27T05:39:44 | C++ | UTF-8 | C++ | false | false | 2,861 | cpp | /*
* Copyright (C) 2013 Apple Inc. 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 a... | [
"adzhou@hp.com"
] | adzhou@hp.com |
ba9bac5a662d2a5b3d1f825e5dd59297a2ccae2a | ad61f4ba1d0ef6762c6db608a3e9cbf0634f1b9f | /framework/render/gl20/ogl_2_0_renderer.cpp | 7d6e5728bc046fd9031f37d5aeef5e3e6c5a46de | [
"MIT"
] | permissive | spacejim/OpenApoc | aa2fe55b942f76c7a71f41cddad47d4c77e81aca | 71fd9e4ea64eff249ed99e69b7fc9f586d9ddd3b | refs/heads/master | 2021-01-21T04:05:17.382481 | 2016-04-05T05:02:10 | 2016-04-05T05:03:38 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 30,037 | cpp | #include "framework/image.h"
#include "framework/logger.h"
#include "framework/palette.h"
#include "framework/renderer_interface.h"
#include "library/sp.h"
#include <array>
#include <memory>
namespace
{
/* Workaround MSVC not liking int64_t being defined here and in allegro */
#define GLEXT_64_TYPES_DEFINED
#include "... | [
"jtrhamilton@gmail.com"
] | jtrhamilton@gmail.com |
702c902c94414f4e79cb553d5099a7ff777da93c | 55d560fe6678a3edc9232ef14de8fafd7b7ece12 | /libs/spirit/test/karma/regression_container_variant_sequence.cpp | 5c2586c2e85e08cf7b24ef8ea3c2c2ffc9cfd2ab | [
"BSL-1.0"
] | 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 | 2,506 | cpp | // Copyright (c) 2001-2012 Hartmut Kaiser
// Copyright (c) 2012 Benjamin Schindler
//
// 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)
#include <boost/config/warning_disable.hpp>
#include <boost/detail/li... | [
"james.pack@stardog.com"
] | james.pack@stardog.com |
ba49a370d54ad6f521ec336b5b56aaa97bd653fe | 4b611e14fdd6ea371312177c1c387e701d9ef939 | /Src/AstarBuilder/AstarBuilder/zealot.cpp | a0fe145c0d3f5beac06ac8bdde7e72cc96aa8e4a | [
"MIT"
] | permissive | gameconstructer/AI-Practice | a9b45e2c5ff4f309b2882e3e651e2c6140b09c76 | ebd3423c6684b6978c0d68cc9b29ab69acb1c545 | refs/heads/master | 2022-04-17T09:50:20.108030 | 2018-10-31T14:28:21 | 2018-10-31T14:28:21 | null | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 1,518 | cpp |
#include "stdafx.h"
#include "zealot.h"
#include "zealotai.h"
//#include "groupmove.h"
using namespace graphic;
cZealot::cZealot()
: m_ai(NULL)
{
}
cZealot::~cZealot()
{
SAFE_DELETE(m_ai);
}
bool cZealot::Create(graphic::cRenderer &renderer)
{
RETV2(!__super::Create(renderer, common::GenerateId(), "zealot.fbx... | [
"jjuiddong@gmail.com"
] | jjuiddong@gmail.com |
25f5bae3dcc9b030ab199e114e47340d36ecab07 | 945e7bf2e9aef413082e32616b0db1d77f5e4c7e | /SceneModeller/SceneModeller/core/rectangle.cpp | 6d5dac6c8d961427a6bd9fc3a5475f4abdff8e5a | [] | no_license | basarugur/bu-medialab | 90495e391eda11cdaddfedac241c76f4c8ff243d | 45eb9aebb375427f8e247878bc602eaa5aab8e87 | refs/heads/master | 2020-04-18T21:01:41.722022 | 2015-03-15T16:49:29 | 2015-03-15T16:49:29 | 32,266,742 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 724 | cpp | #include "rectangle.h"
BBox RectangleShape::object_bound() const
{
return BBox(Point3(-m_x/2.0,-m_y/2.0,0),Point3(m_x/2.0,m_y/2.0,0));
}
void RectangleShape::copyToMesh(TriangleMesh* msh_)
{
Vertex* v1_ = new Vertex(-m_x/2.0,-m_y/2.0,0);
Vertex* v2_ = new Vertex(m_x/2.0,-m_y/2.0,0);
Vertex* v3_ = new Vertex(m_x... | [
"esangin@19b6b63a-0a50-11de-97d8-e990b0f60ea0"
] | esangin@19b6b63a-0a50-11de-97d8-e990b0f60ea0 |
29e716734a3a604ac1feff2ea837e9ef66faac32 | 529466da9415200bfd1ee63b04dfc71ace76a228 | /src/Track.cpp | 21060c0c51e20cd358cc382f64234214bb2c7015 | [] | no_license | TiGGa84/CGAbschluss | 335e782b41c80e3cabc396f157167982c6f944cb | ac58fde93bd787b76bc030bf1de00d83bd1e3ad4 | refs/heads/master | 2021-01-11T14:17:43.918804 | 2017-02-23T11:17:56 | 2017-02-23T11:17:56 | 81,315,242 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,203 | cpp |
#include "Track.h"
#include "Matrix.h"
#include "FreeImage.h"
#include <exception>
#define ASSET_DIRECTORY "../../assets/"
Track::Track(float speed, int renderLimit) :
speedPerS(speed),
renderLimit(renderLimit),
Box(-0.5f, 0.0f, -0.5f, 0.5f, 1.0f, 0.5f)
{
emptySector = new Sector(20);
readSector(ASSET_DIRECTO... | [
"Myor@users.noreply.github.com"
] | Myor@users.noreply.github.com |
c2bf8ac27836757d0963ef901bbdb58c8fb12f7c | 77ee25aae73961b5abdb9d742dd29459b8816d41 | /cpp/platform/impl/windows/generated/winrt/impl/Windows.Media.SpeechSynthesis.0.h | 7fde7e7a857f81115746dcc8a6070f2c50b8850e | [
"LicenseRef-scancode-generic-cla",
"Apache-2.0"
] | permissive | ciaraspissed/nearby-connections | eabaff88177289d3b15274fc4ed2e745fe022802 | 233c5f533771c4004bac87a49cbc9f0137d80bfb | refs/heads/master | 2023-08-12T14:43:09.092255 | 2021-09-16T20:18:26 | 2021-09-16T20:19:03 | 407,859,947 | 2 | 0 | Apache-2.0 | 2021-09-18T12:54:05 | 2021-09-18T12:54:04 | null | UTF-8 | C++ | false | false | 18,627 | h | // WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210825.3
#pragma once
#ifndef WINRT_Windows_Media_SpeechSynthesis_0_H
#define WINRT_Windows_Media_SpeechSynthesis_0_H
WINRT_EXPORT namespace winrt::Windows::Foundation
{
template <typename TResult> struct __declspec(empty_bases) IAsyncOper... | [
"copybara-worker@google.com"
] | copybara-worker@google.com |
cc335e490ae66953612c52903239993127da85be | 389c7ec02169854bd2e664c6fb5ea7207326d8fe | /ChemLive/Boron.cpp | 5180a6f503e9475e68d25e34dd1a84d6d7f1f14f | [] | no_license | backusd/ChemLive | 85dc0c3d2cec9cb1b1d8ae832b1e4167d71e9d4e | fe4b93f1c227ba79539e883fde864c4f06ca3096 | refs/heads/master | 2023-04-05T13:53:51.213275 | 2021-04-06T21:36:32 | 2021-04-06T21:36:32 | 322,097,912 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,601 | cpp | #include "pch.h"
#include "Boron.h"
namespace Simulation
{
Boron::Boron(const std::shared_ptr<DX::DeviceResources>& deviceResources,
XMFLOAT3 position, XMFLOAT3 velocity, int neutronCount, int charge) :
Atom(deviceResources, Element::BORON, position, velocity, neutronCount, Element::BORON - charge)
{
}
void ... | [
"backusdakota@gmail.com"
] | backusdakota@gmail.com |
8ab20941b2c0e6eba09dc756622db91cf6a15bab | 26551769200eafa5bdd72ea5a51f87e61dbd8d6d | /codeforces/151div2/4.cpp | c5b66e63bdb19e4db2c5131a6bc685b48d517da0 | [] | no_license | kalachand/codes | f894945a2cdc4c7868fd1f24c3b7727f32cf5ba1 | ed45d7ffe380e4e5d52f95e9542a108e4ceeceb7 | refs/heads/master | 2021-01-15T12:44:29.552598 | 2015-11-03T21:02:36 | 2015-11-03T21:02:36 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,925 | cpp | /*******************
Akash Agrawall
IIIT HYDERABAD
***********************/
#include<bits/stdc++.h>
using namespace std;
#define FOR(i,a,b) for(i= a ; i < b ; ++i)
#define rep(i,n) FOR(i,0,n)
#define INF INT_MAX
#define ALL(x) x.begin(),x.end()
#define LET(x,a) __typeof(a) x(a)
#define IFOR(i,a,b) for(LET(i,a);i!... | [
"akash.agrawall094@gmail.com"
] | akash.agrawall094@gmail.com |
69f6faa93e1db73e25e1f8744ddc868e49ed1fed | 3444d4b7d5ffa0ebf203c8fc9b98f02b7016f153 | /tests/common-operations-basics.cpp | ad09d131b3e08fe53b412933650a764debfc6f11 | [
"Apache-2.0"
] | permissive | hemeraos/hemera-qt5-sdk | b651bf043c0c2bdde986e62b33508300cdfd9283 | cb8c2a3fa692e5c3234bb9e1f1ae01b9e1d54771 | refs/heads/master | 2023-03-01T20:40:49.148740 | 2021-02-08T14:34:53 | 2021-02-08T14:59:14 | 337,111,717 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 14,278 | cpp | #include <HemeraTest/DBusTest>
#include <QtCore/QObject>
#include <QtCore/QStringList>
#include <QtCore/QPointer>
#include <QtCore/QThread>
#include <QtCore/QTimer>
#include <QJsonDocument>
#include <QJsonObject>
#include <QtDBus/QDBusAbstractAdaptor>
#include <QtDBus/QDBusInterface>
#include <HemeraCore/AsyncInitDB... | [
"davide.bettio@ispirata.com"
] | davide.bettio@ispirata.com |
cc95412795940c69152304c6957b5f4f2cb4a070 | 611734ae58aae23a4ed4339a9ecd882cd0862c41 | /tuw_acin_eva_people/msg_gen/cpp/include/tuw_acin_eva_people/DoHeadMoveActionResult.h | e77735e2df3f4333bfcee49a021942414a5c5708 | [] | no_license | bajo/tuw_acin_eva | daa2286ab1e563b6e52cc1701137f089ad44909b | e6629e0139af358082720d26354b338a8594ffa3 | refs/heads/master | 2021-01-13T04:40:08.619653 | 2013-04-05T12:47:48 | 2013-04-05T12:47:48 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,981 | h | /* Auto-generated by genmsg_cpp for file /home/bajo/workspace/tuw_acin_eva2/tuw_acin_eva_people/msg/DoHeadMoveActionResult.msg */
#ifndef TUW_ACIN_EVA_PEOPLE_MESSAGE_DOHEADMOVEACTIONRESULT_H
#define TUW_ACIN_EVA_PEOPLE_MESSAGE_DOHEADMOVEACTIONRESULT_H
#include <string>
#include <vector>
#include <map>
#include <ostream... | [
"markus.bajones@gmail.com"
] | markus.bajones@gmail.com |
82529841ff9587967779b637ffe681c65105a00d | 112843d80c53bbdcb10605318f5aa280fab93467 | /firmware/Figments/Animation.cpp | 3eeac2a4467d65f9aa6e260969dbd68ae43dba6e | [] | no_license | tdfischer/renderbug | 18048c7770b1b0abf8ec181375b0148bab97e3ca | 3b32d72d5e84a7f1c6a42b5893cd412ad42c5dba | refs/heads/master | 2020-12-22T16:00:39.025568 | 2020-01-28T21:48:46 | 2020-01-28T21:48:46 | 236,850,465 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 188 | cpp | #include "./Animation.h"
#include "./Input.h"
#include "./Display.h"
#include <algorithm>
uint8_t
AnimatedNumber::value() const
{
return NSFastLED::lerp8by8(m_start, m_end, m_idx);
}
| [
"tdfischer@hackerbots.net"
] | tdfischer@hackerbots.net |
d075011646ba9b7b2238a6fb6c10c20e82b87278 | 0b2dcf8a136009c39d39c9659a26a2f7e1247069 | /Server/Exchange/CLib/Byteoperation.cpp | d898c29a6f052ddd783d32828792a175b744fa67 | [] | no_license | red-winter/Home | c184530420044b3085aa81bb1071a4882250abdd | 4bf006dfbd109bb027e4df93d295df19d6328891 | refs/heads/master | 2022-12-13T03:24:54.842358 | 2020-08-11T16:42:10 | 2020-08-11T16:42:10 | 286,797,236 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,720 | cpp | #include "ByteOperation.h"
#include <QFile>
#include <QDebug>
#include "stdio.h"
#include "ctype.h"
// ------------------------------------------------------------------------------------------------
int16_t sbo::uswap16(int16_t par_int16)
{
#ifdef D_BIGENDIAN
return ((((par_int16) & 0xff00) >> 8) | (((par_int16) & ... | [
"kira.winter@bk.ru"
] | kira.winter@bk.ru |
08db3d0045e31fb0fe09346bc162b781c28f1c97 | 9418a3bb583929006019eeab5089597f3bd10e34 | /Apresentação.cpp | 9a7184f3b6437b4b33f69e5087eeb85bc2ed191e | [] | no_license | andresantosir/C | 23c7f7bfd09fffb109df8699ec845a6122649399 | 05e75ce52d2b1e6211c0d8e72851bd071c8a1bef | refs/heads/master | 2022-06-05T08:08:23.867425 | 2020-05-04T22:19:52 | 2020-05-04T22:19:52 | 261,309,259 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,128 | cpp | #include <stdlib.h>
#include <stdio.h>
int main ()
{
char nome [15];
char resp;
printf ("\n\t\t\t BEM VINDO AO JOGO 21\n");
printf ("\nDeseja acessar as instrucoes? (S/N) ");
scanf (" %c", &resp);
if (resp=='S' || resp=='s')
{
printf ("\n>>>>>>>>:>>> INSTRUCOES <<<<<<<<<<<\n\n");
printf("\tObjetivo:\n\n... | [
"andre_santos7@live.com"
] | andre_santos7@live.com |
485c437e547faf6cbda81f130b363f24fb367d12 | 61f9f37ed20cbfce05c7839e328211402c36833d | /TextFinder/textfinder.cpp | 0449753ada22421efcf7b6b576fd7de1040f9707 | [] | no_license | trandinhchuong/QtCreator_tutorial | 891d355aae6213427289d2820458a0b280a5bb20 | 3caf57a366f33081af9b385f6c56c4a8062305ed | refs/heads/master | 2020-12-29T12:45:47.852894 | 2020-02-28T09:39:55 | 2020-02-28T09:39:55 | 238,611,909 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 899 | cpp | #include "textfinder.h"
#include "ui_textfinder.h"
#include <QtCore/QFile>
#include <QtCore/QTextStream>
TextFinder::TextFinder(QWidget *parent)
: QMainWindow(parent)
, ui(new Ui::TextFinder)
{
ui->setupUi(this);
loadTextFile();
}
TextFinder::~TextFinder()
{
delete ui;
}
... | [
"trandinhchuonght96@gmail.com"
] | trandinhchuonght96@gmail.com |
0159904fe6808fb2b4d3f6e974fa7852fbc960db | 74bd5bd43e730076eadbd1217a6f5f26e0ebe650 | /loja-build-desktop-Qt_4_8_1_for_Desktop_-_MinGW__Qt_SDK__Debug/ui_tela_cadastro_loja.h | d4a1b8373afd9b3ad640edc0ba2d1d899f6f3088 | [] | no_license | jmessias1725/sexloja | 6215ebce26a6e9dcae3b64e85638443aa5989b37 | 6a3fc3868a630c1667598c403de7b6577e0d0118 | refs/heads/master | 2021-01-19T13:24:29.622970 | 2013-04-18T18:41:29 | 2013-04-18T18:41:29 | 40,779,468 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 28,210 | h | /********************************************************************************
** Form generated from reading UI file 'tela_cadastro_loja.ui'
**
** Created: Fri 5. Apr 08:25:34 2013
** by: Qt User Interface Compiler version 4.8.1
**
** WARNING! All changes made in this file will be lost when recompiling U... | [
"jmessias1725@gmail.com"
] | jmessias1725@gmail.com |
afa2ee4840b28979c7f0200738fd004869d3b596 | 094b6da11e1a45b2b9f165fa61e7b031874c5694 | /tag/UseOA-Open64-0.2a1/Open64IRInterface/Open64IRInterface.hpp | 9949e51813bf00ef6fbac686059cda4b09389ecb | [] | no_license | BackupTheBerlios/useoa-open64-svn | 962752dc5c67ada16cf9c6190aae3e409ee6bd37 | 7d8807c92e05ce7a7484e8cf2f558da6ba317673 | refs/heads/master | 2016-09-05T15:53:59.201772 | 2010-05-13T04:10:51 | 2010-05-13T04:10:51 | 40,747,187 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 30,940 | hpp | // -*-Mode: C++;-*-
// $Header: /home/derivs2/mstrout/CVSRepository/UseNewOA-Open64/Open64IRInterface/Open64IRInterface.hpp,v 1.66 2005/09/14 22:21:46 mstrout Exp $
/*! \file
\brief Implementation of abstract OA interfaces for Open64/WHIRL
\authors Michelle Strout, Nathan Tallent
\version $Id: Open64IRInterf... | [
"mstrout@eac892ec-190f-0410-9fdf-bfd8caa68912"
] | mstrout@eac892ec-190f-0410-9fdf-bfd8caa68912 |
34a3a8d900f2c184ceafb2604bf7f5b63972f6ef | d4240a19b3a97e8c4a39a7925e8046ead6642d19 | /2016/Enceladus/Temp/StagingArea/Data/il2cppOutput/mscorlib_System_Predicate_1_gen686677695.h | 2d9f0ee71748212c95adef01f223246af25b7045 | [] | no_license | mgoadric/csci370 | 05561a24a8a6c3ace4d9ab673b20c03fc40686e9 | 9ffd5d0e373c8a415cd23799fc29a6f6d83c08af | refs/heads/master | 2023-03-17T18:51:45.095212 | 2023-03-13T19:45:59 | 2023-03-13T19:45:59 | 81,270,581 | 2 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 756 | h | #pragma once
#include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <stdint.h>
// System.IAsyncResult
struct IAsyncResult_t1999651008;
// System.AsyncCallback
struct AsyncCallback_t163412349;
// System.Object
struct Il2CppObject;
#include "mscorlib_System_Multi... | [
"goadrich@hendrix.edu"
] | goadrich@hendrix.edu |
52d17fe59bf2bbc9d36f14fd15c785a7b29732d7 | 2d5c007accefee5c9c59f3372d938b34d798e970 | /app/settings/viewsdialog/delegates/singletextdelegate.cpp | 7f4b6533fea2d7cb4a1743616cde1e9f08d057c8 | [] | no_license | KDE/latte-dock | c638d8efa528424611f30c5eac72353c9cc0b448 | 853a7735a425ec6bb0379da1a8b4fbc13a7992ad | refs/heads/master | 2023-08-31T19:13:48.228397 | 2023-08-28T02:17:27 | 2023-08-28T02:17:27 | 101,990,564 | 1,680 | 155 | null | 2022-12-28T13:38:35 | 2017-08-31T10:43:37 | C++ | UTF-8 | C++ | false | false | 1,328 | cpp | /*
SPDX-FileCopyrightText: 2021 Michail Vourlakos <mvourlakos@gmail.com>
SPDX-License-Identifier: GPL-2.0-or-later
*/
#include "singletextdelegate.h"
// local
#include "../viewsmodel.h"
#include "../../generic/generictools.h"
namespace Latte {
namespace Settings {
namespace View {
namespace Delegate {
Singl... | [
"mvourlakos@gmail.com"
] | mvourlakos@gmail.com |
174b9120be6cbb9b82caa9c3ea2a8d870fc19c71 | 48440cc7fa02763288a892e2b204e63e1f30d70d | /Source/santa-driver/SantaDriverClient.cc | 755923fd0e879c5c7946688e448c63fd089af970 | [
"Apache-2.0"
] | permissive | ohio813/santa | 094ba1ce769814a17900bb6fb56272e581f24003 | 2d8f45ef6fe2aed04590cb827edf6d921632b8b1 | refs/heads/master | 2021-06-26T13:06:45.762187 | 2016-04-16T23:03:23 | 2016-04-16T23:03:23 | 56,409,333 | 0 | 0 | null | 2016-04-16T22:57:41 | 2016-04-16T22:57:40 | null | UTF-8 | C++ | false | false | 7,260 | cc | /// Copyright 2015 Google 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... | [
"russell@hancox.us"
] | russell@hancox.us |
d6713c625104425b9cc45c64cda23a975f5e6a02 | d0ae8c55602274b39136219aaacb8372cd85292f | /include/eOperandType.hpp | 74ba52f1168f425ebcf46fd2ab4f5a2b6ea39e4d | [] | no_license | TalPat/avm | efcf45f42c6acf1ed321f88a198d476503b226fa | 5e588a89e8909e7bbe060b4306168e4e7e12c931 | refs/heads/master | 2020-06-15T22:51:43.087011 | 2020-01-27T10:40:51 | 2020-01-27T10:40:51 | 195,412,504 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 126 | hpp | #ifndef EOPERANDTYPE_HPP
#define EOPERANDTYPE_HPP
enum eOperandType {
Int8,
Int16,
Int32,
Float,
Double
};
#endif
| [
"talonpatterson94@gmail.com"
] | talonpatterson94@gmail.com |
20c1d34696db8157c4bf12a6a77e7dd1c169d16e | 7ddfde60100403b1f1daeb4eb4235bed925f3f2e | /materialsystem/stdshaders/worldtwotextureblend_dx8.cpp | c96ecb547dfdbabd640072c953cc844c542bfa69 | [] | no_license | alliedmodders/hl2sdk | 12de11a05a3a1cb459857eb918d55fce09e964e9 | 78dab58646d5983c77af44c45a877b89196eb82c | refs/heads/sdk2013 | 2023-08-13T10:27:55.916450 | 2022-10-15T13:53:52 | 2022-10-15T13:53:52 | 20,148,756 | 307 | 205 | null | 2023-08-15T08:09:50 | 2014-05-25T07:03:22 | C++ | UTF-8 | C++ | false | false | 5,135 | cpp | //========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose:
//
// $Header: $
// $NoKeywords: $
//=============================================================================//
#include "BaseVSShader.h"
#include "lightmappedgeneric_vs11.inc"
// memdbgon must be the... | [
"nshastings@gmail.com"
] | nshastings@gmail.com |
7bfc6ae4842d20eb972bece2412bf1fa125bb9b7 | 7463586de30659803865f375b3a82de9a99ab787 | /Msg2Layer.h | 93f2ceb01a415e2d0b3a5b11fd4a153f39b4a354 | [] | no_license | dok-git/tetris2 | 1c8fef17d0a7e1e00713bb34d85ec1f54f8a078f | 505d46bf39ccd9caf65148fea5c55eeef2bcf4c7 | refs/heads/main | 2023-04-02T05:37:07.066236 | 2021-04-07T15:58:37 | 2021-04-07T15:58:37 | 345,197,430 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 251 | h | #pragma once
#include "Layer.h"
class Msg2Layer :
public Layer
{
public:
std::vector<CellVO> render() override;
void showStartMsg();
void hideMsg();
void gameOverMsg();
private:
std::string msg = "";
int lit = 0;
};
| [
"chubatiukartem@gmail.com"
] | chubatiukartem@gmail.com |
721c8b1135e1c680deec712dcdd9be899e35ac5e | 18be684b53530e17960670342beea63705d568fd | /intbisThreadSafe/EquationSet_LogisticMappingIV.h | 39bace32a6eb9c749ac1ad9a0110e44cdc9e3cc6 | [] | no_license | GaryTheX/intbisThreadSafe | 65df1108b4d62a735a462878ba230e77feaab133 | 63b77e7832ed880cac29bb02343f9e15336d7189 | refs/heads/master | 2020-05-24T19:05:11.761043 | 2019-05-21T06:16:07 | 2019-05-21T06:16:07 | 187,425,899 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 525 | h | #pragma once
#include "equationset_mapping.h"
class EquationSet_LogisticMappingIV : public EquationSet_Mapping
{
private:
long nx0;
double *pX0;
public:
EquationSet_LogisticMappingIV(void);
virtual ~EquationSet_LogisticMappingIV(void);
void setInitialValue(long nx, double *x0);
void fun... | [
"gxufatdog@hotmail.com"
] | gxufatdog@hotmail.com |
b42ac061d662f84f5779389a0153a7234380e403 | 721ecafc8ab45066f3661cbde2257f6016f5b3a8 | /spoj/CPCRC1C/CPCRC1C-20769826.cpp | e379e771aea233ba773d2a94de4700723e595f34 | [] | no_license | dr0pdb/competitive | 8651ba9722ec260aeb40ef4faf5698e6ebd75d4b | fd0d17d96f934d1724069c4e737fee37a5874887 | refs/heads/master | 2022-04-08T02:14:39.203196 | 2020-02-15T19:05:38 | 2020-02-15T19:05:38 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,556 | cpp | #include<bits/stdc++.h>
#define ABS(a) ((a < 0) ? ((-1)*(a)) : (a))
#define F(i,a,b) for(long long i = (long long)(a); i < (long long)(b); i++)
#define RF(i,a,b) for(long long i = (long long)(a); i >= (long long)(b); i--)
#define MIN3(a,b,c) (a)<(b)?((a)<(c)?(a):(c)):((b)<(c)?(b):(c))
#define MAX(a,b) (a)>(b)?(a):(b)
#... | [
"saurav007tiwary@gmail.com"
] | saurav007tiwary@gmail.com |
2016fbd3781d87393aae95bce5123563edc2dd45 | 0031bd210e25f9602a8ee3cf581c44e8e8f3a00f | /Junior/COMP0076-PC/Assignment 3/think with lex/token_table.h | 55015c91e3112ad22a96ef98c73fe448edbe6ad1 | [
"MIT"
] | permissive | TiffanyChou21/University | d991d30cad3b28bb5abc929faa6d530219a1d844 | 9584fa6b052a59ce01a256efc77add5bbec68d98 | refs/heads/master | 2020-09-29T10:54:00.297491 | 2020-08-16T03:47:57 | 2020-08-16T03:47:57 | 227,021,880 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 741 | h | #include <iostream>
#include <map>//map不支持double&&我不太清楚yylval在YYSTYPE中怎么转换,所以换用vector检索
#include <vector>
#include "think.h"
#include "mylexer.h"
using namespace std;
struct Dict
{
string id;
double value;
};
class TokenTable
{
private:
vector<Dict> dict;
public:
int find(const string& Id){
for (int i = 0; i < d... | [
"TiffanyChou21@163.com"
] | TiffanyChou21@163.com |
42a1f3386542677368bc4b62e72846ba49ebe237 | 8d6d47d97f2889c213da13372c552ba66f4664d0 | /offline/packages/NodeDump/Dumper.h | 9a48c64b08de591ff3aa048e5ae595f9f07e03b5 | [] | no_license | mccumbermike/coresoftware | bf440bd90e183bd668d9cf95f855ddf46812a0a4 | cfe8912e9b362b2bee6cda6d051facde7b220828 | refs/heads/master | 2020-04-05T04:17:52.396368 | 2016-11-30T02:40:37 | 2016-11-30T02:40:37 | 41,013,413 | 1 | 0 | null | 2015-08-19T04:33:04 | 2015-08-19T04:33:04 | null | UTF-8 | C++ | false | false | 536 | h | #ifndef DUMPER_H__
#define DUMPER_H__
#include <fun4all/SubsysReco.h>
#include <string>
class PHNodeDump;
class Dumper: public SubsysReco
{
public:
Dumper(const std::string &name = "DUMPER");
virtual ~Dumper();
int End(PHCompositeNode *topNode);
int process_event(PHCompositeNode *topNode);
void SetOutDir(... | [
"pinkenburg@bnl.gov"
] | pinkenburg@bnl.gov |
13358bbf8640e2a0330059ea6ff1e56da6599a27 | a3ca1f53459ef5bc3653f900d7381c2615c51ad9 | /E282.cpp | 9796ac8f780e4292272738a3fe4fbf003b8331f5 | [] | no_license | giongto35/CompetitveProgramming | cf7b02dfaecb46c4c949d903675817cd9c2e141b | 29b7cdf7796d4054f5e74d2bce7e0247a21968e8 | refs/heads/master | 2021-01-20T23:32:38.627994 | 2015-01-30T17:07:56 | 2015-01-30T17:07:56 | 30,082,220 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,985 | cpp | #include <vector>
#include <list>
#include <map>
#include <set>
#include <deque>
#include <stack>
#include <bitset>
#include <algorithm>
#include <functional>
#include <numeric>
#include <sstream>
#include <iostream>
#include <cstdio>
#include <cmath>
#include <cstdlib>
#include <cstring>
#include <ctim... | [
"giongto35@yahoo.com"
] | giongto35@yahoo.com |
72c05603526b99f8bb39628678333fe1859b308e | 8feb7e19a9ab2ea535b1b6347bdbe48d619d94cb | /ConsoleApplication13_1/ConsoleApplication13/main.cpp | 9b8f1199966a9a6fb5a01c1d4a05d70496d2663a | [] | no_license | SmileHurry/cplusplus-primer-plus-6th- | 3426de7aed1de8a94d48c468e1a79fe95b6ed9b6 | 892c907a5c3b93631a219a28880525fe8ff10f12 | refs/heads/master | 2021-01-10T15:42:03.637199 | 2016-04-08T06:24:46 | 2016-04-08T06:24:46 | 55,745,488 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,162 | cpp | #include <iostream>
#include <cstdlib>
#include <ctime>
#include "vect.h"
#include <fstream>
int main()
{
using namespace std;
using VECTOR::Vector;
srand(time(0));
double direction;
Vector step;
Vector result(0.0, 0.0);
unsigned long steps = 0;
double target;
double dstep;
ofstream output;
output.open("ran... | [
"395307009@qq.com"
] | 395307009@qq.com |
d4e72952b65ab310c5905f0f0502e5b73b0f8c6d | 4ede30953a3768d63f3a3c439824dc873d7d4dcd | /107.cpp | d8258930d5e375467f0784b858fdb99428f2b16f | [] | no_license | cmeng0321/leetcode | 32323f28fb106ee71a17634056d9ab99fa574659 | 7f8d0acfa3b181b1113e91bde78f2c8d7371828f | refs/heads/master | 2021-06-23T12:06:54.986893 | 2021-01-12T13:50:31 | 2021-01-12T13:50:31 | 186,436,755 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 2,244 | cpp | /*
107. Binary Tree Level Order Traversal II
Given a binary tree, return the bottom-up level order traversal of its nodes' values. (ie, from left to right, level by level from leaf to root).
For example:
Given binary tree [3,9,20,null,null,15,7],
3
/ \
9 20
/ \
15 7
return its bottom-up level order... | [
"1640291556@qq.com"
] | 1640291556@qq.com |
09af837fdc0adc00707ff25823a1e88b81257b42 | 81f04b08896556f13284c003b2f921c008c111f6 | /SRC/view/UI.cpp | 89d44ab82dd9c8170ce7650d7af1b75b127103f3 | [] | no_license | hochlerer/dna-analyzer-design | 890c8f1602a92264cc1205b553dbf9e47a66d462 | 0e3358519ca92bd8a584837ea3200ca643d21ece | refs/heads/master | 2023-01-01T15:41:13.337796 | 2020-09-24T20:25:07 | 2020-09-24T20:25:07 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 50 | cpp | //
// Created by y on 9/15/20.
//
#include "UI.h" | [
"hb@swm-wolf.org"
] | hb@swm-wolf.org |
6dc82eddbeaed6d8d9f07a657279ca66dff4041a | 4043f78994d68efc7d0fe9805cd91ec46a4d16f4 | /src/Eigen/src/Core/ArrayBase.h | ea3dd1c3b38c989ee1e1a5fe3a43b10aa8ee9b70 | [
"Apache-2.0"
] | permissive | fanvanzh/3dtiles | d08d30956e790e451beab79c82acddc42a051e02 | a7c3000c794f5fbcf0defe72cabd0465dbf9df6e | refs/heads/master | 2023-09-03T14:08:09.905715 | 2023-08-30T02:30:02 | 2023-08-30T02:30:02 | 120,919,743 | 1,713 | 555 | Apache-2.0 | 2023-08-30T02:30:03 | 2018-02-09T15:07:43 | C++ | UTF-8 | C++ | false | false | 8,217 | h | // This file is part of Eigen, a lightweight C++ template library
// for linear algebra.
//
// Copyright (C) 2009 Gael Guennebaud <gael.guennebaud@inria.fr>
//
// This Source Code Form is subject to the terms of the Mozilla
// Public License v. 2.0. If a copy of the MPL was not distributed
// with this file, You can ob... | [
"465964358@qq.com"
] | 465964358@qq.com |
385ca7e6fd37e003cec16a489aa03c38a353b845 | 0c2b9068f7ab51f8aa268fab44714f70d64a9930 | /cpp/EventCenter.h | 7e21046dbdb4252b783b8ade20568f0bd027923d | [] | no_license | Chengp5/EventManager | 842bfc48af0fd33c13361581e49c1de3dc452533 | 9ad369451d364783336c856c5cc58272d55f29ec | refs/heads/main | 2023-07-11T11:22:02.711600 | 2021-08-06T08:56:30 | 2021-08-06T08:56:30 | 393,025,211 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 170 | h | #pragma once
#include "Event.h"
namespace eventmanager {
class EventCenter
{
public:
//把事件全部作为static 成员 放在类中
protected:
private:
};
}
| [
"chengpfailed@163.com"
] | chengpfailed@163.com |
c7b7925d13f0a5da13ce1e372e26f7f563dd8345 | 3b13eedb87e6545f832e1c62b8cb05b8428a897b | /src/main/avikodak/prep/company/google/geeksforgeeks/trees/page12/isomorphismiccheck.h | 2c41db68b1862e88dc5dae9618fb8ef6a48d8172 | [] | no_license | avikodak/algos_v2 | a9c66b2f2b862318f12feb216240a9a66249aa2b | e1c77f1064c83599d0e57f426319ab536a6eeb29 | refs/heads/master | 2021-01-19T20:43:29.366352 | 2017-03-25T17:15:22 | 2017-03-25T17:15:22 | 24,980,353 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 6,877 | h | /****************************************************************************************************************************************************
* File Name : isomorphismiccheck.h
* File Location : /algos_v2/src/main/avikodak/prep/company/google/geeksforgeeks/trees/page12/isomor... | [
"avikodak@gmail.com"
] | avikodak@gmail.com |
76df79215a8a310e35c694a26ae08c16a6e52017 | 0d0e78c6262417fb1dff53901c6087b29fe260a0 | /taf/src/v20200210/model/OutputTaData.cpp | 6b8fddf74b1c9323f9d573a75b7ab1062c0b82cd | [
"Apache-2.0"
] | permissive | li5ch/tencentcloud-sdk-cpp | ae35ffb0c36773fd28e1b1a58d11755682ade2ee | 12ebfd75a399ee2791f6ac1220a79ce8a9faf7c4 | refs/heads/master | 2022-12-04T15:33:08.729850 | 2020-07-20T00:52:24 | 2020-07-20T00:52:24 | 281,135,686 | 1 | 0 | Apache-2.0 | 2020-07-20T14:14:47 | 2020-07-20T14:14:46 | null | UTF-8 | C++ | false | false | 3,913 | cpp | /*
* Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. 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
... | [
"tencentcloudapi@tenent.com"
] | tencentcloudapi@tenent.com |
ab9a7624edce858450b907b36e1925519a5ff7b5 | 505bf592f1b0b8774ecce407e5700fee4dd5af8c | /integrate/signals/usr.cpp | 9fb3f81d7fc1d17547d7f8bf5679f51ee1ebbd5b | [
"MIT"
] | permissive | alantess/QtSimple | be29926beda78bf528512b9c2c2335b44599de6e | fe9fc3f6c2542968026a6ff9ca342b133d6eef5c | refs/heads/main | 2023-04-01T15:14:24.607603 | 2021-04-10T22:21:44 | 2021-04-10T22:21:44 | 355,299,786 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,197 | cpp | #include "usr.h"
#include <iostream>
#include <QObject>
using namespace std;
usr::usr(const QString name, const QDate& birthDay, Role role)
: m_name(name), m_birthDay(birthDay), m_role(role)
{
}
QString usr::name() const
{
return m_name;
}
void usr::setName(const QString &name)
{
if ( name == m_name )
... | [
"alantessier97@gmail.com"
] | alantessier97@gmail.com |
2381b1ae449fb03e10b44c18e7c50d1e74ab5902 | 8fd5870a8032550a5759996db0bbfe75309353df | /src/exec/main.hpp | 80a9d1dd4ef85ae1fc11788fa38434cf3e29a434 | [] | no_license | Robinmarsx/Master_thesis_ | 9f96fb09538f5b4065079da9452a7e8cb9e2c845 | 2f54af109088a389f1920295c41cafbbccece546 | refs/heads/master | 2022-12-23T20:42:11.232990 | 2020-09-28T13:35:42 | 2020-09-28T13:35:42 | 298,536,642 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,156 | hpp | // Copyright (C) 2019 Yu Yang
//
// This file is part of Vesyla.
//
// Vesyla is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// ... | [
"xzh973971301@gmai.com"
] | xzh973971301@gmai.com |
24ce2f628b5e2acd56deb19ee3ffb5faf873d5c1 | 6c10d344a25f3194506a414fc7830888b9d78b53 | /source/common/segmentation/DICOMSegmentationOptions.h | 14dd8f55bd120d4756ffb160e1364e38cac3f2d5 | [] | no_license | vyeghiazaryan/msc | 64fb493660b06031caae126c6572a4dc33177952 | dced6bae89461578285cc24b99feab034eafc48e | refs/heads/master | 2020-12-24T13:36:11.747054 | 2013-11-05T12:28:06 | 2013-11-05T12:28:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,388 | h | /***
* millipede: DICOMSegmentationOptions.h
* Copyright Stuart Golodetz, 2010. All rights reserved.
***/
#ifndef H_MILLIPEDE_DICOMSEGMENTATIONOPTIONS
#define H_MILLIPEDE_DICOMSEGMENTATIONOPTIONS
#include <itkSize.h>
#include <common/dicom/util/WindowSettings.h>
namespace mp {
struct DICOMSegmenta... | [
"varduhi.yeghiazaryan@cs.ox.ac.uk"
] | varduhi.yeghiazaryan@cs.ox.ac.uk |
020f5f214863e193e7f19cc69490df49e9ba9aaa | 085088e145dfbf3b27f1a2f9fcb9cec1484275c4 | /src/mssj.cpp | 596e1f6099615e572b644182cb59823c22747b92 | [] | no_license | fabiyon/dist-ssj-sisap | ca3c168395c5d67760dbb1b8fe8dfdf63ebf1c24 | ef265781b7fc550cc2f14e6c472fd7a6fcb74806 | refs/heads/main | 2023-07-04T15:57:38.525883 | 2021-08-03T10:02:29 | 2021-08-03T10:02:29 | 392,269,904 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,183 | cpp | #include "def.h"
DEFINE_string(input_file, "", "Input data file");
DEFINE_double(threshold, 0.99, "Threshold");
DEFINE_string(method, "allps", "Join algorithm");
DEFINE_int64(max_depth, -1, "Max depth for ppj+, mpj+, qj+, gmpj+ and aj+o");
DEFINE_uint64(threads, 1, "Number of worker threads");
DEFINE_int32(inline_reco... | [
"mail@fabianfier.de"
] | mail@fabianfier.de |
335edf68bf0894cf2a55a9d799489142962bcf81 | e2f0806ca1cdd887ea40d050a19fa2710427bd38 | /기본 문제/12주차_DP2/11867_박스 나누기 게임/조기현.cpp | 82618c753b96625c7835f5dd6b73ef8ae22ec422 | [] | no_license | JY-Dev/AlgorithmStudy-1 | 001f94d80097c850c79eeb2bc86971a01aa5bd5d | 2ad1df0fd65c72a6f6d1feeba09f889000ff8c15 | refs/heads/main | 2023-08-21T18:38:18.235994 | 2021-09-28T07:07:11 | 2021-09-28T07:07:11 | 406,208,087 | 1 | 0 | null | 2021-09-14T03:14:32 | 2021-09-14T03:14:31 | null | UTF-8 | C++ | false | false | 295 | cpp | #include<bits/stdc++.h>
#define f(i,l,r) for(int i=l;i<r;++i)
using namespace std;
int main(){
ios_base::sync_with_stdio(0); cin.tie(0); cout.tie(0);
int n,m;cin>>n>>m;
// 두 수 모두 홀수라면 B가 승, 그렇지 않으면 A 승
cout<<((n*m)&1?'B':'A');
return 0;
}
| [
"whrlgus33@gmail.com"
] | whrlgus33@gmail.com |
f5a3ad92ee901f572dae3a7eb16c62a77c71ea3e | bc0945070d150c8af7cc56bf6e045a8c2cc7873d | /3278/2359049_RE.cpp | 3b3f9e7dc0179469cb44d6319db8a1ed7949c200 | [] | no_license | fengrenchang86/PKU | ab889d88cd62b3c0b3e00cde5d5c3a652a16221a | 0c4adf6b740d2186b7f23124673cd56520d1c818 | refs/heads/master | 2021-01-10T12:12:18.100884 | 2016-03-07T14:14:33 | 2016-03-07T14:14:33 | 53,328,385 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,031 | cpp | #include <iostream>
using namespace std;
int w[200500];
struct node
{
int v;
node *next;
node(){next=NULL;}
}*head,*tail;
void insert ( int key )
{
node *t = new node;
tail->next = t;
t->v = key;
tail = t;
if ( head == NULL )
head = tail;
}
int del ()
{
int t = head->v;
node *p = head;
head = head->next;
... | [
"fengrenchang86@gmail.com"
] | fengrenchang86@gmail.com |
3a361eff358d781e9c2e3bdc79b3b0dfe45be9a3 | abd20d547fd002845a8f32116193ae3d6fd5cc6e | /AP-CS-Semester2/Simulation2/fishsim.cpp | b8b143f7008d5bd55ff14f195d72fa72ff2e42c4 | [] | no_license | erichmusick/CppExamples | 2503651ad4a96a7fe4da59afd648b41d72570e28 | fc58ea729fbfc23e72bc66893296586ab5e9b063 | refs/heads/master | 2021-03-12T19:55:23.534295 | 2014-02-02T21:06:18 | 2014-02-02T21:06:18 | 16,427,256 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,943 | cpp | // AP Computer Science Marine Biology Case Study program
// Copyright (C) 2000 College Board and Educational Testing Service
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation.
// This program... | [
"mail@erichmusick.com"
] | mail@erichmusick.com |
61d5fd27eee09d0fa938a370b72c0281d5d469cc | 0c4bd1b977cc714a8a6b2839f51c4247ecfd32b1 | /C++/nnForge/nnforge/structured_data_reader.h | 9b03919bae2a1e3ba517f4e07f1a6cddd10befb6 | [
"Apache-2.0"
] | permissive | ishine/neuralLOGIC | 281d498b40159308815cee6327e6cf79c9426b16 | 3eb3b9980e7f7a7d87a77ef40b1794fb5137c459 | refs/heads/master | 2020-08-14T14:11:54.487922 | 2019-10-14T05:32:53 | 2019-10-14T05:32:53 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,406 | h | /*
* Copyright 2011-2015 Maxim Milakov
*
* 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 applic... | [
"the.new.horizon@outlook.com"
] | the.new.horizon@outlook.com |
4a2641d7c7de418fe26db55b434605947609d3d2 | 398c9a293432af4f14a26dd79811a76cedcb4c73 | /Tools/SurfaceSampling/main.cpp | 0aaf2e548caab418d34ab74276ab1d505a4f4e17 | [
"MIT"
] | permissive | mskr/SPlisHSPlasH | f34e6fcb117850251b70314981fc8a84fe0e2da2 | d984b13568115a7e3010c0e492c0a6c0481df0f8 | refs/heads/master | 2021-04-17T07:44:36.385594 | 2020-08-12T17:00:06 | 2020-08-12T17:00:06 | 249,426,031 | 1 | 0 | MIT | 2020-03-23T12:34:53 | 2020-03-23T12:34:52 | null | UTF-8 | C++ | false | false | 6,952 | cpp | #include "SPlisHSPlasH/Common.h"
#include <Eigen/Dense>
#include <iostream>
#include "Utilities/Timing.h"
#include "Utilities/PartioReaderWriter.h"
#include "Utilities/OBJLoader.h"
#include "SPlisHSPlasH/Utilities/SurfaceSampling.h"
#include "Utilities/FileSystem.h"
#include "Utilities/StringTools.h"
#include "Utilitie... | [
"bender@cs.rwth-aachen.de"
] | bender@cs.rwth-aachen.de |
877516676c883d8dea43803540e27f834d9dfbee | 1f63dde39fcc5f8be29f2acb947c41f1b6f1683e | /Boss2D/addon/_old/webrtc-qt5.11.2_for_boss/modules/audio_coding/acm2/audio_coding_module_unittest.cc | 8607be45d7286df3345e70ed90b658243debcbd9 | [
"MIT",
"LicenseRef-scancode-google-patent-license-webrtc",
"LicenseRef-scancode-unknown-license-reference",
"BSD-3-Clause",
"GPL-1.0-or-later",
"LicenseRef-scancode-takuya-ooura",
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-unknown",
"MS-LPL",
"LicenseRef-scancode-google-patent-licen... | permissive | koobonil/Boss2D | 09ca948823e0df5a5a53b64a10033c4f3665483a | e5eb355b57228a701495f2660f137bd05628c202 | refs/heads/master | 2022-10-20T09:02:51.341143 | 2019-07-18T02:13:44 | 2019-07-18T02:13:44 | 105,999,368 | 7 | 2 | MIT | 2022-10-04T23:31:12 | 2017-10-06T11:57:07 | C++ | UTF-8 | C++ | false | false | 74,445 | cc | /*
* Copyright (c) 2014 The WebRTC project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contribut... | [
"slacealic@nate.com"
] | slacealic@nate.com |
855ec88a225431a34801ee2db5279b281daf97d5 | 5e121c5e223d13ab92174907d6aeca9a99520761 | /Cpp_Code/backwards.cpp | 270fa5f3d768a0cdbcc4dd3083ed4d731eee8919 | [] | no_license | zhangyixun3811/Code | 15c1f18b70b9af381a54f863d39e8bb7ed221ada | 1075a2efb50be99e0758eb55004211057784d16d | refs/heads/master | 2023-02-25T04:15:24.345636 | 2021-01-25T09:53:50 | 2021-01-25T09:53:50 | 303,683,941 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 288 | cpp | #include <cstdio>
#include <cstring>
int main(void)
{
char * word = new char[82];
puts("Enter a string and I print it backwards(using C++ pointer):");
fgets(word,82,stdin);
for(int i = strlen(word); i >= 0; i--)
putchar(word[i]);
putchar('\n');
return 0;
} | [
"f17800823697@163.com"
] | f17800823697@163.com |
a166dc541cfe37c5bdf5167953657d54e7467480 | fbc6dc0fce8f31175f7c7882f93a00203c354cbb | /6/6.33.cpp | 98509e1ca4b127033a3bef0810987136681151d4 | [] | no_license | BruceMJ128/MJ_Program_Cpp_Primer | 30b75a3c240725542aba33c60c8730d44f097746 | 3d634aa87fb22bb88e24fd3350d573155d0fa032 | refs/heads/master | 2021-01-19T04:43:38.149765 | 2017-04-06T05:37:54 | 2017-04-06T05:37:54 | 87,389,641 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 528 | cpp | #include <iostream>
#include <vector>
using namespace std;
using Iter=vector<string>::iterator; //垃圾用法,极容易出错
bool output(Iter iter1, Iter end)
{
if(iter1!=end)
{
cout<<*iter1<<" ";
++iter1;
output(iter1, end);
}
else
{
return 0;
}
}
int main()
{
vector<string> vec={"Hello"," ", "World!"};
... | [
"bruce.mj128@hotmail.com"
] | bruce.mj128@hotmail.com |
111bcf92ac224519dfc7a8da2418bbb945f4ece3 | d9bf27e750b24652aa89029f85ce90f75e98b395 | /yukicoder/24.cpp | fbf1ff7a87ae774c904c585b9dea5615d0cc9eb7 | [] | no_license | r2en/Competitive_Programming | 09bd2074ba73081fdb044c38db87568d2b918a4a | dc7f06fcfcfd302c568324337c50e3b7eb1495ab | refs/heads/master | 2021-06-13T18:04:55.350268 | 2017-04-25T10:11:51 | 2017-04-25T10:11:51 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 520 | cpp | #include <iostream>
using namespace std;
int main(){
int a,b,c,d; string s;
int N; cin >> N; int res = 0; int ans = 0;
int yes[10] = {}; int no[10] = {};
for(int i = 0; i < N; ++i){
scanf("%d %d %d %d",&a,&b,&c,&d); cin >> s;
if(s=="YES"){ yes[a]+=1; yes[b]+=1; yes[c]+=1; yes[d]+=1; }
... | [
"s12161te@gmail.com"
] | s12161te@gmail.com |
b40831c08153fcef7718ba5003e7c9e0968e88fa | e1d6417b995823e507a1e53ff81504e4bc795c8f | /gbk/server/Login/Login/Packets/LCRetCreateCharHandler.cpp | 6a1dff3b0250891262b0ca0dd656f5cbd1c2837a | [] | no_license | cjmxp/pap_full | f05d9e3f9390c2820a1e51d9ad4b38fe044e05a6 | 1963a8a7bda5156a772ccb3c3e35219a644a1566 | refs/heads/master | 2020-12-02T22:50:41.786682 | 2013-11-15T08:02:30 | 2013-11-15T08:02:30 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 7,487 | cpp | #include "stdafx.h"
#include "LCRetCreateChar.h"
#include "LoginPlayer.h"
#include "ProcessPlayerManager.h"
#include "TimeManager.h"
#include "DBLogicManager.h"
//#include "DBCreateCharOp.h"
#include "DBCharCreate.h"
#include "PacketFactoryManager.h"
#include "ProcessManager.h"
#include "LCRetCharList.h"
#include "DBC... | [
"viticm@126.com"
] | viticm@126.com |
e32a946650e911dab27ccdb8fd9507f4701c5d34 | f0b80d4b8453282dab4dac2187b44284f8295af7 | /ipsc/2015/b/b.cpp | 12b152bf61e6b3d7e8d8bcb9b7fe09374f2441a5 | [] | no_license | caiwaifung/algo | c63a5d2ab4c5de78e791482badfc4873d5cb0018 | 07e5b2ab62d11061d582c76edafdd649861b940b | refs/heads/master | 2021-01-23T11:48:37.805450 | 2018-06-02T20:24:42 | 2018-06-02T20:24:42 | 35,368,287 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,705 | cpp | #include <algorithm>
#include <iostream>
#include <sstream>
#include <cassert>
#include <cstring>
#include <cstdlib>
#include <cstdio>
#include <string>
#include <vector>
#include <queue>
#include <cmath>
#include <set>
#include <map>
using namespace std;
#define all(a) a.begin(), a.end()
#define rep(i, a, b) for(int ... | [
"gdfqw93@163.com"
] | gdfqw93@163.com |
aaa19b9e418ddeee11e7a47f716163ca1a65035d | 7156532bad66a05815a1fe76ab195a208c467723 | /Assignment 4/Code v1/FeaturePhone.cpp | 0533564f4e69c0295ca9828b038c427fbde98833 | [] | no_license | Nikunj-Gupta/Cpp | 2faa40efde3a522a4e1ad0c1fb828cb6acb13cd1 | 64b80743bf65803874495764041f60a6d97f6e79 | refs/heads/master | 2021-01-01T05:01:08.890667 | 2016-05-19T19:41:35 | 2016-05-19T19:41:35 | 59,227,964 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 207 | cpp |
#include "FeaturePhone.h"
FeaturePhone::FeaturePhone(string model, Manufacturer man, vector<Modem *>& imodems)
:MobilePhone(model, man, imodems )
{
}
FeaturePhone::~FeaturePhone()
{
}
| [
"guptanikunj1997@gmail.com"
] | guptanikunj1997@gmail.com |
470e7b144b92e8523334fce2d9c1893b5993dfb7 | acfa4c7885d05fefa606d0d692deec1cb153ae76 | /Notes/sandbox.cpp | c0258a6f9b2cbde5009da6c3e2df9d7dad30d534 | [] | no_license | kevin-miles/cmps-367-object-oriented-programming | 069f5b49162276713b1afeceba0b9b6ee5e5d111 | c5302f19093296fb860c4b47672193df3993e1d4 | refs/heads/master | 2018-12-28T18:56:22.892186 | 2013-11-14T17:37:59 | 2013-11-14T17:37:59 | 14,401,672 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 231 | cpp | #include <iostream>
#include <fstream>
#include <string>
using namespace std;
//include user defined libraries
#include "MyLib1.h"
int main()
{
SIX<3> Q;
Q.CopyData("data3.txt");
Q.Display();
system("PAUSE");
return 0;
}
| [
"kevin+github@kevmi.com"
] | kevin+github@kevmi.com |
f7ba8cdc825db783f23816da32d57f890b0ac43d | b37ca87473331f1bbea30496e3c068e050f54003 | /src/game/AFEntity.cpp | 3b16dfada998b29f0e8866c8d55a5be9e7221bc0 | [] | no_license | mrwonko/preymotionmod | 90f2624329b9ab8c0fcde1c9edf38487651e2be6 | 5a57a9907543a26dfa5944cf82549e10a717034c | refs/heads/master | 2021-01-19T14:10:37.299926 | 2013-03-31T00:12:57 | 2013-03-31T00:12:57 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 78,832 | cpp | // Copyright (C) 2004 Id Software, Inc.
//
#include "../idlib/precompiled.h"
#pragma hdrstop
#include "Game_local.h"
/*
===============================================================================
idMultiModelAF
===============================================================================
*/
CLASS_DECLARA... | [
"willi@schinmeyer.de"
] | willi@schinmeyer.de |
1f419a59bf2b16ffde911e84bef1f2a7024ed86a | 4fa69beda71cee6deddd73b9e49bb78f9794dfec | /src/ServoController.cpp | c193ae757f0b245734781f2e4bb985c7749d9395 | [] | no_license | estrandb/cvtest | 385a1525b718a92aa919a6103c185e3fe78aacb7 | 4024bb177fea06644b19917c46695087c8235f0f | refs/heads/master | 2021-05-04T11:46:09.419143 | 2016-11-17T05:08:54 | 2016-11-17T05:08:54 | 47,673,814 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,104 | cpp | #include "ServoController.h"
#include <unistd.h> //Used for UART
#include <fcntl.h> //Used for UART
#include <termios.h> //Used for UART
#include <stdio.h>
#define PAN_LIMIT_LEFT 40
#define TILT_LIMIT_DOWN 55
#define PAN_LIMIT_RIGHT 200
#define TILT_LIMIT_UP 200
int uart0_filestream = -1;
int currentPanPosit... | [
"estrandb@gmail.com"
] | estrandb@gmail.com |
800faaa558224d550c392cd3c7844ed41a36717e | 9dff4c41a49c861f6c6c1b633f53680624e231d7 | /grep.cpp | 9991007b0302528a2a3f93e14ad315baaad227fe | [] | no_license | oe5hpm/openBCM | 2aecf729a89a3bf0f21f9a318c02e9b39c483c03 | 5b697e79cde11c80b1b9867cf6b2924372a36f07 | refs/heads/master | 2023-04-03T22:29:31.958964 | 2023-03-25T21:14:02 | 2023-03-25T21:14:02 | 28,646,826 | 13 | 9 | null | 2020-03-01T20:45:46 | 2014-12-30T21:58:09 | C++ | UTF-8 | C++ | false | false | 9,196 | cpp | /***************************************************************
BayCom(R) Packet-Radio fuer IBM PC
OpenBCM-Mailbox
---------------------------------------------------
Suchroutinen mit Moeglichkeit regulaerer Ausdruecke
---------------------------------------------------
Copyright (C) Flor... | [
"oe5hpm@oevsv.at"
] | oe5hpm@oevsv.at |
8bc97d20c1fee569c9adcbd88acf8a1da9abd235 | a6237e5fae258e95e2ab25658615158dee81705e | /c-c++/reference/test.cpp | 7c75a38cece00b5e34f264e642e01a6a16e17a0a | [] | no_license | feeblefakie/misc | 219c8060d163591ce3f5ebb8d201e760c0c6bf78 | 2a66beea0dfcf2dd39c335ab52cffcf77a44eb2e | refs/heads/master | 2022-10-05T23:59:20.670221 | 2022-09-19T07:16:08 | 2022-09-19T07:16:08 | 39,126,342 | 0 | 0 | null | 2022-05-07T13:04:30 | 2015-07-15T08:48:37 | C++ | UTF-8 | C++ | false | false | 243 | cpp | #include <string>
#include <iostream>
void func(const std::string &str);
int main(void)
{
std::string a = "aaa";
func(a);
func(std::string("bbb"));
return 0;
}
void func(const std::string &str)
{
std::cout << str << std::endl;
}
| [
"hiroyuki@tkl.iis.u-tokyo.ac.jp"
] | hiroyuki@tkl.iis.u-tokyo.ac.jp |
44450ce86b93e4c40ce64e570fd0becc0a177eab | 745d39cad6b9e11506d424f008370b5dcb454c45 | /BOJ/16000/16159.cpp | a3ed9757ac813d5162718716c4073e37b4f69342 | [] | no_license | nsj6646/PS | 0191a36afa0c04451d704d8120dc25f336988a17 | d53c111a053b159a0fb584ff5aafc18556c54a1c | refs/heads/master | 2020-04-28T09:18:43.333045 | 2019-06-19T07:19:03 | 2019-06-19T07:19:03 | 175,162,727 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 84 | cpp | //#include <iostream>
//using namespace std;
//
//int main()
//{
//
// return 0;
//} | [
"nsj6646@gmail.com"
] | nsj6646@gmail.com |
55d6ece97f2f39f5521d4ed7880d2426c504d4b2 | 8f6c933cf28c544a607c7e5b12500a1fed83b33a | /src/kalman_filter.cpp | a12a44d8449a4f92eedafc6141d19d39007d3b3d | [] | no_license | mcarilli/CarND-Extended-Kalman-Filter | 444a0ff4e69923d66bbb024c815d37669ed8bd5c | 493d1c7649c55976e3d2670481e30704caff249b | refs/heads/master | 2020-12-02T22:28:01.265261 | 2017-07-13T20:45:49 | 2017-07-13T20:45:49 | 96,136,646 | 1 | 7 | null | null | null | null | UTF-8 | C++ | false | false | 2,193 | cpp | #include "kalman_filter.h"
#define PI 3.14159265
#include <iostream>
using namespace std;
using Eigen::MatrixXd;
using Eigen::VectorXd;
KalmanFilter::KalmanFilter() {}
KalmanFilter::~KalmanFilter() {}
void KalmanFilter::Init( VectorXd &x_in,
MatrixXd &P_in,
MatrixXd &F_in,
MatrixXd &H_in,
Matrix... | [
"mcarilli@gmail.com"
] | mcarilli@gmail.com |
335666612745dc614efd65de804810b3937f1e86 | fc214bfc7caf6050eec8ec5201e7f7eb568e3a17 | /Windows/Qt/Qt5.12-msvc2019_static_64/5.12/msvc2019_static_64/include/Qt3DInput/qinputchord.h | a73873d73a00982fd206488b407b0f7c14f296ad | [] | no_license | MediaArea/MediaArea-Utils-Binaries | 44402a1dacb43e19ef6857da46a48289b106137d | 5cde31480dba6092e195dfae96478c261018bf32 | refs/heads/master | 2023-09-01T04:54:34.216269 | 2023-04-11T08:44:15 | 2023-04-11T08:44:15 | 57,366,211 | 4 | 1 | null | 2023-04-11T08:44:16 | 2016-04-29T07:51:36 | C++ | UTF-8 | C++ | false | false | 3,045 | h | /****************************************************************************
**
** Copyright (C) 2016 Klaralvdalens Datakonsult AB (KDAB).
** Contact: https://www.qt.io/licensing/
**
** This file is part of the Qt3D module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL$
** Commercial License Usage
** License... | [
"gervais.maxime@gmail.com"
] | gervais.maxime@gmail.com |
ccc71f01564e1eabc481544b1c3caa613fd15d0d | b0471299811ee36f37aa0839a16903fe965b5ba9 | /BipedGameEngine/BipedGameEngine/engine/Input.h | c307635945c21ac6166a6b4e52af2f15047184af | [] | no_license | Mimy09/BipedGameEngine | b3f703cea908c4af713744fd20a3dd71dbce9f59 | 9bf9dabd6ef476108e701789c4c16aea495dd32f | refs/heads/master | 2020-03-28T18:43:11.798650 | 2018-11-02T09:33:48 | 2018-11-02T09:33:48 | 148,904,028 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 742 | h | #pragma once
#include "core/pch.h"
namespace bpd {
class Input {
public:
Input();
~Input();
bool Initialize(HINSTANCE,HWND,int,int);
void Shutdown();
bool Update();
void GetMousePosition(int&,int&);
void GetMouseMovement(int&,int&);
bool GetMouseKey(int);
bool GetMouseKeyDown(int);
bool GetKey... | [
"mjmt997@gmail.com"
] | mjmt997@gmail.com |
15275c3aa18672bb78254e0e61f64ce89a07150a | a3e1a101673c56e4ced1b5600612b25b145eb472 | /beakjoon_algorithm/beakjoon_algorithm/KakaoCodingTest/문제 풀이4.cpp | 000d060d3a3f9b2ad12808f5388643af5a85b4e4 | [] | no_license | gwanhyeon/algorithm_study | a95f3f2d559899f734b52d2d6e89d5f0125cebdf | f01af94919946e5adbdd7cb688cc2c1cf54cbbdc | refs/heads/master | 2022-01-07T21:34:56.297147 | 2021-12-29T16:02:02 | 2021-12-29T16:02:02 | 162,471,977 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 530 | cpp | //
// 풀이4.cpp
// beakjoon_algorithm
//
// Created by kgh on 07/09/2019.
// Copyright © 2019 kgh. All rights reserved.
#include <stdio.h>
#include <iostream>
#include <vector>
#include <algorithm>
int check[101][101];
int dist[101][101];
int dir[4][2] = {{-1,0},{1,0},{0,1},{0,-1}};
using namespace std;
bool com... | [
"kgh940525@gmail.com"
] | kgh940525@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.