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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
f3d92e390ec0a7d49e9cd426f4537442409e2fa0 | 6efcf227f1263d49db0bc51148a4fbdf73cf5842 | /Dengs FOC V2.0/Dengs FOC V2.0 测试例程(支持库SimpleFOC 2.1.1)/1 双电机开环速度控制/1_open_loop_velocity/1_open_loop_velocity_example.ino | 51cc3da9c5d86de0abc312674445336407c86e2c | [
"Apache-2.0"
] | permissive | power-u/Deng-s-foc-controller | 25e92778391087f2b608f2c501ffa6a80096ecd3 | b8cdf899f2f1616e7baa4b17d2c4cb0ee231e6c6 | refs/heads/main | 2023-06-21T10:04:03.008769 | 2021-07-16T01:40:20 | 2021-07-16T01:40:20 | 386,682,002 | 0 | 1 | Apache-2.0 | 2021-07-16T15:24:51 | 2021-07-16T15:24:50 | null | UTF-8 | C++ | false | false | 1,773 | ino | // Deng's FOC 开环速度控制例程 测试库:SimpleFOC 2.1.1 测试硬件:灯哥开源FOC V2.0
// 串口中输入"T+数字"设定两个电机的转速,如设置电机以 10rad/s 转动,输入 "T10",电机上电时默认会以 5rad/s 转动
// 在使用自己的电机时,请一定记得修改默认极对数,即 BLDCMotor(14) 中的值,设置为自己的极对数数字
// 程序默认设置的供电电压为 16.8V,用其他电压供电请记得修改 voltage_power_supply , voltage_limit 变量中的值
#include <SimpleFOC.h>
BLDCMotor motor = BLDCMotor... | [
"30995326+Glocklein@users.noreply.github.com"
] | 30995326+Glocklein@users.noreply.github.com |
a560667a8075238087f9b1b740d3b0b5f1ff0ed0 | 2699a4a53437c4b5d9559245a7101cbe8f14d102 | /maze/maze.cpp | 960186dadc89f9df1c6eacc1cf72cf97e8b33c55 | [] | no_license | theoport/Cpp_revision | f4aed05a8e87f633e595a2e54b7375a7cab59825 | 48d852cfacc3fcfc1e1275aa0654357893892c46 | refs/heads/master | 2021-01-13T15:28:10.561979 | 2017-09-12T17:47:36 | 2017-09-12T17:47:36 | 80,144,702 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,294 | cpp | #include <iostream>
#include <iomanip>
#include <fstream>
#include <cassert>
#include <cstring>
#include <string>
#include "maze.h"
using namespace std;
/* You are pre-supplied with the functions below. Add your own
function definitions to the end of this file. */
/* helper function which allocates a dynamic 2D a... | [
"theodor.port16@imperial.ac.uk"
] | theodor.port16@imperial.ac.uk |
23df7916eb89d2fcb5b955295d349b112acdfa60 | 15736c955a83aff301bf9d3ef049767918d8c998 | /llvm/.svn/pristine/23/23df7916eb89d2fcb5b955295d349b112acdfa60.svn-base | afded91598245f053696e42781a8b34ec7b38a25 | [
"NCSA"
] | permissive | sangeeta0201/fpsanitizer | 02f2aa40cb9341b625893840d8f81cf2fc8d368a | 402467edf31f3f70b4cb3f52ec27cbdc50cebf9f | refs/heads/master | 2020-03-19T02:22:02.058623 | 2019-09-30T18:41:59 | 2019-09-30T18:41:59 | 135,622,400 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,858 | //===-- R600MachineScheduler.cpp - R600 Scheduler Interface -*- C++ -*-----===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | [
"sc1696@scarletmail.rutgers.edu"
] | sc1696@scarletmail.rutgers.edu | |
e61152ef145307fdd6edb7be3e924d55f5864e97 | a2111a80faf35749d74a533e123d9da9da108214 | /raw/pmsb13/pmsb13-data-20130530/sources/427smdvbnknp0jra/2013-05-17T23-23-11.575+0200/sandbox/gruppe1/apps/PEMer_Lite/PEMer_Lite.h | a35286e54df5a03a56d3a745ca4ff4f473b97c6d | [
"MIT"
] | permissive | bkahlert/seqan-research | f2c550d539f511825842a60f6b994c1f0a3934c2 | 21945be863855077eec7cbdb51c3450afcf560a3 | refs/heads/master | 2022-12-24T13:05:48.828734 | 2015-07-01T01:56:22 | 2015-07-01T01:56:22 | 21,610,669 | 1 | 0 | null | null | null | null | ISO-8859-1 | C++ | false | false | 3,669 | h | /*
Name: saminput
Author: Lars Zerbe <larszerbe@live.de>
Author: Stephan Peter <s.peter@fu-berlin.de>
Maintainer: Lars Zerbe <larszerbe@live.de>
License: GPL v3
Copyright: 2008-2012, FU Berlin
Status: under development
*/
#ifndef PEMER_LITE_H_
#define PEMER_LITE_H_
#include <seqan/basic.h>
#include <seq... | [
"mail@bkahlert.com"
] | mail@bkahlert.com |
e5e8bf97b25e9aa1969c16b57a6fadfc97b40037 | 84cd56effcc82a925af8e8e6ec528be806e45b7d | /src/qt/test/rpcnestedtests.h | 1f4ee8a0f4da2bb9a5ab123ef06c6b6680bd5e2d | [
"MIT"
] | permissive | Deimoscoin/deimos | 85c2258fe51135e33e272a9c86736a1487871e16 | c03a65c72ffe6fadb840bc87e6fd6b4e012def08 | refs/heads/master | 2021-06-08T02:39:47.495894 | 2021-05-29T07:22:38 | 2021-05-29T07:22:38 | 135,105,359 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 557 | h | // Copyright (c) 2009-2019 The Bitcoin Core developers
// Copyright (c) 2014-2019 The DeimOS Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef DEIMOS_QT_TEST_RPCNESTEDTESTS_H
#define DEIMOS_QT_TEST_RPCNESTE... | [
"admin@deimoscoin.org"
] | admin@deimoscoin.org |
6e98356665a06ee3be7b8719c115be16c98fc45e | 87fe556ebdd1823922372905fd2319c5391f1a0f | /Source/CSUE/CSUEBomb.h | bab45b806b6a4ab83dbdd36f1e222a71489c57cf | [] | no_license | narmour/CSUE | 2805a212a65b3d6addcb945d5abc84b3cde91061 | bbb0374d5d575bc00c634a8e75c4377c5b4e515d | refs/heads/master | 2016-09-14T08:30:17.453002 | 2016-05-16T07:29:03 | 2016-05-16T07:29:03 | 56,551,813 | 0 | 0 | null | 2016-05-16T18:43:25 | 2016-04-19T00:28:08 | C++ | UTF-8 | C++ | false | false | 996 | h | // Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "GameFramework/Actor.h"
#include "CSUEBomb.generated.h"
UCLASS()
class CSUE_API ACSUEBomb : public AActor
{
GENERATED_BODY()
public:
// Sets default values for this actor's properties
ACSUEBomb();
// Called w... | [
"n.armour0@gmail.com"
] | n.armour0@gmail.com |
854720aa9e431eab1890db973e5400a1b32e3445 | ff86d9235f9662a43b3ec7002529e9ea2f1f51b1 | /Practice/spoj/coins.cpp | 5043df314f460b16e44442e8b46b40d29fa10d17 | [] | no_license | virresh/CompetitiveProgrammingCodes | f50cf70bd04dfbadd94a0b67bb97a34c8ada8e68 | 112c7e9ef6ee60a64a38b7bab46faff097b9b5f2 | refs/heads/master | 2020-03-13T15:26:25.014234 | 2018-04-26T16:52:37 | 2018-04-26T16:52:37 | 131,176,770 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 533 | cpp | #include <bits/stdc++.h>
using namespace std;
#define ll long long
#define sz 100000
ll mem[sz];
ll f(ll n)
{
if(n==1){return 1;}
else if(n==0){return 0;}
else if(n<sz && mem[n]!=-1)
{
return mem[n];
}
else
{
ll ans;
ans= max(n, (f(n/2) + f(n/3) + f(n/4)... | [
"viresh16118@iiitd.ac.in"
] | viresh16118@iiitd.ac.in |
3f0203839d1b67aa21e8cce08bcde03dc3f3bde6 | a3d6556180e74af7b555f8d47d3fea55b94bcbda | /chrome/browser/ui/webui/side_panel/customize_chrome/customize_chrome_page_handler.cc | 1382c0d72d33a5d1dff1babc2fe8b3dcd6747aab | [
"BSD-3-Clause"
] | permissive | chromium/chromium | aaa9eda10115b50b0616d2f1aed5ef35d1d779d6 | a401d6cf4f7bf0e2d2e964c512ebb923c3d8832c | refs/heads/main | 2023-08-24T00:35:12.585945 | 2023-08-23T22:01:11 | 2023-08-23T22:01:11 | 120,360,765 | 17,408 | 7,102 | BSD-3-Clause | 2023-09-10T23:44:27 | 2018-02-05T20:55:32 | null | UTF-8 | C++ | false | false | 20,317 | 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/ui/webui/side_panel/customize_chrome/customize_chrome_page_handler.h"
#include "base/containers/contains.h"
#include "base/metrics/histogram_functions... | [
"chromium-scoped@luci-project-accounts.iam.gserviceaccount.com"
] | chromium-scoped@luci-project-accounts.iam.gserviceaccount.com |
737c854008a89282a31627f025af12457fd80a2b | 13c9b902cb7f03034ae89f0bcca8d9e852964793 | /picturepublisher.cpp | 4bff971b97c4e5aa514ad52bd9b298fcd29e6c7d | [] | no_license | xunshuidezhu/lidar | 1110e9d456d5d5b36e9184513d62861cdd86ab1f | cfb8367029cc23528cd51cd301c6ec649fafc5cb | refs/heads/master | 2020-05-30T11:13:53.970736 | 2019-06-01T05:44:13 | 2019-06-01T05:44:13 | 189,695,109 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 799 | cpp | #include <ros/ros.h>
#include <image_transport/image_transport.h>
#include <opencv2/highgui/highgui.hpp>
#include <cv_bridge/cv_bridge.h>
#include <assert.h>
int main(int argc, char** argv)
{
ros::init(argc, argv, "image_publisher");
ros::NodeHandle image_pub_n;
image_transport::ImageTransport it(image_pub... | [
"1816703663@qq.com"
] | 1816703663@qq.com |
6c5b60fdfedf31606a0732364dc6e2077c98daa3 | b7e793cd4f981bdea10cae69fd423bae291d7e0d | /storage.h | 921558bd3ac629c454cdbd4cfaefb39ce71e45df | [] | no_license | aifei7320/boardServer | 9ee8fcd959acbfa6f1ecda9b91c21a6bda911b7f | e55785d3e625997de92bd7b35a6d674395a425b1 | refs/heads/master | 2021-01-20T14:59:11.401582 | 2017-04-08T10:15:00 | 2017-04-08T10:15:00 | 82,788,627 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,273 | h | /*************************************************************************
> File Name: storage.h
> Author: zxf
> Mail: zhengxiaofeng333@163.com
> Created Time: 2017年02月25日 星期六 11时53分05秒
************************************************************************/
#ifndef _STORAGE_H_
#define _STORAGE_H_
... | [
"zhengxiaofeng333@163.com"
] | zhengxiaofeng333@163.com |
d182d40af8861aacf550d51e88f36fe3467ac460 | aee8f8efc9e0653eeb2f5bb084bbe0b55607b7df | /ready/III/Sorter.h | e748ba80bab66971510b13879e95df0d10922ec0 | [] | no_license | iamclock/C-algorithms | 2bcd76186fad1da0b1e9197105dda7fb933362dc | 79dda3c5b93584f26c5247b9beab1b66adf80ee3 | refs/heads/master | 2021-04-06T19:58:58.477389 | 2018-03-15T03:39:00 | 2018-03-15T03:39:00 | 125,250,874 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 847 | h | #ifndef SORTER_H
#define SORTER_H
#include "Array.h"
#include <cstdio>
#include <assert.h>
template <class ArrayType>
void swap(ArrayType *a, ArrayType *b);
template <class ArrayType>
class Sorter{
public:
enum SortType{
shell=0,
quick=1,
bubble=2,
selection=3,
insertion=4,
heap=5
}... | [
"double7@mail.ru"
] | double7@mail.ru |
851886de7967003d147475db61e11fb43d6bc68a | b7893fb307f6aef65b0ae69ffdc3d6d8aa75907d | /cocos/editor-support/cocosbuilder/CCParticleSystemQuadLoader.cpp | 3251c58c1d3ed894d410c0d3c2faabcd637f376a | [
"MIT"
] | permissive | fusijie/cocos2d-x-lite | 794314a4f4005c8fc083ca212389b78929895bc0 | bcb288c02205a0c70d3e05febffe095eb7cf4a82 | refs/heads/master | 2021-01-19T07:54:31.768900 | 2016-05-04T07:44:30 | 2016-05-04T07:44:30 | 58,064,994 | 1 | 0 | null | 2016-05-04T15:56:12 | 2016-05-04T15:56:12 | null | UTF-8 | C++ | false | false | 7,128 | cpp | #include "CCParticleSystemQuadLoader.h"
using namespace cocos2d;
#define PROPERTY_EMITERMODE "emitterMode"
#define PROPERTY_POSVAR "posVar"
#define PROPERTY_EMISSIONRATE "emissionRate"
#define PROPERTY_DURATION "duration"
#define PROPERTY_TOTALPARTICLES "totalParticles"
#define PROPERTY_LIFE "life"
#define PROPERTY_S... | [
"wenhai.lin@chukong-inc.com"
] | wenhai.lin@chukong-inc.com |
fea668bf848c4a4d73ed0ba5812a597b5e3e5783 | 8bff2eb3b352c0286bced00af7eabbfe6216689d | /serwer/repozytorium.cpp | 10a607d3eece73d0a244f36ad020981f772d5412 | [] | no_license | hania1441/Projekt-SK | f094f07de13f0ec80883037c1266b0efed6386e1 | 7f3a158a1ecb69be2d0242061e94ce89432fc8dc | refs/heads/master | 2020-04-09T08:25:01.777430 | 2015-04-14T21:46:01 | 2015-04-14T21:46:01 | 33,951,730 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,741 | cpp | /*
* File: repozytorium.cpp
* Author: mariuszl
*
*/
#include "repozytorium.h"
repozytorium::repozytorium()
{
uzytkownicy = new vector<User*>;
document.push_back(77);
document.push_back(65);
document.push_back(77);
document.push_back(65);
}
repozytorium::~repozytorium()
{
}
void r... | [
"hania1441@gmail.com"
] | hania1441@gmail.com |
2aaff38c5bb04c7f74703a6391dd288849c4e20e | 4d623ea7a585e58e4094c41dc212f60ba0aec5ea | /C_Three_Parts_of_the_Array.cpp | 54ab0a74f417a1a5d12a41d65567252c26cfd3cd | [] | no_license | akshit-04/CPP-Codes | 624aadeeec35bf608ef4e83f1020b7b54d992203 | ede0766d65df0328f7544cadb3f8ff0431147386 | refs/heads/main | 2023-08-30T13:28:14.748412 | 2021-11-19T12:04:43 | 2021-11-19T12:04:43 | 429,779,083 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 449 | cpp | #include<bits/stdc++.h>
#define ll long long
using namespace std;
int main()
{
int n;
cin>>n;
ll a[n],left=0,right=0,ans=0;
for(int i=0;i<n;i++)
cin>>a[i];
//psum[0]=a[0];
int i=0,k=n-1;
bool flag=false;
while(i<=k)
{
if(left>right)
right+=a[k--];
else... | [
"ishu.akshitgarg@gmail.com"
] | ishu.akshitgarg@gmail.com |
8155a917a09f8f18f93630923e21ab53ab3e77ab | 19eb97436a3be9642517ea9c4095fe337fd58a00 | /private/shell/browseui/autocomp.cpp | e84046abf1e6e94cddc331aa1457b1b3b005254c | [] | no_license | oturan-boga/Windows2000 | 7d258fd0f42a225c2be72f2b762d799bd488de58 | 8b449d6659840b6ba19465100d21ca07a0e07236 | refs/heads/main | 2023-04-09T23:13:21.992398 | 2021-04-22T11:46:21 | 2021-04-22T11:46:21 | 360,495,781 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 135,631 | cpp | // Copyright 1996-98 Microsoft
#include "priv.h"
#include "sccls.h"
#include "autocomp.h"
#include "dbgmem.h"
#include "itbar.h"
#include "address.h"
#include "addrlist.h"
#include "resource.h"
#include "mluisupp.h"
#ifdef UNIX
#include "unixstuff.h"
#endif
#include "apithk.h"
extern HRESULT CACLMRU... | [
"mehmetyilmaz3371@gmail.com"
] | mehmetyilmaz3371@gmail.com |
421bbf5b78de8fa6349bad55384fb1c3e847822c | 3d5e097599e1a3996ec66e366902a9af8abb36dc | /application/pagerank.cpp | dfd3b71f5d4bb9325523c9455e8e3a1e68015416 | [] | no_license | Tecelecta/HIP-GSWITCH | 4831fec64d84b20f23c30b943423a61a4be4e241 | c1890201197f5bc57eff260a5936198843a3d6c5 | refs/heads/master | 2020-04-26T23:03:11.652855 | 2019-04-04T14:28:54 | 2019-04-04T14:28:54 | 173,890,847 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,674 | cpp |
#include <hip/hip_runtime.h>
#include <iostream>
#include <algorithm>
#include "gswitch.h"
const float damp = 0.85f;
const float eps = 0.01f;
using G = device_graph_t<CSR, Empty>;
// actors
inspector_t inspector;
selector_t selector;
executor_t executor;
feature_t fets;
config_t conf;
stat_t stats;
struct PR:Func... | [
"lmy@ncic.ac.cn"
] | lmy@ncic.ac.cn |
79009a0dce2350c74cdd34c6a0030d6eaaedad4e | cef685715a413ec34b95004dd966a4263bbb23af | /fenlei_predict/dialog.h | 23c8f277e332daaee95283bb17ac9fdde09107c5 | [] | no_license | gangan1996/wps_fenlei | 11f13a0830efe6c7c1d62495f7629cbc20826dc2 | d3cebab92bf8c638f41a6de2b9174dba64904a90 | refs/heads/master | 2020-03-18T11:00:52.566293 | 2018-05-24T13:00:01 | 2018-05-24T13:00:01 | 134,645,544 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 387 | h | #ifndef DIALOG_H
#define DIALOG_H
#include <QDialog>
#include <vector>
#include <string>
using namespace std;
namespace Ui {
class Dialog;
}
class Dialog : public QDialog
{
Q_OBJECT
public:
explicit Dialog(QWidget *parent = 0);
~Dialog();
public:
void sendData(vector<string>v1,vector<string>v2,ve... | [
"18331129181@163.com"
] | 18331129181@163.com |
072738146856ae3d8dd5c330dde579fdf7d946c5 | bd7d4c148df27f8be6649d313efb24f536b7cf34 | /src/armnnCaffeParser/test/TestMultiInputsOutputs.cpp | ebda3ce1b8cea7a8332508d16f2237e72aed87ed | [
"MIT"
] | permissive | codeaudit/armnn | 701e126a11720760ee8209cc866aa095554696c2 | c577f2c6a3b4ddb6ba87a882723c53a248afbeba | refs/heads/master | 2020-03-29T00:48:17.399665 | 2018-08-31T08:22:23 | 2018-08-31T08:22:23 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,174 | cpp | //
// Copyright © 2017 Arm Ltd. All rights reserved.
// See LICENSE file in the project root for full license information.
//
#include <boost/test/unit_test.hpp>
#include "armnnCaffeParser/ICaffeParser.hpp"
#include "ParserPrototxtFixture.hpp"
BOOST_AUTO_TEST_SUITE(CaffeParser)
struct MultiInputsOutputsFixture : pub... | [
"telmo.soares@arm.com"
] | telmo.soares@arm.com |
7b182722038db0efdf27599810643da825138c65 | 70ecac44b229e4e35050fd93ccc8b8778dc94720 | /Design pattern/Bridge pattern/ConcreteImplementorA.h | c9891b565c4bb5ddedaafcf51a96a1c5e33be4ab | [
"MIT"
] | permissive | t-mochizuki/cpp-study | 5602661ee1ad118b93ee8993e006f84b85a10a8b | 1f6eb99db765fd970f2a44f941610d9a79200953 | refs/heads/main | 2023-07-21T13:55:11.664199 | 2023-07-10T09:35:11 | 2023-07-10T09:35:11 | 92,583,299 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 489 | h | #ifndef CONCRETE_IMPLEMENTOR_A
#define CONCRETE_IMPLEMENTOR_A 1
#include "Implementor.h"
namespace design {
#include <iostream>
#include <string>
using std::cout;
using std::endl;
using std::string;
class ConcreteImplementorA : public Implementor {
private:
public:
ConcreteImplementorA() {}
virtual ~Conc... | [
"t-mochizuki@users.noreply.github.com"
] | t-mochizuki@users.noreply.github.com |
7d2e496d2930b093f96c97268b020fdcfdea63a9 | bd1fea86d862456a2ec9f56d57f8948456d55ee6 | /000/097/790/CWE36_Absolute_Path_Traversal__wchar_t_listen_socket_ifstream_81_goodG2B.cpp | 64328cc3c97584e9b73fce2f2828397993148bce | [] | 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,180 | cpp | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE36_Absolute_Path_Traversal__wchar_t_listen_socket_ifstream_81_goodG2B.cpp
Label Definition File: CWE36_Absolute_Path_Traversal.label.xml
Template File: sources-sink-81_goodG2B.tmpl.cpp
*/
/*
* @description
* CWE: 36 Absolute Path Traversal
* BadSource: listen_socket R... | [
"frank@fischer.com.mt"
] | frank@fischer.com.mt |
f25c7e1c4f1254f16558166bc6a20987401b1cc8 | 67611090dd9203fcac9febdaef32f1ab60d777b6 | /c++/faster-than-wind/ftw-game/src/Engine/pathfinder.cpp | 0cfb1123e4d9514f8b2045d9ebd79cdf9d295720 | [] | no_license | Hopson97/Ancient-Projects | bdcb54a61b5722a479872961057367c96f98a950 | bea4c7e5c1af3ce23994d88a199427ac2ce69139 | refs/heads/master | 2020-06-26T18:39:08.194914 | 2020-03-16T07:55:40 | 2020-03-16T07:55:40 | 199,717,112 | 4 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 3,339 | cpp | #include "pathfinder.h"
#include "constants.h"
//the A* algorithm was a bit much for me to take in, so I decided to do my own take on a "path finder"
//Constructor is not possible due to the nature of the project, so the vectors have to be set up later (aka when they actually have stuff in them)
void PathFind... | [
"mhopson@hotmail.co.uk"
] | mhopson@hotmail.co.uk |
b4f05ced4f0bbed81bc781250827cdf4a7ce5bfd | 217dca16ad70fea9cc5af2e194b82194d64274af | /Bigger/Bigger.h | a1642149b47350950f0296d750eb65949c6c9785 | [] | no_license | hoopizs1452/c-plus-plus-practice | 5363b2438de9cca782316dca78908694da2d5d6e | 60db283ebf212202f43e4b6594cf9fa911d4fe12 | refs/heads/master | 2020-12-03T11:24:44.642119 | 2020-03-20T12:23:57 | 2020-03-20T12:23:57 | 231,297,742 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 125 | h | //#pragma once
#ifndef Bigger_H
#define Bigger_H
class Bigger
{
public:
int num;
Bigger(int);
int getBigger();
};
#endif
| [
"45253893+hoopizs1452@users.noreply.github.com"
] | 45253893+hoopizs1452@users.noreply.github.com |
489c06448fe7464bc295777772f66e07bbaf5e88 | 2f37b0b5ea900093ec3d06f835824270738c0556 | /Leetcode/103_BinaryTreeZigzagLevelOrderTraversal.cc | c611f0c6688f42eee2fe8efa1de4fde57701539a | [] | no_license | yanglin526000/Wu-Algorithm | d0da3fdc92748c21c2a96b096a260a608f04adab | 5259f8c81fc9a14ec35c5422d0edb9ec36304ae8 | refs/heads/master | 2021-09-11T12:41:48.195238 | 2018-04-07T04:48:17 | 2018-04-07T04:48:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,276 | cc | #include<cstdlib>
#include<vector>
#include<queue>
using namespace std;
struct TreeNode {
int val;
TreeNode *left;
TreeNode *right;
TreeNode(int x) : val(x), left(NULL), right(NULL) {}
};
//还是类似于层次遍历,输出每一层,只不过偶数层是逆序输出
class Solution {
public:
vector<vector<int>> zigzagLevelOrder(TreeN... | [
"jt26wzz@icloud.com"
] | jt26wzz@icloud.com |
694782c72dedff93c3b2ea23ed3440970bf5afd0 | c2a4fbda71cbb2f56805221eb2348986fa36fc46 | /Samples/Win7Samples/security/cryptoapi/VerifyKeyTrust/VerifyKeyTrust/VerifyKeyTrust.cpp | b2c250e61f8529c8403ef6bb57870af285c3bedb | [
"MIT"
] | permissive | databuwa/Windows-classic-samples | 1803afb296283dd1fcf9765891df3ddd64e8302d | ebeeaf1e11eede00b2c416df33486885baac6a5b | refs/heads/master | 2022-01-03T06:30:19.637493 | 2021-12-21T03:14:43 | 2021-12-21T03:14:43 | 184,238,236 | 0 | 0 | NOASSERTION | 2021-12-21T03:14:43 | 2019-04-30T10:00:59 | null | UTF-8 | C++ | false | false | 7,134 | cpp | // THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
// ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
// THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
// PARTICULAR PURPOSE.
//
// Copyright (c) Microsoft Corporation. All rights reserved.
/*************************... | [
"microsoft@user.noreply.github.com"
] | microsoft@user.noreply.github.com |
133813b00fbcf4dd024fde390047bd71ebb877e5 | a87832e55c616f8f8e8ef2f7070ee6126a439665 | /Static/Identifiable.cpp | 7042156f81eb3182524c1aec2ae8ba5268c6883f | [] | no_license | Villanelle-V/BCW4 | 99d2693a6ebb6106201731f5e095c54e18623a31 | fe9d1b4c028ec4f4ee81ff329ebc6cc428fa3ccf | refs/heads/main | 2023-06-23T10:20:44.185943 | 2021-07-23T13:19:14 | 2021-07-23T13:19:14 | 388,102,092 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 225 | cpp | #include "Identifiable.h"
Identifiable::Identifiable() {
count += 1;
this->id = count;
}
int Identifiable::getId() const {
return this->id;
}
int Identifiable::getCount() {
return count;
}
int Identifiable::count = 0; | [
"82818489+Villanelle-V@users.noreply.github.com"
] | 82818489+Villanelle-V@users.noreply.github.com |
9aec5d9b95bd0ce6944553778745571724e40831 | 16de124171e4d3612967b760c3499ca14cef1021 | /facePlus/stdafx.h | 92788a69e62521cbeddcd728dcbae38615a8c2a9 | [] | no_license | Tempal/facePlus | 98f4739e9fa11cefbb9eda8af8d3d2966fa99550 | 2862b77778e6cd13a1ff7d4db646678721b78c0f | refs/heads/master | 2020-09-11T22:50:03.615476 | 2019-11-17T08:09:12 | 2019-11-17T08:09:12 | 222,216,389 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,987 | h |
// stdafx.h : 标准系统包含文件的包含文件,
// 或是经常使用但不常更改的
// 特定于项目的包含文件
#pragma once
#ifndef VC_EXTRALEAN
#define VC_EXTRALEAN // 从 Windows 头中排除极少使用的资料
#endif
#include "targetver.h"
#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // 某些 CString 构造函数将是显式的
// 关闭 MFC 对某些常见但经常可放心忽略的警告消息的隐藏
#define _AFX_ALL_WARNINGS
#i... | [
"tempal@163.com"
] | tempal@163.com |
6498bd7f0b4b1545924d1bb68bb03231f0bfc135 | cff7d2396057005906f808977cb9f6a54152e70d | /command_processor.h | eb69eca246e182dc69faa92e23d761164b57ce58 | [
"Apache-2.0"
] | permissive | F11GAR0/SandraVM | 5e1460131f28f0b4dc8c3a51580c9fc06fea78ce | 350a6e73338d002e46a23341046f5587f5fb5c14 | refs/heads/master | 2022-07-17T20:03:06.570237 | 2020-05-18T12:30:41 | 2020-05-18T12:30:41 | 258,647,980 | 8 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,705 | h | #ifndef COMMAND_PROCESSOR_H
#define COMMAND_PROCESSOR_H
#include "main.h"
namespace command_processor {
//typedef section
typedef void(*func)(std::string argvs);
std::vector<std::pair<std::string, func>> cmds;
std::vector<func> just_buff_callbacks;
void register_command(std::string cmd, func cal... | [
"38394923+F11GAR0@users.noreply.github.com"
] | 38394923+F11GAR0@users.noreply.github.com |
c58372eece998ddc0e2ca4236d97819c97691a3d | b64b4a23d1451a5a169deacf04f5de7b827c079c | /Graphics/include/LightBuilder.h | b4a1840bbca1b8d5d8ef841d9adb98c68f61b0ef | [
"MIT"
] | permissive | MarcoLotto/ScaenaFramework | f67a49999a93a7dc6c9dfaed3f192680a49b0b71 | 533e5149a1580080e41bfb37d5648023b6e39f6f | refs/heads/master | 2020-04-12T07:25:08.838449 | 2018-03-26T02:52:23 | 2018-03-26T02:52:23 | 65,083,660 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,290 | h | /**********************************
* SCAENA FRAMEWORK
* Author: Marco Andrés Lotto
* License: MIT - 2016
**********************************/
#pragma once
#include "ObjectLight.h"
class Object;
class LightBuilder{
private:
LightBuilder(){};
static SceneLight* fillSceneLightDataStructure(vec3 pos, vec3 dir, vec3 i... | [
"marcol91@gmail.com"
] | marcol91@gmail.com |
5847867876a0f9a9f34b5f9daee4651d1f5f2b11 | 8f421001634923dbfb032389ecd094d4880e958a | /modules/sfm/src/libmv_light/libmv/simple_pipeline/intersect.h | 3a0ffa7418bfada245a57aaef0dd78e75bae5026 | [
"Apache-2.0"
] | permissive | opencv/opencv_contrib | ccf47a2a97022e20d936eb556aa9bc63bc9bdb90 | 9e134699310c81ea470445b4888fce5c9de6abc7 | refs/heads/4.x | 2023-08-22T05:58:21.266673 | 2023-08-11T16:28:20 | 2023-08-11T16:28:20 | 12,756,992 | 8,611 | 6,099 | Apache-2.0 | 2023-09-14T17:35:22 | 2013-09-11T13:28:04 | C++ | UTF-8 | C++ | false | false | 3,394 | h | // Copyright (c) 2011 libmv authors.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to
// deal in the Software without restriction, including without limitation the
// rights to use, copy, modify, merge, publish... | [
"edgar.riba@gmail.com"
] | edgar.riba@gmail.com |
008e574d3bfefb1cd4ef607be24a2e7e8b0aac30 | 7aa27f0a05d60f9eb60c193af9622bef1c816af6 | /sjasm/errors.h | 7b511a356a8a10b9c340d91f138328c824edce95 | [] | no_license | MSXALL/sjasmplus | 3f2f87b2300ad8cd7fca71b3ae244d6a4a93e76e | 7be51ad74960e613a50ffc42f11fafb6a2cc3ea4 | refs/heads/master | 2021-09-08T05:03:38.984435 | 2017-12-23T21:14:14 | 2017-12-23T21:14:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 868 | h | //
// Error handling
//
#ifndef SJASMPLUS_ERRORS_H
#define SJASMPLUS_ERRORS_H
#include <string>
#include <iostream>
#include <stack>
using namespace std::string_literals;
using std::cout;
using std::cerr;
using std::endl;
using std::flush;
using std::stack;
extern std::string ErrorStr;
extern int PreviousErrorLine... | [
"koloberdin@gmail.com"
] | koloberdin@gmail.com |
f5c10ffca1126c9728082729a38bda2a503a99a7 | 301f6391c9050a9f8bb4dfcd1d04bb6968b2f63c | /validityform.cpp | cad6dd03858ca5874d8c3737d36b0fcad9ac3e16 | [] | no_license | awais987123/Library-Management-system-GUI | d764a9fd895d047a4b87e025e74c8fec745b6a8d | fc5e03d08ed6445c2216efd4ce3a3fea94c79c05 | refs/heads/master | 2023-07-14T12:19:06.938472 | 2021-08-16T07:13:17 | 2021-08-16T07:13:17 | 396,652,679 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 27 | cpp | #include "validityform.h"
| [
"muhammadawais987123@gmail.com"
] | muhammadawais987123@gmail.com |
e90094715f1466fbf7d19eaf796bab6885be9ecd | 206fd5b039197de0d59a1ccb9b50f6c053c3bf5b | /src/caffe/solver.cpp | afad6a2ac71c43beeaeb75d830830d2d0b608450 | [
"LicenseRef-scancode-generic-cla",
"BSD-2-Clause",
"BSD-3-Clause",
"LicenseRef-scancode-public-domain"
] | permissive | LiJianfei06/caffe-master-ljf | 8d99c311c396d4be0c6c96efee1f67e286dc4dce | 02902fda8252306803ce34167cfab40a224c68c2 | refs/heads/master | 2020-03-18T15:55:04.001845 | 2019-04-14T13:58:51 | 2019-04-14T13:58:51 | 134,936,903 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 29,542 | cpp | #include <cstdio>
#include <string>
#include <vector>
#include "boost/algorithm/string.hpp"
#include "caffe/solver.hpp"
#include "caffe/util/format.hpp"
#include "caffe/util/hdf5.hpp"
#include "caffe/util/io.hpp"
#include "caffe/util/upgrade_proto.hpp"
namespace caffe {
/********************************************... | [
"976491174@qq.com"
] | 976491174@qq.com |
23f310daaf003202e15cf9e71d5f984e9e55280f | feef868891ae2c7dc46bec2181d2ce52e4713372 | /src/main_window.cpp | 407517938483190e897a032a6bb6b21584c5b0e8 | [] | no_license | hajunsong/mobile_robot | e978b2420e39ebb34cbd020bdceaafd7e7a9fc55 | 7a7f83355b946ceb46ff2e63cb9556b5f9092e07 | refs/heads/master | 2022-01-08T11:33:01.949392 | 2019-07-02T07:22:44 | 2019-07-02T07:22:44 | 170,284,902 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 27,876 | cpp | /**
* @file /src/main_window.cpp
*
* @brief Implementation for the qt gui.
*
* @date February 2011
**/
/*****************************************************************************
** Includes
*****************************************************************************/
#include <QtGui>
#include <QMessageBox>
... | [
"hajunsong90@gmail.com"
] | hajunsong90@gmail.com |
5d59dc48eda4d3633199c66e99368eae0db62744 | a8bee14fb5461e7c0478ae651296cda01298bebc | /AlienAIDemo/Source/AlienAIDemo/Private/Controller/EnemyController.cpp | e341505d6a32c067dedcc636c209a8fb55d8b46b | [
"MIT"
] | permissive | Rodolfo377/AlienAIDemo | 19ffc1da4ba2ac75336420642172f7b1619921df | 5a2efb29820b2b488ecbd1bd89a06362d834e888 | refs/heads/master | 2022-12-09T10:25:36.053190 | 2020-10-01T16:31:02 | 2020-10-01T16:31:02 | 284,100,410 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 135 | cpp | // Fill out your copyright notice in the Description page of Project Settings.
#include "../../Public/Controller/EnemyController.h"
| [
"rodolfo.fava@protonmail.com"
] | rodolfo.fava@protonmail.com |
a7e1ef78267e56d55104b1f728dfc44ef1f25d07 | d8e7a11322f6d1b514c85b0c713bacca8f743ff5 | /7.6.00.32/V76_00_32/MaxDB_ORG/sys/src/SAPDB/Container/Container_AVLTree.hpp | 770c8fa081922dd67684f77905358f74ef710746 | [] | no_license | zhaonaiy/MaxDB_GPL_Releases | a224f86c0edf76e935d8951d1dd32f5376c04153 | 15821507c20bd1cd251cf4e7c60610ac9cabc06d | refs/heads/master | 2022-11-08T21:14:22.774394 | 2020-07-07T00:52:44 | 2020-07-07T00:52:44 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 33,393 | hpp | /*!**************************************************************************
module : Container_ALVTree.hpp
responsible : Dirk Thomsen
created : 2003-01-24
last changed: 2003-02-13
copyright: Copyright (c) 2003-2005 SAP AG
description : Class declaration and definition for template ALVTree
... | [
"gunter.mueller@gmail.com"
] | gunter.mueller@gmail.com |
2ff2138acb764de1811dbcdd883b395a04a35079 | a782e8b77eb9a32ffb2c3f417125553693eaee86 | /src/developer/debug/shared/regex.cc | 3cc9ccf8fd4cb6047c432999757823221945459c | [
"BSD-3-Clause"
] | permissive | xyuan/fuchsia | 9e5251517e88447d3e4df12cf530d2c3068af290 | db9b631cda844d7f1a1b18cefed832a66f46d56c | refs/heads/master | 2022-06-30T17:53:09.241350 | 2020-05-13T12:28:17 | 2020-05-13T12:28:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,198 | cc | // Copyright 2019 The Fuchsia 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 "src/developer/debug/shared/regex.h"
#include "src/lib/fxl/logging.h"
namespace debug_ipc {
Regex::Regex() = default;
Regex::~Regex() {
if (... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
ba4c952b0890ba6f014b9d50023cc51b4a139c6b | 1f0ee61ba80c7a09b916ab74837878e6dfe18f5f | /nica/hls/axi_data.hpp | 06f134335dab2f512ac8dac7cff58a9346ab8f57 | [
"BSD-2-Clause"
] | permissive | lastweek/nica | 0c955ea049532e944cc1ef3b7f1c2f331ba9a354 | c3067cf487b7615318a5e057363f42c4888bcebe | refs/heads/master | 2020-08-04T01:26:25.811021 | 2019-08-20T11:04:13 | 2019-08-20T11:11:05 | 211,953,166 | 1 | 0 | null | 2019-09-30T20:43:07 | 2019-09-30T20:43:07 | null | UTF-8 | C++ | false | false | 1,555 | hpp | //
// Copyright (c) 2016-2019 Haggai Eran, Gabi Malka, Lior Zeno, Maroun Tork
// 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 copy... | [
"haggai.eran@gmail.com"
] | haggai.eran@gmail.com |
34410163a74ad96902f02d05bf13178397b7b5fc | 7456a002dc9806f7b3bc61423db34262124a616b | /Sort.h | 282470460dd25c8f9978777facbc515c526169db | [] | no_license | veamirr/sem3_lab1 | 5cf36b3c2f8b9916873e92e1b24e6bdb58742f91 | 3badd4818a1df3fd557880ad5ae2256e2ec72663 | refs/heads/main | 2023-02-10T08:09:36.419331 | 2020-12-26T09:22:27 | 2020-12-26T09:22:27 | 324,519,787 | 0 | 0 | null | null | null | null | WINDOWS-1251 | C++ | false | false | 2,341 | h | #pragma once
#include <iostream>
#include "Sequence.h"
#include "ArraySequence.h"
template <class T>
class Sort
{
public:
void shakeSort(Sequence<T>* seq, bool (*cmp)(T, T));
void insertSort(Sequence<T>* seq, bool (*cmp)(T, T));
void SelectionSort(Sequence<T>* seq, bool (*cmp)(T, T));
};
tem... | [
"noreply@github.com"
] | noreply@github.com |
d8c9eccfdd543d89fa7d3d88858901938055c750 | 2c5b430f058c50d6f782b93f4d9f8a41216ddf9b | /Motor2D/Emmiter.cpp | fd04b9054cbd49a3ac5794510479b91931dfa372 | [
"MIT"
] | permissive | Dawn-of-gods/Final-Fantasy-Dawn-of-Gods | 3cea7ff58a173f0ff5678287120b209aa42fa7f8 | b5dcdd0aa548900b3b2279cd4c6d4220f5869c08 | refs/heads/master | 2022-02-21T22:57:56.423810 | 2019-07-11T12:04:46 | 2019-07-11T12:04:46 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,523 | cpp | #include "Emmiter.h"
#include "j1EntityFactory.h"
#include "j1Render.h"
Emmiter::Emmiter(fPoint pos, const j1Entity * owner)
:Projectile(pos, { 0.F,0.F }, 0u, owner, "EmmiterArrows", PROJECTILE_TYPE::EMMITER)
{
SetPivot(150, 112);
size.create(300, 225);
position -= pivot;
engine.seed(rd());
lifeTimer.Start();... | [
"36155703+GerardClotet@users.noreply.github.com"
] | 36155703+GerardClotet@users.noreply.github.com |
b89acf71e7dce6bbfa693a4a9d748a18e89f4004 | c66a861bca14245583e32875c6cc91dee10b4987 | /Berkeley_socket/Berkeley_socket.cpp | 07a36785c64a5f9ae43d9d0b87864bc7a962080d | [] | no_license | gustavohfc/Messenger | 39005e3915504d77b7ed768d271af4e2fc6d69e6 | 29977a17f8dd109edd6fbc03f7d2ded7f460dc9a | refs/heads/master | 2017-12-29T17:51:56.827523 | 2016-10-30T02:38:52 | 2016-10-30T02:38:52 | 72,234,521 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 234 | cpp | #include "Berkeley_socket.h"
using namespace std;
berkeley_socket::berkeley_socket(socket_engine_communication* engine_communication)
{
this->engine_communication = engine_communication;
}
berkeley_socket::~berkeley_socket()
{
} | [
"gustavohfcarvalho@gmail.com"
] | gustavohfcarvalho@gmail.com |
303544b4d697297e82acd2040c2f3b0103052b99 | dc6013d9d3f486be1a2a9c4dfe7254848232423f | /src/content_source.cc | cee766ab4a2eab4bc17a6c3051d9bf837f50da47 | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | kwiberg/frz | d2a5fcfc13b3abc87b4e57124070892a5d73ffdc | 8661247c70e89a671b2b412c8c4f4c3f329ef98d | refs/heads/main | 2023-05-30T19:58:01.528635 | 2021-07-07T09:36:17 | 2021-07-07T09:36:17 | 341,926,362 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,286 | cc | /*
Copyright 2021 Karl Wiberg
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 writing, ... | [
"k@w5.se"
] | k@w5.se |
af791c89388c8b0396f3885324514f6bf11a26b4 | 249b8ac66022cef45f1e5fd8d594b76ee0cb3ad4 | /Working/finalShockTube/0.075/particle/fD | c156f66db1468e2cfe57f35efbfcea4484f66c48 | [] | no_license | Anthony-Gay/HPC_workspace | 2a3da1d599a562f2820269cc36a997a2b16fcbb8 | 41ef65d7ed3977418f360a52c2d8ae681e1b3971 | refs/heads/master | 2021-07-13T17:36:50.352775 | 2021-02-08T05:59:49 | 2021-02-08T05:59:49 | 232,433,074 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 964 | /*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: 7
\\/ M anipulation |
\*-------... | [
"anthonygay1812@yahoo.com"
] | anthonygay1812@yahoo.com | |
a1fa9c272fb78ae4cd308bcad273c024ee6b6e05 | 4fd512ca271222db6a230d1b8a42db9f21e53e0a | /CodeGenerator/Game/CodeCondition.cpp | 2104227a697fb52226083eeddae0b17ccf397063 | [] | no_license | li5414/GameEditor | 2ca2305c2e56842af8389ca2e1923719cf272f7d | c8d2f463c334560f698016ddd985689278615f97 | refs/heads/master | 2022-07-05T09:29:36.389703 | 2022-05-26T15:21:39 | 2022-05-26T15:21:39 | 230,262,151 | 1 | 0 | null | 2019-12-26T12:40:52 | 2019-12-26T12:40:51 | null | GB18030 | C++ | false | false | 10,540 | cpp | #include "CodeCondition.h"
void CodeCondition::generate()
{
string cppHeaderPath = cppGamePath + "ConditionManager/";
string cppConditionFilePath = cppHeaderPath + "Condition/";
string cppConditionEnumPath = cppGamePath + "Common/";
string csRegisterPath = csHotfixGamePath + "ConditionManager/";
string csConditio... | [
"785130190@qq.com"
] | 785130190@qq.com |
46c4fd7e878fc97a1efa5bb98de07543a46058dd | e6642884e2baceb47ee8a4e4b338d622e21680fe | /程序设计与算法/《计算导论与C语言基础》/week6/大象喝水.cpp | 057803ba11d8d33240443bd12df94bf9ef480d5c | [] | no_license | mulongfu/Coursera | 9eb8a8724110ace588b7814e05b7fe5b0adecbbd | 9ada6c94b0e788514fe722db4223338033bbd8e8 | refs/heads/master | 2021-10-19T06:16:08.149075 | 2019-02-18T13:44:22 | 2019-02-18T13:44:22 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 268 | cpp | #include <iostream>
#define PI 3.14159
using namespace std;
int main() {
int h, r, count = 0;
double bucket, need = 20000;
cin >> h >> r;
bucket = PI * r * r * h;
while (need - bucket > 0) {
need -= bucket;
count++;
}
count++;
cout << count;
return 0;
} | [
"k134563@gmail.com"
] | k134563@gmail.com |
dbac83032267879838d0bdfb3c906ee39e561783 | 70d681bcdc41f6838d0f1d8defa3571528cf56eb | /18.Delete Duplicated Node in List.cpp | 279b0e2d46df641cf2fd9ed7d1b657d4bbeb4746 | [] | no_license | VoidShooter/CodingInterview | 21abfdfd1062a371c926181c3798b2e2e4fa7aff | 7d40cdbbe02ac08198d02f79522315ef3a1fa701 | refs/heads/master | 2020-04-24T15:55:22.692433 | 2020-01-12T14:30:50 | 2020-01-12T14:30:50 | 172,087,890 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,116 | cpp | #include <iostream>
using namespace std;
struct ListNode {
int val;
struct ListNode *next;
explicit ListNode(int x) :
val(x), next(NULL) {
}
};
class Solution {
public:
ListNode* deleteDuplication(ListNode* pHead)
{
if(pHead==nullptr) return nullptr;
if(pHead->next== ... | [
"noreply@github.com"
] | noreply@github.com |
3a4bbf1649120dd6fe3a284e5956050492d6494d | 2752a042a4839d93976aae46d8a37bf550323083 | /NeoEfx_BasicAlt201.ino | 6d4f5a487ae73970f1b63a3cbc8bb96f8ad85e5d | [] | no_license | dkonha01/NeoPixelAlexaDemo | e74e82d243d633bffb9deff1ad2012b33b6e4b03 | da9afbb2b0fcebec322deea9ed10448a88dba3e9 | refs/heads/master | 2020-04-13T13:50:34.086469 | 2018-12-27T03:40:35 | 2018-12-27T03:40:35 | 163,243,718 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,391 | ino | #include <NeoEffects.h>
#include <NeoStrip.h>
#include <NeoWindow.h>
#include <Adafruit_NeoPixel.h>
#define SMALL_NEORING_SIZE 16
#define STRIP_PIN 6
const int RING_1_START = 0;
const int RING_2_START = 0;
const int RING_3_START = 0;
const int RING_4_START = 0;
const int RING_5_START = 0;
const int RING_6_START = 0;... | [
"dkonhauser@gmail.com"
] | dkonhauser@gmail.com |
36979916c5b003085575c84687696df27ecdee1d | d7c94f4a713aaf0fbb3dbb9b56c9f6945e0479c1 | /URI Online Judge/uri1379.cpp | e45f471d920f10faefb154cf6d3d5558241bc507 | [] | no_license | fonte-nele/Competitive-Programming | 2dabb4aab6ce2e6dc552885464fefdd485f9218c | faf0c6077ae0115f121968f7b70f4d68f9ce922b | refs/heads/master | 2021-06-28T09:24:07.708562 | 2020-12-27T14:45:15 | 2020-12-27T14:45:15 | 193,268,717 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 313 | cpp | #include <bits/stdc++.h>
int min (int x, int y) {
return x < y ? x : y;
}
int max (int x, int y) {
return x > y ? x : y;
}
int main () {
int x, y;
while (1) {
scanf("%d%d", &x, &y);
if (x == 0 and y == 0) break;
printf("%d\n", 2*min(x,y)-max(x,y));
}
return 0;
} | [
"felipephontinelly@hotmail.com"
] | felipephontinelly@hotmail.com |
e1d0d33681a28d6d6f092429a1e31915a6b473fe | 7a3acc9c0e43cceef6294c6e898a515b13c0903e | /include/operon/interpreter/dispatch_table.hpp | 681f1b92c52dbae1d9534c2d4d5184734bbaf8b5 | [
"MIT"
] | permissive | chensh236/operon | 55b58d7dcf89d599de61189c43a044caa6cfcee9 | 24c3714c4356cc8c4f6341d26dea5fab7769c347 | refs/heads/master | 2023-07-28T10:27:59.073206 | 2021-09-14T16:52:48 | 2021-09-14T16:52:48 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,838 | hpp | // SPDX-License-Identifier: MIT
// SPDX-FileCopyrightText: Copyright 2019-2021 Heal Research
#ifndef OPERON_EVAL_DETAIL
#define OPERON_EVAL_DETAIL
#include "core/node.hpp"
#include "core/types.hpp"
#include "interpreter/functions.hpp"
#include "robin_hood.h"
#include <Eigen/Dense>
#include <fmt/core.h>
#include <tu... | [
"bogdan.burlacu@pm.me"
] | bogdan.burlacu@pm.me |
35ba7817229f9a235d0fefef66b0437167b938e7 | 675861e17bd0a61639bc72641ed802c2253ef857 | /src/DetectionEngine/big_data_ac_test/levelAc.cpp | 0ef0c1fe86ae489ec838cf9561ae92684cc4c5a3 | [] | no_license | cjqhenry14/Real-Time-Network-Data-Analysis-System | dd9d80042034c1ba09ae4efd13a6f2c245b7dc71 | 9fe61b63f7c630c43159bb320f230ab57186c754 | refs/heads/master | 2020-05-18T02:02:17.979482 | 2015-04-15T00:23:00 | 2015-04-15T00:23:00 | 30,944,369 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 21,983 | cpp | /***
level arr->avl
g++ -o levelAc.o levelAc.cpp
***/
#include <stdio.h>
#include <malloc.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
#include <unistd.h>
/*#define keyFile "bigkey.txt"
#define stringFile "string.txt"
#define LineMax 6
#define queMax 30//½ÚµãÊý
#define ... | [
"cjqhenry@gmail.com"
] | cjqhenry@gmail.com |
8e4ff4aea2d2aa8e5cb9055b209e6b2d6a4a8d71 | 975d45994f670a7f284b0dc88d3a0ebe44458a82 | /servidor/Testes/Comunicação/Comunicação/Comunicação/includes/dreamServer.cpp | 6d7e1b3d50a4cee930a0a64c66a009c2632411e6 | [] | no_license | phabh/warbugs | 2b616be17a54fbf46c78b576f17e702f6ddda1e6 | bf1def2f8b7d4267fb7af42df104e9cdbe0378f8 | refs/heads/master | 2020-12-25T08:51:02.308060 | 2010-11-15T00:37:38 | 2010-11-15T00:37:38 | 60,636,297 | 0 | 0 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 10,340 | cpp | /******************************************************************************************
Funções da classe dreamServer
*******************************************************************************************/
#include "dreamServer.h"
#include "dreamSock.h"
#include "dreamClient.h"
#include "dreamMessag... | [
"phabh@users.noreply.github.com"
] | phabh@users.noreply.github.com |
ad76b112ece589483fdb7d39da30d3ca61d0c4af | dff4d070ec9aefd3801a65e585c3f4bc4ee599aa | /resources/3d-program/cubeTransformations.cpp | 460e22860e1a487e42e3c449a052c867a0eb9641 | [
"Apache-2.0"
] | permissive | jaykay12/Large-Volume-Data-Visualization | e171d0521b9cf6896f8ec54e73ee04bfe127c343 | a434197ce1e1b24b24f350304268da2c443ea701 | refs/heads/master | 2022-07-07T10:00:33.691700 | 2020-05-16T06:05:57 | 2020-05-16T06:05:57 | 101,227,722 | 6 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 6,102 | cpp | #include <GL/gl.h>
#include <GL/glut.h>
#include <GL/glu.h>
GLfloat xRotated=0.0, yRotated=0.0, zRotated=0.0;
GLfloat xTranslate=0.0, yTranslate=0.0, zTranslate=0.0;
GLfloat xScale=1.0, yScale=1.0, zScale=1.0;
int iShape = 1;
void init(void)
{
glClearColor(0,0,0,0);
}
void DrawCube(void)
{
glMatrixMode(G... | [
"jalazkumar1208@gmail.com"
] | jalazkumar1208@gmail.com |
78d92ee4585b4b11184b8fe325dddb023e1a8b93 | 09e5cfe06e437989a2ccf2aeecb9c73eb998a36c | /modules/clipper/clipper/minimol/container_minimol.cpp | 875b66f7de71822d305d976614ddaf1635253748 | [
"LGPL-2.1-only",
"BSD-3-Clause"
] | permissive | jorgediazjr/dials-dev20191018 | b81b19653624cee39207b7cefb8dfcb2e99b79eb | 77d66c719b5746f37af51ad593e2941ed6fbba17 | refs/heads/master | 2020-08-21T02:48:54.719532 | 2020-01-25T01:41:37 | 2020-01-25T01:41:37 | 216,089,955 | 0 | 1 | BSD-3-Clause | 2020-01-25T01:41:39 | 2019-10-18T19:03:17 | Python | UTF-8 | C++ | false | false | 3,983 | cpp | /* container_minimol.cpp: atomic model types */
//C Copyright (C) 2000-2004 Kevin Cowtan and University of York
//C Copyright (C) 2000-2005 Kevin Cowtan and University of York
//L
//L This library is free software and is distributed under the terms
//L and conditions of version 2.1 of the GNU Lesser General Public
//... | [
"jorge7soccer@gmail.com"
] | jorge7soccer@gmail.com |
eb5f8f12880705631d00f46cbcd1553c8135d8eb | d932716790743d0e2ae7db7218fa6d24f9bc85dc | /components/security_interstitials/content/security_interstitial_controller_client.cc | 87d0789a3912da7f940726d322303a7f59526e8d | [
"BSD-3-Clause"
] | permissive | vade/chromium | c43f0c92fdede38e8a9b858abd4fd7c2bb679d9c | 35c8a0b1c1a76210ae000a946a17d8979b7d81eb | refs/heads/Syphon | 2023-02-28T00:10:11.977720 | 2017-05-24T16:38:21 | 2017-05-24T16:38:21 | 80,049,719 | 19 | 3 | null | 2017-05-24T19:05:34 | 2017-01-25T19:31:53 | null | UTF-8 | C++ | false | false | 3,371 | 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 "components/security_interstitials/content/security_interstitial_controller_client.h"
#include <utility>
#include "components/prefs/pref_servic... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
1e4e0a5657b9727cf94fecab47260393d4e7b57a | 149e184a66dca507ed8730f7b0e34a08567f820e | /cantestmmainwindow.h | b268d405f66c192eed718981f0c8c530b03b5087 | [] | no_license | pjzuuuuu/CANTest | 1d06e1da3b6283e6b5486566b61f420ca3cac63f | d2e01e0f79beab84a37cefa02359e512f004eda1 | refs/heads/master | 2020-09-08T19:54:15.930973 | 2019-11-12T14:10:54 | 2019-11-12T14:10:54 | 221,230,353 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 477 | h | #ifndef CANTESTMMAINWINDOW_H
#define CANTESTMMAINWINDOW_H
#include <QMainWindow>
#include "can_tcpdlg.h"
namespace Ui {
class CANTestmMainWindow;
}
class CANTestmMainWindow : public QMainWindow
{
Q_OBJECT
public:
explicit CANTestmMainWindow(QWidget *parent = 0);
~CANTestmMainWindow();
protected:
priv... | [
"pangjingze1997@gmail.com"
] | pangjingze1997@gmail.com |
2346e95507d17119fc82d9ef3884523ba57255c2 | 4ecbb1fd6ca57cd920b546f8a3a9a4c6691ac17c | /PrzekierowaniaRuchu/ArcFlagsCreator.h | f6fbc056648eaf495c6341053372299040da2a75 | [] | no_license | adrianwawryczuk/PrzekierowaniaRuchu | 5ab2596d6c83d43fd82a1f671e356b5527df064e | 6c6ad69a91f775ba2f1fb1c569bdf6a28322397a | refs/heads/master | 2021-09-15T13:39:38.958219 | 2017-01-18T22:08:11 | 2017-01-18T22:08:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 150 | h | #pragma once
#include "Dijkstra.h"
#include "MySqlConnection.h"
#include <boost/thread.hpp>
class ArcFlagsCreator
{
public:
ArcFlagsCreator();
};
| [
"adrianek3276@gmail.com"
] | adrianek3276@gmail.com |
8ff98b4bb29f178f3690871e4cd54035d1d3c2d1 | 67bf93cfae8f8153e65601fd3bc5442349ee665c | /Chapter4/pe4-1.cpp | 56845f493cbc4f2bfb05df6ec71abcb78d179e03 | [] | no_license | Ali-Fawzi-Lateef/C-PrimerPlus | ce86c880dc3a2b6b4eda6a277463563136c1cc00 | f53bca85c36dffb768aa18a15d0446dd766fe309 | refs/heads/master | 2023-08-02T02:38:05.418154 | 2021-09-23T18:06:47 | 2021-09-23T18:06:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 906 | cpp | // pe4-1.cpp -- this program requests and displays information
// This is exercise 1 of chapter 4 in C++ Primer Plus by Stephen Prata
#include<iostream>
int main(void)
{
using namespace std;
cout << "What is your first name? ";
char first_name[20];
cin.getline(first_name, 20); // we can see that cin does not lea... | [
"nruderman.s@gmail.com"
] | nruderman.s@gmail.com |
98ef0fa5b101d04e87c056ccc6712ed01a13361a | ce71ba08e9094a4d76c8cc1e0cc7891ae016ff60 | /Lib/Chip/CM0+/Freescale/MKM34ZA5/PORTC.hpp | 599428947203f5a5f71542f8e70d794de47ad8f8 | [
"Apache-2.0"
] | permissive | operativeF/Kvasir | 9bfe25e1844d41ffefe527f16117c618af50cde9 | dfbcbdc9993d326ef8cc73d99129e78459c561fd | refs/heads/master | 2020-04-06T13:12:59.381009 | 2019-01-25T18:43:17 | 2019-01-25T18:43:17 | 157,489,295 | 0 | 0 | Apache-2.0 | 2018-11-14T04:12:05 | 2018-11-14T04:12:04 | null | UTF-8 | C++ | false | false | 55,097 | hpp | #pragma once
#include <Register/Utility.hpp>
namespace Kvasir {
//Pin Control and Interrupts
namespace PortcGpclr{ ///<Global Pin Control Low Register
using Addr = Register::Address<0x40048080,0x00000000,0x00000000,unsigned>;
///Global Pin Write Data
constexpr Register::FieldLocation<Add... | [
"holmes.odin@gmail.com"
] | holmes.odin@gmail.com |
4a15aef41a1aad55094cc0b530cfaf5fde861e11 | c9652f71a8f295607e84c67332ca5717571efa3a | /cc/random_lines/main.cc | 9ef3777e970fa5c7783cc44316c6b102a19cc9ac | [] | no_license | valhakis/master | f34d46a7de39bf1627ea1dd15556efda4f756201 | 2ae80f86fef749abcac85782c542a6cd8f2e7d77 | refs/heads/master | 2021-01-20T13:37:31.348837 | 2017-11-18T12:43:01 | 2017-11-18T12:43:01 | 90,505,495 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,489 | cc | #include <GLFW/glfw3.h>
#include <time.h>
#include <stdio.h>
#include <math.h>
// make 100 random lines
// make one line
// random number between -1 and 1
static void keyboard(GLFWwindow* window, int key, int scancode, int action, int mods) {
if (key == GLFW_KEY_ESCAPE && action == GLFW_PRESS) {
glfwSetWindowS... | [
"william.valhakis@gmail.com"
] | william.valhakis@gmail.com |
59aa6ed84ab0f484c390b1df1bb134793cc853f3 | 5e8d200078e64b97e3bbd1e61f83cb5bae99ab6e | /main/source/src/protocols/task_operations/RestrictIdentitiesOperation.hh | e05131f736e1c51df2dae8d96dc8ca9838aed011 | [] | no_license | MedicaicloudLink/Rosetta | 3ee2d79d48b31bd8ca898036ad32fe910c9a7a28 | 01affdf77abb773ed375b83cdbbf58439edd8719 | refs/heads/master | 2020-12-07T17:52:01.350906 | 2020-01-10T08:24:09 | 2020-01-10T08:24:09 | 232,757,729 | 2 | 6 | null | null | null | null | UTF-8 | C++ | false | false | 2,700 | hh | // -*- mode:c++;tab-width:2;indent-tabs-mode:t;show-trailing-whitespace:t;rm-trailing-spaces:t -*-
// vi: set ts=2 noet:
//
// (c) Copyright Rosetta Commons Member Institutions.
// (c) This file is part of the Rosetta software suite and is made available under license.
// (c) The Rosetta software is developed by the co... | [
"36790013+MedicaicloudLink@users.noreply.github.com"
] | 36790013+MedicaicloudLink@users.noreply.github.com |
7221fe798fef358a36b37f8b1f1591ad75e439bc | 78918391a7809832dc486f68b90455c72e95cdda | /boost_lib/boost/hof/decorate.hpp | dc182367cc6741f54a2ff9758670538c5e40005b | [
"MIT"
] | permissive | kyx0r/FA_Patcher | 50681e3e8bb04745bba44a71b5fd04e1004c3845 | 3f539686955249004b4483001a9e49e63c4856ff | refs/heads/master | 2022-03-28T10:03:28.419352 | 2020-01-02T09:16:30 | 2020-01-02T09:16:30 | 141,066,396 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,010 | hpp | /*=============================================================================
Copyright (c) 2015 Paul Fultz II
decorate.h
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
=================================... | [
"k.melekhin@gmail.com"
] | k.melekhin@gmail.com |
d32d479b2b22a4272ea758937f28cfb2c3399956 | 78060487b80999f4445bf8ba33c55435b9c57e13 | /include/LogManager.h | 182cf8f54750afda9f5604a5d2201497af70a754 | [] | no_license | Inphinitii/TyrEngine | bae171835bb7712ea35321eed76ca529a3ab2dd5 | 122ee08554ae311017522e88dafe1d4baf27e92b | refs/heads/master | 2016-08-12T21:10:35.825638 | 2015-10-30T22:15:35 | 2015-10-30T22:15:35 | 45,278,497 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 707 | h | #ifndef LOGMANAGER_H
#define LOGMANAGER_H
#include <stdio.h>
#include <string>
#pragma clang diagnostic ignored "-Wc++98-compat"
//TODO INCLUDE TIMESTAMPS
class Log
{
public:
enum PRIORITY { URGENT, WARNING, SUCCESS, INFO};
const char* PriorityString[4] = {"URGENT", "WARNING", "SUCCESS", "INFO"};
... | [
"tremazki@hotmail.com"
] | tremazki@hotmail.com |
398e07c85341abb0c4d5c3fc8ad24ef5ecc2f802 | 30a77bd87fcaef83692fa7f40f737c73072cdcbf | /includes/input/reader.h | e15567062bce572454d0f9edf15548dc3e6e9953 | [] | no_license | lgarciaag89/tomocomd_mpi | 930ef179966b207d506b34cfe0fbd5dc92bb06f9 | 03f207ad6f4c9eb99bb0f1a77187a59b02b0454d | refs/heads/master | 2020-04-11T01:15:08.272154 | 2018-12-17T22:02:25 | 2018-12-17T22:02:25 | 161,408,138 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 853 | h | //
// Created by potter on 2/12/18.
//
#ifndef TOMOCOMD_MPI_READER_H
#define TOMOCOMD_MPI_READER_H
#endif //TOMOCOMD_MPI_READER_H
#include <iostream>
#include <string>
#include <vector>
#include <fstream>
#include <cstdio>
#include <cstring>
#include <stdexcept>
#include <algorithm>
#include <boost/filesystem.hpp>
... | [
"lgarciaag89@gmail.com"
] | lgarciaag89@gmail.com |
99bb2301885ac681c5efeb100c5dd0529be687d4 | 4be99d76023f6f07f8b4387fd52d673e366c281d | /hiho/1494.cpp | 72c993d444f53f9e757d0a48ce4273dce6ba4ccc | [] | no_license | allisterke/cpp-training-lab | 8298f5a9af9b0f496f124fe8e2feb55ca9603e2f | b83142b3efcc8cf57b0282dc2a1d89dd8ee9b156 | refs/heads/master | 2021-01-21T16:00:17.138044 | 2017-11-09T07:23:13 | 2017-11-09T07:23:13 | 91,868,138 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 953 | cpp | #include <bits/stdc++.h>
using namespace std;
class Solution {
private:
unordered_map<int, int> edges;
int levels;
public:
void clear() {
levels = 0;
edges.clear();
}
void addBricks(vector<int> &bricks) {
++ levels;
int offset = 0;
for(int i = 0; i+1 < brick... | [
"allisterke@gmail.com"
] | allisterke@gmail.com |
e9ccdb88d7b8fd98c05bbbbb957a8746a64058fb | b3ff614159b3e0abedc7b6e9792b86145639994b | /general-techniques/binary-search/binary-search-on-solution/dinner_party.cpp | 0c3f09cdc977e3a06bd6083a045a0d0ff98b265d | [] | no_license | s-nandi/contest-problems | 828b66e1ce4c9319033fdc78140dd2c240f40cd4 | d4caa7f19bf51794e4458f5a61c50f23594d50a7 | refs/heads/master | 2023-05-01T06:17:01.181487 | 2023-04-26T00:42:52 | 2023-04-26T00:42:52 | 113,280,133 | 0 | 0 | null | 2018-02-09T18:44:26 | 2017-12-06T06:51:11 | C++ | UTF-8 | C++ | false | false | 1,742 | cpp | // binary search on answer (not obvious), recover array given circular prefix sums
// https://dmoj.ca/problem/dmopc19c7p2
#include <bits/stdc++.h>
using namespace std;
using ll = long long;
using ld = long double;
using vi = vector<int>;
#define rep(i, a, b) for(auto i = (a); i < (b); ++i)
#define trav(a, x) for(aut... | [
"noreply@github.com"
] | noreply@github.com |
6cddaea4be3522ccf41ca2abcdc36d7e81b81798 | 731e75bf82242f74b6aaf0fff440628d817ab9bd | /hw6-1/simple_account.h | 5730dfa23fe1585135c28fca9c3baa3fa771b2d0 | [] | no_license | ydk1104/ITE1015 | 547b7fa42ca237ba41456b2ed28df358e7bf0911 | fedeae736cfd5ca60d2dff5f7262840e7099d35a | refs/heads/master | 2022-04-02T15:40:17.554502 | 2019-12-05T04:45:37 | 2019-12-28T17:50:29 | 230,643,290 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 353 | h | class account{
public:
int id, balance;
};
class accountManager{
private:
int N = 0;
account arr[10];
long long int MAX = 1000000;
public:
void menu(char);
void create_new_account();
void deposit(int id, int money);
void withdraw(int id, int money);
void transfer(int id_from, int id_to, int money)... | [
"ydk1104@hanyang.ac.kr"
] | ydk1104@hanyang.ac.kr |
1ae4da47fd4f74575aa85b8145bd62b3f71c72bf | 52d90eb640e2d7d5a9ac7f43c49eed952284613b | /Dynamic Programming/Frog 1 Atcoder.cpp | 8ad8776f41869576414935a6d2c08567b3f09cf9 | [
"MIT"
] | permissive | rohittuli5/Competitive-and-Interview-Practice-Questions | 11381d0f1ab24bfff91c35569de8a9e9d2434926 | 54349c7336eb7384c333b4e415b2cd762d57c0f5 | refs/heads/master | 2020-12-19T23:54:21.411865 | 2020-01-23T21:48:53 | 2020-01-23T21:48:53 | 235,890,444 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 488 | cpp | #include<bits/stdc++.h>
#define ll long long int
using namespace std;
int main(){
ll n;
cin>>n;
ll arr[n]={0},dp[n]={0};
for (int i = 0; i < n; i++) {
cin>>arr[i];
}
dp[0]=0;
dp[1]=abs(arr[1]-arr[0]);
for(int i=2;i<n;i++)
{
ll first=abs(arr[i-1]-ar... | [
"noreply@github.com"
] | noreply@github.com |
3d79d27ea5f862d5456d1ef40f9bd31ae617c517 | 7dbc7f1ed2e181232b32beda07596a9e809220d7 | /lib/grammar/Field.cpp | 4baa3e011989f5e4330124fe463f60d55774b00c | [] | no_license | rajatkb/Sharp | 63d96b563b55cf68d0e1e6b2ddf888a8df946bf6 | 44a1239457e077379ab164abbc02b130cdcec80e | refs/heads/master | 2020-03-12T19:57:28.876420 | 2017-03-31T02:03:28 | 2017-03-31T02:03:28 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 259 | cpp | //
// Created by BraxtonN on 2/2/2017.
//
#include "Field.h"
#include "ClassObject.h"
bool Field::operator==(const Field& f)
{
if(nf == fnof)
return klass != NULL && klass->match(f.klass);
else
return (nf == f.nf) && name == f.name;
} | [
"braxtonnunnally@gmail.com"
] | braxtonnunnally@gmail.com |
d1459e14ebd9e39f85787e70775cae0d969e413f | b257bd5ea374c8fb296dbc14590db56cb7e741d8 | /Extras/DevExpress VCL/Library/RS17/cxFilterDialog.hpp | 4b343d90271110fdf1a03fed77e3a840b0e14aeb | [] | no_license | kitesoft/Roomer-PMS-1 | 3d362069e3093f2a49570fc1677fe5682de3eabd | c2f4ac76b4974e4a174a08bebdb02536a00791fd | refs/heads/master | 2021-09-14T07:13:32.387737 | 2018-05-04T12:56:58 | 2018-05-04T12:56:58 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,144 | hpp | // CodeGear C++Builder
// Copyright (c) 1995, 2012 by Embarcadero Technologies, Inc.
// All rights reserved
// (DO NOT EDIT: machine generated header) 'cxFilterDialog.pas' rev: 24.00 (Win32)
#ifndef CxfilterdialogHPP
#define CxfilterdialogHPP
#pragma delphiheader begin
#pragma option push
#pragma option -w- // ... | [
"bas@roomerpms.com"
] | bas@roomerpms.com |
0e41211ac097970afad5e5827fa344f55615c976 | 2cf838b54b556987cfc49f42935f8aa7563ea1f4 | /aws-cpp-sdk-appintegrations/include/aws/appintegrations/model/UpdateEventIntegrationResult.h | 1912c865ecdb2a803b75f9e34b3b6845b5df038a | [
"MIT",
"Apache-2.0",
"JSON"
] | permissive | QPC-database/aws-sdk-cpp | d11e9f0ff6958c64e793c87a49f1e034813dac32 | 9f83105f7e07fe04380232981ab073c247d6fc85 | refs/heads/main | 2023-06-14T17:41:04.817304 | 2021-07-09T20:28:20 | 2021-07-09T20:28:20 | 384,714,703 | 1 | 0 | Apache-2.0 | 2021-07-10T14:16:41 | 2021-07-10T14:16:41 | null | UTF-8 | C++ | false | false | 852 | h | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/appintegrations/AppIntegrationsService_EXPORTS.h>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class J... | [
"aws-sdk-cpp-automation@github.com"
] | aws-sdk-cpp-automation@github.com |
874bba617e04bf22228bbb25b640d0b8a719340b | d3bf068ac90138457dd23649736f95a8793c33ae | /AutoPFA/ModelDataFrame.cpp | e6158b523a2054a9bc3f3a64471f1ce4d5007bbe | [] | no_license | xxxmen/uesoft-AutoPFA | cab49bfaadf716de56fef8e9411c070a4b1585bc | f9169e203d3dc3f2fd77cde39c0bb9b4bdf350a6 | refs/heads/master | 2020-03-13T03:38:50.244880 | 2013-11-12T05:52:34 | 2013-11-12T05:52:34 | 130,947,910 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 2,047 | cpp | // ModelDataFrame.cpp : implementation file
//
#include "stdafx.h"
#include "autopfa.h"
#include "ModelDataFrame.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CModelDataFrame
IMPLEME... | [
"uesoft@163.com"
] | uesoft@163.com |
59c3f4a1179ab8b37b6b71c28a41577c61a4eb92 | 058f6cf55de8b72a7cdd6e592d40243a91431bde | /src/driver_cpu.cpp | 596744923351a5c45a5dc6526c125b7eb15aa82a | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | LLNL/FPChecker | 85e8ebf1d321b3208acee7ddfda2d8878a238535 | e665ef0f050316f6bc4dfc64c1f17355403e771b | refs/heads/master | 2023-08-30T23:24:43.749418 | 2022-04-14T19:57:44 | 2022-04-14T19:57:44 | 177,033,795 | 24 | 6 | Apache-2.0 | 2022-09-19T00:09:50 | 2019-03-21T22:34:14 | Python | UTF-8 | C++ | false | false | 2,579 | cpp |
#include "Utility.h"
#include "Instrumentation_cpu.h"
#include "CodeMatching.h"
#include "Logging.h"
//#include "CommonTypes.h"
//#include "ProgressBar.h"
#include "llvm/Pass.h"
#include "llvm/IR/Module.h"
#include "llvm/IR/Function.h"
#include "llvm/IR/BasicBlock.h"
#include "llvm/IR/Instruction.h"
#include "llvm/IR... | [
"ilaguna@llnl.gov"
] | ilaguna@llnl.gov |
bd4e3b9994710fc2c146c6cb4dbc7d805b60daef | 4f8a4ce45d4ba89aaa674254a2ac126e12e79f73 | /Project2/Property.cpp | e37d13470151850d7232fc6a13ab18cb62a43deb | [] | no_license | aohara19/Ohara-CSC17A | 659d8291e439d133311afb81fc122e1fca10cab2 | 7942fb628b943c240b09f7c8ed406209825bfe83 | refs/heads/master | 2020-04-22T18:20:15.821636 | 2019-05-27T13:35:57 | 2019-05-27T13:35:57 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 881 | cpp | #include "Property.h"
Property Property::operator++(){
++typeOwned;
return *this;
}
int Property::calcRent(int a,int b){
int tempRent = returnRent();
int z = 1;
if(b==1)
z = 5;
else if(b==2)
z = 15;
else if(b==3)
z = 40... | [
"allis@DESKTOP-SBFFDHV.attlocal.net"
] | allis@DESKTOP-SBFFDHV.attlocal.net |
f2a2962499359d575a6c8c5e41e29cce69cbcb19 | 7ea70521df78361fc6307ed946501e794a97f165 | /engine/network/Log.h | c664fe816957d5f08229715bca07c1e03a466c23 | [] | no_license | lewisham/server | 8d1051980c58662d2fefb479a8ecc74dcb68eefe | 381e804932ff06338f932666d27153e1a45c4a38 | refs/heads/master | 2020-05-02T19:14:33.775910 | 2019-04-04T11:44:17 | 2019-04-04T11:44:17 | 178,153,579 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 587 | h | #pragma once
namespace wls
{
void Trace(const char * msg, ...);
void Error(const char* fileName, const char* funcName, int line, const char* msg, ...);
void Error(const char* fileName, const char* funcName, int line, int code, const char* msg, ...);
void Setup();
void Cleanup();
void EnableTrace(bool enable);... | [
"zhanggongjian@weile.com"
] | zhanggongjian@weile.com |
a79ab0de897d4d0920d8a70381db97fefbdaa4a6 | 2d5d7b44b7f05f8d1d8e1f6fad0065ed89cead0c | /inMyRoom_vulkan/include/ECS/ConceptHelpers.h | c61cb2e159daf1a07aa338a0e69b5bff9e697b93 | [] | no_license | thesmallcreeper/inMyRoom_vulkan | b84bafbadd32228210969e9b466e7f8c213c90ec | 8b0d96b02ecffd2bed04730363d0e8a349d12530 | refs/heads/master | 2023-04-30T10:09:40.771134 | 2023-04-23T20:47:10 | 2023-04-23T20:47:10 | 158,889,074 | 20 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 792 | h | #pragma once
#include <concepts>
#include <chrono>
#include "ECS/ComponentBaseWrappedClass.h"
#include "ECS/CompEntityBaseWrappedClass.h"
// CONCEPTS OF TYPES
//
template <class T>
concept Component = std::is_base_of<ComponentBaseClass, T>::value;
template <class T>
concept CompEntity = std::is_base_of<CompEntityB... | [
"nikostpt@hotmail.com"
] | nikostpt@hotmail.com |
0cb27ad42180aa1a750d413b9a80c54886a3fb1b | 6b1596c95fbddca79d84a3554c198ede99675ec2 | /cpp_concepts/expressions.cpp | 6b5f7fffb85d6391b56ce8bb5ed1b7b6f304663f | [] | no_license | sandeepjana/zenballmaster | f513fef761cc347a8c2d881a094efb205d912ae9 | 1c41b93ec9b585fa67fed755bf172dd7beff2b84 | refs/heads/master | 2020-03-09T06:19:44.199591 | 2018-08-30T19:41:08 | 2018-08-30T19:41:08 | 128,561,421 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,543 | cpp | #if 0
#include <iostream>
#include <string>
#include <functional>
#include <algorithm>
#include <vector>
using namespace std;
struct EXP
{
void left() { cout << "left"; }
void right() { cout << "right"; }
int a;
int b;
};
typedef std::function<void (const std::string&)> fxn_string_t;
class CSayHello
{
public:
... | [
"4102043+sandeepjana@users.noreply.github.com"
] | 4102043+sandeepjana@users.noreply.github.com |
ad487bee1f58228d412c97f432e1d752e8602cfb | ce43473e041f1eab581c191b4487795d3449977e | /codeforces/Laptops.cpp | f650502e61e1876ec48070ffd20b3bb5209b568c | [] | no_license | ismail-cse-15/Compitative-Programming | 5d23d92a5e7a8bac11f79baf9920b6f2f9f2292f | fb37bcf4b4936850ff5044bbde9055c6829b11bb | refs/heads/main | 2023-04-15T05:49:47.777427 | 2021-05-04T13:03:57 | 2021-05-04T13:03:57 | 364,000,563 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,285 | cpp | #include<bits/stdc++.h>
using namespace std;
bool prime[100010];
int c[510],row[510],b[510][510];
int main()
{
int n,m,a[510][510];
for(int i=2; i<=sqrt(100010); i++)
{
if(prime[i]==false)
{
for(int j=i*2; j<=100010; j+=i)
{
prime[j]=1... | [
"noreply@github.com"
] | noreply@github.com |
3f927195dd03e16dbf08d4179c75b8429bfee52f | 7396a56d1f6c61b81355fc6cb034491b97feb785 | /algorithms/kernel/k_nearest_neighbors/kdtree_knn_classification_training_result_fpt.cpp | b1d1397f21a79a49918620181b5977c13fbd5f15 | [
"Apache-2.0",
"Intel"
] | permissive | francktcheng/daal | 0ad1703be1e628a5e761ae41d2d9f8c0dde7c0bc | 875ddcc8e055d1dd7e5ea51e7c1b39886f9c7b79 | refs/heads/master | 2018-10-01T06:08:39.904147 | 2017-09-20T22:37:02 | 2017-09-20T22:37:02 | 119,408,979 | 0 | 0 | null | 2018-01-29T16:29:51 | 2018-01-29T16:29:51 | null | UTF-8 | C++ | false | false | 2,704 | cpp | /* file: kdtree_knn_classification_training_result_fpt.cpp */
/*******************************************************************************
* Copyright 2014-2017 Intel Corporation
* All Rights Reserved.
*
* If this software was obtained under the Intel Simplified Software License,
* the following terms apply:
*
... | [
"vasily.rubtsov@intel.com"
] | vasily.rubtsov@intel.com |
9822b551583133ac0822946b47fa17b492f5e8a4 | 5d428b302b919c1a20353c784f8c1f79a3ce4204 | /cartographer_interface.cpp | 5d8213cd0b8f6eeffcfde465f0a7548ec1e8d08f | [
"MIT"
] | permissive | mgou123/cartographer_interface | c867292a1f93747e3babb7c08956c2a2ffe9ebbf | cc058b1fbfbdc8685b077c2a7a41f2940754a7d4 | refs/heads/main | 2023-05-27T21:59:01.999926 | 2021-06-11T08:04:34 | 2021-06-11T08:04:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,786 | cpp | #include "cartographer_interface.h"
#include <utility>
/**
* @brief 构造函数,设置传感器数据,并添加一条轨迹,加载当前地图
* @param map_path 需要加载的地图路径
* @param resolution 地图分辨率
* @param configuration_directory 配置参数目录
* @param configuration_basename 配置参数文件
*/
cartographer_interface::cartographer_inte... | [
"hust_linyicheng@qq.com"
] | hust_linyicheng@qq.com |
aae7886c64c33da86f7f19f5f9b0fcbabd79ac17 | 2d7b949e35fae895419183c71f776307722c51ec | /server/include/GameLoader.h | 025b9e355673986ca785468ee54846facdd9f515 | [] | no_license | nravesz/Wolfenstein3D | f964f0341eb655b55469f04f0d859dab31c73753 | 420d1fa9ec20119072b4a2b0e98fe648b5c4ff96 | refs/heads/main | 2023-03-19T17:52:08.305088 | 2021-03-09T21:28:38 | 2021-03-09T21:28:38 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 663 | h | #ifndef GAMELOADER_H
#define GAMELOADER_H
#include <yaml-cpp/yaml.h>
#include "server/Items/OpenableItem.h"
#include "server/Items/Rocket.h"
#include "Item.h"
/*Clase que se encarga de cargar los datos del juego, incluyendo objetos*/
class GameLoader{
int uniqueId;
YAML::Node sprites;
YAML::Node idConfig... | [
"variosdemas@gmail.com"
] | variosdemas@gmail.com |
bb1308def243d730c94f500d33ec44b40b29a9ed | 1b3030394cb23b75f519551994faa910c7def8bf | /src/bootstrap/errors/exceptions.hpp | 589763b7246d391ccc94c81fb2393cf30a890bff | [
"Apache-2.0"
] | permissive | wexaris/ivy | 7873ef11a515007e5f050aed43e09407251646f6 | 9b752661c7db69296627307acc73978052c93eb4 | refs/heads/master | 2020-03-30T01:50:14.571655 | 2019-02-05T22:04:41 | 2019-02-05T22:04:41 | 150,598,046 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 604 | hpp | #pragma once
#include <exception>
class CompilerException : public std::exception {
public:
CompilerException() = default;
virtual ~CompilerException() override = default;
};
class ErrorException : public CompilerException {
public:
ErrorException() = default;
virtual ~ErrorException() override = default;
};
c... | [
"wexaris@gmail.com"
] | wexaris@gmail.com |
359eedb2bd036195cf95fd40bc96e3de76cfc39a | 2232c179ab4aafbac2e53475447a5494b26aa3fb | /src/mesh/point_set/DofPointSetTriagEquidist.hpp | fddef08ef7c589c1dfea82b37e43574a321740ea | [] | no_license | martinv/pdekit | 689986d252d13fb3ed0aa52a0f8f6edd8eef943c | 37e127c81702f62f744c11cc2483869d8079f43e | refs/heads/master | 2020-03-31T09:24:32.541648 | 2018-10-08T15:23:43 | 2018-10-08T15:23:43 | 152,095,058 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,065 | hpp | #ifndef PDEKIT_Mesh_Dof_Point_Set_Triag_Equidist_hpp
#define PDEKIT_Mesh_Dof_Point_Set_Triag_Equidist_hpp
#include "mesh/point_set/StdPointSetBase.hpp"
#include "mesh/std_region/EquidistStdRegionTriag.hpp"
namespace pdekit
{
namespace mesh
{
// -----------------------------------------------------------------------... | [
"martin.vymazal@gmail.com"
] | martin.vymazal@gmail.com |
d38363fe7343ca8bbd4090c09a1a264cc26e4983 | 81c74937fd4586b264b9ff3242be616292d06bdf | /trunk/src/c++/include/palbase/pair_filter.h | 44ced31c030fe92dd070e36aa49051db5cd38ee1 | [] | no_license | rahulkr007/sageCore | be877ff6bb2ee5825e5cc9b9d71e03ac32f4e29f | b1b19b95d80637b48fca789a09a8de16cdaad3ab | refs/heads/master | 2021-06-01T12:41:41.374258 | 2016-09-02T19:14:02 | 2016-09-02T19:14:02 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,045 | h | #ifndef PAIR_FILTER_H
#define PAIR_FILTER_H
//****************************************************************************
//* File: pair_filter.h *
//* *
//* Author: Kevin Jacobs & Yeunjoo ... | [
"opensagecwru@gmail.com"
] | opensagecwru@gmail.com |
4dec5069ea043db4c461416cfa5984a494fd34fc | 32fbef05ec5ac2de9f9df60bb49ec5d430830417 | /cpp/iSparseMatrix.h | c04909271ebe6e193d2ea2c0531a628b0be128b0 | [] | no_license | luoq/BS-thesis | 2aa87cf5d81c0795a09e35af4e59f24bf15d5fa5 | 81129b411408ab4fdba21e0b2fad76f9d69f2ed3 | refs/heads/master | 2021-01-22T23:43:49.342629 | 2012-11-19T15:44:51 | 2012-11-19T15:44:51 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,527 | h | /* iSparseMatrix.h ---
*
* Filename: iSparseMatrix.h
* Description: my sparse matrix library
* Author: Luo Qiang
* Created: 03/17/2010 14:32:26
* Version:
* Last-Updated: 10/17/2010 00:46:33
* By: Luo Qiang
* Update #: 866
* Keywords:
*/
// Commentary:
//use vector of sparse vector format to s... | [
"luoq08@gmail.com"
] | luoq08@gmail.com |
61aba8ec5d0d87bf3c795c9ac001e8b4722fc989 | 4a598ca49e4be7c15609a94df9118bf2974a1318 | /src/rpcserver.cpp | 29986152ab49b50f9aeb5d98b17201ed67fcbad9 | [
"MIT"
] | permissive | LordSoylent/SMNCoin | b41796e0dbb5484a7fa0821d2e273e198f8c9aff | 01918f456f726a9240df4ccfffdd3626f9ddba4f | refs/heads/master | 2020-03-28T19:23:47.897382 | 2018-06-05T00:17:59 | 2018-06-05T00:17:59 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 43,962 | cpp | // Copyright (c) 2010 Satoshi Nakamoto
// Copyright (c) 2009-2014 The Bitcoin developers
// Copyright (c) 2014-2015 The Dash developers
// Copyright (c) 2015-2017 The PIVX developers
// Copyright (c) 2018 The Somnio developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http:/... | [
"root@vultr.guest"
] | root@vultr.guest |
6d6addcfefd4319d9b6dfb04caed4f73dc8dadb0 | e8edd19dc6df3977af1d6a42bb02fe0b72a960fc | /lab_03_domen/src/builder.cpp | e0b82b792aaff1470951e2415f61d5068948a1b6 | [] | no_license | Sunshine-ki/BMSTU4_OOP | 8ed159a5236d81378648a385cfb28f84d4272be7 | d93a2f4693db54196823551b76acaf950a0a6329 | refs/heads/master | 2022-11-10T22:33:24.533465 | 2020-07-04T10:52:44 | 2020-07-04T10:52:44 | 244,690,781 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 961 | cpp | #include "builder.h"
bool FigureBuilder::create()
{
std::shared_ptr<Figure> figure(new Figure());
if (!figure)
return false;
_figure = figure;
return true;
}
bool FigureBuilder::fillPoints(std::vector<Point> &points)
{
if (!points.size())
return false;
for (size_t i = 0; i < points.size(); i++)
_figure->... | [
"sukocheva.alis@mail.ru"
] | sukocheva.alis@mail.ru |
e925537c4cf4022dfd8d964eaef116b6456e4f75 | 3a7d683e2d3e80706d916a2f50be149bd24cda1b | /include/omniORB4/IIOP.h | c9c0bcd63a9fbbe790b8ee09a4d87c05728f2bb4 | [] | no_license | rpavlik/vrjuggler-windows-binaries | de44ccab20e0476dd2b1b0a19710362031bdcfd1 | d171aec37b3ec47d3598c9761b29d054755d7817 | HEAD | 2016-09-05T23:29:05.449999 | 2014-09-23T19:13:30 | 2014-09-23T20:07:12 | 1,789,116 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,662 | h | // -*- Mode: C++; -*-
// Package : omniORB
// IIOP.h Created on: 8/2/96
// Author : Sai Lai Lo (sll)
//
// Copyright (C) 1996-1999 AT&T Laboratories Cambridge
//
// This file is part of the omniORB library
//
// The omniORB... | [
"rpavlik@iastate.edu"
] | rpavlik@iastate.edu |
b7f5e19429a18796936ef20c7c6603e98d4b40ce | 477c8309420eb102b8073ce067d8df0afc5a79b1 | /Utilities/VisItBridge/databases/Enzo/avtEnzoFileFormat.h | a17b5ce272d30f8d68deb64a322059124eb32eef | [
"LicenseRef-scancode-paraview-1.2"
] | 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,229 | h | /*****************************************************************************
*
* Copyright (c) 2000 - 2010, Lawrence Livermore National Security, LLC
* Produced at the Lawrence Livermore National Laboratory
* LLNL-CODE-400124
* All rights reserved.
*
* This file is part of VisIt. For details, see https://visit.llnl... | [
"aashish.chaudhary@kitware.com"
] | aashish.chaudhary@kitware.com |
71ffd77883824ed893c7b37bca29494c863263d6 | 92e979498ec13e4ef1f9ff140e12865b5082c1dd | /SDK/GeneralFunctions_parameters.h | 5e1a70b9425a66bad0b82f89d6e77845a80ef651 | [] | no_license | ALEHACKsp/BlazingSails-SDK | ac1d98ff67983b9d8e9c527815f17233d045d44d | 900cbb934dc85f7325f1fc8845b90def2298dc2d | refs/heads/master | 2022-04-08T21:55:32.767942 | 2020-03-11T11:37:42 | 2020-03-11T11:37:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 27,695 | h | #pragma once
#include "../SDK.h"
// Name: BlazingSails, Version: 1.481.81
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
namespace SDK
{
//---------------------------------------------------------------------------
// Parameters
//---------------------------------------------------------------------------
// Func... | [
"zp2kshield@gmail.com"
] | zp2kshield@gmail.com |
a648e56786f2844ec91522e693f5c2e8a8c0db54 | 879fb3581f03b5c17dd90c68b45751712fbcd671 | /lib/spear/splitter.cc | 64977417506eb8f1c534df2afb7d81d6f7475a41 | [] | no_license | ivilab/kjb | 9f970e1ce16188f72f0edb34394e474ca83a9f2b | 238be8bc3c9018d4365741e56310067a52b715f9 | refs/heads/master | 2020-06-14T07:33:17.166805 | 2019-07-30T16:47:29 | 2019-07-30T16:47:29 | 194,946,614 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 54,126 | cc |
#line 3 "<stdout>"
#define YY_INT_ALIGNED short int
/* A lexical scanner generated by flex */
#define yy_create_buffer splitter_create_buffer
#define yy_delete_buffer splitter_delete_buffer
#define yy_flex_debug splitter_flex_debug
#define yy_init_buffer splitter_init_buffer
#define yy_flush_buffer splitter_flush_... | [
"52473452+ivilab-sync@users.noreply.github.com"
] | 52473452+ivilab-sync@users.noreply.github.com |
1c1f96d1dce5a1500ba1e89bd11db7bad5f3fb40 | 04ac4f25086abb864d61772e29c6aab67bd0b0b6 | /term2/seminar16_error_handling/classroom_tasks/code04_errors/vector_at.cpp | 577ec332b29e0946476b03d78b1a8a5c86cf8d11 | [] | no_license | v-biryukov/cs_mipt_faki | 9adb3e1ca470ab647e2555af6fa095cad0db12ca | 075fe8bc104921ab36350e71636fd59aaf669fe9 | refs/heads/master | 2023-06-22T04:18:50.220177 | 2023-06-15T09:58:48 | 2023-06-15T09:58:48 | 42,241,044 | 5 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 112 | cpp | #include <iostream>
#include <vector>
int main()
{
std::vector v {10, 20, 30};
std::cout << v.at(5);
} | [
"biryukov.vova@gmail.com"
] | biryukov.vova@gmail.com |
e698aed83a471b768fa9b1fc568b8111dac3b586 | 53e07ca444de3697b78c62a6a9e13c66ad581feb | /task_7_bounce.cpp | c5604ed5892123b44b2cbd56b3eccb1589f1607c | [] | no_license | uhioma-0/git | bc191eec21bddc962f10de8ca1d2edd6eaa27ab4 | 83e60aa40fc368b2332f4f42f2f1e57082f8da36 | refs/heads/master | 2023-01-09T16:06:35.026512 | 2020-11-15T20:36:59 | 2020-11-15T20:36:59 | 313,111,619 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 380 | cpp | #include <iostream>
using namespace std;
void descending_ascending(int n)
{
if (n < 0)
cout << "Error! Input cannot be negative.";
for (int i = n; i >= 0; i--)
{
cout << i;
}
for (int i = 1; i <=n; i++)
{
cout << i;
}
}
/*int main()
{
string message1 = "please inter positive number";
cout << message1... | [
"husen.husni@gmail.com"
] | husen.husni@gmail.com |
88396e3ca098b2b2eb56a92f8c4c9a1aaa036fb4 | c77a0f1524e24dff8737f49be71d0ee66ee4dbf3 | /MidpointMethod.cpp | 68cdd1853856e54cba11be993fe530cc728f8659 | [] | no_license | zellxu/galileo | 82aa73a0d0556fb7d31c289a611bed3c2efb5fff | b0014c2abf95de874fe77b4d6a641d48d8da8738 | refs/heads/master | 2021-01-23T10:44:41.266424 | 2015-02-12T20:18:34 | 2015-02-12T20:47:25 | 30,721,588 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 739 | cpp | #include "MidpointMethod.h"
void MidpointMethod::integrate(SystemInterface* system, double timestep){
Eigen::VectorXd initState = system->getState();
system->setState(initState + timestep/2 * system->derivEval());
system->setState(initState + timestep * system->derivEval());
}
Eigen::VectorXd MidpointMethod::integ... | [
"zellxu@gmail.com"
] | zellxu@gmail.com |
c5151b948688de5c33c9c81b7beeed92509520ed | fad45426c65e559203b98641703928fe5aee38ce | /util.cpp | 4f870f651faf25bb4fa5af1a391a2edd9d8a5e99 | [] | no_license | jeffminton/lib | e08b5ffa18072028683113de78eb091fd301e0c1 | 55f4014097896752ee0556cf618a961631e335cf | refs/heads/master | 2021-01-24T06:29:59.460943 | 2011-04-25T03:37:25 | 2011-04-25T03:37:25 | 1,303,678 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 845 | cpp | /**
Programmer: Jeffrey Minton
File: util.cpp
Description: A file containing various utilities
*/
#include "util.h"
//match
bool Util::match(string str, string pattern)
{
regex regPattern = regex(pattern);
return regex_match(str, regPattern);
}
//getMatch
string Util::getMatch(string str, string pattern, in... | [
"jeffrey.minton@gmail.com"
] | jeffrey.minton@gmail.com |
ddd472c682f5a8c2dc99cc15b6c1612f9147c9cc | 478233633e5fd5772f63328702356e428f317172 | /video-slider-controls.cpp | 098d5c70270bd55f9cc3e1b2e9b2306c2de84201 | [] | no_license | BilboBlockins/opencv-examples | 84f7624ec76055653973a4f484239aa53c7e20f7 | c6155650fbdf474ac1e00ee3e73db6771e9d516e | refs/heads/master | 2022-11-27T07:10:26.416630 | 2020-08-06T20:49:10 | 2020-08-06T20:49:10 | 285,668,393 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,993 | cpp | #include <iostream>
#include <opencv2/highgui/highgui.hpp>
#include <opencv2/imgproc/imgproc.hpp>
//Program for reading video from the default camera.
using namespace std;
using namespace cv;
void locator(int event, int x, int y, int flags, void* userdata)
{
if (event == EVENT_LBUTTONDOWN)
{
cout << "... | [
"abretthiebert@gmail.com"
] | abretthiebert@gmail.com |
87bfb09506751ba51a806a76f12d51214abbfaea | c2d361ceba435b49db81994fecee8038bd786c6a | /Main.cpp | 75001e95da54217af563feefd629eb2fe44bc3da | [] | no_license | NumbFish-Luo/UsbDev_Test | 59c9fda34c4955f0d30d0cdcb2e4c687d7b2cb9d | dc37d5193fd317cdcd97e079eda0c87e2414cb86 | refs/heads/master | 2020-08-27T07:22:50.996058 | 2019-10-24T11:31:54 | 2019-10-24T11:31:54 | 217,283,349 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 51 | cpp | #include "UsbDev.h"
int main() {
return 0;
}
| [
"numbfish@yeah.net"
] | numbfish@yeah.net |
08061d9bed65cf9504c291b8b2e06474015ca0cf | 2ac1419480f7177ce7cbce2ea51734ac2f14d810 | /Algorithm_problems/C/문법 및 실습예제/함수/19_포인터SWAP(call by address).cpp | d9705c57b73213e1551b3099ac856f7e3f6f8912 | [] | no_license | swarthyPig/Algorithm-training-and-SQL-query | d0e854c8118dfa0565848f0a98facaa68034fb99 | 562888ee5a6386f4ae52d60d3012de66931159cc | refs/heads/master | 2020-07-07T16:05:04.045583 | 2020-03-03T09:38:53 | 2020-03-03T09:38:53 | 203,399,615 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 797 | cpp | #include "stdafx.h"
#include <time.h>
#include <stdlib.h>
#include <Windows.h>
#pragma warning(disable:4996)
#define _CRT_SECURE_NO_WARNINGS
// ctrl + d 자동 복붙 // ctrl + k + d 코드 정렬
// alt + 방향키위아래 : 이동
// 전체주석 : ctrl + k + c <---> ctrl + k + u
// 18번 과의 비교, 포인터를 사용하여 메모리를 공유하고나서는 값이 교환 된다 call by address... | [
"noreply@github.com"
] | noreply@github.com |
1cf259d9b3e0effedf0893f60dc73e1d0690dd19 | 717cfbb815d7232f69b7836e6b8a19ab1c8214ec | /sstd_tools/build_install/boost_filesystem/static_boost/type_traits/add_rvalue_reference.hpp | 48a4d6839c4e418affc56f0ec0de6582bd11fefd | [] | no_license | ngzHappy/QtQmlBook | b1014fb862aa6b78522e06ec59b94b13951edd56 | 296fabfd4dc47b884631598c05a2f123e1e5a3b5 | refs/heads/master | 2020-04-09T04:34:41.261770 | 2019-02-26T13:13:15 | 2019-02-26T13:13:15 | 160,028,971 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,418 | hpp | // add_rvalue_reference.hpp ---------------------------------------------------------//
// Copyright 2010 Vicente J. Botet Escriba
// Distributed under the Boost Software License, Version 1.0.
// See http://www.boost.org/LICENSE_1_0.txt
#ifndef BOOST_TYPE_TRAITS_EXT_ADD_RVALUE_REFERENCE__HPP
#define BOOST_TYPE... | [
"zhaixueqiang@hotmail.com"
] | zhaixueqiang@hotmail.com |
f949d73a322c85abf6f7e349162e9df5512ff816 | c1f078681e4ad1a6a34c3bf2a32388f7e66c8364 | /@library/sources/XLSharedStrings.cpp | fdd64a82ab26af44e6674e3c80d41dd2934817e8 | [
"BSD-3-Clause",
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | yang123vc/OpenXLSX | bda224b969ece60b138cc709c9a4f83805ac7edf | 523582eae210a85af37f8a4bb82bc118f05913f6 | refs/heads/master | 2020-04-12T13:09:59.949665 | 2018-08-08T13:30:42 | 2018-08-08T13:30:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,126 | cpp | //
// Created by Troldal on 01/09/16.
//
#include "../headers/XLSharedStrings.h"
#include "../headers/XLDocument.h"
using namespace std;
using namespace OpenXLSX;
/**
* @details Constructs a new XLSharedStrings object. Only one (common) object is allowed per XLDocument instance.
* A filepath to the underlying XML ... | [
"kenneth.balslev@gmail.com"
] | kenneth.balslev@gmail.com |
3b59ebdfaf7807b44c29ac29f51438b2c8cd9270 | d43e1ec775f194c2dd6d45007c50ed999571bd5d | /Codeforces/353D2/B/b.cpp | c13871c7e8021d685285642256780aa2b121561e | [] | no_license | marcoskwkm/code | 842fd498ec625b25f361b435f0bca843b8d81967 | 636866a7ee28f9f24da62c5dcf93dc1bce7a496e | refs/heads/master | 2022-10-28T16:40:50.710771 | 2022-09-24T20:10:59 | 2022-09-24T20:10:59 | 57,255,944 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 630 | cpp | #include <bits/stdc++.h>
using namespace std;
#define debug(args...) fprintf(stderr,args)
typedef long long lint;
typedef pair<int,int> pii;
typedef pair<lint,lint> pll;
const int INF = 0x3f3f3f3f;
const lint LINF = 0x3f3f3f3f3f3f3f3fll;
int main() {
int n, a, b, c, d;
scanf("%d%d%d%d%d", &n, &a, &b, &c, &d... | [
"marcoskwkm@gmail.com"
] | marcoskwkm@gmail.com |
668d802b2c292f0b93bbb404f3d9b21a77e2cdbd | bd2c611c53160a5a0c39dd2dcf55100083afae4c | /Frogger/Frog.h | 69e57a3f1d63342ad5e2a70b6247ef81836b2c79 | [] | no_license | darienmiller88/Frogger | ac469804dca296916ecde8b2b34acc71acbc5aea | 6333df266103421320d9f8628b38b0212882a476 | refs/heads/master | 2020-10-02T06:06:59.676417 | 2020-05-02T16:22:31 | 2020-05-02T16:22:31 | 227,718,245 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 727 | h | #pragma once
#include "Entity.h"
class Frog : public Entity{
public:
Frog(const sf::Vector2f &bodySize, const sf::Vector2f &initialPosition, const sf::Color &color);
void moveEntity(const sf::Vector2f &windowSize, const sf::Event &e) override;
int getRemainingLives() const;
//set the position of... | [
"noreply@github.com"
] | noreply@github.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.