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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1b950d20260ecdb1d7cdf745f0c2eb72dd3e8818 | af0b2d96ba888f591b67dc69b3814af6a3573d42 | /blue_shield/blue_shield.ino | d901c7d369d8f1aed091e08cef5e9f508c718faa | [] | no_license | Ketupat-Development-Studios/lumos-switch | e1474525b563156d31f509fdf2374250445e7cae | 6af7ddfa040cf9ef5d8c02627f9191203b25635e | refs/heads/master | 2021-06-28T15:39:05.434570 | 2020-08-15T12:11:26 | 2020-08-15T12:11:26 | 123,659,475 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,191 | ino | #include<SoftwareSerial.h>
#include<Servo.h>
SoftwareSerial BTserial(3, 2);
Servo actuator;
char c = ' ';
char blueIn = ' ';
boolean readingData = false;
boolean open_state = true;
//int upPin = 4;
//int downPin = 2;
int upVal, downVal;
int upArm = 0;
int downArm = 120;
int restArm = 50;
int state = 999;
int moving =... | [
"devyaoyh@gmail.com"
] | devyaoyh@gmail.com |
28379d3c2bfb8ad80babf8ad0c30f944a5ab42ac | 460455e7990de7257aa223a58e73069f3ef7ff43 | /src/server/scripts/Kalimdor/CavernsOfTime/DarkPortal/instance_dark_portal.cpp | 6a131594483f1bef460cc1a3df9e373f8063d751 | [] | no_license | Shkipper/wmane | 2ce69adea1eedf866921c857cbc5bd1bc6d037f0 | 2da37e1e758f17b61efb6aae8fa7343b234f3dcd | refs/heads/master | 2020-04-24T19:51:51.897587 | 2019-02-25T06:14:18 | 2019-02-25T06:14:18 | 172,225,859 | 0 | 0 | null | 2019-02-23T14:49:31 | 2019-02-23T14:49:31 | null | UTF-8 | C++ | false | false | 11,104 | cpp | /*
* Copyright (C) 2008-2013 TrinityCore <http://www.trinitycore.org/>
* Copyright (C) 2006-2009 ScriptDev2 <https://scriptdev2.svn.sourceforge.net/>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software ... | [
"felianther15@gmail.com"
] | felianther15@gmail.com |
e3a3fefd05f18e0fa221f3dc444500e79b07d275 | 4c81d5546aa29fb33d8b8d9a7470a4fd69284cc0 | /protocolBuffer/protocolBuffer_org/protobuf-2.6.1/out/BuyClubList_Request.pb.cc | 3c132648b81d88cefbcc15d2f2ab0a13055edea4 | [
"LicenseRef-scancode-protobuf"
] | permissive | zzfeed/tools | 6836c81579a4d02055b12735aa6bde185ecab930 | f43215105e71802afa95b78423011ebaf6c532e8 | refs/heads/master | 2021-09-21T09:56:15.773978 | 2018-08-24T06:09:40 | 2018-08-24T06:09:40 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | true | 16,365 | cc | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: BuyClubList_Request.proto
#define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION
#include "BuyClubList_Request.pb.h"
#include <algorithm>
#include <google/protobuf/stubs/common.h>
#include <google/protobuf/stubs/once.h>
#include <google/protobuf/io... | [
"xie123888"
] | xie123888 |
a819f06d17146b82f70650b918cd1ad1cc722da9 | 4a5f47f4da5356b87c789d15dd83188929791cbc | /src/rpc/rawtransaction.cpp | a422b1c57a65e4a5e7259190b576c8d8bc0e5d4e | [
"MIT"
] | permissive | TMRO2020/UkkeyCoin | e7a5cad8c530311364c47b9aaa0a1f3f0e9db005 | 77aa24be0831b5350d6892d32ff679d9459046a6 | refs/heads/master | 2022-01-12T03:39:55.812200 | 2019-03-19T21:41:00 | 2019-03-19T21:41:00 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 46,178 | cpp | // Copyright (c) 2010 Satoshi Nakamoto
// Copyright (c) 2009-2015 The Bitcoin Core developers
// Copyright (c) 2014-2017 The Dash Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "base58.h"
#include "chai... | [
"osaru3@saruyamax.com"
] | osaru3@saruyamax.com |
c7443a72fb684d60064a22afe970a823fb316bf7 | 7dd05848e173a624177427f66a1ef7786e94db58 | /extern/lua-5.4.2/src/linit.cc | 3dd960b5b2efc64d4368769dd07d8857af7e33fb | [
"MIT"
] | permissive | stjordanis/rd-eztraits | 6606ca7b63e088b4b045da4ac040125c39a43763 | 5e549edef7a4a39e03747b375a85d8262d0d8431 | refs/heads/master | 2023-07-13T12:24:03.974345 | 2021-08-18T10:53:10 | 2021-08-18T10:53:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,705 | cc | /*
** $Id: linit.c $
** Initialization of libraries for lua.c and other clients
** See Copyright Notice in lua.h
*/
#define linit_c
#define LUA_LIB
/*
** If you embed Lua in your program and need to open the standard
** libraries, call luaL_openlibs in your program. If you need a
** different set of libraries, copy ... | [
"manfred.grabherr@imbim.uu.se"
] | manfred.grabherr@imbim.uu.se |
57fec50d11f2df8706f891a0e21c9df4c564569a | 64ed6f392c2c43c359d0aab24c6ec84b14fb7487 | /SharedPtr.h | a4e21003618a431fa0c46c823b1eac82bcd31b95 | [] | no_license | rushing-w/DataStruct | e655a8583b77526a823158271f72ac07b7527e65 | afb77f2eb20b2cbd440f6a1511a66b305a568c0b | refs/heads/master | 2021-01-20T07:21:14.679406 | 2017-05-03T05:22:43 | 2017-05-03T05:22:43 | 83,885,978 | 2 | 0 | null | null | null | null | GB18030 | C++ | false | false | 2,927 | h | #pragma once
#include<iostream>
using namespace std;
//由于上面的指针存在各种各样的问题,只能适用于特定的场合,所以我们需要实现一种比较通用的,
//在这里,实现了SharedPtr,即引用计数的深拷贝
template<class T>
class SharedPtr
{
public:
SharedPtr(T* ptr = NULL)
: _ptr(ptr)
{
_count = new int(1);
}
SharedPtr(SharedPtr<T>& sp)
: _ptr(sp._ptr)
{
(*sp._count)++;
_cou... | [
"1030104052@qq.com"
] | 1030104052@qq.com |
e2c98e4a9ff836be45f3c3440060f3657a812522 | 06c742cf2cb5568925e24a3f8090347efcf59b0f | /Beam_DX11_3D_ENGINE/Code/Source/Rendering/Material.cpp | ed1761ff68d72a400712a890fbd2e2cf0b74d7ff | [] | no_license | BeamPoints/Beam_Dev_3D_Engine | b71b65b158c12f87fbd365728736b876b7a268a3 | 3d6295834e90775bc70716d46d2dd1c3ee0229de | refs/heads/master | 2020-04-23T00:00:34.108045 | 2019-02-22T15:08:49 | 2019-02-22T15:08:49 | 170,762,265 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 961 | cpp | #include "../../Include/Rendering/Material.h"
bool CMaterial::LoadShader(std::string const & aFilename, std::vector<char>& aByteCode)
{
std::ifstream file;
file.open(aFilename, std::ios::binary);
bool const ok = not (file.eof() or file.fail());
if (ok)
{
file.seekg(0, std::ios_base::end);
std::streampos file... | [
"beampoints@gmail.com"
] | beampoints@gmail.com |
11028e22090336c8de6d4c497e0bebb28063b5c3 | 5f790869382ac6a2c7e0ae913ccbfdb60508c694 | /Level 2/Math/Rearrange Array.cpp | 2c2c13bb006eb9ac6707e076fd51f102fd0cb47d | [] | no_license | rohithmone27/InterviewBit | 4e702a62d4f8ff88ca89ebc3012ecbab86aacb03 | cbf65c69159d0a552b53b8e61bc94c76c85582e1 | refs/heads/master | 2022-11-28T23:22:30.520518 | 2020-08-09T16:45:08 | 2020-08-09T16:45:08 | 285,234,911 | 6 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 187 | cpp | void Solution::arrange(vector<int> &A) {
int n=A.size();
for(int i=0;i<n;i++){
A[i] += (A[A[i]]%n) *n;
}
for(int i=0;i<n;i++){
A[i] /= n;
}
}
| [
"noreply@github.com"
] | rohithmone27.noreply@github.com |
1bf936e157d31bca7fb049e14d8e5a2d98ece116 | ee9c5d0ca8f5b0884827f808fd74289f5f8fc5f2 | /problems/BOJ/BOJ1626.cpp | 272d5b73e2e8d9d8f9ae4db9b797efb405a95a44 | [] | no_license | caoash/competitive-programming | a1f69a03da5ea6eae463c6ae521a55bf32011752 | f98d8d547d25811a26cf28316fbeb76477b6c63f | refs/heads/master | 2022-05-26T12:51:37.952057 | 2021-10-10T22:01:03 | 2021-10-10T22:01:03 | 162,861,707 | 21 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 5,944 | cpp | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
using vi = vector<int>;
using vl = vector<ll>;
#define pb push_back
#define rsz resize
#define all(x) begin(x), end(x)
#define sz(x) (int)(x).size()
using pi = pair<int,int>;
#define f first
#define s second
#define mp make_pair
const int MX = 500... | [
"caoash@gmail.com"
] | caoash@gmail.com |
25071a0ded9f81060f559feee155a61b7753d78e | 4c6af24752eda9fc0dec55f198530d447a8494af | /HW_1/task6/task6/task6.cpp | 5c22f90c791a2b3f342e11a3379412884c149fe0 | [] | no_license | vlad24/FIRST-SEMESTER | 45feff9d6ffc165d82956593b855f6944af137f7 | 72d2a6d6ea7d53922a924f00c4182c52508ebbb4 | refs/heads/master | 2020-04-15T20:47:39.805095 | 2013-02-17T18:57:09 | 2013-02-17T18:57:09 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 814 | cpp | //#include "stdafx.h"
#include "iostream"
using namespace std;
int slen(char c[])
{
int u = 0;
while (c[u] != '\0')
{
u++;
}
return u;
}
int main()
{
char mainstring[100] = {};
char substring[100] = {};
cout << "Enter the main string : " ;
cin >> mainstring;
cout << "Enter the sub string : " ;
cin >> su... | [
"vlad.pavlov24@gmail.com"
] | vlad.pavlov24@gmail.com |
28bc78033dfa9a3b5291f1011132178e9af86e93 | 5e2e27daacfddfe119015736fcc6e9a864d66c49 | /GameEngine/Graphics/FrustumCalc.cpp | f3e4d4875d8d0e6c78eb75f677056e41f9e4fa38 | [] | no_license | mdubovoy/Animation_System | 17ddc22740962209e7edbd8ea85bec108499f3e2 | b356d0ea6812e0548336bc4813662463e786de93 | refs/heads/master | 2021-01-22T11:41:13.637727 | 2014-09-22T14:01:20 | 2014-09-22T14:01:20 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,987 | cpp | #include "FrustumCalc.h"
#include "Camera.h"
extern Camera* pCamera; // only used if we want this object to have its own ModelView for debug
#define COLLISION_DEMO 0 // 1 - keys set up to move cube for collision demo, 0 - keys set up to move camera
FrustumCalc::FrustumCalc()
{
lightColor = Vect(1.0f, 0.0f, 0.0f,... | [
"michel.dubovoy@gmail.com"
] | michel.dubovoy@gmail.com |
ebef6d955ce85c26db137504d85b30c34ef224e7 | c3b4b1441a6ee5a7b6c48e4f9f0649fe14d881b3 | /ClusterSKSolver/source/SKLoader.cpp | af473b8672d278d57f54f605dff2aad617909c4d | [] | no_license | antsuabon/ClusterSKSolver | c50b4452530e46c7b137f9e1360290f9c67f7c6b | 42dfaa84c6890c6a55e7bac6c7c2961fa98979cf | refs/heads/master | 2023-06-04T10:44:19.759862 | 2021-06-27T20:22:03 | 2021-06-27T20:22:03 | 349,968,214 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,750 | cpp | #include "../header/SKLoader.h"
using namespace std;
vector<string> tokenize(string s, string del = " ")
{
vector<string> res;
int start = 0;
int end = s.find(del);
while (end != -1)
{
res.push_back(s.substr(start, end - start));
start = end + del.size();
end = s.find(del, start);
}
res.push_back(s.subs... | [
"antsuabon@alum.us.es"
] | antsuabon@alum.us.es |
60f9420dc7a126df23acd2a3d1eccf4c2ec70e33 | 35ef95e579c011d2e62c498fe4346aaf0db16006 | /Project6 126.cpp | d60f4c8f9f1107d9ad19126e0f03ee4d5713c09d | [] | no_license | weifengshi/CS200 | f3931267232daf05ad9df31d052e7a0db0af8816 | 1e4e3b0cb5fdd497f1794d194210d8a85459094b | refs/heads/master | 2018-12-18T17:24:38.684609 | 2018-09-14T17:58:01 | 2018-09-14T17:58:01 | 79,519,356 | 0 | 0 | null | 2018-09-14T17:57:10 | 2017-01-20T02:58:07 | C++ | UTF-8 | C++ | false | false | 592 | cpp | #include<iostream>
using namespace std;
int main() {
float a, b;
cout << "Enter a:";
cin >> a;
cout << "Enter b:";
cin >> b;
int number;
cout << endl << "What kind of operation?(1)Add,(2)Subtract,(3)Multiply,(4)Divide" << endl;
cout << "Choice:";
cin >> number;
switch (number)
{
case 1:
... | [
"noreply@github.com"
] | weifengshi.noreply@github.com |
7e7ee7e400491d8def14209c22d725af2e09833d | f1b5f30436d91a3331cca7fb927e68fad4066b6f | /HX711Serial/HX711Serial.ino | 54e84b53e697dfc3d0ac0378381b82bb9e70140d | [] | no_license | woodif/HX-711 | 1a9da33d28c9baa4a6732b117255bbd9ee46dc36 | 5d4a84491e27eee49a42790c92adc9791dd8a9ea | refs/heads/master | 2016-09-02T04:49:48.756846 | 2015-05-16T10:21:01 | 2015-05-16T10:21:01 | 35,719,265 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,699 | ino | #include "HX711.h"
#include <SoftwareSerial.h>
#include <Wire.h>
//#include <LiquidCrystal_I2C.h>
// HX711.DOUT - pin #A1
// HX711.PD_SCK - pin #A0
//LiquidCrystal_I2C lcd(0x27, 16, 2);
HX711 scale(A1, A0); // parameter "gain" is ommited; the default value 128 is used by the library
//SoftwareSerial mySerial(10, 9);... | [
"sarawoot_202@hotmail.com"
] | sarawoot_202@hotmail.com |
5be9054993f9ddc91df121b7adabbedc3b46eba0 | 0897a99cad19fdbc4b5a65571bc148aa28086726 | /include/OutOfCore/BlockwiseImage.hpp | b0673216913a9f30ed17d95ffeecb0f79af4fd2c | [] | no_license | sg47/Out_Of_Core_Module | 10c39c03cc85d448e280591333d402cbed87a96a | d1d907df47a508b8a05473deb7f977b32d80be00 | refs/heads/master | 2021-01-22T15:23:10.524661 | 2012-09-12T12:14:35 | 2012-09-12T12:14:35 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,225 | hpp | #ifndef _BLOCKWISE_IMAGE_HPP
#define _BLOCKWISE_IMAGE_HPP
#include "BlockwiseImage.h"
#include "IndexMethod.hpp"
#include <boost/assert.hpp>
#include <boost/lexical_cast.hpp>
#include <string>
#include <fstream>
#include <strstream>
#ifdef SAVE_MINI_IMAGE
/*---------------------------------------------*/
/* opencv ... | [
"whiledoing@sina.com"
] | whiledoing@sina.com |
e0f7e41260c6cd1a26d716ac9777ced1f1fb5730 | 0dc20516079aaae4756d28e67db7cae9c0d33708 | /jxy/jxy_src/jxysvr/thirdparty/breakpad/src/processor/stackwalker_amd64.cc | 06f4b98e0dbfc023bdc52acb4fed29b7a47a5064 | [
"BSD-3-Clause"
] | permissive | psymicgit/dummy | 149365d586f0d4083a7a5719ad7c7268e7dc4bc3 | 483f2d410f353ae4c42abdfe4c606ed542186053 | refs/heads/master | 2020-12-24T07:48:56.132871 | 2017-08-05T07:20:18 | 2017-08-05T07:20:18 | 32,851,013 | 3 | 8 | null | null | null | null | UTF-8 | C++ | false | false | 10,221 | cc | // Copyright (c) 2010 Google Inc.
// 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 ... | [
"wuzili1234@gmail.com"
] | wuzili1234@gmail.com |
071179dcc13fa3cc32aa68486eaed86d12070d4c | abbcbf44964d4557cfcab0fe1056bdcca4e7e60a | /VectorList/src/WordMap.cpp | 063f7b812628b5e8dad177bf1d679291e3bdfb38 | [] | no_license | charit93/Data-Structures-CMPE-180-92 | b4fdc6cda32330b7d199d1b7f52dcf9517fbcdc8 | 8937f71a1e6df21a4e66c18702f5404591c1155a | refs/heads/master | 2020-03-11T12:11:10.374829 | 2018-09-04T18:31:58 | 2018-09-04T18:31:58 | 129,990,234 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,357 | cpp | #include <map>
#include <string>
#include<iostream>
#include "WordMap.h"
using namespace std;
WordMap::WordMap() {}
WordMap::~WordMap() {}
map<string, Word>& WordMap::get_data() { return data; }
int WordMap::get_count(const string text) const
{
/***** Complete this function. *****/
map<string, Word>::const_itera... | [
"charitupadhyay@gmail.com"
] | charitupadhyay@gmail.com |
6130b31e7e0ec9ae51a0c5e9d6e4b1a22320039d | 02b715831737eb94df84910677f6917aa04fa312 | /EIN-SOF/DOMASNO/DOMASNO C++/OBLIK/troDimenzionalni.cpp | 38b9fa535221b9cd5524d2c86d62d31fe3906053 | [] | no_license | DoozyX/EIN-SOF | 05b433e178fbda6fb63e0d61387684158913de1d | 5de0bd42906f9878557d489b617824fe80c4b23b | refs/heads/master | 2021-01-01T18:25:14.240394 | 2017-11-18T12:54:16 | 2017-11-18T12:54:16 | 98,330,930 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 609 | cpp | //programa troDimenzionalni.cpp
//deviniranje na metodi
#include <iostream>
using std::cout;
#include "troDimenzionalni.h"
TroDimenzionalni::TroDimenzionalni(double x,double y,double z):DvoDimenzionalni(x,y)
{
h=z;
}
double TroDimenzionalni::presmetajPlostina()
{
double pom,pom1;
pom=DvoDimenzionalni::presm... | [
"slobodan.kletnikov@gmail.com"
] | slobodan.kletnikov@gmail.com |
472034a1fe62ab43a454a0ffc33e33345712f17f | 0ede806372e66372edabd130593e6660c222f21f | /hw6/ref.cpp | 33f67d40600b338569e69b32147d9cb28241f471 | [] | no_license | elijahverdoorn/SD-Spring-15 | ee47022dbe30a595efe649fcfd19a52406aedb10 | 7b9afb05d874dc939ecd686905754c5dd54a5d81 | refs/heads/master | 2016-09-05T17:03:05.423101 | 2015-09-15T15:16:43 | 2015-09-15T15:16:43 | 34,302,490 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 150 | cpp | #include <iostream>
using namespace std;
void f1(int& x)
{
x++;
}
main()
{
int x = 2;
cout << x << endl;
f1(x);
cout << x << endl;
return 0;
} | [
"elijahverdoorn@gmail.com"
] | elijahverdoorn@gmail.com |
225f35c55c3268891fa6a2f2b03b9e6fb1257ca4 | 148db5d8bc334989e589726f969a9a51f823a8ef | /frontends/parsers/p4/p4AnnotationLexer.hpp | 7814b046486c6ed9998c3717aca4d14613895183 | [
"Apache-2.0"
] | permissive | P4-Research/p4c | 95bc225e80cb512cc419c15ad728c1e87c26e424 | e1b2239cd8249d9069c4125ccb95683975cd3c99 | refs/heads/master | 2021-06-25T01:28:29.268496 | 2020-12-16T00:57:02 | 2020-12-16T00:57:02 | 179,700,661 | 6 | 2 | Apache-2.0 | 2020-02-20T12:29:07 | 2019-04-05T14:47:06 | C++ | UTF-8 | C++ | false | false | 2,245 | hpp | #ifndef FRONTENDS_P4_P4ANNOTATIONLEXER_H_
#define FRONTENDS_P4_P4ANNOTATIONLEXER_H_
#include "frontends/parsers/p4/abstractP4Lexer.hpp"
#include "frontends/parsers/p4/p4parser.hpp"
namespace P4 {
class P4AnnotationLexer : public AbstractP4Lexer {
public:
enum Type {
// Lists
EXPRESSION_LIST = P4... | [
"noreply@github.com"
] | P4-Research.noreply@github.com |
d6c3b8ca64db853e8a526ca38aa0e3336dc7678c | 438e7e41206157a38e4318450a91e4cc1a5af564 | /TP3/Ej3/main.cpp | e42e3d089f1c59814ae057e1f1a5a93e8fe476d5 | [] | no_license | gtessi/PDI2014-FICH | f793d8af457a673432ff3c79d1056122de550a00 | dd9d4e2df2ff70a711a5cf747875abc3134f1e8b | refs/heads/master | 2020-03-27T05:51:19.198022 | 2018-08-25T02:51:25 | 2018-08-25T02:51:25 | 146,057,455 | 0 | 0 | null | null | null | null | ISO-8859-1 | C++ | false | false | 3,377 | cpp | #include <iostream>
#include "CImg.h"
using namespace cimg_library;
using namespace std;
// Cuenta la cantidad de unos en el patron
unsigned int cuentaUnos(unsigned int n,double patron[]){
unsigned int total=0;
unsigned int n2=n*n;
for(unsigned int i=0;i<n2;i++)
if(patron[i]==1.0)
total++;
... | [
"noreply@github.com"
] | gtessi.noreply@github.com |
9bb2695c911ba2c39b5ab4b73de7d9ff066d43f7 | 7e00a527a91a4bd2a60c7f1f0ae339730daa7ad1 | /src/Statistics.cpp | c5470a7351ab753d606a98975d7272c7a0b3416e | [] | no_license | tzavellas/ObserverPattern | 4a12a99c8c2a0b2abc4f5f01580bc9dda699fc40 | 6d95db6c89812062500ff62ccd6ff918d51835c9 | refs/heads/master | 2023-01-20T18:42:08.244843 | 2020-11-29T17:16:22 | 2020-11-29T17:16:22 | 316,933,637 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 738 | cpp | #include "Statistics.hpp"
#include <algorithm>
Statistics::Statistics(const float& value) : m_MinValue{value}, m_MaxValue{value}, m_ValueSum{value}, m_Count{ (value != 0.0) ? 1u : 0u}
{
// nothing to do
}
void Statistics::update(const float& newValue)
{
if (m_Count > 0)
{
m_MinValue = std:... | [
"tzavellas@gmail.com"
] | tzavellas@gmail.com |
faee043efffcd28847ea5d433bdd91e6452d1edb | 0233477eeb6d785b816ee017cf670e2830bdd209 | /SDK/SoT_BP_ipg_hair_05_Desc_classes.hpp | d63a95a7ae7acdde9d10a31695bf281f88394ce5 | [] | no_license | compy-art/SoT-SDK | a568d346de3771734d72463fc9ad159c1e1ad41f | 6eb86840a2147c657dcd7cff9af58b382e72c82a | refs/heads/master | 2020-04-17T02:33:02.207435 | 2019-01-13T20:55:42 | 2019-01-13T20:55:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 702 | hpp | #pragma once
// Sea of Thieves (1.4) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "SoT_BP_ipg_hair_05_Desc_structs.hpp"
namespace SDK
{
//---------------------------------------------------------------------------
//Classes
//--------------------------------------------------------------------------... | [
"igromanru@yahoo.de"
] | igromanru@yahoo.de |
f960a225f0bf911fb98ca368ad195675a34051e5 | 152c8ed80987ac2de10fe03fe6af283f1430d0be | /Classes/Tool.h | 75c5a069c124c72439d35fc22543b2ad190ade63 | [] | no_license | aababy/Begins_New | 2bae369a90f4d4e9f5bba1d2f3669a0eef22d4c5 | 9c3e09c5d38667c2fdc35f4ccf2aa3bbfd7ea627 | refs/heads/master | 2021-01-01T15:55:15.575484 | 2014-12-22T03:58:00 | 2014-12-22T03:58:00 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 851 | h | #pragma once
#include "IncludeForHeader.h"
#include "ui/UICheckBox.h"
Button * initButton(int iTag, Widget* root, Widget::ccWidgetTouchCallback callback);
ImageView * initImageView(int iTag, Widget* root);
CheckBox * initCheckBox(int iTag, Widget* root, const CheckBox::ccCheckBoxCallback& callback);
Layout * in... | [
"jumpchess@163.com"
] | jumpchess@163.com |
a903ab1beccc7bef5a1dab90c14efc18e0a35495 | a712987d2ef30425eda8af84b3132d25d27da46a | /src/network/client.h | fb13e1d122192f9deaaf09f3302c1b39171c774f | [
"MIT"
] | permissive | ziloka/cpptris | ee85210b951285c5f8b37b0b78edcda6300a2ce6 | 281c478add5a8b2c048754f1264c4b70311c4864 | refs/heads/master | 2023-03-19T05:50:35.786618 | 2018-10-30T13:06:02 | 2018-10-30T13:06:02 | 532,646,997 | 1 | 0 | null | 2022-09-04T20:11:35 | 2022-09-04T20:11:34 | null | UTF-8 | C++ | false | false | 1,174 | h |
#ifndef CLIENT_H
#define CLIENT_H
#include <string>
#include <SFML/Network.hpp>
#include "../piece.h"
class Client {
private:
sf::TcpSocket socket;
bool connected = false;
std::string address;
char username[25];
int id;
std::string * users = new std::string[4];
int userWorlds[4][10*2... | [
"me@evgiz.net"
] | me@evgiz.net |
ff30ab1177f96472963069ec3d2efaef5b5b6bd1 | 091afb7001e86146209397ea362da70ffd63a916 | /inst/include/boost/simd/constant/include/constants/five.hpp | a1ad45fe0bd224bc95be40398253f8f19297a570 | [] | no_license | RcppCore/RcppNT2 | f156b58c08863243f259d1e609c9a7a8cf669990 | cd7e548daa2d679b6ccebe19744b9a36f1e9139c | refs/heads/master | 2021-01-10T16:15:16.861239 | 2016-02-02T22:18:25 | 2016-02-02T22:18:25 | 50,460,545 | 15 | 1 | null | 2019-11-15T22:08:50 | 2016-01-26T21:29:34 | C++ | UTF-8 | C++ | false | false | 254 | hpp | #ifndef BOOST_SIMD_CONSTANT_INCLUDE_CONSTANTS_FIVE_HPP_INCLUDED
#define BOOST_SIMD_CONSTANT_INCLUDE_CONSTANTS_FIVE_HPP_INCLUDED
#include <boost/simd/constant/constants/five.hpp>
#include <boost/simd/constant/constants/simd/vmx/altivec/five.hpp>
#endif
| [
"kevinushey@gmail.com"
] | kevinushey@gmail.com |
e63ed43c36b42ab2c0fdbe663d81de565f6a568d | ee5d08a8b806b9a5c3452664b9ec6c8776b8225e | /recording/src/irobot_create/nodes/odometry_rosbag.cpp | 49651c905fccd794964b8fc71422984303fe4ca6 | [
"BSD-3-Clause"
] | permissive | sbrodeur/CREATE-dataset | cff764617883f9186c607482f61cf85c4d4007e6 | 473e0555e81516139b6e70362ca0025af100158b | refs/heads/master | 2021-05-05T02:25:24.459839 | 2018-01-31T20:41:50 | 2018-01-31T20:41:50 | 119,738,964 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,428 | cpp | /******************************************************************************
*
* Copyright (c) 2016, Simon Brodeur
* 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... | [
"Simon Brodeur@USherbrooke.ca"
] | Simon Brodeur@USherbrooke.ca |
f6dbc7835f49e3975e7d47d4ff8d4df76bb2d393 | 490ec0d2c4d0ae5d54095c71e90d99bbc87049b8 | /ECE551-cpp/mp_miniproject/My_project/source/parsing.cpp | f069043794810b4bcd7630229a24fde35f4e4d7b | [
"MIT"
] | permissive | sicongzhao/cht_Duke_courses | b8c1f03c2fda05b5e73552e6bdb7f3c323810620 | d889e85e677f419c67c12e78143f3e8143457944 | refs/heads/master | 2022-01-06T23:18:36.962017 | 2019-06-12T20:33:33 | 2019-06-12T20:33:33 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,592 | cpp | #define MAXFLAG 1
#define MINFLAG -1
#include "parsing.h"
#include "helpers.h"
/*************************************************
Function: parsing
Description: to wrap-up the parsers for each step
Calls:
Called By: numeric.cpp/main
Input: 1.read-in file content 2.mapped-function pairs 3.all valid commands.
Return: v... | [
"cht@bupt.edu.cn"
] | cht@bupt.edu.cn |
74c55dfce4be27254ac35cafceb951c9708346f8 | f99c0194278639456604ebf76443b65bf1c6ed04 | /paymentchannel/include/paymentchannel/Commitment.hpp | e1d7c563cfe490394a46f0cc2b700c4d871b15fa | [] | no_license | RdeWilde/JoyStream | e4ed42ff61af1f348cb49469caa8e30ccf3f8a52 | 95c2b6fc50251fbe4730b19d47c18bec86e18bf4 | refs/heads/master | 2021-06-11T20:26:46.682624 | 2016-05-10T08:27:05 | 2016-05-10T08:27:05 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,636 | hpp | /**
* Copyright (C) JoyStream - All Rights Reserved
* Unauthorized copying of this file, via any medium is strictly prohibited
* Proprietary and confidential
* Written by Bedeho Mender <bedeho.mender@gmail.com>, August 15 2015
*/
#ifndef PAYMENTCHANNEL_COMMITMENT_HPP
#define PAYMENTCHANNEL_COMMITMENT_HPP
#includ... | [
"bedeho.mender@gmail.com"
] | bedeho.mender@gmail.com |
f3f67e5db33e87b03b0ce3aa1ba033ffa5db70bc | 90efdfa1f56e2082283e510c7aa9a77ceab8ce18 | /template/src/TemplateGame.h | 8c426edcee6f05323707188d4f260324a400fbe1 | [] | no_license | aurodev/GPlay3D | 451e2863d6ac3222762672d358eecd494d9cc272 | ad6b88dd22688e2b6e6e2fa02779daa0b5545592 | refs/heads/master | 2020-07-13T04:28:30.234238 | 2018-06-26T06:48:20 | 2018-06-26T06:48:20 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 877 | h | #ifndef TemplateGame_H_
#define TemplateGame_H_
#include "gplay3d.h"
using namespace gameplay;
/**
* Main game class.
*/
class TemplateGame: public Game
{
public:
/**
* Constructor.
*/
TemplateGame();
/**
* @see Game::keyEvent
*/
void keyEvent(Keyboard::KeyEvent evt, int key);
... | [
"fredakilla@gmail.com"
] | fredakilla@gmail.com |
9ce6b3907dcfec4a8f95f860990c41218de9b1e2 | 7f940f1a54ab400d98d0291248427114acada9ee | /concepts/threads/futures.cpp | 9791c67166ebc5f8496a150451b958ad77788c3c | [] | no_license | anirudhaps/Cplusplus | 7d01e5deb1e0d4dda37257cd8831f3a89f7049b5 | ac180ffe894a39443d6bb6438fda9ff308701e00 | refs/heads/master | 2022-09-29T04:30:40.181243 | 2022-09-13T16:51:02 | 2022-09-13T16:51:02 | 86,616,344 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,108 | cpp | #include <future>
#include <iostream>
// needed for using 300ms as arg in sleep_for
using namespace std::chrono_literals;
// This is the task/callable that will be executed in a separate thread
int operation(int count) {
int sum{};
for (int i = 0; i < count; ++i) {
sum += i;
std::cout << '.';
... | [
"ps.anirudha@gmail.com"
] | ps.anirudha@gmail.com |
34434c5c2c810bf1e750d30effd2a03e6ae7328b | d297a725b3d28ce67796552ddc7341b8793151b0 | /stereo_disparity/main.cpp | bd7e88a3c99d5d426f001a2fcaa3b84d52e06787 | [] | no_license | andrey-golubev/opencl-sandbox | d76a4f4391258ec302f72ae0b5ba0335de5b66ab | ef23dec4876c2365f92ce4896d7fc389ad7128b7 | refs/heads/master | 2020-12-19T19:02:15.420906 | 2020-04-15T11:11:04 | 2020-04-15T11:11:04 | 235,823,367 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,727 | cpp | #include <cstdint>
#include <iostream>
#include <map>
#include <random>
#include <opencv2/highgui.hpp>
#include <opencv2/imgcodecs.hpp>
#include <opencv2/imgproc.hpp>
#include "common/utils.hpp"
#include "stereo_disparity_cpp_inl.hpp"
#include "stereo_disparity_cpp_opt_inl.hpp"
#include "stereo_disparity_ocl_inl.hpp... | [
"andpgolubev@gmail.com"
] | andpgolubev@gmail.com |
dff29843ca798cef5c05755a5ffe7bf01763b79b | 0509e367ee369133f0c57f2cbd6cb6fd959da1d5 | /chapter7/rei7.3_1.cpp | da2190f58aff74d78efa2500b01187864305d86f | [] | no_license | Hiroaki-K4/cpp_learn | 5a1e6916d504027c18c64a16c353ee72429ed383 | 69d38f317f9c144b4e092361936d61b62d3bed3b | refs/heads/main | 2023-02-25T12:40:56.497944 | 2021-01-30T13:27:00 | 2021-01-30T13:27:00 | 317,693,373 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 551 | cpp | #include <iostream>
#include <cstdlib>
#include <cstring>
#include <cmath>
#include <ctime>
using namespace std;
class base {
public:
base() { cout << "baseクラスのコンストラクタ呼び出し" << endl; }
~base() { cout << "baseクラスのデストラクタ呼び出し" << endl; }
};
class derived : public base {
public:
derived() { cout << "derivedクラスのコンストラクタ... | [
"49no19@gmail.com"
] | 49no19@gmail.com |
4145b1d07620be6a4bf337206b5c03f9d5bc4913 | 84257c31661e43bc54de8ea33128cd4967ecf08f | /ppc_85xx/usr/include/c++/4.2.2/gnu/javax/crypto/sasl/crammd5/CramMD5AuthInfoProvider.h | 421ce0e9b7be5f9b275a3097407a7fcf48d98d97 | [] | no_license | nateurope/eldk | 9c334a64d1231364980cbd7bd021d269d7058240 | 8895f914d192b83ab204ca9e62b61c3ce30bb212 | refs/heads/master | 2022-11-15T01:29:01.991476 | 2020-07-10T14:31:34 | 2020-07-10T14:31:34 | 278,655,691 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,232 | h | // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
#ifndef __gnu_javax_crypto_sasl_crammd5_CramMD5AuthInfoProvider__
#define __gnu_javax_crypto_sasl_crammd5_CramMD5AuthInfoProvider__
#pragma interface
#include <java/lang/Object.h>
extern "Java"
{
namespace gnu
{
namespace javax
{
names... | [
"Andre.Mueller@nateurope.com"
] | Andre.Mueller@nateurope.com |
cc6c6bada59d68862902f283830b12380c63e91c | c36761457f62066159fdb4409f7787ee0d9b43b0 | /IrisLangLibrary/src/IrisLangLibrary.cpp | 73bf266b4a2a4eabeacb92ded1ad5956700e3c4f | [
"Apache-2.0"
] | permissive | RedFog/Iris-Language | d8ee855da6a748cb7a5753bc56a68b5834ce18a1 | cde174f3e17b9747b7876487bfa4ab81fcfc5952 | refs/heads/master | 2020-04-06T06:41:21.242453 | 2016-03-14T16:41:55 | 2016-03-14T16:51:08 | 54,444,300 | 1 | 0 | null | 2016-03-22T04:08:27 | 2016-03-22T04:08:26 | null | GB18030 | C++ | false | false | 12,959 | cpp | // IrisLangLibrary.cpp : 定义 DLL 应用程序的导出函数。
//
#include "stdafx.h"
#include "IrisLangLibrary.h"
#include "IrisDevelopUtil.h"
#include "IrisInterpreter/IrisStructure/IrisClass.h"
#include "IrisInterpreter/IrisStructure/IrisModule.h"
#include "IrisInterpreter.h"
#include "IrisInterpreter/IrisNativeClasses/IrisInteger.h"... | [
"a1026121287@hotmail.com"
] | a1026121287@hotmail.com |
ff3e009725d61538b5c086dcbaa1e6fd7436e790 | 8a50a32e7d34df7b6430919bcdd7b971d3baac64 | /v0.1.1/WPJInputUtil.cpp | fd723e353b82587003e7022c551484de778355ba | [] | no_license | woudX/WPJ | 6f0ea0705f38245c9741e7cbde5846b3b2758519 | ec670b8d1f2d42b2723e1463a50a00b887b4a80e | refs/heads/master | 2016-09-16T02:05:34.377895 | 2014-08-14T05:08:24 | 2014-08-14T05:08:24 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,659 | cpp | #include "WPJInputUtil.h"
USING_NS_WPJ
WPJInputUtil *WPJInputUtil::m_pInst = 0;
WPJInputUtil::WPJInputUtil():m_bFirst(true)
{
memset(m_arKeyPressed, 0, sizeof(m_arKeyPressed));
}
WPJInputUtil *WPJInputUtil::GetSharedInst()
{
if (m_pInst == 0)
m_pInst = new WPJInputUtil();
return m_pInst;
}
WPJInputUtil *WPJ... | [
"jccgls001@126.com"
] | jccgls001@126.com |
98f112694db50d0b6bb92e14aa129b47d7288b8f | 0ac892aa91ed29c5910df727903b2a71c29b1a0c | /src/UIState/SetTempSetPoint.h | 03d159d439439395ed41dffcb0730f70cecac59b | [
"MIT"
] | permissive | thomca/TankController | 68da356a33040cbeeba1b027401865f77ec415c3 | d1e4db579b3e0ddf90ec423ee4bee8f2bf9c7836 | refs/heads/main | 2023-04-19T06:19:21.442528 | 2021-05-12T04:52:44 | 2021-05-12T04:52:44 | 366,751,414 | 0 | 0 | MIT | 2021-05-12T14:50:53 | 2021-05-12T14:50:53 | null | UTF-8 | C++ | false | false | 493 | h | /**
* SetTempSetPoint.h
*
* Set the target Temperature
*/
#pragma once
#include "NumberCollectorState.h"
class SetTempSetPoint : public NumCollectorState {
public:
SetTempSetPoint(TankControllerLib* tc) : NumCollectorState(tc) {
}
const char* name() {
return "SetTempSetPoint";
}
float getCurrentValue... | [
"noreply@github.com"
] | thomca.noreply@github.com |
94c275be25e47904c3b285a44648a78255fa4bec | 1e58f86db88d590ce63110c885c52305d67f8136 | /Common/messagelistdelegate.cpp | f89d1da790a13889ea4f96f582f611267dba6d32 | [] | no_license | urielyan/F270 | 32a9b87780b6b0bbbd8e072ca4305cd38dc975c1 | c3d1eceead895ded12166eeb6748df111f46ef2d | refs/heads/master | 2021-01-10T02:06:40.335370 | 2016-03-02T03:23:02 | 2016-03-02T03:23:02 | 52,927,128 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,475 | cpp | /*********************************************************************
* Copyright(c) 2014, 大豪信息技术有限公司上海研发部
*
* All Rights reserved
*
* 文件名称:MessageListDelegate.cpp
* 概 要:信息显示接口的代理
*
* 当前版本:V1.0.0
* 作 者:葛 海 浪
* 完成日期:2016-2-22
*
* 修改版本:
* 修改说明:
* 修改作者:
*
**********************************************... | [
"urielyan@sina.com"
] | urielyan@sina.com |
b612e83cb0cee3bbb91e018abc60dc12dc4dc46d | e66d115b1b53b5be0cc6a6a2233ffdb4c22096e0 | /Ogitor/qtOgitor/include/settingsdialog.hxx | 2ac8c73c4b40f0229225f7eb6c0d325d0ad95ffa | [
"MIT"
] | permissive | lockie/HiveGame | 565a6f46b214f7df345c25c0bc05ee5bd6699ece | bb1aa12561f1dfd956d78a53bfb7a746e119692a | refs/heads/master | 2021-06-11T20:56:21.872049 | 2016-12-18T11:28:33 | 2016-12-18T11:28:33 | 1,229,308 | 4 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,850 | hxx | /*/////////////////////////////////////////////////////////////////////////////////
/// An
/// ___ ____ ___ _____ ___ ____
/// / _ \ / ___|_ _|_ _/ _ \| _ \
/// | | | | | _ | | | || | | | |_) |
/// | |_| | |_| || | | || |_| | _ <
/// \___/ \____|___| |_| \___/|_| \_\
/// ... | [
"fake0mail0@gmail.com"
] | fake0mail0@gmail.com |
f2709ed6b1b5a63738c24e1b6950c1054029c676 | b5a9d42f7ea5e26cd82b3be2b26c324d5da79ba1 | /tensorflow/compiler/xla/service/gpu/for_thunk.cc | 7ccfcf3bd6363e6a66b4b3e05f1a0a47a689b5bb | [
"Apache-2.0"
] | permissive | uve/tensorflow | e48cb29f39ed24ee27e81afd1687960682e1fbef | e08079463bf43e5963acc41da1f57e95603f8080 | refs/heads/master | 2020-11-29T11:30:40.391232 | 2020-01-11T13:43:10 | 2020-01-11T13:43:10 | 230,088,347 | 0 | 0 | Apache-2.0 | 2019-12-25T10:49:15 | 2019-12-25T10:49:14 | null | UTF-8 | C++ | false | false | 2,461 | cc | /* Copyright 2017 The TensorFlow Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable ... | [
"v-grniki@microsoft.com"
] | v-grniki@microsoft.com |
254872aa8a3e03462daf9808b8e7877450570e1a | c36c51b605873e674efdf1a9c2198be2b24ba1cc | /Source/Core/EventSpecification.cpp | 6b29242ae5c401f0aeba409ace5a0ac95e293e62 | [
"MIT",
"LicenseRef-scancode-proprietary-license"
] | permissive | aquawicket2/RmlUi | 5454c673af3b307f9d079495b0515894f71b4893 | 264d3630f435855aa67b4db1e081c3a727713c1c | refs/heads/master | 2021-04-23T04:58:12.383232 | 2020-03-28T16:33:59 | 2020-03-28T16:33:59 | 249,899,751 | 4 | 0 | MIT | 2020-03-25T06:03:25 | 2020-03-25T06:03:25 | null | UTF-8 | C++ | false | false | 8,399 | cpp | /*
* This source file is part of RmlUi, the HTML/CSS Interface Middleware
*
* For the latest information, see http://github.com/mikke89/RmlUi
*
* Copyright (c) 2008-2010 CodePoint Ltd, Shift Technology Ltd
* Copyright (c) 2019 The RmlUi Team, and contributors
*
* Permission is hereby granted, free of charge, to... | [
"michael.ragazzon@gmail.com"
] | michael.ragazzon@gmail.com |
83afdfeb36d03188fe3cea71448daf1c01be4e75 | 7f8648727d44a04cf98fa3cf80ac010acbe43474 | /Feld.h | 83b13637dc3ba321c4e9a516c7df761053fd348b | [] | no_license | christiannoubi/Feld-WS15 | 5b2cbd2bb647a1a541fb2109888c4f3056f5715b | 9f25b6ec3b512b28908c799f46134e6f58f98b55 | refs/heads/master | 2020-04-15T03:00:34.844152 | 2019-01-06T18:08:16 | 2019-01-06T18:08:16 | 164,332,356 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 610 | h | #include <iostream>
struct Feld {
// Destruktor:
virtual ~Feld () {}
// Liefert die Länge des Felds zurück:
virtual int laenge() const = 0;
// Klammeroperator für nicht-konstante Objekte:
virtual double &operator [] (int a) = 0;
// Klammeroperator für konstante Objekte:
virtual double &ope... | [
"noubichristian@yahoo.fr"
] | noubichristian@yahoo.fr |
30116a9b6a93560dc800be72d83edd550df89b1c | 5bc237a4755d1d17218343d95eb95594b8fadb3d | /application/test/test_application.cpp | 912e3e75ce6fe8fe2bd99a1257cb76974d86b053 | [] | no_license | duynii/btproject | 557b85d14fd47de6acca8f4e05c9c38b22075ac5 | 7f87305e3e2dd524a5bd85ded76241d9eb7d0a17 | refs/heads/master | 2020-06-20T21:00:39.995727 | 2016-11-27T11:33:26 | 2016-11-27T11:33:26 | 74,821,652 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 329 | cpp | #include <limits>
#include <gtest/gtest.h>
#include <comma/application/command_line_options.h>
#include <comma/application/signal_flag.h>
/// Some dummy tests to test linking
TEST( application, dj_algorithm )
{
EXPECT_TRUE( 1 == 1 );
EXPECT_FALSE( 1 != 1 );
EXPECT_EQ( 5, 5 );
// TODO: definitely more t... | [
"duynii@gmail.com"
] | duynii@gmail.com |
a2461e5474c1dcabd9641913ae4ebf7dd534f3e6 | 85f6241123446541443cfd33045cbbfe63365295 | /unit_tests/test.cpp | b1ca962b232cabaa3ad11ff897487433049cdc68 | [] | no_license | sharonen/RateLimitingRequestsModule | 3df01ea97693d7ff7090c906415dfd7fbff26f18 | cf1991cae24c7fc7ca6b1132af492e4dd1524898 | refs/heads/master | 2020-03-29T11:03:14.582647 | 2018-09-30T06:07:52 | 2018-09-30T06:07:52 | 149,833,728 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,308 | cpp | #define CATCH_CONFIG_MAIN
#include "catch.hpp"
#include "../src/lib/requests_handler/requests_handler.hpp"
#include "../src/lib/requests_handler/response.hpp"
TEST_CASE("Checking the limit of requests")
{
GIVEN("a Requests Handle"){
auto pRequestsHandler = new RequestsHadler(100, 60);
THEN("the requests limi... | [
"sharonronen@sharons-air.lan"
] | sharonronen@sharons-air.lan |
560ec2df631e868708dbc2dcc4e636d06505f510 | 600df3590cce1fe49b9a96e9ca5b5242884a2a70 | /chrome/browser/notifications/fullscreen_notification_blocker.h | f8d6107fd88f7910d68af8e26ad296d88e3455aa | [
"BSD-3-Clause"
] | permissive | metux/chromium-suckless | efd087ba4f4070a6caac5bfbfb0f7a4e2f3c438a | 72a05af97787001756bae2511b7985e61498c965 | refs/heads/orig | 2022-12-04T23:53:58.681218 | 2017-04-30T10:59:06 | 2017-04-30T23:35:58 | 89,884,931 | 5 | 3 | BSD-3-Clause | 2022-11-23T20:52:53 | 2017-05-01T00:09:08 | null | UTF-8 | C++ | false | false | 1,531 | h | // Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_NOTIFICATIONS_FULLSCREEN_NOTIFICATION_BLOCKER_H_
#define CHROME_BROWSER_NOTIFICATIONS_FULLSCREEN_NOTIFICATION_BLOCKER_H_
#include ... | [
"enrico.weigelt@gr13.net"
] | enrico.weigelt@gr13.net |
0e8c7105810471c8d3209efebd54856edbc91ee3 | b155f6ba313cfd5c02441ac3d639fff2273daae0 | /Source/Server.cpp | dc2b94643b2083d75e78e54de976ed710f6c67f8 | [] | no_license | numver8638/EndTermProjectV2 | 86128fc6111ca42965054710b02b83983107f780 | 5e4ca89fef54cd545b1b20ee08b551ecb5b1fd01 | refs/heads/master | 2023-03-22T01:26:06.558307 | 2021-03-18T08:14:44 | 2021-03-18T08:14:44 | 348,604,277 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,855 | cpp | #include "Server.h"
#include <algorithm>
#include <cassert>
#include <ctime>
#include <cstdlib>
#include <iostream>
#include "ConnectionState.h"
#include "PacketStream.h"
#include "Socket.h"
#include "Thread.h"
#define MIN_WIDTH (0)
#define MAX_WIDTH (10)
#define MIN_HEIGHT (0)
#define MAX_HEIGHT (10)
#define BUFFE... | [
"numver8638@naver.com"
] | numver8638@naver.com |
693f0e9f11914c5ef612b791f053362cad11fa97 | 3b9b4049a8e7d38b49e07bb752780b2f1d792851 | /src/chrome/browser/android/offline_pages/offline_page_tab_helper.h | 22ff4a148d1db2f201c57e451d954748580ddd62 | [
"BSD-3-Clause",
"Apache-2.0"
] | permissive | webosce/chromium53 | f8e745e91363586aee9620c609aacf15b3261540 | 9171447efcf0bb393d41d1dc877c7c13c46d8e38 | refs/heads/webosce | 2020-03-26T23:08:14.416858 | 2018-08-23T08:35:17 | 2018-09-20T14:25:18 | 145,513,343 | 0 | 2 | Apache-2.0 | 2019-08-21T22:44:55 | 2018-08-21T05:52:31 | null | UTF-8 | C++ | false | false | 4,589 | h | // Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_ANDROID_OFFLINE_PAGES_OFFLINE_PAGE_TAB_HELPER_H_
#define CHROME_BROWSER_ANDROID_OFFLINE_PAGES_OFFLINE_PAGE_TAB_HELPER_H_
#include ... | [
"changhyeok.bae@lge.com"
] | changhyeok.bae@lge.com |
a5b4e57d6c8a0949442398ae6a22e7f669684ecb | 3324b70597e57ac9f3ccaff859aff40852a513c6 | /classwork/ParticleField/src/testApp.cpp | 52f666e428d5dcc1d56038d919fa299595e5c7db | [] | no_license | oherterich/algo2013-owenherterich | 0cc8aaa93318d026f627188fd6ba4e1f2cc23c16 | 0988b2dd821b44fca7216b4ec1eab365836dc381 | refs/heads/master | 2021-01-21T05:05:47.571780 | 2013-12-16T21:29:20 | 2013-12-16T21:29:20 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,339 | cpp | #include "testApp.h"
//--------------------------------------------------------------
void testApp::setup(){
myField.setup( ofGetWindowWidth(), ofGetWindowHeight(), 20 );
ofBackground(0);
for (int i = 0; i < 500; i++) {
addParticle();
}
}
//---------------------------------------... | [
"oherterich@gmail.com"
] | oherterich@gmail.com |
0ce5ae63add551a2a5577117f1bb8a8456d623ad | db5bba94cf3eae6f1a16b1e780aa36f4b8c3c2da | /r-kvstore/src/model/TagResourcesRequest.cc | 28901f02465ddba3b3aec598bb42e2db93c363f9 | [
"Apache-2.0"
] | permissive | chaomengnan/aliyun-openapi-cpp-sdk | 42eb87a6119c25fd2d2d070a757b614a5526357e | bb7d12ae9db27f2d1b3ba7736549924ec8d9ef85 | refs/heads/master | 2020-07-25T00:15:29.526225 | 2019-09-12T15:34:29 | 2019-09-12T15:34:29 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,433 | cc | /*
* Copyright 2009-2017 Alibaba Cloud 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... | [
"haowei.yao@alibaba-inc.com"
] | haowei.yao@alibaba-inc.com |
1cc2ce02d3e6fce501dbac598270bceade3bc7ab | 0a30b9871858064844f4644121ac423244a95bb4 | /EngineModeController.h | e0f5f2788c068bd9bccbd2a698d06b7dbbff3f6e | [
"Apache-2.0"
] | permissive | elsewhat/gtav-mod-battlechess | 045a44b8171880ce325147a20b9a43343f57a1ca | 76c5fef1337e45dc13b6447354ffe96a1099b22b | refs/heads/master | 2021-06-23T14:18:45.506241 | 2017-09-05T20:45:50 | 2017-09-05T20:45:50 | 98,060,054 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 292 | h | #pragma once
#include "inc\types.h"
#include "ChessBoard.h"
#include <vector>
class EngineModeController {
public:
virtual void onEnterMode(ChessBoard* chessBoard)=0;
virtual void onExitMode(ChessBoard* chessBoard)=0 ;
virtual bool actionOnTick(DWORD tick, ChessBoard* chessBoard)=0;
};
| [
"dagfinn.parnas@gmail.com"
] | dagfinn.parnas@gmail.com |
0516cf09ee4a486f2fc1d8da1201d376de9fe140 | 9989ec29859d067f0ec4c7b82e6255e227bd4b54 | /atcoder.jp/abc_170/abc170_e.cpp | 525e2763dc443538d56e5785de61e486d9043214 | [] | no_license | hikko624/prog_contest | 8fa8b0e36e4272b6ad56d6506577c13f9a11c9de | 34350e2d298deb52c99680d72345ca44ab6f8849 | refs/heads/master | 2022-09-10T20:43:28.046873 | 2022-08-26T13:59:29 | 2022-08-26T13:59:29 | 217,740,540 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11 | cpp | // abc170_e | [
"hikko624@gmail.com"
] | hikko624@gmail.com |
274e1aaa64ddecdd8f6c38163ae2d4cc81f13e4d | ad1ce910ab5d9382a87bebd2480f73ecca4c37a5 | /examples/bvp1d/simple3.cpp | 0981c86ae15c616589ecf90dc1309d7c8dafb5c6 | [
"MIT"
] | permissive | grenkin/joker-fdm | 33fee3fff4aa948bd4ba82c7016227a84b3cc5d8 | 21d60479ca0dd7f2deb0d8ce000f79a7c53f3202 | refs/heads/master | 2020-04-09T04:14:21.820983 | 2018-09-21T02:04:35 | 2018-09-21T02:04:35 | 68,077,571 | 4 | 0 | null | 2016-10-14T21:30:28 | 2016-09-13T05:35:13 | Matlab | UTF-8 | C++ | false | false | 1,499 | cpp | /*
A simple linear problem in 1D
-u''(x) = -2 on (0, 1)
u(0) = 0, u'(1) + 2 * (u(1) - 2) = 0
Exact solution: u(x) = x ^ 2
*/
#include <iostream>
#include <vector>
#include <cmath>
#include <joker-fdm/bvp1d.h>
using namespace std;
double zero(double x)
{
return 0;
}
double gfun(double x)
{
return -2;
}
doub... | [
"glebgrenkin@gmail.com"
] | glebgrenkin@gmail.com |
b0912f4e8a3aacb729fc3de5de3cbde661b38994 | 4ad2ec9e00f59c0e47d0de95110775a8a987cec2 | /_HackerCup/2016/Round 1/Boomerang Tournament/Help/Brute/main.cpp | 4b7b3efa2e975b229cfada78325791aa96021800 | [] | no_license | atatomir/work | 2f13cfd328e00275672e077bba1e84328fccf42f | e8444d2e48325476cfbf0d4cfe5a5aa1efbedce9 | refs/heads/master | 2021-01-23T10:03:44.821372 | 2021-01-17T18:07:15 | 2021-01-17T18:07:15 | 33,084,680 | 2 | 1 | null | 2015-08-02T20:16:02 | 2015-03-29T18:54:24 | C++ | UTF-8 | C++ | false | false | 1,764 | cpp | #include <iostream>
#include <cstdio>
#include <cstring>
#include <vector>
#include <algorithm>
#include <cmath>
#include <queue>
using namespace std;
#define mp make_pair
#define pb push_back
#define maxN 20
int t, test, n, i, j;
int better[maxN][maxN];
int ans[maxN][2];
int perm[maxN];
int point[maxN];
queue<in... | [
"atatomir5@gmail.com"
] | atatomir5@gmail.com |
316c527c9f8d2af83225cea89bb4422a61b2e6a5 | 33e1799b6f320f2ab17f41f39492aeaf60bcf969 | /AgileFontSet/CEditImpl.h | 55b36ce35eb82dddb5748804754b9e774a39e500 | [] | no_license | patton88/AgileFontSet | feac17fb84e906e02db822ce14d71ddf37ba5358 | da0e26865f76bd053fc23896ab4abd1247b6ac54 | refs/heads/master | 2020-08-15T11:38:50.691081 | 2019-10-16T02:25:28 | 2019-10-16T02:25:28 | 215,334,815 | 3 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,323 | h | // CEditImpl.h
//
//////////////////////////////////////////////////////////////////////////
#if !defined(AFX_CEditImpl_H__C84_E69_d49_i41_t05_I29_00007733__INCLUDED_)
#define AFX_CEditImpl_H__C84_E69_d49_i41_t05_I29_00007733__INCLUDED_
#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000
// CEditImpl - CWi... | [
"name2017@163.com"
] | name2017@163.com |
0f12f0b2ad3525184b1198a04bd6f3755c3cc9ba | c0caed81b5b3e1498cbca4c1627513c456908e38 | /src/core/pose/rna/BaseStack.cc | e32f15496a78bb46fbe35584ba5a8772b4387636 | [] | no_license | malaifa/source | 5b34ac0a4e7777265b291fc824da8837ecc3ee84 | fc0af245885de0fb82e0a1144422796a6674aeae | refs/heads/master | 2021-01-19T22:10:22.942155 | 2017-04-19T14:13:07 | 2017-04-19T14:13:07 | 88,761,668 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 3,059 | cc | // -*- 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... | [
"malaifa@yahoo.com"
] | malaifa@yahoo.com |
05ac0ff5e12159682345386089de99a1129b2f05 | e9025d80026f7d00e0fd69e0ee7e0f97533bd630 | /400/round494/C.cpp | a6ae38014c679ad27cb8d0d4606ce2d4d3c9f31a | [] | no_license | rishup132/Codeforces-Solutions | 66170b368d851b7076c03f42c9463a2342bac5df | 671d16b0beec519b99fc79058ab9035c6f956670 | refs/heads/master | 2020-04-12T04:32:10.451666 | 2019-03-22T14:04:31 | 2019-03-22T14:04:31 | 162,298,347 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 569 | cpp | #include <bits/stdc++.h>
#define ll long long
#define mod 1000000007
using namespace std;
int a[100010];
int main()
{
int n,k;
cin >> n >> k;
a[0] = 0;
for(int i=1;i<=n;i++)
cin >> a[i];
for(int i=1;i<=n;i++)
a[i] += a[i-1];
double ans = 0;
while(k <= n)
{
... | [
"rishupgupta132@gmail.com"
] | rishupgupta132@gmail.com |
b3f9484513d7ec0aa13ff5bb8df6608c8804429e | def39f068050b234df9f6909d4277f96b740f11c | /E-olimp/1287. Tennis competitions .cpp | 9c83eb1c033c9119a8fc356f951dd46b8d979f90 | [] | no_license | azecoder/Problem-Solving | 41a9a4302c48c8de59412ab9175b253df99f1f28 | a920b7bac59830c7b798127f6eed0e2ab31a5fa2 | refs/heads/master | 2023-02-10T09:47:48.322849 | 2021-01-05T14:14:09 | 2021-01-05T14:14:09 | 157,236,604 | 5 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 188 | cpp | #include <stdio.h>
#include <stdlib.h>
unsigned long long a,b,s;
int main(int argc, char *argv[])
{
scanf("%llu %llu", &a,&b);
s=a*b;
printf("%llu\n", s);
return 0;
} | [
"tabriz.haji@gmail.com"
] | tabriz.haji@gmail.com |
141658ca8d66785c12266583b5887e68e82be27d | 410e45283cf691f932b07c5fdf18d8d8ac9b57c3 | /chrome/browser/chromeos/policy/status_uploader_unittest.cc | a314bb8cc899b4ad25348722d273d25a7f2643ce | [
"BSD-3-Clause"
] | permissive | yanhuashengdian/chrome_browser | f52a7f533a6b8417e19b85f765f43ea63307a1fb | 972d284a9ffa4b794f659f5acc4116087704394c | refs/heads/master | 2022-12-21T03:43:07.108853 | 2019-04-29T14:20:05 | 2019-04-29T14:20:05 | 184,068,841 | 0 | 2 | BSD-3-Clause | 2022-12-17T17:35:55 | 2019-04-29T12:40:27 | null | UTF-8 | C++ | false | false | 15,487 | cc | // Copyright (c) 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.
#include "chrome/browser/chromeos/policy/status_uploader.h"
#include <utility>
#include "base/bind.h"
#include "base/bind_helpers.h"
#include "base/... | [
"279687673@qq.com"
] | 279687673@qq.com |
4a208e8573be0e7e3756e974dce9e91e6aad8806 | 5e5d31a6fb5b5601e4ca0ed7f464ca6d796a761f | /test/core/xds/xds_channel_stack_modifier_test.cc | e50bf38ac14b47b04efa031d1bb4653ecd81114f | [
"Apache-2.0",
"BSD-3-Clause",
"MPL-2.0"
] | permissive | nicolasnoble/grpc | 9a48fc3a325a8f0756faeab3bf4d2b6a4d776802 | f36e84f093e7bf3cc7bab48a1e07a1a77b6b87c8 | refs/heads/master | 2022-06-24T03:12:37.104839 | 2022-05-04T21:41:56 | 2022-05-04T21:41:56 | 31,379,436 | 2 | 2 | Apache-2.0 | 2022-05-20T19:28:00 | 2015-02-26T17:32:10 | C++ | UTF-8 | C++ | false | false | 6,272 | cc | //
//
// Copyright 2021 gRPC authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agree... | [
"noreply@github.com"
] | nicolasnoble.noreply@github.com |
79c99df916e7fbed2f50cbbf9cedc2380dc55b02 | a565193016f9b08ff3131420bd8e4571827fa969 | /b4-hack/fb/core/RelocArray.h | 4f8213460531ae686fbba7e604b1ae0027c2906d | [] | no_license | APPLlCATLON/bf4-booster | f257fd11af7fbf6ac19eac7b7b46e531f9d5bd8f | ddcfad778ecd4b01f3cd2ca40ea6c9aaf63922e4 | refs/heads/master | 2020-05-29T10:10:24.455441 | 2013-12-07T16:11:27 | 2013-12-07T16:11:27 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 459 | h | #ifndef __RELOCARRAY_H__
#define __RELOCARRAY_H__
#include "../../fb2_classes.h"
#include "../../fb2_offsets.h"
#include <Windows.h>
namespace fb
{
template< class T > class RelocArray
{
public:
unsigned int size()
{
return m_count;
}
T at( int idx )
{
return *( T* )( ( DWORD )m_data + ( idx * si... | [
"karl@skomski.com"
] | karl@skomski.com |
ff83a831f93208e5ba592676e880cb44c9a529a0 | 968ad92cc0b69ec1fb0225f8c6912443e63cc260 | /algorithms/implementation/ManasaAndStones.cpp | 3fb64267a842b61f4fc0f1b089264729d8a2842e | [] | no_license | duonghdo/hackerrank | ba4c529ae08d58a23daca751c92d605ca69acfea | 0299a2d30b8083f2ec7a5636ae8584e948c77e03 | refs/heads/master | 2021-01-10T20:09:49.396319 | 2015-11-23T05:14:32 | 2015-11-23T05:14:32 | 40,314,113 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 340 | cpp | #include <iostream>
using namespace std;
int main(){
int t;
cin >> t;
while(t--){
int n, a, b;
cin >> n >> a >> b;
for(int i = 0; i < n; i++){
if(a == b) {
cout << a*(n-i-1);
break;
}
else if(a > b) cout << (i*a + (n-i-1)*b) << " ";
else cout << (i*b + (n-i-1)*a) << " ";
}
cout << endl... | [
"duonghdo@users.noreply.github.com"
] | duonghdo@users.noreply.github.com |
bddc2cb7c0d402edbb1e62b3e7e50e9c6f97bb17 | 92756269d7ba6a7c0a57ba8fcc1fd5f17cfba88f | /source/dialog_createtask.cpp | baae82be57eca827bb8fc6532bc289c96f0808d0 | [] | no_license | kapiten79/timecontrol | 1a2ee54986029dd21e7109ad7aa3c90d2d2b4755 | 59b70fb99e105f8f7552b046dfbec003080e528f | refs/heads/master | 2020-04-05T15:44:05.397613 | 2018-11-10T12:51:32 | 2018-11-10T12:51:32 | 156,981,274 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 798 | cpp | #include "dialog_createtask.h"
#include "ui_dialog_createtask.h"
Dialog_createTask::Dialog_createTask(QWidget *parent) :
QDialog(parent),
ui(new Ui::Dialog_createTask)
{
ui->setupUi(this);
ui->lineEdit->setFocus();
}
Dialog_createTask::~Dialog_createTask()
{
delete ui;
}
/* Иниц... | [
"mihon79@inbox.ru"
] | mihon79@inbox.ru |
52fbda7db6da184f367d5eb886d598805f740838 | f89e7d3912e37dd46bb1f9ca4f955864c91a3ae9 | /client/Views/Panel.h | f97f2dd824b8990ddc33c08d0a5aeca3f90a2901 | [] | no_license | hilgenberg/amoc | 5eb78bd233e2b9fc806831fe23100488c29b27cb | 99df710a12e623c9c80206f91fb3331d3d88ac3c | refs/heads/master | 2023-02-17T17:28:05.085161 | 2023-02-12T14:27:50 | 2023-02-12T14:27:50 | 82,281,215 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,837 | h | #pragma once
#include <ncurses.h>
#include "../../playlist.h"
#include "../Util/Rect.h"
#include "View.h"
enum menu_request
{
REQ_UP,
REQ_DOWN,
REQ_XUP,
REQ_XDOWN,
REQ_SCROLL_UP,
REQ_SCROLL_DOWN,
REQ_PGUP,
REQ_PGDOWN,
REQ_TOP,
REQ_BOTTOM,
REQ_COLLAPSE // collapse multi-selection to a single selection
};
c... | [
"th@zoon.cc"
] | th@zoon.cc |
1ce209b337816ebf2a7cc25df40b85131d197e94 | 81f2b85a9542b8fd365b44d0caa39f2fb6f8e122 | /GPE/unfinish/24731 Roads in the North.cpp | 9f93b16e2fac99998531750c44a2d1117009b25e | [] | no_license | setsal/coding | c66aa55e43805240c95e1c4f330f08b0fb0df7ba | 7ee094b8b680107efe88a0abb3aba5c18d148665 | refs/heads/master | 2023-08-26T20:03:03.723747 | 2021-09-24T18:04:14 | 2021-09-24T18:04:14 | 298,565,963 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 177 | cpp | /*
Problem: 24731: Roads in the North
subs: 247, ACs: 53, AcceptRate: 21.46, onsite: 16, access: 2213
Link: https://gpe3.acm-icpc.tw/showproblemtab.php?probid=24731&cid=5
*/ | [
"contact@setsal.dev"
] | contact@setsal.dev |
b4054b86edb917dff88bb1e08663ea78b8b0bb66 | 5dc4ea36514927efd678638e2095a4e8e32c0386 | /NPSVisor/tools/svLabelMaker/source/svmRule.cpp | 5e5452adf90dcc5c2620d4e9faf0cbce0e46e60d | [
"Unlicense"
] | permissive | NPaolini/NPS_OpenSource | 732173afe958f9549af13bc39b15de79e5d6470c | 0c7da066b02b57ce282a1903a3901a563d04a28f | refs/heads/main | 2023-03-15T09:34:19.674662 | 2021-03-13T13:22:00 | 2021-03-13T13:22:00 | 342,852,203 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,771 | cpp | //------------------ svmRule.cpp ----------------------------
//-----------------------------------------------------------
#include "precHeader.h"
//-----------------------------------------------------------
#include "svmRule.h"
#include "common.h"
//-----------------------------------------------------------
//-----... | [
"npaolini@ennepisoft.it"
] | npaolini@ennepisoft.it |
95e8f23afb2022613157722e2da03a844b8d8be8 | 61b07e8d14f85800d6fad641a77ef8bbef8d3859 | /gameStats.cpp | 188082eab9b5bac626461fbc8db710a00011fe9c | [] | no_license | Jared-Adamson/CSE_C_Cpp_LISP_Prolog_Programs | d9fc85dac95abf0447f2d1538fbf329a387cd3b4 | 194236b8944e65f5850a1fd0addacc0b2a6e36b7 | refs/heads/master | 2021-06-20T20:59:51.948456 | 2017-08-11T06:32:57 | 2017-08-11T06:32:57 | 23,534,774 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 870 | cpp | //Jared Adamson
//C++ Practice from Beginning C++ Book
// Demonstrates declaring and initializing variables
#include <iostream>
using namespace std;
int main()
{
int score;
double distance;
char playAgain;
bool shieldsUp;
short lives, aliensKilled;
score = 0;
distance = 1200.76;
playAgain = 'y';... | [
"jared.d.adamson@gmail.com"
] | jared.d.adamson@gmail.com |
bf43aace070e60aa68f575550d8ddd30201b3f6e | 247a1bc8595079a22c18786b52f84bd9ba84f3c8 | /Cpp/318.maximum-product-of-word-lengths.cpp | 22da8ee207db90f7de14b4e26caf7bc19ffa15fc | [
"MIT"
] | permissive | zszyellow/leetcode | cad541a3c34b243031417ea2ac0c77f63e511516 | 2ef6be04c3008068f8116bf28d70586e613a48c2 | refs/heads/master | 2021-07-15T23:37:37.414560 | 2021-02-14T05:56:00 | 2021-02-14T05:56:00 | 26,573,267 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 574 | cpp | class Solution {
public:
int maxProduct(vector<string>& words) {
int n = words.size(), mask = 0, res = 0;
vector<int> masks;
for (string word : words) {
mask = 0;
for (char c : word) mask |= (1 << (c-'a'));
masks.push_back(mask);
}
... | [
"zszyellow@hotmail.com"
] | zszyellow@hotmail.com |
968cea15579707fd3874d05cf991217afbf6f06c | 9c2de8d42ba3f23b0b6d74a2518e6834f98251d2 | /src/server/MinecraftChunk.cpp | 3b8b100623ae19092315d9fb35f5f486600c8169 | [] | no_license | tntguy12355/MinecraftPlaysPortal | c96025e660ed6861119d70f4431414697d41e757 | ddb491bcc508de65ad6647ef9f1aadabfee69cd4 | refs/heads/master | 2023-03-17T09:59:06.715233 | 2021-02-24T02:11:30 | 2021-02-24T02:11:30 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,807 | cpp | #include "MinecraftChunk.hpp"
#include "common.hpp"
namespace MCP {
Chunk::Chunk(int x, int z)
: x(x)
, z(z)
{
}
void Chunk::SetBlockID(int x, int y, int z, short id)
{
sections[(int)floor(y / 16.0)].SetBlockID(x, y % 16, z, id);
}
short Chunk::GetBlockID(int x,... | [
"krzyht@gmail.com"
] | krzyht@gmail.com |
db94bb32b8525227287a97c3c28611ebab6a734b | 8743445edc75a4116892f070ce3d1546bf5f607b | /cppcache/test/LoggingTest.cpp | 240d0970e1ee109b5c8710d2f852796b98654ba7 | [
"Apache-2.0",
"MIT",
"LicenseRef-scancode-unknown"
] | permissive | apache/geode-native | d2ef8d21c62a6ab494bd6be9b20545f699340348 | 049309470cd01ddcb256cc2c0f60ed0aa3a4caf2 | refs/heads/develop | 2023-08-19T03:01:18.421251 | 2022-10-03T12:52:42 | 2022-10-03T12:52:42 | 80,904,111 | 53 | 77 | Apache-2.0 | 2023-08-19T01:26:43 | 2017-02-04T08:00:06 | C++ | UTF-8 | C++ | false | false | 26,585 | cpp | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | [
"noreply@github.com"
] | apache.noreply@github.com |
b0fdf157c0aebdbc5888342df6adcf2e3a19304c | 8cf32b4cbca07bd39341e1d0a29428e420b492a6 | /contracts/libc++/upstream/test/std/input.output/iostreams.base/ios/iostate.flags/rdstate.pass.cpp | d4f885c14781ac6b456bb4e69e32d8a056d2eb41 | [
"NCSA",
"MIT"
] | permissive | cubetrain/CubeTrain | e1cd516d5dbca77082258948d3c7fc70ebd50fdc | b930a3e88e941225c2c54219267f743c790e388f | refs/heads/master | 2020-04-11T23:00:50.245442 | 2018-12-17T16:07:16 | 2018-12-17T16:07:16 | 156,970,178 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 702 | 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.
//
//===---------------------------------... | [
"1848@shanchain.com"
] | 1848@shanchain.com |
c9a4d5f6adbec5514fb4b6eda62be58baef32bf5 | 91971732033d69414cb6acdcf471c2862483679c | /testsuites/posix-torture/src/main.cpp | 3fd676b4e98ef704f4dd1c96ef941cbc7faba55b | [
"MIT"
] | permissive | managarm/managarm | d94e5bab607e36df458213984876fafc4575b184 | f274d8d531f7f083284c0681ac065db1e467256f | refs/heads/master | 2023-09-04T08:07:06.523632 | 2023-08-29T22:26:04 | 2023-08-29T22:26:04 | 63,081,862 | 1,261 | 87 | MIT | 2023-08-29T22:26:06 | 2016-07-11T15:57:53 | C++ | UTF-8 | C++ | false | false | 576 | cpp | #include <iostream>
#include <vector>
#include "testsuite.hpp"
std::vector<abstract_test_case *> &test_case_ptrs() {
static std::vector<abstract_test_case *> singleton;
return singleton;
}
void abstract_test_case::register_case(abstract_test_case *tcp) {
test_case_ptrs().push_back(tcp);
}
int main() {
for(int s... | [
"alexander.vandergrinten@gmail.com"
] | alexander.vandergrinten@gmail.com |
beccbb920a33861bacd54ff8556732498e626123 | 5f8b6595ffefffca3c0152ed62af62bde398b348 | /linked list imple.cpp | 3c5ea496173fb3ff80e39bc9aeb6a2217f82dd9e | [] | no_license | hemilrajpura/Programs---DSA | 7e132a07e5b203fb02ae7ae94cf4718aff11dfb7 | 854aa24ddaabc4889c4f919ac74caffc45f51729 | refs/heads/main | 2023-06-14T02:41:01.767773 | 2021-07-07T16:56:55 | 2021-07-07T16:56:55 | 383,867,983 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 774 | cpp | #include<iostream>
using namespace std;
struct Node{
int data;
struct Node * next;
};
void printLL(struct Node * poi){
cout<<endl<<endl<<"Printing Linked List.."<<endl;
while(poi != NULL){
cout<<endl<<poi -> data<<endl;
poi = poi->next;
}
}
int main(){
struct Node * head;
struct... | [
"noreply@github.com"
] | hemilrajpura.noreply@github.com |
3728ef2b301031fb593765e57e86ea904dcb6e6d | b5c3a12b20977873209c881b8e0c9fb5bd717a18 | /Energia/Main-code/FINALLY.ino | 38774db74f79f686059d14b309f90286d59f979a | [] | no_license | AhmedRamadanElamir/Agrisource-Data | f417bf2516d01233a9f4dc6c87cdae92d7c73de4 | e540fdc99c809d1fc9335e663026242eb81fcd73 | refs/heads/master | 2021-01-22T15:42:26.857169 | 2016-09-24T05:54:52 | 2016-09-24T05:54:52 | 63,517,170 | 1 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 2,062 | ino | #include <Energia.h>
#include "BMP180.h"
#include <Wire.h>
//#include <OPT3001.h>
#include <Time.h>
//#include <flow.h>
#include "DHT11.h"
int temperature, pressure;
#define soil PB_5 //pin used for Soil sensor
int get_soil()
{
int soilData;
soilData = analogRead(soil);
return soilData;
}
... | [
"noreply@github.com"
] | AhmedRamadanElamir.noreply@github.com |
9fb5bae0cf5ad74501e6d0e01598e2c2df3d3f3e | fec81bfe0453c5646e00c5d69874a71c579a103d | /blazetest/src/mathtest/operations/dmatdmatsub/H3x3aH3x3a.cpp | 808f88efad273b5656af23ae078c1f11660ba3f1 | [
"BSD-3-Clause"
] | permissive | parsa/blaze | 801b0f619a53f8c07454b80d0a665ac0a3cf561d | 6ce2d5d8951e9b367aad87cc55ac835b054b5964 | refs/heads/master | 2022-09-19T15:46:44.108364 | 2022-07-30T04:47:03 | 2022-07-30T04:47:03 | 105,918,096 | 52 | 7 | null | null | null | null | UTF-8 | C++ | false | false | 3,712 | cpp | //=================================================================================================
/*!
// \file src/mathtest/operations/dmatdmatsub/H3x3aH3x3a.cpp
// \brief Source file for the H3x3aH3x3a dense matrix/dense matrix subtraction math test
//
// Copyright (C) 2012-2020 Klaus Iglberger - All Rights Reser... | [
"klaus.iglberger@gmail.com"
] | klaus.iglberger@gmail.com |
e209e6f7af7092e7c67ad07e88f8093a8c0308cc | 8a100a50efe9df71962b2552bd9b75300958b1fe | /Transmitters/Old Version/X_CTRL_STM32F10x/ElsCtrl_v1.6/USER/GUI/Page_Calibration.cpp | 553af4cc00139ecd9089934b3256414374fcef93 | [
"MIT"
] | permissive | yu1741588584/X-CTRL | 156d608a02a9953de3a92e1d0a0abc62ece74350 | 9d93a49688fd8526253c9c9119479d04fab8371b | refs/heads/master | 2022-12-27T22:29:31.691813 | 2022-04-30T03:49:20 | 2022-04-30T03:49:20 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,604 | cpp | #include "FileGroup.h"
#include "GUI_Private.h"
#include "DigitalFilter.h"
static MillisTaskManager mtm_Calibration(3);
static FilterAverage<int> dfJSL_Y_ADC(13);
void Task_JoystickCab()
{
int16_t ADC_LY = dfJSL_Y_ADC.getNext(JSL_Y_ADC);
if(ADC_LY > JS_L.Ymax)JS_L.Ymax = ADC_LY;
if(ADC_LY < JS_L.Ymin)JS... | [
"1290176185@qq.com"
] | 1290176185@qq.com |
54cbedb45180544c9fde1e565d673fe841bb5554 | 2cb681e118e3f1e4b2b141372ae1c6914599b835 | /codechef/tweed1.cpp | 721d371889e62defd221f1109e959b64d47c9d3b | [] | no_license | jatinarora2702/Competitive-Coding | 1ad978a91122c920c839483e46812b5fb70a246e | a77f5d4f1737ca4e408ccf706128ba90ed664286 | refs/heads/master | 2021-01-11T20:11:34.791960 | 2020-12-31T00:21:06 | 2020-12-31T00:21:06 | 79,060,813 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 488 | cpp | #include <bits/stdc++.h>
#define N 55
using namespace std;
int a[N];
char s[20];
int main() {
int t, n, i, f, ke, ko, ch, win, waste;
scanf("%d", &t);
while(t--) {
scanf("%d %s", &n, s);
ke = ko = 0;
for(i = 0 ; i < n ; i++) {
scanf("%d", &a[i]);
}
if(strcmp(s, "Dee") == 0){
f = 0;
}
else{
f =... | [
"jatinarora2702@gmail.com"
] | jatinarora2702@gmail.com |
13ab318356caf6c24c6fdc6d56d14530c345abc7 | 9b6763581388237af03d9bbf378955901a77a1dc | /Graduate_CLIMBGUYS/cpp&h/steelblock.h | e5f40d01a7370da718483cf6d9ffd4f4242fa3f6 | [] | no_license | Nishin3614/ClimbBuys | e2623ecfef3cbe8f5b00b6963da8c823291b0a79 | 09c967dc36b59d32be44174e34a74daf02c1e48b | refs/heads/master | 2023-02-25T06:46:07.896211 | 2021-01-29T00:19:08 | 2021-01-29T00:19:08 | 303,862,684 | 0 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 5,590 | h | // ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
//
// 鋼鉄ブロック処理 [steelblock.h]
// Author : KOKI NISHIYAMA
//
// ----------------------------------------------... | [
"nishin369714@gmail.com"
] | nishin369714@gmail.com |
a5cd8305d0f9db37b01d8e239b735ee612ddf207 | 19eb33d5832970b726e36e5f13a4d07914f9df14 | /Controls/trip.h | 32c2cd717a88de196f8d47d20e4da7cd340e0ca0 | [] | no_license | Clackgot/Airport-source-code | ad3f90bbe58df82c50c0b39dda2a3044887a28ca | 0b3dd142104134c2d1eebf647fb9c1c43f46bec1 | refs/heads/master | 2021-05-18T10:57:17.134800 | 2020-03-30T06:42:28 | 2020-03-30T06:42:28 | 251,218,626 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 484 | h | #ifndef TRIP_H
#define TRIP_H
#include <QString>
#include <QDateTime>
class Trip
{
public:
int id;
QString name;
QDateTime time;
int company;
int direction;
int status;
int terminal;
int airplane;
QString title;
public:
Trip(int id,
QString name,
QDat... | [
"noreply@github.com"
] | Clackgot.noreply@github.com |
a517a1aa3a15310a16c4f5b1f18272027c0565a2 | bc4f297919596f3af1b0af9b8c0433c4a0e7ca74 | /D_Alice_Bob_and_Candies.cpp | 57f5bea601e394022dbe5339d512cc2391e29d2d | [] | no_license | fahadkhaanz/Competitive-Programming | 34d92ec73c0b4aba5a2a18c68f998a92a57dc57e | bc3d4206d6749055d67e7b291acd230a31a4e5bc | refs/heads/master | 2023-08-02T05:26:03.594439 | 2021-09-26T08:44:15 | 2021-09-26T08:44:15 | 291,102,479 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,964 | cpp | //git pull --rebase origin master
#include<bits/stdc++.h>
using namespace std;
#define gc getchar_unlocked
#define fo(i,n) for(int i=0;i<n;i++)
#define Fo(i,k,n) for(i=k;k<n?i<n:i>n;k<n?i+=1:i-=1)
#define ll long long
#define si(x) scanf("%d",&x)
#define sl(x) scanf("%lld",&x)
#define ss(s) scanf("%s",s)
#define pi(x) ... | [
"fk0881889@gmail.com"
] | fk0881889@gmail.com |
acdfb00002eb165983feeea630761ea5ac283697 | 9638a88e0e59707e741c413b6ede69dfa8e95f63 | /main34_fehlerfrei/ConnectFour.h | 19759fb510eff85bbb2be53263a86c13766dfd37 | [] | no_license | Fibs2000/Table_stabil_2015 | f641a922fb70d27196e3827a2f0029c97f4b1d44 | 3c1b42f458a5041e9541fae1a9800485d9615d63 | refs/heads/master | 2021-01-10T17:19:12.017704 | 2015-11-10T15:46:03 | 2015-11-10T15:46:03 | 45,922,170 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 469 | h | #ifndef ConnectFour_h
#define ConnectFour_h
#include "Game.h"
class ConnectFour : public Game{
public:
ConnectFour(NESController *controller, Adafruit_WS2801 *strip, RGBmatrixPanel *matrix);
~ConnectFour();
void newGame();
void run();
void resume();
private:
void updateDisplay();
void redrawBoard();
int dropP... | [
"michel.fibs@gmail.com"
] | michel.fibs@gmail.com |
43099c1f91000fd5a9dcc175b86bfb1dd5640a14 | 0014fb5ce4aa3a6f460128bb646a3c3cfe81eb9e | /testdata/8/2/src/node6.cpp | 0cb52d2026c4a56e3862b81582d8116e08f5bd37 | [] | no_license | yps158/randomGraph | c1fa9c531b11bb935d112d1c9e510b5c02921df2 | 68f9e2e5b0bed1f04095642ee6924a68c0768f0c | refs/heads/master | 2021-09-05T05:32:45.210171 | 2018-01-24T11:23:06 | 2018-01-24T11:23:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,002 | cpp |
#include "ros/ros.h"
#include "std_msgs/String.h"
#include "unistd.h"
#include <sstream>
#include <random>
std::random_device rd;
std::mt19937 gen(rd());
std::normal_distribution<> d(0.029935, 0.005);
class Node6{
public:
Node6(){
sub_0_6_flag = 0;
sub_0_6 = n.subscribe("topic_0_6", 1,... | [
"sasaki@thinkingreed.co.jp"
] | sasaki@thinkingreed.co.jp |
ca588cda8d0a10ac6126b003cd39120cc9ddb0ff | 32c0040dbb00970af34bf437c96d66d58e201ee0 | /Include/TheEngine/filesystem/file.h | 34b066d7e797efd6c835bfb6e53d7288f8b16e92 | [] | no_license | Exh/synqera_engine | da456860c59d82fa0ef451a8332a9216516618bc | 31a39f952fe47d15de0819e007b287a38ae966fd | refs/heads/master | 2021-04-06T20:08:34.495983 | 2016-02-16T13:14:52 | 2016-02-16T13:14:52 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 487 | h | #ifndef _THE_FILE_
#define _THE_FILE_
#include "TheEngine/common.h"
enum ChunkType
{
SURFACE = 0,
VERTEX,
BONES,
BONE_ANIMATION_HEADER,
BONE_ANIMATION_CURVE
};
struct ChunkHeader
{
ChunkType type;
int32_t offset;
int32_t size;
int32_t dummyData[4];
};
class TheFile
{
std::vector<ChunkHeader> headers;
pub... | [
"kirill.shabordin@dev.zodiac.tv"
] | kirill.shabordin@dev.zodiac.tv |
34811ed5e6a8a80d025a6274f8c7236e0477e0e0 | c8a6040af5a8a5dd8f89bbabde1d00519ef1ea62 | /android_webview/browser/aw_feature_list.cc | c37a0351a0410ed368469da1180a27f32c8ebd12 | [
"BSD-3-Clause"
] | permissive | imdark/chromium | a02c7f42444bd2f0619cfdeaf2c79a48baf9534f | 088d11844c64d6477e49e31036a621a92853cc53 | refs/heads/master | 2023-01-16T10:34:55.745660 | 2019-04-02T03:21:05 | 2019-04-02T03:21:05 | 161,010,625 | 0 | 0 | NOASSERTION | 2018-12-09T06:15:31 | 2018-12-09T06:15:30 | null | UTF-8 | C++ | false | false | 2,355 | cc | // Copyright 2018 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "android_webview/browser/aw_feature_list.h"
#include <string>
#include "base/android/jni_string.h"
#include "base/feature_list.h"
#include "bas... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
91189d9b9a3ea29b5dcbcaa7aa6e87cf19956524 | e4f347154205d12124a07f660f5965cc6abc1fc3 | /src/Calque/LayerStack.hpp | 71c6439a62bbaf4778ea52c38e78f2299ad8edee | [] | no_license | jonike/FriendPaint | 45fb89103b95520e808bc2bf146a52b1338dfbb2 | 2adb49452c2a6734714cd607ab7161fb521c7b37 | refs/heads/master | 2021-06-14T18:20:38.346275 | 2017-01-22T22:01:13 | 2017-01-22T22:01:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 509 | hpp | #ifndef DEF_LAYERSTACK
#define DEF_LAYERSTACK
#include <iostream>
#include <string>
#include <vector>
#include "Layer.hpp"
class LayerStack {
public:
LayerStack();
void createLayer(sf::Uint32 index, sf::String name);
void moveLayer(Uint32 index, Uint32 delta);
void renameLayer(s... | [
"yoanlecoq.io@gmail.com"
] | yoanlecoq.io@gmail.com |
2ca8e56518f1acabeeeb2895b339c1090d3d98bf | 4f052287d727d37a56559517267c51555025a7f2 | /mortage_calculation/main.cpp | 82c3ce1494d30052cd235c7e262ca1013b4dfea2 | [] | no_license | davidjie1949/linux_os_coding | 2c87bce089450151514e24cba13f32db1625b498 | 8ecda327acbb02967b31e99d28fb8ac96de8f3d7 | refs/heads/master | 2023-03-04T07:01:05.065943 | 2021-02-17T05:20:36 | 2021-02-17T05:20:36 | 329,320,752 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 368 | cpp | #include <iostream>
#include "mortage.h"
using namespace std;
int main(){
mortage jieYang(2020, 0.02375, 600000, 0.2);
cout << jieYang.getYear() << endl;
cout << jieYang.getDownPayment() << endl;
cout << jieYang.getInterestRate() << endl;
cout << jieYang.loan_amount() << endl;
cout << jieYang... | [
"jieyng@umich.edu"
] | jieyng@umich.edu |
31d8057c61aad58272afcb781fc29698c298738a | cd2f5e7775dbca9eec9f0fcd88a4635a2d2b0414 | /components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate_unittest.cc | 2d119daf57463250b8cc64b8446fc6426762fa12 | [
"BSD-3-Clause"
] | permissive | ghj1040110333/chromium-1 | 8462ba0ca940fe3f4284d66036fb41f83cb7065e | 374d3a7593027eb6b26bf290e387e7de1fa9612a | refs/heads/master | 2023-03-02T22:22:29.564010 | 2018-02-11T09:21:22 | 2018-02-11T09:21:22 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 95,911 | cc | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate.h"
#include <stddef.h>
#include <stdint.h>
#include <algori... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
23dced3024fe2c5634abc346c57f1482d74f014d | f746c798d1bef7d665c07b1923bf35d03ad408d4 | /lib/poppler/qt4/src/poppler-qt4.h | 1b5afb2ef63dbe08b6f6703b8ef792803bb51c1b | [
"GPL-1.0-or-later",
"GPL-2.0-only",
"GPL-3.0-only",
"LGPL-2.0-or-later",
"MIT"
] | permissive | istex/popplonode | cd51a2c582759869bc025558f3f06d864506e8c3 | 1637685667757df6e54077fa93b60d5d1f7fbc8a | refs/heads/master | 2023-01-08T00:12:20.923850 | 2019-11-04T10:41:10 | 2019-11-04T10:41:10 | 101,175,171 | 4 | 1 | MIT | 2022-12-30T17:48:06 | 2017-08-23T12:00:08 | C++ | UTF-8 | C++ | false | false | 53,311 | h | /* poppler-qt.h: qt interface to poppler
* Copyright (C) 2005, Net Integration Technologies, Inc.
* Copyright (C) 2005, 2007, Brad Hards <bradh@frogmouth.net>
* Copyright (C) 2005-2012, 2014, 2015, Albert Astals Cid <aacid@kde.org>
* Copyright (C) 2005, Stefan Kebekus <stefan.kebekus@math.uni-koeln.de>
* Copyright... | [
"remy.meja@inist.fr"
] | remy.meja@inist.fr |
380093cdeaeb14c9713d29b3899bd89c0fe4bd3f | 9aa414c4ce84f474cfe76997b2ca1630bd62d8e8 | /src/cproton.cc | 48f85b8c40ce0918cf93d8178e432c4c400caf2d | [] | no_license | pofallon/node-qpid | 0564261d04e533a4dcb58faa3d04e815f49eb150 | 78984aae238666049d61597f2a3ded157c70c60b | refs/heads/master | 2021-03-12T23:58:46.414011 | 2015-01-25T03:00:40 | 2015-01-25T03:00:40 | 7,335,942 | 22 | 5 | null | 2014-11-04T02:38:07 | 2012-12-27T04:39:12 | C | UTF-8 | C++ | false | false | 193 | cc | #define BUILDING_NODE_EXTENSION
#include <node.h>
#include "messenger.h"
using namespace v8;
void InitAll(Handle<Object> target) {
Messenger::Init(target);
}
NODE_MODULE(cproton, InitAll)
| [
"paul@ofallonfamily.com"
] | paul@ofallonfamily.com |
c96165bfaae976a9e20717003e9c3a6ee06399d4 | e346b4507619e21b082226d87937ff4896c0c734 | /base/process/process_metrics_posix.cc | 3422a730dce691847b886de4f092c1720ede0c2f | [] | no_license | hicdre/libxz | 4f190023ac08698b6072984cd0460866bb21206f | 82ec093c25fb5e0c6a774c1b55a38b3e41d6623c | refs/heads/master | 2021-01-13T02:30:20.111939 | 2014-04-25T03:01:53 | 2014-04-25T03:01:53 | 11,816,688 | 3 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 559 | cc | // Copyright (c) 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "base/process/process_metrics.h"
#include <sys/time.h>
namespace base {
int64 TimeValToMicroseconds(const struct timeval& tv) {
static c... | [
"iicdre@gmail.com"
] | iicdre@gmail.com |
293e8eb5595f310f1df0a4aa0d1794d0d4a01d0a | fb5e449e5349bfa98ab987f96d179e94fb264dd5 | /Fraction/src/ZFraction.cpp | a0e0ac6bb14474d6e23d8cc6bb269b5131c9da94 | [] | no_license | th3fr33man/sdz | 6bf80286d54a017313af118112e84335b8586afd | 3c392d67f02be7bf2a726461386f009272d06487 | refs/heads/master | 2021-01-13T01:37:11.236105 | 2015-01-09T13:36:18 | 2015-01-09T13:36:18 | 25,178,456 | 0 | 0 | null | null | null | null | ISO-8859-1 | C++ | false | false | 3,608 | cpp | /*
* ZFraction.cpp
*
* Created on: 13 nov. 2014
* Author: rip
*/
#include <iostream>
#include "ZFraction.h"
using namespace std;
/**
*
*/
ZFraction::ZFraction(int a, int b) : m_num(a) , m_den(b)
{
// simplification
simplification();
}
int ZFraction::pgcd(int a, int b)
{
while... | [
"raczkaromain@gmail.com"
] | raczkaromain@gmail.com |
207052136dda363c306120a189826879894f1097 | 28f243f705fae7e092288c16e9826c27730564a5 | /powietrzesala.h | 4406aadbc9f75a1619018e38c3fec3d3c243a6d0 | [] | no_license | Jaro966/kinoGitHub4 | c792e5d67e8f21259c245fb78ff4befc66f1406c | 0822bd1ea3a21fdcd555e4eac078ed50ccea460f | refs/heads/master | 2020-04-29T12:43:28.544182 | 2019-03-24T18:55:39 | 2019-03-24T18:55:39 | 176,148,046 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,620 | h | /**
* Klasa PowietrzeSala służy do modelowania parametrów powietrza - temperatury i stężenia CO2.
* Pobiera trzy wartości typu int i zwraca wartość typu bool.
*
* \param[in] CO2zadaneSala wartość zadana stężenia CO2 wyrażona w ppm (objętościowo).
* \param[in] emisjaCO2osoba wartość emisji CO2 na 1 osobę wyrażona w litr... | [
"47575561+Jaro966@users.noreply.github.com"
] | 47575561+Jaro966@users.noreply.github.com |
6e4579ec93c2c155dc12614181aa8255d1b42612 | 15e4df20d16cddce804c0c9541da29a4d5e1b252 | /2.Firmware/SimpleFOC_version/Ctrl-FOC-Lite-fw/lib/Arduino-FOC/examples/utils/driver_standalone_test/stepper_driver_2pwm_standalone/stepper_driver_2pwm_standalone.ino | 6bf7dd7ac9cf989f7890fe3d18226195996404d8 | [
"MIT"
] | permissive | asdlei99/Ctrl-FOC-Lite | acaee52046abe4cc6535bac14d8ee15251cf865c | a57dd3b2c3262d97789361c05a2ef86ba6ff8d73 | refs/heads/main | 2023-08-17T23:49:53.793225 | 2022-02-05T07:28:08 | 2022-02-05T07:28:08 | 447,481,103 | 0 | 0 | null | 2022-01-13T05:56:35 | 2022-01-13T05:56:35 | null | UTF-8 | C++ | false | false | 901 | ino | // Stepper driver standalone example
#include <SimpleFOC.h>
// Stepper driver instance
// StepperDriver2PWM(pwm1, in1a, in1b, pwm2, in2a, in2b, (en1, en2 optional))
StepperDriver2PWM driver = StepperDriver2PWM(3, 4, 5, 10, 9, 8, 11, 12);
// StepperDriver2PWM(pwm1, dir1, pwm2, dir2,(en1, en2 optional))
// StepperDriv... | [
"593245898@qq.com"
] | 593245898@qq.com |
4cb7e55cbf76ba4f8a32c3912faa7f851aac0399 | a77a50f3f25853ec6a7b5b8548a13b7a4b4b3980 | /include/EntitiesManager.h | a636bf77a5c77f8b956613ebc9c4dacc20372c19 | [] | no_license | nidoro/PointlessWars | f051b41cb71df783141e5953d2c03d9cf305150a | 2e8a9c073026ebb07454922cc3caec41d8c68f29 | refs/heads/master | 2021-03-27T13:12:04.182891 | 2016-11-08T15:23:16 | 2016-11-08T15:23:16 | 71,281,107 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 957 | h | #ifndef ENTITIESMANAGER_H
#define ENTITIESMANAGER_H
#include "Entity.h"
#include "Component.h"
class EntitiesManager{
public:
enum Event{
LIST_UPDATED,
GAME_SCREEN_UPDATED
};
EntitiesManager();
~EntitiesManager();
void addEntity(Entity* e);
vo... | [
"davi_doro@hotmail.com"
] | davi_doro@hotmail.com |
424cd98a2243a25763f3d78c6b45f6f96fe5c1b5 | 699a07206dad2d5edc5bae8e51365ebcd1497984 | /src/internet/model/ipv6-extension-header.cc | 782badd6123685ba6181ef1478ab133323f56694 | [] | no_license | anyonepaw/ns3-iot-realisation | d5bc126968a737e476e656b21a5810241b9905bd | 02353ae9f1c8b4dc186a63b1e2f260a91aaa0447 | refs/heads/master | 2020-04-23T23:00:02.343096 | 2019-06-02T12:19:52 | 2019-06-02T12:19:52 | 171,520,704 | 7 | 5 | null | 2019-05-30T15:20:42 | 2019-02-19T17:44:57 | C++ | UTF-8 | C++ | false | false | 16,500 | cc | /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
/*
* Copyright (c) 2007-2009 Strasbourg University
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation;
*
* This p... | [
"gabrielcarvfer@gmail.com"
] | gabrielcarvfer@gmail.com |
1e18ea02b94018727ffb28db53673df54e2c7999 | c0d3e574b1f50522e0e8bfc8680f7a0817e4d2bc | /headers/Sound.hpp | 8bf9edee3f55fb3d8cc65e635d1e9276cdb56fd4 | [] | no_license | rgsax/MyAllegro | 8ac3f1810cc20220457abcb57d90a384072e747e | 64a50f9edac7097016edbf7325cff526d572ea64 | refs/heads/master | 2021-09-24T09:09:04.784709 | 2018-10-06T08:23:13 | 2018-10-06T08:23:13 | 113,880,223 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 661 | hpp | #ifndef SOUND_H
#define SOUND_H
#include <allegro5/allegro_audio.h>
#include <allegro5/allegro_acodec.h>
/*
* Fa parte di un insieme di classi per gestire le primitive fornite
* dalla libreria di Allegro.
*/
enum Mode{ ONCE = 0, LOOP, BIDIR };
class Sound{
public:
Sound(const char*, Mode = ONCE);
~Sound();
A... | [
"riccardog.sax@gmail.com"
] | riccardog.sax@gmail.com |
9c6be09d156633527a623e6ce9863eac10fcd15c | 230fb8845f39bef0f30f5d3541eff5dc0641de14 | /Connect3/Export/windows/obj/include/haxe/ui/util/ImageLoader.h | d9e271cab5c41ede19b957213cd55ec2a16cd544 | [] | no_license | vhlk/AlgoritmoMinMax | 76abd62a6e2859ed229e5831264b6d8af27e318d | 40eded4948794ca48d50d16d2133a9ab21207768 | refs/heads/main | 2023-06-30T15:16:17.492478 | 2021-08-02T13:29:32 | 2021-08-02T13:29:32 | 390,493,745 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | true | 2,099 | h | // Generated by Haxe 4.2.0
#ifndef INCLUDED_haxe_ui_util_ImageLoader
#define INCLUDED_haxe_ui_util_ImageLoader
#ifndef HXCPP_H
#include <hxcpp.h>
#endif
HX_DECLARE_CLASS3(haxe,ui,util,ImageLoader)
HX_DECLARE_CLASS3(haxe,ui,util,VariantType)
namespace haxe{
namespace ui{
namespace util{
class HXCPP_CLASS_ATTRIBUTES... | [
"vhlk@cin.ufpe.br"
] | vhlk@cin.ufpe.br |
ffde3fc77d1ff03c44b007316d02054bf7af4574 | 59abf9cf4595cc3d2663fcb38bacd328ab6618af | /MCD/Render/Sphere.cpp | 573d1d78a03432f9ea4f44d404e07a5e03316a5f | [] | no_license | DrDrake/mcore3d | 2ce53148ae3b9c07a3d48b15b3f1a0eab7846de6 | 0bab2c59650a815d6a5b581a2c2551d0659c51c3 | refs/heads/master | 2021-01-10T17:08:00.014942 | 2011-03-18T09:16:28 | 2011-03-18T09:16:28 | 54,134,775 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,152 | cpp | #include "Pch.h"
#include "Sphere.h"
#include "MeshBuilder.h"
#include "../Core/Math/Vec2.h"
#include "../Core/Math/Mat33.h"
#include "../Core/Math/BasicFunction.h"
using namespace MCD;
SphereBuilder::SphereBuilder(float radius, uint16_t segmentCount)
{
// const float width = radius;
// const float height = radius;
... | [
"mtlung@080b3119-2d51-0410-af92-4d39592ae298"
] | mtlung@080b3119-2d51-0410-af92-4d39592ae298 |
939baed83a4293545d2fe409918ae71dce0200a1 | 76511344cc27c1898d0fe8449c5073e41984922d | /Peggle Game/GameSceneManager.h | 4566c6f124c589b2497bd1659040d072f0a51c55 | [] | no_license | jonasrabello/Peggle-Game | 2f07ff4800b58c2a993cce7e2f6c5e3cb287e8f9 | a389c320cac317ca9da90845ad4580260308ef33 | refs/heads/master | 2020-05-31T10:16:43.356761 | 2019-06-04T16:09:25 | 2019-06-04T16:09:25 | 190,236,141 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 457 | h | #pragma once
#include <iostream>
#include <stdio.h>
#include "Window.h"
#include "Timer.h"
#include "Scene.h"
#include "Game.h"
#include <SDL.h>
class GameSceneManager {
private:
bool isRuning;
Window* window;
Timer* timer;
Game* game;
public:
GameSceneManager();
~GameSceneManager();
... | [
"noreply@github.com"
] | jonasrabello.noreply@github.com |
a4a8b5bcff2521ae0c5672516027a24ac2b6d80e | 1820c20fe574e95d2e98b5b51784f67119777fa3 | /25.11.2017/Tribonacci.cpp | c76086783c3eb5e91f8c102ec0862d553e71ccac | [] | no_license | p4panash/Computer-Science-Problems | 6ba1c8cb8224c2dbc984eb0c19da085f0faa8bdf | 68e7c3a032ba7a9ed36c955c6fb2eff96e2eb4e2 | refs/heads/master | 2020-04-05T04:30:11.139949 | 2019-07-14T18:43:33 | 2019-07-14T18:43:33 | 156,554,088 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,092 | cpp | #include <iostream>
using namespace std;
void Read(int data[], int &lenght) {
lenght = 0;
int number;
cin >> number;
while (number != 0) {
data[lenght] = number;
lenght++;
cin >> number;
}
}
bool IsTribonacci(int number) {
int a = 0;
int b = 1;
int c = 1;
wh... | [
"muntean.catalin.avram@gmail.com"
] | muntean.catalin.avram@gmail.com |
f9efc53c4899e6291f777d0a9852898c363158a9 | 26ad4cc35496d364b31396e43a863aee08ef2636 | /SDK/SoT_Proposal_Merchant_Rank10Reward_001_functions.cpp | 3a51705f9b54c1c4a430c8a9c3dbd28d5301ca38 | [] | no_license | cw100/SoT-SDK | ddb9b19ce6ae623299b2b02dee51c29581537ba1 | 3e6f12384c8e21ed83ef56f00030ca0506d297fb | refs/heads/master | 2020-05-05T12:09:55.938323 | 2019-03-20T14:11:57 | 2019-03-20T14:11:57 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 371 | cpp | // Sea of Thieves (1.4) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "SoT_Proposal_Merchant_Rank10Reward_001_classes.hpp"
namespace SDK
{
//---------------------------------------------------------------------------
//Functions
//-----------------------------------------------------------------------... | [
"igromanru@yahoo.de"
] | igromanru@yahoo.de |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.