blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 4 201 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 7 100 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 260
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 11.4k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 17
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 80
values | src_encoding stringclasses 28
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 8 9.86M | extension stringclasses 52
values | content stringlengths 8 9.86M | authors listlengths 1 1 | author stringlengths 0 119 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
6fd3487080fe3dc41f146d616626b3a9059c4acb | 9b7fc94d86ebd44369ecc9980cd5a25c02653f1e | /www/remote/arduino/darwin/hardware/tools/avr/lib/gcc/avr/5.4.0/plugin/include/tree.h | 898572fbfa9c4f3a3b5faeba1f1f39a7ffd6e8cc | [
"LicenseRef-scancode-unknown-license-reference",
"CC0-1.0"
] | permissive | sanyaade-robotic/MyQode-builder | 86ddb0df38908f748c445e7c7a15b440435a36f1 | ea2e35c08aa512bc692eb72098e98530d1ffd98c | refs/heads/master | 2020-12-20T20:37:57.740556 | 2020-01-25T17:02:37 | 2020-01-25T17:02:37 | 236,200,261 | 0 | 0 | CC0-1.0 | 2020-01-25T17:01:30 | 2020-01-25T17:01:29 | null | UTF-8 | C++ | false | false | 202,424 | h | /* Definitions for the ubiquitous 'tree' type for GNU compilers.
Copyright (C) 1989-2015 Free Software Foundation, Inc.
This file is part of GCC.
GCC 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 ver... | [
"warren.xia@robobloq.com"
] | warren.xia@robobloq.com |
7d2d07aef39a8ef6ab6f55210a86e5f04dc5c1d0 | 1740d2e58ad2105855460437f351677b69baab55 | /FiniteStateMachine_DesignPattern/Jumping.h | c55e83c26a6a40e91fdcc6a646f1a0e9a158bdeb | [] | no_license | StartkaCZ/FMS | 9eeeac31cd510630eecc9f57079e6394406fdd59 | 3365118e5eaa6858ffc4bd09a55a7213105ed415 | refs/heads/master | 2021-01-11T16:33:17.678506 | 2017-02-02T13:13:22 | 2017-02-02T13:13:22 | 80,107,590 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 143 | h | #pragma once
#include "State.h"
class Jumping : public State
{
public:
Jumping();
~Jumping();
void idle(Animation* a) override;
};
| [
"liborzachoval@gmail.com"
] | liborzachoval@gmail.com |
44008dc50923a5c561b6abfb8e464e4335aa756f | bb59806476b9657eddda932a3a0e21388c43fba9 | /aoj/11/1179.cpp | df9d110dccab2f4c9ae9c7d7df2e1a590ac7120a | [] | no_license | atri-konami/kyo-pro | b0d53b196e0526774816df2aeb6f4c0a7fbc4745 | bf72a14da29828a29a5e59d2582f1e27ee65d545 | refs/heads/master | 2020-07-16T19:08:16.163064 | 2019-09-02T12:09:38 | 2019-09-02T12:09:38 | 205,849,043 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,228 | cpp | /* vim:set foldmethod=marker: */
#include <bits/stdc++.h>
using namespace std;
//{{{
#define all(x) (x).begin(),(x).end()
#define REP(i,a,b) for(int i=(int)(a); i<(int)(b); i++)
#define RREP(i,a,b) for(int i=(int)(a); i>=b; i--)
#define rep(i,n) REP(i,0,n)
#define rrep(i,n) RREP(i,n,0)
#define pb(x) push_back(x)
#defi... | [
"freude1994@gmail.com"
] | freude1994@gmail.com |
46c074d5c57433247af473111bea36fccbeb52f9 | 3243d4dc666d1ee466329af5e79156c6e4d03e5e | /base/Equipment.hpp | f75ddd4a9af3e555d98d1f32e7ee3455fcdbeb53 | [] | no_license | deskid/AIGame | 0ad9390df97ab126bb96b72aff85ccc666315f4c | d6fc9fc19b8318739058ebaf86384f08a299a9b9 | refs/heads/master | 2020-04-08T15:20:36.068198 | 2013-11-04T04:53:27 | 2013-11-04T04:53:27 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 990 | hpp | #ifndef EQUIPMENT_HPP_
#define EQUIPMENT_HPP_
#include "FighterAttribute.hpp"
#include "util/ProtoInstance.hpp"
#include "id_object.hpp"
#include <string>
namespace AIGame {
/**
* this is the class defines equipments
* an equipment is an item hold by Fighter to enhance there fighting attributes
* <strong>this is ... | [
"ownesss@gmail.com"
] | ownesss@gmail.com |
14383980301fa16cdd147e2ef0924095790e263c | 6b550d3d0b182bcddda1f0a175d6b6cd07b60fb3 | /logdevice/common/StickyCopySetManager.cpp | 39a4426f3d2de5c71f321ed0ec929da55b166c5a | [
"BSD-3-Clause"
] | permissive | Rachelmorrell/LogDevice | 5bd04f7ab0bdf9cc6e5b2da4a4b51210cdc9a4c8 | 3a8d800033fada47d878b64533afdf41dc79e057 | refs/heads/master | 2021-06-24T09:10:20.240011 | 2020-04-21T14:10:52 | 2020-04-21T14:13:09 | 157,563,026 | 1 | 0 | NOASSERTION | 2020-04-21T19:20:55 | 2018-11-14T14:43:33 | C++ | UTF-8 | C++ | false | false | 8,443 | cpp | /**
* Copyright (c) 2017-present, Facebook, Inc. and its affiliates.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree.
*/
#include "logdevice/common/StickyCopySetManager.h"
#include <shared_mutex>
#include <... | [
"facebook-github-bot@users.noreply.github.com"
] | facebook-github-bot@users.noreply.github.com |
f43529236a8a335a6a0317abc6104f6f236fc087 | 975ed616b7a8e4a0016a0d12135a7daf17553bc3 | /lua/src/loslib.c | 20359b24747cc3b577d9b10f9cfb33c97a0dedd6 | [
"Zlib",
"CC0-1.0"
] | permissive | libretro/gw-libretro | a667af4b05db9f8fbe3f30506cc59ceb932947a8 | 0ecff52b11c327af52b22ea94b268c90472b6732 | refs/heads/master | 2023-06-07T20:44:02.339907 | 2023-05-28T04:01:25 | 2023-05-28T04:01:25 | 31,514,379 | 38 | 49 | Zlib | 2023-05-28T04:01:26 | 2015-03-01T23:02:16 | C | UTF-8 | C++ | false | false | 8,701 | c | /*
** $Id: loslib.c,v 1.54 2014/12/26 14:46:07 roberto Exp $
** Standard Operating System library
** See Copyright Notice in lua.h
*/
#define loslib_c
#define LUA_LIB
#include "lprefix.h"
#include <errno.h>
#include <locale.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
#include "lua.h"
#include "la... | [
"andre@leiradella.com"
] | andre@leiradella.com |
a33cbcc5e67ec403f6139fb5416821a505b46c12 | 05227d7e847bbbb6e0c7898201848c879837ad25 | /RType.Common/Sources/Entities/Entity.cpp | 6ffb91ee4364dd292b57190a9e9025279beba6ca | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | Mikyan0207/RType | 87aec2fd09c95e97d4b454a6fc0970cf58422342 | ae3d0e4b3192577eccfb3ba55ac86bd7238e9451 | refs/heads/master | 2023-02-25T11:36:32.123944 | 2021-02-02T14:31:24 | 2021-02-02T14:31:24 | 327,918,103 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,235 | cpp | #include <Entities/Entity.hpp>
#include <limits>
Entity::Entity() : m_Id(std::numeric_limits<std::size_t>::max())
{
}
Entity::Entity(const std::size_t& id) : m_Id(id)
{
}
Entity::Entity(const Entity& e)
{
m_Id = e.m_Id;
m_Components = e.m_Components;
}
Entity::Entity(const Entity&& e) noexcept
{
try
{
m_Id =... | [
"florian.theron@epitech.eu"
] | florian.theron@epitech.eu |
5a4a343ea8269475d438fd8653e569119932d9d5 | d110fa80f2ae305c52b449872fd93152038f8a73 | /QPUIPageControl/datetimedelegatewithusecs.h | 121772c1f4bcc0d52b407cc4dbc317f49bcf1510 | [] | no_license | iamgeniuswei/QPlatform | 6fd98dae5576a7dd85ea9800404375fa784907fe | 05cba523571287f551dc20c6211203988e820be3 | refs/heads/master | 2020-04-06T07:12:35.796750 | 2016-07-22T01:12:59 | 2016-07-22T01:12:59 | 56,820,817 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 581 | h | #ifndef DATETIMEDELEGATEWITHUSECS_H
#define DATETIMEDELEGATEWITHUSECS_H
#include <QStyledItemDelegate>
#include "pagewidget_global.h"
class PAGEWIDGETSHARED_EXPORT DateTimeDelegateWithUSecs : public QStyledItemDelegate
{
Q_OBJECT
public:
explicit DateTimeDelegateWithUSecs(const QString timeFormat = "y... | [
"iamgeniuswei@sina.com"
] | iamgeniuswei@sina.com |
16af75041f2434d36318fbe9a6a2466586abecae | a7053519b6f4b1b6e998dc821b644dd57abc6320 | /ZeroJudge/zoj_c294.cpp | c9ee39889a6fbe52d1acb697afabc57dd14cf53b | [] | no_license | Koios1143/Algorithm-Code-Saved | 97c7360e1928bbea12307524a8562b3f1c72d89d | 38706e0c08750ebdd0384534baa3226f850fb8b7 | refs/heads/master | 2023-02-08T00:33:56.881228 | 2020-12-12T05:09:16 | 2020-12-12T05:09:16 | 297,377,067 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 559 | cpp | //By Koios1143
#include<bits/stdc++.h>
#define LL long long
#define IOS ios::sync_with_stdio(false),cin.tie(0),cout.tie(0);
#define pii pair<int,int>
using namespace std;
int tri[3];
int main(){
IOS
for(int i=0 ; i<3 ; i++) cin>>tri[i];
sort(tri,tri+3);
cout<<tri[0]<<" "<<tri[1]<<" "<<tri[2]<<"\n";
if(... | [
"ken1357924681010@gmail.com"
] | ken1357924681010@gmail.com |
fc1df20c0fd09c441f657cd8b62d7a8d847937e5 | f87f5c645d255ad2e5adbfdfd9fca021667157d1 | /formats.cpp | afe55a2a28248671959541549245c2c03abd8f10 | [] | no_license | VladislavLechner/ExecutionSumWidget | c174d7679b7a915d38fffa1565dae29a9c756379 | b16632845bc25027cf767a55c30d8b44653c76f0 | refs/heads/main | 2023-07-09T17:06:09.045842 | 2021-08-17T11:01:18 | 2021-08-17T11:01:18 | 393,758,804 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,522 | cpp | #include "formats.h"
std::string Formats::currentFormat(const std::string& format)
{
if (format == "zip")
return "Zip";
else if(format == "txt")
return "ASCII text";
else if(format == "jpg")
return "JPEG";
else if (format == "pdf")
return "PDF";
else if (format == "... | [
"semen.isaev@ro.ru"
] | semen.isaev@ro.ru |
66985e45c5fb1135c9250f15f753ab9d9c55d4a7 | 090ba3fdf7418ab15cab569d7215fe7686cff4ab | /banjo/ast-hash.hpp | 330545d37f887c6ef4214e8ad0b4448e5cde937e | [
"MIT"
] | permissive | NoraAl/banjo | 7b7029675bf216c2f501e4874c47db6eefb64ec4 | cccedc7d3a8d90dbaeea48cd17d359ca5116f0a4 | refs/heads/master | 2021-01-16T21:38:38.076675 | 2016-05-18T18:14:41 | 2016-05-18T18:14:41 | 57,147,641 | 0 | 0 | null | 2016-04-26T17:18:15 | 2016-04-26T17:18:15 | null | UTF-8 | C++ | false | false | 1,113 | hpp | // Copyright (c) 2015-2016 Andrew Sutton
// All rights reserved
#ifndef BANJO_AST_HASH_HPP
#define BANJO_AST_HASH_HPP
// This module defines the hash function on AST nodes.
//
// TODO: Migrate this to use an iterative hash instead of Boost's hashing
// library. It will generate better keys (although this is a big rew... | [
"andrew.n.sutton@gmail.com"
] | andrew.n.sutton@gmail.com |
ae5c1688a665fa8ac79c03f7f71ffe3f3e917070 | 13e6453fcaeb57006ff3f53a36778e082539bcf4 | /c_src/fun_bindings.cc | e9c9efe6ea3fee71a2f68109598b106b47164648 | [
"MIT"
] | permissive | silviucpp/erlcass | e379bcd88da1f698131dba9b09e3b61b509cc0ab | aaf027d157f256902b2b2cc0e633a22592423c81 | refs/heads/master | 2023-06-27T02:05:42.392884 | 2023-06-15T05:42:09 | 2023-06-15T05:42:09 | 36,858,111 | 83 | 39 | MIT | 2023-01-18T22:29:14 | 2015-06-04T08:30:49 | Erlang | UTF-8 | C++ | false | false | 3,316 | cc | #include "fun_bindings.h"
#include "macros.h"
CassError erlcass_cass_collection_append_string_n(CassCollection* collection, size_t index, const char* value, size_t value_length)
{
UNUSED(index);
return cass_collection_append_string_n(collection, value, value_length);
}
CassError erlcass_cass_collection_append... | [
"silviu.caragea@woowteam.com"
] | silviu.caragea@woowteam.com |
d0cbcdd4666d50493ddfe5b1d798c2ef38b4ea33 | 2624cc24d433ddae26d707f566592bd68d4104d0 | /GLBase.h | 10983dd7ef8e0b406845b9de529d08d67fe85ce2 | [] | no_license | gomson/glslCanvas4AE | 943603a9e0ae20ad432c3e7d5593e34bd2f5d01f | 3310974293937442c642867a828351e5afd1a209 | refs/heads/master | 2020-12-02T11:20:32.838606 | 2017-07-07T06:08:12 | 2017-07-07T09:07:39 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 709 | h | //
// GLBase.hpp
// ISF4AE
//
// Created by Baku Hashimoto on 2017/07/05.
//
//
#pragma once
#ifndef GL_BASE_H
#define GL_BASE_H
#include <OpenGL/gl3.h>
#include <GLUT/GLUT.h>
#include <string>
namespace AESDK_OpenGL {
void makeCurrentFlush(CGLContextObj newRC);
NSOpenGLContext* createNSContext(NSOpenGLConte... | [
"mail@baku89.com"
] | mail@baku89.com |
ab2762f9c4d5f9346346b9de9a9c9bb6d31bea1d | 7de176060a61db803d19915e3db1f094fbe84539 | /packages/qr/src/base/qr_in_place_base.hpp | 45bf50b7675b82e9b1633812215e066146a37317 | [
"BSD-3-Clause"
] | permissive | samajors/pressio | d183d65b6bef66c047037db8ff8d8c5673ec6bd7 | 164826bf58cb37a68b04755e3db943b4ce620a59 | refs/heads/master | 2022-11-15T01:37:37.046439 | 2020-05-11T15:27:16 | 2020-05-11T15:27:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,960 | hpp | /*
//@HEADER
// ************************************************************************
//
// qr_in_place_base.hpp
// Pressio
// Copyright 2019
// National Technology & Engineering Solutions of Sandia, LLC (NTESS)
//
// Under the terms of Contract DE-NA0003525 wit... | [
"fnrizzi@sandia.gov"
] | fnrizzi@sandia.gov |
1d293c98cc1dcf2a23f1b6497a34392dc98e264e | 6d3c2397ade13ea230cf7df97bc27f3c9b7a63dd | /Right.cpp | a6b51b8f521a9d3c47e295f2c9276414574cf902 | [] | no_license | mrKust/SevenTest | 0025b13ec45d6a88a2a54b8db10cb5ea91ce20f2 | e2575b55302a0fda2577b816852015be8034002d | refs/heads/master | 2022-11-17T21:35:04.965925 | 2020-07-13T13:44:36 | 2020-07-13T13:44:36 | 279,382,302 | 0 | 0 | null | 2020-07-13T18:32:06 | 2020-07-13T18:32:05 | null | UTF-8 | C++ | false | false | 539 | cpp | //
// Created by Ivan on 10.07.2020.
//
#include "Right.h"
Right::Right() {
}
Right::~Right() {
}
uint32_t Right::getNumID() {
return numID;
}
std::string Right::getName() {
return name;
}
std::string Right::getDescription() {
return description;
}
void Right::setNumID(uin... | [
"noreply@github.com"
] | noreply@github.com |
2f8411e8e6e5feb678415db3d1656ea87483cb4c | cfeac52f970e8901871bd02d9acb7de66b9fb6b4 | /generated/src/aws-cpp-sdk-resource-explorer-2/include/aws/resource-explorer-2/ResourceExplorer2ErrorMarshaller.h | 305c0a23bb81e47ddaf1bc86c864da59dccf2ef9 | [
"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 | 554 | h | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/resource-explorer-2/ResourceExplorer2_EXPORTS.h>
#include <aws/core/client/AWSErrorMarshaller.h>
namespace Aws
{
namespace Client
{
class AWS_RESOURCEEXPLORER2_API Resour... | [
"sdavtaker@users.noreply.github.com"
] | sdavtaker@users.noreply.github.com |
8ca5e65599636c50a8ca427b2e12bb01b0f99131 | 9e3408b7924e45aa851ade278c46a77b3a85614e | /CHIBI-Engine/Externals/boost/mpl/aux_/iter_apply.hpp | c00974b68e506eb159ee0584baffb3929bd8c34f | [] | no_license | stynosen/CHIBI-Engine | 542a8670bbcd932c0fd10a6a04be3af2eb3991f4 | 6a1b41e94df2e807e9ce999ce955bf19bb48c8ec | refs/heads/master | 2021-01-25T06:37:16.554974 | 2014-01-08T21:49:00 | 2014-01-08T21:49:00 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,010 | hpp |
#ifndef BOOST_MPL_ITER_APPLY_HPP_INCLUDED
#define BOOST_MPL_ITER_APPLY_HPP_INCLUDED
// Copyright Aleksey Gurtovoy 2002-2004
//
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
//
// See http://www.boost.org/li... | [
"stijndoyen@hotmail.com"
] | stijndoyen@hotmail.com |
23ab0993bd00906baa67633f847da0c7ae3e1af6 | 2f0c70013cb2e8f3815694ae75dd9b73fdf22d33 | /spectrum/models/E6SSM/E6SSM_utilities.hpp | 771e4657e4abb61c74d04d771b626d6c9a89d03a | [] | no_license | azedarach/E6SSM-Tuning | 9d3e0fffb3fe5979b8735a2907219eb944fcfeae | 62f8050e814db2e4468b868cb31bcb63ee1dbda2 | refs/heads/master | 2021-05-31T00:07:01.359375 | 2016-01-03T22:34:23 | 2016-01-03T22:34:23 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,551 | hpp | // ====================================================================
// This file is part of FlexibleSUSY.
//
// FlexibleSUSY 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 Licens... | [
"dylan.harries@adelaide.edu.au"
] | dylan.harries@adelaide.edu.au |
5e0ef6f931c7eb27bbccf7ff3ef1241b49e2dff2 | 72c5f334fbb1b1d0ab0fe159df8624eb6d3ecc3f | /src/Sandbox/Models/MOMDP/StateTransitionXByFunction.h | c6d80865aa9280fb563cab12e94b0e53a4a71787 | [
"Apache-2.0"
] | permissive | petercaiyoyo/appl | 9cbe63403ab567bb13861ebc68435fdc4b7dcf81 | 545a89ff207cf1818c66da01723ca119f58b8e0b | refs/heads/master | 2016-08-06T14:16:44.038983 | 2013-10-02T06:38:25 | 2013-10-02T06:38:25 | 9,953,653 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 938 | h | #ifndef StateTransitionXByFunction_H
#define StateTransitionXByFunction_H
#include <vector>
#include "Const.h"
#include "Observations.h"
#include "Actions.h"
#include "States.h"
#include "MathLib.h"
#include "VariableRelation.h"
#include "StateTransitionX.h"
using namespace std;
using namespace momdp;
n... | [
"scutpetercai@gmail.com"
] | scutpetercai@gmail.com |
bcc2af8fcbf078adb3725b75af92569b776aea32 | 2e5d6c4fc0fc425db84b0ebe52d8912200b5ae7d | /My Operating System/physical_memorymgr.cpp | 5fcda4d1b45fe6cfd1888dd5258697fed1369ea7 | [] | no_license | caffineehacker/My-Operating-System | b62152e4dbeb5b56a8f079c6d4217dae762e3294 | b595cf26e4faf71ca0d43705741c59f69095a273 | refs/heads/master | 2021-06-06T10:56:51.389380 | 2017-08-20T00:01:59 | 2017-08-20T00:01:59 | 5,132,091 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,260 | cpp | #include <cstdint>
#include <cstring>
#include "physical_memorymgr.h"
/* Size of physical memory in KB */
static uint32_t physical_memorymgr_memory_size = 0;
/* Number of physical blocks in use */
static uint32_t physical_memorymgr_used_blocks = 0;
/* Max number of blocks available */
static uint32_t ph... | [
"tim@timwaterhouse.com"
] | tim@timwaterhouse.com |
a479f7775fffb219785cd8518a6f0149a141edb9 | 0b69a011c9ffee099841c140be95ed93c704fb07 | /problemsets/Topcoder/SRM 458 (DIV2)/BouncingBalls.cpp | 4bf7c6e7e56914bf4e6444a45b4737637cb10e5c | [
"Apache-2.0"
] | permissive | juarezpaulino/coderemite | 4bd03f4f2780eb6013f07c396ba16aa7dbbceea8 | a4649d3f3a89d234457032d14a6646b3af339ac1 | refs/heads/main | 2023-01-31T11:35:19.779668 | 2020-12-18T01:33:46 | 2020-12-18T01:33:46 | 320,931,351 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,464 | cpp | /**
*
* Author: Juarez Paulino(coderemite)
* Email: juarez.paulino@gmail.com
*
*/
// BEGIN CUT HERE
// END CUT HERE
#line 5 "BouncingBalls.cpp"
#include <cmath>
#include <cstdio>
#include <ctime>
#include <cctype>
#include <cstring>
#include <iostream>
#include <sstream>
#include <string>
#include <vector>
#incl... | [
"juarez.paulino@gmail.com"
] | juarez.paulino@gmail.com |
c7155609573ffa36249de02e03ef44019fb2bf63 | 0fde325785b1bcc7d4c9883d79bf6f85e4c0b7fa | /Stick.cpp | 50e6e823572cff123b5385a3f816fdb847065fb0 | [] | no_license | usamabintahir99/Tetris-Game | d90e21b21934858a4ee8d2cd77b2064a6be7fd7f | 62b6a451123c19d38c057e142794c575f505fc96 | refs/heads/master | 2022-11-06T11:39:02.796947 | 2020-06-24T05:11:12 | 2020-06-24T05:11:12 | 274,580,063 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,068 | cpp | #include "stdafx.h"
#include "Stick.h"
Stick::Stick()
{
State[0] = FourBlocks(0, 0, 1, 0, 2, 0, 3, 0, 0);
State[1] = FourBlocks(1, -1, 1, 0, 1, 1, 1, 2, 2);
fptr = &State[currentState];
}
void Stick::rotateAntiClock(int x, int y)
{
if (currentState >= 1)
{
currentState = 0;
}
else
{
curr... | [
"noreply@github.com"
] | noreply@github.com |
236cee5e8827b07d9fd1d5fc59dc75cf2293cf67 | 2a68a7ec53836ec4fb85b560a93e35189e4f7d51 | /httpFileDownload/test/io.cpp | df02b9e5a5e05533bf48dad93709e11913fa69b7 | [] | no_license | ZPTISRHCA/personalProjects | 34af59bf31297b2128e90a9d0e57441448ac2311 | 814548d3ba9f9fbcd10365ca5565cc77eb9ff91d | refs/heads/master | 2020-01-23T21:56:01.089573 | 2016-12-28T16:13:47 | 2016-12-28T16:13:47 | 74,728,731 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,873 | cpp | /***********************************************************
# File Name : testIO.cpp
# Author : zpt
# mail : zpt1596723345@live.com
# Created Time : 2016年12月07日 星期三 23时52分28秒
# Descrition :
***********************************************************/
#include "../include/httpPacket.h"
#include "../include/ioHand... | [
"zpt1596723345@live.com"
] | zpt1596723345@live.com |
2f51d8b6e500e712bd64407e6041c49ac180e1dc | 98cd0dcec1bb3db5ba483758a5337521d6b5f9df | /old/Container With Most Water/Container With Most Water/main.cpp | 4f4cdf49a0d05cabd56816cfbdcc09461df71f19 | [
"Apache-2.0"
] | permissive | betallcoffee/leetcode | ff09853caef704dff39bb193483d149e89172092 | b21588bda21a464af7c18a3e8155c53af76b263f | refs/heads/master | 2021-01-19T11:17:37.086034 | 2020-03-01T09:19:14 | 2020-03-01T09:41:31 | 26,198,774 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 51,309 | cpp | //
// main.cpp
// Container With Most Water
//
// Created by liang on 6/20/15.
// Copyright (c) 2015 tina. All rights reserved.
// Problem: https://leetcode.com/problems/container-with-most-water/
//Given n non-negative integers a1, a2, ..., an, where each represents a point at coordinate (i, ai). n vertical lines... | [
"liangliang0918@126.com"
] | liangliang0918@126.com |
46d2b171557d05f155f1e58cb63f20ea1b31890b | 5d734c6385b7bbc70e0eab51bea13f1ff6963197 | /Educational DP - Coins.cpp | 837050892a83e9c03dc7df136b01ded51c9b546b | [] | no_license | isanchez-aguilar/AtCoder | ce945a13455dd9b2aa95c008e0e3ac84ba09c3d9 | d6de3287a980504ebf346a1908fc4f0246683867 | refs/heads/master | 2021-05-17T05:03:37.065897 | 2020-04-29T05:02:04 | 2020-04-29T05:02:04 | 250,638,152 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 837 | cpp | /*
* User: Isanchez_Aguilar
* Problem: AtCoder Educational DP - Coins
*/
#include <bits/stdc++.h>
using namespace std;
int main(void)
{
ios_base::sync_with_stdio(0);
cin.tie(0);
cout.tie(0);
int n;
cin >> n;
vector<double> probability(n);
for (double& p : probability)
cin >> p;
vec... | [
"noreply@github.com"
] | noreply@github.com |
a677222ed5058e30394e7673518279a48bb09c4c | ff381c6e63026bdf54ca6f2b7058c4b5bf7a5d5a | /leetcode/SingleNumber.cpp | 6b81e9e95a182521044d00bb1170fbd5081308c7 | [] | no_license | wind1900/exercise | 6e8380c9cec21668fc88a393106272b0f2dd3a4b | 30cb6ebbca5ddb3d5d758dee4ff5a537de2f0120 | refs/heads/master | 2021-01-23T11:50:28.418440 | 2014-08-17T05:38:03 | 2014-08-17T05:38:03 | 20,727,947 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 140 | cpp | class Solution {
public:
int singleNumber(int A[], int n) {
int r = 0, i;
for (i = 0; i < n; i++) {
r ^= A[i];
}
return r;
}
}; | [
"weishen1900@gmail.com"
] | weishen1900@gmail.com |
30b5758b65fd8bdebbe35b29f67592119c394d49 | 76171660651f1c680d5b5a380c07635de5b2367c | /SH6_43_msh4/0.37005/rho | c2fd0f2be1a93b5fd130d8ab0eaff03e22628ead | [] | no_license | lisegaAM/SH_Paper1 | 3cd0cac0d95cc60d296268e65e2dd6fed4cc6127 | 12ceadba5c58c563ccac236b965b4b917ac47551 | refs/heads/master | 2021-04-27T19:44:19.527187 | 2018-02-21T16:16:50 | 2018-02-21T16:16:50 | 122,360,661 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 241,519 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 3.0.x |
... | [
"alexmayes@gmail.com"
] | alexmayes@gmail.com | |
4857a206d6569ad29a4835db722193a8a5f8eb4b | b6fd0ebab3c43ed59647f95ad5fe2baff4610c00 | /factories/bitmapheaderfactory.cc | 01c5d84f8818a5737b8a287ffbafda20754c05ea | [] | no_license | aghoward/bitmapper | 7d7af88a3d836182ae4aafb9c50ab8801ffc1ead | 0918dd34d8d238177dcf6bd9aa4079c811001ed6 | refs/heads/master | 2021-06-16T18:05:35.954856 | 2017-04-06T00:40:16 | 2017-04-06T00:40:16 | 87,323,687 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 312 | cc | #include <memory>
#include "bitmapheaderfactory.h"
#include "headers/bitmapheader.h"
using namespace std;
shared_ptr<BitmapHeader> BitmapHeaderFactory::Create(unsigned int fileSize, unsigned int pixelOffset) {
return shared_ptr<BitmapHeader>(new BitmapHeader(string("BM"), fileSize, 0x0, pixelOffset));
}
| [
"ahoward@foxguardsolutions.com"
] | ahoward@foxguardsolutions.com |
7c9b675f019bd75db9c08ceaa0cd454e5e6cc633 | 45dbe72565d05fe35da9b071895748fe9388a50d | /ui/gameaccountwindow.cpp | 09c044c0341664ad541f24754d139a1f0bb84ee1 | [] | no_license | dbrook/vidpokerterm | 4a70b44576b79aa009eae3c6af97639bd9f5ff81 | 8f1f78ac80ffec040f25f4a9a33a9a5413f1cb9f | refs/heads/master | 2023-01-01T02:08:04.626001 | 2020-10-20T00:21:43 | 2020-10-20T00:21:43 | 268,131,266 | 0 | 0 | null | 2020-09-29T00:26:04 | 2020-05-30T17:47:45 | C++ | UTF-8 | C++ | false | false | 7,337 | cpp | /*
* This file is part of VidPokerTerm. Copyright (c) 2020 Daniel Brook
*
* 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, either version 3 of the License, or
* (at your option) any later v... | [
"danb358@gmail.com"
] | danb358@gmail.com |
a10cf7f5b4e96111927d59a33c730a4428d1ddaf | 0400ac52a20058bf13a064b838872473212765ca | /Unity_Code/DinoRun_Final/Temp/il2cppOutput/il2cppOutput/mscorlib_System_Predicate_1_gen3564654344.h | b6166ef145f9c73d7c812780ebef48ab4c5b59dd | [
"Apache-2.0"
] | permissive | BPenzar/SuperDinoBros. | b7e6be07bfc4278d85eeb986f4740c9a91e01689 | f46b866c5a1119c6753dbd8e963212f17a4a31d5 | refs/heads/master | 2021-01-20T04:29:24.503356 | 2017-07-25T14:58:12 | 2017-07-25T14:58:12 | 89,697,299 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 725 | h | #pragma once
#include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <stdint.h>
#include "mscorlib_System_MulticastDelegate3201952435.h"
// Sound
struct Sound_t826716933;
// System.IAsyncResult
struct IAsyncResult_t1999651008;
// System.AsyncCallback
struct Asyn... | [
"bruno.penzar@posteo.de"
] | bruno.penzar@posteo.de |
e18834d77e8bcf7b1398d289558c952cf07af9c3 | 94c7dfaa1df29210b973154d2db95d8c492eabbd | /labs/lab4/main.cpp | 12fb86298e0ea0b7e9448ffe72cf60981b2567f7 | [] | no_license | ArtDu/PGP | a6f19c2a36b33f18573baed831f91e56da2b2740 | 198e5b41420f2911733f6a8754615472a09f6551 | refs/heads/master | 2023-07-03T03:10:34.204857 | 2021-08-07T15:18:14 | 2021-08-07T15:27:21 | 297,765,721 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,979 | cpp | #include <bits/stdc++.h>
#include <algorithm>
//#include <thrust/extrema.h>
//#include <thrust/device_vector.h>
using namespace std;
const double EPS = 1E-9;
int compute_rank(vector <vector<double>> A) {
int n = A.size();
int m = A[0].size();
int rank = 0;
vector<bool> row_selected(n, false);
f... | [
"artyom.dubinin@corp.mail.ru"
] | artyom.dubinin@corp.mail.ru |
7a7fcb231093f7ebfc8b00d8bcde756b311e5ef8 | ac514cb2383ed4789e95b02433eecba139419418 | /longest_substring_with_at_most_two_distinct_characters.cpp | 75b8c21603607e61bfc4cf734ffe6ec39a3b974e | [] | no_license | YhgzXxfz/leetcode | c602b91bd32da86b0376f4998ca2e702d0b28c10 | 7cce57ff48ac8e8dc1ae352b9948f66055651eee | refs/heads/master | 2020-04-07T03:44:25.071745 | 2018-03-04T12:52:29 | 2018-03-04T12:52:29 | 34,910,334 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 619 | cpp | class Solution {
public:
int lengthOfLongestSubstringTwoDistinct(string s) {
int count[256] = {0}; // initialization is necessary for counting distinct numbers
int begin = 0, distinct = 0, max_len = 0;
for (int i = 0; i < s.size(); ++i) {
if (count[s[i]] == 0) distinct++;
... | [
"qingfeiyou@gmail.com"
] | qingfeiyou@gmail.com |
2892d29483943d4da05c57c9c82208c9d2030938 | d7d1352eec0ce47675e527a7f6569d37cc1da867 | /chrome/browser/lacros/metrics_reporting_observer.cc | 939a213205f935c38090753bc2b03237d578d030 | [
"BSD-3-Clause"
] | permissive | weiqiLee/chromium | 4f406b41e62899cede510608cbb175f4ec8f1418 | 2200c9be391b535cff664b3a0ed3c24289162e8a | refs/heads/master | 2023-01-23T09:13:41.341531 | 2020-12-08T23:50:07 | 2020-12-08T23:50:07 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,385 | cc | // Copyright 2020 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/lacros/metrics_reporting_observer.h"
#include "base/bind.h"
#include "chrome/browser/metrics/metrics_reporting_state.h"
#include... | [
"chromium-scoped@luci-project-accounts.iam.gserviceaccount.com"
] | chromium-scoped@luci-project-accounts.iam.gserviceaccount.com |
e1435ba804d5adc888be7bf73f04e13c8c9faea9 | 30c68f513e90ca5998ab6e120e40227d39a5086a | /160个Crackme044/KeyGen/KeyGen/keygen.cpp | b0cdfc78752015cc6428e522937665206b2a4672 | [] | no_license | Anisluo/160-Crackme | 32e84b9b29bec7dda9a14e584940fe99bb07809e | db8d2567f335a964ea32c7f05534f4f68cfabdbc | refs/heads/master | 2022-06-27T08:45:29.577439 | 2022-06-06T07:38:51 | 2022-06-06T07:38:51 | 422,465,855 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 2,010 | cpp | #include <iostream>
#include <windows.h>
int main()
{
char username[20] = { 0 };
printf("请输入用户名:");
scanf_s("%s", username, 20);
int usernameLen = strlen(username);
if (usernameLen<6)
{
printf("用户名长度必须大于等于6");
}
//大写转小写
for (int i=0;i<usernameLen;i++)
{
if (username[i]>='A'&&username[i]... | [
"noreply@github.com"
] | noreply@github.com |
989b27e36bdc39541cc7fd2d4cd2f81e8ec84e0c | f4dfd13437614e197ddad0aabf5fb73d048f3e36 | /try2.2/try2.0/FileSystem.h | 89acddc645baaf29439950d336b755d6e3f7ddad | [] | no_license | James-zjm/File-System | 6e41b0ed5c5f93cf8082493931bb319c75c30eb1 | 6958233b3dff024fc2d1fd0ae3ff2014eb9da45a | refs/heads/master | 2022-05-27T09:33:13.207549 | 2018-09-12T11:54:46 | 2018-09-12T11:54:46 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 3,304 | h | #pragma once
#ifndef FILESYSTEM_H_
#define FILESYSTEM_H_
#include "try2.0.h"
#include <string>
//全局变量定义
extern const int kSuperBlockStartAddress; //超级块 偏移地址,占一个磁盘块
extern const int kInodeBitmapStartAddress; //inode位图 偏移地址,占512个磁盘块,最多监控 524288 个inode的状态
extern const int kBloc... | [
"noreply@github.com"
] | noreply@github.com |
a8baf6f7e97484de3e5b2a6da2ec68f4b2929fe7 | 081c75d11a4a8eb139f1685f087d9cc85a4fa072 | /include/nmtools/array/array/batch_norm.hpp | ede0ee5cfd897bceb8934e7369a2c1b553a12dd6 | [] | no_license | alifahrri/nmtools | c0a9d63b4101193b484f3e05bce606d58c3b85e2 | fa8a45bc3ddb373b7f547dfea3c2c7bea3056e06 | refs/heads/master | 2023-08-28T19:36:41.814434 | 2023-08-20T08:28:40 | 2023-08-20T08:28:40 | 190,819,342 | 7 | 0 | null | 2023-08-20T08:28:41 | 2019-06-07T22:43:35 | C++ | UTF-8 | C++ | false | false | 1,596 | hpp | #ifndef NMTOOLS_ARRAY_ARRAY_BATCH_NORM_HPP
#define NMTOOLS_ARRAY_ARRAY_BATCH_NORM_HPP
#include "nmtools/array/view/batch_norm.hpp"
#include "nmtools/array/eval.hpp"
namespace nmtools::array
{
/**
* @brief Eagerly compute batch_norm.
*
* @tparam output_t
* @tparam context_t=none_t
* @tp... | [
"noreply@github.com"
] | noreply@github.com |
f41e98feebdc499562fdf343420300f73bf18bea | 5bc18d7a05777494e8bff928c657abcb527f801d | /3-wheel Car/2.Communication/Software/receiver_example.ino | 505851e87ec740045bae703dc6565d48cf5b0a97 | [] | no_license | Sokrkose/ARTEMIS_2016-2018 | d5b6ba9517c98fe4d782183cec30f94cfce76cde | 1ec7fc45c2aeab30b63e608145f08366c2116044 | refs/heads/main | 2023-07-12T17:19:53.564360 | 2021-08-24T15:34:42 | 2021-08-24T15:34:42 | 399,507,688 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,050 | ino | #include<SPI.h>
//#include<nRF24L01.h>
#include<RF24.h>
const uint64_t pipe[1]= {0xF0F0F0F0E1LL};
RF24 radio(9,10);
typedef struct {
int x;
int y;
} positions;
positions rec;
//int ack[1] = {990};
void setup()
{
Serial.begin(57600);
radio.begin();
delay(100);
radio.setAutoAck(true);
radio.enableAckPayl... | [
"noreply@github.com"
] | noreply@github.com |
54ee678e9b17d4f13dffddcf6d5ea5819cb4dc9d | cf0510d88d177fc8e223e545fd9213d6f7305d43 | /mainwindow.hpp | 9d9cf654354b42dda9602358492f356824e1562f | [] | no_license | knvmbox/phonebook | c3bf838e5aee865a1c777ed56b537b587986bda6 | 072421ac71d70f3e539675a6cd44a925703720b1 | refs/heads/master | 2021-05-13T22:03:19.517641 | 2018-01-06T20:52:36 | 2018-01-06T20:52:36 | 116,267,045 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,039 | hpp | #ifndef MAINWINDOW_HPP
#define MAINWINDOW_HPP
#include <memory>
#include <QMainWindow>
#include <QSystemTrayIcon>
#include "applicationmodel.hpp"
namespace Ui {
class MainWindow;
}
class MainWindow : public QMainWindow
{
Q_OBJECT
public:
explicit MainWindow(QWidget *parent = 0);
~MainWindow();
prote... | [
"knvmbox@rambler.ru"
] | knvmbox@rambler.ru |
842ab447323cd1a8a2b9efdb1a7ce31450360361 | 28317876a31186a573aec54455343dccf64c2133 | /test/filesystem_mock.hpp | 9d24d3cdf5bc1eaeca3c6044d5f21005565b0339 | [
"Apache-2.0"
] | permissive | serve-bh-bmc/phosphor-hwmon | 7eb9a4ca9deaa9eac15594220154320d8d2779c9 | 94555352240ba7ac577a7017c0719cd9bbeb7a23 | refs/heads/master | 2023-06-22T19:48:57.401413 | 2020-11-16T20:57:50 | 2020-11-16T21:33:42 | 330,386,005 | 0 | 1 | Apache-2.0 | 2021-01-19T06:05:40 | 2021-01-17T12:29:10 | C++ | UTF-8 | C++ | false | false | 319 | hpp | #pragma once
#include "hwmonio.hpp"
#include <string>
#include <gmock/gmock.h>
namespace hwmonio
{
class FileSystemMock : public FileSystemInterface
{
public:
MOCK_CONST_METHOD1(read, int64_t(const std::string&));
MOCK_CONST_METHOD2(write, void(const std::string&, uint32_t));
};
} // namespace hwmonio
| [
"venture@google.com"
] | venture@google.com |
4d3be93b4fbff8dd93b9159c99bf329be9f1581e | d1e1f4697b047161367277efcad6719843cc0aef | /twopage/App.xaml.h | be276781dbf7b55b9f352c84a26fa7b9e677b196 | [] | no_license | bigOconstant/twopage | 8b42ac2640825b8efd75a0156019ff7b2fe37211 | e5118d08be129c9dfd0649e066c61f20038ca4c2 | refs/heads/master | 2022-03-05T16:36:48.816880 | 2019-08-21T13:27:34 | 2019-08-21T13:27:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 622 | h | //
// App.xaml.h
// Declaration of the App class.
//
#pragma once
#include "App.g.h"
namespace twopage
{
/// <summary>
/// Provides application-specific behavior to supplement the default Application class.
/// </summary>
ref class App sealed
{
protected:
virtual void OnLaunched(Windows::ApplicationModel::A... | [
"camccar@g.clemson.edu"
] | camccar@g.clemson.edu |
9eb2972cc166b1d01c11fe5d267d9c3101aee395 | fcb277597059ba26f0b5e7af970ded67b9bdf8af | /src/TransitionManager.cpp | 004108522f600abbe31da3ded2494a3a72a830f6 | [] | no_license | duffyco/embedded-art-engine | 18116e575397e04c42a49ec2ac143c7437138daf | ea8acdfa00e50180f67cef282e8cdcb39efc3e84 | refs/heads/master | 2020-09-22T14:39:51.893383 | 2019-12-02T02:25:45 | 2019-12-02T02:25:45 | 225,242,890 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,215 | cpp | #include "TransitionManager.h"
#include <cmath>
#include <utility>
#include "VignetteLayer.h"
TransitionManager* TransitionManager::m_instance = NULL;
TransitionManager* TransitionManager::getTransitionManager()
{
if( m_instance == NULL )
m_instance = new TransitionManager();
return m_instance;
}
TransitionMan... | [
"john@duffy.dev"
] | john@duffy.dev |
19fd84dfcceb8c9b975eb5739e35dd453c215b20 | e0752d39bbbfa809995ebc0d9738115946cdb9c9 | /MusicBox1/Project_Headers/ftfl.h | 661b9b2a5d3ac68c275d69d9a69aec5e35e5ad85 | [] | no_license | Raeed93/example2 | dddfc10f35734e9ba1f168fcea31a8d4fd4b2dde | 2391473a2e5c490ade39f6d63401acd395e7a04d | refs/heads/main | 2023-02-24T16:36:10.091303 | 2021-01-22T06:36:31 | 2021-01-22T06:36:31 | 331,856,312 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 18,209 | h | /**
* @file ftfl.h (180.ARM_Peripherals/Project_Headers/ftfl.h)
* @brief Flash support for FTFL
*
* Created on: 21 Sep 2016
* Author: podonoghue
*/
/* *************************************************************
* NOTE - Can't use other objects here as initialisation of
* Flash is done very ... | [
"youngbreezy93@hotmail.com"
] | youngbreezy93@hotmail.com |
4f183f7bdfd70275e90c41fdb72a5a67ece2a7d1 | 430df5841efa568dd58a1091f15bad6f7b138c19 | /chap14_sorting/compute_intersection_of_two_sorted_arrays.cpp | 554edc9f8c9895beee8f7e1d108afad903b7cc54 | [
"MIT"
] | permissive | clebsonc/epi_book | 3970b42313331991f529fb74e600390f868ef86b | 5c33db4bdbd5aca49668609e12151d56793ba1c9 | refs/heads/master | 2020-06-13T07:12:23.988506 | 2017-05-10T16:15:56 | 2017-05-10T16:15:56 | 75,414,492 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 718 | cpp | #include <iostream>
#include <vector>
#include <unordered_set>
std::unordered_set<int> find_intersection (std::vector<int> v1, std::vector<int> v2){
std::unordered_set<int> uns;
while (!v1.empty() && !v2.empty()){
if (v1.back() == v2.back()){
uns.emplace(v1.back());
v1.pop_back();
v2.pop_back... | [
"clebsondm@gmail.com"
] | clebsondm@gmail.com |
7d667fd7c813b09b11fa39f6f6a2f418e3c5bd7f | 944c3cd764e0900b8cd798481d4663cdb32a4dae | /Game.cpp | e30aa4e5b238e23cb1901c8e369f9d56b5ea3b9b | [] | no_license | BIGbadEL/Engine_GL | 40d37dbcaf53039149b720173ad38e1494b77f17 | e109afcd9bf11c068045451f80ff7ac8d898b8ac | refs/heads/master | 2020-04-01T13:55:41.027901 | 2018-10-16T18:54:30 | 2018-10-16T18:54:30 | 153,273,160 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 548 | cpp | //
// Created by grzegorz on 21.09.18.
//
#include "src/engine_gl.h"
using namespace engine;
using namespace graphics;
using namespace maths;
class Game : public EngineGL
{
private:
Window *window;
public:
Game(){
}
~Game(){
}
void init() override {
window = createWindow("TEST GA... | [
"greg090912@gmail.com"
] | greg090912@gmail.com |
c0ac4b217fc5ec10e62dc7537dd9dfbfaa225efb | 8ec9b2810a1bc4f28bc08b6df6d7e13be0e37509 | /Lab1/Lab1/Includes/GaussianBlurFilter.h | 5d64a273fd7da3aaf8e6483b475a0d51aa0f4906 | [] | no_license | a-sidorova/computer_graphics_course | 085dd8d97200a0ae977ffedefc310f43d13f426a | 483644c2143f65c60ec89686d4ae75d223044319 | refs/heads/master | 2022-09-05T12:27:55.291618 | 2020-05-25T08:07:22 | 2020-05-25T08:07:22 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 246 | h | #ifndef _GAUSSIANBLURFILTER_H_
#define _GAUSSIANBLURFILTER_H_
#include "MatrixFilter.h"
class GaussianBlurFilter : public MatrixFilter
{
public:
GaussianBlurFilter();
~GaussianBlurFilter() {};
void createGaussianKernel(int, int);
};
#endif | [
"alexa-sanechka@ya.ru"
] | alexa-sanechka@ya.ru |
bfba3aec85d7e520dd6f51da96d9bbb89dd80efc | c637ed2e8987ef71a58b85a05f15b41678f3eed1 | /src/askpassworddialog.h | d9cb232c6c47619a75fd74dc6a5b13aba4984e0c | [
"MIT"
] | permissive | Zurocoin/zurocoin-gui | dbd5a38783c4ef3bf7c247ea5c7d32767fcece72 | f9b1e2d2af9e2b332ce5ce244095e5a1fdfcafc8 | refs/heads/main | 2023-04-02T23:02:10.553046 | 2021-03-25T10:19:41 | 2021-03-25T10:19:41 | 349,803,314 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 764 | h | // Copyright (c) 2015-2018, The Bytecoin developers, The Zurocoin developers.
// Licensed under the GNU Lesser General Public License. See LICENSE for details.
#ifndef ASKPASSWORDDIALOG_H
#define ASKPASSWORDDIALOG_H
#include <QDialog>
namespace Ui {
class AskPasswordDialog;
}
namespace WalletGUI
{
class AskPasswor... | [
"noreply@github.com"
] | noreply@github.com |
5869d403a673f6273eb11eeb5f0f9ad59d291415 | d836c18f79efefecbf38e4c221d54aae2e7e79ec | /src/zjdc/zjdctracker.h | 3c3896ffce56d4127e05da844414c1e9aea5a479 | [] | no_license | xgy1221/jdcoin | 329c410489c31a55ff95b38e7e643dd5869ed947 | ac351c1120750712679b7893446a8f517730a658 | refs/heads/main | 2023-03-11T14:57:09.740625 | 2021-03-02T18:45:38 | 2021-03-02T18:45:38 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,283 | h | // Copyright (c) 2018-2020 The JDCOIN developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef JDCOIN_ZJDCTRACKER_H
#define JDCOIN_ZJDCTRACKER_H
#include "zerocoin.h"
#include "sync.h"
#include <list>
class CDetermin... | [
"developer@jdcoin.us"
] | developer@jdcoin.us |
9617e17e3aa30a4206e20c796d20ba4f9847d3f7 | e01d541554b2541e280a2581c31f3c8904a5b923 | /nt4/private/sdktools/jetadmin/cola.sdk/hprrm/strncase.hpp | 78eb6f0ec6308ae6d534969adde7fafdba5f5fe6 | [] | no_license | tmplazy/NT_4.0_SourceCode | b9a6a65fa3ca3e008b0277c7f5884aa7b3c57b9f | e293359a21b004f6840ec66c0a7ad1077a80f22b | refs/heads/master | 2021-07-22T13:57:15.412794 | 2017-10-31T10:48:43 | 2017-10-31T10:50:50 | 105,346,067 | 1 | 0 | null | 2017-09-30T06:03:46 | 2017-09-30T06:03:45 | null | UTF-8 | C++ | false | false | 950 | hpp | /***************************************************************************
*
* File Name: ./hprrm/strncase.hpp
*
* Copyright (C) 1993-1996 Hewlett-Packard Company.
* All rights reserved.
*
* 11311 Chinden Blvd.
* Boise, Idaho 83714
*
* This is a part of the HP JetAdmin Printer Utilit... | [
"gasgas4@gmail.com"
] | gasgas4@gmail.com |
ed63ea2359fa3700afbf1439cedb817a7fa206c0 | df7c701e34b2e3c6150e8128c8bf2b0f70648b50 | /SoftwareDesign/C++/DesignPatterns/Observer.cpp | 745b1e4b1d1eaff011c2159569fe643e9f48d2e5 | [] | no_license | KraiZeur/Examples | 2668710c115f8585fd1dc90d2fa914fc2b847933 | 30374291e5a3993189eb310e52b84f7ae5d51eeb | refs/heads/master | 2020-12-03T09:13:00.087710 | 2020-01-26T23:08:52 | 2020-01-26T23:08:52 | 68,735,227 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,133 | cpp | #include <iostream>
#include <vector>
template <typename T>
class Observer {
private:
public:
virtual void observableChanged(T * ptr)=0;
};
template <typename T>
class Observable {
protected:
std::vector<Observer<T> *> _observers;
public:
void addObserver(Observer<T> * observer) {
_observers.push_back(observer);... | [
"thomas.ritaly@gmail.com"
] | thomas.ritaly@gmail.com |
c34e0167a01d546fa65ba302c7ce29386ba08e6d | 600df3590cce1fe49b9a96e9ca5b5242884a2a70 | /components/dom_distiller/content/browser/android/content_jni_registrar.h | 469cb26ca18f3a3c225c070a0c8559dae557e5b6 | [
"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 | 697 | h | // Copyright 2016 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 COMPONENTS_DOM_DISTILLER_CONTENT_BROWSER_ANDROID_CONTENT_JNI_REGISTRAR_H_
#define COMPONENTS_DOM_DISTILLER_CONTENT_BROWSER_ANDROID_CONTENT_JNI_REG... | [
"enrico.weigelt@gr13.net"
] | enrico.weigelt@gr13.net |
6546eaa87d45d40b77fc78deb0c9450d941cdd2c | f8bd13c44c9a653402337458f811534e30ec9e13 | /working files/v_A_shm/BaseInPoint.cpp | 43daea4fda4a4719f4d2d6e0836176e35ac0811c | [] | no_license | AdrianVlas/cs_pr_a3 | 76ba5c231b4e2155fc21ed1194845f7a29b13fbd | c0d621a012b391f14fee77249e3ff1f952e9539a | refs/heads/master | 2023-08-28T23:26:13.650256 | 2021-09-24T09:29:20 | 2021-09-24T09:29:20 | 86,058,910 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,076 | cpp | #ifdef VISUAL_STUDIO
#include "StdAfx.h"
#endif
#include "BaseInPoint.h"
short shOrdNumBaseInPoint = 0;
BaseInPoint::BaseInPoint(void)
{
chMaxIteratoin = 0;
chIteration = 0;
chState = 0;
chReqCalc = 0;
shOrderNumber = 0;
}
//Copy constructor
BaseInPoint::BaseInPoint(BaseInPoint&cl)
{
chMaxIter... | [
"vid25prtvcs@gmail.com"
] | vid25prtvcs@gmail.com |
397bef116c0360a5ccafe2b4e63e19f8f8b50d30 | 8d5d1aa115959c24faeec6b1d7ae79c52605e7cf | /PE34/PE34/main.cpp | 996d0d1f6f6c021c1216aa3b3da554e14cd1a802 | [] | no_license | LeulShiferaw/ProjectEuler | eb159f3689c7dc1303a0368bd5fe1ba906965c03 | e4065b816c2540671b3e7a49b11aa979746b09f3 | refs/heads/master | 2023-04-27T10:12:18.215687 | 2023-04-20T21:05:20 | 2023-04-20T21:05:20 | 128,996,217 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 426 | cpp | #include <iostream>
using namespace std;
int factorial[10] = { 1, 1, 2, 6, 24, 120, 720, 5040, 40320, 362880 };
int sum_fac_dig(int n)
{
int res = 0;
while (n != 0)
{
res += factorial[n % 10];
n /= 10;
}
return res;
}
int main()
{
long long res = 0;
for (int i = 10; i < 100000000; ++i)
{
if (sum_fac_d... | [
"abiyleoul3@gmail.com"
] | abiyleoul3@gmail.com |
545e499e5e463cff558ef3df2d64cb99fe01e8fb | 62fe5e0acbeca0e24d3a2f480ef26a4521bdc0dd | /h25/h25.cpp | 398f2c6da0dd2cd39eee3d83d89a1deb2d492280 | [] | no_license | malaya7/CS150-intro-to-programming-Cpp | 60de06c044f525e034cad210ab43669f47caa2ad | a8ab9c7c12f33f97422ed89bbc09a423f34957ab | refs/heads/master | 2020-03-19T03:39:42.784784 | 2018-06-01T18:30:27 | 2018-06-01T18:30:27 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 566 | cpp | /**
@file h25.cpp
@author your name here
@version what day and meeting time
*/
#include <string>
// Add additional headers here
using namespace std;
string STUDENT = "malaya"; // Add your name Blackboard/occ-email ID
#include "h25.h"
const char * findStr(const char *str1, const char *s... | [
"noreply@github.com"
] | noreply@github.com |
623bbba0dce4eb93ebc0396d2efd34b93c23562c | 885e3829bba0529555a50894388625fca0c01922 | /include/TaskManager/Worker.hpp | f18aca80cc59b8c51b12800b1ca19dbc0bce3e97 | [] | no_license | DELTA37/WorkerPattern | 9ca73fce408a37d3a3dc5d752628267ec05379dc | f507b21e856d90da54a0af218ecb4e3b1db0773f | refs/heads/master | 2021-05-15T15:12:02.924193 | 2017-10-17T15:11:20 | 2017-10-17T15:11:20 | 107,285,465 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 848 | hpp | #include <iostream>
#include <mutex>
#include <memory>
#include <utility>
#include <atomic>
#include <deque>
#include <vector>
#include <pthread.h>
#include "Task.hpp"
class TaskManager {
std::deque<std::unique_ptr<Task>> tasks;
int max_workers;
int num_workers;
std::atomic<bool> running;
std::mutex tasks_mu... | [
"delta37@delta37.delta37"
] | delta37@delta37.delta37 |
4cf423b507ef223e9214f116954a181192757581 | 06ca0f8e85a72be932d2addf311a18b30b02142a | /SFML/Game_DEV_SFML/SpriteNode.hpp | cd35b3b8d3dc6399c23aaf021acf55606bcfccf5 | [] | no_license | MeMarcel/Learning | 104405117ef1bc4b949022511e5d1d5641820024 | acd53d68b4b96e9ff34d7a5641370c764e8dfcf4 | refs/heads/master | 2020-07-01T14:55:40.462040 | 2019-08-25T18:16:38 | 2019-08-25T18:16:38 | 201,202,824 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 372 | hpp | #ifndef SPRITENODE_HPP
#define SPRITENODE_HPP
#include "SceneNode.hpp"
class SpriteNode : public SceneNode{
public:
SpriteNode(const sf::Texture& texture);
SpriteNode(const sf::Texture& texture, const sf::IntRect& rect);
private:
virtual void drawCurrent(sf::RenderTarget& target, sf::RenderStates states)... | [
"marcelm-10a@hotmail.de"
] | marcelm-10a@hotmail.de |
237a3ee18993f58d26871ada4cfaa030ee0b0314 | 78da006e0e78b3b22cb2b3998fa753471f003322 | /GameEngine/RenderSystem.h | b865fbd8cbcef132208bab436e7b1f7f6403d524 | [] | no_license | alexbanks-git/Tanks3D-ACW | 3dc3fed0a6e736f5e37d7f50d3bbeee15d739721 | 6b17bf158e4f30a7541e7cd1d19306ffa9f3769d | refs/heads/master | 2020-08-03T11:17:38.335934 | 2019-04-03T15:08:30 | 2019-04-03T15:08:30 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 680 | h | #pragma once
#include "System.h"
#include "Renderer.h"
#include <vector>
class RenderComponent;
// Moves objects around based on PhysicsComponents
class RenderSystem :
public System
{
// Data
protected:
Renderer * _renderer;
// Structors
public:
RenderSystem();
virtual ~RenderSystem();
// Get / sets
public:
... | [
"arjunchauhan007@gmail.com"
] | arjunchauhan007@gmail.com |
6de15de8ee5a67b276f5d52deab0c0b17e9fb266 | af555a19cd2ffe3e775c33d32cebc2f96d27aa4b | /vendor/git.apache.org/thrift.git/lib/cpp/src/thrift/protocol/TDebugProtocol.cpp | d3c6bebf3a11e316b115156cff66c05c004bf005 | [
"Apache-2.0",
"MIT",
"LicenseRef-scancode-public-domain-disclaimer",
"FSFAP"
] | permissive | tokend/janus | 674ead9a29f437b3c05c0879d5b7f7bd20abfe72 | 5acf3f0ee360b975605a8995493a64d8e4362159 | refs/heads/master | 2020-04-12T04:12:47.673825 | 2019-02-28T19:25:39 | 2019-02-28T19:25:39 | 162,288,534 | 8 | 1 | MIT | 2019-02-28T19:25:40 | 2018-12-18T12:57:39 | Go | UTF-8 | C++ | false | false | 10,076 | cpp | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ma... | [
"noreply@github.com"
] | noreply@github.com |
dfc59a72f84b649b948aef66563070ffa09aa393 | 875d5faaa7daae794cf4206a2558117f21b71725 | /lib/catch.hpp | b575408f0972b7f683cbf45bed850765c65c62e4 | [] | no_license | habraham-toure/gestion-emploi-du-temps | 223ab5c3daf077d0758072fd24c4f187e60f0b8d | 1dd392421dc11c8436921bd058357bf6432af234 | refs/heads/main | 2023-07-05T01:46:26.577056 | 2021-08-26T13:21:34 | 2021-08-26T13:21:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 377,800 | hpp | #ifndef TWOBLUECUBES_SINGLE_INCLUDE_CATCH_HPP_INCLUDED
#define TWOBLUECUBES_SINGLE_INCLUDE_CATCH_HPP_INCLUDED
#define TWOBLUECUBES_CATCH_HPP_INCLUDED
#ifdef __clang__
# pragma clang system_header
#elif defined __GNUC__
# pragma GCC system_header
#endif
// #included from: internal/catch_suppress_warnings.h
#if... | [
"noreply@github.com"
] | noreply@github.com |
9ed39d96a96c6e7be9eb8f69ac9573dbbd1f2ad4 | 37bf77c75be5e4a1e43ae67c195697b5a9c018c0 | /src/api/xml/xmlmanagedobj.cpp | b13503812c95d3706c8575a2922a4025d877cac6 | [
"LicenseRef-scancode-other-permissive",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | mecctro/wasabi | dbaa656ad71f719fa7b227346dc892058212f96d | 49d293042ce17b0d137b2e4c6fc82a52bdb05091 | refs/heads/master | 2020-12-29T01:11:56.251711 | 2013-09-01T20:08:51 | 2013-09-01T20:08:51 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,785 | cpp | /*
Nullsoft WASABI Source File License
Copyright 1999-2003 Nullsoft, Inc.
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to u... | [
"killallthehumans@gmail.com"
] | killallthehumans@gmail.com |
7b8df271c910ca0d4ea0af8f087441ac8e0ca06d | 8a2f2efea44836225fb1bbe3a50a003481a926af | /AwoEngine/AwoEngine/Physics.cpp | 7098d9689c7f0e96fabb76f36176ea9a2853779b | [] | no_license | awoiro/BilliardsGame | d34c1203d10f3e92b8cbd24fed5e50b7828c644e | 39c9db73913c356562035622243a0ff654c90b01 | refs/heads/master | 2021-05-01T11:58:39.576681 | 2017-05-27T01:32:21 | 2017-05-27T01:32:21 | 70,028,441 | 1 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 3,449 | cpp | #include "Physics.h"
void Physics::StepPhysics()
{
m_pScene->simulate(1.0f / 10.0f);
m_pScene->fetchResults(true);
}
HRESULT Physics::Init()
{
HRESULT hr = E_FAIL;
m_pFoundation = PxCreateFoundation(PX_PHYSICS_VERSION, m_allocator, m_errorCallBack);
PxProfileZoneManager* profileZoneManager = &PxProfileZoneMana... | [
"awoiro7224@yahoo.co.jp"
] | awoiro7224@yahoo.co.jp |
e03131c121ae7872d28a945eca9efe47607b6923 | 9ae842446a4ee351f17da96b04a1b5cbcbd3701d | /assignment-13-project3/src/ofApp.cpp | e6c7c16aaad70f32670148350958a30282fec09e | [] | no_license | sungminro92/openFrameworks | c3597a55506a3ef0a2d4b860816bcf583f7a9497 | 94bf711b52b482c393a8eaf0713f322154ac6a40 | refs/heads/master | 2020-04-19T14:21:41.255975 | 2019-06-03T21:27:07 | 2019-06-03T21:27:07 | 168,242,483 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,390 | cpp | #include "ofApp.h"
ofColor pink(255,234,231);
ofColor skyBlue(166,206,206);
ofColor darkBlue(128,181, 175);
ofColor red(255,0, 0);
ofVec2f fire;
// x position of the door placement
int doorX[4] = {300, 700, 400, 600};
int doorY[4] = {215, 350, 485, 620}; // each floor
int floorY[4] = {285, 420, 555, 690};
//------... | [
"sungminro92@gmail.com"
] | sungminro92@gmail.com |
65c3c96db499b5d675cdadc721c44c6efb2992c2 | 9ef281f0c282d2147ef68a6ccc258c6198f151d4 | /cpp/hello.cpp | 919fa69045071550c36e000ff536f648f897b6e7 | [] | no_license | oPen-sOurce-bRewinG-pOT/all | f7e04f92749823fc82aa0de798b42ac7eda25a4a | 8ec402af5edaf2b18089a542a965d78b54d71582 | refs/heads/master | 2021-01-10T05:49:04.021149 | 2015-11-03T07:54:25 | 2015-11-03T07:54:25 | 45,450,366 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 125 | cpp | #include <iostream>
using namespace std ;
int main()
{
cout << "Hello world!\n" << "My first CPP Code!\n" ;
return 0 ;
}
| [
"sunip@Sunips-MacBook.local"
] | sunip@Sunips-MacBook.local |
82d71862ba8a3fae47c089b374af260ae4632505 | 5bc780f65e9ab510c6b520226bbb9843cfc59b21 | /menu.hpp | 6f49e484f034d70c108f8a9cb1982dd38bb261bb | [] | no_license | fabsgc/EFREI-S2-Chess | 087059d056525db1ebd75df5f1517c5121ec5b90 | 2ff5e32ec8036c3d962e2ee32d98fcf7bda39508 | refs/heads/master | 2021-03-12T19:28:58.443411 | 2017-09-08T16:13:13 | 2017-09-08T16:13:13 | 102,880,283 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 236 | hpp | #ifndef MENU_HPP_INCLUDED
#define MENU_HPP_INCLUDED
#include "function.hpp"
void drawMenu(Engine * engine);
void playMenu(Engine * engine);
void enregistrer(Engine * engine);
void charger(Engine* engine);
#endif // MENU_HPP_INCLUDED
| [
"fabienbeaudimi@hotmail.fr"
] | fabienbeaudimi@hotmail.fr |
589a29963d5dd0a97120230d0684d0a5369c07dc | 3d3d864c88bea587988830c265dc9cb329a41257 | /AST/AST.cpp | 49f796fb5ccdf355badb4658f83d85f5b027a203 | [] | no_license | s-kyo/YAVM | ce4028abc353c6368e36ef2903f8f68580440620 | 649e9e4461478d029ecb4ced5bfcb063e01633c4 | refs/heads/master | 2020-05-24T10:01:03.879722 | 2019-05-22T14:41:07 | 2019-05-22T14:41:07 | 187,219,840 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 770 | cpp | // AST.cpp : This file contains the 'main' function. Program execution begins and ends there.
//
// YAVM ---- Yet Another Vim for Mathematicians
#include <iostream>
#include <vector>
typedef enum _ObjectType {
T_TEXT,
T_EQUATION,
}ObjectType;
typedef enum _ObjectName {
//////////////////////////// EVIRONMENT ////... | [
"xushijie.cn@gmail.com"
] | xushijie.cn@gmail.com |
dc4ad6829256d6b496dd2af3f616e3c49e6351b2 | 24c710d3354a613dd2ea95d8f123be4d5d4407c2 | /module_05/ex02/Form.cpp | 03268bbf10d6b923cac84078f12e537f4fce8ba7 | [] | no_license | jiyoon1156/CPP_Module | 442166e9950c9aeaf38b4690011e71fe855ed34b | e297350c86a38caf0699db9a8bc293564d749c1e | refs/heads/master | 2022-12-08T17:34:16.277373 | 2020-09-05T03:57:08 | 2020-09-05T03:57:08 | 286,356,183 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,086 | cpp | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* Form.cpp :+: :+: :+: ... | [
"jiyoon1156@gmail.com"
] | jiyoon1156@gmail.com |
e25325c662b8e8a80126654da7d0527600096063 | 2de7554bb0517da07732d602616a946bf86431fc | /src/SharpSvn/Commands/RepositoryCopy.cpp | 67be7076b38cf5cbfca64597b6b4a21ac7525005 | [
"Apache-2.0"
] | permissive | AmpScm/SharpSvn | 8bf17428abd5e34a296dfff1d589037348cf4545 | af1d1415f0704ae107d82c60abbbd01e336bcb66 | refs/heads/main | 2023-08-08T14:17:54.574166 | 2023-07-28T12:30:40 | 2023-07-28T12:30:40 | 355,922,858 | 41 | 15 | Apache-2.0 | 2023-08-04T22:25:41 | 2021-04-08T13:41:24 | C | UTF-8 | C++ | false | false | 3,313 | cpp | // Copyright 2007-2009 The SharpSvn Project
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law... | [
"rhuijben@users.noreply.github.com"
] | rhuijben@users.noreply.github.com |
bc59c13b30aae846d6efb5f6817fb72d6c7986d2 | 1a4f6d71e5944d80ccee022999c77a29ece56ec6 | /tools/radiant/MRU.CPP | a0957cf121168014d2d014d5657630737185ba7d | [] | no_license | LavinasChange/qc | 8e43d20f08b620d1a1732c08234b4a1c586e84ce | fb08f8cd2ff50cd2c4b907ff43ab65a3479d4c3c | refs/heads/master | 2020-07-11T11:25:42.416507 | 2019-04-19T20:05:04 | 2019-04-19T20:05:04 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 20,584 | cpp | /*
===========================================================================
Doom 3 GPL Source Code
Copyright (C) 1999-2011 id Software LLC, a ZeniMax Media company.
This file is part of the Doom 3 GPL Source Code (?Doom 3 Source Code?).
Doom 3 Source Code is free software: you can redistribute it and/o... | [
"sjm@sjm.io"
] | sjm@sjm.io |
9a6e8943403c734ebb3e4c5c003fe1a5609877c0 | 0f33392fb1f73a50e9a01639e6225802398aa59e | /fusiontree.hpp | 89f232adc57657ee2221ee4156eb61f9f32db195 | [
"MIT"
] | permissive | 6851-2017/fusiontree | c3038837ccf71b142423824dcb4b8381689f0c75 | 24a61c4233ada72fc71dd089ef181e341eeca12e | refs/heads/main | 2023-04-22T01:26:02.418661 | 2021-05-15T20:41:48 | 2021-05-15T20:41:48 | 352,440,389 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,639 | hpp | //
// fusiontree.hpp
// Fusion Tree
//
// Created by Rogerio Aristida Guimaraes Junior on 1/23/18.
//
#ifndef fusiontree_hpp
#define fusiontree_hpp
#include <stdio.h>
#include <memory>
#include <vector>
#include "big_int.hpp"
using namespace std;
class environment {
public:
int word_size; // Size of the t... | [
"rjunior@mit.edu"
] | rjunior@mit.edu |
5908ac57146dc89a5795658517489b0f7a257d63 | 1260727ba17ac50741f686df98e7c82ce252778a | /src/database/kernels/copy/copy_6464.hpp | d0e312012ae460f314b01046b69213a0384583ce | [
"Apache-2.0"
] | permissive | jlwatson/CLBlast | d154b96127422606625f4dd5846ae52c0f4883a6 | 4bd197d42aa4849022fcb434600b37f32eed08c6 | refs/heads/master | 2022-12-08T11:19:09.089272 | 2020-09-09T10:27:46 | 2020-09-09T10:27:46 | 291,141,680 | 0 | 1 | Apache-2.0 | 2020-08-28T20:38:38 | 2020-08-28T20:38:38 | null | UTF-8 | C++ | false | false | 10,700 | hpp |
// =================================================================================================
// This file is part of the CLBlast project. The project is licensed under Apache Version 2.0. It
// is auto-generated by the 'scripts/database/database.py' Python script.
//
// This file populates the database with be... | [
"web@cedricnugteren.nl"
] | web@cedricnugteren.nl |
c7bd9cb7ff185eed5e7707c7530f625b77426ca5 | f1d98b1b98528b6a29ea7b6449dd27294bf06c7d | /2490_윷놀이/playing.cpp | e0ef16cfd0c99adaf7366c58cf1a7d710e8a8e3c | [] | no_license | hansori-c/BackJoon_Algorithm | 2b2cc69156dab54c2783fddcee80a542b1c1277c | c7cb5e816eabbb1256030bdd50b91a7f8a79e1cb | refs/heads/master | 2022-01-10T17:29:32.285691 | 2018-05-31T12:49:37 | 2018-05-31T12:49:37 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 295 | cpp | /*
2018 Apr 14, made by Moon
*/
#include <cstdio>
int main() {
char ch[5] = { 'D', 'C', 'B', 'A', 'E' };
for(int t = 0; t < 3; t++) {
int i, n, cnt;
for (i = 1, cnt = 4; i <= 4; i++) {
scanf("%d", &n);
if (n == 0) {
cnt--;
}
}
printf("%c\n", ch[cnt]);
}
return 0;
} | [
"mgyang95@gmail.com"
] | mgyang95@gmail.com |
2d227fd51efb4556c5009df095a70d4b36e40e4c | 585a67412139ab94d1258624da34dfd0b896086e | /chapter06/myMoveBall/myMoveBall_02_ball_acceleration/src/ofApp.h | bc509dd563cdbb734a76267121cb16ba583a9a40 | [] | no_license | kyoungchinseo/oFGuideBook | 1c402d3ca3be02bc1cef51e2fd9aecba487b1243 | 6ec1084c8ab11f87980c61e2c58a8703911d59b2 | refs/heads/master | 2020-03-28T17:42:01.407611 | 2018-09-27T14:29:19 | 2018-09-27T14:29:19 | 148,426,089 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 660 | h | #pragma once
#include "ofMain.h"
class ofApp : public ofBaseApp{
public:
void setup();
void update();
void draw();
void keyPressed(int key);
void keyReleased(int key);
void mouseMoved(int x, int y );
void mouseDragged(int x, int y, int button);
void mousePressed(int x, int y, int button);
void mo... | [
"kcseo.acm@gmail.com"
] | kcseo.acm@gmail.com |
3575b925279e078e88decfcd7cbaa3546a43894c | a058bd3fa22cf06cc505c892df6033e8d18546b4 | /stxxl/tests/containers/test_vector_resize.cpp | 0621cefa5692705b0b9867d1c4791712f63fbf07 | [
"BSL-1.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | SilvioWeging/kASA | 452cac7b4f979fc454fd2421bbf62b741663617c | 19aa8ab1931acd9bfb7ecd9b356ac5855941146c | refs/heads/master | 2022-12-06T01:37:55.514560 | 2022-11-23T13:58:56 | 2022-11-23T13:58:56 | 177,816,676 | 24 | 4 | BSL-1.0 | 2023-08-23T19:27:38 | 2019-03-26T15:26:53 | C++ | UTF-8 | C++ | false | false | 1,251 | cpp | /***************************************************************************
* tests/containers/test_vector_resize.cpp
*
* Part of the STXXL. See http://stxxl.sourceforge.net
*
* Copyright (C) 2015 Timo Bingmann <tb@panthema.net>
*
* Distributed under the Boost Software License, Version 1.0.
* (See accompa... | [
"silvio.weging@gmail.com"
] | silvio.weging@gmail.com |
24dc4a39ff031ed137c0851efb544f8cd80834f8 | b1475417ef95da4292c38d235d8dc3afc1f8b940 | /fml_ast_interpreter/src/visitors/ExecVisitor.h | 4a942e7ba041797ceb1e7e7e08e5d2b31e126b30 | [] | no_license | heppyn/NI-RUN | 0fbef8f5fb970d1da5aedaf6ae4e254d21d58303 | f3b5384a221912fbaa1b8f180620a1b02a2828b3 | refs/heads/master | 2023-03-14T11:03:08.002258 | 2021-03-04T21:09:04 | 2021-03-04T21:09:04 | 341,511,388 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,624 | h | #ifndef FML_AST_INTERPRETER_EXECVISITOR_H
#define FML_AST_INTERPRETER_EXECVISITOR_H
#include "../AstNodes.h"
#include "../Environment.h"
class ExecVisitor : public Visitor {
private:
Environment* m_env = new Environment{ nullptr };
Environment* m_env_prev = nullptr;
public:
~ExecVisitor() {
d... | [
"hepneluk@fit.cvut.cz"
] | hepneluk@fit.cvut.cz |
b2348e560ee5a07772dd8c3ae1c47bbd9b696e1d | 94699dbdc1e483efd1c958a13081eeaac55b3af6 | /Silver 2014 Jan/slowdown.cpp | f3364812ae2b0e0e9666d278124c8e19432ba120 | [
"MIT"
] | permissive | ishaanjav/USACO-Solutions | 11df110821cd42870a7d8bb55276a56fd1ac5f4c | 7fa1442e910b9855e42133ff9932eaba8727b680 | refs/heads/main | 2023-04-06T00:39:59.435753 | 2021-04-01T13:39:59 | 2021-04-01T13:39:59 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,318 | cpp | /*
* Created by ishaanjav
* github.com/ishaanjav
* USACO Solutions: https://github.com/ishaanjav/USACO-Solutions
*/
#include <iostream>
#include <fstream>
using namespace std;
#define ll long long
#define pb push_back
#define ins insert
#define mp make_pair
#define pii pair<int, int>
#define pil pair<int, ll>
#de... | [
"ishaanjav@gmail.com"
] | ishaanjav@gmail.com |
99933aed8a6ae08e22954bf450239fe053e7f935 | c6550f150e145fccddd9bcd3184f63b38034702c | /winrt/lib/effects/generated/ColorMatrixEffect.cpp | 3b3207303da3ac5b2181ffa3c515e283f87cfccc | [
"MIT"
] | permissive | oneonces/Win2D | dd2e823dcb6dd7822f706ba00bb8e0105a01fabc | 86f3b80ebe5e74ab15b9d6d129d4523b5aab0fe0 | refs/heads/master | 2020-05-25T19:03:42.162348 | 2016-05-05T23:40:17 | 2016-05-05T23:40:17 | 49,134,110 | 0 | 0 | null | 2016-01-06T12:34:01 | 2016-01-06T12:33:58 | null | UTF-8 | C++ | false | false | 2,046 | cpp | // Copyright (c) Microsoft Corporation. All rights reserved.
//
// Licensed under the MIT License. See LICENSE.txt in the project root for license information.
// This file was automatically generated. Please do not edit it manually.
#include "pch.h"
#include "ColorMatrixEffect.h"
namespace ABI { namespace Microsoft... | [
"shawnhar@microsoft.com"
] | shawnhar@microsoft.com |
0547fc0610a806818df6d3de73f60055748c87af | ef516abbf3cafc99dec7e12ddd9ee9423a0ccd93 | /Synergy/src/Synergy/Renderer/RendererAPI.h | 7342e27fd88b756992a200f47909c016bfa19827 | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | nmrsmn/synergy | 15fb3baf851ab600b7a716c8ee26ee39b2f369a0 | 7f77c70c131debe66d2e91e00827fd30e736cf81 | refs/heads/develop | 2021-04-13T06:32:56.229898 | 2020-05-17T15:08:24 | 2020-05-17T15:08:24 | 249,143,774 | 0 | 0 | MIT | 2020-05-22T11:15:13 | 2020-03-22T08:40:09 | C | UTF-8 | C++ | false | false | 1,638 | h | // Created by Niels Marsman on 18-04-2020.
// Copyright © 2020 Niels Marsman. All rights reserved.
#ifndef SYNERGY_RENDERER_RENDERERAPI_H
#define SYNERGY_RENDERER_RENDERERAPI_H
#include <map>
#include <glm/glm.hpp>
#include "Synergy/Core.h"
#include "Synergy/Renderer/Shader.h"
#include "Synergy/Renderer/Texture.h"
... | [
"niels.marsman@luminis.eu"
] | niels.marsman@luminis.eu |
3eb2c6539bc84ee3735489d36efc66786c5ac87d | e91f216ea2cf9f2ecf2a770ebc6334d7034cbf94 | /Baekjoon/4344평균은넘겠지.cpp | afd3d94bf41e2e43ab45c62235c3e89c3c7b3007 | [] | no_license | HelloMandu/OnlineJudge | 4c870a737ba8c479adf0f7763ca38afd7761e9a3 | 2dd0abc4066fd0b1f28346f8913ece88167eee99 | refs/heads/master | 2023-01-09T22:53:27.036594 | 2022-12-28T09:38:39 | 2022-12-28T09:38:39 | 168,956,239 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 484 | cpp | #include<stdio.h>
#include<stdlib.h>
#pragma warning(disable :4996)
int main() {
int c, n;
int sum = 0, avg;
int cnt = 0;
scanf("%d", &c);
while (c--) {
scanf("%d", &n);
int *score = (int*)malloc(sizeof(int)*n);
for (int i = 0; i < n; i++) {
scanf("%d", &score[i]);
sum += score[i];
}
avg = sum / n... | [
"tjdals6695@gmail.com"
] | tjdals6695@gmail.com |
fc7822e698c4b95a818f15f7b84b4b9c29e8febf | 7881f25a43bf4d21555b6e8b5bf05e3260ee5e65 | /zlibrary/core/src/win32/config/ZLWin32Config.cpp | 8713f499630904a0c34d877c8337c98c68be89af | [] | no_license | euroelessar/FBReader | 6340b2f6d47081182ef09249f06d3645f1af24b3 | bf1d1154b381e1f42716ceb205717cec4b14dd6d | refs/heads/master | 2021-01-16T18:53:28.430814 | 2014-01-28T02:22:56 | 2014-01-28T02:22:56 | 2,273,820 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,090 | cpp | /*
* Copyright (C) 2004-2013 Geometer Plus <contact@geometerplus.com>
*
* 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; either version 2 of the License, or
* (at your option) any later ver... | [
"geometer@fbreader.org"
] | geometer@fbreader.org |
b69edfd6a1edeefabc7aa0457659f945bcf632fb | ce2c2f47c391dfc934565067cad7d0fdd6ab4bd4 | /finalbank.cpp | dd3d313aebe91f2ce8316b1caa4078e0d364d79b | [] | no_license | ahmadbingulzar/Bank-management-in-c-plus-plus | 8f52a95a913555d8825781f79b314bab79cd05e7 | a186b09edb60a60a31ec12d719ed0b5204c0ae42 | refs/heads/main | 2023-07-02T02:49:30.753948 | 2021-07-14T19:39:37 | 2021-07-14T19:39:37 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,292 | cpp | /*This is a banking management system and create accountoldfile informatin of account ,make transactions,check details ,
remove account ,view total accounts list */
#include<iostream>
#include<fstream>
#include<stdio.h>
#include<time.h>
#include"validations.h"
#include<string>
#include<regex>
using namespace std;
//thi... | [
"ahmadbingulzar@gmail.com"
] | ahmadbingulzar@gmail.com |
4e752dbb67427a0b5d1d9dec1df31174dc98bee2 | 8e397542b84257e91ef30ba43a417fcbf7edb5cc | /AlgorithmsInC++/DijkstrasSPTest.h | 6b8db6815a5c26b023c85dbe822c833834b6e1ba | [] | no_license | JoseVillalta/Data-Structures-and-Algorithms-in-C- | 3ed801f5628ebee58bbefba50a6583aa7afcfa56 | 9a1e4cda3da7f077eaca2391cc2d4418da1e243f | refs/heads/master | 2020-05-22T04:14:18.746431 | 2018-02-22T15:26:27 | 2018-02-22T15:26:27 | 48,241,381 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 142 | h | #pragma once
#include "stdafx.h"
#include "DijkstrasAlgorithm.h"
class DijkstrasSPTests
{
public:
void DoTests();
void testDSPT();
}; | [
"jvillalta@impinj.com"
] | jvillalta@impinj.com |
cd81e55ace58137dd700211761c9c49ff78405aa | c0b577f881c8f7a9bcea05aaad364a7e82bdec8a | /Source/ISS/Development/PawsSupport/Devices/Dmm/Cem/Dmm_T.h | ee159fbb721330864dade6e4f69dc53c99588841 | [] | no_license | 15831944/GPATS-Compare | 7e6c8495bfb2bb6f5f651e9886a50cf23809399f | d467c68381d4011f7c699d07467cbccef6c8ed9a | refs/heads/main | 2023-08-14T09:15:18.986272 | 2021-09-23T16:56:13 | 2021-09-23T16:56:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,325 | h | //2345678901234567890123456789012345678901234567890123456789012345678901234567890
///////////////////////////////////////////////////////////////////////////
// File: Dmm_T.h
//
// Date: 12-May-04
//
// Purpose: Instrument Driver for Dmm
//
// Instrument: Dmm <device description> (<device type>)
//
//
// R... | [
"josselyn.webb@gmail.com"
] | josselyn.webb@gmail.com |
ac04b0a84103aa325458bae00dfb7c0f57509d76 | 91549d2b19466e9c394acdeb8dfbca48901520eb | /nested_loop.cpp | 87b8a76a2a4a3e6e51d03e7b109b9e8db797af01 | [] | no_license | aaqib-yfz/1st-Semester | b3331719f501cf5e8db7653a4f9324b9d7755cef | 349b4df3a59110d36ef1c39d5f4cd536a7feedbf | refs/heads/master | 2023-07-13T22:03:12.997786 | 2021-08-24T15:30:32 | 2021-08-24T15:30:32 | 349,517,521 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 172 | cpp | #include <iostream>
using namespace std;
int main()
{
for (int i = 5; i >=1; i--)
{
for (int j = 1; j <= i; j++)
cout <<"*";
cout << endl;
}
return 0;
} | [
"aaqibshaheer2001@gmail.com"
] | aaqibshaheer2001@gmail.com |
ca0a27c2fca8ce358de3d373c087b26c9fdfb5fb | 6bd2c66b1c9bf984f2dfb866bb97ecf29d69ae0f | /src/uint256.h | 9e921b73d69768c69bd19f33832ecf678602910d | [
"MIT"
] | permissive | futurecoin1/futurecoin1 | efe8280d39b8df32a075623a7e70102a4aaf9c01 | 0a6f143b0b37bd5245ae5bab04baf7d61d1c7fb2 | refs/heads/master | 2020-07-15T12:34:24.799080 | 2017-04-17T10:13:48 | 2017-04-17T10:13:48 | 65,669,859 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 24,687 | h | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2012 The Bitcoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef BITCOIN_UINT256_H
#define BITCOIN_UINT256_H
#include <string>
#include <v... | [
"futuredev@protonmail.com"
] | futuredev@protonmail.com |
4c7cbdb527787703c590fef0a8e56b6cbca0d4f5 | 32b6a5c5c827151cb32303c201f49a5304d81cf5 | /src/mastering_ros_demo_pkg/src/demo_action_server.cpp | cd3af1d4825e8cae53342febfd3fe15b2992888b | [] | no_license | Russ76/catkin_ws | 1a5d08b4081598bcf0d5f6edf78bb8a2401b5f76 | 1d69b3d46b9ed3dfa2d383a45a87fd3aeb866799 | refs/heads/master | 2023-03-17T18:01:29.686490 | 2017-11-06T08:12:40 | 2017-11-06T08:12:40 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,215 | cpp | #include "ros/ros.h"
#include "std_msgs/Int32.h"
#include <actionlib/server/simple_action_server.h>
#include "mastering_ros_demo_pkg/Demo_actionAction.h"
#include <iostream>
#include <sstream>
class Demo_actionAction
{
protected:
ros::NodeHandle nh_;
// NodeHandle instance must be created before this line. Otherwi... | [
"gauss.seidel.fr@gmail.com"
] | gauss.seidel.fr@gmail.com |
c850b4840c700edd9e4f31696bf8d36d869ce989 | 2045263497b0b0b0e272eea4ad4510b9c83f7b6b | /Minigin/BorderBlock.cpp | 1f12b7ca5f0a1c8b6531be7fa8b508377ec96179 | [] | no_license | Myvampire99/Minigin | 82f6faaa13114ab92fab71c407a91df9b0dabe92 | d3633b55e29465e05e4772b54c4bcf736ad79306 | refs/heads/master | 2022-02-27T11:45:17.089938 | 2019-10-08T14:09:49 | 2019-10-08T14:09:49 | 188,622,379 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 496 | cpp | #include "MiniginPCH.h"
#include "BorderBlock.h"
BorderBlock::BorderBlock(CollisionBox* coll)
:LevelObject("Resources/Textures/point.jpg")
, m_Coll{ coll }
{
dae::Singleton<CollisionManager>::GetInstance().AddCollision( m_Coll );
}
BorderBlock::~BorderBlock()
{
dae::Singleton<CollisionManager>::GetInstance().Rem... | [
"47989066+Myvampire99@users.noreply.github.com"
] | 47989066+Myvampire99@users.noreply.github.com |
3657e5e9aaec66e2893b39df3d0f25025713eaa3 | e46a7d93c35badc46b9471c06311952c2d411ff5 | /Algorithm/Implementation/kangaroo.cpp | 5a86916a66ca1a825546c4fc4be5db25b32a936b | [] | no_license | Bhavyaratra/Hackerrank-practice | 82ddbd78929f9fa46b44a992c91e9989849028af | 2d54a6e5e6d743425a9cccfd113cf3b12a3833e0 | refs/heads/master | 2023-06-09T23:57:17.808408 | 2021-06-27T12:04:18 | 2021-06-27T12:04:18 | 296,431,145 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 479 | cpp | #include <iostream>
#include<vector>
using namespace std;
int main ()
{
int x1,v1,x2,v2;
cin>>x1>>v1>>x2>>v2;
int p1=x1,p2=x2;
if (x1==x2)
{
cout<<"YES";
return 0;
}
if ((x1>x2 && v1>v2) || (x2>x1 && v2>v1) )
{
cout<<"NO";
return 0;
}
whi... | [
"bhavya.r1220@gmail.com"
] | bhavya.r1220@gmail.com |
a7bb47b060e99e7ab2b3ff0b0d4f36085e1496f8 | f23bf2d9dfa65281dafa74cd22de796c03d575f2 | /atcoder/APG4b/complete_time.cpp | 6795ce68f9735df5af04d8014e8a5774312c6ef0 | [] | 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 | 1,235 | cpp | #include <bits/stdc++.h>
using namespace std;
// x番の組織について、子組織からの報告書が揃った時刻を返す
// childrenは組織の関係を表す2次元配列(参照渡し)
int complete_time(vector<vector<int>> &children, int x) {
// (ここに追記して再帰関数を実装する)
if (children.at(x).size() == 0) return 0;
int s = 0;
for (auto &i:children.at(x)) {
s = max(s, complete_time(child... | [
"trmr@TRMR-MB.local"
] | trmr@TRMR-MB.local |
c9eefa264a09dde9af6c81cfdb1bfbffea1f35db | 4652840c8fa0d701aaca8de426bf64c340a5e831 | /third_party/WebKit/Source/core/paint/PaintLayerPainterTest.cpp | 258637a394741ab3fd92de03f51dffd9c7259111 | [
"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 | remzert/BraveBrowser | de5ab71293832a5396fa3e35690ebd37e8bb3113 | aef440e3d759cb825815ae12bd42f33d71227865 | refs/heads/master | 2022-11-07T03:06:32.579337 | 2017-02-28T23:02:29 | 2017-02-28T23:02:29 | 84,563,445 | 1 | 5 | BSD-3-Clause | 2022-10-26T06:28:58 | 2017-03-10T13:38:48 | null | UTF-8 | C++ | false | false | 47,628 | cpp | // Copyright 2015 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 "core/layout/LayoutBoxModelObject.h"
#include "core/layout/compositing/CompositedLayerMapping.h"
#include "core/paint/PaintControllerPaintTest.h"... | [
"serg.zhukovsky@gmail.com"
] | serg.zhukovsky@gmail.com |
7a4b82c394384a1f2e4e4688c2661d9eaab0a89f | 0350bce9b0672d478fd0e3e459662ae0e2c9d1c0 | /Haushaltsbuch/posting.cpp | 097c61d3e5502b6f7445c3f02642f3340e4adae7 | [] | no_license | fschmidt/C--4J | 576401e786473515dd05378ec2558fb07c980e25 | 0bbcd5b01030316e110f6db8d0b1b73f5232b7a7 | refs/heads/master | 2021-01-20T04:49:50.747302 | 2012-07-10T11:42:21 | 2012-07-10T11:42:21 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 572 | cpp | #include "posting.h"
Posting::Posting(){}
Posting::Posting(QString name, double sum, int categorie, bool earning, QString discription, QDateTime date) :
m_name(name),
m_sum(sum),
m_categorie(categorie),
m_earning(earning),
m_discription(discription),
m_date(date){}
QString& Posting::name(){ re... | [
"marcus.froede@gmx.de"
] | marcus.froede@gmx.de |
165dc7ac36f148fb503c0d2f281007f2edba4738 | 1cb5af2a44d54b3c2870b95eb66f092edb3a779a | /LeetCode/Medium/1237. Find Positive Integer Solution for a Given Equation/main.cpp | de7d1835a315636b803aa5ffffd00ea9561f2fe7 | [] | no_license | jmmm25/Algorithm | baabc36067e6b01c1ef1e8ee9f3476bcd0f7e3b6 | 072bb8fe6b1bd7147b1034fe8d242d6aa5e14115 | refs/heads/master | 2023-04-07T23:03:11.062147 | 2021-04-08T23:56:37 | 2021-04-08T23:56:37 | 257,604,895 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 727 | cpp | #include <iostream>
#include <vector>
using namespace std;
// This is the custom function interface.
// You should not implement it, or speculate about its implementation
class CustomFunction
{
public:
int f(int x, int y);
};
class Solution
{
public:
vector<vector<int>> findSolution(CustomFunction &customfun... | [
""
] | |
8b28a122b8103134b02caef36c41366a37d6bb2a | 9e78a5a7dbd79d40ef1a8ca6e9d45620cf594cd0 | /Leetcode/380. Insert Delete GetRandom O(1).cpp | ddb0b8165ff922e124faa715e64f3fe896372ca2 | [] | no_license | Akimbaevsako/CodeIt | ff6cf2bde5e5e95b37d818e4ace7774c2a2ec64b | 22e27d94d76ec044ca65d1169cb3f8d610fa2bf3 | refs/heads/master | 2023-04-04T23:16:52.822415 | 2021-03-12T18:53:41 | 2021-03-12T18:53:41 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,121 | cpp | /*
380. Insert Delete GetRandom O(1)
Design a data structure that supports all following operations in average O(1) time.
1. insert(val): Inserts an item val to the set if not already present.
2. remove(val): Removes an item val from the set if present.
3. getRandom: Returns a random element from current set of eleme... | [
"noreply@github.com"
] | noreply@github.com |
ebe330a2a7c8b02b4460731ae63d4f6cc7742317 | d97993401b9053d882efa9e1016ec710083088a1 | /3DScanner_v1.1/dhx64.cpp | 84d02e41938476f19ca937fd9a2e8b20eb94ece8 | [] | no_license | xfsun99/3DScanner | 946fb33e3f92c05c9320058cad3cbcf051c8234e | 63fec771b882c1ad71416bbe663c2cd0bfb300c3 | refs/heads/master | 2021-01-21T14:19:48.980174 | 2017-06-26T09:54:55 | 2017-06-26T09:54:55 | 95,432,345 | 3 | 0 | null | null | null | null | GB18030 | C++ | false | false | 24,069 | cpp | #include "dhx64.h"
#include <QMessageBox>
#include <QStandardItemModel>
#include <QFont>
#include <QFileDialog>
static void ProcessData(BYTE *pImageBuf, BYTE *pImageRGBBuf,BYTE* m_pImgRaw8Buffer,
int64_t nImageWidth, int64_t nImageHeight,int64_t m_nPixelFormat,int64_t m_nPixelColorFilter);
camera::camera()
{
}
ca... | [
"sunxiaofei4200426@163.com"
] | sunxiaofei4200426@163.com |
eb154c255cdcfe37aa9246779f388d799cce7bc2 | fec81bfe0453c5646e00c5d69874a71c579a103d | /blazetest/src/mathtest/operations/smatsmatadd/MZaUCa.cpp | 6b9749a436be8d266051e79ec7cc199f08805164 | [
"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,165 | cpp | //=================================================================================================
/*!
// \file src/mathtest/operations/smatsmatadd/MZaUCa.cpp
// \brief Source file for the MZaUCa sparse matrix/sparse matrix addition math test
//
// Copyright (C) 2012-2020 Klaus Iglberger - All Rights Reserved
//
//... | [
"klaus.iglberger@gmail.com"
] | klaus.iglberger@gmail.com |
1989e0d90b0dde13be4053ddbb749adedb77afaa | 664197987357e2bb32ac16527c4db2ef80801994 | /Project_Warm_Steel.Altis/tf47CoreScripts/tf47CfgFunctions.hpp | 6820dc3f8c57e2b466dea862f0ff419724de8d21 | [] | no_license | TaskForce47/Project-Warm-Steel | 447e9cbe2dd64ae9d1f889640170355f70436092 | e98f48e9dfa5f1ef4f19443378ce9737c147392e | refs/heads/master | 2021-01-11T21:27:32.748700 | 2016-04-19T10:37:43 | 2016-04-19T10:37:43 | 78,788,543 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 570 | hpp | /*
* include in existing CfgFunctions class
*/
//class cfgFunctions{
class tf47 {
tag = "tf47";
//class CoreScripts {
// file = "tf47CoreScripts";
//};
class Whitelist {
file = "tf47CoreScripts";
//class vehicleOnEnter;
class addGetInEvent;
class addGetOutEvent;
};
class Helpers {
fi... | [
"4lucke@gmail.com"
] | 4lucke@gmail.com |
9611156ff9f6e72d26799b80c76b679bfd8b69d0 | 3ce6064281cfcbf3b40c5b2a907847e32ba6add8 | /src/Game/CResult.cpp | 1b652592ef4a0945f2574ebccdf94d2452084456 | [] | no_license | xvatic/CounterStrike-DuelMode | 9986b633b27a98885f782315f3b0dd4bb12fe58d | cdd748ebc63450d2441433760ac388c840c2c0c2 | refs/heads/main | 2023-06-05T01:06:33.106560 | 2021-07-01T16:12:15 | 2021-07-01T16:12:15 | 382,090,140 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,233 | cpp | #include "CResult.h"
void CResult::cleanFile (const std::string & path) {
std::ofstream ofs;
ofs.open(path, std::ofstream::out | std::ofstream::trunc);
ofs.close();
}
bool is_digits(const std::string & str) {
return str.find_first_not_of("0123456789") == std::string::npos;
}
void CResult::fetchResult... | [
"glazkovE@gmail.com"
] | glazkovE@gmail.com |
c2ff21992f2ffff1fc6986f0ba11b8f8b4135b6b | 163bad17c2ba0aeeb05e29d1a7f870e675ee28eb | /hikyuu_cpp/hikyuu/indicator/imp/IDiff.cpp | 739e3575a902e608d6e0ac0f447ed55949fee0ff | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | fasiondog/hikyuu | 8b7bc4fd99ff915c621586a480c3663ef3fae464 | 86b0fa5b0e847d9a04905bca93660a7a33fc9fc2 | refs/heads/master | 2023-09-03T15:04:33.983389 | 2023-09-03T11:17:46 | 2023-09-03T11:17:46 | 5,103,141 | 1,884 | 547 | MIT | 2023-09-06T16:53:51 | 2012-07-18T23:21:42 | C++ | UTF-8 | C++ | false | false | 756 | cpp | /*
* IDiff.cpp
*
* Created on: 2013-4-18
* Author: fasiondog
*/
#include "IDiff.h"
#if HKU_SUPPORT_SERIALIZATION
BOOST_CLASS_EXPORT(hku::IDiff)
#endif
namespace hku {
IDiff::IDiff() : IndicatorImp("DIFF", 1) {}
IDiff::~IDiff() {}
bool IDiff::check() {
return true;
}
void IDiff::_calculate(const In... | [
"fasiondog@163.com"
] | fasiondog@163.com |
a4c5ca1f0fa1a0419202f026052dcdd06ccbae40 | 01cbbfd33025d90c47d44bee5c9293abef008218 | /Online Judges/atCoder/atcoder beginner contests/171/a.cpp | f03e27c8a73a561b02e71524b0a07e4549e84cbb | [] | no_license | trifiasco/CPPS | a07c8ec5e897f0f35b139d824b2e9dab776ee99e | 9ba955989768cc327c8b1ef0afd1be7730f65685 | refs/heads/master | 2021-09-24T02:23:52.571710 | 2021-09-21T17:27:15 | 2021-09-21T17:27:15 | 124,777,024 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,555 | cpp | #pragma comment(linker, "/stack:640000000")
#include <algorithm>
#include <bitset>
#include <cassert>
#include <cctype>
#include <climits>
#include <cmath>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <fstream>
#include <iostream>
#include <iomanip>
#include <iterator>
#include <list>
#include <map... | [
"trifiasco@gmail.com"
] | trifiasco@gmail.com |
8fc2b3b9b7757bf1b2043bc99c6cb1b40a0c4b06 | 34aa58efb0bd2908b6a89b97e02947f6ab5523f2 | /server/系统模块/客户端组件/图形类库/Control/UIWkeBrowser.h | ab8face56e205721e80dc76b660123c960566616 | [] | no_license | aywlcn/whdlm | 8e6c9901aed369658f0a7bb657f04fd13df5802e | 86d0d2edb98ce8a8a09378cabfda4fc357c7cdd2 | refs/heads/main | 2023-05-28T14:12:50.150854 | 2021-06-11T10:50:58 | 2021-06-11T10:50:58 | 380,582,203 | 1 | 0 | null | 2021-06-26T19:31:50 | 2021-06-26T19:31:49 | null | GB18030 | C++ | false | false | 2,367 | h |
#ifndef __WKE_BROWSER_H__
#define __WKE_BROWSER_H__
#pragma once
///////////////////////////////////////////
//网页加载状态改变的回调
class CWkeWebkitLoadCallback
{
public:
virtual void OnLoadFailed()=0;
virtual void OnLoadComplete()=0;
virtual void OnDocumentReady()=0;
};
///////////////////////... | [
"494294315@qq.com"
] | 494294315@qq.com |
94ef3a0d8aa9dd29f1dc62e9b37c2685a0ddc208 | e5f74db2b079783fbf923826e3ee0d061849a889 | /Code/GeometryWidgets/dialogCreateCone.cpp | 01309a920680383e066abf73f92cd723d986d9b9 | [
"BSD-3-Clause"
] | permissive | sunhan01/FastCAE | 57b6ba145864978ffcc57dd4721a17d4b6c350f8 | 4e9e9aa1cc076bc3ba5d7823fb61e5b0a9dc2e72 | refs/heads/master | 2023-02-12T14:56:52.414267 | 2021-01-11T05:43:42 | 2021-01-11T05:43:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,312 | cpp | #include "dialogCreateCone.h"
#include "ui_dialogCreateCone.h"
#include "geometry/geometrySet.h"
#include "geoPointWidget.h"
#include "GeometryCommand/GeoCommandList.h"
#include "GeometryCommand/GeoCommandCreateCone.h"
#include "geometry/geometryParaCone.h"
#include <QMessageBox>
#include "python/PyAgent.h"
#include <m... | [
"libaojunqd@foxmail.com"
] | libaojunqd@foxmail.com |
f8bca23226fb87dcffd6589058d7481b4f1191c0 | 188fb8ded33ad7a2f52f69975006bb38917437ef | /Fluid/processor5/0.07/polyMesh/points | 82d9ba553cb8e62f48994cc5a6df16e3dafe642b | [] | no_license | abarcaortega/Tuto_2 | 34a4721f14725c20471ff2dc8d22b52638b8a2b3 | 4a84c22efbb9cd2eaeda92883343b6910e0941e2 | refs/heads/master | 2020-08-05T16:11:57.674940 | 2019-10-04T09:56:09 | 2019-10-04T09:56:09 | 212,573,883 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 22,460 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: dev |
... | [
"aldo.abarca.ortega@gmail.com"
] | aldo.abarca.ortega@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.