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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
b62da16654d6725565e464d0aece559ee65e516e | b07e39ed5b4d8934f58689572d3e2d25dad4d162 | /chapter10/10_18.cpp | 215c2951dfcccb918f80990f305d04a6da14a2d4 | [] | no_license | vibhkat/CplusplusPractice | 8b4335bab5615d69805dc332f815b7f8ade0705a | b0276c572caf045abedcb63985cd98fd42cbf036 | refs/heads/master | 2016-09-12T15:22:13.109599 | 2016-05-15T07:44:52 | 2016-05-15T07:44:52 | 58,828,614 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,236 | cpp | #include<string>
#include<algorithm>
#include<iostream>
bool isShorter(const std::string&, const std::string& );
void elimDups(std::vector<std::string>& );
void print(std::vector<std::string>& );
void biggies(std::vector<std::string>&, std::string::size_type);
int main()
{
std::vector<std::string> s {"the","quick", "r... | [
"vibh.kat@gmail.com"
] | vibh.kat@gmail.com |
74a00f3746ffc50dd20d839e87adfd043c689ba2 | 04b1803adb6653ecb7cb827c4f4aa616afacf629 | /third_party/blink/renderer/platform/heap/gc_info.h | 42a9d91da6a37dec64a925f4c8ee6bd27bd39f8e | [
"LGPL-2.0-or-later",
"LicenseRef-scancode-warranty-disclaimer",
"LGPL-2.1-only",
"GPL-1.0-or-later",
"GPL-2.0-only",
"LGPL-2.0-only",
"BSD-2-Clause",
"LicenseRef-scancode-other-copyleft",
"MIT",
"Apache-2.0",
"BSD-3-Clause"
] | permissive | Samsung/Castanets | 240d9338e097b75b3f669604315b06f7cf129d64 | 4896f732fc747dfdcfcbac3d442f2d2d42df264a | refs/heads/castanets_76_dev | 2023-08-31T09:01:04.744346 | 2021-07-30T04:56:25 | 2021-08-11T05:45:21 | 125,484,161 | 58 | 49 | BSD-3-Clause | 2022-10-16T19:31:26 | 2018-03-16T08:07:37 | null | UTF-8 | C++ | false | false | 7,085 | 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 THIRD_PARTY_BLINK_RENDERER_PLATFORM_HEAP_GC_INFO_H_
#define THIRD_PARTY_BLINK_RENDERER_PLATFORM_HEAP_GC_INFO_H_
#include <atomic>
#include "base/... | [
"sunny.nam@samsung.com"
] | sunny.nam@samsung.com |
7a55b70c39ecabb266c2e2b827ad0ad788f385bf | fc5f7089f91a31dc0b98b5ac5dfaafcd6f0098a8 | /Lab/Lab050818/Retirement_WithArrays_Ver3_1/main.cpp | 070168826e5fa99be928760bcb1eeee238340b98 | [] | no_license | HallerJohn/HallerJohn_CSC5_Spring2018 | f65c98b266aae18463bae8356f5aefca8bc0aef6 | 8553799cbe9c12323e38e5b7a95383ffd8698ec8 | refs/heads/master | 2021-04-06T20:48:10.603877 | 2018-06-05T15:07:16 | 2018-06-05T15:07:16 | 125,406,337 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,770 | cpp | /*
* File: main.cpp
* Author: John Haller
* Created on May 8, 2018, 11:26 AM
* Purpose: Retirement Fund with Arrays and mvc model and functions
*/
//System Libraries
#include <iostream> //I/O Library -> cout,endl
#include <iomanip> //Format Library
using namespace std;//namespace I/O stream library created
... | [
"4jfeoihjwfwg@oij.net"
] | 4jfeoihjwfwg@oij.net |
3a12f6098ab5a48fe5f6b32bc8b34e9e78fbd1fa | 7358678d3d80ca41e8eeabd289f1af9ce3e0e68d | /ttk/core/vtk/ttkTableDataSelector/ttkTableDataSelector.h | 6317c582ab0831a7f5e4f92ec6478bb0af4f5c07 | [
"BSD-3-Clause"
] | permissive | JonasLukasczyk/lts-sample-code | 1cda416f2db7a3aedbc8703de7b54290449991f5 | 257fbe51743a65652264751bb6471eca151132dd | refs/heads/master | 2022-12-08T13:20:59.925025 | 2020-09-02T08:11:11 | 2020-09-02T08:11:11 | 291,699,607 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,222 | h | /// \ingroup vtk
/// \class ttkTableDataSelector
/// \author Guillaume Favelier <guillaume.favelier@lip6.fr>
/// \date September 2018
///
/// \brief TTK VTK-filter that selects scalar fields on input with shallow copy.
///
/// \param Input Input scalar field (vtkTable)
/// \param Output Output scalar field (vtkTable)
/... | [
"jl@jluk.de"
] | jl@jluk.de |
94f753b643cdcce207dfdf807452a7a405188d29 | ad301435f48710497f6b31f63c54c0ed22c8b175 | /newton.h | e202e3bde29ba77729026b57ed10beba219e992a | [
"MIT"
] | permissive | Ben1980/rootApproximation | da27f5904837b22868f1a76d00a633288b742bf4 | 491557cb91370b12449d387b21f790c76c50d213 | refs/heads/master | 2021-06-18T21:14:08.607854 | 2021-03-15T06:39:01 | 2021-03-15T06:39:01 | 188,604,964 | 4 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,350 | h | #ifndef NEWTON_H
#define NEWTON_H
#include "iteration.h"
class Newton : public Iteration {
public:
Newton(double epsilon, const std::function<double (double)> &f, const std::function<double (double)> &fPrime) : Iteration(epsilon), mf(f), mfPrime(fPrime) {}
double solve(double x) override {
resetNumbe... | [
"ben.mahr@gmail.com"
] | ben.mahr@gmail.com |
59427a5f202103880c3a098e25b0739b7bf26333 | 6809b41d5a01ccf11a57a87c84b208f63ecffc0e | /Practice/Miscellaneous/makepermutations.cpp | 1711207735927a35ddcb2000ce81efec5ab07437 | [] | no_license | dalalsunil1986/InterviewPrep-CP | 59d0a5605d4061eb0b7fda5d255b44c978d7e70a | bb920c22abbc0167a097b8540e612c3b937b9874 | refs/heads/master | 2023-03-09T21:33:28.692151 | 2021-02-21T03:37:05 | 2021-02-21T03:37:05 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 400 | cpp | #include<bits/stdc++.h>
using namespace std;
int main(){
int i,j,t,n,count=0;
cin>>t;
while(t--){
cin>>n;
int a[n];
int b[n+1];
for(i=1;i<=n;i++)
{
b[i]=0;
}
for(i=0;i<n;i++)
{
cin>>a[i];
if(a[i]<=n)
{
b[a[i]]=1;
}
}
for(i=1;i<=n;i++)
{
if(b[i]!=1)
... | [
"abhishekmaira1999@gmail.com"
] | abhishekmaira1999@gmail.com |
2e783c716061861e8b72996fd99a703d8f7fa49a | 2f7963f0632059754d662871f753a7fff06e4cf0 | /0080-remove-duplicates-from-sorted-array-ii.cpp | 1ffac71f4b9b8ed6bf2c5b7f0747018d8f42c412 | [
"Apache-2.0"
] | permissive | Jamesweng/leetcode | 216dce26bfb941245bc271439241864dd63c1993 | 1711a2a0e31d831e40137203c9abcba0bf56fcad | refs/heads/master | 2020-06-01T19:25:07.056179 | 2020-02-22T15:39:52 | 2020-02-22T15:39:52 | 190,899,812 | 108 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 918 | cpp | class Solution {
public:
int removeDuplicates(vector<int>& nums) {
if (nums.empty()) return 0;
int REMOVED = 0x7ffff2ff;
int cur, cnt;
for (int i = 0; i < nums.size(); ++i) {
if (i > 0 && nums[i] == cur) {
cnt++;
if (cnt > 2) nums[... | [
"cnshoit@gmail.com"
] | cnshoit@gmail.com |
b3a6e43004b8a05490506ce44d6ec3718e1cbde4 | a9c359681631e8344f55163a2d69018ed02c0a90 | /openr/prefix-manager/PrefixManager.cpp | 86e6390a47891832046ea4ca20441b55e908a4ca | [
"MIT",
"LicenseRef-scancode-proprietary-license"
] | permissive | facebook/openr | 66c82707ae47fa5ed711c20f0355ad7100a3cf1c | 8e4c6e553f0314763c1595dd6097dd578d771f1c | refs/heads/main | 2023-09-03T02:55:03.399114 | 2023-07-26T16:46:46 | 2023-07-26T16:46:46 | 108,306,129 | 936 | 295 | MIT | 2023-08-31T23:03:31 | 2017-10-25T17:59:53 | C++ | UTF-8 | C++ | false | false | 62,989 | cpp | /*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include <fb303/ServiceData.h>
#include <folly/IPAddress.h>
#include <folly/futures/Future.h>
#include <folly/logging/xlog.h>
#in... | [
"facebook-github-bot@users.noreply.github.com"
] | facebook-github-bot@users.noreply.github.com |
ac3b8e69970e2d2d9d6929a97ad451b3fe4b8ff6 | 81e80325c5c2c87a437c25c6e7def8efb951f367 | /SeaAsiaDX11/SeaAisa/SeaAisa/imgui_demo.cpp | e6ec5d718b2696c74a87eb3ea5e78ce7868ba269 | [] | no_license | ChengGongXTU/SeaAsia | a1279920e22affe2f53e590e59790b833f2de1ab | 5f14208f00fdd69e99e8b055ffe5fd3c11a6e2b6 | refs/heads/master | 2021-06-02T17:22:48.748708 | 2020-10-15T12:58:31 | 2020-10-15T12:58:31 | 91,355,785 | 8 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 125,912 | cpp | // dear imgui, v1.50 WIP
// (demo code)
// Don't remove this file from your project! It is useful reference code that you can execute.
// You can call ImGui::ShowTestWindow() in your code to learn about various features of ImGui.
// Everything in this file will be stripped out by the linker if you don't call ImGui::Sh... | [
"chenggong.office@foxmail.com"
] | chenggong.office@foxmail.com |
816cecf6b99e1aef8aea29aa7da6bd7f165568f1 | 129e1d8a5c83ec49697d1e70a7feb0afe8a03b43 | /include/DataInput.h | 033ca85be8b1b04fa37e7bb8fc431d400208caba | [] | no_license | FlorinMetzler/KonvexeHuelle_ALGO | 3d8a14927f61bbf58a60d1cc9c572343e5f8e8f4 | 7ed4be0dff45e3c73895a9f75c7318dc5d12c48e | refs/heads/master | 2020-06-17T07:30:51.590211 | 2016-11-19T08:15:22 | 2016-11-19T08:15:22 | 75,018,165 | 0 | 0 | null | 2016-11-28T22:01:34 | 2016-11-28T22:01:34 | null | UTF-8 | C++ | false | false | 238 | h | #pragma once
#include <vector>
#include "Point.h"
void getPointsFromFile(const char* path, std::vector<Point*>* out_points);
void getPointsFromRandom(std::vector<Point*>* out_points, int amount, int upper_bound, int lower_bound = 0);
| [
"Schnullerpip@gmail.com"
] | Schnullerpip@gmail.com |
71d03975b9988ed599bf66ec1c36de3b09394cf6 | eded95d9e891342b51a686a4ae13c1eea96e1583 | /PalindromePartitioningII.cpp | e1c15149641a8ef6ec9b3f819145ac4bc8fc6c3f | [] | no_license | suzhiyang/leetcode | caedddf3b6abb783f92bf91acb84e0e0ef664835 | dc1cbaf25f6c2d12021cfffce88e54f0a29510e6 | refs/heads/master | 2021-01-18T22:46:51.577537 | 2016-08-03T15:40:59 | 2016-08-03T15:40:59 | 14,562,268 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,270 | cpp | #include <vector>
#include <string>
#include <climits>
#include <iostream>
using namespace std;
class Solution {
public:
bool ispalindrome(string &s, int i, int j, vector<vector<int> > &p)
{
if (p[i][j] >= 0) return p[i][j];
if (i == j) p[i][j] = 1;
else if (i == j - 1)
{
... | [
"suzhiyang@gmail.com"
] | suzhiyang@gmail.com |
c10789a9f855b275ccce98f6d62a3f6bdcea3379 | c44812ff897f56aef81df7453acbad84cec59f4e | /Classes/PauseLayer.cpp | fee785093d6ca89ce96a4ed8b56542b861855837 | [] | no_license | epeaktop/cake | 73371082843766880a04bbcf0e2120583398927f | 72b956843fbab40a6fa9cff9c53a730e970beb52 | refs/heads/master | 2021-01-23T01:46:45.200278 | 2017-05-09T22:46:40 | 2017-05-09T22:46:40 | 85,935,295 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,483 | cpp | #include "PauseLayer.h"
#include "InGameScene.h"
#include "StartScene.h"
#include "AppDelegate.h"
#include "Defines.h"
#include "HelpScene.h"
using namespace cocos2d;
using namespace CocosDenshion;
// on "init" you need to initialize your instance
bool PauseLayer::init()
{
bool bRet = false;
do
{
... | [
"509594442@qq.com"
] | 509594442@qq.com |
6ab7e7e64426be36b5bd19fdc13c2ce205120ce9 | 181841bfa62a45d123db5696913ed9ae62c17998 | /C01/ex07/practice_1/main.cpp | f8073626c9b223170a2c77ad152015faecbe2542 | [] | no_license | PennyBlack2008/CPP_Practice | fadaaaa9f28abe5bfc673de88b47a1940a3b6378 | ee2a7fe13f97427645061ab8fe35cab0f95121f5 | refs/heads/master | 2023-04-03T11:30:33.525216 | 2021-04-20T11:20:02 | 2021-04-20T11:20:02 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,748 | cpp | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* main.cpp :+: :+: :+: ... | [
"jikang@c6r10s6.42seoul.kr"
] | jikang@c6r10s6.42seoul.kr |
df4a2a5f1b63a7e3b1f15d24c394b192f0ce0d85 | ffd5d6f2b8b36070fc5c3bba3a4640d2c3b960a6 | /include/etl/order.hpp | 491ec1f0c64f8e6f273ad2113df35310e770606f | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | hanaa-mohamed/etl | 0bab33faa5f21a04e2d1326a9dede3f7bfa3c166 | 54eb8d079e260a6c6747dfc130bde8ec5369bfd7 | refs/heads/master | 2021-08-14T21:46:43.977952 | 2017-11-16T20:55:34 | 2017-11-16T20:55:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 773 | hpp | //=======================================================================
// Copyright (c) 2014-2017 Baptiste Wicht
// Distributed under the terms of the MIT License.
// (See accompanying file LICENSE or copy at
// http://opensource.org/licenses/MIT)
//==================================================================... | [
"baptiste.wicht@gmail.com"
] | baptiste.wicht@gmail.com |
6b5c35a1749b02ee0df37496e5a3c740f0da1131 | 3fa1397b95e38fb04dac5e009d70c292deff09a9 | /BaiTap_KTLT_0114_007_c1/BaiTap_KTLT_0114_007_c1.h | 62c9fe20a4d6d768eafb29495ce478ad56ea2a1a | [] | no_license | nguyennhattruong96/BiboTraining_BaiTap_KTLT_Thay_NTTMKhang | 61b396de5dc88cdad0021036c7db332eec26b5f3 | 1cac487672de9d3c881a8afdc410434a5042c128 | refs/heads/master | 2021-01-16T18:47:05.754323 | 2017-10-13T11:15:01 | 2017-10-13T11:15:01 | 100,113,344 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 232 | h | #ifndef __BaiTap_KTLT_0114_007_c1_H__
#define __BaiTap_KTLT_0114_007_c1_H__
#include <iostream>
#include <string>
using namespace std;
int Input(string sMessage);
void TinhTong(int n);
#endif // !__BaiTap_KTLT_0114_007_c1_H__
| [
"nguyennhattruong96@outlook.com.vn"
] | nguyennhattruong96@outlook.com.vn |
786e3dde1852f7d5c9c2a3a4e2e54ace37cd9323 | e17546794b54bb4e7f65320fda8a046ce28c7915 | /Test/Native/Src/SPI/eeprom_stm95x.cpp | 4bacd583e7263fa79632c698c861f5bafdc1d853 | [
"BSD-3-Clause",
"OpenSSL",
"MIT",
"LicenseRef-scancode-openssl",
"LicenseRef-scancode-ssleay-windows",
"Apache-2.0"
] | permissive | smaillet-ms/netmf-interpreter | 693e5dc8c9463ff0824c515e9240270c948c706f | 53574a439396cc98e37b82f296920c7e83a567bf | refs/heads/dev | 2021-01-17T22:21:36.617467 | 2016-09-05T06:29:07 | 2016-09-05T06:29:07 | 32,760,598 | 2 | 1 | null | 2016-04-26T02:49:52 | 2015-03-23T21:44:01 | C# | UTF-8 | C++ | false | false | 2,885 | cpp | ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// Copyright (c) Microsoft Corporation. All rights reserved.
///////////////////////////////////////////////////////... | [
"morteza.ghandehari@microsoft.com"
] | morteza.ghandehari@microsoft.com |
ee82d87fef164e536eb74345376d9730420d1d9b | b0c687faa51a57662ecc3e0f667d3b0501476df8 | /13.cpp | 5d5924a13c168bfe7a21a8f91ff93e43f79c9e02 | [] | no_license | TrungKenbi/BaiTap-CSLT | cd1f35d96b8a5ed28edfb34e0a0d2475403aecc1 | 9d7e08ab969eb56500270555fe370c2f3b9bbbaf | refs/heads/master | 2020-04-09T12:32:01.463104 | 2019-09-24T03:02:03 | 2019-09-24T03:02:03 | 160,354,121 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 284 | cpp | #include<iostream>
#include<cmath>
using namespace std;
int main()
{
int i, n;
float x, T, S;
i = 1;
T = 1;
S = 0;
cout<<"Nhap x: ";
cin>>n;
cout<<"\nNhap n: ";
cin>>n;
while(i <= n)
{
T = pow(x, (2 * i ));
S = S + T;
i++;
}
cout<<"\nTong la: "<<S;
return 0;
}
| [
"trungkenbi@hotmail.com"
] | trungkenbi@hotmail.com |
d3c361c0c8885874801e1d91845b88f7001516e7 | 37d7eb7ac7c5238bfd43900ac1a10ca601f2dcd2 | /Senior/CS475/GL-Examples/appCtl-6.cpp | 0e043f451b13e495e292536ed44924961aa2cbf7 | [
"MIT"
] | permissive | kalaarentz/CollegeCode | 9cb493b1a8238ca9fb87a900d33a5cfc76232f40 | b906a85880d846c69d925c14859b873010e204cd | refs/heads/master | 2020-03-19T04:40:04.891795 | 2018-06-02T21:54:00 | 2018-06-02T21:54:00 | 135,852,084 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,131 | cpp | #include <stdio.h>
#include <stdbool.h>
#include "platformGL.h"
#include "appCtl.h"
#include "draw.h"
#include "trackball.h"
#include "colors.h"
#include "model.h"
#include "stdModels.h"
#include "json.hpp"
json state = json({});
/* define lighing model data */
GLfloat lightPos[] = { 1.0, 1.0, 1.0, 0.0};
GLfloat lig... | [
"arentz.kala@uwlax.edu"
] | arentz.kala@uwlax.edu |
800c4bb5452fa6a5546a374fd79d734ca27d9fa5 | 520647be9af9b8b4f5ed9f32e53c8fec1407ef8b | /solutions/cpp/problem0118.cpp | 0f4721af0ca6c1c9627aef986c520957eaf175b9 | [] | no_license | gxyau/leetcode | 0419453affec44a6520859f6a6f07701d204b14d | 61e966ab3d6182c9d10a8f8f9aabf2717ea4c23e | refs/heads/master | 2021-06-27T00:39:33.544665 | 2020-09-20T21:15:32 | 2020-09-20T21:15:32 | 149,101,979 | 0 | 0 | null | 2020-09-20T21:15:33 | 2018-09-17T09:34:17 | C++ | UTF-8 | C++ | false | false | 1,112 | cpp | // Problem 118, Pascal Triangle
#include <iostream>
#include <vector>
using std::vector;
class Solution118 {
public:
vector<vector<int>> generate(int k) {
vector<vector<int>> pascal;
vector<int> row;
for (int nrow = 0; nrow < k; ++nrow) {
row = vector<int... | [
"GuoXian.Yau@gmail.com"
] | GuoXian.Yau@gmail.com |
eb1a771fa60751948e3ba6bd35188e6509429fbc | eaf5c173ec669b26c95f7babad40306f2c7ea459 | /arc030/arc030_1.cpp | 08a648e2dca550e198171d60bd1c92bd3fdce75f | [] | no_license | rikuTanide/atcoder_endeavor | 657cc3ba7fbf361355376a014e3e49317fe96def | 6b5dc43474d5183d8eecb8cb13bf45087c7ed195 | refs/heads/master | 2023-02-02T11:49:06.679743 | 2020-12-21T04:51:10 | 2020-12-21T04:51:10 | 318,676,396 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,242 | cpp | #include <bits/stdc++.h>
using namespace std;
const double PI = 3.14159265358979323846;
typedef long long ll;
const double EPS = 1e-9;
#define rep(i, n) for (int i = 0; i < (n); ++i)
//#define rep(i, n) for (ll i = 0; i < (n); ++i)
//typedef pair<ll, ll> P;
typedef pair<ll, ll> P;
const ll INF = 10e17;
#define cmin(x... | [
"riku@tanide.net"
] | riku@tanide.net |
cdf44745d64b435ccc682e77d255290238ad4538 | 6247da4b1db6748ea7f28bcdab8a01b8d3684efc | /2019.12.04/StringSortLength.cpp | 70b634cf78243ba1990c03c6fde1d2a227c5c1c2 | [] | no_license | zamaygeniy/homework | 92c1c064fad25f87664083186e852e78680a7b55 | 4242a71d8047f5efeeefdf37c13dc53181950a34 | refs/heads/master | 2022-09-06T08:42:45.163523 | 2020-06-01T16:19:35 | 2020-06-01T16:19:35 | 209,242,123 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,734 | cpp | #include <iostream>
#include "workWithString.h"
using namespace std;
char** createWords(char[], int&);
void displayWords(char**, int);
void SortString(char**, int&);
void swap(int*, int*);
int main()
{
char source[] = "Lorem, Ipsum is simply dummy text "
"of the printing and ,type setting !! industr... | [
"noreply@github.com"
] | zamaygeniy.noreply@github.com |
84e9b0ae6ae0012c8fdcd9efe58d1e1fad755add | 87d1b44f8c61c7800542f37d69a9761858105336 | /week6/arrayMax.cpp | c04a0f954db107aa66e8920af2b420884c56f47e | [] | no_license | banghartOSU/165 | 36aabfb77816e3c20ad19be1b9d488407011484b | 567b4aed2ee11583e9a858d56a3a806dff442cab | refs/heads/master | 2020-05-01T10:55:12.992149 | 2019-11-15T06:02:09 | 2019-11-15T06:02:09 | 177,430,422 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 812 | cpp | /*****************************
* Author: Thomas Banghart
* Date: 05/05/2019
* Description: arrayMax uses recursion to determine
* the largest element in an array of integers and returns that
* integer.
*****************************/
#include<iostream>
int arrayMax(int arr[], int size){
//Base case - if ther... | [
"banghart@oregonstate.edu"
] | banghart@oregonstate.edu |
a4c4301cc63a3dcd49c2dbda18afe24c307d5228 | 832ed74d61f94637662b1bab2e4936593da9786d | /src/irc.cpp | 61744b57f23b0c41101f446f444de77b6d5329e2 | [
"MIT"
] | permissive | cryptoghass/koku | e4c9925984522d560b0fc606f7831c7b4b0cded6 | 8c2bbf7a659420202a357b896cdfae7cd1cc4f36 | refs/heads/master | 2020-06-22T22:54:47.413956 | 2018-10-07T13:00:55 | 2018-10-07T13:00:55 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,972 | cpp | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2012 The Bitcoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "irc.h"
#include "net.h"
#include "strlcpy.h"
#include "base58.h"
using ... | [
"you@example.com"
] | you@example.com |
ba0b0889750111757b0286db9d93289d2152b3af | 64297a9b7b7c3f0083c922f9c4ec9a9477bc8417 | /Part 01/Chap 02/q02-1-3_SwapPointer.cpp | 7c73b5f203cdbd68792ea1ba2e8d02d2d791d424 | [] | no_license | SeyoungYoo/ardor_C-plus-plus | 607dd79add4e40937bdd041cdbb9af9cdc5533eb | e1797466f32859b17a15aa26bd6dd7e462785097 | refs/heads/master | 2022-12-04T02:16:36.660356 | 2020-08-31T05:10:03 | 2020-08-31T05:10:03 | null | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 701 | cpp | #include <iostream>
using namespace std;
void SwapPointer(int *(&ptr1), int *(&ptr2))
{
int *temp;
temp = ptr1;
ptr1 = ptr2;
ptr2 = temp;
}
int main(void)
{
int num1=5;
int *ptr1=&num1; // ptr1이 num1을 가리키도록 한다.
int num2=10;
int *ptr2=&num2; // ptr2이 num2을 가리키도록 한다.
cout<<"기존 ptr1이 가리키던 숫... | [
"noreply@github.com"
] | SeyoungYoo.noreply@github.com |
dc77973f1326522cc791666ee928d0e6098c0ad4 | eb588f91afa14ddb027d28cbc883e8e472a076f6 | /prob2-1_kaisan.h | fa61069c44c00e8dcf6014a1768338448614880e | [] | no_license | kawauso-github/cpp | 1ed8193a3d0727e9bdb23d7e86bff4243770a4c4 | 4076873463846a0a8e8329f2640b11f3cbe676f7 | refs/heads/master | 2023-05-28T20:36:27.424677 | 2021-06-07T08:01:22 | 2021-06-07T08:01:22 | 374,580,959 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 148 | h | #ifndef _KEISAN_H_
#define _KEISAN_H_
class Keisan{
public:
int add();
int sub();
int a;
int b;
};
#endif // _KEISAN_H_
| [
"fred.datum.koike@gmail.com"
] | fred.datum.koike@gmail.com |
46080b52e82869c55d01149bb378c0eb6d319be3 | 874da81ddfbfd07dd6b57577cbacf47c7d19ceda | /player.h | c646c060ca7cbf62110183bc10c3cb6153be27bd | [] | no_license | Pengwin3/Assigment-1-CS361 | 08b1b4b8a398e7b47720f73f6d7c54ef10266afd | 219f19c390954970e66fbb3a7edc658e46ac610e | refs/heads/master | 2021-01-21T11:53:29.320626 | 2017-08-31T20:44:34 | 2017-08-31T20:44:34 | 102,032,171 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,399 | h | #ifndef __PLAYER_H__
#define __PLAYER_H__
#include <string>
#include "game.h"
class Player
{
public:
/* START CHANGE BLOCK */
/* END CHANGE BLOCK */
public:
void initialize(unsigned int gameCount)
{
m_GameCount = gameCount;
m_Games = new Game*[gameCount];
}
std::string getName() const
{
return m_Nam... | [
"devin.hagerty95@gmail.com"
] | devin.hagerty95@gmail.com |
f7d0975e33b8389df6f9b47514c680964add7030 | 70b374716ddd1d117d4eb7b88581757abc022020 | /8/exp_insertionsort.cpp | 0e003c3808eadd45f2b2caa82fc70009a4fcde33 | [] | no_license | asepasunis/cplus2-adsd | 5d23289c70ad6c2272ac24a30794cb56d811f75a | 5583e53a1e316f8bba67cb4ae7ae40d15542cbcb | refs/heads/main | 2023-06-19T19:21:28.092226 | 2021-07-20T21:24:18 | 2021-07-20T21:24:18 | 351,061,186 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 554 | cpp | #include <iostream>
#include <string>
using namespace std;
#define n 7
//gcc -g -o b2 exp_insertion.cpp -lstdc++
int main()
{
int i,k,X ;
int A[n] = {15,10,7,22,17,5,12};
cout << "Sebelum di sort"<<endl;
for (i=0;i <= n-1;i++){
cout << A[i] <<endl;
}
for(k=1; k<= n-1; k++){
i=k;... | [
"asep.abdul.sofyan@gmail.com"
] | asep.abdul.sofyan@gmail.com |
a9901a091e1a09321a129653ee5ea43c7e2cf224 | 011006ca59cfe75fb3dd84a50b6c0ef6427a7dc3 | /codeforces/practice/george_and_cards.cpp | 220d35d92e0cafd706391951280b9e3e04cdcb11 | [] | no_license | ay2306/Competitive-Programming | 34f35367de2e8623da0006135cf21ba6aec34049 | 8cc9d953b09212ab32b513acf874dba4fa1d2848 | refs/heads/master | 2021-06-26T16:46:28.179504 | 2021-01-24T15:32:57 | 2021-01-24T15:32:57 | 205,185,905 | 5 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 3,433 | cpp | #pragma GCC Optimize("O3")
#pragma GCC Optimize("unroll-loops")
#include<bits/stdc++.h>
using namespace std;
const int N = 1e6;
int sumTree[(N+10)<<2],minTree[(N+10)<<2];
int n, k ,temp;
void MinUpdate(int id, int val, int node = 1, int start = 0, int end = n-1){
if(start == end){
minTree[node] = val;
... | [
"mahajan.ayush2306@gmail.com"
] | mahajan.ayush2306@gmail.com |
895a950eef9f161a87e59416370aa6891d2dbadb | 164c2327666391406f1b9d3755f8fe2dc552ac4e | /src/algorithm/data/writefile/WriteResultsInFile.cpp | c854a814efa90ef0dac86404c4d57a87d6b6f43c | [] | no_license | AlbertoCasasOrtiz/Grammatical-Evolution | 9955a594f6fe9a04973c8b47e46f32a40478443d | d85a4f6011ebb50cc4969741f5d1f89d3c323314 | refs/heads/master | 2022-01-18T23:56:47.867349 | 2019-04-25T14:06:35 | 2019-04-25T14:06:35 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,116 | cpp | //
// Created by Alberto Casas Ortiz.
//
#include "WriteResultsInFile.h"
#include "../../configuration/Configuration.h"
#include "../../problem/functions/Functions.h"
#include "../../qualitymeasures/QualityMeasures.h"
void WriteResultsInFile::writeResults(ExecutionData *data) {
std::ofstream file;
file.open (... | [
"albertocasasortiz@gmail.com"
] | albertocasasortiz@gmail.com |
09a21ff403fb1cbe454d84af1cb1a3d0f0bfbecf | c6e9e30cb39698c346eb24b3eeef7e3a5c570032 | /gnuradio/build_debug/gr-trellis/lib/metrics_c_impl.h | c545b0d86f65a4655872ef481d589664e478640e | [] | no_license | Darren2340/local_gnuradio | 283ae020e21a64607fd0721f0c54217dccb5655d | db05a74ab64a5dfae6bca70dfcf57019153c64b5 | refs/heads/master | 2021-01-20T11:25:54.372134 | 2014-07-14T23:42:55 | 2014-07-14T23:42:55 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,030 | h | /* -*- c++ -*- */
/*
* Copyright 2004,2012 Free Software Foundation, Inc.
*
* This file is part of GNU Radio
*
* GNU Radio 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, or (at your o... | [
"rjmccabe@rockwellcollins.com"
] | rjmccabe@rockwellcollins.com |
485eb6adf2e09926345713cd1dca2499d3a3df99 | b05ea26fdcf8370bad36c3f304c4ecac450c7eed | /D04331.cpp | 5a6452e3f6a2114374129bed022e6f06710d0c34 | [] | no_license | walkman-z/DataStructureAndAlgorithmsHomework | 745f8ea6c67a2e483fda39584c17ffe6b522f78c | 796745ad2d1894fb08fd604d7d583f62a39cf08a | refs/heads/master | 2021-10-01T15:49:40.931531 | 2018-11-27T13:22:19 | 2018-11-27T13:22:19 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,678 | cpp | #include <iostream>
using namespace std;
typedef char TElemType;
typedef struct TNode
{
TElemType data;
TNode *left;
TNode *right;
}*BiTree;
// bool BiTreeInit(BiTree BT, TElemType e)
// {
// BT = new TNode;
// if (BT == NULL)return false;
// BT->data = e;
// BT->left = BT->right = NULL;
// return true;
// }
... | [
"shuxuekuangmo@163.com"
] | shuxuekuangmo@163.com |
690388683369522df0cbf79df1935f705bf7bd3c | aaaac089e323221e91352f366c3e0b91b51f59f9 | /fourSum.cpp | fbe5a6366f0c700aa84e788100ef183d20084c0a | [] | no_license | wondermax13/AlgorithmicProblems | c223215d2a45ab6ded8f2839164b2bc51246d79f | 41655735f93f078300ee9ececb0e41b39fcf0d95 | refs/heads/master | 2021-01-24T13:19:37.398828 | 2018-04-24T05:07:58 | 2018-04-24T05:07:58 | 123,170,742 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,000 | cpp | class Solution {
public:
vector<vector<int>> fourSum(vector<int>& nums, int target) {
vector<vector<int>> res;
int size = nums.size();
if(size >= 4) {
sort(nums.begin(), nums.end());
int index = 0;
bool ... | [
"kaustubh@whizkid.(none)"
] | kaustubh@whizkid.(none) |
9df5a779aea0e2b4a89b3d734edb47f0ca62efe6 | 03b39218d1990c99e9bf464f0e6f727373bef14f | /23.cpp | befe6134aabeea592e77bdc6302391ad71687a6c | [] | no_license | RishiRajKhanna2001/Cpp-Code | 1e052cd62066129a60a668e962600d2321d4a2f0 | d5d7c41bfe51be0794f6255ac10fd1455473575f | refs/heads/master | 2023-08-15T04:17:20.969616 | 2021-09-29T12:54:29 | 2021-09-29T12:54:29 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 336 | cpp | #include<bits/stdc++.h>
using namespace std;
int decimeltobinary(int n)
{
int x=1;
int ans=0;
while(x<=n)
x*=2;
x/=2;
while(x>0)
{
int lastdigit=n/x;
n-=lastdigit*x;
x/=2;
ans=ans*10+lastdigit;
}
return 0;
}
int main()
{
int n;
cin>>n;
cout<<decimeltobinary(n)<<endl;
retu... | [
"khannarishiraj060@gmail.com"
] | khannarishiraj060@gmail.com |
1fcd2ea5ec99378e8ba7061ab4a788b28f4fa253 | f941827476c029e9123b6079fbb394f9fdbec7ca | /src/stack/ethernet/Producer.cpp | b4ef908d7785245ec536df3281e40fb0a2fbe2da | [
"BSD-2-Clause"
] | permissive | tedqian/tulips | 451e405dbe065fac266128fbf4263326ca87a368 | 040f79f9a54bb7da85bdb87daefb9e9b2cdeade2 | refs/heads/master | 2023-02-27T21:58:37.582967 | 2020-09-04T18:29:38 | 2021-01-25T16:46:04 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,401 | cpp | /*
* Copyright (c) 2020, International Business Machines
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice,
* thi... | [
"xguerin@users.noreply.github.com"
] | xguerin@users.noreply.github.com |
1512889c1d16254bba50e11aa2013b217bc14208 | 37e83fac17dbdc15a5461dda07a113c722d1b79f | /Tools/QtBiomeVisualiser/MainWindow.h | b37bf4120b01ec108bf10e346305b6441f7b50bf | [
"Apache-2.0"
] | permissive | nesco/MCServer | f7791e637a9beca93163d4620ae758cf81e08654 | 62ae80e85be4c907fb165667ea22ad3d0a569231 | refs/heads/master | 2021-01-14T11:24:42.532073 | 2014-09-20T15:05:58 | 2014-09-20T15:05:58 | 24,263,336 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 666 | h | #pragma once
#include <QMainWindow>
#include "BiomeView.h"
class MainWindow :
public QMainWindow
{
Q_OBJECT
BiomeView * m_BiomeView;
public:
MainWindow(QWidget *parent = 0);
~MainWindow();
private slots:
/** Opens a generator definition and generates the biomes based on that. */
void generate();
/** O... | [
"github@xoft.cz"
] | github@xoft.cz |
c169e5156ba8c10936feee86c91cc0a665aed447 | 2e803a03f91db49649ec712adb96571b9425ad26 | /Error/include/Delegate.hpp | 11a5f5bc9ab34505ac0ff054e3a0729f693a5415 | [
"MIT"
] | permissive | MartinSimango/cpperror | 25e953c96865559a18efa6167628b70fa7ba8922 | 24b4fa354b8af6fb31423524b732c3b909bbdc58 | refs/heads/main | 2023-05-16T05:34:31.355598 | 2021-06-16T18:11:15 | 2021-06-16T18:11:15 | 368,664,054 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 538 | hpp | #pragma once
//Code below from influenced from:
//https://simoncoenen.com/blog/programming/CPP_Delegates#:~:text=Usage-,Delegate,reference%20count%20of%20a%20shared_ptr.
template<typename RetVal, typename Object, typename ...Args>
struct MemberFunctionPtr
{
using Type = RetVal(Object::*)(Args...);
};
template<ty... | [
"martin.simango@bsg.co.za"
] | martin.simango@bsg.co.za |
80e5f74fea6da437a1197fedc20b0a43b485320a | c5aef145a0659caf403b7fa911b9c62c339c9b06 | /client/win32/main/stdafx.cpp | 79d0d8cf508c4355c24b4e552e653f682aaae51d | [] | no_license | radtek/socksvpn | 67138605a434ea04df3c80283efdd34d4a28d677 | 33bfd08888d3ba0308bcf4eba0fded0e7882c3f4 | refs/heads/master | 2021-09-07T22:59:58.015550 | 2017-10-09T11:18:23 | 2017-10-09T11:18:23 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 238 | cpp |
// stdafx.cpp : source file that includes just the standard includes
// FullProxy.pch will be the pre-compiled header
// stdafx.obj will contain the pre-compiled type information
#include "stdafx.h"
#pragma comment(lib,"netpool.lib")
| [
"forefive003@qq.com"
] | forefive003@qq.com |
b1a715e4420a6f5df2c7fdec62cf444562fe6422 | eda1433602cfded9bce355e57fd3ebff42e8448f | /src/Player.h | 8b078dea37028f12a5b9a02f93e9feff65dfe902 | [] | no_license | Kadett/Blackjack | ad5e0c9617774ac3500015153a4c7c4a7e54c98d | cd4717dc4a27135a1d420e4a68c39b0556970ee6 | refs/heads/master | 2023-07-03T01:32:21.064843 | 2021-08-08T20:52:42 | 2021-08-08T20:52:42 | 389,134,430 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 522 | h | #pragma once
#include "GenericPlayer.h"
class Player : public GenericPlayer
{
public:
Player(const std::string& name = "");
virtual ~Player();
// показывает, хочет ли игрок продолжать брать карты
virtual bool IsHitting() const;
// объявляет, что игрок победил
void Win() const;
// объявл... | [
"Kadett0303@gmail.com"
] | Kadett0303@gmail.com |
22e7912d5c430fe5e290829628314339b86cbdba | 97184b3718e489a50c45d2a7c3c2dfbd2115edad | /src/OpenCL.cpp | adc6b7857d0a09f3cf9ab01ffbc1713755ce5b16 | [
"Apache-2.0"
] | permissive | JungleComputing/lib-opencl-wrapper | 2df34e92f65b1f90a6c7b112d11c22a0608ec54b | ccc5bc64f5a278128f0421dd5a0bf2ade2a13370 | refs/heads/master | 2021-06-19T12:32:22.197136 | 2019-06-21T15:20:54 | 2019-06-21T15:20:54 | 188,436,542 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,443 | cpp | /*
* Copyright 2019 Vrije Universiteit Amsterdam, The Netherlands
*
* 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... | [
"pieter@cs.vu.nl"
] | pieter@cs.vu.nl |
2ab667e80802a450d8ade2c7dae4acb963f65251 | 5499e8b91353ef910d2514c8a57a80565ba6f05b | /zircon/third_party/ulib/scudo/release.h | 7b2a5a5253f121184fbfc25dea2408f66e813343 | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference",
"LLVM-exception",
"NCSA",
"BSD-3-Clause",
"MIT"
] | permissive | winksaville/fuchsia | 410f451b8dfc671f6372cb3de6ff0165a2ef30ec | a0ec86f1d51ae8d2538ff3404dad46eb302f9b4f | refs/heads/master | 2022-11-01T11:57:38.343655 | 2019-11-01T17:06:19 | 2019-11-01T17:06:19 | 223,695,500 | 3 | 2 | BSD-3-Clause | 2022-10-13T13:47:02 | 2019-11-24T05:08:59 | C++ | UTF-8 | C++ | false | false | 9,238 | h | //===-- release.h -----------------------------------------------*- C++ -*-===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===---------------------------... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
a84721e0f64a2c2004d0179141b8ce5c29b78eae | c30a10d6922d317838c67ef1eccbfc21893d6dd6 | /YFileOS/YFileOS/y_cddisk_command.cpp | ae4cee3477a05f2803aad05c5115be7cda58e0c8 | [] | no_license | qxuan521/Coding | ea04462b29f0a20f91e2178eb10e4856d7e5ac8a | 4ee44f1919b652da5a2321a266533b5bfc81127f | refs/heads/master | 2020-04-15T06:19:08.188634 | 2019-03-13T16:45:59 | 2019-03-13T16:45:59 | 164,456,526 | 0 | 0 | null | 2019-03-13T16:46:00 | 2019-01-07T16:00:41 | C++ | UTF-8 | C++ | false | false | 884 | cpp | #include "y_cddisk_command.h"
#include "y_disk_operator.h"
YCddiskCommand::YCddiskCommand(const std::string& szName)
: YCommand(szName, 1)
{
}
YCddiskCommand::~YCddiskCommand()
{
}
YErrorCode YCddiskCommand::excultCommand(YCommandInfo& rCommandInfo)
{
YErrorCode rResultCode = handleCommandArg(rCommandInfo);
if (... | [
"692348665@qq.com"
] | 692348665@qq.com |
4f363cf96faa8a2d5fa5e0377c6ac8635a34f031 | b162fe92109b791059215013938437e0ee7d1a3f | /Main_code.ino | 1edb07602a45bb1523a759e7f9fb3a68923d0a12 | [] | no_license | Sanjay-sundaresan/Auto-screen | f71913a522a13e786716f72e86c14df368531d2e | 0c2bcac024a6d035fa472707b4318dd5be0afa2b | refs/heads/main | 2023-03-14T11:22:17.343780 | 2021-03-04T05:14:36 | 2021-03-04T05:14:36 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,594 | ino | #include <dht.h>
#include<LiquidCrystal.h>
// defines variables
dht DHT;
#define DHT11_PIN 9
LiquidCrystal lcd(12,11,5,4,3,2);
long duration; // variable for the duration of sound wave travel
int distance; // variable for the distance measurement
const int trigPin=7;
const int echoPin=8;
#define watrPump 10
void setup(... | [
"noreply@github.com"
] | Sanjay-sundaresan.noreply@github.com |
1c9178be237359f227034c546642bcac09c8dfd0 | 6ea49f1c9dc46d18cbc0cd7e4b3c47ac33852753 | /libharfbuzz/src/hb-ot-shape-complex-indic.cc | 6901fd84f5283fd71465abf65886e2e517a013c2 | [] | no_license | livecode/livecode-thirdparty | 45783942a3364340f0e87b7ae056900b5cf853cf | e5e050573c226f60acfbb9107c2b4aea853b0cbe | refs/heads/develop | 2023-04-04T05:54:45.696319 | 2021-02-08T17:10:57 | 2021-02-08T17:10:57 | 9,334,363 | 3 | 16 | null | 2021-02-08T17:10:59 | 2013-04-10T00:08:32 | C | UTF-8 | C++ | false | false | 59,635 | cc | /*
* Copyright © 2011,2012 Google, Inc.
*
* This is part of HarfBuzz, a text shaping library.
*
* Permission is hereby granted, without written agreement and without
* license or royalty fees, to use, copy, modify, and distribute this
* software and its documentation for any purpose, provided that the
* above... | [
"ali@runrev.com"
] | ali@runrev.com |
a541d5192a7e7f5a64a16daee552a74d00e02f1b | c41b13829f6ab9affa3df67a0a418f7bcb4e073d | /src/Plugin.cc | 0f4ebef8d054d0ac84a0a27ce4df6c6942799218 | [
"BSD-2-Clause"
] | permissive | kit-dsn/zeek-goose-analyzer | be420f91b4d805e6ac3e71381a369746ebcf05b8 | d9fc817ac46712d2b1a3fc6fab2df1a8799998bc | refs/heads/master | 2023-06-01T12:05:51.000601 | 2021-06-14T13:20:37 | 2021-06-14T13:20:37 | 376,044,269 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 549 | cc |
#include "Plugin.h"
#include <zeek/packet_analysis/Component.h>
#include "GooseAnalyzer.h"
namespace zeek::plugin::PA_Goose {
Plugin plugin;
zeek::plugin::Configuration Plugin::Configure()
{
AddComponent(new zeek::packet_analysis::Component("GOOSE",
zeek::packet_analysis::PA_Goose::GooseAnalyze... | [
"jan.grashoefer@gmail.com"
] | jan.grashoefer@gmail.com |
60dcf1b8760fc5d43f389a27d42918d4b81460a3 | bb8f6e8c09084c62ff3ae9bea2f717cbd25e340d | /11_test_buffer_filter_zlib/zlib_client.cpp | b8cc6795752537f70ccba05fcd963af69a4abd38 | [] | no_license | mehome/libevent_demo | c60ab7264800df694f941a8bb50dcd00c848262b | b76e4bec83d662211b35d7e995054ddfb9bb8c93 | refs/heads/master | 2022-02-19T23:19:08.051170 | 2019-08-19T22:07:32 | 2019-08-19T22:07:32 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,484 | cpp | #include <event2/event.h>
#include <event2/bufferevent.h>
#include <event2/listener.h>
#include <event2/buffer.h>
#include <iostream>
#include <signal.h>
#include <string.h>
using namespace std;
#define SPORT 5001
#define FILEPATH "test1.txt"
void client_read_cb(bufferevent* bev, void *arg)
{
cout << "[client R... | [
"apangtang@163.com"
] | apangtang@163.com |
a3cbc4ec3765d323f3785bd017a8ec5a6fd794d5 | d1761def4065d67bc5b7835f7988948d39221e83 | /src/bomberman/headers/animationHandler.h | a5129740ed98607878b9b295f4fd602f21623ae4 | [] | no_license | titouancreach/bomberman | e8435cb1ffd02a6bdd5dc4073fc81d9395957d4a | 55bd5000ce63d12af5fb908d93385112b4873442 | refs/heads/master | 2021-01-01T05:24:35.379129 | 2016-04-20T10:34:38 | 2016-04-20T10:34:38 | 56,246,610 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 931 | h | #pragma once
#include <vector>
#include <SFML/Graphics.hpp>
#include "animation.h"
namespace bomber { namespace animation {
class Handler {
public:
/* add a new animation */
void addAnimation(Animation &);
/* update frame */
void update(const float dt);
/* Change the animation, resetting t in the proces... | [
"titouan.creach@gmail.com"
] | titouan.creach@gmail.com |
f7439f184f513ef4ef73ec33b073f08fa264199f | df18416bc60ebd34e80a8dc2a0440e8427c066cc | /20181210/quiz_bluetooth_screamgo/quiz_bluetooth_screamgo.ino | 130ceb2639d259db7a9647f4557baf17e7163c1c | [] | no_license | hwaaa/arduino-programming-class | 2f278e924849d08646809fd6ccf58f7a8aabe1b9 | 13bc562fb893bd8df0e5238d1bfb3270cad882aa | refs/heads/master | 2020-04-09T06:28:22.526767 | 2018-12-28T06:16:45 | 2018-12-28T06:16:45 | 160,114,137 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 930 | ino | #include <SoftwareSerial.h> // 시리얼통신 라이브러리 호출
#include <Wire.h>
#include <LiquidCrystal_I2C.h>
LiquidCrystal_I2C lcd(0x3F, 16, 2);
SoftwareSerial bluetooth(2, 3); // 아두이노의 3번 TX, 2번 RX
int next = 0;
void setup() {
// put your setup code here, to run once:
Serial.begin(9600);
bluetooth.begi... | [
"hshwaa@gmail.com"
] | hshwaa@gmail.com |
f18ac41f03c43ccaa7a8928d03ebfbef2a6def95 | 62d48af115ea9d14bc5a7dd85212e616a48dcac6 | /src/serverFunctionalities/source/DispatcherServer.cc | 772f96cfacca713ef003b181c002e1cb232c461e | [
"Apache-2.0",
"LicenseRef-scancode-public-domain",
"BSD-3-Clause"
] | permissive | asu-cactus/lachesis | ab1ab1704e4f0f2d6aef1a2bff2dc99ea8f09337 | 92efa7b124a23894485a900bb394670487051948 | refs/heads/master | 2023-03-05T11:41:35.016673 | 2021-02-14T21:50:32 | 2021-02-14T21:50:32 | 151,744,205 | 2 | 0 | Apache-2.0 | 2021-02-14T16:37:54 | 2018-10-05T15:49:15 | C++ | UTF-8 | C++ | false | false | 15,962 | cc |
#ifndef DISPATCHER_SERVER_CC
#define DISPATCHER_SERVER_CC
#include "DispatcherServer.h"
#include "CatalogServer.h"
#include "PDBDebug.h"
#include "SimpleRequestHandler.h"
#include "SimpleRequestResult.h"
#include "SimpleSendBytesRequest.h"
#include "DispatcherAddData.h"
#include "BuiltInObjectTypeIDs.h"
#include "Que... | [
"jacquelinezou@gmail.com"
] | jacquelinezou@gmail.com |
3d7485d2864e20198bd1b59f94fcb4549b2716da | 54559a33e4be0e54d7223530584b53de82ec3842 | /convertisseurPresentation.cpp | 96375d2fd2a3c421db74478a3e48f1a7c0f90fe7 | [] | no_license | gabRpt/convertisseur_wxWidgets | 34d3c733fd7f3d13e0ef633187a1190c5af18d21 | 3179c731e1eb374d8b97fcd4d648dbbf0773a526 | refs/heads/main | 2023-08-04T17:42:14.956351 | 2021-08-10T14:11:55 | 2021-08-10T14:11:55 | 394,676,210 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,766 | cpp | #include "convertisseurPresentation.h"
convertisseurPresentation::convertisseurPresentation():
m_vue(new convertisseurFrame),
m_modele(new convertisseurModele()){
}
convertisseurPresentation::~convertisseurPresentation()
{
delete this->m_vue;
delete this->m_modele;
}
void convertisseurPresentation::s... | [
"gabin.rpt@gmail.com"
] | gabin.rpt@gmail.com |
79149691c3cf7c5565d894293b1247952fef87bd | ca2b4ab1c217a840d5e4e9bfe427237a424f120e | /sorting/Stooge_sort.cpp | 4524f195fdcd93ffeef40c2b1800e3dbcddb13e9 | [
"MIT"
] | permissive | akshitagit/CPP | f3b9f2689bf0d563e562cdcea1e7da7b3319c859 | b2d449c4f6e704d797e00170c9336df52d0fdb64 | refs/heads/master | 2023-08-17T10:28:58.004147 | 2023-06-01T03:41:29 | 2023-06-01T03:41:29 | 295,419,598 | 549 | 589 | MIT | 2023-09-06T01:38:20 | 2020-09-14T13:09:20 | C++ | UTF-8 | C++ | false | false | 1,132 | cpp | // C++ code to implement stooge sort
#include <iostream>
using namespace std;
// Function to implement stooge sort
void stoogesort(int arr[], int l, int h)
{
if (l >= h)
return;
// If first element is smaller than last,
// swap them
if (arr[l] > arr[h])
swap... | [
"noreply@github.com"
] | akshitagit.noreply@github.com |
6f103910467ed939bf5de015bb0d7013f76faebd | 04b42e80b80a62596efca5f2077ed949b0bc8f18 | /src/TRANSFER/Employee.cpp | 60374115f3e21fbfd03b330a9787551616aaebfa | [] | no_license | kiskompi/design_patterns | 106011bf615bbaa65ea7a17648a4ac5775923900 | d63309c401f601a64698219f730da90cc98671a4 | refs/heads/master | 2021-05-15T15:46:45.580467 | 2017-12-14T23:11:38 | 2017-12-14T23:11:38 | 107,419,805 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 618 | cpp | #include "Employee.hpp"
Employee::Employee (const std::string& name,const std::string& address, const std::string& email,const std::string& phone):
m_name(name), m_address(address), m_email(email), m_phone(phone){}
std::string Employee::to_string () const {
return "'" + m_name + "','" + m_address + "', '" +... | [
"kiskompi@gmail.com"
] | kiskompi@gmail.com |
f7b60e55befefb2e9966bac7e025f561ab101d10 | 56d65579eba56b05bf83804275b4122292125b88 | /Project/Platform/Source/FilesManager.h | 5e856a58dbb11a506e9ff8b960ce1b887e0577d8 | [] | no_license | smt005/Multi | f732a1db9816a6e986eeccae83e4decdf40f44cb | 2c9a79acbeef95c8d3bdec62ca779f2025e1b13f | refs/heads/master | 2021-09-12T22:07:30.852814 | 2018-04-21T12:10:54 | 2018-04-21T12:10:54 | 116,016,935 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 213 | h | #pragma once
class FilesManager
{
public:
static char* loadTextFile(const char* fileName);
static void saveTextFile(const char* fileName, const char* data);
static char* getFullPath(const char* fileName);
};
| [
"koptyaev.a@mail.ru"
] | koptyaev.a@mail.ru |
192efb6f42f0c04fc8347cacd2edb083d2add185 | 717141200ab2ba4efad37a5ba11c2da9e08627af | /generator/rmat_generator.h | 2ad49c69e9664bb27cfc2a88600a470335dddd89 | [
"BSD-2-Clause"
] | permissive | gt-crnch-rg/beedrill | 094623787ef680f3dd358766305571366a8f9dd2 | db27672f5cb7068f8d4f59cf4ba0cc6cf1358ad8 | refs/heads/master | 2022-11-08T20:10:14.717461 | 2020-04-13T16:07:48 | 2020-04-13T16:07:48 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,701 | h |
// Adapted from the stinger project <https://github.com/stingergraph/stinger> rmat.c
#include <cassert>
#include <cinttypes>
#include <random>
#include "prng_engine.hpp"
/*
* RMAT edge generator
* Implements discard() to skip ahead in the random stream in constant time
*/
class rmat_edge_generator {
private:
/*
*... | [
"ehein@emutechnology.com"
] | ehein@emutechnology.com |
bba1bce67baf66cf013dbba7030895935b0444a2 | 52fefa071d2040348317ea65cb5e3943bb6bcad6 | /tools/win32/hsed3_footy2/Footy2/RegExpLetters.h | 4f352ea9ce854b33b92311adf8ee2f0d18f30930 | [] | no_license | zakki/openhsp | 6bc89a0831c3e67672ad40f480e858a53644b800 | a15905a6ba91b032c63874f7d74448d3f04e09a4 | refs/heads/master | 2023-03-22T13:29:53.248570 | 2023-02-05T10:10:30 | 2023-02-05T10:10:30 | 794,322 | 18 | 4 | null | null | null | null | SHIFT_JIS | C++ | false | false | 734 | h | /*===================================================================
CRegExpLettersクラス
正規表現の要素クラス。通常の文字を格納する最も基本的なクラス
===================================================================*/
#pragma once
#include "RegExpElement.h"
class CRegExpLetters : public CRegExpElement
{
public:
CRegExpLetters(const... | [
"touroku@sharkpp.net"
] | touroku@sharkpp.net |
aee5dc2565e924f3154bac66823299306937df4d | 5013c6337d73b46b6dd126d62f59e8ff398b872e | /Algorithm/getOffers/42_maxSubArray/42_maxSubArray/main.cpp | 51bdcb5c365793834b1c867018dab38cd35d2a16 | [] | no_license | dachangjin/Data-Structure-and-Algorithm | c164ab1f51ade216e01c7be5c36a0dd3afe7040f | 142412004e31dc2cbc8ab2138a53d749a0bfcc28 | refs/heads/master | 2021-08-16T01:47:12.864477 | 2021-07-29T16:51:44 | 2021-07-29T16:51:44 | 188,949,155 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 734 | cpp | //
// main.cpp
// 42_maxSubArray
//
// Created by tommywwang on 2021/6/11.
//
#include <iostream>
#include <vector>
using namespace std;
/*
https://leetcode-cn.com/problems/lian-xu-zi-shu-zu-de-zui-da-he-lcof/
连续子数组最大和
*/
class Solution {
public:
int maxSubArray(vector<int>& nums) {
if (nums.size()... | [
"309096092@qq.com"
] | 309096092@qq.com |
f12ad2e338696989792b211163e74a06a96d110c | 51a47700aa03408acc29e2888bb9962dd7c5f4c8 | /409client/release/moc_qcustomplot.cpp | 8c3960f5c081ed1d40395f6a65954ed04a7ef74e | [] | no_license | IamLJT/Lab-Summer-Project-Practice | 323782d50148205811526e6b5b006e3da7345f82 | 3236e7b3556ce5ee0db3ba504479a12c771e091a | refs/heads/master | 2020-12-02T22:22:41.113615 | 2017-07-26T02:18:30 | 2017-07-26T02:18:30 | 96,119,580 | 1 | 3 | null | 2017-07-14T11:41:39 | 2017-07-03T14:28:35 | C++ | UTF-8 | C++ | false | false | 286,928 | cpp | /****************************************************************************
** Meta object code from reading C++ file 'qcustomplot.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.8.0)
**
** WARNING! All changes made in this file will be lost!
***************************************************... | [
"18771067614@163.com"
] | 18771067614@163.com |
eafe58d700c89951b2d577587f614369347b25da | a113a30d6ebe9e370a7cb2d225362cf0e2635dcb | /SonarCocosHelperCPP/SonarFrameworks.cpp | 693be100ca8b77d079eaf7d167b3ae64493103bb | [
"MIT"
] | permissive | nickenchev/Cocos-Helper | 9a8d22c286415403acf51979221b654c770d3607 | e98ea6b080f3eb15a60279de9dc5bea1a40b2920 | refs/heads/master | 2021-01-18T02:49:14.141871 | 2015-07-11T14:08:17 | 2015-07-11T14:08:17 | 38,926,038 | 0 | 0 | null | 2015-07-11T13:07:53 | 2015-07-11T13:07:53 | null | UTF-8 | C++ | false | false | 15,319 | cpp | /*
Copyright (C) 2015 Sonar Systems - All Rights Reserved
You may use, distribute and modify this code under the
terms of the MIT license
Any external frameworks used have their own licenses and
should be followed as such.
*/
//
// SonarFrameworks.cpp
// Sonar Cocos Helper
//
// Created by Sonar Systems on 0... | [
"Sonar Systems"
] | Sonar Systems |
2ee0661d3918a81e37ebd8caa25a9f9d06ce390f | 1525009b676640b0f59539f56dfc7571e8a1a786 | /res/__zz_cib_Module-type-converter-smart-ptr.h | 77be35c5f47b6dd94d43ad732d39bd900ff01e2e | [
"MIT"
] | permissive | satya-das/cib | d402236aa59ff70d28cb61c3860e14f321cbf366 | 369333ea58b0530b8789a340e21096ba7d159d0e | refs/heads/master | 2023-06-08T05:56:47.354269 | 2021-12-05T20:18:38 | 2021-12-05T20:18:38 | 20,096,881 | 42 | 5 | null | 2019-02-15T05:18:56 | 2014-05-23T11:16:13 | C++ | UTF-8 | C++ | false | false | 4,872 | h | /*
Generated by cib for ABI compatibility and stability.
*/
#pragma once
#include "__zz_cib_Module-type-converter-base.h"
#include "__zz_cib_Module-smart-ptr-detection.h"
namespace __zz_cib_ {
template <typename T>
class __zz_cib_CoreTypeToAbiType<T, std::enable_if_t<__zz_cib_IsSmartPtr_v<T>>>
{
T& m;
publi... | [
"SatyaRanjan.Das@tomtom.com"
] | SatyaRanjan.Das@tomtom.com |
9ab3056494b63076310c1121d79441f7673ca54b | 7765e627704e54879cf2788795357b1e13ffb90d | /ex1/glfwtest.cpp | abe94370bfca67b4075a20aa9113153a60c64526 | [
"MIT"
] | permissive | smasher164/gltuts | aaa7b2fe3466ffbf8866d1147174ed8c3aca9228 | f23c4a873a493fb6b0d170ada38e7e94a4c3faa1 | refs/heads/master | 2021-01-13T01:07:36.824489 | 2017-02-13T02:39:10 | 2017-02-13T02:39:10 | 81,776,759 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,092 | cpp | #include <stdio.h>
#include <GL/glew.h>
#include <GLFW/glfw3.h>
// Function prototypes
void key_callback(GLFWwindow* window, int key, int scancode, int action, int mode);
const GLchar* vertexShaderSource = "#version 330 core\n"
"layout (location = 0) in vec3 position;\n"
"void main()\n"
"{\n"
"gl_Posi... | [
"contact@akhilindurti.com"
] | contact@akhilindurti.com |
e9d545d92d8d228635504aeea9df253dc17ec2eb | 830fa54fadf84a020219b40f152ba9fad050da85 | /src/329.longest-increasing-path-in-a-matrix.cpp | 3ee50a726d3751bf32e81abe3664aa578ff1006e | [] | no_license | Jinchenyuan/LeetCode | fbedb88c9ef7654b41da25f2c1d149ecdef6d54e | 6de769c7a3312b20d24efcb64356515f472efd4b | refs/heads/master | 2023-05-04T23:31:33.901465 | 2023-04-22T16:32:54 | 2023-04-22T16:32:54 | 186,218,266 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,095 | cpp | /*
* @lc app=leetcode id=329 lang=cpp
*
* [329] Longest Increasing Path in a Matrix
*/
#include <iostream>
#include <vector>
#include <algorithm>
using namespace std;
class Solution
{
public:
int calc_max(int i, int j, const vector<vector<int> > &matrix, vector<vector<int> > dp, int &height, int &width)
{
... | [
"jinchenyuan@outlook.com"
] | jinchenyuan@outlook.com |
e13c29825a9ecf08ce59059bcdf25075d6b09e6a | 945070781fe8ca86e4b9c9ee8b3391278e5720cb | /src/UnitObject.cpp | 7be2d220a8e70eb7951667bb238b91bb0e7758e4 | [] | no_license | Wowo10/WowoCards | 7a4a5035f81d6ba7cd04d608461f46d273f2d81c | b13872e9734fccd9bbd0a27e0bc154f81dbf7692 | refs/heads/master | 2020-12-24T10:23:47.572446 | 2017-05-20T08:41:14 | 2017-05-20T08:41:14 | 73,085,452 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,479 | cpp | #include "UnitObject.hpp"
int UnitObject::ID = 0;
UnitObject::UnitObject(const std::string& name, Course direction, ObjectType type)
: AnimatedObject(name, direction, ObjectType::UNIT)
{
id = ID++;
stance = Stance::NONE;
TID.setFont(resources->font);
TID.setPosition(GetPosition());
TID.setCharacterSize(12);
... | [
"wojtekwojtek529@gmail.com"
] | wojtekwojtek529@gmail.com |
feadefaa5717df3a0bc486d6acd6da2288953cbe | 7c8f2491f3ea9a4f9f231d56c48d7765fa64d3cb | /hc_protocols/include/mpo19/channel.hpp | 424b8315bb13c0b72d4ab03bfd1015fd1d39e53d | [
"MIT"
] | permissive | encryptogroup/SoK_ppClustering | aa57d44562e653ebbee061064f2cf401bfcda2c8 | 6b008a09bfe3f3b8074e24059ac3e2aa6b87f227 | refs/heads/main | 2023-06-05T04:48:18.971449 | 2021-06-30T07:36:45 | 2021-06-30T07:36:45 | 363,863,324 | 6 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 4,901 | hpp | // MIT License
//
// Copyright (c) 2021 Oliver Schick
//
// 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, modif... | [
"adishegde@gmail.com"
] | adishegde@gmail.com |
521e61bdf6126e050fb117c8ae2f24d4279cb3a5 | 6184dfe31c705ff32239f3d1333ad06af4cebd1a | /agnostic.cpp | 99df36a73e73a9e6cf77647041e498882c1d32cc | [
"MIT"
] | permissive | sawantaditi24/algo_ds_101 | 2bb860c2024e18aee610b9a38d98b7514479d87b | c900e48a22694de49e618feef4e9a2ccf5d7ca78 | refs/heads/master | 2023-01-01T16:00:08.099399 | 2020-10-27T14:01:46 | 2020-10-27T14:01:46 | 305,692,754 | 0 | 0 | MIT | 2020-10-27T14:01:47 | 2020-10-20T11:57:27 | C++ | UTF-8 | C++ | false | false | 1,110 | cpp | #include<iostream>
using namespace std;
int main()
{
int element,mid,start,end,arr[15],n;
cout<<"Enter the number of elements:";
cin>>n;
cout<<"\nEnter the elements: ";
for(int i=0;i<n;i++)
{
cin>>arr[i];
}
cout<<"Enter the element you want to search: ";
cin>>element;
start = 0;
end = n-1;
if(arr[0]<arr... | [
"noreply@github.com"
] | sawantaditi24.noreply@github.com |
f2e05dad337bb1add4226b11c845c84c9786e1e6 | 839652f7d74ab678d63f6a4a03b00f1fc267e1b9 | /Basic C++ Training/Programs/18_ctime_Function_demo.cpp | 6a6107d8cc29a0f9c41db76b64cb85a0ce561a0e | [] | no_license | dinhtuyen3011/cpp | 97d6ab55f49582c6797e88febdf934c3f6f5caa8 | fa8cdeb81a8110c59ec7b6697044241786df7d6b | refs/heads/main | 2023-02-04T02:04:41.611290 | 2020-12-15T00:07:28 | 2020-12-15T00:07:28 | 300,456,344 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 312 | cpp | // C program to demonstrate ctime() function.
#include <stdio.h>
#include <time.h>
int 18_ctime_Function_demo() {
time_t curtime;
time(&curtime);
printf("Current time = %s", ctime(&curtime));
return(0);
}
/* Output *//*
Current time = Thur May 02 11:34:12 2019
*/
| [
"dinhtuyen@gmail.com"
] | dinhtuyen@gmail.com |
7a8306009c14fb9640fb78a51a1dabb2b2bf0675 | 00ba799996d91e03c6049acd3e7d52d4ac3f4361 | /operator_overloading/Sally.cpp | bc2eeccc6ccd7f9cdce29a19d7dc21d8e3649edc | [] | no_license | PoHengChen/DataStructure | 3f6328a91c40f5022cd2c1133bf4d3b84eeeebe4 | de642996768d52a99e74b90bfdab8ad78d1d4423 | refs/heads/master | 2021-09-08T18:23:13.700195 | 2020-07-28T16:11:33 | 2020-07-28T16:11:33 | 214,989,582 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 222 | cpp | #include <iostream>
#include "Sally.h"
using namespace std;
Sally::Sally() {
}
Sally::Sally(int a) {
num = a;
}
Sally Sally::operator+(Sally aso) {
Sally brandNew;
brandNew.num = num + aso.num;
return(brandNew);
} | [
"39483109+PoHengChen@users.noreply.github.com"
] | 39483109+PoHengChen@users.noreply.github.com |
093b908e7dcbde390eb4c8364c3ec21aeab76b0e | 882a0552edd9ba5d4977afb150f6434314362e47 | /reversi/game_controller.h | e05b2ef9a5ed270bd709292033c8fa9bdba27683 | [] | no_license | vasalf/reversi_exp | 54e517e7970858193365819dca35616014dfcba0 | 7bb65718673cd51b64ea2ca9c278072d63bdaad1 | refs/heads/master | 2021-04-27T01:15:10.455312 | 2018-02-23T20:57:28 | 2018-02-23T20:57:28 | 122,671,964 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 676 | h | #pragma once
#include <reversi/game.h>
#include <reversi/player/player.h>
namespace reversi {
class game_controller {
game game_;
player::player &black_;
player::player &white_;
public:
game_controller(player::player &black,
player::player &white)
: black_(black), white_(... | [
"ya-ikmik2012@yandex.ru"
] | ya-ikmik2012@yandex.ru |
6d2e5e1c6e66c4290e470e04554b5826037aaf9e | 2f8d4f1c377759a58ce71bd1cabf2c8b9ca511be | /MYSTL/Detail/rb_tree.impl.h | a9fa2f124b36ff38477c47b2b0ddbe5ca2026df7 | [] | no_license | CodingReading/MYSTL | 4c25be64a31048de8379aafa9d5bd840fa6364ce | acade8d102b3f6caa76b978184e4ffe635183553 | refs/heads/master | 2021-01-21T23:47:51.891810 | 2018-01-14T08:17:28 | 2018-01-14T08:17:28 | 102,181,334 | 16 | 6 | null | null | null | null | GB18030 | C++ | false | false | 19,529 | h | #ifndef RB_TREE_IMPL_H_
#define RB_TREE_IMPL_H_
namespace mySTL {
//---------------------------------拷贝构造--------------------------------
template <class Key, class Value, class KeyOfValue, class Compare, class Alloc>
rb_tree<Key, Value, KeyOfValue, Compare, Alloc>&
rb_tree<Key, Value, KeyOfValue, Com... | [
"1051818459@qq.com"
] | 1051818459@qq.com |
b124c53364e7ee3e7fe8c15f21be1eb443dbc4bf | e7bc3a264a575280fc39f44b5d19b93b86505b55 | /src/land_point_search_simulate.cpp | caaabf4e14b0aef1c8d22e15067d7bdae114a0c9 | [
"MIT"
] | permissive | zhangf911/tetris_ai_runner | ad8ebc55b862a384ef55dc4d5cb77ebbfc2a3327 | 2da320293ab89813bf10ec93b49bdf51e90a7e85 | refs/heads/master | 2021-01-15T16:56:52.341935 | 2014-12-10T17:25:02 | 2014-12-10T17:25:02 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 18,221 | cpp |
#pragma once
#include "land_point_search_simulate.h"
using namespace m_tetris;
namespace land_point_search_simulate
{
void Search::init(m_tetris::TetrisContext const *context)
{
node_mark_.init(context->node_max());
node_mark_filtered_.init(context->node_max());
}
std::vector<char> ... | [
"mm304321141@gmail.com"
] | mm304321141@gmail.com |
d2dc10c1ab822365d7e2fa0b6b44698c88488de5 | cdd084f85611b4a220c97e4c81e709c56bdf81e7 | /MemoryLocationNode.cpp | a4f2972cdc46c6f08b62b2520d7ca95426384114 | [] | no_license | arc30/oops-compiler | bbb77cb09fb63882a1c5a16baf9a38d408c18e68 | 60a53b300110be2efc797f4600da7148f7133845 | refs/heads/master | 2020-05-25T22:11:37.100770 | 2019-05-21T18:26:06 | 2019-05-21T18:26:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 221 | cpp | #ifndef MEMLOCNODE
#define MEMLOCNODE
#include "Node.cpp"
class MemoryLocationNode : public Node
{
private:
public:
MemoryLocationNode() {}
~MemoryLocationNode() {}
virtual int getBinding() = 0;
};
#endif | [
"daltonfury42@disroot.org"
] | daltonfury42@disroot.org |
527dc45726f41441062abdd187f00d152d262ca6 | 389bb6ba4bab2734d349e4e33aba8f1f03214743 | /third_party/externals/angle2/src/libANGLE/renderer/RenderTarget.h | 54642dad638fe0a8d4dd7e7f3c6fd734e80c8faf | [
"BSD-3-Clause",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | zhaodm/skia_sdl | cf4969c28fe5c887b2eb6fa2e63e7c4b973d951e | 8724ae26584df523eb7bb814ffe7aec5f597d187 | refs/heads/master | 2021-01-22T01:55:17.273074 | 2015-01-05T08:06:42 | 2015-01-05T08:06:42 | 28,795,407 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,322 | h | //
// Copyright (c) 2012 The ANGLE Project Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//
// RenderTarget.h: Defines an abstract wrapper class to manage IDirect3DSurface9
// and ID3D11View objects belonging to renderbuffers.
#if... | [
"zhaodemin2010@gmail.com"
] | zhaodemin2010@gmail.com |
62dcc6608258b14aac2fb0e14dc5af0906cb0df9 | 0f0b2c5e9095ba273992ab0b74a82f986b4f941e | /services/surfaceflinger/tests/unittests/mock/DisplayHardware/MockPowerAdvisor.cpp | 8be707750b5317b9ef8ef93a9e39aff4e8723422 | [
"LicenseRef-scancode-unicode",
"Apache-2.0"
] | permissive | LineageOS/android_frameworks_native | 28274a8a6a3d2b16150702e0a34434bc45090b9a | c25b27db855a0a6d749bfd45d05322939d2ad39a | refs/heads/lineage-18.1 | 2023-08-04T11:18:47.942921 | 2023-05-05T12:54:26 | 2023-05-05T12:54:26 | 75,639,913 | 21 | 626 | NOASSERTION | 2021-06-11T19:11:21 | 2016-12-05T15:41:33 | C++ | UTF-8 | C++ | false | false | 902 | cpp | /*
* Copyright (C) 2018 The Android 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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | [
"lpy@google.com"
] | lpy@google.com |
3a89210f0891ad000516ef632267f18e4c3d3e6b | dd80a584130ef1a0333429ba76c1cee0eb40df73 | /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/sequences/vector/vector.capacity/reserve.pass.cpp | 4b91711dfc3494f54290db49220537b9b67f5b28 | [
"MIT",
"NCSA"
] | permissive | karunmatharu/Android-4.4-Pay-by-Data | 466f4e169ede13c5835424c78e8c30ce58f885c1 | fcb778e92d4aad525ef7a995660580f948d40bc9 | refs/heads/master | 2021-03-24T13:33:01.721868 | 2017-02-18T17:48:49 | 2017-02-18T17:48:49 | 81,847,777 | 0 | 2 | MIT | 2020-03-09T00:02:12 | 2017-02-13T16:47:00 | null | UTF-8 | C++ | false | false | 1,635 | cpp | //===----------------------------------------------------------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is dual licensed under the MIT and the University of Illinois Open
// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------... | [
"karun.matharu@gmail.com"
] | karun.matharu@gmail.com |
81af70618ea072d5ec7937c1ad64305f87d9abf8 | d1cee40adee73afdbce5b3582bbe4761b595c4e1 | /back/RtmpLivePushSDK/boost/boost/spirit/home/support/char_set/range_run.hpp | f32681f97bb0d43abc481e25da8ae4f35e9ee7f0 | [
"BSL-1.0"
] | permissive | RickyJun/live_plugin | de6fb4fa8ef9f76fffd51e2e51262fb63cea44cb | e4472570eac0d9f388ccac6ee513935488d9577e | refs/heads/master | 2023-05-08T01:49:52.951207 | 2021-05-30T14:09:38 | 2021-05-30T14:09:38 | 345,919,594 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,885 | hpp | /*=============================================================================
Copyright (c) 2001-2011 Joel de Guzman
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
=========================================... | [
"wenwenjun@weeget.cn"
] | wenwenjun@weeget.cn |
f49116b202f6c1ccb387337e68d698e41588c2cc | 5c34abe10630b23da8ba7d1cbce38bda53a4b6fa | /CalibSvc/src/test/UseGains.cxx | 2848ec0694401f65ae12ecd1fbb95fed34c82246 | [] | no_license | fermi-lat/GlastRelease-scons-old | cde76202f706b1c8edbf47b52ff46fe6204ee608 | 95f1daa22299272314025a350f0c6ef66eceda08 | refs/heads/master | 2021-07-23T02:41:48.198247 | 2017-05-09T17:27:58 | 2017-05-09T17:27:58 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,102 | cxx | //$Header$
#include <stdio.h>
#include "GaudiKernel/Algorithm.h"
#include "GaudiKernel/AlgFactory.h"
#include "GaudiKernel/IDataProviderSvc.h"
#include "GaudiKernel/Service.h"
#include "GaudiKernel/MsgStream.h"
#include "GaudiKernel/SmartDataPtr.h"
#include "CalibSvc/ICalibRootSvc.h"
#include "CalibSvc/ICalibPathSvc.h"... | [
""
] | |
b3b3dc3c4ad851813457ce4edc5482e844e0f276 | caf6a8ac778eeb3183a7a35523044a5905519b76 | /Common/Playspan/PostBackListener.cpp | 365e91a6e184e63cab6b6e3915d13b02dd5fecb4 | [] | no_license | odasm/coh-original-server-vs2010 | ec8ddd227d6d99e08e562b2c0b08df20e06eb02c | 479e4baccd5b2688c216674492c4b87e4562595c | refs/heads/master | 2020-05-16T07:21:09.364167 | 2019-04-22T03:21:57 | 2019-04-22T03:21:57 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,537 | cpp | #include <zmq.h>
#include "../3rdparty/cryptopp/randpool.h"
#include "PostBackListener.h"
#include "JSONParser.h"
#include "components/earray.h"
#include "components/EString.h"
#include "utils/log.h"
#include "utils/timing.h"
#include "endian.h"
#include "MemoryPool.h"
/// Seconds between each relay ser... | [
"Woovie"
] | Woovie |
bc73e20508310ad29ed8c93a0efd050bd1d6db73 | 47bc067058e4d45f8729670b1bfa19aceaadc156 | /AUG15/DCGAME.cpp | e9c92a08ec2d3efe0215008f45ac332220558b5e | [] | no_license | return19/All-C-Codes | 0bd0df357cd4bbc6552e1d943df792a1b4d806bb | b1c2269d2436a0cd65a5ef022595300c4827520f | refs/heads/master | 2021-09-09T16:13:53.464406 | 2018-03-17T17:02:55 | 2018-03-17T17:02:55 | 125,650,568 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,592 | cpp | #include<bits/stdc++.h>
using namespace std;
struct elem
{
long long val,lt,rt,pro,cs;
};
elem arr[1000100];
stack<long long> s;
bool cmp(elem a,elem b)
{
return a.val<b.val;
}
bool cmp1(elem a,long long b)
{
return a.val<b;
}
bool cmp2(long long a,elem b)
{
return a<b.val;
}
int main()
{
lon... | [
"abhinandan1941996@gmail.com"
] | abhinandan1941996@gmail.com |
04babbdb942fe70cdfd0aefb83b4b37c70a4a965 | 5f355aba7b7ef59b57c85bb18b0d527d0223483c | /Raytracer/Phong.h | 259ec021a1ab3a00dd3e7611b653cd246d7da3df | [] | no_license | Domenicobrz/Simple-Raytracer | 5c3eb8fece2a0280a278062ecf584f45c72e9627 | 4164dc8172fb04be5126df3e46e850d56559bca4 | refs/heads/master | 2021-01-15T14:54:23.577757 | 2019-11-14T15:37:25 | 2019-11-14T15:37:25 | 99,699,063 | 20 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 625 | h | #pragma once
#include "common_math.h"
#include "Material.h"
#include "Primitive.h"
#include "Ray.h"
/* follows from: Libri - Programming/Rendering/Raytracing/non-books/Phong BRDF Importance Sampling.pdf
"Importance Sampling of the Phong Reflectance Model"
-Jason Lawrence
*/
class PhongMaterial : public Ma... | [
"domenicobrz@live.it"
] | domenicobrz@live.it |
e02489380cfce8455b1155d00f349f64ed238e9d | 37e3a987f713cefa9a0d88d271488d81d6767945 | /function/P5739.cpp | fb4155921b89498dd3d561de90290a5f33b83b95 | [] | no_license | heyuanyi/luogu | f83c332c8844450ffdeace35aeec0606ca72d820 | ce3064e7e854654e68d42f8a0a15ab536dccada2 | refs/heads/main | 2023-06-16T09:54:35.658426 | 2021-07-18T04:48:59 | 2021-07-18T04:48:59 | 382,256,408 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 184 | cpp | #include <bits/stdc++.h>
using namespace std;
int main(){
int n;
int sum=1;
cin>>n;
for(int i=1;i<=n;i++){
sum=sum*i;
}
cout<<sum<<endl;
return 0;
} | [
"yuanyi.he@qq.com"
] | yuanyi.he@qq.com |
79f81190e189d0f4aaa77eded4e54ef2cc225b69 | 39a1d46fdf2acb22759774a027a09aa9d10103ba | /inference-engine/tests/functional/plugin/cpu/shared_tests_instances/behavior/perf_counters.cpp | 39aff76e6fd23082bc39c149b5a383eb4865ea83 | [
"Apache-2.0"
] | permissive | mashoujiang/openvino | 32c9c325ffe44f93a15e87305affd6099d40f3bc | bc3642538190a622265560be6d88096a18d8a842 | refs/heads/master | 2023-07-28T19:39:36.803623 | 2021-07-16T15:55:05 | 2021-07-16T15:55:05 | 355,786,209 | 1 | 3 | Apache-2.0 | 2021-06-30T01:32:47 | 2021-04-08T06:22:16 | C++ | UTF-8 | C++ | false | false | 1,311 | cpp | // Copyright (C) 2018-2021 Intel Corporation
// SPDX-License-Identifier: Apache-2.0
//
#include "behavior/perf_counters.hpp"
using namespace BehaviorTestsDefinitions;
namespace {
const std::vector<std::map<std::string, std::string>> configs = {
{}
};
const std::vector<std::map<std::string, st... | [
"noreply@github.com"
] | mashoujiang.noreply@github.com |
d65826d693049b08a392d13679728b8a9715a021 | 62ad9db32df2f96aabe1ed94f28902d439073bb5 | /PacManRenderer.Test/src/entity/render/EntityRenderConfigTest.cpp | daf0a22acb3ef8bb097ae15e959ec8f99b75677f | [
"MIT"
] | permissive | shamexln/PacMan | 31aacbb0faf9f6976ce0c7d899eb83ce3ee9009d | 319e9776582cf9118b38c72d31855fb4c598e986 | refs/heads/master | 2022-04-17T08:36:18.035379 | 2020-04-17T19:08:38 | 2020-04-17T19:08:38 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,808 | cpp | #include <gmock/gmock.h>
#include <gtest/gtest.h>
#include <entity/render/EntityRenderConfig.h>
#include "ValueProviderMock.h"
#include "AnimationPositionProviderMock.h"
using ::testing::Eq;
namespace pacman {
namespace renderer {
namespace entity {
namespace render {
TEST(EntityRenderConfigTest, Constructor_Expec... | [
"mwtegelaers@gmail.com"
] | mwtegelaers@gmail.com |
70a424e75f81457ef298a749ad9ab5f78b6f7a27 | 7e167301a49a7b7ac6ff8b23dc696b10ec06bd4b | /prev_work/opensource/fMRI/FSL/fsl/include/fast4/multi_mriseg_two.h | 0d90e474ee7e9b0e92e6019a0340abc4e7bfefa7 | [] | no_license | Sejik/SignalAnalysis | 6c6245880b0017e9f73b5a343641065eb49e5989 | c04118369dbba807d99738accb8021d77ff77cb6 | refs/heads/master | 2020-06-09T12:47:30.314791 | 2019-09-06T01:31:16 | 2019-09-06T01:31:16 | 193,439,385 | 5 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 7,254 | h | /* FAST4 - FMRIB's Automated Segmentation Tool v4
John Vickers, Mark Jenkinson and Steve Smith
FMRIB Image Analysis Group
Copyright (C) 2005-2007 University of Oxford */
/* Part of FSL - FMRIB's Software Library
http://www.fmrib.ox.ac.uk/fsl
fsl@fmrib.ox.ac.uk
Developed at FMRIB (Oxfo... | [
"sejik6307@gmail.com"
] | sejik6307@gmail.com |
5f5edf5bec4a296fe894fab9a1de274c41b12bd2 | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/collectd/gumtree/collectd_repos_function_808_collectd-4.8.0.cpp | f0c08a11637651ea56c2771710c43b3b21927b66 | [] | 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 | 725 | cpp | static void swap_submit (const char *type_instance, derive_t value, unsigned type)
{
value_t values[1];
value_list_t vl = VALUE_LIST_INIT;
switch (type)
{
case DS_TYPE_GAUGE:
values[0].gauge = (gauge_t) value;
sstrncpy (vl.type, "swap", sizeof (vl.type));
break;
case DS_TYPE_DERIVE:
values[0].deriv... | [
"993273596@qq.com"
] | 993273596@qq.com |
05a3ef38c91696cea7e74028232a26eeef1acb68 | cfeac52f970e8901871bd02d9acb7de66b9fb6b4 | /generated/src/aws-cpp-sdk-mediatailor/source/model/DeleteProgramRequest.cpp | 89b555c507a84a798d9abd20812928fb3771a617 | [
"Apache-2.0",
"MIT",
"JSON"
] | permissive | aws/aws-sdk-cpp | aff116ddf9ca2b41e45c47dba1c2b7754935c585 | 9a7606a6c98e13c759032c2e920c7c64a6a35264 | refs/heads/main | 2023-08-25T11:16:55.982089 | 2023-08-24T18:14:53 | 2023-08-24T18:14:53 | 35,440,404 | 1,681 | 1,133 | Apache-2.0 | 2023-09-12T15:59:33 | 2015-05-11T17:57:32 | null | UTF-8 | C++ | false | false | 555 | cpp | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/mediatailor/model/DeleteProgramRequest.h>
#include <aws/core/utils/json/JsonSerializer.h>
#include <utility>
using namespace Aws::MediaTailor::Model;
using namespace Aws::Utils::Json;
... | [
"sdavtaker@users.noreply.github.com"
] | sdavtaker@users.noreply.github.com |
7660008c538efe87b5f1071d697b1e908452c565 | d09945668f19bb4bc17087c0cb8ccbab2b2dd688 | /codeforce/661-700/683/a.cpp | 626e3da333ac02b792e3ae2243d5109cb5ab7b53 | [] | 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,309 | 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 FORR(x,arr) for(auto& x:arr)
#define FORR2(x,y,arr) for(auto& [x,y]:arr)
#define ITR(x,c) for(__typeof(c.begin()) x=c.begin();x!=c.end();... | [
"kmjp@users.noreply.github.com"
] | kmjp@users.noreply.github.com |
f722244d6cb2e82bccab9d04060b1c5afc585c2d | 7b51e0939a5ea3b2b78c4bad08d5adb7ef198eb2 | /lis.cpp | f591c82a4af9fadddab20e9b764c15140b977530 | [] | no_license | fedeoliv/Dynamic-Programming | a2aeb25c13c31178ff1a9950f75b2c46aa24070f | cf2e141778b01c5bfa02ddc6c869b2941ea0a660 | refs/heads/master | 2021-06-07T01:14:52.083817 | 2015-05-02T22:34:39 | 2015-05-02T22:34:39 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,355 | cpp | #include <stdio.h>
#include <vector>
using namespace std;
/* The longest Increasing Subsequence (LIS) problem is to find the length of the longest subsequence
of a given sequence such that all elements of the subsequence are sorted in increasing order.
For example, length of LIS for { 10, 22, 9, 33, 21, 50, ... | [
"bse.fernando@gmail.com"
] | bse.fernando@gmail.com |
6617a89190726fd6da13d7dc91fda8b95175eef4 | 528f8ee5a9a55a4f4b52829e61ae30d85b25a612 | /Part A/week 3/averagePath.cpp | c27a4e416e62706f0cada3876d01a02a1fe53c9f | [] | no_license | rmmcosta/CppForCprogrammers | 30845acf9ef7c0a9d2085ea8551d40120adf8e55 | acdd788a8c842e679ab2c514973b8b59cc101500 | refs/heads/master | 2023-02-09T05:09:50.034217 | 2023-02-06T18:32:45 | 2023-02-06T18:32:45 | 265,165,345 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,506 | cpp | //Possible solution for the average shortest path
//when computing a set of randomly generated graphs.
//there are 2 possible data structures to represent graphs:
// - connectivity matrix (also distances)
// - dense graphs
// - edge list representation
// - sparse graphs (the majorit... | [
"ricardocosta101085@gmail.com"
] | ricardocosta101085@gmail.com |
126588c25c0dd94c8270b91fc28ae5e49bac7d85 | 16e6a9900223afacd74b9aef90b13e4075bcff04 | /libraries/RyuLib/Examples/Chapter 06. RC and Robot/_01._Motor_Control/_01._Motor_Control.ino | 287cf20f335372e9578fe4b900f3aa954e9525ef | [] | no_license | ryujt/ryulib-arduino | 489df10855a4bb3a56c37b24beaeb46d90a98433 | c0e9fdfabe7e7a13fcffe2ce03806bc06e66e137 | refs/heads/master | 2022-03-23T19:03:10.970266 | 2019-12-11T13:51:58 | 2019-12-11T13:51:58 | 49,684,699 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 136 | ino | void setup() {
pinMode(2, OUTPUT);
}
void loop() {
digitalWrite(2, HIGH);
delay(3000);
digitalWrite(2, LOW);
delay(3000);
}
| [
"ryujt658@gmail.com"
] | ryujt658@gmail.com |
f3ec05586cc961d3796868ff9abb44a3a9ea4a09 | ea7e029a0f67c083364684b49dd5a5b27c9d156d | /src/utility/logging.hpp | c4d7cbb593b9dd66d52ee9b2579ca16fd77986e9 | [] | no_license | just-john/http_client | 3a1b7090641854b2b0ea3534cb5b1c0536537346 | 90ed7d91103827149117d309ef31a2fa8dbedc82 | refs/heads/master | 2020-07-30T11:20:08.657552 | 2019-11-21T23:34:33 | 2019-11-21T23:34:33 | 210,211,641 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 173 | hpp | #ifndef WEB_UTILITY_LOGGING_HPP
#define WEB_UTILITY_LOGGING_HPP
#include <iostream>
#include "trace.hpp"
namespace web::utility
{
#define logstream std::cerr
}
#endif
| [
"johnny.mccullough@gmail.com"
] | johnny.mccullough@gmail.com |
3126f8e7fc96d0907d2281341a96c2c0916a6a0b | 8aaed62bf522347c524b95d7ea4a3c828a624ccc | /adv-q4/main.cpp | bb27adeaa44bc964d89907fcb2861a8718c7b2fe | [] | no_license | ashleyHutton/hsd16-solutions | cba184102aafb7bd4cd397eef13fde8f315cd1b5 | fee479cc1dac2fb8314071f600b87e2374194e61 | refs/heads/master | 2021-01-18T22:24:16.894687 | 2016-11-07T01:53:15 | 2016-11-07T01:53:15 | 72,532,899 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 732 | cpp | /*
* name: Ashley Hutton
* date: 10/1/16
* file: main.cpp
* purpose: hsd advanced question 4 solution
*/
#include <iostream>
int main(){
int divisor;
int lowerBound;
int upperBound;
int code;
int firstDigit;
int secondDigit;
int thirdDigit;
int fourthDigit;
std::cin >> divisor;
std::cin >> lowerBound... | [
"ashley.hutton@ku.edu"
] | ashley.hutton@ku.edu |
2fbdfbaa0872feb7aefc85c058901c6ffae78b91 | b72eeb4ece026e3f46e8bae69a6eda8c9eb100b4 | /Codeforces/1710A - Color the Picture.cpp | 0032a98c6bf6e51f23fdcfefd0495a115b32dafa | [] | no_license | shahed-shd/Online-Judge-Solutions | 712fadd108e026647adec09e576b3f364c1d54bd | ad10d61097d780aa8465c6836dc9f899a23239bc | refs/heads/master | 2023-08-31T06:37:19.801355 | 2023-08-27T09:53:53 | 2023-08-27T09:53:53 | 37,283,322 | 34 | 27 | null | null | null | null | UTF-8 | C++ | false | false | 1,393 | cpp | // ==================================================
// Problem : 1710A - Color the Picture
// Run time : 0.046 sec
// Language : C++17
// ==================================================
#include <cstdio>
#include <algorithm>
#include <vector>
using namespace std;
bool canColor(int dim1, int dim2, const ... | [
"noreply@github.com"
] | shahed-shd.noreply@github.com |
ab548c5e9b08268ff020bf460c858db4024cbcae | f6fca6c43ad746c45c8321541178eb02e2cb555e | /2c/level0/GridCtrl_src/View/GridView.cpp | c5341e6292a6841215d195595722e264a7916bf4 | [] | no_license | Asakra/alterplast | da271c590b32767953f09266fed1569831aa78cb | 682e1c2d2f4246183e9b8284d8cf2dbc14f6e228 | refs/heads/master | 2023-06-22T04:16:34.924155 | 2021-07-16T06:20:20 | 2021-07-16T06:20:20 | null | 0 | 0 | null | null | null | null | WINDOWS-1251 | C++ | false | false | 14,961 | cpp | // GridView.cpp : implementation of the CGridView class
//
#include "stdafx.h"
#include "GridView.h"
#include "GridDoc.h"
#include "GridView.h"
#include "../../MainFrm.h"
#include "../../MetadataTree.h"
#include "../../InputNumeric.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char TH... | [
"trdmval@gmail.com"
] | trdmval@gmail.com |
56e2f418ba988ff05634d9a191a3265c43e665e5 | 1477d05a33883882394994f4d662a353f3dbf75c | /GoBangTCP/CLIENT.h | 230e7ca96fabfbbb8e0dd9355fa84828693b8499 | [] | no_license | Steve-Tod/GoBangTCP | 2453959b7d0ca20db0186e54544cc38bc26d6406 | 88550941dbaddc25fa9432e40a7d7cfb4df4b5ee | refs/heads/master | 2021-01-01T04:36:40.357001 | 2017-07-14T07:38:03 | 2017-07-14T07:38:03 | 97,206,067 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 386 | h | #pragma once
// CCLIENT 对话框
class CCLIENT : public CDialogEx
{
DECLARE_DYNAMIC(CCLIENT)
public:
CCLIENT(CWnd* pParent = NULL); // 标准构造函数
virtual ~CCLIENT();
// 对话框数据
enum { IDD = IDD_CLIENT };
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV 支持
DECLARE_MESSAGE_MAP()
public:
afx_... | [
"785590489@qq.com"
] | 785590489@qq.com |
69abc11915391b57ca1ddfe565c9e8b33e5bbb13 | f93238259313cf6122932a94aafe696a060f7896 | /codeforces/1183/G.cpp | acc9b8317b357ead5505d16364a40fa9826382a9 | [] | no_license | SubhashPadala/Codeforces | 639efb57b74bd3eceb0745501fc61328ae4b4fb7 | e9d42440b4a3fec6343cc32760ade23b092f3414 | refs/heads/master | 2023-08-08T04:44:54.402270 | 2021-07-19T07:58:00 | 2021-09-23T09:29:53 | 409,528,312 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,097 | cpp | // Problem ID - 1183G
// _____ ___ __
// ___________(_)___ ________ ___ | / /
// __ ___/__ / __ | / /_ __ `/__ | / /
// _(__ ) _ / __ |/ / / /_/ / __ |/ /
// /____/ /_/ _____/ \__,_/ _____/
// ________________________ ________ ______ ______ ______ ... | [
"111901038@smail.iitpkd.ac.in"
] | 111901038@smail.iitpkd.ac.in |
ee62966b7aa4fa8913c433fa9a2d1c19ab0a9f8f | d9806fece7a4ec9519db65d65d7859ad2629a2a5 | /CoolFormat/LangExtDlg.h | e4873106bf4149949d3f446303bd3ce42aa90337 | [] | no_license | akof1314/CoolFormat | 9eb654cf795425088d2e7ac4c432b3ea0f666be5 | f107a0ff38e2de24c91adbf59c9caaf1d40909a2 | refs/heads/develop | 2022-08-09T22:53:44.437725 | 2018-05-28T13:24:13 | 2018-05-28T13:24:13 | 27,533,937 | 570 | 154 | null | 2021-04-05T10:54:28 | 2014-12-04T09:50:49 | C++ | GB18030 | C++ | false | false | 793 | h | #pragma once
#include "KofBCGPListCtrl.h"
//////////////////////////////////////////////////////////////////////////
// CLangExtDlg 对话框
class CLangExtDlg : public CBCGPDialog
{
DECLARE_DYNAMIC(CLangExtDlg)
public:
CLangExtDlg(CWnd* pParent = NULL); // 标准构造函数
virtual ~CLangExtDlg();
// 对话框数据
enum { IDD = IDD_L... | [
"kof1234@sina.com"
] | kof1234@sina.com |
7cf0b0ecdf6a0e76d558e892f5009b44c95bc815 | be33cf0f231305f39b291d494feead9e151927e1 | /app/NR-VisionTracking/NR-VisionTracking/src/LineDetect/feature.cpp | aa9ad33efac22232d1028c12d12a065c708b0809 | [] | no_license | PALMBERRY/VisionTracking-src | 184fe04a24af5bb65a2cd1a17df05bdb01923e55 | 70c7164a6b894b8dca04abda4070078ecefe6f92 | refs/heads/master | 2021-01-10T15:59:21.884327 | 2015-11-04T01:54:52 | 2015-11-04T01:54:52 | 44,308,931 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 3,972 | cpp | #include <cv.h>
#define PI 3.1415926535897932
#define POW(nBit) (1 << (nBit))
int map_x[]={1,1,0,-1,-1,-1,0,1};
int map_y[]={0,-1,-1,-1,0,1,1,1};
int UniformPattern10[256]={
1, 2, 3, 4, 5, 0, 6, 7, 8, 0, 0, 0, 3, 0, 4, 5,
2, 0, 0, 0, 0, 0, 0, 0, 3, 0, 0, 0,... | [
"logle.cn@gmail.com"
] | logle.cn@gmail.com |
52ea4cacfef1edae65ef9f083b4b19a306f755f0 | c5e3fd3a1f38c760a07a0786a5a9e16a3dbd0213 | /daemon/main.cc | 55cb43b5038618487a51e1e4ab9983126f0970c7 | [
"BSD-3-Clause"
] | permissive | tomjal/Replicant | d8cbdd545876d0bff48e294d6269923de15ad41b | ef75f60c3a9b4adfb83c40869a516f4a879f0414 | refs/heads/master | 2021-01-15T09:28:42.758715 | 2013-12-08T22:48:47 | 2013-12-08T22:48:47 | 15,495,818 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,066 | cc | // Copyright (c) 2012, Robert Escriva
// 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 list of c... | [
"me@robescriva.com"
] | me@robescriva.com |
f6b0e87aec166e6d85f4c8cf5bb0f34ffd7c6911 | 0e7f9398b50b4c6d252233f811f773d909d13122 | /sketch_feb05a.ino | aee481dc526c85bbedc86544d851226e1e498e6d | [] | no_license | karunamoorthy/Agri | 49f2c301379467eefe601eb4e566ae081ee37511 | b4eb0ae56eca04cf5946ce169809d753f10acd9c | refs/heads/master | 2020-04-12T17:10:28.711872 | 2018-12-20T22:20:50 | 2018-12-20T22:20:50 | 162,636,943 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,004 | ino | #include <SoftwareSerial.h>
#include <TinyGPS.h>
TinyGPS gps;
SoftwareSerial ss(2, 3);
int sensor= A0;
int led =13;
void setup()
{
analogReference(DEFAULT);
pinMode(sensor,INPUT);
pinMode(led,OUTPUT);
Serial.begin(9600);
ss.begin(9600);
}
void loop()
{
if(analogRead(sensor)<400 && analogRead(sensor)>200)
... | [
"noreply@github.com"
] | karunamoorthy.noreply@github.com |
fcc33b55066e307933adbd1fefeac279ffff7005 | f96c3b63b4b8a3fc5bc43b313ae1c73d1dc99ccb | /assembler/test_top.cpp | 070d1c014b477f8959f822cc7aa90493cf55f0a3 | [] | no_license | Zunchy/CS2 | 772fe5a2ed87a141aa7105c73f69b9afb7a9e11a | cd62e3655f92dadbca0e1d4e37c0c679e8d7b931 | refs/heads/master | 2020-08-13T06:06:35.248707 | 2019-10-14T01:28:55 | 2019-10-14T01:28:55 | 214,922,020 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 408 | cpp | #include <iostream>
#include <cassert>
#include "../string/string.hpp"
#include "stack.hpp"
int main()
{
{
stack<int> s;
s.push(65);
s.push(20);
s.push(11);
int result = s.top();
assert(result == 11);
}
{
stack<String> s;
s.push("Hello");
s.push("World");
String result = s.top();
asser... | [
"zwaterbury1289@gmail.com"
] | zwaterbury1289@gmail.com |
5f63eb48f6a016b5668dd43859028718ee18617c | 2ea95f366f918ce0ed64d482c338827a0541420e | /codechef/maylong/tictactoe.cpp | 40dec30ef3ce8955e153fdc3dabed9cc83fe9a39 | [] | no_license | Pavankalyan0105/CP | a972241dd0d85492862893bb0259a0cd9f1a8a57 | afb0cdddacf16570bbb93f1755a97758716e0347 | refs/heads/master | 2023-04-27T02:47:51.632668 | 2021-05-16T09:44:22 | 2021-05-16T09:44:22 | 357,893,027 | 0 | 0 | null | 2021-04-21T03:46:10 | 2021-04-14T12:12:43 | Python | UTF-8 | C++ | false | false | 5,239 | cpp | #include <bits/stdc++.h>
using namespace std;
vector<vector<char>> board(3, vector<char>(3, '_'));
int equalCount;
bool isFilled(){
for(int i=0; i<3;i++){
for(int j=0;j<3;j++){
if(board[i][j]=='_')
return false;
}
}
return true;
}
int isEqual(vector<char> &v){... | [
"pavankalyan0105@gmail.com"
] | pavankalyan0105@gmail.com |
5d1961972a13fb05756db2fb413e9c883018ada1 | e5f3e2bd1f97481b48c2ba29c7226737c9240175 | /Calculatorfinal/main.cpp | 13880b90cb5f2c83ef79180f6ce369f44d8f8834 | [] | no_license | Booomshaker/object-oriented | 5009fc5d1e3ad58f90d606f30471e04567e0c20f | 97c7f884c99189e581c251f5cb1ed2c05dfced27 | refs/heads/master | 2021-01-17T07:02:09.486946 | 2016-06-05T13:56:02 | 2016-06-05T13:56:02 | 50,822,556 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,664 | cpp | /************************************************************
FileName: main.cpp
Author: Mr.who
Version : 1.3
Date: 2016/05/09
Description: the main function file
History:
<author> <time> <version> <description>
Mr.who 16/03/20 1.0 完成函数基本功能
Mr.who ... | [
"604561221@qq.com"
] | 604561221@qq.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.