blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 3 264 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 5 140 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 986
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 3.89k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 23
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 145
values | src_encoding stringclasses 34
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 3 10.4M | extension stringclasses 122
values | content stringlengths 3 10.4M | authors listlengths 1 1 | author_id stringlengths 0 158 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
beb33efa1519a03909ef435d698f1d8da10ea084 | 0645361b6c328591643d0689a3694729b234aecc | /helpers/oclTools.hpp | 4305dbe669222c34afafb31cd8604e766e277668 | [] | no_license | moennen/gl_cl_interop_pingpong_st | 2036cf4783900e5c9a490a79f8e7b67f8b4b6cf2 | d8999ffaac4c67df4ad050dc26e4170054d7cda1 | refs/heads/master | 2020-03-18T12:22:31.419451 | 2017-07-14T15:57:58 | 2017-07-14T15:57:58 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,272 | hpp | #pragma once
#include <assert.h>
#include <iostream>
#include <map>
#include <CL/cl.h>
#include "nv_helpers_gl/profilertimersgl.hpp"
#include <nv_helpers/misc.hpp>
#ifdef _DEBUG
# define MAX_OCL_PLATFORMS_ASSUMED 5
# define MAX_OCL_DEVICES_ASSUMED 5
# define __ERRMAPADD(errcode) (*this)[errcode] = std::string(#err... | [
"tlorach@nvidia.com"
] | tlorach@nvidia.com |
c88b2cf00c65da1ac4144267ecdf2c295d265942 | 626893eebf4ba3f161d1619f87c2be7a966b6866 | /UI.cpp | 9560d2ff0305555d5da7e95ce77f87614d92fabf | [] | no_license | devMauris/dungen | b7c41d46b5bce699a610d705fd486e323fec2518 | 56de507343205526183222656f2d5b08b153cc70 | refs/heads/master | 2021-01-10T21:23:16.995177 | 2014-12-09T16:17:58 | 2014-12-09T16:17:58 | 27,774,483 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,026 | cpp | #include "UI.h"
#include "Engine.h"
#include "main.h"
UI::UI()
{
this->renderFPS = 0;
this->uitexts_num = 0;
this->uitexts = (UIText**) malloc(sizeof(UIText*) * this->uitexts_num);
this->uibuttons_num = 0;
this->uibuttons = (UIButton**) malloc(sizeof(UIButton*) * this->uibuttons_num);
this->uievents_num = 0;... | [
"devmauris@gmail.com"
] | devmauris@gmail.com |
5fc06b0ace007bca8dc4cc97f3e00b3b2d28ffc0 | e9ae222f6630539ab2fc92fe18a5cf1f6227a8ee | /cs140/web.eecs.utk.edu/~plank/plank/classes/cs140/Notes/Argv/argc.cpp | 9e1b0a956417fff937960404d99c885632cbefa4 | [
"MIT"
] | permissive | bfosterscripps/learning | f47ba2eb9dc20a47990714fe472d49004d84f191 | ccbcd6c2c67b0734ad516c007f1e8fd753c8c280 | refs/heads/master | 2020-05-25T10:24:00.201248 | 2015-09-23T16:06:25 | 2015-09-23T16:06:25 | 38,135,446 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 228 | cpp | #include <iostream>
#include <cstdio>
using namespace std;
main(int argc, char **argv)
{
int i;
printf("Argc is %d\n", argc);
printf("\n");
for (i = 0; i < argc; i++) {
printf("argv[%d] = %s\n", i, argv[i]);
}
}
| [
"bfosterscripps@gmail.com"
] | bfosterscripps@gmail.com |
5e22a61acd739fc0c54b148b874f727d18d44c20 | 94db0bd95a58fabfd47517ed7d7d819a542693cd | /client/ClientRes/IOSAPI/Classes/Native/mscorlib_System_Array_InternalEnumerator_1_gen2435130735.h | ca806931db337c6dfd310d7330cbc1cc37b63d66 | [] | no_license | Avatarchik/card | 9fc6efa058085bd25f2b8831267816aa12b24350 | d18dbc9c7da5cf32c963458ac13731ecfbf252fa | refs/heads/master | 2020-06-07T07:01:00.444233 | 2017-12-11T10:52:17 | 2017-12-11T10:52:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,455 | h | #pragma once
#include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <stdint.h>
// System.Array
struct Il2CppArray;
#include "mscorlib_System_ValueType3507792607.h"
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offse... | [
"1"
] | 1 |
d506b926451b2c90c7d3e99bb98578f6ae986d36 | f75aa3ee12036a0b65e1f39917f569ab9052cfaa | /trailing_zeros/trailing_zeros.cpp | aba00286f7a665546901f35712feb855707ea429 | [] | no_license | HavinLeung/CSES-problem-set | 02bff6712e45b04ce038eab2843fe26e166723ea | f3d527c4b67ce07cdf8136cb890e8ca84cde4860 | refs/heads/master | 2023-01-01T10:08:03.972259 | 2020-10-18T23:35:39 | 2020-10-18T23:35:39 | 305,004,155 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 177 | cpp | #include <iostream>
using namespace std;
int main() {
long n, count = 0;
cin >> n;
for(long i = 5; (n/i) >= 1; i*=5) {
count += n / i;
}
cout << count << endl;
} | [
"havinleung98@gmail.com"
] | havinleung98@gmail.com |
0acb07b8e79df80ce3c113bb0931e217137b8af0 | d38c54d3a5c8bfe741d2b02e702599d75f7de82d | /lab13/src/IPPacketModule.cpp | 4116af18927f14ed5f326e62b7566822b84331b9 | [] | no_license | yuhengy/NetworkLab | 2845eef8ec32fe00d0397b4bc313e2a171a40022 | 605ef1df2b529cf9a7046149bbb64def3947bb17 | refs/heads/master | 2023-02-24T17:36:59.923853 | 2021-01-28T11:12:40 | 2021-01-28T11:12:40 | 296,386,103 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,926 | cpp | #include "IPPacketModule.h"
#include "common.h"
#include "endianSwap.h"
#include "checksumBase.h"
#include "etherPacketModule.h"
#include "ARPPacketModule.h"
#include "ICMPPacketModule.h"
#include "MOSPFPacketModule.h"
#include "TCPPacketModule.h"
#include <stdio.h>
#define NEIGHBOUR_BROARDCAST_IP 0xe0000005 // 224.... | [
"yangyuheng17@mails.ucas.ac.cn"
] | yangyuheng17@mails.ucas.ac.cn |
fd8238aa757ea6265e01acb2ec50b17f9fbb81f2 | 2f10f807d3307b83293a521da600c02623cdda82 | /deps/boost/win/debug/include/boost/config/workaround.hpp | 6c55d78e4863b768f4b1fe09c5a062b4d4d78a55 | [] | no_license | xpierrohk/dpt-rp1-cpp | 2ca4e377628363c3e9d41f88c8cbccc0fc2f1a1e | 643d053983fce3e6b099e2d3c9ab8387d0ea5a75 | refs/heads/master | 2021-05-23T08:19:48.823198 | 2019-07-26T17:35:28 | 2019-07-26T17:35:28 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 129 | hpp | version https://git-lfs.github.com/spec/v1
oid sha256:31d4fd91e3ed1c01cdb49d1bc6dda8cbfd071c323da15bf40c2b58b9371ca48a
size 7558
| [
"YLiLarry@gmail.com"
] | YLiLarry@gmail.com |
f6b348d960e3e0bebb8fcf649ec4e0533ceef272 | 1068908bff46b7345822473045ad4373b52aba12 | /chap04/ex_13/main.cpp | 305b6f4d401a8e46ffd640f1ab19e5dc578d570f | [] | no_license | gtz12345/gao_tianze | f695e1d1495cb4d71c074829fa33547da546d738 | eb51995c2f9824947041fdeee958b88e8e2b0c62 | refs/heads/master | 2020-04-02T09:41:38.473903 | 2019-04-07T11:07:56 | 2019-04-07T11:07:56 | 154,305,044 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 395 | cpp | #include <iostream>
#include<iomanip>
using namespace std;
int main()
{
float a,b,c;
float d=0;
float e=0;
while(a!=-1)
{
cin>>a;
cout<<"Enter miles driven(-1 to quit):"<<a<<endl;
cin>>b;
cout<<"Enter gallons used:"<<b<<endl;
c=a/b;
cout<<"MPG this trip:"<<setprecision(8)<<c<<endl;
... | [
"1258172990@qq.com"
] | 1258172990@qq.com |
e9a1f371265859c8cc467735afc219e4f09c544f | 1c6df90a50a17b6e31b01b87734c27649340a317 | /core/profiling/stacksampling/src/sampler.h | 8cd0fd17dd47e3999905a8449e0cdf2a1cfef9f5 | [
"CC-BY-4.0",
"MIT"
] | permissive | guhuan769/samples | ebab898d8dbf0bd86b7a38ae066bbb9bdcfeb4f3 | 69ab55135199f76eead5007a14239f3478549e72 | refs/heads/main | 2023-06-26T13:30:29.843174 | 2021-07-29T21:21:01 | 2021-07-29T21:21:01 | 390,971,848 | 1 | 0 | NOASSERTION | 2021-07-30T07:24:44 | 2021-07-30T07:24:43 | null | UTF-8 | C++ | false | false | 2,272 | h | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#pragma once
#include <thread>
#include <mutex>
#include <functional>
#include <condition_variable>
#include <strin... | [
"davmason@microsoft.com"
] | davmason@microsoft.com |
579498f1f01a229576f74d84c1990f54b8a91f76 | 7d4eb0184685cc5c60ed6ad020e0ba84d2e6baa5 | /IMU_Interface/ros_lib/gazebo_msgs/LinkStates.h | 5fe324737e93ae44917ccc11446abf844299bb8e | [
"MIT"
] | permissive | utahrobotics/Electrical-2019-2020 | 6db696183ee179a64b609944a51fa87bb4ed8eb3 | bf9a417f860523f38b7cf91b6ddd2dad3b336e7a | refs/heads/master | 2022-03-13T13:41:25.530821 | 2022-03-05T19:03:41 | 2022-03-05T19:03:41 | 212,207,096 | 0 | 1 | MIT | 2020-03-11T23:31:20 | 2019-10-01T21:56:52 | C | UTF-8 | C++ | false | false | 5,208 | h | #ifndef _ROS_gazebo_msgs_LinkStates_h
#define _ROS_gazebo_msgs_LinkStates_h
#include <stdint.h>
#include <string.h>
#include <stdlib.h>
#include "ros/msg.h"
#include "geometry_msgs/Pose.h"
#include "geometry_msgs/Twist.h"
namespace gazebo_msgs
{
class LinkStates : public ros::Msg
{
public:
uint32_t nam... | [
"warnerjon12@gmail.com"
] | warnerjon12@gmail.com |
9c4789f465f4de8c888170954a99de1a1e480ef3 | 70ead37b61b875dd78139d7fccc4a977b8757454 | /Prog/include/DX.h | db342be3a628c4616b0b127cb980926991e2145a | [] | no_license | JuzuuS/Anarchy | 6b42a8d369583b821db30c988e941719ad146967 | a93d4c691847925757117e447d5c26c9ff7d414f | refs/heads/master | 2021-04-01T22:11:53.353076 | 2020-06-19T06:01:25 | 2020-06-19T06:01:25 | 248,218,174 | 0 | 0 | null | 2020-06-21T09:43:23 | 2020-03-18T11:53:43 | C++ | WINDOWS-1251 | C++ | false | false | 882 | h | #ifndef DX_H
#define DX_H
#include <Graphic.h>
using namespace GRAPHIC;
namespace dx{
class DX : public Graphic
{
public:
DX();
void SetAll();
void SetDXVersion();
float GetDXVersion();
friend std::ostream & operator << (std::ostream &out, DX &x)
... | [
"noreply@github.com"
] | JuzuuS.noreply@github.com |
27dafa1d472c53e48b439dff63ca82c5a77f7ece | c80fc771f3742dbb811815bd7e319d8bd730a149 | /3d/GLStudy004/glrenderer.cpp | 95212738b7596a01e124c698970a564476f72a9e | [] | no_license | osamu-k/QtStudy | d337425bb73bf2e2c5cdfe7ff26dde78a303762e | 66e9b50ac7b786dd4896d192355d110c010c0b82 | refs/heads/master | 2020-04-06T07:01:25.119433 | 2017-01-24T15:32:23 | 2017-01-24T15:32:23 | 15,604,471 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,511 | cpp | #include "glrenderer.h"
#include "common.h"
#include "glshaderprogram.h"
#include <QOpenGLContext>
#include <QSurface>
GLRenderer *GLRenderer::m_instance = nullptr;
GLRenderer *GLRenderer::instance()
{
LOG_METHOD_CALLED;
if( m_instance == nullptr ){
m_instance = new GLRenderer;
m_instance->... | [
"osamu-k@arion.ocn.ne.jp"
] | osamu-k@arion.ocn.ne.jp |
4cf7e5d2dc3c225ea01a078b75f286e440da1f37 | 88ae8695987ada722184307301e221e1ba3cc2fa | /third_party/blink/renderer/core/html/html_image_element.cc | e71d17e855d35e1936044ecebc63a781a859958f | [
"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",
"Apache-2.0",
"MIT",
"BSD-3-Clause"
] | 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 | 38,161 | cc | /*
* Copyright (C) 1999 Lars Knoll (knoll@kde.org)
* (C) 1999 Antti Koivisto (koivisto@kde.org)
* Copyright (C) 2004, 2005, 2006, 2007, 2008, 2010 Apple Inc. All rights
* reserved.
* Copyright (C) 2010 Google Inc. All rights reserved.
*
* This library is free software; you can redistribute it and/or
*... | [
"jengelh@inai.de"
] | jengelh@inai.de |
8048c47167f30e1c9530b48eddd4631776a9e85e | 89829d36779b856daeff4e03ff300c23fc837cbd | /108A.cpp | 369c1b2511cde125a4be2f3d8958fad4cff521ff | [] | no_license | amiralikaboli/Codeforces | a5ceadec0e08ad6f897c8be46cf48291d2dee017 | 5648ba114da88158bdb4022719beaeded6783dd8 | refs/heads/master | 2020-05-26T15:55:13.403367 | 2019-07-06T08:56:32 | 2019-07-06T08:56:32 | 188,196,151 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 539 | cpp | #include <bits/stdc++.h>
using namespace std;
bool check_pal(int x){
if (x/1000!=x%10)
return false;
if ((x/100)%10!=(x%100)/10)
return false;
if ((x/100)%10>=6)
return false;
return true;
}
int main(){
string s;
cin >> s;
int x=(s[0]-'0')*1000+(s[1]-'0')*100+(s[3]-'0')*10+(s[4]-'0');
... | [
"noreply@github.com"
] | amiralikaboli.noreply@github.com |
3eb61ebd9f6a16a9d974228fa6fb0a5fcda576e9 | 7396a56d1f6c61b81355fc6cb034491b97feb785 | /algorithms/kernel/logitboost/logitboost_train_friedman_kernel.h | 57df1fe851530246eff07aa3426a0111ade77a36 | [
"Apache-2.0",
"Intel"
] | permissive | francktcheng/daal | 0ad1703be1e628a5e761ae41d2d9f8c0dde7c0bc | 875ddcc8e055d1dd7e5ea51e7c1b39886f9c7b79 | refs/heads/master | 2018-10-01T06:08:39.904147 | 2017-09-20T22:37:02 | 2017-09-20T22:37:02 | 119,408,979 | 0 | 0 | null | 2018-01-29T16:29:51 | 2018-01-29T16:29:51 | null | UTF-8 | C++ | false | false | 3,624 | h | /* file: logitboost_train_friedman_kernel.h */
/*******************************************************************************
* Copyright 2014-2017 Intel Corporation
* All Rights Reserved.
*
* If this software was obtained under the Intel Simplified Software License,
* the following terms apply:
*
* The source co... | [
"vasily.rubtsov@intel.com"
] | vasily.rubtsov@intel.com |
2b528435a1979b46bce98462da41af1851cc5fe1 | 05bd8b96db62137f8487e602a7b8a88f2a2c0fe4 | /模拟/1019 General Palindromic Number 20分.cpp | 58e9e6da6e3944ca0a86d4ee1af37584e0d999d4 | [] | no_license | PeiLeizzz/Algorithm-PAT-A | a8b71abeb26c4127f6ee6de166b3bfa5d0b3fb61 | d1d58adb0b90e7a0fdd480e8e6d11a5de4272282 | refs/heads/master | 2022-12-23T14:47:50.912282 | 2020-08-28T12:31:57 | 2020-08-28T12:31:57 | 291,039,897 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 516 | cpp | #include <bits/stdc++.h>
using namespace std;
bool isPalindrome(int n[], int len) {
for (int i = 0; i < len / 2 + 1; i++) {
if (n[i] != n[len-i-1]) {
return false;
}
}
return true;
}
int main() {
int n, b, res[40], i = 0;
scanf("%d %d", &n, &b);
do {
res[i++] = n % b;
n /= b;
} while (n > 0);
bool ... | [
"714838284@qq.com"
] | 714838284@qq.com |
5d31151ec0fed1568c742d3949b7901fbc59cfb6 | 5b419fa0ed76b1ed2eda7558b9821b646cdb3740 | /Tech_2/C++/Projets_2011-2012/abstractvm-2015-houpla_e/sources/.svn/text-base/main.cpp.svn-base | 63666f89a2e8e3531ee050085468b0a1cf6884b8 | [] | no_license | mushishi06/epitech_perso | 5fbc8c3a015483a0fe98feacb576982075d40ebe | 5c15cfa3437da582cd0cbda12f33e1dafd95a49b | refs/heads/master | 2016-09-06T06:07:22.382724 | 2013-09-09T17:36:29 | 2013-09-09T17:36:29 | 4,077,478 | 6 | 14 | null | null | null | null | UTF-8 | C++ | false | false | 1,869 | /*
** main.c for in /home/emelyne/rendu/abstractVM
**
** Made by Emelyne
** Login <emelyne@epitech.net>
**
** Started on Fri Feb 3 10:35:37 2012 Emelyne
// Last update Thu Feb 16 00:23:00 2012 Emelyne
*/
#include <iostream>
#include <string>
#include "Chipset.hh"
#include "IO.hh"
void readIn(bool verbose)
{
s... | [
"belia.bourgeois.romain@gmail.com"
] | belia.bourgeois.romain@gmail.com | |
0e47fec3d0ab06bbc36881a4521d65ca632ca082 | fdb54ad118ebdc572ed223dc0f3686d4940c803b | /crash-reporter/ec_collector.cc | 44fde307cc50c99e8a6cb7e65f4c21cb96cf91f1 | [
"BSD-3-Clause"
] | permissive | ComputerStudyBoard/chromiumos-platform2 | 6589b7097ef226f811f55f8a4dd6a890bf7a29bb | ba71ad06f7ba52e922c647a8915ff852b2d4ebbd | refs/heads/master | 2022-03-27T22:35:41.013481 | 2018-12-06T09:08:40 | 2018-12-06T09:08:40 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,992 | cc | // Copyright 2016 The Chromium OS 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 "crash-reporter/ec_collector.h"
#include <string>
#include <base/files/file_util.h>
#include <base/logging.h>
#include <base/strings/stringp... | [
"chrome-bot@chromium.org"
] | chrome-bot@chromium.org |
f94c6b7e68b99bc2aebd6be1b0410283282c9017 | 7ee32ddb0cdfdf1993aa4967e1045790690d7089 | /Codeforces/MANTHAN2011ProblemD.cpp | 602cb165368300a47e6733f7ae70ebd2cf8920b1 | [] | no_license | ajimenezh/Programing-Contests | b9b91c31814875fd5544d63d7365b3fc20abd354 | ad47d1f38b780de46997f16fbaa3338c9aca0e1a | refs/heads/master | 2020-12-24T14:56:14.154367 | 2017-10-16T21:05:01 | 2017-10-16T21:05:01 | 11,746,917 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,441 | cpp | #include <iostream>
#include <sstream>
#include <vector>
#include <string>
#include <algorithm>
#include <utility>
#include <set>
#include <map>
#include <deque>
#include <queue>
#include <cmath>
#include <cstdlib>
#include <ctime>
#include <cstdio>
#include <stdio.h>
using namespace std;
#define fo(i,n) for(int i=0;... | [
"alejandrojh90@gmail.com"
] | alejandrojh90@gmail.com |
7ba902aad3a8c481a4b965acd624acc2ff4436ed | 0c268ff10b68c4a24023ca646bb46c5a125eb84c | /HDU_MultiSchool/day4/solution/Kth Closest Number_log^2_array.cpp | 30552dabe1cfebfd9a6eda76830edc8402664211 | [] | no_license | TzeHimSung/AcmDailyTraining | 497b9fb77c282f2f240634050e38f395cf1bedbc | 2a69fa38118e43cbeca44cb99369e6e094663ec8 | refs/heads/master | 2023-03-21T21:39:02.752317 | 2021-03-14T03:41:00 | 2021-03-14T03:41:00 | 159,670,822 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,632 | cpp | #include <bits/stdc++.h>
using namespace std;
const int N = 110000;
const int M = 2000000;
struct Node {
int l, r, p;
} a[M];
int nodes;
int root[N];
int b[N], id[N];
inline int add_node(int u) {
a[++nodes] = a[u];
a[nodes].p = a[u].p + 1;
return nodes;
}
inline int modify(int u, int l, i... | [
"zxc98567@163.com"
] | zxc98567@163.com |
dbc1ce310bdff996626a0fe8f599f44a87e472a3 | e34be4e1caceb8e55d8be6cbac1f9fcb260c7487 | /Hazel/src/hzpch.h | e478bcb056b07d3a8a2f8863559dc6c82f25560e | [
"Apache-2.0"
] | permissive | samuelweller21/Hazel | ee4b26e5ce70a467b8e8fa4f0ca493bfc221be5b | 748a819bf5b65e29a1f3624451b42ec5a1275552 | refs/heads/master | 2020-06-09T03:57:35.539443 | 2019-06-24T11:47:16 | 2019-06-24T11:47:16 | 193,365,960 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 316 | h | #pragma once
#include <iostream>
#include <memory>
#include <utility>
#include <algorithm>
#include <functional>
#include <ostream>
#include <string>
#include <sstream>
#include <vector>
#include <unordered_map>
#include <unordered_set>
#ifdef HZ_PLATFORM_WINDOWS
#include <Windows.h>
#endif
| [
"samuelweller21@hotmail.com"
] | samuelweller21@hotmail.com |
838c45ef5f6eebad830ff9aa97f95f13eb9cc944 | 4891bc37befaccb8d1c31c86395702f8f542204d | /include/Dot.h | 90f052076cef8b1caa4557eca5446eac0c2f92a0 | [] | no_license | vitorbnov/SpaceBattle | 0c174c8e7ffafe50da8139b56b95ce8732926f9f | e9488e8aff778af1790a9ae79e76b82a0669220e | refs/heads/master | 2021-01-21T19:28:25.308521 | 2015-09-22T20:38:37 | 2015-09-22T20:38:37 | 40,742,670 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 795 | h | #ifndef DOT_H
#define DOT_H
class Dot{
public:
// Constructor
Dot(void);
Dot(float, float);
// Setters
void setX(float);
void setY(float);
// Getters
float getX();
float getY();
// Sum of Dots
Dot operator+(Dot);
Dot... | [
"vitorbnov@gmail.com"
] | vitorbnov@gmail.com |
42e1be861a17e3450cdd821f92cf2f24449ee25f | 3cf9e141cc8fee9d490224741297d3eca3f5feff | /C++ Benchmark Programs/Benchmark Files 1/classtester/autogen-sources/source-8078.cpp | 76a3ca4a5fe01b60e5a583a5086f0ad29047ed6e | [] | no_license | TeamVault/tauCFI | e0ac60b8106fc1bb9874adc515fc01672b775123 | e677d8cc7acd0b1dd0ac0212ff8362fcd4178c10 | refs/heads/master | 2023-05-30T20:57:13.450360 | 2021-06-14T09:10:24 | 2021-06-14T09:10:24 | 154,563,655 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,808 | cpp | struct c0;
void __attribute__ ((noinline)) tester0(c0* p);
struct c0
{
bool active0;
c0() : active0(true) {}
virtual ~c0()
{
tester0(this);
active0 = false;
}
virtual void f0(){}
};
void __attribute__ ((noinline)) tester0(c0* p)
{
p->f0();
}
struct c1;
void __attribute__ ((noinline)) tester1(c1* p);
struct c1
{
bool ac... | [
"ga72foq@mytum.de"
] | ga72foq@mytum.de |
c4782204e4ce34e530e77f4ecacded62d3262261 | 9ceb23bf6d0ca5f2dd28eda6abf9ac63a7140fad | /DescEsp.h | fbecc34244f769704f3f525d964cbf6cd9fd32ec | [] | no_license | Henry1098/Ecoplanning | bad16d2bd9dd7639f8e36acc55aa27c0a413991d | 578fdd23bd4489d13cebbb87f7aebc340c8c1244 | refs/heads/master | 2020-04-04T19:40:39.545524 | 2019-08-26T15:03:15 | 2019-08-26T15:03:15 | 145,216,579 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,343 | h | //---------------------------------------------------------------------------
#ifndef DescEspH
#define DescEspH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include <ExtCtrls.hpp>
#include <Dia... | [
"henrynzinga@yahoo.fr"
] | henrynzinga@yahoo.fr |
414c226c62db8f2432a4f795847290b8ce3e2799 | b7e44f74d6b45f9d4df7d2e9b9f51a0f7cd6d3d4 | /csapex_point_cloud/src/visualization/cloud_renderer.h | d7625911e04cb40e1b532fd494bcf94918df845a | [] | no_license | shayan-taheri/csapex_core_plugins | f531bb00ccb6af9ae507ce89a438b267718d0b60 | 73d67e9cba1127d5f03e3edcb3352ad577e50734 | refs/heads/master | 2020-05-20T00:53:50.122440 | 2019-03-10T16:07:41 | 2019-03-10T16:07:41 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,208 | h | #ifndef CLOUD_RENDERER_H
#define CLOUD_RENDERER_H
/// PROJECT
#include <csapex_core_plugins/interactive_node.h>
#include <csapex_opencv/cv_mat_message.h>
#include <csapex_point_cloud/msg/point_cloud_message.h>
namespace csapex
{
class CloudRenderer : public InteractiveNode
{
public:
CloudRenderer();
virtual ... | [
"sebastian.buck@uni-tuebingen.de"
] | sebastian.buck@uni-tuebingen.de |
aad32b777926d0e4735d4a8c30ebb1f916bbc8b5 | e817f48e9c800423dd0ce73cfd3b304a2aa1a3f3 | /AoC1.1.cpp | bb4520ca5753d429683d5e864b908cfe8a0ea904 | [] | no_license | Piratux/Advent-of-Code-2020 | 28657eaa610f8ee2321ed5e6638186ff07263b54 | 8b639c9b2088e46048729632b2decd73d3e4ac78 | refs/heads/main | 2023-02-01T19:08:39.419041 | 2020-12-11T16:46:16 | 2020-12-11T16:46:16 | 319,647,439 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 477 | cpp | #include <iostream>
#include <fstream>
#include <vector>
using namespace std;
int get_answer()
{
vector<int> nums;
ifstream fin("input.txt");
int num = 0;
while(fin >> num)
{
nums.push_back(num);
}
for(int i = 0; i < nums.size()-1; i++)
{
for(int j = i+1; j < nums.size(); j++)
{
... | [
"noreply@github.com"
] | Piratux.noreply@github.com |
fea38868fc7051b78c2d774ac5ff394a0b50dcad | e3a7bea3acabf8a97ea0dd4b08fff119c6f6ff5b | /codechef/THUNT.cpp | 8a920d27d6b6bb455726289228dd96af180a56d3 | [] | no_license | pranjals16/practice | 2a8c6185e42786bed4ae595905f2b5cac678e087 | 3aa2e1428e9a627e7f80be9fff6e8f1b48b885ba | refs/heads/master | 2021-01-16T19:00:00.020463 | 2014-11-26T14:55:04 | 2014-11-26T14:55:04 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 517 | cpp | #include<iostream>
#include<string>
#include<cstring>
#include<vector>
#include<stack>
using namespace std;
int main(){
int n;
cin >> n;
int arr[n][n];
int st=0,ed=n-1,val=1;
bool flag=true;
while(st<=ed){
if(flag){
for(int i=0;i<n;i++)
arr[st][i]=val++;
flag=false;
st++;
}
else{
for(int i=0... | [
"pranjals16@gmail.com"
] | pranjals16@gmail.com |
f7a549a7560dbf4f6758e889ed63ac67aec251b7 | 1e831051503ae6ec1844e33cdbb2b685b1ebc2f1 | /velocity.ino | 05178e3e4e961cffadbbf402d5bab4f20b139806 | [] | no_license | Yolo-X/summer-school | 09fc5f49d5ff098064c87a86381332fe0374d0fb | a93926229b5771447c2d799b94e33f69eef9ad16 | refs/heads/master | 2022-11-24T04:02:15.528848 | 2020-08-05T07:42:49 | 2020-08-05T07:42:49 | 282,563,906 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,655 | ino | #include <PinChangeInt.h> //外部中断头文件
#include <MsTimer2.h> //定时中断头文件
#include "I2Cdev.h"
#include "Wire.h"
#define ENCODER 2
#define DIRECTION 3
volatile long Velocity= 0; //编码器数据
int Velocity_out = 0; //输出
void control() //每5ms定时中断一次进入控制函数
{
static int Velocity_Count, Encoder... | [
"897504129@qq.com"
] | 897504129@qq.com |
a6fff7e9692ac5590b2d04fd7072216190e16dc4 | f74ad0a10d93dc5e48ef04e77f314d7b8c1044a2 | /Euler2DSimpleStructured/Grid.cpp | c6880028046163261522bd29a023abaa36770fe3 | [] | no_license | patrick-palmetshofer/Euler2DSimpleStructured | 9b0c1b1e1fe0bfaf7a76092ff2f1b17313869040 | 1fcdc8222615cc71e6fd951ab1930bc5c1dba7dd | refs/heads/master | 2022-07-26T17:35:03.626030 | 2020-05-24T18:19:11 | 2020-05-24T18:19:11 | 252,957,132 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,206 | cpp | #include "Grid.h"
#include <fstream>
#include <stdexcept>
#include <iostream>
Grid::Grid()
{
}
Grid::~Grid()
{
}
double Grid::getnComponent(int i, int j, int compdim, int physdim)
{
if (compdim == 0)
{
if (physdim == 0)
return getnXiXs(i, j);
else if (physdim == 1)
return getnXiYs(i, j);
}
else if (c... | [
"patrickpapalmet@googlemail.com"
] | patrickpapalmet@googlemail.com |
328fa0c3aa15743520dc903c1eacec5809a42db9 | f418d0691d5fc49090325bc3bf022f27973967d2 | /third_party/odb-2.5.0-x86_64-windows/include/libbutl/manifest-types.mxx | 123a5c7bb0817a754c43172e3601fdad2c0486b7 | [] | no_license | asdlei99/libodb-release | c4350d35a67608c7ace92c5760cd4e30f469db24 | c4a4dfb7f490ba367f10477963712e4395acfebd | refs/heads/master | 2020-08-22T19:25:02.023815 | 2019-09-29T02:48:33 | 2019-09-29T02:51:08 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,040 | mxx | // file : libbutl/manifest-types.mxx -*- C++ -*-
// copyright : Copyright (c) 2014-2019 Code Synthesis Ltd
// license : MIT; see accompanying LICENSE file
#ifndef __cpp_modules_ts
#pragma once
#endif
// C includes.
#ifndef __cpp_lib_modules_ts
#include <string>
#include <cstdint> // uint64_t
#endif
// Othe... | [
"jack.wgm@gmail.com"
] | jack.wgm@gmail.com |
7620c90f99cf135290c769a3104e6483b9d937b7 | 42fe12b53f2df385d948a01ee21f8d6160082c23 | /src/shitomasi.cpp | 1cddca22c0a8d539daf327e42f3238c9cc61458a | [] | no_license | francois-keith/libvision | af0b7f23cbc8a64eb23947a251a6079aa1f43666 | 3d9557c537d983d7d20f35a404398861948536a1 | refs/heads/master | 2020-12-25T08:37:47.506335 | 2014-05-13T10:39:14 | 2014-05-13T10:52:23 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 970 | cpp | #include <math.h>
#include <iostream>
#include <vision/corners/shitomasi.h>
namespace vision {
double ShiTomasi_score ( Image<unsigned char, MONO> & image, int nHalfBoxSize, ImageRef irCenter)
{
double dXX = 0;
double dYY = 0;
double dXY = 0;
ImageRef irStart = irCenter - ImageRef(nHalfBoxSize, nHalfBoxSi... | [
"seb@homedruon.com"
] | seb@homedruon.com |
ee006095d4d739a33b0fe224e4422f62d5e379dc | ef4eae29b793a2beb87c9d157bfe04d9be92b8cc | /lab_12/include/my_vector_impl.h | 4fd3021759c7c34f59f77e3156523aa1f41fe820 | [] | no_license | salkaevruslan/hse-cpp-homework | bfe53187ba7e707cbd0c031d6ad135e3f2176dc6 | 9e8af98595687d42e58aa8e6ad3cf203d0691d42 | refs/heads/main | 2022-12-22T09:10:13.168862 | 2020-10-03T10:23:42 | 2020-10-03T10:23:42 | 300,852,430 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,303 | h | #ifndef MY_VECTOR_IMPL_H
#define MY_VECTOR_IMPL_H
#include "my_vector.h"
#include <cstdio>
#include <cstdlib>
#include <memory>
namespace my_vector {
template<typename T>
my_vector<T>::my_vector() noexcept :size_(0), capacity_(0), array_(nullptr) {}
template<typename T>
my_vector<T>::my_vector(std::... | [
"rsalkaev@gmail.com"
] | rsalkaev@gmail.com |
b283acddb15baf7f71a2d3ff6209595a608384bd | 7783895146103511cddb79cf029a388614f64d9f | /userFiles/simu/cpp_interface/CppInterface.cc | af3f01aa6fb95a7a4c4c06d57f7e3a606f06d41d | [] | no_license | Astreos/mobile_robots | 4968762839d5f16f3e83d7892451bb0728fdc20c | 254298dad519db954fe01a443afb0d6e98c35a5d | refs/heads/master | 2021-01-11T09:02:07.201700 | 2017-06-06T16:04:34 | 2017-06-06T16:04:34 | 77,303,464 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 699 | cc | #include "CppInterface.hh"
/*! \brief constructor
*
* \param[in] mbs_data Robotran structure
*/
CppInterface::CppInterface(MbsData *mbs_data)
{
ListElements *list_elem;
this->mbs_data = mbs_data;
rolling = new RollingGestion(mbs_data);
actuators = new ActuatorGestion(mbs_data);
list_elem = n... | [
"spideraider@gmail.com"
] | spideraider@gmail.com |
f4906e1d0e63bc84e9127c93b2cc2e662df33e44 | 38c10c01007624cd2056884f25e0d6ab85442194 | /components/web_view/frame_connection.cc | 68d8fc082b59cf19fe9bbe015bf89f4e2d6b2685 | [
"BSD-3-Clause"
] | permissive | zenoalbisser/chromium | 6ecf37b6c030c84f1b26282bc4ef95769c62a9b2 | e71f21b9b4b9b839f5093301974a45545dad2691 | refs/heads/master | 2022-12-25T14:23:18.568575 | 2016-07-14T21:49:52 | 2016-07-23T08:02:51 | 63,980,627 | 0 | 2 | BSD-3-Clause | 2022-12-12T12:43:41 | 2016-07-22T20:14:04 | null | UTF-8 | C++ | false | false | 5,728 | cc | // Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "components/web_view/frame_connection.h"
#include "base/bind.h"
#include "base/callback.h"
#include "components/clipboard/public/interfaces/clip... | [
"zeno.albisser@hemispherian.com"
] | zeno.albisser@hemispherian.com |
768e5557f920238eefcc87001de8783a3b27eb9b | 7b6e927d42ad155d8b827c345c2b2dffa7bd003b | /library/view/controls/tree/tree_view.cpp | 9238e1f954b46fc457670d5909baf8f214993122 | [] | no_license | wang70937/x-framework | d6b06a2910728bdfc219c9d1d166a71ce2c8233c | ccd772cfc28e724382800a30101e1f8c0e6bcde8 | refs/heads/master | 2021-01-24T09:18:01.883650 | 2016-09-29T01:47:20 | 2016-09-29T01:47:20 | 69,445,984 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 32,668 | cpp |
#include "tree_view.h"
#include "base/logging.h"
#include "base/stl_utilinl.h"
#include "base/win/win_util.h"
#include "ui_gfx/canvas_skia.h"
#include "ui_gfx/icon_util.h"
#include "ui_base/keycodes/keyboard_code_conversion_win.h"
#include "ui_base/l10n/l10n_util_win.h"
#include "ui_base/resource/app_res_ids.h"
#in... | [
"wang70937@163.com"
] | wang70937@163.com |
9f558535028ee3d9aa0a4908ca5fbd5a411ea012 | 8ae31e5db1f7c25b6ce1c708655ab55c15dde14e | /题目/洛谷/P1317_低洼地.cpp | 37c136aeb539651107dce500fbd2c6a3d7519ecf | [] | no_license | LeverImmy/Codes | 99786afd826ae786b5024a3a73c8f92af09aae5d | ca28e61f55977e5b45d6731bc993c66e09f716a3 | refs/heads/master | 2020-09-03T13:00:29.025752 | 2019-12-16T12:11:23 | 2019-12-16T12:11:23 | 219,466,644 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 531 | cpp | #include <cstdio>
#include <iostream>
#include <cstring>
#include <cmath>
#include <cctype>
#include <algorithm>
#include <cstdlib>
using namespace std;
int n,j;
int a[10100],b[10100];
int cnt;
int main()
{
scanf("%d",&n);
for(int i=1;i<=n;i++)
scanf("%d",&a[i]);//输入
for(int i=1;i<=n;i++)
if(a[i]!=a[i+1])
{... | [
"506503360@qq.com"
] | 506503360@qq.com |
620ea42c114110d61fcb74a8164aaa164af087cc | 9ecbc437bd1db137d8f6e83b7b4173eb328f60a9 | /gcc-build/i686-pc-linux-gnu/libjava/java/security/acl/Owner.h | 069d367c398c3097451b264cd5dc79f2147577a5 | [] | no_license | giraffe/jrate | 7eabe07e79e7633caae6522e9b78c975e7515fe9 | 764bbf973d1de4e38f93ba9b9c7be566f1541e16 | refs/heads/master | 2021-01-10T18:25:37.819466 | 2013-07-20T12:28:23 | 2013-07-20T12:28:23 | 11,545,290 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 797 | h | // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
#ifndef __java_security_acl_Owner__
#define __java_security_acl_Owner__
#pragma interface
#include <java/lang/Object.h>
extern "Java"
{
namespace java
{
namespace security
{
namespace acl
{
class Owner;
}
clas... | [
"giraffe410@126.com"
] | giraffe410@126.com |
8fe46ed4c4105eac0ba49335170470e5770e7ce1 | 1c1041b02adde6f1e5aa7c960e1a1aa91aea1130 | /src/CH5/accessPixel3.cpp | 25da900a17b0178954c498249d61ec26baf6bd36 | [] | no_license | realingy/opencv_examples_cpp | 4f7aeb356040c3528add3d1f0b9478a043dd9dbb | 76bdde2cdb1ef251f05cc7b058f0cea384a82913 | refs/heads/master | 2022-01-18T01:06:50.651491 | 2021-04-17T14:25:43 | 2021-04-17T14:25:43 | 215,931,637 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,176 | cpp | #include <iostream>
#include <opencv2/core/core.hpp>
#include <opencv2/highgui/highgui.hpp>
using namespace std;
void colorReduce(const cv::Mat& inputImage, cv::Mat& dst, int div);
int main() {
cv::Mat src = cv::imread("", cv::IMREAD_UNCHANGED);
imshow("src", src);
cv::Mat dst;
dst.create(src.rows, src.cols... | [
"754037927@qq.com"
] | 754037927@qq.com |
a4ed8c2f59e7da35601dacdd6e8a24973b1afc2c | 5969f0d18f38e0401bd007a9a17908424444f1c0 | /Projects/_8Interrupts/_2ISRandSemaphore/_2ISRandSemaphore.ino | 92bf807d20665dd62f1270dfcc651037248e0bf0 | [] | no_license | mustafaylmz1995/Arduino_FreeRTOS_Basics | 884d28c4e1ff78fee82c0fa4e57980afd3531876 | 06d6eb0492987bda6bb17f7badae0494d7fb521c | refs/heads/main | 2023-02-01T11:22:53.805662 | 2020-12-20T14:23:33 | 2020-12-20T14:23:33 | 323,088,376 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,877 | ino | #include <Arduino_FreeRTOS.h>
#include <semphr.h>
#define GREEN 8
#define YELLOW 7
#define RED 6
const uint16_t *LED_ARR[] = {
(uint16_t *)GREEN,
(uint16_t *)YELLOW,
(uint16_t *)RED
};
SemaphoreHandle_t intrSemt;
int timer1_cnt;
void setup(){
Serial.begin(230400);
pi... | [
"noreply@github.com"
] | mustafaylmz1995.noreply@github.com |
fc8706fcad973b5823ef61d58f2b1d54e05e8f6d | ce8250ecd5bb3ac312130c08a34d3fc6d3347f25 | /IS/IS/scene.h | 51dbbba6dab0127b8a46a7382510879629791e64 | [] | no_license | kkanua/comp_graph | 28dce3ec0e8ef561c6a6d1ad582af5429617e748 | d2d9a1676338096b9c3a1de93ae78020306db5b0 | refs/heads/master | 2020-12-29T05:51:32.399732 | 2020-02-05T15:09:17 | 2020-02-05T15:09:17 | 238,479,236 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,142 | h | #ifndef SCENE_H
#define SCENE_H
#include <QImage>
#include <QFile>
#include <QTextStream>
#include <iostream>
#include "legend.h"
#include "colormap.h"
#include "function.h"
class Scene
{
private:
ColorMap map;
Legend legend;
Function f;
public:
Scene();
void drawColorMap(QImage& image, QImage&... | [
"kania.kirill@gmail.com"
] | kania.kirill@gmail.com |
f930d399aacd4fe9c0a9ff2d0bff4366d45af5e5 | 7297c853e9e2f7e63f5e7cc8fa36581739b7da9a | /protobufdetailwidget.cpp | 281db4278f280814fc304052fb958ec6ef46794c | [] | no_license | lswzzzzz/ProtoBufTransForm | b755f2c062ed4d4e361131aea43bdcbad0f2c007 | 3c992e4313035470095e96a0512d8fbac00312a5 | refs/heads/master | 2021-01-20T18:27:36.041995 | 2016-08-02T10:49:00 | 2016-08-02T10:49:00 | 64,748,819 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,224 | cpp | #include "protobufdetailwidget.h"
#include <QFileDialog>
#include <sourcelistwidget.h>
#include <global.h>
#include <QProcess>
#include <QFile>
ProtoBufDetailWidget::ProtoBufDetailWidget()
{
__setLayout();
__connect();
}
void ProtoBufDetailWidget::__connect()
{
connect(selectOutput, SIGNAL(clicked()), thi... | [
"793620896@qq.com"
] | 793620896@qq.com |
6f736df5c2fb50ff7b0a7575581fced00386d6c9 | ac97fab35b7d96925374fa6f2e69a6b91a15d67b | /c++/recursion/fibREc.cpp | 4423764b6e3cd68dae776b91de76a445c5846922 | [] | no_license | Shrey676/C-Repo | 1fe8201c4c3a5deaecf47ec8db8265877738322a | 28a2c8c69a7a9100530e494504f9d50f9a0080f4 | refs/heads/main | 2023-07-11T03:37:24.157849 | 2021-08-13T05:36:37 | 2021-08-13T05:36:37 | 390,742,594 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 304 | cpp | #include<iostream>
using namespace std;
int fib(int n)
{
if(n<2)
{
return 1;
}
return fib(n-1)+fib(n-2);
}
int main()
{
int a;
cout<<"enter a number";
cin>>a;
cout<<"the sequence of the given no. is"<<fib(a)<<endl;
return 0;
} | [
"noreply@github.com"
] | Shrey676.noreply@github.com |
006aaa4ef940f1c2eb29e3eabeb797857c1500b2 | 34242f109680aa417b5bc97a82b27e8b094ad26d | /MineSweeper1.0/src/Game.cpp | e3effd48080db82fa20a59e5fd69775fa314ef39 | [] | no_license | krebsalad/Minesweeper | 3c7aae357b9306e51ae8d96e0c7acda5be2c8ce4 | 49befb8b87a0d2ba2e1b56ffa0ba2fc0bfe61730 | refs/heads/master | 2020-08-28T06:13:16.527114 | 2019-11-07T21:08:19 | 2019-11-07T21:08:19 | 217,618,499 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,483 | cpp | #include "./../include/Game.h"
#include "./../include/uNode.h"
#include "./../include/Display.h"
#include <algorithm>
#include <iostream>
namespace Minesweeper
{
Game::Game(int sx, int sy, Display* _display)
: size_x(sx), size_y(sy), display(_display)
{
}
Game::~Game()
{
delete d... | [
"johanmgina7@gmail.com"
] | johanmgina7@gmail.com |
bce80511b2202e7438258f7aeadd5abd16dea3b5 | 9ca59450eb56d9aff26ce9792c0302d4e22e19c4 | /ant_vr_sdk/Numeric.cpp | 23b06d93696c11feffce98b2a5b6c739966cc2d5 | [] | no_license | mzhg/opengl_study | a21aa1a06196afe836ef3dfd420c0d6ca2576bd5 | bceaee18804afbf9a3f30b96e215d4d0e27912d1 | refs/heads/master | 2020-07-28T21:03:15.465756 | 2017-04-01T10:11:41 | 2017-04-01T10:11:41 | 73,694,502 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,709 | cpp | #include "Numeric.h"
// #include "Util.h"
#include <sstream>
#include <string.h>
#if defined(_DEBUG) || defined(DEBUG)
#include <assert.h>
#else
#define assert(x)
#endif
namespace jet
{
namespace util
{
int Numeric::parseInt(const char* str)
{
std::stringstream ss(str);
int num;
ss >> num;
return n... | [
"mzhg001@sina.com"
] | mzhg001@sina.com |
5d4398e8e8c45bce7cb061be14eaf7a7583b9309 | b325ef70cae5b24f549f1b6b0171e08cf42ac9fc | /FSA_Add.h | 0aebbf75bb6232bf67d3d2005d5df17d6507ad01 | [] | no_license | JW367146/CS236-Project2 | b52d8e3d9a1540a20ce3276043d3a5d979071a76 | 014ada337cc172c2bef8ffee75fa50f858e98587 | refs/heads/main | 2023-08-18T12:16:49.033451 | 2021-10-03T20:51:33 | 2021-10-03T20:51:33 | 411,884,010 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 408 | h |
#ifndef CS236_PROJECT1_FSA_ADD_H
#define CS236_PROJECT1_FSA_ADD_H
#include "Automaton.h"
class FSA_Add : public Automaton
{
public:
FSA_Add() : Automaton(TokenType::ADD) {} // Call the base constructor
void S0(const std::string& input) {
if (input[index] == '+') {
inputRead = 1;
... | [
"josephwwilson97@gmail.com"
] | josephwwilson97@gmail.com |
4897555fa14d4d8a7116eec575e86679f620d56b | 86e9a49802c00a70ec32d3030344ce6707d883ba | /TurnOn.cpp | f90652f61b5bd69443767d695f2afb6d7ce70afd | [] | no_license | aaysan/Zork | 782a4631d6559158772df665fed3dea27b147d3c | a9d5be0ad066db78af3e3a13a8d9a38cdcf30263 | refs/heads/master | 2021-03-16T05:48:49.351262 | 2017-11-29T03:05:30 | 2017-11-29T03:05:30 | 112,349,412 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,080 | cpp | #include "TurnOn.h"
TurnOn::TurnOn(){
// cout<<"TurnOn: ";
setPrint(NULL);
// cout<<"TurnOn: ";
setAction(NULL);
}
TurnOn::TurnOn(xml_node<>* node){
// cout<<"TurnOn: ";
setPrint(NULL);
// cout<<"TurnOn: ";
setAction(NULL);
if(node == NULL){
return;
}
xml_node<>* ... | [
"maysan@purdue.edu"
] | maysan@purdue.edu |
a795c0d69c74db27c79c6ac27cf6803a2f7d023b | d4a7a5a7e2868f5b3563b69d6e457e53d9f1c18e | /1112(3).cpp | 2c4cc9e35279fea6d1c180c36f218cf147f5da50 | [] | no_license | cli851/noi | 630328d2e08785caf2bc559618fa1c415a39f647 | 3245e8ea84486553ef24d05ab50aa81837d36657 | refs/heads/master | 2023-04-19T16:04:52.275245 | 2021-05-08T14:38:50 | 2021-05-08T14:38:50 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 240 | cpp | #include <iostream>
using namespace std;
int main()
{
int M,max=-10000,min=10000;
cin>>M;
int a[M];
for(int i=0;i<M;i++){
cin>>a[i];
if(a[i]>max){
max=a[i];
}
if(a[i]<min){
min=a[i];
}
}
cout<<max-min;
return 0;
}
| [
"aaron.now.coder@gmail.com"
] | aaron.now.coder@gmail.com |
d827fa962d7ab0dab73511a10055b0d1d182c468 | b5ec62a30af9acab5e81bb258f0b65992c96b25e | /WasherTest/WasherTestDoc.h | 9b3ee398b062a30003b4b2b2e3af15177ce7bc09 | [] | no_license | xuyuand/WasherTest | 4332845ef375edea22a8895e751a8502aab1d534 | d79ac27c564f42744040b7c65adf95aa38623cbd | refs/heads/master | 2021-01-22T21:48:51.263957 | 2017-05-28T03:25:27 | 2017-05-28T03:25:27 | 92,739,057 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 869 | h |
// WasherTestDoc.h : CWasherTestDoc 类的接口
//
#pragma once
class CWasherTestDoc : public CDocument
{
protected: // 仅从序列化创建
CWasherTestDoc();
DECLARE_DYNCREATE(CWasherTestDoc)
// 特性
public:
// 操作
public:
// 重写
public:
virtual BOOL OnNewDocument();
virtual void Serialize(CArchive& ar);
#ifdef SHARED_HANDLERS
v... | [
"xuyuand@163.com"
] | xuyuand@163.com |
936b36027c6c4b93dcdded458cb126f51a67e474 | b681b6b018569d7139f458c38321481abde13f65 | /Blind/imgui/imgui_demo.cpp | 1b4c320c2dcd2f7e5271c9d7e8bb8e61847a456a | [] | no_license | sacrificerXY/Blind | e1b99828de3697335ddd92b0ea56cbbbe26a3bb0 | 9300836f0944de8bca2a36a55c59b981cfca8f56 | refs/heads/master | 2021-06-19T12:35:40.468189 | 2018-11-02T16:47:37 | 2018-11-02T16:47:37 | 53,260,027 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 138,470 | cpp | // dear imgui, v1.51
// (demo code)
// Message to the person tempted to delete this file when integrating ImGui into their code base:
// Don't do it! Do NOT remove this file from your project! It is useful reference code that you and other users will want to refer to.
// Everything in this file will be stripped out by... | [
"sacrificerxy@gmail.com"
] | sacrificerxy@gmail.com |
a19b546cb7d73df9aa5777e9040ec4c9d70fdf37 | 1dd1ebbb8397c559af5fbe7cbe3c1aa1f15323cb | /6.33/source/Main.cpp | b2f502257bcf0813cf9a8705c315af284000942b | [] | no_license | pgpg333/HW5 | 4abff2a5ab7049b75ad98bc957087cd16f7f0746 | cbafc24c42925f3f991357e00023231791e05723 | refs/heads/master | 2020-09-14T16:37:51.690878 | 2019-11-28T13:58:55 | 2019-11-28T13:58:55 | 223,186,674 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 795 | cpp | #include<stdio.h>
#include<stdlib.h>
#include<iostream>
using namespace std;
int bs(int arr[], int value, int s, int e);
void main()
{
int arr[10] = { 10,20,30,40,50,60,70,80,90,100 };
int x = 30;
int y = 90;
int z = 55;
cout << "Value is " << x << " return" << bs(arr, x, 0, sizeof(arr) - 1) << endl;
cout << ... | [
"noreply@github.com"
] | pgpg333.noreply@github.com |
4407ffde2a8fa4a4a2fbf087afaea87253a56de7 | f141702aecdd2b8566c1cea918ff25e2658aba7c | /src/module/TZTime.h | f3dd282917c8c269a44255f9976fd04cf3096104 | [
"MIT"
] | permissive | gabrielklein/ESP-EFTCore | e3480db40283b3063ae8c075f7200eb2e310f48e | 7cd09f425869d471e5061eb990ec474aabc13668 | refs/heads/master | 2020-03-22T04:26:27.444160 | 2018-07-03T10:32:08 | 2018-07-03T10:32:08 | 139,498,972 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,160 | h | //
// This class implement some timezone
//
#ifndef EFT_TZTIME_H
#define EFT_TZTIME_H
// Max number of timezone, should not be too big :)
#define MAX_TIMEZONE 10
#include <Arduino.h>
#include <Time.h>
#include <Timezone.h>
namespace eft {
/**
* Supported timezones of the MTime objects
*/
class TZTime {
public:
TZ... | [
"gabriel.klein@nuage.ch"
] | gabriel.klein@nuage.ch |
08c53edc82ffa38e1958210e497fdbdacda2dd47 | ad66d2a5ae1028398a11f7fb53903ec1536a2910 | /src/ToolBox/superpmi/superpmi-shim-simple/jithost.h | 7df1c581dc83ead540b93f26a809503546ec8919 | [
"MIT"
] | permissive | rfht/coreclr-openbsd | 920bdea57f83f34209dbdb1840a72aa6f00311a7 | 0571b67f28c274e0cc0cf734308a04710aa50e28 | refs/heads/master | 2022-12-21T14:30:38.660421 | 2019-03-30T03:27:19 | 2019-03-30T03:27:19 | 178,475,248 | 4 | 2 | MIT | 2022-12-11T07:46:27 | 2019-03-29T21:03:45 | C# | UTF-8 | C++ | false | false | 389 | h | //
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
//
#ifndef _JITHOST
#define _JITHOST
class JitHost : public ICorJitHost
{
public:
JitHost(ICorJitHost* wrappedHost);
#include "icorjithostimpl.h"
private:
... | [
"brucefo@microsoft.com"
] | brucefo@microsoft.com |
82c31583996ffe0bf83751708b97bd1c906977fa | 6d90e332ed3e630429e959578df1181967c4bcaa | /787. Cheapest Flights Within K Stops.cpp | 7560af74fc368101069fe7c2b9b65a132ef941f8 | [] | no_license | amir-hosen7/LeetCode | fe27cca877b5ee8c73c00b6553b682b94351e16d | ee13b162c098276abd2f01b0ae4ea6bbe527bfa1 | refs/heads/master | 2023-02-23T04:15:52.250303 | 2023-02-13T12:57:46 | 2023-02-13T12:57:46 | 234,529,205 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,108 | cpp | class Solution {
public:
int dp[110][110];
vector<pair<int, int>> adj[110];
long long solve(int src, int dst, int cnt, int k) {
if (src == dst or (cnt - 1) >= k) {
if ((cnt - 1) > k or src != dst) return INT_MAX;
return 0;
}
int &ret = dp[src][cnt];
i... | [
"noreply@github.com"
] | amir-hosen7.noreply@github.com |
3ffe565e5dc4ab7b21081cf155c11c66269da1a2 | e1e43f3e90aa96d758be7b7a8356413a61a2716f | /commsconfig/commsdatabaseshim/TE_commdb/src/Step_038_xx.cpp | d5f6d1e92bd0350ba3d1061363d8105685b0e131 | [] | no_license | SymbianSource/oss.FCL.sf.os.commsfw | 76b450b5f52119f6bf23ae8a5974c9a09018fdfa | bc8ac1a6d5273cbfa7852bbb8ce27d6ddc076984 | refs/heads/master | 2021-01-18T23:55:06.285537 | 2010-10-03T23:21:43 | 2010-10-03T23:21:43 | 72,773,202 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,931 | cpp | //
// Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
// All rights reserved.
// This component and the accompanying materials are made available
// under the terms of "Eclipse Public License v1.0"
// which accompanies this distribution, and is available
// at the URL "http://www.eclipse.org/legal/epl... | [
"kirill.dremov@nokia.com"
] | kirill.dremov@nokia.com |
7d8cb7324e36f7b5aef303e91769e0886616cc4b | d8263a93ed9a23f815a772bd76baa645fb1a8c11 | /trunk/HOST/usb_service/stm_flash_loader/Src/Files/image.cpp | 0bcb6495871451cc60bc108887d7ffb615200eab | [] | no_license | urock/ihome | f62e9229d6e6c34d40347e12280862f6ebe610b2 | d04dd2fef063255ccf4520e06671b55b810f2092 | refs/heads/master | 2016-09-06T10:13:56.257031 | 2015-02-05T07:25:49 | 2015-02-05T07:25:49 | 29,969,524 | 3 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 38,093 | cpp | /******************** (C) COPYRIGHT 2011 STMicroelectronics ********************
* File Name : image.cpp
* Author : MCD Application Team
* Version : v2.5.0
* Date : 21-November-2011
* Description : Implements the CImage class interface
*******************************... | [
"yarumyantsev@gmail.com"
] | yarumyantsev@gmail.com |
5ea0a087c0b270ed96d32e9e168c37719b7011b2 | 74446de69d5db56e01e7018f21aa613b94718ec7 | /source/UnitTestLibrary.Desktop/EventQueueTests.cpp | 3e0d764c5b9303111311802f879f021a994bad92 | [] | no_license | SloanKi/FieaGameEngine | 701843f76e854b2e80c124a8bb311f7b9b75ddef | fda50c1f0b78668a2dc894bd386e58e4323274c3 | refs/heads/master | 2023-04-13T16:25:25.365240 | 2020-05-05T21:40:21 | 2020-05-05T21:40:21 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,547 | cpp | #include "pch.h"
#include "CppUnitTest.h"
#include "TestEventSubscribers.h"
#include "EventQueue.h"
#include "Event.h"
#include "GameTime.h"
using namespace Microsoft::VisualStudio::CppUnitTestFramework;
using namespace Library;
using namespace UnitTests;
using namespace std;
using namespace std::string_lit... | [
"noreply@github.com"
] | SloanKi.noreply@github.com |
1aeced3b5b6b1e35a5416aae9a9f7f9d34d0f046 | a93cf8f695c1d1d97b8d0b9ccec6932c5e499ff8 | /Beakjoon_Brute_force_Search/Beakjoon_Brute_force_Search/10974.cpp | 849900beb04b4c4991cbb5c4fc75225c14178979 | [] | no_license | tmdwns1101/AlgorithmStudy | 0abc108a7a73895934da2633998c7a90137d49ea | e8ca069e202f40e074b7311626fe8da8af057589 | refs/heads/master | 2021-07-22T11:32:30.817108 | 2020-05-20T16:28:27 | 2020-05-20T16:28:27 | 165,377,838 | 0 | 1 | null | 2020-02-07T07:56:16 | 2019-01-12T11:02:59 | C++ | UTF-8 | C++ | false | false | 392 | cpp | //#include<iostream>
//#include<algorithm>
//#include<vector>
//using namespace std;
//
//
//int main() {
// int n;
//
// cin >> n;
//
// vector<int> ary(n);
//
// for (int i = 0; i < n; i++) {
// ary[i] = i + 1;
// }
//
// do {
// for (int i = 0; i < n; i++) {
// cout << ary[i] << ' ';
// }
// cout << "\n";
// }... | [
"tmdwns1101@naver.com"
] | tmdwns1101@naver.com |
f8a2f68893808c4aefbf9d77cec7996fbcbed0d7 | 254c7ed688f3b8f3b27bf9948f1a705abbce1a51 | /src/main.cpp | a5ae3b8d989856ba43353fb1583da39fe6b1e6a1 | [] | no_license | ashtam55/arduCam-ESP-eye | 84344ad0b6e3e11b3ed1855bd51f1d6edf6d06a7 | 2466ff5ab51549ff3d2c373b0ed36dd16efef8ab | refs/heads/master | 2020-12-21T14:02:19.099520 | 2020-01-27T09:19:39 | 2020-01-27T09:19:39 | 236,452,534 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 23,185 | cpp | #include <Arduino.h>
#include <stdint.h>
#include <avr/io.h>
#include <util/twi.h>
#include <util/delay.h>
#include <avr/pgmspace.h>
#define F_CPU 16000000UL
#define vga 0
#define qvga 1
#define qqvga 2
#define yuv422 0
#define rgb565 1
#define bayerRGB 2
#define camAddr_WR 0x42
#define camAddr_RD 0x43
/* R... | [
"ashtam@artiosys.com"
] | ashtam@artiosys.com |
14474b0f5280afbcff14bdb5abd64fbe8a62e2c4 | 6f9a03419484fdeb3338a3710eff618b77157d93 | /source/VehicleTracking.cpp | 03a49d385a6793e8e219798907f774ed4ea6155d | [] | no_license | hari3010/track | 63488b510bab5276d2ce1cceafe4ed7d540da4d4 | 68f78158c90b0a7e20b452efc9ad79c3ba4ce3da | refs/heads/master | 2021-01-01T04:39:55.695800 | 2016-05-22T19:00:14 | 2016-05-22T19:00:14 | 59,429,154 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,172 | cpp | #include "VehicleTracking.h"
using namespace cv;
/************************************************************************/
/*Filter out the Low saturation pixels of ROI histogram
*/
/************************************************************************/
void cObjectTracking::FilterLowSat(Mat const &input, Mat &tem... | [
"hari3010@live.com"
] | hari3010@live.com |
812494675c9519654d5eb2647d4f0d58e596b92e | 3a7aa0e192934691f0e0879eae44e65664f8de20 | /mainwindow.cpp | 01514832bf86c65e82db357a6194d5bbe80a86c0 | [] | no_license | simonhua/STAR-WARS-THE-GALACTIC-ESCAPE | 02568d6fdb6848a3de5ce1f6bddd9bcbce94012c | 553f0725af7bfed3c66b87010315a9082ee9c5b7 | refs/heads/master | 2021-01-16T20:56:00.043367 | 2015-06-05T04:19:46 | 2015-06-05T04:19:46 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,146 | cpp | #include "mainwindow.h"
#include "gameboard.h"
#include "ui_mainwindow.h"
/**
@brief constructor that takes in a QWidget param
@code
MainWindow w;
@endcode
@param parent is set as the parent/"owner" of the MainWindow
*/
MainWindow::MainWindow(QWidget *parent) :
QMainWindow(parent),
ui(... | [
"simonhua2013@gmail.com"
] | simonhua2013@gmail.com |
1f991204183e0f8e0b1149774fc851e05486cb7a | 523a17a64cca9c9353b36f08f5dd8e3e73c24919 | /src/renderer/renderObject.cpp | ae908122cec4ff3a1c9c8c1d6e293309cc2df0c6 | [
"MIT"
] | permissive | en-code-psy-pher/enjin | 37a4455ac832359eaba97e6ac01744f3fcbd4d85 | ba9fd8be66b5dcac312d6887edb1ba12d3d3e48c | refs/heads/master | 2023-04-01T11:46:42.189094 | 2021-04-12T21:37:05 | 2021-04-12T21:37:05 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,857 | cpp | #include "renderObject.h"
RenderObject::RenderObject()
{
}
RenderObject::RenderObject(GLfloat * attribs, int nAttribs, int nVertices)
{
m_attribs = vector<GLfloat>();
m_nVertices = nVertices;
for (size_t i = 0; i < nAttribs; ++i)
m_attribs.push_back(attribs[i]);
m_indices = vector<GLuint>();
CreateMesh();
... | [
"Andre Rogers"
] | Andre Rogers |
1a0732e2b8e5bcca7905802861268785a7af71e2 | 342dabce724d2f5fae18e7c41675240521ab949c | /Computer Graphics/scaling about fixed point.cpp | 06a8b2c2f334a0cf35d55a055372988f3adeb86c | [] | no_license | shivani789/Complete_practical_files | 69b342b372d485585671aebc4fec1d65c718802d | 8a4b31968395963a902d6f24938c0ba56b6aa4e7 | refs/heads/main | 2023-03-19T20:19:20.550190 | 2021-03-11T13:08:56 | 2021-03-11T13:08:56 | 335,622,479 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,151 | cpp | //scaling
#include <conio.h>
#include<iostream>
#include <graphics.h>
using namespace std;
main()
{
int gd=DETECT,gm,x,y,sx,sy,c,h,k,p,q;
initgraph(&gd,&gm,"C:\\Tc\\BGI");
cout<<"Enter the point to be scaled:"<<endl;
cin>>x>>y;
cout<<"("<<x<<","<<y<<")"<<endl;
putpixel(x,y,WHITE);
cout<<"point abou... | [
"noreply@github.com"
] | shivani789.noreply@github.com |
99b90186c36dff4fa44abc6fc45a98563bfb3e28 | 724ab4b95af7786587d442f206f0c3a895b2e2c1 | /chinko_bot/messages/game/inventory/items/InventoryContentMessage.cpp | c92c199c1fb4c2bf7e982e4492cb2655e8ced33c | [] | no_license | LaCulotte/chinko_bot | 82ade0e6071de4114cc56b1eb6085270d064ccb1 | 29aeba90638d0f2fe54d1394c1c9a2f63524e50e | refs/heads/master | 2023-02-04T21:15:20.344124 | 2020-12-26T08:55:00 | 2020-12-26T08:55:00 | 270,402,722 | 4 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 587 | cpp | #include "InventoryContentMessage.h"
bool InventoryContentMessage::serialize(sp<MessageDataBuffer> output) {
output->writeShort(objects.size());
for(int i = 0; i < objects.size(); i++) {
objects[i].serialize(output);
}
output->writeVarInt64(kamas);
return true;
}
bool InventoryContentMessage::deserialize(s... | [
"negeko-inscriptions@hotmail.com"
] | negeko-inscriptions@hotmail.com |
f3d9cf2fcbe41ef23cc86325ca4b46497d28055e | 100cb035f9c6b44e8aebef852853eb51a7259892 | /Beautiful_Matrix.cpp | fe2eb9b4c8a57fca0720bc673e51eae53a3ccf05 | [] | no_license | x-coderx/cp-algorithms | bbef9c161633c432478be9aa640f5421fb5923de | 4a9a0bad10a6b31ce2eea979c30ce539f60338a6 | refs/heads/master | 2021-08-28T07:32:18.535845 | 2021-08-09T13:35:59 | 2021-08-09T13:35:59 | 223,886,984 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 430 | cpp | #include<bits/stdc++.h>
using namespace std;
int main()
{
int a[5][5];
for(int i=0;i<5;i++)
{
int flag=0,j;
for(j=0;j<5;j++)
{
cin>>a[i][j];
if(a[i][j])
{
flag++;
break;
}
}
... | [
"noreply@github.com"
] | x-coderx.noreply@github.com |
5c6d4f848f69324df32d9b4ee1861238cc2eeef0 | 9ceb23bf6d0ca5f2dd28eda6abf9ac63a7140fad | /modMiseEnPage.h | a9088e62f79966d7eb99b87781fa44375b169fda | [] | no_license | Henry1098/Ecoplanning | bad16d2bd9dd7639f8e36acc55aa27c0a413991d | 578fdd23bd4489d13cebbb87f7aebc340c8c1244 | refs/heads/master | 2020-04-04T19:40:39.545524 | 2019-08-26T15:03:15 | 2019-08-26T15:03:15 | 145,216,579 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,354 | h | //---------------------------------------------------------------------------
#ifndef modMiseEnPageH
#define modMiseEnPageH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include "AdvGrid.hpp"
#i... | [
"henrynzinga@yahoo.fr"
] | henrynzinga@yahoo.fr |
abd57cbcd42b437c53fa88940d36cb5858c2d1a8 | bd18edfafeec1470d9776f5a696780cbd8c2e978 | /SlimDX/source/direct3d9/BaseTexture.h | 4ba54c2a17c1d8ad778928f2b502fbb0c6aac935 | [
"MIT"
] | permissive | MogreBindings/EngineDeps | 1e37db6cd2aad791dfbdfec452111c860f635349 | 7d1b8ecaa2cbd8e8e21ec47b3ce3a5ab979bdde7 | refs/heads/master | 2023-03-30T00:45:53.489795 | 2020-06-30T10:48:12 | 2020-06-30T10:48:12 | 276,069,149 | 0 | 1 | null | 2021-04-05T16:05:53 | 2020-06-30T10:33:46 | C++ | UTF-8 | C++ | false | false | 5,828 | h | /*
* Copyright (c) 2007-2010 SlimDX Group
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, ... | [
"Michael@localhost"
] | Michael@localhost |
71ca1c04eddcb4b50a214eaad1f68216889ad9bb | bb8dfd19165f349d87d3b558050bc377d4da6449 | /配套光盘/习题/0x49 数据结构进阶 总结与练习/作诗/BZOJ2821/CH4907 作诗.cpp | a88a9e1a63f360ab67537bb0bd20fc70d0945005 | [] | no_license | lydrainbowcat/tedukuri | 4c3358e2e4d7f8e07152a79981535f0ead3372e7 | b0471bb0bcf6216a45b818d6be2288e23a02347c | refs/heads/master | 2023-08-17T14:02:02.847399 | 2023-08-07T23:25:35 | 2023-08-07T23:25:35 | 125,682,894 | 2,222 | 706 | null | 2023-08-07T23:25:37 | 2018-03-18T01:24:42 | Roff | UTF-8 | C++ | false | false | 2,226 | cpp | //Author:XuHt
#include <cmath>
#include <cstdio>
#include <vector>
#include <cstring>
#include <iostream>
#include <algorithm>
using namespace std;
const int N = 100006, T = 2006;
int a[N], b[N], c[N], L[N], R[N], pos[N], f[T][T];
vector<int> e[N];
bool v[N];
inline bool pd(int x) {
return x && !(x & 1);
}
inline in... | [
"hyqjlyd@qq.com"
] | hyqjlyd@qq.com |
5cfebdfd725a62689f3a0d61b6a6a21502fcb109 | e90dce402ed32a67ce7b0469d784571e1b557b0b | /ExamenPreparacion/Ejercicio42/main.cpp | 412f9eeb94f7c9435feae2aeb6585b28ff005895 | [] | no_license | Trifido/Practicas-FP | 19928b5df68c8ca764d69c86a1ce819f95a0d656 | 2d045ea3437b54138b19827e2d2fc5c679fe97d6 | refs/heads/master | 2021-01-17T16:19:18.984025 | 2016-09-22T10:07:03 | 2016-09-22T10:07:03 | 68,908,770 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 424 | cpp | #include <iostream>
using namespace std;
int main()
{
int num, i=6, sum=0, max=0;
cout << "Introduce un numero > 5: ";
cin >> num;
while(i<num){
sum=0;
for(int j=1; j<i; j++){
if(i%j==0)
sum+=j;
}
if(sum==i){
if(i>max)
... | [
"vicentemartinezrodriguez@gmail.com"
] | vicentemartinezrodriguez@gmail.com |
1deb0877b1aaeee02242ef161915903284c0c796 | e26850588de843cbeed4a0aa7ac1476d920771f5 | /3_31/testhttplib.cpp | d2e798e079bca41cc8dc5c8aad44d834659bd592 | [] | no_license | yanhua18/Linux_base | e36dc040e32c23061d38203fcefa041ee385ce18 | c05109b649f0e763388cba9cfefaa5a647790b79 | refs/heads/master | 2020-08-02T07:11:05.919651 | 2020-06-21T13:54:27 | 2020-06-21T13:54:27 | 211,272,572 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 277 | cpp | #include<stdio.h>
#include"httplib.h"
using namespace httplib;
void func(const Request& req,Response& resp)
{
resp.set_content("<html>hello bite</html>","123");
}
int main()
{
Server svr;
svr.Get("/",func);
svr.listen("192.168.92.128",19998);
return 0;
}
| [
"2814050659@qq.com"
] | 2814050659@qq.com |
8fc307cf4245d099b1c75f30e8b11e95e5ccb1ce | 4faabda52d7e702b3e697d3c1dca8bc82a083517 | /03-FaceSearchService/src/SqliteFaceCache.cpp | a296ad7970e81bcd93625e4633be1c040432ea85 | [] | no_license | shenmayufei/- | a52cf992c7c3064c29c97eeb1723f028e0fcead1 | ecc656f440d6f8c5cb0f576248f5bf7d57c331b4 | refs/heads/master | 2020-11-29T09:58:05.036754 | 2018-07-20T07:26:00 | 2018-07-20T07:26:00 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,794 | cpp | #include "SqliteFaceCache.h"
#include "PropertyConfigurator.h"
#include <memory>
#include <stdio.h>
#include <iostream>
#include <log4cpp/Category.hh>
#include "utils/TimeUtil.h"
// 创建数据库
static const char* sql_create_data = "CREATE TABLE IF NOT EXISTS FACEINFO( "
"personId VARCHAR(32) PRIMARY KEY, "... | [
"xubin@localhost.localdomain"
] | xubin@localhost.localdomain |
1aa7d2ad08f8013fbaf1ecdb00b509e1949196ec | 1815b3c25be25ff83c23908ee6de610c25e4495b | /static-webp/src/main/jni/static-webp/webp/webp_codec.h | 0d3f324197e6a56b8d079cc14fd99c98cbb610c3 | [
"BSD-3-Clause",
"LicenseRef-scancode-unknown"
] | permissive | MaTriXy/fresco | 1341447465713469d49adcebce60670bfb18993f | e05b18eafe36c6809b889bfc9ccb66598eabda7b | refs/heads/master | 2020-04-05T23:08:37.528037 | 2017-12-25T13:15:57 | 2017-12-25T13:15:57 | 33,048,595 | 0 | 0 | BSD-3-Clause | 2017-12-25T13:15:58 | 2015-03-28T20:13:29 | Java | UTF-8 | C++ | false | false | 751 | h | /*
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/
#ifndef _WE... | [
"tyrone.nicholas@gmail.com"
] | tyrone.nicholas@gmail.com |
b98a5e4ecb762455b9a680aadecc166b08cc29af | cb4dc7f8b688fa7559a961f02850f1e793d56399 | /examples/AtlasScienceBoard/MPL3115A2.h | cd66fdca7f62a870248bcfc3a62eb56268b7c8da | [
"MIT"
] | permissive | MissouriMRDT/RoveWareEnergia | b1b7d1bff16db996e5243c9da054ee334d107dae | 0cf77874b9c52524c2171c47a2c374bb6edf97a7 | refs/heads/master | 2020-03-17T07:56:36.623419 | 2018-05-30T23:09:11 | 2018-05-30T23:09:11 | 133,418,563 | 0 | 1 | MIT | 2018-07-16T09:16:24 | 2018-05-14T20:37:22 | C++ | UTF-8 | C++ | false | false | 2,925 | h | /*
MPL3115A2 Barometric Pressure Sensor Library
By: Nathan Seidle
SparkFun Electronics
Date: September 24th, 2013
License: This code is public domain but you buy me a beer if you use this and we meet someday (Beerware license).
Get pressure, altitude and temperature from the MPL3115A2 sensor.
*/
... | [
"jrs6w7@mst.edu"
] | jrs6w7@mst.edu |
07707385a7e7f4ea25ea45872ce025980b1f44a4 | 528c5aa8f74cecf50190bba641fa04301b902320 | /flecsale/mesh/portage/test/portage_test_base.h | ef7613a9d84389ca10ecf9f2bd8d46cbd434176f | [
"BSD-2-Clause"
] | permissive | srinathv/flecsale | a71f26aab7f37177863ebe4a9e2fc13e575e8cd7 | c1bd1131fe9d14abbe2d2891ec6e04eaea211e7a | refs/heads/master | 2021-07-10T19:32:49.717812 | 2017-09-12T20:55:44 | 2017-09-12T20:55:44 | 104,776,216 | 0 | 0 | null | 2017-09-25T16:43:16 | 2017-09-25T16:43:16 | null | UTF-8 | C++ | false | false | 1,652 | h | /*~-------------------------------------------------------------------------~~*
* Copyright (c) 2016 Los Alamos National Laboratory, LLC
* All rights reserved
*~-------------------------------------------------------------------------~~*/
//////////////////////////////////////////////////////////////////////////////... | [
"charest@lanl.gov"
] | charest@lanl.gov |
5c6a524bdc888204753dd7e9060508e601cf8f83 | 9ad8096a3f18b16789956e322dbc051b6705c15b | /Lowest Common Ancestor of a Binary Tree/Lowest Common Ancestor of a Binary Tree.cpp | 991160233da89b7b5f13ae8111405cb28ffe8315 | [] | no_license | CharleyLiu/Leetcode | f5682335ae037cfb5fdfe8cf7f0314fd4f1fd0c9 | 65994769f5b3278acb2aa8c1c45ee4ad6cfffeb7 | refs/heads/master | 2021-06-08T07:43:33.983395 | 2021-04-27T05:25:53 | 2021-04-27T05:25:53 | 154,584,137 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 795 | cpp | /**
* Definition for a binary tree node.
* struct TreeNode {
* int val;
* TreeNode *left;
* TreeNode *right;
* TreeNode(int x) : val(x), left(NULL), right(NULL) {}
* };
*/
class Solution {
public:
int dfs(TreeNode* node, TreeNode* p, TreeNode* q,TreeNode*& ans)
{
if(node==NULL) r... | [
"noreply@github.com"
] | CharleyLiu.noreply@github.com |
96a28035c3af6a80d35d304aba0537ce41bf2a5d | e6a7d4ffac62a7ce2a8e10aff980c4c9f2b4dcdb | /include/nu_lxa.h | eeb6fe1643ee2861dfb230735147343ba4ff190e | [
"MIT"
] | permissive | eantcal/nuexpreval | d251443bb63d12d18efd64113ca01bae144a5d1c | 3e11a462894a5c89a525f9bcabb25e3d505c6648 | refs/heads/master | 2021-01-01T20:20:32.102189 | 2017-11-15T18:23:43 | 2017-11-15T18:23:43 | 98,820,234 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,241 | h | //
// This file is part of nuExprEval
// Copyright (c) Antonino Calderone (antonino.calderone@gmail.com)
// All rights reserved.
// Licensed under the MIT License.
// See COPYING file in the project root for full license information.
//
/* --------------------------------------------------------------------------... | [
"antonino.calderone@gmail.com"
] | antonino.calderone@gmail.com |
fc3db78cb39304f1dbbbeb34e0194502f04fbd02 | dc564bc6baacd6a27e1aca16bf87bfa66c347d40 | /GhosTeN_VM/GhosTeN_VM/Computer.h | ba296582d1e5782f54e24696fe549b4ab73eeb4a | [] | no_license | GhosTeN/VM | 0cda508f1b8ee4e3b57b72b177b5931fa78d9fe1 | f14c108773f5409b546cd8e6db7ce884955f7767 | refs/heads/master | 2016-09-06T05:30:40.728643 | 2014-10-01T12:58:08 | 2014-10-01T12:58:08 | null | 0 | 0 | null | null | null | null | WINDOWS-1251 | C++ | false | false | 769 | h | #pragma once
#include <iostream>
#include <fstream>
#include <iomanip>
#include <unordered_map>
using namespace std;
#include "Registers.h"
#include "Memory.h"
#include "RegisterCommand.h"
#include "operation.h"
#pragma pack(1)
class Command;
class Computer
{
unordered_map<Operations, Command*> instructions;
vo... | [
"ghostennn@gmail.com"
] | ghostennn@gmail.com |
ff7fbcf5dcad6a313ce983b4c0c51a3723097588 | ca4ca2d2ab08f69229b8678f9f65853e260e752a | /Scrabble/Scrabble/coladeazules.h | ee55627883fcd079e865ce92e44cf5b043f22fe7 | [] | no_license | alexcortes18/EstructuraDeDatos-Tareas1Parcial | 6e51344d35f7b49cebdc634910ec15bc853a771a | a59821325ebdd974104e10beafe0850e546ffbc2 | refs/heads/master | 2016-08-12T06:33:22.609736 | 2016-04-01T04:57:51 | 2016-04-01T04:57:51 | 50,221,108 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 83 | h | #pragma once
class coladeazules
{
public:
coladeazules();
~coladeazules();
};
| [
"alex.cortes.i10@gmail.com"
] | alex.cortes.i10@gmail.com |
3f42e84587a9a35635253558350227a6abad9c55 | 9d2bafb07baf657c447d09a6bc5a6e551ba1806d | /ros2_ws/install/include/test_communication/msg/nested__rosidl_typesupport_introspection_cpp.hpp | c79ff04d200ac8bab1fc79dffa7de37043075f87 | [] | no_license | weidafan/ros2_dds | f65c4352899a72e1ade662b4106e822d80a99403 | c0d9e6ff97cb7cc822fe25a62c0b1d56f7d12c59 | refs/heads/master | 2021-09-05T20:47:49.088161 | 2018-01-30T21:03:59 | 2018-01-30T21:03:59 | 119,592,597 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 961 | hpp | // generated from
// rosidl_typesupport_introspection_cpp/resource/msg__rosidl_typesupport_introspection_cpp.hpp.em
// generated code does not contain a copyright notice
#ifndef TEST_COMMUNICATION__MSG__NESTED__ROSIDL_TYPESUPPORT_INTROSPECTION_CPP_HPP_
#define TEST_COMMUNICATION__MSG__NESTED__ROSIDL_TYPESUPPORT_INTROS... | [
"austin.tisdale.15@cnu.edu"
] | austin.tisdale.15@cnu.edu |
05d0aadf8717e55f6d2086460ee1959a07f8d0e8 | b6c6abd9ca237622143dedd712b8f48b1000dfb6 | /content/common/service_worker/service_worker_status_code.cc | 1e6eb4c911d8ed07eadc452a127f6ae033117f02 | [
"BSD-3-Clause"
] | permissive | chadrockey/chromium | b4e68f5f9faa7bf03aae7cda72e80903ef88cddb | 434b5a0940e0c76d371ecd465a0d066824a69db8 | refs/heads/master | 2021-01-15T23:58:19.270969 | 2014-01-24T21:50:23 | 2014-01-24T21:50:23 | 16,219,343 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,105 | cc | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "content/common/service_worker/service_worker_status_code.h"
#include "base/logging.h"
namespace content {
const char* ServiceWorkerStatusToSt... | [
"kinuko@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98"
] | kinuko@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98 |
2fbcbc7499c2d2d7c880b137b5836751111b8a90 | a487d81cbcfc6ab7d864b1eb9b9eae60c5ff7f9f | /Recursion/Recursion_Test.cpp | d4e8866798ce086338c0a4f8330aeb600235fbaa | [] | no_license | Mir00r/Data_Structure | a6a7ba98b7f4872ce9fac39cd3e26c6d2516930d | 1e6ee9831f027500b1084bcdcb777c5970f510c3 | refs/heads/master | 2021-01-21T04:31:37.403775 | 2016-06-17T18:42:13 | 2016-06-17T18:42:13 | 52,104,344 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 725 | cpp | #include <bits/stdc++.h>
using namespace std;
#define LI long int
#define LLI long long int
#define LL __int64
#define ULL unsigned long long
#define LLU long long unsigned
#define row 5
#define col 5
#define MAX 100000
#define jora pair <int, int>
#define memo(array, value) memset(array, value, sizeof(array))
#defin... | [
"noreply@github.com"
] | Mir00r.noreply@github.com |
61da0beea9f0b52329760a2b93827eb842a538c2 | 9573b5144eac7a70fa3b58c77932134afe818356 | /Earlier years/kod/FîrelÑsningar/Code12/funTemplates.cpp | 46c5d5e03a0750d4d48edd7c0701abefae84256e | [] | no_license | Danielbook/TNG033_-_Programmering_i_C- | 566e85cbfa931a31cbb31d4dee27ba3085508ccc | 6b1ad1a2cbe8f6893b6bc18fdcbdaf1a25e26f53 | refs/heads/master | 2016-09-05T20:08:10.009015 | 2014-12-16T18:52:45 | 2014-12-16T18:52:45 | 27,064,671 | 0 | 0 | null | null | null | null | ISO-8859-2 | C++ | false | false | 3,359 | cpp | /***************************************************************************
* TNG033, Fö 12 *
* Several examples of function templates *
* **************************************************************************/
#incl... | [
"Daniel.book@hotmail.com"
] | Daniel.book@hotmail.com |
2725c690491c71eec135b05179c768b10adb423c | 99249e222a2f35ac11a7fd93bff10a3a13f6f948 | /ros2_mod_ws/build/robobo_msgs_aux/rosidl_generator_cpp/robobo_msgs_aux/srv/reset_wheels__response__struct.hpp | a90c77fe9e2d58ac736cb53469b73bf85420cc70 | [
"Apache-2.0"
] | permissive | mintforpeople/robobo-ros2-ios-port | 87aec17a0c89c3fc5a42411822a18f08af8a5b0f | 1a5650304bd41060925ebba41d6c861d5062bfae | refs/heads/master | 2020-08-31T19:41:01.124753 | 2019-10-31T16:01:11 | 2019-10-31T16:01:11 | 218,764,551 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,340 | hpp | // generated from rosidl_generator_cpp/resource/msg__struct.hpp.em
// generated code does not contain a copyright notice
#ifndef ROBOBO_MSGS_AUX__SRV__RESET_WHEELS__RESPONSE__STRUCT_HPP_
#define ROBOBO_MSGS_AUX__SRV__RESET_WHEELS__RESPONSE__STRUCT_HPP_
// Protect against ERROR being predefined on Windows, in case som... | [
"lfllamas93@gmail.com"
] | lfllamas93@gmail.com |
69b0541774bcd54f33c48cb3b89ef0094836fb0a | efd143378c0e021b309f9fade1fee80ae16835b0 | /source/Explosion.cpp | 0e975cea0a4c15070a3653b4f067ce237e54eb9e | [
"BSD-3-Clause"
] | permissive | albertoha94/duel6r | c2fbcdc446eb8638c26ddac76358dbe3fe1fb690 | 482521c28fff58d7b19596c4839c8c6582ba42a6 | refs/heads/master | 2021-01-22T20:29:05.508258 | 2017-02-26T10:50:42 | 2017-02-26T10:50:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,313 | cpp | /*
* Copyright (c) 2006, Ondrej Danek (www.ondrej-danek.net)
* 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, ... | [
"ondrej.danek@gmail.com"
] | ondrej.danek@gmail.com |
be432164a719d4ce5ebce574b178de9e0b70add9 | 15ae3c07d969f1e75bc2af9555cf3e952be9bfff | /analysis/pragma_before/pragma_97.hpp | 4d3631ff8d1d04746f16549f60cad88004fe339a | [] | no_license | marroko/generators | d2d1855d9183cbc32f9cd67bdae8232aba2d1131 | 9e80511155444f42f11f25063c0176cb3b6f0a66 | refs/heads/master | 2023-02-01T16:55:03.955738 | 2020-12-12T14:11:17 | 2020-12-12T14:11:17 | 316,802,086 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 134 | hpp | #ifndef UJOLDQQLXAWR_YXPLQDDWA_EEBDFJMD_HPP
#define UJOLDQQLXAWR_YXPLQDDWA_EEBDFJMD_HPP
#endif // UJOLDQQLXAWR_YXPLQDDWA_EEBDFJMD_HPP | [
"marcus1.2.3@wp.pl"
] | marcus1.2.3@wp.pl |
459006be912c7704f63b38f5d0a9b7e618243ad2 | 1b12e6096c47312b67fa6ff223216945d2efb70c | /student/dcm2/dcm/src/dcm.h | 9f3fa15215ca7881e6e150f445b4c053fe88d563 | [
"Apache-2.0"
] | permissive | rboman/progs | 6e3535bc40f78d692f1f63b1a43193deb60d8d24 | 03eea35771e37d4b3111502c002e74014ec65dc3 | refs/heads/master | 2023-09-02T17:12:18.272518 | 2023-08-31T15:40:04 | 2023-08-31T15:40:04 | 32,989,349 | 5 | 2 | Apache-2.0 | 2022-06-22T10:58:38 | 2015-03-27T14:04:01 | MATLAB | UTF-8 | C++ | false | false | 913 | h | // Copyright 1995-2017 Romain Boman
//
// 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 la... | [
"romain.boman@gmail.com"
] | romain.boman@gmail.com |
4c707e4a8848dd73b9582a37b773346986ad9175 | 2f818ee8c083e30552b1f260944c3361ce65ded0 | /algo/14888.cpp | 6fbb64e4ac868717036277e45233937e02f64dc3 | [] | no_license | lhju4e/TIL | 2cfc707f7db2a6b9ec575e3a309c6ebdbdb07eea | 03319321bf51d4abb4024ca434bf943028762a0b | refs/heads/master | 2021-06-24T15:07:50.338830 | 2020-12-12T00:34:52 | 2020-12-12T00:34:52 | 176,119,672 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,160 | cpp | #include <stdio.h>
#include <math.h>
int go(int, int *, int , int , int , int , int , int );
int max = -pow(10, 9) -1, min = pow(10, 9) +1;
int main()
{
int n=0;
int a[100]={0,};
int plus, minus, mul, divi;
scanf("%d", &n);
for(int i=0; i<n; i++)
scanf("%d", &a[i]);
scanf("%d %d %d %d"... | [
"today1186@naver.com"
] | today1186@naver.com |
58fe584cae1df5b00d4e4bfd9cad35ac9c3dc356 | c657c840a103cc34dc6bcc589cda3a343e68937b | /BizOps/Game.cpp | 7098a21dfdeba84729008018050b9505ab037b53 | [] | no_license | kevin4realll/Projects | 9fd213c88959cc206be09f7f7f9c1a29a45f4c02 | 1858b91f9e02503992141891677c6e05c28ee932 | refs/heads/master | 2020-11-24T09:49:46.500429 | 2020-03-24T20:41:15 | 2020-03-24T20:41:15 | 228,092,100 | 0 | 0 | null | 2020-03-24T20:32:21 | 2019-12-14T21:35:15 | C++ | UTF-8 | C++ | false | false | 11,424 | cpp | /************************************************************************
***Program name: Game.cpp
Author: Kevin Spevacek
Date: 11/29/2019
Description: Definition file for Game Class. Runs the business game
***********************************************************************/
//#include "pch.h"
#include <io... | [
"noreply@github.com"
] | kevin4realll.noreply@github.com |
4c5e66b1a6cb71c61a2b98d4ee0aa1eae130af15 | fc7d384208cbc2e7f8921b9d72d82324ee3908aa | /headers/Game.h | c300a19220c915e64727b2b8ac571692b4544a24 | [] | no_license | Anfid/APerfectGame | 397f3ec61ddba2c59329a39a02b4b3f900c0099a | 8fe72068d7c84e1319eaea126df483a1e30c2977 | refs/heads/master | 2021-04-26T23:24:36.521453 | 2018-04-13T05:48:47 | 2018-04-13T05:48:47 | 123,989,972 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 415 | h | #ifndef GAME_H
#define GAME_H
#include "Player.h"
class Graphics;
class Input;
class Scroll;
enum State {
Menu,
Play,
Pause
};
class Game {
public:
Game();
~Game();
private:
void mainLoop();
void draw(Graphics &graphics, Scroll &scroll);
void update(Graphics &graphics, Input &input,... | [
"pogretskiy.mihail@gmail.com"
] | pogretskiy.mihail@gmail.com |
fb0f6fbeeb63a3778105317b6536c137f1ac23a2 | bccbba7cdf969cc218f194f730aef006202aaa51 | /variable.cc | 4e82331055c75080622aec58690c1d7766f7c5e0 | [] | no_license | jschelle/loki | 7b316518ee62a478042cb72473516edcc740042b | 0813e20494e46cb02f0f3ed251e48ba84afef15a | refs/heads/master | 2021-01-20T06:22:48.094216 | 2013-07-14T00:06:00 | 2013-07-14T00:06:00 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,026 | cc | #include "variable.h"
#include "context.h"
#include <iostream>
/**
* VARIABLE
**/
int variable::get_type()
{
return atom::TYPE_VARIABLE;
}
atom* variable::shallow_copy()
{
variable* v = new variable(m_identifier);
return v;
}
variable::variable(std::string id)
{
this->m_identifier=id;
}
std::string v... | [
"jschelle@ugent.be"
] | jschelle@ugent.be |
9f035ff1b72834cfae024858ba012c58bf3df973 | 2a7e77565c33e6b5d92ce6702b4a5fd96f80d7d0 | /fuzzedpackages/mniw/inst/include/mniw/Wishart.h | a1b6a53f032563f5c6af82c5db879654ef1e7d34 | [] | no_license | akhikolla/testpackages | 62ccaeed866e2194652b65e7360987b3b20df7e7 | 01259c3543febc89955ea5b79f3a08d3afe57e95 | refs/heads/master | 2023-02-18T03:50:28.288006 | 2021-01-18T13:23:32 | 2021-01-18T13:23:32 | 329,981,898 | 7 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 7,581 | h | /// @file Wishart.h
///
/// @brief Density evaluation and random number generation for the (Inverse) Wishart distribution.
#ifndef Wishart_h
#define Wishart_h 1
// [[Rcpp::depends(RcppEigen)]]
#include <RcppEigen.h>
#include "mniw/TriUtils.h"
namespace mniw {
#define gammaln R::lgammafn
#define chisq_rand Rf_rchisq... | [
"akhilakollasrinu424jf@gmail.com"
] | akhilakollasrinu424jf@gmail.com |
8ef939ea72979a1f653e4949b9233c8ee9e4990e | b1a8b4515064081a2571a21cef3aab597e2566c4 | /runtime/helpers/windows/gmm_callbacks_tgllp_plus.inl | 8e30d174561f8b2cbf4891ac8b2cec54cb7cf068 | [
"MIT",
"LicenseRef-scancode-free-unknown"
] | permissive | KamilKoprykIntel/compute-runtime | 379e9bc66e34b6cbda4b9a1ef7d1cd0da58d9ca2 | 8ece440625dc178b6f836ea455d8daccda5cdcc0 | refs/heads/master | 2021-01-08T04:01:29.178394 | 2020-02-19T19:17:21 | 2020-02-20T11:10:21 | 241,906,088 | 0 | 0 | MIT | 2020-02-20T14:32:41 | 2020-02-20T14:32:40 | null | UTF-8 | C++ | false | false | 2,104 | inl | /*
* Copyright (C) 2019-2020 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#include "core/helpers/hw_helper.h"
#include "core/helpers/windows/gmm_callbacks.h"
#include "runtime/command_stream/aub_command_stream_receiver_hw.h"
#include "runtime/command_stream/command_stream_receiver_hw.h"
#include "runti... | [
"ocldev@intel.com"
] | ocldev@intel.com |
b7c0b1d2c7d3b9116cfb2666e90a9d2e72312746 | 5e0945896f7c8d574ab3d23e020cd6e4549c6b1d | /Table.h | 96fb85c417858ff80afc18a360585c3e4cde8597 | [] | no_license | koganie/uecda_server | 4c3a7c20d114e517835245db40f3004902dd8395 | 576e9be3817156a7d42613f7516467b7d74da739 | refs/heads/master | 2021-01-18T18:50:53.010075 | 2017-05-06T17:20:03 | 2017-05-06T17:20:03 | 60,424,109 | 1 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 1,811 | h | #ifndef DEFINE_TABLE
#define DEFINE_TABLE
using namespace std;
#include "Yaku.h"
#include "Player.h"
class Table{
private:
int64 baBit;//場の情報は32bit
//右から
// 0:空場
// 1:階段
// 2:ペア
// 3:単騎
// 4:革命
// 5:縛り
// 6:ジョーカー単騎
public:
bool isOnset() const;
bool isKaidan() const;
... | [
"misogmt@gmail.com"
] | misogmt@gmail.com |
ea59830607ca2d6d6b83d1c765a30f30dafd43a8 | 721b6b6dcf599c7a7c8784cb86b1fed6ca40221d | /src/Coding-Blocks/DeepakAndHisJourney.cpp | a71b10c055337407429bcf0a56d7644c2aeaae7e | [] | no_license | anveshh/cpp-book | e9d79dbf899b30aefbbddd5d26b73be178850c23 | 54c2ceeac916540d919b4d8686cbfbcbcfecf93d | refs/heads/master | 2023-03-24T03:02:37.305470 | 2021-03-10T16:35:39 | 2021-03-10T16:35:39 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 467 | cpp | #include<iostream>
using namespace std;
int main(int argc, char const *argv[]) {
long long int T,N,Min,sum;
cin>>T;
while(T--) {
cin>>N;
int*C=new int[N];
int*L=new int[N];
for(int i=0;i<N;i++) {
cin>>C[i];
}
for(int i=0;i<N;i++) {
cin>>L[i];
}
Min=C[0];
su... | [
"ravikanthreddy8500@gmail.com"
] | ravikanthreddy8500@gmail.com |
0126ac95a9f8c2e7dcad8869f08b8a88e617b836 | 786f9c3604d5baf9daa4dfa165bfe792682c5d77 | /2.0/PluginProj/Square/SquarePainterFactory/squarefactory.cpp | 038aecd97d64c482e655837c51d0f2a5c743fcbb | [] | no_license | l-iberty/MyDrawboard | 70977a756f60fc91dd091fdf2f5827ebe361d006 | 4a6f5d54391960fd56f34ae30f802aec7d4c5897 | refs/heads/master | 2021-06-03T01:36:19.947609 | 2021-04-23T08:08:06 | 2021-04-23T08:08:06 | 85,384,282 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 375 | cpp | #include "squarefactory.h"
#include "square.h"
SquareFactory::SquareFactory() {
}
SquareFactory::~SquareFactory() {
}
Shape* SquareFactory::createShape() {
Shape *shape = new MySquare;
return shape;
}
Shape* SquareFactory::createShape(Shape *shape) {
Shape *shapeCpy = new MySquare;
shapeCpy->setKe... | [
"2593093242@qq.com"
] | 2593093242@qq.com |
ee3b87bbf48d8fb9f9cc6a35a4f594c4136ac6e5 | c45ed46065d8b78dac0dd7df1c95b944f34d1033 | /TC-SRM-582-div1-1000/lx.cpp | 8d949d3f0651e82aa0fa7ee300c6c4546e3b9028 | [] | no_license | yzq986/cntt2016-hw1 | ed65a6b7ad3dfe86a4ff01df05b8fc4b7329685e | 12e799467888a0b3c99ae117cce84e8842d92337 | refs/heads/master | 2021-01-17T11:27:32.270012 | 2017-01-26T03:23:22 | 2017-01-26T03:23:22 | 84,036,200 | 0 | 0 | null | 2017-03-06T06:04:12 | 2017-03-06T06:04:12 | null | UTF-8 | C++ | false | false | 3,175 | cpp | #include <bits/stdc++.h>
#define rep(i, x, y) for (int i = (x), _ = (y); i <= _; ++i)
#define down(i, x, y) for (int i = (x), _ = (y); i >= _; --i)
#define x first
#define y second
#define mp make_pair
#define pb push_back
#define bin(x) (1<<(x))
#define LX_JUDGE
using namespace std;
typedef long long LL;
template<t... | [
"noreply@github.com"
] | yzq986.noreply@github.com |
4e9b92344f11fa3d00e4f798cf29176942121cd9 | 3448a43cf0635866b25e5d513dd60fb003f47e29 | /src/xrGame/smart_cover_animation_selector.h | a15cbba5854eb539acada2e2c09639d5e326e18c | [
"LicenseRef-scancode-warranty-disclaimer",
"BSD-2-Clause"
] | permissive | xrLil-Batya/cordisproject | 49632acc5e68bea9847d001d82fb049703d223c2 | 24275a382fec62a4e58d11579bf497b894f220ba | refs/heads/master | 2023-03-19T01:17:25.170059 | 2020-11-17T14:22:06 | 2020-11-17T14:22:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,758 | h | ////////////////////////////////////////////////////////////////////////////
// Module : smart_cover_animation_selector.h
// Created : 07.09.2007
// Author : Alexander Dudin
// Description : Animation selector for smart covers
////////////////////////////////////////////////////////////////////////////
#ifndef SMA... | [
"phantom1020@yandex.ru"
] | phantom1020@yandex.ru |
5b297b0e9128d0f034d18a5bba2799ea85d4a1e6 | 5aad40ba5a1eb29799c1ad1c21495faa07e99b36 | /src/3rth/glh/glh_linear.h | 0587236232bebbf76a93a45f42475b824461c276 | [] | no_license | q4a/navidia_proj | 3525bcfdb12dc20dcecf08f2603324feceef7394 | 32c839744ad849f8d4d0273c635c4d601cc1980f | refs/heads/master | 2023-04-16T10:44:39.466782 | 2019-11-30T10:26:47 | 2019-11-30T10:26:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 35,967 | h | /*
glh - is a platform-indepenedent C++ OpenGL helper library
Copyright (c) 2000 Cass Everitt
Copyright (c) 2000 NVIDIA Corporation
All rights reserved.
Redistribution and use in source and binary forms, with or
without modification, are permitted provided that the following
conditions are met:
... | [
"xtKnightMM@iCloud.com"
] | xtKnightMM@iCloud.com |
2bac5339966e5e6fe4551f6bf07a7fe1b008159e | a266f43c0a5bda14d3115c9b56327bc95bf7510e | /Others/AutoTrade/AutoTradeDlg.cpp | 5a46e7f73c32bca1db4eb402e93c825d6e60dae8 | [] | no_license | obiwan45/study | 691e89835a41473bf2cecae8bf75be1737cb1865 | db9fea1b25e60123136b4e0a353d82ec0a559f1f | refs/heads/master | 2020-06-06T17:34:35.483642 | 2019-06-16T15:27:00 | 2019-06-16T15:27:00 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 50,777 | cpp | // AutoTradeDlg.cpp : implementation file
//
#include "stdafx.h"
#include "AutoTrade.h"
#include "AutoTradeDlg.h"
#include <vector>
#include <algorithm>
#include <Windows.h>
#include <Tlhelp32.h>
#include <stdio.h>
#include <sstream>
using std::random_shuffle;
using std::vector;
#ifdef _DEBUG
#defin... | [
"37958991+bscan7@users.noreply.github.com"
] | 37958991+bscan7@users.noreply.github.com |
29186ce5f7afc92dabb1bc1b188662fefd85701c | b7ac8be22fcfcedab9f9c9be37c8769a02418dfc | /src/NeoPixelController.cpp | 480c9cbf01bd7c3a79915334e4a97b04a29d7896 | [
"MIT"
] | permissive | frdfsnlght/NeoPixel-Patterns | 150f57a57b0385fee59bb08ff6bfaa4cee382e80 | 9c683605eef6d1bac8301ee25ef3d9c334325679 | refs/heads/master | 2021-06-09T02:55:11.784148 | 2019-12-18T15:53:58 | 2019-12-18T15:53:58 | 144,763,692 | 0 | 1 | MIT | 2018-09-10T12:15:01 | 2018-08-14T19:29:19 | C++ | UTF-8 | C++ | false | false | 3,168 | cpp |
#include "NeoPixelController.h"
#include "NeoPixelPattern.h"
NeoPixelController::NeoPixelController(uint16_t numPixels, uint8_t numSegments, uint8_t pin, uint8_t type) :
Adafruit_NeoPixel(numPixels, pin, type),
numSegments(0),
segments(NULL) {
updateSegments(numSegments);
}
NeoPixelController::~... | [
"tab@bennedum.org"
] | tab@bennedum.org |
944f6fcb970d70be7e5ed44a3489592e6a559bcf | 4ab24156f52a5c5528f026e0fe220865646742bf | /59_02_QueueWithMax/QueueWithMax.cpp | 326d36c62821cc5d522a0102c63ab2e731b4b2f1 | [] | no_license | Zoltan3057/Sword-to-Offer | d42111b34a6b7d7579ddbf9fdffb253df676b0de | 35c3a557ab25a1e534ee9ecae697fdd3df2f5b57 | refs/heads/master | 2020-05-02T04:39:05.360211 | 2019-03-26T09:24:28 | 2019-03-26T09:24:28 | 177,754,807 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 2,882 | cpp |
//==================================================================
// 《剑指Offer——名企面试官精讲典型编程题》代码
// 作者:何海涛
//==================================================================
// 面试题59(二):队列的最大值
// 题目: 请定义一个队列并实现函数max得到队列里的最大值,要求函数max,
// push_back, pop_front的时间复杂度都是O(1);
#include <cstdio>
#include <deque>
#include... | [
"305735794@qq.com"
] | 305735794@qq.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.