blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 3 264 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 5 140 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 986
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 3.89k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 23
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 145
values | src_encoding stringclasses 34
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 3 10.4M | extension stringclasses 122
values | content stringlengths 3 10.4M | authors listlengths 1 1 | author_id stringlengths 0 158 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
19042bee0ea3b594fc4ba400bc5e0dae4dacc814 | 385314c17cabc082aa54d97c2693d66bb0976a64 | /lib/tao/tao/json/external/pegtl/internal/star.hpp | 6986c043cb09c53a432d244c45877a27ba27f137 | [
"MIT"
] | permissive | 21doublenexus/contemplative-game | dd835e66f928ddecc4bd3ab267a04a9058856ac8 | cadf92c1b44d226bf97a87f738ea3aad3e7dd376 | refs/heads/main | 2023-02-15T08:55:55.187533 | 2021-01-05T17:15:37 | 2021-01-05T17:15:37 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,514 | hpp | // Copyright (c) 2014-2018 Dr. Colin Hirsch and Daniel Frey
// Please see LICENSE for license or visit https://github.com/taocpp/PEGTL/
#ifndef TAO_JSON_PEGTL_INTERNAL_STAR_HPP
#define TAO_JSON_PEGTL_INTERNAL_STAR_HPP
#include <type_traits>
#include "../config.hpp"
#include "duseltronik.hpp"
#include "seq.hpp"
#inc... | [
"vscavinner@gmail.com"
] | vscavinner@gmail.com |
df5ba23233690846709f5c047670e85f48714833 | fa6b818e06c5b97ddb131e18bca14ead19091a7f | /Goblim-Student/Core/Engine/Base/Light.hpp | 31a927beb4dd1627d7e4fba7705fd8941e2990b6 | [] | no_license | nathmotion/Moteur-3D | 2bcd2f4624071cda0a4f1d6e510843bf6908dc8b | df6222ba62f92958874677510dfef9473eb1c459 | refs/heads/master | 2021-07-23T01:33:18.183697 | 2017-11-01T06:32:18 | 2017-11-01T06:32:18 | 107,647,261 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 245 | hpp | #ifndef _GOBLIM_LIGHT_
#define _GOBLIM_LIGHT_
#include <glm/glm.hpp>
#include <string.h>
class Light
{
public:
Light(std::string name,glm::vec3 color = glm::vec3(1.0f));
private:
glm::vec4 m_Color;
std::string m_Name;
}
#endif | [
"mallet.nathanael@hotmail.fr"
] | mallet.nathanael@hotmail.fr |
edc05d56ef306794323e488f09cc6b2b826c7bfb | 8f50c262f89d3dc4f15f2f67eb76e686b8f808f5 | /TestBeam/TBMonitoring/TBMonitoring/TBADCRawMonTool.h | c81d8d5186b118ef287c12b0f9f8c1d96a741c7c | [
"Apache-2.0"
] | permissive | strigazi/athena | 2d099e6aab4a94ab8b636ae681736da4e13ac5c9 | 354f92551294f7be678aebcd7b9d67d2c4448176 | refs/heads/master | 2022-12-09T02:05:30.632208 | 2020-09-03T14:03:18 | 2020-09-03T14:03:18 | 292,587,480 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,343 | h | //Dear emacs, this is -*- c++ -*-
/*
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
*/
#ifndef TBMONITORING_TBADCRAWMONTOOL_H
#define TBMONITORING_TBADCRAWMONTOOL_H
#include "AthenaMonitoring/MonitorToolBase.h"
#include "GaudiKernel/IHistogramSvc.h"
#include "AIDA/IHistogram1D.h"
#includ... | [
"graemes.cern@gmail.com"
] | graemes.cern@gmail.com |
c04b490026f20356954cf19840634ae8da364894 | e36c670344356f3fad4a6322ac23e1da6520e7ce | /src/Output/Output_PreparedPatch_Fluid.cpp | db09887861fd23dbfcff52e47c937d6c9e26cc29 | [
"BSD-3-Clause"
] | permissive | Aabhash007/gamer | 7934c49bc2023403fcb46c4873252a180f2d8f90 | 62769fe4f680eeb504f84f0aae199012f728492e | refs/heads/master | 2022-12-26T13:14:31.279184 | 2020-09-30T19:58:50 | 2020-09-30T19:58:50 | 300,045,686 | 0 | 0 | NOASSERTION | 2020-09-30T19:56:52 | 2020-09-30T19:56:51 | null | UTF-8 | C++ | false | false | 7,787 | cpp | #include "GAMER.h"
//-------------------------------------------------------------------------------------------------------
// Function : Output_PreparedPatch_Fluid
// Description : Output the fluid data of a "single patch" plus its ghost zones prepared by Flu_Prepare()
//
// Note : This function shou... | [
"hyschive@gmail.com"
] | hyschive@gmail.com |
c0a8271b3e26bce75ad19cb207b6fc1f1200b3a1 | 3d74f759ee48d383aa82eeff0a55864a93a001ba | /shell/common/display.cc | 05feded91be5a55d510fa5d8d5b05a91f63e30df | [
"BSD-3-Clause"
] | permissive | flutter/engine | 78be5418a9b2f7730dda9ca9fcb25b7055f3da85 | 902ece7f89d7730cc69f35e098b223cbbf4e25f1 | refs/heads/main | 2023-09-04T06:12:34.462953 | 2023-09-04T05:33:32 | 2023-09-04T05:33:32 | 39,211,337 | 7,090 | 6,862 | BSD-3-Clause | 2023-09-14T21:58:17 | 2015-07-16T17:39:56 | C++ | UTF-8 | C++ | false | false | 319 | cc | // Copyright 2013 The Flutter 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 "flutter/shell/common/display.h"
namespace flutter {
double Display::GetRefreshRate() const {
return refresh_rate_;
}
} // namespace flutter
| [
"noreply@github.com"
] | flutter.noreply@github.com |
4f646b096b384b1cd1cc8ffe7201644d9f7bd0d3 | b9b17fcfac43774e730ecf221bc26164598010b6 | /src/TXFaceWnd.h | 69ea5625bd09efa522d09cda7ab49fb2f37ba43e | [
"BSD-3-Clause"
] | permissive | taviso/mpgravity | e2334e77e9d5e9769e05d24609e4bbed00f23b5c | f6a2a7a02014b19047e44db76ae551bd689c16ac | refs/heads/master | 2023-07-26T00:49:37.297106 | 2020-04-24T06:15:10 | 2020-04-24T06:15:10 | 251,759,803 | 13 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,200 | h | /*****************************************************************************/
/* SOURCE CONTROL VERSIONS */
/*---------------------------------------------------------------------------*/
/* ... | [
"taviso@gmail.com"
] | taviso@gmail.com |
90960cf1843f505379f46931651c6f5738cad984 | 682b27ef061c6aa0f4ad22a3d9c28350110682b7 | /quickPing/quickPing/widget.cpp | 0fb018e8982d4ed1c1b652a772897ca9d17115a8 | [] | no_license | tangston/quickPing | 48a43120573102330b28dd16311f168ead6c8b61 | f0263d3749c70fda7b0feb35acae7ec5508ee3c3 | refs/heads/master | 2020-04-13T14:19:41.103154 | 2018-12-27T06:58:58 | 2018-12-27T06:58:58 | 163,259,213 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,064 | cpp | #include "widget.h"
#include "ui_widget.h"
Widget::Widget(QWidget *parent) :
QWidget(parent),
ui(new Ui::Widget)
{
ui->setupUi(this);
}
Widget::~Widget()
{
delete ui;
}
void Widget::on_startButton_clicked()
{
myPing mp =myPing();
// QString ip="10.1.11.70";
QString ip=ui->ipEdit->toPlainT... | [
"37773841+tangston@users.noreply.github.com"
] | 37773841+tangston@users.noreply.github.com |
fd5546e3a6b05228535a82dd84269c1026c837d1 | 643f3dc3c970684ed835bbfa1b3cb31e0b8661be | /src/netbase.cpp | 97fc6507d6b4329a9e88c74fcaf6ea52c08d6dd1 | [
"MIT"
] | permissive | Aviator-Coding/abet | cf61aeadae2cab51a19bc036dba8d8d8af739ad6 | 8bee2012deb998d0fbaaad9fbbcdf83a0c84c0d6 | refs/heads/master | 2020-04-18T21:58:03.380823 | 2019-01-27T07:07:38 | 2019-01-27T07:07:38 | 167,780,598 | 1 | 0 | MIT | 2019-01-27T07:00:56 | 2019-01-27T07:00:54 | null | UTF-8 | C++ | false | false | 39,481 | cpp | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2014 The Bitcoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifdef HAVE_CONFIG_H
#include "config/altbet-config.h"
#endif
#include "netbase.h... | [
"office@altbet.io"
] | office@altbet.io |
74be42ba426c1650f995de4a5ddaed1ffc04f073 | d4b733f2e00b5d0ab103ea0df6341648d95c993b | /src/c-cpp/lib/sst/private/guts/windows_socket_core/native_so_reuseport.cpp | 3c11a25fee80bb679223c19ab226d966ccd8ce97 | [
"MIT"
] | permissive | stealthsoftwareinc/sst | ad6117a3d5daf97d947862674336e6938c0bc699 | f828f77db0ab27048b3204e10153ee8cfc1b2081 | refs/heads/master | 2023-04-06T15:21:14.371804 | 2023-03-24T08:30:48 | 2023-03-24T08:30:48 | 302,539,309 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,638 | cpp | //
// Copyright (C) 2012-2023 Stealth Software Technologies, Inc.
//
// 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,... | [
"sst@stealthsoftwareinc.com"
] | sst@stealthsoftwareinc.com |
f5f9d5814fb8a73c2b5e2e29dac84144ae042bd3 | b437a9f1bb2e7a8675673fb2d2baf790c8722a27 | /Harry Potter sorting hat game.cpp | c54b3f8f4acf1a49ef6cca82f187153c8616298d | [] | no_license | Tierraoscura/Harry-Potter-sorting-hat-game | 26f4336b3e421c1afde0d92ce5b52b44aba98a02 | 160f94d4590f0f6116b836ce6ce4b23a5639d7d0 | refs/heads/main | 2023-07-27T05:03:06.369799 | 2021-09-08T06:52:06 | 2021-09-08T06:52:06 | 379,875,293 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,604 | cpp | #include <iostream>
int main() {
int gryffindor = 0;
int hufflepuff = 0;
int ravenclaw = 0;
int slytherin = 0;
int answer1 = 0;
int answer2 = 0;
int answer3 = 0;
int answer4 = 0;
std::cout << "~~~~~~~~~~~~~~~~~~~~~\n";
std::cout << "The Sorting Hat Quiz!\n";
std::cout << "~~~~~~~~~~~~~~~~... | [
"noreply@github.com"
] | Tierraoscura.noreply@github.com |
10cc70b1993d525716563a9e8c27d233bf2f2e51 | f7f6602e4b64c3cb45eab943bdba226a6e4efaf0 | /include/Propitious/Memory/allocator.hpp | 432f2a8cfa62cfb6c26c3c9f861a6b01aec5e0df | [] | no_license | SleepyAkubi/PropitiousPrivate | 8dd87dc8ce182021dae2fb25387b1bb84c825634 | e801f567a08d54ce643f457f079a3c3059079169 | refs/heads/master | 2022-10-02T12:09:17.388756 | 2016-02-27T19:12:50 | 2016-02-27T19:12:50 | 44,257,433 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,363 | hpp | #ifndef PROPITIOUS_MEMORY_ALLOCATOR_HPP
#define PROPITIOUS_MEMORY_ALLOCATOR_HPP
#include <Propitious/Common.hpp>
#include <new>
#include <utility>
namespace Propitious
{
class PROPITIOUS_EXPORT Allocator : private NonCopyable
{
public:
using vol = usize;
static const vol defaultAlignment = 4;
static const ... | [
"thewarpdimension@gmail.com"
] | thewarpdimension@gmail.com |
79d5df9ebdb532a0ca8cb3478651e5ee4377b6ca | afe5e1d8ca27d3465abd0770de11714d78830310 | /runtime/stdlib/llambda/list/list.cpp | 6c380520104e06891ade12f25219eadd07dab3fe | [
"Apache-2.0"
] | permissive | 8l/llambda | 8a0c62b744ab0a45d7dd86355823fc70ee93b924 | a8624ddb1c8ae1e7ba55d0f853050798892daa58 | refs/heads/master | 2020-12-25T23:57:24.994389 | 2015-04-14T10:34:08 | 2015-04-14T10:34:08 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,810 | cpp | #include <vector>
#include <sstream>
#include "binding/ListElementCell.h"
#include "binding/BooleanCell.h"
#include "binding/ProperList.h"
#include "binding/TypedProcedureCell.h"
#include "binding/FlonumCell.h"
#include "binding/ExactIntegerCell.h"
#include "alloc/StrongRefVector.h"
#include "core/error.h"
using n... | [
"etaoins@gmail.com"
] | etaoins@gmail.com |
53376d181f4bc713552f08afdd2b26394bc94216 | 86b55c5bfd3cbce99db30907ecc63c0038b0f1e2 | /components/exo/text_input.cc | 50e272f09892f5f1efc85eec3712e7c0da6e22fa | [
"BSD-3-Clause"
] | permissive | Claw-Lang/chromium | 3ed8160ea3f2b5d51fdc2a7d764aadd5b443eb3f | 651cebac57fcd0ce2c7c974494602cc098fe7348 | refs/heads/master | 2022-11-19T07:46:03.573023 | 2020-07-28T06:45:27 | 2020-07-28T06:45:27 | 283,134,740 | 1 | 0 | BSD-3-Clause | 2020-07-28T07:26:49 | 2020-07-28T07:26:48 | null | UTF-8 | C++ | false | false | 11,181 | cc | // Copyright 2018 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "components/exo/text_input.h"
#include <algorithm>
#include "ash/keyboard/ui/keyboard_ui_controller.h"
#include "base/strings/utf_string_conver... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
4632c82ecc687a200a720fc5d88d5d6ac9ad436f | c509ec170f31580895c457c29e78463866397c17 | /offline/Simulation/DetSim/ARRAY/LHAASOSim/include/LHAASOEventAction.hh | 2931c74c3204f585a660a39e334847b8a21160c3 | [] | no_license | feipengsy/lodestar | 9e2c35cdbb6edf7ce31eff5fcf05412ff7f8453e | e05c01f15d8b3aeed265210a910e475beb11d9b6 | refs/heads/master | 2021-01-09T21:47:12.332609 | 2015-06-24T14:54:59 | 2015-06-24T14:54:59 | 36,277,481 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,126 | hh | //
// ********************************************************************
// * License and Disclaimer *
// * *
// * The Geant4 software is copyright of the Copyright Holders of *
// * the Geant4 Collaboration... | [
"liteng_shiyan@163.com"
] | liteng_shiyan@163.com |
2e69c1176540d78a9457666963e6e3e4a16847bd | 6f0445ac23b230232358d71ff08802e47416c9d1 | /Source/QuickNote/ListTag.h | 683b6c006f8134c1b70ca3d3af56e6451d816da3 | [] | no_license | vuquangkhtn/QuickNote | 0e26cc30cae4bbd9381550bcc7b1689bc3009d63 | 21ec89f5cb20d1bcaff5bc8ebc4f92c46d608810 | refs/heads/master | 2021-01-22T10:47:05.017294 | 2017-02-15T08:48:56 | 2017-02-15T08:48:56 | 82,039,753 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 509 | h | #pragma once
#include "Tag.h"
#include "Note.h"
#include <fstream>
#include <string>
#include <locale>
#include <codecvt>
#include <vector>
class CListTag
{
public:
vector<CTag> listTags;
public:
CListTag();
void docDSTagTuFile(string filename);
void ghiDSTagVaoFile(string filename);
void themTag(CTag tag);
void ... | [
"vuquangkhtn@gmail.com"
] | vuquangkhtn@gmail.com |
0dfaefddf7dacfeca8bfd45a08faf8dd56ae8343 | 8dc84558f0058d90dfc4955e905dab1b22d12c08 | /components/viz/service/display/gl_renderer.h | 1cd981c9d718f26cb57795628e1b1ce40c8ced5f | [
"LicenseRef-scancode-unknown-license-reference",
"BSD-3-Clause"
] | permissive | meniossin/src | 42a95cc6c4a9c71d43d62bc4311224ca1fd61e03 | 44f73f7e76119e5ab415d4593ac66485e65d700a | refs/heads/master | 2022-12-16T20:17:03.747113 | 2020-09-03T10:43:12 | 2020-09-03T10:43:12 | 263,710,168 | 1 | 0 | BSD-3-Clause | 2020-05-13T18:20:09 | 2020-05-13T18:20:08 | null | UTF-8 | C++ | false | false | 17,581 | h | // Copyright 2010 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef COMPONENTS_VIZ_SERVICE_DISPLAY_GL_RENDERER_H_
#define COMPONENTS_VIZ_SERVICE_DISPLAY_GL_RENDERER_H_
#include <unordered_map>
#include <vector>
#... | [
"arnaud@geometry.ee"
] | arnaud@geometry.ee |
d5fb81be84d44be5b025011437562f8041d171ea | 7da7ee1ed863d4cd4cadef835b16d8950c6952d6 | /AOJ/contest_practice/2/A.cpp | 80e9987400b01cf31ea1af94b18d7868224051bc | [] | no_license | rikuya6/ICPC_learning | 8fd226bcd9f13f37a4d55d6de57702d0ed7182b8 | d01e4c764f93f0330cc687365e3ac397e46f9559 | refs/heads/master | 2022-06-04T10:12:57.981280 | 2020-05-06T04:58:15 | 2020-05-06T04:58:15 | 52,092,562 | 0 | 0 | null | 2018-09-23T13:29:19 | 2016-02-19T14:20:22 | C++ | UTF-8 | C++ | false | false | 1,453 | cpp | // http://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=2012
#include <iostream>
using namespace std;
#define REP(i, n) for(int i = 0; i < (int)(n); i++ )
long long table[3][1000000];
int main()
{
int x, y, z, m;
int idx, idx2;
int data;
int size = 500;
table[0][0] = 0; table[1][0] = 0; table[2][0] =... | [
"rikuya6@gmail.com"
] | rikuya6@gmail.com |
14761b64adf45e5f10f4a4bcca2c179fc76f5992 | d0c5d89a7a7192f5b4ca65f02d93755f7c144c68 | /server/inc/Servers.hpp | 91db2ab62b82b6c8e0050df744148b45275411d9 | [] | no_license | Rhuancpq/FSE_Trabalho_2 | 42ba25cb232970adc0d913f73e32ec14d686db26 | 5d27df1a869253f3e9ec5b3dd11e876635154afb | refs/heads/main | 2023-08-14T05:57:24.635764 | 2021-10-07T01:46:34 | 2021-10-07T01:46:34 | 410,285,960 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 867 | hpp | #ifndef __SERVERS_HPP__
#define __SERVERS_HPP__
#include <unordered_map>
#include <algorithm>
#include <iostream>
#include <mutex>
using namespace std;
#include "Types.hpp"
#include "EventQueue.hpp"
// this is a singleton class
class Servers {
public:
static Servers* getInstance();
static void destroyInstanc... | [
"rhuancarlos.queiroz@gmail.com"
] | rhuancarlos.queiroz@gmail.com |
780fef91bf8124cfcd5610367e8278a026ebfac7 | bc1d68d7a7c837b8a99e516050364a7254030727 | /src/URAL/URAL1019 Line Painting.cpp | 67b516a451ae66a09e957b5a55833b26e273a159 | [] | no_license | kester-lin/acm_backup | 1e86b0b4699f8fa50a526ce091f242ee75282f59 | a4850379c6c67a42da6b5aea499306e67edfc9fd | refs/heads/master | 2021-05-28T20:01:31.044690 | 2013-05-16T03:27:21 | 2013-05-16T03:27:21 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,004 | cpp | /*******************************************************************************
# Author : Neo Fung
# Email : neosfung@gmail.com
# Last modified: 2012-01-20 21:28
# Filename: URAL1019 Line Painting.cpp
# Description :
******************************************************************************/
#ifdef _MSC_VE... | [
"neosfung@gmail.com"
] | neosfung@gmail.com |
29234affa0240f1d846f5f831a27879eba371020 | 3460665d25f912e76cf23a2cdf40fb825728f18d | /div2/168/2.1.cpp | 3645bb2b259201a7aba2facf85d9787e350011e5 | [] | no_license | Morphinity/Codeforces | 376340d6971ed193895473a1b3abf63f4dcd350d | 82c1f769ae9df9d15f053f8d1718998470cec355 | refs/heads/master | 2016-09-06T01:33:37.834377 | 2015-01-17T12:39:14 | 2015-01-17T12:39:14 | 29,390,614 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 351 | cpp | #include<iostream>
using namespace std;
char grid[51][51];
int main(){
int n,m;
cin >> n >> m;
int black = 0;
for(int i=0; i<n; i++)
for(int j=0; j<m; j++){
cin >> grid[i][j];
if(grid[i][j] == 'B')
black++;
}
// check for connectivity
if(black > 1){
for(int i=0; i<n; i++){
... | [
"mbakshi@adobe.com"
] | mbakshi@adobe.com |
987cbe02ee804c40cb79d269855a8b7749d6f226 | a61eac4c44c1021e9125e91c137b0eab670c5e14 | /src/protocol.h | 54361c5ca61bc3c63bed6d5d0d727da0ce4f3a78 | [
"MIT"
] | permissive | valeo-2/anncoin | c0a1effed01e453e8e1077ed9d3c429c9a65b8e1 | eed94fd7f7e8463ed0f2b2333cbbc10818779ca6 | refs/heads/master | 2020-05-18T04:15:25.667359 | 2014-06-23T07:32:45 | 2014-06-23T07:32:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,424 | h | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2012 The Bitcoin developers
// Copyright (c) 2011-2012 Litecoin Developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef __cplusplus
# error This he... | [
"root@debian"
] | root@debian |
6fa0650f293920f9effac81baabe75c4d59056cc | 5470644b5f0834b9646649da365c96101a2f9b2a | /Sources/Elastos/LibCore/inc/elastos/io/Int32ArrayBuffer.h | 9e2ccf8080d49844073ba1bfe8f47354929463c1 | [] | no_license | dothithuy/ElastosRDK5_0 | 42372da3c749170581b5ee9b3884f4a27ae81608 | 2cf231e9f09f8b3b8bcacb11080b4a87d047833f | refs/heads/master | 2021-05-13T15:02:22.363934 | 2015-05-25T01:54:38 | 2015-05-25T01:54:38 | 116,755,452 | 1 | 0 | null | 2018-01-09T02:33:06 | 2018-01-09T02:33:06 | null | UTF-8 | C++ | false | false | 1,348 | h | #ifndef __INT32ARRAYBUFFER_H__
#define __INT32ARRAYBUFFER_H__
#include "Int32Buffer.h"
namespace Elastos {
namespace IO {
/**
* IntArrayBuffer, ReadWriteIntArrayBuffer and ReadOnlyIntArrayBuffer compose
* the implementation of array based int buffers.
* <p>
* IntArrayBuffer implements all the shared readonly met... | [
"chen.yunzhi@kortide.com"
] | chen.yunzhi@kortide.com |
554485d4da5805d2289e8a0a630f63c74f0263cd | 46c64211509c25bef42c2483ac6d276f7e2d36f1 | /BOJ1476.cpp | 39beb20857a0c4584cf78b53e0d549a2f684089e | [] | no_license | LowFreqOn/BOJ | d1a20543436d010d2229bc505c1249074995a835 | 7a2e1e5a9b0789fdcf21d34de0431a1085aafbc9 | refs/heads/master | 2022-05-16T05:01:03.402088 | 2019-06-13T15:33:47 | 2019-06-13T15:33:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 363 | cpp | //BOJ 1476. 날짜 계산
#include<stdio.h>
#include<stdlib.h>
int E, S, M;
int cnt;
int main(void)
{
scanf("%d %d %d", &E, &S, &M);
while (1)
{
cnt++;
int a = cnt % 15;
int b = cnt % 28;
int c = cnt % 19;
if (a == 0)a = 15;
if (b == 0)b = 28;
if (c == 0)c = 19;
if (a == E && b == S && c == M)
break;
}... | [
"noreply@github.com"
] | LowFreqOn.noreply@github.com |
787c352f7133d9852e9c5e8cc5830f40ba56ad7a | a1f1e7dee2b84d07d6b28c4ff9c6e909c7c7feb2 | /src/filter.cpp | c0df61b6b0639a181d2f531005b51d0845a9385e | [
"BSD-3-Clause"
] | permissive | khurrumsaleem/OpenBPS | 5e0cff64b213a83aae9a4b390427e35878fe667d | 8b674ba810be36d863d261024330f271e6b31ed9 | refs/heads/master | 2023-03-21T19:09:57.008769 | 2020-10-20T16:22:13 | 2020-10-20T16:22:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,354 | cpp | #include "openbps/filter.h"
#include <sstream>
#include <iostream>
#include <memory>
#include <algorithm>
#include "../extern/pugiData/pugixml.h"
#include "openbps/parse.h"
namespace openbps {
//==============================================================================
// Global variables
//=====================... | [
"dr.yuri92@gmail.com"
] | dr.yuri92@gmail.com |
4d8aa540f4961617df280eaa9ea88af4850376ab | ac8e27210d8ae1c79e7d0d9db1bcf4e31c737718 | /projects/compiler-rt/lib/scudo/standalone/quarantine.h | bac36e01c1ddcbc72e6f91cf19a8486aa6416423 | [
"NCSA",
"MIT",
"LLVM-exception",
"Apache-2.0"
] | permissive | steleman/flang9 | d583d619bfb67d27a995274e30c8c1a642696ec1 | 4ad7c213b30422e1e0fcb3ac826640d576977d04 | refs/heads/master | 2020-11-27T09:50:18.644313 | 2020-03-07T14:37:32 | 2020-03-07T14:37:32 | 229,387,867 | 0 | 0 | Apache-2.0 | 2019-12-21T06:35:35 | 2019-12-21T06:35:34 | null | UTF-8 | C++ | false | false | 9,524 | h | //===-- quarantine.h --------------------------------------------*- C++ -*-===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===---------------------------... | [
"stefan.teleman@cavium.com"
] | stefan.teleman@cavium.com |
72e97f4dd13e4323fa6411fa4b3e77b4b1bd346c | 2561dba6586c3d2a3fcd62d29dd6be89cd893855 | /code/LaneDetection/src/LaneDetectionAccessories/ContourSplineHelper.cpp | b54e17021a253c2015613f3f7e42f231247bc874 | [] | no_license | Yueeeeeeee/SLAMParking | 4c5503f46233b4e011775070458e18c49f49fdec | e58190181be8b3758cc26d3f316c9bb8c2ca72a0 | refs/heads/master | 2020-06-24T18:25:14.778746 | 2019-07-26T16:05:01 | 2019-07-26T16:05:01 | 199,043,789 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,736 | cpp | /*
* ContourHelper.cpp
*
* Created on: Jun 21, 2018
* Author: martin
*/
#include <opencv2/opencv.hpp>
#include <iterator>
//////////////////////////
// Note: Opencv coordinate system: (0,0) is at the upper left corner of the image
////////////////////////
using namespace std;
using namespace cv;
namespac... | [
"yuezrhb@gmail.com"
] | yuezrhb@gmail.com |
f9456ac51971b9b76d72caf4bc7c38d669beb077 | b3039bd708590128db3113e2df799f65f3690f0c | /SP_4/SP_4/SP_4.cpp | 3e46a6ddb6c1e83f09a7e4aee934ae6aaafa6177 | [] | no_license | degarem/system_programs | 2c5816dd18ee0ed9a686b6cf85ca7330b12599d1 | d075eec16dd1633eeb615816ae2f468b53e69831 | refs/heads/master | 2021-01-02T18:46:18.628336 | 2020-05-20T16:39:37 | 2020-05-20T16:39:37 | 239,749,207 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,057 | cpp | #include "stdafx.h"
#include <string>
#include <iostream>
#include <Windows.h>
using namespace std;
#define MAX_PATH_SYMBOL_COUNT 260
#define MAX_COMMANMD_SYMBOL_COUNT 10
void perfrom_command(wstring command, wstring parameter);
bool is_file_exists(wstring path);
int wmain(int argc, wchar_t *argv[])
{
printf("\n* ... | [
"40548809+degarem@users.noreply.github.com"
] | 40548809+degarem@users.noreply.github.com |
54a3553fb55b67f6c6be579bc194aba07b679926 | 83ed1e2f176133c03a5f6dfa504b8df15ae71efb | /cpp/Heavy_atom_code/decapeptide_utils/txt2txt.cpp | 327fde3574477f6e65061609e20cc100f0b66e95 | [] | no_license | jmborr/code | 319db14f28e1dea27f9fc703be629f171e6bd95f | 32720b57699bf01803367566cdc5fff2b6bce810 | refs/heads/master | 2022-03-09T16:11:07.455402 | 2019-10-28T15:03:01 | 2019-10-28T15:03:01 | 23,627,627 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,493 | cpp | #include<iostream>
using namespace std;
#include<fstream>
#include<string>
#include <cstdlib>
#include<fstream>
#include"pdbClasses2.h"
#include"atom_param.h"
#include"amino_acid_param.h"
#include"miscellanea.h"
#include"random.h"
/*=====================================================*/
void printSYS_SIZE( ifstream ... | [
"borreguero@gmail.com"
] | borreguero@gmail.com |
5f140110f4b38544bb9f560bdaadae83ac0c7d06 | 69ef4de6d617b09cd0b23715d1aae689fc1f9b56 | /src/CalcViewModel/GraphingCalculator/GraphingSettingsViewModel.h | 77f1dda1601351236f712a6a541cb63acca63c93 | [
"MIT",
"Apache-2.0",
"LGPL-2.1-or-later"
] | permissive | thisisakshatsri/calculator | 661a80196726d9976712ef01eab006cd2c1f3b32 | 69d0fdaf7f4f1228a63544909f5520d7d320caef | refs/heads/master | 2023-08-22T16:32:33.465600 | 2021-10-20T06:34:35 | 2021-10-20T06:34:35 | 410,344,102 | 1 | 6 | MIT | 2021-10-03T22:03:06 | 2021-09-25T17:54:36 | C++ | UTF-8 | C++ | false | false | 9,834 | h | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
#include "../Common/Utils.h"
#include "CalcViewModel/Common/TraceLogger.h"
namespace CalculatorApp::ViewModel
{
#pragma once
[Windows::UI::Xaml::Data::Bindable] public ref class GraphingSettingsViewModel sealed : publi... | [
"noreply@github.com"
] | thisisakshatsri.noreply@github.com |
99e753d63f42d129b194c3ca790139a3a635581d | 56faa945655349a2c529b5076139ad823db2e516 | /leetcode/medium/307.cpp | 65a5cfed9044090c9b201803c680ca30fc4eb871 | [] | no_license | lijinpei/leetcode | 61e3fec4ec935ec0d3a8048e5df6c022b3663545 | 9833469506f4802009398b6217e510e35b188c95 | refs/heads/master | 2018-10-17T08:28:08.716683 | 2018-08-02T16:30:50 | 2018-08-02T16:30:50 | 120,696,376 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 901 | cpp | #include <vector>
#include <cstdint>
uint32_t LOWBITS(uint32_t v) {
return v & -v;
}
class NumArray {
uint32_t s;
std::vector<int> bit, nums;
int sum(uint32_t p) {
int ret = 0;
while (p) {
ret += bit[p];
p -= LOWBITS(p);
}
return ret;
}
public:
NumArray(const std::vector<int>... | [
"leekingp1994@163.com"
] | leekingp1994@163.com |
030b79c12c8e894700ff65bc26fc134493a5d57d | 58026475b343b937fcb94e8adeded69ef693e82b | /tools/json-ast-exporter/src/Options.cpp | e4b6c4e41be1c119ad107709e0bdf4ed9a5cf73d | [
"MIT"
] | permissive | plast-lab/cclyzer | ca6107e968579c5ae1156db6556940c65730b5f8 | 470b614ff26a348d5d9bde1cabe52cf668ec48b9 | refs/heads/master | 2021-01-16T18:05:18.515778 | 2020-10-02T11:37:55 | 2020-10-02T11:37:55 | 15,769,661 | 74 | 15 | MIT | 2020-10-02T11:37:57 | 2014-01-09T14:59:04 | Python | UTF-8 | C++ | false | false | 5,160 | cpp | #include <assert.h>
#include <iostream>
#include <boost/algorithm/string.hpp>
#include <boost/filesystem.hpp>
#include <boost/program_options.hpp>
#include <boost/program_options/options_description.hpp>
#include <boost/program_options/parsers.hpp>
#include <boost/program_options/variables_map.hpp>
#include "Options.... | [
"gbalats@gmail.com"
] | gbalats@gmail.com |
57db5926af38920f85257567f1ad2c59ad40ea3f | 1af656c548d631368638f76d30a74bf93550b1d3 | /chrome/browser/chromeos/power/auto_screen_brightness/als_reader.h | 4cc31004eccd9763152cff85ab9171f41948eab8 | [
"BSD-3-Clause"
] | permissive | pineal/chromium | 8d246c746141ef526a55a0b387ea48cd4e7d42e8 | e6901925dd5b37d55accbac55564f639bf4f788a | refs/heads/master | 2023-03-17T05:50:14.231220 | 2018-10-24T20:11:12 | 2018-10-24T20:11:12 | 154,564,128 | 1 | 0 | NOASSERTION | 2018-10-24T20:20:43 | 2018-10-24T20:20:43 | null | UTF-8 | C++ | false | false | 1,519 | h | // Copyright 2018 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_CHROMEOS_POWER_AUTO_SCREEN_BRIGHTNESS_ALS_READER_H_
#define CHROME_BROWSER_CHROMEOS_POWER_AUTO_SCREEN_BRIGHTNESS_ALS_READER_H_
#in... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
aa4dfad1b72468809b3d5e951bd26fd143896241 | 6cf49b15039dbe8c65af72d044ef28c7d6170db9 | /ITAK/main.cpp | d97b45fb93aed5037790b2358ff62700a29e8fdb | [] | no_license | drakeaharper/cs1440 | cd0d529d049d010b1a41cda7687d5d65b3b82df6 | 373d65ffbb6214f12b13dec58e4b64f47e78b737 | refs/heads/master | 2021-01-11T14:54:02.260140 | 2017-04-30T00:43:17 | 2017-04-30T00:43:17 | 80,245,002 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,185 | cpp | #include <iostream>
#include <fstream>
#include <string>
#include "Dictionary.h"
#include "Utils.h"
#include "Analyzer.h"
#include "DenialOfServiceAnalyzer.h"
#include "PortScanAnalyzer.h"
int main()
{
Configuration go;
return 0;
}
/*
Dictionary<std::string, KeyValue<std::string, KeyValue<std::st... | [
"drakeaharper@gmail.com"
] | drakeaharper@gmail.com |
fb164e40cc1d4ad6e31c7a7725b327dec9d2a3ae | 57a61c7ea1cc0a2e7686a07f3430121597043dab | /irrlicht-1.7.3/source/Irrlicht/CFileList.h | d8213e4c52b4c358f144e781f40ab3df6ea7f51f | [] | no_license | dg8fv2010/WonderLandNet | 8c3b85a5abc813dba6407cdc5b72cfea4a8caaaf | 22f7aeef8c676c56f49c7c6854c0a469c29bdb91 | refs/heads/master | 2021-01-10T12:03:31.853501 | 2015-06-06T12:15:49 | 2015-06-06T12:15:49 | 36,978,516 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,616 | h | // Copyright (C) 2002-2010 Nikolaus Gebhardt
// This file is part of the "Irrlicht Engine".
// For conditions of distribution and use, see copyright notice in irrlicht.h
#ifndef __C_FILE_LIST_H_INCLUDED__
#define __C_FILE_LIST_H_INCLUDED__
#include "IFileList.h"
#include "irrString.h"
#include "irrArray.h"
namespac... | [
"xuewentao@zheng-exp.lab"
] | xuewentao@zheng-exp.lab |
064c4d6e412580c3b37908b2a19f8243a5c4c7f6 | 3f5022154cbec1bb4643a50316e297f979b53184 | /gcc-7.4.0-amd64/usr/x86_64-astraeus-linux-gnu/include/c++/7.4.0/bits/sstream.tcc | 5c0e9993e85aa3c84890a9d8e416dad3780481a3 | [] | no_license | ahyangyi/astraeus-toolchain-binary | 45b011d3a247e67fa86f0572a183dca3fbf6abd5 | 4c56bf133c52ddba4e357d39fc13b2755dce0583 | refs/heads/master | 2020-07-31T06:35:10.026719 | 2019-09-25T15:12:19 | 2019-09-25T15:12:19 | 210,516,474 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 130 | tcc | version https://git-lfs.github.com/spec/v1
oid sha256:f331fe4c0ec14855eb0e4b41ed1a8be4f020faa1dd3d3e74706a4eb43f12be66
size 10115
| [
"ahyangyi@gmail.com"
] | ahyangyi@gmail.com |
ee9ef0215f9d55114a321f34cf3fb93045b30a01 | fbfa70577946bc5ee45cfd20b8937be098ae2837 | /Particle_1D_Mechanics.cpp | 0a7ba6c176b6fe44af7b8bcb45402b70606699f0 | [] | no_license | srankli/MPM | a26c018c8f6c21a4bc2a0b01aa02dc268e5535a1 | 4511f6bdd0c01dad2318a5adfb061bd94e1d17a5 | refs/heads/master | 2020-04-05T15:54:16.235628 | 2018-11-21T08:13:05 | 2018-11-21T08:13:05 | 156,989,019 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,567 | cpp | #include "Particle_1D_Mechanics.h"
int ObjectByParticle_1D_Mechanics::addParticle(
ParticleParam_1D_Mechanics *pcl_param, ConstitutiveModelParam *pcl_cm)
{
Particle_1D_Mechanics *pcl;
if (!pcl_param || !pcl_cm)
return -1;
++particleNum;
pcl = static_cast<Particle_1D_Mechanics *>(particles_mem.alloc());
pcl-... | [
"yimingli0802@foxmail.com"
] | yimingli0802@foxmail.com |
e77552ec65a438a6ad053575e1b57cded2cdffa4 | c0c93e8f0112f9cbfd6333b23749bb429505312a | /crane-common/overlay/hardware/libhardware/gralloc/mapper.cpp | d9f25bbd86cc1838957d27a0386b307e195ea231 | [] | no_license | stelios97/allwinner_board_files | 2e2a8ca414dfd6f29b4cfa67182dfb7f461dbc18 | bf9248c55ce7d878a7ab74bc7bb9ca2c758b4d55 | refs/heads/master | 2021-01-24T01:10:36.407815 | 2012-03-13T16:36:16 | 2012-03-13T16:36:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,212 | cpp | /*
* Copyright (C) 2008 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless requir... | [
"contact@arpandeb.com"
] | contact@arpandeb.com |
c67d22637fe0d01965a99ddfea05623be6cb7c8b | d96349b211a135bc63e828f186e3560c0d383197 | /Cp8/8-f-1_skill.cpp | 2665a1fc0e6f32220f08037ea3747d67b6de1c7b | [] | no_license | masa-k0101/Self-Study_Cpp | 116904e7a45d8d211e85b3e20cfbfc602dd866f4 | 1fdd3b0637274934e7730ca87a400bf2c97daf8f | refs/heads/master | 2022-12-14T01:59:20.763522 | 2020-09-15T13:20:08 | 2020-09-15T13:20:08 | 263,053,847 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 491 | cpp | #include<iostream>
using namespace std;
main()
{
// デフォルト設定で表示
cout << 100.0 << '\n';
// ここで書式を変更
cout.setf(ios::hex);
cout << 100 << "\n";
cout.unsetf(ios::hex);
cout.setf(ios::oct);
cout << 100 << "\n";
int n = 100;
/* 10進表示 */
printf("n = %d\n", n);
... | [
"noreply@github.com"
] | masa-k0101.noreply@github.com |
9a68ddb48a81753dc27dcd793647a216f920ec6e | a8a29de75dd6ad07dd75c4e3ffa2d3da807d4250 | /include/fastformat/sinks/null.hpp | eaa9e506ed75d98b98fbe0f6669c99afcd926ba3 | [
"BSD-2-Clause"
] | permissive | moteus/FastFormat | 3dbcdc33359f0d68db3db9f50f56b3f5d9296cdc | acd894848a5c4a6f9f21ccdd15aa80cc0a079496 | refs/heads/master | 2021-01-17T17:12:18.812317 | 2015-09-28T12:15:05 | 2015-09-28T12:15:05 | 63,425,872 | 1 | 1 | null | 2016-07-15T13:58:11 | 2016-07-15T13:58:10 | null | UTF-8 | C++ | false | false | 5,314 | hpp | /* /////////////////////////////////////////////////////////////////////////
* File: fastformat/sinks/null.hpp
*
* Purpose: A class that acts as a bit-bucket sink.
*
* Created: 3rd December 2008
* Updated: 14th September 2010
*
* Home: http://www.fastformat.org/
*
* Copyright (c) 200... | [
"matthew@synesis.com.au"
] | matthew@synesis.com.au |
0bc16a5e72ff7144a2f809280d3e69bea38c4c23 | 54f352a242a8ad6ff5516703e91da61e08d9a9e6 | /Source Codes/AtCoder/abc053/B/4715497.cpp | 74ab4429dd3c740a35ce24dc57ed00d97f86f87c | [] | no_license | Kawser-nerd/CLCDSA | 5cbd8a4c3f65173e4e8e0d7ed845574c4770c3eb | aee32551795763b54acb26856ab239370cac4e75 | refs/heads/master | 2022-02-09T11:08:56.588303 | 2022-01-26T18:53:40 | 2022-01-26T18:53:40 | 211,783,197 | 23 | 9 | null | null | null | null | UTF-8 | C++ | false | false | 571 | cpp | #include <iostream>
#include <string>
using namespace std;
int main()
{
cin.tie(0);
ios::sync_with_stdio(false);
string s;
cin >> s;
int a_pos = 0;
int z_pos = 0;
for (auto itr = s.begin(); itr != s.end(); ++itr, ++a_pos)
{
if (*itr == 'A')
{
... | [
"kwnafi@yahoo.com"
] | kwnafi@yahoo.com |
62e9d63db8004d66f419f028ad09c82d396ae0a6 | 74cd1bcbabcebd6b0ae2d9cd5a8e08864bcc1083 | /B1463/B1463_강리정.cpp | c2b157ee27994867b384a046fb7ae96491c646e0 | [] | no_license | gogosamsung/samsung | 6b800c4d7a04bf365e8bc40714830cc9e67bb421 | 14fe0155ced6b5dd224d5dbde7207b07c0e37be2 | refs/heads/main | 2023-08-25T03:06:54.054541 | 2021-10-23T14:56:08 | 2021-10-23T14:56:08 | 410,567,433 | 0 | 5 | null | 2021-10-21T13:40:44 | 2021-09-26T14:01:44 | Java | UTF-8 | C++ | false | false | 505 | cpp | #define _CRT_SECURE_NO_WARNINGS
#include <stdio.h>
int N;
int memo[1000000] = { 0 };
void gogo(int n, int cnt) {
if (n == 1) {
if (memo[1] == 0) {
memo[1] = cnt;
}
else if (memo[1] > cnt) {
memo[1] = cnt;
}
return;
}
if (memo[n]!=0 && memo[n] <= cnt)
return;
memo[n] = cnt;
if (n % 3 == 0) {... | [
"noreply@github.com"
] | gogosamsung.noreply@github.com |
0c353113d49dde5026498454055f1cb171dd194e | 6848723448cc22474863f6506f30bdbac2b6293e | /tools/mosesdecoder-master/phrase-extract/syntax-common/tree_test.cc | 8e689f0000e50e8ddc0ea7d55fd8bb43950d70af | [
"Apache-2.0",
"LicenseRef-scancode-warranty-disclaimer",
"LGPL-2.1-only",
"LGPL-2.0-or-later",
"GPL-1.0-or-later",
"LGPL-2.1-or-later",
"LicenseRef-scancode-other-copyleft",
"GPL-2.0-only"
] | permissive | Pangeamt/nectm | 74b3052ba51f227cd508b89d3c565feccc0d2f4f | 6b84f048698f2530b9fdbb30695f2e2217c3fbfe | refs/heads/master | 2022-04-09T11:21:56.646469 | 2020-03-30T07:37:41 | 2020-03-30T07:37:41 | 250,306,101 | 1 | 0 | Apache-2.0 | 2020-03-26T16:05:11 | 2020-03-26T16:05:10 | null | UTF-8 | C++ | false | false | 4,375 | cc | #include "tree.h"
#define BOOST_TEST_MODULE TreeTest
#include <boost/test/unit_test.hpp>
#include <boost/scoped_ptr.hpp>
namespace MosesTraining {
namespace Syntax {
namespace {
// Test Tree<>::PreOrderIterator with a trivial, single-node tree.
BOOST_AUTO_TEST_CASE(pre_order_1) {
boost::scoped_ptr<Tree<int> > roo... | [
"alexander.raginsky@gmail.com"
] | alexander.raginsky@gmail.com |
f844974909f7ecb127696d2b93920b1a575e48bd | 671ef594c3a043b32900864b3f5bf13bbcdab0aa | /src/training/elapsedtimecondition.h | 6762d33480632129600dea9b89a5f45cf7cef28c | [
"MIT"
] | permissive | VSitoianu/Allegiance | bae7206b874d02fdbf4c9c746e9834c7ef93154e | 6f3213b78f793c6f77fd397c280cd2dd80c46396 | refs/heads/master | 2021-05-07T17:15:01.811214 | 2017-10-22T18:18:44 | 2017-10-22T18:18:44 | 108,667,678 | 1 | 0 | null | 2017-10-28T17:02:26 | 2017-10-28T17:02:26 | null | UTF-8 | C++ | false | false | 795 | h | /*
** Copyright (C) 1999 Microsoft Corporation. All Rights Reserved.
**
** File: elapsedtimecondition.h
**
** Author:
**
** Description:
** Header file for the training library "elapsedtimecondition" interface.
**
** History:
*/
#ifndef _ELAPSED_TIME_CONDITION_H_
#define _ELAPSED_TIME_CONDITION... | [
"Administrator@svn-alleg.net"
] | Administrator@svn-alleg.net |
d7768827b482fb62285ec1a9dde3e8c737254b75 | 2de859cf5e8a4e7c0e6b4804495a2dae7404d226 | /GeometricTools/Graphics/FontArialW400H12.cpp | 0b1c6ab5a510678a697858a2de37df2d0e367215 | [] | no_license | thecsapprentice/world-builder-dependencies | ac20734b9b9f5305f5342b0b737d7e34aa6a3bb6 | 9528ad27fc35f953e1e446fbd9493e291c92aaa8 | refs/heads/master | 2020-08-27T16:52:39.356801 | 2019-10-26T20:36:00 | 2019-10-26T20:36:00 | 217,438,016 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 106,172 | cpp | // David Eberly, Geometric Tools, Redmond WA 98052
// Copyright (c) 1998-2019
// Distributed under the Boost Software License, Version 1.0.
// https://www.boost.org/LICENSE_1_0.txt
// https://www.geometrictools.com/License/Boost/LICENSE_1_0.txt
// Version: 4.0.2019.08.13
#include <Graphics/GTGraphicsPCH.h>
#in... | [
"nmitchel@cs.wisc.edu"
] | nmitchel@cs.wisc.edu |
2987d2dba0e2536fcfd078571b3d66b3038e988a | 4c85c3017c86b66f203e46bd7785cb34af9e7eb8 | /include/KeyFrameDataBase.h | 4180552daeaf3a5de23b1aa5d47f7cda1b265d76 | [] | no_license | StanleyYake/Kinect_SLAM | f2481abeaf21999e3fcae8d2e5b201c61537257c | 016640c9da5aded6399b4dd95cc7cc68b9696cd1 | refs/heads/master | 2022-03-14T02:45:37.436040 | 2018-07-05T13:52:03 | 2018-07-05T13:56:16 | 469,284,731 | 1 | 0 | null | 2022-03-13T06:01:43 | 2022-03-13T06:01:42 | null | UTF-8 | C++ | false | false | 1,793 | h | /**
* This file is part of ORB-SLAM2.
*
* Copyright (C) 2014-2016 Raúl Mur-Artal <raulmur at unizar dot es> (University of Zaragoza)
* For more information see <https://github.com/raulmur/ORB_SLAM2>
*
* ORB-SLAM2 is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public Lice... | [
"mysita@vip.qq.com"
] | mysita@vip.qq.com |
eaa18a199f1a71d94af83ce901018d228a133c4e | d366edcc8b6202e810c362ba1776cf453ebb13dd | /googletest/src/gtest-death-test.cc | 33248caa313e3908dd0b02b04c90183bc61460a1 | [
"MIT"
] | permissive | madureira/math | 1674b92099d748cc162ed710f62b2196449507e9 | 85bd826d401ed1632aad21c48e6483cfb9f4ba97 | refs/heads/master | 2020-04-08T13:53:11.905859 | 2020-02-19T16:51:53 | 2020-02-19T16:51:53 | 159,411,211 | 0 | 0 | MIT | 2018-11-28T02:07:27 | 2018-11-27T22:53:07 | C++ | UTF-8 | C++ | false | false | 62,203 | cc | // Copyright 2005, Google Inc.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// * Redistributions of source code must retain the above copyright
// notice, this list of conditions ... | [
"rafael.madureira.santos@gmail.com"
] | rafael.madureira.santos@gmail.com |
e5ffa7dfed0312035fc9dd42a983b72834e88f12 | 9177984cb1cd5843df94a93846367db5dd45daf0 | /src/cs/geolib/csTimeStretch.cc | f3b77bc2fc8a58eb241889f46cce7bf58aed1ba2 | [] | no_license | fccoguz/OpenSeaSeis | 001f8a9d4258ce033ad5e2fa27f719c1f6a5d0a8 | eb09a7ed115eaff4b055df25a60e975650635cda | refs/heads/master | 2023-03-18T20:11:24.133298 | 2020-02-18T15:20:58 | 2020-02-18T15:20:58 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,380 | cc | /* Copyright (c) Colorado School of Mines, 2013.*/
/* All rights reserved. */
#include <cmath>
#include <cstring>
#include "csTimeStretch.h"
#include "csInterpolation.h"
#include "geolib_methods.h"
#include "csException.h"
#include <iostream>
#include <cstdio>
#include <cstdlib>
using namespace ... | [
"john.19071969@gmail.com"
] | john.19071969@gmail.com |
acb71b1d30c41624b4d569aa43e55dd99ea019f3 | 7a433f33264d0ad90c14254797a58649c012ce0d | /25.1/p11361/p11361/main.cpp | 1cfc9c66fe2ba548190e8e7dc5181445fcc4b76b | [
"Apache-2.0"
] | permissive | Qvocha/Grisha | dc1a2d797bbdfe59b01abe03565cd483599148c0 | f7a8ce32c3abe5f57c00bdef28c19bf62d1fee28 | refs/heads/master | 2020-06-09T22:29:17.639576 | 2019-06-24T15:42:23 | 2019-06-24T15:42:23 | 193,518,874 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 110 | cpp | #include <iostream>
#include "task25.h"
using namespace std;
int main()
{
fipi2018();
return 0;
} | [
"pineappletoe@gmail.com"
] | pineappletoe@gmail.com |
dc020678e8d813dc327663a5419e1e27c9740900 | 75596988cf42a9cf443cdcc77feaa056f29181e6 | /ASTAR/Classes/SceneMapWalk.cpp | 60e16bc66329281ff0c5c16512c825185b99adaf | [] | no_license | ndlwill1020/AStar | 67882cb0f41f605c6a1e41140ee7186b65cf55ca | 5dc09943d6be902dfa2b30e3a8d59b1ed873e38d | refs/heads/master | 2021-01-19T04:02:12.303495 | 2016-07-11T04:05:50 | 2016-07-11T04:05:50 | 47,319,863 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 664 | cpp | #include "SceneMapWalk.h"
#include "LayerHudControl.h"
bool SceneMapWalk::init(){
if(!Scene::init()){
return false;
}
p_LayerMapWalk=LayerMapWalk::create();
//log("LayerMapWalk->size:%f:%f",p_LayerMapWalk->getContentSize().width,p_LayerMapWalk->getContentSize().height);
this->addChild(p_LayerMapWalk)... | [
"ndl_mac1020@126.com"
] | ndl_mac1020@126.com |
05abe423e121cf25f5c743a9703a7d0adba5c41c | 3bbad6f1f610ad8cc4edec00aae854f27e9abf73 | /cpp/扩展欧几里得算法/扩展欧几里得算法/main.cpp | 3b59ef57402de92dfa2b8ede859c9957e36eaffd | [] | no_license | torresng/Algorithms_practice | c765e6e60c4e2a84486a1a88fb6d42503629876a | dae0eaa1dd0663fb428a0002dc5fa8528ff4204f | refs/heads/master | 2021-08-07T08:57:16.690536 | 2020-04-15T06:24:12 | 2020-04-15T06:24:12 | 152,349,445 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 422 | cpp | #include <iostream>
using namespace std;
int exgcd(int a, int b, int &x, int &y) {
if (!b) {
x = 1, y = 0;
return a;
}
int d = exgcd(b, a % b, y, x);
y -= a / b * x;
return d;
}
int main() {
int n;
scanf("%d", &n);
while (n--) {
int a, b, x, y;
scanf(... | [
"torresng2684cte@gmail.com"
] | torresng2684cte@gmail.com |
3d711433719fb800b61d79e3634d870eb56683b5 | 5884451df714e76b8725fa2c68fdce8c782b9bf0 | /libcore/src/network/Frame.cpp | 92a40f6b0c4369545e3ad843ff1c306c1ec119c6 | [
"BSD-3-Clause"
] | permissive | khoshino/sirikata | 933a0736161ae561be7c0d9ab306f222d8663a02 | f4c1838a4cf7f3aa96752f4c3001c5190908c245 | refs/heads/master | 2021-01-21T00:25:53.201796 | 2011-06-22T20:45:05 | 2011-06-22T20:58:54 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,079 | cpp | /* Sirikata
* Frame.cpp
*
* Copyright (c) 2010, Ewen Cheslack-Postava.
* 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 c... | [
"ewencp@cs.stanford.edu"
] | ewencp@cs.stanford.edu |
e3b1a27d67e621f8ee6951038f95d5a57c408e16 | 76fe0a0404ca1d71779fc6c1122b87e0d7a7aa1b | /Treinos equipe/xv de piracikobus/2018/10-26 2017 X Samara/h.cpp | eedda1e77f17931dd15d2b513306f0f900131b8c | [] | no_license | vitorguidi/Competitive-Programming | 905dd835671275284418c5885a4a1fae2160f451 | 823a9299dce7b7f662ea741f31b4687f854bb963 | refs/heads/master | 2021-06-25T06:58:53.670233 | 2020-12-19T16:53:15 | 2020-12-19T16:53:15 | 133,260,248 | 3 | 0 | null | 2018-05-13T17:46:43 | 2018-05-13T17:40:24 | null | UTF-8 | C++ | false | false | 1,900 | cpp | #include "bits/stdc++.h"
using namespace std;
#define pb push_back
#define mp make_pair
#define fst first
#define snd second
#define fr(i,n) for(int i=0;i<n;i++)
#define frr(i,n) for(int i=1;i<=n;i++)
#define ms(x,i) memset(x,i,sizeof(x))
#define dbg(x) cout << #x << " = " << x << endl
#define all(x) x.begin(),x.en... | [
"vitorguidi@gmail.com"
] | vitorguidi@gmail.com |
4016c5721be33e808eaebf73d6d96970dd4b2d78 | 95ae7dfa9ee578f1b24a65986ff78bf77ceca0c5 | /Engine/lib/opcode/OPC_TreeCollider.h | a887983c34ba3c921c9ebc821bd1b7aeec0bcece | [
"MIT",
"LicenseRef-scancode-unknown"
] | permissive | TorqueGameEngines/Torque3D | 4e1f6a05cc0928980c8c7c20bcdd680eaa6dcee8 | a445a4364664e299196bd551d213844486080145 | refs/heads/development | 2023-09-03T12:40:40.658487 | 2023-08-24T14:44:43 | 2023-08-24T14:44:43 | 267,440,108 | 1,192 | 178 | MIT | 2023-09-13T14:28:16 | 2020-05-27T22:35:54 | C++ | UTF-8 | C++ | false | false | 13,417 | h | ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/*
* OPCODE - Optimized Collision Detection
* Copyright (C) 2001 Pierre Terdiman
* Homepage: http://www.codercorner.c... | [
"davew@garagegames.com"
] | davew@garagegames.com |
87be81184c9e1ce8364f8b7da2df8c8dd0811783 | 7dd45eec6918a7c63e8ae87a5f22f8be7f313356 | /numeric_simple.cpp | 436d6a700cdf067eb16f74e9289f877c96452c93 | [] | no_license | yazevnul/yzw2v | f89188d62416bb24ac6833c6dab7b961767f7b48 | cc52fa5d0108d255c9b41bb1a282790dcdfeeb60 | refs/heads/master | 2021-01-21T12:59:09.972976 | 2016-04-19T15:53:08 | 2016-04-19T15:53:08 | 54,340,419 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,456 | cpp | #include "numeric.h"
void yzw2v::num::Prefetch(const float* v) noexcept {
(void)v;
}
void yzw2v::num::Fill(float* v, const uint32_t v_size, const float value) noexcept {
for (auto i = uint32_t{}; i < v_size; ++i) {
v[i] = value;
}
}
void yzw2v::num::Zeroize(float* v, const uint32_t v_size) noexce... | [
"kostyabazhanov@mail.ru"
] | kostyabazhanov@mail.ru |
c8dc701235155a9caac9d92bf68379fd38f7567c | 10341b14f0528b0f4a6449f9a3d8dc70e9044143 | /codeforces/1180-A.cpp | 2a54cd127fbff35e1f6174dd4071b5d78bc20e00 | [] | no_license | ayu16/CodeSolutions | e78fe8ec4c9b322b0071e20313f3b4c6e0185272 | 503845f6c5956507dbf8e033207ab074dc1d5ad4 | refs/heads/main | 2023-08-25T12:18:23.496152 | 2021-10-21T05:56:19 | 2021-10-21T05:56:19 | 419,598,280 | 0 | 0 | null | 2021-10-21T05:56:19 | 2021-10-21T05:53:10 | null | UTF-8 | C++ | false | false | 1,193 | cpp | // https://codeforces.com/contest/1180/problem/A
#include<bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef unsigned long long ull;
#define pb push_back
#define mp make_pair
#define vi vector<int>
#define vll vector<ll>
#define pii pair<int, int>
#define pll pair<ll, ll>
#define F first
#define S seco... | [
"ankurcharan98@gmail.com"
] | ankurcharan98@gmail.com |
2bd23cab16a03352e21d9446f50e310cea2a78b2 | 9618aeab5df07ffd1d4f204c8cc3af1a2345d420 | /chrome/browser/chromeos/login/login_ui_keyboard_browsertest.cc | 23c814f59235b138670e940ad2ff12214cd9f337 | [
"BSD-3-Clause"
] | permissive | dmt3o/chromium | 3709c0c73e37aec82dc44d2bbe234d1f1829c32f | d368d5937f235033bd495a57005587ab275536b4 | refs/heads/master | 2022-12-19T04:43:33.801508 | 2020-10-02T02:56:57 | 2020-10-02T02:56:57 | 279,344,900 | 0 | 0 | BSD-3-Clause | 2020-10-02T02:50:00 | 2020-07-13T15:43:43 | null | UTF-8 | C++ | false | false | 18,941 | cc | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ash/public/cpp/login_screen_test_api.h"
#include "base/command_line.h"
#include "base/location.h"
#include "base/single_thread_task_runner.h"
#i... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
d738b7df9aeea6d2243526f948c614223cced24b | 6f6bbab251671ddcdac118b6e730aaecda463e9e | /polynomial_plus.cpp | 033259c674b96d50b938967ce71964d8ec6ebba2 | [] | no_license | jc3939/Coursera-PKU-Data-Structures | 192696c786c171045001bbb35745b80cd47c90d5 | 12304715c7fcee82b92a885852a48d6ca060f5f5 | refs/heads/master | 2021-01-21T13:56:43.504598 | 2016-05-14T23:54:14 | 2016-05-14T23:54:14 | 45,805,699 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,814 | cpp | #include <iostream>
#include <fstream>
#include <string>
#include <sstream>
using namespace std;
template<typename T> class Node{
public:
T indx;
T coeff;
Node<T> * next;
Node(T _indx, T _coeff, Node<T> * nextValue=NULL){
//cout<<"construct index"<<_indx<<endl;
indx = _indx;
co... | [
"jianjun_chen@Jianjun-Chens-MacBook-Pro.local"
] | jianjun_chen@Jianjun-Chens-MacBook-Pro.local |
2d26a6b0187e8ac52e7969028a31b44e3de25b89 | 8f29bbdbc1b29365eca840b72d61f63abe8f829f | /Semester2/3001/AI midterm/SDLGameEngine/Align.h | d7800e496cb46097c91e1b8ada52797d677fda36 | [] | no_license | CccrizzZ/GBC01 | d294f01aab97de37f2b70bcf325ae713e4eed740 | c44130872f609e5778992d8a6dad09caed29ff71 | refs/heads/master | 2022-02-22T11:32:54.720661 | 2019-10-14T00:07:50 | 2019-10-14T00:07:50 | 158,318,882 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 304 | h | #pragma once
#include "SteeringBehaviour.h"
class Align :
public SteeringBehaviour
{
public:
Align();
Align(GameObject* go);
~Align();
void Update();
float orientation;
float maxAngularAccelaration = 0.1f;
float targetRadius = 0.5f;
float slowRadius = 1.0f;
float timeToTarget = 0.1f;
};
| [
"ccccrizzzz@gmail.com"
] | ccccrizzzz@gmail.com |
9254d769384a8ea2417fbb2a7db4ce39bed55ed9 | fbbef987934e34d3163864008bd6e32008532662 | /TechDeMMO/GameObjectFactory.cpp | c582784770b3f045532568314d7953f6c28ce927 | [] | no_license | Lugswo/TechDeMMO | bb07f9dc02526b75f971032a283844a679a5cda2 | 2d50b6355d5fa4abb7876523f990a0ad7c555201 | refs/heads/master | 2020-06-01T00:23:29.565161 | 2019-09-05T19:23:16 | 2019-09-05T19:23:16 | 190,555,665 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,152 | cpp | #include "GameObjectFactory.h"
#include "TraceLog.h"
#include "TransformComponent.h"
#include "SpriteComponent.h"
#include "PlayerComponent.h"
#include "RandomEngine.h"
std::map<unsigned, GameObject *> GameObjectFactory::archetypeList, GameObjectFactory::objectList, GameObjectFactory::playerList;
unsigned GameObjectF... | [
"spencer.park@digipen.edu"
] | spencer.park@digipen.edu |
d2ee9c42388a25df746ce19290d8aff732da086f | 7f86aa1f4533a3845dbb7379f4b4d24ac9ed8496 | /src/LocalFit.cpp | b43016b9c0d66d63e064d697b8b95d475083a645 | [] | no_license | wagenadl/salpa | 33cd5e89556bc0913add37e7718cba6822cbba6a | 2d9195b21f321fd0913fd3794fee4f59e0ed1ca4 | refs/heads/master | 2023-03-02T07:17:06.713341 | 2023-02-28T18:04:14 | 2023-02-28T18:04:14 | 271,944,219 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,964 | cpp | /* artifilt/LocalFit.C: part of meabench, an MEA recording and analysis tool
** Copyright (C) 2000-2003 Daniel Wagenaar (wagenaar@caltech.edu)
**
** 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 Foundati... | [
"daw@caltech.edu"
] | daw@caltech.edu |
bdb0ea1bfd29fb2e90f269251480495f9b95072a | 1942a0d16bd48962e72aa21fad8d034fa9521a6c | /aws-cpp-sdk-clouddirectory/source/model/UpdateSchemaResult.cpp | 2212eb21df8632de13d62bed3387d048b8bfa2ce | [
"Apache-2.0",
"JSON",
"MIT"
] | permissive | yecol/aws-sdk-cpp | 1aff09a21cfe618e272c2c06d358cfa0fb07cecf | 0b1ea31e593d23b5db49ee39d0a11e5b98ab991e | refs/heads/master | 2021-01-20T02:53:53.557861 | 2018-02-11T11:14:58 | 2018-02-11T11:14:58 | 83,822,910 | 0 | 1 | null | 2017-03-03T17:17:00 | 2017-03-03T17:17:00 | null | UTF-8 | C++ | false | false | 1,354 | cpp | /*
* Copyright 2010-2016 Amazon.com, Inc. or its affiliates. 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.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" fil... | [
"henso@amazon.com"
] | henso@amazon.com |
920893112aa418d630c07859c9776a9561b602a5 | 9621b172b8d01dd9d275537293b3d1e9a19ef4ce | /src/chrono_vehicle/cosim/terrain/ChVehicleCosimTerrainNodeSCM.cpp | 4582e4919edd167c214b6ef80fa5ab0ed31809ae | [
"BSD-3-Clause"
] | permissive | jmange/chrono | c72173d06824405c958be0914e41db70540b84e8 | f25c40d0eccfe30b5a6cdec3148e26d5c393015b | refs/heads/main | 2023-07-09T20:03:16.294624 | 2023-07-05T18:13:27 | 2023-07-05T18:13:27 | 629,678,854 | 0 | 0 | null | 2023-04-18T20:03:19 | 2023-04-18T20:03:18 | null | UTF-8 | C++ | false | false | 15,679 | cpp | // =============================================================================
// PROJECT CHRONO - http://projectchrono.org
//
// Copyright (c) 2020 projectchrono.org
// All right reserved.
//
// Use of this source code is governed by a BSD-style license that can be found
// in the LICENSE file at the top level of th... | [
"serban@wisc.edu"
] | serban@wisc.edu |
a04f59337ff272d0381e299706acc9aacc444582 | cca59ed6978ee5e6f6f440da63e14eedd28e76d7 | /DSA/tpW-QB4ATMqVvkAeAHzKtw_df9ba297ee0745fb8e40b00bde601ded_course1_2020_05_28/week3_greedy_algorithms/1_money_change/change.cpp | 2f7e0453aeaf3fcd84dec9da3eacb661b10a1489 | [] | no_license | ach-in/moocs | f0d4ab06443442f48df66dad738077c4e13ee66d | 6799041ced3506818bf70a5a68b9c283db465808 | refs/heads/master | 2022-12-01T05:11:59.214070 | 2020-08-25T21:27:48 | 2020-08-25T21:27:48 | 287,500,318 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 296 | cpp | #include <iostream>
int get_change(int m) {
//write your code here
int n = 0;
while(m!=0){
if(m>=10){
m-=10;
n++;
}
else if(m>=5){
m-=5;
n++;
}
else{
m-=1;
n++;
}
}
return n;
}
int main() {
int m;
std::cin >> m;
std::cout << get_change(m) << '\n';
}
| [
"achinparashar1000@gmail.com"
] | achinparashar1000@gmail.com |
ae6f282ef705101cf4eb36c21886e246d3361d9b | 9037aae803aa3b42e73bcb137410d24dd064d450 | /service-api/src/thrift/gen-cpp/User_types.cpp | 10ffe270f45e5120a54b12cc8fa3f69eb95e4a59 | [] | no_license | Vann7/xjll_service | c0a626ab9ef11653fa08038355bc2c96e6a3cc63 | 8815f204e7e5b89a6bcdbc27667e636f40676769 | refs/heads/master | 2020-03-27T14:46:33.542499 | 2018-09-06T06:36:19 | 2018-09-06T06:36:19 | 146,678,172 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | true | 4,000 | cpp | /**
* Autogenerated by Thrift Compiler (0.11.0)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
*/
#include "User_types.h"
#include <algorithm>
#include <ostream>
#include <thrift/TToString.h>
namespace com { namespace test {
User::~User() throw() {
}
void User::__set_id(c... | [
"272921161@qq.com"
] | 272921161@qq.com |
5122e75cb244dd1b11bdf28da2502db735e41b69 | 68c1cc3785e2794a527ff949e30e8fea30f2f44d | /llap/Example/LLAPfly/llapfly/PublicUtility/CABundleLocker.cpp | 2161be7447c8988343fc447f3019733690e68f45 | [
"MIT"
] | permissive | jswny/LLAP | d9dc1bfe30ed83e685681791473941ed5b26a8ac | e191e7e051b0646648dce0639d429fb5676acadc | refs/heads/master | 2022-04-24T13:28:07.055354 | 2020-04-25T05:36:36 | 2020-04-25T05:36:36 | 256,833,518 | 0 | 0 | MIT | 2020-04-18T19:14:49 | 2020-04-18T19:14:48 | null | UTF-8 | C++ | false | false | 3,312 | cpp | /*
File: CABundleLocker.cpp
Abstract: CABundleLocker.h
Version: 1.1
Disclaimer: IMPORTANT: This Apple software is supplied to you by Apple
Inc. ("Apple") in consideration of your agreement to the following
terms, and your use, installation, modification or redistribution of
this Apple software constitute... | [
"sk461236626@163.com"
] | sk461236626@163.com |
eac7417b955cb0b9b30e96636949fe736ff46fb1 | fb3c1e036f18193d6ffe59f443dad8323cb6e371 | /src/flash/core/avmfeatures.cpp | 6e3da6e98960af994aa3ea184c8b53c9516ea775 | [] | no_license | playbar/nstest | a61aed443af816fdc6e7beab65e935824dcd07b2 | d56141912bc2b0e22d1652aa7aff182e05142005 | refs/heads/master | 2021-06-03T21:56:17.779018 | 2016-08-01T03:17:39 | 2016-08-01T03:17:39 | 64,627,195 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 5,033 | cpp | // DO NOT EDIT THIS FILE
//
// This file has been generated by the script core/avmfeatures.as,
// from a set of configuration parameters in that file.
//
// If you feel you need to make changes below, instead edit the configuration
// file and rerun it to get a new version of this file.
... | [
"hgl868@126.com"
] | hgl868@126.com |
2d770f576753e2f5480f4c2f3fc9d984f995238e | 52e74962932b8f41d56c8228269183623d51693d | /Count Univalue Subtrees.cpp | 8545c0e00186ba3ee1a79d1e1a79665ba3be09b1 | [] | no_license | huston66/Leetcode | be63bab22216c62a69281e6955d214e017099241 | 9d807a2de1257a8a7fe9001db73bba76adeecbbf | refs/heads/master | 2021-01-18T23:52:48.242920 | 2016-10-17T09:06:24 | 2016-10-17T09:06:24 | 50,390,668 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 623 | cpp | class Solution {
public:
int countUnivalSubtrees(TreeNode* root) {
int count=0;
dfs(root,count);
return count;
}
bool dfs(TreeNode* root,int &count){
if(root==NULL)
return 1;
bool left=dfs(root->left,count);
... | [
"zhenli@Zhens-MacBook-Pro.local"
] | zhenli@Zhens-MacBook-Pro.local |
71748b243672ce83f903dc31c0a8534aab5ada9d | 54590b39d4710d32bc129e0e9bf59fd5f56ac32d | /SDK/SoT_bsp_plm_cluster_03_d_functions.cpp | 79f0df12248339931c20448987c728460c60c612 | [] | no_license | DDan1l232/SoT-SDK | bb3bb85fa813963655288d6fa2747d316ce57af8 | cda078f3b8bca304759f05cc71ca55d31878e8e5 | refs/heads/master | 2023-03-17T13:16:11.076040 | 2020-09-09T15:19:09 | 2020-09-09T15:19:09 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 756 | cpp | // Sea of Thieves (1.4.16) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "SoT_bsp_plm_cluster_03_d_parameters.hpp"
namespace SDK
{
//---------------------------------------------------------------------------
//Functions
//---------------------------------------------------------------------------
//... | [
"53855178+Shat-sky@users.noreply.github.com"
] | 53855178+Shat-sky@users.noreply.github.com |
2ce081233676c972cc8885fcb26c9b7e5a52fdee | c057e033602e465adfa3d84d80331a3a21cef609 | /C/testcases/CWE127_Buffer_Underread/s03/CWE127_Buffer_Underread__new_wchar_t_loop_32.cpp | 5878a9f24605c668c008ee9f7c0e5ab95bef60e9 | [] | no_license | Anzsley/My_Juliet_Test_Suite_v1.3_for_C_Cpp | 12c2796ae7e580d89e4e7b8274dddf920361c41c | f278f1464588ffb763b7d06e2650fda01702148f | refs/heads/main | 2023-04-11T08:29:22.597042 | 2021-04-09T11:53:16 | 2021-04-09T11:53:16 | 356,251,613 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,946 | cpp | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE127_Buffer_Underread__new_wchar_t_loop_32.cpp
Label Definition File: CWE127_Buffer_Underread__new.label.xml
Template File: sources-sink-32.tmpl.cpp
*/
/*
* @description
* CWE: 127 Buffer Under-read
* BadSource: Set data pointer to before the allocated memory buffer
... | [
"65642214+Anzsley@users.noreply.github.com"
] | 65642214+Anzsley@users.noreply.github.com |
42420aea5678a3bcd04ca82fa7466da05ba99cd6 | 4e0e8f17ab6808483fe98c1f2ae6f7dae9780ef9 | /src/Servers/IIS/AspNetCoreModuleV2/CommonLib/StandardStreamRedirection.h | 40250933f6112330481304d021c99ee1c380181b | [
"Apache-2.0"
] | permissive | tin0819tin/aspnetcore | 8159cf9be840bc455843f42241cfc9c4bb185347 | e4e5f20500c80dd047f76462d9b99a85709edd18 | refs/heads/main | 2023-02-19T11:04:33.774876 | 2021-01-23T05:10:23 | 2021-01-23T05:10:23 | 332,164,474 | 7 | 0 | Apache-2.0 | 2021-01-23T08:40:23 | 2021-01-23T08:40:22 | null | UTF-8 | C++ | false | false | 1,447 | h | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
#pragma once
#include "RedirectionOutput.h"
#include "StdWrapper.h"
#include "ModuleHelpers.h"
class StandardStreamRedirection : NonCopyable
{
// Timeout to be us... | [
"noreply@github.com"
] | tin0819tin.noreply@github.com |
e7213cc85e18a8d1b5777847b00fbd6df595a936 | 2a13ef8aac640723d81f8dc28d7a9f9b9481cf17 | /Kernel/FileSystem/AnonymousFile.cpp | a0fa76fd426fb0a7710b629595e5ad7abce12873 | [
"BSD-2-Clause"
] | permissive | gchenfly/serenity | e2eee85c1445269a8790afe76d597b54879abea6 | 02cca9276315ac4e92083e1e25edf3e760f433ff | refs/heads/master | 2023-02-23T07:07:20.514241 | 2021-01-24T21:01:39 | 2021-01-24T21:24:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,060 | cpp | /*
* Copyright (c) 2021, Andreas Kling <kling@serenityos.org>
* 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, t... | [
"kling@serenityos.org"
] | kling@serenityos.org |
9fea3960960f63ce4479f6546ebcc96584345cbc | b350b1193f350c349923e0a7baeed08ddf6d8cfd | /Cpp_Algorithms/BinaryTreeInorderTraversal/inorder_traversal.cc | 7f589dd337262197322fc5d7a989deb291b02df3 | [] | no_license | Oscarchoi/CodeExamples | 98c326f56cc403679e1a463895acb23d2e8384ee | 716a6ac2a6549068fd109f0a36f8abcbf44f1cf9 | refs/heads/master | 2023-09-01T06:18:09.427283 | 2021-11-03T16:30:46 | 2021-11-03T16:30:46 | 262,495,049 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 684 | cc | #include <vector>
using namespace std;
struct TreeNode {
int val;
TreeNode *left;
TreeNode *right;
TreeNode() : val(0), left(nullptr), right(nullptr) {}
TreeNode(int x) : val(x), left(nullptr), right(nullptr) {}
TreeNode(int x, TreeNode *left, TreeNode *right)
: val(x), left(left), right(right) {}
};... | [
"wychoi502@gmail.com"
] | wychoi502@gmail.com |
0a585c6cf2ec3350c6aeee747399fa8d716b9403 | 2cb3e1435380226bc019f9c4970be871fd54288e | /opencv/build/modules/core/stat.simd_declarations.hpp | 5b7be13473b1fb5376736af6201415deb0a2397e | [
"Apache-2.0"
] | permissive | 35048542/opencv-contrib-ARM64 | 0db9f49721055f8597dd766ee8749be68054c526 | 25386df773f88a071532ec69ff541c31e62ec8f2 | refs/heads/main | 2023-07-20T10:43:13.265246 | 2021-08-24T13:55:38 | 2021-08-24T13:55:38 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 170 | hpp | #define CV_CPU_SIMD_FILENAME "/home/epasholl/opencv/opencv-master/modules/core/src/stat.simd.hpp"
#define CV_CPU_DISPATCH_MODES_ALL BASELINE
#undef CV_CPU_SIMD_FILENAME
| [
"epasholl@umich.edu"
] | epasholl@umich.edu |
703566c0ff4f72b9764234e7ef2f7d96aa8afc58 | 11bd8cd22a7d928b7bcd6cf09feffc295d3482d0 | /src/3GModemConnect/CtrlTraffic.h | d39d8820069b3bf9983a009aade11305690b8507 | [
"MIT"
] | permissive | amroibrahim/3GModem | 7f16a84f8472bfa588bf487c9771aa1282ed3c2c | a7530c712c34fbc0c46a6bc34febd29e4696d06b | refs/heads/master | 2021-09-06T16:54:15.682644 | 2018-02-08T19:19:08 | 2018-02-08T19:19:08 | 106,882,175 | 4 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 553 | h | #pragma once
#include <vector>
// CTraffic
class CCtrlTraffic : public CStatic
{
DECLARE_DYNAMIC(CCtrlTraffic)
public:
CCtrlTraffic();
virtual ~CCtrlTraffic();
int GetMaxSpeed(void);
void SetUpload(float m_fUpload);
void SetDownload(float m_fDownload);
void AddDownload(int iDownload);
voi... | [
"noreply@github.com"
] | amroibrahim.noreply@github.com |
3f816e7a2a9b3f9d9bea59b9db423e4e3db5068b | 5f27976c89df498ace71ffa942264e98463cd145 | /test/insert.cc | ebe5bad93cb9828f14f9cae6c2c5410a33bde7d3 | [
"Zlib",
"BSD-3-Clause",
"Apache-2.0",
"MIT",
"BSD-2-Clause"
] | permissive | jangocheng/DTC | 98b509733104da77616f12145f276154e9c97c0b | 08ed99431c94a6c191bfb4a22af24d3eed93ed8d | refs/heads/master | 2023-07-25T01:22:33.389665 | 2021-09-02T02:22:59 | 2021-09-02T02:22:59 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,241 | cc | #include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <string>
#include <unistd.h>
#include "dtcapi.h"
void insert(DTC::Server server) {
int retCode = 0;
DTC::InsertRequest insertReq(&server);
DTC::Result stResult;
insertReq.set_key(1);
insertReq.Set("uid", 1);
insertReq.Set("name", "norto... | [
"noreply@github.com"
] | jangocheng.noreply@github.com |
b34513dae9dd5334c3394686f4ed7b36ff54b905 | f77d436de9db3ec3d0b9cba8baf90895409f5b89 | /Term 2/CarND-PID-Control-Project-master/src/PID.h | 64d1b974950b75f645b131a37e94eff0fab7d81a | [] | no_license | markusmeyerhofer/SelfDrivingCarND | ecea9f13b018db0df8a718a6c0a8f52818ba04ea | 9421fc46b2a05fb9ca5c7aebd18ca4101d019d4c | refs/heads/master | 2020-07-04T06:10:21.617199 | 2019-08-13T16:17:43 | 2019-08-13T16:17:43 | 202,181,551 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 564 | h | #ifndef PID_H
#define PID_H
class PID {
public:
/*
* Errors
*/
//private:
double p_error;
double i_error;
double d_error;
/*
* Coefficients
*/
double Kp;
double Ki;
double Kd;
public:
/*
* Constructor
*/
PID();
/*
* Destructor.
*/
virtual ~PID();
/*
* Initialize PID.
... | [
"markus.meyerhofer@me.com"
] | markus.meyerhofer@me.com |
377b5b927a8ef86fca9652ccd1f1ba88e05034ac | 6c40203055fe652f238fb5f3befaa0d04a788d65 | /src/armnn/layers/BatchNormalizationLayer.hpp | d8082e5e98662c58524b3704dcc49d4109b3ac61 | [
"MIT"
] | permissive | Air000/armnn_s32v | 9243f2e8d63b9691b9c7873a54b29ac5a79d2b14 | ec3ee60825d6b7642a70987c4911944cef7a3ee6 | refs/heads/master | 2020-03-27T15:32:37.975405 | 2018-09-01T14:11:34 | 2018-09-01T14:11:34 | 146,724,624 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,005 | hpp | //
// Copyright © 2017 Arm Ltd. All rights reserved.
// See LICENSE file in the project root for full license information.
//
#pragma once
#include "LayerWithParameters.hpp"
namespace armnn
{
class ScopedCpuTensorHandle;
class BatchNormalizationLayer : public LayerWithParameters<BatchNormalizationDescriptor>
{
publ... | [
"telmo.soares@arm.com"
] | telmo.soares@arm.com |
f9c23d0d8bb0b24e415c44057753d70719c03925 | 6b40e9dccf2edc767c44df3acd9b626fcd586b4d | /NT/windows/richedit/re30/_ime.h | 381c6669f83c87732a6fdd0d23f929668b4fcfd3 | [] | no_license | jjzhang166/WinNT5_src_20201004 | 712894fcf94fb82c49e5cd09d719da00740e0436 | b2db264153b80fbb91ef5fc9f57b387e223dbfc2 | refs/heads/Win2K3 | 2023-08-12T01:31:59.670176 | 2021-10-14T15:14:37 | 2021-10-14T15:14:37 | 586,134,273 | 1 | 0 | null | 2023-01-07T03:47:45 | 2023-01-07T03:47:44 | null | UTF-8 | C++ | false | false | 10,825 | h | /*
* @doc INTERNAL
*
* @module _ime.h -- support for IME APIs |
*
* Purpose:
* Most everything to do with FE composition string editing passes
* through here.
*
* Authors: <nl>
* Jon Matousek <nl>
* Justin Voskuhl <nl>
* Hon Wah Chan <nl>
*
* History: <nl>
* 10/18/1995 jonmat... | [
"seta7D5@protonmail.com"
] | seta7D5@protonmail.com |
b8fb6b1611a86c1e0a30e6929c9e3b6bcca5e044 | 67f988dedfd8ae049d982d1a8213bb83233d90de | /external/chromium/ui/gfx/rect_f.cc | d7b1089c96de6c556d3fc08b85ebc2e1fe86c4cd | [
"BSD-3-Clause"
] | permissive | opensourceyouthprogramming/h5vcc | 94a668a9384cc3096a365396b5e4d1d3e02aacc4 | d55d074539ba4555e69e9b9a41e5deb9b9d26c5b | refs/heads/master | 2020-04-20T04:57:47.419922 | 2019-02-12T00:56:14 | 2019-02-12T00:56:14 | 168,643,719 | 1 | 1 | null | 2019-02-12T00:49:49 | 2019-02-01T04:47:32 | C++ | UTF-8 | C++ | false | false | 2,013 | cc | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ui/gfx/rect_f.h"
#include <algorithm>
#include "base/logging.h"
#include "base/stringprintf.h"
#include "ui/gfx/insets_f.h"
#include "ui/g... | [
"rjogrady@google.com"
] | rjogrady@google.com |
1da7f51ab56805344c1191b3cef509e8ff345320 | 8402df808a7982e7ff22a418d22cf904ac9e8c59 | /DATA_STRUCTURES/bst.cpp | 92780b1a4368600a2e8e8f2e5e2df634d20b9dfe | [
"MIT"
] | permissive | dskaustubh/3rd-Sem-CSE | 98afa6e1eb757fa840be1f4168ec886b71084283 | ee3adc32f4432452e5d5b855547440d6231b5822 | refs/heads/master | 2020-11-24T04:41:27.258822 | 2020-01-16T13:51:20 | 2020-01-16T13:51:20 | 227,969,342 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,939 | cpp | #include <iostream>
using namespace std;
struct node
{
node *lc;
node *rc;
int v;
};
typedef node *treeptr;
void insert(treeptr *head, int v)
{
if (*head)
{
if(v>(*head)->v)
{
insert(&(*head)->rc,v);
}
else
{
insert(&(*head)->lc,v);
... | [
"dskaustubh@gmail.com"
] | dskaustubh@gmail.com |
964f53c65cc11af3855a82790fc77d8acd8cd908 | 323eb296cbf740ad6bf678fb15e48f0315b66824 | /ps/SWEA/4613 러시아 국기 같은 깃발.cpp | 11bc78b776481e7420cb7e2e5a6dbff033cd96db | [] | no_license | zziri/study | 0da83d87247dafb1083b6068e9b6354cb960af0c | b0eded396c5201283db2d7f45b66d19d3f2831b4 | refs/heads/master | 2023-03-26T23:47:13.699539 | 2021-03-25T01:19:40 | 2021-03-25T01:19:40 | 152,895,651 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,377 | cpp |
/**
* @author Jihoon Jang
*/
#include <iostream>
#include <memory.h>
#include <algorithm>
#define SIZE 51
#define INF 987654321
#define CHANGE(x) ((x == 'W') ? (x = 'B') : ((x == 'B') ? (x = 'R') : (x = 0)))
using namespace std;
char map[SIZE][SIZE];
int color[3];
int ans;
void init(void)
{
ans = INF;
}
vo... | [
"jihzang@naver.com"
] | jihzang@naver.com |
1929dc6e742d2a9a900cc6eb6c5c44e626f1fa88 | 4c7c9592e056c80f3499cdcbe16be8fa49321ad1 | /Game/MissileManager.cpp | bb8e1d4be3cb8a1218892c6804c4156ebbf0570f | [] | no_license | Karrietje/Galaga | 00646c2983c189943b7872c686884d2a3cd52c40 | a4b5fe2de5bfebb372179b94d924a8c25d5e9710 | refs/heads/main | 2023-07-09T05:40:10.434977 | 2021-08-23T02:56:15 | 2021-08-23T02:56:15 | 397,385,490 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,364 | cpp | #include "MissileManager.h"
#include "GameObject.h"
#include "Components.h"
#include "GalagaComponents.h"
#include "SceneManager.h"
#include "Scene.h"
void dae::MissileManager::SubscribeGameObject(Scene* pScene, GameObject* pGameObject, bool isEnemy)
{
if (m_pMissiles.find(pGameObject) != m_pMissiles.end())
return;... | [
"44691800+Karrietje@users.noreply.github.com"
] | 44691800+Karrietje@users.noreply.github.com |
bef26b34d1180a2493c7decd3f29552ecc92a581 | d0985731c45024388a2d8938a9e8a52dc7f985f3 | /src/server/game/Warden/WardenMac.cpp | 376de48f9cf6199089aa921f8423b5fb65222d1a | [] | no_license | Naios/MythCore | 1ac1096ad8afefdf743ed206e10c2432f7f57bed | 38acab976959eed1167b6b4438ce7c7075156dd8 | refs/heads/master | 2023-08-24T08:26:26.657783 | 2012-06-07T05:24:00 | 2012-06-07T05:24:00 | 4,604,578 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 6,364 | cpp | /*
* Copyright (C) 2008 - 2011 Trinity <http://www.trinitycore.org/>
*
* Copyright (C) 2010 - 2012 Myth Project <http://mythprojectnetwork.blogspot.com/>
*
* Myth Project's source is based on the Trinity Project source, you can find the
* link to that easily in Trinity Copyrights. Myth Project is a private commun... | [
"taumer943@gmail.com"
] | taumer943@gmail.com |
ab621035566315f8cb3352b90edbf0a7ebbce325 | eb6a84fea71d698072464e7df25eccbbcbf88e9c | /ipc_msgs/ipc_sensor_msgs/ros/sensor_msgs_LaserScan_publisher.cc | d7a0468950a18493e3744afba75683d67bfbd148 | [] | no_license | natanaso/ipc-bridge | a4076fffb0d22342ec6d3350d70f0b457ae22be5 | 55aefb4c6f1e38a3e4dd8b1677ad467a9ad11c1d | refs/heads/master | 2020-04-09T04:13:50.341607 | 2011-06-25T15:43:22 | 2011-06-25T15:43:22 | 1,961,758 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,116 | cc | #include <ros/ros.h>
#include <ipc_bridge/ipc_bridge.h>
#include <sensor_msgs/LaserScan.h>
#include <ipc_bridge/msgs/sensor_msgs_LaserScan.h>
#define NAMESPACE sensor_msgs
#define NAME LaserScan
ipc_bridge::Publisher<ipc_bridge::NAMESPACE::NAME> *p;
ipc_bridge::NAMESPACE::NAME out_msg;
unsigned int ranges_prior_len... | [
"nate.michael@gmail.com"
] | nate.michael@gmail.com |
0baada9cf3a98a7f1d3684441daaf06797110e6d | 15333f1086b15ff64ccc4a66764dea63aa94ca85 | /src/main.cpp | 4b04c6b068a74b1ce51f14976782d43c4f0c19c2 | [] | no_license | agdt3/cpprt_old | d7b83b467760229890f35eec28e9ddb08bfaf99b | 15f8a412a6180121ce0e0cad7f3291a80bf4c930 | refs/heads/master | 2021-01-19T23:03:07.306869 | 2017-04-20T22:22:38 | 2017-04-20T22:22:38 | 88,916,317 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,315 | cpp | //#include <math>
#include <cstdlib> //for system("pause")
#include <string>
#include <iostream>
#include <fstream>
#include "src/variables.h"
#include "src/main.h"
#include "FreeImage/FreeImage.h"
#include "src/transform.h"
#include "src/ray.h"
#include "src/pixel.h"
#include "src/objects.h"
#include "gt... | [
"pavel.a@aol.com"
] | pavel.a@aol.com |
c2880fbcae4dfd5af84f2aad1cfacf3bbe2df371 | 4dbaab82527acff85c484c312b372ce6aed5b184 | /Broken Engine/Source/Wwise/IO/Common/AkMultipleFileLocation.cpp | ce8068b1e38782b19e59d65b4e6d665d88509677 | [
"MIT",
"Zlib"
] | permissive | Broken-Gem-Studio/Broken-Engine | 6103ddfbe116465a432aed1b931a9226723c1af9 | 71a261bbaaef80b27a9da94f4737fd480caf6e0d | refs/heads/development | 2021-01-08T05:19:07.714253 | 2020-06-15T10:04:56 | 2020-06-15T10:04:56 | 241,921,076 | 5 | 0 | MIT | 2020-06-15T22:25:53 | 2020-02-20T15:36:23 | C++ | UTF-8 | C++ | false | false | 8,473 | cpp | /*******************************************************************************
The content of this file includes portions of the AUDIOKINETIC Wwise Technology
released in source code form as part of the SDK installer package.
Commercial License Usage
Licensees holding valid commercial licenses to the AUDIOKINETIC W... | [
"jacobo.galofre@gmail.com"
] | jacobo.galofre@gmail.com |
248c611847c6f82e6503cfaac83f777da4ef30d9 | 4e9e492e752e43400f0b728f854f842d13ba4bad | /OmegaUp/batalla.cpp | 9b6e577174bc66cb1ca4b77a7ea97926bb638ea8 | [] | no_license | jocagos/competitive | 0ac497b7e6c30e548e0d7e298df0f2892e7e03b1 | 89c8467b56d4be10c80189b154e2edadfb6a9f3f | refs/heads/master | 2021-07-05T23:53:23.607682 | 2021-05-27T22:17:13 | 2021-05-27T22:17:13 | 84,216,647 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 619 | cpp | #include <cstdio>
#include <algorithm>
using namespace std;
constexpr int MAXN = 55;
int main(){
int n {};
int me[MAXN] {}, lira[MAXN] {};
scanf("%d", &n);
for( int i = 0; i < n; ++ i )
scanf("%d", &me[i]);
for( int i = 0; i < n; ++ i )
scanf("%d", &lira[i]);
sort( me, me + n );
s... | [
"zagerer@gmail.com"
] | zagerer@gmail.com |
fc7ba2dde4d2d6c986bf17919fcc338a6e124b0e | 3ea34c23f90326359c3c64281680a7ee237ff0f2 | /Data/1555/H | c2b2b9e90c84bfeaa4eeb9e1326cbad018ef1492 | [] | no_license | lcnbr/EM | c6b90c02ba08422809e94882917c87ae81b501a2 | aec19cb6e07e6659786e92db0ccbe4f3d0b6c317 | refs/heads/master | 2023-04-28T20:25:40.955518 | 2020-02-16T23:14:07 | 2020-02-16T23:14:07 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 92,096 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | foam-extend: Open Source Cstd::filesystem::create_directory();FD |
| \\ / O peration | Version: 4... | [
"huberlulu@gmail.com"
] | huberlulu@gmail.com | |
b9947f988c90086b00da2d84c14871c7cf77866a | 8a6c3a19f22bc1a86443f3d85a7865a1af60eece | /Edit.cpp | 57b3aef047c6fc65371e7c75fbaeb9e2e28a0e63 | [] | no_license | datnguyen25082000/Break-Brick-Game | 7f22472a835256fdf1854163fe5e61a886f50bb4 | e635612edb83c72d47a8b75b13bebe2dde96e45c | refs/heads/master | 2020-09-27T07:29:30.382900 | 2019-12-11T15:00:33 | 2019-12-11T15:00:33 | 226,464,025 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 991 | cpp | #include "Edit.h"
void Edit::InitText(std::string text , int size, sf::Color colour, sf::Color border_color, float border_thickness, float x, float y)
{
_text.setFont(_font);
_text.setString(text);
_text.setCharacterSize(size);
_text.setFillColor(colour);
_text.setOutlineColor(border_color);
_text.setOu... | [
"noreply@github.com"
] | datnguyen25082000.noreply@github.com |
2bbde843bd3b2a46ffd726f7f46b09c478457628 | 1b73515fb49ac64e0afa5ba7baf03170451d0e46 | /GameEngine/CoreEngine/CoreEngine/src/ChunkLoader.meta.cpp | 6182de044204dfa1a932daa1c212aafb02ebff24 | [
"Apache-2.0"
] | permissive | suddenly-games/SuddenlyGames | 2af48c0f31f61bad22e7c95124c0f91443ff2d54 | e2ff1c2771d4ca54824650e4f1a33a527536ca61 | refs/heads/develop | 2023-05-02T03:14:21.384819 | 2021-05-12T07:10:29 | 2021-05-12T07:10:29 | 330,379,384 | 1 | 0 | Apache-2.0 | 2021-03-21T03:12:52 | 2021-01-17T11:52:25 | C | UTF-8 | C++ | false | false | 2,089 | cpp | #include "ChunkLoader.h"
namespace Engine
{
Reflect_Inherited(ChunkLoader, Object,
Document_Class("");
Document("");
Archivable Class_Member(std::weak_ptr<Terrain>, Target);
Document("");
Archivable Class_Member(LuaEnum < Enum::ChunkLoaderShape>, Shape);
Bind_Function(GetCellCoordi... | [
"trevorb101@hotmail.com"
] | trevorb101@hotmail.com |
710fc211bd8d9f0a4930d825b461917e815451ed | 6e601105760f09d3c9f5306e18e4cf085f0bb4a2 | /Algorithm/LCA2.cpp | 3e03453a473f8ebcc779f592a9f393ed4872fc41 | [] | 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 | 561 | cpp | //LCA(최소 공통조상)의 다른 구현
#include <bits/stdc++.h>
using namespace std;
int n, m, a, b;
int parent[100001][20];
int depth[100001];
vector<int> graph[100001];
void dfs(int cur){
for(auto nxt:graph[cur]){
if(depth[nxt]!=-1) continue;
parent[nxt][0]=cur;
depth[nxt]=depth[cur]+1;
dfs(nxt)... | [
"lifedev@naver.com"
] | lifedev@naver.com |
a32b6d860c642e11d7f8eb1f84797f8d1c21023c | 5ead5b57e9846f8c09b4d39e8455e84e052dfcc3 | /src/caffe/internal_thread.cpp | 294d79bd1b48636b1542cc5f9ed422c95cf841cb | [
"LicenseRef-scancode-generic-cla",
"BSD-2-Clause"
] | permissive | zhuyuanhao/caffe-annotated | 9f5cd7b1fe97729b86b1ad77aa2785fbce94b0b4 | 021f8c00403063fd9c46924c41d53428507b91fc | refs/heads/master | 2021-05-02T18:11:46.757491 | 2016-11-28T13:45:59 | 2016-11-28T13:45:59 | 72,419,700 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,942 | cpp | #include <boost/thread.hpp>
#include <exception>
#include "caffe/internal_thread.hpp"
#include "caffe/util/math_functions.hpp"
namespace caffe {
InternalThread::~InternalThread() {
StopInternalThread();
}
bool InternalThread::is_started() const {
return thread_ && thread_->joinable();
}
bool InternalThread::mu... | [
"zhuyuanhao@sensetime.com"
] | zhuyuanhao@sensetime.com |
b3c868337a17c2f322f7bc7b022c371003d321a7 | d70003dec2b54719b543a011b1814b65b5d8538e | /mfe_nonlinear.cpp | da12d96f3a9501f209c5addf6c3f104068adbc91 | [] | no_license | krasheninnik/MFE-nonlinear | 5084556d19ff4d33162126d1826dc529643372d8 | 9996a9ee7457cdb9f481b8d658030c8008841ded | refs/heads/master | 2021-10-25T06:16:20.886838 | 2019-04-02T03:39:44 | 2019-04-02T03:39:44 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,421 | cpp | #include "pch.h"
#include "mfe_nonlinear.h"
#include <fstream>
#include "matrix.h"
#include "assert.h"
void NonlinearTask::setParams() {
lambda = std::vector<double>(amountSubareas);
sigma = std::vector<func2>(amountSubareas);
u = std::vector<double>(nodes.size());
/*
lambda[0] = 1;
sigma[0] = [](const doub... | [
"krasheninnik99@gmail.com"
] | krasheninnik99@gmail.com |
486d5a4e598f499f0aa33e07cbecf1100c38757b | c776476e9d06b3779d744641e758ac3a2c15cddc | /examples/litmus/c/run-scripts/tmp_5/ISA2+poreleaserelease+poacquireonce+fencembonceonce.c.cbmc_out.cpp | 2ea5cf674bd946f31428c8d476d149a0ca83a4a2 | [] | no_license | ashutosh0gupta/llvm_bmc | aaac7961c723ba6f7ffd77a39559e0e52432eade | 0287c4fb180244e6b3c599a9902507f05c8a7234 | refs/heads/master | 2023-08-02T17:14:06.178723 | 2023-07-31T10:46:53 | 2023-07-31T10:46:53 | 143,100,825 | 3 | 4 | null | 2023-05-25T05:50:55 | 2018-08-01T03:47:00 | C++ | UTF-8 | C++ | false | false | 44,431 | cpp | // Global variabls:
// 0:vars:3
// 3:atom_1_X0_1:1
// 4:atom_2_X0_1:1
// 5:atom_2_X2_0:1
// Local global variabls:
// 0:thr0:1
// 1:thr1:1
// 2:thr2:1
#define ADDRSIZE 6
#define LOCALADDRSIZE 3
#define NTHREAD 4
#define NCONTEXT 5
#define ASSUME(stmt) __CPROVER_assume(stmt)
#define ASSERT(stmt) __CPROVER_assert(stmt, ... | [
"tuan-phong.ngo@it.uu.se"
] | tuan-phong.ngo@it.uu.se |
5b18ce0cc7190ef4e4a8c7fb2d4dfaeda0bea7fd | 2d1d87ac7cedb68f33e8643e3e5f92d081dffb11 | /src/qt/optionsmodel.h | 12d5a478cfd6110d9de87a93cb342fdb5f68512b | [
"MIT"
] | permissive | Rockeronhunt/Bitdook | addfa278ace21d4dc7c8512d5e7941aab10cdb38 | 0de9b7ce557fbec8ed68b05e8b1b3f9e715b42d9 | refs/heads/master | 2020-03-16T23:05:12.328497 | 2018-05-11T16:40:24 | 2018-05-11T16:40:24 | 133,060,181 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,904 | h | #ifndef OPTIONSMODEL_H
#define OPTIONSMODEL_H
#include <QAbstractListModel>
/** Interface from Qt to configuration data structure for BITDOOK client.
To Qt, the options are presented as a list with the different options
laid out vertically.
This can be changed to a tree once the settings become sufficiently
... | [
""
] | |
5179318005365aaead6e353cb59489dae4d1a62d | 1bdb45ffd1618cb2823642c4461be464a6d55792 | /Shape.cpp | f2272c045caa0cd1ca483d3c29a85f32e689cd87 | [] | no_license | aisbergg/Fast3D | 03b1f6eb2e6aec36c35b4019c63cb0721cc6470d | 461f4e251c549f071026bba8267139362ffb2989 | refs/heads/main | 2023-01-03T14:48:08.125478 | 2020-10-26T15:43:00 | 2020-10-26T15:43:00 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,331 | cpp | #include "Shape.h"
#include <tuple>
#define PI 3.14159265
using namespace std;
Shape::Shape() : origin(0, 0, 0), faces(nullptr), face_count(0) {}
Shape::Shape(Vector3 Origin, Triangle* Faces, int FaceCount) : origin(Origin), faces(Faces), face_count(FaceCount) {}
std::tuple<Triangle*, double*, size_t> Shape::FacesFa... | [
"catab212@gmail.com"
] | catab212@gmail.com |
8fdf809f056fa3ff0318ccc8b3b123204113b281 | f071a719b5ba52162ed808ad602183a651774b34 | /src/main.cpp | 5345f71d123a5c279fff177cd44ae8a0b84b4d15 | [
"MIT"
] | permissive | OneCoinNetwork/onecoin | 17816451cbac373cdb8548afce408454df9ade1c | 0e553b0939c334b04614d7ee45ecdb442a25d0e2 | refs/heads/master | 2021-01-23T02:15:33.649030 | 2017-03-04T11:46:42 | 2017-03-04T11:46:42 | 85,978,267 | 0 | 1 | null | 2017-03-23T17:29:38 | 2017-03-23T17:29:38 | null | UTF-8 | C++ | false | false | 129,093 | cpp | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2012 The Bitcoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <boost/algorithm/string/replace.hpp>
#include <boost/filesystem.hpp>
#inc... | [
"amnesia@localhost.localdomain"
] | amnesia@localhost.localdomain |
77cd576d2cff906336363081e0b8a138da812377 | ec3adbf819a46d516ac03aee9e70db809221a263 | /CS576 Final Project/CS576_Final_Images/576proj/faceDetect.cpp | 34f1e483325a2ddeaeff26be1120921f54cb47f8 | [] | no_license | max79137913/Analyze-video-and-image-similarity- | fb8cd971260f58d98d6b1febb08d2e11985133d1 | 6fb5f6610e184522845c874025c267966cdd874c | refs/heads/master | 2016-09-03T07:06:08.186999 | 2015-04-06T19:45:47 | 2015-04-06T19:45:47 | 33,501,743 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 3,054 | cpp | #include"cluster.h"
bool cluster::facedetect(IplImage src)
{
bool success=0;
// 加载Haar特征检测分类器
// haarcascade_frontalface_alt.xml系OpenCV自带的分类器 下面是我机器上的文件路径
const char *pstrCascadeFileName = "haarcascade_frontalface_alt2.xml";
CvHaarClassifierCascade *pHaarCascade = NULL;
pHaarCascade = (CvHaar... | [
"max79137913@gmail.com"
] | max79137913@gmail.com |
6fc991690302e66ddb5be645377e8053747c3287 | b1cd1abb21d0f2d5fd9feea0ec7dd8378c0dfe32 | /Strings/CharsArray.cpp | ba553868d5c464d3a1bdbb3744f30068ce4d37d1 | [] | no_license | Noel1827/CppPracticaNavidades | 1e946311da662b594c56dbe575c8b6d565dd7153 | 554da8daafdf9bffbb4b26954488973137020207 | refs/heads/main | 2023-02-28T06:41:33.625604 | 2021-02-03T04:13:49 | 2021-02-03T04:13:49 | 320,053,318 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 187 | cpp | #include <iostream>
using namespace std;
int main(){
string s1 = "Hello";
char ch[] = {'C','+','+'};
string s2 = string(ch);
cout << s1 << endl;
cout << s2 << endl;
} | [
"noel.vargas5@upr.edu"
] | noel.vargas5@upr.edu |
fc62baef2c89a66328a8bc5b3567ade5cc684a84 | 11b9965933d407ed3708a252aebcdafc21c98664 | /FEM/include/refel.h | 33dfba0cc0667353effded3c3189aaab4b572abe | [
"BSD-3-Clause"
] | permissive | lanl/Dendro-GRCA | a265131e2a5d8327eba49e2133257d553826a41e | 8a475b1abd8832c3dfc19d00cc0ec4b9e2789c8a | refs/heads/master | 2023-05-31T06:25:06.113867 | 2020-09-23T18:00:13 | 2020-09-23T18:00:13 | 297,793,620 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 23,737 | h | //
// Created by milinda on 12/25/16.
//
/**
* @author Milinda Fernando
* @author Hari Sundar
* @breif Contains data structures to store the reference element information.
*
* @refference: Based of HOMG code written in matlab.
* */
#ifndef SFCSORTBENCH_REFERENCEELEMENT_H
#define SFCSORTBENCH_REFERENCEELEMENT_H
... | [
"hylim1988@gmail.com"
] | hylim1988@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.