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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
e21dcb13b199e44988e7247e78db463b205cc524 | f5884f3ab6d4c57e658a49a0ccf4e24aaf45ff06 | /mds3d_td3/src/viewer.h | 88b2b3262413b0936fda4a7e71d677dfce2426a0 | [] | no_license | Komroh/Monde3D | 894fa2a846b91f1ca2516913dd419d54c07062b5 | fd139c4c548ef55efcbe96618e4a8d67785cab3c | refs/heads/master | 2021-11-30T09:13:39.536731 | 2019-03-21T11:25:25 | 2019-03-21T11:25:25 | 170,553,073 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,104 | h | #ifndef VIEWER_H
#define VIEWER_H
#include "opengl.h"
#include "shader.h"
#include "camera.h"
#include "trackball.h"
#include "mesh.h"
#include <iostream>
class Viewer{
public:
//! Constructor
Viewer();
virtual ~Viewer();
// gl stuff
void init(int w, int h);
void drawScene2D();
void draw... | [
"maxime.pacaud@etu.u-bordeaux.fr"
] | maxime.pacaud@etu.u-bordeaux.fr |
a0bb92267d8a62cd4c0a0eca9de6d91e9cd43719 | 1341ebf56cee66f15431236c74e8bb1db02558ac | /components/password_manager/core/browser/password_save_manager.h | 02a3297c9176609d21befb95b6b28377b29953a0 | [
"BSD-3-Clause"
] | permissive | nerdooit/chromium | 41584349b52e0b941ec45ebb5ba5695268e5872f | de77d445d3428ef72455c3b0d9be7e050d447135 | refs/heads/master | 2023-01-11T20:03:40.846099 | 2020-01-25T12:45:08 | 2020-01-25T12:45:08 | 236,195,538 | 1 | 0 | BSD-3-Clause | 2020-01-25T16:25:12 | 2020-01-25T16:25:11 | null | UTF-8 | C++ | false | false | 3,643 | h | // Copyright 2019 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 COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_PASSWORD_SAVE_MANAGER_H_
#define COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_PASSWORD_SAVE_MANAGER_H_
#incl... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
aa579ede8adf9dfa06e8ca81f5a421ccbf12c2b9 | 5a5328c0ad39230779aa52c9ae57ec193b88941e | /tesseract4android/src/main/cpp/tesseract/src/src/textord/bbgrid.cpp | e186cc15a2d842d32368e5ad5079213c533b7de8 | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference",
"BSD-2-Clause"
] | permissive | adaptech-cz/Tesseract4Android | 66978579ccc80587b8a0ae3eebe79f152fa382cd | 8ae584f54502d5457c8b9d62401eaa99551352c3 | refs/heads/master | 2023-07-21T16:49:39.617935 | 2023-07-18T12:13:29 | 2023-07-18T12:13:29 | 168,021,668 | 517 | 101 | Apache-2.0 | 2021-03-29T11:52:21 | 2019-01-28T19:21:34 | C | UTF-8 | C++ | false | false | 10,537 | cpp | ///////////////////////////////////////////////////////////////////////
// File: bbgrid.cpp
// Description: Class to hold BLOBNBOXs in a grid for fast access
// to neighbours.
// Author: Ray Smith
//
// (C) Copyright 2007, Google Inc.
// Licensed under the Apache License, Version 2.0 (the "Lice... | [
"posel@adaptech.cz"
] | posel@adaptech.cz |
df8459340701af2b458f83f37a8d8e0f74f67b5b | 19feb0913fc72ddc15b3b78f3a1ee2a2c1a45c80 | /Implementing Graphs with Maps and Sets (and Dijkstras Shortest Path Algorithm)/dijkstra.cpp | 5f2738621a5c59f98e1938c5d36c581c1d2fdb33 | [] | no_license | heqiao1017/Data-Structure-Implementation-and-Analysis | d2126c12ffd6cb09a294369c509694384d1a6e36 | cd264c2eb376860b279540e13bee9b89c987a96e | refs/heads/master | 2021-01-02T09:40:17.255822 | 2017-08-03T20:50:12 | 2017-08-03T20:50:12 | 99,270,104 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,231 | cpp | #include <string>
#include <iostream>
#include <fstream>
#include "ics46goody.hpp"
#include "array_queue.hpp"
#include "hash_graph.hpp"
#include "dijkstra.hpp"
std::string get_node_in_graph(const ics::DistGraph& g, std::string prompt, bool allow_QUIT) {
std::string node;
for(;;) {
node = ics::pr... | [
"noreply@github.com"
] | heqiao1017.noreply@github.com |
6f60eb5f14e640a636e1a23e01411d850273dfaf | e27f9d4c48355b5ea6d562aae35b7ca46ed3fc1c | /src/tools/clang/tools/extra/modularize/ModuleAssistant.cpp | 3d2b99414b8ff29c81fbf72ccb9ce4557402cd4b | [
"NCSA"
] | permissive | dongAxis/clang-700.0.72 | 67c4bb38b77e63da966e5dbd4e6ea7b6725b2484 | 513e64095d87e15954b41a22da367552a1c4dcc4 | refs/heads/master | 2021-01-10T12:17:26.230788 | 2016-02-04T04:29:53 | 2016-02-04T04:29:53 | 51,051,978 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,733 | cpp | //===--- ModuleAssistant.cpp - Module map generation manager -*- C++ -*---===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===--------------------------------------------------------... | [
"amo260@gmail.com"
] | amo260@gmail.com |
0cfae3b02d745d15d02ae92df60e227fb43ed663 | b5d6cd3d27534f169789e0c8abca3a6de47b31d3 | /Util/Socket.cpp | b88a7925d87b5764f7de6cb7d6ff45065f80abad | [] | no_license | luxigo/metricsphere | faea406ef745e075674e28fb816189e663fb0969 | 18005d143de38f6edadf371b272cb493f39b3665 | refs/heads/master | 2020-06-07T10:00:32.700737 | 2014-09-19T15:27:40 | 2014-09-19T15:27:40 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 25,259 | cpp | /*
Copyright (c) 2006, Michael Kazhdan and Matthew Bolitho
All rights reserved.
Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:
Redistributions of source code must retain the above copyright notice, this list of
conditions ... | [
"luc.deschenaux@freesurf.ch"
] | luc.deschenaux@freesurf.ch |
ef649af7a31c50e84d352f211aabf5ab487d9c19 | 48298469e7d828ab1aa54a419701c23afeeadce1 | /Login/Packets/WLRetCharLoginHandler.cpp | 38cdeb007e169de80892ec0870e07d9cb0eb3989 | [] | 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 | GB18030 | C++ | false | false | 7,620 | cpp | #include "stdafx.h"
#include "WLRetCharLogin.h"
#include "ProcessManager.h"
#include "ProcessPlayerManager.h"
#include "ServerManager.h"
#include "LoginPlayer.h"
#include "LCRetCharLogin.h"
#include "PlayerPool.h"
#include "TimeManager.h"
#include "DBLogicManager.h"
#include "DBCharFullData.h"
#include "DB_Struct.h"
#... | [
"xiaowave@gmail.com"
] | xiaowave@gmail.com |
fa169bd33732aebbd9cfc9205d54a94bf5002da8 | 80f2fa4f1f4d56eef9471174f80b62838db9fc3b | /xdl/ps-plus/ps-plus/common/test/hdfs_test.cc | b30068e9857eb0be01aaf4136048c9c9402148e5 | [
"Apache-2.0"
] | permissive | laozhuang727/x-deeplearning | a54f2fef1794274cbcd6fc55680ea19760d38f8a | 781545783a4e2bbbda48fc64318fb2c6d8bbb3cc | refs/heads/master | 2020-05-09T17:06:00.495080 | 2019-08-15T01:45:40 | 2019-08-15T01:45:40 | 181,295,053 | 1 | 0 | Apache-2.0 | 2019-08-15T01:45:41 | 2019-04-14T10:51:53 | PureBasic | UTF-8 | C++ | false | false | 1,479 | cc | #include "gtest/gtest.h"
#include "ps-plus/common/data_source.h"
#include "ps-plus/common/hdfs_data_source.h"
#include "test/util/hdfs_launcher.h"
using ps::Status;
using ps::DataClosure;
using ps::HdfsDataSource;
class MockHdfsDS : public HdfsDataSource {
public:
MockHdfsDS(const std::string &file_path, size_t fil... | [
"yue.song@alibaba-inc.com"
] | yue.song@alibaba-inc.com |
3a543800a7368b90afec7978766bee7892e4c891 | 9fa292d97ceb374068d355bd41097d0407d68bd3 | /src/rspf/plugin/rspfSharedObjectBridge.cpp | e3d04c041b114dfcb82dbe97f16b8f7c84a3a40e | [] | no_license | mfkiwl/rspf_v2.0 | 4d90153b92cc416663c798e05f87e348ad8792ef | f22d2707b775a4776fc8359a255f39c26ecc96a3 | refs/heads/master | 2021-05-27T04:36:34.132569 | 2013-07-16T04:04:12 | 2013-07-16T04:04:12 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 63 | cpp | #include <rspf/plugin/rspfSharedObjectBridge.h>
extern "C"
{
}
| [
"loongfee@gmail.com"
] | loongfee@gmail.com |
4b9e6a337e3f611ea2b5662efa9f71c67acc09b2 | 44bfa7c4c299558a0d8e948b117ac4a25c719b3b | /PaddleCV/rrpn/models/ext_op/src/rotated_anchor_generator_op.cc | 854245aaa2ce80024d608fb76fda001b48a505ac | [
"Apache-2.0"
] | permissive | littletomatodonkey/models | 408b53a1948df677685b61e9be24e86a513ffc94 | a60babdf382aba71fe447b3259441b4bed947414 | refs/heads/develop | 2022-10-21T18:46:19.606900 | 2020-04-27T14:36:08 | 2020-04-27T14:36:08 | 230,208,446 | 5 | 3 | Apache-2.0 | 2021-12-20T12:23:37 | 2019-12-26T06:29:32 | Python | UTF-8 | C++ | false | false | 7,008 | cc | /* Copyright (c) 2019 PaddlePaddle Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or... | [
"noreply@github.com"
] | littletomatodonkey.noreply@github.com |
e777c48e5f243922c0bddf40b612eab02555a808 | 5bbb7a0aacf260e5c85b2411c877f68576035a58 | /Unit6/split_str6.cpp | cc22be01de6b56c36550211bb6daa896eac62e81 | [] | no_license | HeidiTran/accelerated-c-barbara-moo-andrew-koenig | 80ed03c62f99fe895c6b1da77584fc2e4dd8bb5c | 8205d590ac6b08c83b0cccc3e2ba50ddcf650025 | refs/heads/master | 2022-04-10T21:40:48.581780 | 2020-03-08T15:58:24 | 2020-03-08T15:58:24 | 160,249,414 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,788 | cpp | // This program break a line of input into words
#include "stdafx.h"
#include <iostream>
#include <vector>
#include <string>
#include <cctype>
#include <algorithm>
#include <iterator>
#include <list>
using namespace std;
bool isSpace(const char& c)
{
return isspace(c);
}
bool not_space(const char& c)
{
return !is... | [
"HeidiTran1410@gmail.com"
] | HeidiTran1410@gmail.com |
37196b6e131ba535a1c189d610ed0f17a2c2e504 | 75e6a8b381afd2d7cb597004a9a6496d439b3a2b | /lib/rc-switch/RCSwitch.h | 36a28407d368d9dbdce224948f8d376e6ad5abd2 | [
"MIT"
] | permissive | SmbatYeranyan/firmware-iot-home-control | 32564ba38b85a4cf79a8fc5c204ee1beaa3ec66d | eed8d214c9d5b55e372868925ce25603e024c42e | refs/heads/master | 2020-12-25T15:17:58.201103 | 2016-11-02T08:55:59 | 2016-11-02T08:55:59 | 64,009,256 | 0 | 0 | null | null | null | null | ISO-8859-3 | C++ | false | false | 4,938 | h | /*
RCSwitch - Arduino libary for remote control outlet switches
Copyright (c) 2011 Suat Özgür. All right reserved.
Contributors:
- Andre Koehler / info(at)tomate-online(dot)de
- Gordeev Andrey Vladimirovich / gordeev(at)openpyro(dot)com
- Skineffect / http://forum.ardumote.com/viewtopic.php?f=2&t=46
- D... | [
"smbat.yeranyan@gmail.com"
] | smbat.yeranyan@gmail.com |
6e9bb3a2414ebe55ef2522d87b36d2c1ea27db6f | 8b69b0fa5665d972658b9a0b8609e2f6722658dd | /QtUtility/minidump.cpp | f5b6c534dbe4cb8364598e77e2bfa48851c6a386 | [] | no_license | hcz362329/hcz362329-QtUtility | 19cbdb59a920573d0882a053d599e016a7237beb | b7c16fdad89b1b917e4b463838f81502dc9b00ee | refs/heads/master | 2022-11-15T08:16:43.047133 | 2020-07-08T03:55:04 | 2020-07-08T03:55:04 | 250,267,308 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 10,249 | cpp | #include "MiniDump.h"
#include "Shlwapi.h"
#pragma comment(lib,"Shlwapi.lib")
static void hprintf(HANDLE LogFile, LPCTSTR format, ...)
{
TCHAR buffer[2000]; // wvsprintf never prints more than one K.
va_list arglist;
va_start(arglist, format);
wvsprintf(buffer, format, arglist);
va_end(arglist);
DWORD NumBytes... | [
"hcz362329@163.com"
] | hcz362329@163.com |
8fc1fcfe48157816f39c1b961a75fd81dbc832d7 | 56b063c7daaa33fe03d15373261d9432b7204626 | /examples/01_Polling/ErriezMCP23017_MultiplePins/ErriezMCP23017_MultiplePins.ino | bc59ebac25bdcdb95be8769ea3128dc2e7b43a51 | [
"MIT"
] | permissive | Erriez/ErriezMCP23017 | d16e6c280db0036cb736d0f150cf5d7f2f64b23c | 93b431d8059bff3590e6c2baa0433f3005477a2b | refs/heads/master | 2021-05-26T22:53:44.806736 | 2020-09-06T09:34:06 | 2020-09-06T09:34:06 | 254,180,771 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,741 | ino | /*
* MIT License
*
* Copyright (c) 2020 Erriez
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, m... | [
"erriez@users.noreply.github.com"
] | erriez@users.noreply.github.com |
ac49f19d18ce1d80ece1f16509d2b29b441cffed | 54cfb83f5ad185d343562b812723b8fc59c75d5b | /Mega Man X3/Mega Man X3/QuadTree.h | ea1405d2102a3399caa15950edb694abbea93dc2 | [] | no_license | vantranguit920/Game-MegamanX3 | 3a98db9be2471c6d83b15f02553d8f34b40ad9ff | 58fe7924d7c3395a7b361a30bd55a28961a4fdf5 | refs/heads/master | 2022-01-31T06:18:25.652911 | 2019-06-05T08:04:17 | 2019-06-05T08:04:17 | 190,344,169 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 615 | h | #pragma once
#include <d3dx9.h>
#include <d3d9.h>
#include <vector>
#include "Viewport.h"
#include "Object.h"
class QuadTree
{
protected:
int GetIndex(RECT r);
void Split();
bool IsContain(RECT r);
public:
QuadTree();
QuadTree(int level, RECT bound);
~QuadTree();
void Clear();
void InsertObject(Object *... | [
"="
] | = |
5b128d41003329c693cded6d8d74c457ed970a2c | 584a9ef92a9eb07d34f1df5e1f7a6aa64528193c | /Vector.inl | fff012780485056e109231ff6372e2d6d69e4da4 | [] | no_license | hp298/Hand-Writing-Recognition-Project | b2cf245f6e3892c1d71933704f03f63a7aac7803 | 6b251c42dba06580df0a3a0ccc51eb77fec0e830 | refs/heads/master | 2022-12-18T08:46:49.919831 | 2020-09-26T15:00:40 | 2020-09-26T15:00:40 | 298,836,363 | 0 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 4,008 | inl | //========================================================================
// Vector.inl
//========================================================================
// Implementation of Vector.
#include "ece2400-stdlib.h"
#include "sort.h"
//'''' ASSIGNMENT TASK '''''''''''''''''''''''''''''''''''''''''''''''''''
// I... | [
"noreply@github.com"
] | hp298.noreply@github.com |
607d13340523fee829413d8f7b4ab7ada967b1d6 | 923848f44bb26cc20724bbe9d605b384a236e80c | /Лабораторная работа№9.cpp | d70e9eb1b83f80728a74adecac6740f130753f12 | [] | no_license | AlisaTarasova/Laboratory_9 | 8097c4fddc4002b153ea05929a6d3c14edcb0ad6 | e3d0d11977bc664245a4f1a849039a8613e8f466 | refs/heads/main | 2023-04-29T22:17:52.975334 | 2021-05-22T09:56:15 | 2021-05-22T09:56:15 | 369,772,168 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,045 | cpp | #include <iostream>
#include <fstream>
#include <string>
using namespace std;
void Vvod(int N1, int N2, int n)
{
if (N2 - N1 == 1)
{
cout << "Между строками N1 и N2 нет строк."<<endl;
}
else
{
ifstream F1("F1.txt");
ofstream F2("F2.txt");
if (F1.is_open() && F2.is_op... | [
"noreply@github.com"
] | AlisaTarasova.noreply@github.com |
e354035c7126ffec8166505540f358db6739ebad | 299d2a05d40c2962332abc83e203a3160906d53b | /w1_SimpleEcho/eServer.cpp | bd874e9448d8da8ca764869bdb4aa0921d96f11d | [] | no_license | woodok/w1_SimpleEcho | de49bc275f49926e9b6af21e3cc79f5a25777346 | 99af62f2e5f4186c0a7787885ba4ba961fce9446 | refs/heads/master | 2020-12-24T14:01:19.998896 | 2015-07-08T06:02:28 | 2015-07-08T06:02:28 | 37,452,633 | 0 | 0 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 3,483 | cpp | #include <iostream>
//#include <stdio.h>
#include <cstdio>
//#include <stdlib.h>
#include <cstdlib>
#include <process.h>
#include <WinSock2.h>
#include <Windows.h>
#define BUF_SIZE 100
#define READ 3
#define WRITE 5
typedef struct
{
SOCKET hClntSock;
SOCKADDR_IN clntAdr;
} PER_HANDLE_DATA, *LPPER_HANDLE_DATA;
type... | [
"newwoodok@gmail.com"
] | newwoodok@gmail.com |
0e20fdbd84c58b50c7371ecf21d8b78d3b5591b5 | 4351f7b1d0f8e9a7168525ae17515cc802b6c254 | /W452. Minimum Number of Arrows to Burst Balloons.cpp | 78dce7f8391b294b157cd003646259573675bf82 | [] | no_license | PluckyCoward/WCH_IS_DEAD | a55034e0e5ea0f3a32e1bbec871fdcaf3be8a129 | db20f4ab3388bb310d9cdf9ffdd13e863f9159ec | refs/heads/master | 2023-02-17T19:08:25.082897 | 2021-01-15T09:59:42 | 2021-01-15T09:59:42 | 234,245,320 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 484 | cpp | class Solution {
public:
int findMinArrowShots(vector<vector<int>>& points) {
if(points.empty())
return 0;
sort(points.begin(), points.end(), [](const vector<int> &u, const vector<int> &v){
return u[1] < v[1];
});
int pos = points[0][1];
int res = 1;
... | [
"Wchoward@users.noreply.github.com"
] | Wchoward@users.noreply.github.com |
648c59e40264057e7f76dd20d811ae6b6f6c48ec | ee6a7af57576d722e4c1fe8a0ac1cf47f6c2aa46 | /2-C++E-commerce platform-2021-lab2/src/screen_jump.cpp | 9e80924331b7c82806e62b72c181f55fe074eba6 | [] | no_license | WZH-hub/C-E-commerce-platform-2021 | 3e544e034b4b349e035c9a598c84ef6d5417770a | 9f4b65d742b4ae75978670a12d20c8ac15f7cef1 | refs/heads/master | 2023-06-25T09:42:33.380862 | 2021-07-29T07:48:14 | 2021-07-29T07:48:14 | 390,638,643 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 16,199 | cpp | #include "screen_jump.h"
using namespace std;
user_func user;
int screen_jump::screen_01()
{
int change = 0;
cout << "****************************************" << endl;
cout << "What do you want to do?" << endl;
cout << "0) quit." << endl;
cout << "1) show all goods." << endl;
cout << "2) sho... | [
"wangzhenhao137@163.com"
] | wangzhenhao137@163.com |
4c12c938b71e24c55c0ca8884a012fa9d8ca3166 | a93f5a41959faa793f4f22c439ad4c1ea92668b8 | /AntsBook/2_3_7/main03.cpp | 7d28f1fd7e099e0566a856969134e46d08b4c4e4 | [] | no_license | admiswalker/i-am-learning-coding | 08a473da773d0e2e67d44462c2d7dee83fa0adac | 9c0d152d313aae06affdf0823fd59a188705d8f8 | refs/heads/master | 2021-07-07T05:21:09.871137 | 2020-12-21T23:55:42 | 2020-12-21T23:55:42 | 218,574,075 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 590 | cpp | // ref of base: ants book page. 66
#include <bits/stdc++.h>
using namespace std;
void dps(const int n, const int m, const int mod){
vector<int> dp(m+1, 0);
dp[0] = 1;
for(int i=1; i<=m; ++i){
for(int j=0; j<=n; ++j){
if(j-i>=0){
dp[j] += dp[j-i];
dp[j] %... | [
"admiswalker@gmail.com"
] | admiswalker@gmail.com |
ac5357d253d193d658044d9db0bc6ee8b48cfaa4 | 61c49d20245da7c4af2bf745978997eafae76350 | /c-plus-plus-como-programar/cap-6-funcoes-recursao/funcao_argumento_void.cpp | 3e5df05ef9cff640455d59ceaced6acc6ba003db | [] | no_license | virginiasatyro/c-plus-plus | c71c59a1cb75ff36d116e72a70cd226cdebc68d8 | 69a57494fc2a82dc3285b93798f9ec8210d8057f | refs/heads/master | 2022-11-24T10:50:22.741089 | 2020-07-28T22:46:00 | 2020-07-28T22:46:00 | 147,515,932 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 662 | cpp | /***********************************************************************************
* File: funcao_argumento_void.cpp
* C++
* Author: Virgínia Sátyro
* License: Free - Open Source
* Created on 2020 April
*
* Funções que não aceitam argumentos.
*******************************************************************... | [
"vivi_satyro@hotmail.com"
] | vivi_satyro@hotmail.com |
99dd3e134bcd8195c630cd63bfc6fcff87c543c2 | cfeac52f970e8901871bd02d9acb7de66b9fb6b4 | /generated/src/aws-cpp-sdk-networkmanager/source/model/DisassociateCustomerGatewayRequest.cpp | 4efe4b511fa98be672f358814b63b0f386e09290 | [
"Apache-2.0",
"MIT",
"JSON"
] | permissive | aws/aws-sdk-cpp | aff116ddf9ca2b41e45c47dba1c2b7754935c585 | 9a7606a6c98e13c759032c2e920c7c64a6a35264 | refs/heads/main | 2023-08-25T11:16:55.982089 | 2023-08-24T18:14:53 | 2023-08-24T18:14:53 | 35,440,404 | 1,681 | 1,133 | Apache-2.0 | 2023-09-12T15:59:33 | 2015-05-11T17:57:32 | null | UTF-8 | C++ | false | false | 628 | cpp | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/networkmanager/model/DisassociateCustomerGatewayRequest.h>
#include <aws/core/utils/json/JsonSerializer.h>
#include <utility>
using namespace Aws::NetworkManager::Model;
using namespac... | [
"sdavtaker@users.noreply.github.com"
] | sdavtaker@users.noreply.github.com |
06267d7d1ca36e8e64fc0dd7c0b5efea8ee4c380 | 4bb00c27ab23f3410adbe990d1f26c5b57eebadc | /CPAR-Project1/MatrixMultiplicationCLI.cpp | 3ea329ff19bc72baabc1bed65a604035e8be033e | [] | no_license | carlosmccosta/Distributed-Prime-Sieve | 680d4d8e94643f5e26cb49aab4df53d08b24342c | dd6ac055f44c5d48732c5b75049fe62ee1f5ddd2 | refs/heads/master | 2016-09-05T17:11:48.374641 | 2014-11-26T14:16:39 | 2014-11-26T14:16:39 | 17,256,999 | 5 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,647 | cpp | #include "MatrixMultiplicationCLI.h"
MatrixMultiplicationCLI::MatrixMultiplicationCLI(void) {}
MatrixMultiplicationCLI::~MatrixMultiplicationCLI(void) {}
int main() {
ConsoleInput::getInstance()->clearConsoleScreen();
int option = 1;
bool roundLoaded = false;
do {
ConsoleInput::getInstance()->clearConsoleScr... | [
"carloscosta.cmcc@gmail.com"
] | carloscosta.cmcc@gmail.com |
1347f8d6ffe50fbb53937df29c2e8c2c428c4733 | 1af1f8f18ef5b8e2218133f20aac1bbd0060ec55 | /CSound Manager/CSound/CSoundComponent.h | 0ad0c67a44c5cb346aeefe1e716a51c2bc479935 | [] | no_license | ReDEnergy/3DSound-Prototypying | c589ba3a13b2a2bb7cd458faec0b4b1db1e969dc | 9e7c2daa09739460bd634f977d2f95f918ec338a | refs/heads/master | 2021-01-10T16:15:52.761219 | 2017-07-03T19:57:17 | 2017-07-03T19:57:17 | 49,384,240 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 791 | h | #pragma once
#include <vector>
#include <CSound/CSoundEntity.h>
#include <CSound/CSoundForward.h>
#include <CSound/CSoundComponentProperty.h>
#include <CSound/Templates/CSoundList.h>
class DLLExport CSoundComponent
: public CSoundEntity
, public CSoundList<CSoundComponentProperty, CSoundComponent>
{
public:
CSou... | [
"gabriel.ivanica@gmail.com"
] | gabriel.ivanica@gmail.com |
4179c5a6a547b10dc36bd13fb2c3ece17ff8a315 | 82bba04be05e518845b99d749a3293668725e9e7 | /QHG3/common/PolyLine.h | 5cdaac7b1170fd4424fb64bb0653d1e25bc4ac17 | [] | no_license | Achandroth/QHG | e914618776f38ed765da3f9c64ec62b983fc3df3 | 7e64d82dc3b798a05f2a725da4286621d2ba9241 | refs/heads/master | 2023-06-04T06:24:41.078369 | 2018-07-04T11:01:08 | 2018-07-04T11:01:08 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 975 | h | /*============================================================================
| PolyLine
|
| representation of a piecewise linear function
|
| Author: Jody Weissmann
\===========================================================================*/
#ifndef __POLYLINE_H__
#define __POLYLINE_H__
#include <vector>
#i... | [
"jody@aim.uzh.ch"
] | jody@aim.uzh.ch |
88acb98f2abdaf02ec07fc34165a6637d154f116 | 948a6bbb8ef60a97c4350bf1fbccbc972bbfcb4f | /thirdparty/Indy10/C18/Win32/Release/IdSASL_CRAMBase.hpp | c90708b74a4536c49d46173c6c250099116d99ee | [] | no_license | hotsoft/components | 504c6935b892c74796a8cbec91736185507ed149 | 2d41768ff68c0c6535a1ee40f3e8abc90cb19c9b | refs/heads/master | 2023-09-03T22:46:13.153273 | 2023-08-18T13:16:19 | 2023-08-18T13:16:19 | 14,142,719 | 5 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,466 | hpp | // CodeGear C++Builder
// Copyright (c) 1995, 2013 by Embarcadero Technologies, Inc.
// All rights reserved
// (DO NOT EDIT: machine generated header) 'IdSASL_CRAMBase.pas' rev: 25.00 (Windows)
#ifndef Idsasl_crambaseHPP
#define Idsasl_crambaseHPP
#pragma delphiheader begin
#pragma option push
#pragma option -w- ... | [
"desenv7@labplus.com.br"
] | desenv7@labplus.com.br |
8b318fecee9b8af41fd28f50b728bb9aa4733253 | 773357b475f59bbdde3a2de632638fef976e330a | /src/TopDownCameraController.h | c74ac1e19a181dede2df9f9f066c7fbe290501c0 | [
"MIT"
] | permissive | q4a/GLKeeper | 568544cc86a88536f104f7f38d6e018a62e47510 | a2207e2a459a254cbc703306ef92a09ecf714090 | refs/heads/master | 2022-11-25T08:32:44.100454 | 2020-06-26T11:36:25 | 2020-06-26T11:36:25 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,799 | h | #pragma once
#include "CameraController.h"
class TopDownCameraController: public CameraController
{
public:
TopDownCameraController();
// set 3rd person camera params
// @param yawDegrees, pitchDegrees: Yaw and pitch specified in degrees
// @param distance: Distance to focus point
void Set3rd... | [
"codename.cpp@gmail.com"
] | codename.cpp@gmail.com |
55b45ca44eec1e742434e575279ceafe49bec09b | e2d8baee41d39d078aa4c866f11e3f70b006407b | /XMLlib/SRC/XMLNameSpace.h | 1fdaa702004e1c5e33bb9448ae97f06052129218 | [] | no_license | b-swat/XML | 0a909827f39d7e8e4e28367b464392a6069ce5fa | 9e0d5f161cd0a55090e90cf41000683cb4c79bd4 | refs/heads/master | 2021-09-27T19:51:50.621381 | 2018-11-11T03:05:41 | 2018-11-11T03:05:41 | 143,589,133 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 439 | h | #pragma once
#include <vector>
#include "../stdafx.h"
#include "XMLNode.h"
#include "XMLString.h"
namespace XML
{
class XMLNameSpace
{
char m_quote;
XMLString m_name;
XMLString m_path;
public:
XMLNode *nodeOwner;
XMLNameSpace(XMLString &_name, XMLString &_path, char _quote);
~XMLNameSpace... | [
"work@ELIS"
] | work@ELIS |
cd3644731dac7b60a6ff028e0f100a23c0adb291 | 740fdf1cca74bdb8f930a7907a48f9bdd9b5fbd3 | /content/shell/android/linker_test_apk/chromium_linker_test_android.cc | 6e8ef567e98c644416f235d22613e8c800c91688 | [
"BSD-3-Clause"
] | permissive | hefen1/chromium | a1384249e2bb7669df189235a1ff49ac11fc5790 | 52f0b6830e000ca7c5e9aa19488af85be792cc88 | refs/heads/master | 2016-09-05T18:20:24.971432 | 2015-03-23T14:53:29 | 2015-03-23T14:53:29 | 32,579,801 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,495 | cc | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "base/android/jni_android.h"
#include "base/android/jni_onload_delegate.h"
#include "content/public/app/content_jni_onload.h"
#include "content/p... | [
"hefen2007303257@gmail.com"
] | hefen2007303257@gmail.com |
20ba8558a6045e8c83e646c9c12c01dbaea8c24b | 081642f0c0486db9bede51f2e9308baf257ac097 | /PDFWriter3_6/PDFWriterTestPlayground/WindowsPath.cpp | 5598495389c6bd7fbef8d9ec789cfd55ab88b85c | [
"Apache-2.0"
] | permissive | Hopding/hummus-ios-build | 3f1d1f70f3832e58f52930d4e609b43192f7f4a3 | 28292bfdb2a8551bdcb87a4d1a009e16455d2e41 | refs/heads/master | 2021-01-16T19:08:45.999760 | 2018-02-25T16:43:07 | 2018-02-25T16:43:07 | 100,146,456 | 2 | 1 | null | 2018-02-25T16:43:08 | 2017-08-13T01:24:08 | C | UTF-8 | C++ | false | false | 4,419 | cpp | #include "WindowsPath.h"
#include <sstream>
WindowsPath::WindowsPath(void)
{
}
WindowsPath::WindowsPath(const string& inPath)
{
SetPathFromString(inPath);
}
WindowsPath::~WindowsPath(void)
{
}
void WindowsPath::SetPathFromString(const string& inPath)
{
// path is expected to be either <driveLe... | [
"andrew.dillon.j@gmail.com"
] | andrew.dillon.j@gmail.com |
2684fbb6d34fc189b3ebd26e490a26db85da0658 | 8cc6d6f590285ef00e0f30e0151c4d407847b651 | /build_test/windows-build/Sources/include/kha/Resource.h | 469d20cbde6723c63ce05f3a900bd23936d2c707 | [] | no_license | piboistudios/ArmoryDeformIssues | e087d5097af74f958fd89dd8dd17ca57627bf6d1 | 84e8b14c5098a4a4db310c5177c5dcd46f40212d | refs/heads/master | 2020-03-24T11:42:11.270376 | 2018-07-28T16:33:45 | 2018-07-28T16:33:45 | 142,692,926 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | true | 582 | h | // Generated by Haxe 3.4.4 (git build master @ 99b08bb)
#ifndef INCLUDED_kha_Resource
#define INCLUDED_kha_Resource
#ifndef HXCPP_H
#include <hxcpp.h>
#endif
HX_DECLARE_CLASS1(kha,Resource)
namespace kha{
class HXCPP_CLASS_ATTRIBUTES Resource_obj {
public:
typedef hx::Object super;
HX_DO_INTERFACE_RTTI;
vo... | [
"gabriel.speed.bullock@gmail.com"
] | gabriel.speed.bullock@gmail.com |
195dc15f0ac104f216e880dd22001d05a52e3d26 | b1cca159764e0cedd802239af2fc95543c7e761c | /ext/libgecode3/vendor/gecode-3.7.3/gecode/iter/values-map.hpp | e999bb671c8f30306a321e2b80ccdb32ce397b75 | [
"MIT",
"Apache-2.0"
] | permissive | chef/dep-selector-libgecode | b6b878a1ed4a6c9c6045297e2bfec534cf1a1e8e | 76d7245d981c8742dc539be18ec63ad3e9f4a16a | refs/heads/main | 2023-09-02T19:15:43.797125 | 2021-08-24T17:02:02 | 2021-08-24T17:02:02 | 18,507,156 | 8 | 18 | Apache-2.0 | 2023-08-22T21:15:31 | 2014-04-07T05:23:13 | Ruby | UTF-8 | C++ | false | false | 3,769 | hpp | /* -*- mode: C++; c-basic-offset: 2; indent-tabs-mode: nil -*- */
/*
* Main authors:
* Christian Schulte <schulte@gecode.org>
*
* Copyright:
* Christian Schulte, 2008
*
* Last modified:
* $Date: 2010-07-29 01:35:33 +1000 (Thu, 29 Jul 2010) $ by $Author: schulte $
* $Revision: 11294 $
*
* ... | [
"dan@getchef.com"
] | dan@getchef.com |
89ba0fa00df3fdb92accdec1a870195cc8a5f302 | 5568848932432e0b913c8052ada26a56620525ac | /tensorflow/core/kernels/sparse_xent_op.h | cf28d4a07ef49e94c126847e334b940ec414c12e | [
"Apache-2.0"
] | permissive | agouwin/udacity_deep_learning_homework | 96eb49b99817bd050e4d011f2aad84e9eefb6e36 | bbfa69be8685a5070c4a97d50e94bd4b37c5ce44 | refs/heads/master | 2022-12-25T07:15:27.941679 | 2016-03-06T18:38:46 | 2016-03-06T18:38:46 | 52,696,105 | 0 | 0 | Apache-2.0 | 2022-12-14T18:17:08 | 2016-02-28T00:34:23 | C++ | UTF-8 | C++ | false | false | 7,702 | h | /* Copyright 2015 Google Inc. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in ... | [
"vrv@google.com"
] | vrv@google.com |
916fe8bb2128e9fe1d6b7da54d960d1d9ff938d8 | 416fd0f6e8537dc1a11025d11e0be40c3948d304 | /src-es/Menu.cpp | 2fcb6344e2774e1ac49afe90a54950f45e6347de | [] | no_license | fabiopichler/ZeldaOLB-SDL2 | a5a3b1db692286ad66bda2e569374abaabc7d4c2 | d30a0c1436163e8da7fcaac0eb953eed35fcf3f4 | refs/heads/master | 2022-10-30T20:39:48.533757 | 2020-06-12T20:41:06 | 2020-06-12T20:41:06 | 266,054,320 | 0 | 0 | null | null | null | null | ISO-8859-1 | C++ | false | false | 19,655 | cpp | /*
Zelda Oni Link Begins
Copyright (C) 2006-2008 Vincent Jouillat
Please send bugreports with examples or suggestions to www.zeldaroth.fr
*/
#include <sstream>
#include <iostream>
#include <string>
#include <SDL2/SDL.h>
#include <SDL2/SDL_image.h>
#include "Menu.h"
#include "Texte.h"
#include "Joueu... | [
"fabiopichler1992@gmail.com"
] | fabiopichler1992@gmail.com |
6754b285c9b4e8616961a99b8046e28ee3554c92 | 3c09d1c279c8578791dae535852c06e09efad4a1 | /Projects/Safet Sunay/Bingo 12.10.2014/Bingo/src/BingoEfect.cpp | 884f11cc619fe717fcc5a8aa63753ea4ef633471 | [] | no_license | rosen90/GitHub | f00653f8a65cdffc479b70d2d7ca8f9e103d3eeb | 851d210f2f6073d818e0984fa9daab96e833b066 | refs/heads/master | 2016-09-12T23:57:19.530896 | 2016-05-04T22:09:03 | 2016-05-04T22:09:03 | 58,085,509 | 0 | 0 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 3,710 | cpp | /*
* BingoEfect.cpp
*
* Created on: 9.10.2014 ã.
* Author: sony
*/
#include "BingoEfect.h"
SDL_Renderer* BingoEfect::renderer;
int BingoEfect::cutColor;
BingoEfect::BingoEfect()
{
renderer = NULL;
efectTexture = NULL;
degrees = 0;
process = 0;
cuttingColor.reverse = 0;
cutColor = 0;
cuttingColor.g =... | [
"karadinev@gmail.com"
] | karadinev@gmail.com |
943f8e268e15c88c2b00eac0c9a41ee547ebae28 | 8934affdf9942be1ad55c40833e32d630b0712a7 | /LumenEngine-core/Material.cpp | 7f285d1bb37c982fc9a340c576b944044e4c5a3b | [] | no_license | wyattjhammond/LumenEngine | 0a665dee203f5138069ae2a7d04ded8117652b9e | 62572114fad82c2364e6e90d5b0881577dc39b41 | refs/heads/master | 2021-06-17T22:50:48.663676 | 2017-06-27T14:24:09 | 2017-06-27T14:24:09 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 795 | cpp | #include "Material.h"
Material::Material(unsigned numOfShaders, const char ** shaders)
{
m_numOfShaders = numOfShaders;
m_shaderPaths = new char*[numOfShaders];
for (unsigned i = 0; i < numOfShaders; ++i) {
unsigned len = strlen(shaders[i]) + 1;
m_shaderPaths[i] = new char[len];
strcpy_s(m_shaderPaths[i], len... | [
"stonegrump@gmail.com"
] | stonegrump@gmail.com |
e5c8712331ab126b4c9289f312160ff10b1c6cce | 44227276cdce0d15ee0cdd19a9f38a37b9da33d7 | /arcane/src/arcane/core/ISharedReference.h | af1a8398fc8fcbc5f89a3bcf4661a3a1e2816bee | [
"Apache-2.0",
"LGPL-2.1-or-later"
] | permissive | arcaneframework/framework | 7d0050f0bbceb8cc43c60168ba74fff0d605e9a3 | 813cfb5eda537ce2073f32b1a9de6b08529c5ab6 | refs/heads/main | 2023-08-19T05:44:47.722046 | 2023-08-11T16:22:12 | 2023-08-11T16:22:12 | 357,932,008 | 31 | 21 | Apache-2.0 | 2023-09-14T16:42:12 | 2021-04-14T14:21:07 | C++ | UTF-8 | C++ | false | false | 2,802 | h | // -*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*-
//-----------------------------------------------------------------------------
// Copyright 2000-2022 CEA (www.cea.fr) IFPEN (www.ifpenergiesnouvelles.com)
// See the top-level COPYRIGHT file for details.
// SPDX-License-Identifier: Apache-2... | [
"Gilles.Grospellier@cea.fr"
] | Gilles.Grospellier@cea.fr |
a7b19ca098742591ab146cc560787106cdb43e2b | 841322eddd57db0b12f6abd685dd399f28be0c68 | /qt_creator_basic/4/build-4_3_myBuddy-Desktop_Qt_5_10_1_MinGW_32bit-Debug/debug/moc_mywidget.cpp | 22b8099f0f4a9b3e3196daed93939698f8c0d474 | [] | no_license | cat1984x/Learning_Qt | c52e030850d254b4a5541968d86c56b5cdf504f7 | 4deaa4e86112c263f5421d2f91b0ba1ca14e482a | refs/heads/master | 2022-01-08T10:24:08.201942 | 2018-05-02T07:19:03 | 2018-05-02T07:19:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,604 | cpp | /****************************************************************************
** Meta object code from reading C++ file 'mywidget.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.10.1)
**
** WARNING! All changes made in this file will be lost!
***********************************************************... | [
"chenyushen1989@gmail.com"
] | chenyushen1989@gmail.com |
ec3704a1b8734cc7aeeecf7a901e39d017d005e0 | 1cbb4b9f4cf513846622d4124588f50347e22eac | /CPP-Programming/week07/assignment/string_op.cpp | c8d7519b03daf7fc0bb713feedf659dd88b193b5 | [] | no_license | googed/coursera-Foundamentals-of-Programming-and-Algorithms | 51831718bebf7cc94aadc80e9ca1339ac06c07f8 | edc394a9d67cb1300c30eef513a588f12a7eea22 | refs/heads/master | 2021-01-15T22:51:37.054239 | 2017-02-26T18:20:14 | 2017-02-26T18:20:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,404 | cpp | #include <iostream>
#include <string>
#include <stdlib.h>
#include <cstdio>
using namespace std;
const int kMaxNum = 20;
string str[kMaxNum];
int number = 0;
char* strItoa = new char[101];
int GotNXL();
string GotS();
string copy();
string add();
int find();
int rfind();
void insert();
void reset();
void print();
void... | [
"zipan@paypal.com"
] | zipan@paypal.com |
331afdb0b4ff52c4e3263d57782ae98fed55337e | 1f63dde39fcc5f8be29f2acb947c41f1b6f1683e | /Boss2D/addon/_old/webrtc-qt5.11.2_for_boss/modules/remote_bitrate_estimator/include/send_time_history.h | 931eb3467eadf3e9d6f3d414aa6e4ad1d6dc59c9 | [
"MIT",
"LicenseRef-scancode-google-patent-license-webrtc",
"LicenseRef-scancode-unknown-license-reference",
"BSD-3-Clause",
"GPL-1.0-or-later",
"LicenseRef-scancode-takuya-ooura",
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-unknown",
"MS-LPL",
"LicenseRef-scancode-google-patent-licen... | permissive | koobonil/Boss2D | 09ca948823e0df5a5a53b64a10033c4f3665483a | e5eb355b57228a701495f2660f137bd05628c202 | refs/heads/master | 2022-10-20T09:02:51.341143 | 2019-07-18T02:13:44 | 2019-07-18T02:13:44 | 105,999,368 | 7 | 2 | MIT | 2022-10-04T23:31:12 | 2017-10-06T11:57:07 | C++ | UTF-8 | C++ | false | false | 2,139 | h | /*
* Copyright (c) 2015 The WebRTC project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contribut... | [
"slacealic@nate.com"
] | slacealic@nate.com |
2f3314d94b1512ac8ba6299dbca288c836f94d67 | 67650d44c0f699a1ed84929fa0d707c373b6f34d | /helloCpp/concurrency/AccountManager.cpp | a0ccadefd5072570c4defe2c1249e9b111a588bd | [] | no_license | SebLKMa/CodingForFun | 1575e87c66103f013474da350b819c3c5bc61950 | 0f891ca2234fc795ff367bae3bf9d223dfbec008 | refs/heads/master | 2020-12-25T18:05:14.509841 | 2018-12-20T07:27:58 | 2018-12-20T07:27:58 | 68,350,257 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 134 | cpp | //#include "stdafx.h"
#include "AccountManager.h"
/*
AccountManager::AccountManager()
{
}
AccountManager::~AccountManager()
{
}
*/
| [
"sebmalikkeung@gmail.com"
] | sebmalikkeung@gmail.com |
3dd6a94e7f414b04e24e8c95810d5e1234757742 | 715e090142030abb0f92fa0d77ce9c0c82c702fc | /Common/src/GLFW_Common.cpp | 2b481dd7ad79409b6ce0319b1d5c77f4492984d7 | [] | no_license | Timmoth/LearningOpenGL | 0fc36bf2916e53825f5e3c513d2e37e6de4d0ed3 | 11448e90994f44d0c8db8221bbce96d6ad0cf8ac | refs/heads/master | 2021-05-04T22:14:09.728645 | 2018-02-19T08:27:28 | 2018-02-19T08:27:28 | 120,018,763 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 878 | cpp | #include "../Headers/GLFW_Common.h"
int InitGLFW() {
cout << "Initializing GLFW library" << endl;
//Perform initialization checks to ensure hardware & software features are available on the machine
if (!glfwInit()) {
//Handle initialization failure
cout << "Error initializing GLFW library" << endl;
return ... | [
"timmoth.jones@gmail.com"
] | timmoth.jones@gmail.com |
61ee977a895fe173df2af32de3a627c7b7353743 | cb9fa06fb616972f94370b69f69efc53ecc7d700 | /keyboard_control/main.cpp | c2d3c0789e966505328cfd078bcae2634c3433cc | [] | no_license | jiachenwei/tiny-utility | f0d71c7cb309c6b911bfe9df777d6d436818754d | 1a7a4b4801ea3d3bf0629f02807e965f9002cf10 | refs/heads/main | 2023-05-11T02:12:47.487367 | 2021-05-31T01:41:06 | 2021-05-31T01:41:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,669 | cpp | /**
* @file main.cpp
* @brief
* @author Chenwei Jia (cwjia98@gmail.com)
* @version 1.0
* @date 2021-05-20
*/
#include <fcntl.h>
#include <stdio.h>
#include <stdlib.h>
#include <sys/ioctl.h>
#include <termio.h>
#include <unistd.h>
#include <iostream>
#include <mutex>
#include <thread>
#define ACCELE_RATE 0.5 ... | [
"cwjia98@gmail.com"
] | cwjia98@gmail.com |
5c96919dcb8ab2ac11fbcde6a86999c725153fdb | ce036ed927ccf735ac51524d7413bed05e2b25c4 | /Y86.h | d6570b0825f9b1ccc025c427bed24c753ec74942 | [] | no_license | reevesjd/lab4 | f0fe0b71cc66888b815050299f7a1e5bdf7468d4 | 845485ae36f3f91a27f814a0151270cc80818330 | refs/heads/master | 2020-04-20T22:32:55.069025 | 2019-02-04T22:38:55 | 2019-02-04T22:38:55 | 169,143,655 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 615 | h | /*
File: Y86.h
Desc: Y86 class declaration
Author: efb
*/
#ifndef Y86_H
#define Y86_H
#include <string>
#include "Memory.h"
#include "ProgRegisters.h"
class Y86 {
Memory memory;
ProgRegisters regs;
/* Private member functio... | [
"ellerhc@student2.cs.appstate.edu"
] | ellerhc@student2.cs.appstate.edu |
0910cc41b52aebe892877b612c6a10f732c4fc2e | 4a5bf98f527d5e3ebb5a372090a093094bd20451 | /617A.cpp | 76e9b72dbaae032273c2d1dd810c1f1f7dd0acf9 | [] | no_license | nc1337/Codeforces | 0af50746109d40da015aa2c44921a8f902958193 | b256bb84b982dd9732903b58c32f6eef7c92f363 | refs/heads/main | 2023-04-19T11:34:46.460367 | 2021-05-17T05:50:47 | 2021-05-17T05:50:47 | 368,062,370 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 261 | cpp |
#include <bits/stdc++.h>
using namespace std;
int main() {
int x;
int cnt = 0;
cin>>x;
while(x != 0) {
cnt += x / 5;
x %= 5;
cnt += x / 4;
x %= 4;
cnt += x / 3;
x %= 3;
cnt += x / 2;
x %= 2;
cnt += x;
x = 0;
}
cout<<cnt;
return 0;
}
| [
"nitinmax1000@gmail.com"
] | nitinmax1000@gmail.com |
4ee680c6139ee956b77be2eb2d21bae23d6cef27 | eff037739063243685ad09d0db639a80d3433c98 | /02-cpp/file-io/fstream.cpp | c5d4522fea4fcba304e348d436af7042b9970d48 | [] | no_license | mahumberto/misc-programming | 34f4cfbcd9f9c404aba25256eb357b5aa17bbd75 | 6e7fbdcac3eca9ee21623ee15c77de74d2befc1a | refs/heads/master | 2023-06-10T07:16:27.436628 | 2017-06-14T16:52:44 | 2017-06-14T16:52:44 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,453 | cpp | /**
* File io basics
* - include <fstream> //includes file stream handle lib
* - ofstream myfile; //for writing to a file
* - ifstream myfile; //for reading a file
* - fstream myfile; //for reading and writing a file
* - myfile.open("fname"); //opens file called fname
* - myfile.close("fname"); //closes f... | [
"ma.humberto@gmail.com"
] | ma.humberto@gmail.com |
bab3c30c887a700af02b545767d01f5ba868c3b9 | 01ae35a36363cdcd8034b9f40e519203428b69ff | /NavigationSystem/src/CPOI.h | db296455fe496a7517188003ae002ca7073da50b | [] | no_license | tanjilul-alam-57/Project1 | 6e1c09d202715b4aaa3a56f52031a7feca578904 | 0abd830795aa15f5fbe178a4fecd472e4a812b2f | refs/heads/master | 2020-04-10T06:36:46.235892 | 2018-12-07T19:17:34 | 2018-12-07T19:17:34 | 160,859,708 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 826 | h | /*
* CPOI.h
*
* Created on: Nov 19, 2018
* Author: Tanjil
*/
#ifndef CPOI_H_
#define CPOI_H_
#include <string.h>
#include <iostream>
#include "CWaypoint.h"
enum t_poi{Resturant,Hotel, Pub, Market, NONE, Park};
using namespace std;
//declaring inheritance and making CWaypoints attribute... | [
"alam.tanjilul@gmail.com"
] | alam.tanjilul@gmail.com |
6be60835ab962dc90e3c4c468c17345f54bf9f6e | 2ada10483cd3f9512034a9da0c1477417e5437bc | /src/practice/src/hackerrank/src/cpp_exception_handling.cpp | 1c5650373f839c7aa793e1574e5642de238ecf0c | [
"BSD-3-Clause"
] | permissive | behnamasadi/data_structure_algorithm | d76f4ba3b1d8c64e30be63dc799e9c16127e656e | ba58f96b4cb1f9a4c4b2dc748aed75370747cbe7 | refs/heads/master | 2021-06-24T10:56:59.249390 | 2021-06-22T16:41:53 | 2021-06-22T16:41:53 | 245,398,545 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 905 | cpp | #include <iostream>
#include <stdexcept>
using namespace std;
int largest_proper_divisor(int n) {
if (n == 0) {
throw invalid_argument("largest proper divisor is not defined for n=0");
}
if (n == 1) {
throw invalid_argument("largest proper divisor is not defined for n=1");
}
for (i... | [
"behnam.asadi@gmail.com"
] | behnam.asadi@gmail.com |
08b764bdd3e3b185bb2ae1fa7712dda1952ec754 | 07fe910f4a2c7d14e67db40ab88a8c91d9406857 | /game/t3/runtime/Runtime_Engine.h | c074a823adc95faabbbb54526781149b650276b4 | [] | no_license | SEDS/GAME | e6d7f7a8bb034e421842007614d306b3a6321fde | 3e4621298624b9189b5b6b43ff002306fde23f08 | refs/heads/master | 2021-03-12T23:27:39.115003 | 2015-09-22T15:05:33 | 2015-09-22T15:05:33 | 20,278,561 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,877 | h | // -*- C++ -*-
//=============================================================================
/**
* @file T3_Runtime_Engine.h
*
* $Id$
*
* @author James H. Hill
*/
//=============================================================================
#ifndef _T3_RUNTIME_ENGINE_H_
#define _T3_RUNTIME_... | [
"hillj@cs.iupui.edu"
] | hillj@cs.iupui.edu |
bafdc4396c1cc874a7ea941c3b50da62370dfeda | f79e67e9dcffadbb9f293510ec03333cec6ab8fe | /Source/ShooterInSnow/BehaviorTree/Tasks/BTTask_Shoot.cpp | c69dec74882310e7d639c9656ffae2a6ec7dc990 | [] | no_license | ali-v-1985/ShooterInSnow | b09401a561c7eeb54a71b872495c79b92aeae015 | 48f5808140ff614c1d93b8d04e9384993cdd5b7f | refs/heads/master | 2022-12-27T13:55:59.031030 | 2020-10-12T00:18:38 | 2020-10-12T00:18:38 | 301,841,158 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 781 | cpp | // Fill out your copyright notice in the Description page of Project Settings.
#include "BTTask_Shoot.h"
#include "EditorBuildUtils.h"
#include "AIController.h"
#include "ShooterInSnow/Characters/ShooterCharacter.h"
UBTTask_Shoot::UBTTask_Shoot()
{
NodeName = TEXT("Shoot");
}
EBTNodeResult::Type UBTTask_Shoot... | [
"ali.valizadeh.h@gmail.com"
] | ali.valizadeh.h@gmail.com |
9942d4993939ebd646cedc2ff5073340cfe493a2 | 88e152e0cb34a79022e4f1cba6d7780e40c7ba19 | /src/Meteor/MapInfo.cpp | e58d19616de3e8a56a2a845ba7fd11abf4d5d73f | [
"MIT"
] | permissive | namse/meteor | a8292499a343dc64193b935e39b3c659d80f9bfd | 635fe8b99079cb5505e9fb1701430d4723f7eb1f | refs/heads/master | 2021-05-26T14:20:20.068395 | 2013-11-06T06:09:12 | 2013-11-06T06:09:12 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,250 | cpp | #include "stdafx.h"
#include "MapInfo.h"
// ----------------------------------------------------------------
// Constructor
// ----------------------------------------------------------------
CMapInfo::CMapInfo( std::wstring mapType )
: m_MapType( mapType )
{
}
// -------------------------------------... | [
"jinus.kr@gmail.com"
] | jinus.kr@gmail.com |
4c8df626849616c45806c6ea64b70d76d1a558cb | d4939b7abaa937359adc5e193a8b634a1edc0754 | /hamdist.cpp | bcec74533d4e3234326f379f80c8d4c183d43fdf | [] | no_license | aadityavikram/Solved_Questions | 60f2d43b15291776d0c75b0f89825452397bac54 | f538f47fca41c5cf7bdc893923f8facc10072a8b | refs/heads/master | 2021-07-13T05:36:35.313482 | 2021-04-12T16:17:06 | 2021-04-12T16:17:06 | 243,957,030 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 334 | cpp | // https://leetcode.com/problems/hamming-distance/
// Solution 1: -
int hammingDistance(int x, int y) {
int x0r=x^y,count=0;
while(x0r){
x0r&=(x0r-1);
count++;
}return count;
}
// Solution 2: -
int hammingDistance(int x, int y) {
return __builtin_popcoun... | [
"noreply@github.com"
] | aadityavikram.noreply@github.com |
af54c3e52e28636b35c85498d3d2be6bdbd7ea03 | 9ff8e317e7293033e3983c5e6660adc4eff75762 | /Source/menu/SGF_OptionPlaymode.cpp | aa754a18187c27335669e2a7f26d16d195ddb86c | [] | no_license | rasputtim/SGF | b26fd29487b93c8e67c73f866635830796970116 | d8af92216bf4e86aeb452fda841c73932de09b65 | refs/heads/master | 2020-03-28T21:55:14.668643 | 2018-11-03T21:15:32 | 2018-11-03T21:15:32 | 147,579,544 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,596 | cpp | /*
SGF - Super Game Fabric Super Game Fabric
Copyright (C) 2010-2011 Rasputtim <raputtim@hotmail.com>
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,... | [
"rasputtim@hotmail.com"
] | rasputtim@hotmail.com |
e9dfefb68f30616593bdc99d0dd678916c335c07 | 05aebd51ced6eee139d3c24aeb0cba9036d0991d | /ExpProcessQt/ExpProcessQt/IO_Center.h | a3ec5b0b18fd3deb620d9ba58d100904a4280642 | [] | no_license | saroad/MEI_Tool | fbac53bdc6a3978621d672a4de2cfe2e65fc5702 | fb7f815ecf27234ef477a2d407d7a58f84053b54 | refs/heads/master | 2021-01-20T19:18:41.440612 | 2016-06-16T17:09:35 | 2016-06-16T17:09:35 | 61,309,717 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,217 | h | #include <iostream>
#include <string.h>
#include <QtGui/QApplication>
#include <QDebug>
#include <QThread>
#include <stdio.h>
#include <stdlib.h>
#include <vector>
#include <algorithm>
#include <time.h>
#include <QMessageBox>
#include "ExpressionList.h"
#include "Expression.h"
#include "AutoIt_Connector.h"
#include "... | [
"saroadmelanka@yahoo.com"
] | saroadmelanka@yahoo.com |
1363380dc1239f8a87ba673d306aaf9a8b128044 | b88bf5e0f138e9b20e823f6d01c302879e6155a1 | /CPP/longest_increasing_subsequence.cpp | 6de8eb2b37df9c13106154a6a4bd68d5e1fa407c | [
"MIT"
] | permissive | anshul3pathi/Project-alpha | 4e828ecb27de9fb90baf6c81ab4958d8d8dcfe85 | 54803533c68b9cfcd4a1f17447a092b15c1d929d | refs/heads/main | 2023-01-10T11:58:38.299315 | 2020-10-27T10:55:35 | 2020-10-27T10:55:35 | 307,665,785 | 0 | 0 | MIT | 2020-10-27T10:38:43 | 2020-10-27T10:38:43 | null | UTF-8 | C++ | false | false | 954 | cpp | #include <iostream>
using namespace std;
int main(){
int length; //number of elements
cin >> length;
int value[length]; //array to store value of elements
for(int i=0; i<length; ++i){
cin>>value[i];
}
/*algorithm:
This problem can be solved using Dynamic Programming.
... | [
"tanaymodani18@gmail.com"
] | tanaymodani18@gmail.com |
c3fa73b93b16bd36ec0e4c6e08ee92a7d214710e | 6c4bcd1ad86869ee15aab228853060b26ed09e3b | /mailnews/imap/src/nsImapUtils.cpp | aa78a8cf384285debf554d4d06357a41de3e333b | [] | no_license | mxOBS/deb-pkg_icedove | 18b43958d7bfc3529dc7de505ab6d31a08446be1 | 10b6a968583b8d721bedcffc87851c569e2467a3 | refs/heads/master | 2021-01-20T08:24:26.807514 | 2015-05-14T13:56:12 | 2015-05-14T13:56:12 | 35,611,831 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,724 | cpp | /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#include "msgCore.h"
#include "nsI... | [
"privacy@not.given"
] | privacy@not.given |
08e75e11d56f187928bba7e42e33ff51a9bb8a29 | e215ac34daff0eda58d978ee097db6c77dcf592e | /menuEngine.h | 6fb21398528f1ed72ff4424db05c43ede8a19ca0 | [] | no_license | nguditis/Mario-Kart | f9dc8227a89127cd6a993178ca06277df03de0a5 | a15060c224759811f62f60b77ecb67d685dc8825 | refs/heads/master | 2020-04-06T11:14:35.640969 | 2018-12-12T22:32:56 | 2018-12-12T22:32:56 | 157,409,285 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 556 | h | #ifndef MENU_ENGINE_H
#define MENU_ENGINE_H
#include <vector>
#include <SDL.h>
#include "menu.h"
class MenuEngine {
public:
MenuEngine ();
~MenuEngine ();
void play();
int getOptionChoice() const { return optionChoice; }
int getTrackNumber() const {return track;}
void setTrack(int track) {track = track;};
... | [
"nguditis@icloud.com"
] | nguditis@icloud.com |
2c51b5d79b5de45f874c42f15559982bd6d7933b | e979844d55c1ef0313d9eb6703e48defbcd29aa1 | /Terabit/tests/P2_Test/Session.cpp | 84e7b3d0cda9bfdd28b6ade5bdb3b8fe01e955f4 | [] | no_license | sue602/Terabit4ACE6.x | cfb365d816b77fdf43836d76fa36dcf854da7005 | 1b1366fc1ae9fd7c42b69f151ece9d1d858ed66f | refs/heads/master | 2021-01-01T06:15:04.594124 | 2017-07-16T15:55:19 | 2017-07-16T15:55:19 | 97,391,901 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 16,737 | cpp | /*********************************************************************
** Copyright (C) 2003 Terabit Pty Ltd. All rights reserved.
**
** This file is part of the POSIX-Proactor module.
**
**
**
**
**
**
**
**
**********************************************************************/
// =============================... | [
"suyinxiang@onemt.com.cn"
] | suyinxiang@onemt.com.cn |
213ee6d131fe02a9b461df0f6b5a4722a49f3df2 | 848ef045c5d0911737cb1f82e202916a46c84844 | /COffer/2_6_bitree.cpp | 8725560e8f934b0f221ae99d37c93e6c4d3c3150 | [] | no_license | flydom/funcode | cd41cdc01a617b018fedfd5a1e620760a4aeb066 | c9cb3b5ca8eca629ded34a9689d959498179b525 | refs/heads/master | 2021-01-16T19:32:04.637889 | 2018-08-12T14:01:22 | 2018-08-12T14:01:22 | 28,263,701 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,811 | cpp |
BinaryTreeNode* BuildCore(int *startPreorder, int *endPreorder,
int *startInorder, int *endInorder)
{
int rootValue = startPreorder[0];
// 构建树或子树的根节点
BinaryTreeNode *root = new BinaryTreeNode();
if (root == NULL)
{
return NULL;
}
root->m_nValue = root... | [
"fzy0201k@gmail.com"
] | fzy0201k@gmail.com |
bd17106de54c85256ef0390f2d6cdc749fd19776 | e26442d07aa93d7beb8376d4bdfdd803c145ba52 | /implement/multicam-win-6.7.0.102256-sampleprograms/Samples/MsVc/DominoSnapshotTrigger/StdAfx.cpp | bdb526903bcdbef5cd1a4ef1e2e937bd356b1043 | [] | no_license | Shelro/bracesEraser | c19c10d2cfca36c8c97695f505dc0f5ada77db6e | 23331c780f601e921c4d51b2adae57280945a1d3 | refs/heads/master | 2020-12-30T12:23:15.132672 | 2017-06-25T06:44:38 | 2017-06-25T06:44:38 | 91,428,927 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 221 | cpp | // stdafx.cpp : source file that includes just the standard includes
// DominoSnapshotTrigger.pch will be the pre-compiled header
// stdafx.obj will contain the pre-compiled type information
#include "stdafx.h"
| [
"inyi13zyy@gmail.com"
] | inyi13zyy@gmail.com |
925dd9d299374e9815b1b11123792f3d92cfe47c | 1786f51414ac5919b4a80c7858e11f7eb12cb1a9 | /POJ1179.cpp | 09ad3caf987fef8a048d461a3836bbffb62e9cfd | [] | no_license | SetsunaChyan/OI_source_code | 206c4d7a0d2587a4d09beeeb185765bca0948f27 | bb484131e02467cdccd6456ea1ecb17a72f6e3f6 | refs/heads/master | 2020-04-06T21:42:44.429553 | 2019-12-02T09:18:54 | 2019-12-02T09:18:54 | 157,811,588 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,282 | cpp | #include <cstdio>
#include <memory.h>
#include <algorithm>
using namespace std;
const int INF=0x3f3f3f3f;
int n,f[110][110][2],maxn=-INF;
struct node
{
int val;
char opt;
}e[110];
inline int max(int a,int b){return a>b?a:b;}
inline int min(int a,int b){return a<b?a:b;}
int main()
{
scanf("%d",&n);
scanf(" %c",... | [
"ctzguozi@163.com"
] | ctzguozi@163.com |
89f91fe9d396f1c3474db31e0429ba4c3234c5ae | 3ff1fe3888e34cd3576d91319bf0f08ca955940f | /cynosdb/src/v20190107/model/DescribeClusterPasswordComplexityRequest.cpp | b7a8e8a7672d55d5952e028d04b7333e90c786d3 | [
"Apache-2.0"
] | permissive | TencentCloud/tencentcloud-sdk-cpp | 9f5df8220eaaf72f7eaee07b2ede94f89313651f | 42a76b812b81d1b52ec6a217fafc8faa135e06ca | refs/heads/master | 2023-08-30T03:22:45.269556 | 2023-08-30T00:45:39 | 2023-08-30T00:45:39 | 188,991,963 | 55 | 37 | Apache-2.0 | 2023-08-17T03:13:20 | 2019-05-28T08:56:08 | C++ | UTF-8 | C++ | false | false | 2,107 | cpp | /*
* Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
... | [
"tencentcloudapi@tencent.com"
] | tencentcloudapi@tencent.com |
4298c8c146de60fb90e024a6db9fba842f4eba82 | e3550d1f2cc802b38c7a8e7da56cb068bf85e57b | /DataStructures/RAPTOR/Entities/ArrivalLabel.h | 67a2564e81b3bb324bcca8227d6b3c3584f403d3 | [
"MIT"
] | permissive | kit-algo/ULTRA-Trip-Based | 6c98006ab8004c9f43999e7fc0e904ed9058bbad | 855f79f1cef89a5aa184700e6761edd9e0800f38 | refs/heads/master | 2022-05-06T08:57:42.036045 | 2022-03-16T15:58:25 | 2022-03-16T15:58:25 | 276,053,058 | 6 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 2,300 | h | /**********************************************************************************
Copyright (c) 2020 Jonas Sauer
MIT License
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 restric... | [
"zuendorf@kit.edu"
] | zuendorf@kit.edu |
6ccd2ed54e0829baf5224dc30a2c43669fb0701f | 5bb5b8b94a081c5312ed94a0e26e649d7b844f7b | /Region.cpp | ce5f64939ffc4bbb46824011ceee29ad2553e37f | [] | no_license | N1kla3/administration-devision | acf9f36f47368c4905c691756b90f4995126a08b | 24dea744d2c1be0179505a0c383294c6c4f438b3 | refs/heads/master | 2020-08-18T13:07:05.402489 | 2019-10-17T09:52:40 | 2019-10-17T09:52:40 | 215,792,555 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 613 | cpp | //
// Created by Kolya on 9/29/2019.
//
#include "Region.h"
Region::Region(std::vector<District> &distr, City* cap, std::string nameOb):capital(cap), districts(distr), name(nameOb){
}
unsigned int Region::getPopulation() {
unsigned int result = 0;
for(auto & iter : districts){
result += iter.getPopul... | [
"kolya.vladimirsky@gmail.com"
] | kolya.vladimirsky@gmail.com |
0f057369175f35f38d2fb9cb2c15f248f626874b | 8fe29627b31630fef4f7b696a9c1e6cf442e1aeb | /PD_shape/scripts/common/laplacian/meshlp/tmesh.cpp | 740ea817a96a06b6c35bfe29c626d973c741fe1c | [] | no_license | ChunyuanLI/Persistence_Diagram | 5b1e8c4b379c1e4e878048abe0f84ee534e6600c | cb5ac8506424cd841feb6bea9a64cb9128d47dc4 | refs/heads/master | 2021-01-21T10:34:19.447413 | 2018-10-23T00:11:45 | 2018-10-23T00:11:45 | 83,454,742 | 6 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 20,642 | cpp | #include <math.h>
#include <queue>
#include <fstream>
#include "tmesh.h"
#include "offobj.h"
typedef unsigned int uint;
double __partcolorgrtable[31][3] = {
{0, 0, 1},
{0, 0.0625, 0.9375},
{0, 0.1250, 0.8750},
{0, 0.1875, 0.8125},
{0, 0.2500, 0.7500},
{0, 0.3125, 0.6875},
{0, 0.3750, 0.6250},
{0, 0.4375,... | [
"cl319@duke.edu"
] | cl319@duke.edu |
e22d695480709e4327d1bfc1b4b7aa2d97ad4428 | a7b00f469b109fa53176a573ebd6d24687db0a42 | /src/GFA_Parser.hpp | 89034dbd5c4b81c56e9f72fd03e9cf9b9f4d9f6f | [
"BSD-2-Clause",
"BSD-3-Clause",
"MIT",
"Apache-2.0",
"CC-BY-3.0"
] | permissive | winni2k/bifrost | 8b3fe23482833644e458d09bf04bf79e7e5437dd | 5be773b3ccc3d432cea4e12ef32a60f17cd3e129 | refs/heads/master | 2021-01-01T12:28:26.407618 | 2020-06-05T18:04:45 | 2020-06-05T18:04:45 | 239,278,677 | 0 | 0 | BSD-2-Clause | 2020-02-09T09:36:23 | 2020-02-09T09:36:22 | null | UTF-8 | C++ | false | false | 3,682 | hpp | #ifndef BIFROST_GFA_PARSER_HPP
#define BIFROST_GFA_PARSER_HPP
#include <string>
#include <cstring>
#include <vector>
#include <sys/stat.h>
#include <stdint.h>
#include <stdio.h>
#include <iostream>
#include <fstream>
#include <sstream>
#include <memory>
using namespace std;
class GFA_Parser {
struct Sequence {
... | [
"guillaumeholley@gmail.com"
] | guillaumeholley@gmail.com |
c59cea5136d20825bac205e984a688f5398f37ab | def2d52900e0d47f166a3632c51346590b387f6e | /lg1313/main.cpp | 39119d246bb9d5e9585d552f1ed87d8634692c6b | [] | no_license | lianix/NOIpStudy | acfd1501d7276c5ce20b600b8c3cb6ddf2a9c1e2 | d0b5f928acb4fbcf64bfa7bbb59d441373daffc4 | refs/heads/master | 2020-06-15T04:29:15.501956 | 2019-04-04T13:00:52 | 2019-04-04T13:00:52 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 745 | cpp | #include <iostream>
#include <cstdio>
#include <string>
#include <algorithm>
using namespace std;
int base=10007;
int d[2000][2000];
int quickPow(int a,int b){
int bas=a;
int ans=1;
while(b){
if(b&1)ans=(ans*bas)%base;
bas=(bas*bas)%base;
b>>=1;
}
return ans;
}
int main() {
int a,b,k,n,m;
cin>>a>>b>>k>>n>... | [
"noreply@github.com"
] | lianix.noreply@github.com |
3e9ec2b21d842b2ff50d27c1f9dc22d6cbd01cf6 | 38c10c01007624cd2056884f25e0d6ab85442194 | /net/android/keystore.cc | 4fa8dbf6329a2f4bed4a6abc7c51eb1a0a3b28d2 | [
"BSD-3-Clause"
] | permissive | zenoalbisser/chromium | 6ecf37b6c030c84f1b26282bc4ef95769c62a9b2 | e71f21b9b4b9b839f5093301974a45545dad2691 | refs/heads/master | 2022-12-25T14:23:18.568575 | 2016-07-14T21:49:52 | 2016-07-23T08:02:51 | 63,980,627 | 0 | 2 | BSD-3-Clause | 2022-12-12T12:43:41 | 2016-07-22T20:14:04 | null | UTF-8 | C++ | false | false | 4,265 | cc | // Copyright (c) 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 "net/android/keystore.h"
#include <vector>
#include "base/android/jni_android.h"
#include "base/android/jni_array.h"
#include "base/logging... | [
"zeno.albisser@hemispherian.com"
] | zeno.albisser@hemispherian.com |
c8ccef9343110dcab3189529752fd6daf3e5736d | 73f0dcdc5c3f06a1d43dfab55ca40c78fe9ee403 | /libgbgui/icon.hpp | 3eecb0ddff91011037491a068db7ebb2e88e4a3b | [] | no_license | mugisaku/gamebaby-20180928-dumped | 6da84972407ec7e8a66b35e3975924f8e6207008 | 10a010db9e6369db334c84c73eef06f96e6834c9 | refs/heads/master | 2021-09-23T00:29:03.519034 | 2018-09-19T05:08:50 | 2018-09-19T05:08:50 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,092 | hpp | #ifndef gbgui_icon_hpp
#define gbgui_icon_hpp
#include"libgbstd/color.hpp"
#include<initializer_list>
namespace gbgui{
namespace icons{
using namespace gbstd;
class
icon
{
public:
static constexpr int size = 16;
private:
color m_data[size][size]={0};
public:
icon(std::initializer_list<int> ls) noex... | [
"lentilspring@gmail.com"
] | lentilspring@gmail.com |
f825c3fe161901b08953d42f01e7aa0472c90c50 | 91ff482968f618098c8faeeca892c6d256ee415c | /cf/617B.cpp | 64363ab8796bfe990e847f4b093db4b3f7de6500 | [] | no_license | Rajat-Goyal/all-over-again | 5728c8d05afc409f103d78f6fbbd3be1bf382793 | a5e4192762febf1666808c4068c83502ef7485fb | refs/heads/master | 2021-01-20T11:18:17.477916 | 2018-10-03T12:12:44 | 2018-10-03T12:12:44 | 83,948,322 | 0 | 1 | null | 2018-10-03T12:12:46 | 2017-03-05T05:48:38 | C++ | UTF-8 | C++ | false | false | 901 | cpp | #include<iostream>
#include<bits/stdc++.h>
#define uint64 unsigned long long int
using namespace std;
int main(){
ios::sync_with_stdio(false);
uint64 n;
cin>>n;
uint64 arr[n];
for(int i=0;i<n;i++){
cin>>arr[i];
}
uint64 l=0,r=0;
uint64 flag = 0 ;
uint64 ans=0;
for(int i=... | [
"rajat1881@gmail.com"
] | rajat1881@gmail.com |
8d43b6bf45d6c401fcdb6c2d78cd08a5e4356242 | dc927839f4697c048fb5607dc75a0d6d8870c917 | /hyphy/trunk/GUIElements/Platform Source/MacOS/WindowClasses/.svn/text-base/HYPlatformDataPanel.cpp.svn-base | 1f65f5965be223c3ca6369de7323f596b7e0a4a7 | [] | no_license | ReiiSky/OCLHYPHY | 1a7637aa456c2427ee013a0c7c9cf9f7919c704e | fc69561b36573795796f8a8790e9bff5fac4a766 | refs/heads/master | 2023-01-11T01:19:24.270971 | 2011-09-20T21:33:05 | 2011-09-20T21:33:05 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 31,447 | /*
Mac OS Portions of the data panel class
Sergei L. Kosakovsky Pond, Spring 2000 - December 2002.
*/
#include "HYTreePanel.h"
#include "HYDataPanel.h"
#include "HYUtils.h"
#include "likefunc.h"
//__________________________________________________________________
bool _HYDataPanel::_ProcessMenuSelection (lon... | [
"martin.audacis@gmail.com"
] | martin.audacis@gmail.com | |
17347f9925e4783cf553a87a1eaa2ce8c07e78fc | 7decc996d7af648d16a27514823c8e613c12aecc | /basic_matrix_operations_example.cc | f804263778577fac620a07750ddb778083af600d | [] | no_license | vfragoso/eigen_labs | b87074c8532b3e05d61837ffb6068f10a4f03ba6 | 10365040be577f70a3b5d13802a1e039568879e3 | refs/heads/master | 2020-09-16T16:15:00.404247 | 2016-09-09T16:50:42 | 2016-09-09T16:50:42 | 67,816,030 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,510 | cc | // Copyright (C) 2016 West Virginia University.
// 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, t... | [
"victor.fragoso@mail.wvu.edu"
] | victor.fragoso@mail.wvu.edu |
fb2455bfbae5bc01370b3405025889a3df7af309 | a9072e3730a9477bdd9e3b846f5d7ade235624aa | /倒写.cpp | 19e949413426366c81d6f2e05b75992fd12a2149 | [] | no_license | maZymaZe/cpp_code | c921c978abfceb692620a46b4fce7f59cf39660d | 7486fe2a967c7a7ddb0022a052932b92a8c967c3 | refs/heads/master | 2022-05-30T16:16:56.096698 | 2022-05-24T04:42:37 | 2022-05-24T04:42:37 | 251,477,503 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 149 | cpp | #include<cstdio>
int main(){
int d[5];
for(int i=1;i<=3;i++){
scanf("%1d",&d[i]);
}
for(int i=3;i>=1;i--){
printf("%1d",d[i]);
}
return 0;
}
| [
"782618517@qq.com"
] | 782618517@qq.com |
906e8d508f5c58031291956d77df5a6b3ba752d2 | 2578cf213bd9428422f370d8ca9de7d014040a5e | /09-Texture/3D Texture.cpp | 4329adca53394a83dba7113a9d502a49d5c4af9b | [] | no_license | Yadnesh-Kulkarni/DirectX11 | 5294478e8d5ac61a247c3924968a405c5e016335 | f4bba6ee7d11e53748398395ddb4700011ae5bc4 | refs/heads/master | 2023-07-26T10:01:44.971698 | 2021-09-14T22:17:25 | 2021-09-14T22:17:25 | 406,536,327 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 39,836 | cpp | #include<Windows.h>
#include<stdio.h>
#include<d3d11.h>
#include<d3dcompiler.h>
#pragma warning( disable: 4838)
#include "XNAMath\xnamath.h"
#include "WICTextureLoader.h"
#pragma comment(lib,"d3d11.lib")
#pragma comment(lib,"USER32.lib")
#pragma comment(lib,"GDI32.lib")
#pragma comment(lib,"KERNEL32.lib")
#pragma co... | [
"ykulkar2@uncc.edu"
] | ykulkar2@uncc.edu |
591d08f58de87ed65422e0cc1ce25a0f93bd6e02 | ee57390d0b7c7299ab37939a3c9b11e427b470ad | /lib/Target/AMDGPU/SIMachineFunctionInfo.h | 8c38cdae5d960087e466bac1630b3909ff8d35af | [
"NCSA"
] | permissive | Hatelix/NyuziToolchain | 2bf3af1da8f63f131590d9d245ea4003ebe0a4c8 | f7f036b55c1839328ee630a1d81919d1f294e801 | refs/heads/master | 2020-04-04T14:17:08.192165 | 2018-05-12T19:33:08 | 2018-05-12T19:33:08 | 155,993,376 | 0 | 0 | NOASSERTION | 2018-11-03T14:56:39 | 2018-11-03T14:56:39 | null | UTF-8 | C++ | false | false | 18,529 | h | //==- SIMachineFunctionInfo.h - SIMachineFunctionInfo interface --*- C++ -*-==//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | [
"jeffbush001@gmail.com"
] | jeffbush001@gmail.com |
beda68bab3c17aea02d36bf051bfcb445b586813 | da9a410dfbb5feefc64f4f10173205a5970cc903 | /3 - Tipos de datos arborescentes/21 - Elemento mínimo de un árbol/21-ElementoMinimoDeUnArbol.cpp | dc49f4fcde488bc9d14db698dfa12ee33776e193 | [] | no_license | alberzos/Estructuras-de-Datos-ED | 111eec42da5d514895f37c3904cce4859caac268 | 194d200d0f808672b0fb06860c91bc720742851d | refs/heads/master | 2022-11-13T22:03:41.439962 | 2020-07-11T11:31:39 | 2020-07-11T11:31:39 | 278,846,961 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,526 | cpp | // ALVARO BERZOSA TORDESILLAS
// F08
#include <iostream>
#include <iomanip>
#include <fstream>
#include <vector>
#include "bintree_eda.h"
template <typename T>
// función que resuelve el problema
T resolver(bintree<T> arbol) {
T minimo = arbol.root();
if(!arbol.left().empty())
minimo = std::min(minimo, reso... | [
"noreply@github.com"
] | alberzos.noreply@github.com |
f553932a7060a7b1e69bb609114c8777e4fa0c21 | 95ab8a21dda989fde5b0796d1488c30128a01391 | /CodeForces/C++/1204C.cpp | 0b0d374dee956af9e4628c171e89db7dcefd5402 | [] | no_license | neelaryan2/CompetitiveProgramming | caa20ffcdee57fb2e15ceac0e7ebbe4e7277dc34 | 959c3092942751f833b489cc91744fc68f8c65d2 | refs/heads/master | 2021-06-28T14:10:50.545527 | 2021-02-15T17:34:03 | 2021-02-15T17:34:03 | 216,887,910 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,655 | cpp | #include <bits/stdc++.h>
using namespace std;
#ifdef LOCAL
#include "trace.h"
#else
#define trace(args...)
#endif
using ll = long long;
using ld = long double;
using pii = pair<int, int>;
using vi = vector<int>;
#define mp make_pair
#define ub upper_bound
#define lb lower_bound
#define fi first
#define se second
#defi... | [
"neelaryan2@gmail.com"
] | neelaryan2@gmail.com |
2931eeb622ba6da3f17a6004e00a88f14a8fbfdd | 50526cc6fa91669fad19264450f0a88d98af5fa3 | /hackerrank/cpp/3_basic_datatypes.cpp | 5188f1b504d138fce0cb120d738c2b8b40fa5bcd | [] | no_license | dvogt23/CodeChallenges | e07a6c5b8d58cf7c1be06e3f38d8a218f19cdee7 | 95513ca9b535cb325390e63c24dabd2ba5475db6 | refs/heads/master | 2022-12-10T09:02:45.334624 | 2022-12-01T21:09:41 | 2022-12-01T21:09:41 | 151,611,815 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 436 | cpp | #include <iostream>
#include <cstdio>
using namespace std;
/*
Sample input:
3 12345678912345 a 334.23 14049.30493
Sample output:
3
12345678912345
a
334.230
14049.304930000
*/
int main() {
// Complete the code.
int i;
long l;
char c;
float f;
double d;
sc... | [
"divogt@live.de"
] | divogt@live.de |
54fd16728b9a79d526936873920e6b3c6992d590 | 0813ecdda1a7c00242a3657da8a9a933a7c37a56 | /miniFS.Core/src/stream/MFSStreamWriter.cpp | d853a1d3ebf16b178f80d13a6b624882090c61f5 | [] | no_license | Lancern/miniFS | ab128b6db008463970e529a94c835ca3de8a0ea6 | 0e5a59e1dec0357c00d3bfde74bd335ebaacf157 | refs/heads/master | 2020-03-27T08:54:23.003551 | 2018-09-16T12:17:12 | 2018-09-16T12:17:12 | 146,296,992 | 1 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 371 | cpp | #include "../../include/stream/MFSStreamWriter.h"
MFSStreamWriter::MFSStreamWriter(MFSStream * stream)
: _stream(stream)
{
}
MFSStream * MFSStreamWriter::GetStream() const
{
return _stream;
}
void MFSStreamWriter::Write(const MFSString & string)
{
_stream->Write(string.GetRawString(), string.GetLength() ... | [
"xh19980325@126.com"
] | xh19980325@126.com |
fcfe2224f2fc63255c087c01590b7f0c42475614 | 6954bd0bc9e45e5d23fa6e4266828a0a421ce779 | /map.h | d075993fe95ecd3e573b361652a67587b4e6544c | [
"Apache-2.0"
] | permissive | SalimTerryLi/WAGLPLANNER | 5e86bc85e03255ebc5ce515ffe02b20f591aa711 | 6adfe7e246a62661f5fcaba29beab90984dfd0c9 | refs/heads/main | 2023-01-12T05:58:36.963671 | 2020-11-18T03:01:31 | 2020-11-18T03:01:31 | 313,789,173 | 0 | 0 | Apache-2.0 | 2020-11-18T01:28:41 | 2020-11-18T01:28:40 | null | UTF-8 | C++ | false | false | 1,343 | h | #ifndef MAP_H
#define MAP_H
#include <QMainWindow>
#include <QPaintEvent>
#include <QPainter>
#include <QDebug>
#include <QPoint>
#include <QColor>
#include <QPen>
#include <QObject>
#include <QEvent>
#include <QFont>
#include <QList>
#include <QStandardItemModel>
#include <QStandardItem>
#include "loa... | [
"noreply@github.com"
] | SalimTerryLi.noreply@github.com |
b95afa84fc3410dafc1b3a4ba8ccb718821444e2 | 374295882c901ee5c6ced8d17ca2b578cd483dd4 | /stack/stack(basic)/nearest smaller to right.cpp | 0c2a6cecab4be9598d223721adeddb958ec1a37c | [] | no_license | chinmay021/Interview-Preparation | 232dba9d7d952fffa9475f8d8282f0edbf498726 | c1b6f3e083025581f7157df887e1b87a9e153e98 | refs/heads/master | 2022-12-15T17:51:41.570297 | 2020-09-12T05:28:19 | 2020-09-12T05:28:19 | 279,581,708 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 614 | cpp | vector<long long> v;
stack<long long> s;
for (long long i = n - 1; i >= 0; i--) // right to left
{
if (s.size() == 0)
{
v.push_back(-1);
}
else if (s.size() > 0 && s.top() < arr[i])
{
v.push_back(s.top());
}
else if (s.size() > 0 && s.top() >= arr[i])
{
while (s.s... | [
"chinmaykumar021@gmail.com"
] | chinmaykumar021@gmail.com |
451d9554cac35b94d5399f33ac69947106b465ed | ee6e6e5ecf3a4e130e46b49dd0868a8b74c703eb | /11th-april-2019/12th-april-2019/poly.cpp | d2a8aafd9d3d51162bc110231a5f815f7dff4691 | [] | no_license | ashishcodekul777/cpp | e5045fffd8f7c9c3f8eed1c1f5929f1bcb57af2a | 077408bf0a86a3694baf1f72c623f8380cf48780 | refs/heads/master | 2022-01-08T03:31:03.488322 | 2019-06-04T12:18:21 | 2019-06-04T12:18:21 | 179,631,505 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 901 | cpp | #include <iostream>
using namespace std;
class Shape {
protected:
int width, height;
public:
Shape( int a = 0, int b = 0){
width = a;
height = b;
}
int area()
{
cout << "Parent class area :" <<endl;
return 0;
}
};
class Rectangle: p... | [
"ashish444rao@gmail.com"
] | ashish444rao@gmail.com |
b048ca48e8774dcaab43d0b2ad58ec7f592f4bae | 2c548b2a481036c51a3bed07a0ebe20a7e59ec45 | /String/Quick3String.cpp | 5f695a2502c7c387fab9233397a5670b25603318 | [] | no_license | yuanmie/Data-Struct-And-Algorithm | 2f2e4765ebd491a684bccaec9e2d37e62c19a927 | eca4f14075e8c7af0794e48cd260dd816a7b5605 | refs/heads/master | 2021-01-10T01:09:29.103834 | 2017-05-08T14:50:55 | 2017-05-08T14:50:55 | 44,149,761 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,920 | cpp | /*
快速3向字符串排序,将数组划为小于,等于,大于3类。
然后递归的采用同样的步骤,达到排序的目的。
时间复杂度为:
O(n) = n/3 + n/3 + n/3 + O(n/3) + O(n/3) + O(n/3)
==> O(n) = (nlog_3^n)
*/
#include <iostream>
#include <string>
#include <cstdio>
#include <cassert>
using std::string;
using std::cout;
void _quick3Sort(string* strs, int lo, int hi, int d);
int charAt(const... | [
"1695883544@qq.com"
] | 1695883544@qq.com |
102e5ad322eeb0528c60ed5353b8d68456f93141 | e74687a6b394c47ffd8df8a31cfe0409e891078b | /fbgemm_gpu/src/layout_transform_ops_cpu.cpp | 2a66482c3f81a23660494a6d0749525c2e4ae4c3 | [
"BSD-3-Clause"
] | permissive | LinGongHeng/FBGEMM | b046003125dd0057d002263ac2f5fb08ccf3bd56 | 6cd2bde4684431fe5a4005edf6d0139abf462956 | refs/heads/main | 2023-09-04T20:55:48.748202 | 2021-11-24T21:41:14 | 2021-11-24T21:42:08 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,977 | cpp | /*
* Copyright (c) Facebook, Inc. and its affiliates.
* All rights reserved.
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree.
*/
#include <ATen/ATen.h>
#include <ATen/core/op_registration/op_registration.h>
#include <torch/library.h>
... | [
"facebook-github-bot@users.noreply.github.com"
] | facebook-github-bot@users.noreply.github.com |
ca43c264bf3395026f6a88c00ba4332cc20d9e0c | ecfadf59abf0c377e4fbaafb8f594420d8d23277 | /Docs/cpptut/SOURCE/VIRTUAL3.CPP | ad669a03789dd9f0bc875b968d78452b300b9020 | [] | no_license | laurentd75/ggnkua_Atari_ST_Sources_Repository | 71fad5fc5ee3ea7bbd807ec6a6d4a99f7ef31334 | b51e02ffd546ba8260a5645a51acd90d66c16832 | refs/heads/master | 2023-08-31T14:13:18.440660 | 2023-08-24T10:09:58 | 2023-08-24T10:09:58 | 164,442,362 | 0 | 0 | null | 2023-09-03T00:24:29 | 2019-01-07T14:12:47 | null | UTF-8 | C++ | false | false | 1,032 | cpp | // Chapter 10 - Program 3
#include <iostream.h>
class vehicle {
int wheels;
float weight;
public:
void message(void) { cout << "Vehicle message\n";}
};
class car : public vehicle {
int passenger_load;
public:
void message(void) { cout << "Car message\n";... | [
"ggn.dbug@gmail.com"
] | ggn.dbug@gmail.com |
fd8a42f58a105a59b89b2ce6117c82746d828ddc | ec2de16739cd71afef4a632a606e83444daf21b1 | /DevC++/Code power/lat sach.cpp | b9025d0669f71b36fc8204b851e83b8227c1a66d | [] | no_license | minhcongnguyen1508/Code-Java-C--UET | f96bc409c720cb80aaa2f96da81b3870e0937292 | 24c8018fac67479e0fc01c2068c9ee1a7a700311 | refs/heads/master | 2020-04-22T00:21:17.478448 | 2019-02-10T12:58:07 | 2019-02-10T12:58:07 | 169,976,733 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 239 | cpp | //
# include <iostream>
# include <algorithm>
# include <string>
# include <vector>
using namespace std;
int main(){
int a =- 7, b =- 7, c = 7, d = 7, e;
e = d++ || a++ && b++;
printf("%d %d %d %d %d", a, b, c, d, e);
}
| [
"minhcongnguyen1508@gmail.com"
] | minhcongnguyen1508@gmail.com |
66f4bd5ea0e01721604a6c4a1c01130acf64b7df | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/curl/gumtree/curl_new_log_8228.cpp | 579a7e56236524d29a1ecac22c5db84a68cab584 | [] | no_license | niuxu18/logTracker-old | 97543445ea7e414ed40bdc681239365d33418975 | f2b060f13a0295387fe02187543db124916eb446 | refs/heads/master | 2021-09-13T21:39:37.686481 | 2017-12-11T03:36:34 | 2017-12-11T03:36:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 524 | cpp | fputs(
" backend that supports this operation. The c-ares backend is the\n"
" only such one. (Added in 7.33.0)\n"
"\n"
" -e, --referer <URL>\n"
" (HTTP) Sends the \"Referer Page\" information to the HTTP server.\n"
" This can also be set with the -H, --header... | [
"993273596@qq.com"
] | 993273596@qq.com |
a3b8dd84e713de6b68aa9cab34c493c5434212ed | 64c511bb0c1a61134966ff03a46d2f2802cda379 | /Search_Sort/Union_Intersection.cpp | 6e9898fe08ecea5c792b0dcf83b986f16da7850a | [] | no_license | ria28/Data-Structures-And-Algorithms | 96f2278e35c4a1bb346d81fbea0e9da0f57c90c0 | 3225ba1b3dec9c2f77d6b2c9cc5cb9933cbb306d | refs/heads/master | 2023-06-08T07:50:57.422775 | 2021-07-03T11:43:10 | 2021-07-03T11:43:10 | 278,084,625 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,665 | cpp | #include <iostream>
#include <vector>
#include <unordered_set>
using namespace std;
vector<int> intersection(vector<int> &nums1, vector<int> &nums2)
{
unordered_set<int> set{nums1.begin(), nums1.end()};
vector<int> intersect;
for (auto n : nums2)
{
if (set.find(n) != set.end())
{
... | [
"riajaiswal28@gmail.com"
] | riajaiswal28@gmail.com |
51756f3001d47660de53543acc24929119683c8e | 4f8a5913a01276e335b39bbfd366f839dab4fada | /deps/boost/libs/variant/test/auto_visitors.cpp | 84c91c9d2fa7c929b1aced29a9dfd139673a2f86 | [
"MIT",
"GPL-1.0-or-later",
"BSL-1.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | teolemon/poedit | d6b08505e0fe3ca46d6686a9e7e70e4923db8f4a | 7a61156a6efb884202b0d60a342600cab7b3d1d5 | refs/heads/master | 2021-07-11T08:20:20.337006 | 2015-08-22T01:09:24 | 2015-08-22T01:09:24 | 41,184,280 | 0 | 0 | MIT | 2021-03-04T13:18:07 | 2015-08-22T01:07:46 | C++ | UTF-8 | C++ | false | false | 10,100 | cpp | //-----------------------------------------------------------------------------
// boost-libs variant/test/auto_visitors.cpp source file
// See http://www.boost.org for updates, documentation, and revision history.
//-----------------------------------------------------------------------------
//
// Copyright (c) 2014-... | [
"vaclav@slavik.io"
] | vaclav@slavik.io |
d3fbfeed10e274def4d3cef2c5d1b9932b00f2f4 | 663f25816bac61647fd0ba9e4f55fe4eb6a9b292 | /source/code/programs/transcompilers/unilang/unilang_to_code/program_options/program_options.cpp | ca9fdf4304fa8cd3fd992384199c15d6c0a51906 | [
"MIT"
] | permissive | luxe/unilang | a318e327cc642fabdcd08f3238aac47e4e65929f | 832f4bb1dc078e1f5ab5838b8e0c4bb98ba0e022 | refs/heads/main | 2023-07-25T06:32:18.993934 | 2023-07-13T02:22:06 | 2023-07-13T02:22:06 | 40,274,795 | 42 | 8 | MIT | 2023-07-19T10:36:56 | 2015-08-06T00:02:56 | Fancy | UTF-8 | C++ | false | false | 3,039 | cpp |
#include "program_options.hpp"
#include <string>
#include <iostream>
//constructor
Program_Options::Program_Options(int const& argc, char** const& argv){
using namespace boost::program_options;
//build all the possible flags and add description.
options_description desc (Get_Options_Description());
//set pos... | [
"thickey@uber.com"
] | thickey@uber.com |
f318c6c2fcde8a6989e34213047dcac04038859d | 6383cd8579cfa2a61b46bb77150c10e8413e0f32 | /include/trie-node.inl | 312f3b852398e226cca6a646a5626fd1cf26c40c | [
"MIT"
] | permissive | gokselgoktas/boggle-solver | 8c1510307daeed6204f42433aad30a4394ac5d1f | 577ced63526e2e06dc26b0470f8b56d2553241a4 | refs/heads/master | 2020-05-29T15:41:27.628172 | 2017-07-27T14:35:09 | 2017-07-27T14:35:09 | 60,730,647 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 510 | inl | #ifndef BOGGLE_TRIE_NODE_INL
#define BOGGLE_TRIE_NODE_INL
namespace boggle {
bool TrieNode::isWordBoundary() const
{
return isWordBoundary_;
}
#ifdef BOGGLE_COUNT_NODE_DEPENDENCIES
size_t TrieNode::getDependencyCount() const
{
return dependencyCount_;
}
#endif
TrieNode::Subnodes &TrieNode::getSubnodes()
{
... | [
"gokselgoktas@gmail.com"
] | gokselgoktas@gmail.com |
342f6d5668384bbfc74c5ca58bb3c57e3daa2d4e | e027dbe3f227f315ce17e995c78c61721d2f97f0 | /Engine/ColorShaderClass.h | 7ec1422ba9cfaa46b044adbd902d480d0baa0222 | [] | no_license | CheesyPanda42/Engine | fb3ce15dbe9bf711db6de402f7c803853a029bcf | 17b0bee2d041d3c8a1935dc4c03fc042b3ad38cc | refs/heads/master | 2023-04-08T07:50:50.716590 | 2013-11-06T04:58:12 | 2013-11-06T04:58:12 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 918 | h | #include <D3D11.h>
#include <D3DX10math.h> // write own math
#include <D3DX11async.h>
#include <fstream>
using namespace std;
class ColorShaderClass
{
public:
ColorShaderClass(void);
ColorShaderClass(const ColorShaderClass&);
~ColorShaderClass(void);
bool Initialize(ID3D11Device*, HWND);
void Shutdown();
boo... | [
"cprelerson42@gmail.com"
] | cprelerson42@gmail.com |
febc0e8389cf7538dbfe0c2f5ba8021df070da9f | f47b329d81123e4cf3c395b7d1af3c454309dcea | /Data Structures/Linked_list/Linked_list_rev_loop.cpp | c8e685242f30ff19a3fe656da48eb80276bb0efd | [] | no_license | Deepan20/Cpp | 7a9ea2074c2460612b65139fcb631ae1678b9eaa | 8cbcedfb31f310ebc8116a865039cf7f56999c01 | refs/heads/main | 2023-07-21T11:50:38.238434 | 2021-08-16T17:54:29 | 2021-08-16T17:54:29 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,388 | cpp | #include<iostream>
using namespace std;
struct node
{
int data;
node* next;
};
node* insert(node *head,int a)
{
node *temp1=new node();
temp1->data=a;
temp1->next=NULL;
if(head==NULL)
{
head=temp1;
return head;
}
node *temp2=head;
while(temp2->next!=NULL)
{... | [
"ksasidharan98@gmail.com"
] | ksasidharan98@gmail.com |
aac6ce90556213e846fe71bd5b69314b48ab206f | 0674e81a160161996251fb4b063c801330ccd1e2 | /codeforces/April Fool Day Contest 2014/E.cpp | 5951b727336d20c8da2782201cdcf638aa3446a1 | [] | no_license | joshuabezaleel/cp | 8a2c9b44605810da4367efeb981f822ae5e1e9a2 | 57f365458cca38c3c0fb1f5af1c6b44b74f3b53e | refs/heads/master | 2022-07-19T00:39:34.395495 | 2020-05-23T20:37:20 | 2020-05-23T20:37:20 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,826 | cpp | #include <vector>
#include <map>
#include <set>
#include <queue>
#include <deque>
#include <stack>
#include <algorithm>
#include <utility>
#include <numeric>
#include <sstream>
#include <iostream>
#include <iomanip>
#include <cstdio>
#include <cstring>
#include <cmath>
#include <cstdlib>
#include <ctime... | [
"ahmadzaky003@gmail.com"
] | ahmadzaky003@gmail.com |
1f9449af0209d942fece54be541d4ba12a9421d1 | 03f037d0f6371856ede958f0c9d02771d5402baf | /graphics/VTK-7.0.0/ThirdParty/xdmf3/vtkxdmf3/XdmfAttributeCenter.hpp | 58ec56413f952efd3dd7f005dd4c216aa412c427 | [
"BSD-3-Clause"
] | permissive | hlzz/dotfiles | b22dc2dc5a9086353ed6dfeee884f7f0a9ddb1eb | 0591f71230c919c827ba569099eb3b75897e163e | refs/heads/master | 2021-01-10T10:06:31.018179 | 2016-09-27T08:13:18 | 2016-09-27T08:13:18 | 55,040,954 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,195 | hpp | /*****************************************************************************/
/* XDMF */
/* eXtensible Data Model and Format */
/* ... | [
"shentianweipku@gmail.com"
] | shentianweipku@gmail.com |
51cb7b98dfd36c601da5d9bb9c40ac0ce1c626d6 | 6ca8f9a932f25494401c8974b463078745fef963 | /Engine/Code/Rectangle.cpp | 45e80c90cf9c42bc184ddeed1b97f2bd58fcb430 | [] | no_license | jang6556/DungeonDefenders | 29cca6047e828d8f2b5c77c0059cfbaace4d53bf | 526fe493b89ac4f8e883074f60a05a7b96fa0c43 | refs/heads/master | 2023-02-01T12:39:34.271291 | 2020-12-07T16:55:03 | 2020-12-07T16:55:03 | 319,384,221 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 8,676 | cpp | #include "..\Header\Rectangle.h"
CRectangle::CRectangle(LPDIRECT3DDEVICE9 _m_pGraphicDev)
:CVIBuffer(_m_pGraphicDev)
{
}
CRectangle::CRectangle(const CRectangle & rhs)
:CVIBuffer(rhs)
{
}
HRESULT CRectangle::Initialize()
{
iVertexSize = 36;
iIndexSize = 64;
m_pGraphicDev->CreateVertexBuffer(sizeof(VertexNor... | [
"jang6556@gitbub.com"
] | jang6556@gitbub.com |
2b4c148b004e247c1ab55ff12efbe6d966bb18aa | 2252a5c24e8be3096eca7603d3e81815126addec | /image_helper.cpp | c359c08766d860dda30c286359323ee6c3389787 | [] | no_license | flyish/rsa_license | c6c138640c5a7c2d7a95a58739e394ed109312f9 | f0792efce29b5f68328a6e0587799df4cac9e3af | refs/heads/master | 2020-03-21T15:20:05.807397 | 2018-06-26T08:23:11 | 2018-06-26T08:23:11 | 138,706,880 | 1 | 1 | null | null | null | null | GB18030 | C++ | false | false | 3,937 | cpp | #include "stdafx.h"
#include "image_helper.h"
#include <windows.h>
bool image_find_section_pointer(void* pModuleBase, const char* lpszSectionName, void** ppPos, size_t* lpSize)
{
IMAGE_DOS_HEADER *pDosHead;
IMAGE_FILE_HEADER *pPEHead;
IMAGE_SECTION_HEADER *pSection;
*ppPos = NULL;
*lpSize = 0;
if (::IsBadReadP... | [
"lihailuo@126.com"
] | lihailuo@126.com |
79b450ad1c3dc10bcbd003576b04c1cd4ebb8ecd | 4a83406f95a4ba8f15bb4bfff0bb34f5f36ddcde | /Atcoder/DP contest/B Frog 2.cpp | 77d84308084b8e707590c01073d2edc019d8ddba | [] | no_license | 2001adarsh/Contests | 5d3523ca6a5eb3eab0505733dc9144890eecb45e | a162b2a11b00d70e2b49292854b2ba826ca01311 | refs/heads/master | 2021-12-15T02:11:30.852367 | 2021-12-12T11:22:55 | 2021-12-12T11:22:55 | 252,377,884 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 710 | cpp | #include<bits/stdc++.h>
using namespace std;
#define int long long int
#define endl "\n"
#define inf 1000000000000000000LL
int dp[100005];
int32_t main()
{ ios_base::sync_with_stdio(false);
cin.tie(NULL);
#ifndef ONLINE_JUDGE
freopen("input.txt", "r", stdin);
freopen("output.txt", "w", stdout);
#end... | [
"2001adarshsingh@gmail.com"
] | 2001adarshsingh@gmail.com |
0dc244c68934dcf3e4b6aa5122bb96506787b345 | e51e8a6a04d0e57901cca3d866f33e54736053c9 | /CodeForces/1159/a/54029171.cpp | b9d2bd59cdc5ec8e791ff1362e6ec7e10d555196 | [] | no_license | Nipun4338/Solved-Programming-Problems | 7cb638112ef3d135fc6594eac9c6e79c5b0a0592 | 401a9ecc3157b8b4aa275ceb8c67f4e90213bccd | refs/heads/master | 2023-05-17T02:22:57.007396 | 2021-06-10T17:08:10 | 2021-06-10T17:08:10 | 283,442,802 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 385 | cpp | #include<bits/stdc++.h>
using namespace std;
int main()
{
int a,sum=0;
char c;
cin>>a;
for(int i=0; i<a; i++)
{
cin>>c;
if(c=='+')
{
sum++;
}
else if(c=='-')
{
sum--;
if(sum<0)
{
sum=0;
... | [
"49658560+Nipun4338@users.noreply.github.com"
] | 49658560+Nipun4338@users.noreply.github.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.