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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
85bd3ffdd064ed67d86b845a34228351ba142890 | 799f7938856a320423625c6a6a3881eacdd0e039 | /libcxx/test/std/re/re.alg/re.alg.search/awk.locale.pass.cpp | 4ba87bb45232cb74cfad1c2766512d5d11acf30e | [
"NCSA",
"LLVM-exception",
"MIT",
"Apache-2.0"
] | permissive | shabalind/llvm-project | 3b90d1d8f140efe1b4f32390f68218c02c95d474 | d06e94031bcdfa43512bf7b0cdfd4b4bad3ca4e1 | refs/heads/main | 2022-10-18T04:13:17.818838 | 2021-02-04T13:06:43 | 2021-02-04T14:23:33 | 237,532,515 | 0 | 0 | Apache-2.0 | 2020-01-31T23:17:24 | 2020-01-31T23:17:23 | null | UTF-8 | C++ | false | false | 4,544 | cpp | //===----------------------------------------------------------------------===//
//
// 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
//
//===---------------------------... | [
"Alexander.Richardson@cl.cam.ac.uk"
] | Alexander.Richardson@cl.cam.ac.uk |
e6fa07ab3ae348ceda715b1bb314e7be83c898e2 | cd7787c13c981e65d43761d1da30b59bb70ace12 | /rs/build/Viewpoint.cpp | 604fc7bf27054b46ec7392d55c928d3f88e99ee5 | [] | no_license | ravishchawla/VirtualReality | 7fbe2c08af3e3c18f9d8ff4d7e536d8484b57a0b | ea83a51c868d16be9c5e9997a54b110c25e2ccef | refs/heads/master | 2021-01-16T22:18:32.599944 | 2016-01-12T02:24:22 | 2016-01-12T02:24:22 | 43,270,622 | 6 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 6,694 | cpp | #include "Viewpoint.h"
Viewpoint<Point3DC>::Viewpoint() : viewer("Point Cloud Viewer") {
view0Cloud = boost::make_shared < pcl::PointCloud<Point3DC>>();
view1Cloud = boost::make_shared < pcl::PointCloud<Point3DC>>();
view2Cloud = boost::make_shared < pcl::PointCloud<Point3DC>>();
view3Cloud = boost::make_sha... | [
"rchawla@gatech.edu"
] | rchawla@gatech.edu |
dd35344b163c78e621fa75d8f080e5aa639733e6 | 98b63e3dc79c75048163512c3d1b71d4b6987493 | /tensorflow/lite/tflite_with_xnnpack_optional.cc | 31d4ff50f286b1b2ecf9789eb12c3e12a693f45d | [
"Apache-2.0"
] | permissive | galeone/tensorflow | 11a4e4a3f42f4f61a65b432c429ace00401c9cc4 | 1b6f13331f4d8e7fccc66bfeb0b066e77a2b7206 | refs/heads/master | 2022-11-13T11:56:56.143276 | 2020-11-10T14:35:01 | 2020-11-10T14:35:01 | 310,642,488 | 21 | 12 | Apache-2.0 | 2020-11-06T16:01:03 | 2020-11-06T16:01:02 | null | UTF-8 | C++ | false | false | 1,936 | cc | /* Copyright 2020 The TensorFlow Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or a... | [
"gardener@tensorflow.org"
] | gardener@tensorflow.org |
0795dea042cc4741216f7e0f3c8af1f6c6889c82 | cad04bb71f3afd50c4df3b2f321cd378d3ad8cb9 | /OJ practices/LeetCode题目集/153. Find Minimum in Rotated Sorted Array(medium).cpp | 4ab5c7c124848785873d88ba87ca6dc687db0d42 | [] | no_license | SourDumplings/CodeSolutions | 9033de38005b1d90488e64ccbb99f91c7e7b71ec | 5f9eca3fe5701a8fca234343fde31cfcba94cf27 | refs/heads/master | 2023-08-16T17:23:34.977471 | 2023-08-07T13:14:47 | 2023-08-07T13:14:47 | 110,331,879 | 10 | 8 | null | 2023-06-14T22:25:16 | 2017-11-11T08:59:11 | C | UTF-8 | C++ | false | false | 639 | cpp | /*
* @Author: SourDumplings
* @Date: 2020-12-01 23:32:30
* @Link: https://github.com/SourDumplings/
* @Email: changzheng300@foxmail.com
* @Description: https://leetcode-cn.com/problems/find-minimum-in-rotated-sorted-array/
*/
class Solution
{
public:
int findMin(vector<int> &nums)
{
int n = nums.... | [
"changzheng300@foxmail.com"
] | changzheng300@foxmail.com |
74746e731a24fc8fd7bb7571db8b4ca16cdb3cd0 | 0f08276e557de8437759659970efc829a9cbc669 | /tests/p27.cpp | 0d6bd6ff25982a1e9249530a9fd3156a49df7645 | [] | no_license | petru-d/leetcode-solutions-reboot | 4fb35a58435f18934b9fe7931e01dabcc9d05186 | 680dc63d24df4c0cc58fcad429135e90f7dfe8bd | refs/heads/master | 2023-06-14T21:58:53.553870 | 2021-07-11T20:41:57 | 2021-07-11T20:41:57 | 250,795,996 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 104 | cpp | #include "pch.h"
#include "../problems/p27.h"
TEST(p27, t0)
{
[[maybe_unused]] p27::Solution s;
}
| [
"berserk.ro@gmail.com"
] | berserk.ro@gmail.com |
8da6a385b057056b98736618ef39c3e9d105588c | bdfca7d4bd6e1baf2c43e593de66fcba80afadeb | /prog-verf/assignment1/sketch-1.7.5/sketch-backend/src/SketchSolver/InputParser/HoleHardcoder.cpp | 4a57d306a76ed6de43a8d76e35a94a0587022c5a | [
"FSFAP",
"MIT"
] | permissive | wanghanxiao123/Semester4 | efa82fc435542809d6c1fbed46ed5fea1540787e | c37ecda8b471685b0b6350070b939d01122f5e7f | refs/heads/master | 2023-03-22T06:47:16.823584 | 2021-03-15T10:46:53 | 2021-03-15T10:46:53 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,390 | cpp |
#include "HoleHardcoder.h"
void HoleHardcoder::afterInline() {
for (map<string, int>::iterator it = randholes.begin(); it != randholes.end(); ) {
if (LEAVEALONE(it->second)) {
randholes.erase(it++);
}
else {
++it;
}
}
}
void HoleHardcoder::printControls(ostream& out) {
for (map<... | [
"akshatgoyalak23@gmail.com"
] | akshatgoyalak23@gmail.com |
0ba26ef6ce1bdad0e967d72129699821d405a3f5 | aa433923855ecd508109decc29ec22a4ee604809 | /ProcessNotificationClient/ProcessNotification/Notification/IProcessNotification.cpp | eea8c13909f18fe675fa24d33a205bbc3cb7d5a5 | [] | no_license | gillesgold/ProcessNotification | 4eea8c62c8dfc9487b70fc2f962fd6ef4a0a2055 | 81e236fb218c9463ba2ba4685424515e713a2b26 | refs/heads/master | 2023-04-16T01:41:33.528591 | 2020-07-15T10:50:34 | 2020-07-15T10:50:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 53 | cpp | #include <pch.h>
#include "IProcessNotification.h"
| [
"gillesg@microsoft.com"
] | gillesg@microsoft.com |
be17406fd7377dbe142d784406fb241924ded6d5 | 704e034f4da8a9739766e890b8ffc464346eab11 | /libs/cache/abstract_cache.hpp | 4141787cbace3b1aa5cd070411ac9ffbce58dc85 | [
"CC-BY-4.0",
"Apache-2.0"
] | permissive | quangtynu/iroha | fd7c4a1fbc066bdcb9d20fee871be17216f2e3b6 | 6b9aa28830534465c20f18dbecac21b6658eff9b | refs/heads/master | 2021-04-18T18:05:33.440313 | 2020-03-19T09:55:19 | 2020-03-19T15:09:09 | 249,570,032 | 1 | 0 | Apache-2.0 | 2020-03-23T23:52:14 | 2020-03-23T23:52:13 | null | UTF-8 | C++ | false | false | 2,997 | hpp | /**
* Copyright Soramitsu Co., Ltd. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0
*/
#ifndef IROHA_ABSTRACT_CACHE_HPP
#define IROHA_ABSTRACT_CACHE_HPP
#include <boost/optional.hpp>
#include <list>
#include <shared_mutex>
#include <string>
namespace iroha {
namespace cache {
/**
* Cache for... | [
"andrei@soramitsu.co.jp"
] | andrei@soramitsu.co.jp |
5ff1edff39436396062b9f0e56be6b1b5b985d73 | 64e4fabf9b43b6b02b14b9df7e1751732b30ad38 | /src/chromium/gen/gen_combined/third_party/blink/renderer/bindings/core/v8/media_list_or_string.cc | c4e888039a198a4cc5baca3cc2d207c2c729380a | [
"BSD-3-Clause"
] | permissive | ivan-kits/skia-opengl-emscripten | 8a5ee0eab0214c84df3cd7eef37c8ba54acb045e | 79573e1ee794061bdcfd88cacdb75243eff5f6f0 | refs/heads/master | 2023-02-03T16:39:20.556706 | 2020-12-25T14:00:49 | 2020-12-25T14:00:49 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,515 | 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.
// This file has been auto-generated from the Jinja2 template
// third_party/blink/renderer/bindings/templates/union_container.cc.tmpl
// by the script co... | [
"trofimov_d_a@magnit.ru"
] | trofimov_d_a@magnit.ru |
406c5405b035ed56175b7611294d09ca1f85b184 | c72fe4de1f61e28d9f72bbae8e195937a54026c4 | /include/RE/H/hkContainerAllocators.h | 8d0af7f5428032109e50360a7cd0e5fcadb60382 | [
"MIT"
] | permissive | r-neal-kelly/CommonLibSSE | 01bf6766472a25b938b52ee5d57964077052557a | aefeb91d38cad750bc9f36f6260a05e7b1b094fd | refs/heads/master | 2023-02-12T22:57:52.643926 | 2021-01-08T09:55:30 | 2021-01-08T09:55:30 | 318,849,540 | 1 | 0 | MIT | 2021-01-08T09:55:31 | 2020-12-05T17:35:50 | C++ | UTF-8 | C++ | false | false | 933 | h | #pragma once
#include "RE/H/hkMemoryAllocator.h"
namespace RE
{
struct hkContainerHeapAllocator
{
struct Allocator : public hkMemoryAllocator
{
inline static constexpr auto RTTI = RTTI_hkContainerHeapAllocator__Allocator;
virtual ~Allocator(); // 00
virtual void* BlockAlloc(std::int32_t a_numBytes... | [
"ryan__mckenzie@hotmail.com"
] | ryan__mckenzie@hotmail.com |
438fbc601a4ee4fc84c6fbcfc3474f9918e89886 | 7fa46faf52cad727faf012ff60f07ebd17882c63 | /ALL_new/gaussmodel/tensor.h | 2c925261e1f5581d87a5e456af7908b7a8671ceb | [] | no_license | chunhui204/qt-project | c945ba632b9d6408ae98816cbae791cae1373a22 | 9fd13829437a59fc47f3287808502b8336a02512 | refs/heads/master | 2020-03-22T18:15:54.641483 | 2018-10-14T01:55:08 | 2018-10-14T01:55:08 | 140,448,280 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,832 | h | #ifndef TENSOR_H
#define TENSOR_H
#include <iostream>
#include <vector>
#include <memory>
class Tensor
{
friend Tensor stack_tensors(const std::vector<Tensor> &ts);
//二维数组(比三维更容易处理,实现)
/**
*出现了多处重新分配内存靠背元素的操作,如果对Tensor索引访问的需求不高的话,可以用链表代替数组的方式(连续内存)实现。
*/
public:
typedef double* iterator;
typedef cons... | [
"15866613796@163.com"
] | 15866613796@163.com |
f9f75a72227e7df7c3341c6e1f13c60836f41da8 | b57acd45045fcc8aa01650aee59fc60edf4b7506 | /VerticalRhythm/VerticalRhythm/ObjectManager.cpp | 4cb6f8ba403b1f55b5923f6af7d5fe1254ec26e9 | [] | no_license | Carojen/verticalrhythm | c737ba7f3305ff1af820850e86dff3175e8b4802 | 368715ad31df554075d097c24757548a723ef78c | refs/heads/master | 2021-03-30T17:44:17.953538 | 2017-05-08T11:46:28 | 2017-05-08T11:46:28 | 83,676,803 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,648 | cpp | #include "ObjectManager.h"
#include <iostream>
#include "levelgenerator.h"
#include <cmath>
#include "gameobject.h"
#include <SFML\Graphics\Shape.hpp>
ObjectManager::ObjectManager()
{
}
ObjectManager::~ObjectManager()
{
ResetObjectManager();
}
void ObjectManager::ResetObjectManager()
{
while (!mGameObjects.empty(... | [
"carojen@users.noreply.github.com"
] | carojen@users.noreply.github.com |
cb0701b14c2884c7660af55f109148b3ec9faa48 | b02dfd153360607a5260c13e48b5a84a866c5353 | /include/suic/Framework/Controls/Decorator.h | 3c7009208a13f71bbc067f3e041ec60e1144e39a | [] | no_license | 15831944/MPF | 7fb54842612a91c4c05cb555c0b065512830f8c9 | 21e6169b5d1797dfbdfd46ff5a832221ba86b61e | refs/heads/master | 2022-03-26T16:32:23.562737 | 2016-11-12T01:34:41 | 2016-11-12T01:34:41 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 3,278 | h | // 华勤科技版权所有 2010-2011
//
// 文件名:Decorator.h
// 功 能:定义核心库装饰类。
//
// 作 者:MPF开发组
// 时 间:2010-05-02
//
// ============================================================================
#ifndef _UIDECORATOR_H_
#define _UIDECORATOR_H_
#include <Framework/Controls/Control.h>
#include <System/Tools/ElementCollection.h>
... | [
"china0851@foxmail.com"
] | china0851@foxmail.com |
821adc3e79644f41a5633215100fe52a1cf8c0fe | 2f557f60fc609c03fbb42badf2c4f41ef2e60227 | /CalibTracker/SiPixelQuality/src/SiPixelRocStatus.cc | 10a5ee8fcc2b9142509906448d1b08bfa40ab345 | [
"Apache-2.0"
] | permissive | CMS-TMTT/cmssw | 91d70fc40a7110832a2ceb2dc08c15b5a299bd3b | 80cb3a25c0d63594fe6455b837f7c3cbe3cf42d7 | refs/heads/TMTT_1060 | 2020-03-24T07:49:39.440996 | 2020-03-04T17:21:36 | 2020-03-04T17:21:36 | 142,576,342 | 3 | 5 | Apache-2.0 | 2019-12-05T21:16:34 | 2018-07-27T12:48:13 | C++ | UTF-8 | C++ | false | false | 991 | cc | #include <iostream>
#include <map>
#include <cmath>
#include <vector>
#include "CalibTracker/SiPixelQuality/interface/SiPixelRocStatus.h"
using namespace std;
// ----------------------------------------------------------------------
SiPixelRocStatus::SiPixelRocStatus() {
fDC = 0;
isFEDerror25_ = false;
}
// --... | [
"tocheng.cms@gmail.com"
] | tocheng.cms@gmail.com |
5cffe2ecab49e13c7f13b72c38cbc755548b0c84 | 67d1eba373b9afe9cd1f6bc8a52fde774207e6c7 | /UVA/796 - Critical Links.cpp | 8b5191ee40f744c42eba9901d5fe0e6ebb8e497d | [] | no_license | evan-hossain/competitive-programming | 879b8952df587baf906298a609b471971bdfd421 | 561ce1a6b4a4a6958260206a5d0252cc9ea80c75 | refs/heads/master | 2021-06-01T13:54:04.351848 | 2018-01-19T14:18:35 | 2018-01-19T14:18:35 | 93,148,046 | 2 | 3 | null | 2020-10-01T13:29:54 | 2017-06-02T09:04:50 | C++ | UTF-8 | C++ | false | false | 2,501 | cpp | #include <vector>
#include <map>
#include <set>
#include <deque>
#include <queue>
#include <stack>
#include <bitset>
#include <algorithm>
#include <sstream>
#include <iostream>
#include <time.h>
#include <cstdio>
#include <cmath>
#include <cstdlib>
#include <cstring>
#define out freopen("output.txt", "... | [
"evan.hossain@ipay.com.bd"
] | evan.hossain@ipay.com.bd |
97c72d9dd426b0ce58714cd01e8008705a04a2fa | 394af204af881fdadaa2ebe8020ec538345cfc3b | /Dx12Server/Dx12Server/MeshMgr.cpp | fb936af1393d6e7f3ffbd16c416e7347ef4ebfae | [] | no_license | DeokgyuKim/MagicianWar | 55b5aaf9ead183579517646c12101aff3280e001 | 1c0a3f6961d28beb4c4d0f4653717f692ce999bc | refs/heads/master | 2023-08-19T09:09:22.537055 | 2021-10-09T09:38:16 | 2021-10-09T09:38:16 | 342,640,227 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 4,614 | cpp | #include "MeshMgr.h"
#include <fstream>
MeshMgr* MeshMgr::m_pInstance = nullptr;
void MeshMgr::InitMeshMgr()
{
}
void MeshMgr::BuildModel(string meshName)
{
if (m_StaticMeshVtxInfo.count(meshName)) {
cout << "중복 모델 로드" << endl;
return;
}
m_strFilePath = "..//..//Resources//Models//";
m_strFilePath += meshN... | [
"kduck119@gmail.com"
] | kduck119@gmail.com |
dba471050f77d687b3b6e7f764b6aaaa75e0f092 | 5400318df9dfa5f644ae0fc0988f5b7c2d756df6 | /2017-07-31/expection_div/expection_div/main.cpp | e99f630f3ce770a5be801ed3f3f28cf2edc1ee68 | [] | no_license | Gno-GH/c_add_study | a39ca99e883770e74ce080b6bd603e24b311e8de | f466ecd133970ce54126b0f701874dc0b5951687 | refs/heads/master | 2020-12-03T00:44:17.753798 | 2017-09-20T12:18:55 | 2017-09-20T12:18:55 | 96,073,216 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 738 | cpp | //
// main.cpp
// expection_div
//
// Created by Gno on 2017/7/31.
// Copyright © 2017年 Gno. All rights reserved.
//
#include <iostream>
using namespace std;
class Exp
{
public:
void fun(){}
Exp()
{
cout<<"Exp 构造"<<endl;
}
~Exp()
{
cout<<"Exp 析构"<<endl;
}
};
void fun()
{... | [
"gno@Gno.local"
] | gno@Gno.local |
f93c55eda2bc86505d651f991ce43fa7dc613469 | 60e322eb94713ec92f62ce06de3fa3de48bb4a6f | /mar23/lcs.cpp | 5355f4d7b180005f0b328710987c0e6ab0889ced | [] | no_license | Nwon2464/cpp | 68d83bfae8ab8402027b48192e177c32c47e5e73 | e275e4be1ca1bee54d110e1e80c7559a2b4384c7 | refs/heads/master | 2023-06-12T09:00:24.361735 | 2021-07-11T06:22:58 | 2021-07-11T06:22:58 | 347,665,952 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,009 | cpp | #include <bits/stdc++.h>
using namespace std;
//Warsaw debug template
#define LOCAL
#define sim template <class c
#define ris return *this
#define dor > debug& operator<<
#define eni(x) \
sim > typename enable_if<sizeof dud<c>(0) x 1, debug&>::type... | [
"nwon2464@gmail.com"
] | nwon2464@gmail.com |
130cff31555b1f1f21e1df9fe84a5a82ecb95f8a | 6b62017399a34214f029abae65aa42f026da8efd | /new_ase_code/ase_cpp/deps/bamtools/src/toolkit/bamtools_random.cpp | 927349e062730f0082659ef4fd6555df64d25c7f | [
"MIT",
"LicenseRef-scancode-public-domain"
] | permissive | kundajelab/Personal_genome_mapping | 839369054c43bdb0acf0f725568e864f0d4d5d49 | 5f2117489ff1c76ff68bcd31be878ec0cd12bad3 | refs/heads/master | 2020-12-25T09:00:30.090789 | 2014-08-13T05:09:58 | 2014-08-13T05:09:58 | 23,176,657 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 8,938 | cpp | // ***************************************************************************
// bamtools_random.cpp (c) 2010 Derek Barnett, Erik Garrison
// Marth Lab, Department of Biology, Boston College
// All rights reserved.
// ---------------------------------------------------------------------------
// Last modified: 7 April... | [
"sofiakp@behemoth2"
] | sofiakp@behemoth2 |
ddace871831df6eccc1af414947163f74a229a1f | d6b30cc34f413a70f5d0602afa07da5739b0768a | /src/tabmanagment.h | b20cccddba511eb3c5924af65ba9be06d084a4ab | [] | no_license | DennisLovesCoffee/Chess-Game-And-Simulator--CPP_QT_CZ-Notation | 92538e15e850bf9bce93e7bd74803aebf72fa813 | 67e70642f9a7ad734c6c91fc509fbc0a03fea38c | refs/heads/master | 2020-07-24T23:49:42.946715 | 2019-12-13T10:00:12 | 2019-12-13T10:00:12 | 208,088,610 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 487 | h | /**
* \author Dennis Vymer, xvymer00
* \author Pavel Gos, xgospa00
*
*/
#ifndef TABMANAGMENT_H
#define TABMANAGMENT_H
#include <QGraphicsView>
#include <QGraphicsScene>
#include <QTabWidget>
class TabManagment:public QTabWidget
{
Q_OBJECT
public:
///Creates a new tab, sets up the size
TabManagment(QWid... | [
"vymerd@gmail.com"
] | vymerd@gmail.com |
d57416fe6141a32b5499193952d7d92c4c259a63 | b98a5df177215e529828351a8436bdb5ef25d30d | /src/graph/dijkstra.cpp | 0a02e1c0e202054d986525fa14ffb50ca1e18ae1 | [] | no_license | UPCACM/AcmTemplates | 12e10f2869129abdfdab2e0a3b25891a06d724ca | a848721de9e0d578dc066d48a33c8d371474f97a | refs/heads/master | 2020-06-29T05:05:58.055187 | 2019-08-04T05:11:32 | 2019-08-04T05:11:32 | 200,449,803 | 0 | 1 | null | 2019-08-04T05:11:33 | 2019-08-04T04:32:53 | C++ | UTF-8 | C++ | false | false | 2,113 | cpp | #include <bits/stdc++.h>
using namespace std;
typedef pair<int,int> pii;
const int maxn = 400005;
const int inf = 0x3f3f3f3f;
vector<pii> mmp[maxn];
int dis[maxn];
int vis[maxn];
int n,m;
void dijkstra(int s){
for (int i=0;i<=n+m;i++) {dis[i] = inf;vis[i]=0;}
priority_queue<pii> q;
dis[s] = 0;
q.push... | [
"noreply@github.com"
] | UPCACM.noreply@github.com |
59e2019d8d4eee4c3db3e5f3f250d3dcffa50d56 | db6f254a1bea4faa695457f2996984f8189b75fb | /leecode/String/Palindrome_Partitioning.cpp | 5c81d0fb0b070557efe8f969a3cd67f466c8629e | [] | no_license | cumtmiao/Algrithm | d567ba71da8b843c316625966c639bff33e2af04 | ce7c0219328a115a443d08444784987cc092d729 | refs/heads/master | 2020-03-10T06:36:05.381383 | 2018-06-12T09:45:01 | 2018-06-12T09:45:01 | 129,243,293 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,336 | cpp | /*
Given a string s, partition s such that every substring of the partition is a palindrome.
Return all possible palindrome partitioning of s.
Example:
Input: "aab"
Output:
[
["aa","b"],
["a","a","b"]
]
*/
#include<bits/stdc++.h>
using namespace std;
//DFS
vector< vector<string> > res;
bool ispalindrome(string s... | [
"861106258@qq.com"
] | 861106258@qq.com |
1b1301fd2d60aa59d37e80b1bd272d5d90284075 | 3d0770ba02bf0eff6b74c9b8c70d3bbbf4a6586b | /LoadProg.cpp | 4b3624d104496b9821de072de938d1d216fc886e | [] | no_license | rollenbend/hsow1 | 1299a20bfe08cf9e9a4bf6f1a88b54a637b030cf | 6932ccf7ae6a546bf5f06874c1de1364e6521322 | refs/heads/master | 2020-04-08T08:00:15.369315 | 2018-12-05T08:38:57 | 2018-12-05T08:38:57 | 159,160,805 | 0 | 0 | null | null | null | null | WINDOWS-1251 | C++ | false | false | 11,753 | cpp | #include "FlashPrg.h"
#include "Initialization.h"
#include "Drv_Uart.h"
#include "LoadProg.h"
unsigned int ProgStartAdr;
unsigned int ProgLoadAdr;
unsigned int PortionOffset;
unsigned int PortionSize;
unsigned char ProgRes;
unsigned char ProgTmpBuf[256]; // то что заполняется при приеме пакета из ПЭВМ
... | [
"noreply@github.com"
] | rollenbend.noreply@github.com |
792192ac8ba5b7539201d56e0a2540dd8a21aac2 | d65a9118ddbf9ec7f156e7383240080942e9a47b | /cpp/archive/example-gtest.cpp | fa0369861f18bd3fe793a85f7311f3bd449f7f8a | [
"MIT"
] | permissive | gecko-robotics/gecko | 4f96acbbd4d09b205073d6150ebb1345cf4e60fd | f340381113bdb423a39d47aaee61e013bb9e002a | refs/heads/master | 2022-05-30T21:20:38.049321 | 2022-03-06T21:43:01 | 2022-03-06T21:43:01 | 165,568,726 | 2 | 0 | MIT | 2019-10-26T19:28:10 | 2019-01-14T00:06:09 | HTML | UTF-8 | C++ | false | false | 512 | cpp |
#include <gtest/gtest.h> // googletest header file
#include <string>
using std::string;
const char *actualValTrue = "hello gtest";
const char *actualValFalse = "hello world";
const char *expectVal = "hello gtest";
TEST(StrCompare, CStrEqual) {
EXPECT_STREQ(expectVal, actualValTrue);
}
TEST(StrCompare, CS... | [
"walchko@users.noreply.github.com"
] | walchko@users.noreply.github.com |
326c9c2c1bd86c4ae7588d7b317c5f254d50697e | 5f6006bb25a4fef4a5fa7b1a866ae6fa3b0c3f62 | /mlib/c++/mlib_thread.h | b88a27e4a90598c00bfa00085ee24828f074557c | [] | no_license | xu561865/demo_2 | b6c0c2fa72105f63b816d21d49353ad544b17706 | 4a221eaf427065be344b1e21b26a9594a7fe6878 | refs/heads/master | 2021-01-10T01:20:33.160496 | 2016-04-11T03:33:31 | 2016-04-11T03:33:52 | 55,936,998 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 287 | h | #ifndef mlib_thread_h
#define mlib_thread_h
#include "mlib_helpers.h"
#include <functional>
MLIB_NS_BEGIN
void runInMainThread(std::function<void()> func);
#if (CC_TARGET_PLATFORM == CC_PLATFORM_ANDROID)
void setMainThread(pthread_t tid);
#endif
MLIB_NS_END
#endif // mlib_thread_h
| [
"xuyi561865@sina.com"
] | xuyi561865@sina.com |
4490c9cd1a86810dd4c1415ba34c685346543cb9 | 2d2271a6aab9cfedaf1bac0941630942fb86f1b9 | /Src/Controller/Views/TimeView/TimeView.h | 12e67602d23170ce0b51efb776a119866a0e0595 | [
"BSD-2-Clause"
] | permissive | TJArk-Robotics/coderelease_2017 | c13e4d6af20b8afe7da3a3a8e8dcda46ca053393 | 10d743ea83fc24c0f694415746156fc7bc5c0ab2 | refs/heads/master | 2021-05-05T00:38:14.840804 | 2018-02-13T04:38:05 | 2018-02-13T04:38:05 | 119,549,285 | 17 | 11 | null | null | null | null | UTF-8 | C++ | false | false | 1,460 | h | /**
* @file Controller/Views/TimeView.h
*
* Declaration of class TimeView
*
* @author Colin Graf
*/
#pragma once
#include <SimRobot.h>
#include <unordered_map>
#include <string>
#include <QIcon>
class RobotConsole;
class TimeInfo;
class QWidget;
class NumberTableWidgetItem;
class QTableWidgetItem;
class QTableWidget... | [
"1542952921@qq.com"
] | 1542952921@qq.com |
cc3cd83e6dd1010e8766f578cb053ec3832d7bbf | c64e539f641211a7593c8552c9e38ff443982a2d | /src/qt/optionsdialog.cpp | 8cfdcf117dc424bbf1d9e15b7ae7d75334f0f8a9 | [
"MIT"
] | permissive | cryptolog/ARGUS | 1c38334bcf61017073e4b512936e7372f7a87a5b | fc17a26535069ee0cc12d7af5053fc5c5fc5a91d | refs/heads/master | 2020-06-02T23:19:24.322324 | 2019-06-21T08:58:18 | 2019-06-21T08:58:18 | 191,341,107 | 0 | 0 | MIT | 2019-06-11T09:42:04 | 2019-06-11T09:42:03 | null | UTF-8 | C++ | false | false | 9,336 | cpp | // Copyright (c) 2011-2013 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 "optionsdialog.h"
#include "ui_optionsdialog.h"
#include "bitcoinunits.h"
#include "monitoreddatamapper.h"
#include ... | [
"bitminer82@gmail.com"
] | bitminer82@gmail.com |
7092c2f765e71153dc134e7505f50ab0d3081549 | 39866cce7ae9daf0bbb73d3c4856347e0da4795c | /每日一题/每日一题/1107_1.cpp | d4c720afdb1ff031c48cb1adf9fbef3f46d17f6f | [] | no_license | ThreeInches/nowcoder | 8193b27e742e61d869ec3ea4799d09580dddf928 | 2ba02e0aaa88677e02362cce225d8bc57ba6f488 | refs/heads/master | 2022-04-15T20:02:35.829649 | 2020-04-06T13:57:46 | 2020-04-06T13:57:46 | 223,182,456 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 550 | cpp | #include <iostream>
#include <vector>
using namespace std;
int main11071() {
int n;
cin >> n;
vector<int> a;
a.resize(n + 1);
a[n] = { 0 };
for (int i = 0; i < n; i++)
{
cin >> a[i];
}
int i = 0;
int count = 0;
while (i < n)
{
if (a[i] < a[i + 1])
{
while (i < n && a[i] <= a[i + 1])
{
... | [
"1330782530@qq.com"
] | 1330782530@qq.com |
8bb80de22d83669ccf14880f3a3e53fa4b89959f | ad186ff13d9e6cab173a28f8a9d60946a52e011e | /SB_FGU_Main/SB_FGU_Main.ino | 4d13e1ad2214bc4fab86a1382a3ec532b7d7a504 | [] | no_license | DekEncom/SB_FGU_Code | 655e42d8cf7bfb0be0ac98cfe377e17f2143ee64 | eb5a881ca42b79fbe75cabcf4d28d41f97f8ce89 | refs/heads/master | 2021-05-15T21:38:05.499007 | 2017-12-10T11:40:34 | 2017-12-10T11:40:34 | 106,544,855 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 16,769 | ino | #include <Servo.h>
#include <Firebase.h>
#include <FirebaseArduino.h>
#include <FirebaseCloudMessaging.h>
#include <FirebaseError.h>
#include <FirebaseHttpClient.h>
#include <FirebaseObject.h>
#include <ESP8266WiFi.h>
#include <Wire.h>
#include <LiquidCrystal_I2C.h>
LiquidCrystal_I2C lcd(0x27, 16, 2);
// Config Fireb... | [
"noreply@github.com"
] | DekEncom.noreply@github.com |
be03fc9bdcb6a7cf9a0f2b4846c89e50721f0a15 | d53967ddf785d6982e88056faf3ad01f91c8650b | /src/behaviortree/nodes/decorators/decoratornot.cpp | 7043565027575a32316296e820e876d2e7190d9c | [
"NCSA",
"BSD-3-Clause",
"MIT",
"LicenseRef-scancode-unknown-license-reference",
"BSD-2-Clause"
] | permissive | P79N6A/behaviac3.6 | c154a7d288838cd8268ee4a0fa3ea6d69ad9b06b | 988fabfb488399ee42abe7aba8a9cb7467e53e65 | refs/heads/master | 2020-04-12T04:57:40.411301 | 2018-12-18T15:37:26 | 2018-12-18T15:37:26 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,480 | cpp | /////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// Tencent is pleased to support the open source community by making behaviac available.
//
// Copyright (C) 2015-2017 THL A29 Limited, a Tencent company. All rights reserved.
//
// Licensed under the ... | [
"pjkui@qq.com"
] | pjkui@qq.com |
70d5ce2e4493fd5525c87165ca74e4f1142523a3 | 6956dad606af260e6ff896e18ea29dc45de390ff | /Source/Rendering/DirectX/vaRenderDeviceContextDX11.cpp | e5f90c09b7643ac56f81cd288967db69afa76486 | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | GameTechDev/VRS-DoF | 3ca4153cb5958096685e06d6fc8015ec64d7f290 | 3243f3a673eb38ba33135c023905d1660c814a0f | refs/heads/master | 2023-08-11T23:04:56.884686 | 2023-01-03T22:53:52 | 2023-01-03T22:53:52 | 242,167,037 | 96 | 9 | null | null | null | null | UTF-8 | C++ | false | false | 31,984 | cpp | ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// Copyright (c) 2016, Intel Corporation
// Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
// documentation files (the "Software"), to de... | [
"filip.strugar@gmail.com"
] | filip.strugar@gmail.com |
47201456c1cf661637a5eed9332cc8a5ac711e6f | 0bd4cacd12ec0bf135db1c4600cdab45d87e62ed | /DigitNeuralNetwork/MNISTLoaderTests.h | 2c75c81607126b24832e519a9e4947dc0f0a233a | [] | no_license | Wh0DKnee/DigitRecognitionNN | 6adf5ba3000e84a77e5c118119fdd3110235389b | 434f1276ec83b9578ee11de474741756fca17bdb | refs/heads/master | 2021-06-11T02:51:34.283851 | 2021-04-11T09:47:04 | 2021-04-11T09:47:04 | 128,211,822 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 235 | h | #pragma once
#include "MNISTLoader.h"
class MNISTLoaderTests
{
private:
MNISTLoader mnistLoader;
public:
void TestDataValueRange();
void TestGetData();
void TestGetTrainingData();
void TestGetTestData();
void RunAllTests();
};
| [
"s.reuter1@stud.tu-darmstadt.de"
] | s.reuter1@stud.tu-darmstadt.de |
3d453984e5b2a03b5ec304d32ba0983962d46769 | 8b8e51e94e61654a3f331b7e4fa6770d1b3dd4d7 | /Common/Foam/include/base/solverPerformance.hxx | 724738fb7df4d390fc3c0a6d78d92dfa7d40e99c | [] | no_license | PayvandH/Tonb | 1ea829d6732a3645bbf117a8857af5600e9a5192 | 6964200f033ab0b53fc3f3bfa8d58ca9578ecc66 | refs/heads/master | 2023-01-12T21:24:30.491648 | 2020-11-13T17:12:09 | 2020-11-13T17:12:09 | 312,663,721 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,809 | hxx | #pragma once
#ifndef _solverPerformance_Header
#define _solverPerformance_Header
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org... | [
"aasoleimani86@gmail.com"
] | aasoleimani86@gmail.com |
49ca7bb0f556a137eff6f1e132eec29585807174 | 4324496905bfa09862de5300e7c89f51553d88dd | /codechef/src/Chef and Secret Ingredient.cpp | 536562a91a1766b5e87e6d13b0596756e4738e14 | [] | no_license | rhemon/problem-solving | 56ea4621c0487ee70922d06e4bf6a91b96f99e62 | 6e5baa9cd3f805ae8c6282792111199f0b8acb89 | refs/heads/master | 2020-03-23T18:09:21.905077 | 2019-10-16T00:47:38 | 2019-10-16T00:47:38 | 141,892,314 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 402 | cpp | #include <iostream>
using namespace std;
int main() {
int t;
cin >> t;
while (t--) {
int n, x;
cin >> n >> x;
int a;
bool y = false;
for (int i = 0; i < n; i++) {
cin >> a;
if (a >= x)
y = true;
}
if (y)
... | [
"rhemon19@gmail.com"
] | rhemon19@gmail.com |
dd6244817ea02ec08f75154e684bb8a682075382 | 83d944fb5e82eb288201067f2b9d3ccc05a38dd3 | /Pulsoid/Bonus.h | 7f1a3fe0324bddda54392e91d9339cdaaa872922 | [] | no_license | BaronVladziu/Pulsoid | d2310216466b8a5e49cc79af89b673f23b20f7ae | 4e60d8ecb9894901e97fecd1fc90448ffa46fe20 | refs/heads/master | 2020-03-07T23:15:02.140973 | 2018-04-02T16:03:35 | 2018-04-02T16:03:35 | 127,776,252 | 2 | 0 | null | null | null | null | WINDOWS-1250 | C++ | false | false | 489 | h | #pragma once
#include "header.h"
#include "Player.h"
class Bonus
{
private:
sf::CircleShape _outline;
sf::Text _text;
float _speed;
public:
bool _ifAlive;
bool _ifCatched;
int _type;
/*
0 - dodatkowe 2 kulki
1 - sizeUpenie
2 - pomniejszenie
3 - przebijanie
4 - strzelanie
5 - życie
6 - Floor
7 - speedUp... | [
"baronvladziu@gmail.com"
] | baronvladziu@gmail.com |
1ed0c7021faa4071bd5595501135ae15b134a0f5 | 7f62f204ffde7fed9c1cb69e2bd44de9203f14c8 | /DboClient/Lib/NtlSimulation/NtlSobTriggerObject.h | 339395f728e9a4bd5b99f825a2c815c15a90219b | [] | no_license | 4l3dx/DBOGLOBAL | 9853c49f19882d3de10b5ca849ba53b44ab81a0c | c5828b24e99c649ae6a2953471ae57a653395ca2 | refs/heads/master | 2022-05-28T08:57:10.293378 | 2020-05-01T00:41:08 | 2020-05-01T00:41:08 | 259,094,679 | 3 | 3 | null | 2020-04-29T17:06:22 | 2020-04-26T17:43:08 | null | UHC | C++ | false | false | 2,301 | h | /*****************************************************************************
*
* File : NtlSobTriggerObject.h
* Author : HyungSuk, Jang
* Copyright : (주)NTL
* Date : 2005. 11. 16
* Abstract : Simulation trigger object
*****************************************************************************
* Desc ... | [
"64261665+dboguser@users.noreply.github.com"
] | 64261665+dboguser@users.noreply.github.com |
98d9299fbdcd20a942f34b42560719e8944d557a | c17b8eb06fb137def535de02c2cd88ea04f2dadf | /dev/src/sdl_util/cleanup.cc | b5fb4c22a39a4d4c9e642bd666909faac596da77 | [] | no_license | DotStarMoney/TLG | 8acfc447b149b7ca880e131e6b911d0ea2da54df | 6fcbf9351a17d8939ccb1cdd45741718c4044067 | refs/heads/master | 2021-05-08T00:57:13.371980 | 2018-12-04T05:57:01 | 2018-12-04T05:57:01 | 107,836,860 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 114 | cc | #include "sdl_util/cleanup.h"
namespace sdl_util {
int Cleanup::remaining_modules_ = 0;
} // namespace sdl_util
| [
"Batterybat@gmail.com"
] | Batterybat@gmail.com |
ec9af227ef3e507a22c441de2a2931cc6f250c38 | 04251e142abab46720229970dab4f7060456d361 | /lib/rosetta/source/src/protocols/features/ProteinSilentReport.hh | faa4e8f2231d67edebbd838ce1a5feeab6a47ee5 | [] | no_license | sailfish009/binding_affinity_calculator | 216257449a627d196709f9743ca58d8764043f12 | 7af9ce221519e373aa823dadc2005de7a377670d | refs/heads/master | 2022-12-29T11:15:45.164881 | 2020-10-22T09:35:32 | 2020-10-22T09:35:32 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,529 | hh | // -*- mode:c++;tab-width:2;indent-tabs-mode:t;show-trailing-whitespace:t;rm-trailing-spaces:t -*-
// vi: set ts=2 noet:
//
// (c) Copyright Rosetta Commons Member Institutions.
// (c) This file is part of the Rosetta software suite and is made available under license.
// (c) The Rosetta software is developed by the co... | [
"lzhangbk@connect.ust.hk"
] | lzhangbk@connect.ust.hk |
cb0207076683cf13be5147f920a0c2e6e6bc8ef0 | 6ce260bd0bd9e1419a48300383886f4a164c0805 | /Trees/Binary Trees/Diameter of a tree.cpp | 3e766967ccea3129d8547b8b8d73392a6a02784e | [] | no_license | Adityashar/DS-Algo | 0cc12fcf6aa27a3bd80ccec4231c702433f63ff2 | 6fd785e1e1bc113a21a2e71e12942c4870944e31 | refs/heads/main | 2023-08-30T20:05:33.152491 | 2021-10-30T07:13:57 | 2021-10-30T07:13:57 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 967 | cpp | /*
Diameter is the distance between the farthest two leaves of a tree
Longest path between two nodes in a tree
*/
// 1
// For N-Ary tree with Adjacency List
#define pp pair<int, int>
#define f first
#define s second
vector<vector<int>> adj;
pp DFS(int root, int parent) {
int ans = 0, target = root;
for (auto... | [
"31154243+Adityashar@users.noreply.github.com"
] | 31154243+Adityashar@users.noreply.github.com |
16c583538ff76d7e4b354e0cbb8eddbc3e81d3bf | 872d2d65af9fe627be21711beb202aa60d7d0b8e | /rts/game_MC/cmd_specific.cc | ad82082691e8cb61485020c5f6bf7a6a56426a91 | [
"BSD-3-Clause"
] | permissive | GaoFangshu/ELF-example | 0c0b5d7abcb11760a8fe0bdd28bcf5662dd64bef | 8fbe6f0633c13378003282352f23cd08ca7a50f1 | refs/heads/master | 2021-01-01T06:00:43.086629 | 2018-12-09T02:23:28 | 2018-12-09T02:23:28 | 97,325,267 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,326 | cc | /**
* Copyright (c) 2017-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/
#include "../engi... | [
"gaofangshu@foxmail.com"
] | gaofangshu@foxmail.com |
6a00565b6c157083853a6c0a25add84edad585a2 | 9ad526529f87dd9de7533dd8bb932b9db25616b0 | /chainhook/CDisAssm.cpp | 5139c3815b67ed96f74774753eb4de016a7bcf5f | [] | no_license | jonasblunck/DynHook | 9d41f7ef2a8360f52ddec167f3a19c8bc57e8e78 | 90950c08d1b63d10392e697131a2a489ea3cf5d1 | refs/heads/master | 2022-11-25T17:03:41.159009 | 2022-11-09T15:48:30 | 2022-11-09T15:48:30 | 63,905,318 | 18 | 9 | null | null | null | null | UTF-8 | C++ | false | false | 18,178 | cpp | #include "StdAfx.h"
#include "CDisAssm.h"
#include <crtdbg.h>
CDisAssm::CDisAssm(void)
{
m_b16BitAddress = false;
m_b16BitOperand = false;
}
CDisAssm::~CDisAssm(void)
{
}
bool CDisAssm::GetInstructionInfo(const BYTE* pInstruction, InstrInfo& rInfo, int& riLen)
{
_ASSERTE(pInstruction);
_ASSERTE(... | [
"jonasbl@microsoft.com"
] | jonasbl@microsoft.com |
7307cae932b5735354afbf04ee3e520773552b6e | 2096b5dc8b855888b1cef8f17a347af17a14a094 | /transformer-han-encoder/third_party/mteval/BLEUEvaluator.cc | c5a8f4468466974ecc67be97aa238499f90d6706 | [
"MIT"
] | permissive | sameenmaruf/acl2020-contextnmt-cataphora | a4d00ea945262ed198427cc4361762b067632b2f | 4bf88fcbdc7ff9ee492f5059da3090dfa527b765 | refs/heads/master | 2022-11-04T21:39:34.097479 | 2020-07-15T05:00:45 | 2020-07-15T05:00:45 | 255,033,837 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,461 | cc | #include <mteval/BLEUEvaluator.h>
#include <mteval/utils.h>
#include <cmath>
#include <map>
#include <utility>
namespace MTEval {
BLEUEvaluator::BLEUEvaluator(const std::vector<EvaluatorParam>& params)
: Evaluator(params)
, ngram_(4)
, smooth_(0.0) {
for (auto& p : params) {
if (p.name == "ngram") ngra... | [
"noreply@github.com"
] | sameenmaruf.noreply@github.com |
e247310937709a0e024a940aa5ffbb30b1ccaea7 | f6439b5ed1614fd8db05fa963b47765eae225eb5 | /chrome/browser/search_engines/template_url_service_test_util.h | c05c20d3a370d36c7b00d020914712a99db45c80 | [
"BSD-3-Clause"
] | permissive | aranajhonny/chromium | b8a3c975211e1ea2f15b83647b4d8eb45252f1be | caf5bcb822f79b8997720e589334266551a50a13 | refs/heads/master | 2021-05-11T00:20:34.020261 | 2018-01-21T03:31:45 | 2018-01-21T03:31:45 | 118,301,142 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,098 | h | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_SEARCH_ENGINES_TEMPLATE_URL_SERVICE_TEST_UTIL_H_
#define CHROME_BROWSER_SEARCH_ENGINES_TEMPLATE_URL_SERVICE_TEST_UTIL_H_
#incl... | [
"jhonnyjosearana@gmail.com"
] | jhonnyjosearana@gmail.com |
2776defbdeaaa71594898dccd4b3192727070ed4 | 4ddf464dff8ed5572789dc82cd2a8a723aef6127 | /src/keepass.h | 903f1a4dce220b1409a93ae8f9e57775d3e48610 | [
"MIT"
] | permissive | clycoin/clycoin | 2c577cf4a308b39e2cf55f6e93b8976ebe1b663b | 34efad8b2554b9a3369a059cb78fbe45d8007f53 | refs/heads/master | 2020-04-08T08:43:37.493214 | 2018-11-26T15:54:54 | 2018-11-26T15:54:54 | 159,191,184 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,590 | h | // Copyright (c) 2014-2017 The CLY Coin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef _KEEPASS_H_
#define _KEEPASS_H_
#include "support/allocators/secure.h"
#include <univalue.h>
class CKeePassIntegra... | [
"clycoin@gmail.com"
] | clycoin@gmail.com |
f665fceb2c6ab73855b4dd8dc810c20636a722a7 | 61c9db3c5a289567baf25cf28c1d95473bbb3c76 | /src/Stats/EnemyEntityStats.h | efa8ca8442367a9a784aa3c2d6f8e2d33f5e3c4e | [] | no_license | Ely4s/InfiniteConquest | 4355ffa2dc2e944e21ea092a582feec5f5da6f2d | 8b7f230b24edcc941e70a2b05e4ef378ee93736c | refs/heads/main | 2023-07-04T21:06:28.715842 | 2021-07-29T14:41:19 | 2021-07-29T16:34:01 | 390,754,973 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 586 | h | //
// Created by Elyas EL IDRISSI on 03/04/2021.
//
#ifndef INFINITECONQUEST_ENEMYENTITYSTATS_H
#define INFINITECONQUEST_ENEMYENTITYSTATS_H
#include "Sprite/Sprite.h"
#include "Gauge/LifeGauge.h"
#include "Gauge/RageGauge.h"
#include "Text/Text.h"
#include "Entity/FamiliarEntity.h"
#include "Stats/EntityStats.h"
cla... | [
"el.idrissi_elyas@icloud.com"
] | el.idrissi_elyas@icloud.com |
d813beb4627811eb4d63e44827a71d2ca656865b | 3d5233fb90e63236fdabe6f14b3744f7353f85a8 | /12 - Algoritmos NP/problemas np/subsuma/subSum.cpp | dec0ba6236131a40dd3a38f5dc9e175f59c789e1 | [] | no_license | USERCALL/Ciencias1_UD | 8dc41e495e648fd528c5da8fea1107a4dea407a4 | 5e76b57c4c5a6d9c809e5bff377a407a7351fd5e | refs/heads/master | 2021-06-12T18:24:57.525949 | 2017-04-07T16:09:20 | 2017-04-29T01:29:32 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,491 | cpp | #include <stdio.h>
#include <stdlib.h>
#include <iostream>
#include <fstream>
#include "conio.h"
#include <windows.h>
#define ARRAYSIZE(a) (sizeof(a))/(sizeof(a[0]))
using namespace std;
double performancecounter_diff(LARGE_INTEGER *a, LARGE_INTEGER *b){
LARGE_INTEGER freq;
QueryPerformanceFrequency(&freq);
retu... | [
"usercall.hm@gmail.com"
] | usercall.hm@gmail.com |
d83a18d6f6efa254234c932e3262c17acb5b5b38 | 4dbb45758447dcfa13c0be21e4749d62588aab70 | /iOS/Classes/Native/mscorlib_System_RuntimeMethodHandle2199484343.h | c591458f4ea73f7a6281c275cbcee413fbc04208 | [
"MIT"
] | permissive | mopsicus/unity-share-plugin-ios-android | 6dd6ccd2fa05c73f0bf5e480a6f2baecb7e7a710 | 3ee99aef36034a1e4d7b156172953f9b4dfa696f | refs/heads/master | 2020-12-25T14:38:03.861759 | 2016-07-19T10:06:04 | 2016-07-19T10:06:04 | 63,676,983 | 12 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,250 | h | #pragma once
#include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <stdint.h>
#include "mscorlib_System_ValueType1744280289.h"
#include "mscorlib_System_IntPtr4010401971.h"
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winv... | [
"lii@rstgames.com"
] | lii@rstgames.com |
b8701262971613109cbee37c8c10f341ba260a19 | 49f6be6d136b9b0f46ba000579c4c52392e2ab2e | /app/cpp/tessapi_wrapper.cpp | e18c6413641dda5cffa75b9b28f0a1cf23153107 | [] | no_license | icyveins7/calculator-impact | 8907ecc4d7a7e3180f96570269d00edabdb9c1c3 | f7ed41dfdc96f69e82ca77d58893660e0bdf654d | refs/heads/master | 2023-06-17T13:12:38.581658 | 2021-06-30T13:44:24 | 2021-06-30T13:44:24 | 367,798,859 | 1 | 2 | null | 2021-07-09T13:15:59 | 2021-05-16T06:09:43 | Python | UTF-8 | C++ | false | true | 188,743 | cpp | /* Generated by Cython 0.29.23 */
/* BEGIN: Cython Metadata
{
"distutils": {
"depends": [
"ci_tessapi_wrapper.h"
],
"include_dirs": [
".",
"F:\\PycharmProjects\\vcpkg\\installed\\x64-windows\\include"
],
"language": "c++",
"librari... | [
"icyveins@hotmail.com"
] | icyveins@hotmail.com |
a0be290b55ad254d578275caad6628223deaadd2 | 966c55ba7cd0928019bd64dc31c8f3213ca2d7b5 | /c++_primer_4th/Screen.cpp | b34dfe63997b206b470fafe9670f286957fd57e6 | [] | no_license | unkown571/learning | 851c458756202596d28c2703898f315f338ee75a | 3a8d6defbf41e9763a6ca41c339c8bdaf12051b3 | refs/heads/master | 2021-05-26T17:22:38.531723 | 2012-09-09T07:59:07 | 2012-09-09T07:59:07 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 184 | cpp | #include <string>
class Screen {
public:
// interface member functions
typedef std::string::size_type index;
private:
std::string contents;
index cursor;
index height, width;
};
| [
"me@zhangliancheng.com"
] | me@zhangliancheng.com |
ec6c586ce95538ce03792e98e84fddf288d3b35f | 8d1e0cd45ca55dd453da868800d33c14d15033ec | /src/Pipe_Mesh_Integrator/json-deserializer.hpp | de0d3f097dceb2e0f81c9517d55267a8869c55a6 | [] | no_license | AOE-khkhan/Pipe_Mesh_Integrator | f5c4e968d73574e3685393bbf246872cc95c8fc5 | 95f806faf0377551d9837790e40533c08c077032 | refs/heads/master | 2022-05-29T19:41:13.709556 | 2019-11-18T07:52:17 | 2019-12-08T16:58:49 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 241 | hpp | #include "stdafx.h"
class TaskConfig {
public:
TaskConfig() {};
~TaskConfig() {};
json deserializeJsonFile(const char *filePath) {
std::ifstream inputStream(filePath);
json configs;
inputStream >> configs;
return configs;
}
};
| [
"andrei.brenev@mail.ru"
] | andrei.brenev@mail.ru |
abe226f1ae4ab6bff50c89ada08c3a1ee3f53f69 | 4a570656115cc824c639f99e3755c4cb2db35cbb | /Src/Client/PolarSSL++/SslContext.cpp | 521ca002b00573a3fca7c569c11f2887a1a9155a | [
"MIT"
] | permissive | zyjiang08/licode-windows-1 | 415ada2fa2f435864f34e0b26ac37f66608128e3 | 2bfdaf6e87669df2b9960da50c6800bc3621b80b | refs/heads/master | 2021-10-23T15:14:02.768999 | 2019-03-18T09:58:01 | 2019-03-18T09:58:01 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,386 | cpp |
// SslContext.cpp
// Implements the cSslContext class that holds everything a single SSL context needs to function
#include "stdafx.h"
#include "SslContext.h"
#include "EntropyContext.h"
#include "CtrDrbgContext.h"
#include "polarssl/debug.h"
cSslContext::cSslContext(void) :
m_IsValid(false),
m_HasHandshaken(... | [
"admin@gupar.com"
] | admin@gupar.com |
96de1a4e8857519932e6b17d12bc55dc432934db | e372e27cf33a963a31e6357de23734ed690da704 | /main/funcs.cpp | 8a24370797c69136a5023b26d179f968955a8192 | [
"MIT"
] | permissive | CaoRX/Ising2D | e62065b4063d78a95e1818939183a317e1e39046 | 53d0f4abf99ced071940eb305544aff940f57af7 | refs/heads/master | 2020-04-10T09:21:56.741293 | 2018-12-10T15:23:24 | 2018-12-10T15:23:24 | 160,934,234 | 0 | 1 | MIT | 2018-12-10T16:14:55 | 2018-12-08T11:53:19 | C++ | UTF-8 | C++ | false | false | 652 | cpp | #ifndef FUNCS_CPP
#define FUNCS_CPP
#include <cmath>
double polyfit(double *y, int n)
{
double sx, sy, sxx, sxy;
sx = sy = sxx = sxy = 0.0;
for (int i = 0; i < n; ++i)
{
sx += i;
sy += y[i];
sxx += (i * i);
sxy += (i * y[i]);
}
sx /= n;
sy /= n;
sxx /= n;
sxy /= n;
return (sxy - sx * sy) / (sxx - sx ... | [
"akks.crx@gmail.com"
] | akks.crx@gmail.com |
f945aaf76d364568cb4a612da3911f70818f7284 | 80da9619d2dc479b11d59ba7f7ffe03334fb23ae | /Pro/DocFastSearchTool/DocFastSearchTool/ScanManager.h | b1468d12cc99edec514018d5069de18f774df45a | [] | no_license | baosongshan/bit81 | 83b5329f76cfe0a8a18672f8e6010d48306cd0a6 | df51d3947d82928a38b9d43bfed5ea7a3655889c | refs/heads/master | 2020-08-01T17:49:18.901231 | 2020-07-18T04:33:50 | 2020-07-18T04:33:50 | 211,066,424 | 7 | 6 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 325 | h | #pragma once
#include"Common.h"
#include"DataManager.h"
class ScanManager
{
public:
static ScanManager& CreateInstance(const string &path);
public:
void StartScan(const string &path);
void StartWatch(); // ¼à¿ØÏß³Ì
void ScanDirectory(const string &path);
private:
ScanManager();
private:
//DataManager m_db;
}; | [
"baosongshan2006@163.com"
] | baosongshan2006@163.com |
4435c76069c72a60f88cade45ad1fca536f3fa31 | 8352ca72d4f1e8e8ebbbb7d6b07a4e0963be7f41 | /DataServer/Yahoo_TIP/TA_BASE/transactive/app/YahooFinanceStock/YahooFinanceStockClient/src/NewOrderConfirmWindow.h | 51ea166801f62a9525b7048803aa6782670e287e | [] | no_license | radtek/slin_code | 114f61695fc1a23a018da727452c3c42f64ebe39 | a0073e52d600839f7836c2b7673b45b4266259e2 | refs/heads/master | 2020-06-04T15:03:56.618177 | 2015-04-27T10:27:47 | 2015-04-27T10:27:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,862 | h | #ifndef __CLASS__NEW_ORDER_CONFIRM_WINDOW_HH__
#define __CLASS__NEW_ORDER_CONFIRM_WINDOW_HH__
#include <QtCore/QObject>
#include <QtCore/QMap>
#include <QtCore/QList>
#include <QtCore/QVariant>
#include <QtCore/QString>
#include <QtCore/QStringList>
#include <QtCore/QModelIndex>
#include <QtGui/QDialog>
... | [
"shenglonglinapple@gmail.com"
] | shenglonglinapple@gmail.com |
a1c61e9b39345d1e119bf737f8708ffb39a24bb8 | 2cf838b54b556987cfc49f42935f8aa7563ea1f4 | /aws-cpp-sdk-cloudformation/include/aws/cloudformation/model/DeactivateTypeResult.h | d99e784e831f6a7fda84e8531ed59b8d2adafaac | [
"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,510 | h | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/cloudformation/CloudFormation_EXPORTS.h>
#include <aws/cloudformation/model/ResponseMetadata.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class Amaz... | [
"aws-sdk-cpp-automation@github.com"
] | aws-sdk-cpp-automation@github.com |
4933f4ec464171f402af2ad503726c81c799d826 | ace28e29eaa4ff031fdf7aa4d29bb5d85b46eaa3 | /Visual Mercutio/zSplash/ZSplash.cpp | 66ef9368c72b405a27d854cab98e5e571ef8928e | [
"MIT"
] | permissive | emtee40/Visual-Mercutio | 675ff3d130783247b97d4b0c8760f931fbba68b3 | f079730005b6ce93d5e184bb7c0893ccced3e3ab | refs/heads/master | 2023-07-16T20:30:29.954088 | 2021-08-16T19:19:57 | 2021-08-16T19:19:57 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,555 | cpp | /****************************************************************************
* ==> zSplash -------------------------------------------------------------*
****************************************************************************
* Description : DLL main entry point *
* D... | [
"jean_milost@hotmail.com"
] | jean_milost@hotmail.com |
c9d76452c4af836be58cd9a3e6b2fa31d1b25168 | 03f037d0f6371856ede958f0c9d02771d5402baf | /graphics/VTK-7.0.0/Common/ExecutionModel/vtkThreadedCompositeDataPipeline.cxx | 0a7fb7d1ccad3ff6bf452ec3b3bea096cf1dfb27 | [
"BSD-3-Clause"
] | permissive | hlzz/dotfiles | b22dc2dc5a9086353ed6dfeee884f7f0a9ddb1eb | 0591f71230c919c827ba569099eb3b75897e163e | refs/heads/master | 2021-01-10T10:06:31.018179 | 2016-09-27T08:13:18 | 2016-09-27T08:13:18 | 55,040,954 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,515 | cxx | /*=========================================================================
Program: Visualization Toolkit
Module: vtkThreadedCompositeDataPipeline.cxx
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
All rights reserved.
See Copyright.txt or http://www.kitware.com/Copyright.htm for detai... | [
"shentianweipku@gmail.com"
] | shentianweipku@gmail.com |
2e4f7bedf3f5e11ebd9555be0f52898499f82444 | a46ed9a536989a5512460a332f6a22ec4a9a2164 | /알고리즘기초1/예제/q_10844/q_10844/main.cpp | 529c10ee9da1fd4196438c3aee6f9a4cf368d386 | [] | no_license | Yewon-july/Algorithm | 90888f843052aee57c241598634ffff7460ef2b4 | c01a227ad4c8775bebf58d8fc6bee584227a63f5 | refs/heads/master | 2022-08-15T23:55:53.071790 | 2020-05-22T04:28:46 | 2020-05-22T04:28:46 | 262,912,291 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 894 | cpp | #include <iostream>
using namespace std;
long long arr[101][10];
int main(){
ios_base::sync_with_stdio(false);
cin.tie(nullptr);
cout.tie(nullptr);
int n;
cin >> n;
for(int i=1; i<=n; i++){
if(i==1){
arr[i][0]=0;
for(int j=1; j<10; j++){
... | [
"kellychung730@gmail.com"
] | kellychung730@gmail.com |
19b081f9e039700daa4996e85d2252764c89d82d | 663f36cfff3bfaf9ad64bba430e648b0dadc0f99 | /dependencies/Ogre/RenderSystems/Direct3D11/include/OgreD3D11HardwareUniformBuffer.h | b8a6d00a07cf613b4ad60661de122313bffdcba8 | [
"Apache-2.0",
"MIT"
] | permissive | LiberatorUSA/GUCEF | b579a530ac40478e8d92d8c1688dce71634ec004 | 2f24399949bc2b2eb20b3f445100dd3e141fe6d5 | refs/heads/master | 2023-09-03T18:05:25.190918 | 2023-09-02T17:23:59 | 2023-09-02T17:23:59 | 24,012,676 | 9 | 15 | Apache-2.0 | 2021-07-04T04:53:42 | 2014-09-14T03:30:46 | C++ | UTF-8 | C++ | false | false | 2,907 | h | /*
-----------------------------------------------------------------------------
This source file is part of OGRE
(Object-oriented Graphics Rendering Engine)
For the latest info, see http://www.ogre3d.org/
Copyright (c) 2000-2016 Torus Knot Software Ltd
Permission is hereby granted, free of charge, to any person obta... | [
"dinand@vanvelzen.us"
] | dinand@vanvelzen.us |
7c0704d4bf6b1fdf1628819e31739e48571d7f6d | 4fc62c002219b2cd14496579c4ecbc66a8fa7fe8 | /image/query/utils/file_util.cc | abdd78e84aa4dcc2d5d7d9030b7823207e3ee78b | [] | no_license | TheTypoMaster/dingler | 7475367e10926194c0d50e63f3a26914799e30ca | 7d1fbdc0450eac1a2b3f8c08e97522a9490a6834 | refs/heads/master | 2020-04-10T13:30:55.813142 | 2015-09-02T14:56:05 | 2015-09-02T14:56:05 | 41,807,566 | 0 | 0 | null | 2015-09-02T14:55:48 | 2015-09-02T14:55:47 | null | UTF-8 | C++ | false | false | 4,130 | cc | // Copyright 2012 Google 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 by applicable... | [
"brainloop0@gmail.com"
] | brainloop0@gmail.com |
4f0467a4b433d119a1c6cd5a007ac68b03d0c4de | fc0c83864a8a580f6e0717ade32a1728efd8dc78 | /m01/ex06/Weapon.hpp | df6229d1c41bc5eb6acf9d51d32218b025e99107 | [] | no_license | BuddhaCola/cpp | debc937e99ade61ac87b03f28aeb2f609a456c6d | 395624f830f4f907712d9d5828e4278f01a08793 | refs/heads/master | 2023-05-31T03:57:35.999653 | 2021-06-28T15:38:20 | 2021-06-28T15:38:20 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 216 | hpp | #ifndef WEAPON_HPP
#define WEAPON_HPP
#include <iostream>
class Weapon
{
std::string type;
public:
const std::string &getType() const;
void setType(std::string type);
Weapon(std::string type);
};
#endif | [
"wtaylor@un-j2.kzn.21-school.ru"
] | wtaylor@un-j2.kzn.21-school.ru |
c653c771a496937f9fa208736bd3eb7048f3bff1 | 3a1a8f1943552ca675a1e41bb27e8c16c2d5fd61 | /apps/tuxbox/neutrino/src/driver/framebuffer.cpp | 0dc5cda34669937f21aac2f3a1d7e537e23a028e | [] | no_license | UkCvs/ukcvs | 02f867f191ab4c09d1b37970049c8524352b7ee8 | c22ea4acee5369c45faddc3c3e0e2bae1f167dd4 | refs/heads/master | 2021-01-18T07:58:20.289288 | 2014-09-28T20:15:37 | 2014-09-28T20:15:37 | 57,437,330 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 31,059 | cpp | /*
Neutrino-GUI - DBoxII-Project
$Id: framebuffer.cpp,v 1.81 2010/06/06 12:50:48 dbt Exp $
Copyright (C) 2001 Steffen Hehn 'McClean'
2003 thegoodguy
License: GPL
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
... | [
"satsearching@df069966-19a3-40d7-b12f-6b6c54d32c8c"
] | satsearching@df069966-19a3-40d7-b12f-6b6c54d32c8c |
783c77c31319a9716f70852b79b8042b31f1fbb9 | eeb3b94eada02b8da11035436dd4cf5baafc0c96 | /employeeupdatewindow.h | aaaa8fbd353019e17df3d297452900c69c4e528e | [] | no_license | edutilos6666/QTStaffManagement | 274a35884c5c22bc4f87dd7ff5fdffaf55570215 | 41f47018d2115c835aef2e338c327376f3161f0d | refs/heads/master | 2021-01-18T20:54:12.530503 | 2017-04-02T18:40:04 | 2017-04-02T18:40:04 | 86,998,040 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 751 | h | #ifndef EMPLOYEEUPDATEWINDOW_H
#define EMPLOYEEUPDATEWINDOW_H
#include <QMainWindow>
#include "employeedao.h"
#include <QStandardItemModel>
#include "employeeutils.h"
#include <QMessageBox>
namespace Ui {
class EmployeeUpdateWindow;
}
class EmployeeUpdateWindow : public QMainWindow
{
Q_OBJECT
public:
explic... | [
"edutilosaghayev@gmail.com"
] | edutilosaghayev@gmail.com |
2cb8a47145b05965945a301db65dbff69eb97b07 | 8cc55b6e20cc9602879e555aff2795f5f3bc29c0 | /TV_Remote_Wrap_C++.cpp | d9902bf58ca0c419cf21683dd0d9e709684548b2 | [] | no_license | rafmoc/CodeWars | ddc7fba14a19468c6c26b3a093261e2860a6a54b | 1326922c6c6327b000a96a1c26b5c8d052f00bc2 | refs/heads/master | 2023-03-18T17:44:49.451008 | 2021-02-24T09:34:20 | 2021-02-24T09:34:20 | 291,973,295 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,473 | cpp | //https://www.codewars.com/kata/5b2c2c95b6989da552000120
using namespace std;
int tv_remote(const string &word)
{
int i, j, k=0, sum=0, isup = 0;
int length = word.length();
int x=0, y=0; //x and y are location we are at.
char tab[6][8]={
{'a', 'b', 'c', 'd', 'e', '1', '2... | [
"noreply@github.com"
] | rafmoc.noreply@github.com |
12549339493df0a6bcf7c9f751c659d87217e077 | e65e6b345e98633cccc501ad0d6df9918b2aa25e | /POJ/1155.cpp | cd5581f775f9ca1361d5ef6d1fd4c64b41e337ee | [] | no_license | wcysai/CodeLibrary | 6eb99df0232066cf06a9267bdcc39dc07f5aab29 | 6517cef736f1799b77646fe04fb280c9503d7238 | refs/heads/master | 2023-08-10T08:31:58.057363 | 2023-07-29T11:56:38 | 2023-07-29T11:56:38 | 134,228,833 | 5 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,888 | cpp | /*************************************************************************
> File Name: 1155.cpp
> Author: Roundgod
> Mail: wcysai@foxmail.com
> Created Time: 2018-08-04 22:56:51
************************************************************************/
#pragma GCC optimize(3)
#include<cstdio>
#includ... | [
"wcysai@foxmail.com"
] | wcysai@foxmail.com |
21add7108537cde66af38c5e5a74b328322e8933 | 45ec72da7e803ca2f923a68d4025b4d29929afd5 | /src/someSnappyHexMesh/refinementSurfaces/refinementSurfaces.H | 4dbf2d857b9e779ea61418712a7bdabfb556f0a3 | [] | no_license | venugopalansgr/OpenFOAM | 7b1d73516001bea159835388449b2438bfa97702 | 1d60b8bfa40abf6eaf5f19f59a99465448faf991 | refs/heads/master | 2020-12-25T17:35:35.247780 | 2020-02-10T08:55:58 | 2020-02-10T08:55:58 | 29,425,434 | 5 | 5 | null | null | null | null | UTF-8 | C++ | false | false | 15,728 | h | /*---------------------------------------------------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2004-2011, 2015 OpenCFD Ltd.
\\/ M anipulation |
---------... | [
"noreply@github.com"
] | venugopalansgr.noreply@github.com |
199e79391f53ccc1582ef9c64cb7aa9516685428 | 59a292e96aa2b42d1181d4cb9fefa7b0e39a8396 | /chrome/browser/ui/ash/launcher/chrome_launcher_controller_impl.cc | e731a9ac7741a9a50bb18d59fd0e33aa78234886 | [
"BSD-3-Clause"
] | permissive | yangxw8820/chromium | bdf073ef1d7b5e8de7989c11397ac6713eba536c | 529286631559b7ca25924dca925fdcc62aa6d9bd | refs/heads/master | 2023-03-07T21:53:36.742017 | 2017-01-14T02:51:53 | 2017-01-14T02:51:53 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 57,762 | cc | // Copyright 2013 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 "chrome/browser/ui/ash/launcher/chrome_launcher_controller_impl.h"
#include <stddef.h>
#include <vector>
#include "ash/common/multi_profile_um... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
b1b017aafa64c89ba3d562f8676283f649fc542c | ceb7431363e36a4698a93540cdeafcd9d9b315ad | /lib/StaticAnalyzer/Checkers/NonNullParamChecker.cpp | 689739d4e9713cd6817b9eb6d0a3b28b0eedadfd | [
"MIT"
] | permissive | primitivorm/latino-llvm | 8b5d8759271eb6c328cb4c81a2523bbecce10222 | 33c820aeef006b7190e347e0839cf4f268b70639 | refs/heads/master | 2023-08-02T06:15:42.365363 | 2023-05-05T13:28:32 | 2023-05-05T13:28:32 | 133,191,211 | 4 | 2 | MIT | 2022-03-31T01:39:29 | 2018-05-12T23:39:50 | C++ | UTF-8 | C++ | false | false | 11,503 | cpp | //===--- NonNullParamChecker.cpp - Undefined arguments checker -*- 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
//
//===---------------------------... | [
"cibercafe_montero@hotmail.com"
] | cibercafe_montero@hotmail.com |
cb64c3c2a0e7eabc44f7575c8130c0fcd82f8395 | f359e8d1a4af3274413576b239db07ee617f9294 | /src/MPI/Decomposition/decomposition.h | 5c932501a168d698e2f1ff393581c86e0defa195 | [
"MIT"
] | permissive | HaoZeke/prace_topologies | c5059dc7c6b2abee04504a8fd750cf6dbbcc9a5d | 26b35ab27cf08062892ce9c20c9a046ac99f4338 | refs/heads/main | 2023-05-14T22:22:18.373630 | 2021-06-08T18:20:45 | 2021-06-08T18:20:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,814 | h | /*
* Copyright (c) 2021 Maksim Masterov, SURF
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merg... | [
"maxim.vadimovich@gmail.com"
] | maxim.vadimovich@gmail.com |
497be23cc084d51cce93b3fda755ba83082c8e24 | b68bb4dd0bd5420130e452429b07f072c04c5e4a | /ElfReader.cpp | 51e8ec009d64abd211748aec99e0a7a73a500687 | [] | no_license | uvbs/CPP-Reflection | 529ceae933893f721cda644c9bc6f1f49f06c82a | de4b38c1f12278d9d375e77968ce56310df16f13 | refs/heads/master | 2023-03-16T10:36:32.120653 | 2020-02-23T18:20:46 | 2020-02-23T18:20:46 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,283 | cpp | #include "ElfReader.h"
ElfReader::ElfReader(char *filepath)
{
FILE *elf = fopen(filepath, "r");
if (elf == nullptr) {
printf("[ElfReader.cpp]::init(char *)\tCould not read ELF file! %s\n", filepath);
perror("ELFReader");
}
// Measure the size of the ELF File
if (fseek(elf, 0, SEEK_... | [
"kopala.david@gmail.com"
] | kopala.david@gmail.com |
7d986b4a4fa9b87ee2aa744f8688bd5a487e83a8 | 5a77b5092acf817ac37a5fafd006feea434dd0d6 | /Doxygen_Graphviz/DesignPatternExample/大話/cpp/facade/Stock2.h | 86037e9d7cb79a9b79cbbc26310cf68999b09665 | [] | no_license | shihyu/MyTool | dfc94f507b848fb112483a635ef95e6a196c1969 | 3bfd1667ad86b3db63d82424cb4fa447cbe515af | refs/heads/master | 2023-05-27T19:09:10.538570 | 2023-05-17T15:58:18 | 2023-05-17T15:58:18 | 14,722,815 | 33 | 21 | null | null | null | null | UTF-8 | C++ | false | false | 132 | h | #pragma once
namespace facade {
class Stock2 {
public:
virtual void buy();
virtual void sell();
};
} | [
"jason_yao@htc.com"
] | jason_yao@htc.com |
f4171af0e01094ab8a3c3296f62db50447d07d96 | 384b50982c0831fdf0c481f3f69781e38cc66b5c | /range.hpp | 8d308bfe9ce68c1c59663def521eda02c6a89518 | [
"MIT"
] | permissive | SergeyArenzon/ITERTOOLS_CFAR | 7447ce74997f14de672e525cb2620e95a92cc50a | 9c5425d920326df8cb2850a0382890a42207bdd6 | refs/heads/master | 2022-10-16T19:45:37.584791 | 2020-06-14T10:35:55 | 2020-06-14T10:35:55 | 272,177,747 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,014 | hpp |
namespace itertools {
class range {
int _start, _end;
public:
range(int a, int b) : _start(a), _end(b){};
class iterator {
int value;
public:
iterator() : value(0) {};
iterator(int val) : value(val) {};
int operator*(){
... | [
"sergeyr1991@gmail.com"
] | sergeyr1991@gmail.com |
88ddbdd2d05ad5ac7b76554eecf60bac70577c68 | d36cb14d08eb599c4aa0bf7bb25796b1d1c7416e | /gslp/Plan.cpp | 194163a9d10dd1b95dbb8fb8e04a93bcc0b88aa4 | [
"MIT"
] | permissive | wellupgeek/vegen | e1fc439403eb616380225e4b08404feec22b38dc | 696e80ad28aa6b17b4986cc2d25d18a9c5e7b047 | refs/heads/main | 2023-06-28T05:09:49.955236 | 2021-07-27T01:36:09 | 2021-07-27T01:36:09 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,470 | cpp | #include "Plan.h"
#include "Heuristic.h"
#include "Packer.h"
#include "Solver.h"
#include "VectorPack.h"
#include "VectorPackContext.h"
using namespace llvm;
Plan::Plan(Packer *Pkr, BasicBlock *BB) : Pkr(Pkr), BB(BB), Cost(0) {
for (auto &I : *BB) {
Cost += Pkr->getScalarCost(&I);
NumScalarUses[&I] = I.getN... | [
"ychen306@mit.edu"
] | ychen306@mit.edu |
a41e9b399afdf380c59d7371710f4d4650db3919 | fbe77e9e2a53a4600a1d9b00b5f2c29ee3e8c59a | /libraries/fc/include/fc/uint128.hpp | 52607aab9aaadb5e689a1c5c2623dabd9c906b4e | [
"MIT",
"Apache-2.0",
"BSD-3-Clause"
] | permissive | AcuteAngleCloud/Acute-Angle-Chain | 8d4a1ad714f6de1493954326e109b6af112561b9 | 5ea50bee042212ccff797ece5018c64f3f50ceff | refs/heads/master | 2021-04-26T21:52:25.560457 | 2020-03-21T07:29:06 | 2020-03-21T07:29:06 | 124,164,376 | 10 | 5 | MIT | 2020-07-16T07:14:45 | 2018-03-07T02:03:53 | C++ | UTF-8 | C++ | false | false | 6,638 | hpp | #pragma once
#include <limits>
#include <stdint.h>
#include <string>
#include <fc/exception/exception.hpp>
#include <fc/crypto/city.hpp>
#ifdef _MSC_VER
#pragma warning (push)
#pragma warning (disable : 4244)
#endif //// _MSC_VER
namespace fc
{
class bigint;
/**
* @brief an implementation of 128 bit unsi... | [
"caokun@acuteangle.cn"
] | caokun@acuteangle.cn |
f2c1ddfbc162a3c2e3f64a5c75f0786b9f4cb641 | bc7faa240388c4ec37272c3a3de43d6d72871694 | /player.cpp | 9a4319e70744a5797f93d200ab4ce7a04c7deff3 | [] | no_license | Bisheshwor/Quizzed-adventur | c74226ad16c2c85ccc0766d8ca1d86b5576ee23a | 3d3969454268755436d54a6394deed9e12d479e0 | refs/heads/master | 2020-03-30T01:59:21.180560 | 2018-09-27T15:49:09 | 2018-09-27T15:49:09 | 150,606,209 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,060 | cpp | #include "headers/game_object.h"
#include "headers/player.h"
#include <SFML/Graphics.hpp>
#include <SFML/Main.hpp>
#include <iostream>
using namespace std;
using namespace sf;
gobject p;
player::player()
{
if(!pTexture.loadFromFile("images/Character.png"))
{
cout<< "Error! The file is ... | [
"noreply@github.com"
] | Bisheshwor.noreply@github.com |
f55021f8e62ea9b61c5625caa1f4db0c6474703d | 6c376312457b8af43e372d10bbe6ba29f58cf99d | /DirectX11_BaseSystem/Include/Havok_SDK/Geometry/Collide/World/hkcdWorld.h | 25875ed68fd3f39f4309e6b8de0ce6601656eef3 | [] | no_license | kururu-zzz/DirectWrite | f3599ae83c0edefb574ccd9c0026a151a68fbfbf | 19fe366832ec04cbcdb79db799eb8088ced376ad | refs/heads/master | 2021-01-10T08:00:53.148408 | 2015-12-17T04:51:31 | 2015-12-17T04:51:31 | 48,152,937 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,509 | h | /*
*
* Confidential Information of Telekinesys Research Limited (t/a Havok). Not for disclosure or distribution without Havok's
* prior written consent. This software contains code, techniques and know-how which is confidential and proprietary to Havok.
* Product and Trade Secret source code contains trade secrets ... | [
"kurukuru.0844808@gmail.com"
] | kurukuru.0844808@gmail.com |
44c2dad4dfa8f29b436e59abb9f732b1e8f5d4b6 | 795bdc7c34f8bee6e1daac95a794be54255d8d2f | /IV_LIFAN_V2/driver/threadcpp.cpp | c856189ea2f987241943dba55504225f83bf7474 | [] | no_license | birdman1992/LIFAN | d9fa9ff4cfd7f8f555aaf201940300ef82cda060 | e8b67e6745ac6fbd694f6b0db4647fd916d6d334 | refs/heads/master | 2021-09-05T14:51:15.594152 | 2018-01-28T13:20:02 | 2018-01-28T13:20:02 | 119,244,988 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,247 | cpp | #include "thread.h"
#include <QDebug>
#include"lowlayer.h"
MuxTest myMuxTest;
QWaitCondition mycond;
QMutex myMutex;
QMutex myMutex_A;
lowlayer LowLayer;
unsigned char mode;
unsigned char brake_ist;
unsigned char gear;
int steering_angle;
short throttle;
CSimpleThread::CSimpleThread()
{
;
}
void CSimpleThrea... | [
"871727949@qq.com"
] | 871727949@qq.com |
f55e27a328382d47bc5291052aa524e8deb9c2e6 | 5d8cfc9825f84fa9cb7110b09adce4eaf8ffd52e | /multiboost/src/src/WeakLearners/UCBVHaarSingleStumpLearner.h | fcccf97502e2654ec890a7041b8bfb3e0792bac0 | [] | no_license | junjiek/cmu-exp | efa1535c2415b99627afb91bbd873e207f6380bc | 14e01603a9e1679bd3b43e4b627e6a55f5a42504 | refs/heads/master | 2021-01-25T08:37:16.206435 | 2015-08-15T19:45:29 | 2015-08-15T19:45:29 | 38,571,325 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,715 | h | /*
*
* MultiBoost - Multi-purpose boosting package
*
* Copyright (C) AppStat group
* Laboratoire de l'Accelerateur Lineaire
* Universite Paris-Sud, 11, CNRS
*
* This file is part of the MultiBoost library
*
* This library is free software; you... | [
"kjj3300@163.com"
] | kjj3300@163.com |
e1eae3e1e742adbc6c5830dcb636b88c8ac50612 | 66bd925056952f38da8046c353186e08ecf41f0d | /MyCode/bfs.cpp | a0c80ca0730d5b079374176e6e661a8b413a92c8 | [] | no_license | LeongHouHeng/ProgrammingOJ | 6b91e13b8cd72159f746c6a20fb37e5284c49f22 | 3af07a651f3c9f5d1cd992fe2794ea9c7d9d849f | refs/heads/master | 2021-01-10T16:55:14.273129 | 2016-04-24T05:06:39 | 2016-04-24T05:06:39 | 45,742,352 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 681 | cpp | #include <iostream>
#include <queue>
using namespace std;
struct Node{
int self;
Node *left;
Node *right;
Node(){left = NULL, right = NULL;};
};
int main(){
queue<Node*> visited, unvisited;
Node nodes[9];
Node *current;
unvisited.push(&nodes[0]); //put root
while(!unvis... | [
"leonghou2001@gmail.com"
] | leonghou2001@gmail.com |
a4b46f9f68d5a51d07cf8444e3511ab3f7354b28 | 6bf5b77e34b5564cd01a293f42cad47454cceed0 | /ljus/view/MustacheEngine.h | 36783f26d5fcfed824fae0bed9eec2d00c35dacc | [
"MIT",
"LicenseRef-scancode-public-domain",
"BSD-2-Clause"
] | permissive | joe-nano/ljus | 22b6b5ca007c515fd05b6f08f155bff9ad54e7db | a33d68cd2f9dcc4070a0342e033c979f0ae00247 | refs/heads/master | 2021-09-20T09:29:02.017184 | 2018-08-07T16:09:06 | 2018-08-07T16:09:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 646 | h | //
// Created by Erik A. Partridge on 7/6/18.
//
#ifndef LJUS_MUSTACHEENGINE_H
#define LJUS_MUSTACHEENGINE_H
#include "RenderingEngine.h"
#include "../../external/mustache.hpp"
#include <string>
namespace Ljus {
class MustacheEngine : public RenderingEngine<kainjow::mustache::data>{
std::string render(ka... | [
"erik.partridge@mail.mcgill.ca"
] | erik.partridge@mail.mcgill.ca |
bbfa17a2302550de67270a779d5a41077661903b | 6f3bbca0964dfd291180afcd464351dbf68d2d50 | /LeetCode/Source/canPartition_1.h | 595e3b81bbf57f336b4fd42d7a86f3ab22dd1af2 | [] | no_license | Git-HF/Algorithm-Notebook | 5017caa7e1dea93e85d7387ad4624cd07874f671 | 1ba801f705c6bb5536bf646e7b6bd28474833303 | refs/heads/master | 2022-12-01T15:49:20.263368 | 2020-08-20T13:20:14 | 2020-08-20T13:20:14 | 260,212,337 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,273 | h | // 自底向上的动态规划
class Solution {
public:
vector<vector<int>> dp;
bool canPartition(vector<int>& nums) {
int sum = 0;
for(int i = 0; i < nums.size(); ++i)
{
sum += nums[i];
}
if(sum % 2 == 1)
return false;
int target = sum / 2;
... | [
"1102627084@qq.com"
] | 1102627084@qq.com |
e12739f1490d974ff24fbe91d7114dc2d7749465 | 602cad438099e731f44a14abfa97e663da0ac489 | /CommunicationXLib/Common/source/CommunicationModel/VirtualCommandSet/Classes/Handle/HandleRegistration_VCS.cpp | c3fd29c80bdc03f35967015a0eaba697c1c668b9 | [] | no_license | RIVeR-Lab/eposcmd | 011e85f61d4a4f87c648e5dacd066652bb0c21b8 | 8be4584aa41510555018cda09e9882bd8db8c561 | refs/heads/master | 2021-01-16T18:29:31.351698 | 2014-12-05T19:49:59 | 2014-12-05T19:49:59 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,663 | cpp | // HandleRegistration_VCS.cpp: Implementierung der Klasse CHandleRegistration_VCS.
//
//////////////////////////////////////////////////////////////////////
#include "stdafx.h"
#include <stdio.h>
#include <algorithm>
#include "../VirtualDevices/BaseClasses/VirtualDeviceBase.h"
#include "../../../DeviceCommandS... | [
"velinddimitrov@gmail.com"
] | velinddimitrov@gmail.com |
180ba8266c5d767043ae1b32edbd4010ffda21de | bcc4dbd702a96c53540f45c85acc0d17c27bff9f | /src/GameLibrary/Exception/IllegalArgumentException.cpp | 6389d78b9676de142d3b5ee8792955c1e96ef778 | [] | no_license | ratalaika/MobileBrawler | d4e4e1e195fb5c229449d8a473154c4d96653ad2 | 4e0c1fd2c3276c9c6058f539f29ba823269bde1c | refs/heads/master | 2021-01-23T23:26:28.367462 | 2015-03-23T17:25:30 | 2015-03-23T17:25:35 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 649 | cpp |
#include "IllegalArgumentException.h"
namespace GameLibrary
{
IllegalArgumentException::IllegalArgumentException(const IllegalArgumentException&exception) : Exception(exception)
{
//
}
IllegalArgumentException::IllegalArgumentException(const String&arg, const String&reason) : Exception("argument " + arg + " fo... | [
"luisfinke@gmail.com"
] | luisfinke@gmail.com |
208363400aa688cd043879dcaeb9451430bcfc4e | 2536321de7f41da93f8e6efc6a404da1a236aaa0 | /MarioBros3/RedParatroopa.h | 84f3a3bc03f935f4eb429fcebdb51432668f4e39 | [] | no_license | thichuong/GameMariobros3 | f00a0af50deb6d3088e618e1dad918ad4e01d33b | 173112f619c432b3fb167d73a6ca3071b7302ce9 | refs/heads/main | 2023-02-20T15:22:23.832202 | 2021-01-23T06:49:29 | 2021-01-23T06:49:29 | 304,309,649 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 541 | h | #pragma once
#include "Paratroopa.h"
#define KOOPAS_RED_ANI_TROOPA "ani-red-koopa-paratroopa-fly"
#define KOOPAS_RED_RANGE 192.0f
#define KOOPAS_RED_VY 0.2f
class RedParatroopa :
public Paratroopa
{
float Range;
float tempy;
public:
virtual void Update(DWORD dt, vector<LPGAMEOBJECT>* coObjects);
virtual void... | [
"18520539@ms.uit.edu.vn"
] | 18520539@ms.uit.edu.vn |
81806046add4a2202f956f889649550ab5a4295c | 02cce42679a5f3775e7135d3ab81b06ef5f1a024 | /Pendergrast_Robert_programming_project_2.cpp | 9c3cad6fad2a092753fc34077c853130a0f8f88a | [] | no_license | PendergrastRobert/CS116A | 8c24c4241a73cfb805fe375f2018c9412fbac1b0 | 904878af435390c6ea5ca410c16fb243e5a57807 | refs/heads/master | 2021-06-26T07:05:35.749305 | 2017-09-14T01:31:28 | 2017-09-14T01:31:28 | 103,470,171 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,056 | cpp | #include <iostream>
#include <stdlib.h>
#include <stdio.h>
#include <math.h>
#include <GL/gl.h>
#include <GL/glu.h>
#include <GL/glut.h>
//Robert Pendergrast
float X_AXIS=0.0f;
float Z_AXIS=-1.0f;
float Y_AXIS=0.0f;
float x=-1.0f;
float z=1.0f;
float VIEW_ANGLE=0.0f;
float HEIGHT=1.0f;
int ROWS=100;
int COLUMNS=100... | [
"noreply@github.com"
] | PendergrastRobert.noreply@github.com |
c549ec52c91b91d289b47c3698a8e7c0d0baeb52 | c3782a52da4479a5ca3d0131cbacd3ff23cea572 | /POJ/1019.cpp | 565f067c6842c52463ff49bc87c550b3b9876cb5 | [] | no_license | misclicked/Codes | 5def6d488bfd028d415f3dc6f18ff6d904226e6f | 1aa53cf585abf0eed1a47e0a95d894d34942e3b1 | refs/heads/master | 2021-07-16T00:28:05.717259 | 2020-05-25T06:20:37 | 2020-05-25T06:20:37 | 142,436,632 | 6 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 963 | cpp | #include <iostream>
#include <vector>
#include <algorithm>
using namespace std;
typedef long long ll;
vector<ll> table;
vector<ll> table2;
#define MAX 2247483647
inline int dig(ll n)
{
int ret = 0;
while (n)
{
ret++;
n /= 10;
}
return ret;
}
void addDig(ll i)
{
if (!i)
re... | [
"lspss92189@gmail.com"
] | lspss92189@gmail.com |
4d9c3b258ffb219bf83a2984b29b78337c0c0a0e | 39eae5cc024b6631a3a77853afed6983d8af31fe | /mix/workspace_vs/YY_WJX/CContact/CContact.h | f855ea0630cf3af61f06de7c111d990acc000944 | [] | no_license | SniperXiaoJun/mix-src | cd83fb5fedf99b0736dd3a5a7e24e86ab49c4c3b | 4d05804fd03894fa7859b4837c50b3891fc45619 | refs/heads/master | 2020-03-30T06:21:14.855395 | 2018-09-28T03:32:55 | 2018-09-28T03:32:55 | 150,854,539 | 1 | 0 | null | 2018-09-29T10:44:41 | 2018-09-29T10:44:41 | null | UTF-8 | C++ | false | false | 349 | h | #ifndef CCONTACT_H
#define CCONTACT_H
#include <QtGui/QMainWindow>
#include "ui_CContact.h"
class CContact : public QMainWindow
{
Q_OBJECT
public:
CContact(QWidget *parent = 0, Qt::WFlags flags = 0);
~CContact();
public slots:
void SlotFind(const QString str);
private:
Ui::CContactClass ui;
... | [
"244540499@qq.com"
] | 244540499@qq.com |
254d03679bd0c442ad2a8c33345688b4bd4ce44b | f786209eec7afd96da1e6d17ab70a2a1a5600060 | /dependence/cocos2d-x-3.0beta2/cocos/gui/UITextField.cpp | c46329300628f7d94979ad6d3587db0654137a01 | [] | no_license | pcjbird/MUIEditor | 47a1125c1d43301ff40b061af74b47b2a0114c3c | 27faa531fb6b952a7139229e4da3b109a42733d2 | refs/heads/master | 2021-01-20T13:47:38.343165 | 2014-07-09T05:21:21 | 2014-07-09T05:21:21 | 17,281,030 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,588 | cpp | /****************************************************************************
Copyright (c) 2013-2014 Chukong Technologies Inc.
http://www.cocos2d-x.org
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Sof... | [
"pcjbird@hotmail.com"
] | pcjbird@hotmail.com |
c5a253927d5e19fc22d25d16a9d59bf23a89b8d3 | e9c02bb0df7ad3a928cf7c97b8294451eaa8dbc8 | /graph-source-code/296-D/3516460.cpp | 9836c286cfbe3e6973e2e63e3ff67dc213f5eed3 | [
"MIT"
] | permissive | AmrARaouf/algorithm-detection | b157a534545fa8920bbe94e7307d4b937a74aa60 | 59f3028d2298804870b32729415d71eec6116557 | refs/heads/master | 2021-01-13T14:37:04.074339 | 2015-12-06T21:14:31 | 2015-12-06T21:14:31 | 45,905,817 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,619 | cpp | //Language: GNU C++
#include<stdio.h>
#include<string.h>
#define ll __int64
#define min(x,y) ((x)<(y)?(x):(y))
const int maxn = 1111 ;
int num[maxn] , vis[maxn] ;
ll l[maxn][maxn] , sum[maxn] ;
ll a[maxn][maxn] ;
int main ()
{
int n , i , j , k ;
scanf ( "%d" , &n ) ;
for ( i = 1 ; i <= n ; i ++ )
... | [
"amr.abdelraouf93@gmail.com"
] | amr.abdelraouf93@gmail.com |
14c05e486a755c49e587eb1aef879038a48c4feb | 2489f20116dfa10e4514b636cbf92a6036edc21a | /tojcode/3206.cpp | 96a41005cdc60df7b5928c11b38b6d2c0b24b8b8 | [] | no_license | menguan/toj_code | 7db20eaffce976932a3bc8880287f0111a621a40 | f41bd77ee333c58d5fcb26d1848a101c311d1790 | refs/heads/master | 2020-03-25T04:08:41.881068 | 2018-08-03T05:02:38 | 2018-08-03T05:02:38 | 143,379,558 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 360 | cpp | #include<iostream>
using namespace std;
int main()
{
int sum[400];
int price[10];
int n;
int c;
for(int i=0;i<400;i++)
sum[i]=0;
sum[0]=1;
cin>>n>>c;
for(int i=0;i<c;i++)
cin>>price[i];
for(int i=0;i<c;i++)
{
for(int j=0;j+price[i]<=n;j++)
{
sum[j+price[i]]+=sum[j];
}
}
c... | [
"qq1812755792@sina.com"
] | qq1812755792@sina.com |
2478fc12ea41cb4b3a1719fa9706a6b3edb23b2c | a55cd27ed328c3ceaf5f54325e31088fdef42c09 | /files/include/actor/actormultistate.h | 5738d15abda06985da2b116c7b3b651ff2c399de | [] | no_license | aboood40091/NSMBU-haxx | e8762fab7d703956cc642623cbc4a86fd4d3fca5 | 63a0eda0fae9ad741491452927f57dd33a37acd5 | refs/heads/master | 2023-06-11T20:41:01.232252 | 2023-06-03T07:36:48 | 2023-06-03T07:36:48 | 184,704,040 | 145 | 6 | null | 2021-08-04T19:03:49 | 2019-05-03T05:38:06 | C++ | UTF-8 | C++ | false | false | 478 | h | #pragma once
#include "actorcollision.h"
#include "states.h"
class ActorMultiState : public ActorCollision
{
SEAD_RTTI_OVERRIDE(ActorMultiState, ActorCollision)
public:
ActorMultiState(const ActorBuildInfo* buildInfo);
virtual ~ActorMultiState() { }
virtual void doStateChange(StateBase* state)
{... | [
"aboood40091@gmail.com"
] | aboood40091@gmail.com |
f8f0992c26dc14fe2d232a58155548e1267ecc5f | 7045bb4f95ada6e1669a3cd9520681b7e548c319 | /Meijer/Platform-Core-Patch/Remote Console Manager/src/state-machine/actions/GotoActionBase.h | 207c12820353b94e0462b3a5343d14975015b031 | [] | no_license | co185057/MeijerTESTSVN | 0ffe207db43c8e881fdbad66c1c058e25fe451f5 | 3a3df97b2decc1a04e6efe7c8ab74eff5409f39f | refs/heads/master | 2023-05-30T00:19:36.524059 | 2021-06-10T08:41:31 | 2021-06-10T08:41:31 | 375,576,064 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,098 | h | #pragma once
// $Header: /Integration_Customer/Meijer/CURRENT_DEV/Platform-Patch/Remote Console Manager/src/state-machine/actions/GotoActionBase.h 1 6/20/08 1:11p Sa250050 $
/*
* @(#)GotoActionBase.h $Revision: 1 $ $Date: 6/20/08 1:11p $
*
* Copyright 2004 by NCR Corporation,
*
* All rights reserved.... | [
"co185057@ncr.com"
] | co185057@ncr.com |
64b64e5b8352555ecfcb181ede733fdbf97820d9 | f31788a859a346683deef13d98c45d0942c58f68 | /cyPoint.h | 311671c83fd7601406d0ca9b1e64027865060a8d | [] | no_license | Vendorf/cs6610 | 1cef20807883f889624b10665f10b9b80c124868 | 601f2198499773b3c9da55b14c049b675c5edef3 | refs/heads/master | 2022-01-27T06:11:36.631411 | 2017-02-08T05:35:13 | 2017-02-08T05:35:29 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 32,335 | h | // cyCodeBase by Cem Yuksel
// [www.cemyuksel.com]
//-------------------------------------------------------------------------------
//! \file cyPoint.h
//! \author Cem Yuksel
//!
//! \brief 2D, 3D, 4D, and ND point classes.
//!
//-------------------------------------------------------------------------------
//
... | [
"nick.utsav2345@gmail.com"
] | nick.utsav2345@gmail.com |
5be9c20f92e0ed04dc61a011873165aa58df71e6 | 2c3d596da726a64759c6c27d131c87c33a4e0bf4 | /Src/VC/bcgcbpro/BCGPRibbonSlider.cpp | e062698ad0cc4c7ee6f8e5f41cc840dbac265a0d | [
"MIT"
] | permissive | iclosure/smartsoft | 8edd8e5471d0e51b81fc1f6c09239cd8722000c0 | 62eaed49efd8306642b928ef4f2d96e36aca6527 | refs/heads/master | 2021-09-03T01:11:29.778290 | 2018-01-04T12:09:25 | 2018-01-04T12:09:25 | 116,255,998 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 16,119 | cpp | //*******************************************************************************
// COPYRIGHT NOTES
// ---------------
// This is a part of BCGControlBar Library Professional Edition
// Copyright (C) 1998-2012 BCGSoft Ltd.
// All rights reserved.
//
// This source code can be used, distributed or modified
// only unde... | [
"iclosure@163.com"
] | iclosure@163.com |
f0f2229a5f5f89f515326e9b58ff99dc025e4a23 | c74154060d9a3497a31165b316bc1da7ceff7a29 | /landmark-alignment/src/include/settings.h | a7562a616ef49c9a06e00512e2369ce225460a5b | [
"MIT"
] | permissive | m2ci-msp/mri-shape-tools | d97c7b3fd7dbd29b9e270f9c7cc3ae18434a033d | b0dbc086885b6cb43794eb028c7eb6c143cd7606 | refs/heads/master | 2021-03-16T06:05:15.534570 | 2019-04-28T10:10:32 | 2019-04-28T10:10:32 | 91,570,596 | 1 | 4 | MIT | 2019-04-28T10:10:32 | 2017-05-17T11:50:11 | C++ | UTF-8 | C++ | false | false | 1,327 | h | #ifndef __SETTINGS_H__
#define __SETTINGS_H__
#include "flags/FlagSingle.h"
#include "flags/FlagList.h"
#include "flags/FlagNone.h"
#include "flags/FlagsParser.h"
#include <string>
class Settings {
public:
bool noScaling = false;
bool noRotation = false;
bool noTranslation = false;
std::string s... | [
"hewer@coli.uni-saarland.de"
] | hewer@coli.uni-saarland.de |
5fb75c0bd0aa4c26a9bbcc02e801cfc5f336ca8b | 70779f5f796cd2856093442af66b6f6d711f7c5a | /MyApplication_1/generated/fonts/src/Font_ipaexg_18_4bpp_0.cpp | e110e7cd52e6162c3d27b46634bc441c3937c603 | [] | no_license | steve22184/TouchGFX | 97f213af0cd82a299d100b5f19771763155c5db9 | 6d778b6cd4b351d90bdbf6b7f0e50c6ad6f43a22 | refs/heads/master | 2022-11-13T02:54:55.167309 | 2020-07-08T03:55:09 | 2020-07-08T03:55:09 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,824 | cpp | #include <touchgfx/hal/Types.hpp>
FONT_GLYPH_LOCATION_FLASH_PRAGMA
KEEP extern const uint8_t unicodes_ipaexg_18_4bpp_0[] FONT_GLYPH_LOCATION_FLASH_ATTRIBUTE =
{
// Unicode: [0x0046, aj39]
0xF4, 0xFF, 0xFF, 0xFF, 0x0B, 0xF4, 0x7A, 0x77, 0x77, 0x05, 0xF4, 0x04, 0x00, 0x00, 0x00, 0xF4,
0x04, 0x00, 0x00, 0x00,... | [
"jwyeyo@naver.com"
] | jwyeyo@naver.com |
2e8012677f52f51583c27c090aaf984b7a96c745 | fb4536eedbc3c423a52661e088a950c7f7e6ac4f | /shared/xp_critical_section.h | 4c7bfb7d74b808821e60454791151ca191ea025e | [] | no_license | JeffMcClintock/modules | 7ffdd4cb4170dafb0e88b521192649d3ed3b44d3 | ce4d6858c01140b34954d33c4a6e7bbae5713dde | refs/heads/master | 2021-01-19T21:29:47.217666 | 2020-02-20T04:23:33 | 2020-02-20T04:23:33 | 41,007,867 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,533 | h | #ifndef GMPI_CriticalSection_h_INCLUDED
#define GMPI_CriticalSection_h_INCLUDED
/*
#include "../shared/xp_critical_section.h"
*/
// c++11?
#if __cplusplus >= 199711L && !defined(__llvm__) // llvm does not seem to support <mutex> on Mac Pluginbundle
#define GMPI_USE_STD_LIBRARY_THREADS
#endif
#ifdef GMPI_USE_STD_LIBRA... | [
"jmcclintock@inmusicbrands.com"
] | jmcclintock@inmusicbrands.com |
e7f468bb3f34303f92fae444637331d0143bd544 | ba60a37d3d480d8494056c956d8e8451c78500d7 | /Asteroids/Game/Engine/Objects/SimpleWireframeObject.cpp | 6c1e3473d1cb54db6b4684d4c97bf3d5f45962e2 | [] | no_license | KatekovAnton/Asteroids | d49a9764b01c94eb26acd671c52024b267f97776 | 22d678fdcdd5d207d626bbeefb371e0943ccc379 | refs/heads/master | 2021-01-25T08:54:36.495110 | 2013-10-07T16:21:11 | 2013-10-07T16:21:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 918 | cpp | //
// SimpleWireframeObject.cpp
// Asteroids
//
// Created by Anton Katekov on 18.09.13.
// Copyright (c) 2013 KatekovAnton. All rights reserved.
//
#include "SimpleWireframeObject.h"
#include "PivotObject.h"
#include "RenderObject.h"
#include "Shader.h"
SimpleWireframeObject::SimpleWireframeObject(RenderObject *... | [
"void0main@gmail.com"
] | void0main@gmail.com |
fcfee6ec1fa466fcf566850b82da7b6f2e2f8a51 | dadaafe0ba522da854280698668fbb4b6d103e2f | /Mirrors & Shadows Source/Sphere.h | 52d9827307a3a9ac964b845f0df1194798ab2492 | [] | no_license | McBainC/Portfolio | 6fa77f173029bb30b86607f70df23714cff18f12 | f0376c7831e27cbf3710ad18c7accf669f919e4d | refs/heads/master | 2021-01-19T16:32:59.156219 | 2015-06-07T17:21:03 | 2015-06-07T17:21:03 | 22,687,532 | 2 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,560 | h | #pragma once
#include "primitives.h"
#include <process.h>
#include <stdlib.h>
#include <time.h>
#include <vector>
#include <string>
#include <sys/types.h>
#include <sys/timeb.h>
using namespace std;
/*
=====================================================
SphereSegment
Struct for a thread to generate a segment ... | [
"mcbain_c@msn.com"
] | mcbain_c@msn.com |
23c91b9fd98ac9122a15ab24e8d5996b646ee9b2 | b734484f94e11687a51871bbb8d0901d1bbd790b | /packages/perspective/src/cpp/raii.cpp | d982c9b0e543c13dddc04df30269ddfa2a13e05c | [
"Apache-2.0"
] | permissive | segarman/perspective | c0f323d648e6130f6637ca976564ac15cc392cda | f2bb0c71d3a16dadd052cd9c269f551df339cf7e | refs/heads/master | 2020-03-23T05:32:45.108048 | 2018-07-15T02:06:27 | 2018-07-15T02:06:27 | 141,150,340 | 0 | 0 | Apache-2.0 | 2018-07-16T14:29:45 | 2018-07-16T14:29:44 | null | UTF-8 | C++ | false | false | 1,113 | cpp | /******************************************************************************
*
* Copyright (c) 2017, the Perspective Authors.
*
* This file is part of the Perspective library, distributed under the terms of
* the Apache License 2.0. The full license can be found in the LICENSE file.
*
*/
#include <perspecti... | [
"steinlink@gmail.com"
] | steinlink@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.