blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 3 264 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 5 140 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 905
values | visit_date timestamp[us]date 2015-08-09 11:21:18 2023-09-06 10:45:07 | revision_date timestamp[us]date 1997-09-14 05:04:47 2023-09-17 19:19:19 | committer_date timestamp[us]date 1997-09-14 05:04:47 2023-09-06 06:22:19 | github_id int64 3.89k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 22
values | gha_event_created_at timestamp[us]date 2012-06-07 00:51:45 2023-09-14 21:58:39 ⌀ | gha_created_at timestamp[us]date 2008-03-27 23:40:48 2023-08-21 23:17:38 ⌀ | gha_language stringclasses 141
values | src_encoding stringclasses 34
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 3 10.4M | extension stringclasses 115
values | content stringlengths 3 10.4M | authors listlengths 1 1 | author_id stringlengths 0 158 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0fddefab932578a3baeb20e42d2370a1bac9d682 | 8b5e7c2854128c3ab9c384de6326c3f8a238a436 | /main.cpp | 5f9846b95132f3d6d9e73a55d36082c1a1a6e940 | [] | no_license | KritiHedau/Tic-Tac-Toe-Game | 69026fafa15dad6baebc337fcc564ba026246a6e | 4babd2a78512acd33f52f48b449235092321fe50 | refs/heads/master | 2022-11-13T10:40:47.453797 | 2020-06-22T05:01:15 | 2020-06-22T05:01:15 | 274,043,162 | 0 | 0 | null | 2020-06-22T05:01:17 | 2020-06-22T04:55:33 | null | UTF-8 | C++ | false | false | 525 | cpp | #include"TicTacToeGame.h"
#include<iostream>
#include<stdlib.h>
using namespace std;
int main() {
//system("color 02");
system("color 06");
char input;
bool isDone = false;
TicTacToeGame game;
cout << "\t\t\t Welcome to TicTacToe Game!!!\n";
cout << "\t\t ---------------------------------------------";
w... | [
"kriti.hedau@gmail.com"
] | kriti.hedau@gmail.com |
1573db04d4e2bfd2149bade6919b3f48a52685fa | 084c5471c079249a6710d1ee88b23e11a016f68d | /AIE_Raylib_BinaryTreeVis/BinaryTree.cpp | 025afef21d2467311f8853755aa95f1479b9b2e0 | [] | no_license | craigjlovell/CoDesigneAndDataStructureMain | 3b0d9ea98978aee234a43d1b164a1b1938c1d5c4 | 1ec3b3ce3ada6c5a9812d589b63e85fb01790456 | refs/heads/main | 2023-05-29T03:14:53.301872 | 2021-06-21T03:29:29 | 2021-06-21T03:29:29 | 374,824,283 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,792 | cpp |
#include "BinaryTree.h"
#include "TreeNode.h"
#include "raylib.h"
#include <iostream>
#include <cstdlib>
BinaryTree::BinaryTree()
{
m_pRoot = nullptr;
}
BinaryTree::~BinaryTree()
{
while(m_pRoot)
{
Remove(m_pRoot->GetData());
}
}
// Return whether the tree is empty
bool BinaryTree::IsEmpty() const
{
r... | [
"s171627@students.aie.edu.au"
] | s171627@students.aie.edu.au |
c9762b7d970900a02395ffa2994a01727c6d1da5 | 67def4ea301e12303e29803f740499bcb23a9efa | /chp2/ourfunc1.cpp | 336d30c4f1b38517f2283f7957b4b599d4786dc4 | [] | no_license | gaussic/cpp_primer_plus | 05b8deb5b972a7e57b7491107c90a742a0b08218 | 4f66423c9f9972cd770776a991a09f5a666c5dba | refs/heads/master | 2020-04-02T14:11:23.106046 | 2018-11-12T15:18:40 | 2018-11-12T15:18:40 | 154,514,437 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 441 | cpp | // ourfunc.cpp -- repositioning the using directive
#include <iostream>
using namespace std; // affects all function definitions in this file
void simon(int);
int main()
{
simon(3);
cout << "Pick an integer: ";
int count;
cin >> count;
simon(count);
cout << "Done... | [
"dzkangshu@hotmail.com"
] | dzkangshu@hotmail.com |
05064ad1ee2ba45e8910a849884748ebf4b5ec8d | d15d1b88ad43ca41e576422a5a85f13a0935f5ab | /MatchResolver.h | 8e2612553dcbacbb7bc264ca01fdeaefaf7a568a | [] | no_license | hGriff0n/ADoT | 9866422718f95ec11dc892ca0ef3b38122ac32b8 | 1606eaf393361f0760714d28b1bf37755ceaabef | refs/heads/master | 2020-03-28T06:46:17.153351 | 2016-08-19T19:33:51 | 2016-08-19T19:33:51 | 62,464,666 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,075 | h | #pragma once
#pragma warning (disable:4814) // Disable the c++14 warning about "constexpr not implying const"
#include "MatchBuilder.h"
namespace shl {
/*
* Handles at-site resolution of a match object (ie. evaluation at construction, can't pass around)
*
* NOTE: MatchResolver's pattern **must** end with a ... | [
"ghooper96@gmail.com"
] | ghooper96@gmail.com |
4fd649b75d95621ba73934be510c610ed64a5fec | 3dac24f1d67af238db2391aff26e5c789298e8d0 | /problem solving Website Problems/2021_codeforces/spyproblem.cpp | b713ca399e7b96795e406d78de7bcb01cb71cb0b | [] | no_license | Abdel-rhman1/ProblemSolving | 851c217ce71e3d9f27a011db037857ec52bec435 | 46ae10f995e730e4f46c11ceacaa139487371f8f | refs/heads/master | 2023-04-25T11:16:44.409087 | 2021-04-19T19:31:56 | 2021-04-19T19:31:56 | 335,609,257 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,005 | cpp | #include<iostream>
#include<vector>
using namespace std;
int main(){
int n=0,n2=0;
cin>>n;
vector<int>res(n);
int number = 0;
while(n--){
cin>>n2;
vector<int>element(n2);
int arr[4];
int firselement =0;
cin>>firselement;
arr[0] = firselement;
e... | [
"yousef777906@gmail.com"
] | yousef777906@gmail.com |
464c5f98927ad9da1c9956c63e52adf2b83b45e4 | d271f87a92846aec3cf7181b9238096d56183b9f | /src/caffe/layers/accuracy_layer.cpp | b335e3749f692fb804df6b655ffce05106f53a69 | [] | no_license | paengs/caffe-paeng | 051aa16855a1c5b148b9649d4c9b9424ea404380 | bf9a19546b4e968b737b9529f859b00bfc4b720f | refs/heads/master | 2020-04-09T15:20:33.588721 | 2015-12-09T13:13:16 | 2015-12-09T13:13:16 | 42,241,979 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,669 | cpp | #include <algorithm>
#include <functional>
#include <utility>
#include <vector>
#include "caffe/layer.hpp"
#include "caffe/util/io.hpp"
#include "caffe/util/math_functions.hpp"
#include "caffe/vision_layers.hpp"
namespace caffe {
template <typename Dtype>
void AccuracyLayer<Dtype>::LayerSetUp(
const vector<Blob<Dt... | [
"khpaeng@kaist.ac.kr"
] | khpaeng@kaist.ac.kr |
81edcc0cdd18edf1f0c06d6468cc144e59baf311 | e44d34c6cf24adaf7003d85414157106e06fec4e | /hw2/Sphere.cpp | f74babac3a934a584e1ce91c2e185208416890b5 | [] | no_license | vanstee/405 | fc7ccee47e8e5b4ce8ed257e711f84efb76223ec | 0016018b8edb9fc3980781d2f00b9443c54a84d6 | refs/heads/master | 2020-06-05T12:57:04.397335 | 2011-04-27T20:15:17 | 2011-04-27T20:15:17 | 1,290,376 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 836 | cpp | // This is just a class to split up some of the hit logic
#include "Sphere.h"
using namespace std;
Sphere::Sphere(double x, double y, double z, double radius, string color):
x(x), y(y), z(z), radius(radius), color(color) {}
Sphere::~Sphere() {}
// returns the distance from the sphere to the perspective pixel if t... | [
"patrickvanstee@gmail.com"
] | patrickvanstee@gmail.com |
a3eb8daf0efb2b8663f7f874b10f2c547e1854f1 | c4d1207ea83051df3d8756e3be6ea7ced95f1e30 | /src/core/cuda_helper.cpp | 1fb3d5fa8c80c3ee1e93323b738ab7e1235253e5 | [
"BSD-3-Clause"
] | permissive | xulizhi321/deepflow | 5129b3baeeb94eb34b317c787475fea70639ce38 | f38190ca54047aba21abdcadd1fac776dd595053 | refs/heads/master | 2020-05-01T10:36:36.061528 | 2018-05-11T13:09:05 | 2018-05-11T13:09:05 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,432 | cpp | #pragma once
#include "core/cuda_helper.h"
/*
std::string CudaHelper::cudaStatusToString(cudnnStatus_t status) {
switch (status) {
case CUDNN_STATUS_SUCCESS:
return "CUDNN_STATUS_SUCCESS";
case CUDNN_STATUS_NOT_INITIALIZED:
return "CUDNN_STATUS_NOT_INITIALIZED";
case CUDNN_STATUS_ALLOC_FAILED:
return "CUDN... | [
"omid.sakhi@gmail.com"
] | omid.sakhi@gmail.com |
326c852349de29cafb273b745be8062db5db041b | 46ed3890867b1e7daa73af821e87682a28777c1e | /kulloclient/util/masterkey.h | 079705bbde25da91c85e2fe2f487b24c55cef7c0 | [] | no_license | yangteng2013/client-libkullo | c10810f962f9d9e127bf1a59f26ed4e74b182953 | a8b9542fa650d5128209a49ffa445a045aa1d693 | refs/heads/master | 2021-06-17T17:10:51.234185 | 2017-06-09T10:47:41 | 2017-06-09T10:47:41 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,490 | h | /* Copyright 2013–2017 Kullo GmbH. All rights reserved. */
#pragma once
#include <cstdint>
#include <string>
#include <vector>
namespace Kullo {
namespace Util {
class MasterKey
{
public:
explicit MasterKey(const std::string &pemKey);
explicit MasterKey(
const std::vector<std::string> &dataBlocks... | [
"simon@kullo.net"
] | simon@kullo.net |
4943982e9df0a9b6828572d3ad144b07a345c611 | 948743ef390e03b683354ff8a6fbdc41a6ae4c4a | /.metadata/.plugins/org.eclipse.core.resources/.history/7d/d052e5742ca000161e7c860ca5ec1962 | 52ef949697338bec23acf06a0324f00507398cb1 | [] | no_license | HelloLondon/C--- | d63823cbfab844f5fc4707228e5d722fe7737046 | 0774bbfc4e8029446ff9f74262c95fe383cbab2e | refs/heads/master | 2021-01-13T14:13:09.160907 | 2016-11-03T15:08:07 | 2016-11-03T15:08:07 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 441 | //#include <iostream>
#include <strstream>
using namespace std;
class BinarySearchTree {
private :
int root;
BinarySearchTree *leftTree;
BinarySearchTree *rightTree;
public:
BinarySearchTree(int root): root(root), leftTree(NULL), rightTree(NULL){};
~BinarySearchTree(){
if(leftTree!=NULL){
delete leftTree;
... | [
"979579683@qq.com"
] | 979579683@qq.com | |
e94cc7ed0462be45c79203db3e46b4684db1af15 | 2e1737bea645aacb1efa835ea8d682392a2711e4 | /iOSSocketClient/boost/asio/detail/impl/win_iocp_socket_service_base.ipp | 96a94e09ed5964ceb069b4457dc197c2a2ed2cbc | [] | no_license | w747351274/ChatServer | 3acf579bbebf6471327d599bf263afe2b5cd678c | b7dec568c9dfc60b5bb1446efbc3ded6ad2f1ba6 | refs/heads/master | 2020-03-31T17:50:57.408048 | 2019-10-25T01:09:17 | 2019-10-25T01:09:17 | 152,436,301 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 26,041 | ipp | //
// detail/impl/win_iocp_socket_service_base.ipp
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
//
// Copyright (c) 2003-2018 Christopher M. Kohlhoff (chris at kohlhoff dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boo... | [
"747351274@qq.com"
] | 747351274@qq.com |
5fe1454eeff89db86042ed7ab7d4d8ea33dbb740 | 94a6f7ff5d66a433b31a437dc1c44c135d27ac99 | /Game/src/GUI/CreditsMenu.h | 77a9e31a788bc35a3cc0d1c1edd830beb5d6d463 | [] | no_license | k-domanski/Sklejka | eefdd9d189215af3755f98a6b1939e6e37893549 | 495032feaa66abb2d746f77cba6f1c91bccfcd3a | refs/heads/main | 2023-06-06T06:23:49.852112 | 2021-06-18T21:37:23 | 2021-06-18T21:37:23 | 350,098,140 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 490 | h | #pragma once
#include <memory>
namespace Engine {
class Scene;
}
namespace Engine {
namespace Renderer {
class Button;
class Image;
} // namespace Renderer
} // namespace Engine
class CreditsMenu {
public:
CreditsMenu();
~CreditsMenu() = default;
auto Scene() -> std::shared_ptr< Engine::Scene >... | [
"linearjester@gmail.com"
] | linearjester@gmail.com |
0d69c08c79182cbb7e295aafcc29608ef8d93753 | 6d63f9f61e073e256391536e5e74e9fbefc4fe9b | /semester1/hw4/task1/4.1.cpp | e163883d2d5413f282b9c3997c81470d4195a6d9 | [] | no_license | AlaevD/homeworks | 8d408128568a0f8a61976d92c82d57c10e80a5bf | dfaeaa6edd58f56f44a4fcf4e0e109986aabb600 | refs/heads/master | 2020-12-24T06:38:00.065504 | 2017-06-01T11:44:53 | 2017-06-01T11:44:53 | 73,467,491 | 0 | 2 | null | 2017-06-01T11:44:54 | 2016-11-11T10:14:13 | Java | UTF-8 | C++ | false | false | 1,697 | cpp | #include <iostream>
using namespace std;
int **declareArray(int arraySize)
{
int **a = new int*[arraySize];
for (int i = 0; i < arraySize; i++)
{
a[i] = new int[arraySize];
}
return a;
}
void readArray(int **a, int arraySize)
{
cout << "Enter array elements" << '\n';
for (int i = 0; i < arraySize; i++)
{
... | [
"disaalaev@gmail.com"
] | disaalaev@gmail.com |
ed6ef1748270d738407556bc44d761d3ce70d087 | e20c090c7f62208e8874869f6e2066823231dffa | /src/fizzBuzzLib/src/fizzBuzz.cpp | 93cf666fc37a4abe6d91057a5b505028e927b2e2 | [] | no_license | Hyralc/FizzBuzz | fb8933dffb8e9e7a64fb648674c7c7f2600f215e | 1a684eaea1fd669e2f7dbb7e343d0ba8432a0989 | refs/heads/master | 2021-04-23T19:53:36.531556 | 2020-07-16T15:38:10 | 2020-07-16T15:38:10 | 249,988,375 | 0 | 1 | null | 2020-12-02T16:12:10 | 2020-03-25T13:39:15 | CMake | UTF-8 | C++ | false | false | 316 | cpp | #include "fizzBuzz.h"
fizzBuzz::fizzBuzz(int n) : in(n), str("") {}
fizzBuzz::~fizzBuzz() {}
int fizzBuzz::getResultInt()
{
return in;
}
string fizzBuzz::getResultString()
{
if (in % 3 == 0 && in % 5 == 0)
return "FizzBuzz";
if (in % 3 == 0)
return "Fizz";
if (in % 5 == 0)
return "Buzz";
return "";
} | [
"guillaume.pierre@rte-france.com"
] | guillaume.pierre@rte-france.com |
9f0d19213d82f47c930d8001ec34cc5fae69a65c | 4f9df17a40f599ceb1b320e25d66405d89dfecf7 | /ModelViewKalc/Kalc/hsl.cpp | 3d110555d1847a97540fea8a4812f5adf9cc2fe7 | [] | no_license | sgt390/progettoP2Kalc | fed549a692bafa3b43a44b456eda25a260d04c24 | bed997331909d8e3893b394606d427812f8066b2 | refs/heads/master | 2021-05-04T23:21:32.837123 | 2018-02-04T00:13:48 | 2018-02-04T00:13:48 | 120,141,499 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,871 | cpp | #include "hsl.h"
#include<math.h>
HSL::HSL(int h, double s, double l, double t):Colore(t) ,hue(h), saturation(s), lightness(l)
{
if(hue<0 || hue>360 || saturation<0 || saturation>1 || lightness<0 || lightness>1){
hue=0;
saturation=0;
lightness=0;
throw eccezione_costruzione_colore();... | [
"35218358+sgt390@users.noreply.github.com"
] | 35218358+sgt390@users.noreply.github.com |
387b673a15d38e277d137553cb01be85b90a2107 | 2dc9ab0ec71fd31900173fb15a6f2c85753180c4 | /third_party/blink/renderer/core/page/scrolling/text_fragment_anchor_metrics.cc | 78a14814ced2ea2b3e17706f3cd56c8f9d738bc1 | [
"LGPL-2.0-or-later",
"LicenseRef-scancode-warranty-disclaimer",
"LGPL-2.1-only",
"GPL-1.0-or-later",
"GPL-2.0-only",
"LGPL-2.0-only",
"BSD-2-Clause",
"LicenseRef-scancode-other-copyleft",
"MIT",
"Apache-2.0",
"BSD-3-Clause"
] | permissive | Forilan/chromium | ec337c30d23c22d11fbdf814a40b9b4c26000d78 | 562b20b68672e7831054ec8f160d5f7ae940eae4 | refs/heads/master | 2023-02-28T02:43:17.744240 | 2020-05-12T02:23:44 | 2020-05-12T02:23:44 | 231,539,724 | 0 | 0 | BSD-3-Clause | 2020-05-12T02:23:45 | 2020-01-03T07:52:37 | null | UTF-8 | C++ | false | false | 4,721 | cc | // Copyright 2019 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 "third_party/blink/renderer/core/page/scrolling/text_fragment_anchor_metrics.h"
#include "base/check.h"
#include "base/metrics/histogram_macros.... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
0909009b002bd0362b28d7975cd71569490ec501 | 5cca1cd49d9dec3ca97d9115b717c3b54ca2a938 | /folly/executors/task_queue/PriorityLifoSemMPMCQueue.h | 6b046d62ecaa06d46eed399e521eefc6a8da8d39 | [
"MIT",
"Apache-2.0"
] | permissive | aliher1911/folly | 2951199ab814cbe0cf1a45fd80a4ca9760089d55 | 32711cc53888eec2083c72321b992365aa48daf1 | refs/heads/master | 2023-01-09T09:02:22.604486 | 2020-11-11T10:33:14 | 2020-11-11T10:33:14 | 274,255,631 | 0 | 0 | Apache-2.0 | 2020-06-22T22:31:34 | 2020-06-22T22:31:33 | null | UTF-8 | C++ | false | false | 3,557 | h | /*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* 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 applic... | [
"facebook-github-bot@users.noreply.github.com"
] | facebook-github-bot@users.noreply.github.com |
1fa9d58b26a412b13e1319f43e6b2ae878f26944 | b1f4fbc43afc61acf7566c4d2c7520919f4d8520 | /PACMAN_CUBERITE/src/keylist.hpp | edea6d59af2122f116d31df57d056bb9cdd14d29 | [] | no_license | MinecraftWorldEditor/MinecraftWorldEditor-1 | 725ab61906e5c272698cfd660679c6d0fccc3641 | a1657cc661a5bf60c3b7efcf72110be9dcf7fda9 | refs/heads/master | 2023-03-24T04:29:22.988312 | 2021-03-13T03:11:17 | 2021-03-13T03:11:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 19,577 | hpp | #ifndef KEYLIST_HPP
#define KEYLIST_HPP
//Macro name Code Key(s) Description
//
//#define 0-6 (7)
//name 8-22 (15)
//code 24-30 (7)
//key 38-58 (21)
//desc 60-end
//
/*
00000000001111111111222222222233333333334444444444555555555566666666667777777777
012345678901234567890... | [
"hakkatjakka66@gmail.com"
] | hakkatjakka66@gmail.com |
988449ec72552b62c162c6376b84f694b37d01c7 | ab38afefb1eafe430b670a3bae3dd6b63cf8dcce | /include/andromeda/Game/camera_component.h | 5767e6e2f4f65340763625c2d2fc2a0a4da6b08f | [] | no_license | SpiritualXTC/andromeda | 6fc07770701f507eac2056828ffd8d1346bc4a54 | d426830902dded1f0633079450921b26ef5a4382 | refs/heads/master | 2021-01-18T04:04:11.367580 | 2019-12-13T22:52:25 | 2019-12-13T22:52:25 | 36,509,398 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,416 | h | #ifndef _ANDROMEDA_GAME_CAMERA_COMPONENT_H_
#define _ANDROMEDA_GAME_CAMERA_COMPONENT_H_
#include <andromeda/Renderer/camera.h>
#include "component.h"
namespace andromeda
{
/*
For a later Experiment, that will allow a camera target to maintain its own camera
idenpendantly of its transform
Different Derived c... | [
"unforgiven2009@gmail.com"
] | unforgiven2009@gmail.com |
4a817946973eb4a440406f712a2e39b4194b90d4 | 6fd6b187e7c6b127eac72fa6e1152c16548e7db5 | /哨兵项目/MyImgProc.h | 8711f396c57f66cdd468692c9f072719270837fd | [] | no_license | Humrn/guard | 275303b54323660df54c4b048a56b2069b3abb90 | 5ac9206b36949a7c0dcaaefa825d3b76ec96d4e2 | refs/heads/master | 2021-04-29T00:58:09.452619 | 2018-02-17T09:11:40 | 2018-02-17T09:18:58 | 121,841,845 | 1 | 0 | null | null | null | null | GB18030 | C++ | false | false | 2,455 | h | #ifndef MYIMGPROC_H
#define MYIMGPROC_H
#include <iostream>
#include <opencv2/core/core.hpp>
#include <opencv2/imgproc/imgproc.hpp>
#include <opencv2/highgui/highgui.hpp>
#include <opencv2/opencv.hpp>
using namespace cv;
using namespace std;
class MyImgProc {
public:
//成员数据
Mat mSrc_img;
Mat binary_img;
//构造函数
M... | [
"Humrn090406@163.com"
] | Humrn090406@163.com |
e42298e3402ff0691d37f9d55077737f33b8281a | 724610f27be6f274347d097fedbabf7fef6e38b4 | /chap3/src/structtest.cpp | 20e2bea5458abee9c04429942e2cbf81e3ae8eab | [] | no_license | thawfeekyahya/C-_Primer | df05060497f61227c29c7e25bea62853644b5d45 | ed2ba853a42001c131f94ff58c78294a6ddba67f | refs/heads/master | 2022-06-08T10:37:46.542747 | 2020-05-03T20:03:05 | 2020-05-03T20:03:05 | 260,799,616 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 644 | cpp | #include "structtest.h"
#include <string>
#include <iostream>
StructTest::StructTest()
{
Test t;
t.member1 = 10;
t.member2 = "hello";
t.printRes();
varStrcut2.member1 = 30;
varStrcut2.member2 = "This is so cool";
varStrcut2.printRes();
testArray[0].member1 = 22;
testArray[0].mem... | [
"thoufiq.yahya@daimler.com"
] | thoufiq.yahya@daimler.com |
d1482ee57138d44661074ccd22d5f76c45e5fb06 | b681d51c754ee0732519972bed62855432ac6dee | /dp/P1028.cpp | 9eb21079711dded3222fd298e5539bd9dd533bef | [] | no_license | haidehenge/Cplusxunlian | 298b92ff0f14d5c9b015b1d56c4ad59ae9dc2e4b | dcf76c4dd6448c126806b4ce9ff31e9d984bda20 | refs/heads/master | 2023-04-05T19:20:21.752828 | 2021-05-04T09:00:38 | 2021-05-04T09:00:38 | 364,158,134 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 395 | cpp | #include <bits/stdc++.h>
using namespace std;
int a[10010] = { 0 };
int sol(int x)
{
int ans = 1;
if (a[x] != 0) {
return a[x];
}
int k = x / 2;
for (int i = 1; i <= k; i++) {
ans += sol(i);
}
return a[x] = ans;
}
int main()
{
int j;
a[1] = 1;
scanf("%d", &j);... | [
"1835026827@qq.com"
] | 1835026827@qq.com |
899130ddb891e1eda2d42f15a782d09671e817ff | 4f1b38c20e7e5ed7ad64b99e88a64147cfac1df7 | /main2.cpp | a4ee6472778d49cd5418f427e81cd7abbc8e4d11 | [] | no_license | zyfse/ctp-cpp-win64 | 79e8584f2521afb99b1a4c8e1e36a7e66d31e9b4 | 1871bceff0516ace0c7a6b497d98edd7aa6bedd3 | refs/heads/master | 2022-04-02T02:18:49.372561 | 2020-02-10T13:16:51 | 2020-02-10T13:16:51 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 20,769 | cpp | //#include "stdafx.h"
//#include "main.h"
//
//#pragma comment(lib,"thosttraderapi_se.dll")
//
//int main()
//{
//
//
// system("COLOR 0A");
// logfile = fopen("syslog.txt", "w");
//
// string g_chFrontaddr = getConfig("config", "FrontAddr");
// cout << "g_chFrontaddr = " << g_chFrontaddr << "\n" << endl;
// CTraderApi... | [
"1004283115@qq.com"
] | 1004283115@qq.com |
0878288aadeb019556034efbc797994dce7adde2 | 76aab74b58991e2cf8076d6b4ed6f4deba1c57bd | /GCJ/2021-Qual-A.cpp | 66a62cb7fd10f5eeb80b11b6198be9e72d95276a | [] | no_license | StudyingFather/my-code | 9c109660c16b18f9974d37a2a1d809db4d6ce50a | 8d02be445ac7affad58c2d71f3ef602f3d2801f6 | refs/heads/master | 2023-08-16T23:17:10.817659 | 2023-08-04T11:31:40 | 2023-08-04T11:31:40 | 149,898,152 | 6 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 855 | cpp | // Problem: Reversort
// Contest: Google Coding Competitions - Qualification Round 2021 - Code Jam
// 2021 URL:
// https://codingcompetitions.withgoogle.com/codejam/round/000000000043580a/00000000006d0a5c
// Memory Limit: 1024 MB
// Time Limit: 10000 ms
// Author: StudyingFather
//
// Powered by CP Editor (http... | [
"studyingfather@outlook.com"
] | studyingfather@outlook.com |
ad08ed2ef48db128b7e1bf31f81faa030050a47f | b77349e25b6154dae08820d92ac01601d4e761ee | /Chart/MSchartDemo/vccoor.h | c2d5c841f0fe138853ee1efbdda85a2841f8d4ae | [] | no_license | ShiverZm/MFC | e084c3460fe78f820ff1fec46fe1fc575c3e3538 | 3d05380d2e02b67269d2f0eb136a3ac3de0dbbab | refs/heads/master | 2023-02-21T08:57:39.316634 | 2021-01-26T10:18:38 | 2021-01-26T10:18:38 | 332,725,087 | 0 | 0 | null | 2021-01-25T11:35:20 | 2021-01-25T11:29:59 | null | UTF-8 | C++ | false | false | 1,169 | h | #if !defined(AFX_VCCOOR_H__25EEB1B2_D8AA_49D9_8985_D962633B699B__INCLUDED_)
#define AFX_VCCOOR_H__25EEB1B2_D8AA_49D9_8985_D962633B699B__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// Machine generated IDispatch wrapper class(es) created by Microsoft Visual C++
// NOTE: Do not modify the conte... | [
"w.z.y2006@163.com"
] | w.z.y2006@163.com |
b43ae6c04b93a7d8376a3bab4d5d1d05c8c07b9e | 756a4567256d4fefaedc14248038b19f5ff1e63a | /jmde/csurf/csurf_bcf2000.cpp | e05b7fd8b569231e5c56f72dbac812cf04837fde | [] | no_license | GeoffWaddington/ReaperCSurf | 3765723449025c055e592eaf265d9699781fcd88 | f49ec16fda7e34fcc17070cd53d48eacacee8796 | refs/heads/master | 2021-01-23T21:30:58.100907 | 2013-01-31T13:54:25 | 2013-01-31T13:54:25 | 7,825,853 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,545 | cpp | /*
** reaper_csurf
** BCFF2k support
** Copyright (C) 2006-2008 Cockos Incorporated
** License: LGPL.
*/
#include "csurf.h"
static bool g_csurf_mcpmode=false; // we may wish to allow an action to set this
static double charToVol(unsigned char val)
{
double pos=((double)val*1000.0)/127.0;
pos=SLID... | [
"justin@cockos.com"
] | justin@cockos.com |
5ea5b32f87ca86431a0c38a02030db1ffcc6068e | 2fbb10c4dee2bc4ef8f39f742655beb051c7f6ad | /src/analysis/pseries/null.cpp | e4899c10c9930e508213f6d980ea4d46ca471460 | [] | no_license | cjgillot/mycas | 9b493ab58e9fc198fbbd436e22bdd3bf5663fc10 | a12b325fb2c211881033524c83230f619c3f8d5a | refs/heads/master | 2021-01-22T09:32:11.415891 | 2012-08-03T01:30:08 | 2012-08-03T01:30:08 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 248 | cpp | #include "analysis/pseries/repr.hpp"
using namespace analysis;
bool pseries::null() const
{
return Bool_val( pseries_export_null( m_rep->m_value ) );
}
bool pseries::unit() const
{
return Bool_val( pseries_export_unit( m_rep->m_value ) );
}
| [
"k1000.jlo@wanadoo.fr"
] | k1000.jlo@wanadoo.fr |
cf07aa215b117706ee3f1a71af33d6a846ac9f77 | cbed91fe314a3ad6c1058953fb50176f66bc63c1 | /Opencv_template/Opencv_template/main.cpp | dd24d092666854d115b6531af28a9244125cbc11 | [] | no_license | Atsushi-Kobayashi/mic_programming_exercise | 716a8f3a6a2672631e89e7df77d9688fb9c05a66 | 6a692d6f310c519f60956bd4c363ac59d4075e6e | refs/heads/master | 2020-04-30T14:06:12.134966 | 2019-04-16T08:43:28 | 2019-04-16T08:43:28 | 176,879,407 | 0 | 1 | null | 2019-03-24T17:24:58 | 2019-03-21T05:57:42 | C++ | UTF-8 | C++ | false | false | 165 | cpp | #include <opencv2/opencv.hpp>
int main()
{
cv::Mat img = cv::imread("Lenna.bmp");
cv::imshow("imshow test", img);
cv::waitKey(0);
system("pause");
return 0;
} | [
"a.kobayashi.lab@gmail.com"
] | a.kobayashi.lab@gmail.com |
f3b5c2595e7b7fd1c38f2c80c2777b5392cc19c6 | 572c9859d07746ea3b109c7675dd68ee5b0f0f31 | /src/vidf/common/saltedarray.h | 6131c5960f1957786bd2fad0783afce4f3f59d88 | [
"MIT"
] | permissive | filami/vidf | ce13f447142406bb80d55657b732122c16c2a65c | f93498e7e29fb39e6624e6e13450d0f5dc37abb0 | refs/heads/master | 2021-01-18T23:12:56.508550 | 2020-01-29T22:16:50 | 2020-01-29T22:16:50 | 42,007,421 | 0 | 0 | null | 2016-10-25T18:43:08 | 2015-09-06T15:23:58 | C++ | UTF-8 | C++ | false | false | 2,608 | h | #pragma once
#include "types.h"
namespace vidf
{
template<typename T, typename IdxT=uint16, typename SaltT=uint16>
class SaltedArray
{
public:
typedef typename std::vector<T> Elements;
typedef typename std::vector<uint8> States;
typedef typename std::vector<T>::iterator ElementIt;
typedef typename std:... | [
"filipeamim@videmogroup.org"
] | filipeamim@videmogroup.org |
670dc11d7a64e34eaeeab485769e7a15090ef351 | 2faf8437adfd059b475b93331a6d3acc8843674d | /Permissions/Includes/sqlpp11/cte.h | 9b3d40d43f841a95c1bbf5bcf5115d06b365756e | [
"MIT"
] | permissive | lzgdeer/Ark-Server-Plugins | 9ef1ba74959b578982172a003bcc9ae384213123 | bfa13b3a1ec65c4e19e00b238a132ff935b704e4 | refs/heads/master | 2020-03-22T19:01:28.286649 | 2018-06-27T05:22:48 | 2018-06-27T05:22:48 | 140,498,724 | 3 | 0 | MIT | 2018-07-10T23:46:37 | 2018-07-10T23:46:37 | null | UTF-8 | C++ | false | false | 11,142 | h | /*
* Copyright (c) 2013-2016, Roland Bock
* 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 cond... | [
"ownproxie@outlook.com"
] | ownproxie@outlook.com |
6cc35664ff0bd6226b5ea2e145f04f5897688339 | f75c8155d8c57c396233b92cfda218be2243fe0b | /Pacman-visual-studio-13/hw0-windows/util.cpp | 33d462697131b7411a67ab57672f5c0c7e153cfb | [
"Apache-2.0"
] | permissive | UmarFarooq-Ch/PROJECT_CP_PACMAN_FAST_ | 1d057a467e6d0b9ea7abe3f4c2acae28c6477cd3 | ab8114c2172e6a5305d0f74ad45572fee47bf8d9 | refs/heads/master | 2022-11-03T03:54:27.818261 | 2016-05-26T16:59:33 | 2016-05-26T16:59:33 | 57,870,095 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,087 | cpp | /*
* util.cpp
*
* Created on: May 2, 2014
* Author: Sibt ul Hussain
*/
#include "util.h"
/*
* This function converts an input angle from degree to radians */
float Deg2rad(float degree) {
return (degree / 180.0) * M_PI;
}
// seed the random numbers generator by current time (see the documentation of srand for f... | [
"umarch@live.com"
] | umarch@live.com |
c28afdd4ef454b13022d715a2b5459fb53fa1136 | 4d37d0ad66b2131e845cb2ffb5e4ae6a35040d31 | /sys/shader_manifest_loader.cpp | 58ea26546bdf9bf8611bd0a50baa1825f3ce07ac | [] | no_license | mrdooz/dagaa | 6fe6c33971a7b16a61564e2312d890a79fe5e62c | 1468beecbd5fa66a3f0eff151f081c09056596e6 | refs/heads/master | 2021-01-10T06:14:45.252089 | 2016-02-05T16:45:19 | 2016-02-05T16:45:19 | 48,619,164 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,741 | cpp | #if WITH_FILE_UTILS
#include "shader_manifest_loader.hpp"
#include <sys/msys_file.hpp>
#include <sys/object_handle.hpp>
#include <sys/msys_graphics.hpp>
#include <sys/gpu_objects.hpp>
#include <sys/_win32/msys_filewatcherOS.hpp>
#include <algorithm>
ShaderManifestLoader* g_ShaderManifestLoader;
using namespace std;
us... | [
"magnus.osterlind@gmail.com"
] | magnus.osterlind@gmail.com |
869b31a556b8941372925269ec71490283754873 | 3572a16ad8a27a48f510f29b973560399361e783 | /UIKit/UIEmitterView.h | 23167cf0ef8df4f6fcf5579f9632d5fdf0986d17 | [
"MIT"
] | permissive | xiaoxiaoyi/Cocos | 07cfbdd7ee7386dd476b988016da4e3ff80af9c6 | 6472856a5fcacbada7b3fe0770d6fede123cad36 | refs/heads/master | 2020-04-07T10:45:53.935410 | 2012-05-31T09:15:39 | 2012-05-31T09:15:39 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,576 | h | /****************************************************************************
Cocos Project
hosting github.com
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 wi... | [
"duranamu@126.com"
] | duranamu@126.com |
7d61bf3c88b032aafb924f060622e9543da21804 | 95a43c10c75b16595c30bdf6db4a1c2af2e4765d | /codecrawler/_code/hdu3018/16211155.cpp | da03fd7e6466da7a0f2429e0ca8b49a0def651a0 | [] | no_license | kunhuicho/crawl-tools | 945e8c40261dfa51fb13088163f0a7bece85fc9d | 8eb8c4192d39919c64b84e0a817c65da0effad2d | refs/heads/master | 2021-01-21T01:05:54.638395 | 2016-08-28T17:01:37 | 2016-08-28T17:01:37 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,023 | cpp | #include<bits/stdc++.h>
typedef long long ll;
const ll mod=1000000007;
const int inf=0x7fffffff;
ll powmod(ll a,ll b) {ll res=1;a%=mod;for(;b;b>>=1){if(b&1)res=res*a%mod;a=a*a%mod;}return res;}
using namespace std;
int n,m,f[110000],v[110000],num[110000];
void init()
{
for(int i=1;i<=n;i++)
f[i]=i;
}
int F... | [
"zhouhai02@meituan.com"
] | zhouhai02@meituan.com |
ab0169e61cd9d06ce9b9aa5ea54e8f9d46756868 | 642e8087af1e8982e52168b5c660b104dda9b39f | /arch/mbc/nombc.cpp | fdac9e0123094fd5a2ac20952d3460af2c18c5d6 | [] | no_license | gaudima/c-boy | 03bd51983abfec8c6eec42f72d18f21a1b681929 | 7e8bc084b282873bfce6f1751c24b616521c246a | refs/heads/master | 2021-01-10T11:12:36.504969 | 2016-03-28T12:16:58 | 2016-03-28T12:16:58 | 53,003,866 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 604 | cpp | //
// Created by gaudima on 2/21/16.
//
#include "nombc.h"
#include "mbc.h"
Emu::Mmu::NoMbc::NoMbc(uint8_t *rom, uint32_t romSize, uint8_t *ram, uint32_t ramSize) :
Mbc(rom, romSize, ram, ramSize)
{
romOffset = 0x4000;
ramOffset = 0;
}
uint8_t Emu::Mmu::NoMbc::rb(uint16_t addr) {
if(0x0000 <= add... | [
"gaudima@gmail.com"
] | gaudima@gmail.com |
383c9aa23f0b4b4f8d20bf19a92a1a3c1b04152b | f1e35f5b37adba76bd32b2a0f9b7e0dcd5882d23 | /dll/main.cpp | 3914e2573fb8d8f241e02ec874863bf5aa96fabd | [] | no_license | qjchen1972/dire | 0a2c5891aa97599bc5d795cf67b973ac68015d7d | 75bdbb71112a7411750192ea0de2524ba17e647f | refs/heads/master | 2020-03-27T23:28:47.481638 | 2018-09-12T07:07:37 | 2018-09-12T07:07:37 | 147,318,715 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 305 | cpp | #include<stdio.h>
#include<time.h>
#include "dire.h"
#include <Windows.h>
typedef int(*Api)(int, char*);
int main(int argc, char** argv)
{
HINSTANCE hDllInst = LoadLibrary("dire.dll");
Api myfun = 0;
myfun = (Api)GetProcAddress(hDllInst, "dire");
myfun(2, "./config.txt");
//dire(2, "config.txt");
} | [
"qjchen1972@163.com"
] | qjchen1972@163.com |
4e600096f9b32a488317b27359cfb2aae7d959fd | 5261689e7c9114dfd89786358edc0a35e69ab57f | /cf-641c.cpp | 32f2b939bf0d74ec992e883af898849f593e3fda | [] | no_license | shobhitkrsks/cp | bec5f36d5a8ff9684321099dc3244284f517ab43 | e551af079b4c1a4c1803b555ab9d3eec194910c5 | refs/heads/master | 2023-06-06T19:52:31.999545 | 2021-07-05T18:57:52 | 2021-07-05T18:57:52 | 248,814,534 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 689 | cpp | #include<iostream>
#include<bits/stdc++.h>
#define ll long long
using namespace std;
int main()
{
ios_base::sync_with_stdio(false);
cin.tie(NULL);
cout.tie(NULL);
int n;
cin>>n;
int ar[n];
for(int i=0;i<n;i++)
cin>>ar[i];
ll lcm=((ll)ar[0]*(ll)ar[1])/(ll)__gcd(ar[0],ar[1]);... | [
"sks.shobhit12@gmail.com"
] | sks.shobhit12@gmail.com |
9eac96cddc4b24010902d63cd6d632e55b85d0e1 | c9ad4cbade04c2e0310fa4f1f9c85f8d3b81e8dc | /chase/src/ball_chaser/src/process_image.cpp | b4f1b8235912119f7492b43323d32c7ccfa28aed | [] | no_license | unbedded/class_ros | 37f53a492b3f51afc494f35ee2718c180f684b18 | ee4cc0013d49be771e4e13f3d5743905454f64e4 | refs/heads/main | 2023-03-14T18:59:25.755579 | 2021-03-11T22:08:44 | 2021-03-11T22:08:44 | 325,866,396 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,797 | cpp | #include "ros/ros.h"
#include <vector>
//#include "simple_arm/GoToPosition.h"
//#include <sensor_msgs/JointState.h>
//#include "geometry_msgs/Twist.h"
#include "ball_chaser/DriveToTarget.h"
#include <sensor_msgs/Image.h>
#include <std_msgs/Float64.h>
#include <boost/format.hpp>
#include <sstream>
#include <algorithm>
... | [
"spencerbarrett@gmail.com"
] | spencerbarrett@gmail.com |
6a8973f558909e51aba48dc02b139d13d4570667 | 0b7f95a5a66eaa35738cd4e6b553e49175301959 | /Source/System/Math/Primitive/ConvexHull2D/Polygon.hpp | c6b9447f4e22260a73a81bddd85673a5081fe189 | [
"MIT",
"LicenseRef-scancode-public-domain"
] | permissive | arian153/Engine5th | f993b45122de49e305e698f44ac9be4e2462a003 | 34f85433bc0a74a7ebe7da350d3f3698de77226e | refs/heads/master | 2021-11-19T20:09:20.716035 | 2021-09-04T05:59:27 | 2021-09-04T05:59:27 | 219,928,073 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 881 | hpp | #pragma once
#include "../Primitive.hpp"
#include <vector>
#include "../../Algebra/Vector2.hpp"
namespace Engine5
{
class Polygon final : public Primitive
{
public:
Polygon();
~Polygon();
void Initialize() override;
void Shutdown() override;
//Primitive Data
... | [
"p084111@gmail.com"
] | p084111@gmail.com |
ef164d6c01ddaf4a263c75b629518aa9e9407a66 | 45e0fbd9a9dbcdd4fbe6aaa2fdb2aed296f81e33 | /FindSecret/Classes/Native/mscorlib_System_Array_InternalEnumerator_1_gen2520355219.h | f1a2a12e1e1879edba2fac5152a962dfda832172 | [
"MIT"
] | permissive | GodIsWord/NewFindSecret | d4a5d2d810ee1f9d6b3bc91168895cc808bac817 | 4f98f316d29936380f9665d6a6d89962d9ee5478 | refs/heads/master | 2020-03-24T09:54:50.239014 | 2018-10-27T05:22:11 | 2018-10-27T05:22:11 | 142,641,511 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,491 | h | #pragma once
#include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <stdint.h>
#include "mscorlib_System_ValueType3640485471.h"
// System.Array
struct Il2CppArray;
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ign... | [
"zhangyide@9fbank.cc"
] | zhangyide@9fbank.cc |
944f1853ad323d8dd65fecd4d6dc9545a15f8946 | 0302c3c2d7a8b23e0847e8fd1b46001400c68544 | /src/repository.cc | 8b3d3018f6cd323c1427261be49f174f9582ce54 | [] | no_license | jonner/sound-collection | 1ce06f9c4cb784481a506f8e336cc98c85a15787 | 83865534288a270de8a81ed037e6313a55e4adc7 | refs/heads/master | 2020-12-24T17:44:48.527426 | 2014-07-31T09:14:49 | 2014-07-31T09:14:49 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,435 | cc | /*
* repository.cc
* This file is part of SoundCollection
*
* Copyright (C) 2014 - Jonathon Jongsma
*
* SoundCollection is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, ... | [
"jjongsma@redhat.com"
] | jjongsma@redhat.com |
3746d43a0d7688f101cb71f12a2a3833464c2db5 | 53209d85637b2594359e1fd629db71e3dfee6cf7 | /src/sst/elements/ariel/arielgzbintracegen.cc | 6f9dc0ed508a8f74cb5812f755f768ca05fbd895 | [] | no_license | dskarlatos/sst-elements | d8e048beb9cee641bca3e20a081ea335c17cb01a | 844b9af2ca8f9a2a3328966277e3a0a780c7a72d | refs/heads/master | 2020-03-15T02:45:35.180644 | 2018-05-02T13:47:28 | 2018-05-02T13:47:28 | 131,925,703 | 1 | 0 | null | 2018-05-03T01:36:07 | 2018-05-03T01:36:07 | null | UTF-8 | C++ | false | false | 2,239 | cc | // Copyright 2009-2017 Sandia Corporation. Under the terms
// of Contract DE-NA0003525 with Sandia Corporation, the U.S.
// Government retains certain rights in this software.
//
// Copyright (c) 2009-2017, Sandia Corporation
// All rights reserved.
//
// Portions are copyright of other developers:
// See the file CONT... | [
"grvosku@sandia.gov"
] | grvosku@sandia.gov |
b860c54d7912a464e194a79b64229ed27f47a1c6 | 0547be6949e3bbdb66e6542c9ac5ea3b22adb347 | /一些板子/字符串单hash.cpp | e104ff96409c20f8e0089fe6ae0da05a524cea19 | [] | no_license | potatoler/OI_Exercise | 361574e16578b306526e0d1e60d6d31994a35094 | 81cc2a562ba01f4361d73f09efc206a5411b7174 | refs/heads/master | 2023-02-02T12:27:34.805079 | 2020-12-15T14:30:12 | 2020-12-15T14:30:12 | 262,538,278 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 878 | cpp | #include<iostream>
#include<cstdio>
#include<cstdlib>
#include<cmath>
#include<cstring>
#include<climits>
#include<algorithm>
#define int long long
using namespace std;
const int MaxN = 10004, Base = 131, Mod = 998244353;
int n, hsh[MaxN];
char s[MaxN];
inline int HSH(char str[]){
int len = strlen(str);
int res = 0;... | [
"potatoler@icloud.com"
] | potatoler@icloud.com |
e25ffd643d8cbee5803f7e8665cff50544f4778a | a67eba5bac73aeb1dca7245d926bcfca94ae43cf | /PlugIns/Plugin_Expand/src/Plugin_ExpandAfx.cpp | 375ba6dc7b3b10d14ad0d2fb6e2350ff5745fa4d | [] | no_license | skyformat99/directUI-REDM | f34f151bbfc9b88f6491894044cc5c46084826cb | 2703afc1c84add0b17cc20286e06cec87b620793 | refs/heads/master | 2020-03-07T17:51:25.748522 | 2018-03-29T08:48:39 | 2018-03-29T08:48:39 | 127,622,801 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 30 | cpp | #include "Plugin_ExpandAfx.h"
| [
"80718901@qq.com"
] | 80718901@qq.com |
7d1a8caf834e2a146a79c3afcfa12e71724335ae | a6dcb56a520d30c235b46a4ec734d0a3caec4f52 | /src/version.cpp | ec17b25d1eea0757aadb899964f514d4f4e6fe29 | [
"MIT"
] | permissive | grammy3/rewards | 2ece6d82c83bbb9bd16c790466984d65ee3685d6 | 0bbf018947c88ee814e903e147131a00885cc039 | refs/heads/master | 2021-01-22T13:12:30.400952 | 2015-03-30T21:49:36 | 2015-03-30T21:49:36 | 33,150,167 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,611 | cpp | // Copyright (c) 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 <string>
#include "version.h"
// Name of client reported in the 'version' message. Report the same name
// for both bitco... | [
"test@test.com"
] | test@test.com |
f201456aaec8781895c30dfba7145be00ba847a1 | 15b49499051b61b22fa0b5262c81b57c47d63500 | /BOJ/push/10000-19999/10953.cpp | 1b13cce9f420490d3b388fe395e0cb0933bef80c | [] | no_license | murras/algorithm | fcc03bf4d74192a0efe39304e4d801f53bd85e0f | 987a8c171e2935fefee752b292a4df8844c825fe | refs/heads/master | 2021-06-04T09:49:35.728245 | 2020-01-25T10:00:01 | 2020-01-25T10:00:01 | 106,243,746 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 184 | cpp | // 알고리즘 기초 1 p.25
#include <iostream>
using namespace std;
int main() {
int n, a, b;
char c;
cin >> n;
while (n--) {
cin >> a >> c >> b;
cout << a + b << '\n';
}
} | [
"gud2169@naver.com"
] | gud2169@naver.com |
cbb1daf5aba82ca29269511cdf8a6a565db27ef6 | 8610cc071462e21bce5dd6e20dd4b2485ba96006 | /cpp/eicmcio/readers/eventless_writer/EventlessRootOutput.h | 2c6464ba2ae4d152c7d76017dadac54ca3cc3d59 | [] | no_license | eic/eicmcio | eda8aeaea1c33cb02893c7b7ff49f7ef700a37ce | 7c37fe34d9b7fc36d64dc0b1eb4d050748884f56 | refs/heads/main | 2023-04-29T20:15:42.805503 | 2021-05-19T18:50:04 | 2021-05-19T18:50:04 | 320,098,900 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 973 | h | #ifndef EJANA_EVENTLESSROOTOUTPUT_H
#define EJANA_EVENTLESSROOTOUTPUT_H
#include <TFile.h>
#include <TDirectory.h>
#include <TCanvas.h>
#include <TTree.h>
#include <TApplication.h>
class EventlessRootOutput
{
public:
void init(TFile *file)
{
// 'locker' locks mutex so other threads can't... | [
"romanovda@gmail.com"
] | romanovda@gmail.com |
f6cd103db7f441c05e0ab6af3f568f8d1aa579ac | fef7a8b1c450014f64ef2181993f663a12d3af55 | /lib/Serialization/ASTWriterStmt.cpp | 53cdaac22376ee6769a2f95e3dc57bea37043acd | [
"NCSA"
] | permissive | KevinJudeConcessao/PES_G53 | ddbbb7aaace7eb6a8d69c9c2a5f8e0c1ad0faaa0 | 47128d009c60371d08211e1032a8af55a7ef5358 | refs/heads/master | 2020-03-06T21:34:21.881647 | 2018-05-06T12:20:50 | 2018-05-06T12:20:50 | 118,235,023 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 92,004 | cpp | //===--- ASTWriterStmt.cpp - Statement and Expression Serialization -------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | [
"kevinjudeconcessao@gmail.com"
] | kevinjudeconcessao@gmail.com |
c21f9b40b0ed10a022f4189febc73fb5ac083965 | fdf46eafe2fe78c4f7fa3e35c583b949fdfff704 | /PathTracer/PathTracer.h | 9766ddf94d8c9795565c655a62454497f132b2a4 | [] | no_license | HypnoBeaverMoose/PathTracer | c588bba5e04ee6b4a728eef8ac45d7293faa3f60 | 0aa9d072d868c53d4b9a3e9b8378d916823f1da1 | refs/heads/master | 2020-04-01T13:19:55.287054 | 2019-07-08T12:16:18 | 2019-07-08T12:16:18 | 32,204,368 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,643 | h | #pragma once
#include "d3d11window.h"
#include<wlclient.h>
#include<random>
class PathTracer :
public D3D11Window
{
public:
struct CameraData
{
DirectX::XMMATRIX m_projMatrix;
DirectX::XMMATRIX m_ViewMatrix;
};
struct PerFrameData
{
uint frameNumber;
uint size[2];
uint mode;
};
static int Initializ... | [
"y.atanasoff@gmail.com"
] | y.atanasoff@gmail.com |
d4cc22d8d2f5d1858bb64669f4b1be1859522305 | afaf58bfe495edc9da224d597912763df1b5a410 | /src/SketchRetopo/curvenetwork/Vertex.cc | 39860b005747d3e6c7bf6d1d8b0b5604dc7698d6 | [] | no_license | tian0ti/sketch | 1c5ee62a6411e478f292cfbaa98760d98f62288e | 3ef958dfc69a32a822c6ce71c2d3b4839e1592a0 | refs/heads/master | 2016-09-06T13:40:57.836963 | 2015-04-13T08:46:58 | 2015-04-13T08:46:58 | 33,857,540 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,038 | cc | #include "Vertex.hh"
#include "Halfedge.hh"
#include "Halfchain.hh"
#include "Edgechain.hh"
#include "Circulator.hh"
curvenetwork::Vertex::Vertex(int id_)
: id (id_)
, is_deleted()
, flag ()
, is_hidden()
{}
bool curvenetwork::Vertex::is_openend() const {
return halfedge->prev == 0;
}
b... | [
"sjulin@gmail.com"
] | sjulin@gmail.com |
d602ba4d483f0f6e2a18c8126623c8350cf501f7 | b2d51d7fcf45f2570a48ebc39f4a61d2b4259594 | /src/pearl/base/EpikArchive.cpp | 8e587cc2028b6b6168f75f2a70af11e2c67ad8b5 | [
"BSD-3-Clause",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | AishwaryaDoosa/scalasca-2.5 | 6429e8265585e14ef89e1ff96c151c9004179bc9 | 25067c279eed0280b219b41b3617fa6ae4151263 | refs/heads/master | 2022-04-17T17:34:45.531794 | 2020-04-19T19:56:29 | 2020-04-19T19:56:29 | 257,089,613 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,797 | cpp | /****************************************************************************
** SCALASCA http://www.scalasca.org/ **
*****************************************************************************
** Copyright (c) 1998-2019 **
** Fors... | [
"aiswaryadoosa@gmail.com"
] | aiswaryadoosa@gmail.com |
61f450eb335bba9f9c8825ae0e2c535db018e9ae | 0ea29f9af0e0eb9649727975955e44c62aff8904 | /aws-cpp-sdk-gamelift/include/aws/gamelift/model/Build.h | bee32e7dedb441f3590e85f8bdaaa8f502b02207 | [
"Apache-2.0",
"JSON",
"MIT"
] | permissive | iRobotCorporation/aws-sdk-cpp | 91651c266d8670ae4311ecb02d52eb37b0314e1f | 3a7a6d340d0ed1975c7bceff6e0209e3220202c5 | refs/heads/master | 2020-04-05T18:58:30.790784 | 2016-05-09T18:03:43 | 2016-05-09T18:03:43 | 58,475,362 | 0 | 1 | null | 2016-05-10T16:03:59 | 2016-05-10T16:03:59 | null | UTF-8 | C++ | false | false | 12,087 | h | /*
* 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" file... | [
"henso@amazon.com"
] | henso@amazon.com |
875167facb30d644f71dcb0be5cb29ecfcb91765 | 967be8f8256541d9ede02fcef795f7eea6b31898 | /src/main_frame.cc | 1c1c6518ea60405936ff68e36320402905208b67 | [] | no_license | vila/colorization | 721f0ef7427a38bfe3c26d32bc29beaf523e8476 | 02c97a0a3a8e9ada4545f1016d732b525d99ba1a | refs/heads/master | 2016-09-10T08:57:21.093753 | 2012-08-26T18:07:00 | 2012-08-26T18:07:00 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,009 | cc | #include "main_frame.hh"
#include "color_picker.hh"
#include "color_preview.hh"
#include "scribble_panel.hh"
#include "misc.hh"
#include <wx/wx.h>
#include <opencv2/opencv.hpp>
MainFrame::MainFrame() : wxFrame(NULL, -1, _("Colorization - Viktor Larsson"),
wxPoint(-1,-1), wxSize(800,6... | [
"viktor.vila.larsson@gmail.com"
] | viktor.vila.larsson@gmail.com |
a48e156f8504e57ee1279f9f403def636cf18d5f | 3bb406a7e3336d07e8ef3aa18cc26cfa79dddac9 | /tumor2d/src/HexagonalLattice2D.cpp | 56998fdb76ca155ef2094553b72e7f0c5a5f43f0 | [
"MIT"
] | permissive | ICB-DCM/lookahead-study | d977449676806fe8e906fb65b10a7f87bf24f2c4 | b9849ce2b0cebbe55d6c9f7a248a5f4dff191007 | refs/heads/main | 2023-05-30T18:15:18.028222 | 2021-06-18T19:58:01 | 2021-06-18T19:58:01 | 331,323,779 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,301 | cpp | #include <stdlib.h>
#include <stdio.h>
#include <math.h>
#include "HexagonalLattice2D.h"
/*****************************************************************************/
VoronoiDiagram* newHexagonalLattice2D( int countPointsX, int countPointsY, int periodicX, int periodicY){
/***************************************... | [
"s6fereck@uni-bonn.de"
] | s6fereck@uni-bonn.de |
e673ab1f695c55de3e96acdae4acc7a22d53213b | 677f7dc99f7c3f2c6aed68f41c50fd31f90c1a1f | /SolidSBCTestLib/SolidSBCNetPingTest.cpp | 8ad9bb756d1d68854e11848ea01cb009a688a475 | [] | no_license | M0WA/SolidSBC | 0d743c71ec7c6f8cfe78bd201d0eb59c2a8fc419 | 3e9682e90a22650e12338785c368ed69a9cac18b | refs/heads/master | 2020-04-19T14:40:36.625222 | 2011-12-02T01:50:05 | 2011-12-02T01:50:05 | 168,250,374 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,686 | cpp | #include "StdAfx.h"
#include "SolidSBCNetPingTest.h"
#include "SolidSBCNetPingResult.h"
#include "SolidSBCNetPingConfig.h"
#include <Icmpapi.h>
UINT SolidSBCNetPingTest(LPVOID lpParam)
{
USES_CONVERSION;
PSSBC_TEST_THREAD_PARAM pParam = (PSSBC_TEST_THREAD_PARAM)lpParam;
CSolidSBCNetPingConfi... | [
"admin@bd7e3521-35e9-406e-9279-390287f868d3"
] | admin@bd7e3521-35e9-406e-9279-390287f868d3 |
31ef2941f43573f003a190d2219bc851c5530562 | 523c31f8b1de2b9fb065fcedb63de6c84ac423d6 | /miniparser/Production.hpp | 1a6c2d590e57819416b4c6159f61ba26a02e2200 | [
"MIT"
] | permissive | Yuandong-Chen/js2cpp | 7d42e2f0d24750c77209fecf947744d484dd5a9b | 1e4e5a366a0aa26fa16919d026a0a4b61b1bfc7f | refs/heads/master | 2021-08-19T22:24:42.575377 | 2017-11-27T15:42:31 | 2017-11-27T15:42:31 | 110,354,434 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,693 | hpp | #pragma once
#include <vector>
#include <iostream>
#include <map>
#include <algorithm>
#include "FirstSet.hpp"
namespace miniparser {
class Production
{
private:
int dotPos = 0;
public:
int left = 0;
std::vector<int> right;
std::vector<int> lookAhead;
Production(int left, int dot, std::vector<int>&& v... | [
"YuandongChen@macair.local"
] | YuandongChen@macair.local |
f6633d86c282990e4f092e89c2146d7ab0d92059 | 36f7e1c0d92a884d11940d1a80a4211122bd81f6 | /Greenhorns2017-master/MyRobot/src/Commands/ChangeOrientation.cpp | 4bb51882cc17d66a2732295032b94ac5397c9b39 | [] | no_license | BisonRobotics/RI3D_2018 | 44e5bb5fce1d4d37f346ee6efd44e0a575e3a35d | c0bdc2d544d688a15aae2cc999f42582d934a1f7 | refs/heads/master | 2021-09-05T19:52:41.524422 | 2018-01-30T17:23:37 | 2018-01-30T17:23:37 | 116,497,142 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,359 | cpp | // RobotBuilder Version: 2.0
//
// This file was generated by RobotBuilder. It contains sections of
// code that are automatically generated and assigned by robotbuilder.
// These sections will be updated in the future when you export to
// C++ from RobotBuilder. Do not put any code or make any change in
// the b... | [
"benmohan77@gmail.com"
] | benmohan77@gmail.com |
633ad78307a0561d3a91aaaebcc2b6671c38b7ab | 02c43cda5f67158c01edbef30866bb5b03206663 | /RiverCityGirls_DontSleep_pt/EasyStage.cpp | 1e5f9fd42c072d0f1e825614adec2cb0f98c744d | [] | no_license | RKJH-jin/RK_Projects | 81c102a208f2a1a31428154067e67b26ce82c2fe | e568ca59b0a5335805f307aa46c397b8c890117a | refs/heads/master | 2023-03-09T05:59:36.021119 | 2021-02-23T02:51:45 | 2021-02-23T02:51:45 | 341,404,963 | 1 | 0 | null | null | null | null | UHC | C++ | false | false | 3,912 | cpp | #include "stdafx.h"
#include "EasyStage.h"
HRESULT EasyStage::init()
{
Stage::init();
/*====================================================================
스테이지의 배경 이미지를 설정하고, 카메라에게 맵 사이즈를 알려 줍니다.
====================================================================*/
backGround = IMG_M->findImage("easyStage");... | [
"rk.jh.jin@gmail.com"
] | rk.jh.jin@gmail.com |
8a6750f77781b768cfdd063179e77e465ff2efe0 | 346c1b4e4034c85072c02a9c28d61468b0121ca4 | /jaguar_ws/src/drrobotV2_player/src/drrobot_imu.cpp | 6c955f1757ec111325dcbd135199e503f476d5be | [] | no_license | DaviGuanabara/jaguar-slam | 5e9a03032a3ae57d95490b9e7f8094321b40dbf5 | 1fc9942f46b08b56e0b8dcb84fa827e6156cf657 | refs/heads/master | 2020-04-11T13:55:42.478991 | 2018-12-14T20:06:22 | 2018-12-14T20:06:22 | 161,835,104 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,163 | cpp | /*!
* drrobot_imu
* Copyright (c) 2013, Dr Robot 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
* not... | [
"davi_guanabara@live.com"
] | davi_guanabara@live.com |
a2c3a7a20218a428f606b59911a8183829f9320b | 9563118e1e2a76b8d126ef5c5b4140b5800c6229 | /src/drivers/Button.cpp | 37132ccb7c9f120b823df62729d399d77dc4cf70 | [] | no_license | eggerdo/Zumo | b0f7bc2950669601dac74b4cf9b2d84a70f04d18 | 01b15490f2b485e0d5565fa935ff4e5c299d5252 | refs/heads/master | 2021-01-10T12:30:55.634164 | 2015-06-24T21:56:33 | 2015-06-24T21:56:33 | 35,967,728 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 996 | cpp | /**
* 456789------------------------------------------------------------------------------------------------------------120
*
* @brief:
* @file: Buton.cpp
*
*
* @author: Dominik Egger
* @date: Mar 21, 2015
* @project: Zumo
*
*/
#include "Button.h"
Pushbutton* _button;
void initButton(int ... | [
"dominik@almende.org"
] | dominik@almende.org |
0ed15affeb96011e50a4ad7bd4a7af2f55943d9b | bcf53f2d60ffe051c2fd437e1a33611927e1a23f | /engine/src/input.cpp | 4aa70706ee89fc33e997e8fee6df5a16cae62899 | [
"LicenseRef-scancode-warranty-disclaimer",
"Apache-2.0"
] | permissive | xzmagic/thunder | d81cfc23808fe0cd7ad0bcb8ad8ec30130c5d6ae | b3eeb87503fec12b7c76f79aa11dbb3dca5e6a12 | refs/heads/master | 2020-05-15T06:26:10.619608 | 2019-04-18T09:24:34 | 2019-04-18T09:53:01 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,224 | cpp | #include "input.h"
#include "adapters/iplatformadaptor.h"
static IPlatformAdaptor *s_pPlatform = nullptr;
void Input::init(IPlatformAdaptor *platform) {
s_pPlatform = platform;
}
bool Input::isKey(KeyCode code) {
return s_pPlatform->key(code);
}
Vector4 Input::mousePosition() {
return s_pPlatform->mous... | [
"eprikazchikov@mail.ru"
] | eprikazchikov@mail.ru |
651bd78c75c0b8da222757a52c8a23bd9dae2cc4 | d637376d258354b9eaf29f1e4034ef84dbf7b1ae | /NamaDemo_YXL/DragDropListWidget.h | fe7e9fd0a87245ece24894234f66188d2db25147 | [] | no_license | cx2200252/NamaDemo_YXL | 2f330d77c6a9758c53be001cc35ab7fcf8e995ef | 66055b52266bcb8ab5d98c3609feb06c4f666b3b | refs/heads/master | 2020-04-07T10:20:16.213035 | 2018-07-04T05:18:21 | 2018-07-04T05:18:21 | 124,203,463 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 388 | h | #pragma once
#include <QListWidget>
class NamaDemo_YXL;
class DragDropListWidget : public QListWidget
{
Q_OBJECT
public:
DragDropListWidget(QWidget *parent);
~DragDropListWidget();
void SetParent(NamaDemo_YXL* parent);
protected:
void dragEnterEvent(QDragEnterEvent *event);
void dropEvent(QD... | [
"xuan911002@vip.qq.com"
] | xuan911002@vip.qq.com |
84b7d09816120bf257e23c37deccea6ee0b4eb9a | d7fe418470bd39ea3fe456ae21d5f7066efea1bf | /shared/cPieChart.h | ed12bc64e4c0fca5d2806edae6b3a71854410f51 | [
"CC0-1.0"
] | permissive | Zax37/WapMap | 3ba11f947382bc64e43e2a1e080cf65bb232e2d2 | 3fc9d5d56d8c1e9675c1deb37d592bef07fe98d7 | refs/heads/master | 2023-06-07T13:51:34.898793 | 2023-06-02T19:05:10 | 2023-06-02T19:05:10 | 234,772,319 | 7 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 903 | h | #ifndef H_C_PIECHART
#define H_C_PIECHART
#include "hge.h"
#include "hgeSprite.h"
#include <vector>
namespace SHR {
struct cPieChartEl {
char *szDesc;
int iPart;
DWORD iColor;
float fPercentage;
};
class cPieChart {
private:
bool bDarkShadow;
DWORD dwBg... | [
"c37zax@gmail.com"
] | c37zax@gmail.com |
971af2699807f550cdfa714483be3ca08418e903 | 823a8c8b56eb9956741b8c2c049cecba21c432d3 | /bishe2/main.cpp | e924023346ba99f16734c7309573224427575a45 | [] | no_license | huobingli/complex_socket | b242b1ca26a93081142d08ee3f0a4ffb0037c53e | f7dc31ccffb6e75ef27768b30a03d0e4b528a4d1 | refs/heads/master | 2020-06-15T17:38:56.307417 | 2016-12-13T06:20:41 | 2016-12-13T06:20:41 | 75,274,731 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,707 | cpp | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
/*
* File: main.cpp
* Author: 炳雳
*
* Created on 2016年12月8日, 下午7:52
*/
#include <cstdlib>
#include <iostream>
#include <stdlib... | [
"huobingli@outlook.com"
] | huobingli@outlook.com |
53e6c38bc6a4217210d73b40c86d4419d786402f | d0c44dd3da2ef8c0ff835982a437946cbf4d2940 | /cmake-build-debug/programs_tiling/function13730/function13730_schedule_12/function13730_schedule_12.cpp | 11b21cc961b055156eabdbba373fe253486e9ed9 | [] | no_license | IsraMekki/tiramisu_code_generator | 8b3f1d63cff62ba9f5242c019058d5a3119184a3 | 5a259d8e244af452e5301126683fa4320c2047a3 | refs/heads/master | 2020-04-29T17:27:57.987172 | 2019-04-23T16:50:32 | 2019-04-23T16:50:32 | 176,297,755 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,715 | cpp | #include <tiramisu/tiramisu.h>
using namespace tiramisu;
int main(int argc, char **argv){
tiramisu::init("function13730_schedule_12");
constant c0("c0", 64), c1("c1", 64), c2("c2", 64), c3("c3", 64);
var i0("i0", 0, c0), i1("i1", 0, c1), i2("i2", 0, c2), i3("i3", 0, c3), i01("i01"), i02("i02"), i03("i03... | [
"ei_mekki@esi.dz"
] | ei_mekki@esi.dz |
b8068371753d3378ac4bbdfa84601af7f3a6505d | 0b11c8c54b1e71ae935ea032376e785be8bfb65e | /2216_37.cpp | d707843fb2283ebcb8abc88e6af78a27e7448c77 | [] | no_license | wyx150137/wyx-infinity37-ac-code-on-BZOJ | 320bef65927b065c938dec97c44fc599fac14176 | 5a1cc0803e0356e59f6e679e6aed23f8374ab67b | refs/heads/master | 2020-06-25T01:45:51.676298 | 2017-07-12T23:45:45 | 2017-07-12T23:45:45 | 96,950,945 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,051 | cpp |
#include <stdio.h>
#include <math.h>
#include <string.h>
#include <stdlib.h>
#include <algorithm>
using namespace std;
const int N = 500005;
struct E
{int l,r,p;}que[N];
int a[N],n;
double f[N],g[N];
double cal(int j,int i)
{
return a[j]+sqrt(abs(i-j))-a[i];
}
int L,R;
int find(E a,int x)
{
int l = a.l,r = a.r;
whi... | [
"wyx150137@users.noreply.github.com"
] | wyx150137@users.noreply.github.com |
c719fea2b999432dc97da3d5ca6c0a851c5a162f | 0674ed9020d8d20737af0a99d5378efb72648be2 | /Assigment 4/fibonacci2.cpp | c543c451e5b3d6cb0edafa2a04e86950026ed6cd | [] | no_license | itsachaljain/College-2020 | c525b596fe4b52077d8e4566b0d9b97f6afdf6bb | 5a52bc2ecaaff070a1b32ef51d3d7e1448b90255 | refs/heads/master | 2022-12-17T01:22:13.887471 | 2020-09-01T11:22:33 | 2020-09-01T11:22:33 | 291,977,679 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 414 | cpp | #include <iostream>
using namespace std;
int fib(int x)
{
if ((x == 1) || (x == 0))
{
return (x);
}
else
{
return (fib(x - 1) + fib(x - 2));
}
}
int main()
{
int x, i = 0;
cout << "Enter the number of terms of series : ";
cin >> x;
cout << "\nFibonnaci Series : ";... | [
"achaljain785@gmail.com"
] | achaljain785@gmail.com |
e647430132a3733fa5113d05c1a3ff54cac76b06 | b8f67d61d62799db00542b7b3069da6fcdf10f85 | /content/browser/find_in_page_client.cc | 6fc87f7016abbfdc0e314ebc2464e5e5604ee71c | [
"BSD-3-Clause"
] | permissive | fujunwei/chromium-src | 535e4cc01dc2c96aac50671222a77de50d2616dc | 57c7d5bbf24af7b342b330fb8775fc76c343ff69 | refs/heads/webml | 2022-12-30T07:55:11.938223 | 2018-08-28T07:07:52 | 2018-08-28T07:07:52 | 138,548,904 | 0 | 0 | NOASSERTION | 2019-03-22T01:51:37 | 2018-06-25T05:47:59 | null | UTF-8 | C++ | false | false | 2,385 | 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 "content/browser/find_in_page_client.h"
#include "content/browser/find_request_manager.h"
#include "content/browser/frame_host/render_frame_host... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
96f6b9dc9a976b37307aef88e0be1875c924a9b8 | 0cc88b6f60e52c2cbd70b64923a1d5f4543c076e | /examples/05-FullSystems/WDRC_3BandIIR_wBT_wAFC/AudioEffectAFC_BTNRH_F32.h | abc3d8b2ba05dd1d6e9c51afdea9bfc17d05727c | [
"MIT"
] | permissive | OnkartGromt/Tympan_Library | 133d984d871f957b2cc98110c5a70b8aa22ce9c4 | f476a1e3496e8c17c2a1a9c52e555919d7c388e9 | refs/heads/master | 2020-04-22T03:08:32.434811 | 2019-02-11T17:55:07 | 2019-02-11T17:55:07 | 170,075,343 | 0 | 0 | MIT | 2019-02-11T17:55:08 | 2019-02-11T05:52:52 | HTML | UTF-8 | C++ | false | false | 4,564 | h |
#ifndef _AudioEffectAFC_BTNRH_F32_h
#define _AudioEffectAFC_BTNRH_F32_h
#include "AudioEffectFeedbackCancel_F32.h"
//Purpose: Make an AFC class that is closer to what BTNRH originall wrote
//Author: Chip Audette 2018-06-08
class AudioEffectAFC_BTNRH_F32 : public AudioEffectFeedbackCancel_F32 {
public:
//cons... | [
"chipaudette@yahoo.com"
] | chipaudette@yahoo.com |
6938855644ab494016d2333b24c89dd420c0f79f | 1a17167c38dc9a12c1f72dd0f3ae7288f5cd7da0 | /Source/ThirdParty/angle/third_party/deqp/src/external/vulkancts/framework/vulkan/vkSupportedExtensions.inl | 85d2bc5e64db3597cf760f1a3aa74878fe272a89 | [
"BSD-3-Clause",
"LicenseRef-scancode-unknown-license-reference",
"Apache-2.0",
"MIT",
"LicenseRef-scancode-warranty-disclaimer",
"Zlib",
"LicenseRef-scancode-khronos",
"BSL-1.0",
"BSD-2-Clause"
] | permissive | elix22/Urho3D | c57c7ecb58975f51fabb95bcc4330bc5b0812de7 | 99902ae2a867be0d6dbe4c575f9c8c318805ec64 | refs/heads/master | 2023-06-01T01:19:57.155566 | 2021-12-07T16:47:20 | 2021-12-07T17:46:58 | 165,504,739 | 21 | 4 | MIT | 2021-11-05T01:02:08 | 2019-01-13T12:51:17 | C++ | UTF-8 | C++ | false | false | 1,504 | inl | /* WARNING: This is auto-generated file. Do not modify, since changes will
* be lost! Modify the generating script instead.
*/
void getCoreDeviceExtensionsImpl (deUint32 coreVersion, ::std::vector<const char*>& dst)
{
if (coreVersion >= VK_API_VERSION_1_1)
{
dst.push_back("VK_KHR_multiview");
dst.push_back("VK... | [
"elix22@gmail.com"
] | elix22@gmail.com |
c191187b2b47bf30e34e0bbe9654e85b1c256b97 | e10076c529ad9d2f8d040b3a3b72631d1c135027 | /Lab 4 - Symbols and Type Checking/symboltable.cpp | f933892eee4650cb3923bbaa778c9bd491204564 | [] | no_license | elzaksspro/CS-104a-Fundamentals-of-Compiler-Design-I | 07573349c3fd29e2cba32b51f5dd307b8fa3637c | 930a1ff715077cdd2abe0769b4ea7f7a9cc12607 | refs/heads/master | 2023-03-16T09:47:41.178456 | 2017-12-20T22:53:33 | 2017-12-20T22:53:33 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,476 | cpp | //Davie Truong
//dtruong8@ucsc.edu
//1524861
#include <iostream>
#include <bitset>
#include <string>
#include <unordered_map>
#include <vector>
#include "symboltable.h"
#include "astree.h"
#include "lyutils.h"
#include "string_set.h"
vector <symbol_table*> symbolStack;
vector <int> blockCounter;
int nextBlock = 1;
F... | [
"truongdavie@yahoo.com"
] | truongdavie@yahoo.com |
4a7fb567a9851aae47769a000d84241c087c29df | 640f2ca80509747cdf43fda8b55f81d7eaf32745 | /CarGamePhys3D/ModuleCamera3D.h | e3c906eb2f28fc1df6bdfd4a152943d084518104 | [
"MIT"
] | permissive | GerardClotet/Physics3D-Car-Game | 8700214fb63ba38aa608b2c3a49811769827594e | 6886b0971a9882a7cc05d295a6b8064939cd65de | refs/heads/master | 2020-11-25T01:53:29.052410 | 2019-12-18T23:10:45 | 2019-12-18T23:10:45 | 228,438,828 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 615 | h | #pragma once
#include "Module.h"
#include "Globals.h"
#include "glmath.h"
class ModuleCamera3D : public Module
{
public:
ModuleCamera3D(Application* app, bool start_enabled = true);
~ModuleCamera3D();
bool Start();
update_status Update(float dt);
bool CleanUp();
void Look(const vec3 &Position, const vec3 &Refe... | [
"36155703+GerardClotet@users.noreply.github.com"
] | 36155703+GerardClotet@users.noreply.github.com |
51d4dc0a9abd00e398d7ca1b49b7a6c6ca464503 | bd1fea86d862456a2ec9f56d57f8948456d55ee6 | /000/246/641/CWE78_OS_Command_Injection__wchar_t_connect_socket_w32_execvp_83.h | 6e6081465d27b962d93e9ad31731b02eccb2d0e5 | [] | no_license | CU-0xff/juliet-cpp | d62b8485104d8a9160f29213368324c946f38274 | d8586a217bc94cbcfeeec5d39b12d02e9c6045a2 | refs/heads/master | 2021-03-07T15:44:19.446957 | 2020-03-10T12:45:40 | 2020-03-10T12:45:40 | 246,275,244 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,751 | h | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE78_OS_Command_Injection__wchar_t_connect_socket_w32_execvp_83.h
Label Definition File: CWE78_OS_Command_Injection.strings.label.xml
Template File: sources-sink-83.tmpl.h
*/
/*
* @description
* CWE: 78 OS Command Injection
* BadSource: connect_socket Read data using a ... | [
"frank@fischer.com.mt"
] | frank@fischer.com.mt |
6c178114f414f3af7969affcaa7172d4470ac781 | 808d9e961cf0b2902195817cc14443e31e07c7a9 | /C++ Programs/tictactoe.cpp | 359cd1a4640feaee76f663e03534f762b3905fd9 | [] | no_license | Pradeep712/C-Programs | 3225ff9ba78dcd5e01a23231c15a4187c0331835 | 4a329db20de0ce466779829df741f1cd587a9e33 | refs/heads/master | 2020-12-12T07:03:24.637375 | 2020-01-15T12:21:12 | 2020-01-15T12:21:12 | 234,072,851 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,945 | cpp | #include<iostream.h>
#include<conio.h>
#include<dos.h>
#include<process.h>
char mat[3][3];
void table(void); //function to print the table
void welcome(void); //function for welcome screen
void main()
{
welcome();
A: clrscr();
int i,j,m,n,sum=0;
char ch;
for(m=0;m<3;++m)
for(n=0;n<3;++n)
... | [
"pradeep7mail@gmail.com"
] | pradeep7mail@gmail.com |
5b0ca5e1edddbc89602b8163f0ab2e9d9d233560 | 578c6983fd229d0822762aafb425759e91cc59c6 | /GraphCalc 3.0/PrefixOperator.cpp | 120affdeb23c213d6640012c90c21fb3005ef25a | [] | no_license | kmichalk/GraphCalc3.0 | 686a26a511576273ce731ddba55afe0147ce2019 | 5b2bfb03e84962c42f05bd4d32a90fbf2e8bdde6 | refs/heads/master | 2021-01-12T18:24:16.578978 | 2017-04-28T15:03:39 | 2017-04-28T15:03:39 | 71,367,481 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 776 | cpp | #include "PrefixOperator.h"
#include "Functions.h"
#include "OperatorParser.h"
#include "CommandAnalizer.h"
PrefixOperator::PrefixOperator(
OperatorParser const & parentParser,
char identifier)
:
Operator(parentParser, identifier)
{
}
/////////////////////////////////////////////////////////////////////////////... | [
"kmichalkiewicz.95@gmail.com"
] | kmichalkiewicz.95@gmail.com |
94bdd798c53960720d8b90f851d4f1ba1b3fa738 | da79bc00ff7bbec86feaa03193aa45bda739fbb9 | /struct.cpp | 4464e31b27b5b19c6f9aa3e1022ac01ab0b3c716 | [] | no_license | syjs10/cadd | dc4e80c14749e76e1b7b2bb0ec0c450d8abedc94 | 9a7e2e318d6ebe5f09cc01021572fcf2a6ed79ec | refs/heads/master | 2021-01-01T05:46:18.452204 | 2016-10-29T09:59:14 | 2016-10-29T09:59:14 | 57,218,265 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 362 | cpp | #include <iostream>
using namespace std;
struct Student{
char *name;
float score;
Student(char *, float);
void say();
};
Student::Student(char *name, float score){
this -> name = name;
this -> score = score;
}
void Student::say(){
cout << name << " score: " << score << endl;
}
int main()
{
Student stu("小明"... | [
"350172898@qq.com"
] | 350172898@qq.com |
6e884c1e2155c5d58711fb8f1c4756cf0a19d17a | 7841a70d84a3c0f7be66e52f1263e8dbaad841b3 | /Project2/ndElements/ndTest1.h | 322b9240f207d31b39e6aca041921d1b7120b3a2 | [] | no_license | CaptainStealthy/java2XP | bc9b0a1eab1e33849cae4a889e6bdb71064122d8 | cc15dd5b8e8d2a2fc0787dec2c7e938b177da2f4 | refs/heads/master | 2021-01-14T04:02:27.932263 | 2020-05-29T04:58:35 | 2020-05-29T04:58:35 | 242,592,857 | 0 | 1 | null | 2020-02-23T21:22:54 | 2020-02-23T21:22:53 | null | UTF-8 | C++ | false | false | 439 | h | #pragma once
typedef int length;
#define NDSMALL 1
#define NDWIDE 2
#include "displayObject.h"
#include<map>
//#include <acfutils\mt_cairo_render.h>
using namespace std;
class ndTest1
{
public:
int ND_TYPE;
length canvasLength;
int canvasHeight;
ndTest1(int length, int height,int type, map<string,displayObject>... | [
"omeralam7@gmail.com"
] | omeralam7@gmail.com |
abae8256a4741b81da4508c2c708af622d9cb3a2 | f80795913b6fbbfbc1501ca1e04140d1dac1d70e | /10.0.14393.0/winrt/internal/Windows.Networking.Connectivity.3.h | 2820d404192867ab122d447a862f042f49c1cfc4 | [
"LicenseRef-scancode-generic-cla",
"MIT"
] | permissive | jjhegedus/cppwinrt | 13fffb02f2e302b57e0f2cac74e02a9e2d94b9cf | fb3238a29cf70edd154de8d2e36b2379e25cc2c4 | refs/heads/master | 2021-01-09T06:21:16.273638 | 2017-02-05T05:34:37 | 2017-02-05T05:34:37 | 80,971,093 | 1 | 0 | null | 2017-02-05T05:27:18 | 2017-02-05T05:27:17 | null | UTF-8 | C++ | false | false | 7,148 | h | // C++ for the Windows Runtime v1.0.161012.5
// Copyright (c) 2016 Microsoft Corporation. All rights reserved.
#pragma once
#include "Windows.Networking.Connectivity.2.h"
WINRT_EXPORT namespace winrt {
namespace Windows::Networking::Connectivity {
template <typename H> struct impl_NetworkStatusChangedEventHandler ... | [
"josuen@microsoft.com"
] | josuen@microsoft.com |
0564a3b91219f9e6a7688843386c5b143135e036 | 5320557f3ac8b577c28de3a35e0242dc7fc8f549 | /src/test/netbase_tests.cpp | 6be7c0988207910d4066b25cb9de2270d13fdf09 | [
"MIT"
] | permissive | TLGCoinProject/TLG-SourceCode | 13220b86d624a255783251b5f019799576ae1e4a | e726615d76f4d8f879aaa376509c225af5834e1e | refs/heads/master | 2021-06-27T23:00:48.220421 | 2017-09-16T19:20:06 | 2017-09-16T19:20:06 | 103,747,298 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 4,069 | cpp | #include <boost/test/unit_test.hpp>
#include <string>
#include <vector>
#include "netbase.h"
using namespace std;
BOOST_AUTO_TEST_SUITE(netbase_tests)
BOOST_AUTO_TEST_CASE(netbase_networks)
{
BOOST_CHECK(CNetAddr("127.0.0.1").GetNetwork() == NET_UNROUTABLE);
BOOST_CHECK(CNetAdd... | [
"mahmoudredsea@hotmail.com"
] | mahmoudredsea@hotmail.com |
81be48536c9125ba35472baee1382d7f9cca3d75 | 28d25f81c33fe772a6d5f740a1b36b8c8ba854b8 | /Codeforces/1476C/main.cpp | 1ca46cc48975c243c10a13382d29a2736c4c82e5 | [] | no_license | ahmedibrahim404/CompetitiveProgramming | b59dcfef250818fb9f34797e432a75ef1507578e | 7473064433f92ac8cf821b3b1d5cd2810f81c4ad | refs/heads/master | 2021-12-26T01:18:35.882467 | 2021-11-11T20:43:08 | 2021-11-11T20:43:08 | 148,578,163 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 711 | cpp | #include <iostream>
using namespace std;
typedef long long ll;
int t, n;
int main(){
scanf("%d",&t);
while(t--){
scanf("%d",&n);
ll a[n], b[n], c[n];
for(int i=0;i<n;i++) scanf("%lld",&c[i]);
for(int i=0;i<n;i++) scanf("%lld",&a[i]);
for(int i=0;i<n;i++) sc... | [
"ahmedie20022011@gmail.com"
] | ahmedie20022011@gmail.com |
07132572c65d18d2cd94e268c4adf06f32db089f | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/CMake/CMake-gumtree/Kitware_CMake_repos_basic_block_block_21487.cpp | dda384a4f18b420f14850d29fea5ea999a971d60 | [] | no_license | niuxu18/logTracker-old | 97543445ea7e414ed40bdc681239365d33418975 | f2b060f13a0295387fe02187543db124916eb446 | refs/heads/master | 2021-09-13T21:39:37.686481 | 2017-12-11T03:36:34 | 2017-12-11T03:36:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 204 | cpp | {
if (ptr != table[n].new_ptr) continue;
farfree(table[n].org_ptr);
while (++n < next_ptr) {
table[n-1] = table[n];
}
next_ptr--;
return;
} | [
"993273596@qq.com"
] | 993273596@qq.com |
e6b1f8a1613ca4be35cb5902fd6bb49210d94575 | 21553f6afd6b81ae8403549467230cdc378f32c9 | /arm/cortex/Freescale/MKL14Z4/include/arch/reg/porte.hpp | bf82768f86f180d5332e64fb7b5e97ede90fc76c | [] | no_license | digint/openmptl-reg-arm-cortex | 3246b68dcb60d4f7c95a46423563cab68cb02b5e | 88e105766edc9299348ccc8d2ff7a9c34cddacd3 | refs/heads/master | 2021-07-18T19:56:42.569685 | 2017-10-26T11:11:35 | 2017-10-26T11:11:35 | 108,407,162 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,155 | hpp | /*
* OpenMPTL - C++ Microprocessor Template Library
*
* This program is a derivative representation of a CMSIS System View
* Description (SVD) file, and is subject to the corresponding license
* (see "Freescale CMSIS-SVD License Agreement.pdf" in the parent directory).
*
* This program is distributed in the hope... | [
"axel@tty0.ch"
] | axel@tty0.ch |
a1ddd88e0ab9278f38fc5b836fb8788db1cfa5e9 | e4431b3cc7369521eec2ecfa39cb688b93b19c41 | /Verificacion/Laboratorios/Laboratorio_4/Carlos/fwdfwcosillassimplebus2/Verificacion/simp/simple_bus_master_blocking.h | 1ab280a31780df65db603469f2575d54089e851a | [] | no_license | MarzhanBekbolat/Undecimo_Semestre | e65ee68049d06e19031e3bd27f5bb1c2c806766a | 16bf7d1f3f8f610d60593b494b8af72efc95ef04 | refs/heads/master | 2020-03-28T13:05:58.490665 | 2014-03-27T15:57:57 | 2014-03-27T15:57:57 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,115 | h | #ifndef __simple_bus_master_blocking_h
#define __simple_bus_master_blocking_h
#include <systemc.h>
#include "simple_bus_types.h"
#include "simple_bus_blocking_if.h"
SC_MODULE(simple_bus_master_blocking)
{
// ports
sc_in_clk clock;
sc_port<simple_bus_blocking_if> bus_port;
SC_HAS_PROCESS(simple_bus_master_b... | [
"drmartinezhe@unal.edu.co"
] | drmartinezhe@unal.edu.co |
8130f4776fb71a38e3511d8128151463a697131f | cd8999f5c3389c6f246f436da5152c456615c4cb | /checkpt_3/main.cpp | da97bcd5d1f3bd4e53c11c1ddb636ab810df4944 | [] | no_license | wutongtoby/mbed09 | 62c87dcf823f3f630663a298fa54eb18a355a8e6 | a4966d0e807058083d36e687ff3629dd56cfceab | refs/heads/master | 2022-07-04T19:21:51.609492 | 2020-05-11T17:25:14 | 2020-05-11T17:25:14 | 263,110,480 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,724 | cpp | #include "mbed.h"
#include "mbed_rpc.h"
// /Rled_blink/run 20
// /Bled_blink/run 10
RpcDigitalOut myled1(LED1,"myled1"); // red
RpcDigitalOut myled3(LED3,"myled3"); //blue
Serial pc(USBTX, USBRX);
void Rled_blink(Arguments *in, Reply *out);
RPCFunction rLED(&Rled_blink, "Rled_blink");
void Bled_blink(Arguments *in, R... | [
"wutongtoby@gmail.com"
] | wutongtoby@gmail.com |
8d8406a92901ec5e577533b6da1bbbf130866f5b | 6f40de67648684c5f5112aeb550d7efb5bf8251b | /UVa/00679 - Dropping Balls.cpp | bfef3463a55c16f3553c00a7ea0ba5138f361307 | [] | no_license | Mohib04/Competitive-Programming | 91381fa5ba2ff2e9b6cf0aeee165f7cf31b43d0d | 529f7db770b801eff32f2f23b31a98b1b9f35e51 | refs/heads/master | 2021-10-21T07:53:03.645288 | 2019-03-03T14:53:47 | 2019-03-03T14:53:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 373 | cpp | #include<bits/stdc++.h>
using namespace std;
int n, d;
int f(int level, int in, int rem) {
if(level == d) return in;
if(rem&1) return f(level+1, 2*in, (rem+1)/2);
else return f(level+1, 2*in+1, rem/2);
}
int main() {
int T;
scanf("%d", &T);
while(T--) {
scanf("%d %d", &d, &n);
... | [
"shariarsajib@gmail.com"
] | shariarsajib@gmail.com |
b32bc595fc06bfe8803cc00ece62b1d071e98a04 | e83c3d2a6c1ef89e571e499a0cdd802589cd6c07 | /NTU-JudgeGirl/Week10/tue/pin.cpp | 22b9ab1aec2f12e3f442c309612d6147aabe8317 | [] | no_license | morris821028/Testdata-generator-example | bc9dea6acfe19498faec9d16ce4fe7a19a5b701d | b86d7fd9c2d48ac4c283600d71124b3d5cc4429f | refs/heads/master | 2021-01-10T06:09:47.009955 | 2016-01-22T04:03:43 | 2016-01-22T04:03:43 | 49,619,198 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,124 | cpp | #include <bits/stdc++.h>
#include <random>
using namespace std;
double frandom() {
return (double)(rand()%10) / 2;
}
double mrandom() {
return (rand() * rand())%10;
}
int main() {
freopen("in.txt", "w", stdout);
srand(time(NULL));
int testcase = 1000;
// printf("%d\n", testcase);
while (testcase--) {... | [
"morris821028@gmail.com"
] | morris821028@gmail.com |
3453c990f9e2e083e92c069343109fe34abc62ea | 56a4cb943d085a672f8b0d08a8c047f772e6a45e | /code/server/Share/Packet/Manager.h | 049db0d696e7fe317572d548d0ef0a1ada77f8f8 | [] | no_license | robertveloso/suddenattack_legacy | 2016fa21640d9a97227337ac8b2513af7b0ce00b | 05ff49cced2ba651c25c18379fed156c58a577d7 | refs/heads/master | 2022-06-20T05:00:10.375695 | 2020-05-08T01:46:02 | 2020-05-08T01:46:02 | 262,199,345 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 4,637 | h | #pragma once
#ifdef _SERVER
#include "../../Jolyo/NJean/Application/Packet.h"
#include "../LogicObject/Player/Type.h"
#include "../LogicObject/Player/Character.h"
#include "../LogicObject/Player/Result.h"
#include "../LogicObject/Player/Stock.h"
#elif _TESTCLIENT
#include "../../../SAClient/Network/NJean/Appl... | [
"robert@velosodigital.com"
] | robert@velosodigital.com |
e17deee8099342a18ebe0681612e9b0c23580019 | 3c4841236574783519bac2fd972ec48007e964cb | /main.cpp | b358952dd00c28cee6a095a64b04f39c719819f9 | [] | no_license | yuwang211/k-skyline | 55d671b38dd75e23862fad22977f96e06bc70ecf | e5d97fcefc83e43b1cd0519b05b7a0d5520e425a | refs/heads/master | 2020-03-23T03:23:42.047119 | 2018-07-15T16:19:39 | 2018-07-15T16:19:39 | 141,027,855 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 369 | cpp | #include "kskyline.h"
int main()
{
freopen("in.txt", "r", stdin);
int n, k;
scanf("%d %d", &n, &k);
KSkyline s(k);
for (int i = 1; i <= n; ++i)
{
int x, y;
scanf("%d %d", &x, &y);
printf("Time %d:\n", i);
printf("\tInsert point (%d, %d)\n", x, y);
s.insert(x, y);
while (s.report(x, y))
printf("\tP... | [
"angwuy@126.com"
] | angwuy@126.com |
f8e54f079712902a256cd21cbb884472fd4daa52 | 6286b25ce20fe7cad2348f3027054ff9d51f6116 | /STL/2016 1 STL 13주차.cpp | e46cd359f137d605bfb56037040777649f4c627f | [] | no_license | khs300kr/STL | 30d3c6ea16f4b0c8c1d898584172e557a3f21d6f | 7891f0190a8b9b063777525de99d0df88e8b9d5f | refs/heads/master | 2021-01-01T15:46:56.963593 | 2017-07-19T09:24:18 | 2017-07-19T09:24:18 | 97,698,086 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 13,313 | cpp |
//=============================================
// Mon May 30 10:48:31 2016
//=============================================
#include<iostream>
#include<algorithm>
#include<vector>
#include<set>
#include"save.h"
//-------------------------------------------------------------
// 13주 1
// 5. 30 월23 (월수)
// Ietrators a... | [
"khs300kr@naver.com"
] | khs300kr@naver.com |
96d5b1a66976d6db4d1f8923c92e0227a2237655 | bffb28762a6570a73b8a3bc02c63c07d40099ca1 | /hw4_sol/runTests.cpp | 0385fad789f9a2730119b15bccc5a587f85e3580 | [] | no_license | jspitkin/cs6017_hw | 77d1699d306ad9094f48354325e663834db70716 | e68f1462c7e7db2dcf3ab1f0c29e240a994ff379 | refs/heads/master | 2023-04-27T22:13:08.843266 | 2018-07-25T19:36:52 | 2018-07-25T19:36:52 | 133,436,003 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,020 | cpp |
#include <iostream>
#include "Point.hpp"
#include "Generators.hpp"
#include "Stopwatch.hpp"
#include "BucketKNN.hpp"
#include "KDTree.hpp"
#include "QuadTree.hpp"
#include <vector>
#include <algorithm>
#include <fstream>
int main(int argc, char** argv){
std::ofstream outs("normal.csv");
outs << "DataStructu... | [
"jakepitkin@gmail.com"
] | jakepitkin@gmail.com |
12ca64df72b1ed4474df1baa296d614623c2ac40 | 2237b4179dfaea89544c7e8a5dd9a76ee024cc69 | /SDK/Mordhau_BP_GameModeEntry_classes.hpp | ca074162867e3df0d2049564e51f3631c1738d27 | [] | no_license | alfarom256/Mordhau_SDK | 4aa18c7ed4121e9a3333c52847f2f4fa425b18ec | 88b1ec22e7a5f84bd3d6b9bcecc5283f4960e0fa | refs/heads/master | 2020-07-10T23:27:23.422796 | 2019-06-14T14:41:16 | 2019-06-14T14:41:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,589 | hpp | #pragma once
// Mordhau (Dumped by Hinnie) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
namespace SDK
{
//---------------------------------------------------------------------------
//Classes
//---------------------------------------------------------------------------
// WidgetBlueprintGenerat... | [
"hsibma02@gmail.com"
] | hsibma02@gmail.com |
821adfd8642d7a06623f68bd87b75a153a486a5d | ee507b3010c903ec716315f7df2ba4ef5ae5921a | /game/GameUI.h | 1517863ce0950799de42add12a576c7c06369005 | [] | no_license | sopyer/Shadowgrounds | ac6b281cd95d762096dfc04ddae70d3f3e63be05 | 691cb389c7d8121eda85ea73409bbbb74bfdb103 | refs/heads/master | 2020-03-29T18:25:48.103837 | 2017-06-24T17:08:50 | 2017-06-24T17:08:50 | 9,700,603 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 17,886 | h |
#ifndef GAMEUI_H
#define GAMEUI_H
//
// The game user interface connectivity.
//
// No other game classes than this should depend on UI.
// This class provides the methods needed to change the user
// interface when the game needs to do that.
//
// The UI may modify the game via GameRequests.
//
// Neither UI nor gam... | [
"sopyer@gmail.com"
] | sopyer@gmail.com |
c17f1788733c936aaa67b70aef1852d3a6b68d89 | 13c12217b2528f94a7dac7031e69cfc00b89754f | /NHK2021_DRbluePlan_manual_ver2.0/Button_Encorder.cpp | d70c174aeada08af6aa82ee39c40b759a3da7045 | [] | no_license | HayatoKikuchi/NHK2021DRBlue_video1_ver2.0 | 54837eef35b68a7a75cd897f93b79afe80b00c5c | f04d15983d25d09abe78c2a8f888972c6c4a237e | refs/heads/main | 2023-04-27T00:53:08.742255 | 2021-05-15T05:12:51 | 2021-05-15T05:12:51 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,876 | cpp | #include "Button_Encorder.h"
#include "define.h"
// コンストラクタ
Button::Button(int xpin_num){
pin_num = xpin_num;
pinMode(pin_num, INPUT);
pre_button_state = get_button_state();
counts = 0;
initial_flag = true;
}
DipSW::DipSW(){
pinMode(PIN_DIP1,INPUT);
pinMode(PIN_DIP2,INPUT);
pinMode(PIN... | [
"e51190405b@edu.teu.ac.jp"
] | e51190405b@edu.teu.ac.jp |
7937c6bf3951efc0285a946a356f7779e45333e8 | b886816637c7390685f7fe0efe945c5738ceccce | /Injector/Injector.cpp | b1320fde15538fef7c5b986ac5bf820064898653 | [
"MIT"
] | permissive | dptr/Invisiwind | b151dac739bd1649234de942f1bc82ed9e6e0199 | 23d32bb9d7287caf55d10428c5272737465fcc4c | refs/heads/main | 2023-06-14T03:40:23.959663 | 2021-06-22T19:10:36 | 2021-06-22T19:10:36 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,551 | cpp | // Injector.cpp : This file contains the 'main' function. Program execution begins and ends there.
//
#include <iostream>
#include <iomanip>
#include <string>
#include <map>
#include <unordered_set>
#include <algorithm>
#include <Windows.h>
#include <TlHelp32.h>
#include <AclAPI.h>
using std::cout;
usin... | [
"buildingsomethingfun@gmail.com"
] | buildingsomethingfun@gmail.com |
c2465f31188e813e21cf17a7e07dcd3aedc6379d | 1af49694004c6fbc31deada5618dae37255ce978 | /chrome/chrome_cleaner/ui/chrome_proxy_main_dialog.h | b9eb5c569d9d4f3f8b8da7d7b79912be209b8df5 | [
"BSD-3-Clause"
] | permissive | sadrulhc/chromium | 59682b173a00269ed036eee5ebfa317ba3a770cc | a4b950c23db47a0fdd63549cccf9ac8acd8e2c41 | refs/heads/master | 2023-02-02T07:59:20.295144 | 2020-12-01T21:32:32 | 2020-12-01T21:32:32 | 317,678,056 | 3 | 0 | BSD-3-Clause | 2020-12-01T21:56:26 | 2020-12-01T21:56:25 | null | UTF-8 | C++ | false | false | 2,885 | 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_CHROME_CLEANER_UI_CHROME_PROXY_MAIN_DIALOG_H_
#define CHROME_CHROME_CLEANER_UI_CHROME_PROXY_MAIN_DIALOG_H_
#include <string>
#include <vec... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
371be7a25c363b555f5595bb07562939a54df8d9 | 1393305d4573ac73d159d9efd2d58ade00f17dc8 | /C++/Aulas C2/Ponto/Ponto/ponto.cpp | e11a88f823d4f3cd9915a774494d30e1815453bb | [] | no_license | ShutDownMan/UniProjects | f865136169b4626fc79e92c36e5c6590496216d2 | 40704eb1f51f82df50fb7497985c2ab55a3aff26 | refs/heads/master | 2022-06-02T22:38:04.137699 | 2022-05-12T00:19:40 | 2022-05-12T00:19:40 | 113,806,338 | 3 | 2 | null | 2022-04-04T23:04:57 | 2017-12-11T03:11:54 | C++ | UTF-8 | C++ | false | false | 494 | cpp | #include "ponto.h"
#include <iostream>
using namespace std;
Ponto::Ponto(double x, double y) {
this->x = x;
this->y = y;
}
Ponto::~Ponto(void) {
cout << "(Ponto) Liberando memória" << endl;
}
void Ponto::setX(double x) {
this->x = x;
}
void Ponto::setY(double y) {
this->y = y;
}
double Ponto:... | [
"jedson_gabriel@hotmail.com"
] | jedson_gabriel@hotmail.com |
28c4c156eb628e0d455aa73393c4967cad13aba4 | 8dfe4bef840a00972ebe18634bbf28636dec9949 | /TestFKCW/Classes/SubTestWnd/Test_Action_Flash.h | f57bdd426a89e241a17fb3e1cbf083d1196c4d73 | [] | no_license | pingfanJerry/FKCocos2dxWrapper_2.x | ba644308746557e99f8fa201a832aafa7e806927 | 2ff906f10a030d7a2dbe968ba9d17798e2537a37 | refs/heads/master | 2020-03-10T16:58:40.391923 | 2017-03-16T06:43:05 | 2017-03-16T06:43:05 | 129,487,589 | 1 | 0 | null | 2018-04-14T06:12:13 | 2018-04-14T06:12:13 | null | GB18030 | C++ | false | false | 2,630 | h | //*************************************************************************
// 创建日期: 2014-12-12
// 文件名称: Test_Action_Flash.h
// 创 建 人: WilhanTian
// 版权所有: MIT
// 说 明: 节点闪光效果
// 测试结果:
//*************************************************************************
#pragma once
//-------------------------------------... | [
"duzhi5368@163.com"
] | duzhi5368@163.com |
1a89bf5798a8bbc7572d0cf3423c2e58e16a144e | 297497957c531d81ba286bc91253fbbb78b4d8be | /gfx/harfbuzz/src/OT/Layout/GSUB/AlternateSet.hh | 1c80b7c96a2a365f9cdf943ed2755d20d09b8ca9 | [
"LicenseRef-scancode-unknown-license-reference",
"LicenseRef-scancode-other-permissive",
"MIT-Modern-Variant"
] | permissive | marco-c/gecko-dev-comments-removed | 7a9dd34045b07e6b22f0c636c0a836b9e639f9d3 | 61942784fb157763e65608e5a29b3729b0aa66fa | refs/heads/master | 2023-08-09T18:55:25.895853 | 2023-08-01T00:40:39 | 2023-08-01T00:40:39 | 211,297,481 | 0 | 0 | NOASSERTION | 2019-09-29T01:27:49 | 2019-09-27T10:44:24 | C++ | UTF-8 | C++ | false | false | 3,077 | hh | #ifndef OT_LAYOUT_GSUB_ALTERNATESET_HH
#define OT_LAYOUT_GSUB_ALTERNATESET_HH
#include "Common.hh"
namespace OT {
namespace Layout {
namespace GSUB_impl {
template <typename Types>
struct AlternateSet
{
protected:
Array16Of<typename Types::HBGlyphID>
alternates;
public:
DEFINE_S... | [
"mcastelluccio@mozilla.com"
] | mcastelluccio@mozilla.com |
5388d6dc0f73d5ef2e8fb12680dfc747a59485b0 | 225b9a9ce807b669f5da0224b374bbf496d0bc70 | /图论/网络流/最小割/lg2774.cpp | 5d75bc60607d51e780a5377fe783d33cd7ad6cad | [] | no_license | Kewth/OJStudy | 2ed55f9802d430fc65647d8931c028b974935c03 | 153708467133338a19d5537408750b4732d6a976 | refs/heads/master | 2022-08-15T06:18:48.271942 | 2022-07-25T02:18:20 | 2022-07-25T02:18:20 | 172,679,963 | 6 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 19 | cpp | ../../../lg2774.cpp | [
"Kewth.K.D@outlook.com"
] | Kewth.K.D@outlook.com |
a10572a5082ad93732606b4d38bcffb9e1ab2c62 | 98de86bdd65733ca2742eedc3201682aa10e5d18 | /apr22.cpp | 4f9b5bbc1ce84c82a807c486e2979f3af7aa66d3 | [] | no_license | reaganshirk/DataStructuresNotes | 38eae5ac8b01959fb2c3a9b9ffcd7d6997a7c61c | eb40ec03df9cce4beba0b1aaa0a024bc2e3c37c6 | refs/heads/master | 2020-04-25T06:14:07.653062 | 2019-09-27T22:11:36 | 2019-09-27T22:11:36 | 172,573,742 | 5 | 1 | null | 2019-05-05T18:12:35 | 2019-02-25T19:49:31 | C++ | UTF-8 | C++ | false | false | 3,944 | cpp | /*
- Final Exam: Tuesday, May 7 8:00-10:00 am
- Priority Search Trees
- Sorting
- Hashing
- Quiz: Wendesday, April 24th
- Everything since midterm
- Graphs and Priority Search Trees
Priority Search Trees
- Search Tree Functions
- find
- insert
- delete/remove
- find max
- find min
- delete min
- delet... | [
"reaganshirk@ou.edu"
] | reaganshirk@ou.edu |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.