blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 3 264 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 5 140 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 905
values | visit_date timestamp[us]date 2015-08-09 11:21:18 2023-09-06 10:45:07 | revision_date timestamp[us]date 1997-09-14 05:04:47 2023-09-17 19:19:19 | committer_date timestamp[us]date 1997-09-14 05:04:47 2023-09-06 06:22:19 | github_id int64 3.89k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 22
values | gha_event_created_at timestamp[us]date 2012-06-07 00:51:45 2023-09-14 21:58:39 ⌀ | gha_created_at timestamp[us]date 2008-03-27 23:40:48 2023-08-21 23:17:38 ⌀ | gha_language stringclasses 141
values | src_encoding stringclasses 34
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 3 10.4M | extension stringclasses 115
values | content stringlengths 3 10.4M | authors listlengths 1 1 | author_id stringlengths 0 158 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
75c90c632d83b0a761454ef7f19dbbc89bf87b5e | 93fbf65a76bbeb5d8e915c14e5601ae363b3057f | /5th sem DAA Lab/BucketSort.cpp | 0b14897285cd16940e1a31104dc5398d98ccbc19 | [] | no_license | sauravjaiswa/Coding-Problems | fd864a7678a961a422902eef42a29218cdd2367f | cb978f90d7dcaec75af84cba05d141fdf4f243a0 | refs/heads/master | 2023-04-14T11:34:03.138424 | 2021-03-25T17:46:47 | 2021-03-25T17:46:47 | 309,085,423 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 741 | cpp | //Bucket Sort
#include<bits/stdc++.h>
using namespace std;
void bucketSort(float a[],int n){
//cout<<n<<"\n";
int i,j,key,ind;
priority_queue<float, vector<float>, greater<float> > li[n];
for(i=0;i<n;i++)
{
key=n*a[i];
li[key].push(a[i]);
}
ind=0;
for(i=0;i<n;i++){
... | [
"41826172+sauravjaiswa@users.noreply.github.com"
] | 41826172+sauravjaiswa@users.noreply.github.com |
3d70a9cfa44987c8454ee2fe5f61b0449cede8fd | e9facd1e741f8142a12ba31c0bdb31a36dadeb44 | /src/swifttx.h | 68eea2c433b9e53ba7bfb85f6841f02502e8ed96 | [
"MIT"
] | permissive | calypsodevs/seocoin | 72c227af2a289c8a9b20dc5cdbf536ba52d97a1a | 54d07145016df9c965efe94d7158750342fb5116 | refs/heads/master | 2020-04-27T08:08:19.773173 | 2019-03-11T22:23:56 | 2019-03-11T22:23:56 | 174,160,176 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,877 | h | // Copyright (c) 2009-2012 The Dash developers
// Copyright (c) 2015-2018 The SEOCOIN developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef SWIFTTX_H
#define SWIFTTX_H
#include "base58.h"
#include "key.h"
#incl... | [
"calypsodevs@gmail.com"
] | calypsodevs@gmail.com |
3f8e98b7ca66a482cc60fbe888e338ad4b4ee50c | dca653bb975528bd1b8ab2547f6ef4f48e15b7b7 | /tags/wxPy-2.9.5.0/src/msw/richtooltip.cpp | 9a50ab2271b172b3e5932505f7cd5c849f35a1dd | [] | no_license | czxxjtu/wxPython-1 | 51ca2f62ff6c01722e50742d1813f4be378c0517 | 6a7473c258ea4105f44e31d140ea5c0ae6bc46d8 | refs/heads/master | 2021-01-15T12:09:59.328778 | 2015-01-05T20:55:10 | 2015-01-05T20:55:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,029 | cpp | ///////////////////////////////////////////////////////////////////////////////
// Name: src/msw/richtooltip.cpp
// Purpose: Native MSW implementation of wxRichToolTip.
// Author: Vadim Zeitlin
// Created: 2011-10-18
// RCS-ID: $Id$
// Copyright: (c) 2011 Vadim Zeitlin <vadim@wxwidgets.org>
/... | [
"RD@c3d73ce0-8a6f-49c7-b76d-6d57e0e08775"
] | RD@c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 |
2f03fdc89a0fdb8b4c7c9d06b12c633ee71b7e86 | c6508f10a5651f599520518b206b47e997e4c170 | /yui/maxDepthNode.cpp | 7779345748910035ee68dd68dcc1ef57b74ef549 | [] | no_license | rootid/prog.channel | 892dc4abf883cd43e19431956613f123e21b51be | 427ddd6fe15d3e0f7ab23e7bfd48b4a9364be5ef | refs/heads/master | 2020-04-09T18:25:25.459281 | 2015-07-13T21:51:31 | 2015-07-13T21:51:31 | 29,564,166 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 336 | cpp | #include<iostream>
using namespace std;
int maxDepthNode (BTNode* root,int level) {
if (!root) {
return 0;
}
if (root->left == NULL && root->right == NULL && (level &1)) {
return level;
}
return max (maxDepthNode (root->left,level+1) ,maxDepthNode (root->right,level+1));
}
i... | [
"vsinhsawant@gmail.com"
] | vsinhsawant@gmail.com |
ec6d706774adcc6b6b5dc34214702d61fe584a0f | 173eb2bd5273ce6b92f796f5f667b5a26e0ef81c | /GameX/ResourceHolder.h | 1c8ca56a46b0b9e8b414cfb0d398784954939a04 | [] | no_license | dheerajsuthar/gamex | 9020f64113b0c24d7ea50de9f79bb2f887c283ef | f52240304be7f69b624a1c9666a9c830ea00b284 | refs/heads/master | 2020-03-27T20:53:38.634922 | 2018-09-02T16:04:41 | 2018-09-02T16:04:41 | 147,100,632 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,071 | h | #pragma once
#include <map>
#include <memory>
#include <assert.h>
#include <SFML/Graphics.hpp>
#include "Textures.h"
template<class Resource, class Identifier>
class ResourceHolder {
public:
void load(Identifier id, const std::string &filePath) {
std::unique_ptr<Resource> texture(new Resource());
if (!texture->loa... | [
"anjisharma1456@gmail.com"
] | anjisharma1456@gmail.com |
0f0310699d98aadda90605f638eade2fb5c7bc52 | 3209cd58acf8e6f4f68ebd8b9d859bb2bc7fbed9 | /storage/src/vespa/storage/bucketdb/btree_lockable_map.hpp | c14afce1a7a26f7a34019e5e7c60d4d5fa60d32a | [
"LicenseRef-scancode-unknown-license-reference",
"Apache-2.0"
] | permissive | amahussein/vespa | 0fc374027249215a89cb79029490ae14c819844d | 29d266ae1e5c95e25002b97822953fdd02b1451e | refs/heads/master | 2022-12-16T17:38:21.702706 | 2020-09-23T15:46:28 | 2020-09-23T15:46:28 | 264,194,922 | 0 | 0 | Apache-2.0 | 2020-05-15T13:02:24 | 2020-05-15T13:02:23 | null | UTF-8 | C++ | false | false | 18,991 | hpp | // Copyright Verizon Media. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#include "btree_lockable_map.h"
#include "generic_btree_bucket_database.hpp"
#include <vespa/vespalib/btree/btreebuilder.h>
#include <vespa/vespalib/btree/btreenodeallocator.hpp>
#include <vespa/vespalib/btr... | [
"vekterli@verizonmedia.com"
] | vekterli@verizonmedia.com |
4d62f792d25d34fd1f684b166042dd814f205a0c | a786f46124d2cfe2378a280b6f9cced9a04c2e74 | /Hello_QtGuiApplication/Hello_QtGuiApplication.cpp | 5530393a6211d3d69ffb425d2cbb2d3c0f60c9d6 | [] | no_license | westshellX/QtTestSolution | 416f64da621c14fb656c2fa06ea69393a5392f55 | 91db752b3459334f794e0a07839fa28dab45f84e | refs/heads/master | 2021-07-17T05:55:58.821756 | 2020-06-09T01:49:23 | 2020-06-09T01:49:23 | 167,539,882 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 147 | cpp | #include "Hello_QtGuiApplication.h"
Hello_QtGuiApplication::Hello_QtGuiApplication(QWidget *parent)
: QMainWindow(parent)
{
ui.setupUi(this);
}
| [
"jia.dong.xing@163.com"
] | jia.dong.xing@163.com |
88f6bcc5e0f405a4c58227cdbc5d2d021cbd16b4 | f6ef05957b8e84df6854e5da3fff1d62c37d3ce4 | /Blue-Flame-Engine/Core/BF/Graphics/Animation/Animation.h | 9447276302800cb52bf376680e9b255ce09cd863 | [
"MIT"
] | permissive | mustafa-sibai/Blue-Flame-Engine | 8a69d0b83b07382b7a0d993d7e679f35e6824fd4 | b0e44ccffdd41539fa9075e5d6a2b3c1cc811d96 | refs/heads/master | 2022-11-07T06:21:06.464308 | 2019-08-09T07:43:03 | 2019-08-09T07:43:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 751 | h | #pragma once
#include "BF/Graphics/Animation/Sequence.h"
#include "BF/Graphics/Renderers/SpriteRendererComponents/Sprite.h"
#include "BF/Common.h"
namespace BF
{
namespace Graphics
{
namespace Animation
{
class AnimationSystem;
class BFE_API Animation
{
friend class BF::Graphics::Animation::Animati... | [
"mustafa@vault16software.com"
] | mustafa@vault16software.com |
d0608a5f78108b10aca57173ee28108fc98c8525 | 1bf15d79fce7a474c24f40df334ea2995046edd8 | /src/curses_wrapper.hpp | 258d9f7310b8407cd27ce2300ce55052d81702f7 | [] | no_license | vanill4Sky/so-dpp | d909120b654f4db73b1753a36c4aabc7d8564b2f | 2a334fde4a48c7a5d1db1c061d2d5bb560e33ec9 | refs/heads/master | 2022-11-05T11:22:42.758179 | 2020-06-26T09:51:32 | 2020-06-26T09:51:32 | 252,477,156 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 466 | hpp | #pragma once
#include "utils.hpp"
#include "window.hpp"
namespace dpp
{
class curses_wrapper;
class window;
class curses_wrapper
{
public:
curses_wrapper();
~curses_wrapper();
dpp::window& get_main_window();
dpp::window make_window(utils::vec2<size_t> size, utils::vec2<size_t> pos) const;
stat... | [
"wojtek-s22@wp.pl"
] | wojtek-s22@wp.pl |
848c0f5fef16777440ce5414787d3e657ba7ca92 | 535d1b93fbe05923e2defac0f7c218bd64559e0d | /CarmenJuego/Proyecto/Carmen/bin/windows/obj/src/lime/graphics/opengl/ext/APPLE_texture_max_level.cpp | 9054c7c0530f119381eefe62b65e7b904760ede9 | [] | no_license | XxKarikyXx/ProgVJ1 | af9a9f4d7608912e1b2bab9726266b9f4ef5f44d | d26e335379a001cce21d7cd87461d75169391222 | refs/heads/develop | 2020-03-13T12:44:19.172929 | 2018-06-05T17:58:01 | 2018-06-05T17:58:01 | 131,125,411 | 0 | 0 | null | 2018-05-09T05:12:42 | 2018-04-26T08:35:17 | Haxe | UTF-8 | C++ | false | true | 4,353 | cpp | // Generated by Haxe 3.4.2 (git build master @ 890f8c7)
#include <hxcpp.h>
#ifndef INCLUDED_lime_graphics_opengl_ext_APPLE_texture_max_level
#include <lime/graphics/opengl/ext/APPLE_texture_max_level.h>
#endif
HX_DEFINE_STACK_FRAME(_hx_pos_2b1cc31c43c675de_9_new,"lime.graphics.opengl.ext.APPLE_texture_max_level","new... | [
"kariky@hotmail.es"
] | kariky@hotmail.es |
d6f1aeca71476afacdb9b0aa0dbbea155ef8dc39 | 3e05bafb4d1bceefece23383a9f74d58a099cab1 | /SimpleSideScrollerFramework/src/sssf/graphics/GameGraphics.cpp | 40ef75f1273ad58dd34cd6e635d41d769b0e3991 | [] | no_license | anthony-consoli/Grocery_DASH | 343e692da0fe748282b842bb89d1b431a6d097f8 | 55dfe4d1e0d065698c3158d20dfad51647a401ab | refs/heads/master | 2021-01-10T13:51:55.536722 | 2016-02-24T18:40:02 | 2016-02-24T18:40:02 | 52,465,561 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,476 | cpp | /*
Author: Richard McKenna
Stony Brook University
Computer Science Department
GameGraphics.cpp
See GameGraphics.h for a class description.
*/
#include "sssf_VS\stdafx.h"
#include "sssf\game\Game.h"
#include "sssf\game\IllegalArgumentException.h"
#include "sssf\graphics\GameGraphics.h"
#include "sssf\graphic... | [
"anthony.n.consoli@gmail.com"
] | anthony.n.consoli@gmail.com |
f9ec8b7476dda1703541c3bf54c8984c053dfe85 | 7c37f348d8d8a2305d6bf57ed77fffcedc97433b | /DS-Cpp/Heaps.cpp | 3879d21830b7e8074dc1f57a08b1c6fa7c215449 | [] | no_license | Riya-code/CodeBag | 77d3473e24a2a16c75dfe14bf3b152006c46007e | 95cbccee5c673e774823518ded869e2055f50498 | refs/heads/main | 2023-01-04T07:48:26.335717 | 2020-11-01T15:08:27 | 2020-11-01T15:08:27 | 304,252,052 | 0 | 3 | null | 2020-10-19T15:29:38 | 2020-10-15T07:58:46 | C++ | UTF-8 | C++ | false | false | 174 | cpp | #include <bits/stdc++.h>
using namespace std;
int main()
{
vector<int> v ={3,4,2,8};
make_heap(v.begin(),v.end());
cout<<"max"<<v.front;
return 0;
} | [
"rj220699@gmailcom"
] | rj220699@gmailcom |
78b72ac8d4720dbd0dd0e423bf11414c7a4d4f6e | 74548bcf1629d5251bfabfaf23772ce7fb6079c6 | /targets/mbedk64f/source/tuvtester.cpp | 24f6e3eef1c829fa468fd56e14a705fd53c3f60d | [
"BSD-3-Clause",
"ISC",
"Apache-2.0",
"BSD-2-Clause",
"MIT"
] | permissive | young-mu/libtuv | 14fd8c19ceece90f4a1c8c3bcb85c9f160797cf3 | 3d40e49cd0fe27c4a0f201f807df85e364ddfe60 | refs/heads/master | 2020-06-30T23:42:09.953619 | 2016-11-22T03:49:43 | 2016-11-22T03:49:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,813 | cpp | /* Copyright 2015 Samsung Electronics Co., Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable la... | [
"saehie.park@samsung.com"
] | saehie.park@samsung.com |
e99e06b88de369e956521bfa05c8b032a57e4913 | c906ea930de4fe6e88ec0ac0c26d6882cc2ab964 | /Expense.cpp | 02c417c4813c4f33db0369678edcae3cf7fd388b | [] | no_license | hlodwig1993/PersonalDevelopment | 8b72b429e67864d64faa6ed6b56c843e06cbfdf5 | 01cf825e5dba56ceb88ff5ddda0ebb12983069b2 | refs/heads/main | 2023-02-13T01:29:11.844040 | 2021-01-18T16:30:05 | 2021-01-18T16:30:05 | 328,462,285 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 638 | cpp | #include "Expense.h"
void Expense::setExpenseId(int newExpenseId)
{
if (newExpenseId >= 0)
expenseId = newExpenseId;
}
void Expense::setUserId(int newUserId)
{
userId = newUserId;
}
void Expense::setDate (int newDate)
{
date = newDate;
}
void Expense::setItem (string newItem)
{
item = newItem;
... | [
"daniel.bodurka.programista@gmail.com"
] | daniel.bodurka.programista@gmail.com |
852c05def030060277d15d8587554da423c40195 | 3dee0da8cb704d6bb49f903b76f066a47f8bb72e | /External/Arduino_HTML5_Netpie_Project_Combined/Arduino_HTML5_Netpie_Project_Combined.ino | 88dbc442280de27f91ec5cf618cb3d73249162c8 | [] | no_license | chuannatcha/project | 0e3362580ec93f68afee42649c7b5fc41fc2ffd1 | 3af223cbf3cf90a91491a09f4c8bd8a5c6f98afc | refs/heads/master | 2021-01-21T11:40:08.821218 | 2016-05-25T07:53:52 | 2016-05-25T07:53:52 | 50,983,094 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,697 | ino | #include <AuthClient.h>
#include <MicroGear.h>
#include <MQTTClient.h>
#include <PubSubClient.h>
#include <SHA1.h>
#include <Arduino.h>
#include <SPI.h>
#include <Ethernet.h>
//#include <EEPROM.h>
#include <MicroGear.h>
#include <ArduinoJson.h>
#define APPID "RMUTLLASCS"
#define KEY "S2ezVjJCmVVdPrq"
#define SEC... | [
"chuan_natcha@hotmail.com"
] | chuan_natcha@hotmail.com |
3cec704f3cb939f14b1b153703b0eb8dce7bb1b5 | b6500c85496fdd1caddf0cb3d78a4c7d30ae32be | /CircularList.cpp | bb1028ccd65a3161f95fb843c3cc07d79f9b0adc | [] | no_license | sksam-Encoder/C_PlusPlus_Data_Structure | 285effc585fe08ec674d3d41b8fb6587db861bd7 | 02c94bd8a3b40321ad670c84f6bd65c3994658f1 | refs/heads/master | 2023-07-08T03:25:06.723847 | 2021-08-15T05:31:32 | 2021-08-15T05:31:32 | 395,321,040 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,622 | cpp | #include <iostream>
#include <cstdlib>
using namespace std;
class Node
{
private:
public:
int D;
int key;
Node *n;
Node()
{
key = 0;
D = 0;
n = NULL;
}
Node(int k, int d)
{
this->key = k;
D = d;
n = NULL;
}
};
class CircularList
{
private:
Node *head;
public:
CircularList()
{
head = NU... | [
"sksam87136@gmail.com"
] | sksam87136@gmail.com |
c3e7eb569ca1ce03fb942abb12906ba5d6c3f93e | f3f2c95e4aa5f5ae0823d947be0e0fe7a9aae081 | /lib/Game/include/AI/Game/Activity.hpp | 13a500ddc08537be36b3d238a92155ba06fe4864 | [] | no_license | drblallo/AbominableIntelligence | 401461e141d7110c1c30784011aa6f85fb8baeae | 87457fc04b9f1243777d131a6ceaf6819cdd343a | refs/heads/master | 2023-03-20T07:15:33.157075 | 2021-03-07T15:17:14 | 2021-03-07T15:17:14 | 323,961,744 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 338 | hpp | #pragma once
#include <string>
namespace AI
{
enum class Activity
{
None,
ExtendInfluence,
ReduceInfluence,
BidForOwership,
Attack,
Infect
};
class Map;
class Character;
template<Activity activity>
void resolveActivity(Map& map, Character& character);
std::string activityToString(Activity a);
}... | [
"mo.fioravanti@gmail.com"
] | mo.fioravanti@gmail.com |
b83db8cca86b1f63b059a83c4483feec7c7dfa25 | 5f892ed86801891b5700eba03f8e2771770c7d42 | /Medication.cpp | 4a50763daa603d5a4f84533fbcf5e6455c950e62 | [] | no_license | bamzie/Hospital | c0dc97e5c603e2e4b82d9a0f8c952c89812df6f2 | 03a320f7163051e47e18ff35ab8d7651c2762a3c | refs/heads/master | 2021-01-12T00:19:31.081923 | 2017-01-12T03:25:40 | 2017-01-12T03:25:40 | 78,705,414 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 165 | cpp | //
// Medication.cpp
// Hospital
//
// Created by Brian Morales on 1/10/17.
// Copyright © 2017 Brian Morales. All rights reserved.
//
#include "Medication.h"
| [
"Bamz@Brians-MacBook-Pro.local"
] | Bamz@Brians-MacBook-Pro.local |
d7f2d07721d773c354103fe31d2a8465a67a2f18 | 893c89b7f63c50d4e5708a4f760eed3464eba8df | /menu.cpp | 4c1f9603059f54c2c6e91a757cc2e6d7acb8f31c | [] | no_license | ZiyunZhang1022/2d_game | 3cbd294ca20174037b01f86ca20c70ba80563daa | 920829bb1cf057bd7592ad263b86392484e77db0 | refs/heads/master | 2020-03-14T20:50:18.364979 | 2018-05-02T17:36:18 | 2018-05-02T17:36:18 | 131,783,487 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,137 | cpp | #include<sstream>
#include "menu.h"
Menu::Menu(SDL_Renderer* rend) :
renderer(rend),
gdata(Gamedata::getInstance()),
hudFrame( {gdata.getXmlInt("menu/loc/x"),
gdata.getXmlInt("menu/loc/y"),
gdata.getXmlInt("menu/width"),
gdata.getXmlInt("menu/height")}
),
backColor(... | [
"haojiuzhang@sina.com"
] | haojiuzhang@sina.com |
4c1a639d5feeea3f15c6f3db60824c811b2842b0 | e763b855be527d69fb2e824dfb693d09e59cdacb | /aws-cpp-sdk-greengrass/source/model/CreateLoggerDefinitionVersionRequest.cpp | 6f6445e7036fff94741ac25a3520ffa8961f2e9f | [
"MIT",
"Apache-2.0",
"JSON"
] | permissive | 34234344543255455465/aws-sdk-cpp | 47de2d7bde504273a43c99188b544e497f743850 | 1d04ff6389a0ca24361523c58671ad0b2cde56f5 | refs/heads/master | 2023-06-10T16:15:54.618966 | 2018-05-07T23:32:08 | 2018-05-07T23:32:08 | 132,632,360 | 1 | 0 | Apache-2.0 | 2023-06-01T23:20:47 | 2018-05-08T15:56:35 | C++ | UTF-8 | C++ | false | false | 1,914 | cpp | /*
* Copyright 2010-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" fil... | [
"henso@amazon.com"
] | henso@amazon.com |
7e65bbd05792def66ace787676b7a85418c9c3df | b6585a17a40d458c040d4811b79a42c64f6ce5f2 | /owUtils/SmartItemPtr.h | d2a68edbdf248a84d68365f77501b72ae9ffac8b | [
"Apache-2.0"
] | permissive | Tormund/OpenWow | 1409e22a5a0530b7aab1ec12c318a29718398f2e | 44a554bf3b55b939ba64cd63363fdb64cf28131e | refs/heads/master | 2021-05-04T14:38:51.863688 | 2017-11-19T18:50:38 | 2017-11-19T18:50:38 | 120,205,859 | 2 | 0 | null | 2018-02-04T17:18:33 | 2018-02-04T17:18:33 | null | UTF-8 | C++ | false | false | 832 | h | #pragma once
template< class T >
class SmartItemPtr
{
public:
SmartItemPtr(T *ptr = nullptr) : _ptr(ptr) { AddRef(); }
SmartItemPtr(const SmartItemPtr& smp) : _ptr(smp._ptr) { DelRef(); }
~SmartItemPtr() { subRef(); }
T& operator*() const { return *_ptr; }
T* operator->() const { return _ptr; }
operator T*() c... | [
"alexstenfard@gmail.com"
] | alexstenfard@gmail.com |
2533a9e80f70a388a26a1ad912e00e76d7a22e25 | 1e266cc7646b56527c1b20166e921c8eaaa5df1b | /digital/ucoolib/ucoolib/utils/test/test_crc.cc | 77c4c1ac4e5da462eef22dcc327ce1ddefd39977 | [] | no_license | ricardasgecas/apbteam | 744d3c1daee7f506d38ebe939c3c6c52b7f47cee | 0151eb8959383e0517b264ed53b8ec38b38f6889 | refs/heads/master | 2021-01-17T08:31:28.420347 | 2013-05-11T08:52:42 | 2013-05-11T08:52:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,715 | cc | // ucoolib - Microcontroller object oriented library. {{{
//
// Copyright (C) 2013 Nicolas Schodet
//
// APBTeam:
// Web: http://apbteam.org/
// Email: team AT apbteam DOT org
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License a... | [
"nicolas.schodet@apbteam.org"
] | nicolas.schodet@apbteam.org |
3c73486cd41ab34b31edde9ff76edeb608480284 | de324eaddf1f2e0ad894ea7e57461ae81a1f16a0 | /controlconfig.h | fa61ffb0a1ac61eb5648a5f5be546616403818c0 | [] | no_license | thedeepestreality/HoverKTS | 4d7f895d85d61fe3f1cd451a5389f80d8de69dbd | 6b859f6641e38b08bd05022e2191b0a8b6e8c30c | refs/heads/master | 2021-01-11T05:38:24.912800 | 2016-12-10T22:22:08 | 2016-12-10T22:22:08 | 71,722,249 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 713 | h | #ifndef CONTROLCONFIG_H
#define CONTROLCONFIG_H
#include <QList>
enum ControlType {manual, cnst, pid,data};
class ControlConfig
{
public:
ControlConfig(ControlType _type = manual)
{
type = _type;
}
ControlType getType() const
{
return type;
}
QList<double> getParams() cons... | [
"zetoster@gmail.com"
] | zetoster@gmail.com |
133a197db8e330b6e32f93fae91b080fd530644c | ccae3c9b20fa3c895042a1c7aa0815fd0faec141 | /trunk/TestCode/EMBProject/Plugins/EMBActor/TaskActor.cpp | 85cd4c25ea841d6551661d835f45025a899f4053 | [] | no_license | 15831944/TxUIProject | 7beaf17eb3642bcffba2bbe8eaa7759c935784a0 | e90f3319ad0e57c0012e0e3a7e457851c2c6f0f1 | refs/heads/master | 2021-12-03T10:05:27.018212 | 2014-05-16T08:16:17 | 2014-05-16T08:16:17 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 21,368 | cpp | #include "StdAfx.h"
#include "TaskActor.h"
#include "TxLogManager.h"
#include "io.h"
#include "StrConvert.h"
#include "EMBCommonFunc.h"
#include "TxParamString.h"
#include "EMBDocDef.h"
#include "Util.h"
#include "SystemResourceInfo.h"
using namespace EMB;
//////////////////////////////////////////////////... | [
"tyxwgy@sina.com"
] | tyxwgy@sina.com |
20f28571e3bb1120fc114949a51bec3e7a639504 | e550059ff88cc6929a26b5c45c89049b3e2bc9a1 | /hougeo/ttl/sccs/detail/node_types.hpp | ef5f53df0253de80c03df257cee55a83158c54da | [
"MIT"
] | permissive | all-in-one-of/hougeo | 71c732d17f8a51dcf0fc59cdd3252145e42d6d99 | 7ef770562f0095b59a4ce876976fc5c34a8b5533 | refs/heads/master | 2020-07-08T19:13:52.811747 | 2019-08-31T11:05:23 | 2019-08-31T11:05:23 | 203,753,372 | 0 | 0 | MIT | 2019-08-22T08:51:26 | 2019-08-22T08:50:33 | C++ | UTF-8 | C++ | false | false | 1,954 | hpp | // node_types.hpp
//
// Copyright (c) 2003 Eugene Gladyshev
//
// Permission to copy, use, modify, sell and distribute this software
// is granted provided this copyright notice appears in all copies.
// This software is provided "as is" without express or implied
// warranty, and with no claim as to its suitabil... | [
"dk402538@googlemail.com"
] | dk402538@googlemail.com |
803da335317699f13e1a6dcd3090ae245a298ebc | 5dfa9c1e88824d86b1335434efd4e23e5ab1f328 | /Acm_icpc/C,C++/17000/boj17142.cpp | 78e3f1f7e19b9e6a158837ccb0e10950bdc37504 | [] | no_license | asomeJay/algorithm | 5784b4da33c255211f4792a3609be1e381aa1f79 | d7fe4dfed71d657d5f55763375cef69b5dbb5eff | refs/heads/master | 2021-02-17T06:29:05.860841 | 2020-10-19T16:33:52 | 2020-10-19T16:33:52 | 245,077,259 | 2 | 0 | null | null | null | null | UHC | C++ | false | false | 2,131 | cpp | /* 연구소 3 */
#include <iostream>
#include <vector>
#include <algorithm>
#include <queue>
#include <cstring>
#define pp pair<int,int>
#define MAX 50+1
using namespace std;
void input();
void solve();
int s_of_lab, n_of_virus, ANS = 987654321, empty_space ;
int lab[MAX][MAX];
int dr[4] = { -1,0,1,0 };
int dc[4] = { ... | [
"45970468+asomeJay@users.noreply.github.com"
] | 45970468+asomeJay@users.noreply.github.com |
cb91cd4b911a11f922dde0e67cf183708f858938 | 730d4aea6556ee017d7e0e266ec68b0e48ca6617 | /NetherEngine/Memory Management/Dator.h | 094ab81d6039dffa25ab81669a6bfaa17bf1b999 | [] | no_license | cjcurrie/Necromancer-and-NetherEngine | 3cc1b67c3298f8047497ca44b50cd176b282fe4a | 140d902ccba5bc43c887443a805a6a77a2f9b948 | refs/heads/master | 2020-05-17T04:18:48.401520 | 2013-01-12T14:31:58 | 2013-01-12T14:31:58 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,923 | h | #ifndef NEInc_Dator_h
#define NEInc_Dator_h
#include "NEAssert.h"
#include "BaseDator.h"
#include <sstream>
// This Dator is for unitary objects i.e. not a list or array.
namespace NE
{
template<class T>
class Dator : public BaseDator
{
protected:
T ⌖
... | [
"cj@cjcurrie.net"
] | cj@cjcurrie.net |
39202f36fe8e2d4097da5011fd68686967ed37ac | f3a88e494685387028a7741177567a05552ff900 | /PROG/[Simul] 캐시.cpp | 35be894e76a2d1cccd2b453a6562da2f85e9b8f6 | [] | no_license | DaeunOh/ALGORITHM | 1096c55433905ceee3b30d753e085e7f6d9fdb7d | b3312a0c473e152c501c5950188fa285f6a09638 | refs/heads/master | 2020-12-08T14:56:45.173706 | 2020-07-10T16:20:23 | 2020-07-10T16:20:23 | 233,010,517 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,463 | cpp | // 소요시간: 24분
// 실행시간: 16ms
/*
지도개발팀에서 근무하는 제이지는 지도에서 도시 이름을 검색하면
해당 도시와 관련된 맛집 게시물들을 데이터베이스에서 읽어 보여주는 서비스를 개발하고 있다.
이 프로그램의 테스팅 업무를 담당하고 있는 어피치는 서비스를 오픈하기 전 각 로직에 대한 성능 측정을 수행하였는데,
제이지가 작성한 부분 중 데이터베이스에서 게시물을 가져오는 부분의 실행시간이 너무 오래 걸린다는 것을 알게 되었다.
어피치는 제이지에게 해당 로직을 개선하라고 닦달하기 시작하였고,
제이지는 DB 캐시를 적용하여 성능 개선을 시도하고 있지만 ... | [
"dev.carrotoh@gmail.com"
] | dev.carrotoh@gmail.com |
f2bcf07bc02de8c810afd52383db371bd3c9504c | 55c5199fb25d85b062d3d63a9ff6a55546d980a1 | /uno_smart_light/uno_smart_light.ino | 5eacbc36dbfa701dbec11b9b54644d39123e15d4 | [] | no_license | AndreyGrand/SmartLight | 25f3e6a586d1fdadc521b5adaaddaacacb98bb54 | 337e3547312c2f83bd13960145c681971e530c35 | refs/heads/master | 2020-05-15T11:36:42.644426 | 2019-04-29T06:24:44 | 2019-04-29T06:24:44 | 182,237,188 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,309 | ino | /*
Uno version smart light
Created: 4/12/2019 10:20:22 PM
Author : Gerankin-EIS
*/
#include <avr/io.h>
#define LightSensor_PIN PB2
#define Relay_Light 5//(1<<PB0) //жёлтый
#define LED_B 3//(1<<PB1) //светодиод голубой
//#define LED_G 4//(1<<PB3) //светодиод зелёный
#define PIR 2//датчик движения
#define... | [
"gerankin@mail.ru"
] | gerankin@mail.ru |
36a64e774c576661ebffc72a6af9d8b4f0d4b1c6 | 5cc95b40257628c232f07909f7d23c0af2cfa24f | /FrameWorkDirectX/cParticleQuad.h | 96ec3a9a4b7bea77cf65699cd4a66e456ea72cf8 | [] | no_license | whateveruwant/Borderlands_v.copy | daf39c4e7dfd988117f66a1c64b7ab01b65adc52 | d16ebf9556e755ae3254b8cc2d05a02ffba612ce | refs/heads/master | 2020-03-13T20:57:06.314530 | 2018-05-01T18:46:05 | 2018-05-01T18:46:05 | 131,285,192 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 1,710 | h | #pragma once
#include <vector>
#include "cTransform.h"
//파티클 정점 구조체
typedef struct tagPARTICLEQUAD_VERTEX{
D3DXVECTOR3 pos; //정점 위치
DWORD color; //정점 컬러
D3DXVECTOR2 uv; //정점 UV
enum { FVF = D3DFVF_XYZ | D3DFVF_DIFFUSE | D3DFVF_TEX1 };
}PARTICLEQUAD_VERTEX, *LPPARTICLEQUAD_VERTEX;
typedef std::vector<D3DX... | [
"qkrdbals1630@khu.ac.kr"
] | qkrdbals1630@khu.ac.kr |
a1ba7b603899a2501765d6a90e413d3070df5735 | f231843bc3f91b51a78e8d6908b55d1d96a1c836 | /lib/script/src/AST/Expression/Binary.cpp | e6c6b3bd386f56972b28cdd465bdb3bcd20b7384 | [
"BSD-3-Clause"
] | permissive | astateful/dyplat | 13581c5040d2987e1e8bf45002a623f6c3f5c950 | 37c37c7ee9f55cc2a3abaa0f8ebbde34588d2f44 | refs/heads/master | 2023-03-12T10:16:35.683180 | 2021-03-01T21:14:53 | 2021-03-01T21:14:53 | 343,553,546 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,470 | cpp | #include "AST/Expression/Binary.hpp"
#include "AST/Expression/Variable.hpp"
#include "astateful/script/JIT.hpp"
#include "astateful/script/Context.hpp"
#include <llvm/IR/Module.h>
#include <llvm/IR/IRBuilder.h>
namespace astateful
{
namespace script
{
ASTExpressionBinary::ASTExpressionBinary(
char op,
... | [
"thomas.kovacs@astateful.com"
] | thomas.kovacs@astateful.com |
146e812c7f1cc68b746ba381fba558c1a00e4f32 | 0db3033b016f0aeaeb637538b495cafabf5ee84b | /System/macOS/AppSymbols.cpp | de8868f06ebc82fc0ae2c570dbeb1b09398eb7a0 | [] | no_license | andeha/Pinecone | 5e52dcd4d71f03897d98f3cd109aa4a691ff3369 | 26a2cdac62c082c239d4914c4222fce471db91b4 | refs/heads/master | 2021-05-12T20:10:10.854870 | 2019-11-17T11:04:50 | 2019-11-17T11:04:50 | 115,606,530 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,882 | cpp | //
// AppSymbols.cpp
// Pinecone
//
#include <System/macOS/AppSymbols.h>
#include <Additions/Helpers.h>
#include <fcntl.h>
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <mach-o/loader.h>
#include <mach-o/dyld.h>
#include <mach-o/arch.h>
#include <mach-o/nlist.h>
#include <sys/mman.h>
#include <... | [
"anders.pm.hansson@gmail.com"
] | anders.pm.hansson@gmail.com |
d1698b24a5d260e2fccbdec2b6fad61706d79414 | fa31a3f7b5a0097db7fe480bae4737b57f42090c | /Bloque 13 - Listas/Ejercicio 2 - Calcular suma y promedio en una lista.cpp | f3205d83e06eb363f4b71317b844a9ab7919cc60 | [] | no_license | PaulinoBermudez/Ejercicios-Propuestos-y-Resueltos-en-C | 5e8ee243c1162435abaa766c3ee097495658150d | 1f8d40a35b8cca4ff197c5e77458d1b6a364afd7 | refs/heads/master | 2023-03-10T08:49:06.277163 | 2021-02-26T12:39:13 | 2021-02-26T12:39:13 | 268,096,929 | 0 | 1 | null | null | null | null | ISO-8859-1 | C++ | false | false | 1,904 | cpp | /*Ejercicio 2: Crear una lista que almacene "n" números reales y calcular su suma y promedio.*/
#include<iostream>
#include<conio.h>
using namespace std;
struct Nodo{
float dato;
Nodo *siguiente;
};
void insertarLista(Nodo *&,float);
void mostrarLista(Nodo *);
void calcularSumaPromedio(Nodo *);
int main(){
Nod... | [
"paeste95.pb@gmail.com"
] | paeste95.pb@gmail.com |
2548b4e3fc2a9839351e8a4b5b861795fac65666 | f371b8603d29d2c4c3fb0f50055afd516003f9f8 | /Arduino/analog_state_machine_sensors/analog_state_machine_sensors.ino | 3163c55e09c40c4206a24d23fadcb5c6251b01fb | [
"CC0-1.0"
] | permissive | lulzzz/Sensor-Network | 290ca2318b13a812cd87191cd58e782c0db8fe5b | 872be3aad2f31666a88d8544cabe0066cae2f9c8 | refs/heads/master | 2020-06-24T08:44:46.246110 | 2016-10-19T15:12:29 | 2016-10-19T15:12:29 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,607 | ino | class DripSensor
{
// Class Member Variables
// These are initialized at startup
int sensorPin; // the number of the sensor pin
long DelayTime;
// These maintain the current state
int previousValue; // sensorData used to store the sensor data
int currentValue; // sensorData used to store the sensor... | [
"tiberius.brastaviceanu@gmail.com"
] | tiberius.brastaviceanu@gmail.com |
6a1a31975279119d8b84f614066090d38b1ba3ea | 5bb9fd77d2a88a97e11cf782f821b563ea14bb6b | /samples/03_sdp/2017/05_graphs/graph_test.cpp | 2b0c406411ba85468eb920ae32b298790e53677d | [
"MIT"
] | permissive | stranxter/lecture-notes | d844e3f5453c250cbe299babf0baf5870b6b0ee3 | 44151b4c88a478e8debeb75c002619d2aee6b654 | refs/heads/master | 2023-05-31T17:26:30.929596 | 2023-05-31T12:05:18 | 2023-05-31T12:05:18 | 40,540,330 | 43 | 52 | MIT | 2023-04-21T06:22:42 | 2015-08-11T12:27:38 | TeX | UTF-8 | C++ | false | false | 4,376 | cpp | #include <iostream>
#include <cassert>
#include <set>
#include <string>
#include "graph.cpp"
#include <stack>
#include <map>
#include <queue>
string stringOfLabels (int start,
int end,
const Graph<int,char>& g,
set<int>& visited)
{
if (start == end)
return "";
visited.insert (start)... | [
"kalin.georgiev@gmail.com"
] | kalin.georgiev@gmail.com |
5fe57a0b6f521f330da1efd522981ca3219b2e08 | bf5d6f447b5a4501761dd88d14e5208f85c6876f | /mbed-wavfile/wavfile.cpp | 618a9cb80e7a8f478f17a5fc93dac0eea54a0c35 | [] | no_license | jchuang1977/smeshstudio_privatelibrary | b6947264c30cb819913529b63b4c95527c3e9917 | 52a955aefa49e35ea3497d72556a61c888ef0ba0 | refs/heads/master | 2021-01-22T10:18:08.080733 | 2015-01-24T15:35:27 | 2015-01-24T15:35:27 | 29,050,912 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 33,897 | cpp | /**
* @file wavfile.cpp
* @author Shinichiro Nakamura
*/
/*
* ===============================================================
* Tiny WAV I/O Module
* Version 0.0.1
* ===============================================================
* Copyright (c) 2011-2012 Shinichiro Nakamura
*
* Permission is h... | [
"jchuang1977@gmail.com"
] | jchuang1977@gmail.com |
fa0c8ecc9a3ba80ebd1fca3dddda3736f464a00c | 7126e5dcfdf2bfe42aeb34f90d8249d41e9b879e | /src/Theme_ex.cpp | d5dabd672729d38c8383321cd9868a5ea85ff5be | [
"MIT"
] | permissive | xinsuinizhuan/ExDUIR | 45b8d9753a0328d55cefb870caddf355d3d5eb3d | b1d9b92d153c460ef5770c0efa455fa5deb70212 | refs/heads/master | 2023-08-01T02:08:46.687012 | 2021-09-07T13:08:12 | 2021-09-07T13:08:12 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 18,584 | cpp | #include "Theme_ex.h"
BOOL _theme_unpack(LPVOID lpData, size_t dwDataLen, LPVOID lpKey, size_t dwKeyLen, std::vector<INT> *atomFiles, std::vector<LPVOID> *lpFiles, std::vector<UCHAR> *dwFileProps)
{
LPVOID retPtr = nullptr;
size_t retLen = 0;
BOOL ret = FALSE;
_bin_uncompress(lpData, dwDataLen, 0, 0, &... | [
"313620225@qq.com"
] | 313620225@qq.com |
2984dcbf7c6687ac84a0083c906757f7da7e7bb6 | ac2c7256e7b2f65a214ed92becf208283c6a34c8 | /[BinaryTree]Check a binary tree is uniform.cpp | 5ae1c513c3d8708c74abad4c781f238fb65ef3ce | [
"MIT"
] | permissive | alchemz/mission-peace | 6681e945c81b6f2be5e144aa86986f162f8f6faf | 59a44b1e7a8fdfdf1f6743c0e6965b49e5291326 | refs/heads/master | 2020-03-15T23:07:34.260933 | 2018-06-29T15:44:39 | 2018-06-29T15:44:39 | 132,387,519 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 974 | cpp | // C++ program to find count of single valued subtrees
#include<bits/stdc++.h>
using namespace std;
struct Node
{
int data;
struct Node* left, *right;
};
Node* newNode(int data)
{
Node* temp = new Node;
temp->data = data;
temp->left = temp->right = NULL;
return (temp);
}
bool is_uniform(Node *root){
if(ro... | [
"alchemxz@gmail.com"
] | alchemxz@gmail.com |
7e2b9652c7ebd0be3a99436a8bea3b03877285bd | 46fc43af262ad8e119a3d5b35c1b20bebb301b48 | /lib/log/Log.cpp | 7600e9e9132ce39747024446a650dde54ac7cf86 | [] | no_license | a-castellano/vpn_per_hours_orchestrator_VPN_SERVER_MANAGER | df2459fa43c219e3e60d1fc4b3bae2c077f0c309 | 336cb722d2c41bfb7d8fef3134fda3499797c53f | refs/heads/master | 2021-04-15T12:05:11.806775 | 2016-10-06T16:04:58 | 2016-10-06T16:04:58 | 126,217,251 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,658 | cpp | // Log.cpp
// Álvaro Castellano Vela
#include "Log.h"
namespace logging = boost::log;
namespace sinks = boost::log::sinks;
namespace src = boost::log::sources;
namespace expr = boost::log::expressions;
namespace attrs = boost::log::attributes;
namespace keywords = boost::log::keywords;
namespace dhlogging {
Logger:... | [
"alvaro.castellano.vela@gmail.com"
] | alvaro.castellano.vela@gmail.com |
3a1c9e360a777f517c7cd304edd646c0a5c0a112 | e7d7377b40fc431ef2cf8dfa259a611f6acc2c67 | /SampleDump/Cpp/SDK/BP_WorkersGloves_classes.h | 8a68064a4f70533f9ef296cfd813643d0282fe67 | [] | no_license | liner0211/uSDK_Generator | ac90211e005c5f744e4f718cd5c8118aab3f8a18 | 9ef122944349d2bad7c0abe5b183534f5b189bd7 | refs/heads/main | 2023-09-02T16:37:22.932365 | 2021-10-31T17:38:03 | 2021-10-31T17:38:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 736 | h | #pragma once
// Name: Mordhau, Version: Patch23
/*!!DEFINE!!*/
/*!!HELPER_DEF!!*/
/*!!HELPER_INC!!*/
#ifdef _MSC_VER
#pragma pack(push, 0x01)
#endif
namespace CG
{
//---------------------------------------------------------------------------
// Classes
//--------------------------------------------------------... | [
"talon_hq@outlook.com"
] | talon_hq@outlook.com |
a57ffeaaba44c30e18e5ca9435926e49073abe24 | 48298469e7d828ab1aa54a419701c23afeeadce1 | /Client/SceneEdit/src/ui/res/SceneInfo_wdr.cpp | 48a0639d4a0288f7bb06c98629cef67bd46239ee | [] | no_license | brock7/TianLong | c39fccb3fd2aa0ad42c9c4183d67a843ab2ce9c2 | 8142f9ccb118e76a5cd0a8b168bcf25e58e0be8b | refs/heads/master | 2021-01-10T14:19:19.850859 | 2016-02-20T13:58:55 | 2016-02-20T13:58:55 | 52,155,393 | 5 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 1,768 | cpp | //------------------------------------------------------------------------------
// Source code generated by wxDesigner from file: SceneInfo.wdr
// Do not modify this file, all changes will be lost!
//------------------------------------------------------------------------------
#if defined(__GNUG__) && !defined(NO_GC... | [
"xiaowave@gmail.com"
] | xiaowave@gmail.com |
9aed1b2cfa4cbb0806d1b6b72af9f61b24d570aa | 4f4ddc396fa1dfc874780895ca9b8ee4f7714222 | /src/xtp/Source/CommandBars/XTPControlComboBox.h | b44d1c99095a89537c03597b71b2911f13237207 | [] | no_license | UtsavChokshiCNU/GenSym-Test2 | 3214145186d032a6b5a7486003cef40787786ba0 | a48c806df56297019cfcb22862dd64609fdd8711 | refs/heads/master | 2021-01-23T23:14:03.559378 | 2017-09-09T14:20:09 | 2017-09-09T14:20:09 | 102,960,203 | 3 | 5 | null | null | null | null | UTF-8 | C++ | false | false | 52,225 | h | // XTPControlComboBox.h : interface for the CXTPControlComboBox class.
//
// This file is a part of the XTREME COMMANDBARS MFC class library.
// (c)1998-2011 Codejock Software, All Rights Reserved.
//
// THIS SOURCE FILE IS THE PROPERTY OF CODEJOCK SOFTWARE AND IS NOT TO BE
// RE-DISTRIBUTED BY ANY MEANS WHATSOEV... | [
"utsavchokshi@Utsavs-MacBook-Pro.local"
] | utsavchokshi@Utsavs-MacBook-Pro.local |
8bc11014e79a427d6a94bdade83217b7e7b0093c | 08b8cf38e1936e8cec27f84af0d3727321cec9c4 | /data/crawl/wget/hunk_19.cpp | 098ac1756c91a989ea551c52e04197e0e8e90b1e | [] | no_license | ccdxc/logSurvey | eaf28e9c2d6307140b17986d5c05106d1fd8e943 | 6b80226e1667c1e0760ab39160893ee19b0e9fb1 | refs/heads/master | 2022-01-07T21:31:55.446839 | 2018-04-21T14:12:43 | 2018-04-21T14:12:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 410 | cpp | &dt, opt.recursive, iri, true);
}
- if (opt.delete_after && filename != NULL && file_exists_p (filename))
+ if (opt.delete_after && filename != NULL && file_exists_p (filename, NULL))
{
DEBUGP (("Removing file due to --delete-afte... | [
"993273596@qq.com"
] | 993273596@qq.com |
a6a057c2db91a46b6f8744050fec5c26f5c9e0d9 | 7f2e7edff293b0277137516a4f0b88021a63f1e3 | /Common/FAD/TinyFadET/tfadlog.h | 2961f153004dc44107e6778a04be8031c59532e7 | [] | no_license | labmec/neopz | 3c8da1844164765606a9d4890597947c1fadbb41 | 4c6b6d277ce097b97bfc8dea1b6725860f4fe05a | refs/heads/main | 2023-08-30T22:35:13.662951 | 2022-03-18T19:57:30 | 2022-03-18T19:57:30 | 33,341,900 | 48 | 17 | null | 2023-09-13T19:46:34 | 2015-04-03T02:18:47 | C++ | UTF-8 | C++ | false | false | 4,785 | h | // Emacs will be in -*- Mode: c++ -*-
//
// ************ DO NOT REMOVE THIS BANNER ****************
//
// Nicolas Di Cesare <Nicolas.Dicesare@ann.jussieu.fr>
// http://www.ann.jussieu.fr/~dicesare
//
// CEMRACS 98 : C++ courses,
// templates : new C++ techniques
// for scientific compu... | [
"nathan.sh@gmail.com@a693bd38-532a-e730-8659-88a8c11ee2f8"
] | nathan.sh@gmail.com@a693bd38-532a-e730-8659-88a8c11ee2f8 |
62e235a1d753a44b5b3b8fb10365372fc8fcfebd | 9c364d442e6e2e693e4244247786fc68dddf37c0 | /SoftwareEngineering/PAPS/aps/ImplementationModel/src/Transaction.cpp | c32da7422fad6c7ce5dc096cde3c25ebfa7caea5 | [] | no_license | zhangysh1995/Blog | d578022268a460e7fe2753364ed2194ec8fe605b | 46e821771a1e531922f23adf3f347b6702f36c96 | refs/heads/master | 2021-01-10T01:45:51.767378 | 2017-04-20T08:18:18 | 2017-04-20T08:18:18 | 50,762,457 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 392 | cpp | #include "Transaction.h"
int Transaction::transactionCount_ = 0;
Transaction::Transaction(int memberID){
memberID_ = memberID;
total_ = 0;
transactionID_ = ++transactionCount_;
endTime_ = startTime_ = std::time(nullptr);
}
double Transaction::getTotal(){
endTime_ = std::time(nullptr);
//calculate total and retu... | [
"zhangysh1995@gmail.com"
] | zhangysh1995@gmail.com |
89faa466886ae5b156606650f997174175dec239 | 8c6407bc6ee7fa5c4563441f3a3fb1c2289d5a36 | /tesitingnlearning/main.cpp | f49b6a267f0edf7357f780a3bfdc5026ddd149e6 | [] | no_license | SvenDeadlySin/RPGgame | 32eb81c00cf883643a7e7ce31aee3ce4c21748a3 | 76df1fa62e02130168e0815c600a83ec7c6c2a89 | refs/heads/master | 2020-09-26T06:22:30.601856 | 2019-12-05T20:54:55 | 2019-12-05T20:54:55 | 226,187,214 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 133 | cpp | #include "Game.h"
int main() {
srand(time(NULL));
Game game;
while (game.getPlaying())
{
game.mainMenu();
}
return 0;
} | [
"fallingindisney@gmail.com"
] | fallingindisney@gmail.com |
b966b12223265f608b4ebbc2c93c91b3c06d4234 | bb6ebff7a7f6140903d37905c350954ff6599091 | /third_party/libaddressinput/chromium/cpp/test/fallback_data_store_test.cc | a7266f41fc0025929c4f551329fa4bc4b91cc70a | [
"LicenseRef-scancode-unknown-license-reference",
"Apache-2.0",
"BSD-3-Clause",
"LGPL-2.0-or-later",
"GPL-1.0-or-later",
"MIT"
] | permissive | PDi-Communication-Systems-Inc/lollipop_external_chromium_org | faa6602bd6bfd9b9b6277ce3cd16df0bd26e7f2f | ccadf4e63dd34be157281f53fe213d09a8c66d2c | refs/heads/master | 2022-12-23T18:07:04.568931 | 2016-04-11T16:03:36 | 2016-04-11T16:03:36 | 53,677,925 | 0 | 1 | BSD-3-Clause | 2022-12-09T23:46:46 | 2016-03-11T15:49:07 | C++ | UTF-8 | C++ | false | false | 1,015 | cc | // Copyright (C) 2014 Google Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | [
"mrobbeloth@pdiarm.com"
] | mrobbeloth@pdiarm.com |
4dc545c3f6dccdaf77b9fae52b92230489917de8 | 7b49d69735eee6602ce328cfcb719024446fe2bb | /oneDim/linearizedEquations/init/VOLFLUX | 542b856b657473742dc2740cfd2dbb865ba0097a | [] | no_license | statisdisc/partitionedShallowWater | 7ced6febdae948b222e18039ad622b5d7f0813a4 | 52422a24a9e3cdbe7c0f8f28c2e8d3f3e1257ca7 | refs/heads/master | 2021-06-22T16:33:21.060529 | 2020-08-21T08:39:11 | 2020-08-21T08:39:11 | 101,410,034 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,129 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: dev |
... | [
"will.a.m@hotmail.co.uk"
] | will.a.m@hotmail.co.uk | |
efad715d3e6119fab282b398c61e14ecdd4b4125 | 51ba370cc44c481468068b7d79828fb7e2c72550 | /parser/channel.h | 7b140f024447db381f02b04ac6275631d75bf655 | [] | no_license | Nayaco/RSSReader | 21127bd5a49e8b21b3fed6d4164dda0323b6c5dd | 2cc09867dc26be1c8a4246db35270a5c178ab421 | refs/heads/master | 2020-06-16T07:41:50.406960 | 2019-07-17T05:01:50 | 2019-07-17T05:01:50 | 195,514,849 | 2 | 2 | null | 2019-07-15T06:19:22 | 2019-07-06T08:09:48 | C++ | UTF-8 | C++ | false | false | 1,110 | h | #ifndef CHANNEL_H
#define CHANNEL_H
#include "common/common.h"
#include "common/property.h"
#include "item.h"
using Items = QVector<shared_ptr<Item>>;
class Channel: public Property {
public:
Channel();
Channel(const Channel& chan) = delete;
~Channel()=default;
virtual QString Name() override { retu... | [
"nyancochan@outlook.com"
] | nyancochan@outlook.com |
68c2798864441aad43b07ae53c0703729974d39a | 255df7521e943186005d9fe58b4e33277b83d67b | /lib/DebugInfo/CodeView/DebugLinesSubsection.cpp | 2fce06ca2a17c499ce194c8dcc06cc5c8f6f49fe | [
"NCSA"
] | permissive | navidR/Parallel-IR | ad471c4dc2602947634f71cf4978f36d9ccacedb | c5efa15995f0987fdf4d486aaf49abe326920575 | refs/heads/master | 2020-03-29T10:45:17.382093 | 2018-09-21T21:48:01 | 2018-09-21T21:48:01 | 149,821,232 | 1 | 0 | null | 2018-09-21T21:41:58 | 2018-09-21T21:41:57 | null | UTF-8 | C++ | false | false | 5,568 | cpp | //===- DebugLinesSubsection.cpp -------------------------------*- C++-*-===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------... | [
"zturner@google.com"
] | zturner@google.com |
e2bd1cc4daca2dc94b7993868116bc7f53ecadf1 | 9d17725610c2a402da952fd0ee86a6f83cdf54ac | /src/modules/event_info/EventConvolution.h | 55316afea3c22abc8167e10285fe4ef4613913f7 | [] | no_license | v154c1/libyuri | c77350bce94ffde0e77d7d08bc7ebc209a480813 | ad986a4327513d6b4639b435bdde58f8cca41ea0 | refs/heads/2.8.x | 2023-08-31T09:01:52.309119 | 2023-08-25T05:18:01 | 2023-08-25T05:18:01 | 53,398,918 | 7 | 3 | null | 2023-03-18T09:19:09 | 2016-03-08T09:18:01 | C++ | UTF-8 | C++ | false | false | 1,441 | h | /*!
* @file EventConvolution.h
* @author Zdenek Travnicek <v154c1@gmail.com>
* @date 18.08.2020
* @copyright Institute of Intermedia, CTU in Prague, 2020
* Distributed under modified BSD Licence, details in file doc/LICENSE
*
*/
#ifndef EVENTCONVOLUTION_H_
#define EVENTCONVOLUTION_H_
#include "yuri/c... | [
"v154c1@gmail.com"
] | v154c1@gmail.com |
cda6dd17e1ef85e488f623ca2584d70f85ff7d60 | ce98811e47e83d8d13e35001bd043b20e220816e | /souffle_doop/souffle/src/profile/ProgramRun.h | 685bee9864487c5856c42fa9e7e6ec02307795a7 | [] | no_license | souffle-lang/ppopp19 | cf7e08385f30f044473dc67cac99aa3ab34d0d26 | 6d752f942b56a869b4c5009f7f22ca0d1925a85e | refs/heads/master | 2020-04-15T04:38:35.069712 | 2019-01-12T01:32:56 | 2019-01-12T01:32:56 | 164,390,502 | 6 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,578 | h | /*
* Souffle - A Datalog Compiler
* Copyright (c) 2016, The Souffle Developers. All rights reserved
* Licensed under the Universal Permissive License v 1.0 as shown at:
* - https://opensource.org/licenses/UPL
* - <souffle root>/licenses/SOUFFLE-UPL.txt
*/
#pragma once
#include "Relation.h"
#include "StringUtils... | [
"dzha3983@uni.sydney.edu.au"
] | dzha3983@uni.sydney.edu.au |
8d704ac6e7ce9b6240898af20476a2bbcbd4b8f8 | 1cd01ed5fd01f59e1bf593076e1f1bf0f350dafb | /week-4/Rational/rational_io.cpp | a699cb6e91a64b30123b177996eafcea4aed5832 | [] | no_license | t-denisova/white-belt | 63fcd372c5931464666dbaa2b0a74c4d0bf58512 | d3bce8115b23de9a9a1975c245fae46238e47656 | refs/heads/master | 2020-03-25T16:56:39.597665 | 2018-09-02T16:42:24 | 2018-09-02T16:42:24 | 143,955,327 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,821 | cpp | #include <iostream>
#include <sstream>
#include <string>
using namespace std;
int FindDevider (int x, int y) {
while (x > 0 && y > 0) {
if (x > y) {
x %= y;
} else {
y %= x;
}
}
return x + y;
}
class Rational {
public:
Rational() {
num = 0;
... | [
"hi.tatiana.denisova@gmail.com"
] | hi.tatiana.denisova@gmail.com |
cec91e486941dece10e018762f4f474638c3f073 | 654d123ef26613953214808cb889ae2f666ec7f3 | /Qt/Animasi/Animasi/mainwindow.cpp | 7293c1a83e0d8ff0c2fd87ce88bfd543450b8541 | [] | no_license | bsnugroho7/Project100Day | 1dbf2b3f36d0cb11f616a3374881ee74c6f13e07 | 8db2cc62f25a50410396da5b8998d7d0913b5eab | refs/heads/master | 2021-02-11T16:02:05.317905 | 2020-04-14T14:04:48 | 2020-04-14T14:04:48 | 244,507,463 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 283 | cpp | #include "mainwindow.h"
#include "ui_mainwindow.h"
MainWindow::MainWindow(QWidget *parent)
: QMainWindow(parent)
, ui(new Ui::MainWindow)
{
ui->setupUi(this);
}
MainWindow::~MainWindow()
{
delete ui;
}
void MainWindow::on_sliderAir_sliderMoved(int position)
{
}
| [
"bagus.s.n@mail.ugm.ac.id"
] | bagus.s.n@mail.ugm.ac.id |
b20b6d552122cde863a95e3dc8da2f4f2e38ef27 | a35db8c5546f482d9c72ec0567ecc55a52b44d67 | /Contains Duplicate.cpp | ab7ff92859c3fc44f4c15f6c876623e8452a7ebb | [] | no_license | Suryansh555/CPP | bb8e9e88c519f9b45b9d99d16185ac936744d5c8 | 4a77bb7d19e270e462a110fe0b6bb7df2156f168 | refs/heads/main | 2023-08-12T16:31:07.777148 | 2021-10-11T16:49:36 | 2021-10-11T16:49:36 | 305,274,327 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 315 | cpp | class Solution {
public:
bool containsDuplicate(vector<int>& nums){
map<int,int> mp ;
int size = nums.size();
for(int i = 0 ; i < size ; i++){
mp[nums[i]]++;
if(mp[nums[i]] >= 2){
return true;
}
}
return false;
}
}; | [
"suryansh555@yahoo.in"
] | suryansh555@yahoo.in |
e9a13ffbf6d9a6993eb87b7109b4d8f9267aa471 | 7e14945b2dd27334ddec322d67953b913ddedf46 | /regionals/hangzhou-invitational-2013/A.cpp | 10f7eccdaccc09dcbb7c694ef3bedcad6d9fa861 | [] | no_license | szefany/acm-icpc | 63653dfc724eab98b33bde54416ad84eb5e2f4f6 | 86ccd854be545cd67bc2850e22337d3fe9f4701f | refs/heads/master | 2021-06-02T02:02:10.251126 | 2019-09-28T13:24:22 | 2019-09-28T13:24:22 | 7,666,139 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,662 | cpp | #include <cstdio>
#include <cstring>
const int N = 200 + 10;
double dp[N], buffer[N];
int count[N];
int n, m, l, r;
struct Matrix {
static const int N = 200 + 10;
double element[N][N];
int n;
Matrix(int size = 0) {
n = size;
memset(element, 0, sizeof(element));
}
double* oper... | [
"szefany@gmail.com"
] | szefany@gmail.com |
6963f0396a7c4183fded59921564fcf30bbcee88 | f8fa13110772c98c25cafaeb9a707ff190fba620 | /GWTPhotoAlbum/albumcreator/quickalbum/main_quickalbum.cpp | 8d1173349dc01a2d351423b11fa06f37ef7d25a2 | [
"CC-BY-3.0",
"Apache-2.0",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | jecki/gwtphotoalbum | 3abc105167a21f390358af806f8188c288378a39 | fa7f8720011f007ce956e4d8a18977c56f9f954b | refs/heads/master | 2021-01-18T22:26:48.853489 | 2016-03-30T05:26:22 | 2016-03-30T05:26:22 | 33,084,019 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,157 | cpp | /*
* Copyright 2011 Eckhart Arnold (eckhart_arnold@hotmail.com).
*
* 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... | [
"eckhart_arnold@yahoo.de"
] | eckhart_arnold@yahoo.de |
f306a07619a09539e0116503433067063d57ffe0 | fe2362eda423bb3574b651c21ebacbd6a1a9ac2a | /VTK-7.1.1/Filters/Sources/vtkSelectionSource.h | 98da63be06280b8a405d9a3c0306f8beb3c2a0e7 | [
"BSD-3-Clause"
] | permissive | likewatchk/python-pcl | 1c09c6b3e9de0acbe2f88ac36a858fe4b27cfaaf | 2a66797719f1b5af7d6a0d0893f697b3786db461 | refs/heads/master | 2023-01-04T06:17:19.652585 | 2020-10-15T21:26:58 | 2020-10-15T21:26:58 | 262,235,188 | 0 | 0 | NOASSERTION | 2020-05-08T05:29:02 | 2020-05-08T05:29:01 | null | UTF-8 | C++ | false | false | 5,119 | h | /*=========================================================================
Program: Visualization Toolkit
Module: vtkSelectionSource.h
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
All rights reserved.
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
This software... | [
"likewatchk@gmail.com"
] | likewatchk@gmail.com |
c18268280509184bdd2b1573ddf58a24668434ad | 672db28ef97cc07f5acad5c44046e528e217f020 | /proj.winrt/App.xaml.h | 27abde344b62f0d8c8a07874b340e5b2e3f3c34d | [] | no_license | devuseful/DoubePazzleGame | 48c7b0f69bc10ea57c5d0a3f60718d49b40be1be | 9627df7cd24213d3e336c64553cc1f8b14765650 | refs/heads/master | 2020-12-25T14:34:14.891749 | 2016-08-21T09:02:40 | 2016-08-21T09:02:40 | 66,189,408 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,850 | h | /****************************************************************************
Copyright (c) 2010-2013 cocos2d-x.org
Copyright (c) Microsoft Open Technologies, Inc.
http://www.cocos2d-x.org
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files... | [
"useful@bk.ru"
] | useful@bk.ru |
06973f88ecffe2b25083ee7ae4f62abe23b8c595 | 27d4218f11d06eaf3204315fe01bba3937b03a61 | /jmunoz80-TestCollatz.c++ | 4cfc20041c24ab7cbd5a7b677094d67771e8b6ab | [] | no_license | cs371p-fall-2013/cs371p-collatz-tests | 17dc3e3215e55171a7f26c2cac1b0b060cc09a6a | 9ec6f7978d67a91bf3901488b82dbf9e2dfc17c2 | refs/heads/master | 2016-08-04T08:44:39.936027 | 2013-09-14T00:31:46 | 2013-09-14T00:31:46 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,775 | #include <iostream>
#include <sstream>
#include <string>
#include "gtest/gtest.h"
#include "Collatz.h"
// -----------
// TestCollatz
// -----------
// ----
// read
// ----
TEST(Collatz, read) {
std::istringstream r("1 10\n");
int i;
int j;
const bool b = collatz_read(r, i, j);
ASSERT_TRUE(b ==... | [
"Jmunoz802@gmail.com"
] | Jmunoz802@gmail.com | |
4b131262a00e5c5945246832b7d855d118ef72a7 | 1d9e9d4f416607453e7c91c9dc45205bd7cb9e14 | /iqc5/instrument/SerialPortDecode/chemiluminescence/zsdec_centaur/centaursetup.h | 8f7576cd78f0018753b420a7ba02e496e544460f | [] | no_license | allan1234569/iqc5 | 5542f2efe3e6eae0a59110ec2863d9beeef8c1cf | 8a026564db0128005f90d3f7ca56787a7bcbbad3 | refs/heads/master | 2020-03-29T09:17:13.715443 | 2018-09-21T10:56:01 | 2018-09-21T10:56:01 | 149,750,494 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 489 | h | #ifndef CENTAURSETUP_H
#define CENTAURSETUP_H
#include "asetupdialog.h"
#include <QLabel>
#include <QComboBox>
class CentaurSetup : public ASetupDialog
{
Q_OBJECT
public:
explicit CentaurSetup(QWidget *parent = 0);
signals:
public slots:
private:
// ASetupDialog interface
public:
void loadConfi... | [
"allan1234569@163.com"
] | allan1234569@163.com |
ef226c88dba1e17bdae2fe5452e1768052e668ed | 850f42b67a8c0de851fe30843da03d71d5cb9e36 | /tree/tree.cpp | 3e954263c08e21b6be790d79bc67eda4b80776a1 | [] | no_license | deep652/Tree | ff4b38bd5f37ce03bc5b27c1712eb3596e8ba8fb | ea0994559e71e3ebe133a23ff2d3f0c3378e1e91 | refs/heads/master | 2020-06-01T16:30:16.424041 | 2019-06-16T05:30:48 | 2019-06-16T05:30:48 | 190,850,451 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,541 | cpp | // tree.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
#include<iostream>
#include<algorithm>
#include<queue>
typedef struct Node
{
int m_data;
struct Node *Left;
struct Node *Right;
};
int FindHeight(Node *root);
int findLeaves(Node *root);
//For Binary Tree
Node * LCA(Node * ro... | [
"deep.shikha@idera.com"
] | deep.shikha@idera.com |
9716339250e7091005cc076d535eee05ba6f8ed1 | e7be2ee48f952308f5672240c2c833d718d9d431 | /Juliet_Test_Suite_v1.3_for_C_Cpp/C/testcases/CWE194_Unexpected_Sign_Extension/s02/CWE194_Unexpected_Sign_Extension__negative_strncpy_73b.cpp | cfe115329faf4e6f276e76969f3715ce754940a5 | [] | no_license | buihuynhduc/tooltest | 5146c44cd1b7bc36b3b2912232ff8a881269f998 | b3bb7a6436b3ab7170078860d6bcb7d386762b5e | refs/heads/master | 2020-08-27T20:46:53.725182 | 2019-10-25T05:42:36 | 2019-10-25T05:42:36 | 217,485,049 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,027 | cpp | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE194_Unexpected_Sign_Extension__negative_strncpy_73b.cpp
Label Definition File: CWE194_Unexpected_Sign_Extension.label.xml
Template File: sources-sink-73b.tmpl.cpp
*/
/*
* @description
* CWE: 194 Unexpected Sign Extension
* BadSource: negative Set data to a fixed negat... | [
"43197106+buihuynhduc@users.noreply.github.com"
] | 43197106+buihuynhduc@users.noreply.github.com |
5c49c15c265645ea5be5c04932a79837a7a20ec3 | d3d1d449f06726c23b6494854676694b39153b49 | /ABC217/B/main.cpp | 03f5ab069cd08a959aac7334ce3c6aacb0a2acd7 | [] | no_license | KEI0124/atcoder | 6bf22b0aec1e2353deb1fdc1a2f5c7ce350c034a | 68412b7f89ba0ccd00cf3e7ce6a28ffe88b17768 | refs/heads/master | 2023-07-29T03:11:23.936440 | 2021-09-15T08:22:16 | 2021-09-15T08:22:16 | 381,680,428 | 0 | 0 | null | 2021-07-03T10:13:40 | 2021-06-30T11:35:15 | C++ | UTF-8 | C++ | false | false | 486 | cpp | #include <bits/stdc++.h>
#include<iostream>
#include<array>
#include<algorithm>
using namespace std;
int main()
{
string S1,S2,S3;
cin >> S1 >> S2 >> S3;
string total = S1 + S2 + S3;
if(total.find("ABC") == string::npos)
{
cout << "ABC" << endl;
}
else if(total.find("ARC") == string::npos)
{
cout << "AR... | [
"milktea3314@gmail.com"
] | milktea3314@gmail.com |
cd28030f5775ccfef0ad1927a4b0f6cddd59cafd | fb9917a07b00ea8fc592e2f4b42aca908dbaaa8e | /computer_side/threadLed/main.cpp | 59f53da7352f477dc231f029ae7c0b1507b85257 | [] | no_license | Bntdumas/LED-matrixes-controller-programmer | 5d7998b5c031d2d556bc4db70bdda9b8128c7cfc | 84e227b25f78e710599e3b6452d84e88437747a1 | refs/heads/master | 2021-01-10T21:30:31.217845 | 2011-11-13T10:58:53 | 2011-11-13T10:58:53 | 2,165,841 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 197 | cpp | #include <QApplication>
#include "ledCube.h"
int main(int argc, char *argv[])
{
QApplication a(argc, argv);
ledCube *_ledCube = new ledCube();
_ledCube->show();
return a.exec();
}
| [
"benoit@lego.(none)"
] | benoit@lego.(none) |
624101e91e51afce4ae7494d7b07d6f149b6affe | 5ef45d84d1df9b9c360957a6b7b06b4a77dbf722 | /ch12/examples/rewerr.cpp | 16325650e60130cb97df35584860a66cd20d569e | [] | no_license | clarktheshark/oopicpp | 02c865c4010cdf816a85c9586d89fc51e6ef4c0f | 2dfaf8652c73c818d4f21c0270ff25dcff28353d | refs/heads/master | 2021-01-22T11:47:24.687659 | 2015-10-12T21:34:39 | 2015-10-12T21:34:39 | 40,501,674 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,237 | cpp | // rewerr.cpp
// handles errors during input and output
#include <fstream> // for file streams
#include <iostream>
#include <stdlib.h> // for exit()
using namespace std;
const int MAX = 1000;
int buff[MAX];
int main()
{
// fill buffer with data
for(int j = 0; j < MAX; j++)
buff[j] = j;
// create output str... | [
"clarkd@mit.edu"
] | clarkd@mit.edu |
6ef91ed8d18d7a1897aa00d4b0f3432a7601624d | 59abfc1f357fcda116d737cba3721d8a6a253906 | /Header/Template/Seqence.h | b66664d24102d023fb4878807f4c7b6736921c28 | [] | no_license | 15831944/All | 20019340ded892e3a30c9ef40f70ea4891b31b38 | 4d534e8e2e9d02dfc3eebb2c8e6ed27c273b3304 | refs/heads/master | 2021-12-03T19:30:37.976693 | 2014-10-23T03:58:36 | 2014-10-23T03:58:36 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 2,143 | h | #ifndef TEMPLATE_SEQUENCE_H
#define TEMPLATE_SEQUENCE_H
#include "MyAlgorithm/SLList.h"
#include "Handle/SmartPointer.h"
namespace Template
{
using MyAlgorithm::CSLList;
using MyAlgorithm::CSLLNode;
using Handle::CSmartPointer;
using Utility::exceptionx;
template <typename T>
class CSeqence : pub... | [
"Gary@garyzhao-nb0.local"
] | Gary@garyzhao-nb0.local |
02d3443d716bbb667c5315427809b6c9b125cced | 6b2a8dd202fdce77c971c412717e305e1caaac51 | /solutions_5708921029263360_0/C++/Tommmmmmmm/AC.cpp | e6c4f39c5705468e87d68ad4f3d6fbbb361a4fdd | [] | 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 | 2,775 | cpp | #include<bits/stdc++.h>
using namespace std;
typedef pair<int,int>pi;
struct Node{
int a,b,c;
void st(){
if(a>b)swap(a,b);
if(b>c)swap(b,c);
if(a>b)swap(a,b);
}
Node(int a=0,int b=0,int c=0):a(a),b(b),c(c){}
bool operator <(const Node &x)const{
if(a!=x.a)return a<x.a;... | [
"alexandra1.back@gmail.com"
] | alexandra1.back@gmail.com |
15bafdef0f80ff206b339b759dbaddcc8cc21f3d | 641fa8341d8c436ad24945bcbf8e7d7d1dd7dbb2 | /third_party/WebKit/Source/modules/bluetooth/BluetoothRemoteGATTCharacteristic.cpp | d55e5e678faadcf9c756acef6b4d47e1ea467605 | [
"LGPL-2.0-or-later",
"GPL-1.0-or-later",
"MIT",
"Apache-2.0",
"BSD-3-Clause",
"LicenseRef-scancode-warranty-disclaimer",
"LGPL-2.1-only",
"GPL-2.0-only",
"LGPL-2.0-only",
"BSD-2-Clause",
"LicenseRef-scancode-other-copyleft"
] | permissive | massnetwork/mass-browser | 7de0dfc541cbac00ffa7308541394bac1e945b76 | 67526da9358734698c067b7775be491423884339 | refs/heads/master | 2022-12-07T09:01:31.027715 | 2017-01-19T14:29:18 | 2017-01-19T14:29:18 | 73,799,690 | 4 | 4 | BSD-3-Clause | 2022-11-26T11:53:23 | 2016-11-15T09:49:29 | null | UTF-8 | C++ | false | false | 14,616 | cpp | // Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "modules/bluetooth/BluetoothRemoteGATTCharacteristic.h"
#include "bindings/core/v8/ScriptPromise.h"
#include "bindings/core/v8/ScriptPromiseReso... | [
"xElvis89x@gmail.com"
] | xElvis89x@gmail.com |
4a5c3f1238539d14f10dc66a6beb054e2d821e39 | 1537e3009b826ec67d9ed46b7054fa0412da770e | /lib/date/test/date_test/month_day_last.pass.cpp | 6e1e0629dc13e2d85b39ad17c1c7242a6d36067f | [
"MIT"
] | permissive | TommyB123/pawn-chrono | 403f385ebb74f4aa4b35395ee13485bdb0e4cce7 | 9e3a9237bff75c3191f5b1123c74abca07e11935 | refs/heads/master | 2022-12-06T16:11:09.456520 | 2020-08-12T12:17:58 | 2020-08-12T12:17:58 | 287,005,396 | 0 | 0 | MIT | 2020-08-12T12:15:34 | 2020-08-12T12:15:33 | null | UTF-8 | C++ | false | false | 3,294 | cpp | // The MIT License (MIT)
//
// Copyright (c) 2015, 2016 Howard Hinnant
//
// 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... | [
"southclawjk@gmail.com"
] | southclawjk@gmail.com |
c1effa15d5abebb78762ccdf56bca1b42fc59c8f | 913222d7d72c796231c3246b8dc47418fbe80287 | /tool/apolloEditorMfc/apolloParseEditor/ctrls/GradShow.cpp | 148c5ce9eb482f4888e04fdca84df4c263b39e40 | [] | no_license | presscad/apollolib | 0fe00a2ee864f488a263d395b09b6b504a15661d | 0392525527b44b50702ef6c7559e64f2f438adbf | refs/heads/master | 2020-09-13T06:05:34.936128 | 2019-09-26T09:21:00 | 2019-09-26T09:21:00 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,462 | cpp | // GradShow.cpp : implementation file
//
#include "stdafx.h"
#include "GradShow.h"
// CGradShow
IMPLEMENT_DYNAMIC(CGradShow, CGridCtrl)
CGradShow::CGradShow()
{
}
CGradShow::~CGradShow()
{
}
BEGIN_MESSAGE_MAP(CGradShow, CGridCtrl)
END_MESSAGE_MAP()
// //show test in a row
in... | [
"luckduan@126.com"
] | luckduan@126.com |
651185c6bd1ee6d6112aea984901d81615162757 | e6f152709d2aa6404d459fd37032ec5ae7c449c5 | /Project/LearnOpenGL/Project/1.6.2.coordinate_systems_depth/coordinate_systems_depth.cpp | e5f49b085b38376795e817f26402a21e538dd869 | [] | no_license | HushengStudent/myRendering | a18075dbac5cce588fb625254262b26346db0f60 | 940aa919631fb7869e3ae506ba8ef2a19e240978 | refs/heads/master | 2022-09-08T21:03:18.467700 | 2022-08-21T13:18:41 | 2022-08-21T13:18:41 | 214,792,582 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 9,900 | cpp | #include <glad/glad.h>
#include <GLFW/glfw3.h>
#define STB_IMAGE_IMPLEMENTATION
#include <stb_image.h>
#include <glm/glm.hpp>
#include <glm/gtc/matrix_transform.hpp>
#include <glm/gtc/type_ptr.hpp>
#include <learnopengl/filesystem.h>
#include <learnopengl/shader_m.h>
#include <iostream>
void framebuffer_size_callba... | [
"husheng.student@foxmail.com"
] | husheng.student@foxmail.com |
66a1a003ff692b44e22f31f4204962d535c3824f | f4f82289d3c3fb7b34da170aeea8a0d05aebf148 | /source/script/ScriptEngineCore.cpp | 32611fa22ecd56ae7023f1bd6dd643fb6017c1d9 | [
"MIT"
] | permissive | freneticmonkey/epsilonc | 4b8486ef3a66f9f11dd356d568c4f6833e066150 | 0fb7c6c4c6342a770e2882bfd67ed34719e79066 | refs/heads/master | 2021-01-18T15:16:34.845535 | 2015-02-06T11:57:01 | 2015-02-06T11:57:01 | 21,097,234 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,564 | cpp | #include "script/ScriptEngineCore.h"
#include "script/ScriptCommon.h"
namespace epsilon
{
ScriptEngineCore::Ptr ScriptEngineCore::Create(std::string coreScript)
{
return std::make_shared<ScriptEngineCore>(private_struct(), coreScript);
}
ScriptEngineCore::ScriptEngineCore(const private_struct &, std::string co... | [
"scottporter@neuroticstudios.com"
] | scottporter@neuroticstudios.com |
4262091dd226f473169cf1f77293b7177bf6c746 | da3215baf37d257d5814f165e98b4b19dee9cb05 | /SDK/FN_LobbyPlayerPadTop_functions.cpp | 118b0cd49f9c1aa1dafcbcda73efb6a5912f1001 | [] | no_license | Griizz/Fortnite-Hack | d37a6eea3502bf1b7c78be26a2206c8bc70f6fa5 | 5b80d585065372a4fb57839b8022dc522fe4110b | refs/heads/Griizz_Version | 2022-04-01T22:10:36.081573 | 2019-05-21T19:28:30 | 2019-05-21T19:28:30 | 106,034,464 | 115 | 85 | null | 2020-02-06T04:00:07 | 2017-10-06T17:55:47 | C++ | UTF-8 | C++ | false | false | 9,676 | cpp | // Fortnite SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "../SDK.hpp"
namespace SDK
{
//---------------------------------------------------------------------------
//Functions
//---------------------------------------------------------------------------
// Function LobbyPlayerPadTop.LobbyPlayerPadTo... | [
"sinbadhacks@gmail.com"
] | sinbadhacks@gmail.com |
3deb04e02dd5e6553aebb463ea81c5f0d0834bc8 | c3898281f36c4f3e20e0325700245cff53257b44 | /153_findMin.cpp | 53e6e8e29132f83a5bdf6b0dde6f2fb1ded49b9a | [] | no_license | CLAYouX/codeForLeet | 4a0e4a4276f9b8dd2de71030d78d3bb1fbd2981c | 781902d663dab752d3a24f8a91a3a499fddf1c82 | refs/heads/main | 2023-07-01T23:02:48.462858 | 2021-08-12T09:51:56 | 2021-08-12T09:51:56 | 388,824,764 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 721 | cpp | #include<iostream>
#include<string>
#include<cmath>
#include<vector>
#include<iterator>
#include<limits>
#include<algorithm>
#include<map>
#include<utility>
#include<set>
#include<unordered_map>
#include<stack>
#include<queue>
#include<unordered_set>
#include<numeric>
using namespace std;
int findMin(vector<int>& nums... | [
"mlakaka22@gmail.com"
] | mlakaka22@gmail.com |
6e72dd6f0c8bc30038a16295f32901902b04999f | 0f3ae0509fe17a0f20953123fbb7d82181e0a3c2 | /лаб 2/Задание 2/Задание 2.cpp | ff78502fca600807a3ba165da46f6734c36a066f | [] | no_license | saddeath/oaip | 01583104151c398cd2e99443163a41c918dc8b07 | 24813d0da7321a8759234491fd6cb81f7d056978 | refs/heads/master | 2023-02-16T00:35:45.144106 | 2020-12-30T10:47:42 | 2020-12-30T10:47:42 | 298,205,506 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,220 | cpp | #include <stdio.h> // ввод библиотек
#include <locale.h>
#include <math.h>
int main() // начало функции, началор программы
{
double a, b, rez; //ввод переменных
setlocale(LC_ALL, "Ru... | [
"ada_c@LAPTOP-PEB0OI70"
] | ada_c@LAPTOP-PEB0OI70 |
39d7a52449a4dcb07c1efee27842ef8efbe3a4b4 | 57c5019f535a31889ceab4292065a7796017978c | /WaterDivision3/WaterDivision3.h | 4f61080b29a3e0af60b491bf7f846cad5d764cdd | [] | no_license | chengaojie0011/graduation-project | e0345e096676ccf6ff78b9059991d5ca1e766a3d | 325e0276d1cbce4c5f3cbe23ce49c6e566a5d7f9 | refs/heads/master | 2021-01-19T05:31:17.908709 | 2018-08-22T13:00:07 | 2018-08-22T13:00:07 | 87,431,296 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 522 | h |
// WaterDivision3.h : main header file for the PROJECT_NAME application
//
#pragma once
#ifndef __AFXWIN_H__
#error "include 'stdafx.h' before including this file for PCH"
#endif
#include "resource.h" // main symbols
// CWaterDivision3App:
// See WaterDivision3.cpp for the implementation of this class
//
class... | [
"598641996@qq.com"
] | 598641996@qq.com |
3f042f6e24ddb4b8f43194a300aba1f518e59006 | f1a5508d96984ce0b45c02e1ba509393d7b6bf88 | /Es_lezione_01/exercise01_3.cxx | 425e9f70a7cf0384a9939fe502fb479a18832b72 | [] | no_license | AlessandroProserpio/LabSimNumerica | e3eab0eff21498d8f9dd74a7b49f20ae8157a015 | 7f0128891e4e859261bbf7786bb04b3d93f66945 | refs/heads/master | 2022-11-23T07:39:19.336286 | 2020-07-17T09:33:49 | 2020-07-17T09:33:49 | 278,032,292 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,470 | cxx | #include <iostream>
#include <iomanip>
#include <string>
#include <fstream>
#include <cmath>
#include "Random_generator/random.h"
#include "blocking_method.h"
using namespace std;
double Generate_sine(Random * gen); // generates an angle in (0, 2\pi) uniformly (without using \pi, as described in the notebook... | [
"ale.prose98@gmail.com"
] | ale.prose98@gmail.com |
1f1c6bf0a7149f9f4698d9d6cb9951326199163d | e8a3c0b3722cacdb99e15693bff0a4333b7ccf16 | /Uva Oj/336....a node far(ver 2).cpp | 4fb50bd472a1be18f519eaa22383a3ee31c766c4 | [] | no_license | piyush1146115/Competitive-Programming | 690f57acd374892791b16a08e14a686a225f73fa | 66c975e0433f30539d826a4c2aa92970570b87bf | refs/heads/master | 2023-08-18T03:04:24.680817 | 2023-08-12T19:15:51 | 2023-08-12T19:15:51 | 211,923,913 | 5 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,449 | cpp | #include<bits/stdc++.h>
using namespace std;
map< int, int > visited;
void BFS(int s, map< int, vector< int > >G)
{
queue< int >q;
q.push(s);
visited[s] = 0;
while(!q.empty())
{
int top = q.front();
for(int i=0; i<G[top].size(); i++)
{
int n = G[top][i... | [
"piyush123kantidas@gmail.com"
] | piyush123kantidas@gmail.com |
75cf9cc30f7148aeaf588d758f868f0a4a0efbc6 | 4d36445ab70a5dc9ebdd324234dc9fe479a7204f | /lab4/prelab/prelab4.cpp | 78d39f0efb68f987b8d3dba2500f6d7feafabf3e | [] | no_license | cfkinzer/CS-2150 | 9ac5460b7415aa3bf271d7edab46b059f06523fd | c1e4fb33e1740956e089dcae10b46475f387e46c | refs/heads/master | 2020-04-15T13:17:01.294673 | 2019-01-08T18:35:29 | 2019-01-08T18:35:29 | 164,710,402 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,421 | cpp | // Christian Kinzer
// cfk5ax
// 9/24/18
// prelab4.cpp
#include <iostream>
#include <string>
#include <climits>
using namespace std;
void sizeOfTest() {
int a;
unsigned int b;
float c;
double d;
char e;
bool f;
int * g;
char * h;
double * i;
cout << "size of int: " << sizeof a << '\n'
<< "... | [
"cfk5ax@virginia.edu"
] | cfk5ax@virginia.edu |
3d44955ac111c78e673087f0b911f8d361302590 | 90159b9e8346e1fbb64a2a62b98ce24d51f68e46 | /IRC_v2/industrial_robot_client/src/v2/generic_robot_state_node.cpp | 8f63796c7da6932a96fad4cbbeb0b02bbf2d018c | [
"BSD-3-Clause"
] | permissive | ros-industrial/industrial_experimental | 49a8ed3a1e589833befb36a8ebd04be16c83b78d | 7dd343bcd1cec576cc23afce7b19d98d4178c51b | refs/heads/indigo-devel | 2020-05-31T08:32:05.983025 | 2017-05-07T13:47:43 | 2017-05-07T13:47:43 | 11,534,755 | 3 | 9 | null | 2018-08-29T15:11:32 | 2013-07-19T18:47:27 | C++ | UTF-8 | C++ | false | false | 2,062 | cpp | /*
* Software License Agreement (BSD License)
*
* Copyright (c) 2015, Southwest Research Institute
* 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 cod... | [
"jzoss@swri.org"
] | jzoss@swri.org |
0405f7bc9e571967a41aeedac1aaa4874e6e0a9d | 829ce9eb394fea633b98d38ea8e8b0f102f5a7dc | /Export/windows/cpp/obj/include/Faction.h | 4bdfc0a6da2b59549cac7b7c251f76047bec25f7 | [] | no_license | Chamawix/Krismoon | 478d6b978233d829a4909a98cfd87bc5842aeb63 | ee7de9a9ff981fa63efb358376a4a575c522c328 | refs/heads/master | 2016-09-05T08:58:42.315503 | 2015-01-01T18:00:00 | 2015-01-01T18:00:00 | 27,305,136 | 0 | 0 | null | 2014-12-20T12:51:28 | 2014-11-29T14:53:34 | C++ | UTF-8 | C++ | false | false | 1,339 | h | #ifndef INCLUDED_Faction
#define INCLUDED_Faction
#ifndef HXCPP_H
#include <hxcpp.h>
#endif
HX_DECLARE_CLASS0(Faction)
HX_DECLARE_CLASS0(Region)
class HXCPP_CLASS_ATTRIBUTES Faction_obj : public hx::Object{
public:
typedef hx::Object super;
typedef Faction_obj OBJ_;
Faction_obj();
Void __construct(::Strin... | [
"rodrigues.jerom@gmail.com"
] | rodrigues.jerom@gmail.com |
6e68e7b209ecd7fc9317bcbd78ac6d0ea40d525d | 264e7894e53fde94fb733e3a86ed0485694b49af | /test_package/test_package.cpp | a221be4d305c2525e894b941e1dd6f027d2ac2c1 | [
"MIT"
] | permissive | bincrafters/conan-libgcrypt | c9afdb03ac7a7b5dacac9c8db5f9336e9a97f8ec | 66a2bc9e3bb3bcae3905563ff4cdb3c309aa60a4 | refs/heads/testing/1.8.4 | 2021-09-15T17:08:00.056467 | 2021-03-18T21:19:06 | 2021-03-18T21:19:06 | 199,809,396 | 0 | 2 | MIT | 2021-08-05T21:34:16 | 2019-07-31T08:03:24 | C | UTF-8 | C++ | false | false | 157 | cpp | #include <iostream>
#include <gcrypt.h>
int main()
{
std::cout << "gcrypt version: "<< gcry_check_version(GCRYPT_VERSION) << std::endl;
return 0;
}
| [
"tomskside@gmail.com"
] | tomskside@gmail.com |
f2a1702ff3d7a135b140def64cdb8a9c83afd52f | c43f44f01ee51093822dc7242a26aea5901ebf53 | /baekjoon/2352. 반도체 설계/지혜/2352.cpp | 2cf908beb16574ab52eb6dced17244e3bd00228b | [] | no_license | Dong-wook94/KNU-AlgorithmStudy | 4ddcffe9292db56ffd18a5e0127bb3dc5a28d104 | e57601cf91e79e3970de6fdc6c8986169832e56b | refs/heads/master | 2020-12-03T14:48:00.909681 | 2020-10-06T15:07:43 | 2020-10-06T15:07:43 | 231,359,266 | 41 | 19 | null | 2020-10-06T15:07:37 | 2020-01-02T10:31:38 | C++ | UTF-8 | C++ | false | false | 732 | cpp | //
// 2352.cpp
// test
//
// Created by 지혜 on 2020/05/17.
// Copyright © 2020 지혜. All rights reserved.
//
#include <stdio.h>
#include <vector>
using namespace std;
int main(){
int arry[40000]={0};
int n;
vector<int> v;
scanf("%d",&n);
for(int i=1; i<=n; i++){
scanf("%d",&arry[i]);
... | [
"coco__1@naver.com"
] | coco__1@naver.com |
7352eab5c40ec78179a5731c14738bb431c4a96e | 71973fbb3a06298a43efc2ffb61069012fd271a6 | /polymorph_learning_try3/checkbox.h | 5c27695fb2578fa6d1d450ec72a5deef553c205e | [] | no_license | vedenev/cpp_polymorphism_with_gui_example | f0c9e0356e2a5779b410c0c3551c19f4a8cf8d05 | fc9e0a5bc31010b4623f8207ee5980f576d5c8a3 | refs/heads/master | 2020-09-08T09:30:01.183309 | 2019-11-12T02:10:47 | 2019-11-12T02:10:47 | 221,093,604 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 688 | h | #pragma once
#include "view.h"
#include <iostream>
#include "opencv2/highgui/highgui.hpp"
using namespace cv;
using namespace std;
//https://stackoverflow.com/questions/2298242/callback-functions-in-c
typedef void (*CallbackType2)(int);
class checkbox :
public view
{
private:
int x_offset;
int y_offset;
int width;
... | [
"vedenev@azoft.com"
] | vedenev@azoft.com |
5386fbd6b5891b09fbf15eead655a86ae7ef722f | 547b2ea26bfce7c582e041f59076482aca93dad6 | /src/components/net/rdma/unit_test/test1.cpp | 038243954c08d549c91466f3a9a06efaeda630df | [
"Apache-2.0"
] | permissive | aswarke/comanche | 9e48ba2c9206cc6d615285db8b8ce489b147568d | 4783a803dd087d1be375edf33c8ab004d149be09 | refs/heads/master | 2021-04-30T13:12:23.930607 | 2018-02-23T15:29:13 | 2018-02-23T15:29:13 | 121,290,565 | 1 | 0 | null | 2018-02-12T19:19:30 | 2018-02-12T19:19:29 | null | UTF-8 | C++ | false | false | 3,056 | cpp | /* note: we do not include component source, only the API definition */
#include <gtest/gtest.h>
#include <api/components.h>
#include <api/rdma_itf.h>
#include <common/utils.h>
#include <core/dpdk.h>
#include <core/physical_memory.h>
using namespace Component;
namespace {
// The fixture for testing class Foo.
class ... | [
"daniel.waddington@ibm.com"
] | daniel.waddington@ibm.com |
26fd91d3792304c103ce95d7e88b8a42dbd41f03 | b5b56ce3eb1dfe324eafbda3e0e5f338c5dd72e2 | /Server/Servers/Tests/ClientSettingTest.cpp | 12824115879f2b993890ded39205b7307c8d07cb | [] | no_license | wayfinder/Wayfinder-Server | 5cb91281b33cea6d8f6d74550b6564a71c4be1d7 | a688546589f246ee12a8a167a568a9c4c4ef8151 | refs/heads/master | 2021-01-22T22:39:08.348787 | 2012-03-31T11:34:42 | 2012-03-31T11:34:42 | 727,490 | 8 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 4,637 | cpp | /*
Copyright (c) 1999 - 2010, Vodafone Group Services Ltd
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 condit... | [
"daniel.n.pettersson@gmail.com"
] | daniel.n.pettersson@gmail.com |
50f15971f98cd9323823dea3075cc10ffcbcc0c1 | 62adea5f0aa8b9b396b3433bcb9268d0e359af07 | /Standard/Vector/vector_ex01.cpp | 6b759e9574f06a01d2249734b9aec83f5ba4d6ba | [] | no_license | maoxiaoke/STL_Code | 9b69faf149e301faf9ac0f19f29b1608a615bd89 | 992279c8abcf82c41fec72377489de25292014dc | refs/heads/master | 2020-04-17T10:54:14.919190 | 2017-02-15T02:06:57 | 2017-02-15T02:06:57 | 66,466,739 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 927 | cpp | /* The following code example is taken from the book
* "The C++ Standard Library - A Tutorial and Reference"
* by Nicolai M. Josuttis, Addison-Wesley, 1999
* pages 72-73
* (C) Copyright Nicolai M. Josuttis 1999.
* Permission to copy, use, modify, sell and distribute this software
* is granted provided this copyri... | [
"maoxiaoke@outlook.com"
] | maoxiaoke@outlook.com |
514f8b06e6f17aea0b4415218eb98b966cbeba2c | ef9505fb4b8a55157f0c499e7d1dcbdc0e4de514 | /hotel/activity/sport/Tennis.h | 6189a011c8b827ac609d2adabc6521791cef98e8 | [] | no_license | corentingosselin/HotelManagementSystem | e85df2b894fd9cbac309477429dff5c16931739d | 6d21cc130b7556e5e2c58940e1d877f9c8d39598 | refs/heads/master | 2023-03-04T19:46:45.653454 | 2021-02-13T15:39:26 | 2021-02-13T15:39:26 | 338,606,189 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 252 | h | //
// Created by prodigy on 16/12/2020.
//
#ifndef HOTELMANAGEMENTSYSTEM_TENNIS_H
#define HOTELMANAGEMENTSYSTEM_TENNIS_H
#include "../Activity.h"
class Tennis : public Activity {
public:
Tennis();
};
#endif //HOTELMANAGEMENTSYSTEM_TENNIS_H
| [
"coco_gigpn@hotmail.com"
] | coco_gigpn@hotmail.com |
7a1a0b6b3ccc95543054583e91082ad2dcaaefd1 | 923b87dbef366e03f601210e29d8992ddbfc8c49 | /src/system/action/actions/ConfirmMove.h | 1e45cbdf6cf290ab7f79a8d18b9e022e4b142b4f | [] | no_license | sumboid/testing-system | 2dce7b947cbcf59f9aceb4fb6b745961146f6cf6 | c2b0e0f26208097195dbcbcb16b1bc235ad4bbbd | refs/heads/master | 2021-01-02T08:51:50.228416 | 2015-05-03T03:04:08 | 2015-05-03T03:04:08 | 14,824,091 | 0 | 0 | null | 2014-06-11T20:51:22 | 2013-11-30T16:15:28 | C++ | UTF-8 | C++ | false | false | 419 | h | #pragma once
#include "../Action.h"
#include "../../../types/ID.h"
namespace ts {
namespace system {
namespace action {
class ConfirmMove : public ts::system::Action {
private:
ts::type::ID id;
NodeID sender;
public:
ConfirmMove(): id(ts::type::ID(0,0,0)), sender(0) {}
~ConfirmMove() override {}
void set(t... | [
"ilya.sumb@gmail.com"
] | ilya.sumb@gmail.com |
ad310ae7155ceaa6253582904afe455c35376190 | 4c5ceb224165de5b09a06897292aa2a8676c9bcb | /Engine/MeshRenderer.h | f477e34c8a34f9492d12b659d81aec2663004e5f | [] | no_license | sansam41/DirectX_Study | 48e443a35139399b16f4a7fdd4ac7d0b783b8206 | 5fcb26f6f8859c960163e52b3cbedcbdd6587ed2 | refs/heads/master | 2023-07-13T13:02:47.974106 | 2021-08-22T11:36:33 | 2021-08-22T11:36:33 | 389,612,409 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 708 | h | #pragma once
#include "Component.h"
class Mesh;
class Material;
// [32][32]
union InstanceID
{
struct
{
uint32 meshID;
uint32 materialID;
};
uint64 id;
};
class MeshRenderer : public Component
{
public:
MeshRenderer();
virtual ~MeshRenderer();
shared_ptr<Mesh> GetMesh() { return _mesh; }
shared_ptr<Mate... | [
"sansam41@gmail.com"
] | sansam41@gmail.com |
ec30ad6c50df90320155a549bc29740408c4bfa7 | 4232a7f054f5c4b8ff77134f7c1d3d2f8e230deb | /Pascal's Triangle.cpp | c597477e5fe60dabf275f5c7ab093865149ad51a | [] | no_license | liuhb86/leetcode | bbdc0de2f83c8113a83caf3e0ea0799152b6561d | 6522e7df7077afabf44aedc579e5742b042f3a0b | refs/heads/master | 2020-12-24T15:22:55.077671 | 2020-01-04T18:28:03 | 2020-01-04T18:29:25 | 7,686,757 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 408 | cpp | class Solution {
public:
vector<vector<int> > generate(int numRows) {
vector<vector<int> > result(numRows);
for (int i= 0; i<numRows; ++i) {
vector<int>& row = result[i];
row.resize(i + 1);
row[0] = 1;
row[i] = 1;
for (int j = 1; j < i; ++j... | [
"liuhb86@gmail.com"
] | liuhb86@gmail.com |
cb68b82ee9e987676be7707173bf7cff04dcdabc | 2908cb8763ca6c6176d8721f746c98dc6f168d5e | /Project_6/Project_6/SDLProject/Entity.cpp | b36a3dbed1b6586bc44b2597a045635e87a5d082 | [] | no_license | kmparedes/KMP_CSUY3113 | 6070ee901c37a4f1eb4fc78abc4a73b9014ff1c8 | 13cd9031e54827ee9ec8049a419c5fcee8219e19 | refs/heads/main | 2023-04-30T03:40:50.366234 | 2021-05-15T05:34:31 | 2021-05-15T05:34:31 | 335,353,596 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,282 | cpp | #include "Entity.hpp"
Entity::Entity()
{
position = glm::vec3(0);
movement = glm::vec3(0);
velocity = glm::vec3(0);
speed = 0;
modelMatrix = glm::mat4(1.0f);
}
bool Entity::CheckCollision(Entity *other){ //check if we collide with something
if (other == this) {return false;}
... | [
"katrinaparedes@Katrinas-MBP.lan"
] | katrinaparedes@Katrinas-MBP.lan |
4b27c6f1ad0cc2acaa22d72586f3b32ab74187ea | 056d725d7b23bfc7a40816fa803ec48e89becc4f | /SGame/Classes/GSStart.cpp | 66eec14124761eed86c97ef37d8958771c9b54a8 | [] | no_license | wuxiaosheng/SGame | a100751426319b2f2ee98836b20703faa89133c5 | 238fc73c2c6440e3aa6f474d16064f3cb931de1c | refs/heads/master | 2020-03-28T19:24:58.656075 | 2018-09-16T15:20:39 | 2018-09-16T15:20:39 | 148,974,216 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 412 | cpp | #include "GSStart.h"
#include "ClassFactory.h"
#include "UICommonDialog.h"
bool GSStart::init() {
bool bRet = SGameScene::init();
return bRet;
}
void GSStart::onRegisterUIList() {
ClassFactory::getInstance()->registerClass("UICommonDialog", []()->void*{ return UICommonDialog::create(); });
}
void GSStart::onStart(... | [
"626429868@qq.com"
] | 626429868@qq.com |
8cfa37f2ec1617e6b2aea4b136a44f0577afd0f8 | 1e524dd151bb5f8546280ec0e0aeaeae3d471570 | /warmgui/CoordFrame.h | 600c29a1b765c38a93244d8d266b69e596eec96e | [] | no_license | cnsuhao/warmgui | 68e8a698b9068b67cbb6efe4b0651144ba7ffc17 | 5d198d1680ffe61a3f48175c84942823033ccfcb | refs/heads/master | 2021-05-27T00:06:25.959310 | 2013-07-11T14:25:01 | 2013-07-11T14:25:01 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,354 | h | #ifndef __STOCK_GLYPH_H_INCLUDE__
#define __STOCK_GLYPH_H_INCLUDE__
namespace WARMGUI {
static const float AXIS_LINE_COLOR_R = 0;
static const float AXIS_LINE_COLOR_G = 0;
static const float AXIS_LINE_COLOR_B = 1.0;
static const float AXIS_LINE_ALPHA = 1.0;
/*
static const float SIDE_BAR_WIDTH = 50.0;
static... | [
"stoneguo@126.com"
] | stoneguo@126.com |
1837489a16eba68686205c9d1ddf05b87168d43a | 917d01b5e68b330c39861145782d3dc22e5110e5 | /src/base58.h | 7ad0e74f54e45aca56275b41b877c7a312767014 | [
"MIT"
] | permissive | multiwebpay/mpaycoinF | 88cb4d393d978751bcbd52a5d938d3e2f753c894 | ca618e218526a861a251c0809ee8d2cd5e0fa57b | refs/heads/master | 2021-01-17T20:47:43.074860 | 2016-08-07T06:40:06 | 2016-08-07T06:40:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,584 | h | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2012 The Mpaycoin Developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
//
// Why base-58 instead of standard base-64 encoding?
// - Don't want 0OIl cha... | [
"multiwebpay@gmail.com"
] | multiwebpay@gmail.com |
7bde703e1f443ccde7a5343aeeb36aaede33ef63 | 522a944acfc5798d6fb70d7a032fbee39cc47343 | /d6k/trunk/src/temp/scadastudio_old/tableview.h | 4d2db4637f341ddcb9fa49078bef518f6512e42a | [] | no_license | liuning587/D6k2.0master | 50275acf1cb0793a3428e203ac7ff1e04a328a50 | 254de973a0fbdd3d99b651ec1414494fe2f6b80f | refs/heads/master | 2020-12-30T08:21:32.993147 | 2018-03-30T08:20:50 | 2018-03-30T08:20:50 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 999 | h | #ifndef TABLEVIEW_H
#define TABLEVIEW_H
#include <QTableView>
#include "define.h"
class CTableModel;
class CSortFilterModel;
class CReadTableConfig;
class CDbapplitonapi;
class CTableView : public QTableView
{
Q_OBJECT
public:
enum{LINEEDIT,CHECKBOX,COMBOBOX,COMBOBOXTXTINDEX,COMBOBOXTXTSTRING};
public:
CTableVi... | [
"xingzhibing_ab@hotmail.com"
] | xingzhibing_ab@hotmail.com |
05c26b628ac5193cd974d039da2d0272b77aad95 | ed51ee04d2bebdb041d78412e500cbc8367230fb | /Infix_Engine/includes/IMGUI/imgui_draw.cpp | a026ce4b4f5c417cefb0cd6f971ff086ad41ccfc | [] | no_license | capslpop/Infix_Engine_1 | 0a7e7a776b001d1337d3146d9911bcf957a5dd01 | 3f7c5263571ac3f08f701c7692edf7f20d939187 | refs/heads/master | 2023-09-06T09:21:34.729533 | 2021-11-25T00:36:32 | 2021-11-25T00:36:32 | 400,560,369 | 9 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 211,315 | cpp | // dear imgui, v1.84 WIP
// (drawing and font code)
/*
Index of this file:
// [SECTION] STB libraries implementation
// [SECTION] Style functions
// [SECTION] ImDrawList
// [SECTION] ImDrawListSplitter
// [SECTION] ImDrawData
// [SECTION] Helpers ShadeVertsXXX functions
// [SECTION] ImFontConfig
// [SECTION] ImFontA... | [
"johnw@LAPTOP-BBT0HUPT"
] | johnw@LAPTOP-BBT0HUPT |
cd2807f7e4d6ea1c835bd9586ef1171023e65890 | c6b2e01fabbc0d78e5a8db9865eaf2fb947d3628 | /Software-Rendering/src/Window.h | 3bfd74a94c31b3d25f250a5a447f77d9576b9480 | [] | no_license | toshko3331/TPEngine | cb57b0214753957323ba157f96088429f9f5a87b | 8af567a1ee7de6bd19e577582ad28140dc4f0d29 | refs/heads/master | 2021-01-17T11:58:17.018995 | 2015-06-09T17:46:27 | 2015-06-09T17:46:27 | 28,250,523 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 582 | h | #pragma once
#include "HeadersInclude.h"
#include <string>
class Window
{
public:
Window(const char* title,int x,int y,int width, int height,Uint32 flags);
void destroy();
//Getters
SDL_Window* GetWindow() {return m_window; }
SDL_Renderer* GetRenderer() {return m_renderer;}
SDL_Texture* GetTexture() {re... | [
"toshko9999@gmail.com"
] | toshko9999@gmail.com |
5b7a2abfce65f5c4b99cbd6015bf7fc7c0c092c8 | 0a4101915d11da91739a14fa9613a5acb9fcd7f4 | /src/Blazar/Blazar/Renderer/RenderCommand.cpp | f411cd97b0a9e412010727328ee9fa8ac0027d07 | [] | no_license | Ryanel/Blazar | 43111c0887c106673c344b36f5691c90a8a8be17 | ccc203efcf1ff4dc182fb3cb099c3ecf36e8b4a6 | refs/heads/main | 2023-07-02T06:34:19.230176 | 2021-08-09T00:15:16 | 2021-08-09T00:15:16 | 365,810,848 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,466 | cpp | #include "bzpch.h"
#include "RenderCommand.h"
namespace Blazar {
const char* RenderCommand_GetString(RenderCommandID v) {
switch (v) {
case Blazar::RenderCommandID::FRAME_SYNC:
return "Frame Sync";
case Blazar::RenderCommandID::SET_SHADER:
return "Set Shader";
case... | [
"corwin.mcknight@gmail.com"
] | corwin.mcknight@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.