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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1bd7bb53231fa3615fdd466eb3a45b0a9ff12542 | a5938b70a2db3763365e57f5adae334c4dd5953c | /TEST_DIR/test_mypool/test/mytime.h | 52dc793617cb8206c8da6455d787930842f940bd | [] | no_license | jerryhanhuan/test-code-backup | 7dea8a8eb4209dc241dae1864df6b1eb1a48c7bd | 2ebf0b1cb6715f66ea4c0b3153d426652ce9235f | refs/heads/master | 2021-01-22T22:57:25.097424 | 2014-09-17T02:31:47 | 2014-09-17T02:31:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,927 | h |
#ifndef __MY_TIME_H
#define __MY_TIME_H
#include <time.h>
namespace pool
{
struct timeValues
{
int tm_year; /* Year - 1900. */
int tm_mon; /* Month. [0-11] */
int tm_mday; /* Day. [1-31] */
int tm_hour; /* Hours. [0-... | [
"happyhaoyun@gmail.com"
] | happyhaoyun@gmail.com |
fddddfdb97b85f58efe55d6d7209f17bc2986d0f | f8ec711ceb11abbcae5c1d2672cd7d3444dff1b7 | /map.h | 510aecf836570325b37609a3f1bb0a7142dba4d9 | [] | no_license | SamioneX/CPP-Libraries | 7c704994a22111d734466e7fdc360ac11e4986e3 | 4441e2e168eab9ddfd61f29ec4cf083ed8f23630 | refs/heads/master | 2021-12-14T23:49:03.098239 | 2021-12-11T05:26:21 | 2021-12-11T05:26:21 | 191,265,223 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,789 | h | #ifndef MAP_H
#define MAP_H
#include <iostream>
#include <stdexcept>
#include "RBTree.h"
#include "utilities.h"
namespace my {
template <class K, class V>
struct print {
void operator()(const std::pair<const K, V>& p) const {
std::cout << p.first << '\t' << p.second << '\n';
}
... | [
"noreply@github.com"
] | SamioneX.noreply@github.com |
c150b1cc59e4aa29012a521e603979f9964764fa | b28305dab0be0e03765c62b97bcd7f49a4f8073d | /chrome/browser/ui/passwords/manage_passwords_view_utils_unittest.cc | 77286ad40b291db90aef3ad536e8dce2c4763e5c | [
"BSD-3-Clause"
] | permissive | svarvel/browser-android-tabs | 9e5e27e0a6e302a12fe784ca06123e5ce090ced5 | bd198b4c7a1aca2f3e91f33005d881f42a8d0c3f | refs/heads/base-72.0.3626.105 | 2020-04-24T12:16:31.442851 | 2019-08-02T19:15:36 | 2019-08-02T19:15:36 | 171,950,555 | 1 | 2 | NOASSERTION | 2019-08-02T19:15:37 | 2019-02-21T21:47:44 | null | UTF-8 | C++ | false | false | 8,675 | cc | // Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/ui/passwords/manage_passwords_view_utils.h"
#include <stddef.h>
#include "base/macros.h"
#include "base/strings/string16.h"
#in... | [
"artem@brave.com"
] | artem@brave.com |
59498a8e693fc6d94702c79d011d29675b86763c | 711e5c8b643dd2a93fbcbada982d7ad489fb0169 | /XPSP1/NT/inetsrv/iis/svcs/smtp/aqueue/advqueue/atl.cpp | 170a3af3e947b9a2c7c1db0f7f9dc83153efc2a7 | [] | no_license | aurantst/windows-XP-SP1 | 629a7763c082fd04d3b881e0d32a1cfbd523b5ce | d521b6360fcff4294ae6c5651c539f1b9a6cbb49 | refs/heads/master | 2023-03-21T01:08:39.870106 | 2020-09-28T08:10:11 | 2020-09-28T08:10:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 47 | cpp | #include "stdafx.h"
#include "atlimpl.cpp"
| [
"112426112@qq.com"
] | 112426112@qq.com |
0a9543817d18dc0e247836a1add01a300a526ed8 | 7f0fecfcdadd67036443a90034d34a0b0318a857 | /sparta/test/Events/SingleCycleUniqueEvent_test.cpp | eefccb7e2503000e1cdc5c42e5c7c21e74dceeac | [
"MIT"
] | permissive | timsnyder/map | e01b855288fc204d12e32198b2c8bd0f13c4cdf7 | aa4b0d7a1260a8051228707fd047431e1e52e01e | refs/heads/master | 2020-12-21T19:34:48.716857 | 2020-02-17T17:29:29 | 2020-02-17T17:29:29 | 236,536,756 | 0 | 0 | MIT | 2020-01-27T16:31:24 | 2020-01-27T16:31:23 | null | UTF-8 | C++ | false | false | 10,550 | cpp | // <SingleCycleUniqueEvent_test.cpp> -*- C++ -*-
#include "sparta/events/SingleCycleUniqueEvent.hpp"
#include "sparta/events/UniqueEvent.hpp"
#include "sparta/events/Precedence.hpp"
#include "sparta/sparta.hpp"
#include <iostream>
#include <cinttypes>
#include "sparta/events/EventSet.hpp"
#include "sparta/utils/Sp... | [
"klingaard@gmail.com"
] | klingaard@gmail.com |
a482f63cee3883b877ae832e8530b6b0ad3d0e89 | d09945668f19bb4bc17087c0cb8ccbab2b2dd688 | /csacademy/041-060/041/f.cpp | 9d9bc63e65b50e67cf413082f9bad9dcd7639e24 | [] | no_license | kmjp/procon | 27270f605f3ae5d80fbdb28708318a6557273a57 | 8083028ece4be1460150aa3f0e69bdb57e510b53 | refs/heads/master | 2023-09-04T11:01:09.452170 | 2023-09-03T15:25:21 | 2023-09-03T15:25:21 | 30,825,508 | 23 | 2 | null | 2023-08-18T14:02:07 | 2015-02-15T11:25:23 | C++ | UTF-8 | C++ | false | false | 1,437 | cpp | #include <bits/stdc++.h>
using namespace std;
typedef signed long long ll;
#undef _P
#define _P(...) (void)printf(__VA_ARGS__)
#define FOR(x,to) for(x=0;x<(to);x++)
#define FORR(x,arr) for(auto& x:arr)
#define ITR(x,c) for(__typeof(c.begin()) x=c.begin();x!=c.end();x++)
#define ALL(a) (a.begin()),(a.end())
#... | [
"kmjp@users.noreply.github.com"
] | kmjp@users.noreply.github.com |
b1a1fe376c02c24f36815a86995fe1ac4fd63ae5 | 8ceacf2b847b43a817ecca9ddb26c906faa72268 | /src/chain.cpp | 2ddc3db3be1f5178765efe6a3885013a8f30d277 | [
"MIT"
] | permissive | gothcoin/coin | 94bb00fc526946b52ed0ca38c847dc8951fbb3bd | d8812caf6d04884eade5f8d52b556a0282875fa9 | refs/heads/main | 2023-04-30T15:09:31.414702 | 2021-05-19T09:37:39 | 2021-05-19T09:37:39 | 367,668,287 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,631 | cpp | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2018 The Bitcoin Core developers
// Copyright (c) 2021 The Gothcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <chain.h>
/**
* CCh... | [
"alo.alt@me.com"
] | alo.alt@me.com |
4239c91ae754c13263777f31adf4b3ee7f17417b | bb8fcbdc7d243a47a96ae008811c9defa37f26c6 | /firmware/7SEG_smartDisplay/i2c.cpp | 591cf54be4b245e7dcd76f3383785b71a3cd2c85 | [] | no_license | tuanptn/Seven-Segment-Multifunction-Display | d1dff5200ea7b115e3b24b48f32f576fbf32e59f | 96e53219f5a50c1b7c43f60d92f9a1e60d933dcd | refs/heads/master | 2023-03-16T21:03:48.902582 | 2019-05-09T14:57:08 | 2019-05-09T14:57:08 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,819 | cpp | /*
* i2c.cpp
* SEVEN SEGMENT MULTIFUNCTION DISPLAY
*
* Author: martin@embedblog.eu
* http://embedblog.eu/?p=282
*/
#include <avr/io.h>
#include <avr/interrupt.h>
#include "i2c.h"
#include "defines.h"
volatile uint8_t i2c_pos;
volatile uint8_t i2c_input[4];
volatile uint8_t i2c_inputDecimal;
volatile uint8_t i2... | [
"danekmartin45@gmail.com"
] | danekmartin45@gmail.com |
e7169f57dcb4ff248f02831475e7e50f214bc564 | fcf03ead74f6dc103ec3b07ffe3bce81c820660d | /AppFramework/Apparc/Minimal/Minimal.h | f5f322dc8019f3a87530d5f275aa6543688d2d9d | [] | no_license | huellif/symbian-example | 72097c9aec6d45d555a79a30d576dddc04a65a16 | 56f6c5e67a3d37961408fc51188d46d49bddcfdc | refs/heads/master | 2016-09-06T12:49:32.021854 | 2010-10-14T06:31:20 | 2010-10-14T06:31:20 | 38,062,421 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,245 | h | // Minimal.h
//
// Copyright (c) Symbian Software Ltd 2005. All rights reserved.
//
#ifndef __MINIMAL_H__
#define __MINIMAL_H__
#include <eikenv.h>
#include <eikappui.h>
#include <eikapp.h>
#include <eikdoc.h>
#include <eikmenup.h>
// Minimal application class
class CExampleApplication : public CEik... | [
"liuxk99@bdc341c6-17c0-11de-ac9f-1d9250355bca"
] | liuxk99@bdc341c6-17c0-11de-ac9f-1d9250355bca |
504fdd15752f973e73aed1e4dc810cf6e91631d1 | d3c1ddabbbe5669b0d6b56f0d163e6c60e7d8cac | /tests/IntervalTestHelper.hpp | 3f7dcdf1c3ffab15ea64b08f2653a94d31271aad | [
"BSL-1.0"
] | permissive | beardedN5rd/dil | 8575e58b518aaef9d4f95340ec92f1e99e6f2584 | ffb11b3502410c32f23733f547f1ab4590408fc8 | refs/heads/master | 2020-03-29T20:38:06.439575 | 2018-10-15T12:12:54 | 2018-10-15T12:12:54 | 150,322,418 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,285 | hpp | /*-----------------------------------------------------------------------------+
Copyright (c) 2018-2018: Hagen Pache
+------------------------------------------------------------------------------+
Distributed under the Boost Software License, Version 1.0.
(See accompanying file LICENCE.txt or copy at
... | [
"beardedn5rd@posteo.eu"
] | beardedn5rd@posteo.eu |
a463d6b92bd19c06fa15fa9d2d943417b1664417 | f9cf3f951c2b8dbf50d985fc3a5f13c4dfcf6b91 | /carchive.cpp | 78d44a6e521f70afa39f274810e917df2912db5e | [] | no_license | quanted/VPopLib | ce739a6ec5bb5730250d7f5bc59fc1669eee9f42 | 656f963e230986930359ca60956c7bf67c8a55c6 | refs/heads/master | 2023-04-07T13:02:54.377088 | 2022-06-24T21:10:45 | 2022-06-24T21:10:45 | 458,233,068 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,991 | cpp | #include "carchive.h"
#include "stdafx.h"
CArchive::CArchive(CFile* pFile, UINT nMode)
: mStream(pFile->GetStream())
, mModeMask(nMode)
{
}
CArchive::~CArchive()
{
}
bool CArchive::IsLoading() const
{
return (mModeMask & load) != 0;
}
bool CArchive::IsStoring() const
{
return (mModeMask & store) !... | [
"stratpilot@gmail.com"
] | stratpilot@gmail.com |
d566e3606ecd0708a911f9293fa5dd5250ee441d | a16fb66e11df585be1d4cadec3974db36f7553fb | /src/ofxLaserManager.cpp | b5f3fc0734a667c1935e0b5953222224f5bf2142 | [
"MIT"
] | permissive | BlackBoxe/ofxLaser | 5fc4a2f8a45257986df214509590ea92e3395dac | 0113869d34f69816a9e2673d735d47eecc5c4fda | refs/heads/master | 2021-01-18T21:43:35.256418 | 2017-04-02T22:53:34 | 2017-04-02T22:53:34 | 87,021,567 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 29,006 | cpp | //
// ofxLaser.cpp
//
// Created by Seb Lee-Delisle on 13/08/2015.
//
//
#include "ofxLaserManager.h"
// TODO :
// Culling system :
// * Doesn't add shapes to the list if they are entirely outside of the mask rectangle
// * Perhaps add smart off screen handling to each shape.
using namespace ofxLaser;
Manager * M... | [
"sebleedelisle@gmail.com"
] | sebleedelisle@gmail.com |
10cf5af623fd94c8aec87e8ca2096e451bc3a2fa | f88c4473769e55f9eb1beebdc9cfc53e78c61531 | /Date.cpp | ec910ce13fdeb5b2b7cf840ad36fd70cec4df643 | [] | no_license | stefanom24/Project3 | 5db02d6815476d114d968d6d2c9dea371ead6122 | 50949b5017deda78058e0c31d52222c2926757ef | refs/heads/master | 2021-05-25T18:44:38.140043 | 2020-04-23T23:33:44 | 2020-04-23T23:33:44 | 253,875,572 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 303 | cpp | #include <iostream>
#include <string>
#include "Date.h"
using namespace std;
Date::Date()
{
currentDay = 1;
//year,month,day?
}
Date::Date(int currentDay)
{
currentDay = 1;
}
int Date::getDate()
{
return currentDay;
}
void Date::setDate(int day)
{
currentDay = day;
}
| [
"noreply@github.com"
] | stefanom24.noreply@github.com |
810fda2d59465e77ea02013f841cef07a3e3cf1f | 9a4deaabfc193391d4379a6c7e92d8ecd784c592 | /QqProjectForServer/QqProjectForServer/Mysql_Op.h | 706c4555b975bdd7c1a75bb6c53c1498a17cc630 | [] | no_license | arkssss/QQInMFC | 9742d4e831f0773a6b32b1d02740247778a0dccb | 2bb287fb39aacbff48d1794b5eb46aed860e6bc8 | refs/heads/master | 2020-03-19T07:23:38.988507 | 2018-06-05T02:46:41 | 2018-06-05T02:46:41 | 136,109,918 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 527 | h | #pragma once
#include "mysql.h"
#include <string>
#pragma comment(lib, "libmysql.lib")
using namespace std;
class Mysql_Op
{
public:
Mysql_Op(void);
~Mysql_Op(void);
bool MysqlConnect();
bool ExeSqlWithoutRes(string sql);
MYSQL_RES* ExeSqlWithRes(string sql);
bool TestAndSet (); //尝试链接数据库而且设置中文字符集
void ... | [
"522500442@qq.com"
] | 522500442@qq.com |
af9adc9ec4f932d6739bad5a134a03359e55c550 | 23f2d77b6867cf053f50bedf107a453db3f1471c | /ontak2009/cyk.cpp | 09f3b56413ee537bee2408a83e7ec5e6ef8554ea | [] | no_license | jbhayven/oi_solutions | ecf71e84330373c7d59a7b9399c57773e7a6fa99 | 9e099d11b5235b208b43e76645932fdaf13f37ac | refs/heads/master | 2023-07-15T09:34:52.896147 | 2021-08-25T12:59:38 | 2021-08-25T12:59:38 | 257,976,717 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,211 | cpp | #include <bits/stdc++.h>
using namespace std;
using VI = vector<int>;
using VVI = vector<VI>;
int go(int i, VVI &graph, VI &color, int c = 1, int p = -1) {
color[i] = c;
for (int j : graph[i]) {
if (j == p) continue;
if (color[j] == 0) {
int ret = go(j, graph, color, ... | [
"jbhayven@gmail.com"
] | jbhayven@gmail.com |
dd29511c331600df19da6ec0d57ae43e54b103f6 | 9a455973f60ce048eed15d3c71f60e81161a09c7 | /src/common/conparser/implementations/jiangming/conparser.cpp | 9645cd78bb4893bee4758ecd7931860f10dfd2a5 | [] | no_license | SUTDNLP/ZPar | 4e2e87b874a2d2ca8c1f8aec854698d35ed3b307 | 0d07078be45151b4dfc5cda82cfd16c9765f0b63 | refs/heads/master | 2021-05-04T10:33:24.955650 | 2016-10-15T10:28:06 | 2016-10-15T10:28:06 | 45,964,664 | 11 | 5 | null | null | null | null | UTF-8 | C++ | false | false | 54,149 | cpp | // Copyright (C) University of Oxford 2010
/****************************************************************
* *
* conparser.cpp - the action based parser implementation *
* *
* Author: Yu... | [
"jmliunlp@gmail.com"
] | jmliunlp@gmail.com |
90347c5f8e5d9547a502baac5c02d840e2c22b22 | 615ecb70e28d608a0422d5b27567681880e08460 | /source/uwp/Renderer/lib/RenderedAdaptiveCard.cpp | 8609a16dc002a083d83b435ca51c09f39461767a | [
"LicenseRef-scancode-proprietary-license",
"MIT"
] | permissive | paulcam206/AdaptiveCards | 23f8a61ca756a6655760d0a137f888dd68aac560 | ba70032204e683122170e9a1bc9d73e316f09a48 | refs/heads/main | 2023-08-14T13:07:56.337291 | 2021-08-25T18:19:26 | 2021-08-25T18:19:26 | 368,345,206 | 0 | 0 | MIT | 2021-05-17T23:18:09 | 2021-05-17T23:18:09 | null | UTF-8 | C++ | false | false | 30,053 | cpp | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
#include "pch.h"
#include "AdaptiveActionEventArgs.h"
#include "AdaptiveHostConfig.h"
#include "AdaptiveMediaEventArgs.h"
#include "RenderedAdaptiveCard.h"
#include "XamlBuilder.h"
#include "XamlHelpers.h"
#include "Element... | [
"noreply@github.com"
] | paulcam206.noreply@github.com |
d002fc6fa77d1fd2950de33fe4d31335b3872994 | 5d7b565c18e41d9b0eed24b2da74e145f4ca131e | /src/main.cpp | 41d94e66cc7169a571255b75b0eac5475ba1dbb3 | [] | no_license | MaciejKaca/IMUModule | ba4e5aa1ce6cc0f10ebadb92fc3846c9022488ea | c5def61fb47a93efd43fc0fec6e012a21632e355 | refs/heads/master | 2023-03-29T03:29:14.382841 | 2021-03-25T21:50:53 | 2021-03-25T21:50:53 | 333,869,120 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 173 | cpp | #include <Arduino.h>
#include <../include/IMU.h>
IMU imu;
void setup()
{
Serial.begin(9600);
imu.receiveInitialMessage();
}
void loop()
{
imu.updateIMUandSend();
} | [
"maciek.kaca@gmail.com"
] | maciek.kaca@gmail.com |
646b65426b5b25d59719a8f0a860fc4849647088 | 5f3ab334202b02d12215596349aec6c9d0fc071c | /BTL_part2/simple_source.cc | b914902a05f1cc38ec73e984651c6b9dae9546bd | [] | no_license | allter3331/BTL_Omnet- | 3da2551edd42e2517f5620afda65ec93f243698f | d032a33d95711e33a67644d310ab3bbe06658244 | refs/heads/master | 2022-11-08T05:09:41.023977 | 2020-06-29T02:24:59 | 2020-06-29T02:24:59 | 265,471,137 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,592 | cc | //#include <stdio.h>
//#include <string.h>
//#include <omnetpp.h>
//#include <queue>
//#include "msg_makeby_host_m.h"
//
//using namespace omnetpp;
//using namespace std;
//
//
//class SimpleSource : public cSimpleModule
//{
// private:
// int count;
// int EXB_SIZE;
// double SIMULATOR_TIME;
// double MSG... | [
"viethoai0915@gmail.com"
] | viethoai0915@gmail.com |
6aec34669d90f6dcd41fc557d025aa5bd6c904d3 | efb25a20ecddb3a0a8795bc616069fc1a94e5375 | /sdk_k64f/middleware/multicore/erpc/erpcgen/src/types/BuiltinType.h | 93c475f20083cc9f1c0720df23057da1e47b84cd | [
"MIT",
"BSD-3-Clause"
] | permissive | Sir-Branch/k64f-starter-template | f6119d67a4d661affca4ca8b5b72a971d0a65754 | f8959fd185f090363d180d69f84c2727e37cbeeb | refs/heads/master | 2022-12-18T22:24:58.356426 | 2020-09-08T02:52:56 | 2020-09-08T02:52:56 | 289,200,355 | 1 | 0 | MIT | 2020-08-24T02:16:20 | 2020-08-21T06:55:08 | C | UTF-8 | C++ | false | false | 3,595 | h | /*
* Copyright (c) 2014, Freescale Semiconductor, Inc.
* Copyright 2016 NXP
* All rights reserved.
*
*
* SPDX-License-Identifier: BSD-3-Clause
*/
#ifndef _EMBEDDED_RPC__BUILTINTYPE_H_
#define _EMBEDDED_RPC__BUILTINTYPE_H_
#include "DataType.h"
#include <string>
////////////////////////////////////////////////... | [
"rmerello@itba.edu.ar"
] | rmerello@itba.edu.ar |
fab2a5631e9661b42966b7f4b6f76a0a0159a01a | 8007966dd60dbf4f3188636dc028f387b127e303 | /core/include/Singleton.h | 688f66bd4b00b6dd26013b452d8fd6c97a5beb8b | [
"MIT"
] | permissive | tokongs/yage | de790629025fb7cc9c8aa9b13a1bdb9274c889d5 | 14c9411d8efce08b89c0deb134b5c3023a32c577 | refs/heads/master | 2020-03-29T00:27:17.333467 | 2019-11-01T23:45:15 | 2019-11-01T23:45:15 | 149,340,188 | 0 | 0 | MIT | 2019-11-01T23:45:17 | 2018-09-18T19:18:35 | C++ | UTF-8 | C++ | false | false | 382 | h | #pragma once
#include "config.h"
namespace yage
{
template <typename T>
class Singleton
{
public:
static T& getInstance(){
static T instance;
return instance;
}
protected:
Singleton(){};
~Singleton(){};
public:
Singleton(Singleton const &) = delete;
Singleton& opera... | [
"tokongs98@gmail.com"
] | tokongs98@gmail.com |
72e27606486d7f7caf2370e214bc306c724de738 | a2875f7da5f308e36cd5fd4aa0463aadd7199e27 | /test12.cpp | c5b74b7cc5b2094873affa7feec73202d9328c2d | [] | no_license | Chico27/C-test-by-English | a63eac38a7c3327ab58fd7cf692c15c38b82502d | 390edcb3f56d5c88766ec58b341f1ab32bfaa0a3 | refs/heads/master | 2020-05-30T12:31:29.501082 | 2019-06-02T10:52:14 | 2019-06-02T10:52:14 | 189,736,933 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 213 | cpp | #include<iostream>
#include<cmath>
using namespace std;
double cube(double num){
double result = num * num * num;
return result;
}
int main()
{
double answer = cube(5.0);
cout << answer;
return 0;
}
| [
"masamasa.987654321@gmail.com"
] | masamasa.987654321@gmail.com |
a68d7cf39e39b8ae1e8f92c7ae25d513142425d5 | 08ac74733f31d7f438afbc8ef24d078705dac481 | /lab11/Tree.h | 6b39ac5b0d20f8a258083f7f9af510eadc933256 | [] | no_license | GrzegorzPodwika/Laboratorium11 | ef2bd2acad281da8931a8712a4cd5c70cdb32044 | 372ae8d329a93a4efe4e29bbcabdc84e67860067 | refs/heads/master | 2020-05-27T07:54:01.717502 | 2019-05-26T19:29:59 | 2019-05-26T19:29:59 | 188,537,205 | 0 | 0 | null | null | null | null | WINDOWS-1250 | C++ | false | false | 2,198 | h | #ifndef TREE_H
#define TREE_H
#include <iostream>
#include <fstream>
#include <string>
//Struktura imitująca pojedynczy element drzewa
struct TreeElement
{
TreeElement *parent;
TreeElement *leftChild;
TreeElement *rightChild;
int zeroOneNumber;
double number;
char letter;
};
//klasa imitujaca drzewo skladajaca... | [
"podwikagrzegorz@gmail.com"
] | podwikagrzegorz@gmail.com |
db80ae9e2fc20bc587a40c655e037e31fecefeca | 7ea209e5980b5a28e261a3de3aa0f600a5daffe9 | /src/Simd/SimdBaseImageSaveJpeg.cpp | f7ba5832474b01cea39988f9a54145a9e42b23ce | [
"LicenseRef-scancode-free-unknown",
"MIT"
] | permissive | HungMingWu/Simd | 68744f9a83b23ea86d3923a3d78c03eb0e3c979c | d07ea1e3cc1f163d968271a60176ffd035152309 | refs/heads/master | 2023-06-03T08:23:50.335468 | 2021-06-17T09:06:48 | 2021-06-17T10:14:21 | 377,756,758 | 0 | 0 | MIT | 2021-06-17T08:21:03 | 2021-06-17T08:21:03 | null | UTF-8 | C++ | false | false | 26,828 | cpp | /*
* Simd Library (http://ermig1979.github.io/Simd).
*
* Copyright (c) 2011-2021 Yermalayeu Ihar.
*
* 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 witho... | [
"ermig@tut.by"
] | ermig@tut.by |
860c54e2d68a7798a22b633bb01b7c225f75ef18 | cffc460605febc80e8bb7c417266bde1bd1988eb | /before2020/UVa_ACM/004 - Volume IV/UVa 414(Easy, Ad-hoc, Encoding).cpp | d77c6595c34ceb0232bd10a1f7d72592f7e30461 | [] | no_license | m80126colin/Judge | f79b2077f2bf67a3b176d073fcdf68a8583d5a2c | 56258ea977733e992b11f9e0cb74d630799ba274 | refs/heads/master | 2021-06-11T04:25:27.786735 | 2020-05-21T08:55:03 | 2020-05-21T08:55:03 | 19,424,030 | 7 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 504 | cpp | /**
* @judge UVa
* @id 414
* @tag Easy, Ad-hoc, Encoding
*/
#include <stdio.h>
#include <iostream>
#include <string>
using namespace std;
int main()
{
int n, cnt, i, j, mx, a[20];
string s;
while (scanf("%d", &n), n)
{
cin.ignore(1);
for (i = mx = 0; i < n; i++)
{
getline(cin, s)... | [
"m80126colin@gmail.com"
] | m80126colin@gmail.com |
74e0105eb7f280eb10f8fae717ab8fe3724e0452 | 068de5f1b87489f9a11fc2b6577c3914edd66733 | /shared/sharedmem.cpp | fc2f8860d5a255292e3643ebf4c2fb325dfabdcd | [] | no_license | srushti228/Shared-Memory-in-Windows | 4647ff871518b84193e1822fc9bd92348ce30cf9 | afbec993b9850d36c8a56a18a92bca5f79251d23 | refs/heads/master | 2022-11-23T07:32:49.828372 | 2020-07-31T16:58:34 | 2020-07-31T16:58:34 | 284,074,042 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,764 | cpp |
#include <Windows.h>
//#include <bits/stdc++.h>
#include<iostream>
#include<fstream>
using namespace std;
int main( )
{
cout<<"\t\t...FILEMAPPING SERVER or PARENT PROCESS.."<<endl;
HANDLE hFileMap ;
BOOL bResult ;
PCHAR lpBuffer = NULL;
char c;
string s="";
FILE *pFile = fopen ( "sales.c... | [
"srushtihp3@gmail.com"
] | srushtihp3@gmail.com |
97c7baf2d96288ee305646797b933507fbbcf79b | 485988c256acb69fd9c7b8094c70ec61420ef002 | /SnailLauncher/src/SnailLauncher.h | 2ebd2914aff67bbb7f2f055b00301932695d8388 | [
"Apache-2.0"
] | permissive | ZtengClub/snail | ebdec201f1a054f2155d59dd4b85e22bf7d46f6b | 6b032a759fc88025096d9e8303b64e0856e60457 | refs/heads/master | 2023-02-18T12:29:38.340234 | 2021-01-20T03:31:53 | 2021-01-20T03:31:53 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 341 | h | // SnailLauncher.h : SnailLauncher 应用程序的主头文件
//
#pragma once
// 主符号
#include "resource.h"
class SnailLauncher : public CWinApp {
public:
SnailLauncher();
// 重写
public:
virtual BOOL InitInstance();
virtual int ExitInstance();
// 实现
public:
DECLARE_MESSAGE_MAP();
};
extern SnailLauncher launcher;
| [
"289547414@qq.com"
] | 289547414@qq.com |
0f545da181f78c56cefeda2ed6ef30841fc17a0c | eaf0c24a620807e1304c4d663a493637a85f6d84 | /client/test/main.cc | 072b42af8cb73c6b3512477d05c4838029561315 | [] | no_license | xiaopeifeng/dbproxy | 71f488e61c0a50ffdd74d0e1671cde0eb76cbb78 | 0c972e2db766e6bfd15ad9e98e8867566f41a43c | refs/heads/master | 2021-01-10T01:19:24.529260 | 2016-03-10T14:04:46 | 2016-03-10T14:04:46 | 52,366,310 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 967 | cc | #include "test_db.h"
#include <assert.h>
#include <iostream>
int main()
{
DBProxyClient db_client;
bool b = db_client.initial();
assert(b);
samples_insert_test_res_t res;
res = samples_insert_test(&db_client, "fxp", 1, "Beijing", "BeijingUnivercity", 1);
std::cout << res.code << std::endl;
std::cout <... | [
"xiaopeifenng@gmail.com"
] | xiaopeifenng@gmail.com |
f00d3f774691aab094005be37feab2641acdeb98 | 28e860358d9b3a627ee4a5fbe05a7cc21c26f15d | /PositionResolver.cpp | 21527448a972ca844e40b190844b32442b1197b0 | [] | no_license | georgi-karapetrov/NEMECHESS | bb108e9b0fa0d1f798550b0813ad1056b2b6de82 | 4828b5ce6ca6bd69bf60644951672a64aa94a6ac | refs/heads/master | 2021-01-16T21:21:14.628933 | 2014-10-21T15:10:46 | 2014-10-21T15:10:46 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,048 | cpp | #include "PositionResolver.h"
#include <climits>
using namespace Chess::GameLogic::GameComponents;
PositionResolver::PositionResolver( Board* const board )
: m_board ( board )
{
}
void PositionResolver::resolve() //global resolve which won't work, like ever
{
/* bool nothingMoved = false;
long int guardia... | [
"georgi.karapetrov1994@gmail.com"
] | georgi.karapetrov1994@gmail.com |
7b7126d41de2a432dca1437d2ecc17339bf88df2 | ee24ef7aaa7d4ab6a66c56e95953414306302df3 | /Cpp/SDK/Map_SortButton_parameters.h | f579eca3f8a657f47d574294f30c34c69d880f11 | [] | no_license | zH4x-SDK/zAWL-SDK | bfc0573125d3398d892c85eac05a6575592db187 | 3d7001585dab120480e0d16fc24396f61a1d46c6 | refs/heads/main | 2023-07-15T11:05:51.834741 | 2021-08-31T15:10:19 | 2021-08-31T15:10:19 | 401,745,502 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,438 | h | #pragma once
// Name: AWL, Version: 4.24.3
/*!!DEFINE!!*/
/*!!HELPER_DEF!!*/
/*!!HELPER_INC!!*/
#ifdef _MSC_VER
#pragma pack(push, 0x01)
#endif
namespace CG
{
//---------------------------------------------------------------------------
// Parameters
//----------------------------------------------------------... | [
"zp2kshield@gmail.com"
] | zp2kshield@gmail.com |
f47c1e4b66905a5c388e0133294408547bf26db0 | 0f1510c57ef15588f8fb6e4c444b075d43340887 | /dynamic_projection/source/common/VimbaCPP/Include/Camera.h | 3ced8998f77bc68af70967237bf90c34b26f6ca9 | [] | no_license | graphics-rpi/oasis_dependencies | c553ee678ad9ccccb8b223afcc6c9ed4851d43a8 | 384553df4842c1b2868db344c48b1d7e88bfe873 | refs/heads/master | 2021-10-08T13:23:00.351524 | 2018-12-12T16:37:53 | 2018-12-12T16:37:53 | 123,350,193 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 23,196 | h | /*=============================================================================
Copyright (C) 2012 Allied Vision Technologies. All Rights Reserved.
Redistribution of this file, in original or modified form, without
prior written consent of Allied Vision Technologies is prohibited.
-----------------------... | [
"sensen.chen7@gmail.com"
] | sensen.chen7@gmail.com |
ba04b683ebc09fbf51a89859b74b77953c5fed6f | b8787d4781cd9de928daaa74df4ffadafbd13b2c | /8-1煎饼.cpp | c26d852b123e5e962597a418ad4e5d8414f16e0e | [] | no_license | li136/ZiShu | 4c4ed169cd689d3a14c73971201860575016e3aa | 7f31e682ccd980ace8c741b4d4b193ba25565c19 | refs/heads/master | 2020-09-02T02:53:31.536151 | 2019-11-02T07:10:53 | 2019-11-02T07:10:53 | 219,117,466 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 739 | cpp | // UVa120 Stacks of Flapjacks
// Rujia Liu
#include<cstdio>
#include<iostream>
#include<sstream>
#include<algorithm>
using namespace std;
const int maxn = 30 + 5;
int n, a[maxn];
// 翻转a[0..p]
void flip(int p)
{
for(int i = 0; i < p-i; i++)
swap(a[i], a[p-i]);
printf("%d ", n-p);
}
int m... | [
"noreply@github.com"
] | li136.noreply@github.com |
6d09ea3d0432d824a71ac8176832d70acaa59f6a | fde738fdf38c1c556f315adac54ed7aa1f89f0cd | /Taller 5/Punto final.cpp | e568f90a128affda68576eb8670ea8afc9c1be5c | [] | no_license | ferney1438123/c | 26a640cd4bcda3e7e14b3388d26c8358f7608b1d | 1e272afec44d5bd3506ed91bdcdd7c5a7c7ed532 | refs/heads/master | 2021-07-12T00:43:13.121058 | 2019-02-18T05:18:33 | 2019-02-18T05:18:33 | 145,502,084 | 0 | 0 | null | null | null | null | ISO-8859-10 | C++ | false | false | 608 | cpp | #include <iostream>
#include <conio.h>
using namespace std;
int i=0,j=0,aux=0;
int v[100],t;
void funcion();
void escribir();
void leer()
{
cout<<"ingrese el tamaņo del vector"<<endl;
cin>>t;
for (i=0;i<t;i++){
cout<<"ingrese los valores numericos"<<endl;
cin>>v[i];
}
}
void funcion()
{
for (i=0;i<... | [
"noreply@github.com"
] | ferney1438123.noreply@github.com |
b7c3e1bf737b4a48fee68c78c0b1e01aad7d72dc | 2792014006976347cd542f9e8603a876df44fa82 | /include/asdxHelper2D.h | 7ccff8e5a75c88b107d947b4d032a933a6dc8b93 | [
"MIT"
] | permissive | ProjectAsura/asdx11 | 2c28607cf271568c31e71dabdd0dce5123b1e974 | 71160d5dd9946177be52ad3874b7635e296a4334 | refs/heads/master | 2023-01-09T04:34:52.509088 | 2023-01-08T02:27:16 | 2023-01-08T02:27:38 | 181,267,978 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,581 | h | //-----------------------------------------------------------------------------
// File : asdxHelper2D.h
// Desc : 2D Helper.
// Copyright(c) Project Asura. All right reserved.
//-----------------------------------------------------------------------------
#pragma once
namespace asdx {
//////////////////////////////... | [
"project.asura@gmail.com"
] | project.asura@gmail.com |
086d1f0a50556c4c36bdf97817e7fc96f730fa45 | 060ed767cff6cf15a5bf021535b0e1c4a30512dc | /avoiding/GameSource/Utility/CSVReader.cpp | 464c14eb750aaa1733ce5f03228b47c53fa7126b | [] | no_license | p4ajst/avoiding | b2bcdb071f0c46f7a1edb527d188190c1b9559d2 | b8558b4861ec86775f04250d08900e130ef4a637 | refs/heads/master | 2021-01-01T20:31:03.244817 | 2017-12-27T19:18:53 | 2017-12-27T19:18:53 | 98,876,530 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,606 | cpp | // ------------------------------------------------------------------------------------------------ //
// @ file : CSVReader.cpp //
// @ brief : CSV読み込みのためのクラス //
// @ date : 2017/01/11 ... | [
"aslhkymgam2316@gmail.com"
] | aslhkymgam2316@gmail.com |
7e58bcdbcdc2bb548bb77420e4596812f7d5cbe2 | de3a59b207d32a1834d8230294f1c6699dcc582a | /save.cpp | a6daecbfa70e70e3b361f66f1be5e66bafd306ef | [] | no_license | lucianzau14/Distributed-makeup-cat | e0835b7eb9e0a6b676a4fad30cd56f4c92ba39f0 | a480f594004fd42c8a3b26da43b2ec0514bc550f | refs/heads/master | 2020-03-25T15:49:14.190204 | 2018-07-27T20:17:46 | 2018-07-27T20:17:46 | 143,902,855 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 588 | cpp | #include <iostream>
using namespace std;
int main(){
int n;
cout << "Please key in an integer" << endl;
cin >> n;
switch (n) {
case 0:
cout << "You typed zero.\n";
break;
case 1:
case 4:
case 9:
cout << "n is a perfect square.\n";
break;
case 2:
cout << "n is an even number.\n";
... | [
"lucia.nzau@strathmore.edu"
] | lucia.nzau@strathmore.edu |
33afeda017a8ea824ee8230cde228e09f6ba2d3d | 555d1fce6caffdf849fefb1c19bbba6fef7a08ae | /PictureShower/voice.cpp | 846e3b493eb5c8cabaaf60c62ded3152c8a5f1fb | [] | no_license | TOKAMAK9000/pictureShower | dfed6442cd7fd4a9a2ef3a5c0ea815ffa998efb4 | fcdade2dbb8b3b4aab03b677c53a71fb7ba52fcc | refs/heads/master | 2021-07-04T15:56:14.316187 | 2020-09-20T06:48:09 | 2020-09-20T06:48:09 | 177,254,142 | 0 | 1 | null | null | null | null | GB18030 | C++ | false | false | 4,566 | cpp | #pragma once
#include "stdafx.h"
#include "voice.h"
//主函数
int Voice::result()
{
record();
// 务必替换百度云控制台中新建百度语音应用的 Api Key 和 Secret Key
aip::Speech * client = new aip::Speech("20044209", "lglzeMSty1dzbkbaao7am2Wq", "j2vGj2VZBHcV6IeD2zL9xE7Aht3sYiRf");
// 打印详细请求结果,可以打开查看详细请求内容
client->setDebug(false);
std::s... | [
"tokamak9000@gmail.com"
] | tokamak9000@gmail.com |
94e64dd0d451244e93e5f8294b9190cdaeb20bd5 | 5a566dd363a54d910c1e0ca65562b92f9c0594ee | /utility/crypt/dcrsa.cpp | 6a55bd124908042262d103ee93fec73299cd2b56 | [
"MIT"
] | permissive | jj4jj/dcpots | d52a9e1d589b007ad1e3d70db726845810f042e2 | 694f70484971e6b745f36e515795a6d56a1e12f7 | refs/heads/master | 2021-01-17T17:43:06.114781 | 2020-06-07T11:35:52 | 2020-06-07T11:35:52 | 44,117,665 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,386 | cpp | #include <openssl/hmac.h>
#include <openssl/bio.h>
#include <openssl/buffer.h>
#include <openssl/rsa.h>
#include <openssl/sha.h>
#include <openssl/err.h>
#include <openssl/md5.h>
#include <openssl/pem.h>
#include <arpa/inet.h>
#include <openssl/x509.h>
#include <endian.h>
#include "../../base/stdinc.h"
#include "../..... | [
"resc@vip.qq.com"
] | resc@vip.qq.com |
8f5118fb9a0536f6f1f5fd1e6dfd210a3f1bb1d5 | b4e0df967649f7b254c65f414797212d667ba7ab | /SUBoom.hpp | 0217ad90204cf4916ec788fab990188caa994d8e | [] | no_license | bmunguia/SUBoom | 1cfb5aaa90a601f3fafdea4bf255e6c855cd704e | adf65592db07349c8b20885c094d1c9fbdef015b | refs/heads/master | 2021-01-17T10:02:42.262075 | 2017-03-09T18:56:38 | 2017-03-09T18:56:38 | 84,002,499 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,134 | hpp | #include <iostream>
using namespace std;
class SUBoom{
public:
/*---Flight variables---*/
double flt_h;
double flt_M;
double flt_psi, flt_gamma, flt_mu;
double flt_heading[3];
/*---Atmosphere variables---*/
double atm_g;
unsigned int atm_noise_flag;
double T_inf, a_inf, p_inf, rho_inf;
double z[2... | [
"bmunguia@stanford.edu"
] | bmunguia@stanford.edu |
44a6cf243851757ecf3c59d39b458dfeccf40986 | 76dc4287b6fbd049607ba366ac9cde02369df925 | /MenuItem.cpp | 0564d28449efb75bf6290bf8d14e00730d47302a | [
"MIT"
] | permissive | Juzley/typeordie | 9bc309a9cbd1d760f0a01117cf00ddb793ca17d2 | 049e61aa065bf55c285276e9be0e405a3da7374d | refs/heads/master | 2021-01-19T10:20:51.025909 | 2015-01-29T21:33:46 | 2015-01-29T21:33:46 | 29,163,214 | 5 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,675 | cpp | #include "MenuItem.h"
#include "FontManager.h"
#include "Colour.h"
#include "Utils.h"
namespace typing
{
const std::string MenuItem::FONT("fonts/menufont.fnt");
const float MenuItem::BORDER_GAP_X = 2.0f;
const float MenuItem::BORDER_GAP_Y = -2.0f;
const float MenuItem::BOR... | [
"juzley@gmail.com"
] | juzley@gmail.com |
c9191d38c4ace3549e957cb07a3c45c6fe51c320 | aad668687123160592982ee96c052aae34b04b43 | /poj1027.cpp | c5fe8cc26e86cc492a37668bb568c062b2771b54 | [] | no_license | zjuxlh1993/acmcode | 2ce8256576769b427123a199e0b973e09b36bf25 | 640054b3e5ef6b35a523fdca47f23e95ae99b993 | refs/heads/master | 2021-09-23T01:02:09.718433 | 2018-09-19T15:48:11 | 2018-09-19T15:48:11 | 94,300,327 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,607 | cpp | #include <stdio.h>
#include <iostream>
#include <string.h>
#include <math.h>
using namespace std;
struct point{
int x;
int y;
};
char f[10][15];
point h[200];
point way[4]={{1,0},{0,1},{-1,0},{0,-1}};
bool flag[10][15];
int st,ed,sum,score=0;
void check(int i,int j,int x,int y,int mode,char c){
if (x>=10... | [
"ez_xlh@126.com"
] | ez_xlh@126.com |
642c61e0e9fd532bbc9f8066bb594aebf1ff63ac | 1f1dca8f04b4a2939299afa6da0d3ef1eaf8080a | /Workshop4/at_lab/Passenger.h | 28a621ff124579fc7b559fcff57d807137d72423 | [] | no_license | cnalwani/OOP244 | bd920eb7e19b0b07618c5e4bfb423811f6d3526e | 351ad6f2451deeafa3c2f87e71a289f8e38f7a45 | refs/heads/master | 2020-08-01T09:46:56.951086 | 2019-09-25T23:16:20 | 2019-09-25T23:16:20 | 210,955,487 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 453 | h | // TODO: add file header comments here
#pragma once
// TODO: add header file guard here
#ifndef NAMESPACE_PASSENGER_H_
#define NAMESPACE_PASSENGER_H_
// TODO: declare your namespace here
namespace sict
{
class Passenger
{
char pass_name[32];
char destination[32];
public:
Passenger();
Passenger(const char... | [
"chiragalwani123@gmail.com"
] | chiragalwani123@gmail.com |
2fc7c41765bf164ffffbd5bbf5f14faa4564505b | ba5cc6c21bdacdbbe50a6131131af26aedf30c79 | /2017-09-28-exceptions/Stack.hpp | ac97ce5b5e9113d95c610e21d4a4c1ae3ce5ae43 | [] | no_license | wencakisa/elsys-oop | 4d2dd6a1c0f0f33901813635955a34d7ea3991f9 | dfe6ea435fb5cb317444053fd7bde9aa4d5d99ce | refs/heads/master | 2021-09-14T18:49:51.523085 | 2018-05-17T14:25:03 | 2018-05-17T14:25:03 | 104,384,486 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 729 | hpp | #ifndef POINT_HPP__
#define POINT_HPP__
#include "BaseException.hpp"
#define STACK_SIZE 20
class StackException : public BaseException {
public:
StackException(string msg) : BaseException(msg) {}
};
class Stack {
int data_[STACK_SIZE];
int top_;
public:
Stack() : top_(0) {}
bool is_empty() con... | [
"wencakisa@gmail.com"
] | wencakisa@gmail.com |
3de75dd001bcb7032aaeccdf591df53276188d23 | 07fbf3ab32180d94afb1eadd1a8f8ddd657e8656 | /NWNXLib/API/Linux/API/MEMO4HEADER.hpp | 8f135dc8dd5ad6c81b274a7e46fbe2e9923a8f66 | [
"MIT"
] | permissive | ELadner/nwnx-unified | 3b322e8722eab70c9c72a45e71013b89dbbf1e89 | 09f8e8a0c1474e8b16d4746f9cb57ca870a17ce5 | refs/heads/master | 2021-09-04T08:52:06.521478 | 2018-01-17T13:04:29 | 2018-01-17T13:04:29 | 117,771,934 | 0 | 0 | null | 2018-01-17T02:29:14 | 2018-01-17T02:29:14 | null | UTF-8 | C++ | false | false | 187 | hpp | #pragma once
#include <cstdint>
namespace NWNXLib {
namespace API {
struct MEMO4HEADER
{
uint32_t nextBlock;
char usused[2];
int16_t blockSize;
};
}
}
| [
"liarethnwn@gmail.com"
] | liarethnwn@gmail.com |
b24ab4618194f94bd5cb285b2c9571011ef555d2 | 30052f149920c6a235759e9c573990a5ec00b976 | /B/sort_the_array.cpp | 50f1ecef7fae47672fcd0effe98609f47c119b2f | [] | no_license | Ajay35/spoj | 63f29fda94aeed4a581d265dfabbd6ef600ddd69 | 34d59f8b1c435b98cc1a171d57cdcff7b50e6f78 | refs/heads/master | 2020-03-18T16:32:59.068268 | 2019-07-30T11:54:29 | 2019-07-30T11:54:29 | 134,972,271 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 851 | cpp |
#include <bits/stdc++.h>
#define ll long long
#define inf std::numeric_limits<int>::max();
using namespace std;
void rev(int a[],int l,int r,int n) {
int t[n];
int i,j;
for(i=l,j=r; i<=r; i++,j--)
t[i] = a[j];
for(i=l; i<=r; i++)
a[i] = t[i];
}
int main(){
int n,i,seg=0,x,... | [
"ajayjadhav35@live.com"
] | ajayjadhav35@live.com |
b08770ef7448d82506eac3778ce64a746522ea93 | 2567f17c8bd80467aec9c729ddbad2ebb9b0c6ec | /RPG Coursework/statePlay.cpp | 92f8b8ed17063df4ff46031155bd1c14a8c1bc9d | [] | no_license | RBrNx/GED-RPG-Coursework | 05f84a03a30973374ee37142ba28a4a780cfb418 | b4f354ec5dbf6a7c2f93b6e39e114814d6d3e64c | refs/heads/master | 2021-01-10T16:09:00.555742 | 2018-05-29T15:40:52 | 2018-05-29T15:40:52 | 51,334,729 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,287 | cpp | #include "game.h"
#include "statePlay.h"
#include "Raider.h"
#include "gameOverState.h"
#include "Brute.h"
#include "stateBattle.h"
#include "Fodder.h"
#include "HealthPack.h"
#include "CombatPack.h"
#include "StimulantPack.h"
#include <sstream>
#define RAND_CODE (float(rand())/float(RAND_MAX))
StatePlay::StatePlay()... | [
"conor.watson94@gmail.com"
] | conor.watson94@gmail.com |
7f5ad27733bcb871382d6002df821b2b2cdf3086 | d8cb5ca60948919a441da933a01b5c8e84bb3a44 | /wxwidgets/wxWidgets-2.9.1/src/os2/radiobox.cpp | 3953acc0affeee776aa37f1a3d329d08afe69bfd | [] | no_license | sonyomega/wxWidgets | 6d028af7097b87944aa41ab1331303ae7acf3ce1 | da8de1d8b0259d4fa4c958b1ff6a33c25728c503 | refs/heads/master | 2020-09-12T22:15:44.006866 | 2011-06-22T21:47:42 | 2011-06-22T21:47:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 29,409 | cpp | /////////////////////////////////////////////////////////////////////////////
// Name: src/os2/radiobox.cpp
// Purpose: wxRadioBox
// Author: David Webster
// Modified by:
// Created: 10/12/99
// RCS-ID: $Id$
// Copyright: (c) David Webster
// Licence: wxWindows licence
//////////////////... | [
"erwin.coumans@gmail.com"
] | erwin.coumans@gmail.com |
bf818a0c5a7a577a2965c34f0d15379297e81d89 | 1942a0d16bd48962e72aa21fad8d034fa9521a6c | /aws-cpp-sdk-cloudformation/include/aws/cloudformation/model/TemplateParameter.h | 8588e39bf2d8c3555a7d1be3c92b28fbacb92f9c | [
"Apache-2.0",
"JSON",
"MIT"
] | permissive | yecol/aws-sdk-cpp | 1aff09a21cfe618e272c2c06d358cfa0fb07cecf | 0b1ea31e593d23b5db49ee39d0a11e5b98ab991e | refs/heads/master | 2021-01-20T02:53:53.557861 | 2018-02-11T11:14:58 | 2018-02-11T11:14:58 | 83,822,910 | 0 | 1 | null | 2017-03-03T17:17:00 | 2017-03-03T17:17:00 | null | UTF-8 | C++ | false | false | 6,407 | h | /*
* Copyright 2010-2016 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 |
e6d5bdcc1e8879aa3e18993dbf99b805e9b2d891 | 4503b4ec29e9a30d26c433bac376f2bddaefd9e5 | /PCL 1.7.2_vs2013/x64/3rdParty/VTK-6.1.0/include/vtk-6.1/vtkUnstructuredGridVolumeRayCastFunction.h | eda14ed10a8f978a9e600f9f948ecb6f14ac17d8 | [] | no_license | SwunZH/ecocommlibs | 0a872e0bbecbb843a0584fb787cf0c5e8a2a270b | 4cff09ff1e479f5f519f207262a61ee85f543b3a | refs/heads/master | 2021-01-25T12:02:39.067444 | 2018-02-23T07:04:43 | 2018-02-23T07:04:43 | 123,447,012 | 1 | 0 | null | 2018-03-01T14:37:53 | 2018-03-01T14:37:53 | null | UTF-8 | C++ | false | false | 2,284 | h | /*=========================================================================
Program: Visualization Toolkit
Module: vtkUnstructuredGridVolumeRayCastFunction.h
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
All rights reserved.
See Copyright.txt or http://www.kitware.com/Copyright.htm for... | [
"hnk0313@3e9e098e-e079-49b3-9d2b-ee27db7392fb"
] | hnk0313@3e9e098e-e079-49b3-9d2b-ee27db7392fb |
2288543e1711f81e504c648621fe072b42a2c7e3 | 2497de7e4e26901170cba61af63992124714fcd4 | /SolarSystem/ModelLoader.h | 641473d4ebf00e9cd9dc492f5710ad7d93a238e5 | [
"MIT"
] | permissive | RichardFlanagan/OpenGLSolarSystem | 336249c5f86a16c4e6913b67200447a06c8e2efd | 91a787644c0f2fe992648597f302f5728ee936d2 | refs/heads/master | 2021-01-10T15:27:35.666062 | 2015-11-21T22:22:21 | 2015-11-21T22:22:21 | 44,740,038 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 486 | h | /*
File: ModelLoader.h
Author: Richard Flanagan
Description:
*/
#ifndef MODEL_LOADER_H
#define MODEL_LOADER_H
#include <string>
#include <vector>
#include "ModelVertex.h"
class ModelLoader{
public:
ModelLoader() {};
~ModelLoader() {};
bool loadModelFromObjFile(std::string path);
std::vector<ModelVertex>& getVer... | [
"richard-flanagan@hotmail.com"
] | richard-flanagan@hotmail.com |
ec04fb0e1755daef14cde8754a46403838fe9d51 | 4c043605f9933dfa0a5f43be35448f9608abcafa | /custom_utilities/nonconforming_variable_multipatch_lagrange_mesh.h | 506a7a85f912fd1e5961315d235fc1730c4a55bd | [
"LicenseRef-scancode-unknown-license-reference",
"MIT"
] | permissive | ForeverDavid/isogeometric_application | bec7642a05079579903e4762487691ad9af6a287 | 4bc23241010a82aa38e845e0d3403e1cab28bc14 | refs/heads/master | 2020-09-12T22:20:46.922258 | 2019-10-23T17:11:41 | 2019-10-23T17:11:41 | 222,577,946 | 0 | 1 | NOASSERTION | 2019-11-19T01:08:25 | 2019-11-19T01:08:24 | null | UTF-8 | C++ | false | false | 19,885 | h | //
// Project Name: Kratos
// Last Modified by: $Author: hbui $
// Date: $Date: 27 Dec 2017 $
// Revision: $Revision: 1.0 $
//
//
#if !defined(KRATOS_ISOGEOMETRIC_APPLICATION_NONCONFORMING_VARIABLE_MULTIPATCH_LAGRANGE_MESH_H_INCLUDED)
#define KRATOS_ISOGEOMETRIC_APPLICATION... | [
"hgbk2008@gmail.com"
] | hgbk2008@gmail.com |
e7f757a284aaa334ab0ae81b69c015f0117cf44c | 96e7347db30d3ae35f2df119a18472cf5b251fa2 | /Classes/Native/System_Data_System_Data_Constraint1326448910.h | 6fd7f6538c8bc88687f0acddc8fa03a441d6cfdf | [] | no_license | Henry0285/abcwriting | 04b111887489d9255fd2697a4ea8d9971dc17d89 | ed2e4da72fbbad85d9e0e9d912e73ddd33bc91ec | refs/heads/master | 2021-01-20T14:16:48.025648 | 2017-05-08T06:00:06 | 2017-05-08T06:00:06 | 90,583,162 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,678 | h | #pragma once
#include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <stdint.h>
// System.Object
struct Il2CppObject;
// System.ComponentModel.EventHandlerList
struct EventHandlerList_t3941110939;
// System.String
struct String_t;
// System.Data.P... | [
"phamnguyentruc@yahoo.com"
] | phamnguyentruc@yahoo.com |
39117be7e42a4a3b04a221c04ba26aa9f0d413b1 | bb45457a262f50af34d76d7e9558a8ced9f5d423 | /0.0011/uniform/lagrangian/sprayCloud/sprayCloudOutputProperties | 5e3a44225a3e5a473fc0d262e6aef274cf7cd2ad | [] | no_license | KrystianPi/SKPS_improved | 581ce6a46fbc6830c0922e6b74dfe6a851fbd3c8 | 06d445eb1302bfcc1b09a94d7cdd7eace7e3bde8 | refs/heads/main | 2023-06-04T00:55:48.629789 | 2021-06-12T09:37:37 | 2021-06-12T09:37:37 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,505 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2012 |
... | [
"krystek.pietrzak@gmail.com"
] | krystek.pietrzak@gmail.com | |
d29f55341e327b222b860ea261e20b9dc4e983e9 | 6cc2994eb6ed4e4c0d967856c6083f45b5baf056 | /include/Server.h | 609031e5318a76dd9ac076a4a3e6ac2d2fc541bb | [] | no_license | lisa-bella97/HighLoadWebServer | 63d99b7f0175d9557cb3c4ae6ab33ea906dd25de | ae5e9f24efc2cdb1dca313f99ec79cd019277eea | refs/heads/master | 2021-02-10T19:28:42.853215 | 2020-03-24T18:09:52 | 2020-03-24T18:09:52 | 244,412,940 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 601 | h | #ifndef SERVER_H
#define SERVER_H
#include "ServerConfig.h"
#include "ServerConnection.h"
#include "boost/asio.hpp"
class Server {
public:
explicit Server(ServerConfig *config);
~Server();
void run();
private:
void startAccept();
void handleAccept(const boost::system::error_code& ec);
voi... | [
"lisa-bella97@mail.ru"
] | lisa-bella97@mail.ru |
6188b6eb4a2b7915fc52d30c43d10b5ce2afd3d9 | 39c041986f743e99dcecfc9b54a0552cbfb8faef | /tutorials/advanced/utils/include/save_image.h | fb91abf2b1e6cdb24a9af23d7c384b4709454b66 | [
"MIT"
] | permissive | ucalyptus/pytorch-cpp | b1bc2e86f74276b7726f2bb5d4f457868c66151f | c90f71bffa2f7053f09a95a331fada0370dac653 | refs/heads/master | 2020-09-29T12:42:40.010043 | 2020-01-05T18:43:28 | 2020-01-05T18:43:28 | 227,040,476 | 0 | 1 | MIT | 2020-01-05T18:43:29 | 2019-12-10T05:59:20 | null | UTF-8 | C++ | false | false | 262 | h | // Copyright 2019 Markus Fleischhacker
#pragma once
#include <torch/torch.h>
#include <string>
namespace image_utils {
void save_image(torch::Tensor tensor, const std::string& file_path, int64_t nrow = 10, int64_t padding = 2);
} // namespace image_utils
| [
"markus.fleischhacker28+git@gmail.com"
] | markus.fleischhacker28+git@gmail.com |
8a9aed675a0f1994ccc2bf48806de9feccde016e | f5ad0edb109ae8334406876408e8a9c874e0d616 | /src/qt/signverifymessagedialog.h | 9f4f74d13c60a5d60773666600c1773f41517ed8 | [
"MIT"
] | permissive | rhkdck1/RomanceCoin_1 | 2d41c07efe054f9b114dc20b5e047d48e236489d | f0deb06a1739770078a51ed153c6550506490196 | refs/heads/master | 2020-09-14T12:36:48.082891 | 2019-12-23T10:21:36 | 2019-12-23T10:21:36 | 223,129,383 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,429 | h | // Copyright (c) 2011-2015 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef ROMANCE_QT_SIGNVERIFYMESSAGEDIALOG_H
#define ROMANCE_QT_SIGNVERIFYMESSAGEDIALOG_H
#include <QDialog>
class Platform... | [
"rhkdck1@gmail.com"
] | rhkdck1@gmail.com |
3b11e989c1826748fe2d8df0b79e8d1bfc666f1d | a7725c7f2c9cc7caac616a4adba40854c24b8d02 | /competitive/codechef/INF16MOS/INF16H.cpp | 9a2dd324c4f0f4078ce3f4849c855eb097eacba7 | [] | no_license | EtherTyper/algorithms_and_data_structures | e32f4c8ef8423b20beda78f943638586ea31d0ad | beb2f6d20ac862289821175050bed28c2de256da | refs/heads/master | 2021-01-23T02:15:35.701656 | 2017-03-23T09:26:26 | 2017-03-23T09:26:26 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,945 | cpp | #include <bits/stdc++.h>
using namespace std;
typedef long long int ll;
struct node
{
node* chars[26];
ll freq[26];
bool isEnd;
node()
{
isEnd=0;
memset(freq,0,sizeof(freq));
}
};
class Trie
{
node * root;
public:
Trie()
{
root=NULL;
}
void insertWord(string s)
{
root = insert(root,s,0);
}
nod... | [
"shravanmurali@gmail.com"
] | shravanmurali@gmail.com |
37216881b20de696211418b12f4dded40ba69e79 | af563181d06052dacb7140081dc86224016505c4 | /Programming Techniques/GalaxyGame/Student/customscene.h | 27e5171280ccfb84e79fc8a4640c7b18a3d2048d | [] | no_license | XewiL/School-Projects | dd2eddee01e89f92e418f059ecffe37c0c52c538 | 49a0bd70874077a2474dcc916727295a643da3ea | refs/heads/master | 2021-09-28T10:19:45.373127 | 2018-11-16T20:59:25 | 2018-11-16T20:59:25 | 118,005,488 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,950 | h | #ifndef CUSTOMSCENE_H
#define CUSTOMSCENE_H
#include <QGraphicsScene>
#include <QPoint>
#include <QMouseEvent>
#include "player.h"
#include "starsystem.hh"
#include "starsystemdraw.h"
#include "distressaction.hh"
#include "repairaction.hh"
#include "cargoship.hh"
#include <QGraphicsSceneMouseEvent>
#include <QKeyEvent... | [
"petri.leppanen@student.tut.fi"
] | petri.leppanen@student.tut.fi |
ec528e0c574c2b3325b4ee8a9997701e7bed73fa | ffe95e681569a0dc48605921f5a7285dab31c1b7 | /stepper.cpp | 224a1f5ce82bb0b28009960f98799211cd1f8ed5 | [] | no_license | greg-flurry/desktop_clock | c0b0f56b32ae4dc159dab5dc7b32c54d99bac4dc | d14b3096a63cebc0caadfaac5901e222998bfeee | refs/heads/master | 2021-01-10T10:54:53.409786 | 2015-12-18T23:45:03 | 2015-12-18T23:45:03 | 48,261,080 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,255 | cpp | /*
* This contains code for controlling the SilentStepStick that drives the stepper motor.
*/
#include "stepper.h"
/* leave this definition to debug motor control */
//#define DEBUG_MOTOR
/*
* initClock
*/
void initClock() {
#ifdef DEBUG_MOTOR
Serial.println("... initClock");
#endif
// set up I/O
pinMode(ST... | [
"greg.flurry@gmail.com"
] | greg.flurry@gmail.com |
c5062bca386a3760ac72ad2cef6683e08ce95af8 | 8269169a9e33c3e55c8838698ae21d27ef59e1e8 | /UTACM/Superman/magneto.cpp | cf6f4dc5b678d5e0708aad4931f09daead36dc43 | [] | no_license | codeAligned/Competitive-Programming-8 | 05ffada764230f8ed3011d8cc535eb2e0838cef0 | a9dfd82ddf70c5075794650f5360b40ce7568340 | refs/heads/master | 2021-09-22T10:33:46.842149 | 2018-09-08T16:58:20 | 2018-09-08T16:58:20 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,107 | cpp | #include <cstdio>
#include <algorithm>
#include <vector>
#include <cstring>
using namespace std;
int T;
int main(){
scanf("%d", &T);
while(T--){
int R, C;
scanf("%d%d", &R, &C);
int mat[R][C], pos[R], first, second, v;
scanf("%d%d", &first, &second);
pos[0] = second - first;
first = second;
for(int i = ... | [
"liaojh98@gmail.com"
] | liaojh98@gmail.com |
8af5367fd692453f7202749861cd3698566d3b0a | 88ae8695987ada722184307301e221e1ba3cc2fa | /third_party/eigen3/src/doc/examples/TutorialLinAlgComputeTwice.cpp | a561f086eeb3ae2d4becaf2ff6773211a66a9b0e | [
"Apache-2.0",
"LGPL-2.0-or-later",
"MIT",
"GPL-1.0-or-later",
"BSD-3-Clause",
"LicenseRef-scancode-unknown-license-reference",
"MPL-2.0",
"Minpack"
] | permissive | iridium-browser/iridium-browser | 71d9c5ff76e014e6900b825f67389ab0ccd01329 | 5ee297f53dc7f8e70183031cff62f37b0f19d25f | refs/heads/master | 2023-08-03T16:44:16.844552 | 2023-07-20T15:17:00 | 2023-07-23T16:09:30 | 220,016,632 | 341 | 40 | BSD-3-Clause | 2021-08-13T13:54:45 | 2019-11-06T14:32:31 | null | UTF-8 | C++ | false | false | 668 | cpp | #include <iostream>
#include <Eigen/Dense>
int main()
{
Eigen::Matrix2f A, b;
Eigen::LLT<Eigen::Matrix2f> llt;
A << 2, -1, -1, 3;
b << 1, 2, 3, 1;
std::cout << "Here is the matrix A:\n" << A << std::endl;
std::cout << "Here is the right hand side b:\n" << b << std::endl;
std::cout << "Computing LL... | [
"jengelh@inai.de"
] | jengelh@inai.de |
c5790a74ec7c7c5437394827e2fd0c03e3cb9982 | d761e11c779aea4677ecf8b7cbf28e0a401f6525 | /vn/arl/src/shared/SetWriter.hpp | bd28f576f97059a23dc46c2ca2985a2a7bb6cec5 | [] | no_license | derrick0714/infer | e5d717a878ff51fef6c9b55c444c2448d85f5477 | 7fabf5bfc34302eab2a6d2867cb4c22a6401ca73 | refs/heads/master | 2016-09-06T10:37:16.794445 | 2014-02-12T00:09:34 | 2014-02-12T00:09:34 | 7,787,601 | 5 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 630 | hpp | #ifndef SETWRITER_HPP
#define SETWRITER_HPP
#include <set>
#include "DataTypeTraits.hpp"
namespace vn {
namespace arl {
namespace shared {
template <typename T>
class SetWriter {
public:
typedef writer_type_tag category;
typedef T value_type;
/// \brief Constructor
/// \param q the std::set <T> to write to
... | [
"derrick0714@gmail.com"
] | derrick0714@gmail.com |
553d59f7d50d1ce6ffcf3b095b48b9bada45fbb8 | d7be96b3a6765306f6b863547ad5cbc1376c49cb | /examples/chess.ino | a58f4efb5e71ff962aabb66906f09ff733071c48 | [] | no_license | hellange/gd2-lib | 68876c1f47c973ee834d3bcae03bdc19a501ce9b | 9b140014338991517b7337769b83027ae3cbcd7e | refs/heads/master | 2021-05-03T13:38:55.353706 | 2018-01-22T15:20:55 | 2018-01-22T15:20:55 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,136 | ino | #include <EEPROM.h>
#include <SPI.h>
#include <GD2.h>
#include "chess_assets.h"
static byte sinus(byte x)
{
return 128 + GD.rsin(128, -16384 + (x << 7));
}
void setup()
{
Serial.begin(1000000); // JCB
GD.begin();
LOAD_ASSETS();
GD.BitmapHandle(1);
GD.BitmapSource(CHECKER);
GD.BitmapSize(NEAREST, REP... | [
"jamesb@excamera.com"
] | jamesb@excamera.com |
5701e172fc33d128b8022cec1c1a12fb4143a56b | d9b4adb8bdd3a19859b050c1735d06a380bb9929 | /poj-cpp/2159/14058328_WA.cpp | 9b3821941b1df0c315fc3dc678f9cad9cc0046af | [] | no_license | conwnet/way-of-algorithm | eea4901ab62a6bc189e5c60209dc1e8610f76806 | 201df876cf55a7eae7e55789f2fa43d2f2545628 | refs/heads/master | 2021-07-31T19:17:48.871429 | 2021-07-24T17:42:30 | 2021-07-24T17:42:30 | 75,063,660 | 20 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,347 | cpp | #include <stdio.h>
#include <string.h>
void change(char *str, int n);
int compare(char *str1, char *str2);
int main()
{
char str1[102], str2[102];
int i, j, l1, l2;
scanf("%s%s", str1, str2);
if(compare(str1, str2)) {
printf("YES\n");
retu... | [
"netcon@live.com"
] | netcon@live.com |
f37db4cc258bf568cdb860e5df29f705b3ccf1d4 | cb9e4b296a9983cf0a59b00a80a5f3dad88c4bd7 | /set_testing.cpp | 428160a6224aa13f586662bc1f61339fc2903957 | [] | no_license | zakharvoit/cpp-set | 222ca161cd468d19cbabd8dfe9a2cc42b4368fbc | 8c23919ce2378bd1eb3da4d26570e70f64292e93 | refs/heads/master | 2021-01-13T12:55:11.855090 | 2014-06-08T17:38:55 | 2014-06-08T17:38:55 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,066 | cpp | #include <algorithm>
#include <cstdlib>
#include <set>
#include <gtest/gtest.h>
#include "set.hpp"
TEST(correctness, 3_4_5)
{
set a;
std::set <int> b;
a.insert(5);
a.insert(3);
a.insert(4);
b.insert(5);
b.insert(3);
b.insert(4);
auto a_it = a.begin();
auto b_it = b.begin();
for (; a_it != a.end() && b_it... | [
"zakharvoit@gmail.com"
] | zakharvoit@gmail.com |
0991b769034e7d20243ecf347ae364f508510c53 | 528377ec5784e9d48819b827ecb363e91ce7a206 | /sources/main.cpp | 6810feafa5e512990461d6d2fe185c4998ab4137 | [
"MIT"
] | permissive | LemuriiL/Lab6ManyWaysToLoad | 52368db9630e7ad108cf43e083b5930509ea8998 | 14548b1333362905f90ea39dde808e277f54182b | refs/heads/master | 2023-05-16T10:23:55.092044 | 2021-05-24T23:16:03 | 2021-05-24T23:16:03 | 370,138,203 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 214 | cpp | // Copyright 2021 LemuriiL <nice.duble@mail.ru>
#include "Hash.hpp"
int main(int, char*[]) {
Hash A("~/home/james/Documents/Work/lab-06-multithreads/file.json");
A.initLogs();
A.initThreads();
return 0;
}
| [
"nice.duble@mail.ru"
] | nice.duble@mail.ru |
923b7b85b91925b01a16fe3adcbdedaea0bcb134 | 390c21cf331d1f6daf3d8156af7e43a3c0001496 | /src/layer/x86/lstm_x86.cpp | e7e1dfef743b52dd508375ebb2b86ddcd0cf582b | [
"BSD-3-Clause",
"Zlib",
"BSD-2-Clause"
] | permissive | Sherry-XLL/ncnn | b204b1230a4981b95aca0ca162899842dc453a8c | fad8a3b85ab533fe09a90841a02a4ac20991342f | refs/heads/master | 2023-07-14T00:05:17.315264 | 2021-07-29T10:32:03 | 2021-07-29T10:32:03 | 386,471,607 | 1 | 0 | NOASSERTION | 2021-07-20T04:45:22 | 2021-07-16T01:27:36 | null | UTF-8 | C++ | false | false | 40,551 | cpp | // Tencent is pleased to support the open source community by making ncnn available.
//
// Copyright (C) 2017 THL A29 Limited, a Tencent company. All rights reserved.
//
// Licensed under the BSD 3-Clause License (the "License"); you may not use this file except
// in compliance with the License. You may obtain a copy ... | [
"noreply@github.com"
] | Sherry-XLL.noreply@github.com |
bdc15b27584d74e5f3ab4c5d3371fa804cef35da | 00723324e41258e72f0e1f41cd2e2d3b4db8c379 | /Recursion/string_palindrome.cpp | 512420abaac5adb60f1226fa4ea9bcba4c7f387e | [] | no_license | akhilbomma007/Algorithms | fddb97de65b38d947713d6a219eac749e2d5240e | f414ff13c1aca4b47624052ce2f009ecc4422fbc | refs/heads/master | 2022-02-12T23:54:11.216738 | 2019-08-15T16:14:06 | 2019-08-15T16:14:06 | 197,724,068 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 449 | cpp | // Recursive code to find weather a string is palindrome or not
#include <iostream>
#include <bits/stdc++.h>
using namespace std;
bool isPalinH(string s ,int si,int ei){
if(s[si]!=s[ei])
return false;
if(si==ei || si+1==ei)
return true;
isPalinH(s,si+1,ei-1);
}
bool isPalin(string s){
... | [
"noreply@github.com"
] | akhilbomma007.noreply@github.com |
48128650a9b838076837fc231ea31fbd759cd83f | fa55d8ed32564195f2687d1e18b99f80c5683073 | /lbc_usaco/2.1-sort3.cc | f3365f87d783b17139e2251ddee03574258d2d5f | [] | no_license | TenFifteen/SummerCamp | 1841bf1bd212938cee818540658185cd3e429f0c | 383b9321eee9e0721772f93a897c890f737f2eff | refs/heads/master | 2020-04-05T23:48:01.393256 | 2018-03-11T12:37:38 | 2018-03-11T12:37:38 | 38,595,086 | 9 | 4 | null | 2016-07-18T14:21:15 | 2015-07-06T03:15:55 | C++ | UTF-8 | C++ | false | false | 1,611 | cc | /*
ID: libench1
PROG: sort3
LANG: C++11
*/
#include <iostream>
#include <fstream>
#include <string>
#include <vector>
#include <algorithm>
using namespace std;
int main() {
ofstream fout ("sort3.out");
ifstream fin ("sort3.in");
int n;
fin >> n;
vector<int> data(n);
for (int i = 0; i < n; ++i... | [
"libenchao@gmail.com"
] | libenchao@gmail.com |
b072d49bdedec544a0efcc01c2346416f71efd59 | 3c68e64ebce7fd9ec1f72084e81514ab310b6023 | /MultiProcessAndDlopen.h | 7a5df93e9eb70f0ea2b6cf2df01ac87c652d8676 | [] | no_license | dmy110/proj | dda800703111319a2d3a65a292a1cc34bdd14f9b | b3f29a63cd87b5b18251e99abb211d4f2eb7a455 | refs/heads/master | 2020-05-16T22:52:09.615768 | 2019-10-02T08:55:55 | 2019-10-02T08:55:55 | 183,347,844 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 386 | h | #ifndef _M_P_A_D_H_
#define _M_P_A_D_H_
namespace MPADH
{
struct child_service_data_t
{
uint32_t version = 0;
uint32_t service_id = 0;
std::string so_file_path;
uint32_t pid = 0;
int pipe[2] = {};
};
std::unorderd_map<uint32_t, child_service_data_t> service_map;
void start_mpadh();
void service_process(in... | [
"dengmuyang@debian.root"
] | dengmuyang@debian.root |
7de5dc49d24b9f917af4c48553e97477e3542942 | e32d2211f3c1e00c020a87f434a5c29cef57c25e | /code/latin-2014/intrepid.cpp | 0aa49cd6dcc72723c29f09d233de5c4832679885 | [
"CC0-1.0"
] | permissive | luizreis/programming-contest-notebook | bc277b41f8c7e08dea45a73c8868701bfc2742ce | 6969e3a91a8606b08b3c8a4838970b1fe0a967df | refs/heads/master | 2021-01-20T15:44:46.096033 | 2017-04-03T13:11:14 | 2017-04-03T13:11:14 | 61,964,169 | 5 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 1,019 | cpp | #include <bits/stdc++.h>
using namespace std;
int n, f;
vector <int> adj[100010], pes[100010];
int tem[100010], cus[100010];
int mai = 0;
void dfs(int v, int acc){
if(tem[v] && acc > mai){
mai = acc;
}
for(int i=0; i<adj[v].size(); i++){
int u = adj[v][i];
dfs(u, acc+pes[v][i]);
... | [
"luizreis@outlook.com"
] | luizreis@outlook.com |
df76c53d26a7c9580744cf472cc4c746988bcc87 | 867ee0c866e481939964ad35a8e54d2e2b07fe2a | /d01/ex06_test/HumanB.hpp | bf5c8654d6d77c73ff1110c2248f6ba36e98cb4e | [] | no_license | rjwhobbs/cpp_bootcamp | 0db7ceaeeb0b19d898965ceb26b5b84635b36a5d | 8edc3bd419ee3587966a14bb3bebcf94c6efa8d4 | refs/heads/master | 2021-05-18T20:11:31.886529 | 2020-08-26T08:46:24 | 2020-08-26T08:46:24 | 251,397,756 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 279 | hpp | #ifndef HUMANB_HPP
#define HUMANB_HPP
#include <string>
#include "Weapon.hpp"
class HumanB {
public:
HumanB(std::string name);
~HumanB(void);
void setWeapon(Weapon& weapon);
void attack(void) const;
private:
std::string const _name;
Weapon* _weapon ;
};
#endif | [
"rhobbs@student.wethinkcode.co.za"
] | rhobbs@student.wethinkcode.co.za |
6b236f7ac8ebac392ea6ee3f2efad9a8c9da0b83 | a819da41f703bece01e744b0776cde10fa3dc1f0 | /mainwindow.cpp | 129974f3ade770b42ea22762c59f06a6e9ce35b4 | [] | no_license | MaximeGeay/RoutageGen | 5c96ec94b6320a155be1af56149fa3f946c6e9ba | 62e431d5011feb2c5e2cc318d7232f5a6077cf82 | refs/heads/master | 2022-10-08T16:22:11.809107 | 2020-06-12T14:23:15 | 2020-06-12T14:23:15 | 271,817,049 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,900 | cpp | #include <QFileDialog>
#include <QSettings>
#include <QDebug>
#include "mainwindow.h"
#include "ui_mainwindow.h"
#include "meteotable.h"
MainWindow::MainWindow(QWidget *parent) :
QMainWindow(parent),
ui(new Ui::MainWindow)
{
ui->setupUi(this);
QSettings settings("RoutageGen","RoutageGen_Config");
... | [
"maxime.geay@genavir.fr"
] | maxime.geay@genavir.fr |
07fd31666e6c3adf8e1304d41f7d0d138d7f9600 | 763d301330d5b5c74aa06582832955d4ac35c19b | /YuvControl/Fs_Entry.h | 9d4845de3edd6f35057ef62c2e439430f4bb5014 | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | bryful/F-s-PluginsProjects | dd0bc719df6b0a9c7dd397377319d954ba1099a8 | 942be10e7b334912649f39223d1aca1824946c58 | refs/heads/master | 2022-07-22T05:14:13.664573 | 2022-07-14T09:46:30 | 2022-07-14T09:46:30 | 186,790,231 | 185 | 33 | MIT | 2020-12-31T04:50:48 | 2019-05-15T09:06:45 | C++ | UTF-8 | C++ | false | false | 5,599 | h | //-----------------------------------------------------------------------------------
/*
YuvControl for VS2010
*/
//-----------------------------------------------------------------------------------
#pragma once
#ifndef FSENRTY_H
#define FSENRTY_H
#include "Fs_Target.h"
#include "AEConfig.h"
#include "entry.h"
//... | [
"bryful@gmail.com"
] | bryful@gmail.com |
1506cf937bddc42e14ff7695bc915dd68553957d | 09f0a2fb99224feeb341dee16f2451fa2063b2cb | /HeartSongFade_pulseSensor/HRV.ino | 93539cb9d371faf334a3e3412f6ff0f3abc33682 | [] | no_license | antoniorohit/heartsong | 68886220757ccee6e3eaacd337790ffbe79e694c | 5eeaceb9aec378769324dc2557c074c4737fbe29 | refs/heads/master | 2021-01-01T20:41:44.003659 | 2015-07-15T02:54:09 | 2015-07-15T02:54:09 | 31,287,003 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,899 | ino | void HRV() {
// This is code for just arrows
/*
if (HRVUp == true){ //set
matrix.clear();
matrix.drawBitmap(0, 0, up_left, 8, 8, LED_ON);
matrix.drawBitmap(8, 0 , up_right, 8, 8, LED_ON);
matrix.writeDisplay();
}
else if (HRVUp == false){
matrix.clear();
matrix.drawBitmap(0, 0, up_le... | [
"antoniorohit@gmail.com"
] | antoniorohit@gmail.com |
b13ab483f57a3921ace765db70286f08f173768b | 60a7d4dea0ef7aa80f9c070eabc101d54babbd07 | /common/feature_channel_type.h | 382936dca9f72cd9509efde2681ef4d57c6ed2e4 | [] | no_license | kongan/FilterReg | 0adc3fbeef85824e8c125738a341a83e2e385db2 | 4638e4c476e2095a588c64470a280bb946a659a7 | refs/heads/master | 2022-04-11T22:47:23.869188 | 2019-08-07T19:48:14 | 2019-08-07T19:48:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,911 | h | //
// Created by wei on 9/10/18.
//
#pragma once
#include <memory>
#include <string>
#include <unordered_map>
#include <glog/logging.h>
#include "common/macro_copyable.h"
#include "common/common_type.h"
#include "common/tensor_utils.h"
namespace poser {
/* The feature type is used as the key type for
* feature... | [
"gaowei19951004@gmail.com"
] | gaowei19951004@gmail.com |
1b712f7668dff8e0145f21382349d29f7cd25b60 | 3257ed2043fd09566e2839fb67dd81e197405c24 | /thevig-master/src/leveldb/include/leveldb/options.h | c412dabaeb53e684848b733fa0367479cb268c38 | [
"BSD-3-Clause",
"MIT"
] | permissive | TheVigCoin/TheVig | 06e5c8984cc2299bcc0323271942a1e659852406 | 5b685ac2b781659364e3da5ae59b8e38860ea550 | refs/heads/master | 2021-07-24T10:51:28.970841 | 2017-11-02T14:37:28 | 2017-11-02T14:37:28 | 109,275,096 | 1 | 5 | null | null | null | null | UTF-8 | C++ | false | false | 6,814 | h | // Copyright (c) 2011 The LevelDB Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. See the AUTHORS file for names of contributors.
#ifndef STORAGE_LEVELDB_INCLUDE_OPTIONS_H_
#define STORAGE_LEVELDB_INCLUDE_OPTIONS_H_
#include <stddef... | [
"33239203+TheVigCoin@users.noreply.github.com"
] | 33239203+TheVigCoin@users.noreply.github.com |
77de2bcfe6cc13e826d9803a5b2603d11a4b30b9 | 5cea866d22d123801ec043c2d2bb3add5b84a268 | /vfh_local_planner/src/vfh_planner_ros.cpp | 41558feea56cd0b36daccfabc9d7fcd7619cd572 | [] | no_license | Playfish/education_sw | 079ab6143af018e068bff3b4f8eadd564eee9f74 | 81e61f65beb1c53ed40eabda8e93d9325ce32b9e | refs/heads/master | 2020-03-20T16:43:50.138521 | 2020-02-04T01:23:43 | 2020-02-04T01:23:43 | 137,544,814 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 17,345 | cpp | #include <pluginlib/class_list_macros.h>
#include <vfh_local_planner/vfh_planner_ros.h>
#include <base_local_planner/goal_functions.h>
//register this planner as a BaseLocalPlanner plugin
PLUGINLIB_EXPORT_CLASS(vfh_local_planner::VFHPlannerROS, nav_core::BaseLocalPlanner)
namespace vfh_local_planner {
void VFHPla... | [
"1271087623@qq.com"
] | 1271087623@qq.com |
9ef049f547105ff16014008dcfd3d271b018246c | 71be8f7b3ab3e393e1b73509b4fbf6c4bccc99c4 | /Game.cpp | a38dc05f840f114939e38c335f0decc2f0a11ba4 | [] | no_license | LegatAbyssWalker/Chrome-Dinosaur-Game | 3e6b91cc5bc31b93a7e719552c1cd9acdc4400f7 | 334e00a3c27eebd31fda0d74bcf253ae7fa4c8d1 | refs/heads/master | 2020-07-26T03:52:02.129170 | 2020-04-17T14:26:40 | 2020-04-17T14:26:40 | 208,525,601 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 520 | cpp | #include "Game.h"
#include "MoreInfo.h"
void Game::run() {
window.create(sf::VideoMode(SCREEN_WIDTH, SCREEN_HEIGHT), TITLEBAR_TITLE);
window.setPosition({ window.getPosition().x, window.getPosition().y - 40 });
window.setFramerateLimit(FRAMERATE_LIMIT);
machine.run(StateMachine::buildState<MainMenuState... | [
"noreply@github.com"
] | LegatAbyssWalker.noreply@github.com |
63a0fb7e731184559a8ac6931c79173f45650a61 | 2548f34e2ad49d5f5ddde5ccbab0990709de08ab | /Il2CppOutputProject/Source/il2cppOutput/Il2CppCCWs70.cpp | 48b54bdae3fcb12563240f328958c424ec9ab0e4 | [] | no_license | yutaosong2020/Hololens2_Tutorials | 2e97b6242b6e44447f6ae21848f52dc6e3296804 | 2cef83823642f0c995926b82f7bafb0e604096e2 | refs/heads/master | 2023-04-28T08:00:49.381240 | 2021-05-24T02:54:59 | 2021-05-24T02:54:59 | 370,210,304 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,910,711 | cpp | #include "pch-cpp.hpp"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <stdint.h>
#include <limits>
#include "vm/CachedCCWBase.h"
#include "utils/New.h"
template <typename R>
struct VirtFuncInvoker0
{
typedef R (*Func)(void*, const RuntimeMethod*);
static inline R Invoke (Il2Cp... | [
"yutao.song@burohappold.com"
] | yutao.song@burohappold.com |
02e8405c62c08086415f63a0b57e72172cf90d0e | 46433eef4cb129b7bf803842f57be71e72cc946f | /codeforce/C/C. Number of Ways.cpp | 7a9e97a2aa7c125f382b5a156440c4acbf6cacdd | [] | no_license | asifjoardar/solving-oj-problems | 7300f2bb6ce651c79b9a90649b38b8baf5fc517d | 992c6472ffefea024a6879e1007d8118b7d221ca | refs/heads/master | 2022-05-15T15:55:53.822581 | 2022-05-07T18:26:18 | 2022-05-07T18:26:18 | 136,577,556 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 481 | cpp | #include<bits/stdc++.h>
using namespace std;
main()
{
long long int sum=0,sum1=0,c=0,i,n,p;
cin>>n;
long long int a[n];
for(i=0;i<n;i++)
{
cin>>p;
sum1+=p;
a[i]=sum1;
}
if(!(a[n-1]%3))
{
p=a[n-1]/3;
for(i=0;i<n-1;i++)
{
... | [
"noreply@github.com"
] | asifjoardar.noreply@github.com |
7e0f10edd7d0102bd057e6704df342fc32150020 | 86ed09e5cf3ddc5d2e4146e27384246e52c879ca | /caffe2/operators/dropout_op.cc | 570699b0c1f259cc59e461837b848fecd6bd9574 | [
"BSD-2-Clause",
"MIT",
"BSD-3-Clause",
"LicenseRef-scancode-generic-cla"
] | permissive | xiaoyunwu/caffe2 | 0e7ef449826c4aaa55440ac1a3a5926c2e530072 | f40c0065fb66f1c73499e412a47ac6de8f5f277c | refs/heads/master | 2020-12-31T04:07:22.698642 | 2015-09-30T05:51:17 | 2015-09-30T05:51:17 | 38,590,388 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,591 | cc | #include "caffe2/operators/dropout_op.h"
namespace caffe2 {
template <>
bool DropoutOp<float, CPUContext>::RunOnDevice() {
auto& X = Input(0);
auto* Y = Output(0);
Tensor<bool, CPUContext>* mask =
OperatorBase::Output<Tensor<bool, CPUContext> >(1);
Y->Reshape(X.dims());
mask->Reshape(X.dims());
DCHE... | [
"jiayq84@gmail.com"
] | jiayq84@gmail.com |
bc22c64b814064d4a22144d37e73aa71f205da2f | 899e293884d1ed1896414d46e3b46a1a9bfdc490 | /ACM/Codes/TC/685_2/500_2.cpp | 09c8b31c0648fbf9eafe0ecd6a37456a48fcbc43 | [] | no_license | py100/University | d936dd071cca6c7db83551f15a952ffce2f4764c | 45906ae95c22597b834aaf153730196541b45e06 | refs/heads/master | 2021-06-09T05:49:23.656824 | 2016-10-27T08:22:52 | 2016-10-27T08:22:52 | 53,556,979 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,235 | cpp | #include <bits/stdc++.h>
using namespace std;
typedef pair<int, pair<int, int> > PIII;
class DoubleWeights
{
public:
int vis[30][200];
int dist[30][200];
set< pair<int, pair<int, int> > > st;
PIII mk(int a, int b, int c) {
return make_pair(a, make_pair(b, c));
}
int minimalCost(vector <str... | [
"py100@live.cn"
] | py100@live.cn |
63870ca593966e039375899995b28206d0676e64 | 76c873d1b64395084dc6eab597bc6f3775d63b45 | /dependencies/include_search_engine/SearchEngine.h | 79670c3d1cf6bb3980aaa453024c8571a4906778 | [
"MIT"
] | permissive | Ophien/RogueLike-Flooding-Engine-for-Reinforcement-Learning | 8d111638daeba37624fe911d2676cb7097d5078b | b2a842812e1c759c33afaf305ef7470180e163ee | refs/heads/master | 2020-03-30T04:53:08.417781 | 2018-09-29T09:59:46 | 2018-09-29T09:59:46 | 150,767,154 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,480 | h | /*
* Copyright(C) 2018 Alysson Ribeiro da Silva
*
* 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 version 3.
*
* This program is distributed in the hope that it will be useful,
*... | [
"alysson.ribeiro.silva@gmail.com"
] | alysson.ribeiro.silva@gmail.com |
42bc6fafc98abee422a3f6209594508f7f1fd741 | f22f1c9b9f0265295be7cb83433fcba66b620776 | /native/include/src/main/c++/jcpp/native/api/library/NativeLibrary.cpp | 40336cf6c4661da40a25f0c60f1d8500cfd78c30 | [] | no_license | egelor/jcpp-1 | 63c72c3257b52b37a952344a62fa43882247ba6e | 9b5a180b00890d375d2e8a13b74ab5039ac4388c | refs/heads/master | 2021-05-09T03:46:22.585245 | 2015-08-07T16:04:20 | 2015-08-07T16:04:20 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 276 | cpp | #include "jcpp/native/api/library/NativeLibrary.h"
namespace jcpp {
namespace native {
namespace api {
namespace library {
NativeLibrary::NativeLibrary(const NativeString& path) :
path(path) {
}
NativeLibrary::~NativeLibrary() {
}
}
}
}
}
| [
"mimi4930"
] | mimi4930 |
3b4628f131f383e3c61d66f7e6786b236ee44ec7 | 39fe085377f3c7327e82d92dcb38083d039d8447 | /core/sqf/monitor/linux/tmsync.h | 565bb7f531b80dcd1664eeede262dc2d7571a74a | [
"Apache-2.0"
] | permissive | naveenmahadevuni/incubator-trafodion | 0da8d4c7d13a47d3247f260b4e67618c0fae1539 | ed24b19436530b2c214e4bf73280bc8e3f419669 | refs/heads/master | 2021-01-22T04:40:52.402291 | 2015-07-16T00:02:50 | 2015-07-16T00:02:50 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,403 | h | ///////////////////////////////////////////////////////////////////////////////
//
// @@@ START COPYRIGHT @@@
//
// (C) Copyright 2008-2014 Hewlett-Packard Development Company, L.P.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License... | [
"steve.varnau@hp.com"
] | steve.varnau@hp.com |
38586a749d55e1fc9c7a52a08fdc198010e6d0c0 | 097b2a0f8e5cefbaff31790a359d267bd978e480 | /Atcoder/ABC_s1/ABC_116/test.cpp | 4de9515a03d6faa16a903abea6064dc25dd7666c | [] | no_license | Noiri/Competitive_Programming | 39667ae94d6b167b4d7b9e78a98b8cb53ff1884f | 25ec787f7f5a507f9d1713a1e88f198fd495ec01 | refs/heads/master | 2023-08-16T17:35:15.940860 | 2021-09-07T20:57:59 | 2021-09-07T20:57:59 | 161,947,108 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 247 | cpp | #include <bits/stdc++.h>
using namespace std;
int main(){
int cnt = 0;
bool flag = true;
while(flag){
flag = true;
cnt++;
if(cnt == 5) flag = false;
}
cout << cnt << endl;
return 0;
} | [
"suleipenn@gmail.com"
] | suleipenn@gmail.com |
dcd0c35d6357e2f2e8a5a0c2288662c1456469af | 1aa7d6d47b1041c1c18c72bda48d696464aa3510 | /alljoyn/alljoyn_core/router/test/mcmd.cc | 0a93326afdba5d026ba375ddb87f934ab4aa939e | [] | no_license | gwgoliath/learnalljoyn | ab4a58a6f09b1b7aa2b94b26ca308bbe65a50057 | 42eabaef7762645fffd163d12fee38a3d230e519 | refs/heads/master | 2021-01-10T11:01:26.783121 | 2016-02-26T11:22:21 | 2016-02-26T11:22:21 | 52,582,835 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 35,597 | cc | /**
* @file
* "Simple" tool for sending method call commands to the bus.
*
* NOTE: This tool (ab)uses some AllJoyn interfaces in inappropriate ways and
* contains some bad programing constructs (i.e., known memory leaks, etc.).
* The code in this tool should not be used as an example of how to use the
* AllJoyn ... | [
"goliathpeng@gmail.com"
] | goliathpeng@gmail.com |
e63c742bea40a11923cfaf7c06b3406c0c37bf21 | 04c5d294c9f55338bd760babcf1fcf0fa4a45149 | /client/src/zpopupwindow.cpp | d67157ef1d123f8f490a1ebc66827f20d3473998 | [] | no_license | ekoschik/mcupload | f7e2f4994b16889375935f9feae8df1abef97a6b | 912ba531b25ea770feca269f632177aa56893144 | refs/heads/master | 2021-01-20T09:12:45.313950 | 2016-11-09T08:58:07 | 2016-11-09T08:59:09 | 31,458,284 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 869 | cpp |
#include "stdafx.h"
#include "zheader.h"
//
// popupwindow.cpp
// Manages the popup menu created when tray
// receives a right click message
//
#define IDM_EXIT 105
HMENU hPopupMenu;
VOID HandlePopupMessage(INT msg)
{
if (msg == IDM_EXIT) {
DestroyWindow(tray_hwnd);
}
}
VOID ShowPopupMenu(HWND hwndParent)
{... | [
"ekoschik@umich.edu"
] | ekoschik@umich.edu |
89e345e06dda3ff734b51332d68ea1dfdd7678ec | a5054df3fa38dbf5c7c03d8721f9bcfe04db570f | /Examples/Joypad/Game.h | 3e65fed9e5755d0f955527a666e887d125dcead4 | [
"MIT",
"CC0-1.0"
] | permissive | Bjohh/SuperPlay | 850a5baa3f114ea65b8ed4629bdff9c0e4c040e9 | e2d33cb52635251cd3f180b73f5fb08944940d18 | refs/heads/master | 2023-03-16T20:27:49.749763 | 2020-12-09T19:58:16 | 2020-12-09T19:58:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,573 | h | // This code is part of the Super Play Library (http://www.superplay.info),
// and may only be used under the terms contained in the LICENSE file,
// included with the Super Play Library.
//
// THIS CODE AND INFORMATION ARE PROVIDED "AS IS" WITHOUT WARRANTY OF ANY
// KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING B... | [
"cdoty@rastersoft.net"
] | cdoty@rastersoft.net |
ce5367d4ee016fdc7f077a0d05746ae03e49b1e4 | b60760bd7e84026da1c9e8a202b7d6283d77c59a | /New Unity Project_BackUpThisFolder_ButDontShipItWithYourGame/il2cppOutput/Zinnia.Runtime1.cpp | 1dc648ecbfaa6fcfeee8dea113581e085e7be029 | [] | no_license | starstruuk/VRTKBuild | 9d348aaf388bf102993530edd5dcadb10dd67e66 | 31cbd2cbe48614d1b98f47332995c1bff2ac565a | refs/heads/master | 2021-05-23T09:19:34.904206 | 2020-04-05T21:13:09 | 2020-04-05T21:13:09 | 253,216,957 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,132,636 | cpp | #include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <cstring>
#include <string.h>
#include <stdio.h>
#include <cmath>
#include <limits>
#include <assert.h>
#include <stdint.h>
#include "codegen/il2cpp-codegen.h"
#include "il2cpp-object-intern... | [
"noreply@github.com"
] | starstruuk.noreply@github.com |
91f292cb26296d1fc758147c5712d9dab9142940 | 9290926c1cd1f8fdeaa262d0261f022ca8bdbf6a | /LeetCode/173. Binary Search Tree Iterator.cpp.cpp | 5202950d221a6a5dbbcb1b780af04252d37e9a9f | [] | no_license | iamard/Online-Judgement | bcfd06effd71091065351dd66e603d48cf15387c | 5daa4cb8f1783a0ba55963ef3fbdef01f3bd2ffa | refs/heads/master | 2020-03-10T22:04:06.109814 | 2018-06-04T15:57:58 | 2018-06-04T15:57:58 | 129,610,175 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,048 | cpp | /**
* Definition for binary tree
* struct TreeNode {
* int val;
* TreeNode *left;
* TreeNode *right;
* TreeNode(int x) : val(x), left(NULL), right(NULL) {}
* };
*/
class BSTIterator {
stack<TreeNode*> pool;
public:
BSTIterator(TreeNode *root) {
if (root == nullptr)
... | [
"chenhung.yang@gmail.com"
] | chenhung.yang@gmail.com |
7f2ee7cb48ef717fcd1fed736353797a2ef18d90 | 10a921d63bcbee56e00cfacb809d430d8bafec8a | /i23dSFM/geometry/Similarity3.hpp | 616ef5491bcf5c26bd292b3f2c8933e5f4f12f98 | [
"BSD-3-Clause"
] | permissive | zyxrrr/GraphSfM | b527383c09fcbf6a89fb848266d61e5e130dcb27 | 1af22ec17950ffc8a5c737a6a46f4465c40aa470 | refs/heads/master | 2020-04-23T02:48:42.557291 | 2019-03-26T02:41:10 | 2019-03-26T02:41:10 | 170,858,089 | 0 | 0 | BSD-3-Clause | 2019-02-15T11:57:46 | 2019-02-15T11:57:46 | null | UTF-8 | C++ | false | false | 978 | hpp | // Copyright (c) 2015 Pierre MOULON.
// 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/.
#ifndef I23DSFM_GEOMETRY_SIMILARITY3_H_
#define I23DSFM_GEOMETRY_SIMILARITY3_H_... | [
"1701213988@pku.edu.cn"
] | 1701213988@pku.edu.cn |
f4e4a40e3d14e0d0ea0f879d43f1329316c4941a | f7e1414eb92c20c3e9ef6124be630437d46d3d76 | /Lab03_Gabriel_Sam_1037420/Juego.h | 5848a9eadbe9c16b69ad50a8ea5d563ff294df27 | [] | no_license | Gaboseb5/Lab03_Gabriel_Sam_1037420 | 40605c301149fd17d43c9c28fad4ff00ca56e3e8 | b4e70abc5c84bc17b8cb0de3c3c5761385efff47 | refs/heads/master | 2022-12-23T16:39:19.685177 | 2020-10-03T10:49:48 | 2020-10-03T10:49:48 | 300,858,141 | 0 | 0 | null | null | null | null | ISO-8859-1 | C++ | false | false | 15,457 | h | #pragma once
#include"Lista.h"
#include <iostream>
#include<cstdlib>
#include<stdlib.h>
#include<time.h>
#include<ctime>
#include<stdio.h>
//using namespace std;
namespace Lab03GabrielSam1037420 {
using namespace System;
using namespace System::ComponentModel;
using namespace System::Collections;
using namespace S... | [
"71182418+Gaboseb5@users.noreply.github.com"
] | 71182418+Gaboseb5@users.noreply.github.com |
c4aa0e1873b1c2850f3592bebd71d40fcda53d31 | 02f905756e1bec374998d60ae159cfd16f8b6afa | /trabajo3/funciones.cpp | 83b703808225d32baf5bfb24a7929da7224125a7 | [] | no_license | jmorenov/VC | 03e5c2c2688b87cbca7e01add4acff24939a3b2b | f1fa54278a17397a1635927c6199fbe9d4520bdb | refs/heads/master | 2021-01-10T19:40:23.075680 | 2015-05-15T08:15:31 | 2015-05-15T08:15:31 | 25,963,891 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,864 | cpp | /*
*
* Visión por computador
* Trabajo 3
*
* Created on: 02/01/2015
* Author: Javier Moreno Vega <jmorenov@correo.ugr.es>
* Last modified on: 02/01/2015
* Modified by: Javier Moreno Vega <jmorenov@correo.ugr.es>
*
* File: funciones.cpp
*/
#include <cmath>
#include <iostream>
#include <math.h>
#includ... | [
"jmorenov28@gmail.com"
] | jmorenov28@gmail.com |
abdcf3b41df839bed519b4f6f94806750bc72b90 | 1514561820aa57d11729516e59fcf74472b86b45 | /75XPlay观察者Observer模式的代码实现并使用IDemux进行测试/XPlay/app/src/main/cpp/native-lib.cpp | 31b16a6b3ab030972c22eab7ec18c4d72fb9a2a2 | [
"Apache-2.0"
] | permissive | liyoung1992/FFmpeg01 | 5d2d502e827a75901a576ba686fa343e7313397b | b3ebbef111004279c95092bec6da51cc08e70603 | refs/heads/master | 2022-06-16T07:00:43.710906 | 2020-05-09T04:57:47 | 2020-05-09T04:57:47 | 269,690,420 | 0 | 1 | Apache-2.0 | 2020-06-05T15:48:56 | 2020-06-05T15:48:55 | null | UTF-8 | C++ | false | false | 2,223 | cpp | /*******************************************************************************
** **
** Jiedi(China nanjing)Ltd. **
** 创建:夏曹俊,此代码可用作为学习参考 **
***************... | [
"zuoxingchen@fcbox.com"
] | zuoxingchen@fcbox.com |
c4757c84cbef64833fb1a64026d253b69b3606e7 | bbe6a226e1d9bb22848570f8b9564510697167bf | /http/client/http_client.cpp | d042bdba5b1663fba067410b60bfbd9d6a444dc5 | [
"BSD-3-Clause"
] | permissive | ml-haha/libhv | 8a4d3fbcaba6b912175153bb908664d3232fe5fc | ab02e1721d1932707a399f18d88b7208cc3eed62 | refs/heads/master | 2023-05-28T01:54:52.300596 | 2021-06-15T08:26:22 | 2021-06-15T08:26:22 | 377,090,447 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,662 | cpp | #include "http_client.h"
#include <mutex>
#ifdef WITH_CURL
#include "curl/curl.h"
#endif
#include "herr.h"
#include "hstring.h"
#include "hsocket.h"
#include "hssl.h"
#include "HttpParser.h"
// for async
#include "AsyncHttpClient.h"
struct http_client_s {
std::string host;
int port;
int ... | [
"weidream@users.noreply.github.com"
] | weidream@users.noreply.github.com |
3571edd9290ad26a2a77267882de3700f4b00ec0 | cadb7489ae34aaaae6af537a696c76f8131748c9 | /HashTables/src/StringHash.cpp | 76363a0f389845d53bd142ca29fc1f3538c38e73 | [] | no_license | drazhok/CS260 | 0e82bc4931fd9e2ff051ed96c91b0d61f5d286c7 | 909924454bfc82762dddbffa45f1c4cba308dd88 | refs/heads/master | 2020-05-04T02:14:12.966315 | 2019-06-05T21:30:44 | 2019-06-05T21:30:44 | 178,922,619 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,032 | cpp | #include <memory.h>
#include "StringHash.h"
const std::string EMPTY = "_empty_";
const std::string DELETED = "_deleted_";
// Creates a hash table of a default size.
StringHash::StringHash() {
table = new std::string[11];
tableSize = 11;
initialize();
}
// Creates a hash table with a custom size.
String... | [
"drazhok@stevenwdarkwarez@gmail.com"
] | drazhok@stevenwdarkwarez@gmail.com |
2e72019bcebf432ee8092dc9d8cb6334cd030992 | c56939cc6120dbadded7765bf31f170c9a0b9305 | /[SRM]个人比赛场次/[NWPU][2014][SRM][7][0817]返校大战/D.cpp | cd774e6c33d0128aee7fe807f3f0d8fe1e553978 | [] | no_license | nwpuacm2012/2014SummerTraining | b45b1e5f0d4a4c03ea6a84f5e21fd423911096ee | e59fc1475b7278ca8296956feb4f302208ea8776 | refs/heads/master | 2020-04-30T01:23:16.145141 | 2015-03-06T16:54:12 | 2015-03-06T16:54:12 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,572 | cpp | // <!--encoding UTF-8 UTF-8编码--!>
/*****************************************************************************
* ----Stay Hungry Stay Foolish---- *
* @author : Shen *
* @name : D ... | [
"polossk@126.com"
] | polossk@126.com |
7921a21529b6e497bf1c3798a8fd4a6b6f095245 | 96f62b9974b80a11f9d1636ab83cd1148842b6e2 | /Exercise 9.4.cpp | 62b1ac8398a3150bc4202c00ba1342de8b19fa61 | [] | no_license | zpiao1/CPP-Primer | 7b425af84da33673aa92ba1de22e785b400e1bb8 | baeeefc1b1ea9a7f618c5586bd46954dca4ce3df | refs/heads/master | 2021-01-15T15:48:41.126941 | 2016-08-28T03:41:26 | 2016-08-28T03:41:26 | 55,473,927 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 568 | cpp | #include <vector>
#include <iostream>
using namespace std;
using const_it = vector<int>::const_iterator;
bool isFound(const_it cbegin, const_it cend, int val);
int main()
{
vector<int> vec;
for (int i = 1; i <= 10; i++)
vec.push_back(i);
cout << isFound(vec.cbegin(), vec.cend(), 5) << endl;
cout... | [
"zpiao1@gmail.com"
] | zpiao1@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.