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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
400dac01be2fbdbf0bc0751a08696150b8aac9ba | 3b7510e0b11f33d3d311c73cfe7786828c406095 | /03/ex02/FragTrap.hpp | a19955f48a5b96ef1054b3c398ce9d1e78f97892 | [] | no_license | Nimon77/Piscine_CPP | 3ae7f747a92018a39d79b91e9f15947e453037e9 | 2a3f745764d4bed60522f0af04aa30cbd24ec7cd | refs/heads/main | 2023-04-14T00:27:58.686490 | 2021-04-17T18:02:22 | 2021-04-17T18:02:22 | 336,347,602 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,214 | hpp | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* FragTrap.hpp :+: :+: :+: ... | [
"nsimon@student.42.fr"
] | nsimon@student.42.fr |
76c4de4933c662398c6948ba3201a21778f9bf7e | 135d46da9ba5c74e9e16612d378935f87d4035c2 | /databases/mnauthor.cpp | 2e828a52537fb10ebb50130723c94e1cb805ff28 | [] | no_license | alkotobi/DBConverterWin | 0f23e59bfebc92ebb1ae5425025fbf46b9b25032 | 465590446a9e2237e9a93df9b1b867b34b275602 | refs/heads/master | 2022-11-22T09:50:29.610206 | 2020-07-15T01:49:03 | 2020-07-15T01:49:03 | 267,470,403 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,219 | cpp | #include "mnauthor.h"
MNAuthor::MNAuthor()
{
}
QSqlRecord MNAuthor::createRecord()
{
QSqlRecord rcd;
QSqlField fld;
MNRecord::initRecord(rcd);
rcd.append(QSqlField("shortName",QVariant::String));
rcd.append(QSqlField("longName",QVariant::String));
rcd.append(QSqlField("info",QVariant::String)... | [
"merhab@gmail.com"
] | merhab@gmail.com |
dd7871f4dc12af4aaba9d345570f927b0fd72723 | 58790459d953a3e4b6722ed3ee939f82d9de8c3e | /my/PDF插件/sdkDC_v1_win/Adobe/Acrobat DC SDK/Version 1/PluginSupport/Samples/BasicPlugin/sources/BasicPluginInit.cpp | 1e10e00c934531d06f489b06748df7fea4cb0869 | [] | no_license | tisn05/VS | bb84deb993eb18d43d8edaf81afb753afa3d3188 | da56d392a518ba21edcb1a367b4b4378d65506f0 | refs/heads/master | 2020-09-25T05:49:31.713773 | 2016-08-22T01:22:16 | 2016-08-22T01:22:16 | 66,229,337 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 7,222 | cpp | /*********************************************************************
ADOBE SYSTEMS INCORPORATED
Copyright (C) 1998-2006 Adobe Systems Incorporated
All rights reserved.
NOTICE: Adobe permits you to use, modify, and distribute this file
in accordance with the terms of the Adobe license agreement
accompanying it... | [
"tisn05@gmail.com"
] | tisn05@gmail.com |
8bb512705d7198d050c53a50af2b15f69988bcb7 | 89376968953265afbb1b39f3ce4c096a746eb8f8 | /TP1/exo3.cpp | fb95f6fa7924d6d003f3fcd1101fc16e3f9861fd | [] | no_license | leogenot/AlgoProg | 27d57262deb214f915b741eef080a40b4e8f1885 | 11acded5c19d131fd0435c3906f0f591c3844956 | refs/heads/master | 2023-04-15T00:18:46.332168 | 2021-04-16T10:24:32 | 2021-04-16T10:24:32 | 344,190,223 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 908 | cpp | #include "tp1.h"
#include <QApplication>
#include <time.h>
#define return_and_display(result) return _.store(result);
int search(int value, Array& toSort, int size)
{
Context _("search", value, size); // do not care about this, it allow the display of call stack
if(size==1){
if(toSort[size-1]==value... | [
"45610291+leogenot@users.noreply.github.com"
] | 45610291+leogenot@users.noreply.github.com |
5d5cfe22c38484a2b55c5fd80f51083db0745604 | 3bbc1f7e7fe9997bd76901b66deb23a4ac2ecb34 | /src/Main.cpp | 37dae8a010486278d7cff141f9f336df0a868bad | [] | no_license | DanielZajkowski/2dgameengine | 46f612d0ea28cade98320bff546f84f1817ca99a | 56373dc14fe6e1f44cd609072ec861af6c686f37 | refs/heads/master | 2023-04-22T23:16:53.314784 | 2021-05-13T06:36:57 | 2021-05-13T06:36:57 | 277,488,840 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 591 | cpp | #include <iostream>
#include "Game.h"
#include "Constants.h"
int main(int argc, char *args[])
{
// Game *game = new Game();
// game->Initialize(WINDOW_WIDTH, WINDOW_HEIGHT);
// while (game->IsRunning())
// {
// game->ProcessInput();
// game->Update();
// game->Render();
//... | [
"zajkowskidaniel@gmail.com"
] | zajkowskidaniel@gmail.com |
f45e3b3f2b401cc553a945cdbf1c3544afdd34cb | 031f86321c1b87d347762de4aae9f7276ccd43b0 | /client/inc/UI/ADrawable.hpp | 945aa29979a2a82c964d55d6d76219b7ae5ac0ff | [
"MIT"
] | permissive | LeNiglo/TinyTank-v3 | 74fb685d0d375dba9cf38d29f7c9c80e08dbb8b5 | a4b19f572fe1b81045195f86d6ac9fe2a70e25ed | refs/heads/master | 2020-04-15T12:45:00.060992 | 2016-11-08T22:23:50 | 2016-11-08T22:23:50 | 64,608,898 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 912 | hpp | #ifndef ADRAWABLE_HPP_
# define ADRAWABLE_HPP_
# include <SFML/Graphics.hpp>
# include "Input.hpp"
class ADrawable
{
public:
ADrawable(bool hide, const sf::Vector2f &pos, const sf::Vector2f &size) : _hide(hide), _pos(pos), _size(size) { };
virtual ~ADrawable() { };
virtual void update(const Input &, float) = 0... | [
"lefrantguillaume@gmail.com"
] | lefrantguillaume@gmail.com |
ae21fa829565e23a8e0642a09cac02c410581e3b | eb2751f5c220563ac7c54f407e8720785edfd76b | /src/chain.h | 72ad4e595dd0105d51b826740ad9172f9d20e7de | [
"MIT"
] | permissive | psolstice/zcoin | c96ec59722e7b059952ca4e0a5cdd428f362d066 | 0544bcc76ce7d4ebe5cc7454c51a2959faf0ba51 | refs/heads/master | 2021-01-23T09:45:43.578658 | 2017-10-01T16:34:18 | 2017-10-01T16:34:18 | 102,598,004 | 2 | 0 | null | 2017-09-06T10:59:13 | 2017-09-06T10:59:13 | null | UTF-8 | C++ | false | false | 14,620 | h | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-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.
#ifndef BITCOIN_CHAIN_H
#define BITCOIN_CHAIN_H
#include "arith_uint256.h"
#incl... | [
"aizensou@protonmail.com"
] | aizensou@protonmail.com |
c570dfb21cb9a7741db1fb6e077d1b6be112d635 | d432a8c18999a4f4a9949aca5441fcef292d92d8 | /10678/10678.cc | a4af00aba4d24dff7a642362f01e2064e35b0806 | [] | no_license | lernerc/UVA | 05bad2a4ed054f6ba216f19221e05cf9f810b228 | 68cc70896866f73064791b46ea4f7c89dda73339 | refs/heads/master | 2021-01-23T06:39:14.000825 | 2014-08-23T15:55:07 | 2014-08-23T15:55:07 | 10,039,496 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 440 | cc | #include <iostream>
#include <cmath>
#include <iomanip>
using namespace std;
const double PI = 2 * acos(0.0);
int main() {
int cases;
cin >> cases;
for(int q = 0; q < cases; q++) {
double pil, rope;
cin >> pil >> rope;
double a, b;
b = rope/2.0;
a = sqrt(rope * rope / 4.0 - pil... | [
"camara.lerner@gmail.com"
] | camara.lerner@gmail.com |
19333222fe89a33f01c5d2c3468694078692e51b | 70441dcb7a8917a5574dd74c5afdeeaed3672a7a | /第一回 アルゴリズム実技検定 過去問/D - 重複検査/main.cpp | 202b6ddbc073f008d7638677d677745656eec3de | [] | no_license | tmyksj/atcoder | f12ecf6255b668792d83621369194195f06c10f6 | 419165e85d8a9a0614e5544232da371d8a2f2f85 | refs/heads/master | 2023-03-05T12:14:14.945257 | 2023-02-26T10:10:20 | 2023-02-26T10:10:20 | 195,034,198 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 510 | cpp | #include <algorithm>
#include <iostream>
#include <vector>
using namespace std;
int main() {
int n;
cin >> n;
vector<int> c(n, 0);
for (int i = 0; i < n; i++) {
int a;
cin >> a;
c[a - 1]++;
}
vector<int>::iterator x = find(c.begin(), c.end(), 0);
vector<int>::iter... | [
"33417830+tmyksj@users.noreply.github.com"
] | 33417830+tmyksj@users.noreply.github.com |
95ba8ac90ea1804d11687a6785dc908dcb5baa64 | 47927f5b2b9a79d35a0ff77699a2d0ca09a8a2f7 | /sdl-collision-events-src/CCamera.cpp | e414dd7bfd020f4ccbd3332aab8d24032a1e2929 | [] | no_license | Samurai336/sdl2-collision-events | e602e4abcab2bf211ac62309bab565a3d6a5ef80 | 54c8f5b57f8e9b71409d73698288b92f25748d91 | refs/heads/master | 2021-01-01T05:32:47.647781 | 2013-08-17T21:13:13 | 2013-08-17T21:13:13 | 11,079,993 | 2 | 1 | null | 2013-08-17T21:13:13 | 2013-06-30T23:42:11 | C++ | UTF-8 | C++ | false | false | 1,489 | cpp | //==============================================================================
#include "CCamera.h"
//==============================================================================
CCamera CCamera::CameraControl;
//==============================================================================
CCamera::CCamer... | [
"samurai336@gmail.com"
] | samurai336@gmail.com |
8c373c65f3992b70aec7c1bc3cb0b7fa9edfd270 | eb4cb3f77f8d1cf5909071dba1fd6e3a9af97502 | /TrafficCapture/source/Split.cpp | 5b7f67e7bc3db53ddd35739ad51204b132baa2cc | [] | no_license | NewGillig/LbsQoS | 65efe59cf4a43b7604e6aae7ad909e7d97bed49a | bca93790198714c3c1a732e81501c189d4d7eab8 | refs/heads/master | 2023-01-14T17:31:42.463743 | 2020-11-17T01:25:50 | 2020-11-17T01:25:50 | 313,472,303 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,903 | cpp | /***********************************************************
* Author: Wen Li
* Date : 11/10/2020
* Describe: traffic flow split
* History:
<1> 11/10/2020 , create
************************************************************/
#include "Split.h"
#include "FlowCsv.h"
FlowManage Split::m_Flm;
static VOID ReadP... | [
"yu.nong@wsu.edu"
] | yu.nong@wsu.edu |
e3883d3e3063324f6c0e93c7f03ef6cbf582ed60 | f24e7daff602a5e3f2b4909721548a9f84598a56 | /russiancodecup/2014/EL/C/problem.cpp | cff9d67b0f366500b73a05ee98f0697ace0c4be0 | [] | no_license | permin/Olymp | 05b594e8c09adb04c1aa065ba6dd7f2dae8f4d6e | 51ac43fcbcc14136ed718481f64e09036f10ddf8 | refs/heads/master | 2021-01-18T23:04:00.491119 | 2017-03-08T22:22:25 | 2017-03-08T22:22:25 | 23,457,833 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,947 | cpp | #include <iostream>
#include <cstring>
#include <cstdlib>
#include <cstdio>
#include <string>
#include <vector>
#include <set>
#include <map>
#include <list>
#include <stack>
#include <deque>
#include <queue>
#include <algorithm>
#include <cassert>
#include <cmath>
#include <ctime>
#include <sstream>
#include <unordere... | [
"rodion.permin@gmail.com"
] | rodion.permin@gmail.com |
25d9a85f80d2e60037084bf13ad5a21dacbde968 | 8dc84558f0058d90dfc4955e905dab1b22d12c08 | /device/geolocation/location_arbitrator_unittest.cc | ff9bcd470ff7c16bbf9ccb1f4b48fd6597bca03b | [
"LicenseRef-scancode-unknown-license-reference",
"BSD-3-Clause"
] | permissive | meniossin/src | 42a95cc6c4a9c71d43d62bc4311224ca1fd61e03 | 44f73f7e76119e5ab415d4593ac66485e65d700a | refs/heads/master | 2022-12-16T20:17:03.747113 | 2020-09-03T10:43:12 | 2020-09-03T10:43:12 | 263,710,168 | 1 | 0 | BSD-3-Clause | 2020-05-13T18:20:09 | 2020-05-13T18:20:08 | null | UTF-8 | C++ | false | false | 17,012 | 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 "device/geolocation/location_arbitrator.h"
#include <memory>
#include <utility>
#include "base/bind.h"
#include "base/memory/ptr_util.h"
#i... | [
"arnaud@geometry.ee"
] | arnaud@geometry.ee |
6441d057af58173a4a8404794e00f2f13edaf083 | d86d5bd65585a385207aaaf65a79ede3ae2dfde9 | /src/websocket_server/CommandLineInterface.hh | 7cc82f7c1f0eae4416d46bac883046ec1cae5fbb | [
"MIT"
] | permissive | 3n16m4/websocket-server | b8bfb57f80d76e3e3de20c22608bee8477260ccc | 5b6575bbd459feeef459b20a093ada3fd9d035e5 | refs/heads/main | 2023-07-15T00:48:26.701874 | 2021-08-30T14:14:44 | 2021-08-30T14:14:44 | 307,843,365 | 3 | 1 | MIT | 2021-01-29T15:00:58 | 2020-10-27T22:28:27 | C++ | UTF-8 | C++ | false | false | 1,433 | hh | #ifndef WEBSOCKET_SERVER_COMMAND_LINE_INTERFACE_HH
#define WEBSOCKET_SERVER_COMMAND_LINE_INTERFACE_HH
#include "websocket_server/asiofwd.hh"
#include <boost/asio/ip/address.hpp>
#include <nlohmann/json.hpp>
#include <cstdint>
#include <string>
using JSON = nlohmann::json;
namespace amadeus {
/// \brief A simple C... | [
"r.mzannar@ostfalia.de"
] | r.mzannar@ostfalia.de |
fedafa62cd80c9483af01346d07632856d9e76a7 | dc78d725fa7af4a132a22fa7581fb08e01c56713 | /DLL/CvGameCoreDLL_Expansion2/CvTeam.h | 7d27734e7caac3e6d95f95a6a1249f34beaee029 | [] | no_license | Sergeus/CivMods | d5546252cbd50034aa9db0108a04d5d3bb8f04ea | ca31d95bca6fee78a5b5b305d2656e2ef60eae17 | refs/heads/master | 2016-09-06T00:48:35.265345 | 2015-05-10T22:40:22 | 2015-05-10T22:40:22 | 23,286,431 | 0 | 0 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 18,434 | h | /* -------------------------------------------------------------------------------------------------------
© 1991-2012 Take-Two Interactive Software and its subsidiaries. Developed by Firaxis Games.
Sid Meier's Civilization V, Civ, Civilization, 2K Games, Firaxis Games, Take-Two Interactive Software
and their re... | [
"soulc3@gmail.com"
] | soulc3@gmail.com |
03b15c52b701952cfc8eb63f96c16daeabfc791a | d4e88d14e99158755c5f7e6b8902909655f04697 | /oddEvenList.cpp | 8ce58a1560da0af41e16bb44dcbd5392e873283a | [] | no_license | akash2504/leetcode | 5453d076cbf2205bb6fd4507399436c2ec5e4c37 | 92cfbefe63df8797c4179f0b1e3730be9515d815 | refs/heads/master | 2021-01-17T20:32:03.039450 | 2016-08-02T19:05:35 | 2016-08-02T19:05:35 | 64,784,710 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 935 | cpp | /**
* Definition for singly-linked list.
* struct ListNode {
* int val;
* ListNode *next;
* ListNode(int x) : val(x), next(NULL) {}
* };
*/
class Solution {
public:
ListNode* oddEvenList(ListNode* head) {
ListNode *odd=NULL;
ListNode *even=NULL;
ListNode *oddStart=NULL;
... | [
"akash.bansal2504@gmail.com"
] | akash.bansal2504@gmail.com |
2738a15f05ee00d6a0ebfaf4814c4343678873e2 | 1e5d5ccbffaccf616c97d0c493890a6a1c7f91a0 | /lab_1/lib/square.h | 0cb198fe5006ca19554eab8567af9cde4d973284 | [] | no_license | haritonasty/technology-of-programming | 3dbcd5537464029bb62239fedbc12ee71234e2e0 | 1f0901448fd607d6012bac7d4fb5c75c9c9a75b9 | refs/heads/master | 2021-09-18T01:26:45.549624 | 2018-07-08T14:59:19 | 2018-07-08T14:59:19 | 111,952,007 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 278 | h | #ifndef SQUARE_H
#define SQUARE_H
#include "shape.h"
class FIGURESHARED_EXPORT Square : public Shape {
float side;
public:
Square(float Side);
Square(float Side, float X, float Y);
string type();
void print();
vector<int> getAll();
};
#endif // SQUARE_H
| [
"a.kharitonovaspb@gmail.com"
] | a.kharitonovaspb@gmail.com |
c13949417d65f9e374206e818d3c4b7f2c6437ab | 63a54bc72b5860fa51117334b80c4e8e027258dd | /CppPool/cpp_d07m/ex00/Federation.hh | 7c87f13d1d6d21ed1206ac8a9e4ceafba533dbbf | [
"MIT"
] | permissive | Epitech-Strasbourg-CT/Epitech-Computer-Science-School-Projects | b90e12137b56902e2862f956844a64b85164e724 | 43065b7230534a8ba08793dadbf99ce07ac9af3a | refs/heads/master | 2022-02-11T21:59:20.801001 | 2019-08-07T01:16:48 | 2019-08-07T01:16:48 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,116 | hh | //
// Federation.hh for in /home/gwendoline/Epitech/Tek2/rendu/Piscine_cpp/piscine_cpp_d07m/ex01
//
// Made by Gwendoline Rodriguez
// Login <gwendoline@epitech.net>
//
// Started on Tue Jan 12 09:32:22 2016 Gwendoline Rodriguez
// Last update Tue Jan 12 13:47:08 2016 Gwendoline Rodriguez
//
#ifndef _FEDERATION_HH... | [
"*"
] | * |
7834ab1c5b725be663aaeda493acba0d2d53c352 | 149489e12a2f209e33a82684518785540b3508b8 | /src/arch/mips/linux/process.hh | cbf0d78ead3741fb06c095501db200d9341e37b0 | [
"BSD-3-Clause",
"LicenseRef-scancode-proprietary-license",
"LGPL-2.0-or-later",
"MIT"
] | permissive | FPSG-UIUC/SPT | 8dac03b54e42df285d774bfc2c08be3123ea0dbb | 34ec7b2911078e36284fa0d35ae1b5551b48ba1b | refs/heads/master | 2023-04-15T07:11:36.092504 | 2022-05-28T21:34:30 | 2022-05-28T21:34:30 | 405,761,413 | 4 | 1 | BSD-3-Clause | 2023-04-11T11:44:49 | 2021-09-12T21:54:08 | C++ | UTF-8 | C++ | false | false | 2,358 | hh | /*
* Copyright (c) 2004 The Regents of The University of Michigan
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met: redistributions of source code must retain the above copyright
* notice, ... | [
"rutvikc2@midgar.cs.illinois.edu"
] | rutvikc2@midgar.cs.illinois.edu |
a19d077bf81ba9ab3e6fbd85db5d4a209f76b725 | e620d7b5f7050500b874decef414cb2416951d30 | /ManagedCpp/MeshFullState.h | 83a96bd6e5eddcf35b5aa66332f0375a5c6b597a | [
"MIT"
] | permissive | svn2github/3d-editor-toolkit | 9bf3829404b639f35311b540f9a2a7c8b592a153 | baf132a47e1d03272efdf65a8a87c6976156d51b | refs/heads/master | 2021-01-25T08:48:48.815860 | 2010-02-13T19:40:18 | 2010-02-13T19:40:18 | 30,482,260 | 2 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 592 | h | //
// MeshFullState.h
// OpenGLEditor
//
// Created by Filip Kunc on 12/12/09.
// For license see LICENSE.TXT
//
#pragma once
#include "../PureCpp/MathCore/MathDeclaration.h"
#include "Mesh.h"
namespace ManagedCpp
{
public ref class MeshFullState
{
private:
uint itemIndex;
vector<Vector3D> *vertices;
v... | [
"kunc.filip@77665838-ecdd-11de-a5fe-b7516cc0fd57"
] | kunc.filip@77665838-ecdd-11de-a5fe-b7516cc0fd57 |
c25a57eea688430f8f8482b4879dd1f90bbab012 | d08e0b267b77c9552528ccf815f05c836a53b36a | /gamecode/gamecode/Map.cpp | 7066458797d6a4dcce585e33e2de9a6604a6501a | [] | no_license | kochol/unbound_sim | f19fcebfdbdbc1d6e7194ce2b6d74240d6cfe445 | 08d1ca6236cc2168f6a509bdf490c31c2e534a09 | refs/heads/master | 2021-05-03T15:46:44.019900 | 2018-02-07T23:21:08 | 2018-02-07T23:21:08 | 120,484,805 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,225 | cpp | #include "Map.h"
#include <ResourceLoader.hpp>
#ifndef CLAMP
#define CLAMP(m_a,m_min,m_max) (((m_a)<(m_min))?(m_min):(((m_a)>(m_max))?m_max:m_a))
#endif
namespace my
{
Map::Map(): GodotScript(), m_iWidth(0), m_iHeight(0), m_pMap(nullptr)
{
Godot::print("Constructor");
m_rTree1 = ResourceLoader::load("... | [
"cyrusgp@gmail.com"
] | cyrusgp@gmail.com |
79de0bfc423925fabb6d355026b178cad3ff285f | 0bd3f7baab0e823a479a7d9a3b9b87097a59044c | /GraphTheory/BipartiteGraphMatching/BGMaxMatching_hungarian_dfs2.cpp | 811c962174511acc562222c6c524db048c5b3654 | [] | no_license | OTTFFYZY/StandardCodeLibrary | ae43b212a28cd36d1151461fa863603815806792 | 84a20ea7e701f4fa59e23d66861c89cb277d184c | refs/heads/master | 2022-01-22T21:54:13.823563 | 2022-01-09T05:11:24 | 2022-01-09T05:11:24 | 126,425,822 | 5 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 515 | cpp | #include <iostream>
#include <vector>
#include <string.h>
#include <algorithm>
using namespace std;
const int M=505;
int g[M][M];
int vis[M],match[M];
bool dfs(int u)
{
for(int v=0;v<n;v++)
if(g[u][v]&&!vis[v])
{
vis[v]=1;
if(match[v]==-1||dfs(match[v]))
{
match[v]=u;
return true;
}
}
ret... | [
"992241461@qq.com"
] | 992241461@qq.com |
61ac044a2055cd381c26b9cb98c876aa57c1bb4a | f23bf2d9dfa65281dafa74cd22de796c03d575f2 | /aribon/Bellman-Ford.cpp | 5fbf2140745b03de954ac28fa1277c85d6fc336f | [] | no_license | trmr/code | 81181c1a5fde757f081ecc377765c81e48d547bd | 201a761063cd79a5887733964c015f60cd971601 | refs/heads/master | 2023-03-23T11:27:48.105310 | 2021-03-09T01:33:08 | 2021-03-09T01:33:08 | 237,609,489 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 801 | cpp | #include <iostream>
#include <vector>
using namespace std;
const int INF = 1000000000;
struct edge {
int from, to;
int cost;
}
int main() {
int V, E; cin >> V >> E;
int s; cin >> s;
vector<edge> es(E);
int from_, to_, cost_;
for (int i = 0; i < E; i++) {
cin >> from_ >> to_ >> cos... | [
"trmr@TRMR-MB.local"
] | trmr@TRMR-MB.local |
b75d19d73d50a1c5f845fd6ab10a02d07187d902 | 4bf5f1f391cbaa1be238f19b96f927c5914966ce | /day08/day08_2.cpp | f4f504c3ee33b3a733e65855de2184902d20b076 | [] | no_license | BrOverShield/AoC2019 | cd7309c14915f20a42c404428267f9d72cdd0831 | a3212f2886c7fcbf382ca0e4f5f20697aa8a8243 | refs/heads/master | 2020-09-22T08:28:17.318260 | 2019-12-17T21:50:02 | 2019-12-17T21:50:02 | 225,120,430 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,567 | cpp | #include <iostream>
#include <fstream>
#include <vector>
#include <numeric> // iota
class Layer
{
public:
int Zeros = 0;
int Ones = 0;
int Twos = 0;
std::vector<std::vector<int>> Lines;
};
int ctoi (char c)
{
return (int)c - '0';
};
int main()
{
const char WHITE_CHARACTER ... | [
"alexandre.lessard@cyberquebec.org"
] | alexandre.lessard@cyberquebec.org |
fc5103f708c2ddc04bf7ad00617a50823d5a68fd | 9f6d0c9e9f0877e0cc954f61e2245c88839918f9 | /exlib/include/utils.h | c847d3ab8d98a924cc6aebe7a50fb58b4c67c29f | [] | no_license | fibjs/fibjs_vender | c2f4fd35b7ed9e9ea06680d75453b3ee81a25d0d | 6aa2431f65e17f9a51b60f12c14a36a8464fad5d | refs/heads/dev | 2023-08-03T18:39:02.369823 | 2023-07-27T14:12:00 | 2023-07-27T14:12:00 | 37,327,960 | 7 | 24 | null | 2022-05-18T15:08:24 | 2015-06-12T14:56:51 | C++ | UTF-8 | C++ | false | false | 2,412 | h | /*
* utils.h
* Created on: Mar 19, 2012
*
* Copyright (c) 2012 by Leo Hoo
* lion@9465.net
*/
#pragma once
#include <stdint.h>
#include "osconfig.h"
#include <atomic>
#include <thread>
namespace exlib {
class atomic {
public:
atomic(intptr_t new_value = 0)
: m_v(new_value)
{
}
atom... | [
"lion@9465.net"
] | lion@9465.net |
487d8308c8f6f3fbae61856524ba54adc0f870c5 | 4759efd0dde75bfbc33d393e7595fd7b4fb64204 | /raven/io/InputEvent.cpp | 496a1fd39b43954361c5819b2f4572573dd36ccd | [
"MIT"
] | permissive | nielsuiterwijk/vulkan | 6a154e6289b47160f4286ed72d6420efca1fb17f | b2d5c7d23f7a16d9fdb9ba2796051da4d9e66e05 | refs/heads/master | 2021-01-18T21:41:37.755847 | 2020-05-26T21:35:33 | 2020-05-26T21:35:33 | 69,747,584 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,750 | cpp | #include "InputEvent.h"
std::vector<std::function<void( int, int, int )>> InputEvent::OnMouseButton = {};
std::vector<std::function<void( double, double )>> InputEvent::OnMouseScroll = {};
std::vector<std::function<void( int, int, int, int )>> InputEvent::OnKey = {};
std::vector<std::function<void( unsigned int )>> I... | [
"nielsuiterwijk@gmail.com"
] | nielsuiterwijk@gmail.com |
0b91dcc6e54891a4831eb6657405b20c67a504f4 | 5d83739af703fb400857cecc69aadaf02e07f8d1 | /Archive2/fa/dd1a456bfd5b82/main.cpp | 259aeb703cde170a58f098198db3a5b56c3e19cf | [] | no_license | WhiZTiM/coliru | 3a6c4c0bdac566d1aa1c21818118ba70479b0f40 | 2c72c048846c082f943e6c7f9fa8d94aee76979f | refs/heads/master | 2021-01-01T05:10:33.812560 | 2015-08-24T19:09:22 | 2015-08-24T19:09:22 | 56,789,706 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 85 | cpp | struct A {
const int j;
};
int main() {
//A a;
A * aa = new A();
return 0;
} | [
"francis.rammeloo@36614edc-3e3a-acb8-9062-c8ae0e4185df"
] | francis.rammeloo@36614edc-3e3a-acb8-9062-c8ae0e4185df |
644844a788d1c3a151461755ca9ed7895ae2fcb9 | 3a356ea7e4364d419c3c1a8cf71d9f1842fda54a | /1305B.cpp | 4905d0585555687120006eed00173fd529ea3dac | [] | no_license | mayank992/Codeforces-Solutions | cd8e4cde3bd690e923aa1e12105bfb50a690f2e7 | 27771f4b23800dad4e7276f2aacf5e65143a3220 | refs/heads/master | 2021-04-09T00:44:59.662072 | 2020-06-04T07:44:29 | 2020-06-04T07:44:29 | 248,823,713 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 730 | cpp | #include<bits/stdc++.h>
using namespace std;
int main() {
string str;
cin >> str;
vector<int> vec;
int n = str.length();
int i = 0, j = n - 1;
while (i < j) {
if (str[i] == '(' && str[j] == ')') {
vec.push_back(i + 1);
vec.push_back(j + 1);
// str[i]... | [
"mayankjindal992@gmail.com"
] | mayankjindal992@gmail.com |
5a097bf2ee684fe0ecc7cc065be52b81def3b1c6 | 463c3b62132d215e245a097a921859ecb498f723 | /lib/dlib/pixel.cpp | d1063d4b014e5f5ba9a6039d8b17cfdf87d8f7e2 | [
"LicenseRef-scancode-unknown-license-reference",
"BSL-1.0"
] | permissive | athulan/cppagent | 58f078cee55b68c08297acdf04a5424c2308cfdc | 9027ec4e32647e10c38276e12bcfed526a7e27dd | refs/heads/master | 2021-01-18T23:34:34.691846 | 2009-05-05T00:19:54 | 2009-05-05T00:19:54 | 197,038 | 4 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 6,397 | cpp | // Copyright (C) 2006 Davis E. King (davisking@users.sourceforge.net)
// License: Boost Software License See LICENSE.txt for the full license.
#ifndef DLIB_PIXEL_CPp_
#define DLIB_PIXEL_CPp_
#include "pixel.h"
namespace dlib
{
// --------------------------------------------------------------------------... | [
"jimmy@DGJ3X3B1.(none)"
] | jimmy@DGJ3X3B1.(none) |
e4563529f1a785a2e61b5842db11c95b6c307ddc | 81069d54c9cb3a1b2654cf5eed91ca71fc5ce874 | /Leetcode-2021-Year/Day3_08222020/Linked_list_cycle.cpp | 010ad59ceadb9f48f687e252e8bfbcaa2719fc86 | [] | no_license | RajeevSawant/leetCode | d7c9ca0fb9d3294c89eb7662134ac7376cd32608 | e0ac30965d4a7cc2ee44d539d3113c59c2be85d2 | refs/heads/master | 2023-08-18T17:02:44.358479 | 2023-08-18T05:30:25 | 2023-08-18T05:30:25 | 123,543,492 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,096 | cpp | #include <iostream>
#include <vector>
#include <map>
using namespace std;
class ListNode
{
public:
int val;
ListNode* next;
};
void Cnode(ListNode** head, int data)
{
ListNode* container = new ListNode();
container-> val = data;
container-> next = (*head);
(*head) = container;
}
ListNode* detectN... | [
"sawantrajeevv@gmail.com"
] | sawantrajeevv@gmail.com |
e7ceccbb00ce898712287cdd90d87b68901adcb2 | 04e5b6df2ee3bcfb7005d8ec91aab8e380333ac4 | /clang_codecompletion/clang/Basic/DiagnosticDriver.h | cecd8fd6b4d51b40f26d5068e385c72a8c6dc69e | [
"MIT"
] | permissive | ColdGrub1384/Pyto | 64e2a593957fd640907f0e4698d430ea7754a73e | 7557485a733dd7e17ba0366b92794931bdb39975 | refs/heads/main | 2023-08-01T03:48:35.694832 | 2022-07-20T14:38:45 | 2022-07-20T14:38:45 | 148,944,721 | 884 | 157 | MIT | 2023-02-26T21:34:04 | 2018-09-15T22:29:07 | C | UTF-8 | C++ | false | false | 921 | h | //===--- DiagnosticDriver.h - Diagnostics for libdriver ---------*- C++ -*-===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===---------------------------... | [
"emma@labbe.me"
] | emma@labbe.me |
36438b87a21574dcef536bc3320fe1b26320bb6a | f3cd4b7cd3cd0cca05c9e9af66bc1740b068c4c3 | /mainwindow.h | 33c61114aff959a27f5cc2e4c011dec381156afc | [] | no_license | kostyastrong/Turing-Machine-School | 867a3fb5c7f5d34ddb764a50629dcf47f1176b36 | aa9c29755af0ae6b847a7b760c3bd6bd22c77b50 | refs/heads/main | 2023-05-04T08:53:54.670228 | 2021-05-30T05:26:47 | 2021-05-30T05:26:47 | 360,440,923 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 642 | h | #ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include <QMainWindow>
#include <set>
QT_BEGIN_NAMESPACE
namespace Ui { class MainWindow; }
QT_END_NAMESPACE
class MainWindow : public QMainWindow
{
Q_OBJECT
public:
MainWindow(QWidget *parent = nullptr);
~MainWindow();
private slots:
void on_newMachine_cli... | [
"kostyakostya872@gmail.com"
] | kostyakostya872@gmail.com |
ad219a3b4d67496a339e8527cfde240aa0026889 | fec81bfe0453c5646e00c5d69874a71c579a103d | /blazetest/src/mathtest/operations/dmatsmatmult/DDaMIb.cpp | 488bea42c43b0c7d309ea19e4cecad124dfc14e7 | [
"BSD-3-Clause"
] | permissive | parsa/blaze | 801b0f619a53f8c07454b80d0a665ac0a3cf561d | 6ce2d5d8951e9b367aad87cc55ac835b054b5964 | refs/heads/master | 2022-09-19T15:46:44.108364 | 2022-07-30T04:47:03 | 2022-07-30T04:47:03 | 105,918,096 | 52 | 7 | null | null | null | null | UTF-8 | C++ | false | false | 4,401 | cpp | //=================================================================================================
/*!
// \file src/mathtest/operations/dmatsmatmult/DDaMIb.cpp
// \brief Source file for the DDaMIb dense matrix/sparse matrix multiplication math test
//
// Copyright (C) 2012-2020 Klaus Iglberger - All Rights Reserved... | [
"klaus.iglberger@gmail.com"
] | klaus.iglberger@gmail.com |
f454fa67cb307ae68ffacab39ffced42be3989bf | 925f50bef2089477801fe170b1811bbbd2e5493c | /Ch3/Ex3.25.cpp | fa5d0ac1aa743f022e4e6d5906b35ae503641114 | [] | no_license | DxnteSC/CppPrimer | e22b39b5df105c7e410038080cb1cae87e32801f | d1026974459bed7e622ffc6602f562070ed97fff | refs/heads/master | 2021-07-10T07:06:22.326501 | 2020-07-10T07:33:46 | 2020-07-10T07:33:46 | 163,541,475 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 292 | cpp | #include <iostream>
#include <string>
#include <vector>
using namespace std;
int main()
{
vector<unsigned> v(11,0);
unsigned grade;
while (cin >> grade)
{
++*(v.begin() + grade/10);
}
for (auto c: v)
{
cout << c << " ";
}
cout << endl;
}
| [
"dantes_c@outlook.com"
] | dantes_c@outlook.com |
2fe9eff84ca0bd6419c38f32a3e973b140ef6cf4 | eb49ecb83e61a425adc48b100f41aab3858473de | /Recitations/rec6/rec06.cpp | 43c83d4b1821cb797b1ef83ba6b7c3a7ba2d84b1 | [] | no_license | Jabidex3/CS1124 | 98b725235bdbb751fea564610ae8bd10cf296698 | 01ff615f6a4b1ca2b8a8dcb039ba25246d35cb1b | refs/heads/master | 2021-01-09T20:12:40.089239 | 2016-06-09T03:15:21 | 2016-06-09T03:15:21 | 60,732,047 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,108 | cpp | /*
Jabid Methun
CS-UY 1124
Section: B
jhm414
N14285139
Rec06
*/
#include <iostream>
#include <vector>
using namespace std;
class PrintedMaterial {
public:
PrintedMaterial(unsigned numPages)
: numOfPages(numPages)
{}
virtual void displayNumPages() const = 0;
private:
unsigned numOfPages;
};
/*void disp... | [
"jmethun@yahoo.com"
] | jmethun@yahoo.com |
4f71b1a30651bf9b45f29b783fd175cb4985e337 | 2a5262f38bfcabf6745951043ccefc59f5cbc842 | /第5阶段-C++提高编程资料/提高编程能力资料/代码/第三阶段-录制代码/01 类模板语法/01 类模板语法/05 类模板与继承.cpp | 77baa73bd37ededd8d9517727782503953b716e1 | [] | no_license | Aomandeyi/Cpp-0-1-Resource | 7ff79db0b6e0b40e2ba497fb7b2a2dca734a52f2 | 4e8498205a85102d09b4bfe0606f9efa2cb13e55 | refs/heads/master | 2020-09-22T02:51:31.537667 | 2020-08-17T09:00:34 | 2020-08-17T09:00:34 | 225,021,963 | 3 | 0 | null | 2019-11-30T14:10:35 | 2019-11-30T14:10:34 | null | GB18030 | C++ | false | false | 801 | cpp | //#include<iostream>
//using namespace std;
//
////类模板与继承
//template<class T>
//class Base
//{
// T m;
//};
//
////class Son :public Base //错误,必须要知道父类中的T类型,才能继承给子类
//class Son:public Base<int>
//{
//
//};
//
//void test01()
//{
// Son s1;
//}
//
////如果想灵活指定父类中T类型,子类也需要变类模板
//template<class T1,clas... | [
"553628212@qq.com"
] | 553628212@qq.com |
51d376aeeafef377611ef3df8c379544c4caa31c | 0dacc834a0f731f555edbd9d4e05733a5de30986 | /rosetta/3d-rendering/src/sdsoc/rendering.cpp | 76cbcffe41a28b49cf2ef8dbc32db50a5c7e19be | [
"BSD-3-Clause",
"MIT"
] | permissive | HansGiesen/hudson | 8a0c8e07f024f65b1046084b822e75b8605995bd | 7642e50279290bf1e4cc930c88eece5ce025b4ed | refs/heads/master | 2023-09-05T13:28:52.711315 | 2021-08-26T16:40:48 | 2021-10-05T16:04:36 | 400,233,493 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,162 | cpp | /*===============================================================*/
/* */
/* rendering.cpp */
/* */
/* C++ kernel for 3D Rendering ... | [
"giesen@seas.upenn.edu"
] | giesen@seas.upenn.edu |
3d337b9b01c353cea5c12391ba93540397798e78 | ae1979c66ccd6daf2a16cd00a2c7f4aa5f3478dd | /Assignments/1. Asobi Asobase/BGCreator.hpp | 7ff34312cc47ba1c67b71dc108c9f2fd878d0cb4 | [] | no_license | yfyx/BITCS_Winter2019 | cb2a53591de3bb775f4001d127f361b00cd5a391 | 5ce0503327f8c7f4160643e10d56b0a5cf63f80d | refs/heads/master | 2020-08-16T01:02:25.716434 | 2019-01-19T13:23:13 | 2019-01-19T13:23:13 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 806 | hpp | #pragma once
#include "Shape.hpp"
// Player2 请根据 TODO 提示补全此类
// 完成结果不得与示例相同
// 示例:
// 输入:s 调用 Print 结果为:
//
// *
// ***
// *****
// *******
// *****
// ***
// *
//
//
// 输出:m_shape 调用 Print 结果为:
// ##############################
// ############*#####... | [
"wiryls@gmx.com"
] | wiryls@gmx.com |
33c819ea3fa5d29fc133ce9c91e62e34a8bb948d | e76ea38dbe5774fccaf14e1a0090d9275cdaee08 | /src/chromeos/dbus/shill_manager_client.h | c9307cade0df11ac17b2417e6f3429063fb5f6d2 | [
"BSD-3-Clause"
] | permissive | eurogiciel-oss/Tizen_Crosswalk | efc424807a5434df1d5c9e8ed51364974643707d | a68aed6e29bd157c95564e7af2e3a26191813e51 | refs/heads/master | 2021-01-18T19:19:04.527505 | 2014-02-06T13:43:21 | 2014-02-06T13:43:21 | 16,070,101 | 1 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 9,179 | h | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROMEOS_DBUS_SHILL_MANAGER_CLIENT_H_
#define CHROMEOS_DBUS_SHILL_MANAGER_CLIENT_H_
#include <string>
#include "base/basictypes.h"
#include ... | [
"ronan@fridu.net"
] | ronan@fridu.net |
be9910f2778062d3f1dba4177e27e6e7b3935efb | 8134ef576045cc8fcebf1aa0c5e3b14c8e25bb35 | /Practice/Char Arrays/Char Arrays/Char Arrays.cpp | 50283c13b9f2226a0227c58dad90c74d3546d859 | [] | no_license | gusapostMSFT/cpp | 65118871140ae8159ccf6c74b9b8937a23a4a587 | ec793b4665ca1a02ce02d90755c0122b0a67dacf | refs/heads/master | 2022-04-20T09:02:25.159857 | 2020-04-14T02:58:31 | 2020-04-14T02:58:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,062 | cpp | #include <iostream>
using namespace std;
int main() {
// Declaring a char array is the same as any other array.
// However, you are able to write all the characters in "" and the compiler will convert that into an array for you.
// This is much easier than the standard way of { 'h', 'e', 'l', 'l', 'o' }.
// Be wa... | [
"nic_camm@icloud.com"
] | nic_camm@icloud.com |
ff166c788b7edda497e5c1f821ee54f614f6bebc | 9c0aa412a09bdeaf621ea1b0aebd0e7be34a22d0 | /test/src/derived_unit_tests/velocity_tests.cc | 543f6f8b73203ec2ae9b65474a90a767f37d31dc | [
"MIT"
] | permissive | erik502/SI | b455221226a2a54a29108cb42bd92c55aa86471c | 87b6c8376e934ee51b2473bf4aa04df51e927aa0 | refs/heads/main | 2023-06-26T11:09:55.893061 | 2021-04-28T08:31:05 | 2021-04-28T08:31:05 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,936 | cc | #include <catch2/catch.hpp>
#include <SI/velocity.h>
using namespace SI;
TEST_CASE("GIVEN a value WHEN constructed with literal _c THEN result is a "
"velocity type AND ratio is 299792458 to 1 (light speed)") {
constexpr auto one = 1_c;
STATIC_REQUIRE(
std::is_same<
decltype(one),
... | [
"dominik.berner@gmail.com"
] | dominik.berner@gmail.com |
fb22502b375745601933c117ce7011c75c837979 | 0e8bd6ecee37b391299e8a41c842ce2786864e55 | /src/Magnum/Primitives/Cube.h | 4f8e28e9a0524f0a8c44e62e04fcda2be4fe96d4 | [
"MIT"
] | permissive | 91yuan/magnum | c3fc8a0287bcd2a8d62ac5db5aec905b9e185468 | 929329b1f8363ac5e6f8688423c6c6854014865e | refs/heads/master | 2021-01-19T16:41:37.924578 | 2017-08-21T17:23:50 | 2017-08-21T20:17:31 | 101,019,156 | 1 | 0 | null | 2017-08-22T03:54:43 | 2017-08-22T03:54:43 | null | UTF-8 | C++ | false | false | 2,201 | h | #ifndef Magnum_Primitives_Cube_h
#define Magnum_Primitives_Cube_h
/*
This file is part of Magnum.
Copyright © 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017
Vladimír Vondruš <mosra@centrum.cz>
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software a... | [
"mosra@centrum.cz"
] | mosra@centrum.cz |
4f0266822bf62bdf968fe2ff6e2c4b79d5bd93d4 | b648a0ff402d23a6432643879b0b81ebe0bc9685 | /vendor/bond/cpp/inc/bond/core/detail/parser_extern.h | b5999f7764fc73c0a6632dd80a05d28f950a0d26 | [
"MIT",
"Apache-2.0"
] | permissive | jviotti/binary-json-size-benchmark | 4712faca2724d47d23efef241983ce875dc71cee | 165b577884ef366348bf48042fddf54aacfe647a | refs/heads/main | 2023-04-18T01:40:26.141995 | 2022-12-19T13:25:35 | 2022-12-19T13:25:35 | 337,583,132 | 21 | 1 | Apache-2.0 | 2022-12-17T21:53:56 | 2021-02-10T01:18:05 | C++ | UTF-8 | C++ | false | false | 1,456 | h | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
#pragma once
#include <bond/core/config.h>
#include "extern_macro.h"
namespace bond
{
#define BOND_DETAIL_StaticParser_ReadFields(Reader, Writer) \
bool StaticP... | [
"jv@jviotti.com"
] | jv@jviotti.com |
0b76f55266b1bb89687e07d89ff3ab7f9ec19a62 | ceb9d30bf671b0a9f10d171e78e6eb0dfd72c8f0 | /C--/Main.h | 0b2155e857ee0b81cfe820fbfe484834f8f776e8 | [] | no_license | hoget157/C2 | 356d6ca46fc7f77e6f2fc4d9f9c4c7a9887f26ee | 7f2f88076b312c16f8bd280dafde73a195ad0f17 | refs/heads/master | 2021-01-16T20:25:02.811025 | 2015-08-28T02:58:15 | 2015-08-28T02:58:15 | 41,408,542 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 76 | h | #pragma once
#include <string>
using namespace std;
string program(string); | [
"hogethirit157@gmail.com"
] | hogethirit157@gmail.com |
608ccbef8b49c8b7d76de9daec139903ca29d3ab | dd542fecaf99f512c9e07aea180d29a16a823e43 | /Tema_4_variables_tipos/holaMundoConst.cpp | 415e44187c72973039a4d5949107d41017eef6b6 | [] | no_license | jgpATs2w/uned-lenguajes-programacion | 00886c96fda11f2160124e862bcf623cad74a748 | 4bd6d4c6cec9f166474468cf3907c246e9a84f2e | refs/heads/master | 2021-01-26T07:55:55.778890 | 2020-07-21T11:13:04 | 2020-07-21T11:13:04 | 243,374,239 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 173 | cpp | // Fichero: holaMundoConst.cpp
#include <iostream>
#include <string>
int main()
{
const std::string frase = "Hola mundo!";
std::cout << frase << std::endl;
return 0;
}
| [
"javier.garcia@dematic.com"
] | javier.garcia@dematic.com |
312dfbfb28ef25e39cd3dd1f725bc5dc9318053c | 9bb16f8fbf9f562f1171a3bbff8318a47113823b | /abc094/arc095_a/main.cpp | 21f2ebf11413bb5ec544ed05685ddbcdaa9a73eb | [] | no_license | kyamashiro/atcoder | 83ab0a880e014c167b6e9fe9457e6972901353fc | 999a7852b70b0a022a4d64ba40d4048ee4cc0c9c | refs/heads/master | 2022-06-01T03:01:39.143632 | 2022-05-22T05:38:42 | 2022-05-22T05:38:42 | 464,391,209 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 819 | cpp | #include <bits/stdc++.h>
#define REP(i, n) for (int i = 0; (i) < (int)(n); ++ (i))
#define REP3(i, m, n) for (int i = (m); (i) < (int)(n); ++ (i))
#define REP_R(i, n) for (int i = (int)(n) - 1; (i) >= 0; -- (i))
#define REP3R(i, m, n) for (int i = (int)(n) - 1; (i) >= (int)(m); -- (i))
#define ALL(x) ::std::begin(x), :... | [
"kyamashiro73@gmail.com"
] | kyamashiro73@gmail.com |
36326f4bda2bd7e573eb99bb62576e06746e4863 | e2e562c4e58b713d5cae036910e4e5012f56c8bb | /Engine/Codes/Layer.cpp | 6b9a65fb19aad7bd9578d8e408ee5ccd59ff526b | [] | no_license | lostwaltz/JUSIN-SR-TEAM2 | 86ef279a91bf37d6909bbb628445ba4b0f13d7c8 | 3763ef5d406fbea71ebd251cc6ceb61ff425d79b | refs/heads/master | 2022-11-15T15:43:37.366422 | 2020-06-26T23:52:12 | 2020-06-26T23:52:12 | 275,267,187 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,560 | cpp | #include "..\Headers\Layer.h"
CLayer::CLayer()
{
}
CGameObject * CLayer::Get_ObjectPointer(_uint iIndex)
{
if (m_ObjectList.size() <= iIndex)
return nullptr;
auto iter = m_ObjectList.begin();
for (size_t i = 0; i < iIndex; ++i)
++iter;
return *iter;
}
CComponent * CLayer::Get_ComponentPointer(const _tcha... | [
"johndoe@example.com"
] | johndoe@example.com |
dea2a90bd6f5e56933ee61ec5f9da0f201dd4208 | d5b1f8713a56f5cec864edd324d0be64b5b25d2f | /lib/seqan-2.4.0/include/seqan/ucsc_io/ucsc_file.h | 930a894e395684553396eb21be1a7803e33b692b | [
"MIT"
] | permissive | guillaume-gricourt/HmnTrimmer | 5664cf42fb0f0eb4b454b59e456db6b5afec3d2c | 1c09e11eda12bb1ca1fd1d7ea8f08077be1bfe14 | refs/heads/main | 2023-04-17T20:25:46.737004 | 2023-04-17T07:44:02 | 2023-04-17T07:44:02 | 270,999,070 | 1 | 1 | MIT | 2023-09-11T01:38:48 | 2020-06-09T12:40:24 | HTML | UTF-8 | C++ | false | false | 6,839 | h | // ==========================================================================
// SeqAn - The Library for Sequence Analysis
// ==========================================================================
// Copyright (c) 2006-2018, Knut Reinert, FU Berlin
// All rights reserved.
//
// Redistribution and us... | [
"guipagui@gmail.com"
] | guipagui@gmail.com |
e5163fc0b1c89f91a24effcf7241aa4b49121451 | 9dd7633fd0625e5b5858a3d7a2fd9791d39bd137 | /IntroD3D9/Ch12Camera/TestCamera/TestCamera.h | b10d18313ae410cd90192ff7c42d891f5669b7a3 | [] | no_license | breaker/studies | 9f47846f8e8fbe7330a3fab5dd7d4ab711d44b60 | 015050ee892587ad0b5af4f2ac235134190fbe59 | refs/heads/master | 2022-12-04T16:31:04.104470 | 2022-11-24T10:23:27 | 2022-11-24T10:23:27 | 6,194,386 | 9 | 5 | null | null | null | null | GB18030 | C++ | false | false | 2,483 | h | // TestCamera.h
//
#ifndef __TESTCAMERA_H__
#define __TESTCAMERA_H__
// 资源 ID 符号常量
#include "res/Resource.h"
////////////////////////////////////////////////////////////////////////////////
// 全局量
////////////////////////////////////////////////////////////////////////////////
#undef MODULE_NAME
#defi... | [
"breakerzhao@qq.com"
] | breakerzhao@qq.com |
8b9f10584cf5e3f6ff13b142a4d561d3492898e9 | 9e92041d5b8e8323f1f30f9bc6e8721137dc3b3d | /Graphics/GraphicsEngineOpenGL/include/DeviceObjectArchiveGLImpl.hpp | f50d84c937ff05ce2c112a8d6c29801d71aea878 | [
"Apache-2.0",
"BSD-3-Clause",
"MIT",
"LicenseRef-scancode-nvidia-2002",
"LicenseRef-scancode-public-domain",
"BSD-2-Clause"
] | permissive | infosia/DiligentCore | 08e995a14565c7bcfeb69f4feabb1f972e4e7bcc | 3b9b5b3faa2b1cbcf4e2659d14734030df8a8dfc | refs/heads/master | 2023-09-02T20:25:12.382307 | 2021-11-23T03:47:47 | 2021-11-23T04:59:55 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,449 | hpp | /*
* Copyright 2019-2021 Diligent Graphics LLC
*
* 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 applica... | [
"61806567+TheMostDiligent@users.noreply.github.com"
] | 61806567+TheMostDiligent@users.noreply.github.com |
07f41b5b29cd72b73c4d92ddd62a2775ef3fb80c | 536656cd89e4fa3a92b5dcab28657d60d1d244bd | /third_party/blink/renderer/core/frame/reporting_observer.h | 23bb86d8b9f8be09a6d75274fef44344591945b4 | [
"LGPL-2.0-or-later",
"GPL-1.0-or-later",
"MIT",
"Apache-2.0",
"LicenseRef-scancode-warranty-disclaimer",
"LGPL-2.1-only",
"GPL-2.0-only",
"LGPL-2.0-only",
"BSD-2-Clause",
"LicenseRef-scancode-other-copyleft",
"BSD-3-Clause"
] | permissive | ECS-251-W2020/chromium | 79caebf50443f297557d9510620bf8d44a68399a | ac814e85cb870a6b569e184c7a60a70ff3cb19f9 | refs/heads/master | 2022-08-19T17:42:46.887573 | 2020-03-18T06:08:44 | 2020-03-18T06:08:44 | 248,141,336 | 7 | 8 | BSD-3-Clause | 2022-07-06T20:32:48 | 2020-03-18T04:52:18 | null | UTF-8 | C++ | false | false | 2,601 | h | // Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef THIRD_PARTY_BLINK_RENDERER_CORE_FRAME_REPORTING_OBSERVER_H_
#define THIRD_PARTY_BLINK_RENDERER_CORE_FRAME_REPORTING_OBSERVER_H_
#include "third_p... | [
"pcding@ucdavis.edu"
] | pcding@ucdavis.edu |
534376df5e26ccc2a281b2eaf5034412cb723a1d | 29c804bd89c0865e8f8b1f1a54be35131655171a | /src/FBXAnimationProject.cpp | 61e0fb9a58ba6dcf088f78f09be0944de4ec1b31 | [
"MIT"
] | permissive | IcedLeon/Introduction-to-3D-with-OpenGL | 2aa2d6e41a9b3ca3ee95de65cda88db6ffd7c787 | 7e0edcb768d2e2b4b19cb5015a73335c60cd8f60 | refs/heads/master | 2020-04-06T04:30:14.772510 | 2017-05-25T13:56:24 | 2017-05-25T13:56:24 | 30,327,236 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,621 | cpp | #include "FBXAnimationProject.h"
#include <GLFW\glfw3.h>
#include "Camera.h"
#include "Gizmos.h"
FBXAnimationP::FBXAnimationP() : m_oFile(nullptr),
m_fTimer(NULL),
m_fAugmenter(NULL)
{
}
FBXAnimationP::~FBXAnimationP()
{
}
void FBXAnimationP::InitWindow(vec3 a_vCamPos, vec3 a_vScreenSize, const ... | [
"tommaso.galatolo@gmail.com"
] | tommaso.galatolo@gmail.com |
d967422999b1ea93bb4f7204527a667870a7c63b | 146698dcc3a2cbc9bdbf855add3fd7d6a1934c50 | /SampleCodes/Function/Lab8.cc | c103ad855877fb3c0b49280b179dadcb9d83c9ca | [] | no_license | geunkim/CPPLectures | 1e0d80a6f7348d5abae6ea4fe7b0b0be3de3afee | a402e912777c2d280a2103fa968e6c91dab63435 | refs/heads/master | 2023-07-20T14:57:25.165971 | 2023-07-17T01:28:40 | 2023-07-17T01:28:40 | 210,631,519 | 32 | 104 | null | 2023-03-21T23:52:22 | 2019-09-24T15:05:32 | C++ | UTF-8 | C++ | false | false | 242 | cc | /*
File: Lab8.cc
Author: Geun-Hyung Kim
*/
#include <iostream>
using namespace std;
void increase(int x){
x++;
}
int main(int argc, char const *argv[])
{
int x = 10;
increase(x);
cout << "출력: " << x << endl;
return 0;
}
| [
"geunkim@deu.ac.kr"
] | geunkim@deu.ac.kr |
059cccc5ad2e7f53bf0a7eb176350a4e3e8cefa9 | f051d9a41613334e4ba6a5747028fef3a11ac70d | /src/hsp3dish/win32gp/gpcam.h | 9980a712e706878163a03ff498788a4badd1b0c0 | [
"BSD-3-Clause"
] | permissive | onitama/OpenHSP | d93b50b230234c4792a5199539403ab91f91740a | ba6b92a40c4bc6716208ad4961f11bbd1c7fbd04 | refs/heads/master | 2023-09-04T09:55:03.935733 | 2023-08-21T06:52:49 | 2023-08-21T06:52:49 | 107,995,606 | 159 | 26 | BSD-3-Clause | 2022-06-18T02:42:50 | 2017-10-23T14:42:26 | C | UTF-8 | C++ | false | false | 95 | h | #ifndef gpcam_H_
#define gpcam_H_
#include "gameplay.h"
using namespace gameplay;
#endif
| [
"onitama@onionsoft.net"
] | onitama@onionsoft.net |
264367e4e374a5145b81cc58f43bd37a04f6fd7f | d76cbc4b063bff16708b627f5c829dda167cad44 | /MyODBII/CSensorDataVectorMap.cpp | d2283b57430c0e9a666ad05a546e333c684d41ed | [] | no_license | hongdeyongying/limit | a642853547d73c08e27d50a50a15afcb325a5728 | 209a345a9876e4df92a8078777bca71aab2dda4d | refs/heads/master | 2021-01-23T01:40:24.729661 | 2017-03-23T08:53:41 | 2017-03-23T08:53:41 | 85,923,218 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 298 | cpp |
#include "CSensorDataVectorMap.h"
CSensorDataVectorMap g_objCSensorDataVectorMap;
// 即时传感器数据
CECUSensorDataVectorMap g_objCECUSensorDataVectorMap;
// 车辆信息
CECUCarInfoMap g_objCECUCarInfoMap;
// 冻结帧数据
CECUSensorDataVectorMap g_objCECUSensorDataVectorMap_freeze;
| [
"gaoyong@wucar.com.cn"
] | gaoyong@wucar.com.cn |
e6f470ff452c5805b43fb71e59538e8e3f4a20b6 | 44aafe01ac5cec557ca7cb3295b11eea51db3265 | /AISonification/JuceLibraryCode/modules/juce_gui_basics/windows/juce_DialogWindow.h | e0284fa852e4b186c7c4b83105f3f275692277ce | [
"MIT"
] | permissive | jayb2/AISonification | c99581123b7f96336366430dace4dca8dee48215 | 07e010ca3946341b3922329db1269a86098769a4 | refs/heads/master | 2021-03-18T04:56:17.789547 | 2020-05-26T20:06:15 | 2020-05-26T20:06:15 | 247,047,490 | 1 | 1 | MIT | 2020-05-19T20:35:43 | 2020-03-13T10:40:36 | C++ | UTF-8 | C++ | false | false | 13,026 | h | /*
==============================================================================
This file is part of the JUCE library.
Copyright (c) 2017 - ROLI Ltd.
JUCE is an open source library subject to commercial or open-source
licensing.
By using JUCE, you agree to the terms of both the JUCE 5 End-User Lic... | [
"up811534@myport.ac.uk"
] | up811534@myport.ac.uk |
4098e838a59faef0cd56776b2683432a29c320d9 | a50a758ca44ee43d4f70cb060fe0db6d1177d9f9 | /src/debug/debug-evaluate.cc | 899f196189c79a76025484c120ebafd49f050bef | [
"BSD-3-Clause",
"bzip2-1.0.6",
"SunPro"
] | permissive | yujunrong/v8 | 023234fdcd81269e5b3ce9528f6aa3f863dd5d06 | 7e11781bddb07712dc4d8ba03eb7dd41c031cef9 | refs/heads/master | 2021-01-20T09:49:59.592038 | 2017-08-28T03:20:22 | 2017-08-28T03:51:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 28,536 | cc | // Copyright 2015 the V8 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.
#include "src/debug/debug-evaluate.h"
#include "src/accessors.h"
#include "src/compiler.h"
#include "src/contexts.h"
#include "src/debug/debug-frames.h... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
c1a725c3dbf4fc8a5a98860de914831ae62a4990 | d0f33698d69e04349debd131cbd958eecb8ca028 | /ListeNom.h | a77d0f8919338b33168ba15582c803057abc8c09 | [] | no_license | RedDTG/Monopoly-Auberge | f8e8b87ce371800f8ab24b85205440f1458eafb0 | 50b892ee47b353689ba95d1b03d906f783a91841 | refs/heads/master | 2022-04-26T07:09:30.420095 | 2020-04-09T09:12:32 | 2020-04-09T09:12:32 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 238 | h | #pragma once
#include <vector>
#include <iostream>
#include <string>
using namespace std;
class ListeNom
{
private:
vector<string> liste;
public:
ListeNom();
vector<string> getListe();
void delNom(int i);
string getNom(int i);
};
| [
"a.deyris85@gmail.com"
] | a.deyris85@gmail.com |
e2193980aefbfcc86a4a561bea1617b585928de0 | a7c731d580461b55bdfdb7bbb5f2e5a06ac4a777 | /penguinPals/Classes/Native/Bulk_System_0.cpp | 5fc0ae70f7eecd75af29a880e33080a0b9d47177 | [] | no_license | hamedrabah/Penguin-Pals | 246cb67754f3cd70631afbda4a13f7e0bc06502c | a6b578583fd1dca8f078153c2f7a319eb6c0ccf7 | refs/heads/master | 2020-04-16T06:00:20.832663 | 2019-02-11T20:35:20 | 2019-02-11T20:35:20 | 165,329,816 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,798,275 | cpp | #include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <cstring>
#include <string.h>
#include <stdio.h>
#include <cmath>
#include <limits>
#include <assert.h>
#include <stdint.h>
#include "il2cpp-class-internals.h"
#include "codegen/il2cpp-codegen.h"
#include "i... | [
"Hamed@hameds-mbp.lan"
] | Hamed@hameds-mbp.lan |
9c0177690db742f76c2aee04ab091be2b7c220d2 | 260e5dec446d12a7dd3f32e331c1fde8157e5cea | /Indi/SDK/Indi_ConversationLighting_EV_functions.cpp | 4bc1473e8f2981aa99a409f3c9be42c17a011004 | [] | no_license | jfmherokiller/TheOuterWorldsSdkDump | 6e140fde4fcd1cade94ce0d7ea69f8a3f769e1c0 | 18a8c6b1f5d87bb1ad4334be4a9f22c52897f640 | refs/heads/main | 2023-08-30T09:27:17.723265 | 2021-09-17T00:24:52 | 2021-09-17T00:24:52 | 407,437,218 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,000 | cpp | // TheOuterWorlds SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "Indi_ConversationLighting_EV_parameters.hpp"
namespace SDK
{
//---------------------------------------------------------------------------
//Functions
//---------------------------------------------------------------------------
// Func... | [
"peterpan0413@live.com"
] | peterpan0413@live.com |
b80436a3ce1ad7b92a87e776f76683cdc87e8cd8 | 090243cf699213f32f870baf2902eb4211f825d6 | /cf/631/E.cpp | eb582c2d86294c2b904441e489ef575b3c5446d1 | [] | no_license | zhu-he/ACM-Source | 0d4d0ac0668b569846b12297e7ed4abbb1c16571 | 02e3322e50336063d0d2dad37b2761ecb3d4e380 | refs/heads/master | 2021-06-07T18:27:19.702607 | 2016-07-10T09:20:48 | 2016-07-10T09:20:48 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 110 | cpp | #include <cstdio>
double
int main()
{
int n;
scanf("%d", &n);
for (int i = 0; i < n; ++i)
return 0;
}
| [
"hezhu1688@gmail.com"
] | hezhu1688@gmail.com |
b1266fdeb801f474c6b90dd4a3e7cdc39d5b285e | 4953a950f530f9a765b835e76909bc38c6e70efe | /Macam-macam algoritma/inverse matrix 4x4.cpp | 84ce76b2a4857c0c78b283d91a23a21cee9770f2 | [] | no_license | galacticor/cpp | 54a208a9c4379075eeb1838b25cd04321b73a9b1 | 03c2dcdc04ff32fa512fc7865e72b41143b35702 | refs/heads/main | 2023-08-27T21:37:35.648341 | 2021-10-22T14:56:36 | 2021-10-22T14:56:36 | 400,924,261 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,325 | cpp | #include <bits/stdc++.h>
using namespace std;
double m[16],invOut[16];
int x,y;
bool gluInvertMatrix(const double m[16], double invOut[16])
{
double inv[16], det;
int i;
inv[0] = m[5] * m[10] * m[15] -
m[5] * m[11] * m[14] -
m[9] * m[6] * m[15] +
... | [
"widyantohadi@gmail.com"
] | widyantohadi@gmail.com |
61010d160ea0f26ba70701a2710ba76f2a48db06 | 44ab57520bb1a9b48045cb1ee9baee8816b44a5b | /EngineTesting/Code/CoreTools/CoreToolsTesting/BaseSuite/Detail/StaticSingletonSubclass.h | c52ceb2a7d344a3505fa7b4c1f1a8c5b1e8a0197 | [
"BSD-3-Clause"
] | permissive | WuyangPeng/Engine | d5d81fd4ec18795679ce99552ab9809f3b205409 | 738fde5660449e87ccd4f4878f7bf2a443ae9f1f | refs/heads/master | 2023-08-17T17:01:41.765963 | 2023-08-16T07:27:05 | 2023-08-16T07:27:05 | 246,266,843 | 10 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,020 | h | /// Copyright (c) 2010-2023
/// Threading Core Render Engine
///
/// 作者:彭武阳,彭晔恩,彭晔泽
/// 联系作者:94458936@qq.com
///
/// 标准:std:c++20
/// 引擎测试版本:0.9.0.6 (2023/04/10 18:16)
#ifndef CORE_TOOLS_BASE_SUITE_STATIC_SINGLETON_SUBCLASS_TESTING_H
#define CORE_TOOLS_BASE_SUITE_STATIC_SINGLETON_SUBCLASS_TESTING_H
#include "CoreTool... | [
"94458936@qq.com"
] | 94458936@qq.com |
a773d02ce4875ddcad93ce09ab09ee7575edf893 | 47609d52e8a740fc3d8e27623b72fcd61886cf75 | /code/linux/day01/environ/get_env.cc | 1c310d77b5c2bba0479a10f534852c723963bc7c | [] | no_license | blalalt/cpp_language | 3cf68e84d14ab53d7161085c1f056c9b4095dedf | 8ec2bf98fa10d8b2b6125eda22c3aa2fc0199d7b | refs/heads/master | 2020-08-08T01:20:04.737657 | 2020-02-12T07:37:17 | 2020-02-12T07:37:17 | 213,656,311 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 560 | cc | #include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <string>
using namespace std;
extern char** environ;
string get_env(string key)
{
int key_len = key.size();
int i;
for (i=0; environ[i]; i++) {
string _key = string(environ[i]);
if (!key.compare(0, key_len, _key, 0, key_len))
{
... | [
"blalalt@163.com"
] | blalalt@163.com |
0a78d3abbe8c42281917b5b615f6770d1c74d29d | 9ebfdb48b9a599d4c344e1662a7bb0c6fa680b09 | /TLibCommon/TComDataCU.cpp | 55e3641f8e1e97fc5a2df7fbadad4535df3000c3 | [] | no_license | XimingCheng/HEVCAnalyzer | 956a2242ba98d5489c7aa1b3869d3b18aa37e8ee | b23c9a5b46cc72c3095f19a2d1a0ce85098b17e8 | refs/heads/develop | 2020-12-24T16:32:50.614655 | 2016-05-15T16:19:50 | 2016-05-15T16:19:50 | 10,314,680 | 96 | 40 | null | 2016-05-15T16:19:52 | 2013-05-27T12:48:39 | C++ | UTF-8 | C++ | false | false | 156,936 | cpp | /* The copyright in this software is being made available under the BSD
* License, included below. This software may be subject to other third party
* and contributor rights, including patent rights, and no such rights are
* granted under this license.
*
* Copyright (c) 2010-2013, ITU/ISO/IEC
* All rights reserve... | [
"chengximing1989@gmail.com"
] | chengximing1989@gmail.com |
db29c8a00de30ef18611a34ec62ca55ca0fc4928 | a88a3667ef4bd92a17d137c66004eab34d37fcc2 | /successfulVersion/Motor.cpp | e7bcd2671fb933353e5cdf1a82493d0d4be06ffc | [] | no_license | zliaky/Swarm | a68f0149136a42e4b8377f8e7a1eee09bdecfa9a | a4fb99e7f1e60b5a21c611eab8050bcac28b5431 | refs/heads/master | 2020-04-29T16:00:27.044812 | 2019-05-14T08:36:04 | 2019-05-14T08:36:04 | 176,245,107 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,808 | cpp | #include "Motor.h"
void Motor::motorSetup(void) {
pinMode(SWITCH1_1, OUTPUT);
pinMode(SWITCH1_2, OUTPUT);
pinMode(SWITCH2_1, OUTPUT);
pinMode(SWITCH2_2, OUTPUT);
pinMode(SWITCH3_1, OUTPUT);
pinMode(SWITCH3_2, OUTPUT);
pinMode(PWM1, OUTPUT);
pinMode(PWM2, OUTPUT);
pinMode(PWM3, OUTPUT);
}
/*
* 将机器人的... | [
"xueai9984@126.com"
] | xueai9984@126.com |
e64ef9ecfecc2122ac00990af8b23119f852f5ef | a75bfdb61d2bfa20f71d2a1548188db18a8e5e6d | /leetcode/palindromeLinkedList.cpp | 2cf74891f9de2af23ea4fb5d5dab182c6c1e5b28 | [] | no_license | Ra1nWarden/Online-Judges | 79bbe269fd35bfb1b4a5b3ea68b806fb39b49e15 | 6d8516bb1560f3620bdc2fc429863a1551d60e6a | refs/heads/master | 2022-05-01T17:50:00.253901 | 2022-04-18T06:55:25 | 2022-04-18T06:55:25 | 18,355,773 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,075 | cpp | /**
* Definition for singly-linked list.
* struct ListNode {
* int val;
* ListNode *next;
* ListNode(int x) : val(x), next(NULL) {}
* };
*/
class Solution {
public:
bool isPalindrome(ListNode* head) {
if(head == NULL)
return true;
ListNode* slow = head;
ListNod... | [
"wzh19921016@gmail.com"
] | wzh19921016@gmail.com |
2801a65258b202f2f1a6456a66a78b26c846d6d5 | 3b88921a57d39aed1740509c33841e720acb8c0d | /StockAccount_ErenErdogan.cpp | 65174cef8118e451fee1f50e3b2e8d0d59909776 | [] | no_license | erenerdo/stock-project | b773e90b8c343ba879f6e7b4d2a0ecec272bca35 | 0369c819003efa5ddc0fb497b5b43a28351913f3 | refs/heads/master | 2021-08-14T06:32:59.133454 | 2017-11-14T21:27:16 | 2017-11-14T21:27:16 | 110,746,789 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,472 | cpp | #include "StockAccount_ErenErdogan.h"
Stock::Stock()
{
}
Stock::~Stock()
{
}
void Stock::insert_stock_node( Node & stock, LinkedList & portfolio, string symbol, double price, int quant)
{
stock.clear();
stock.setSymbol(symbol);
stock.setPrice(price);
stock.setQuant(quant);
stock.setTota... | [
"ererdogan20@gmail.com"
] | ererdogan20@gmail.com |
b427e63036ab0d0fcf0635c01f3813b4948c1c62 | 54745d6fa529d0adcd19a41e115bbccfb804b575 | /PokerPlayerMFC/stdafx.cpp | ca8aa76be112a28ca195b1c567e0546e73d2cccc | [] | no_license | jackylee1/regretitron | e7a5f1a8794f0150b57f3ca679438d0f38984bca | bb241e6dea4d345e48d633da48ed2cfd410a5fdf | refs/heads/master | 2020-03-26T17:53:07.040365 | 2011-11-14T03:38:53 | 2011-11-14T03:38:53 | 145,185,451 | 0 | 1 | null | 2018-08-18T03:04:05 | 2018-08-18T03:04:04 | null | UTF-8 | C++ | false | false | 301 | cpp | // stdafx.cpp : source file that includes just the standard includes
// PokerPlayerMFC.pch will be the pre-compiled header
// stdafx.obj will contain the pre-compiled type information
#include "stdafx.h"
// TODO: reference any additional headers you need in STDAFX.H
// and not in this file
| [
"scottopoly@gmail.com"
] | scottopoly@gmail.com |
d5fe354a9875ed58adcd9c466148f4af5529a0c7 | c4034774912aa98ab61eeccf037fb610747324cd | /include/estd/view/view.hpp | 1515fb7d8ad015e9a2a22c87e80ead1d64219d77 | [
"BSD-3-Clause"
] | permissive | fizyr/estd | f8cd33a023659c8c937f1837cb3f4305e593b56a | 7d3c3c74046541523eb6ca6e5b72bcc73163c263 | refs/heads/main | 2023-08-13T12:19:10.271340 | 2022-05-31T12:32:54 | 2022-05-31T12:32:54 | 129,302,340 | 12 | 4 | BSD-3-Clause | 2022-02-01T10:00:07 | 2018-04-12T19:37:25 | C++ | UTF-8 | C++ | false | false | 7,106 | hpp | /* Copyright 2018-2019 Fizyr B.V. - https://fizyr.com
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice,
* this list of conditions and ... | [
"maarten@de-vri.es"
] | maarten@de-vri.es |
380493400b0a2cafce33a8455cff2a5609dd04f1 | 29b9431d14be5a3689a47c942b7dbb1f36a6ad4a | /illusion_4/xcode/Midi.cpp | 5626b4df3dab4cbf5957fb7b2c52752e95c0d1b5 | [] | no_license | m1keall1son/Interactive-GPU-ParticleSystem | 558d5aab252ce885b66421005bb1e7f502870986 | a4b90f2e705b1e5190e10b674033e819b24722aa | refs/heads/master | 2021-01-01T18:07:32.013139 | 2013-07-30T15:36:12 | 2013-07-30T15:36:12 | 11,726,431 | 5 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 428 | cpp | #include "Midi.h"
void MidiBirth::setup(float far, float close)
{
initiateVariables();
initiateBirthNotes();
mFar=far;
mClose=close;
mParams.setOptions( "", "position='20 500'");
}
void MidiBirth::update(int avgDepth,bool showGUI)
{
mInput=avgDepth;
//playBirthNotes();
checkMidiPort();... | [
"philosopher.osopher@gmail.com"
] | philosopher.osopher@gmail.com |
bf715b050b8e6e533a28d7a9979c9eee29f225f8 | d8cbcbdc811e5a65bf6f9d6f1fcf8efaecd4d82b | /2.Ballot/MVOSTM/default-main.cpp | be013921c9ae2602cda9637c82e93f1eb09afa1e | [
"Apache-2.0",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | Parwatsingh/OptSmart | ccae0b5cdec3d5faa8144ba20a37412f62b6c1d7 | 0564abdd04e7bc37a3586982a1d7ca5a97be88d5 | refs/heads/master | 2022-12-28T22:21:55.912953 | 2020-10-08T11:48:24 | 2020-10-08T11:48:24 | 250,062,664 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 32,712 | cpp | #include <iostream>
#include <thread>
#include "Util/Timer.cpp"
#include "Contract/Ballot.cpp"
#include "Graph/Lockfree/Graph.cpp"
#include "Util/FILEOPR.cpp"
#define maxThreads 128
#define maxPObj 1000
#define maxVObj 40000
#define funInContract 5
#define pl "===================================================\n"
#de... | [
"cs17rescch11004@iith.ac.in"
] | cs17rescch11004@iith.ac.in |
d2e9522a57d3f341056384e9ea53e63caef67e9a | 9dbbf3e7ea55084330511bd9c046bb1af9c646c4 | /1.cpp | 90b0fe7868118ce3d22d748a920ee84b434b568b | [] | no_license | nauriz/alg | 7eb7e131daa2771bc4b56f1f3eec4406cd872387 | 2d4cdd8e90d69b70b84493820f3c269492cded21 | refs/heads/master | 2021-01-13T02:32:32.468214 | 2013-06-04T20:42:39 | 2013-06-04T20:42:39 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,116 | cpp | #include <iostream>
#define word unsigned int
using namespace std;
int flag[11]; /// array of flags
word c[11][11];
word l[11];
int min(int n)
{
int i, result;
for(i=0;i<n;i++)
{
if(!(flag[i]))
result=i;
}
for(i=0;i<n;i++)
{
if((l[result]>l[i])&&(!flag[i]))
result=i;
}
return result;
}
... | [
"naur-newyear@mail.ru"
] | naur-newyear@mail.ru |
f43cc26575b3651ea9d68f184002b4611c9282a8 | e5555a3bc66e4777c13f103a03a84978f5d711b6 | /source/game.h | be41fdc62baa5be2a6c1caba879464d0fc30a8ac | [] | no_license | Deamu5/Among-Us | 238597ea576d72493e3e39e4eb59bb007657f5a3 | e7ce39e8f83416fd4309a310200c30760f22f7d5 | refs/heads/master | 2023-07-14T11:47:28.027139 | 2021-08-26T13:42:57 | 2021-08-26T13:42:57 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,458 | h | /*******************************************************************
** This code is part of Breakout.
**
** Breakout is free software: you can redistribute it and/or modify
** it under the terms of the CC BY 4.0 license as published by
** Creative Commons, either version 4 of the License, or (at your
** option) any la... | [
"ziabashir5@gmail.com"
] | ziabashir5@gmail.com |
e9218737aa2af20c0b23b64b20ec9fba0955ec09 | 2948d588a037a61a21f38ff83d5205455bb8b744 | /RAVBA-M/src/gtk/window.h | 776524996eb47ce0b489333479665e8a6f9f8587 | [] | no_license | RetroAchievements/RAEmus | 6758da04aa52c282668b356b9a96ae9334f82eae | ea0a63276f3a5e53efcd3f122704f0385db35623 | refs/heads/master | 2021-06-04T19:10:09.221058 | 2020-05-03T21:43:01 | 2020-05-03T21:43:01 | 129,188,521 | 65 | 11 | null | 2020-01-30T22:22:32 | 2018-04-12T03:38:34 | C++ | UTF-8 | C++ | false | false | 7,469 | h | // -*- C++ -*-
// VisualBoyAdvance - Nintendo Gameboy/GameboyAdvance (TM) emulator.
// Copyright (C) 1999-2003 Forgotten
// Copyright (C) 2004 Forgotten and the VBA development team
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as publis... | [
"Scott@immensegames.com"
] | Scott@immensegames.com |
78e65ba60cee7e048943fea92bf0482a37729c26 | fc1be2eddc48116f9754cef10bc92512a160f720 | /C++/SpiralMat2.cc | 3712d431c3957dc2ed04678863f4fcf960940a40 | [] | no_license | eaglesky/leetcode | 6d7116a5c5df0c6aaf6441f9d7492f0bf8a0884e | bc9768624e3857c9776ef360b186d754333bbc03 | refs/heads/master | 2020-05-30T20:19:31.232212 | 2017-11-01T08:21:26 | 2017-11-01T08:21:26 | 22,568,355 | 2 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,363 | cc | #include <iostream>
#include <vector>
using namespace std;
//More simple solution is on the book(note that it is square matrix)
vector<vector<int> > generateMatrix(int n) {
vector<vector<int> > result(n, vector<int>(n, 0));
if (n == 0)
return result;
int i = 0;
int j = 0;
int num = 1;
... | [
"allenchin1990@gmail.com"
] | allenchin1990@gmail.com |
a769c71a1dbdd711340857e55315caa92267c28a | a7caaf953a0849f6081e44382da74a600a86b3da | /opencv-2.4.9/modules/highgui/src/cap_ffmpeg.cpp | 192c0da694f963bd6cef1f3f11280797a68883a4 | [
"Apache-2.0",
"BSD-3-Clause"
] | permissive | watinha/collector | 22d22116fc1dbdfeec3bddb05aa42d05efe5b5b4 | fc4758f87aad99084ce4235de3e929d80c56a072 | refs/heads/master | 2021-12-28T11:12:50.548082 | 2021-08-19T20:05:20 | 2021-08-19T20:05:20 | 136,666,875 | 2 | 1 | Apache-2.0 | 2021-04-26T16:55:02 | 2018-06-08T21:17:16 | C++ | UTF-8 | C++ | false | false | 10,278 | cpp | /*M///////////////////////////////////////////////////////////////////////////////////////
//
// IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING.
//
// By downloading, copying, installing or using the software you agree to this license.
// If you do not agree to this license, do not download, instal... | [
"watinha@gmail.com"
] | watinha@gmail.com |
1908f75b1b43bbd91b0867d02b33443f47ca6f6a | 236219800f83a09d90b3a768870ae0e227cdaa95 | /apps/mivisionx_winml_yolov2/source/AnnieYoloDetect.h | 0f32962de267fc6c9d5f52ec287646bb8e23b5d2 | [
"MIT"
] | permissive | shobana-mcw/MIVisionX | 40ebcd5fd078677ccff388d613088b97a2b0c82e | f27100845954a74746a03e674fa29add9d454aaa | refs/heads/master | 2023-07-25T10:52:59.252882 | 2022-03-02T10:34:55 | 2022-03-02T10:34:55 | 275,117,269 | 0 | 3 | MIT | 2023-06-02T08:15:37 | 2020-06-26T09:16:59 | C++ | UTF-8 | C++ | false | false | 627 | h | #pragma once
#include "Region.h"
#include "Visualize.h"
#include "vx_ext_winml.h"
#include "vx_ext_opencv.h"
#include "vx_ext_amd.h"
class AnnieYoloDetect {
public:
//constructor
AnnieYoloDetect(std::string mInput, std::string modelLoc, int confidence, int mode);
//destructor
~AnnieYoloDetect();
//run inferen... | [
"kiritigowda@gmail.com"
] | kiritigowda@gmail.com |
8c3e2ad2ebe785b603dfd747d0146490dd7f58db | d087f90c6e64cb74c9f61a1dbc807662896e7ce9 | /Domains/Algorithms/Attending Workshops/Attending Workshops.cpp | f1cc5b05dc363f3362ad8bf28b95efaa101227f2 | [] | no_license | youfeng243/hackerrank | e7c26e56f30731ee27ac17b19712362c53a3bb94 | 913ec6db9a861c9f97726dde24488c10db63d23c | refs/heads/master | 2021-01-10T01:08:38.413900 | 2016-02-29T14:24:25 | 2016-02-29T14:24:25 | 49,575,420 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,803 | cpp | #include <cmath>
#include <cstdio>
#include <vector>
#include <iostream>
#include <algorithm>
using namespace std;
bool cmp( const pair<int, int> a, const pair<int, int> b)
{
if( a.second == b.second )
{
return a.first < b.first;
}
return a.second < b.second;
}
class Available_Workshops
{... | [
"youfeng243@163.com"
] | youfeng243@163.com |
a736536b369f23beb9a9f781d0dcfe21f30abe9a | 6111df08fc84e7bcc1550e5956131d76dfe1d1be | /Laboratorio3/graph/MyInt.h | 2ef08b187ace5ea2acea3a938b5cf9aead8d2e1e | [] | no_license | CursosIE/IE-0217-III-16-G0 | 0218d8f9a15ca7b19b2bf6f87a01dd7e7e8f09b9 | 665c42b39acb02663875a7fd14bbab66e36ab2cf | refs/heads/master | 2021-01-01T20:36:13.432451 | 2017-03-06T23:58:16 | 2017-03-06T23:58:16 | 78,567,630 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 139 | h | #ifndef MYINT_H
#define MYINT_H
#include <iostream>
class MyInt {
public:
int i;
MyInt(int i){this->i= i;};
};
#endif /* MYINT_H */
| [
"daniel08leon@gmail.com"
] | daniel08leon@gmail.com |
e53abd1bc1786e75315078188f1a56e7f57e090c | b43db4d6e768b5af2f46aca943ecfa4e79d8f214 | /Rover/robotsensors.h | 640a8f714124b2a24a2f0a740bc54136b82ec9b2 | [] | no_license | S3FL-REST/RoverApplication_OLD | 4c45d277ea60c40c3baccc28cd5e612cc9fcb569 | 92d3041f1af0375f5f2559a18865d7ef4d185b63 | refs/heads/master | 2020-05-19T22:07:48.820299 | 2015-03-19T03:57:29 | 2015-03-19T03:57:29 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,030 | h | #ifndef ROBOTSENSORS_H
#define ROBOTSENSORS_H
#include <QString>
#include <QChar>
#include <QObject>
#include <QDebug>
#include "serialworker.h"
using namespace std;
//IR Front Right = 0
//IR Front Left = 1
//IR Back Right = 2
//IR Back Left = 3
enum IR_SENSORS {
IR_FRONT_RIGHT = 0,
IR_FRONT_LEFT = 1,
... | [
"cessna.ian@gmail.com"
] | cessna.ian@gmail.com |
96d9154971ab22f76eab25bc74c0c1c80ad714b7 | de3b4c7b949a09843b879bff4454ca4f07a83ed4 | /examples/Receive/Get_Parameter/GetDroneTemp/GetDroneTemp.ino | bc26ec38c8dc7213858badc9f8374bd45cfabc30 | [] | no_license | truedo/Codrone | 0d56131066c1f7d83d6ab2220f9bd823f9e07122 | f5230bd8a18e4598682cb8e14f51e0266740a28f | refs/heads/master | 2021-01-15T09:08:41.009794 | 2019-02-14T01:46:20 | 2019-02-14T01:46:20 | 52,402,521 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,224 | ino | /*****************************************************************
getDroneTemp - 드론 온도 표시
드론의 현재 온도를 표시합니다.
드론을 켠 상태에서 PC와 보드를 USB로 연결합니다.
아두이노 창의 시리얼 모니터를 열고 통신 속도를 115200bps로 설정합니다.
*******************************************************************/
#include <CoDrone.h> // 코드론을 사용하기 위한 헤더파일
void setup(... | [
"truedo@naver.com"
] | truedo@naver.com |
96600606a3446fd67f848a7479ad5f4d4dfc0584 | 2f4e381880b75a5a209f4677489c8310a9c58c55 | /Source/FirstProject/SpawnVolume.cpp | 90826e6e104f24f6104fc06d6e6654eed94ce86e | [] | no_license | BigMandu/FirstProject | bae789c9837e22edcfe5c8f05c1458c67fc25ade | 8ccc2c5461e974a767c34239d6ff7b97023a2269 | refs/heads/master | 2022-12-29T08:56:09.659513 | 2020-10-20T11:53:16 | 2020-10-20T11:53:16 | 305,693,153 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 3,536 | cpp | // Fill out your copyright notice in the Description page of Project Settings.
#include "SpawnVolume.h"
#include "Components/BoxComponent.h"
#include "Kismet/KismetMathLibrary.h"
#include "Engine/World.h"
#include "Critter.h"
#include "Enemy.h"
#include "AIController.h"
// Sets default values
ASpawnVolume::ASpawnVol... | [
"2only1@naver.com"
] | 2only1@naver.com |
849166dcc965817719778fe60e3d8e522b99e650 | d39102eebadef1b18e788f9407b44fa2b2eac15e | /src/wallet/rpcwallet.cpp | 49e9e9f91fb2ae3e33d87cd621f8606776227069 | [
"MIT"
] | permissive | lvilar/zenoncash | 2bd75dcefecca97954f6bdb8c001be4cc1efee35 | 529987d667017c21d1818a9e35229c5e86d9dade | refs/heads/master | 2020-12-19T01:27:30.441253 | 2020-01-16T20:21:19 | 2020-01-16T20:21:19 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 166,221 | cpp | // Copyright (c) 2010 Satoshi Nakamoto
// Copyright (c) 2009-2014 The Bitcoin developers
// Copyright (c) 2014-2015 The Dash developers
// Copyright (c) 2015-2019 The PIVX developers
// Copyright (c) 2018-2019 The Zenon developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or ht... | [
"z@zzz.zzz"
] | z@zzz.zzz |
70b9f97e7696da3f50b02064ba5f4c58b21e3f2a | 1020bae020a22de72cc2a85c64041fff145b8c08 | /include/Const.h | b0ea7610a304877f457ecd7d21f8aeee981ebe27 | [] | no_license | danisetg/model_checking_c | 113f33dee21671fcee5c9c07c0a1cd79a632523f | a84f2d976fd383f53a7e7bde716f037219b4f0f9 | refs/heads/main | 2023-08-16T23:53:13.029566 | 2021-09-26T17:49:39 | 2021-09-26T17:49:39 | 329,751,565 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 240 | h | #ifndef CONST_H
#define CONST_H
#include "Helper.h"
class Const
{
public:
string value;
Const();
Const(string _value);
void parse(deque<Token>& tokens);
string translate();
};
#endif // CONST_H
| [
"danisetg@gmail.com"
] | danisetg@gmail.com |
b54a0ee5542d738162acc64f357da397a901a60e | 63d48bd2e96affe8b000ed00b9f35e27e19c4c73 | /Project1/Shader.cpp | ab91f8ebbd5c274f4a1e824f657b2cbf292c7465 | [] | no_license | Qiu2019-t/opengl-test | 95faf8e581e5ca487b59a4606a5a90b74ecbd6c4 | c1a7ca597394ce0805925fd0da16c9eb077dbf9c | refs/heads/master | 2023-06-07T13:23:38.562635 | 2021-06-29T12:24:09 | 2021-06-29T12:24:09 | 381,330,509 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 2,635 | cpp | #include "Shader.h"
void Shader::initShader(const char*_vertexPath, const char * _fragPath) {
//读取两个Shader的代码
std::string _vertexCode("");
std::string _fragCode("");
//文件读取器
std::ifstream _vShaderFile;
std::ifstream _fShaderFile;
_vShaderFile.exceptions(std::ifstream::failbit | std::ifstream::badbit);/... | [
"1914010809@qq.com"
] | 1914010809@qq.com |
b3a471867ea1188416c6573e60de5ee1133af2c5 | 85819758954ed8e557862d05400529af9435438e | /zdrojove_kody/algo4_cz/INNE/spirala.cpp | 094c2e9da6728d087e409078e8dc3b5125111788 | [] | no_license | tukusejssirs/Wroblewski_Piotr_-_Algoritmy | 634bc23a2b19625e2ebd473e9e90c99fc624cfae | 7293417fc04eebf3ada9d77fd6c0b02835d24766 | refs/heads/master | 2021-01-10T02:30:16.637692 | 2019-05-05T10:26:52 | 2019-05-05T10:26:52 | 44,933,317 | 0 | 0 | null | null | null | null | WINDOWS-1250 | C++ | false | false | 560 | cpp | // UPOZORNĚNÍ: verze pouze pro systém DOS a kompilátory firmy Borland
#include <GRAPHICS.H>
#include <conio.h>
const double alpha=10;
void spirala(double lg,double x,double y)
{
if (lg>0)
{
lineto(x+lg,y);
lineto(x+lg,y+lg);
lineto(x+alpha,y+lg);
lineto(x+alpha,y+alpha);
spirala(lg-2... | [
"tukusejssirs@github.com"
] | tukusejssirs@github.com |
3cf096db995d115d3923ad18b6ad3242e77e917f | dccb136394c3c7f4a636f17f444ebaf95e24ab66 | /SW Expert Academy/D1/SW_1938.cpp | 02839d989ec6a8415836b8473d2dacf44c24b2fb | [] | no_license | Oh-kyung-tak/Algorithm | e2b88f6ae8e97130259dedfc30bb48591ae5b2fd | be63f972503170eb8ce06002a2eacd365ade7787 | refs/heads/master | 2020-04-25T22:37:41.799025 | 2020-01-19T08:55:42 | 2020-01-19T08:55:42 | 173,117,722 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 276 | cpp | #include <iostream>
#include <string>
#include <vector>
#include <algorithm>
#include <queue>
using namespace std;
int N;
int sum = 0;
int main()
{
int a, b;
cin >> a >> b;
cout << a + b << endl;
cout << a - b << endl;
cout << a * b << endl;
cout << a / b << endl;
} | [
"okt1995@naver.com"
] | okt1995@naver.com |
94309b384bee150d7e040aa94fc087143724741d | e8b57223db9c44d891aaec5f92185b82bf6dea55 | /binomisl_coefficient/소스.cpp | 80a9fc17825905ace0be1c4998b5e69861c4af7c | [] | no_license | gjs001/Algorithm | bc88ebde2f0eed74128aca8eac065c7d45b3043a | 3897cfbdf54589f6499c4af6badde545c02d6856 | refs/heads/master | 2022-04-01T19:07:56.510587 | 2020-02-08T17:51:11 | 2020-02-08T17:51:11 | 78,085,769 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 992 | cpp | #define _CRT_SECURE_NO_WARNINGS
#include <iostream>
using namespace std;
#define Mn 1000000007
int n, k;
//int aArr[1001][1001];
/*
int binomial(int n, int k) {
if (aArr[n][k]) return aArr[n][k];
if (k == 1) return aArr[n][k] = n;
if (n == k) return 1;
if (k == 0) return 1;
else {
aArr[n][k] = binomial(n - 1... | [
"GitHub gjs010@naver.com"
] | GitHub gjs010@naver.com |
fa47553d86432c0fe0c0cb064bf8fd71fe262a14 | fade00bcbaae05753ddbf7f2e7405358cf8a5e47 | /CPP/arrsum.cpp | 65125853bae954442963534df50ee5292e54c9ee | [] | no_license | sandesh31122000/Hacktoberfest-test-1 | 0de4920388d5bc9e4d7ed42c775e5223511f7127 | 31627c60f11ff39cce7bac4097b3fc825b56a3fd | refs/heads/main | 2023-08-13T00:25:21.565192 | 2021-10-11T17:39:14 | 2021-10-11T17:39:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 270 | cpp | #include <bits/stdc++.h>
using namespace std;
int sum(int *ptr,int n,int i)
{
if(i<=n-1)
{
return (*(ptr+i))+sum(ptr,n,i+1);
}
else
return 0;
}
int main()
{
int arr[]={1,2,3,4};
int n=4;
int *p=&arr[0];
int ans=sum(p,n,0);
cout<<ans<<endl;
return 0;
} | [
"proginvolme@gmail.com"
] | proginvolme@gmail.com |
2b5dead15e9e5cdfaa59d43f8f779aa84ad52266 | 7aab265faeb72dbd80b2c7d5604524ad7f8738f6 | /math_functions.h | a083cc5d2ad036fd6d1281a4fb4cf9680014adbc | [] | no_license | dowerwang/math_evaluator_cpp | ca532209ee68e215bbdbe02fc05ffe4627067ffd | 65f381dead31f697191fcb5b0e4a4723a981fe21 | refs/heads/master | 2023-03-17T08:02:34.671908 | 2014-01-17T19:27:49 | 2014-01-17T19:27:49 | null | 0 | 0 | null | null | null | null | ISO-8859-1 | C++ | false | false | 10,026 | h | #ifndef MATH_FUNCTIONS_H
#define MATH_FUNCTIONS_H
#define MATH_EPSILON 0.00000000000001
#include <limits>
#include <cmath>
#include <math.h>
#include "nan_or_infinity.h"
#include <cstdlib>
#include <ctime>
namespace MathFunctions {
/*
Variable estática que si está en true, las funciones devuelven un 1... | [
"leorocko13@hotmail.com"
] | leorocko13@hotmail.com |
4c178b81cc9d6a70c134c314c93bab993e12eabc | 82f332195a53cb987ad095ad450a56df17cc1d7b | /src/Throwing_ball/include/Throwing_ball/kalman_filter_matrices.h | 4dc3fa3190c0b61efa2e29d2b6bda088b81f7d48 | [] | no_license | TapanBhavsar/ThrowingBall | 357f695ef678dd89c5d9d860242a7069987ffbbb | f1f91a4f3d0215e59af47bbf112cd3031a22d0fd | refs/heads/master | 2020-05-18T20:38:38.337669 | 2019-06-02T20:59:46 | 2019-06-02T20:59:46 | 184,639,481 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 715 | h | #ifndef _KALMAN_FILTER_MATRICES_H_
#define _KALMAN_FILTER_MATRICES_H_
#include <ros/ros.h>
#include <eigen3/Eigen/Dense>
class KalmanFilterMatrices
{
public:
KalmanFilterMatrices(ros::NodeHandle nh);
~KalmanFilterMatrices();
void SetAllMatrices();
Eigen::MatrixXd GetSystemMatrix() const;
Eigen::... | [
"tapanbhavsar1601@gmail.com"
] | tapanbhavsar1601@gmail.com |
8d9a6fdf8e26cab6ac2cadd97c1bb862409e1ac5 | 207bf930dda60c2c100fb5bc92a141f85e70b96e | /SAGE1.1Src/Demo 02/SAGE/Source/Terrain/TerrainSubmesh.h | 851ab600673b488d7d56c998a6df4b2cd3c5d72c | [] | no_license | dumppool/nvvg | 9a8ffd72b4cab086215ec38f6494cd234b5f7796 | 1a4f8d3bd03daedea8e07ea498d54066827104b3 | refs/heads/master | 2020-09-14T17:03:22.426495 | 2011-05-03T20:13:10 | 2011-05-03T20:13:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,700 | h | /*
----o0o=================================================================o0o----
* Copyright (c) 2006, Ian Parberry
* All rights reserved.
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* * Redistributions of sou... | [
"c.a.russell@ou.edu"
] | c.a.russell@ou.edu |
eae748d5b5c9a3152ef216fc728e3062380da086 | 17d766a296cc6c72499bba01b82d58f7df747b64 | /keyBoard.cpp | 41250a74ab0b4e0f0f3ce1d7ad59a782cc5e6fba | [] | no_license | Kullsno2/C-Cpp-Programs | 1dd7a57cf7e4c70831c5b36566605dc35abdeb67 | 2b81ddc67f22ada291e85bfc377e59e6833e48fb | refs/heads/master | 2021-01-22T21:45:41.214882 | 2015-11-15T11:15:46 | 2015-11-15T11:15:46 | 85,473,174 | 0 | 1 | null | 2017-03-19T12:12:00 | 2017-03-19T12:11:59 | null | UTF-8 | C++ | false | false | 413 | cpp | #include<iostream>
using namespace std ;
int keyBoard[30];
int find( char c ,string a){
for(int i=0 ; i<a.length() ; i++)
if(a[i]==c)
return i;
}
int main(){
string key ="qwertyuiopasdfghjkl;zxcvbnm,./";
string s;
char c;
cin>>c;
cin>>s;
string ans ="";
int toggle = c=='L' ? 1 : -1;
for(int i=0 ... | [
"nanduvinodan2@gmail.com"
] | nanduvinodan2@gmail.com |
3af99d4016c37ca186ae3f3257226a3d74fca9fd | 48e15089b405d2922267de4d703a445096ec21b6 | /QT/OS/pageReplacement/page.h | fc060ebcefeeb0b08055dc704b60d17ec6155aa7 | [] | no_license | Eternal134/CoursesCode | ff8136d4d6116f79bc1c522d2070bb49ddbde3c1 | 9bb4f01c16614a28a7a9e70f411f8834aec51c3a | refs/heads/master | 2021-07-22T02:47:21.638019 | 2021-07-08T02:48:10 | 2021-07-08T02:48:10 | 192,199,777 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 651 | h | #ifndef PAGE_H
#define PAGE_H
#include <QObject>
#include <QList>
class Page : public QObject
{
Q_OBJECT
public:
explicit Page(QObject *parent = nullptr);
void init();
void optAlgorithm(int requestIndex);
int lenth() { return pageTableLen; }
int num() { return requestNum; }
QList<int> tabl... | [
"18756762798@163.com"
] | 18756762798@163.com |
7923554168876a6c75d23d4c64183150d8bb74f7 | 20ed2f99fa3c5b72959069059362d785572d68aa | /Vengeful/public_internal/sdk/interfaces/IMoveHelper.hpp | 49ea9c20934a0d8673ef035d825d0b3f57cc8fd9 | [] | no_license | Aethstetic/vengefulfixed | ed5560ce92a549efe85d0f4db168eaf2da2db51a | b085b277ed99b67d0743318564bf20942f9f6330 | refs/heads/master | 2020-03-31T14:11:08.354898 | 2018-10-09T16:24:18 | 2018-10-09T16:24:18 | 152,283,234 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,136 | hpp | #pragma once
class IClientEntity;
class IMoveHelper
{
public:
bool m_bFirstRunOfFunctions : 1;
bool m_bGameCodeMovedPlayer : 1;
int m_nPlayerHandle; // edict index on server, client entity handle on client=
int m_nImpulseCommand; // Impulse command issued.
QAngle m_vecViewAngles; // Command view angles (local ... | [
"momboom32@gmail.com"
] | momboom32@gmail.com |
ab5a93c1a92537e9ff49c09cce6eb9c10f185a8f | d8a603693c492874a9ca1e464cecd4e37054f963 | /Solver/Common.h | 40a0cb9bbeb80c76bea53af4ee3c84fbe0918a98 | [] | no_license | chenkoucer/NPBenchmark-PCenter | a1cd1f1dcff7258b92b47c0495d8e30aaf4972c7 | e936cc055a6c3a338477fbb2a550af71af6d785c | refs/heads/master | 2020-04-01T09:49:38.984548 | 2018-10-25T13:51:25 | 2018-10-25T13:51:25 | 153,091,248 | 0 | 0 | null | 2018-10-15T10:00:04 | 2018-10-15T10:00:03 | null | UTF-8 | C++ | false | false | 970 | h | ////////////////////////////////
/// usage : 1. common type aliases.
///
/// note : 1.
////////////////////////////////
#ifndef SMART_JQ_PCENTER_COMMON_H
#define SMART_JQ_PCENTER_COMMON_H
#include <vector>
#include <set>
#include <map>
#include <string>
namespace szx {
// zero-based consecutive integer identif... | [
"183598258@qq.com"
] | 183598258@qq.com |
6fa9541d98ebd1ac45377fe9df05fb842a7543ab | 05328a9e406a0d9deaf5428d6c3046a616cd9f76 | /GCG_Source.build/module.chardet.mbcharsetprober.cpp | 8971b75fd47f211a46b7561b4743854e29fc55e2 | [
"MIT"
] | permissive | Pckool/GCG | c707e7c927ec2aa0b03362a4841581751f3a006f | cee786d04ea30f3995e910bca82635f442b2a6a8 | refs/heads/master | 2021-09-01T11:38:57.269041 | 2017-12-25T07:57:39 | 2017-12-25T07:57:39 | 115,445,942 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 159,662 | cpp | /* Generated code for Python source for module 'chardet.mbcharsetprober'
* created by Nuitka version 0.5.28.2
*
* This code is in part copyright 2017 Kay Hayen.
*
* 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 ... | [
"phillclesco@yahoo.com"
] | phillclesco@yahoo.com |
723a58c9db3eb57a49d4e740f4b754713e2e471e | 2bfd8c9d984c94830ba1fa7f5088083f8518f6ba | /src/qt/peertablemodel.cpp | 0a8a60d6754e5e12581254f2aadea7b81be11e78 | [
"MIT"
] | permissive | SenatorJohnMcLaughlin/TestCoin | 8f493d9f07246b21b98d3c19f5f303417fafd166 | 732b4ece3aaf489709ef9231d845d3735bb8dab3 | refs/heads/master | 2021-04-14T09:52:46.878135 | 2020-03-22T20:50:35 | 2020-03-22T20:50:35 | 249,224,647 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,453 | cpp | // Copyright (c) 2011-2016 The Testcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "peertablemodel.h"
#include "clientmodel.h"
#include "guiconstants.h"
#include "guiutil.h"
#include "validation.h... | [
"josef@bctest.fritz.box"
] | josef@bctest.fritz.box |
83100327fe392b3d069a741c57f90c16c4329365 | 4f6d625b06ed4d13c497da61b8151847e58585be | /剑指offer/把字符串转换成整数.cpp | db0ae2377277fcb647a555817fb33ff796c2c723 | [] | no_license | TLMSONANA/CUGSECourses | ed714fea47f3cb1f291c77d9df33017ce17ca2dd | 668c2bb7030f068b343d108cb303a2e97c56368a | refs/heads/master | 2022-02-21T07:04:32.862365 | 2019-09-23T16:17:26 | 2019-09-23T16:17:26 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 363 | cpp | class Solution {
public:
int StrToInt(string str) {
int n=str.length();int s=1;
long long res=0;
if(n==0){return 0;}
if(str[0]=='-'){s=-1;}
for(int i=(str[0]=='-'||str[0]=='+')?1:0;i<n;i++){
if(!(str[i]>'0'&&str[i]<'9')){return 0;}
res=res*10+str[i]-'0... | [
"wx_e6e28d652e014d868372a162e85ab716@git.code.tencent.com"
] | wx_e6e28d652e014d868372a162e85ab716@git.code.tencent.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.