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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ba6fcc4bbd38b5ac6ee0fbca6957b4f1c96de6ac | f632da312e414fbc920f4cc7a139176b64ef9310 | /ZDC_code/StRoot/StZDCPool/StZDCPlots/ZDCPlotsPresenter.h | e08b519d0e8ad28d2c2ecea07439997349a02939 | [] | no_license | vanekjan/ZDC | 53e12dc7331a77f3ea421f9141775d4ef0a6657c | 150ef4586655cf519067d5e11356827c7be1d6ef | refs/heads/master | 2022-10-01T01:53:18.211577 | 2022-09-06T18:28:09 | 2022-09-06T18:28:09 | 171,366,792 | 0 | 0 | null | 2019-02-18T22:40:46 | 2019-02-18T22:40:45 | null | UTF-8 | C++ | false | false | 3,587 | h | #ifndef ZDCPlotsPresenter_H
#define ZDCPlotsPresenter_H
#include <StEnumerations.h>
#include <GenericFile.h>
class TH1;
class TPad;
class TObjArray;
class TCanvas;
class GenericFile;
typedef GenericFile FileType;
class ZDCPlotsPresenter {
public:
// this will be called from PPlots
static void displayTab(int... | [
"l.kramarik@hotmail.sk"
] | l.kramarik@hotmail.sk |
9703d4c2dfe69ec8f38486b01bb6b6d34f5582cf | dda21f4378e37cf448d17b720da4a1c9eb2b24d7 | /SDK/SB_BP_Action_WeaponUse_Poison_Secondary_Aim_parameters.hpp | df373fc34d1343ff6406b086c0632ff977763943 | [] | no_license | zH4x/SpellBreak-FULL-SDK | ef45d77b63494c8771554a5d0e017cc297d8dbca | cca46d4a13f0e8a56ab8ae0fae778dd389d3b404 | refs/heads/master | 2020-09-12T17:25:58.697408 | 2018-12-09T22:49:03 | 2018-12-09T22:49:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 410 | hpp | #pragma once
// SpellBreak By Respecter (0.15.340) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "SB_BP_Action_WeaponUse_Poison_Secondary_Aim_classes.hpp"
namespace SpellSDK
{
//---------------------------------------------------------------------------
//Parameters
//--------------------------------... | [
"45327951+realrespecter@users.noreply.github.com"
] | 45327951+realrespecter@users.noreply.github.com |
934819762dcde56703a5e24afa8d0caf78956a94 | 9d845c4c7c6148227d1c019d623b9fa718eb7e5c | /Baekjoon Online Judge/01003_피보나치 함수.cpp | ca485ae27752f24cd42819c029626176ffb8af84 | [] | no_license | hanchaa/Algorithm_Study | 212042500c862d73a9a957bd91777c3fc335bfab | f90508b78c0f9c52a176775d8071678d8aa4b9f1 | refs/heads/master | 2022-01-28T05:33:30.818043 | 2022-01-22T08:33:21 | 2022-01-22T08:33:21 | 164,861,633 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 417 | cpp | #include <stdio.h>
#define MAX(a,b)(a>b?a:b)
int n[50]={1,0,1},m[50]={0,1,1};
int main(void)
{
int t,i,j=2,k,l;
scanf("%d",&t);
for(k=1;k<=t;k++)
{
scanf("%d",&l);
if(l<j) { printf("%d %d\n",n[l],m[l]); continue; }
for(i=j;i<=l;i++)
{
n[i]=n[i-1]+n[i-2];
... | [
"hanchaa@gmail.com"
] | hanchaa@gmail.com |
7a6f2bae6f4f75805e3c381e156abff9d838fd2b | ba3904c38c334d68740ffcb8cb2ea9b81280a780 | /examples/ReceiveStringMarkers.cpp | 6f3e78d5624127201dec18b98b1410d3b403f8c5 | [
"MIT",
"GPL-3.0-only",
"GPL-1.0-or-later",
"MPL-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | staticfloat/liblsl | 88543b7917d6ac4e8ad0b2abffff24dd1130c8a4 | ccdc76f80622690768707035436c8d833bb3dfd2 | refs/heads/master | 2021-01-02T12:44:15.652387 | 2020-02-05T12:40:30 | 2020-02-05T12:40:30 | 239,630,133 | 2 | 0 | MIT | 2020-02-10T22:51:07 | 2020-02-10T22:51:06 | null | UTF-8 | C++ | false | false | 1,184 | cpp | #include <iostream>
#include <lsl_cpp.h>
#include <memory>
#include <string>
/**
* This example program demonstrates how a Marker string stream on the network (here of any name)
* can be resolved, and how the marker strings (assumed to be delivered at irregular rate) can be
* pulled from their source
*/
int main(... | [
"ttstenner@gmail.com"
] | ttstenner@gmail.com |
fbcc92d07ab05266f31a953c608870798efd953e | d0a5efa8f028b8eaccc8c536f01e61a8ab32accf | /include/majsim/ActionInitialization.h | 7ae9c7749283a7138925f8224c4746973607e328 | [] | no_license | hcsullivan12/Majorana | f9faab5e84ffe79947e62030808263be3b5d0207 | b5f15f48bb87f034ba0ce6fac17c1131b21a903d | refs/heads/master | 2021-06-24T02:30:23.124268 | 2019-11-26T11:40:56 | 2019-11-26T11:40:56 | 164,157,853 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 808 | h | /**
* @file ActionInitialization.h
* @author H. Sullivan (hsulliva@fnal.gov)
* @brief Action intialization.
* @date 07-04-2019
*
*/
#ifndef MAJSIM_ACTIONINITIALIZATION_H
#define MAJSIM_ACTIONINITIALIZATION_H
#include "majsim/PrimaryGeneratorAction.h"
#include "majsim/SteppingAction.h"
#include "G4VUserActi... | [
"hcsullivan12@yahoo.com"
] | hcsullivan12@yahoo.com |
c365437ac18add56b7159f52fe478ba235922b51 | e9a8cc296c3defae37471477270dbe9c2a434327 | /Zeiterfassungssystem/Zeiterfassungssystem/KrankmeldungsFenster.cpp | 6ff9fa2937332fcfe9a761daf3f8927e095842f8 | [] | no_license | Toniaaaa/Arbeitszeitenerfassungssystem | cd0eefdb08fb43223878d5c2405e7cc659d64039 | 99c93074e9b86b53e8a920525a874114f8537494 | refs/heads/master | 2020-03-27T09:01:34.789403 | 2018-11-15T18:58:48 | 2018-11-15T18:58:48 | 146,307,738 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 35 | cpp | #include "KrankmeldungsFenster.h"
| [
"markuswatermeyer@web.de"
] | markuswatermeyer@web.de |
638ce0f74a8b6b6e87ca0954455003fbf4ac6c18 | 4cda35056afebbece540ae30ed88fadc525d8d02 | /string/string.cpp | 9c88fd5528bb64d221a315bf77d3aff41ccc3c4a | [] | no_license | sbaskey/competative-programming | 8aa8d5686893de713ff2a74e993c1875ca5d349e | f0bdf74d588068f2fbfdf398e1542ae0d02065ae | refs/heads/master | 2020-05-22T03:19:32.962105 | 2019-09-12T04:59:18 | 2019-09-12T04:59:18 | 186,210,215 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 217 | cpp | #include <bits/stdc++.h>
using namespace std;
int main()
{
string s1="surendra";
string s2="baskey";
//cout<<s1.substr(1,3);
//cout<<s1.find("dra");
string as="abc";
cout<<as[98];
return 0;
} | [
"sbaskey1998@gmailcom"
] | sbaskey1998@gmailcom |
414032c01c2e1a67fa2a337d430cbc9c4a020993 | 1f40abf77c33ebb9f276f34421ad98e198427186 | /tools/output/stubs/lib/streflop/Random_generated.cpp | ae89ca57b11f50d697b9c6bf9838aaf35f980671 | [] | no_license | fzn7/rts | ff0f1f17bc01fe247ea9e6b761738f390ece112e | b63d3f8a72329ace0058fa821f8dd9a2ece1300d | refs/heads/master | 2021-09-04T14:09:26.159157 | 2018-01-19T09:25:56 | 2018-01-19T09:25:56 | 103,816,815 | 0 | 2 | null | 2018-05-22T10:37:40 | 2017-09-17T09:17:14 | C++ | UTF-8 | C++ | false | false | 39,251 | cpp | /*
streflop: STandalone REproducible FLOating-Point
Nicolas Brodu, 2006
Code released according to the GNU Lesser General Public License
Heavily relies on GNU Libm, itself depending on netlib fplibm, GNU MP, and
IBM MP lib. Uses SoftFloat too.
Please read the history and copyright information i... | [
"plotnikov@teamidea.ru"
] | plotnikov@teamidea.ru |
a25c3a14beb01e280b700717417939ca204dccbf | 66d35e3b72441ba55d715ccbb266f7da7c915e8f | /mogupro/game/src/Network/Packet/Request/cReqConnect.cpp | 3df2add2ab4fe6e685a753ff337537dae74df0e3 | [
"MIT"
] | permissive | flat0531/mogupro | da93fb886682af2253380e091af6c19cdb37c0fa | 6b45c98f20d394ef80bd00993e83733ebfc13d00 | refs/heads/master | 2021-08-22T14:50:02.320465 | 2017-11-30T12:53:01 | 2017-11-30T12:53:01 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 668 | cpp | #include <Network/Packet/Request/cReqConnect.h>
#include <Network/PackFunction.hpp>
namespace Network
{
namespace Packet
{
namespace Request
{
cReqConnect::cReqConnect( )
{
}
void cReqConnect::packetImport( cNetworkHandle networkHandle, ubyte2 transferredBytes, char const* const data )
{
mNetworkHand... | [
"scha-taz0@outlook.jp"
] | scha-taz0@outlook.jp |
c790a3f5060618113e052bd8195b4ab6e1320f91 | 66db3a43518cebb84ce315e65654137f9abc8844 | /Console menu system/Code/MenuSystem/src/MenuItems/ProgressBar.cpp | 7157775882029ab06da7296e1229485f2915cc11 | [] | no_license | Noise-filter/ConsoleMenuSystem | 37a5f2b98ae59f5e4b23f013161f45fc426d221a | 6ecedbc262cd0287100c5cecfa3aa737b452b0ef | refs/heads/develop | 2021-06-16T23:44:55.699233 | 2020-11-19T20:01:33 | 2020-11-19T20:01:33 | 32,025,509 | 0 | 0 | null | 2019-10-13T19:26:24 | 2015-03-11T15:32:58 | C++ | UTF-8 | C++ | false | false | 2,336 | cpp | #include "ProgressBar.h"
using namespace MenuSystem;
using namespace Utility;
ProgressBar::ProgressBar(const Utility::Pos& pos, const Utility::Text& text, const Utility::Pos& size, const bool showProcentText)
: TextLabel(pos, text, size)
{
progressValue = 0.0f;
this->showProcentText = showProcentText;
if (this->... | [
"pontus.fransson92@gmail.com"
] | pontus.fransson92@gmail.com |
c1d5a4ca83da0a2fbf7c01e1ad6de7f47217164f | 2c7aa762aca505f60e02581d3c830a5548a1dd3a | /mirai/bot/resolv.cpp | 940cc2ddfd9bffaa7ed4078d789c6f5f5b6c5829 | [
"MIT"
] | permissive | AhmedSakrr/ima2 | 5ec6860944e789f40172d30842ba78c9aa963085 | 7c3f2bd6f981f2e88b3daa55293e9d2f30ce91db | refs/heads/master | 2023-04-17T17:26:26.627944 | 2020-12-10T16:12:19 | 2020-12-10T16:12:19 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,310 | cpp | #define _GNU_SOURCE
#ifdef DEBUG
#include <stdio.h>
#endif
#include <stdint.h>
#include <stdlib.h>
#include <unistd.h>
#include <sys/socket.h>
#include <arpa/inet.h>
#include <fcntl.h>
#include <sys/select.h>
#include <errno.h>
#include "includes.h"
#include "resolv.h"
#include "util.h"
#include "rand.h"
#include "pr... | [
"stanleyshuang@qnap.com"
] | stanleyshuang@qnap.com |
6b3cae4c104e2e73e0e5af23ea1921d771e279ce | f6def5e550b549fb4416f60e6d915bbe6c45ee66 | /Velo.h | 033863e7ae723dca0d9a7e482e34810886a6814d | [] | no_license | LinaHamzaoui/Tp-C-_H-ritage-et-Polymorphisme- | 7740ccfdaf583dce697709a3a2395fccfb924087 | 268ee33abf1a4802867a0f75adad5bec5c3b79b3 | refs/heads/master | 2020-12-04T18:38:57.484853 | 2016-08-25T20:17:03 | 2016-08-25T20:17:03 | 66,589,587 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 456 | h | #ifndef VELO_H
#define VELO_H
#include "Roue.h"
#include "Vehicul_roulant.h"
using namespace std;
#include <string>
class Velo : public Vehicul_roulant
{
public:
Velo();
virtual ~Velo();
void setType(string type_velo);
string getType();
void setRoue(Roue roue... | [
"noreply@github.com"
] | noreply@github.com |
9b8f4ac88ca6bb827eb2ed3a4bac02741ed36cee | eff1ccf0ad6b136b5ed6bfca12e76ae50e776a5a | /c/DP/198.rob.cpp | 0b1cde2f85a8ca14ed2bade04d29fd30148d4030 | [] | no_license | jiushibushuaxie/my_leetcode_path | 905567d006ec794f7a92a2ebaaf59444fe760c0f | 2af4b934e626a13a2533543b1432cc537735c428 | refs/heads/master | 2020-08-03T07:58:54.079358 | 2020-07-15T16:09:14 | 2020-07-15T16:09:14 | 211,676,236 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,455 | cpp | /*
198. 打家劫舍
难度:简单
你是一个专业的小偷,计划偷窃沿街的房屋。
每间房内都藏有一定的现金,影响你偷窃的唯一制约因素就是相邻的房屋装有相互连通的防盗系统,
如果两间相邻的房屋在同一晚上被小偷闯入,系统会自动报警。
给定一个代表每个房屋存放金额的非负整数数组,计算你 不触动警报装置的情况下 ,一夜之内能够偷窃到的最高金额。
示例 1:
输入:[1,2,3,1]
输出:4
解释:偷窃 1 号房屋 (金额 = 1) ,然后偷窃 3 号房屋 (金额 = 3)。
偷窃到的最高金额 = 1 + 3 = 4 。
示例 2:
输入:[... | [
"270912976@qq.com"
] | 270912976@qq.com |
e4fd3252a42f3dfcfe76fdc8f3df251ffe56aef6 | 9459dec14c77a6bf01677365353aefcd8ad0b8a8 | /字节序.cpp | 696ac8dbc63b2007e0e18581193465b8a0552b03 | [] | no_license | jjzhang166/Linux-Socket-IPC | ec30cf4b725fbaefe882398566e56efe4c3a13bc | 98f02e82a7b541c16b15c2e662631d87f639e003 | refs/heads/master | 2022-01-12T05:15:42.042407 | 2018-05-13T15:04:54 | 2018-05-13T15:04:54 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 609 | cpp | #include <bits/stdc++.h>
#include <arpa/inet.h>
using namespace std;
int main(int argc, char const *argv[])
{
unsigned int x = 0x12345678;
unsigned char* p = (unsigned char*)&x;
cout << hex << (unsigned int)p[0] << " "
<< hex << (unsigned int)p[1] << " "
<< hex << (unsigned int... | [
"jl201621070337@gmail.com"
] | jl201621070337@gmail.com |
d91d00b4645a59f0c584b5f49a02e3d3f3eefcca | 14b712df73046bdc04ff1bcbdb97f49293a5994b | /examples/apptest/example_client_impl.cc | 06b7505334a832c275d1debe363efd9f7159bc01 | [] | no_license | darwinye/mojo-standalone | a985912ab7fa43345246b4a17b3e13bdc8ee6db0 | 5e6e5a7fb00461b24cb6bba86494896c139ee47b | refs/heads/master | 2022-03-09T04:25:44.380704 | 2019-09-24T06:27:10 | 2019-09-24T06:27:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 499 | cc | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "examples/apptest/example_client_impl.h"
#include "mojo/public/cpp/utility/run_loop.h"
namespace mojo {
ExampleClientImpl::ExampleClientImpl() ... | [
"blundell@chromium.org"
] | blundell@chromium.org |
c10e583a112117d1e7dc2a8685cf9b987c4f8b98 | f93a559ed823a8f1de33ec425e825637eb9a792c | /sky/engine/bindings-dart/common/ScriptValue.h | 7fc520d172cebd982a1e83bed1c55f501651d637 | [
"BSD-3-Clause"
] | permissive | lvfangmin/mojo | c277fce0266856e51136827553341c65573ca297 | a93dbd432e517f4a71f576e91214c059bab7c43b | refs/heads/master | 2020-12-01T01:03:30.790830 | 2015-02-04T17:31:58 | 2015-02-04T17:31:58 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,595 | h | /*
* Copyright (C) 2008, 2009 Google Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
*
* * Redistributions of source code must retain the above copyright
* notice, this list of co... | [
"rmacnak@google.com"
] | rmacnak@google.com |
474ef913b7070cc2720e630441906e47947455e2 | 8938047dae26aae0448a5f35c83775309963bb39 | /schedule.cpp | 7dc0ceeae6b2c3d417836ca7805e151ab7b20218 | [] | no_license | MarkoPerica/playerStats | acfb047cd6042c46d6a7d140420fcd765f862e58 | 027d73560d12113463c8fb28d84ccfd552a042a1 | refs/heads/master | 2022-12-23T00:29:04.395642 | 2020-09-23T06:17:35 | 2020-09-23T06:17:35 | 296,437,031 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,148 | cpp | #include "schedule.h"
schedule::schedule(QObject *parent) : QObject(parent)
{
manager = new QNetworkAccessManager();
connect(manager, &QNetworkAccessManager::finished, this, &schedule::onResult);
}
schedule::~schedule() {
delete manager;
}
void schedule::getData() {
QUrl url("https://a... | [
"noreply@github.com"
] | noreply@github.com |
e792b52508b04ee5bd4476000041a14091ca78c6 | bd1fea86d862456a2ec9f56d57f8948456d55ee6 | /000/095/772/CWE36_Absolute_Path_Traversal__char_connect_socket_w32CreateFile_73a.cpp | 0acd2b17efcadee53d276461a05676ca128cb258 | [] | no_license | CU-0xff/juliet-cpp | d62b8485104d8a9160f29213368324c946f38274 | d8586a217bc94cbcfeeec5d39b12d02e9c6045a2 | refs/heads/master | 2021-03-07T15:44:19.446957 | 2020-03-10T12:45:40 | 2020-03-10T12:45:40 | 246,275,244 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 5,261 | cpp | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE36_Absolute_Path_Traversal__char_connect_socket_w32CreateFile_73a.cpp
Label Definition File: CWE36_Absolute_Path_Traversal.label.xml
Template File: sources-sink-73a.tmpl.cpp
*/
/*
* @description
* CWE: 36 Absolute Path Traversal
* BadSource: connect_socket Read data u... | [
"frank@fischer.com.mt"
] | frank@fischer.com.mt |
716a9199232d3e1ec6bad388b53ff7e753285d3f | 489b70681cabfb033200c89af83504c789aa80b4 | /Caribbean Online Judge COJ/1512 - Circles in a Plane.cpp | c8c4f83fdcdd7016740d59d9cdaa4bfb3a013d48 | [] | no_license | shailendra-singh-dev/ProgrammingChallenges | 5feff1a82a57d3450ac5344e2166850df1378b42 | ea117cb1f17526a060449a1f53c777fa80e0a294 | refs/heads/master | 2023-02-13T21:56:49.645750 | 2021-01-05T05:44:59 | 2021-01-05T05:44:59 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 227 | cpp | #include <cstdio>
using namespace std;
unsigned long long int n, m;
int main()
{
scanf("%llu", &m);
while(m--)
{
scanf("%llu", &n);
printf("%llu\n", (n * n) - n + 2);
}
return 0;
}
| [
"anhell.death999@gmail.com"
] | anhell.death999@gmail.com |
2769d15c0ccaa60d136f4048d1ce1e8a5fa2806c | dd656493066344e70123776c2cc31dd13f31c1d8 | /MITK/BlueBerry/Bundles/org.blueberry.ui.qt.log/src/internal/berryLogView.cpp | 5f326c39b49ed5cc9af95ea1b67f3010fb24b54f | [] | no_license | david-guerrero/MITK | e9832b830cbcdd94030d2969aaed45da841ffc8c | e5fbc9993f7a7032fc936f29bc59ca296b4945ce | refs/heads/master | 2020-04-24T19:08:37.405353 | 2011-11-13T22:25:21 | 2011-11-13T22:25:21 | 2,372,730 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,369 | cpp | /*=========================================================================
Program: BlueBerry Platform
Language: C++
Date: $Date$
Version: $Revision$
Copyright (c) German Cancer Research Center, Division of Medical and
Biological Informatics. All rights reserved.
See MITKCopyright.txt or http://www.mitk.... | [
"dav@live.ca"
] | dav@live.ca |
4260262bfa0c1d010c195c91acf73230788b6735 | f8797fc718b0ceec34e0ecc1b0857aa4da82f137 | /lib/stinger_net/inc/stinger_mon.h | ebc46af5553ee3fe5edc0e9bab096b9cf2c476f6 | [] | no_license | CGCL-codes/IndexGraph | c44a5356bc538220de10d2ee0042b1c2941f6216 | b96c627e2451e2042b92f56461088198f35635b3 | refs/heads/master | 2020-05-03T08:43:48.240464 | 2019-03-30T09:28:19 | 2019-03-30T09:28:19 | 178,534,520 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,340 | h | #ifndef STINGER_MON_H
#define STINGER_MON_H
#include <map>
#include <string>
#include <stdint.h>
#include <semaphore.h>
#include "stinger_alg_state.h"
#include "stinger_core/stinger.h"
#include "stinger_core/stinger_error.h"
#include "stinger_net/proto/stinger-monitor.pb.h"
namespace gt {
namespace stinger {
... | [
"daghlny@gmail.com"
] | daghlny@gmail.com |
99b98ac5ab35e5e57fec3d3ee9164cb5d4f1a2f1 | 3af101b2434b485777a26d1ff7864fa7a22c4176 | /Engine/Include/Appaction.h | d5dba930a324b53f265661491146d285fd381617 | [] | no_license | wusidn/3DEngine | d3508d95b5702f7c2cf20a3f51d8159734105229 | d1751316e078521cf5cf28d2c3b0c06bfecf65b3 | refs/heads/master | 2021-01-23T14:04:31.601607 | 2016-11-11T09:24:38 | 2016-11-11T09:24:38 | 52,725,961 | 6 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 874 | h | #pragma once
#ifndef __APPACTION_H__
#define __APPACTION_H__
#include "Object.h"
#include "World.h"
#include <functional>
using namespace std;
namespace engine
{
enum runningState{
stop, running
};
class Appaction : public Object
{
public:
//function
virtual const bool ini... | [
"wusidn@163.com"
] | wusidn@163.com |
41b93c575be432568f739f81961309aa812cebd4 | 8978aa372bb938030d6f271633dc56815f30c32b | /SDK/SDK/SignificanceManager_classes.h | 7d3d8d1358dcc44df18471dbd06b71deda6e83ed | [] | no_license | YMY1666527646/Descension_MACE_UE4 | 50e5f9a6f07cae2bce2c069b1a91f8381d8f2018 | 98fe9b9f7cd12361990bd189c41f45ed414b3f02 | refs/heads/main | 2023-07-04T04:45:27.820190 | 2021-07-23T08:47:31 | 2021-07-23T08:47:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,146 | h | #pragma once
// Name: mace, Version: 1.9.1.12285
/*!!DEFINE!!*/
/*!!HELPER_DEF!!*/
/*!!HELPER_INC!!*/
#ifdef _MSC_VER
#pragma pack(push, 0x01)
#endif
namespace CG
{
//---------------------------------------------------------------------------
// Classes
//-------------------------------------------------------... | [
"78203566+MuhanjalaRE@users.noreply.github.com"
] | 78203566+MuhanjalaRE@users.noreply.github.com |
9328712d7f4bcefdd05882e1c8278e6e914fd6e1 | 163e1d9b877c0c6cfd0acfece5886eb931c950f7 | /purefm/DSP/env.hpp | 437ca244cb63008d1c19da4edce37fcdebacd319 | [
"MIT"
] | permissive | GeorgeMcMullen/purefm | 7f4c3411db01ad2c6e0c7439f74d6f8d26afb149 | e23fef8b07675ec0f41f70df3552e243060f40ca | refs/heads/master | 2022-09-07T22:28:13.541891 | 2020-05-23T23:58:15 | 2020-05-23T23:58:15 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,280 | hpp | //
// env.hpp
// purefm
//
// Created by Paul Forgey on 4/29/20.
// Copyright © 2020 Paul Forgey. All rights reserved.
//
#ifndef env_hpp
#define env_hpp
#include "globals.hpp"
#include <vector>
#include <algorithm>
class eg_stage {
public:
eg_stage() {
_level = eg_min;
_goal ... | [
"paulforgey@igneoussystems.com"
] | paulforgey@igneoussystems.com |
6349f46aca4631892e49c06fc71d1603130a3f6d | 98e1742140e4b747eb42401e2d67d97d686129b1 | /moc_invalidwindow.cpp | aacefadc441092fb781e807a91a0882fa5a48ecd | [] | no_license | jeaubin/Bart_Rules | b1b5de0eb6ba0a9d6678e0a77a21b1d57b64928f | aa466ed02edcc6ac52dadf59d140a9f022a9e6d5 | refs/heads/master | 2021-05-27T12:21:33.187647 | 2011-04-05T20:35:33 | 2011-04-05T20:35:33 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,490 | cpp | /****************************************************************************
** Meta object code from reading C++ file 'invalidwindow.h'
**
** Created: Tue Apr 5 11:54:49 2011
** by: The Qt Meta Object Compiler version 62 (Qt 4.7.0)
**
** WARNING! All changes made in this file will be lost!
**********************... | [
"bwernik@lambda05.(none)"
] | bwernik@lambda05.(none) |
138904e94f549855c06c2453cb7d44f601522181 | 7e7e0fe4c2103d29f4a23cee4b0dc9686b35d03c | /solutions/77_combinations.cpp | 4cbe3fc1ef8f58eaf61068e2cd9b8fca5198efea | [] | no_license | zhjwpku/leetcode | a417a11f6fad3b63becdbfd0cfca2e78b6aac2e1 | f257bc228fb15789f9c6b0efaa5737e6ae4bcaf7 | refs/heads/master | 2021-06-03T14:06:33.711517 | 2020-12-25T15:20:52 | 2020-12-25T15:20:52 | 40,814,402 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 509 | cpp | #include <iostream>
#include <algorithm>
#include <vector>
#include <string>
using namespace std;
void dfs(int n, vector<int> &path, int k, int start, vector<vector<int>> &res) {
if (cur == k) {
res.push_back(path);
return;
}
for (int i = start; i <= n; i++) {
path.push_back(i);
dfs(n, path, k, i+1, res);... | [
"zhjwpku@gmail.com"
] | zhjwpku@gmail.com |
9b8dd009494f17ecdcfca6878051436322ec197c | 69533190b829ae8d37fe87e6990ecb9cc250bef3 | /old/IDX_Pendant_to_Serial/IDX_Pendant_to_Serial.ino | 66d7abdbb09ca16bfbc52b86b2b150a46fbc7889 | [] | no_license | chxb1987/idx6dof | a3ebd70d9901845b3a72f611e021caaba8814602 | b6a2a1b79673cdc3d929c469116ff4eaf3f7583d | refs/heads/master | 2020-08-03T21:46:51.620409 | 2017-06-14T20:50:22 | 2017-06-14T20:50:22 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 574 | ino |
#include "idx_pendant.h"
#define NUM_BUTTONS 17
String dataString = "";
IDXPendant pendant;
void setup() {
pendant.begin();
Serial.begin(9600);
}
void loop() {
dataString = "";
if(pendant.run_once()) {
for (int i = 1; i <= NUM_BUTTONS; i++) {
if (pendant.sw_pos(i) == IDX_SW_POS_TOP) {
... | [
"eric@clarinova.com"
] | eric@clarinova.com |
475374c38cdf5679cf3982304f6d1db68be2352a | 2b49ed8fdaa27c738eafb2759ff3139d6f70bba1 | /Duckling.cpp | f8fe6b8d06595f379e4ccecb6d14cc9608a5a197 | [] | no_license | ctk5033/Duckpond_dispman_gl1 | 64a7ad156f99ede00fa8e85ec9b70cefddbfe238 | 969c7fe238b5506ead625b727036b3d89a46ab17 | refs/heads/master | 2020-04-27T22:58:57.525763 | 2019-08-13T21:12:48 | 2019-08-13T21:12:48 | 174,757,563 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,025 | cpp |
#include "Duckling.h"
#include "DuckData.h"
#include "Duck.h"
#include "Pond.h"
Duckling::Duckling(Pond* spond, Animal* smother, int sx, int sy) : Animal(spond, sx, sy)
{
mother = smother;
color = mother->color;
sprite = new Sprite(DuckData::imDuck, 0,0,16,16);
aMoveGround = new AnimationData(... | [
"curt@ctkling.com"
] | curt@ctkling.com |
9f17c3b85deb6b520116949a7d529ec5b8bd3ffb | e34bbde3d7d019ac1fa112cc4b594028a689d472 | /geekforgeek/google/The-Painter's-Partition-Problem-tag-binary-search.cpp | 65374bd16c5061065154e7771e589682255aa786 | [] | no_license | zhoufangquan/competitive-programing | a0dcaf7941194494de0eac918e616844b9eee067 | f89b844d509362d029b4b6612e6798dfc7a18645 | refs/heads/master | 2020-05-01T04:49:04.679801 | 2019-02-28T03:16:25 | 2019-02-28T03:16:25 | 177,284,045 | 2 | 0 | null | 2019-03-23T12:05:36 | 2019-03-23T12:05:36 | null | UTF-8 | C++ | false | false | 892 | cpp | #include<bits/stdc++.h>
using namespace std;
#define ms(x,v) memset((x),v,sizeof(x))
#define INF 0x3f3f3f3f
const int MAXN = 55;
int a[MAXN];
int n,k;
bool ok(int x){
int kk =1;
int s =0;
for(int i=1; i<=n ; ++i){
if(s + a[i] > x){
kk++;
s = a[i];
}else s+=a[i];... | [
"noreply@github.com"
] | noreply@github.com |
ba594ee3043e40adea0162bc019dec8a2c52f51c | 546769d12a670f20ff3e24bb9b97227d4da4b710 | /01-DataStructureTemplete/01-DataStructureTemplete/VisualListNullNode.h | dc3d30b0b49a1a7f29a69b36506060e4c50306e2 | [] | no_license | Jack-Q/MFC-Visual-Data-Structure-Template | e16f6870bda869d4099eba19b4bb9b813db86fd0 | 46e6e79fe8dab0444a36cd4f5b72398c3e3f9ec4 | refs/heads/master | 2021-01-20T10:38:45.823310 | 2015-05-20T01:55:04 | 2015-05-20T01:55:04 | 35,324,766 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 357 | h | #pragma once
#include "VisualListNodeBase.h"
class VisualListNullNode :
public VisualListNodeBase {
public:
VisualListNullNode();
virtual ~VisualListNullNode();
virtual void draw(Graphics & g, INT left,INT top, INT index, Gdiplus::Font & fntNodeTitle, Gdiplus::Font & gntNodeContent);
BOOL HasNext... | [
"QiaoBo@outlook.com"
] | QiaoBo@outlook.com |
226d977a1657a4f8bf00e8b6e3e910bc43fe500f | 30c110aea31e944fb71594889adc3b58a355b4b4 | /LicentaV2/LicentaV2/Physics/CudaDeformableBody.h | 2bad895b0fa46ac534c1aac530e056dd0e3e19a8 | [] | no_license | Tureyz/Licenta | 488728f80f16578c84554577693c7ad155f43401 | 1bf0cf6dcf84cac806eda7ad944194aa5b601d92 | refs/heads/master | 2020-05-21T15:14:50.426737 | 2018-06-28T15:37:54 | 2018-06-28T15:37:54 | 55,459,779 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,186 | h | #pragma once
#include <thrust/device_vector.h>
#include "IPhysicsbody.h"
#include "Structs.h"
#include "../Core/CudaUtils.cuh"
#include "CudaPBD.cuh"
#include "../Simulation/GPUBenchmark.cuh"
#include "../Collision/FeatureList.cuh"
namespace Physics
{
class CudaDeformableBody : public IPhysicsbody
{
public:
... | [
"cristian.hurezeanu@gmail.com"
] | cristian.hurezeanu@gmail.com |
debb6ae5e21a5a380c548cdc6df51dcd0f78ce07 | 44ab57520bb1a9b48045cb1ee9baee8816b44a5b | /Assist/Code/Toolset/CoreTools/ExportTest/CoreTools/Detail/Module/SoundEffectTestExportMacroImpl.h | 37af42b08ad1e839a5689e3de5c459c26d6dde49 | [
"BSD-3-Clause"
] | permissive | WuyangPeng/Engine | d5d81fd4ec18795679ce99552ab9809f3b205409 | 738fde5660449e87ccd4f4878f7bf2a443ae9f1f | refs/heads/master | 2023-08-17T17:01:41.765963 | 2023-08-16T07:27:05 | 2023-08-16T07:27:05 | 246,266,843 | 10 | 0 | null | null | null | null | GB18030 | C++ | false | false | 861 | h | /// Copyright (c) 2010-2023
/// Threading Core Render Engine
///
/// 作者:彭武阳,彭晔恩,彭晔泽
/// 联系作者:94458936@qq.com
///
/// 标准:std:c++20
/// 版本:0.9.1.2 (2023/07/28 15:33)
#ifndef EXPORT_TEST_SOUND_EFFECT_TEST_EXPORT_MACRO_IMPL_H
#define EXPORT_TEST_SOUND_EFFECT_TEST_EXPORT_MACRO_IMPL_H
#include "SoundEffect/SoundEffectDll.h... | [
"94458936@qq.com"
] | 94458936@qq.com |
11a7921ac85f4cad312543ba172f70ca01effb7e | 1ee4cf09878decca3c70741b94b0e8b2acdcbbc3 | /src/aim/logger/FileChannel.h | 65a0814dc3ee8b12f2d468e4cd7c5c0c7935065b | [] | no_license | samwanderman/aim | 7f14a25da42ab43af57348c265ffc8d33c0b8daa | a3b3d3e370a795aca41714a4b8280b751359ecc8 | refs/heads/master | 2023-01-24T18:17:34.059667 | 2020-11-19T15:15:22 | 2020-11-19T15:15:22 | 288,773,667 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 932 | h | /*
* FileChannel.h
*
* Created on: 11.09.2020
* Author: Potapov Sergei
* Email: samwanderman@yandex.ru
*/
#ifndef SRC_AIM_LOGGER_FILECHANNEL_H_
#define SRC_AIM_LOGGER_FILECHANNEL_H_
#include <cstdint>
#include <cstdio>
#include <string>
#include "IChannel.h"
namespace Aim {
/**
* File channel
*/
cla... | [
"potapov.sa@carddex.ru"
] | potapov.sa@carddex.ru |
8704e78c19b6a6d962c9f119677eedba87bb3947 | 63eb400de4d1532eb406158ce23ff9b9d2db4e51 | /examples/EOSIO_contracts/unionramgame/unionramgame.cpp | d848da298dd0c6cdb54b3b272f1655e1ece11fcf | [
"MIT"
] | permissive | q871795224/WANA_old | 79193db4523e90133baab589e83fad26288dc4ea | 033c4c8bc04318daabaefa683aba938d4be96a78 | refs/heads/master | 2023-04-14T04:17:20.434701 | 2021-03-28T05:20:30 | 2021-03-28T05:20:30 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,104 | cpp | #include "unionramgame.hpp"
void unionramgame::transfer( account_name from, account_name to, asset quantity, string memo ) {
if ( from == _self || to != _self ) {
return; // return if contract pay for this game
}
eosio_assert( quantity.symbol == S(4,EOS), "unionramgame only accepts EOS" );
... | [
"q871795224@qq.com"
] | q871795224@qq.com |
7d55046d193eb163eb34398ca909c2acfd627c94 | 644ade2af173ac318aedaabee1e7a8b1c720b0b9 | /Source/CommonRenderInterface/Private/Vulkan/vknRecordCmdBufferTask.h | 970fd00fe17803848d077441bf3c800b441c6b29 | [] | no_license | Met-CH4-An/FUNEngine | 0fc488407cabab713da98aeab289f78e62a05741 | 0c8eeda18e2992934e4f6ae2d7642b1aa0bb8eb9 | refs/heads/master | 2020-05-07T10:05:39.604956 | 2019-04-20T06:21:44 | 2019-04-20T06:21:44 | 179,972,181 | 0 | 0 | null | null | null | null | WINDOWS-1251 | C++ | false | false | 1,937 | h | #ifndef VK_RECORD_CMD_BUFFER_TASK__H
#define VK_RECORD_CMD_BUFFER_TASK__H
////////////////////////////////////////////////////////////////
// секция компиляция файла
////////////////////////////////////////////////////////////////
#include "../../../RenderConfig.h"
#if defined(FE_RENDER) && defined(FE_RENDER_VULKAN) &&... | [
"taciturn2f@yandex.ru"
] | taciturn2f@yandex.ru |
85466c9b79cc3d99a607d087a447a0a1d2068f38 | 96b26c4ef6a6445c2b69945274e8c5a1913b79e8 | /src/utl_port_map.h | d758c28ea032ba21220803c1738a143fed3fe539 | [
"Apache-2.0"
] | permissive | sumboid/trex-core | 9ef3eef0463e423202adfb67b86bd9dfc8200055 | 393998a25d34219a7f76741458ce27ec9cac1ad6 | refs/heads/master | 2021-05-07T20:04:41.415156 | 2017-10-26T11:15:06 | 2017-10-26T11:15:06 | 108,939,923 | 0 | 0 | null | 2017-10-31T03:24:43 | 2017-10-31T03:24:43 | null | UTF-8 | C++ | false | false | 3,784 | h | #ifndef UTL_PORT_MAPPER_H
#define UTL_PORT_MAPPER_H
/*
Hanoh Haim
Cisco Systems, Inc.
*/
/*
Copyright (c) 2015-2016 Cisco Systems, 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:... | [
"hhaim@cisco.com"
] | hhaim@cisco.com |
e75f30c26fca317e9b0f08686e58584ee60b4a0d | 63e3790fdea6838baf8451281baa21e47cd5c4e4 | /OpenGL4/OpenGL4/Source/Models/Gizmo.h | 2d2bda7bd1ee9c419168aab5034010924e73c716 | [] | no_license | Velktri/ModernGLFun | eb2356111fab6bd4e1707db4e8267a95c2956dd1 | 0772b4f4d7a397c04f46862868b476b82e9b6500 | refs/heads/master | 2021-01-13T16:40:32.310784 | 2017-12-24T10:35:01 | 2017-12-24T10:35:01 | 78,192,959 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 856 | h | #pragma once
#include "Asset.h"
class MeshComponent;
enum class ActiveHandle
{
None,
Translate_X,
Translate_Y,
Translate_Z
};
class Gizmo : public Asset {
public:
Gizmo(GLuint InAssetID, Manager* InManager);
~Gizmo();
ActiveHandle ActiveAxis;
virtual void Render(Shader* shader) override;
void CalculateGiz... | [
"murrayg226@gmail.com"
] | murrayg226@gmail.com |
a3c44d1bcdd3a9d599fadbc2b136d656c154dc51 | 8886e8eac8dc0f95194133b1dc9d18bc56de7448 | /Chapter02/Exercise03/src/main.cpp | 64add6d11ba924458144208755cb0f5f4b8ba6ef | [] | no_license | willji0023/cs101-assignments | 279f8f0936602e386ae60ae99c47aa3aad84f272 | b0fb5821bc20544e0b5e29e71f56923f8eb5ff14 | refs/heads/master | 2020-07-01T06:52:56.338423 | 2017-01-16T21:52:26 | 2017-01-16T21:52:26 | 74,092,608 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 420 | cpp | // From my Room 18 to Room 19 at OAHS
#include<iostream>
using namespace std;
int main()
{
cout << "1. Walk to back right of room 18.\n";
cout << "2. Open door.\n";
cout << "3. Step out of door into hallway.\n";
cout << "4. Turn right.\n";
cout << "5. Walk until a new door is on your right.\n";
cout... | [
"wjin0702@yahoo.com"
] | wjin0702@yahoo.com |
188391135199d4d333b6b5e05688b869621f246e | bd1fea86d862456a2ec9f56d57f8948456d55ee6 | /000/085/901/CWE191_Integer_Underflow__short_fscanf_multiply_84.h | 6567a17b1c96b555e7e4fad5928c5cf1cf424785 | [] | no_license | CU-0xff/juliet-cpp | d62b8485104d8a9160f29213368324c946f38274 | d8586a217bc94cbcfeeec5d39b12d02e9c6045a2 | refs/heads/master | 2021-03-07T15:44:19.446957 | 2020-03-10T12:45:40 | 2020-03-10T12:45:40 | 246,275,244 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,635 | h | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE191_Integer_Underflow__short_fscanf_multiply_84.h
Label Definition File: CWE191_Integer_Underflow.label.xml
Template File: sources-sinks-84.tmpl.h
*/
/*
* @description
* CWE: 191 Integer Underflow
* BadSource: fscanf Read data from the console using fscanf()
* GoodSo... | [
"frank@fischer.com.mt"
] | frank@fischer.com.mt |
4b3232a37c78c5c6cc339ae39c9764d4e83a2407 | bf2869a0d080fa547c2557962659fa0822c4f6eb | /Bean/bean/env/native/vector/VectorSizeExecutor.cpp | 476af2568685af95521711db78fadad56e4586c3 | [] | no_license | desktopgame/Bean | 966f8a148c94bb1035373a811c910e3f50f6d238 | 743904b5d61d4914536e5fbb678236199abe6f0b | refs/heads/master | 2021-09-26T08:43:48.247461 | 2017-11-11T06:22:01 | 2017-11-11T06:22:01 | 110,304,259 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 374 | cpp | #include "VectorSizeExecutor.h"
#include "../../user/UserVector.h"
VectorSizeExecutor::VectorSizeExecutor() {
}
VectorSizeExecutor::~VectorSizeExecutor() {
}
Object_ * const VectorSizeExecutor::executeImpl(Method * const proxy, Object_ * const invoker, std::vector<Object_*> args) {
UserVector* uv = dynamic_cast<Use... | [
"koya0306@outlook.jp"
] | koya0306@outlook.jp |
761f17626b91b87698c2e17038855a74fdf78169 | b5b56ce3eb1dfe324eafbda3e0e5f338c5dd72e2 | /Shared/Utility/include/StreamLogHandler.h | 9f7f1f5741097fd7e9221a251ca921c7e60ea1b8 | [] | no_license | wayfinder/Wayfinder-Server | 5cb91281b33cea6d8f6d74550b6564a71c4be1d7 | a688546589f246ee12a8a167a568a9c4c4ef8151 | refs/heads/master | 2021-01-22T22:39:08.348787 | 2012-03-31T11:34:42 | 2012-03-31T11:34:42 | 727,490 | 8 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,111 | h | /*
Copyright (c) 1999 - 2010, Vodafone Group Services Ltd
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... | [
"daniel.n.pettersson@gmail.com"
] | daniel.n.pettersson@gmail.com |
6185c9b60e40295b5f745c3b278051ce7924ee84 | 8c6dc2d2125123eaae7c21999a9bce769add2ef7 | /src/particle_filter/particle_filter.cc | a58840f78b89899a4e052506facd49811911e3b5 | [] | no_license | TharunMohandoss/cs393r_starter | e86baecd7c15d64c485033f819e80641bad3b47a | 53b7dba1ee5b0a52ce303d7ea5bc153572bb1159 | refs/heads/master | 2023-01-20T13:13:42.066190 | 2020-11-19T03:07:35 | 2020-11-19T03:07:35 | 296,706,860 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 16,278 | cc | //========================================================================
// This software is free: you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License Version 3,
// as published by the Free Software Foundation.
//
// This software is distributed in the hope that it... | [
"tharun.m02@gmail.com"
] | tharun.m02@gmail.com |
6382bc9c26f6379d292a03630c02287210e01ab0 | b6350efb7d9eb36c51beac68c770c1fed2eb67e8 | /Classes/TopLayer.cpp | f20c30bfc5da5109f35e3d8a1157a63ca1d3b932 | [] | no_license | yuerain1990/SecondGame | 4d98a420e370a5d258357ac7fb6d093f706514a8 | bd62aa699bd18f40c29b4d46cf6a474b995f5289 | refs/heads/master | 2021-01-09T21:50:28.056759 | 2015-06-03T01:32:11 | 2015-06-03T01:32:11 | 36,229,154 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 3,587 | cpp | #include "TopLayer.h"
#include "Chinese.h"
#include "FilterSprite.h"
#include "ShaderEffect.h"
TopLayer::TopLayer() : numMes(0), numDia(0)
{
}
TopLayer::~TopLayer()
{
Chinese::getInstance()->destoryInstance();
}
bool TopLayer::init(){
if (!Layer::init()){
return false;
}
auto visibleSize = Director::getInstan... | [
"yuerainiloveyou@163.com"
] | yuerainiloveyou@163.com |
14b98f7bf28d80e416c522de0a0f82e9d48deda4 | ee4f338aebedc47b06bd08fd35eada5aa81c7a91 | /SDK/BZ_BP_HangLamp_parameters.hpp | 888f6d1ddd7a0bd7d944a9ced47a9e6ccf94bd8f | [] | no_license | Hengle/BlazingSails_SDK | 5cf1ff31e0ac314aa841d7b55d0409e3e659e488 | 8a70c90a01d65c6cbd25f3dfdd1a8262714d3a60 | refs/heads/master | 2023-03-17T11:11:09.896530 | 2020-01-28T19:46:17 | 2020-01-28T19:46:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,345 | hpp | #pragma once
// BlazingSails (Dumped by Hinnie) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "../SDK.hpp"
namespace SDK
{
//---------------------------------------------------------------------------
//Parameters
//-----------------------------------------------------------------------... | [
"hsibma02@gmail.com"
] | hsibma02@gmail.com |
0fb2abb5b27bf992bbd546ca38d05fe7db13dc2c | 3970d59a547fe82174b96e3afd7951bfa5884cf4 | /lab2/pq.hpp | dfc6ec1bf7307b90a1ee6f94696b6acdfcf723fa | [] | no_license | magical/cs478 | 4d929c418bbf0adbbd385a4fe2704107e4557276 | 64675fd3e1d81ab90ddc560d30412ef06b01f447 | refs/heads/master | 2020-03-18T02:45:52.688091 | 2018-05-21T06:20:14 | 2018-05-21T06:20:14 | 134,206,209 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 815 | hpp | #pragma once
#include <string>
#include <vector>
struct PQPrivateKey {
std::string z;
int st;
int d;
PQPrivateKey() : st(0), d(0) {}
PQPrivateKey(std::string z, int st, int d) : z(z), st(st), d(d) {}
};
struct PQPublicKey {
std::string root;
int d;
PQPublicKey() : d(0) {}
PQPublicKey(std::string root, int ... | [
"andrew.ekstedt@gmail.com"
] | andrew.ekstedt@gmail.com |
289ea0ef6184309a76aa97b52c87c1e3615aa734 | 0f19568208d224b6b094542cdc7078002ecf5c3a | /ivp/src/lib_behaviors-marine/BHV_HeadingHysteresis.h | 7c89e45b4c06815645e7c2614579c60509111b03 | [] | no_license | scottsideleau/MOOS-IvP-releases | 5e875d506f123d793e2c1568de3f3733791f7062 | bda2fc46bb7e886f05ab487f72b747521420ce86 | refs/heads/master | 2021-01-11T04:05:38.824239 | 2016-10-21T02:16:11 | 2016-10-21T02:16:11 | 71,249,151 | 1 | 1 | null | 2016-10-18T13:06:30 | 2016-10-18T13:06:29 | null | UTF-8 | C++ | false | false | 2,359 | h | /*****************************************************************/
/* NAME: Michael Benjamin, Henrik Schmidt, and John Leonard */
/* ORGN: Dept of Mechanical Eng / CSAIL, MIT Cambridge MA */
/* FILE: BHV_HeadingHysteresis.h */
/* DATE: July 30th 2009 ... | [
"msis@mit.edu"
] | msis@mit.edu |
960c5fa489b3fcb57f8bedd33afefe859bf83b85 | bbe76915e73b98134a07e12003620898a2ea1c52 | /templates.cpp | 3cdcfa6093e0dded46284f6f9808b2cc9e8526e3 | [] | no_license | changc42/ReLearning-Cplusplus | 5254aebab8661877aa3829f6367827fedca897bf | 8fb6c629f183eef0dd603d14a0608897f7328e55 | refs/heads/master | 2020-09-02T00:08:12.132890 | 2019-11-06T14:53:24 | 2019-11-06T14:53:24 | 219,092,295 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 161 | cpp | #include<iostream>
using namespace std;
template<typename T> T myMax(T x, T y){
return x>y ? x:y;
}
int main(){
cout << myMax('a','d') << endl;
return 0;
} | [
"changc42@gmail.com"
] | changc42@gmail.com |
18153469bd490576e942e9fdd1e54be4c8501cd4 | 04b113c0c50e8259e1ddb3a6466a14a128cc963d | /bitcoin/src/qt/bitcoingui.cpp | ec4300bedfd86d0cad28cc90f869191bee7cb823 | [
"MIT"
] | permissive | alf01/mybitx | 3338b6f886e1c85881920895b03629ebea7ceac7 | 02872f2b68be12a8413fc7fda22ae6d4d114987c | refs/heads/master | 2020-03-24T17:50:57.205284 | 2018-08-21T08:20:44 | 2018-08-21T08:20:44 | 142,873,685 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 54,105 | cpp | // Copyright (c) 2011-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/bitcoingui.h>
#include <qt/bitcoinunits.h>
#include <qt/clientmodel.h>
#include <qt/guiconstants.h>
#include <q... | [
"alf88191@gmail.com"
] | alf88191@gmail.com |
d65f4c29475817c2428202543b63383ab6ff2c27 | cbb619cbde42ca36cf83707d2cc1bc80353651ff | /code/utils/src/scheduled_task.cpp | 2836f7c57c2a46f90da49773558d61d98edf143d | [] | no_license | BGCX067/fallout-equestria-git | 909e42038c828c753c915686d005b1004dfdca4f | ae532fc2991625baa6a174f350c017e6e3e3bda0 | refs/heads/master | 2021-01-13T00:56:30.237567 | 2015-03-01T17:31:02 | 2015-03-01T17:31:02 | 48,705,832 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,196 | cpp | #include "scheduled_task.hpp"
#include "time_manager.hpp"
#include "circular_value_set.hpp"
#include "executor.hpp"
using namespace std;
ScheduledTask::ScheduledTask() :
time_manager(*TimeManager::CurrentTimeManager),
task(0),
interval_duration(1),
interval_until_next_execution(0),
is_repetitive(false),
i... | [
"sexymimi64@gmail.com"
] | sexymimi64@gmail.com |
026b0767d893e0edd51843dace72eb01ab228a10 | bdaa8f6fa3627232dd8129499b7603f1e30647e9 | /BaiduZhidaoC++/BaiduZhidaoC++/JiCheng.cpp | b94c1b11159a936294c8f63a27f6553184a912ed | [] | no_license | tianyunzqs/C_C_plus_plus_algorithm | 3e5b8258af86c8b8b95e3c6a1a879f70478f68e8 | d4e95e33129865f1baf4eefdbc996ac59882141e | refs/heads/master | 2020-12-02T05:24:43.977114 | 2017-07-11T13:41:46 | 2017-07-11T13:41:46 | 96,889,940 | 2 | 0 | null | null | null | null | GB18030 | C++ | false | false | 7,051 | cpp | //#include <iostream>
//using namespace std;
//class A
//{
//public:
// void fun(){cout<<"funA() is called."<<endl;}
//};
//class B : public A
//{
//public:
// void fun(){cout<<"funB() is called."<<endl;}
//};
//void main()
//{
// B b;
// A *pA = &b;
// pA->fun();
// // 如果fun()是非虚函数,则pA->fun()绑定到funA(),由指针类型所决定
// // ... | [
"tianyunzqs@sina.com"
] | tianyunzqs@sina.com |
f7c84e54f090f414656b3ae084c47bce3175e4e8 | 04b1803adb6653ecb7cb827c4f4aa616afacf629 | /third_party/blink/renderer/core/layout/scrollbars_test.cc | 412d5c74130d5928bc9604b5ab2d12a40770576a | [
"BSD-3-Clause",
"LGPL-2.0-or-later",
"LicenseRef-scancode-warranty-disclaimer",
"LGPL-2.1-only",
"GPL-1.0-or-later",
"GPL-2.0-only",
"LGPL-2.0-only",
"BSD-2-Clause",
"LicenseRef-scancode-other-copyleft",
"MIT",
"Apache-2.0"
] | 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 | 90,625 | cc | // Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "base/test/scoped_feature_list.h"
#include "build/build_config.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/blink/publ... | [
"sunny.nam@samsung.com"
] | sunny.nam@samsung.com |
080f97e88fdc37638fb0afe0d697d66e7c461ce7 | da3c0b2772247e877a9b21a308acde5612af020d | /Filter/fmonthlyoccperc.h | 0dfaa865fd896cfee4f494caf9ac1a67cd894bc3 | [] | no_license | End1-1/Resort-2 | 857ef7fdf26ce9eb7d5e1c11f1ee6959d8fbd21e | b99a39d4600213ac5affcf32ab8a9e4b8b07cdc2 | refs/heads/master | 2023-02-21T22:27:59.031695 | 2023-02-09T07:54:38 | 2023-02-09T07:54:38 | 151,714,828 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 445 | h | #ifndef FMONTHLYOCCPERC_H
#define FMONTHLYOCCPERC_H
#include "wfilterbase.h"
namespace Ui {
class FMonthlyOccPerc;
}
class FMonthlyOccPerc : public WFilterBase
{
Q_OBJECT
public:
explicit FMonthlyOccPerc(QWidget *parent = 0);
~FMonthlyOccPerc();
virtual QWidget *firstElement();
virtual QString r... | [
"end1_1@yahoo.com"
] | end1_1@yahoo.com |
3cd16a384290beec6b48d281adf071877a6b8675 | 52d7c560b6b654cea5753c5c3bb05a61ea56b0ea | /지능정보수학/func-1/func-1/ga.cpp | 1f4d47c56ca8ba3603d340381564453edcb1ecf0 | [] | no_license | KSKyeong/Study | 4717eefe7ac30d95ca160315571b37f11e41cff9 | 405a931175df0ca55fc46504a22510c11e64b3fc | refs/heads/master | 2020-12-23T12:39:32.024018 | 2020-01-30T11:01:05 | 2020-01-30T11:01:05 | 237,154,215 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,046 | cpp |
#pragma once
#include "stdafx.h"
#include "ga.h"
struct chromosome pop1[POPULATION_SIZE], pop2[POPULATION_SIZE];
struct chromosome *pop = pop1, *pop_next = pop2;
struct chromosome best;
void init_pop();
void ga_impl();
void evaluate(struct chromosome *f);
int select(int f_sum);
void crossover(int i1, int i2);
void ... | [
"rlatkdrud010@naver.com"
] | rlatkdrud010@naver.com |
86d3d539302a18a203b73f10c3e04e335ab9270f | 9425e73c420d43ee0c57a775a8cb23d2ecccc16b | /src/VM.cpp | c7f1573521efc38f2b1fcf07f79e3179632a069b | [
"MIT"
] | permissive | Garee/gpvm | 9e2b2052e741d88158f48ac9d63ed836bad35f70 | b4a9e8373ce58919eb1966c3b6ff3626844529e0 | refs/heads/master | 2021-01-19T11:22:33.241694 | 2014-06-06T20:04:42 | 2014-06-06T20:04:42 | 6,280,831 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 9,980 | cpp | #define __CL_ENABLE_EXCEPTIONS
#define _IN_HOST
#include <CL/cl.hpp>
#include <unistd.h>
#include <iostream>
#include <fstream>
#include <string>
#include <vector>
#include <deque>
#include <sstream>
#include "DeviceInfo.h"
#include "SharedMacros.h"
#include "SharedTypes.h"
#include "Packet.h"
#include "UserData.h"
c... | [
"gareeblackwood@gmail.com"
] | gareeblackwood@gmail.com |
db3d5053289ea0eae7563682a85ec4833fe86427 | 42334cb2a3d7e6102e2c86fdff7d496cf091e660 | /ButelLive/SceneMateralItem.h | 213ba150b329936e6b04ec07651234bd8b66db82 | [] | no_license | wwllww/LiveStream_MultiIntance | 04b0ca3e16d4ee0f627b8bc3ecfd935cc97bf24f | 447f52bdd08d3fa3ba6b6e58323740632320b131 | refs/heads/master | 2021-05-12T17:19:53.534922 | 2018-02-09T08:13:47 | 2018-02-09T08:13:47 | 117,042,806 | 2 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 979 | h | #ifndef SCENEMATERIALITEM_H
#define SCENEMATERIALITEM_H
#include "ButelLive.h"
#include <QLabel>
#include <QPushButton>
#include <QCheckBox>
class ButelLive;
class SceneMaterialItem: public QWidget
{
Q_OBJECT
public:
SceneMaterialItem(ButelLive *parent = 0,QString name = 0,int type = 0,int Index ... | [
"393520798@qq.com"
] | 393520798@qq.com |
2fadc338b96ae062644d15614e4f6eeba54170d3 | 0c142f1e2dc8657d9f47f9328df857e7ae2c2194 | /LeetCode/Algorithms/1221_SplitStringInBalancedStrings.cpp | 76a20e5044f6f20dacb1214a10477313bf11f440 | [] | no_license | JunaidMujawar/Practice | 3c8baab8e3a4bd8b9ff189cd904c1efd68e0846f | c14825881cea6e7fee87268303f6a58b0732037f | refs/heads/master | 2023-08-02T04:51:48.843108 | 2021-09-29T14:32:25 | 2021-09-29T14:32:25 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 614 | cpp | //Question: Given a balanced string s,
//split it in the maximum amount of balanced strings.
//Testcases
//Input: s = "RLRRLLRLRL"
//Output: 4
//Input: s = "LLLLRRRR"
//Output: 1
class Solution {
public:
int balancedStringSplit(string s) {
int countR = 0, countL = 0, count = 0;
for(int i = 0; i ... | [
"mundegr@gmail.com"
] | mundegr@gmail.com |
d223b197499f1fb7b9d635401e3afd043fe850ec | 3640c0855a78cfb3119694cd571d1f1e8838ca1c | /atcoder/abc/abc061/d/main.cpp | 6e91fbb6ce0d9da4962a91253d5f6ef04c08fef0 | [] | no_license | gom74/procon | 22bbf773299514ac1b733afd9527852275593728 | 606395611ecf0a56b27849069364370e0519038d | refs/heads/master | 2022-09-21T19:00:48.956709 | 2020-06-05T18:02:26 | 2020-06-05T18:02:26 | 261,773,883 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,504 | cpp | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
const ll INF = 1e18;
struct edge {
int from;
int to;
int cost;
};
bool BellmanFord(vector<edge> &es, vector<ll> &dist, int V, int s) {
dist.resize(V, INF);
dist.at(s) = 0;
for (int i = 0; i < V; ++i) {
for (auto &e : ... | [
"sokubo418@gmail.com"
] | sokubo418@gmail.com |
4522c511940b876626e8545f7c90460c27212826 | 097007b435b1bf420a19ce33aabee32f0789f145 | /codechef/others/recode_12/b.cpp | 3ee1189b17d48faf9211ef74addd813cb5b81bb0 | [] | no_license | Anshit01/Competitive-Programming | 71f84a85dde49278f8c3318d00db70616d8ea470 | 13911ec7f622abc061fea1ccc1f35d34118641f7 | refs/heads/master | 2023-06-11T12:06:11.722865 | 2021-06-30T11:51:01 | 2021-06-30T11:51:01 | 266,321,296 | 5 | 2 | null | 2020-10-19T09:47:06 | 2020-05-23T11:21:40 | C++ | UTF-8 | C++ | false | false | 888 | cpp | #include <bits/stdc++.h>
#define ll long long
#define f(i, x, n) for(int i = x; i < n; i++)
#define dbg(x) cout << x << endl
#define dbg2(x, y) cout << x << " " << y << endl
#define dbg3(x, y, z) cout << x << " " << y << " " << z << endl
#define mod 1000000007
using namespace std;
int main(){
ios::sync_with_std... | [
"bhardwaj.anshit1379@gmail.com"
] | bhardwaj.anshit1379@gmail.com |
0e4c736720e5612e03adaa77480d8a31285abadf | 510f9be0368f704ceb2b3ef7ad7f4c881dd540d2 | /Pelicula.cpp | f38135821e2d4924a6427b740355c28ee4d54432 | [] | no_license | JonathanDSoto/Sistema_de_libreria_con_objetos_en_c_plus_plus | 94ecb97548198bb4c9f4f81d3f581be5c75b2c8d | 1709f1130e9f345a6d16f4e40924ced2c124d3ba | refs/heads/master | 2022-09-03T19:25:27.576085 | 2020-05-27T01:51:52 | 2020-05-27T01:51:52 | 267,192,251 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 866 | cpp | //
// Created by jsoto on 21/05/2020.
//
#include <iostream>
#include <cstring>
#include "Pelicula.h"
using namespace std;
Pelicula::Pelicula() {
}
Pelicula::Pelicula(char nombre[100], Persona director, int annio, char genero[100], char productora[100], int minutos) {
strcpy(this->nombre,nombre);
this->direct... | [
"jonathan@spl-technologies.com"
] | jonathan@spl-technologies.com |
7465ed2ca9164bbdba5d92def52c537d293bd471 | 8a0d324ec91f3de903c9e8073cfcc755b66cba55 | /emulator/include/devices/cpu/core/core.hpp | 597a82f4314c9e5363ee814b5bae8f78019cb75c | [
"MIT"
] | permissive | anylee2021/PCBEmulator | bc87aa397cca221dc76720c3967e7fcae68e2346 | 7a89e5ecf5995fdc395cc17bbd39f68d41463210 | refs/heads/master | 2023-06-16T11:20:00.134653 | 2021-07-11T20:51:06 | 2021-07-11T20:51:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,964 | hpp | #pragma once
#include <risc.hpp>
#include <devices/cpu/core/instructions.hpp>
#include <devices/cpu/core/registers.hpp>
#include <devices/cpu/core/address_space.hpp>
#include <thread>
#include <chrono>
namespace vc::dev::cpu {
class Core {
public:
explicit Core(AddressSpace &addressSpace) : addressS... | [
"werwolv98@gmail.com"
] | werwolv98@gmail.com |
4c5a13433906b18f48844eacb793f6973148455a | 4d8163d14662df4e48b9cea97a6889c98b0d9fee | /arduino/eBike/dac.h | 82564f21895d3fa10fa2ac82f19b04fcaecbf55e | [
"BSD-2-Clause"
] | permissive | dan-git/outdoor_bot | b4e46db31ecc8fa810ddc6f4df812826b8cf1ae4 | 81bf75e26449f8e4b6a38f4049ca4d4cda7b8c04 | refs/heads/master | 2021-01-19T18:10:21.154726 | 2015-06-30T03:14:54 | 2015-06-30T03:14:54 | 34,421,126 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,677 | h | // transmitting over I2C to the dac
// first send the address, our addresses will be 0x60, 0x61, 0x62, 0x63
// 60 and 61 are for the ones from sparkfun, 62 and 63 for the ones from adafruit
// next send the command
// for high speed transmission, the high byte = 0 and the low byte = the 4 MSB; the next word is the 8 LS... | [
"dan7296@yahoo.com"
] | dan7296@yahoo.com |
28043b54193d5c5e39f0f57a7396bbdcf4408256 | bb5016b2645bd6232fd8f0200a3ca9a4cbcd5462 | /homework5/include/graphical_primitive/iprimitive.h | f6516110dbde14d50f9e9e027728852b44c99c1c | [] | no_license | motoroller95/otus-cpp | ba502483b98029caa54975cc6f2d2dcdbdd58967 | a88f1d5bb23f0dd28e6833613c99be657e936ba7 | refs/heads/master | 2021-05-17T17:56:12.754148 | 2020-09-29T19:31:36 | 2020-09-29T19:31:36 | 250,905,563 | 0 | 0 | null | 2020-05-24T10:06:15 | 2020-03-28T22:24:17 | C++ | UTF-8 | C++ | false | false | 120 | h | #pragma once
namespace GraphicalPrimitives {
struct IPrimitive
{
virtual const char* name() const = 0;
};
};
| [
"noreply@github.com"
] | noreply@github.com |
54606b171baf4eed35248afc0dbbe93b8770ab3d | f8b56b711317fcaeb0fb606fb716f6e1fe5e75df | /Internal/SDK/BP_ipg_hair_09_Desc_classes.h | 24ccef052785e0213f31fbb1e971e40e00c22445 | [] | no_license | zanzo420/SoT-SDK-CG | a5bba7c49a98fee71f35ce69a92b6966742106b4 | 2284b0680dcb86207d197e0fab6a76e9db573a48 | refs/heads/main | 2023-06-18T09:20:47.505777 | 2021-07-13T12:35:51 | 2021-07-13T12:35:51 | 385,600,112 | 0 | 0 | null | 2021-07-13T12:42:45 | 2021-07-13T12:42:44 | null | UTF-8 | C++ | false | false | 747 | h | #pragma once
// Name: Sea of Thieves, Version: 2.2.0.2
/*!!DEFINE!!*/
/*!!HELPER_DEF!!*/
/*!!HELPER_INC!!*/
#ifdef _MSC_VER
#pragma pack(push, 0x01)
#endif
namespace CG
{
//---------------------------------------------------------------------------
// Classes
//-------------------------------------------------... | [
"zp2kshield@gmail.com"
] | zp2kshield@gmail.com |
6c24dbc952ce748add240f38217955485aaf7cb3 | 477c8309420eb102b8073ce067d8df0afc5a79b1 | /VTK/Parallel/vtkCollectPolyData.cxx | a216a9015d0975cbfa386f6b50f4bda8b2b66bfb | [
"LicenseRef-scancode-paraview-1.2",
"BSD-3-Clause"
] | permissive | aashish24/paraview-climate-3.11.1 | e0058124e9492b7adfcb70fa2a8c96419297fbe6 | c8ea429f56c10059dfa4450238b8f5bac3208d3a | refs/heads/uvcdat-master | 2021-07-03T11:16:20.129505 | 2013-05-10T13:14:30 | 2013-05-10T13:14:30 | 4,238,077 | 1 | 0 | NOASSERTION | 2020-10-12T21:28:23 | 2012-05-06T02:32:44 | C++ | UTF-8 | C++ | false | false | 6,479 | cxx | /*=========================================================================
Program: Visualization Toolkit
Module: vtkCollectPolyData.cxx
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
All rights reserved.
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
This softwa... | [
"aashish.chaudhary@kitware.com"
] | aashish.chaudhary@kitware.com |
9d241bd2827fb835f14f04d521552c5897a3fdb3 | 948f4e13af6b3014582909cc6d762606f2a43365 | /testcases/juliet_test_suite/testcases/CWE789_Uncontrolled_Mem_Alloc/s02/CWE789_Uncontrolled_Mem_Alloc__new_wchar_t_listen_socket_16.cpp | 5b4058bdd9f2347357de9d6b1386d38566264749 | [] | no_license | junxzm1990/ASAN-- | 0056a341b8537142e10373c8417f27d7825ad89b | ca96e46422407a55bed4aa551a6ad28ec1eeef4e | refs/heads/master | 2022-08-02T15:38:56.286555 | 2022-06-16T22:19:54 | 2022-06-16T22:19:54 | 408,238,453 | 74 | 13 | null | 2022-06-16T22:19:55 | 2021-09-19T21:14:59 | null | UTF-8 | C++ | false | false | 10,389 | cpp | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE789_Uncontrolled_Mem_Alloc__new_wchar_t_listen_socket_16.cpp
Label Definition File: CWE789_Uncontrolled_Mem_Alloc__new.label.xml
Template File: sources-sinks-16.tmpl.cpp
*/
/*
* @description
* CWE: 789 Uncontrolled Memory Allocation
* BadSource: listen_socket ... | [
"yzhang0701@gmail.com"
] | yzhang0701@gmail.com |
5a9134ea0999bb7e002dcd4a8c70cf4d3b9e24c2 | 6bd71bdfe9234e5e6de90bb40b6cd8d3e25ca6d2 | /fftw_examples/src/Data.h | ae29e0ad395c88bf00d9b1362f6cdaa93a75228d | [] | no_license | andres0sorio/CMSWork | f1f30a12bf43eb688ef9e95c53c94fe32fc7fe66 | 81e60a0a9b70cd2ae01d17b15be386a6cd925416 | refs/heads/master | 2021-01-22T13:12:16.094247 | 2015-10-26T04:47:12 | 2015-10-26T04:47:12 | 9,710,836 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 603 | h | // $Id: $
#ifndef DATA_H
#define DATA_H 1
// Include files
#include "CommonIncludes.h"
/** @class Data Data.h 3.7/Data.h
*
*
* @author Andres Osorio
* @date 2008-04-29
*/
class Data {
public:
/// Standard constructor
Data( ) { };
Data(const char*);
virtual ~Data( ); ///< Destructor
int ... | [
"osorio.af@gmail.com"
] | osorio.af@gmail.com |
a1255f8178c022c64473620520623d29061d6e1f | c5efaa910b6361e0e8d259d3daee51ec111eee2e | /Vivado/Code/main.cc | 4a85c2cd69f6902577dcbe473ced2d3abd6440d8 | [] | no_license | Alanzjc-pro/MSc_project | 993ff53259f683b3184adb4e557d39ceb6be3076 | 79c970715d47ef6e24251c03d0cbe66e59fe2ce6 | refs/heads/main | 2023-07-18T12:42:48.378992 | 2021-09-10T20:23:55 | 2021-09-10T20:23:55 | 381,660,717 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,405 | cc | // Standard Library
#include <stdio.h>
#include <stdlib.h>
#include <iostream>
#include <fstream>
#include <string>
// FPGA Library
#include <xestimate_isi_unroll_2.h>
#include <xparameters.h>
#include <xscugic.h>
#include <xil_printf.h>
#include <xtime_l.h>
#include "test_data_3.h"
using namespace std;
#define ... | [
"noreply@github.com"
] | noreply@github.com |
ac8ce71615e6a30c78bdb1775ece199f80d99633 | 84d98378511f59301f9693b7fe91ee8a4ac76283 | /13. Trees/vectorUse.cpp | dcb9dc45b15fa1201d9966950fbb03bbbdd5faa1 | [] | no_license | SaquibAnwar/Cpp-playground | 03358e9b7b7d27b8ee6b3c62c1d6ba2b5c01086e | 523202204b5ed24e162fc51d871afd2cb45f034b | refs/heads/master | 2021-06-23T12:51:41.844899 | 2021-02-05T07:20:19 | 2021-02-05T07:20:19 | 189,625,826 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,148 | cpp | #include<iostream>
#include<vector>
using namespace std;
int main(){
//vector<int> *vp = new vector<int>(); //Dynamic Allocation
vector<int> v; //Statically Allocated
for(int i = 0; i < 100; i++){
cout << "cap : " << v.capacity() << endl;
cout << "size :... | [
"saquibedu@gmail.com"
] | saquibedu@gmail.com |
c909ff2ca96722b9cbe761b5a62a788d02186ac7 | 3fdb29bb2c294da1f902f1f734329a8e36a84295 | /SDL Game (VS2017)/Engine/Source/gameImage.cpp | 894819e69011610f9d6182774c53232d02b0042b | [] | no_license | s-viour/SDL-Game | 0d1911c1e92f79a66fa87d9a099bc25ea76771d6 | 2a7768e9ac7b8b1713ad70447e78a9a456e6b7c4 | refs/heads/master | 2021-06-18T23:01:28.824640 | 2017-06-06T19:26:41 | 2017-06-06T19:26:41 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,587 | cpp | #include <SDL_image.h>
#include <iostream>
#include "gameImage.hpp"
#include "gameRenderer.hpp"
#include "gameVector2.hpp"
gameImage::gameImage(gameRenderer* renderer, char* path) //If a path is given, load it
{
if (path == "")
{
return;
}
rend = renderer;
loadFromFile(path);
}
gameImage::gameImage(gameRende... | [
"mwyatt1000@gmail.com"
] | mwyatt1000@gmail.com |
a765904bc6d881de5d10eff659b79147a891283f | bf39b5825abad84b2a4daa544969b0b751ef37da | /exercise14_sol.cpp | b89d1058bc6be1bd9deb9671bc105097cbc9a9e5 | [] | no_license | nihy/cse443 | 4d48abe02302e5f49ff5ac36f4c11444321a7ec9 | e5ab55563878789a8912dd1261cad6f6bce78509 | refs/heads/master | 2021-01-22T20:00:19.183815 | 2017-03-17T05:36:27 | 2017-03-17T05:36:27 | 85,274,391 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,303 | cpp | /**
An MPI program to compute factors of a number using 2 MPI processes:
Rank 0: Operates as manager (performs I/O)
Rank 1: Operates as worker (computes number of factors)
Copyright (C) 2015 raodm@miamiOH.edu
*/
#include <mpi.h>
#include <iostream>
#include <fstream>
#include <string>
const int N... | [
"nihy@miamioh.edu"
] | nihy@miamioh.edu |
a5aa0b62e7afa6ca4982f5dd02106ba9edd592ec | 5f335c4bad9411750f6e6b48f87134ce71afcd4a | /Les4/includes/Coins/CoffeeCoin.h | 57b22c6e0934dcf31775add91503a9e8254f0df4 | [] | no_license | WhiteOlivierus/OBOPB | 564f44d22dfc84441475ef68abc15ec4d3e1d70e | f7d5b3e978189d4b341e5fd4b59f49cc2cb3a93c | refs/heads/master | 2021-06-24T13:23:23.109526 | 2020-10-16T09:21:39 | 2020-10-16T09:21:39 | 148,903,210 | 0 | 1 | null | 2020-10-15T13:24:17 | 2018-09-15T13:12:23 | C++ | UTF-8 | C++ | false | false | 97 | h | class CoffeeCoin : public BaseCoin
{
public:
CoffeeCoin() : BaseCoin(-1, "CoffeeCoin") {}
};
| [
"bas.dijkstra@student.hku.nl"
] | bas.dijkstra@student.hku.nl |
9a9719d02d4cad7be7130c1b31604fe386e218de | 37097033254b1e0ec448bddcffca5e68dbd9f3d5 | /Dynamic Programming/MaxDiffZerosOnes.cpp | 89552857e8cc83cd448c67aebc99a23cd857aa14 | [] | no_license | rishavinvincible/Algorithms-DataStructures | 0fadcc6eedb89e8c056dad070f3f6ca91d215be5 | 351f946f95363adc2b4e0bea54b6a9af6707cfc7 | refs/heads/master | 2021-05-14T04:11:55.222821 | 2018-05-30T07:44:15 | 2018-05-30T07:44:15 | 116,637,529 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 619 | cpp | //Given a array. We have to print the maxsum difference of zeros and one in a subarray
//If there are no zeros, output -1
#include <bits/stdc++.h>
using namespace std;
int main()
{
int t;
string s;
cin>>t;
while(t--)
{
cin>>s;
int dp[s.size()];
for(int i=0;i<s.size();i++)
{
if(s[i]=='1')
dp[i]=-1;
... | [
"apple@Apples-MacBook-Pro-2.local"
] | apple@Apples-MacBook-Pro-2.local |
91792de35a21f05d8f5fbd7ef1361d48c68af105 | 60b34fb7ed5456e801383e04707bbc94721a4253 | /func.cpp | 4993620c510f6c8da2d9b58e73ca999bbfab93f3 | [] | no_license | gabo13/polar_server | a2e9e1b42a611dfef2ab691f3d82e048d5586c56 | fe0a3a0cabe0bb57dfb3ed0f08173f216b9146b7 | refs/heads/main | 2023-08-03T23:40:18.900388 | 2023-07-28T12:49:54 | 2023-07-28T12:49:54 | 376,571,739 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 300 | cpp | #include <math.h>
void intermolation_with_y(float start_x, float start_y, float end_x, float end_y, float &curr_x, float &curr_y, float delta) {
curr_x = start_x;
curr_y = start_y;
while(curr_x != end_x) {
curr_y = ((curr_x-start_x)/(end_x-start_x))*(end_y-start_y)+start_y;
}
}
| [
"noreply@github.com"
] | noreply@github.com |
ef6ae0655df5e4ea069ebe81021355686ce55889 | 5b68977de700823a9b468523578a8ece133598e9 | /QuantBox_Queue/MsgQueue.h | a938b91498d5a27942398476fac3bdc8ce6e10f8 | [] | no_license | kukupigs/QuantBox_XAPI | 94dbe92ba863a92ace0b57a7e088313158d948fb | 0873d2a8edcdff0822748f833199dcc0f6eb1c8a | refs/heads/master | 2021-01-12T22:30:56.085856 | 2015-04-07T08:22:55 | 2015-04-07T08:22:55 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,506 | h | #pragma once
#include <thread>
#include <mutex>
#include <cstring>
#include <condition_variable>
#include "../include/CrossPlatform.h"
#include "../include/QueueHeader.h"
#include "../include/QueueStruct.h"
#include "readerwriterqueue.h"
#include "concurrentqueue.h"
using namespace std;
using namespace moodycamel;... | [
"wu-kan@163.com"
] | wu-kan@163.com |
93a1520107092497d01bbe4b0dc05ab22796a19e | a4abdd78fdc7045369d8d8d73ad2ecc15c693f1b | /ABC148/D.cpp | 5e16c6f72c7d6eea5c94ca409ed7cc23e7e4960c | [] | no_license | towa0131/AtCoder | dea374b7506bc331c2bddf13f008bb1e327b5055 | c77347dca65813f204031955fbfa0f472f0c4faf | refs/heads/master | 2020-08-18T23:32:02.382173 | 2020-07-22T01:30:44 | 2020-07-22T01:30:44 | 215,847,800 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 448 | cpp | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
int main(){
ll N;
cin >> N;
vector<int> A(N);
for (int i = 0; i < N; i++) cin >> A[i];
ll latest = 1;
ll broke = 0;
bool match = false;
for (ll a : A) {
if(a == latest) latest++;
else broke++;
... | [
"towa.towa0131@gmail.com"
] | towa.towa0131@gmail.com |
ad9267f71a3ca3ad56ba60c5984a4fd8c0e9a4a3 | a1bd1e6fe5ce4ecf59c1ee3e0b0eba79115e9a6c | /include/utils.hpp | 9cc06cae59229342a6b170bfa939f2740ad84be0 | [] | no_license | patflick/metag_partitioning | b91c5f118d19fbc8728354aec2373e87b6f5a015 | cf86d7755513d1d22c5b75580a9749006dedc70f | refs/heads/master | 2021-05-05T23:49:14.376698 | 2016-09-29T20:19:35 | 2016-09-29T20:19:35 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,509 | hpp | #ifndef METAG_UTILS_HPP
#define METAG_UTILS_HPP
//Includes
#include <mpi.h>
//Includes from mxx library
#include <mxx/sort.hpp>
//Own includes
#include "sortTuples.hpp"
#include "prettyprint.hpp"
#include <fstream>
#include <iostream>
//Helper function for generating histogram
//Inserts the given value to the m... | [
"cjain7@gatech.edu"
] | cjain7@gatech.edu |
d13e07e23cb0e3815ef33795670f90e987553a10 | 58f46a28fc1b58f9cd4904c591b415c29ab2842f | /chromium-courgette-redacted-29.0.1547.57/android_webview/common/render_view_messages.h | 68ce3bc2524b1110dcac2743934f46e1eb029ad6 | [
"BSD-3-Clause"
] | permissive | bbmjja8123/chromium-1 | e739ef69d176c636d461e44d54ec66d11ed48f96 | 2a46d8855c48acd51dafc475be7a56420a716477 | refs/heads/master | 2021-01-16T17:50:45.184775 | 2015-03-20T18:38:11 | 2015-03-20T18:42:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,285 | h | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Multiply-included file, no traditional include guard.
#include "android_webview/common/aw_hit_test_data.h"
#include "content/public/common/common_p... | [
"Khilan.Gudka@cl.cam.ac.uk"
] | Khilan.Gudka@cl.cam.ac.uk |
67aa94cd9770d52acd971f3a89d9525bb4a4108e | fb7817c071c37fed603e1b46df1327175ee031b1 | /App/Lib/Bal/Source/math/balRadian.cpp | 7036466ba19a909ca3ecfe1303fe09dd770fa24f | [
"MIT"
] | permissive | belmayze/bal | af22ecf42ae1491843c4e84f74af75be92b64ed3 | 710a96d011855fdab4e4b6962a2ba5b6b6b35aae | refs/heads/master | 2021-08-18T04:04:42.151990 | 2021-07-03T22:29:42 | 2021-07-03T22:29:42 | 240,271,882 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 555 | cpp | /*!
* @file balRadian.cpp
* @brief
* @author belmayze
*
* Copyright (c) 2020 belmayze. All rights reserved.
*/
// bal
#include <math/balDegree.h>
#include <math/balMath.h>
#include <math/balRadian.h>
namespace bal {
// ----------------------------------------------------------------------------
Radian::Ra... | [
"belmayze@users.noreply.github.com"
] | belmayze@users.noreply.github.com |
aa34e51d8f41e9966139994720462753255add16 | 8f021f68cd0949afa8d119582c0b419b014919d8 | /UVA/uva10082.cpp | 82d818d9faac98d98c647d77b4291d17f8736a6b | [] | no_license | Jonatankk/codigos | b9c8426c2f33b5142460a84337480b147169b3e6 | 233ae668bdf6cdd12dbc9ef243fb4ccdab49c933 | refs/heads/master | 2022-07-22T11:09:27.271029 | 2020-05-09T20:57:42 | 2020-05-09T20:57:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 560 | cpp | /*
* Leonardo Deliyannis Constantin
* UVa 10082 - WERTYU
*/
#include <stdio.h>
#define MAX 256
char t[MAX];
void setup(){
int i;
char w[] = "1234567890-=WERTYUIOP[]\\SDFGHJKL;'XCVBNM,./";
char r[] = "`1234567890-QWERTYUIOP[]ASDFGHJKL;ZXCVBNM,.";
for(i = 0; i < 255; i++){
t[i] = (char) i;
}
for(i = 0; w[i]... | [
"constantin.leo@gmail.com"
] | constantin.leo@gmail.com |
4563131d7ce6de6158beccd09c2c753884b450fa | cc8a8f7bbf231f3c429ebf00bc78a37c3469ee71 | /Arduino/IOT-Smart-Home-2017/room_magnetic_sensor/room_magnetic_sensor.ino | 59792e24fb970758a3c9c2c8475bcd6fb18560ab | [] | no_license | RMiguelPT/IOT-SmartHome | ac819aa05d186404baa83431a57f3d5c40a1ff11 | b8cc9db44673c91bc57b6adbb34e327aad386e2f | refs/heads/master | 2021-01-24T08:51:41.704944 | 2017-07-03T21:55:41 | 2017-07-03T21:55:41 | 93,391,784 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,816 | ino | /*
Name: pir_sensor.ino
Created: 23/06/2017 23:45:57
Author: Ruben & paulo
*/
#include <arduino_pins.h>
#include <ArduinoJson.h>
#include <ESP8266WiFi.h>
#include <PubSubClient.h>
//*********DEFINES*********//
#define MAGNETIC_SENSOR_PIN D1
StaticJsonBuffer<300> JSONbuffer;
JsonObject& JSONencoder = JSONbuffer.cre... | [
"smasher35@gmail.com"
] | smasher35@gmail.com |
c00f44b81e5dd919e480cfd6bde35f25af6d899a | 51e099f982ee80806f1894ad33a1cb0e81b23c83 | /deducciondialog.cpp | 313d366cab6c9719cd1883f4b09b178d620131f1 | [] | no_license | kendryfbo/sistema-nomina | 76832d8248d92eeb566c0fa105a5d675534d42d9 | 96e7399dc87f050ea7eacdcebf8f9e4e860271a9 | refs/heads/master | 2020-04-10T21:48:14.374245 | 2016-07-20T12:35:45 | 2016-07-20T12:35:45 | 63,780,330 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,607 | cpp | #include "deducciondialog.h"
#include "ui_deducciondialog.h"
DeduccionDialog::DeduccionDialog(QWidget *parent) :
QDialog(parent),
ui(new Ui::DeduccionDialog)
{
ui->setupUi(this);
model = new DeduccionModel("deduccionDialog","127.0.0.1","nomina","root","19017070",3306);
if (!model->isConected()){
... | [
"kendryfbo@gmail.com"
] | kendryfbo@gmail.com |
b3c77e397184ca46d15a51c99f3023875822069e | 3bacd8f24d38a5072fdaa2ae1bb3a1b10c8ef064 | /robot_control/JakobQLearning/json.cpp | 52a8a3ba2a4039a94fffba6e0c1bdbc1b3e86ae3 | [] | no_license | JakobYde/Robotics_Vision_AI_Group_Project | e253fdf753a66486def5ef66c757360857df2f4e | 857e351f07029cda2150ef6263f4bdf61d0e8e29 | refs/heads/master | 2020-11-24T06:09:24.582400 | 2018-12-16T12:38:06 | 2018-12-16T12:38:06 | 228,000,890 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,663 | cpp | #include "json.h"
Json::Json()
{
}
Json::~Json()
{
}
void Json::add(std::string name, float value)
{
jsonValue val(name, std::to_string(value));
addJsonValue(val);
}
void Json::add(std::string name, int value)
{
jsonValue val(name, std::to_string(value));
addJsonValue(val);
}
void Json::add(std::stri... | [
"jayde16@student.sdu.dk"
] | jayde16@student.sdu.dk |
23c8a0870370436abbd12ebabd31dccdbe4e6614 | cd726912664cea9c458ac8b609dd98bf33e3b9a0 | /snippets/cpp/VS_Snippets_Winforms/EventsTabExample/CPP/class1.cpp | c12d415bf94e6a0891fa8c202ee8e250bbc19079 | [
"MIT",
"CC-BY-4.0"
] | permissive | dotnet/dotnet-api-docs | b41fc7fa07aa4d54205df81284bae4f491286ec2 | 70e7abc4bcd692cb4fb6b4cbcb34bb517261dbaf | refs/heads/main | 2023-09-04T07:16:44.908599 | 2023-09-01T21:46:11 | 2023-09-01T21:46:11 | 111,510,915 | 630 | 1,856 | NOASSERTION | 2023-09-14T21:45:33 | 2017-11-21T06:52:13 | C# | UTF-8 | C++ | false | false | 4,509 | cpp |
//<Snippet1>
#using <System.Windows.Forms.dll>
#using <System.Drawing.dll>
#using <System.dll>
using namespace System;
using namespace System::ComponentModel;
using namespace System::ComponentModel::Design;
using namespace System::Collections;
using namespace System::Drawing;
using namespace System::IO;
using namesp... | [
"noreply@github.com"
] | noreply@github.com |
aabad263e562a291d4014345cd0227c660b8e8a4 | 49dc1ebb4e4ac3f52a0a0e9bab88ab7914bf43db | /chrono.h | 94f3f762af0af9425be2b2ccca891b6429871a45 | [] | no_license | scchess/fire | 65a146d22a746c01bc87ef4788520c5d84263e06 | f75dd3094e774aaa2bdb3c9a28a062a335dc6950 | refs/heads/main | 2023-06-28T08:40:00.291938 | 2021-07-31T11:14:37 | 2021-07-31T11:14:37 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,389 | h | /*
Fire is a freeware UCI chess playing engine authored by Norman Schmidt.
Fire utilizes many state-of-the-art chess programming ideas and techniques
which have been documented in detail at https://www.chessprogramming.org/
and demonstrated via the very strong open-source chess engine Stockfish...
https://g... | [
"firefather@telenet.be"
] | firefather@telenet.be |
90e28e3f51ca36fcf8e2182a4edf5220a48c4a43 | 08b8cf38e1936e8cec27f84af0d3727321cec9c4 | /data/crawl/collectd/hunk_299.cpp | bb3278e80726601169a2777ce95ed61e96df68f9 | [] | no_license | ccdxc/logSurvey | eaf28e9c2d6307140b17986d5c05106d1fd8e943 | 6b80226e1667c1e0760ab39160893ee19b0e9fb1 | refs/heads/master | 2022-01-07T21:31:55.446839 | 2018-04-21T14:12:43 | 2018-04-21T14:12:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 268 | cpp | module = PyImport_ImportModule(module_name); /* New reference. */
if (module == NULL) {
ERROR("python plugin: Error importing module \"%s\".", module_name);
+ cpy_log_exception("python initialization");
PyErr_Print();
}
free(module_name);
| [
"993273596@qq.com"
] | 993273596@qq.com |
ba54c44efdb0155c2d15e38a73e4795b128d811b | 2e264fa234fa0eacbe62d8979953b45403939e68 | /C++/Chapter2/exercise2.2.2.cpp | 7964800e13d13729698076428e7a8ec6d127516c | [] | no_license | felceryan/Project | b922c43093d7358fc44b797c2ea6022f06c981a3 | b29be7c2ca945846f86413f365859f2c58bb1691 | refs/heads/master | 2023-01-22T00:59:53.142460 | 2020-11-23T16:24:16 | 2020-11-23T16:24:16 | 312,335,792 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 96 | cpp | // extern int ix = 1024;
// Definition
// int iy;
// Definition
// extern in iz;
// Declaration | [
"38838148+felceryan@users.noreply.github.com"
] | 38838148+felceryan@users.noreply.github.com |
5755868f34b1920fe639cdda6eafa0e631ccd06e | d52d3a9f0afb4316532837a5786e487813374da2 | /fmnccmbd/CrdFmncRun/QryFmncRunMNFab_blks.cpp | 5b6d30836e920b899f59a1e1571b9ed4edbb4032 | [] | no_license | epsitech/fabmaniac | cf7fb7e2f8d0f0a3dd18585a3309d05d3ea622ac | 715f59ed8a80a1288119081210428fce51422d7e | refs/heads/master | 2021-01-21T04:25:33.463846 | 2016-08-07T19:25:59 | 2016-08-07T19:25:59 | 48,572,056 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,882 | cpp | /**
* \file QryFmncRunMNFab_blks.cpp
* job handler for job QryFmncRunMNFab (implementation of blocks)
* \author Alexander Wirthmueller
* \date created: 7 Mar 2016
* \date modified: 7 Mar 2016
*/
/******************************************************************************
class QryFmncRunMNFab::StatApp
... | [
"awirthm@gmail.com"
] | awirthm@gmail.com |
b3d3d3ca5725a182bb17836fe1d0a55c4af09318 | 8698619c7064ba3af0715690f6cc6d0bb72ab01d | /Lib/tc/Include/tc/KeepAliveClient.h | 7d5a8c1d91f07d559a4bae05952960ab86f99be3 | [] | no_license | mqd520/New1 | 87edffcdb2d10a3103783c10ed923cc4cc8986c2 | aa93f49fe3e6e1dfa9c70d6eeb4d9213ec6663f2 | refs/heads/master | 2020-06-20T03:24:25.606090 | 2019-09-09T09:29:30 | 2019-09-09T09:29:30 | 196,973,877 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 2,063 | h | #pragma once
#include "KeepAliveSrv.h"
#include "Timer.h"
namespace tc
{
// 心跳包客户端服务
class KeepAliveClient : public KeepAliveSrv
{
public:
//************************************
// Method: 构造函数
// Parameter: int nTimespan: 发送间隔时间
// Parameter: int nTimeout: 丢失心跳包超时时间
// Parameter: int nMaxCount: 允许丢失... | [
"1506816370@qq.com"
] | 1506816370@qq.com |
38db4cfb80c9384e3b93eb212bcbd72ce25128df | e09287b0da2feb548d8c7dd307a0119e6ae65f4d | /menge_core/src/Agents/AgentGenerators/HexLatticeGenerator.cpp | 015dd496f850a033f4b749c1d5d47f1c3694b6fd | [] | no_license | flztiii/menge_ros | ee52f37a0aa710c6128c047a4c4e3d25832bfe7b | af50499f90117a29ea8bddd1b496dead232b5ec0 | refs/heads/master | 2023-03-18T10:57:48.634069 | 2017-08-23T19:34:27 | 2017-08-23T19:34:27 | 510,190,699 | 1 | 1 | null | 2022-07-04T02:48:29 | 2022-07-04T02:48:29 | null | WINDOWS-1252 | C++ | false | false | 9,310 | cpp | /*
License
Menge
Copyright © and trademark ™ 2012-14 University of North Carolina at Chapel Hill.
All rights reserved.
Permission to use, copy, modify, and distribute this software and its documentation
for educational, research, and non-profit purposes, without fee, and without a
written agreement is hereby gran... | [
"anooparoor@Minerva.cs.hunter.cuny.edu"
] | anooparoor@Minerva.cs.hunter.cuny.edu |
e2babc510f3dacd80cec67bb31d66901ab8abe57 | 90be84fbaf1176c99d141467ed587ecb5b894a25 | /frontend/cli/cmd.h | 2085d594ab8e69d86495097f670706ea05c16921 | [
"BSD-2-Clause"
] | permissive | FrostVK/mous | 7806fa39c58a4d881e69fa2f416d9c3061dc4ee3 | 26e8e68292a23b4d7742b80dd4942c306a82942e | refs/heads/master | 2021-08-11T12:59:44.122889 | 2017-09-21T06:59:49 | 2017-09-21T07:07:57 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 829 | h | #ifndef _MOUS_CLI_CMD_H_
#define _MOUS_CLI_CMD_H_
#include <vector>
#include <core/PluginManager.h>
#include <core/MediaLoader.h>
#include <core/TagParserFactory.h>
#include <core/ConvTaskFactory.h>
struct mous_ctx
{
typedef std::vector<const mous::Plugin*> plugin_list_t;
mous::PluginManager mgr;
mous:... | [
"shen.elf@gmail.com"
] | shen.elf@gmail.com |
82d7cec2922901905aa9760a9c3e2cae8821a2c1 | cf768d1fb3404ea336ebe40d7dc8677cd1f2f291 | /xls/jit/proc_builder_visitor.cc | a7df23702d1c607405db9ceadf9182625ef6332a | [
"Apache-2.0"
] | permissive | ydy12345678/xls | 93d32f45ca9ab35252fbdf0951dc565d09a99e5b | eb9bea0aa47dc56b9ba175ebd1d9afa6e2e2e0eb | refs/heads/main | 2023-03-18T08:59:49.234356 | 2021-03-03T22:50:59 | 2021-03-03T22:51:54 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,197 | cc | // Copyright 2020 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | [
"copybara-worker@google.com"
] | copybara-worker@google.com |
95dc1ac117539b4ef2e49e0ed371b841d9d33914 | 95c74f6a8ad545ec49c0ab7323af310e52255f87 | /cpp/CF3A.cpp | 2a53d2ec0b2e410baa01ebdcc72b8d9b05c58398 | [] | no_license | debugger87/codeforces-solutions | e096cc641e1cf92f52e69eff4766a2de5dc7fa35 | 7af43af423ad96a1a1ddd80a3a1f66383f51bc3f | refs/heads/master | 2021-01-23T02:30:50.693420 | 2015-03-16T18:16:05 | 2015-03-16T18:16:05 | 31,845,063 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 571 | cpp | #include <iostream>
#include <string>
using namespace std;
int absInt(int x) {
if (x >= 0) {
return x;
} else {
return -x;
}
}
int main() {
string s;
string t;
cin>>s;
cin>>t;
int sx = s[0] - 'a' + 1;
int sy = s[1] - '0';
int tx = t[0] - 'a' + 1;
int ty = t[1] - '0';
cout<<max(absInt(tx-sx), absInt(t... | [
"yangchaozhong.2009@gmail.com"
] | yangchaozhong.2009@gmail.com |
49b96ededefb1d05fca625348f4241ca36fcf363 | 2f776a7e217e5f9a9ba42f8557a6ab8d260ca66c | /src/Wiimpl.h | 36bb09052fca5e9ccbc4d12d8b2f5703c740bd13 | [] | no_license | abolz/Wiimote | 333376f90be424ba2fad5436775ee488bce314a1 | a554bfe42df2267e89f04dad21accd0333c7bb56 | refs/heads/master | 2021-08-15T04:41:54.554111 | 2017-11-17T10:48:05 | 2017-11-17T10:48:05 | 111,092,533 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,293 | h | // This file is distributed under the MIT license.
// See the LICENSE file for details.
#pragma once
#include "Wiimote/Wiimote.h"
#include <cassert>
#include <cstdint>
#include <cstring>
#include <deque>
#include <functional>
#include <thread>
#include <vector>
#ifdef _WIN32
#include <windows.h>
#endif
#define WII... | [
"lt.morris.schaffer@googlemail.com"
] | lt.morris.schaffer@googlemail.com |
df3d31e325e5d7eef934e6275578b441041c47c4 | 463bae726a575182d9023ddd0f42d59e0bebccd1 | /widget.cpp | ab62675e16d9a1b0c0d7f61163f536136b847e2a | [
"MIT"
] | permissive | andreagen0r/phyllotaxis | 5410120bbc1d3bc5ec43a47043e4291b5650a1f2 | 3c0409434835112d5b9013150f35b5dfafb97588 | refs/heads/master | 2023-03-25T15:08:33.638564 | 2021-03-19T03:07:15 | 2021-03-19T03:07:15 | 255,156,490 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,448 | cpp | #include "widget.h"
#include "ui_widget.h"
#include <QPainter>
#include <QtMath>
#include <QTimer>
Widget::Widget(QWidget *parent) :
QWidget(parent),
ui(new Ui::Widget),
angle(137.37),
size(0),
maxSize(3000),
speed(1)
{
ui->setupUi(this);
showMaximized();
ui->doubleSpinBox->setVa... | [
"noreply@github.com"
] | noreply@github.com |
edc6ea04c8309e462847c2618f456cacce14db73 | 1130fcd0c626fe52c2e150d57f9af40263149cb7 | /treeviewsimple/treeviewmodel.h | c0f0a949548ff1d801705be5039bae579adfb664 | [] | no_license | Poofee/qtprojects | ea42b68a5c150a827e64da61eb1ae3eb7a3fc606 | c3422b52d52d469ec5c0a72c431e3bd5041658a2 | refs/heads/master | 2021-07-17T06:34:00.735954 | 2020-05-31T05:20:50 | 2020-05-31T05:20:50 | 174,517,531 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,519 | h | #ifndef TREEVIEWMODEL_H
#define TREEVIEWMODEL_H
#include <QAbstractItemModel>
struct FlashIndexData{
FlashIndexData():is_be_checked(false){
}
bool is_be_checked;
quint32 unix_time;
quint16 addr;
};
class TreeViewModel:public QAbstractItemModel
{
Q_OBJECT
public:
explicit TreeViewModel(QOb... | [
"poofee@qq.com"
] | poofee@qq.com |
68961f09ce7833a8a52bbe62d15b21cc97a77e52 | 24536793076b16af1be892e9a24dc501e7a173ee | /c2s-http/C2SHttpMediaType.cpp | 8e921bf426dd25532806e64bb45ccfe2aa162672 | [
"BSD-2-Clause"
] | permissive | AmiGanguli/C2Serve | f0a324e240cc7330e8bd45014673388a4f95b5e0 | 2e199afcfb3b1ad9df8e8b12c3b0dd4975c0dbbb | refs/heads/master | 2021-01-18T07:14:50.180326 | 2012-07-01T22:08:16 | 2012-07-01T22:08:16 | 4,813,200 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,200 | cpp | /**
Copyright (c) 2011, C2Serve (http://www.c2serve.eu)
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright
notice, this list of co... | [
"kay@c2serve.eu"
] | kay@c2serve.eu |
ea56efd419359d0fce6d9056ae22890295829a49 | de183ceb3decf9201898e86b532933c3ff60549e | /drogon_ctl/create_filter.h | f1998be94719931cc71f2f41caa4fbe507b49dfc | [
"MIT",
"BSD-3-Clause"
] | permissive | Yinunx/drogon | e86ef8d155ef7f1f95da74b220c0055ff2720062 | c9743400f1ad8d18e76f377513911be81bb88606 | refs/heads/master | 2020-04-29T10:46:07.119969 | 2019-03-15T10:03:33 | 2019-03-15T10:03:33 | 176,073,867 | 1 | 0 | NOASSERTION | 2019-03-17T08:16:16 | 2019-03-17T08:16:16 | null | UTF-8 | C++ | false | false | 695 | h | /**
*
* create_filter.h
* An Tao
*
* Copyright 2018, An Tao. All rights reserved.
* https://github.com/an-tao/drogon
* Use of this source code is governed by a MIT license
* that can be found in the License file.
*
* Drogon
*
*/
#pragma once
#include <drogon/DrObject.h>
#include "CommandHandler.h"... | [
"antao2002@gmail.com"
] | antao2002@gmail.com |
7afd4fc7770ee4ed20cba6c4dae69a111cc7494e | c2fb6846d5b932928854cfd194d95c79c723f04c | /4rth_Sem_c++_backup/PRACTICE/C/c.cpp | dcd3645f4fe490ba7a498b540da6e37cb164cc93 | [
"MIT"
] | permissive | Jimut123/code-backup | ef90ccec9fb6483bb6dae0aa6a1f1cc2b8802d59 | 8d4c16b9e960d352a7775786ea60290b29b30143 | refs/heads/master | 2022-12-07T04:10:59.604922 | 2021-04-28T10:22:19 | 2021-04-28T10:22:19 | 156,666,404 | 9 | 5 | MIT | 2022-12-02T20:27:22 | 2018-11-08T07:22:48 | Jupyter Notebook | UTF-8 | C++ | false | false | 631 | cpp | #include<iostream>
#include<vector>
#include<string>
#include<fstream>
using namespace std;
int main()
{
char happyArray[6] = {'H','a','p','p','y','\0'}; // The old C style
string birthdayString = " Birthday" ;
cout<<happyArray+birthdayString<<endl;
string yourName;
cout<<"What is your name :";
getline(cin,yo... | [
"jimutbahanpal@yahoo.com"
] | jimutbahanpal@yahoo.com |
a1d028363969a3b35a465debb128cd0f23151374 | bcddffdc47c0a4bfba3eac8ca49bba6897927836 | /poj/aSimpleProblemwithIntegers/solutions.cpp | a1587a1012fb0acc4a622ec91f2e921f94b30947 | [] | no_license | 2011211242/segmentTree | 8182a52dbc687f73d64ddfe1ebce5e0580f1e157 | 30b344659d2a4129352833a58750ce65372cb59d | refs/heads/master | 2020-12-31T06:45:51.461802 | 2016-05-03T01:30:53 | 2016-05-03T01:30:53 | 57,932,136 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,544 | cpp | #include <cstdio>
using namespace std;
#define MAX_LEN 100000
int num[MAX_LEN + 1];
struct node{
long long int val;
long long int add;
int left, right;
};
node tree[MAX_LEN << 2];
void createTree(int i, int l, int r)
{
tree[i].left = l;
tree[i].right = r;
tree[i].add = 0;
if(l == r)
... | [
"2990936748@qq.com"
] | 2990936748@qq.com |
063afcf7865e274368298bef0ec43e8f9818cdde | fe5aeea555aa8f9fb20c3e063200c92e2819a16b | /DTooEasyProblems.cpp | c4c600c83833cd1ca7c8172ecab21766a582b8bd | [] | no_license | Jaskamalkainth/Codeforces | b5a02738adf9098c330938c6b80f98e66cb439f7 | 744e0da175758e8d266442028ad25fac63540a37 | refs/heads/master | 2020-04-04T07:08:00.468927 | 2018-04-09T14:03:40 | 2018-04-09T14:03:40 | 49,429,077 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,581 | cpp | #include <iostream>
#include <vector>
#include <algorithm>
#include <utility>
#include <set>
using namespace std;
bool check(int mid,int T, vector<int> &res, vector<pair<int,pair<int,int>>> info)
{
vector<pair<int,pair<int,int>>> temp;
for(auto i: info)
if(i.second.first >= mid)
temp.emplace... | [
"kainthjaskamal@gmail.com"
] | kainthjaskamal@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.