blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 4 201 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 7 100 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 260
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 11.4k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 17
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 80
values | src_encoding stringclasses 28
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 8 9.86M | extension stringclasses 52
values | content stringlengths 8 9.86M | authors listlengths 1 1 | author stringlengths 0 119 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
8ab6502d9007ffda3c2a00a3b0a0d026b581e268 | 1612db65c0b1070b09d1c655db62d68df0ac4030 | /MyMario/MyMario/pipeline.cpp | 32337b5525112eb739d6da6aa2b0cdca4ce5aba7 | [] | no_license | monk2846733026/monk2846733026 | ea56b2fdf86428ea7b18002d539975fa4e30fbbe | ba26653898f988060dc1149cb7bbb676c5e0b7df | refs/heads/master | 2022-06-17T02:53:28.984985 | 2022-05-26T02:36:58 | 2022-05-26T02:36:58 | 239,967,965 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 49 | cpp | #include "pipeline.h"
Pipeline::Pipeline()
{
}
| [
"60962648+monk2846733026@users.noreply.github.com"
] | 60962648+monk2846733026@users.noreply.github.com |
7fa38c71bb821fbda00ef7c859fcac1157d34ac9 | f2a8134e2d08609100cdfac942614b314b5385f9 | /galvanoServoCoilMotorSPI/galvanoServoCoilMotorSPI.ino | eb1e67da2f2cba688b3f599fde6354be2bb5e1d7 | [] | no_license | sakaguti/Arduino | c568180cf799a60ba391f4d514d7b95b77e057b4 | 97393ac950a1f6dd821fbe46c95c419776b3071e | refs/heads/master | 2021-05-01T14:18:51.936144 | 2018-05-02T07:08:29 | 2018-05-02T07:08:29 | 121,082,106 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 34,414 | ino | /*
* DRV8835 端子
* M2PWM Pin 35 B2
* M1PWM Pin 34 A2
* M2DIR Pin 33 B1
* M1DIR Pin 32 A1
*
* VSPI 端子
* GPIO #18 —– SCLK ( SPI Clock )
//
* GPIO #23 —– MOSI ( Master Output Slave Input )
* GPIO #19 —– MISO ( Master Input Slave Output )
* GPIO #05 —– CS1 ( Chip Select )
* ... | [
"sakaguti3@icloud.com"
] | sakaguti3@icloud.com |
2d88034dbdbed76fd6cf28da7de2e406c8654c5b | f83e3a9466f1483fe0c3e980fb73a8f430dfd9fa | /Project5/Project5/KTRoboScene.h | 71847abc925e1543bea1c785549599622832b57f | [] | no_license | atarou32/KTROBO | b874856b9cf4d79bc55836522fa5392ce473e6aa | f59dbf65ca7c010d61ad45047ed27d97d684d9c7 | refs/heads/master | 2021-01-10T14:05:11.140462 | 2018-10-21T04:01:12 | 2018-10-21T04:01:12 | 49,708,374 | 1 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 5,248 | h | #ifndef KTROBOSCENE_H
#define KTROBOSCENE_H
#pragma once
#include "KTRoboGraphics.h"
//#include "KTRoboGame.h"
#include "lua.hpp"
#include "MyDefine.h"
#include "KTRoboGameError.h"
#include "KTRoboTask.h"
#include "MyTokenAnalyzer.h"
#include "KTRoboInput.h"
#include "string.h"
#include "mmsystem.h"
#include "MyButuka... | [
"atarou32@yahoo.co.jp"
] | atarou32@yahoo.co.jp |
74a4c41ab2375e55f78b84729c5161dae7f27ba7 | 18b3d06a8a93839f7e7a1cf536a71bfc0adf8e20 | /src/agitr/src/spawn_turtle.cpp | 6cff1ec9b4687a48d45d3efd295c2d0c0c82c985 | [] | no_license | akingse/ros_tutorial_ws | dc52cbbf443f7823a0abd9223fef076cf959a24e | 7c776d2f62af0455a899c80e171d5210e0a8b382 | refs/heads/main | 2023-03-01T04:48:54.510004 | 2021-02-08T14:08:18 | 2021-02-08T14:09:30 | 337,094,532 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,076 | cpp | // This program spawns a new turtlesim turtle by calling the appropriate service .
#include <ros/ros.h>
// The srv class for the service .
#include <turtlesim/Spawn.h> //再生
int main( int argc , char ** argv ) {
ros::init( argc , argv , "spawn_turtle") ;
ros::NodeHandle nh ;
// Create a client object for th... | [
"akingse@qq.com"
] | akingse@qq.com |
1897f42d4926876a66dd2e2af11b45552994d8de | ab0e753a502e2b3dc7c74d7c12ea62c77191dce1 | /modules/video/src/bgfg_gaussmix2.cpp | 3c39b33d183ef902097da1d8d0fea75b938f0cca | [] | no_license | blackberry/OpenCV | d856fd4307177d61643f8a0ef7efbf27dd5210c1 | 36ec71cd6dd167ba3dcb699f9a9639598953f0e3 | HEAD | 2016-09-01T21:24:21.082564 | 2012-09-17T14:50:47 | 2012-09-17T14:50:47 | 3,922,780 | 8 | 11 | null | null | null | null | UTF-8 | C++ | false | false | 24,232 | cpp | /*M///////////////////////////////////////////////////////////////////////////////////////
//
// IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING.
//
// By downloading, copying, installing or using the software you agree to this license.
// If you do not agree to this license, do not download, instal... | [
"chung@rim.com"
] | chung@rim.com |
e48faebe30479d2d912a0cfb9d8769e3b1381e06 | 9d4033f3d774be5e05b2fe6b2285457b626ce92e | /api/bootloader.cpp | c4a59fd255331ce7aaf30fd57766f1b21dfa942e | [
"MIT"
] | permissive | sony-l/OpenMemories-Platform | 16933be3f3bdccb0ccaef6b161f97077c998c453 | 1659a1c7ec19530a1868de6bbbce2cc762fb42ae | refs/heads/master | 2020-03-20T10:26:34.847433 | 2018-05-04T09:40:20 | 2018-05-04T09:40:20 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,102 | cpp | #include <string>
#include "bootloader.hpp"
extern "C"
{
#include "drivers/mms_ioc.h"
#include "drivers/nand_ioc.h"
}
#if !defined DRIVER_mms_ioc && !defined DRIVER_nand_ioc
#error No bootloader driver available
#endif
using namespace std;
vector<bootloader_block> bootloader_get_blocks(int fd)
{
ve... | [
"ma1co@users.noreply.github.com"
] | ma1co@users.noreply.github.com |
94405e293c7116ee017b9dbad3795446f362b7d2 | 471091eeccacc0618dba3ad75abf184ba3b57ddc | /Software/DFR/DFR.cpp | 3b8cbcbd36a19213e76c1e76045d4276bac633f7 | [] | no_license | YounesChefou/EarthPod | c2c04231f2daa58ab870839994b7e36e46e5d962 | 19738c7f47e2a1b4f6ca404c278302fd3a32b9a3 | refs/heads/master | 2020-07-31T12:57:25.426566 | 2020-01-15T18:15:04 | 2020-01-15T18:15:04 | 210,611,412 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 173 | cpp | #ifndef DFR_H
#define DFR_H
#include "dfr.h"
#endif
AnalogIn DFR(A0);
double lireValeursDFR() { // //Renvoie la valeur relevée par le capteur
return DFR.read();
}
| [
"thomas.bouix@etu.upmc.fr"
] | thomas.bouix@etu.upmc.fr |
d7a2946a7a5fadca91e7e1f2f847f6635040a501 | e6725534568aa25f8a9d225588a0704b16cca7d4 | /src/CItemList.cpp | 7064832c801a6f0f2d46467cdc81cdad96b5d76d | [] | no_license | deadlydog/Blasteroid | d9f4da13c255684f6de0c3b739d63fce026cf9e7 | 25f80a738c5f017d675a936004ac06f64cc3fc22 | refs/heads/master | 2022-12-22T14:25:49.984740 | 2020-09-21T14:36:27 | 2020-09-21T14:36:27 | 297,231,210 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,977 | cpp | // CEnemyList.cpp
#include "CItemList.h"
//*********** CItemList Functions **********
// Constructor
CItemList::CItemList()
{
// Initialize pointers to NULL
mspHead = 0;
mspCurrentItem = 0;
}
// Destructor
CItemList::~CItemList()
{
Purge();
}
// Add a Item to the list
// NOTE: The List will use/modify th... | [
"deadlydog@hotmail.com"
] | deadlydog@hotmail.com |
b958405976654ae2aba89bd69e47b618df08ede0 | 7a36a0652fe0704b4b27f644653e7b0f7e72060f | /TianShan/CDNLib/CDNSS/C2Pump/C2AsyncUdpHandler.h | e041e648b6386d93199756e4d128f921163d834e | [] | no_license | darcyg/CXX | 1ee13c1765f1987e293c15b9cbc51ae625ac3a2e | ef288ad0e1624ed0582839f2a5a0ef66073d415e | refs/heads/master | 2020-04-06T04:27:11.940141 | 2016-12-29T03:49:56 | 2016-12-29T03:49:56 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,378 | h | #pragma once
#ifndef _C2ASYNC_UDP_HANDLER_H
#define _C2ASYNC_UDP_HANDLER_H
#include <udpsocket.h>
#include <Log.h>
#include <Pointer.h>
#include <HttpEngineInterface.h>
namespace C2Streamer{
class C2AsyncUdpHandler : public LibAsync::UDPSocket
{
public:
C2AsyncUdpHandler(LibAsync::EventLoop& loop, ZQ:... | [
"jjz@example.com"
] | jjz@example.com |
4c3dd813322c002a7f5945fbd999a57bc4d37a2a | 2fad4d970229d8e5b9a8793e41519f3cc316096c | /Chapter 6/Problems/28/28.cpp | 38ea98c9d5f0c13a6a1d0f05bb32986860eb4ad6 | [] | no_license | sureshyhap/Schaums-Outlines-Programming-with-C-plus-plus | 047cb0605a0f4c58e983c9b166cc5e2b1589b459 | 845870dd72ff3f14f3130ce714fabb24e13e1c25 | refs/heads/master | 2021-07-05T09:12:34.438129 | 2020-10-11T15:08:05 | 2020-10-11T15:08:05 | 162,736,501 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 544 | cpp | #include <iostream>
float outerProduct(float p[][3], float a[], float b[]);
int main(int argc, char* argv[]) {
float p[3][3] = {};
float a[3] = {2.2, 3.3, 4.4}, b[3] = {2.0, -1.0, 0.0};
outerProduct(p, a, b);
for (int i = 0; i < 3; ++i) {
for (int j = 0; j < 3; ++j) {
std::cout << p[i][j] << " ";... | [
"sureshyhap@gmail.com"
] | sureshyhap@gmail.com |
753e1f0fbba8be8709be7180341b516753a099a0 | a0b0eb383ecfeaeed3d2b0271657a0c32472bf8e | /lydsy/1436.cpp | 12abd58ac32afb9255ca166329e096b0e67de0ab | [
"Apache-2.0"
] | permissive | tangjz/acm-icpc | 45764d717611d545976309f10bebf79c81182b57 | f1f3f15f7ed12c0ece39ad0dd044bfe35df9136d | refs/heads/master | 2023-04-07T10:23:07.075717 | 2022-12-24T15:30:19 | 2022-12-26T06:22:53 | 13,367,317 | 53 | 20 | Apache-2.0 | 2022-12-26T06:22:54 | 2013-10-06T18:57:09 | C++ | UTF-8 | C++ | false | false | 569 | cpp | #include <cstdio>
typedef long long LL;
const int mod = 3;
int c[mod][mod];
int C(LL n, LL m)
{
int ret = 1;
for( ; n && ret; n /= mod, m /= mod)
ret = ret * c[n % mod][m % mod] % mod;
return ret;
}
int main()
{
for(int i = 0; i < mod; ++i)
{
c[i][0] = c[i][i] = 1;
for(int j = 1; j < i; ++j)
if((c[i][j] =... | [
"t251346744@gmail.com"
] | t251346744@gmail.com |
0ff2441725c816303a030c844664f383ac72b03c | 72c3074a87433e93123c05139cb788d62e597265 | /Codeforces/Same_Parity_Summands.cpp | 29bc2b7ac5fb3708b2c777904c63a9bc48ab01cc | [] | no_license | ganpa3/Competitive-Programming | 449f59d6ff36a140bac09266a567a56404fac222 | 08c179b21f6c143a6baf9b9c1a16bec97a5bf173 | refs/heads/master | 2023-07-27T23:57:30.796928 | 2021-09-07T06:14:49 | 2021-09-07T06:14:49 | 286,079,300 | 0 | 0 | null | 2021-01-18T04:16:10 | 2020-08-08T16:29:45 | C++ | UTF-8 | C++ | false | false | 929 | cpp | /*
* Problem Statement: https://codeforces.com/problemset/problem/1352/B
* Author: ganpa
*/
#include <bits/stdc++.h>
typedef long long int ll;
typedef long double ld;
typedef unsigned long long int ull;
using namespace std;
int main() {
#ifndef ONLINE_JUDGE
freopen("input.txt", "r", stdin);
#endif
ios_bas... | [
"pawarg256@gmail.com"
] | pawarg256@gmail.com |
bb064f4f334dc22f0881ad9582cbb5798d5cc5df | da66a12e17ea79462feb742f17a91ce0342b4925 | /Banker.cpp | 2244b23e2464fcca079f3ead24d96c997209e46f | [] | no_license | mikepitiwat/OS_lAB7 | b79fc763cc543d2142bba48d95ecb062475b05ec | 9b8434b88128faed0b49dcd4029bf19ba6eb1564 | refs/heads/master | 2020-12-21T19:56:25.309663 | 2020-02-20T09:51:17 | 2020-02-20T09:51:17 | 236,541,437 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,740 | cpp | #include <stdio.h>
int np,nr; // number process and number resource
int Allocation[10][5],Max[10][5],Need[10][5],Available[10][5];;
int resource[5],state[10],AvailDrives[5],AvailSUM[5];
void calAvailable(){
for (int i = 0; i < nr; ++i) {
for (int j = 0; j < np; ++j) {
AvailDrives[i] += Allocat... | [
"noreply@github.com"
] | noreply@github.com |
d96eab0f52808c661bf5c4744b7d55805b535c84 | a8792577a27fabb545bd5c94e05183af4bfc2f19 | /Ch17/tree.cpp | 55d43e9fbd7ba53037c1cde3224a071a1fab48d9 | [] | no_license | TatyanaV/Introduction-to-C-part-2 | d49db569b430f1cad14fe0fa4de7fa561da5f89f | d06a70b7e9dcf6e8be8d70e9bfc04bb0505f8933 | refs/heads/master | 2021-01-17T06:41:57.833714 | 2016-07-22T05:15:42 | 2016-07-22T05:15:42 | 63,925,322 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,117 | cpp | //This is the implementation file tree.cpp. This is the implementation for
//the template class SearchTree. The interface is in the file tree.h.
namespace TreeSavitch
{
template<class T>
void SearchTree<T>::insert(T item, TreeNode<T>*& subTreeRoot)
{
if (subTreeRoot == NULL)
subTreeRoot ... | [
"vlaskint.onid.oregonstate.edu"
] | vlaskint.onid.oregonstate.edu |
874d97d4dde866ed161ecdf96f1b2b2b1f7fe91e | 0cb85cd0c88a9b9f0cca4472742c2bf9febef2d8 | /CS AdminKit/development2/common_nagent_sdk/include/common/kllicinfo.h | 281fca30ab2804ee58876194c7009ffe1ee3cfe1 | [] | no_license | seth1002/antivirus-1 | 9dfbadc68e16e51f141ac8b3bb283c1d25792572 | 3752a3b20e1a8390f0889f6192ee6b851e99e8a4 | refs/heads/master | 2020-07-15T00:30:19.131934 | 2016-07-21T13:59:11 | 2016-07-21T13:59:11 | null | 0 | 0 | null | null | null | null | WINDOWS-1251 | C++ | false | false | 6,047 | h | /*!
* (C) 2003 Kaspersky Lab
*
* \file kllicinfo.h
* \author Andrew Kazachkov
* \date 04.06.2003 11:13:00
* \brief
*
*/
#ifndef __KL_LICINFO_H__
#define __KL_LICINFO_H__
namespace KLLIC
{
//Errors
enum{
KLLIC_KEY_CHECK_FAILED=KLLICERRSTART,
KLLIC_KEY_INSTALL_FAILED,
... | [
"idrez.mochamad@gmail.com"
] | idrez.mochamad@gmail.com |
4ef5445482bbcdf64f11fde7fde5748eacba86ed | e35981c70f74813b078d870cd28e72b0fb1b11dc | /examples/echoserver.cpp | 1a03cacd678d65f00a332767ff9d4f3d34a77612 | [
"MIT"
] | permissive | chenbk85/redis_ae_examples | 9ed4a60ee56a8ab57c6433d825ccd73d1e2af9c8 | 7d84811f8466f2ed6884990d9c1a26863fc789a9 | refs/heads/master | 2021-01-17T22:27:15.799486 | 2015-11-02T14:28:06 | 2015-11-02T14:28:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,132 | cpp | #include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include "ae/libae.h"
#define MAX_BUFFER_SIZE 4096
void echo_service(aeEventLoop *ev, int fd, void *privdata, int mask)
{
char buffer[MAX_BUFFER_SIZE];
bool readMore = true;
while (readMore)
{
int len = ::read(fd, buffer, MAX_BUFFER_S... | [
"lizhenghn@gmail.com"
] | lizhenghn@gmail.com |
c13369bdd624d1c66eb4dc7decbf8104349eec1f | 34d762e8479ddcf13beb50ab70233a814bec1a8b | /pro1.2.5/pro1.2.5daulpal.cpp | 44e55f52e3bbcc43386545e2d28744bcfd4d5870 | [] | no_license | lxxx12/usaco | 33546d3da4832a8afa4d41ff2d7a119941cf3143 | cf35d4a7bc6cc648733acaaa711e0b798e172df3 | refs/heads/master | 2021-01-10T07:42:42.701988 | 2015-07-02T13:59:15 | 2015-07-02T13:59:15 | 36,869,041 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,062 | cpp | /*
ID:lxxxsou1
PROG: dualpal
LANG: C++
*/
#include <iostream>
#include <iostream>
#include <fstream>
#include <string>
#include<cmath>
using namespace std;
bool is_palnum(int num,int base)
{
int i,j=0,r;
string num_str,numantitone;
for(i=0;num!=0;i++)
{
r=num%base;
num_str.push_back(r)... | [
"895159308@qq.com"
] | 895159308@qq.com |
9c85d76933fac9e10da91af32511e1a0247322a1 | 426f26555e653f42cb17be0819d158ce8b8bfbf9 | /DirectX11SampleProj/DirectX11SampleProj/Source/Lib/WindowsSystem/WindowsSystem.h | bfe06efc03d0649747e1d4e517929541a691fed4 | [] | no_license | kou65/DirectX11Sample | dece4bfd2a0b5a6dc132f36e1f8876ec4b8aab5a | f9cc5c51b85804cd7759c75438e521b569bca426 | refs/heads/master | 2023-02-03T21:20:11.588400 | 2020-12-22T16:43:50 | 2020-12-22T16:43:50 | 299,990,258 | 0 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 631 | h | #ifndef MSG_H_
#define MSG_H_
#include<Windows.h>
#include<string>
/**
* @brief namespace Windowsのシステム関数群
*/
namespace WindowsSystem {
/**
* @brief メッセージの送受信を行う
* @return bool メッセージ送信終了 = true それ以外 = false
*/
bool ProcessMessage();
/**
* @brief メッセージボックスを出現させる
*/
void TextMessageBox(const std::string& s... | [
"41092674+kou65@users.noreply.github.com"
] | 41092674+kou65@users.noreply.github.com |
7643a3fa0fb0ba824e56b1b4be6cdf7094761027 | f716d1287b1fe40c173b44d1e99c5a3c5468bfd7 | /ShooterMulti_base/Source/ShooterMulti/AI/UndeadDirector.h | d1e7cc6e3c9d39b59897e20d550a07a15a38548d | [] | no_license | natheu/TPSMulti | fc07052a0e0833f7acfdcce4b45ec20f55500a6c | 7d1c0edffbad3115b0e5eb7fbd35fa6b37f9247a | refs/heads/master | 2023-01-28T10:26:42.624546 | 2020-10-06T08:11:26 | 2020-10-06T08:11:26 | 301,651,899 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,342 | h | #pragma once
#include "GameFramework/Actor.h"
#include "../LD/EnemySpawnerButton.h"
#include "../Characters/UndeadCharacter.h"
#include "UndeadDirector.generated.h"
UCLASS()
class SHOOTERMULTI_API AUndeadDirector : public AActor
{
GENERATED_BODY()
protected:
static AUndeadDirector* Instance;
FTimerHandle SpawnT... | [
"n.lepec@student.isartdigital.com"
] | n.lepec@student.isartdigital.com |
b4f27d011e1b4e90eb611fa123721d5672db80be | 1e96fac4cb99c7431ed4ae2bd688d74d8fb024ef | /Example1/example.cxx | ee198e40401c742fc0204a58ad86e8d2c005a205 | [] | no_license | iMichka/SwigExamples | c95426149343e174cacf4a688a502910a86304bc | 00a30a778368a1a425cbd03be3813c0229791830 | refs/heads/master | 2021-01-10T21:05:28.152482 | 2014-08-03T21:21:16 | 2014-08-03T21:21:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 344 | cxx | /* File: example.cxx */
#include <string>
#include <iostream>
#include "example.h"
bool myfunc(std::string &value)
{
value = "ccc";
bool val;
return val;
}
int main(void) {
/*
std::string a;
std::string value;
bool ret = myfunc(a, value);
std::cout << ret << std::endl;
std::cout << a << std::en... | [
"michkapopoff@gmail.com"
] | michkapopoff@gmail.com |
5cf78d6e16b73a45f5dbc03ec653e33a14d91e59 | eb0c6661d965207d5dec0fb67bfc868ebd4fa014 | /RiguruLib/RiguruLib/Src/scene/GamePlayScene.h | 66abe5feddc2614e39609e3b8e26f5046ed4af0e | [] | no_license | shibuyadaiki/ThreadWar | 26e565c0fda2f6db6fa1da96b2f545bb1590c8a7 | 7c25576cb1e4f9f4a0672cd45230ffcd64e641a8 | refs/heads/master | 2016-08-09T07:35:59.007130 | 2016-02-01T04:51:19 | 2016-02-01T04:51:19 | 50,814,542 | 0 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 998 | h | #pragma once
#include "IScene.h"
#include "ISceneMediator.h"
#include "../world/World.h"
#include "../Math/Matrix4.h"
#include "../Actor/ID.h"
#include "../Actor/Stage.h"
class GamePlayScene :public IScene{
public:
//コンストラクタ
GamePlayScene(VICTORY_ID& winner_);
//デストラクタ
~GamePlayScene();
//更新前初期化
virtual void... | [
"aaaaaaaaaadddddddddd30@gmail.com"
] | aaaaaaaaaadddddddddd30@gmail.com |
97be3a1f7b8d1200d8473e5aa6da3828c1d5333f | 295cb1c76ed92ac3a379078d905ef792ce15e519 | /Graph Algorithms/ques5(Building Teams).cpp | adb3405cb9b89640bfec50a4cf96a98e08016cfa | [] | no_license | grg124/cses_solution | 98cd87470d3868d554be4753d81cb6406a5ec906 | 617bc66bacea4b4d0d2846b663911b1a0d3f74c2 | refs/heads/master | 2022-11-28T22:13:19.393801 | 2020-08-18T11:38:15 | 2020-08-18T11:38:15 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,021 | cpp | // problem set link -- https://cses.fi/problemset/
/* UserName - ankit_S
author- Ankit kumar
*/
#include <bits/stdc++.h>
#include <iostream>
using namespace std;
#define FAST ios_base::sync_with_stdio(false);cin.tie(0);cout.tie(0);
#define ll long long
#define MOD 1000000007
const int N=2e5;
vector<vector<int>>... | [
"noreply@github.com"
] | noreply@github.com |
7678fd0dad980074d626803fff1c6a952068d309 | 933c674278e2b3b8ebc0a90a70ac4fd629ac72e9 | /src/computeX2sCpp.cpp | 6bab1911871973cbaa1cac445c7f296978e9a5bd | [] | no_license | dkahle/algstat | bc63249b8adca4005016939a6e7db11f5253ee01 | a705514d3a3c592361cd7ee222d1c743ed8808c9 | refs/heads/master | 2023-05-27T22:17:47.006699 | 2023-05-17T17:18:06 | 2023-05-17T17:18:06 | 27,615,285 | 14 | 11 | null | 2022-08-18T13:44:36 | 2014-12-05T23:50:12 | R | UTF-8 | C++ | false | false | 405 | cpp | #include <Rcpp.h>
using namespace Rcpp;
// [[Rcpp::export]]
NumericVector computeX2sCpp(NumericMatrix x, NumericVector exp){
int ncol = x.ncol();
int n = x.nrow();
NumericVector out(ncol);
double chisq;
for(int i = 0; i < ncol; ++i){
chisq = 0;
for(int j = 0; j < n; ++j){
if(exp[j] > 0) chisq... | [
"david.kahle@gmail.com"
] | david.kahle@gmail.com |
fcf2ddcfab9379a527a16ef91e74906feb95781f | 2e72a74d760a8c14ca242df077413a9ff9699774 | /src/d2_ne_sd_CA.cpp | 1f14736a4c5327f6d30f2f16ce64afb851ee4027 | [] | no_license | chemiczny/automateusz_gto_d2 | ba3f1bec939a135a3591d512663ee01c4aa10b0c | b4c7e0978424bf53fd4b1f67de8e65ab3373fc10 | refs/heads/master | 2020-03-21T15:30:46.767378 | 2019-05-08T14:33:56 | 2019-05-08T14:33:56 | 138,716,717 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 706 | cpp | #include "gto_d2_kit/d2_ne_sd_AC.hpp"
void vne_second_derivative_02_31( double ae, double be,
double xA, double yA, double zA,
double xB, double yB, double zB,
double xC, double yC, double zC,
const double* bs,
double* const d2nexx,
double* const d2nexy,
double* const d2nexz,
double* ... | [
"mglanows@kierkur.ch.uj.edu.pl"
] | mglanows@kierkur.ch.uj.edu.pl |
74c7d249d6dbb41c385eaa357ce1f32cc202fe6f | fd1871bd5ea968e6d077511d00c5119201881a29 | /boost/asynchronous/any_shared_scheduler_proxy.hpp | 94e49a4a7b8814a466d21e0f22fa50aed97a391c | [] | no_license | iCodeIN/asynchronous | 04666381d8865e5f29447545bd245f99aed3415f | 4f3ac92a41896cb1b72054e89f6396c1495e64ce | refs/heads/master | 2023-07-09T19:15:51.007955 | 2021-08-15T13:45:32 | 2021-08-15T13:45:32 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 20,559 | hpp | // Boost.Asynchronous library
// Copyright (C) Christophe Henry 2016
//
// Use, modification and distribution is subject to the Boost
// Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
// For more information, see http://www.boost.org
#i... | [
"christophe.j.henry@googlemail.com"
] | christophe.j.henry@googlemail.com |
30b9f5584cbffa7fe11f375f432280c89d3e2045 | e83536c75242d2f465b1646c045e4e2a902fdd08 | /SDL2-Exp/PhysicsHandler.h | 8775630052dcbc4a9e2cddc9d7e7cf6542edc0e9 | [] | no_license | AlleAnder/CPROG-PROJECT | a88a8db3f6bd5232b405440ae8bbcfc4778653d1 | 5c2d2c69c3549e2dd256db56f0a72db1eeb4136a | refs/heads/master | 2022-04-05T03:12:58.132979 | 2020-01-10T13:51:15 | 2020-01-10T13:51:15 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 554 | h | #pragma once
#include "Element.h"
class PhysicsHandler
{
public:
PhysicsHandler(double gravity, int screenX, int screenY);
void setGravity(double gravity) { this->gravity = gravity; };
void setHitboxOffset(int px) { offset = px * -1; };
bool elementsCollide(Element* e, Element* e2);
bool windowElementCollide(... | [
"savvasswe@gmail.com"
] | savvasswe@gmail.com |
59c8123e767294fdebeabef52f87c816729aaefa | 89485890afeeacdae996de966b8b13ba0c1bbc9a | /zwgui/include/zwmovewidgethandler.h | 39cfbed97de408c5b7a3dc3f5407a8ce89149af0 | [] | no_license | weinkym/src_miao | b7c8a35a80e5928470bea07d5eb7e36d54966da9 | 0759c1f819c15c8bb2172fe2558fcb728a186ff8 | refs/heads/master | 2021-08-07T17:55:52.239541 | 2021-06-17T03:38:44 | 2021-06-17T03:38:44 | 64,458,033 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 583 | h | #ifndef ZWMOVEWIDGETHANDLER_H
#define ZWMOVEWIDGETHANDLER_H
#include <QPointer>
#include <QPoint>
#include "zwgui_global.h"
class QWidget;
class QMouseEvent;
class ZWGUISHARED_EXPORT ZWMoveWidgetHandler
{
public:
ZWMoveWidgetHandler(QWidget *w);
~ZWMoveWidgetHandler();
void mousePressEvent(QMouseEvent *... | [
"weinkym@qq.com"
] | weinkym@qq.com |
56cfa412e0e0b70d8d823af6a1924c430bbccd1d | 934185370b67178d6e2fec6516e0980992d1e315 | /FrameLib_Objects/Common_Utilities/FrameLib_VectorSet.h | c2f9b70473dfbc9148aee1d3da03efa8470dd3bb | [
"BSD-3-Clause"
] | permissive | Pezz89/FrameLib | de358577ad78aa0b4e53fb82bcd69efd1ffd87db | 276b2fcc708a975eb6120e08162dbc691ae7adb4 | refs/heads/master | 2022-12-14T10:59:26.203346 | 2020-07-07T10:28:56 | 2020-07-07T12:11:10 | 276,899,482 | 0 | 0 | null | 2020-07-03T12:53:04 | 2020-07-03T12:53:03 | null | UTF-8 | C++ | false | false | 1,438 | h |
#ifndef FRAMELIB_VECTORSET_H
#define FRAMELIB_VECTORSET_H
#include "FrameLib_DSP.h"
class FrameLib_VectorSet
{
public:
// Constructor
FrameLib_VectorSet(FrameLib_DSP *owner) : mFrames(nullptr), mNumFrames(0), mFrameLength(0), mAllocator(*owner)
{}
~FrameLib_VectorSet()
{
d... | [
"ajharker@gmail.com"
] | ajharker@gmail.com |
7d51d47a3faa5bf0c7e8bb3820c1f065d392f3bd | 8e6d80ae3b0437612803be41b261b15b431e97bb | /src/QuadControl.cpp | a1c2f7eb6afd2c320f3d2e298213e3e0fec5173f | [] | no_license | rohan-khaire25/State-Estimation-Quadrotor | 10eb2395df04182a98a32ee6dd0c312101cdd46f | 5441f97f3b5733c660cef5653c8806f535a11f67 | refs/heads/main | 2023-02-06T17:11:38.203033 | 2020-12-28T23:44:31 | 2020-12-28T23:44:31 | 325,191,961 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,030 | cpp | #include "Common.h"
#include "QuadControl.h"
#include "Utility/SimpleConfig.h"
#include "Utility/StringUtils.h"
#include "Trajectory.h"
#include "BaseController.h"
#include "Math/Mat3x3F.h"
#ifdef __PX4_NUTTX
#include <systemlib/param/param.h>
#endif
#include <iostream>
using std::cout;
void QuadControl::Init()
{
... | [
"rohan.khaire25@gmail.com"
] | rohan.khaire25@gmail.com |
5b2ae9bd5bfae212639c96a91494cb95d9ce7d89 | 88dd962e174bb5f268debabec1dc838433246130 | /Source/External/imgui/imgui_impl_win32.cpp | 6dbcdda94b5cf2aa994ebc2815e1d89919978710 | [
"MIT"
] | permissive | glampert/War3HD | 0a335ae6d171ddc8a4a5ebc6e8a76e7bd904c76f | 728af54785d5fe5fc70ec58900f9640245777cc1 | refs/heads/master | 2021-09-26T15:26:57.965807 | 2021-09-11T16:32:52 | 2021-09-11T16:32:52 | 47,467,919 | 12 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 9,961 | cpp | // dear imgui: Platform Binding for Windows (standard windows API for 32 and 64 bits applications)
// This needs to be used along with a Renderer (e.g. DirectX11, OpenGL3, Vulkan..)
// Implemented features:
// [X] Platform: Clipboard support (for Win32 this is actually part of core imgui)
// [X] Platform: Mouse curs... | [
"guilherme.ronaldo.lampert@gmail.com"
] | guilherme.ronaldo.lampert@gmail.com |
1fce64c909711e08d143535f68d0accc834f1b82 | 83c0700a9b14dbd2eed4ad9abe7594a8ff12ce0a | /services/oboeservice/AAudioServiceEndpointPlay.h | a0a383cd9eb62e6f4484b205729964059aed7b14 | [
"LicenseRef-scancode-unicode",
"Apache-2.0"
] | permissive | PixelExperience/frameworks_av | e5ab74641a88237ac84ff698539c95033a3aa09f | 10d08c030053cbcb30d114630b3276fddce96a45 | refs/heads/oreo-mr1 | 2023-08-05T20:29:20.970331 | 2018-12-04T20:38:27 | 2018-12-04T20:38:27 | 130,521,429 | 8 | 167 | NOASSERTION | 2023-07-15T06:06:36 | 2018-04-22T00:10:21 | C++ | UTF-8 | C++ | false | false | 1,772 | h | /*
* Copyright (C) 2017 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | [
"philburk@google.com"
] | philburk@google.com |
2dbfcb2e3a206463930d0aa315a70863445a56b7 | 691abe5f62df930ae7420d00f48e5b2f7f57faed | /atcoder.jp/abc131/abc131_c/Main.cpp | 3a57c0857f47c165466a353c706b5039e13b85e8 | [] | no_license | Volverman/procon-archive | 2fa9d10d0a655590f2c6342c5e494deff5718c73 | 834adc4a70a275eb28cea6d724ee5cc5d926ffe7 | refs/heads/master | 2022-12-18T23:40:48.494023 | 2020-09-12T07:48:48 | 2020-09-12T07:48:48 | 294,258,109 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,179 | cpp | #include <bits/stdc++.h>
#define REP(i, n) for(int i = 0; i < n; i++)
#define REPR(i, n) for(int i = n; i >= 0; i--)
#define FOR(i, m, n) for(int i = m; i < n; i++)
#define INF 2e9
#define MOD 1000000007
#define ALL(v) v.begin(), v.end()
using namespace std;
typedef long long ll;
using P = pair<int,int>;
unsigned long... | [
"volverman1017@gmail.com"
] | volverman1017@gmail.com |
917bd8f7c8fcce4f06689f164fbf68b9a81c7e44 | 2f309d79cff3b8f0118de853d9667461dc2777cc | /3DFitting/ManModel.cpp | b667809a606960ccac59164800908e8bb03a25f5 | [] | no_license | alllenwang/opengl_clothes_3d | 3e0bd78256b156ed8c9a61bb234845f435e02ff9 | 4b37838e56e01d60a87ea0915bfaf5d7e8e14e86 | refs/heads/master | 2016-09-16T03:04:37.282191 | 2016-03-10T01:37:15 | 2016-03-10T01:37:15 | 20,688,131 | 2 | 2 | null | 2016-03-10T01:37:16 | 2014-06-10T14:21:04 | C++ | UTF-8 | C++ | false | false | 2,243 | cpp | #include "ManModel.h"
using namespace std;
ManModel manModel;
const M3DVector3f headCenter = { 0.0f, 150.0f, 0.0f };
//const M3DVector3f neckCenter = {0.0f, 50.0f, 0.0f};
//const M3DVector3f bodyCenter = { 0.0f, 0.0f, 0.0f };
const GLfloat headRadius = 100.0f;
const GLfloat shoulderWidth = 800.0f;
const GLfloat shoul... | [
"wangqi199204@gmail.com"
] | wangqi199204@gmail.com |
b09a9b8b2a9563f312140f70639aba45f41e4be5 | 986c21d401983789d9b3e5255bcf9d76070f65ec | /src/plugins/azoth/plugins/adiumstyles/adiumstylesource.cpp | cc72b56d1797a4a85685acc00b777c66bd2b2ead | [
"BSL-1.0"
] | permissive | 0xd34df00d/leechcraft | 613454669be3a0cecddd11504950372c8614c4c8 | 15c091d15262abb0a011db03a98322248b96b46f | refs/heads/master | 2023-07-21T05:08:21.348281 | 2023-06-04T16:50:17 | 2023-06-04T16:50:17 | 119,854 | 149 | 71 | null | 2017-09-03T14:16:15 | 2009-02-02T13:52:45 | C++ | UTF-8 | C++ | false | false | 20,498 | cpp | /**********************************************************************
* LeechCraft - modular cross-platform feature rich internet client.
* Copyright (C) 2006-2014 Georg Rudoy
*
* Distributed under the Boost Software License, Version 1.0.
* (See accompanying file LICENSE or copy at https://www.boost.org/LICENSE... | [
"0xd34df00d@gmail.com"
] | 0xd34df00d@gmail.com |
d2c167e6069ea4fa5fc9ea09f07ad4941c78f3dc | daf52f4913219c520bb781fca9937aeb9430889f | /trees/switchKlevelNodes.cpp | 54c4b413f6dc12fdd468895f2abeeb1ae5d5bcfc | [] | no_license | rostun/teenyWeeny | 4c3a34a9854b591d5e6916934365a197f2304539 | e1bf18d78bdad9251915c95e481192a831628482 | refs/heads/master | 2020-12-11T17:06:24.449542 | 2016-08-16T16:50:57 | 2016-08-16T16:50:57 | 54,285,702 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,458 | cpp | /*
Swap Nodes
*/
#include <cmath>
#include <cstdio>
#include <vector>
#include <iostream>
#include <queue>
#include <algorithm>
using namespace std;
struct node{
int data;
int level;
node* left;
node* right;
};
node* insertIntoTree(node* parent, int a, int b);
void printInOrder(node* root);
int ma... | [
"rosa.m.tung@gmail.com"
] | rosa.m.tung@gmail.com |
f07b68406e505471a5f754e1524d570486777bb0 | ed9b059bf7ac2fafe391feed8fd10c6c5c94dffb | /crawler/用户信息统计分布_code/statistical_analysis.cpp | 35c4d8906d7a271f24f3fc0bd3c406c1f9028bc4 | [] | no_license | SccsAtmtn/PythonProjects | 64579d54c1841d446b831fb951de3f10c2911b90 | b0dd148bcd1dbc82264c70cf8f7e9045697c135f | refs/heads/master | 2020-04-06T06:56:54.322001 | 2016-09-10T16:03:33 | 2016-09-10T16:03:33 | 59,921,726 | 1 | 0 | null | null | null | null | GB18030 | C++ | false | false | 6,356 | cpp | #include <iostream>
#include <string>
#include <fstream>
using namespace std;
void main()
{
ifstream fan("fans_information3.txt", ios::in);
ifstream discuss("discuss_information6.txt", ios::in);
ofstream fan1("fan_locate3.txt");
ofstream fan2("fan_isV_gender3.txt");
ofstream fan3("fan_birth3.txt");
ofstream disc... | [
"lizt1994@163.com"
] | lizt1994@163.com |
b203e984c8a3fbddbb13120a91cb4ad286bc53c4 | fee2ca510b521364f86902c385c53e8da91b8b70 | /src/Commands/TankDrive.cpp | 9ad2dfaf7d2193f3e6d012540cbf6d4ca575c975 | [] | no_license | Team-1922/TinMan2015 | a39a46f79384afc4da529a4483076866b24759a1 | f2aa2500e444e9099cfbb1c8f7768e63694ad0d9 | refs/heads/master | 2021-01-19T12:36:39.005636 | 2015-05-18T23:51:16 | 2015-05-18T23:51:16 | 28,838,971 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 676 | cpp | #include "TankDrive.h"
TankDrive::TankDrive()
{
Requires(driveTrain);
}
// Called just before this Command runs the first time
void TankDrive::Initialize()
{
}
// Called repeatedly when this Command is scheduled to run
void TankDrive::Execute()
{
driveTrain->TankDrivePeriodic(oi->GetDriverJoystick1(), oi->GetDriv... | [
"kjmack305@gmail.com"
] | kjmack305@gmail.com |
536a99dc326904e9aa3b80783b9e1dd490ca0327 | f7790d6edfd422751e904bda1ab9a329ebd812e4 | /session06/LinkedLists.cc | 8ed6fe189f44ce1f97155c339c0ca09f63893615 | [] | no_license | yanzhic92/CPE593_2017S | 213d50f2ff76928ef23570caf1daa787a12dbe7b | b62c17a87aa60f31133892f40cdf39c3087a507e | refs/heads/master | 2021-01-20T10:06:47.685152 | 2017-02-22T15:12:09 | 2017-02-22T15:12:09 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 764 | cc | class LinkedList1 {
private:
class Node {
int val;
Node* next;
};
Node* head;
void addEnd(int v); // O(n)
void addStart(int v); // O(1)
void removeEnd(); //O(n)
void removeStart(); //O(1)
};
class LinkedList2 {
private:
class Node {
int val;
Node* next;
};
Node* head;
Node* tail;
void addEnd(int v)... | [
"dov.kruger@gmail.com"
] | dov.kruger@gmail.com |
31f7d97b69345b34624c077034840e571f665552 | 9f087cfdb02d3f1de0091876fad0504934bef17c | /Framwork/FramworkAp/Include/TradePacket.h | 197d9d985fd4c5d3f136d13efaf2d2c52a63945f | [] | no_license | kknet/qt_client | 0ac41592856048510f7c470521845b89f0078a41 | 6c71db967369f07bd37cfbe52690565e2be9924d | refs/heads/master | 2022-04-04T17:24:41.731274 | 2018-11-08T03:51:11 | 2018-11-08T03:51:11 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 9,234 | h | #ifndef _TRADE_PACKET_H
#define _TRADE_PACKET_H
#include "CommAp.h"
#include "PairPacket.h"
#include "strutils.h"
#include <algorithm>
#include "stdlib.h"
using namespace strutils;
#define MSGLEN 8U
#define SEQNO 8U
#define MSGTYPE 1U
#define EXCHCODE 4U
#define MSGF... | [
"ypdxcn@163.com"
] | ypdxcn@163.com |
2beab2e37b1cc762098cf24d7d8be4f12d704cc7 | 2de8f5ba729a846f8ad5630272dd5b1f3b7b6e44 | /src/server/gameserver/skill/Teleport.h | b96e6977a4f58600c72c9fd2c045cfa4973ced18 | [] | no_license | najosky/darkeden-v2-serverfiles | dc0f90381404953e3716bf71320a619eb10c3825 | 6e0015f5b8b658697228128543ea145a1fc4c559 | refs/heads/master | 2021-10-09T13:01:42.843224 | 2018-12-24T15:01:52 | 2018-12-24T15:01:52 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,192 | h | //////////////////////////////////////////////////////////////////////////////
// Filename : Teleport.h
// Written By :
// Description :
//////////////////////////////////////////////////////////////////////////////
#ifndef __SKILL_TELEPORT_HANDLER_H__
#define __SKILL_TELEPORT_HANDLER_H__
#include "SkillHandle... | [
"paulomatew@gmail.com"
] | paulomatew@gmail.com |
b066e618352ae97bae4e2c4a3ec70731f0cc52d0 | e12169c2d46a6965675ae0d162e53b486e8a03ab | /statusinfo.cpp | 4fa865f7cff5c8432a6dffc3a25db7a6ab3ac167 | [] | no_license | Eguiste/taskmgr | 82379278dcaf3ca6a2cca2b571634a8a8671009e | 33bdf9de37543a033095f5f6c9940ccdf0b0ca90 | refs/heads/master | 2023-06-02T16:50:04.141171 | 2021-06-15T04:23:43 | 2021-06-15T04:23:43 | 377,034,712 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,025 | cpp | #include "statusinfo.h"
StatusInfo::StatusInfo()
{
previous_idle_time = 0, previous_total_time = 0;
}
// Получение информации о CPU
std::vector<size_t> StatusInfo::get_cpu_times()
{
std::ifstream proc_stat("/proc/stat");
proc_stat.ignore(5, ' '); // Пропустить преписку 'cpu'
std::vector<size_t> times;... | [
"yuuihyakuya@gmail.com"
] | yuuihyakuya@gmail.com |
d0d8a08671e2782742f26c544c67d53472f75d94 | 4854c41302f31b6081028367fecf8da3dad110d3 | /usaco/BarnRepair.cpp | c05f8055e7a9772e986658a8b7a3748baccdd160 | [] | no_license | grain1101/algorithm-training | 25e36d6d68da2be1cd56d68cd0a2cb6e05f7234d | 1a9fac339c9c148d1caef2e0330a9a64abaa4ccb | refs/heads/master | 2021-10-20T19:34:32.925432 | 2021-10-20T06:14:11 | 2021-10-20T06:14:11 | 78,502,374 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,706 | cpp | /*
ID: crazyco3
PROG: barn1
LANG: C++11
*/
#include <iostream>
#include <fstream>
#include <string>
#include <vector>
#include <algorithm>
#include <set>
#include <utility>
#include <cmath>
using namespace std;
typedef pair<int, int> PII;
ifstream fin ("barn1.in");
ofstream fout ("barn1.out");
void show(vector<int> ... | [
"grains@qq.com"
] | grains@qq.com |
886c2fb30d839ee288648e728ed49a5440f3907b | d337c4b2c09d6ed5de487fa8291f8c4a7b942a74 | /C++/03_Tools/ProtocolBuffers/Reader/src/Reader.cpp | 93c599152045660b44a3ed4d7c356e9c44f61ab2 | [
"MIT"
] | permissive | zhenkunhe/Developer-Tutorial | 5d959b508429c7c4258a5c2a43ce59ddd24ce70b | 6e4e4e36364fd8081a68ebf43bf6ab433add613e | refs/heads/master | 2021-05-06T12:09:42.531524 | 2017-12-22T10:03:15 | 2017-12-22T10:03:15 | 111,396,103 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 429 | cpp | #include <iostream>
#include <fstream>
#include "lm.helloworld.pb.h"
using namespace std;
void ListMsg(const lm::helloworld & msg) {
cout << msg.id() << endl;
cout << msg.str() << endl;
}
int main() {
lm::helloworld msg1;
{
fstream input("/home/zhenkun/Alex.log", ios::in | ios::binary);
if (!msg1.ParseFromIs... | [
"Alex_Hoh@pegatroncorp.com"
] | Alex_Hoh@pegatroncorp.com |
76aa64eb8cf00fefc1dd2cd93cdaef8139fe6532 | e6994a5a44725e86064a8247fb02feff18b5c179 | /8 task.cpp | 3c8e972f2bf36a5a27651fe3fc0bb9ed849cc3e3 | [] | no_license | erdosslm/50zadachPraktiki | d6437e0e3d5e03af702eb7662813a4d0d9e7c1b2 | 01e1d61582fbd4ed28c69b2ea6a74825e15e1368 | refs/heads/master | 2022-01-20T06:25:43.876892 | 2022-01-11T09:05:31 | 2022-01-11T09:05:31 | 222,524,098 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 197 | cpp | //8
#include<iostream>
#include<cmath>
using namespace std;
int main() {
int a, b, sum;
a = 2;
b = 3;
sum = (a + (4 * b))*(a - (3 * b)) + (a*a);
cout << sum << endl;
return 0;
} | [
"noreply@github.com"
] | noreply@github.com |
7cef48507705f5143de33cb6f557c74ffd39f154 | d4e96aa48ddff651558a3fe2212ebb3a3afe5ac3 | /Modules/Core/GPUCommon/include/itkGPUUnaryFunctorImageFilter.h | aae50037af2ef49d2a1b08c7c0033b30d6ce0097 | [
"SMLNJ",
"BSD-3-Clause",
"LicenseRef-scancode-free-unknown",
"LicenseRef-scancode-mit-old-style",
"LicenseRef-scancode-other-permissive",
"LicenseRef-scancode-unknown-license-reference",
"LicenseRef-scancode-warranty-disclaimer",
"NTP",
"IJG",
"GPL-1.0-or-later",
"libtiff",
"BSD-4.3TAHOE",
"... | permissive | nalinimsingh/ITK_4D | 18e8929672df64df58a6446f047e6ec04d3c2616 | 95a2eacaeaffe572889832ef0894239f89e3f303 | refs/heads/master | 2020-03-17T18:58:50.953317 | 2018-10-01T20:46:43 | 2018-10-01T21:21:01 | 133,841,430 | 0 | 0 | Apache-2.0 | 2018-05-17T16:34:54 | 2018-05-17T16:34:53 | null | UTF-8 | C++ | false | false | 3,887 | h | /*=========================================================================
*
* Copyright Insight Software Consortium
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* ... | [
"ruizhi@csail.mit.edu"
] | ruizhi@csail.mit.edu |
ccf0d2cb693ac492d2ccc2594021214cd11c5630 | 8a4bfe5d0e6102c930d96a10e7d7d94493efa62a | /project/network/TyperAssis-master/TypeAssisServer/widget.h | 16a523fa81c80f37adad23de89ef3f3705950c26 | [] | no_license | hszhoushen/wifi_cam_qt_windows | 67c1e4f70e1d3e281784801e0f8f0e58bfef461f | 72695ad9888a0c92e27b8da11327b8d0f41e1145 | refs/heads/master | 2021-01-10T10:11:10.489145 | 2016-01-21T09:12:25 | 2016-01-21T09:12:25 | 49,767,385 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,415 | h | #ifndef WIDGET_H
#define WIDGET_H
#include <QWidget>
#include "server.h"
#include "receivethread.h"
#include "getdatathread.h"
#define TABWIDGET_COLUMN 6
#define MARGIN 5
#define SWITCH 0
class ReceiveThread;
class GetDataThread;
namespace Ui {
class Widget;
class ReceiveThread;
class GetDataThread;
}... | [
"liguang zhou"
] | liguang zhou |
20e7258d41a50998357256b3bfa9ca5e66b5e0fa | 431507675eb6cbd39485491475180aa9a917fb74 | /baselib/base/src/qt/propertybrowser/qttreepropertybrowser.h | 1fab291bb60db0865246678fd0f6f78160d76baa | [] | no_license | antiwb3/code | dafbc75784682748cca0ce336b05358ba1937f07 | c6e7912ab071a74b53d7b1b6a3c659a9d9017c07 | refs/heads/master | 2021-01-18T22:52:33.850593 | 2016-09-03T07:24:21 | 2016-09-03T07:24:21 | 13,461,396 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,096 | h | #ifndef QTTREEPROPERTYBROWSER_H
#define QTTREEPROPERTYBROWSER_H
#include "qtpropertybrowser.h"
#if QT_VERSION >= 0x040400
QT_BEGIN_NAMESPACE
#endif
class QTreeWidgetItem;
class QtTreePropertyBrowserPrivate;
class QT_QTPROPERTYBROWSER_EXPORT QtTreePropertyBrowser : public QtAbstractPropertyBrowser
{
Q_OBJECT
... | [
"99143631@qq.com"
] | 99143631@qq.com |
bbc56e16e46c3bcb85a1818250f798c99e6ba123 | 76f0efb245ff0013e0428ee7636e72dc288832ab | /out/Default/gen/blink/bindings/core/v8/V8Document.cpp | e4b04fcf3acbc0c5b59923630485cf78b9ec0ae5 | [] | no_license | dckristiono/chromium | e8845d2a8754f39e0ca1d3d3d44d01231957367c | 8ad7c1bd5778bfda3347cf6b30ef60d3e4d7c0b9 | refs/heads/master | 2020-04-22T02:34:41.775069 | 2016-08-24T14:05:09 | 2016-08-24T14:05:09 | 66,465,243 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 277,889 | cpp | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// This file has been auto-generated by code_generator_v8.py. DO NOT MODIFY!
#include "V8Document.h"
#include "bindings/core/v8/ExceptionState.h"
#inclu... | [
"dckristiono@gmail.com"
] | dckristiono@gmail.com |
4782757bc6f87fa979590744de52b38f525e4c24 | d331d36eb3d87a6dc7180d6c0552c3eb289aa2c4 | /src/libev3.cpp | e72bb00bec828ca642f243435ba422e1b699bfd5 | [
"MIT"
] | permissive | lanen/libev_example | ef8e14b0851c80a98a1f12bdf8eb04359ab55b4f | 582bfe1c0dddc4a25ec8472b438a7ed1216006c3 | refs/heads/master | 2021-01-21T11:19:29.845291 | 2017-03-06T07:34:50 | 2017-03-06T07:34:50 | 83,557,200 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 750 | cpp | #include <stdcfg.hpp>
#include <stdio.h>
#include <ev.h>
static void
stdin_cb (struct ev_loop * loop, ev_io *w, int revents)
{
puts ("stdin ready");
// for one-shot events, one must manually stop the watcher
// with its corresponding stop function.
ev_io_stop (EV_A_ w);
// this causes all nested ev_run's to sto... | [
"cppmain@gmail.com"
] | cppmain@gmail.com |
910589b1ac67ca5d15d405506f7aee392b1e906b | 3649dab9ded12dbf9bfeaf10fac7f8c0ac40344b | /controleur/PiloteMoteur.cpp | 09d09134010537b19a115f266f4b6a91eba7ecef | [] | no_license | Path000/Hector | 97bd136292043533265639c26bd2c9a5466d198d | 1ec6ea1aa8a4d9bd9c408b7f27a5d2d3c3c28891 | refs/heads/master | 2021-01-11T21:25:56.371070 | 2019-01-26T10:45:10 | 2019-01-26T10:45:10 | 78,783,699 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,296 | cpp | #include "PiloteMoteur.h"
void PiloteMoteur::init(byte pinDir, byte pinPWM, String whoami) {
_pinDir = pinDir;
_pinPWM = pinPWM;
_whoami = whoami;
pinMode(_pinDir, OUTPUT);
pinMode(_pinPWM, OUTPUT);
setCommand(0);
stop();
}
void PiloteMoteur::setCommand(int command) {
if(command >= 0) {
digitalWrite(_... | [
"loic@MBP-Loic.local"
] | loic@MBP-Loic.local |
c7f1e02c4e9cbb9b90402eeb86ab46797fc78ee4 | 37b1033a25bb67b01c360b0e067f78e9434f9044 | /motion_capture/src/video_recorder.cpp | 2bb8c6e963b3c44b3bcfdc5613fb915033695f14 | [] | no_license | wangsd01/motion_capture | 3c8d95c9a802657db1c45d7c00c114c0896da3f4 | 4a6ea49ef730929b9e78873535ab05184052d55d | refs/heads/master | 2020-04-11T01:09:45.795427 | 2018-12-11T23:33:33 | 2018-12-11T23:33:33 | 161,407,274 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,208 | cpp | /****************************************************************************
* Software License Agreement (Apache License)
*
* Copyright (C) 2012-2013 Open Source Robotics Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with th... | [
"kun.wang2012@rutgers.edu"
] | kun.wang2012@rutgers.edu |
ee1a4829c70b2d08efb6aa04683bf64b064f9200 | 14582f8c74c28d346399f877b9957d0332ba1c3c | /branches/pstade_1_03_5_head/pstade_subversive/pstade/junk/result_of_const.hpp | aba8f5616143cf5460a8fa289d3b23547210a370 | [] | no_license | svn2github/p-stade | c7b421be9eeb8327ddd04d3cb36822ba1331a43e | 909b46567aa203d960fe76055adafc3fdc48e8a5 | refs/heads/master | 2016-09-05T22:14:09.460711 | 2014-08-22T08:16:11 | 2014-08-22T08:16:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,644 | hpp | #ifndef BOOST_PP_IS_ITERATING
#ifndef PSTADE_RESULT_OF_CONST_HPP
#define PSTADE_RESULT_OF_CONST_HPP
// PStade.Wine
//
// Copyright Shunsuke Sogame 2005-2007.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0... | [
"mb2sync@350e9bb6-6311-0410-90c3-be67731b76ec"
] | mb2sync@350e9bb6-6311-0410-90c3-be67731b76ec |
0de3eef663f0a37f567f4193872f8e809d9fcaee | 559207eb5beae4ba9fd638d19bd3009cbe3a6d11 | /src/net/instaweb/util/file_system_lock_manager.cc | b2b71a1ca2d991260ca2ae3045d78b494c665b2d | [
"Apache-2.0"
] | permissive | voku/mod-spdy | 2a8989668fe0c0f0de48c0b7ecd85b5b5b554ed1 | bcfb388cbc5415ee660c2b5dbcf61f6f43c2a5ca | refs/heads/master | 2023-04-05T09:50:46.847114 | 2015-03-19T17:58:09 | 2015-03-19T17:58:09 | 32,537,692 | 0 | 0 | NOASSERTION | 2023-04-04T01:40:41 | 2015-03-19T17:56:26 | C++ | UTF-8 | C++ | false | false | 3,103 | cc | /*
* Copyright 2010 Google Inc.
*
* 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... | [
"ptrck@blck.io"
] | ptrck@blck.io |
e1caa00049782ddb48706f736d24cd47b642ca6d | 172fdc531f4ab2fad00ebdaf3ab36b7b81ed376e | /dueric_summativesdl/GridTile.h | f19f7101983c4eb8db9f5705d0c906f2acf6f47f | [] | no_license | eric-zdw/dueric_summative-sdl-git | c0bab498a502c456a029a119fa419ee11b608812 | b78842593e2457f1bc2926d592ee5e37ff025f46 | refs/heads/master | 2020-05-30T23:23:39.764960 | 2019-02-18T00:20:20 | 2019-02-18T00:20:20 | 60,701,411 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 407 | h | #pragma once
#include <SDL.h>
#include <SDL_image.h>
#include <string>
class GridTile {
private:
const int GRID_WIDTH = 64;
const int GRID_HEIGHT = 64;
SDL_Texture* gridTexture;
SDL_Surface* surface;
std::string path;
SDL_Rect renderSpace;
int posX, posY;
int offPosX, offPosY;
public:
GridTile(SDL_Renderer... | [
"eric.zdw@gmail.com"
] | eric.zdw@gmail.com |
2321b489fd6e218fa1b2a17169eab5a7600b6260 | 22ffe1203a95cf23d42307d6741e654c5507a5bd | /thread/repeating_task.cc | 262cac19513359b565c15b248829fa2c9495a1f6 | [] | no_license | boss-li/quick | 87adad728788734187847d743afc911f438d6674 | 4037876cad64c541490ac4a6bc8cfc52f10aa8e2 | refs/heads/master | 2023-07-13T07:02:51.644786 | 2021-08-27T01:05:55 | 2021-08-27T01:05:55 | 400,380,625 | 3 | 1 | null | null | null | null | GB18030 | C++ | false | false | 1,768 | cc | #include "repeating_task.h"
#include "to_queued_task.h"
#include "utility.h"
#include <limits>
#include <algorithm>
#include <iostream>
namespace dd {
inline bool IsPlusInfinity(int64_t v) {
// windows下定义了max min的宏,为了避免冲突所以这样写
return v == (std::numeric_limits<int64_t>::max)();
}
RepeatingTaskBase::RepeatingTa... | [
"460775150@qq.com"
] | 460775150@qq.com |
f91ef1ee797e11248a62204694455a399ec13f2c | cead36171ee5329b43b0da68e41aa3fca2b039c3 | /src/Menu.cpp | dff0783b4c0e04432af0e7c0ff07f9be3e014878 | [] | no_license | vardakisDev/Domes | 942b91ceac43ffb3071c23488ac7c2cda34d9e7a | 76dc7b9040e6d3efc5afde241f74997c4df74a01 | refs/heads/master | 2022-06-17T22:39:51.978000 | 2020-05-16T11:48:12 | 2020-05-16T11:48:12 | 260,748,317 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,071 | cpp | #include "../headers/Menu.h"
#include <iostream>
using namespace std;
void Menu::InformUser()
{
cout << "\n This app simulates a possible tracking app that uses the gps singals from your devide. This app doesnt track any of your movements or store them in anyway.";
cout << "\n Every movement is random generat... | [
"vardakisdev@gmail.com"
] | vardakisdev@gmail.com |
af64d4e3126084cb92b10d283968b1533c76ac93 | c3865d4902501314b25f3c9f63e45456f6f22cad | /include/systems/DataGraphicDisplayer.hpp | c338d9388bb04feebe61ba5671ee83b7e014c960 | [] | no_license | dwarfman78/cryptobot | 610f976838f53c879d2a5c61c5c827af9a020810 | c00b82fc690baa61248b2d7968a4b15dbf4cf812 | refs/heads/master | 2023-07-27T11:11:20.200119 | 2021-09-12T20:12:30 | 2021-09-12T20:12:30 | 398,643,984 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,765 | hpp | //
// Created by dwarf on 18/07/2021.
//
#ifndef CRYPTOBOT_DATAGRAPHICDISPLAYER_HPP
#define CRYPTOBOT_DATAGRAPHICDISPLAYER_HPP
#include "../Common.hpp"
#include "../components/Data.hpp"
#include "../components/GuiEvent.hpp"
class DataGraphicDisplayer : public entityx::System<DataGraphicDisplayer>
{
public:
void co... | [
"dwarf@dwarfman.fr"
] | dwarf@dwarfman.fr |
97878855a7a14a2de742d1dc955c6f831b269289 | b902d1a65dbdc780936694eb3704cbe81e124f26 | /Opt/HRSOptUID.h | 10ebfbe7e12eed8ef2b7f8603d85d459f5ad7cd1 | [] | no_license | Jiansiyu/PRexCRex_HRSOpt | 69e99d5fedaa2714ad90a1d06bd1001b58892948 | 01c14aeb4310dedcbd4eb98a53a3b95621671586 | refs/heads/master | 2023-08-17T18:32:31.835571 | 2021-01-15T23:25:26 | 2021-01-15T23:25:26 | 265,965,146 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 754 | h | /*
* HRSOptUID.h
*
* Created on: Nov 7, 2019
* Author: newdriver
*/
#ifndef HRSOPTUID_H_
#define HRSOPTUID_H_
#include <TROOT.h>
#include <TVector3.h>
namespace HRSOpt{
const UInt_t NSieveRow = 7;
const UInt_t NSieveCol = 13;
inline const UInt_t GetMomID(const UInt_t uid) {
return uid/(NSieveRow *(NSie... | [
"jiansiyu@gmail.com"
] | jiansiyu@gmail.com |
dd2051cc6c217d2c6b4dc03a8e1b4c9f0119f4ff | 5e166ba9964663b3b988f0615003b118fa001496 | /src/plugins/stock_strategy/stock_proto_buf.h | 9952f5438536b44f196816af2885381dfb589dd2 | [
"Apache-2.0"
] | permissive | smartdata-x/strade | 73242d9590a4ac9be78aee5271a9028cd671f007 | 3c12eb6df81edc598df0a7146ad7d9a4f20d2685 | refs/heads/master | 2021-04-29T08:16:08.604361 | 2017-03-22T02:46:58 | 2017-03-22T02:46:58 | 77,651,574 | 0 | 5 | null | 2017-03-22T02:46:59 | 2016-12-30T01:46:28 | C++ | UTF-8 | C++ | false | false | 12,884 | h | // Copyright (c) 2015-2015 The george Authors. All rights reserved.
// Created on: 2016年5月21日 Author: kerry
#ifndef GEORGE_VIP_PROTO_BUF_H__
#define GEORGE_VIP_PROTO_BUF_H__
#include "basic/basictypes.h"
#include "logic/base_values.h"
#include "net/proto_buf.h"
#include <list>
#include <string>
namespace stock_log... | [
"zjchuilunmei@gmail.com"
] | zjchuilunmei@gmail.com |
7ea56c6b7c05afe9b8d054a4481fec69c2bf6eb2 | 04b1803adb6653ecb7cb827c4f4aa616afacf629 | /extensions/browser/disable_reason.h | 53040afeaeca2072cabbabd18a23a0e299eabffe | [
"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 | 2,359 | h | // Copyright (c) 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 EXTENSIONS_BROWSER_DISABLE_REASON_H_
#define EXTENSIONS_BROWSER_DISABLE_REASON_H_
#include <limits>
namespace extensions {
namespace disable... | [
"sunny.nam@samsung.com"
] | sunny.nam@samsung.com |
2fe3867ac65045d297ba744e4c5bd4db504faf8e | bda1a38febd5b251a2fd6da56781d580d0dde5df | /LeetCode/KClosestPointsToOrigin.cpp | 74bfae46a3da13b8736fb9b76a32a995a50c7261 | [] | no_license | FernandoZhuang/LeetCode | d9d8919e3985a3daa48206762163de8be1888810 | a05f097ac515450ad776ad73b658da37479a3df3 | refs/heads/master | 2020-04-20T10:03:27.814403 | 2020-01-31T08:03:47 | 2020-01-31T08:03:47 | 168,780,527 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 733 | cpp | #define LOCAL
#include <iostream>
#include <vector>
#include <algorithm>
using namespace std;
vector<int> sumup;
vector<vector<int>> kClosest(vector<vector<int>>& points, int K) {
int cnt = 1;
vector<int> idx;
vector<vector<int> > ret;
for (int i = 0; i < points.size(); i++) {
sumup.push_back(points[i][0] * poi... | [
"957130821@qq.com"
] | 957130821@qq.com |
6c8553bdd34fd1621746b579989216bdc1260e84 | c26ad89b9f84d7d45141e680c6990f0a1668e7f4 | /TP5/auto_generate/Livres.h | 558adc6c984f0877ccf66e1069f9f210b86911b3 | [] | no_license | dai2019-ui/AYOUJJIL_DAI2_TPs | 8b5b8a16ea383c051af6ebbcd644a8e72ab4698e | e475b076a48c3f3e58d0054210bac777919c60f3 | refs/heads/master | 2020-12-04T11:31:52.409805 | 2020-01-09T20:42:51 | 2020-01-09T20:42:51 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 310 | h | #ifndef Livres_h
#define Livres_h
#include "boolean.h"
#include "volumes.h"
class Emprunte;
class Livres : public volumes {
public:
virtual void empruntable();
public:
boolean disponible;
public:
/**
* @element-type Emprunte
*/
Emprunte *myEmprunte;
};
#endif // Livres_h
| [
"develeppement505@gmail.com"
] | develeppement505@gmail.com |
cdfbccbd14c7c04f13eea5f923d4258856c7e001 | 0621b297716ef8c89a88a38ed576fde42e40cdf0 | /UIDevelop/CUIDevelopWindow.h | 65d30fbee005442209aa1e7155ad3d42ce263ca1 | [] | no_license | radtek/venus | a654e3de3e7e48017ec9f6669053631f94a6db95 | 0ce2c7b363ec083c89e8a0a49cd77abce8e6c9c7 | refs/heads/master | 2020-06-27T21:14:07.971790 | 2016-10-11T08:00:52 | 2016-10-11T08:00:52 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 431 | h | #pragma once
#include "BaseInc.h"
class CUIDevelopWindow : public CForm
{
public:
CUIDevelopWindow();
~CUIDevelopWindow();
void OnCreate();
void OnLoaded();
void OnShow();
void OnVisualSizeChanged();
void GetMeta(IMetaHelper * pHelper);
void OnMouseDownL(pointix point);
void OnKeyDown(KeyCodeE key);
void ... | [
"thexujie@qq.com"
] | thexujie@qq.com |
823292b721f163ab65e61f4a101d70ddc2bb1e92 | 4ddf464dff8ed5572789dc82cd2a8a723aef6127 | /src/timedata.cpp | 0825a5c5193bed15e9ff1f29697c7c48669501bf | [
"MIT"
] | permissive | clycoin/clycoin | 2c577cf4a308b39e2cf55f6e93b8976ebe1b663b | 34efad8b2554b9a3369a059cb78fbe45d8007f53 | refs/heads/master | 2020-04-08T08:43:37.493214 | 2018-11-26T15:54:54 | 2018-11-26T15:54:54 | 159,191,184 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,701 | cpp | // Copyright (c) 2014-2015 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "timedata.h"
#include "netaddress.h"
#include "sync.h"
#include "ui_interface.h"
#include "util.h"
#include "utilst... | [
"clycoin@gmail.com"
] | clycoin@gmail.com |
b725511e0ed99a675c8b176f63a4340a30ec9deb | 0543967d1fcd1ce4d682dbed0866a25b4fef73fd | /Midterm/solutions/midterm2017_43/A/001453-midterm2017_43-A.cpp | 6d6dd470a433b3086fa80776e7cd9d32f453e8ec | [] | 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 | 279 | cpp | #include <iostream>
#include <algorithm>
using namespace std;
int main(){
int n;
cin >> n;
for (int i = 1; i < n; ++i)
{
if (n % 2 == 0 && (n % i == 0 && n / i = int(i)))
{
cout << "NO";
}else{
cout<<"YES";
}
}
return 0;
} | [
"beysenbek@gmail.com"
] | beysenbek@gmail.com |
80403e8a28f20c9d6598c6aba017c88e3e29dee4 | 536656cd89e4fa3a92b5dcab28657d60d1d244bd | /chrome/browser/previews/previews_browsertest.cc | a2a649dda9d723e8e4220c8e9ba9de7620e2d365 | [
"BSD-3-Clause"
] | permissive | ECS-251-W2020/chromium | 79caebf50443f297557d9510620bf8d44a68399a | ac814e85cb870a6b569e184c7a60a70ff3cb19f9 | refs/heads/master | 2022-08-19T17:42:46.887573 | 2020-03-18T06:08:44 | 2020-03-18T06:08:44 | 248,141,336 | 7 | 8 | BSD-3-Clause | 2022-07-06T20:32:48 | 2020-03-18T04:52:18 | null | UTF-8 | C++ | false | false | 17,411 | cc | // 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.
#include "base/bind.h"
#include "base/command_line.h"
#include "base/metrics/field_trial_param_associator.h"
#include "base/metrics/field_trial_params.h"
... | [
"pcding@ucdavis.edu"
] | pcding@ucdavis.edu |
4232cb91bc37e4e09f73aba3713a9e0e99e5b1d4 | 6bd2c66b1c9bf984f2dfb866bb97ecf29d69ae0f | /src/leveldb/db/table_cache.h | a652d40adab1d9b74c235096927e1f52f7b28266 | [
"MIT",
"BSD-3-Clause"
] | permissive | futurecoin1/futurecoin1 | efe8280d39b8df32a075623a7e70102a4aaf9c01 | 0a6f143b0b37bd5245ae5bab04baf7d61d1c7fb2 | refs/heads/master | 2020-07-15T12:34:24.799080 | 2017-04-17T10:13:48 | 2017-04-17T10:13:48 | 65,669,859 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,980 | h | // Copyright (c) 2011 The LevelDB Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. See the AUTHORS file for names of contributors.
//
// Thread-safe (provides internal synchronization)
#ifndef STORAGE_LEVELDB_DB_TABLE_CACHE_H_
#define... | [
"futuredev@protonmail.com"
] | futuredev@protonmail.com |
3dde11a490d1e8c4e070538c8e0505ea25e2925d | 318f01d007b038732800b9d47f2926dcce8865c4 | /timer.h | dbe3da6535aa88db594e386b7fcf5b063d1b8bbd | [] | no_license | i-v-s/flyflow | 270564bbb5e0c1b9d220da79e3ecc6233489d96c | f026c4e79bc4133a609b35d967be926512969060 | refs/heads/master | 2021-01-16T23:33:36.738801 | 2016-11-01T10:01:09 | 2016-11-01T10:01:09 | 51,923,379 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 520 | h | #ifndef TIMER_H
#define TIMER_H
#include <chrono>
class Timer
{
private:
std::chrono::high_resolution_clock::time_point tp1_;
public:
Timer()
{
}
void start()
{
tp1_ = std::chrono::high_resolution_clock::now();
}
double end()
{
using namespace std::chrono;
... | [
"smirnoviv@rambler.ru"
] | smirnoviv@rambler.ru |
45356067e8925d09681a55b3000e644b9d84b72c | b0a23d63ca998797053bd6d011bcd3a99b9aba7f | /source/WorldServer/Titles.cpp | 36c6efbed0c9dbd7c9bb469e26cce76914346350 | [] | no_license | kirmmin/EQ2Emu-Classic | ff8b25354e03aab8516c838e8b6bf7f78a758747 | 7adefa5e1f0e4e4c3dd779f581e85f0e2c0e8a97 | refs/heads/master | 2021-05-18T02:55:27.048787 | 2020-03-29T16:27:51 | 2020-03-29T16:27:51 | 251,073,491 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,919 | cpp | /*
EQ2Emulator: Everquest II Server Emulator
Copyright (C) 2007 EQ2EMulator Development Team (http://www.eq2emulator.net)
This file is part of EQ2Emulator.
EQ2Emulator is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
... | [
"kirmmin@hotmail.com"
] | kirmmin@hotmail.com |
87c7b6620fc39f234bae5423912ecaf4904a2780 | d0d36b90d7efdf8f111316a23e167aba34082026 | /common.cpp | d81c5e04ec9956cc53d832e4c88efc5fc1e511fd | [] | no_license | blockspacer/litehtml-qt-widget | 3c65d8604c0c55a0d83b5e706ee00a4dc8a318d2 | b748e4e1ac3b3371ebf215266ce51e6f780ee54d | refs/heads/master | 2020-05-07T09:03:53.028864 | 2019-04-25T16:20:22 | 2019-04-25T16:20:22 | 180,360,194 | 5 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,701 | cpp | #include "common.h"
#include "litehtml.h"
#include "color.h"
////////////////////////////////
// https://github.com/rkudiyarov/ClutterWebkit/blob/05d919e0598691bcd34f57d27f44872919e39e92/WebCore/platform/graphics/GraphicsTypes.cpp
static const char* const compositeOperatorNames[] = {
"clear",
"copy",
"s... | [
"trofimov_d_a@magnit.ru"
] | trofimov_d_a@magnit.ru |
283f375c2023421619c2aa618526e9505796aace | 82815230eeaf24d53f38f2a3f144dd8e8d4bc6b5 | /Airfoil/wingMotion/wingMotion2D_pimpleFoam/1.86/polyMesh/points | a2a8dfe7a168bfc8791dd20f2fb30fa46795f5c3 | [
"MIT"
] | permissive | ishantja/KUHPC | 6355c61bf348974a7b81b4c6bf8ce56ac49ce111 | 74967d1b7e6c84fdadffafd1f7333bf533e7f387 | refs/heads/main | 2023-01-21T21:57:02.402186 | 2020-11-19T13:10:42 | 2020-11-19T13:10:42 | 312,429,902 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 781,831 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v1912 |
... | [
"ishantamrakat24@gmail.com"
] | ishantamrakat24@gmail.com | |
14517e64b71a7908578e42af878c9bcfcc9d54a3 | 06b365a016934701013a325b9f881648d8ba6c05 | /cspe1-week4-joeri-hu/exercise-4.4/set.hpp | f382eb4743f0e56f4219cff625964ff285ba7e00 | [] | no_license | joeri-hu/cpse1 | 1517fd9367911f5d7247b094b89180636328b135 | ca22f92741e3f3a7e88a4037c19316868b6dbd01 | refs/heads/master | 2023-01-23T19:47:47.873039 | 2020-11-30T20:50:38 | 2020-11-30T20:50:38 | 299,107,321 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,052 | hpp | #ifndef SET_HPP
#define SET_HPP
#include <ostream>
#include <array>
template<typename T = int, size_t S = 10>
class set {
private:
std::array<T, S> stuff;
size_t tally;
void shift(size_t start) {
for (auto spot = start + 1; spot < tally; ++spot) {
stuff[spot - 1] = stuff[spot];
}... | [
"joeri.j.kok@student.hu.nl"
] | joeri.j.kok@student.hu.nl |
4e88b37528e890df6e582f53f3c2108f4bb13ef7 | 1d3694b6beeec6f329dbef80a908c5684f75d265 | /Implementation/angryProfessor.cpp | e1debc90a1ae3e19a5583d0039ac536d5598bc76 | [] | no_license | Bvangoor/HackerRank | 48fd0f7411602e06c1f7ca0aac944ee550ed99b8 | 3e63c9c06c724df641126edad41706d509f6092a | refs/heads/master | 2016-09-06T07:39:42.472174 | 2015-09-25T07:37:15 | 2015-09-25T07:37:15 | 37,826,566 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 531 | cpp | #include <cmath>
#include <cstdio>
#include <vector>
#include <iostream>
#include <algorithm>
using namespace std;
int main() {
/* Enter your code here. Read input from STDIN. Print output to STDOUT */
int t,n,k,arrival;
cin>>t;
while(t--){
cin>>n;
cin>>k;
int count=0;
... | [
"vangoor.bharath@gmail.com"
] | vangoor.bharath@gmail.com |
8dad81e268cf075494070f3ee681fc0028912e0a | e0e05c3e11d5bcc109dc088067519a611b323a35 | /c++/mm-temp/11/11-14.cpp | 7d17889b545964b667265284136c2f1d04516b4c | [] | no_license | miaomao1989/program_test | ac3858e600a7a28a4f2a4dc7c2ae0fa472ea075c | e537f008035b0695d03bb0534c6138c65a895a3e | refs/heads/master | 2020-04-06T06:56:45.561929 | 2016-08-30T11:48:49 | 2016-08-30T11:48:49 | 52,199,904 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 595 | cpp | #include <iostream>
#include <list>
#include <vector>
#include <algorithm>
using namespace std;
int main()
{
int ia[] = {1, 2, 3, 4, 100, 5, 100};
vector< int > ivec(ia, ia+7);
list<int> ilst;
// replace_copy(ivec.begin(), ivec.end(), inserter(ilst, ilst.begin()), 100, 0);
// replace_copy(ivec.begin(), ivec... | [
"im1020110542@126.com"
] | im1020110542@126.com |
f9883c7e2b42dfd205cdd94b29ea9c19db86ae0a | 1f3fb8f0396a70921cbb25d19400bbfe43ecd21e | /Long challenge/problem_difficuelties.cpp | ec6b5936e782f2071ab052daaae488316106ea99 | [] | no_license | SuprabhatRavi/CodeChef | a7e63a46ef91f1a24083931d82f54a40d3077ed5 | dd3226840f65ec089ccbd5482b4fc6f6879e2c5e | refs/heads/main | 2023-07-09T09:47:10.995249 | 2021-08-11T12:46:53 | 2021-08-11T12:46:53 | 394,774,967 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 917 | cpp | /*
You have prepared four problems. The difficulty levels of the problems are A1,A2,A3,A4 respectively. A problem set comprises at least two problems and no two problems in a problem set should have the same difficulty level. A problem can belong to at most one problem set. Output the maximum number of problem sets you... | [
"suprabhatkumarravi@gmail.com"
] | suprabhatkumarravi@gmail.com |
176d8078ca49371f678efdaf860a22242dbab45f | ee24f950b9b14ac393285c1d5782f4072238e055 | /src/lib/libkrbn/src/libkrbn.cpp | a5d3a58119116867d49a6209506145d9a06f0692 | [
"Unlicense"
] | permissive | mwhurr/Karabiner-Elements | 488c8e5a1e32650637da50c5de110dd32855336a | 03b0555461f392a81e501c8ec0a1e67878b3ba44 | refs/heads/master | 2022-12-22T06:26:19.938126 | 2020-09-23T14:02:58 | 2020-09-23T14:02:58 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 16,922 | cpp | #include "libkrbn/libkrbn.h"
#include "application_launcher.hpp"
#include "constants.hpp"
#include "core_configuration/core_configuration.hpp"
#include "dispatcher_utility.hpp"
#include "launchctl_utility.hpp"
#include "libkrbn/impl/libkrbn_components_manager.hpp"
#include "libkrbn/impl/libkrbn_cpp.hpp"
#include "proce... | [
"tekezo@pqrs.org"
] | tekezo@pqrs.org |
730bf23dc88b08044580ad1cd4c01fe04a10c421 | 86b55c5bfd3cbce99db30907ecc63c0038b0f1e2 | /chromeos/constants/chromeos_features.h | b582291c059ce78a6401664d9162b8317215e5dd | [
"BSD-3-Clause"
] | permissive | Claw-Lang/chromium | 3ed8160ea3f2b5d51fdc2a7d764aadd5b443eb3f | 651cebac57fcd0ce2c7c974494602cc098fe7348 | refs/heads/master | 2022-11-19T07:46:03.573023 | 2020-07-28T06:45:27 | 2020-07-28T06:45:27 | 283,134,740 | 1 | 0 | BSD-3-Clause | 2020-07-28T07:26:49 | 2020-07-28T07:26:48 | null | UTF-8 | C++ | false | false | 12,214 | h | // Copyright 2018 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROMEOS_CONSTANTS_CHROMEOS_FEATURES_H_
#define CHROMEOS_CONSTANTS_CHROMEOS_FEATURES_H_
#include "base/component_export.h"
#include "base/feature... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
d19b8c67f257c066ddfab97f33ddc993b81a4cf5 | a7c42ac5ec2199cbb259253944272a8f78051b71 | /剑指Offer38.字符串的排列.cpp | 67b0fe99aaebad735f50a97be882c80efb8bd833 | [] | no_license | ImportMengjie/Leetcode | 9a894e5a0971860275bfea8ffa1cc69d33298ce8 | 584d3cda27fafcc7d4dd0a101472ebaccfd6a9dd | refs/heads/master | 2023-05-25T13:43:16.397448 | 2023-05-22T08:34:12 | 2023-05-22T08:34:12 | 200,491,766 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,132 | cpp | /*
输入一个字符串,打印出该字符串中字符的所有排列。
你可以以任意顺序返回这个字符串数组,但里面不能有重复元素。
示例:
输入:s = "abc"
输出:["abc","acb","bac","bca","cab","cba"]
限制:
1 <= s 的长度 <= 8
来源:力扣(LeetCode)
链接:https://leetcode-cn.com/problems/zi-fu-chuan-de-pai-lie-lcof
著作权归领扣网络所有。商业转载请联系官方授权,非商业转载请注明出处。
*/
#include <string>
#include <vector>
#include <set>
using n... | [
"limengjie@hotmail.com"
] | limengjie@hotmail.com |
bbdada7d781f2309543e334d6b2f402e2a8132a4 | 203d7b7e3792acb8e7ccf0ca6feda8dc5b70ce60 | /src/Scenario/CommonScenario/Objhand.cpp | ac589d26ea04b8d3696b9c2bc83fd8e9443d886b | [
"MIT"
] | permissive | Kalamatee/RayStorm | 44e40882b5aff6fbefa3209bf6706cd402868dc3 | 1adb8f50478f795973aa51dcceb02682d671b41d | refs/heads/master | 2020-12-11T03:38:15.490729 | 2019-06-21T15:32:22 | 2019-06-21T15:32:22 | 37,782,719 | 4 | 0 | null | 2015-06-20T19:22:47 | 2015-06-20T19:22:47 | null | UTF-8 | C++ | false | false | 43,069 | cpp | /***************
* PROGRAM: Modeler
* NAME: objhand.cpp
* DESCRIPTION: loader for external objects
* AUTHORS: Andreas Heumann
* HISTORY:
* DATE NAME COMMENT
* 20.03.95 ah initial release
* 29.11.96 ah added Flare and Star functions
* 25.01.97 ah added AddBox()
... | [
"andreasheu@gmail.com"
] | andreasheu@gmail.com |
27601488220c3dd35e9632e3075bb65b6a65515d | e2e133e5bfa0537e76c376e1e0a670af3ee2a24a | /ed2016/src/Commands/DriveByLidar.h | c32f468ada806d63713c7aab486d2c62a44b6788 | [] | no_license | team116/ed2016 | 7b196ec8c0f0b6b558863ef877b07dd352e9e96f | 9bc51718b57a5cd1a84fc0b7795f4f84d0d95279 | refs/heads/master | 2021-01-20T17:26:32.392150 | 2016-12-02T01:44:06 | 2016-12-02T01:44:06 | 49,338,847 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 448 | h | #ifndef DriveByLidar_H
#define DriveByLidar_H
#include <CommandBase.h>
#include <WPILib.h>
class DriveByLidar: public CommandBase
{
public:
//drive until the lidar is returning specified distance
DriveByLidar(float, float err = 5.0); //distance in cm, error
void Initialize();
void Execute();
bool IsFinished();
... | [
"rhealha13@gmail.com"
] | rhealha13@gmail.com |
202e78783247b5c76867b83f708033a7c28db185 | 5ed2c620083bfdacd3a2cd69e68401f6e4519152 | /Algorithms/CLRS-CPP/chapter8/UnitTest.h | 1a54b1921df4d7317657c07884fc3dccb8fcd2c4 | [] | no_license | plinx/CodePractices | 03a4179a8bbb9653a40faf683676bc884b72bf75 | 966af4bf2bd5e69d7e5cfbe8ed67c13addcb61b9 | refs/heads/master | 2021-01-01T05:40:02.159404 | 2015-08-30T20:16:44 | 2015-08-30T20:16:44 | 33,318,262 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,348 | h | #ifndef UnitTest_h
#define UnitTest_h
//8.1-1
//minimun degree: 1
void test_count_sort()
{
int A[] = { 2, 5, 3, 0, 2, 3, 0, 3 };
int B[8] = { 0 };
count_sort(A, B, len(A), max_key(A) + 1);
printf("test_count_sort : ");
for (int i = 0; i < len(B) - 1; i++)
printf("%d, ", B[i]);
printf("%d\n", B[len(B) - 1]);
}... | [
"plinux@qq.com"
] | plinux@qq.com |
fd3792d5f9d48e4f8209db2716859b72dff1589d | 286ceb0c47ed85a1adb49f7afc8ab167505bc254 | /Aserve/source/OldSource/model/AserveModel.h | cae9003b612a33b4e2a9505af819db1fe837b05f | [] | no_license | tommymitch/Aserve | 9c61ca5ae6d9102fd4c49b614623a454784b4fcf | a9d8b03778743c7aae4044ca4f09c51492737a01 | refs/heads/master | 2021-01-10T20:28:16.116285 | 2016-10-10T20:27:36 | 2016-10-10T20:27:36 | 2,150,075 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 720 | h | /*
* AserveModel.h
* Aserve
*
* Created by tjmitche on 06/08/2011.
* Copyright 2011 __MyCompanyName__. All rights reserved.
*
*/
#ifndef H_ASERVEMODEL
#define H_ASERVEMODEL
#include "../../JuceLibraryCode/JuceHeader.h"
/**
Top level of the model class where all internal data is stored
*/
class AserveMod... | [
"teamaxe@hotmail.com"
] | teamaxe@hotmail.com |
4efb7dae7017e112fee321af8bcdf2a5209cadf5 | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/git/gumtree/git_repos_function_3535_git-2.13.6.cpp | 5beef7ecae13a26aae35e9f18f8ca3d33c6e2a61 | [] | 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 | 168 | cpp | int parse_oid_hex(const char *hex, struct object_id *oid, const char **end)
{
int ret = get_oid_hex(hex, oid);
if (!ret)
*end = hex + GIT_SHA1_HEXSZ;
return ret;
} | [
"993273596@qq.com"
] | 993273596@qq.com |
7d637647076d0c5571729d42ef93e3b269ec26b9 | f58b24f4c15152d9b30e631014494d2042673d3b | /FILE SOURCE/Lesson9.SpriteAndTime/Explosion.h | f943018e116244ed5a1c03164e265217d10c6cbe | [] | no_license | dotrunghieu0903/HK9 | 34d5238b986168aab8b8723036a60c4577601a7c | e6dc3539a6ab73c21a5d969814073e562507e8bd | refs/heads/master | 2020-06-24T20:41:12.345847 | 2016-11-23T23:59:43 | 2016-11-23T23:59:43 | 74,622,750 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 553 | h | #pragma once
#include "Sprite.h"
ref class Explosion: public Sprite
{
internal:
Explosion(
_In_ int id,
_In_ D2D1_POINT_2F position,
_In_ ID2D1Device* d2dDevice,
_In_ ID2D1DeviceContext* d2dContext,
_In_ IWICImagingFactory* wicFactory
);
virtual void Render() override... | [
"dotrunghieu0903@gmail.com"
] | dotrunghieu0903@gmail.com |
c9ed53c613434ec7ef0ea0e42577fc14d65484c3 | 66a8e79ad75e601e4330d122fc1c9f23ea56fb10 | /code/userprog/processmanager.h | cb37c69383e749ac181d6af08639598195e0a62d | [
"MIT-Modern-Variant"
] | permissive | justintjoa/170proj3 | 77af974ed6a27617ae3e85510e4486737761104c | 4c21fa4d7e2c12164e090937f427da422680ad44 | refs/heads/master | 2021-01-07T18:05:04.884304 | 2020-02-21T07:34:46 | 2020-02-21T07:34:46 | 241,777,030 | 0 | 0 | NOASSERTION | 2020-02-21T07:34:48 | 2020-02-20T02:42:10 | C++ | UTF-8 | C++ | false | false | 1,060 | h | /*
* ProcessManager header
*
* This class keeps track of the current PCBs and manages their creation and
* deletion.
*/
#ifndef PROCESS_MANAGER_H
#define PROCESS_MANAGER_H
#define MAX_PROCESSES 32
#include "pcb.h"
#include "synch.h"
class AddrSpace;
class ProcessManager {
public:
ProcessManager();... | [
"justintjoa@umail.ucsb.edu"
] | justintjoa@umail.ucsb.edu |
e0364d3b920db55f27676a236edeb7dbd9cd042d | f79dec3c4033ca3cbb55d8a51a748cc7b8b6fbab | /ham/linpsk/files/pkgsrc_fixes.h | 3901ccc2da30b53d8624a062b7d9b8da4f601f39 | [] | no_license | jsonn/pkgsrc | fb34c4a6a2d350e8e415f3c4955d4989fcd86881 | c1514b5f4a3726d90e30aa16b0c209adbc276d17 | refs/heads/trunk | 2021-01-24T09:10:01.038867 | 2017-07-07T15:49:43 | 2017-07-07T15:49:43 | 2,095,004 | 106 | 47 | null | 2016-09-19T09:26:01 | 2011-07-23T23:49:04 | Makefile | UTF-8 | C++ | false | false | 497 | h | #ifndef LINPSK_PKGSRC_FIXES_H
#define LINPSK_PKGSRC_FIXES_H
#ifdef __NetBSD__
# include <sys/param.h>
#endif
#if !(defined(__NetBSD__) && __NetBSD_Version__ < 200000000)
# define HAVE_STRUCT_SCHED_PARAM
#endif
#if !(defined(__GNUC__) && (__GNUC__ < 3))
# define HAVE_STD_VECTOR_AT
#endif
#ifdef __cplusplus
template ... | [
"rillig"
] | rillig |
05a8939838a4882cea7b053653a0f1e98d9e0b54 | 7c12fd3378de123a5aa12f08d3f8178d588a23ed | /gpiopmw.h | 991c959393b038d26538791366b893c3143533de | [] | no_license | mudlleman/25225582 | d3e1332b5fa5b10d04cf07f63a209d2d3ff7f3fb | 92c8e5846f7223e02ca58a03590350d0cd728fc7 | refs/heads/master | 2021-08-19T07:21:26.865803 | 2017-11-25T05:51:57 | 2017-11-25T05:51:57 | 111,494,374 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 563 | h | #ifndef GPIOPMW_H
#define GPIOPMW_H
#include <QObject>
#include <QThread>
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <termios.h>
#include <errno.h>
class GpioPmw : public QThread
{
Q_OBJECT
pub... | [
"25525582@qq.com"
] | 25525582@qq.com |
a9dc243499e748fb2cec6805218b52daaddeb036 | f0cb939867f21e53fad26ae4969c69ba0f99cd99 | /debris/fas/jsonrpc/method/local/result.hpp | a3b84136ad79ed8d57a2463bb0483fdba5952f71 | [] | no_license | migashko/faslib-sandbox | 238550c6dce4866392a1527dfee030a6b593dd71 | a61b49cbab0e84a9440a1ad5d350ccbaff75995e | refs/heads/master | 2021-01-23T03:48:38.525241 | 2013-11-04T03:19:45 | 2013-11-04T03:19:45 | 4,808,593 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 839 | hpp | #ifndef FAS_JSONRPC_METHOD_LOCAL_RESULT_HPP
#define FAS_JSONRPC_METHOD_LOCAL_RESULT_HPP
#include <fas/jsonrpc/method/local/result/tags.hpp>
#include <fas/jsonrpc/method/local/result/ad_result.hpp>
#include <fas/jsonrpc/method/local/result/ad_result_fail.hpp>
#include <fas/jsonrpc/method/local/result/ad_invalid_result... | [
"migashko@gmail.com"
] | migashko@gmail.com |
3f82261514de277a6e8bf8161be4264e95103292 | 64713f85cf3468d671ad1a4aa5123e8f11069834 | /src/registerDynamicSymbol.cpp | 77746bc402011ad3ee9df77571949bea13bd4aa9 | [] | no_license | jdtuck/fdasrvf_R | b730300b9c19b136da724b9528bcf1637bc4423b | cd820a02047844e2b19c9d78b365f8c88c25de47 | refs/heads/master | 2023-06-24T01:30:11.250101 | 2023-06-18T02:17:50 | 2023-06-18T02:17:50 | 46,059,291 | 11 | 13 | null | 2023-05-11T23:17:26 | 2015-11-12T14:46:14 | C++ | UTF-8 | C++ | false | false | 225 | cpp | // RegisteringDynamic Symbols
#include <R.h>
#include <Rinternals.h>
#include <R_ext/Rdynload.h>
void R_init_fdasrvf(DllInfo* info) {
R_registerRoutines(info, NULL, NULL, NULL, NULL);
R_useDynamicSymbols(info, TRUE);
}
| [
"jdtuck@sandia.gov"
] | jdtuck@sandia.gov |
a935a33fb38a3c0128e08f3a282c2910b78ff279 | b2605c93db0c5b3dd0ac7f7cfa80674e82ff9439 | /lib/parsers.hh | f6f0d5eac5f6b5aa4aa89dc9f15cff0298273c41 | [
"BSD-3-Clause",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | adnbsr/khmer | 76728708b60a5662e93b83c6559502d31b92445d | 64612c1140d17c0988fa01f3c6c627913b509700 | refs/heads/master | 2021-01-18T13:20:23.385284 | 2013-08-01T21:13:42 | 2013-08-01T21:13:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,668 | hh | #ifndef PARSERS_H
#define PARSERS_H
#include <iostream>
#include <string>
#include <string.h>
#include <fstream>
#include <assert.h>
#include "zlib-1.2.3/zlib.h"
struct Read
{
std::string name;
std::string seq;
//std::string quality;
};
class IParser
{
public:
virtual Read get_next_read() = 0;
virtual... | [
"jason.pell@gmail.com"
] | jason.pell@gmail.com |
61aa3158aad7ca4301682d0cc09a8f5685a2936e | 29b05376289c8a4fd3ec7e3dd2b58f4c81ba3751 | /esp8266/ws-pio-0/src/scontrol.h | 7e819618381048aee7b642f94106e4e9051ae739 | [] | no_license | punitsoni/scratch | 30fbc01cbfb2e346c08549433d764e15428ba8b9 | 91cb0a01c09e752e4c3806d5030a4a5b3475c0d0 | refs/heads/master | 2022-07-08T12:14:56.537562 | 2020-09-02T07:18:32 | 2020-09-02T07:18:32 | 43,860,285 | 0 | 0 | null | 2022-06-22T02:40:26 | 2015-10-08T03:30:44 | JavaScript | UTF-8 | C++ | false | false | 928 | h | #include <WebSocketsServer.h>
#include <cstdint>
#include <Arduino.h>
#include <Hash.h>
namespace neptune {
struct Client
{
uint8_t id;
bool connected;
};
/* singleton class to represent the controller */
class SwController
{
public:
void update();
void start();
static SwController *getInstance()... | [
"punits@quicinc.com"
] | punits@quicinc.com |
3a875caa01a26c5a96d8a45a9c62eb37cad93b86 | ceb18dbff900d48d7df6b744d1cd167c7c9eb5c5 | /thirdparty/uilib/DM/Samples/QQDemo/inc/widget/DUIWebkit.h | 1ebf14a2e4e250cc4b76ae88f6e92496e7a38cab | [] | no_license | 15831944/sourcecode | 6bb5f74aac5cf1f496eced1b31a0fd4cf3271740 | 412f0ba73dd7fb179a92d2d0635ddbf025bfe6d4 | refs/heads/master | 2021-12-27T20:07:32.598613 | 2018-01-15T14:38:35 | 2018-01-15T14:38:35 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 3,565 | h | //-------------------------------------------------------
// Copyright (c) DuiMagic
// All rights reserved.
//
// File Name: DUIWebkit.h
// File Des: WebKit
// File Summary:
// Cur Version: 1.0
// Author:
// Create Data:
// History:
// <Author> <Time> <Version> <Des>
// guoyou 2014-11-24 1.0 ... | [
"mushilanxin@163.com"
] | mushilanxin@163.com |
2a50c7ea656577693034d84532129089e1cfe7b5 | 551ddfdc5c38cb235f4a7492071972b73058b12f | /cpp/godot-cpp/include/gen/SceneTree.hpp | 87f8c9cc46c52f90afe945f8f28e556ab5fed85c | [
"MIT"
] | permissive | GDNative-Gradle/proof-of-concept | e83c34690ebd07753c401a0d8a249ac149aca5b6 | 162f467430760cf959f68f1638adc663fd05c5fd | refs/heads/master | 2021-03-09T23:22:03.345010 | 2020-03-11T00:11:06 | 2020-03-11T00:11:06 | 246,392,644 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,761 | hpp | #ifndef GODOT_CPP_SCENETREE_HPP
#define GODOT_CPP_SCENETREE_HPP
#include <gdnative_api_struct.gen.h>
#include <stdint.h>
#include <core/CoreTypes.hpp>
#include <core/Ref.hpp>
#include "MainLoop.hpp"
namespace godot {
class Node;
class PackedScene;
class SceneTreeTimer;
class MultiplayerAPI;
class NetworkedMultipla... | [
"adamwbrown@gmail.com"
] | adamwbrown@gmail.com |
3dfef02c0fdbb668d09c194c711cc90068b656a2 | 6f021d80f2847fa13129dc1652eb55c6ffbe24ec | /Bit_MFC/CView.cpp | e8d33eae8b552f7b4ab8aba45207b9df8fcdff9b | [] | no_license | ksjang1234/Bit_MFC | 4e5f41a2f23fa7edb9b6daf2478478b4ba907480 | b6fbc6eeb44b3ee044a131fcf121735f0a924c98 | refs/heads/master | 2020-04-08T18:48:20.096104 | 2018-11-30T04:38:59 | 2018-11-30T04:38:59 | 159,625,792 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,417 | cpp | #include <windows.h>
#include <math.h>
#include "stdafx.h"
#include "CView.h"
#include "DC.h"
CView app;
BEGIN_MESSAGE_MAP(CView)
{
WM_CREATE, &CView::OnCreate
},
{ WM_PAINT, &CView::OnDraw },
{ WM_DESTROY, &CView::OnDestroy },
{ WM_SIZE, &CView::OnSize },
{ WM_LBUTTONDOWN, &CView::OnLButtonDown },
END_MESSAGE_M... | [
"ksjang1234@naver.com"
] | ksjang1234@naver.com |
8a6d8b717903806c7e3281bf3391cd4ceb646dc2 | 6bf47fbfba9c064a130ee33abba9a0032dd469f9 | /CPP04/ex03/AMateria.hpp | 682bbead0404c61a39df125fd3532e7862cf11df | [] | no_license | Kirakise/CPPModules | 0713e74687f2e42c89c220133283b327ce1e2d99 | 3d4f09c09c11a700322a5d185e8cebe68fad2982 | refs/heads/master | 2023-08-30T15:37:52.968582 | 2021-11-01T19:18:22 | 2021-11-01T19:18:22 | 376,305,632 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 391 | hpp | #pragma once
#include <string>
#include "ICharacter.hpp"
class ICharacter;
class AMateria{
protected:
std::string type;
unsigned int _xp;
public:
AMateria(std::string const &type);
virtual ~AMateria();
std::string const & getType() const;
unsigned int getXP() const;
virtual AMater... | [
"rcaraway@oa-j1.msk.21-school.ru"
] | rcaraway@oa-j1.msk.21-school.ru |
ea6ca0fe57844e94fdf6e325f20122f73b574b8e | ec6d26381788cd8763c6be948ac07a2fbd8b4250 | /Codes/DFSTransform.cpp | d3aee78cd784bac72750357fc4f1205dc7c6d7d6 | [] | no_license | YipZLF/OJSurvivalTutorial | 300604b746c51652c063d6003464ec43ca19e33d | 06d7b85246eb24991eb262c6ad55e9266e76cbd9 | refs/heads/master | 2020-04-19T08:59:33.953432 | 2019-03-04T15:20:55 | 2019-03-04T15:20:55 | 168,096,394 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 279 | cpp | #include<iostream>
#include<cstdio>
using namespace std;
struct node{
int val;
node* pL,*pR;
};
node Tree[10000];
int seq[10000];
int main()
{
freopen("DFSTransform.in","r",stdin);
int i = 0,offset = 0;
while(scanf("%d ",seq+i++)==1){}
offset = i/2;
}
| [
"yipzlf@pku.edu.cn"
] | yipzlf@pku.edu.cn |
5cc661e8f5caaf15eb2ca41481024061d44390a0 | 17cb5c1ab291f43622b29fbe2c263a0891c02140 | /py_fluent/leetCode/01.cpp | 47df4eb6d5aa8d2ecaebaa096557d6343e3dd289 | [] | no_license | RownH/MyPy | 97f0d89cd7d9e16497130557685dbd0217f8cf28 | 50542d832096420f0a2661fa8af26dc216c08636 | refs/heads/master | 2020-06-20T16:53:12.547836 | 2020-05-23T16:03:52 | 2020-05-23T16:03:52 | 197,184,018 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 720 | cpp | /*
题目描述
评论 (128)
题解(266)
提交记录
面试题 01.01. 判定字符是否唯一
实现一个算法,确定一个字符串 s 的所有字符是否全都不同。
示例 1:
输入: s = "leetcode"
输出: false
示例 2:
输入: s = "abc"
输出: true
限制:
*/
class Solution {
public:
bool isUnique(string astr) {
if (astr.size() == 0)return 1;
int state = 0;
for (int i = 0; i < astr.size(); i+... | [
"799698579@qq.com"
] | 799698579@qq.com |
a824cb2121ff6ebebe3be83a59b17dd489a0793e | 8ede9eb3ba420d17fcf60f7b57613d7c665c7efa | /src/qt/networkstyle.cpp | eac19b8fad6d33f5b8ab88c2872e4cf143391600 | [
"MIT"
] | permissive | flabourascoinfoundation/Flabourascoin | e545bcb65a7f1d94b1e9d6e93d9a80aa0fa863e7 | 4847bd6e4e039737c2c0ad514901c8407fbc9575 | refs/heads/main | 2023-05-12T11:16:07.891932 | 2021-06-03T07:41:50 | 2021-06-03T07:41:50 | 372,016,268 | 0 | 0 | MIT | 2021-06-02T22:11:10 | 2021-05-29T16:08:35 | C++ | UTF-8 | C++ | false | false | 3,176 | cpp | // Copyright (c) 2014-2017 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <qt/networkstyle.h>
#include <qt/guiconstants.h>
#include <QApplication>
static const struct {
const char *ne... | [
"nikospower1999@gmail.com"
] | nikospower1999@gmail.com |
2c663e946bf5272f77a05144f85bfa78e263e16b | 74368efe6a1fdc5e6a664d09d305c7e0924e8a58 | /decoder.cpp | 7a8ad4ae25dfb67f4fad1df75e031c18627d2f8e | [] | no_license | rawatakhilesh/casim | c8a5c7b5210122096c9b0c2acdca32f5e604d418 | 2d28f3a8cad084b007b45953472411191ee7047e | refs/heads/master | 2020-04-07T00:57:20.988442 | 2018-12-12T23:39:17 | 2018-12-12T23:39:17 | 157,925,455 | 0 | 1 | null | 2018-12-12T23:32:22 | 2018-11-16T21:53:28 | C++ | UTF-8 | C++ | false | false | 56,111 | cpp | /** $lic$
* Copyright (C) 2012-2015 by Massachusetts Institute of Technology
* Copyright (C) 2010-2013 by The Board of Trustees of Stanford University
*
* This file is part of zsim.
*
* zsim is free software; you can redistribute it and/or modify it under the
* terms of the GNU General Public License as publishe... | [
"akhileshrawat0501@gmail.com"
] | akhileshrawat0501@gmail.com |
a425a7f8fa36291a7c0b47cc8368ee7e7561ab75 | ac29dd59ead1a6ab1849eb282021423db20f3871 | /solution_11661.cpp | 5b6d90799d5b535cc87566fa7c6700adc1e8f13c | [] | no_license | Qrune/ACM-Practice | 3ae424114f9d50dbaab2bfe0f69d1524f66ce410 | 5d2e0bf90f8b5bc8d70c4bebc903f7418fe4c46c | refs/heads/master | 2021-09-23T14:00:31.736187 | 2018-09-23T18:29:59 | 2018-09-23T18:29:59 | 107,995,774 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,378 | cpp | #include<iostream>
#include<cstring>
using namespace std;
void add(int *s, int *t)
{
int len = max(s[0],t[0]);
for (int i=1; i<=len; i++)
{
s[i] +=t[i];
s[i+1] += s[i]/10;
s[i] %= 10;
}
if (s[len+1]) len ++;
s[0] = len;
}
int cmp(int *s, int *t)
{
if (s[0] > t[0]) return 1;
if s[0] < t[0... | [
"gaoyang721@outlook.com"
] | gaoyang721@outlook.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.