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 986
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 3.89k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 23
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 145
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 122
values | content stringlengths 3 10.4M | authors listlengths 1 1 | author_id stringlengths 0 158 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
bf19f68bec70db9656d762b8bb44647347443f6c | 0ac73a0e9174df52a4fffce472aff67cc1a98ae7 | /cable_winder_dev/cable_winder_dev.ino | 581fb479dd4906fb748d8e0fc525be894e0af261 | [] | no_license | esleon97/SpoolRewinder | 9e63b01c4ad81b7fa59a720fbf07f8d465467e84 | a7899ac87642c6494fa0a1176b9ceb027c589f35 | refs/heads/master | 2023-04-26T04:43:17.703054 | 2021-05-25T17:58:06 | 2021-05-25T17:58:06 | 370,148,091 | 0 | 0 | null | 2021-05-25T17:58:06 | 2021-05-23T20:11:02 | null | UTF-8 | C++ | false | false | 14,814 | ino | /*
Program to run Cable Winder
Developed by Kevin Bhimani and Esteban Leon with help from Eric Martin.
Will move winder a number of turns based on input to run command.
Will move the guide back and fourth at a speed relative to the winder based on the wind pitch setting.
Guide direction reverses w... | [
"42650240+EricLarueMartin@users.noreply.github.com"
] | 42650240+EricLarueMartin@users.noreply.github.com |
a2f6013a3af66497facc96a24dfcb3be398f22f6 | c51919425871367c55f100d91b8d5335171bb37b | /src/sep/src/emoji.h | 0cf3cde112638d5f1ab5c6990e4230a7359f4c7c | [
"Apache-2.0"
] | permissive | hugh67/clause | ecf8408cb43b358fed78a7b44b7a1f1c4c80144a | 27247532a8644f9f1fd826b535951891232b686d | refs/heads/master | 2020-08-16T20:20:22.029690 | 2019-09-30T15:29:41 | 2019-09-30T15:29:41 | 215,547,745 | 2 | 0 | NOASSERTION | 2019-10-16T12:53:32 | 2019-10-16T12:53:28 | null | UTF-8 | C++ | false | false | 904 | h | /***************************************************************************
*
* Copyright (c) 2019 Chatopera.Inc, Inc. All Rights Reserved
*
**************************************************************************/
/**
* @file /Users/hain/chatopera/chatopera.io/clause/src/sep/src/emoji.h
* @author Hai Liang W... | [
"hain@chatopera.com"
] | hain@chatopera.com |
f20010282a53c0cc296686905a391f0b83b77c88 | b62fd98af7ad63cb782165633aa8c9da90b0fa9c | /trunk/src/boost_utils.cpp | d87b406cdfb8ff0459286fb2a7f5dc7d2c62481d | [
"MIT",
"BSL-1.0"
] | permissive | jaylim12/Helix | 3e68e46bd85bb51121af4121fa35d0ca4454c6d0 | a13e597127ac3407213aad640a31e30ecf5fafb7 | refs/heads/master | 2021-01-17T09:52:10.014936 | 2009-10-22T18:02:32 | 2009-10-22T18:02:32 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,717 | cpp | /*
The MIT License
Copyright (c) 2009 BitTorrent Inc.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, pub... | [
"helx@bittorrent.com"
] | helx@bittorrent.com |
eb08bfbd71b86ba0e2a9af6dda3022af89b4ed10 | c8b39acfd4a857dc15ed3375e0d93e75fa3f1f64 | /Engine/Source/Runtime/AIModule/Classes/Navigation/MetaNavMeshPath.h | 47bb4c7977f509c5d7617e9398098edb0411c2dd | [
"MIT",
"LicenseRef-scancode-proprietary-license"
] | permissive | windystrife/UnrealEngine_NVIDIAGameWorks | c3c7863083653caf1bc67d3ef104fb4b9f302e2a | b50e6338a7c5b26374d66306ebc7807541ff815e | refs/heads/4.18-GameWorks | 2023-03-11T02:50:08.471040 | 2022-01-13T20:50:29 | 2022-01-13T20:50:29 | 124,100,479 | 262 | 179 | MIT | 2022-12-16T05:36:38 | 2018-03-06T15:44:09 | C++ | UTF-8 | C++ | false | false | 4,769 | h | // Copyright 1998-2017 Epic Games, Inc. All Rights Reserved.
#pragma once
#include "CoreMinimal.h"
#include "EngineDefines.h"
#include "AI/Navigation/NavigationTypes.h"
#include "AI/Navigation/RecastNavMesh.h"
class AController;
class UCanvas;
struct FVisualLogEntry;
enum class EMetaPathUpdateReason : uint8
{
Pat... | [
"tungnt.rec@gmail.com"
] | tungnt.rec@gmail.com |
a5172494eb88dfc3a30da06f942534044e011ea9 | 1ac2a3ce47495cd7e32b7a5862df7aa0517512d3 | /Core/DSP/extensions/SoundfileLib/SoundfileLib.cpp | f822c373d6c32b425c577e52da0039bd13b9f1fe | [
"BSD-3-Clause"
] | permissive | Badokas/TapTools | 69d9db9dd2901ba2ca8fe1e0f600ddbe7bcec5e2 | 5cf68f277a3c96a09083c630aa566c0b4f26ff71 | refs/heads/master | 2023-04-05T11:41:45.723422 | 2020-02-11T18:20:38 | 2020-02-11T18:20:38 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 652 | cpp | /*
* SoundfileLib -- Operate on Soundfiles
* Extension Class for Jamoma DSP
* Copyright © 2010, Timothy Place
*
* License: This code is licensed under the terms of the "New BSD License"
* http://creativecommons.org/licenses/BSD/
*/
#include "TTDSP.h"
#include "TTSoundfile.h"
#include "TTSoundfileLoader.h"
#in... | [
"tim@74objects.com"
] | tim@74objects.com |
0b36e1c489fe73f32783e2eac9be3dd84d3167a2 | 4c68736e71a3a740504bec03180cd4daecbdb258 | /Uva10487-com.search.cpp | 1b456aa092050c14b24cac0ccff9dcab21af6775 | [] | no_license | AsmaaEltaher/Competitive-Programming-3 | bcd66d5d39c4e98a0a0c2cfb3358891bd8c64100 | 1f482558a7c916b4b6bd5b082e16b17cb9748ee5 | refs/heads/master | 2021-06-12T03:29:10.594759 | 2017-02-20T20:56:42 | 2017-02-20T20:56:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 771 | cpp | #include<iostream>
#include<algorithm>
using namespace std;
int n,m;
int arr[1000];
int sum[1000000];
int main()
{
int tc=0;
while(cin>>n){
tc++;
if(n==0)break;
for(int i=0;i<n;i++){
cin>>arr[i];
}
int cnt=0,x=0,y=-1,pre=-1,ans;
for(int i=0;i<n;i++){
for(int j=0;j<n;j++){
i... | [
"noreply@github.com"
] | AsmaaEltaher.noreply@github.com |
78f6e7d0a0aad6938d8a566bb7ec8aa950021ee6 | 1bf6613e21a5695582a8e6d9aaa643af4a1a5fa8 | /src/ash/wm/.svn/text-base/window_util.h.svn-base | cf7b0e76093b2ba2749a6de8fa5f6986dade0473 | [
"BSD-3-Clause"
] | permissive | pqrkchqps/MusicBrowser | ef5c9603105b4f4508a430d285334667ec3c1445 | 03216439d1cc3dae160f440417fcb557bb72f8e4 | refs/heads/master | 2020-05-20T05:12:14.141094 | 2013-05-31T02:21:07 | 2013-05-31T02:21:07 | 10,395,498 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 5,025 | // 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 ASH_WM_WINDOW_UTIL_H_
#define ASH_WM_WINDOW_UTIL_H_
#include "ash/ash_export.h"
#include "base/compiler_specific.h"
#include "ui/base/ui_base... | [
"creps002@umn.edu"
] | creps002@umn.edu | |
afeb600f1e83b0f2bbcf5746957b914a607b2697 | f16ca93a097425dd80012deb14fa5840b87eb650 | /Common/Visualize/hkDebugDisplayHandler.h | 7afaa74ed5d84cabc2a8ae0534d3cf69230e3310 | [] | no_license | Veryzon/havok-2013 | 868a4873f5254709b77a2ed8393355b89d2398af | 45812e33f4bd92c428866e5e7c1b4d71a4762fb5 | refs/heads/master | 2021-06-25T23:48:11.919356 | 2021-04-17T02:12:06 | 2021-04-17T02:12:06 | 226,624,337 | 4 | 1 | null | 2019-12-08T06:21:56 | 2019-12-08T06:21:56 | null | UTF-8 | C++ | false | false | 13,185 | h | /*
*
* Confidential Information of Telekinesys Research Limited (t/a Havok). Not for disclosure or distribution without Havok's
* prior written consent. This software contains code, techniques and know-how which is confidential and proprietary to Havok.
* Product and Trade Secret source code contains trade secr... | [
"veryzon@outlook.com.br"
] | veryzon@outlook.com.br |
2816dbab3dee24e1acc7e07191d3e4483946cc64 | 488850779a1cf7d1f98ef61a7f46f5a72f63bf44 | /Source/NIITO/NIITO.cpp | 5f4e26231af9d64607404747b14e683a276944b8 | [] | no_license | xLoSyAsHx/NIITO_VR_v2 | e0742522c029dee1d99c9c7ce7634c880b4f4beb | 7606aaf65c1bb23e896190d254664fca27945595 | refs/heads/master | 2023-05-06T02:40:55.027495 | 2021-05-27T13:40:32 | 2021-05-27T13:40:32 | 333,520,629 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 208 | cpp | // Fill out your copyright notice in the Description page of Project Settings.
#include "NIITO.h"
#include "Modules/ModuleManager.h"
IMPLEMENT_PRIMARY_GAME_MODULE( FDefaultGameModuleImpl, NIITO, "NIITO" );
| [
"ivan.s.losev@mail.ru"
] | ivan.s.losev@mail.ru |
c4a82ff9dd302c9145235b23ca844efcf607363b | a139a182d01c43b549b3a1955cefdae9c6db5c70 | /src/kernel/tests/cc/nmsp/nm/sp/Class.cc | b2067c8f36f7ccf60e5c42f19e85439c6e053a32 | [] | no_license | metaesque/meta | 520aebf4fecf5450f6cb5f3f024e6c1181d45b85 | 80ca357cb86e8669c7302c2c9277d8b47a23cc48 | refs/heads/master | 2023-05-24T18:41:53.104613 | 2023-05-15T01:09:42 | 2023-05-15T01:09:42 | 98,564,975 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 405 | cc | #include "nm/sp/Class.h"
namespace nm {
namespace sp {
int Variable = 10;
int Function(int a) {
std::cout << "Here in nm namespace with a=" << a
<< " Variable=" << Variable
<< std:: endl;
return a * Variable;
}
Class::Class() {
std::cout << "In nm::sp::Class::Class" << std::endl;
thi... | [
"wade@holst.ca"
] | wade@holst.ca |
de78c2f082095b40443fe5904e24ae3b664912ca | 8c7f65e1e9732889c166d9ff4e84a5d3b8c744e2 | /contests/facebook_hackercup/2016/round1/A.cpp | c402d52b7092c3b41a17eed4a93a415902e95536 | [] | no_license | rushilpaul/competitive-programming | 045604e4b6782b9743426c7504364a932aa85f65 | 20f33b36f80fee490db0ab405048cdc12cd90364 | refs/heads/master | 2021-01-11T21:55:21.277372 | 2020-10-31T06:11:34 | 2020-10-31T06:11:34 | 78,875,026 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,839 | cpp | #include <bits/stdc++.h>
using namespace std;
typedef long long LL;
typedef long double LD;
typedef vector<int> VI;
typedef vector<LL> VLL;
typedef vector<double> VD;
#define EPS (std::numeric_limits<double>::epsilon())
#define max_buf_size 1024
#define rep(i,n) for(int i=0;i<(n);i++)
#define repab(i,a,b) for(int i=(a... | [
"rushilpaul@gmail.com"
] | rushilpaul@gmail.com |
842bd1cc6adc2c5fa3e586111eac99996e5fa2f7 | 9f9660f318732124b8a5154e6670e1cfc372acc4 | /Case_save/Case20/Case/case1/100/nut | 8f99e1ae184f3a4a10439ebcf52707614d4f3551 | [] | no_license | mamitsu2/aircond5 | 9a6857f4190caec15823cb3f975cdddb7cfec80b | 20a6408fb10c3ba7081923b61e44454a8f09e2be | refs/heads/master | 2020-04-10T22:41:47.782141 | 2019-09-02T03:42:37 | 2019-09-02T03:42:37 | 161,329,638 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,989 | /*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: 6
\\/ M anipulation |
\*-------... | [
"mitsuaki.makino@tryeting.jp"
] | mitsuaki.makino@tryeting.jp | |
5bf7ca1d98c0656433b428a17f6811ee31acff0b | 1ae30ca91b1175c8403a96a48917153fb47449df | /Build2/Lockdown_Gamejam_Project_BackUpThisFolder_ButDontShipItWithYourGame/il2cppOutput/Il2CppInteropDataTable.cpp | 388b3a16f1e06b96169d72c0bf10581165d230be | [] | no_license | MatisseWaghemans/LockdownGamejam_RETRYGIT | e6f53bcf90fde20cf952b7a3b06eaed5dbc55e16 | d6692566a1736fdcd229017f8233613eb48c7d82 | refs/heads/master | 2022-04-17T16:53:52.358608 | 2020-04-12T11:24:04 | 2020-04-12T11:24:04 | 254,875,862 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 191,523 | cpp | #include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include "codegen/il2cpp-codegen.h"
IL2CPP_EXTERN_C_BEGIN
IL2CPP_EXTERN_C_END
IL2CPP_EXTERN_C void DelegatePInvokeWrapper_EtwEnableCallback_tE661421A2F149DA151D5A519A09E09448E396A4A();
IL2CPP_EXTERN_C_CONST ... | [
"briek.keters@student.howest.be"
] | briek.keters@student.howest.be |
339d1d5bb6412a7f2f57beac49c9f8ae9764502e | bdf3c98e33c6bc9c8e0332043cc5a3a3f5e8ea42 | /src/roundbot_control/src/WheelSpeedController.cpp | b317fc2a0c11701f19ff081fa884e46509f94a0c | [] | no_license | jstestsuite/ros-test | c33e244794287e2665cace847a9faf1b596ddf92 | b0bb5b06c1c18b804c0f0a4e2deb4d88be894d1f | refs/heads/master | 2020-04-11T16:54:41.401198 | 2019-02-13T00:44:14 | 2019-02-13T00:44:14 | 161,938,209 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,212 | cpp | #include <roundbot_control/WheelSpeedController.h>
namespace roundbot_control
{
bool WheelSpeedController::init(hardware_interface::VelocityJointInterface* hw, ros::NodeHandle &n)
{
sub_left_command_ = n.subscribe("left_command", 1, &WheelSpeedController::recvLeftCommand, this);
sub_right_command_ = n.subscribe("... | [
"jsteele171@gmail.com"
] | jsteele171@gmail.com |
49e71afc3672499dd0b6d163a1e256758aebf525 | 2aec12368cc5a493af73301d500afb59f0d19d28 | /GeometryTool/LibFoundation/NumericalAnalysis/Wm4PolynomialRoots.h | 2d84179ac996154539f4a24843a0fce5560c0028 | [] | no_license | GGBone/WM4 | ec964fc61f98ae39e160564a38fe7624273137fb | 8e9998e25924df3e0d765921b6d2a715887fbb01 | refs/heads/master | 2021-01-11T21:48:17.477941 | 2017-01-13T14:09:53 | 2017-01-13T14:09:53 | 78,854,366 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 5,625 | h | // Geometric Tools, Inc.
// http://www.geometrictools.com
// Copyright (c) 1998-2006. All Rights Reserved
//
// The Wild Magic Version 4 Foundation Library source code is supplied
// under the terms of the license agreement
// http://www.geometrictools.com/License/Wm4FoundationLicense.pdf
// and may not be copied ... | [
"z652137200@gmail.com"
] | z652137200@gmail.com |
b484c2b409790049be72a93eea5e8143520f09f8 | 5bf03d99f9849f283229baa747a383f1b0e682a1 | /src/net.cpp | dc3ced91780710da4e24346c64a4e630fa002ded | [
"MIT"
] | permissive | vividplatform/vividcoin | f98b94c60b7a5cd371799019af16bf1a11ce8508 | 7a23aba5932470ac10a843302d86f9b694201d68 | refs/heads/master | 2020-03-20T10:15:41.813739 | 2019-10-10T13:19:42 | 2019-10-10T13:19:42 | 137,364,401 | 3 | 4 | MIT | 2018-12-01T16:15:13 | 2018-06-14T13:50:16 | C++ | UTF-8 | C++ | false | false | 73,288 | cpp | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2014 The Bitcoin developers
// Copyright (c) 2014-2015 The Dash developers
// Copyright (c) 2015-2017 The PIVX developers
// Copyright (c) 2017 The Bitcoin Green developers
// Copyright (c) 2018 The Vivid developers
// Distributed under the MIT/X11 softw... | [
"vividtoken@gmail.com"
] | vividtoken@gmail.com |
82b0d1bc78293003a668658eca7df690f9baefd8 | 209e03606acf7d35d01bf95e409fc174fd68edde | /Snake Source/EndGame.h | ba4f257123b576e47f7d27cd00a7a306a49f72e5 | [] | no_license | Maxmar1313/Snake | 47cf64798fa51e6f88382628b9c23cec1b6cb663 | 88ab967ed94aa1f2abfe7ce4bf16410a4afef5d3 | refs/heads/master | 2021-01-19T02:59:50.870566 | 2016-08-01T17:53:28 | 2016-08-01T17:53:28 | 64,688,594 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 238 | h | #pragma once
#include <SFML/Graphics.hpp>
class EndGame
{
public:
EndGame();
~EndGame();
void startEndGameScreen();
private:
std::string playerNameString = "___";
std::pair<unsigned char, unsigned char> currentLetter = { 0,0 };
};
| [
"maxmar1313@gmail.com"
] | maxmar1313@gmail.com |
1f3cfd508e8e29123e70eb1b89be65d51019b919 | 0b57f9d8d1ce569ca4da9490df3c9cbd3493ac11 | /Source/jATK/CALattice.h | ae2ff0b1cc851bdac971b608ad883e7563cb3d6f | [] | no_license | eriser/jATK | 5de6c0a9abac75742208e0d7f3d9950f58d160a4 | 19e1695d9ec6ba6f63dacfca8962054611d20c53 | refs/heads/master | 2021-01-18T06:21:33.181384 | 2015-06-16T18:26:17 | 2015-06-16T18:26:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,875 | h | /*==============================================================================
CALattice.h : Jeff's (Juce) Audio ToolKit
Created: 16 Mar 2015 2:41:27pm
Author: Jeff-Russ https://github.com/Jeff-Russ
===============================================================================
Array based classes:
... | [
"jeffreylynnruss@gmail.com"
] | jeffreylynnruss@gmail.com |
92a643f3b2d478550c483ed9d9c27c458673a8ba | 82bba04be05e518845b99d749a3293668725e9e7 | /QHG3_python_package/QHG3/geoinfo/SimpleGeoProvider.cpp | 9a125ea9b93dc45ee4b955e25e97b7ccc0446efe | [] | no_license | Achandroth/QHG | e914618776f38ed765da3f9c64ec62b983fc3df3 | 7e64d82dc3b798a05f2a725da4286621d2ba9241 | refs/heads/master | 2023-06-04T06:24:41.078369 | 2018-07-04T11:01:08 | 2018-07-04T11:01:08 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,264 | cpp | #include "utils.h"
#include "SimpleGeoProvider.h"
//----------------------------------------------------------------------------
// constructor
//
SimpleGeoProvider::SimpleGeoProvider(int iGridW, int iGridH, double dMinLon, double dMinLat, double dMaxLon, double dMaxLat, bool bDeleteDEM)
: GeoProvider(iGridW, iGri... | [
"nataliet@physik.uzh.ch"
] | nataliet@physik.uzh.ch |
3f1062a8072575611c3ad993beeccfbcf0652e0b | 0419a8ba0fa6b5105728f18fd320a4924abb348c | /src/map.h | 9485aaa6a3091363f258cc99e70145e5608e5dc8 | [] | no_license | tdanyluk/CarND-Path-Planning-Project | 0b76f3a218c09e4ca38f097b4d1dac6a24727ebe | edbfb6f3e1d3f29d48f1ecd37eea019a8a8c3dbb | refs/heads/master | 2021-07-02T20:07:25.305197 | 2017-09-24T20:26:14 | 2017-09-24T20:26:14 | 104,648,041 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 861 | h | #ifndef _MAP_H
#define _MAP_H
#include <string>
#include <vector>
struct PointXY {
double x, y;
};
struct PointSD {
double s, d;
};
class Map {
std::vector<double> map_waypoints_x_;
std::vector<double> map_waypoints_y_;
std::vector<double> map_waypoints_s_;
std::vector<double> map_waypoints_d... | [
"tamas.danyluk2@gmail.com"
] | tamas.danyluk2@gmail.com |
c25fdbf92e00c811b1b8c0683ebff0dc111a3c45 | ce2f81680150e90a5e335838719621fd48ab162f | /src/TetraMidiAnimation.cpp | a1c39e1158c367a8e1ff317a7acf4b8836b914ea | [] | no_license | jaranega/RammsyAVShow | 148448c2935a60b4674026743a9600a5c6af6253 | 2211dff2d9d3f6224bdd692746eaebf8fa19945d | refs/heads/master | 2021-01-18T20:29:53.074248 | 2015-03-26T18:49:04 | 2015-03-26T18:49:04 | 32,942,915 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,417 | cpp | //
// TetraMidiAnimation.cpp
// RammsyAVShow
//
// Created by Aranega, Javier (BCN-LOH) on 20/11/14.
//
//
#include "TetraMidiAnimation.h"
void TetraMidiAnimation::setup() {
ribbon.setup();
}
void TetraMidiAnimation::update() {
ribbon.update();
}
void TetraMidiAnimation::draw() {
ribbon.draw();
}
vo... | [
"javi.aranega@gmail.com"
] | javi.aranega@gmail.com |
b80eee641f9c55dd3c45a47bac7e3762a21955c4 | 91712ab45d0129379d9a495f78ad10483dce1e9e | /RaspberryPI_IBUS.cpp | 9fca520a2e80addf7d39fb39f9ddfd591865d904 | [] | no_license | TSKangetsu/Raspberry_IBUS | 8d912653da69521a1111b22172115df01a3b5481 | 317d0fb196202e6ce7262bddf1e3db1d0c4243c8 | refs/heads/master | 2020-12-02T08:45:23.790766 | 2019-12-30T16:55:45 | 2019-12-30T16:55:45 | 230,948,202 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 507 | cpp | #include "src/RPiIBus.h"
#include <unistd.h>
#include <wiringPi.h>
int main()
{
int ChannelsData[14];
int sbusData[32];
int lose;
long int time;
long int timee;
Ibus Ibus("/dev/ttyS0");
while (true)
{
time = micros();
lose = Ibus.IbusRead(ChannelsData, 4000, 2);
if (lose != -1)
{
... | [
"x403070567@live.com"
] | x403070567@live.com |
acb264ee4d9c8cfe77383125ea5b3b330db075f0 | 1f032ac06a2fc792859a57099e04d2b9bc43f387 | /b6/0b/bd/a2/1510d96c735d1d66cb57529ad39bd0453eef00f2e8540113f969ad7ebbc7871a527848280f6b51ad962cbdc2f601d5ce0a26217ac81680b3427c613c/sw.cpp | 5fcdeca784e8d234235bc9a9f8a1650fbeb7bda8 | [] | no_license | SoftwareNetwork/specifications | 9d6d97c136d2b03af45669bad2bcb00fda9d2e26 | ba960f416e4728a43aa3e41af16a7bdd82006ec3 | refs/heads/master | 2023-08-16T13:17:25.996674 | 2023-08-15T10:45:47 | 2023-08-15T10:45:47 | 145,738,888 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,404 | cpp | void build(Solution &s)
{
auto &harfbuzz = s.addTarget<LibraryTarget>("behdad.harfbuzz", "2.4.0");
harfbuzz += Git("https://github.com/behdad/harfbuzz");
harfbuzz +=
"src/[^/]*\\.c"_rr,
"src/[^/]*\\.cc"_rr,
"src/[^/]*\\.h"_rr,
"src/[^/]*\\.hh"_rr,
"src/[^/]*\\.rl"_rr... | [
"cppanbot@gmail.com"
] | cppanbot@gmail.com |
fc31a5eee48159dd8fec444932b27a043190cc9c | b78300a29eabd2c2c03d922ab0d179bcb0abd662 | /money/sign/sign_algorithm/elliptic_impl_priv.cpp | 843bbdc408b461a5da02d4948e0b8ba9f801ccc1 | [] | no_license | rayshitou/programming | 40e9d7ee9713d52fffad97bc768bebf9123382c4 | 9b4816b697a82a75933a357ed8b3b3948f91f7f4 | refs/heads/master | 2020-04-14T00:01:24.935516 | 2018-12-23T02:57:40 | 2018-12-23T02:57:40 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,953 | cpp | #include "fwd_impl.hpp"
#include <secp256k1.h>
#include "_elliptic_impl_priv.hpp"
/* used by mixed + secp256k1 */
namespace fc { namespace ecc {
namespace detail {
private_key_impl::private_key_impl() BOOST_NOEXCEPT
{
_init_lib();
}
private_key_impl::private_key_imp... | [
"app@appdeMacBook-Pro.local"
] | app@appdeMacBook-Pro.local |
cc35330d1f8fc58f380db90592bb8562f4e4b12f | 9fdc1cbdda5fca9a916388e81dcaf7fe3c44c17b | /src/chrono_vehicle/ChChassis.h | ac44076c988b7ca761f7030f5b6298b935ae995f | [
"BSD-3-Clause"
] | permissive | StefanoZaghi1987/ChronoWheelDesigner | 473c7b4b7177532c6c0b6a7e04df03c85678c4ab | 48b0235565e6c1c08ce8b5a742bf92b0fcbd70f0 | refs/heads/master | 2021-01-22T00:29:12.900606 | 2018-01-26T15:20:01 | 2018-01-26T15:20:01 | 102,189,611 | 1 | 0 | BSD-3-Clause | 2018-01-26T15:20:02 | 2017-09-02T10:38:38 | C++ | UTF-8 | C++ | false | false | 6,565 | h | // =============================================================================
// PROJECT CHRONO - http://projectchrono.org
//
// Copyright (c) 2014 projectchrono.org
// All rights reserved.
//
// Use of this source code is governed by a BSD-style license that can be found
// in the LICENSE file at the top level of t... | [
"stefano.zaghi@gamma-spa.com"
] | stefano.zaghi@gamma-spa.com |
f347fd0c09768cfc6f3e78c2a436845a6b3e19f9 | fd0622e97276bba2c04d3c2fcba902cdfb65e214 | /packages/Laplace-examples/pump/pumpTMB.cpp | 64048f4785716e5f8a8e91cb563771fe49a30309 | [
"GPL-2.0-or-later",
"BSD-3-Clause",
"CC-BY-4.0",
"GPL-2.0-only",
"GPL-1.0-or-later",
"MPL-2.0"
] | permissive | nimble-dev/nimble | 7942cccd73815611e348d4c674a73b2bc113967d | 29f46eb3e7c7091f49b104277502d5c40ce98bf1 | refs/heads/devel | 2023-09-01T06:54:39.252714 | 2023-08-21T00:51:40 | 2023-08-21T00:51:40 | 20,771,527 | 147 | 31 | BSD-3-Clause | 2023-08-12T13:04:54 | 2014-06-12T14:58:42 | C++ | UTF-8 | C++ | false | false | 693 | cpp | #include <TMB.hpp>
template<class Type>
Type objective_function<Type>::operator() ()
{
DATA_VECTOR(X);
DATA_VECTOR(t);
PARAMETER_VECTOR(u);
PARAMETER(alphat);
PARAMETER(betat);
int N = X.size();
Type ans=0;
vector<Type> lambda(N);
// exp transformation for original random effects
vector<Type> th... | [
"wei.zhang.2@glasgow.ac.uk"
] | wei.zhang.2@glasgow.ac.uk |
fa2cda87fe1159ae8cad1fd5e23cf2c2e7b70a35 | a682593e4d11744b7ed12499597874272ea0f249 | /src/os1_ros.cpp | fc2bfe5874df1d5841d1a4d7ae463e16b3c719ad | [] | no_license | ytldsimage/kinect_ouster_autoware_driver | 24c27889f59780b68c5ad6b8a1344811b2ca7207 | 4a978b27852068977f76dfd0e89f32ee1a791d6a | refs/heads/master | 2022-09-16T12:55:31.427446 | 2020-05-30T05:44:17 | 2020-05-30T05:44:17 | 267,217,340 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,839 | cpp | #include <pcl_conversions/pcl_conversions.h>
#include <ros/ros.h>
#include <tf2/LinearMath/Transform.h>
#include <tf2_geometry_msgs/tf2_geometry_msgs.h>
#include <cassert>
#include "ouster/os1.h"
#include "ouster/os1_packet.h"
#include "ouster/os1_util.h"
#include "ouster_ros/os1_ros.h"
namespace ouster_ros {
namespa... | [
"sdyahk.awl@googlemail.com"
] | sdyahk.awl@googlemail.com |
9f2789e7be511ad21eea79c117bbef247453fb21 | bac66befdb7eb9550011910f0155a5779b26f333 | /structure.cpp | 0690ec742c94e48d65ba9d8f4405ef9c2b7b13a4 | [] | no_license | jazii93/functions-in-c- | a8320ff6337555acfaadf5d1b094ddfd72310490 | 76ba7d2699aab51c5191eafa347c855db08a4df0 | refs/heads/master | 2020-04-07T14:11:32.115145 | 2018-11-20T18:58:28 | 2018-11-20T18:58:28 | 158,437,284 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 361 | cpp | #include<iostream>
#include<conio.h>
using namespace std;
struct student{
char name[50];
int roll;
float marks;
};
int main(){
student s;
cout<<"enter name";
cin>>s.name;
cout<<"enter roll";
cin>>s.roll;
cout<<"enter marks";
cin>>s.marks;
cout<<"name"<<s.name;
cout<<"roll"<<s.roll;
cout<<"m... | [
"noreply@github.com"
] | jazii93.noreply@github.com |
976b04b5b2fc8e36d67e2879e21e8e692656a2ff | a75d0418b2143d6f59635a8833bff49bc903df5e | /DofusTypes/TaxCollectorBasicInformations.cpp | 79758c0929c7c737d6bdc428ab9e1393d971a044 | [] | no_license | Arkwell9112/dofus_bot | 30b80850ba41b6a2b562705ec8aa1a6c87cfb8f8 | fc1b805b70c0ed43cbc585322806ece89d057585 | refs/heads/master | 2023-01-16T01:08:06.710649 | 2020-11-23T20:53:00 | 2020-11-23T20:53:00 | 314,084,045 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,388 | cpp | #include "TaxCollectorBasicInformations.h"
#include "../BotCoreAPI/BotCoreAPI.h"
void TaxCollectorBasicInformations::deserialize(CustomDataInput *input) {
this->_firstNameIdFunc(input);
this->_lastNameIdFunc(input);
this->_worldXFunc(input);
this->_worldYFunc(input);
this->_mapIdFunc(input);
th... | [
"arkwell9112@github.com"
] | arkwell9112@github.com |
f680abd6ec2d38a125b7fe2f084da0f60a418b79 | 94bd295572de3f4934a3896ce1bb882fb4d35edc | /content/browser/renderer_host/delegated_frame_host_client_aura.h | ab66699e0420d98e181c25a3c7c7265cdfcf24c9 | [
"BSD-3-Clause"
] | permissive | WebGameLinux/chromium | 06109b62d6019b051474cd479f3d577e0eec4463 | a35a1e2ce2ab74eccc467aa390eda1a8e29e3e09 | refs/heads/master | 2023-03-07T14:07:56.342758 | 2017-04-08T02:33:08 | 2017-04-08T03:38:27 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,178 | 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 CONTENT_BROWSER_RENDERER_HOST_DELEGATED_FRAME_HOST_CLIENT_AURA_H_
#define CONTENT_BROWSER_RENDERER_HOST_DELEGATED_FRAME_HOST_CLIENT_AURA_H_
#incl... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
033cfb7a1c553bbce3bde469ac23718382214394 | 82ee11fa5806a91fc322327427c669a0d2ffaca2 | /[Game]/[Scene]/Map_Scene_Dynamic.cpp | 8cab4a91e64949eb1d0afc43acfe093e30ebc82a | [] | no_license | gunsct/2015-08-13-chancebee-ver1.24 | 77c0aa7a99e74bdcecd72527b0e8a96eb373c23d | 800b553a7b1eb6b220d296df646c219892317823 | refs/heads/master | 2020-12-24T05:45:30.808140 | 2016-06-06T12:56:15 | 2016-06-06T12:56:15 | 60,520,142 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,974 | cpp | #include "Map_Scene_Dynamic.h"
Map_Scene_Dynamic::Map_Scene_Dynamic()
{
for(int i=0;i<DRAW_CHAR_NUM;i++)
{
m_img_Char[i]=NULL;
}
c_FileLoader = FileLoader::getInstance();
img_cnt=0;
c_Camera = Camera::getInstance();
c_ChanceBee = new Char_ChanceBee(0.5, 1, 944 , 2288 , 4, 4);
//c_ChanceBee = new Char_Chan... | [
"gunsct@gmail.com"
] | gunsct@gmail.com |
f1ac7a0769df5512c41f08a18100963533dfff7d | 481838361d1eb7e04cb7462bcc0846cff7021494 | /Builds/AndroidStudio/app/src/main/jni/JuceModules/juce_graphics/geometry/juce_Path.cpp | ad0bca7dea0c7a224515f060729e2b8454cc3275 | [] | no_license | adamski/RNNavigationTest | 7d400922c2ac513c80b6658700ba6fdf7338cace | e9b23023674346ba854ec919b61d45157c6061ba | refs/heads/master | 2021-01-20T18:33:12.307217 | 2016-08-11T22:11:28 | 2016-08-11T22:11:28 | 65,486,972 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 105 | cpp | /Users/adamelemental/dev/juce_projects/RNNavigationTest/juce/modules/juce_graphics/geometry/juce_Path.cpp | [
"adam@codegarden.co.uk"
] | adam@codegarden.co.uk |
918665bc859516de8f350602e77835d000111a1f | 50fb7bffeeca41da0ffd7b4f2e6e187f386030b9 | /test/backend/quantized_dot.in.cpp | 1c54eaaa83dbc30061de863da23e7a69709d2390 | [
"Apache-2.0"
] | permissive | biswajitcsecu/ngraph | eaa0eb54a7bcf9a602e5fbd52c0c5a1856351977 | d6bff37d7968922ef81f3bed63379e849fcf3b45 | refs/heads/master | 2020-09-12T04:36:36.214712 | 2019-11-17T20:31:26 | 2019-11-17T20:31:26 | 222,307,789 | 1 | 0 | Apache-2.0 | 2019-11-17T20:30:18 | 2019-11-17T20:30:18 | null | UTF-8 | C++ | false | false | 5,415 | cpp | //*****************************************************************************
// Copyright 2017-2019 Intel Corporation
//
// 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://w... | [
"diyessi@users.noreply.github.com"
] | diyessi@users.noreply.github.com |
2dac0f006193f84d660f728a635f80265660edf4 | 4ccc93c43061a18de9064569020eb50509e75541 | /chrome/browser/ui/views/extensions/extension_toolbar_icon_surfacing_bubble_views.cc | 6837ab423f08c21d2a38c1073fb6cd41a2433087 | [
"BSD-3-Clause",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | SaschaMester/delicium | f2bdab35d51434ac6626db6d0e60ee01911797d7 | b7bc83c3b107b30453998daadaeee618e417db5a | refs/heads/master | 2021-01-13T02:06:38.740273 | 2015-07-06T00:22:53 | 2015-07-06T00:22:53 | 38,457,128 | 4 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,216 | cc | // 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 "chrome/browser/ui/views/extensions/extension_toolbar_icon_surfacing_bubble_views.h"
#include "chrome/browser/ui/toolbar/toolbar_actions_bar_bub... | [
"g4jc@github.com"
] | g4jc@github.com |
d082a35ec87e966925a8651c6ec810e0dc8f7219 | 9548c99eada8b4ad6ed818d24dc7abb127c76dd4 | /Tools/AnvilStats/BiomeMap.h | c590a3c6384c0365e1269666a7223dd17a1ffb73 | [
"Apache-2.0"
] | permissive | arekinath/MCServer | ed2491bcdeb513b2e06a413aa97c745265ee5fd4 | 745ad159f3b365ca0ac100794a921af5c123c557 | refs/heads/master | 2023-08-19T07:39:00.564403 | 2014-02-17T11:04:00 | 2014-02-17T11:04:00 | 16,912,183 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,705 | h |
// BiomeMap.h
// Interfaces to the cBiomeMap class representing a cCallback descendant that draws a map of biomes for the world
#pragma once
#include "Callback.h"
class cBiomeMap :
public cCallback
{
public:
cBiomeMap(void);
/// Saves the last region that it was processing
void Finish(void);
protect... | [
"bearbin@gmail.com"
] | bearbin@gmail.com |
82e154eb159de756edb50ba6f3fb20b860b90651 | 85b9ce4fb88972d9b86dce594ae4fb3acfcd0a4b | /build/iOS/Release/include/_root.GlobalPot_UnoUXStringConcatOperator_Left_Property.h | b2a25acfb4c2fc4857cdc7a53cddc27a4b508ba3 | [] | no_license | bgirr/Global-Pot_App | 16431a99e26f1c60dc16223fb388d9fd525cb5fa | c96c5a8fb95acde66fc286bcd9a5cdf160ba8b1b | refs/heads/master | 2021-01-09T06:29:18.255583 | 2017-02-21T23:27:47 | 2017-02-21T23:27:47 | 80,985,681 | 0 | 0 | null | 2017-02-21T23:27:48 | 2017-02-05T10:29:14 | C++ | UTF-8 | C++ | false | false | 2,089 | h | // This file was generated based on 'F:\Global Pot_App\.uno\ux11\Global Pot.unoproj.g.uno'.
// WARNING: Changes might be lost if you edit this file directly.
#pragma once
#include <Uno.String.h>
#include <Uno.UX.Property-1.h>
namespace g{namespace Uno{namespace UX{struct PropertyObject;}}}
namespace g{namespace Uno{na... | [
"girr.benjamin@gmail.com"
] | girr.benjamin@gmail.com |
3494b8e00ca4220cb193d25fd11342002b1389ea | 4c1e6f2dab147286680d4de5fc5e0cf4ef2f52c1 | /project/project_group6_cs676/code/final/bundle-adjustment/BundleAdjuster.h | 2948bea3a321d9ff59c5d4fc543ddfbe3ec1cd0a | [] | no_license | pranjals16/cs676 | 817f0b6f3bf7b288c08f1bb2e01b413db0ba5165 | a1e2bd56de0a0907a2ca9a22a92f19b4631ac705 | refs/heads/master | 2021-07-01T21:21:07.478737 | 2020-11-19T04:28:54 | 2020-11-19T04:28:54 | 26,747,427 | 13 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 374 | h | #include <vector>
#include <opencv2/core/core.hpp>
#include "Common.h"
class BundleAdjuster {
public:
void adjustBundle(std::vector<CloudPoint>& pointcloud,
cv::Mat& cam_matrix,
const std::vector<std::vector<cv::KeyPoint> >& imgpts,
std::map<int ,cv::Matx34d>& Pmats);
private:
int Count2DMeasur... | [
"pranjals16@gmail.com"
] | pranjals16@gmail.com |
441444ea8af2f9cd1d4bf46e4f7024f2e6ffc7a0 | 17e0b7775f3a1b429225a405a327d137710bec59 | /TryoneTry/Intermediate/Build/Android/TryoneTry/Development/UMG/Module.UMG.gen.3_of_11.cpp | 1d39d3b07321155df79ff50a735db860aa8bd0be | [] | no_license | JTY1997/Learning-UE4 | 923d2cbfe95dec25a9dfe6ca2f36bc67e6203bd3 | ed5fcedf3aa35887e5bde1fe67fd4be0b1a7ce29 | refs/heads/main | 2023-01-31T22:32:04.289755 | 2020-12-17T15:32:55 | 2020-12-17T15:32:55 | 303,879,097 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,407 | cpp | // This file is automatically generated at compile-time to include some subset of the user-created cpp files.
#include "E:/Unreal Projects/TryoneTry/Intermediate/Build/Android/TryoneTry/Inc/UMG/HorizontalBox.gen.cpp"
#include "E:/Unreal Projects/TryoneTry/Intermediate/Build/Android/TryoneTry/Inc/UMG/HorizontalBoxSlot.g... | [
"52436054+JTY1997@users.noreply.github.com"
] | 52436054+JTY1997@users.noreply.github.com |
6d024ac00e136904040f7638ddaa7f2a8ed005b3 | c0dde1310bd7b03dd7b31433f44675b566789081 | /zeroarrange.cpp | 4464f2998ec0149dacce95383851ecdf6f488f54 | [] | no_license | is-ashish/online-coding-c- | b34ed72eae67d13bf0fd21d54e21cae3896212b0 | e202891cd8009a5b3f88a12231be90b4e72961c7 | refs/heads/master | 2020-09-03T09:57:31.736210 | 2019-11-04T07:24:31 | 2019-11-04T07:24:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 560 | cpp | #include<iostream>
#include<bits/stdc++.h>
using namespace std;
int main(){
int n, temp; cin>>n;
int arr[n];
for(int i=0;i<n;i++){
cin>>arr[i];
}
for(int i=0;i<n;i++){
if(arr[i]==1){
temp =arr[i];
for(int j=n-1;j>i;--j){
if(arr[j]==0){
... | [
"ashishj@voiceqube.com"
] | ashishj@voiceqube.com |
f7b8a71f1b8a92ea02aa2ed46823c51417b461fd | 62d43f6932a3888ead1f280628af6ae793c87349 | /autoware_vector_map/src/autoware_vector_map/api/vector_map_api.cpp | d7b7e18bfd59fe3320d8b9d5ac74102b9c109ed3 | [
"Apache-2.0"
] | permissive | mengxingshifen1218/draft-of-autoware-vector-map | c2244f0352f278ad18cb7ec1c784ac2eef896afe | 8fb307a07df2f0ce318beb5ebc2078e941a561c4 | refs/heads/master | 2022-04-08T20:50:15.210289 | 2019-12-30T14:27:51 | 2019-12-30T17:08:24 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,849 | cpp | #include <autoware_vector_map/api/vecor_map_api.h>
#include <autoware_vector_map/geometry/geometry.h>
#include <autoware_vector_map/util/helper_functions.h>
#include <autoware_vector_map/util/to_debug_string.h>
using autoware_vector_map::util::toDebugString;
namespace autoware_vector_map {
namespace api {
VectorMa... | [
"kenji.miyake@tier4.jp"
] | kenji.miyake@tier4.jp |
2dd2b58666f722c008194e24cac0407c892c19ee | 15c74c26299cdb69171241fc14e81f8812e9bb44 | /RollerCoaster.h | 9b83d4cc794dde40ba470a053a1fe1be97191068 | [
"MIT"
] | permissive | davidmajercak/Amusement-Park-Simulator | 1d757d4ffc83484feedd5e65f7d0dcd147872075 | 23cf84db815d359da359a4a72088e3278b6e205e | refs/heads/master | 2022-11-11T21:33:40.088183 | 2020-07-04T16:03:30 | 2020-07-04T16:03:30 | 276,998,920 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,216 | h | // RollerCoaster.h
// Author : David Majercak
// Date last edited : 5/16/2020
// Purpose : This class represents Roller Coasters
// Each Coaster has a queue of carts that can be loaded with guests
// The cart (and it's associated Guests) cannot be accessed until it returns back to the front of the cart Queue (when ... | [
"davidmajercak@gmail.com"
] | davidmajercak@gmail.com |
413004c3540bab85439a57b97f961a31193a2dd2 | 121a04faa276d9a332fe615eb774070bc0915b2f | /RyanFunctionsSoWeDon'tGetConfused/Stack.h | 41eabdf82baa02e85fb68ff516e5da5344dad226 | [] | no_license | BigWendl/Infix-Parser | ecb1a85c87ff4e8ec10417dad313d3b524ec6bbf | 3b8d18eaec594b29bfc58a1615bb034356c3beb2 | refs/heads/master | 2021-09-10T04:30:58.888658 | 2018-03-21T01:40:17 | 2018-03-21T01:40:17 | 124,788,393 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 596 | h | class Stack {
private:
#include "List.h"
List* topOfStack;
size_t num_items;
public:
void push(const int& item) {
topOfStack = new List(item, topOfStack);
++num_items;
}
int& top() {
return topOfStack->data;
}
const int& top() const {
return topOfStack->data;
}
... | [
"noreply@github.com"
] | BigWendl.noreply@github.com |
364f7091ceb2dbbb429b532f55bbb5782d2846e8 | ad817cfe31a01325d033a0f0ed57b798db1ebeff | /examples/tls_session_base_gnutls.cc | 51460e99e5446dff1c3805decc31c90c7b6a6f96 | [
"MIT"
] | permissive | bryancall/ngtcp2 | 0da59b4ee2c7e5b53e72bd102f15346a06a64cd1 | 3bdc63ee084e01a5ecafce03122d23fb0af975da | refs/heads/main | 2023-06-03T13:18:36.842224 | 2021-06-20T09:38:04 | 2021-06-20T09:38:04 | 379,404,868 | 1 | 0 | MIT | 2021-06-22T21:27:15 | 2021-06-22T21:27:15 | null | UTF-8 | C++ | false | false | 2,717 | cc | /*
* ngtcp2
*
* Copyright (c) 2020 ngtcp2 contributors
*
* Permission is hereby granted, free of charge, to any person obtaining
* a copy of this software and associated documentation files (the
* "Software"), to deal in the Software without restriction, including
* without limitation the rights to use, copy, m... | [
"tatsuhiro.t@gmail.com"
] | tatsuhiro.t@gmail.com |
8e93ec7a22c68a8bac97a9d1b2125568f7718435 | 6b2a8dd202fdce77c971c412717e305e1caaac51 | /solutions_5708921029263360_0/C++/mvdnes/C.cpp | b2275414865f223645f00c922eb29ca4f6419218 | [] | no_license | alexandraback/datacollection | 0bc67a9ace00abbc843f4912562f3a064992e0e9 | 076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf | refs/heads/master | 2021-01-24T18:27:24.417992 | 2017-05-23T09:23:38 | 2017-05-23T09:23:38 | 84,313,442 | 2 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 2,082 | cpp | #include <iostream>
#include <queue>
#include <utility>
#include <vector>
#include <string>
using namespace std;
struct sol {
int j;
int p;
int s;
sol(int a, int b, int c) { j = a; p = b; s = c; }
};
void doit() {
int J, P, S, K;
cin >> J >> P >> S >> K;
vector<sol> ans;
vector<int> ... | [
"alexandra1.back@gmail.com"
] | alexandra1.back@gmail.com |
b594e73783f498ae1771696418e4f522364ee26a | 4d17e80d27b9d914c7fcb607719ffb46043af689 | /src/Drawable.cpp | acf65c325b77f2acdeb91d9a6dd240c125a3f7bd | [] | no_license | Althemar/ASCII | 2be332828c5a31975f3d394ee9ad75c74fe21a31 | 4edf768adddc6353acc3cd881e547a67a8e8aa02 | refs/heads/master | 2021-07-09T01:37:49.751459 | 2017-10-02T14:17:45 | 2017-10-02T14:17:45 | 105,515,792 | 0 | 0 | null | 2017-10-02T09:03:26 | 2017-10-02T09:03:26 | null | UTF-8 | C++ | false | false | 299 | cpp | #include "Drawable.h"
Drawable::Drawable(int width, int height, char text[], int colors[])
{
_width = width;
_height = height;
_buffer = new CHAR_INFO[width * height];
for (int i = 0; i < width * height; ++i) {
_buffer[i].Char.AsciiChar = text[i];
_buffer[i].Attributes = colors[i];
}
}
| [
"Damien.crechet@formation.enjmin.fr"
] | Damien.crechet@formation.enjmin.fr |
e76e5427745c752368c6e42a892b4a2889cbaf12 | 360f38378f4e515be0ff700964e4fadf3374ade5 | /cs1400Final/cs1400Final/dss.h | 0e29d623743f90322cdb554c46b94899f6eec42c | [] | no_license | jenniferballing/CS1400Final | 89b526b26a27c01a77eaa957221133ef6266ee3b | fa8ce7f5250c63f073a87196a52e10850c44ed1b | refs/heads/master | 2016-09-10T12:07:53.076600 | 2013-11-30T04:47:29 | 2013-11-30T04:47:29 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 496 | h | #ifndef dss_H
#define dss_H
#include "unit.h"
#include <iostream>
#include <string>
#include <cstdlib>
#include <cmath>
using namespace std;
class dss : public Unit {
public:
dss():Unit(){}
dss(int ir,int ic,int ihp,Dir idir,Rank irank,
bool idead, string itla):
Unit(ir,ic,ihp,idir,irank,idead,itla){}
void Pl... | [
"jenniferballing@gmail.com"
] | jenniferballing@gmail.com |
beb28cfed30963ddff28bbb5b4a8315644244487 | efefc95c8f20adf42779c0117fb43d05120b6672 | /Image.h | ad2fd3b5126e8294f3f8726a90b07d86b621196b | [] | no_license | sprakhar77/PictroLib | f0d61ab01da1d1f9b0521bbb24db162cc25c1a93 | b4aa2ef5d566d254eb29755facfc34a17e57ba5b | refs/heads/master | 2020-05-02T19:31:55.414039 | 2019-04-01T13:30:32 | 2019-04-01T13:30:32 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,334 | h | #include <fstream>
#include <iostream>
#include <cmath>
#include <algorithm>
#include "Constants.h"
#ifndef IMAGE_H
#define IMAGE_H
class Image
{
public:
Image();
virtual ~Image();
Image(const Image &image);
virtual bool initialize(const std::string &path, const Color &color);
virtual bool writeI... | [
"softzon21@gmail.com"
] | softzon21@gmail.com |
d7a4b3216f4d20d502dc9e09994b5de5f4f2effd | 19b016952946bfc56d6ed54b2f6a86774c5405dd | /logdevice/common/configuration/FlowGroupPolicy.cpp | be91e0a368707c5325ebbaf5f5601c8d5861096f | [
"BSD-3-Clause"
] | permissive | msdgwzhy6/LogDevice | de46d8c327585073df1c18fc94f4cc7b81b173d1 | bc2491b7dfcd129e25490c7d5321d3d701f53ac4 | refs/heads/master | 2020-04-01T17:00:39.187506 | 2018-10-17T06:29:11 | 2018-10-17T06:32:21 | 153,408,883 | 1 | 0 | NOASSERTION | 2018-10-17T06:49:01 | 2018-10-17T06:49:01 | null | UTF-8 | C++ | false | false | 2,066 | 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 "FlowGroupPolicy.h"
#include <folly/dynamic.h>
#include "logdevice/common/Pri... | [
"facebook-github-bot@users.noreply.github.com"
] | facebook-github-bot@users.noreply.github.com |
78be67eb5a7b9739787c002c57580568b593cc64 | 0a7230442c536f49bbac38e17cadcf5ede9aa12b | /chapter_06/6_01_DeutchFlagPartition.cpp | 385c948eea9dbb9aafe5f0248c2c4c55bb0e662e | [] | no_license | vschon/Elements_Of_Programming_Interview | 3260a1b396eb5ff3904574b6b90438c84350cc4d | 2b72987c37f591c4e736003a8138cf58225b6359 | refs/heads/master | 2021-01-15T12:19:20.296968 | 2014-05-10T19:23:12 | 2014-05-10T19:23:12 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,947 | cpp | #include <vector>
#include <iostream>
#include <utility>
using namespace std;
vector<int> &flagPartition(vector<int> &A, int i) {
if (i >= A.size())
throw("Invalid index");
int pivot = A[i];
swap(A[0], A[i]);
int si = 0; //points to the element after the small partition
int li = A.s... | [
"yangrucheng@gmail.com"
] | yangrucheng@gmail.com |
6f3e7c0790018f1a92ca09073083e2d560c6b257 | d0c44dd3da2ef8c0ff835982a437946cbf4d2940 | /cmake-build-debug/programs_tiling/function14249/function14249_schedule_16/function14249_schedule_16_wrapper.cpp | c929dbe34f44785cba8829ec32df10b6f2f4f4db | [] | no_license | IsraMekki/tiramisu_code_generator | 8b3f1d63cff62ba9f5242c019058d5a3119184a3 | 5a259d8e244af452e5301126683fa4320c2047a3 | refs/heads/master | 2020-04-29T17:27:57.987172 | 2019-04-23T16:50:32 | 2019-04-23T16:50:32 | 176,297,755 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 857 | cpp | #include "Halide.h"
#include "function14249_schedule_16_wrapper.h"
#include "tiramisu/utils.h"
#include <cstdlib>
#include <iostream>
#include <time.h>
#include <fstream>
#include <chrono>
#define MAX_RAND 200
int main(int, char **){Halide::Buffer<int32_t> buf0(2048, 512, 64);
init_buffer(buf0, (int32_t)0);
... | [
"ei_mekki@esi.dz"
] | ei_mekki@esi.dz |
12b8946fa645dd76b48566fb337af28c994ceda9 | 1c7dbadc08ed5541556e7f54e3a5eda25c75d96e | /2014/1A/2/2.cpp | 073ead6a49644edb0b6105597b754b228a781f1a | [] | no_license | trort/codejam | bd8ef73ba0497ada8d40aa4e76013e881b9a175f | d83451289d715a9e5b9252dd56494cbef2f8a748 | refs/heads/master | 2020-06-03T23:49:11.539329 | 2017-05-16T05:02:27 | 2017-05-16T05:02:27 | 10,415,584 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,607 | cpp | #include<iostream>
#include<fstream>
#include<string>
#include<cmath>
#include<sstream>
#include<vector>
#include<cstdlib>
#include<iomanip>
#include<algorithm>
#include<cstdio>
#include<ctime>
using namespace std;
const double PI=3.14159265358979323846264338327950288;
ifstream fin;
ofstream fout;
... | [
"luojiajun432100@gmail.com"
] | luojiajun432100@gmail.com |
c2846afe63622d7f034b146e4a58f00309c75ac1 | 0d2e025c1faefc8ede2e9da5c4208c6fdb8beb41 | /AVFastCodecLib/AVFastCodecLib.cpp | eb9e84ee91bd2f9b33af4dc61d4e4f72afb35d66 | [] | no_license | liunatural/VideoStreamingSuite | 095dcaadd37ee09b9bff124f691d422944356cff | aa9d2657affb48401567b0f8293bd8804992ede4 | refs/heads/master | 2020-03-30T13:13:07.261180 | 2018-10-08T02:59:29 | 2018-10-08T02:59:29 | 151,263,802 | 4 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,187 | cpp | #include "AVFastCodecLib.h"
#include "H264Decoder.h"
#include "H264Encoder.h"
#include "H265Encoder.h"
#include "H265Decoder.h"
class AVFastCodecServiceImpl : public AVFastCodecService
{
Encoder* CreateH264Encoder(FnEncodeVideo callback, int width, int height, double fps, int bit_rate)
{
H264Encoder* enc = new... | [
"liunatural@sina.com"
] | liunatural@sina.com |
cde00b9944875d7abf8c9cac33e1933e04d83254 | 5902fa0857cd4f722a9663bbd61aa0895b9f8dea | /BMIG-5101-SequencesAsBioInformation/Blast/ncbi-blast-2.10.0+-src/c++/src/serial/datatool/aparser.hpp | 0ebb8dd30011c691c69793580622a2dc9be4482a | [] | no_license | thegrapesofwrath/spring-2020 | 1b38d45fa44fcdc78dcecfb3b221107b97ceff9c | f90fcde64d83c04e55f9b421d20f274427cbe1c8 | refs/heads/main | 2023-01-23T13:35:05.394076 | 2020-12-08T21:40:42 | 2020-12-08T21:40:42 | 319,763,280 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 129 | hpp | version https://git-lfs.github.com/spec/v1
oid sha256:f1280572a81a68437902a4f543a291b974d31b82d922c898d63358d948fa4bea
size 4867
| [
"shawn-hartley@sbcglobal.net"
] | shawn-hartley@sbcglobal.net |
3d68c382e615ec59bfe045cd29dd5228b8f3ca1c | 3819faf7cb02a0bfab75022a93f094cc88379ccc | /src/contacts/measured-6Dwrench.cpp | 1843ad68fe582bbebd2a2f6db75bddce392700d0 | [
"BSD-2-Clause",
"BSD-3-Clause"
] | permissive | nim65s/tsid | 4b3bf27e3341177264f07e6d6fc78b3d481c460c | f938e35d880a4f8db8655c8c9af58e356631835e | refs/heads/master | 2023-05-26T12:17:54.058727 | 2023-05-13T19:56:12 | 2023-05-13T19:56:12 | 142,317,754 | 0 | 0 | null | 2018-07-25T15:16:35 | 2018-07-25T15:16:35 | null | UTF-8 | C++ | false | false | 2,318 | cpp | //
// Copyright (c) 2022 CNRS INRIA LORIA
//
// This file is part of tsid
// tsid is free software: you can redistribute it
// and/or modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation, either version
// 3 of the License, or (at your option) any later vers... | [
"noreply@github.com"
] | nim65s.noreply@github.com |
13f9fe3e6fae14cba1e19714e3d437136baa208f | e33b4c85e5190f43643e19afc8a4796421377fb6 | /Recursion/fibonacci.cpp | 784d11f063986cf54c60def7904b2cf26a68d407 | [] | no_license | woinbo/DSA | 613433d3390412b7d52a8828936cb29e53764abe | 2f4d456f1e1a21c376d2e6a567634fe29e871d42 | refs/heads/main | 2023-09-01T16:52:43.683660 | 2021-10-07T10:12:04 | 2021-10-07T10:12:04 | 410,439,741 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 468 | cpp | // Fibonacci
#include <iostream>
using namespace std;
int fib(int n) {
int t0 = 0, t1 = 1, s = 0, i;
if (n <= 1) return n;
for (i = 2; i <= n; i++) {
s = t0 + t1;
t0 = t1;
t1 = s;
}
return s;
}
int rfib(int n) {
if (n <= 1) return n;
return rfib(n - 2) + rfib(n - ... | [
"ankit.sagar.me@gmail.com"
] | ankit.sagar.me@gmail.com |
6451f87788dbbb9739346afad1bc312cd933a09b | 43788b330ade2fb8f785cbf59e9d90ef6153d6fc | /Lecture_QT/Snapshots/snapshot_lecture4/chapter1/hello_world/hello_comment.cpp | c9b29d66a83a3d22dcd3fde5797a24fbe2ad562d | [] | no_license | bowei437/Applied-Software-Design--ECE-3574 | c1c07c43ea74d9ec6d8e162e0a08bb66ca60ef81 | cfdd5156bf71efe4f1112fb80d1f2122825ccd5c | refs/heads/master | 2021-09-11T12:34:54.461844 | 2018-04-06T22:37:15 | 2018-04-06T22:37:15 | 82,984,674 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 177 | cpp | #include <iostream>
using namespace std;
int main(int argc, char** argv)
{
//cout << "Hello World!" << endl;
/* Nothing will be printed
by this program */
return 0;
}
| [
"bowei@vt.edu"
] | bowei@vt.edu |
614fef7b748e0381bbef69f067b2adc5c7134da1 | 8b81a300a4746ed4fe6b2a4de9dd4dee9b3e1cf1 | /src/wasm/wasm-engine.h | 361663e98dbc6f0b8ef2ae30024dc759771e0753 | [
"BSD-3-Clause",
"bzip2-1.0.6",
"Apache-2.0",
"SunPro"
] | permissive | china-liweihong/v8 | c079912a3ee9bfb1220254fc31edb5b281810616 | 128368c33f091914e6771000c855cd8991da6016 | refs/heads/master | 2022-04-10T17:07:09.117715 | 2020-04-17T08:10:57 | 2020-04-17T08:16:46 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 17,980 | h | // Copyright 2017 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.
#ifndef V8_WASM_WASM_ENGINE_H_
#define V8_WASM_WASM_ENGINE_H_
#include <algorithm>
#include <map>
#include <memory>
#include <unordered_map>
#include <... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
c84a1b05746d3a0b5de451119c223f7a9feb5f7b | ae81e1685061552dd34e1af5f71cbd549bd05706 | /paddle/fluid/operators/reader/create_ctr_reader_op.cc | 2a3e80c9152b5550631f8c5669283b782f975d4e | [
"Apache-2.0"
] | permissive | cryoco/Paddle | 3917982f4d27a5be2abee0f45e74812c7d383c03 | 39ac41f137d685af66078adf2f35d65473978b4a | refs/heads/develop | 2021-11-07T18:47:43.406188 | 2019-09-23T05:04:48 | 2019-09-23T05:04:48 | 197,357,973 | 3 | 1 | Apache-2.0 | 2021-08-12T06:24:30 | 2019-07-17T09:25:19 | C++ | UTF-8 | C++ | false | false | 3,958 | cc | // Copyright (c) 2018 PaddlePaddle Authors. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required... | [
"qiaolongfei@baidu.com"
] | qiaolongfei@baidu.com |
847e9aac000ee319a320a6f9c462584c5b7767bc | 734f33a38048a1e646143fc3fc8cbf896911d76b | /libgit2_cpp/src/Git_Clone_Options.cpp | 89eab1acb2ce0ee8ccf13de090d4bb01046fe850 | [] | no_license | smallB007/libgit2_cpp | 69176243d74a7c957fd2cc4f0efe282957ba947b | aa2cb8a6ddfded8366f0f59587c3188294c1a6da | refs/heads/master | 2021-01-13T17:06:12.750189 | 2016-12-14T17:31:20 | 2016-12-14T17:31:20 | 72,551,917 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 363 | cpp | #include "Git_Clone_Options.hpp"
Git_Clone_Options::Git_Clone_Options(unsigned ver) :c_git_clone_options_{ ver }
{
if (GIT_CLONE_OPTIONS_VERSION == ver)
{
set_default();
}
}
void Git_Clone_Options::set_default()
{
int res = git_clone_init_options(&c_git_clone_options_, GIT_CLONE_OPTIONS_VERSION);
if (LIBGIT2... | [
"atch.cpp@gmail.com"
] | atch.cpp@gmail.com |
9cea4384de0b9056ff40874ad0719cad33ddc0df | fd3a499e74de946116e9d03a204798ac842e6a7c | /FSWebServerLib.cpp | 2833bd44070d28050e681cf3695bc7710853cc9b | [] | no_license | dan-bbs/HoboDver_AJAX | 8776577f5f4d6198c2cdef2b588602f84fe57f9a | fca072602a4ef66cde2f7f4f684b787000d2b3be | refs/heads/master | 2021-09-05T07:50:03.594182 | 2018-01-25T10:03:46 | 2018-01-25T10:03:46 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 51,484 | cpp | #include "FSWebServerLib.h"
#include <StreamString.h>
AsyncFSWebServer ESPHTTPServer(80);
const char Page_WaitAndReload[] PROGMEM = R"=====(
<meta http-equiv="refresh" content="10; URL=/config.html">
Please Wait....Configuring and Restarting.
)=====";
const char Page_Restart[] PROGMEM = R"=====(
<meta http-equiv="re... | [
"danial.boytsov@gmail.com"
] | danial.boytsov@gmail.com |
1d969a5f516bdc082d915977ac4953b0554fa588 | 65dc4e5413965d9e7b5bb49ba84f71b5ae8d2f4c | /Day14.cpp | 26901cb2673b589f2e2e19a519dec5cff0453402 | [] | no_license | aneesh-mv/July-LeetCoding-Challenge | 9c648e949a7452ad9b38d9462cec18e377309b8c | 8e64f4527adb2865fb999641fe5a808304129f1f | refs/heads/master | 2022-11-20T03:17:52.124554 | 2020-07-19T18:14:10 | 2020-07-19T18:14:10 | 276,586,891 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 459 | cpp | /*
Given two numbers, hour and minutes. Return the smaller angle (in degrees) formed between the hour and the minute hand.
Example 1:
Input: hour = 12, minutes = 30
Output: 165
*/
class Solution {
public:
double angleClock(int hour, int minutes) {
double hour_angle = (hour % 12 ) * 30 + minutes * 0.5;
... | [
"noreply@github.com"
] | aneesh-mv.noreply@github.com |
519f187d4a122d7f480715c4b245b7cf54c8dab0 | e3e05c14fa38758847f6f44dfe7786a0a657c90b | /DMOPC '13 Contest 3 P3 - Crossing Field.cpp | e41bda2decd4ff777a22aa3d88bd30ebeaff3783 | [] | no_license | Roseak-lin/DMOJ-solutions | 62a39a59e80defa8b75bcd993f76fc5f7d3391e6 | 6418d50d1afcf5ef33c543bcd6712cb81b67cbfa | refs/heads/master | 2022-12-24T05:49:55.845365 | 2020-10-02T01:41:59 | 2020-10-02T01:41:59 | 279,458,029 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,869 | cpp | #include<iostream>
#include<bits/stdc++.h>
#include<iomanip>
#include<algorithm>
#include<cstdio>
#include<cstring>
#include<queue>
#include<map>
#include<cassert>
#include<assert.h>
#include<cmath>
#include<random>
#include<vector>
#include<bitset>
#include<set>
#include<memory>
#include<numeric>
#include<functional>
... | [
"roseak.lin@gmail.com"
] | roseak.lin@gmail.com |
ee27d4fb06d100373a06a8e55dc488babd69f845 | 4aadb120c23f44519fbd5254e56fc91c0eb3772c | /Source/opensteer/include/OpenSteer/GlobalData.h | 0a1f18722785f29419209cfdd0da200cc3606cbc | [
"MIT"
] | permissive | janfietz/edunetgames | d06cfb021d8f24cdcf3848a59cab694fbfd9c0ba | 04d787b0afca7c99b0f4c0692002b4abb8eea410 | refs/heads/master | 2016-09-10T19:24:04.051842 | 2011-04-17T11:00:09 | 2011-04-17T11:00:09 | 33,568,741 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,141 | h | #ifndef OPENSTEER_GLOBALDATA_H
#define OPENSTEER_GLOBALDATA_H
//-----------------------------------------------------------------------------
// Copyright (c) 2009, Jan Fietz, Cyrus Preuss
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without modification,
// are perm... | [
"janfietz@localhost"
] | janfietz@localhost |
bc11f348e2e44dd531520a1e9bf520e299af813e | 378295ab367dfc95eef032be507b156e792da966 | /LeetCode-155-Min Stack-Easy.cpp | c1bfe5824c224734fb857b257f869a6592c3a4d1 | [] | no_license | kimixuchen/leetcode | 6a9392883e6a5609b304931753d079a17ac242b1 | 90d88ed5933cdd4c3a44e034dbe4577479638369 | refs/heads/master | 2021-01-23T13:35:32.713751 | 2017-12-17T05:11:32 | 2017-12-17T05:11:32 | 47,063,714 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 932 | cpp | /**
LeetCode-155-Min Stack
19/09/16 09:35:12
xuchen
**/
#include <iostream>
#include <cfloat>
#include <cctype>
#include <unordered_set>
#include <unordered_map>
#include <cmath>
#include <vector>
#include <map>
#include <cmath>
#include <string>
#include <algorithm>
#include <cstring>
#include <queue>
#include <list>... | [
"kimixuchen@163.com"
] | kimixuchen@163.com |
2f3f0a7cdc9cdd101d9575ea4eaa54a29e67ecaa | 0e9c06510647e4993f2caa2596756462d6490b6a | /BZOJ/1054 [HAOI2008]移动玩具.cpp | f9f96cdbce6677aa22f63cd36af811577779b092 | [] | no_license | SJTUStevenDu/Algorithm-Contest | 7b6cf5f4355f1290190651dce878c0368216c577 | 30fe0bb31819935fa8c3cf5be6bef65626c7f2a3 | refs/heads/master | 2020-03-18T15:57:13.883363 | 2018-05-28T03:07:57 | 2018-05-28T03:07:57 | 134,939,166 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,297 | cpp | /*
DATE : 2013-5-22
RATING : 2
TAG : BFS
*/
#include <iostream>
#include <cstdio>
#include <cstring>
#include <algorithm>
#include <cstdlib>
#include <iomanip>
#include <cmath>
#include <vector>
#include <fstream>
#include <string>
#include <map>
//Orz WJMZBMR && sevenkplus
using namespace std;
const int MAXN = 1<... | [
"sjtustevendu@gmail.com"
] | sjtustevendu@gmail.com |
797d934b2c3933eea2906f34623d3385337bfc86 | 2852e563acc7afa5cc5ca5c1914cc49f623cbead | /main.cpp | 1914ae28a5302f4f34084a838154805cdadc01b9 | [] | no_license | DomKik/AGH_Teoria_Grafow | 7f7853243acea10a43ab54820d6c03183bd4da60 | 656949a1d5e4fc0a12db970c5531ea4cd113e0cd | refs/heads/main | 2023-05-08T22:07:20.327274 | 2021-05-31T22:28:18 | 2021-05-31T22:28:18 | 371,986,780 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 5,642 | cpp | #include <iostream>
#include <fstream>
#include <queue>
#include <vector>
#define INFINITY 1073741824 // 2^30
using namespace std;
struct Krawedz
{
int wierzcholek, waga;
};
bool operator<(Krawedz a, Krawedz b)
{
return a.waga < b.waga;
}
struct Zadanie
{
vector< vecto... | [
"noreply@github.com"
] | DomKik.noreply@github.com |
32e3d0b94100b2fa73cb37c582ffe05c4e8ab681 | 1825283527f5a479204708feeaf55f4ab6d1290b | /leetcode/python/689/sol.cpp | 4d54380d11538438cb7dddb16b541794e155b8e3 | [] | no_license | frankieliu/problems | b82c61d3328ffcc1da2cbc95712563355f5d44b5 | 911c6622448a4be041834bcab25051dd0f9209b2 | refs/heads/master | 2023-01-06T14:41:58.044871 | 2019-11-24T03:47:22 | 2019-11-24T03:47:22 | 115,065,956 | 1 | 0 | null | 2023-01-04T07:25:52 | 2017-12-22T02:06:57 | HTML | UTF-8 | C++ | false | false | 1,576 | cpp |
Concise C++ DP solution with comments
https://leetcode.com/problems/maximum-sum-of-3-non-overlapping-subarrays/discuss/108236
* Lang: cpp
* Author: zefengsong
* Votes: 0
```
class Solution {
public:
vector<int> maxSumOfThreeSubarrays(vector<int>& nums, int k) {
// dp[i] is the sum of subarray of i... | [
"frankie.y.liu@gmail.com"
] | frankie.y.liu@gmail.com |
2d1898c135fa4c10034825fc1e46132c8e9466fe | 2573f161ca4796855c7169bbc771e21557ad1feb | /src/MD_MAX72xx.cpp | cd7b3df0364b3a044edfcee244cbf6accaeb58b3 | [] | no_license | fajarlabs/MD_MAX72XX | 2c27dc75de199995db9cf6d8a681baf1dfdcdd88 | 9db01efd4453bbc43f25c0ad97fcff59db7dbc8c | refs/heads/master | 2021-04-27T00:11:29.098547 | 2018-02-26T20:59:02 | 2018-02-26T20:59:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,816 | cpp | /*
MD_MAX72xx - Library for using a MAX7219/7221 LED matrix controller
See header file for comments
This file contains class and hardware related methods.
Copyright (C) 2012-14 Marco Colli. All rights reserved.
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser... | [
"8136821@gmail.com"
] | 8136821@gmail.com |
56a3c77a615ef0ce4268f1f278be3cde449c8fb6 | 2cabea22b97846854334bba7824c774c77dddc3a | /test/core/transport/binder/wire_reader_test.cc | 6d3dc71959d8f953f5a5c9b217c5f86018249e8d | [
"Apache-2.0"
] | permissive | zubenkoivan/grpc | 5b0d5b32551b4c80e029c53523596afe5d44de97 | 7e355a982855ae7955988d254678b84fa0b51c8d | refs/heads/master | 2023-07-25T17:13:53.794948 | 2021-09-07T15:23:34 | 2021-09-07T15:23:34 | 404,027,327 | 0 | 0 | Apache-2.0 | 2021-09-07T15:19:54 | 2021-09-07T15:19:53 | null | UTF-8 | C++ | false | false | 8,504 | cc | // Copyright 2021 gRPC authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to i... | [
"noreply@github.com"
] | zubenkoivan.noreply@github.com |
28a7c615f29eda10ffb03f49d180c0ded508ea4e | c0d7d84b7520c3d991b01b2fc34e7648b35b3ce5 | /studies/tsp/src/Ant.h | e8482ab271e3757ceb05537afd2be7e963977890 | [
"MIT"
] | permissive | peishengjie/aco-fault | a885ab7f0d529e5118d41d0d3972273236f16db3 | 934bad1cc3bfdddf478afb23617efcfc935dd2bd | refs/heads/master | 2022-03-23T00:47:00.521637 | 2014-05-09T03:14:54 | 2014-05-09T03:14:54 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 756 | h | /*
* File: Ant.h
* Author: keoma
*
* Created on April 17, 2013, 5:11 PM
*/
#ifndef ANT_H
#define ANT_H
#include "Environment.h"
class Ant
{
public:
Ant( int startingNode );
virtual ~Ant();
bool finishedCycle();
void restart();
void move( Environment& environment );
void updatePheromon... | [
"wmaciel@tecgraf.puc-rio.br"
] | wmaciel@tecgraf.puc-rio.br |
5ba884dc1b57647290d3c70731e76b202f360290 | c097c09c748cb8294d83d4763d744957501cd67c | /ProyectoHMVCMaquinasPalmadi/MHerramienta.cpp | 72d7bf7461bf6c8bea497e169e64fc918f9f0ec0 | [] | no_license | PeterGabrielVE/CPlusPlus | afd9af5c4b5507fe0eb16793bea76f4ba76dc247 | b82a3df577570cc1e8deac2aa14c7baf494dc158 | refs/heads/master | 2021-05-11T04:03:03.054773 | 2018-04-01T02:50:01 | 2018-04-01T02:50:01 | 117,926,636 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 992 | cpp | /*
* Controlador.cpp
*
* Created on: 18/11/2013
* Author: Pedro Gabriel Leal
*/
#include "MHerramienta.h"
MHerramienta::MHerramienta() {
// TODO Auto-generated constructor stub
}
void MHerramienta::SetDiasalguiler(int diasa)
{
diasalguiler = diasa;
}
int MHerramienta::GetDiasalguiler()
{
return... | [
"gaboleal123@gmail.com"
] | gaboleal123@gmail.com |
3bba763a1a024c5813f1bb94accef6b7dd723bee | c776476e9d06b3779d744641e758ac3a2c15cddc | /examples/litmus/c/run-scripts/tmp_1/W+RW+RR+WR+dmb.sy+poaa+dmb.sy+L.c.cbmc.cpp | af6f3cf2892f53ec56cbccebf9d491955aaf4249 | [] | no_license | ashutosh0gupta/llvm_bmc | aaac7961c723ba6f7ffd77a39559e0e52432eade | 0287c4fb180244e6b3c599a9902507f05c8a7234 | refs/heads/master | 2023-08-02T17:14:06.178723 | 2023-07-31T10:46:53 | 2023-07-31T10:46:53 | 143,100,825 | 3 | 4 | null | 2023-05-25T05:50:55 | 2018-08-01T03:47:00 | C++ | UTF-8 | C++ | false | false | 57,873 | cpp | // 0:vars:3
// 6:atom_3_X2_0:1
// 3:atom_1_X0_1:1
// 4:atom_2_X0_1:1
// 5:atom_2_X2_0:1
// 7:thr0:1
// 8:thr1:1
// 9:thr2:1
// 10:thr3:1
#define ADDRSIZE 11
#define NPROC 5
#define NCONTEXT 1
#define ASSUME(stmt) __CPROVER_assume(stmt)
#define ASSERT(stmt) __CPROVER_assert(stmt, "error")
#define max(a,b) (a>b?a:b)
c... | [
"tuan-phong.ngo@it.uu.se"
] | tuan-phong.ngo@it.uu.se |
8cbdf04a22938b656f7a041f21ac7dc15c2f9a45 | b1dae6d4e94e41ee5b3bfa611bd3d6801714c006 | /RayTracer/Source/Ray.h | ac7757386139aa54cfbeccee29cb06f2ba5e379e | [] | no_license | jmoak3/Tracer | eeebb1f275e3caa515d25e9c77e779b6e6db9e7c | 7027dcba346923a45ff9c41022febfac78fbd646 | refs/heads/master | 2021-01-21T21:39:30.725238 | 2016-04-18T05:30:36 | 2016-04-18T05:30:36 | 30,548,410 | 13 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 690 | h | #ifndef RAY_H
#define RAY_H
class Vector;
class Point;
#include "Color.h"
#include <math.h>
#include "Point.h"
#include "Vector.h"
struct Hit
{
Normal normal = Normal(1.f, 0.f, 0.f);
float tHit = INFINITY;
float eps = 0.f;
Material material;
int shapeID = -1;
int type = -1;
};
class Ray
{
public:
Ray();
Ray... | [
"mrjmoak3@gmail.com"
] | mrjmoak3@gmail.com |
2b119ae36750a05fe06d6dc6c49b368bc565276b | 445e54006110ba19c134f7df2799d40c8ea13483 | /Cpp/SEQ07.cpp | a938b7d47dabe45089c7f577a47e1e6860cedd42 | [] | no_license | hvdieu/mycode | ac5dd90e4db8aebe9b2503d719be2a67714c29e5 | 61a1fd469911d9c817da60150cf8628c4e93eb56 | refs/heads/master | 2021-01-20T00:35:23.565821 | 2016-10-03T05:35:49 | 2016-10-03T05:35:49 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,206 | cpp | #include <bits/stdc++.h>
using namespace std;
typedef pair<int, int> ii;
typedef pair<long long, int> lli;
typedef long long ll;
typedef unsigned long long ull;
#define For(i,a,b) for(int i=a;i<=b;i++)
#define Rep(i,a,b) for(int i=a;i>=b;i--)
#define fi first
#define se second
#define ld long double
#define pb push_ba... | [
"pynhp9x@gmail.com"
] | pynhp9x@gmail.com |
48da72c4b1db511655e5a1b1efe66bf4941db5f3 | 4536c89828880388a65f811a9e871a6ca26ad58b | /game/graphics/play/QuestBalloon.hpp | 6126be4f8df63794edc6b1d98f8fc48a0e74ef1e | [] | no_license | CyberFlameGO/AwdClient | 2dbf24f17034abe166b5cc2403c700135e9cd6f4 | 2cc76980d0dbbbe80dff3deb539e3ba8c053d93c | refs/heads/main | 2023-05-31T07:41:56.228127 | 2021-06-20T22:03:09 | 2021-06-20T22:03:09 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 866 | hpp | #pragma once
#include "../common/Drawable.hpp"
#include "../common/RichText.hpp"
#include "Quest.hpp"
namespace awd::game {
class QuestBalloon : public Drawable {
private:
float totalTopMargin;
std::shared_ptr<Quest> quest;
uint32_t progress = 9999; // см. конструктор и ... | [
"darksidecode@ya.ru"
] | darksidecode@ya.ru |
e517c27d7bd398e8aed6340a74e6f9b0ab592679 | 17633d1f00948a49ebf058df74863a4992ead4f5 | /1431/P1431/P1431/main.cpp | def0643acfea23fedc4ac6d93f05661d52fab962 | [
"MIT"
] | permissive | swy20190/Leetcode-Cracker | 965ae2ce9c548dc39cbe3a082258c2373301248c | 3b80eacfa63983d5fcc50442f0813296d5c1af94 | refs/heads/main | 2023-07-01T15:06:57.827192 | 2021-08-12T07:30:23 | 2021-08-12T07:30:23 | 311,195,588 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 433 | cpp | #include <vector>
using namespace std;
class Solution {
public:
vector<bool> kidsWithCandies(vector<int>& candies, int extraCandies) {
int max = INT_MIN;
for (auto candy : candies) {
if (candy > max) {
max = candy;
}
}
vector<bool> answer;
for (auto candy : candies) {
if (candy + extraCandies ... | [
"midnightsun114514@gmail.com"
] | midnightsun114514@gmail.com |
8e14d1f917559bad074ba659ce7bd45b532f27b4 | 6e23d2ef2db745cfd86580ddf9060fd7c56f3133 | /coreHFparam/src/BuildInput.cpp | 4118ad98a4919ec5c25c363455e29dd91c8a7294 | [] | no_license | vultor33/corehf | 15031f8d03cc7b94a44f8921c3a8bee35b7b7e06 | 7d65788b86c454ad50790181416abfc1d68d5da8 | refs/heads/master | 2021-01-21T13:03:26.163890 | 2016-04-26T16:18:46 | 2016-04-26T16:18:46 | 53,365,761 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,853 | cpp | #include "BuildInput.h"
#include <string>
#include <fstream>
#include <iostream>
#include <stdlib.h>
using namespace std;
BuildInput::BuildInput()
{
string auxHeader = " NZVAR=0 COORD=UNIQUE RUNTYP=GRADIENT MAXIT=200 $END \n";
auxHeader += " $SYSTEM MWORDS = 20 MEMDDI = 20 $END \n";
auxHeader += " $... | [
"fred.vultor@gmail.com"
] | fred.vultor@gmail.com |
4da4ca0c8bc422cc739c47c849077861780705d1 | d0f2bb18c39ff5dac5d9d2cec8cc98e96a642d8a | /Examples/Cpp/source/Outlook/SearchMessagesAndFoldersInPST.cpp | 36c20bee8a2e51e384c1d99831423c1a646e4a09 | [
"MIT"
] | permissive | kashifiqb/Aspose.Email-for-C | d1e26c1eb6cb1467cee6a050ed5b52baaf186816 | 96684cb6ed9f4e321a00c74ca219440baaef8ba8 | refs/heads/master | 2023-03-24T22:44:20.264193 | 2021-02-10T14:07:51 | 2021-02-10T14:07:51 | 105,030,475 | 0 | 0 | null | 2017-09-27T14:43:20 | 2017-09-27T14:43:20 | null | UTF-8 | C++ | false | false | 5,332 | cpp | /*
This project uses Automatic Package Restore feature of NuGet to resolve Aspose.Email for .NET API reference
when the project is build. Please check https://Docs.nuget.org/consume/nuget-faq for more information.
If you do not wish to use NuGet, you can manually download Aspose.Email for .NET API from https://www.n... | [
"kashifiqb@gmail.com"
] | kashifiqb@gmail.com |
275cffe9d6d41add4ed61f2b189765aae6e0676a | 2d8af1aa078053da2d1092633a34913d87bd9b3e | /InertiaTensor/InertiaTensor.cpp | 2cc50700ea236659dd832b784701f6e982eb4417 | [] | no_license | JosephAriganello/InertiaTensor | 1efc2d8712dafe0987e0d1f799179edcb4ae5676 | a44afcc16fbf53f9648a1c5837762bc9967aa842 | refs/heads/main | 2023-01-09T22:56:52.386099 | 2020-11-11T08:46:48 | 2020-11-11T08:46:48 | 311,912,606 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,299 | cpp | #include "InertiaTensor.h"
#include <iostream>
using namespace std;
namespace MATH {
InertiaTensor::InertiaTensor(){
length = 0.0f;
width = 0.0f;
height = 0.0f;
mass = 0.0f;
radius = 0.0f;
centerOfMass = Vec3(0.0f, 0.0f, 0.0f);
iX = 0.0f;
iY = 0.0f;
iZ = 0.0f;
}
InertiaTensor::InertiaTensor(fl... | [
"46607514+JosephAriganello@users.noreply.github.com"
] | 46607514+JosephAriganello@users.noreply.github.com |
878f5131c0616a3f47eddba69f89bec8b9cada2c | 04865343ed707b599957696ecf55440dc0e97fdc | /queryservice.cpp | a4c2068bcfa2330678e3a5002d493932cf7a988b | [] | no_license | jingedawang/ss-palm2015 | c9d541b50f8f7dbebcfdc10a39755b5aef7895b2 | d07a889f58ea8007000d1a3190f306f076c82766 | refs/heads/master | 2021-01-20T07:27:49.433736 | 2017-08-27T09:56:09 | 2017-08-27T09:56:09 | 101,540,075 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,058 | cpp | #include "queryservice.h"
#include "commandmanager.h"
#include "command.h"
#include "communicationmanager.h"
#include "communication.h"
#include "actionask.h"
#include "devicecfg.h"
#include "deviceldr.h"
#include "deviceenv.h"
#include "devicepcm.h"
#include "devicepdt.h"
QueryService::QueryService(QObjec... | [
"wjg172184@163.com"
] | wjg172184@163.com |
357b390aea86465d1d54cfeb4f25c5d081754c2d | 650c39d556267e01043b8002c94aee98c1e944e3 | /Kernel/src/logging.cpp | 12fb9ecbafe67b0be4b10335348bd6117ac8c11f | [
"BSD-2-Clause"
] | permissive | borrrden/borrrdex | 60078acb3234461603fcda5eb335b0af3b68e177 | 647223094f3778cc028c8e56d91299168a17d939 | refs/heads/main | 2023-06-15T03:24:27.544977 | 2021-07-14T05:16:59 | 2021-07-14T05:16:59 | 334,061,931 | 12 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 10,722 | cpp | #include <logging.h>
#include <kstring.h>
#include <serial.h>
#include <device.h>
#include <kmath.h>
#include <idt.h>
#include <abi-bits/errno.h>
#include <termios.h>
constexpr uint16_t LADJUST = 0x0004; /* left adjustment */
constexpr uint16_t LONGINT = 0x0010; /* long integer */
constexpr uint16_t LLONGINT = 0x0... | [
"borrrden@gmail.com"
] | borrrden@gmail.com |
8a6dcaf38a0f37d2b964b38b3857938590e1a316 | 74313b70503f7cb6ec1bf66e6d2d784f33580ac0 | /客户端源码_QT/mainwindow.h | ab8903af7e9c87dc2d9df09f916ba47da2cac30f | [] | no_license | BURmoon/FileDrawer | 13bd16843fab7701e76a4e877b62f41db1f0c353 | 276a8de3c9b691ee5ecb63afcdb97d8691abfda8 | refs/heads/main | 2023-03-15T05:11:21.571389 | 2021-03-22T11:00:41 | 2021-03-22T11:00:41 | 338,215,893 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,614 | h | #ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include <QMainWindow>
#include <QLabel>
#include <QDebug>
#include <QMap>
#include <QFileDialog>
#include <QMessageBox>
#include <QJsonDocument>
#include <QJsonObject>
#include <QJsonArray>
#include <QNetworkReply>
#include <QNetworkRequest>
#include <QHttpPart>... | [
"noreply@github.com"
] | BURmoon.noreply@github.com |
219603d6edc54dd57d1739b25deda9a1f60716d8 | 7dd06303e19686bcb7ab27d95114330e3418f15f | /code/token.cpp | ded57e9a03076128c644065b0c16d38358235b80 | [] | no_license | Cluedrew/lambda | b8c28ac063a063cc1e5a7a9ff7aa92216685ba5d | 58ec5b247dfcf31a161d860dd14551b9718bd818 | refs/heads/master | 2021-01-10T18:16:00.863024 | 2016-01-24T13:48:13 | 2016-01-24T13:48:13 | 45,636,335 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 569 | cpp | #include "token.hpp"
// The Token structure repersents a token from the tokenizer.
#include <iostream>
#include "symbol.hpp"
// The definition of the eofToken.
Token const eofToken = Token{getEofSymbol(), '\0'};
// Operator definitions.
bool operator== (Token t1, Token t2)
{
return (t1.kind == t2.kind) && (t1.t... | [
"cluedrew.of.ink@gmail.com"
] | cluedrew.of.ink@gmail.com |
eb8dbe43003220bc79f91f4ddfae41104c52acb8 | 892dbcaa697383b7653b6b6dfb8b9e8b10fd3e87 | /łatwe/Czy-umiesz-potegowac/PA05-POT.cpp | b79611cc5791f1cd22eeb62a374593644fd73d29 | [] | no_license | danielcisak/POLSKI-SPOJ | 2c30b98ffa85d6615e6c9d73a9828761cc2b1fe4 | 38e135ba5c725675b09e31b7474ec0b108e5aa67 | refs/heads/main | 2023-09-05T19:18:24.030543 | 2021-11-11T15:28:21 | 2021-11-11T15:28:21 | 390,432,782 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 290 | cpp | #include <iostream>
int main()
{
int D;
std::cin >> D;
for (int i = 0; i < D; i++)
{
int a, b;
std::cin >> a >> b;
b = (b - 1) % 4 + 1;
a %= 10;
int multiplier = a;
for (int j = 1; j < b; j++)
{
a = (a * multiplier) % 10;
}
std::cout << a << "\n";
}
return 0;
}
| [
"noreply@github.com"
] | danielcisak.noreply@github.com |
0eae5a5d290323abe2d24ffd1d4cabeab4a83d88 | e87da7a3b1e5fcad4ae4c2de4f4800d736194036 | /service/proto/server_proto_src/g2s_player_enter_request.pb.h | 204e38e11183ee318c9b77cbee9478de5e20219d | [] | no_license | lxq2537664558/realtime_ex | ab7713c37a971d904d709880bccab9b3fcfde79d | f3e09f854e3a4ff0dcc6a53ceee82f795ba140cd | refs/heads/master | 2021-05-13T16:16:44.309001 | 2017-11-10T05:48:52 | 2017-11-10T05:48:52 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | true | 6,768 | h | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: g2s_player_enter_request.proto
#ifndef PROTOBUF_g2s_5fplayer_5fenter_5frequest_2eproto__INCLUDED
#define PROTOBUF_g2s_5fplayer_5fenter_5frequest_2eproto__INCLUDED
#include <string>
#include <google/protobuf/stubs/common.h>
#if GOOGLE_PROTOBUF_VE... | [
"379171482.qq.com"
] | 379171482.qq.com |
b1c8bee6d14cc0c47774b56a72d2acf4ee2df7d8 | aba765c5993b8d1074622441089a55a1610ce18e | /src/trident/kb/cacheidx.cpp | c3b949e79153532bb2e92e288bcaeee19b1c575a | [
"BSD-3-Clause",
"Apache-2.0"
] | permissive | karmaresearch/trident | cbf3dfa7d81c93ac40c76782564d0e453f605fa3 | 621ed49c648c811d5f69617833539f419766d3be | refs/heads/master | 2023-08-03T23:09:38.295697 | 2023-07-19T07:21:15 | 2023-07-19T07:21:15 | 97,223,343 | 23 | 9 | Apache-2.0 | 2021-09-30T09:04:25 | 2017-07-14T10:40:40 | C++ | UTF-8 | C++ | false | false | 3,687 | cpp | /*
* Copyright 2017 Jacopo Urbani
*
* 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, V... | [
"jacopo@cs.vu.nl"
] | jacopo@cs.vu.nl |
38fca84eb5c22de488941e2ab863c8ea54199443 | f319bd0900a881ab372eb0601025f3e1bd2d5610 | /mpc_to_line/src/MPC_act_state.cpp | 2cd1179629de6c6ee73daffe48cc3da765706cc3 | [] | no_license | rbiasini/CarND-MPC-Quizzes | 80fb91bb30094df39faf003130d3c08f78e75908 | 14500d9c6757222cfd14eacc81836422a4991d1e | refs/heads/master | 2021-06-21T08:17:24.044815 | 2017-08-17T08:51:30 | 2017-08-17T08:51:30 | 100,339,935 | 0 | 0 | null | 2017-08-15T04:51:59 | 2017-08-15T04:51:58 | null | UTF-8 | C++ | false | false | 13,115 | cpp | #include "MPC.h"
#include <math.h>
#include <cppad/cppad.hpp>
#include <cppad/ipopt/solve.hpp>
#include "Eigen-3.3/Eigen/Core"
#include "Eigen-3.3/Eigen/QR"
#include "matplotlibcpp.h"
namespace plt = matplotlibcpp;
using CppAD::AD;
// We set the number of timesteps to 25
// and the timestep evaluation frequency or e... | [
"riccardo.biasini@gmail.com"
] | riccardo.biasini@gmail.com |
0a3655baaac9b52f3492423e4760bfc5031e1a88 | 30105cdf24a8ee004eb461b52e73f36372072c84 | /src/Thread.cpp | d936eb64d76764cec418bde3a3b380a9ba0992bd | [] | no_license | botuljina/ProcessorKernel | 4136a1fd5390353b725b60dc8ee81ce046da65d4 | d48cfe28dfa2633cde08eb3b7a98c96046caa9c4 | refs/heads/master | 2022-12-29T19:35:45.958675 | 2020-10-03T15:55:04 | 2020-10-03T15:55:04 | 256,285,852 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,143 | cpp | #include "Thread.h"
#include "Timer.h"
#include "SCHEDULE.H"
#include "Idle.h"
#include <iostream.h>
#include "sPrintf.h"
ID Thread::getId()
{
return threadPCB->threadID;
}
/*void Thread::assignIDtoThread()
{
Timer::globalthreadID++;
threadID = Timer::globalthreadID;
}*/
//NOTIFIKACIJA: MOJ THREAD KOSTRUKTOR ZA... | [
"lsimovic140@gmail.com"
] | lsimovic140@gmail.com |
442c494d97f84f1002b3a056f8d95b512d09b5b9 | d6f3668b930770e3d63bfb5c6fbfeeb187f1c607 | /BassZeroVSTi/Source/GUI/Components/ENVEditor.cpp | 06928525be6de3ef4dc34c440906dc5e206e9d0e | [] | no_license | gorangrubic/imbAVR.ArduinoSynth | 97240e751f1833a2c9fa472143fbb741b1ce07a8 | 45a9d15e64881bf44e50f3567203b5899f49e9d6 | refs/heads/master | 2020-07-09T00:58:50.968308 | 2019-10-28T05:25:54 | 2019-10-28T05:25:54 | 203,828,714 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,020 | cpp | /*
==============================================================================
This is an automatically generated GUI class created by the Projucer!
Be careful when adding custom code to these files, as only the code within
the "//[xyz]" and "//[/xyz]" sections will be retained when the file is loaded
an... | [
"hardy@veles.rs"
] | hardy@veles.rs |
af0d93054ec31d243362eb2677cae19b48523637 | 82dd63d58a5866e0adf7882fc40696967f3db6d0 | /code/outdated_code/Gameplay.h | e41f445f89ad7841e50835fddbff84e9d1fdfb24 | [] | no_license | dotmatrixhero/Pokuelike | 6eb88af9667dc2898a4fd3a444e251cf27e3f8cb | 5c11f11f9d2e8285449e4d8c8da5b67d6615c608 | refs/heads/master | 2021-01-10T19:54:34.284114 | 2013-12-09T22:55:15 | 2013-12-09T22:55:15 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,116 | h | /*
* File: Gameplay.h
* Author: Brian
*
* Created on June 17, 2012, 1:45 AM
*/
#ifndef GAMEPLAY_H
#define GAMEPLAY_H
#include <libtcod/libtcod.hpp>
#include "Drawable.h"
#include "Actor.h"
#include "MapManager.h"
#include "MapGenerator.h"
#include <vector>
#include "Pokemon.h"
#include "Renderer.h"
#include <ma... | [
"brokenazn@gmail.com"
] | brokenazn@gmail.com |
43e16dc3ec867a425408ee724c7ff17fb6d047aa | 9f81d77e028503dcbb6d7d4c0c302391b8fdd50c | /google/cloud/video/transcoder/v1/internal/transcoder_stub_factory.h | e1c49e1502f75889ccbdfb7cc0ea6afabd6f2d68 | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | googleapis/google-cloud-cpp | b96a6ee50c972371daa8b8067ddd803de95f54ba | 178d6581b499242c52f9150817d91e6c95b773a5 | refs/heads/main | 2023-08-31T09:30:11.624568 | 2023-08-31T03:29:11 | 2023-08-31T03:29:11 | 111,860,063 | 450 | 351 | Apache-2.0 | 2023-09-14T21:52:02 | 2017-11-24T00:19:31 | C++ | UTF-8 | C++ | false | false | 1,679 | h | // Copyright 2022 Google 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
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in... | [
"noreply@github.com"
] | googleapis.noreply@github.com |
a562988b13651eba1b4a3d85d7b8f5f72d067fe3 | f989ed66b0400fdc37b4dd6928e163e5517d8591 | /Plugins/AdvancedSessions/Intermediate/Build/Win64/UE4/Inc/AdvancedSessions/EndSessionCallbackProxy.generated.h | 55bfb41894f3b27de351922d9c75ef81f6885383 | [] | no_license | briancheagney/Newest | 152e9b4d3444d65d7d1addb172574ec8ac5fed99 | b7d4980289e877451f9957bfe74352bf4ac77afe | refs/heads/main | 2023-02-26T09:51:44.618730 | 2021-02-04T20:14:16 | 2021-02-04T20:14:16 | 336,070,086 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,010 | h | // Copyright Epic Games, Inc. All Rights Reserved.
/*===========================================================================
Generated code exported from UnrealHeaderTool.
DO NOT modify this manually! Edit the corresponding .h files instead!
========================================================================... | [
"bheagney@highpoint.edu"
] | bheagney@highpoint.edu |
5850fa759ce3234c34a6cc39ed68543ca686b3ec | 39748c7d5cf45a7c109c33c957c416b8657fdb08 | /FEBioFluid/FEFluidAnalysis.cpp | 81e582fc1c0d269f2ea68f2c746464615e514071 | [
"MIT"
] | permissive | febiosoftware/FEBio | 46f895daf2927b320c9f6bcbee4ac2accc598b8b | 9b8d9371af6edba794a308b82424f9bc2eef74e0 | refs/heads/develop | 2023-08-13T12:57:21.134397 | 2023-08-11T18:25:12 | 2023-08-11T18:25:12 | 272,567,637 | 122 | 46 | MIT | 2023-08-07T07:06:01 | 2020-06-15T23:52:36 | C++ | UTF-8 | C++ | false | false | 1,668 | cpp | /*This file is part of the FEBio source code and is licensed under the MIT license
listed below.
See Copyright-FEBio.txt for details.
Copyright (c) 2021 University of Utah, The Trustees of Columbia University in
the City of New York, and others.
Permission is hereby granted, free of charge, to any person obtaining a... | [
"50155781+SteveMaas1978@users.noreply.github.com"
] | 50155781+SteveMaas1978@users.noreply.github.com |
806d676c8af3541c703887d9939c49f893e3b8f6 | 5e1f5f2090013041b13d1e280f747aa9f914caa4 | /src/devices/testing/goldfish/fake_pipe/fake_pipe.cc | 4192102c6b359c81b678efc0223447e25d326589 | [
"BSD-2-Clause"
] | permissive | mvanotti/fuchsia-mirror | 477b7d51ae6818e456d5803eea68df35d0d0af88 | 7fb60ae374573299dcb1cc73f950b4f5f981f95c | refs/heads/main | 2022-11-29T08:52:01.817638 | 2021-10-06T05:37:42 | 2021-10-06T05:37:42 | 224,297,435 | 0 | 1 | BSD-2-Clause | 2022-11-21T01:19:37 | 2019-11-26T22:28:11 | C++ | UTF-8 | C++ | false | false | 5,169 | cc | // Copyright 2021 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "src/devices/testing/goldfish/fake_pipe/fake_pipe.h"
#include <fuchsia/hardware/goldfish/pipe/cpp/banjo.h>
#include <lib/fake-bti/bti.h>
#include... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
069934ff5da1ffebf2e08bd3c749119a168c781e | 5f9b850d5c2257fabd9b85da7da4d1e2b3ffb32a | /Bai 5/C5.cpp | bc8ad416997dc4b918220a400b886556b41c57d6 | [] | no_license | HoangTrang150302/LTNC | b19bbb506353f42cc7e752b9386674dfb14e40d9 | 2857794856da352a00e8e65c03d35e7979ea68ab | refs/heads/main | 2023-05-01T02:45:24.443266 | 2021-05-13T09:18:33 | 2021-05-13T09:18:33 | 335,554,200 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 312 | cpp | #include<iostream>
#include<cmath>
using namespace std;
bool is_Prime(int n)
{
if(n < 2) return false;
for(int i = 2; i <= sqrt(n); i++)
{
if(n % i == 0)
return false;
}
return true;
}
int main()
{
int N;
cin >> N;
for (int i = 0; i < N; i++)
{
if(is_Prime(i)) cout << i << " ";
}
return 0;
}
| [
"noreply@github.com"
] | HoangTrang150302.noreply@github.com |
42875c15c84de0f0b51e58f76530778c50cb4d05 | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/rsync/gumtree/rsync_repos_function_31_last_repos.cpp | 35c27fbb0330993c87b5f32216384d0d3fc26cc1 | [] | no_license | niuxu18/logTracker-old | 97543445ea7e414ed40bdc681239365d33418975 | f2b060f13a0295387fe02187543db124916eb446 | refs/heads/master | 2021-09-13T21:39:37.686481 | 2017-12-11T03:36:34 | 2017-12-11T03:36:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 595 | cpp | static void become_daemon(void)
{
int i;
pid_t pid = fork();
if (pid) {
if (pid < 0) {
fprintf(stderr, "failed to fork: %s\n", strerror(errno));
exit_cleanup(RERR_FILEIO);
}
_exit(0);
}
create_pid_file();
/* detach from the terminal */
#ifdef HAVE_SETSID
setsid();
#elif defined TIOCNOTTY
i = open... | [
"993273596@qq.com"
] | 993273596@qq.com |
034d95e8990f963ed4a305d8647feff6ae54025f | a171106743e7188c1d9fab6c6c29685b37684a21 | /src/Play_Sound.cpp | b79b0e04840f04221dae7179a534f3b5c7a55627 | [] | no_license | TruongKhoiNguyen/RuTetris | a484d788fff35b7d3c8596483a9ff07335ef9acc | 356be067a47aa670f483fe45e0098bbf41109a60 | refs/heads/master | 2023-04-04T00:52:56.176715 | 2021-04-18T14:34:24 | 2021-04-18T14:34:24 | 357,538,920 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 71 | cpp | #include "Play_Sound.h"
Play_Sound::Play_Sound()
{
//ctor
}
| [
"truongkhoi31052002@gmail.com"
] | truongkhoi31052002@gmail.com |
62d492bc03e4cf49fc0a46c9b4becd9cad9b1b09 | 4eaab9327d25f851f9e9b2cf4e9687d5e16833f7 | /problems/spiral_matrix_ii/solution.cpp | 76e74efb785451a49b3cfc1b4550dd699ac54712 | [] | no_license | kadhirash/leetcode | 42e372d5e77d7b3281e287189dcc1cd7ba820bc0 | 72aea7d43471e529ee757ff912b0267ca0ce015d | refs/heads/master | 2023-01-21T19:05:15.123012 | 2020-11-28T13:53:11 | 2020-11-28T13:53:11 | 250,115,603 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 848 | cpp | class Solution {
public:
vector<vector<int> > generateMatrix(int n) {
vector<vector<int> > ret( n, vector<int>(n) );
int k = 1, i = 0;
while( k <= n * n )
{
int j = i;
// four steps
while( j < n - i ) // 1. horizonal, left to right
... | [
"kadhirash@gmail.com"
] | kadhirash@gmail.com |
654764d0b8c713f57e58abc34a8b1e502789e5e7 | 639cdc6ce0e94a27b72ceede7a295ca621fae21a | /build/linux-build/Sources/src/kha/graphics2/truetype/Stbtt_temp_font_v_metrics.cpp | 62f9de4fa7ab047a885aff168e5d06fb753de31e | [
"MIT"
] | permissive | HedgehogFog/TimeOfDeath | fb04bd6010115dc37b5d7777821f8fa53e1854a0 | b78abacf940e1a88c8b987d99764ebb6876c5dc6 | refs/heads/master | 2020-04-27T10:48:43.759612 | 2019-03-18T04:30:47 | 2019-03-18T04:30:47 | 174,270,248 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | true | 4,241 | cpp | // Generated by Haxe 4.0.0-preview.5
#include <hxcpp.h>
#ifndef INCLUDED_kha_graphics2_truetype_Stbtt_temp_font_v_metrics
#include <hxinc/kha/graphics2/truetype/Stbtt_temp_font_v_metrics.h>
#endif
HX_DEFINE_STACK_FRAME(_hx_pos_a9d3d6f58574fcec_36_new,"kha.graphics2.truetype.Stbtt_temp_font_v_metrics","new",0xdca19cf4... | [
"hedgehog_fogs@mail.ru"
] | hedgehog_fogs@mail.ru |
81acd2b06090b41b7c8157f737c9ca47642cb415 | a7b4e51254988822170e9fe23bea91c5548da52a | /source/QtMultimedia/QMediaPlayerSlots.cpp | fd72965e253efe6d2b18fa765dc8b3f69e251b2f | [
"MIT"
] | permissive | orangesocks/Qt5xHb | 0989da07c7e3ddd7c6503a1fe5b691fa1804ce31 | 03aa383d9ae86cdadf7289d846018f8a3382a0e4 | refs/heads/master | 2021-10-25T17:07:37.831633 | 2021-05-07T11:17:30 | 2021-05-07T11:17:30 | 125,614,579 | 0 | 0 | MIT | 2019-04-05T15:56:42 | 2018-03-17T09:30:06 | xBase | UTF-8 | C++ | false | false | 9,540 | cpp | /*
Qt5xHb - Bindings libraries for Harbour/xHarbour and Qt Framework 5
Copyright (C) 2021 Marcos Antonio Gambeta <marcosgambeta AT outlook DOT com>
*/
/*
DO NOT EDIT THIS FILE - the content was created using a source code generator
*/
#include "QMediaPlayerSlots.h"
QMediaPlayerSlots::QMediaPla... | [
"5998677+marcosgambeta@users.noreply.github.com"
] | 5998677+marcosgambeta@users.noreply.github.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.