blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 3 264 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 5 140 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 986
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 3.89k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 23
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 145
values | src_encoding stringclasses 34
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 3 10.4M | extension stringclasses 122
values | content stringlengths 3 10.4M | authors listlengths 1 1 | author_id stringlengths 0 158 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
2c3cceca783d1784fcea27cb35fcd8a496371963 | 239ae3528027868f1698bcffe4dd1941a963a18c | /desy_setup/CMSSW_5_3_9_patch3/src/TauAnalysis/CandidateTools/interface/NSVfitLikelihoodBase.h | 0021710a87342f0e16283b69024d8ede935ddeb0 | [] | no_license | saxenapooja/HTauTau | 2ff61e337fd0b0ee2319982d64174b7495d7fd9f | 46343cba7a6a4aeeacfd91e44f7ffc1a358a0295 | refs/heads/master | 2016-09-06T08:27:31.588092 | 2014-08-22T10:26:31 | 2014-08-22T10:26:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,571 | h | #ifndef TauAnalysis_CandidateTools_NSVfitLikelihoodBase_h
#define TauAnalysis_CandidateTools_NSVfitLikelihoodBase_h
/** \class NSVfitSingleParticleLikelihoodBase
*
* Abstract base-class for all likelihood function plugins;
* used by nSVfit algorithm
*
* \author Christian Veelken, UC Davis
*
* \version $Revision... | [
"pooja.saxena@cern.ch"
] | pooja.saxena@cern.ch |
ee8f0bafb8657a724dd0024a9c434b58d561d948 | 872770c5323aa17120f2f708a1f0be09e663c9a8 | /Elastos/Framework/Droid/eco/src/core/systemui/statusbar/StatusBarView.cpp | 5126c9213aa9d86042fb330832c1cdc9f56f9332 | [] | no_license | xianjimli/Elastos | 76a12b58db23dbf32ecbcefdaf6179510362dd21 | f9f019d266a7e685544596b365cfbc05bda9cb70 | refs/heads/master | 2021-01-11T08:26:17.180908 | 2013-08-21T02:31:17 | 2013-08-21T02:31:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,357 | cpp |
#include "systemui/statusbar/StatusBarView.h"
#include "systemui/statusbar/CFixedSizeDrawable.h"
const char* StatusBarView::TAG = "StatusBarView";
const Int32 StatusBarView::DIM_ANIM_TIME;
StatusBarView::StatusBarView()
{}
StatusBarView::StatusBarView(
/* [in] */ IContext* context,
/* [in] */ IAttributeSet*... | [
"chen.xihao@kortide.com.cn"
] | chen.xihao@kortide.com.cn |
f8d9fe24b3a358d03e0e9b2fa3ae7b6ba816d7cb | b21e8b2e34d35e4b3aa35a0e3977ab349c3594b3 | /manager.h | 3978ffe1489662c30b055b56e34a2f30d388a32e | [] | no_license | jpcalcara/NIGHTAPP | 5a7d08de8ee8e06d16b452e0c520445b70a86f7c | 32d1ec6b91a7ce944a3b04a393ae0af064e1fc9c | refs/heads/master | 2021-11-03T20:57:26.948879 | 2019-04-27T03:37:42 | 2019-04-27T03:37:42 | 110,737,236 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,841 | h | #ifndef MANAGER_H
#define MANAGER_H
#include <QObject>
#include <QStringList>
#include <QDebug>
#include <QVector>
#include "login.h"
#include "ventana.h"
#include "formulario.h"
#include "start.h"
#include "localizacion.h"
#include "mapa.h"
#include "lineadetexto.h"
#include "busquedanombre.h"
#i... | [
"noreply@github.com"
] | jpcalcara.noreply@github.com |
ed007280016dd983404b94aac9c204784c1271f1 | 7dd90900245d837b919cead1f1ace59faf836f5d | /Validation/VerticalFilm/system/controlDict | e3c590d8cc715e5bc763f9be0be8172b495f2d97 | [] | no_license | NimaSam/phaseChangeHeatFoam | a39c518a59fc7c670b16b8c44f07f7429150ff07 | 43cedbc3f8ed40abe3996bccc63f0131c72b035f | refs/heads/master | 2021-01-25T04:58:45.432207 | 2017-06-07T05:36:35 | 2017-06-07T05:36:35 | 93,494,967 | 25 | 18 | null | null | null | null | UTF-8 | C++ | false | false | 1,994 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.6 |
... | [
"noreply@github.com"
] | NimaSam.noreply@github.com | |
e1f9abd536303d91f03a3f0815d3594d1f56669d | 8a6ccc34fe0afab6a854f9d9a93395a5c77d274d | /Camera/camx/src/hwl/iqinterpolation/ifeabf34interpolation.cpp | 2fe7a3a5d847cf73bf8572d7abf993fc5a15b79e | [] | no_license | Smartype/camx | e7ffbcc6ec437c1654b24680c85812f3bdfdb6a5 | a9e37cf33f6383760b51ebdb5953fbb5f40b8e80 | refs/heads/master | 2023-08-10T14:47:58.280280 | 2021-01-21T09:03:00 | 2021-01-21T09:03:00 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 22,115 | cpp | // NOWHINE NC009 <- Shared file with system team so uses non-CamX file naming
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// Copyright (c) 2017-2019 Qualcomm Technologies, Inc.
// All Rights Reserved.
// Confidential and Proprietary - ... | [
"liyan.2.xu@continental-corporation.com"
] | liyan.2.xu@continental-corporation.com |
8127f1bf1d2a3a360afcc162cbdbc36bc2fc5bb7 | 154f9f527abb69adfe857ed2537104f6b78ddd31 | /src/rshell.h | de3ec4f735557c81705f635851be2d21fb6f1abf | [] | no_license | CCSDylan/scotshell | 31ed12cff65d1c0d6a103cbed55938a4e66e2c8f | b4b2646500a0e55de467c20cb3a0f5bc48d91ef4 | refs/heads/master | 2020-04-26T06:55:49.719161 | 2019-03-02T00:30:49 | 2019-03-02T00:30:49 | 173,380,129 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 18,792 | h | #ifndef _RSHELL_H
#define _RSHELL_H
#include <iostream>
#include <unistd.h>
#include <limits.h>
#include <cctype>
#include <vector>
#include <string>
#include <string.h>
using namespace std;
#include "arguments.h"
//*Quick Note
//*************
//Argument classes are working when commands are hard coded, but there's ... | [
"noreply@github.com"
] | CCSDylan.noreply@github.com |
f20fbed9965e4ad5d3a7fec7488236b7c0449423 | b7440064eb06382de87485682b3b13ee59849a5f | /SPRACING_F3_FC/Core/Src/pid.cpp | 3450dfecb47a42460319f7057f9708f0a05ce8e4 | [] | no_license | SafQadi/Multicopter_Project | e35f8c3cc9da3fd4589d56c3e7b280c45b62f54a | 8968059b183c72b4c3a4e248a8a156f04bfeed00 | refs/heads/master | 2023-06-26T03:00:09.550347 | 2021-07-28T20:51:51 | 2021-07-28T20:51:51 | 388,820,995 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,819 | cpp | /*
* Author: Dr. Safwan Al-Qadhi
* Email: saq.qadi@gmail.com
*/
#include "pid.h"
Pid::Pid() {
// TODO Auto-generated constructor stub
}
Pid::~Pid() {
// TODO Auto-generated destructor stub
}
Pid::Pid(float p, float i, float d, float iLimit)
{
_P = p;
_I = i;
_D = d;
_I_limit = iLimit;
_last... | [
"saf.qadi@gmail.com"
] | saf.qadi@gmail.com |
59e7cf2ddb0bc48080a35217fe1716408773a4d5 | cedf8a57298b43fc10af9a681c2d389b105c974c | /MongSpeak/ie/toleinplaceframe.h | 9dde226e25ce1c2c3a732df0f9a39781ea6c2c39 | [] | no_license | pabloko/MongSpeak | 32fd6a7661bba235d390acb0227931b5ba91e239 | 94e6991811b5a7fdaefb4ab7921d4c6463a3f645 | refs/heads/master | 2021-05-26T22:16:20.741874 | 2020-06-23T22:00:50 | 2020-06-23T22:00:50 | 254,177,266 | 6 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,419 | h | #ifndef _TOLEINPLACEFRAME_H__
#define _TOLEINPLACEFRAME_H__
#include <windows.h>
#include <mshtmhst.h>
class TOleInPlaceFrame : public IOleInPlaceFrame {
public:
// IUnknown
virtual HRESULT STDMETHODCALLTYPE QueryInterface(REFIID riid,
void **ppv) = 0;
virtual ULONG STDMETHODCALLTYPE AddRef() = 0;
virtual ULONG... | [
"pablomorpheo@gmail.com"
] | pablomorpheo@gmail.com |
0e648621f363da5b3ca0df6675b361d6ffa2de21 | 451ebe9d068f635315e45cdf1be0405422bd6130 | /src/goal_mresidual.cpp | c2cd2c294852429b558b453430344345a5d61975 | [
"BSD-2-Clause"
] | permissive | bgranzow/goal | 4152ba8e364e72da44e05013953fb44b679c4635 | a2b05a634bb8aee2bdf916fe6e100969e76097f0 | refs/heads/master | 2021-12-12T18:18:41.305410 | 2021-12-09T15:52:18 | 2021-12-09T15:52:18 | 84,269,266 | 7 | 4 | null | 2017-05-23T20:39:49 | 2017-03-08T02:30:03 | C++ | UTF-8 | C++ | false | false | 953 | cpp | #include "goal_control.hpp"
#include "goal_displacement.hpp"
#include "goal_model.hpp"
#include "goal_mresidual.hpp"
#include "goal_vector_weight.hpp"
namespace goal {
using Teuchos::rcp_static_cast;
template <typename T>
MResidual<T>::MResidual(
RCP<Integrator> u_,
RCP<Integrator> w_,
RCP<Model<T>> model_) :... | [
"brian.granzow@gmail.com"
] | brian.granzow@gmail.com |
ac206dbfe8a2888e5721e1140a5fdb404b6a274c | 0b83089ba8db9da26bb6d2ba7bbeb9c12637c393 | /iap/canIapDevice.h | ead6ae3f5438fe4e4e427c7731b79dfd4b2a51fa | [] | no_license | XiaoxingChen/F1canBootLoader | 3c86eefff3cd433d56bb343bde1278dd79aa81d4 | f3799e7117280a5d99bbfa43e30dd77fe1719ac5 | refs/heads/master | 2021-01-12T09:50:07.833490 | 2019-02-18T02:10:46 | 2019-02-18T02:12:15 | 76,269,707 | 3 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 965 | h | #ifndef CAN_IAP_DEVICE_H
#define CAN_IAP_DEVICE_H
#include "chardev.h"
#include "CCan.h"
class CCanIapDevice
:public CCharDev
{
public:
CCanIapDevice(CCanRouter& canBaseRouter,
uint32_t txNodeId,
uint8_t txNodeIde,
uint32_t rxNodeId,
uint8_t rxNodeIde);
virtual int open();... | [
"cxx@seer-robotics.com"
] | cxx@seer-robotics.com |
9c1e0d4553eb96024b2c48f241dd321b481cae3d | 7683171cc07b77af40c8e3310e9463a47c9e8e12 | /Zamanov/C++(RBDL)/RUS6.cpp | f2351c64d6ace74ae80821b0d4d726783bf18288 | [] | no_license | anirvan95/Sensorless_active_compliance_6RUS | 724f766ededf604d07a2ac2389117388224d1ef5 | 3f4635a1e20cafd308c516764f3a7e3716894c35 | refs/heads/master | 2020-04-29T04:18:45.694250 | 2019-08-21T16:45:52 | 2019-08-21T16:45:52 | 175,842,878 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,502,817 | cpp | #include "RUS6.hpp"
#define pi 3.1415926
namespace RUS6
{
// Constructor
rus6::rus6(string file_path)
{
cout << "Inside Constructor\n";
Model m;
const char* ext;
ext = strrchr(file_path.c_str(),'.');
if(!strcmp(ext,".lua"))
{
cout<<"Input file is LUA"<<endl;
if (!Addons::LuaModelRead... | [
"anirvan.dutta95@gmail.com"
] | anirvan.dutta95@gmail.com |
c20dca0745c9def143ea3fa00e8648dc409b2c7b | 91f270e39fc48237df390b63d1818d6f7b6aebdf | /libuavcan/test/transport/can/can_driver.cpp | c6fcfccfeb1be39dd849af1f1cf7136a4a416f8b | [
"MIT"
] | permissive | Formlabs/libuavcan | 35dbdb1d391e0436a6ab3b56d5d35717724a93be | 9ef2b4a1a7fe1dd5e1c860c8635f1c36375b057c | refs/heads/master | 2022-11-08T18:33:08.989667 | 2022-09-23T14:01:04 | 2022-09-23T14:01:04 | 111,114,990 | 2 | 7 | MIT | 2022-09-23T14:01:05 | 2017-11-17T14:51:29 | C++ | UTF-8 | C++ | false | false | 3,345 | cpp | /*
* Copyright (C) 2014 Pavel Kirienko <pavel.kirienko@gmail.com>
*/
#include <gtest/gtest.h>
#include "can.hpp"
#include <uavcan/driver/can.hpp>
TEST(CanFrame, FrameProperties)
{
EXPECT_TRUE(makeCanFrame(0, "", EXT).isExtended());
EXPECT_FALSE(makeCanFrame(0, "", STD).isExtended());
EXPECT_FALSE(makeCa... | [
"pavel.kirienko@gmail.com"
] | pavel.kirienko@gmail.com |
9cb90b17344c3d193daaba6446fbb39027de385a | 5793e2f46c7a778e99be9e763e50ec4d4fda5919 | /generated/1.1.82/src/VkPhysicalDevice.h | 63a6082f3666b5adfb57b4e7672050abdc1f7df8 | [
"MIT"
] | permissive | shaunstanislauslau/node-vulkan | 7fb4ae2a0acb12fed2f640b3a7dfcccf6585097d | ee3e774ce1ada0ac42240d29b530cc3766a6b728 | refs/heads/master | 2020-03-30T15:31:44.806890 | 2018-09-29T14:40:29 | 2018-09-29T14:40:29 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 570 | h | /*
* MACHINE GENERATED, DO NOT EDIT
* GENERATED BY node-vulkan v0.0.1
*/
#ifndef __VK_VKPHYSICALDEVICE_H__
#define __VK_VKPHYSICALDEVICE_H__
#include <nan.h>
#define GLFW_INCLUDE_VULKAN
#include <GLFW/glfw3.h>
class _VkPhysicalDevice: public Nan::ObjectWrap {
public:
// #methods
static NAN_METHOD(New);... | [
"xilefmai@gmail.com"
] | xilefmai@gmail.com |
d00c83328ae4065c71771b159df83f7138403967 | d1ad68da0d7d3a71c2d43d297d6fd3cffbbf75c2 | /library/short-cycles/Optimized/Cycles.11.cpp | 00e938ec3d072aac8b28e42af700085bc1569e14 | [] | no_license | hamko/procon | 2a0a685b88a69951be7a9217dd32955f9500df57 | a822f8089a3063a158d47ea48c54aca89934f855 | refs/heads/master | 2021-01-17T00:00:10.915298 | 2020-02-24T06:24:33 | 2020-02-24T06:24:33 | 55,990,248 | 7 | 1 | null | 2020-02-24T06:24:34 | 2016-04-11T16:49:50 | C++ | UTF-8 | C++ | false | false | 32,541 | cpp | /**
* ---==== Counting the Number of 11-Cycles in an undirected Graph ====---
*
* AUTHORS: Anton N. Voropaev
* ``````` Artem M. Karavaev ( http://www.flowproblem.ru )
*
* CREATED: 25.11.2009
* ```````
* VERSION: 6.0 ( from 18.03.2010 )
* ```````
*/
#define VERSION "6.0"
... | [
"wakataberyo@gmail.com"
] | wakataberyo@gmail.com |
39bc55c2801c40342c9989dc3f49cae55881f046 | 17791830a76118deff87ca673e2f4f22631415bb | /1020 - A Childhood Game .cpp | 721a1f64f8577d451e5a31a2e0563cc7f89c3ece | [] | no_license | Zihad07/lightoj | cf78b2ceeed1f79493444a89ed974bb97d43a6df | 1c6f543678f59e770bfb6a1f89d120e2974f2071 | refs/heads/master | 2021-05-04T10:43:45.732880 | 2016-11-02T21:01:24 | 2016-11-02T21:01:24 | 51,293,491 | 0 | 1 | null | 2020-10-04T09:52:10 | 2016-02-08T11:14:14 | C++ | UTF-8 | C++ | false | false | 781 | cpp | //zihadnayem8@gmail.com
//NSTU,in DEPT: CSTE.
#include<iostream>
#include<cstring>
#include<cstdio>
using namespace std;
int main()
{
int test,n,t;
char name[10];
cin>>test;
for(int i=1;i<=test;i++)
{
scanf("%d %s",&n,name);
if(strcmp("Alice",name)==0)
{
if(n%3==1)
{... | [
"zihadnayem8@gmail.com"
] | zihadnayem8@gmail.com |
14f1c40ad2474427fd80a9351b9f36af49f319e5 | 5ef7887a7aefbbf536047c59052f99d9039590e3 | /src/components/application_manager/src/commands/hmi/ui_delete_command_request.cc | 7d5532f30fbcc779ab73ee84f4391ba048430216 | [] | no_license | smartdevice475/sdl_core_v4.0_winceport | 8b2ce9118635bf33700f71c5a87ceed668db1b7f | 1cdc30551eb58b0e1e3b4de8c0a0c66f975cf534 | refs/heads/master | 2021-01-24T20:52:42.830355 | 2016-11-29T06:22:16 | 2016-11-29T06:22:16 | 73,656,016 | 1 | 2 | null | 2016-11-14T01:37:46 | 2016-11-14T01:37:46 | null | UTF-8 | C++ | false | false | 2,020 | cc | /*
* Copyright (c) 2013, Ford Motor Company
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice, this
* list of condit... | [
"lovinghesl@hotmail.com"
] | lovinghesl@hotmail.com |
4f82ef1d7f3231277bdecad9cc348cea522dc47b | 0d0d92a52ae4f6af38fae8a994a1ff87209ae2d7 | /CallbackManager.cpp | d8e83c740e2344fa1ccf85cb605bb3ce4a460918 | [] | no_license | 2217936322/steam_api_base_144 | b79188d321446d99b170b6a6b647950a98287cf8 | 13e64878c9dfada429dbaaf4d0c91b1cbfa5bd5c | refs/heads/master | 2021-10-28T08:04:53.316310 | 2019-04-22T22:49:37 | 2019-04-22T22:49:37 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,972 | cpp | #include <Windows.h>
#include <map>
#include <conio.h>
#include "Steam\steam_api.h"
#include "Steam\steamclientpublic.h"
#include "CallbackManager.h"
bool bCallbackManagerInitialized = false;
CCallbackMgr::CCallbackMgr()
{
this->oSteam_BGetCallback = nullptr;
this->oSteam_FreeLastCallback = nullptr;
t... | [
"noreply@github.com"
] | 2217936322.noreply@github.com |
cc8374279204a0a49948a8045bf689013f4bcd8a | 57e2faf5f1df52fd0992b16471437a402000f866 | /Codes(since 12-01)/LOJ6039.cpp | fecd2620ec0c583cefa08f80f1001d48c7b25c30 | [] | no_license | 1592063346/Codes | 694dac4ac8c2e7c9a068d0b517e5e895962d1c48 | 711782c5e1c5d329d306f7e864c1d3d3e2af388c | refs/heads/master | 2020-04-13T17:15:14.784201 | 2019-06-29T02:46:18 | 2019-06-29T02:46:18 | 163,342,851 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,926 | cpp | #include<bits/stdc++.h>
using namespace std;
const int N = 5e4 + 10;
int n, m, k, x, y, ql[305], qr[305];
vector<int> sets[N];
pair<pair<int, int>, int> que[305][N];
long long dp[305][N], s[N];
int main() {
scanf("%d%d", &n, &k);
for (int i = 1; i <= n; ++i) {
scanf("%d%d", &x, &y);
m = m... | [
"noreply@github.com"
] | 1592063346.noreply@github.com |
35d4eff316e7eabe8ff803c7035e9f13bb9e3157 | 47aeae12041958ccb96423e41d40b8dcf1fd9c57 | /libraries/Adafruit_SSD1306-esp8266-64x48/Adafruit_SSD1306_64x48.cpp | 43be2c2c2add7a4ea99e162793fc318d30d964eb | [
"BSD-3-Clause",
"BSD-2-Clause",
"CC0-1.0"
] | permissive | Protonerd/FX-BlasterOS | bb8e1772a1202d99bca6f11d1b493b2d1b161d48 | dd50f3d29206d91a8f4e4020505612f92c5b987f | refs/heads/master | 2023-07-06T04:20:20.963119 | 2023-06-25T12:50:43 | 2023-06-25T12:50:43 | 169,420,842 | 16 | 9 | null | null | null | null | UTF-8 | C++ | false | false | 26,263 | cpp | /*********************************************************************
This is a library for our Monochrome OLEDs based on SSD1306 drivers
Pick one up today in the adafruit shop!
------> http://www.adafruit.com/category/63_98
These displays use SPI to communicate, 4 or 5 pins are required to
interface
A... | [
"noreply@github.com"
] | Protonerd.noreply@github.com |
1bb774f4670f1251173f59942691e6255e17ae4f | c157dc447672f47f2e4aef2291c25beea6d71cf0 | /geCore/src/geCore/TypeTraits.h | 99b126ffb528f47d420cfbe379b912a40310dba0 | [] | no_license | Rendering-FIT/GPUEngine | a1b38299adb9ee972a3b0011ad3bfb31b9da9fab | a5f486d3dfdc7c4430d90cb6cf0ccdba6da37844 | refs/heads/master | 2022-04-29T17:50:56.736207 | 2022-04-29T09:59:10 | 2022-04-29T10:09:39 | 81,936,720 | 11 | 8 | null | 2019-10-16T07:15:04 | 2017-02-14T11:04:27 | C++ | UTF-8 | C++ | false | false | 3,198 | h | #pragma once
#include<type_traits>
#include<tuple>
namespace ge{
namespace core{
template<typename T>struct is_basic :std::false_type{};
template< >struct is_basic<void >:std::true_type {};
template< >struct is_basic<bool >:std::true_type {}... | [
"imilet@fit.vutbr.cz"
] | imilet@fit.vutbr.cz |
6de0c61c6e3dc3de8279ba009986f7b7ae5bf270 | 7c9a9687e84e0f9d8b5ce85174cea4bd8ec2e6d9 | /Bridge/Bridge/VideoCard.h | 43ce07dd2bb427f1f31ab82b3f13fd7a185d4d88 | [] | no_license | Saprsuu6/ForRapassing | fa53ed08acb1e4d20ecf54407b8b32130d90b414 | f805cc6de751afbabe14fd6c0b2676d9a42e9315 | refs/heads/main | 2023-04-04T11:09:39.983754 | 2021-04-22T19:22:20 | 2021-04-22T19:22:20 | 360,657,494 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 976 | h | #pragma once
#include "Header.h"
class VideoCard : public Component
{
private:
string _videoMemory;
string _clockFrequency;
public:
VideoCard(const string& serialNumber,
const string& model,
const string& videoMemory,
const string& clockFrequency);
virtual void ShowInfo() const override;
const string& GetV... | [
"coffeei.2002@gmail.com"
] | coffeei.2002@gmail.com |
b66f08abd08ecdef3d943b814825f7c2ee6a9888 | 4793d48171b6a042b8b8b384a06060deafc65a18 | /burn/misc/taito_68k/vid_pc080sn.cpp | 9d19560f9773dbc124609e77c21319b4a9fdfcbf | [] | no_license | squidrpi/pifba | 556ee9dc1169d3b3ee6c36d50753027d69632a3a | 9d3dd8476750adf29253c8922841b87ff36b930b | refs/heads/master | 2021-01-23T03:33:28.496022 | 2018-09-12T08:59:50 | 2018-09-12T08:59:50 | 86,088,358 | 9 | 7 | null | 2017-04-09T13:50:34 | 2017-03-24T16:24:37 | C++ | UTF-8 | C++ | false | false | 3,652 | cpp | /*
Taito 68000 tiles
=====================
Part of FBAs Taito 68k hardware drivers
Credits: Mame team, Raine team
Coding by KEV, with help from Treble Winner and Jan_Klaassen
*/
#include "taito.h"
int p1scrollx=0,p2scrollx=0;
int p1scrolly=0,p2scrolly=0;
typedef void (*RenderTileFunction)(int,int,int,... | [
"squidrpi@users.noreply.github.com"
] | squidrpi@users.noreply.github.com |
83c7def62d3501c338473731e92bafcc76cf7856 | b193cba65bf97b928c656f0b3c3b47e47e2b62f4 | /repos/Project1/Project1/Source.cpp | 91b8d7dd9338d4a6ad6c73feeccb4e3bde1b3d95 | [] | no_license | Lomree/structs-Node-List | 61e736302941e79be3242b8e8c0d5219a68e37a5 | 4cea90491e0c1892762ea246509333989ad4f7c9 | refs/heads/master | 2020-09-21T01:08:16.406203 | 2019-11-28T11:24:03 | 2019-11-28T11:24:03 | 224,636,760 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 993 | cpp | #include <iostream>
#include <string>
using namespace std;
struct Node
{
string data;
Node *next = 0;
Node(string data, Node* next = 0)
{
this->data = data;
this->next = next;
}
};
struct List
{
Node *head;
List()
{
head = 0;
}
int GetSize()
{
int Size = 0;
Node *tmp = head;
while (tmp != 0... | [
"zhafjarov.o@ccam.cmc.unn.net"
] | zhafjarov.o@ccam.cmc.unn.net |
2ef63728a558c67e85ac4bb512cc3366dc2e01d5 | 215775e08b6a21ea5ce684352ba71e4d1751bc9e | /pljit/include/util/SourceCodeManagement.hpp | 9bee8802c8427b0cde57cebf003ddac0a9cf76cf | [
"MIT"
] | permissive | JigaoLuo/pl0-jit-compiler | baa7a86bcae70bd2576f546c9da0f03ae6fab562 | 033c6033a8b1274531e92d43141a8c43b7100a7f | refs/heads/main | 2022-12-19T17:11:13.845953 | 2020-10-10T19:16:18 | 2020-10-10T19:16:18 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,246 | hpp | #pragma once
//---------------------------------------------------------------------------
#include <string>
#include <string_view>
#include <vector>
//---------------------------------------------------------------------------
namespace pljit {
//------------------------------------------------------------------------... | [
"luojigao@outlook.com"
] | luojigao@outlook.com |
4ae0bae4264362f1e20cc8ca06df909feb7de58e | 817af1b98ca863fe272f1cf788d34607a579ff49 | /blastermaster/Object/Portal.cpp | 96739c9fa49b42556a43c5915b3e81942448fbc2 | [
"MIT"
] | permissive | ndmnhat/blastermaster | 85a72cd7cbc600b8d85ab649631194fc24989cb2 | 8937b738fe6d1667d0456c495a05b76106cd29ec | refs/heads/main | 2023-02-21T10:41:29.524576 | 2021-01-22T08:10:43 | 2021-01-22T08:10:43 | 305,369,853 | 1 | 1 | MIT | 2021-01-18T08:46:25 | 2020-10-19T12:03:22 | C++ | UTF-8 | C++ | false | false | 295 | cpp | #include "Portal.h"
CPortal::CPortal()
{
type = TYPE_PORTAL;
}
void CPortal::Render()
{
RenderBoundingBox();
}
void CPortal::GetBoundingBox(float& left, float& top, float& right, float& bottom)
{
left = x;
top = y;
right = left + PORTAL_BBOX_WIDTH;
bottom = top - PORTAL_BBOX_HEIGHT;
}
| [
"nhatvn2000@gmail.com"
] | nhatvn2000@gmail.com |
9b424d8d5c93b578d82717700765d33913f11630 | 38c653ac9d10ae7f4f5da7bcfe3e6cb5bd6a745a | /Day09/day9_q1.cpp | 2dda7501422954d76cf00686a33ef18b62d1de80 | [] | no_license | kandarpkakkad/30-Day-Challenge-CPP | 6e326cfc9d02767516c739dc32c0eb7a2df5734c | 75a01e0963104735ae56311c63e2268c3ac86087 | refs/heads/master | 2023-02-27T15:29:00.103608 | 2021-02-06T21:55:55 | 2021-02-06T21:55:55 | 272,061,833 | 33 | 3 | null | 2020-06-18T12:40:50 | 2020-06-13T18:10:39 | C++ | UTF-8 | C++ | false | false | 1,732 | cpp | #include<bits/stdc++.h>
using namespace std;
/*
https://leetcode.com/problems/n-queens/
Input:
4
Output:
Solution 1
_ _ Q _
Q _ _ _
_ _ _ Q
_ Q _ _
Solution 2
_ Q _ _
_ _ _ Q
Q _ _ _
_ _ Q _
*/
bool is_ok(vector<string> &board, long long row, long long col, long long N) {
for (long long i = 0; i < ... | [
"kandarp.b.kakkad@gmail.com"
] | kandarp.b.kakkad@gmail.com |
fc64f6541bd72c2e7cc62ce74e43ff9e1730e597 | 7b8467520d5f1f71f8b6116f47707c2f6e2b4ef5 | /Projects/ImageAdjust/ImageAdjust/loadPythonFunc.cpp | 35c0c813427f3b7e4c8ad5b8b56ea217709436f7 | [] | no_license | ping28198/Thailand_projects | 673932154483c7a49d432ce8c3746b80196f3714 | 0f0be403cc9a61e215e0479aca0270ec1538d7d3 | refs/heads/master | 2021-06-24T17:16:48.270014 | 2021-06-24T02:12:14 | 2021-06-24T02:12:14 | 211,781,501 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 2,565 | cpp | #include "loadPythonFunc.h"
Yolo3_tiny::Yolo3_tiny()
{
Py_Initialize();
}
int Yolo3_tiny::initial()
{
if (!Py_IsInitialized())
{
printf("初始化失败!");
return 0;
}
PyRun_SimpleString("import sys");
PyRun_SimpleString("sys.path.append('./python/')");//这一步很重要,修改Python路径
pModule = PyImport_ImportModule("runYolo... | [
"ping28198@126.com"
] | ping28198@126.com |
e5d74b81f7f97ae48384f54a840bd89d6832fab4 | 7354562d87d43f4f7dc7787cb44c0db99be23f18 | /55.cpp | 0027eae0390c0e7c1d5e1f1143ce60a8116b4b75 | [] | no_license | adityamangal1998/competitive-coding-questions | a9d428ecd2a542cd4bd68c8ed81306ce9e33e828 | 2be25c999f58ece19010811d9986ecd5e959aa86 | refs/heads/master | 2020-07-22T11:22:55.766438 | 2020-05-29T12:34:56 | 2020-05-29T12:34:56 | 207,182,041 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,306 | cpp | #include<bits/stdc++.h>
using namespace std;
typedef long long int lli;
int main()
{
ios_base::sync_with_stdio(false);
cin.tie(NULL);
cin.tie(NULL);
#ifndef ONLINE_JUDGE
freopen("input.txt","r",stdin);
freopen("output.txt","w",stdout);
#endif
int t;
cin>>t;
while(t--)
{
lli n,k,last;
lli sum=0,sum_k=0 ,t... | [
"adityamangalabc123@gmail.com"
] | adityamangalabc123@gmail.com |
267a7da027c01a9843325e226d946eebbe9a59e0 | 8dc84558f0058d90dfc4955e905dab1b22d12c08 | /third_party/perfetto/src/tracing/core/null_trace_writer.h | 8f1081909ea563884ca6adcade5b56251852c25f | [
"LicenseRef-scancode-unknown-license-reference",
"BSD-3-Clause",
"LGPL-2.0-or-later",
"GPL-1.0-or-later",
"MIT",
"Apache-2.0"
] | permissive | meniossin/src | 42a95cc6c4a9c71d43d62bc4311224ca1fd61e03 | 44f73f7e76119e5ab415d4593ac66485e65d700a | refs/heads/master | 2022-12-16T20:17:03.747113 | 2020-09-03T10:43:12 | 2020-09-03T10:43:12 | 263,710,168 | 1 | 0 | BSD-3-Clause | 2020-05-13T18:20:09 | 2020-05-13T18:20:08 | null | UTF-8 | C++ | false | false | 1,933 | h | /*
* Copyright (C) 2018 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... | [
"arnaud@geometry.ee"
] | arnaud@geometry.ee |
fc4f0ed4e90f50a3b8d1dc4f55e26d7fb450cea4 | 238263f575f09ab12f85ba69ae8da2d7e36a6fe8 | /Visual Studio 2010/Projects/bjarneStroustrupC++PartIII/bjarneStroustrupC++PartIII/Chapter18Exercise11.h | 7c1bc3298866e067389c80ff822a930ccafb8d5f | [
"MIT"
] | permissive | Dimbelio/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup- | 8abd3550b83fe039e292175178af5c69ccf03405 | 6fd64801863e883508f15d16398744405f4f9e34 | refs/heads/master | 2021-01-03T08:46:43.502319 | 2017-11-03T22:16:32 | 2017-11-03T22:16:32 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,023 | h | /*
TITLE Skip List Chapter18Exercise11.h
"Bjarne Stroustrup "C++ Programming: Principles and Practice.""
COMMENT
Objcective: Research and implement the data structure:
Skip List.
Input: -
Output: -
Author: Chris B. Kirov
Date: 27.12.2015
*/
#ifndef CHAPTER18EXERCI... | [
"hristo.kirov85@gmail.com"
] | hristo.kirov85@gmail.com |
546540f50ff06a8e2929342811e8783a9ec2a166 | b7976532ca2a6075c30ff9df7dd79fa602392bc1 | /listas/DatosRadar.cpp | f6ed8196cd1d03232c3b638c94df5d2257fae601 | [] | no_license | martinedelmann/personal | 8652e9b7eb90aad06dbaddefc9aa65b2da4ac4a9 | 69a930af18ddcb49f305fbf974febafc39969dd4 | refs/heads/master | 2021-01-10T20:22:37.307068 | 2013-05-24T15:46:56 | 2013-05-24T15:46:56 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,536 | cpp | /**
*
* Clase Datos Radar.
*
* @file
* datosRadar_c.cpp
* @date
* 17-dic-2012
* @author
* Damian Canovas
* @type
* Source File (.cpp)
* @change_history
* 1 17-dic-2012 Damian Canovas Creacion Inicial
*
****************************************************************************/
#include "DatosRadar.h"
/**
... | [
"edelmannmw@hotmail.com"
] | edelmannmw@hotmail.com |
cc017ddc89ef61fb7a1967f3796aeec58a2fb138 | 429d776c4a30a77c795b3f8957e0d09931f404a9 | /binary_search.cpp | 50d5fed35517d9670345687cb0399412aaa3ec23 | [] | no_license | anuragpratap05/C_B_Recursionll_implementation | ceb1c90cb1ee803a3aa71384c5758a572524f4ed | aa632e659cb8563d28d3e77012943c5f7cf540fc | refs/heads/main | 2022-12-24T09:00:29.020546 | 2020-10-08T14:02:46 | 2020-10-08T14:02:46 | 301,809,312 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 458 | cpp | # C_B_Recursionll_implementation
#include<bits/stdc++.h>
using namespace std;
int search(int a[],int si,int ei, int k)
{
if(ei>si)
{
int mid=(si+ei)/2;
if(k==a[mid])
return mid+1;
else if(k>a[mid])
search(a,mid+1,ei,k);
else
search(a,si,mid,k);
}
}
int main()
{
in... | [
"noreply@github.com"
] | anuragpratap05.noreply@github.com |
7f785d9d0923fbc0b30db0977164fddbcabb458d | 31af4e75039a4e0d19f7d5e728984ad2aefe669a | /Module05/ex01/Form.h | f78df122066e105bd4a0fcc414cb4c938e0b7f1c | [] | no_license | bouillon21/CPP_modules | 14fded3a0d50e7ae3c6b6058c33eb9bc10dc5b56 | b0ce183db7abc3dfc0a94152acb685373a86b48a | refs/heads/master | 2023-09-02T05:58:00.974783 | 2021-10-12T14:29:12 | 2021-10-12T14:29:12 | 394,299,945 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,092 | h | //
// Created by Cherlyn Shelli on 8/31/21.
//
#ifndef PR____FORM_H
#define PR____FORM_H
#include "Bureaucrat.hpp"
class Bureaucrat;
class Form {
private:
const std::string name;
bool isSigned;
const int gradeToSign;
const int gradeToExecute;
Form();
public:
Form(std::string name, int... | [
"b.barzhanov@yandex.ru"
] | b.barzhanov@yandex.ru |
0b4a9e15affcca0b3f198ab79ee9f4ab9c78423c | e80d888d060abd23238d10ebeb4221022035a493 | /Problem_Solving/12_bookcopy.cpp | 045a5ba89f1b788a90be52c7a697abb825a7c71f | [] | no_license | ssun-g/study | 7d4bf4fc81527d0a1cde165c63cf2829950bd0f0 | c286beacb333616ba838b9486ddf3437962677c9 | refs/heads/master | 2022-12-04T18:17:35.601361 | 2020-08-17T12:05:45 | 2020-08-17T12:05:45 | 288,169,491 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 633 | cpp | #include<cstdio>
#include<algorithm>
using namespace std;
int n, sum, time, ans = 50001;
int check[100], book[100];
int go(int, int);
int main() {
scanf("%d", &n);
for (int i = 0; i < n; i++) {
scanf("%d", &book[i]);
sum += book[i];
}
if (!(sum % 3)) time = sum * 2 / 3;
else time = sum * 2 / 3 + 1;
go(0,... | [
"goflrkqk@naver.com"
] | goflrkqk@naver.com |
d791fd49331135111768e422b076a9bf2705b127 | 8947812c9c0be1f0bb6c30d1bb225d4d6aafb488 | /01_Develop/libXMFFmpeg/Source/libavformat/h261dec_f.cpp | 90b96543afbdf6a42b9ae4da181e0119ad8b84d7 | [
"MIT"
] | permissive | alissastanderwick/OpenKODE-Framework | cbb298974e7464d736a21b760c22721281b9c7ec | d4382d781da7f488a0e7667362a89e8e389468dd | refs/heads/master | 2021-10-25T01:33:37.821493 | 2016-07-12T01:29:35 | 2016-07-12T01:29:35 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,999 | cpp | /*
* RAW H.261 video demuxer
* Copyright (c) 2009 Michael Niedermayer <michaelni@gmx.at>
*
* This file is part of FFmpeg.
*
* FFmpeg is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* ver... | [
"mcodegeeks@gmail.com"
] | mcodegeeks@gmail.com |
69eb11d9bd48b27ef352daa7a2d2dfacf6472a91 | 4fcc40c0dd1a33276ac5432629854a19877c04d9 | /SWAP_TWO.CPP | cfa758c5ee7e66322b8248ce43a862d044518f21 | [] | no_license | lakshyatyagi24/C-Programming | 435d5058e7453fa5502ecd9f3a13bc9ef9ad22bb | e227bb9561f6913458cf921d1d63c8bb11aacf9c | refs/heads/master | 2020-05-29T09:33:36.655338 | 2019-05-28T17:05:30 | 2019-05-28T17:05:30 | 189,067,852 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 322 | cpp | #include<stdio.h>
#include<conio.h>
main()
{
clrscr();
int a, b;
printf("\n Enter first number: ");
scanf("%d", &a);
printf("\n Enter second number: ");
scanf("%d", &b);
a=a+b;
b=a-b;
a=a-b;
printf("\n After Swapping\n First number is: %d", a);
printf("\n Second number is: %d", b);
getch();
... | [
"noreply@github.com"
] | lakshyatyagi24.noreply@github.com |
d48ab1e54374bc98a0635d68ac54a1ab5e43ff66 | 4d49375b3907d4faf83febc5b39c9a4a167a5115 | /Victorian Rush Hour/libs/cocos2dx/CCConfiguration.h | 67facd5485740f1784aa1ea5f59556575b1e2df1 | [] | no_license | suzuhiroruri/EuropeanCharisou | 870d9820b127333d3a0d309eae2912485fff93d0 | a43d474aead4921a800da7bc9d06d4e26aa373c7 | refs/heads/master | 2021-01-21T11:46:14.283861 | 2013-07-28T16:32:01 | 2013-07-28T16:32:01 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,916 | h | /****************************************************************************
Copyright (c) 2010-2013 cocos2d-x.org
Copyright (c) 2010 Ricardo Quesada
http://www.cocos2d-x.org
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "So... | [
"suzuhiroruri@gmail.com"
] | suzuhiroruri@gmail.com |
eacf356e847f416abe2f50cc542c373288f45ff8 | 08a2e70f85afd89ce06764f95785a3a3b812370e | /ui/events/ozone/layout/xkb/xkb_keyboard_layout_engine.h | 8c934d070999a50364a3e7fca64c53c815012ba1 | [
"BSD-3-Clause"
] | permissive | RobertPieta/chromium | 014cf3ffb3436793b2e0817874eda946779d7e2d | eda06a0b859a08d15a1ab6a6850e42e667530f0b | refs/heads/master | 2023-01-13T10:57:12.853154 | 2019-02-16T14:07:55 | 2019-02-16T14:07:55 | 171,064,555 | 0 | 0 | NOASSERTION | 2019-02-16T23:55:22 | 2019-02-16T23:55:22 | null | UTF-8 | C++ | false | false | 4,974 | h | // 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.
#ifndef UI_EVENTS_OZONE_LAYOUT_XKB_XKB_KEYBOARD_LAYOUT_ENGINE_H_
#define UI_EVENTS_OZONE_LAYOUT_XKB_XKB_KEYBOARD_LAYOUT_ENGINE_H_
#include <stdint.h>
#in... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
a6acd51cc1b6a897e711655b6b2b7713423aacd9 | 24bc4990e9d0bef6a42a6f86dc783785b10dbd42 | /components/viz/common/quads/compositor_frame_metadata_unittest.cc | 408aa8602d37a8fc00af46c96ccc7781e9004e3b | [
"BSD-3-Clause"
] | permissive | nwjs/chromium.src | 7736ce86a9a0b810449a3b80a4af15de9ef9115d | 454f26d09b2f6204c096b47f778705eab1e3ba46 | refs/heads/nw75 | 2023-08-31T08:01:39.796085 | 2023-04-19T17:25:53 | 2023-04-19T17:25:53 | 50,512,158 | 161 | 201 | BSD-3-Clause | 2023-05-08T03:19:09 | 2016-01-27T14:17:03 | null | UTF-8 | C++ | false | false | 6,464 | cc | // Copyright 2021 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "components/viz/common/quads/compositor_frame_metadata.h"
#include "base/time/time.h"
#include "build/build_config.h"
#include "components/viz/common/frame_sinks/begi... | [
"roger@nwjs.io"
] | roger@nwjs.io |
6264b1cbcfd6a542aaf92efff95c1d290278ec4a | d0a18399bc103fdeaa71fc0814467d5578661cf8 | /WeChatService/WeChatService/friendsbuffer.h | 88b5d23ebd8eb98bc93a21bac7fbd85ed0979140 | [] | no_license | zoring/Mysoft | aad52044379f754d50634319b8533ab981e042bb | ff096fc75161ce8cf4a418f17370010ba0e3da6e | refs/heads/master | 2021-01-21T12:53:28.498540 | 2016-04-21T02:59:58 | 2016-04-21T02:59:58 | 48,798,719 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 724 | h | #ifndef FRIENDSBUFFER_H
#define FRIENDSBUFFER_H
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <string>
using namespace std;
class friendsBuffer
{
public:
enum { friendsAmount = 2 };
enum { max_body_length = 1002 };
enum {one_msg = 14};
enum { max= 71} ;
friendsBuffer();
cons... | [
"zoring@126.com"
] | zoring@126.com |
6a4b126d6f64086f14bd4db683d29ccde8006095 | 30fc61530b50396f0b3e8b027830c9c5c161f91c | /libvpvl2/include/vpvl2/ILight.h | dffaa9d211ae9298ad106714269cae83561b5a4b | [] | no_license | diva-eng/ofxMMDX | 01cdda8186f9af293d746bf9d5df70782dabd096 | 601b353a30081556517fdb9889d6bc046c0cccde | refs/heads/master | 2021-05-28T16:51:54.983681 | 2014-02-18T01:19:46 | 2014-02-18T01:19:46 | 16,877,234 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,634 | h | /* ----------------------------------------------------------------- */
/* */
/* Copyright (c) 2010-2013 hkrn */
/* */
/* All rights reserved. ... | [
"r1cebank@yahoo.co.jp"
] | r1cebank@yahoo.co.jp |
f6b0b33d0cb2f97b2967cb79b70fad464d095530 | c542b7fbaddf907ecf498db867173188ca01a1f1 | /src/internet/model/tcp-socket-base.h | 6c01eba24174ebd120a67a744d84b4016c8219ab | [] | no_license | mojtabamalekpour/Slytherin | 13e9f109d23a6f8d250e9f704ba059075819a992 | fbafa901663c748e739753fb0e80703e1b28f7d1 | refs/heads/master | 2021-06-30T11:31:01.598278 | 2020-12-09T18:29:31 | 2020-12-09T18:29:31 | 151,675,858 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,787 | h | /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
/*
* Copyright (c) 2007 Georgia Tech Research Corporation
* Copyright (c) 2010 Adrian Sai-wah Tam
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* publish... | [
"mmalek3@uic.edu"
] | mmalek3@uic.edu |
5191fa41deadeba257b191b824c4b71b38047a0e | 042983c6b28fd12d37652bc90390b0e59ee71c4d | /source/tools/math/mathematics.cpp | e9832bf095c6785af35e79bc46a899a30bd8911c | [] | no_license | cigarfish/latticeCollagen | 26718aae8cb5a9c6ade428d1e6fd47abe3b71348 | 74ac165a2e63f8f0aa7501ce8c6568ac8a407d9e | refs/heads/master | 2020-03-21T23:07:33.057342 | 2018-10-11T16:03:01 | 2018-10-11T16:03:01 | 139,167,691 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,447 | cpp | /**
* @file mathematics.cpp
* @date 11.11.2011
* @author Johannes Neitsch
* @brief collection of mathematic algorithms
*
* extended discription
*
*/
/** short funtion discription
* @param paramter_name parameter_discription
* @return return_discription
*
* extendet discription
*
*/
#include <cmath>
#in... | [
"zhaojielingzjl@yahoo.com"
] | zhaojielingzjl@yahoo.com |
c409142228706b13d84b918dd690c5b3c7f846ab | cb6588134336d847031f6e5b76ec1565ab786013 | /src/index/txindex.h | 0f3e2cce3ca3a60be9d1407686585b7996a20631 | [
"MIT"
] | permissive | mkscoin/mkscoin | 10d4bb1ee557aa1ab50b46a36cfa66995821b888 | a4436857087a727a5d1b03f8380764b04d954f04 | refs/heads/master | 2023-06-02T19:49:30.987647 | 2021-06-11T05:34:29 | 2021-06-11T05:34:29 | 375,903,358 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,788 | h | // Copyright (c) 2017-2018 The mkscoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef mkscoin_INDEX_TXINDEX_H
#define mkscoin_INDEX_TXINDEX_H
#include <chain.h>
#include <index/base.h>
#include <txdb.h>... | [
"15370399888@163.com"
] | 15370399888@163.com |
e19c1947c559f9d6994de2bbd3169150292e4284 | c7499abae41507b975d7c2ab6cf0e2523148bc12 | /64_Multithreaded_Server/client.cpp | d1057ae594293ce874960f17a70a6fe6f05e1295 | [] | no_license | longcongduoi/BeagleBone_Black_Embedded | 632d8de751c62d5397449f065dcff1fe739d44a4 | a6cbb57e2f5e039a1b33a2cae2ea681fe013a62f | refs/heads/master | 2023-02-26T04:25:58.856660 | 2021-02-04T03:29:56 | 2021-02-04T03:29:56 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 598 | cpp | #include <iostream>
#include <cstdlib>
#include "SocketClient.h"
using namespace socketServerClient;
int main(int argc, char *argv[])
{
if (argc != 3)
{
std::cout << "Usage: ./client server_name port" << std::endl;
std::cout << "Example: ./client 192.168.43.244 54321" << std::endl;
ret... | [
"nghiaphamsg@gmail.com"
] | nghiaphamsg@gmail.com |
c64c2c1022117e1a3833adebc9f7219c9405cf8d | 9acc02a9aef3e41052f22f0f04d9b43d153f4722 | /book-notes/emcpp/it20-use-weak-ptr-for-shared-ptr-like-ptr-that-can-dangle/weak_ptr.m.cpp | 7a447cd201241361fbd9d81b3201b64f077deb19 | [] | no_license | zhehaowang/zhehao.me | be5b8786662e90060d69d14f6b32353d1fb93c61 | e223e7f234f3df8d3ca65bf27120947175389d61 | refs/heads/master | 2022-07-14T18:42:40.535116 | 2022-07-03T00:08:45 | 2022-07-03T00:08:45 | 67,072,899 | 6 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,477 | cpp | #include <iostream>
#include <string>
#include <unordered_map>
// demonstrates one use case of weak_ptr in building a cached load operation, in
// which cache uses a weak_ptr that can dangle (to avoid hogging the space if we
// use shared_ptr), and let the client decide the lifetime of the objects
// returned by cache... | [
"wangzhehao410305@gmail.com"
] | wangzhehao410305@gmail.com |
a5876dfd126ee543311cec69188dfd33f8bb1ef1 | b8cff8e006534c39c71b911debfbac0f83a863d9 | /Code/IO/btkMultiSTLFileWriter.cpp | 88e778d5406605e2881f075cae85a101a0ab6ed4 | [
"BSD-3-Clause"
] | permissive | atuleu/debian-b-tk.core | 77e032ca6fa6a415d84cda83a5edf58b9b60683c | b61facc8a4c2d29f310ce07bdce4aee75b0d5684 | refs/heads/master | 2021-01-22T03:17:49.520483 | 2014-01-16T15:25:43 | 2014-01-16T15:46:39 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,718 | cpp | /*
* The Biomechanical ToolKit
* Copyright (c) 2009-2013, Arnaud Barré
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* * Redistributions of source code must retain the above
... | [
"alexandre.tuleu.2005@polytechnique.org"
] | alexandre.tuleu.2005@polytechnique.org |
dd40082d5a6192cd847d43b8a12ab4848e3b175a | 85c91b680d74357b379204ecf7643ae1423f8d1e | /tags/rel_0_0_3/qedo/ComponentServer/ComponentServerImpl.cpp | d7e30df2529e4311467cc3cf5ea8ca8d2495e5b4 | [] | no_license | BackupTheBerlios/qedo-svn | 6fdec4ca613d24b99a20b138fb1488f1ae9a80a2 | 3679ffe8ac7c781483b012dbef70176e28fea174 | refs/heads/master | 2020-11-26T09:42:37.603285 | 2010-07-02T10:00:26 | 2010-07-02T10:00:26 | 40,806,890 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,817 | cpp | /***************************************************************************/
/* Qedo - Qualitiy of Service Enabled Distributed Objects */
/* */
/* http://qedo.berlios.de/ */
/* ... | [
"(no author)@798282e8-cfd4-0310-a90d-ae7fb11434eb"
] | (no author)@798282e8-cfd4-0310-a90d-ae7fb11434eb |
c8bc78fa99bc2676259747af16a2b5f543a6af61 | aceeb0c8ab870ffb29d33735e22ee3bff46b1013 | /ASMC/src/CompilingUtilities.cpp | 7467b7bed5f5ce0215c45fb1a7da287e7db2cbf1 | [] | no_license | OlexiiZinik/simple-CPU-emulator | 74d1183539d40d252ff3b98a6b35e559d6f71087 | 2454a4849e08ef7371415c6a104c630ff8a1fed9 | refs/heads/master | 2023-04-17T11:12:56.798467 | 2020-10-01T16:56:37 | 2020-10-01T16:56:37 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,265 | cpp | #include "CompilingUtilities.h"
std::vector<uint8_t> utilities::concat_vectors(std::vector<uint8_t> a, std::vector<uint8_t> b)
{
a.insert(a.end(), b.begin(), b.end());
return a;
}
bool utilities::has_brackets(std::string text)
{
return text.substr(0, 1) == "[" && text.substr(text.size() - 1) == "]";
}
bool uti... | [
"trufols@ukr.net"
] | trufols@ukr.net |
8c042b21be37d357b4db818c7fcfd156e5e20d1f | 22b20791e92e31a64531bfe81addb568057c568c | /北斗传输协议4.0/TIPs.cpp | 090f6b8737e97def1361730472945322b4568dc3 | [] | no_license | lysssssss/BDS_4_0 | 965d00b6a1e84b1da470ffa95c4b41ba41026182 | 06b224af83eb090df5a37d2b8fee00f18909bbb0 | refs/heads/master | 2020-03-14T08:06:06.315148 | 2018-05-15T19:06:51 | 2018-05-15T19:06:51 | 131,517,758 | 1 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,801 | cpp | //信号检测 24 58 54 5A 4A 00 0D 00 00 00 00 00 35
//波束设置 24 42 53 53 5A 00 0F 00 00 00 【01】 00 00 00 32
//IC检测 24 49 43 4A 43 00 0C 00 00 00 00 2B
//设置波特率 24 43 4B 53 43 00 0C 00 00 00 00 30
/*
测试设置
--测试方法
--普通模式
单次定位 24 44 57 53 51 00 16 00 00 00 04 00 00 00 00 00 00 00 00 00 00 27
--连续通信 24 54 58 53 51 00 5F... | [
"jimmy591986780@qq.com"
] | jimmy591986780@qq.com |
1cfacf52bfb6234d55c29d699dbdb9764e9711eb | c61aafd0665353df93363b2df0fca8ca1108cb42 | /Source/UE4_MultiThread/Private/MyPlayerController.cpp | 02857fdd35e3250ebd459044b8eb32b401a736b9 | [] | no_license | 17702513221/UE4_MultiThread | fcb1dcc5e6d5d08058d30f3d8ee9ad09633b75ce | 19fca1ae67955f022e9a8d427cd998f4d6624e2a | refs/heads/master | 2022-10-24T21:18:33.043975 | 2020-06-16T04:00:06 | 2020-06-16T04:00:06 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 5,438 | cpp | // Fill out your copyright notice in the Description page of Project Settings.
#include "MyPlayerController.h"
#include "PrimeNumberWorker.h"
//#include "GameFramework/Actor.h"
#include "TimerManager.h"
// Multi thread Test, finding prime number
namespace VictoryMultiThreadTest
{
// Multi-thread link to UObjects, d... | [
"1146808696@qq.com"
] | 1146808696@qq.com |
9443d009ec4b2581bee87c73dd86f8d94baf882e | f5d87ed79a91f17cdf2aee7bea7c15f5b5258c05 | /examples/arch/chaos/SimpleExample/RTIDDS_ModelDDSDataC.cpp | 4a1a8069595308fa0ba4ca54836c067ef325fb9d | [] | no_license | SEDS/CUTS | a4449214a894e2b47bdea42090fa6cfc56befac8 | 0ad462fadcd3adefd91735aef6d87952022db2b7 | refs/heads/master | 2020-04-06T06:57:35.710601 | 2016-08-16T19:37:34 | 2016-08-16T19:37:34 | 25,653,522 | 0 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 908 | cpp | // $Id$
#include "RTIDDS_ModelDDSDataC.h"
namespace Outer
{
bool operator <<= (TestData_DDS & corba, const ::CUTS_NDDS::Outer::TestData_DDS & dds)
{
corba.packet () <<= dds.packet;
corba.key (dds.key);
return true;
}
bool operator >>= (const TestData_DDS & corba, ::CUTS_NDDS::Outer::TestData_DDS... | [
"hillj@cs.iupui.edu"
] | hillj@cs.iupui.edu |
12ef0ef6c742264d53e37b6837dafbc9c692281b | 553b30a340f2359c65afa519793c0f9686fc4b80 | /callback_tpl.h | b24126956cdabbbbeb80e5e2a20f6dc32a6753b0 | [] | no_license | sepcon/owc_dtpl | e4de1e418483a0ae3274d232d9ed7681d2d4eb1e | 1939db178760c6a0be9c0e24ec55f055c0a0c740 | refs/heads/master | 2023-03-23T12:55:11.707075 | 2021-03-22T18:11:45 | 2021-03-23T10:09:16 | 350,438,809 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 319 | h | #pragma once
#include <functional>
#include "json.h"
namespace dtpl {
namespace details {
using src_callback = std::function<json_type()>;
template <class Callable>
src_callback callback(Callable&& c) {
return std::forward<Callable>(c);
}
} // namespace details
using details::callback;
} // namespace dtpl
| [
"connguyen@opswat.com"
] | connguyen@opswat.com |
2e6b30524eb7fd2e2b0a729278cdf2c4c834bef7 | df965dae911f084616f8d34dd859bf829d249ef6 | /Codechef/sort.cpp | 646619b4711f8bd0d7912b3e3a28e73dc1fb3499 | [] | no_license | parmeet9891/HR-CC | 62e7af3d9e7b315a480c181c7014075627ef22eb | 3928a48e06147e7cdde0b1291338a6df75d56ffb | refs/heads/master | 2021-01-10T05:22:17.930736 | 2016-01-30T11:59:45 | 2016-01-30T11:59:45 | 50,723,039 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 307 | cpp | #include<iostream>
using namespace std;
int main()
{
int i,n;
int a[100];
cin>>n;
for(i=0;i<n;i++)
{
cin>>a[i];
}
for(i=0;i<n;i++)
{
for(int j=0;j<=i;j++)
{
if(a[i]<a[j])
{
int temp;
temp=a[i];
a[i] = a[j];
a[j] = temp;
}
}
}
for(i=0;i<n;i++)
cout<<"\t"<<a[i];
return 0;
}
| [
"parmeet_coder@yahoo.com"
] | parmeet_coder@yahoo.com |
31ebae93bf007d5d12febecd1b2a77caeb535b5d | be811a87d7636093b564199803f0d733b7bbd9a6 | /benchmarks/helics/EchoHubFederate.hpp | 988c2884a62f4adc99267440924463c8e9751f11 | [
"BSD-3-Clause",
"LGPL-2.0-or-later",
"Apache-2.0"
] | permissive | corinnegroth/HELICS | 9af744551339c538d8feb9132f635f0a847fb77d | b8eda371b081a7d391d019c14bba5cf5042ae590 | refs/heads/master | 2022-11-09T07:32:05.375822 | 2020-05-13T13:17:55 | 2020-05-13T13:17:55 | 267,115,001 | 0 | 0 | BSD-3-Clause | 2020-05-26T18:00:47 | 2020-05-26T18:00:47 | null | UTF-8 | C++ | false | false | 1,831 | hpp | /*
Copyright (c) 2017-2020,
Battelle Memorial Institute; Lawrence Livermore National Security, LLC; Alliance for Sustainable Energy, LLC. See
the top-level NOTICE for additional details. All rights reserved.
SPDX-License-Identifier: BSD-3-Clause
*/
#pragma once
#include "BenchmarkFederate.hpp"
#include "helics/applic... | [
"noreply@github.com"
] | corinnegroth.noreply@github.com |
1ea37a0bd752ecbb846eb778c44ee77829ef4fc7 | 1702be86fb699140f05db0dc153368c19e59e1cc | /vtkm/filter/testing/UnitTestVectorMagnitudeFilter.cxx | 5483888f726a5345e331b9fa551ce641b48f1596 | [
"BSD-3-Clause",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | yisyuanliou/vtk-m-v1.5.0 | 7377e5ef962032aec0977a7248605958a562caf0 | 66e5fb7aa78ac327c2154b1a2ace7f88566358f2 | refs/heads/main | 2023-03-28T09:44:08.181818 | 2021-04-02T11:34:55 | 2021-04-02T11:34:55 | 329,729,614 | 0 | 0 | NOASSERTION | 2021-04-02T11:34:55 | 2021-01-14T20:42:29 | C++ | UTF-8 | C++ | false | false | 2,155 | cxx | //============================================================================
// Copyright (c) Kitware, Inc.
// All rights reserved.
// See LICENSE.txt for details.
//
// This software is distributed WITHOUT ANY WARRANTY; without even
// the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
// PURP... | [
"yisyuan@liuyixuandeMacBook-Pro.local"
] | yisyuan@liuyixuandeMacBook-Pro.local |
5f1bfdcb59aa28328456cccd7da7f13b93dee9f4 | 17adb3b6d32348935d01785154099c5d270f6870 | /src/i2cpwmboard/src/subscriber_member_function.cpp | 6925847df40b8a6b933c9d9ab5af1a846b21806c | [] | no_license | cometyang/spotmicro_ros2 | 82c8299d628d69dd2276b8c6879aaebb8b52da97 | edd2220459cd0358ae03f8e75a9043f7ffaeebfb | refs/heads/main | 2023-07-08T02:19:57.481152 | 2021-02-07T16:52:15 | 2021-02-07T16:52:15 | 321,241,153 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 849 | cpp | #include <memory>
#include "rclcpp/rclcpp.hpp"
#include "i2cpwmboard/msg/num.hpp" // CHANGE
using std::placeholders::_1;
class MinimalSubscriber : public rclcpp::Node
{
public:
MinimalSubscriber()
: Node("minimal_subscriber")
{
subscription_ = this->create_subscription<i2cpwmboard::msg::Num>( /... | [
"cometyang@gmail.com"
] | cometyang@gmail.com |
4635623445bc9147bad0f92f1e3afcf79299f1cc | 7307c05370029303ab452f03e4500ef42fb2f9b9 | /canny_detector/canny_detector.cpp | 8d026577f37198651e778f8a7bc479954188e58f | [] | no_license | stoneboat/crypto_exrcise | 3c81625028e935bfa9834c7a5a1d25f55c339233 | 80d9737e67170bbc725e79b3ec40b2898ebfc663 | refs/heads/master | 2021-05-03T05:27:19.785099 | 2017-05-14T01:36:58 | 2017-05-14T01:36:58 | 72,328,895 | 2 | 0 | null | null | null | null | GB18030 | C++ | false | false | 19,635 | cpp | // CvWork.cpp : 定义控制台应用程序的入口点。
//
#include "stdafx.h"
#include <time.h>
#include <cmath>
# define M_PI 3.14159265358979323846 /* pi */
# define Squre(x,y) x*x+y*y
# define SqrRoot(x,y) sqrt(Squre(x,y))
const int base_ratio = 2;
const int ratio_slider_max = 10;
const int highThreshold_slider_max = 10;
double... | [
"suifengrudao@outlook.com"
] | suifengrudao@outlook.com |
ef4702bc2bd2a122f5cac116bc6dc109e65cb668 | bbb3f55724586d8e2e89bc21af321bab60a0bcfe | /testDensitySubGridCommunication.cpp | 923d7cb212abd9bea79d3062f9d6906cd4049ebc | [] | no_license | meftunca/ParallelCMacIonize | 5f67a452ec3936b86dd719431861e5d0d4cde3ee | ed7199eb4c8ae6642e91d4ca868a2c62a439bb18 | refs/heads/master | 2023-03-18T12:24:32.801067 | 2019-07-26T12:59:46 | 2019-07-26T12:59:46 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,473 | cpp | /*******************************************************************************
* This file is part of CMacIonize
* Copyright (C) 2018 Bert Vandenbroucke (bert.vandenbroucke@gmail.com)
*
* CMacIonize is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public Lice... | [
"bert.vandenbroucke@gmail.com"
] | bert.vandenbroucke@gmail.com |
beb0d944dd6f03a9b591b9f4143d06ba14925536 | b5d3af37ba1dc5c0f6d4b5f5af706ced1ac5cd73 | /4/4.05-threading-insufficient-parallelism-sweep/solutions/instruction-01/main.cc | 6b38a7efc0805ca2c5429b005061e0f13abe3b9d | [
"MIT"
] | permissive | reble/HOW-Series-Labs | 8245ba77e97cea2033714a3f463f9eef49785da4 | 9e487be19ea8f16c8534825cb4cf9a31d8f0e93c | refs/heads/master | 2020-04-28T07:35:29.218312 | 2019-03-13T23:00:53 | 2019-03-13T23:00:53 | 175,098,088 | 0 | 0 | MIT | 2019-03-11T23:12:39 | 2019-03-11T23:12:39 | null | UTF-8 | C++ | false | false | 2,236 | cc | #include <malloc.h>
#include <cmath>
#include <omp.h>
#include <cstdio>
void SumColumns(const int m, const int n, long* M, long* s);
int main(){
const int n = 100000000, m = 4; // n is the number of columns (inner dimension),
// m is the number of rows (outer dimension)
long* matrix = (long*)_mm_malloc(sizeof(... | [
"ryo@colfax-intl.com"
] | ryo@colfax-intl.com |
2a4dec21212a154ad2958415f550eb96109b38ed | a5419164a76c74754793e80fe963e510e151452d | /leetcode_56.cpp | e94c0d9eb16570af7a76c9532163523b7c44fad3 | [] | no_license | Gazella019/Leetcode | aed66a349a0f1aed60eba2e9aa66b25b8b47152b | 761468170026d243ac8c06c74600979f75508c36 | refs/heads/main | 2023-03-11T08:58:39.274460 | 2021-02-27T03:07:39 | 2021-02-27T03:07:39 | 342,758,173 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,268 | cpp |
class Solution {
public:
vector<vector<int>> merge(vector<vector<int>>& intervals) {
if(intervals.size() == 0)
return {};
int i, start, end, cur;
vector<vector<int>> res;
sort(intervals.begin(), intervals.end());
res.push_back(intervals[0]);
cur = 0;
for(i=1;i<... | [
"edison19951219@gmail.com"
] | edison19951219@gmail.com |
0f9a3e5d05282e04e2f8a5b82c00b4a45a1bd68e | 0acace81433043d274bbeb5628fc150cc0f2d072 | /Sources/Emulator/src/mame/includes/mcr3.h | 66a32459e43bf6ceaeb50d9ba46db2d91556712c | [] | no_license | SonnyJim/MAMEHub | b11780c6e022b47b0be97e4670c49b15a55ec052 | aeaa71c5ebdcf33c06d56625810913a99d3a4a66 | refs/heads/master | 2020-12-03T03:36:28.729082 | 2014-07-11T13:04:23 | 2014-07-11T13:04:23 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,659 | h | class mcr3_state : public mcr_state
{
public:
mcr3_state(const machine_config &mconfig, device_type type, const char *tag)
: mcr_state(mconfig, type, tag),
m_spyhunt_alpharam(*this, "spyhunt_alpha") { }
UINT8 m_input_mux;
UINT8 m_latched_input;
UINT8 m_last_op4;
UINT8 m_maxrpm_adc_control;
UINT8 m_maxrpm_ad... | [
"jgmath2000@gmail.com"
] | jgmath2000@gmail.com |
59cdb9c600922034fa2d1efcd28d2465b32c8f05 | 382399c7d31febd04c0344202550c3b574bd4891 | /BeyondNaos/BeyondNaos/DemonBoss.h | ded84a89e85588be9b1ed0ffa2c4341b59402bc6 | [] | no_license | m-murtaza75/LIT-Year3-BeyondNaos | a35fa7f134e8803f97d282d23313f7474d9c8c68 | 773db43973ca74ef994496aed6100618589a1f3e | refs/heads/main | 2022-12-25T08:02:17.046804 | 2020-10-05T19:01:20 | 2020-10-05T19:01:20 | 301,465,232 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 420 | h | #pragma once
#include "Enemy.h"
class DemonBoss : public Enemy {
public:
DemonBoss(TileMap& tm);
bool isSpawned();
void getNextPosition();
void Update(float frametime);
void Draw(sf::RenderWindow *window);
void setSpawn(bool sp);
private:
bool spawn = false;
long elapsed;
std::vector<sf::IntRect*> sprites;
... | [
"m.murt75@gmail.com"
] | m.murt75@gmail.com |
09d77d511d23aa530a84f3eb9a340787348f4ea8 | 6e3d41365e2defbb9e1775659d4b07a703becf45 | /inc/AxiStreamReceiver.h | 4333d39c9c13f16295cd2048a6e1366da4913daa | [] | no_license | jefflieu/verilator_tb | 0c6f83189da98ec890a380e8ea9d25b3b63ea06d | 32651ccd3e75885571176e574603074025fa2d59 | refs/heads/main | 2023-08-23T16:55:21.559008 | 2021-11-04T10:18:54 | 2021-11-04T10:19:28 | 403,194,724 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,770 | h | /*
Jeff Lieu <lieumychuong@gmail.com>
*/
#pragma once
#include <list>
#include <iterator>
#include <vector>
#include "VtbAxiBus.h"
#include "VtbDriver.h"
#include "VtbTransaction.h"
namespace vtb {
template <typename T_VtbBus>
class AxiStreamReceiver : public Driver< AxiStreamTransaction <T_VtbBus> > {
usi... | [
"lieumychuong@gmail.com"
] | lieumychuong@gmail.com |
79d658854b970a4402c46a26f112fb5b3167a43b | 954d216e92924a84fbd64452680bc58517ae53e8 | /source/bxon/bxon.hpp | 1ea209f17537d8b866db5ae3398e209c44dae596 | [
"MIT"
] | permissive | nczeroshift/nctoolkit | e18948691844a8657f8937d2d490eba1b522d548 | c9f0be533843d52036ec45200512ac54c1faeb11 | refs/heads/master | 2021-01-17T07:25:02.626447 | 2020-06-10T14:07:03 | 2020-06-10T14:07:03 | 47,587,062 | 3 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 5,725 | hpp |
/**
* BXON - Binary eXchange Object Notation
* Under MIT License
* Copyright © Luís F. Loureiro
* https://github.com/nczeroshift/bxon
* Version ??.??.??
* 2015-08-05
*/
#ifndef _BXON_HPP_
#define _BXON_HPP_
#include <stdint.h>
#include <string>
#include <map>
#include <vector>
#include "nckVec2.h"
#include ... | [
"nczeroshift.dev@gmail.com"
] | nczeroshift.dev@gmail.com |
03f20bcf61841c8db92830b80bf69b768f3e928d | e3b7c398b565c396c8063157711ef9bca0bc112f | /0/17181-000101-W0101.第00章作业及附件/17181-000101-W0101.第00章 作业 - 附件 mysql_demo.cpp | 87ecf07bfa0f96169f296a3b9cc2af84bbfa6dd1 | [] | no_license | blank-black/network-shenjian | 62f38dcc42ce79d92d087b5810ce5996a8ebdb8a | 9c390928c5b8c30f10ba78e3f6ae18523cd8b9ab | refs/heads/master | 2021-08-30T19:43:03.788278 | 2017-12-19T07:10:57 | 2017-12-19T07:10:57 | 104,866,614 | 7 | 0 | null | null | null | null | GB18030 | C++ | false | false | 2,457 | cpp | //mysql_demo.cpp
#include <iostream> // cin,cout等
#include <iomanip> // setw等
#include <mysql.h> // mysql特有
using namespace std;
int main(int argc, char* argv[])
{
MYSQL *mysql;
MYSQL_RES *result;
MYSQL_ROW row;
/* 初始化 mysql 变量,失败返回NULL */
if ((mysql = mysql_init(NULL))==NULL) {
co... | [
"497256303zby@gmail.com"
] | 497256303zby@gmail.com |
22425005664891b6e94bedb7294705aad5779c0a | b6e36d75284458cee8d8d44fabe1b4319733f82e | /Source/CAG_EOLE_VT_ASP.cpp | 14713c796026e92dbb9792c816c6371e3583a3f1 | [] | no_license | wirecam2023/APIGen | 8365648ef1b8186aa5fbe3901d9e20acb3bd051f | edd631651421aa33a672d1ca82e831096cb0f2d2 | refs/heads/master | 2023-04-26T06:26:54.931521 | 2020-08-25T18:04:24 | 2020-08-25T18:04:24 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 909 | cpp | // Static Model
#include "stdafx.h"
#include "apigen.h"
#include "CAG_EOLE_VT_ASP.h"
CAG_EOLE_VT_ASP::CAG_EOLE_VT_ASP()
{
resetVariableFlags();
}
CAG_EOLE_VT_ASP::~CAG_EOLE_VT_ASP()
{
}
void CAG_EOLE_VT_ASP::declareVariable(AG_VARIABLE agVariable,
CStringArray* pcsaHeader,
... | [
"don.cannon.wa@gmail.com"
] | don.cannon.wa@gmail.com |
77e14bfb303fd810909bbbf2d0ce1739585d53cf | ef187d259d33e97c7b9ed07dfbf065cec3e41f59 | /work/atcoder/abc/abc075/D/answers/682352_square1001.cpp | 3eabeba0f2fb753d7aa895668ac545a8f1dfa9d6 | [] | no_license | kjnh10/pcw | 847f7295ea3174490485ffe14ce4cdea0931c032 | 8f677701bce15517fb9362cc5b596644da62dca8 | refs/heads/master | 2020-03-18T09:54:23.442772 | 2018-07-19T00:26:09 | 2018-07-19T00:26:09 | 134,586,379 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 639 | cpp | #include <iostream>
#include <algorithm>
using namespace std;
int N, K, x[55], y[55];
int main() {
cin >> N >> K;
for (int i = 0; i < N; i++) cin >> x[i] >> y[i];
long long ret = 1LL << 62;
for (int i = 0; i < N; i++) {
for (int j = 0; j < N; j++) {
for (int k = 0; k < N; k++) {
for (int l = 0; l < N; l++)... | [
"kojinho10@gmail.com"
] | kojinho10@gmail.com |
c1bd50a7b2b6d7c96cee52d3579fe3fa08966fab | 3528b9ecb29dc8c2401580a50888ff21014b57dc | /source/ExtKitDirection.cpp | fa67927e536baf1fc647eb815097d5bce5b55c45 | [
"MIT"
] | permissive | softgraph/microbit-dal-ext-kit | 97d79be1f419c0e7c67d4abedfb859e47866147b | c88c8aa9ac341503792b7aaad1e8b46e6d739ff9 | refs/heads/master | 2020-04-28T05:06:31.610800 | 2019-12-20T14:50:43 | 2019-12-20T14:50:43 | 175,007,349 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 825 | cpp | /// The set of components and utilities for C++ applications using `microbit-dal` (also known as micro:bit runtime)
/** @package microbit_dal_ext_kit
*/
/// Button utility
/** @file
@author Copyright (c) 2019 Tomoyuki Nakashima.<br>
This code is licensed under MIT license. See `LICENSE` in the project root for mor... | [
"xc@sgraph.com"
] | xc@sgraph.com |
520915f373759ba45dfe664a2816ab4325f558b4 | 6c44fb8c76ac4d6f2584a248bcf1963b3789d87f | /mainwindow.cpp | 6ea15ddb56b41f22d953976063693b8aa8e14737 | [] | no_license | bollian/ScoutAnalyzer | a70ce9d61cfb72dd14983dce7f59f78aac4efc62 | 742fc06c527df4a40ec5a8da6c6116e63de7ecb8 | refs/heads/master | 2021-06-10T13:50:47.593311 | 2017-03-17T19:37:40 | 2017-03-19T10:35:38 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,459 | cpp | #include <iostream>
#include <exception>
#include <qlabel.h>
#include <qhash.h>
#include <mainwindow.h>
#include <parseexception.h>
#include <ui_mainwindow.h>
using namespace std;
MainWindow::MainWindow(QWidget* parent) :
QMainWindow(parent),
ui(new Ui::MainWindow),
message_view(this),
fdialog(),
csv(NULL),
... | [
"lordofthemaracas@gmail.com"
] | lordofthemaracas@gmail.com |
13a3755a12fb34d6a8f5d3f00f556426d517e63c | 95fd90aa3e00b4311112855293a570d74d461645 | /packages/VowpalWabbit.8.4.0.3/src/vowpalwabbit/gen_cs_example.cc | 1640da42c84ce12ecdbf34e796493ee30bd78db8 | [] | no_license | maryamhashemi/wordmap | 8b331e2721762296d035509e3314277edf62c275 | 9f3b70ece0e6bff690cb5079720df874fb1358d7 | refs/heads/master | 2021-04-09T14:19:29.616484 | 2018-05-01T16:43:27 | 2018-05-01T16:43:27 | 125,614,964 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 6,112 | cc | /*
Copyright (c) by respective owners including Yahoo!, Microsoft, and
individual contributors. All rights reserved. Released under a BSD (revised)
license as described in the file LICENSE.
*/
#include <float.h>
#include "vw.h"
#include "reductions.h"
#include "vw_exception.h"
#include "gen_cs_example... | [
"hashemi.maryam.sadat@gmail.com"
] | hashemi.maryam.sadat@gmail.com |
ee90743dfd27ebe7aa24d5f8036a726cb0f8f724 | 6dcb0ded4543f7cc86c64dbdd09c95e9e3c02cb6 | /ApprovalTests/utilities/EmptyFileCreatorByType.h | 85ce1b5f202709fe87f51bc7f2c5a69575542bf7 | [
"Apache-2.0"
] | permissive | claremacrae/ApprovalTests.cpp | a5b58e9242c418a7de15866dafa22d6c631ab19b | 9b2da597e41783d85456a24a2645f7d092e03729 | refs/heads/master | 2023-08-05T23:40:40.956728 | 2021-09-28T22:01:49 | 2021-09-28T22:01:49 | 196,370,078 | 2 | 0 | Apache-2.0 | 2019-07-11T10:07:34 | 2019-07-11T10:07:33 | null | UTF-8 | C++ | false | false | 450 | h | #pragma once
#include "EmptyFileCreatorFactory.h"
#include <map>
#include <string>
namespace ApprovalTests
{
class EmptyFileCreatorByType
{
private:
static std::map<std::string, EmptyFileCreator> creators_;
public:
static void registerCreator(const std::string& extensionWithDot,
... | [
"github@cfmacrae.fastmail.co.uk"
] | github@cfmacrae.fastmail.co.uk |
aec90fc401f35fc4007c5c5929a1d63b2eae0287 | 552cc1e6ba8e6beef7985789560afdee1e9d88df | /homework_3/vector_with_sort_vs_set/main.cpp | 9b5dc9e34e43a8d421da20c8f11b2a0b829e4193 | [] | no_license | matrs01/Advanced_Cpp_course_4_sem | b480b7a7edfcb58c7bbaa54dd290043a86ba3aee | b95e4ab15b22fabcbdac1ccfe0bd1f676636aa32 | refs/heads/master | 2023-04-24T15:32:27.166532 | 2021-05-04T18:46:52 | 2021-05-04T18:46:52 | 336,826,476 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,756 | cpp | #include <iostream>
#include <vector>
#include <set>
#include <algorithm>
#include <numeric>
#include <random>
#include "../../homework_1/Timer.h"
#include <array>
#include <fstream>
#include <filesystem>
template <class T>
double TimeSetInsert(const T & random_numbers, size_t number_iterations)
{
auto t = Timer()... | [
"matrs011@gmail.com"
] | matrs011@gmail.com |
5b105dc8eb87eb57875578d2871c2dc7c47c70ce | e3e74c3167e26dbcf80f8ddf72ebaa5b86a90ec3 | /Desktop/LabC2/src/Cuadrado.cpp | 9cde94ea1c88db72ec7547174feb1a99203482b0 | [] | no_license | CursosIE/IE-0217-II-16-G5 | af6c22755d190f070f8e5b2f926cb556dd44113a | 062e485f3048d8d240408351b8f146e5cef7904b | refs/heads/master | 2020-06-19T08:36:58.646356 | 2017-09-25T04:06:35 | 2017-09-25T04:06:35 | 68,147,776 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,104 | cpp | #include "Figura.h"
#include "Cuadrado.h"
const double PI =3.141592653589793238463;
///Constructor de la clase cuadrado.
Cuadrado::Cuadrado(){
}
///Destructor de la clase derivada cuadrado.
Cuadrado::~Cuadrado(){
}
///Constructor sobrecargado de la clase derivada cuadrado.
Cuadrado::Cuadrado(string nombre, string col... | [
"emanuel@debian"
] | emanuel@debian |
437391b0ff87b5bbe24e6789dcf41842066b7d6d | 6ac670a7a328de3879ee42f14d43f916eb096087 | /NowCoder/First/NC16669.cpp | 5d2fe58eb47fb3dc785f1e3cf6e0cab201f975dd | [] | no_license | tiketiskte/MyCode | 172765c6049c8a6c4ac1374f7433cb87baa510a9 | 5dc927dc4015c5a162e18b0a513776b7f213b962 | refs/heads/master | 2022-07-05T06:03:00.344101 | 2022-06-04T07:22:39 | 2022-06-04T07:22:39 | 245,660,475 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 538 | cpp | /**
* Copyright(c)
* Author : tiketiskte
*/
#include <bits/stdc++.h>
#define IOS {ios::sync_with_stdio(false);cin.tie(0);}
#define ll long long
#define SZ(X) (int)X.size()
#define INF 0x3f3f3f3f
using namespace std;
int N, x;
set<int>s;
set<int>::iterator it;
int main()
{
IOS
cin >> N;
for(int i = 1; i <= N;... | [
"15092524952@163.com"
] | 15092524952@163.com |
3a8c07ca71c32b986d9efb6b7681ca3cc9304e56 | d0de08172a5018891ab555eadb2b9314909a21b1 | /Codeforces/Registration System/main.cpp | b30c2f6adc66f65e5fff9df5b54de3a5c92302cc | [] | no_license | SebastianHall69/Competitive_Programming | ec878ef4e3036278751ffad66d9a4df288521c44 | 7601b1e8fcdc39529f1cbf01641d534a06c389df | refs/heads/master | 2022-12-07T22:55:37.388907 | 2020-09-04T18:47:32 | 2020-09-04T18:47:32 | 197,326,579 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 745 | cpp | /*
* File: main.cpp
* Author: sebastian
* Created on January 10, 2020, 6:17 PM
* Purpose: http://codeforces.com/contest/4/problem/C
*/
#include <iostream>
#include <cstdio>
#include <string>
#include <utility>
#include <map>
using namespace std;
int main(int argc, char** argv) {
//Declare variables
in... | [
"sebastianhall13@gmail.com"
] | sebastianhall13@gmail.com |
e9184a6d8d0d2cdd95a9147043d0694da7c09290 | 713cd2bdf8a8110efb438109128306648dc8fea7 | /src/qt/masternodelist.cpp | 8af5adeaa748e9df40a5f226a2943a76f61b29a8 | [
"MIT"
] | permissive | resqs/RESQ-Chain | e4769fc994368a26f068e12260787c7dd029e0e0 | ff7f001265fb6153f006d795286f5e6fb1f02f47 | refs/heads/master | 2021-01-04T11:42:00.972957 | 2019-03-19T10:14:33 | 2019-03-19T10:14:33 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 17,220 | cpp | // Copyright (c) 2014-2016 The Dash Developers
// Copyright (c) 2015-2019 The PivX developers
// Copyright (c) 2018-2019 The RESQ developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "masternodelist.h"
#include "u... | [
"PaulH-RESQ"
] | PaulH-RESQ |
2b13a67e2e8d622fec05265731db98ce0d26efa7 | 091afb7001e86146209397ea362da70ffd63a916 | /inst/include/nt2/core/include/functions/tril.hpp | b638b8628561737b090f491302439d2a9af718b7 | [] | no_license | RcppCore/RcppNT2 | f156b58c08863243f259d1e609c9a7a8cf669990 | cd7e548daa2d679b6ccebe19744b9a36f1e9139c | refs/heads/master | 2021-01-10T16:15:16.861239 | 2016-02-02T22:18:25 | 2016-02-02T22:18:25 | 50,460,545 | 15 | 1 | null | 2019-11-15T22:08:50 | 2016-01-26T21:29:34 | C++ | UTF-8 | C++ | false | false | 290 | hpp | #ifndef NT2_CORE_INCLUDE_FUNCTIONS_TRIL_HPP_INCLUDED
#define NT2_CORE_INCLUDE_FUNCTIONS_TRIL_HPP_INCLUDED
#include <nt2/core/functions/tril.hpp>
#include <nt2/core/functions/common/tril.hpp>
#include <nt2/core/functions/expr/tril.hpp>
#include <nt2/core/functions/scalar/tril.hpp>
#endif
| [
"kevinushey@gmail.com"
] | kevinushey@gmail.com |
e02562346d386fa1b3bbd6a94e961fe568d95109 | f2e71d9a8bb9ef4ae64a8e376fa0b473152a38df | /two_LED_example/two_LED_example.ino | 5e09f4b21d0dcbb2814df73b34787c223ec6d450 | [] | no_license | greenarrowdb/arduino_playground | c18bd3ba6037bcaf39b7c099533585b5fbf1b5b6 | 3c52e0aa3f1ddb698bf57cb312cbae2507c1ee57 | refs/heads/master | 2020-03-31T11:21:18.743990 | 2018-10-09T05:46:51 | 2018-10-09T05:46:51 | 152,173,207 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 781 | ino | int redPin = 12; // Red LED connected to digital pin 12
int greenPin = 11; // Green LED connected to digital pin 11
void setup() // run once, when the sketch starts
{
pinMode(redPin, OUTPUT); // sets the digital pin as output
pinMode(greenPin, OUTPUT); ... | [
"donald.bush@crosschx.com"
] | donald.bush@crosschx.com |
b083199ae8783499c4b95ccafc124feb3de4686e | 387b4a53485b175d2c8c7bca7f3429ad2abbb4f0 | /new_train/ops/fps_wit_forgound_point/src/sampling.h | 6c6ed23abfa75105e03536ae6cba2b2fa2294eb3 | [] | no_license | liangzhao123/IOU-SSD | 50cf3a52e8b306b024d0396b76bd3931c8a15434 | b53a1659ffe197da8eeca0f4a35a4a4571db22f4 | refs/heads/main | 2023-06-25T08:15:03.553378 | 2021-07-31T17:40:49 | 2021-07-31T17:40:49 | 321,982,002 | 5 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 2,402 | h | //
// Created by liang on 2020/8/29.
//
//#ifndef CUDA_PROJECT_SAMPLING_H
//#define CUDA_PROJECT_SAMPLING_H
// installl for python
#ifndef _SAMPLING_H
#define _SAMPLING_H
//#include <math.h>
//#include <stdio.h>
#include <iostream>
//cuda
#include "cuda_runtime.h"
#include "cuda_runtime_api.h"
#include "device_lau... | [
"1094036832@qq.com"
] | 1094036832@qq.com |
c0596508eab023eae3ea3fee8ec14af9fdc081c7 | 44289ecb892b6f3df043bab40142cf8530ac2ba4 | /Sources/Elastos/Frameworks/Droid/Base/Core/inc/elastos/droid/content/pm/CKeySet.h | c0b852373d5f7a88c8af94ff01c55cb5ab6d9c93 | [
"Apache-2.0"
] | permissive | warrenween/Elastos | a6ef68d8fb699fd67234f376b171c1b57235ed02 | 5618eede26d464bdf739f9244344e3e87118d7fe | refs/heads/master | 2021-01-01T04:07:12.833674 | 2017-06-17T15:34:33 | 2017-06-17T15:34:33 | 97,120,576 | 2 | 1 | null | 2017-07-13T12:33:20 | 2017-07-13T12:33:20 | null | UTF-8 | C++ | false | false | 1,237 | h | //=========================================================================
// Copyright (C) 2012 The Elastos 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
//
// ... | [
"cao.jing@kortide.com"
] | cao.jing@kortide.com |
241623617d365cddfdc6117a55ac794fbb920154 | ecddb70401ca5f5527e46cab79523bfe4f03567e | /AtCoder/ARC/068C.cpp | 1764a77514b0b1aa002d722cf5a8de382d62a63d | [] | no_license | Hoikoro/procon | 176d80e4fbb42ceb4b6e713ecc9b6e8dd1b2f784 | 40bb6e3c36cedd22a37b3f5f296c423de5f7aac0 | refs/heads/master | 2021-01-21T20:43:04.551437 | 2018-08-13T15:52:18 | 2018-08-13T15:52:18 | 94,674,970 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 982 | cpp | #include <bits/stdc++.h>
using namespace std;
//make_tuple emplace_back next_permutation push_back make_pair second first
#if MYDEBUG
#define DBG(...) {string dst__=#__VA_ARGS__;dbgsplit(dst__);stringstream dss__; dss__<<dst__; debug(dss__,__VA_ARGS__);}
#else
#define DBG(...)
#endif
void debug(stringstream& ... | [
"Hoikoro@users.noreply.github.com"
] | Hoikoro@users.noreply.github.com |
b15290914a37c6c13db5e5e1eebcc43601d09fd4 | 97924e967ec6f4d0d9e9ba3dc9e9bf6275072546 | /code_forces/591cc.cpp | 9cd8e01938beb00c8aa4a8986d99757f61adcbaa | [] | no_license | rsunny/competitive_programming | 6ac9a3a5e0cc04637e12ed1bf6e3a08599c5d88e | 298ffd2e21f80d83bca48b0a7552dc5c64d0825d | refs/heads/master | 2020-03-26T01:00:22.436463 | 2018-08-11T02:20:17 | 2018-08-11T02:20:17 | 144,348,085 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 635 | cpp | #include <iostream>
#include <vector>
using namespace std;
vector<int> v1,v2;
void print(vector<int> v){
for(int i=0;i<(int)v.size();i++)
cout<<v[i]<<" ";
cout<<"\n";
return ;
}
int med(int a,int b,int c){
vector<int> v;
v.push_back(a);
v.push_back(b);
v.push_back(c);
sort(v.begin(), v.end());
return v[1... | [
"prasanthsunny@PrasantunnysAir.lan"
] | prasanthsunny@PrasantunnysAir.lan |
cce5e8085b2e449e07841fabc6355dc822f40936 | 4b5eb33c835fd7beab951bd759a9691a60794cb5 | /sketch-1.7.0/sketch-backend/src/SketchSolver/InputParser/VarStore.h | 04db4153bcb8261ac4137f837a2a55f5d70701ed | [
"FSFAP"
] | permissive | lisahua/repertoire_self | 2d411b39d725dc41f6d814704370844f6c2bacd7 | 8636cac10e3c10c235c4477ec2af2f8b5302469a | refs/heads/master | 2020-04-06T07:05:23.845596 | 2016-06-21T17:29:48 | 2016-06-21T17:29:48 | 8,958,012 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,873 | h | #ifndef VARSTORE_H
#define VARSTORE_H
#include <vector>
#include <string>
#include <map>
#include "BasicError.h"
using namespace std;
template<typename T>
int intFromBV(T& bv, int start, int nbits){
int nval = 0;
int t = 1;
for(int i=0; i<nbits; ++i){
if( bv[start + i] > 0){
nval += t... | [
"lisahua46@gmail.com"
] | lisahua46@gmail.com |
288127362dae3b1d29fbb50994a070505b3177d8 | bc0945070d150c8af7cc56bf6e045a8c2cc7873d | /1126/3542085_WA.cpp | fc0fea35971383f633bcb06c8d8b23ba5189299e | [] | no_license | fengrenchang86/PKU | ab889d88cd62b3c0b3e00cde5d5c3a652a16221a | 0c4adf6b740d2186b7f23124673cd56520d1c818 | refs/heads/master | 2021-01-10T12:12:18.100884 | 2016-03-07T14:14:33 | 2016-03-07T14:14:33 | 53,328,385 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 496 | cpp | #include <iostream>
using namespace std;
char t[2000];
int acm ( )
{
int i = strlen(t)-1;
int j = 0;
while ( i >= 0 )
{
if ( t[i] >= 'p' && t[i] <= 'z' )
j++;
else if ( t[i] == 'N' )
{
if ( j != 1 )
return 0;
}
else if ( t[i] == 'C' || t[i] == 'D' || t[i] == 'E' || t[i] == 'I' )
{
if ( j !=... | [
"fengrenchang86@gmail.com"
] | fengrenchang86@gmail.com |
a0032af3973c763194c901fb1a8a076e1fa15a13 | 1068d996737f8c94977d11d30e018ffe59ddd6d6 | /3rdParty/micropather/micropather.h | 3f7fe347d0354774d447d6ea1310ceef86293321 | [] | no_license | mikolajnowaczyk/mapping_pkg | c02e5f06eee2469a25ff875f8ffe007d6533d399 | 1b136024b209f5831fa61062d4d3edaea025bd2e | refs/heads/master | 2021-03-04T11:39:45.177361 | 2020-03-09T12:38:36 | 2020-03-09T12:38:36 | 236,487,770 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,725 | h | /*
Copyright (c) 2000-2009 Lee Thomason (www.grinninglizard.com)
Grinning Lizard Utilities.
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any
damages arising from the use of this software.
Permission is granted to anyone to use th... | [
"mikolaj35@wp.pl"
] | mikolaj35@wp.pl |
56b4d23e243677346453879b7b1fa57060cec9c6 | 2956d09b7b9a9b6f73b4c8716997c387fd301aa7 | /question4/question4/main.cpp | ce53961ef1afb992c61d404ed29b99ec9b872fad | [] | no_license | DengYiping/acm | 34cc6826f4a67b470c5a273cc5164b355aa61c8f | 2e0d27e62e9b3b2440c745706ce51af3b4e02b04 | refs/heads/master | 2020-03-31T12:31:43.470143 | 2018-10-09T08:56:14 | 2018-10-09T08:56:14 | 152,219,451 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 610 | cpp | //
// main.cpp
// question4
//
// Created by Yiping Deng on 10/6/18.
// Copyright © 2018 Yiping Deng. All rights reserved.
//
#include <iostream>
#include <string>
using namespace std;
string solve(string a, string b){
int i = 0;
for(; i < a.length(); i++){
if(a[i] > b[0]){
break;
... | [
"yiping.deng.98@gmail.com"
] | yiping.deng.98@gmail.com |
bee4dbc87990786afd116fbf9eb8ee621196b3d7 | ed7384df10e7786bdc469237310445eec60052a7 | /codes/accepted_codes/Number of Steps to Reduce a Number to Zero_455123444.cpp | c584e43a943d444a0feda3b29780a46aad057265 | [] | no_license | sreedhr92/Leetcode-Submissions | 6586bc2925c1e7c516c229b18788788271778e7a | cac7a7fcc33e3e9ea4b88fc30e1f7b283067a87c | refs/heads/master | 2023-05-26T13:02:55.965007 | 2021-06-11T14:50:17 | 2021-06-11T14:50:17 | 370,307,315 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 258 | cpp | class Solution {
public:
int numberOfSteps (int num) {
int steps =0;
while(num)
{
steps++;
if(num%2)
num--;
else
num/=2;
}
return steps;
}
};
| [
"sreedhrindi15@gmail.com"
] | sreedhrindi15@gmail.com |
d7fb395118ba64ea33adbc1e93cfc2ab21402cf9 | ee171fdc61dc18cbe6b5a84c4ce873b02a39c164 | /src/chess/test/cstatetest.h | 89e9c005461758d62a78d4fefaf98b849c782146 | [] | no_license | UIKit0/BitChess | 9602a2dc565ad5383f26bf85de26f7d074224f33 | 93234070dc046d3eb2b5ebd4b9f39b1dd3553250 | refs/heads/master | 2020-04-06T04:37:13.902823 | 2013-05-14T19:30:39 | 2013-05-14T19:30:39 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 437 | h | #ifndef CSTATE_TEST_H
#define CSTATE_TEST_H
#include <cppunit/extensions/HelperMacros.h>
class CStateTest : public CppUnit::TestFixture
{
public:
CPPUNIT_TEST_SUITE(CStateTest);
CPPUNIT_TEST(test_create);
CPPUNIT_TEST(test_magics);
CPPUNIT_TEST_SUITE_END();
public:
CStateTest();
~CStateTest();
void se... | [
"folkerthuizinga@gmail.com"
] | folkerthuizinga@gmail.com |
67c6c8d2cc4343fa2fc0adfe1fa411cf9ac24f25 | d5f75adf5603927396bdecf3e4afae292143ddf9 | /paddle/fluid/operators/deformable_conv_op_xpu.cc | d977cfe844a6a6a44c3535f5696664fe9fa07663 | [
"Apache-2.0"
] | permissive | jiweibo/Paddle | 8faaaa1ff0beaf97ef7fb367f6c9fcc065f42fc4 | 605a2f0052e0ffb2fab3a4cf4f3bf1965aa7eb74 | refs/heads/develop | 2023-07-21T03:36:05.367977 | 2022-06-24T02:31:11 | 2022-06-24T02:31:11 | 196,316,126 | 3 | 2 | Apache-2.0 | 2023-04-04T02:42:53 | 2019-07-11T03:51:12 | Python | UTF-8 | C++ | false | false | 12,126 | cc | /* Copyright (c) 2020 PaddlePaddle Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or... | [
"noreply@github.com"
] | jiweibo.noreply@github.com |
f6b306e65a1e17501cdb51c0b29c88eb057c0976 | fe441e5ebad0f448c32ae4efd1caca0e702acab8 | /jTCP/回射接收定长数据/server_n.cpp | 81324dd824a8c3b2b7994fe15ec3bb0d253a6cb7 | [] | no_license | jryyufeng/win_sock | 62c651facf98bd6bb1891de097a0cad6f0653a67 | 35d81295bf0beaebc668fbe4827701c307c19e5e | refs/heads/master | 2021-05-11T17:20:20.131812 | 2018-01-18T07:48:24 | 2018-01-18T07:48:24 | 117,796,182 | 1 | 0 | null | null | null | null | GB18030 | C++ | false | false | 2,980 | cpp | #include "stdafx.h"
#include<iostream>
#include<string>
#include<Winsock2.h>
#pragma comment(lib,"WS2_32")
using namespace std;
int recvn(SOCKET s, char * recvbuf, unsigned int fixedlen)
{
int iResult;
//存储单次recv操作的返回值
int cnt;
//用于统计相对于固定长度,剩余多少字节尚未接收
cnt = fixedlen;
char* pp=recvbuf;... | [
"jryyufeng@126.com"
] | jryyufeng@126.com |
b81b5471156848df50d9d02bdf71f469d98d0e40 | f4d8531a987bc53adfab365ac262357f34413db6 | /mrpt-1.4.0/libs/hmtslam/src/CLocalMetricHypothesis.cpp | 08a71ec4331b217bedfd50b67a7bfd871e143021 | [
"BSD-3-Clause",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | saurabhd14/Mytest | 5f5b4232df9a0725ca722ff97a1037f31a9bb9ca | 4b8c4653384fd5a7f5104c5ec0977a64f703eecb | refs/heads/master | 2021-01-20T05:43:32.427329 | 2017-04-30T15:24:18 | 2017-04-30T15:24:18 | 89,801,996 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 31,548 | cpp | /* +---------------------------------------------------------------------------+
| Mobile Robot Programming Toolkit (MRPT) |
| http://www.mrpt.org/ |
| ... | [
"saurabhd14@gmail.com"
] | saurabhd14@gmail.com |
a27ae915ec9ce6bde2ba9e743c4b61ee370ca7f4 | d4a78a9099884c1e1c203f7e5b78b844de053ff7 | /tensorflow/core/kernels/conv_ops_fused.cc | 551782c488cdd91c1cf54c35ffe61d1e12e41004 | [
"Apache-2.0"
] | permissive | pint1022/tensorflow | b4b7632c0f833135a0bb37ab5a939a6c1ec51ef6 | ab1f872bbcf7749112f76a7f9ba17406e8fbbf4e | refs/heads/master | 2020-04-15T00:16:48.132100 | 2019-02-05T17:48:11 | 2019-02-05T17:48:11 | 164,233,910 | 2 | 2 | Apache-2.0 | 2019-01-05T16:53:25 | 2019-01-05T16:53:25 | null | UTF-8 | C++ | false | false | 41,682 | cc | /* Copyright 2016 The TensorFlow Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or a... | [
"gardener@tensorflow.org"
] | gardener@tensorflow.org |
0328b4f65cb581c134cc7d35409a3ad4c13565b5 | 4c23be1a0ca76f68e7146f7d098e26c2bbfb2650 | /ic8h18/0.0025/AC6H12OOH-D | 916518228d31607b8fc4e3193b60c6d825cb0c98 | [] | no_license | labsandy/OpenFOAM_workspace | a74b473903ddbd34b31dc93917e3719bc051e379 | 6e0193ad9dabd613acf40d6b3ec4c0536c90aed4 | refs/heads/master | 2022-02-25T02:36:04.164324 | 2019-08-23T02:27:16 | 2019-08-23T02:27:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 844 | /*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: 6
\\/ M anipulation |
\*-------... | [
"jfeatherstone123@gmail.com"
] | jfeatherstone123@gmail.com | |
0407c588ca14a99f706953e164b530285cf45bda | b1a7c90e8c3f1722a49ae6f243ffd8cf9127d109 | /Client/DinoRun/DinoRun/Common/TextureLoad/DDSTextureLoader12.cpp | fbf884b5ea7a70eacb60d165b6cb18b3ea76ae2c | [] | no_license | LEGO0937/Our_Project | 805ad70bc724fb66d29fe6ca80519d50475d1c07 | eb84718a6792f7993bd18628e21f0d485be05ff1 | refs/heads/master | 2023-01-18T20:13:54.896165 | 2020-11-28T06:32:39 | 2020-11-28T06:32:39 | 208,686,699 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 49,556 | cpp | //--------------------------------------------------------------------------------------
// File: DDSTextureLoader12.cpp
//
// Functions for loading a DDS texture and creating a Direct3D runtime resource for it
//
// Note these functions are useful as a light-weight runtime loader for DDS files. For
// a full-featured ... | [
"39212289+LEGO0937@users.noreply.github.com"
] | 39212289+LEGO0937@users.noreply.github.com |
f7edf0926647d975aaf58d6d9ce923ba437a6828 | 47fafe505458bb10fe7329e8767a2e6dacd98452 | /RSADecoder.hpp | 6581c71a54feba0a8afe77073891ce82e887404d | [] | no_license | tmijieux/RSA-encoding | 4dfff171975d1a41c215dcec8f990f99064913ba | 3d21f8ddf16203849198dd9486509976fc711fcc | refs/heads/master | 2021-06-03T00:15:25.393527 | 2016-08-16T13:40:01 | 2016-08-16T13:40:01 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 413 | hpp | #ifndef RSADECODER_H
#define RSADECODER_H
#include <gmpxx.h>
#include <vector>
using std::vector;
using std::string;
class RSADecoder {
mpz_class N, D;
size_t key_length;
vector<mpz_class> &split_data(string &str, vector<mpz_class> &output);
string mpz_to_string(mpz_class &c);
public:
RSADec... | [
"thomas.mijieux@hotmail.fr"
] | thomas.mijieux@hotmail.fr |
a48800095612a9703fd1dbcd7eb961ac225e9ac5 | d4c720f93631097ee048940d669e0859e85eabcf | /chrome/browser/dips/dips_storage_unittest.cc | c2e42aa745e64fc6edd8effa57c9f06129db0bc4 | [
"BSD-3-Clause"
] | permissive | otcshare/chromium-src | 26a7372773b53b236784c51677c566dc0ad839e4 | 3b920d87437d9293f654de1f22d3ea341e7a8b55 | refs/heads/webnn | 2023-03-21T03:20:15.377034 | 2023-01-25T21:19:44 | 2023-01-25T21:19:44 | 209,262,645 | 18 | 21 | BSD-3-Clause | 2023-03-23T06:20:07 | 2019-09-18T08:52:07 | null | UTF-8 | C++ | false | false | 26,393 | cc | // Copyright 2022 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/dips/dips_storage.h"
#include "base/functional/bind.h"
#include "base/metrics/field_trial_params.h"
#include "base/task/thread_pool.h"
#include "base/... | [
"chromium-scoped@luci-project-accounts.iam.gserviceaccount.com"
] | chromium-scoped@luci-project-accounts.iam.gserviceaccount.com |
53c41b78d90aee679c093c7ccd258253d4dd327b | 4ea3c976976c27b44af3636dd56af6b59c1f5367 | /src/masternode-budget.h | 7d68baa3cefd59899237b5b7c077128c1fca92bd | [
"MIT"
] | permissive | LordSoylent/Lancerbit | 0c83fcd3e8b1f689da859ac96e0a40f2b8756532 | 0e25ddf6023ce3c1f94e021bc923de033f44ebe4 | refs/heads/master | 2020-03-28T19:24:27.875102 | 2018-06-30T20:15:25 | 2018-06-30T20:15:25 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 18,267 | h | // Copyright (c) 2014-2015 The Dash developers
// Copyright (c) 2015-2017 The PIVX developers
// Copyright (c) 2017-2018 The Lancerbit developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef MASTERNODE_BUDGET_H
#d... | [
"39455785+fss-project@users.noreply.github.com"
] | 39455785+fss-project@users.noreply.github.com |
d9c2d297a2fc21993fdd440c5bc4833f21611be1 | 0292c240ba8a89c9944d0636fd40b652498c491f | /src/redisAsyn/v1.0/src/Condition.h | 673bf8b84fcc19bdeeeae4dd605fb5e1cd52c737 | [] | no_license | zhaoxiaoxiao/cmake_frame | 38275758ba127d462bbd760d359286b097d732db | 8f42a3361599e5a8ae524f410a70b343b4acd3e6 | refs/heads/master | 2021-04-06T07:35:13.642027 | 2019-11-29T02:36:59 | 2019-11-29T02:36:59 | 125,312,526 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 849 | h | #ifndef __COMMON_CONDITION_H__
#define __COMMON_CONDITION_H__
#include <pthread.h>
#include "MutexLock.h"
namespace common
{
class Condition : noncopyable
{
public:
explicit Condition(MutexLock& mutex)
: mutex_(mutex)
{
MCHECK(pthread_cond_init(&pcond_, NULL));
}
~Condition()
{
... | [
"zhao_xiaoxiao@foxmail.com"
] | zhao_xiaoxiao@foxmail.com |
09e4eddfad551267f8a9efdf8abf5297248bf825 | 25998435f168a767ea3d0f6fa41c6f0ad90244dd | /new version/ect/ect.ino | 48ef47212eb9016090558011ce52bfa06dc4b859 | [] | no_license | ahmednajmudeen/Honda-s2000-cluster-retrofit-in-civic | 5fa7dbfeb6caaac8460f4940c20f113a22f83ba6 | 34484399e01d3d1b1b72a1c60e8f46b605d625d4 | refs/heads/master | 2023-03-18T01:42:56.850017 | 2013-12-21T11:43:03 | 2013-12-21T11:43:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,591 | ino | #include <TimerOne.h> //this library will allow us to use pwm signals with custom period
#include <EEPROMEx.h>
#define adc1Address 1
#define adc2Address 5
#define adc3Address 9
#define adc4Address 13
#define adc5Address 17
#define adc6Address 21
int ectOut = 9;
int ectIn = A1;
int adcValue = 0; //ect voltage in range... | [
"pablo.buenaposada@gmail.com"
] | pablo.buenaposada@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.