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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
d5da6c746c2ab48a1b74308125a9659bd94fdd99 | c6ee3c23794c22159744954ca9e97b9464ee2da5 | /boost_asio/server/daytime4.cpp | 5dfffce5401350db15615d357f53721f9eaf2d04 | [
"BSD-2-Clause"
] | permissive | adlternative/boost-learn | 22d297c42fbf2a96e62f7114158757be4fbd2906 | 8efe901dec2b0caa1b6d59b805fd4af121c51e05 | refs/heads/main | 2023-06-02T04:53:06.416148 | 2021-06-13T05:21:41 | 2021-06-13T10:15:15 | 373,145,984 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 914 | cpp | #include <boost/array.hpp>
#include <boost/asio.hpp>
#include <iostream>
using boost::asio::ip::udp;
int main(int argc, char *argv[]) {
try {
if (argc != 2) {
std::cerr << "Usage: client <host>" << std::endl;
return 1;
}
boost::asio::io_context io_context;
udp::resolver resolver(io_con... | [
"adlternative@gmail.com"
] | adlternative@gmail.com |
cf26877a10ce666ae3400a4a6ba7497cc464a87f | 6cfe7c65380924bfd6fe46a7b6cd5b006b333e96 | /source/arf/include/GateARFTable.hh | 52c2507ef2392789fb5d8d6158bbc03c6ddd1fdd | [] | no_license | copernicus231/gatempi | 800eb61dd5de373d591e9cb49630172e1c4809b2 | b97c38418458dfd21e8d25887419f7967871782e | refs/heads/master | 2020-12-24T12:01:56.966710 | 2012-08-13T05:12:22 | 2012-08-13T05:12:22 | 5,534,931 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,648 | hh | /*----------------------
GATE version name: gate_v6
Copyright (C): OpenGATE Collaboration
This software is distributed under the terms
of the GNU Lesser General Public Licence (LGPL)
See GATE/LICENSE.txt for further details
----------------------*/
#ifndef GateARFTable_h
#define GateARFTable_h
#include"globa... | [
"copernicus231@gmail.com"
] | copernicus231@gmail.com |
49bd75dbaa5e67c1e55a4b4384d9304abf70d7d2 | 0c203f86667eb2ae8b519bc5459da7901a66b188 | /mooc-homework/mooc7-2/main.cpp | 58d02c38d22c31eac73977d80c8e23c261b5332c | [] | no_license | Waterx/Cpp_Learning | 5dad7358c5b62bf8075f935a2c94943186379603 | 1888a5b9c08b08ce559d87a5d3fade35d4138a92 | refs/heads/master | 2021-01-19T07:05:23.032388 | 2017-12-14T14:40:24 | 2017-12-14T14:40:24 | 87,517,410 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 2,258 | cpp | #include <iostream>
#include <limits>
#include <string>
#include <fstream>
using namespace std;
class Screen {
private:
static int width_;
static int height_;
static Screen* instance;
// 在Screen类中获取/释放图形窗口资源,是一种RAII方法
// 关于RAII,可以参见异常处理单元的材料
Screen() {
// 如果启用了图形库,则将初始化图形模式的函数置于此处
// initgraph(width_, he... | [
"hzx915184874@gmail.com"
] | hzx915184874@gmail.com |
f26925f731ea47af334b71d6f7db8e5ebc59224b | e165a0cd32bd69dc5d059415e779c88f6dcfee97 | /labs/3/Beverages/Beverages/FruitTea.h | e1111e75827832bf5569d1fc048675efda6d0537 | [] | no_license | StepanovVladimir/ood | dc8a9631d1e5a1a9e9c257ae99a393a86a980fb8 | 525a4a93918022577f22fe112bfc134271fa2c4b | refs/heads/master | 2020-07-16T18:55:00.536187 | 2019-12-01T06:15:21 | 2019-12-01T06:15:21 | 205,847,218 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 88 | h | #pragma once
#include "Tea.h"
class CFruitTea : public CTea
{
public:
CFruitTea();
}; | [
"vovan.number.one@mail.ru"
] | vovan.number.one@mail.ru |
8d59279d428923fcb395d07e27ec64f5fb308dd5 | a14a5881e65106ae1ec4289f46e8d1099040bce2 | /core/connections/wim/packets/start_session.cpp | 3017f4ab1cf3a1650679af504e128fca34779e0d | [] | no_license | kennycaiguo/icq-desktop-formac | 23274eaf9651100313cfd33152fb0840fdd44825 | ece2e9443ef6c959a2379d449c1cbf0fc65115f6 | refs/heads/master | 2023-01-13T21:01:43.194423 | 2020-11-18T18:11:33 | 2020-11-18T18:11:33 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,874 | cpp | #include "stdafx.h"
#include "start_session.h"
#include "client_login.h"
#include "../../../http_request.h"
#include "../../../tools/hmac_sha_base64.h"
#include "../../../core.h"
#include "../../../../common.shared/version_info.h"
#include "../../../utils.h"
#define WIM_API_START_SESSION_HOST "https://api.icq.net/... | [
"koptyakov@hotmail.com"
] | koptyakov@hotmail.com |
558cad79add083d1e62619347a1e3a2ba2970608 | 770cec80a8bb58b8c3e070baf2b424fa5bbb61f2 | /instructional_software/实验2实验方法3.cpp | d0a7a4e383a4d420a61a0f37222db00d36fd54e0 | [] | no_license | xujunmingbest/instructional_software | 76e6ea0962522d88bc17798f1e4e3c3dc05b206e | c94157121559a0762aeec6a80ad56d4be7b6d4ac | refs/heads/master | 2020-04-11T00:44:37.057180 | 2018-03-27T06:16:56 | 2018-03-27T06:16:56 | 124,214,740 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 75 | cpp | #include "实验2实验方法3.h"
bool 实验2实验方法3Status = false; | [
"925271237@qq.com"
] | 925271237@qq.com |
d8251eb662a5e1aa8bd85f1960554378c3d1970d | 822c93c00ec783a368486dbd5be2716d0c8d8d5f | /Problem Solving/repeated-string.cpp | d05c26ec2bb5644a4f532cfa621ed18f7e570208 | [] | no_license | dosarudaniel/HackerRankSolutions | 41ee780a71f6a79b6834d0938d16aa8b6e4b9c72 | 7bbd53a0c51922397da1b47499af60475446b258 | refs/heads/master | 2020-04-14T18:20:31.518283 | 2019-01-13T21:37:10 | 2019-01-13T21:37:10 | 164,015,295 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 675 | cpp | #include <bits/stdc++.h>
using namespace std;
// Complete the repeatedString function below.
long repeatedString(string s, long n) {
int app = 0, *v;
v = new int[s.length()+1];
v[0] = 0;
for (int i = 0; i < s.length(); i++) {
if (s[i] == 'a') {
app++;
}
v[i+1] = app... | [
"noreply@github.com"
] | dosarudaniel.noreply@github.com |
1a8e4e2cf6576a7bec3a01eb9fadf606a728e0aa | 85455876309135778cba6bbf16933ca514f457f8 | /1000/1057.cpp | 9cca404d153ed18b046a69ca272858401df35cb3 | [] | no_license | kks227/BOJ | 679598042f5d5b9c3cb5285f593231a4cd508196 | 727a5d5def7dbbc937bd39713f9c6c96b083ab59 | refs/heads/master | 2020-04-12T06:42:59.890166 | 2020-03-09T14:30:54 | 2020-03-09T14:30:54 | 64,221,108 | 83 | 19 | null | null | null | null | UTF-8 | C++ | false | false | 218 | cpp | #include <cstdio>
using namespace std;
int main(){
int N, a, b;
scanf("%d %d %d", &N, &a, &b);
int result = 1;
a--; b--;
while(1){
a /= 2;
b /= 2;
if(a == b) break;
result++;
}
printf("%d\n", result);
} | [
"wongrikera@nate.com"
] | wongrikera@nate.com |
4a82a596b2422fe67981284daecba3e02304eee1 | c3fae616f99e8ee21397d730583d15b9545ee566 | /contest/174/2.cpp | 7d70382576db4094c76b9fbc71a5db5f0dabecda | [] | no_license | kavin23923/Leetcode | 1de5a664b591d7dc0ccb6484466d9a4ff87e30bd | b4b5e08259073f99d02f43736708adaf4e65e021 | refs/heads/master | 2020-08-22T03:07:01.228602 | 2020-07-29T14:20:51 | 2020-07-29T14:20:51 | 216,304,311 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 629 | cpp | class Solution {
public:
int minSetSize(vector<int>& arr) {
int size = 0;
int set = 0;
unordered_map<int, int> count;
auto cmp = [](pair<int, int>& a, pair<int, int>& b) {
return a.second < b.second;
};
priority_queue<pair<int, int>, vector<pair<int, int>>, decltype(cmp)> order(cmp);
... | [
"kavin23923@gmail.com"
] | kavin23923@gmail.com |
cac9be72367f3794b4c02a8758816f2991b369c9 | 9c6ea29f451e3c9a3c1a4e89c0e93c70357bd778 | /MainWindow.cpp | 626fac4cd6b744dc43504a4507e42a8e26b0955b | [] | no_license | johnco3/QtWorkerGUI | 32a063776c7b96c6dee1538dfd055bfa132ab4f1 | fa49c652158e8938ab19f7572ccbb81ae9eb1e18 | refs/heads/master | 2020-04-16T12:13:31.575307 | 2019-01-31T15:57:56 | 2019-01-31T15:57:56 | 165,569,659 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 997 | cpp | #include <QThread>
#include "MainWindow.h"
#include "ui_MainWindow.h"
#include "Controller.h"
MainWindow::MainWindow(QWidget *parent)
: QMainWindow(parent)
, ui(new Ui::MainWindow)
, mpController(std::make_unique<Controller>())
{
ui->setupUi(this);
connect(mpController.get(), &Controller::onWorkF... | [
"johnco3@gmail.com"
] | johnco3@gmail.com |
ee1cc5434c16792584a9cff74fb8bbecc0fc8f51 | 9d2ddf5a04576102e51080fb90a239103eb7f93b | /codechief/May_lunchtime_prefix_inversions.cpp | 94afc6438d2b9c314d69c4fa9f796035a36da5a2 | [] | no_license | sharmayush/Competitive-programming | f02a7b5b8deab07d753d3318e6d30e3b3efda2ba | 466d24709d920dbce645f874ca78d22ee001d262 | refs/heads/master | 2020-03-27T14:05:09.326060 | 2018-08-29T19:40:21 | 2018-08-29T19:40:21 | 146,643,416 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 94 | cpp | #include<iostream>
using namespace std;
int main()
{
long long int a[100000];
}
| [
"noreply@github.com"
] | sharmayush.noreply@github.com |
546bce0773779298c3ef11aad7911cbc4c95a55a | b0334a26634f4eb665d58efcaa64756cf8baf34c | /oad/func/barajeadora.cpp | 567db2f56044c067c2297dd91c600da5919d1016 | [] | no_license | Alex23013/4semestre | 08212961be92ead52cdaaaa346016fb4add9b4fc | 2d66c5122b964d796da6b3cfc808477626b67958 | refs/heads/master | 2020-06-24T05:30:51.851339 | 2019-08-05T17:17:15 | 2019-08-05T17:17:15 | 96,921,046 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 926 | cpp |
#include <iostream>
#include <vector>
#include <cstdlib>
#include <ctime>
#include"mano.cpp"
using namespace std;
class baraja
{
private:
mano baraj;
public:
void print_baraj()
{
cout << "La baraja es: " ;
baraj.print_mano();
}
void barajar(){
int n_cartas=23;
srand(time(NULL));
int... | [
"alecornejolupa2013@gmail.com"
] | alecornejolupa2013@gmail.com |
56d84b6aca064fec2eb892127a15eea73939f87b | bb0c4dc48439adf9316e12089559563cb3c5712f | /BBallTeamVar.h | f36a29b0ef9f4410c5c88b6d578e750dcef07b74 | [] | no_license | cfmcginn/NBA_Stats | 38a44d4a947bcc0d75411cbc57a57a2cfe3d64e1 | add45baee96addbf434893462e3d6a2dbf393867 | refs/heads/master | 2021-01-10T13:31:55.647455 | 2016-04-20T07:24:33 | 2016-04-20T07:24:33 | 36,797,572 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 724 | h | #ifndef BBallTeamVar_h
#define BBallTeamVar_h
enum TeamNum{
ATL, //0
BOS, //1
BRK, //2
CHI, //3
CH0, //4
CLE, //5
DAL, //6
DEN, //7
DET, //8
GSW, //9
HOU, //10
IND, //11
LAC, //12
LAL, //13
MEM, //14
MIA, //15
MIL, //16
MIN, //17
NOP, //18
NYK, //19
OKC, /... | [
"cfmcginn@mit.edu"
] | cfmcginn@mit.edu |
39d27683da1e86da039cdd48e76ffad5f7c7f8ad | 6ce125bb07f84fd28e6d1c1dcd791e9855a5cc77 | /Source/Quarrel/Player/PlayerQuiver.h | b3905d3f36b0b285adf829c8cbe011b28aa2550e | [
"MIT"
] | permissive | rachelnertia/Quarrel | 1c416b8133dd2ea4b5d48df7ca66f110049247cc | 69616179fc71305757549c7fcaccc22707a91ba4 | refs/heads/master | 2020-05-30T15:34:18.428644 | 2019-06-02T08:42:57 | 2019-06-02T08:42:57 | 189,823,291 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 2,109 | h | #pragma once
#include <array>
#include <chrono>
#include <optional.hpp>
#include <SFML/Graphics/Color.hpp>
#include <Quiver/Graphics/ColourUtils.h>
#include "CrossbowBolt.h"
struct QuarrelTypeInfo
{
std::string name;
std::chrono::duration<float> cooldownTime;
sf::Color colour;
CrossbowBoltEffect effect;
};
v... | [
"nershly@gmail.com"
] | nershly@gmail.com |
55fc3a984552ac9fe5a53ed3e7493799120220d9 | 92c43f9c66816e3b5424b93aa27f15b081905549 | /iec61850.h | 85e9bca58744dff67531eff822493943033f72ae | [] | no_license | adirkuhn/lib-iec61850 | fd30b032b35d3184c3f01be4f0a11a3560c7954f | 7a35d901a299c94e49fd4dcb468a9d0e993b0709 | refs/heads/master | 2020-05-21T12:11:30.042930 | 2014-10-27T17:51:18 | 2014-10-27T17:51:18 | 32,832,932 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 158 | h | #ifndef IEC61850_H
#define IEC61850_H
#include "iec61850_global.h"
class IEC61850SHARED_EXPORT IEC61850
{
public:
IEC61850();
};
#endif // IEC61850_H
| [
"adirkuhn@gmail.com"
] | adirkuhn@gmail.com |
12a78d61f8e654541613259a2d69182f6a14a0e6 | c3147a539c3bad6d24105df990146e9bffcae1a5 | /leetcode/790.domino-and-tromino-tiling.cpp | 19c380474840a8b6ba25c3c499081021660b5825 | [] | no_license | eataix/algorithms | 6158a93d02d53be4940d7d2db09393915081b267 | 6c61a6ae52707ac6f8a01bfc9344ca48be9736f8 | refs/heads/master | 2021-03-22T00:21:23.926258 | 2018-10-20T05:07:55 | 2018-10-20T05:57:53 | 19,340,004 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,332 | cpp | /*
* [806] Domino and Tromino Tiling
*
* https://leetcode.com/problems/domino-and-tromino-tiling/description/
*
* algorithms
* Medium (33.17%)
* Total Accepted: 4.3K
* Total Submissions: 12.9K
* Testcase Example: '3'
*
* We have two types of tiles: a 2x1 domino shape, and an "L" tromino shape.
* These s... | [
"_@freeaddr.info"
] | _@freeaddr.info |
7561ab428aeeed774a1ed798bf839e5ef4b88806 | c0d958f7254bbb09036ffe7fda383facaa72a494 | /src/Utility/BufferedImage.h | 4372529d01938cc24ef2c37f5f1734e54d475739 | [
"BSD-2-Clause"
] | permissive | Alicetech/bobsgame | 2780fa9e115c42ca8b5d223bd555f10f4ff63a1b | 40b5c57f62bcc2e289d39b2019a69df323f915fc | refs/heads/master | 2020-04-15T00:34:57.072166 | 2017-08-15T22:28:12 | 2017-08-15T22:28:12 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 824 | h | //------------------------------------------------------------------------------
//Copyright Robert Pelloni.
//All Rights Reserved.
//------------------------------------------------------------------------------
#pragma once
#include "bobtypes.h"
class Logger;
#include "Logger.h"
class BobColor;
class Buffered... | [
"bob@bobsgame.com"
] | bob@bobsgame.com |
3853d7933f7f35a1fc7f729dc0936cb5ee13ac21 | 8ba3820b70bf3808dc96ac393f96e859c17e69e7 | /codeforces/1491/C.cpp | ea4d8051331ced304e087f6dafa2d75bf4e84e79 | [] | no_license | anikxt/Competitive_Programming | d92767247c358a093d8de04933c8fda4abeb42c0 | e464bd2b480ccc4f469bdbe1609af921ef93c723 | refs/heads/master | 2023-03-24T13:56:38.442334 | 2021-02-14T18:14:00 | 2021-03-19T19:19:01 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,521 | cpp | //#pragma GCC optimize "trapv"
#pragma GCC optimize("Ofast")
#pragma GCC optimize("O3", "unroll-loops")
#pragma GCC target("avx,avx2,fma")
#include<bits/stdc++.h>
#define ll long long int
#define fab(a,b,i) for(ll i=a;i<b;i++)
#define pb push_back
#define db double
#define mp make_pair
//#define endl "\n"
#define f fir... | [
"nishitsharma0@gmail.com"
] | nishitsharma0@gmail.com |
01bc9b2935bea2233354df4428b4d370fbebd8b8 | 948f4e13af6b3014582909cc6d762606f2a43365 | /testcases/juliet_test_suite/testcases/CWE590_Free_Memory_Not_on_Heap/s05/CWE590_Free_Memory_Not_on_Heap__free_long_static_72a.cpp | a461c67bdf882afd98318edeee7920b19aa25dbc | [] | no_license | junxzm1990/ASAN-- | 0056a341b8537142e10373c8417f27d7825ad89b | ca96e46422407a55bed4aa551a6ad28ec1eeef4e | refs/heads/master | 2022-08-02T15:38:56.286555 | 2022-06-16T22:19:54 | 2022-06-16T22:19:54 | 408,238,453 | 74 | 13 | null | 2022-06-16T22:19:55 | 2021-09-19T21:14:59 | null | UTF-8 | C++ | false | false | 3,329 | cpp | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE590_Free_Memory_Not_on_Heap__free_long_static_72a.cpp
Label Definition File: CWE590_Free_Memory_Not_on_Heap__free.label.xml
Template File: sources-sink-72a.tmpl.cpp
*/
/*
* @description
* CWE: 590 Free Memory Not on Heap
* BadSource: static Data buffer is decl... | [
"yzhang0701@gmail.com"
] | yzhang0701@gmail.com |
e176c853d76da8ef99185ce03273ca3036bdd0e7 | 18c03a6af8a6d5db42a24a65e07be986facaca32 | /TMChallenge1ServoArtist.ino | 1cc6d9df33041f2ce9705d0e72c375537760d1b9 | [] | no_license | ArduinoWoman/ServoArtist | 16f023a8036e00c267e9f81ed4f74c7deec74b09 | c3600033d26e794ade1a3455bc7c08c5c3d31da8 | refs/heads/master | 2021-01-01T15:35:43.051106 | 2014-05-23T20:59:40 | 2014-05-23T20:59:40 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,311 | ino | /* The Tech Museum of Innovation - www.thetech.org
"Servo Artist" - May 24th 2014
Challenge - 1 Move your Servo
author: Tenaya Hurst - Arduino Woman
1 Servo
8 jumper wires
Notice there are two ways to program your servo, the loop runs continuously from
one pattern to the next. Try changing these, commenting in or... | [
"piratetenaya@gmail.com"
] | piratetenaya@gmail.com |
02b3728014cafba5aa3c910882f70096c5337ca5 | 0e4c02704b371e57828136186cafd4365c2cd51b | /vfdClockCpp168old/vfdClockCpp168old/SPI.cpp | b1c5366964e0fc8c7a4e17cc24a87cad7f3a4821 | [] | no_license | Redfern89/VFD_ClockAVR | 31e6f94ae294dceffe51ee85a584a5a50889f3df | b4161fad364bff145c3b3253d26f21ece6649f76 | refs/heads/main | 2023-01-11T20:48:56.900923 | 2020-10-28T20:49:07 | 2020-10-28T20:49:07 | 308,136,624 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 734 | cpp | /*
* SPI.cpp
*
* Created: 23.09.2020 21:38:35
* Author: user
*/
#include "SPI.h"
SPI::SPI (char SCLK, char RCLK, char DATA, bo bitOrder) {
pinMode(SCLK, OUTPUT);
pinMode(RCLK, OUTPUT);
pinMode(DATA, OUTPUT);
this -> sclkPin = SCLK;
this -> rclkPin = RCLK;
this -> dataPin = DATA;
this ... | [
"noreply@github.com"
] | Redfern89.noreply@github.com |
45f65995036f9bd9ea5d0f53697b37724558a469 | 27867eb0448592b27499bc854740a95a3a8c8085 | /code/player.cc | 6ba4223d89c05be8ba787493c102641eda0b9ed1 | [] | no_license | FannyZhao123/Monopoly_BulidingByer | 8ade7368814b3b26ad2d40d202c610a99908a338 | 68a6f1008e5d3d58d2c4cd4d6d1bae5606b84d7c | refs/heads/master | 2021-05-05T08:11:56.277959 | 2018-01-28T19:04:56 | 2018-01-28T19:04:56 | 118,935,953 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,041 | cc | #include "player.h"
#include <iostream>
#include <string>
using namespace std;
//default ctor
Player::Player(string plname, char piece){
playerName=plname;
this->piece = piece;
position = 0; //start from OSAP
cash = 0; //starting cash is 1500
numofTimCup = 0; // start with no Tim Cups
timLine = false;
turninTim... | [
"f25zhao@uwaterloo.ca"
] | f25zhao@uwaterloo.ca |
9c3a5351a877ef3d5f43c941a01ebd519d41018b | 8548b4e4f3e2e11f1ffe6e792b6bd701421a0af1 | /action_management/action_nodes/src/basic_actions/basic_pick.cpp | 5ecda3fcabff16f575d1516afeed5a2ecbf52e32 | [] | no_license | mfiore/supervision_system | 5d601ceb3bda951e6740f88967773270e27c80fd | 7c1e4d2bb1151b687de8f0085afd8871e1579aa6 | refs/heads/master | 2020-12-24T12:05:02.296490 | 2016-11-07T13:03:20 | 2016-11-07T13:03:20 | 39,577,195 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,691 | cpp |
#include <action_nodes/basic_actions/basic_pick.h>
BasicPick::BasicPick(ros::NodeHandle node_handle):BasicAction("pick",node_handle) {
parameters_.push_back("main_object");
parameters_.push_back("main_agent");
put_object_in_hand_client_=node_handle_.serviceClient<situation_assessment_msgs::PutObjectInHand>("/situ... | [
"mfiore@laas.fr"
] | mfiore@laas.fr |
c356577b0a6573371797c2643d204ad89ca95ac3 | a5b94099450e681bf5ffab1542711a5d0eae56db | /Source.cpp | 5ef32477ab12b4e2715cd964a9f71d5ec4facd21 | [] | no_license | LimKimEang/Practicum3 | 8f8429ecf6cdcc19c57b7bd5313f03d10060e53b | d744aeb5d756214a5239b1c2f8667d422ea3e177 | refs/heads/master | 2020-05-29T21:26:36.752848 | 2019-05-30T09:39:23 | 2019-05-30T09:39:23 | 189,381,208 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 832 | cpp | #include <iostream>
#include <math.h>
using namespace std;
int main()
{
int digits;
int first, second, third, forth, fiffth, six;
int third_left, third_right;
cout << "Enter 6digits:";
cin >> digits;
int n = digits;
int count = 0;
while (n > 0) {
n = n / 10;
count++;
};
if (count ==6... | [
"noreply@github.com"
] | LimKimEang.noreply@github.com |
d8f5d90b15b25e0a24244983cd7c4440b0e482cc | 52932db995812ed92e3fb9d6ea98b0dcb0a35aea | /modules/core/misc/objc/common/CVObjcUtil.h | 9d7d98670857a0755c2bbdea5ae872501cbaeadb | [
"BSD-3-Clause"
] | permissive | puneetsingh1462/opencv | 7172717299664d23204dc460e31def84ff1560bb | d1f684a7c9af1552d698ba3391ecc4be39e3c2e5 | refs/heads/master | 2023-07-24T09:24:04.959671 | 2021-09-05T12:42:29 | 2021-09-05T12:42:29 | 274,649,085 | 0 | 0 | NOASSERTION | 2020-06-24T11:12:34 | 2020-06-24T11:12:33 | null | UTF-8 | C++ | false | false | 3,068 | h | //
// CVObjcUtil.h
//
// Created by Giles Payne on 2020/01/02.
//
#pragma once
typedef union { double d; int64_t l; } V64;
typedef union { float f; int32_t i; } V32;
#define DOUBLE_TO_BITS(x) ((V64){ .d = x }).l
#define FLOAT_TO_BITS(x) ((V32){ .f = x }).i
#ifdef __cplusplus
#import <vector>
template <typename... | [
"noreply@github.com"
] | puneetsingh1462.noreply@github.com |
94826b2adfa994e8bd5858bee33883140e47472f | 291228a90f697a2960a06241ce1ca1b7787ee8e5 | /Fall 2015:Spring 2016 Code/3.29/unsorted.h | 46b032504703ffca5f876160b320ab052c1b56d9 | [] | no_license | mariomerendino/Fordham | 95d42ae24647f845a3713bee1908a5e77f82c28c | 9038755b4a4a0c5b42422732c69258f8d802936c | refs/heads/master | 2021-07-20T01:14:34.973370 | 2017-10-23T18:57:31 | 2017-10-23T18:57:31 | 104,236,870 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,900 | h | //Define the class UnsortedType, an unsorted list that stores a "list" of ItemType
// implemented using linked list
//Before using it,
//Define ItemType to be the type that you want...
//e.g., typedef int ItemType;
#ifndef UNSORTEDTYPE_H
#define UNSORTEDTYPE_H
#include <iostream>
//declare ItemType here
... | [
"mmerendino@fordham.edu"
] | mmerendino@fordham.edu |
9ee4798a69bd9098825b85e1979430a88854c37d | d09945668f19bb4bc17087c0cb8ccbab2b2dd688 | /leetcode/biweekly/041-080/055/1910.cpp | 0dc4cdad47d449e19fc9d2cd97ed85ff98179d64 | [] | no_license | kmjp/procon | 27270f605f3ae5d80fbdb28708318a6557273a57 | 8083028ece4be1460150aa3f0e69bdb57e510b53 | refs/heads/master | 2023-09-04T11:01:09.452170 | 2023-09-03T15:25:21 | 2023-09-03T15:25:21 | 30,825,508 | 23 | 2 | null | 2023-08-18T14:02:07 | 2015-02-15T11:25:23 | C++ | UTF-8 | C++ | false | false | 679 | cpp | typedef signed long long ll;
#undef _P
#define _P(...) (void)printf(__VA_ARGS__)
#define FOR(x,to) for(x=0;x<(to);x++)
#define FORR(x,arr) for(auto& x:arr)
#define ITR(x,c) for(__typeof(c.begin()) x=c.begin();x!=c.end();x++)
#define ALL(a) (a.begin()),(a.end())
#define ZERO(a) memset(a,0,sizeof(a))
#define MI... | [
"kmjp@users.noreply.github.com"
] | kmjp@users.noreply.github.com |
29d58b7885e03ff8f82e068cac3485c33eddd920 | f70a4810666bd26eca1fcd7462cf55877ed26fab | /d_replace.h | 332481cfab325e23a36cd6357752ac2990105ad2 | [] | no_license | buptwhr/MiniWord | 49552f90f28b9003bd3e466c68fe6396776a036d | edc7a81d29240909af60b22c81a7d08dd36cab1e | refs/heads/master | 2020-03-17T16:22:31.651148 | 2018-05-16T16:26:01 | 2018-05-16T16:26:01 | 133,746,335 | 1 | 0 | null | 2018-05-17T02:13:14 | 2018-05-17T02:13:14 | null | UTF-8 | C++ | false | false | 418 | h | #ifndef D_REPLACE_H
#define D_REPLACE_H
#include <QDialog>
namespace Ui {
class d_replace;
}
class d_replace : public QDialog
{
Q_OBJECT
public:
explicit d_replace(QWidget *parent = 0);
~d_replace();
signals:
void send_replace_message(QString,QString);
private slots:
void on_pushButton_clicked()... | [
"39120200+GuoZhilong@users.noreply.github.com"
] | 39120200+GuoZhilong@users.noreply.github.com |
94a13ae2ba851773558fa61fff5dbebcfc343c85 | 82251f53e810d9c7a9475c259a5481f41ad29c5d | /Paddle Game/GUI.cpp | b2a82f49c7463514266ab9dddfa80fc408afcfd5 | [] | no_license | huynhtran1509/Paddle-Game | 050edbb7d8caf63780ec591bcc2a314a4be2cbd6 | 55e3ae08332c5e8524adc790019decb900b944ec | refs/heads/master | 2021-01-23T11:02:10.588861 | 2016-10-03T16:46:04 | 2016-10-03T16:46:04 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 534 | cpp | #include "GUI.h"
void GUI::DrawLabel(string message, RECT rect, DWORD dword) {
if (font != NULL) {
font->DrawTextA(NULL, message.c_str(), -1, &rect, dword, D3DCOLOR_XRGB(255, 255, 255));
}
}
bool GUI::Init() {
if (!SUCCEEDED(fontResult)) {
return false;
}
}
GUI::GUI()
{
//font = NULL;
fontResult = D3DXCr... | [
"vankhoa0603@gmail.com"
] | vankhoa0603@gmail.com |
64bf1b5bf3a3e61e5c3e7d3eec2350fda60c473e | 7a49c5a88d506e7e6aa41aa62bbc530f2a800a07 | /ProtectedMemberAndClassAccess/main.cpp | 8bfa39a6f0d65393d26b3b4f2c863418525de23a | [] | no_license | ATomar2150/CPlusPlus | 72f0aa526ee415bc471ba4f690a07a5dd7732596 | 927582e0af71bdeeeaed657830344519933d181c | refs/heads/master | 2021-05-19T18:54:20.017300 | 2020-12-06T22:26:44 | 2020-12-06T22:26:44 | 252,072,387 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 600 | cpp | //This program demonstrates the base class with protected member
#include <iostream>
#include <iomanip>
#include "FinalExam.h"
using namespace std;
int main()
{
int questions;
int missed;
cout<<"How many questions are on the final exam?"<<endl;
cin >> questions;
cout<<"How many questions did the... | [
"56009926+ATomar2150@users.noreply.github.com"
] | 56009926+ATomar2150@users.noreply.github.com |
5b05f983a8b498d3badb8dd122383b96a4e6fb0e | 54aaa8f288b3212fd9789d445b62966fbfa06f96 | /ClientServerUdpInC/clientv1.cpp | d283a4c6aad3e60eff7064f06ea574058a7bc3b4 | [] | no_license | DavideBottasso/School | edb8f22a7e7b083dabc29a3f8ac30046c88dbde6 | a5624be6e4a1bf40eec172cf1d0c749b71dc76e1 | refs/heads/master | 2020-04-01T00:53:39.439991 | 2019-01-14T06:38:32 | 2019-01-14T06:38:32 | 152,717,678 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,195 | cpp | #include <stdio.h>
#include <unistd.h>
#include <stdlib.h>
#include <string.h>
#include <netdb.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include "Address.hpp"
#include "mylib.h"
#define IP_LOOP "127.0.0.1"
#define PORT 8000
#define BUFSIZE 4096
int main(int argc... | [
"noreply@github.com"
] | DavideBottasso.noreply@github.com |
fac41a43c152fa8d7e47153941e33b4f1b7cd9f9 | 52c96c707172d0d6c7bfb3b672b2eb86a76473fc | /src/wordmaker.cpp | 9c36daefa0e18d058661fdb74f81c6fa0df3ae26 | [] | no_license | Naify/Transport | 9bc428549da408dbcbbd9b5c7e85343beca2f9ee | b9be3740882fdb7f097f42a04f4546f76574369e | refs/heads/main | 2023-04-24T18:50:06.904708 | 2021-05-12T13:57:43 | 2021-05-12T13:57:43 | 366,734,389 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 61,516 | cpp | #include "wordmaker.h"
#include <OdsTemplateManager>
#include "mainwindow.h"
#include "global_defs.h"
#include <QAction>
#include <QFileDialog>
#include <CatalogManager.h>
#include <QMessageBox>
#include "Planner.h"
#include "Condition.h"
#include "Contact.h"
WordMaker::WordMaker()
{
}
WordMaker::~WordMaker()
{
... | [
"naify@mail.ru"
] | naify@mail.ru |
a38dcdd6bc01a587b281d23dd5a1e76e2fae0ef2 | ecadb984b00652c9a746852a023e59d397299b34 | /unit_test/jump_game_II_test.cpp | e7935bde57ebbd67c80edec79305f1bb9787b392 | [] | no_license | sylcrq/leetcode | 12dfa56451cfeac7e34020f505f1c7e1efcaec25 | 315bb79471a91e74a43262ce5762eb2a40986a10 | refs/heads/master | 2021-01-20T02:46:45.683702 | 2015-07-13T06:31:42 | 2015-07-13T06:31:42 | 23,686,865 | 7 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 388 | cpp | #include "gtest/gtest.h"
int jump(int A[], int n);
TEST(JumpGameIITestCase, Normal)
{
int array[5] = {2, 3, 1, 1, 4};
EXPECT_EQ( 2, jump(array, 5) );
int array_2[7] = {1, 1, 1, 1, 1, 1, 1};
EXPECT_EQ( 6, jump(array_2, 7) );
int array_3[1] = {4};
EXPECT_EQ( 0, jump(array_3, 1) );
int arr... | [
"syl272365943@126.com"
] | syl272365943@126.com |
b486bc982e39ed2a3ac87582aa63275455e22836 | 2e5d2a905b1f449c93a26b28c5dd09268e8998bd | /LowE/Code/MysteryCode/GatifiedQCDS6Old.cc | ba5e7bb7d5b45c978a76322b749a4363208bdf1c | [] | no_license | JaminRager/AnalysisCode | 6359f8b72ec17c222ad23d391ead9366e742edac | a58d7eb376b130e8ab1b91393f37622259b68a6a | refs/heads/master | 2020-03-29T01:04:45.449971 | 2019-04-25T19:30:17 | 2019-04-25T19:30:17 | 149,370,275 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,983 | cc | //
// DataCleaningDS6.cc
//
// Makes data cleaning/monitoring plots for gatified DS6 data over a user-specified run range.
//
// 6/10/17
//
// Starting run is 25672. End run as of 6/10/17 is 26677.
#include <iostream>
#include <set>
#include <map>
#include <vector>
#include <sstream>
#include <stdlib.h>
#include "TC... | [
"ragerj@unc.edu"
] | ragerj@unc.edu |
3301a938a500f55a9842d3677e9385691fd23206 | 7b35ddf8d5782e1f3650d51c5dbb3a0ee8e5f00f | /include/rcl/hardware/encoder.h | 45cfd0f0ff3eb9b1ad11f659f84e866b2e65b755 | [] | no_license | albertK/RobotArm | e9ed5f8bbf1668aaa4c20ca0b7a2403e84bb9e6a | 594f5d697e261fc6a6554f9c41603460ed942beb | refs/heads/master | 2021-01-22T06:33:20.863889 | 2015-06-27T09:43:30 | 2015-06-27T09:43:30 | 32,303,612 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 509 | h | #ifndef ENCODER
#define ENCODER
namespace rcl
{
class Encoder
{
protected:
//check if the class has been initialized. avoid multiple initialization
bool init_;
public:
Encoder():init_(false){};
//initialize the encoder interface card
bool init();
/*
* get the encoder count
* channel: rang... | [
"knowledge80122@gmail.com"
] | knowledge80122@gmail.com |
1ceacf9c1d5a6a56b15072239c070ef6334e3034 | d8194d1853937bcbbca6988279c8f412b6ae5499 | /apps/export2hmb/export2hmb.h | f43062ff60b14addd1a86079f73403b51eed724c | [] | no_license | andres-h/httpmsgbus | 1453152cad7e2fb3b7154d07ef55df70a96c2d28 | efcffc7d44a9320c45f0e70f6bbd7e04ea99fc5a | refs/heads/master | 2022-04-28T22:38:06.977779 | 2022-03-08T17:01:01 | 2022-03-08T17:01:01 | 58,213,950 | 2 | 3 | null | 2022-03-08T17:01:02 | 2016-05-06T14:44:40 | Go | UTF-8 | C++ | false | false | 2,313 | h | /***************************************************************************
* Copyright (C) by GFZ Potsdam *
* *
* You can redistribute and/or modify this program under the *
* terms o... | [
"andres@gfz-potsdam.de"
] | andres@gfz-potsdam.de |
eca4c27fe306fefdad920d9a0471eb3c065cc814 | 2a0fee7a6f566843c6d533bc1f7b621c7e3b3400 | /third_party/blink/renderer/platform/wtf/time.h | b69059d2f414b056371d0951c79da200a0944e5d | [
"LGPL-2.0-or-later",
"LicenseRef-scancode-warranty-disclaimer",
"LGPL-2.1-only",
"GPL-1.0-or-later",
"GPL-2.0-only",
"LGPL-2.0-only",
"BSD-2-Clause",
"LicenseRef-scancode-other-copyleft",
"BSD-3-Clause",
"MIT",
"Apache-2.0"
] | permissive | amitsadaphule/chromium | f53b022c12d196281c55e41e44d46ff9eadf0e56 | 074114ff0d3f24fc078684526b2682f03aba0b93 | refs/heads/master | 2022-11-22T22:10:09.177669 | 2019-06-16T12:14:29 | 2019-06-16T12:14:29 | 282,966,085 | 0 | 0 | BSD-3-Clause | 2020-07-27T17:19:52 | 2020-07-27T17:19:51 | null | UTF-8 | C++ | false | false | 2,042 | 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 THIRD_PARTY_BLINK_RENDERER_PLATFORM_WTF_TIME_H_
#define THIRD_PARTY_BLINK_RENDERER_PLATFORM_WTF_TIME_H_
#include "base/time/time.h"
#include "thi... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
4ed577f98f9d72797d5cae150855938188de81f2 | 251921a9bad70bf0cef196a755b17a30e583d49d | /ArpSrc/Sequitur/SeqColoredColumn.cpp | 5a28a938f3dc7f517cc3b707284e87ec946cb95a | [
"Artistic-1.0"
] | permissive | tgkokk/Sequitur | 6d25b901c14960445230c91571934b3bdc0db214 | de306eb37de25cd8237c9a4bd30ce3e7a7ed416f | refs/heads/master | 2021-01-17T07:50:13.962534 | 2014-01-01T21:52:41 | 2014-01-01T21:52:41 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,378 | cpp | /* SeqColoredColumn.cpp
*/
#include <stdio.h>
#include <be/experimental/ColorTools.h>
#include "ArpKernel/ArpDebug.h"
#include "Sequitur/SeqColoredColumn.h"
/********************************************************
* SEQ-COLORED-COLUMN
********************************************************/
SeqColoredColumn::SeqC... | [
"ajcsweb@gmail.com"
] | ajcsweb@gmail.com |
4856b577f1b513db586aacaaa860a53ffb3875f4 | 98436df6ec08b7f836dca47b00b8b25a94e479bc | /wildstar_package/command/i_command.h | e6c70af7890096d280b21a428cc67b4b253cba93 | [
"MIT"
] | permissive | gokudo-graves/wildstar-tools | bce71b6baf718cbb6240811b44adcfc7d0116954 | 2ad6a10a47d835045ff987198dc0b3d2c8d03fa0 | refs/heads/master | 2021-06-07T05:13:23.970558 | 2016-09-25T20:24:36 | 2016-09-25T20:24:36 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 528 | h | #ifndef COMMAND_I_COMMAND_H
#define COMMAND_I_COMMAND_H
#include <QCommandLineParser>
#include <QSettings>
namespace command
{
class ICommand : public QObject
{
Q_OBJECT
public:
virtual ~ICommand() {}
virtual const QString& name() const = 0;
virtual void options( QCommandLineParser... | [
"tobias.peters@kreativeffekt.at"
] | tobias.peters@kreativeffekt.at |
24435e6f8642b53b266b7cbe0c9e246b7600c710 | 764765b6ecef76e92e400e7a55afa21dc517898e | /Minos/MinosControl/K8055D.h | 60cbe9253fe3d6ff64c4eec336d5c69fdbb7243f | [
"BSD-3-Clause"
] | permissive | zsteva/backup-minos2 | c2d9a6097b6f0e753b0a7205615f64e12a455c7d | 1ac59cea1e126ac16f4ba73dcdd185b7e721166e | refs/heads/master | 2020-03-15T16:41:45.386744 | 2018-04-24T18:59:57 | 2018-04-24T18:59:57 | 132,240,699 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,404 | h |
#eror no longer used
#ifdef __cplusplus
namespace K8055
{
extern "C"
{
#endif
#define FUNCTION __declspec(dllimport)
FUNCTION long __stdcall openDevice( long CardAddress );
FUNCTION void __stdcall closeDevice();
FUNCTION long __stdcall readAnalogChannel( long Channel );
FUNCTION void __... | [
"g0gjv@5aba93d0-1d48-0410-ab36-a573633a0585"
] | g0gjv@5aba93d0-1d48-0410-ab36-a573633a0585 |
b817a2133cc9cda90d94882bc4ef59e4c04e00fb | 62ae8fb67d5d0e1c8cbe013fd2c2e634c558dfab | /rootex/framework/components/visual/light/static_point_light_component.cpp | ee3458c36640b635254a4d64142933d4753cadbd | [
"MIT"
] | permissive | cappah/Rootex | 447583672ab19799703fc9973c079f96003c8818 | 8a20e88e1e31b492050dcf119a5956113add3408 | refs/heads/master | 2023-03-16T09:06:26.709774 | 2021-03-19T16:56:35 | 2021-03-19T16:56:35 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,123 | cpp | #include "static_point_light_component.h"
#include "systems/render_system.h"
Ptr<Component> StaticPointLightComponent::Create(const JSON::json& componentData)
{
return std::make_unique<StaticPointLightComponent>(
componentData.value("attConst", 0.045f),
componentData.value("attLin", 1.0f),
componentDa... | [
"wtwarit@gmail.com"
] | wtwarit@gmail.com |
9db61f167b06fcaad8998dd0370511b3fdcaf1bc | 524591f2c4f760bc01c12fea3061833847a4ff9a | /arm/usr/include/arm-linux-gnueabihf/qt5/QtConcurrent/qtconcurrentcompilertest.h | 5cd47ef9f6c92ea782a83541e7a5fee6b90028e5 | [
"BSD-3-Clause"
] | permissive | Roboy/roboy_plexus | 6f78d45c52055d97159fd4d0ca8e0f32f1fbd07e | 1f3039edd24c059459563cb81d194326fe824905 | refs/heads/roboy3 | 2023-03-10T15:01:34.703853 | 2021-08-16T13:42:54 | 2021-08-16T13:42:54 | 101,666,005 | 2 | 4 | BSD-3-Clause | 2022-10-22T13:43:45 | 2017-08-28T16:53:52 | C++ | UTF-8 | C++ | false | false | 2,113 | h | /****************************************************************************
**
** Copyright (C) 2015 The Qt Company Ltd.
** Contact: http://www.qt.io/licensing/
**
** This file is part of the QtCore module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL21$
** Commercial License Usage
** Licensees holding valid commer... | [
"simon.trendel@tum.de"
] | simon.trendel@tum.de |
e45c63c1e41c695763ef0ce53adf067ddf0fb92e | 8154eca670c979874d99ce9dc07d2051e428c256 | /src/wallet/context.cpp | 8b52e90cdfc6ab8abb5b223a9d4ef8050b76e41e | [
"LicenseRef-scancode-unknown-license-reference",
"Apache-2.0"
] | permissive | pocketnetteam/pocketnet.core | f7e9a7f1589fb71de39214013475abe6e6a68fd2 | 1bdbbc306285be11f11998827ef26b16d47d7643 | refs/heads/0.21 | 2023-08-31T03:22:50.870853 | 2023-06-13T09:28:13 | 2023-06-13T09:28:13 | 172,682,555 | 111 | 32 | Apache-2.0 | 2023-09-11T04:11:07 | 2019-02-26T09:43:47 | C++ | UTF-8 | C++ | false | false | 291 | cpp | // Copyright (c) 2020 The Pocketcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <wallet/context.h>
WalletContext::WalletContext() {}
WalletContext::~WalletContext() {}
| [
"andrew300399@gmail.com"
] | andrew300399@gmail.com |
a5aa63b5b7fac6896cb2ae866c7d247390df1735 | a1cc22bafb4429b53898962b1131333420eddf05 | /cmdstan/stan/lib/stan_math/test/prob/exp_mod_normal/exp_mod_normal_cdf_log_test.hpp | 699bf49b5f5f6e9d6601963ff72492256b0a731e | [
"LicenseRef-scancode-unknown-license-reference",
"GPL-2.0-only",
"Apache-2.0",
"BSD-3-Clause",
"GPL-3.0-only"
] | permissive | metrumresearchgroup/Torsten | d9510b00242b9f77cdc989657a4956b3018a5f3a | 0168482d400e4b819acadbc28cc817dd1a037c1b | refs/heads/master | 2023-09-01T17:44:46.020886 | 2022-05-18T22:46:35 | 2022-05-18T22:46:35 | 124,574,336 | 50 | 18 | BSD-3-Clause | 2023-09-09T06:32:36 | 2018-03-09T17:48:27 | C++ | UTF-8 | C++ | false | false | 2,641 | hpp | // Arguments: Doubles, Doubles, Doubles, Doubles
#include <stan/math/prim.hpp>
using stan::math::var;
using std::numeric_limits;
using std::vector;
class AgradCdfLogExpModNormal : public AgradCdfLogTest {
public:
void valid_values(vector<vector<double> >& parameters,
vector<double>& cdf_log) {
... | [
"yzhang@c-path.org"
] | yzhang@c-path.org |
5d56fdde9315b9e743d2371e48485f0447877e88 | 5cb35ecbc0d1779b0d26fe38b5a155818df68fa0 | /main.cpp | 0a3055e4e6fc5d039f9487dfe29d333237428ef4 | [] | no_license | lawalton/Arsenian_CSCI2270_FinalProject1 | 96a2a6a53ab9491218eb0b4cacdfa4430c2e877e | 9ab09ad78b07888bf778ef3eea14c556bfc1c19c | refs/heads/master | 2021-01-16T22:18:45.127239 | 2016-04-27T22:36:48 | 2016-04-27T22:36:48 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,508 | cpp | #include <iostream>
#include <stdlib.h>
#include "Dictionary.h"
using namespace std;
int main()
{
string response;
int numResponse;
string word;
string definition;
Dictionary words;
while (true)
{
cout << "======Main Menu======"<<endl;
cout<<"1. Insert word"<<endl;
... | [
"avsenian97@gmail.com"
] | avsenian97@gmail.com |
4079721837bf8447313ca56ccc32fd079473073a | 36bf908bb8423598bda91bd63c4bcbc02db67a9d | /Include/CPropertyPageList.h | 1f910cc9def0dcb8f9ffc4497140bb5f208a603e | [] | no_license | code4bones/crawlpaper | edbae18a8b099814a1eed5453607a2d66142b496 | f218be1947a9791b2438b438362bc66c0a505f99 | refs/heads/master | 2021-01-10T13:11:23.176481 | 2011-04-14T11:04:17 | 2011-04-14T11:04:17 | 44,686,513 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,139 | h | /*
CPropertyPageList.h
Luca Piergentili, 14/07/99
lpiergentili@yahoo.com
*/
#ifndef _CPROPERTYPAGELIST_H
#define _CPROPERTYPAGELIST_H 1
#include "window.h"
#include "CNodeList.h"
/*
PROPERTYPAGE
struttura per la pagina
*/
struct PROPERTYPAGE {
public:
PROPERTYPAGE(int idd = -1,void* page = (voi... | [
"luca.pierge@gmail.com"
] | luca.pierge@gmail.com |
29e7f2cbe8ee440ca118d035491bff2f67199146 | 864a08e27eae71c6f94ebec02e82b18a198a1daa | /include/robot_model_services/helper/MapHelper.hpp | d0358262c36c724ac716667c2c24c90cc320a7e9 | [
"BSD-2-Clause"
] | permissive | asr-ros/asr_robot_model_services | f0980fa72a77e9a372d3985ef9eeabb1247e1153 | 93fe96abd31bbf3fe2bd0533ac35267cd6613f2f | refs/heads/master | 2021-01-18T18:04:48.412453 | 2017-10-02T10:41:55 | 2017-10-02T10:41:55 | 73,503,278 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 17,166 | hpp | /**
Copyright (c) 2016, Aumann Florian, Borella Jocelyn, Heller Florian, Meißner Pascal, Schleicher Ralf, Stöckle Patrick, Stroh Daniel, Trautmann Jeremias, Walter Milena, Wittenbeck Valerij
All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided th... | [
"felixmarek93@googlemail.com"
] | felixmarek93@googlemail.com |
a78b7e00bf3d6e7ec56b8218610828e85955cf5e | 3ad968797a01a4e4b9a87e2200eeb3fb47bf269a | /Guide to Windows95 NT Programming with MFC/CHAP19/CTRLBAR1/CTRLBAR1.H | c1df4d2967ad53aa09b05e72ce3c1f1edce8dd10 | [] | no_license | LittleDrogon/MFC-Examples | 403641a1ae9b90e67fe242da3af6d9285698f10b | 1d8b5d19033409cd89da3aba3ec1695802c89a7a | refs/heads/main | 2023-03-20T22:53:02.590825 | 2020-12-31T09:56:37 | 2020-12-31T09:56:37 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,704 | h | ///////////////////////////////////////////////////////////////////
// Header : CTRLBAR1.H
//
// Purpose : Header for the CTRLBAR1 program.
//
// Author : Rob McGregor, rob_mcgregor@compuserve.com
//
// Date : 06-08-96
///////////////////////////////////////////////////////////////////
// Custom frame... | [
"pkedpekr@gmail.com"
] | pkedpekr@gmail.com |
53511a9bab44a77cfd7951c16ca8f2549409f165 | 4c5a062f685a7a992eb2462e5c540e863c8c04d9 | /11.cpp | f68ac6ef0e11effc9f3747210543b0ebda174fc6 | [] | no_license | klsjz/test | 741021676b5b522a99040d5a6c672bba9a69b621 | 71b4a291fa5a7ba22c0c77332a607ac99d4b6863 | refs/heads/master | 2020-08-07T13:51:05.458079 | 2015-11-01T20:40:48 | 2015-11-01T20:40:48 | 37,062,204 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 296 | cpp | #include<iostream>
#include<vector>
using namespace std;
int peaknum(vector<int>&num)
{
for(int i=0;i<num.size();i++)
if(num[i]>num[i-1]&&num[i]>num[i+1])
return i;
}
int main()
{
int n[2]={1,2};
vector<int>num(n,n+2);
num[-1]=-100;
num[2]=-100;
cout<<peaknum(num)<<endl;
return 0;
}
| [
"sunjinzhou309@163.com"
] | sunjinzhou309@163.com |
61efc4e92ed349d1b1fb6ca6d8d0f0dc364407f1 | d37b01762c2333a2d731e90bb9010de39e561154 | /2048/SDL_utils.cpp | a00ebdc1f3ceac34c33f0d51e26b1e3e92080011 | [] | no_license | BanhMinh/game2048_SDL_C- | 88cf64c25c802b3c537a8eabaf35978afed94775 | bd57b4881ea394d1cc7ca527285578fbd8047834 | refs/heads/master | 2020-05-17T17:39:59.334928 | 2019-04-28T05:23:40 | 2019-04-28T05:23:40 | 183,860,701 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,283 | cpp | #include "SDL_utils.h"
SDL_Surface* g_screen = NULL;
SDL_Surface* g_background = NULL;
SDL_Surface* g_screenStart = NULL;
SDL_Surface* g_rank = NULL;
SDL_Surface* g_guide = NULL;
SDL_Surface* g_gameOver = NULL;
SDL_Surface* g_object2 = NULL;
SDL_Surface* g_object4 = NULL;
SDL_Surface* g_object8 = NULL;
SDL_Surface* g_... | [
"minhbd@fimo.edu.vn"
] | minhbd@fimo.edu.vn |
a9636bb84483b156a67b0864a701f38bc6ecf96c | 77bfb7914b7981beddab79aa42e124be13ed36c0 | /cpp/encryption/ende/useless/qhjk.cpp | 3015474a146317a511d64e64dc05e370fe41848b | [] | no_license | WarrenWFu/Testing-Programs | 538339c55b891f7066a05ea663003b74fac18dbc | d99dddc314fb695faff5f610615103baa525e2c4 | refs/heads/master | 2021-06-11T03:25:07.980400 | 2020-03-07T03:16:02 | 2020-03-07T03:17:53 | 90,715,555 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,352 | cpp | /*******************************************************************************
*
* author:Warren Fu
* date:
* description:
*
*******************************************************************************/
#include <iostream>
#include <string>
#include <cstring>
#include <base/toolkit.hpp>
#include <base/membuff... | [
"FYM"
] | FYM |
2ebed780d6ddc19ac54a11719f2c749c80bea32c | bd1fea86d862456a2ec9f56d57f8948456d55ee6 | /000/081/014/CWE134_Uncontrolled_Format_String__wchar_t_console_vfprintf_81.h | 238845ec5d65d3f92ec0b5c446aacf2b2ada71b7 | [] | no_license | CU-0xff/juliet-cpp | d62b8485104d8a9160f29213368324c946f38274 | d8586a217bc94cbcfeeec5d39b12d02e9c6045a2 | refs/heads/master | 2021-03-07T15:44:19.446957 | 2020-03-10T12:45:40 | 2020-03-10T12:45:40 | 246,275,244 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,626 | h | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE134_Uncontrolled_Format_String__wchar_t_console_vfprintf_81.h
Label Definition File: CWE134_Uncontrolled_Format_String.vasinks.label.xml
Template File: sources-vasinks-81.tmpl.h
*/
/*
* @description
* CWE: 134 Uncontrolled Format String
* BadSource: console Read input... | [
"frank@fischer.com.mt"
] | frank@fischer.com.mt |
381e3abb5ac83b2c80ef63df99ee2d3db9005a2b | ae29b82006fff1074c85cc0c4ce85ac6efdf3fcd | /KMPsearch.cpp | e57593cd2b19e40e0ae32c8b3d6d1a235db8a1cf | [] | no_license | GangsterAnt/Useful-Functions | 719c814c0d6477d665bbe5aa5fc97ad2b4662a02 | 9f571b3819d3298917ecb8c56a10ca1a78dc8e2a | refs/heads/master | 2020-12-29T15:08:57.921649 | 2020-09-13T00:42:40 | 2020-09-13T00:42:40 | 238,648,627 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,005 | cpp | #include<vector>
#include<string>
#include<iostream>
using namespace std;
vector<int> getPartialMatch(const string & N)
{
int m = N.size();
vector<int> pi(m, 0);
int begin = 1;
int matched = 0;
while( begin + matched < m)
{
if (N[begin + matched] == N[matched])
{
++matched;
pi[begin+matched-1 ]=matc... | [
"noreply@github.com"
] | GangsterAnt.noreply@github.com |
62e19f44b5fd33ede7d9298a840fb174a6ccf651 | 04b1803adb6653ecb7cb827c4f4aa616afacf629 | /third_party/blink/renderer/core/editing/iterators/text_searcher_icu_test.cc | c0c01cf9d53105f1d21d9326927b7a2ea292a91a | [
"LGPL-2.0-or-later",
"GPL-1.0-or-later",
"MIT",
"Apache-2.0",
"LicenseRef-scancode-warranty-disclaimer",
"LGPL-2.1-only",
"GPL-2.0-only",
"LGPL-2.0-only",
"BSD-2-Clause",
"LicenseRef-scancode-other-copyleft",
"BSD-3-Clause"
] | permissive | Samsung/Castanets | 240d9338e097b75b3f669604315b06f7cf129d64 | 4896f732fc747dfdcfcbac3d442f2d2d42df264a | refs/heads/castanets_76_dev | 2023-08-31T09:01:04.744346 | 2021-07-30T04:56:25 | 2021-08-11T05:45:21 | 125,484,161 | 58 | 49 | BSD-3-Clause | 2022-10-16T19:31:26 | 2018-03-16T08:07:37 | null | UTF-8 | C++ | false | false | 3,666 | cc | // Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "third_party/blink/renderer/core/editing/iterators/text_searcher_icu.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/bli... | [
"sunny.nam@samsung.com"
] | sunny.nam@samsung.com |
5258c59d1c94524f23bce98d7bb5452f9fb19633 | 2ea25e30607687b4ec2c2188a533675f83c3b012 | /exercise1/oglwidget.h | 8e13f2d3d079de60620403b28c69729567d9f842 | [] | no_license | Jesse95/cg | 5dbf5d9ff872685a344f310cca2309945ff7f12b | 381bfd64b43c9a1e974568f8491031d770955de6 | refs/heads/master | 2020-03-11T03:57:31.204178 | 2018-04-16T15:18:36 | 2018-04-16T15:18:36 | 129,763,637 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 687 | h | #ifndef OGLWIDGET_H
#define OGLWIDGET_H
#include <QOpenGLWidget>
#include <QOpenGLFunctions>
#include <QTimer>
#include <vector>
#include <string>
#include <iostream>
#include <iomanip>
#include <fstream>
#include "vertex.h"
#include "quad.h"
using namespace std;
class OGLWidget : public QOpenGLWidget,
... | [
"jasser.saad@hotmail.com"
] | jasser.saad@hotmail.com |
d8a7b9345e2c51c10194d9937c950d966c308e01 | a3fdc844b434e2f7546156d705aa9dd07dc14a41 | /C++ How to program/chapter 2/2.24.cpp | 93935afc26b0eac68948b2b2f20c1c5c67b256bc | [] | no_license | isabuhi/CPlusPlusForProgrammers | b04a6355758331c133fcd269de52849b9374f2fe | 6e3ccb0d41d620bef900d0396e09e60ffdee9781 | refs/heads/main | 2023-07-13T05:46:11.269210 | 2021-08-16T12:02:57 | 2021-08-16T12:02:57 | 363,443,627 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 382 | cpp | #include <iostream>
using namespace std;
int main () {
int a = 0;
int b = 0;
cout << "Enter two integers: ";
cin >> a >> b;
if (a % 2 == 0)
cout << a << " is even." << endl;
else
cout << a << " is odd." << endl;
if (b % 2 == 0)
cout << b << " is even."... | [
"60845648+isabuhi@users.noreply.github.com"
] | 60845648+isabuhi@users.noreply.github.com |
04de32eac240490a3c6dd888e1e186ea9b7e7acc | 96796bf99ecb822d5f105d2de7085a087980a036 | /Lib/MSPDebugStack/DLL430_v3/src/TI/DLL430/ArmSpecialFlashMemoryAccess.cpp | 6782585b375378736b1d6854f7afca8301a9ec3f | [
"LicenseRef-scancode-public-domain"
] | permissive | imammashur/MSPFETSim | bf04152e20c7be3a71b25a18eda2946de5251b3a | 1313eedd83d93687b1ea8d2233cea8470cf86769 | refs/heads/master | 2023-09-02T03:15:27.132271 | 2021-11-14T03:07:00 | 2021-11-14T03:07:00 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,855 | cpp | /*
* ArmSpecialMemoryAccess.cpp
*
* Memory class for accessing flash memory.
*
* Copyright (C) 2007 - 2011 Texas Instruments Incorporated - http://www.ti.com/
*
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions... | [
"dave@heytoaster.com"
] | dave@heytoaster.com |
6f9dc41b5753016097ac2df9b5861e91e6503c6d | 7f517092457fc3384cb027efc070c1c5dcd7a246 | /thread_library/global.h | 1c912865989058343159724ccd80dae7a20067a8 | [] | no_license | zeroAska/sample_code | 5aa961b087836b1dfd254076fd3119445b2651c1 | 96f96855187d7274672eae76834a74302cd24b04 | refs/heads/master | 2021-01-25T07:07:13.322515 | 2018-02-28T04:02:38 | 2018-02-28T04:02:38 | 80,700,802 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,642 | h | #ifndef _GLOBAL_H
#define _GLOBAL_H
#include <ucontext.h>
#include <map>
#include <list>
#include "thread.h"
// #define DEBUG
// macro
// mutex, CPU
#define BUSY false
#define FREE true
// thread
#define READY 0
#define WAIT 1
#define RUN 2
#define DIE 3
typedef int thread_id_t;
typedef int thread_status_t;
exter... | [
"trotwoodray@gmail.com"
] | trotwoodray@gmail.com |
24936d5436c8aacefd238ce884fa9bb426b16a49 | 9802284a0f2f13a6a7ac93278f8efa09cc0ec26b | /SDK/School_Backpack_boy_01_classes.h | 98dd654d84c4381f4ee15e16d03b1d7e32bc9b97 | [] | no_license | Berxz/Scum-SDK | 05eb0a27eec71ce89988636f04224a81a12131d8 | 74887c5497b435f535bbf8608fcf1010ff5e948c | refs/heads/master | 2021-05-17T15:38:25.915711 | 2020-03-31T06:32:10 | 2020-03-31T06:32:10 | 250,842,227 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 667 | h | #pragma once
// Name: SCUM, Version: 3.75.21350
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
namespace SDK
{
//---------------------------------------------------------------------------
// Classes
//---------------------------------------------------------------------------
// BlueprintGeneratedClass School_Bac... | [
"37065724+Berxz@users.noreply.github.com"
] | 37065724+Berxz@users.noreply.github.com |
c018f500d5935156e847aca08c8c57b42393cfde | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/curl/gumtree/curl_repos_function_147_curl-7.51.0.cpp | d58993cb0ba2f167e44b91194d0863162df62b58 | [] | no_license | niuxu18/logTracker-old | 97543445ea7e414ed40bdc681239365d33418975 | f2b060f13a0295387fe02187543db124916eb446 | refs/heads/master | 2021-09-13T21:39:37.686481 | 2017-12-11T03:36:34 | 2017-12-11T03:36:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 789 | cpp | int main(void)
{
CURL *curl;
CURLcode res = CURLE_OK;
curl = curl_easy_init();
if(curl) {
/* Set username and password */
curl_easy_setopt(curl, CURLOPT_USERNAME, "user");
curl_easy_setopt(curl, CURLOPT_PASSWORD, "secret");
/* This is just the server URL */
curl_easy_setopt(curl, CURLOPT_U... | [
"993273596@qq.com"
] | 993273596@qq.com |
6f73926c1e2bad46349bdba85f8b06239ac3e79f | 1d5ab78f83b9eb0f0bdab6a40e1be1d81103110a | /src/MyServoProject/MyServoProject/MyServoProject.ino | d6e0b96a1a6c5c8a716b4dddcfb57ab5cb194754 | [] | no_license | turkycat/rpi_validations | 97910aa3f03c4b28e2efca480f1ca77e44292afa | f2401ad83b905a8b5233cd12b53e46615a7bc549 | refs/heads/master | 2020-12-14T07:20:18.787418 | 2015-11-04T22:25:53 | 2015-11-04T22:26:34 | 43,098,019 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,864 | ino | #include <Servo.h>
Servo myservo; // create servo object to control a servo
int delayAmount = 2000; // used for spacing out calls
int pin = GPIO_5; // the pin that the Servo is on
//void setup()
//{
// myservo.attach( pin ); // attaches the servo on pin to the servo obj... | [
"jesse.frush@gmail.com"
] | jesse.frush@gmail.com |
041ce94a23d7a4126697981dd166196e61d7b750 | 560b050a054abd3844b72b2a568d6be8d3f6b07f | /UVa/11631 - Dark roads.cpp | bf2637c21c639b588f2584fb94b2fd3e04799a27 | [] | no_license | ShadyF/Competitive-Programming-Problems | f722949734c1c1b66b9ba2e7108aae345d995a8d | 940b4ed9adb4c09a875e150531e30c4ec94d03a7 | refs/heads/master | 2021-01-14T14:11:21.801802 | 2016-09-24T00:23:56 | 2016-09-24T00:23:56 | 53,210,089 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,631 | cpp | #include <iostream>
#include <vector>
#include <algorithm>
using namespace std;
class UnionFind
{
vector<int> p, rank;
public:
explicit UnionFind(int N)
{
rank.assign(N, 0);
p.assign(N, 0);
for (int i = 0; i < N; i++) p[i] = i;
}
int findSet(int i)
{ return ( p[i] == ... | [
"noreply@github.com"
] | ShadyF.noreply@github.com |
a004fe865a2f342dc5a94e6cd305fbdca02771a5 | 35c836ed4b443a8f2a5076edf25e8a00b1b93203 | /WebKit2-7606.2.104.1.1/WebKit2-7606.2.104.1.1/Shared/CoordinatedGraphics/CoordinatedGraphicsScene.h | c5bcb5064ed7065cf09fec826bf0c07528e50e01 | [
"MIT"
] | permissive | mlcldh/appleWebKit2 | e3260c49e7bf82bf70617841868af81fc32c5d9f | 39cc42a4710c9319c8da269621844493ab2ccdd6 | refs/heads/master | 2021-06-12T05:52:05.942098 | 2021-05-27T07:27:38 | 2021-05-27T07:27:38 | 190,697,531 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,278 | h | /*
Copyright (C) 2012 Nokia Corporation and/or its subsidiary(-ies)
Copyright (C) 2013 Company 100, Inc.
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
License as published by the Free Software Foundation; either
version... | [
"1228225993@qq.com"
] | 1228225993@qq.com |
4ed40a39fd546f6a46496d9f86022b4e22578b76 | 08b8cf38e1936e8cec27f84af0d3727321cec9c4 | /data/crawl/git/new_hunk_263.cpp | e8a9cbdad23e75d37637c44b0e14e2c2e3b98217 | [] | no_license | ccdxc/logSurvey | eaf28e9c2d6307140b17986d5c05106d1fd8e943 | 6b80226e1667c1e0760ab39160893ee19b0e9fb1 | refs/heads/master | 2022-01-07T21:31:55.446839 | 2018-04-21T14:12:43 | 2018-04-21T14:12:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 633 | cpp | strbuf_addstr(&template, "XXXXXX_");
strbuf_addstr(&template, base);
temp->tempfile = mks_tempfile_ts(template.buf, strlen(base) + 1);
if (!temp->tempfile)
die_errno("unable to create temp-file");
if (convert_to_working_tree(path,
(const char *)blob, (size_t)size, &buf)) {
blob = buf.buf;
size = buf.len;... | [
"993273596@qq.com"
] | 993273596@qq.com |
a4e167a5021be0d1cfe3a440c2c7616dde8d200a | 7f1459d6686e50adf683d773c81578af04a789f1 | /src/synth.cpp | 2a0537e8f8a0ca63b7027afbbaf90fe6a27fea16 | [] | no_license | 2552Software/myMusic | 53b40cfaa03606a3651fee6eee7fe02494e28fbc | 0c93fedf948004dba0d51aae75a497b5d14e4052 | refs/heads/master | 2020-03-25T21:33:51.817471 | 2018-12-19T21:22:31 | 2018-12-19T21:22:31 | 144,180,124 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,057 | cpp |
#include "synth.h"
void PolySynth::setup(int numVoices ){
voices.resize( numVoices );
for( size_t i=0; i<voices.size(); ++i ){
voices[i].setup( *this, i );
}
ui.setName("synth parameters");
ui.add(pw.set("pulse width", 0.5f, 0.0f, 1.0f) );
ui.add(pwmAmt.set("pwm amoun... | [
"mark.shavlik@shavlik.us"
] | mark.shavlik@shavlik.us |
a9b4a40b8a01ad1f388a01ac576cae8eaa740294 | 6230f26d35774e26c29e0ed40c7100da515ab158 | /src/qt/walletview.cpp | 783d371b9db17b33d6db433cf08f8459d4077206 | [
"MIT"
] | permissive | CoinAge-DAO/solari | 5dc8e8f064a7a9bacbbf090d1e618bd8ad7a7464 | 2d6cdf02c9a9e5ceb4f72364f81fce4c34e6c856 | refs/heads/master | 2020-05-18T00:02:41.459253 | 2015-04-11T18:50:01 | 2015-04-11T18:50:01 | 33,024,449 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,249 | cpp | // Copyright (c) 2011-2013 The Bitcoin Core Developers
// Copyright (c) 2015 Solarminx
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "walletview.h"
#include "addressbookpage.h"
#include "askpassphrasedialog.h"
#inclu... | [
"chandradas@Chandras-MacBook-Air.local"
] | chandradas@Chandras-MacBook-Air.local |
7fa5b837c5ccd99cae6210c80cd60d4504dfed2a | 7afe2e7bd1d3eac81d31ec258479015bf0d1439f | /librvcbitmap/shapes.cpp | 568a189a383e59f64402247b0bf535cde3514a61 | [
"MIT"
] | permissive | rvcgeeks/librvcbitmap | 6c07b9e737008f335cba6aa9cc7ed086865d32b4 | 2409d25500e24b3798fc0c348310b554c99577dc | refs/heads/master | 2020-09-05T09:41:55.202209 | 2019-11-06T19:10:25 | 2019-11-06T19:10:25 | 220,060,830 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,568 | cpp | /* ___________________________________________________________
* ____________<<<___#_R_V_C_G_E_E_K_S___>>>__________________
* CREATED BY #RVCGEEKS @PUNE for more rvchavadekar@gmail.com
*
* #RVCGEEKS bitmap library -- include header file
* some functions for pixel modification,image creation,etc...
*
*/
//_____... | [
"noreply@github.com"
] | rvcgeeks.noreply@github.com |
9879ad1a0e9b8e2d7201f01073e2deb7d395bdfe | 93a80be050fdc3312bc892f74d7ae861ab45237b | /simulator/cache.h | 23c0f643271cb75afe58e714a0da7521c2e79dee | [] | no_license | hwiceberg/MIPS_simulator-1 | 024986ce162dbd671ec43ab4abf4a6527081b4af | b8298919e12c0a7f43a339a832bb11a35996097e | refs/heads/master | 2020-05-29T12:19:27.748293 | 2016-05-28T20:26:18 | 2016-05-28T20:26:18 | 67,165,100 | 0 | 0 | null | 2016-09-01T20:46:10 | 2016-09-01T20:46:07 | C++ | UTF-8 | C++ | false | false | 1,084 | h | //
// cache.h
// MIPS_Simulator
//
// Created by Wei Hong on 2/28/16.
// Copyright (c) 2016 com.wei. All rights reserved.
//
#ifndef __MIPS_Simulator__Cache__
#define __MIPS_Simulator__Cache__
#include "storage.h"
class Cache : public Storage {
Q_OBJECT
public:
Cache(int indexsize, int linesize, int way... | [
"tsun@cs.umass.edu"
] | tsun@cs.umass.edu |
03d8ba7db64711b35b2bc4d01d3f5745137ab211 | 8504986e506552feaa85a4c48eb4ed307aecdd69 | /test/cpu_core/arith.adc.cpp | f423f00d7912f4155cf94fc63ac837a79a4c3acd | [] | no_license | wbusacker/gameboyzero | 694868ce02a6b87d54a273e86473229e190505e3 | ce822f6cfb6a870b47c4b4982139274358df4101 | refs/heads/master | 2021-04-23T00:46:38.354375 | 2020-06-01T05:04:30 | 2020-06-01T05:04:30 | 249,884,902 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,200 | cpp | #include <cpu_core.h>
#include <gmock/gmock.h>
#include <gtest/gtest.h>
#include <irq_controller_mock.h>
#include <mbc1.h>
#include <memory_map_mock.h>
using namespace testing;
TEST(ARITH_ADC, ADC_A) {
Mock_Memory_Map bus(NULL, NULL);
Mock_Controller irq;
CPU::LR35902 core(bus, irq);
EXPECT_CALL(b... | [
"wllmbr@hotmail.com"
] | wllmbr@hotmail.com |
d235ff9aeb9477956d69ddb4ebbc438ce1a0ea6d | 94146da4b034fe6df42a5c5783d0e2cde39d96ef | /zeroJudge/d785.cpp | a4237dc030197333a5361199a7baee199f8b91db | [] | no_license | gitqwerty777/Online-Judge-Code | f9fac8227b1b522d15a318a60a82d287fdc04755 | 5d7e62a1ff62d5f079b5db6b21e9a1acdfc6f15b | refs/heads/master | 2022-05-14T16:17:44.452807 | 2017-12-23T04:16:19 | 2017-12-23T04:16:19 | 16,976,298 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,053 | cpp | #include <iostream>
#include <sstream>
#include <algorithm>
#include <vector>
#include <cstdio>
#include <cstring>
using namespace std;
int Input(){
char cha;
int x=0;
while(cha=getchar())
if(cha >= 48 && cha < 58) break;
x=cha-48;
while(cha=getchar()) {
if(cha < 48 || ... | [
"goohcl777@gmail.com"
] | goohcl777@gmail.com |
0527765bef4f8edb9bb0637eabd09f3f622380d1 | e0db831d847e00ccb577df3a758151b072405e1b | /Remove-Nth-Node-From-End-of-List/test.cpp | d435744286f5d85dce483bf31223a137077d0f62 | [] | no_license | dariuskylin/leetcode | dc5c187f6e68bd3b97af68d5dfbec869721b237c | f6b005663de7045294930b49e66789ca75a36d46 | refs/heads/master | 2016-09-06T11:43:57.938963 | 2015-05-30T04:52:01 | 2015-05-30T04:52:01 | 13,622,042 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,440 | cpp | /*Copyright 2012 NDSL. All Rights Reserved.
* =====================================================================================
* Filename: test.cpp
* Description:
* Version: 1.0
* Created: 11/12/2013 01:57:52 AM
* Author: dongyuchi (dongyuchi), dongyuchi@gmail.com
* ... | [
"dongyuchi@gmail.com"
] | dongyuchi@gmail.com |
cbab14013359694869aef55774a7a0a07fa5cec9 | 903071a39b9fb8b20ddb18a452a4f158a8a0e58c | /Arduino(Master)/SPI_Master_PSOC4_Slave/SPI_Master_PSOC4_Slave.ino | 5fb2739da84bc932970d027232e5508154e11fee | [] | no_license | ryood/PSoC4_SPI_Slave_Test | 80610565b4d564f696aa0c4bd0f029fd78c15da2 | 117d3056538b2a8a00a887811cb3721af449a018 | refs/heads/master | 2021-01-01T04:01:34.374175 | 2016-06-03T01:12:39 | 2016-06-03T01:12:39 | 58,341,243 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,322 | ino | /*
SPI_Master_PSOC4_Slave.c
Master for PSoC 4 SPI Slave
SCK pin13
MISO pin12
MOSI pin11
SS pin10
2016.05.09
*/
#include <SPI.h>
// set pin 10 as the slave select for the digital pot:
const int slaveSelectPin = 10;
#define TX_PACKET_SIZE 3
#define RX_PACKET_SIZE 3
void setup() {
// set the ... | [
"kawanabe@gmail.com"
] | kawanabe@gmail.com |
dfc96fe0eeeb528f0bab4f7488b015a86e087f03 | b11b033e1e03583c373e074b7423a7886fb83c53 | /RTS_Foundation.Core/Framework/PositionClass.h | 4c6676af1951b3a2dd2c23783630c877ddc08e59 | [] | no_license | gregoryfikator/RTS_Foundation | 2241a9ddd4e704e4565ce0afd1c254a817caee2f | 6df9e8508a4b5f376410104986db47b1effa133c | refs/heads/main | 2023-03-07T19:06:53.147380 | 2021-02-24T12:47:02 | 2021-02-24T12:47:02 | 341,894,559 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 961 | h | #pragma once
#ifndef _POSITIONCLASS_H_
#define _POSITIONCLASS_H_
#include <math.h>
#include "Helpers/MathHelperClass.h"
class PositionClass
{
public:
PositionClass();
~PositionClass();
void SetFrameTime(float);
void SetPosition(float, float, float);
void SetRotation(float, float, float);
void GetPosition(fl... | [
"vipgregor@onet.eu"
] | vipgregor@onet.eu |
00e6688f831134c22930ca65a96ce198c5c5d3bc | 23e393f8c385a4e0f8f3d4b9e2d80f98657f4e1f | /Win32 Programming/Win32API/ControlExplorer/Effects.cpp | 8ae014a0def3933b5e1b4ed510286f2db8264ac3 | [] | no_license | IgorYunusov/Mega-collection-cpp-1 | c7c09e3c76395bcbf95a304db6462a315db921ba | 42d07f16a379a8093b6ddc15675bf777eb10d480 | refs/heads/master | 2020-03-24T10:20:15.783034 | 2018-06-12T13:19:05 | 2018-06-12T13:19:05 | 142,653,486 | 3 | 1 | null | 2018-07-28T06:36:35 | 2018-07-28T06:36:35 | null | UTF-8 | C++ | false | false | 4,562 | cpp | // Effects.cpp : implementation file
//
#include "stdafx.h"
#include "ControlExplorer.h"
#include "ixable.h"
#include "msglog.h"
#include "loggable.h"
#include "intedit.h"
#include "tinybutt.h"
#include "ComboOps.h"
#include "Effects.h"
#include "Is95.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS... | [
"wyrover@gmail.com"
] | wyrover@gmail.com |
4618335b42e998875c4ee966956071aa35855e56 | b27eee5a607d81c6e46ad47c8496b20457a11452 | /Baekjoon/CPP/3709.cpp | 9a17e954ce082ccdad472750bdfaed6d97b2a030 | [] | no_license | hyunstory/CodingTestPractice | 901298987da74eb62640d6d3b28f8b19ac3a26d0 | 6556f78a4e2339556986c2f55e4095ba0835fba4 | refs/heads/main | 2023-03-30T12:19:38.875332 | 2021-03-24T13:22:19 | 2021-03-24T13:22:19 | 317,512,669 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,178 | cpp | #include <iostream>
#include <cstring>
using namespace std;
enum {
MAX = 51
};
int T, N, R;
int raiser_x;
int raiser_y;
bool mirror[MAX][MAX];
short dir;
int dx[] = { 0, 1, 0, -1 };
int dy[] = { 1, 0, -1, 0 };
bool inSpace(int x, int y) {
if (1 <= x && x <= N && 1 <= y && y <= N)return true;
else return f... | [
"hoon00917@naver.com"
] | hoon00917@naver.com |
eb7965a1a88c1506afbfe54ba6aff659c2ee1818 | ba9322f7db02d797f6984298d892f74768193dcf | /scdn/include/alibabacloud/scdn/model/DescribeScdnRefreshQuotaResult.h | b1f65dd356946a17dce3d6804e2851cf3f14021b | [
"Apache-2.0"
] | permissive | sdk-team/aliyun-openapi-cpp-sdk | e27f91996b3bad9226c86f74475b5a1a91806861 | a27fc0000a2b061cd10df09cbe4fff9db4a7c707 | refs/heads/master | 2022-08-21T18:25:53.080066 | 2022-07-25T10:01:05 | 2022-07-25T10:01:05 | 183,356,893 | 3 | 0 | null | 2019-04-25T04:34:29 | 2019-04-25T04:34:28 | null | UTF-8 | C++ | false | false | 1,917 | h | /*
* 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 |
01dd6e48493982b4292e1ea59df21f2aabb20b5c | 18b69b1fc11c00ac1bfc6cc267dea5c7adfe20a7 | /d02/ex00/Fixed.class.hpp | 85b3dd275b855464bbdab536504a042c748384b7 | [] | no_license | ArtemisKS/Piscine_CPP | e6344a3c386b431e5c6eb2fedc9ed16b8f9530ca | 83881e01fb391ef70e58858e9716923ae75ebaac | refs/heads/master | 2020-04-09T07:09:48.963450 | 2018-12-03T06:33:42 | 2018-12-03T06:33:42 | 160,142,993 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,190 | hpp | // ************************************************************************** //
// //
// ::: :::::::: //
// Fixed.class.hpp :+: :+: :+: ... | [
"Artemkupriyanets@yahoo.com"
] | Artemkupriyanets@yahoo.com |
01fda3f93890373d34ce02b750974bfa01aa0270 | 6845dca05f86d9c8a20963a565d36116f04d1f82 | /Engine/Math/AABB.cpp | 6d140599ad04e7222ccdeb677a8c92daa2e738b6 | [] | no_license | thunderholt/callisto | c36ffc6c3d97983d2045461cbe1da6776f728ff9 | e1baa60828e48713bcf163d22d99a1a7ad067e85 | refs/heads/master | 2021-09-03T14:49:37.329569 | 2018-01-09T22:35:13 | 2018-01-09T22:35:13 | 105,659,824 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 733 | cpp | #include "Math/AABB.h"
void AABB::ClampPoint(Vec3* out, AABB* aabb, Vec3* point)
{
*out = *point;
if (point->x < aabb->from.x)
{
out->x = aabb->from.x;
}
if (point->y < aabb->from.y)
{
out->y = aabb->from.y;
}
if (point->z < aabb->from.z)
{
out->z = aabb->from.z;
}
if (point->x > aabb->to.x)
... | [
"andy.m.holt@gmail.com"
] | andy.m.holt@gmail.com |
0d796c90d4fe527acb44c31897c55935b9934dda | e3315929108cf4299cb5d9e4f93c1ecc4dca955a | /BinaryTree/BinaryTree.cpp | 68c19758dca3424aa0817a77c5723f1be8761912 | [] | no_license | vilchykau/Labs | e700f46d6257ad0df01cd3312ceae7fb1744a8c5 | ab4b4ed72feb30679eccee201b6505f92e75235b | refs/heads/master | 2020-08-17T07:51:36.304527 | 2019-11-19T07:21:20 | 2019-11-19T07:21:20 | 215,635,365 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 63 | cpp | //
// Created by stas on 23.10.19.
//
#include "BinaryTree.h"
| [
"donsgenii@gmail.com"
] | donsgenii@gmail.com |
350e5eef46830a4bbdf10012aefbfb1a78156e92 | d0c44dd3da2ef8c0ff835982a437946cbf4d2940 | /cmake-build-debug/programs_tiling/function14543/function14543_schedule_25/function14543_schedule_25.cpp | e8f8de7303bac860cf100f3a65f50f29547ea8ef | [] | no_license | IsraMekki/tiramisu_code_generator | 8b3f1d63cff62ba9f5242c019058d5a3119184a3 | 5a259d8e244af452e5301126683fa4320c2047a3 | refs/heads/master | 2020-04-29T17:27:57.987172 | 2019-04-23T16:50:32 | 2019-04-23T16:50:32 | 176,297,755 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,030 | cpp | #include <tiramisu/tiramisu.h>
using namespace tiramisu;
int main(int argc, char **argv){
tiramisu::init("function14543_schedule_25");
constant c0("c0", 512), c1("c1", 256), c2("c2", 512);
var i0("i0", 0, c0), i1("i1", 0, c1), i2("i2", 0, c2), i01("i01"), i02("i02"), i03("i03"), i04("i04"), i05("i05"), ... | [
"ei_mekki@esi.dz"
] | ei_mekki@esi.dz |
ae72d4b7e7eb6ce6650bf92949f5d6a22bc61cf4 | d31d744f62c09cb298022f42bcaf9de03ad9791c | /quantum/tensorflow_quantum/core/ops/tfq_simulate_state_op.cc | 467fd47379446bd4dbdbdd48274d5b52d85d8078 | [] | no_license | yuhuofei/TensorFlow-1 | b2085cb5c061aefe97e2e8f324b01d7d8e3f04a0 | 36eb6994d36674604973a06159e73187087f51c6 | refs/heads/master | 2023-02-22T13:57:28.886086 | 2021-01-26T14:18:18 | 2021-01-26T14:18:18 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,321 | cc | /* Copyright 2020 The TensorFlow Quantum 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 ... | [
"nateweiler84@gmail.com"
] | nateweiler84@gmail.com |
26dac0b082a39d7be0150ac9c9c4e4b285f73d77 | 16d5461cfe3431938929b98de82750fe37e28a1d | /Adafruit_RPM_test/Adafruit_RPM_test.ino | 1c54fc2b05eb0d796954693347f3d5d28799d887 | [] | no_license | curtwelch/Arduino | 6bde42b566639308b59531424955d6761cb8f10d | f1348a63804733885fdda8e3c98631d4fd25225f | refs/heads/master | 2021-01-20T02:44:21.681028 | 2017-04-27T15:05:07 | 2017-04-27T15:05:07 | 89,449,458 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,271 | ino | // Test the rpm setting of steppers on the Adafruit Motor Shield V2 driver software.
// There was a bad bug in the code due to the odd behavior of the Ardunio delayMicroseconds()
// function. My fixed version of the Adafruit code can be found here:
// https://github.com/curtwelch/Adafruit_Motor_Shield_V2_Library
//
//... | [
"curt@kcwc.com"
] | curt@kcwc.com |
d0073bba693a23c462947e27a1eb2969ea52500f | 1954c351980f8f1829beaf8f2d2f88032dc81849 | /include/StateMachine.hh | 428faf7c2cbeadcb5497d0e871b9cc139e860d45 | [
"Apache-2.0"
] | permissive | VincentWei/cell-phone-ux-demo | e219913d9032b20b4b2f221ddf8c55f05701191c | 1085ba798dafe4c32ca4cf8eb65f348c762c224e | refs/heads/master | 2023-01-09T16:56:42.756418 | 2022-09-15T03:17:54 | 2022-09-15T03:17:54 | 112,908,546 | 14 | 8 | null | null | null | null | UTF-8 | C++ | false | false | 4,849 | hh | ///////////////////////////////////////////////////////////////////////////////
//
// IMPORTANT NOTICE
//
// The following open source license statement does not apply to any
// entity in the Exception List published by FMSoft.
//
// For more information, please visit:
//
// https://www.fmsoft.... | [
"vincent@minigui.org"
] | vincent@minigui.org |
3642baab6ac23be2d1f438cba34e0df0f6f0d6b5 | 18d4703d6da7c2da424b5a973d56d5b38386e9c3 | /applications/Artisan/aArtisanESP/libraries/adcButton/adcButton.h | c7271c107473b328aaf2a7b5c56819f4e4b0ab05 | [] | no_license | renatoa/TC4-shield | c4ef70c2b29679f3bd479431f46e8b5ace1a5b74 | a97078f871bada3546bb4ad20276a4b73ca29b96 | refs/heads/master | 2021-11-13T09:17:05.475070 | 2021-11-02T07:13:13 | 2021-11-02T07:13:13 | 173,481,302 | 4 | 7 | null | 2019-03-02T18:02:05 | 2019-03-02T18:02:05 | null | UTF-8 | C++ | false | false | 4,479 | h | /*
* adcButton.h
*
* Created on: Sep 8, 2010
* Modified on: Dec 17-26, 2018
*/
// *** BSD License ***
// ------------------------------------------------------------------------------------------
// Copyright (c) 2010, MLG Properties, LLC
// All rights reserved.
//
// Contributor: Jim Gallt, Renato Aranghelovi... | [
"noreply@github.com"
] | renatoa.noreply@github.com |
09d673e16a5c5f581d56fb071925ff0f78567068 | 756a882b5ba2084075196caa9a78d9c7f659583e | /src/apps/Maps/styledialog.cpp | 20510619a68267a350045369f33980a2cf8ef9d1 | [
"MIT"
] | permissive | CartoType/CartoType-Public-7-4 | 744fe177bf01e9561676bb74038ae3737f006aed | 836deaa20ef0ac95998f4dbedd3cbecb0b138ce7 | refs/heads/master | 2023-08-25T11:19:26.614522 | 2021-09-24T13:42:56 | 2021-09-24T13:42:56 | 390,307,341 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,041 | cpp | #include "styledialog.h"
#include "ui_styledialog.h"
#include "styleitem.h"
#include "linestyledialog.h"
#include "polygonstyledialog.h"
#include "svgdialog.h"
#include "attributedialog.h"
#include "util.h"
#include <QPushButton>
StyleDialog::StyleDialog(QWidget *aParent, CartoType::CFramework& aFramework,const std::s... | [
"graham@cartotype.com"
] | graham@cartotype.com |
35aee69ed06c13dd1f6b530461d10fc850b2ddd3 | 88a3ff5a9adab6045edec05d6208ca269f84a52f | /src/qt/receiverequestdialog.cpp | 8c00ad48780b7c2a69f42faf896a8521bdb26a67 | [
"MIT"
] | permissive | 78ZeroBits/litecloud | 2ec4453b821b49d7203155fc11def361238bda79 | 5cc584cd11e46a8d8b626dead3cbef53ed0ef6f7 | refs/heads/master | 2020-03-30T12:01:29.101555 | 2018-10-06T06:12:28 | 2018-10-06T06:12:28 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,625 | cpp | // Copyright (c) 2011-2013 The Bitcoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "receiverequestdialog.h"
#include "ui_receiverequestdialog.h"
#include "bitcoinunits.h"
#include "guiconstants.h"
#i... | [
"root@vultr.guest"
] | root@vultr.guest |
297640fa894768d078c0f42c4b0eb94599306f85 | 13956e47619b3ebae28af52bfd3f5c71efd0c6fb | /saml/util/CommonDomainCookie.h | 48dc688d1d3ad0cf491bcbcaa5e2c83ccf2527f2 | [] | no_license | janetuk/shibboleth-opensaml2 | cfa3866f7f2a8729254dca3f83983dc1e80ae62c | 2575452b6d04f4d0e145deb829288497ff400d85 | refs/heads/master | 2016-09-05T11:49:59.930314 | 2008-03-25T20:15:39 | 2008-03-25T20:15:39 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,075 | h | /*
* Copyright 2001-2007 Internet2
*
* 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... | [
"cantor@fb386ef7-a10c-0410-8ebf-fd3f8e989ab0"
] | cantor@fb386ef7-a10c-0410-8ebf-fd3f8e989ab0 |
7a02cf5a2070e42f871273b18ac0c2ad1ad2fde5 | 5e81b06c3d776c33a264c456c5cb19c60fcb3f1e | /src/main/cpp/styles/Colours.hpp | 524f10719dc7c8205727be25a0dec91be7bab6fd | [
"BSD-3-Clause"
] | permissive | Dalphat/blame | 7ed6d8cb0a87bfe6ec06eea92b2596279eb4d482 | 567a75c1d0d0306e8b28b750556de77646d9d0f9 | refs/heads/master | 2020-04-15T01:21:48.743044 | 2019-01-06T08:14:29 | 2019-01-06T08:14:29 | 164,273,290 | 0 | 0 | BSD-3-Clause | 2019-01-06T03:54:12 | 2019-01-06T03:54:12 | null | UTF-8 | C++ | false | false | 314 | hpp | #pragma once
#include <string>
#include "StateColours.hpp"
namespace Blame::Styles {
struct Colours {
Blame::Styles::StateColours border;
Blame::Styles::StateColours background_border;
Blame::Styles::StateColours background_content;
Blame::Styles::StateColours text;
};
}
| [
"DeflatedPickle@gmail.com"
] | DeflatedPickle@gmail.com |
e0c2e317563e3152eb1751e9e6fbae4b7b7b7d56 | 95a43c10c75b16595c30bdf6db4a1c2af2e4765d | /codecrawler/_code/hdu5130/12396820.cpp | bdb1a7985b2db86bfd81fdf373d3df8415a2f025 | [] | no_license | kunhuicho/crawl-tools | 945e8c40261dfa51fb13088163f0a7bece85fc9d | 8eb8c4192d39919c64b84e0a817c65da0effad2d | refs/heads/master | 2021-01-21T01:05:54.638395 | 2016-08-28T17:01:37 | 2016-08-28T17:01:37 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,548 | cpp | #include <cstdio>
#include <cstring>
#include <algorithm>
#include <queue>
#include <vector>
#include <iostream>
#include <cmath>
using namespace std;
typedef long long ll;
const int maxn = 600;
inline double sqr(double x)
{
return x*x;
}
const double eps = 1e-8;
int sgn(double x)
{
if(fabs(x)<eps) return 0;
... | [
"zhouhai02@meituan.com"
] | zhouhai02@meituan.com |
2d28356b86530aafb5d3e7e6875d52893dbc6887 | 43a2fbc77f5cea2487c05c7679a30e15db9a3a50 | /Cpp/Internal/SDK/BP_Bucket_classes.h | 58169c462420d9a7d0a2353ddd5fc4725bdaf188 | [] | no_license | zH4x/SoT-Insider-SDK | 57e2e05ede34ca1fd90fc5904cf7a79f0259085c | 6bff738a1b701c34656546e333b7e59c98c63ad7 | refs/heads/main | 2023-06-09T23:10:32.929216 | 2021-07-07T01:34:27 | 2021-07-07T01:34:27 | 383,638,719 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 693 | h | #pragma once
// Name: SoT-Insider, Version: 1.102.2382.0
/*!!DEFINE!!*/
/*!!HELPER_DEF!!*/
/*!!HELPER_INC!!*/
#ifdef _MSC_VER
#pragma pack(push, 0x01)
#endif
namespace CG
{
//---------------------------------------------------------------------------
// Classes
//-----------------------------------------------... | [
"Massimo.linker@gmail.com"
] | Massimo.linker@gmail.com |
c1194997809f86ad6112e73c5004dc58db59d73b | 81b2279b2b24636ccaebb091d7543537142a9272 | /leetcode原生/238_除自身以外数组的乘积_normal/不算太难.cpp | 029d79b204c77696703888d6dc56c4adde9f60c9 | [] | no_license | gwtak/My_Leetcode | be6a8d5a050bcd378ae8cfd38ea5b0e5d6f4f70d | bcbebcc8e6c9c58237698ab7534aa3718c489f21 | refs/heads/master | 2022-12-31T22:23:20.771120 | 2020-10-20T10:29:19 | 2020-10-20T10:29:19 | 263,764,562 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,370 | cpp | /*给你一个长度为 n 的整数数组 nums,其中 n > 1,返回输出数组 output ,其中 output[i] 等于 nums 中除 nums[i] 之外其余各元素的乘积。
示例:
输入: [1,2,3,4]
输出: [24,12,8,6]
提示:题目数据保证数组之中任意元素的全部前缀元素和后缀(甚至是整个数组)的乘积都在 32 位整数范围内。
说明: 请不要使用除法,且在 O(n) 时间复杂度内完成此题。
进阶:
你可以在常数空间复杂度内完成这个题目吗?( 出于对空间复杂度分析的目的,输出数组不被视为额外空间。)
来源:力扣(LeetCode)
链接:https://leetcode-cn.com/p... | [
"1969323198@qq.com"
] | 1969323198@qq.com |
5551e4c0580990aa6175cb4cc0cb93d8e3c63e0f | 993c0a078808c1dc6a6e8e890263c22af3a4a98c | /src/PredictorMfe2d.cpp | 191da4dfff5ba673193b6be7f3b13dcba89f51aa | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | zwanli/IntaRNA | 1201249d1c0e18ba4e8230a67882df559c263203 | 4b47515eebe854111eb65e58bcaadabcb06c5e5f | refs/heads/master | 2021-01-11T14:13:41.151085 | 2017-02-06T16:19:37 | 2017-02-06T16:19:37 | 81,195,709 | 0 | 0 | null | 2017-02-07T10:23:53 | 2017-02-07T10:23:53 | null | UTF-8 | C++ | false | false | 10,854 | cpp |
#include "PredictorMfe2d.h"
#include <stdexcept>
////////////////////////////////////////////////////////////////////////////
PredictorMfe2d::
PredictorMfe2d( const InteractionEnergy & energy, OutputHandler & output )
: PredictorMfe(energy,output)
, hybridE_pq( 0,0 )
, hybridErange( energy.getAccessibility1().ge... | [
"qyu@gmx.de"
] | qyu@gmx.de |
39a4a5827fe052280b22ab06ee4b51a77d414936 | 3bff6d69af8ca74a9bb35299f5bf92877dfbd598 | /gallery-mobile/fonthelper.h | bb0f6976bf08670a697bfd4415596275a0baf0a6 | [] | no_license | Brunonoa/MusicPlayer-QML | b0df1d98925bab11fd4aeca09f2470157ccd9586 | c7dd9714a7502ed8b41a31fda112c61169c3e612 | refs/heads/master | 2022-12-01T20:08:19.778125 | 2020-08-16T12:37:22 | 2020-08-16T12:37:22 | 271,069,577 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 343 | h | #ifndef FONTHELPER_H
#define FONTHELPER_H
#include <QObject>
#include <QFont>
class FontHelper: public QObject{
Q_OBJECT
public:
using QObject::QObject;
Q_INVOKABLE QFont changeStretchFont(const QFont & font, int factor){
QFont fn(font);
fn.setStretch(factor);
return fn;
}
};
... | [
"davidepost@gmail.com"
] | davidepost@gmail.com |
17c573439730b47b1340e6eec2bdb3b8c389da70 | 01b619df9433a367bfc552b6609c2c277a93a4f0 | /moc_Game.cpp | a1f3b0502718e865d9b71768cae11c20a0a7a4f8 | [] | no_license | chadmart/Snake-remake | 9f5755ef8c043beaa061239bc7b9735f2ada3c4a | 787d9844d9250f9bcb04629586904a0206030aa5 | refs/heads/master | 2016-08-06T22:03:01.384773 | 2013-06-19T22:30:27 | 2013-06-19T22:30:27 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,246 | cpp | /****************************************************************************
** Meta object code from reading C++ file 'Game.h'
**
** Created: Wed Oct 17 10:08:30 2012
** by: The Qt Meta Object Compiler version 63 (Qt 4.8.1)
**
** WARNING! All changes made in this file will be lost!
******************************... | [
"martin.thechad@gmail.com"
] | martin.thechad@gmail.com |
6ea56f54e02e96a16a03460d10609ded6d89f3fb | e34e412510b4f91512a40512660d4dbac13cdf4f | /Mir3EIClientDev/Mir3EIClient/LoginProcess/Select Srv/SelectSrv.cpp | 4a47d495281249131a9ada345f1f5d0d4f11facc | [
"MIT"
] | permissive | ChxLearnCPP/legendOfMir2_src | 6179f60e24cbca62609a70902e5629a3a5105389 | e7c47bb2375ddcc74e9f480e613aad79e66a7c08 | refs/heads/master | 2021-10-20T05:44:45.810392 | 2019-02-26T07:17:01 | 2019-02-26T07:17:01 | null | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 8,757 | cpp | #include "stdafx.h"
#define POS_SERVERLIST_BORDER_X 50
#define POS_SERVERLIST_BORDER_Y 0
#define SERVERLIST_BORDER_WIDTH 151
#define POS_TOP_SERVER_BTN_X 0
#define POS_TOP_SERVER_BTN_Y 10
#define SERVER_BTN_WIDTH 100
#define SERVER_BTN_HEIGHT 20
#define SERVER_BTN_GAP 10
#define COUNT_BUTTON_PER_COLUME ... | [
"anhonghe@gmail.com"
] | anhonghe@gmail.com |
c3d1784c2b81e527841190c5dd1e7c04a4dedc98 | 2b36691694130d7a712f32c0829dccb6dd68d489 | /uppsrc/Core/Gtypes.cpp | 070fe5c2b1ee7714649f61171bc08da028c9a611 | [] | no_license | mnlsm/upp_vc | f71b9ed52cd4166a91f780497bfb5f568eb43426 | 54b88c8b1e9210a5e29b72d9c37ca9f4e40cced6 | refs/heads/master | 2023-03-31T01:42:15.830650 | 2023-03-29T05:39:14 | 2023-03-29T05:39:14 | 114,305,526 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,039 | cpp | #include "Core.h"
NAMESPACE_UPP
INITBLOCK {
Point p;
RichValue<Point>::Register();
RichValue<Point64>::Register();
RichValue<Pointf>::Register();
RichValue<Size>::Register();
RichValue<Size64>::Register();
RichValue<Sizef>::Register();
RichValue<Rect>::Register();
RichValue<Rect64>... | [
"liuweigang@360.cn"
] | liuweigang@360.cn |
e449f45b83334d5d70e5e7bc503ed5d9cc11ee77 | f2ba978faedce54613d531fe366184884a8580a1 | /src/ga1-core/jobs/ga_queue.cpp | c221f4459ce8e048160c0e4d6b83d82a76ebb59a | [
"MIT"
] | permissive | RPI-Game-Architecture-Spring-2020/final-projecct-LionLin27 | d1c6b65f4fc9a666c8af0322f5c52a052beac2e8 | b3c69a3ae5b6605e1189a3d5768af534a46b71e5 | refs/heads/master | 2023-04-21T16:52:12.544968 | 2021-05-11T22:58:56 | 2021-05-11T22:58:56 | 258,306,332 | 2 | 1 | null | 2021-04-25T16:10:01 | 2020-04-23T19:14:28 | C++ | UTF-8 | C++ | false | false | 6,362 | cpp | /*
** RPI Game Architecture Engine
**
** Portions adapted from:
** Viper Engine - Copyright (C) 2016 Velan Studios - All Rights Reserved
**
** This file is distributed under the MIT License. See LICENSE.txt.
*/
#include "ga_queue.h"
#include <atomic>
#include <cstdint>
struct ga_queue_nodecount_t
{
uint32_t _index;... | [
"eameres@users.noreply.github.com"
] | eameres@users.noreply.github.com |
33a85f77bef09ccb793fa7d1fa859caeebc74b07 | 715e0369c09fc45468f4f67a04639715ac5268a2 | /code/28_automatically_tracking_light_source/_28_automatically_tracking_light_source/_28_automatically_tracking_light_source.ino | e5470249a3f3f5dbce479f70d2930014019d4e3c | [] | no_license | adeept/Adeept_Ultimate_Kit_For_Arduino_MEGA_2560_V3 | 2a384aca49ac9cd4ba6af75b16aebb91a78b9c2d | c78dc3816a9cabddaeef2baf4219838b31e32ea3 | refs/heads/master | 2023-02-15T03:54:44.391334 | 2020-05-05T03:38:52 | 2020-05-05T03:38:52 | 261,136,181 | 2 | 1 | null | 2023-07-28T23:10:13 | 2020-05-04T09:51:29 | C++ | UTF-8 | C++ | false | false | 1,085 | ino | /***********************************************************
File name: 28_automatically_tracking_light_source.ino
Description: if you use a flashlight to shine the photoresistor
and servo, you will see the servo motor and the
photoresistor rotate, finally stop at the direction
... | [
"1553491000@qq.com"
] | 1553491000@qq.com |
783bc50f449f3f3329b1a3880e6d20b795e623e7 | ac1c9fbc1f1019efb19d0a8f3a088e8889f1e83c | /out/release/gen/third_party/blink/public/mojom/service_worker/service_worker_client.mojom-test-utils.h | a41e9f3bf7a096fef87c4e04c9f231b60981b152 | [
"BSD-3-Clause"
] | permissive | xueqiya/chromium_src | 5d20b4d3a2a0251c063a7fb9952195cda6d29e34 | d4aa7a8f0e07cfaa448fcad8c12b29242a615103 | refs/heads/main | 2022-07-30T03:15:14.818330 | 2021-01-16T16:47:22 | 2021-01-16T16:47:22 | 330,115,551 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 843 | h | // third_party/blink/public/mojom/service_worker/service_worker_client.mojom-test-utils.h is auto generated by mojom_bindings_generator.py, do not edit
// Copyright 2019 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.
#... | [
"xueqi@zjmedia.net"
] | xueqi@zjmedia.net |
fc1a47baeca99982315d010ffdc37976a28a6560 | 3724c017479b9a099f9697c228b25b554b107200 | /codigo.cpp | 98bb9f75d5ea4c243e997bdb921ebb82ca314b8d | [] | no_license | IrisTechnologiesOfficial/Hola-mundo-con-GitHub-en-Cpp | 67d0e8f6eec522e57f75a9e28cd89acd55ff1d08 | 1627a07fd65343a74679934965d4bbfd05081483 | refs/heads/master | 2020-06-19T14:11:25.364205 | 2019-07-13T15:41:49 | 2019-07-13T15:41:49 | 196,738,991 | 0 | 0 | null | 2019-07-13T15:49:00 | 2019-07-13T15:48:59 | null | UTF-8 | C++ | false | false | 214 | cpp | #include <iostream>
#include <conio.h>
using namespace std;
int main()
{
cout<<"Hola mundo de parte de Pablo para GitHub el 13/07/2019!";
cout<<"y tambien de parte de: ";
getch();
return 0;
}
| [
"52809319+PabloAprende@users.noreply.github.com"
] | 52809319+PabloAprende@users.noreply.github.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.