blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 4 201 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 7 100 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 260
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 11.4k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 17
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 80
values | src_encoding stringclasses 28
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 8 9.86M | extension stringclasses 52
values | content stringlengths 8 9.86M | authors listlengths 1 1 | author stringlengths 0 119 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
d1bb4dad9a4dd3b812fa7281f7dc23830e482549 | 1ebf35c11327a04449090a5c4dadd5e8d216dbee | /laplace smoothing/main.cpp | 8600ae3c394940cf37f09e4ae82761162bf43eda | [] | no_license | RichardSabrsula/MachineLearning | 36a5aeaf6428047b8b1ce610ac3c7ac402e608f5 | 47ed154b2764efd3148a34c2bc8b8cdf55ddd063 | refs/heads/master | 2016-09-06T15:45:25.084607 | 2015-06-01T09:17:56 | 2015-06-01T09:17:56 | 36,649,870 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,008 | cpp | /* Made by Richard Sabrsula
* A quick program made to find the probability found by the Naive Bayes with
* Laplace Smoothing algorithm. Be sure to change the number k (number of total
* Y's you're finding the probability for, ie number of Y=1 or number of Y=0)
* and m (total possible results for Y, usually 2). Fo... | [
"Richard@Sabrsula.com"
] | Richard@Sabrsula.com |
0caf1a87bf1763ef3553a691756ff26c6d3862e5 | 434d7b0124943d3b1e641ab538266e40ae55e735 | /src/ByteReaderWithPositionDriver.h | 04459217dae1b7ce4d2da84ae08c22c717c1c9fa | [
"Apache-2.0"
] | permissive | galkahana/HummusJS | 8d2759484d7a4da8706a9af073177064284e8545 | e8b897b13482b56779096e113fab6c9cc8ebfa5d | refs/heads/master | 2023-08-22T04:04:24.120412 | 2023-07-22T10:12:31 | 2023-07-22T10:12:31 | 8,962,136 | 1,121 | 223 | NOASSERTION | 2023-07-22T10:10:50 | 2013-03-22T22:23:36 | C | UTF-8 | C++ | false | false | 1,520 | h | /*
Source File : ByteReaderWithPositionDriver.h
Copyright 2013 Gal Kahana HummusJS
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 r... | [
"gal.kahana@hotmail.com"
] | gal.kahana@hotmail.com |
942da596701f584a91429fbfb773e6f0372ab24e | 701f37df2e7446a0c3c196662f35f07220cf0977 | /spoj/nsteps.cpp | b4080f36fee88d6f31bf64efd9ae6a899a54b404 | [] | no_license | raghavnauhria/Competitive-Programming | 21e1f233f524b27fae7c0b9aae44dac65f74cd97 | 711b189d0d577af0e6e51bbb2a40dc07d7bd0b62 | refs/heads/master | 2023-04-11T10:56:09.991040 | 2021-04-25T09:12:55 | 2021-04-25T09:12:55 | 283,384,867 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,625 | cpp | #include <bits/stdc++.h>
using namespace std;
typedef long long int ll;
typedef long double ld;
typedef pair<int, int> pii;
typedef pair<ll, ll> pll;
typedef pair<ld, ld> pdd;
typedef pair<string, int> psi;
typedef pair<string, ll> psl;
typedef pair<pii, int> tri;
typedef vector<int> vi;
typedef vector<ll> vl;
typed... | [
"raghavnauhria@Raghavs-MacBook-Pro.local"
] | raghavnauhria@Raghavs-MacBook-Pro.local |
b702de3f41d6d1894422702016ff3225f1f7edd7 | e8b7b99ccbb1b9cc71b827657850b689c62c32a1 | /contests/codeforces/554C.cpp | 5be8db38a5ad9dda2c335af5e0e79a6bb6a1a995 | [] | no_license | thisisronak/Algorithms | 4d0df5734da5e306237db26e28be80d847a65f0c | d699747c6cae1f9d02843ffad499de9a1d4e3c1f | refs/heads/master | 2021-01-10T02:33:35.280670 | 2016-03-04T18:42:54 | 2016-03-04T18:42:54 | 35,963,270 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 677 | cpp | #include <bits/stdc++.h>
using namespace std;
//ios::sync_with_stdio(false);cin.tie(0);
#ifdef CORLEONE
#define d(b) cerr<< #b << " " << b << endl
#else
#define d(b)
#endif
#define MOD 1000000007
using namespace std;
long long C[2222][2222],a[1111],n,sum=0,ans=1;
void pre_comp() {
C[0][0]=1;
for(int i=1;i... | [
"ronakbjain.2011@gmail.com"
] | ronakbjain.2011@gmail.com |
c6c715ad09ed7bf634bc59204379dd7cdd25a562 | decf94b8d8d609b225c9de9868854f2997ce1718 | /hls-syn/cnvW1A1-pynqZ1-Z2/sol1/syn/systemc/Matrix_Vector_Activa_1_4.cpp | eb1f2b794f0fbeb20e61ca5459a1e4fbf2c7d780 | [] | no_license | archana95in/FPGA-Project-BNN | 9dd54e2d0e83547ebcce8e87a303580b9572c578 | a007a0da089d73056cd7469d26fc7d1f7e2b7561 | refs/heads/master | 2022-12-04T07:05:40.827191 | 2020-08-27T01:31:14 | 2020-08-27T01:31:14 | 262,349,976 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 176,049 | cpp | #include "Matrix_Vector_Activa_1.h"
#include "AESL_pkg.h"
using namespace std;
namespace ap_rtl {
void Matrix_Vector_Activa_1::thread_p_Result_5_21_i_i_fu_5230_p3() {
p_Result_5_21_i_i_fu_5230_p3 = weights2_m_weights_V_5_q0.read().range(21, 21);
}
void Matrix_Vector_Activa_1::thread_p_Result_5_22_i_i_fu_5250_p3... | [
"archana95in@gmail.com"
] | archana95in@gmail.com |
55aefffea9701afa93c345471e92894bb16400d6 | 9bbd131f21175b54b105077695b102ce6e69da99 | /fullScreenQuadExample_complete/src/ofApp.h | c6f9c3dca62f50e2d7da79cd982369ea4fb32701 | [
"MIT"
] | permissive | faultyagatha/res15-opengl | afae4d1a6d75ba554503f32842abf9d4789e06c1 | 81bf4411ab190c710aaa78a7be3f1755e1f298c5 | refs/heads/master | 2020-06-02T14:45:07.978399 | 2015-04-26T00:56:51 | 2016-09-14T14:03:39 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 585 | h | #pragma once
#include "ofMain.h"
class ofApp : public ofBaseApp
{
public:
void setup();
void update();
void draw();
void keyPressed(int key);
void keyReleased(int key);
void mouseMoved(int x, int y );
void mouseDragged(int x, int y, int button);
void mousePressed(int x, int y, int but... | [
"tim@poniesandlight.co.uk"
] | tim@poniesandlight.co.uk |
5031a17fa8500a6e1d480fed8f5129730a990324 | 2b56d77925d4d5f94b565d197dcba592bf274de3 | /code/src/engine/audio_sys/audio_device/audio_data_info.h | 39b80d45f467965314c8e70dc0cc7715ec21502f | [] | no_license | waylandyutany/Alien_3.0 | aa3608d971adb766dc8979bb5bf9064aa7666078 | f55d0eb8d7a92510e041f893d93b4f8567847360 | refs/heads/master | 2020-08-08T14:53:09.458434 | 2019-10-09T07:56:37 | 2019-10-09T07:56:37 | 213,852,356 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 944 | h | #pragma once
#ifndef AE_AUDIO_SYS_AUDIO_DATA_H
#define AE_AUDIO_SYS_AUDIO_DATA_H
namespace ae { namespace audio {
enum E_AudioFormat
{
E_AF_OGG,
E_AF_FLAC,
E_AF_WAV,
E_AF_INVALID = 0xffffffff // force 4 byte enum size
};
struct S_AudioDataInfo
{
E_AudioFormat format;
size_t numChannels;
size_t n... | [
"spirith@post.sk"
] | spirith@post.sk |
179832b8c718a94e695f4a236c77452cc230824b | e82a6fb1f08de4618a12732464358a4657784621 | /data/cc_tools/sample_chunked_data.cc | 5bf0347525fbe3e783a73200917d212959af02b4 | [
"MIT"
] | permissive | leod/bobcode | 3853f8f0b37288104e73eba90932470e4ba4c3ab | cd7b242a0447696aa2a5db43d0f6f707f1e04689 | refs/heads/master | 2023-06-10T02:14:07.157850 | 2019-10-29T17:08:43 | 2020-01-05T13:47:20 | 185,045,053 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,603 | cc | // Reimplementation of `sample_chunked_data.py`, since I got OOM with large
// corpora.
#include <iostream>
#include <fstream>
#include <vector>
#include <string>
#include <sstream>
#include <optional>
#include <random>
std::string get_file_contents(const char *filename) {
std::ifstream in(filename, std::ios::in | ... | [
"subtle.frustration@proton.me"
] | subtle.frustration@proton.me |
c42d155c955fe7199517d34396783f0965abd60b | 1d7e23d3c36bb9a5a38ff693c7ccd3a25f0aabbc | /SPARKS/ROSWindowSpark/ROSGetColorDepthSpark.cpp | 6dd95f2ebba8f64bcf424bb0c9c554fa87efba1a | [
"Apache-2.0",
"BSD-3-Clause"
] | permissive | adele-robots/fiona-ros | aff0804007942ead6e34cf424f585d257e3c6894 | 1d35aa61d25a4f4ea82167a6d265f3eb84d82f4e | refs/heads/master | 2022-10-12T10:50:32.163711 | 2020-06-10T15:56:42 | 2020-06-10T15:56:42 | 253,432,599 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,079 | cpp | #include "ROSGetColorDepthSpark.h"
#ifdef _WIN32
#else
extern "C"
Component *createComponent(char *componentInstanceName, char *componentType, ComponentSystem *componentSystem)
{
if (!strcmp(componentType, "ROSGetColorDepthSpark"))
return new ROSGetColorDepthSpark(componentInstanceName,componen... | [
"raquelsc94@gmail.com"
] | raquelsc94@gmail.com |
ff590722bf2f3430114b4f2cecf928e5bff80091 | 16c25858ef1e5f29f653580d4aacda69a50c3244 | /hikr/build/Android/Preview/app/src/main/jni/Fuse.Controls.VideoImpl.Android.g.cpp | 5fb01ca8146a7bc9694d68b75dee9d5217a877b3 | [] | no_license | PoliGomes/tutorialfuse | 69c32ff34ba9236bc3e84e99e00eb116d6f16422 | 0b7fadfe857fed568a5c2899d176acf45249d2b8 | refs/heads/master | 2021-08-16T02:50:08.993542 | 2017-11-18T22:04:56 | 2017-11-18T22:04:56 | 111,242,469 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 58,533 | cpp | // This file was generated based on '(multiple files)'.
// WARNING: Changes might be lost if you edit this file directly.
#include <Android.Base.Wrappers.JWrapper.h>
#include <Android.Base.Wrappers-88f7a41f.h>
#include <Fuse.Controls.VideoIm-5927e786.h>
#include <Fuse.Controls.VideoIm-6db665eb.h>
#include <Fuse.Contro... | [
"poliana.ph@gmail.com"
] | poliana.ph@gmail.com |
299959227b2f30c97d7431f856a7f4907f120962 | 1431a993984bec20aa761eb0ee549eb8ecd723c6 | /src/modules/message_fetcher/message_fetcher.hpp | 80a3cbaa254efb6e6a1c5e305c25de4b67ac255d | [] | no_license | dos-gruut/enterprise-merger | 7397cd812aee3b12320045f815b43aa7a03e148c | 437eab28141653714705a475d7860b34ff28874f | refs/heads/master | 2020-04-11T17:16:05.900479 | 2018-12-15T05:41:05 | 2018-12-15T05:41:05 | 161,954,232 | 0 | 0 | null | 2018-12-16T00:13:16 | 2018-12-16T00:13:15 | null | UTF-8 | C++ | false | false | 381 | hpp | #ifndef GRUUT_ENTERPRISE_MERGER_MESSAGE_FETCHER_HPP
#define GRUUT_ENTERPRISE_MERGER_MESSAGE_FETCHER_HPP
#include "../module.hpp"
#include <boost/asio.hpp>
namespace gruut {
class MessageFetcher : public Module {
public:
MessageFetcher();
void start() override;
private:
void fetch();
std::unique_ptr<boost::a... | [
"park64kr63@gmail.com"
] | park64kr63@gmail.com |
5be388259b45d468d311186801f7cac36b765b5c | 48e9625fcc35e6bf790aa5d881151906280a3554 | /Sources/Elastos/LibCore/inc/elastos/core/Object.h | 5499c4d96f141c0d5aac7ab2fa3d2d06bca9b936 | [
"Apache-2.0"
] | permissive | suchto/ElastosRT | f3d7e163d61fe25517846add777690891aa5da2f | 8a542a1d70aebee3dbc31341b7e36d8526258849 | refs/heads/master | 2021-01-22T20:07:56.627811 | 2017-03-17T02:37:51 | 2017-03-17T02:37:51 | 85,281,630 | 4 | 2 | null | 2017-03-17T07:08:49 | 2017-03-17T07:08:49 | null | UTF-8 | C++ | false | false | 14,317 | h | //=========================================================================
// Copyright (C) 2012 The Elastos Open Source Project
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// ... | [
"cao.jing@kortide.com"
] | cao.jing@kortide.com |
e4f8d26bf08ca14d11b146e40f797aecc4b0c3aa | 28b5a59060b53af6c385621126d51d044c9e83c7 | /communicator/source/src/base/CAliasAddr.cpp | 62d7a6e8973ff3a9c41025071750c74828f0d758 | [
"Apache-2.0"
] | permissive | esOdysseus/common_communicator | 67f8610c88235b9c26cc31c876b41a47630f22e4 | 7f278aa0f45f35dbc7b2ae9fb6b9a35becf37850 | refs/heads/master | 2022-09-02T16:53:48.695679 | 2022-08-07T08:01:10 | 2022-08-07T08:01:10 | 225,362,004 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 7,296 | cpp | /***
* CAliasAddr.cpp
* Copyright [2019-]
* Written by EunSeok Kim <es.odysseus@gmail.com>
*
* This file is part of the Common-Communicator framework.
*/
#include <cassert>
#include <netinet/in.h>
#include <sys/un.h>
#include <memory.h>
#include <mutex>
#include <logger.h>
#include <CAliasAddr.h>
#include <CAl... | [
"es.odysseus@gmail.com"
] | es.odysseus@gmail.com |
db35f9beed644ed4b46b5503f7bb72d6ebd44616 | b40df228f3690b258d204235ac120232125491e5 | /my_tools/app/gen_extra_channels/acfa_file.h | a10ac4ef4aaad7289e471ba4c70c24c4b989832e | [] | no_license | hyb8892208/wire | 93eba5e1bc3d843353876bd73c6a0b5a0f03d2f0 | aa192daa18a2ea4ef012d850d081e2cdbdd7941f | refs/heads/master | 2022-12-15T22:45:51.206976 | 2020-09-23T09:55:12 | 2020-09-23T09:55:12 | 297,924,652 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,522 | h |
#if !defined(_ACFA_FILE_H_)
#define _ACFA_FILE_H_
#ifdef WIN32
#define HMAP std
#else
#define HMAP __gnu_cxx
#endif
#include <string>
#include <vector>
#include <map>
#ifdef WIN32
#include <hash_map>
#else
#include <ext/hash_map>
#endif
#include <deque>
#include <ostream>
#include <stdio.h>
#include <string.h>
#in... | [
"root@localhost.localdomain"
] | root@localhost.localdomain |
506f295c391dc616e934085b5580936de9ede2d4 | ac7c2e64fa66ec7aecc9cf810cb2bf013fd412c0 | /Baruch_C++/Level_4/Section_2_4/Ex_2_4_1/Line.cpp | 4c905acf51ef589948f74a1539e6c131fd195697 | [] | no_license | mistletoe999/cpp-samples | e7219fcf7dbfe5ddc81cb527f08cd9d55149774a | 7b5cb634c70d3de476c0d43e15f7a045458dc925 | refs/heads/master | 2020-12-25T15:40:30.402680 | 2015-06-23T04:32:50 | 2015-06-23T04:32:50 | 40,014,976 | 0 | 1 | null | 2015-07-31T16:43:13 | 2015-07-31T16:43:10 | C++ | UTF-8 | C++ | false | false | 1,648 | cpp | // Implements the Line class defined in Line.hpp
// EDIT: Assignment Operator defined for the Line class
#include "Line.hpp"
Line::Line() { // Default Constructor
lineStart = Point(0.0, 0.0);
lineEnd = Point(0.0, 0.0);
}
Line::Line(const Point& pS, const Point& pE) {// Constructor with start and end points... | [
"kapil12@outlook.com"
] | kapil12@outlook.com |
fb174245b18e400b3ff1945db3aae56383d5a023 | fdacb097452e2e270a587f389664985ce1effbde | /ProgrammTradeCandBandA/ProgrammTradeCandBandA/Trade.cpp | 9d474f692b82873e7ba2ab4723d5d4fd3af5bc8b | [] | no_license | SkiRka/OneProject | f86ee8b21e86e7e455dcb5bfd358a8354847986f | b714b3822c3197a0c59016dc31d3546010c4dedc | refs/heads/master | 2020-04-06T04:30:55.744006 | 2013-07-21T17:08:30 | 2013-07-21T17:08:30 | null | 0 | 0 | null | null | null | null | IBM866 | C++ | false | false | 576 | cpp | // trade.cpp -- поментяь метами содержимое
#include <iostream>
int main(){
using namespace std;
// вводим данные
cout << "Введите A and B and C: ";
int a, b, c;
cin >> a
>> b
>> c;
cout << "A = " << a << endl
<< "B = " << b << endl
<< "C = " << c << endl;
cout << endl; // разделитель
// меняем м... | [
"dima89658702496@gmail.com"
] | dima89658702496@gmail.com |
e35506ad676daf6175231a9aea5bb9ac39f7cc44 | 07c3e4c4f82056e76285c81f14ea0fbb263ed906 | /Re-Abyss/app/utils/DebugMenu/RadioButton.hpp | 01115e562168964c16b2023d025d4dc8413322ca | [] | no_license | tyanmahou/Re-Abyss | f030841ca395c6b7ca6f9debe4d0de8a8c0036b5 | bd36687ddabad0627941dbe9b299b3c715114240 | refs/heads/master | 2023-08-02T22:23:43.867123 | 2023-08-02T14:20:26 | 2023-08-02T14:20:26 | 199,132,051 | 9 | 1 | null | 2021-11-22T20:46:39 | 2019-07-27T07:28:34 | C++ | UTF-8 | C++ | false | false | 1,923 | hpp | #pragma once
#include <functional>
#include <variant>
#include <abyss/utils/DebugMenu/INode.hpp>
#include <abyss/utils/DebugMenu/IFolder.hpp>
#include <abyss/utils/DebugMenu/IValue.hpp>
#include <abyss/utils/DebugMenu/IFindable.hpp>
namespace abyss::DebugMenu
{
class RadioButton:
public INode,
public IFolder,
p... | [
"tyanmahou@gmail.com"
] | tyanmahou@gmail.com |
7ada29c77f803db5eca35b7fbecff064f246eeda | 357c68d24389b7708d0d11f920340c9b283c824e | /ida_build/bin/auz_isi/auzglobals.h | c004b7494f85269e96859c358195f8e66c684cc4 | [] | no_license | joeledwards/asl-station-processor | 80361a786ee277999b30d87ac1497c0bdc47d119 | d73f5167baf01e2d7455b180f8757b0988c78d45 | refs/heads/master | 2020-05-31T10:06:58.948122 | 2012-10-29T16:38:27 | 2012-10-29T16:38:27 | 6,052,634 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,124 | h | #pragma ident "$Id: auzglobals.h,v 1.3 2008/02/01 18:23:44 akimov Exp $"
// auzglobals.h: interface for the auzglobals class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_AUZGLOBALS_H__F6B0C4BD_D25F_4B8C_85A1_AA70DAA1C8A2__INCLUDED_)
#define AFX_AUZGLOBALS_H__F6B0C4BD_D25F... | [
"maint@SLATE1.(none)"
] | maint@SLATE1.(none) |
5e522ab1644f2630242e22c9572d4b63bf86312b | c38eba15221f3eaa435cf51329ebce7ea7a3a3d6 | /d04/ex02/ISquad.hpp | c77c5d75a916482a89910c0487f95fe630b7a4ff | [] | no_license | JCTGY/piscineCPP | 760d856687ce19862b0b64390afd52607a8f92ac | 03cb354a19b1791fd15ca70325ac1cd6c845b5e0 | refs/heads/master | 2020-06-16T20:50:37.607827 | 2020-01-25T05:47:25 | 2020-01-25T05:47:25 | 195,699,877 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,198 | hpp | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ISquad.hpp :+: :+: :+: ... | [
"fan3510@gmail.com"
] | fan3510@gmail.com |
f3535b40dcbb37eb3e223457334389df8a795f28 | 3b36e19abaf532074d1ff57d3d8c87a037214a73 | /curr/gamedata/position.h | 6a381b46660555a8b3a9b850e18c7efeeefffd90 | [] | no_license | schdorm/openhanse-project | 9823d767b5d5921dfddea019adc501c72c361057 | 89a3241e2d6360b53c7711a9cedce8132604581e | refs/heads/master | 2021-01-22T07:03:06.034567 | 2012-08-13T10:15:39 | 2012-08-13T10:15:39 | 5,397,358 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,921 | h | /***************************************************************************
* Copyright (C) 2009 - 2010 by Christian Doerffel *
* oh.devs@googlemail.com *
* *
* This pr... | [
"xristian@hp.(none)"
] | xristian@hp.(none) |
3d9debd22b3c76dea2b9028eea33fbfce638efe7 | b9984cc0cbc976422c29d01496252e23d2ac6636 | /onig-result.cpp | 91374b61f33e6a57bf5ba2027c6fd6aea2e0d421 | [] | no_license | amirtanha1980/wasm-oniguruma | 3cedc76bb10373ffe0237dfed051099c654892de | 6b084a364df6ecbcfe22e2420fe2c823bb94930b | refs/heads/master | 2021-05-06T12:20:47.345572 | 2017-11-20T02:16:26 | 2017-11-20T02:16:26 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,029 | cpp | #include "oniguruma.h"
#include <emscripten/emscripten.h>
#include <emscripten/bind.h>
#include <string>
#include "onig-result.h"
using namespace emscripten;
OnigResult::OnigResult(OnigRegion* region, int indexInScanner)
: region_(region), indexInScanner(indexInScanner) {}
int OnigResult::Count() {
return re... | [
"penn.lv@gmail.com"
] | penn.lv@gmail.com |
7a5a3f48127cba42d6bc4e15020ee0deb93046b3 | cf747dc21df7a382fdde232d6866eeb3a6e61dc8 | /merge-k-sorted-lists/merge-k-sorted-lists.cpp | e27035b827ad4077335a4ec4ba7416f5c1a1405f | [] | no_license | Ketan-Suthar/leetcode | 777117ffeb6fbe215a985a73cb818f1e4fb40481 | 76daa0a76384106fb10c439307d630d8355f6b61 | refs/heads/main | 2023-06-27T09:36:58.509676 | 2021-07-18T09:01:55 | 2021-07-18T09:01:55 | 372,232,110 | 5 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,734 | cpp | /**
* Definition for singly-linked list.
* struct ListNode {
* int val;
* ListNode *next;
* ListNode() : val(0), next(nullptr) {}
* ListNode(int x) : val(x), next(nullptr) {}
* ListNode(int x, ListNode *next) : val(x), next(next) {}
* };
*/
class Solution {
public:
ListNode* mergeKLists... | [
"ketansuthar899@gmail.com"
] | ketansuthar899@gmail.com |
9cef46f0f991676a3d86f7a53e483d982962d276 | bd3183420985df5101a1947d8c01f88f23ea9696 | /greatest_number.cpp | 54ac5f6f4387144bb45a89ee92d92d87575a8bfd | [] | no_license | aditi1226/hacktoberfest | 72a1640fb6c899b90d5f17de3dea7c96bb2d5010 | c24681f9253f4702aee716045bd6bd21d34c269d | refs/heads/main | 2022-12-23T20:23:55.266030 | 2020-10-03T16:54:27 | 2020-10-03T16:54:27 | 300,920,359 | 0 | 0 | null | 2020-10-03T16:54:28 | 2020-10-03T16:03:35 | C++ | UTF-8 | C++ | false | false | 485 | cpp | #include <bits/stdc++.h>
#define ll long long
#define pb push_back
#define mp make_pair
#define f first
#define se second
using namespace std;
int main() {
// #ifndef ONLINE_JUDGE
// freopen("input.txt","r",stdin);
// freopen("output.txt","w",stdout);
// #endif
ll n,i,j;
n=10;
... | [
"noreply@github.com"
] | noreply@github.com |
df086443fa8c40434be8a52d242029e26867cd72 | eb55a2f0f1ad3f5d61d54577c86d7c977e573924 | /clothtemplate.h | bcd60df95d38b0f7c3317cda4f67003ca8ad38ea | [] | no_license | TurplePurtle/cs395t-catwalk | 252b0dc3a01e9d9c8c846f3a1c3528f644f71b4b | a1af7d54dc1222e04f4addabcaa85b316511f21e | refs/heads/master | 2021-05-03T10:09:17.934170 | 2014-11-25T20:49:24 | 2014-11-25T20:49:24 | 26,882,002 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 888 | h | #ifndef CLOTH_H
#define CLOTH_H
#include <Eigen/Core>
#include <vector>
class Mesh;
struct ClothHinge
{
double coeff;
int i;
int j;
int k;
int l;
int F0;
int F1;
ClothHinge(int i, int j, int k, int l, int F0, int F1, double coeff)
: i(i), j(j), k(k), l(l), F0(F0), F1(F1), coe... | [
"santi256@gmail.com"
] | santi256@gmail.com |
637962aea80d5d58865b8ca7b0388e22e5460047 | e4d8e2c274488a3c4a20efc4d131727cff725249 | /include/cc/fwd/span.hh | 8e79190e65f10c2535ec0481910b3b36dfffb3ee | [
"MIT"
] | permissive | drlight-code/clean-core | 340dc1bacafa8f8684a4efb4620d4d3b9f64f5f6 | 33f06d485dadc9a3082f4e4f0d6f8a850db3c4bf | refs/heads/master | 2022-12-29T00:57:42.553880 | 2019-04-14T19:12:35 | 2019-04-14T19:12:35 | 300,218,944 | 0 | 0 | MIT | 2020-10-01T09:18:00 | 2020-10-01T09:17:59 | null | UTF-8 | C++ | false | false | 63 | hh | #pragma once
namespace cc
{
template <class T>
struct span;
}
| [
"Philip.Trettner@rwth-aachen.de"
] | Philip.Trettner@rwth-aachen.de |
92f8e38f6d0433100e0f3d0a56044a4a2b37d7e2 | 1f7ccb5d5a6753f07a9e76762afc81db5010a719 | /Classical/PALIN.cpp | 9a4d7d0e95798fe1de1266cce9208f7431eb0216 | [] | no_license | dashagriiva/SPOJ-Submissions | 87cc32c76b93716de26955b4e2bd5f6adda20b7a | d13247ea3df360164d52461c9255b1e35ea10df8 | refs/heads/master | 2021-10-08T06:11:09.707323 | 2018-12-08T23:19:05 | 2018-12-08T23:19:05 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,234 | cpp | #include <iostream>
#include <string>
using namespace std;
string s;
bool isAll9(string s)
{
bool res = true;
for (int i = 0; i <s.size(); i++)
res = res && (s[i] == '9');
if (res)
cout << 1 << string(s.size() - 1, '0') << 1 << endl;
return res;
}
int main()
{
int size;
cin >> size;
while (size--)
{
c... | [
"abatchy@abatchy.com"
] | abatchy@abatchy.com |
f6ae4db7a85b74d31d526632f6fb0eccb15db8c3 | 1c0ec1dbb8b3523b34eea7425f1db20d50118d00 | /NewsPaper.cpp | 0471aab5fdbce2074001c6756befe130aec46484 | [
"MIT"
] | permissive | ChandanSP1123/ObserverPatternCpp | 293d874b4e181251c079be2cfba4fd2a44902afb | 1748e413c999d2974c319e3ae96ac270267d0d09 | refs/heads/main | 2023-04-26T06:24:35.511596 | 2021-05-27T06:21:47 | 2021-05-27T06:21:47 | 371,267,764 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 275 | cpp | #include "Observer.hpp"
#include "NewsPaper.hpp"
void NewsPaper::update(int count, char *name)
{
publish(count, name);
}
void NewsPaper::publish(int count, char *name)
{
std::cout << "MyTimes :: Total vote for candidate " << name << " is " << count << std::endl;
} | [
"noreply@github.com"
] | noreply@github.com |
f4d5d5ebe9d136b77be478e2b4fc43a53ffc4c49 | 27156d71f1f57299ca4a036b15dabaea3c0b0577 | /CodeUnmodularized/ESP32_DFPlayer_full/ESP32_DFPlayer_full.ino | 70a8b509f70f6d5953ec8ad509e0acd04bf71fd4 | [] | no_license | akuangmit/SEAL-rhythm-game | 98855a01a7332d1da35aa61654ee327edcf43dca | bc59b52a9c78bb705d80efc443d179c9b914236d | refs/heads/master | 2022-10-05T01:58:42.603902 | 2020-06-07T06:54:25 | 2020-06-07T06:54:25 | 270,220,838 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,225 | ino | /***************************************************
DFPlayer - A Mini MP3 Player For Arduino
<https://www.dfrobot.com/index.php?route=product/product&product_id=1121>
***************************************************
This example shows the all the function of library for DFPlayer.
Created 2016-12-07
By [An... | [
"andykuang@Andys-MacBook-Pro-57.local"
] | andykuang@Andys-MacBook-Pro-57.local |
72f9b727dd5d1780ec587c767679e91d69c10f57 | c66f355dba6d4e48072a193b92bba4aba8841222 | /cppTest/6/6_7.cpp | c705a29405ac9181bc5eefd4365a696bc41779c4 | [] | no_license | aijingyi/cpp | 2d5b454c5aa8153695c9abbfbe3d54ea69661cd4 | ca778893d642e4e8e7743a5b081ab9ff2b76c75e | refs/heads/master | 2021-01-24T18:08:45.735375 | 2018-01-04T01:17:55 | 2018-01-04T01:17:55 | 84,408,469 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 112 | cpp | #include <iostream>
using namespace std;
int main()
{
char str[]="I love China";
cout<<str<<endl;
return 0;
}
| [
"kevinlaung@sina.com"
] | kevinlaung@sina.com |
dad51dd425607e97a61f58d47b863171dcd1ee7a | 7683f94208cc11a3a23cbd3f5239b9ebda0cfbe6 | /arduino/PID.cpp | 12f40761fbe3fa0481c7724d192aa146b0ebd17a | [] | no_license | jabadiagm/ArduBatt | 64a59644e3078f5e4d419c10dc44e0677ff37db5 | cf096ee90303aaba694cc6594c6c6f100cd7eec6 | refs/heads/master | 2022-11-05T11:54:44.615902 | 2020-06-15T19:58:26 | 2020-06-15T19:58:26 | 272,528,739 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,430 | cpp | /*
PID.h - Library for PID control.
J. Castillejo, May 16th, 2017.
Released into the public domain.
*/
#include "Arduino.h"
#include "PID.h"
//float PID
fPID::fPID(float gainProportional, float gainIntegral, float gainDerivative, float sampleTime)
{
//basic PID, extra items disabled
T = sampleTime;
kp = gainPropor... | [
"jabadiagm@gmail.com"
] | jabadiagm@gmail.com |
0cc26ecfd544cc81ad817572bb8b86efd649e0a1 | f8073aff4969b3d08677c21bbbf2b1703519c251 | /source/src/Quantum Calculate Simulation(ver.1)/Curcuit.cpp | 755090f19ea9667caeb90238aee581cfc5663b69 | [
"MIT"
] | permissive | void-yu/QCS | 6d9f10f5ff6d1744ef51172552fbb9a4fef8851a | 97d849aad47aec1825d8c03481bd7f9c168eda73 | refs/heads/master | 2021-01-20T05:19:18.542955 | 2018-01-05T08:07:51 | 2018-01-05T08:07:51 | 89,770,800 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 23,257 | cpp | #include "Circuit.h"
#include <fstream>
#include <iostream>
#include <string>
#include <vector>
#include <list>
#include <stdlib.h>
#include <math.h>
#include <string.h>
using namespace std;
Circuit::Circuit()
{
this->gateList.clear();
}
/**
*/
bool Circuit::read(const string& filename)
{
this->variables.cl... | [
"yu_void@qq.com"
] | yu_void@qq.com |
5e0832592f3257a92036d0c152313b1316671a0d | c9b9d9e93505e1e42adb61597c885b58c153894f | /source/file/brrezfile.h | e107c6076ef9939f61dc933bc20cedc33cac914f | [
"MIT",
"LicenseRef-scancode-unknown-license-reference",
"LicenseRef-scancode-warranty-disclaimer",
"Zlib"
] | permissive | Olde-Skuul/burgerlib | a3b860bf00bdbc699086a32a1d4756848866d3dc | 4d9dfa0cd5586d23688978e7ec0fd5881bf75912 | refs/heads/master | 2023-08-30T17:13:52.487215 | 2023-08-18T21:56:27 | 2023-08-18T21:56:27 | 18,419,163 | 163 | 11 | null | null | null | null | UTF-8 | C++ | false | false | 7,872 | h | /***************************************
Resource manager
Copyright (c) 1995-2017 by Rebecca Ann Heineman <becky@burgerbecky.com>
It is released under an MIT Open Source license. Please see LICENSE for
license details. Yes, you can use it in a commercial title without paying
anything, just give m... | [
"becky@burgerbecky.com"
] | becky@burgerbecky.com |
24842f1ea4dae40149d404908b631a5602b3a26e | 292d820100daa09e504d3de47d6b5481b6f6bab8 | /src/main.cpp | 92966c3256be1b5dbf92b8a423e9b60264192795 | [
"Apache-2.0"
] | permissive | Vortetty/Com32 | 8acc8970fdab20913af94c3ac104138a435f028a | 15cc276d9bfd0eedaaf8d14ac8c0e059a1991660 | refs/heads/main | 2023-06-12T10:00:24.944318 | 2021-07-02T23:31:51 | 2021-07-02T23:31:51 | 381,180,489 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,992 | cpp | /*
* Copyright 2021 Vortetty
* Licenced under Apache 2.0
*/
#define ENABLE_LOGGING
#include "logger.hpp"
#include <centurion.hpp>
#include "windowManager.hpp"
#include "C32colors.hpp"
#include <thread>
#include "threads/renderer.hpp"
#include "threads/inputHandler.hpp"
#include <iostream>
#include "threads/eventHan... | [
"vortetty@gmail.com"
] | vortetty@gmail.com |
f12eb89d6e6dd10c57d56110629166976deb4340 | 925281cd6c659cb7e552ee7355cfdd9fad21030e | /DigitalImageProcessing/Bmp.cpp | 94f20c8e1c571dd59b7ba999473d856456210834 | [] | no_license | NeoDoge/DigitalImageProcessing | c896581b10df02ae1624aa5a14b234267be9cd2d | 2fc0aa1f17fcf51a6d707e4e106aa94666e016a3 | refs/heads/master | 2020-06-16T23:20:44.849003 | 2019-05-23T14:51:59 | 2019-05-23T14:51:59 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 28,395 | cpp | #include "Bmp.h"
#include <iostream>
#include <algorithm>
#include <queue>
#include "ProcessBar.h"
using namespace ImageUtil;
void ImageUtil::writeImg(BITMAPFILEHEADER* header, BITMAPINFOHEADER* info, BYTE* rgb, int size, FILE* pf)
{
fwrite(header, sizeof(BITMAPFILEHEADER), 1, pf);
fwrite(info, sizeof(BITMAPINFOHE... | [
"591243801@qq.com"
] | 591243801@qq.com |
89cbef8f8dcd6c561ed679e0a0e334e06f09c15d | 0e9c06510647e4993f2caa2596756462d6490b6a | /BZOJ/1633 [Usaco2007 Feb]The Cow Lexicon.cpp | 19de7508ca9a87d9f43b0c9ac87dfcbbeb573295 | [] | no_license | SJTUStevenDu/Algorithm-Contest | 7b6cf5f4355f1290190651dce878c0368216c577 | 30fe0bb31819935fa8c3cf5be6bef65626c7f2a3 | refs/heads/master | 2020-03-18T15:57:13.883363 | 2018-05-28T03:07:57 | 2018-05-28T03:07:57 | 134,939,166 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 998 | cpp | /*
DATE : 2012-11-30
RATING : 1
TAG : DP
*/
#include <iostream>
#include <cstdio>
#include <cstring>
#include <algorithm>
#include <cstdlib>
#include <iomanip>
#include <cmath>
#include <iomanip>
#include <fstream>
#include <string>
//Orz WJMZBMR && sevenkplus
using namespace std;
int n,l,len[605],dp[605];
str... | [
"sjtustevendu@gmail.com"
] | sjtustevendu@gmail.com |
dac0a7d9eafa18c96c8c5d349919cfcd84f8a4fc | fcbff5c10b13001de5bc967ae995e0a3afe71a69 | /devel/include/rosapi/ServicesForTypeRequest.h | 06129d79f1e3e9d7375a01c0e37db98905a69017 | [] | no_license | JIAMIN0711/ROS | 43690cc3d55748ddd5ab11d2aa813ff1208c5596 | c677405e5f6237dfb83ba96e133625be2cc7a048 | refs/heads/master | 2021-01-01T04:28:34.265175 | 2017-09-25T08:18:24 | 2017-09-25T08:18:24 | 97,180,376 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,236 | h | // Generated by gencpp from file rosapi/ServicesForTypeRequest.msg
// DO NOT EDIT!
#ifndef ROSAPI_MESSAGE_SERVICESFORTYPEREQUEST_H
#define ROSAPI_MESSAGE_SERVICESFORTYPEREQUEST_H
#include <string>
#include <vector>
#include <map>
#include <ros/types.h>
#include <ros/serialization.h>
#include <ros/builtin_message_t... | [
"738302375@qq.com"
] | 738302375@qq.com |
7b02a11aefab49648c5aa2b9d35dc7b44d265f28 | 619e2eeeaae88bdfbe27ef5b515650e507e13260 | /libraries/cocos2d/cocos/base/CCConsole.cpp | c0ae87ae45f5241d02611a53ac0cd195eea79709 | [] | no_license | whztt07/ee-editor | 6b8b0f7fd91c4917409445c6b7e6dd094e6fe3bc | 4d07980152d90eb2a397926c35f80372346b050a | refs/heads/master | 2020-06-17T18:33:33.425030 | 2017-12-12T09:55:05 | 2017-12-12T09:55:05 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 42,632 | cpp | /****************************************************************************
Copyright (c) 2013-2017 Chukong Technologies Inc.
http://www.cocos2d-x.org
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 th... | [
"enrevol@gmail.com"
] | enrevol@gmail.com |
203e5af4dd9652154f3a2b6a118d8f77ba7d6f46 | 0d0e78c6262417fb1dff53901c6087b29fe260a0 | /cpdp/include/tencentcloud/cpdp/v20190820/model/CreateInvoiceRequest.h | acb1cf860c6e97f9e0cf19b356ea11774b5d4d61 | [
"Apache-2.0"
] | permissive | li5ch/tencentcloud-sdk-cpp | ae35ffb0c36773fd28e1b1a58d11755682ade2ee | 12ebfd75a399ee2791f6ac1220a79ce8a9faf7c4 | refs/heads/master | 2022-12-04T15:33:08.729850 | 2020-07-20T00:52:24 | 2020-07-20T00:52:24 | 281,135,686 | 1 | 0 | Apache-2.0 | 2020-07-20T14:14:47 | 2020-07-20T14:14:46 | null | UTF-8 | C++ | false | false | 38,582 | h | /*
* Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. 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
... | [
"tencentcloudapi@tenent.com"
] | tencentcloudapi@tenent.com |
66bac2fec9f39737104c73b176664df313c8c3c0 | bbcda48854d6890ad029d5973e011d4784d248d2 | /trunk/mac/BumpTop/GriddedPile.cpp | a757b9d8eab36ce5e74edb0cfc27810c6ccbad15 | [
"Apache-2.0"
] | permissive | dyzmapl/BumpTop | 9c396f876e6a9ace1099b3b32e45612a388943ff | 1329ea41411c7368516b942d19add694af3d602f | refs/heads/master | 2020-12-20T22:42:55.100473 | 2020-01-25T21:00:08 | 2020-01-25T21:00:08 | 236,229,087 | 0 | 0 | Apache-2.0 | 2020-01-25T20:58:59 | 2020-01-25T20:58:58 | null | UTF-8 | C++ | false | false | 32,866 | cpp | /*
* Copyright 2012 Google Inc. 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 require... | [
"mikejurka@google.com"
] | mikejurka@google.com |
a49bab5b1b0e19792294e8b2d99f50a879d74a9b | 0e7307ae66a8ae51683c16f3f278abc9a14dc0dc | /2.ADT/4.queue/src/queue.cpp | 049f072db891e0c07d54d5b5dabd2444aef516f3 | [] | no_license | MadRajib/DataStructures_cpp | b64e4eda0097d3e7428fdb0e0c5519bfeb988d18 | 9aa09312e04065702f9175177ba70fba4ac455c0 | refs/heads/master | 2020-11-26T05:28:03.506580 | 2020-09-22T16:57:33 | 2020-09-22T16:57:33 | 228,975,644 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,943 | cpp | #include "queue.h"
#include <string.h>
template class LQueue<char>;
template class LQueue<int>;
template class LQueue<float>;
template class LQueue<std::string>;
template <class T>
LQueue<T>::LQueue(){
Cell *sentinel = new Cell();
this->top = sentinel;
this->tail = this->top;
}
template <clas... | [
"madhabsharma94@gmail.com"
] | madhabsharma94@gmail.com |
4800efcc4db35d0853e2efd809e623bb432d35b9 | cb37b1b5846150d7add76dd9222402b9aed54523 | /xrSource/xr_3da/xrRender_R2/r2_R_sun.cpp | 67de2733b160c0a1510800625fa81bd615a09599 | [
"LicenseRef-scancode-warranty-disclaimer",
"BSD-2-Clause"
] | permissive | DoK74rus/X-Ray-PBR | 327f221c2baccbde33ec8cb402a5b377f298c89b | 680820012c94d83f59092583e20c249dbc2c9e61 | refs/heads/master | 2023-03-22T10:26:45.168343 | 2021-03-18T13:22:54 | 2021-03-18T13:22:54 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 46,948 | cpp | #include "stdafx.h"
#include "..\igame_persistent.h"
#include "..\irenderable.h"
const float tweak_COP_initial_offs = 1200.f ;
const float tweak_ortho_xform_initial_offs = 1000.f ; //. ?
const float tweak_guaranteed_range = 20.f ; //. ?
float OLES_SUN_LIMIT_27_01_07 = 180.f ;
//////////////////////////////... | [
"charles.greivelding@gmail.com"
] | charles.greivelding@gmail.com |
1a22f80ed1a5f1c602e78cd69a0d255e6ab45683 | faf940641a408c06f0816264b89e1c21e0cc5f25 | /Legendy.Source/ClientSource/Client/GameLib/MapOutdoorRenderHTP.cpp | bed044fcdaffa6e7ab503baa7f5d66af0d64f0cf | [] | no_license | nkuprens27/LegendySF-V2 | 90c49a0c3670eab5f3698385ec7c9f772d51988e | 7f9205448fd76bde7bff7b7aac568e795659b0be | refs/heads/main | 2023-07-18T03:57:57.258546 | 2021-09-08T20:59:37 | 2021-09-08T20:59:37 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 25,077 | cpp | #include "StdAfx.h"
#include "MapOutdoor.h"
#include "../eterlib/StateManager.h"
void CMapOutdoor::__RenderTerrain_RenderHardwareTransformPatch()
{
DWORD dwFogColor;
float fFogFarDistance;
float fFogNearDistance;
if (mc_pEnvironmentData)
{
dwFogColor=mc_pEnvironmentData->FogColor;
fFogNearDistance=mc_pEnviro... | [
"burakdayanc41@gmail.com"
] | burakdayanc41@gmail.com |
f4530a13c02895aa33f4b8c0e20fe167194f5a01 | 84a7af11b8e25fa9b05f66df6f0482be9c1bd551 | /lib/imgui/src/imgui/imgui_draw.cpp | ea78c6acf924ec0c4d4a2b3d4d12632f488975b4 | [] | no_license | AndrewB330/Physics3D | a237d06bb8717f6fb534ef8e65513e25471982d1 | b4f6b27270ae63f1cd9b0780b3974eb8bfb92954 | refs/heads/master | 2023-04-14T16:59:17.523305 | 2021-04-20T01:54:50 | 2021-04-20T01:54:50 | 290,175,108 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 192,143 | cpp | // dear imgui, v1.79 WIP
// (drawing and font code)
/*
Index of this file:
// [SECTION] STB libraries implementation
// [SECTION] Style functions
// [SECTION] ImDrawList
// [SECTION] ImDrawListSplitter
// [SECTION] ImDrawData
// [SECTION] Helpers ShadeVertsXXX functions
// [SECTION] ImFontConfig
// [SECTION] ImFontA... | [
"Andrey.Borzyak@gmail.com"
] | Andrey.Borzyak@gmail.com |
58844c393c96b996602c7b813309c5dde49c579c | d39f40a9a0f9a3b58b0b7cccacfddeb9dcaca139 | /main.cpp | 50dc5133952d080ae23f3f996e2e2440f44537b7 | [] | no_license | Lophophora24/Strings-sotring-in-Onegin | 88d9145eb233c505e0d55a1ea17c095f6d14402d | 79f7b8ee78c62e449701ec944e70e3869da02591 | refs/heads/main | 2023-09-03T01:54:15.278313 | 2021-11-08T18:52:28 | 2021-11-08T18:52:28 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 168 | cpp | #include "input.h"
#include "sort.h"
main(void)
{
readlines();
print_data();
bubble_sort(data, nlines);
print_data();
return 0;
}
| [
"noreply@github.com"
] | noreply@github.com |
b53ff00401b6b5d4be6b26ead4eed0a3d26d9d06 | da7d3014f2ee8c947a76d86fc0957d0cce5cbe90 | /brotlilib/src/main/cpp/enc/encoder_jni.cc | 21cc7ba87306ffa4c9704fc0442612faa4e2f85e | [] | no_license | chfdeng/Brotli | 58094bc4cb813e301b37e0b182790697689d600d | 48084ff65de551650aaa27be4fdf8c9a078d2f00 | refs/heads/master | 2021-10-17T01:05:37.918298 | 2019-02-13T06:19:25 | 2019-02-13T06:19:25 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,191 | cc | /* Copyright 2017 Google Inc. All Rights Reserved.
Distributed under MIT license.
See file LICENSE for detail or copy at https://opensource.org/licenses/MIT
*/
#include <jni.h>
#include <new>
#include <brotli/encode.h>
namespace {
/* A structure used to persist the encoder's state in between calls. */
ty... | [
"chfdeng@gmail.com"
] | chfdeng@gmail.com |
430b1d8a7d98053fe9b7e87deafa41baacfe3155 | 0b3dcad5d7900581ee5f87e87f6457159f2fa24e | /Pascal Triangle.cpp | bb72ed01210309cb8e8c08a4a7f4e01a312926b7 | [] | no_license | SwarnenduGanguli25/DATA_STRUCTURES | dc292d5fb3d66ec051ff694e45173f414dc2d4d6 | 96d473c9ac3db5fcea9bf1d9fd260aa85ad4a1e1 | refs/heads/master | 2022-11-08T01:14:45.220745 | 2020-06-29T11:53:53 | 2020-06-29T11:53:53 | 266,082,597 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,264 | cpp | #include<iostream>
#include<vector>
using namespace std;
vector<vector<int>> intermediate;
void printRecursion(int start, int n) {
if(start >= n)
return;
if(start == 0) {
vector<int> temp;
temp.push_back(1);
intermediate.push_back(temp);
printRecursion(s... | [
"noreply@github.com"
] | noreply@github.com |
5b9a2e1bbdaae5118917aff9cebdb808cc340660 | 9c3a823dcbea34a52178243c14d9d69a19a6129f | /include/ros_lib/control_msgs/GripperCommandFeedback.h | f1113ed3d3730b4c017fa195192e9a2857907087 | [] | no_license | team914/muphry | 9dc6f45304204d3853a5d3877dd512cfa2a796e4 | a2b85f7f0d857da57347e129b33e65af211b88e0 | refs/heads/develop | 2020-10-02T01:10:30.559742 | 2020-05-03T23:43:41 | 2020-05-03T23:43:41 | 227,664,967 | 2 | 1 | null | 2020-04-21T18:23:03 | 2019-12-12T17:52:06 | C++ | UTF-8 | C++ | false | false | 2,358 | h | #ifndef _ROS_control_msgs_GripperCommandFeedback_h
#define _ROS_control_msgs_GripperCommandFeedback_h
#include <stdint.h>
#include <string.h>
#include <stdlib.h>
#include "ros_lib/ros/msg.h"
namespace control_msgs
{
class GripperCommandFeedback : public ros::Msg
{
public:
typedef float _position_type;
... | [
"acetousk@gmail.com"
] | acetousk@gmail.com |
bde44d00575580cb012830a59cff5547af66e869 | 231073c6796823b4caba33b81eea707aabdedf8a | /fpv_scan.ino | d181a523f2a4b340bb206b40c3fb6ce57e734c71 | [] | no_license | merzod/fpv_scanner | f8cc7cac2a808f032f2b1fd34dd5bb2afe90ffa0 | bb01841e2e9ced819f70ac5469ae07e1458b0ac7 | refs/heads/master | 2021-01-17T20:08:32.842584 | 2016-08-16T06:59:34 | 2016-08-16T06:59:34 | 65,793,576 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,524 | ino | #include <LCD5110_Graph.h>
#include "radio.h"
#include "scanner.h"
#include "lcd.h"
#include "menu.h"
#include "list.h"
// Define pins
#define SPI_DATA_PIN 10
#define SPI_SLAVE_SELECT_PIN 11
#define SPI_CLOCK_PIN 12
#define RSSI_PIN A0
#define PIN_LCD_CLK 2
#define PIN_LCD_DIN 3
#define PIN... | [
"merzod@gmail.com"
] | merzod@gmail.com |
aa0b79f5de3d0fc6c5d8874abb1ddbed842f94ac | b67f8d880160c2aed160d2c4e507e43b56e32b9c | /testing/linear-algebra/thomas.hpp | 0f46be08389cf601a851a36e4a6802521568e583 | [] | no_license | wvannoordt/wmlib-deprecated | 9a476eccaca11ab1b21d132274ac032afc9683da | 53c8374cf7ce3479af791b456f236aa136bde008 | refs/heads/master | 2022-07-09T17:23:20.345034 | 2020-05-12T14:34:34 | 2020-05-12T14:34:34 | 263,361,992 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 110,321 | hpp | MAT_tridiag<double*> lhs;
Buffer<double*> rhs;
int N = 500;
//BEGIN MATLAB GENERATED CODE
makebuf(&rhs, N);
makebuf(&(lhs.diag), N);
makebuf(&(lhs.sup), N-1);
makebuf(&(lhs.sub), N-1);
lhs.dim = N;
rhs.base[0] = 179943.191471356374677;
rhs.base[1] = 513316.350799809210002;
rhs.base[2] = 712109.922165039461106;
rhs.ba... | [
"willvanzero@gmail.com"
] | willvanzero@gmail.com |
aeadf1238afd111208f0d3b7916bd1791908c799 | 78af45182b7076d4da99f8f471dce1d819206b55 | /Shmup/Source Files/feedback.cpp | d96ca1ece57b86381691f3f262080c147f8c2005 | [] | no_license | GensokyoDev/Shmup | d75c0f3c93ab3598d28a839a61854f32a4391766 | a3b85be242a1d5a3a69054b57a02f78871ca8dc5 | refs/heads/master | 2016-09-03T06:51:25.392616 | 2015-07-11T16:10:26 | 2015-07-11T16:10:26 | 38,927,608 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,030 | cpp | #include <iostream>
#include <SFML/Window.hpp>
#include <GL/glew.h>
// Shader macro
#define GLSL(src) "#version 150 core\n" #src
// Vertex shader
const GLchar* vertexShaderSrc = GLSL(
in float inValue;
out float geoValue;
void main() {
geoValue = sqrt(inValue);
}
);
// Geometry shader
const GLchar* geoShaderS... | [
"jelmer_alphenaar@hotmail.com"
] | jelmer_alphenaar@hotmail.com |
e05267b3fb47b44190998b80c47cecf6d7474ef2 | 7f7ebd4118d60a08e4988f95a846d6f1c5fd8eda | /wxWidgets-2.9.1/src/motif/listbox.cpp | 0c458b69e831e93d189152af782673bb0d2ba969 | [] | no_license | esrrhs/fuck-music-player | 58656fc49d5d3ea6c34459630c42072bceac9570 | 97f5c541a8295644837ad864f4f47419fce91e5d | refs/heads/master | 2021-05-16T02:34:59.827709 | 2021-05-10T09:48:22 | 2021-05-10T09:48:22 | 39,882,495 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 17,073 | cpp | ///////////////////////////////////////////////////////////////////////////////
// Name: src/motif/listbox.cpp
// Purpose: wxListBox
// Author: Julian Smart
// Modified by:
// Created: 17/09/98
// RCS-ID: $Id$
// Copyright: (c) Julian Smart
// Licence: wxWindows licence
/////////... | [
"esrrhs@esrrhs-PC"
] | esrrhs@esrrhs-PC |
63c1a7ab2225bc9b34ff401648ad0bd3c4d0c497 | 87313e0aeebde9c929ea3b23f8412ed1a7318a91 | /test_18010p_vibr_snsr/test_18010p_vibr_snsr.ino | 90232d4c78ab322d886f757e75633822930bc325 | [
"MIT"
] | permissive | sushrutmair/sensor-actuator-tests | 3c728ad4f6806664eb4c2177a58c7dfa7c28254b | 2527c5737d6deea8d7e0a6ee1d22f931f2c63e51 | refs/heads/master | 2020-04-01T12:44:23.302929 | 2018-10-16T04:16:40 | 2018-10-16T04:16:40 | 153,221,373 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,204 | ino | //Henry's Bench
//KY-002 Shock Sensor Tutorial
int shockPin = 10; // Use Pin 10 as our Input
int shockVal = HIGH; // This is where we record our shock measurement
boolean bAlarm = false;
unsigned long lastShockTime; // Record the time that we measured a shock
int shockAlarmTime = 500; // Number of milli seconds to k... | [
"noreply@github.com"
] | noreply@github.com |
a8911d1d56f6b70e1fbddf2c9baedd75e5db7488 | 568d4a69b35e1ac57ab226591439e59dbd076bfd | /drawtask.hpp | 0d01f4c62419938caca72c49c1c58b3ecc6bbb7c | [
"MIT"
] | permissive | degarashi/resonant | 400429f00a00dbd1688f58f97f54009e47583b37 | f1a8c86c4d2c89d2397b0c1db55c7dfe7a317f6a | refs/heads/master | 2021-03-13T02:25:48.650238 | 2016-06-29T10:33:06 | 2016-06-29T10:33:30 | 11,941,806 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 902 | hpp | #pragma once
#include "spinner/singleton.hpp"
#include "tokenmemory.hpp"
#include "sdlwrap.hpp"
namespace rs {
namespace draw {
#define mgr_drawtask (::rs::draw::Task::_ref())
/*! PreFuncとして(TPStructR::applySettingsを追加)
[Program, FrameBuff, RenderBuff] */
class Task : public spn::Singleton<Task> {
public:... | [
"slice013@gmail.com"
] | slice013@gmail.com |
50cc711d8b2199410558c77619ff9ada39caf9f0 | cc0d2473269fa781dafd25ff241214892ebaff19 | /Voturi/include/client_utils.hpp | abc1467fb5a60b802917b31895f3977b672f947b | [] | no_license | WansE1z/PC | e8557fa4c36009fdc68b1e66603bf89eee86c195 | d1ffb8e11a45af7c49e27abba621fee8a59908b3 | refs/heads/master | 2022-09-13T20:42:54.323571 | 2020-05-20T17:14:59 | 2020-05-20T17:14:59 | 254,828,965 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,896 | hpp | #ifndef SERV_UTILS_H
#define SERV_UTILS_H
using namespace std;
#include <arpa/inet.h>
#include <bits/stdc++.h>
#include <netdb.h>
#include <netinet/in.h>
#include <netinet/tcp.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/socket.h>
#include <sys/types.h>
#include <unistd.h>
#define Asser... | [
"radu.ionita0702@gmail.com"
] | radu.ionita0702@gmail.com |
e9c442f6131b84d7a07d92167c62db8b4879d498 | b18ea10bd7dd81a705b0b9a19b15da73393e5ed4 | /WinCtrlSolution/GridCtrl/GridCtrl_src/CellTemplate.cpp | 37e6353878dd81cfe2bb1cd805c81afa66e546c1 | [] | no_license | yedaoq/YedaoqCodeSpace | 90f56c37fbb0ba2e5b1d0854714acc531e3d9f42 | 523eb2eab61c958abba5dd5eeeb5944dee43b9a9 | refs/heads/master | 2021-01-02T09:52:25.642868 | 2018-07-03T12:36:44 | 2018-07-03T12:36:44 | 2,127,456 | 1 | 1 | null | null | null | null | GB18030 | C++ | false | false | 1,355 | cpp | #include "stdafx.h"
#include "ITextFormater.h"
#include "EditStyle.h"
CCellTemplate CCellTemplate::DefaultTemplate(
&CTextFormatSwitcherNone::GetInstance(),
&CEditStyleNone::GetInstance(),
&CCellFactoryProvider::DefaultCellFactory);
// the cell template for CGridCell
CCellTemplate::CCellTemplate(ITextFormatSwitc... | [
"yedaoq@gmail.com"
] | yedaoq@gmail.com |
ff55679e4888e0267f5b2604f1fd671e4b74d284 | d09945668f19bb4bc17087c0cb8ccbab2b2dd688 | /codeforce/181-200/cf190/d.cpp | 4d4826913a73bd39db0065e938e2c1856d05db82 | [] | no_license | kmjp/procon | 27270f605f3ae5d80fbdb28708318a6557273a57 | 8083028ece4be1460150aa3f0e69bdb57e510b53 | refs/heads/master | 2023-09-04T11:01:09.452170 | 2023-09-03T15:25:21 | 2023-09-03T15:25:21 | 30,825,508 | 23 | 2 | null | 2023-08-18T14:02:07 | 2015-02-15T11:25:23 | C++ | UTF-8 | C++ | false | false | 1,526 | cpp | #include <bits/stdc++.h>
using namespace std;
typedef signed long long ll;
#undef _P
#define _P(...) (void)printf(__VA_ARGS__)
#define FOR(x,to) for(x=0;x<to;x++)
#define ITR(x,c) for(__typeof(c.begin()) x=c.begin();x!=c.end();x++)
#define ZERO(a) memset(a,0,sizeof(a))
#define MINUS(a) memset(a,0xff,sizeof(a)... | [
"kmjp"
] | kmjp |
07bd004b168c1d6fc5016cb31fe63c2b5fdde0f4 | 7232af696382e3354db210ea75f8839cc3024e32 | /GameTemplate/Game/LightManager.cpp | 041e0d61285b8f7599bc1a8f3e1a60478d476f96 | [] | no_license | yonema/Mobyrinth_MyGame | c348dbca1e9ed0b859b8a8f83e5259e2cc83c988 | 2b52f95a8140d0c62fdd76aadfbbb9412cf5974f | refs/heads/master | 2023-08-29T06:00:32.073018 | 2021-11-05T02:05:57 | 2021-11-05T02:05:57 | 334,870,013 | 0 | 0 | null | 2021-11-05T02:05:57 | 2021-02-01T07:46:12 | C++ | SHIFT_JIS | C++ | false | false | 8,310 | cpp | #include "stdafx.h"
#include "LightManager.h"
#include "DirectionLight.h"
#include "PointLight.h"
#include "SpotLight.h"
/**
* @brief メビリンス
*/
namespace nsMobyrinth
{
/**
* @brief ライト
*/
namespace nsLight
{
//staticなデータメンバの初期化
CLightManager* CLightManager::m_instance = nullptr;
SLightParam CLightManager:... | [
"1"
] | 1 |
259eb6ecdc25496e1696441016633fadef350072 | acc3f19bd25c01b1e8c861ed6f0af09d1861caa6 | /MySplitterWnd.cpp | fd57e88e28d1ccfe1ec6c2fcb915ca4a2fd7b532 | [] | no_license | nickgammon/mushclient | 7da44c02f2ebaedd38273e0c1f67a8a155a1f137 | 5f1ca253cf6f44b65caeafd9f2ad7a4b87817c8e | refs/heads/master | 2022-11-11T14:57:20.924735 | 2022-10-30T00:32:03 | 2022-10-30T00:32:03 | 481,654 | 152 | 94 | null | 2023-09-06T03:35:59 | 2010-01-21T03:28:51 | C | UTF-8 | C++ | false | false | 2,424 | cpp | // MySplitterWnd.cpp : implementation file
//
#include "stdafx.h"
#include "mushclient.h"
#include "doc.h"
#include "MySplitterWnd.h"
#include "childfrm.h"
#include "MUSHview.h"
#include "sendvw.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
//////////////////////... | [
"nick@gammon.com.au"
] | nick@gammon.com.au |
64eed82caccab40a3937dac79d93dd3353d1dc9b | a82f21ddb1a9fcff19629597a9d754ae9356f4c9 | /src/zpiv/accumulatormap.cpp | cd59dedae86c9ea7cbea1a3daa9e29326c5db9d0 | [
"MIT"
] | permissive | Tanzanite-Team/Tanzanite | ca9f6bdd4baa7813623640d6d0d510a5fcbdb517 | 630c3e5aabc823a60026357063401a4f09633d77 | refs/heads/main | 2023-03-11T06:58:03.981527 | 2021-02-26T14:07:58 | 2021-02-26T14:07:58 | 279,105,162 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,358 | cpp | // Copyright (c) 2017-2019 The Tanzanite developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "accumulatormap.h"
#include "accumulators.h"
#include "main.h"
#include "txdb.h"
#include "libzerocoin/Denominations.h"... | [
"info.tanzanite.coin@gmail.com"
] | info.tanzanite.coin@gmail.com |
60bf049b9b0dd3e8d9ba62322358e4ee48eb70cf | ecde4736e27b275b37bf1ccd7f375e31c1faf733 | /2006old/ServerMonitor/stdafx.cpp | bae42582722c512afb2730b92eb1b52cff272418 | [] | no_license | bahamut8348/xkcode | 1d85ef9b806c13af7193c9fd2281c99f174357a3 | 41665e5601d6d555ae2633ac0aa8cc1108a6b6bf | refs/heads/master | 2016-09-10T17:29:15.351377 | 2013-05-17T02:37:30 | 2013-05-17T02:37:30 | 34,992,677 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 290 | cpp | // stdafx.cpp : source file that includes just the standard includes
// ServerMonitor.pch will be the pre-compiled header
// stdafx.obj will contain the pre-compiled type information
#include "stdafx.h"
#if (_ATL_VER < 0x0700)
#include <atlimpl.cpp>
#endif //(_ATL_VER < 0x0700)
| [
"netmud@gmail.com@3d467911-a1bc-f432-5061-063988b6f25e"
] | netmud@gmail.com@3d467911-a1bc-f432-5061-063988b6f25e |
f8fc6e2b368e556b050b587fb41e3440d146909c | 8d8e32f491ec7ce91ce98d355ea50cd4d6b2dc55 | /ionScene/CSimpleMesh.h | ba2dd90402e760ab10d8bd31d339e6d8bdddc1ca | [
"MIT"
] | permissive | kyle-piddington/ionEngine | f056d1f9dea09de757f3e5354d4f839ce3c92721 | c24db3e0c8be3f1a857b12515cd874d5b02188ba | refs/heads/master | 2021-01-16T23:42:44.316813 | 2016-04-26T05:58:20 | 2016-04-26T05:58:20 | 57,326,486 | 0 | 0 | null | 2016-04-28T18:56:25 | 2016-04-28T18:56:24 | null | UTF-8 | C++ | false | false | 2,083 | h |
#pragma once
#include <ionCore.h>
#include <ionMath.h>
#include <ionGraphics.h>
namespace ion
{
namespace Scene
{
struct SSimpleMaterial
{
SSimpleMaterial();
void LoadTextures();
Graphics::CUniform<color3f> Ambient;
Graphics::CUniform<color3f> Diffuse;
Graphics::CUniform... | [
"iondune@gmail.com"
] | iondune@gmail.com |
be2d720e3f0eb6e991da30c57d4e50ba7c90f670 | 16c87360f00b4ea12c024875f4aa3a1be685603d | /wMnStmCalcBlock.h | 0c2f00e8fef322d26c5e3b40564fa928df7d0e66 | [] | no_license | radiohide/temp | 28ffe85e507b189c48c0c399f708f66f0558a4f2 | 7740a9965524a5a7a88e59291cc1f06382f01c58 | refs/heads/master | 2021-06-05T17:35:24.721125 | 2021-04-20T09:04:48 | 2021-04-20T09:04:48 | 86,920,856 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,146 | h | // wMnStmCalcBlock.h: interface for the CwMnStmCalcBlock class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_WMNSTMCALCBLOCK_H__09746588_3821_4C48_8D48_FA457AD477D9__INCLUDED_)
#define AFX_WMNSTMCALCBLOCK_H__09746588_3821_4C48_8D48_FA457AD477D9__INCLUDED_
#if _MSC_... | [
"chenxi1@gdtianren.com"
] | chenxi1@gdtianren.com |
50ec464e3c6630e89e4805aed208476d7109c476 | 991f0d16c081e50df09508818f068a21ad35914b | /NestedIfElseStatement/NestedIfElseStatement.cpp | 892c9546041b7d3be9e4216955beeff4be90860c | [] | no_license | AlainKuiete/CodeBeautyTutorials | 8ff07835806221a42de4b860672c616535190aaf | 97a36c635fe9cb77ddc260c1f9a6d1a09915b43f | refs/heads/main | 2023-03-19T23:54:56.259028 | 2021-02-18T18:14:59 | 2021-02-18T18:14:59 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 769 | cpp | #include <iostream>
using namespace std;
int main()
{
//User enters side lengths of a triangle (a,b,c).
//Program should write out whether that triangle is equilateral, isosceles or scalene.
//equilateral: In geometry, an equilateral triangle is a triangle in which all three sides have the same length.
//isoscele... | [
"33712044+natnat201193@users.noreply.github.com"
] | 33712044+natnat201193@users.noreply.github.com |
2ed7848939893fe1bbdf941aaf63d226cab9064a | 62cec11c95d90be3bf84e29d76ee3e3785d9f59e | /220_Contians_Duplicate_III/containsNearbyAlmostDuplicate.cpp | fbf616f0f0fe11a5c70d2bd80094de586308b3a0 | [] | no_license | Jody-Lu/Array | faec40f1ec18968dd3739c9f6cb6039aed86e7e5 | eaee6a529705b5973cb502d2fcb607ab0bedec08 | refs/heads/master | 2020-04-12T09:06:43.860700 | 2016-11-19T21:33:47 | 2016-11-19T21:33:47 | 63,844,260 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 753 | cpp | #include <iostream>
#include <vector>
#include <set>
using namespace std;
// set.lower_bound(val) --> returns the iterator that points to at least val
// sert.upper_bound(val) --> returns the iterator that points to at most val
class Solution {
public:
bool containsNearbyAlmostDuplicate(vector<int>& nums... | [
"b00901192@ntu.edu.tw"
] | b00901192@ntu.edu.tw |
1d0568dcc0d7e151b14d56ca7beee03e752c2c25 | bf6392687d37b7abe3cc7724dedf058567d753f3 | /ir_example/ir_example/lib/IRcomm.cpp | 7629c06826c2580a9ddd9f0bd8599ec1a7891ae8 | [] | no_license | kbsesa1/arduino-bomberman | af90cee47bab6a2f7715dc5aaffe57ef3f4f6431 | a59657a06e95daa3d79963af7b52e06a675943d0 | refs/heads/master | 2020-04-07T08:05:12.068682 | 2019-01-10T12:02:33 | 2019-01-10T12:02:33 | 158,199,953 | 0 | 1 | null | 2019-01-10T11:55:05 | 2018-11-19T10:04:30 | C++ | UTF-8 | C++ | false | false | 5,142 | cpp | /*
* CPPFile1.cpp
*
* Created: 28-11-2018 13:33:31
* Author: joost
*/
#include "IRcomm.h"
const int sendTimes[] = {20,40,60,80,20};//number of ticks to set led(low,high,start,stop,divider)
uint8_t sendFrame[23];//array to save lengths of pulses
int sendIndex = 0;//index for pulsearray
int newFrame = 0;//bool if ardui... | [
"joosthartkamp@hotmail.com"
] | joosthartkamp@hotmail.com |
7d48b193cd667f666f61d27b59f823888acd722e | f0b7bcc41298354b471a72a7eeafe349aa8655bf | /codebase/apps/radar/src/CalCompute/Main.cc | 9b749e667994ddf2e411b92d7bdfbf55c52b4d18 | [
"BSD-3-Clause"
] | permissive | NCAR/lrose-core | 23abeb4e4f1b287725dc659fb566a293aba70069 | be0d059240ca442883ae2993b6aa112011755688 | refs/heads/master | 2023-09-01T04:01:36.030960 | 2023-08-25T00:41:16 | 2023-08-25T00:41:16 | 51,408,988 | 90 | 53 | NOASSERTION | 2023-08-18T21:59:40 | 2016-02-09T23:36:25 | C++ | UTF-8 | C++ | false | false | 3,375 | cc | // *=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*
// ** Copyright UCAR (c) 1990 - 2016
// ** University Corporation for Atmospheric Research (UCAR)
// ** National Center for Atmospheric Research (NCAR)
// ** Bo... | [
"dixon@ucar.edu"
] | dixon@ucar.edu |
7b76674a89df91d0e6fa58e167beed2745390243 | 4edfc2a2ba5e583e8479ae93d83b54165a817381 | /fairseq/fairseq/clib/libnat/edit_dist.cpp | 1d18a08e3e79481555d8ba122c083d5698a67262 | [
"Apache-2.0",
"MIT"
] | permissive | skeshaw/LoReNMT | ae20785763f870b336f8045e40a3a40f73cb0906 | 32ffd83f38258dfffd324f811695a44ad33954f5 | refs/heads/master | 2022-03-28T04:50:27.534048 | 2019-10-30T17:22:45 | 2019-10-30T17:22:45 | 218,554,528 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,985 | cpp | /**
* Copyright 2017-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the license found in the
* LICENSE file in the root directory of this source tree.
*/
#include <torch/torch.h> // @manual=//caffe2:torch_extension
#include <vector>
using namespace ::std;
vec... | [
"skeshaw@outlook.com"
] | skeshaw@outlook.com |
9dbd4e7b2ea04dca977c1a3fb84d97064ae073fa | 40f53a23ba9d377c034581b2c9fc086504e98045 | /01_serial/main.cpp | d566134313ad37abf8364b218cbe33aa21c76f96 | [] | no_license | mdelorme/direct_summation_comparison | b67c7b7e05a33212b8d32bf5c5307adc5cdb5fd8 | f2888a75acd2bad1420f6be3b76e1266baf70f2c | refs/heads/master | 2020-05-20T12:33:38.296183 | 2019-05-12T17:11:42 | 2019-05-12T17:11:42 | 185,575,140 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,880 | cpp | #include <bits/stdc++.h>
#ifdef VERBOSE
#define DBG(x) (std::cerr << x << std::endl;)
#else
#define DBG(x)
#endif
// Timers
using time_point = std::chrono::time_point<std::chrono::system_clock>;
using duration = std::chrono::duration<float>;
#define now std::chrono::system_clock::now
double dt = 1.0e-4;
int max_ite ... | [
"m.delorme@surrey.ac.uk"
] | m.delorme@surrey.ac.uk |
0bb1179b43dba8e7edf8bc421c6674ac74b9f4f4 | 8d10f13ebfa597b58c5378090c03ebeec311bb9d | /questions/SolutionUploads/100001395041707/11/272/Code_12-01-2012_18-37-57.cpp | dbb54dd2e628b1628af342d342bd914e70cc8fff | [] | no_license | amaljoyc/code-rex | 92a233b2b534e091d3d3057cc7bd78d6b801c7ae | 0f6755115e741dea496b3ed28e352a8c344e69ce | refs/heads/master | 2021-01-18T10:42:33.701012 | 2012-10-22T13:04:48 | 2012-10-22T13:04:48 | null | 0 | 0 | null | null | null | null | WINDOWS-1250 | C++ | false | false | 1,761 | cpp | #include<iostream>
#include<string>
#include<fstream>
#include<conio.h>
using std::string;
using namespace std;
char pal[20][500],largest[500];
int ting=0,large=0,i,l;
void printAllPalindromes(char*);
char* subSequence(char*,int,int);
int main() {
char *s="The Finnish word “saippuakivikauppias” which means soa... | [
"vignesh.sarma@gmail.com"
] | vignesh.sarma@gmail.com |
7a4db7c20b435a7f9e5c7e3aaca5693edbf20915 | 93cb741407a867b59050a4d398aa18ded54a96fe | /week_9/assignment_3_wk9/assignment_3_wk9.ino | 114937c8a5ae65c012edb3499276e23058318b15 | [] | no_license | varut-siriparkornchai-0950/microprocessor_LAB_rut | fae4fd2c2b106c48e2a38d06293c95c29e50ab11 | 23edfc6fc6e97ed68ad34ade91f3fb46c2625c92 | refs/heads/master | 2020-12-15T08:20:45.432011 | 2020-06-17T11:23:24 | 2020-06-17T11:23:24 | 235,043,345 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 942 | ino | int clk_pin = 13; //SHCP
int latch_pin = 10; //STCP
int data_pin = 11; //DS
byte number[] = {0x3F,0x06,0x5B,0x4F,0x66,0x6D,0x7D,0x07,0x7F,0x6F};
int pos = 0,timer1_counter;
void setLed(uint8_t _state)
{
digitalWrite(latch_pin,LOW);
for(int i = 0 ; i < 8 ; i++){
digitalWrite(data_pin,(_state >> (7-i)) & 0x01);
... | [
"varut_99@hotmail.com"
] | varut_99@hotmail.com |
404475f69b6264a243a1666791dee1d12a2c75d8 | a4a03d391f0c911e5b0aed27fe21e4eb36624609 | /HDU/1081/12149382_AC_15ms_5424kB.cpp | 4939bda5ae9b47f3431accf7f9ec21b9366c97d1 | [] | no_license | jiaaaaaaaqi/ACM_Code | 5e689bed9261ba768cfbfa01b39bd8fb0992e560 | 66b222d15544f6477cd04190c0d7397f232ed15e | refs/heads/master | 2020-05-21T21:38:57.727420 | 2019-12-11T14:30:52 | 2019-12-11T14:30:52 | 186,153,816 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 727 | cpp | #include<stdio.h>
#include<string.h>
int maxarr(int a[], int n)
{
int i,j;
int sum=0;
int max=a[1];
for(i=1; i<=n; i++)
{
sum+=a[i];
if(sum<0)
sum=0;
if(sum>max)
max=sum;
}
return max;
}
int arr[1000][1000]={0};
int sum[1000]={0};
int main()
{
int n;
while(scanf("%d",&n)!=EOF)
{
int i,j,k;
for... | [
"735301510@qq.com"
] | 735301510@qq.com |
cc962a50a83e88c37895e4b223b6ffedbd3b45f1 | e1d6417b995823e507a1e53ff81504e4bc795c8f | /gbk/Common/DBSystem/DataBase/DBImmigration.h | 7250b26593a50a724a00b58ae76b97381f6cc5df | [] | no_license | cjmxp/pap_full | f05d9e3f9390c2820a1e51d9ad4b38fe044e05a6 | 1963a8a7bda5156a772ccb3c3e35219a644a1566 | refs/heads/master | 2020-12-02T22:50:41.786682 | 2013-11-15T08:02:30 | 2013-11-15T08:02:30 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,118 | h | #ifndef _DB_IMMIGRATION_H_
#define _DB_IMMIGRATION_H_
#include "Type.h"
#include "ODBCBase.h"
class DBImmigration:public ODBCBase
{
CHAR m_Account[MAX_ACCOUNT+1]; //用户名称
GUID_t m_CharGuid; //用户GUID
UINT m_CreateTime; //角色创建时间
CHAR m_CharName[MAX_CHARACTER_NAME+1]; //角色名称
public:
DBImmigration(O... | [
"viticm@126.com"
] | viticm@126.com |
3869d57728ab01127a0c70ac8579812487bb9574 | 2d5a651995ca6ba53b169b5e58ef75159715e886 | /Source/Core/FileFormat/GIS/Degree.h | 0a9cdcc5bda7db59efa6742458750b46b333359f | [
"BSD-3-Clause"
] | permissive | GoTamura/KVS | 4a4aabd5dac5c5362b7404f4d9b50ae33bb0cbb6 | 121ede0b9b81da56e9ea698a45ccfd71ff64ed41 | refs/heads/develop | 2021-06-12T05:27:34.959934 | 2019-04-11T23:57:26 | 2019-04-11T23:57:26 | 181,405,935 | 0 | 0 | BSD-3-Clause | 2019-04-15T03:29:11 | 2019-04-15T03:29:09 | null | UTF-8 | C++ | false | false | 1,487 | h | /*****************************************************************************/
/**
* @file Degree.h
* @author Naohisa Sakamoto
*/
/*----------------------------------------------------------------------------
*
* Copyright (c) Visualization Laboratory, Kyoto University.
* All rights reserved.
* See http:... | [
"naohisa.sakamoto@gmail.com"
] | naohisa.sakamoto@gmail.com |
6e2cff67d04f55a90e8dc9dea099bb088a447c33 | f18eddc984f6a55edbfcb45beacf97d58fed576a | /src/ray/gcs/gcs_server/gcs_heartbeat_manager.h | 45068d381e9e51df896d0c4f5aa0907ce071bace | [
"Apache-2.0",
"MIT"
] | permissive | ingambe/ray | 84d8ff71108b8ca104d24582893fa27ca359ff2a | 6c3d21d1ab76ff5c22e997e8dc1c3e183131ed00 | refs/heads/master | 2023-03-30T20:27:01.051006 | 2021-03-30T11:06:48 | 2021-03-30T11:06:48 | 273,504,539 | 0 | 0 | Apache-2.0 | 2020-06-19T13:47:15 | 2020-06-19T13:47:15 | null | UTF-8 | C++ | false | false | 3,209 | h |
// Copyright 2017 The Ray Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to ... | [
"noreply@github.com"
] | noreply@github.com |
2ff274b1dda563938e8aafac0ea5117c848ce653 | 9a3b9d80afd88e1fa9a24303877d6e130ce22702 | /src/Providers/UNIXProviders/QoSConditioningSubService/UNIX_QoSConditioningSubServiceMain.cpp | 2fac147f247859a5ca7f839f03775ca9af0f75ab | [
"MIT"
] | permissive | brunolauze/openpegasus-providers | 3244b76d075bc66a77e4ed135893437a66dd769f | f24c56acab2c4c210a8d165bb499cd1b3a12f222 | refs/heads/master | 2020-04-17T04:27:14.970917 | 2015-01-04T22:08:09 | 2015-01-04T22:08:09 | 19,707,296 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,310 | cpp | //%LICENSE////////////////////////////////////////////////////////////////
//
// Licensed to The Open Group (TOG) under one or more contributor license
// agreements. Refer to the OpenPegasusNOTICE.txt file distributed with
// this work for additional information regarding copyright ownership.
// Each contributor lice... | [
"brunolauze@msn.com"
] | brunolauze@msn.com |
680c937b98bdee652a5bb06b106da0968894e619 | 3487f249665f096de6c42eda99bc3da3398bb547 | /old/spoj/cpp/pattern-find-kmp.cpp | d0c5733085115c85a62e520089229f7af5a905a8 | [] | no_license | hthuwal/competitive-programming | 74489181774b4746234a62fe217ac539b2e1704e | 65efdd8b90afd3895f734e204b9a4689de3eb810 | refs/heads/master | 2023-08-31T04:18:37.525826 | 2023-08-30T20:28:10 | 2023-08-30T20:28:10 | 133,988,036 | 5 | 2 | null | 2020-10-15T17:58:15 | 2018-05-18T18:02:05 | C++ | UTF-8 | C++ | false | false | 1,153 | cpp | /**
* KMP Algorithm
*
* Your task is so simple given a string and a pattern.
* You find the pattern on the given string.
* If found print how many time found the pattern and their index.
* Otherwise print ‘Not Found’
*
* https://www.spoj.com/problems/NAJPF/
*/
#include <bits/stdc++.h>
using namespace std;
... | [
"hthuwal@gmail.com"
] | hthuwal@gmail.com |
aceac42f4623a678ffac1a5df96fe58dfa64f285 | 5b46738402f4c4f3c46d0e67c0e6fdc08031d9fa | /Contests/CodeJam/17/B.cpp | aa1594e64fc0c166cc45f22d43c380c9354d3c25 | [] | no_license | gafeol/competitive-programming | a57dcd6fbcc7eed9e4aa77815e7cb525c9ace30c | 1af50554afe4b869f341b16681618aef0e291534 | refs/heads/master | 2021-07-07T09:23:51.984327 | 2021-04-18T18:20:21 | 2021-04-18T18:20:21 | 67,904,346 | 5 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,396 | cpp | #include <bits/stdc++.h>
using namespace std;
#define fst first
#define snd second
typedef unsigned long long ull;
typedef long long ll;
typedef pair<int, int> pii;
#define pb push_back
#define for_tests(t, tt) int t; scanf("%d", &t); for(int tt = 1; tt <= t; tt++)
#ifndef ONLINE_JUDGE
#define debug(args...) fprintf(st... | [
"gabfeol@gmail.com"
] | gabfeol@gmail.com |
2d742a16f5642695c5477b2b53a0fb77672bdda5 | d49a0b29d707630c25e3fe3b615c4cb028ba9d92 | /BOJ/BOJ1774.cpp | 5700cc17b53bfb8a0451f5abf403588671e0e79d | [] | no_license | travelbeeee/ProblemSolving | 45036ad3134a4c17b394436c9a8f2a7763dc3287 | 59a7a031239fed6ad5488a864180cb2ff1fe7653 | refs/heads/master | 2023-08-30T12:25:07.418892 | 2021-11-14T13:32:49 | 2021-11-14T13:32:49 | 285,972,193 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,770 | cpp | /*
MST Kruskal
Kruskal 알고리즘을 이용해서 MST를 만든다.
이때, 이미 연결된 통로들은 road를 만들지 않아도 되므로
거리를 답에 추가하지 않고 그냥 사용한다.
* 주의할 점 *
좌표가 최대 0 ~ 10^6 이므로
피타고라스를 이용해 거리를 구할 떄 int 범위를 초과한다.
*/
#include<iostream>
#include<queue>
#include<cmath>
using namespace std;
using ll = long long;
int N, M;
int p[1001];
pair<int, int> poin... | [
"noreply@github.com"
] | noreply@github.com |
d4c0f1a852c368cff63d3600c8336bd2731f3b55 | c51febc209233a9160f41913d895415704d2391f | /library/ATF/_notify_buy_cashitem_mode.hpp | 982581e664ace8b938f2343ff1f81220e949531f | [
"MIT"
] | permissive | roussukke/Yorozuya | 81f81e5e759ecae02c793e65d6c3acc504091bc3 | d9a44592b0714da1aebf492b64fdcb3fa072afe5 | refs/heads/master | 2023-07-08T03:23:00.584855 | 2023-06-29T08:20:25 | 2023-06-29T08:20:25 | 463,330,454 | 0 | 0 | MIT | 2022-02-24T23:15:01 | 2022-02-24T23:15:00 | null | UTF-8 | C++ | false | false | 358 | hpp | // This file auto generated by plugin for ida pro. Generated code only for x64. Please, dont change manually
#pragma once
#include <common/common.h>
START_ATF_NAMESPACE
struct _notify_buy_cashitem_mode
{
enum __MODE
{
M_BYGOLD = 0x0,
M_BYCASH = 0x1,
};
... | [
"b1ll.cipher@yandex.ru"
] | b1ll.cipher@yandex.ru |
5e855d5cd3ee87b7cf46aee7a23382f6dae1e632 | 62cd39cf1cdcf279996d60d4dc53961183df8741 | /CppNuts-master/cpp mcq/pack2/31.cpp | 7412713cdc57917ca1c6bd5d9197847652375e4f | [] | no_license | vishnu-somasekhar/cpp | 645653b9b3a985c84fa0ae775642f4c9cde1ca5c | 3e9b0c0a02cb93b60906bcd514da42668409f435 | refs/heads/master | 2021-10-23T23:39:32.568663 | 2021-10-16T00:45:57 | 2021-10-16T00:45:57 | 240,919,330 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 512 | cpp | #include <iostream>
using namespace std;
class Base {
int _x;
public:
Base(int x):_x{x} {}
int getValue() { return _x; }
};
class Dase {
Base b;
public:
Dase (int x) { b._x = x;}
Base& getBase() { return b; }
};
int main() {
Dase b(10);
cout << b.getBase().getValue() << endl;
return 0;
}
// A. 10
// B. 0
... | [
"vishnusomasekhar@live.com"
] | vishnusomasekhar@live.com |
1491b87ee833c72da1a37e42c3b3ab69c4dc894b | bcf138c82fcba9acc7d7ce4d3a92618b06ebe7c7 | /gta5/0x352A9F6BCF90081F.cpp | 1abaf33dff5322e315269ad2f69ed69e9f478558 | [] | no_license | DeepWolf413/additional-native-data | aded47e042f0feb30057e753910e0884c44121a0 | e015b2500b52065252ffbe3c53865fe3cdd3e06c | refs/heads/main | 2023-07-10T00:19:54.416083 | 2021-08-12T16:00:12 | 2021-08-12T16:00:12 | 395,340,507 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 242 | cpp | // josh3.ysc @ L36848
int func_294(struct<3> Param0, float fParam3)
{
struct<3> Var0;
if (FIRE::GET_CLOSEST_FIRE_POS(&Var0, Param0) && MISC::GET_DISTANCE_BETWEEN_COORDS(Var0, Param0, true) < fParam3)
{
return 1;
}
return 0;
} | [
"jesper15fuji@live.dk"
] | jesper15fuji@live.dk |
e549e6e1d2b5d187fa5314bf04c865a95cf42538 | c60b1b5d2467b2c2c26e428c962113ccbb439c5a | /src/plugin_manager.cpp | 7fb939641040f2e9f94b0929414adf1eb8f0ff3c | [] | no_license | tecywiz121/plugins | ba25f74369236a97635f35e9df353aa98a2c12a7 | 97e569f919047e2006249780dbc41f2b3a214dac | refs/heads/master | 2020-05-20T10:41:17.336660 | 2013-09-12T13:41:22 | 2013-09-12T13:41:22 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,243 | cpp | #include <unordered_map>
#include <stdexcept>
#include <vector>
#include <iostream>
#include <memory>
#include "plugin_description.hpp"
#include "plugin_manager.hpp"
#include "plugin_library.hpp"
#include "plugin.hpp"
#include "function.hpp"
plugin_manager::plugin_manager()
{
}
void plugin_manager::register_functio... | [
"tecywiz121@hotmail.com"
] | tecywiz121@hotmail.com |
ba97dc935b6f61506e602164f2ea7b0bd503a292 | da8f609c1d4cbc892b8772623f31b2c0ea57fe91 | /Algorithm/luogu/game p2148.cpp | 33c143eca89894dd3c1e5baf12e7d0434e07a2d5 | [] | no_license | Nillouise/Algorithm | a92407bd2877d494af1aed99cd8ee063d4ce8cb8 | c52a7c4ced42adb2cf961c147037ba84490bacba | refs/heads/master | 2020-06-15T11:18:21.628395 | 2018-07-28T15:54:16 | 2018-07-28T15:54:16 | 75,299,753 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,482 | cpp | #include<bits/stdc++.h>
using namespace std;
typedef long long LL;
LL N, dat[10000*3];
int gx(LL x)
{
if(x==1)return 0;
set<int> s;
for(int i=1;i<=x/2;i++)
{
s.insert(gx(i));
s.insert(gx(x-i));
}
int i=0;
for(auto a:s)
{
if(a!=i)
{
... | [
"LovelyNihilism@outlook.com"
] | LovelyNihilism@outlook.com |
fb016d98674a98d24fc40c67e7da6ba325a5730a | 60193311299ad70a697da3a65699fcd8b63bf264 | /Orge-Study/ogre_src_v1-8-0/Components/RTShaderSystem/src/OgreShaderExLinearSkinning.cpp | 3470594fc10dcc8d97d3e4f90499c8a4478c94a3 | [] | no_license | DGHeroin/Mirror-GLSL-Study | cd6fac3967173f9bf77d8d32776508fa81a98d86 | 9df468c5d8cc77bd89f4185230fd0b34c3721cad | refs/heads/master | 2021-09-23T23:30:59.336825 | 2017-07-03T16:14:42 | 2017-07-03T16:14:42 | 96,129,238 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 16,565 | cpp | /*
-----------------------------------------------------------------------------
This source file is part of OGRE
(Object-oriented Graphics Rendering Engine)
For the latest info, see http://www.ogre3d.org
Copyright (c) 2000-2012 Torus Knot Software Ltd
Permission is hereby granted, free of charge, to any person... | [
"ade.li.indie@gmail.com"
] | ade.li.indie@gmail.com |
c3acadb0861d8e87dffa42e6a93c85083133fc07 | b88eeed20d442c3e164c727a97db7bdf1935b70f | /contrib/brl/bseg/boxm2/ocl/algo/boxm2_ocl_update_color.cxx | d6e3dbbd8805ee50ecdeb97a5e4e4ca145a1c05a | [] | no_license | huanghailiang/vxl-1.17.0 | be3b4909ef31efc2aa0eb4ee884e5190704ca060 | c3076ac1013f10a532fe6d6b3c5f5b78eb26466e | refs/heads/master | 2021-07-23T04:05:36.954717 | 2017-11-01T07:23:22 | 2017-11-01T07:23:22 | 109,099,265 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 21,392 | cxx | // This is brl/bseg/boxm2/ocl/algo/boxm2_ocl_update_color.cxx
#include "boxm2_ocl_update_color.h"
//:
// \file
// \brief A process for updating a color model
//
// \author Vishal Jain
// \date Mar 25, 2011
#include <vcl_fstream.h>
#include <vcl_algorithm.h>
#include <boxm2/ocl/boxm2_opencl_cache.h>
#include <boxm2/bo... | [
"huanghailiang711@163.com"
] | huanghailiang711@163.com |
4bedd1fa85be97a49eb04d00810384ab647e686b | c734359d007d452dd1e83525e1716602259772c0 | /core/src/navigation/lircclient.h | edd2cd7b1affe711b1d203c6f567de57f452bb33 | [
"BSD-3-Clause"
] | permissive | Andlon/sonetta | 9cab775c6d869f02fe62ab78a951a0ffbc4a7517 | 03052b94ccb23e769d5c34475768f45e0c5972b9 | refs/heads/master | 2021-06-04T09:05:03.843449 | 2019-07-02T06:20:06 | 2019-07-02T06:20:06 | 12,359,151 | 4 | 1 | null | 2014-08-30T07:53:56 | 2013-08-25T13:09:37 | C++ | UTF-8 | C++ | false | false | 1,028 | h | #pragma once
#include <QObject>
#include <QLocalSocket>
#include <QXmlStreamReader>
#include <QHash>
#include <QString>
#include "navigation.h"
#include "../utilities/pointers.h"
class Lircmap
{
public:
Navigation::Button lookup(const QString &remote, const QString &lircButton) const;
bool parse(const QStri... | [
"andreas@fuwsoft.com"
] | andreas@fuwsoft.com |
806ab872a445b7a2125a0852752ede8ad2d3220f | 5d83739af703fb400857cecc69aadaf02e07f8d1 | /Archive2/76/02a12fb017e50e/main.cpp | c92dd0b72f178b9398a93054cbdff867247a47ad | [] | 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 | 4,835 | cpp | #pragma once
#include "traits.hpp"
#include "variant.hpp"
#include <utility>
namespace insituc
{
namespace details
{
template< typename type, bool = is_variant< unrefcv< type > >::value >
struct underlying_type;
template< typename visitable >
struct underlying_type< visitable, true >
{
us... | [
"francis.rammeloo@36614edc-3e3a-acb8-9062-c8ae0e4185df"
] | francis.rammeloo@36614edc-3e3a-acb8-9062-c8ae0e4185df |
5a7887cbaafe188e3e303155790ff445f84a33c0 | 31a0b6bd23c8558c089daf4efaa50a04cae7b11d | /151A.cpp | 57908bc4997b3e1604df82a6044ab6e000a63974 | [] | no_license | AmHackish/codeforces-solution | 45c2abb3dd45877a5145978a393407b2e0dd1892 | e8266df6a2d97bd52ff11326820f1ef58f924ad8 | refs/heads/master | 2020-08-01T03:55:32.520873 | 2020-04-13T10:57:27 | 2020-04-13T10:57:27 | 210,853,718 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 351 | cpp | #include <bits/stdc++.h>
using namespace std;
int main()
{
int n,k,l,c,d,p,nl,np;
cin >> n >> k >> l >> c >> d >> p >> nl >> np;
int a,b,h;
a = (k*l)/nl;
b = c*d;
h = p/np;
int mini,minii;
if(a < b)
mini = a;
else
mini = b;
if(mini < h)
minii = mini;
else
minii = h;
int ans;
ans = minii/n;
co... | [
"kashigarg1111@gmail.com"
] | kashigarg1111@gmail.com |
2535f6045122e52e551e2bad282bd894dfa0244a | 458d7ce4fd686e169818fe92b53d3f268259d283 | /torch/lib/THD/base/data_channels/Store.cpp | 5e3213605370e6e425a21734f91beff278e4e009 | [
"BSD-2-Clause"
] | permissive | FYXX/pytorch | 3ca11dc58ef2544fe233125fe0b2596e9db0cfe0 | 93a19f4b1a60f50382b0ad29202f5af2aeda3f26 | refs/heads/master | 2020-12-30T12:23:33.057889 | 2017-09-18T05:01:28 | 2017-09-18T05:01:28 | 91,429,584 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,421 | cpp | #include "Store.hpp"
#include "../ChannelUtils.hpp"
#include <poll.h>
#include <system_error>
#include <unistd.h>
namespace thd {
namespace {
enum class QueryType : std::uint8_t {
SET,
GET,
WAIT,
STOP_WAITING
};
} // anonymous namespace
Store::StoreDeamon::StoreDeamon(port_type port, rank_type world_size)... | [
"adam.paszke@gmail.com"
] | adam.paszke@gmail.com |
db7e22af376ddd246cfc52068385f9614edeae95 | 1b523bf1b3bfd9782227ca394ac20143baf4974c | /official/chapter05/phoneme/phoneme_feature-mr3-rel-src-b01-17_jul_2008/cldc/src/vm/share/runtime/Semaphore.cpp | bc02136980243652e20bfc4f63ec1d587bf9dd48 | [] | no_license | Joyounger/armlinuxbook | 66c80192a2d4ea068bba2e21c92067705da08949 | b7fea1d8c235cbd1f4551b5495bbacc777d91916 | refs/heads/master | 2021-05-06T10:17:58.433025 | 2018-03-31T09:14:02 | 2018-03-31T09:14:02 | 114,165,147 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,129 | cpp | /*
*
*
* Copyright 1990-2008 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License version
* 2 only, as published by the Free ... | [
"942510346@qq.com"
] | 942510346@qq.com |
f263fd9db3b1452e097366d05f0cb0d570e7abb0 | f966f69ba37033e4a320c5534a8175a9a831ef4b | /hybridge/core/HGERef.cpp | 6c0af91aef65d75d5b680e16a84fd15c0846082f | [
"MIT"
] | permissive | jcmoore/ggframework | 8281091b189a37dcc8b6d17a91a71cd901f7530d | 574933e107dedec887adae4dad84ac734f4a5116 | refs/heads/master | 2016-09-08T02:39:12.194561 | 2012-12-13T11:47:48 | 2012-12-13T11:47:48 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 156 | cpp | //
// HGERef.cpp
// hybridge
//
// Created by The Narrator on 8/21/12.
// Copyright (c) 2012 Starduu. All rights reserved.
//
#include "core/HGERef.h"
| [
"starduu@Justin-C-Moores-MacBook-Pro.local"
] | starduu@Justin-C-Moores-MacBook-Pro.local |
9b979f1e57d586689d8ceea0d081d26ef63577df | e80736776fb51ddd874979ac157eec79490a53d8 | /simple_server_main.cpp | 62a168f753e76250bb6d5ca8c580af62c2dfeae0 | [] | no_license | ioan-dragan/sockets-test | 7818e7cab48a2c5022750f38eb79b42bef477953 | 0b671166f2ecc408a75d92fabeedcdcfcb50022c | refs/heads/master | 2020-07-29T13:49:28.341218 | 2019-10-01T07:12:06 | 2019-10-01T07:12:06 | 209,828,595 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 682 | cpp | #include "ServerSocket.h"
#include "SocketException.h"
#include <string>
#include <iostream>
int main ( int argc, char* argv[] )
{
std::cout << "running....\n";
try
{
// Create the socket
ServerSocket server(30001);
while ( true )
{
ServerSocket serv_soc;
server.accept ( serv_soc );
... | [
"ioan.dumitru.dragan@gmail.com"
] | ioan.dumitru.dragan@gmail.com |
b35a88393a3bb0b16dcabc7b946ef56fa1fbe7fc | c38ec9b612cb38371c9a120a631c3f00d22e0af3 | /AtCoder Beginner Contest/ABC095/C.cpp | 455509b2090eb51fb68e4963a29047fc8a12aec2 | [] | no_license | KatsuyaKikuchi/AtCoder | 9a076e9d779b3d7b5e2b2d91b3b4ec2942b8c9fd | d7e1a4bbc24a3a51566d74bdfd24b2bb946df84e | refs/heads/master | 2020-04-12T22:22:54.503127 | 2019-11-23T15:37:21 | 2019-11-23T15:37:21 | 162,788,338 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 625 | cpp | #include <bits/stdc++.h>
using namespace std;
typedef long long int ll;
typedef pair<ll, ll> pll;
#define FOR(i, n, m) for (ll(i) = (m); (i) < (n); ++(i))
#define REP(i, n) FOR(i, n, 0)
#define OF64 std::setprecision(10)
const ll MOD = 1000000007;
const ll INF = (ll)1e15;
int main()
{
ll A, B, C, X, Y;
cin ... | [
"k.kikuchi.ah@gmail.com"
] | k.kikuchi.ah@gmail.com |
fd5df156801bb8454d859634554d1adda6f383cf | d25e16dab83049b894e0b58bed4ff3feba3e7a40 | /test_flock/main.cpp | 62e936620694ca5303452bac72fb5fcc1abe2c70 | [] | no_license | jbl19860422/linux_test | b132fc237d8da19af706b2f88a4d63ece6e83cf6 | da41527fc6eed97019d950bde6e3b8e9b0fd18bb | refs/heads/master | 2021-08-10T11:51:12.423530 | 2020-06-06T11:35:07 | 2020-06-06T11:35:07 | 188,865,469 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,080 | cpp | #include <functional>
#include <thread>
#include <unistd.h>
#include <iostream>
#include "file_locker.h"
/*
* flock不会创建文件,需要提前自己创建好锁文件或目录
* 关闭文件时,会自动释放其持有的锁
*/
int main(char argc, char *argv[])
{
auto t1 = std::make_shared<std::thread>([]() {
auto l = std::make_shared<FileLocker>("./lock.txt")... | [
"jiangbaolin@yy.com"
] | jiangbaolin@yy.com |
3ed9c40dfd0a4ce97c3a948c92b4eedd2daef369 | c6c8ebb6647556273411c0f9db8cf5fb2a80c618 | /Day500.cpp | 5cd106d70a035d8defc72607cc3c84bd905871fe | [] | no_license | dhanendraverma/Daily-Coding-Problem | 3d254591880439c48a3963045298c965790ae5be | 4bec6bc4fa72d7ab7a21332bdef78a544a9cb3df | refs/heads/master | 2023-01-19T15:26:18.508292 | 2023-01-14T07:27:12 | 2023-01-14T07:27:12 | 189,551,929 | 35 | 12 | null | null | null | null | UTF-8 | C++ | false | false | 3,121 | cpp | /************************************************************************************************************************************************************
This problem was asked by Google.
You are given an M by N matrix consisting of booleans that represents a board. Each True boolean represents a wall.
Each False ... | [
"noreply@github.com"
] | noreply@github.com |
59eb0d4677b0d164189491eec7a3b19dcd89fd43 | da3c59e9e54b5974648828ec76f0333728fa4f0c | /mobilemessaging/smum/src/SMSI.CPP | f3de9615ffb205e7147081ac5bd0f0e48f6a27d1 | [] | no_license | finding-out/oss.FCL.sf.app.messaging | 552a95b08cbff735d7f347a1e6af69fc427f91e8 | 7ecf4269c53f5b2c6a47f3596e77e2bb75c1700c | refs/heads/master | 2022-01-29T12:14:56.118254 | 2010-11-03T20:32:03 | 2010-11-03T20:32:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 21,292 | cpp | /*
* Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of "Eclipse Public License v1.0"
* which accompanies this distribution, and is available
* at the URL "http://www.eclipse.org/legal/epl-... | [
"none@none"
] | none@none |
c7048d049a787ec35a42a218b218a764c101e9b2 | 135697631c9a1fdee7a753d87ca3aad34b650add | /ksn-2020-tumpukan-balok/solutions/solution-8.cpp | 770f87c9d9c652db4aaec15ccd769169c55ae70d | [
"CC-BY-3.0",
"CC-BY-4.0"
] | permissive | ia-toki/ksn-2020 | 4f18b638a115a146183cbabca3c7099a9faec6c1 | 87cab7916383ae1e442ea991b512909c18036a3c | refs/heads/master | 2023-02-18T07:25:58.936571 | 2021-01-12T06:09:05 | 2021-01-12T06:09:05 | 328,617,789 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,105 | cpp | #include<bits/stdc++.h>
using namespace std;
const int MAX = 2e5 + 5;
int N, Q, id, le, ri, mid, res;
long long K, H[MAX], psum[MAX];
pair<int, int> potong[MAX];
pair<long long, pair<int,int> > z[MAX];
void f(int le,int ri,long long sumk,long long h){
if( le>ri )return;
int pivot = le;
long long low = H[le];
for... | [
"prabowo1048576@gmail.com"
] | prabowo1048576@gmail.com |
eecf3ec086556e25720c09561e0d39f9ece762c8 | 9f8a069f7d337a022cae89e3e5b75d161c832e2d | /CFMesh_Tutorials/cartesianMesh/cfMesh_elbow_90deg/constant/polyMesh/neighbour | 6ad92efcd00ef916fd45f54e2b2701e9303a226b | [] | no_license | Logan-Price/CFD | 453f6df21f90fd91a834ce98bc0b3970406f148d | 16e510ec882e65d5f7101e0aac91dbe8a035f65d | refs/heads/master | 2023-04-06T04:17:49.899812 | 2021-04-19T01:22:14 | 2021-04-19T01:22:14 | 359,291,399 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,097,688 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v1912 |
... | [
"loganprice2369@gmail.com"
] | loganprice2369@gmail.com | |
68d1ed557234a3e12b0277c454ff87ef8414858b | 687c14eaf6a7da7fe8ca4546aa92061d3b8d6d03 | /day03/ex03/ScavTrap.cpp | 4e2d22302a196de41ff57c7bc538d7dd0b1749e9 | [] | no_license | villabryan88/CPP_piscine | ccc99a12f6562498fe5bb502e2f946f6ef6190a4 | 3da160b542f14956c3c8a6f4edade052743869b2 | refs/heads/master | 2020-05-24T05:37:43.710013 | 2019-05-17T00:54:18 | 2019-05-17T00:54:18 | 187,118,506 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,334 | cpp | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ScavTrap.cpp :+: :+: :+: ... | [
"villabryan88@gmail.com"
] | villabryan88@gmail.com |
5d7b4a567f5a44b8bdb7c7f4de9e131e7dc7a7ef | d7fa4cc8510202f391a7c667d22205ec39f3c1cd | /Hrishikesh Dombe/Assignments/Native/02.07.2017/RTR_Transparent_Square_On_Graph/RTR_Transparent_Square_On_Graph.cpp | 48fdc818ea1269cce11554ce791506db9dd1a4ca | [] | no_license | RohitMagdum-VSI/VSIOpenGLDemos | f21ae6a91d41bbe3136e92c9c2eed985d3488607 | 763e2e3cc956122c5aad756961feb7259396d479 | refs/heads/master | 2022-02-21T21:42:53.601810 | 2022-02-10T13:51:24 | 2022-02-10T13:51:24 | 120,849,630 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,339 | cpp | //Header Files
#include<windows.h>
#include<gl/GL.h>
#include<stdio.h>
//Pre-processing Directives
#pragma comment(lib,"User32.lib")
#pragma comment(lib,"GDI32.lib")
#pragma comment(lib,"OpenGL32.lib")
#define WIN_WIDTH 800
#define WIN_HEIGHT 800
//CallBack Function Declaration
LRESULT CALLBACK WndProc(HWND, UINT, W... | [
"hrishikeshdombe@gmail.com"
] | hrishikeshdombe@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.