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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
46fa4a1d269f85acb530719ed13d181e8ed6a12e | a9103f6db80d8a593b2b588c18b4dfb56824e16f | /11/DorababuArigi.cpp | eb0b54036feea14341d708433248d9e09746d668 | [] | no_license | Coding-Club-NIT-Meghalaya/Leetcode-January-Challenge | 937910c22f696b5cbbe19b5a5829dc3988295e80 | 349928f9b418b74e65007ecba78d7ac27bdfe1ed | refs/heads/main | 2023-02-26T07:04:35.938774 | 2021-01-31T14:47:15 | 2021-01-31T14:47:15 | 326,126,590 | 1 | 19 | null | 2021-01-31T14:47:16 | 2021-01-02T06:50:05 | C++ | UTF-8 | C++ | false | false | 313 | cpp | /*
B19CS039
Dorababu Arigi
DorababuArigi
*/
class Solution {
public:
vector<int> merge(vector<int>& nums1, int m, vector<int>& nums2, int n) {
for(int i=m,j=0;i<nums1.size()&&j<n;++i,++j){
nums1[i]=nums2[j];
}
sort(nums1.begin(),nums1.end());
return nums1;
}
};
| [
"noreply@github.com"
] | Coding-Club-NIT-Meghalaya.noreply@github.com |
ef99789da9553c6ef0ea5ec8814e5ee566ee890c | a85bcd9a3332c6ae187453e32a9d234ae8532dc5 | /application/HTTPDownloader.hpp | 802cc741241a4ef99daee1835a293c5c0c24c0cb | [] | no_license | vinnoplexus/Crawler_Test | f3ba9298fd94a40b17ce2d3d7c48b1b7b8590cdf | 1ef1449bff2efd313d7ce80a492337dd3c2ac301 | refs/heads/master | 2021-01-20T14:22:35.428550 | 2017-05-11T13:18:36 | 2017-05-11T13:18:36 | 90,595,164 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 399 | hpp | #include <string>
/**
* A non-threadsafe simple libcURL-easy based HTTP downloader
*/
class HTTPDownloader {
public:
HTTPDownloader();
~HTTPDownloader();
/**
* Download a file using HTTP GET and store in in a std::string
* @param url The URL to download
* @return The download result
*/... | [
"vinay.sable@innoplexus.com"
] | vinay.sable@innoplexus.com |
834bb6e62e11f31ed489977231e17b6cff199969 | 040ae0bfa0218a30383ee5a24b2ba4d2e5fefbb5 | /AntiyMonitor-MFC/EventSink.cpp | 8ccef81f1d4db9cca62e4662cd59bd1424bb4386 | [] | no_license | fengjixuchui/NetMon-2 | f6df5d794992f2ed85fbaf046a03fdfc62768b62 | 1a2f22e1e8ab65d2062f10455b91550cb6838b39 | refs/heads/main | 2023-02-05T03:56:41.900497 | 2020-12-22T15:48:26 | 2020-12-22T15:48:26 | null | 0 | 0 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 9,208 | cpp | #include <stdio.h>
#include <iostream>
#include <comutil.h>
#include <string.h>
#include <stdlib.h>
#include "AntiyEtw.h"
#include "AntiyWmi.h"
using namespace std;
EventSink::EventSink()
{
InitListEntry(&m_ListHeader);
InitializeCriticalSection(&m_WmiEventLock);
}
EventSink::~EventSink()
{
}
ULONG EventSink::Ad... | [
"p0sixb1ackcat@gmail.com"
] | p0sixb1ackcat@gmail.com |
825082dbdbd7093d6ec04614651c4baca2a2ed65 | 0c848a59f3feb3bcef685d889224630ba674a04d | /Connect 4/src/Program/State.h | 11e7a2a0a1dce30bc9c4fc84280b50ec27b9c886 | [] | no_license | josephcwalker/NEA-Coursework | 168ea06ad85f90f739ec6acb3c1814a22d044653 | bfdb7175c44b238d8f759d7d86014ee6a945c355 | refs/heads/master | 2023-04-02T03:32:39.010745 | 2021-04-15T14:06:32 | 2021-04-15T14:06:32 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,194 | h | #pragma once
#include <SFML/Graphics.hpp>
namespace Connect
{
class Button;
// Abstract State class used to allow for polymorphism
// to store all states in a single data structure easily
class State
{
public:
State() {};
virtual ~State() {};
public:
// Used to initialize any values that need to be cr... | [
"josephwalker2010@hotmail.co.uk"
] | josephwalker2010@hotmail.co.uk |
87a2717b06352054d1e196774fc1458a6777143d | 0b5ca79064d0f6049c943704b9066d18cf0dfb70 | /src/Controls.h | 6bdc9e164621cf034978cc8f51600056b5727b70 | [] | no_license | aspirkin/Andrumeda | 9cef4723204bc032fae73826e0a5cf1712fac161 | 0f2c3b86a5dac3c04d0ddf2dbbec82809cf2836b | refs/heads/master | 2023-01-19T15:27:41.558937 | 2020-11-30T11:57:32 | 2020-11-30T11:57:32 | 218,037,134 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,918 | h | #ifndef Controls_h_
#define Controls_h_
#include <EncoderHandler.h>
#include <SensorHandler.h>
#include <vector>
#include <menus/MenuBranch.h>
#include <menus/MenuLeaf.h>
#include <parameters/AbstractParameter.h>
#include <parameters/StatefulParameter.h>
#include <parameters/StatelessParameter.h>
#include <EncoderHand... | [
"aleksey.spirkin@gmail.com"
] | aleksey.spirkin@gmail.com |
9d765ced88134e529d5f6196b68ba4eda6e0820c | 6d7eae0eda05945f2d95448b647cdc9217b592a7 | /RC/Projeto/shared/src/error.cpp | fd66a10052c5f5045f4524942d781660c4b7b8f9 | [] | no_license | oitgg/EC-UFPB | dcac2c7349e30d78cb04f042d2cd742306f9b033 | 972a2cb2233ac03ded577bb5a6ff47f94e8944d8 | refs/heads/master | 2020-05-21T01:16:09.884537 | 2019-05-20T22:00:39 | 2019-05-20T22:00:39 | 185,852,791 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 677 | cpp | #include "error.h"
void socket_error()
{
perror("Erro ao criar um socket");
exit(1);
}
void connect_error()
{
perror("Erro ao solicitar uma conexão");
exit(1);
}
void recv_error()
{
perror("Erro ao receber uma mensagem");
exit(1);
}
void send_error()
{
perror("Erro ao enviar uma mensagem... | [
"37004066+oitgg@users.noreply.github.com"
] | 37004066+oitgg@users.noreply.github.com |
190a7cd719ab64812936aa144e9579b45b6de7c1 | 5d83739af703fb400857cecc69aadaf02e07f8d1 | /Archive2/62/6fd89b84cf582b/main.cpp | 5a2058f961e3926fa90025c5967f9c302c999ee3 | [] | no_license | WhiZTiM/coliru | 3a6c4c0bdac566d1aa1c21818118ba70479b0f40 | 2c72c048846c082f943e6c7f9fa8d94aee76979f | refs/heads/master | 2021-01-01T05:10:33.812560 | 2015-08-24T19:09:22 | 2015-08-24T19:09:22 | 56,789,706 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 424 | cpp | #include <iostream>
#include <string.h>
void copyString(char stringToCopyTo[], char stringToCopy[]);
int main(){
char string1[] = "Hello World!";
char string2[80];
copyString(string2, string1);
std::cout << "String1: " << string1 << "\n";
std::cout << "String2: " << string2 << "\n";
return... | [
"francis.rammeloo@36614edc-3e3a-acb8-9062-c8ae0e4185df"
] | francis.rammeloo@36614edc-3e3a-acb8-9062-c8ae0e4185df |
054855fd222da0ca5bf35f2a29b64067de553e60 | 7248fece394bb45defc21b18fd7aaa18bba73cad | /Problem 10/Problem 10/main.cpp | af249730666b0c6928a2e9cf2110306fcb2380fe | [] | no_license | drsoxen/Project-Euler | eff25fb15eba322b19a2a5f8b669d695799ea67a | 1676d680ce66ad56e44362ba81b95d3fa3c84c50 | refs/heads/master | 2016-09-03T06:31:25.504019 | 2012-09-27T02:54:55 | 2012-09-27T02:54:55 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 760 | cpp | #include <iostream>
#include <vector>
using namespace std;
void PrimeNumbers(unsigned long long numberOfPrimeNumbers);
vector<unsigned long long>PrimeNumberVec;
unsigned long long sum = 0;
int main()
{
PrimeNumbers(2000000);
for(int i =0;i<PrimeNumberVec.size();i++)
sum += PrimeNumberVec[i];
... | [
"stargateno1fan@Chriss-MacBook.local"
] | stargateno1fan@Chriss-MacBook.local |
838948498508aace143eeeacd8a312dad133135d | 8def94d70dff30617a7644b2dff534fef7dc8281 | /IntXLib.Test/src/LessOpTest.h | 16db0987365d5b661e7d42bc9a42827af4cede03 | [
"MIT"
] | permissive | dendisuhubdy/IntXLib4CPP | e2a295d033a3a10155fdb68ea73082c7dd9a92ec | ba9869269bee5a25f8d9ab9bc84da6380e2eb315 | refs/heads/master | 2020-05-17T04:24:30.121236 | 2017-09-08T11:26:06 | 2017-09-08T11:26:06 | 183,508,780 | 1 | 0 | null | 2019-04-25T20:58:18 | 2019-04-25T20:58:17 | null | UTF-8 | C++ | false | false | 1,048 | h | #define BOOST_TEST_MODULE LessOpTest
#include "../IntX.h"
#include <vector>
#include <boost/test/included/unit_test.hpp>
BOOST_AUTO_TEST_SUITE(LessOpTest)
BOOST_AUTO_TEST_CASE(Simple)
{
IntX int1 = IntX(7);
IntX int2 = IntX(8);
BOOST_CHECK(int1 < int2);
BOOST_CHECK(int1 < 8);
BOOST_CHECK(7 < int2);
}
BOOST_AUT... | [
"ron2tele@gmail.com"
] | ron2tele@gmail.com |
ecaec957f7973768feba2ca4f272120e0322a494 | 7975dc9f1c3550719c0f8f841ef5c533091ebbe8 | /src/sensorsbank.cpp | f4fe5625a51741e2dc488c5f8a6a692a8c8e8d01 | [
"Apache-2.0"
] | permissive | marc-despland/alarm | edb00a8b44c3905ddd0f10a475eb1b7ff1f0e140 | 06fa62a490b57e012402c2f3dfd9c4c54e624070 | refs/heads/master | 2021-03-19T14:50:07.513833 | 2017-07-30T13:52:32 | 2017-07-30T13:52:32 | 97,235,283 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,193 | cpp | #include "sensorsbank.h"
#include <ctime>
#include <curl/curl.h>
#include <sstream>
#include "log.h"
string SensorsBank::ApiKey="";
string SensorsBank::ApiUrl="";
string SensorsBank::toJson(std::map<string,double> sensors) {
time_t rawtime;
struct tm * timeinfo;
char responsedate [80];
time (&rawtime);
timeinfo ... | [
"marc.despland@art122-5.net"
] | marc.despland@art122-5.net |
2cc8437d950d93f0ab4bf920ba65f05c8cb127a2 | d01196c421b8e99b1140c2814e8ae899ecae903e | /TestCOMServer/dllmain.cpp | 0d2d2ef8e2b264c8a0b688045f108b0e197aa4fc | [
"BSD-3-Clause"
] | permissive | 0x01-tools/COMProxy | 69638d220ba160dbf29d9591b114bf319a61c542 | 73fdcc08e1cc584cb780c8f19680e0deb8d0cec2 | refs/heads/master | 2020-07-22T08:48:57.111054 | 2019-08-30T13:33:31 | 2019-08-30T13:33:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,783 | cpp | #include <Windows.h>
#include <comutil.h> // #include for _bstr_t
#include <string>
BOOL FindOriginalCOMServer(wchar_t* GUID, wchar_t** DLLName);
DWORD MyThread();
typedef HRESULT(__stdcall *_DllGetClassObject)(REFCLSID rclsid, REFIID riid, LPVOID* ppv);
UINT g_uThreadFinished;
extern UINT g_uThreadFinished... | [
"noreply@github.com"
] | 0x01-tools.noreply@github.com |
c3d24abc36a85169270116fccc158fc79e0bf3b3 | 2c74e4ad6c5dd8258fe4e061b784add7099f099d | /Civ4 Reimagined/Source/CyPlayer.cpp | 9c7872973d7446b6e9f979ee0773770ab44a6f06 | [
"CC-BY-3.0"
] | permissive | nalyc/MCiv4Reimagined | 73bb0e925cf915111e78973bf3cf4dda1ba9aa63 | dc1d66420493892c4572a15b80f70528813f1592 | refs/heads/master | 2021-04-27T05:16:38.572025 | 2018-02-23T08:59:01 | 2018-02-23T08:59:01 | 122,595,106 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 60,018 | cpp | //
// Python wrapper class for CvPlayer
//
#include "CvGameCoreDLL.h"
#include "CyPlayer.h"
#include "CyUnit.h"
#include "CyCity.h"
#include "CyArea.h"
#include "CyPlot.h"
#include "CvPlayerAI.h"
//#include "CvEnums.h"
#include "CvCity.h"
#include "CvMap.h"
#include "CvPlot.h"
#include "CySelectionGroup.h"
#include "... | [
"pierre@tupito.de"
] | pierre@tupito.de |
d4a42fa5fb0c30fbae0b22f2c71628d6ab7b00ff | 5d49a7a63fe13383911c64f26623038e4abcd0c2 | /mapreduce-mapper.h | 894785341fbdcae1c8a29d70142b39ee1a37916f | [] | no_license | sfgorky/Map-Reduce | b34049bf678799d345de8c838433d1cb9bb2f81a | 0f33b2885fcdc002fc0ff043c49c85002c9812c0 | refs/heads/master | 2021-09-18T04:45:51.507696 | 2018-07-09T21:13:46 | 2018-07-09T21:13:46 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,364 | h | /**
* File: mapreduce-mapper.h
* ------------------------
* Defines the interface for the MapReduceMapper class,
* which knows how to configure itself (via its constructor) and
* feed input files to the supplied executable. Input files received
* from the map-reduce server should be .input files (that is, the fi... | [
"melmuhta@gmail.com"
] | melmuhta@gmail.com |
0d06efb22d1832b9e52fd5c0093a05efb83a806a | 170ab6daedec4a8f107203b6eb5cd8bed1f4ed81 | /Beginning-Algorithm-Contests-Rujia-Liu-Second-Edition/Chapter-6.Data-Structures/Examples/12-UVA 572 Oil Deposits.cpp | 279379fdece906fa7058a70ec52958a37585c6d4 | [] | no_license | sfailsthy/ACM-ICPC | 4a15930c06c5ba35ca54a5ecb0acd7de63ebe7f7 | 7e32bfc49010c55d24b68c074c800a2d492abbfd | refs/heads/master | 2021-01-11T06:07:58.598819 | 2017-01-18T13:04:23 | 2017-01-18T13:04:23 | 71,685,224 | 3 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 955 | cpp | //created by sfailsthy 2016/10/29 2:21
#include <iostream>
#include<cstdio>
#include<set>
#include<queue>
#include<vector>
#include<cstring>
using namespace std;
typedef long long ll;
const int maxn =100+10;
char grid[maxn][maxn];
int m,n;
int res;
void dfs(int x,int y)
{
grid[x][y]='*';
for(int dr=-1;dr<=1;d... | [
"noreply@github.com"
] | sfailsthy.noreply@github.com |
16e0d5029094b90ef481fbce50faa89e5ea480b9 | 6b2a8dd202fdce77c971c412717e305e1caaac51 | /solutions_1485488_1/C++/xreborner/B.cpp | 7541b58d8f6b0ed44a016aaf5e3cda62176f0442 | [] | 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,550 | cpp | #define _CRT_SECURE_NO_DEPRECATE
#pragma warning(disable: 4018)
#ifdef NDEBUG
#define _SECURE_SCL 0
#endif
#include <iostream>
#include <memory>
#include <vector>
#include <algorithm>
#include <string>
#include <map>
#include <set>
#include <sstream>
#include <utility>
#include <functional>
#include <cs... | [
"eewestman@gmail.com"
] | eewestman@gmail.com |
24799be3d8ce2a87bf314cc2f02039d37e40e6bb | 7e3397302123a1b12d30250f837ed0d2b004962a | /milestone1/GameOfLifeCode/matrix.h | 25b59c5b3f116144795b47d007b6660325d7b63c | [] | no_license | yuliahn/PRG_Praktikum | 5f291739a82a082ca248d7015be4f6758dbe4e67 | 989c76325a56cd33d846a399f0e40425be7dc5a2 | refs/heads/master | 2020-04-04T19:12:51.313233 | 2019-01-29T20:07:25 | 2019-01-29T20:07:25 | 156,196,661 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 837 | h | #ifndef MATRIX_H
#define MATRIX_H
#include <cstdlib>
#include <stdlib.h>
#include <vector>
#include <string>
using namespace std;
class matrix
//creates the class matrix
{
public:
typedef std::vector<double> Vector;
public:
size_t getRows() const;
size_t getCols() const;
double ... | [
"noreply@github.com"
] | yuliahn.noreply@github.com |
00d580ed13b9609a6e985f72f4b3b8730e0cf31e | 942bfe7fbc326daa2f8a2701480758cee0854f5d | /Source/Wave/UI/HammerCountBarUI.cpp | 538aeeae04d8369a7136980386df66a64f919265 | [] | no_license | naryuu8/GameTaisyou2020 | 074930623a8b4367e4f40c8a64ec53b2f6ea117f | 880ec8552bb3f3f39a293291628aaf4d5e3121fd | refs/heads/master | 2023-01-31T11:08:03.539366 | 2020-06-14T14:30:46 | 2020-06-14T14:30:46 | null | 0 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 881 | cpp | // Fill out your copyright notice in the Description page of Project Settings.
#include "HammerCountBarUI.h"
#define GAUGE_SPEED (0.03f)//ゲージ徐々に減らすスピード
float UHammerCountBarUI::DownGauge(const float DamageX, const float HpX)
{
if (!IsDamageDown)
{//ゲージが初めて下がる時の差分を得る
NowHp = DamageX - HpX;
IsDamageDown = true;
... | [
"orengi93@yahoo.co.jp"
] | orengi93@yahoo.co.jp |
905696cc0b60d3e56ef883fdbd7903c947165ebe | 563b013cfa9027136e2e1d0e3ac7c2879a04e2b2 | /Common/Ccpp/Common.h | 5c867a42cf248234afeb55eb8682a32c088cbca5 | [] | no_license | aloe-all/NPP_HexEdit | 8cb6263bb7fa00a70bdfc3781eefe8db80b39e96 | edf1d755d790b31ffac781493d0001106b8e0b0b | refs/heads/master | 2023-09-02T03:07:56.487088 | 2021-11-01T09:23:05 | 2021-11-01T09:23:05 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,467 | h | // This file is part of Notepad++ project
// Copyright (C)2021 Don HO <don.h@free.fr>
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// at your option an... | [
"christian.grasser@live.de"
] | christian.grasser@live.de |
771a47c8ac7af2eb4ca5b159995adda7c8a43ef5 | f556d0c63551f3e3cd138f01b081dfd299c57225 | /IPlugExamples/filtertest/LinkwitzRiley.h | 051cb084457aa650a63cd5098524ad907fafa8c9 | [
"LicenseRef-scancode-unknown-license-reference",
"LicenseRef-scancode-other-permissive"
] | permissive | michaeldonovan/wdl-md | 78e0a2f59b32e8b0d7547bec7ca5815e5893a16c | 2148c1ef7a327dabcf9c6281c3bb425e0e064503 | refs/heads/master | 2021-01-15T16:14:47.438742 | 2016-04-20T00:01:00 | 2016-04-20T00:01:00 | 49,093,121 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,334 | h | //
// LinkwitzRiley.h
// MultibandDistortion
//
// Created by Michael on 3/9/16.
// Original from T. Lossius - ttblue project
//
#ifndef LinkwitzRiley_h
#define LinkwitzRiley_h
enum FilterType {
Lowpass = 0,
Highpass,
};
class LinkwitzRiley{
public:
LinkwitzRiley(float sampleRate, const int& type, dou... | [
"michael.donovan.audio@gmail.com"
] | michael.donovan.audio@gmail.com |
1bd175b6f12add3061ac5fbd54d99dbd4409cc28 | 3603495adfdc6b76236d6e3eb6f1ecf3f70835f8 | /Automatic_infantry_robot/ROS_original_notes/catkin_ws/src/robot_bringup/include/robot_bringup/robot.h | 8a9e6f0902250af6dd7c5f380baf28e30dba81b7 | [] | no_license | wf-hahaha/Robomaster-skyteam | a1e70eaa8e31fc5481858173f4f208f2535b56da | 0a82bbfc0da3ad3b5fe3dcb8ed83d7e6adfdb312 | refs/heads/main | 2023-05-06T17:47:09.452301 | 2021-04-19T12:14:20 | 2021-04-19T12:14:20 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,307 | h | #ifndef __ROBOT_H__
#define __ROBOT_H__
#include <ros/ros.h>
#include <ros/time.h>
#include <geometry_msgs/TransformStamped.h>
#include <tf/transform_broadcaster.h>
#include <nav_msgs/Odometry.h>
#include <boost/asio.hpp>
#include <geometry_msgs/Twist.h>
namespace robot
{
class robot
{
public:
... | [
"noreply@github.com"
] | wf-hahaha.noreply@github.com |
5fcdc97c637a66f03bd5df745cb2df9f11c51c9d | e1656b466e2c23bfa83a07c122543498112e7045 | /main.cpp | 25fdd2f72603fe08182a87a8342f26e76a3af0cb | [] | no_license | blueshen111/connect_four | 5b89136054f6993f4e98aa30634c543f47ef9469 | 7da3308e501ffb940c064643fb219255c3108621 | refs/heads/master | 2020-07-25T17:03:17.096166 | 2019-09-13T23:52:44 | 2019-09-13T23:52:44 | 208,364,436 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,717 | cpp | // Jordan Steer-Furderer
// CIS 25
// CONNECT FOUR
#include <iostream>
using namespace std;
int main()
{
int columnChoice;
0 <= columnChoice <= 6;
char x;
char o;
cout << "Welcome to Connect Four" << endl;
cout << "=============" << endl;
char board[6][7] = { {'-', '-', '-', '-', '-', '-', '-'},
... | [
"noreply@github.com"
] | blueshen111.noreply@github.com |
528710aec7b101e17daa85088ea4027250982a0e | 76261a91107cdacb6046c1fdc106ffcb4368ad92 | /DragonBones/DragonBonesExample/DragonBones/objects/SkeletonData.h | 581763e1d4b9245fdddf7a662d5a79cffdabd421 | [] | no_license | KingNormac/CPlusPlus-Opengl-Dragonbones | f33c903682efd43497bca78c1548f4baa19f4534 | 305a11d68143ac9d15ddd9a0c767a3b00439e120 | refs/heads/master | 2020-04-10T07:56:08.589533 | 2013-08-10T18:39:53 | 2013-08-10T18:39:53 | 12,017,983 | 4 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 911 | h | #ifndef SKELETONDATA_H
#define SKELETONDATA_H
#include "ArmatureData.h"
#include <string>
#include <vector>
#include <map>
#include "../as3/Vector2D.h"
namespace DragonBones {
class SkeletonData {
private:
std::map<std::string, Vector2D*> _subTexturePivots;
std::vector<ArmatureData*> _armatureDataList;
public... | [
"thedreamteamorganization@gmail.com"
] | thedreamteamorganization@gmail.com |
c44d259fa285d95aa20f441dafc997b46e802257 | 84a9cf5fd65066cd6c32b4fc885925985231ecde | /Plugins2/ElementalEngine/LightMapObject/PhotonMap.h | b9395a5f584497b4c526251109f58a95734049e9 | [] | no_license | acemon33/ElementalEngine2 | f3239a608e8eb3f0ffb53a74a33fa5e2a38e4891 | e30d691ed95e3811c68e748c703734688a801891 | refs/heads/master | 2020-09-22T06:17:42.037960 | 2013-02-11T21:08:07 | 2013-02-11T21:08:07 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,595 | h | ///============================================================================
/// \note Elemental Engine
/// Copyright (c) 2005-2008 Signature Devices, Inc.
///
/// This code is redistributable under the terms of the EE License.
///
/// This code is distributed without warranty or imp... | [
"klhurley@yahoo.com"
] | klhurley@yahoo.com |
99a1788b62cff717a1ad975a215cc2c4ee2bc7aa | e7dcf1b8325270e9ca908723a86e417e40d75614 | /chapter2/소스37.cpp | f97b8954e5103198345ecb90e16d51108ff9758e | [] | no_license | jojarim/cprog | 73f7b4ca733293b32baee3dcee982c2132e36521 | f3d1f9447919003a0a4550f244c65a297a48770a | refs/heads/master | 2020-07-28T16:50:48.407148 | 2019-12-12T05:15:13 | 2019-12-12T05:15:13 | 209,471,178 | 0 | 1 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 211 | cpp | #define _CRT_SECURE_NO_WARNINGS
#include <stdio.h>
int main(void)
{
int a = 10;
int *p = &a;
int b = *p;
*p = 20;
int **pp = &p;
int c = **pp;
**pp = 30;
printf("%dÀÌ´Ù", a);
return 0;
} | [
"whwo2142@naver.com"
] | whwo2142@naver.com |
35793a6075f9168ae11ef40c90daa8e61dae9557 | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/httpd/gumtree/httpd_repos_function_3288_httpd-2.2.34.cpp | e1542935750a5753e96b65d55e72e75da96158d5 | [] | 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 | 121 | cpp | static int PTRCALL
big2_charMatches(const ENCODING *enc, const char *p, int c)
{
return BIG2_CHAR_MATCHES(enc, p, c);
} | [
"993273596@qq.com"
] | 993273596@qq.com |
c9464dcf08ea2bb98fd7e7465ada19ee4ad4cc9e | 13c599a48f0b596c314c7c570f47756fd97a2b92 | /device/geolocation/geolocation_service_context.cc | ffd69ff01be24ab609b9777b35bb47fe4bae89a2 | [
"BSD-3-Clause"
] | permissive | qichanna/chromium | a5e3d44bda4bd6511e090e25263f5de94dbfe492 | 458d956db161377610486b7c82a95fc485f60b9b | refs/heads/master | 2022-11-13T00:50:48.147260 | 2016-08-01T23:23:16 | 2016-08-01T23:28:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,790 | cc | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "device/geolocation/geolocation_service_context.h"
#include <utility>
#include "device/geolocation/geolocation_service_impl.h"
namespace devic... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
f60a861644cbbd5ac09e0febd4db3cad5e6df811 | c11f601574b36c77674a6aecbe64fca6333ef2f8 | /MT/MT_Robot/robot/SteeredRobot.h | dcf3b3850ff4dea0831144eecb23369196ddad8b | [
"MIT"
] | permissive | leonard-lab/MADTraC | 736afe84c51993d21864669aa4d9a42a3f76c723 | f1830c377a075aa5ddff9342c4851d0715cdd6a4 | refs/heads/master | 2020-05-19T17:39:43.278238 | 2013-02-17T01:05:05 | 2013-02-17T01:05:05 | 3,463,121 | 5 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 4,151 | h | #ifndef STEEREDROBOT_H
#define STEEREDROBOT_H
/************************************************************
* SteeredRobot.h
*
* Defines the MT_SteeredRobot class. This is a MT_MiaBotPro with
* only speed and turning rate controls (not direct wheel
* rate controls). This should suffice as a basic class
* to us... | [
"dan.t.swain@gmail.com"
] | dan.t.swain@gmail.com |
25b6cb76f1d3a71f993a5b53f089a41af22fb16f | b42facd15642a20b40ea668e36201784a2995a7d | /src/stan_files/AugBin2T1A.hpp | 60064694da5456f391e9ccf90581578cf5a6d575 | [] | no_license | studentmicky/trialr | 3e7cb46e690387c2c7462a5bde27e43599b617e9 | 83dad6f5c255d7f66a5bf87512e212e57c0feb8a | refs/heads/master | 2020-12-10T02:41:30.710821 | 2019-06-25T16:27:04 | 2019-06-25T16:27:04 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 49,347 | hpp | /*
trialr is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
trialr is distributed in the hope that it will be useful,
... | [
"kristian.brock@gmail.com"
] | kristian.brock@gmail.com |
f4a62bf2941d984dd3f508164ff95b5962426fe8 | d2faaf968199d35d9df9b2c85e669294334e425f | /Classes/module/gamePlayingScene/Controller/archerController/archerController.h | 2f80757ea2f13f1974c07978691207c22c1b7f57 | [] | no_license | lifestory/CatapultGame | 374abd3937577998766d864870a7f2e8961712ec | 2e4235d7e0a2b0bcf92704638c248769b0dcca84 | refs/heads/master | 2021-01-20T18:01:50.216264 | 2016-06-28T08:48:55 | 2016-06-28T08:48:55 | 62,115,939 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,435 | h | #ifndef __ARCHER_CONTROLLER_H__
#define __ARCHER_CONTROLLER_H__
#include "cocos2d.h"
USING_NS_CC;
#include"../../Model/archer/archer.h"
#include"../../../../public/Constant/Constant.h"
#include"../../../../public/ParameterManager/ParameterManager.h"
#include"../../Model/archer/arrow.h"
#include"../../Model/archer/prog... | [
"496756287@qq.com"
] | 496756287@qq.com |
66b23b642a6d3a775c0822288c0d218c6ee9bf93 | da07d22c338f1c046b24eb9dfb4d2cc3a02c3a36 | /Atcoder/ARC/099/099-C.cpp | 8fdd340cc452d57e38e869594365b4c7a396a8d8 | [] | no_license | Umi-def/Atcoder | 7fa402baf8de3ca846a8e43289d34baecc9d40ab | dd354894097890b4ce40c3eb679bd04b78aae810 | refs/heads/main | 2023-08-19T06:33:19.716933 | 2021-10-14T04:47:34 | 2021-10-14T04:47:34 | 302,190,503 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,218 | cpp |
#include <iostream>
#include <cstdint>
#include <cstdio>
#include <algorithm>
#include <cmath>
#include <vector>
#include <list>
#include <set>
#include <map>
#include <queue>
#include <stack>
#include <cctype>
#include <cassert>
#include <climits>
#include <string>
#include <bitset>
#include <cfloa... | [
"yumi901ririi@icloud.com"
] | yumi901ririi@icloud.com |
2b1d665ea8991195a81560ea9f24ea3bff74826c | 0e6a0119fa18a550c0e26a5b1b288e1d3951cfcc | /speed_leds.cpp | 794fc8535203d2fefd7ece81fce640126c86d381 | [] | no_license | jamesfowkes/asap-watercraft-user-board | 441f801dc498634bbc533d32923fb93d4f9e1229 | f74f91ab75cc439de6e7bfc705cd214fe2a42e19 | refs/heads/master | 2021-09-07T07:24:19.749089 | 2018-02-19T15:10:12 | 2018-02-19T15:10:12 | 85,165,502 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,779 | cpp | /*
* switches.cpp
*
* James Fowkes (jamesfowkes@gmail.com)
* for ASAP Watercrafts
*
* Created March 2017
*
* Modified from original file RTD-ASAP_Controller.c
* by Rapid Technology Development ltd.
*/
/*
* AVR Includes
*/
#include <avr/io.h>
/*
* C standard library Includes
*/
#include <stdint.h>
/*... | [
"jamesfowkes@gmail.com"
] | jamesfowkes@gmail.com |
cebd30dd44a9dfb5cc5970ca4971d28436f3c148 | 6b980d21531cabbaf6b718227b023aa233352d6d | /menu/rendermenu.hpp | 9eb18641f16943287b3f7fd441122e3b4608af53 | [] | no_license | younasiqw/affluence | 217a26eb45777e4822ddac91920c4eaaa5e317e1 | 1977307d865825a7c13540a20da01b5045f69a05 | refs/heads/master | 2020-03-18T14:30:18.150307 | 2018-05-25T09:18:49 | 2018-05-25T09:18:49 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 400 | hpp | #pragma once
#include "../main/interfaces.hpp"
struct render_struct
{
const char* title;
float* value;
float min;
float max;
float step;
bool isTab;
};
class render_definitions
{
public:
int index = 0;
int items = 0;
float tab, tab2, tab3, tab4;
};
class render_menu
{
public:
render_struct frame[150];
};
... | [
"headaimclub2@gmail.com"
] | headaimclub2@gmail.com |
44ef367a83bea28de67506e19b35c8bb47b95080 | 03c6d91afa813b32aa0c0f5710c8ccc68e5d7c05 | /codeforces 1393 C. Pinkie Pie Eats Patty-cakes.cpp | 18afdaae442b7f88f2a442e46bd40f60ccd42c4d | [] | no_license | DorianBajorek/Codeforces-solutions | 96fe6c54b55681fe030f3e9015367d2176d10daf | d8e936de286342fef7230da2afbc50dd13164c93 | refs/heads/master | 2023-05-29T00:52:16.680588 | 2020-10-05T16:33:52 | 2020-10-05T16:33:52 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,683 | cpp |
// Problem : C. Pinkie Pie Eats Patty-cakes
// Contest : Codeforces - Codeforces Round #662 (Div. 2)
// URL : https://codeforces.com/contest/1393/problem/C
// Memory Limit : 256.000000 MB
// Time Limit : 2000.000000 milisec
#include<bits/stdc++.h>
#define ll long long int
#define pb ... | [
"noreply@github.com"
] | DorianBajorek.noreply@github.com |
edab26a13467e30a0df5c4142fc9bf57a4247abd | 50b452728fcc521cd8e82ca1377bd1f6a7fa60ec | /CavemanNinja/GUILabel.cpp | 0afe6c8c694599281aaa07930f1ae69be361cad2 | [] | no_license | DorianHawkmoon/Caveman-Ninja | a7c6e8f38363278127a8c3a4af6e0e79265fa7e6 | c39dbd8be2234722bad3f2e5e53981d83ec3022c | refs/heads/master | 2021-01-10T17:10:45.342359 | 2016-04-11T00:41:40 | 2016-04-11T00:41:40 | 49,627,241 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,899 | cpp | #include "GUILabel.h"
#include "Application.h"
#include "ModuleRender.h"
#include "ModuleFonts.h"
namespace GUI {
GUILabel::GUILabel(const std::string& text, const SDL_Color& color, const std::string& font, const GUILocation& location, int size)
: GUI::GUITexture(), nameFont(font), text(text), size(size+1),... | [
"dorian.cadenas@gmail.com"
] | dorian.cadenas@gmail.com |
7c2a4cae19275d82c6dc3dcce1844cc9f826cc84 | 723638405a3a0fa9bf4fcef914420c58f3daeb2d | /src/object/object_engine.h | dc901660735357023494ddf664ec77e898c4d468 | [
"MIT"
] | permissive | xuguozhi/mnn_example | c02b6a522236c8eec69b4fbf70b3f5519aa6a583 | 324f5ebc15c677270a614766dd9bb891b76c9505 | refs/heads/master | 2021-05-20T21:05:31.931058 | 2020-04-09T15:32:36 | 2020-04-09T15:32:36 | 252,416,589 | 0 | 1 | MIT | 2020-04-02T09:52:44 | 2020-04-02T09:52:44 | null | UTF-8 | C++ | false | false | 424 | h | #ifndef _OBJECTER_H_
#define _OBJECTER_H_
#include "../../common/common.h"
#include "./mobilenetssd/mobilenetssd.h"
namespace mirror {
class ObjectEngine {
public:
ObjectEngine();
~ObjectEngine();
int Init(const char* root_path);
int DetectObject(const cv::Mat& img_src, std::vector<ObjectInfo>* object... | [
"15671640320@163.com"
] | 15671640320@163.com |
976cc2295379f84b02a059a5efea47d1452874cd | 751bddd2cd3152c0f40165cd004ce450fe69e087 | /Source/Engine/Physics/Constraint.h | 3a47dd488a317c493565cafc916894ef4eeac05f | [
"MIT",
"LicenseRef-scancode-unknown-license-reference",
"Zlib",
"LicenseRef-scancode-khronos",
"Apache-2.0",
"BSD-2-Clause"
] | permissive | sabotage3d/UrhoSSAO | a9ec4bd2dfe24b73d0e13a3a609a3feabbab070b | 66cd902dc96b41c10afd5b00e9e8c238d74978f5 | refs/heads/master | 2021-01-10T21:20:31.364517 | 2015-01-03T13:02:21 | 2015-01-03T13:02:21 | 28,743,920 | 13 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 7,644 | h | //
// Copyright (c) 2008-2014 the Urho3D project.
//
// 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, mod... | [
"sabotage3d@gmail.com"
] | sabotage3d@gmail.com |
9d40f5fec97fa61271abac741a07df0282bd4c5b | 8607bda716336606ea63a0d7f68ea114b9dc4ae2 | /project1/sectE/unused/RIS_model.h | 3360c1fb715f47423aa6f0469f2c7cdfb1e2d814 | [
"BSD-3-Clause"
] | permissive | wood-b/CompBook | 6a7c7f606c0a1b89a69f2ffa8974e6a262b00da3 | 5a0d5764d1d9ed97b54b7ce91048471b70dadb7d | refs/heads/master | 2021-01-17T12:10:58.853498 | 2016-06-03T21:22:20 | 2016-06-03T21:22:20 | 38,138,422 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 549 | h | #ifndef RIS_MODEL_H
#define RIS_MODEL_H
#include <vector>
#include "matrix.h"
class RIS_params {
private:
matrix m_statWt;
//U is stat weight matrix
matrix m_eigenvec;
//A is eigenvector matrix
double m_eigenval;
//lamda is the largest eigenvalue
public:
... | [
"b.wood@berkeley.edu"
] | b.wood@berkeley.edu |
00b7884bca0eac926de97bc2ac5c026bdee59119 | 4e5603d18ddb236ea2b7cb7bf55b1020bb20c9c2 | /vijos/p1549.cpp | ddf566df7c6d58b4dd56dc2647f8131bb6348a77 | [
"Unlicense"
] | permissive | huanghongxun/ACM | 0c6526ea8e4aeab44d906444cada2870e4dfb137 | b7595bbe6c0d82ceb271e81fca3e787dc4060a55 | refs/heads/master | 2021-01-20T05:41:23.163401 | 2017-12-14T07:50:59 | 2017-12-14T07:50:59 | 101,464,800 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 571 | cpp | #include <iostream>
#include <cstring>
#define N 100005
using namespace std;
typedef long long ll;
ll a[N];
ll cnt[2*N];
ll n, k, i, ki, sum, ans;
int main() {
memset(cnt, 0, sizeof(cnt));
cin>>n>>k;
for(i = 0; i < n; i++) {
cin>>a[i];
if(a[i] > k) a[i] = 1;
else if(a[i] == k) { a[i] = 0; ki = i; }
else a[... | [
"huanghongxun2008@126.com"
] | huanghongxun2008@126.com |
6ed2c424cfc6178e2835bcc4412dd6ac48595b5e | 4cb0e906aefbfcbf7ab492551f90cae089fcdac5 | /Assignment 2/deleteMiddle.cpp | cb553e1e7189eaa1ee9dd2fe95f75bd6ca87e3af | [] | no_license | bhumesh1505/IOOM | a021af284ebd78a8e6cb50d400c35b4b9211a4d3 | 01dc10857ea7410c6ab6bbad0ca0d0726c96f6b8 | refs/heads/master | 2020-03-29T19:42:08.895324 | 2018-11-17T06:32:14 | 2018-11-17T06:32:14 | 150,276,719 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 785 | cpp | #include "item.h"
#include "Stack.h"
void Stack::deleteMiddle()
{
try
{
if(!isEmpty())
{
Stack temp(MAX_SIZE);
item x;
int siz = Size / 2;
for(int i = 0 ; i < siz ; i++)
{
x = pop();
temp.push( x.getId()... | [
"bhumesh1505@gmail.com"
] | bhumesh1505@gmail.com |
42ddaa16d0039bb086a622c60d4c0194be68820c | c8958958e5802f3e04ce88bd4064eacb98ce2f97 | /图像渲染.cpp | d58225dfed6559616382cef3f559368fd19564c9 | [] | no_license | Kiids/OJ_Practice | 08e5ea99066421bfaf5b71e59eea24e282e39a24 | e7d36ddb1664635d27db3c37bec952970b77dcb0 | refs/heads/master | 2023-09-01T11:38:28.834187 | 2023-06-30T17:12:18 | 2023-06-30T17:12:18 | 217,068,695 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,903 | cpp | /*
有一幅以二维整数数组表示的图画,每一个整数表示该图画的像素值大小,数值在 0 到 65535 之间。
给你一个坐标 (sr, sc) 表示图像渲染开始的像素值(行 ,列)和一个新的颜色值 newColor,让你重新上色这幅图像。
为了完成上色工作,从初始坐标开始,记录初始坐标的上下左右四个方向上像素值与初始坐标相同的相连像素点,接着再记录这四个方向上符合条件的像素点与他们对应四个方向上像素值与初始坐标相同的相连像素点,……,重复该过程。将所有有记录的像素点的颜色值改为新的颜色值。
最后返回经过上色渲染后的图像。
示例 1:
输入:
image = [[1,1,1],[1,1,0],[1,0,1]]
sr = 1, sc = ... | [
"1980774293@qq.com"
] | 1980774293@qq.com |
e88cd7ba1e58d352671df76c981e28ee5ba175c3 | ea90486b2c0174818e02ef7ba17e2c67c2eaaa00 | /motion/controllers/sweetie_bot_controller_cartesian/src/cartesian_trajectory_cache.hpp | 58863e66aecaa6dab57f4f4e8a36145b4db331d5 | [] | no_license | sweetie-bot-project/sweetie_bot_rt_control | f760df3e991c10cbeacb7f656e8825cf381a6fcc | ee523681773327ab7b1328e646779e828473e919 | refs/heads/master | 2021-06-14T19:48:26.210352 | 2020-01-04T16:47:09 | 2020-01-04T16:47:09 | 190,021,034 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 5,158 | hpp | #ifndef JOINT_TRAJECTORY_CACHE_HPP
#define JOINT_TRAJECTORY_CACHE_HPP
#include <sensor_msgs/typekit/JointState.h>
#include <sweetie_bot_kinematics_msgs/typekit/SupportState.h>
#include <sweetie_bot_kinematics_msgs/typekit/RigidBodyState.h>
#include <sweetie_bot_control_msgs/typekit/FollowStepSequenceAction.h>
names... | [
"goncharovoi@yandex.ru"
] | goncharovoi@yandex.ru |
c6b39db6d88e75a558aa9c0a2be56f9d4df2d5fa | 303c22dd001c3634bd2c80fe22b5468b82ae641f | /data_structures/graph/grid/bfs.cpp | e8878d27d2a9960cb10de4bfd9749293bf57b8d2 | [] | no_license | VaibhavSaraf/Algorithms | 8551b35f1fe7c0af1a67df43e532b6f481f5a2d7 | 72acf2e84267d4e6696e955bf0527e37a0063619 | refs/heads/master | 2023-06-05T23:09:41.735584 | 2021-07-05T08:21:27 | 2021-07-05T08:21:27 | 261,447,982 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,313 | cpp | #include <bits/stdc++.h>
using namespace std;
#define OJ \
freopen("input.txt", "r", stdin); \
freopen("output.txt", "w", stdout);
bool visited[1001][1001];
int dist[1001][1001];
int n, m;
bool isValid(int x, int y)
{
if (x < 1 || x > n || y < 1 || y > m)
return false;
... | [
"vaibhavgsaraf@gmail.com"
] | vaibhavgsaraf@gmail.com |
214e312b5fddc0c09482b257691853d363234c29 | 7d92c91d6ceae5e55d897f34f84a31b08b5d288c | /abc/117/A.cpp | 90dc1e440fb91696994f398d36c92b0b16a626a2 | [] | no_license | umaumax/atcoder | 68cd9f5dc10bf54a2b670522e5327051e8148043 | bf506ef04ad0592108ce231c379221c529ba88cc | refs/heads/master | 2020-05-03T04:46:03.061324 | 2019-04-15T14:07:21 | 2019-04-15T14:07:21 | 178,431,089 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 317 | cpp | #include <algorithm>
#include <cmath>
#include <functional>
#include <iomanip>
#include <iostream>
#include <map>
#include <set>
#include <string>
#include <unordered_map>
#include <vector>
int main(int argc, char* argv[]) {
int T, X;
std::cin >> T >> X;
std::cout << (double)T / X << std::endl;
return 0;
}
| [
"umauma7083@gmail.com"
] | umauma7083@gmail.com |
3d838de244e82d2997322c6c0385eee018c1ce17 | 997b0ac548c08f8ea3c57be423c946f946ecff40 | /Nutcracker/src/Nutcracker/Renderer/Texture.h | a5d701fdc76301793d8a43db40cde7ca1ffb13fc | [
"Apache-2.0"
] | permissive | DevShag/Nutcracker | 883e4158bcba847c8ef88f486e127d92dd1825ee | a5d90233b4b308db58872288a7d1637bf22e3050 | refs/heads/main | 2023-07-15T05:48:37.533974 | 2021-08-23T06:40:50 | 2021-08-23T06:40:50 | 318,091,266 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 520 | h | #pragma once
#include <string>
#include "Nutcracker/Core/Core.h"
namespace Nutcracker {
class Texture {
public:
virtual ~Texture() = default;
virtual uint32_t GetWidth() const = 0;
virtual uint32_t GetHeight() const = 0;
virtual void SetData(void* data, uint32_t size) = 0;
virtual void Bind(uint32_t ... | [
"alishaguftadev@gmail.com"
] | alishaguftadev@gmail.com |
83ad6f621a61beb8e8688cb56b81f4496caccb47 | 488effd96f778ac24ec956a611b41282cfb6672d | /install/include/hpp/constraints/hybrid-solver.hh | 18a6bd0056e344f6210de61aed2db6628cffa754 | [] | no_license | 0000duck/hpp_source_code | c9f92ad813df2ae7d6ebfcd6331c2128b2b73d16 | e155580ba6a0dcfa0d552bd998fc4b7df97bfb3f | refs/heads/master | 2022-02-24T09:09:22.725116 | 2019-09-03T07:48:42 | 2019-09-03T07:48:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,083 | hh | // Copyright (c) 2017, Joseph Mirabel
// Authors: Joseph Mirabel (joseph.mirabel@laas.fr)
//
// This file is part of hpp-constraints.
// hpp-constraints 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,... | [
"352376886@qq.com"
] | 352376886@qq.com |
33cba41ce619abf4736995d078113bd309c63920 | 7a78522a78f7082f9517e0aa6af75db3f9de2357 | /Engine/source/EtPipeline/Assets/EditableAudioAsset.h | 8469ebc3c01cfb9d65c6d52b59e2a51563bfb811 | [
"MIT"
] | permissive | avpdiver/ETEngine | 86a511d5d1ca8f03d47579d0ce0b367180e9b55e | 8a51e77a59cdeef216d4b6c41e4b882677db9596 | refs/heads/master | 2023-03-21T21:57:22.190835 | 2022-07-14T01:09:49 | 2022-07-14T01:09:49 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 526 | h | #pragma once
#include <EtFramework/Audio/AudioData.h>
#include <EtPipeline/Content/EditorAsset.h>
namespace et {
namespace pl {
//---------------------------------
// EditableAudioAsset
//
class EditableAudioAsset final : public EditorAsset<fw::AudioData>
{
DECLARE_FORCED_LINKING()
RTTR_ENABLE(EditorAsset<fw::A... | [
"illeahtion@gmail.com"
] | illeahtion@gmail.com |
62ea6ffdcf5728ac378b46f6dfb84cac43ebf77b | e18c44e6c2d33e4ed02fc12f17b4e6305bca6a28 | /Source/LD37/LooseWeapon.cpp | 25b200057b36c653cf0f9dda35f5b659449fa6ea | [] | no_license | Quadtree/LD37 | dbc68c74a090b35528180b6198d3758a25334322 | 4c43b3ebe1af0db64ac3469f9c89c6b1664300f3 | refs/heads/master | 2021-04-30T16:00:02.979074 | 2016-12-12T06:28:10 | 2016-12-12T06:28:10 | 76,097,648 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,868 | cpp | // Fill out your copyright notice in the Description page of Project Settings.
#include "LD37.h"
#include "LD37Character.h"
#include "LooseWeapon.h"
// Sets default values
ALooseWeapon::ALooseWeapon()
{
// Set this actor to call Tick() every frame. You can turn this off to improve performance if you don... | [
"quadtree@gmail.com"
] | quadtree@gmail.com |
da1ecd209804e24782dd737c679f4adfc8f4f979 | 7d3ab1dd6e193bfba3eb23ac26159b7b1d5a95b8 | /sources/srm_c_cpp_sdk_4.1/src/include/Planetodetic.h | 81115aa272d25891c71712038544c1ed43f784d2 | [
"LicenseRef-scancode-warranty-disclaimer"
] | no_license | Geo4Win/sedris | 2aef810d56aff38bbd68835bc13e16b6392ed909 | f35768630212b22a5c2912fe2beb640c0511faa7 | refs/heads/master | 2021-07-07T10:40:40.583077 | 2017-10-03T19:14:13 | 2017-10-03T19:14:13 | 105,591,021 | 6 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,305 | h | /** @file Planetodetic.h
@author David Shen
@brief Planetodetic SRF.
*/
// SRM SDK Release 4.1.4 - July 1, 2011
// - SRM spec. 4.1
/*
* NOTICE
*
* This software is provided openly and freely for use in representing and
* interchanging environmental data & databases.
*
... | [
"sysbender@gmail.com"
] | sysbender@gmail.com |
a74605e6cb5132d3d5a09516616aafbc45402db4 | dfe1f796a54143e5eb8661f3328ad29dbfa072d6 | /psx/_dump_/23/_dump_c_src_/diabpsx/source/lighting.cpp | 394f829720bb799182612df5d02a2e3cc7728022 | [
"Unlicense"
] | permissive | diasurgical/scalpel | 0f73ad9be0750ce08eb747edc27aeff7931800cd | 8c631dff3236a70e6952b1f564d0dca8d2f4730f | refs/heads/master | 2021-06-10T18:07:03.533074 | 2020-04-16T04:08:35 | 2020-04-16T04:08:35 | 138,939,330 | 15 | 7 | Unlicense | 2019-08-27T08:45:36 | 2018-06-27T22:30:04 | C | UTF-8 | C++ | false | false | 5,311 | cpp | // C:\diabpsx\SOURCE\LIGHTING.CPP
#include "types.h"
// address: 0x800453FC
// line start: 319
// line end: 334
int veclen2__Fii(int ix, int iy) {
// register: 4
register int t;
}
// address: 0x80045464
// line start: 380
// line end: 399
void set_light_bands__Fv() {
// register: 2
register int v;
// regis... | [
"rnd0x00@gmail.com"
] | rnd0x00@gmail.com |
453a0286d1a608e138d38a42dc63156c739687b4 | fd8bfa1ddc32ad1ee24b2f9ecc7ec860f5690443 | /Bcore/src/main/jni/Hook/UnixFileSystemHook.cpp | e7d70da1610c449be5468034107dc51c19f0001c | [
"Apache-2.0"
] | permissive | YunShiTiger/BlackDex | 247ee95c33426ab0b0270dadd674b83b0f19e18d | 095ad946e253b4fbdd182483d80cf594a796fbb8 | refs/heads/main | 2023-05-14T12:33:05.019390 | 2021-06-05T18:41:32 | 2021-06-05T18:41:32 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,263 | cpp | //
// Created by Milk on 4/9/21.
//
#include <IO.h>
#include "UnixFileSystemHook.h"
#import "JniHook/JniHook.h"
#include "BaseHook.h"
/*
* Class: java_io_UnixFileSystem
* Method: canonicalize0
* Signature: (Ljava/lang/String;)Ljava/lang/String;
*/
HOOK_JNI(jstring, canonicalize0, JNIEnv *env, jobject obj, ... | [
"1871357815@qq.com"
] | 1871357815@qq.com |
daaffa4eb12a15fdf84694bea161200b160c6965 | 05e7a96c4390e9cc51c22ecc25229836a0f2c960 | /graphicsview-1/main.cpp | e912f67abd8b0c882e5b53fa6be2384fbe2fff17 | [] | no_license | chgans/leda-playground | cafe51fc9bb3f0e6652e63c57ef2e11736b994e5 | 61c1bde60b527978330e3855f7647245e729a603 | refs/heads/master | 2020-12-24T15:49:50.339734 | 2016-03-09T04:50:13 | 2016-03-09T04:50:13 | 30,560,286 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,233 | cpp | #include "mainwindow.h"
#include "mainview.h"
#include "scene.h"
#include <QApplication>
#include <QDebug>
#include <QGraphicsScene>
#include <QGraphicsRectItem>
#include <QGraphicsPolygonItem>
#include <QGraphicsSimpleTextItem>
#include <QGraphicsItemGroup>
#include <QFile>
#include <QJsonDocument>
#include <QJson... | [
"chgans@gna.org"
] | chgans@gna.org |
ec1d202fe3bd9ece445a473a12725f2c0cc58838 | cd70f8f1349310bfea59967d46373fac2ba4a65b | /course 1/Programming/semestr 1/lab2/8_bez_samoperetiniv/8.cpp | ee06ecaaa4747f6605cef353d2fe4b82699f8e79 | [] | no_license | SymphonyOfTranquility/Univ | 0a0ad37d4ff4b2d42c3ff6eb9785964f232f8ad7 | c1f9d7f7537547ca8f96fc422adee6b7bc9cacc8 | refs/heads/master | 2023-02-06T18:12:26.556651 | 2020-12-29T20:12:58 | 2020-12-29T20:12:58 | 325,336,012 | 0 | 0 | null | null | null | null | WINDOWS-1251 | C++ | false | false | 2,215 | cpp | #include <iostream>
#include <vector>
#include <cmath>
using namespace std;
struct pt{
double x,y;
};
double formula(pt a, pt b, pt p)
{
return (p.x - a.x)*(b.y - a.y) - (p.y - a.y)*(b.x - a.x);
}
bool proverka(vector<pt> m, long i, long n)
{
double a = formula(m[i], m[(i-2+n)%n], m[(... | [
"mysechko01@gmail.com"
] | mysechko01@gmail.com |
58a3fe98e0500b1ddb038817e11df6f8b02f09f4 | 9eac48c3beb78b984c918d86ae72954a73253e0c | /ROHIT KUMAR SINGH (Hacktober Contribution)/HackerRank/Counting_Sort_1.cpp | 5f677990ff37340cc3c1ddcaf7608dfcf89e452f | [
"MIT"
] | permissive | herambchaudhari4121/Hacktoberfest-KIIT-2021 | 2986f8c82bd795c606a880b0f68f17c68816b11f | dd62a26c519abb786c7116c8ad6bf891451246e8 | refs/heads/master | 2023-08-19T19:16:34.123637 | 2021-10-31T05:46:00 | 2021-10-31T05:46:00 | 423,064,440 | 0 | 0 | MIT | 2021-10-31T05:49:11 | 2021-10-31T05:46:20 | null | UTF-8 | C++ | false | false | 684 | cpp | #include<bits/stdc++.h>
using namespace std;
vector<int> countingSort(vector<int> arr) {
map<int,int> mp;
int no = *max_element(arr.begin(),arr.end());
vector<int> result;
for(int &it:arr)
{
mp[it]++;
}
for(int i=0; i<no+1; i++)
{
if(mp[i]==0)
{
... | [
"noreply@github.com"
] | herambchaudhari4121.noreply@github.com |
0926be3c2d29a23c40f2149860a378d68d5d76a2 | 5fc03cffb8e7c0d83ec0feab7be675dc530b3396 | /src/engine/physics/particle_generator.h | 546b11322d9f21a97edab3ec1fd267f4fdf808f6 | [] | no_license | simplejeff/liquidSim | 205f6fdce4db280dbe7dd0bbb7673efca7690828 | c0468d54374667b3b8e0733693d86e4246a28db6 | refs/heads/master | 2020-03-10T03:24:25.757580 | 2018-04-27T13:31:07 | 2018-04-27T13:31:07 | 129,163,891 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 257 | h | #ifndef PARTICLE_GENERATOR_H
#define PARTICLE_GENERATOR_H
#include <Eigen/Dense>
using namespace Eigen;
void InitRandom();
float Random();
VectorXf GenParticleInCube(size_t,float);
VectorXf GenRandomVelocities(size_t);
#endif // PARTICLE_GENERATOR_H
| [
"jeffrey_hao@brown.edu"
] | jeffrey_hao@brown.edu |
236741d68b3ba05de79b872aaecda117efa339cb | 37cca16f12e7b1d4d01d6f234da6d568c318abee | /src/rice/pastry/socket/nat/connectivityverifiier/ConnectivityVerifierImpl_findExternalNodesHelper_3_receiveResult_3_1.hpp | c54da7f810897c6ed9fbe0155645beec41c6778f | [] | no_license | subhash1-0/thirstyCrow | e48155ce68fc886f2ee8e7802567c1149bc54206 | 78b7e4e3d2b9a9530ad7d66b44eacfe73ceea582 | refs/heads/master | 2016-09-06T21:25:54.075724 | 2015-09-21T17:21:15 | 2015-09-21T17:21:15 | 42,881,521 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,412 | hpp | // Generated from /pastry-2.1/src/rice/pastry/socket/nat/connectivityverifiier/ConnectivityVerifierImpl.java
#pragma once
#include <java/util/fwd-pastry-2.1.hpp>
#include <rice/fwd-pastry-2.1.hpp>
#include <rice/pastry/socket/nat/connectivityverifiier/fwd-pastry-2.1.hpp>
#include <java/lang/Object.hpp>
#include <java... | [
"sgurjar@adobe.com"
] | sgurjar@adobe.com |
098607574dba40af93cac4f5e38cffd90c00d1f7 | d8f854a479641a793b775fa6b573543e32694a37 | /src/sender.hpp | 79b57cc6ab393e9946d493063362e6cc7dd27b63 | [] | no_license | dudelka/file_streamer | e8d3def168160d2ca05e863cff449a39f767bde5 | f2813fd960b700036208504ca209b71cc4f6aa0a | refs/heads/main | 2023-08-01T00:34:49.133633 | 2021-09-12T18:19:17 | 2021-09-12T18:19:17 | 395,458,547 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,022 | hpp | #pragma once
#include "socket.hpp"
#include "packet.hpp"
#include <string>
#ifdef CLIENT_MODE
#include "utils.hpp"
#include <cstdint>
#include <atomic>
#include <queue>
#include <list>
class Sender : public Multithreaded {
public:
Sender(const std::string& send_address, uint32_t resend_timeout);
void Conn... | [
"nbazargarmaev@gmail.com"
] | nbazargarmaev@gmail.com |
dc2ee6da048b725083e1de425dcda1c33b830294 | 9b26f861f7ceb50c55b93ff115dbdabf3fe77b52 | /PB14210043/hw2.cpp | 1a64306ad45b3bc2a68aa85f47fae49fef245eba | [] | no_license | dyh127/homework2 | 3840f2271533908b82dce86a5c33e9c032cc6cc4 | 5bb51d7d4b6bcf1b1a92a2af09ceaf7970e25ea0 | refs/heads/master | 2021-07-12T00:00:37.257474 | 2017-10-16T03:39:35 | 2017-10-16T03:39:35 | 106,658,948 | 0 | 0 | null | 2017-10-12T07:22:32 | 2017-10-12T07:22:32 | null | UTF-8 | C++ | false | false | 18,712 | cpp | #define _CRT_NONSTDC_NO_WARNINGS
#define PI 3.1415926f
#include "opencv.hpp"
#include "math.h"
#include <cv.h>
#include <iostream>
using namespace cv;
using namespace std;
#define IN
#define OUT
#define MY_OK 1
#define MY_FAIL -1
// the threshold of converting gradient map into a binary map;
#define g2b_threshold 2... | [
"noreply@github.com"
] | dyh127.noreply@github.com |
599c82acea40477281e2a0e2e79cb2e2e65d1c9e | eead3440d191939b0288b33599a1a9bdb72e4280 | /Arrays & Strings/spiral_anti.cpp | 161b419e1046022a912f7b20c79ed48bcf2f66a5 | [] | no_license | Akp6528/DS-Algo | f1cd1d2624be6747e237055e8c1bced7ca499e00 | 63e38c9263e46332f62011ce053555fc9cdf7021 | refs/heads/main | 2023-04-18T12:08:09.078473 | 2021-05-04T08:28:04 | 2021-05-04T08:28:04 | 300,832,214 | 1 | 1 | null | 2020-10-14T13:24:57 | 2020-10-03T08:23:58 | C++ | UTF-8 | C++ | false | false | 939 | cpp | #include<iostream>
using namespace std;
void spiral(int a[][100], int m, int n) {
int startRow = 0;
int startCol = 0;
int endRow = m-1;
int endCol = n-1;
while(startRow <= endRow and startCol <= endCol){
// 1
for(int i=startRow; i<=endRow; i++)
cout<<a[i][startCol]<<", ";... | [
"pandeyashwani999@gmail.com"
] | pandeyashwani999@gmail.com |
92f8b43d068c2e82a3228cdccdb6a114df9b7212 | ee22fa7476a52f3fe2f9bc88d6c8f43f614cdba6 | /Codeforces/D2-256A.cpp | a640fad785667bb2bf692f9c83e95e850a733b4f | [] | no_license | Sillyplus/Solution | 704bff07a29709f64e3e1634946618170d426b72 | 48dcaa075852f8cda1db22ec1733600edea59422 | refs/heads/master | 2020-12-17T04:53:07.089633 | 2016-07-02T10:01:28 | 2016-07-02T10:01:28 | 21,733,756 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 511 | cpp | #include <iostream>
#include <cstdio>
#include <cstring>
#include <cmath>
using namespace std;
const int MN = 10010;
int a1, a2, a3;
int b1, b2, b3;
int n, a, b, ans;
int main() {
cin >> a1 >> a2 >> a3;
cin >> b1 >> b2 >> b3;
cin >> n;
a = a1 + a2 + a3;
b = b1 + b2 + b3;
ans = 0;
ans = ... | [
"oi_boy@sina.cn"
] | oi_boy@sina.cn |
2456f9c26d8c92f9cbdb4fc19f2abbdfdec5250d | 5470644b5f0834b9646649da365c96101a2f9b2a | /Sources/Elastos/Frameworks/Droid/Base/Core/inc/text/method/DigitsKeyListener.h | 792dd387ebee09cbe44de8e8a1cc67d50537801e | [] | no_license | dothithuy/ElastosRDK5_0 | 42372da3c749170581b5ee9b3884f4a27ae81608 | 2cf231e9f09f8b3b8bcacb11080b4a87d047833f | refs/heads/master | 2021-05-13T15:02:22.363934 | 2015-05-25T01:54:38 | 2015-05-25T01:54:38 | 116,755,452 | 1 | 0 | null | 2018-01-09T02:33:06 | 2018-01-09T02:33:06 | null | UTF-8 | C++ | false | false | 2,485 | h | #ifndef __DigitsKeyListener_H__
#define __DigitsKeyListener_H__
#include "text/method/NumberKeyListener.h"
namespace Elastos {
namespace Droid {
namespace Text {
namespace Method {
extern "C" const InterfaceID EIID_DigitsKeyListener;
/**
* For digits-only text entry
* <p></p>
* As for all implementations of {@lin... | [
"chen.yunzhi@kortide.com"
] | chen.yunzhi@kortide.com |
3996cb3362930a148e14eb83392721e72822f187 | eb2402919a6cd96eef93473c14cb946b2eaa5f7a | /source/d3d9/d3d9_runtime.cpp | 466132ad29e0cfe00b7b8dd4aa1d31a2399d1b89 | [
"BSD-3-Clause"
] | permissive | acourreges/reshade | f860f92b3432afd52557421afff9ea67115482ea | f2560b05b9cac0ea355fd63451f594d7e424fb11 | refs/heads/master | 2020-03-17T09:23:02.832200 | 2018-05-14T17:38:15 | 2018-05-14T17:38:15 | 133,472,624 | 18 | 4 | null | 2018-05-15T06:56:10 | 2018-05-15T06:56:10 | null | UTF-8 | C++ | false | false | 28,196 | cpp | /**
* Copyright (C) 2014 Patrick Mours. All rights reserved.
* License: https://github.com/crosire/reshade#license
*/
#include "log.hpp"
#include "d3d9_runtime.hpp"
#include "d3d9_effect_compiler.hpp"
#include "effect_lexer.hpp"
#include "input.hpp"
#include <imgui.h>
#include <algorithm>
const auto D3DFMT_INTZ = ... | [
"crosiredev@gmail.com"
] | crosiredev@gmail.com |
23a1f70bb567882962fcd8275c76416fb371ac5e | 8d1ff170385e7b556ac7b8fdf67a00701a6b8a73 | /latentred/firmware/UART.h | 47ead4013f5381d48fd3c551b1cb21b1fce44ee6 | [
"BSD-3-Clause"
] | permissive | azonenberg/latentpacket | 92db28e3e61ff6e94cdbc90bdb58a87b55f484d2 | 9de75f116f3d6734547fea574ad9deece2825625 | refs/heads/master | 2023-08-17T03:33:40.458469 | 2023-08-14T08:06:28 | 2023-08-14T08:06:28 | 129,678,427 | 25 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 4,116 | h | /***********************************************************************************************************************
* *
* LATENTPACKET v0.1 ... | [
"azonenberg@drawersteak.com"
] | azonenberg@drawersteak.com |
f8626aa4ca99069d35abb224ea6c70549d4c9004 | 551bf7d1180a6d54449eb7f60c5120d7bd8a953d | /include/rpoly/rpoly_ak1.hpp | 3e218b1f1f90789773153cf744eb160b6ed4a1e9 | [] | no_license | swgmone/trajectory_server | 76d40212c8f70ab6141e918888f7e770f44ffc09 | e2dea16266cea8b7b7f4b35af5dccb14f80129aa | refs/heads/main | 2023-09-01T10:24:17.174801 | 2021-10-12T08:58:20 | 2021-10-12T08:58:20 | 406,545,939 | 7 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 587 | hpp | /* Polynomial Handler */
/* Author: Lorenzo Gentilini */
/* E-Mail: lorenzo.gentilini6@unibo.it */
/* Date: August 2020 */
/* File: rpoly_ak1.hpp */
#ifndef _RPOLY_H
#define _RPOLY_H
#include <Eigen/Eigen>
#include <i... | [
"lorenzo.gentilini6@unibo.it"
] | lorenzo.gentilini6@unibo.it |
0553178a51410ac56d2588fecaaabe1cbb1817d8 | c76796ac315152b9c701c120be2562bded1ac584 | /ObjectInserter.h | 35ed93878a5d44ea61575a6e60c59bd9cb5fff93 | [] | no_license | shocklateboy92/conemaker2 | 6983ea8f5410ffb791422eaf6e177c0615e139cc | 0e5ddda7d8b154bae8313f6f4898e3fed7ea2400 | refs/heads/master | 2016-09-15T22:24:49.176141 | 2014-05-13T23:41:49 | 2014-05-13T23:41:49 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 513 | h | #ifndef CONEMAKER_OBJECTINSERTER_H
#define CONEMAKER_OBJECTINSERTER_H
#include "Tool.h"
#include <Ogre.h>
namespace ConeMaker {
class ObjectInserter : public Tool
{
public:
ObjectInserter(Ogre::SceneNode *cursor);
// MouseListener interface
public:
virtual bool mouseReleased(const OIS::MouseEvent &arg, ... | [
"kde@lasath.org"
] | kde@lasath.org |
f90a5fb6203ff252c3aa3371018b448b9b15fedf | be0204c1b95839adee1ad204be022be38e32e2d6 | /BOJ/1003.cpp | 5d7c948297e279a1d5391ac594f7a700c9942836 | [] | no_license | tlsdorye/Problem-Solving | 507bc8d3cf1865c10067ef2e8eb7cb2ee42e16dd | 5c112d2238bfb1fc092612a76f10c7785ba86c78 | refs/heads/master | 2021-06-12T19:19:19.337092 | 2021-04-23T06:39:43 | 2021-04-23T06:39:43 | 179,432,390 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 409 | cpp | #include <iostream>
using namespace std;
int fibo[41][2];
void makeFibo() {
fibo[0][0] = 1;
fibo[0][1] = 0;
fibo[1][0] = 0;
fibo[1][1] = 1;
for (int i = 2; i <= 40; i++) {
fibo[i][0] = fibo[i - 1][1];
fibo[i][1] = fibo[i - 1][0] + fibo[i - 1][1];
}
}
int main() {
makeFibo();
int n;
cin >> n;
while (n-... | [
"tlsdorye@gmail.com"
] | tlsdorye@gmail.com |
e1a4b0203c949dcfe478c1b29e0c3ae4779792f3 | cfdab33825bb160dea64f0aab79b7206bf82e6d7 | /10828/10828.cc | 0955cac890a3052709ddc19e1858b118c29f557a | [] | no_license | wjdwithyou/BOJ | 299e0efaf3e5173addc55709fed5c19a458a0900 | a8ab50a14f2059905be4093b1f889c02f568126c | refs/heads/master | 2021-01-11T20:18:13.462615 | 2018-01-24T14:28:25 | 2018-01-24T14:28:25 | 81,535,224 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 734 | cc | #include <iostream>
int stack[10000];
int main() {
char buf[16];
int n, num;
int stack_idx = 0;
scanf("%d", &n);
for (int i = 0; i < n; ++i) {
scanf("%s", buf);
switch (buf[0]) {
case 'p':
if (buf[1] == 'u') {
scanf("%d", &num);
stack[stack_idx++] = num;
}
else {
if (stack_idx == 0)... | [
"administrator@mail.tastewiki.xyz"
] | administrator@mail.tastewiki.xyz |
07d6728a9182ed1a39c77d9ce33b8be446490452 | 0e6c9a7187fd0d3ff3e6419c3041fa04e50e192e | /deimos/llvm/c/bitwriter.d | 727e33e80e07db370d2dc0339f2d260b48cfccd6 | [] | no_license | jkm/deimos-llvm | 45511e009a6982493bda7d2f8567d545a3299a0b | 25b58cec1c5a053e44a7ad8e1167d1515032ae2f | refs/heads/master | 2020-06-08T14:17:30.833067 | 2014-02-15T21:33:48 | 2014-02-15T21:33:48 | 5,119,416 | 1 | 1 | null | 2017-02-18T19:40:25 | 2012-07-20T05:16:18 | D | UTF-8 | C++ | false | false | 2,145 | d | /*===-- llvm-c/BitWriter.h - BitWriter Library C Interface ------*- C++ -*-===*\
|* *|
|* The LLVM Compiler Infrastructure *|
|* ... | [
"jkm@gluey.org"
] | jkm@gluey.org |
0e67e467f3c4fb6aabeeb1789b6b3fe9d0bc726e | e09a7d5e9c8a2a2a2dc7b6d972d6d62e7db284e3 | /Dynamic Programming/number_of_balanced_binary_tree.cpp | b7f833d551e5b917984a45db2b527bc35feef425 | [] | no_license | yuktajuneja/Data-Structure-Coding-ninjas | 5254ef0e2d4d1bc02c22c1aebe746bcbe6eba2e6 | 200891531364aca9b4baa650a035d4db7a415600 | refs/heads/main | 2023-08-16T10:39:47.996011 | 2021-09-28T08:22:14 | 2021-09-28T08:22:14 | 405,596,181 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,199 | cpp | /*
Given an integer h, find the possible number of balanced binary trees of height h. You just need to return the count of possible binary trees which are balanced.
This number can be huge, so return output modulus 10^9 + 7.
*/
#include<iostream>
using namespace std;
#include<cmath>
int count_of_bt1(int n){
if(n<=1... | [
"yukta.juneja1582@gmail.com"
] | yukta.juneja1582@gmail.com |
690384a8dc25e76b0c4115a91527ec013668a1c0 | 69bdd4914ac1a014a089325d468bf0c0ab2fd458 | /PHONELST.cpp | f5e5c9974f00eff2c3d939cd2754b4999814b14c | [] | no_license | ab1hi2shek/SPOJ-Solutions | f0185f8758fca2e4daa633e66739a17fc68d8f9d | d80da26241f19bf75f77c369d520b19e2520cd91 | refs/heads/master | 2021-07-04T01:37:56.219641 | 2017-09-26T17:23:50 | 2017-09-26T17:23:50 | 103,300,870 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,374 | cpp | #include <bits/stdc++.h>
using namespace std;
//data types
#define ll long long int
//stl
typedef vector<ll> vi;
typedef vector<vi> vvi;
typedef pair<ll,ll> pii;
typedef map<ll,ll> mpll;
//loops
#define loop(i,a,b) for(ll i=a;i<=b;i++)
#define loopr(i,a,b) for(ll i=a;i>=b;i--)
#define SIZE 10
st... | [
"ab1hi2shek@DESKTOP-FC3M4GT.localdomain"
] | ab1hi2shek@DESKTOP-FC3M4GT.localdomain |
03fc0ef2fa87babe7dd145f194bf2877f802bb23 | f426375bc339ae8f5c6244dc47bd453c6dce1371 | /Classes/HelloWorldScene.h | 77807375ec36b3988f3f8fb1ddc9445432c54c2c | [] | no_license | TunerRed/HeroRun | dc21caea374d1acff6131095ccdd4766806962a2 | c3a3ac3b8fe7b98c596a9a040887403323767dbe | refs/heads/master | 2020-03-25T13:51:22.138757 | 2018-09-17T04:08:06 | 2018-09-17T04:08:06 | 143,846,317 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 310 | h | #ifndef __HELLOWORLD_SCENE_H__
#define __HELLOWORLD_SCENE_H__
#include "cocos2d.h"
USING_NS_CC;
class HelloWorld : public cocos2d::Layer
{
public:
ActionInterval *action[5];
static cocos2d::Scene* createScene();
virtual bool init();
CREATE_FUNC(HelloWorld);
};
#endif // __HELLOWORLD_SCENE_H__
| [
"12877111966@qq.com"
] | 12877111966@qq.com |
a5bc5ae5202a6e8f63dd3cef85326031d7752a5c | f163486ed0a7e38c15c51e5d55dbf1443a7e637c | /HomeAlertTest/HomeAlertTest.ino | cae0fdf6b3748b4ec5b4465d05b456b20d2a2fc5 | [] | no_license | khawajamechatronics/Arduino | 31c58145cd0632664026030160a45d6f64c34dad | 721855f0d1f965399a6200e7018d195ae7902c58 | refs/heads/master | 2020-03-18T18:35:42.125924 | 2017-02-08T14:40:59 | 2017-02-08T14:40:59 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 20,710 | ino | #include <ESP8266WiFi.h>
#include <WiFiClient.h>
#include <ESP8266WebServer.h>
#include <DNSServer.h>
#include <TimeLib.h>
#include <Timezone.h>
#include "ModuleSettings.h"
#include "ESP8266WebServerEx.h"
#include "SendEmailSms.h"
#include "NTPClient.h"
#include "TimeSettings.h"
#include "SerialDebug.h"
#include "Gener... | [
"binhpham1909@gmail.com"
] | binhpham1909@gmail.com |
c583c58cd155c70d0f13223d477c5ad24f44e2ae | 47de9c88b957dc66c46769f40103d5147b00b7c9 | /codeforces/609/C.cpp | 835488ef50d68d9863bd9709a67dfb32c6b45bd7 | [] | no_license | autul2017831021/Codeforces_Atcoder_Solved_Problems | 1027a606b3cb5be80e57fcfbcfa0327ebd47bd95 | b95e432718c9393f8a781fa56c2ed65f082274f5 | refs/heads/master | 2023-07-02T02:23:58.307782 | 2021-03-01T13:00:00 | 2021-07-31T15:40:28 | 329,067,317 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 827 | cpp | using namespace std;
#include<bits/stdc++.h>
typedef long long int ll;
typedef double dl;
#define pb push_back
#define bg begin()
#define en end()
#define rbg rbegin()
#define ren rend()
#define sz size()
#define r0 return 0
#define F first
#define S second
#define inf 9999999999
#define its (*it).S
#define itf (*it).F... | [
"alexiautul@gmail.com"
] | alexiautul@gmail.com |
7f19c5914a7d362a0588c417b5cd049da28d79ee | 793f4aa2dbc58397d29eb14cd8f521cdcfd4dab8 | /opencv_read_display_image/src/main.cpp | 653d917b74e7c394d26401fb52d800bc62ff6cbf | [] | no_license | TEJASWI-TEJASWI/UpliftProject-AppDevelopment | b1c298ac467c7eade9e71756604bd8d1260d2f83 | f9fa4d1a049e3ec877440136c9272692d5cded96 | refs/heads/master | 2022-10-22T09:09:25.391775 | 2020-06-15T13:51:17 | 2020-06-15T13:51:17 | 273,899,731 | 2 | 0 | null | 2020-06-21T12:28:20 | 2020-06-21T12:28:19 | null | UTF-8 | C++ | false | false | 987 | cpp | /*
* File: main.cpp
* Last Modified: February 19, 2000
* Topic: Writing Make Files
* ----------------------------------------------------------------
*/
#include <opencv2/core/core.hpp>
#include <opencv2/highgui/highgui.hpp>
#include <iostream>
using namespace cv;
using namespace std;
int main(... | [
"noreply@github.com"
] | TEJASWI-TEJASWI.noreply@github.com |
0c53c175bd922525d6a151a3c88982e4d8e01332 | cfd33821398cede8c2aadd847d59b89d72d7e0a6 | /msnp24/src/msn.cpp | e4252711ccfdaf41ab8dd97ffa7792ebe636647c | [] | no_license | miranda-ng/deprecated | 1c922e502d7ec35371a454131b9e5fa019e241fd | 137526f743d2e8237845b7faea992989a7e8fbd7 | refs/heads/master | 2023-01-28T20:57:12.499530 | 2023-01-13T23:32:54 | 2023-01-13T23:32:54 | 71,989,840 | 3 | 3 | null | 2017-08-22T18:52:34 | 2016-10-26T09:53:01 | C++ | UTF-8 | C++ | false | false | 4,275 | cpp | /*
Plugin of Miranda IM for communicating with users of the MSN Messenger protocol.
Copyright (c) 2012-2014 Miranda NG Team
Copyright (c) 2006-2012 Boris Krasnovskiy.
Copyright (c) 2003-2005 George Hazan.
Copyright (c) 2002-2003 Richard Hughes (original version).
This program is free software; you can redistribute it... | [
"watcherhd@gmail.com"
] | watcherhd@gmail.com |
d9c68afd6c6836c865f5b05206068ee5daf0bd89 | 51635684d03e47ebad12b8872ff469b83f36aa52 | /external/gcc-12.1.0/libstdc++-v3/testsuite/experimental/filesystem/path/compare/strings.cc | 19d22664226152615e03b366d224653b4c18c68c | [
"Zlib",
"LicenseRef-scancode-public-domain",
"LGPL-2.1-only",
"GPL-3.0-only",
"GCC-exception-3.1",
"GPL-2.0-only",
"LGPL-3.0-only",
"LGPL-2.0-or-later"
] | permissive | zhmu/ananas | 8fb48ddfe3582f85ff39184fc7a3c58725fe731a | 30850c1639f03bccbfb2f2b03361792cc8fae52e | refs/heads/master | 2022-06-25T10:44:46.256604 | 2022-06-12T17:04:40 | 2022-06-12T17:04:40 | 30,108,381 | 59 | 8 | Zlib | 2021-09-26T17:30:30 | 2015-01-31T09:44:33 | C | UTF-8 | C++ | false | false | 1,414 | cc | // { dg-options "-DUSE_FILESYSTEM_TS -lstdc++fs" }
// { dg-do run { target c++11 } }
// { dg-require-filesystem-ts "" }
// Copyright (C) 2014-2022 Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the
// ... | [
"rink@rink.nu"
] | rink@rink.nu |
1d1ebd38358b891198e20b3e68f562603c5c7539 | 0466f22155da48d446f27a7de2c3023c85284f14 | /src/hdchain.h | fc72c5e98531703bca139f99b365d57cfa447760 | [
"MIT"
] | permissive | jesusleon1995/dashdiff | fe660564ccf31a32cfd2851abb527a1fb7eb314f | 83347b555ab7f6212bc40bb47f9afee7823be090 | refs/heads/master | 2020-03-21T16:58:34.574472 | 2018-06-27T00:45:18 | 2018-06-27T00:45:18 | 138,805,516 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,467 | h | // Copyright (c) 2014-2017 The Dashdiff Core developers
// Distributed under the MIT software license, see the accompanying
#ifndef DASH_HDCHAIN_H
#define DASH_HDCHAIN_H
#include "key.h"
#include "sync.h"
/* hd account data model */
class CHDAccount
{
public:
uint32_t nExternalChainCounter;
uint32_t nInternal... | [
"jjuansan9@alumnes.ub.edu"
] | jjuansan9@alumnes.ub.edu |
c080bfc93864a58c321390627a1c6a9ef9b94a6f | b33a9177edaaf6bf185ef20bf87d36eada719d4f | /qttools/src/designer/src/components/formeditor/formwindow.h | 802b27f707a671c8a0c75e20556ed2ba641ed215 | [
"Qt-LGPL-exception-1.1",
"LGPL-2.1-only",
"LGPL-2.0-or-later",
"LGPL-3.0-only",
"GPL-3.0-only",
"LGPL-2.1-or-later",
"GPL-1.0-or-later",
"LicenseRef-scancode-unknown-license-reference",
"GPL-2.0-only",
"GFDL-1.3-only",
"LicenseRef-scancode-digia-qt-preview",
"LicenseRef-scancode-warranty-discl... | permissive | wgnet/wds_qt | ab8c093b8c6eead9adf4057d843e00f04915d987 | 8db722fd367d2d0744decf99ac7bafaba8b8a3d3 | refs/heads/master | 2021-04-02T11:07:10.181067 | 2020-06-02T10:29:03 | 2020-06-02T10:34:19 | 248,267,925 | 1 | 0 | Apache-2.0 | 2020-04-30T12:16:53 | 2020-03-18T15:20:38 | null | UTF-8 | C++ | false | false | 12,172 | h | /****************************************************************************
**
** Copyright (C) 2015 The Qt Company Ltd.
** Contact: http://www.qt.io/licensing/
**
** This file is part of the Qt Designer of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL21$
** Commercial License Usage
** Licensees holding valid commerci... | [
"p_pavlov@wargaming.net"
] | p_pavlov@wargaming.net |
15cbaf7134a07afc078d2cde5c2920895e6b9f10 | 7274d5a3f1c78c2412205db504119487522e3dda | /CocoaEngine/include/cocoa/renderer/CameraStruct.h | aae127b84759d27a7342be9c6574bd53cca17e74 | [
"MIT"
] | permissive | ambrosiogabe/Cocoa | a7101ce7de24b5e0ac50239200bd60304ed834cd | c66539149c9963e354daba9dfd4ec444ca135b48 | refs/heads/master | 2023-09-04T06:50:56.325751 | 2023-08-19T21:09:44 | 2023-08-19T21:09:44 | 268,167,311 | 50 | 8 | MIT | 2023-08-19T21:09:45 | 2020-05-30T22:06:33 | C++ | UTF-8 | C++ | false | false | 573 | h | #ifndef COCOA_ENGINE_CAMERA_STRUCT_H
#define COCOA_ENGINE_CAMERA_STRUCT_H
#include "externalLibs.h"
#include "cocoa/renderer/Framebuffer.h"
namespace Cocoa
{
struct Camera
{
// Projection/View matrices for ortho and perspective
glm::mat4 viewMatrix;
glm::mat4 inverseView;
glm::mat4 projectionMatrix;
glm::m... | [
"ambrosiogabe@gmail.com"
] | ambrosiogabe@gmail.com |
43121abe4cc63532158f72d199d613cdaa271d06 | a1eab6f939f8e1622cf2d6a5bc344762a660a3cf | /algorithm/code/minimal_number.cpp | 9028f9dc13373213b3e7ba722a0fdfc335b8305d | [] | no_license | T-tssxuan/data_structure_algorithm | 02b21f20adae864ac55857d58c68d6fb806719a4 | 3a19ac19bd4b56c6971b95fa1adb9d7c857f94fe | refs/heads/master | 2021-01-12T16:26:14.980768 | 2017-08-16T14:06:43 | 2017-08-16T14:06:43 | 69,272,305 | 4 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,764 | cpp | #include <string>
#include <iostream>
#include <vector>
#include <queue>
using namespace std;
/**
* Describe: Give a series of number, find the minimal number they can find.
*/
// The order decide compare
bool compare(const string &str1, const string &str2){
size_t idx1 = 0;
size_t idx2 = 0;
while (idx1... | [
"2270360114@qq.com"
] | 2270360114@qq.com |
4cf65fe9b3e6a052d442b84a81f8d9247b52083c | db2b7b36ae7eced337d50d31d3917900c4578e59 | /ProjectBarnabus/src/GameEngine/Transform.cpp | 28781b3717a77e0532cf93069e76a2fc8ca05dae | [] | no_license | conzo096/ProjectBarnabus | 6b355efbef61d10599947fc10ff3649513cb6a78 | 3cf276fd667cba4b429202d7faebb2062da1f601 | refs/heads/master | 2021-08-03T00:09:05.154905 | 2020-12-27T17:44:45 | 2020-12-27T17:44:45 | 188,912,820 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,918 | cpp | #include "Transform.h"
#include <glm/gtc/quaternion.hpp>
#include <glm/gtx/euler_angles.hpp>
#include <glm/gtx/transform.hpp>
Transform::Transform() : scale(glm::vec3(1.0)), rotation(glm::quat()), position(glm::vec3(0)), previousPosition(glm::vec3(0)), transform(glm::mat4(1)), changed(true)
{
}
Transform::Transform(g... | [
"connerweatherston@hotmail.co.uk"
] | connerweatherston@hotmail.co.uk |
9f25ab7aab811e48b4f23afcde2854306404691b | 50f8c138da0165fa140c3241291aa2b0a8a14f99 | /sequence with digits.cpp | 72ec3f360dcda2a3a95adc149073d422a2424842 | [] | no_license | Priybhanu99/My-Codes | c5da0821348939d75498e2751bc6c63d5e572294 | 4dc2e93fb941c4166b3b687a76358a1f309cc976 | refs/heads/master | 2021-05-19T12:22:09.830851 | 2021-01-17T15:22:23 | 2021-01-17T15:22:23 | 251,694,773 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 735 | cpp | #include <bits/stdc++.h>
using namespace std;
#define int long long int
int32_t main(){
ios_base::sync_with_stdio(false);
cin.tie(NULL);cout.tie(NULL);
#ifndef ONLINE_JUDGE
freopen("input.txt","r",stdin);
freopen("output.txt","w",stdout);
#endif
int t;
cin>>t; while(t--){
int n,k;
cin>>n>>k;
int... | [
"bhanuyadav1999.by@gmail.com"
] | bhanuyadav1999.by@gmail.com |
236ffad97c075df64f0db31f90cedd6a397268d8 | 2252d70a654948b5aadb06a1158d97e646b8097f | /Competitive Programming/Codeforces/edu87(2)/4.cpp | 4da97da8438191d55f9278ecfd2423feb51def0a | [] | no_license | spashal/Competitive-Programming | 1b02aea6496f82920924b714eb857189c1542d63 | f68e7bdf05dad9eab41bee0c2d9558f92068c244 | refs/heads/master | 2023-07-26T16:26:36.633063 | 2021-09-09T04:15:21 | 2021-09-09T04:15:21 | 267,501,288 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,056 | cpp | #include <bits/stdc++.h>
using namespace std;
typedef long double ll;
ll mpi = 3.14159265;
ll t;
int n;
int main(){
ios_base::sync_with_stdio(false);
cin.tie(NULL);
cin >> t;
while( t-- > 0 ){
cin >> n;
if( n == 2 )
cout << "1.0000000" << endl;
else{
ll ans = 0;
if( (n-1)%2... | [
"palash.sharma@students.iiit.ac.in"
] | palash.sharma@students.iiit.ac.in |
3f61433dd1f3eac10d91e1e2b8afb324d5684fe2 | 0ecf2d067e8fe6cdec12b79bfd68fe79ec222ffd | /ash/app_launch_unittest.cc | 88deea07253f42a9ae7497d445e8e14a2ab67260 | [
"BSD-3-Clause"
] | permissive | yachtcaptain23/browser-android-tabs | e5144cee9141890590d6d6faeb1bdc5d58a6cbf1 | a016aade8f8333c822d00d62738a922671a52b85 | refs/heads/master | 2021-04-28T17:07:06.955483 | 2018-09-26T06:22:11 | 2018-09-26T06:22:11 | 122,005,560 | 0 | 0 | NOASSERTION | 2019-05-17T19:37:59 | 2018-02-19T01:00:10 | null | UTF-8 | C++ | false | false | 1,781 | cc | // 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.
#include "ash/components/quick_launch/public/mojom/constants.mojom.h"
#include "ash/public/interfaces/constants.mojom.h"
#include "base/bind.h"
#include "... | [
"artem@brave.com"
] | artem@brave.com |
f1d159ad1b4676abeaaa9377d3e32ba7f3f0e890 | 6f6f5f3e2ca4f87415ce308edaa8374833f1f148 | /app/src/main/cpp/game_client.cpp | 1e7d88bef9ab14e85079dd4e8617964acc6a7f5a | [] | no_license | iplaycloud/xctx_project_p51_ModeSwitch | 1fe8462a42c09a3c179ef274d7282300a6ed9e0d | 8e5ef09176c12517a6709db59825a40c28a5f924 | refs/heads/master | 2020-06-18T23:40:26.205667 | 2016-12-05T02:51:07 | 2016-12-05T02:51:07 | 74,934,614 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,464 | cpp |
#include <fcntl.h>
#include <sys/prctl.h>
#include <sys/wait.h>
#include <binder/IPCThreadState.h>
#include <binder/ProcessState.h>
#include <binder/IServiceManager.h>
#include <cutils/properties.h>
#include <utils/Log.h>
#include "IGameEventService.h"
using namespace android;
/* ./test_client <startService|stopSer... | [
"iplaycloud@gmail.com"
] | iplaycloud@gmail.com |
25549284cebfa914dc4dd0204d8e719d9356ebfd | f90b03c3cb72d6d066e984e8a91004cd9565e2c6 | /Arduino/libraries/IRremote/irRecv.cpp | 937372297ce843704a44b52990ff708d8c12fcd3 | [] | no_license | acid8x/RCRACING | 3af6612e2e00bc404e37127a0851de65d8a16bd9 | 0dbd9e6c4d7944d6c91c2828ff4f6a56508cd0c6 | refs/heads/master | 2021-01-11T20:26:30.027382 | 2018-04-24T04:46:09 | 2018-04-24T04:46:09 | 79,114,838 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,788 | cpp | #include "IRremote.h"
#include "IRremoteInt.h"
//+=============================================================================
// Decodes the received IR message
// Returns 0 if no data ready, 1 if data ready.
// Results of decoding are stored in results
//
int IRrecv::decode (decode_results *results)
{
results->ra... | [
"acid8x@gmail.com"
] | acid8x@gmail.com |
288901475252d80a65f8fab91d3a2961ca72d925 | a1b93fd969fa04db05f01a3783f7e9ff77c0c9df | /Random/random.hh | 5755cd869ae5d6d4304bf84a5296cf791555e7e1 | [] | no_license | mvdsanden/mvds | a31176d423203abf4e5b16a5effdebd7e2c054d8 | c95c1b4706dc718cb7dcee6dee01c922691d7968 | refs/heads/master | 2021-01-19T14:04:54.389200 | 2009-10-27T20:14:14 | 2009-10-27T20:14:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,796 | hh | #ifndef __INC_MVDS_RANDOM_HH__
#define __INC_MVDS_RANDOM_HH__
#include <algorithm>
#include <gsl/gsl_rng.h>
#include <cmath>
namespace mvds {
class Random {
static Random *s_instance;
Random();
public:
~Random();
static void initialize();
static void finish();
static Random &instan... | [
"mart.vd.sanden@gmail.com"
] | mart.vd.sanden@gmail.com |
ac36cdc32d03e8e2cb0828aa040afa92fec280c5 | 92adab7f98dc2e694739558e925dc4a408aa7da8 | /cpp/CSC2104/labtest5/binary_search_tree.cpp | fbf5ea308559eb4f4bdc8af6a3571bc6a9ebaff2 | [] | no_license | wzulfikar/lab | a5c29d54baa111526032741a7850ebf9457148a3 | 2ef21c16150a88a15bfb7bf4ef0014fbee262ed3 | refs/heads/master | 2023-07-23T21:37:46.047237 | 2022-10-14T20:31:15 | 2022-10-14T20:31:15 | 83,702,755 | 3 | 2 | null | 2023-07-12T00:14:00 | 2017-03-02T16:56:58 | Jupyter Notebook | UTF-8 | C++ | false | false | 2,421 | cpp | #include <iostream>
#include <list>
using namespace std;
// template
template<class T>
class Node {
public:
T value;
Node<T>* left;
Node<T>* right;
Node(T value) {
this->value = value;
this->left = NULL;
this->right = NULL;
}
};
template<class F>
class BST {
private:
Node<F> *root;
void prefix (Node<F... | [
"me@wzulfikar.com"
] | me@wzulfikar.com |
8ea6b9ebedb383a93a4f77342f6d13eaabeab8d4 | 33a5e1bf4e09b84c2d895cd739ed732066d0486a | /hlesgx_test/App/App.cpp | 59e3ab70bdc51f3827d4f360e3dfb49dfaa1e0d9 | [] | no_license | StanPlatinum/tsx-in-sgx | d3bcde61bb881e16fff74c7809c4496bea4fef1f | 285e6b0b9d8c1a52faea8f19f80e5f4ccc1a4e66 | refs/heads/master | 2020-05-24T13:33:03.364075 | 2020-03-22T19:25:21 | 2020-03-22T19:25:21 | 187,291,426 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,435 | cpp | /*
* Copyright (C) 2011-2017 Intel Corporation. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* * Redistributions of source code must retain the above copyright
* notice, this li... | [
"weijliu@bio-sgx.soic.indiana.edu"
] | weijliu@bio-sgx.soic.indiana.edu |
827314b59cde13e29647b53545413e0146d1a823 | 9547c22035266bf5fb414090bbe0e5bfb454cdbb | /src/main.cpp | 409f309dfb303483f984e917c1e3dd26d5dffb1f | [] | no_license | haohaoh4/my-compiler | 42f9c4e310fce7d82a0fc1b74709e152800f5489 | 67605df8dd2889716b96fb44663b88d3ac197e94 | refs/heads/master | 2020-12-03T00:17:49.567470 | 2017-07-02T09:32:02 | 2017-07-02T09:32:02 | 96,010,765 | 0 | 0 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 2,316 | cpp | #include <iostream>
#include <string>
#include <fstream>
#include <vector>
using namespace std;
enum
{
EOS, //end of setence
TYPE,
EXP, //±í´ïʽ
NAME,
OP,
ERR
};
string types[]=
{
"int",
"char"
};
bool is_a_var(string);
int get();
void pass();
bool com_exp();
int point=0;
string source;
int get()
{
char ... | [
"handahao@163.com"
] | handahao@163.com |
769a329727ea67d9f9889d5d6be46c569c92580d | a453f5e6a44bf39e52335b2f4b4e7aae3baad8ff | /THREAD_STORE.cpp | 2510e48450c385671ab79889b0476b55711b69e5 | [
"MIT"
] | permissive | iliya-dehsarvi/Advanced-CPP | b594b41c2c67d7880cc6387dc46745c0d052c4fe | 36d26fd147ccf29f8f8a19b3f524cff672f40ad7 | refs/heads/main | 2023-06-25T05:17:20.233448 | 2021-07-26T18:06:25 | 2021-07-26T18:06:25 | 389,724,987 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,008 | cpp | #include <iostream>
#include <vector>
#include <string>
#include <exception>
#include <fstream>
#include <regex>
#include <bitset>
#include <math.h>
#include <map>
#include <sstream>
#include <algorithm>
#include <queue>
#include <thread>
#include <mutex>
std::mutex GLOBAL_MUTEX;
/* ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~... | [
"noreply@github.com"
] | iliya-dehsarvi.noreply@github.com |
2b1da003432d6141acd8b867ca04e2709974f15d | eb20d54d53268637fd3ec43575f30a06f0f02f79 | /antigos/1856.cpp | 3ab2176bc45180d1ec56d2b8fd3c7e6c631659a2 | [] | no_license | biessek/maratona | f934033d8d85eef35fd9e1b19107d850caa25191 | b4b7dcc49ed221203df24c1934ef09b26671c837 | refs/heads/master | 2021-07-04T22:50:22.870648 | 2017-09-28T03:14:29 | 2017-09-28T03:14:29 | 105,094,465 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,930 | cpp | #include<cstdio>
#include<cmath>
#include<algorithm>
#include<map>
#include<vector>
#include<list>
using namespace std;
typedef pair<int, list<int>::iterator> tupla;
const int MAXTAM = 318;
int N, Q;
map<int, tupla > P;
struct setor {
int q;
list<int>::iterator l,r;
setor() {
... | [
"root@DESKTOP-V5LA2IB.localdomain"
] | root@DESKTOP-V5LA2IB.localdomain |
a3e1325f206592e6fdd3f04b15c9c85940370042 | fb7efe44f4d9f30d623f880d0eb620f3a81f0fbd | /net/proxy/proxy_config.cc | 87e17d8eb487d39f66c2c51a8dd1588bc493114c | [
"BSD-3-Clause"
] | permissive | wzyy2/chromium-browser | 2644b0daf58f8b3caee8a6c09a2b448b2dfe059c | eb905f00a0f7e141e8d6c89be8fb26192a88c4b7 | refs/heads/master | 2022-11-23T20:25:08.120045 | 2018-01-16T06:41:26 | 2018-01-16T06:41:26 | 117,618,467 | 3 | 2 | BSD-3-Clause | 2022-11-20T22:03:57 | 2018-01-16T02:09:10 | null | UTF-8 | C++ | false | false | 9,150 | cc | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "net/proxy/proxy_config.h"
#include <memory>
#include <utility>
#include "base/logging.h"
#include "base/strings/string_tokenizer.h"
#inclu... | [
"jacob-chen@iotwrt.com"
] | jacob-chen@iotwrt.com |
31f23e1166d0dee42f32ad83d4107e2b362cdfca | 260e5dec446d12a7dd3f32e331c1fde8157e5cea | /Indi/SDK/Indi_Food_Rizzo_KnockYouOutBar_functions.cpp | eb07ee8753f1aeb92b104eabcf410c76e6c342a4 | [] | no_license | jfmherokiller/TheOuterWorldsSdkDump | 6e140fde4fcd1cade94ce0d7ea69f8a3f769e1c0 | 18a8c6b1f5d87bb1ad4334be4a9f22c52897f640 | refs/heads/main | 2023-08-30T09:27:17.723265 | 2021-09-17T00:24:52 | 2021-09-17T00:24:52 | 407,437,218 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 360 | cpp | // TheOuterWorlds SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "Indi_Food_Rizzo_KnockYouOutBar_parameters.hpp"
namespace SDK
{
//---------------------------------------------------------------------------
//Functions
//---------------------------------------------------------------------------
}
#i... | [
"peterpan0413@live.com"
] | peterpan0413@live.com |
64a7d1305dacf856ca1d874e0c957779688299be | 3b6ee14ff27aa37882cee98f16de21daf60f48aa | /DesignWorldApp/MainFrm.h | 4f5390341dfeb93c67d1d165d18066d3208cf88f | [] | no_license | seenunit/DesignWorld | 410aa01c274d9eac04b6ef52222d0273420f960b | 40d311b2ddf4dcc5c555689b3b4bf4a0c97f2c39 | refs/heads/client | 2021-01-18T21:21:03.688005 | 2017-07-01T07:57:19 | 2017-07-01T07:57:19 | 34,983,157 | 3 | 1 | null | 2016-04-04T12:35:26 | 2015-05-03T11:09:04 | C++ | UTF-8 | C++ | false | false | 1,537 | h |
// MainFrm.h : interface of the CMainFrame class
//
#pragma once
#include "FileView.h"
#include "ClassView.h"
#include "OutputWnd.h"
#include "PropertiesWnd.h"
class CMainFrame : public CMDIFrameWndEx
{
DECLARE_DYNAMIC(CMainFrame)
public:
CMainFrame();
// Attributes
public:
// Operations
public:
// Overrides
pu... | [
"seenunit@gmail.com"
] | seenunit@gmail.com |
b11716018f39a8f16761d6e1785d3c6d73b11e40 | b5a9d42f7ea5e26cd82b3be2b26c324d5da79ba1 | /tensorflow/compiler/xla/service/hlo_instruction.cc | afe4680ed9ade4dcfb190ed3f05a41c0058992f2 | [
"Apache-2.0"
] | permissive | uve/tensorflow | e48cb29f39ed24ee27e81afd1687960682e1fbef | e08079463bf43e5963acc41da1f57e95603f8080 | refs/heads/master | 2020-11-29T11:30:40.391232 | 2020-01-11T13:43:10 | 2020-01-11T13:43:10 | 230,088,347 | 0 | 0 | Apache-2.0 | 2019-12-25T10:49:15 | 2019-12-25T10:49:14 | null | UTF-8 | C++ | false | false | 144,979 | cc | /* Copyright 2017 The TensorFlow Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable ... | [
"v-grniki@microsoft.com"
] | v-grniki@microsoft.com |
c0815807a8e63c60bf6d54da7a462ba7c892dff6 | fb7efe44f4d9f30d623f880d0eb620f3a81f0fbd | /net/http/http_proxy_client_socket_wrapper.h | 3d0c27f741f6ee1a92a12708414c79eefa9e30c2 | [
"BSD-3-Clause"
] | permissive | wzyy2/chromium-browser | 2644b0daf58f8b3caee8a6c09a2b448b2dfe059c | eb905f00a0f7e141e8d6c89be8fb26192a88c4b7 | refs/heads/master | 2022-11-23T20:25:08.120045 | 2018-01-16T06:41:26 | 2018-01-16T06:41:26 | 117,618,467 | 3 | 2 | BSD-3-Clause | 2022-11-20T22:03:57 | 2018-01-16T02:09:10 | null | UTF-8 | C++ | false | false | 7,281 | h | // 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.
#ifndef NET_HTTP_HTTP_PROXY_CLIENT_SOCKET_WRAPPER_H_
#define NET_HTTP_HTTP_PROXY_CLIENT_SOCKET_WRAPPER_H_
#include <stdint.h>
#include <memory>
#include... | [
"jacob-chen@iotwrt.com"
] | jacob-chen@iotwrt.com |
69e6b5607df8ab04cb5284e04d098cdb4a7bc1d5 | 96ab18b237681c5c01bf3d0fce187740e5038bb8 | / asdk/Source2/ATPManager/include/AlgoEngine/AbstractAlgo.h | 8a68a7580ed0028b5c604cf2bee797f9a45c30b8 | [] | no_license | radtek/asdk | 43fd7bfeb31028ef6392be4117e5de4c908af8e5 | 4f9a3bd80f6cc58db02a4ed0f67bc5ee03cedb01 | refs/heads/master | 2020-06-09T04:28:16.485493 | 2012-05-10T10:30:00 | 2012-05-10T10:30:00 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 3,070 | h | /**
* @copyright 深圳市创真科技有限公司
* @system 宏汇算法交易平台(ATP)
* @brief 算法执行类
* @author 李伟
* @histroy
-------------------------------------------------------------
日期 作者 修改说明
2010-6-2 李伟 创建
-------------------------------------------------------------
*/
#pragma once
#ifndef __ABSTRACTALGO_H_
#de... | [
"He.Reyter@gmail.com@195b811d-50ba-3ccd-8b31-a51a91d0a79c"
] | He.Reyter@gmail.com@195b811d-50ba-3ccd-8b31-a51a91d0a79c |
c3c44080ecac01ae1a6931b50bff95dc281bd140 | 3762eafb1544217ca71081ec7215d71d6e1cc9e2 | /Dynamic Programming/Dynamic Programming/1937.cpp | 9acd9d11b71a0f923092d0b3060fbfa983073e01 | [] | no_license | challenger71498/Algorithm | 710f4a75d5adadb6bd555ae02c0c7974c3e77a77 | 09db61e56f7e657210dde91061ea218d4d09e41f | refs/heads/master | 2020-12-20T02:43:33.965776 | 2020-02-03T17:03:09 | 2020-02-03T17:03:09 | 235,936,579 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,187 | cpp | #include <iostream>
#include <deque>
#include <algorithm>
#include <climits>
using namespace std;
typedef pair<int, int> ii;
int arr[502][502];
deque<ii> st;
int len[502][502];
int n;
void chk(int x, int y) {
int v = arr[x][y];
int* l = &len[x][y];
if (v != arr[x + 1][y]) {
*l = max(*l, len[x + 1][y]);
}
if... | [
"challenger71498@gmail.com"
] | challenger71498@gmail.com |
60cffa182c05651c2455580d86d29d7afa6aaad6 | f851cf2ca7644d8ad1c6690e167124c17d087f5e | /Personagem.cpp | ef9d6546c9902376b14663d14ead68822f8bd6df | [] | no_license | MateusMat/Elemantal_VS_Mal | a077de4aca8dc69ba966a5d1d74bb6d889bf85ac | 0d161e8170b98550f1f3218fb561c6d3be1968de | refs/heads/master | 2020-06-12T16:27:17.018211 | 2019-06-29T03:20:07 | 2019-06-29T03:20:07 | 194,358,782 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,531 | cpp | #include "Personagem.h"
using namespace Personagens;
Personagem::Personagem()
{
velocidadeX = 0.0;
velocidadeY = 0.0;
aceleracaoX = 0.0;
aceleracaoY = 0.0;
velMax = 0.0;
inercia = 0.0;
forcaPulo = 0.0;
gravidade = 0.0;
maxPulo = 0;
contPulo = 0;
contAnimacao... | [
"noreply@github.com"
] | MateusMat.noreply@github.com |
ab109e9dfe68883c5f8f7c36015e65a79171791d | 7b6f2cf2b00f21e148662a2d7e2992aaad570bc6 | /Planets.cpp | fbc224653ce52770d7062fd04bfc511202cb7325 | [] | no_license | ScarGarak/cg15 | 794bd92c980c0e7f13897dff8b2ca100259e979a | d57abf67e6fcc29238d5e07053d14c34f9a85154 | refs/heads/master | 2020-04-06T04:48:10.104975 | 2015-07-16T19:53:56 | 2015-07-16T19:55:23 | 37,919,371 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,370 | cpp | /*
* Planets.cpp
*
* Created on: 29.06.2015
* Author: Oliver Thummerer
*/
#include "Planets.hpp"
#include <GLFW/glfw3.h>
#include <stdlib.h>
#include <stdio.h>
#include <math.h>
// constructor
Planet::Planet() {
}
// deconstructor
Planet::~Planet() {
}
// getter
float Planet... | [
"othummerer@gmx.de"
] | othummerer@gmx.de |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.