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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
9e07534921a5045e6775fd24e8d547ce9a4009bd | 4aae2df13bfd53a8b16aa5f941f2cc8b8ac144b7 | /torch/lib/c10d/ParamCommsUtils.cpp | 02b70ee122742183921820f56682c518619ae5c1 | [
"BSD-2-Clause",
"BSD-3-Clause",
"LicenseRef-scancode-generic-cla",
"BSL-1.0",
"Apache-2.0"
] | permissive | computerguy2030/pytorch-rocm-amd | e9f2718c470b505325d396baf6513e71bcf0a7ca | 38da53d721fcb335dedb1b52f14fd89718e90bef | refs/heads/master | 2023-04-08T00:55:01.542663 | 2021-04-16T11:33:39 | 2021-04-16T11:33:39 | 334,288,140 | 3 | 0 | NOASSERTION | 2021-04-16T11:27:55 | 2021-01-29T23:40:06 | C++ | UTF-8 | C++ | false | false | 658 | cpp | // (c) Facebook, Inc. and its affiliates. Confidential and proprietary.
#include <c10d/ParamCommsUtils.hpp>
namespace torch {
extern const std::string kParamCommsCallName = "record_param_comms";
ParamCommsDebugInfo::ParamCommsDebugInfo(
int rank,
std::string&& colName,
int inSize,
int outSize,
a... | [
"facebook-github-bot@users.noreply.github.com"
] | facebook-github-bot@users.noreply.github.com |
b508a17b3b512e03d3562444e75080a44d818cfd | 9232d5b6073026f96807a2404c54b6f53af29d38 | /src/raii.cpp | 1c76cce079665fd43436332e5695b936f4fb56d1 | [] | no_license | vleon20/cppworkshop | afc183918069823dd2e88e7879400c2e71eda9ff | 4e185f390f70d59be489d3f9e47780d9ac360aea | refs/heads/master | 2020-12-24T06:08:28.939209 | 2016-11-15T15:55:08 | 2016-11-15T15:55:08 | 73,176,038 | 0 | 0 | null | 2016-11-08T10:40:35 | 2016-11-08T10:40:34 | null | UTF-8 | C++ | false | false | 2,928 | cpp | #include <cassert> // assert()
#include <cstddef> // std::size_t
#include <new> // std::bad_alloc
#include <random> // std::random_device etc
#include <set> // std::set
#include <unordered_set> // std::unordered_set
namespace net {
namespace util {
template <typename T, T MIN, T MAX>
static inline T random()
{
stati... | [
"leonvas09@gmail.com"
] | leonvas09@gmail.com |
6af38b8ff82e6b184e6b8f096f0d31d9565e6210 | b8499de1a793500b47f36e85828f997e3954e570 | /v2_3/build/Android/Preview/app/src/main/include/Fuse.Internal.Cache-2.h | c08a53408412fbdfbb08987ffae89260e1d955f9 | [] | no_license | shrivaibhav/boysinbits | 37ccb707340a14f31bd57ea92b7b7ddc4859e989 | 04bb707691587b253abaac064317715adb9a9fe5 | refs/heads/master | 2020-03-24T05:22:21.998732 | 2018-07-26T20:06:00 | 2018-07-26T20:06:00 | 142,485,250 | 0 | 0 | null | 2018-07-26T20:03:22 | 2018-07-26T19:30:12 | C++ | UTF-8 | C++ | false | false | 2,431 | h | // This file was generated based on 'C:/Users/hp laptop/AppData/Local/Fusetools/Packages/Fuse.Common/1.9.0/Internal/Cache.uno'.
// WARNING: Changes might be lost if you edit this file directly.
#pragma once
#include <Uno.IDisposable.h>
#include <Uno.Object.h>
namespace g{namespace Fuse{namespace Internal{struct Cache;... | [
"shubhamanandoist@gmail.com"
] | shubhamanandoist@gmail.com |
a6e587a535131dea340c02863d97c6355458ed51 | 06904f8bf85838defa56da92b3154c7a0392154b | /book-shop.cpp | 421c492cd4c19f353b3dfa3ec76cc0f8fc999990 | [] | no_license | samy19980109/Book-shop | 3b3c801b8917109dade462ceb826da9bb0e1eede | c8fcb23ed98df79685af118f1cc5a932540d1607 | refs/heads/master | 2021-05-02T14:49:40.706762 | 2018-02-08T07:28:29 | 2018-02-08T07:28:29 | 120,726,815 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,038 | cpp | #include<fstream.h>
#include<conio.h>
#include<string.h>
#include<process.h>
#include<stdio.h>
#include<ctype.h>
class subject
{
public:
char s[5][40],sub[5][5][40];
subject()
{
strcpy(sub[0][0],"Physics NCERT-I");
strcpy(sub[0][1],"Physics NCERT-II");
strcpy(sub[0][2],"Pradeep Physics");
strcpy(sub[0][3],"H.C.Verma\t"... | [
"samy19980109@gmail.com"
] | samy19980109@gmail.com |
8130bb2fd85f1b8754a09a70a3be6500befa23b9 | 1f26179838c1dc6eaedd69a3a3f846a45040667c | /measurement/Measure.h | d02fb047cdbbc6da220061f070f3a3ddb44ecb16 | [] | no_license | JMarianczuk/SmallSorters | db0347b4bd0d30c538df19624d3727af019025e2 | a119c50d8e69e477f5af3d27d2a412b013a9680e | refs/heads/master | 2021-07-09T06:16:12.412574 | 2020-07-20T07:43:37 | 2020-07-20T07:43:37 | 158,068,136 | 5 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,831 | h |
#ifndef MEASURE_H
#define MEASURE_H
#include <string>
#include <vector>
#include "../Result.h"
#include "../ArrayHelpers.h"
#include "../environment/Performancing.h"
#include "../sorters/QuickSort.h"
#include "../sorters/InsertionSort.h"
#include "../sorters/Quicksort_Copy.h"
#include "../Randomisation.Sortable.h"
#... | [
"jasper.marianczuk@gmail.com"
] | jasper.marianczuk@gmail.com |
564aa5f0b476207e54877828de5522ec4b6a6b6d | f43711e16bf8e16fee28df8376814e14ec6ee10e | /nayan/accept/DAte with day.cpp | d752153c5b6152c299cc60b90f137f8494640d68 | [] | no_license | kshav/My_codes | 5e3ed56b99ba2860462d485b2c2c6cdc485db14a | 4337b951454b62010bcc91b8f78db2eb04dcdc67 | refs/heads/master | 2016-09-06T00:24:47.843220 | 2014-02-19T12:49:31 | 2014-02-19T12:49:31 | 16,978,109 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 771 | cpp | #include<iostream>
using namespace std;
int dow(int y, int m, int d)
{
static int t[] = {0, 3, 2, 5, 0, 3, 5, 1, 4, 6, 2, 4};
y -= m < 3;
return (y + y/4 - y/100 + y/400 + t[m-1] + d) % 7;
}
int main()
{
int test,d,m,y,c,sum,w;
float f;
//cin>>test;
// while(test--)
// {
... | [
"kshav1908@gmail.com"
] | kshav1908@gmail.com |
aa2fdafad54211cdcf1ce580071b2f8bcb8bb131 | 47305210f12a7754eecab2f361cf64770c1acaaa | /src/primitive.h | 037a1335e123af27012ec0ec9595ed2e3c9ba556 | [
"MIT"
] | permissive | zwm88/jsv | 0ecd6eebec50829cbcbc7d3a6276d40bfaeaad5c | d0ef49028d8fa99e8f8712d605caf3be702ab851 | refs/heads/master | 2023-03-17T13:06:28.729428 | 2016-08-08T14:35:27 | 2016-08-08T14:35:27 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,109 | h | /******************************************************************************
* Copyright (c) 2016, Nithin Nellikunnu (nithin.nn@gmail.com)
*
* 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 S... | [
"nitin.nellikunnu@radisys.com"
] | nitin.nellikunnu@radisys.com |
9950b3455117d083381fb064902b3738e69294af | 96b1f85d4a8198cbb95ab6a171d1050725fd7c66 | /Source/OscSlider.cpp | 453cbe0b4aab668dc1ebb115ad650cb90bc87148 | [] | no_license | sbadon122/digitalosc | e8e8f34dbfe455977153d5016a8d67874de793b5 | 385d034dde8b0ac718e1472d43da0a2e18a2c566 | refs/heads/master | 2022-11-18T02:14:12.883104 | 2020-07-20T00:23:13 | 2020-07-20T00:23:13 | 270,836,211 | 3 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 683 | cpp | /*
==============================================================================
OscSlider.cpp
Created: 30 Jun 2020 8:40:37pm
Author: Sebastian Badon
==============================================================================
*/
#include "OscSlider.h"
#include <JuceHeader.h>
OscS... | [
"sebastianmbadon@gmail.com"
] | sebastianmbadon@gmail.com |
2fe178c2e115a7905615c6009c956cedf2e9a6c6 | 47c187a74f9c0a580a042efd59efca110b2658a9 | /攻防与安全相关/DotaMapHack20130413-11平台魔兽开全图外挂/zxq20130413/zxq20130413/program.cpp | 64d8fd95fd0abcce7b81413d80cfd539a0db04a7 | [] | no_license | zhangxinqian/ZhangXinqian-s-Projects | baa48775cc1369b682f07bc200819ad731b244c2 | 86f4132c4cc58b3a997427292fd143c0e84a9e82 | refs/heads/master | 2021-01-19T22:53:46.625852 | 2017-04-20T16:38:25 | 2017-04-20T16:38:25 | 88,885,672 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 227 | cpp | #include "MapHack.h"
#include <iostream>
using namespace std;
int main()
{
SetConsoleTitle("My MapHack for Warcraft III 1.24E");
if (MapHack::run()) cout<<"Success"<<endl;
else cout<<"Failed"<<endl;
cin.get();
return 0;
} | [
"zhangxinqian2012@126.com"
] | zhangxinqian2012@126.com |
f6ceadbeecd813c525d7f0c4cbb744cc832dd221 | 44a84dda70ec912bd76aad9f9b97606153cb194f | /Программирование лаба 4 задание 1.cpp | 4fc7c2d44e4609ea2657bebfd706b493cddf1548 | [] | no_license | LikaLex/Second-semestr-IiTP-Programming- | edd6c94e74e7b4abbcc2685dcd67b0a3009eb533 | 10179622fceb0fb0f973db4a37b029f71f1e727a | refs/heads/master | 2021-06-20T18:21:58.489669 | 2017-08-03T15:57:43 | 2017-08-03T15:57:43 | null | 0 | 0 | null | null | null | null | WINDOWS-1251 | C++ | false | false | 726 | cpp | #include <iostream>
#include <conio.h>
using namespace std;
int main() {
setlocale(LC_ALL, "rus");
int str = 4, len = 255;
cout << "Количество строк : " << str << endl;
char **array = new char*[str];
for (int i = 0; i < str; i++)
array[i] = new char[len];
for (int i = 0; i < str; i++)
cin... | [
"noreply@github.com"
] | LikaLex.noreply@github.com |
77a38f792c7ae67209e21e197de49f117ed1071d | 96c604bd68ca59b171b853e72b6e6d74fd9f7e17 | /MRTK_V2/CollaborativeDesignApp/Il2CppOutputProject/Source/il2cppOutput/mscorlib2.cpp | b8ec151335133950cc7e9e9891d14c7645f7e5ee | [] | no_license | ruchirnaphade/AR-Industry-Applications | 24566da6eb4fe8efe098974ac48ff7c8787fe1df | c54d715b6d970abc3b06055d911619a57597ac8f | refs/heads/master | 2022-07-23T19:27:39.636188 | 2020-05-13T15:10:40 | 2020-05-13T15:10:40 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,974,624 | cpp | #include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <cstring>
#include <string.h>
#include <stdio.h>
#include <cmath>
#include <limits>
#include <assert.h>
#include <stdint.h>
#include "codegen/il2cpp-codegen.h"
#include "icalls/mscorlib/System/ConsoleDriver.... | [
"35610867+joaoadpereira@users.noreply.github.com"
] | 35610867+joaoadpereira@users.noreply.github.com |
546b9d44b74d938244884255386e51bf3aa89900 | 21f795fff4dc9262e39bf03d6e7d2bf088a6d43f | /BM-Main/Utils/Utils.h | 2e502feeeffac9120d72d00c4fa80855a39b0589 | [
"MIT"
] | permissive | SetZero/BM-Main | fa82d0501888b270805352c72bcb948ba7af79d2 | 01b25c80682748db27164ece355939a1dbd8b55d | refs/heads/master | 2020-03-17T11:51:28.304567 | 2018-07-20T18:30:39 | 2018-07-20T18:30:39 | 133,566,332 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,793 | h | #pragma once
#include <limits.h>
namespace utils {
//////////////////////////////////////////////////
//// aha meta is cool hmmmm
template<bool condition, typename T1, typename T2>
struct conditional;
template<typename T, T X>
struct integralConstant;
template<typename T, typename O>
struct isEqual;
tem... | [
"keven.kloeckner@gmail.com"
] | keven.kloeckner@gmail.com |
725222cb0ae407deea2b40790f7176a9d77f4fbf | f27e22b901c90cef74d27b85dcf13e740ee99327 | /src/qt/mod/okb/okbwidget.h | f3c00ac635cd6ba17cc73d99e2d4a6f4be05821b | [
"MIT"
] | permissive | masternodecoin/masternodecoin | 75a214096598c764a18194d528983181ba3ca30b | 4fb947b782289897874174ac9f01a13657c01d5e | refs/heads/master | 2021-06-25T20:35:59.676430 | 2018-12-06T07:11:39 | 2018-12-06T07:11:39 | 100,444,329 | 6 | 10 | MIT | 2019-07-07T10:44:29 | 2017-08-16T03:35:14 | C++ | UTF-8 | C++ | false | false | 2,089 | h | #ifndef OKBWIDGET_H
#define OKBWIDGET_H
#include <QWidget>
#include <QBitmap>
#include <QPalette>
#include <QPaintEvent>
#include <QDoubleValidator>
#include <QTimer>
#include <QSettings>
#include <QMutexLocker>
#include "bitcoingui.h"
#include "ui_interface.h"
#include "bitcoinunits.h"
#include "wallet.h"
#include ... | [
"31052241+masternodecoin@users.noreply.github.com"
] | 31052241+masternodecoin@users.noreply.github.com |
b6144a2e7dcd3d4e67f8c0be57c3ffc26e159930 | ebf7654231c1819cef2097f60327c968b2fa6daf | /server/logic_server/player/module/icon/Icon.cpp | 349b7a21218f84a3027f3e6eeb9a07cb7d847051 | [] | no_license | hdzz/game-server | 71195bdba5825c2c37cb682ee3a25981237ce2ee | 0abf247c107900fe36819454ec6298f3f1273e8b | refs/heads/master | 2020-12-30T09:15:17.606172 | 2015-07-29T07:40:01 | 2015-07-29T07:40:01 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,998 | cpp | /*
* Icon.cpp
*
* Created on: 2014年5月22日
* Author: gaojianshan
*/
#include "Icon.h"
#include "Icon_Struct.h"
#include "Logic_Module_Head.h"
#include "Base_Detail.h"
#include "Config_Cache_Icon.h"
#include "Msg_Active_Struct.h"
#include "task/Task_Struct.h"
#include "Logic_Player.h"
#include "gang/Gang_Struc... | [
"zuti@avatarworks.com"
] | zuti@avatarworks.com |
2aafc68aabe83e42fc6dd7950d043050f352bcb7 | 308e030e7685d0282c265dfa0f882687c7bffdd1 | /DataStructures/MergeSort.cpp | 995bca9ed13166cb48e7bff0d8c7b8d7c622a97d | [] | no_license | AwsafAlam/Datastructures-Algorithms | 9d5e224292546bdf0be4c871f27c34448585e108 | 7ddfb8be3ebc9cda967f902079cd8ad050b515b3 | refs/heads/master | 2018-10-24T04:14:15.201642 | 2018-08-20T15:30:02 | 2018-08-20T15:30:02 | 103,974,531 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,431 | cpp | #include<iostream>
#include<stdio.h>
#define INFINITY 99999
using namespace std;
//int count =0 ;
int* Merge(int a[] , int p , int q , int R){
// int count =0;
int n1 = q-p+1;
int n2 = R - q;
int l[n1+1];
int r[n2+1];
int j = p;
for(int i=0 ; i<n1 ; i++){
l[i... | [
"1505114.maaa@ugrad.cse.buet.ac.bd"
] | 1505114.maaa@ugrad.cse.buet.ac.bd |
2ec53599aa2f25271cc2f0e4ae10efdac2cedc2b | 76fe0a0404ca1d71779fc6c1122b87e0d7a7aa1b | /Treinos equipe/xv de piracikobus/2019/01-21 brasicoxa 2018/l.cpp | a7590809dc93cb959b7a306845141da644bb2bd2 | [] | no_license | vitorguidi/Competitive-Programming | 905dd835671275284418c5885a4a1fae2160f451 | 823a9299dce7b7f662ea741f31b4687f854bb963 | refs/heads/master | 2021-06-25T06:58:53.670233 | 2020-12-19T16:53:15 | 2020-12-19T16:53:15 | 133,260,248 | 3 | 0 | null | 2018-05-13T17:46:43 | 2018-05-13T17:40:24 | null | UTF-8 | C++ | false | false | 1,836 | cpp | #include "bits/stdc++.h"
using namespace std;
#define pb push_back
#define mp make_pair
#define fst first
#define snd second
#define fr(i,n) for(int i=0;i<n;i++)
#define frr(i,n) for(int i=1;i<=n;i++)
#define ms(x,i) memset(x,i,sizeof(x))
#define dbg(x) cout << #x << " = " << x << endl
#define all(x) x.begin(),x.en... | [
"vitorguidi@gmail.com"
] | vitorguidi@gmail.com |
9661f3cefe0bf11e96128bdcacaf40bac07dcb84 | b2f3a28d37c5ea61d1ace419cae18438c8f69a0f | /CodeForces/919D.cpp | 5c5020fd3a765a32d7c6acee1510d65b8b2f9a66 | [] | no_license | wym6912/ACM-ICPC_wym6912 | 335a07b2325e9b336bfb1eacd0fdb28d8a20e995 | a7d713c9383bda8813990b865bcd7aaebde6486c | refs/heads/master | 2021-01-15T17:55:10.518382 | 2018-12-20T06:50:29 | 2018-12-20T06:50:29 | 99,766,810 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,928 | cpp | //#define NOSTDCPP
#ifndef NOSTDCPP
#include <bits/stdc++.h>
#else
#include <algorithm>
#include <bitset>
#include <cassert>
#include <complex>
#include <cstring>
#include <cstdio>
#include <deque>
#include <exception>
#include <fstream>
#include <functional>
#include <iomanip>
#include <iostream>
#include <istream>... | [
"wym6912@outlook.com"
] | wym6912@outlook.com |
379ae65df7cfe364200428cbd50091595c2c2a2d | 226f0ff6704f4608c9422747f251a14d428e3291 | /TBCppStudy/Chapter2-4/main.cpp | 1fa36f2ebf52fb4cc56e4b8db0b6cda650832944 | [] | no_license | Heongilee/Inflearn_Cpp_Proj | 3ae11a24d76b031b6e7be212f3fecc592ab583f9 | 4cda6dd6f0c1f62cbb8fc360ac54f784c304fb19 | refs/heads/master | 2020-12-10T06:37:21.769597 | 2020-03-05T08:47:32 | 2020-03-05T08:47:32 | 233,520,789 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 386 | cpp | #include<iostream>
//#include<cstdint> //iostream안에 있으므로 iostream을 include했을경우 생략하자
int main() {
using namespace std;
int8_t i(65); //char 1byte
int16_t j(5); //short 2byte
int32_t k(1); //int 4byte
int64_t l(3); //long long 8byte
cout << i << j << k << l << endl;
int_fast8_t fi(5); //signed char
i... | [
"gjsrl1@gmail.com"
] | gjsrl1@gmail.com |
000b70c8d080df72d322a70810d715acae9c90fc | 7bd4506d1ef5b2e9d7049a716bc8dc0f1a0aeef4 | /Com/interface/LjmetEventContent.h | d709ba74b8ba418ad4fecde2934b90c1322eaa11 | [] | no_license | drankincms/David_bak | 1c9034fe009ef2a18ea203f1c2a6eeb817f37060 | 4c8deab24a38e776c7149e4518626c0108261113 | refs/heads/master | 2021-01-01T19:38:37.366848 | 2015-06-23T10:35:31 | 2015-06-23T10:35:31 | 22,979,965 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,867 | h | #ifndef LJMet_Com_interface_LjmetEventContent_h
#define LJMet_Com_interface_LjmetEventContent_h
/*
Container class for passing internal event content
Author: Gena Kukartsev, 2012
*/
#include <iostream>
#include <vector>
#include <map>
#include <limits>
#include "TTree.h"
#include "FWCore/ParameterSet/interfac... | [
"drankin@bu.edu"
] | drankin@bu.edu |
00823b3aaf8486330cbbbc9678c4bef5426a5f1d | 7dbecf1794cc53ca448242526f6cbf1c9990fcfb | /Practice/11/c++/ConsoleApplication1/ConsoleApplication1/ConsoleApplication1.cpp | 7502ee1540e162e0f5e520d34bf50558cc3421c8 | [] | no_license | justlive12/Programming | f0ee7caa749b1cc04c3dcb77fb1349ae015d0e56 | e507ca9aa6c0ac0029e564d6ecc38d45e20ec564 | refs/heads/master | 2023-06-04T14:32:11.510762 | 2021-06-11T14:17:32 | 2021-06-11T14:17:32 | 308,564,320 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 297 | cpp | #include "pch.h"
#include <iostream>
using namespace std;
int main()
{
setlocale(LC_ALL, "rus");
int a, b, i, c;
cout << "Введите число: ";
cin >> a;
c = a;
cout << "Введите степень числа: ";
cin >> b;
for (i = 1; i < b; i++) {
c *= a;
}
cout << c;
}
| [
"just_live1@mail.ru"
] | just_live1@mail.ru |
888cdba4011ec7c01d68552da063ec72d11cf3d7 | e37b2f6859ebef6ab8c92f4def5d4bfad688dac0 | /desafio-02/caiomuniz/cpp/primos.cpp | 5213612f530dcbe850629da8548d02ce9c063ff6 | [] | no_license | AnaPaulaMazi/op-desafios | 730bd2095e0d1ed601ff5e69a6765d5ef428aaa5 | 6a74a84bdb16f5aa21e03d78c065c08f60db5d7c | refs/heads/master | 2023-01-03T23:28:00.336150 | 2020-06-27T00:13:28 | 2020-06-27T00:13:28 | 275,695,027 | 1 | 0 | null | 2020-06-29T00:43:20 | 2020-06-29T00:43:19 | null | UTF-8 | C++ | false | false | 644 | cpp | #include <iostream>
#include <cmath>
#include <vector>
bool ePrimo (int num);
int main(int argc, char const *argv[])
{
std::vector<int> primos;
for (size_t i = 0; i < 10000; i++)
{
if (ePrimo(i))
primos.push_back(i);
}
for (size_t i = 0; i < primos.size(); i++)
... | [
"paganini@paganini.net"
] | paganini@paganini.net |
44b837c559e2c77a2e42722dc9553b7d8f9d2650 | 6ee10daf1c10b0a47154a64bf852b2aefd4b99b3 | /lc_power/LiquidCrystal_attiny.cpp | 36c1e44d411ab773c7427a4dd65b0c4acd5eddb3 | [] | no_license | helioz2000/LapCounter | bcbf431eb65a02e25a182ecd8ae1a0e0ece5d714 | 3b0564968bd503ee7332d6b60ec507002f756c44 | refs/heads/master | 2020-04-17T16:10:54.823433 | 2020-02-10T04:36:14 | 2020-02-10T04:36:14 | 166,730,210 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,270 | cpp | // LiquidCrystal_I2C V2.0
#include "LiquidCrystal_attiny.h"
#include <inttypes.h>
#include "TinyWireM.h" // include this if ATtiny85 or ATtiny2313
#include "Arduino.h"
// When the display powers up, it is configured as follows:
//
// 1. Display clear
// 2. Function set:
// DL = 1; 8-bit interface data
// ... | [
"helioz2000@gmail.com"
] | helioz2000@gmail.com |
18945ec4698bcdbaabaff6e99e066720af5ce562 | 59dd61ebf101f8f037018d026231301ead18aa32 | /Code/Rockstar Games/File Format/Normal/IDE/Entry/Data Entry/CIDEEntry_MLO.cpp | b3d654ef307e2e74437707d8998fcce28768d603 | [] | no_license | X-Seti/KGM | d4e6900d590bc22c9be90e6a7129699a1119902c | edc034930f1dfbb61027992f9347ef5f0bdb0cb4 | refs/heads/master | 2020-12-30T19:36:52.838360 | 2017-07-11T16:45:43 | 2017-07-11T16:45:43 | 60,021,522 | 0 | 0 | null | 2016-05-30T15:46:12 | 2016-05-30T15:46:12 | null | UTF-8 | C++ | false | false | 406 | cpp | #include "CIDEEntry_MLO.h"
#include "eExceptionCode.h"
#include "Data Stream/CDataReader.h"
#include "Data Stream/CDataWriter.h"
void CIDEEntry_MLO::unserialize(void)
{
CDataReader *pDataReader = CDataReader::getInstance();
throw EXCEPTION_UNKNOWN_FORMAT_TYPE;
}
void CIDEEntry_MLO::serialize(void)
{
CDataWrit... | [
"mexuk@hotmail.co.uk"
] | mexuk@hotmail.co.uk |
0aecf14f897cdae89224658116d474e305625913 | 42baabca229657a081ac83d8806700d23b4df558 | /minimum.cpp | 9f2c31e374e75c4fe52a0846e7d4f6f620fe9161 | [] | no_license | michaelkotor/simple | a7c0f0ca0bc9433227488abd639d638096cdb7f1 | a41a4c782bf2d28f2841d6f7005fabd369ecf020 | refs/heads/master | 2020-08-07T12:20:25.809794 | 2019-12-03T06:46:54 | 2019-12-03T06:46:54 | 213,448,614 | 0 | 1 | null | 2019-12-07T11:26:56 | 2019-10-07T17:44:55 | C++ | UTF-8 | C++ | false | false | 906 | cpp | #include <stdio.h>
#include <Windows.h>
#include <conio.h>
#define n 3
int main()
{
int ms[n][n], i, i1, st, j, j1, mn, flag;
system("cls");
printf("Enter the matrix\n");
for (i = 0; i < n; i++)
for (j = 0; j < n; j++)
{
printf("\nms[%d][%d] =", i, j);
scanf_s("%d", &ms[i][j]);
}
system("cls");
printf... | [
"milan3020@gmail.com"
] | milan3020@gmail.com |
ef81f6c78becedabe5a3fee39a6b5684b9ff2dec | c209a641046953f75444c7a044cc332cb1ffc112 | /utilities/request.h | 88e708dc7417b947c5f5a6557b9960349b4e1aba | [] | no_license | rapour/cb-cli | 65da0a2e59f4614fdb5e383a64eb9deff1204d4f | 6a8a09305bc9982d47c5ed8b6624b144bc5d9458 | refs/heads/master | 2023-01-07T19:52:11.510037 | 2018-06-09T07:43:34 | 2018-06-09T07:43:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 855 | h | //
// Created by mhghasemi on 3/17/18.
//
#ifndef BNB_CLI_REQUEST_H
#define BNB_CLI_REQUEST_H
#include <jsoncpp/json/json.h>
#include <zmq.h>
#include <zmq.hpp>
#define REQUEST_TIMEOUT 2500 // msecs, (> 1000!)
#define REQUEST_RETRIES 3 // Before we abandon
class Connection
{
public:
static z... | [
"icdct1995@gmail.com"
] | icdct1995@gmail.com |
8144326a9f031d7e099ac58b0b8e151841b9c69e | df6e48deaa17b9c539557c73be14d95a172bd6d5 | /devel/src/gsErrorEstimates/gsVisitorSpaceTime_.h | 915a864f21916c18625faa5baf19fddb0a578a39 | [] | no_license | mtsveta/iga-error-estimation | e625db2b381907df36cf0937f978ef0df2d2ac79 | 41374d4ba512aadf9990ee87aac000db35159433 | refs/heads/master | 2021-09-15T07:17:17.758639 | 2018-05-28T12:45:49 | 2018-05-28T12:45:49 | 118,735,703 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,693 | h | /** @file gsVisitorSpaceTime_.h
@brief Heat equation element visitor.
This file is part of the G+Smo library.
This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this
file, You can obtain one at http://mozilla.org/MPL/... | [
"svetlana.matculevich@oeaw.ac.at"
] | svetlana.matculevich@oeaw.ac.at |
be14ac626c17be4de8180d812168ca22755056fd | 7291e40feee75afbc2b68eca82fa95ac68353229 | /AutoSpriteSheet/OpenImage.h | b3d17b66e6096381e66dfec1dceea3f5b8b10ad3 | [] | no_license | yamada-shuto/AutoSpriteSheet | eb7bb3d7647d267906ef9364874e6d0291011ca9 | 391749ccbee7c6a86ac177f9ad817803372e7655 | refs/heads/master | 2021-05-16T10:46:40.815517 | 2017-09-27T06:43:31 | 2017-09-27T06:43:31 | 104,816,514 | 0 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 463 | h | //コモンダイアログを使用してファイル名を取得
//2017年9月26日
//GS2 04 入山奨
#pragma once
#include <windows.h>
#include <tchar.h>
class OpenImage
{
public:
OpenImage();
~OpenImage();
//ファイルを開いたらファイルのアドレスを返す
wchar_t OpenImageFile();
private:
// ファイル名を指定するコモンダイアログを表示
BOOL GetFileName(HWND hWnd, TCHAR* fname, int sz, TCHAR* initDir = 0);... | [
"bash.vanish78@gmail.com"
] | bash.vanish78@gmail.com |
38d295aa4df83423df20dd546dd376fb8640940c | fc04de72b3a47fcf5e40216e6913067616097396 | /errors.cpp | a6ac5ca67cf03a43559614c3f609eef3c4350eb6 | [] | no_license | alexeypertcev/ksu-ivt-nagruzka | 08036bce35e0fa938beb8b48547a220d39234a22 | e6209c3036c6b2b428d6667b145f5a08acc5ae71 | refs/heads/master | 2020-05-19T07:39:01.945259 | 2012-09-20T07:28:42 | 2012-09-20T07:28:42 | 32,324,165 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,733 | cpp | #include "errors.h"
Error_report::Error_report()
{
map.clear();
map.insert("0x000", "неизвестная ошибка");
map.insert("0x001", "не удалось соединиться с базой данных");
map.insert("0x002", "не удалось создать файл для создания резервной копии");
map.insert("0x003", "в таблице coefficients п... | [
"alexey.pertcev@gmail.com@440bbf42-0d3f-4c19-b681-2d4df9560f4c"
] | alexey.pertcev@gmail.com@440bbf42-0d3f-4c19-b681-2d4df9560f4c |
d421ea0ad078bbc114299c1467b3744d925a2a67 | 467b51ef6d959e4dbbde4d3afc5bf1c023e2596a | /brute/1753.cpp | 2f947d761fd8de60ee7afc85c96471858a150f68 | [] | no_license | liyupi/poj | 674d5ee35df588583c53ac473630f5079c093907 | 1c76d29eaebcbcff12723492b0b599f689080817 | refs/heads/master | 2020-05-04T00:54:54.372055 | 2019-05-17T00:46:28 | 2019-05-17T00:46:28 | 178,894,026 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,578 | cpp | // https://blog.csdn.net/u013476556/article/details/30781771
#include <iostream>
#include <string>
using namespace std;
int map[4][4];
const int INF = 999999;
int ans = INF;
/**
* 判断是否满足条件
* @return
*/
bool judge() {
int num = map[0][0];
for (int i = 0; i < 4; ++i) {
for (int j = 0; j < 4; ++j)... | [
"liyupei@bytedance.com"
] | liyupei@bytedance.com |
5a6bdb98461cb3b84d410173add3c6e105e0be27 | be3d3a4c9437c5c889e79186eb51e509b30ff496 | /include/connection.h | 569c29ddf17ae837a63ca8bbbd0899f5d772a2c2 | [] | no_license | voyagingmk/wynet | 85ffce979f7b45016b07e2f2661c4291e6a53d67 | b61604de3191b9ee9b4c40ae76dbb56fd50f9aab | refs/heads/master | 2018-10-10T10:12:58.739409 | 2018-05-22T10:26:21 | 2018-05-22T10:26:21 | 119,939,612 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,102 | h | #ifndef WY_CONNECTION_H
#define WY_CONNECTION_H
#include "common.h"
#include "uniqid.h"
#include "kcp.h"
#include "sockbase.h"
#include "sockbuffer.h"
#include "noncopyable.h"
namespace wynet
{
class EventLoop;
class TcpConnection;
class TCPServer;
class TCPClient;
typedef std::shared_ptr<TCPServer> PtrTCPServer;
t... | [
"voyagingmk@gmail.com"
] | voyagingmk@gmail.com |
76a1c324a60858331535c30560a1c50d8e6422a7 | 1a2aa18ada548e1728387729869b3707eb3b37c6 | /datastructures/basic_op.hpp | fe89e9994499757c72ad1eefe1753103a8a34487 | [
"Apache-2.0"
] | permissive | arupa-loka/lrep | b775174821db2aa0de139b72ced67d5d17e05618 | 7ef6ce39e7527693f8fb7d62b80a69fa29adc295 | refs/heads/master | 2021-01-20T15:10:24.502501 | 2015-02-22T17:56:56 | 2015-02-22T17:56:56 | 12,906,974 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 254 | hpp | #ifndef __BASIC_OP_HPP
#define __BASIC_OP_HPP
template< typename T >
void swap(T & a, T & b)
{
T t = a;
a = b;
b = t;
}
template< typename R, typename W >
void copy(R start, R end, W result)
{
while (start!=end)
*result++ = *start++;
}
#endif
| [
"lsimonelli@MAClsimonelli.local"
] | lsimonelli@MAClsimonelli.local |
40f122f1d607bbf845534ecf52fdb6cb31391ff2 | 87052946e6b7e13bd178aed6999ac8d76a831031 | /src/opcodes.cpp | bd51334ceabccdfcc07ffb90b43c9057ae7e4046 | [] | no_license | darkberg/bigassm | 5c20d04275f6192dc23d55ae1ec18f8a5c0bb4ec | 8fc7a189204a16ee3f10e621eaeb1dc6e9d3bc2f | refs/heads/master | 2023-08-21T05:58:06.915820 | 2021-09-30T18:42:36 | 2021-09-30T18:42:36 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 16,041 | cpp | #include "opcodes.hpp"
#include "section.hpp"
#include "instruction_list.hpp"
#include <unordered_map>
static bool is_relatively_close(Assembler&, int64_t diff)
{
return (diff >= INT32_MIN && diff <= INT32_MAX);
}
static void bounds_check_jump(Assembler& a, int64_t diff)
{
if (diff < -2048 || diff > 2047) {
[[unli... | [
"fwsgonzo@hotmail.com"
] | fwsgonzo@hotmail.com |
08b7c48e888ee9aa4fb779029ed1e462b0fa7b0c | 25b7e3e84afc080e369b9ae64fd9e85536292938 | /.Test/3-23-traf-二分图判断.cpp | 6feb47d2879be3b38cc9b42aae3081b6a866a631 | [] | no_license | ichn/3-code-for-ac | 8a6949e246f50d6d045f194486f3f7f806289e19 | 4182e2c7ee07c856911a38d114e42443f5eb7b14 | refs/heads/master | 2021-01-19T06:11:07.419702 | 2016-10-03T17:44:40 | 2016-10-03T17:44:40 | 64,799,372 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,297 | cpp | #include <cstdio>
#include <cstring>
#include <algorithm>
#include <iostream>
#include <cmath>
#include <string>
#include <vector>
#include <map>
#include <set>
#include <queue>
#include <climits>
#include <cstdlib>
#include <ctime>
using namespace std;
namespace my_useful_tools {
#define rep(_i, _k, _j) for(int _i = _... | [
"ichneumon@outlook.com"
] | ichneumon@outlook.com |
3bcd1c7e16c729a76a98efe519a883dfa7043a8a | 425386c14f9b576801e861d2d6a11bfb6b89b704 | /CombinationSumII/combinationSum2_v2.cpp | b6af3119127020edd967e5be454b21bb949023b0 | [] | no_license | tianyangche/leetcode-1 | e7323e2adcf4a6c74793b844a978a3ff3fd903b7 | c2d276c0777328381039633ebea5189fe5444169 | refs/heads/master | 2021-01-01T19:29:26.312637 | 2013-11-13T21:39:41 | 2013-11-13T21:39:41 | 16,220,915 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,476 | cpp | class Solution {
public:
vector<vector<int> > combinationSum2(vector<int> &num, int target) {
vector<vector<int> > res;
if (num.empty())
return res;
unordered_map<int, vector<int> > recs;
vector<bool> used(target+1, false);
used[0] = true;
for (int i = 0; ... | [
"shuk.xie@gmail.com"
] | shuk.xie@gmail.com |
a08f10f299ff1edac24c367064bf3eb26a5274b7 | ce02ce3237c02d7dd26f60f01c29d4475f939722 | /2.Arrays/18.Check if array is sorted.cpp | 350092f1b9e5d01f8f46d7a55c34afd37c20719d | [] | no_license | DEVESH307/Data-structures-and-Algorithms | 0660d0bbab9915ca14fc063118eee1e430969e0d | 59147b8eadbbca782d4e8bd24a758e432df48467 | refs/heads/master | 2022-12-21T15:09:40.438594 | 2020-09-14T02:27:18 | 2020-09-14T02:27:18 | 295,277,876 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 834 | cpp | // { Driver Code Starts
//Initial template for C++
#include<bits/stdc++.h>
using namespace std;
// } Driver Code Ends
//User function template for C++
class Solution{
public:
bool arraySortedOrNot(int arr[], int n) {
// code here
if(n==0 || n==1)
return true;
... | [
"dej13121995@gmail.com"
] | dej13121995@gmail.com |
8da6c4c61a9eb4529f7cedbe99e4007a8d3af3e2 | 70b8c24be880e95f55448a769e03c37b7fd6a5c6 | /Project4/main copy.cpp | c9ef79e1ea6fedd2d2c117cff176981c0e65f40d | [] | no_license | mlitzenberg305/CS3113 | 14b4e8d6dcad4d1765d08077628416cb3be59866 | 3db8e7dc600d6acdabbd2a856171beb246a7bc92 | refs/heads/main | 2023-07-03T04:12:07.072142 | 2021-08-12T16:38:29 | 2021-08-12T16:38:29 | 370,409,788 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 10,206 | cpp | #define GL_SILENCE_DEPRECATION
#ifdef _WINDOWS
#include <GL/glew.h>
#endif
#define GL_GLEXT_PROTOTYPES 1
#include <SDL.h>
#include <SDL_opengl.h>
#include "glm/mat4x4.hpp"
#include "glm/gtc/matrix_transform.hpp"
#include "ShaderProgram.h"
#include <iostream>
#include <vector>
#include <stdlib.h>
#define STB_IMAGE_IM... | [
"m.litzenberg@nyu.edu"
] | m.litzenberg@nyu.edu |
7f934ed6aa067005685a723a0149989ba39c6616 | 8985a13232fc5ca9e0da954c9002d79ffa2b2c65 | /src/mtchain/nodestore/impl/DatabaseRotatingImp.cpp | 1439fbf87c334dea5545f400ee49b2f50b4c9541 | [] | no_license | finpal/finpal-basic | 429b5871da8167c7adb38af43c64f4f8012901aa | 3675542b1c95982321d03cb7bb3d4d204d6f71c9 | refs/heads/main | 2023-02-04T13:13:35.198917 | 2020-12-21T16:18:01 | 2020-12-21T16:18:01 | 323,375,890 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,299 | cpp | //------------------------------------------------------------------------------
/*
This file is part of FinPald: https://github.com/finpal/finpal-basic
Copyright (c) 2019 ~ 2020 FinPal Alliance.
Permission to use, copy, modify, and/or distribute this software for any
*/
//========================... | [
"finpal6@outlook.com"
] | finpal6@outlook.com |
c2887a4fce52338810e53dacc7bc599d78d8acdb | 636ebc8687e37fa299d7348912cc519b8596d0ac | /session07/inheritance.cc | a038498e2dd79198797b8d883e79de7168b12935 | [] | no_license | hydrodog/C-2016S | 7d1ed81ad07724b2f056f55a513b10ac3549812f | be0e2a91e25fff59560a19c958e07b63f7a7b8c3 | refs/heads/master | 2021-05-04T11:41:02.984951 | 2016-12-08T12:30:33 | 2016-12-08T12:30:33 | 50,931,741 | 1 | 7 | null | 2017-02-22T22:47:28 | 2016-02-02T15:51:08 | C++ | UTF-8 | C++ | false | false | 403 | cc |
/*
all have name, age
*/
class Animal {
private:
string name;
int age;
public:
Animal(const string& name, int age) : name(name), age(age) {}
};
// zebra also has stripes
class Zebra : public Animal { // a Zebra IS_A Animal
public:
};
class Giraffe : public Animal {
public:
};
c... | [
"dov.kruger@gmail.com"
] | dov.kruger@gmail.com |
bf2de798eb286826af3fa384a09176e91d1c8f40 | 51635684d03e47ebad12b8872ff469b83f36aa52 | /external/gcc-12.1.0/libstdc++-v3/testsuite/25_algorithms/transform/requirements/explicit_instantiation/pod.cc | 59c9730a2f73d9846ad700339655ab97a91e60d8 | [
"Zlib",
"LicenseRef-scancode-public-domain",
"LGPL-2.1-only",
"GPL-3.0-only",
"GCC-exception-3.1",
"GPL-2.0-only",
"LGPL-3.0-only",
"LGPL-2.0-or-later"
] | permissive | zhmu/ananas | 8fb48ddfe3582f85ff39184fc7a3c58725fe731a | 30850c1639f03bccbfb2f2b03361792cc8fae52e | refs/heads/master | 2022-06-25T10:44:46.256604 | 2022-06-12T17:04:40 | 2022-06-12T17:04:40 | 30,108,381 | 59 | 8 | Zlib | 2021-09-26T17:30:30 | 2015-01-31T09:44:33 | C | UTF-8 | C++ | false | false | 1,458 | cc | // { dg-options "-Wno-deprecated-declarations" }
// { dg-do compile }
// 2007-09-20 Benjamin Kosnik <bkoz@redhat.com>
// Copyright (C) 2007-2022 Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the
// t... | [
"rink@rink.nu"
] | rink@rink.nu |
73f9872699571602ff9e0e12d8ff76f6773725c0 | 843d2545ca0536165ddc2d1cc8c351c91abd91ce | /seguidor_con_modulo_carga_INFOBT_mejoragiro.ino | b913f1dd5dae11790576c6ac4d01bfc1c824e90f | [] | no_license | rezamar555/carrodelamorra | 094dc2a056c36f1d4a5fb91b5a949267fe92cb70 | 03e5f446bfed166f71a0345865c3ae4f936ba9f3 | refs/heads/master | 2020-08-24T19:25:22.036899 | 2019-11-30T20:21:42 | 2019-11-30T20:21:42 | 216,890,769 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,732 | ino | /*
Proyecto para la materia de Desarrollo de proyectos de automatización
En esta versión se cambiaron varias cosas: Para hacer girar y dejar de girar se dividieron las funciones en dos estados,
en vez de tenerlas en 4 estados como antes para que solo existan 2 estados y no se combinen
El beep es... | [
"noreply@github.com"
] | rezamar555.noreply@github.com |
7b5e484252e761e399fe41a1fb3c3871301844aa | 6f37f529bae8bbcc99244468477f14e9f96ff95c | /wxWidgets-2.8.12/src/gtk1/popupwin.cpp | 3e310f487b482aaf1e16309374a6bbecf5b23ba9 | [] | no_license | darknebuli/darknebuli-RM-graph | 13326ddbc9a210605926f7ad4b70672a48b1b2f2 | bf169c01f787fdd144e19fae6732a5b58fdbdafd | refs/heads/master | 2020-05-16T23:40:56.853727 | 2012-04-30T22:14:24 | 2012-04-30T22:14:24 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,060 | cpp | U2FsdGVkX19fTms3OENxUoetnOKy1AyJ49jWWmkNc76HrZzistQMiePY1lppDXO+
h62c4rLUDInj2NZaaQ1zvoetnOKy1AyJ49jWWmkNc758g4KpHaB8LwCS1iqVEAa/
3WR6GO//whonn01yC3Yog54g5Lt7VI5r59WntWMpYeySakYTGZand+cAIpalh5ZA
5fAyxMBiELdDJZIbL02WQw4f44fEHubC6AlVeK54fecR0QbKeq1IiID6Ea14an4G
T0k6kPBihhzwhKZzfiWWmAVolt2GUEseeefYjcrtFwBKPs4PJSN0F/ABS1hU... | [
"charles@rhizometric.com"
] | charles@rhizometric.com |
41e5d7586a480625af08583b7f374be941491e12 | 0d38c8031ea505c656995964fcafc8a0784910d3 | /numbers/countSubArraysWithMore1Than0.cpp | da88e171c4aa67d6b7044dac257af7efe6c6d8a0 | [] | no_license | tang415a/algorithms | ee070d9e4483869133b3ee3c689d916b0fddc358 | 264f8b151d3488e7a7886941bcf7ea84f38534e7 | refs/heads/master | 2023-05-03T00:21:40.456312 | 2023-04-19T01:28:10 | 2023-04-19T01:28:10 | 157,671,753 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,464 | cpp | /*
You are given a binary array nums containing only the integers 0 and 1. Return
the number of subarrays in nums that have more 1's than 0's. Since the answer
may be very large, return it modulo 10^9 + 7.
A subarray is a contiguous sequence of elements within an array.
Example 1:
Input: nums = [0,1,1,0,1]
Output: 9... | [
"tang415a@163.com"
] | tang415a@163.com |
f31287f981070138cd1de636cf6c4c3903c63d11 | e13a4830ea1a6da6e97fb7085babf771e4b525e7 | /qCC/CloudCompare_autogen/include_Release/EWIEGA46WW/moc_ccExportCoordToSFDlg.cpp | 107253bef05e5479cd6071ffddfc2126e0f41109 | [] | no_license | fangliang11/build | 9cc45558c2179f9f5c1377126acaad114c483125 | 82b37251d099c4e3e7c3693c971edd25b8da8810 | refs/heads/master | 2023-02-04T19:51:05.567826 | 2020-12-20T05:26:57 | 2020-12-20T05:26:57 | 323,000,161 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,998 | cpp | /****************************************************************************
** Meta object code from reading C++ file 'ccExportCoordToSFDlg.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.14.2)
**
** WARNING! All changes made in this file will be lost!
***********************************************... | [
"fangliang1313@gmail.com"
] | fangliang1313@gmail.com |
dc23b68baad3f85791696f69c60dc5f679feb4fc | 82815230eeaf24d53f38f2a3f144dd8e8d4bc6b5 | /Airfoil/wingMotion/wingMotion2D_pimpleFoam/0.91/omega | b51611f317d36ad25365d1f6f81e41f419e22ed5 | [
"MIT"
] | permissive | ishantja/KUHPC | 6355c61bf348974a7b81b4c6bf8ce56ac49ce111 | 74967d1b7e6c84fdadffafd1f7333bf533e7f387 | refs/heads/main | 2023-01-21T21:57:02.402186 | 2020-11-19T13:10:42 | 2020-11-19T13:10:42 | 312,429,902 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 156,123 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v1912 |
... | [
"ishantamrakat24@gmail.com"
] | ishantamrakat24@gmail.com | |
20cb8045b02af3519ef33dad196152656c11889b | 74041a29b2ad03592ed2101203770d3e75096ec2 | /Prototypes/Base Ogre/Ogre1Test/GUIShowLogo.cpp | 1e0fc48890fa4e110e8f7b04ec1fb53e6f36a309 | [] | no_license | JohnnyGuye/ArenIA | fc3fc50ffb880019153b48b24b234179e0a51332 | 5f898a39822d2eac4595254f83cae95402b05134 | refs/heads/master | 2021-01-18T22:33:13.482328 | 2016-05-24T23:06:01 | 2016-05-24T23:06:01 | 46,224,778 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,527 | cpp | #include "GUIShowLogo.h"
const Ogre::Real GUIShowLogo::FADE_IN(1.0f);
const Ogre::Real GUIShowLogo::SHOW(2.0f);
const Ogre::Real GUIShowLogo::FADE_OUT(1.0f);
const Ogre::Real GUIShowLogo::FULL_FRAME(GUIShowLogo::FADE_IN + GUIShowLogo::FADE_OUT + GUIShowLogo::SHOW);
GUIShowLogo::GUIShowLogo(Ogre::Viewport* vp)
: GUIC... | [
"johnnyq@hotmail.fr"
] | johnnyq@hotmail.fr |
15437f050f143f0e749ee0ffb9fea4a6a41d61cb | a1b052d84daab6deef1d8f68dc5964436b216a06 | /BRAINSCommonLib/itkV3TestKernel/include/itkRandomImageSource.h | 7665a56ffed74d8bff49edb344676138402690ef | [] | no_license | AndrewBeers/BRAINSTools | eefe143add9e7eae4d770feb4208abe7aa7657ee | 3391bb28b6b0b78b3401fa57bc8400df32c4700b | refs/heads/master | 2021-01-11T13:38:35.302966 | 2017-05-16T22:15:06 | 2017-05-16T22:28:39 | 95,048,478 | 1 | 1 | null | 2017-06-21T21:38:43 | 2017-06-21T21:38:43 | null | UTF-8 | C++ | false | false | 5,863 | h | /*=========================================================================
*
* Copyright Insight Software Consortium
*
* 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
*
* h... | [
"hans-johnson@uiowa.edu"
] | hans-johnson@uiowa.edu |
35d24402d1219142815fac3c16149fb23c27bb35 | c476a32553b933fdb7dc1d8e544d9c4b3b5e7b16 | /Nomer 3.cpp | d69bdcbe23ba5e53cfb1cc81f8e6828573a9e01e | [] | no_license | DimasHelmiBasukarno/Tugas-Penggaanti-7 | 7304fe731e81591f4b01811160bed7db267ed03e | 337803532f06a01fc07875a980b9ab136b821d2c | refs/heads/master | 2020-04-05T16:53:08.161518 | 2018-11-11T00:06:35 | 2018-11-11T00:06:35 | 157,032,811 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 352 | cpp | #include <stdio.h>
#include <conio.h>
#include <iostream>
using namespace std;
int main()
{
int N,I,JB,RR;
I=0;
JB=0;
cout<<"Masukkan nilai N : ";cin>>N;
do
{
JB+=I;
I++;
}
while (I<=N);
cout<<"Jumlah bilangan 1 sampai dengan N :"<<JB<<endl;
cout<<"Nilai Rata-Rata :"<<endl;
do{
RR=JB/N;
cout<... | [
"noreply@github.com"
] | DimasHelmiBasukarno.noreply@github.com |
dfb79bff3b0a4bb2bec5aedf27d21394152a91bd | f21102bcb4b59ec3161eb1bc319f386aa46ae552 | /cpp_actor_model/libcppa/http_actor/http_actor.cpp | 339c14d1bf672513c184368c0eae99b7ccd1b05c | [
"MIT"
] | permissive | italiancpp/meetup-milano-2014 | f09015b5b1a08cb9761ea33ded07a46bf40c33db | 300013def6f2182c0b0bce7b3d511613581a437f | refs/heads/master | 2021-01-22T22:57:00.394452 | 2014-06-30T09:41:13 | 2014-06-30T09:41:26 | 19,663,384 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,505 | cpp | #include <cppa/cppa.hpp>
#include <cppa/optional.hpp>
using namespace std;
using namespace cppa;
using namespace cppa::io;
optional<uint16_t> as_u16(const std::string& str)
{
return static_cast<uint16_t>(stoul(str));
}
void connection_worker(broker* self, connection_handle hdl)
{
partial_function await_http {
... | [
"gpadovani@gmail.com"
] | gpadovani@gmail.com |
2aff495ef9b4ea1d63c039f3a5c408a605b5366d | 1b6e1561cbe910195ee9c26b122663b94719a971 | /комбинаторика/task1.cpp | 9039d3564219d060532931b3ca0886c8bc8a6303 | [] | no_license | FADelto/ASD | e3b5df5b835ea3b616f2dd506b95e0cce91b3acf | cd85e79efcb119117d434a8d17d5f88cd49ce2d4 | refs/heads/master | 2022-03-05T19:46:02.595275 | 2019-10-09T08:25:08 | 2019-10-09T08:25:08 | null | 0 | 0 | null | null | null | null | WINDOWS-1251 | C++ | false | false | 5,827 | cpp | /*
---------------------------------(ctrl+F5)
Vector size : 5000
Vectors created : 5000 elements
Assigns : 15000 comparisons : 0
Quick sort: assigns : 94409 comparisons : 141246
Time quicksort: 0.02999999999999999889 seconds
Stable sort: assigns : 96281 comparisons : 131468
Time stablesort: 0.026999999999999999695 se... | [
"lusparon99@bk.ru"
] | lusparon99@bk.ru |
c2998ed65ae5b7507de4178b60a7fb3714bf0836 | 672810d7cfdafdb271024d86dbf6846706d70488 | /Workshops/WS10/lab/Text.h | fb574c90997e2b44a2df9668c4ba3d0e16c0f875 | [] | no_license | ogi28/OOP244 | 4e75329c59538660f336ba2da8b7627a8341b86b | 495d2e2cc50e528bf64aedb86c3c5c59a45c284c | refs/heads/main | 2023-07-11T09:55:56.657858 | 2021-08-13T17:48:31 | 2021-08-13T17:48:31 | 395,737,829 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 612 | h | #ifndef SDDS_TEXT_H__
#define SDDS_TEXT_H__
#include <iostream> // added for now
namespace sdds {
class Text {
char* m_filename ;
char* m_content ;
int getFileLength()const;
protected:
const char& operator[](int index)const;
public:
Text(const char* filename=nullptr);
virt... | [
"ogulcantayhan@hotmail.com"
] | ogulcantayhan@hotmail.com |
aa6b9eb0c4d2e9a1df141b07f445ebbcc6001231 | 75a6ca082761b718468072ec64fb97b074a71b2f | /DirectX/ROP (2)/CGameScene.cpp | 99b1775b9a6e8e03871afe5990a478ce5bbdda8e | [] | no_license | dadm8473/Study | 14cb9f50f5ae2534db5e07397475acd542703eb5 | 4c0c8fb97283b725dae459cf8d9d91a03b84d2bd | refs/heads/master | 2020-09-05T22:25:08.104637 | 2020-01-02T03:41:37 | 2020-01-02T03:41:37 | 220,226,011 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 24,359 | cpp | #include "DXUT.h"
#include "Header.h"
CGameScene::CGameScene(int stage)
: tileEntryInfo(), currentTileIndex(0), tileList(),
playerLife(3), rebirthTime(3), rebirthTimer(0), checkPointIndex(0),
enemyEntryInfo(), currentEnemyIndex(0), enemyList(), enemyEntryTimer(0),
enemyBulletList(), playerBulletList(), effectList(... | [
"dadm8473@gmail.com"
] | dadm8473@gmail.com |
ecaeb234638d00a1f9e79ce72485654e02694faf | 613780f3384e17a5f74cab1f9682135fe0b7914d | /schedproc.cpp | d8acbed9905aca0d9cb5846484b4047566c66151 | [] | no_license | mirmik/genosVeryOld | 5ece690f0ff9691b50b8f1e98a167863382043b3 | a2ed1f5adcc35052f41fdcfa3173cd58382c5b0f | refs/heads/master | 2021-05-30T00:52:19.930789 | 2015-12-17T00:37:14 | 2015-12-17T00:37:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 582 | cpp |
#include "genos/schedproc/process_base.h"
#include "genos/schedproc/scheduler_base.h"
list_head process_list;
process_base* _current_process;
process_base* current_process(){return _current_process;};
void current_process(process_base* proc){_current_process = proc;};
scheduler_base* _current_scheduler;
schedule... | [
"Mirage666@yandex.ru"
] | Mirage666@yandex.ru |
500dce3b21ea9999cd9d9de64d314d551beb39d0 | 4cd0b9ce7c2e2a57623cc71b936c6dcda79bdd5c | /xfa/fxfa/parser/cxfa_appearancefilter.cpp | e78b6334a2f6e8c82740cd9a2b21a187f1c7a13b | [
"BSD-3-Clause"
] | permissive | prepare/pdfium | 32b8f9cecc2dd98cd578d2b4e8d882e5c4f0e1ed | 92770e8072cd3a38597966116045147c78b5a359 | refs/heads/master | 2021-01-21T04:43:53.541194 | 2018-12-23T06:55:27 | 2018-12-23T06:55:27 | 27,119,109 | 7 | 3 | null | 2015-08-11T13:40:07 | 2014-11-25T09:47:59 | C++ | UTF-8 | C++ | false | false | 1,204 | cpp | // Copyright 2017 PDFium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
#include "xfa/fxfa/parser/cxfa_appearancefilter.h"
namespace {
const CXFA_No... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
9423eaa5c419f4c3c2ff025dd64cf943954e6cec | 72aca11f973b7c337012475ad3111cd20a5dd589 | /loj/1bentong/4-DataStructure/3-SegmentTree/10125-RangeSum.cpp | b365f6f6fb1a6f8ba0eecca409e3b171609c5448 | [] | no_license | aplqo/exercises | a4cee1acbef91e64aee2bd096cd7e0bb834926a4 | e28f14eaf89481c34bc1a27206e8cea2d2d94869 | refs/heads/master | 2021-06-25T06:34:09.535835 | 2021-04-08T13:52:39 | 2021-04-08T13:52:39 | 217,698,619 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,652 | cpp | #ifdef APDEBUG
#define COLOR
#define APINPROG
#include "debug_tools/time.cpp"
#endif
#include <iostream>
using namespace std;
typedef long long num;
const int maxn = 1e6 + 5;
class node {
public:
void build(int, int, num[maxn], node *(&));
num query(int, int);
void change(int, num);
private:
node *lc = null... | [
"aplqo@outlook.com"
] | aplqo@outlook.com |
47cc76ab7ac6e41c823e90a3deeda7c14880965b | 91b8186316068ff52957c1cca1ec05d8c23ce474 | /Assingment 1/comp.cpp | 5bc12c7541c8b4b1f1967d0213c29249778a4899 | [] | no_license | Deveshb9/OOPL_Basics | 652bef842b9121bffa36ded940d8e8e4541cc368 | 39f852eb89f886f5ce7419c0e191130e04c3df0d | refs/heads/master | 2021-01-08T14:48:17.078324 | 2020-02-21T05:08:21 | 2020-02-21T05:08:21 | 242,058,351 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,110 | cpp | //============================================================================
// Name : Complex.cpp
// Author : Devesh Bhogre CSE-B 203242 Batch B3
// Version : 3
// Copyright : Your copyright notice
// Description : Operation in Complex no. in C++, Ansi-style
//======================================... | [
"noreply@github.com"
] | Deveshb9.noreply@github.com |
8ea869be1acfb3e0d3874fb73ad31e0e4468d9eb | aa415f00ab31478f12b5c283e22fc00fda917055 | /photo_resistor.ino | 5ff54a5bc50101e4cfa0239a6b39b6649ca3cf44 | [] | no_license | 49paunilay/Interfacing-with-arduino | 0229efe7e9d6e2accd5d79e10f7565ed028cba36 | 53ff1a28e78f5646331ed5ddf8f4721be384429d | refs/heads/master | 2022-12-13T21:32:50.858318 | 2020-09-08T14:23:22 | 2020-09-08T14:23:22 | 283,238,165 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 289 | ino | int bright=0;
int time=0;
void setup(){
pinMode(8,OUTPUT);
Serial.begin(9600);
}
void loop(){
bright=analogRead(A0);
Serial.println(bright);
light(bright);
}
void light(int b){
digitalWrite(8,HIGH);
delay(b);
digitalWrite(8,LOW);
delay(b);
}
| [
"noreply@github.com"
] | 49paunilay.noreply@github.com |
1ea4385dc7f77ac387810dce8aac3e1d61e7e930 | a0f367895f7ff8d54a36dbd9a756b73d362046e9 | /TimeBoard/TimeBoard.ino | 3f5316e34b5c5d3df06c399fb76856607ee07583 | [] | no_license | mvencl/ArduinoWirelessTimekeeping | 5c7fb97671e58cfca0acae9778102f9e6281bbc1 | e0d4fa0a06bd2a6bbef22efe6a017f7fc9a0612f | refs/heads/master | 2020-03-13T08:49:25.641745 | 2018-04-25T19:10:14 | 2018-04-25T19:10:14 | 131,051,453 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,411 | ino | // nRF24L01 přijímač
// připojení knihoven
#include <SPI.h>
#include "RF24.h"
// nastavení propojovacích pinů
#define CE 7
#define CS 8
// inicializace nRF s piny CE a CS
RF24 nRF(CE, CS);
// nastavení adres pro přijímač a vysílač,
// musí být nastaveny stejně v obou programech!
byte adresaPrijimac[]= "prijimac00";
by... | [
"mvencl@foxconn.com"
] | mvencl@foxconn.com |
6f42f36560e485b66447e5ac6e6de41dc78f2380 | ab05d4b32a3472af6b717e84d4d92128c4c0827f | /src-sh/syscache/daemon/syscache-daemon.cpp | b9facd5cc37e808c2184b305db2b6ad809a2f634 | [] | no_license | vaibhav-rbs/pcbsd | d598aad917ad4dad5eba859e6e6a6a19ac8a12d4 | 997821a67468c6189445b131303b273bd3499884 | refs/heads/master | 2021-01-17T22:54:11.484653 | 2015-07-10T22:57:21 | 2015-07-10T22:57:21 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,207 | cpp | #include "syscache-daemon.h"
#include <QDateTime>
SysCacheDaemon::SysCacheDaemon(QObject *parent) : QObject(parent){
curSock = 0; //no local socket connected yet
server = new QLocalServer(this);
//server->setMaxPendingConnections(10); //should go through them pretty fast, no need for more
connect(server, S... | [
"ken@pcbsd.org"
] | ken@pcbsd.org |
a76908739b10145a5d8a71768e18cfd5561a66bc | 7cecd1cbb9963cc26971f0c60c079735ffd09372 | /Server/Common/txUtility.h | 9fc5332faacc8faed2ef096a16b2c5a95368b62c | [] | no_license | bmjoy/Mahjong_Server | 587f0cb4d6964d76da2a2c21bdcccd5fd02a37f4 | 984e487d6f9fb0fcdb182c10aac02470861084fd | refs/heads/master | 2021-01-13T07:11:30.220596 | 2017-06-20T15:47:32 | 2017-06-20T15:47:32 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,659 | h | #ifndef _TX_UTILITY_H_
#define _TX_UTILITY_H_
#include "txMemeryTrace.h"
#include "ServerDefine.h"
class txUtility
{
public:
static void stop();
static void logError(const std::string& info)
{
#if RUN_PLATFORM == PLATFORM_WINDOWS
std::cout << "程序错误 : " << info.c_str() << std::endl;
#elif RUN_PLATFORM == PLATFOR... | [
"785130190@qq.com"
] | 785130190@qq.com |
9ec9d4bcaaea048ff43b2b52dcdc576e39097407 | 43a705774bd6ece8e54f73efd73a940dc1d2f4f8 | /inc/rgb2yuv.h | 37f640999b4d588b1a94ffdb432d1e152186a600 | [] | no_license | wangke642/rgb | db38f98aa6ae488b71c9b6e2b132e212d42be8bc | 7a24a9ae5157156bf11eec92edabf905e55e97de | refs/heads/master | 2021-01-19T21:21:14.891997 | 2017-02-20T00:55:15 | 2017-02-20T00:55:15 | 82,502,362 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,548 | h |
#ifndef RGB2YUV_DEFINE
#define RGB2YUV_DEFINE
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
struct RGB888
{
unsigned int uiWidth;
unsigned int uiHeight;
unsigned char* pRGB;
RGB888(unsigned int uiWidth, unsigned int uiHeight)
{
this->uiWidth = uiWidth;
this->uiHeight = uiHeight;... | [
"389004942@qq.com"
] | 389004942@qq.com |
d22648b3ba6aaaa0748197dbeddfb8fc428afb75 | 2a01c7101022d5881b324a1bb9dab89cbba3088f | /binary search/divide_two_integeres.cpp | 16baf90406790db0d936bccd5e567dc75b49ac94 | [] | no_license | yash14700/leetcode | d8c1c1aadcc961a07def14dabfb008c63861fc42 | d45cc51f4e23bf8a50b19501e534d944d9066f86 | refs/heads/master | 2022-12-04T05:51:32.240583 | 2020-08-17T07:25:46 | 2020-08-17T07:25:46 | 265,518,077 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,017 | cpp | class Solution {
public:
//edge cases: dividend = 0,
int divide(int dividend, int divisor) {
double abs_dividend = abs((double)dividend);
double abs_divisor = abs((double)divisor);
double quotient = 1;
double q_inc = 1;
double temp = abs_divisor;
double temp_inc = abs_divisor;
... | [
"44956243+yash14700@users.noreply.github.com"
] | 44956243+yash14700@users.noreply.github.com |
fc8f1d13671eefbf8827112a8ad2bd6bfefe879e | 992e12b05d2a07471f586f82663a67d84c5c8512 | /结点.cpp | 9ba8d22f1d0074a3745ec950a41691a8d546e49c | [] | no_license | Zurich1994/Ccf | b4aba9db158925de44a2b8099c18486c58aede54 | 11599da7f51e533c08f12bf0f543ad8cd21ae5fa | refs/heads/master | 2020-04-02T16:40:55.995937 | 2018-10-25T06:53:13 | 2018-10-25T06:53:13 | 154,623,904 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,855 | cpp | #include<iostream>
#include<cstring>
#include<string>
#include<vector>
#include<queue>
#include<algorithm>
using namespace std;
int a[1005][1005];
int dis[1005][1005];
int n,m,k,d;
struct Node
{
int x;
int y;
int step;
bool operator < (const Node b) const
{
return step>b.step;
}
Node... | [
"huanran.wang1994@foxmail.com"
] | huanran.wang1994@foxmail.com |
35b82cd25f72eca1b7132e3e61b18917581a9237 | 6146bb2c6a293377cb959d3d5240bff9544fb1fd | /projects/post-processing-power-of-two/RenderSystem.h | 6f544af37b54abd0303a0a2abf72fa880a4976e7 | [
"MIT"
] | permissive | southdy/OpenGLStarter | f743d0948a8434c944830fcb1b6acf6d7724fa5b | 0552513f24ce3820b4957b1e453e615a9b77c8ff | refs/heads/master | 2023-07-05T18:21:01.931563 | 2021-08-30T19:58:48 | 2021-08-30T19:58:48 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,863 | h | #ifndef RenderSystem__H
#define RenderSystem__H
#ifdef _WIN32
#pragma warning(disable:4996)
#pragma warning(disable:4244)
#pragma warning(disable:4309)
#pragma warning(disable:4018)
#pragma warning(disable:4305)
#endif
#include <wchar.h>
#include <aribeiro/aribeiro.h>
#include <opengl-wrapper/opengl-wrapper.h>
using... | [
"alessandro.ribeiro.silva@gmail.com"
] | alessandro.ribeiro.silva@gmail.com |
93e72b29932bd0d58111ebee7aaed91d04fc4362 | 04f2a85ea4bf3bab7f4cb768a269e08d802717d3 | /oF_Project_1/src/ofApp.cpp | ac19ffb1451d9e797324cf222e87f66d51530a09 | [] | no_license | panm111/oF_S16 | c14b1f90b611046afaa9a0851cd910beeccff37d | 685824df37d098b156350cf6c81cfe76b19ad09a | refs/heads/master | 2021-01-21T13:33:59.122933 | 2016-05-12T00:10:13 | 2016-05-12T00:10:13 | 50,554,849 | 0 | 0 | null | 2016-02-25T05:07:08 | 2016-01-28T04:20:07 | C | UTF-8 | C++ | false | false | 3,212 | cpp | #include "ofApp.h"
//--------------------------------------------------------------
void ofApp::setup(){
ofBackground(137,207,240);
// branchLength = ofRandom(50,75);
// branchAngle = ofRandom(30,350);
// branchLength= 200;
gui.setup(); //setups the panel
gui.add(branchLength.set... | [
"jackiexu@Jackies-MBP.Leaf"
] | jackiexu@Jackies-MBP.Leaf |
034e3df119485471ad5664c972bbb1fdb7890ba2 | 0740a8ce7ae68092bf84fe008bc58dc39a67fe8d | /src/test/model_config_test_base.h | 628f7093a5adcbe51f7a88fa4cd69fcb91bc1bf8 | [
"BSD-3-Clause"
] | permissive | seewoo79/tensorrt-inference-server | 8da0120c2a4730377bc6224f7d590451db77572a | 297c972b272fe8ec2bd7c9d29a9e0acdace91291 | refs/heads/master | 2020-04-10T20:07:51.959835 | 2018-12-04T22:30:06 | 2018-12-04T22:30:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,339 | h | // Copyright (c) 2018, NVIDIA CORPORATION. All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions
// are met:
// * Redistributions of source code must retain the above copyright
// notice, this list of condi... | [
"davidg@nvidia.com"
] | davidg@nvidia.com |
87caa8371c33cebd62d2f03cbcb1c782b535bf62 | 9b4e0a5a649d2482a5e266d9fc2ef01f17bda671 | /include/est.hpp | cbf4ea236bdfd3639abf9e3e60a78f79ddcd61fc | [
"MIT"
] | permissive | naruto2/CodeFEM | 7209d241c150003e3369fa47e09b05937b6bc2a5 | eb689aa7573d4ac9fc83d057f99c79a5d8f3bd90 | refs/heads/master | 2020-12-12T03:17:42.445395 | 2018-06-20T16:31:42 | 2018-06-20T16:31:42 | 48,607,270 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 470 | hpp | #ifndef _EST_HPP_
#define _EST_HPP_
#include "est/op.hpp"
#include "est/xmesh.hpp"
#include "est/matrix.hpp"
#include "est/ViennaCL.hpp"
#include "est/solver.hpp"
#include "est/psc98.hpp"
#include "est/esolver.hpp"
#include "est/foreach.hpp"
#include "est/sparse.hpp"
#include "est/bicgstab.hpp"
#include "est/naviersto... | [
"tsukuda.yoshio@gmail.com"
] | tsukuda.yoshio@gmail.com |
983be4558d8a386583fc31b5f66a3fa6ac23bf87 | 8136ffc00d30149655feebbdde967970fa0865ce | /scenegraph/Sphere.cpp | 0bd3d70e53ff9819c8d33887ee3090f0dbe7c51d | [] | no_license | nlindsay19/graphicsFinal2017 | 99b14c95815098f25c81755c7cddebc12c2afcb6 | 1e63b08c66da270521dfe6e2fdf3f9596f384765 | refs/heads/master | 2021-09-18T09:03:01.746324 | 2018-07-12T00:49:13 | 2018-07-12T00:49:13 | 126,074,799 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,151 | cpp | #include "Sphere.h"
#include "Settings.h"
#include <math.h>
#include "lib/CS123SceneData.h"
#include "glm/gtx/transform.hpp"
#include "lib/CubeLoader.h"
#include "glm/glm.hpp"
#include <glm/gtc/type_ptr.hpp>
#include <iostream>
Sphere::Sphere() :
Shape()
{
std::vector<float> vec = getVertices();
setVertex... | [
"natalie_lindsay@brown.edu"
] | natalie_lindsay@brown.edu |
1cb13fd17fd5c29a649b23557cc0bd5ee77e40c0 | 5e8d200078e64b97e3bbd1e61f83cb5bae99ab6e | /main/source/test/core/scoring/membrane/MPResidueLipophilicity.cxxtest.hh | bb967feb4d39cb15d3376f3f4b9025a064114cbd | [] | no_license | MedicaicloudLink/Rosetta | 3ee2d79d48b31bd8ca898036ad32fe910c9a7a28 | 01affdf77abb773ed375b83cdbbf58439edd8719 | refs/heads/master | 2020-12-07T17:52:01.350906 | 2020-01-10T08:24:09 | 2020-01-10T08:24:09 | 232,757,729 | 2 | 6 | null | null | null | null | UTF-8 | C++ | false | false | 8,294 | hh | // -*- mode:c++;tab-width:2;indent-tabs-mode:t;show-trailing-whitespace:t;rm-trailing-spaces:t -*-
// vi: set ts=2 noet:
//
// (c) Copyright Rosetta Commons Member Institutions.
// (c) This file is part of the Rosetta software suite and is made available under license.
// (c) The Rosetta software is developed by the co... | [
"36790013+MedicaicloudLink@users.noreply.github.com"
] | 36790013+MedicaicloudLink@users.noreply.github.com |
fa1dfa89b4c7e7840e3bd2ea6672213bfd26a1ce | 2dfe2e9f6b1669f1ee6ad02ddc481475c67f8dee | /src/hmm/MathUtil.cpp | b354f2e711233f144053bfec9c70e77a61cb3c53 | [
"MIT"
] | permissive | outpaddling/haplohseq | 73903f46911fe0767c5bf7c537d71ebb16c0c58f | e4892945eced075a5bb98f208786cdf85eb3d82a | refs/heads/master | 2023-02-22T17:33:59.600148 | 2021-01-23T22:44:43 | 2021-01-23T22:44:43 | 264,707,208 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 976 | cpp | #include "MathUtil.h"
/** The input array contains a set of log probabilities lp1, lp2, lp3
... The return value should be the log of the sum of the
probabilities: log(e^lp1 + e^lp2 + e^lp3 + ...) */
double sumLogProb(std::vector<double>& logprobs)
{
double max = 0;
unsigned int i;
for (i = 0; i<logprobs... | [
"bacon4000@gmail.com"
] | bacon4000@gmail.com |
2d88119e09f81b7addf1dbbbc0dbbadfaca036e4 | 63616a0261288dd3449293f2b340d5247fb0a020 | /source/problem/SWE/discretization_EHDG/data_structure/ehdg_swe_data_state.hpp | 0b266b199560cf2be0376ab51765ffc7d2afc140 | [
"MIT",
"Apache-2.0"
] | permissive | NK-Nikunj/dgswemv2 | 414f030bca251d7b95a26173ad05c77dcb18c952 | c140f9b943608b21c783e6e6396ae084552651d2 | refs/heads/master | 2020-03-22T22:32:16.675137 | 2018-07-09T18:21:21 | 2018-07-09T18:21:21 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 781 | hpp | #ifndef EHDG_SWE_DATA_STATE_HPP
#define EHDG_SWE_DATA_STATE_HPP
#include "general_definitions.hpp"
namespace SWE {
namespace EHDG {
struct State {
State() = default;
State(const uint ndof)
: ze(ndof),
qx(ndof),
qy(ndof),
bath(ndof),
rhs_ze(ndof),
rhs_q... | [
"kazbek@ices.utexas.edu"
] | kazbek@ices.utexas.edu |
f0ff111399f90f73338f4333171041c9f7e7842a | e4355967555857fd536787dce39ca30426ffa702 | /867/Game Platform/小游戏/工具箱/游戏客户端/BtnST.h | b5762ac50fb28e5816e2a61ff22ff397e17982e0 | [] | no_license | herox25000/oathx-ogrex-editor | f0fd6044f8065db9cb50a80376e52f502734e877 | f645c7997f27e11a9063a0d352accd98a474cef1 | refs/heads/master | 2020-12-24T14:35:34.912603 | 2013-08-24T06:20:06 | 2013-08-24T06:20:06 | 32,935,652 | 6 | 9 | null | null | null | null | UTF-8 | C++ | false | false | 8,392 | h | //
// Class: CButtonST
//
// Compiler: Visual C++
// Tested on: Visual C++ 5.0
// Visual C++ 6.0
//
// Version: See GetVersionC() or GetVersionI()
//
// Created: xx/xxxx/1998
// Updated: 18/April/2002
//
// Author: Davide Calabro' davide_calabro@yahoo.com
// http://www.softechsoftware.it
//
... | [
"ydxl2011@yahoo.cn@a113e17c-5e0c-ebba-c532-3ad10810a225"
] | ydxl2011@yahoo.cn@a113e17c-5e0c-ebba-c532-3ad10810a225 |
bb04e071053734c04ab1fb2a823e8605e4d9b57c | 3d2b68e374cf4aa256782585f20f5c2ea46698c6 | /Harrison_Friend_CGP500_AE1/renderer.cpp | 66546a0706bf4624c7c184b4eeb49136f76ec8e1 | [] | no_license | HarrisonFriend/CGP500_AE1 | aa2be913cdb103a64a85bf3d2cbf5364c3ac9611 | 13707852003970f9e35ca7a0ae947a5b5e998a26 | refs/heads/master | 2020-03-09T18:33:43.165220 | 2018-04-19T09:56:10 | 2018-04-19T09:56:10 | 128,935,844 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 41,565 | cpp | /*
see .h file for details
*/
// local includes
#include "renderer.h"
// system includes
#include <stdio.h>
#include <stdlib.h>
#include <scebase.h>
#include <kernel.h>
#include <gnmx.h>
#include <video_out.h>
#include <gnmx/shader_parser.h>
#include <string>
#include <vector>
#include <math.h>... | [
"noreply@github.com"
] | HarrisonFriend.noreply@github.com |
6844ee302312548aec3586b6a0edac388c58a3a8 | 372b4b124f5f8fcfbc298bed977c2530d936dd77 | /CryptoppLib/cryptopp_inc/siphash.h | 76dcccf639c72c4fb75767bca53dd76d4e858373 | [
"MIT"
] | permissive | utsabsingharoy/SimpleSecretKeeper | 5bb7dc8c8c8cb185401576b66206e8cfc176d0e3 | da0a2b622cc38879e1d225dc6757b4d03a78e49e | refs/heads/master | 2021-05-18T05:02:19.922210 | 2020-05-19T18:57:34 | 2020-05-19T18:57:34 | 251,123,450 | 0 | 0 | MIT | 2020-03-29T20:45:26 | 2020-03-29T20:07:29 | C++ | UTF-8 | C++ | false | false | 9,209 | h | // siphash.h - written and placed in public domain by Jeffrey Walton.
/// \file siphash.h
/// \brief Classes for SipHash message authentication code
/// \details SipHash computes a 64-bit or 128-bit message authentication code from a variable-length
/// message and 128-bit secret key. It was designed to be effi... | [
"utsabsingharoy@gmail.com"
] | utsabsingharoy@gmail.com |
b47ca6280e9c929fc90103c3fdbf50044b01f483 | b2cee8168b01b7656bbe944eaf39df7b978c51e1 | /033. 16진 정수 1개 입력받아 8진수로 출력하기.cpp | 61dcd7e44713282cbf382002cb6e196970f83340 | [] | no_license | morisummer2/codeup-100- | de2ea97e24ffeed35f4334cdf2d39fb60e406af9 | cdee374aa6282157d02d565b88d2fbc77e57aeae | refs/heads/master | 2023-03-10T04:56:45.460653 | 2021-02-24T18:04:25 | 2021-02-24T18:04:25 | 341,816,585 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 131 | cpp | #define _CRT_SECURE_NO_WARNINGS
#include<iostream>
using namespace std;
int main()
{
int a;
scanf("%x", &a);
printf("%o", a);
} | [
"79527804+morisummer2@users.noreply.github.com"
] | 79527804+morisummer2@users.noreply.github.com |
fd227561ed87c3a8086189dc8d4a284b9a2efcfe | 9e3e80bdea51a43e1ffc84f37e997742e94d228b | /935.knight-dialer.cpp | cf0e08e06541fe1f3baa4099aeea2b9d01c9b10d | [] | no_license | suyuee/LC | fb1feb137f9bcc427a031078fdfcefa3c07000f5 | 90845407200125480f9acf17a9f49ea4a8f43348 | refs/heads/master | 2022-03-31T03:06:02.068939 | 2019-11-10T23:08:38 | 2019-11-10T23:08:38 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,719 | cpp | /*
* @lc app=leetcode id=935 lang=cpp
*
* [935] Knight Dialer
*
* https://leetcode.com/problems/knight-dialer/description/
*
* algorithms
* Medium (41.18%)
* Total Accepted: 14.8K
* Total Submissions: 35.5K
* Testcase Example: '1'
*
* A chess knight can move as indicated in the chess diagram below:
* ... | [
"15347109301@163.com"
] | 15347109301@163.com |
b9b7f05877116b7715c12eae104c5b9cc2d3e528 | ca28b2eb675028a1d1a25dbe49fd54ac9e6d4171 | /Laba21/pch.cpp | 395238189bc174284927fc4df8dbefb4c3c7df59 | [] | no_license | doesdi/SPbCT_Samoilov501_Laba21 | 31746bc0df6991783d7ee351c4ce06e8c9b52ef0 | 6488bd153220ae9864862c6f6728b1ba9dabdffa | refs/heads/master | 2023-09-04T01:02:52.277070 | 2021-11-06T08:12:21 | 2021-11-06T08:12:21 | 425,190,304 | 0 | 0 | null | null | null | null | WINDOWS-1251 | C++ | false | false | 455 | cpp | // pch.cpp: файл исходного кода, соответствующий предварительно скомпилированному заголовочному файлу
#include "pch.h"
// При использовании предварительно скомпилированных заголовочных файлов необходим следующий файл исходного кода для выполнения сборки. | [
"samoilovzeka31@mail.ru"
] | samoilovzeka31@mail.ru |
999338a10e9520a299e5a1f73230051c9cd42c02 | dc3a5575a8165c8908b032e4d25302b7f1b7e29a | /Codeforces/1207F.cpp | 8e36abb0bd1070678f257ee0367b59afdfc4261c | [] | no_license | algzjh/CompetitiveProgramming | 026d8b0e953a3845473ee747be832d81a81c7a74 | 8c62c54df3c2feb34cf8a2f467b21550d6822751 | refs/heads/master | 2023-07-07T16:03:17.905033 | 2023-07-01T02:54:09 | 2023-07-01T02:54:09 | 120,862,027 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 795 | cpp | #include <bits/stdc++.h>
#define mk make_pair
#define fi first
#define se second
using namespace std;
typedef long long LL;
typedef pair<int, int> PII;
const int MAXN = 5e5 + 5;
const int MAXM = 1e4 + 5;
const int MOD = 998244353;
const int INF = 0x3f3f3f3f;
const int B = 707;
int a[MAXN], ans[710][710];
int main()... | [
"noreply@github.com"
] | algzjh.noreply@github.com |
c2a0e04b6195828cfea8524ba6d9d8c9d2be0814 | a589fafb7bd7d147fd7ca37902e3ea55118477c0 | /codeforces/1464/E.cpp | 445b8d0a89be7086ea63f6e9c3ec68fec1d9686a | [] | no_license | fextivity/codeforces-submissions | 01bd05fe868525e625b40068b8e1e99858b1c765 | d7d09395a8f914aaa45f450a4c1acf4e378d6bc5 | refs/heads/master | 2023-02-03T17:23:10.906023 | 2017-11-10T14:17:00 | 2020-12-23T02:56:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,521 | cpp | #include <bits/stdc++.h>
#include <ext/pb_ds/assoc_container.hpp>
#include <ext/pb_ds/tree_policy.hpp>
using namespace std;
using namespace __gnu_pbds;
#define fi first
#define se second
#define For(i, l, r) for (int i = l; i < r; i++)
#define ForE(i, l, r) for (int i = l; i <= r; i++)
#define FordE(i, l, r) for (int ... | [
"trxbach135@gmail.com"
] | trxbach135@gmail.com |
7394c7c3c1fa7b25471686a6e5e16df3f77708f5 | 0504369cd9797ea4d51e3dc0b0bad268203d3690 | /VersionBuildServer/Controller/SoftwarePackageController.cpp | de1ac47df01d8d3fb79475aaace8cf45321fcf39 | [] | no_license | frogzl/VersionBuild | 371d88adb81f85941db62ded96e41832aaaec70e | 0914c58512e8b352ffae67d61143f1757931d4fc | refs/heads/master | 2020-12-02T07:59:45.212108 | 2017-12-28T06:51:25 | 2017-12-28T06:51:25 | 96,740,050 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 929 | cpp | #include "SoftwarePackageController.h"
#include "../SystemConfig.h"
#include "../Common.h"
#include "../Database/Storage.h"
namespace Controller
{
Define_Controller_Class_Common(SoftwarePackageController, Controller)
Controller_Class_Function_Filter(create)
Controller_Class_Function_Filter(query)
Controller_Cla... | [
"zoulei@hensinder.com"
] | zoulei@hensinder.com |
f5f43094dd5f5b1d66872a9dc3e92f0e8e12b2dd | dcc0d475881af61070811536ce78a1b0b64b656a | /feather_player/feather_player.ino | 3b0846c36c91baa997f497df2fff0db4ffc2b6ec | [] | no_license | mimilei/cmp1 | f265619b36ca6a5d9cb1819d2b389bf54c111be5 | 5e253571acb1cfeb8611aa1e85f5d43e50cfd9de | refs/heads/master | 2021-01-22T09:54:34.765979 | 2017-02-17T08:57:13 | 2017-02-17T08:57:13 | 81,978,160 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,578 | ino | // Specifically for use with the Adafruit Feather, the pins are pre-set here!
// include SPI, MP3 and SD libraries
#include <SPI.h>
#include <SD.h>
#include <Adafruit_VS1053.h>
// These are the pins used
#define VS1053_RESET -1 // VS1053 reset pin (not used!)
// Feather M0 or 32u4
#if defined(__AVR__) || defin... | [
"cowabunga11115@gmail.com"
] | cowabunga11115@gmail.com |
9f641a41b76eddd3c8a855a023888fbbafeed111 | 0d7598686414ffca922b1b7738987b8b0cfa0117 | /Pyjion/intrins.cpp | 846957710df9ade2bd8760d9674d9bb7aad3791c | [
"MIT"
] | permissive | goicco/Pyjion | 74a8725d3151505ba6fb19a7451d951a2fa9c359 | 06b9112a6f5388c538c4aca4cae949c9f1f1da95 | refs/heads/master | 2021-01-24T19:51:28.051524 | 2015-09-16T17:11:39 | 2015-09-16T17:11:39 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 55,909 | cpp | /*
* The MIT License (MIT)
*
* Copyright (c) Microsoft Corporation
*
* 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, cop... | [
"dinov@microsoft.com"
] | dinov@microsoft.com |
c16128d75f8c94b72abba533b63b8562ee0fa123 | b64afc1ce17d4e508a5a18d98e9da0a9db2186f1 | /mainwindow.cpp | 2b18ad838b85d532e1be28925474cebf14a3d030 | [] | no_license | Pinocchio0/Qt- | 3a7b3f51c454a03dde9da31a684323140c1f67cf | 40999438e98501618980c42643f048904e1669e6 | refs/heads/main | 2023-02-03T11:36:07.833003 | 2020-12-19T09:45:54 | 2020-12-19T09:45:54 | 321,294,444 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 66,845 | cpp | #include "mainwindow.h"
#include "ui_mainwindow.h"
static Ui::MainWindow * Pui = NULL; //全局ui
LONG lPort[4] = {-1, -1, -1, -1}; //输出端口port
//构造
MainWindow::MainWindow(QWidget *parent)
: QMainWindow(parent)
, ui(new Ui::MainWindow)
{
ui->setupUi(this);
//获取ui指针
Pui = ui;
//移动到屏幕中心
QDesk... | [
"noreply@github.com"
] | Pinocchio0.noreply@github.com |
318cc35c597f4bb041dac89cc328e4df75e699c1 | adc3102407dd9f5d912092d63a21dad367c5b842 | /pepcoding/hashmapandheap/Countpairsinarraysumdivk.cpp | 699b1fa35dc6343ea6b2584d021cbc8bc498f747 | [] | no_license | cashinqmar/DSALGO | e96b41d0f78e80175764026347acb2fd81264acd | 828d320b8f6df928a992760837ef65782538dc6d | refs/heads/master | 2020-12-05T21:32:06.717509 | 2020-11-17T10:17:15 | 2020-11-17T10:17:15 | 232,251,908 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 490 | cpp | #include<bits/stdc++.h>
using namespace std;
int main(){
int t;
cin>>t;
while(t--){
int n;cin>>n;
vector<int>arr(n);
for(int i=0;i<n;i++)cin>>arr[i];
unordered_map<int,int> m;
int rem;
int ans=0;
for(int i=0;i<n;i++){
rem=arr[i]%4... | [
"sachink061198@gmail.com"
] | sachink061198@gmail.com |
461d02b403c3ef7b201c31c47d04d028bedb956c | 701cbe8daca4714623bb7014f833dccf9de498a8 | /src/use-cases/distributed-replicate-join-flow/Main.cc | 583fb81a19674d11d8c624d588c63dbea378d8a3 | [
"Apache-2.0"
] | permissive | staywizu/DFI-public | cea1a98c1b58140688d9260848646af62c848073 | 46abf43c9b6fb9720e053b28b192f8ee2de8630b | refs/heads/main | 2023-07-20T11:25:34.880550 | 2021-09-01T09:36:22 | 2021-09-01T09:36:22 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,262 | cc | #include <unistd.h>
#include <stdio.h>
#include <getopt.h>
#include "../../utils/Config.h"
#include "Settings.h"
#include "DistributedReplicateJoin.h"
#include "utils/ThreadScheduler.h"
void usage(char* argv[]) {
cout << "Usage: " << argv[0] << " nodeid total_nodes total_thread_count full_left_relation_size full_righ... | [
"lassethostrup@gmail.com"
] | lassethostrup@gmail.com |
894282f5371cabec715f84024cdaaffaf6856da6 | ae53c4dc16b777b466107c89bb2b86a899d20357 | /DCandALG/Equilibrium.BST.totyu.cpp | 09a078816b239e780eb643f07588426a7e418cbe | [] | no_license | ryryrymyg/cpp_ryuseiGai | 7ba1f51de639f1d82c1ea6ca02d1b0cee8fc04df | a2dbbe6734b4cc8ccc9f0391302a85fe9d90e0a2 | refs/heads/master | 2022-12-12T17:10:57.054711 | 2020-09-01T15:22:11 | 2020-09-01T15:22:11 | 269,510,510 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 810 | cpp | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for(int i = 0; i < (n); i++)
//ノード構造
struct node_t{
int val; //値
node_t *ch[2]; //={左, 右}
int pri; //優先度
int cnt; //部分木のサイズ
int sum; //部分木の値の和
node_t(int v, double p): val(v), pri(p), cnt(1), sum(v){
ch[0] =... | [
"[ryryrymyg@gmail.com]"
] | [ryryrymyg@gmail.com] |
18afb350f782335579082ad7f70f00ce78de2083 | 94db23959e6076af2e2eb9a963c53ac86f23286f | /ext/factory.h | c537d74dee613e3d755e8714c8a9df3a9b3c7da1 | [] | no_license | AgnostikTransport/queuesimulator | 11e507a2b3941849b383d39da2f35690c425e07e | 08ad273f4cf8a196c93f7f2c600bf15005b3a57a | refs/heads/master | 2020-06-27T11:17:17.368730 | 2019-07-31T22:37:43 | 2019-07-31T22:37:43 | 199,938,251 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,748 | h | #ifndef FACTORY_H
#define FACTORY_H
#include "../coresim/flow.h"
#include "../coresim/node.h"
#include "../coresim/queue.h"
/* Queue types */
#define DROPTAIL_QUEUE 1
#define PFABRIC_QUEUE 2
#define PQ_QUEUE 3
#define FAIRNESS_DEQUE_QUEUE 4
#define PROB_DROP_QUEUE 5
#define DCTCP_QUEUE 6
#define RANDOM_QUEUE 7
/* Fl... | [
"ololo@ololo.org"
] | ololo@ololo.org |
ad39035e67e5ceddf0e23487b0e10adff7c14fb8 | 7c704cea19d7e9670d9010232f1c486110e9340c | /Led_dan_Ultrasonik.ino | 67f90017aa1d317dcff79402540212960801ec6d | [] | no_license | taufiqwahid/Arduino-Led-and-Sensor-Ultrasonic | 5379665251863d7c5fdf0157be1737cdb6eea81c | a55974720223a5149262fb4aeab02a8f3eb291c9 | refs/heads/master | 2022-11-25T16:41:15.918895 | 2020-08-03T00:01:55 | 2020-08-03T00:01:55 | 284,563,718 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 692 | ino | #define ledMerah 15
#define echoPin 18
#define trigPin 19
float duration, distance;
void setup() {
// put your setup code here, to run once:
pinMode(ledMerah,OUTPUT);
Serial.begin(215200);
pinMode(trigPin,OUTPUT); // MENGELUARKAN FREKUENSI
pinMode(echoPin,INPUT); //MENERIMA FREKUENSI
}
void loop() {
di... | [
"taufiq.wahid58@gmail.com"
] | taufiq.wahid58@gmail.com |
31f9a090a109bff3015781e70a791d6b54beef0d | 87b1736c19cd79903aaf7df9e8a7f52b0bbe355c | /lab9/cq1.cpp | 408ae4795f6ba44e1f1f37ba24a0c6260db00835 | [] | no_license | imagine5am/cs699-pm9 | 85029a0ab8e41f90038ab86caf0e8db0edb6bee1 | 0c28d479c688387f66575317bcadf667d8abb78a | refs/heads/main | 2023-04-06T15:37:19.828890 | 2021-04-29T18:27:31 | 2021-04-29T18:27:31 | 362,910,668 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,597 | cpp | #include <iostream>
#include <map>
#include <string>
#include <queue>
#include <bits/stdc++.h>
using namespace std;
typedef map<pair<string,string>, double> faretabletype;
void addfare(faretabletype &faretable, string origin, string destination, double fare) {
pair <string, string> pair;
pair.first = origin;
... | [
"ssood@cse.iitb.ac.in"
] | ssood@cse.iitb.ac.in |
2a3aba5e23443cc4cfb3bb38d0f405f04816b51a | 1901bdbaf57584e7c5ec21643db340f9d98d6807 | /training/src/tests/tests/layers/Test_CNNLayer2D.cpp | b3b8b723e9f7d4e884235307a3590941a4a65680 | [
"MIT"
] | permissive | huawei-noah/bolt | 2a4febe5f5cce64e3589c2782c489d59975eb6a3 | cf4ca8f8646a8e30ddf91c29a18743d75ac1c172 | refs/heads/master | 2023-08-28T13:36:34.815244 | 2023-06-12T01:24:41 | 2023-06-12T01:24:41 | 225,365,905 | 889 | 168 | MIT | 2023-06-12T01:24:42 | 2019-12-02T12:06:12 | C++ | UTF-8 | C++ | false | false | 43,993 | cpp | // Copyright (C) 2022. Huawei Technologies Co., Ltd. All rights reserved.
// 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,... | [
"jianfeifeng@outlook.com"
] | jianfeifeng@outlook.com |
2b805421ce5e7b9e45fd7114c210ce1a2e4c9d0e | b9caaec8a0d0d335d744c9440455912db875a9b0 | /lite/operators/batch_norm_op.cc | 52240d235a331dbaa4bd70ab74ccb9ee45de55f3 | [
"Apache-2.0"
] | permissive | zhupengyang/Paddle-Lite | 35dd5bc0178853bdde705c64c130452c0b7c39d3 | c8d77d38c5586a98a3ffaa0a87d4a3cd0aa42755 | refs/heads/develop | 2023-06-28T10:40:00.378056 | 2021-11-26T02:51:49 | 2021-11-26T02:51:49 | 203,524,780 | 0 | 0 | Apache-2.0 | 2021-02-26T08:35:47 | 2019-08-21T06:52:26 | C++ | UTF-8 | C++ | false | false | 4,817 | cc | // Copyright (c) 2019 PaddlePaddle Authors. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required... | [
"noreply@github.com"
] | zhupengyang.noreply@github.com |
612ac11babe74a9c3af10e0db5dfd14a1d4c5d5a | 859006ded9e1b0cffc7fa410498e3b8b94c9ad78 | /Legacy/DDS/include/DDSCommanders/FinderMessageListReceiver.h | 0e3e4d10a44209e7dfe0dde47c59fac94209cba9 | [] | no_license | viron11111/sub-2012 | 608795566c5ee621e0c27ff53399dfb58b26ecf5 | 761972b1fdb577c59c693a670605b8aaabe90a4d | refs/heads/master | 2021-01-01T04:48:48.762686 | 2012-10-02T23:47:57 | 2012-10-02T23:47:57 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 473 | h | #ifndef DDSCOMMANDERS_FINDERMESSAGELISTRECEIVER_H
#define DDSCOMMANDERS_FINDERMESSAGELISTRECEIVER_H
#include "DDSMessages/FinderMessageList.h"
#include "DDSMessages/FinderMessageListSupport.h"
#include "DDSCommanders/DDSReceiver.h"
#include <ndds/ndds_cpp.h>
#include <boost/function.hpp>
namespace subjugator {
typed... | [
"matthewbot@gmail.com"
] | matthewbot@gmail.com |
ddc3f5efd6f55f14fb8897e08482b52d410cd2a0 | 11f37c2af971187824419ed3cb751a252f6d8a19 | /CODEFORCES/118A/main.cpp | f583e4b6b46a4c444d850f4e10559d003edddc48 | [] | no_license | devos50/programmingchallenges | c1fd97062bf85d0999d91cbf51b30a56b628972e | 004e64337b1c140023f520aef15781640e108842 | refs/heads/master | 2020-06-07T07:30:10.246738 | 2015-01-19T18:29:10 | 2015-01-19T18:29:10 | 29,485,114 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 478 | cpp | #include <iostream>
#include <sstream>
using namespace std;
bool is_vowel(char c)
{
return (c == 'a' || c == 'o' || c == 'y' || c == 'e' || c == 'u' || c == 'i' ||
c == 'A' || c == 'O' || c == 'Y' || c == 'E' || c == 'U' || c == 'I');
}
int main(int argc, char *argv[])
{
string s; cin >> s;
stringstream ans;
... | [
"mdmartijndevos@gmail.com"
] | mdmartijndevos@gmail.com |
13b824a8b119d2b86be7cb442ff54223caa079e2 | 8ab8c8e650ec40d6edcdae7c5339b838cc61be80 | /CPlusPlus/Decorator/include/Decorator.h | 298603b5200c07f7e87ee43f77eb8474322d135c | [] | no_license | yuhsh24/Design-Pattern | 36d8c6a1554b4ec6159f41e57adea99ee3da3851 | 4c1d5ade419c628009381f6d8205d1a66680add8 | refs/heads/master | 2021-01-19T13:55:56.283904 | 2017-04-09T03:26:47 | 2017-04-09T03:26:47 | 82,429,025 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 537 | h | /*************************************************************************
> File Name: Decorator.h
> Author: ma6174
> Mail: ma6174@163.com
> Created Time: 2017年03月02日 星期四 14时24分21秒
************************************************************************/
#ifndef _DECORATOR_H_
#define _DECORATOR_H_
... | [
"yhshzju@163.com"
] | yhshzju@163.com |
131e77397ddea7497736fc01944c22f195e73c99 | 1e81d31dcbc0602d32743e52f52a302846a4b812 | /Optimal Strategy Game Pick from Ends of array.cpp | 5c2bb4e6f313aba1e7850ea8947de4e02151ef7a | [] | no_license | shubham54/ALGO54 | 427c4bb21bf4332c813a4277063b08012c13bea6 | 66e85e811b204121c129d69aa5b775cb4905137e | refs/heads/master | 2020-12-25T14:49:04.352158 | 2016-08-07T09:50:20 | 2016-08-07T09:50:20 | 61,450,081 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 881 | cpp | #include<bits/stdc++.h>
using namespace std;
int main()
{
int n,a,b,k;
cin>>n;
int A[n];pair<int,int>P[n][n];
for(int i=0;i<n;i++){
cin>>A[i];
}
for(int i=0;i<n;i++){
P[i][i]=make_pair(A[i],0);
}
for(int i=1;i<n;i++){
k=0;
for(int j=i;j<n;j++){
... | [
"shubhamchauhan54@gmail.com"
] | shubhamchauhan54@gmail.com |
1f2e6cdde9d4e08573ef7647bf954b72b716f22c | d1149d3993f601b71db374e530b6cb371af9876a | /tools/bin2rom.cpp | fdbe2b7750075cb47fac53d32fc459cc821cad4f | [] | no_license | free-pdk/fppa-pdk-emulator-vhdl | 5ace73894a10568adad95e0f37ea54f48ab66505 | ca53460a50886eeed55cc7245c9496568c0d7aeb | refs/heads/master | 2020-12-18T14:10:30.673083 | 2020-05-20T19:17:53 | 2020-05-20T19:17:53 | 235,412,729 | 17 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,972 | cpp | /*
* FPPA PDK14 Microcontroller ROM generator tool
*
* Copyright 2020 Alvaro Lopes <alvieboy@alvie.com>
*
* The FreeBSD license
*
* 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 c... | [
"alvieboy@alvie.com"
] | alvieboy@alvie.com |
b1360aaa93a47ae18fb65dbbf225a1b9686e711e | c9796a20cf56aa01ecbc2ff3985703b17bfb51fe | /leetcode/MaximumProductofWordLengths/a.cpp | cd6a36fddd59027b48a3ab655c2f5175b4283000 | [] | no_license | iamslash/learntocode | a62329710d36b21f8025961c0ad9b333c10e973a | 63faf361cd4eefe0f6f1e50c49ea22577a75ea74 | refs/heads/master | 2023-08-31T08:20:08.608771 | 2023-08-31T00:05:06 | 2023-08-31T00:05:06 | 52,074,001 | 7 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 984 | cpp | // Copyright (C) 2018 by iamslash
#include <cstdio>
#include <string>
#include <vector>
class Solution {
public:
int maxProduct(std::vector<std::string>& W) {
std::vector<int> B; // bits for words
int n = W.size();
int rslt = 0;
for (int i = 0; i < n; ++i) {
int w = 0;
for (char c : W... | [
"iamslash@gmail.com"
] | iamslash@gmail.com |
4477b0f762714a1a816f91967bbac70aace739ae | b22588340d7925b614a735bbbde1b351ad657ffc | /athena/Trigger/TrigHypothesis/TrigHLTJetHypo/TrigHLTJetHypo/TrigHLTJetHypoUtils/DijetDEtaMassCondition.h | c98416bfbd46c8a3727082ea917eaf862e03634e | [] | no_license | rushioda/PIXELVALID_athena | 90befe12042c1249cbb3655dde1428bb9b9a42ce | 22df23187ef85e9c3120122c8375ea0e7d8ea440 | refs/heads/master | 2020-12-14T22:01:15.365949 | 2020-01-19T03:59:35 | 2020-01-19T03:59:35 | 234,836,993 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,720 | h | /*
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
*/
#ifndef TRIGHLTJETHYPO_DIJETDETAMASSCONDITION_H
#define TRIGHLTJETHYPO_DIJETDETAMASSCONDITION_H
/********************************************************************
*
* NAME: DijetDEtaMassCondition.h
* PACKAGE: Trigger/TrigHypoth... | [
"rushioda@lxplus754.cern.ch"
] | rushioda@lxplus754.cern.ch |
02b618719fbb8e4a7e5254e08b371c6d1eeccb1c | d81a842bdaca13a1a95b6142841ede5334578608 | /cpp/pgconnector.cpp | 8f9e3c39a751f4d109e294b84d2b125ba4803382 | [] | no_license | jmarsac/pgconnector | aa9887a9c9af76743d480e67da941f09b045ee5f | 3d6363378ca2d13326021059cfc3934cdcf2588d | refs/heads/master | 2020-04-07T19:40:08.211044 | 2018-11-22T07:27:20 | 2018-11-22T07:27:20 | 158,657,406 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 34,316 | cpp | /*--------------------------------------------------------------------------------------+
|
| $Source$
|
| $Copyright: (c) 2016 Azimut. All rights reserved. $
|
+--------------------------------------------------------------------------------------*/
/*--------------------------------------------------------------... | [
"jmarsac@azimut.fr"
] | jmarsac@azimut.fr |
14fb9847bcb7c5983da9debb498ddc8d8ce69a45 | ab9aaf7fef6f98952d18ca2f54f3b8a2227c9db4 | /atcoder.jp/abc163/abc163_d/Main.cpp | 89ed872edd8cbfb6beb220c1163edc66333cd78d | [] | no_license | m-hiroaki/atcoder-archive | 608e0bfb665f61e19d4c86e3eb4d770d9c0c2d75 | 76cb4d945d4dbec54c33e1c24d312437c85f1d26 | refs/heads/master | 2023-06-24T01:18:45.774787 | 2021-07-31T14:22:26 | 2021-07-31T14:22:26 | 294,118,820 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,250 | cpp | #include <bits/stdc++.h>
using namespace std;
typedef unsigned long long ll;
const long long MOD = 1000000007;
long long modpow(long long a, long long n, long long m)
{
long long ans = 1;
while (n)
{
if (n & 1)
{
ans = (ans * a) % m;
}
a = (a * a) % m;
n... | [
"m.hiroaki1217@gmail.com"
] | m.hiroaki1217@gmail.com |
47e0fd4c334cebc756f956db7b9ef6462abd7059 | b2f3a28d37c5ea61d1ace419cae18438c8f69a0f | /XDU/1264.cpp | 454ef8683692c71f1febe609ffde1ce72d3afb5a | [] | no_license | wym6912/ACM-ICPC_wym6912 | 335a07b2325e9b336bfb1eacd0fdb28d8a20e995 | a7d713c9383bda8813990b865bcd7aaebde6486c | refs/heads/master | 2021-01-15T17:55:10.518382 | 2018-12-20T06:50:29 | 2018-12-20T06:50:29 | 99,766,810 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,198 | cpp | //#define NOSTDCPP
#ifndef NOSTDCPP
#include <bits/stdc++.h>
#else
#include <algorithm>
#include <bitset>
#include <cassert>
#include <complex>
#include <cstring>
#include <cstdio>
#include <deque>
#include <exception>
#include <fstream>
#include <functional>
#include <iomanip>
#include <iostream>
#include <istream>... | [
"wym6912@outlook.com"
] | wym6912@outlook.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.