blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 3 264 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 5 140 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 905
values | visit_date timestamp[us]date 2015-08-09 11:21:18 2023-09-06 10:45:07 | revision_date timestamp[us]date 1997-09-14 05:04:47 2023-09-17 19:19:19 | committer_date timestamp[us]date 1997-09-14 05:04:47 2023-09-06 06:22:19 | github_id int64 3.89k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 22
values | gha_event_created_at timestamp[us]date 2012-06-07 00:51:45 2023-09-14 21:58:39 ⌀ | gha_created_at timestamp[us]date 2008-03-27 23:40:48 2023-08-21 23:17:38 ⌀ | gha_language stringclasses 141
values | src_encoding stringclasses 34
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 3 10.4M | extension stringclasses 115
values | content stringlengths 3 10.4M | authors listlengths 1 1 | author_id stringlengths 0 158 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
d1ca515dbd6e3f6ffda85a6ca227775807b84ab3 | 1869c2a060195e38c3daaf5953125b28249b0065 | /05-ScenceManager/BreakBrick.cpp | c02b17306806f5facc8aa8d456d772355f51749b | [] | no_license | ThanhDoNgoc/mariobros3 | 1488cfbdbcf77cebee293eb4a4216e8117b824fc | 558839be3dd48ef791402566b3a6f18a1dc8c94c | refs/heads/master | 2023-06-29T21:56:14.286662 | 2021-07-23T14:27:23 | 2021-07-23T14:27:23 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,212 | cpp | #include "BreakBrick.h"
#include "Camera.h"
#include "Game.h"
BreakBrick::BreakBrick(float x, float y, bool ishigh, bool isDirecRight)
{
AddAnimation(ID_ANI_BREAK_BRICK);
this->x = x;
this->y = y;
if (ishigh)
this->vy = -BREAK_SPEED_Y_H;
else if (!ishigh)
this->vy = -BREAK_SPEED_Y_L;
if (isDirecRight)
{
... | [
"18520358@gm.uit.edu.vn"
] | 18520358@gm.uit.edu.vn |
1bba47d630cdbb777c5c05c4697df4b0f8e580aa | e9cf4952514ccb929efdc398ee4692239cfbf5db | /src/chapter1/optional_example.cpp | 695ac44e642c717807befc27d30910465f93b289 | [] | no_license | Nathaniel100/BoostCookbook | 0949f79e04355467d1053546a4ff8c6bef3922f2 | cb13e0cf5865b4d994eb0099a14b5125014cb5f0 | refs/heads/master | 2023-04-13T03:55:31.393932 | 2017-03-31T01:03:05 | 2017-03-31T01:03:05 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 926 | cpp | //
// Created by 吴凡 on 2017/3/7.
//
#include <boost/optional.hpp>
#include <iostream>
class DeviceLock {
public:
explicit DeviceLock(const char* device) {
// acquire lock
std::cout << "Device is locked\n";
}
~DeviceLock() {
// release lock
}
void use() {
// alread... | [
"386534960@qq.com"
] | 386534960@qq.com |
30987751cacf47f56a76cbd155c95c8887144b03 | 40bac5da80f610c33c038baf9e10f40495a1586b | /LeetCode_131_JudgeByNewCharAndCount.cpp | 60b846ac51fe1cc535c4a2e2a40a71d6b5f46e6b | [] | no_license | earnestzhao/LeetCode | 209d205c178e8ac3b40c214a6f711275a545fda4 | 5cefe55d8c4a6d9fe86c5e2fc8965f71e4073a35 | refs/heads/master | 2020-04-15T14:03:35.628692 | 2019-08-24T13:10:04 | 2019-08-24T13:10:04 | 57,934,937 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,042 | cpp | class Solution
{
public:
vector<vector<string>> partition(string s)
{
vector<string> vecSubResult;
vector<vector<string>> vecResult;
partition(s, 0, vecSubResult, vecResult);
return vecResult;
}
private:
void partition(const string & strSrc, int iStartIndex, vector... | [
"earnest001@163.com"
] | earnest001@163.com |
8dcba8b4d71826599dfaada076ede58462171719 | ecafd57a7d57b416c497ebc20cdeadd7aed259b1 | /src/main.cpp | cd1f3decba216be7fddcfc2fc03e6897d11960eb | [
"MIT"
] | permissive | Ztegritycoin/ZtegrityCoin | 0f86baa2e9240fc6916c325360b74bf7cf663afc | 1e46bae6afb014c3251bef448396cf00976aef20 | refs/heads/main | 2023-03-23T22:07:26.142513 | 2021-03-18T19:35:17 | 2021-03-18T19:35:17 | 349,194,786 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 311,885 | cpp | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2014 The Bitcoin developers
// Copyright (c) 2014-2015 The Dash developers
// Copyright (c) 2015-2019 The PIVX developers
// Copyright (c) 2017-2018 The NavCoin Core developers
// Copyright (c) 2018-2019 The Myce developers
// Copyright (c) 2018 The zteg... | [
"ztegritycoin@gmail.com"
] | ztegritycoin@gmail.com |
c4ced398e3147dd85ab4729dd6dc565ce4a34a03 | e4cf94694330f3f7fdbb6ecf932c19a8637e1878 | /mediasourse.cpp | f6000ae89440485f73afda45b4e5294e75708ace | [] | no_license | Reader6/ReadClient | 20a77f4ea6bf648aaab7a25c1bd51d28bd1eee9a | 78a0175956675cf3f5c8b5e2ef97d5be5544dfca | refs/heads/master | 2021-01-16T04:01:31.107972 | 2020-07-02T16:47:06 | 2020-07-02T16:47:06 | 242,971,016 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,220 | cpp | #include "mediasourse.h"
#include <unistd.h>
#include <QDebug>
#include <QDir>
#include "filedownload.h"
#include "downthread.h"
MediaSourse::MediaSourse(QObject *parent)
:QObject(parent),
available{false}, file{nullptr}, alreadyTs{nullptr},len{-1}{}
bool MediaSourse::loadSourse(QString url)
{
if(av... | [
"1305665118@qq.com"
] | 1305665118@qq.com |
d60931cfc025b34ef8638d62851c3c8670818dd2 | aab77b2a871638ca4ce0a162431206cb8e930e13 | /data/input/boost_1_53_0 (1)/boost_1_53_0/libs/functional/hash/test/hash_custom_test.cpp | bec2fbb34d746c3e5dedb86b751c8c781d3875c7 | [
"BSL-1.0"
] | permissive | tl66365561/Search_engine | 0ddc51b3baa3eaddc4865d7411d75b08bf905ffb | 7adcf988f0e25e3e1ed2f0bbf762ebd6d76bf810 | refs/heads/master | 2020-05-05T11:05:55.593848 | 2019-07-02T04:34:48 | 2019-07-02T04:34:48 | 179,975,031 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,395 | cpp |
// Copyright 2005-2009 Daniel James.
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
#include "./config.hpp"
#include <boost/config.hpp>
#include <cstddef>
namespace test
{
struct custom
{
... | [
"1270733576@qq.com"
] | 1270733576@qq.com |
748c61ebca331e293aed8e3e065d2372b3b1ed5f | 6070c8fd739b1a3dca1615882f6d03f16e67f2b0 | /hack/snake.cpp | d980cbbe8a95fab2a9e8c33ebc1e8b3ebf9872ea | [] | no_license | mdmuneerhasan/competitive | 14410133f677ed9dbb39309055ed9cf6ea89d4e7 | 2797e9bab26f740259f99a8ee153a457ce02a41a | refs/heads/master | 2022-08-24T16:10:13.749169 | 2022-08-21T09:41:23 | 2022-08-21T09:41:23 | 207,476,804 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,989 | cpp | /* This code is submitted by Muneer Hasan
* Computer-scince student ( @ Jamia Millia Islamia : New Delhi)
* Email : md.muneerhasan@gmail.com
* 23:01:15 Wednesday 05-August:2020*/
#include<bits/stdc++.h>
using namespace std;
#define int long long int
#define SF(v) sort(v.begin(),v.end())
#define F ... | [
"md.muneerhasan@gmail.com"
] | md.muneerhasan@gmail.com |
7081b7faa57d4ab6836fd512a127e0700b127e3b | f7bbeee021ae30cb35def098b374a0cabd0a36fc | /longestvalidparentheses.cpp | d698bda9b4bc88f6e6e892d0c19f3e5b6445c60f | [] | no_license | jxie418/leetcodecpp | e8e8ad9fb8adbbe389738523ee266735d124d2df | 6a778367726dd47247d99e94d7a0a29efe2b0cb8 | refs/heads/master | 2021-01-10T09:30:10.960584 | 2016-04-24T03:10:07 | 2016-04-24T03:10:07 | 49,180,832 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,208 | cpp | #include <iostream>
#include <string>
using namespace std;
class Solution {
public:
int longestValidParentheses(string s) {
if (s.length() == 0) {
return 0;
}
int count = 0, m =0, len =0;
for ( int i = 0 ; i < s.length() ; i++ ) {
if (s[i] == '(') {
++count;
++len;
} else if (s[i] == ')') {
... | [
"jxie418@gmail.com"
] | jxie418@gmail.com |
6ad62e981ef06396f4d8f0c6f66d69abdfc660ea | 55fa93532e1377d3dc7b77833fb024e6d1bda62e | /libs/ossia/include/ossia/detail/algorithms.hpp | 966a7045d075988e4b56b78ed7f92cb51776d4e0 | [] | no_license | avilleret/ofxOSSIA | 14293f0d762748b77fc646d9807874b807719a31 | 86474907447004ba0db98ff04c527215378cf50a | refs/heads/master | 2021-01-18T11:20:03.269109 | 2016-08-17T19:41:25 | 2016-08-17T19:41:30 | 67,735,146 | 0 | 0 | null | 2016-09-08T19:47:37 | 2016-09-08T19:47:37 | null | UTF-8 | C++ | false | false | 1,366 | hpp | #pragma once
#include <algorithm>
#include <type_traits>
#include <iterator>
/**
* This header contains various range-style functions that mimic std::algorithm functions.
* This won't be necessary anymore when ranges are introduced in C++20 (hopefully).
*/
namespace ossia
{
template <typename Vector>
using iterator... | [
"jeanmichael.celerier@gmail.com"
] | jeanmichael.celerier@gmail.com |
866c0fc3f4306eca6e4533b7c539681de429f090 | f5678fd67c0d88142d9629fca67444e8a7c4d0bc | /camera/QCamera2/HAL/QCameraMem.cpp | 97d7e38f653b0a6bdb895e870f12edba19ffaf9c | [] | no_license | gimmeitorilltell/device_oneplus_onyx | e2ca12cd527e132dc2e0908020d77720f82d8885 | 37402715c44a40dcc09d2021892c907d89932095 | refs/heads/c7.1.1 | 2020-12-31T07:11:41.602115 | 2017-02-02T05:31:00 | 2017-02-02T05:31:00 | 80,563,612 | 0 | 0 | null | 2017-01-31T21:22:11 | 2017-01-31T21:22:10 | null | UTF-8 | C++ | false | false | 55,042 | cpp | /* Copyright (c) 2012-2013, The Linux Foundataion. 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... | [
"rjmurdok@linux.com"
] | rjmurdok@linux.com |
ffbb1255deee16ea8846976abe126f093276a9a2 | f78e962ee838d872c7098b89bed9a327ad4e0d78 | /Plugins/frame_grabbers/src/cv_capture.h | e276e1e2fff2bd669e6c9adfb8a7789bc3e448a7 | [
"BSD-3-Clause"
] | permissive | siyu828/EagleEye | 83dc739bcf9380e02aa78d6df6fdc10a7b4b69a3 | 5b04ab52cdb03f710eff836e84f695446282848d | refs/heads/master | 2020-03-22T03:27:43.349215 | 2017-12-23T00:51:09 | 2017-12-23T00:51:09 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,179 | h | #pragma once
#include "Aquila/framegrabbers/IFrameGrabber.hpp"
#include "Aquila/types/SyncedMemory.hpp"
#include "Aquila/rcc/external_includes/cv_cudacodec.hpp"
#include "Aquila/rcc/external_includes/cv_imgcodec.hpp"
#include "Aquila/rcc/external_includes/cv_videoio.hpp"
#include <MetaObject/params/detail/TParamPtrImpl... | [
"dtmoodie@gmail.com"
] | dtmoodie@gmail.com |
1e13b77192cec4672c08816ea718232908c5e015 | 64178ab5958c36c4582e69b6689359f169dc6f0d | /vscode/wg/sdk/EParameterLUTChannel.hpp | e7eaaa958f89de1738b1771b4ca77c72180d9732 | [] | no_license | c-ber/cber | 47bc1362f180c9e8f0638e40bf716d8ec582e074 | 3cb5c85abd8a6be09e0283d136c87761925072de | refs/heads/master | 2023-06-07T20:07:44.813723 | 2023-02-28T07:43:29 | 2023-02-28T07:43:29 | 40,457,301 | 5 | 5 | null | 2023-05-30T19:14:51 | 2015-08-10T01:37:22 | C++ | UTF-8 | C++ | false | false | 439 | hpp | #pragma once
#ifdef _MSC_VER
#pragma pack(push, 1)
#endif
namespace PUBGSDK {
enum EParameterLUTChannel
{
EParameterLUTChannel__R = 0,
EParameterLUTChannel__G = 1,
EParameterLUTChannel__B = 2,
EParameterLUTChannel__A = 3,
EParameterLUTChannel__RGBA = 4,
EParameterLUTChannel__Undef... | [
"1395329153@qq.com"
] | 1395329153@qq.com |
e30546a26f4ef2bf2f030453aef2b7ee9a1f1710 | 22d687b5f01d097efa1fd5c95f5b116db3b12475 | /CWhileLoopNode.cpp | c0ecc22228fa788a444f7af0b042e32f786df23f | [
"Zlib"
] | permissive | PaulMcClernan/Forge | ee2b52be89899ecfb667d38aee95cc284e4cf808 | c03d8f27d5178a57e85e29b8331438bded49ccc7 | refs/heads/main | 2022-09-15T16:24:37.878564 | 2020-05-30T14:41:45 | 2020-05-30T14:41:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,733 | cpp | /*
* CWhileLoopNode.cpp
* HyperCompiler
*
* Created by Uli Kusterer on 19.05.07.
* Copyright 2007 M. Uli Kusterer. All rights reserved.
*
*/
#include "CWhileLoopNode.h"
#include "CCodeBlock.h"
#include "CNodeTransformation.h"
#include "LEOInterpreter.h"
namespace Carlson
{
void CWhileLoopNode::GenerateCo... | [
"ulivc@zathras.de"
] | ulivc@zathras.de |
cb7b762d2f0197dcf6411eed7dee65f1e9ccc634 | dde7dc50b7231f03d215091ebf41d3f242b22024 | /INF1010_TP/TP4/TP4/ProduitSolde.cpp | 436c636dc0c2207ad85184e39b37e545028bf041 | [] | no_license | jmlasnier/INF1010 | 2f7f4f29fb90d74faf27867451f5fdd514b30499 | 7687a931132df96a7d59e9a850f765fd64755b52 | refs/heads/master | 2021-05-02T18:39:41.024516 | 2020-09-19T22:18:53 | 2020-09-19T22:18:53 | 120,663,957 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 781 | cpp | #include "ProduitSolde.h"
ProduitSolde::ProduitSolde(int pourcentageRabais)
: Produit(),
Solde(pourcentageRabais)
{
}
ProduitSolde::ProduitSolde(Fournisseur *fournisseur, const string &nom,
int reference, double prix, int pourcentageRabais)
: Produit(fournisseur, nom, referenc... | [
"j-m.lasnier@hotmail.com"
] | j-m.lasnier@hotmail.com |
d06ff624d824d68dec69dfac5aafd4df3227376c | ad9df9df768a1f28d3049026e7bdc37ac78f9f2a | /Chilkat/AuthAzureSAS.h | e11f37be41dfe4be082b171f241c4b195fd03e1d | [] | no_license | gencer/Chilkat-for-Universal-Windows-Platform-UWP-VS2015 | bd402183f0e275307e25496ba90c93a75f4ced7d | f28778dd5dfc2f78a4515672b96a8c6c6578611e | refs/heads/master | 2021-01-12T10:48:35.998727 | 2017-08-09T15:16:30 | 2017-08-09T15:16:30 | 72,678,446 | 0 | 0 | null | 2016-11-02T20:26:53 | 2016-11-02T20:26:52 | null | UTF-8 | C++ | false | false | 1,712 | h |
// This header is generated for Chilkat v9.5.0
#pragma once
class CkAuthAzureSASW;
#if !defined(CK_SFX_INCLUDED)
#define CK_SFX_INCLUDED
#endif
#include "chilkatClassDecls.h"
using namespace Platform;
using namespace Windows::Foundation;
using namespace concurrency;
namespace Chilkat
{
public ref class A... | [
"admin@chilkatsoft.com"
] | admin@chilkatsoft.com |
37bf3748a29a601313608ac2e3281b620b673790 | 696ce3cf5153b853f8f75d1a25c16c19c258f891 | /practice/inheritance.cpp | 7a3cc38e5b638003d70fd0cef98ecbe2fba2180a | [] | no_license | xutu10/cpp | 0ac2ebad8ad09d684af002e0df51697eb63d2af8 | 62c341ab7144bee8bee73a8b08998d72b362e7f9 | refs/heads/master | 2021-01-11T12:26:38.129957 | 2020-11-30T19:52:21 | 2020-11-30T19:52:21 | 76,443,284 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,439 | cpp | #include<iostream>
using namespace std;
class Base{
public:
Base(int a):a_(a){
cout<<"constructor base"<<endl;
}
~Base(){
cout<<"destructor base"<<endl;
}
virtual void increment(){
a_++;
}
void show(){
cout<<"show in base: "<<a_<<endl;
}
int a_;
};
class Derived : public Base{
public:
Derive... | [
"billxu89@gmail.com"
] | billxu89@gmail.com |
c8654cb0445697a707ad02572c48029bde4f5596 | cf3cc3eb4ee02d1905b4a587359cc859875ba10b | /visualization/src/image_viewer.cpp | de6d0acadea49364b21c37308712ff41316d617c | [
"BSD-3-Clause"
] | permissive | thomas-moulard/pcl-deb | 5a65897ade36975d47feb82bc9a8487683e1da44 | 3b4126835092f111330dd5da39aa84443737fab0 | refs/heads/master | 2021-01-01T05:35:55.683546 | 2013-06-22T16:11:31 | 2013-06-22T16:11:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 35,607 | cpp | /*
* Software License Agreement (BSD License)
*
* Point Cloud Library (PCL) - www.pointclouds.org
* Copyright (c) 2009-2012, Willow Garage, Inc.
*
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditi... | [
"thomas.moulard@gmail.com"
] | thomas.moulard@gmail.com |
afd20f31e642a7340e8b05676d0037f9c9fb4fa8 | 0fd62f6c085b59d59bf2740d92955a6e0a3a678d | /Firmware/Output.h | 1b8af2d018f84913d9cca4ac7ee31f1fdba891b5 | [] | no_license | KushlaVR/WiFi-relay | 6592839262e78304d01f91b4626818abcaf1e08b | aa8343dee39a81d85af49b83a94d460d0cd47128 | refs/heads/master | 2023-06-07T23:52:38.749701 | 2022-05-19T20:43:58 | 2022-05-19T20:43:58 | 160,420,004 | 12 | 4 | null | 2023-05-31T20:49:31 | 2018-12-04T21:17:28 | JavaScript | UTF-8 | C++ | false | false | 763 | h | #pragma once
#include <FS.h>
#include "Collection.h"
#include "Json.h"
class Output : public Item
{
String configFile;
String name;
int pin;
int onState;
int offState;
bool _on;
public:
Output(String name, int pin, int onState, int offState);
~Output();
String getName() { return name; }
bool isOn() { retur... | [
"KushlaVR@gmail.com"
] | KushlaVR@gmail.com |
a052e7d3d03b89d931b32855aec25c2c98487f08 | 5945d6e644a25dcc1b1552205b6f96fffe159f5f | /src/lib/statuses/statusesdestroy.cpp | 97f981556bc7e35154ffbe50e3e120245ddeb633 | [
"BSD-3-Clause"
] | permissive | yuntan/twitter4qml | 5cba11e7f10eb53b547484ce680b115f3511d9c9 | 67a7ea7c5467293f6b288435e73bc9db18639985 | refs/heads/master | 2016-09-08T01:20:37.275268 | 2014-02-18T09:03:39 | 2014-02-18T09:03:39 | 16,941,630 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,697 | cpp | /* Copyright (c) 2012-2013 Twitter4QML Project.
* 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 l... | [
"stasuku@gmail.com"
] | stasuku@gmail.com |
560b32b3836c368fc011eac2e05e26246aeead6b | 868e8628acaa0bf276134f9cc3ced379679eab10 | /firstCrude2D/we123/h10/0.096/phiAlpha | e92ea2f03a60d1611983e2a7b2818038ecaab2ac | [] | no_license | stigmn/droplet | 921af6851f88c0acf8b1cd84f5e2903f1d0cb87a | 1649ceb0a9ce5abb243fb77569211558c2f0dc96 | refs/heads/master | 2020-04-04T20:08:37.912624 | 2015-11-25T11:20:32 | 2015-11-25T11:20:32 | 45,102,907 | 0 | 0 | null | 2015-10-28T09:46:30 | 2015-10-28T09:46:29 | null | UTF-8 | C++ | false | false | 1,525,567 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.4.0 |
... | [
"stig.m.nilsen@gmail.com"
] | stig.m.nilsen@gmail.com | |
0d4eccd2a5b7b3bf2d06cdfb18ea1ce72e0f97da | cd142a4e15d3576546fcb44841417039f0b8fb00 | /src/test3/src/main_window.cpp | 2f77df4e56761e9f4556ef3ea1cc76c21b9ddc8e | [] | no_license | mgou123/rplidar | 4389819eb1998d404d1066c7b4a983972d236ce7 | 608c1f6da2d3e5a8bac06e8d55d8569af828a40b | refs/heads/master | 2022-11-10T05:51:56.403293 | 2020-06-29T04:16:14 | 2020-06-29T04:16:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 17,172 | cpp |
/**
* @file /src/main_window.cpp
*
* @brief Implementation for the qt gui.
*
* @date February 2011
**/
/*****************************************************************************
** Includes
*****************************************************************************/
#include <QtGui>
#include <QMessageBox>... | [
"492798337@qq.com"
] | 492798337@qq.com |
b107576cf395ec6c3ee85c86a74638eb98dcef60 | 6b2a8dd202fdce77c971c412717e305e1caaac51 | /solutions_5658068650033152_0/C++/SQLNinja/solution.cpp | da8224f98a4994c577942dda33f0e5d64a31aa4e | [] | no_license | alexandraback/datacollection | 0bc67a9ace00abbc843f4912562f3a064992e0e9 | 076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf | refs/heads/master | 2021-01-24T18:27:24.417992 | 2017-05-23T09:23:38 | 2017-05-23T09:23:38 | 84,313,442 | 2 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 1,275 | cpp | #include<iostream>
#include<string>
#include<cstring>
#include<algorithm>
#include<cstdio>
using namespace std;
bool isalpha(char a){
if( a >='0'&&a<='9')
return true;
return false;
}
int sum(string a){
int sum=0;
for(int i=0;i<a.length();i++)
sum+=(a[i]-'0'... | [
"root@debian"
] | root@debian |
db077de1d0aa8af2b247143a9039a75ec35fcd4e | d255a6c41b2d41e9351673a2b09872297ec051eb | /pat_b1047/pat_b1047_0.cpp | 885968af4ae71c17aaf308c28fa95ebb8f503549 | [] | no_license | wangruici/pat_doing | 9080e0adfc57fed801090c2ab4edd6e36729e5e4 | 440090c5bbea219fd1dd56465512038488781436 | refs/heads/master | 2021-01-24T01:22:18.170878 | 2018-04-18T13:58:07 | 2018-04-18T13:58:07 | 122,806,167 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 652 | cpp | #include <iostream>
#include <string>
#include <cstring>
#include <cstdlib>
#include <cstdio>
#include <cassert>
#include <unordered_map>
#include <map>
using std::cin;
using std::cout;
using std::endl;
using std::flush;
using std::string;
using std::map;
using std::unordered_map;
int
main(){
unordered_map<int,int>... | [
"wrctianming@163.com"
] | wrctianming@163.com |
d3567ac6631751efa3044488e2c53d2e6c9017e0 | 9aaa15bc1301243323cdfe4f2e5274bcbcfe39c4 | /Evaluator.h | 51ba631eb68c8616609ac13b6d599aa182016af4 | [] | no_license | 0x17/CPP-Simulation | 862353e954d1b1155777476cf97d38a78137c3aa | 95a29eedff6d0510e839726f29df478ed4180426 | refs/heads/master | 2021-01-13T14:11:20.362715 | 2018-07-04T15:07:05 | 2018-07-04T15:07:05 | 72,837,984 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,572 | h | #pragma once
#include "Simulation.h"
class AbstractEvaluator : public BookingLimitOptimizer
{
public:
explicit AbstractEvaluator(const AbstractSimulation &_sim) : BookingLimitOptimizer("FullEnumeration", _sim) {}
virtual ~AbstractEvaluator() = default;
virtual ResultList collectResults(const DemandScenarioList &s... | [
"andreschnabel@me.com"
] | andreschnabel@me.com |
a268700c52e509830888a661d2df524488ac7a58 | e82735c11a6129518fb5a9df123e443368122c87 | /mp2-lab8-tables/mp2-lab7-tables/Record.h | ca62d2e41bf9d09773742ce29ddd6c44ef4d38c3 | [] | no_license | MBarysheva/mp2-lab8-table | b418328644ccd79e0b076ae9fa32deda90823e91 | 9fa499dcb9052c89c8baffc325b6f527f72076ae | refs/heads/main | 2023-05-08T02:19:27.635211 | 2021-05-31T15:35:28 | 2021-05-31T15:35:28 | 369,791,310 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,188 | h | #pragma once
#ifndef _record_h
#define _record_h
#include <iostream>
#include <string>
using namespace std;
typedef int TKey;
typedef int TValue;
class TTabRecord {
protected:
//TKey Key;
//TValue pValue;
virtual void Print(ostream& os) { os << Key << " " << pValue; }
public:
TKey Key;
TValue pValue;
TTabRe... | [
"mari.barysheva.2001@mail.ru"
] | mari.barysheva.2001@mail.ru |
9b03fb78cf3992a4fdeb7c588351d7c38b2bc4e5 | a1cc22bafb4429b53898962b1131333420eddf05 | /cmdstan/stan/lib/stan_math/stan/math/prim/fun/erf.hpp | 5ca0e168ede1df15834551d77819d2659236d946 | [
"BSD-3-Clause",
"GPL-2.0-only",
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference",
"GPL-3.0-only"
] | permissive | metrumresearchgroup/Torsten | d9510b00242b9f77cdc989657a4956b3018a5f3a | 0168482d400e4b819acadbc28cc817dd1a037c1b | refs/heads/master | 2023-09-01T17:44:46.020886 | 2022-05-18T22:46:35 | 2022-05-18T22:46:35 | 124,574,336 | 50 | 18 | BSD-3-Clause | 2023-09-09T06:32:36 | 2018-03-09T17:48:27 | C++ | UTF-8 | C++ | false | false | 1,004 | hpp | #ifndef STAN_MATH_PRIM_FUN_ERF_HPP
#define STAN_MATH_PRIM_FUN_ERF_HPP
#include <stan/math/prim/meta.hpp>
#include <stan/math/prim/functor/apply_scalar_unary.hpp>
#include <cmath>
namespace stan {
namespace math {
/**
* Structure to wrap `erf()` so it can be vectorized.
*
* @tparam T type of variable
* @param x v... | [
"yzhang@c-path.org"
] | yzhang@c-path.org |
a1dfcfff3f13090d6b23c281130193f51208dd7d | 93574cdfec6227131bda78ec7c2a687f7bb43edf | /c++/minimum-depth-of-binary-tree.cpp | 10854aa1382e449105f4d5c69925c194b2bca475 | [] | no_license | fyang26/leetcode | 642cd051fe29fb26c8c24921c5fc1504554bbe67 | 2f7d2aa174a719d93bd42790f3c216f6f0173d5b | refs/heads/master | 2021-01-10T11:08:33.920393 | 2016-04-27T00:59:05 | 2016-04-27T00:59:05 | 43,520,536 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 547 | cpp | /**
* Definition for a binary tree node.
* struct TreeNode {
* int val;
* TreeNode *left;
* TreeNode *right;
* TreeNode(int x) : val(x), left(NULL), right(NULL) {}
* };
*/
class Solution {
public:
int minDepth(TreeNode* root) {
if (!root) return 0;
else if (!root->left && !ro... | [
"fyang@umiacs.umd.edu"
] | fyang@umiacs.umd.edu |
c410868f277af3b7cb6bad65adae20ad42f04678 | 7e9dda3cb7e0045a7583dc973acf0ce43dcf8583 | /xjoi/3335.cpp | 30725991fc285725f2a1d582c5e1c459cf51dfa3 | [] | no_license | ymzqwq/qwerty | 344f80982efe72a80f3d5bc7bf2165c5b430d6e8 | 08551dd89904992acac018e7eca4811feeaef15a | refs/heads/master | 2020-03-07T16:41:07.608460 | 2018-07-19T13:04:54 | 2018-07-19T13:04:54 | 127,590,048 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 763 | cpp | #include<bits/stdc++.h>
#define LL long long
using namespace std;
const int N=100001;
int n,dis[N];
vector<int> a[N],v[N];
void read(int &x){
char ch=getchar();x=0;int w=1;
for(;ch<'0'||ch>'9';ch=getchar()) if (ch=='-') w=-1;
for(;ch>='0'&&ch<='9';ch=getchar()) x=(x<<3)+(x<<1)+ch-'0';
x*=w;
}
void dfs(int x,int f... | [
"ymzqwq@qq.com"
] | ymzqwq@qq.com |
4adef2cc79f703fc3a28876a9a55ab944c7eb02d | 2c27397d7f6ba5da9110f7a7b3cfcd04c2eb52a9 | /Practica/bluetooth_HC-06/bluetooth_HC-06.ino | e356ab8c0a9f8ecff8d7f28fab4fbc737a520447 | [] | no_license | elfoche/Arduino | a8bdd48cc2293688e1918e393a00d374db50322d | 1e8afded1a5e8f01a9b84709a901a8e07e275722 | refs/heads/master | 2020-03-19T03:54:16.123528 | 2018-09-21T00:10:25 | 2018-09-21T00:10:25 | 135,773,495 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,715 | ino | //Esto en teoria es para cambiar el nombre de la placa y la pass. pero no me anduvo.
#include <SoftwareSerial.h>
/* Programa el modulo bluetooth HC-06 con un nuevo:
NOMBRE (Nombre de 20 caracteres)
PIN (Clave de cuatro numeros)
BPS (Velocidad de conexion en baudios)
Tienda donde se compro el modu... | [
"elfoche@gmail.com"
] | elfoche@gmail.com |
3907883a8bfdab1d5f6eb75bf7a925e1ece5e16d | a0442fcd9edc8b6d0975ce8799ea5a67e808c568 | /casa6/casa5/code/alma/ASDM/FocusTable.h | 9dcfd6e038e1cbebf6743de76e2f4e3f1a241e90 | [] | no_license | kernsuite-debian/carta-casacore | f0046b996e2d0e59bfbf3dbc6b5d7eeaf97813f7 | a88f662d4f6d7ba015dcaf13301d57117a2f3a17 | refs/heads/master | 2022-07-30T04:44:30.215120 | 2021-06-30T10:49:40 | 2021-06-30T10:49:40 | 381,669,021 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 16,165 | h |
/*
* ALMA - Atacama Large Millimeter Array
* (c) European Southern Observatory, 2002
* (c) Associated Universities Inc., 2002
* Copyright by ESO (in the framework of the ALMA collaboration),
* Copyright by AUI (in the framework of the ALMA collaboration),
* All rights reserved.
*
* This library is free softwa... | [
"aramaila@ska.ac.za"
] | aramaila@ska.ac.za |
590848d6a52947c2f16343051d5a88526a98ba3d | 98c9ea8ef935819cd6c957c2ea560a2d97f3dd6b | /LSL/liblsl/lslboost/boost/random/seed_seq.hpp | cb9a79b12a7dce842264f490040ba90af3b464cf | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | gisogrimm/labstreaminglayer | dd9c18f1e50d22df4902a938135c9a958c6bd1c1 | c7b12d1f0f3487a04bba6081be7e5122af10aafe | refs/heads/master | 2020-12-25T00:05:40.953942 | 2018-06-15T12:38:15 | 2018-06-15T12:38:15 | 51,507,985 | 2 | 0 | null | 2018-06-15T12:34:28 | 2016-02-11T10:33:59 | C++ | UTF-8 | C++ | false | false | 3,804 | hpp | /* boost random/seed_seq.hpp header file
*
* Copyright Steven Watanabe 2010
* Distributed under the Boost Software License, Version 1.0. (See
* accompanying file LICENSE_1_0.txt or copy at
* http://www.boost.org/LICENSE_1_0.txt)
*
* See http://www.boost.org for most recent version including documentation.
*
* ... | [
"derstenner@gmail.com"
] | derstenner@gmail.com |
f6a780846cef4c5b0444b4aec3eef3ec01ad5b0c | 3078ae0b843641976a4b624e9b98204c86037e76 | /Machine_Learning/Project_5_MachineLearning/Project_5_MachineLearning/AttributeFactory.cpp | 6ac28038399205dec3c5f2cf17c9829e6d2eaa46 | [] | no_license | grwim/Portfolio | 0888d63cfb432ae112ed878a1b8b766b91f7b989 | 862942118f6701e40fb1c4b3e659d565058a5729 | refs/heads/master | 2020-03-28T04:30:57.113423 | 2019-01-17T23:57:12 | 2019-01-17T23:57:12 | 147,719,480 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 987 | cpp | //
// AttributeFactory.cpp
// Project_5_MachineLearning
//
// Created by Konrad Rauscher on 4/24/16.
// Copyright © 2016 Konrad Rauscher. All rights reserved.
//
#include "AttributeFactory.hpp"
Attribute * AttributeFactory::make( const vector<string> &data ) throw ( logic_error )
{
if (data[1] == "numeri... | [
"konmanr@gmail.com"
] | konmanr@gmail.com |
7825a2cfba86202bb814507888aed646e08f6795 | 8d03a062b75f65f7a0bc8993842c019a17cc7a8d | /src/logic/BoxStacker.cxx | 5ca5b9b6e8408938dfdf6f42fa9b1eac5cf88f6d | [] | no_license | onatbas/robocubes | 4bde7740be7cc0c8216f0386f116cb82d43407a8 | d48c780a33fe71b5c64a62f68d9c2a730e0bbe76 | refs/heads/master | 2021-06-20T13:12:27.322784 | 2017-01-09T10:32:10 | 2017-01-09T10:32:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 385 | cxx | //
// Created by Onat Bas on 01/01/17.
//
#include "BoxStacker.hxx"
Stack BoxStacker::stackOnTop(const Box first_box, const Box second_box) const {
Stack s;
s.boxes.push_back(first_box);
s.boxes.push_back(second_box);
return s;
}
Stack BoxStacker::stackOn(const Stack stack, Box box) {
Stack nStac... | [
"i@onat.me"
] | i@onat.me |
da0311b1be023b89ee4d572a03ed64ad4ed942a2 | 043679db67cbea9537f215ff468b96621194b51f | /OOInteraction/src/string_components/BinaryOperatorStringComponents.cpp | f7932266cd581edf06d4f3fa7c2d9c0fa6f8d31e | [
"BSD-3-Clause"
] | permissive | teeberg/Envision | bd0e4a9f0a5848defdede5d12838855e57e2a1e2 | 964b58e7af0eae204b4d49118756b716daccadbf | refs/heads/master | 2021-01-17T06:26:24.646555 | 2013-04-05T09:07:04 | 2013-04-05T09:07:04 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,912 | cpp | /***********************************************************************************************************************
**
** Copyright (c) 2011, 2013 ETH Zurich
** All rights reserved.
**
** Redistribution and use in source and binary forms, with or without modification, are permitted provided that the
** follo... | [
"dimitar.asenov@inf.ethz.ch"
] | dimitar.asenov@inf.ethz.ch |
a29b7004de9c4936666d42dc420efd81f91842ba | d4433d8c51e9dc6e0c2904def0a524c9125555de | /Battle/CombatEffect.h | f8700fc0db9d412b2827f2d332cb8c5bc6b1e615 | [] | no_license | 54993306/Classes | 3458d9e86d1f0e2caa791cde87aff383b2a228bb | d4d1ec5ca100162bd64156deba3748ce1410151d | refs/heads/master | 2020-04-12T06:23:49.273040 | 2016-11-17T04:00:19 | 2016-11-17T04:00:19 | 58,427,218 | 1 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 1,632 | h | #ifndef _ATKEXP_H_
#define _ATKEXP_H_
#include "AppUI.h"
#include <spine/spine-cocos2dx.h>
/*************************************************************
*
*
* Data : 2016.8.11
*
* Name :
*
* Author : Lin_Xiancheng
*
* Description : 战斗效果处理
*
*
********************************************************... | [
"54993306@qq.com"
] | 54993306@qq.com |
f01ed669bf3edb6c5e749e8a5137d394e6a67605 | 87313d3572625f4c246ab12d9323366341626889 | /DiligentSamples/Tutorials/Tutorial04_Instancing/src/Tutorial04_Instancing.hpp | d7c116b6479fb1367fc09250d85a8143496fc666 | [
"Apache-2.0",
"LicenseRef-scancode-public-domain"
] | permissive | JorisSAN/Town_Runner | 0a10830b2e3c260c064b6cb0e302ef834014ba81 | 5701b916bc2e9fefab1cf5ad0d20d4b6bb0f64c5 | refs/heads/master | 2023-03-13T00:45:23.096600 | 2021-02-24T15:09:43 | 2021-02-24T15:09:43 | 306,413,169 | 0 | 0 | Apache-2.0 | 2021-02-10T15:18:54 | 2020-10-22T17:35:23 | C++ | UTF-8 | C++ | false | false | 2,644 | hpp | /*
* Copyright 2019-2020 Diligent Graphics LLC
* Copyright 2015-2019 Egor Yusov
*
* 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/LICENS... | [
"sancho.joris@gmail.com"
] | sancho.joris@gmail.com |
dcf02f0d562ee7e3591811ef78408491b3771a83 | 2bb27dc9bd3067deebb82f7c57fdac02a915d0d4 | /src/chainparams.cpp | fb833ab3b5671fece0e6b72378041833fa3ea6f6 | [
"MIT"
] | permissive | bedri/proxynode | e46504844abd3f1772c16f37342bce1ca1f8c30a | 5b42796d008a5976703b2c2adcfcafc639c64c8f | refs/heads/master | 2020-05-19T13:14:45.538666 | 2019-05-05T08:36:00 | 2019-05-05T08:36:00 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,267 | cpp | // Copyright (c) 2010 Satoshi Nakamoto
// Copyright (c) 2009-2014 The Bitcoin developers
// Copyright (c) 2014-2015 The Dash developers
// Copyright (c) 2015-2017 The PIVX developers
// Copyright (c) 2018 The Prx developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://ww... | [
"root@m5079.contaboserver.net"
] | root@m5079.contaboserver.net |
39bda6464d5a0c8aa3615fdc1924423a697f23cb | 860ba53e293246322771ab6ad47f45ef57672c9e | /source/engine/moteur3D/primitiveGl.cpp | 8f569e7062c0e4a2387b4ffa4fbf949104f22124 | [] | no_license | tHeBeStXu/QColorRampSlider | 808f60ee6529eab7ff590310e22325f08541dcea | e7d9163dfed7561d4fe389c290b37a2eea3e77eb | refs/heads/master | 2023-03-25T05:03:32.815636 | 2013-12-29T14:18:49 | 2013-12-29T14:18:49 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,449 | cpp | #include "primitiveGl.h"
#include <GL/glut.h>
#include <GL/gl.h>
#include <GL/glext.h>
#include <GL/freeglut.h>
//---------------------------------------------------
//Primitive
//---------------------------------------------------
/*Point3D_t<int> PrimitiveGL:: RepereOpenGl(Point3D_t<int> A)
{
return Point3D_t<i... | [
"jjalageas@yahoo.com"
] | jjalageas@yahoo.com |
66560adf098396d827ba778e7ea4a4a9b6daef74 | 7068d7ec8842a7a02adac3cea53935ea3fbdff95 | /Basics/d_NestedStatements/lab/b_smallShop.cpp | 5974b80e561fd622ea4feb33b2438bf3221213be | [
"MIT"
] | permissive | KaPrimov/cpp-courses | ff2aa76710bf3be1a29a9fb856c913caa9ee2e07 | c114e46cd570d2e987ee65baf26dd85557f929d3 | refs/heads/master | 2020-03-27T20:06:46.679492 | 2019-03-28T21:56:07 | 2019-03-28T21:56:07 | 147,039,855 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,131 | cpp | #include <iostream>
using namespace std;
int main() {
string product, town;
double qty;
double price;
cin >> product >> town >> qty;
if (town == "Sofia") {
if (product == "coffee") {
price = 0.5 * qty;
} else if (product == "water") {
price = qty * 0.8;
} else if (product == "beer") {
price = q... | [
"k.primov92@gmail.com"
] | k.primov92@gmail.com |
00db5c1f32754b8feb0a3c3061bd71b47b4bd3ed | 9802284a0f2f13a6a7ac93278f8efa09cc0ec26b | /SDK/BP_Beretta_M9_Reload_Event_Closed_parameters.h | 7711b8fce197321d965a27f2770a1f3dc07d28c0 | [] | no_license | Berxz/Scum-SDK | 05eb0a27eec71ce89988636f04224a81a12131d8 | 74887c5497b435f535bbf8608fcf1010ff5e948c | refs/heads/master | 2021-05-17T15:38:25.915711 | 2020-03-31T06:32:10 | 2020-03-31T06:32:10 | 250,842,227 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 897 | h | #pragma once
#include "../SDK.h"
// Name: SCUM, Version: 3.75.21350
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
namespace SDK
{
//---------------------------------------------------------------------------
// Parameters
//---------------------------------------------------------------------------
// Function B... | [
"37065724+Berxz@users.noreply.github.com"
] | 37065724+Berxz@users.noreply.github.com |
79417eb9059bef28b35c5a2ef492e165813e9754 | 6d1fd68e4554fb8bc17533aa70e1bcb624a81c3d | /src/blackfox/modules/scripting/lua/entities/components/physics/BFLuaScriptingPhysicsComponentEntities.cpp | 482aacd4ce9fb67db355e4c53face33898934584 | [
"MIT"
] | permissive | RLefrancoise/BlackFox | c3a303c734ae804baeeaa70d2c791bb442e5bba6 | 7814c58dca5c11cb9a80f42d4ed5f43ea7745875 | refs/heads/master | 2021-07-06T18:31:04.224033 | 2020-12-02T00:06:31 | 2020-12-02T00:06:31 | 220,683,087 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,142 | cpp | #include "BFLuaScriptingPhysicsComponentEntities.h"
#include <sol/property.hpp>
#include "BFBoxColliderComponent.h"
#include "BFCircleColliderComponent.h"
#include "BFRadian.h"
#include "BFDegree.h"
#include "BFRigidBodyComponent.h"
#include "BFPhysicsSystem.h"
BF_SCRIPTING_LUA_ENTITY_REGISTER(BlackFox::BFLuaScripti... | [
"renaud.lefrancoise@gmail.com"
] | renaud.lefrancoise@gmail.com |
85304bffdb6b8a8e49d5ad8d68daab07d554c29d | 2e5c75f3a893ae04b5054cecb73dbe929c8cd7c8 | /src/pctool/Anyka IP Camera/Anyka IP Camera/Anyka IP Camera/Aimer39RTSPClient.h | b3c5fe91e8ffe547b0ba662e9327ec498da066b3 | [] | no_license | amartol/videorec | 385192b1aca0acc42c24c700b93f4b0bc28a483f | a0b2372b27552c6326218799668d773f175cda6b | refs/heads/master | 2022-12-05T01:09:31.291281 | 2020-08-25T08:39:26 | 2020-08-25T08:39:26 | 72,375,362 | 5 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,850 | h | #pragma once
#include <liveMedia.hh>
#include <BasicUsageEnvironment.hh>
#include <string>
#include <vector>
#include "ThreadBase.h"
#include "AutoLock.h"
#include "InterfaceClass.h"
#include "Clock.h"
using namespace std;
class CAimer39RTSPClient;
typedef enum StreamType_en {
STREAM_UNKNOWN = -1,
... | [
"li.bin@lamobo.org"
] | li.bin@lamobo.org |
eae5869694fb1a688fb6946dff2edb56cd70bbcf | 500d9a3048560023bd989dbf5d770e0b8abf224d | /BZOJ/2754 喵星球上的点名/2754.cpp | e54efab36e995da2d4eb1f539a5232ac1a7af5b9 | [] | no_license | hilbertanjou/OJ | 2138bd349607adebd7674861e00dad57a23724bd | 641f412d904edd66e97befdabcc32b7076729a53 | refs/heads/master | 2020-12-30T23:33:13.961562 | 2013-08-23T09:44:49 | 2013-08-23T09:44:49 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,857 | cpp | #include <cctype>
#include <cstdio>
#include <map>
using namespace std;
typedef map<int, int> MII;
typedef MII::iterator MIT;
const int MAXL = 111111, MAXN = 22222, MAXM = 55555, MAXB = 3333333;
char buf[MAXB], *h = buf;
int a[MAXL << 1], g[MAXL], v[MAXL], p[MAXL], q[MAXL], f[MAXL], s[MAXN], id[MAXM];
MII nxt[MAXL]... | [
"xy_xuyi@foxmail.com"
] | xy_xuyi@foxmail.com |
ceed3a245adf3f72beaf21f1c87ae2ba6ac7effe | 60f5e2e60f725f4d0bfdda68974c942030021fb2 | /codechef/UPSOLVE/COCONUTS.cpp | 049155e055c89b62498a9dab89e55a98341899b5 | [] | no_license | i-64/Competitive-Programming | 3887080a40b8c4c4f31390ac1c61e04f3b27de0d | 43d65120bd94fdb10dd45c323fe445ae775e6408 | refs/heads/master | 2020-09-12T08:42:18.304339 | 2019-11-19T05:44:03 | 2019-11-19T05:44:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 269 | cpp | #include <bits/stdc++.h>
using namespace std;
int main () {
int t;
cin >> t;
while (t--) {
int n;
cin >> n;
rep(i, 0, n) {
cin >> arr[i];
}
sort(arr, arr + n);
rep (i, 0, n) {
}
}
return 0;
}
sum(0, z-1) + (n-z) * arr[z-1]
| [
"mrunal.ahire@gmail.com"
] | mrunal.ahire@gmail.com |
245fbd315745fbf71d44f9657138a8fe0a0fa798 | 9f3d0c4d6a88bd36a264ddac1de9a8ac2fe0e974 | /winrt/impl/Windows.Security.Cryptography.Certificates.0.h | d5553ce4b5b278a9ce7af13f050d9338bf35726b | [
"MIT"
] | permissive | mthiesen/xbocontroller-winapi | 6ee4c7825b2dd266ae5251a6a7f537b1752a78f9 | b4a1e053476f200877bcfaeb564c59cd024a697b | refs/heads/master | 2021-01-06T19:27:59.055634 | 2020-02-20T20:11:08 | 2020-02-20T20:11:25 | 241,458,019 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 105,747 | h | // WARNING: Please don't edit this file. It was generated by C++/WinRT v2.3.4.5
#ifndef WINRT_Windows_Security_Cryptography_Certificates_0_H
#define WINRT_Windows_Security_Cryptography_Certificates_0_H
WINRT_EXPORT namespace winrt::Windows::Foundation
{
struct IAsyncAction;
template <typename TResult> struct I... | [
"malte@kamalook.de"
] | malte@kamalook.de |
009cf3e82c79a891f4d12fb9290028c217b45cfb | 7c17e5606be4ad8d1785226deb3fe5677e04d099 | /stuff/urho3d/Source/Samples/00_ignition/relative_pose/_zzz/pioneer_src/scenegraph/Label3D.cpp | 0419319a88e1aa2e08300368a5d18d10bd49fb44 | [
"LicenseRef-scancode-unknown-license-reference",
"MIT"
] | permissive | z80/ignition | a4fa4adb32fed843ee41bcdc83e41ba3d70f048b | 629c9d998d53de33f3b123910770f73c9e783234 | refs/heads/master | 2023-07-21T17:46:52.510964 | 2023-04-04T17:18:41 | 2023-04-04T17:18:41 | 206,724,558 | 14 | 3 | null | 2022-06-23T00:02:44 | 2019-09-06T06:06:22 | C++ | UTF-8 | C++ | false | false | 2,700 | cpp | // Copyright © 2008-2020 Pioneer Developers. See AUTHORS.txt for details
// Licensed under the terms of the GPL v3. See licenses/GPL-3.txt
#include "Label3D.h"
#include "NodeVisitor.h"
#include "graphics/Renderer.h"
#include "graphics/RenderState.h"
#include "graphics/VertexArray.h"
#include "graphics/VertexBuffer.h"
... | [
"bashkirov.sergey@gmail.com"
] | bashkirov.sergey@gmail.com |
fe9a59495149faefab1fcba15fb28f4534009556 | 1a77b5eac40055032b72e27e720ac5d43451bbd6 | /VisualC++/Chap6/Rei47/Rei47/stdafx.cpp | 4af2ce0a248e2a31b875d033bdfb84d7159e22ca | [] | no_license | motonobu-t/algorithm | 8c8d360ebb982a0262069bb968022fe79f2c84c2 | ca7b29d53860eb06a357eb268f44f47ec9cb63f7 | refs/heads/master | 2021-01-22T21:38:34.195001 | 2017-05-15T12:00:51 | 2017-05-15T12:01:00 | 85,451,237 | 0 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 372 | cpp | // stdafx.cpp : 標準インクルード Rei47.pch のみを
// 含むソース ファイルは、プリコンパイル済みヘッダーになります。
// stdafx.obj にはプリコンパイル済み型情報が含まれます。
#include "stdafx.h"
// TODO: このファイルではなく、STDAFX.H で必要な
// 追加ヘッダーを参照してください。
| [
"rx_78_bd@yahoo.co.jp"
] | rx_78_bd@yahoo.co.jp |
0cc6397788918d9946b1772987875d768ae85735 | 6ac8f056ab6efaf854b8d7798e6a44e07b061dcc | /CvGameCoreDLL_Expansion1/CvSiteEvaluationClasses.cpp | d069d68d464c4d1b08957bcf03a7b7e3e3d4ab9b | [] | no_license | DelnarErsike/Civ5-Artificial-Unintelligence-DLL | b8587deb33735c38104aa0d7b9f38b2f57a3db32 | 1add515c01838e743e94c1c1c0cb1cfbe569e097 | refs/heads/master | 2020-06-04T23:05:06.522287 | 2015-01-09T06:53:57 | 2015-01-09T06:53:57 | 25,795,041 | 25 | 10 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 29,071 | cpp | /* -------------------------------------------------------------------------------------------------------
© 1991-2012 Take-Two Interactive Software and its subsidiaries. Developed by Firaxis Games.
Sid Meier's Civilization V, Civ, Civilization, 2K Games, Firaxis Games, Take-Two Interactive Software
and their re... | [
"delnar.ersike@gmail.com"
] | delnar.ersike@gmail.com |
13afad930b9340edc1c3b12dfa066342369e7087 | 5dc0123b8ee938d5e9bceaa0986c469b267fd9b6 | /Chapter9/ex9_27.cpp | b58545f57e879bb5743bda1c19c8bde506e95c89 | [] | no_license | RenzoWang/CPlusPlusPrimer.github.io | e40adbbd18eaf1b9b83ef2e32b6d966cbfb25719 | 6321bdf4e5054bf5570e92a765185f3d3241bdaf | refs/heads/master | 2023-05-09T22:39:55.618515 | 2021-05-31T14:17:59 | 2021-05-31T14:17:59 | 358,492,385 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 749 | cpp | /*
* File: ex9_27.cpp
* Project: Chapter9
* Author: Renzo WANG (you@you.you)
* -----
* Modified By: Renzo WANG (you@you.you>)
* -----
* Brief: Write a program to find and remove the odd-valued elements in a forward_list<int>.
* -----command: g++ -std=c++1y ex9_27.cpp -o ex9_27
*/
#include<iostream>
#include<fo... | [
"wrzeternal@163.com"
] | wrzeternal@163.com |
2d6faf4aeed75cd17de9da0a56975fc627833086 | 07c61596c1fba2e2a7034fe5af9707794ea2e2c1 | /Kattis/nineknights.cpp | fd83f63f88331046849a016c6640e4536a02e0fd | [] | no_license | H-Shen/Collection_of_my_coding_practice | 2fcb2f8fef9451ad4a3a9c063bbf6a34ea5966b4 | 6415552d38a756c9c89de0c774799654c73073a6 | refs/heads/master | 2023-08-24T21:19:08.886667 | 2023-08-22T03:47:39 | 2023-08-22T03:47:39 | 180,731,825 | 8 | 1 | null | 2021-08-13T18:25:25 | 2019-04-11T06:48:09 | C++ | UTF-8 | C++ | false | false | 1,946 | cpp | // https://open.kattis.com/problems/nineknights
#include <bits/extc++.h>
using namespace std;
const double eps = 1e-8;
const int MAXN = 5;
inline
int sgn(double a) {
if (a < -eps) return -1;
if (a > eps) return 1;
return 0;
}
bool judge(const vector<vector<char> > &A, int i, int j) {
char s = '\0';
... | [
"haohu.shen@ucalgary.ca"
] | haohu.shen@ucalgary.ca |
1b09fcc12d8a7e8ca46921eb949e04de19f1773f | 7ed14d043993cccec210b754d77e95deff9c2d7c | /RenderACube/stdafx.cpp | c6e87fa912d3b7ad6f3bbd792273d3e13bf3c2f5 | [] | no_license | pdlogingithub/Minimum-CPU-Renderer-Toy | 9ae00a549185d174f38b71c2fab49aa65d427f68 | 80833c969a4de55b6d092cadd04db2e81026d93e | refs/heads/master | 2021-07-25T11:18:23.287503 | 2017-11-05T06:38:51 | 2017-11-05T06:38:51 | 109,551,803 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 290 | cpp | // stdafx.cpp : source file that includes just the standard includes
// RenderACube.pch will be the pre-compiled header
// stdafx.obj will contain the pre-compiled type information
#include "stdafx.h"
// TODO: reference any additional headers you need in STDAFX.H
// and not in this file
| [
"xiangyunyang64@gmail.com"
] | xiangyunyang64@gmail.com |
220a2492c5c9e4aca00392b1e8efcf3860906090 | 3894c1c0a265dfa91e114ff4df12236454efdb2c | /LeetCode/iter2/C++/SwapNodesInPairs.cpp | 24d871f3eb8b967d02ffbe3556b0ad97f2ad683f | [] | no_license | jonathenzc/Algorithm | d770802337a8f4f36b94e42722d4d1954b45f408 | f6b3d1a3f987dd3f38aa38c6de4b37caef0880bc | refs/heads/master | 2020-04-04T00:16:38.780515 | 2020-03-12T16:10:43 | 2020-03-12T16:10:43 | 33,028,640 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,338 | cpp | #include <iostream>
#include <string>
#include <algorithm>
#include <vector>
#include <sstream>
#include <unordered_map>
#include <unordered_set>
#include <utility>
#include <queue>
using namespace std;
struct ListNode {
int val;
ListNode *next;
ListNode(int x) : val(x), next(NULL) {}
};
class Solution {
public:
... | [
"459309661@163.com"
] | 459309661@163.com |
9242dac1c9b5db8d8c1da435487e82eb25f1f245 | 87c2a39f802ef610f94de448b3b3fe9148fad933 | /src/SoundMgr.cpp | c771398973307b4c21fdd00876640fd68e272820 | [] | no_license | martin96richard/bomberman_indie_studio_2018 | 06b24f27ac19b6d639f34758718b76d26ebf4593 | 58e9178af829dbec3517be75834dadfea28b6ca1 | refs/heads/master | 2020-05-17T07:58:13.558317 | 2019-04-26T13:00:37 | 2019-04-26T13:00:37 | 183,592,614 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 990 | cpp | //
// EPITECH PROJECT, 2018
// Indie_studio
// File description:
// Sound Manager
//
#include "SoundMgr.hpp"
SoundMgr::SoundMgr()
{
_engine = irrklang::createIrrKlangDevice();
}
SoundMgr::~SoundMgr()
{
}
void SoundMgr::playMusic(void)
{
_music = _engine->play2D(THEME_PATH, true, false, true,
irrklang::ESM_AU... | [
"martin.richard@epitech.eu"
] | martin.richard@epitech.eu |
a6cd68a73741f13bc20aa9f6ff3bbb11ad9d9437 | 949e1ccffd1dcb5fc1c72f6f82226eb49a767c65 | /Offer/NetEase/1/main.cpp | dda60f92de7e8940419aaaf25a603b7b158748b4 | [] | no_license | WhatTheNathan/n-Algorithm | 4b98ee8c405b73cd8b38738b93fed69ac5544da4 | b1ae44e92b2a852c436029fa615348ab2f6330c9 | refs/heads/master | 2021-05-09T17:20:43.071738 | 2018-10-13T14:25:28 | 2018-10-13T14:25:28 | 119,136,298 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 473 | cpp | #include <iostream>
using namespace::std;
int main() {
int N;
string turn;
cin>>N;
cin>>turn;
int direct = 0;
char direction[] = {'N','E','S','W'};
for(int i=0;i<N;i++){
if(turn[i] == 'L') {
direct = direct - 1;
if(direct == -1)
direct = 3;... | [
"nathanliuyolo@gmail.com"
] | nathanliuyolo@gmail.com |
26ace50f206d3fa09ed61023021186c4f6619dc0 | e33de627a5e2b6a2ff84c408dcf97c5e0fd6f07e | /programers/level1/문자열다루기기본.cpp | 0c6ead18fdfb85dbe7f50c989e87098b8a1bcf3a | [] | no_license | urbanGY/problemSolving | 41a870f1d0487030434b8bc68ebc390b3e84d837 | 02860611622161745bf1a44dd22b8694e5e44c56 | refs/heads/master | 2021-08-04T10:50:22.568709 | 2021-07-13T13:38:45 | 2021-07-13T13:38:45 | 142,012,167 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 251 | cpp | #include <string>
#include <vector>
using namespace std;
bool solution(string s) {
int len = s.size();
if(!(len == 4 || len == 6)) return false;
for(auto c : s){
if(!(c >= '0' && c <= '9')) return false;
}
return true;
}
| [
"sfsfkj@gmail.com"
] | sfsfkj@gmail.com |
b4ca1f5ec606fa04c553905bd8a45bdffeb2f6fe | 41cc486683181d0c8e1a89d18dcc6837501dfda5 | /nJinnVk/SystemStartup.cpp | c51d0417b015530e16dcc59061a1b5d0beea3567 | [] | no_license | romanchom/nJinnVulkan | 3f2131f8a7bacfc3af9be1b8915320fd6798edc5 | 491746e59a221e456e008bec7bf0266f18b961b0 | refs/heads/master | 2022-11-20T10:27:39.254873 | 2017-07-31T10:09:40 | 2017-07-31T10:09:40 | 279,956,877 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,416 | cpp | #include "stdafx.hpp"
#include "SystemStartup.hpp"
#include "Config.hpp"
#include "Debug.hpp"
#include "ThreadPool.hpp"
#include "Context.hpp"
#include "Memory.hpp"
#include "Screen.hpp"
#include "ResourceUploader.hpp"
#include "PipelineFactory.hpp"
#include "ResourceManager.hpp"
#include "RendererSystem.hpp"
#includ... | [
"romanchom@gmail.com"
] | romanchom@gmail.com |
ea465e04f0f04b7d05ef6c208bd846f6da68f0a9 | 8dc84558f0058d90dfc4955e905dab1b22d12c08 | /components/services/leveldb/leveldb_database_impl.h | 8a1140599feb8e75d0af17749dc75685c7671580 | [
"LicenseRef-scancode-unknown-license-reference",
"BSD-3-Clause"
] | permissive | meniossin/src | 42a95cc6c4a9c71d43d62bc4311224ca1fd61e03 | 44f73f7e76119e5ab415d4593ac66485e65d700a | refs/heads/master | 2022-12-16T20:17:03.747113 | 2020-09-03T10:43:12 | 2020-09-03T10:43:12 | 263,710,168 | 1 | 0 | BSD-3-Clause | 2020-05-13T18:20:09 | 2020-05-13T18:20:08 | null | UTF-8 | C++ | false | false | 5,054 | h | // Copyright 2016 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_SERVICES_LEVELDB_LEVELDB_DATABASE_IMPL_H_
#define COMPONENTS_SERVICES_LEVELDB_LEVELDB_DATABASE_IMPL_H_
#include <memory>
#include <vec... | [
"arnaud@geometry.ee"
] | arnaud@geometry.ee |
8b4f87eda099a9a261c0c93fe36d2003dd0070de | 6e4242884615a850ee5d98bae468fa82e5012b66 | /xwalkdriver/logging.cc | 3ce9ece64b2b5aeee5efb4fd2430701420f6a90e | [
"BSD-3-Clause"
] | permissive | luisxiaomai/crosswalk-web-driver | 5d13210eb300cf6c88f3c37999593dcc17d99331 | d01c17855b24ab3ef2cf6e94cf1716dc918cb8a1 | refs/heads/master | 2021-01-18T05:02:42.428034 | 2014-12-24T02:49:04 | 2014-12-24T02:49:04 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,069 | cc | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "xwalk/test/xwalkdriver/logging.h"
#include <stdio.h>
#include "base/basictypes.h"
#include "base/command_line.h"
#include "base/json/json_... | [
"yangangx.han@intel.com"
] | yangangx.han@intel.com |
c3881d5becaaf44b1301fc41044a7fc80ee6c735 | 56b79b147409991ee947d82b608856fc49484de1 | /Lab6/Lab6/Lab6/Boid.cpp | c2029c59ea4fb879e124c2ed9707e104db1dde01 | [] | no_license | C00196266/Artificial_Intelligence | 37bd137d8eed61ae5fb9fc47d0f21ddf02eb6b1b | 7cb6234f3ba1b0a056e23363f4b6cc14efa96db5 | refs/heads/master | 2021-09-16T12:29:42.320547 | 2018-03-15T15:50:04 | 2018-03-15T15:50:04 | 105,781,917 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,523 | cpp | // This file defines the boid class. This includes the attributes found in
// boids -- speed, location on the board, acceleration, etc.
#include <iostream>
#include <vector>
#include <string>
#include <math.h>
#include "SFML/Graphics.hpp"
#include "Boid.h"
// Global Variables for borders()
// desktopTemp gets screen r... | [
"c00196266@itcarlow.ie"
] | c00196266@itcarlow.ie |
12f2d49ef3b65584a90ce417d34828f4cb964920 | 00d3968a7e023a1c495f3fa31d66b879da255915 | /fluorender/FluoRender/Formats/lbl_reader.cpp | 2b6c88d8b9f2a552d41cb18439f9d10f666f4173 | [
"MIT"
] | permissive | sandorbx/VVD_Viewer | 4a054fa09c259def86373730f466ba5ba2e6eef7 | ad21f4c8700c81d89e8973a4ecacb777ee1d0f37 | refs/heads/master | 2021-05-23T18:58:20.385051 | 2018-05-24T17:08:24 | 2018-05-24T17:08:24 | 257,201,481 | 0 | 0 | NOASSERTION | 2020-04-20T07:15:23 | 2020-04-20T07:15:22 | null | UTF-8 | C++ | false | false | 3,318 | cpp | /*
For more information, please see: http://software.sci.utah.edu
The MIT License
Copyright (c) 2014 Scientific Computing and Imaging Institute,
University of Utah.
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the "Software"),
to d... | [
"kawase@gr.bot.kyoto-u.ac.jp"
] | kawase@gr.bot.kyoto-u.ac.jp |
a1c84c990295847d359f1319a57acef6541f342e | 36183993b144b873d4d53e7b0f0dfebedcb77730 | /GameDevelopment/3D Game Engine Programming/Chapter Data/chap_09/ZFXInput/ZFXDI/ZFXDI.cpp | d77171570be7070f96d6ab3fcbc44c8e053d7ca0 | [] | no_license | alecnunn/bookresources | b95bf62dda3eb9b0ba0fb4e56025c5c7b6d605c0 | 4562f6430af5afffde790c42d0f3a33176d8003b | refs/heads/master | 2020-04-12T22:28:54.275703 | 2018-12-22T09:00:31 | 2018-12-22T09:00:31 | 162,790,540 | 20 | 14 | null | null | null | null | UTF-8 | C++ | false | false | 11,869 | cpp | // File: ZFXDI.cpp
#include <windows.h> // type definitions
#include "ZFXDI.h" // class definition
#pragma comment(lib, "dinput8.lib")
#pragma comment(lib, "dxguid.lib")
bool g_bLF=false;
/*-----------------------------------------------------------*/
/* DLL stuff implementation ... | [
"alec.nunn@gmail.com"
] | alec.nunn@gmail.com |
15dbcf667bc2f328ff319570147b0f640f90ab87 | e7d7377b40fc431ef2cf8dfa259a611f6acc2c67 | /SampleDump/Cpp/SDK/BP_Sickle_classes.h | 5ca3c435cb4d0b9e077a6cee927c9f535d50ab92 | [] | no_license | liner0211/uSDK_Generator | ac90211e005c5f744e4f718cd5c8118aab3f8a18 | 9ef122944349d2bad7c0abe5b183534f5b189bd7 | refs/heads/main | 2023-09-02T16:37:22.932365 | 2021-10-31T17:38:03 | 2021-10-31T17:38:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 689 | h | #pragma once
// Name: Mordhau, Version: Patch23
/*!!DEFINE!!*/
/*!!HELPER_DEF!!*/
/*!!HELPER_INC!!*/
#ifdef _MSC_VER
#pragma pack(push, 0x01)
#endif
namespace CG
{
//---------------------------------------------------------------------------
// Classes
//--------------------------------------------------------... | [
"talon_hq@outlook.com"
] | talon_hq@outlook.com |
83f6de9ed25a0f0ee966d3028451be2e60c591b2 | 7769b24938f426f2755568d76f031c461de60cde | /matr/ClassLibrary1/diff_wrapper.cpp | 6414674a01d7b9d48f4bffc288b71c52b22767d4 | [] | no_license | Stepashka94/matr | ee3a45934e8d9b5389c7edc2d8da6344ca62d1bf | 8627be304c485876fa8334f881dce12df20611da | refs/heads/master | 2016-09-14T04:36:51.175728 | 2016-05-19T16:17:51 | 2016-05-19T16:17:51 | 57,208,401 | 0 | 0 | null | null | null | null | WINDOWS-1251 | C++ | false | false | 18,393 | cpp | #include "stdafx.h"
#include "diff_wrapper.h"
#include "..\matr\MyDiffFuncs.h"
#include "..\matr\MyDiffFuncs.cpp"
math_wrapper::DiffFuncs::DiffFuncs()
{
myCppClass = new MyDiffFuncs();
}
//================================================================================================
//=============================... | [
"b9310508@yandex.ru"
] | b9310508@yandex.ru |
04cac81beb3947aefa0e7614a163116fd5adba90 | 2ad0b5a659ec9538a7f27e84fe658d2139297721 | /datafeed/datafeed.cpp | 349e4bf43be19c3df28eb87daad8136dc57572ba | [] | no_license | wdy0401/cta1 | ce40e75e9a6e54b19161c4b307116a6f8593dc48 | 1818c3663207bdae422bf347183482692ef6f08a | refs/heads/master | 2021-01-10T01:36:45.406913 | 2015-12-25T08:45:17 | 2015-12-25T08:45:17 | 47,659,658 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,024 | cpp | #include "datafeed.h"
#include"../../gpp_qt/wfunction/wfunction.h"
#include<QFile>
#include<iostream>
#include<string>
#include<list>
#include<QDebug>
using namespace std;
datafeed::datafeed(QObject *parent) :
QObject(parent)
{
}
void datafeed::run()
{
QFile file(_file.c_str());
if (!file.open(QIOD... | [
"wdy0401@gmail.com"
] | wdy0401@gmail.com |
3b90d5a379d6a42ee5a5f8166500f8e63c4c6eca | e7be2ee48f952308f5672240c2c833d718d9d431 | /Juliet_Test_Suite_v1.3_for_C_Cpp/C/testcases/CWE194_Unexpected_Sign_Extension/s01/CWE194_Unexpected_Sign_Extension__fscanf_malloc_73a.cpp | c8d45ceffa8c0b66641693751bb71f0663acadf7 | [] | no_license | buihuynhduc/tooltest | 5146c44cd1b7bc36b3b2912232ff8a881269f998 | b3bb7a6436b3ab7170078860d6bcb7d386762b5e | refs/heads/master | 2020-08-27T20:46:53.725182 | 2019-10-25T05:42:36 | 2019-10-25T05:42:36 | 217,485,049 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,489 | cpp | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE194_Unexpected_Sign_Extension__fscanf_malloc_73a.cpp
Label Definition File: CWE194_Unexpected_Sign_Extension.label.xml
Template File: sources-sink-73a.tmpl.cpp
*/
/*
* @description
* CWE: 194 Unexpected Sign Extension
* BadSource: fscanf Read data from the console usi... | [
"43197106+buihuynhduc@users.noreply.github.com"
] | 43197106+buihuynhduc@users.noreply.github.com |
f2f8ff278b41077e6e993c1504b97be6395f0c25 | 119aed807a2465b92153119f5aa3e6fcca688a11 | /StackBombing/StackBombing/StackBombing.cpp | 328767759460b6ce3b3abc3512a943c75a66b6b9 | [] | no_license | 3ts75/Process-injection | a08df327093b2a3ac6aa265bebe9232ee5016374 | 41ff58463491975c4fbd65a5635f980443058314 | refs/heads/master | 2023-01-13T23:38:38.049915 | 2020-11-26T01:11:50 | 2020-11-26T01:11:50 | 280,528,110 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 541 | cpp | #include <iostream>
using namespace std;
#include "process_and_threads.h"
#include "inject_and_resume.h"
int main() {
DWORD dw_process_id = NameToPid(TEXT("notepad.exe"));
if (!dw_process_id)
return 1;
cout << dw_process_id << endl;
vector<DWORD> vecdw_threads_id = PidToTids(dw_process_id);
if (vecdw_threads_... | [
"bimy1280163@gn.iwasaki.ac.jp"
] | bimy1280163@gn.iwasaki.ac.jp |
2b0882797993009a982dfbf230667a444e0e3126 | 36b857a9d76ea92a4db96298dff2d0a4c527c078 | /thirdparty/OPTI-master/OPTI-master/Solvers/Source/ooqpmex.cpp | 500c0d4f879fd092930231fd17718861c34a23c2 | [
"BSD-3-Clause",
"MIT"
] | permissive | AdamHibberd/Optimum_Interplanetary_Trajectory | 19e1e283ff5f3d106e2dcc1cfda7d656c898a212 | 77a04b36566edb8bf0735aea4fbe64c161fed197 | refs/heads/master | 2023-09-06T02:23:12.582604 | 2023-08-30T19:34:15 | 2023-08-30T19:34:15 | 124,371,700 | 14 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 31,640 | cpp | /* OOQPMEX - A MATLAB MEX Interface to OOQP
* Released Under the BSD 3-Clause License:
* https://www.inverseproblem.co.nz/OPTI/index.php/DL/License
*
* Copyright (C) Jonathan Currie 2013
* www.inverseproblem.co.nz
*/
/* Based in parts on ooqp_mex.c supplied with OOQP */
#include "mex.h"
#include "string.h"
#inc... | [
"34288648+AdamHibberd@users.noreply.github.com"
] | 34288648+AdamHibberd@users.noreply.github.com |
7cece0a02c8b67a4c645dc97858e290a5c75d04e | 120f50ad80c0f60a659dafb6a09ff2cf31021c16 | /client/SWGPaymentsXsollaApi.cpp | 9e045aecc6a0a3b41bdfeda14d7788571cbb1747 | [] | no_license | knetikmedia/knetikcloud-qt5cpp-client | 72dc0d1d7cbdf7536021cf546e347885497a1973 | cfad9f29a82a513941c0eb8fb2a82c18d16a24dc | refs/heads/master | 2021-01-23T06:35:36.976006 | 2017-03-27T20:52:02 | 2017-03-27T20:52:02 | 86,382,081 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,821 | cpp | /**
* Knetik Platform API Documentation latest
* This is the spec for the Knetik API. Use this in conjunction with the documentation found at https://knetikcloud.com
*
* OpenAPI spec version: latest
* Contact: support@knetik.com
*
* NOTE: This class is auto generated by the swagger code generator program.
* ... | [
"shawn.stout@knetik.com"
] | shawn.stout@knetik.com |
3db514d57e8269cfd2091a737f77a12fd2ccd681 | 785df77400157c058a934069298568e47950e40b | /TnbGeo/TnbLib/Geo/AirfoilOffsets/S833/Geo_AirfoilOffsets_S833.cxx | 4fc32b28c5156e41ec2808087709a9f145fd932b | [] | no_license | amir5200fx/Tonb | cb108de09bf59c5c7e139435e0be008a888d99d5 | ed679923dc4b2e69b12ffe621fc5a6c8e3652465 | refs/heads/master | 2023-08-31T08:59:00.366903 | 2023-08-31T07:42:24 | 2023-08-31T07:42:24 | 230,028,961 | 9 | 3 | null | 2023-07-20T16:53:31 | 2019-12-25T02:29:32 | C++ | UTF-8 | C++ | false | false | 8,322 | cxx | #include <Geo_AirfoilOffsets_S833.hxx>
const tnbLib::Pnt2d tnbLib::geoLib::airfoilOffsetsLib::S833::upper::P0(1.0, 0.0);
const tnbLib::Pnt2d tnbLib::geoLib::airfoilOffsetsLib::S833::upper::P1(0.996065, 0.001004);
const tnbLib::Pnt2d tnbLib::geoLib::airfoilOffsetsLib::S833::upper::P2(0.985020, 0.004646);
const tnbLib... | [
"aasoleimani86@gmail.com"
] | aasoleimani86@gmail.com |
e93c732ff560e6da1dea358a8b18bd1a191391a5 | 83713ec52903cf952ce9af0314d607887fd4c58c | /Tema 3/t5p1.cpp | ec3e22d10992fe0dcc7d8375e9351ef8f6ac1fee | [] | no_license | andreiarhip10/Teme-GPC | 9490ca2ef10b852e99ea09b71d89478810dd5dba | 743955380f0e6ce60d8b9b7656d62edd69fc8fa7 | refs/heads/master | 2021-04-27T00:24:49.022400 | 2018-04-04T18:26:04 | 2018-04-04T18:26:04 | 123,808,515 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,922 | cpp | #include <stdlib.h>
#include <stdio.h>
#include <math.h>
#include <assert.h>
#include <float.h>
#include "glut.h"
// dimensiunea ferestrei in pixeli
#define dim 300
// numarul maxim de iteratii pentru testarea apartenentei la mult.Julia-Fatou
#define NRITER_JF 5000
// modulul maxim pentru testarea apartenentei la mul... | [
"andrei.arhip10@yahoo.com"
] | andrei.arhip10@yahoo.com |
1ee3b900df367c1ada41a4f4bcf56bcb52916477 | e079408cf8c4b3302d3d86c94fac45944597f4b0 | /ArduinoCode/libraries/HITBmirf/examples/HITBadgeLEDRoutine/HITBadgeLEDRoutine.ino | 6b3894fb43206b5bbec4a6d2e9cdecbd91eadab7 | [] | no_license | Ardillo/HITBadger | f1ec31864db131c28c2f388b7262af01750f5b78 | ce3276dcbbabf2b66c349e6662c9e7d6c45d72a8 | refs/heads/master | 2021-01-10T20:47:31.618113 | 2015-06-01T12:53:07 | 2015-06-01T12:53:07 | 17,780,844 | 0 | 1 | null | 2015-06-01T12:53:07 | 2014-03-15T17:18:07 | Eagle | UTF-8 | C++ | false | false | 1,177 | ino | #include "HITBadge.h"
unsigned long time;
unsigned long backup_time;
HITBadge badge;
/// SETUP
void setup() {
}
/// PROGRAM
void loop() {
time = millis()/1000 - backup_time;
if(time < 5){
badge.blinkOne();
}
else if(time <10){
badge.blinkTwo();
}
else if(time <15){
badge.blinkThree();
}
... | [
"ardillo@localhost.localdomain"
] | ardillo@localhost.localdomain |
0b30191b30be59ea1f6e0397e040ef2e5c74057a | beef3f3a422c69ec2a8a130cc7669d8317cb0336 | /Source/Escape/AI/BTTask_Attack.h | b316921316e755e4dfd6592ad52ce2d0e5f17821 | [] | no_license | hoho520/UnrealProject | 99aa5d7ba491d41fc96ab9e70c15561e5455f4f5 | 64de16c8a39c2e4ae0b6380a123d254250bc637d | refs/heads/master | 2022-01-14T13:33:00.142671 | 2019-05-29T06:40:01 | 2019-05-29T06:40:01 | 175,144,934 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 648 | h | // Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "BehaviorTree/BTTaskNode.h"
#include "BTTask_Attack.generated.h"
/**
*
*/
UCLASS()
class ESCAPE_API UBTTask_Attack : public UBTTaskNode
{
GENERATED_BODY()
protected:
UBTTask_Attack();
... | [
"swat91@naver.com"
] | swat91@naver.com |
bf4d222e0ed40e945125cf99b3c90464702271e5 | 73e36e1e1b8f513f0fc2e7e239626fe34fe5a21c | /Paradox_2020_widget_v2/juego3.cpp | 84556a385e2d6603578eab6c42ca0e9c2dd1cf7a | [] | no_license | Sebastianuribe1212/Proyecto-final | c40a66619a1c6da4b126b75cce09043475459295 | d0c261b36b7c0718f32946de7a0271ed2cebd706 | refs/heads/master | 2023-02-24T09:07:55.497445 | 2021-01-20T21:08:04 | 2021-01-20T21:08:04 | 323,965,788 | 0 | 0 | null | 2021-01-21T05:43:42 | 2020-12-23T17:41:08 | C++ | UTF-8 | C++ | false | false | 1,917 | cpp | #include "juego3.h"
juego3 :: juego3(QWidget * parent)
{
//Creacion y set de la escena
scene = new QGraphicsScene();
scene->setSceneRect(0,0,800,600);
setScene(scene);
setHorizontalScrollBarPolicy(Qt::ScrollBarAlwaysOff);
setVerticalScrollBarPolicy(Qt::ScrollBarAlwaysOff);
setFixedSize(80... | [
"sebastian.uribea@udea.edu.co"
] | sebastian.uribea@udea.edu.co |
b9da211c196be4059e706a67011f1c2a0c514328 | fe6bc47c2624bf3a9d3f48e9f2982c2968fba0e8 | /include/hubDB/DBBufferMgr.h | 5c5e40c04c2e2cc93e8c13206be55cf2c3b2b4d1 | [] | no_license | candrowm/uebung_db2 | ecda9084030247517fd66256d7641a5a57c10251 | cd3fc2ed344684859c581f9e38d33c121793df68 | refs/heads/master | 2021-09-05T03:17:41.203955 | 2018-01-03T18:40:48 | 2018-01-03T18:40:48 | 111,203,733 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,208 | h | #ifndef DBBUFFERMGR_H_
#define DBBUFFERMGR_H_
#include <hubDB/DBManager.h>
#include <hubDB/DBFileMgr.h>
#include <hubDB/DBBCB.h>
#include <hubDB/DBBACB.h>
using namespace HubDB::File;
using namespace HubDB::Buffer;
namespace HubDB{
namespace Manager{
class DBBufferMgr : public DBManager
{
public:
DBBufferM... | [
"martin.candrowicz@web.de"
] | martin.candrowicz@web.de |
88f435b19f5fcdd76d6015f0032621ad48d1cc80 | 8aa0bf891350627a46d461951b151f0d4860056e | /Arduino/libraries/AP_Baro/AP_Baro_BMP085.cpp | 364f23b4eb95e95bbba702eb966599ee6584f5d1 | [] | no_license | KitPan/monster-truck | 92e7430eb9f9b5dc818c06ba230b17fcf83f548d | 8a7f46c8521398a9b8bcbe93eb263731d13123e6 | refs/heads/master | 2021-01-17T04:24:45.744599 | 2012-07-01T00:41:14 | 2012-07-01T00:41:14 | 41,777,679 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,350 | cpp | /// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-
/*
APM_BMP085.cpp - Arduino Library for BMP085 absolute pressure sensor
Code by Jordi Mu�oz and Jose Julio. DIYDrones.com
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser Genera... | [
"nelsonprsn@gmail.com"
] | nelsonprsn@gmail.com |
ad23be71baa2663b2188db9c88b39edf1b34a5bf | c844680fd2a5408e07bd11c139cd4f70e0fd5e0b | /dali/include/dali/integration-api/adaptors/trigger-event-factory-interface.h | 8fa42904ec41895738415ed8003887d2c9ef05b5 | [] | no_license | dalihub/androidhelloworld | 53dfe9a0c628f7812ec5cdb4eb57928cedd05cd6 | 78d1ef7735c071e6201525354a0852e7fb783a38 | refs/heads/master | 2020-07-21T09:31:27.551673 | 2019-09-09T14:59:06 | 2019-09-09T15:02:23 | 206,816,793 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,337 | h | #ifndef DALI_INTEGRATION_TRIGGER_EVENT_FACTORY_INTERFACE_H
#define DALI_INTEGRATION_TRIGGER_EVENT_FACTORY_INTERFACE_H
/*
* Copyright (c) 2019 Samsung Electronics Co., Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You m... | [
"a.obzhirov@samsung.com"
] | a.obzhirov@samsung.com |
f3ca4b1213b1364d2ec1d2b41fcca043b91b5523 | 2a6b947fadef8332a0abf737c6579e1cbca700f4 | /common/string_helper.h | ca4972951d8e7e62d7f34c505d9594dd13b5741b | [
"MIT"
] | permissive | Thalhammer/pve-simple-container | 471b772c73011bcec1acb6db34b177eaa67b02ef | bfe7e72961fe6ae350587c71c71ef1be8e5fd5f5 | refs/heads/master | 2021-07-03T11:36:52.811457 | 2020-08-22T14:33:46 | 2020-08-22T14:33:46 | 147,509,253 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,469 | h | #pragma once
#include <string>
#include <sstream>
#include <limits>
#include <algorithm>
namespace pvesc {
namespace common {
template<size_t Len>
constexpr inline size_t strlen(const char (&data)[Len]) noexcept {
return Len - 1;
}
template<typename CharT, typename Traits, typename Alloc>
inline size_t s... | [
"dominik@thalhammer.it"
] | dominik@thalhammer.it |
66eeae069cb16ac55c9c7ce9853e03e1aad8bd79 | 735441d9817e13191b24702feb969049db184c9e | /2sem/Array 14.02/array.h | dc379d834679d3c8e935abc8f39921ac1ce60d36 | [] | no_license | p-mazhnik/mipt-cpp | 0e7dcfe84d0b31e9b2cb2fe1133dd23f4538f5c3 | 5c9bd5e97880a353c64843170863e5ea6d9cf26d | refs/heads/master | 2021-01-21T10:00:26.884468 | 2018-04-11T22:20:44 | 2018-04-11T22:20:44 | 83,356,174 | 2 | 3 | null | 2017-04-25T16:06:11 | 2017-02-27T20:58:18 | C++ | UTF-8 | C++ | false | false | 839 | h | #ifndef ARRAY_H_INCLUDED
#define ARRAY_H_INCLUDED
/// friend ??? ????????? ? ????????? ????? ??????
class int_array
{
private:
int *values;
int size;
// void log(char *message);
public:
int_array(const int size);
int_array(const int_array &that); ///??????????? ??????????? ??????????, ???? ???????? ... | [
"mazhnik.pa@phystech.edu"
] | mazhnik.pa@phystech.edu |
ba8bae5fddf12972fae9200e3e5fae8b869058af | 68db9ca21ad8bf73dc8fab25fc681bbb55a9cd51 | /Parcial_3/Practicas/Proyecto_final/Main.cpp | 7f22ea11d49c3915b42bde80cbd15b341acbcea5 | [] | no_license | Robert170/Prograc-on_II_2019B_Roberto_Ramirez_Ontiveros | 7ad8ccd487cc5672c1679cc4e596715c7974fe9f | 0a7a1148efdac3b3b00c10ee4a8ab43afd8e38ee | refs/heads/master | 2020-05-18T02:39:46.591725 | 2019-08-16T17:28:06 | 2019-08-16T17:28:06 | 184,122,904 | 0 | 0 | null | null | null | null | WINDOWS-1250 | C++ | false | false | 3,962 | cpp | #include <iostream>
#include <string>
#include "Arbol_AVL.h"
#include "Arbol_Bin.h"
#include "Persona.h"
using std::string;
using std::cout;
using std::cin;
using std::endl;
int arbol_avl();
int arbol_bin();
int main()
{
unsigned int menu = 0;
cout << "\nIngresa \n0-Salir \n1-Para un arbol binario \n2-Para un arb... | [
"42983312+Robert170@users.noreply.github.com"
] | 42983312+Robert170@users.noreply.github.com |
a25f6feee44f9f1f94cfe6fe402ef9f2f23c521d | 60247e7161920de5476ae181bcfef1d5421c1748 | /interoplogin.cpp | 5aba7980b077c4abe83d743ddd379160f294d1ce | [] | no_license | utat-uav/Software | 02c820061dabfd9fff76c7853d12906d2efc8668 | e8c113dcc0148c4416ce88af690dd04746dda36c | refs/heads/master | 2021-01-19T06:42:33.032472 | 2017-04-30T21:09:42 | 2017-04-30T21:09:42 | 63,461,914 | 1 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 1,388 | cpp | #include "interoplogin.h"
#include "ui_interoplogin.h"
#include <QSettings>
InteropLogin::InteropLogin(QWidget *parent) :
QDialog(parent),
ui(new Ui::InteropLogin)
{
ui->setupUi(this);
QSettings settings;
QString defaultIP = settings.value("Interop/IP", QString("128.0.0.1")).toString();
int d... | [
"Davis Wu"
] | Davis Wu |
d32712e604c22dbcfcb47626d6526583e1d43c2c | 3697687db308db5a57f5e1c7292393949cc32053 | /src/Material.cpp | db55878462a07e1eff5b8a1f6d20a942665019e1 | [] | no_license | essalguero/APIs_Practica08 | b6786f8465a2ebaba04c3e53db6ee024f827a079 | 2c8285ed94065a24adb9f9d140bf096635df34d2 | refs/heads/master | 2020-03-21T04:02:23.048095 | 2018-06-23T23:02:55 | 2018-06-23T23:02:55 | 138,087,131 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,710 | cpp | #include "Material.h"
#include "State.h"
Material::Material(const std::shared_ptr<Texture>& tex,
const std::shared_ptr<Shader>& shader)
{
materialTexture = tex;
materialShader = shader;
materialColor = glm::vec4(1.0f);
}
const std::shared_ptr<Shader>& Material::getShader() const
{
if (!materialShader)
return... | [
"essalguero@yahoo.es"
] | essalguero@yahoo.es |
145abe8e626fa43a8ab6fd6a726f93a2d6e3c22f | 975e662c22c3d325e1ff48e9abe4975f9d29408d | /test/task_test/ck_task_util_test.cpp | 36ab9d89defabe0a2432a437e1bb1460786836dc | [] | no_license | dogtwelve/CakeStudy | 8048dd6bb935fdbe8776e622406cbf930cbc1235 | 851caf5d532d292ec3aa17c7e3002e62a3702b32 | refs/heads/master | 2021-08-12T02:48:20.410384 | 2017-11-14T10:07:54 | 2017-11-14T10:07:54 | 110,673,533 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,254 | cpp | /*
Copyright (c) 2007-2010 Takashi Kitao
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, merg... | [
"x3191@@hotmail.com"
] | x3191@@hotmail.com |
c3c392735c95d09a00624f9d0371e868fab1fcb2 | dfd6e4bb0a6e6b395f3753e11ec2459c8c3b8adc | /Dot_Engine/src/Dot/Utils/Parser/JsonParser.cpp | 7bfeb9d910ab7fac07b85362c3befdc8fac753f3 | [
"Apache-2.0"
] | permissive | SimonGido/Dot_Engine | f2bce1d4b85c7aa6bd32afd43618da2b4a29c437 | 1db28c56eeecefaed8aa3f1d87932765d5b16dd4 | refs/heads/master | 2022-04-03T08:37:16.832443 | 2020-02-09T21:30:23 | 2020-02-09T21:30:23 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,284 | cpp | #include "stdafx.h"
#include "JsonParser.h"
namespace Dot {
Json JsonParser::ParseJson(const std::string& filepath, const std::vector<std::string>& keywords)
{
Json json;
std::ifstream file;
file.open(filepath);
std::string line;
std::string tmp;
while (std::getline(file, line))
{
for (int i =... | [
"simongido1@gmail.com"
] | simongido1@gmail.com |
184e3089497bbce9432b2cec325602554f0c02c1 | d3701d9144f5c2b04619a5d97f0c322b8a9ce610 | /moneda/src/blockchain_utilities/blocksdat_file.h | 37ad89fb1e7c52708281e235303f3a8e144c2513 | [
"BSD-3-Clause",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | sarlongda/moneda | 37538762b495d095f2244dd1d9ead363d4aff333 | 997d6a670b99e7e59e68cd8c903bad7efa827bec | refs/heads/master | 2020-03-21T12:58:46.953161 | 2018-06-25T10:50:18 | 2018-06-25T10:50:18 | 138,581,500 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,915 | h | // Copyright (c) 2014-2018, The Moneda Project
//
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without modification, are
// permitted provided that the following conditions are met:
//
// 1. Redistributions of source code must retain the above copyright notice, this list of
/... | [
"34284034+sarlongda@users.noreply.github.com"
] | 34284034+sarlongda@users.noreply.github.com |
18e08aac6c6c8829d32aa9e824aa4e1bfd627080 | c95a83e1a741b8c0eb810dd018d91060e5872dd8 | /Game/ClientShellDLL/ClientShellShared/SmokeFX.h | 380bbab64a199dbc45b40898d9dffc23ffcb8e72 | [] | no_license | rickyharis39/nolf2 | ba0b56e2abb076e60d97fc7a2a8ee7be4394266c | 0da0603dc961e73ac734ff365bfbfb8abb9b9b04 | refs/heads/master | 2021-01-01T17:21:00.678517 | 2011-07-23T12:11:19 | 2011-07-23T12:11:19 | 38,495,312 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,088 | h | // ----------------------------------------------------------------------- //
//
// MODULE : SmokeFX.h
//
// PURPOSE : Smoke special fx class - Definition
//
// CREATED : 12/15/97
//
// ----------------------------------------------------------------------- //
#ifndef __SMOKE_FX_H__
#define __SMOKE_FX_H__
... | [
"vytautasrask@gmail.com"
] | vytautasrask@gmail.com |
268a3189b6c98374a5ea213e6ebe7b898bbe173f | decf94b8d8d609b225c9de9868854f2997ce1718 | /hls-syn/cnvW1A1-pynqZ1-Z2/sol1/syn/systemc/start_for_Streamibbk.h | cab5bbfbc40f040cddcf967740f8ba5f7f5c13d8 | [] | no_license | archana95in/FPGA-Project-BNN | 9dd54e2d0e83547ebcce8e87a303580b9572c578 | a007a0da089d73056cd7469d26fc7d1f7e2b7561 | refs/heads/master | 2022-12-04T07:05:40.827191 | 2020-08-27T01:31:14 | 2020-08-27T01:31:14 | 262,349,976 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,581 | h | // ==============================================================
// Vivado(TM) HLS - High-Level Synthesis from C, C++ and SystemC v2019.2 (64-bit)
// Copyright 1986-2019 Xilinx, Inc. All Rights Reserved.
// ==============================================================
#ifndef start_for_Streamibbk_HH_
#define start_fo... | [
"archana95in@gmail.com"
] | archana95in@gmail.com |
3d7ddddab79fb9f43df02bbf6cb27909ca79985f | dfe1ab8c72ea79b4d615d04816472bdca7b33cd7 | /QDisplay/Node/_NOTUSED/node.cpp | fe380bf6528dfd595b16a376d97a113b8c7b062e | [] | no_license | seco/Queue | 0b9194fa9abc8063470e1898b8467189f73391af | 35352d1ede1f2b69274ef13400fa103f296b4cef | refs/heads/master | 2021-01-14T14:02:10.946033 | 2016-08-30T07:39:57 | 2016-08-30T07:39:57 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,871 | cpp | #include "node.h"
#include "ui_node.h"
Node::Node(const QString &objName, DB *db, QWidget *parent) :
QFrame(parent),
ui(new Ui::Node)
{
ui->setupUi(this);
m_db = db;
setObjectName(objName);
setSizePolicy(QSizePolicy::Ignored , QSizePolicy::Expanding);
}
Node::Node(QWidget *parent)
: QFram... | [
"yasriady@yahoo.com"
] | yasriady@yahoo.com |
4eb1e163f48bb6485b242b613b373eb8bf1a8df3 | 827e6baad58bba56a6ce3a6969d3b32107b896f0 | /LAB 2(arrays and pointers)/LAB 2(arrays and pointers)/2.cpp | f86ec8d75e6976c7b04ad6cfe56884f50da06c02 | [] | no_license | MuhammadSaim7776/2nd-semester-programs | 3f41809c9bf509a8910c7d356366f4329066ba17 | 00e76b3526705c1de9644a682bbadcfc0f43fc89 | refs/heads/main | 2023-03-07T23:20:54.035073 | 2021-02-20T11:05:12 | 2021-02-20T11:05:12 | 340,632,203 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 487 | cpp | //#include<iostream>
//#include<conio.h>
//using namespace std;
//void main()
//{
// int number,fict=1;
// int *numb=&number;
// int *fic = &fict;
// cout << "Enter the number of which you want to get fict... | [
"saimzahir7776@gmail.com"
] | saimzahir7776@gmail.com |
ff6d299fb684301541d22e4bd7d3af0393d51733 | c4428fcbfd609a2657d0a3911ebb987ddb1f4b97 | /securitycamera/src/motiondetect.cpp | 0689ac4c919c2af0aa1d91149dc7d7537eece49f | [] | no_license | michaelstecklein/beagleboneblack | 9b0928c8e3a318ad1799085f35af1a2f6b2ca2f3 | a824f9ee7178dd324864d01be6ce3a3a0b5dd985 | refs/heads/master | 2020-04-17T09:39:02.461109 | 2017-01-09T16:46:29 | 2017-01-09T16:46:29 | 67,887,128 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,462 | cpp | #include <stdio.h>
#include "opencv2/opencv.hpp"
#include "led.hpp"
#include "motiondetect.hpp"
#include "deletion.hpp"
#include "filelog.hpp"
using namespace cv;
volatile unsigned long long curr_time_tag = 0;
#define VARIANCE_THRESHHOLD 30
void* thisBuf;
volatile int buff_len = -1;
volatile int ready_flag = -2; //... | [
"michaelrstecklein@gmail.com"
] | michaelrstecklein@gmail.com |
45c0c698d866244cc420a2b438468098a23eceaf | 363a9aabefd421f6ff26c5dc9fc08987f0aa2986 | /CWStore/CW_1/Task_2/HWTemple/HWTemple/algorithms.cpp | 06d9447e0de9abefb5dbbe702122d7ad5ad1c5ab | [
"MIT"
] | permissive | Agesyne/HW | a2ec8ac2b894fb2195e1a3fea3431ba5e568f000 | df9229c7f639f41ed85bae14b666bdaaf2e387b3 | refs/heads/master | 2021-10-09T12:58:05.957806 | 2018-12-23T13:39:46 | 2018-12-23T13:39:46 | 125,869,013 | 0 | 0 | MIT | 2018-12-28T03:59:22 | 2018-03-19T14:16:58 | C++ | UTF-8 | C++ | false | false | 384 | cpp | #include "pch.h"
#include "mainFunctions.h"
void selectionSort(int sortingArray[], int arraySize)
{
for (int i = 0; i < arraySize; i++)
{
int minElementIndex = arraySize - 1;
for (int j = i; j < arraySize; j++)
{
if (sortingArray[j] < sortingArray[minElementIndex])
{
minElementIndex = j;
}
}
... | [
"A40gE20Low8@mail.ru"
] | A40gE20Low8@mail.ru |
b7a4b3db897ee6fa7168744305e1d68748f4aafb | 41169491008bed674166347c1b2942cb6b083363 | /ouzel/gui/Menu.cpp | 2604813509a1296e5f5e311214ca0f6b8cf4592b | [
"BSD-3-Clause",
"BSD-2-Clause"
] | permissive | cnsuhao/ouzel | 7ae1d33b3138e69a31e5d183be4763a8c8c5d72d | 4f8face947c265bed1b17cd22426e8113469f446 | refs/heads/master | 2021-09-05T09:10:34.695831 | 2018-01-25T23:03:37 | 2018-01-25T23:03:37 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,763 | cpp | // Copyright (C) 2018 Elviss Strazdins
// This file is part of the Ouzel engine.
#include <algorithm>
#include "Menu.hpp"
#include "core/Engine.hpp"
#include "events/EventDispatcher.hpp"
#include "input/Input.hpp"
#include "utils/Log.hpp"
namespace ouzel
{
namespace gui
{
Menu::Menu()
{
... | [
"elviss@elviss.lv"
] | elviss@elviss.lv |
4e2251b1d915a2a14e63e2479ea9febc832839d8 | fc0f661f9d0f17dc1ca93c6840e068dd2758913c | /main.cpp | 0a1a7046d88f4bba94685fc4489ba278f246eb6c | [] | no_license | zeusd/CCG-Demo | 208b3b9b554d80fdc77e6497d18b936ed745f7ae | df23c114e0c39f26d0fc0c9fb5bfc3e43f0c9916 | refs/heads/master | 2020-05-22T00:14:02.223987 | 2017-03-12T00:45:28 | 2017-03-12T00:45:28 | 84,653,871 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,292 | cpp | #include <SFML/Graphics.hpp>
#include "MonsterCard.hpp"
int main()
{
int const width = 1920;
int const height = 1080;
sf::RenderWindow window(sf::VideoMode(width, height), "", sf::Style::Fullscreen);
sf::RectangleShape nest[20];
for (int j=0; j<4; j++)
{
for (int i=0; i<5; i++)
... | [
"thegdimov@gmail.com"
] | thegdimov@gmail.com |
301d8aa3019107f56397a447e5a82a64e7f9ab0d | 0233f23ff027707b4df08920888bd844a4ef7502 | /quake_framebuffer/ustl/uratio.h | bc19373ab087fd0071241682dd2110e3c8b88e2a | [
"BSD-2-Clause",
"MIT"
] | permissive | WarlockD/quake-stm32 | 2f187122247cf581d5232f639380212ba0fca3a7 | 8414f407f6fc529bf9d5a371ed91c1ee1194679b | refs/heads/master | 2021-09-04T09:26:43.761690 | 2018-01-01T20:17:14 | 2018-01-01T20:17:14 | 104,211,905 | 6 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,626 | h | // This file is part of the uSTL library, an STL implementation.
//
// Copyright (c) 2016 by Mike Sharov <msharov@users.sourceforge.net>
// This file is free software, distributed under the MIT License.
#pragma once
#include "sostream.h"
#if HAVE_CPP11 // ratio requires constexpr
namespace ustl {
template <intmax_t ... | [
"warlockd@gmail.com"
] | warlockd@gmail.com |
d577ef35f8e7593a4f2b554b3d80436b380701ce | 46cea2c3e797a7b3607c6488334ebd0e92c794bd | /The NInth chapter assignment/Time_Class/Time_Class/Time.cpp | aa76badf0d00879f41526f208e911eec2b84572d | [] | no_license | shidaixianfeng/My_C- | 0b6a5019f9e5fbb04f5a7cded330433d75b2ffcc | cd9aa767efb4a3836585bb43c76ba99621d85f8e | refs/heads/master | 2021-01-22T22:49:30.465114 | 2017-04-30T15:26:36 | 2017-04-30T15:26:36 | 85,582,646 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,474 | cpp | #include "Time.h"
#include<iostream>
#include<string>
#include<iomanip>
using namespace std;
Time::Time(int hour, int minute, int second, string x)
{
SetHour(hour);
SetMinute(minute);
SetSecond(second);
if (x == "AM")
m_iMorning = 1;
else
m_iMorning = 2;
//m_bFlag = false;
}
Time::~Time()
{
}
bool Time::Se... | [
"1461014539@qq.com"
] | 1461014539@qq.com |
cd68a9165bab70d9abe6000c820a19d3007822ec | 38cea84aad798112978e45e330792d50ec05bd3e | /game/client/hud_controlpointpanel.cpp | 02cd41b33870f49612d038b2076eb7740d6a5164 | [] | no_license | HL2-Ghosting-Team/src | 3822c5f7b621ef8e158fa7e2a74551c9cd81257f | 8c9e32e78a0f67591d6dd8a17cb77bc0ebf832b5 | refs/heads/master | 2022-06-25T01:15:20.989386 | 2022-06-16T19:58:43 | 2022-06-18T17:52:05 | 12,396,254 | 20 | 19 | null | 2022-06-18T17:52:06 | 2013-08-27T03:49:09 | C++ | WINDOWS-1252 | C++ | false | false | 27,849 | cpp | //========= Copyright © 1996-2005, Valve Corporation, All rights reserved. ============//
//
// Purpose:
//
//=============================================================================//
#include "cbase.h"
#include "hudelement.h"
#include <vgui_controls/Panel.h>
#include <vgui_controls/Label.h>
#include <vgui_cont... | [
"nkerns25@yahoo.com"
] | nkerns25@yahoo.com |
5f98f5da3ac22b8dbc7786c1fe645c1e7874b0cf | 15ffa9caaaafa25abfb56a8a8120368f5e984f43 | /include/algorithm/jaro_winkler.h | 53a6411374c14e01b35219872cfb1f84f77b5d43 | [
"MIT"
] | permissive | thomastli/k-means-cpp | 1ee80a2dd53d70ed0446bc54ee866597acbf627b | 643a5a7030931cf2373764591250348238dedbed | refs/heads/main | 2023-07-28T21:40:25.320121 | 2023-07-11T21:59:09 | 2023-07-11T21:59:09 | 373,842,514 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 811 | h | /**
* @author Thomas Li
* @date 2021-06-04
* @brief Implementation of Jaro-Winkler algorithm for edit distance between strings
* Modified from original source: https://github.com/TriviaMarketing/Jaro-Winkler
*/
#ifndef JAROWINKLER_HPP
#define JAROWINKLER_HPP
#include <string>
#include "distance_interface.h"
nam... | [
"thomas.tong.li@gmail.com"
] | thomas.tong.li@gmail.com |
9e92ae1c03d2fc8041b72d340c70cae1175faa50 | 6ffd23679939f59f0a09c9507a126ba056b239d7 | /dnn/test/cuda/batched_matrix_mul.cpp | f209b99cb5c11c404e5a50764c60815b44e6166f | [
"LicenseRef-scancode-generic-cla",
"Apache-2.0"
] | permissive | MegEngine/MegEngine | 74c1c9b6022c858962caf7f27e6f65220739999f | 66b79160d35b2710c00befede0c3fd729109e474 | refs/heads/master | 2023-08-23T20:01:32.476848 | 2023-08-01T07:12:01 | 2023-08-11T06:04:12 | 248,175,118 | 5,697 | 585 | Apache-2.0 | 2023-07-19T05:11:07 | 2020-03-18T08:21:58 | C++ | UTF-8 | C++ | false | false | 11,860 | cpp | #include <vector>
#include "test/cuda/fixture.h"
#include "test/common/checker.h"
#include "test/common/matrix_mul.h"
#include "test/common/rng.h"
#include "test/cuda/benchmark.h"
#include "test/cuda/utils.h"
using namespace megdnn;
using namespace test;
#define F32_TEST_PART(x, algo) ... | [
"megengine@megvii.com"
] | megengine@megvii.com |
3cc386a67fa8e089aaae0e4007a3e4bea964a772 | 529fea537c2820b755e5115ecfafdc11f6fdf06d | /11.cpp | 9325ece3cc8820c846b6fa81b76618ce476f62a6 | [] | no_license | diegovernan/hackerrank_cpp | 8217d80292992bb9d065e1e3862740761ad133c8 | 44f5f7318a3b4f230f9ab33e2ac02239fd0d8166 | refs/heads/master | 2022-11-19T07:28:31.611855 | 2020-07-16T14:11:59 | 2020-07-16T14:11:59 | 265,954,898 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 526 | cpp | #include <sstream>
#include <vector>
#include <iostream>
using namespace std;
vector<int> parseInts(string str)
{
// Complete this function
stringstream ss(str);
vector<int> ints;
char ch;
int tmp;
while (ss >> tmp)
{
ints.push_back(tmp);
ss >> ch;
}
return ints;
... | [
"diegovernan@gmail.com"
] | diegovernan@gmail.com |
87fa015d572d5a4367f82be296add899d3f36d69 | f9f03edf48617e2dc512a812c030a4f3a07c03d2 | /216.cpp | 062b7b5ecf50ac9d1c4b7efb7a6597608b58e2ec | [] | no_license | gitchaofang/leetcode | 8d2769383e563788486dfa85a21d2df0c1c568d6 | 86907b9df994280e376e8c9f136fa8c37807ba2a | refs/heads/master | 2021-08-08T17:46:50.384188 | 2020-12-16T06:30:59 | 2020-12-16T06:30:59 | 232,033,250 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 867 | cpp | class Solution {
public:
std::vector<std::vector<int>> dfs(const int& pos, const int& k, const int& n){
if(k == 1){
if(pos == n) return {{pos}};
return {};
}
std::vector<std::vector<int>> res;
for(int i = pos + 1; i <= 9; ++i){
if(i + pos > n) brea... | [
"fangchao118@gmail.com"
] | fangchao118@gmail.com |
b8659644694bf00c27b8977eea87f587e4d641ab | 927d718336c3df467d70d517a94dc8ccafdcd298 | /llvm/lib/Target/Sparc/SparcInstrInfo.cpp | 0342db4696b122e6b5cf845fd50555350aa15ccc | [
"NCSA"
] | permissive | rofl0r/ellcc | 3f54f0e9614d0920d8b648b64048a383c7304b3d | a40bd7b9d4a74992c4ac8273e44ecee44241ebde | refs/heads/master | 2021-01-19T08:46:05.647311 | 2013-09-29T13:12:16 | 2013-09-29T13:12:16 | 4,942,860 | 6 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 15,228 | cpp | //===-- SparcInstrInfo.cpp - Sparc Instruction Information ----------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | [
"rich@ellcc.org"
] | rich@ellcc.org |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.