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 905
values | visit_date timestamp[us]date 2015-08-09 11:21:18 2023-09-06 10:45:07 | revision_date timestamp[us]date 1997-09-14 05:04:47 2023-09-17 19:19:19 | committer_date timestamp[us]date 1997-09-14 05:04:47 2023-09-06 06:22:19 | github_id int64 3.89k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 22
values | gha_event_created_at timestamp[us]date 2012-06-07 00:51:45 2023-09-14 21:58:39 ⌀ | gha_created_at timestamp[us]date 2008-03-27 23:40:48 2023-08-21 23:17:38 ⌀ | gha_language stringclasses 141
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 115
values | content stringlengths 3 10.4M | authors listlengths 1 1 | author_id stringlengths 0 158 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
3ad9eeea23707c42411cfa025214d4960191bffa | 192507eec73ab6736b5ecc90b8ba160aed090ad0 | /KCheckPoint.cpp | 54322330c3cc64414ecba8d861aa925e475b5815 | [] | no_license | SaadNoor555/cp-practice | 615af29e949e319d6ea058b12c5d2d81d07eaa5d | 70022373ed74017ae30e7c1ae381450f09f37c73 | refs/heads/master | 2023-07-01T05:16:44.071798 | 2021-08-08T21:05:45 | 2021-08-08T21:05:45 | 318,886,998 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,959 | cpp | /*
---. `
:dmms /dho`
ymmmo ymmh`.///`
... | [
"ssaadn.555@gmail.com"
] | ssaadn.555@gmail.com |
59015cc2b7f83c9d9eb87c8a0cf5595f83edb22c | 2899579229ebad17ba554ea24e513b8a887ffcbf | /RpcTransportDesign/OMNeT++Simulation/inet/src/inet/transportlayer/tcp_lwip/TCP_lwIP.h | b38267ff9102cd7ab8af65bc5400b919d393c754 | [] | no_license | Stanley131/Research | b0a2f316a4b604e724b49a48f959e4a149c5672e | c5d978b0bcf1ec02eb6903f6178cb9b228a1d803 | refs/heads/master | 2022-07-13T15:52:08.712122 | 2020-04-15T06:25:53 | 2020-04-15T06:25:53 | 209,621,493 | 1 | 0 | null | 2022-06-22T01:32:10 | 2019-09-19T18:21:32 | C++ | UTF-8 | C++ | false | false | 5,327 | h | //
// Copyright (C) 2006 Sam Jansen, Andras Varga,
// 2010 Zoltan Bojthe
//
// 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 Foundation; either version 2
// of the License, or (at your optio... | [
"root@node-0.homa.flowscheduler-pg0.utah.cloudlab.us"
] | root@node-0.homa.flowscheduler-pg0.utah.cloudlab.us |
a3dab03d9d60acd181df1df19e3c40618e8efd0a | e14559ad9c575bff417a24b35922d61879d68830 | /CodeForces/CodeForces Contests/Codeforces 677/1433D.cpp | 830a871fc91a082cade04538a723f9a049731911 | [] | no_license | Biditmangal/CompetitiveProgramming | eb34b2c11d362b899b826fadfddc7caa761e5786 | 19a0efcef60eeff451f62cfbd2ef56cd2067d82e | refs/heads/master | 2021-07-09T21:15:43.453882 | 2021-04-02T17:58:40 | 2021-04-02T17:58:40 | 232,278,122 | 2 | 4 | null | 2021-02-17T18:17:42 | 2020-01-07T08:23:43 | C++ | UTF-8 | C++ | false | false | 1,722 | cpp | #include <math.h>
#include <time.h>
#include <ctype.h>
#include <stdio.h>
#include <assert.h>
#include <stdlib.h>
#include <string.h>
#include <map>
#include <set>
#include <deque>
#include <queue>
#include <stack>
#include <bitset>
#include <string>
#include <vector>
#include <iostream>
#include <algorithm>
#include <... | [
"biditmangal9506@gmail.com"
] | biditmangal9506@gmail.com |
4c40672ce8dbd1fa98a079ae66231731e7b6836b | 0543967d1fcd1ce4d682dbed0866a25b4fef73fd | /Midterm/solutions/midterm2017_94/I/000569-midterm2017_94-I.cpp | e5ce7adcf8bb369780d3f22fe5e85050925cc735 | [] | no_license | Beisenbek/PP12017 | 5e21fab031db8a945eb3fa12aac0db45c7cbb915 | 85a314d47cd067f4ecbbc24df1aa7a1acd37970a | refs/heads/master | 2021-01-19T18:42:22.866838 | 2017-11-25T12:13:24 | 2017-11-25T12:13:24 | 101,155,127 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 678 | cpp | #include<iostream>
using namespace std;
int main()
{
int i,q=-1,n,m,ans=0,l=0,r=0,j;
cin>>n;
int a[n][n];
if(n%2==0)
{
for(i=1;i<=n;i++)
{
for(j=1;j<=n;j++)
{
cin>>a[i][j];
if(i==j){
//cout<<a[i][j]<<endl;
l=l+a[i][j];
}
else if(i+j==n+1)
{
//cout<<a[i][j]<<e... | [
"beysenbek@gmail.com"
] | beysenbek@gmail.com |
337ac9b2b598e073abf5d8d88a658744a32adb3f | 8413273bab84228dad6ff5247f6d581b7796d142 | /sample/sdl/bomberman/InvertedAABBox2D.h | b5e732fb3ef98d00cfc0b66a2b48f206399d3066 | [] | no_license | pdpdds/yuzaos | 91b6f5bb51583da3827594489fc700821bc5cd6a | ce3b6d0907f7be470fcbc408382a20e2b75e9ef2 | refs/heads/master | 2023-05-01T09:51:21.007740 | 2023-04-27T08:37:42 | 2023-04-27T08:37:42 | 289,303,507 | 28 | 5 | null | 2021-03-20T14:58:37 | 2020-08-21T15:30:10 | C | UTF-8 | C++ | false | false | 1,536 | h | #ifndef INVAABBOX2D_H
#define INVAABBOX2D_H
//-----------------------------------------------------------------------------
//
// Name: InvertedAABBox2D.h
//
// Author: Mat Buckland (www.ai-junkie.com)
//
// Desc: v simple inverted (y increases down screen) axis aligned bounding
// box class
/... | [
"juhang3@daum.net"
] | juhang3@daum.net |
3779fdaaf3ebca95b417464629237c1e9692f16f | 22e3bcfa87096784c012eea0ec8f7db7515d0a6d | /atividade3/timer-timeouts/timer16bits-timeout/Timeout.cpp | cd23ad75350be5955e1f6e54294723e8f361e8ed | [] | no_license | schaiana/STE | f7548fcbb4cd7357c02170052d568647961e23cd | c52c4b56f0384097c110501fd31a8b2c1fbba4ba | refs/heads/master | 2020-04-04T12:30:03.754014 | 2018-12-06T00:41:15 | 2018-12-06T00:41:15 | 155,928,466 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 624 | cpp | #include "Timeout.h"
namespace Timeout {
Timeout::Timeout() : _event(0), _enable(0), _counter(0){}
Timeout::~Timeout() {}
void Timeout::config(uint32_t interval, CALLBACK_t callback){
_enable = true;
_callback = callback;
_interval = interval;
}
void Timeout::checkTimeout() {
if (_enable) {
_counter++;
if ... | [
"schaianasonaglio@gmail.com"
] | schaianasonaglio@gmail.com |
85aecf646628500afdf9a807f74c16afb18e40c9 | a8a29667e73d3659622d57ea948fbebc85a9ef0b | /LeetCode/ByteDance-1.h | 2fe3897f4a1f9d0a1b684ed31504b3f8a0e0f04c | [] | no_license | cosensible/LeetCode | c352acea6caf5c4737f8e1e96d3bedb2885c96e2 | 1bdf2d09ee4bd286e8f1304020928bdd1467e2b5 | refs/heads/master | 2021-09-09T03:11:41.257058 | 2021-09-06T03:40:48 | 2021-09-06T03:40:48 | 217,175,623 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 754 | h | #include <queue>
#include <vector>
#include <iostream>
using namespace std;
vector<double> getMedium(const vector<int> &nums) {
priority_queue<int> maxQue;
priority_queue<int, vector<int>, greater<int>> minQue;
vector<double> res(nums.size());
for (int i = 0; i < nums.size(); ++i) {
if (minQue.size() == maxQu... | [
"cosensible@gmail.com"
] | cosensible@gmail.com |
acf91dae4498d53e600a18ce9fb1259c72942b18 | 3cae5a2b4093d86558d4633615ffe0afbc551868 | /src/utils/dialog.cpp | 070c0edb85a0a6637dc0d53656cb2a1b0a49b54a | [
"MIT"
] | permissive | andraantariksa/cit207-polygon-paint | 02a54f0050189c8b95ad390045e695edbb2825da | 06d80a0460d57435037d9257a8f0e4acd6620076 | refs/heads/master | 2022-05-05T13:59:34.534573 | 2022-04-04T08:44:20 | 2022-04-04T08:44:20 | 244,630,214 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 922 | cpp | #include <ctime>
#include <sstream>
#include <tinyfiledialogs.h>
#include "dialog.h"
namespace utils
{
char const* Dialog::save()
{
char const* filter[1] = { "*.svg" };
return tinyfd_saveFileDialog(
"Save file",
Dialog::defaultFilename().c_str(),
1,
filter,
"SVG"
);
}
char const* Dialog::... | [
"andra.antariksa@gmail.com"
] | andra.antariksa@gmail.com |
6708edcb11710ed72a4232caf760e9c4e3f3cc82 | 1568eafac4db833b4313a09ae965af9ef2117933 | /X-Archive/Include/Xavier/Xavier_Inputs.mqh | 65f228fd55faa9f86b370fec2d5552441d95b798 | [] | no_license | yurisa2/Robos-Da-Mamae | dae25208c18734aaff58518913f7a998fb03825f | ae993d74511f8e075fbeca6a90c42c54cacaa694 | refs/heads/master | 2020-04-02T13:28:23.104307 | 2019-04-13T20:01:04 | 2019-04-13T20:01:04 | 154,482,603 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 905 | mqh | /* -*- C++ -*- */
//+------------------------------------------------------------------+
//| SA2 - Investment soft|
//+------------------------------------------------------------------+
#property copyright "Sa2, pq são só dois na empresa agora."
#property link "http://... | [
"yuri@sa2.com.br"
] | yuri@sa2.com.br |
51e16c86cb808f2ef3d7541eeffd7a2604dbc9d7 | 2a987bf54ac9901db455b33166eb5144a86919ba | /11. Bit Manipulation/clear_all_bits_from_MSB.cpp | 63c3d3a3512e283fda225723d7903c5d6753b237 | [] | no_license | Maniask/Coding-Ninjas-Competitive-Programming | 92fa20af22e4dc96f4e1d83df8d89ae9baf0d648 | 3a520be2cf9f2f2dc92752d2e10810d7711ec7a9 | refs/heads/main | 2023-02-04T09:14:26.170376 | 2020-12-20T11:53:12 | 2020-12-20T11:53:12 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 716 | cpp |
/*
Clear All Bits From MSB
You are given two integers N and i. You need to clear all bits from MSB to ith bit (start i from right to left)
and return the updated N.
Counting of bits starts from 0 from right to left.
Input Format :
Two integers N and i (separated by space)
Output Format :
Updated N
Sample Input 1 ... | [
"ankur.work11@gmail.com"
] | ankur.work11@gmail.com |
0cff20e4d968f93ad076cc1d90e3b2f28e7d5473 | 0494c9caa519b27f3ed6390046fde03a313d2868 | /src/content/app/content_main_runner.cc | dfab14ffe9e726c168529934e2526c73f00c71b5 | [
"BSD-3-Clause"
] | permissive | mhcchang/chromium30 | 9e9649bec6fb19fe0dc2c8b94c27c9d1fa69da2c | 516718f9b7b95c4280257b2d319638d4728a90e1 | refs/heads/master | 2023-03-17T00:33:40.437560 | 2017-08-01T01:13:12 | 2017-08-01T01:13:12 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 30,308 | cc | // Copyright (c) 2012 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 "content/public/app/content_main_runner.h"
#include <stdlib.h>
#include "base/allocator/allocator_extension.h"
#include "base/at_exit.h"
#i... | [
"1990zhaoshuang@163.com"
] | 1990zhaoshuang@163.com |
0b48e5c6dc2a6defb7b2ba9b09988777aaeb73ac | cc5ca598c83406faf8836f28ad0f97a539a67289 | /Days/Day05/ex00/Bureaucrat.cpp | 7af7444d6865d74440ea9608e22ce268abdbc1f6 | [] | no_license | JuanCasian/42-CPP-Piscine | 46310a9be08a8f065d5acdb15398af5475d31b58 | 498e68c433ef0820e3d8134bb52ce89d56c153eb | refs/heads/master | 2020-04-17T20:36:33.755308 | 2019-05-11T05:21:55 | 2019-05-11T05:21:55 | 166,913,153 | 1 | 1 | null | 2019-05-11T05:21:56 | 2019-01-22T02:27:58 | C++ | UTF-8 | C++ | false | false | 3,405 | cpp | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* Bureaucrat.cpp :+: :+: :+: ... | [
"juanpedrocasian@gmail.com"
] | juanpedrocasian@gmail.com |
b2d67d17b4bb6cc8520542d53ca8dc72edb6ef17 | 2dda88b2b98f9382f9a47bbbff2329c15bf1db84 | /matt/particles/main.cpp | 6cc0ecc9593d8fbd75cdba679d965efd3746a27a | [
"BSD-2-Clause",
"LicenseRef-scancode-generic-cla"
] | permissive | techmatt/caffe-windows | 94467d8b041fd2ef3ec5d45410c555134cd42c88 | c3c5b8f815843a52a08a3cb19eaa9c6a6c4fd82a | refs/heads/master | 2021-01-17T10:37:13.980938 | 2015-12-01T08:09:58 | 2015-12-01T08:09:58 | 46,631,456 | 1 | 0 | null | 2015-11-21T20:01:00 | 2015-11-21T20:01:00 | null | UTF-8 | C++ | false | false | 166 | cpp | #include "main.h"
void main()
{
Vizzer callback;
ApplicationWin32 app(nullptr, 1280, 1024, "D3D11 Test", GraphicsDeviceTypeD3D11, callback);
app.messageLoop();
}
| [
"techmatt@gmail.com"
] | techmatt@gmail.com |
afe588306c7e325b047a24b6e8a293cb66aa3ef4 | d09945668f19bb4bc17087c0cb8ccbab2b2dd688 | /codeforce/edu/041-060/045/g.cpp | a458fbd823d331e2f074c1c54fa32df148166328 | [] | no_license | kmjp/procon | 27270f605f3ae5d80fbdb28708318a6557273a57 | 8083028ece4be1460150aa3f0e69bdb57e510b53 | refs/heads/master | 2023-09-04T11:01:09.452170 | 2023-09-03T15:25:21 | 2023-09-03T15:25:21 | 30,825,508 | 23 | 2 | null | 2023-08-18T14:02:07 | 2015-02-15T11:25:23 | C++ | UTF-8 | C++ | false | false | 1,345 | cpp | #include <bits/stdc++.h>
using namespace std;
typedef signed long long ll;
#undef _P
#define _P(...) (void)printf(__VA_ARGS__)
#define FOR(x,to) for(x=0;x<(to);x++)
#define FORR(x,arr) for(auto& x:arr)
#define ITR(x,c) for(__typeof(c.begin()) x=c.begin();x!=c.end();x++)
#define ALL(a) (a.begin()),(a.end())
#... | [
"kmjp@users.noreply.github.com"
] | kmjp@users.noreply.github.com |
10c6d9c01c39102d1c89a33187fd4b1d5ae1df8b | 83964e7fb41ee62e3084eef5d3deef07eecdd93e | /clang/test/CodeGenCXX/eh.cpp | 584af40da62def61d701ae9a5df8079d2d979b73 | [
"NCSA",
"BSD-2-Clause"
] | permissive | pbb59/ScaffCC | e0bee9e5b16a6f145224ad6b0b6eb32adb026f95 | 7d28d310063d147930ec4705aa5ebdf94ea8e924 | refs/heads/master | 2020-09-23T04:43:54.059923 | 2019-12-19T03:59:22 | 2019-12-19T03:59:22 | 225,405,289 | 0 | 1 | BSD-2-Clause | 2019-12-02T15:17:37 | 2019-12-02T15:17:36 | null | UTF-8 | C++ | false | false | 13,377 | cpp | // RUN: %clang_cc1 -fcxx-exceptions -fexceptions -triple x86_64-apple-darwin -std=c++11 -emit-llvm %s -o %t.ll
// RUN: FileCheck --input-file=%t.ll %s
struct test1_D {
double d;
} d1;
void test1() {
throw d1;
}
// CHECK: define void @_Z5test1v()
// CHECK: [[EXNOBJ:%.*]] = call i8* @__cxa_allocate_excep... | [
"ajavadia@princeton.edu"
] | ajavadia@princeton.edu |
7aa7f8fb9b6da627e2b65f7c6c26a28697134b06 | 0e9e5abffeb1bedf81d44ab841999c0ead867b1c | /test/network/network_emulation_manager.h | 449441a3c12f72d5fe51442a0f58a5f0183414c5 | [
"BSD-3-Clause",
"LicenseRef-scancode-google-patent-license-webm",
"LicenseRef-scancode-unknown-license-reference",
"LicenseRef-scancode-google-patent-license-webrtc"
] | permissive | open-webrtc-toolkit/owt-deps-webrtc | 6b5983c304098399b11921df23987e627ecfaf22 | 49d511cd8fb8aac8fc92150dc024457dedf3193f | refs/heads/108-sdk | 2023-08-31T13:33:34.172416 | 2023-08-30T02:53:53 | 2023-08-30T02:53:53 | 154,413,230 | 223 | 153 | BSD-3-Clause | 2023-08-30T02:53:54 | 2018-10-24T00:13:08 | C++ | UTF-8 | C++ | false | false | 5,013 | h | /*
* Copyright (c) 2019 The WebRTC project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contribut... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
33abc7bfb06766dc748cba5d39af76897b511d48 | 3c2c511cf8c181ab6c5437ef84ea16b4de6f40a2 | /Code/demo_test/libraries/OffChip/Gimbal/Gimbal.cpp | 33cbbb483ffd002d36900487c86718d04458f8b5 | [] | no_license | Neutree/AHRS | c9c53f845df755a93ba8ac6121551ee3c46aa6f6 | 423776e70f06c0b04eb7cd44a08d77610f03de81 | refs/heads/master | 2021-01-17T14:16:49.834662 | 2017-03-11T09:22:59 | 2017-03-11T09:22:59 | 49,999,568 | 4 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 248 | cpp | #include "Gimbal.h"
Gimbal::Gimbal(StepMotor &motorRoll,StepMotor &motorPitch):_motor_roll(motorRoll),_motor_pitch(motorPitch)
{
}
void Gimbal::SetSpeed(int vRoll,int vPitch)
{
_motor_roll.SetSpeed(vRoll);
_motor_pitch.SetSpeed(vPitch);
}
| [
"czd666666@gmail.com"
] | czd666666@gmail.com |
32d16bd88b35a87d7368d6bbaa3c91a55c922099 | 674f5fced062dbe7fb53badc105f932888ed0c3b | /proj1/include/darkmaze/Maze.hpp | 335876a32224985247fa49339680fa5131879eb8 | [] | no_license | HericPan/ICS-46-Thornton | 604cb3efe5ceb0981dfe82c424eec33e7da913ae | b5b2c5ed2c8088f1f696d49b73024eb066912389 | refs/heads/main | 2023-08-04T19:45:57.382251 | 2021-09-25T03:49:44 | 2021-09-25T03:49:44 | 410,166,852 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,726 | hpp | // Maze.hpp
//
// ICS 46 Spring 2021
// Project #1: Dark at the End of the Tunnel
//
// Declares an abstract base class for Maze implementations. An implementation
// of this class is provided already, though the source code for it is not
// being provided to you.
//
// Mazes, in general, have the following properties... | [
"1214423184@qq.com"
] | 1214423184@qq.com |
aae56a709b238fcd2136e6ef88768322b788f2bb | b268ac506771ac5dbdbee9e67e6e112474d0af1e | /Algorithm/Baekjoon/b 1463 1로 만들기_top.cpp | 3e95c3be438f2d631b14400dca0ad054327c4aa8 | [] | no_license | ssoonD/Algorithm | 69c7965c3a3fe42aab0bb211582a170166f5f99c | 8440cf5ce15f15d15746279132398c57b461f968 | refs/heads/master | 2021-02-26T02:23:07.708578 | 2020-10-14T14:56:14 | 2020-10-14T14:56:14 | 232,309,311 | 0 | 0 | null | 2020-01-07T11:41:51 | 2020-01-07T11:21:58 | null | UHC | C++ | false | false | 505 | cpp | /*
D[N] = N을 1로 만드는 최소 연산 횟수
(1) D[N/3] + 1
(2) D[N/2] + 1
(3) D[N-1] + 1
= min(1,2,3)
Top_Down
*/
#include <cstdio>
int d[1000001];
int go(int n) {
if (n == 1) return 0;
if (d[n] > 0) return d[n];
d[n] = go(n - 1) + 1;
if (n % 2 == 0) {
int tmp = go(n / 2) + 1;
if (d[n] > tmp) {
d[n] = tmp;
}
}
if (n... | [
"59604134+ssoonD@users.noreply.github.com"
] | 59604134+ssoonD@users.noreply.github.com |
38aabf45fd4f9f4f28e49e9203db786e0eae8f03 | 8f3d9eb1d632282a55ea5a5c3dfe6f23e6d1b76c | /Wawaji-Server-Windows/wwj_demo/tool_kits/ui_component/ui_kit/module/video/video_manager.h | da5b5a2577a2f7d0b035003c6a74571305c4d187 | [
"MIT"
] | permissive | jzsplk/Wawaji | 086580efb5ecf952b990a36bb5cd8a6a9a1fc6f7 | 45c51c3cd1b49a4a926b76b6e4e31a331ede66ee | refs/heads/master | 2020-03-12T15:29:40.437612 | 2018-04-23T12:03:00 | 2018-04-23T12:03:00 | 130,691,413 | 1 | 0 | null | 2018-04-23T12:13:28 | 2018-04-23T12:13:28 | null | UTF-8 | C++ | false | false | 9,039 | h | #pragma once
#include "video_frame_mng.h"
#include "audio_frame_mng.h"
namespace nim_comp
{
struct MEDIA_DEVICE_DRIVE_INFO
{
std::string device_path_;
std::string friendly_name_;
};
enum DeviceSessionType
{
kDeviceSessionTypeNone = 0x0,
kDeviceSessionTypeChat = 0x1,
kDeviceSessionTypeSetting = 0x2,
kDeviceSe... | [
"hzgaoqi1@corp.netease.com"
] | hzgaoqi1@corp.netease.com |
67dbe694a82da722223cd9671a18a80dba0016fc | 434bc1d262220209bc602010888551884749e3fd | /Chapter 2/2.3 raii: wait for a thread to finish/main.cpp | e300f061d3f7b3d6e36f52b226aba6fb6e18e3e4 | [] | no_license | viniciusjavs/cpp-concurrency-in-action | 58daa142d2c74727a6170de0cdc0796bc7a44060 | c32b80e7098d54c1ee8e24da15c0c60eb7774976 | refs/heads/main | 2023-01-04T14:51:23.722591 | 2020-11-03T01:28:00 | 2020-11-03T01:28:00 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 746 | cpp | /*
Listing 2.3
Using RAII to wait for a thread to complete
*/
#include <thread>
class thread_guard {
std::thread &t_;
public:
explicit thread_guard(std::thread &t) : t_{t} {}
~thread_guard() {
if (t_.joinable()) {
t_.join();
}
}
thread_guard(thread_guard const &) = delete;
thread_guard ... | [
"viniciusjavs@gmail.com"
] | viniciusjavs@gmail.com |
3da1d9e535d4cbaaf63d6d731ef9c1dbeb963d5d | 505af02067608c1ed8df06738e44df6e001588d2 | /willToys/include/OpenGL/VertexBuffer.h | 30421cfeee31f5dd8d8aa0cd51b38d6dcee0aaa8 | [] | no_license | willproj/willToys | e9dc3006fe54ab9896bd3c92501ed630fcd26041 | 1a21c487b61ec78707dae47b0e8ced00d276f7ec | refs/heads/master | 2022-04-17T01:22:47.562475 | 2020-04-06T05:14:26 | 2020-04-06T05:14:26 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 429 | h | #pragma once
#include "..//Common.h"
namespace gltoys::opengl
{
class VertexBuffer
{
public:
VertexBuffer() :m_VertexBufferID(0) {}
VertexBuffer(size_t size, const void* data);
~VertexBuffer();
void BindVertexBuffer()const;
void UnbindVertexBuffer()const;
void AddBufferData(size_t size, void* data);... | [
"williamms669@gmail.com"
] | williamms669@gmail.com |
960fb54c3ffbbcdef0913fb906ec8b2499aaa0cf | 68cb80a04867861bf4eb6aaec351f98057381929 | /RCN001/Common/Screens/GameScreen.cpp | 0be6da3ad741aaa95aeb735c224ac42fa3c5f663 | [] | no_license | jim-leedham/RCN | 66b206324219d631000f3912a8812c877ed40299 | 5f69dc93a913ce072095bbf513216e858b59bc74 | refs/heads/master | 2022-12-31T11:19:59.603642 | 2020-10-19T14:45:58 | 2020-10-19T14:45:58 | 305,415,118 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,255 | cpp | // -----------------------------------------
// INCLUDES
#include "stdheader.h"
#include "GameScreen.h"
#include "Core/TextureManager.h"
#include "Game/Game.h"
// -----------------------------------------
// CLASS DEFINITIONS
CGameScreen::CGameScreen(const char* cScreenName) : CRCNScreen(cScreenName)
{
m_pBackgrou... | [
"jim@leedh.am"
] | jim@leedh.am |
b03cfc0f131efcdc8d798234d6d33a24c428681a | 7cb98d91650d87747ca7c396c3ec3fa1404b482e | /Classes/SplashScene.h | 7da3e39cbf9b26eb94c0030790c01aa46d368687 | [] | no_license | AlexLazarev/Paranoid | ce32502af7a66c3d0cca61959de41156e212b576 | cf982815bc6fd397682812ff8a29c6f594c87776 | refs/heads/master | 2020-12-31T03:41:07.694808 | 2016-05-16T17:30:40 | 2016-05-16T17:30:40 | 56,865,358 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 537 | h | #pragma once
#include "cocos2d.h"
#include "mainMenuScene.h"
#include "Definition.h"
class SplashScene : public cocos2d::Layer
{
public:
// there's no 'id' in cpp, so we recommend returning the class instance pointer
static cocos2d::Scene* createScene();
// Here's a difference. Method 'init' in cocos2d-x... | [
"alex_lazarev@mail.ua"
] | alex_lazarev@mail.ua |
bb9b44a285dca0d879fd9ec990b120451dbff8f9 | 20487d6bed34c8af7192064a234fe7db1461fdfc | /w10/Final_Project_Yucen_Cao/game.cpp | bcef9441af3b903d48beae44fb8900dd001c9ee4 | [] | no_license | caoyucen/OSU_CS162 | 0eaf911f8914e566df5b8b9e9f60ed0c3ad6340a | 16b9a920f6426ce454917b2e90f31f90cfe5736f | refs/heads/master | 2020-12-11T00:14:08.512837 | 2020-01-14T04:01:29 | 2020-01-14T04:01:29 | 233,749,692 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,308 | cpp | //
// game.cpp
//*********************************************************************
// Program name: Final project
// Author: YUCEN CAO - CS162 Spring 2019
// Date: June 11, 2019
// Description: In the final project, you will be able to design and implement a one-player, text-based game where the player can move th... | [
"caoyucen@gmail.com"
] | caoyucen@gmail.com |
38e2a13cd507fb8739b28bfc14ba013d9fc2dd67 | 1ef8b2e69ddd13e380f0e3b672edcce6032e74ea | /Application/SourceCode/GeneralDemo/Source/dragdroprobot/coloritem.cpp | e12a17bc88a6a697f176385910d6eb9bfc2c4798 | [] | no_license | nealwang123/Qt-Plugin-Project | 2f05f0b2f573cccc0987e8a0c12fb8b07ddc5c36 | dc7675bd1862dead8bc1b7b250b9c77fc570adf2 | refs/heads/master | 2022-07-20T01:29:14.037467 | 2020-05-16T06:59:48 | 2020-05-16T06:59:48 | 288,613,609 | 1 | 0 | null | 2020-08-19T02:30:06 | 2020-08-19T02:30:05 | null | UTF-8 | C++ | false | false | 2,705 | cpp | #include <QtGui>
#include "coloritem.h"
//! [0]
ColorItem::ColorItem()
: color(qrand() % 256, qrand() % 256, qrand() % 256)
{
setToolTip(QString("QColor(%1, %2, %3)\n%4")
.arg(color.red()).arg(color.green()).arg(color.blue())
.arg("Click and drag this color onto the rob... | [
"574226409@qq.com"
] | 574226409@qq.com |
055550b6e04fd8e7794479c536c5e2845a322cd3 | 244bf2b00bd1b70d477bcc15465b3779a1bc8f88 | /FELICITY_Ver1.3.1/FELICITY/Static_Codes/Search_Trees/src_hdr/basetree.cc | 3f16cb2f2f3ec9c3f2f5f5b4f121380bca7acd69 | [
"BSD-3-Clause"
] | permissive | eardi/sm-fpca | 2349f0bb6bd3a70c9e3c893fe9843b31f4a6d6b1 | cc080f23681b637e24ca4935a1c85d9fa6003471 | refs/heads/master | 2021-05-16T05:35:05.054557 | 2020-10-23T11:19:53 | 2020-10-23T11:19:53 | 103,156,444 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 6,231 | cc | /*
============================================================================================
This is an abstract point-region (PR) search tree class. The basic use is to partition
points for fast searching operations.
Copyright (c) 01-14-2014, Shawn W. Walker
=======================================... | [
"eardi.lila@gmail.com"
] | eardi.lila@gmail.com |
b5a4b25f7b997af03a0c21a61b9934c5255d7c09 | 2bf5dda3869b8faca2b0a3b2ad229500891b6879 | /WhiteGL/Src/Data/Notes/Notes.h | 84f0852973456be13683abad3a896f0a04752de2 | [] | no_license | metalS10/WhiteGL | 9347519b415779e44487972d1730364a3aa6e637 | 0194fadfd336a7e5a94de8531941c240e776abd7 | refs/heads/master | 2021-07-15T01:33:42.647101 | 2018-10-31T01:18:58 | 2018-10-31T01:18:58 | 106,292,629 | 0 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 1,234 | h | #pragma once
class CCharacter;
class CNotesUI;
//音に合わせて動かす動きの親
class CNotes
{
private:
public:
//コンストラクタ
CNotes() {};
~CNotes() {};
//2
virtual void half(CCharacter* pChara) = 0;
//4
virtual void quarter(CCharacter* pChara) = 0;
//8
virtual void eighth(CCharacter* pChara) = 0;
};
//音楽に合わせてアニメーションさせるクラス
cl... | [
"tatsujin10.04@gmail.com"
] | tatsujin10.04@gmail.com |
589c3a49e6d93d0c61cd5a8fb1b96d9bb7634cc6 | 2869112fdc836e565f9fe68e290affc1e223c1d8 | /pythran/pythonic/include/cmath/log10.hpp | fa90f97ae5b2737f9c87ff79070b1c20e01d216c | [
"LicenseRef-scancode-unknown-license-reference",
"BSD-3-Clause"
] | permissive | coyotte508/pythran | ab26e9ddb9a9e00e77b457df316aa33dc8435914 | a5da78f2aebae712a2c6260ab691dab7d09e307c | refs/heads/master | 2021-01-15T10:07:09.597297 | 2015-05-01T07:00:42 | 2015-05-01T07:00:42 | 35,020,532 | 0 | 0 | null | 2015-05-04T07:27:29 | 2015-05-04T07:27:29 | null | UTF-8 | C++ | false | false | 282 | hpp | #ifndef PYTHONIC_INCLUDE_CMATH_LOG10_HPP
#define PYTHONIC_INCLUDE_CMATH_LOG10_HPP
#include "pythonic/utils/proxy.hpp"
#include <cmath>
namespace pythonic {
namespace cmath {
ALIAS_DECL(log10 ,std::log10);
PROXY_DECL(pythonic::cmath, log10);
}
}
#endif
| [
"serge.guelton@telecom-bretagne.eu"
] | serge.guelton@telecom-bretagne.eu |
057b2d0b07eeae46764033911ec017e324c05e7e | aaf15ca1ce228898f32d98b531c35e203925928b | /chunked_stream.hpp | 319fd3518490bf84be08725c35769d9f84b57363 | [] | no_license | jehugaleahsa/spider-cpp | 0125c5e6ba423270374197a9c6e5b54dadf1e85b | ea1cb19ef559dfe043cdb03c3fed44df57c5a5cf | refs/heads/master | 2021-07-21T06:04:39.114955 | 2016-09-11T15:10:25 | 2016-09-11T15:10:25 | 4,440,285 | 15 | 11 | null | null | null | null | UTF-8 | C++ | false | false | 1,813 | hpp | #include <algorithm>
#include <iostream>
#include <memory>
#include <boost/iostreams/stream.hpp>
namespace {
template <typename CharT, typename Traits = std::char_traits<CharT>>
class ChunkedStreamSource {
std::shared_ptr<std::basic_istream<CharT, Traits>> m_stream;
std::streamsize m_chunkSize... | [
"jehugaleahsa@gmail.com"
] | jehugaleahsa@gmail.com |
d5ced1f78265dc1c8ea9e306434f9116ed603ea5 | a7764174fb0351ea666faa9f3b5dfe304390a011 | /inc/Handle_TDataXtd_Pattern.hxx | 09ee99516d2afa3fe89aa39fceace9a2ebd2ca84 | [] | no_license | uel-dataexchange/Opencascade_uel | f7123943e9d8124f4fa67579e3cd3f85cfe52d91 | 06ec93d238d3e3ea2881ff44ba8c21cf870435cd | refs/heads/master | 2022-11-16T07:40:30.837854 | 2020-07-08T01:56:37 | 2020-07-08T01:56:37 | 276,290,778 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 789 | hxx | // This file is generated by WOK (CPPExt).
// Please do not edit this file; modify original file instead.
// The copyright and license terms as defined for the original file apply to
// this header file considered to be the "object code" form of the original source.
#ifndef _Handle_TDataXtd_Pattern_HeaderFile
#... | [
"shoka.sho2@excel.co.jp"
] | shoka.sho2@excel.co.jp |
0049ac08733ba7c3ecfb3ee6ee7f3817ffbaafa5 | becf7caa63d95071221c4120c0f238626b46100a | /src/Density_Estimation/Include/Descent_Direction_Factory.h | 7b2d1873a01fd0939289ddbb89c64ae749055ea9 | [] | no_license | cran/fdaPDE | 1acaf7798553c5582294cbb99c3a7207b78ccb55 | 4c275d6bfbcbbdef81e094fc977e60f68d1e24f3 | refs/heads/master | 2023-03-09T17:20:47.497214 | 2023-03-01T07:22:39 | 2023-03-01T07:22:39 | 49,715,847 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,727 | h | #ifndef __DESCENT_DIRECTION_FACTORY_H__
#define __DESCENT_DIRECTION_FACTORY_H__
#include <memory>
#include "../../Global_Utilities/Include/Make_Unique.h"
//! @brief A Factory class: a class for the choice of the direction for the optimization algorithm.
template<UInt ORDER, UInt mydim, UInt ndim>
class DescentDirecti... | [
"csardi.gabor+cran@gmail.com"
] | csardi.gabor+cran@gmail.com |
36b0d71ec2b7664f5c15cabd837f17ea11e1ee57 | bacb43b4b870a2055d52d29a375ce388fd54d516 | /contracts/test_api/test_transaction.cpp | 2f2de43a59f8f68d6a6b14934e2e2652cfa09241 | [
"BSD-3-Clause",
"Apache-2.0",
"MIT"
] | permissive | allenachain/Achainplus | 7ce701fad319de67e2340b51574402f6f7b6e1c3 | 610c0f5ca935de25fa3897023c740d841cdfc82e | refs/heads/master | 2020-05-05T13:07:02.929996 | 2019-04-22T09:06:54 | 2019-04-22T09:06:54 | 178,156,674 | 0 | 0 | MIT | 2019-03-28T08:12:03 | 2019-03-28T08:11:59 | null | UTF-8 | C++ | false | false | 11,406 | cpp | /**
* @file
* @copyright defined in Achainplus/LICENSE
*/
#include <eosiolib/action.hpp>
#include <eosiolib/crypto.h>
#include <eosiolib/transaction.hpp>
#include "test_api.hpp"
#pragma pack(push, 1)
template <uint64_t ACCOUNT, uint64_t NAME>
struct test_action_action {
static account_name get_account() {
... | [
"xiaoming@new4g.cn"
] | xiaoming@new4g.cn |
4046180501817276f9bcbbee366f0faca9006c86 | a01ea55cc0a4128587a339536bb6b0411e367fe2 | /22-Agosto/ConsolaVentas/TrabajadorPorHora.h | a9877a375d7988debcb58f378cd8df631938dfdf | [
"MIT"
] | permissive | AlejandroSolares/EDA | 9ee8886ed5e92b8d4797871bc3b022dd131c9b15 | 8c9d24d33f2ff9df5b31a2e782b367582556ef2b | refs/heads/master | 2022-12-11T14:53:14.044568 | 2020-09-13T16:04:27 | 2020-09-13T16:04:27 | 287,684,647 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 942 | h | #ifndef TRABAJADORPORHORA
#define TRABAJADORPORHORA
#include<iostream>
#include<stdio.h>
#include<stdlib.h>
#include<string.h>
#include<conio.h>
#include "Trabajador.h"
class TrabajadorPorHora: public Trabajador{
private:
int numHT;
float salarioPorHora;
public:
TrabajadorPorHora(){
this->numHT = ... | [
"josue.alejandro.solares@gmail.com"
] | josue.alejandro.solares@gmail.com |
d12286886602d6993ec3d8f93d8b05fe8f260f6d | 6312008999fb1fa21190653ed74835bd771e935c | /GeneSplicer.cpp | 5e64eb46fc42431f2623c12bbb2a8dce46c64a9b | [] | no_license | tehilabadi/EX4_A_Cpp | 98afe347a43572644be09cfcfdbdb47767feeae8 | c67b3882566d1c42b4aa51f460d6c7b84f1e38ba | refs/heads/master | 2023-04-12T08:53:01.355259 | 2021-05-04T19:57:00 | 2021-05-04T19:57:00 | 364,370,684 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 193 | cpp | #include <iostream>
using namespace std;
#include "Player.hpp"
#include "Board.hpp"
#include "GeneSplicer.hpp"
namespace pandemic{
GeneSplicer::GeneSplicer(Board board, City city){
}
} | [
"tehilaqwer@gmail.com"
] | tehilaqwer@gmail.com |
e5b7b5f74d7e37e25f63511c38dedc6a58e766fc | 13d1081bc5d46f979580438a772f47b7dc15550c | /Projects/Logic/Client/Src/UIQuestTrace.cpp | a34a03e50659cfec33565c088102b53e036ace8e | [] | no_license | hackerlank/code-2 | 090035cc470d77a13a589419da7b04d0b97419e8 | c8e72ad7ce7440001293a10619cd01efe5cfd22f | refs/heads/master | 2021-01-13T15:50:39.784391 | 2014-06-16T14:00:06 | 2014-06-16T14:00:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 596 | cpp | //***************************************************************************************************
#include "stdafx.h"
#include "UIQuestTrace.h"
//***************************************************************************************************
namespace MG
{
UIQuestTrace::UIQuestTrace()
{
}
//---... | [
"linhu917@126.com"
] | linhu917@126.com |
d40a510b6da3204706efb1bd0a1ee3435083b6a8 | 4dc036f9fafdca1d73fa1137c0f3c20b82f9ec64 | /tail_recursion/factorial.cpp | 94fb08a706e1720797b6d44d4c57dd66216897db | [] | no_license | yash-dxt/algos-for-all | 44be5c40039c7461b8006aec5b1ccda71463b709 | 51b6b499b868b0d87caec33b229b25157c5166c0 | refs/heads/master | 2023-04-20T19:45:58.575257 | 2021-05-08T09:16:54 | 2021-05-08T10:54:07 | 308,859,802 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 227 | cpp | #include <iostream>
using namespace std;
int factorial(int x, int tailFactorial = 1)
{
if (x == 1)
return tailFactorial;
return factorial(x - 1, x * tailFactorial);
}
int main()
{
cout << factorial(3);
}
| [
"yashdixitsq@gmail.com"
] | yashdixitsq@gmail.com |
99f583a6e948f9e9beb16359bc6abbb373bab625 | 67e08000ca2cf8ae4595bfcce9f1ef2b6001a3cc | /catkin_ws/devel/include/gsdf_msgs/CommContent.h | bd02454bcb7e47db118f747c48d7d7bd60bb05fd | [] | no_license | REGATTE/copter_deep_learning_build | 60e490f1eb2254188f5f160ef837a1a281a1ab19 | cb77b5e6d1591a964c2ef7d3e2ae8ada56ad39c0 | refs/heads/master | 2023-03-03T22:25:05.289131 | 2021-02-17T08:13:57 | 2021-02-17T08:13:57 | 339,652,322 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,990 | h | // Generated by gencpp from file gsdf_msgs/CommContent.msg
// DO NOT EDIT!
#ifndef GSDF_MSGS_MESSAGE_COMMCONTENT_H
#define GSDF_MSGS_MESSAGE_COMMCONTENT_H
#include <string>
#include <vector>
#include <map>
#include <ros/types.h>
#include <ros/serialization.h>
#include <ros/builtin_message_traits.h>
#include <ros/m... | [
"ashok_a380@icloud.com"
] | ashok_a380@icloud.com |
5c409663f00ab8fe727c93052c2479fdeaccaded | 932c79e3c443290924ad4c592ee2959227ca604a | /Searching/twoRepeatedElements.cpp | 4cc642636b489f22a4943f62a2b665d0e2e1478a | [] | no_license | rohanjha613/GeeksForGeeksDSA | beaff45bd4468508a44fbc791fd7205e6eb7da8c | 1549b5f0d451a561977501724596ffefa866435b | refs/heads/main | 2023-08-21T19:33:23.072577 | 2021-10-02T11:20:11 | 2021-10-02T11:20:11 | 410,829,910 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,029 | cpp | // { Driver Code Starts
//Initial template for C++
#include<bits/stdc++.h>
using namespace std;
// } Driver Code Ends
//User function template for C++
class Solution {
public:
//Function to find two repeated elements.
vector<int> twoRepeated (int arr[], int N) {
int first=-1,second=-1;
fo... | [
"jharohan613@gmail.com"
] | jharohan613@gmail.com |
30e929bee0eab14ad853a7f4a1619f33fb44b2a9 | 26b44414ec79f1fb6a501ec3a1ff7ba23d12983a | /ICDSMSCE/BasicDataStructure/Timestamp.h | 9f1317423a0698004d84c42056b0d46947a11ed1 | [] | no_license | lwhay/ICDMS | d74d8f894d1b353e8dc00a0e6b98a9545b10077e | 3168d48fec96913a26b8a6a837b38dff1f70c8a3 | refs/heads/master | 2021-01-01T08:21:05.620874 | 2014-03-23T15:10:02 | 2014-03-23T15:10:02 | 17,953,721 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 573 | h | #ifndef _TIME_STAMP_H
#define _TIME_STAMP_H
//#include <boost/date_time/local_time/local_time.hpp>
//#include <boost/date_time/posix_time/posix_time.hpp>
//
////to be replaced with Boost time
//class Time {
//public:
// bool operator == (const Time& rhs) {
// return true;
// }
//
// bool operator > (const Time& rhs) ... | [
"lwh@whu.edu.cn"
] | lwh@whu.edu.cn |
6f756cab68f7cfd9bb7c6c0f8d456d54ae8e89fc | 08b8cf38e1936e8cec27f84af0d3727321cec9c4 | /data/crawl/squid/old_hunk_1193.cpp | a925a13bd9f1ca9f755d1b6acd741d775072c93c | [] | 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 | 270 | cpp | if (req_sz >= Config.maxRequestHeaderSize) {
debugs(33, 5, "parseHttpRequest: Too large request");
hp->request_parse_status = Http::scHeaderTooLarge;
return parseHttpRequestAbort(csd, "error:request-too-large");
}
/* Set method_p */
| [
"993273596@qq.com"
] | 993273596@qq.com |
a8fe97307ab1b0f3e8a24eb160bfe7535233024c | 5e29bf3048f53ce6584c814c4b5c003c917187b8 | /202.快乐数.cpp | 3f88802f327515856a9229d96c3e4d210fe8f2fc | [] | no_license | MrZilinXiao/BasicLeetCode | 9a78ad21bfa0580418416c91a1cb0b2b03d58023 | 067679579d9dafe1767a1ad508b4a9d724effcc6 | refs/heads/master | 2020-05-04T22:27:26.597310 | 2019-10-24T01:29:29 | 2019-10-24T01:29:29 | 179,512,840 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 524 | cpp | /*
* @lc app=leetcode.cn id=202 lang=cpp
*
* [202] 快乐数
*/
class Solution {
public:
bool isHappy(int n) {
int fast = n, slow = n;
do{
slow=squareSum(slow);
fast=squareSum(fast);
fast=squareSum(fast);
}while(fast!=slow);
if(fast==1) return true;
... | [
"xiaozilin1@gmail.com"
] | xiaozilin1@gmail.com |
762e231bd5169ba256276804f4b5b55b13d726e8 | a1ec33b19336ec1dfa6632131c55d8e33088ebd0 | /iaimp/aimp_sdk/Sources/Cpp/apiGUI.h | c49c846696f82a390ac96882ae7ed5e19d626ff8 | [
"MIT",
"Apache-2.0"
] | permissive | ark0f/aimp.rs | 24a468f8ce23fd38e526be7900a9bd87a5dda23a | dc2e650dd8b9b7751d40a2ff9b97cfbb3fd18967 | refs/heads/master | 2022-12-06T22:01:54.871684 | 2020-08-20T16:39:26 | 2020-08-20T16:39:26 | 279,051,798 | 0 | 0 | Apache-2.0 | 2020-08-20T16:39:28 | 2020-07-12T11:38:17 | Pascal | UTF-8 | C++ | false | false | 50,485 | h | /************************************************/
/* */
/* AIMP Programming Interface */
/* v4.60 build 2100 */
/* */
/* Artem Izmaylov */
/* ... | [
"arsenylyashenko.3@gmail.com"
] | arsenylyashenko.3@gmail.com |
02fdf6ee9972228a230261ac33cecc5ca195293e | 7443ce3c4ae8242fb7d149b099a296c1f905ef9d | /ui/aura/event_injector.h | 52c17e5b159e5dc9309dca54526a3f838cdd4c28 | [
"BSD-3-Clause"
] | permissive | KiranNiranjan/chromium | fa9f6175dfc4bebab3ee899dd3c63eb94042352f | 03c5be8133ceec5ed57df9fd40f2ffca23eaa179 | refs/heads/master | 2023-02-22T21:51:50.657102 | 2018-08-24T08:35:22 | 2018-08-24T08:35:22 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 947 | h | // Copyright 2017 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 UI_AURA_EVENT_INJECTOR_H_
#define UI_AURA_EVENT_INJECTOR_H_
#include "services/ws/public/mojom/event_injector.mojom.h"
#include "ui/aura/aura_exp... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
d69cab3da3748e3d3249adbfa0e34a9e766a6137 | ba70180c50d2fa42a48b1c54f33e94daea3baa50 | /Sources/Worker/worker.h | 5ec77a2d0acfbe16eaac49c1df7af6904bf6e4ad | [
"MIT"
] | permissive | GaMJun/Sorting-Comparison | f4f043a54a171ca20eeaa636059d717119e0fc33 | b3eef5eb99caa0b9086e73e195e1cca87257da9f | refs/heads/master | 2020-05-27T09:48:19.029002 | 2019-05-25T14:27:19 | 2019-05-25T14:27:19 | 188,572,157 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 238 | h | //
// Created by gamjun on 22/04/19.
//
#ifndef TRABALHO1_WORKER_H
#define TRABALHO1_WORKER_H
using namespace std;
#include <string>
class Worker {
public:
static void do_work(string archive_name);
};
#endif //TRABALHO1_WORKER_H
| [
"gamjun_@hotmail.com"
] | gamjun_@hotmail.com |
b4c96544a994678ce003ddfe2c5a0c394536922c | bf8a0129ea37647f40e6beea3d333d31ce8105e8 | /src/core/ui/Button.h | 3d23f1c4174bedf061ff746f07bcef35fbbe6aa0 | [] | no_license | cod3rkane/Pandora | b6a9ea8ddd2c7d1eb69ab758b2ba98e3ec341ef6 | 7f840f25035049f0e9921a542ad4af2af635148c | refs/heads/master | 2022-09-13T06:36:32.117792 | 2019-11-11T09:55:42 | 2019-11-11T09:55:42 | 162,340,891 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 560 | h | #ifndef CGAME_UIBUTTON_H
#define CGAME_UIBUTTON_H
#include <iostream>
#include "CoreComponent.h"
namespace UI {
class Button : public UI::CoreComponent {
std::function<void(void)> callback;
public:
Button(): UI::CoreComponent::CoreComponent() {
UI::CoreComponent::setInteractive(tr... | [
"jcesar.developer@gmail.com"
] | jcesar.developer@gmail.com |
6b1438618a8477afd50bfacbab7f869d69f330e2 | 6e121b4e100d4ce7c50ebedd195b2152a2b4ab1d | /include/csv_iterator.hpp | a1451bfca1717c3bd7d434eb6965e344ebf8bab1 | [] | no_license | magania/csv_iterator | 4fb01ea0b8c558daeba022cd33cfe2c75d66363b | a8f3c2f7d594f36763600ab285ef94cd0024b33d | refs/heads/master | 2021-01-17T19:09:24.671364 | 2013-11-03T09:57:43 | 2013-11-03T09:57:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,659 | hpp | #define _CSV_ITERATOR_HPP_
#include <string>
#include <istream>
#include <stdexcept>
#include <boost/tuple/tuple.hpp>
#include <boost/lexical_cast.hpp>
#include <boost/tokenizer.hpp>
#include "details/csv_helpers.hpp"
namespace csv {
template<class Tuple>
class iterator {
private:
... | [
"ancechu@gmail.com"
] | ancechu@gmail.com |
c400ca682772773c8556350504a42508bf2ccfa7 | 1fda514c3060ac74d493f5b706dee12bb9701808 | /leapfrog-game/src/bullet.cpp | 1ea7be5088d44467d0febf6243bb000180a066ea | [] | no_license | stfrha/leapfrog | dade0b55c79b20f93b058e2af75e17c273de1068 | 62e3ead7ae48b2c2ed46c174a194caa3cae8e956 | refs/heads/master | 2022-11-23T17:12:56.011099 | 2022-11-21T22:10:56 | 2022-11-21T22:10:56 | 125,433,752 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,092 | cpp | #include "bullet.h"
#include "sceneactor.h"
#include "actoruserdata.h"
#include "bodyuserdata.h"
#include "actoruserdata.h"
#include "blastemitter.h"
using namespace oxygine;
Bullet::Bullet(
SceneActor* sceneActor,
b2World* world,
const b2Vec2& pos,
const float angle,
float impulseMagnitude,
b2Vec2... | [
"mail@fredrikhoffman.se"
] | mail@fredrikhoffman.se |
98563cb3df8f9750afebcc8dc84b0fca18e625c5 | 52643d9034ebaf530cc192adf60cd04cc59c6b36 | /incompleteChess/main.cpp | 5e3313a4d2236be02413b8647ea97f5ecabd1a58 | [] | no_license | spior/uniProjects | b55740e404a74e5fab91912f7f489d6a52bb7b5f | b46b313be45edf683b5b433138f6875078eea19e | refs/heads/master | 2021-01-21T13:15:08.138816 | 2016-05-26T20:53:37 | 2016-05-26T20:53:37 | 50,751,033 | 0 | 0 | null | null | null | null | WINDOWS-1251 | C++ | false | false | 6,897 | cpp |
/*
30/01/2016
A chess program that makes you input N and M number of pieces on the board then input their type and position.
After that, it check if they can take any of the other pieces, or if they can be moved.
Incomplete though, only added pawn logic because it was very short notice.
And some other things becaus... | [
"spior@outlook.com"
] | spior@outlook.com |
efdefbb110a309652285050b4f1ececbd982b75a | 30444b3cbeb830a5a0937d43c062eef9b50272f7 | /src/systems/CooldownSystem.cpp | ee1f1e4080e28a22190e2d38d3897c43c8aa35f9 | [
"MIT"
] | permissive | sb-baifeng-sb/tddod | b3f7d6313c94d1f45b79a00aac45f549057b9f9d | d9c711a02e5bbefca4980a754ebfda9dac3cce9b | refs/heads/master | 2020-06-24T12:01:47.774221 | 2019-07-27T01:45:19 | 2019-07-27T01:45:19 | 198,958,229 | 0 | 0 | null | 2019-07-26T06:18:58 | 2019-07-26T06:18:58 | null | UTF-8 | C++ | false | false | 493 | cpp | #include "CooldownSystem.h"
#include "components/Cooldown.h"
#include "components/FindTarget.h"
void updateCooldownSystem(Registry ®istry, float dt)
{
registry.view<Cooldown>().each([®istry, dt](auto entity, Cooldown &cooldown)
{
auto delay = cooldown.delay - dt;
if (delay <= 0.0f)
... | [
"daivuk@gmail.com"
] | daivuk@gmail.com |
3d5becdcf9b14ac98b7638399e5c375d1cf49ce4 | d2f326aba2a49e30371e4656213065f4e0f2a458 | /Chef_and_Sorting.cpp | 7aa3d0be055efbfc0958e0241dc937b9dd0a8fda | [] | no_license | ShivaBansfore-JGEC/Codeforces_Contest_Question | 75231a40395b9e768e0af1cfc900eeebd0a7aad9 | ae47bec04f5b2bef8a15ee0fbe06465f4f70ec81 | refs/heads/main | 2023-07-04T11:50:18.840156 | 2021-08-02T16:16:46 | 2021-08-02T16:16:46 | 348,213,018 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 780 | cpp | #include<bits/stdc++.h>
using namespace std;
void solve(){
long long n;
cin>>n;
vector<long long> a(n);
for(int i=0;i<n;i++){
cin>>a[i];
}
long long op=0,eq=0;
for(int i=1;i<n;i++){
if(a[i-1]>a[i]){
op++;
}else if(a[i-1]==a[i]){
eq++;
... | [
"shivabansfore123@gmail.com"
] | shivabansfore123@gmail.com |
a78400a0e96300841e841e29d18b098caf1959bf | 74296c063bd65a1861ae96c23370e8ffb7f3795c | /src/masternode-sync.h | dd7f67ce3f12a0999b2d31b7f53178d2bb0f5144 | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | btcreversal/MSC_MASTER_2021 | 977933426ff65c083e8460ce8ce09e38b0f741d6 | 2602ac8dd7724c13149638d1931453222d5b81e7 | refs/heads/main | 2023-07-13T08:43:52.161365 | 2021-08-26T15:52:26 | 2021-08-26T15:52:26 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,664 | h | // Copyright (c) 2014-2019 The Dash Core developers
// Copyright (c) 2021 The MasterStakeCoin Core developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef MASTERNODE_SYNC_H
#define MASTERNODE_SYNC_H
#include "chai... | [
"math.bach.com@gmail.com"
] | math.bach.com@gmail.com |
94a366c849fb6e1388459a1e32e1716735e5ac42 | 3d1404442e2b338dd9a74ff1c72b0ac84160faa0 | /Important_Psuedocode/permutations.cpp | 77752f933140eb3c514a6fe07b18fc39e9fca271 | [] | no_license | rishilss99/InterviewBit | e82d9d2317d9cc609612abd18d9f9c52ab4bba1f | bb32c2c1cb3b8c8ad8595b3b7180d5adeeae1fee | refs/heads/master | 2023-04-17T01:52:02.567979 | 2021-04-15T14:24:36 | 2021-04-15T14:24:36 | 286,199,469 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 432 | cpp | void permutations(vector<vector<int>> &set, vector<int> A, int start = 0){
if(start==A.size()-1){
set.push_back(A);
return;
}
for(int i = start; i<A.size(); i++){
swap(A[start],A[i]);
permutations(set, A, start+1);
swap(A[start],A[i]);
}
}
vector<vector<int> > So... | [
"rishil2008@gmail.com"
] | rishil2008@gmail.com |
5971e6f3ef729782f81646aca971f00a0ab8891b | 6f9ae94ce3d41a0d19e1b5f915b7bb2bde7ea9d1 | /muduo/base/CountDownLatch.h | a923fbc264b145f3140d48d532aa3be91a80e3b7 | [
"BSD-3-Clause"
] | permissive | chudongfang/Muduo_Analysis | 75afa002653ef1ccc0695824a26b6351a67fdb05 | df346844296ac9d177948e2bce4aff5782b715f1 | refs/heads/master | 2021-01-20T10:16:09.814748 | 2018-01-01T14:08:24 | 2018-01-01T14:08:24 | 101,626,181 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 820 | h | // Use of this source code is governed by a BSD-style license
// that can be found in the License file.
//
// Author: Shuo Chen (chenshuo at chenshuo dot com)
#ifndef MUDUO_BASE_COUNTDOWNLATCH_H
#define MUDUO_BASE_COUNTDOWNLATCH_H
#include <muduo/base/Condition.h>
#include <muduo/base/Mutex.h>
#include <boost/noncop... | [
"1149669942@qq.com"
] | 1149669942@qq.com |
9131b0d9ebab2d45e6be8b5de24f79daed2ed88c | 1e41e84ddd425628a8725b7186cab5d5463236c8 | /Deskam/Deskam.h | 21c35f5e7c2d28dc6ad9fe3c7528fa3a84a74cd7 | [] | no_license | eakhtar/deskam | 67e218c8291a073ee03694d2914fa7b15aca2ca9 | f530db24304bc748a304ce708108495304b2be89 | refs/heads/master | 2016-08-11T09:22:05.215623 | 2010-03-13T17:39:32 | 2010-03-13T17:39:32 | 43,008,548 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 627 | h |
// Deskam.h : main header file for the PROJECT_NAME application
//
#pragma once
#include "SharedMemory.h"
#include "DeskamConfig.h"
#ifndef __AFXWIN_H__
#error "include 'stdafx.h' before including this file for PCH"
#endif
#include "resource.h" // main symbols
// CDeskamApp:
// See Deskam.cpp ... | [
"rickytaylor26@72bd7214-2ec1-11df-b28a-19025b8c0740"
] | rickytaylor26@72bd7214-2ec1-11df-b28a-19025b8c0740 |
adbedae4e57827b5e6345ee9ae8037dbe4bf2b72 | 12efef76938e3a4a9789013ee6492deac96f9e85 | /RadioPIC/Receptor_term2/Receptor_term2.cp | 1af25c21219577ade18687f9a2c3198a02ffd736 | [] | no_license | ELuzzi/libusb_radio_MCP2210 | 49d0349f3b3e6e10018356342e78f50fb0978027 | 74ec7d62eb1d0e724d6a1473149c65b9413674a8 | refs/heads/master | 2021-01-21T13:04:16.038387 | 2015-11-03T19:48:34 | 2015-11-03T19:48:34 | 38,726,951 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,662 | cp | #line 1 "C:/Users/User/Documents/libusb_radio_MCP2210/RadioPIC/Receptor_term2/Receptor_term2.c"
#line 116 "C:/Users/User/Documents/libusb_radio_MCP2210/RadioPIC/Receptor_term2/Receptor_term2.c"
sbit CS2 at LATC0_bit;
sbit RST at LATC1_bit;
sbit INT at RC6_bit;
sbit WAKE at LATC2_bit;
sbit CS2_Direction at TRISC0_bit;
... | [
"dudaluzzi@gmail.com"
] | dudaluzzi@gmail.com |
3e643e7a233276aba4151fdf0e4429aec1ba1f63 | e8d02b8f5e435b6339da726dad150fa56f15f9e1 | /fullscratch_graphics_programming/test_DrawPolygon.cpp | 529bb57649b2ca3a862f067ba6a4b1a776e03084 | [] | no_license | itiut/sutra-copying | 78437387b67d9a8293c0802341ac94ffe7a2d918 | a9ec1573036b51d8dde46bb3aafd7616665d278c | refs/heads/master | 2020-12-24T16:15:42.008471 | 2017-10-17T12:50:43 | 2017-10-17T12:50:43 | 29,052,819 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 652 | cpp | /* -*- compile-command: "g++ -Wall -Wextra -O2 test_DrawPolygon.cpp lib/imgdib.cpp lib/img32.cpp lib/blt.cpp lib/graphics.cpp -lm" -*- */
#include <iostream>
#include <cstdio>
#include "lib/imgdib.h"
#include "lib/graphics.h"
using namespace std;
void Test_DrawPolygon() {
CImageDIB dib(300, 300);
dib.PixelFill... | [
"t.yuichi111@gmail.com"
] | t.yuichi111@gmail.com |
3ae348faf1fdf572b6b221874e73046347950810 | 247ee1d5b412eab750964115912266cf6ead1bcd | /KirbiDSMx64-OPS/expression.h | 9144e698eb9318f2d8478080f7b280cba88d6201 | [] | no_license | fcccode/KirbiDSMx64-OPS | e0378c44e809da9c3c6928e39aeae909222ff779 | 638e85d5ebed8e68a2dfcba1faff37c8b9c73bb9 | refs/heads/master | 2020-04-01T21:21:20.474822 | 2018-09-29T20:19:16 | 2018-09-29T20:19:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 928 | h | #ifndef EXPRESSION_H
#define EXPRESSION_H
#include <QDialog>
#include <QAbstractButton>
//#include "mainhome.h"
namespace Ui {
class Expression;
}
class Expression : public QDialog
{
Q_OBJECT
public:
explicit Expression(QWidget *parent = 0);
~Expression();
private slots:
void on_lineEdit_textChanged... | [
"34746778+Kirbiflint50@users.noreply.github.com"
] | 34746778+Kirbiflint50@users.noreply.github.com |
cff5268d6b44eb03cd11d83b5bbf45437d6bab1d | ecab21462fc75df52132b11349d8e7a0dcd3218c | /net/cookies/CookieJarMgr.h | ef1d7a3687fd89d934dfdb6a180641184181ffaf | [
"Apache-2.0"
] | permissive | mensong/MiniBlink | 4688506a0e9e8f0ed5e6d6daaf470255be2a68b8 | 7a11c52f141d54d5f8e1a9af31867cd120a2c3c4 | refs/heads/master | 2023-03-29T04:40:53.198842 | 2021-04-07T01:56:02 | 2021-04-07T01:56:02 | 161,746,209 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 498 | h |
#ifndef net_CookieJarMgr_h
#define net_CookieJarMgr_h
#include <string>
#include <map>
namespace net {
class WebCookieJarImpl;
class CookieJarMgr {
public:
static CookieJarMgr* getInst()
{
if (!m_inst)
m_inst = new CookieJarMgr();
return m_inst;
}
WebCookieJarImpl* crea... | [
"mail0668@gmail.com"
] | mail0668@gmail.com |
9aa31379e9062cf5c19794b0560d764257b3f160 | 8e65370be946921a3c6153479704d75a8e2d0289 | /unitymjgvr180/src/main/cpp/Hook/HookGVR/HookGVRTools.h | 963861db50552b966e25cb2a5da7a0c9ac1d2c66 | [] | no_license | Matt-Meng/myrender | 19dfabf7505adadfb8ec7d2d1ad9bf0a8085eb45 | d568f6f3fcad33d18bf8babaf9f1b21dfd3908e0 | refs/heads/master | 2023-06-04T08:38:23.496473 | 2017-11-23T10:28:07 | 2017-11-23T10:28:07 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,879 | h | #pragma once
#include "../../Base/MojingTypes.h"
#ifdef MJ_OS_ANDROID
// from gvrtyprs.h
typedef struct gvr_context_ gvr_context;
struct gvr_frame;
struct gvr_buffer_viewport_list;
typedef struct gvr_clock_time_point
{
int64_t monotonic_system_time_nanos;
} gvr_clock_time_point;
// end gvrtyprs.h
typedef struct gvr... | [
"hgl868@126.com"
] | hgl868@126.com |
f54ec73d4941f3855248e8b9feaeea758a1289e7 | 3154bbcece564175aed0dbd91c69cd1de5b55149 | /MOT_Thesis_1551025_1551034/ImageMatching.cpp | bc586eb984fbe464ba7eb9ae7bf3aad861ff57c3 | [] | no_license | omar-Fouad/MOT_Thesis_1551025_1551034 | cd1124644e8f6f3d6cbb65bb064a64bb6c2b5908 | b33d1d3c08dee054961b5bd5e464349a81cd1cb9 | refs/heads/master | 2020-07-16T04:51:56.100019 | 2019-08-06T01:18:34 | 2019-08-06T01:18:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,470 | cpp | #include "ImageMatching.h"
using namespace cv;
int ImageMatching::getBoundingBoxImageMatching(const cv::Mat& preBBoxFrame, const cv::Mat& detectFrame,int firstDetectedId, vector<BoundingBox>& bboxList)
{
const int MIN_MATCH_COUNT = 10;
Mat objectFrame;
vector<KeyPoint> keyPoints1;
vector<KeyPoint> keyPoints2;
Mat... | [
"phylieng97@gmail.com"
] | phylieng97@gmail.com |
45d29510b5ea65f01ec8910da6cbe76cb84e5226 | a718c79034d98d34e9def6dc28c122b7e1221d46 | /solutions/998. Maximum Binary Tree IIC++ | be2a23942d78608be327d3db185c35ef76c012ca | [] | no_license | jitasi/leetcode | 7868d5c4e55ac4071629fc5bc40d6aaa00b51452 | a96b48e42d33ab15e58c9ec5a12953dac744eb1c | refs/heads/master | 2020-06-03T08:15:30.825817 | 2019-09-05T00:16:21 | 2019-09-05T00:16:21 | 191,504,824 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 806 | /* vim: set ft=cpp : */
// Runtime: 4 ms, faster than 99.42% of C++ online submissions for Maximum
// Binary Tree II. Memory Usage: 11.3 MB, less than 87.41% of C++ online
// submissions for Maximum Binary Tree II.
/**
* Definition for a binary tree node.
* struct TreeNode {
* int val;
* TreeNode *left;
... | [
"steven.ge@gmail.com"
] | steven.ge@gmail.com | |
472e7c21ebe94772b833492af98a97984505d643 | bb3917dab2954b514cda9fb3912803f91ec9bb5e | /Predicate.cpp | 91bb90c90c733dc0d2e3cc627d71715e37126155 | [] | no_license | ndriggs/parser | 82d4658e0cc8b197ed9d294148771c634ed1941e | 4861493ff691bd07d029f387bb2ad5840bc15c56 | refs/heads/master | 2022-12-23T18:59:18.614421 | 2020-09-29T15:39:39 | 2020-09-29T15:39:39 | 295,017,977 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 568 | cpp | #include "Predicate.h"
#include <string>
#include <vector>
#include <sstream>
using namespace std;
Predicate::Predicate(){
this->id = "";
}
Predicate::Predicate(string id){
this->id = id;
}
void Predicate::addId(string id){
this->id = id;
}
void Predicate::addParameter(Parameter* p){
parameters.push_back(p);
}
... | [
"nathanieldriggs@gmail.com"
] | nathanieldriggs@gmail.com |
803057cfce7681296bf3dd5827d288d93d375899 | 64920237a769821bb39a0cfcca87ab9cc9766d1f | /RTC_DS12887/RTC_DS12887.ino | 0f95902768db577d94bb3e96461970625854c957 | [] | no_license | Reverse-Lab/Arduino-Test | 6c196544d59ac0ec287de1bf3703a24576220c0c | 6ead9b5308dd6da9dabfbc22a0264506058326fd | refs/heads/master | 2023-03-20T19:03:32.576103 | 2021-03-17T13:31:53 | 2021-03-17T13:31:53 | 278,634,095 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,676 | ino |
// DS12887 ADDRESS REGISTERS
const uint8_t REGISTER_SECONDS = B00000000; // Seconds
const uint8_t REGISTER_SECONDS_ALARM = B00000001; // Seconds alarm
const uint8_t REGISTER_MINUTES = B00000010; // Minutes
const uint8_t REGISTER_MINUTES_ALARM = B00000011; // Minutes alarm
const uint8_t REGISTER_HO... | [
"65438732+Reverse-Lab@users.noreply.github.com"
] | 65438732+Reverse-Lab@users.noreply.github.com |
eae8e1485582a876d1d1f6315a7fbf5d273cb0e2 | 71bde7b9e201e744bda1fd4a937da99131a17420 | /source/old_engines/eval/evaluate_kpp_ppt/evaluate_kpp_ppt.cpp | 7412af15295eb7705177e284c446d3579fa4355c | [] | no_license | tttak/YaneuraOu | 527423b5d43c2521efb91f433739c6ffc9eb0949 | 713560be5a0e813d9cce7339491bef0db9b30e28 | refs/heads/master | 2021-06-28T18:07:30.047660 | 2018-01-23T15:18:16 | 2018-01-23T15:18:16 | 74,894,757 | 5 | 1 | null | 2016-11-27T15:02:15 | 2016-11-27T15:02:15 | null | UTF-8 | C++ | false | false | 41,791 | cpp | #include "../shogi.h"
// KPP+PPTの実験用コード。
// ほとんどevaluate_kppt.cppと同じ。
#if defined (EVAL_KPP_PPT)
#include "../shogi.h"
#include <fstream>
#include <iostream>
#include <unordered_set>
#include "evaluate_kpp_ppt.h"
#include "evaluate_io.h"
#include "../evaluate.h"
#include "../position.h"
#include "../misc.h"
#incl... | [
"yaneurao@gmail.com"
] | yaneurao@gmail.com |
dfdab7ead736a163258b78fd64b546a54d1a4f2c | e33ec438fb08f73c437894dd5c896d4632f27f55 | /src/Coroutine.cpp | d2e836863eea43bd43c0ffea98e9f8f6309920a4 | [] | no_license | pswarfound/ff_test | 5d769984dfd6f0971816ba2e05288e712a25f95a | 3014aa6bba21db06ee051b498d5e36fcf46cb92b | refs/heads/master | 2020-04-18T22:55:20.784724 | 2019-02-01T10:21:29 | 2019-02-01T10:21:29 | 167,808,047 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,327 | cpp | #include <map>
#include "Coroutine.hpp"
#include "libaco/aco.h"
using std::pair;
using std::map;
#define MARK(...) printf("%s %d]", __func__, __LINE__);printf(__VA_ARGS__);printf("\n");
Coroutine::Coroutine(void *main_hwnd, void *sstk)
: m_main_hwnd(main_hwnd), m_sstk(sstk)
{
}
Coroutine::~Coroutine()
{
if (... | [
"lin_dy_1201@163.com"
] | lin_dy_1201@163.com |
5bb067bc1e9440df6fdcf49c8415974993948397 | 4ff0ed795d0a8dac894e393c645447b297cff12d | /F6D4230v1-1.00.03-GPL/GPL_src_code/uboot/ToolChain/surfmilo/cross-dev/mips_4KC/usr/include/ncurses/cursesp.h | 88ab47720218307eb203e492f929d977e8f9c878 | [] | no_license | OEM-GPL-Releases/belkin_f6d4230-4_v1000 | e0a6c9d0fa8c837138380aab92cd3c28dc8e53d8 | e7a259a28a6c0e45280548f9e3d7d8726d441a08 | HEAD | 2016-08-12T15:38:12.884747 | 2015-10-26T08:07:40 | 2015-10-26T08:07:40 | 44,952,957 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,926 | h | // * This makes emacs happy -*-Mode: C++;-*-
/****************************************************************************
* Copyright (c) 1998,1999,2000,2001 Free Software Foundation, Inc. *
* *
* Permission is hereby granted, free of ... | [
"ultravioletnanokitty@gmail.com"
] | ultravioletnanokitty@gmail.com |
354f02f219507bce3a5827a19b23296a990d2a21 | 0dd9f9321d604cb5d3d9cef8868a19519e644ff5 | /Recover Binary Search Tree.cpp | bb4fa59865b8b41bea11e4e3b61f5517143ad9c9 | [] | no_license | JimberXin/Leetcode | a7dd0e5e60c4713c1e51193b84be1ad708dce602 | bf8e81ca7f82dc0d2da76fabc5975d0ad8506397 | refs/heads/master | 2021-01-18T18:17:48.284467 | 2015-01-10T14:28:18 | 2015-01-10T14:28:18 | 21,634,253 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,565 | cpp | #include<iostream>
using namespace std;
/*
Two elements of a binary search tree (BST) are swapped by mistake.
Recover the tree without changing its structure.
A solution using O(n) space is pretty straight forward. Could you devise a constant space solution?
* Definition for binary tree
* struct TreeNode {
* ... | [
"jimberxin@gmail.com"
] | jimberxin@gmail.com |
e76a8dbd2913b765c4730c4c98d52c551d16ec45 | cd60c72973024a80f497ead356f8036934b75613 | /miniPIC-crossroads/test/test_single_particle.cpp | 2db4e9f76eb04fef37e8d0ca0b93cdf30e0d18e1 | [] | no_license | npe9/crossroads | 4636357072706c80fba88e12cd9ac1d1d9feb84d | 9e972c4a6d8045b7e4d8bfdca36b3c5366750cc4 | refs/heads/master | 2020-07-03T18:37:32.386705 | 2019-08-12T20:46:56 | 2019-08-12T20:46:56 | 202,006,574 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,233 | cpp | /**********************************************************************************
Mini-PIC
Copyright (c) 2015, Sandia National Laboratories
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redist... | [
"nevans@sandia.gov"
] | nevans@sandia.gov |
b52c1b5919057536793ca2c70d0de2588c6f6400 | 01a42b69633daf62a2eb3bb70c5b1b6e2639aa5f | /SCUM_UI_ComboBoxWrapper_classes.hpp | 217de009fe324e6ec4a7c760ddd8bf9afa4c9d8f | [] | no_license | Kehczar/scum_sdk | 45db80e46dac736cc7370912ed671fa77fcb95cf | 8d1770b44321a9d0b277e4029551f39b11f15111 | refs/heads/master | 2022-07-25T10:06:20.892750 | 2020-05-21T11:45:36 | 2020-05-21T11:45:36 | 265,826,541 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,932 | hpp | #pragma once
// Scum 3.79.22573 (UE 4.24)
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
namespace Classes
{
//---------------------------------------------------------------------------
//Classes
//---------------------------------------------------------------------------
// WidgetBlueprintGeneratedClass UI_Comb... | [
"65712402+Kehczar@users.noreply.github.com"
] | 65712402+Kehczar@users.noreply.github.com |
39f47861934f3759d7d5b431e4fa197a2dcba439 | c591b56220405b715c1aaa08692023fca61f22d4 | /Disha/Milestone-2/Level 1/Question-11.cpp | 8073c84c5d7291aeb6a53f8b685a8a7dbec6a153 | [] | no_license | Girl-Code-It/Beginner-CPP-Submissions | ea99a2bcf8377beecba811d813dafc2593ea0ad9 | f6c80a2e08e2fe46b2af1164189272019759935b | refs/heads/master | 2022-07-24T22:37:18.878256 | 2021-11-16T04:43:08 | 2021-11-16T04:43:08 | 263,825,293 | 37 | 105 | null | 2023-06-05T09:16:10 | 2020-05-14T05:39:40 | C++ | UTF-8 | C++ | false | false | 411 | cpp | //Write a program to check whether a entered character is lowercase ( a to z ) or uppercase ( A to Z )
using namespace std;
#include<iostream>
int main()
{
char ch;
cout<<"\n Enter an alphabet : ";
cin>>ch;
if(ch>=97&&ch<=122){
cout<<"\n Entered character is lowercase \n";
}
else if(ch... | [
"disha2.bhardaj@gmail.com"
] | disha2.bhardaj@gmail.com |
30373afb96e90f2153be5aee0c558e752f6f182c | 66b7d32704550b0c65d43955c942c515ebaa11b0 | /inc/verline.h | 5104f0b6435b3987196b394284eff7b9e8845a62 | [] | no_license | CritStab/MKE | 6ba538662e2ab645aab6aab7ba636ceb4b772bef | f598fe20c27209729d568f39ac51e1b4b13cbd9d | refs/heads/master | 2021-06-11T01:23:22.170477 | 2016-12-22T11:02:02 | 2016-12-22T11:02:02 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 384 | h | #include "MKE04Z1284.h" // Device header
#include "shape.h"
#include "colors16bit.h"
#ifndef VERLINE_H
#define VERLINE_H
class Verline : public Shape
{
private:
uint16_t x, y, color, length;
uint8_t thick;
public:
Verline (uint16_t x_, uint16_t y_, uint16_t color_, uint16_t length_, u... | [
"creator83@yandex.ru"
] | creator83@yandex.ru |
296214848d66dd32fc452c8f3586e28f9501dadd | 1c711f642328e5195cbbb61760a83f4a8ff6977a | /assets/src/leetcode/problemset/1189.cpp | 8fb34719de9a1b16c5677a74a4555334f494d3e3 | [] | no_license | liuxueyang/liuxueyang.github.io | 29d85b989e5938e964b70c9616a418e13003212e | 86e10cb6137d930c2ac81f2ae20318eb1354f2b5 | refs/heads/master | 2023-03-07T13:06:17.366563 | 2023-03-01T14:41:41 | 2023-03-01T14:41:41 | 17,851,538 | 2 | 0 | null | 2023-01-31T04:00:56 | 2014-03-18T02:46:21 | C++ | UTF-8 | C++ | false | false | 573 | cpp | #include <string>
using namespace std;
const int INF = 0x3f3f3f3f;
class Solution {
public:
int maxNumberOfBalloons(string text) {
string s = "balloon";
int st[26] {}, sa[26] {}, res = INF;
for (int i = 0; i < s.size(); i++) {
st[s[i] - 'a']++;
}
for (int i = 0;... | [
"liuxueyang457@gmail.com"
] | liuxueyang457@gmail.com |
e38617a7a5b09748c505baca82bdded8db75cbee | 936dd249682d239699aa0d4b1457c82412888866 | /include/posix_obj.h | d332c152dcd825be8f9fa5491a27283ddb812618 | [] | no_license | lineCode/ipclib | 1e11984ff7c7498769efbb3e835ba9d7e335c201 | 2e8a678c4c8ceac564fab99a8b5a73ef730ebcd7 | refs/heads/master | 2021-06-27T01:40:08.637899 | 2017-09-09T11:37:24 | 2017-09-09T11:37:24 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 584 | h | #ifndef _POSIX_OBJ_H_
#define _POSIX_OBJ_H_
#include <string>
#include <sys/stat.h>
#include "result.h"
namespace ipclib {
class Posix_obj {
protected:
static const mode_t DEFAULT_PERMISSION = 0644;
Result init_err;
std::string name;
public:
Posix... | [
"gen.iorio92@gmail.com"
] | gen.iorio92@gmail.com |
97b6ff011b0807e87affa5bc23e86f8d11f0fada | df83d8921c12ca0f5bd9f7a40551b120b1c9e74d | /MS4/ms4_VehicleTester.cpp | ce753c098e9a939de006747e1f331704e4bc0d2f | [] | no_license | yparam98/OOP244-NEW | ef034fe82199426d4d23b5941a6458ee68d6873f | 12c8ae0b9325db8ac262e529749805ba2ad98679 | refs/heads/master | 2022-11-28T23:11:35.980945 | 2020-08-16T03:45:35 | 2020-08-16T03:45:35 | 265,616,215 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 4,286 | cpp | /* ------------------------------------------------------
Final Project Milestone 4
Module: ReadWritable
Filename: ms4_VehicleTester.cpp
Version 1.0
Author Fardad Soleimanloo
Revision History
-----------------------------------------------------------
Date Reason
2020/7/4 Preliminary release
---------------------... | [
"yathavanparamesh1998@gmail.com"
] | yathavanparamesh1998@gmail.com |
46f059876348cb1b308c455d882105ce06d141a1 | d0fb46aecc3b69983e7f6244331a81dff42d9595 | /sgw/src/model/ValidateExpressSyncConfigResult.cc | f17d555febf2ca3d3b02d1753206c552b59b658b | [
"Apache-2.0"
] | permissive | aliyun/aliyun-openapi-cpp-sdk | 3d8d051d44ad00753a429817dd03957614c0c66a | e862bd03c844bcb7ccaa90571bceaa2802c7f135 | refs/heads/master | 2023-08-29T11:54:00.525102 | 2023-08-29T03:32:48 | 2023-08-29T03:32:48 | 115,379,460 | 104 | 82 | NOASSERTION | 2023-09-14T06:13:33 | 2017-12-26T02:53:27 | C++ | UTF-8 | C++ | false | false | 2,122 | 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... | [
"sdk-team@alibabacloud.com"
] | sdk-team@alibabacloud.com |
c522eff2fa4540e7cfa20174f13f9e3524ea447b | a181a8e4c629a5337e19a6cd1a59007464935bbb | /src/hr/wx_authorise.hpp | 05bda4def0c78d3555a5cd78d4c69dedda8904ab | [] | no_license | ddpub/cafe | 1dfde966cbee6acb1cd622370d4291946dfe41e1 | e7ba88d1c9dcc1e449ebc6a2401c1f21192eac00 | refs/heads/master | 2021-10-27T21:56:56.684590 | 2011-10-02T18:31:19 | 2011-10-02T18:31:19 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 239 | hpp | #ifndef DMITRY_DERGACHEV_12_08_2008_WX_AUTHORISE_H
#define DMITRY_DERGACHEV_12_08_2008_WX_AUTHORISE_H
#include "auth_f.h"
#include <connect.hpp>
int wx_mng_auth();
int wx_person_auth();
ksi_client::oracle_session_i* wx_unlock();
#endif
| [
"dmitry.dergachev@gmail.com"
] | dmitry.dergachev@gmail.com |
411cc0ad7f7575aa4d5a6899fa7522f490e26e5b | 88137b65a7e48fbb9ea9d2b54a9809f21fbcb0d3 | /Basic-EED1005/averagee.cpp | 98454e8eb48a73a09b5a9a52461e59b5852b4147 | [] | no_license | OnurcanKoken/Introduction-to-C | db8ed750c6104cfc26120c8c47aad3e76f31dd4c | c87c6e4fe46c7711e903e53e847f6be80cc8ae3f | refs/heads/main | 2023-07-03T23:08:44.362308 | 2021-08-04T03:52:56 | 2021-08-04T03:52:56 | 392,539,295 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 238 | cpp | #include <stdio.h>
#include <conio.h>
int main(void)
{
int age[10]={24,15,54,35,13,40,38,21,18,32};
float average;
int i;
for(i=0;i<10;i++){
average+=age[i];
}
printf("Average = %.1f",average/10);
getch();
return 0;
}
| [
"onur-koken@hotmail.com"
] | onur-koken@hotmail.com |
5f9704f139700a3cbd34ece4066cd8891062bc46 | 7566801b51c12cf8d55cb8b4c3c973ad57b9d728 | /include/sonar_image_proc/DrawSonar.h | 83e4003b3657d72dcac841ccbea3ae476e39e348 | [
"BSD-2-Clause",
"BSD-3-Clause"
] | permissive | mahmoud-a-ali/sonar_image_proc | d96acad603a9480df171342cd4242d935e96cc32 | 127abee851ccf8fb17f530804c1e79e32677233b | refs/heads/master | 2023-04-02T01:42:31.216867 | 2021-03-30T12:20:00 | 2021-03-30T12:20:00 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 500 | h | #pragma once
#include <memory>
#include <opencv2/core/core.hpp>
#include "sonar_image_proc/ColorMaps.h"
#include "sonar_image_proc/AbstractSonarInterface.h"
namespace sonar_image_proc {
cv::Size calculateImageSize( const sonar_image_proc::AbstractSonarInterface &ping, cv::Size hint, int pixPerRangeBin = 2, float ... | [
"amarburg@uw.edu"
] | amarburg@uw.edu |
cd91cb8ed2d04c64f258234d74c7bc415762b4a0 | 1a811644a0ea8aea9ee61c62eecb4f23eba6fe25 | /Source/MediaInfo/Archive/File_Iso9660.h | 818fb6a89bf9e07f38bae95cd8f670f1dc93825d | [
"BSD-2-Clause",
"LicenseRef-scancode-unknown-license-reference",
"NCSA",
"LGPL-2.0-or-later",
"curl",
"Zlib",
"GPL-1.0-or-later",
"MPL-2.0",
"Apache-2.0"
] | permissive | MediaArea/MediaInfoLib | 6b9542892996428c4a966bfd8743adc334bb9077 | 731e3b57c1f9dfa84bfccf3396c0485766b65ea2 | refs/heads/master | 2023-09-03T21:03:52.307978 | 2023-08-16T07:49:44 | 2023-08-16T07:49:44 | 22,110,149 | 576 | 209 | BSD-2-Clause | 2023-09-14T13:44:33 | 2014-07-22T15:50:26 | C++ | UTF-8 | C++ | false | false | 2,826 | h | /* Copyright (c) MediaArea.net SARL. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license that can
* be found in the License.html file in the root of the source tree.
*/
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
//
// Information about I... | [
"jerome@mediaarea.net"
] | jerome@mediaarea.net |
1e4214c4b755428af2a36297c260e4c0c1450d0a | 6c639883043f771b446aa8b5b1a45cc7d0951ca2 | /src/redis_slot.h | 408f9c2310d65a4fde25766521bce693a6830489 | [
"MIT"
] | permissive | raceli/kvrocks | d429193535ad22c8b4d781e54fce35a0540abba9 | 66d5dc0a069c656c648c6603ff1e86645da0ab5d | refs/heads/master | 2020-09-06T13:13:25.862996 | 2019-11-08T08:08:52 | 2019-11-08T08:08:52 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,329 | h | #pragma once
#include <rocksdb/status.h>
#include <rocksdb/write_batch.h>
#include <rocksdb/db.h>
#include <string>
#include <vector>
#include <thread>
#include "encoding.h"
#include "redis_db.h"
// crc32
#define HASH_SLOTS_MASK 0x000003ff
#define HASH_SLOTS_SIZE (HASH_SLOTS_MASK + 1)
const uint32_t IEEE_POLY = 0x... | [
"karelrooted@gmail.com"
] | karelrooted@gmail.com |
d560b237a415b293df0f2b25c8fbc62a2df3d4eb | f86cf438dd3f204ae4783e043a426b7f1fce4803 | /src_nodes/leradnode/leradnode.cpp | 9d202988c9a703c69a2b03dcaa17a44a60d5f769 | [] | no_license | tadasamantri/anise_framework | 4143e0de5c656b61cc2843cb7cf998f6d1681739 | 33b2ffdc3c687a0b9d25896a346f7fa062a99663 | refs/heads/master | 2020-12-25T04:54:28.222084 | 2015-08-28T14:54:37 | 2015-08-28T14:54:37 | 42,894,360 | 0 | 0 | null | 2015-09-21T21:22:53 | 2015-09-21T21:22:52 | null | UTF-8 | C++ | false | false | 12,907 | cpp | #include "leradnode.h"
#include "data/datafactory.h"
#include "data/messagedata.h"
#include "tabledata/tabledata.h"
#include <QDebug>
#include <QList>
#include <QFile>
//------------------------------------------------------------------------------
// Constructor and Destructor
CLeradNode::CLeradNode(const CNodeConf... | [
"carloscg@gmail.com"
] | carloscg@gmail.com |
151047e37fa19384aa27745877859a17419d5e05 | 3fef24a77e918dbae6e7d36f5776f28eb111f7aa | /src/operator/contrib/multi_proposal.cc | cd00e877a11d42663df080dd7c7f26814b8ead1e | [
"Apache-2.0",
"BSD-2-Clause",
"LicenseRef-scancode-unknown-license-reference",
"MIT"
] | permissive | Jopyth/BMXNet | db642963c980c79b95476effbb9e98fc370d20a6 | 2d4f7f4553b1103c4309b0f8c4b51d823e234b69 | refs/heads/master | 2020-03-30T01:24:15.004207 | 2018-07-05T12:42:44 | 2018-09-27T11:22:20 | 150,574,165 | 17 | 1 | Apache-2.0 | 2018-09-27T11:09:07 | 2018-09-27T11:09:07 | null | UTF-8 | C++ | false | false | 2,778 | cc | /*
* 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 ... | [
"piiswrong@users.noreply.github.com"
] | piiswrong@users.noreply.github.com |
2cbb3e73fa14ec7655a316df3fcb7e88b8b8364c | cc21ea29b28127d4e2a751c11c1108ad01114d29 | /2ºcuatrimestre/MP/sesion10/src/Matriz2D_2_Asignacion_Acceso.cpp | f2e418551cf7300cdda2c2354224d725c0e1fa90 | [] | no_license | AlbitaMoreno/Primero | 46ef749acdaacdb569500dff6108b5f793c12bae | 200d6fb5302e285974f0133a5c6706be409bf191 | refs/heads/master | 2021-01-19T00:44:14.742612 | 2016-11-12T12:20:05 | 2016-11-12T12:20:05 | 73,213,699 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,280 | cpp | //
// CURSO 2015-2016
// Alba Moreno Ontiveros
//
//Matriz2D_2_Asignacion-Acceso.cpp
//
/***************************************************************************/
#include <iostream>
#include "Matriz2D_2_Asignacion_Acceso.h"
using namespace std;
/****************************************************************... | [
"albamoreno.ontiveros@gmail.com"
] | albamoreno.ontiveros@gmail.com |
ccaa28e21529accc89b09336395a15807e533f76 | de7e771699065ec21a340ada1060a3cf0bec3091 | /analysis/common/src/test/org/apache/lucene/analysis/pt/TestPortugueseMinimalStemFilter.h | dbe2474761b2e66fe8bfaeba1d5bb2d45e2bdd7b | [] | no_license | sraihan73/Lucene- | 0d7290bacba05c33b8d5762e0a2a30c1ec8cf110 | 1fe2b48428dcbd1feb3e10202ec991a5ca0d54f3 | refs/heads/master | 2020-03-31T07:23:46.505891 | 2018-12-08T14:57:54 | 2018-12-08T14:57:54 | 152,020,180 | 7 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,885 | h | #pragma once
#include "../../../../../../../../../core/src/java/org/apache/lucene/analysis/Analyzer.h"
#include "../../../../../../../../../test-framework/src/java/org/apache/lucene/analysis/BaseTokenStreamTestCase.h"
#include "stringhelper.h"
#include <memory>
#include <stdexcept>
#include <string>
#include <deque>
/... | [
"smamunr@fedora.localdomain"
] | smamunr@fedora.localdomain |
e0e50cfbef6095e6267b37e28a9fe7a1e9012dd1 | 7163af166893b2bdd710bf652771c09f99106e26 | /OpenSim/Analyses/osimAnalysesDLL.cpp | 32c083796b20a951db84c6fa026d32692b0c15c3 | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | tgeijten/opensim3-scone | 6b73125c7ca438b26b80b04f55f061e0e7f314cb | ffa32e4e098ef364948781444e4ea7f3bab2e845 | refs/heads/master | 2021-06-20T02:41:28.315713 | 2021-01-28T13:19:08 | 2021-01-28T13:19:08 | 180,564,353 | 1 | 2 | NOASSERTION | 2021-01-14T16:17:41 | 2019-04-10T11:09:17 | C++ | UTF-8 | C++ | false | false | 3,458 | cpp | /* -------------------------------------------------------------------------- *
* OpenSim: osimAnalysesDLL.cpp *
* -------------------------------------------------------------------------- *
* The OpenSim API is a toolkit for musculoskeletal modeling and simulation. *
... | [
"tgeijten@gmail.com"
] | tgeijten@gmail.com |
c5f0a4e1b7eb8ba3cea4675d23b2e290b4d08335 | 4b8c6ce034e9078fc6dce2ad5ec3789a4e8e8581 | /Snake/Game.h | e2e05e4f6b98c962e54ab31e8b03023cdc5bdcd9 | [] | no_license | Icaka/Snake | 3160b1db2b272cea5939e248fbb0d104acfb4402 | d64715503b93c9618a5b69231becc110db66d254 | refs/heads/main | 2023-04-17T00:53:03.580330 | 2021-05-10T15:53:09 | 2021-05-10T15:53:09 | 365,374,535 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 702 | h | #pragma once
#include <SFML/Graphics.hpp>
#include "SnakePart.h"
const int MATRIX_SIZE = 15;
const int STARTING_TAIL = 5;
const int MAX_SNAKE_LENGTH = MATRIX_SIZE * MATRIX_SIZE;
class Game
{
private:
sf::RenderWindow window;
sf::RectangleShape matrix[MATRIX_SIZE][MATRIX_SIZE];
SnakePart head;
int tailLength = START... | [
"ico.ezekiev@gmail.com"
] | ico.ezekiev@gmail.com |
a1c1c69876d2634e13f1608bc26e99ebc68f80da | 328d1436f0c7e876506321425a5f3503b6984db0 | /BRDFs/GlossySpecular.cpp | f9a2540843aeb17ac48472ad932afbc140dd97c7 | [] | no_license | ghostec/White2 | d0555d91698a782bb416c4f2139fc2d9afbe299d | f55015691a696342532ecab10656db82e576d48a | refs/heads/master | 2021-01-10T11:18:14.155426 | 2016-01-18T18:05:07 | 2016-01-18T18:05:07 | 46,703,759 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,006 | cpp | #include <cmath>
#include "GlossySpecular.h"
GlossySpecular::GlossySpecular(void) : BRDF(), ks(0.0), cs(0.0) {}
RGBColor GlossySpecular::f(const ShadeRec& sr, const Vector3D& wo, const Vector3D& wi) const
{
RGBColor L;
float ndotwi = sr.normal * wi;
Vector3D r(-wi + 2.0 * sr.normal * ndotwi);
float rdotwo = r... | [
"yuriabrito@gmail.com"
] | yuriabrito@gmail.com |
e60d9c32098d40e9d975ea35a6e79d43aa86c225 | cc2509b0bd337361edf91cc4b67b66d6b4b52738 | /Map/OperationGraduation_V8_10/mini.cpp | 7a832c5b6ecde815e32c3c28e4161d3204088487 | [] | no_license | espinozahector/CIS17B_Rogue_Game | dbd02bba7592eedb19072402fdc070a1282dd0b9 | 155611aca141681accd6b88f59215f95feed7ef2 | refs/heads/master | 2021-01-12T11:58:53.021843 | 2016-12-15T00:34:36 | 2016-12-15T00:34:36 | 68,877,253 | 0 | 0 | null | 2016-09-24T20:30:55 | 2016-09-22T02:36:55 | Makefile | UTF-8 | C++ | false | false | 914 | cpp | #include "mini.h"
mini::mini(QWidget *parent) : QGraphicsView(parent)
{
miniR = 9;
miniC = 9;
lastX = 4;
lastY = 4;
miniScene = new QGraphicsScene();
miniScene->setSceneRect(0,0,350,150);
this->setAttribute(Qt::WA_ShowWithoutActivating);
setFixedSize(350,150);
setScene(miniScene);
... | [
"espinozahector68@gmail.com"
] | espinozahector68@gmail.com |
9b748dfba67eb794ee63b96765ae8f2a75e00e0a | 16a40bab6d139fe4db092b5d2cb3be50625dff98 | /include/rev/CANDigitalInput.h | aa66ac27ffbc01bf1e74f4ccf18c59b1bac6f22b | [] | no_license | medengineer/Phoenix-Linux-SocketCAN-Example | 6eb3036c871e6dc124ad27893b4b7143d68f14a9 | d9e0ce1c6a0f07562ba5ba1c59319d43c8001677 | refs/heads/master | 2021-03-22T13:41:19.038519 | 2020-03-16T02:58:14 | 2020-03-16T02:58:14 | 247,370,220 | 0 | 0 | null | 2020-03-14T23:38:24 | 2020-03-14T23:38:24 | null | UTF-8 | C++ | false | false | 3,107 | h | /*
* Copyright (c) 2018-2020 REV Robotics
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice,
* this list of conditions and the followi... | [
"pavelkulik@hotmail.com"
] | pavelkulik@hotmail.com |
d8ae82c0a1fcfc19c24fe0d5c6d3eb6adf27c920 | 20319fabbb69e93f89a48f0819f4a88325852ce7 | /658-2/C.cpp | 4b282b54526d7d089ec7523a04354048f1ddd709 | [] | no_license | richzli/codeforces | 61cc9b1b1f69be61305ec062ed3069e1ee0da6d0 | fefbe3d51da6265148bcc3acdab503e397156d7e | refs/heads/master | 2021-07-18T08:33:40.089418 | 2021-07-14T07:16:28 | 2021-07-14T07:16:28 | 222,715,340 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,605 | cpp | #include <iostream>
#include <string>
#include <deque>
#include <vector>
using namespace std;
int t, n;
string a, b;
deque<char> A, B;
vector<int> ops;
bool reverse;
int main() {
std::ios::sync_with_stdio(false);
cin.tie(nullptr);
cin >> t;
for (; t>0; t--) {
cin >> n;
cin >> a;
... | [
"richzli01@gmail.com"
] | richzli01@gmail.com |
8b92cafb16c33e3e12dd9afe85de346ed056bbf4 | ed972cfade9539c6d1632f53ce448f410fe1f7ab | /libraries/app/database_api.cpp | a731d0c9d61c3a3eae94a944df91e8422f65d954 | [
"LicenseRef-scancode-warranty-disclaimer",
"MIT"
] | permissive | horsecoin/surfd-master | 042e6a573800ecc726d773fdfdcdca895ef0ee17 | 7892fa91305f84322b96593555d759b21dcb0bc9 | refs/heads/master | 2020-05-02T02:30:08.648667 | 2019-03-27T06:51:04 | 2019-03-27T06:51:04 | 177,705,831 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 71,639 | cpp | #include <surf/app/api_context.hpp>
#include <surf/app/application.hpp>
#include <surf/app/database_api.hpp>
#include <surf/protocol/get_config.hpp>
#include <surf/chain/util/reward.hpp>
#include <fc/bloom_filter.hpp>
#include <fc/smart_ref_impl.hpp>
#include <fc/crypto/hex.hpp>
#include <boost/range/iterator_range... | [
"nickmthompson@mail.com"
] | nickmthompson@mail.com |
7f83c269740fc9a198d83ec9a3a27269b520cce5 | eb2ecd17bc9e72dc02cf9296e4179fcf81fda353 | /ProjectEuler/ProjectEuler/ConfirmedSolutions.h | 09fe44c195d6ea7866b0629526231cd44a09c5d2 | [] | no_license | Schwarf/MyEP | 35ba27a96aa2887f5d6fe406b9449c7a1ae1c598 | fe978de3c52f4e9f1a26925535897c3ce4158b18 | refs/heads/master | 2020-04-01T07:27:36.737408 | 2018-10-14T15:59:50 | 2018-10-14T15:59:50 | 152,990,891 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 496 | h | constexpr int Solution7Result = 104743;
constexpr int Solution12Result = 76576500;
constexpr long long int Solution13Result = 5537376230ull;
constexpr int Solution14Result = 837799;
constexpr long long int Solution15Result = 137846528820; // use 40!/20!/20!
constexpr int Solution16Result = 1366;
constexpr int Solution... | [
"andreas.b.scharf@gmail.com"
] | andreas.b.scharf@gmail.com |
d165a6dc643a84f19237cf7dbcdaf7c91051b51f | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/CMake/CMake-gumtree/Kitware_CMake_repos_log_747.cpp | 42335e70b76ee2ce8aa2bc444b1461fd5dc9c86f | [] | 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 | 93 | cpp | archive_set_error(&a->archive, errno,
"Can't read temporary file(%jd)", (intmax_t)rs); | [
"993273596@qq.com"
] | 993273596@qq.com |
17814fc18f7f28fe43f58daec13d8f1e44944117 | 7f45fa54386a7e2bb86b4bcfb04ff0a31d63703c | /algorithms/0553/optimalDivision.cc | d242080313e0c6a849d3ce0ee9e18b2bc6ae1e67 | [] | no_license | ejunjsh/leetcode | e3ca7e30eea89dd345b286264bd64695e5faaf73 | 5aa8d70939acd9180c1e8d351a72b2cfcd4ff04f | refs/heads/master | 2021-08-31T22:19:20.522206 | 2021-08-25T07:47:47 | 2021-08-25T07:47:47 | 160,124,292 | 4 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 448 | cc | class Solution {
public:
string optimalDivision(vector<int>& nums) {
string ans;
if(!nums.size()) return ans;
ans = to_string(nums[0]);
if(nums.size()==1) return ans;
if(nums.size()==2) return ans + "/" + to_string(nums[1]);
ans += "/(" + to_string(nums[1]);
f... | [
"sjj050121014@163.com"
] | sjj050121014@163.com |
3f0bc01604d5c3d7ac12cbacda5c819703bbca26 | d15974bd9be637c6a9fb334b01799e4aef5a2939 | /atmos-master/src/walletdb.cpp | d50392888fbf5a17242272938cfc27a99a9cdb8d | [
"MIT"
] | permissive | asphyxiating/atmostemp | 1d4b8eda5d0505550036cb74a6e22f89420e16cb | 11ece5f71585b7d6c72925f92460714dfccdbdd3 | refs/heads/master | 2021-01-19T04:28:22.884122 | 2017-04-06T02:08:38 | 2017-04-06T02:08:38 | 87,375,279 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 27,347 | cpp | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2012 The Bitcoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "walletdb.h"
#include "base58.h"
#include "protocol.h"
#include "seriali... | [
"asphyxia@novusphere.io"
] | asphyxia@novusphere.io |
e38a537fbc03611fb244fde247c49a66d828d871 | 2f03b49a8948ed0b1cde6fe2b896b71bc008125c | /defenceSolution/defence/Map.h | 0c657c24741bd07eeb8197459510f5cb51aededd | [] | no_license | markus456/peliohjelmointi | 666cccdb1d07e38352904401f44f8f1cd954003b | 196904e4cddc43564edf8e65c5fa9a828de7b443 | refs/heads/master | 2020-04-08T06:30:11.260359 | 2014-05-05T11:48:25 | 2014-05-05T11:48:25 | null | 0 | 0 | null | null | null | null | ISO-8859-1 | C++ | false | false | 604 | h | #include <fstream>
#include <SDL.h>
const int TILE_GRASS = 0;
const int TILE_WATER = 1;
const int TOTAL_TILES = 2; //monta eri tiiltä sheetissä
const int TILE_SIZE = 32; //tiilen koko pikseleinä(neliö), käytetään position määrittämiseen
class Map //alustaa ja piirtää kartan
{
private:
SDL_Surface* terrainTiles; /... | [
"markus.makela@metropolia.fi"
] | markus.makela@metropolia.fi |
d0d6fdd3981ffccbcfacaddb3aade7fce368e875 | d66c0c9002a4c32262cd9308fb5a1b3bb6c81523 | /chapter01/1.05.cpp | 93f7edff03d13f988cdcf313fb48fb4a53d78ae6 | [] | no_license | joaorlima/CppPrimer | 02936c473e257bb2e3062197253a15b31e82ec55 | 71600446eae50544d5e333feeb51d1d4dc007561 | refs/heads/master | 2020-03-28T21:26:31.869712 | 2018-09-17T16:41:46 | 2018-09-17T16:41:46 | 149,155,673 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 299 | cpp | #include <iostream>
int main()
{
std::cout << "Enter two numbers: " << std::endl;
int a = 0, b = 0;
std::cin >> a >> b;
std::cout << "The sum of " << a << std::endl;
std::cout << "and " << b << std::endl;
std::cout << "is equal to " << a + b << std::endl;
return 0;
}
| [
"joao.rlima@hotmail.com"
] | joao.rlima@hotmail.com |
36550c73aebb9c4249afe442250b659a9f33f676 | 049e954758b66dd033cdc696655df1b06886db1e | /zetasql/public/functions/date_time_util_internal.h | 7ee68d78e045bbd49a821015301be8f002b4a053 | [
"Apache-2.0"
] | permissive | SINHASantos/zetasql | b998570e2b8f973ae376389ecde68092490e2ff4 | 54d659fe8682392908d6a823deececa203e7e59b | refs/heads/master | 2023-08-15T01:09:23.818432 | 2023-08-07T23:57:33 | 2023-08-08T00:13:26 | 239,835,555 | 0 | 0 | Apache-2.0 | 2023-09-06T00:02:56 | 2020-02-11T18:34:12 | C++ | UTF-8 | C++ | false | false | 3,418 | h | //
// Copyright 2019 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to ... | [
"matthewbr@google.com"
] | matthewbr@google.com |
e93dc9df7aac176a76c2dc0de85af97bb2310290 | 10e427b3d7d5dead84e76f7961df2acad6e98994 | /source/App/TAppDecoder/TAppDecCfg.cpp | 4082454a09a7c1faff54450165b77b127d90568c | [] | no_license | sgblasi/LRSP | 3da228aa6031765515cbeb6a5cc2006d8d14d4c8 | 9e7b5696c3b3adae8da37f314458a58a3c357129 | refs/heads/master | 2016-09-11T11:44:50.953722 | 2014-06-26T09:17:44 | 2014-06-26T09:17:44 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,409 | cpp | /* The copyright in this software is being made available under the BSD
* License, included below. This software may be subject to other third party
* and contributor rights, including patent rights, and no such rights are
* granted under this license.
*
* Copyright (c) 2010-2013, ITU/ISO/IEC
* All rights reser... | [
"s.blasi@qmul.ac.uk"
] | s.blasi@qmul.ac.uk |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.