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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
aa9ca14ffc314c8840f0a35a66c07ebba8ce7f46 | edf85ec3c273e7ce0ed4790e5725a55393a2c488 | /extlibs/include/Jopnal/Physics/Shape/CompoundShape.hpp | d060452187d7b3c23b32086587be3e68242c4e95 | [
"Zlib"
] | permissive | Jopnal/Jopmodel | fb9cb83dad5c4432d5ffaefc8ac45c97ce37ee97 | cfd50b9fd24eaf63497bf5bed883f0b831d9ad65 | refs/heads/master | 2021-01-17T06:33:40.982800 | 2016-08-09T08:12:28 | 2016-08-09T08:12:28 | 61,036,364 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,741 | hpp | // Jopnal Engine C++ Library
// Copyright (c) 2016 Team Jopnal
//
// 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 use this software for any pur... | [
"eetu.asikainen@hotmail.com"
] | eetu.asikainen@hotmail.com |
2a20cc82f54bc1e68845c918b4c0596ad4738fe7 | a84538af8bf1f763a3d71d939744976425358b30 | /src/qt/receivecoinsdialog.cpp | 31194902385b71fc1cc5dbe1f40de5761002c103 | [
"MIT"
] | permissive | YourLocalDundee/foxdcoin | 8de421b280a812e390249f14ed0b5892c546ebf1 | 9db505f6f32bd3e51bd2b2da533744c98cee23af | refs/heads/master | 2023-05-14T05:10:26.435417 | 2021-06-09T06:18:50 | 2021-06-09T06:18:50 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,731 | cpp | // Copyright (c) 2011-2016 The Bitcoin Core developers
// Copyright (c) 2017-2019 The Raven Core developers
// Copyright (c) 2020-2021 The Foxdcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "receiv... | [
"foxrtb@gmail.com"
] | foxrtb@gmail.com |
bfb39f6ce76b15ea2d3812e8c2797270a033c2a8 | 947f7337f02133ff894005fa2d1d667a79040b0f | /C++/Complete-Modern-C++/Section02-Basic-Language-Facilities/namespace/src/namespace.cpp | f1559130f847a58680c12eafaaba2f38abf7c782 | [] | no_license | qelias/Udemy | 34464626f1bcce560f6274188cb479bf090db5dc | 2ddbcd001b371262c6b234e772856bbd1208d7df | refs/heads/main | 2023-03-25T01:42:11.970181 | 2021-03-23T12:15:16 | 2021-03-23T12:15:16 | 318,497,631 | 0 | 0 | null | 2021-03-20T15:36:45 | 2020-12-04T11:36:33 | Jupyter Notebook | UTF-8 | C++ | false | false | 388 | cpp | #include <iostream>
namespace Namespace1 {
float Calculate(float x, float y){
return (x + y)/2;
}
}
namespace Namespace2 {
float Calculate(float x, float y){
return (x + y);
}
}
int main(){
//using namespace Namespace1;
std::cout<<Namespace1::Calculate(1,5)<<std::endl;
... | [
"elias.quent@gmail.com"
] | elias.quent@gmail.com |
bb9f56b2d9ad4f27b103c7ad78d2fc4021201314 | 68af9795028bc44b4e1205f3407cd60a45f73776 | /Libs/LibCogmatix/CompositePart.h | fdb5bb262e6d606051b150568aa14322f5cb403f | [] | no_license | lindkvis/Cogmatix | 607c30c4f7a8bddfd6eeb82617e110bb982123a9 | b7dcc88a959d0fc62210bb50dc35d7dd4c73b68c | refs/heads/master | 2021-05-27T06:13:08.824681 | 2012-06-16T15:39:41 | 2012-06-16T15:39:41 | 4,606,449 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 848 | h | #pragma once
#include <osg/Geode>
#include "Node.h"
namespace LibCogmatix
{
class CompositePart : public TMachineNode<osg::Group>
{
public:
typedef osg::ref_ptr<CompositePart> Ptr;
typedef osg::ref_ptr<const CompositePart> CPtr;
// TODO: make this unicode
void loadGraphics (CoString fileName);
factory_pro... | [
"lindkvis@gmail.com"
] | lindkvis@gmail.com |
bda200fa2dd7b7601fa7e603cd7e6cccc32a1950 | 51d5cff1ac2c3baccaa65df86a6d82b83ada5740 | /sphereGenerator.cpp | 5fde665274ad834f5341e5e23ef528f0bb05ce48 | [] | no_license | cou929/polygonise | 4c72da66d71ef22cfa61bbea43673c4b6a4fa982 | 4bd895abe90f9c914e0b7e67830c57a949f575a4 | refs/heads/master | 2021-01-10T18:37:40.142040 | 2009-11-06T07:26:04 | 2009-11-06T07:26:04 | 299,520 | 6 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,018 | cpp | #include <iostream>
#include <vector>
#include <cmath>
std::vector <std::vector <int> > generateSphere(int radius);
std::vector <std::vector <int> > generateSphere(int radius)
{
std::vector <std::vector <int> > ret;
for (int x=-radius; x<=radius; x++)
for (int y=-radius; y<=radius; y++)
for (int z=-rad... | [
"cou929@gmail.com"
] | cou929@gmail.com |
52b23d257a70956478e0a4087ad3561cb7fe9b7d | 9807004938c74382be6a1797b1948a95cdba9955 | /beam/beam/Source.cpp | 1a7ee232a809b2a02081ba5d00135ae33ca5b304 | [] | no_license | KillPeopleFast/AprilCode | e2bff81db906442469d4e90370b82ea222a722f0 | 37e330f95fed4db3b64da9f866a5fd13850af40d | refs/heads/master | 2021-01-19T04:02:32.079090 | 2017-05-02T18:55:17 | 2017-05-02T18:55:17 | 87,348,008 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,201 | cpp | #include <iostream>
#include <allegro5/allegro.h>
#include <math.h>
using namespace std;
const float FPS = 60;
const int SCREEN_W = 640;
const int SCREEN_H = 480;
const int ship_SIZE = 32;
enum MYKEYS {
KEY_UP, KEY_DOWN, KEY_LEFT, KEY_RIGHT, KEY_SPACE
};
int main()
{
ALLEGRO_DISPLAY *display = NULL;
AL... | [
"game110pm@605-110-STU05"
] | game110pm@605-110-STU05 |
715435273954bebf97f90b57e9e1abf1a2684ed3 | 45c0c17bcf2ebe763917d106aacefe09ec8ca138 | /easy/66. Plus One.cpp | 3d164c3f5fab59c05039b56a7c8265a683c6edac | [] | no_license | Juliiii/leetcode-everyday | 8d1b11bd6aa63e6f430524f81e88f786146e12af | 7bda1fc9ee9c58d3348ac0ce6176db7f43ede42e | refs/heads/master | 2021-09-05T06:08:27.055385 | 2018-01-24T16:32:18 | 2018-01-24T16:32:18 | 107,296,151 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 511 | cpp | class Solution {
public:
vector<int> plusOne(vector<int>& digits) {
reverse(digits.begin(), digits.end());
int sum, carry = 0;
for (int i = 0; i < digits.size(); i++) {
sum = i == 0 ? digits[i] + carry + 1 : digits[i] + carry;
carry = sum / 10;
sum = sum %... | [
"noreply@github.com"
] | Juliiii.noreply@github.com |
a4d05b9f0d82c3a2d026e184e66b7d0c423b027a | 69740a5b14d963b51ac0b8d956c205d3b7879353 | /contrib/CCF/CCF/IDL2/SemanticGraph/ValueType.hpp | 97a286cdb211f05d078425087463c3be6e8075c0 | [] | no_license | SEDS/OASIS | eba334ae59e69fc66d1e355fedb5ad5583b40695 | ddf365eea9874fa5938072fea1fad5b41c27f3e9 | refs/heads/master | 2020-12-24T15:51:12.761878 | 2013-12-03T20:30:21 | 2013-12-03T20:30:21 | 13,195,236 | 4 | 3 | null | 2015-10-24T09:40:39 | 2013-09-29T15:58:55 | C++ | UTF-8 | C++ | false | false | 3,550 | hpp | // file : CCF/IDL2/SemanticGraph/ValueType.hpp
// author : Boris Kolpackov <boris@dre.vanderbilt.edu>
// cvs-id : $Id: ValueType.hpp 74499 2006-09-22 10:02:37Z boris $
#ifndef CCF_IDL2_SEMANTIC_GRAPH_VALUE_TYPE_HPP
#define CCF_IDL2_SEMANTIC_GRAPH_VALUE_TYPE_HPP
#include "CCF/IDL2/SemanticGraph/Elements.hpp... | [
"hillj@cs.iupui.edu"
] | hillj@cs.iupui.edu |
216fb3e3aa1b8308e286b0383a791ba22ee85c15 | b21a7616ec39e53c4c5d596c32fc2e6c6f3d5273 | /DiscrethMath/1 course/Combinatorics/num2choose.cpp | 8c865145f3bf97c4d291031fe1fad6edac8596b8 | [] | no_license | vladrus13/ITMO | d34fbd5feee0626c0fe5722b79dd928ee2a3f36a | c4ff564ea5f73e02354c0ae9248fee75df928b4e | refs/heads/master | 2022-02-23T03:13:36.794460 | 2022-02-10T22:24:16 | 2022-02-10T22:24:16 | 177,217,313 | 17 | 9 | null | 2020-08-07T15:06:37 | 2019-03-22T22:33:18 | Java | UTF-8 | C++ | false | false | 905 | cpp | #define _CRT_SECURE_NO_WARNINGS
#include <iostream>
#include <string>
#include <vector>
#include <map>
#include <algorithm>
#include <cmath>
#include <set>
#include <iomanip>
#include <cassert>
#include <fstream>
#include <bitset>
using namespace std;
typedef long long ll;
typedef long double ld;
typedef unsigned in... | [
"vladrus13rus@yandex.ru"
] | vladrus13rus@yandex.ru |
6990e7da85c5e8c546136116e22a110809be3deb | 078695ff4f7cd90d7fa20352c17e172f3205aa9a | /src/InventoryManager.cpp | 5a0a72a95ac4374b18a321065bcb0648a2e7c9d6 | [
"MIT"
] | permissive | maca134/3den_inventory_manager | 73620f107958ea77148b4e5233411d0c26bd16c9 | 8a2227317bf1a462073049a078d86740d101d87f | refs/heads/master | 2021-01-21T12:12:05.524642 | 2017-08-31T22:18:21 | 2017-08-31T22:18:21 | 102,050,117 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 10,684 | cpp | /* #Soxeba
$[
1.063,
["inventory",[[0,0,1,1],0.025,0.04,"GUI_GRID"],0,0,0],
[-1000,"background",[2,"",["0 * GUI_GRID_W + GUI_GRID_X","0 * GUI_GRID_H + GUI_GRID_Y","40 * GUI_GRID_W","25 * GUI_GRID_H"],[-1,-1,-1,-1],[0,0,0,0.75],[-1,-1,-1,-1],"","-1"],[]],
[-1001,"title",[2,"Inventory Manager",["0 * GUI_GRID_W +... | [
"maca134@googlemail.com"
] | maca134@googlemail.com |
6320f8e6cc934f58e811f3b3a351e8bf8d9fd9a8 | 5702eb53222af6e3e41672853c98e87c76fda0e3 | /util/cpp/Pipe.h | 4fbbb64a8a0db393e86f73402cc162649e3af158 | [] | no_license | agilecomputing/nomads | fe46464f62440d29d6074370c1750f69c75ea309 | 0c381bfe728fb24d170721367336c383f209d839 | refs/heads/master | 2021-01-18T11:12:29.670874 | 2014-12-13T00:46:40 | 2014-12-13T00:46:40 | 50,006,520 | 1 | 0 | null | 2016-01-20T05:19:14 | 2016-01-20T05:19:13 | null | UTF-8 | C++ | false | false | 1,829 | h | /*
* Pipe.h
*
* This file is part of the IHMC Util Library
* Copyright (c) 1993-2014 IHMC.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* version 3 (GPLv3) as published by the Free Software Foundation.
*
* U.S. Government agenc... | [
"giacomo.benincasa@gmail.com"
] | giacomo.benincasa@gmail.com |
d7f5abeaf1bc07391381afc90d2ab0451eccf88e | dcdf8a7edb8a765707459a540997750402f65bea | /src/qt/BitalGostrings.cpp | b94a58be9f8b6c0e9c5fa3aeb4b23a142e042e1e | [
"MIT"
] | permissive | ifinmakassar/BitalGO | a313fa0e2015cc02fa3dc8d63d8d3a692dd8b019 | f8f5e126a7c808f72ff85b32e28c09a45fe684ca | refs/heads/master | 2022-04-06T12:33:49.209408 | 2020-03-16T06:15:12 | 2020-03-16T06:15:12 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 35,995 | cpp |
#include <QtGlobal>
// Automatically generated by extract_strings.py
#ifdef __GNUC__
#define UNUSED __attribute__((unused))
#else
#define UNUSED
#endif
static const char UNUSED *BitalGo_strings[] = {
QT_TRANSLATE_NOOP("BitalGo-core", " mints deleted\n"),
QT_TRANSLATE_NOOP("BitalGo-core", " mints updated, "),
QT_TRAN... | [
"kyzer@traebit.ca"
] | kyzer@traebit.ca |
54c8814db2d143243de8cbc4a1ac31c6de4ae2a5 | 66433c1b726dddfec94706d3dfa6a029c904b94b | /0.3/a1/tasks.cpp | a0d8c300c15f5139513d3dd5ded9f2485047a8b1 | [] | no_license | LeandroPerrotta/DarghosTFS04_87 | 2177feb1d288b1d0341c682d7d12ab28320683ec | 392291bd826cfd30e369c440303ad1588016606f | refs/heads/master | 2023-06-15T13:59:44.906677 | 2021-07-16T22:32:47 | 2021-07-16T22:32:47 | 386,390,869 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,441 | cpp | //////////////////////////////////////////////////////////////////////
// OpenTibia - an opensource roleplaying game
//////////////////////////////////////////////////////////////////////
//
//////////////////////////////////////////////////////////////////////
// This program is free software; you can redistribute it ... | [
"leandro_perrotta@hotmail.com"
] | leandro_perrotta@hotmail.com |
610504608efec634bd3ed68809a4ebeca4c6a66f | f821e40a2d0d8f3eed02f197a1e4007f4e1b9799 | /src/core/app/al_WindowApp.cpp | a5cf104456fc72b2025d33bdcef82a6f8fb7b794 | [] | no_license | worldmaking/allolib | e5235e4de66b862003e5b4343fd2e4f755d0fbb3 | 1585da0cc2ebb533865858142c9fec341aa39406 | refs/heads/master | 2021-05-14T12:22:07.464372 | 2018-01-05T17:00:14 | 2018-01-05T17:00:14 | 116,406,076 | 0 | 0 | null | 2018-01-05T16:42:19 | 2018-01-05T16:42:19 | null | UTF-8 | C++ | false | false | 1,773 | cpp | #include "al/core/app/al_WindowApp.hpp"
#include "al/core/graphics/al_GLFW.hpp"
#include "al/core/graphics/al_GPUObject.hpp"
using namespace al;
bool WindowApp::StandardWindowAppKeyControls::keyDown(const Keyboard& k){
if(k.ctrl()){
switch(k.key()){
case 'q': window().close(); return false;
// case 'h'... | [
"younkeehong@gmail.com"
] | younkeehong@gmail.com |
8c6870d4ea91942d97b726091c87216d592696df | ea537927ff592c52b8ae13ffff69f1b3c58e4d48 | /video/opengl/OpenGL_model.cpp | 06291b4edc2d523144323165c8e7d3929f76c612 | [
"MIT"
] | permissive | 124327288/YuYu | eacbcbd496ee5032dcf4fdc4fc2dbc4c7b767e1e | f3598899ae5e6892a6b5d546bb0849f5d6a3c5a8 | refs/heads/main | 2023-02-26T03:07:04.273960 | 2021-01-25T20:56:28 | 2021-01-25T20:56:28 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 391 | cpp | #include "yy.h"
#include "OpenGL.h"
#include "OpenGL_model.h"
OpenGLModel::OpenGLModel()
:
m_VAO(0),
m_vBuffer(0),
m_iBuffer(0),
m_iCount(0)
{
}
OpenGLModel::~OpenGLModel()
{
glBindVertexArray(0);
glBindBuffer(GL_ARRAY_BUFFER, 0);
glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, 0);
glDeleteBuffers(1, &m_vBuffer);
... | [
"artembasov@outlook.com"
] | artembasov@outlook.com |
b998bb618b8fdc5202d1eade78f7576bd24c77ff | 4797c7058b7157e3d942e82cf8ad94b58be488ae | /PlayerShip.cpp | f70fc2002f2cfb0b6a7261c671bdf0ac7d214a00 | [] | no_license | koguz/DirectX-Space-Game | 2d1d8179439870fd1427beb9624f1c5452546c39 | be672051fd0009cbd5851c92bd344d3b23645474 | refs/heads/master | 2020-05-18T02:11:47.963185 | 2011-05-25T14:35:26 | 2011-05-25T14:35:26 | 1,799,267 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,804 | cpp | #include "PlayerShip.h"
PlayerShip::PlayerShip():BaseObject()
{
speed = 0.0f;
lastShot = 0;
}
bool PlayerShip::Init(IDirect3DDevice9 *d, IDirectSound8 *s)
{
((MyMesh*)(this))->Init(d, "ship01.x");
Sound = s;
Engine.Init(Sound, "PSEngine.wav");
Fire.Init(Sound, "PSFire.wav");
Fire.SetLoop(false)... | [
"kayaoguz@gmail.com"
] | kayaoguz@gmail.com |
a46b77f82879c308c052cfd25a4beeb404b8f76f | 77d707e44c708aeac4fe9271c77aebc7d2707180 | /src/main.cpp | 388696a1586940d2345d1919725eab5f798d180f | [] | no_license | aksoysamet/Minigames | d95db1d88ce251762468abe9e9cea77dbcf8a9ef | 264c88fd5a357c3d4abbb20cc1c3b2c4915e68fc | refs/heads/master | 2022-12-03T08:41:01.953770 | 2020-08-15T11:26:11 | 2020-08-15T11:26:11 | 287,731,090 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,828 | cpp | #include "main.h"
#include "lobby.h"
#include <set>
void **ppPluginData;
extern void *pAMXFunctions;
vector < lobby * > maplar;
vector < lobby * > yuklenecekler;
typedef void(*logprintf_t)(char* format, ...);
logprintf_t logprintf;
milliseconds uptime;
milliseconds nuptime;
std::chrono::duration<double> tmt;
int tickRa... | [
"aksoysamett@outlook.com"
] | aksoysamett@outlook.com |
09a6e28398f7b2c3db6eb431c9d9a3499eceb3c5 | 7eabf1ee7f6d64767dec4c44ce89f12812fd31a4 | /INTERVALTREE/intervaltree.h | cec9b116a072c06b939aacef34bf9e94e9660abe | [] | no_license | benjlouie/bl_library | ed2717521e2771e5267787d2509560be3e8ce01b | e7cd38ade5babe68f1d7f6702bbb7c4f58f3c1c8 | refs/heads/master | 2021-01-17T02:17:30.904155 | 2017-06-29T01:07:48 | 2017-06-29T01:07:48 | 43,112,542 | 2 | 0 | null | 2015-10-04T21:37:31 | 2015-09-25T06:02:33 | C | UTF-8 | C++ | false | false | 16,905 | h | //insert/delete cases used straight from wikipedia
#ifndef BL_INTERVALTREE_H
#define BL_INTERVALTREE_H
#include <functional>
#include <vector>
//TODO: remove debug dependencies
#include <iostream>
#include <queue>
//TODO: check if some allocator needs to be passed in
//TODO: make iterator for class
template<typena... | [
"benjlouie@gmail.com"
] | benjlouie@gmail.com |
86e1a52548ea87ab1e6008bfd122572696824392 | a3a2bccb492c513b75344cded0110e75bc17103d | /python/3.pyp/2.jisuanke_cainiao/data/787/简单算法入门/实现折半查找.cpp | 275ff6864a9336721713033ade499d8fb6e33cdc | [] | no_license | ldc0111/learn | abc40e0041b48a821935860be800a616d7dd0404 | e06d68437d5d1525cc6cee95fd99a9f2b90b17df | refs/heads/master | 2020-03-26T01:57:31.444390 | 2019-11-21T03:19:32 | 2019-11-21T03:19:32 | 144,390,234 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,253 | cpp | #include <cstdio>
#include <iostream>
using namespace std;
int main() {
int n;
int k;
int numbers[1000001];
int m;
int i,j;
int flag = 0;
// 反复读入数字和查找数字的数量
while (scanf("%d %d", &n, &k) != EOF) {
// 读入给定的数字
for (i = 0; i < n; i++) {
scanf("%d", &numbers[i]);... | [
"15736818863@163.com"
] | 15736818863@163.com |
077602fc32230c1cef1c937d28a276a6aaa00016 | a627fc9abcfcf159b7de03e570a63d96b9324c38 | /11_flood_fill.cpp | 10951374ac241dc0f81e963ec6e5e54f6f5b53a8 | [] | no_license | jishnupramod/Leetcode-May-Challenge-2020 | 888fd08944cb53b3985cb8632826dc7f366f8367 | ca3a18e130c3e882f236d01b840a61ffebb0d33d | refs/heads/master | 2022-09-18T00:59:01.377052 | 2020-05-31T07:50:33 | 2020-05-31T07:50:33 | 260,855,256 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,185 | cpp | /*
An image is represented by a 2-D array of integers, each integer representing the pixel value of the image (from 0 to 65535).
Given a coordinate (sr, sc) representing the starting pixel (row and column) of the flood fill, and a pixel value newColor,
"flood fill" the image.
To perform a "flood fill", consider the s... | [
"jishnumagnanimous@gmail.com"
] | jishnumagnanimous@gmail.com |
c31de8d466ebee2e4182ad8369d5f4a3896d0d80 | 14c2c9c0a6f8bf706c30e282c0a79e11ccc40e55 | /que II.cpp | d3d8a714eed28d6895ad30438bb4cdb115012857 | [] | no_license | Nalinswarup123/ds | 92654f7f0dc1fa5d54111b3d0fae213a0edd9f60 | 518add8e1f2a51c3442157d5aee4883682fb9e2a | refs/heads/master | 2022-03-11T08:46:36.701536 | 2019-02-12T11:53:38 | 2019-02-12T11:53:38 | 170,308,518 | 0 | 1 | null | 2022-03-02T19:23:13 | 2019-02-12T11:43:58 | C++ | UTF-8 | C++ | false | false | 1,443 | cpp | #include<iostream>
using namespace std;
struct queue
{
int front,rear,capacity;
int *array;
};
queue *q;
void create(int k)
{
q=new queue;
q->capacity=k;
q->array=new int[k];
q->front=q->rear=-1;
}
void enque()
{
int k;
if(((q->rear+1)%q->capacity)==q->front)
cout<<"queue is full";
else
... | [
"noreply@github.com"
] | Nalinswarup123.noreply@github.com |
0f7a85f971b322d064a4e477bc3165059ad7ef3e | 9a7ed884412c559f7343329f8f08eb4ffa9cbdb0 | /Source/ChaliceAbilities/Private/ChaliceAbilities/System/ChaliceAbilitiesBlueprintLibrary.cpp | 295d45835ecdc5e951abc47813815a7946d85235 | [
"MIT"
] | permissive | spencer-melnick/Chalice | 696218357f76849fbeb1d6ea58e26a1129320e86 | fdb414d0620249af54b3b666222a8731e84d097e | refs/heads/main | 2021-06-22T21:42:56.718028 | 2021-01-23T04:19:11 | 2021-01-23T04:19:11 | 314,052,311 | 5 | 0 | MIT | 2021-01-23T04:19:12 | 2020-11-18T20:38:58 | C++ | UTF-8 | C++ | false | false | 1,143 | cpp | // Copyright (c) 2020 Spencer Melnick
#include "ChaliceAbilities/System/ChaliceAbilitiesBlueprintLibrary.h"
#include "ChaliceAbilities/System/ChaliceAbilityInterface.h"
#include "ChaliceAbilities/System/ChaliceAbilityComponent.h"
#include "ChaliceCore/Components/InteractionComponent.h"
// UChaliceAbilitiesBlueprint... | [
"smelnick97@gmail.com"
] | smelnick97@gmail.com |
0b34fd63d46101c52c160ffd834e098e418a4ca5 | cdea526b9be1cdfd42e69fe1d49433bdf39c8906 | /src/ImplicitShape/Torus.cpp | 4389b9ce86dad8222a38db69a697aa0cc9bdd420 | [] | no_license | johannmeyer/ray-tracer | 0c628ec4293a90d4b1064706b0daf1dcebcb380d | 387deaeda95e1aaf2bfc9cf8797f775fed8b82cb | refs/heads/master | 2023-05-03T20:02:25.016984 | 2021-05-22T18:42:18 | 2021-05-22T18:42:18 | 361,144,767 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 483 | cpp | #include "ImplicitShape.h"
double Torus::get_distance(const Point3& p) const
{
Point3 q = p;
double x = sqrt(q.x()*q.x() + q.z()*q.z()) - radius_major;
double y = q.y();
return sqrt(x*x + y*y) - radius_minor;
}
void Torus::bounding_box(AABB& output_box) const
{
double max_radius_xz = radius_major... | [
"johann.meyer@gmail.com"
] | johann.meyer@gmail.com |
1876064c6ce5245ca5015c49c05e4376782abd95 | f2f74b28e4e49996d4df3a28d442e30983f3257d | /computadora.cpp | b40c865437cc258b0e6aac2085397fff5a7e05fc | [] | no_license | davidfranc/EDO_Actividad13 | 51de1747930ffc9e97b6da12b05251e0ee745c2e | 1905d7dc76bc92abf944c5c307769fe7e46e0b17 | refs/heads/main | 2023-01-06T11:09:29.354931 | 2020-11-02T05:58:45 | 2020-11-02T05:58:45 | 309,272,879 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 906 | cpp | #include "computadora.h"
Computadora::Computadora()
{
}
Computadora::Computadora(const string &sistemaOperativo, const string &procesador, int memoriaRam, int almacenamiento)
{
this->sistemaOperativo = sistemaOperativo;
this->procesador = procesador;
this->memoriaRam = memoriaRam;
this->almacenamient... | [
"david.andrade7477@alumnos.udg.mx"
] | david.andrade7477@alumnos.udg.mx |
4adc7cc8ec31850973654ef844db67e4e1a09dd1 | 4d77398fc24009f483f2b2abc028a135e09fc9eb | /Assignment4/Solid_plate/4.6/gradTz | 87c95012df331fd955deda67300fa4644c7502b6 | [] | permissive | Naveen-Surya/CFD-Lab-1 | 12c635b72c611d83080ed6dd316b1b0016f2f86f | c38b0bfe43c7135f4a10e744ea1ac6cf6e9d4a1a | refs/heads/master | 2020-04-05T16:43:39.651232 | 2018-08-23T12:10:06 | 2018-08-23T12:10:06 | 157,026,052 | 0 | 1 | MIT | 2018-11-10T22:11:51 | 2018-11-10T22:11:51 | null | UTF-8 | C++ | false | false | 1,376 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 5.x |
... | [
"sarthakgarg1993@gmail.com"
] | sarthakgarg1993@gmail.com | |
b00e8fe2372a1490138b15332b3c00a32a455abf | aa0168a62f7629c08f4d30d8719fe4239e978cfb | /libVcf/test/testReadBCFByRange.cpp | ff1101bcca0c8b7d4792b7ec7ea47b84e3215fe3 | [] | no_license | Shicheng-Guo/rvtests | e41416785f42e4ff7da87f633ffff86dd64eaf60 | be1bd88b2bd663804bb8c2aff8a4d990a29850d2 | refs/heads/master | 2020-04-07T10:51:02.496565 | 2018-10-05T05:59:27 | 2018-10-05T05:59:27 | 158,302,712 | 1 | 0 | null | 2018-11-19T23:20:09 | 2018-11-19T23:20:08 | null | UTF-8 | C++ | false | false | 963 | cpp | #include "VCFUtil.h"
int main() {
VCFInputFile vin("test.bcf.gz");
vin.setRangeList("1:196341364-196341449");
while (vin.readRecord()){
VCFRecord& r = vin.getVCFRecord();
VCFPeople& people = r.getPeople();
VCFIndividual* indv;
printf("%s:%d\t", r.getChrom(), r.getPos());
bool tagMissing... | [
"zhanxw@gmail.com"
] | zhanxw@gmail.com |
3a6aac0bc1c3d3400370e52ba0c910d3a51d11dc | c9b02ab1612c8b436c1de94069b139137657899b | /server/app/data/DataTimeLimitProp.cpp | 8ac6fb9d7df041dee55ff503aceb4b228daaf2f3 | [] | no_license | colinblack/game_server | a7ee95ec4e1def0220ab71f5f4501c9a26ab61ab | a7724f93e0be5c43e323972da30e738e5fbef54f | refs/heads/master | 2020-03-21T19:25:02.879552 | 2020-03-01T08:57:07 | 2020-03-01T08:57:07 | 138,948,382 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,650 | cpp | /*
* DataTimeLimitProp.cpp
*
* Created on: 2016-11-29
* Author: dawx62fac
*/
#include "DataTimeLimitProp.h"
DBCTimeLimitProp::DBCTimeLimitProp(unsigned uid_, unsigned id_)
: uid(uid_), id(id_), op_time(0)
{
}
DBCTimeLimitProp::DBCTimeLimitProp()
: uid(0), id(0), op_time(0)
{
}
////////////////////////... | [
"178370407@qq.com"
] | 178370407@qq.com |
8ac116a343ac0d9eff0bda6224c2ddd18fb97946 | 5013750dde6990bf5d384cfd806b0d411f04d675 | /leetcode/c++/941. Valid Mountain Array.cpp | c038656a4c6344bd5d0c2c63353edb62fe24a6f9 | [] | no_license | 543877815/algorithm | 2c403319f83630772ac94e67b35a27e71227d2db | 612b2e43fc6e1a2a746401288e1b89689e908926 | refs/heads/master | 2022-10-11T10:31:17.049279 | 2022-09-25T15:11:46 | 2022-09-25T15:11:46 | 188,680,726 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 498 | cpp | // 线性扫描
// 时间复杂度:O(n)
// 空间复杂度:O(1)
class Solution {
public:
bool validMountainArray(vector<int> &A) {
if (A.size() <= 2) return false;
int up = -1;
for (int i = 0; i < A.size() - 1; i++) {
if (A[i] == A[i + 1]) return false;
if (up == -1) {
if (A[i] >... | [
"543877815@qq.com"
] | 543877815@qq.com |
4822cb55aa40d36fcd574063298cacd444977ed3 | 74e1da7487a93229fdc6fc4e4f61f4f8379f4d9d | /SoilSensing-Final-April2021.ino | d91ded5a04ed2eba9a6ef84ddd2b17e306bd29b0 | [] | no_license | saradaugbjerg/soilsensing | 0e8daed55d2549ed4e5ef920306da452e8d07497 | 9018a4987f98f438e297981564c5f598bbfb42dc | refs/heads/main | 2023-04-15T23:06:38.283016 | 2021-04-07T12:14:28 | 2021-04-07T12:14:28 | 355,532,583 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,480 | ino |
//temp sensor wiring: https://lastminuteengineers.com/ds18b20-arduino-tutorial/
//upload to TTGO 1 Board
//pint out esp32 ttgo https://raw.githubusercontent.com/LilyGO/ESP32-TTGO-T1/master/image/image4.jpg
//download file from sd : https://github.com/G6EJD/ESP32-8266-File-Download/blob/master/ESP_File_Download_v01.ino... | [
"noreply@github.com"
] | saradaugbjerg.noreply@github.com |
1d34a4de9f54517b1bdea58238f41f206b568ef3 | 6f5890355a6b21cde87e4a847a9cc8fd7386dc4e | /eights.cpp | e97f72fe4643e0c07cf3ca770b24f5c9841ed5ff | [] | no_license | mjww3/algorithms | 1d5fc8ddc55f93b76a4cb4aff953753ceb7db380 | 95bbcf7fc433714051211cd9e58dd02a50950fa0 | refs/heads/master | 2021-01-19T23:57:00.863976 | 2017-07-01T19:51:50 | 2017-07-01T19:51:50 | 89,052,257 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 253 | cpp | #include <stdio.h>
#include <iostream>
#include <stdlib.h>
#include <vector>
using namespace std;
int main()
{
long long int T,K;
cin>>T;
while(T--)
{
cin>>K;
long long int result = 192+(K-1)*250;
cout<<result<<endl;
}
return 0;
}
///solved | [
"mukuljainagro@gmail.com"
] | mukuljainagro@gmail.com |
762dac43ebf0eda69e4c19baf07e125e918d61e0 | eed2380fc14c3cc663afb353e5a5a65a820a8b64 | /trade_app/ib_client/IBJts/source/cppclient/client/Order.h | 1b7b30d77bb4249ce91b0596b106519a5a5c969b | [
"MIT"
] | permissive | lishin1980/dockerized_trade_exec | dd7c445c292ef631368425135a7836b1cde2b71c | 6eff2b075ebf79380de21c857b033b4edfad6147 | refs/heads/main | 2023-02-20T12:51:58.854649 | 2021-01-23T00:10:55 | 2021-01-23T00:10:55 | 332,207,247 | 2 | 0 | MIT | 2021-01-23T12:40:19 | 2021-01-23T12:40:18 | null | UTF-8 | C++ | false | false | 8,278 | h | /* Copyright (C) 2019 Interactive Brokers LLC. All rights reserved. This code is subject to the terms
* and conditions of the IB API Non-Commercial License or the IB API Commercial License, as applicable. */
#pragma once
#ifndef TWS_API_CLIENT_ORDER_H
#define TWS_API_CLIENT_ORDER_H
#include "TagValue.h"
#include "Or... | [
"trb5me@virginia.edu"
] | trb5me@virginia.edu |
69700b2276f8a6dc175bec8c750d3757be9ec78a | 74441dee7a5b6c7560e300d30fc97279687ce1e4 | /main.cc | 7841e178ad36f200cfd46de640047e79a73e1d1e | [] | no_license | golegen/MayanCalculator | ddc8d5416cb97315bdd9a4f1b874684e15a9e76f | b3fc44ed7aff4ce651d2f174e24c656147093099 | refs/heads/master | 2021-01-09T11:50:19.757473 | 2015-03-11T02:46:00 | 2015-03-11T02:46:00 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,303 | cc | /*
* main.cc
*
* Created on: Apr 17, 2012
* Author: jonathan
*/
#include <cstdlib>
#include <cstring>
#include <iostream>
#include <string>
#include <sstream>
#include <cstdio>
#include <cmath>
using namespace std;
/*******************************************************************************
*
*
*
... | [
"JonAlvarez22@gmail.com"
] | JonAlvarez22@gmail.com |
aec852ff378105a0bcc8f6858cdb4a5e422db39b | ffb03571bad61884bc5b52732426c0c4af5a5192 | /test/test_stringcs/test_strcs_functional_abstracts__contains_cstr.hpp | 845476f1408a1e46c61dd3e98c677f9695afbec8 | [
"MIT"
] | permissive | skrzj-dev/libxccc | 62c1a85fde78921b3febb0bbb0dbafaecad00b5f | 621ce71dcc0ad8fb7a13460aeb3dc250188fb5d2 | refs/heads/master | 2021-01-05T10:07:13.137975 | 2020-11-12T23:42:18 | 2020-11-12T23:42:18 | 240,985,730 | 0 | 0 | MIT | 2020-11-12T22:41:48 | 2020-02-16T23:56:20 | C++ | UTF-8 | C++ | false | false | 18,560 | hpp | /*
* Copyright block:
*
* Source file of libxccc project
*
* Copyright (c) 2019 Jakub Skrzyniarz, skrzj-dev@protonmail.com
*
* Licensed under: MIT license; See the file "LICENSE" of libxccc project for more information.
*
* Copyright block: end
*/
#ifndef _TEST_STRINGCS_ABSTRACTS_CONTAINS_HPP_
#define _TEST_... | [
"58396303+skrzj-dev@users.noreply.github.com"
] | 58396303+skrzj-dev@users.noreply.github.com |
e6f9b51cecbdb6102c2a6cbfb9d83f826cac5670 | a8c5043594e5540b6a31939626474289ac45fe3b | /ExampleFramework/ExampleFramework/core/Name/Model/NameModel.cpp | 43ee85697b71a0882f3e917732c4000fdb95515d | [] | no_license | rexcosta/Example-Swift-Obj-C-and-C-plus-plus | 1c90a5ddeb7b89782fab952caea4db4254ee24bb | ac45bb8aa29e6a75f7d10e52a3588de208e3b31e | refs/heads/master | 2022-06-18T09:46:45.623291 | 2020-05-03T11:36:13 | 2020-05-03T11:36:13 | 260,894,189 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,942 | cpp | //
// The MIT License (MIT)
//
// Copyright (c) 2020 Effective Like ABoss, David Costa Gonçalves
//
// 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 l... | [
"david.1991@live.com"
] | david.1991@live.com |
ff6b21d2996e9d884c2152c78b14e2ef0d5530f4 | 63a381d90124527f8dd7d833f3da70b3160f1869 | /src/Underworld/Conv/CodeVM.hpp | 8e4ce818bd5c0b9a9ba7b145e8716ea42febadda | [] | no_license | zengnotes/MultiplayerOnlineGame | f75fe82c1ce53c631466c209db7c397ecbff27e2 | 31561dedb03d77d69dff0ea2853aa666ec4c7751 | refs/heads/master | 2021-01-20T06:32:50.570693 | 2014-11-11T20:02:43 | 2014-11-11T20:02:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,296 | hpp | //
// Underworld - an Ultima Underworld remake project
// Copyright (C) 2002-2014 Michael Fink
//
/// \file Underworld/Conv/CodeVM.hpp Conversation code virtual machine
//
#pragma once
// includes
#include <string>
#include <vector>
#include "Savegame.hpp"
#include "ConvStack.hpp"
#include "ConvGlobals.hpp"
/// for m... | [
"michael.fink@asamnet.de"
] | michael.fink@asamnet.de |
caa7369cef122e29e93ca6dcdd9419d8e597a464 | 8e9e2ef1eec0393bca595ce7c703006b52b566bc | /CENG315/THE2/test.cpp | 99756e8437aa86ebec0b1091111dcc70073afcd4 | [] | no_license | aralyekta/METU | 964c45b08a7d9b3a12cff18280f211b38991f0f1 | 3643841facd8e90d3525ecafa3d94751852e7f25 | refs/heads/master | 2023-04-06T04:00:39.595100 | 2023-03-22T13:25:15 | 2023-03-22T13:25:15 | 289,202,348 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,964 | cpp | //This file is entirely for your test purposes.
//This will not be evaluated, you can change it and experiment with it as you want.
#include <iostream>
#include <fstream>
#include <random>
#include <ctime>
#include <algorithm> // DELET THIS
#include "the2.h"
//the2.h only contains declaration of the function quickSor... | [
"aralyektayarimca@gmail.com"
] | aralyektayarimca@gmail.com |
d5c8f516c92ef8f9868ed377e9d40ee2b450db74 | 1af49694004c6fbc31deada5618dae37255ce978 | /cc/trees/ukm_manager.cc | b3761e46d3d4a81e7f1d25f83828fe42f0342513 | [
"BSD-3-Clause"
] | permissive | sadrulhc/chromium | 59682b173a00269ed036eee5ebfa317ba3a770cc | a4b950c23db47a0fdd63549cccf9ac8acd8e2c41 | refs/heads/master | 2023-02-02T07:59:20.295144 | 2020-12-01T21:32:32 | 2020-12-01T21:32:32 | 317,678,056 | 3 | 0 | BSD-3-Clause | 2020-12-01T21:56:26 | 2020-12-01T21:56:25 | null | UTF-8 | C++ | false | false | 13,434 | cc | // Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "cc/trees/ukm_manager.h"
#include <algorithm>
#include <utility>
#include "cc/metrics/compositor_frame_reporter.h"
#include "cc/metrics/through... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
28c0b5cf4e30a19d80ebbd7a2353070951a558a5 | e4b596b8a84c8b486b6b9f9e7651d6975acee195 | /test/std/numerics/numeric.ops/numeric.ops.midpoint/midpoint.pointer.pass.cpp | def76084835b0be32d6f34cf51b570cbe69af5e7 | [
"NCSA",
"LLVM-exception",
"MIT",
"Apache-2.0"
] | permissive | apple/swift-libcxx | d82de71cb3995135915dd98fc1c6b8727070a692 | 67f490a99c007a333b6395f7499808c1279e5d32 | refs/heads/stable | 2023-03-16T10:52:36.522814 | 2019-10-25T22:47:30 | 2019-10-25T22:47:30 | 159,257,562 | 23 | 20 | Apache-2.0 | 2019-10-25T22:47:31 | 2018-11-27T01:32:35 | C++ | UTF-8 | C++ | false | false | 2,811 | cpp | //===----------------------------------------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===---------------------------... | [
"mclow.lists@gmail.com"
] | mclow.lists@gmail.com |
ad2b3ac322d712e65b9a386396bb7583b8e6f3ba | 22af93db463774bfa5810ccc26193d91354849b9 | /3rd/flash_sdk_src/core/graphics/fla_transToImage.cpp | 3cb3709d41c68cd9c10e84c3f8d5223f36052d92 | [] | no_license | adroitly/boom | f5ba38c1360e315cfc79a602ca787208f244b87c | 57bb7f29ba2da552e7d47ac5d2dd9691539ad78e | refs/heads/master | 2016-08-12T07:41:34.105425 | 2016-03-08T07:16:13 | 2016-03-08T07:16:13 | 53,380,550 | 0 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 2,307 | cpp | //=============================================================================
// FlashFire
//
// Copyright (C) 2015 PatGame. All rights reserved.
//
// Created by HJC
//
//=============================================================================
#include "fla_transToImage.h"
#include "../definition/fla_Defini... | [
"adroitly@163.com"
] | adroitly@163.com |
51701841b9ad3dbeffc5689453edc22f2528d803 | 38e8b77a3aa96999965777a55142174f19fe4247 | /deflation_Synthetic.cpp | 92e7c95c364f473a36da3930164f93e773b091af | [] | no_license | shabnajL/Numeric-Methods | 0770e11b0d483331180ca9876fea98ecd556cc41 | 9241fd39c00520af9bb9947e2f27ab4b9dfdde04 | refs/heads/master | 2023-07-08T16:23:15.524679 | 2023-06-24T16:51:19 | 2023-06-24T16:51:19 | 245,870,584 | 0 | 0 | null | 2023-06-24T16:51:20 | 2020-03-08T18:57:50 | C++ | UTF-8 | C++ | false | false | 1,635 | cpp | #include<bits/stdc++.h>
using namespace std;
void writeQ(int n,int b[]) //this function is just to show the equation Q(x)
{
printf("\nQ(x) : ");
for(int i=n-1; i>=0; i--)
{
if(b[i]!=0)
{
if(i==n-1)
{
printf("%dX^%d ",b[i],i);
... | [
"noreply@github.com"
] | shabnajL.noreply@github.com |
21c81415639ffc62519e9609474d63c55fe2cc4b | e1522f45a46820f6ddbfcc699379821e7eb660af | /codeforces.com/Codeforces Ladder 1600-1699/0363C.cpp | 55205e004134fb2b2c8c7c6d69736afb86d9b8fd | [] | no_license | dmkz/competitive-programming | 1b8afa76eefbdfd9d5766d5347e99b1bfc50761b | 8d02a5db78301cf34f5fdffd3fdf399c062961cb | refs/heads/master | 2023-08-21T00:09:21.754596 | 2023-08-13T13:21:48 | 2023-08-13T13:21:48 | 130,999,150 | 21 | 12 | null | 2023-02-16T17:43:53 | 2018-04-25T11:54:48 | C++ | UTF-8 | C++ | false | false | 1,184 | cpp | /*
Problem: 363C. Fixing Typos
Solution: strings, greedy, implementation, O(n)
Author: Dmitry Kozyrev, github: dmkz, e-mail: dmkozyrev@rambler.ru
*/
#include <iostream>
#include <string>
#include <vector>
struct Pair { char item; int count; };
int main() {
std::ios_base::sync_with_stdio(fal... | [
"dmkozyrev@rambler.ru"
] | dmkozyrev@rambler.ru |
333d22c28abdb02c905799693ca51d965cb505ec | 3e4f11467f3aa3b0b5439ea052db0024c590924e | /src/freetypelib.h | 4b86fb50385333cd89bde4c231dc20fc28a9d06c | [
"MIT"
] | permissive | if1live/harfbuzz-example | 5ae799352eb580ad1aaffa315348ec32dcd9e435 | 84bdfd47567d0dad5df6295ad84a8bf74a87e355 | refs/heads/master | 2021-01-15T20:33:44.528264 | 2016-02-01T08:09:55 | 2016-02-01T08:09:55 | 50,823,893 | 1 | 0 | null | 2016-02-01T07:58:29 | 2016-02-01T07:58:29 | null | UTF-8 | C++ | false | false | 610 | h | #pragma once
#include <ft2build.h>
#include FT_FREETYPE_H
#include <iostream>
#include <cassert>
#include <cmath>
using namespace std;
typedef struct {
unsigned char* buffer;
unsigned int width;
unsigned int height;
float bearing_x;
float bearing_y;
} Glyph;
class FreeTypeLib {
public:
FreeTypeLib();
~FreeT... | [
"karim.naaji@gmail.com"
] | karim.naaji@gmail.com |
fce24bafdc4cc79c8e2b27830f4c334705fa8c65 | 200d924e3a24343f057919cb46b39516c3b228cd | /src/app/AttributeAccessInterface.cpp | e9ca4325b1f3d267d28e00209ace516bd320f928 | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | ARMmbed/connectedhomeip | 4a992fb91019eb4106ced03944d2669fd735d697 | 81310d6b73c5d3415c9f76972698a9c3185c127e | refs/heads/master | 2023-03-11T03:49:03.271328 | 2022-08-26T13:54:13 | 2022-08-26T13:54:13 | 330,608,139 | 10 | 9 | Apache-2.0 | 2023-03-06T16:05:41 | 2021-01-18T08:57:27 | C++ | UTF-8 | C++ | false | false | 4,200 | cpp | /*
*
* Copyright (c) 2021 Project CHIP 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... | [
"noreply@github.com"
] | ARMmbed.noreply@github.com |
cf523c557bfa8886ed6a31dd931ea92f9e009b24 | f15413586e7aaa664fca4d8c9b5b855c2079ca5c | /A_Neopixel/A_Neopixel.ino | d3cea135707bd829b57b34408293974442143841 | [] | no_license | Mantve/Neopixel-Compilation | 26415bbf8024aaf57324b01f15071725cadc5906 | 7a73f3b15ac07a608a2974e7764e901fd6f1643e | refs/heads/master | 2022-11-15T08:21:18.715878 | 2020-07-15T22:17:35 | 2020-07-15T22:17:35 | 269,668,321 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 163 | ino | /*
* Don't forget to plug in the ground wire first!
*
* Compilation of Neopixel based animations
* Includes mode and color changing with hardware buttons
*/
| [
"mantvydasri99@gmail.com"
] | mantvydasri99@gmail.com |
e24d1a4195d1e40ea067c48d5f12ac478b4904dc | c8944016308a0049becaee8567a08328389ac9cd | /climbot5d/src/test/kine_test.cpp | cc8fa4d74bc37387156427fe17eb24a03f12ca4e | [] | no_license | Jiongyu/birl-module-robot-1.0 | 75cb4c66afcb3dec28daddef0c6dc6b32306e40a | d0be500d47bf8de3dab0101807a4ddc5695c28c9 | refs/heads/master | 2020-06-19T19:47:14.521984 | 2019-10-24T01:55:22 | 2019-10-24T01:55:22 | 196,848,066 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,586 | cpp | #include "./../kinematics/Kine.h"
#include "ros/ros.h"
#include "std_msgs/Int64MultiArray.h"
int main(int argc, char **argv)
{
void Current_joint_Rad_to_Deg(double (&joint_value)[5]);
double New_joint_value[5];//unit:degree
double Robot_Link_Len[6] = {0.1764,0.2568,0.2932,0.2932,0.2568,0.1764}; //robot lin... | [
"35024339@qq.com"
] | 35024339@qq.com |
361ce8a085426136eb4de308bf776d21b4d3ee1f | 1593b8975b5ac78c9e00d199aa0bf3c2de40f155 | /gazebo/common/ColladaLoader_TEST.cc | 16eef80dd466e0076a0985554309b89629711ca7 | [
"Apache-2.0"
] | permissive | kesaribath47/gazebo-deb | 3e0da13ec54f33cc8036623bb8bba2d4a4f46150 | 456da84cfb7b0bdac53241f6c4e86ffe1becfa7d | refs/heads/master | 2021-01-22T23:15:52.075857 | 2013-07-12T18:22:26 | 2013-07-12T18:22:26 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,661 | cc | /*
* Copyright 2013 Open Source Robotics Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicab... | [
"thomas.moulard@gmail.com"
] | thomas.moulard@gmail.com |
21bbe264f860da3da9e207276ddbaef1cf957294 | 7a8635c9e1f6664cf5f6b10b8708d5bc70c609d4 | /battery_parametres.h | 5918532296161ae5aba67a3b969cbebbf8d377d5 | [] | no_license | EgorSidorov/Run_tracker | d6a20c0c66e303eca06e9fcaf8556e2d4ee31404 | ceb1d4bd4a7f7c1deb23429d4f8c3b3a6e4bf9a3 | refs/heads/master | 2020-03-26T02:31:09.396269 | 2019-01-27T18:04:24 | 2019-01-27T18:04:24 | 144,413,922 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 528 | h | #ifndef BATTERY_PARAMETRES_H
#define BATTERY_PARAMETRES_H
#include <QObject>
#if defined(Q_OS_ANDROID)
#include <QtAndroidExtras/QAndroidJniObject>
#endif
class battery_parametres : public QObject
{
Q_OBJECT
public:
explicit battery_parametres(QObject *parent = nullptr);
Q_INVOKABLE void set_battery_ignore... | [
"sega-96@mail.ru"
] | sega-96@mail.ru |
ab71c18276c4425e677b8c72f37c445b6da9adfc | 5515d24784c2505a9b0c2f743a6d8656e8c35b03 | /code/c++/349.两个数组的交集.cpp | 35ffd4f990233378b664d1913c59df6a77e3d0b3 | [] | no_license | wangcy6/leetcode | 0eb160afb0bcfb9fa3f542b1a96670c4a16c9cb0 | a4129ac84419cdd6c38c12a70154f7043a4ec50a | refs/heads/master | 2021-06-09T19:06:38.215155 | 2021-04-12T07:58:52 | 2021-04-12T07:58:52 | 164,075,525 | 5 | 1 | null | 2020-10-13T23:29:05 | 2019-01-04T07:45:48 | C++ | UTF-8 | C++ | false | false | 1,687 | cpp | /*
* @lc app=leetcode.cn id=349 lang=cpp
*
* [349] 两个数组的交集
*
* https://leetcode-cn.com/problems/intersection-of-two-arrays/description/
*
* algorithms
* Easy (69.49%)
* Likes: 212
* Dislikes: 0
* Total Accepted: 82.9K
* Total Submissions: 118.2K
* Testcase Example: '[1,2,2,1]\n[2,2]'
*
* 给定两个数组,编写... | [
"wang_cyi@163.com"
] | wang_cyi@163.com |
0b495fc9d47e41580231aca51546d7875d2b8fb6 | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/collectd/gumtree/collectd_repos_function_573_collectd-4.3.3.cpp | b27c4e1eb39ec12bbc59973e95064f3821a4675a | [] | 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 | 2,506 | cpp | int main (int argc, char **argv)
{
int collectd_argc = 0;
char *collectd = NULL;
char **collectd_argv = NULL;
struct sigaction sa;
int i = 0;
/* parse command line options */
while (42) {
int c = getopt (argc, argv, "hc:P:");
if (-1 == c)
break;
switch (c) {
case 'c':
collectd = opt... | [
"993273596@qq.com"
] | 993273596@qq.com |
2d8cc961332a1502dc2074be219f10ab878beba7 | 27fa98581735c1cc3dc22514108c630c80aee651 | /ConsoleApplication11/includes.h | db602e2bcc1159f064f22c454f9461114f22a04c | [] | no_license | p41z3/p41z3-test | 6b24ed002181a4f89c0ad1ac3be91d4bd29bd387 | 9c13d5d80f6166aed10a35e9512e3eb622f8a63d | refs/heads/master | 2021-06-16T04:25:22.917011 | 2021-04-07T13:05:39 | 2021-04-07T13:05:39 | 20,646,734 | 0 | 0 | null | 2021-04-07T13:05:39 | 2014-06-09T13:06:23 | C++ | UTF-8 | C++ | false | false | 61 | h | #include <iostream>
using namespace std;
#define MODULE 100 | [
"p42z3@gmail.com"
] | p42z3@gmail.com |
289f30787d165ca9b235f4fb7de455a3a4f40442 | 2124d0b0d00c3038924f5d2ad3fe14b35a1b8644 | /source/GamosCore/GamosScoring/Scorers/include/GmPSDose_LET.hh | 52f9f975fe589acefe74f19fdf2fda4a7b80c607 | [] | no_license | arceciemat/GAMOS | 2f3059e8b0992e217aaf98b8591ef725ad654763 | 7db8bd6d1846733387b6cc946945f0821567662b | refs/heads/master | 2023-07-08T13:31:01.021905 | 2023-06-26T10:57:43 | 2023-06-26T10:57:43 | 21,818,258 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 663 | hh |
#ifndef GmPSDose_LET_h
#define GmPSDose_LET_h 1
#include "GamosCore/GamosScoring/Management/include/GmVPrimitiveScorer.hh"
#include "G4THitsMap.hh"
////////////////////////////////////////////////////////////////////////////////
// Description:
// This is a primitive scorer class for scoring energy deposit.
//
//... | [
"pedro.arce@ciemat.es"
] | pedro.arce@ciemat.es |
3de4897aaaea5062a6db32ddd73ec2086d42aea2 | adedc60b13c8e0538f4add6323084ec672b649bd | /corso01/sketch45/sketch45.ino | 096ae59072c4ce2f5ebecf1efe6403a412d2885c | [] | no_license | radiojam11/LezioniArduino | ed955d9bcbfa8d5b74876c519ebf4c235fe47140 | 13b771bf18bad7c31d35fd6178f04b2f678f30bb | refs/heads/master | 2020-05-21T18:23:47.887654 | 2015-06-25T18:28:09 | 2015-06-25T18:28:09 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,651 | ino | /* Prof. Michele Maffucci
19.04.2014
Utilizzo del ponte H L293D
per pilotare da tastiers il senso
di rotazione di un motore in CC
Collegamenti
L293D > Arduino
pin 1 - pin 9 - pin 16: +Vcc
pin 2: pin 4 Arduino
pin 3: motore
pin 4 - pin 5 - pin 12 - pin 13: GND
pin 6: motore
pin ... | [
"michele@maffucci.it"
] | michele@maffucci.it |
dbcbfed221617b1a2e3b45a19cd123974eeecac8 | c8d047ce0f40d541a3da75a1e11f1c9f99a11c1d | /src/script/interpreter.h | f2c51d06d1a9a475e8f0b1b7b9d03f9be81348a9 | [
"MIT"
] | permissive | anandsinha095/jdcoin-new | d6e91b459663ab992586fe41a055a50e046a9c71 | f6044406959c81bd1bc9662fa67025e434a72e5c | refs/heads/master | 2023-02-04T05:18:43.249231 | 2020-12-23T20:11:41 | 2020-12-23T20:11:41 | 323,985,965 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,557 | h | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2018 The Bitcoin developers
// Copyright (c) 2018-2019 The JDCOIN developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef BITCOIN_SCRIPT_INTERPRETER_H
... | [
"anandsinha095@gmail.com"
] | anandsinha095@gmail.com |
87cefa7f82f334ce46ea0e0fa18c086b248caba8 | 2ed839500f7c31f518beb433cdc7d21de6d4789b | /Game/texture.cpp | 11c4c9c4acad7197e347d1337503cd5b679e9afb | [] | no_license | NEUGWB/Game | 585d560c399c0a6938c9d697c258833aaabc558a | a55a0ca4d3ee225de6957eb9e1cadbe1bd9ad388 | refs/heads/main | 2023-03-05T17:39:10.481202 | 2021-02-17T15:57:27 | 2021-02-17T15:57:27 | 335,865,133 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,572 | cpp | /*******************************************************************
** This code is part of Breakout.
**
** Breakout is free software: you can redistribute it and/or modify
** it under the terms of the CC BY 4.0 license as published by
** Creative Commons, either version 4 of the License, or (at your
** option) ... | [
"850609901@qq.com"
] | 850609901@qq.com |
b484f913a47b747e5ebef10a13c1df2f4149879f | f72e694bb2df5abd070e8b33f130536b6ac605f6 | /src/phonetics.hpp | de83ddc7d1915960853fcb544b5fb9379b83d7b2 | [] | no_license | MubashirAli11/STT | 17b51eb49f4ded55e2a2e8d9bc60ca4f7a10c57e | 575bee875ec943ec354054b70b4235fdb9b1322d | refs/heads/master | 2020-04-13T12:26:09.120210 | 2018-12-26T17:20:40 | 2018-12-26T17:20:40 | 163,201,854 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 126 | hpp | #ifndef PHONETICS__HPP
#define PHONETICS__HPP
namespace marfix_stt {
class Phonetics {
};
}
#endif // PHONETICS__HPP
| [
"mubashir.ali1@hotmail.com"
] | mubashir.ali1@hotmail.com |
d1f32cc5aae59505e9a8bd203f7a2ff935692b5a | f30f043fa0dd940106d0a6d26cedd1dca6fa89d2 | /1505052/divide_offline_1505052.cpp | 716624b943e0159ac4a14b5fd0e85d7fae58bf9c | [] | no_license | oaishi/CSE-204-Data-Structures-Sessional | 8c10ad3581181a2f41a8c03370ea2a720a964685 | 4e862dc59a25077eff10f90b7b7281fa7fd7756c | refs/heads/master | 2020-12-21T17:28:04.522965 | 2020-01-27T14:11:54 | 2020-01-27T14:11:54 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,361 | cpp | #include<cstdio>
#include<iostream>
using namespace std;
int smally ;
typedef struct points
{
int x;
int y;
} p;
p L[3000], R[3000];
void skyline(p values[], int l, int r)
{
for(int i=l; i<=r; i++)
{
if(values[i].y<smally)
{
cout<< values[i].x<<" " <<values[i].y<<endl;
... | [
"oaishi.faria@gmail.com"
] | oaishi.faria@gmail.com |
0735542d0ca96b5eeccf896dbd5108fb929d91a4 | c8feb0c5dee0935d8696af8e0fe70916ace7d927 | /Assignment1/Includes/Transaction.cpp | 6ea0588e4e06262e8feb093631a7e2b10a17c97e | [] | no_license | WhiteOlivierus/OOPA | 67795dd4e2c37e295c9817cbe76b174839513ecd | 454e083bc21bc37362c8f5924e7e58de6960e1b6 | refs/heads/main | 2023-01-22T10:05:57.454689 | 2020-12-08T14:26:39 | 2020-12-08T14:26:39 | 311,994,941 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 672 | cpp | #include "Transaction.h"
std::ostream &operator<<(std::ostream &stream, const Transaction &transaction)
{
std::string action = transaction.wasCredited ? "added." : "removed.";
stream << "A transaction was made " << transaction.GetDate() << " and a amount of " << std::setprecision(2) << std::fixed << transactio... | [
"bas.dijkstra@student.hku.nl"
] | bas.dijkstra@student.hku.nl |
527471e6175a6e80ca73f05e82037fc8e23aee9c | 0cdc1b6e00003152dc8e89cfa642b456943cb10f | /samples/sample-watch/src/SmplWatchApp.h | 0ab7c8d76badeaf105f9f3fd1958c1437598cd24 | [
"Apache-2.0"
] | permissive | karlkar/tizen-app-assist | 9a8250936526c1b19c4ce061ea286a44f393bcfe | 08732965a5129a51dc08b830c1121a07aeaf51f7 | refs/heads/master | 2021-01-22T03:40:24.421824 | 2017-05-25T10:46:29 | 2017-05-25T10:46:29 | 92,393,390 | 0 | 0 | null | 2017-05-25T10:40:46 | 2017-05-25T10:40:46 | null | UTF-8 | C++ | false | false | 1,325 | h | /*
* Copyright (c) 2014-2016 Samsung Electronics Co., Ltd. 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
*
* Unle... | [
"hosang.kim@samsung.com"
] | hosang.kim@samsung.com |
754891ec5450497bc156e8caa2c7b8a136544475 | 95b10c9a5b452bdd527825832d5686738d3753b3 | /ILSwithDFSandThreeScaling/src/Test.cpp | db964ba7eaafc2813ceee2cf7e788f37fe318f64 | [] | no_license | windyswsw/ILSwithThreeScaling | 2b268246f7621e2b77c709cea26f04f90416012c | a543a25fa85dab9b535016ef2701a84ec54c4645 | refs/heads/master | 2021-01-13T21:18:54.879960 | 2017-02-14T11:19:22 | 2017-02-14T11:19:22 | 81,936,046 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,339 | cpp | /*
* Main.cpp
*
* Created on: Oct 19, 2015
* Author: u99319
*/
#include <iostream>
#include <fstream>
#include <string>
#include <vector>
#include <cstdlib>
#include <fstream>
#include <sstream>
#include <iterator>
#include <map>
#include <time.h>
#include <algorithm>
#include <stdio.h>
#include <cstring>
#... | [
"noreply@github.com"
] | windyswsw.noreply@github.com |
f6de1b2d38f135e1ffb77dcd02ce0a80c58f6b26 | e7d7377b40fc431ef2cf8dfa259a611f6acc2c67 | /SampleDump/Cpp/SDK/BP_Zweihander_AlpineGuard_functions.cpp | 8a59474fcf95522e7e38555fdbe078ae8535d40c | [] | no_license | liner0211/uSDK_Generator | ac90211e005c5f744e4f718cd5c8118aab3f8a18 | 9ef122944349d2bad7c0abe5b183534f5b189bd7 | refs/heads/main | 2023-09-02T16:37:22.932365 | 2021-10-31T17:38:03 | 2021-10-31T17:38:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,546 | cpp | // Name: Mordhau, Version: Patch23
#include "../pch.h"
/*!!DEFINE!!*/
/*!!HELPER_DEF!!*/
/*!!HELPER_INC!!*/
#ifdef _MSC_VER
#pragma pack(push, 0x01)
#endif
namespace CG
{
//---------------------------------------------------------------------------
// Functions
//------------------------------------------------... | [
"talon_hq@outlook.com"
] | talon_hq@outlook.com |
974f8f2cd45da2b934c87fb9a445db829da94f65 | c4c3734e8fd5cb2a36db6e22614d420d63e13e35 | /TP11 Bitcoin/TP11 Bitcoin/parameters.h | e62154297af2bc57594f1838e5e0354132d52998 | [] | no_license | fmoriconi/EDA_TP11 | a089e5842a88b9cca412484b753986665535a67e | 00a5d4a47f303e18821b4d075025788b6290a2be | refs/heads/master | 2020-03-19T03:23:56.823686 | 2018-06-20T22:41:14 | 2018-06-20T22:41:14 | 135,724,318 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 257 | h | #pragma once
#define OPTION_QTY 2
class parameters_t{
public:
parameters_t() {
options[0] = { "nodes" };
options[1] = { "miners" };
}
const char * options[OPTION_QTY];
bool flags[2] = { false }; // Nodes - Miners.
int nodes;
int miners;
}; | [
"31166325+fmoriconi@users.noreply.github.com"
] | 31166325+fmoriconi@users.noreply.github.com |
4b03f95116dd6f35d573ae35cb817f0ecd47800c | fa426ed53e612707a2447697164d70708399d673 | /Proiect/src/Revista.cpp | 40d4e21aab0451c580d66ff05bb26500b0540835 | [] | no_license | iamvale/Home | da61d5c0c2fb5e28d6b23acfd0c17b7ac07f17b4 | 10c7a66f62b2b0e521d5b39f6de8636fd4283eba | refs/heads/master | 2020-05-04T09:44:01.016405 | 2019-06-16T18:57:36 | 2019-06-16T18:57:36 | 179,074,575 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 263 | cpp | #include "Revista.h"
#include "Articol.h"
Revista::Revista(std::string tit, int bucEx, int bucDisp, std::string tip):Articol(tit, bucEx, bucDisp)
{
tipRev = tip;
}
Revista::~Revista()
{
//dtor
}
void Revista::setTip(std::string tp) {
tipRev = tp;
}
| [
"32463819+iamvalentina@users.noreply.github.com"
] | 32463819+iamvalentina@users.noreply.github.com |
9a6200ad8a9b32ac6bf7007c1e6c52f3cebea308 | 803e7a8ad2da3a2b2d8819542de56d9232cf9cc1 | /Data_Structure/Linear_Structure/Stack_with_Linkdedlist.cpp | e803b98ef066349f563e876baa75f17be150bebf | [] | no_license | tianyaooooo/Notes | d49a19ecdb59740290cad9f6ccadccb40fc6411e | 3019d996c311fdcd24406ffa7d70982a81c401a8 | refs/heads/master | 2022-12-17T08:13:05.037744 | 2020-09-17T01:37:27 | 2020-09-17T01:37:27 | 279,558,246 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,281 | cpp | #include<iostream>
#include<stdlib.h>
using namespace std;
typedef struct Node
{
int data;
struct Node * pNext;
} NODE, * PNODE;
typedef struct Stack
{
PNODE pTop;
PNODE pBottom;
} STACK, * PSTACK;
// 初始化,目的是造出一个空栈
void init(PSTACK pS);
// 压栈
void push(PSTACK pS, int val);
// 判断栈是否为空
bool is_empty(PSTACK pS... | [
"noreply@github.com"
] | tianyaooooo.noreply@github.com |
d16c26d59704c27dc206b8c750e5f5c9dae726c3 | d69cc85c6d1039c64112432b22a1a756b267b1a8 | /_cmake/core/WMath.cpp | c0ccdccfd00eed2cc7d4bbcbe6080bd35131101f | [
"MIT"
] | permissive | SSG-DRD-IOT/lab-protocols-mqtt-arduino | 02a004f60fcdd8da65d221dc287f26e3a016afa1 | 834cef842154b4645f98f1f7da57cb0ea887ca98 | refs/heads/master | 2021-01-19T07:54:17.220914 | 2018-04-03T16:11:34 | 2018-04-03T16:11:34 | 100,647,409 | 0 | 4 | MIT | 2018-04-03T16:11:35 | 2017-08-17T21:40:18 | C | UTF-8 | C++ | false | false | 1,614 | cpp | /*
Part of the Wiring project - http://wiring.org.co
Copyright (c) 2004-06 Hernando Barragan
Modified 13 August 2006, David A. Mellis for Arduino - http://www.arduino.cc/
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as publi... | [
"christopherx.crase@intel.com"
] | christopherx.crase@intel.com |
ecd64ec81b7b5f051ca86789c2752f4ab93034a5 | b2a68dcd001d23c1d7920352680ae394623026ea | /BOJ/02563/2563.cpp14.cpp | 578e93dfb813a3788d3ef400c8fa0d869ba6d817 | [] | no_license | nathankim0/algorithm-ps | 236779ba0daad0876a8e9d41990d23024778a9a5 | 29368dda780c29315d35c2ef7e78a0418df1aa53 | refs/heads/master | 2023-06-12T19:15:21.076210 | 2021-07-09T10:10:52 | 2021-07-09T10:10:52 | 384,387,567 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 387 | cpp | #include <iostream>
using namespace std;
int arr[100][100];
int main() {
int n;
int a, b;
scanf("%d", &n);
while (n--) {
scanf("%d %d", &a, &b);
for (int i = 0; i < 10; i++) {
for (int j = 0; j < 10; j++) {
arr[a + i][b + j] = 1;
}
}
}
int cnt = 0;
for (int i = 0; i <= 100; i++) {
for (int j = ... | [
"jinyeob07@gmail.com"
] | jinyeob07@gmail.com |
edf5a26ad1e73b3be4239d599b21df8a155fae5d | 594aba22b8185ed8f43804c7b0b6738e9e5d031c | /Source/Shooter_3rdPerson/ShoooterCharacter.h | 5017a15e121a65aab2f28bcc011e86fa1a671f3a | [] | no_license | branthompson/3rdPersonShooter | 2acc7050e5d30bca483704bcdc60c24609a98625 | 337296f72e7b0908ae8293969f0bd42a9c23e452 | refs/heads/main | 2023-07-08T20:08:31.107346 | 2021-08-08T05:06:48 | 2021-08-08T05:06:48 | 393,859,915 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,389 | h | // Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "GameFramework/Character.h"
#include "ShoooterCharacter.generated.h"
class AGun;
UCLASS()
class SHOOTER_3RDPERSON_API AShoooterCharacter : public ACharacter
{
GENERATED_BODY()
... | [
"noreply@github.com"
] | branthompson.noreply@github.com |
33f4af957c223aa085f09d46e9b1149eb12f353a | 92ed12aef7e5d1d6e5b0574bc6d70549b1b345e5 | /Problems Implementations/C++ Implementation/Rounds Participations/Advent of code/2021/Day 12_part 2.cpp | 919d8f13f59f0b35385dcfdae6d58f14447e11f6 | [] | no_license | AmEr-Tinsley/Competitive-programming | 0d9adc3ef7b0a0d7a2aefc74ac3376ca3e97d74c | 0892a75e6f2a0d489d9edd53e37d4787c3452aa4 | refs/heads/master | 2023-03-16T23:58:07.349218 | 2023-03-11T17:50:27 | 2023-03-11T17:50:27 | 159,981,161 | 5 | 1 | null | 2022-09-03T07:46:03 | 2018-12-01T19:47:10 | C++ | UTF-8 | C++ | false | false | 1,790 | cpp | // ¯\_(ツ)_/¯
#include <bits/stdc++.h>
//#include <ext/pb_ds/assoc_container.hpp>
//#include <ext/pb_ds/tree_policy.hpp>
//#include <ext/pb_ds/detail/standard_policies.hpp>
#define pb push_back
#define sz(x) ((int)(x).size())
#define all(x) (x).begin(), (x).end()
#define ll long long
using ... | [
"amerhosni07@gmail.com"
] | amerhosni07@gmail.com |
84ec860e24b49a71b2e4cab7930fa1f7813edb19 | b1310472138ac77fbb5b6dde1a30a5d337c9ebf6 | /TBGJCUtils/Examples/2017/TidyNumbers.cpp | c0aad6e62729fb63bf5d9c975053faa90b3fd5c3 | [] | no_license | bigbangvn/TBGJCUtils | 876da3784e0e203d0d874147ea1e49fe514d970e | a194b4848f4f973bbd51fc5ef7a97de8c5703e6e | refs/heads/master | 2021-01-19T03:51:57.098574 | 2017-04-14T01:06:26 | 2017-04-14T01:06:26 | 84,417,684 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,940 | cpp | //
// TidyNumbers.cpp
// TBGJCUtils
//
// Created by trongbangvp@gmail.com on 4/8/17.
// Copyright © 2017 trongbangvp@gmail.com. All rights reserved.
//
#include <stdio.h>
#include <assert.h>
#include <iostream>
#include <algorithm>
using namespace std;
unsigned long long powInterger(int b, int n)
{
if(b == ... | [
"trongbangvp@gmail.com"
] | trongbangvp@gmail.com |
87bb2436e0e7fca6de7efc7acbfc9cb0448ff39a | 843124c50abdb72602af0b61daad9660739e5368 | /src/ces/systems/CUpdateSystem.h | dc0ee85f7abfcdc6d8484517ae7b313525c3bbc5 | [
"MIT"
] | permissive | opengamejam/OpenJam | 8806e9dd7eaa5e90048851733c9dc24d4d1f2e5c | 565dd19fa7f1a727966b4274b810424e5395600b | refs/heads/master | 2020-04-03T21:30:34.937897 | 2017-06-19T12:41:44 | 2017-06-19T12:41:44 | 28,153,757 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 508 | h | //
// CUpdateSystem.h
// OpenJam
//
// Created by Yevgeniy Logachev
// Copyright (c) 2014 yev. All rights reserved.
//
#ifndef CUPDATESYSTEM_H
#define CUPDATESYSTEM_H
#include "ISystem.h"
#include "CUpdateComponent.h"
namespace jam {
CLASS_PTR(CUpdateSystem)
class CUpdateSystem : public CSystemBase<CUpdateCompo... | [
"evg1985@gmail.com"
] | evg1985@gmail.com |
dad48b7df4931359c3ac91da7a7e2803ede7a18c | c05b8546d5c02434c2851fc5cc820fc6e12db563 | /src/qt/bitcoinstrings.cpp.save.save.save | 5362e07588801e25387dcceb15bc7eed95ca42a1 | [
"MIT"
] | permissive | taxicoinfoundation/taxicoin | 8289a75dabcc041220d14f6a3c11e5cbd8504de1 | b8db911cad0082b8d4c839f43f10420b6959c42c | refs/heads/master | 2016-09-02T04:54:57.264740 | 2014-03-06T21:36:01 | 2014-03-06T21:36:01 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,614 | save | #include <QtGlobal>
// Automatically generated by extract_strings.py
#ifdef __GNUC__
#define UNUSED __attribute__((unused))
#else
#define UNUSED
#endif
static const char UNUSED *bitcoin_strings[] = {
QT_TRANSLATE_NOOP("bitcoin-core", ""
"%s, you must set a rpcpassword in the configuration file:\n"
"%s\n"
"It is recomme... | [
"simmons.johnalan@gmail.com"
] | simmons.johnalan@gmail.com |
72d959515cee47c13b07ed98d2b74f777e42dd46 | 7c513bd8398b095842e8eecb6e966f71feb5090f | /Tree.cpp | 08a3639a2ca30ac25f75b35e5ef8f4d71111ab65 | [] | no_license | vladchis20/Labor3 | 1a0f54e6f63a21d90e33a8a2938a5199c31ec516 | e4774b499da6cfb941ef45fdb8ae9683822c0b85 | refs/heads/master | 2022-04-12T16:55:54.392111 | 2020-04-06T19:53:11 | 2020-04-06T19:53:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,616 | cpp | #include <iostream>
#include "Node.h"
#include "Tree.h"
using namespace std;
Tree::Tree()
{
root = NULL;
}
Tree::Tree(int data)
{
root = new Node(data);
}
Tree::Tree(int arr[], int i, int n)
{
this->root = build_tree(arr,this->root,i,n);
}
Tree::~Tree()
{
delete root;
}
N... | [
"noreply@github.com"
] | vladchis20.noreply@github.com |
ddafe2f276010941feb6e654dd4d4f88fd803e1f | edcdce99f0102fb170074b5f7c438df3000568fc | /AST_algorithm.h | 8570472d125b34d2a78161013469fa8b2e0abf5d | [] | no_license | lavender94/CSCI561-resolution | 0468d607ae9bf6416b8215a7cf73b06165588787 | 89303c733fa37b5a882c4edfe6548d9f1cae94cf | refs/heads/master | 2021-03-18T03:57:12.459581 | 2017-11-18T00:24:22 | 2017-11-18T00:24:22 | 73,983,780 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 268 | h | #pragma once
#include "common.h"
#include <string>
#include "Parser.h"
Expression *EXP(Parser &p);
Expression *EXP2(Parser &p);
Expression *EXP3(Parser &p);
Expression *OP(Parser &p);
Expression *FUNC(Parser &p, std::string name);
Expression *buildAST(Parser &p);
| [
"hchen132@gmail.com"
] | hchen132@gmail.com |
1addd448690efedd6671c19277e9cc0b33f7ffa1 | eb8d36a89dbaeffeedd8584d970aa2b33a8b2c6e | /CQ-0232/sequence/sequence.cpp | 21844bcdfa0c23cc3d06afc89831f115549b4c02 | [] | no_license | mcfx0/CQ-NOIP-2021 | fe3f3a88c8b0cd594eb05b0ea71bfa2505818919 | 774d04aab2955fc4d8e833deabe43e91b79632c2 | refs/heads/main | 2023-09-05T12:41:42.711401 | 2021-11-20T08:59:40 | 2021-11-20T08:59:40 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,174 | cpp | #include<bits/stdc++.h>
using namespace std;
const long long mod=998244353;
int n,m,k,mar;
long long v[107],num[31],ans=0,dpc[107][107];
int now[107];
bool check()
{
long long size=0;
memset(now,0,sizeof(now));
for(int i=0;i<=m;i++) now[i]=num[i];
for(int i=0;i<=mar;i++)
{
now[i+1]+=(now[i]/2);
now[i]=now[i]%... | [
"3286767741@qq.com"
] | 3286767741@qq.com |
c8cdc7ae0a2b147796395b27e0ebfecd4c8df4a6 | 2ba118058d82463561ebc4e9d52030e3a1ef466c | /visit_tuple_advanced.h | 556f63b4c0800b2b3fe4ebfe5d9fe07fadcd76d9 | [
"MIT"
] | permissive | xaedes/cpp_visit_tuple | fa84ca8e64f0f84cd8c6bc453da2bd419d0acfc2 | e7c5ec2e85eee942e1e15e4eccc89f02a7e7f58d | refs/heads/main | 2023-04-30T05:34:08.540744 | 2021-05-20T23:46:33 | 2021-05-20T23:46:33 | 368,197,202 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,385 | h | #pragma once
#include <tuple>
#include <type_traits>
namespace detail
{
template <class ReturnType, int Idx, class Tuple, class Visitor, std::enable_if_t<(Idx >= std::tuple_size<Tuple>::value) , bool> = true, std::enable_if_t<!std::is_void<ReturnType>::value, bool> = true>
ReturnType visit_tuple_impl(Tuple& t... | [
"noreply@github.com"
] | xaedes.noreply@github.com |
76e6dc2af4ac43f2fc8e8cf2081d00009a7ff427 | efaa8fe089e2ae47e582989e0035110df64d3732 | /week-03/day-3/BlogPost/main.cpp | 698be5d4600444499a12ba57e321520c82a3fbe7 | [] | no_license | green-fox-academy/gabortrajtler | b2416cba8c1d1c4bd05bbf71ac6c6bd8eb3ff83c | bc081a15fc7a1094928c4c428cb17faa6efc7369 | refs/heads/master | 2020-06-11T04:56:49.368008 | 2019-10-23T12:41:56 | 2019-10-23T12:41:56 | 193,855,290 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,384 | cpp | #include <iostream>
#include "BlogPost.h"
#include "Blog.h"
/*
*
* Create a BlogPost class that has
an authorName
a title
a text
a publicationDate
Create a few blog post objects:
"Lorem Ipsum" titled by John Doe posted at "2000.05.04."
Lorem ipsum dolor sit amet.
"Wait but why" ti... | [
"trajtlerg@gmail.com"
] | trajtlerg@gmail.com |
334ba2edefb4b6fa70d14a5ddc56762d4caaf0d8 | c1008dbb560e2f100d65751faa2fef775ac50e82 | /shopMall/mall.cpp | 102720dd030d397b6b49d0a546bebea8327fee45 | [
"MIT"
] | permissive | Alexader/OOPDesign | 363136eeb1448f64c26952c93159fe39f1d0512e | 860d0ef07eaeba600fb30acb17536a08e5682bc3 | refs/heads/master | 2021-04-09T13:25:01.070235 | 2018-03-16T15:30:23 | 2018-03-16T15:30:23 | 125,450,302 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,466 | cpp | //Submit this file
#include "mall.h"
//You are NOT allowed to include any additional library
//NOTE: Mall::duplicateShopLinkedList must NOT be implemented here
Mall::Mall(string name, string address) : name(name), address(address) {
shopHead = nullptr;
}
Mall::Mall(Mall &another) {
// Use duplicateShopL... | [
"tyxj58@gmail.com"
] | tyxj58@gmail.com |
82d075e227b96e28ad56ebaee083d785d8bf6c0e | 141e1ea2c92f3dfb68c3cf25699b40bebfad7007 | /psana/src/legion_helper.h | 5e2a7fe5be0f9b16fe0dd620e8497944acd0bdff | [] | no_license | brtnfld/lcls2 | 33c4973264f046830fd4d134b7635c2d8353ea15 | 250fdd53f764b6e9842b959ab36688debd9c49b6 | refs/heads/master | 2020-03-21T00:41:24.741236 | 2018-06-25T16:55:38 | 2018-06-25T16:55:38 | 137,905,284 | 0 | 0 | null | 2018-06-19T14:46:28 | 2018-06-19T14:46:27 | null | UTF-8 | C++ | false | false | 1,337 | h | #ifndef LEGION_HELPER_H
#define LEGION_HELPER_H
#ifndef PSANA_USE_LEGION
#error legion_helper.h requires PSANA_USE_LEGION
#endif
#include <stddef.h>
#include <vector>
#include <legion.h>
// Helper for creating a logical region
class LegionArray {
public:
LegionArray();
LegionArray(size_t bytes);
Legion... | [
"slaughter@cs.stanford.edu"
] | slaughter@cs.stanford.edu |
8097ca8d35928dcbda6a130961aa16ab4dd0bfc2 | 62d77106b820b69098da1772a6f1eee57810c07e | /src/ReFFT.cpp | ccfe8afd72231b0e1c3221a5eaa63080a38e12b7 | [] | no_license | gdkar/rmwarp | eb2a6c2e5c00532ea14f995ce9bb31bd6a285cdd | bce89d436b0c3ca4aecc54b21debc3d6265d2cb2 | refs/heads/master | 2021-01-20T00:11:32.749997 | 2017-04-22T20:18:52 | 2017-04-22T20:18:52 | 89,094,131 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,038 | cpp | #include <thread>
#include <mutex>
#include "rmwarp/ReFFT.hpp"
#include "rmwarp/KaiserWindow.hpp"
using namespace RMWarp;
namespace detail {
struct _wisdom_reg {
template<class F,class D>
static void wisdom(F && ffunc, D && dfunc, const char mode[]) {
if(auto home = getenv("HOME")){
char fn[... | [
"gdkar@alum.mit.edu"
] | gdkar@alum.mit.edu |
bc7d576730b068c422b038b306572cc616ff7208 | 938495d61712257f36cfeaa36f4380a760930047 | /clibrary/radonsolver.cpp | 1ac926ccf8fc0c4fdd2abeb1fb3d61a8a7c828c4 | [] | no_license | chaoshunh/seismic_unix | cec401f04e77c8dd6caf93e8cbac000a7ea15794 | c975332d5fab748d5f42ed8225e9f878def7d76a | refs/heads/master | 2022-11-06T18:22:16.105316 | 2020-06-26T16:52:43 | 2020-06-26T16:52:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,593 | cpp | #include "radonsolver.h"
/* This is an interface to the WTCGLS method in routine wtcgls.cpp
This function solves the system of equations
(FH WdT Wd FH + WmT Wm ) m = FH WdT Wd d
Notice that LH=FH WdT and L= Wd F are computed with matrix_3.
If we assumed noise and model are uncorrelated,
i.e.,... | [
"danielotrad@gmail.com"
] | danielotrad@gmail.com |
f0b8bd048e7d8230588f404e58053e4734f420aa | 780a8d5c451f9b4c4f5e1bec25c0c7f72ffeffd6 | /Project/Dizzy-Spiral/Dizzy_Spiral/iOS/Classes/Native/Il2CppCodeRegistration.cpp | d0f92de51dfa812955c8a1b4bede244210bfc3f4 | [] | no_license | 1812michaelpichler/Dizzy_Spiral | 2a88c8d0711f5ac62601f554e8fc3760eb98b5eb | 7822c88d6446314c910e8de828c0ff31d3721172 | refs/heads/master | 2020-06-11T00:45:33.294090 | 2018-01-22T14:52:57 | 2018-01-22T14:52:57 | 75,831,816 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,365 | cpp | #include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <cstring>
#include <string.h>
#include <stdio.h>
#include <cmath>
#include <limits>
#include <assert.h>
#include "class-internals.h"
#include "codegen/il2cpp-codegen.h"
extern const Il2CppMethodPointer g_M... | [
"patrick@patrickkiss.com"
] | patrick@patrickkiss.com |
ef99b6ab1b3879922be63648890b1875406f324d | e4db258fb2fdbdc1fce5fdf7357a7f7d309e78f7 | /template method/max1.hpp | 4fb20a0bad85edfde356add75f44d88e319f1fea | [] | no_license | cepiloth/develnote | d42a316ce72eded0a9d8df2314de8d8026e08229 | 4fd72f9b5a948e584b99a917a5b40907bbddff12 | refs/heads/master | 2021-06-22T16:57:33.641236 | 2021-04-14T03:04:43 | 2021-04-14T03:04:43 | 206,345,777 | 1 | 0 | null | null | null | null | UHC | C++ | false | false | 1,044 | hpp | #pragma once
// 2020-10-11
template<typename T>
T max (T a, T b)
{
// b < a 라면 a를 반환하고 아니라면 b를 반환한다.
return b > a ? a : b;
}
/*
역사적인 이유로 형식 파라미터를 저으이할 때 typenmae 대신 class 사용할 수도 있다.
typename이라는 키워드는 C++98 표준을 만드는 중 상당히 늦게 도입됐다.
그 전에는 형식 파라미터를 키워드 class로 도입해야 했기 때문에 여전히 typename 대신 class를 사용할 수 있다.
그래서 템플릿 max()... | [
"lim10260@nate.com"
] | lim10260@nate.com |
2a5c03f582fe9a7cc0c8679b49607597c310a2aa | e407f89c7217faf1e9ea0ff045a1adff6e2f188c | /colorful-fireflies/src/ofApp.cpp | 6fe82975369d45965a60db995cddfd1a883cbf6c | [] | no_license | yutongxxx/CCOF_Fall2018_XIE_YUTONG | 43faa13ee459845fddad9f47f02a2a4c4d2af1a2 | 55e661f4fbce27d38220921869e565d49bd25742 | refs/heads/master | 2020-03-28T07:00:08.509703 | 2018-12-19T22:49:48 | 2018-12-19T22:49:48 | 147,874,153 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,705 | cpp | #include "ofApp.h"
//--------------------------------------------------------------
void ofApp::setup(){
//
ofBackground(0xffffff);
ofEnableSmoothing();
circleResolution.addListener(this, &ofApp::circleResolutionChanged);
ringButton.addListener(this,&ofApp::ringButtonPressed);
gui.se... | [
"noreply@github.com"
] | yutongxxx.noreply@github.com |
194d430f35af5845eabf51a09e706ba4daf37b08 | f221ab39e0d2c307be6fbf7adf58f636b24bdeea | /lib/FastPatchList.cpp | 69778839215440ea709a601913eba4f7e6a4d76b | [
"BSD-3-Clause"
] | permissive | ChristianFrisson/NMPT | 3a40e81e5e69f03980d7460d1d3ccf18d4bc3978 | dda56fa5202bde140500120ee472465d386b685c | refs/heads/master | 2021-01-20T07:00:10.101779 | 2018-07-18T00:46:30 | 2018-07-18T00:46:30 | 11,305,943 | 5 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 5,475 | cpp | /*
* FastPatchList.cpp
* OpenCV
*
* Created by Nicholas Butko on 7/25/09.
* Copyright 2009 __MyCompanyName__. All rights reserved.
*
*/
#include "FastPatchList.h"
#include "DebugGlobals.h"
#include <math.h>
#include <iostream>
#include <opencv2/core/core.hpp>
using namespace std;
using namespace cv;
Fas... | [
"christian.frisson@gmail.com"
] | christian.frisson@gmail.com |
f950f1654162ea62c0f16b142cab3fdda0a54051 | cbd3ac62b75ac3dceb6ffb219eaa3fe9d2ef0c00 | /src/base/test/gtest_xml_util.h | 3775b7831770951a810cc0a08dbc55549db7f40d | [
"BSD-3-Clause"
] | permissive | crazypeace/naiveproxy | d403fa282bcf65cac3eacb519667d6767080d05d | 0a8242dca02b760272d4a0eb8f8a712f9d1093c4 | refs/heads/master | 2023-03-09T21:23:30.415305 | 2022-10-06T17:23:40 | 2022-10-06T17:23:40 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 830 | h | // Copyright 2013 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 BASE_TEST_GTEST_XML_UTIL_H_
#define BASE_TEST_GTEST_XML_UTIL_H_
#include <vector>
namespace base {
class FilePath;
struct TestResult;
// Produ... | [
"kizdiv@gmail.com"
] | kizdiv@gmail.com |
285c592161eae7c5bca0d84c0d4a2d8769e892f1 | 31bd4984f3cb44e1292321895cec5ff5d993aac6 | /addons/ofxCvOpticalFlowLK/ofxCvOpticalFlowLK.h | 347b87e34c06c58308b321ef9e5db4929a723d3c | [
"MIT"
] | permissive | HellicarAndLewis/Triptych | a221a1cd58d9232ca58adbaad5f3610eba6547eb | 866e865f60ddd24efee57a6a8904567669ff71a4 | refs/heads/master | 2020-12-24T15:31:57.395363 | 2013-12-12T13:30:49 | 2013-12-12T13:30:49 | 4,615,958 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,954 | h | //
// ofxCvOpticalFlowLK.h - a OpenCV cvOpticalFlowLK warpper for openFrameworks
//
// Copyright (C) 2008 Takashi Maekawa <takachin@generative.info>
// All rights reserved.
// This is free software with ABSOLUTELY NO WARRANTY.
//
// You can redistribute it and/or modify it under the terms of
// the GNU Lesser... | [
"bereza@gmail.com"
] | bereza@gmail.com |
50053933b108a29f1ac88da62ede16a2596d85d9 | 1e9951acb23fbc230735df97bcb84d0c2e46a623 | /EEPROM1.ino.ino | ce9c5f0e48eb9b7a839ecf72417cdd39ad141444 | [] | no_license | Rokkee/EEPROM-arduino- | b575a33643332fe561ef0be1536d63d5636e472b | 682522e8b45dbd6629f60ec2403af37071342b1b | refs/heads/master | 2020-03-28T15:18:13.847874 | 2018-09-13T03:42:49 | 2018-09-13T03:42:49 | 148,578,026 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 445 | ino | #include <EEPROM.h>
int direccion=0;
byte val1;
byte val2;
void setup() {
Serial.begin(9600);
byte informacion=b11001;
int valor=analogRead(0);
EEPROM.write(direccion,informacion);
EEPROM.write(direccion+1,valor);
}
void loop() {
EEPROM.read(direccion);
EEPROM.read(direccion+1);
Serial.print("En la dir... | [
"noreply@github.com"
] | Rokkee.noreply@github.com |
3e7ad41fb531cd7880edde73953569f83d0f00fa | 527421f3589e943db64c476656927c62829d1524 | /kernel/lib/userboot/userboot.cpp | dadb16b238c4305342cfd39eb98d444f0c0619cf | [] | no_license | wahwahwinner/smartnix | 5e0d0248ed8eaeb38d51a4b44c41eaa21d9c9b59 | f3aa1cc8873ec08f3ea7d66713843d3fdbebd7b5 | refs/heads/master | 2020-04-28T21:01:49.414154 | 2019-03-04T03:58:26 | 2019-03-04T03:58:26 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,371 | cpp |
#include <assert.h>
#include <err.h>
#include <inttypes.h>
#include <platform.h>
#include <trace.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <kernel/cmdline.h>
#include <vm/vm_object_paged.h>
#include <lib/console.h>
#include <lib/vdso.h>
#include <lk/init.h>
#include <mexec.h>
#include <o... | [
"376305680@qq.com"
] | 376305680@qq.com |
250b55c4b52f80dd481ed51feccebba13a44471b | d4058e13d7c5310cfbd889deecc27f9acdea9ea4 | /addcompilerwizard.h | 4f1109159d46a9e87fd3e51b30517d87df3053ef | [] | no_license | FreestyleOJ/Project_lemon | 24f95d5f6d6b55f7869f32ea39edcac403c3b984 | eda202936e40cf282b667fb106d5f2528daf9f59 | refs/heads/master | 2020-04-01T13:40:46.122735 | 2015-10-21T15:13:11 | 2015-10-21T15:13:11 | 43,739,368 | 7 | 5 | null | 2015-10-06T08:45:49 | 2015-10-06T08:45:49 | null | UTF-8 | C++ | false | false | 910 | h | #ifndef ADDCOMPILERWIZARD_H
#define ADDCOMPILERWIZARD_H
#include <QtCore>
#include <QtGui>
#include <QWizard>
namespace Ui {
class AddCompilerWizard;
}
class Compiler;
class AddCompilerWizard : public QWizard
{
Q_OBJECT
public:
explicit AddCompilerWizard(QWidget *parent = 0);
~Ad... | [
"crash@crash-VPCEA18EC.(none)"
] | crash@crash-VPCEA18EC.(none) |
23928343da043ac8061eb177addd7a2099c891f5 | 13f44a504648dc91869dfa9027c2f699949bae53 | /db/compaction.cpp | 584468b3255868526dc8a96ccd20061829d4789e | [
"BSD-3-Clause"
] | permissive | sarthakdadhakar/power-of-d | e90d8fb951d4350baf41506940c32bafa5718770 | 6c4be0a1b1242f267a92df24db407b1feffaa2a4 | refs/heads/main | 2023-01-21T08:45:02.069191 | 2020-11-18T03:28:40 | 2020-11-18T03:28:40 | 310,158,009 | 0 | 0 | BSD-3-Clause | 2020-11-05T01:23:05 | 2020-11-05T01:23:04 | null | UTF-8 | C++ | false | false | 23,009 | cpp |
//
// Created by Haoyu Huang on 5/4/20.
// Copyright (c) 2020 University of Southern California. All rights reserved.
//
#include "compaction.h"
#include "filename.h"
namespace leveldb {
void
FetchMetadataFilesInParallel(const std::vector<const FileMetaData *> &files,
const s... | [
"saru.dadkr@gmail.com"
] | saru.dadkr@gmail.com |
66bf6731d2b54181692cc3be4eae289983951821 | 82050f339441ed964202d8cf5252be757192d95e | /source/remote.cpp | f0f0c09200fd5d366c65018cb3e1477c193659e4 | [] | no_license | Raphaeloo/aquaExternal | e1844900776f09ea5e0d0c9a38a052cc94dfa952 | 0a2019843a324aed0a620f579e999e2b428c1fe0 | refs/heads/master | 2021-05-11T01:22:06.761162 | 2017-12-16T07:28:29 | 2017-12-16T07:28:29 | 118,326,482 | 1 | 0 | null | 2018-01-21T10:54:56 | 2018-01-21T10:54:56 | null | UTF-8 | C++ | false | false | 7,007 | cpp | #include "remote.h"
#define FINDPATTERN_CHUNKSIZE 0x1000
namespace remote
{
// Map Module
void* MapModuleMemoryRegion::find(Handle handle, const char* data, const char* pattern)
{
char buffer[FINDPATTERN_CHUNKSIZE];
size_t len = strlen(pattern);
size_t chunksize = sizeof(buffer);
size_t totalsize = this... | [
"filipeps3net@hotmail.com"
] | filipeps3net@hotmail.com |
9efb58ca2447e05ed1d9ba19e6c4dceec413c246 | b40d74a5fa41476509e4cf84e4c1bf0c96383879 | /InputCheck.cpp | 2ab052b6a09a727ea34edbdaa4dbfddaaa71f0dc | [] | no_license | jmrbug96/mycis277finalapp | 371333ffdae6215ca0d041dd44e57f23e5aa45db | d039962b97e70a9d3e0dbdffe67a584a51ac64a6 | refs/heads/master | 2020-04-20T16:50:16.344489 | 2019-04-30T18:50:35 | 2019-04-30T18:50:35 | 168,970,151 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 890 | cpp | #include <iostream>
#include <iomanip>
#include <string>
#include <vector>
#include <fstream>
#include <cstdlib>
#include "InputCheck.h"
using namespace std;
void InputCheck::checkInput(char &inVar, char reqIn1, char reqIn2, char reqIn3, char reqIn4){
//If input is not valid, give 3 attempts to enter valid input.
... | [
"noreply@github.com"
] | jmrbug96.noreply@github.com |
c14a022563a566a1d038bb525e67ea0bc694c5ec | 502a0c02e0a8e25a5277249f2595975bdcaabf4c | /Challenge280 - SOLVED/Challenge280/stdafx.cpp | 290110a8a856363e5cbca69ec1b00d7de31a9626 | [] | no_license | seanhouser/Daily_Challenges | 7e386cb3e30e795516b700963d1fe1b664a011b3 | de1f43424f70103c362c5bcee9563efac1d7a9ba | refs/heads/master | 2021-07-15T16:14:36.214786 | 2017-10-19T19:48:25 | 2017-10-19T19:48:25 | 43,339,918 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 291 | cpp | // stdafx.cpp : source file that includes just the standard includes
// Challenge280.pch will be the pre-compiled header
// stdafx.obj will contain the pre-compiled type information
#include "stdafx.h"
// TODO: reference any additional headers you need in STDAFX.H
// and not in this file
| [
"seanmhouser@gmail.com"
] | seanmhouser@gmail.com |
e48f9106829f23a9ab3205dbf714fa9728a22f79 | cecf6991e6007ee4bc32a82e438c9120b3826dad | /Ranking/Source/Updater.cpp | bdf78bd2f178877c4c5d61b255aa3c2fc2266d32 | [] | no_license | thinking2535/Rso | 172a3499400331439a530cab78934fa4c4433771 | 35d556463118825a1d5d36f49d46f18a05806169 | refs/heads/main | 2022-11-30T12:43:50.917063 | 2022-11-23T10:47:59 | 2022-11-23T10:47:59 | 31,525,549 | 11 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 49 | cpp | #include "Updater.h"
namespace rso::ranking
{
}
| [
"thinking2535@gmail.com"
] | thinking2535@gmail.com |
b72d7a0782028668ce0d0ce9826ec15dc97d1d3a | f9946f5d1283deece81f886de81b60829d7ca205 | /include/shared_data.h | ef0de2b5abf6a548676d908e3939681cd9324800 | [
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-unknown-license-reference",
"MIT"
] | permissive | mg-code/tilemaker | 01843f9d862114a25807b3acb695cd24f6731ac9 | b1f326108ca33f6cc6e5f48cac9a3e10272d686a | refs/heads/master | 2020-03-22T21:54:18.602973 | 2018-07-13T07:45:26 | 2018-07-13T07:45:26 | 140,720,612 | 0 | 0 | null | 2018-07-12T13:59:32 | 2018-07-12T13:59:31 | null | UTF-8 | C++ | false | false | 1,353 | h | #ifndef _SHARED_DATA_H
#define _SHARED_DATA_H
#include <vector>
#include <map>
#include "rapidjson/document.h"
#include "osm_store.h"
#include "output_object.h"
#include "osm_object.h"
#include "mbtiles.h"
class Config
{
public:
std::vector<LayerDef> layers; // List of layers
std::map<std::string,uint> layerMa... | [
"tim2009@sheerman-chase.org.uk"
] | tim2009@sheerman-chase.org.uk |
7fc709b06e020795d6c55c0ae0a7312148d2fa69 | 77c518b87e67e9926d130f856a7edb12302596eb | /Filters/Sources/vtkPolyPointSource.h | 7abdc80b8338fa6d3ccda5dca20059b61a23a61b | [
"BSD-3-Clause"
] | permissive | t3dbrida/VTK | 73e308baa1e779f208421a728a4a15fec5c4f591 | e944bac3ba12295278dcbfa5d1cd7e71d6457bef | refs/heads/master | 2023-08-31T21:01:58.375533 | 2019-09-23T06:43:00 | 2019-09-23T06:43:00 | 139,547,456 | 2 | 0 | NOASSERTION | 2019-11-22T14:46:48 | 2018-07-03T07:49:14 | C++ | UTF-8 | C++ | false | false | 2,094 | h | /*=========================================================================
Program: Visualization Toolkit
Module: vtkPolyPointSource.h
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
All rights reserved.
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
This software... | [
"ken.martin@kitware.com"
] | ken.martin@kitware.com |
ed02ecd38a52081ebbbac646dad577266409300b | 3ae0faf27a72aa9a0e69836bb73aaaec37b7a1e8 | /src/component/layout/zIndexComponent.cpp | aa31d528796a25695bff44e0d453725d83446307 | [] | no_license | Jackbenfu/Jackbengine | 9be48ee5a9623cf1a51c8106336858c38278b076 | 4036b4086c41736e0b00bfe3ea2eb3f3f0b72c08 | refs/heads/master | 2021-07-01T20:44:39.679403 | 2020-05-27T21:53:20 | 2020-05-27T21:53:20 | 63,488,028 | 5 | 0 | null | 2019-04-06T14:11:57 | 2016-07-16T15:00:26 | C++ | UTF-8 | C++ | false | false | 415 | cpp | //
// zIndexComponent.cpp
// jackbengine
//
// Created by Damien Bendejacq on 29/07/2017.
// Copyright © 2017 Damien Bendejacq. All rights reserved.
//
#include "zIndexComponent.hpp"
namespace Jackbengine {
ZIndexComponent::ZIndexComponent(uint index)
: m_index {index}
{
}
uint ZIndexComponent::index() const
{
... | [
"damien.bendejacq@iscool-e.com"
] | damien.bendejacq@iscool-e.com |
05b44d16263ca33b022b412e3d1816fe02384bf1 | 4f515d43b685715f0c9f1ed7e24554b539dd76d3 | /src/DsG4Scintillation.cc | b25d4b2fa6115e802f11b316fde8e3a491150483 | [] | no_license | WenjieWu-Sci/simjuno | 8ca365fd9c3041df83a2bb150edd91714740a27c | 1cc6e7bb4926bde7e1d020b7efff7d96b85d3dad | refs/heads/master | 2021-08-26T09:26:24.970843 | 2017-09-30T06:31:08 | 2017-09-30T06:31:08 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 40,711 | cc | //
// ********************************************************************
// * DISCLAIMER *
// * *
// * The following disclaimer summarizes all the specific disclaimers *
// * of contributors to t... | [
"whuwenjie@gmail.com"
] | whuwenjie@gmail.com |
f5af579edf1384975d0b2846f4ffed970987f135 | bfd2a9f4ebfeea2125d2755916d1395b4fb00ab7 | /Algorithms on Graph/week2_graph_decomposition2/1_cs_curriculum/acyclicity.cpp | 59513075f44527e3125528e9c46ce33c5f207d6d | [] | no_license | akaushal123/Data-Structures-Specialization-Coursera | 8a1c28d13eeb42497e5bfdcb76c7d3b2a7a4ef2d | 840bfae12dbd9dfd7dc2311e3e1fd7e2434073a7 | refs/heads/master | 2022-12-04T03:14:45.693219 | 2020-08-12T09:22:28 | 2020-08-12T09:22:28 | 281,339,173 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,088 | cpp | #include <iostream>
#include <vector>
#include <unordered_set>
using std::vector;
using std::pair;
bool explore(vector<vector<int> > &adj, int v, vector<bool> &visited, std::unordered_set<int> &s){
visited[v] = true;
//insert node into set
s.insert(v);
for(auto w: adj[v])
if(!visited... | [
"noreply@github.com"
] | akaushal123.noreply@github.com |
c771b9baea0b1e4c4a77d530c22ecd5f57e00db5 | 92943b7e6d203b23e15d746186567532d5613307 | /Home work/19.02.19/19.02.19/Source.cpp | 08d2a738e3de79cb4c4d2fdb88c45efda792708f | [] | no_license | Zabehalin/C-Plus-Plus | 15d14820cd8084ce4bd4d2ebacbac991d56cfa3a | 2c26bb033d66cdc3ed8f83901ed51ce31ec6c57f | refs/heads/master | 2020-04-18T07:11:32.952399 | 2019-05-14T11:17:53 | 2019-05-14T11:17:53 | 167,352,012 | 0 | 0 | null | null | null | null | WINDOWS-1251 | C++ | false | false | 3,796 | cpp | #include <iostream>
#include <ctime>
using namespace std;
/*1. Дано цілочисельний одновимірний масив. Заповнити його, вивести на екран у прямому та зворотньому порядку та порахувати суму елементів з використанням вказівників.*/
/*void Zap(int arr[], const int ROW);
void Vyvid(int arr[], const int ROW);
int main()
{
... | [
"z380966645657@gmail.com"
] | z380966645657@gmail.com |
9c559f0f6142643e58dd5f6891b311e7c63ed9d7 | 0acace81433043d274bbeb5628fc150cc0f2d072 | /Sources/Emulator/src/mess/machine/vic20user.h | 8a99aeb0e3a7e31f898ba4ab5fbcf8d66ac5f150 | [] | no_license | SonnyJim/MAMEHub | b11780c6e022b47b0be97e4670c49b15a55ec052 | aeaa71c5ebdcf33c06d56625810913a99d3a4a66 | refs/heads/master | 2020-12-03T03:36:28.729082 | 2014-07-11T13:04:23 | 2014-07-11T13:04:23 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,652 | h | /**********************************************************************
Commodore VIC-20 User Port emulation
Copyright MESS Team.
Visit http://mamedev.org for licensing and usage restrictions.
**********************************************************************
GND 1 A ... | [
"jgmath2000@gmail.com"
] | jgmath2000@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.