blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 6 201 | content_id stringlengths 40 40 | detected_licenses listlengths 0 26 | license_type stringclasses 2
values | repo_name stringlengths 7 95 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 57
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 197k 639M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 11
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 34
values | src_encoding stringclasses 18
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 11 9.86M | extension stringclasses 27
values | content stringlengths 11 9.86M | authors listlengths 1 1 | author stringlengths 0 70 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
becdde2298a41bce3033166345470bca59dedc15 | 37354fbd8d7c457d58d0b634c673271efaf86872 | /ResourceManager.h | 2dccc07fc86ddd884b21fc05e5e99c9ff08e184f | [] | no_license | Emorgas/Tower-Defence | 9b4d131a002312c97a9f6843602cd679bd9d7e26 | 1d70a1db2ced835f0eab41676e15d79619fc133d | refs/heads/master | 2020-03-07T01:18:47.136418 | 2018-05-12T11:38:14 | 2018-05-12T11:38:14 | 126,077,978 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,073 | h | #pragma once
#include <map>
#include <SDL.h>
#include <SDL_image.h>
#include "TextureResource.h"
namespace Engine
{
class ResourceManager
{
public:
static ResourceManager& GetInstance();
ResourceManager(ResourceManager const&) = delete;
void operator=(ResourceManager const&) = delete;
void Init(SDL_Render... | [
"stephenmoore918@gmail.com"
] | stephenmoore918@gmail.com |
a63ad94630e1a26f8d21b47604cf4634693bad21 | 71de6d5cfbdd4283ae08625375de9452732948bc | /classes/graphics/backends/cairo/fontcairo.cpp | 173a1af377d6a722d395242da55d5eedede4eeb0 | [
"Artistic-1.0",
"Artistic-2.0"
] | permissive | masums/smooth | 1e036e56a5ae71570b87e034594e6b854870778b | 50dd4a9b6eee83efcf8bc4199573dbdef19a67c9 | refs/heads/master | 2023-06-14T09:10:20.991377 | 2021-07-09T19:52:11 | 2021-07-09T19:52:59 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,964 | cpp | /* The smooth Class Library
* Copyright (C) 1998-2021 Robert Kausch <robert.kausch@gmx.net>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of "The Artistic License, Version 2.0".
*
* THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR
* IMPLIED WARRA... | [
"robert.kausch@freac.org"
] | robert.kausch@freac.org |
d5992559077e6d9d59ce287ce2830374bb6e0214 | 6b2a8dd202fdce77c971c412717e305e1caaac51 | /solutions_5662291475300352_0/C++/uran198/C.cpp | 414a09f66ab9792aa1c5db54b98943633966a6b1 | [] | 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 | 818 | cpp | #include <iostream>
#include <algorithm>
#include <deque>
#include <string>
#include <vector>
#include <queue>
#include <set>
#include <map>
#include <cstring>
#include <cstdio>
using namespace std;
const double EPS = 1e-8;
int main() {
int t;cin>>t;
for(int K=1; K <= t; ++K) {
int n;
cin>>n;
vector<pair<int... | [
"eewestman@gmail.com"
] | eewestman@gmail.com |
7d6ef07c075100191fea5da4b4307f9c946fc160 | bc90e70ee2139b034c65a5755395ff55faac87d0 | /sprout/stateful/counter.hpp | 8af669b49990472893ca35c49dfdcd0320857817 | [
"BSL-1.0"
] | permissive | Manu343726/Sprout | 0a8e2d090dbede6f469f6b875d217716d0200bf7 | feac3f52c785deb0e5e6cd70c8b4960095b064be | refs/heads/master | 2021-01-21T07:20:16.742204 | 2015-05-28T04:11:39 | 2015-05-28T04:11:39 | 37,670,169 | 0 | 1 | null | 2015-06-18T16:09:41 | 2015-06-18T16:09:41 | null | UTF-8 | C++ | false | false | 2,774 | hpp | /*=============================================================================
Copyright (c) 2011-2015 Bolero MURAKAMI
https://github.com/bolero-MURAKAMI/Sprout
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.tx... | [
"bolero.murakami@gmail.com"
] | bolero.murakami@gmail.com |
c5a02ccb0912e8f12ed93468314272e32c998b2a | 801f7ed77fb05b1a19df738ad7903c3e3b302692 | /refactoringOptimisation/differentiatedCAD/occt-min-topo-src/src/MoniTool/MoniTool_SignText.cxx | 8a0be6eacf9d36ea63896330bfce03bfb0d81ea8 | [] | no_license | salvAuri/optimisationRefactoring | 9507bdb837cabe10099d9481bb10a7e65331aa9d | e39e19da548cb5b9c0885753fe2e3a306632d2ba | refs/heads/master | 2021-01-20T03:47:54.825311 | 2017-04-27T11:31:24 | 2017-04-27T11:31:24 | 89,588,404 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,157 | cxx | // Copyright (c) 1999-2014 OPEN CASCADE SAS
//
// This file is part of Open CASCADE Technology software library.
//
// This library is free software; you can redistribute it and/or modify it under
// the terms of the GNU Lesser General Public License version 2.1 as published
// by the Free Software Foundation, with spe... | [
"salvatore.auriemma@opencascade.com"
] | salvatore.auriemma@opencascade.com |
7f2212d8ad9eaac19b1fd0d2616f412f3eed2f99 | 1f63dde39fcc5f8be29f2acb947c41f1b6f1683e | /Boss2D/addon/_old/webrtc-qt5.11.2_for_boss/modules/video_capture/video_capture_defines.h | 638395c5579f331834b0a5304501fd5a03628759 | [
"MIT",
"LicenseRef-scancode-google-patent-license-webrtc",
"LicenseRef-scancode-unknown-license-reference",
"BSD-3-Clause",
"GPL-1.0-or-later",
"LicenseRef-scancode-takuya-ooura",
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-unknown",
"MS-LPL",
"LicenseRef-scancode-google-patent-licen... | permissive | koobonil/Boss2D | 09ca948823e0df5a5a53b64a10033c4f3665483a | e5eb355b57228a701495f2660f137bd05628c202 | refs/heads/master | 2022-10-20T09:02:51.341143 | 2019-07-18T02:13:44 | 2019-07-18T02:13:44 | 105,999,368 | 7 | 2 | MIT | 2022-10-04T23:31:12 | 2017-10-06T11:57:07 | C++ | UTF-8 | C++ | false | false | 2,556 | h | /*
* Copyright (c) 2012 The WebRTC project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contribut... | [
"slacealic@nate.com"
] | slacealic@nate.com |
fd183dbde4c9711dbcbf6597ec48defd28371bea | 1393b088958301a6c2f6766df2864c61365e9d4b | /Code/Algorithms/L2/CloudMasking/vnsShadowVariationThresholdImageFilter.h | 64ef3c3db3bcb5b0e0beb50a7e64527fad9d7e11 | [
"Apache-2.0"
] | permissive | alexgoussev/maja_gitlab | f6727468cb70e210d3c09453de22fee58ed9d656 | 9688780f8dd8244e60603e1f11385e1fadc90cb4 | refs/heads/develop | 2023-02-24T05:37:38.769452 | 2021-01-21T16:47:54 | 2021-01-21T16:47:54 | 332,269,078 | 0 | 0 | Apache-2.0 | 2021-01-23T18:17:25 | 2021-01-23T17:33:18 | C++ | UTF-8 | C++ | false | false | 10,093 | h | /*
* Copyright (C) 2020 Centre National d'Etudes Spatiales (CNES)
*
* 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 appl... | [
"julie.brossard@c-s.fr"
] | julie.brossard@c-s.fr |
bac1f2b22b8602d410e7fb2b16ca219def59a1ac | cefd6c17774b5c94240d57adccef57d9bba4a2e9 | /Crypto/testsuite/src/RSATest.cpp | 556e9fd990791aa5308c13227b023045d19cd99f | [
"BSL-1.0"
] | permissive | adzhou/oragle | 9c054c25b24ff0a65cb9639bafd02aac2bcdce8b | 5442d418b87d0da161429ffa5cb83777e9b38e4d | refs/heads/master | 2022-11-01T05:04:59.368831 | 2014-03-12T15:50:08 | 2014-03-12T15:50:08 | 17,238,063 | 0 | 1 | BSL-1.0 | 2022-10-18T04:23:53 | 2014-02-27T05:39:44 | C++ | UTF-8 | C++ | false | false | 8,995 | cpp | //
// RSATest.cpp
//
// $Id: //poco/1.4/Crypto/testsuite/src/RSATest.cpp#1 $
//
// Copyright (c) 2008, Applied Informatics Software Engineering GmbH.
// and Contributors.
//
// Permission is hereby granted, free of charge, to any person or organization
// obtaining a copy of the software and accompanying documentation ... | [
"adzhou@hp.com"
] | adzhou@hp.com |
c6cdc7a9e9d4a08e960cdf8b02fa3c139f7d5ef2 | 4ac1e916a5c376d687ad868b218bd95074f5fa12 | /r7q2/src/MinhaEmpresa.cpp | 5e849e783fb6dfdf5d5f31a3a0c15ee99e0f3f78 | [] | no_license | henriqueeraraujo/roteiro7 | 87abba2243590190c1dfdf825e318f99bedd261c | ab9ee4fe9896ae98756eb7ebbb3efea645c64229 | refs/heads/master | 2021-07-13T17:52:52.170028 | 2017-10-19T12:48:15 | 2017-10-19T12:48:15 | 104,886,962 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 723 | cpp | #include "MinhaEmpresa.h"
MinhaEmpresa::MinhaEmpresa(){
f1=Funcionario();
c1=Consultor();
}
void MinhaEmpresa::menu(){
cout<<"\n**********\tMENU\t**********\n";
cout<<"0 - Sair\n";
cout<<"1 - Mostrar dados do Funcionario\n";
cout<<"2 - Alterar nome do Funcionario\n";
cout<<"3 - Alterar matr... | [
"henriqueeraraujo@gmail.com"
] | henriqueeraraujo@gmail.com |
4e377a17082231d429b0fcee09527701b936e4f2 | 5e1ae0c5e8f26339759b43e6627771edcf7d16ce | /art/compiler/dex/vreg_analysis.cc | 7e1e7e184732d4a0a04cb2dfa453cc6975729e00 | [
"NCSA",
"Apache-2.0"
] | permissive | guoyanjun0313/cb40_6735 | d303eec21051633ee52230704a1dfd0f3c579cc0 | fc5aa800555da17f2c2c3f75f95f772ff67b40c0 | refs/heads/master | 2022-12-28T16:44:38.678552 | 2018-04-18T03:00:31 | 2018-04-18T03:00:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 17,959 | cc | /*
* Copyright (C) 2014 MediaTek Inc.
* Modification based on code covered by the mentioned copyright
* and/or permission notice(s).
*/
/*
* Copyright (C) 2011 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with th... | [
"liuyiping@t-road.cn"
] | liuyiping@t-road.cn |
ae455cb1e165ab0e17c5639542f038a425767bbd | 7efc72aa1cf4667f759a7a89d015143b5f8456e9 | /src/learn/01/camera_class.cpp | 6e9e29e9b76afc5fdfbc12d32c38b9c15f2eea6e | [] | no_license | ORZaaa/openGL | ebe88120ec4c4a04e491dd4197bcc59055f80d9a | d8bd29f8d8cf3b943c48903a3ee0c2e0536e4583 | refs/heads/master | 2020-05-20T07:12:07.090639 | 2019-05-07T17:03:13 | 2019-05-07T17:03:13 | 185,444,031 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,946 | cpp | ///**
//*┌──────────────────────────────────────────────────────────────┐
//*│ Info:
//*│ Author: Carl
//*│ Version: 1.0
//*│ Creat Time: 19.04.21
//*└──────────────────────────────────────────────────────────────┘
//*/
//
//#include <glad/glad.h>
//#include <GLFW/glfw3.h>
//#define STB_IMAGE_IMPLEMENTATIO... | [
"chen.mo@outlook.com"
] | chen.mo@outlook.com |
3d107b7967d94d77e217b23b1e0a1b994329b840 | 6c945f5861276389d565fc2326ddfd069f61e6a9 | /src/boost/spirit/home/classic/actor/typeof.hpp | 177f5303a24d20f543c3500a2fc523503149b583 | [] | no_license | Springhead/dependency | 3f78387d2a50439ce2edf7790a296026c6012fa3 | 05d4e6f9a3e9c21aae8db4b47573aa34058c4705 | refs/heads/master | 2023-04-23T23:40:13.402639 | 2021-05-08T05:55:22 | 2021-05-08T05:55:22 | 112,149,782 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,750 | hpp | /*=============================================================================
Copyright (c) 2006 Tobias Schwinger
http://spirit.sourceforge.net/
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
============... | [
"kanehori@haselab.net"
] | kanehori@haselab.net |
745c00268e6601b6a53bcd05295b670c48393399 | 8dc84558f0058d90dfc4955e905dab1b22d12c08 | /content/browser/permissions/permission_controller_impl.h | 3b9de91634714ba77230ba591e27c85869acd284 | [
"LicenseRef-scancode-unknown-license-reference",
"BSD-3-Clause"
] | permissive | meniossin/src | 42a95cc6c4a9c71d43d62bc4311224ca1fd61e03 | 44f73f7e76119e5ab415d4593ac66485e65d700a | refs/heads/master | 2022-12-16T20:17:03.747113 | 2020-09-03T10:43:12 | 2020-09-03T10:43:12 | 263,710,168 | 1 | 0 | BSD-3-Clause | 2020-05-13T18:20:09 | 2020-05-13T18:20:08 | null | UTF-8 | C++ | false | false | 2,493 | h | // Copyright 2018 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CONTENT_BROWSER_PERMISSIONS_PERMISSION_CONTROLLER_IMPL_H_
#define CONTENT_BROWSER_PERMISSIONS_PERMISSION_CONTROLLER_IMPL_H_
#include "content/com... | [
"arnaud@geometry.ee"
] | arnaud@geometry.ee |
82a0a89e14c3a87b795aaf6ce6172ccb2cded8fd | 9792ac443f3bf57b660b2c35297da029b2ee8d46 | /mergesort and inversion count.cpp | e1e42b48864cf30adaf54acd45a27367613c42fd | [] | no_license | adarsh1github1/Competetive-codeforces-codechef- | 8a84f83b3711d251ece77af3900d24060086a383 | 63a12f255174211f279fabbda4c5ea54f3c46112 | refs/heads/master | 2022-11-11T17:04:12.482099 | 2020-07-06T15:49:18 | 2020-07-06T15:49:18 | 263,350,522 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,070 | cpp | #include <bits/stdc++.h>
using namespace std;
int merge(vector<int> A,int temp[],int l,int mid, int high)
{
int inv_count=0;
int i,j,k;
i=l;
j=mid;
k=l;
while(i <= mid-1 && j <= high)
{
if(A[i] <= A[j])
{
temp[k++] = A[i++];
}
else
{
temp[k++] = A[j++];
... | [
"noreply@github.com"
] | noreply@github.com |
ac469ef9c66617050c4af9b58bcd0173189363a3 | 9a12150c1672fa7b304a728d86e5434aafeb5120 | /580B.cpp | 1334edd00a61cddee9909d276bc6229bb4111929 | [] | no_license | apurvparekh30/codeforces | 93b53f99d5d9e16f3d833f89418c8f7edfb63549 | c18384a62ddfc514e4d087007a9717276d02a350 | refs/heads/master | 2021-07-24T20:04:29.526385 | 2020-08-01T05:10:25 | 2020-08-01T05:10:25 | 204,581,591 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 720 | cpp | #include <stdio.h>
#include <algorithm>
#include <vector>
#include <iostream>
using namespace std;
vector<pair<long long,long long>> friends;
int n,d;
int main() {
cin >> n >> d;
for(int i=0;i<n;i++) {
pair<long long,long long> p;
cin >> p.first >> p.second;
friends.push_back(p);
}
sort(friends.... | [
"apurvparekh30@gmail.com"
] | apurvparekh30@gmail.com |
0ee54cf88cd1e759ebf71dddffc918f2a0a80db7 | 944438a953b5a125aae48eeb578b80cc37e3577e | /ash/webui/eche_app_ui/system_info.cc | 6cc0af719c80403100a200083d8b2baa04f59778 | [
"BSD-3-Clause"
] | permissive | guhuaijian/chromium | 0dc346626cc2084bb9a786bb59911441a83d10e0 | 2b617d4be11c76220496be187d321325babb7cda | refs/heads/master | 2023-08-16T14:49:25.462662 | 2021-10-29T01:20:06 | 2021-10-29T01:20:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,113 | 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 "ash/webui/eche_app_ui/system_info.h"
#include "base/memory/ptr_util.h"
namespace chromeos {
namespace eche_app {
SystemInfo::Builder::Builder... | [
"chromium-scoped@luci-project-accounts.iam.gserviceaccount.com"
] | chromium-scoped@luci-project-accounts.iam.gserviceaccount.com |
dee7af35f3071ea6b6f469607b7d46e2d129d508 | 23be3225d101b3ecc03d8f324c77b396c9f405f1 | /src/ompl/geometric/planners/quotientspace/datastructures/components/SE2_R2.h | eebb50b2f5a42b6a00d6e48dcf565db4c8d3a235 | [
"BSD-3-Clause"
] | permissive | alexha98/ompl | 33dcccd8fc0c77a4cf03e9c9f0b3bac8eb5a2514 | e1a1ce690ea5d52eb12a9fd06c8fd8a04dcfeb9e | refs/heads/master | 2022-11-25T02:06:30.911713 | 2020-02-17T13:01:19 | 2020-02-17T13:01:19 | 275,031,082 | 0 | 0 | null | 2020-06-25T22:57:38 | 2020-06-25T22:57:37 | null | UTF-8 | C++ | false | false | 1,238 | h | #ifndef OMPL_GEOMETRIC_PLANNERS_BUNDLESPACE_BUNDLE_COMPONENT_SE2_R2__
#define OMPL_GEOMETRIC_PLANNERS_BUNDLESPACE_BUNDLE_COMPONENT_SE2_R2__
#include <ompl/geometric/planners/quotientspace/datastructures/BundleSpaceComponent.h>
namespace ompl
{
namespace geometric
{
class BundleSpaceComponent_SE2_R2: pu... | [
"andreas.orthey@gmx.de"
] | andreas.orthey@gmx.de |
87eaf8f12389f7542c70948771ffab1d763bc27a | eea72893d7360d41901705ee4237d7d2af33c492 | /src/rich/CsRCLikeAll05.cc | 924c25c1d0de1869811e688242f2f6edc65ba442 | [] | no_license | lsilvamiguel/Coral.Efficiencies.r14327 | 5488fca306a55a7688d11b1979be528ac39fc433 | 37be8cc4e3e5869680af35b45f3d9a749f01e50a | refs/heads/master | 2021-01-19T07:22:59.525828 | 2017-04-07T11:56:42 | 2017-04-07T11:56:42 | 87,541,002 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 37,720 | cc | /*!
\File CsRCLikeAll05.cc
\----------------------------
\brief CsRCLikeAll05 class implementation.
\author Paolo Schiavon
\version 1.0
\date May 2004
*/
#include <iostream>
#include <ostream>
#include <cstdio>
#include <iomanip>
#include "CsOpt.h"
#include "CsHist.h"
#incl... | [
"lsilvamiguel@gmail.com"
] | lsilvamiguel@gmail.com |
209703034066288d2925defaea92eb881c7aa0d0 | 7ed3e6e692d1fde482ef457ef111b46abc30c351 | /Monte-Carlo Ray Tracer/BoundingBox.h | 717bb62e8a9a6de65fb0aa5e33526d05f1aadea4 | [] | no_license | seu-xh/MonteCarloPathTracing | adf837eb66b0eec85ec0bc29ac6b509e52e51871 | 00efb91cdcd8de9a70c7ef8c88fb8d585ccc2170 | refs/heads/master | 2020-04-26T19:43:03.839998 | 2019-03-12T02:49:38 | 2019-03-12T02:49:38 | 173,784,388 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 479 | h | #pragma
#include<vector>
#include"glm\glm.hpp"
#include"Vertex.h"
#include"Ray.h"
struct BBOX
{
glm::vec3 min, max;
void ComputeBBOX(const std::vector<Vertex>&v);
//void ComputeBBOX(const std::vector<Triangle*>&tri);
void IncludeVertex(Vertex v);
int GetLongestAxis();
//void ComputeSpanAlongDir(glm::vec3 Dir, co... | [
"790174340@qq.com"
] | 790174340@qq.com |
cde1680785afd75f41a8c4aeffe4f4dba60b3384 | 4357b36c493e28d6592c5a79d8f62f4795abfba6 | /main.cpp | 6f64fac5afc25e3165f3df1b562ea030851f71ab | [
"BSD-3-Clause"
] | permissive | fmorgner/dramatic | 210c3a3b2464cf8cf1d31995ba8953b0bb9a6596 | 1c355307c41d17936c589cc43198abb561dfc3c7 | refs/heads/master | 2022-12-04T07:57:33.677834 | 2020-08-26T22:46:05 | 2020-08-26T22:48:25 | 290,620,587 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 774 | cpp | #include "dramatic/dramatic.hpp"
#include <iostream>
auto main() -> int
{
// clang-format off
auto constexpr first_scene = drama::Scene{"1 + 1 equals 2"}
.Given(1)
.AsWellAs(1)
.Invoking(std::pl... | [
"felix.morgner@gmail.com"
] | felix.morgner@gmail.com |
ba1f1577c3af992acb18bef94e2cb5610c96d6de | a328c17ff42ba230a43186a50cbc292fd66ecd70 | /cdbjournalitem.h | f5911e10314c207f304aaecee9231526b73ad461 | [] | no_license | vlarry/emulator | cd072a6c7e5ee147fd20f9cd82d0c4a153ee0674 | bd84199ddfd3979d784d5e15eb968a45746daffd | refs/heads/master | 2020-03-29T07:45:48.455669 | 2019-03-01T09:29:52 | 2019-03-01T09:29:52 | 94,663,863 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 441 | h | #ifndef CDBJOURNALITEM_H
#define CDBJOURNALITEM_H
//-------------------------
#include <QTableWidgetItem>
#include <QDateTime>
//-------------------------------------------
class CDbJournalItem: public QTableWidgetItem
{
public:
explicit CDbJournalItem(const QString &text... | [
"v_larry@list.ru"
] | v_larry@list.ru |
b7b18fd35071018de05ddff066c1a830525cd206 | 4c25432a6d82aaebd82fd48e927317b15a6bf6ab | /data/dataset_2017/dataset_2017_8/sammyMaX/3264486_5736519012712448_sammyMaX.cpp | be0beedb84d3be5ed8252dfd0c475acbf0290b7d | [] | no_license | wzj1988tv/code-imitator | dca9fb7c2e7559007e5dbadbbc0d0f2deeb52933 | 07a461d43e5c440931b6519c8a3f62e771da2fc2 | refs/heads/master | 2020-12-09T05:33:21.473300 | 2020-01-09T15:29:24 | 2020-01-09T15:29:24 | 231,937,335 | 1 | 0 | null | 2020-01-05T15:28:38 | 2020-01-05T15:28:37 | null | UTF-8 | C++ | false | false | 717 | cpp | #include <bits/stdc++.h>
using namespace std;
ifstream fin("A-small-attempt1.in");
ofstream fout("A-small1.out");
void solve() {
string s;
int fsize;
fin >> s >> fsize;
int flips[1005] = {}, res = 0, i = 0;
for (char c : s) {
if (i >= fsize) res -= flips[i - fsize];
int now = (c == '+');
if... | [
"e.quiring@tu-bs.de"
] | e.quiring@tu-bs.de |
a385ba34fad18e4945c9139034838ffa8940b883 | c17cb8f229a6762cb88848a70e9b6505adbcbcdd | /c++/src/vs-2019/HelloWinUICppWinRT/HelloWinUICppWinRT/Generated Files/winrt/impl/Windows.System.Diagnostics.DevicePortal.1.h | f2d2d7a524877d8fa74555092c5ac5648d94f8cd | [] | no_license | awrznc/scribble | b1a49df8c66ffb0c63a01d0266a50277e3f2000a | cee07c2d6dc7960023673e3c3a31f1738da7a8e5 | refs/heads/master | 2023-08-18T22:31:01.852432 | 2023-06-12T12:16:42 | 2023-06-12T12:16:42 | 202,322,395 | 4 | 0 | null | 2023-09-13T13:12:44 | 2019-08-14T09:49:39 | C++ | UTF-8 | C++ | false | false | 3,008 | h | // WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.200703.9
#ifndef WINRT_Windows_System_Diagnostics_DevicePortal_1_H
#define WINRT_Windows_System_Diagnostics_DevicePortal_1_H
#include "winrt/impl/Windows.System.Diagnostics.DevicePortal.0.h"
WINRT_EXPORT namespace winrt::Windows::System::Diagn... | [
"49797644+awrznc@users.noreply.github.com"
] | 49797644+awrznc@users.noreply.github.com |
f99bae25aaeb571345be6e92d8c50002b87d8495 | 948f4e13af6b3014582909cc6d762606f2a43365 | /testcases/juliet_test_suite/testcases/CWE762_Mismatched_Memory_Management_Routines/s05/CWE762_Mismatched_Memory_Management_Routines__new_array_free_struct_84_bad.cpp | da66b8ff28d3de2c4b6e6ccfcc45915eaa7291b8 | [] | no_license | junxzm1990/ASAN-- | 0056a341b8537142e10373c8417f27d7825ad89b | ca96e46422407a55bed4aa551a6ad28ec1eeef4e | refs/heads/master | 2022-08-02T15:38:56.286555 | 2022-06-16T22:19:54 | 2022-06-16T22:19:54 | 408,238,453 | 74 | 13 | null | 2022-06-16T22:19:55 | 2021-09-19T21:14:59 | null | UTF-8 | C++ | false | false | 1,627 | cpp | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE762_Mismatched_Memory_Management_Routines__new_array_free_struct_84_bad.cpp
Label Definition File: CWE762_Mismatched_Memory_Management_Routines__new_array_free.label.xml
Template File: sources-sinks-84_bad.tmpl.cpp
*/
/*
* @description
* CWE: 762 Mismatched Memo... | [
"yzhang0701@gmail.com"
] | yzhang0701@gmail.com |
cca657bef4e610e5f7f20135aa2a1c9b8ef70335 | 38bdbce6fae462163bab39ef916335042b2d128c | /src/qt/askpassphrasedialog.h | e15275e66e92c606a6262b5e46d05ed0eb0619fc | [
"MIT"
] | permissive | sharkcoin32/Sharkcoin | b976203cf04d19805af78f7dd0735593dde3970d | 0ef5bba96df4abe51436856e2d0b12be86cabf6b | refs/heads/master | 2022-12-24T09:22:26.186773 | 2020-10-01T14:08:22 | 2020-10-01T14:08:22 | 261,544,989 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,272 | h | // Copyright (c) 2011-2013 The Bitcoin developers
// Copyright (c) 2017-2018 The PIVX developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef BITCOIN_QT_ASKPASSPHRASEDIALOG_H
#define BITCOIN_QT_ASKPASSPHRASEDIALOG... | [
"Sharkcoin dev"
] | Sharkcoin dev |
d717c3d52e125dd9d9806eab37590b0649be36fe | 77309531a6de95d615abd4a9df87e8f9e04a78a2 | /iptool/iptools/image/image.h | c64d02b618f55b805d3b3293840f459bb3c8f442 | [] | no_license | jeremyhernandezz/Image-Processing- | eaf35ced866ec70d7251c6531f7611f7f0758187 | af35606dd810aefa14f4763f5b3063e93fe56c7e | refs/heads/master | 2023-01-12T07:06:15.412999 | 2020-11-20T16:51:08 | 2020-11-20T16:51:08 | 314,599,325 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,583 | h | #ifndef IMAGE_H
#define IMAGE_H
#include <iostream>
#include <stdio.h>
#include <stdlib.h>
#include <vector>
using namespace std;
enum channel{RED, GREEN, BLUE, GREY=RED, GRAY=GREY};
//Createad a struct type called roi to store all the roi information
struct roi {
//Stores the start and end i and... | [
"jeremyhernandez.or@gmail.com"
] | jeremyhernandez.or@gmail.com |
c4eed78e85ea6b61cff3e46aba8508d28ef2fa42 | fd7a379cb5ab6bacb88b088180f6ce6791b9ee98 | /Uva/Station balance.cpp | 5d425b82c7b54bfbac65f19967d9bc6ab222c0e8 | [] | no_license | heheh13/Programming | 504b0dbfca9b6c6ec9150a170e2f358037e99702 | f652d924504106aa6b7e654643cf527c8616d152 | refs/heads/master | 2021-07-17T15:33:20.862070 | 2020-06-23T20:11:19 | 2020-06-23T20:11:19 | 182,564,847 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,509 | cpp | #include<bits/stdc++.h>
#define read() freopen("C:\\Users\\Mehedi\\Desktop\\input.txt","r",stdin)
#define write() freopen("C:\\Users\\Mehedi\\Desktop\\output.txt","w",stdout)
#define debug(x) cout<< #x<<" = "<<x<<endl;
#define dbg(x,y) cout<<#x<<" = "<<x<<" , "<<#y<<" = "<<y<<endl;
#define optimizar ios_base::sync... | [
"noreply@github.com"
] | noreply@github.com |
4c1ec9f3799540f885e8cb4ff4a10bf10f453473 | 419899bcaab97207f31909491699b4c6cef8f18c | /main.cpp | 9d0daec6ee68c97c9fd7355794674e5249dc8132 | [
"MIT"
] | permissive | DiscreteTom/left-recursion-killer | de1fcaee335f1baafd89483842a9adffb3da918d | 0fd5f19a42ca09592ac0663b51329ab0c88b8825 | refs/heads/master | 2020-04-03T10:32:27.155043 | 2018-11-04T13:45:07 | 2018-11-04T13:45:07 | 155,195,899 | 6 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,306 | cpp | #include <iostream>
#include <string>
#include "gramma.h"
using namespace std;
void showDeveloper();
void showHelp();
int main(int argc, char **argv)
{
showDeveloper();
if (argc == 1)
{
showHelp();
//no file input
GrammaTable gt;
string str;
getline(cin, str);
while (str.length())
{
gt.insert(str... | [
"westerngreen@126.com"
] | westerngreen@126.com |
caa3e7a4446413ad30083fd322fca0aedfa884f1 | c0376f9eb4eb1adf2db5aff3d25abc3576d0241b | /src/plugins/secman/interfaces/secman/istorageplugin.h | ba042974792f60f1d5279ebd6e09e7eb3edfe057 | [
"BSL-1.0"
] | permissive | ROOAARR/leechcraft | 0179e6f1e7c0b7afbfcce60cb810d61bd558b163 | 14bc859ca750598b77abdc8b2d5b9647c281d9b3 | refs/heads/master | 2021-01-17T22:08:16.273024 | 2013-08-05T12:28:45 | 2013-08-05T12:28:45 | 2,217,574 | 1 | 0 | null | 2013-01-19T15:32:47 | 2011-08-16T18:55:44 | C++ | UTF-8 | C++ | false | false | 2,833 | h | /**********************************************************************
* LeechCraft - modular cross-platform feature rich internet client.
* Copyright (C) 2006-2013 Georg Rudoy
*
* Boost Software License - Version 1.0 - August 17th, 2003
*
* Permission is hereby granted, free of charge, to any person or organiz... | [
"0xd34df00d@gmail.com"
] | 0xd34df00d@gmail.com |
46ed807805ddaddd867d79c2afc747fd402bd52d | 1abf985d2784efce3196976fc1b13ab91d6a2a9e | /opentracker/include/OpenTracker/core/Module.h | 455c6be4510d69ccce823beac989c519bcbf501d | [
"BSD-3-Clause"
] | permissive | dolphinking/mirror-studierstube | 2550e246f270eb406109d4c3a2af7885cd7d86d0 | 57249d050e4195982c5380fcf78197073d3139a5 | refs/heads/master | 2021-01-11T02:19:48.803878 | 2012-09-14T13:01:15 | 2012-09-14T13:01:15 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,294 | h | /* ========================================================================
* Copyright (c) 2006,
* Institute for Computer Graphics and Vision
* Graz University of Technology
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that ... | [
"s.astanin@gmail.com"
] | s.astanin@gmail.com |
228b7a45a67ff352304e9b1c0cd7b112775f99e9 | e44620035d4d3ced29f50c48862b85c978415f42 | /Project3/Project3/Vampire.cpp | a1a35e6f204494b8b0b68f37f34050b008e72634 | [] | no_license | TuckerL-OSU/CS162 | 6338d34e10ae39f78cce7cb1aac94e72c2a589b9 | cab3d74fd643bf51accf65bdc9b2739a20c28c8f | refs/heads/master | 2020-09-05T09:08:16.289795 | 2019-11-06T17:23:47 | 2019-11-06T17:23:47 | 218,779,912 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 649 | cpp | #include "Vampire.hpp"
Vampire::Vampire() {
name = "Vampire";
attack = 0;
defense = 0;
armor = 1;
strength_points = 18;
}
Vampire::Vampire(int att, int def) : Character("Vampire", att, def, 1, 18) {
this->attack = att;
this->defense = def;
}
Vampire::~Vampire() {
}
int Vampire::attackRoll() {
Die *roll = n... | [
"38082010+TuckerL-OSU@users.noreply.github.com"
] | 38082010+TuckerL-OSU@users.noreply.github.com |
7596ced25ab1cbb174444321f32ee0a11a5e8adf | 30d637c4c1333d7f52a9f3b74205dacb52b025bb | /MakeUnitOwnedByTeam/Исходный код.cpp | 98f60aa6d14580a3087d17f603e013b6c3d84536 | [
"Unlicense"
] | permissive | asdlei99/MakeUnitOwnedByTeam | ff6ecceba6a39208035dab7def8114cb81bc6571 | 741b19182f4ef03f5236f826def9e5471a084a2a | refs/heads/main | 2023-08-16T19:20:53.015647 | 2021-09-19T11:40:44 | 2021-09-19T11:40:44 | null | 0 | 0 | null | null | null | null | WINDOWS-1251 | C++ | false | false | 1,300 | cpp | /*
1. Если юнит союзник и юнит из списка то он общий.
*/
#pragma region Headers
#define _WIN32_WINNT 0x0501
#define WINVER 0x0501
#define NTDDI_VERSION 0x05010000
//#define BOTDEBUG
#define WIN32_LEAN_AND_MEAN
#include <stdexcept>
#include <Windows.h>
#include <string>
#include <vector>
#include <sstream>
#includ... | [
"88730285+UnrealKaraulov@users.noreply.github.com"
] | 88730285+UnrealKaraulov@users.noreply.github.com |
01bf1bc8efa4fe5f477cdaab946afc4dfe926d2e | 5ba7994573cf9f39d201809e77161c6d54d4398b | /src/Commands/Arm/PIDJoystickSwitch.h | 882578d8f39e2ee2542ad085183824d3127bb7b6 | [] | no_license | FRC-4476-WAFFLES/Robot2018 | e567059fc9ff5ae9c22cc117e7ab72ca220b63e2 | 30c14dc594192b2cfd8636c9ca4d6bd8324cf861 | refs/heads/master | 2022-01-21T17:29:42.368942 | 2019-07-23T20:38:03 | 2019-07-23T20:38:03 | 117,171,674 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 249 | h | #pragma once
#include "CommandBase.h"
#include "Subsystems/ArmSubsystem.h"
class PIDJoystickSwitch : public CommandBase {
public:
PIDJoystickSwitch();
void Initialize();
void Execute();
bool IsFinished();
void End();
void Interrupted();
};
| [
"duncanstevenson@leahurstcollege.ca"
] | duncanstevenson@leahurstcollege.ca |
75415e9fe3a397fdd649f9a768b349a6f8551be7 | 1300358e915ec390bfd4eef88c1ead89b8bf3ba2 | /my-trader/trunk/src/MyExchange/qtm/src/qtm.cpp | 72f1b8998bceb289b867757f280ca666a454b32f | [] | no_license | 19199883/gangof4 | d04e7a5fb4b556a7ee29410e83b7761fb25fecbd | 24370d709056fae7ff7085581a4d72478ce6ad3e | refs/heads/master | 2020-05-21T19:15:21.073690 | 2019-10-30T10:26:25 | 2019-10-30T10:26:25 | 64,183,829 | 0 | 5 | null | null | null | null | UTF-8 | C++ | false | false | 451 | cpp | #include "qtm.h"
void
qtm_init(int type)
{
}
void
set_criteria(const criteria_t *data)
{
}
void
acquire_quote_time_field(const char *name, const char *time_str){}
void
update_state(const char *name, int type, int status, const char *description){}
void
update_compliance(const char *name, int type, int status, cons... | [
"wangying@localhost.localdomain"
] | wangying@localhost.localdomain |
c42ec167bff22e666fb905b02de7e15d5f9f8dc1 | bfa9f9fc43f1c70f71ebabd70324e14ca64cd862 | /gfx/font.hpp | ae4721c80a739ad49c36e59a050caf1b27341de2 | [] | no_license | someone235/liero | 7952097441ab709946f51929cc3ef846c695dc84 | 187e5ddb02d2aad22a0ff1b9b7185838eb209473 | refs/heads/master | 2020-12-24T19:12:44.850847 | 2016-10-25T18:09:31 | 2016-10-25T18:09:31 | 57,980,373 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,541 | hpp | #ifndef UUID_B06B65B783A849C7B4E509A9676180F8
#define UUID_B06B65B783A849C7B4E509A9676180F8
#include <vector>
#include <string>
#include <gvl/io/encoding.hpp>
struct Bitmap;
struct ReaderFile;
struct Font
{
struct Char
{
unsigned char data[8*7];
int width;
};
Font()
: chars(250)
{... | [
"gliptic@gmail.com"
] | gliptic@gmail.com |
4565800e1876722962aa35ecd81ed6155fd3b2e9 | a66f43ebb6bebfe509f8aaeff3989c6153668de8 | /UVA/160 - Factors and Factorials.cpp | 73e54a4d62c7e99d36975ab4f24b4d1e5f43fc16 | [] | no_license | ShikariSohan/Problems-Solving | e6cbeaaa9a8a091364aee12cc28cce06165cf84d | 26809bddfcb357ca232be5e8016ef1e705a94f9a | refs/heads/master | 2023-02-24T08:05:27.161840 | 2021-01-26T12:44:55 | 2021-01-26T12:44:55 | 283,302,951 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,925 | cpp |
/*
"""Bismillahir Rahmanur Rahim"""
*/
#include<bits/stdc++.h>
using namespace std;
#define pi 2*acos(0.0)
#define ll long long int
#define pb push_back
#define pf push_front
const ll sz = 1000001;
#define mp make_pair
#define ses '\n'
#define stm istringstream
#define gcd __gcd
ll lcm(ll x,ll y){r... | [
"moksedur.rahman.sohan@gmail.com"
] | moksedur.rahman.sohan@gmail.com |
cd084b6df1922ff341ac8fc4ee8aa3ecf6bdecad | 41575c498b7197e97b12a8ce2a880047df363cc3 | /src/local/util/functional/cast.hpp | 8a6d898746eb994740a02c76a583faf8094e5c04 | [] | no_license | gongfuPanada/page | f00a6f9015b4aad79398f0df041613ab28be405b | fa2ccdef4b33480c2ac5f872d717323f45618a34 | refs/heads/master | 2021-01-15T22:09:34.836791 | 2013-03-23T18:54:13 | 2013-03-23T18:54:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,971 | hpp | /**
* @section license
*
* Copyright (c) 2006-2013 David Osborn
*
* Permission is granted to use and redistribute this software in source and
* binary form, with or without modification, subject to the following
* conditions:
*
* 1. Redistributions in source form must retain the above copyright notice,
* t... | [
"davidcosborn@gmail.com"
] | davidcosborn@gmail.com |
dcf6e7c0fa3eaef4fd2e348b173a1e2dd5643cae | b475d6c2f875a149e0e8c722240af1c8d661c5ca | /moveZeroes.cc | 66dcbeee78593cdca0abee822833d3893c429b47 | [] | no_license | hankers/my_leetcode | 00139ae31d26460c8b01adde8f479243dabc121d | fa05cca504d8531726d65eaa1250a233812436cc | refs/heads/master | 2021-01-21T07:44:37.379144 | 2016-01-06T14:00:38 | 2016-01-06T14:00:38 | 27,265,616 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 844 | cc | // Source : https://leetcode.com/problems/move-zeroes/
// Author : hanker
// Date : 2015-12-10
/**********************************************************************************
* Given an array nums, write a function to move all 0's to the end of it while maintaining the relative order of the non-zero elements.
*... | [
"hanpeiyi1@gmail.com"
] | hanpeiyi1@gmail.com |
6ba0df6d015cd0ef5baebe87362cf22473f7f7a8 | d9714160fd222bc49ef52a56edb7aeb82a591549 | /bench/lib/exp/scalar/bd2bd2bd2bd2ed2.cpp | f3ebd97b88657f7972edabfe4f620f40cd831656 | [
"MIT"
] | permissive | timocafe/poly | c2fb195a196f68c406fa10130c71e29d90bc125c | 3931892bcd04f9ebfc0fde202db34d50973bc73b | refs/heads/master | 2021-01-13T00:34:32.027241 | 2020-10-02T18:42:03 | 2020-10-02T18:42:03 | 41,051,374 | 0 | 0 | null | 2020-10-02T15:27:08 | 2015-08-19T18:08:26 | C++ | UTF-8 | C++ | false | false | 1,863 | cpp | //
// bd2bd2bd2bd2ed2_test.cpp
//
// Created by Ewart Timothée, 2/3/2016
// Copyright (c) Ewart Timothée. All rights reserved.
//
// This file is generated automatically, do not edit!
// TAG: bd2bd2bd2bd2ed2
// Helper:
// h = Horner, e = Estrin, b = BruteForce
// The number indicates the order for Horner
// ... | [
"timothee.ewart@epfl.ch"
] | timothee.ewart@epfl.ch |
fa54ebbd5f937f492a866928b951dca737a616f9 | 2f49e6f93a99523636f14f399d784f682adfd142 | /Sources/3rdparty/PhysX-3.2.2_PC_SDK_Core/Samples/SampleBase/Picking.cpp | c00489481241fc9402b7513236c57b90a59fce61 | [] | no_license | overflowsc/inf4715 | 26a1e1850b0fda13a19c1562c73d56ee5f26bcde | d9dc62793dfa58f3bb7b146033e4084a8ecc4bc7 | refs/heads/master | 2021-01-18T07:43:49.197883 | 2015-02-08T08:55:53 | 2015-02-08T08:55:53 | 30,485,685 | 0 | 0 | null | 2015-02-08T08:45:44 | 2015-02-08T08:45:43 | null | UTF-8 | C++ | false | false | 8,618 | cpp | // This code contains NVIDIA Confidential Information and is disclosed to you
// under a form of NVIDIA software license agreement provided separately to you.
//
// Notice
// NVIDIA Corporation and its licensors retain all intellectual property and
// proprietary rights in and to this software and related documentatio... | [
"mathieumg@gmail.com"
] | mathieumg@gmail.com |
2c6e7699963d6824f3667b2588a6854b7e0e1d24 | e00f0be7179fdfe87f87475984dfdc55acdab16a | /7zip_4_65/CPP/7zip/Archive/DllExports.cpp | bfb7ba295283f3965f13354bea6593ae56e2d9ff | [] | no_license | BIAINC/7Zip | 5ee647c9d3d02e127a6793bc47075848c97fd4be | aecbbd0bc9612fac8676ab8caf521be64575bd62 | refs/heads/master | 2021-01-01T05:51:58.730009 | 2014-09-04T23:40:09 | 2014-09-04T23:40:09 | 9,531,434 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,310 | cpp | // DLLExports.cpp
#include "StdAfx.h"
#include "../../Common/MyInitGuid.h"
#include "../../Common/ComTry.h"
#include "../../Common/Types.h"
#include "../../Windows/PropVariant.h"
#include "IArchive.h"
#include "../ICoder.h"
#include "../IPassword.h"
HINSTANCE g_hInstance;
#ifndef _UNICODE
bool g_IsNT... | [
"keshav@biaprotect.com"
] | keshav@biaprotect.com |
4e2aae19031a5ff108c7ea1d935d3ca7f0cc811b | baf5c0828f2f17557a16fdba6e8303d5a33daebd | /kernel/BIOS.cc | 51bcc79251d09c67c92c7612e80b679d6a6b8db2 | [] | no_license | Nils1337/hhuos | 59ca452481579628c037659adbbb1b3d857bf40e | e53967daef04addb0a2e5a3ac4595e60d13b1c1c | refs/heads/master | 2020-04-18T20:02:21.316793 | 2019-01-29T14:47:08 | 2019-01-29T14:47:08 | 167,727,385 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,160 | cc | /*****************************************************************************
* *
* B I O S *
* *
*--... | [
"nils.axer@uni-duesseldorf.de"
] | nils.axer@uni-duesseldorf.de |
91716768a9fe036ff8c6cf13fe10d338f3904cda | c41cbb3cfa514e10cf726d9d338a15b340f05d84 | /.adev/rouge/ui/ievent_listener.h | bab361d408331d7042b23944592538cc023f70e6 | [] | no_license | astrellon/GPP | e9c432afbd3d0401ee0fddfed5ffad77a5b26e8e | d3ba5f9339051acbfb507fe489443f454459f27c | refs/heads/master | 2021-01-25T05:28:11.823329 | 2013-07-08T12:53:25 | 2013-07-08T12:53:25 | 1,505,792 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,137 | h | #pragma once
#include <base/imanaged.h>
using am::base::IManaged;
#include <vector>
using std::vector;
#include "event.h"
#include "mouse_event.h"
#include "keyboard_event.h"
#include "inventory_event.h"
#include "equip_event.h"
#include "value_change_event.h"
#include "dialogue_event.h"
#include "stat_event.h"
nam... | [
"sovereign250@gmail.com"
] | sovereign250@gmail.com |
c9b42fdba69ffff3c7d7680c17af8653982fd84c | 0010119ae9c57f01ea4d1034d7d58b4a9ffb2d36 | /CountNodes/main.cpp | cc6cb2929519ac0fc941417ca34258612991ae72 | [] | no_license | ishitacs/Trees-Questions | d16e3a6940e07de2366061d359313d3f58977243 | 2ef086fa2ef7032be9d0622d4edb1eaa58e8e7c4 | refs/heads/main | 2023-03-14T08:58:59.689589 | 2021-03-04T15:22:06 | 2021-03-04T15:22:06 | 342,481,380 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 709 | cpp | #include <iostream>
using namespace std;
class node{
public: int data; node*left ; node *right;
node(int d)
{
data=d;
left=NULL;
right=NULL;
}
};
node *build()
{ int d;
cin>>d;
if(d==-1) return NULL;
node* root= new node(d);
root->left=build();
root->right=build();
... | [
"noreply@github.com"
] | noreply@github.com |
87feb5a3b9620fdbf83ad7e5e680c5f08b470752 | 31beeddf858d56c759eb95edb5153412368244b9 | /Cubic Root of A Number/code_1.cpp | a9de273c1910b0cd83aa5742c57066dd9cdd7a38 | [
"MIT"
] | permissive | shoaibrayeen/Data-Structures-and-Algorithms | 0747d37ba5c061d81e92adcab789c7ad697c415a | 1320919a2693890beb7d3fa7f9235ed1e6d70cf3 | refs/heads/master | 2023-01-09T05:08:16.839757 | 2023-01-06T18:43:40 | 2023-01-06T18:43:40 | 147,175,708 | 38 | 34 | MIT | 2023-01-06T18:43:41 | 2018-09-03T08:37:02 | C++ | UTF-8 | C++ | false | false | 892 | cpp | //
// q5.cpp
// Algorithm
//
// Created by Mohd Shoaib Rayeen on 05/11/18.
// Copyright © 2018 Shoaib Rayeen. All rights reserved.
//
#include <bits/stdc++.h>
using namespace std;
double diff( double n , double mid ) {
if (n > (mid*mid*mid)) {
return (n-(mid*mid*mid));
}
else {
ret... | [
"noreply@github.com"
] | noreply@github.com |
06172048b38e0fc778f2bdb6f4b7531f5de31b6a | 82b5fba8225fad076e85855b7d5300011d1279ab | /PA7_AverageTemperature/PA7_AverageTemperature.cpp | 0685551bc12964e458b313cb0effdbf85e2a3b4e | [] | no_license | AndriiHura/CppBasics_WhiteBelt | 195e8cda0ffa625dda3cf3a76ba70b02fda5caf8 | e795a35a9dc3fae7bc79ccac8638fd6c7dd47e30 | refs/heads/master | 2022-11-27T02:38:21.979092 | 2020-08-01T16:56:45 | 2020-08-01T16:56:45 | 281,151,088 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,798 | cpp | // PA7_AverageTemperature.cpp : This file contains the 'main' function. Program execution begins and ends there.
//
#include <iostream>
#include <vector>
using namespace std;
vector<int> DayTemperatureInput() {
int DaysNumber;
cin >> DaysNumber;
vector<int> TemperatureEachDay(DaysNumber);
for (int&... | [
"andrii.hura@nure.ua"
] | andrii.hura@nure.ua |
044ddf326c99fbde0b07b84766db3134f65aaf8a | dfe01ef79596f1c9f12c6ba6fe46d703369054fe | /renderdoc/driver/d3d12/d3d12_stringise.cpp | 551cbb9f29db2bedac8daadf5e8bc03127c2a40e | [
"LicenseRef-scancode-unknown-license-reference",
"MIT"
] | permissive | galek/renderdoc | 330b209da7618e38df595e8d3c5ac5f9e5734853 | 39d31e880d9d8997372f0121bec8950e9b4e4442 | refs/heads/master | 2021-11-25T06:15:53.681934 | 2021-10-28T09:49:15 | 2021-10-28T10:24:46 | 40,795,914 | 0 | 0 | null | 2015-08-16T02:17:03 | 2015-08-16T02:17:03 | null | UTF-8 | C++ | false | false | 47,799 | cpp | /******************************************************************************
* The MIT License (MIT)
*
* Copyright (c) 2019-2021 Baldur Karlsson
*
* 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... | [
"baldurk@baldurk.org"
] | baldurk@baldurk.org |
66fd713e094c47d331960dbcc1e6070a4252bbfe | 3523ce08e2402f78859e063615aee0d0889946cf | /src/normalizer.cpp | 11e64413e82a979c950a21948c7763f5f529a53b | [
"MIT"
] | permissive | ernire/next-dbscan | 4f38130665d97b993cbd56c25f60320e4adf3d77 | 408bed5ea455086ebc3d28dec217cd532ca7cd16 | refs/heads/master | 2021-07-08T19:04:26.265728 | 2020-01-18T22:25:13 | 2020-01-18T22:25:13 | 176,022,674 | 0 | 1 | MIT | 2020-01-18T22:25:15 | 2019-03-16T20:42:39 | C++ | UTF-8 | C++ | false | false | 3,962 | cpp | /*
Copyright (c) 2019, Ernir Erlingsson
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, publish, distribut... | [
"ernire@gmail.com"
] | ernire@gmail.com |
96a0a372d4eeeb7afb125b26175e9d4bdc78b2f9 | db8d7a002615ffe62f24c5b93a5ace86abe2a95c | /cpp/src/bindings/bindings_artboard.cpp | d6d18de94862e594245f8cab920536134fe2bc24 | [] | no_license | callstack-internal/rive-android | ef611b53d9cdb6d955e22a077b6fbeb2536a848c | cecaf66fd34c16b7f93a8e8d4b507aa684ad3d8e | refs/heads/master | 2023-04-19T02:29:38.165842 | 2021-04-27T08:14:27 | 2021-04-27T08:14:27 | 357,198,435 | 0 | 0 | null | 2021-04-20T12:50:44 | 2021-04-12T13:10:54 | C++ | UTF-8 | C++ | false | false | 2,810 | cpp | #include "jni_refs.hpp"
#include "helpers/general.hpp"
#include "models/jni_renderer.hpp"
// From rive-cpp
#include "artboard.hpp"
#include "animation/linear_animation_instance.hpp"
//
#include <jni.h>
#ifdef __cplusplus
extern "C"
{
#endif
using namespace rive_android;
// ARTBOARD
JNIEXPORT jstring J... | [
"talbot.maxwell@gmail.com"
] | talbot.maxwell@gmail.com |
e263f6bfc54205b55a3a8d8f2545c76163fbc85c | 16a04a189c2f14d6d28a78d774a8c0ad8fb3bf28 | /LibCppSim - Cooperative Caching HPCS/applicationLayer/Replicator.cc | d38c996abeb39e324688fd6e8a13bd3a6646a8d9 | [] | no_license | F951/Models-HPCS | 7895b9d708df04f7b2fe70c9e14c46ac32dd3d67 | 64b24311499b8ffd7e86c3698389494f0f5a8787 | refs/heads/main | 2023-03-07T16:02:02.620133 | 2021-02-24T15:38:44 | 2021-02-24T15:38:44 | 341,332,053 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,917 | cc | #include "Replicator.h"
void Replicator::inner_body(void)
{
while(1)
{
//====================================================================
//====================================================================
passivate(); //DESACTIVAR ESTE REPLICADOR
//==========================... | [
"fer_06@hotmail.com"
] | fer_06@hotmail.com |
aa1cf1f3ed6f13e4a0b2271d4ec4ce1eb0756087 | b65288060f800ab1456f9f0183864742669dae15 | /source/Graphics/Shader.cpp | 861c7502d27de4049b2b1a3282c042eca402e230 | [] | no_license | lud99/FlappyBirdNX | 30f989c1258676b4d0c3b4e085d1094259ecfb79 | 6857cb7e2243ecefc3bebbcc2413124dd3018f04 | refs/heads/master | 2023-02-06T06:55:35.066964 | 2020-12-29T12:51:32 | 2020-12-29T12:51:32 | 325,091,697 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,944 | cpp | #include "Shader.h"
#include <glad/glad.h>
#include <glm/gtc/type_ptr.hpp>
#include <iostream>
#include <fstream>
#include <stdio.h>
#include <sstream>
Shader::Shader()
{
}
Shader::Shader(unsigned int shaderProgramId) : m_id(shaderProgramId)
{
}
int Shader::GetUniformLocation(const std::string& name)
{
// Return ... | [
"ludvig.magnusson04@gmail.com"
] | ludvig.magnusson04@gmail.com |
7dd56b27ff673b9bb07a1e71ea707827b620ea68 | 707286e6928f194e8a711016269f9c8744fbbdfb | /binary_tree/main.cpp | 36450402f7d7c84aeaaa1f9248bc97207c8193bb | [] | no_license | DethleSS/projects_qt | acda22f88751bf1466d4266269c8c3f9bac1c46a | 955b4f636a018a3ec12f06de6e526369dc95b5b2 | refs/heads/master | 2020-04-28T19:22:35.154443 | 2019-05-15T11:35:19 | 2019-05-15T11:35:19 | 175,508,683 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 307 | cpp | #include <QCoreApplication>
#include "binary_tree.h"
int main(int argc, char *argv[])
{
QCoreApplication a(argc, argv);
stu::Binary_tree b;
b.insert(4);
b.insert(2);
b.insert(6);
b.print_all();
//std::cout << b.size();
std::cout << b.contains(2);
return a.exec();
}
| [
"rik546@mail.ru"
] | rik546@mail.ru |
938f9a82a39478f648ab6df86c763899d8835d0e | 73c7fe37bf6af775cac65f58b81d2284dae117f2 | /LeetCode/62. Unique Paths.cpp | 1925a26fd6e553ad16ca4d0115ee944c80ffe08e | [] | no_license | atique7465/Competetive_programming | 9ad03427682270e889f751b8a8e2e9ab3b309be2 | 840b8b9133f5b993730ecde186ef4d4fdfca9c46 | refs/heads/master | 2023-08-03T15:16:47.582253 | 2023-07-25T04:07:01 | 2023-07-25T04:07:01 | 186,138,178 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 419 | cpp | class Solution {
vector<vector<int>>dp;
public:
int uniquePaths(int m, int n) {
dp.resize(101, vector<int>(101,-1));
return solve(0,0,m,n);
}
int solve(int i, int j, int m, int n){
if(i >= m || j >= n) return 0;
if(i == m-1 && j == n-1) return 1;
if(dp[i][j]!... | [
"atiqurrahman7465@gmail.com"
] | atiqurrahman7465@gmail.com |
f68ed236c631e86121bc8d319e7175f99397a141 | 73a539e11f3b1e929b9c81c1cda9f39186360be1 | /source/event/event_untlity.cc | 985a2177c3eedfa98110ab3c3c7076d6fd6962b0 | [] | no_license | csky6688/libuv-evpp | ceefab9afd5c97fc8aceac40c4d18580208ec185 | 33ecccd910a8394af1a5c71cb859f6e1525a8146 | refs/heads/master | 2023-02-22T12:29:49.026081 | 2021-01-28T11:16:09 | 2021-01-28T11:16:09 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 2,266 | cc | #include <event_untlity.h>
#include <tcp_session.h>
#include <event_loop.h>
#include <config.h>
#include <buffer.h>
namespace Evpp
{
namespace Import
{
std::string send_data = "hello";
bool DefaultAccepts(EventLoop* loop, const std::shared_ptr<TcpSession>& session, const u96 index)
{
... | [
"master@crack.ee"
] | master@crack.ee |
7fdb7417c12963e73bee2797d8f19e6731fef377 | e30a92d3c06e8bf6d0c463f88016f988b1d1eb03 | /ex9_4b/main.cpp | c4064c0a5c7c0a3f9aa2f0f53ce129469c165198 | [] | no_license | surfmich/SoftwareProjects | 70c6793e4fa0c5d60eddc03f7728a10c3289c979 | 1de2f218a6b6581d4749adf434f0ed69c35b0e97 | refs/heads/master | 2022-01-10T16:31:31.080919 | 2019-05-30T13:13:02 | 2019-05-30T13:13:02 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,666 | cpp | #include <iostream>
#include <cstdint>
#include <assert.h>
/*A better solution would be to use a 16-bit signed integer to hold the non-fractional part of the number, and an 8-bit signed integer to hold the fractional component.
4b) Write a class named FixedPoint2 that implements the recommended solution from the prev... | [
"bwillis@endeavorrobotics.com"
] | bwillis@endeavorrobotics.com |
ba1181847b2a4c1552612a50b10e70bb691c7b9f | efe2b4dedbc6bab31ffe88c271daa5463f8649f6 | /tags/libtorrent-0_12/src/kademlia/rpc_manager.cpp | 7295938d04159024801a797b37c4d96da834d97f | [] | no_license | svn2github/libtorrent | 867c84f0c271cdc255c3e268c17db75d46010dde | 8cfe21e253d8b90086bb0b15c6c881795bf12ea1 | refs/heads/master | 2020-03-30T03:50:32.931129 | 2015-01-07T23:21:54 | 2015-01-07T23:21:54 | 17,344,601 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 10,460 | cpp | /*
Copyright (c) 2006, Arvid Norberg
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the f... | [
"arvidn@f43f7eb3-cfe1-5f9d-1b5f-e45aa6702bda"
] | arvidn@f43f7eb3-cfe1-5f9d-1b5f-e45aa6702bda |
0d741b53ca7fec076487b7a33ea07e9d2d2821c5 | 8be1079a694a31c1c69d296b3afb8180e5969238 | /BFSDFS/game.cpp | fc4e9cc21c3079f34f6359ae22bf5c5c7da5c84d | [] | no_license | haoyuanz13/Codings | 7a2a2b47f95ea7a1e4e419f7aab90eb1d8771c8c | ba8d20df6bf27089c9b5bce9d87cd9de44cc2897 | refs/heads/master | 2022-04-17T21:08:32.256496 | 2020-04-12T04:10:46 | 2020-04-12T04:10:46 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,276 | cpp | #include <vector>
#include <iostream>
#include <queue>
#include <unordered_map>
using namespace std;
void pascalTriangle(int k) {
vector<vector<int>> pas;
vector<int> init {1};
pas.push_back(init);
vector<int> pre = pas.front();
for (int i = 1; i < k; i ++) {
vector<int> cur {1};
for (int c =... | [
"haoyuanz@seas.upenn.edu"
] | haoyuanz@seas.upenn.edu |
2f3dc314d8496fad4e45507f20a430b9b7f31b4c | 630e5fa4fec4cee4b6936eec74a726550406c11f | /src/libzerocoin/Denominations.cpp | 2f0dfa562643c3d2e1e23e77f55d07b8f04050fb | [
"MIT"
] | permissive | crypTuron/PengolinCoin-Core | 4d815d25de927d42dc890379d15738ee728c525e | 3d6c66dd930110075ff44ee6f5a4364c533becd7 | refs/heads/master | 2022-11-24T21:17:56.271853 | 2020-07-23T13:49:52 | 2020-07-23T13:49:52 | 282,408,670 | 0 | 0 | MIT | 2020-07-25T09:04:22 | 2020-07-25T09:04:21 | null | UTF-8 | C++ | false | false | 3,978 | cpp | // Copyright (c) 2017-2019 The PENGOLINCOIN developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "Denominations.h"
#include "amount.h"
namespace libzerocoin {
// All denomination values should only exist in these... | [
"alonewolf2ksk@gmail.com"
] | alonewolf2ksk@gmail.com |
94df531c891ae226ac4815140ec0ab750f99e36a | 7e40d6d74c748db2331187f802a980b72636bfff | /Source/Cross/Graphics/Direct3D11/D3D11Graphics.cpp | 38836641c3c551d1ac39e399e8e9a018e69ce70f | [
"Zlib",
"BSD-3-Clause",
"NTP",
"BSL-1.0",
"Apache-2.0",
"MIT",
"LicenseRef-scancode-public-domain",
"BSD-2-Clause",
"LicenseRef-scancode-openssl",
"LicenseRef-scancode-khronos"
] | permissive | joaovsq/Cross | 3c63c8c67c03e869073fe64b9dd2baf3ce8e418c | 7e952d9f9c6da5de60e539182a279942452d9591 | refs/heads/master | 2021-07-07T12:38:47.344618 | 2019-11-21T19:50:41 | 2019-11-21T19:50:41 | 211,865,491 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 86,326 | cpp | //
// Copyright (c) 2008-2017 the Urho3D project.
//
// 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, m... | [
"thornewwriter@gmail.com"
] | thornewwriter@gmail.com |
26dea91ff8a4979f4ee9d77d9d7ff8457dcc60ee | 97bd2bc90481e59da387772cd414f07516e6f2cd | /pastel/sys/bit/highest_bit.h | 664ea7b759f78e72034ead473b4a8407493e6358 | [
"LicenseRef-scancode-unknown-license-reference",
"MIT"
] | permissive | kaba2/pastel | c0371639be222cfa00252420c54057a54a93a4a3 | c7fb78fff3cbd977b884e54e21651f6346165ff5 | refs/heads/master | 2021-11-12T00:12:49.343600 | 2021-10-31T04:18:28 | 2021-10-31T04:18:28 | 231,507,632 | 3 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 559 | h | // Description: Index of the highest bit
// Documentation: bit_tricks.txt
#ifndef PASTELSYS_HIGHEST_BIT_H
#define PASTELSYS_HIGHEST_BIT_H
#include "pastel/sys/integer/finite_integer_concept.h"
#include "pastel/sys/mytypes.h"
namespace Pastel
{
//! Returns the index of the highest 1-bit of the given int... | [
"kaba@hilvi.org"
] | kaba@hilvi.org |
1384bc78f8d3f87a4b30821d849573dd4b6251b6 | e813becb00b78aea262bec638f594f7b0d30cc7b | /CresusCore/AbstractImportModule.h | d4b2a511fcd981751a2738609fdf873ae63ab242 | [] | no_license | jjdubois/cresus | ffbe96eaf62574d7114017b81042276b317f5705 | 64d7336ad4ef4a2653cf2c39d188a9593804d866 | refs/heads/master | 2021-01-10T09:10:33.292537 | 2016-02-26T22:09:56 | 2016-02-26T22:09:56 | 49,322,443 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 387 | h | #ifndef ABSTRACTIMPORTMODULE_H
#define ABSTRACTIMPORTMODULE_H
#include <ImportModule.h>
#include <QSet>
#include <QString>
#include <QRegExp>
class CRESUSCORESHARED_EXPORT AbstractImportModule : public ImportModule
{
QRegExp m_rexExp;
public:
AbstractImportModule( const QRegExp& regExp );
bool acceptF... | [
"jonathan-dubois@9business.fr"
] | jonathan-dubois@9business.fr |
ff47a265cd83fe75d66af0ac743affb662b89c21 | eee4e1d7e3bd56bd0c24da12f727017d509f919d | /Case/case3/2300/U | 1c6aa10bd6c6d30021e42fdd301f7516cd20dc06 | [] | no_license | mamitsu2/aircond5_play5 | 35ea72345d23c5217564bf191921fbbe412b90f2 | f1974714161f5f6dad9ae6d9a77d74b6a19d5579 | refs/heads/master | 2021-10-30T08:59:18.692891 | 2019-04-26T01:48:44 | 2019-04-26T01:48:44 | 183,529,942 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,861 | /*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: 6
\\/ M anipulation |
\*-------... | [
"mitsuaki.makino@tryeting.jp"
] | mitsuaki.makino@tryeting.jp | |
dccd8e50dfea4bc563298260329fba8f43d92a8c | 927442d1aadd124d1ec5b5a56b3c442ba2735841 | /08_cocos2d-x/day13/Demo2_Code/Classes/Enemy.h | 28b54b1c11f543943e0acf9c37f421ffb3aa0ec8 | [] | no_license | yitian630/Tarena | 2dc2fd276e1404330222d28fb10ddd0116eca74b | 49b587ab58cb5e173d6dcd2701ea6db3b35cdf0b | refs/heads/master | 2021-01-22T02:49:19.160833 | 2015-03-12T06:58:26 | 2015-03-12T06:58:26 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 796 | h | //
// Enemy.h
// XiaoQianRun
//
// Created by tarena on 14-6-23.
//
//
#ifndef __XiaoQianRun__Enemy__
#define __XiaoQianRun__Enemy__
#include <iostream>
#include "cocos2d.h"
#include "MySprite.h"
USING_NS_CC;
typedef enum {
LEFT,
RIGHT,
}Enemy_Dir;
class Enemy : public MySprite {
public:
bool initEn... | [
"yitian630@163.com"
] | yitian630@163.com |
f04df0e8a6dffbf5669c909593bc581f97fe720a | 143da2290a541ddaf270b3ce81523b41bd9345df | /test/camera_corner_detect/source/main.cpp | d03cbf81836963bb61d780f5293d0fbab488b18e | [] | no_license | premsasidharan/mmfcpp | 1edaaf6f9fc0578edddc36a163c0bf3a2d3a8afc | d0a9619c8d3ee467ec9e7dcddc9bd5ecd87c4aa7 | refs/heads/master | 2021-01-01T06:54:07.492622 | 2013-04-13T19:14:12 | 2013-04-13T19:14:12 | 33,697,553 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 658 | cpp | #include <QApplication>
#include <gl_widget.h>
#include <X11/Xlib.h>
int main(int argc, char** argv)
{
if (argc < 4)
{
printf("\nUsage\n%s [V4L2 camera path] [width] [height]", argv[0]);
printf("\nEg:- %s /dev/video0 640 480\n", argv[0]);
exit(0);
}
int w, h;
XInitThreads();... | [
"prem.sasidharan@gmail.com@7add919e-d01b-36b3-b92c-1f8e5742f5db"
] | prem.sasidharan@gmail.com@7add919e-d01b-36b3-b92c-1f8e5742f5db |
d3ab50d1d066feb3fade551b6218ba302254c4ba | 9ead5fcc5efaf7a73c4c585d813c1cddcb89666d | /m5/src/base/compiler.hh | 2c655af608959070d0642cb30c6cb1fcfd3c206c | [
"BSD-3-Clause"
] | permissive | x10an14/tdt4260Group | b539b6271c8f01f80a9f75249779fb277fa521a4 | 1c4dc24acac3fe6df749e0f41f4d7ab69f443514 | refs/heads/master | 2016-09-06T02:48:04.929661 | 2014-04-08T10:40:22 | 2014-04-08T10:40:22 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,504 | hh | /*
* Copyright (c) 2006 The Regents of The University of Michigan
* 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, ... | [
"chrischa@stud.ntnu.no"
] | chrischa@stud.ntnu.no |
79678983b131fde3db7b8a68cd96c9b8f044e8a1 | 5ebd5cee801215bc3302fca26dbe534e6992c086 | /blaze/math/constraints/MatMapExpr.h | e8e8b0d3ca95ec3fd0f5b2b471abf98e1b6bc334 | [
"BSD-3-Clause"
] | permissive | mhochsteger/blaze | c66d8cf179deeab4f5bd692001cc917fe23e1811 | fd397e60717c4870d942055496d5b484beac9f1a | refs/heads/master | 2020-09-17T01:56:48.483627 | 2019-11-20T05:40:29 | 2019-11-20T05:41:35 | 223,951,030 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,112 | h | //=================================================================================================
/*!
// \file blaze/math/constraints/MatMapExpr.h
// \brief Constraint on the data type
//
// Copyright (C) 2012-2019 Klaus Iglberger - All Rights Reserved
//
// This file is part of the Blaze library. You can redistr... | [
"klaus.iglberger@gmail.com"
] | klaus.iglberger@gmail.com |
48a4d335014de2b3dfbc217f92cbac297139b319 | 970a44d955670032360303f03d597c13b20551fb | /pillbutton.h | 92ca40fbd3ca39b39cd3de23d73fdf7d80d0ba59 | [] | no_license | kolya-t/PillClicker | e73657aad1cf64e9908750b315979a310ce1333e | 420710108df963cab4c7c0c9acab178fd6a02910 | refs/heads/master | 2021-01-10T18:34:32.644400 | 2016-04-18T19:46:37 | 2016-04-18T19:46:37 | 56,455,879 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 482 | h | #ifndef PILLBUTTON_H
#define PILLBUTTON_H
#include <QLabel>
class PillButton : public QLabel
{
Q_OBJECT
public:
explicit PillButton(QWidget *parent = 0);
explicit PillButton(QWidget *parent, QPixmap px);
signals:
void clicked();
public slots:
protected:
void mousePressEvent(QMouseEvent *ev);
... | [
"toporkov.kolya96@gmail.com"
] | toporkov.kolya96@gmail.com |
d21dfb9873e91155e3f79289435f02a9fb61fec8 | 864e42081eaaeb58a4e13033c0ec6e66cad813da | /src/main.cpp | 219d49d9f3d407b1612f8b9914b642b3560ea284 | [] | no_license | selavy/tictac | beca2e574625f82f3cb21f42b5de6bc9a9cb3c8f | 842c628d2a34c6fa2d9134e9e6cfc92422e51f02 | refs/heads/master | 2020-12-02T00:51:53.012465 | 2020-01-11T18:11:41 | 2020-01-11T18:11:41 | 230,836,056 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,346 | cpp | #include "tictac.h"
#include <assert.h>
#include <climits>
#include <iostream>
#include <readline/history.h>
#include <readline/readline.h>
#include <stdint.h>
#include <stdio.h>
#include <string.h>
#include <string>
void print(Board b) {
for (int y = 0; y < 3; ++y) {
for (int x = 0; x < 3; ++x) {
... | [
"pclesslie@gmail.com"
] | pclesslie@gmail.com |
0f21125e1cd3aa2e7b1b57cee99c9f08eae92738 | 94c536f8fbe0d43e848db623a78dc3735036e404 | /data structures/convex_hull_trick.cpp | b348eca6072bdf655da515f1c56fd8524104bb96 | [] | no_license | a-nogikh/competitive_programming_helpers | a9392b898566c936bd4ee99e28af7b185aa3bd0b | 15360c45336b6a3175de352d44cb554dbaf89521 | refs/heads/master | 2021-04-14T15:26:05.297983 | 2020-05-05T16:02:50 | 2020-05-05T16:02:50 | 249,241,758 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,273 | cpp | /*
Data structures to facilitate convex hull trick implementation.
*/
template<class CoordinateType = long long, class FractionType = long double>
class ConvexHullOptimization
{
template<class CoordinateType = long long, class FractionType = long double>
struct Line
{
CoordinateType slope, x0;
FractionType lef... | [
"a.nogikh@yandex.ru"
] | a.nogikh@yandex.ru |
b3dc8bef83d320b25a8b04257498a1aeb545c164 | bddae8e711e4daa339e19938a65648bdbff6fe63 | /EventHandler.h | 027f1202e7a042745b378db7015d7a4753a6c380 | [] | no_license | rrcmenezes/BeeSmartIOTIR | 475d11cc3a0bf5c68a6d76f8abc67e6340cc2ae8 | 336abea6d2b7c8afbee3f5baf799d259119420d9 | refs/heads/main | 2023-04-16T16:17:25.668318 | 2021-04-22T17:02:58 | 2021-04-22T17:02:58 | 360,517,646 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 664 | h | #ifndef _EVENTHANDLER_H_
#define _EVENTHANDLER_H_
#include <arduino.h>
class CEventHandler
{
unsigned long ulLstMillis;
unsigned long ulCurrMillis;
protected:
unsigned long ulMinutes;
bool bConditionsOK;
CEventHandler(unsigned long ulMinutesParam);
public:
virtual void Save(int *pi_FilePointerPatam)... | [
"rrcmenezes@gmail.com"
] | rrcmenezes@gmail.com |
83abb6b2b3e2535e54107d735bf91fb685646541 | 59424c01a2f918da51f16cce7bbb465af22103d6 | /Server/server_state.cc | 9336a64d162bf61553be17303d83094b38f11660 | [] | no_license | henlindemreed/rtchat | 522997478b9b83f0ab7e3a9e95c35825e6a85847 | 74a6cd006ee5928bb51eabc6d27b10ab9f952691 | refs/heads/main | 2023-05-01T05:47:48.595012 | 2021-05-10T18:13:27 | 2021-05-10T18:13:27 | 347,539,463 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,504 | cc | #include "server_state.hh"
#include <algorithm>
// Constructor
sstate::sstate() :
rooms{rmls(0)}, next_id{1}, mtx{}
{}
// Destructor
sstate::~sstate(){}
std::string sstate::to_string(){
std::shared_lock<std::shared_mutex> state_lock(mtx);
std::string ans = "";
for(auto &rm : rooms) {
ans += std... | [
"henlindem@reed.edu"
] | henlindem@reed.edu |
60eef25ea12e6649f7c231c4c727e8ace75cf232 | b768c60c17e6c93a4d32c93eeef073869d4f5fee | /src/include/bufferreadable.h | 142fbc663cd9837da37f2898794bdcbf9d2dcb3e | [] | no_license | ThatFatPat/CppConstruct | 09ea364e473fe8a631094cf539b86625cfa37cf9 | a2dba2ebe01a49485f1e4b10fcd0d52863733ba9 | refs/heads/main | 2023-06-01T07:58:05.084903 | 2021-06-12T18:38:58 | 2021-06-12T18:38:58 | 376,051,277 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 366 | h | #pragma once
#include <cstddef>
#include <span>
#include "ireadable.h"
class BufferReadable : public IReadable {
public:
BufferReadable(std::span<const std::byte> span)
: m_span(span), m_ptr(span.begin()) {}
void read(std::span<std::byte> buffer) override;
private:
std::span<const std::byte> m_span;
... | [
"idoshav@gmail.com"
] | idoshav@gmail.com |
342354238eea5f21c2c5731415ebabdeb3ff0156 | b7c477fec03302834a7ae96921de6bd1e194ee8d | /Day2/day2_main.cpp | 0835c359451f6abc47006a319e99f844a5f4f306 | [] | no_license | Meet2020mp/Master-Data-Structure-and-Algorithms-with-Cpp-Assignments | f525c172cb7a969ccfe6635cc3b98da18f12d5a2 | b94669f2cd6aea2b8fe1015c5c69f13adb70950b | refs/heads/main | 2023-07-02T13:48:11.963831 | 2021-08-08T09:21:05 | 2021-08-08T09:21:05 | 393,369,212 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 323 | cpp | //Question: Find the output of the following code snippet:
//int i =0, j = 0;
//int *p = &i, *q = &j;
//q = p;
//*q = 2
//cout<<i<<" "<<j
//Solution
#include <iostream>
using namespace std;
int main()
{
int i=0,j=0;
int *p=&i,*q=&j;
q=p;
*q=2;
cout << i << " "<<j;
return 0;... | [
"noreply@github.com"
] | noreply@github.com |
02633f651e3c6ca12d4745eedc419bc381deae56 | 8645ba7368f2ba10893e1ff8962e9e2eedf5104d | /src/Core/Loaders/ImageLoader.cpp | a51a89666c2473b5707f6c07196b1a787e23ef81 | [
"Apache-2.0"
] | permissive | reubenlindroos/OmniPhotos | c4560d74fd1bb031cc5c953269b95153ea3716f1 | de62590edc9caf1cfbd1c833bb9176993a10a579 | refs/heads/main | 2023-05-13T19:21:49.495691 | 2021-06-07T10:31:55 | 2021-06-07T10:31:55 | 344,496,849 | 1 | 0 | Apache-2.0 | 2021-03-04T14:10:47 | 2021-03-04T14:10:46 | null | UTF-8 | C++ | false | false | 17,626 | cpp | #include "ImageLoader.hpp"
#define STB_DXT_IMPLEMENTATION
#include "3rdParty/stb_dxt.h"
#include "Core/GL/GLFormats.hpp"
#include "Utils/ErrorChecking.hpp"
#include "Utils/Exceptions.hpp"
#include "Utils/Logger.hpp"
#include "Utils/Timer.hpp"
#include "Utils/Utils.hpp"
#include "Utils/cvutils.hpp"
#ifdef _OPENMP
#i... | [
"christian@richardt.name"
] | christian@richardt.name |
3d2cc237fc9cccde02dcb5906fce2f8e4793b046 | dbf7546520435e088b47e19bfd04c0c6abdd0e05 | /5_pySerialRead/pythonArduino/pythonArduino.ino | 6eb22ca9ee4df2e72756748e9c9c1f304a1d34f8 | [] | no_license | heitorrapela/ArduinoWorkshop | fa85b16b81b09a3096f088c5a3e7439143cacdef | caa0fa24baba5aca48457df91b7e0969ea56bef2 | refs/heads/master | 2021-09-05T23:27:17.596877 | 2018-01-31T16:36:23 | 2018-01-31T16:36:23 | 105,684,389 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 903 | ino | /*
Blink - Modificado
Turns on an LED on for one second, then off for one second, repeatedly.
This example code is in the public domain.
*/
// Pin 13 has an LED connected on most Arduino boards.
// give it a name:
int led = 13;
// the setup routine runs once when you press reset:
void setup() { ... | [
"hrm@cin.ufpe.br"
] | hrm@cin.ufpe.br |
1dcda00281fdc88448c5b7365244f58f91c5965d | aaa349ae0fb52534c2306a2d343e20f928998ecb | /Boxfish-Lib/src/Book.h | b5a3a5955822891b86af6a8571180f01806375b8 | [] | no_license | Totomosic/Boxfish | 77fa14abf1d2e54248d822df11c79a1b1387e75e | 00f0fc5d3e2ba3d3b3037b851c78708f30ffed33 | refs/heads/master | 2023-09-04T00:32:09.139572 | 2021-10-30T14:09:19 | 2021-10-30T14:09:19 | 273,902,455 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,351 | h | #pragma once
#include "ZobristHash.h"
#include "Position.h"
#include "Move.h"
#include <optional>
#include <unordered_map>
#ifdef SWIG
#define BOX_API
#endif
namespace Boxfish
{
struct BOX_API BookEntry
{
public:
ZobristHash Hash = 0ULL;
SquareIndex From = a1;
SquareIndex To = a1;
int Count = 1;
};
st... | [
"jordan.thomas.morrison@gmail.com"
] | jordan.thomas.morrison@gmail.com |
4d04705fe08b6ffe9920968832bc5bb147dda822 | 45dd5b452a48ffd7752522875c21f4f9b25f813c | /hw5/hw5-3.cpp | 61b7e4c1b4e5bf3d495c6830fe88b195f3b52abb | [] | no_license | Terry9022/learn_C | 7ad11097bf9ec319266cfab637d2d707aa167153 | f7b55ff68ae0c026ce04f3d75d4c982292cfa759 | refs/heads/main | 2023-09-04T09:05:05.581876 | 2021-10-18T23:19:17 | 2021-10-18T23:19:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,943 | cpp | //
// hw5-3.cpp
// hw5
//
// Created by Terry Lu on 2020/11/2.
// Copyright © 2020 Terry Lu. All rights reserved.
//
#include <iostream>
#include <algorithm>
#include <set>
using namespace std;
void connect_subway(int s1,int s2);
int m =0;
int n =0;
int s =0;
int L =0;
int benefit_people=0;
int possible[50][2] ... | [
"noreply@github.com"
] | noreply@github.com |
c63c6a4ec0de641274b12f6e897ba831fa58517d | 238185b2c5e09228e6aeafbd808df41032887ac8 | /21210_Spring2018/hello.cpp | d4e543f930025e9cac33be751bed840a7d8eb6bf | [] | no_license | zmiksis/SciComp | ffdbaf8d0e777485457d9e5d3a4dbd3792a84e39 | 661141e1014cd75d861ccdb1e18ad448617f24d1 | refs/heads/master | 2020-12-15T16:57:25.414177 | 2020-01-20T19:50:42 | 2020-01-20T19:50:42 | 235,185,895 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 98 | cpp | #include <iostream>
using namespace std;
int main(){
cout << "Hello there" << endl;
return 0;
} | [
"zmiksis@gmail.com"
] | zmiksis@gmail.com |
8f909f19ced2522a79a70030a1be7d300e037b7e | 9110a8231496bc7808da9f0f5e60319887b7a0d4 | /source/common/http/http1/codec_impl_legacy.cc | 82976e869ff4d958b3c1ab21843995c0933472cc | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | ruimaranhao/envoy | 9439f9f1cb79b53d14eb01113233b47381c3af77 | 958745d658752f90f544296d9e75030519a9fb84 | refs/heads/master | 2022-11-28T11:51:47.267417 | 2020-07-22T23:00:44 | 2020-07-22T23:00:44 | 281,804,715 | 0 | 0 | Apache-2.0 | 2020-07-22T23:34:39 | 2020-07-22T23:34:38 | null | UTF-8 | C++ | false | false | 51,916 | cc | #include "common/http/http1/codec_impl_legacy.h"
#include <cstdint>
#include <memory>
#include <string>
#include "envoy/buffer/buffer.h"
#include "envoy/http/codec.h"
#include "envoy/http/header_map.h"
#include "envoy/network/connection.h"
#include "common/common/enum_to_int.h"
#include "common/common/utility.h"
#in... | [
"noreply@github.com"
] | noreply@github.com |
74feede8b45ca59d1b130dd37cdb5ec66d73224f | d84852c821600c3836952b78108df724f90e1096 | /exams/2559/02204111/2/midterm/3_2_715_5920500221.cpp | a38da49ec4e10956cc9708faa644e3533b28fd3b | [
"MIT"
] | permissive | btcup/sb-admin | 4a16b380bbccd03f51f6cc5751f33acda2a36b43 | c2c71dce1cd683f8eff8e3c557f9b5c9cc5e168f | refs/heads/master | 2020-03-08T05:17:16.343572 | 2018-05-07T17:21:22 | 2018-05-07T17:21:22 | 127,944,367 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 495 | cpp | //5920500221 Supasin Rujiapnich
#include <iostream>
#include <cmath>
using namespace std;
int main ()
{
float x,y,z;
cout<<"Enter electricity cost per unit (bahts) : " ;
cin>>x;
cout<<"Enter last unit :";
cin>>y;
cout<<"Enter current unit :";
cin>>z;
cout<<"Units us... | [
"38048354+btcup@users.noreply.github.com"
] | 38048354+btcup@users.noreply.github.com |
07b4fa12fc3e55b1ee2818f6b74672d78f179d30 | b62796a1bfca4e1f7760c310fd9e9138c7b99f84 | /Sales_data.cpp | cd0db6f5fac0091b6fb3c9dec0547c34f32c6f93 | [] | no_license | TheHeepo/C-Primer | b71d2fca1f2b5096605d6fa4222656546717d988 | f12ad50a9674ea648a75ea9a8666aeb2fc9f7fd4 | refs/heads/master | 2021-07-11T01:25:56.041781 | 2017-10-13T00:03:57 | 2017-10-13T00:03:57 | 106,756,739 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 874 | cpp | #include "Sales_data.h"
Sales_data add(const Sales_data&, const Sales_data&);
istream &read(istream &is, Sales_data &item);
ostream &print(ostream &os, const Sales_data &item);
Sales_data add(const Sales_data &lhs, const Sales_data &rhs) {
Sales_data sum = lhs;
sum.combine(rhs);
return sum;
}
Sale... | [
"noreply@github.com"
] | noreply@github.com |
e36b465fa7d87896093073eb0241a73f25764322 | 66ecd19c3d9f442431874e2d006eab4480d72c96 | /src/keystore.h | 2a3e3bd052f06ea6437ac20ffe488004ce04caee | [
"MIT"
] | permissive | altbet/abet | a9b4c35a3c167ab855dbc05b4e321166827ce757 | f0b6ea8251108bc604524f62cd9e4c3bd3077978 | refs/heads/master | 2020-11-27T12:53:32.343050 | 2020-07-03T13:33:39 | 2020-07-03T13:33:39 | 178,851,690 | 10 | 21 | MIT | 2019-06-24T22:51:45 | 2019-04-01T11:47:09 | C++ | UTF-8 | C++ | false | false | 3,425 | h | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2014 The Bitcoin developers
// Copyright (c) 2017-2018 The PIVX developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef BITCOIN_KEYSTORE_H
#define BITC... | [
"42963544+altbet@users.noreply.github.com"
] | 42963544+altbet@users.noreply.github.com |
ae328ccd12a78684da1ee20bc9218be2e0546ceb | 0c3843a351ec7f74454c61a519fccc27a280f6d6 | /directedgraph.cpp | 4ae467c098dcf83ddf0f3f56ebbb37c87a1e3711 | [] | no_license | QuynhNgo/CudaSimulationFF | 157256878ecf759e64bec4ecce7fd78fa61c87ff | c73df2045c61b234a0bdb8dc5d47eb1d78b633d2 | refs/heads/master | 2023-03-26T09:07:06.490419 | 2021-03-18T08:20:04 | 2021-03-18T08:20:04 | 345,980,709 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,420 | cpp | #include "directedgraph.h"
#include "exception.h"
// default constructor
directedgraph::directedgraph()
{
NumberNode = 0;
}
// constructor that reads directly from an input file the information;
directedgraph::directedgraph(std::string _Filename )
{
std::ifstream _Dev;
_Dev.open(_Filename.c_str(),std::ios::in... | [
"ngoq@exchange.wwu.de"
] | ngoq@exchange.wwu.de |
01e687a434933f16c637d79bd1defea7045450cf | d15cf536963fab11e42d85bda423da5f2a58dc57 | /c6/overload1.cpp | ee2f604cd53481c3dc5ae90543bdad91bdeb529b | [] | no_license | mcmiloy/cpp_primer | 5692e8857961e1c7a7dba46e1553e7aace61bc4d | c93a50cd84d195e8cf997da7a925030925731cc7 | refs/heads/master | 2020-03-15T18:41:10.377834 | 2018-05-15T19:32:15 | 2018-05-15T19:32:15 | 132,289,904 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 491 | cpp | #include <iostream>
#include <vector>
#include <string>
using std::cin;
using std::cout;
using std::endl;
using std::vector;
using std::string;
int mysum(int i, int j){
return i + j;
}
void default_args(int i = 0){
cout << i << endl;
}
int mysum(double i, const int j){
return i*j;
}
int main(){
cout... | [
"mcmiloy@gmail.com"
] | mcmiloy@gmail.com |
f13815ffc9392357b78252eac9e6699e068b7c5d | 24004e1c3b8005af26d5890091d3c207427a799e | /Win32/NXOPEN/NXOpen/Mechatronics_ObjectSinkBuilder.hxx | 0a248ab3b8fd29a65401c510f875bafa1d3b4eaf | [] | no_license | 15831944/PHStart | 068ca6f86b736a9cc857d7db391b2f20d2f52ba9 | f79280bca2ec7e5f344067ead05f98b7d592ae39 | refs/heads/master | 2022-02-20T04:07:46.994182 | 2019-09-29T06:15:37 | 2019-09-29T06:15:37 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,318 | hxx | #ifndef NXOpen_MECHATRONICS_OBJECTSINKBUILDER_HXX_INCLUDED
#define NXOpen_MECHATRONICS_OBJECTSINKBUILDER_HXX_INCLUDED
//--------------------------------------------------------------------------
// Header for C++ interface to JA API
//--------------------------------------------------------------------------
//
// So... | [
"1075087594@qq.com"
] | 1075087594@qq.com |
1be7c5b95e4835ed3264bb692794f8d94d2deb6b | 20b49a6ef1fa417d67abef2d29a598c9e41c478e | /CodeForces/Contests/CF Edu Round 104/E.cpp | 8d2f8beb4fbaa07d67104a864fafaf2504420760 | [] | no_license | switchpiggy/Competitive_Programming | 956dac4a71fdf65de2959dd142a2032e2f0710e1 | beaaae4ece70889b0af1494d68c630a6e053558a | refs/heads/master | 2023-04-15T19:13:12.348433 | 2021-04-04T06:12:29 | 2021-04-04T06:12:29 | 290,905,106 | 1 | 3 | null | 2020-10-05T20:16:53 | 2020-08-27T23:38:48 | C++ | UTF-8 | C++ | false | false | 2,764 | cpp | #include <bits/stdc++.h>
using namespace std;
typedef long long int ll;
typedef long double ld;
#define benq queue
#define pbenq priority_queue
#define all(x) x.begin(), x.end()
#define sz(x) (ll)x.size()
#define m1(x) memset(x, 1, sizeof(x))
#define m0(x) memset(x, 0, sizeof(x))
#define inf(x) memset(x, 0x3f, sizeof(... | [
"switchpiggy@users.noreply.github.com"
] | switchpiggy@users.noreply.github.com |
e8e2749d3fc6e0fd308f3fc72f0a51b51760ff8b | 3769bb183cbc88941cef2524ee35f511e2d1ae64 | /TheKthNumber.cpp | 6d4547ea2bd975903f282af3a8f6e02a503cb9da | [] | no_license | Tinkerllt/algorithm-work | 75063514ec33ba382caf5e91aaf820263ee00687 | 77c6ea349043aae666cf36c3bab717c663bbce4c | refs/heads/master | 2021-01-16T04:37:49.083963 | 2020-06-15T12:43:09 | 2020-06-15T12:43:09 | 242,978,924 | 2 | 0 | null | null | null | null | GB18030 | C++ | false | false | 960 | cpp | #include<iostream>
using namespace std;
int FindKthMax(int*list, int left, int right, int k);
int main() {
int i,n,k;
while (cin >> n) {
int *a = new int[n];
for (i = 0; i < n; i++)
cin >> a[i];
cin >> k;
cout << FindKthMax(a, 0, n - 1, k) << endl;
}
return 0;
}
int FindKthMax(int*list, int left, int rig... | [
"llt123456@163.com"
] | llt123456@163.com |
e362f5605021cc7b6919984f2dc1812d5a63ec49 | ba18d2d6c57823c5ff0919fb8578980c44b84e50 | /BattleTank/Source/BattleTank/Public/TankTurret.h | 2d4ed374aeac45ace8dd5d29a0ebbcb21212a518 | [] | no_license | LearningUnrealTutorials/BattleTankGame | 54be9c10e1e37a70993fcf436330a28d68a9219d | aec413a9f589594800fe430197f9488678551a71 | refs/heads/master | 2018-09-30T07:55:37.253656 | 2018-07-24T11:14:44 | 2018-07-24T11:14:44 | 103,753,946 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 482 | h | // Written in 2017 by Aleksander Naumenok while following a tutorial on udemy.
#pragma once
#include "CoreMinimal.h"
#include "Components/StaticMeshComponent.h"
#include "TankTurret.generated.h"
/**
*
*/
UCLASS(meta = (BlueprintSpawnableComponent))
class BATTLETANK_API UTankTurret : public UStaticMeshComponent
{
... | [
"aleksander.naumenok@gmail.com"
] | aleksander.naumenok@gmail.com |
3615f8e7bf581dcbd4561fd284fe923f4270f2c6 | a122119df649ee4fe543951c7e702e85b3427670 | /install/include/baxter_core_msgs/SolvePositionIKRequest.h | 0bd39344527efde7bc8a4b9044c0ef79f99983b8 | [] | no_license | Sean-Skilling/baxter-project | e126de1cf80aabebc176628182a23841b2a1a930 | e86ff6015aaf9c301de5ef9a92538974319ff2b3 | refs/heads/master | 2020-04-11T13:03:33.841852 | 2019-03-27T14:58:13 | 2019-03-27T14:58:13 | 161,802,645 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,116 | h | // Generated by gencpp from file baxter_core_msgs/SolvePositionIKRequest.msg
// DO NOT EDIT!
#ifndef BAXTER_CORE_MSGS_MESSAGE_SOLVEPOSITIONIKREQUEST_H
#define BAXTER_CORE_MSGS_MESSAGE_SOLVEPOSITIONIKREQUEST_H
#include <string>
#include <vector>
#include <map>
#include <ros/types.h>
#include <ros/serialization.h>
#... | [
"2207516s@student.gla.ac.uk"
] | 2207516s@student.gla.ac.uk |
88e612514df15a2fa60d8b12f546f3cb8273c674 | 12c080b81ca5a7aaf87d4199e58dfe08b9670b7f | /80-Remove Duplicates from Sorted Array II.cpp | e4e2816a2822a26b96c4878183adb5d962e4281c | [] | no_license | PhoenixDD/LeetCode | 23970d3d5485f0c67ecc46afbf07c296a14f7a4d | 04d78870f56dc7c5057a8b22e5c3ed87ae04a8bf | refs/heads/master | 2021-01-01T19:21:32.795867 | 2020-11-26T05:12:48 | 2020-11-26T05:12:48 | 98,563,765 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 413 | cpp | class Solution {
public:
int removeDuplicates(vector<int>& nums)
{
int start=0;
for(int i=0;i<nums.size();i++)
{
if(i<nums.size()-2&&nums[i]==nums[i+1]&&nums[i]==nums[i+2])
while(i<nums.size()-2&&nums[i+1]==nums[i+2])
i++;
if(i... | [
"ddhondiyal@gmail.com"
] | ddhondiyal@gmail.com |
9d69418b8b1e908b5e8f05c6b1bdd2c7584ae695 | e4833fb04f56ac806d91debc0571804e88512d4e | /2021/05/05/hana.cpp | d8412d32c088e66f0e6b6b0de6d7e3003beefd8a | [] | no_license | Papillon6814/tracker | f7cca3b2f19c1c63b4bed226abdd7a66f550a1dd | 1cd1012865f317b85670da7b3e41364270cf7f2a | refs/heads/main | 2023-06-26T18:28:45.089288 | 2021-07-10T13:26:03 | 2021-07-10T13:26:03 | 303,100,401 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,463 | cpp | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
using vi = vector<int>;
using vl = vector<ll>;
using vc = vector<char>;
using vii = vector<vector<int>>;
using vll = vector<vector<ll>>;
using vcc = vector<vector<char>>;
using vs = vector<string>;
using Pi = pair<int , int>;
using Pl = pair<ll, ll>;
u... | [
"so1rou.k@gmail.com"
] | so1rou.k@gmail.com |
0dc0848408183e18e81af461fdb9443ef6dbf494 | 3570f72209e2776a57d40c3fe8c44375bc2d3dc8 | /cpp/ClassA.h | e5125d315192a6cf64620c7fe7efe2c2b1ea9ec9 | [] | no_license | wjfsanhe/programBF | 072da4e4e43e7e5986ec8ca97e3376146b4f65aa | f17fbf4b76852e9e304c95831383d68c0c775451 | refs/heads/master | 2021-01-13T05:00:32.069598 | 2017-02-07T05:44:56 | 2017-02-07T05:44:56 | 81,170,802 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 192 | h | #include <stdio.h>
#include <stdlib.h>
class A {
public:
int ttt;
virtual void func_pub(){}//{printf("public func a\n");}
private:
int aaa;
void func_pri(){printf("private func b\n");}
};
| [
"wangjianfeng@baofeng.com"
] | wangjianfeng@baofeng.com |
699d9ba69e93a242e80ec914d29b4d0fd395c306 | 60b02d565b5751a3f0b21e560a5fa15a992c1de8 | /src/kclpp_test_support/MockClock.cpp | 0c01dd9008d8dbb08ded047ed9a8e97f3a7fa474 | [] | no_license | scivey/kclpp | 43779e5b0465eb10f547ea098f3068f35b184154 | 717ef6032b6736627b3b74e537567065a3d41dd1 | refs/heads/master | 2020-06-11T06:48:52.900337 | 2016-12-12T13:27:40 | 2016-12-12T13:27:40 | 75,742,647 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 539 | cpp | #include "kclpp_test_support/MockClock.h"
#include "kclpp/clock/types.h"
namespace kclpp_test_support {
using NanosecondPoint = MockClock::NanosecondPoint;
NanosecondPoint MockClock::getNow() const {
return nowTime;
}
std::chrono::milliseconds MockClock::getNowMsec() const {
return std::chrono::milliseconds { n... | [
"scott.ivey@gmail.com"
] | scott.ivey@gmail.com |
0f156e9e79bbd7ba396e82d4142f3ba2c367de5b | 455c92a3bd41f89c7e949c72c219d8e2992750ee | /ebalda.cpp | 009cdddf35af0c0f4430c78301b5e6099720f448 | [] | no_license | berkus/ebalda_uiskogo | b55f897fe0c946661154a1cd1c27a8205684a4f9 | c6159a6fd75f7a6ecdf8568831db802c821644e4 | refs/heads/master | 2023-07-10T22:32:21.896507 | 2008-07-31T22:20:38 | 2008-07-31T22:20:38 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,389 | cpp | #include "ebalda.h"
#include "config.h"
#include <gd.h>
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <ctype.h>
Ebalda::Ebalda()
: name(0)
, step(0)
, grown(false)
, headrow(0), headcol(0)
, width(0), height(0)
, ebalda_himself(0)
, startrow(0), startcol(0)
, endrow(0), endcol(0)
... | [
"berkus@madfire.net"
] | berkus@madfire.net |
f16498f14ee08375f648d6cc55c9b21a5b118a92 | a070de8c140f9c1fad2ca69cf2cdacc9466332d5 | /LeetCodePractice/LeetCodePractice/Q175_Combine_Two_Tables.cpp | dbc578a05daa43717178dc16ed2b8b6f141ecea7 | [] | no_license | semkilljaeden/LeetCodePractice | 124df40e2b84be1f27e7c8256bcfafa7154ef387 | c15e790eae4b59c7af3e572e20fed3a7aee01a48 | refs/heads/master | 2023-03-28T23:28:13.049182 | 2021-03-31T21:17:48 | 2021-03-31T21:17:48 | 272,928,992 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11 | cpp | //skip, SQL | [
"killjaeden@gmail.com"
] | killjaeden@gmail.com |
93904eeb10f86176ba730f7b6c46932c04c8d350 | aa7e4152d89159eed2d234782087af1a90f5111f | /wordvector.h | 858a81d72a0a698c292fe6ebbcc154812cf0d5d4 | [] | no_license | EmbolismSoil/ShortTextClassfier | 271917460cf942f91262c519b2a595dc967a3583 | 53e22cbaad0fb8199809524b9ad06a68001b57fe | refs/heads/master | 2021-05-03T07:27:19.496571 | 2018-03-05T11:24:02 | 2018-03-05T11:24:02 | 120,608,655 | 7 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 4,261 | h | #ifndef WORDVECTOR_H
#define WORDVECTOR_H
#include <vector>
#include <stdexcept>
#include <exception>
#include <sstream>
#include <boost/algorithm/string.hpp>
#include <boost/format.hpp>
#include <stdio.h>
#include <math.h>
template<class T>
class WordVector
{
public:
WordVector(int dim);
WordVector(std::vect... | [
"743703241@qq.com"
] | 743703241@qq.com |
847fe44fe5251f4f8116d894edc681b00027d259 | 9427126563527b81f1c4d3fb60c38bdc29e810d0 | /leetcode/456-132-pattern.cpp | 834426cab572ac21c1d0f2e5d9745d4f10895ddb | [] | no_license | gongzhitaao/oj | afe217753f112e445f2b75a5800c0fc2862688b2 | fbc771a3b239616be48b1b2fcaa39da9d8ce2a14 | refs/heads/master | 2021-01-17T02:59:56.456256 | 2018-03-07T01:59:01 | 2018-03-07T01:59:01 | 16,234,097 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 427 | cpp | class Solution
{
public:
bool find132pattern(vector<int>& nums)
{
const int n = nums.size();
stack<int> stk;
for (int i = n - 1, s3 = -1; i >= 0; --i) {
if (s3 >= 0 && nums[i] < nums[s3])
return true;
for (; stk.size() && nums[i] > nums[stk.top()]; stk.pop())
if (s3 < 0 ||... | [
"zhitaao.gong@gmail.com"
] | zhitaao.gong@gmail.com |
66b85f06760cff5c320a813cd41adcc898cdba82 | 05b5fbf24c6cc8046b7e9807089aff58a344c4d5 | /CBSocket.cpp | 21bacf33d1f7ab983004de6d0fe271f500fdadff | [] | no_license | xiamingxing/maya | 50687354706d3fd041fb362b06eb705e838eed04 | ffb2e6583a75c894884fea46b19bea8ed1a590a5 | refs/heads/master | 2020-04-02T04:42:44.355405 | 2016-07-19T04:42:59 | 2016-07-19T04:42:59 | 63,661,214 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 6,209 | cpp | ///////////////////////////////////////////////////////////////////////////////
// CBase Socket Class define Part : implementation file
//
#include "stdafx.h"
#include "SCDefine.h"
#include "Cbsocket.h"
#include "Poolbase.h"
#include "IocpBase.h"
#include "SockDataList.h"
CBSocket::CBSocket()
{
m_SockF... | [
"xiamingxing@360.cn"
] | xiamingxing@360.cn |
56e00354071db7b2ffa95ab6e93995ab650dcb4e | 202087279de4b66457eac88cf1b7d7c21769fa53 | /ExploringScaleSymmetry/Chapter6/ch6_figure17.cpp | f0b2846dface5171f388c69b95d5c8860fdcd988 | [
"MIT"
] | permissive | TGlad/ExploringScaleSymmetry | 433475d0661914a010c55f4f06e03b53fde476e4 | 25b2dae0279a0ac26f6bae2277d3b76a1cda8b04 | refs/heads/master | 2021-07-02T09:13:26.160214 | 2021-01-27T11:07:14 | 2021-01-27T11:07:14 | 217,837,988 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,721 | cpp | // Thomas Lowe, 2020.
// Generates an image of the colour-symmetric and scale-symmetric three-colour automaton, on a symmetric hexagon of seed points.
// The method generates to a larger image first (called out), then downscales to a smaller one. The result of this is that
// the dense and repeated mixture of all three... | [
"t_d_lowe@hotmail.com"
] | t_d_lowe@hotmail.com |
0e40cbbdffda2052f50829fdba2e40c7de4b9fd2 | 4b5a008421fb71f83d948dc9f147e955ab4dc7b1 | /uaMobi/qzxing-master/src/zxing/zxing/qrcode/detector/QRFinderPattern.cpp | 5bc79d6c98d1115abd58b9e60baea917dcfe6440 | [
"Apache-2.0"
] | permissive | ston1x/UNARetail | a205becbe3c69b3bd51127b6ec29c3e5abf340d0 | 491ced2068cb89ed24d7d5c23477fd80ca54b8dd | refs/heads/master | 2022-10-11T01:26:44.848735 | 2020-06-09T10:07:00 | 2020-06-09T10:07:00 | 271,839,954 | 1 | 0 | null | 2020-06-12T16:11:36 | 2020-06-12T16:11:36 | null | UTF-8 | C++ | false | false | 2,615 | cpp | // -*- mode:c++; tab-width:2; indent-tabs-mode:nil; c-basic-offset:2 -*-
/*
* FinderPattern.cpp
* zxing
*
* Created by Christian Brunschen on 13/05/2008.
* Copyright 2008 ZXing authors All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except... | [
"ankeleshbnet@inbox.ru"
] | ankeleshbnet@inbox.ru |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.