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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1ada7c2c9c6b6a43fddaf97b699fbce94891a426 | 0ab4ac8f0f8b7acaae4321ce0cabd137d28bd04a | /QOL/lagrangian/LaPSO.cpp | f3cdabca205edf9effb7e41cf04e0c50d40fc472 | [] | no_license | guskenny/stpg | 03fdc35d64baa5f3177fba196deae79758c1d915 | ed79acc241bcaec806eec4592e48be84a7315f50 | refs/heads/master | 2022-03-25T04:38:17.558558 | 2019-12-20T01:48:11 | 2019-12-20T01:48:11 | 161,317,511 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,753 | cpp | /// Generic solver for combinatorial optimisation problems using a combination
/// of Wedelin's lagrangian relaxation heuristic and particle swarm
/// optimisation. This header file follows the general pattern of the Volume
/// Algorithm implementation in the COIN-OR library to make it easy to swap
/// algorithms and m... | [
"guskenny83@gmail.com"
] | guskenny83@gmail.com |
86f2fae318f719feb3a9e59909ab65cda6083690 | ca27b9884af0e8f008ccb032fbd2e6106deced4d | /pointcal.cpp | d487341f863e524c90ce6dfdede483fb73f4f27a | [] | no_license | KimHyung/cpp | 3e32de0acb0593b23582c772921303ceb5970832 | 0c9eb225ef78c3d649c57b1ea907c22cf13e7bc3 | refs/heads/master | 2020-09-12T23:44:49.533428 | 2019-11-19T05:31:43 | 2019-11-19T05:31:43 | 222,595,784 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 339 | cpp | #include <iostream>
class Point{
private:
int x,y;
public:
Point(int pos_x, int pos_y);
};
class Geometry{
Point **point_array;
public:
Geometry(Point **point_list);
Geometry();
void Add_point(const Point &point);
void Print_Distance();
void Pr... | [
"kty5989@gmail.com"
] | kty5989@gmail.com |
f391ada0767e6773d4c105fda9f099fa83c2ca18 | 238e46a903cf7fac4f83fa8681094bf3c417d22d | /VTK/vtk_7.1.1_x64_Release/include/vtk-7.1/vtknetcdf/include/vtk_netcdf_mangle.h | bde4095297427ce7b416db106cf236d4ca47104e | [
"BSD-3-Clause"
] | permissive | baojunli/FastCAE | da1277f90e584084d461590a3699b941d8c4030b | a3f99f6402da564df87fcef30674ce5f44379962 | refs/heads/master | 2023-02-25T20:25:31.815729 | 2021-02-01T03:17:33 | 2021-02-01T03:17:33 | 268,390,180 | 1 | 0 | BSD-3-Clause | 2020-06-01T00:39:31 | 2020-06-01T00:39:31 | null | UTF-8 | C++ | false | false | 45,355 | h | #ifndef vtk_netcdf_mangle_h
#define vtk_netcdf_mangle_h
/*
This header file mangles all symbols exported from the netcdf library.
It is included in all files while building the netcdf library. Due to
namespace pollution, no netcdf headers should be included in .h files in
VTK.
The following command was us... | [
"l”ibaojunqd@foxmail.com“"
] | l”ibaojunqd@foxmail.com“ |
9345a82407805c230cbeab1112b6cac9f252515b | a91151da47ddd7690c2a5317326f67effb7f665b | /lib/cpp/src/thrift/protocol/TMultiplexedProtocol.h | 78476a8be095806fa7b50988469d2d93ccea0aca | [
"Apache-2.0",
"MIT",
"LicenseRef-scancode-public-domain-disclaimer",
"FSFAP"
] | permissive | shivam00/thrift | 8ce84c032168760057a3282dfe2abd6c8810e420 | d81e9e3d22c130ef5ddba7b06fb9802267d9d1d7 | refs/heads/master | 2020-03-30T07:37:16.444343 | 2019-01-15T16:39:07 | 2019-01-15T16:39:07 | 150,953,345 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,780 | h | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); ... | [
"shivam.gupta0002@gmail.com"
] | shivam.gupta0002@gmail.com |
ecb87ffbe9b356ec359fe41477226345d2a76688 | 7518a08a0b1280d86a8190b819ab4fb663df0b5e | /tests/all_tests.cpp | 56c715fc10dd81f77ffbbae883b576724d8a278a | [] | no_license | rootkit/h5cpp | a96703daa6d2a9188e6cb83f43114574399984fb | 47c42ab777c388669dafd6f66ac81902c924697c | refs/heads/master | 2021-06-22T20:51:43.658010 | 2016-07-06T18:35:47 | 2016-07-06T18:35:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,707 | cpp | #include <iostream>
#include "boost/multi_array.hpp"
#include "hdf5.h"
#include <memory>
#include "h5file.h"
#include <vector>
using namespace std;
int main() {
//boost array properties
const int drank = 2;
using array_type = boost::multi_array<int, drank>;
//using index = array_type::index;
size_... | [
"japarker@uchicago.edu"
] | japarker@uchicago.edu |
aa509c293a791a7ce403fbe67b24398f3074aeac | 9d364070c646239b2efad7abbab58f4ad602ef7b | /platform/external/chromium_org/cc/debug/benchmark_instrumentation.h | 909c7a34c570f338d5b35520f7f6fb36de96d5ca | [
"BSD-3-Clause"
] | permissive | denix123/a32_ul | 4ffe304b13c1266b6c7409d790979eb8e3b0379c | b2fd25640704f37d5248da9cc147ed267d4771c2 | refs/heads/master | 2021-01-17T20:21:17.196296 | 2016-08-16T04:30:53 | 2016-08-16T04:30:53 | 65,786,970 | 0 | 2 | null | 2020-03-06T22:00:52 | 2016-08-16T04:15:54 | null | UTF-8 | C++ | false | false | 1,331 | h | // 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.
#ifndef CC_DEBUG_BENCHMARK_INSTRUMENTATION_H_
#define CC_DEBUG_BENCHMARK_INSTRUMENTATION_H_
#include "cc/debug/rendering_stats.h"
namespace cc {
namespa... | [
"allegrant@mail.ru"
] | allegrant@mail.ru |
90479948f0de0f47c8cf2ad124c1779b4c136820 | 01c286c750aa34f8bed760d3919e5a58539f4a8e | /Codeforces/877C.cpp | 79da333f8bc935f52a91c16db7481cce1116cb64 | [
"MIT"
] | permissive | Alipashaimani/Competitive-programming | 17686418664fb32a3f736bb4d57317dc6657b4a4 | 5d55567b71ea61e69a6450cda7323c41956d3cb9 | refs/heads/master | 2023-04-19T03:21:22.172090 | 2021-05-06T15:30:25 | 2021-05-06T15:30:25 | 241,510,661 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 315 | cpp | #include <bits/stdc++.h>
using namespace std;
int main(){
int n; cin >> n;
cout << n + (n / 2) << '\n';
for (int i = 2; i <= n; i += 2)
cout << i << ' ';
for (int i = 1; i <= n; i += 2)
cout << i << ' ';
for (int i = 2; i <= n; i += 2)
cout << i << ' ';
return 0;
} | [
"apiv2009@icloud.com"
] | apiv2009@icloud.com |
3af878ef958ef89523c5a77214be4c4822b84654 | ebb70b0cbe7626366077cbb66a58334aaf880f49 | /slm_models/gecode.framework/Versions/48/include/gist/drawingcursor.hpp | d017500d142f44353b8c50aa4e766da8eaef044d | [
"MIT"
] | permissive | slemouton/gecodeMCP | fa06936f5159a56829a61825e90b3a297fef78dd | d038c52ffcf7351048fe5a018cee29c432d8184f | refs/heads/master | 2021-07-10T22:33:26.858361 | 2021-05-05T21:03:55 | 2021-05-05T21:03:55 | 60,289,358 | 1 | 1 | MIT | 2019-01-12T16:58:17 | 2016-06-02T18:52:11 | C++ | UTF-8 | C++ | false | false | 2,650 | hpp | /* -*- mode: C++; c-basic-offset: 2; indent-tabs-mode: nil -*- */
/*
* Main authors:
* Guido Tack <tack@gecode.org>
*
* Copyright:
* Guido Tack, 2006
*
* This file is part of Gecode, the generic constraint
* development environment:
* http://www.gecode.org
*
* Permission is hereby granted, fr... | [
"lemouton@ircam.Fr"
] | lemouton@ircam.Fr |
dc7bb473f0af0c9dc3dc8e5a9544d870e4fc7e47 | 88ae8695987ada722184307301e221e1ba3cc2fa | /third_party/blink/renderer/core/animation/timing_calculations.h | 256a1e132b89a11b011b66a06ec992371fe119d8 | [
"Apache-2.0",
"LGPL-2.0-or-later",
"MIT",
"GPL-1.0-or-later",
"BSD-3-Clause",
"LicenseRef-scancode-warranty-disclaimer",
"LGPL-2.1-only",
"GPL-2.0-only",
"LGPL-2.0-only",
"BSD-2-Clause",
"LicenseRef-scancode-other-copyleft"
] | permissive | iridium-browser/iridium-browser | 71d9c5ff76e014e6900b825f67389ab0ccd01329 | 5ee297f53dc7f8e70183031cff62f37b0f19d25f | refs/heads/master | 2023-08-03T16:44:16.844552 | 2023-07-20T15:17:00 | 2023-07-23T16:09:30 | 220,016,632 | 341 | 40 | BSD-3-Clause | 2021-08-13T13:54:45 | 2019-11-06T14:32:31 | null | UTF-8 | C++ | false | false | 18,347 | h | /*
* Copyright (C) 2013 Google Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
*
* * Redistributions of source code must retain the above copyright
* notice, this list of conditio... | [
"jengelh@inai.de"
] | jengelh@inai.de |
bf78904b65afd322bc19c5cfb76e8f6249212332 | a02a9701fca434612e1c78e20b884ab92be6b5ed | /include/datafile.h | 7664e168ba1dcb5852a7cebeadd76f4a00c8bc4b | [
"MIT"
] | permissive | alvarogonzalezferrer/warlord_premier_mr_bush | d74281b7fc904f75bb602b974a7d55c57c4fd64d | ebabaf8f5e57b9c8ba78e03af23b0788f681faa3 | refs/heads/master | 2022-11-15T08:19:59.690336 | 2020-07-04T08:37:53 | 2020-07-04T08:37:53 | 277,002,817 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,396 | h | // ---------------------------------------------------------------------------
// datafile.h
// ---------------------------------------------------------------------------
// This has data loading helpers, for loading Allegro datafiles and such.
// Has also a class for holding a datafile, with automatic error handling ... | [
"alvarogonzalezferrer@users.noreply.github.com"
] | alvarogonzalezferrer@users.noreply.github.com |
f2e27eda9a4c05fdf87b14453808f56347e7e742 | 4b7ce5c214f4705eb994102f974be8e09609fe47 | /Leetcode/20. Valid Parentheses.cpp | 648a1d063b202fb642d3a45a25991579a6706c1a | [] | no_license | SEUNGHYUN-PARK/Algorithms | ab81cbdd8d43982a79131c75cb9ba402c24faa83 | 318624cc11a844c0082b25b9fd6bd099cb1befff | refs/heads/master | 2020-03-07T21:07:55.572464 | 2019-01-15T14:26:18 | 2019-01-15T14:26:18 | 127,706,647 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 967 | cpp | class Solution {
public:
bool isValid(string s) {
stack<char> st;
if(s.size()==1) return false;
for(int i=0;i<s.size();i++)
{
if(s[i]=='('||s[i]=='['||s[i]=='{')
{
st.push(s[i]);
}
else if(s[i]==')')
{
... | [
"shstyle812@gmail.com"
] | shstyle812@gmail.com |
ee023e4c93e73edb9bce03d5ad1a96a3150883a4 | ab51ea47b534dc565142f9b8e71540daf2080430 | /Old/Contests/C1/B.cpp | 9941a1e027f0ea274786c83e6aefd49324e5ad69 | [
"MIT"
] | permissive | Thulio-Carvalho/Advanced-Algorithms-Problems | 872e90d0508e36bf05cda66714f2252d1b670769 | 724bfb765d056ddab414df7dd640914aa0c665ae | refs/heads/master | 2020-03-11T21:19:53.347622 | 2019-06-13T22:19:29 | 2019-06-13T22:19:29 | 130,261,873 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,115 | cpp | #include <bits/stdc++.h>
using namespace std;
bitset<1010> matrix[1010];
int n, m, cnt;
bool canMove(int dir, int i, int j){
// 0 = up; 1 = right; 2 = down; 3 = left
// cout << "actual pos: i=" << i << " // j=" << j << endl;
// cout << "dir = " << dir << endl;
int adderI = 0;
int adderJ = 0;
switch (dir... | [
"thulioicc@gmail.com"
] | thulioicc@gmail.com |
4a3a813885f6799b6e94c7687a5fd68a0e921646 | a6590941fea4880593d5b1cd23eedfe696f4e446 | /ABC100_199/ABC140/d.cpp | 953d6e87b8e0c2741166022af4586cd2dc7be4df | [] | no_license | cod4i3/MyAtcoder | 9fb92f2dd06c5b6217e925a82d8db4f91355a70f | 53bdac3fa7eb4ac48ca6d5c70461639beb6aa81d | refs/heads/master | 2023-02-17T09:15:16.282873 | 2021-01-15T13:34:03 | 2021-01-15T13:34:03 | 232,006,424 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 577 | cpp | #include <algorithm>
#include <iostream>
#include <vector>
using namespace std;
int main() {
int N, K;
cin >> N >> K;
string str;
cin >> str;
vector<pair<char, int>> S;
for (int l = 0; l < N;) {
int r = l + 1;
for (; r < N && str[l] == str[r]; r++)
;
S.push_back({str[l], r - l});
l =... | [
"imasdaisukiproducermasu@gmail.com"
] | imasdaisukiproducermasu@gmail.com |
9174fb214507b6496cbf31231d44e9ff1db0bfb4 | 905f576ddcf27dd166b422dec595befb89633276 | /IO/Select/Server.cpp | 514c37dabba9599e8c9aa830ae08f073c744a9c8 | [] | no_license | LuckeX/AlgorithmStudy | 52b61bfda371741fb84172eb31deb35612779d79 | 8e4eedadb8918d914329bd4c72d7c73bf29da641 | refs/heads/master | 2023-04-15T11:07:55.004047 | 2021-04-26T02:42:41 | 2021-04-26T02:42:41 | 351,471,314 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,182 | cpp |
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <errno.h>
#include <string.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <sys/time.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#define MYPORT 1234 //连接时使用的端口
#define MAXCLINE 5 //连接队列中的个数
#define BUF_SIZE 200
int fd[MAXCLINE]; /... | [
"1196862599@qq.com"
] | 1196862599@qq.com |
e3dc0e4ee92d7401003dc6d28dd78ae2ee052b0c | 39b831ae89e0ba0627b2631482efcf4b3e5e67b4 | /tests/acap/HW_updated/grey_scale.cpp | 0c5fabfe43316d3ae0ef594f8aaaf2ab92f35fb5 | [
"NCSA"
] | permissive | triSYCL/triSYCL | 082a6284ade929925fab02cbf9ac25e40c1a0ea1 | 929ec95fae74e1123734417a95577842a9911a6f | refs/heads/master | 2023-08-17T10:40:46.579696 | 2023-08-15T20:59:10 | 2023-08-15T20:59:10 | 18,943,874 | 437 | 74 | NOASSERTION | 2023-09-08T17:14:25 | 2014-04-19T15:19:51 | C++ | UTF-8 | C++ | false | false | 3,092 | cpp | /* Grey scale example on 400 acap cores.
*/
#include <sycl/sycl.hpp>
#include <cstring>
#include <iostream>
#include <vector>
#include <opencv2/core/core.hpp>
#include <opencv2/highgui/highgui.hpp>
#include <opencv2/imgproc/imgproc.hpp>
#include <opencv2/opencv.hpp>
using namespace sycl::vendor::xilinx;
auto size_x... | [
"gauthier@xilinx.com"
] | gauthier@xilinx.com |
14b453159a48b1f322d52ca3621315e208e18d7d | c0d429de0fb6afc8a03d6d4dc6b99b9b79fc72e9 | /Programme/lib/randomRoute/randomRoute.h | 91bc1b3f5d8eab70daf82d82ce8d7d4d1b2ffb66 | [] | no_license | Aegirs/ParticleScanRoom | cbb620e125da1968f2294de2f77145b307775ebe | 67e0c75138062d141c7987ee14de7b1a8720f1b8 | refs/heads/master | 2020-05-18T03:41:13.874009 | 2015-09-16T07:20:20 | 2015-09-16T07:20:20 | 42,571,517 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 265 | h | #include "moteur.h"
#include "scan.h"
class RandomRoute{
protected:
Scan* scanner;
unsigned long timeout;
public:
RandomRoute(Scan* scan);
void randomRedirection(Moteur<RandomRoute>* moteur);
bool onStop();
bool onRunBack();
bool testForward();
};
| [
"="
] | = |
74ac4d62d1bc020036da0ccae05f26fe47287ace | 3ff1fe3888e34cd3576d91319bf0f08ca955940f | /vpc/include/tencentcloud/vpc/v20170312/model/DescribeAddressTemplatesRequest.h | bfb6c58d72fda821ad72565fba059f2234d65381 | [
"Apache-2.0"
] | permissive | TencentCloud/tencentcloud-sdk-cpp | 9f5df8220eaaf72f7eaee07b2ede94f89313651f | 42a76b812b81d1b52ec6a217fafc8faa135e06ca | refs/heads/master | 2023-08-30T03:22:45.269556 | 2023-08-30T00:45:39 | 2023-08-30T00:45:39 | 188,991,963 | 55 | 37 | Apache-2.0 | 2023-08-17T03:13:20 | 2019-05-28T08:56:08 | C++ | UTF-8 | C++ | false | false | 5,345 | h | /*
* Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. 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
... | [
"tencentcloudapi@tencent.com"
] | tencentcloudapi@tencent.com |
588cc1519a670913aed7027eaf5a0db277e94103 | 02a7a13981e8a10e393f86752715df2764389ca1 | /42_Trapping_Rain_Wter_RuntimeErroe.cpp | bca7d0f68d50f6011d4916581de665b07516c89e | [] | no_license | lylalala/leetcode | 7d05f85fa279ffd87632208eb422945ab1e980a5 | 9c647fa9866512195f5d3c4b1e37c9181e209e9a | refs/heads/master | 2021-01-21T04:46:40.958853 | 2016-06-21T06:17:56 | 2016-06-21T06:17:56 | 44,017,653 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,884 | cpp | //---------------------------------------------------------------------------------------------------------------
//42题 Trapping Rain Water
//利用while循环来得到各个"峰值",求取每两个峰值之间的数据。思路错误,例如[12,1,2,2,3,4,1,2,3,12]的情况下,此办法错误
//刘阳,2015.10.13
//liuyang070424@163.com/liuyang070424@gmail.com
//---------------------------------------... | [
"liuyang070424@163.com"
] | liuyang070424@163.com |
0721440bb4c30896c3d46e736599de9918d72891 | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/git/gumtree/git_repos_function_5389_git-2.13.1.cpp | 2424146954afc01feb801f87093b7a005800956c | [] | no_license | niuxu18/logTracker-old | 97543445ea7e414ed40bdc681239365d33418975 | f2b060f13a0295387fe02187543db124916eb446 | refs/heads/master | 2021-09-13T21:39:37.686481 | 2017-12-11T03:36:34 | 2017-12-11T03:36:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,201 | cpp | static int mark_object(struct object *obj, int type, void *data, struct fsck_options *options)
{
struct object *parent = data;
/*
* The only case data is NULL or type is OBJ_ANY is when
* mark_object_reachable() calls us. All the callers of
* that function has non-NULL obj hence ...
*/
if (!obj) {
/* ...... | [
"993273596@qq.com"
] | 993273596@qq.com |
47d9b06dcbb59b76fb8d9b2b0538b948aeac2041 | f6c6f6ca06a12694b48f5422c4029070b3f7bc46 | /DynamicDLL/main.cpp | 0e5cf67c2a08c84fd4c561b622c23a4f1ba37e86 | [] | no_license | JulyaDon/DynamicDLLTritemius | c020e6d7b1c5713a05908cc1729139429237dbc5 | ce9dad6896f7a6eaee5c1a26c31ea10eb6a243d7 | refs/heads/master | 2021-01-09T20:32:43.513105 | 2016-08-08T11:25:06 | 2016-08-08T11:25:06 | 65,198,358 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 76 | cpp | extern "C" __declspec(dllexport) char* SayHello() {
return "Hello World";
} | [
"don.julya@yandex.ru"
] | don.julya@yandex.ru |
52d32d8f048b59f2e38f9123e7e06fef81f1450f | 92db2a637478ae4d2cc5857202626db4cef680f8 | /test/MidiGlobal/TestMidiGlobalFloor.cpp | 2be3a0c7fdf94b472884d68b3a856634d6968a56 | [] | no_license | adtavi/MidiMediaPlayer | 0f123731a9bf9b34a236625c61a217cd8607d495 | 4839ae2d25394c35ea0e95adba26a41b4cc08e1f | refs/heads/master | 2022-12-25T19:18:43.398925 | 2020-09-28T10:59:44 | 2020-09-28T10:59:44 | 281,145,911 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,727 | cpp | //
// TestMidiGlobalFloor.cpp
// TestMidiMediaPlayer
//
// Created by Adriel Taboada on 01/08/2020.
//
#include "catch.hpp"
#include "MidiGlobalFloor.hpp"
class TestMidiGlobalFloor
{
unique_ptr<MidiGlobalFloor> _floor;
public:
TestMidiGlobalFloor() {
MidiSettings::set_window(1024, 768);
... | [
"adriel.taboada@gmail.com"
] | adriel.taboada@gmail.com |
09b0e591aa529a89f756be2e8b0f2d0df1e459ce | 03112612a44cc95b08b982bcc2937210929520f9 | /CommandLine/datatypes headers/Datatypes.h | 5b624e9cb7588397a614c5cfac747ccaf6c170bc | [] | no_license | HaikuArchives/ScannerBe | 703b5875d471380d432790f0d1c7117f608d1d5b | c4f889efda4839f48eca92bf669a0ff54e0cdc80 | refs/heads/master | 2021-01-23T05:45:21.581579 | 2007-04-01T19:21:38 | 2007-04-01T19:21:38 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,609 | h | // Datatypes.h
// Header file for the datatypes library.
// These functions allow for easy translation of
// unknown data into known types.
#pragma once
#ifndef _DATATYPES_H_
#define _DATATYPES_H_
#include <OS.h>
#include <StorageDefs.h>
#include <InterfaceDefs.h>
#include <Mime.h>
struct Format;
class BBitmap;
... | [
"andrea@b1bb0d01-0d2d-0410-9e79-a451227b79de"
] | andrea@b1bb0d01-0d2d-0410-9e79-a451227b79de |
276e2842d22036497d79dac71b019564c33db881 | c304381776279bb96c7c73dff5147b826c1fee30 | /arg.cpp | 92b299474e40d88849ebea56422d7067a9c8c14f | [] | no_license | yuchun1214/JobShop | dfd339783f047eb24edb9e34a69318d454b1a33c | 20298374f0b1109ee09e263716d419a5a6800c6a | refs/heads/master | 2023-02-06T17:42:56.537159 | 2020-12-24T07:42:55 | 2020-12-24T07:42:55 | 291,057,637 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 249 | cpp | #include "./arg.h"
Arguments::Arguments(std::map<string, int> initArguments){
this->_arguments = initArguments
}
void Arguments::parseArgument(int argc, const char * argv[]){
for(int i = 0; i < argc; ++i){
std::cout<<argv[i]<<std::endl;
}
}
| [
"yuchunlin0075@gmail.com"
] | yuchunlin0075@gmail.com |
84b52e9cddea799d59e1932f134817c5022fa288 | 841d036dcd7ffd02137533b3c513eefb26a7a846 | /Game_test/Ship/Trash.cpp | e129d3957a808bd5e88e43d6ec2cb118d5750084 | [] | no_license | weimingtom/Project_KankoreSTG | 2e8f1b245e581888de5e4812142e01343152ac45 | 6275329e8f52b7890e08c7160bbadfee9f1dbaf3 | refs/heads/master | 2020-05-29T12:17:55.994567 | 2014-08-11T07:15:07 | 2014-08-11T07:15:07 | 33,701,128 | 1 | 0 | null | 2015-04-10T01:13:50 | 2015-04-10T01:13:50 | null | WINDOWS-1252 | C++ | false | false | 852 | cpp | //Âø³½¼ÄÄ¥Ãþ§O¹ê§@
#include "Trash.h"
Trash::Trash()
{
HP = 5;
ScaleNum = 1.0f;
ship = new hgeSprite(0,0,0,128,128);
countBulMax = 20;
ship->SetBlendMode(BLEND_ALPHABLEND | BLEND_ZWRITE);
ship->SetZ(0.5f);
ship->SetColor(0xFFFFFFFF);
newEne();
}
Trash::Trash(float newx, float newy, float newr, float ne... | [
"layidismi@gmail.com"
] | layidismi@gmail.com |
8871a72f2bddf05b2b39ee74c41a99adf6c65cc0 | 6dcda687bc386b58c6391d150a3816adf43c7cea | /SDK/Sight_RedDot_parameters.h | e77f9a909739b4934ad98db4f27a659fcb0d1a3f | [] | no_license | firebiteLR/PavlovVR-SDK | 813f49c03140c46c318cae15fd5a03be77a80c05 | 0d31dec9aa671f0e9a2fbc37a9be34a9854e06a4 | refs/heads/master | 2023-07-23T11:28:43.963982 | 2021-02-18T15:06:38 | 2021-02-18T15:06:38 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 923 | h | #pragma once
#include "../SDK.h"
// Name: , Version: 1.0.0
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
namespace SDK
{
//---------------------------------------------------------------------------
// Parameters
//---------------------------------------------------------------------------
// Function Sight_RedD... | [
"albertarlington21@gmail.com"
] | albertarlington21@gmail.com |
a28fe6864ca2d8ddc452dfbf1047b5266b6c0841 | bfeb5fd0b933f214a99ae16e2ea9aae9fefefe1d | /Adafruit/Adafruit_ILI9341.cpp | 7154e1d4f300462bc8dd36a7af9e4a4d6b77ed4e | [] | no_license | svartbjorn/Thermostat_2 | 3be5d459856d1cb377a32768106fcc74a7a83669 | 881773fa2f7835d65770f201d93ff40a78aecbef | refs/heads/master | 2016-09-14T18:48:41.410283 | 2016-04-17T03:54:20 | 2016-04-17T03:54:20 | 56,406,453 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,932 | cpp | /***************************************************
This is an Arduino Library for the Adafruit 2.2" SPI display.
This library works with the Adafruit 2.2" TFT Breakout w/SD card
----> http://www.adafruit.com/products/1480
Check out the links above for our tutorials and wiring diagrams
These displays use SPI to c... | [
"svartbjorn@users.noreply.github.com"
] | svartbjorn@users.noreply.github.com |
d7f8dfb4d1539dcb2380d86c085e7e6e13057f21 | 9bc2462106be4df51f31e44e28ea6a78b42a3deb | /pastQuestionsOneYear/09/src.cpp | 2ca51f037e0e05ceeff5cdf3ffdd6979a058a81d | [] | no_license | ysuzuki19/atcoder | 4c8128c8a7c7ed10fc5684b1157ab5513ba9c32e | 0fbe0e41953144f24197b4dcd623ff04ef5bc4e4 | refs/heads/master | 2021-08-14T19:35:45.660024 | 2021-07-31T13:40:39 | 2021-07-31T13:40:39 | 178,597,227 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 475 | cpp | #include <bits/stdc++.h>
using namespace std;
int main(){
string s;
cin >> s;
reverse(s.begin(), s.end());
for(size_t i=0; i<s.length(); ++i){
if( s.substr(i,5) == "maerd" ){
i += 4;
continue;
}
if( s.substr(i,7) == "remaerd" ){
i += 6;
continue;
}
if( s.substr(i,5) == "esare" ){
i += 4;
... | [
"msethuuh7@i.softbank.jp"
] | msethuuh7@i.softbank.jp |
246e2066c26e9fe7bad75c99816eeea31a551c4c | 9a3b99b1eeb4f10400a799b51d789d0fde156be9 | /bitcoin_v0.12.1/src/main.cpp | edfab6b49153505456e32b81235165484ac5c336 | [
"MIT"
] | permissive | aijs/blockchain | 077e7e8bf515cac5afde04498e560f300041ceff | 89ee5dc0b243847688d7063820dc1ec58394c896 | refs/heads/master | 2020-03-28T02:55:05.362321 | 2018-08-20T09:58:32 | 2018-08-20T09:58:32 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 298,710 | cpp | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2015 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "main.h"
#include "addrman.h"
#include "alert.h"
#include "arith_uint25... | [
"mistydew@qq.com"
] | mistydew@qq.com |
fae9affc22bb73220a17c9891d5e952e737cdfec | ff727506bd7b160507ead6d83659b1709b87666c | /simple_edge_detection/ios/Classes/edge_detector.cpp | f6c52533a435cd2e6acac73ce030213acfcdb1e4 | [] | no_license | kevinGmezIoT/OCR_LicenseApp | b8b2624421a691e8fb736434c5f5897bf48dff0d | e980660fac2eb34f32a96b3fc0a8457a601fd32c | refs/heads/main | 2023-03-08T02:16:22.605010 | 2021-02-16T00:22:59 | 2021-02-16T00:22:59 | 335,440,950 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,390 | cpp | #include "edge_detector.hpp"
#include <opencv2/opencv.hpp>
#include <opencv2/imgproc/types_c.h>
using namespace cv;
using namespace std;
// helper function:
// finds a cosine of angle between vectors
// from pt0->pt1 and from pt0->pt2
double EdgeDetector::get_cosine_angle_between_vectors(cv::Point pt1, cv::Point pt2... | [
"kevin.gomez.villanueva.uni@outlook.com"
] | kevin.gomez.villanueva.uni@outlook.com |
47508adeaff7c15fab77a5f0a65788fbed88973a | 04251e142abab46720229970dab4f7060456d361 | /lib/rosetta/source/src/core/energy_methods/SmoothCenPairEnergyCreator.hh | 3ee6f86b141a086f64ed56dea1ad611047eb9682 | [] | 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 | 1,516 | 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 |
32e499c0b6ed9141e563cfa6b8926506b4833d47 | 38e015252bd4151ba7bd79f9384c275d19cef5b5 | /EE205/sudoku/v4/puzzle.cc | 612ff96248720c5c06882cce8b106731c6a283fe | [] | no_license | kensw/EE205 | ca4573af1e14f2566e569136f68df120fd78c9f7 | c52d3fc7a607be5a180c9b61ffb9d8624dc34b47 | refs/heads/master | 2016-09-02T02:35:06.750460 | 2013-05-06T22:18:33 | 2013-05-06T22:18:33 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,802 | cc | /* file: puzzle_v2.cc */
#include <curses.h>
#include "puzzle.h"
#include "cell.h"
#include <ncurses.h>
#include <iostream>
using namespace std;
/************************************************/
/* */
/* Constructors */
/* */
/************************************************/
Puzzle :: Puzzle() : row(0)... | [
"kensw@wiliki.eng.hawaii.edu"
] | kensw@wiliki.eng.hawaii.edu |
1c11ca54686e3e17752615784b33fe5d80f0801b | 183bc2383944499c7f1dda1baa77cfcfbfab5ba7 | /PineEngine/Source/Pine/Rendering/OrthographicCamera.h | 19ebdc007dff2e6f58bd3831cfde14f79c46e200 | [
"Apache-2.0"
] | permissive | BradleyMarden/PineEngine | e476b92beb2d917df2dab17d441ead8106c19602 | 089cb6853a59ab37b484bb7442932da3f1ab079b | refs/heads/main | 2023-06-20T23:19:00.793561 | 2021-07-29T18:11:54 | 2021-07-29T18:11:54 | 302,451,322 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,440 | h | #pragma once
#include <glm.hpp>
#include <gtc/matrix_transform.hpp>
namespace Pine {
class OrthographicCamera
{
public:
OrthographicCamera(float p_Left, float p_Right, float p_bottom, float p_Top);
glm::vec3 GetPosition() const { return m_Pos; }
void SetPosition(const glm::vec3& p_Pos) { m_Pos = p_Pos;... | [
"bradleymarden@ez-gamelogic.com"
] | bradleymarden@ez-gamelogic.com |
e615d0df1056708a7521caac4b615c8ebc37c26a | b111f61b47581aa6236ff720c999d5fb0503b83c | /Course 1: Algorithmic Toolbox/week4_divide_and_conquer/2_majority_element/majority_element.cpp | 305b93fa5d58c24567d90f22bc8270fe8755747e | [] | no_license | biqar/data-structures-and-algorithms-specialization | 2e8d41b1538e66a5fd91a6a0058d123378f6d066 | 7c149a3330b79366c3710b4409d3e77e097f4040 | refs/heads/master | 2021-07-25T02:41:23.546913 | 2020-12-24T06:04:03 | 2020-12-24T06:04:03 | 231,165,213 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 702 | cpp | #include <algorithm>
#include <iostream>
#include <vector>
#include <map>
using std::vector;
using std::map;
int get_majority_element(vector<int> &a, int left, int right) {
if (left == right) return -1;
if (left + 1 == right) return a[left];
//write your code here
return -1;
}
int main() {
int n, x;
map<... | [
"raqib@tigerit.com"
] | raqib@tigerit.com |
2bcffb9fb8f69cb290b994cbfb6fab57bc603148 | c3782a52da4479a5ca3d0131cbacd3ff23cea572 | /NCKUOnlineJudge/contest3/pC.cpp | 7a49681a27cc578c116a5e91ace10f92cf6bfd24 | [] | 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 | 1,607 | cpp | //
// Created by ISMP on 2020/4/8.
//
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef pair<int, int> pii;
#define MAX_N 100000
pii fa[2 * MAX_N + 5];
pii find(int x) {
while (fa[x].first != x) {
fa[x] = fa[fa[x].first];
x = fa[x].first;
}
return fa[x];
}
voi... | [
"lspss92189@gmail.com"
] | lspss92189@gmail.com |
3dab1fcdc826f3cb0a8b80f1f75c04af51cd54d1 | 8b5ab02d82af519962062b2449ff9b93701bdb21 | /CPU/src/Thyristor.cpp | 23d5bc22776710aa1d980f29abaf03358373f929 | [] | no_license | LuizFelipeR/realtimeEMTP | 51df73184dc7084cc3a4b44bb1ca87dd9a235340 | 54c89992c839f5d7bd56fc987259240745a8a52f | refs/heads/master | 2021-11-22T16:40:18.979261 | 2021-11-08T16:46:33 | 2021-11-08T16:46:33 | 171,333,098 | 1 | 0 | null | 2019-03-26T12:35:50 | 2019-02-18T18:16:01 | Makefile | UTF-8 | C++ | false | false | 12,196 | cpp | #include "Thyristor.h"
#include <iostream>
#include <fstream>
#ifdef EXPANDED_SWITCH
Thyristor::Thyristor(double Value, int Node1, int Node2,Circuit& circuit) {
/*
Sets the internal values of the variables as passed by the function
*/
this->value = Value;
this->nodes[0] = Node1;
this->nodes[1]... | [
"Luizfelipecss@poli.ufrj.br"
] | Luizfelipecss@poli.ufrj.br |
1984502bb48e2e7dbc37cceb80cab82a63a7cb14 | d808d3b7576383329b21847b92a22c7552ac9ae7 | /chrome/browser/ui/webui/chromeos/login/os_install_screen_handler.cc | c8a73818e962f1a96cb41a5f1712692d53213969 | [
"BSD-3-Clause"
] | permissive | tianyu-devc/chromium | a9985e6aaab42360a16624cf62678fba4cd42376 | 8918131525c4c8b438cf593535172ef327b463f9 | refs/heads/master | 2023-06-05T02:29:40.468056 | 2021-06-28T17:50:36 | 2021-06-28T17:50:36 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,117 | cc | // Copyright 2021 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/webui/chromeos/login/os_install_screen_handler.h"
#include "base/notreached.h"
#include "chrome/browser/ash/login/screens/os_... | [
"chromium-scoped@luci-project-accounts.iam.gserviceaccount.com"
] | chromium-scoped@luci-project-accounts.iam.gserviceaccount.com |
8f5effeac8a2b07dd6a648cc0849a7130c957643 | 3e0ef6433721c5889a0af8e2740fb26c6cb31148 | /Fusion/src/Fusion/Core/Timestep.h | 7102a5a6f83b211228aa53cf0a5ddd5f5e26b60b | [
"Apache-2.0"
] | permissive | WhoseTheNerd/Fusion | a50dc957c7a26b59cd777ee30f5f6e32319b80aa | 35ab536388392b3ba2e14f288eecbc292abd7dea | refs/heads/master | 2023-04-22T09:00:07.325716 | 2021-05-17T10:14:46 | 2021-05-17T10:14:46 | 188,681,308 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 345 | h | #pragma once
#include "Fusion/Core/Base.h"
namespace Fusion {
class F_API Timestep
{
public:
Timestep(const float time = 0.0f)
: m_Time(time)
{}
operator float() const { return m_Time; }
float GetSeconds() const { return m_Time; }
float GetMilliseconds() const { return m_Time * 1000.0f; }
privat... | [
"tutorialvideohd@gmail.com"
] | tutorialvideohd@gmail.com |
fda61e34d63115d73f05a6f5c80e1f96364aab75 | 420727803d75cfd165fe755e3124070284f71bcb | /PanoHDR/jni/PanoHDR.cpp | 28ee12476a96e6501cd232da16a0f27c5cd016fe | [] | no_license | lidai89/ELEC-549 | 92329c0ef0746103916b62a059c55e87f099f567 | 8f9bbd3ff9d1fab723df445aac8afde30ff07bd8 | refs/heads/master | 2021-01-02T09:44:08.188207 | 2017-01-12T05:47:39 | 2017-01-12T05:47:39 | 78,714,090 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,447 | cpp | #include "PanoHDR.h"
#include <vector>
#include <string>
#include <iostream>
using namespace std;
//In Panorama.cpp:
void CreatePanorama(vector<string> inputImagePaths, string outputImagePath);
bool CreateHDR(vector<string> inputImagePaths, string outputImagePath);
enum ImageOperation
{
IMAGE_OP_PANORAMA = 0,
... | [
"lidai89@gmail.com"
] | lidai89@gmail.com |
031146290f650401c267467258752786e5f4a0e8 | ba8c2a94e4e5cc9760534a1d2dc6e8db20d7343e | /DirectX9/DXD9 Practice/121014 Transformation/121014 Transformation/cMatrix.h | 69b5b3af889bdafd1a5c0335030a022da1383ff8 | [
"MIT"
] | permissive | arkiny/Direct3D | a0b8730b8c812eedf5b0c01cc3aa1fe256459a1f | 4ac085976b88a0861453136f0e99d3dc7ab051c7 | refs/heads/master | 2020-12-30T10:23:13.790036 | 2017-04-02T14:02:41 | 2017-04-02T14:02:41 | 27,359,575 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 481 | h | #pragma once
#include <vector>
class vector4;
class cMatrix
{
public:
cMatrix();
~cMatrix();
void setElement(int x, int y, float value);
float getElement(int x, int y);
vector4 operator*(vector4& in);
cMatrix operator*(cMatrix& in);
cMatrix translate(float ix, float iy, float iz);
cMatrix rotateX(float deg... | [
"arkinylee@gmail.com"
] | arkinylee@gmail.com |
2d318015303f3543323c79fb02a167a99dcddd90 | e0f08f8cc9f0547a55b2263bd8b9ee17dcb6ed8c | /SPOJ/SPOJ/XMEN.cpp | 3934614da81f30fe006b6540a8b1c19ed33f7aad | [
"MIT"
] | permissive | aqfaridi/Competitve-Programming-Codes | 437756101f45d431e4b4a14f4d461e407a7df1e9 | d055de2f42d3d6bc36e03e67804a1dd6b212241f | refs/heads/master | 2021-01-10T13:56:04.424041 | 2016-02-15T08:03:51 | 2016-02-15T08:03:51 | 51,711,974 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,500 | cpp | /*******************************
// Name : Abdul Qadir Faridi
// IPG-3rd yr
// Institute : ABV-IIITM,Gwalior
*********************************/
//header files
#include <iostream>
#include <cstdio>
#include <cstring>
#include <cmath>
#include <cstdlib>
#include <climits>
#include <cassert>
#include <iomanip>
#include ... | [
"aqfaridi@gmail.com"
] | aqfaridi@gmail.com |
876fa272fefdb7e04db19bba3d41c9bb8e4ae4f2 | 6b2a8dd202fdce77c971c412717e305e1caaac51 | /solutions_5751500831719424_0/C++/Balajiganapathi/a.cpp | 1aec27f9786e8c9a7ffc57caa682d2072b700501 | [] | no_license | alexandraback/datacollection | 0bc67a9ace00abbc843f4912562f3a064992e0e9 | 076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf | refs/heads/master | 2021-01-24T18:27:24.417992 | 2017-05-23T09:23:38 | 2017-05-23T09:23:38 | 84,313,442 | 2 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 3,539 | cpp | //Coder: Balajiganapathi
#define TRACE
#define DEBUG
#include <algorithm>
#include <bitset>
#include <deque>
#include <cassert>
#include <cctype>
#include <cmath>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <ctime>
#include <functional>
#include <iomanip>
#include <iostream>
#include <list>
#inclu... | [
"eewestman@gmail.com"
] | eewestman@gmail.com |
89ac8f1712118d6f9e88abb4ab962383600486b3 | 3bc1d1c05c41ba7099edc4bf2ff90ab872892da5 | /rug_simulated_user/src/draft/race_simulated_user_JIRS_RAS.cpp | 16d91f86331c7b24b0047ed6bb7c67337fed2860 | [] | no_license | AndreiMiculita/CoR-lab | 13e506627511f13445c32ed0d4681bb131fa8f41 | d3023cf33bead2da096d53a48faff906a162066d | refs/heads/master | 2022-03-19T07:55:19.874256 | 2019-10-10T22:02:18 | 2019-10-10T22:02:18 | 208,286,044 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 35,410 | cpp | // ############################################################################
//
// Created: 1/05/2014
// Author : Hamidreza Kasaei
// Email : seyed.hamidreza@ua.pt
// Purpose: (Purely instance based learning approach)This program follows
// the teaching protocol and autonomously interact with the... | [
"andreimiculita@gmail.com"
] | andreimiculita@gmail.com |
6bf1691634695c14dd6f9de8cdaa41deeef3317f | 7f0bebd8bcdbce110f4cc6d477299366e6efe2ee | /ALGOCODING/Graph/BOJ11724_dfs.cpp | 8e039aa506d911e6f83fc3c43419e79d7a8a957d | [] | no_license | algocoding/cppsrc | 8ce1dc98a83e772524a57e800eaa2ea3c3104793 | 60e197dd295498a52d5ec214394c73117ec3b0e4 | refs/heads/master | 2021-01-21T14:53:14.575419 | 2017-08-17T04:44:25 | 2017-08-17T04:44:25 | 95,349,501 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 727 | cpp | /*
* BOJ11724_dfs.cpp
*
* 연결 요소의 개수 https://www.acmicpc.net/problem/11724
* Created on: 2017. 8. 16.
* Author: JongYun
*/
#include <cstdio>
using namespace std;
const int MAXN = 1000;
int G[MAXN + 1][MAXN + 1];
int top[MAXN + 1];
int cid[MAXN + 1];
int N, M, id;
void DFS(int v)
{
cid[v] ... | [
"jongyun.jung@gmail.com"
] | jongyun.jung@gmail.com |
1dafcae36497bc355d87aa73d824828cd73a43c2 | 136f973c53f4222addbe96e1b991b5eb538ad4ff | /cs12_labs/lab02/main.cpp | 1b0c2469128b0209074373358f134e1767101595 | [] | no_license | ksand012/UCR-Files | 0fb08348524cca4a0f700d4f6ded16d282f3b320 | 9e30b4d51b0bfcfc678ea74001b18698281f931f | refs/heads/master | 2022-06-19T08:07:13.687772 | 2020-05-06T02:45:14 | 2020-05-06T02:45:14 | 119,735,175 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 3,699 | cpp | #include <iostream>
using namespace std;
class Rational
{
private:
int numerator;
int denominator;
public:
Rational();
explicit Rational(int);
Rational(int, int);
const Rational add(const Rational &) const;
const Rational subtract(const Rational &) const;
co... | [
"ksand012@ucr.edu"
] | ksand012@ucr.edu |
0e16535fa98ed03504160d750cf9fc69237c7df5 | 67c174947d2bb6c8e01cf2093a16cf03a9925744 | /NetMePiet/src/message_selected.cpp | 223a2f6d110987c6282ed578f93861455bfbaea0 | [
"MIT"
] | permissive | Assertores/NetMePiet | 44389596556b4395db26f6b4ebc0e46d5bb2abe2 | b2054d9c41f214f6c4a285c4798fd281d5c2d12d | refs/heads/master | 2021-02-07T06:55:26.889453 | 2020-06-09T16:57:03 | 2020-06-09T16:57:03 | 243,994,139 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,054 | cpp | #include "network/messages/message_selected.hpp"
//===== ===== EXTERN ===== =====
#include <iostream>
//===== ===== INTERN ===== =====
namespace NMP::Network::Messages {
size_t Selected::DataSerialize(uint8_t buffer[], const size_t maxSize) const {
if(buffer == nullptr) {
return 0;
}
size_t payloadSize =... | [
"andreas.edmeier@web.de"
] | andreas.edmeier@web.de |
cb4281c5d3f7efa40d9798983cfe4e59d93d18cc | ddb8a1e348f3fac2c1887f20e1ca515c7380f043 | /projects/testdata/src/Graphics/TextureCubeMapData.cpp | 1702b99ad6b9e8ce3f9e5d88b121c8b4b580c88f | [] | no_license | FardeenF/OTTER | d232f3c536e5cf0b36d80d140de61cb0109e82ea | 8c5f3b7a7e5e625e23b326861ec0a38d646f2a0b | refs/heads/master | 2023-04-09T18:14:07.833139 | 2021-04-13T03:11:50 | 2021-04-13T03:11:50 | 296,718,341 | 0 | 0 | null | 2020-09-18T20:01:36 | 2020-09-18T20:01:36 | null | UTF-8 | C++ | false | false | 2,984 | cpp | ilename="../../Dialogs/ResumeRecoverySettings.ui" line="197"/>
<source>Resume Recovery</source>
<translation>Reanudar recuperación</translation>
</message>
<message>
<location filename="../../Dialogs/ResumeRecoverySettings.ui" line="216"/>
<source>Add</source>
<translatio... | [
"fardeen.faisal@ontariotechu.net"
] | fardeen.faisal@ontariotechu.net |
fc11ea693ed394c341c2c080c416ee8facc6051c | d2f59681845e912e4a8871c9b82c7360568a0cb3 | /Lab2/src/algorithm.h | af6e696d5150bc3639f716c3bd85698e73688223 | [] | no_license | reidaruss/Reid_Russell_CS3353 | be79da6437f31741015985e50995454935e33f43 | 0a3a3b5259962645a3c69f467033b3f117b39985 | refs/heads/master | 2022-03-20T20:38:18.325946 | 2019-12-05T17:49:39 | 2019-12-05T17:49:39 | 205,235,580 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 486 | h | #ifndef ALGORITHM_H
#define ALGORITHM_H
#include <string>
using namespace std;
class Algorithm{
public:
virtual void load(string filePath) = 0;
virtual void execute(int start, int end) = 0;
virtual void display() = 0;
virtual void select(int n) = 0;
virtual void save() = 0;
virtual void stats()... | [
"reidarussell@gmail.com"
] | reidarussell@gmail.com |
3ba5952acba51012627ab703f426474c1ba217d6 | 8d08e6f3e0e1ecaf53c3f996cf53df3a27ec49a3 | /src/SensitiveDetector.cc | d79ee60d3492adf36bc11b4ed2d4211e2177f24f | [] | no_license | DrWLucky/interactionDensity | 0ba723358d17042f97cb93e4670fdc08efd3004e | ba1808f29d18d151fc81fc9a89ac4fc7d14bd2b3 | refs/heads/master | 2022-04-01T22:21:19.126321 | 2020-02-11T13:43:49 | 2020-02-11T13:43:49 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,719 | cc | #include "DetectorHit.hh"
#include "RootAnalysis.hh"
#include "SensitiveDetector.hh"
#include "G4HCofThisEvent.hh"
#include "G4THitsCollection.hh"
#include "G4Step.hh"
#include "G4ThreeVector.hh"
#include "G4SDManager.hh"
#include "G4ios.hh"
#include "G4TouchableHistory.hh"
#include <G4VProcess.hh>
#include "G4RunManag... | [
"lucasmaiarios@gmail.com"
] | lucasmaiarios@gmail.com |
72b208888559a8260cf6367b8ff3348eb5181c9f | d49d382c42bf9451bb03d15be0789fd380128117 | /wx/include/wx/osx/menuitem.h | 2e064081dca4d888c91a9187878bb7d9e0418908 | [] | no_license | sukingw/MCDUSim | 30bababcc8f988befafcc7f30dcd2ed44ac027b6 | 5aea62f9e55bb8c7e6b259bc5ff4024610cf33f4 | refs/heads/master | 2023-05-28T04:18:02.996292 | 2017-03-17T02:51:58 | 2017-03-17T02:51:58 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,816 | h | ///////////////////////////////////////////////////////////////////////////////
// Name: wx/osx/menuitem.h
// Purpose: wxMenuItem class
// Author: Vadim Zeitlin
// Modified by:
// Created: 11.11.97
// RCS-ID: $Id: menuitem.h 64943 2010-07-13 13:29:58Z VZ $
// Copyright: (c) 1998 Vadim ... | [
"zhijian.xu@honeywell.com"
] | zhijian.xu@honeywell.com |
22e666e93d60a282e9df1c03ca623224c725f54a | 50040215471e72eec1fb7e8ed5cad87a5539e0e5 | /SR_FrameWork_20200330_RealRealFinal/Engine/Resources/Codes/TerrainCol.cpp | 5871b464840d5be73889b158fc62f2019bc89aab | [] | no_license | DeokgyuKim/Tycoon | 0ed71f9475d7243df7dec1eea5303a6d14aa7613 | b3b026c05c85b9482aa3d7f3c53d24470c526807 | refs/heads/main | 2023-08-15T22:25:01.668637 | 2021-10-11T00:04:06 | 2021-10-11T00:04:06 | 415,726,064 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 2,038 | cpp | #include "TerrainCol.h"
USING(ENGINE)
CTerrainCol::CTerrainCol(LPDIRECT3DDEVICE9 pGraphicDev)
: CVIBuffer(pGraphicDev)
{
}
CTerrainCol::~CTerrainCol()
{
Release();
}
void CTerrainCol::Render(WORD wIndex/* = 0*/)
{
CVIBuffer::Render();
}
HRESULT CTerrainCol::CreateBuffer(const WORD& wCntX, const WORD& wCntZ, co... | [
"kduck119@gmail.com"
] | kduck119@gmail.com |
716d1dbf06288e4104636fa07db97ed81275c881 | e083c99675bdd20c45bd97e77573344a6ea4f564 | /Project1_GL/Node.h | ba2018d383619332750c8052aefeeeafd0a5c7c6 | [] | no_license | BrettSchumacher/5611-Project-1 | 5fb82923ac8059c4a328ffb17c1678f16ac3f8fc | 7b9559379c4b4ab1cdcbefdd61bf0293d4a74ec6 | refs/heads/master | 2023-08-07T00:19:39.285693 | 2021-10-08T14:49:10 | 2021-10-08T14:49:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 558 | h | #ifndef NODE_CLASS_H
#define NODE_CLASS_H
#include"SquareCollider.h"
enum class NodeType
{
START,
END,
REGULAR
};
class Node
{
public:
SquareCollider collider;
Node* parent;
float cost;
float heuristic;
float weight;
bool seen = false;
bool visited = false;
SquareCollider* parentObst = NULL;
NodeType typ... | [
"schum830@umn.edu"
] | schum830@umn.edu |
097bb3ff3cfccf4cad71c6fe1641dec9290f8679 | 68916c0ae2c7804847622ca39312638e8caf3589 | /src/game/scenes/debug/playmat_slots.hpp | 2630002ae4ff8f31e558ee17362314ee41bbb610 | [] | no_license | NeonSky/open-pokemon-tcg | cf85161807f2b91088aefe7118694d914f4824db | 353ec2dd21e9d981b32da209fa902dabb0bd26e9 | refs/heads/master | 2022-11-24T07:45:26.194184 | 2020-07-07T15:37:56 | 2020-07-07T15:37:56 | 268,048,088 | 10 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,161 | hpp | #pragma once
#include "../../view/card.hpp"
#include "../debug_camera.hpp"
#include "../../playmats/black_playmat.hpp"
#include "../../playmats/green_playmat.hpp"
#include "../../../engine/debug/logger.hpp"
#include "../../../engine/debug/debug_drawer.hpp"
#include "../../../engine/graphics/texture.hpp"
#include "../... | [
"jacob.a.eriksson@gmail.com"
] | jacob.a.eriksson@gmail.com |
ec6a3f0859076c59d5355435b316f07fc05102f3 | 431859ff9a4904b9c4890d55567bfc9dcd013a1d | /OperatorOverloading_Exercise/OperatorOverloading_Exercise/MainBody.cpp | 1cf066bc2709956cf582a1a469c0126a239a5806 | [] | no_license | LoganPletcher/Homework | 880ce2ec67c4d298be0ee08238832babe5422ca2 | 56bc0bad69d53264a5927604f390a836cb238526 | refs/heads/master | 2021-01-21T12:46:19.357591 | 2016-09-19T15:45:39 | 2016-09-19T15:45:39 | 41,038,238 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,824 | cpp | //////////////////////////////////////////////////
// File: OperatorOverloading_Exercise //
// Author: Logan Pletcher //
// Date Created: 10/6/2015 //
// Brief: Creates a vector that overloads. //
//////////////////////////////////////////////////
#include <iostream>
#include <string>
#include "Vector2.h"... | [
"lpletch95@hotmail.com"
] | lpletch95@hotmail.com |
067390f94b608d858d1d202a65236b0a5d49a35f | e7e2acd86a83d7f32260b653363b11096a5c28c4 | /src/common/requests/MetadataResponse.cpp | 874c53e87c2f6150b83ca516cf79ecf065e64eee | [
"Apache-2.0"
] | permissive | sxzh12138/kafkaclient-cpp | d280cce80bd66a5b5b2946ec35e232baac08786b | cc13668ca4b3bf17cb94001343d3c11e8a013625 | refs/heads/master | 2020-05-21T07:39:36.999632 | 2019-05-10T08:45:35 | 2019-05-10T08:45:35 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,805 | cpp | #include "MetadataResponse.h"
#include "Errors.h"
#include "Integer.h"
#include "Utils.h"
#include "CommonFields.h"
#include "Struct.h"
#include "Schema.h"
#include "Field.h"
#include "ObjectArray.h"
#include "PartitionInfo.h"
#include "Cluster.h"
#include "ApiKeys.h"
#include "InvalidMetadataException.h"
#include "Nod... | [
"smartdu@qq.com"
] | smartdu@qq.com |
57c78390b1c0be6a85ddd7258eeb5226dff6f96a | 14012471f78447bc651bae58e78ca42f85f1f7dd | /jlx_third_party/third_party/OpenCV-android-sdk/sdk/native/jni/include/opencv2/core/mat.hpp | c93a3bbfce3448db2526891c02e35a21803214d3 | [
"BSD-3-Clause"
] | permissive | IsaiahKing/useCamera2Demo | 04d416df15f327d6013eab07ae9bbeed3cf2c216 | 83910d034c9985895696aaa7da7602af7e3fc5d0 | refs/heads/master | 2022-12-20T12:07:46.591241 | 2019-09-11T03:50:18 | 2019-09-11T03:50:18 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 153,911 | hpp | /*M///////////////////////////////////////////////////////////////////////////////////////
//
// IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING.
//
// By downloading, copying, installing or using the software you agree to this license.
// If you do not agree to this license, do not download, instal... | [
"459103831@qq.com"
] | 459103831@qq.com |
cc877cfe33de32e0ae7938e5b1f0026d1d3c8c3e | 8df198126a11543066c64a98a9d5ee24c7fa7618 | /(((... All online judge practice and contest ...)))/@@Virtual Judge/contest-3/CodeForces 158B_B - Taxi.cpp | e6be1e18777e8e0b1af17e097f52c4736dbdb08b | [] | no_license | mehadi-trackrep/ACM_Programming_related | eef0933febf44e3b024bc45afb3195b854eba719 | 7303931aa9f2ab68d76bbe04b06157b00ac9f6a6 | refs/heads/master | 2021-10-09T03:15:09.188172 | 2018-12-20T09:35:22 | 2018-12-20T09:35:22 | 117,265,703 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 994 | cpp | #include <bits/stdc++.h>
using namespace std;
int main()
{
int n;
int x,total;
scanf("%d",&n);
map <int,int> mp;
for(int i=1; i<=n; i++){ ///AC
scanf("%d",&x);
mp[x]++;
}
int one,two,three,four;
one = mp[1];
two = mp[2];
three = mp[3];
four = mp[4];
... | [
"mehadi541@gmail.com"
] | mehadi541@gmail.com |
466efe62440ddb9304985fcf922a003bbdd6d477 | f7b567677e8c788210cb00aec02742f4442f59ab | /leetcode/leetcode/src.cpp | cc0ef8c99ea8dcee8a98a05acbbd2782a4b863a5 | [] | no_license | Expost/algorithmic_practice | 77d3994de37cba65e7c866117c0d6901009e2359 | 9b288558e5b6cbb819d8043a8d3689698cc1655f | refs/heads/master | 2020-07-30T06:50:58.794518 | 2020-07-12T17:13:20 | 2020-07-12T17:13:20 | 210,123,468 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,677 | cpp | #include <stdio.h>
#include <string.h>
// 这道题跟青蛙跳楼梯一样
// 下面这种方法重复运算太多,因此需要优化
//int climbStairs(int n) {
// if (n == 0) {
// return 0;
// }
//
// if (n == 1) {
// return 1;
// }
//
// if (n == 2) {
// return 2;
// }
//
// return climbStairs(n - 1) + climbStairs(n - 2);
//}
// ... | [
"renyili@tencent.com"
] | renyili@tencent.com |
1dbbd79c14eed4d6c55899d4a726d58ec718af7d | 4bea57e631734f8cb1c230f521fd523a63c1ff23 | /projects/openfoam/rarefied-flows/impingment/sims/test/nozzle1/7.96/uniform/time | 02aea29b4cfbdc7be2882e21e31645f2c80a4ebd | [] | no_license | andytorrestb/cfal | 76217f77dd43474f6b0a7eb430887e8775b78d7f | 730fb66a3070ccb3e0c52c03417e3b09140f3605 | refs/heads/master | 2023-07-04T01:22:01.990628 | 2021-08-01T15:36:17 | 2021-08-01T15:36:17 | 294,183,829 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 998 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v1912 |
... | [
"andytorrestb@gmail.com"
] | andytorrestb@gmail.com | |
79c9c3203866f4db2016f42ac82dced4069f905e | 9ff35738af78a2a93741f33eeb639d22db461c5f | /.build/Android-Debug/jni/app/Experimental.Physics.Friction__float2.cpp | 1c45c8fc5f1b567c3ce66fb3d7fb98b4d566b3f6 | [] | no_license | shingyho4/FuseProject-Minerals | aca37fbeb733974c1f97b1b0c954f4f660399154 | 643b15996e0fa540efca271b1d56cfd8736e7456 | refs/heads/master | 2016-09-06T11:19:06.904784 | 2015-06-15T09:28:09 | 2015-06-15T09:28:09 | 37,452,199 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,551 | cpp | // This file was generated based on 'C:\ProgramData\Uno\Packages\Experimental.Physics\0.1.0\$.uno'.
// WARNING: Changes might be lost if you edit this file directly.
#include <app/Experimental.Physics.Friction__float2.h>
#include <app/Fuse.Internal.Blender__float2.h>
#include <app/Fuse.Internal.BlenderMap.h>
namespac... | [
"hyl.hsy@gmail.com"
] | hyl.hsy@gmail.com |
262aca675ec28f970f5fc7fe992f405d418dd8ce | afedeaa7b355e65109d4fc0e3e91be67e55a0558 | /shell/shell_main.cc | 5dace4695296e32cb4a8083d06877dc90b799f2d | [] | no_license | StuartHa/shell | 26cd1e89b21bb805a9d5ee2999b687a0fb0d33ea | 89579d55d765b0137e68426f9fb10bbb82131567 | refs/heads/master | 2020-07-06T10:24:42.690794 | 2016-09-10T23:59:27 | 2016-09-10T23:59:27 | 67,896,086 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,101 | cc | #include <cstdlib>
#include <cstring>
#include <iostream>
#include <string>
#include <signal.h>
#include <unistd.h>
#include "job.h"
#include "shell.h"
using std::cin;
using std::cout;
using std::cerr;
using std::endl;
using std::string;
static void handler(int sig) {
fprintf(stderr, "Process %ld received signal %d... | [
"me@stuart.pw"
] | me@stuart.pw |
72eb9bd5332d4492e2996d8939d7d8e8556e2e7c | aa0be8e15198d3302580470c73cb49513203c13b | /WindSim/src/3D/objectManager.cpp | 766bf032db7f0c16dca193378e2188751784de82 | [] | no_license | gudajan/Windsim | 0bf6c57d975c110ccdd7c822274923009dc7df9c | 5cc75deb9ea0b00739682dc48c0f4bb322e03276 | refs/heads/master | 2021-01-21T04:47:59.560952 | 2016-06-15T20:51:08 | 2016-06-15T20:51:08 | 45,236,132 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,252 | cpp | #include "objectManager.h"
#include "mesh3D.h"
#include "MeshActor.h"
#include "sky.h"
#include "skyActor.h"
#include "axes.h"
#include "axesActor.h"
#include "voxelGrid.h"
#include "voxelGridActor.h"
#include "dx11Renderer.h"
#include <d3d11.h>
#include <DirectXMath.h>
#include <DirectXPackedVector.h>
#... | [
"krohn@in.tum.de"
] | krohn@in.tum.de |
b86b3c63603ffbacf7e56f964143a261b1ab8ece | ef4d8a0d5aa7cfa3e9d16c358a7c2c41424a1b07 | /src/alert.cpp | f584e3d9f8710b09cb92475041419e9803a43f53 | [
"MIT"
] | permissive | dutcoin/dutcoin | c9810befeb7cd8cbde9a6013f589cd845b7314fb | 7c68a7e7561ca1185603be614aeefc2a96d5d3c1 | refs/heads/main | 2023-03-19T22:59:41.281470 | 2021-03-21T00:51:01 | 2021-03-21T00:51:01 | 348,498,448 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,320 | cpp | // Copyright (c) 2010 Satoshi Nakamoto
// Copyright (c) 2009-2014 The Bitcoin developers
// Copyright (c) 2017 The PIVX developers
// Copyright (c) 2018 The dutcoin developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#inc... | [
"dutcoin@hotmail.com"
] | dutcoin@hotmail.com |
17f86afd008590ecbad70e5c58453462ed4d581b | 4f4ced810f7fdcbf99593c157a87ce301d122bdf | /CFS_Knitro_2D/src/ProblemCFS.h | 2e0cdd17cb0d4d91b1aca3a40185f28a882f1bde | [
"MIT"
] | permissive | carlchan0514/CFS | 784a8c7d9c7f649a5c7314156d5851fbed993c3c | f8b4e31ae31808c45dc7a464644972f7dae5d13c | refs/heads/master | 2023-03-18T05:13:41.853710 | 2019-01-12T02:26:44 | 2019-01-12T02:26:44 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,256 | h | //#ifndef _PROBLEMCFS_H_
//#define _PROBLEMCFS_H_
#pragma once
#include "KTRSolver.h"
#include "KTRProblem.h"
#include "ProblemQP.h"
#include "d2problem.h"
#include "customizedPrint.h"
#include "PlanningProblem.h"
#include <math.h>
#include <cmath>
#include <vector>
#include <iomanip>
class ProblemCFS {
public:
//... | [
"changliu.liu@le.com"
] | changliu.liu@le.com |
87b0ff138c6a54596efe7096dbb970619a3c8763 | f504fe5f650a2f64c71a69ab450a5857dc8986f9 | /radiusImageMatch.h | 4016d653d2bb071ac66ab43af27cbf9425142ac7 | [] | no_license | Ienu/KDTREEucv | a10a5f6fa60b9444cf72bdb0b53ffdaf8e77b3c0 | dea9341369ed2a104cde93185ae06d61644fae89 | refs/heads/master | 2021-01-24T11:21:54.014472 | 2018-02-27T08:39:28 | 2018-02-27T08:39:28 | 123,078,218 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 2,223 | h | //1,radius匹配
#ifndef RADIUS_IMAGE_MATCH_H
#define RADIUS_IMAGE_MATCH_H
#include <vector>
#include<opencv2/legacy/legacy.hpp>
#include<opencv2/highgui/highgui.hpp>
#include "UcvImageMatch.h"
#include "UcvImageFeature.h"
#include "SurfFeature.h"
using namespace cv;
using namespace std;
class RadiusImageMatch: public U... | [
"0910692@mail.nankai.edu.cn"
] | 0910692@mail.nankai.edu.cn |
5b713af3c805143c1e1c9ebb8b69c86fe044709b | 53c8a1890ff5f2bc7e4943a0c5184cd7ae740960 | /viewres.h | 47f9205b6e24ba01ddff18ca2b072883b3e5117b | [] | no_license | LinuxZhaoLi/MultiInterface | 7a8c387878a42e06e37b384313645a559ba0fab4 | 5213a4cb55e2678aad6ae1a23e8278e5e6fdd2bb | refs/heads/main | 2022-12-28T13:45:50.035491 | 2020-10-13T09:39:48 | 2020-10-13T09:39:48 | 303,099,824 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 258 | h | #ifndef VIEWRES_H
#define VIEWRES_H
#include <QVariantMap>
#include <QObject>
class ViewRes : public QObject
{
Q_OBJECT
public:
explicit ViewRes(QObject *parent = 0);
QVariantMap Images();
~ViewRes();
};
#endif // VIEWRES_H
| [
"48636586+LinuxZhaoLi@users.noreply.github.com"
] | 48636586+LinuxZhaoLi@users.noreply.github.com |
f099cdaa8715a0082a4b6b24d70e8521d2ca2a5a | becdad9e2d4103971ae3f55b0fd469031ae1472c | /game/1/Psycho.h | dc7e58b2688d958cd64eb2ef77797ec83bb46e2d | [] | no_license | Bylinka/Game | 16c89cc172783010fabc8a54251ad4019875b266 | 5e38b403a4e29166a665aeaa62dc6a91abae6ddb | refs/heads/master | 2020-03-26T01:29:12.946174 | 2018-08-11T08:49:17 | 2018-08-11T08:49:17 | 144,369,412 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 364 | h | #pragma once
class Psycho
: public IUnit
{
public:
Type getType() { return Type::psycho; }
SafeCeil& nextCeil() {
switch (rand()%4) {
case 0: return self().left();
case 1: return self().right();
case 2: return self().up();
case 3: return self().down();
}
}
void move() {
while (isAlive()) {
go... | [
"w-x-t@ukr.net"
] | w-x-t@ukr.net |
71f84ac653d9cea5c49547c5e0bec37556c1a9be | 0c717271d43dd86ed4aa7f047a856a34bf2e033d | /Codeforces/Round 709(Div 2)/Matrix_XOR.cpp | c516a8cee885f1da8e072e5f1ecc100f80601877 | [] | no_license | sudo1729/CODING-SOLUTIONS | 378ff550f38f03999be665dc9020eb4eea7d364e | 0cf8657c6832f2587bfd1aa5cf5bbcd0de2ecc7d | refs/heads/master | 2023-04-19T02:01:42.824523 | 2021-04-18T05:47:07 | 2021-04-18T05:47:07 | 305,708,772 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,438 | cpp | /*
``````````````````$$$$$
`````````````$$$$$$´´´´$$$$$$
``````````$$$´´´´´´´´´´´´´´´´$$$
````````$`$$´´´´´´´´´´´´´´´´´´´´$$
```````$´$$$´´´´´´´´´´´´´´´´´´´´´$$$$
`````$´´$$$$´´´´´´´´´´´´´´´´´´´´´´´´´´$
````$´´$$$$$´´´´´´´´´´$$$$$$$´´´´´´´´´$$
```$´´´$$$$$$$´´´$$$$$$$$$$$$$$$$$´´´´´$$
``$´´´´$$$$$$$$$$$$$$$$$$$$$$$$$$$... | [
"tripathiakhilesh98163@gmail.com"
] | tripathiakhilesh98163@gmail.com |
04c0baa870d94406d0d9ecf51b4278a870b6df43 | 08b8cf38e1936e8cec27f84af0d3727321cec9c4 | /data/crawl/collectd/new_hunk_1.cpp | 609aa7d9688914d2b704c9e2409527114cf412ad | [] | no_license | ccdxc/logSurvey | eaf28e9c2d6307140b17986d5c05106d1fd8e943 | 6b80226e1667c1e0760ab39160893ee19b0e9fb1 | refs/heads/master | 2022-01-07T21:31:55.446839 | 2018-04-21T14:12:43 | 2018-04-21T14:12:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 173 | cpp | }
| block_begin block_end
{
if (strcmp($1.key, $2) != 0)
{
printf("block_begin = %s; block_end = %s;\n", $1.key, $2);
yyerror("block not closed");
YYERROR;
}
| [
"993273596@qq.com"
] | 993273596@qq.com |
90d838260b382e66afc252ca4e3f8b6e512a00c2 | a52eb0652ab3f18c76019c0ebc090a07cb5e9dd4 | /src/server/game/Pools/PoolMgr.h | a2fa9be09b838b6df5df82f5f109f61b4ed5059b | [] | no_license | szhxjt1334/WoWCircle434 | b0531ec16b76e4430d718620477d3532566188aa | de3fa2b4be52a7a683b0427269c51801fc0df062 | refs/heads/master | 2021-01-12T11:03:08.102883 | 2016-10-11T22:05:13 | 2016-10-11T22:05:13 | 72,802,348 | 0 | 1 | null | 2016-11-04T01:24:11 | 2016-11-04T01:24:10 | null | UTF-8 | C++ | false | false | 6,849 | h | /*
* Copyright (C) 2008-2015 TrinityCore <http://www.trinitycore.org/>
* Copyright (C) 2005-2009 MaNGOS <http://www.mangosproject.org/>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation; ei... | [
"Tobias Pohlmann"
] | Tobias Pohlmann |
22d09f7ff2f12855b205ed12b4777cace6c20a1e | aaadfc7a2715df2047d76be8dc0732bc0921e0cd | /Tut03OpenGLsMovingTriangle/vertPositionOffset.cpp | c89fd4784c151b7cbc93d1c1cb706bfd0e4818c7 | [
"MIT",
"LicenseRef-scancode-public-domain",
"CC-BY-3.0"
] | permissive | Zaela24/gltut | 51d72c9ed3b632dd448f371827dbfab600b8d708 | 10d6f571db9c13d7ff173f52be8e25720dbfe71b | refs/heads/master | 2022-09-07T17:57:23.080661 | 2020-05-27T04:57:14 | 2020-05-27T04:57:14 | 266,958,080 | 0 | 0 | NOASSERTION | 2020-05-26T06:03:31 | 2020-05-26T06:03:30 | null | UTF-8 | C++ | false | false | 3,181 | cpp |
#include <string>
#include <vector>
#include <math.h>
#include <stdio.h>
#include <string.h>
#include <glload/gl_3_3.h>
#include <GL/freeglut.h>
#include "../framework/framework.h"
GLuint theProgram;
GLuint offsetLocation;
void InitializeProgram()
{
std::vector<GLuint> shaderList;
shaderList.push... | [
"unknown"
] | unknown |
70277436582ef5c50415af3ddb4899380f00fcb9 | af976711c178037f4e72fc9aa5577a007da77b0d | /src/snapplot/dlg_error_options.hpp | 41cdfad192782546e772d6a295e622767cd96a9a | [
"LicenseRef-scancode-unknown-license-reference",
"LicenseRef-scancode-warranty-disclaimer",
"MIT"
] | permissive | linz/snap | 865ebb67306de3a4703eb7972397c6ffbea2f1f6 | 62e0708da11e5c918de760d06c75a27b59463461 | refs/heads/master | 2023-06-02T11:36:28.508813 | 2023-05-16T18:52:38 | 2023-05-16T18:52:38 | 43,912,064 | 8 | 5 | NOASSERTION | 2022-04-02T18:10:27 | 2015-10-08T19:35:16 | C | UTF-8 | C++ | false | false | 122 | hpp | #ifndef DLG_ERROR_OPTIONS_HPP
#define DLG_ERROR_OPTIONS_HPP
bool SetupErrorOptions( wxHelpController *help = 0 );
#endif | [
"ccrook@linz.govt.nz"
] | ccrook@linz.govt.nz |
9ca4fe6d7af207f4e7c9aa3d5266faf650e865a1 | ba9322f7db02d797f6984298d892f74768193dcf | /imm/src/model/IndexVideoRequest.cc | 65959f53ee8bd0e004e910a0707873207e7441e7 | [
"Apache-2.0"
] | permissive | sdk-team/aliyun-openapi-cpp-sdk | e27f91996b3bad9226c86f74475b5a1a91806861 | a27fc0000a2b061cd10df09cbe4fff9db4a7c707 | refs/heads/master | 2022-08-21T18:25:53.080066 | 2022-07-25T10:01:05 | 2022-07-25T10:01:05 | 183,356,893 | 3 | 0 | null | 2019-04-25T04:34:29 | 2019-04-25T04:34:28 | null | UTF-8 | C++ | false | false | 4,372 | cc | /*
* Copyright 2009-2017 Alibaba Cloud 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... | [
"haowei.yao@alibaba-inc.com"
] | haowei.yao@alibaba-inc.com |
0d3f04a927512a3c2341611e356525e6b0291157 | 34983bc6829614602be7c366864926568762c5f5 | /zubax_chibios/util/helpers.hpp | 34683bcac2a989fca23297555f7351dac770cde8 | [
"MIT"
] | permissive | zwx230741/zubax_chibios | 72e3810280cbf2ee8c2f8f0eb4fefb53be12ee46 | 2d96b0cb3d30e4108c0dce721e272e6ae5de5095 | refs/heads/master | 2020-03-19T11:37:01.585973 | 2018-06-02T17:59:13 | 2018-06-02T17:59:13 | 110,653,512 | 0 | 0 | null | 2017-11-14T07:05:57 | 2017-11-14T07:05:57 | null | UTF-8 | C++ | false | false | 1,186 | hpp | /*
* Copyright (c) 2016 Zubax, zubax.com
* Distributed under the MIT License, available in the file LICENSE.
* Author: Pavel Kirienko <pavel.kirienko@zubax.com>
*/
/*
* Various small helpers.
*/
#pragma once
#include <cassert>
#include <cstdint>
#include <utility>
#include <algorithm>
#include <iterator>
#def... | [
"pavel.kirienko@gmail.com"
] | pavel.kirienko@gmail.com |
d99f517575a4b66be85411e4d61a1a0d7a726017 | cb052ee1c43f00849811db2509d07826afb9a9bf | /xenum/test/src/xenums/FruitsNoNsNoCls.cpp | 10be555565cb5381ddc21dbfd1445ea6e01bea1c | [] | no_license | rodrigobmg/xenum | 7407731bae3eba9e7a2f1edc30fe86283425f830 | 0436738af5165e41f560b92f88bb11a92a6ed2f5 | refs/heads/master | 2020-06-08T16:39:41.674891 | 2018-07-17T00:07:04 | 2018-07-17T00:07:04 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 210 | cpp | /**
* @file
* @author Simon Lodal
* @copyright 2017-2018 Simon Lodal <simonl@parknet.dk>
* @license GNU GPL version 3
*/
#include <test/xenum/xenums/FruitsNoNsNoCls.hpp>
XENUM5_DEFINE(Fruits_NoNsNoCls)
| [
"simon.lodal@gmail.com"
] | simon.lodal@gmail.com |
d235873c2b8c0e7c341e8e7736622b14f44b269f | 065fe62aa6f9004fc91b07e6c676e8d500a47048 | /ANPR-Demo-master/ANPR/Recognise.cpp | 84e3b356a47b18f16288cea45a91935787c60f11 | [] | no_license | huyleonis/Capstone | ee8f185348e6637f0711bf01921e1f1df1f8dab4 | bebe728619453fd1097e373b87828f8c843d9677 | refs/heads/master | 2021-05-16T17:49:32.261190 | 2017-12-12T09:56:59 | 2017-12-12T09:56:59 | 103,046,379 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,639 | cpp | #include "Recognise.h"
const CvScalar RED = CV_RGB(255,0,0);
const CvScalar GREEN = CV_RGB(0,255,0);
const CvScalar BLUE = CV_RGB(0,0,255);
Recognise::Recognise() {
}
vector<IplImage *> Recognise::FindCharacter (IplImage *plate) {
vector<IplImage *> charImgVector;
vector<CvRect> rect;
IplImage *resizeImg, *binary... | [
"tin.bambo1112@gmail.com"
] | tin.bambo1112@gmail.com |
c6c7cd0b580a2d068f44f756fbf445080885306c | d7a6eebfcfbe25734889fe7b0ec597386800160b | /NovodeXWrapper/NwRagdoll.cpp | abe340756861d6f1aab3ac2b3631fd6d0b55ca17 | [] | no_license | naturalleo/coh-score | 09f3a9137ab845739f3cc4be026c014af99ed81e | ccb216f07c25457991b86d3b41ec98ff858ed187 | refs/heads/master | 2020-11-24T19:45:13.700022 | 2019-07-28T14:36:02 | 2019-07-28T14:36:02 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 38,280 | cpp | #include "NwWrapper.h"
#if NOVODEX
//#include "NxMath.h" // needs to be included before mathutil.h or there's a define conflict
#define NO_TEXT_PARSER 1
#include "NwRagdoll.h"
#include "NxActor.h"
#include "NxPhysicsSDK.h"
#include "NxMaterial.h"
#include "NxScene.h"
#include "NxJoint.h"
#include "NxFixedJoint.... | [
"omegablast2002@yahoo.com"
] | omegablast2002@yahoo.com |
c771d6605314457613e9b4b050b716f8a19cd9c1 | bb6ebff7a7f6140903d37905c350954ff6599091 | /remoting/host/win/host_service.cc | 7c1197a87ccfe14478e99b8a8ac10ba5f5acba0a | [
"BSD-3-Clause"
] | permissive | PDi-Communication-Systems-Inc/lollipop_external_chromium_org | faa6602bd6bfd9b9b6277ce3cd16df0bd26e7f2f | ccadf4e63dd34be157281f53fe213d09a8c66d2c | refs/heads/master | 2022-12-23T18:07:04.568931 | 2016-04-11T16:03:36 | 2016-04-11T16:03:36 | 53,677,925 | 0 | 1 | BSD-3-Clause | 2022-12-09T23:46:46 | 2016-03-11T15:49:07 | C++ | UTF-8 | C++ | false | false | 13,925 | cc | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//
// This file implements the Windows service controlling Me2Me host processes
// running within user sessions.
#include "remoting/host/win/host_serv... | [
"mrobbeloth@pdiarm.com"
] | mrobbeloth@pdiarm.com |
ca80201319fc676ff5a464c2dc55bc37b67de3ea | 7045bb4f95ada6e1669a3cd9520681b7e548c319 | /Meijer/Popup/Popup.h | a9b3d3a749c3282739dada71b92b2981b137f78f | [] | 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 | 1,332 | h | // Popup.h : main header file for the POPUP application
//
#if !defined(AFX_POPUP_H__0B33DE7A_F2E9_11D4_8943_00A0C9EDD46B__INCLUDED_)
#define AFX_POPUP_H__0B33DE7A_F2E9_11D4_8943_00A0C9EDD46B__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#ifndef __AFXWIN_H__
#error include 'stdafx... | [
"co185057@ncr.com"
] | co185057@ncr.com |
2547cbb4abcba3a2a8d52efe4e798c355d372e6d | 91a882547e393d4c4946a6c2c99186b5f72122dd | /Source/XPSP1/NT/inetsrv/query/web/dll/errormsg.cxx | 20e51a42cfe65747ca31513267324a632e94065a | [] | no_license | IAmAnubhavSaini/cryptoAlgorithm-nt5src | 94f9b46f101b983954ac6e453d0cf8d02aa76fc7 | d9e1cdeec650b9d6d3ce63f9f0abe50dabfaf9e2 | refs/heads/master | 2023-09-02T10:14:14.795579 | 2021-11-20T13:47:06 | 2021-11-20T13:47:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 25,942 | cxx | //+---------------------------------------------------------------------------
//
// Microsoft Windows
// Copyright (C) Microsoft Corporation, 1996 - 2000.
//
// File: errormsg.cxx
//
// Contents: Error messages for output/running queries
//
// History: 96/Mar/3 DwightKr Created
//
//-------------... | [
"support@cryptoalgo.cf"
] | support@cryptoalgo.cf |
c7d983fcd69a2a217ab8fb14d7f4fd1026ed5d8e | 48e9625fcc35e6bf790aa5d881151906280a3554 | /Sources/Elastos/LibCore/inc/org/apache/http/client/utils/CloneUtils.h | 585f640316dad172c3d9acfb0e4b3f10857f659d | [
"Apache-2.0"
] | permissive | suchto/ElastosRT | f3d7e163d61fe25517846add777690891aa5da2f | 8a542a1d70aebee3dbc31341b7e36d8526258849 | refs/heads/master | 2021-01-22T20:07:56.627811 | 2017-03-17T02:37:51 | 2017-03-17T02:37:51 | 85,281,630 | 4 | 2 | null | 2017-03-17T07:08:49 | 2017-03-17T07:08:49 | null | UTF-8 | C++ | false | false | 1,499 | h | //=========================================================================
// Copyright (C) 2012 The Elastos Open Source Project
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// ... | [
"cao.jing@kortide.com"
] | cao.jing@kortide.com |
729d513cefa270e2b1852ab097253a4179a9220f | 0c361c1dd7eb844cc26bfb683232bbde750388dc | /2tha/C.cpp | e786ce919572e3b9f3447f1ff4a1cbdf3afa91bd | [] | no_license | rizaust/sdust-cs-assignment | 831f3279ef7187b6d1e685f3790fbfc3a0228b6d | afd7ebbf8b3965eb1e704b4a2088197057477085 | refs/heads/master | 2022-05-11T09:46:23.311682 | 2022-03-29T03:02:35 | 2022-03-29T03:02:35 | 253,204,488 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,030 | cpp | #include <bits/stdc++.h>
using namespace std;
class Date {
public:
Date(int a, int b, int c) {
year = a;
month = b;
day = c;
}
void showDate() {
cout << setfill('0') << setw(4) << year << "-" << setw(2) << month
<< "-" << setw(2) << day;
}
int year, mo... | [
"540040135@qq.com"
] | 540040135@qq.com |
a25ad70b277cd84239db7472a656883c3d04c505 | 20b2af5e275469261d95d4441303d567b5c03bba | /src/brain/Behavior/DucksBehaviour/States/Initial.hpp | f72a110a4246b14091894721cd18f8bc4d8f5e20 | [
"BSD-2-Clause"
] | permissive | humanoid-robotics-htl-leonding/robo-ducks-core | efd513dedf58377dadc6a3094dd5c01f13c32eb1 | 1644b8180214b95ad9ce8fa97318a51748b5fe3f | refs/heads/master | 2022-04-26T17:19:00.073468 | 2020-04-23T07:05:25 | 2020-04-23T07:05:25 | 181,146,731 | 7 | 0 | NOASSERTION | 2022-04-08T13:25:14 | 2019-04-13T09:07:29 | C++ | UTF-8 | C++ | false | false | 243 | hpp | #pragma once
DucksActionCommand initial(const DucksDataSet &d)
{
auto command = DucksActionCommand::stand();
if (d.thoughts.handleNewState()) {
command.combineThoughtCommand(ThoughtCommand::RESET_COMPASS_DIRECTION);
}
return command;
} | [
"erik.mayrhofer@liwest.at"
] | erik.mayrhofer@liwest.at |
f944acf6e9c632fad77b358cc87851021a33b0f6 | bc39ecd1bcd53522dae37385843d8bbe949a4c9d | /practising_for_contest.cpp | f7cf41fb1eb7e5382223e472c3d7c52c246ff0f3 | [] | no_license | joydip10/Code-Practise-with-C- | e34f513e82cf1fdecf3ad4f3c40ed94430b25e71 | fdbc0c81a1db4d9a5ae47209704f0c7e0de1e926 | refs/heads/main | 2023-06-21T14:25:34.053465 | 2021-07-12T03:44:54 | 2021-07-12T03:44:54 | 385,116,630 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 113 | cpp | #include<bits//stdc++.h>
using namespace std;
int main()
{
char c[10];
scanf("%[^\n]",c);
cout<<c;
}
| [
"joydipdasNSTU@gmail.com"
] | joydipdasNSTU@gmail.com |
06f484f37048eb2b0071631e4c5861990c532849 | fbd1f6f25f42a807f2032a74782434cf082df621 | /cpp/SAIDA/DeepLearning/SharedMemoryMessageHandler.cpp | c3806b2cbf82bd090aa2be32494c6cbb8abb30d0 | [
"MIT",
"LicenseRef-scancode-protobuf"
] | permissive | rickyHong/StarCraft-RL-repl | 0fb1423ec83663767a21b487253a228e4a9675e3 | 6039dbeab185f39a19901b70916192f4915efea8 | refs/heads/master | 2022-12-12T08:57:11.700222 | 2019-05-29T03:07:15 | 2019-05-29T03:07:15 | 189,161,056 | 1 | 1 | MIT | 2022-12-08T05:10:54 | 2019-05-29T06:09:05 | C++ | UTF-8 | C++ | false | false | 381 | cpp | /*
* Copyright (C) 2019 SAMSUNG SDS <Team.SAIDA@gmail.com>
*
* This code is distribued under the terms and conditions from the MIT License (MIT).
*
* Authors : Iljoo Yoon, Daehun Jun, Hyunjae Lee, Uk Jo
*/
#include "SharedMemoryMessageHandler.h"
SharedMemoryMessageHandler::SharedMemoryMessageHandler()
{
}
S... | [
"vpds@naver.com"
] | vpds@naver.com |
66f8f07aeed297550702a3825f0144715706f1e6 | e5e657b26c2e61d2401ba3c027b2787e3ba60493 | /lib/websocket/WebSocketStatelessHandler.hpp | bbaf1ad5e307c2117ad1f4b115cb3811c9a491b0 | [
"Apache-2.0"
] | permissive | severnt/pravala-toolkit | db18cb1e6d4bb8a88b72b8ce9f4733b5f1ac4a68 | 77dac4a910dc0692b7515a8e3b77d34eb2888256 | refs/heads/master | 2021-01-02T20:39:43.640078 | 2020-02-01T16:03:28 | 2020-02-01T16:03:28 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,574 | hpp | /*
* Copyright 2019 Carnegie Technologies
*
* 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 l... | [
"narmstrong@carnegietechnologies.com"
] | narmstrong@carnegietechnologies.com |
d9856f577a1547d1d8a21178392ad5939752b856 | 408718e6d8645fdbf4706104abbcd45739902a59 | /Engine/SystemManagers/Events/EventManager.h | c18a78fba46dc1d701dfc8c8342354240467ff10 | [] | no_license | worldwebbull/ZCEngine | 5776f1272bff479a639f741a77fc9107bb78e9e3 | 68f7c93c2bf933f8742d79a47154632d6a463f52 | refs/heads/master | 2021-12-04T09:49:03.724993 | 2015-03-06T09:56:24 | 2015-03-06T09:56:24 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 958 | h | //
// EventManager.h
// ZenCoderEngine
//
// Created by Srinavin Nair on 10/18/13.
// Copyright (c) 2013 Srinavin Nair. All rights reserved.
//
#ifndef ZenCoderEngine_EventManager_h
#define ZenCoderEngine_EventManager_h
#include <SDL2/SDL.h>
#include <functional>
#include "SystemManager.h"
typedef std::function... | [
"zencoder1985@gmail.com"
] | zencoder1985@gmail.com |
c9d3c171824011d9f6f9a2a7bdc759201ae730af | 16c25858ef1e5f29f653580d4aacda69a50c3244 | /hikr/build/Android/Preview/app/src/main/include/Fuse.Triggers.WhileValue-1.h | 5b4f33c6861fac00640875e69d8190b68570f4e4 | [] | no_license | PoliGomes/tutorialfuse | 69c32ff34ba9236bc3e84e99e00eb116d6f16422 | 0b7fadfe857fed568a5c2899d176acf45249d2b8 | refs/heads/master | 2021-08-16T02:50:08.993542 | 2017-11-18T22:04:56 | 2017-11-18T22:04:56 | 111,242,469 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,954 | h | // This file was generated based on /usr/local/share/uno/Packages/Fuse.Triggers/1.2.1/$.uno.
// WARNING: Changes might be lost if you edit this file directly.
#pragma once
#include <Fuse.Animations.IBase-d3bd6f2e.h>
#include <Fuse.Animations.IUnwr-594abe9.h>
#include <Fuse.Binding.h>
#include <Fuse.INotifyUnrooted.h>
... | [
"poliana.ph@gmail.com"
] | poliana.ph@gmail.com |
8b4fdce889fa4c595bea5e68b399515644ac16f3 | 784b33a310d3a797a692758d44eca4f547a1d0b7 | /CompetitiveProgramming/greaterTwoNoIfElse.cpp | a5ba7a999a98bfec5f11531a6e7b93d41a749bf4 | [] | no_license | bikash-das/cppPrograms | cf55ee4db713fa14ec3f5ae188cbf297795c7cc9 | 8b70bce4b8a6de6c2b9076f3eec897ec625888ff | refs/heads/master | 2020-05-02T19:46:52.943982 | 2019-12-26T15:04:18 | 2019-12-26T15:04:18 | 178,168,784 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 328 | cpp | #include <iostream>
using namespace std;
int larger(int a, int b){
int c = a-b;
//find msb = k
int mask = 100000000;
int k = c & mask;
if(k == mask){
k = 1;
}
// cout << "k: " << k <<"\n";
return (1-k)*a + k * b;
}
int main(){
int a = 200, b = 100;
cout << larger(a,b) << ... | [
"dasbikash989@gmail.com"
] | dasbikash989@gmail.com |
c026ce127430cd7d9dda1030b81360b8af164855 | 16644e730cddde1df0d0ba9cfcc1c5e586e08ac9 | /DOD Ray Tracer/main.cpp | 391446ab9f76313f0b966c49de3a498b7dd22d68 | [] | no_license | rstratton/dod-ray-tracer | 969a446d853765444391f53a4425cc81322c69c4 | 52565f00c27745e422e089aa9b1ee8f45dfba611 | refs/heads/master | 2020-05-17T03:41:34.424344 | 2019-05-07T01:38:48 | 2019-05-07T01:38:48 | 183,487,423 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,140 | cpp | #include "pch.h"
#define _USE_MATH_DEFINES
#include "math.h"
#include <iostream>
#include <vector>
#include <limits>
#pragma warning(disable:4996)
inline float max(float a, float b) {
return a > b ? a : b;
}
inline float min(float a, float b) {
return a < b ? a : b;
}
struct Vector {
float x;
float ... | [
"r.a.stratton88@gmail.com"
] | r.a.stratton88@gmail.com |
5e260fb72c851f131a5f259c14e16f29151b64f4 | 9424f16b1f70e2b009872d70c32fe6ac7df563b0 | /2_Data_Structures/Fundamentals/Sparse_Table/Codeforces-Maximum_of_Maximums_of_Minimums.cpp | dbb3be0d26a2352152fb8c528c9f38cafc7d02e5 | [] | no_license | prajapati-sumit/CP-Algorithms | 196d46b8c9bad911b7120bfc33e4e1f8ad46ef9c | b4c99fa832d3ea9d9ae43a8ea1a6e33dfa678677 | refs/heads/master | 2023-08-18T04:46:11.620709 | 2021-10-11T05:57:49 | 2021-10-11T05:57:49 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,812 | cpp | // AUTHOR: SUMIT PRAJAPATI
#include "bits/stdc++.h"
using namespace std;
typedef unsigned long long ull;
typedef long long ll;
typedef pair<int, int> pii;
typedef pair<ll, ll> pl;
#define PI 3.1415926535897932384626
#define pb push_back
#define mk make_pair
#define ff first
#define ss second
#define trav(v) f... | [
"sumitprajapati821@gmail.com"
] | sumitprajapati821@gmail.com |
52ac791956fd0e7b2b8b6f76cd16f045c9c17ec6 | f700ef57902e8b92891a78d599f55328e3e02770 | /sort/sort/quick.h | cff6d71d41b387c2229e5bbc7a74fa670e2fde7e | [] | no_license | Gautumn/Algorithm | 77833ea36b64484ad0334e9b48bb5ba3bd965cc7 | e4ab697b596bd456b8b041dc6304c902fc8d05a0 | refs/heads/master | 2020-12-07T19:45:34.468096 | 2020-01-17T10:51:47 | 2020-01-17T10:51:47 | 232,784,864 | 0 | 0 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 1,340 | h | #pragma once
template <typename T, typename Comp>
size_t quickSort(std::vector<T> &v, size_t lo, size_t hi, const Comp &comp) {
size_t i = lo, j = hi + 1;
while (true) {
while (comp(a[++i], a[lo])) if (i == hi) break;
while (comp[a[lo], a[--j]]) if (j == lo) break;
if (i >= j) break;
... | [
"g_autumn@126.com"
] | g_autumn@126.com |
417f0f8305423bf823872b1af6d0c647213e031e | 2cae3c65a40a43aa1376fe8f6302ae84b2185b68 | /StJetAnalysis.cxx | 7183e05bef3a21f3b7c348ad283cfad7d43c2546 | [] | no_license | mckinziebrandon/STAR | a7039b28e4ea6367a8e4752abb8036a26722593a | e1626b9f0795cb2e8d339e42fc86b7e4cd9b2d47 | refs/heads/master | 2020-04-25T18:43:53.617355 | 2015-09-30T18:53:20 | 2015-09-30T18:53:20 | 33,167,069 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 224,377 | cxx | #include "StJetAnalysis.h"
//----------------------------------------------------------------------------------------
static TRandom ran;
static TRandom3 r3;
static TString HistName;
static char NoP[50];
static TRandom ran_gen;
//----------------------------------------------------------------------------------------
... | [
"bsmckinzie@lbl.gov"
] | bsmckinzie@lbl.gov |
7d2ef87c0c429bb3b2277e75ebf23e0c336b3210 | 4c0fcff6cbe0e4492c2df04743935037eb913566 | /osgEarth/MaskLayer | 3235a73029870e77ecc656f5a18ef2b7be2a7366 | [] | no_license | yzfx303/vxworks_osgEarth | b008856f0ea89baddc8137ec870269c76f797abc | 7edbcec888b583ac6697ec4a63d96177fc22ed22 | refs/heads/master | 2021-06-06T08:25:06.223717 | 2016-09-19T10:36:33 | 2016-09-19T10:36:33 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,784 | /* -*-c++-*- */
/* osgEarth - Dynamic map generation toolkit for OpenSceneGraph
* Copyright 2008-2010 Pelican Mapping
* http://osgearth.org
*
* osgEarth is free software; you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundat... | [
"geobeans@gmail.com"
] | geobeans@gmail.com | |
cb50f02c9c43b7927eb0324331c7dd4873c1041b | 2f97140d1b50c13ad7ac85970e6c41c30200c1b2 | /redux/Particles.cpp | cec6bf8f3d32ae4af52fa1a00eacd2d64769a915 | [] | no_license | mrdooz/codename_ch | 1b46d4b981551cbfd9eb7c63779d2820d403f52b | 4f6aa35ebc97ee4ebfabe740cda004d470edbd96 | refs/heads/master | 2016-09-06T10:35:57.357010 | 2010-02-23T20:21:41 | 2010-02-23T20:21:41 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,222 | cpp | #include "stdafx.h"
#include "Particles.hpp"
#include "Mesh.hpp"
#include "DebugRenderer.hpp"
#include "VertexBuffer.hpp"
#include "IndexBuffer.hpp"
using namespace std;
using namespace boost::assign;
extern ID3D10Device* g_d3d_device;
namespace
{
}
Particles::Particles(SystemInterface* system, EffectManager* eff... | [
"dooz@spotify.com"
] | dooz@spotify.com |
79f56291a22411f07b6509c269670edcb1d73406 | 5fbcb9b389dd4ad6f82c2d0c9f77b89527906275 | /Game/Include/Game/PhysicsComponent.h | 133ecd67b1abffe8aabaf91056dd4279898e3b1a | [] | no_license | Toopala/Spadengine | f5b32d7f661a0514a7fbeb8b094a57748fb4f8f6 | e41885884e1d816b04f8004b1b201278d752c607 | refs/heads/master | 2020-12-24T06:11:46.647175 | 2016-06-12T10:14:48 | 2016-06-12T10:14:48 | 49,644,872 | 6 | 5 | null | 2016-06-12T10:14:49 | 2016-01-14T12:05:42 | C++ | UTF-8 | C++ | false | false | 1,391 | h | #pragma once
#include "Component.h"
#include <Bullet/btBulletDynamicsCommon.h>
namespace sge
{
class PhysicsComponent : public Component
{
public:
PhysicsComponent(Entity* ent);
~PhysicsComponent();
void update();
/*void setBody(btRigidBody* bodyType)
{
body = bodyType;
}*/
/*void setShape(b... | [
"sarielirc@gmail.com"
] | sarielirc@gmail.com |
a37d248ff5e866483dccc7c19254a0daddc5b92b | a538a6605cdecbd3089445400a8ef7ef22296438 | /Code/PROJECT XYZ/Code/src/Engine/Graphics/Shapes/Triangle.cpp | c1edece85ae00b87813b77fe057af281978c97ad | [
"Unlicense"
] | permissive | Yavuz1234567890/Project-XYZ | c00c2ca6d323531d0969c51ee2461a172ed56dd2 | fa656c53b562e6cc4aceae1f3f51e205949b3e21 | refs/heads/master | 2023-04-06T17:35:56.050743 | 2021-04-14T19:46:26 | 2021-04-14T19:46:26 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,128 | cpp | #include "Graphics/Shapes/Triangle.hpp"
namespace Sonar
{
Triangle::Triangle( GameDataRef data ) : Drawable( data )
{
_object = &_shape;
_texture = new Texture( );
_shape.setPointCount( 3 );
SetInsideColor( Color::Black );
SetPosition( 0, 0 );
_globalBounds = _shape.getGlobalBounds( );
}
Triangle... | [
"SonarSystems@users.noreply.github.com"
] | SonarSystems@users.noreply.github.com |
35e9dd56ce0021fabd04ce954b61b48f45a3082f | a96cbdb9aa0d96bc420f0847a8753a6d3f36bc3a | /Lesson_9/Sample9.cpp | d83e2e647198f3898b4fa5da0a3b579801d513fd | [] | no_license | KamonohashiPerry/cplusplus | e1901842e8a9b711a39c86557d81e9cc42e8b2ab | 970a73df4526c011b9098fcfeb67beab345d71b4 | refs/heads/master | 2023-02-06T16:48:21.376905 | 2020-12-27T06:37:22 | 2020-12-27T06:37:22 | 291,221,882 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 128 | cpp | #include <iostream>
using namespace std;
int main()
{
const char* str = "Hello";
cout << str << '\n';
return 0;
} | [
"economics.teru@gmail.com"
] | economics.teru@gmail.com |
0adecbbe7631f4da808524b48273b91642b1e427 | b367fe5f0c2c50846b002b59472c50453e1629bc | /xbox_leak_may_2020/xbox trunk/xbox/private/ui/dvd/driver/dvdpldrv/Common/DVDAVDisk.h | d41084edb94a6703bd5def89a6577d326edcd8ae | [] | no_license | sgzwiz/xbox_leak_may_2020 | 11b441502a659c8da8a1aa199f89f6236dd59325 | fd00b4b3b2abb1ea6ef9ac64b755419741a3af00 | refs/heads/master | 2022-12-23T16:14:54.706755 | 2020-09-27T18:24:48 | 2020-09-27T18:24:48 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,739 | h | ////////////////////////////////////////////////////////////////////////////////
// //
// Copyright 2000-2001 STMicroelectronics, Inc. All Rights Reserved. //
// HIGHLY CONFIDENTIAL INFORMATION: This source code contains ... | [
"benjamin.barratt@icloud.com"
] | benjamin.barratt@icloud.com |
d59772b3ea7e35f5e1132888692bb74332d055c1 | 269abdb0c6479ce9c27477b5e0e59370b4292055 | /Array/mergeSortedArray.cpp | 6b3e6b021e73a7a134d0dacc07f81e83424cf12c | [] | no_license | sur4jsharma/CP | 3bcf9dce8915b71498c25b0b3d1eaab12d815fc9 | bc7a28186609735db1818a99c2032c10933e3b86 | refs/heads/master | 2022-10-11T16:37:21.079997 | 2020-06-12T08:53:21 | 2020-06-12T08:53:21 | 271,750,192 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,605 | cpp | #include<bits/stdc++.h>
using namespace std;
// void swap(int& x,int& y)
// {
// x^=y;
// y^=x;
// x^=y;
// }
void inplaceMerge(int arr1[],int arr2[],int n1,int n2)
{
int gap = n1+n2;
gap = (gap/2)+(gap%2);
int i,j;
int rem;
while(gap)
{
// cout<<"gap is:"<<gap<<endl;
... | [
"sooraj@cse.iitb.ac.in"
] | sooraj@cse.iitb.ac.in |
28c8053f7d3b7bd9d9eaa46bc7f548fd3e8ae25e | c8438ae7fcf871fccdd76fe6f30fcff2c184efda | /external/indicators/color.hpp | 39ad01e72105331b4e1a175370a6ef5c1cd8b3e6 | [] | no_license | vetlewi/MiniballREX | 7a993b657ff87f16e324562a6b11db3ad2b5f564 | 9201b39323c1b5afe46b369c4c80ca29157e19be | refs/heads/master | 2023-04-09T08:04:13.931266 | 2022-02-14T11:38:02 | 2022-02-14T11:38:02 | 257,984,777 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 164 | hpp |
#pragma once
#include <indicators/termcolor.hpp>
namespace indicators {
enum class Color { grey, red, green, yellow, blue, magenta, cyan, white, unspecified };
}
| [
"v.w.ingeberg@fys.uio.no"
] | v.w.ingeberg@fys.uio.no |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.