blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 3 264 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 5 140 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 905
values | visit_date timestamp[us]date 2015-08-09 11:21:18 2023-09-06 10:45:07 | revision_date timestamp[us]date 1997-09-14 05:04:47 2023-09-17 19:19:19 | committer_date timestamp[us]date 1997-09-14 05:04:47 2023-09-06 06:22:19 | github_id int64 3.89k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 22
values | gha_event_created_at timestamp[us]date 2012-06-07 00:51:45 2023-09-14 21:58:39 ⌀ | gha_created_at timestamp[us]date 2008-03-27 23:40:48 2023-08-21 23:17:38 ⌀ | gha_language stringclasses 141
values | src_encoding stringclasses 34
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 3 10.4M | extension stringclasses 115
values | content stringlengths 3 10.4M | authors listlengths 1 1 | author_id stringlengths 0 158 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
5d31765093ac91d1aab9393ac88016ad20c19e44 | 6c2c2721f57b54a3f56521985ce80d594031760c | /Assignment6/parallelogram.cpp | 5ac9648f7d9b7d6d472200495954141b4046326f | [] | no_license | dogaoz/CSCI-15 | dd698437372759bfb64555f254b9714266c925d9 | 898f8d6b23a193ecb169dd150bea3bbe9bbb179d | refs/heads/master | 2020-04-17T13:49:22.208316 | 2019-01-20T06:40:43 | 2019-01-20T06:40:43 | 166,631,704 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,019 | cpp | //
// parallelogram.cpp
//
// Doga Ozkaracaabatlioglu
// Nov 11, 2018
// Parallelogram Class method definitions
//
#include "helper_functions.h"
#include "parallelogram.h"
Parallelogram::Parallelogram()
{
setDefault();
}
void Parallelogram::setDefault()
{
pointA.setAll(0,0);
pointB.setAll(3,2);
pointC.... | [
"doga.ozkaraca@gmail.com"
] | doga.ozkaraca@gmail.com |
e3c86bb4fe5c98a23ac1d8342c19fbf60995a2f8 | 90b1833d8238d76d073786147de6d2d96a941378 | /SGP_Honor/Source/Frame.cpp | dc96bbb62919d9cfd5f2dd6c087f0adb00f86824 | [] | no_license | nessj1994/Honor | 28e5c20864b3d8201852ab8fb48ff9a1b2439c32 | 00c965c6dd506918ea1b7ffc5955f017396c9651 | refs/heads/master | 2021-03-19T06:49:31.613801 | 2014-11-19T18:33:59 | 2014-11-19T18:33:59 | 26,241,134 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 62 | cpp | #include "Frame.h"
Frame::Frame()
{
}
Frame::~Frame()
{
}
| [
"msciortino17@gmail.com"
] | msciortino17@gmail.com |
8ac4cde5d940e6345b37ebeef7e80c4582bf0125 | ace20ae898aadf18c4ef8a2355b528422fc27bb5 | /codeforces/diceinline.cpp | bff677b7cfffc68a06cf2c289b29d1269396f5ed | [] | no_license | pidddgy/competitive-programming | 19fd79e7888789c68bf93afa3e63812587cbb0fe | ec86287a0a70f7f43a13cbe26f5aa9c5b02f66cc | refs/heads/master | 2022-01-28T07:01:07.376581 | 2022-01-17T21:37:06 | 2022-01-17T21:37:06 | 139,354,420 | 0 | 3 | null | 2021-04-06T16:56:29 | 2018-07-01T19:03:53 | C++ | UTF-8 | C++ | false | false | 814 | cpp | // https://atcoder.jp/contests/abc154/tasks/abc154_d
#include <bits/stdc++.h>
#define watch(x) cerr << (#x) << " is " << (x) << endl;
#define ld long double
using namespace std;
int main() {
int N, K;
cin >> N >> K;
int a[N+1];
for(int i = 1; i <= N; i++) {
cin >> a[i];
}
int psa[N+1]... | [
"marcus.jn.chong@gmail.com"
] | marcus.jn.chong@gmail.com |
f9dfd35e87aee8b2d9d3c3281a22a77bd841a19c | da404c28a9715faefc60b8207fd5a80ee7bae1a0 | /CSC8503Common/Player.cpp | 99f6858e171920f15ed3a2028c1693417cd62abe | [] | no_license | B5036535/CSC8503 | 11ea4cf959d733413b904ca1ca7e43f82c7538fc | 387e591a09669bf573a8096f64639fa60e51f1a7 | refs/heads/main | 2023-03-23T23:06:50.761503 | 2021-03-10T21:38:59 | 2021-03-10T21:38:59 | 346,449,831 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,289 | cpp | #include "Player.h"
#include "AABBVolume.h"
#include "CapsuleVolume.h"
#include "../CSC8503Common/PlayerStateRunning.h"
using namespace NCL;
using namespace CSC8503;
Player::Player(Vector3 pos)
{
tag = GameObjectTag::PLAYER;
canJump = true;
speed = 1000.0f;
jump = 1000.0f;
float meshSize = 3.0f;
float inverse... | [
"j.ashman@newcastle.ac.uk"
] | j.ashman@newcastle.ac.uk |
e0c767cceab3dc58efd4f55f7f6678c97da9b1f8 | b843d693bc2e8802b279814fc3d596abd6c86cd8 | /CatalogRobot/form.h | e1cc71d0cbbe35d74b925728f42532edc43ebee5 | [] | no_license | pomid0rko0/CatalogRobot | 856108b0e56cee1ba7625ffefa92a7135145d71c | acae88f57576c3381abea50ef58dd1b2c968e952 | refs/heads/master | 2020-06-01T05:53:41.189367 | 2019-10-15T13:23:29 | 2019-10-15T13:23:29 | 173,575,763 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 398 | h | #ifndef FORM_H
#define FORM_H
#include <QWidget>
#include <QFileDialog>
namespace Ui {
class Form;
}
class Form : public QWidget
{
Q_OBJECT
public:
explicit Form(QWidget *parent = nullptr);
~Form();
private slots:
void on_parser_search_button_clicked();
void on_start_button_clicked();
voi... | [
"lev55i@ya.ru"
] | lev55i@ya.ru |
503a2f0beda93d47a795ff0d12ea69d315d00e45 | 6e601105760f09d3c9f5306e18e4cf085f0bb4a2 | /10000-99999/10838.cpp | 68cecf63c95b5a25591d6da047f76a386ee6c496 | [] | no_license | WSJI0/BOJ | 6412f69fddd46c4bcc96377e2b6e013f3bb1b524 | 160d8c13f72d7da835d938686f433e7b245be682 | refs/heads/master | 2023-07-06T15:35:50.815021 | 2023-07-04T01:39:48 | 2023-07-04T01:39:48 | 199,650,520 | 2 | 0 | null | 2020-04-20T09:03:03 | 2019-07-30T12:48:37 | Python | UTF-8 | C++ | false | false | 200 | cpp | #include <bits/stdc++.h>
using namespace std;
void paint(int a, int b, int c){
}
int main(void){
ios::sync_with_stdio(false); cin.tie(NULL); cout.tie(NULL);
int n, k;
cin>>n>>k;
} | [
"lifedev@naver.com"
] | lifedev@naver.com |
eb13fcbe60acbeda7c84deec95939b47748110c3 | f15d6c870d51ffa4a7e6151c42ceb5de0eedf46a | /Vaango/src/CCA/Components/Models/FluidsBased/TableInterface.h | e23e7dcf6da0dcc7abce7da68cbe2240c587d5be | [] | no_license | pinebai/ParSim | 1a5ee3687bd1582f31be9dbd88b3914769549095 | f787523ae6c47c87ff1a74e199c7068ca45dc780 | refs/heads/master | 2021-01-24T07:45:12.923015 | 2017-04-22T04:34:44 | 2017-04-22T04:34:44 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,524 | h | /*
* The MIT License
*
* Copyright (c) 2013-2014 Callaghan Innovation, New Zealand
*
* 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 t... | [
"b.banerjee.nz@gmail.com"
] | b.banerjee.nz@gmail.com |
68fde0ff8f7eb6fab07c8e36c9220b739ab15042 | 8621b712f6468fb110552f130bd085d3ea722842 | /gui/Source/View/LinkComponent.h | 213354f317a3904006131a579c711327ed5e2384 | [] | no_license | imclab/SaM-Designer | f9a7b36a857c7fab8f81a8cedf20acf9874e06f9 | fa04d0192b2dcda50002bd492efb11118fc4a36b | refs/heads/master | 2021-01-18T09:21:57.778696 | 2014-06-13T22:59:34 | 2014-06-13T22:59:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,177 | h | /*
==============================================================================
LinkComponent.h
Created: 21 Aug 2012 11:23:02am
Author: Peter Vasil
==============================================================================
This program is free software; you can redistribute it and/or modify
... | [
"mail@petervasil.net"
] | mail@petervasil.net |
4107e907c726805c6e74eb665dd035d4162f299b | 2aed63d9aa027419b797e56b508417789a604a8b | /Injector5degTetra/InjectorFoam/constant/turbulenceProperties | 339721897e5d55e55fa8b994b38032f45e2a9693 | [] | no_license | icl-rocketry/injectorCFDModelling | 70137f1c6574240c7202638c3713102a3e1e9fd8 | 96591cf2cf3cd4cbd64536d8ae47ed8080ed9016 | refs/heads/main | 2023-08-25T03:30:59.244137 | 2021-10-09T21:04:45 | 2021-10-09T21:04:45 | 322,369,673 | 3 | 5 | null | null | null | null | UTF-8 | C++ | false | false | 891 | /*--------------------------------*- C++ -*----------------------------------* \
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v2006 ... | [
"39316550+lucpaoli@users.noreply.github.com"
] | 39316550+lucpaoli@users.noreply.github.com | |
ff6b50450a76c1d044da02f898374915daa1c57a | 81872dd652810456d2ffbeda4e544fc11c250c5a | /49_StringToInt.cpp | 123be83c80d7a56973ba00542ad9b9752164dbf0 | [
"Apache-2.0"
] | permissive | Yeolar/AlgorithmExercises | 2cd5ab754b58452d3104f37a5a53f58b73e29941 | 09894c9e2638fb57b7b4de752468256fd84126eb | refs/heads/master | 2021-01-02T08:34:50.971110 | 2017-08-15T15:14:25 | 2017-08-15T15:14:25 | 99,020,736 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,711 | cpp | /*
* Copyright (C) 2017, Yeolar
*/
#include <stdexcept>
#include <gtest/gtest.h>
namespace ae {
int strToInt(const char* str) {
if (str == nullptr || *str == '\0') {
throw std::invalid_argument("Empty string");
}
bool negative = false;
if (*str == '+') {
str++;
} else if (*str == '-') {
str++... | [
"yeolar@gmail.com"
] | yeolar@gmail.com |
56568fb686f619b31069ef7b2b2480ef2924933d | 2f6a9ff787b9eb2ababc9bb39e15f1349fefa3d2 | /inet/src/inet/visualizer/physicallayer/PhysicalLinkCanvasVisualizer.cc | fe83f238cd8c852ee9f8aa7b884861e44578af2c | [
"BSD-3-Clause",
"MPL-2.0",
"LicenseRef-scancode-free-unknown"
] | permissive | ntanetani/quisp | 97f9c2d0a8d3affbc709452e98c02c568f5fe8fd | 47501a9e9adbd6adfb05a1c98624870b004799ea | refs/heads/master | 2023-03-10T08:05:30.044698 | 2022-06-14T17:29:28 | 2022-06-14T17:29:28 | 247,196,429 | 0 | 1 | BSD-3-Clause | 2023-02-27T03:27:22 | 2020-03-14T02:16:19 | C++ | UTF-8 | C++ | false | false | 1,864 | cc | //
// Copyright (C) OpenSim Ltd.
//
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public License
// as published by the Free Software Foundation; either version 2
// of the License, or (at your option) any later version.
//
// This program is dis... | [
"n.tanetani@gmail.com"
] | n.tanetani@gmail.com |
9520976ba2845d9770057d1ccbf383ae8c10ba1f | d40efadec5724c236f1ec681ac811466fcf848d8 | /branches/fs2_open_3_6_16/code/hud/hudtarget.cpp | a492303f5f824d3e16032e7344c95cd3502abe6d | [] | no_license | svn2github/fs2open | 0fcbe9345fb54d2abbe45e61ef44a41fa7e02e15 | c6d35120e8372c2c74270c85a9e7d88709086278 | refs/heads/master | 2020-05-17T17:37:03.969697 | 2015-01-08T15:24:21 | 2015-01-08T15:24:21 | 14,258,345 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 208,041 | cpp | /*
* Copyright (C) Volition, Inc. 1999. All rights reserved.
*
* All source code herein is the property of Volition, Inc. You may not sell
* or otherwise commercially exploit the source or things you created based on the
* source.
*
*/
#include "hud/hud.h"
#include "hud/hudparse.h"
#include "hud/hudartill... | [
"chief1983@387891d4-d844-0410-90c0-e4c51a9137d3"
] | chief1983@387891d4-d844-0410-90c0-e4c51a9137d3 |
960c6f2a3b420a98a6a424139adf6dd8aa3be7c8 | a1fbf16243026331187b6df903ed4f69e5e8c110 | /cs/engine/utils/xrQSlim/src/mixvops.h | da36b8fc911c9b5c721ed9ec0a116d3a51f4a5c8 | [
"LicenseRef-scancode-warranty-disclaimer",
"BSD-2-Clause"
] | permissive | OpenXRay/xray-15 | ca0031cf1893616e0c9795c670d5d9f57ca9beff | 1390dfb08ed20997d7e8c95147ea8e8cb71f5e86 | refs/heads/xd_dev | 2023-07-17T23:42:14.693841 | 2021-09-01T23:25:34 | 2021-09-01T23:25:34 | 23,224,089 | 64 | 23 | NOASSERTION | 2019-04-03T17:50:18 | 2014-08-22T12:09:41 | C++ | UTF-8 | C++ | false | false | 4,294 | h | #ifndef MIXVOPS_INCLUDED // -*- C++ -*-
#define MIXVOPS_INCLUDED //
#endif // WARNING: Multiple inclusions allowed
/************************************************************************
Low-level vector math operations.
This header file is intended for internal library use only. You should... | [
"paul-kv@yandex.ru"
] | paul-kv@yandex.ru |
56a8f809d5e431628867f041e7255ad19f40e28e | 1142765797be6e0ef7f92be923467c418460ae3b | /client/srcs/Datagram.cpp | b139ac7a863cd98fe8981d2c22039f866bec01da | [] | no_license | tle-huu/mappy | 5c4211d039f9d1e4c280cd704a6b63dd62f87943 | efbe5a330dc09d0e6104e6696b60c2a69df56ecd | refs/heads/master | 2020-03-25T06:15:14.907339 | 2018-10-02T11:07:18 | 2018-12-25T19:51:26 | 143,491,734 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,183 | cpp | #include "Datagram.hpp"
/*
** ================== CONSTRUCTORS DESTRUCTORS ==================
*/
Datagram::Datagram() : _header("EMPTY"), _message("EMPTY") {}
Datagram::Datagram(std::string header, std::string message) : _header(header),
_message(message)
{}
Datagram::~Datagram() {}
Datagram::Dat... | [
"tlehuu@hotmail.fr"
] | tlehuu@hotmail.fr |
b684e363b926d914a6b3534f16271a4b14e51ee5 | abaacd6382e4165bb9059340fc60b7ef4ff55675 | /2018_1_16/post_lTree.cpp | 751466d6125f7580b9ff5f433a62bb08419c0bfb | [] | no_license | lanke0720/data_struct | 3ab49a0ec82a6c88e636c11fe140dfe35dea6b0f | 1677eb77319b089ab45293833daefbac93992d70 | refs/heads/master | 2021-01-23T10:20:25.631429 | 2018-03-13T15:25:13 | 2018-03-13T15:25:13 | 93,051,248 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 611 | cpp | class Solution {
public:
bool VerifySquenceOfBST(vector<int> sequence) {
int n = sequence.size();
if (n == 0) return false;
int i = 0;
while (n--)
{
while(sequence[i++]<sequence[n]);
while(sequence[i++]>sequence[n]);
i... | [
"1600977813@qq.com"
] | 1600977813@qq.com |
88be8b1647ab9ea57d7b5f70f31b025bae988391 | a8e5155ecc010b57fddf83b1451ca7206da2623d | /SDK/ES2_BP_Condition_Utility_KinematicMode_PhysicsEnabled_parameters.hpp | 1fffbe905f5016a980a7e490d17169d5db86058d | [] | no_license | RussellJerome/EverSpace2-SDK | 3d1c114ddcf79633ce6999aa8de735df6f3dc947 | bb52c5ddf14aef595bb2c43310dc5ee0bc71732b | refs/heads/master | 2022-12-12T04:59:55.403652 | 2020-08-30T00:56:25 | 2020-08-30T00:56:25 | 291,374,170 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 401 | hpp | #pragma once
// Everspace2_Prototype SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "ES2_BP_Condition_Utility_KinematicMode_PhysicsEnabled_classes.hpp"
namespace SDK
{
//---------------------------------------------------------------------------
//Parameters
//-----------------------------------------... | [
"darkmanvoo@gmail.com"
] | darkmanvoo@gmail.com |
d6f5b8cd237678d333f50d88caf8075fa97fe561 | c8420955b0b2b7893ac2353fa680be9637d910fc | /export/windows/cpp/obj/src/haxe/Resource.cpp | 8016209ff571f011f51684274da1aa017ba2e41a | [
"Unlicense"
] | permissive | Misto423/ColorWheelGame | 056cbc4f5b3ea32b841ba3eca7f6bfe6a039398d | cbbe986c6cdcd27919e45f7484a8d293a6d67811 | refs/heads/master | 2021-01-22T02:40:44.760389 | 2014-12-07T18:24:08 | 2014-12-07T18:24:08 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,634 | cpp | #include <hxcpp.h>
#ifndef INCLUDED_haxe_Resource
#include <haxe/Resource.h>
#endif
#ifndef INCLUDED_haxe_io_Bytes
#include <haxe/io/Bytes.h>
#endif
namespace haxe{
Void Resource_obj::__construct()
{
return null();
}
//Resource_obj::~Resource_obj() { }
Dynamic Resource_obj::__CreateEmpty() { return new Resource_o... | [
"misto423@gmail.com"
] | misto423@gmail.com |
8e2631d01ae6256e92b2d12719ce590e95ce98de | dc66632dac12081000da3c8fe551431e4239c413 | /viewer-development/indra/llui/llf32uictrl.cpp | 7728292301b0a29a5d7433fdb76e70e1393568d1 | [] | no_license | MAPSWorks/GIS | ea115b1d4f68fefe42aef91482d440f6c6407d7f | 6bd74a125a35d33a763046a7cc506bdd7a629919 | refs/heads/master | 2020-04-07T16:34:38.952498 | 2012-02-06T20:25:34 | 2012-02-06T20:25:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,543 | cpp | /**
* @file llf32uictrl.cpp
* @author Nat Goodspeed
* @date 2008-09-08
* @brief Implementation for llf32uictrl.
*
* $LicenseInfo:firstyear=2008&license=viewerlgpl$
* GIS Viewer Source Code
* Copyright (C) 2010, Linden Research, Inc.
*
* This library is free software; you can redistribute it and/or
* m... | [
"hiz.wylder@gmail.com"
] | hiz.wylder@gmail.com |
b1f1c9b866781cefa568a2ab3d46ba9ebb54b839 | f1d0ea36f07c2ef126dec93208bd025aa78eceb7 | /Zen/StudioPlugins/ArtLibraryModel/src/ArtAssetExplorerNodeDataCollection.cpp | a1f7e6d9d9dbcee937f831e178fb9029e20a4b53 | [] | no_license | SgtFlame/indiezen | b7d6f87143b2f33abf977095755b6af77e9e7dab | 5513d5a05dc1425591ab7b9ba1b16d11b6a74354 | refs/heads/master | 2020-05-17T23:57:21.063997 | 2016-09-05T15:28:28 | 2016-09-05T15:28:28 | 33,279,102 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,123 | cpp | //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~
// Zen Spaces
//
// Copyright (C) 2001 - 2009 Tony Richards
//
// Licensed under the Games by Sarge Publishing License - See your licensing
// agreement for terms and conditions.
//
// Do not redistribute this source code.
//
// ... | [
"mgray@wintermute"
] | mgray@wintermute |
75c9b637915ebef3686dd6ad1f25c9a1ced2d7bf | 5654566c58aa91c269753f80ecf92b3fd76b0360 | /ej4exTC2016/c++/dibujable.h | c6ab9627f23e288cd2c1186635f677e038f0f306 | [] | no_license | DarFig/ejTC | 0b3eb30940a16ec671628b51a5441cf0e132c03e | 3697c8163f5d9158a0bc2fcdd7493c11b5d6f068 | refs/heads/master | 2021-06-14T06:12:56.197172 | 2017-04-29T17:47:20 | 2017-04-29T17:47:20 | 65,808,971 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 209 | h | #pragma once
/*
*v2016-08-16
*
*/
class dibujable {
public:
float x, y, z;
dibujable(float _x, float _y, float _z) : x(_x), y(_y), z(_z){}
virtual void draw() {};
virtual void update(float t){}
}; | [
"Napsterdos@yahoo.es"
] | Napsterdos@yahoo.es |
fcf6cd3498ad72066fd29e60281d1bfa712cdf4b | 0d506fd7fb335cd8b7f6e578951e8a75e8cf1626 | /ch03/PointersIte.cpp | 7493db079b12d568a680bf8537ec695c1eebce02 | [] | no_license | imshenzhuo/CppPrimer | 613b7a0a20076db599ad1f0f2187a954f7d79b84 | 87c74c0a36223e86571c2aedd9da428c06b04f4d | refs/heads/master | 2020-07-22T15:02:20.808936 | 2020-02-29T16:08:40 | 2020-02-29T16:08:40 | 207,240,474 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 590 | cpp | /*************************************************************************
> File Name: PointersIte.cpp
> Author: shenzhuo
> Mail: im.shenzhuo@gmail.com
> Created Time: 2019年08月28日 星期三 14时57分38秒
************************************************************************/
#include<iostream>
using namespac... | [
"im.shenzhuo@gmail.com"
] | im.shenzhuo@gmail.com |
0886f8fb4ebd0c325a5277a57b4c8c87a45efc33 | e2ef305f927d17faf75d03d283298a42f3ff2e84 | /ArUco/utils_calibration/aruco_calibration_fromimages.cpp | 9b8f052418376ebde04f16117fd08485b594d777 | [
"BSD-2-Clause"
] | permissive | SheehanChen/AR-with-OpenCV | 285c97e47fa35d6179f9af32b8f9bee417a04739 | d35fe7ec41594a1bef8e166af47cd6ad6301b11c | refs/heads/master | 2022-01-08T08:04:04.434588 | 2019-01-09T03:17:34 | 2019-01-09T03:17:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,848 | cpp | /**
Copyright 2017 Rafael Muñoz Salinas. 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
conditions and th... | [
"wutongyuxuan@163.com"
] | wutongyuxuan@163.com |
37fcced85067cf66aaa246479aed88e74853afd1 | 6694676178f274c1c83a4ca3c699ab126ff164c3 | /src/Human.hpp | f558b2305a3601995f096cc3d2b89c6316690954 | [] | no_license | Batname/directives_makefile_example | cfed309ed68f5637f2a20b567dfa6a2d41c5fd22 | c28361f8d99d4cf101dea59bb1ffab305c0d565b | refs/heads/master | 2021-01-21T17:38:35.642552 | 2017-05-21T17:34:45 | 2017-05-21T17:34:45 | 91,975,571 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 137 | hpp | #ifndef HUMAN
#define HUMAN
class Human
{
public:
Human(int age);
void PrintAge();
protected:
private:
int Age;
};
#endif | [
"dadubinin@gmail.com"
] | dadubinin@gmail.com |
4c7aa0090b48fe1e8b2acfd4024a25524e15b975 | 33a52c90e59d8d2ffffd3e174bb0d01426e48b4e | /uva/00200-/00273.cc | 83d14fc1d7aeb0d593f387d7da02adce40cfc77a | [] | no_license | Hachimori/onlinejudge | eae388bc39bc852c8d9b791b198fc4e1f540da6e | 5446bd648d057051d5fdcd1ed9e17e7f217c2a41 | refs/heads/master | 2021-01-10T17:42:37.213612 | 2016-05-09T13:00:21 | 2016-05-09T13:00:21 | 52,657,557 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,296 | cc | #include<iostream>
#include<complex>
#include<algorithm>
#define SEG 20
#define OPE 100000
using namespace std;
typedef complex<int> Point;
class Segment{
public:
Point bgn, end;
Segment(){}
Segment(Point b, Point e): bgn(b), end(e){}
};
class Dset{
public:
int nSet;
int adj[SEG], rank[SEG];
D... | [
"ben.shooter2@gmail.com"
] | ben.shooter2@gmail.com |
636bcda2c254522e5d3be094445e81e8af75ba78 | afcb975d20a26f4437a6e865768f8f8e0797face | /quant/quant.h | 75cbc742faa6d7ad292aab9144a145e1f498372c | [] | no_license | asialiugf/study | 5f1a3c9a34b7018d956fb0fec31be21d7eac70ad | 2072227683d060b00d3bebd92a06223d59a7f487 | refs/heads/master | 2023-07-08T15:06:58.834805 | 2021-08-15T08:22:23 | 2021-08-15T08:22:23 | 77,110,795 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 344 | h | #ifndef _SEE_QUANT
#define _SEE_QUANT 1
#pragma GCC system_header
#include <bits/c++config.h>
#include <ostream>
#include <istream>
namespace SEE(default)
{
class BAR
{
public:
double h;
double o;
double c;
double l;
double v;
char date[8];
char time[8];
}
} /* end of namespace SEE */
... | [
"asialiugf@sina.com"
] | asialiugf@sina.com |
a8c52f1d67a5a212f269c9406981a7759ab0b56d | 1086ef8bcd54d4417175a4a77e5d63b53a47c8cf | /Forks/Online-Judges-Problems-SourceCode-master/UVa/10337 - Flight Planner.cpp | d897d78db17fbfcbb207a430ac9c93b40b3f80b3 | [] | no_license | wisdomtohe/CompetitiveProgramming | b883da6380f56af0c2625318deed3529cb0838f6 | a20bfea8a2fd539382a100d843fb91126ab5ad34 | refs/heads/master | 2022-12-18T17:33:48.399350 | 2020-09-25T02:24:41 | 2020-09-25T02:24:41 | 298,446,025 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,416 | cpp | //============================================================================
// File : 10337 - Flight Planner.cpp
// Author : AHMED HANI IBRAHIM
// Copyright : AHani
// Version : UVa - Accepted - 0.008
// Created on September 7, 2012, 6:39 PM
//=======================================================... | [
"elmanciowisdom@gmail.com"
] | elmanciowisdom@gmail.com |
bad6cbe4ca162ece9d478f39deb2672d40fbc91b | 5fb0ce19853cdbf21543b438272ca187e063a433 | /solutions/easy/728.cpp | 3b2bd4c767e0538b5632bfb8c1d94407446a0624 | [] | no_license | temanisparsh/leetcode | f4238dc0566239ac807d3e131e31af3d6c6cf05b | 5e291843ddf9deba3e2f28804dc38395e1025f1d | refs/heads/master | 2023-03-28T13:38:01.607424 | 2020-10-16T13:41:54 | 2020-10-16T13:41:54 | 294,234,906 | 9 | 1 | null | 2020-10-15T17:39:54 | 2020-09-09T21:34:43 | JavaScript | UTF-8 | C++ | false | false | 533 | cpp | #include <iostream>
#include <bits/stdc++.h>
using namespace std;
class Solution {
public:
vector<int> selfDividingNumbers(int left, int right) {
vector<int> res;
for(int i = left; i <= right; i++) {
int isValid = 1;
int num = i;
while (num) {
... | [
"sparshtemani31415@gmail.com"
] | sparshtemani31415@gmail.com |
750e24459d89f5a1ef83997dcce955bce8d0c67a | aba765c5993b8d1074622441089a55a1610ce18e | /snap/glib-core/bd.cpp | 472276f73bd8d132f881dffc2ed92ba1097dc7bf | [
"BSD-3-Clause",
"Apache-2.0"
] | permissive | karmaresearch/trident | cbf3dfa7d81c93ac40c76782564d0e453f605fa3 | 621ed49c648c811d5f69617833539f419766d3be | refs/heads/master | 2023-08-03T23:09:38.295697 | 2023-07-19T07:21:15 | 2023-07-19T07:21:15 | 97,223,343 | 23 | 9 | Apache-2.0 | 2021-09-30T09:04:25 | 2017-07-14T10:40:40 | C++ | UTF-8 | C++ | false | false | 4,025 | cpp | #if SW_TRACE
#include <execinfo.h>
#endif
/////////////////////////////////////////////////
// Mathmatical-Errors
#if defined(__BCPLUSPLUS__) && (__BCPLUSPLUS__==0x0530)
struct __exception {
int type; /* Exception type */
char* name; /* Name of function causing exception */
double a... | [
"jacopo@cs.vu.nl"
] | jacopo@cs.vu.nl |
13b31618ef1901ddca884129f0ad0af45d5df8e9 | eb9b85c5ebeb4f464b3ef3f31f2afa1f0f0118ec | /src/Graphics/window.h | fb2c6f3f3196beddf8c0c4c18e964720a110a342 | [] | no_license | jaankaup/my_opencl_project | d21279ff437f63c97ae5204fd011563e6c85a4ee | bd41cb1403f315d0ce412d8818649aa0308c0e62 | refs/heads/main | 2023-04-06T17:29:57.712474 | 2019-09-30T14:31:28 | 2019-09-30T14:31:28 | 362,106,978 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,033 | h | #ifndef WINDOW_H
#define WINDOW_H
//#include <memory>
//#include <memory>
#include <SDL2/SDL.h>
#include <GL/glew.h>
#include "../Program/InputCache.h"
struct SDL_Window;
using SDL_GLContext = void*;
/* A window class using SDL2 window. */
class Window
{
public:
static Window* getInstance();
// Swaps bu... | [
"janne.a.kauppinen@student.jyu.fi"
] | janne.a.kauppinen@student.jyu.fi |
2347bb494c43a184599bcfa92faced8541c3e3b1 | b4feb23bc7e97aa9bdf5e123e61c4c977b79e26c | /OpenWinL_cpp/Manager.cpp | cefefe80c332f2f4010896c4205e67ad32534a77 | [] | no_license | yuni-net/OpenWinL | d29aa5c35e65a338626b7f415185d8c2f686b4e0 | 8365fc3fe718aff0c1b43c747ec17764da8500e6 | refs/heads/master | 2021-01-10T21:58:02.156043 | 2015-11-03T21:30:28 | 2015-11-03T21:30:28 | 41,798,308 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,498 | cpp | #include <Manager.h>
#include <popular.h>
#include <Window.h>
namespace ow
{
bool Manager::init()
{
const int default_width = 960;
const int default_height = 600;
return get_instance().init_dynamic(default_width, default_height);
}
bool Manager::init(const int screen_width, const int screen_height)
{
ret... | [
"yuni.net.liberty@gmail.com"
] | yuni.net.liberty@gmail.com |
a46fd5b09de759719fb7e3dbe566d888f1da71ea | bb287b07de411c95595ec364bebbaf44eaca4fc6 | /src/transactions/SignatureUtils.h | f9f829600625cd5e78e5c470ed58c185b613009e | [
"BSD-3-Clause",
"BSL-1.0",
"Apache-2.0",
"LicenseRef-scancode-public-domain",
"MIT",
"BSD-2-Clause"
] | permissive | viichain/vii-core | 09eb613344630bc80fee60aeac434bfb62eab46e | 2e5b794fb71e1385a2b5bc96920b5a69d4d8560f | refs/heads/master | 2020-06-28T06:33:58.908981 | 2019-08-14T02:02:13 | 2019-08-14T02:02:13 | 200,164,931 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 591 | h | #pragma once
#include "xdr/vii-types.h"
namespace viichain
{
class ByteSlice;
class SecretKey;
struct DecoratedSignature;
struct SignerKey;
namespace SignatureUtils
{
DecoratedSignature sign(SecretKey const& secretKey, Hash const& hash);
bool verify(DecoratedSignature const& sig, SignerKey const& signerKey,
... | [
"viichain"
] | viichain |
973acca9a09a7f29bd23fadaebd5e95aab6847f6 | a61a21484fa9d29152793b0010334bfe2fed71eb | /Skyrim/src/BSScript/BSScriptClass.cpp | 51ae93ab76fb1d13b2d31d3daccb81f4f259ab07 | [] | no_license | kassent/IndividualizedShoutCooldowns | 784e3c62895869c7826dcdbdeea6e8e177e8451c | f708063fbc8ae21ef7602e03b4804ae85518f551 | refs/heads/master | 2021-01-19T05:22:24.794134 | 2017-04-06T13:00:19 | 2017-04-06T13:00:19 | 87,429,558 | 3 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 1,030 | cpp | #include "Skyrim.h"
#include "Skyrim/BSScript/BSScriptClass.h"
#include "Skyrim/BSScript/BSScriptIFunction.h"
#include <string.h>
namespace BSScript
{
bool BSScriptClass::IsBaseOf(const BSScriptClass* a_cass) const
{
const BSScriptClass* p = a_cass;
while (p)
{
if (p == this)
break;
p = p->GetParent(... | [
"wangzhengzewzz@gmail.com"
] | wangzhengzewzz@gmail.com |
dc4f8c9a1f3b95d405b4d0a72a08bc17bb7eedd6 | 6db4d9744ecb7ab23b9107bb80d90d31984916da | /samples/LHW/Classes/game/ViewGameTap.cpp | 7ac22c5e13bb881dc76c2f649d49b0152efeb71e | [] | no_license | centurywar/LHW | 32d7a26f6712386219160c3d8c38957cf908b9cb | d17a71867962f2fda6d2edec4fa6efa546e1824d | refs/heads/master | 2021-01-24T03:36:26.736594 | 2012-12-22T16:58:59 | 2012-12-22T16:58:59 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,569 | cpp | //
// ViewGameTap.cpp
// TestCpp
//
// Created by 万斌 on 12-12-16.
//
//
#include "ViewGameTap.h"
ViewGameTap::ViewGameTap()
{
labTitle->setString("Ready?");
tapCount = 0;
tapTime = 5;
btnFrog = CCMenuItem::create(this, menu_selector(ViewGameTap::forgTog));
btnFrog->setPosition(ccp(window.wi... | [
"wanbin89731@163.com"
] | wanbin89731@163.com |
308c0db0bb1be3933856342ad927a742890f7cb9 | 06dfcdaf0c432e4488f162f7b6d4a583a450600a | /programmers/level3/단속카메라.cpp | 9d51deadd583ba76621edd909a3cf1361f137148 | [] | no_license | sumniy/algorithm_study | 3941534a323e93cfca370f5d6614d6582ba10348 | a02faeb4e208764849414ae7f355855808221311 | refs/heads/master | 2020-12-12T04:13:07.798260 | 2020-10-16T15:20:46 | 2020-10-16T15:20:46 | 234,039,807 | 0 | 0 | null | 2020-05-06T04:34:47 | 2020-01-15T08:58:27 | C++ | UTF-8 | C++ | false | false | 1,054 | cpp | #include <string>
#include <vector>
#include <queue>
#include <algorithm>
#include <iostream>
using namespace std;
bool cmp(vector<int> a, vector<int> b)
{
return a[0] < b[0];
}
int solution(vector<vector<int>> routes) {
ios_base :: sync_with_stdio(false);
cin.tie(NULL);
cout.tie(NULL);
int answer... | [
"sumniy94@gmail.com"
] | sumniy94@gmail.com |
7094207c46ea52c69543366d55936e3c9e80171c | 4691982b2a5641baa142d68f6f90a7c0defa58d9 | /code3save/main.cpp | 8bed7972491adc6c3bb1b171363764b301938c8e | [] | no_license | WillieTaylor/simgen | f31464a6e2f4f5531be36e1e99a48b6250197add | b10a0be6d8462b802b29e4e42501aa9e5dc295eb | refs/heads/master | 2021-01-11T06:19:41.807880 | 2017-01-10T15:22:15 | 2017-01-10T15:22:15 | 69,450,888 | 4 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 5,794 | cpp | #include "util.hpp"
#include "geom.hpp"
#include "cell.hpp"
#include "data.hpp"
int argcin; char** argvin;
void params ( FILE* );
void models ( FILE* );
void driver ();
void bumper ();
void shaker ();
void potter ( int, int );
void tinker ( float, int, int, int );
void keeper ( Cell* );
void bonder ( Cell* );
void li... | [
"william.taylor@crick.ac.uk"
] | william.taylor@crick.ac.uk |
8fe1a3e47127244a85ad445b7375f555de584de7 | 481c025d70a45a5861ab0ae9f3fe009647b46651 | /Assignment 8/repeatArrayMain.cpp | 351f15b5a28190497bb5a5f6c2eef4867bb441c3 | [] | no_license | cfrisby/CS161 | 1f8a83cb1e15a1143780f99c2648c92d51c7f572 | 5f052b6178f18d61f8881fdeacf8a419b029e50f | refs/heads/master | 2021-07-14T01:22:03.291665 | 2019-04-27T03:48:46 | 2019-04-27T03:48:46 | 100,557,038 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 333 | cpp | #include <iostream>
using std::cout;
using std::endl;
void repeatArray(double* &array, int size);
int main()
{
double* myArray = new double[10];
for (int i=0; i<10; i++)
myArray[i] = (i+3)*8;
repeatArray(myArray, 10);
for (int i=0; i<20; i++)
cout << myArray[i] << endl;
delete ... | [
"cuylerfris@gmail.com"
] | cuylerfris@gmail.com |
83f2c346427c5b83e690fc93823e0dc842da725e | c7272e93df5e9f68c36385308da28a944e300d9d | /350. Intersection of Two Arrays II.h | 2cb77548ad64dbeab962d94fbcbe2f333318e184 | [
"MIT"
] | permissive | Mids/LeetCode | 368a941770bc7cb96a85a7b523d77446717a1f31 | 589b9e40acfde6e2dde37916fc1c69a3ac481070 | refs/heads/master | 2023-08-13T13:39:11.476092 | 2021-09-26T09:29:18 | 2021-09-26T09:29:18 | 326,600,963 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 781 | h | //
// Created by jin on 1/14/2021.
//
#ifndef LEETCODE_350_INTERSECTION_OF_TWO_ARRAYS_II_H
#define LEETCODE_350_INTERSECTION_OF_TWO_ARRAYS_II_H
#include<algorithm>
using namespace std;
class Solution {
public:
vector<int> intersect(vector<int> &nums1, vector<int> &nums2) {
int size1 = nums1.size(), size2 = nums2... | [
"jinpark.dev@gmail.com"
] | jinpark.dev@gmail.com |
75dc2332dab648efe2b3d1f6bc74f628ad6a3542 | 91b98f84f22ee2f2491141f808593cd78c139d7f | /treelodreferencecaching.h | 9518f2ce630849d845c8c9fc038317efba4979b0 | [
"MIT"
] | permissive | rollingrock/EngineFixesVR | 67f0077169712b0a22280e2e5038d234237235d1 | d936583776561053421a4c6bed0d9de440d53556 | refs/heads/master | 2023-02-12T21:53:51.157463 | 2023-01-30T21:01:37 | 2023-01-30T21:01:37 | 254,220,945 | 75 | 9 | MIT | 2023-01-30T20:34:08 | 2020-04-08T23:10:07 | C++ | UTF-8 | C++ | false | false | 458 | h | #pragma once
#include "skse64/GameEvents.h"
namespace patches {
class CellEventHandler : public BSTEventSink<TESCellAttachDetachEvent> {
public:
virtual EventResult ReceiveEvent(TESCellAttachDetachEvent* evn, EventDispatcher<TESCellAttachDetachEvent>* dis) {
//_MESSAGE("attached is %d", evn->attached);
if ... | [
"rollingrock16@gmail.com"
] | rollingrock16@gmail.com |
3baa36ccbcf69bcb603a7f3a5e6bc4b84652f6bc | eb8d36a89dbaeffeedd8584d970aa2b33a8b2c6e | /CQ-0177/sequence/sequence.cpp | ab53765f4b7d9f68e54b7f025bdfcbc6d43a900d | [] | no_license | mcfx0/CQ-NOIP-2021 | fe3f3a88c8b0cd594eb05b0ea71bfa2505818919 | 774d04aab2955fc4d8e833deabe43e91b79632c2 | refs/heads/main | 2023-09-05T12:41:42.711401 | 2021-11-20T08:59:40 | 2021-11-20T08:59:40 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 896 | cpp | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
const ll p = 998244353;
ll n, m, k, x, ans, v[105], sum[256], a[256];
bool check() {
x = a[0] = 0;
for(int i = 0; i < 150; ++i) {
a[i] += sum[i];
a[i + 1] = a[i] / 2;
x += a[i] % 2;
if(x > k) return false;
}
return true;
}
void dfs(ll pos, ... | [
"3286767741@qq.com"
] | 3286767741@qq.com |
dd906a132283548a2481ea4d01788487a60bfcd9 | 6fda6deb8811bb7a76e091c8cb4a7e9fa58a20c3 | /Semester 3/core_wars/model/instructions.cpp | d462182b0d1858824a14a6a1b5c35355bc902cfb | [] | no_license | ValeraTM/Java | 8008b82d6385dc8becfb48e85120870c7e3281ce | 02d823eb628e27acef3b5521b9636dbc6d597fa8 | refs/heads/master | 2020-07-09T01:16:40.193776 | 2019-06-03T03:04:22 | 2019-06-03T03:04:22 | 203,833,165 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 683 | cpp | #include "factory.h"
#include "instructions.h"
#include <cstddef> //size_t
#include <string>
#include <utility> //std::pair
#include <sstream>
void Instruction::initialize(const std::pair<char, int>& A1, const std::pair<char, int>& B1) {
A = A1;
B = B1;
}
int& Instruction::operandA() {
return A.seco... | [
"v.malkhanov@g.nsu.ru"
] | v.malkhanov@g.nsu.ru |
26d3961f2cac40d6a007aa1e17f7127a34f7db87 | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/curl/gumtree/curl_repos_function_1599_curl-7.51.0.cpp | 5128b5990222375e8bb9f8ab730231f119a91001 | [] | no_license | niuxu18/logTracker-old | 97543445ea7e414ed40bdc681239365d33418975 | f2b060f13a0295387fe02187543db124916eb446 | refs/heads/master | 2021-09-13T21:39:37.686481 | 2017-12-11T03:36:34 | 2017-12-11T03:36:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,969 | cpp | static int showit(struct Curl_easy *data, curl_infotype type,
char *ptr, size_t size)
{
static const char s_infotype[CURLINFO_END][3] = {
"* ", "< ", "> ", "{ ", "} ", "{ ", "} " };
#ifdef CURL_DOES_CONVERSIONS
char buf[BUFSIZE+1];
size_t conv_size = 0;
switch(type) {
case CURLINFO_HEA... | [
"993273596@qq.com"
] | 993273596@qq.com |
e5e1292e7ca6cc7a76c1a847f789871155ba2be9 | 1fb357bb753988011e0f20c4ca8ec6227516b84b | /LHPC/include/BOLlib/source/ArgumentParser.cpp | b90b5f1bdd0afccb66cb04dadfc479d99bfa2222 | [
"DOC"
] | permissive | silvest/HEPfit | 4240dcb05938596558394e97131872269cfa470e | cbda386f893ed9d8d2d3e6b35c0e81ec056b65d2 | refs/heads/master | 2023-08-05T08:22:20.891324 | 2023-05-19T09:12:45 | 2023-05-19T09:12:45 | 5,481,938 | 18 | 11 | null | 2022-05-15T19:53:40 | 2012-08-20T14:03:58 | C++ | UTF-8 | C++ | false | false | 2,296 | cpp | /*
* ArgumentParser.cpp
*
* Created on: Sep 13, 2012
* Author: Ben O'Leary (benjamin.oleary@gmail.com)
*
* This file is part of BOLlib, released under the
* GNU General Public License. Please see the accompanying
* README.BOLlib.txt file for a full list of files, brief documentation
* ... | [
"shehu@cantab.net"
] | shehu@cantab.net |
c1dbcf3cb0b5916a6a6f4d2ee6f98ce7c66b2283 | 9ec67e83200f643f9f55ed90e0b2cae4581ebcb6 | /InputLib/InputDataFormats.h | d53e2bb40a0a4dcdddb00bf159bae6f0eee4b834 | [] | no_license | andrewpaterson/Codaphela.Library | 465770eaf2839589fc305660725abb38033f8aa2 | 2a4722ba0a4b98a304a297a9d74c9b6811fa4ac5 | refs/heads/master | 2023-05-25T13:01:45.587888 | 2023-05-14T11:46:36 | 2023-05-14T11:46:36 | 3,248,841 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,443 | h | /** ---------------- COPYRIGHT NOTICE, DISCLAIMER, and LICENSE ------------- **
Copyright (c) 2009 Andrew Paterson
This file is part of The Codaphela Project: Codaphela InputLib
Codaphela InputLib is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as p... | [
"andrew.ian.paterson@gmail.com"
] | andrew.ian.paterson@gmail.com |
47b9b5f75338a3bcc1a4abe4ea4fdcd12155584b | 7c650903a326e0fd740a2ae24414d948f5fa7c4e | /Colts_work/scrap/mar27_2016/gr-Research/lib/new_qpsk_demod_cb_impl.h | 2f5a78b5c5a2222feffc19f11dd85465fd2b4ac7 | [] | no_license | yywynneyang/Research_W2016 | 837dbc31c60ed18bc4bdf3474602913102c681a5 | 317adf1ae01ef80634635e0d40ef17209dc32b7e | refs/heads/master | 2020-04-15T05:03:50.621487 | 2016-04-13T19:50:59 | 2016-04-13T19:50:59 | 51,401,817 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,646 | h | /* -*- c++ -*- */
/*
* Copyright 2016 <+YOU OR YOUR COMPANY+>.
*
* This is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3, or (at your option)
* any later version.
*
* This software i... | [
"cmthomas000@gmail.com"
] | cmthomas000@gmail.com |
029e3a4e3dfce3d3aefb2aede18f0816e70fb4b5 | 6b2a8dd202fdce77c971c412717e305e1caaac51 | /solutions_5640146288377856_1/C++/DoDoHushHush/a.cpp | 2e518b543fad7960fabfda5a6ac928df7efddcf6 | [] | no_license | alexandraback/datacollection | 0bc67a9ace00abbc843f4912562f3a064992e0e9 | 076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf | refs/heads/master | 2021-01-24T18:27:24.417992 | 2017-05-23T09:23:38 | 2017-05-23T09:23:38 | 84,313,442 | 2 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 314 | cpp | #include <iostream>
#include <stdio.h>
#include <stdlib.h>
using namespace std;
int main() {
int t;
cin>>t;
for(int tt=1;tt<=t;tt++){
int r,c,w;
cin>>r>>c>>w;
int ha;
if(c%w==0)ha=(c/w)+(w-1);
else ha=(c/w)+w;
cout<<"Case #"<<tt<<": "<<ha+(r-1)*(c/w)<<endl;
}
return 0;
}
| [
"eewestman@gmail.com"
] | eewestman@gmail.com |
a63a4ed3909e906a07640c87007ad292c48132c2 | d20f0bfe5343bf1e92e7eafcf3f534f275f791c4 | /Component/CEquationsPrinter.cpp | 2c2a95f4030fa75ebae1b190499206053280c715 | [] | no_license | ShiloDenis1997/COM.2017.LUEquationsSolver | efdd81808035aca709e137531794fff07f406a05 | 07d472ca9ed8151c015c831d03d264b061c10e96 | refs/heads/master | 2020-05-23T04:35:26.420990 | 2017-04-08T13:13:16 | 2017-04-08T13:13:16 | 84,749,030 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,868 | cpp | #include "CEquationsPrinter.h"
void printTrace(const char* msg) { std::cout << msg << std::endl; }
void CEquationsPrinter::PrintLMatrix() const
{
if (owner->m_LUmatr == nullptr)
{
std::cout << TEXT("No matrix provided") << std::endl;
}
for (int i = 0; i < owner->m_N; i++)
{
for (int j = 0; j < owner->m_N; j... | [
"shilo.denis.1997g@gmail.com"
] | shilo.denis.1997g@gmail.com |
dcc91811b09f46bc4d79e228ce906f62adffab44 | 927c2b11739dccab27a44d5c1c76bbbc38add8f1 | /Practice/PTA 数据结构与算法题目集(中文)/5-9 旅游规划/5-9 旅游规划/main.cpp | 55193bf00547a4d2e82419f8f7ef5fdb83c08680 | [] | no_license | civinx/ACM_Code | 23034ca3eecb9758c3c00a519f61434a526e89cc | d194ee4e2554a29720ac455e6c6f86b3219724ee | refs/heads/master | 2021-09-15T06:18:09.151529 | 2018-05-27T18:07:25 | 2018-05-27T18:07:25 | 105,544,957 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,508 | cpp | //
// main.cpp
// 5-9 旅游规划
//
// Created by czf on 16/2/26.
// Copyright © 2016年 czf. All rights reserved.
//
#include <iostream>
#include <vector>
#include <queue>
#include <string>
using namespace std;
const int INF = 0xfffffff;
const int maxn = 500 + 5;
struct Dijkstra {
struct Edge {
int from, to,... | [
"31501293@stu.zucc.edu.cn"
] | 31501293@stu.zucc.edu.cn |
2142d0a14d60999f25c68abec6506567f05a51c8 | 0b7f95a5a66eaa35738cd4e6b553e49175301959 | /Source/System/Core/OS-API/OSAPI.hpp | 0e66ee335248d4e7509da5c8626fecc146af1c6e | [
"MIT",
"LicenseRef-scancode-public-domain"
] | permissive | arian153/Engine5th | f993b45122de49e305e698f44ac9be4e2462a003 | 34f85433bc0a74a7ebe7da350d3f3698de77226e | refs/heads/master | 2021-11-19T20:09:20.716035 | 2021-09-04T05:59:27 | 2021-09-04T05:59:27 | 219,928,073 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 550 | hpp | #pragma once
#if defined(E5_WIN32)
//classes
#define OSAPI OSWin32
#define KeyboardInputAPI KeyboardInputWin32
#define MouseInputAPI MouseInputWin32
#define GamePadInputAPI GamePadInputWin32
//includes
#define IncludeOSAPI "Win32/OSWin32.hpp"
#define IncludeKeyboardAPI "../OS-API/Win32/KeyboardInputWin32.hpp"
#define ... | [
"p084111@gmail.com"
] | p084111@gmail.com |
fa6860169879a471ac4004afac9db61da389b1c3 | 25da30573b1c06324f3231a897a1bb8483b78ead | /0tmp/push_derived_into_vec.cc | 02a09d6634c23dffd5f5a6e580c4315f07d4e508 | [] | no_license | cedric-sun/happy_hacking_cxx20 | 34c7027a679fc284b45e640891c57af647621e95 | ac126b6a0ceeb1747d5bf0e91a0254426393d768 | refs/heads/master | 2023-02-03T17:47:30.074151 | 2020-12-19T03:33:24 | 2020-12-19T03:33:24 | 294,602,449 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 344 | cc | // cesun, 10/17/20 7:55 PM.
struct A {
int avalue = 3;
};
struct B : public A {
int bvalue = 5;
};
#include <vector>
#include <cstdio>
int main() {
std::vector<A *> avec;
B binst;
binst.bvalue = 444;
avec.push_back(&binst);
printf("%d %d\n", avec.front()->avalue, reinterpret_cast<B*>(ave... | [
"sunce@ufl.edu"
] | sunce@ufl.edu |
d3d9c2b6829f00d61d7415360b1b01a595482378 | ce7453e65bc63cfffa334a39a368891eab082f29 | /mediatek/custom/common/hal/imgsensor/ov5647_mipi_raw/camera_calibration_cam_cal.cpp | af17a40dc0bb9f989ca36357d8f9b80a71ae4d1f | [] | no_license | AdryV/kernel_w200_kk_4.4.2_3.4.67_mt6589 | 7a65d4c3ca0f4b59e4ad6d7d8a81c28862812f1c | f2b1be8f087cd8216ec1c9439b688df30c1c67d4 | refs/heads/master | 2021-01-13T00:45:17.398354 | 2016-12-04T17:41:24 | 2016-12-04T17:41:24 | 48,487,823 | 7 | 10 | null | null | null | null | UTF-8 | C++ | false | false | 50,028 | cpp | #define LOG_TAG "CamCalCamCal"
#include <cutils/xlog.h> //#include <utils/Log.h>
#include <cutils/properties.h>
#include <fcntl.h>
#include <math.h>
//seanlin 120921 for 658x #include "MediaHal.h"
//#include "src/lib/inc/MediaLog.h" //#include "src/lib/inc/MediaLog.h"
//#include "camera_custom_nvram.h"
#include "came... | [
"vetaxa.manchyk@gmail.com"
] | vetaxa.manchyk@gmail.com |
ec8f3636d84fda0d4bd303cad9c4de46fb3b8536 | b4eafb92231c3aa48961f3caec7f7295b1e28daf | /codetop/70.cpp | 15d5a6994bf1e65d554fa7485b976febbb84ccd6 | [] | no_license | want-food/leetcode | 8d11bc299eac455cb6d279a8fd8357d8954ea6e2 | c13ad3b3f7ed5d8996948eb17d04dd862de0946d | refs/heads/main | 2023-06-12T03:32:20.435768 | 2021-07-09T00:27:43 | 2021-07-09T00:27:43 | 332,108,019 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 659 | cpp | /*************************************************************************
> File Name: 70.cpp
> Author: dingchen
> Mail: 18811502859@163.com
> Created Time: Mon Jul 5 23:58:10 2021
************************************************************************/
#include <iostream>
using namespace std;
class Solutio... | [
"645743914@qq.com"
] | 645743914@qq.com |
224a3c71c43fe2e2c798ad01c435760b3ea37b89 | af0ecafb5428bd556d49575da2a72f6f80d3d14b | /CodeJamCrawler/dataset/13_22437_20.cpp | f9954f4edb981ab2f40cb8972169a56f73a68f85 | [] | no_license | gbrlas/AVSP | 0a2a08be5661c1b4a2238e875b6cdc88b4ee0997 | e259090bf282694676b2568023745f9ffb6d73fd | refs/heads/master | 2021-06-16T22:25:41.585830 | 2017-06-09T06:32:01 | 2017-06-09T06:32:01 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 912 | cpp | #include <string>
#include <algorithm>
#include <iostream>
#include <fstream>
#include <cmath>
using namespace std;
int palindrome(string word)
{
do{
string rev_word = word;
reverse(rev_word.begin(), rev_word.end());
if(word == rev_word)return 1;
else return 0;
}while (word != "END");
}
int main()
{
i... | [
"nikola.mrzljak@fer.hr"
] | nikola.mrzljak@fer.hr |
ba2babda7197c9c8777e36419fe091ceb34e73c5 | b71b8bd385c207dffda39d96c7bee5f2ccce946c | /testcases/CWE590_Free_Memory_Not_on_Heap/s02/CWE590_Free_Memory_Not_on_Heap__delete_array_struct_alloca_05.cpp | 2e46cefa80b3172c059439fd23f7d1f638b739c2 | [] | no_license | Sporknugget/Juliet_prep | e9bda84a30bdc7938bafe338b4ab2e361449eda5 | 97d8922244d3d79b62496ede4636199837e8b971 | refs/heads/master | 2023-05-05T14:41:30.243718 | 2021-05-25T16:18:13 | 2021-05-25T16:18:13 | 369,334,230 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,061 | cpp | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE590_Free_Memory_Not_on_Heap__delete_array_struct_alloca_05.cpp
Label Definition File: CWE590_Free_Memory_Not_on_Heap__delete_array.label.xml
Template File: sources-sink-05.tmpl.cpp
*/
/*
* @description
* CWE: 590 Free Memory Not on Heap
* BadSource: alloca Data buffer... | [
"jaredzap@rams.colostate.edu"
] | jaredzap@rams.colostate.edu |
37c6f73d49bef9421b1ec1f6cd36f1056f7b52d2 | 6f972188a65c5f2562f3f54fdf3eab2d636f91d5 | /Source/Engine/Core/Math/Plane.h | 5d863b101f36b3875aeceebcc4302c18be71a397 | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | everard/SELENE-Device | 7112b41c1c9fd0ea71051e29bd4b4eb3a6c7f18a | 775bb5cf66ba9fdbc55eac7b216e035c36d82954 | refs/heads/master | 2020-05-18T01:26:20.274659 | 2015-02-23T16:24:50 | 2015-02-23T16:24:50 | 6,096,086 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,133 | h | // Copyright (c) 2012 Nezametdinov E. Ildus
// Licensed under the MIT License (see LICENSE.txt for details)
#ifndef PLANE_H
#define PLANE_H
#include "Vector.h"
namespace selene
{
/**
* \addtogroup Math
* @{
*/
/**
* Represents plane in 3D space.
*/
... | [
"neil.log@gmail.com"
] | neil.log@gmail.com |
2389bc92adebeafc5ce7f6e8e64cb60bc72f2d76 | a0d97e57842892f29e77fb477441f86078d3a356 | /sources/layers/movelayerundocommand.h | 5d1e3a27e1e2749ef3b8a73cee8fcc4dd0933718 | [] | no_license | ymahinc/MyTypon | 89cac5385edeed2d171392e2160b62bf6ed2fd7f | 5fa2548d2cfa909575797474c66361772c9ce397 | refs/heads/master | 2020-04-27T21:03:20.178564 | 2019-03-09T10:56:12 | 2019-03-09T10:56:12 | 174,682,329 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 402 | h | #ifndef MOVELAYERUNDOCOMMAND_H
#define MOVELAYERUNDOCOMMAND_H
#include <QUndoCommand>
#include "layer.h"
#include "layersstack.h"
class MoveLayerUndoCommand : public QUndoCommand
{
public:
MoveLayerUndoCommand(LayersStack *stack, Layer *layer, bool up);
void undo();
void redo();
private:
LayersStack ... | [
"ymahinc@gmail.com"
] | ymahinc@gmail.com |
fa60ba14eca7cc88e90bd730706d185c3bd68caa | dffed8c214c1a4dfcc597aeb085d54f4a0e7825d | /LArSoftCodes/arxiv/wketchum_MCTruth_Anatree_Dec17/MCTruth/MCTruthBase/MCTruthParticleList.h | 98f5df709cd5dcf22d7e08a7e3ed198e3753f29c | [] | no_license | erezcoh4/CCQEana | 852cdc24eb3820ab8d291c0c23aa2b7fcefa1985 | ced8c88b4e3fee18a685bf353043c7a70288f82d | refs/heads/master | 2021-01-01T06:56:28.028517 | 2019-05-07T11:45:59 | 2019-05-07T11:45:59 | 97,554,037 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 17,358 | h | ////////////////////////////////////////////////////////////////////////
/// \file MCTruthParticleList.h
/// \brief Particle list in DetSim contains Monte Carlo particle information.
///
/// \version $Id: MCTruthParticleList.h,v 1.13 2010/05/13 16:12:20 seligman Exp $
/// \author seligman@nevis.columbia.edu
/////////... | [
"cohen.erez7@gmail.com"
] | cohen.erez7@gmail.com |
a99fe086dc03ceaf7e295c32d90cf1ec0041c011 | 42c64672a2a640646a2b66197da2e5134486a1bc | /mixExcel/FirstStep_Excel_Wirte2/FirstStep_Excel/CBorders.h | 6296d032eba2c759448a07a5cb4a7020c5cf2c7b | [] | no_license | 15831944/C_plus_plus | 898de0abd44898060460c9adcabade9f4849fece | 50a3d1e72718c6d577a49180ce29e8c81108cdfd | refs/heads/master | 2022-10-01T15:30:13.837718 | 2020-06-08T20:08:09 | 2020-06-08T20:08:09 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,225 | h | // Machine generated IDispatch wrapper class(es) created with Add Class from Typelib Wizard
// CBorders wrapper class
class CBorders : public COleDispatchDriver
{
public:
CBorders(){} // Calls COleDispatchDriver default constructor
CBorders(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {}
CBorders... | [
"logovopost@yandex.ru"
] | logovopost@yandex.ru |
73523d9b9df64c1eb5b3e48db6698c2ba115812d | 693d93174f43a81d8a65041553282a8872e3a6ff | /src/test/fuzz/float.cpp | 43410dc8e93a3002c77092fe5dd7d2f3a484ab00 | [
"MIT"
] | permissive | eleccoin/eleccoin | c075719d5ee676fc2bb9a21f3711d75d673655bd | 963f6d4a069e40ab2e46217e5d49bc94adda2c5c | refs/heads/master | 2022-11-13T02:38:36.662655 | 2022-10-30T08:56:57 | 2022-10-30T08:56:57 | 238,475,897 | 3 | 7 | MIT | 2022-01-10T07:29:19 | 2020-02-05T14:56:34 | C++ | UTF-8 | C++ | false | false | 2,677 | cpp | // Copyright (c) 2020-2021 The Eleccoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <memusage.h>
#include <test/fuzz/FuzzedDataProvider.h>
#include <test/fuzz/fuzz.h>
#include <test/fuzz/util.h>
#inc... | [
"unify@eleccoin.org"
] | unify@eleccoin.org |
83f61013b39ea5e054704cf89891879c418215eb | 387f582cdc6370bbfb364b35a0642d55ede59387 | /Plugins/AdvancedSteamSessions/Intermediate/Build/Win64/UE4Editor/Inc/AdvancedSteamSessions/AdvancedSteamFriendsLibrary.generated.h | 6e8084b408216a9b9a4c26d4e9c638adcff8acc6 | [] | no_license | ScottyO19/Medieval_Mayhem1 | 4b8c339e5ba350e30a3fcf14ef26ec1fd6f5761c | 09a988b821059efb897bd36570b6013066203d61 | refs/heads/main | 2023-02-27T11:56:23.030118 | 2021-01-26T19:21:43 | 2021-01-26T19:21:43 | 332,352,154 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,629 | h | // Copyright Epic Games, Inc. All Rights Reserved.
/*===========================================================================
Generated code exported from UnrealHeaderTool.
DO NOT modify this manually! Edit the corresponding .h files instead!
========================================================================... | [
"54415208+ScottyO19@users.noreply.github.com"
] | 54415208+ScottyO19@users.noreply.github.com |
2fcf4dfec4388d48c30237156da6a822da6fed7c | 1b81c39f0df3c195eb0aecc47d8675eb2c8a9434 | /source code/PathFinder.cpp | ad6f25b13498edfad681c90625ba43da54b21e4a | [] | no_license | Jarcionek/SEG | 8d542ebf476f88375d020999c8da6d5bb63205c6 | 59cdea9bffa5dd67b7baf1edcf97a67bf3d9d0ed | refs/heads/master | 2021-05-16T02:44:38.232404 | 2011-04-03T16:00:00 | 2012-05-08T17:24:24 | 4,263,278 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,044 | cpp | /*
* File: PathFinder.cpp
* Author: Group Papa
*/
#ifndef PATHFINDER_CPP
#define PATHFINDER_CPP
#include "PathFinder.h"
#include "Constants.cpp"
#include "Utilities.cpp"
PathFinder::PathFinder(MapSquare **grid) {
this->grid = grid;
PFgrid = new PathFinderSquare*[WIDTH];
for (int i = 0; i < WIDTH; i... | [
"jarcionek@users.noreply.github.com"
] | jarcionek@users.noreply.github.com |
9e1b9a32872e7bea297e7a2315c7186dd39a72a0 | 391b46772c6a7d0779d85fcbe3f15b76f5201619 | /CppExamples/CppExamples/10_24_25/Example36_10_24_25.cpp | 5bf22d0e813867d3c6786379b393a86973976a4e | [] | no_license | cicekozkan/CppExamples | b750775cccb73b6880152ef4f04b659389e7d910 | 05a8adf902a7e5b02d5f75aab56e7cf33e4601ae | refs/heads/master | 2021-01-20T10:30:37.773845 | 2016-02-10T15:52:50 | 2016-02-10T15:52:50 | 37,305,590 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 381 | cpp | // std::basic_ostream::put
// basic_ostream& put( char_type ch );
// Behaves as an UnformattedOutputFunction. After constructing and checking the sentry object, writes the character ch to the output stream.
// If the output fails for any reason, sets badbit.
#include <iostream>
using namespace std;
int main()
{
cha... | [
"ozkan.cicek@analog.com"
] | ozkan.cicek@analog.com |
87404cc9c3c1c7f16e4f798d246cffe6c094726a | 0897560a7ebde50481f950c9a441e2fc3c34ba04 | /10.0.15042.0/winrt/internal/Windows.ApplicationModel.Wallet.System.3.h | f265e658b43599490f4a164a2478348653fe2ea0 | [
"LicenseRef-scancode-generic-cla",
"MIT"
] | permissive | dngoins/cppwinrt | 338f01171153cbca14a723217129ed36b6ce2c9d | 0bb7a57392673f793ba99978738490100a9684ec | refs/heads/master | 2021-01-19T19:14:59.993078 | 2017-03-01T22:14:18 | 2017-03-01T22:14:18 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 757 | h | // C++ for the Windows Runtime v1.0.private
// Copyright (c) 2017 Microsoft Corporation. All rights reserved.
#pragma once
#include "Windows.ApplicationModel.Wallet.System.2.h"
WINRT_EXPORT namespace winrt {
namespace Windows::ApplicationModel::Wallet::System {
struct WINRT_EBO WalletItemSystemStore :
Windows:... | [
"kwelton@microsoft.com"
] | kwelton@microsoft.com |
548d9a3e09f7b03b7f063a95217bcb4261bbf416 | 89b4d54389227c6d58bf05f9b48454bd5a0f2e48 | /Module3/Algr_DZ3_1/CSetGraph.cpp | 21258bdd4d0ba88d031b8e25e1d2eb8e9aa0e2a9 | [] | no_license | ShelbyKS/AlgorithmsTP | 4ec47877623cdd825636980a5a6d7786140a0318 | f554d42b457ddbca84e1678665058548c9785d1f | refs/heads/master | 2023-05-31T03:40:10.809874 | 2018-12-25T14:06:57 | 2018-12-25T14:06:57 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,352 | cpp | //
// Created by liza_shch on 14.12.18.
//
#include "CSetGraph.h"
CSetGraph::CSetGraph(const IGraph *other): CSetGraph(other->VerticesCount()) {
for (int i = 0; i < VerticesCount(); i++) {
std::vector<int> nextVertices = other->GetNextVertices(i);
for (auto vertex : nextVertices) {
adj... | [
"scherbakova.liz@yandex.ru"
] | scherbakova.liz@yandex.ru |
89a71704975153e783b6182c9232a98eeebac606 | cffc460605febc80e8bb7c417266bde1bd1988eb | /before2020/UVa_ACM/104 - Volume CIV/UVa 10405(2.5, DP, LCS, fast-IO).cpp | b03d5b47d1a2a46dbab967276f27cdaea7950122 | [] | no_license | m80126colin/Judge | f79b2077f2bf67a3b176d073fcdf68a8583d5a2c | 56258ea977733e992b11f9e0cb74d630799ba274 | refs/heads/master | 2021-06-11T04:25:27.786735 | 2020-05-21T08:55:03 | 2020-05-21T08:55:03 | 19,424,030 | 7 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 685 | cpp | /**
* @judge UVa
* @id 10405
* @tag 2.5, DP, LCS, fast IO
*/
#include <cstdio>
#include <cstring>
#include <iostream>
using namespace std;
#define MAX 1010
#define HASH(x) ((x) & 1)
char s1[MAX], s2[MAX];
int dp[2][MAX], len1, len2;
int LCS()
{
int i, j;
memset(dp, 0, sizeof(dp));
for (i = 1; ... | [
"m80126colin@gmail.com"
] | m80126colin@gmail.com |
d7ae46a563cfdba6598a7ea89bc7cc1db81186ec | 8becf845df66d6be7e80ec74afddd860a1e8b248 | /http.h | 2ce159503d2fec67eb2e3add2ba7fd291e54e549 | [] | no_license | shawcm/toy-web-server | 31f511a1ea6b524ce83a47b32062c10655f1f8bc | 4c287efe25f209d1b4da329b636a0043cc20689b | refs/heads/master | 2023-04-29T07:22:23.543625 | 2021-05-13T07:23:42 | 2021-05-13T07:23:42 | 366,968,794 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,994 | h | #ifndef HTTP_H
#define HTTP_H
#include "util.h"
struct HttpHeader;
struct HttpRequest;
enum HttpMethod {
GET,
HEAD,
POST,
PUT,
DELETE,
TRACE,
OPTIONS,
CONNECT,
PATCH
};
enum HttpStatus {
OK = 200,
MovedPermanently = 301,
BadRequest = 400,
NotFound = 404,
Requ... | [
"comynshaw@gmail.com"
] | comynshaw@gmail.com |
cc33127355b0bc244575378b80ef7d8cc31df8a3 | 7dc53606032bd907765cccc88245c0efd3e495cb | /tests/lazy/dot/transform.hpp | 9c7554d5c07702db4ddb64a47a3ef28a89226d9c | [] | no_license | nerikhman/cusend | c8a1b2fd3fd428d492c6a682d40c0596214010a5 | 0c797af1a462a357af78df954d4aaf64fc038878 | refs/heads/master | 2022-11-19T20:01:37.025920 | 2020-07-17T22:12:30 | 2020-07-17T22:12:30 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,892 | hpp | #include <cassert>
#include <cstring>
#include <cusend/execution/executor/inline_executor.hpp>
#include <cusend/lazy/combinator/just.hpp>
#include <cusend/lazy/dot/transform.hpp>
namespace ns = cusend;
#ifndef __host__
#define __host__
#define __device__
#define __managed__
#define __global__
#endif
__managed__ i... | [
"jaredhoberock@gmail.com"
] | jaredhoberock@gmail.com |
40d1f188f4a058e8e378ceff1118b5c3bc137ef4 | dfa8ef7faf2c330b389e9b3435b5bdfbe1a08d68 | /src/processor/reorder_buffer_line.cpp | dede9c9837687fd1a05cb03f36697e299356ab69 | [] | no_license | gotojump/Simulator | f010f2a682c9dc73aa16acc19bd0d228011da79b | b6c59ade6b3eea53e446aea1a4bd244ce8f13e5d | refs/heads/master | 2020-04-09T00:24:24.640087 | 2018-12-03T13:52:47 | 2018-12-03T13:52:47 | 159,865,266 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,493 | cpp | /*
* Copyright (C) 2010~2014 Marco Antonio Zanata Alves
* (mazalves at inf.ufrgs.br)
* GPPD - Parallel and Distributed Processing Group
* Universidade Federal do Rio Grande do Sul
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of ... | [
"ericlowsez@gmail.com"
] | ericlowsez@gmail.com |
4d128aae6aac59fc5c8fd56766986ca2c25f5b35 | f83ef53177180ebfeb5a3e230aa29794f52ce1fc | /ACE/ACE_wrappers/TAO/tao/PolicyFactory_Registry_Factory.cpp | 3ba5530238293e65f74cd4fd815436737feb1bfa | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference",
"LicenseRef-scancode-proprietary-license",
"LicenseRef-scancode-sun-iiop"
] | permissive | msrLi/portingSources | fe7528b3fd08eed4a1b41383c88ee5c09c2294ef | 57d561730ab27804a3172b33807f2bffbc9e52ae | refs/heads/master | 2021-07-08T01:22:29.604203 | 2019-07-10T13:07:06 | 2019-07-10T13:07:06 | 196,183,165 | 2 | 1 | Apache-2.0 | 2020-10-13T14:30:53 | 2019-07-10T10:16:46 | null | UTF-8 | C++ | false | false | 202 | cpp | #include "tao/PolicyFactory_Registry_Factory.h"
TAO_BEGIN_VERSIONED_NAMESPACE_DECL
TAO_PolicyFactory_Registry_Factory::~TAO_PolicyFactory_Registry_Factory (void)
{
}
TAO_END_VERSIONED_NAMESPACE_DECL
| [
"lihuibin705@163.com"
] | lihuibin705@163.com |
7b74da857b0e37e148dae978d24c0350fa42cb2c | e77f804d0ec11516b6eec1f1fa1049deac2bccbd | /src/uArm/UF_uArm_Metal-master/UF_uArm_Metal.h | b19eb0d131fdde145b494e82bebfad8e3998451c | [] | no_license | gitter-badger/Robot_Group | cef63132c936ef9b61028d16fbd14897c70745f7 | 701cac0e48168f5378e967f9010ed69e171b324d | refs/heads/master | 2021-01-18T06:24:51.222878 | 2016-05-28T05:37:13 | 2016-05-28T05:37:13 | 59,935,391 | 1 | 1 | null | 2016-05-29T09:21:04 | 2016-05-29T09:21:04 | null | UTF-8 | C++ | false | false | 5,159 | h | /******************************************************************************
* File Name : UF_uArm.h
* Author : Evan
* Updated : Evan
* Version : V0.0.3 (BATE)
* Created Date : 12 Dec, 2014
* Modified Date : 17 Jan, 2015
* Description :
* License ... | [
"13667693152@163.com"
] | 13667693152@163.com |
bdef538ae56f26aa03b9dd5cad26cc4927541c96 | 55d560fe6678a3edc9232ef14de8fafd7b7ece12 | /libs/fiber/test/test_barrier_post.cpp | ebba98de26747077392603a0e737ed2bb08a6e7d | [
"BSL-1.0"
] | permissive | stardog-union/boost | ec3abeeef1b45389228df031bf25b470d3d123c5 | caa4a540db892caa92e5346e0094c63dea51cbfb | refs/heads/stardog/develop | 2021-06-25T02:15:10.697006 | 2020-11-17T19:50:35 | 2020-11-17T19:50:35 | 148,681,713 | 0 | 0 | BSL-1.0 | 2020-11-17T19:50:36 | 2018-09-13T18:38:54 | C++ | UTF-8 | C++ | false | false | 1,589 | cpp |
// Copyright Oliver Kowalke 2013.
// 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)
//
// This test is based on the tests of Boost.Thread
#include <sstream>
#include <string>
#inc... | [
"james.pack@stardog.com"
] | james.pack@stardog.com |
a8114af3a6df726244bf74d2f29738f75bfd1926 | dde014c37394cc0c7135a6d6f6fbbd7e70e24d74 | /fizika/KPIYAP(3 sem)/Лабораторная работа №3/Shape/Shape/Cylinder.h | 96229533034572daaca645e313b69e9360c54837 | [] | no_license | andrushkin2/university | d7b502fafc548788c7f70beaa888d865b983aaa8 | 53466464e835827ffbaceaab6599aa3b5deecbd6 | refs/heads/master | 2020-05-21T12:21:55.201518 | 2019-04-09T10:19:46 | 2019-04-09T10:19:46 | 32,348,978 | 1 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 411 | h | #ifndef _CYLINDER_H_
#define _CYLINDER_H_
#include"ThreeDShape.h"
class Cylinder : public ThreeDShape
{
private:
int height;
public:
Cylinder(int _radius = 0,int _height = 0);
~Cylinder();
//inline int GetRadius() { return this->radius; };
inline int GetHeight() { return this->height; };
//void Set(... | [
"andrushkin2@live.ru"
] | andrushkin2@live.ru |
a33af1c144b20bbd49dc3eb4c504bdbe6ed0320a | a1fbf16243026331187b6df903ed4f69e5e8c110 | /cs/sdk/include/boost/date_time/locale_config.hpp | 6b79f83a1816d88cd3a6b3fa013ff96e9a65c2bc | [
"LicenseRef-scancode-warranty-disclaimer",
"BSD-2-Clause"
] | permissive | OpenXRay/xray-15 | ca0031cf1893616e0c9795c670d5d9f57ca9beff | 1390dfb08ed20997d7e8c95147ea8e8cb71f5e86 | refs/heads/xd_dev | 2023-07-17T23:42:14.693841 | 2021-09-01T23:25:34 | 2021-09-01T23:25:34 | 23,224,089 | 64 | 23 | NOASSERTION | 2019-04-03T17:50:18 | 2014-08-22T12:09:41 | C++ | UTF-8 | C++ | false | false | 1,375 | hpp | #ifndef DATE_TIME_LOCALE_CONFIG_HPP___
#define DATE_TIME_LOCALE_CONFIG_HPP____
/* Copyright (c) 2002 CrystalClear Software, Inc.
* Disclaimer & Full Copyright at end of file
* Author: Jeff Garland
*/
// This file configures whether the library will support locales and hence
// iostream based i/o. Even if a compil... | [
"paul-kv@yandex.ru"
] | paul-kv@yandex.ru |
3dda096d0ad61e4a788da39e92f344ae8ea9bb6b | fddf5a1807a9eac2193819091e0382a4044c2657 | /generateRandomNumbers.cpp | d2b2ab28ccb398a418a9ef1ad8df381718e0d69d | [] | no_license | Vaklic/iotGeneratorGui | 218327ba2d174128d9f2c1fa1c8dcfb722762d16 | 4d548130632939e03bf1bf1235a66e0720b0c679 | refs/heads/master | 2021-06-25T09:38:47.630277 | 2017-09-09T09:56:40 | 2017-09-09T09:56:40 | 100,522,050 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 758 | cpp | #include "library.hpp"
uint8_t generateRandomUInt8(uint8_t lowBorder, uint8_t highBorder){
return (uint8_t)(lowBorder + rand() % highBorder);
}
uint16_t generateRandomUInt16(uint16_t lowBorder, uint16_t highBorder){
return (uint16_t)(lowBorder + rand() % highBorder);
}
double generateRandomDouble(double lowBorde... | [
"vaklicr@gmail.com"
] | vaklicr@gmail.com |
2bd8281761f45fa6694be81dc393522c6cde0a95 | 6dded22cdba148e01b2eebc73f3941dc9e2bd050 | /125.ValidPalindrome/ValidPalindrome.cc | adc4c283638288565f9ade96ee3254c7df07f836 | [
"MIT"
] | permissive | stdbilly/leetcode | 271f7e8f89d2ee9f4754a271a448486893f04aca | 752704ff99c21863bde4c929b7cc4fa18128cf39 | refs/heads/master | 2020-07-02T19:36:56.153275 | 2019-09-22T10:44:13 | 2019-09-22T10:44:13 | 201,641,271 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 960 | cc | #include <iostream>
#include <string>
using std::cout;
using std::endl;
using std::string;
class Solution {
public:
bool isPalindrome(string s) {
int l = nextAlnum(s, 0);
int r = preAlnum(s, s.size() - 1);
while (l <= r) {
if (tolower(s[l]) != tolower(s[r])) {
... | [
"whb227@163.com"
] | whb227@163.com |
8bab559ba2da87346e7e781bc4603e154f614d9e | 0c958692bb3abf99ecbd03bd75a605b202d4da5a | /CRAB/MuNu/farmoutAJ_analyzer/Submit_Valentine/W3JetLESDown_callHistoFiller.cc | 954341b6de1709b4d7e106f6ff740e2d5afc6e85 | [] | no_license | tmrhombus/UWAnalysis | a9ed18a7ba8726522c8d98fbdc018c77d80c5cc5 | eb9e0794e1b847f36c660a55d3631176a39148e2 | refs/heads/master | 2021-01-23T20:46:41.578341 | 2017-05-01T08:26:57 | 2017-05-01T08:26:57 | 10,620,824 | 0 | 0 | null | 2014-10-21T11:21:16 | 2013-06-11T12:19:43 | Python | UTF-8 | C++ | false | false | 4,028 | cc | /********************************
Instantiates histoFiller.C with
the correct chain and naming
for a definable set of parameters
Usage:
root -l -b
.L W3JetLESDown_callHistoFiller.cc
W3JetLESDown_callHistoFiller()
root -l -b -q W3JetLESDown_callHistoFiller.cc
Author: T.M.Perry UW-Madison
****************************... | [
"tperry@cern.ch"
] | tperry@cern.ch |
7d7d2fafa67ea370170ed748f8489e0ad46c3fbb | 304705191380a9e3e14cbb242e076faf897d0aee | /Intelligent Systems CW/Position.h | a349df1bb343aca2f63862e093fd4afe0b941751 | [] | no_license | IoIoToTM/Intelligent-Systems-CW | 5f988da85c9787b2509db9f18e014450d694720d | f328e3e29194dc683882a26c868629ce37738d2b | refs/heads/master | 2021-08-22T14:52:36.769022 | 2017-11-30T12:55:51 | 2017-11-30T12:55:51 | 111,731,863 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 380 | h | #pragma once
#include"Direction.h"
class Position
{
public:
Position(int x, int y);
Position();
~Position();
//overloading the == operator so I can check between two positions
friend bool operator==(const Position& left, const Position& right);
int getX() const;
int getY() const;
void setX(int x);
void setY... | [
"ioiototm@gmail.com"
] | ioiototm@gmail.com |
bb23b0ec51a947bb74d22948bc15b023ec13fe87 | b090a0e18cceb50f8c9e9958bc126ee48de5dced | /UpdateVisionData.cpp | a555504cd37e7841ba8ea1dcff8f32bf2a91e4d3 | [
"MIT"
] | permissive | abhishekbalu/abhishek-imageprocessing | e3089ba758c4f35c83e09c2b57fa2a0542df08ef | f234f6b2483123cf87ff66c9c5f4f204338d455f | refs/heads/master | 2020-04-01T20:14:10.980759 | 2018-10-18T09:13:32 | 2018-10-18T09:13:32 | 153,594,730 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 106 | cpp | #include "UpdateVisionData.h"
Write2Mem::Write2Mem(objects* thisObject){
cout<<thisObject->getX();
}
| [
"abhisheklokesh6008@gmail.com"
] | abhisheklokesh6008@gmail.com |
55942a347de80970c563f9420adfdd64fd0ccc46 | 24af3ebd842c88d87ad48282248f13feb8f3d94c | /Spells/SpellBook.h | 51493b6e54974248e434fdf78e5ef8d67868e80e | [] | no_license | sergant4949/army | 9fceb0cbeb9ffb6451de1fc7f7c05d8f67a08a47 | 015fd36708de28ecddc9e242a3433658c124a2fb | refs/heads/master | 2020-05-16T20:16:03.406536 | 2015-01-23T22:16:27 | 2015-01-23T22:16:27 | 29,754,751 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 650 | h | #ifndef SPELLBOOK_H
#define SPELLBOOK_H
#include <iostream>
#include "Spell.h"
#include "../Units/SpellCasters/SpellCaster.h"
class SpellCaster;
class SpellBook {
private:
std::set<Spell*>* spellsList;
SpellCaster* owner;
public:
SpellBook(SpellCaster* owner);
~SpellBook();
... | [
"sergant4949@gmail.com"
] | sergant4949@gmail.com |
5c5bf1593c5c17be63276f1c5bf2eb9ac61684ca | dff8651f87c067914335f6fdbb63195138add8f7 | /Source/BCGJam/Game/Public/AI/Components/DamageActorComponent.h | 92f571fbc65c407b3d42f77fa19a681ddfc55d90 | [] | no_license | markveligod/bcgjam | 71ff25aa93f9542993b9765de7076a6cdba7dab8 | 77dd8a1a06206df186ed4ee887e9bcc495c7486f | refs/heads/master | 2023-05-05T06:35:55.682489 | 2021-05-18T05:59:30 | 2021-05-18T05:59:30 | 367,552,021 | 0 | 0 | null | 2021-05-18T04:12:33 | 2021-05-15T05:57:24 | C++ | UTF-8 | C++ | false | false | 1,463 | h | // Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "Components/ActorComponent.h"
#include "DamageActorComponent.generated.h"
UCLASS( ClassGroup=(Custom), meta=(BlueprintSpawnableComponent) )
class BCGJAM_API UDamageActorComponent : public U... | [
"markveligod@yandex.ru"
] | markveligod@yandex.ru |
0a1455c70ea574b366331ee4084e1cdade186ce0 | c4fcddc2c5f0b02bbf3602f6f9b0c89484a2662b | /include/ThirdParty/Common/AutoPtr.h | 29aeb92fbf86a237c532c2c04c6e2c722f780e92 | [
"BSD-3-Clause",
"MIT"
] | permissive | ternence-li/LightInk3D | a54971ccd50fb15be8a4c019a038655ed9b1b9ea | 7b35419d164c9c939359f9106264841dc8c283a2 | refs/heads/master | 2021-06-11T20:21:44.810389 | 2017-01-20T09:59:44 | 2017-01-20T09:59:44 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,422 | h |
/* Copyright ChenDong(Wilbur), email <baisaichen@live.com>. All rights reserved.
*
* 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... | [
"baisaichen@live.com"
] | baisaichen@live.com |
d2f4ce82032670c1fcc4b65d3c96ab09c10217f3 | 41eb0837713f297134529591b66f3d4d82bcf98e | /src/Raine/source/sdl/console/console.h | 80a9d442e7dd62468b9f11b8503659c19e80bd4d | [] | no_license | AlexxandreFS/Batocera.PLUS | 27b196b3cbb781b6fc99e62cad855396d1d5f8f2 | 997ee763ae7135fdf0c34a081e789918bd2eb169 | refs/heads/master | 2023-08-17T21:52:39.083687 | 2023-08-17T15:03:44 | 2023-08-17T15:03:44 | 215,869,486 | 135 | 57 | null | 2023-08-14T14:46:14 | 2019-10-17T19:23:42 | C | UTF-8 | C++ | false | false | 1,207 | h | #ifndef CONSOLE_H
#define CONSOLE_H
#ifdef __cplusplus
extern "C" {
#include "sdl/gui/tconsole.h"
#include "parser.h"
class TRaineConsole : public TConsole
{
char last_cmd[80];
int pointer_on, pointer_n, pointer_x,pointer_top,pointer_rows,pointer_end;
int dump_cols;
public:
TRaineConsole(char *my_title, ... | [
"alexxandre.freire@gmail.com"
] | alexxandre.freire@gmail.com |
087132ef1f2bd83f25d59d6cb200e1d61c97dfa7 | c54f684c896c4537e92cc5edd6985c8f4754af48 | /scintilla/lexlib/LexAccessor.h | 3564dd0bcbc78f646f76167afbb3dc398b489127 | [
"MIT"
] | permissive | kbuffington/foo_jscript_panel | b0678ee55c9de547770d6741563b62cd81b150bf | 8e8375c109595b18e624e8709ee6d84effba66b4 | refs/heads/master | 2020-05-09T15:41:05.716211 | 2020-04-26T16:56:56 | 2020-04-26T16:56:56 | 181,238,758 | 21 | 2 | MIT | 2020-04-26T04:02:28 | 2019-04-13T23:24:14 | C++ | UTF-8 | C++ | false | false | 5,031 | h | // Scintilla source code edit control
/** @file LexAccessor.h
** Interfaces between Scintilla and lexers.
**/
// Copyright 1998-2010 by Neil Hodgson <neilh@scintilla.org>
// The License.txt file describes the conditions under which this software may be distributed.
#ifndef LEXACCESSOR_H
#define LEXACCESSOR_H
namesp... | [
"34617027+marc2k3@users.noreply.github.com"
] | 34617027+marc2k3@users.noreply.github.com |
d29e5422c75b78fd4270ab48255ab5ac58acd016 | 2cf838b54b556987cfc49f42935f8aa7563ea1f4 | /aws-cpp-sdk-glue/source/model/BatchUpdatePartitionRequest.cpp | f0120d374c40fd61ace9340c381b63858358768c | [
"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 | 1,548 | cpp | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/glue/model/BatchUpdatePartitionRequest.h>
#include <aws/core/utils/json/JsonSerializer.h>
#include <utility>
using namespace Aws::Glue::Model;
using namespace Aws::Utils::Json;
using n... | [
"aws-sdk-cpp-automation@github.com"
] | aws-sdk-cpp-automation@github.com |
1c862584ee266b8fe006328f2ed68f5276233c38 | 49404c7c32be5d3fb4a30002f2de4dc960c7bf0d | /AdaLab/Sorting/MergeSort.cpp | 0991063d5b607cc97460c33701e90db94f3921d6 | [] | no_license | Ravi02205/CppCompetitiveRepository | 2b5cabc003a4c46dd01062f2a2f76bd913829c70 | a43f06cbd5d34f7f1373f35355984afffbec3283 | refs/heads/master | 2022-02-15T09:31:32.504366 | 2019-09-07T10:13:00 | 2019-09-07T10:13:00 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,097 | cpp | #include "iostream"
#include "chrono"
#include "time.h"
using namespace std;
using namespace std::chrono;
void merge(int *arr, int start, int end) {
int mid = (start+end)/2;
int i = start, j = mid+1, k = start;
int temp[10000];
while(i <= mid and j <= end) {
if(arr[i] < arr[j]) {
temp[k++] = arr[i++];
} el... | [
"singhsanket143@gmail.com"
] | singhsanket143@gmail.com |
5130c90784571cdd436996315ebf09d2133bf5d7 | cf520a9beaf3b5abee463c285efe8130eef1f182 | /pellets/z_thread_pool/z_thread_stack.h | 8efa7123d259892a8e50344a08eaaa73d0e2179d | [
"Unlicense"
] | permissive | AlexXChina/zpublic | c78eb51b6c9879943d8e4b46cac3e15f837038a3 | 78caa5d9972c94b8c5cb69d46275d4ecac12fcc8 | refs/heads/master | 2021-01-22T12:48:49.712690 | 2015-09-01T15:33:33 | 2015-09-01T15:33:33 | 43,356,201 | 1 | 0 | null | 2015-09-29T08:56:35 | 2015-09-29T08:56:35 | null | UTF-8 | C++ | false | false | 348 | h | #pragma once
#include "../thread_sync/thread_sync.h"
#include "z_thread.h"
#include <stack>
class z_thread_stack
{
public:
z_thread_stack();
~z_thread_stack();
public:
z_thread* pop();
void push(z_thread* t);
void clear();
private:
std::stack<z_thread*> m_stack;
z_mutex... | [
"278998871@qq.com"
] | 278998871@qq.com |
02d0b1c8e518a5875c054e48ad54fb6bebfa6295 | 38370ec6d3ba86570dd0efd1de8841f6ff5bad59 | /CrossApp/view/CAScrollView.cpp | 6a5f9b6310a032478f60a6dc21f2c2d7d13e717c | [] | no_license | RainbowMin/CrossApp | f3588907811cc5f3b9936439b95aade65eb29e5a | 45b5d4893fab0bb955089e1655694b189760608d | refs/heads/master | 2021-01-18T10:07:52.377093 | 2014-07-22T05:44:16 | 2014-07-22T05:44:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 26,109 | cpp | //
// CAScrollView.cpp
// CrossApp
//
// Created by Li Yuanfeng on 14-4-23.
// Copyright (c) 2014 http://9miao.com All rights reserved.
//
#include "CAScrollView.h"
#include "CAScale9ImageView.h"
#include "actions/CCActionInterval.h"
#include "actions/CCActionEase.h"
#include "basics/CAApplication.h"
#include "bas... | [
"278688386@qq.com"
] | 278688386@qq.com |
c434c9976278beb476cdddabb42797cf98e15829 | 456dd0729fb6f96c8e0ad74ccf3592853cfc4752 | /XSAnalyseCheckServer/LogRecorder.h | d5326c693f2332b5f153bf33b99f9d527b9834c2 | [] | no_license | chxj1980/FuZhou-AnalyseCheckpoint | 15bc465a8141a50cb7910ac5fd53fbdbef901b8e | af61b8625bd0301a1bc0e254bd5de5807cb24bf8 | refs/heads/master | 2021-09-25T17:05:25.617940 | 2018-10-24T09:23:46 | 2018-10-24T09:23:46 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,755 | h | #pragma once
#include <log4cxx/log4cxx.h>
#include <log4cxx/propertyconfigurator.h>
#include <log4cxx/xml/domconfigurator.h>
#include <log4cxx/basicconfigurator.h>
#include <log4cxx/logstring.h>
#include <log4cxx/helpers/exception.h>
#include <log4cxx/helpers/loglog.h>
#ifdef __WINDOWS__
#pragma comment( lib, "log4cx... | [
"44406210+zoujfsysu@users.noreply.github.com"
] | 44406210+zoujfsysu@users.noreply.github.com |
8d4e7c0c909f9768cad96d11ad32b4dcb5b57a60 | 0cc5a3bdf5a4f1d5ffb9b7c38b6ee9ff4c1f49fd | /信息学奥赛一本通习题/基本算法/设置矩阵为零/源.cpp | c36b00615d2b2405fee0b2146612b41ecf318e32 | [] | no_license | YiuWingTan/Algorithm | 96631d25d7edb272d010bd31fc78c9953127dfc7 | 7c1711b8cd8284a2d1064df0c642cc81fe1a3a89 | refs/heads/master | 2022-04-08T11:29:36.935556 | 2020-03-16T13:18:48 | 2020-03-16T13:18:48 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,065 | cpp | #include<iostream>
#include<vector>
using namespace std;
void setZeroes(vector<vector<int>>& matrix) {
bool set_row0 = false, set_col0 = false;
int row = matrix.size();
int col = matrix[0].size();
for (int i = 0; i < row; i++)
{
if (matrix[i][0] == 0) {
set_col0 = true;
break;
}
}
for (int j = 0... | [
"33747232+yaorongtan@users.noreply.github.com"
] | 33747232+yaorongtan@users.noreply.github.com |
d548073d9d0e2efe2222db6b1cc4e5f3fdd9e00a | d4b4513c6314871a268ab97d0aece052a632d57d | /soft/server/src/pvp/item_operation.cpp | c0851fe949fd24ccf65333dc161e41556550dab1 | [] | no_license | atom-chen/tssj | f99b87bcaa809a99e8af0e2ba388dbaac7156a31 | f4345ad6b39f7f058fac987c2fed678d719a4482 | refs/heads/master | 2022-03-14T22:23:50.952836 | 2019-10-31T11:47:28 | 2019-10-31T11:47:28 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,092 | cpp | #include "item_operation.h"
#include "item_config.h"
#include "item_def.h"
#include "treasure_list.h"
#define SHOP_REFRES_TIME 7200000
void ItemOperation::item_add_template(dhc::player_t *player, uint32_t item_id, int32_t item_amount, int mode)
{
s_t_item *t_item = sItemConfig->get_item(item_id);
if (!t_item)
{
... | [
"rocketxyfb@163.com"
] | rocketxyfb@163.com |
d0a93011b79db3a1135934b0be3313e57e25f4cf | b19a9057ad64063cf7f58249a52dec39fbac3d5b | /vtk/vtk_anim.cc | 0db7058240d2570847868322e7edb5fa0e65b6a4 | [] | no_license | cpraveen/cfdlab | b0c8ebc1fac781dde0380162b4616182621bce1f | b5564e4f5923f1c04a8b1594d882338cc323aeca | refs/heads/master | 2023-08-22T07:17:14.953155 | 2023-08-19T11:15:32 | 2023-08-19T11:15:32 | 34,105,489 | 27 | 17 | null | 2016-09-27T21:55:17 | 2015-04-17T08:32:34 | Jupyter Notebook | UTF-8 | C++ | false | false | 3,295 | cc | #include <iostream>
#include <fstream>
#include <cmath>
#include <string>
using namespace std;
// Ex: get_filename("sol_",3,42) should return "sol_042.vtk"
string get_filename(const string base_name,
const int ndigits,
const int c)
{
if(c > pow(10,ndigits)-1)
{
cout... | [
"cpraveen@gmail.com"
] | cpraveen@gmail.com |
bb473442d256651d04c02daaf31d0e952e3fa896 | 0a5645154953b0a09d3f78753a1711aaa76928ff | /common/c/abpal/src/winmobile/gps/lpsgpsid.h | 7a8f38783d672a5ebda885150646d710df030960 | [] | no_license | GENIVI/navigation-next | 3a6f26063350ac8862b4d0e2e9d3522f6f249328 | cb8f7ec5ec4c78ef57aa573315b75960b2a5dd36 | refs/heads/master | 2023-08-04T17:44:45.239062 | 2023-07-25T19:22:19 | 2023-07-25T19:22:19 | 116,230,587 | 17 | 11 | null | 2018-05-18T20:00:38 | 2018-01-04T07:43:22 | C++ | UTF-8 | C++ | false | false | 5,517 | h | /*
Copyright (c) 2018, TeleCommunication Systems, 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 condi... | [
"caavula@telecomsys.com"
] | caavula@telecomsys.com |
851ff74e563b40172ca18ccf471ec4d8ca8f03f2 | 92640ec261e7875a5e65e95d6408be2df3cdd9a3 | /japan/Domestic 2003/1005.cpp | 279b5a13f14e7a41eabb51d69b23cb87a955d766 | [] | no_license | gaolichen/contest | c20c79d1a05ea6c015329bc2068a3bbb946de775 | 4ac5112f150210c6345312922dc96494327cbf55 | refs/heads/master | 2021-01-19T04:45:59.100014 | 2017-04-06T06:46:09 | 2017-04-06T06:46:09 | 87,392,728 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,923 | cpp |
#define WIN32
#ifdef WIN32
# pragma warning(disable:4786)
#define for if(0);else for
#endif
#include <iostream>
#include <vector>
#include <string>
#include <deque>
#include <map>
#include <set>
#include <list>
#include <algorithm>
#include <utility>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <cm... | [
"gchen@ufl.edu"
] | gchen@ufl.edu |
7d63a7aa55d8357214e960adc6c832d8b3095daf | 8f1c5fc3ff04b78005fb0f797193bd49f5d0721a | /src/compiler/node-cache.cc | 7cda167bac91dc153ee3a55425d8a7ffd001edd0 | [
"BSD-3-Clause",
"bzip2-1.0.6"
] | permissive | btongminh/android_v8 | 91011c50e289a29847683479e71b73e94578e5bf | 92b03b37ca04c6812fe2eaf6df82e9e1ef564c63 | refs/heads/lxss | 2022-10-28T20:56:59.348747 | 2016-12-23T15:18:52 | 2016-12-23T15:18:52 | 77,245,772 | 0 | 2 | NOASSERTION | 2022-10-06T05:33:38 | 2016-12-23T19:12:56 | null | UTF-8 | C++ | false | false | 3,036 | cc | // Copyright 2014 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "src/compiler/node-cache.h"
namespace v8 {
namespace internal {
namespace compiler {
#define INITIAL_SIZE 16
#define LINEAR_PROBE 5
template... | [
"benm@google.com"
] | benm@google.com |
2b67a59a0daaa062c22c4dcc3a326c8698fd2419 | c6b483cc2d7bc9eb6dc5c08ae92aa55ff9b3a994 | /hazelcast/generated-sources/src/hazelcast/client/protocol/codec/ListCompareAndRemoveAllCodec.cpp | 277ec9c1f05304be924baa7abaec0ed0b1f432c9 | [
"Apache-2.0"
] | permissive | oguzdemir/hazelcast-cpp-client | ebffc7137a3a14b9fc5d96e1a1b0eac8aac1e60f | 95c4687634a8ac4886d0a9b9b4c17622225261f0 | refs/heads/master | 2021-01-21T02:53:05.197319 | 2016-08-24T21:08:14 | 2016-08-24T21:08:14 | 63,674,978 | 0 | 0 | null | 2016-07-19T08:16:24 | 2016-07-19T08:16:23 | null | UTF-8 | C++ | false | false | 3,716 | cpp | /*
* Copyright (c) 2008-2015, Hazelcast, Inc. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required ... | [
"ihsan@hazelcast.com"
] | ihsan@hazelcast.com |
1d044f6d6be0d417bbe8ba401909910135a9e3ed | 5a44eac7ce27893035604c412412b71a7cccb343 | /hardware/arm/Nuvoton/libraries/FreeRTOS/examples/FreeRTOSBookExamples/Example013/Example013.ino | 6e18b2f7648a2311b613b450a09fc71a610c3a7c | [] | no_license | huaweiwx/ARDUINO_Nuvoton | d0e3b6e95eb35f508aad925afa814ff13e0978e4 | e4a8b841c4027bde715c34f2745b23593c590b5d | refs/heads/master | 2020-04-05T12:44:29.382129 | 2019-04-03T12:18:02 | 2019-04-03T12:18:02 | 156,878,513 | 8 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 7,525 | ino | /*
Example 13. Using a Counting Semaphore to Synchronize a Task with an Interrupt
使用计数信号量将任务与中断同步
FreeRTOS.org V9.0.0 - Copyright (C) 2003-2017 Richard Barry.
This file is part of the FreeRTOS.org distribution.
FreeRTOS.org is free software; you can redistribute it and/or modify
it under the ... | [
"huaweiwx@sina.com"
] | huaweiwx@sina.com |
bc7c00d68eb6c512354a33740022ef3c6d8939b2 | 54a07fd33c86d0aff21a73a4a3b30596937a29de | /FileWatcherDemo/file_activity/idirectory_watcher.h | 1a3c565ba7ab60f43a4c5401bd6246a3977f2aaf | [
"BSL-1.0"
] | permissive | pvthuyet/file-watcher-demo | 739ed241eb3333cd092616be4c32944ea1c61a76 | 37fb2022fb27952db294b253fe2817d4548817bc | refs/heads/main | 2023-02-08T06:18:21.783014 | 2021-01-03T01:33:05 | 2021-01-03T01:33:05 | 323,820,493 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 326 | h | #pragma once
#include "file_notify_info.h"
#include <memory>
namespace died
{
class idirectory_watcher
{
public:
virtual ~idirectory_watcher() noexcept = default;
void notify(file_notify_info&& info)
{
filter_notify(std::move(info));
}
private:
virtual void filter_notify(file_notify_info info) = 0;... | [
"pvthuyet@gmail.com"
] | pvthuyet@gmail.com |
42b1208734e610331b652a2d47070ab1d82da180 | bdcb3ddb9c9f5226e6a1581861bab1fadac30f5e | /src/core/API.h | b1b01a66f768c8386fd75a7cfbb3ab84219eefe4 | [
"MIT"
] | permissive | bacahillsmu/benbot | fdcc33de59f03a3ae2e5e7a0fb2b60564ae3ebb3 | f6eeadac99690c5c2a5575d8c0d661e6bed3b604 | refs/heads/master | 2021-07-13T09:26:52.583365 | 2019-12-20T20:40:24 | 2019-12-20T20:40:24 | 210,927,936 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,495 | h | // The MIT License (MIT)
//
// Copyright (c) 2017-2019 Alexander Kurbatov
#pragma once
#include "Order.h"
#include "WrappedUnits.hpp"
#include <sc2api/sc2_control_interfaces.h>
#include <sc2api/sc2_gametypes.h>
#include <sc2api/sc2_interfaces.h>
#include <sc2api/sc2_score.h>
#include <memory>
#include <set>
namesp... | [
"bacahillsmu@gmail.com"
] | bacahillsmu@gmail.com |
fc3e2e3ecff8032d3e47bae5eea678b98d056c4d | 541d76c59ad6395d2020a376bce0b50c133fc223 | /DLL/Serial/SerialDialog.cpp | 903088fd382b84cb0cc35f80c36c43421de01c12 | [] | no_license | wilson9chen/WinLIRC | 8ce981beaa7bfb6928bad7883928075ca90e4fd7 | 75a232d1032fc24e4d955f70404fe02abc83c4e0 | refs/heads/master | 2021-08-30T10:11:13.835347 | 2017-12-17T12:29:46 | 2017-12-17T12:29:46 | 114,534,095 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,982 | cpp | /*
* This file is part of the WinLIRC package, which was derived from
* LIRC (Linux Infrared Remote Control) 0.8.6.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published
* by the Free Software Foundation; either version ... | [
"dukeeeey@92c2518b-485e-4ca2-9c37-138eef3f838b"
] | dukeeeey@92c2518b-485e-4ca2-9c37-138eef3f838b |
3246ee60e38c470cfd5f47f2ff4d7eb6b1768321 | 3c9455b1ac8791a850c9088556e71395cf2486f8 | /week6/knapsack.cpp | 12f6c2f8634cea580ffd0fa1b5ae68b50572358c | [] | no_license | Henrai/HihoCoder | ff72b8c4e06b59058920b5017517e38f694cabde | 24fd387de5d9fc3782623b3d6030ee0b646d48dc | refs/heads/master | 2021-01-21T13:25:40.544794 | 2016-07-21T01:21:21 | 2016-07-21T01:21:21 | 58,835,901 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 371 | cpp | #include <iostream>
using namespace std;
int value[555];
int cost[555];
int dp[100005];
int main() {
int n,m;
cin>>n>>m;
for(int i = 0; i <= m; i++)
dp[i] = 0;
for(int i = 1; i <= n; i++)
cin>>cost[i]>>value[i];
for(int i = 1; i <= n; i++)
for(int j = m; j >= cost[i]; j--)
dp[j] = max(dp[j],... | [
"wanganzec@gmail.com"
] | wanganzec@gmail.com |
5a187cc52518383ff0ced7625ce7065de9153776 | c358397368d34a4f3b6d0bab4a03179f1c155a73 | /lab09/lab09/SimpleString.h | bb89bff11def2687de879c2316dd7d0925c08938 | [] | no_license | nguyengiahy/COS30008 | b0e7d5e4ae6fe2dddca319e86123cef7e5061ea8 | e70b1aa0c6e4460163dc8761088ad4853cb1f910 | refs/heads/master | 2021-09-26T16:41:40.884106 | 2021-09-11T17:52:19 | 2021-09-11T17:52:19 | 249,945,885 | 1 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 444 | h | #pragma once
#include<string>
#include "Test.h"
class SimpleString {
private:
char* fChacracters;
public:
SimpleString();
virtual ~SimpleString();
#if TEST >= 1
SimpleString(const SimpleString& aOtherString);
#endif
#if TEST >= 3
SimpleString& operator=( const SimpleString& aOtherString );
#endif
#if TEST >= 5... | [
"nguyengiahy2911@gmail.com"
] | nguyengiahy2911@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.