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
8607f8558a86812bb5db95c9ad58a64b3c29b5ca
5a60d60fca2c2b8b44d602aca7016afb625bc628
/aws-cpp-sdk-pinpoint-sms-voice-v2/source/model/DescribePhoneNumbersResult.cpp
690ab61500bf433d5a7fb803cadb9b06467dadad
[ "Apache-2.0", "MIT", "JSON" ]
permissive
yuatpocketgems/aws-sdk-cpp
afaa0bb91b75082b63236cfc0126225c12771ed0
a0dcbc69c6000577ff0e8171de998ccdc2159c88
refs/heads/master
2023-01-23T10:03:50.077672
2023-01-04T22:42:53
2023-01-04T22:42:53
134,497,260
0
1
null
2018-05-23T01:47:14
2018-05-23T01:47:14
null
UTF-8
C++
false
false
1,372
cpp
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/pinpoint-sms-voice-v2/model/DescribePhoneNumbersResult.h> #include <aws/core/utils/json/JsonSerializer.h> #include <aws/core/AmazonWebServiceResult.h> #include <aws/core/utils/StringUtil...
[ "aws-sdk-cpp-automation@github.com" ]
aws-sdk-cpp-automation@github.com
869ff9c589973d6672e30ecc5987554c0f3d66c9
32ee5adecb30e95f83c283114178647cb12be026
/game-files/House.cpp
bd13b2c76a16252ecb00f5a4dce9f669c85b0644
[]
no_license
palmer-cl/sarge-search-and-rescue
5dd19613a4e325fb91b97deebf5c50137ab6e52b
b73bc6533b2fb0746c8b41956405e6659da1aa2e
refs/heads/master
2021-04-16T03:34:59.553034
2018-03-24T00:06:05
2018-03-24T00:06:05
126,549,903
1
0
null
null
null
null
UTF-8
C++
false
false
1,498
cpp
#include "House.hpp" House::House() : Space() { name = "House"; } House::House(string str) : Space() { name = str; } House::~House() { } /************************************************************** This function takes in a char from the user and uses it to determine which space pointer to return. The function...
[ "palmercl@oregonstate.edu" ]
palmercl@oregonstate.edu
4fb604e45448fb4d49c8df1ba15a2eed36ea3b6a
2d98f26ee6ee486bb0bbda565b0a061498116494
/wallet/api/unsigned_transaction.h
f3b13ed72858d2b700214b7d0e24e49949fe2445
[]
no_license
MorozCoi/MorozCo
2b86f36f0d5e2c6a866fcb752a556e3ee8273af3
88f3d47fa430e0d100ae43102e58e4f8d1372913
refs/heads/master
2021-05-08T14:00:36.595046
2018-02-03T07:14:45
2018-02-03T07:14:45
120,058,320
0
0
null
null
null
null
UTF-8
C++
false
false
3,034
h
// Copyright (c) 2014-2018, The MorozCo // // All rights reserved. // // Redistribution and use in source and binary forms, with or without modification, are // permitted provided that the following conditions are met: // // 1. Redistributions of source code must retain the above copyright notice, this list of // co...
[ "root@localhost.localdomain" ]
root@localhost.localdomain
179120b1615ef614b5fe00f747167eeda9cfc9f5
f252f75a66ff3ff35b6eaa5a4a28248eb54840ee
/external/opencore/pvmi/pvmf/include/pvmf_event_handling.h
5de2c0fc62699a347b10ba4795ed8f6f0aefbe9f
[ "MIT", "LicenseRef-scancode-other-permissive", "Artistic-2.0", "LicenseRef-scancode-philippe-de-muyter", "Apache-2.0", "LicenseRef-scancode-mpeg-iso", "LicenseRef-scancode-unknown-license-reference" ]
permissive
abgoyal-archive/OT_4010A
201b246c6f685cf35632c9a1e1bf2b38011ff196
300ee9f800824658acfeb9447f46419b8c6e0d1c
refs/heads/master
2022-04-12T23:17:32.814816
2015-02-06T12:15:20
2015-02-06T12:15:20
30,410,715
0
1
null
2020-03-07T00:35:22
2015-02-06T12:14:16
C
UTF-8
C++
false
false
13,756
h
#ifndef PVMF_EVENT_HANDLING_H_INCLUDED #define PVMF_EVENT_HANDLING_H_INCLUDED #include "oscl_base.h" #include "oscl_mem_auto_ptr.h" #include "oscl_mem_basic_functions.h" #include "pvmf_return_codes.h" #include "pv_interface.h" typedef int32 PVMFSessionId; typedef int32 PVMFCommandType; typedef int32 PVMFCommandI...
[ "abgoyal@gmail.com" ]
abgoyal@gmail.com
c4296e79f9fe312950453aba1b5299b9027de9ef
1b22a54a1be72309f67cf97b9abf7f38d6341e79
/test/main.cpp
5e2ea11c887ab20a1cfc41fa6a2ec304287ae2d7
[ "MIT" ]
permissive
ArpegiusWhooves/QtSerialSignalLines
2803a81dbfa990b526447d9a168c0b3087cfdd3a
cd13459704d822693ca7ff31a52724c0ac0746c9
refs/heads/master
2020-05-20T05:42:21.775186
2019-05-09T07:44:07
2019-05-09T07:44:07
185,413,024
0
0
null
null
null
null
UTF-8
C++
false
false
586
cpp
#include <QtCore/qglobal.h> #if QT_VERSION >= 0x050000 #include <QtGui/QGuiApplication> #include <QtQml/QQmlApplicationEngine> #include <QtQml> #else #endif //#include <rspinoutsignals.h> int main(int argc, char *argv[]) { QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling); QGuiApplication app(argc,...
[ "abc@example.com" ]
abc@example.com
4aeb138428ac9180816b980a2d0549113d8934ae
cc0fd40a48b34c5a97a3c0f9736319d8f50da087
/BindlessDeferred/MeshRenderer.cpp
0e4f1f603c84cb0a3b467bec40b8dd1368390c19
[ "MIT" ]
permissive
gamedevforks/DeferredTexturing
406ee97894f40ea6b934907f980f70b8ddcf3842
0258610068a6f8fc8a93231bd081e66de74a6c01
refs/heads/master
2021-01-12T15:58:07.838998
2016-09-06T06:52:58
2016-09-06T06:52:58
null
0
0
null
null
null
null
UTF-8
C++
false
false
32,352
cpp
//================================================================================================= // // Bindless Deferred Texturing Sample // by MJP // http://mynameismjp.wordpress.com/ // // All code and content licensed under the MIT license // //=================================================================...
[ "mpettineo@gmail.com" ]
mpettineo@gmail.com
ba3bd2d7c0e766c4b8ef5e51c3b08c33cb0ff365
b7db584455252a81c0a8d47afc8d24c3da09828e
/540_Zigzag_Iterator.cpp
5c526b5211af04e5597720c982ae1b0280087470
[]
no_license
Fearycxy/lintcode
b2f76b9e4de20b7061ed89e1d78e6e7aa4ab7e8d
f3cb1197e836f827415e3a6e83c42a011efc69f0
refs/heads/master
2020-03-13T14:56:40.341429
2018-09-27T12:47:22
2018-09-27T12:47:32
131,168,092
0
1
null
null
null
null
UTF-8
C++
false
false
897
cpp
class ZigzagIterator { public: vector<int> v; vector<int>::iterator it; /* * @param v1: A 1d vector * @param v2: A 1d vector */ZigzagIterator(vector<int>& v1, vector<int>& v2) { // do intialization if necessary int m = v1.size(),n = v2.size(),t = max(m,n); for(int i=0;i<t;i++){ ...
[ "fearycxy@gmail.com" ]
fearycxy@gmail.com
112c546e3d21cca37d758a33ff9883764a7bcf0b
c4a40832a037969231eeb269da6aa5d0c4b33e16
/test/RunTests.cpp
30b9b085f43becbe87276352d1e9b21f03b61e84
[ "Apache-2.0" ]
permissive
FlorisE/rsj_2017_pick_and_placer
5e48997b7ec75996a7eb41b425c1deb83e00ba66
7ed1394c7c2c1c156857311695fbafc798819154
refs/heads/master
2023-01-20T03:30:52.920714
2023-01-11T08:47:30
2023-01-11T08:47:30
130,323,057
1
1
Apache-2.0
2023-01-11T08:47:32
2018-04-20T07:05:18
C++
UTF-8
C++
false
false
243
cpp
#include <gmock/gmock.h> #include "PickNPlacerTest.cpp" #include "GripperTest.cpp" #include "ArmTest.cpp" #include "PlanningSceneTest.cpp" int main(int argc, char **argv) { testing::InitGoogleTest(&argc, argv); return RUN_ALL_TESTS(); }
[ "floris.erich@aist.go.jp" ]
floris.erich@aist.go.jp
53b49c8e131e54f209dafa1cbefa6e3730347afa
a94a209d1f98eeb4bda45ea53b792883a99d42d6
/windows/runner/main.cpp
1d8e8963fad31b0a146c0736f5a83351bfb7ad5d
[]
no_license
RossJ24/techyapp
a001459be4602ef33c3936e8ef14e87a7b5bd9e7
e4f62b27f7a53f389c9ed116ce627386d1725336
refs/heads/master
2023-06-11T15:29:33.349915
2021-07-03T01:04:51
2021-07-03T01:04:51
358,967,262
0
0
null
null
null
null
UTF-8
C++
false
false
1,218
cpp
#include <flutter/dart_project.h> #include <flutter/flutter_view_controller.h> #include <windows.h> #include "flutter_window.h" #include "run_loop.h" #include "utils.h" int APIENTRY wWinMain(_In_ HINSTANCE instance, _In_opt_ HINSTANCE prev, _In_ wchar_t *command_line, _In_ int show_command) { ...
[ "RossJ24@users.noreply.github.com" ]
RossJ24@users.noreply.github.com
e176d3cf9ce9caae472de49ffbbf42b75638c444
2e3e129c48691b71ed9bbc6d387d510c4c2c0025
/Qt/XListWidgetHelper.h
32c4df27b22387d302b7d858cb2aaf2820cd6c40
[]
no_license
gamecheung/framework
140bf7cae4aa374996f97f26d0a07095b7ef2226
3311914fd11bf64394c00b43b193f290da498510
refs/heads/master
2020-04-17T02:42:33.670964
2019-02-21T07:55:01
2019-02-21T07:55:01
166,149,112
0
0
null
null
null
null
UTF-8
C++
false
false
1,836
h
#ifndef _XLIST_WIDGET_HELPER_H #define _XLIST_WIDGET_HELPER_H #include <QListWidget> #include <QHash> class XListWidgetHelper :public QObject{ Q_OBJECT public: ~XListWidgetHelper(){instances()->remove(_obj);} static XListWidgetHelper* getInstance(QListWidget* obj){ if (!instances()->contains(obj)){ (*instanc...
[ "251141149@qq.com" ]
251141149@qq.com
a75463d36b6efe00f880e31b88741a39de6a3988
35d730c62626e7aac9261d35ea259ba4c641cc4c
/src/common/cuda/rtc.cc
2294feaa9e2f98443e77cb07e833afb57622659c
[ "Apache-2.0", "BSD-3-Clause", "Zlib", "MIT", "BSL-1.0", "BSD-2-Clause", "Unlicense" ]
permissive
CloudWalking0/incubator-mxnet
85f7a07126161c79b800a5cb45a0dd7e9a62182a
68dc5a9d6099aca95b65fdf4d4f59a83baf01e62
refs/heads/master
2023-08-09T08:34:34.729694
2021-09-08T08:28:01
2021-09-08T08:28:01
null
0
0
null
null
null
null
UTF-8
C++
false
false
13,037
cc
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
[ "noreply@github.com" ]
CloudWalking0.noreply@github.com
2111953db25410f8836097f5d6da17d2de8fa71d
af15cff3e936ec307549b611765aaddd33fc015d
/widgets/shellwidget.cpp
1fda7298a313e1d302da6d584f7126528aa57889
[]
no_license
breznak/QtAdb
7d641bc52a3934c09945ac07c11cfcceb5bfb970
e7f05979b884d9952fae04e1259fe94602e6eb68
refs/heads/master
2021-05-07T21:46:08.113829
2017-10-31T21:41:34
2017-10-31T21:41:34
109,054,583
0
0
null
2017-10-31T21:45:24
2017-10-31T21:33:26
C++
UTF-8
C++
false
false
18,858
cpp
/*********************************************************************** *Copyright 2010-20XX by 7ymekk * * 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/l...
[ "triochi@gmail.com" ]
triochi@gmail.com
9109c7ba3364106d25551c9d64fd5232de33410f
276ae23f4bc3c840924d22505bc24baa5a3d4a6e
/src/ui/console.cpp
dedd92dd02f90bb9ae7bcad3d61d3417d92c47d7
[]
no_license
ifilot/isana
3ac26228636c1e6fb678185f5d0eb02b4c7f536a
8407bf5ad81a3b60f1f106c761c1397aa32b4d28
refs/heads/master
2021-01-01T03:49:19.242363
2016-05-17T20:20:30
2016-05-17T20:20:30
57,589,336
0
0
null
null
null
null
UTF-8
C++
false
false
3,873
cpp
/************************************************************************** # # # This file is part of ISANA # # # # This program...
[ "ivo@zuidstijl.nl" ]
ivo@zuidstijl.nl
5a8f882253a3a70502096061ed127966464bf81c
df3b3104fb0817901317a363bafb95c96e4e0c0e
/PVVA-v2.0/Qt/include/stlInputWidget.h
272df152f17af3ebaa6df6674ba106568a473921
[]
no_license
Devil-ly/PVVA_V2.0
870a8ebbf9958837251fde58c44f943b55f355c1
1cc6e1436eb104e8559c0464059984c45d31f685
refs/heads/master
2021-01-23T10:58:18.850079
2017-06-02T01:36:30
2017-06-02T01:36:30
93,114,843
0
0
null
null
null
null
UTF-8
C++
false
false
848
h
#ifndef STLINPUTWIDGET_H #define STLINPUTWIDGET_H #include <QtWidgets/QDialog> #include <QTabWidget> #include <QGroupBox> #include <QGridLayout> #include <Qlabel> #include <QLineEdit> #include <QPushButton> #include "Qt/include/GraphTransWidget.h" #include <VTK/include/ModleData.h> class STLInputWidget : public Grap...
[ "Darkroom@DARK" ]
Darkroom@DARK
6f9638d53e6b7eabb7065decc070b57b84f61fa0
6e7d89d6982b77e0b3bfd3b08daf9b5937cc16c1
/_15L_G55_Star_test/_15L_G55_Star_test.ino
950e0571be639c5912e77baf86cc4e2e090669d7
[]
no_license
Blitz72/Arduino-Projects
77bab39fc5653174c3490512a9224c4862fa46b3
1e00e669c4f62137b6fa7b7a44af4acabf9d749a
refs/heads/master
2020-05-31T00:30:19.441695
2019-06-03T15:46:00
2019-06-03T15:46:00
190,035,959
0
0
null
null
null
null
UTF-8
C++
false
false
18,782
ino
/*Based on Christmas Light Control by Robert Quattlebaum <darco@deepdarc.com> Released November 27th, 2010 <http://www.deepdarc.com/2010/11/27/hacking-christmas-lights/> Original C code by Robert Quattlebaum developed to run on an ATTiny13 This versio...
[ "bauer.david@att.net" ]
bauer.david@att.net
04047a5df2d5f0d116c3c15e297050381b702b68
e1b18900134c106036d8c2ab7b1d63b721dfa197
/src/Composition.h
2fd0520a7864ce58a3f6c757ab848e2587745b67
[]
no_license
mvidelgauz/polypimpl
263aa427bf071e552d0feec6ab3b6f096a92ac8f
c083d796d00d8fac2e0f2f1a90dcfc071c995c6b
refs/heads/master
2021-01-01T22:16:11.932505
2020-04-29T05:27:53
2020-04-29T05:27:53
239,366,764
0
0
null
2020-04-29T06:29:21
2020-02-09T20:08:36
null
UTF-8
C++
false
false
1,096
h
#ifndef CompositionH #define CompositionH //============================================================================ /// \file Composition.h /// \author Uwe Kindler /// \date 27.01.2020 /// \brief Declaration of CComposition //============================================================================ //====...
[ "uwe_kindler@web.de" ]
uwe_kindler@web.de
652fd2094a829370fb80ca51027226f35245faca
7ec4ce13fe476404a1769d9958dc41bef48661bc
/12252017/usage.cpp
9d7efac50859c112e99a14b8ae385fdcf1d03c6c
[]
no_license
meihao1203/learning
45679e1b0912b62f7a6ef1999fb2a374733f5926
dbef1a1b6ccb704c53b2439661d062eb69060a0d
refs/heads/master
2021-07-19T23:36:50.602595
2018-12-09T02:03:06
2018-12-09T02:03:06
113,955,622
11
4
null
null
null
null
UTF-8
C++
false
false
1,494
cpp
// /// @file test.cpp /// @author meihao1203(meihao19931203@outlook.com) /// @date 2017-12-25 16:07:49 /// //编译需要加上 -llog4cpp -lpthread #include"myLog.h" #include<iostream> using namespace std; void func() { logInfo("this is a function"); } int main() { logInfo("system is running"); logWarn("system has...
[ "meihao19931203@outlook.com" ]
meihao19931203@outlook.com
fde5d0349ac2c38fe3985fe57ad8f562d9b9a9a2
81fca883e6bd3095f5169c129a452a4cfa669c1c
/windows/BasicBot/MyBotModule.h
881c389110c898374c1dcb4db2aad9d0f548dcc5
[ "MIT" ]
permissive
jackjack5/ChococakeBot
b8c41cfbf13c3011172e7177a7d4eac715f954d8
768f8ecb3633827d733b7b18b848f40546e992f3
refs/heads/master
2020-03-23T18:23:15.586259
2018-08-05T12:04:49
2018-08-05T12:04:49
141,905,505
0
0
MIT
2018-08-05T13:13:15
2018-07-22T15:03:10
C++
UTF-8
C++
false
false
7,815
h
#pragma once #include <BWAPI.h> #include <BWAPI/Client.h> #include <BWTA.h> #include <iostream> #include <fstream> #include <thread> #include <chrono> #include <string> #include "Common.h" #include "CommandUtil.h" #include "GameCommander.h" #include "UXManager.h" namespace MyBot { // BasicBot 1.1 Patch Start ////...
[ "bagh180@gmail.com" ]
bagh180@gmail.com
6a6c83fe300d1b0fcb0b9beb6cf49d04535bcc1d
9a3f8c3d4afe784a34ada757b8c6cd939cac701d
/leetLongPalinSubSeq.cpp
08d2f7e6d4f2d0bdec88cf4ced023f0220e51bbd
[]
no_license
madhav-bits/Coding_Practice
62035a6828f47221b14b1d2a906feae35d3d81a8
f08d6403878ecafa83b3433dd7a917835b4f1e9e
refs/heads/master
2023-08-17T04:58:05.113256
2023-08-17T02:00:53
2023-08-17T02:00:53
106,217,648
1
1
null
null
null
null
UTF-8
C++
false
false
1,882
cpp
/* 516. Longest Palindromic Subsequence Given a string s, find the longest palindromic subsequence's length in s. You may assume that the maximum length of s is 1000. Example 1: Input: "bbbab" Output: 4 One possible longest palindromic subsequence is "bbbb". Example 2: Input: "cbbd" Output: 2 One possible longest p...
[ "kasamsaimadhavk@gmail.com" ]
kasamsaimadhavk@gmail.com
0c2559af9840d6ef693dab249967b121f4d529cd
c681508bf3ad18a832389c402a5029acf6e8c72f
/src/dlaex3_m.cpp
b941a95a24dcb785f764b4e144e12178e3233e92
[]
no_license
xulunfan/magma
6f058ed0e288ecfc88a4ecc3711ad17faf74cb18
b4e228e14cc1046861c8f38803743d784b06b9bf
refs/heads/master
2021-01-21T15:50:21.484822
2016-02-10T15:08:42
2016-02-10T15:08:42
null
0
0
null
null
null
null
UTF-8
C++
false
false
25,410
cpp
/* -- MAGMA (version 2.0.0) -- Univ. of Tennessee, Knoxville Univ. of California, Berkeley Univ. of Colorado, Denver @date February 2016 @author Raffaele Solca @precisions normal d -> s */ #ifdef _OPENMP #include <omp.h> #endif #include "magma_internal.h" #include...
[ "maxhutch@gmail.com" ]
maxhutch@gmail.com
5accbb031217abea3931e282cedc0e2df7ccbf60
95803dc4d59e0d09d29c4f3a958d105e89f05247
/CS1D - Data structures and algorithms/CS1D - Assignment 15 Sort Performance/Header.h
13f36f90f47273215b413fcdbf331a65b53be20a
[]
no_license
cdelprato0/Saddleback-CC
892272856b1c4ab5e41b5e20cf082620d5d39131
325af23636af3c404fd67082efa2a97ab7ab3021
refs/heads/master
2022-12-17T19:31:33.258197
2020-09-18T19:52:27
2020-09-18T19:52:27
296,713,196
1
0
null
null
null
null
UTF-8
C++
false
false
578
h
/************************************************************************************ * AUTHOR :Chaz Del Prato * STUDENT ID :382108 * Assignment #15 :Sort Performance * CLASS :CS1D * SECTION :M/W 3:00 PM ************************************************************************************/ #i...
[ "chaz.delprato@student.csulb.edu" ]
chaz.delprato@student.csulb.edu
d886c9c6c758b6fade21483353fdedfd1362b18a
0cb7ce7ead8a9cb68e3234af73acbf132c6d108d
/lib/gtest/gtest.h
431fd323bbd3e4919d05c110a3ec992ab1e4dc51
[]
no_license
sganis/aes
60ce39939dba065051e3f4f5f161b6c084e73e5b
e561d891705a8b08c4ab6b6067a77c77f0f6cb94
refs/heads/master
2020-04-17T08:12:30.279487
2019-01-19T15:12:51
2019-01-19T15:12:51
166,402,466
0
0
null
null
null
null
UTF-8
C++
false
false
1,091,161
h
// Copyright 2005, Google Inc. // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are // met: // // * Redistributions of source code must retain the above copyright // notice, this list of c...
[ "sganis@gmail.com" ]
sganis@gmail.com
34f4d0b2a01bf61991768521773bd9ac04049175
f20e965e19b749e84281cb35baea6787f815f777
/LHCb/Det/DetCond/src/component/CondDBCache.h
0f8ab7994ecac5d6f2b33c169faa3d1e9ce22b92
[]
no_license
marromlam/lhcb-software
f677abc9c6a27aa82a9b68c062eab587e6883906
f3a80ecab090d9ec1b33e12b987d3d743884dc24
refs/heads/master
2020-12-23T15:26:01.606128
2016-04-08T15:48:59
2016-04-08T15:48:59
null
0
0
null
null
null
null
UTF-8
C++
false
false
10,824
h
#ifndef COMPONENT_CONDDBCACHE_H #define COMPONENT_CONDDBCACHE_H 1 // Include files #include <string> #include <vector> #include <list> #include "GaudiKernel/MsgStream.h" #include "GaudiKernel/HashMap.h" #include "CoolKernel/types.h" #include "CoolKernel/pointers.h" #include "CoolKernel/ValidityKey.h" #include "Cool...
[ "marcocle@cern.ch" ]
marcocle@cern.ch
2a5f11cadf53a3d2b4ccbef3c4dc69655a321155
250101ffb5bd6c4bcfe328854284338772e9aab5
/public/BaseUnit.cpp
681ddedbabc0cafaa457acf92a768c2d6dbeb77d
[]
no_license
MENGJIANGTAO/GameServer-2
aa1299e9442e221a1a2d26457c18396d5e4c54bd
be261b565a1f823d8d17235a21dd1f2431c0a30d
refs/heads/master
2021-09-17T22:45:10.621608
2018-07-06T05:15:47
2018-07-06T05:15:47
null
0
0
null
null
null
null
UTF-8
C++
false
false
4,027
cpp
/* * BaseUnit.cpp * * Created on: 2012-12-31 18:56 * Author: glendy */ #include "BaseUnit.h" #include "PoolMonitor.h" void BaseUnit::MessagePerformInfo::reset(void) { this->__recogn = 0; this->__process_num = 0; } BaseUnit::BaseUnit(void) : is_running_(false), is_ready_stop_(false), recogn_msgperf...
[ "mz@ddpkcc.com" ]
mz@ddpkcc.com
7c1d2546253dc8c85e9cb53b04725595eb47e736
284d8657b07536bea5d400168a98c1a3ce0bc851
/xray/editor/world/sources/scene_graph_node.h
48b08761ae23cef34dcb4c8e06c6fd41fd406887
[]
no_license
yxf010/xray-2.0
c6bcd35caa4677ab19cd8be241ce1cc0a25c74a7
47461806c25e34005453a373b07ce5b00df2c295
refs/heads/master
2020-08-29T21:35:38.253150
2019-05-23T16:00:42
2019-05-23T16:00:42
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,047
h
//////////////////////////////////////////////////////////////////////////// // Created : 23.11.2009 // Author : Andrew Kolomiets // Copyright (C) GSC Game World - 2009 //////////////////////////////////////////////////////////////////////////// #ifndef SCENE_GRAPH_NODE_H_INCLUDED #define SCENE_GRAPH_NODE_H_INC...
[ "tyabustest@gmail.com" ]
tyabustest@gmail.com
68eb27549ac8f4bfdb0b15bf14cc588453ab1dd2
d59b6b0669f5171ec8fa4b30b6c49d03bfdbd013
/test/eightqueen.cpp
211cbedccd47441d38cd35d34e6ec65e876a3a55
[]
no_license
tearsforyears/C-in-school
730a769eb436a6d4e184a90f92a4b38d03c7bc1e
a2cd294ed62ed972269f7820338f48dd50c4f37e
refs/heads/master
2020-03-31T12:12:27.353797
2019-01-22T02:41:20
2019-01-22T02:41:20
152,206,928
0
0
null
null
null
null
GB18030
C++
false
false
807
cpp
//author = "tearsforyears@github.com" #include<iostream> using namespace std; #define n 8 int arr[n]={-1,-1,-1,-1,-1,-1,-1,-1}; //this array store the position of queen //eg: arr[0]=4 arr[1]=7 means (4,0) and (7,1) both has a queen //妈的剪枝时候 y+1 debug一小时 注意边界!注意边界! bool judge(int y,int x){ // false for do not use t...
[ "1027664894@qq.com" ]
1027664894@qq.com
920cc4b8693d88a0c0f199a65700c5c28643fe77
258c2f6dbf545289a00cba1bb8d15f93a6d58028
/test/beast/core/_detail_sha1.cpp
165ddf714ee6314a72e441c517732bad9e2490b9
[ "LicenseRef-scancode-unknown-license-reference", "BSL-1.0" ]
permissive
boostorg/beast
7d8c4a75c1640aeee047e0a0e55e33bfab9918c4
35d533299c129d622af774f96b820e8f18df068f
refs/heads/develop
2023-08-31T15:55:41.952107
2023-08-18T07:39:26
2023-08-18T10:46:28
10,726,510
3,592
683
BSL-1.0
2023-09-05T05:24:10
2013-06-16T22:26:09
C++
UTF-8
C++
false
false
2,364
cpp
// // Copyright (c) 2016-2019 Vinnie Falco (vinnie dot falco at gmail dot com) // // 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) // // Official repository: https://github.com/boostorg/beast // #include <boost/beas...
[ "vinnie.falco@gmail.com" ]
vinnie.falco@gmail.com
37d764430de4a7271bd89dacb0f18b5ff652a71e
619f22a2e0eac40cc0fb70cefb5e6cbeb0d63d4b
/test/nosync/exceptions-test.cc
e0f41fbcdf6b9b4bd8d7a7785228c170613a1c0e
[ "BSD-3-Clause" ]
permissive
nokia/libNoSync
51da98297db7585d21e1e86f3ac5e07ae577b5d8
af0f0e5b738feac8c42c357c9dbdf3dc7e541a76
refs/heads/master
2021-05-25T09:33:41.376807
2018-04-20T17:55:18
2018-04-20T17:55:18
126,995,700
2
1
BSD-3-Clause
2020-08-03T15:10:19
2018-03-27T14:04:07
C++
UTF-8
C++
false
false
4,733
cc
// This file is part of libnosync library. See LICENSE file for license details. #include <cerrno> #include <cstring> #include <exception> #include <gtest/gtest.h> #include <nosync/exceptions.h> #include <regex> #include <sstream> #include <stdexcept> #include <string> using namespace std::string_literals; using nosyn...
[ "zbigniew.chyla@nokia.com" ]
zbigniew.chyla@nokia.com
3bd7d517dc4a93456afe7c21641afac1fcebafca
37eebd8678adda91d505496e3af9e70fee2159b3
/VisGUI/FileManager.h
2a35177fe044897cd3218c608c81d28dda243e15
[]
no_license
vadimzagruny/VisGUI
277ed2528fa02a4a3f82ac5e8a6ca853c282745b
9dc2188f4aae517422336cab8f3ab06e211530e1
refs/heads/master
2020-12-25T18:43:31.384225
2017-06-11T06:12:56
2017-06-11T06:12:56
92,586,492
0
0
null
null
null
null
UTF-8
C++
false
false
566
h
#pragma once #include "TargetDataParser.h" using namespace TargetDataParser; /** \brief File manager class . * \author Vadim Zagruny * \version 2.1 * \date 2017 * \copyright Vadim Zagruny KhMBDB. */ class CFileManager { CTargetDataParser *m_pTargetDataParser; GMaterialParser m_MaterialParser; str...
[ "zagruny@yandex.ua" ]
zagruny@yandex.ua
e2e39e6a449974af3bb435ecf21812f403fc6ded
94118bcc9eba9a71587bf4f0cccdad7b3408a558
/sample/CH01_Render/소스파일/Render_2_2.cpp
f4403b311f6f36f2fb7bfbb70fd7dbb327df956f
[]
no_license
KangWeon/3D_GAME_MATH_AND_PHYSICS_FOR_DEVELOPERS
f3889d9600f0a5b44ea86a164b44d11522e3bf6b
1971ae69e65eb1f530828e3d3e44a456c92907ec
refs/heads/master
2020-04-17T12:06:02.196692
2019-01-19T16:54:56
2019-01-19T16:54:56
166,567,312
0
0
null
null
null
null
UTF-8
C++
false
false
18,068
cpp
//------------------------------------------------------------ // Render_2_2.cpp // 일식과 같은 그러데이션 // //------------------------------------------------------------ #include <math.h> #define VIEW_WIDTH 640 // 화면너비 #define VIEW_HEIGHT 480 // 화면높이 #define RAD1 120 // 안쪽 원의 반지름 #define RAD2 230 ...
[ "gilbutITbook@gmail.com" ]
gilbutITbook@gmail.com
f3a0ce9f1906a2a03a589ca152aa983db8d34657
0a063b1cd9dbf3f53a38b36ed7ed114cf9e3b1e7
/leetcode/remove-element.cpp
7392a88c48416f072ff1c0be09aa1bb201d70256
[ "Apache-2.0" ]
permissive
MahmoudGamlTaha/programming-challenges
55d009843d6bdf5c96d391faced4f8ad95c0fb59
949ee1abf62202903de88ae173a419417f5900cd
refs/heads/master
2021-01-11T16:48:26.142796
2015-09-10T23:26:08
2015-09-10T23:26:08
null
0
0
null
null
null
null
UTF-8
C++
false
false
401
cpp
class Solution { public: int removeElement(int A[], int n, int elem) { if (n == 0) return 0; int count = 0; int i = 0; int j = n - 1; while (i <= j) { if (A[i] == elem) { A[i] = A[j--]; ++count; } else { ...
[ "elogeel@outlook.com" ]
elogeel@outlook.com
f66180fc4970cec691a546c1d15b269836faa97f
8f44f879285be67fb6b4102b5e1ce1e257bed59c
/src/game/vmap/ModelInstance.cpp
6b27a9b5c470b2f0b0d518e243fa37c52b15faa1
[]
no_license
Lilianos/NGSC
76e7fa153212ab797a7c45f68af248a46189f6ba
5f4ab3b5809be5cefe4fd5b44cac7e178ecc93a1
refs/heads/dev
2021-07-06T17:15:29.655779
2017-09-29T18:10:19
2017-09-29T18:10:19
103,018,870
0
0
null
2017-09-10T15:29:42
2017-09-10T09:49:01
C++
UTF-8
C++
false
false
8,289
cpp
/* * This file is part of the CMaNGOS Project. See AUTHORS file for Copyright information * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your o...
[ "roimichael70@hotmail.fr" ]
roimichael70@hotmail.fr
f8333e7ee9b91fe7402b8129678ec82c3df2ae9d
d4b57f6fbe121e258cea593de006f9968a1e29a1
/Source/MyProject3/HandComponent.cpp
112f70f751f6e6bc29bf1087fa2516e95c784b59
[]
no_license
jacksoncougar/Virtual-Experiments-2018-
d5b452714ee6ff14a405d23a83dd54f3f15292cf
5942a9e7624352e24d182f249a57f5e7d9711365
refs/heads/master
2020-04-06T15:31:57.330183
2018-11-14T16:57:01
2018-11-14T16:57:01
157,581,965
0
0
null
null
null
null
UTF-8
C++
false
false
826
cpp
// Fill out your copyright notice in the Description page of Project Settings. #include "HandComponent.h" // Sets default values for this component's properties UHandComponent::UHandComponent( const FObjectInitializer& ObjectInitializer ) : Super( ObjectInitializer ) { // Set this component to be initialized when t...
[ "jacksoncougar@gmail.com" ]
jacksoncougar@gmail.com
24ae40037544624d73c0a0ed62b3cb3532825112
ca2cc7aa65997fa9e592fd97e1246a3f7e85b8aa
/solver.cpp
0b54abca35107fd4fabc4b0ea8d7bf61e396b619
[]
no_license
myscience/FLIP2D
7d62f591c4634d507b60991f0e10ec73bca21924
d83dd4a5ec7ef915912ab33e61e12985e6e112df
refs/heads/master
2021-04-05T10:13:30.076891
2020-03-19T17:21:09
2020-03-19T17:21:09
248,544,820
1
0
null
null
null
null
UTF-8
C++
false
false
7,565
cpp
#include "include/solver.h" Solver::Solver (int w, int h, double dx, double dy, double dt, const LevelSet& ls) : w (w), h (h), size (w * h), dx (dx), dy (dy), dt (dt), A (w, h, ls) {}; Solver::~Solver() {}; void Solver::buildStencil (const LevelSet& ls, const LevelSet& sls) { double scaleX = dt / (rho * 2 * dx *...
[ "muratore.paolo95@gmail.com" ]
muratore.paolo95@gmail.com
1f6449a72b6106585d7e467a8cb6788f1048786a
deb897f77717245a49c147f663a52b185aabc792
/MurrayAssignment2/matmul_no_hw.cpp
0f8de47efa223bf3d522d704f2c8b020cc91c75d
[]
no_license
MKornelsen/ECSE541FinalProject
26d40a98ca0290368a817b0236fd582554a52308
672c43cc5a391ba149fddcdb885fb803a7e7322c
refs/heads/main
2023-01-19T19:03:12.617016
2020-12-01T00:08:32
2020-12-01T00:08:32
311,206,692
1
0
null
2020-11-27T21:26:07
2020-11-09T02:50:40
C++
UTF-8
C++
false
false
989
cpp
#include <systemc.h> #include "bus_clocked.h" #include "memory.h" #include "sw_nohw.h" class bus_tb : public sc_module { public: bus_clocked *bus_inst; sw *sw_inst; memory *mem_inst; sc_signal<sc_logic> clk; SC_HAS_PROCESS(bus_tb); bus_tb(sc_module_name name) : sc_module(name) { bus...
[ "murray.kornelsen@mail.mcgill.ca" ]
murray.kornelsen@mail.mcgill.ca
3edab030cb68f6e2343e51272c35c3778e3839df
f116d6fb60c60f12cfb33ead136abe7f352ee6ec
/problems/Dynamic Programming/BOJ1727/배하람.cpp
83c0ff1827e3271aee1fecff1356abb76fc8556b
[]
no_license
HandongProblemSolvers/Problem-Solving
acc1182c74540b40b4f6ff1801ddb92b53c888e9
abfc87da962f39a9d1d1f905f21ae5346163aa98
refs/heads/master
2020-04-25T07:55:36.221281
2019-09-08T00:35:21
2019-09-08T00:35:21
172,628,925
3
18
null
2019-03-19T14:21:28
2019-02-26T03:13:11
C++
UTF-8
C++
false
false
908
cpp
#include <cstdio> #include <cstdlib> #include <algorithm> using namespace std; const int SIZE = 1001; int n,m; int male[SIZE],female[SIZE]; int dp[SIZE][SIZE]; int main(void) { scanf("%d%d",&n,&m); for(int i=1; i<=n; i++) scanf("%d",&male[i]); for(int i=1; i<=m; i++) scanf("%d",&female[i]); // 여자쪽을 항상 많게 만들어...
[ "hisfedev@gmail.com" ]
hisfedev@gmail.com
d37d9ddc0d0da6c551ece4c54ca40cdb4d25685b
61af2d058ff5b90cbb5a00b5d662c29c8696c8cc
/Vijos/1379.cpp
74370f4b5933dd7b66a7c33c2cde17395a98b524
[ "MIT" ]
permissive
sshockwave/Online-Judge-Solutions
eac6963be485ab0f40002f0a85d0fd65f38d5182
9d0bc7fd68c3d1f661622929c1cb3752601881d3
refs/heads/master
2021-01-24T11:45:39.484179
2020-03-02T04:02:40
2020-03-02T04:02:40
69,444,295
7
4
null
null
null
null
UTF-8
C++
false
false
808
cpp
#include <iostream> #include <cstdio> #include <cstring> using namespace std; int p1,p2,p3; char s[10010]; inline bool isdigit(char c){ return c>='0'&&c<='9'; } inline bool isletter(char c){ return c>='a'&&c<='z'; } inline void apply1(char c){ if(p1==2){ c-=32; }else if(p1==3){ c='*'; } cout<<c; } inline void...
[ "i_sukai@live.com" ]
i_sukai@live.com
7bb63e7915d595498bbd609ce23337a9df86a76e
6f2b6e9d77fc4dd5e1dae8ba6e5a66eb7c7ae849
/sstd_boost/sstd/boost/hana/unfold_left.hpp
fea61259626b54df933b75d5586dca7b40e03be3
[ "BSL-1.0" ]
permissive
KqSMea8/sstd_library
9e4e622e1b01bed5de7322c2682539400d13dd58
0fcb815f50d538517e70a788914da7fbbe786ce1
refs/heads/master
2020-05-03T21:07:01.650034
2019-04-01T00:10:47
2019-04-01T00:10:47
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,258
hpp
/*! @file Defines `boost::hana::unfold_left`. @copyright Louis Dionne 2013-2017 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ #ifndef BOOST_HANA_UNFOLD_LEFT_HPP #define BOOST_HANA_UNFOLD_LEFT_HPP #include <sstd/boost/han...
[ "zhaixueqiang@hotmail.com" ]
zhaixueqiang@hotmail.com
15e631084d1a4cfe7127ad713d736377738e4073
6b0ed1000d6340fe8e0a5b5a0be609bf42ad5a50
/28.cpp
38914736a8a174a70cd4d33eeaefe6063a16cb2a
[]
no_license
HarshRaikwar/Leetcode-Submissions
5bcdb96b63548cf0bb4522258800ebb7a3ae8b29
6b7aeb5def21e6652ad7b299f472e8152bafaab0
refs/heads/master
2023-07-29T18:50:46.607706
2021-09-13T14:35:47
2021-09-13T14:35:47
null
0
0
null
null
null
null
UTF-8
C++
false
false
164
cpp
class Solution { public: int strStr(string h, string n) { size_t pos = h.find(n); if(pos == string::npos)return -1; return pos; } };
[ "sharmadeeksha325@gmail.com" ]
sharmadeeksha325@gmail.com
c81effd2910bab55091c809750e05c8b58a4bbba
46d4712c82816290417d611a75b604d51b046ecc
/Samples/Win7Samples/winui/WindowsSearch/IFilterSample/Dll.cpp
88e079ed685bcfa0ba5cccc365d117f250cbcf94
[ "MIT" ]
permissive
ennoherr/Windows-classic-samples
00edd65e4808c21ca73def0a9bb2af9fa78b4f77
a26f029a1385c7bea1c500b7f182d41fb6bcf571
refs/heads/master
2022-12-09T20:11:56.456977
2022-12-04T16:46:55
2022-12-04T16:46:55
156,835,248
1
0
NOASSERTION
2022-12-04T16:46:55
2018-11-09T08:50:41
null
UTF-8
C++
false
false
6,885
cpp
// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF // ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO // THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A // PARTICULAR PURPOSE. // // Copyright (c) Microsoft Corporation. All rights reserved #include <windows.h> #inclu...
[ "chrisg@microsoft.com" ]
chrisg@microsoft.com
4c23935a4512ca3ffabf74c2107003e2fa27b0db
291dd47b0a0a6b8c84e254e7799c7462407386b0
/src/gui/Components/HYCheckBox.cpp
652532ae3c1342eb6da65799c8d4dc876fefcbd3
[]
no_license
ArtPoon/hyphy
693534f80b0cd2f9bc80fd2e96420f6260295b15
a041bf1de2e1b1556f2d0662b53609368aec4ab4
refs/heads/master
2021-01-17T21:49:04.344511
2012-04-13T17:08:33
2012-04-13T17:08:33
2,661,167
2
0
null
null
null
null
UTF-8
C++
false
false
1,553
cpp
/* Check box (with an optional label) component Sergei L. Kosakovsky Pond, May 2000 - December 2002. */ #include "HYEventTypes.h" #include "HYLabel.h" #include "HYGraphicPane.h" #ifdef __HYPHYDMALLOC__ #include "dmalloc.h" #endif //__________________________________________________________________ _HYChe...
[ "nlhepler@gmail.com" ]
nlhepler@gmail.com
a773588436dfa89b8820c4247b1395fe17e6d479
d51e54dccbb594a056005cb50a9dbad472ddb034
/Volume_15/Number_4/Olsson2011/linmath/float3x3.cpp
146915bdebdeb4948514c8a0882b24e257e9b0fa
[ "MIT" ]
permissive
skn123/jgt-code
4aa8d39d6354a1ede9b141e5e7131e403465f4f7
1c80455c8aafe61955f61372380d983ce7453e6d
refs/heads/master
2023-08-30T22:54:09.412136
2023-08-28T20:54:09
2023-08-28T20:54:09
217,573,703
0
0
MIT
2023-08-29T02:29:29
2019-10-25T16:27:56
MATLAB
UTF-8
C++
false
false
7,337
cpp
/****************************************************************************/ /* Copyright (c) 2011, Markus Billeter, Ola Olsson, Erik Sintorn and Ulf Assarsson * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), t...
[ "erich@acm.org" ]
erich@acm.org
74997fce6e710930f321c432f9fdd640c7069789
999dcae2e612f3dd1c01f712e8893317539a9f6c
/brickWall.cpp
1c025f77f4f6286326a927f7ee38775f420d8f6d
[]
no_license
han0305/Problem-Solving
ab1f56f07f850d639da35d06c768989dc2850a7c
9ed98f19ec31c6b367dbce88d38fe715a08f5608
refs/heads/master
2023-09-01T18:51:03.160623
2021-11-01T14:22:09
2021-11-01T14:22:09
288,743,667
0
0
null
null
null
null
UTF-8
C++
false
false
1,181
cpp
/* There is a brick wall in front of you. The wall is rectangular and has several rows of bricks. The bricks have the same height but different width. You want to draw a vertical line from the top to the bottom and cross the least bricks. The brick wall is represented by a list of rows. Each row is a list of integers ...
[ "roy.aditya1605@gmail.com" ]
roy.aditya1605@gmail.com
ebde94a0e17463bbb96b0113dd85e3d3dc60ae0a
69027fa958af8462c0ccec07bef2e17d0409a1e8
/oddmanout.cpp
9846686cf3361f2330fc5ecbd35848a944edaddb
[]
no_license
rabhijit/Kattis
460de62ec0dfed03935defe127f5df3145675b42
52cfccb6cbb1126dd9509f1a81e5e012906e7d6b
refs/heads/master
2020-09-18T20:26:35.216501
2019-11-26T11:46:06
2019-11-26T11:46:06
224,179,306
1
0
null
null
null
null
UTF-8
C++
false
false
713
cpp
/* A0181059A Abhijit Ravichandran Lab Group 13 */ #include <bits/stdc++.h> using namespace std; int main() { int cases; cin >> cases; vector<long> ans; for (int i = 0; i < cases; i++) { int guest_number; cin >> guest_number; unordered_set<int> guests; for (int j = 0; j < guest_num...
[ "40291462+rabhijit@users.noreply.github.com" ]
40291462+rabhijit@users.noreply.github.com
765cb677ec67c10dfdc6ca211a5c2cccc0e0d187
fb7efe44f4d9f30d623f880d0eb620f3a81f0fbd
/chromeos/network/network_handler_callbacks.h
83d5d3be92296863a0ebf8702e44861c20fb8289
[ "BSD-3-Clause" ]
permissive
wzyy2/chromium-browser
2644b0daf58f8b3caee8a6c09a2b448b2dfe059c
eb905f00a0f7e141e8d6c89be8fb26192a88c4b7
refs/heads/master
2022-11-23T20:25:08.120045
2018-01-16T06:41:26
2018-01-16T06:41:26
117,618,467
3
2
BSD-3-Clause
2022-11-20T22:03:57
2018-01-16T02:09:10
null
UTF-8
C++
false
false
3,501
h
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CHROMEOS_NETWORK_NETWORK_HANDLER_CALLBACKS_H_ #define CHROMEOS_NETWORK_NETWORK_HANDLER_CALLBACKS_H_ #include <memory> #include <string> #inc...
[ "jacob-chen@iotwrt.com" ]
jacob-chen@iotwrt.com
1b65d6bc29793f4086f7c2fce2b903cfbe05d1e3
96129fca6314b13016bc87d248913036b92c31d4
/data_structure/sort.cpp
8a26c82e7e68aab444a528353875c2d1a14318b6
[]
no_license
jwahn37/Algorithm_Samsung
d544bd5eebc514c76114b70ecd37668751ab7550
cec8e166b3a71e2c170189c9992f8a51d203a8e1
refs/heads/master
2020-12-28T15:54:15.799269
2020-04-04T07:34:58
2020-04-04T07:34:58
238,395,518
0
0
null
null
null
null
UTF-8
C++
false
false
614
cpp
#include<iostream> #include<vector> #include<algorithm> using namespace std; typedef struct edge{ int v1, v2; int w; /* bool operator<(const struct edge e)const{ return (w<e.w)? true:false; } bool operator>(const struct edge e)const{ return (w>e.w)? true:false; } */ }EDGE; bool comp(EDGE e1, EDGE e2)...
[ "jwahn37@gmail.com" ]
jwahn37@gmail.com
1843a01754dbeb74828ade967c32d33ec968b823
07915111c538b8887613ec9400fc25bc89742ae2
/SkiaCode/tests/RTreeTest.cpp
61e6b675ad8782e6ac022557c2688f0716007ad5
[ "BSD-3-Clause" ]
permissive
15831944/skiaming
f4f683dafc393263193629545880d1ffbac810c9
d6500ec2afe1ab45b8a42470ac9dff30c7297b57
refs/heads/master
2021-12-05T17:25:46.351775
2012-10-10T09:54:13
2012-10-10T09:54:13
null
0
0
null
null
null
null
UTF-8
C++
false
false
4,733
cpp
/* * Copyright 2012 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "Test.h" #include "SkRandom.h" #include "SkRTree.h" #include "SkTSort.h" static const size_t MIN_CHILDREN = 6; static const size_t MAX_CHILDREN = 11; static const ...
[ "zhangming@users.noreply.github.com" ]
zhangming@users.noreply.github.com
2ccd5a3e48ab703b0d7b24e416dabe5faed5f2c0
580fbd87d055a0707279dc0e26d24d95c705a061
/src/engine/shared/library/sharedGame/src/shared/objectTemplate/SharedShipObjectTemplate.cpp
8dce0c07fa3c03a61de8ef03fb6b630b3c144fff
[]
no_license
grserver/infinity
2588c97286b31fe59db0d72de4be0c8b46f6299d
5d9f23559d2481708a90b7e28ae0a065ed45c0fe
refs/heads/master
2021-01-18T14:20:19.333376
2015-11-20T17:27:10
2015-11-20T17:27:10
44,974,989
0
3
null
null
null
null
UTF-8
C++
false
false
11,245
cpp
//======================================================================== // // SharedShipObjectTemplate.cpp // //IMPORTANT: Any code between //@BEGIN TFD... and //@END TFD... will be //overwritten the next time the template definition is compiled. Do not //make changes to code inside these blocks. // // copyright 200...
[ "swgmaster@india.com" ]
swgmaster@india.com
40b6074608043e67e110a10bcd61329c7b45b7a3
d256626491309db4ac28e65b5112b12b119c8971
/LR_4/LR_4/uploading/file_loader.cpp
7e687c611ec90187a8e04d0a653f9ff7f88c005f
[]
no_license
Gr1dlock/OOP
45d40c2914ef93187b8f70c6edf3631c19111a2f
7bbd7329691f4cd615fe0d1124403ea9b3ed07fe
refs/heads/master
2021-06-21T01:40:57.045723
2021-01-30T15:57:55
2021-01-30T15:57:55
177,463,708
1
0
null
null
null
null
UTF-8
C++
false
false
931
cpp
#include "file_loader.h" namespace uploading { FileLoader::~FileLoader() { close(); } void FileLoader::open(std::string source_name) { if (_file.is_open()) { close(); } _file.open(source_name); if (!_file) { throw exceptions::FileOpenException(); } } void FileLoader:...
[ "dmit.lugovoy@gmail.com" ]
dmit.lugovoy@gmail.com
fe04112a9f9bfec9984d0c9b3fcaefaabfe37b2f
d37a1d5e50105d82427e8bf3642ba6f3e56e06b8
/DVR/HaohanITPlayer/public/Common/SysUtils/PerlinNoise.h
813ca2f01d2b8a6425ee4c65efd497aed86649fb
[]
no_license
080278/dvrmd-filter
176f4406dbb437fb5e67159b6cdce8c0f48fe0ca
b9461f3bf4a07b4c16e337e9c1d5683193498227
refs/heads/master
2016-09-10T21:14:44.669128
2011-10-17T09:18:09
2011-10-17T09:18:09
32,274,136
0
0
null
null
null
null
UTF-8
C++
false
false
4,028
h
//----------------------------------------------------------------------------- // PerlinNoise.h // Copyright (c) 2002 - 2004, Haohanit. All rights reserved. //----------------------------------------------------------------------------- //SR FS: Reviewed [JAW 20040912] //SR FS: Reviewed [wwt 20040914] #if...
[ "shengang1978@gmail.com@27769579-7047-b306-4d6f-d36f87483bb3" ]
shengang1978@gmail.com@27769579-7047-b306-4d6f-d36f87483bb3
35eb670e9527ac1b973a9e2d48061cfda6b7a73c
9f2ea2feeed695d5d4870ff7074d5c96999d7146
/chrome/browser/safe_browsing/cloud_content_scanning/deep_scanning_dialog_delegate_unittest.cc
4033e09419ac7c1f09b2ae697d25423809d29940
[ "BSD-3-Clause" ]
permissive
vitalybuka/chromium
289ebbafe4db85fe9ee794e2e93ac5525db96fd0
c43e2076a35b740204deac7d213edb93d03bc68b
refs/heads/master
2023-02-24T14:49:53.938847
2019-12-14T01:19:24
2019-12-14T01:35:10
103,636,540
0
0
null
2017-09-15T09:12:32
2017-09-15T08:59:45
null
UTF-8
C++
false
false
51,655
cc
// Copyright 2013 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/safe_browsing/cloud_content_scanning/deep_scanning_dialog_delegate.h" #include <map> #include <string> #include <vector> #inclu...
[ "commit-bot@chromium.org" ]
commit-bot@chromium.org
9af215dcf2607e88c7e6624e0b44e63859078a61
343cba4fdeedc9dc58fcf489fee5fdf8a9ebbd53
/August 2020/powerof4.cpp
d25f505f6a01e26c973f46e2da6baf334bd8ba01
[]
no_license
kstv364/Leetcode
50e1272a46c84b27cf93188f8314a24f3e4907d8
3532f2badcb2b2fa656e7ec384cdc4d2bf53df03
refs/heads/master
2023-01-04T05:23:25.878033
2020-10-30T10:30:40
2020-10-30T10:30:40
281,769,332
0
0
null
null
null
null
UTF-8
C++
false
false
442
cpp
/* Given an integer (signed 32 bits), write a function to check whether it is a power of 4. Example 1: Input: 16 Output: true Example 2: Input: 5 Output: false */ class Solution { public: bool isPowerOfFour(int n) { if (n == 1) return true; queue<int> q; while (n > 0) { q.push(n % 4); n = n / 4; }...
[ "kstvkmrchanda2@gmail.com" ]
kstvkmrchanda2@gmail.com
63e2728d4c8e0d4a7bb7e013dc7c1c814a269b03
37596f223cf5115178a5a218fecf422bc545de78
/kk.cpp
639d8b09bbb7c18210156619bc313b3015ce5194
[]
no_license
fahim-ahmed-7861/competitive-programming
85cc4a61ce643d07446c36848b1f55789ee978f3
7c3e649756a426cceb588b5b119d40a5a94c80b4
refs/heads/master
2022-12-31T10:45:15.798645
2020-10-21T14:37:38
2020-10-21T14:37:38
306,051,853
0
0
null
null
null
null
UTF-8
C++
false
false
865
cpp
// A Dynamic Programming based solution for 0-1 Knapsack problem #include<stdio.h> int max(int a, int b) { return (a > b)? a : b; } // Returns the maximum value that can be put in a knapsack of capacity W int knapSack(int W, int wt[], int val[], int n) { int i, w; int K[n+1][W+1]; // Build table K[][] in bo...
[ "fahimahmedshojib109@gmail.com" ]
fahimahmedshojib109@gmail.com
d1b5a428223e4e28ed330750c9a78f402c0c7c3f
d608f7fd20ad3e4d3a29175ac4d08271de00bae7
/test/cctest/compiler/test-node-algorithm.cc
ac8fbb9200969b1af32bb5286ebeca8f43a22604
[ "BSD-3-Clause", "bzip2-1.0.6" ]
permissive
houjie03/v8
ac58f791db3de18999064528f04ce44d790d0dad
92ed645752b2f957db1b5d8615e6218c7d72dfff
refs/heads/master
2021-01-18T04:44:04.202048
2014-07-30T14:23:52
2014-07-30T14:23:52
null
0
0
null
null
null
null
UTF-8
C++
false
false
12,037
cc
// Copyright 2013 the V8 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. #include <vector> #include "src/v8.h" #include "graph-tester.h" #include "src/compiler/common-operator.h" #include "src/compiler/generic-node.h" #incl...
[ "danno@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00" ]
danno@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00
d94fb3838f2547f2b4133bb6d379bd9fb6eb2d03
0f4b566347da11e20d6733ee5cdcd4186d20369b
/shapetests/exit_test.cpp
5d6a81efc3f0d04b4ad95cc418c142c4e3f59e04
[]
no_license
v1com/MDPV2
515b04283bbd55480dcb33a8a20ac93ffccdd899
7c486df83be1499b20d629dbf15169cf2a46db6f
refs/heads/master
2021-01-22T08:13:16.834055
2017-06-01T11:35:50
2017-06-01T11:35:50
92,605,841
1
0
null
null
null
null
UTF-8
C++
false
false
764
cpp
#include "exit_test.h" #include <QtTest/QTest> #include <shapes/exit.h> Exit_Test::Exit_Test(QObject *parent) : QObject(parent) { } void Exit_Test::getMyX() { Exit *exit = new Exit(10, 0); QCOMPARE(exit->getMyX(), 10); exit = new Exit(0, 0); QCOMPARE(exit->getMyX(), 0); delete exit; } void...
[ "sl0nworkmail@gmail.com" ]
sl0nworkmail@gmail.com
1bfe620f1b1cb18b8e8322805edc82e4628de7e0
1a469959f56cadab86d0ee8dcb4f87af1af64410
/Codeblock/TestBoostFunctions/main.cpp
212203f6e10155ee5e8746e7e1949a2577e89f08
[]
no_license
denischmielewski/test
921cf027b2ade01f42c647239859f3f27d451409
9fbde28b7171b04bc9982749a51ecb1b91359d2a
refs/heads/master
2020-05-14T17:33:24.279737
2015-07-14T14:29:12
2015-07-14T14:29:12
32,296,819
0
0
null
null
null
null
UTF-8
C++
false
false
286
cpp
#include <boost/function.hpp> #include <iostream> struct world { int hello(std::ostream &os) { os << "Hello, world!" << std::endl; return 1; } }; int main() { boost::function<int (world*, std::ostream&)> f = &world::hello; world w; f(&w, boost::ref(std::cout)); }
[ "denis.chmielewski@gmail.com" ]
denis.chmielewski@gmail.com
74cc4c74f0e102f0cc61d730af8bdd1495cd5301
8d52c40a3c5acc0a374198566d6b98d071aa1f86
/cppcheck/data/c_files/407.cpp
a0db4607496e4e20218438e91863ee5dc75c9f37
[ "MIT" ]
permissive
awsm-research/LineVul
8f6e6a7ee34c50b2b8d7d4a2d79b680f38c141d6
e739809970189f715aef6a707c1543786e3a9ec8
refs/heads/main
2023-04-29T04:03:06.454615
2023-04-15T06:59:41
2023-04-15T06:59:41
449,643,469
51
23
null
null
null
null
UTF-8
C++
false
false
730
cpp
void RTCPeerConnection::setRemoteDescription(PassRefPtr<RTCSessionDescription> prpSessionDescription, PassRefPtr<VoidCallback> successCallback, PassRefPtr<RTCErrorCallback> errorCallback, ExceptionCode& ec) { if (m_readyState == ReadyStateClosing || m_readyState == ReadyStateClosed) { ec = INVALID_STATE_ERR...
[ "michaelfu1998@gmail.com" ]
michaelfu1998@gmail.com
5cba1cd98cc408146e4fc35547ed48812dd95f61
bfc0a74a378d3692d5b033c21c29cf223d2668da
/unittests/libtests/meshio/TestOutputSolnPoints.cc
cb96f78515373f2fe72dfad7867a814847feef63
[ "MIT" ]
permissive
rishabhdutta/pylith
b2ed9cd8039de33e337c5bc989e6d76d85fd4df1
cb07c51b1942f7c6d60ceca595193c59a0faf3a5
refs/heads/master
2020-12-29T01:53:49.828328
2016-07-15T20:34:58
2016-07-15T20:34:58
null
0
0
null
null
null
null
UTF-8
C++
false
false
5,359
cc
// -*- C++ -*- // // ---------------------------------------------------------------------- // // Brad T. Aagaard, U.S. Geological Survey // Charles A. Williams, GNS Science // Matthew G. Knepley, University of Chicago // // This code was developed as part of the Computational Infrastructure // for Geodynamics (http://...
[ "baagaard@usgs.gov" ]
baagaard@usgs.gov
b36e55fc9cf65dc8d81bd48842a2071db59d1443
15e6480cbb51ff1aa704a1b217c0995e67ce9f5a
/DesignPattern/model_view.cpp
2881c6c1e6af668b336a0c354b1eec39a6c880ce
[]
no_license
zhugp125/C_C_plus_plus
e70e9ef21a163e50d62276e6bd57018391708e93
174167881980436f13024fd3d951a15d3e42c7d9
refs/heads/master
2021-06-04T02:24:04.679663
2020-07-04T08:50:57
2020-07-04T08:50:57
132,251,905
2
0
null
null
null
null
UTF-8
C++
false
false
1,294
cpp
#include <iostream> using namespace std; class StudentModel { public: void setName(const string& name) { m_name = name; } string getName() { return m_name; } void setId(const int id) { m_id = id; } int getId() { return m_id; } private: string m_name; int m_id; }; class StudentView { public: ...
[ "18811475054@163.com" ]
18811475054@163.com
7408d7d8fbde450e362ec6c8d7d81f252627b6ff
e27d9e460c374473e692f58013ca692934347ef1
/drafts/quickSpectrogram_2/libraries/liblsl/external/lslboost/math/special_functions/owens_t.hpp
395ccbfed3775534f9ab9c1f43d36ab47852bffc
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
thoughtworksarts/Dual_Brains
84a0edf69d95299021daf4af9311aed5724a2e84
a7a6586b91a280950693b427d8269bd68bf8a7ab
refs/heads/master
2021-09-18T15:50:51.397078
2018-07-16T23:20:18
2018-07-16T23:20:18
119,759,649
3
0
null
2018-07-16T23:14:34
2018-02-01T00:09:16
HTML
UTF-8
C++
false
false
49,161
hpp
// Copyright Benjamin Sobotta 2012 // Use, modification and distribution are subject to the // Boost Software License, Version 1.0. (See accompanying file // LICENSE_1_0.txt or copy at http://www.lslboost.org/LICENSE_1_0.txt) #ifndef BOOST_OWENS_T_HPP #define BOOST_OWENS_T_HPP // Reference: // Mike Pate...
[ "gabriel.ibagon@gmail.com" ]
gabriel.ibagon@gmail.com
ce6be31883b8c198c9ad6c5cb431689dd0925bc8
96010e676d4cb9b80ef48ee60a2ea92fc5ab42e7
/694.cpp
6b22618141b60d4591794d92c413410c55fc2a4b
[]
no_license
tomapo123/KKCoding
e99c6655384b41c93b1c147a7ca27f53cc24aef9
ee6a5561924e8084f4a61e382387927b9ef32885
refs/heads/master
2020-04-14T05:04:55.715832
2018-12-31T08:24:22
2018-12-31T08:24:22
163,652,090
1
1
null
null
null
null
UTF-8
C++
false
false
567
cpp
#include <iostream> #include <numeric> #define REPEAT(X, S, E) for (int X = S; X < E; ++X) const int N = 1 << (1 << ((1 << 1) + 1)); int n, a[N], s, cnt; int main() { freopen("cards.in", "r", stdin); freopen("cards.out", "w", stdout); std::cin >> n; REPEAT(i, 0, n) std::cin >> a[i]; s = std::accumulate(a, a + n,...
[ "wjm_jimmy@outlook.com" ]
wjm_jimmy@outlook.com
f2a415c0e0310d6785bd2266d191f92ee0850779
64bd2dbc0d2c8f794905e3c0c613d78f0648eefc
/Cpp/SDK/BP_LargeShip_StandardHull_Art_Interior_Map_Deck_classes.h
f19567abb4d41e01493c13206d426d5a56b1b735
[]
no_license
zanzo420/SoT-Insider-SDK
37232fa74866031dd655413837813635e93f3692
874cd4f4f8af0c58667c4f7c871d2a60609983d3
refs/heads/main
2023-06-18T15:48:54.547869
2021-07-19T06:02:00
2021-07-19T06:02:00
387,354,587
1
2
null
null
null
null
UTF-8
C++
false
false
23,705
h
#pragma once // Name: SoT Insider, Version: 1.103.4306.0 /*!!DEFINE!!*/ /*!!HELPER_DEF!!*/ /*!!HELPER_INC!!*/ #ifdef _MSC_VER #pragma pack(push, 0x01) #endif namespace CG { //--------------------------------------------------------------------------- // Classes //-----------------------------------------------...
[ "zp2kshield@gmail.com" ]
zp2kshield@gmail.com
fc4c568b935fb77f4e69afa8e5d1f458345c1039
27ebd7f3cf3bd1d483f8a1d27c3575c720f642e5
/Think_in_C++/code/C09/Inline.cpp
10c9d72f9e6c7ba8ab97a87aeacff76ee3d3296d
[ "LicenseRef-scancode-warranty-disclaimer" ]
no_license
walte/resourcerepo
a6ad55e907c72811b7aec82be7bfd5c58edecf5c
b8450232a098077965e76eb7134eca894b0a38c6
refs/heads/master
2016-09-06T05:35:18.599888
2013-11-22T06:43:35
2013-11-22T06:43:35
null
0
0
null
null
null
null
UTF-8
C++
false
false
703
cpp
//: C09:Inline.cpp // From Thinking in C++, 2nd Edition // Available at http://www.BruceEckel.com // (c) Bruce Eckel 1999 // Copyright notice in Copyright.txt // Inlines inside classes #include <iostream> using namespace std; class Point { int i, j, k; public: Point() { i = j = k = 0; } ...
[ "walther.zhao@gmail.com" ]
walther.zhao@gmail.com
db988ddcf0c6a424216f7caa788d075c69819828
f596200d0a3a98304d8108120bf97a8d4e16319e
/gui/include/hat/gui/eventful.hpp
24c6cdbb81d5314774fd85ee3b9db840852733a4
[]
no_license
justinvh/Rogue-Reborn
692f8995d21c085bd2290ef22bbd3b2ce737a20c
b4356f3af39e82536c4254a51cc89fa5af0b6452
refs/heads/master
2021-01-06T20:38:28.362318
2011-01-10T01:07:14
2011-01-10T01:07:14
952,588
13
4
null
null
null
null
UTF-8
C++
false
false
3,625
hpp
/* Rogue Reborn GUI "Eventful" definition from hat/gui/eventful.hpp Copyright 20010 Justin Bruce Van Horne. All Rights Reserved. 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 re...
[ "justinvh@gmail.com" ]
justinvh@gmail.com
4d9b5ef411d13fe1d565af629c7b44dc7702317e
9d59b92ffe3bc767d40adec017a53b4ce94492e9
/Practice04/Timeout_led.cpp
d09ff06dbf89ec1e63d5645062569b67edf5c4a6
[]
no_license
devnjw/EmbeddedProcessor
958c3b28e51533bfecc7d916f701b349b2c2f58a
809eef3e78d770125bb44262508f92ac1889e979
refs/heads/master
2023-06-03T03:19:44.750537
2021-06-18T10:42:32
2021-06-18T10:42:32
352,379,720
0
0
null
null
null
null
UTF-8
C++
false
false
293
cpp
#include "mbed.h" Ticker time1; Timeout timeout; DigitalOut led1(D3); DigitalOut led2(D4); void blink_led1(){ led1 = !led1; } void off_led2() { led2 = 0; } int main() { led2 = 1; time1.attach(&blink_led1, 0.5); timeout.attach(&off_led2, 10.0); while(1){ } }
[ "21600212@handong.edu" ]
21600212@handong.edu
ea1ff89d642a1b55f11d9199cfef5d444716483f
1c65da8381a8043d8cd99590bc07d9c84c382355
/CardDealer.cpp
c8daea96e6e2d3b75731e2eddd9f3cdf53c17e3e
[]
no_license
ShenedaW/5-Crowns---CPP
29ccf9962f1279a1a6575a7cb8df04c11c3c874e
7832113fca659741d3fcac9cef7a76ded8ac65b1
refs/heads/master
2023-03-23T15:11:29.113584
2020-09-10T21:48:39
2020-09-10T21:48:39
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,132
cpp
#include "CardDealer.h" /* ********************************************************************* Function Name: CardDealer Purpose: Constructor Parameters: None Return Value: none Assistance Received: Dr. Kumar's Sunday lecture ********************************************************************* */ CardDealer:...
[ "noreply@github.com" ]
ShenedaW.noreply@github.com
223d06a9465ae4bbd04e2982f14e2ba7e8129a49
88cc9a6da0ec1420eca4106e42720bebc4d41b28
/D2DUI/CaptureWnd.cpp
0a58a22feb804e5400a16a170b6263fe93c22c2f
[]
no_license
yunfengbasara/D2DUI
bf0befe949c509e2726ddf7426dc101e86ee5786
bab261eda68818966e9e726cd115b30ca0f32cc6
refs/heads/master
2020-05-31T16:50:36.875180
2019-06-05T12:39:21
2019-06-05T12:39:21
190,391,655
6
1
null
null
null
null
UTF-8
C++
false
false
1,706
cpp
#include "include.h" #include "CaptureWnd.h" #include "RenderEngine.h" CCaptureWnd::CCaptureWnd() { } CCaptureWnd::~CCaptureWnd() { } HWND CCaptureWnd::CreateWnd(int w, int h, HWND hParent) { HWND hwnd = __super::CreateWnd(w, h, hParent); SIZE size = WndSize(); m_nCloseBtn.LoadBtnImage(TEXT("res/close-normal.png...
[ "yf.feng@shunwang.com" ]
yf.feng@shunwang.com
bfe0b26218083f054ad6b4eab2e4545681796b41
05fcfee0447204e171fdae20e939da61851e90df
/ILHAM/CODING_ILHAM/CODING_ilham.ino
df0564e7af7e38dacdff3a22fa5118a42497bc29
[]
no_license
fakhrilak/ELEKTRONIKA
179f01b92b569509c40f407cb4d73d07ce0696cf
87f3e80131ce0b1668935ecba556b200743605ab
refs/heads/master
2023-06-04T00:57:40.995561
2021-06-20T14:37:18
2021-06-20T14:37:18
378,667,033
0
0
null
null
null
null
UTF-8
C++
false
false
2,571
ino
#include <EEPROM.h> #include <LiquidCrystal_I2C.h> LiquidCrystal_I2C lcd(0x27, 16, 4); int aa; int reset = 4; int up = 7; int down = 5; int start = 6; int relay = 12; int clockk = A0; int buzzer =13; int live_time; int set_alarm = 6; int count = 0; int set_time = 0; //waktu local int jam_local = 0; int menit_local = 0...
[ "fakhrilak23@gmail.com" ]
fakhrilak23@gmail.com
3f3ec85357a5d3f3eebfa5ced906f90e4e4bd544
de07fada0fd48920482f4dc8e3c58907a1319ce2
/src/opal/windows.cc
262e421412f7c5aa07a89b60bc3d075d8e8e9041
[]
no_license
sekcheong/Amulet
2bdd08115ce5caaadd8a4c9c3c0264782bdde65f
3edaada6231ef7f73d838c3004f4cc193a583136
refs/heads/master
2021-01-10T04:57:04.737060
2015-09-28T04:59:30
2015-09-28T04:59:30
43,280,502
2
0
null
null
null
null
UTF-8
C++
false
false
81,138
cc
/* ************************************************************************ * The Amulet User Interface Development Environment * * ************************************************************************ * This code was written as part of the Amulet project at * * Carnegie Mel...
[ "scheong@icloud.com" ]
scheong@icloud.com
f2bc654162cce79dfb3871cab03725caf199600e
75ac1b9537278bdff3359e8ce62f72d49148476a
/Array/Rearrange_array_in_alternating_positive_&_negative_items_with_O(1)_extra_space.cpp
dc3566fb8c3b766353c35be305b900ba9f5cdcb5
[]
no_license
pkbmh/Algorithms-in-c-
5e93f0dd1c9a7055deff327fee655f03e505049b
c46d5386641d7b772e552dcccbb08d150638e030
refs/heads/master
2021-01-12T03:32:18.123377
2017-01-07T12:14:31
2017-01-07T12:14:31
78,227,811
0
0
null
null
null
null
UTF-8
C++
false
false
1,494
cpp
#include <bits/stdc++.h> using namespace std; void right_rotate(int arr[] , int n ,int outplace , int cur) { int tmp = arr[cur]; for (int i = cur; i > outplace; i--) arr[i] = arr[i-1]; arr[outplace] = tmp; } void rearrange(int arr[] , int n) { int outplace = -1; for(int ...
[ "pankajbirat@gmail.com" ]
pankajbirat@gmail.com
bcae6b13f317003622ea10295ba1a2d31cccb4d7
db179759b7f3b1afb80b5efec032a38e615154d3
/Development/Src/Core/Inc/FMath.h
49a173cea75e5e99ccffdc60f780655034737878
[]
no_license
xukunn1226/VRI3
b263c6df957cefb8a347ff8feb7a90a491e28715
47c536220d60f04ccaccb275f65d63d717e25ac5
refs/heads/master
2016-09-09T22:34:51.370275
2013-02-18T16:09:31
2013-02-18T16:09:31
8,271,770
1
0
null
null
null
null
GB18030
C++
false
false
61,800
h
#ifndef __MATH_H__ #define __MATH_H__ #include <time.h> class FVector2; class FVector; class FVector4; class FRotator; class FQuat; class FPlane; class FMatrix; // Constants. #undef PI #define PI (3.1415926535897932) #define SMALL_NUMBER (1.e-8) #define KINDA_SMALL_NUMBER (1.e-4) #define BIG_NUMBER ...
[ "xukunn1226@gmail.com" ]
xukunn1226@gmail.com
21bcbc41d18ececad5a3770fd804a6755404d3cc
d79b6cc3ec819117b9da55455363d147a9d9b3c9
/mobius-client/nCube-example/nCube-example.ino
aaeff3df1a1644ebfdfc88a5e711e739b0ed7b8f
[ "MIT" ]
permissive
97Albino/mobius-early-detection-pine-wilt-disease
966123d15d31d4cc281eee2ed6ba507e8e5e7b85
a9f06639c9b9b0b81a1017db63e7ab69d8fa397b
refs/heads/master
2023-06-18T12:04:44.673644
2021-07-23T07:57:34
2021-07-23T07:57:34
null
0
0
null
null
null
null
UTF-8
C++
false
false
28,865
ino
#include <Arduino.h> #include <SPI.h> /** Copyright (c) 2018, OCEAN All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of ...
[ "gigaslender2@gachon.ac.kr" ]
gigaslender2@gachon.ac.kr
6ff412d553314610b0521656408a45c6714118f7
d67836673d880685a83620b6e0862202bf9d716b
/cpp/_137_XiaoaiPassword.cpp
520bdd73187aeef9b805b51e94ecb2d41e60a03e
[]
no_license
zoyanhui/mioj
6f277496add5bbff66d0a74274edfed9b63cc159
d8d5a3239dea86434dceaed2421db91abe7e1c4e
refs/heads/master
2022-12-22T23:24:34.439619
2020-09-18T02:19:45
2020-09-18T02:19:45
296,489,187
0
0
null
null
null
null
UTF-8
C++
false
false
1,846
cpp
#include<bits/stdc++.h> using namespace std; typedef long long ll; ll a,b,c,d,mod,n,mod1; ll powmod(ll a,ll b) { ll res=1;a%=mod; assert(b>=0); for(;b;b>>=1) { if(b&1) { res=res*a%mod;a=a*a%mod; } return res; } const int MAXN=2; struct Matrix { ll mat[MAXN...
[ "zoyanhui@gmail.com" ]
zoyanhui@gmail.com
d5ad9a1ed2afa6e21a1d86bb3692bfa805c341c5
05000915a465848a436beec2678b228a98493b57
/Vector/Vector.cpp
8697de00970846d30499d48c392d03e46c43271c
[]
no_license
FrankieV/OOP
eeca8982bc2543b88b021237e0b81fa0133b856f
6ccc2893a22303a5e8e831bf12d93a85ded90326
refs/heads/master
2021-01-20T05:07:50.397779
2015-07-18T09:23:16
2015-07-18T09:23:16
31,328,238
1
0
null
null
null
null
UTF-8
C++
false
false
1,477
cpp
#include "Vector.h" #include <cassert> Vector::Vector(unsigned int dim): size(dim),capacity(dim) { if(dim == 0) capacity++; vec = new int[capacity]; reset(); } Vector::Vector(const Vector &v) { copy(v); } void Vector::reset() { for(unsigned int i = 0; i < size;i++) vec[i] = 0; } void Vector::co...
[ "FrankieV" ]
FrankieV
9a92d1d3b557d915756a71867b45d83b1029c68d
7fb8c421a2efa33969b0cf298a3f1fe4688dbbda
/GaleEngine/Core/DebugOutput.h
1d72487d5b78dd05887cd7ec102957cc731336f6
[]
no_license
hakgagik/GaleEngine
9c2e7d007ddb15a7a497b0aeac4a2df4e2107e06
3a3cb5a4330c67348d99bef56223f3ea4c14f09b
refs/heads/master
2022-09-04T18:56:12.330889
2020-03-30T15:38:37
2020-03-30T15:38:37
47,303,019
0
0
null
null
null
null
UTF-8
C++
false
false
690
h
#pragma once #include <GL/glew.h> #include <string> namespace Core { class DebugOutput { public: DebugOutput(); ~DebugOutput(); // Callback to gather debug info from the OpenGL context. Fired whenever there's a debug message of any kind. static void __stdcall DebugMessageCallback(GLenum source, GLenum t...
[ "xddarkgalegh@aim.com" ]
xddarkgalegh@aim.com
c4db100fc5e5d376f8aeac26d222f14e54df33a4
bc7907860aaeba4c79779902d0ae39e850a0ebc5
/Framework/Framework.cpp
8cf06faca5bedde300c728e140b0b4710c7c934f
[]
no_license
loquat1208/SeaPuzzle
e067b9f06d1763e485fa65e8887de73d29db0f7a
c54853342e1ce5dbf1a6f27c390e2850bb0117bc
refs/heads/master
2021-01-11T14:23:06.699987
2017-05-22T09:23:44
2017-05-22T09:23:44
81,351,736
0
0
null
null
null
null
SHIFT_JIS
C++
false
false
1,717
cpp
#include "Framework.h" #include "DxLib.h" FrameworkPtr Framework::_instance; void Framework::initialize( ) { if ( !_instance ) { _instance = FrameworkPtr( new Framework ); } } void Framework::finalize( ) { if ( _instance ) { _instance.reset( ); } } FrameworkPtr Framework::getInstance( ) { return _instance;...
[ "tetares4@gmail.com" ]
tetares4@gmail.com
33abedec92d8d19479563cc9cd576231f3bbf1c9
2182d5af50bcaa771eb47306ab8bcd35297fdb62
/src/qt/transactiondesc.h
484bb1230ef3ca7ec3557a7d241be555c6db144b
[ "MIT" ]
permissive
lachesis/bitcoin
812e489d6e81fd936a6d02c89895e6d8ca47b762
5c5d310a0a94ec00d08c52637d38f3344a6e2c6f
refs/heads/master
2021-01-17T23:21:48.902560
2011-10-04T14:41:00
2011-10-04T14:41:00
1,426,670
2
0
null
null
null
null
UTF-8
C++
false
false
613
h
#ifndef TRANSACTIONDESC_H #define TRANSACTIONDESC_H #include <QString> #include <QObject> #include <string> class CWallet; class CWalletTx; class TransactionDesc: public QObject { Q_OBJECT public: // Provide human-readable extended HTML description of a transaction static QString toHTML(CWallet *wallet, ...
[ "laanwj@gmail.com" ]
laanwj@gmail.com
958a8cf35eecb6867c9b0eceb96f3a0f2cadc92e
6a6388831ee83228b6533ce06126a2c82ce8ee2a
/Scroller.cpp
c96fed9c3944d04750112f7aa061e82cb852ca92
[]
no_license
SublateTech/ENAPU
df9eac3f3ff2916e49fb66d26858faba90df385a
e58d60cb4f8a2ac199618ead28a075675cf4c3ce
refs/heads/master
2020-03-30T11:12:27.484016
2018-10-01T21:02:27
2018-10-01T21:02:27
151,159,202
0
0
null
null
null
null
UTF-8
C++
false
false
5,724
cpp
//#include "Console.h" #include "Scroller.h" #include "stdio.h" Scroller::Scroller (void ) { Init(); return; } Scroller::Scroller (char x, char y, char x1, char y1, Console con) { Init(x, y,x1,y1,con); return; } void Scroller::Init(char x, char y, char x1, char y1, Console con) { SubTitle [0] = '\0'; xabs...
[ "30779553+SublateTech@users.noreply.github.com" ]
30779553+SublateTech@users.noreply.github.com
736166fb30854887492e43600dc7ce85a92b978f
00efb44a653d5e05997ca1dde50c58a6df8549d7
/src/P2p/NetNode.cpp
2a8c7f5329ab40e112baeb1d52c039391f721b40
[]
no_license
askmeboy/sld
8a635183482ecdd3d8351d84389bb2f3211a3021
2755bcc27e27d9e437c5eb5b025184d16c9eb7f0
refs/heads/master
2020-04-18T01:33:52.691066
2018-12-07T20:48:37
2018-12-07T20:48:37
null
0
0
null
null
null
null
UTF-8
C++
false
false
54,758
cpp
// Copyright (c) 2011-2016 The Cryptonote developers // Copyright (c) 2014-2017 XDN-project developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "NetNode.h" #include <algorithm> #include <fstream> #include <...
[ "32670449+monselice@users.noreply.github.com" ]
32670449+monselice@users.noreply.github.com
01a64bcbd7d5dad8a98ce2269f2cae2fcae946e9
b7be80056f664cf5245bbec2619c1c774d0e35ce
/pltslinkprocessor/src/common/receiver.cc
6727838ed5437331df0497e6bcc7635f76cb4e75
[]
no_license
akornmay/brildaq
cfc4f502952d7e671ca93eff8664c1069c9ff3c7
3a5bf897b08ad7549d92198f9250e235aeded4e5
refs/heads/master
2021-01-01T06:35:24.066496
2017-07-13T03:13:47
2017-07-13T03:13:47
null
0
0
null
null
null
null
UTF-8
C++
false
false
3,206
cc
#include "bril/pltslinkprocessor/receiver.h" #include "bril/pltslinkprocessor/Events.h" #include "bril/pltslinkprocessor/exception/Exception.h" #include "xdata/InfoSpaceFactory.h" #include "cgicc/Cgicc.h" #include "cgicc/HTMLClasses.h" #include "b2in/nub/Method.h" #include "toolbox/task/WorkLoop.h" #include "toolbox/ta...
[ "jbueghly@kvm-s3562-1-ip150-15.cms" ]
jbueghly@kvm-s3562-1-ip150-15.cms
1607326b0b45d43f9bc3995702dabb49e9a28c04
0fa2a1cf113b567db18c5837fd9b1f72ab0c61ae
/src/qt/splashscreen.cpp
8c605245f9bdc09f2a5c15a0c86f215a11c32c4c
[ "MIT" ]
permissive
fastcoinproject/fastcoin
75309140f327997d86b3e7a86a54a27dbf611039
49c59e5ada6c90b4faf72d3020df9cd0df5384fe
refs/heads/fastcoin-8.7.2
2020-05-30T05:01:56.266986
2018-01-27T17:26:29
2018-01-27T17:26:29
10,347,341
26
26
MIT
2019-06-02T03:43:53
2013-05-28T22:52:45
C++
UTF-8
C++
false
false
3,864
cpp
#include "splashscreen.h" #include "clientversion.h" #include "util.h" #include <QPainter> #include <QApplication> SplashScreen::SplashScreen(const QPixmap &pixmap, Qt::WindowFlags f): QSplashScreen(pixmap, f) { // set reference point, paddings int paddingRight = 30; int paddingTop ...
[ "noreply@github.com" ]
fastcoinproject.noreply@github.com
ddd908952dd103d376accd0c63851cddd345f180
a9ff8c05d086b602516bd91ad44fa8bb98346b83
/OpenGL_OpenCV_Gtk/demo_2/OpenglWindow.cpp
f8ff335bb18d8b7caf9798cabc89e012178ccab5
[]
no_license
igopm/GtkOpenGlExamples
f79283e9e810174f447727f83e84bbce8d8aaa66
de363d363ca79ed87b7c1b9af799a1ed8a738e67
refs/heads/master
2021-04-27T15:13:47.432517
2018-02-27T21:19:54
2018-02-27T21:19:54
122,464,354
0
0
null
null
null
null
UTF-8
C++
false
false
7,766
cpp
// // Created by Igor Maschikevich on 10/25/2017. // //===================================================================================================== #include <iostream> #include <chrono> #include <SOIL.h> //==================================================================================================...
[ "igor.mashch@gimail.com" ]
igor.mashch@gimail.com
08e40c0594959bdd3299874db705b32f79e259c9
ed71c7bc5e116282084713b0ec36b1370780f99e
/icu/source/test/intltest/itrbnfp.h
5e8ba363d5a777f32f60adfaf1d659febcad24c8
[ "ICU", "LicenseRef-scancode-unicode" ]
permissive
alexswider/dropup.brigade
12e6a12f82a44e568f39b98bb0dbafee78c0c3f7
13fa5308c30786b5bba98564a0959b3c05343502
refs/heads/master
2021-01-18T22:20:51.901107
2016-04-25T18:46:27
2016-04-25T18:46:27
47,217,645
0
0
null
null
null
null
UTF-8
C++
false
false
1,110
h
/* ******************************************************************************* * Copyright (C) 2004, International Business Machines Corporation and * * others. All Rights Reserved. * *********************************************************************...
[ "marcinkozakk@gmail.com" ]
marcinkozakk@gmail.com
e4c7c14a9442017bd558b867242e2d4688aed2ef
6f2b6e9d77fc4dd5e1dae8ba6e5a66eb7c7ae849
/sstd_boost/sstd/boost/units/systems/si/illuminance.hpp
ae560a481b9af0e5cd2bb0342b99f7c3f3982995
[ "BSL-1.0" ]
permissive
KqSMea8/sstd_library
9e4e622e1b01bed5de7322c2682539400d13dd58
0fcb815f50d538517e70a788914da7fbbe786ce1
refs/heads/master
2020-05-03T21:07:01.650034
2019-04-01T00:10:47
2019-04-01T00:10:47
null
0
0
null
null
null
null
UTF-8
C++
false
false
841
hpp
// Boost.Units - A C++ library for zero-overhead dimensional analysis and // unit/quantity manipulation and conversion // // Copyright (C) 2003-2008 Matthias Christian Schabel // Copyright (C) 2008 Steven Watanabe // // Distributed under the Boost Software License, Version 1.0. (See // accompanying file LICENSE_1_0.tx...
[ "zhaixueqiang@hotmail.com" ]
zhaixueqiang@hotmail.com
12e7a1acb3ec7d8d4fdbfbc1b110237624b61d19
b48cc66bf4f5a173338e42ba02245da043e71ce7
/LuoguCodes/P3110.cpp
4b96e61ad8541c72d1ee206419ed02f4c69e6cc9
[ "MIT" ]
permissive
Anguei/OI-Codes
6f79f5c446e87b13c6bffe3cc758c722e8d0d65c
0ef271e9af0619d4c236e314cd6d8708d356536a
refs/heads/master
2020-04-22T22:18:14.531234
2019-02-14T14:24:36
2019-02-14T14:24:36
170,703,285
1
0
null
null
null
null
UTF-8
C++
false
false
1,952
cpp
// luogu-judger-enable-o2 // luogu-judger-enable-o2 // 用老婆代码交 P3110 #include <cmath> #include <cctype> #include <cstdio> #include <cstring> #include <set> #include <map> #include <stack> #include <queue> #include <string> #include <vector> #include <numeric> #include <iomanip> #include <iostream> #include <algorithm>...
[ "Anguei@users.noreply.github.com" ]
Anguei@users.noreply.github.com
c104221e8b897ad1d530851333edf98ff58c002d
b5ffda5b82a0caea652be9dcf025a58b46da88fb
/20170927/TouHouContestRound5T2.cpp
71e420c50d740ae11471277552e9e6d191eb94a0
[]
no_license
IIIIIIIIIU/TXT
2b6b48fbd9012ff08183a873d1b7b0a60a592d9c
f983ae2fd20b2ab71b4a3a6a202f6825422c6b00
refs/heads/master
2023-03-30T14:09:18.716160
2021-04-12T13:16:57
2021-04-12T13:16:57
104,467,262
1
1
null
null
null
null
UTF-8
C++
false
false
2,217
cpp
#include <bits/stdc++.h> using namespace std; typedef long long ll; const ll MAXN=1000005; ll n,f[MAXN],head[MAXN],V[MAXN<<1],E[MAXN<<1],cnt=1; ll val[MAXN],dfn[MAXN],low[MAXN],tag,dp[MAXN][2],ai[MAXN]; ll sta[MAXN],top,num,bi[MAXN][2],ans=0,ans2; bool vis[MAXN]; inline void in(ll &now) { char Cget;now=0;while((Cge...
[ "noreply@github.com" ]
IIIIIIIIIU.noreply@github.com
403aa0a1ad4c116c6b256cb6d024144358689517
dff8a221638932704df714b30df53de003342571
/code_modified_20150323/5/24.cpp
973440094141a1220573fefb4476f0f58e4acf16
[]
no_license
DevinChang/cpp
1327da268cbbde4981c055c2e98301d63e9ca46b
f35ee6f7b2d9217bd2d40db55a697330aeffc7e8
refs/heads/master
2021-01-20T13:55:55.399888
2017-05-18T08:01:15
2017-05-18T08:01:15
90,538,499
3
0
null
null
null
null
GB18030
C++
false
false
350
cpp
#include <iostream> #include <stdexcept> using namespace std; int main() { cout << "请依次输入被除数和除数:" << endl; int ival1, ival2; cin >> ival1 >> ival2; if (ival2 == 0) { throw runtime_error("除数不能为0"); } cout << "两数相除的结果是:" << ival1 / ival2 << endl; return 0; }
[ "DevinChang@126.com" ]
DevinChang@126.com
5dc9b13cf3e3773c3c26c329fae384453249cba1
e09eabc473c7d0a16cd8561aa1c3025f8a263fa9
/Documentos/clase0/CC1017248532/Seguimiento2/main.cpp
7e9ead4f913d7eb225a5781d8372b2b53931a07c
[]
no_license
andersonruales123/CursoFCII-2020-1
e303737371b38e49b61daaa4dd699803610d8485
a38103ccac239a11a7e51aa78584e39849699f22
refs/heads/master
2021-01-06T09:24:56.852553
2020-06-09T01:40:05
2020-06-09T01:40:05
241,278,796
0
1
null
2020-02-18T05:17:24
2020-02-18T05:17:23
null
UTF-8
C++
false
false
120
cpp
#include "prototype.h" int main(){ Rectangulo rectangulo(1.0, 2.0); rectangulo.MostrarDatos(); return 0; }
[ "david.silvas@udea.edu.co" ]
david.silvas@udea.edu.co
bea79d043fc8d939de53e59e7109e5635a5aebc5
5262642aedcfcf8a7b00e0c3584b32c54b45df8d
/src/itkModelRegistrationMethodLocal.h
c02a5efe1ae303c64218d2ca8b9c33303263f5a0
[ "MIT" ]
permissive
adist1994/CT-EndocorticalBoneModeller
b08ea3eb17963c67695f7ca9c42907de7aa9ca85
8233fa5110459e748d7c846c206f22a4fa72e804
refs/heads/main
2023-02-20T17:59:26.527256
2021-01-27T08:16:19
2021-01-27T08:16:19
null
0
0
null
null
null
null
UTF-8
C++
false
false
12,005
h
/* * File: itkModelRegistrationMethodLocal.h * Author: rap58 * * Created on 25 May 2015, 15:21 */ #ifndef ITKMODELREGISTRATIONMETHODLOCAL_H #define ITKMODELREGISTRATIONMETHODLOCAL_H #include "itkProcessObject.h" #include "itkImage.h" #include "itkImageToSpatialObjectMetric.h" #include "itkMultipleValuedNonLi...
[ "rap58@cam.ac.uk" ]
rap58@cam.ac.uk
145e19f3cce4da150d2bd59682d5241180d76950
ee065463a247fda9a1927e978143186204fefa23
/Src/Engine/Core/Win32Timer.cpp
c4dd148a5be44e386ed9c92e86622bf219442e5d
[]
no_license
ptrefall/hinsimviz
32e9a679170eda9e552d69db6578369a3065f863
9caaacd39bf04bbe13ee1288d8578ece7949518f
refs/heads/master
2021-01-22T09:03:52.503587
2010-09-26T17:29:20
2010-09-26T17:29:20
32,448,374
1
0
null
null
null
null
UTF-8
C++
false
false
1,470
cpp
#include "Win32Timer.h" using namespace Engine; using namespace Core; Win32Timer::Win32Timer() { time_start = 0.0; time_lastupdate = 0.0; time_currentelapse = 0.0; time_accumulated = 0.0; time_snapshot = 0.0; firstcall = true; stopped = false; } Win32Timer::~Win32Timer() { } void Win3...
[ "PTrefall@gmail.com@28a56cb3-1e7c-bc60-7718-65c159e1d2df" ]
PTrefall@gmail.com@28a56cb3-1e7c-bc60-7718-65c159e1d2df
9d24729e677f0311a751435709d5dbd9ad1720f9
a04cdfb4a5c138fc10f30984bf6d89b62927cd5e
/basic_content/static/staticMemberFunc.cpp
828323ced8440758eb2f234aaf62b4637b8ffd4e
[]
no_license
shixiangyyy/learnCPP
4e5c4d6fa983f7ab33715c58f2a2afba2418c7e4
b814bb21d20d765c1bd15a71a37769a64ee05f47
refs/heads/master
2023-02-16T00:58:48.078062
2021-01-15T12:49:08
2021-01-15T12:49:08
312,208,179
0
0
null
null
null
null
GB18030
C++
false
false
243
cpp
#include <iostream> using namespace std; class Apple { public: static void printMsg() { cout << "Welcome to Apple!" << endl; } }; int main() { //类的静态成员函数的调用方式 Apple::printMsg(); system("pause"); return 0; }
[ "1351770783@qq.com" ]
1351770783@qq.com
f8f9772deb634026cbfd32161d48ae1e0d85fd70
ef77cc7f1949a8ce3c342648d7ed5e0c5c54c4e3
/auth/src/sesion.h
20ad62747220fddfcd53f4c57efc0fa9512716ef
[]
no_license
maldonadoq/seguridad
06d01977072f4fd8614e2a7e0a7c10afa167d132
bc2a8bca25201c89d81fd08fb41968f9c03ab284
refs/heads/master
2020-03-28T16:28:14.036633
2019-03-13T14:44:32
2019-03-13T14:44:32
148,698,317
0
0
null
null
null
null
UTF-8
C++
false
false
2,675
h
#ifndef _SESION_H_ #define _SESION_H_ #include "user.h" #include "cesar.h" #include "check.h" #include <vector> static std::vector<cuser *> nuser; cuser * find_user(std::string user){ cuser *tuser; for(unsigned i=0; i<nuser.size(); i++){ if(nuser[i]->get_user() == user){ tuser = nuser[i]; return tuser; }...
[ "percy.maldonado@ucsp.edu.pe" ]
percy.maldonado@ucsp.edu.pe
cc8977923dfc8296935706113319d55bb1b31114
2530ccfb6bcac5dd86b6bf603f1c536622917da6
/Yui/WordLadder.cpp
9bb2203e91d6186098ee9dbea89980442441ab12
[]
no_license
Masuzu/Yui
1717928ecfa7351ebd30ac7d4bbd10a60df18d41
7f0dfe2969b37641f3f114416e5455518476b2e9
refs/heads/master
2021-01-15T15:50:01.810190
2016-11-01T13:01:15
2016-11-01T13:01:15
27,937,592
4
1
null
null
null
null
UTF-8
C++
false
false
1,753
cpp
#include <string> #include <unordered_set> #include <vector> #include <queue> // Hash function for strings namespace std { template <> struct hash<std::string> { typedef std::string argument_type; typedef std::size_t result_type; result_type operator()(const std::string &s) const { result_type hash = 0;...
[ "anveena.menethil@gmail.com" ]
anveena.menethil@gmail.com
1703b99eaa747125051ffee611e5e91824399087
e750eb096b6d7f96a61b3a4b5b49bbd838ea5985
/Engine/Source/Core/Graphics/Textures/RenderBuffer.h
e5d4a70cb3701562d158f5e3a1db0d5376a424e6
[]
no_license
Mumsfilibaba/3D-Programming-Project
6dc1342386144bf7965c3b4e4f4308ca6a237eb9
530d2addc753f116492acfb50aa480630bf02c25
refs/heads/master
2022-12-23T09:12:00.490087
2020-09-26T16:39:51
2020-09-26T16:39:51
298,804,291
0
0
null
null
null
null
UTF-8
C++
false
false
280
h
#ifndef RENDERBUFFER_H #define RENDERBUFFER_H #include "..\..\..\Defines.h" namespace Graphics { class Context; class RenderBuffer { public: virtual ~RenderBuffer() {} public: static RenderBuffer* Create(const Context& context) { return nullptr; } }; } #endif
[ "alexander.dahlins@gmail.com" ]
alexander.dahlins@gmail.com
5c3eb03610197ecb2b29651ed65f2d7fb9696a04
ee2c15d82ff596f4ca9eda408f8e096b787f0d48
/lec_19_hash_tables/hashNode.h
3c8b81a19ef34a602a9d52fa2f0032bf822601e5
[]
no_license
sainimohit23/algorithms
1bbfee3bd4d1049b18425bf0d86ecaacd4c43ea0
911986abe015f7518ef169a5866b1058c7d41d4f
refs/heads/master
2022-11-13T17:40:06.128838
2020-06-30T17:35:35
2020-06-30T17:35:35
268,071,412
1
0
null
null
null
null
UTF-8
C++
false
false
320
h
#ifndef _HASHNODE_H_ # define _HASHNODE_H_ #include <cstring> template <typename V> class Hashnode{ public: V value; char * key; Hashnode<V> * next; Hashnode(const char* k,const V& val){ key =new char[std::strlen(k)+1]; strcpy(key,k); value = val; next = 0; } ~Hashnode(){ delete [] key; } }; #endif
[ "sainimohit23@gmail.com" ]
sainimohit23@gmail.com
a94faf56cd8185599e001db2fe80ff4270b4a05f
69c340aed4412535dd6e185ade0d3e2b6147418e
/Arrays/chocolate_distribution(min_diff).cpp
f1ae9fdf658b1dee53731a5d91ca506b05515dc6
[]
no_license
Meaha7/DSA-Marathon
656f1c1505adf24d2a3501a1f216e2fcb9aa3e32
9fb5c4d16a0192cb35f3da5c0a09b67ea2906dbd
refs/heads/main
2023-07-11T07:14:01.912316
2021-08-21T21:25:05
2021-08-21T21:25:05
null
0
0
null
null
null
null
UTF-8
C++
false
false
679
cpp
#include <bits/stdc++.h> #include <iostream> #include<stdlib.h> #include <algorithm> using namespace std; int main() { int t; cin>>t; while(t--) { long int n,i,j,m; cin>>n; long long int a[n]; for(i=0;i<n;i++) { cin>>a[i]; } ...
[ "noreply@github.com" ]
Meaha7.noreply@github.com
fb180388dc93b772351f203082cbad77c7df45a8
da1aa824deb8d7d7416151601e662629765780f0
/Seg3D/src/Core/Algorithms/Interface/NewField/GeneratePointSamplesFromFieldOrWidgetAlg.cc
f898e2c63812378fe612b42a938ca7abedc1588b
[ "MIT" ]
permissive
viscenter/educe
69b5402782a4455af6d4009cb69f0d9a47042095
2dca76e7def3e0620896f155af64f6ba84163d77
refs/heads/master
2021-01-02T22:44:36.560170
2009-06-12T15:16:15
2009-06-12T15:16:15
5,413,435
1
0
null
null
null
null
UTF-8
C++
false
false
2,043
cc
// // For more information, please see: http://software.sci.utah.edu // // The MIT License // // Copyright (c) 2007 Scientific Computing and Imaging Institute, // University of Utah. // // License for the specific language governing rights and limitations under // Permission is hereby granted, free of cha...
[ "ryan.baumann@gmail.com" ]
ryan.baumann@gmail.com
846a634f723425d6e6f9dc06188f773c3e1f5e82
a1861705822bb503dcf4269ffe1122538b17c957
/day04/ex02/main.cpp
61c3e144268edb18f5afa1484d9651fcb89f1740
[]
no_license
iliaselbadaoui/CPP_POOL
05230278a2f43307de62b0aa7f0d805badb37fd6
a2fdb35533a17272a9c460263036796c80b85a0e
refs/heads/main
2023-06-17T08:08:07.275547
2021-07-08T16:49:55
2021-07-08T16:49:55
376,026,999
0
0
null
null
null
null
UTF-8
C++
false
false
457
cpp
#include "Squad.hpp" #include "TacticalMarine.hpp" #include "AssaultTerminator.hpp" int main() { ISpaceMarine* bob = new TacticalMarine; ISpaceMarine* jim = new AssaultTerminator; ISquad* vlc = new Squad(); vlc->push(bob); vlc->push(jim); for (int i = 0; i <= vlc->getCount(); ++i) { ISp...
[ "iliassovich@outlook.com" ]
iliassovich@outlook.com
9b6ee63d333a80b051c8c6b45d375e97f03e43f7
8c419924bc9d0564be30feb13639a118beeb4146
/projects/Midterm 2/src/Utilities/Input.h
e4c148315c34513162afcdb9c3dc5b5ea5a8cffb
[]
no_license
Jonathan-Jay/OTTER_FORK
d199066fea8dde9dd366a520c9964ec9b382e9c5
df0840d05c1b6abddae7c6f0ec18a9eb7d5cfc4b
refs/heads/master
2023-03-19T23:59:10.670106
2021-03-13T04:08:04
2021-03-13T04:08:04
296,718,015
0
0
null
null
null
null
UTF-8
C++
false
false
3,062
h
#pragma once #include <glfw/glfw3.h> //in numerical order https://www.glfw.org/docs/3.3/group__keys.html enum class KEY { //32 SPACE = GLFW_KEY_SPACE, //39 APOSTROPHE = GLFW_KEY_APOSTROPHE, //44 COMMA = GLFW_KEY_COMMA, //47 PERIOD = GLFW_KEY_PERIOD, FSLASH,// = GLFW_KEY_SLASH, ZERO,// = ...
[ "jonathan.jay@ontariotech.net" ]
jonathan.jay@ontariotech.net
32b43e2a1e167d03b5608cd006a6fd1552c20aac
612795cd5be5e2627d3a39290e93ac3f21d4e3b6
/lab3/lab3.cpp
149aadcbca8303968a43fa96387f68bd919b2600
[]
no_license
GlebBel/Labs_OOP
bd33747241290072e1e06693747e958e31230d52
98d28c35c27b8da5bbb23d6e7553ab81aa634024
refs/heads/master
2020-04-13T20:28:50.211286
2019-01-07T17:35:10
2019-01-07T17:35:10
163,430,784
0
0
null
2019-01-25T08:30:39
2018-12-28T16:44:59
C++
UTF-8
C++
false
false
2,603
cpp
#include <iostream> #include <ctime> using namespace std; class Numbers{ protected: double n1; double n2; public: virtual void add() = 0; virtual void minus()=0; virtual void mult()=0; virtual void dev()=0; }; class Integers:public Numbers{ public: Integers(int newN1, int newN2...
[ "gleb.vajnoe@gmail.com" ]
gleb.vajnoe@gmail.com