blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 4 201 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 7 100 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 260
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 11.4k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 17
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 80
values | src_encoding stringclasses 28
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 8 9.86M | extension stringclasses 52
values | content stringlengths 8 9.86M | authors listlengths 1 1 | author stringlengths 0 119 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1a57e2399d1ea1023459eb6459b16805a3f5d1c6 | eee81611a5961254832c7ce8f0bd9357d400c6a3 | /libs/oss/others/APL/opencore/fileformats/mp4/composer/include/shadowsyncsampleatom.h | aa429e1c65a671f1441c098d0b0034e23435ba67 | [] | no_license | easycodec/emlinux-ssd1935 | ba829b2743529bf98bc229a69c27ed3dcb166a8d | 34782c27c8a4d7f915467637f8974c69345719e4 | refs/heads/master | 2020-07-30T14:12:19.210694 | 2016-01-09T10:09:45 | 2016-01-09T10:09:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,352 | h | /* ------------------------------------------------------------------
* Copyright (C) 1998-2009 PacketVideo
*
* 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.a... | [
"acassis@gmail.com"
] | acassis@gmail.com |
edc84e5e618d41c8a7fd68d25faa5d658fa899cd | 9d017d6cd49418592dd27ed51e392b66e50a057e | /a2 online judge/div2 B/jul19/finthebones.cpp | 3f62fcaa346d55893cc814897739f323588a727c | [] | no_license | rv404674/CPcodes | 753113cc539f8582581a7bef8381367b82eac4ee | 0c5c1a7c6d5ce09261e69dc3f56dc47b19617863 | refs/heads/master | 2021-08-08T14:25:03.747945 | 2017-11-10T14:16:59 | 2017-11-10T14:16:59 | 110,252,715 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 975 | cpp |
#include<iostream>
#include<iomanip>
#include<sstream>
#include<cstdio>
#include<cmath>
#include<cstring>
#include<string>
#include<vector>
#include<list>
#include<set>
#include<map>
#include<queue>
#include<stack>
#include<utility>
#include<limits.h>
#include<functional>
#include<algorithm>
using namespace std;
in... | [
"rv404674@gmail.com"
] | rv404674@gmail.com |
ac58f87d1cb56790522e5cd8e0ffd9d30cd66074 | 76f1ab695ed92d69d2bbb51757a814d79e88de5e | /main121.cpp | 60b5c9460c2711dc8fbb44d46d9e70ab451d7850 | [] | no_license | Umit1904/Code-in-C- | 5dd98edf8027f1498650ad102680dbb5275663e8 | 92f165f627171a9fa8ff850f580ef3551931d3b0 | refs/heads/master | 2020-09-13T00:12:11.362973 | 2019-11-23T07:45:31 | 2019-11-23T07:45:31 | 222,601,315 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 249 | cpp | //121
#include <bits/stdc++.h>
using namespace std;
int main(){
string number;
cin>>number;
int count=0;
for(int i=0; i<number.length(); i++){
if(number[i]%2==0){
count++;
}
}
cout<<count<<endl;
}
| [
"noreply@github.com"
] | noreply@github.com |
cd9f0f9fbf7f30edb1f17991ea35e5f8336a3e6a | b7907fa6205ddc1b0131a5805a93b81ab8c487ab | /QtServer/Account.cpp | e8d91ed775dec3c3cfdc1ae7de885167a329a004 | [] | no_license | ppqing/QTServer | 0f047bf8b14d6561212ec14d62c1f0a7a6c483b3 | 17138369e8b78f9c45453ce04cf4cb5ba8de69be | refs/heads/master | 2021-10-10T18:41:12.959887 | 2019-01-15T12:33:46 | 2019-01-15T12:33:46 | null | 0 | 0 | null | null | null | null | ISO-8859-7 | C++ | false | false | 581 | cpp | #include "Account.h"
#include <qstring.h>
#include <qstringlist.h>
#include <map>
Account::Account()
{
}
Account::~Account()
{
}
bool Account::checkAccount(QByteArray cstr)
{
std::map<QString,QString>accounts;
accounts["abc"] = "123";
QString qstr;
qstr.prepend(cstr);
QStringList list = qstr.split(":");
i... | [
"992537951@qq.com"
] | 992537951@qq.com |
f0aa2d55262500cb154e6630b14a46a57b753217 | 3ad8a6285775b703e60f1aec27a459727222ada7 | /src/ember/component_common.hpp | b8c7133458d5aeb2eda87ebc3d4fd16d5699ecb6 | [
"MIT"
] | permissive | apples/ember_engine | 8ca66830b2fee45a1f137b0c850d5dc0fdf16633 | 26ddb8947a32e42fafc5c2c0b404f3f407c1dd95 | refs/heads/master | 2023-08-19T14:29:51.539476 | 2021-11-01T06:38:40 | 2021-11-01T06:38:40 | 276,845,608 | 2 | 0 | MIT | 2021-11-01T06:38:41 | 2020-07-03T08:14:10 | C++ | UTF-8 | C++ | false | false | 679 | hpp | #pragma once
#include "json_serializers.hpp"
#include <sol.hpp>
#include <tuple>
#ifndef EMBER_REFLECTION_MAX_TYPES
#define EMBER_REFLECTION_MAX_TYPES 32
#endif
namespace component {
using ember::json_serializers::basic::from_json;
using ember::json_serializers::basic::to_json;
void register_all_components(sol::... | [
"dbralir@gmail.com"
] | dbralir@gmail.com |
dae97e976ab63e4ae527b4d11893ac533d73c137 | 01ee48559601e63974d4a374b91ecee646967285 | /unuse/myAnalysis.hh | 55eba8afe9856de3e1c7d9d28311fe6c66537b55 | [] | no_license | fengjunpku/simu_ciae13c | f18fc4e7bc33f498f1ed06a0f690ac032c8a6a97 | 08d1687712f879e68b3df59534bfa8a2e45287d4 | refs/heads/master | 2021-01-17T08:12:48.869110 | 2017-02-28T10:57:21 | 2017-02-28T10:57:21 | 60,020,646 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 93 | hh | //output format!!!
#ifndef myAnalysis_h
#define myAnalysis_h 1
#include "g4root.hh"
#endif
| [
"fengjun2013@pku.edu.cn"
] | fengjun2013@pku.edu.cn |
e745d46ec90b3c6205d9c747beaf785b20ad8547 | 999cd65880bbbfcc9d3ba6d1661602f5736e4d3d | /lab5/artwork/A.cpp | d4e31adc920596a35ab7135abdddefd95b8abd4e | [] | no_license | dean2727/KattisJourney | 072c5d2283bf8ba50fae0aa35d1378dc052008a6 | b7d935afa84db25087d4eb3ffa2a2b2b11838591 | refs/heads/master | 2023-06-05T22:44:16.589255 | 2021-06-24T01:47:15 | 2021-06-24T01:47:15 | 379,771,656 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 99 | cpp | #include <iostream>
using namespace std;
int main() {
sync_with_stdio(false);
return 0;
}
| [
"dean.orenstein2@gmail.com"
] | dean.orenstein2@gmail.com |
e68c6b3d8acf45f68595c128a5644db9ea9682cf | a0a8224b9f737a64fe0d096c38212f1d4c23eaf4 | /Level 3/2.3/2.3.5/Point.hpp | 8bb7d4393b253014aeea66e25168d6ae1718925a | [] | no_license | HanSong3233/Baruch-Cplusplus-programming-for-FE-Certificate | cb5582eaf1f0beb0710c81f49b8629ba01a16c54 | 83625ae892c50b389755428306ef57ed5ec796b3 | refs/heads/main | 2023-07-15T15:28:56.513042 | 2021-08-31T03:54:52 | 2021-08-31T03:54:52 | 400,758,339 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,041 | hpp | //Point.hpp a header file that construct a class of point.
//with the functionality GetX(),GetY(),SetX(),SetY();ToString().
#ifndef Point_HPP
#define Point_HPP
#include <iostream> //C++ style I/O
#include <sstream> //C++ stream buffering
using namespace std;
class Point
{
private:
double m_x; //the ... | [
"noreply@github.com"
] | noreply@github.com |
cf9942e86439384f02e7556f3aa99747b22682e2 | 6f874ccb136d411c8ec7f4faf806a108ffc76837 | /code/Windows-classic-samples/Samples/Win7Samples/security/certificateservices/exit/c++/windowsserver2008/cedebug.cpp | 01c7fc1a3f882d719e2a896eb37a52cd4524e758 | [
"MIT"
] | permissive | JetAr/ZDoc | c0f97a8ad8fd1f6a40e687b886f6c25bb89b6435 | e81a3adc354ec33345e9a3303f381dcb1b02c19d | refs/heads/master | 2022-07-26T23:06:12.021611 | 2021-07-11T13:45:57 | 2021-07-11T13:45:57 | 33,112,803 | 8 | 8 | null | null | null | null | UTF-8 | C++ | false | false | 2,152 | cpp | //+---------------------------------------------------------------------------
// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
// ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
// THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
// PARTICULAR PURPOSE.
//
// Copyr... | [
"126.org@gmail.com"
] | 126.org@gmail.com |
f847cc9d2200355966e8e11b225eb2a5c87dc4ec | 2e83ba4ddf2be9a7e3c855702b6d9e96b82e639e | /allocators/alexandrescu/small_obj_allocator.hpp | a2fadd5611ce9f78ff22565d70ecc8ca1255d36b | [] | no_license | tarasko/tcl | d79df13b91df13b4c09ab40ec23b51fffb21c236 | 0c9d1b7f78373943514e19fa6c2225e99ebdf2db | refs/heads/master | 2021-01-01T19:43:14.151781 | 2012-04-01T22:31:15 | 2012-04-01T22:31:15 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 764 | hpp | #pragma once
#include "fixed_allocator.hpp"
namespace tcl { namespace allocators { namespace alexandrescu {
class small_obj_allocator
{
public:
small_obj_allocator(size_t max_obj_size = 64);
small_obj_allocator(small_obj_allocator&& other);
small_obj_allocator& operator=(small_obj_allocator&& other);
... | [
"kozlov.taras@gmail.com"
] | kozlov.taras@gmail.com |
ac3e79a5d7076414d8f31ee0309833fe6c881deb | 17e35607ffd1c54462cd38f5e9d524acdae9ecdd | /code/ui/CAppSetCalibrate.cpp | 3b98173df7019ff3265a4ec7b77f39d413670344 | [] | no_license | path130/ZJ15CCRZ | 4295923429aa9e2af68b230883e2145383c28192 | 8ae743ec998157800ee3069d11839f2d8031215e | refs/heads/master | 2020-05-24T06:30:19.907978 | 2019-05-16T07:40:29 | 2019-05-16T07:40:29 | 187,138,881 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,051 | cpp | #include "CCtrlModules.h"
#define EDGE_CALIB 100
typedef struct
{
int x[5];
int xfb[5];
int y[5];
int yfb[5];
int a[7];
} calibration;
static BOOL perform_calibration(calibration *cal)
{
int j;
float n, x, y, x2, y2, xy, z, zx, zy;
float det, a, b, c, e, f, i;
float scaling = 65536.0;
// Get sums ... | [
"1301914224@qq.com"
] | 1301914224@qq.com |
c5286ffd0d8d760571e438afea8f58cc5b1b779c | 03f037d0f6371856ede958f0c9d02771d5402baf | /graphics/VTK-7.0.0/IO/FFMPEG/vtkFFMPEGWriter.cxx | 7d94f37520819765e9d05dad7eb60f13e4bb9895 | [
"BSD-3-Clause"
] | permissive | hlzz/dotfiles | b22dc2dc5a9086353ed6dfeee884f7f0a9ddb1eb | 0591f71230c919c827ba569099eb3b75897e163e | refs/heads/master | 2021-01-10T10:06:31.018179 | 2016-09-27T08:13:18 | 2016-09-27T08:13:18 | 55,040,954 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 16,736 | cxx | /*=========================================================================
Program: Visualization Toolkit
Module: vtkFFMPEGWriter.cxx
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
All rights reserved.
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
This ... | [
"shentianweipku@gmail.com"
] | shentianweipku@gmail.com |
42199dbf14312df2b57f7ce067aa930a8b6dac62 | 42858c0358f4011f64ce45a5d22a5126e0c632bc | /src/qt/test/test_main.cpp | f6db45d6619d21f935a3bb4d3addd84276da21ff | [
"MIT"
] | permissive | Emperor-EPR/coin | 69378028ce25e7768be9b1a0974a4715e215c57c | 5830d68d7885b01106aaf87136b87a67b2c10b9a | refs/heads/master | 2021-04-03T05:08:25.694361 | 2018-04-18T16:26:26 | 2018-04-18T16:26:26 | 125,037,425 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,229 | cpp | // Copyright (c) 2009-2014 The Bitcoin developers
// Copyright (c) 2014-2015 The Dash developers
// Copyright (c) 2015-2017 The EPR developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#if defined(HAVE_CONFIG_H)
#include "... | [
"shamim.ice.ewu@gmail.com"
] | shamim.ice.ewu@gmail.com |
a9a57d8411c9553ecb834bdb240b4b12879e2313 | cfc99437b085afa7304ed5a4eab2a90072c7e50e | /pintools/source/tools/ToolUnitTests/reg_operands_test_tool.cpp | b3347d308d634e3758dc6907fccb6f362d5bba65 | [
"LicenseRef-scancode-proprietary-license",
"LicenseRef-scancode-unknown-license-reference",
"MIT",
"Intel"
] | permissive | moraispgsi/pin-bootstrap | 95498b63f88c311e4fe446259214266130aece3f | 7315b4e1709f63f018781456f9c745fc6f020f22 | refs/heads/master | 2021-09-07T18:09:11.568374 | 2018-02-27T05:16:32 | 2018-02-27T05:16:32 | 122,972,429 | 0 | 1 | MIT | 2018-02-26T14:31:18 | 2018-02-26T13:17:08 | C++ | UTF-8 | C++ | false | false | 3,694 | cpp | /*BEGIN_LEGAL
Intel Open Source License
Copyright (c) 2002-2017 Intel Corporation. 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 noti... | [
"moraispgsi@gmail.com"
] | moraispgsi@gmail.com |
b73cc84f26cc5c9effd815e50c30118c4f69f0de | 8b51911c88cdd8b00eb6ae0975c5d8bfabde01ee | /DbConnect.cpp | e2770ff4e35fda076dd637da464552b734dd1e54 | [] | no_license | dodinhvit23f/TelephoneDictionay | cba076d9b478c3bfd30842544815f8c080ae8aed | 1788fa29e043b6b12cae1c2410f427c17e971e73 | refs/heads/main | 2023-04-20T14:51:32.794383 | 2021-05-08T02:59:04 | 2021-05-08T02:59:04 | 365,404,882 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 550 | cpp |
#include<iostream>
#include<windows.h>
#include<mysql.h>
#include<stdio.h>
#include<string.h>
using namespace ::std;
class DbConnect
{
private:
MYSQL * conn;
public:
void getConnection()
{
this->conn = mysql_init(0);
this->conn = mysql_real_connect(conn,"192.167.0.106","root","","doan",3... | [
"dodinhtn@gmail.com"
] | dodinhtn@gmail.com |
3a9b86192105319610134d263b5905b0868d0371 | ee540d16b49fa683f470da9d8b83dd30cdaa2766 | /Lab. vezba 3 - SkiSanta/build-SkiSport-Desktop_Qt_5_9_9_MinGW_32bit-Debug/debug/qrc_Resursi.cpp | 6c3ffd9f1ff33331768c39e142e154dd557f6d9f | [] | no_license | DusanInfinity/ooprojektovanje-lab | bbf04b05c45d1b86bfadfcc2da3ecfa5c9caebeb | ad9d74249f0aae8d031f6d9ad8a9af3bd14e2f45 | refs/heads/master | 2023-02-12T22:43:26.601789 | 2021-01-11T17:43:37 | 2021-01-11T17:43:37 | 313,859,281 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 71,813 | cpp | /****************************************************************************
** Resource object code
**
** Created by: The Resource Compiler for Qt version 5.9.9
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/
static const unsig... | [
"dusanantic099@gmail.com"
] | dusanantic099@gmail.com |
d3139adb42156356b1aa3b1b72dec8d03ac4d7a9 | 6b2a8dd202fdce77c971c412717e305e1caaac51 | /solutions_5658571765186560_1/C++/Keyvan/A.cpp | 4eedc66b125974717fde6ee52cbe4c9c4e63d4cf | [] | no_license | alexandraback/datacollection | 0bc67a9ace00abbc843f4912562f3a064992e0e9 | 076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf | refs/heads/master | 2021-01-24T18:27:24.417992 | 2017-05-23T09:23:38 | 2017-05-23T09:23:38 | 84,313,442 | 2 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 2,298 | cpp | /*
ID: keyvank2
TASK: combo
LANG: C++
*/
#include <bits/stdc++.h>
#define ff first
#define ss second
#define pb push_back
#define mp make_pair
#define FOR(i,j,k) for(int i = j; i < (int)(k); i++)
#define FORV(i, v) FOR(i, 0, ((v).size()))
#define REP(i,j,k) for(int i = j; i >= (int)(k); i--)
#define se... | [
"eewestman@gmail.com"
] | eewestman@gmail.com |
ad432d7c8fa655fd896963019041d2a78743bac5 | 6b2a8dd202fdce77c971c412717e305e1caaac51 | /solutions_5744014401732608_0/C++/Alexiski/B.cpp | c10375a6f1b7cc2a04f215723b9f799fe9bb972c | [] | 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 | 964 | cpp | #include <iostream>
using namespace std;
int main()
{
int T; cin >> T;
for (int t=0; t<T; t++)
{
cout << "Case #" << t+1 << ": ";
int b; long long m; cin >> b >> m;
long long one = 1;
long long rest = 0;
bool print = true;
if ((one << (b-2)) < m)
{
cout <<... | [
"alexandra1.back@gmail.com"
] | alexandra1.back@gmail.com |
30e6494e58337a08d24ef7fa4dc6cb31b6dcfa17 | 8d19ab53401030209dd7e5e655bdb0e2952bfa7e | /toonz/sources/toonzlib/tcolumnfxset.cpp | 28040bbc47518c84cad53ad0affefabf5ca0a5ac | [
"BSD-3-Clause"
] | permissive | deruji/opentoonz | 825a74af1dbc89c62991458a352650c4ef766fde | ad5f6141388f796c5146876916c812bf1b1f0ff9 | refs/heads/master | 2021-05-03T09:41:12.454051 | 2016-04-22T21:08:08 | 2016-04-22T21:08:08 | 54,891,799 | 0 | 0 | null | 2016-04-22T21:08:08 | 2016-03-28T12:49:04 | C++ | UTF-8 | C++ | false | false | 4,131 | cpp |
#include "toonz/tcolumnfxset.h"
// TnzLib includes
#include "toonz/tcolumnfx.h"
// TnzBase includes
#include "tfx.h"
// TnzCore includes
#include "tstream.h"
#include "texception.h"
TFxSet::TFxSet()
//: m_xsheetFx(0)
{
}
TFxSet::~TFxSet()
{
// delete m_xsheetFx;
clear();
}
void TFxSet::addFx(TFx *fx)
{
std::... | [
"shimizu.toshihiro@gmail.com"
] | shimizu.toshihiro@gmail.com |
c3419678132cfab5d8c05d4708d2b3a655dc4232 | d0a0170ff260d47a7d251216723a5e8be798544f | /day00/t02/main.cpp | ff73d7f293148ff6b618672d08aaae2b9913ed73 | [] | no_license | mmasniy/Maraphon-CPP-Ucode | c5d5a86c53f21b268c2b138fe3023e138dfecc4c | 4611c10c342d808c3f48770058f11eced2839068 | refs/heads/master | 2022-12-09T23:49:07.052325 | 2020-08-30T16:24:08 | 2020-08-30T16:24:08 | 288,213,058 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 480 | cpp | #include "walletManager.h"
#include <iostream>
int main() {
Wallet* wallet = createWallet(10);
std::cout << "I've got " << wallet->septims << " septims in wallet." << std::endl;
destroyWallet(wallet);
int amount = 5;
Wallet* wallets = createWallets(amount);
for (int i = 0; i < amount; i++) {
... | [
"masnijmaksim@gmail.com"
] | masnijmaksim@gmail.com |
92bc60ec883320838b7f2d4e09b7a82a609ce266 | 1ebcfbba6da89d31a0c99a04d0ba931b989d61be | /Client/TerrainCol.cpp | 0b066d61faf20897c7c61a55b30032db61ff56fc | [
"Unlicense"
] | permissive | sangshub/55231 | a36ed4b765a6fb61a9b719c2247966d84c1e2496 | 1f31ab8610999856e932bac9327255475f56e4d4 | refs/heads/master | 2021-01-25T04:09:39.054813 | 2017-06-12T06:44:35 | 2017-06-12T06:44:35 | 93,401,540 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,346 | cpp | #include "stdafx.h"
#include "TerrainCol.h"
#include "Include.h"
CTerrainCol::CTerrainCol()
{
}
CTerrainCol::~CTerrainCol()
{
}
HRESULT CTerrainCol::CreateBuffer()
{
m_dwVtxSize = sizeof(VTXCOL);
m_dwVtxCnt = VTXCNTX * VTXCNTZ;
m_dwVtxFVF = VTXFVF_COL;
m_dwTriCnt = ((VTXCNTX - 1) * (VTXCNTZ - 1))<<1;
m_dwIdSize... | [
"sangshub@gmail.com"
] | sangshub@gmail.com |
da9e6d683a1c59e3961530bb30e56c197d69421e | a70d5edfbd3d39e821d3ebddd22d455c062bc808 | /MatrixExponentiation.cpp | 7decef954614441b3ee9d8825d7a324250a7fb5d | [] | no_license | aditya-iitd/Competitve-Programming-Templates- | 00ad2f437cfc99b3eab3bf577088c10a938cb04e | fdc2eaf2af7f9a3594997c2bfa3cc4d982468b97 | refs/heads/master | 2020-09-23T06:51:35.965131 | 2019-12-02T19:49:00 | 2019-12-02T19:49:00 | 225,431,909 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,787 | cpp | /*
Created By - Aditya Singh
*/
#include <bits/stdc++.h>
using namespace std;
const int mod = (int) 1e9 + 7;
/* Matrix Exponentiation */;
using Matrix = vector<vector<int>>;
Matrix multiply(Matrix A , Matrix B) {
int nA = A.size() , mA = A[0].size();
int nB = B.size() , mB = B[0].size();
assert(... | [
"noreply@github.com"
] | noreply@github.com |
380d674254de215eeb442ad49816207bf8508f01 | 07ae6457f090424b1dac65d5c95a8c6a9f079832 | /Provided Files/Windows Source Code/Server/NetSupport_Server.hpp | 44d2dfdfb021ff218ecdad0d396c6c8405651fc5 | [] | no_license | MaristKronos/Hackathon-MCCS-S2013 | a794e73c223bb52ee699c6c38662e722bff14777 | 14953b521623dd03313ebeae47846dd543993026 | refs/heads/master | 2021-01-15T21:45:17.553411 | 2013-05-06T20:06:36 | 2013-05-06T20:06:36 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,454 | hpp | //======================================================================
//
// Morgan Stanley Control Server for HERMES Trading App Simulator
// ==============================================================
//
// NetSupport_Server class definition for MSControl_Server.cpp.
// This class controls all the supporting d... | [
"Ryan.Flaherty2@gmail.com"
] | Ryan.Flaherty2@gmail.com |
c331182edaec3a34c149c21fc91a4bd8774767da | 040e84dd431b7f7969c4877ea8b2b50f45fa89ff | /dataStructures/graphs/cpp/vector_graph/bipartite.cpp | 96c4501c711941691e45e0fd514173797cacba64 | [
"MIT"
] | permissive | bhagatyj/algorithms | e434dffadb11288d0de82f2d5feec5b856df5caa | 5c22367be18ac06a3ee6a2ea98172a03d4a9fde5 | refs/heads/master | 2020-04-12T00:50:02.688819 | 2018-04-06T20:30:51 | 2018-04-06T20:30:51 | 20,621,935 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,571 | cpp | #include <iostream>
#include <map>
#include <set>
#include <vector>
#include "assert.h"
using namespace std;
#define GROUP_A 1
#define GROUP_B 2
int
getOtherGroup( int group ) {
if( group == GROUP_A ) { return GROUP_B; }
if( group == GROUP_B ) { return GROUP_A; }
return -1;
}
bool
isBipartiteDfsVisit( in... | [
"bhagatyj@gmail.com"
] | bhagatyj@gmail.com |
b26678385d61e2567f7fde5fd542f5f1ac4c7836 | 2cd7f4e8e7c1c90aa17c4723af0312b0a6f04be3 | /rideshare/trunk/engine/libcontroller/BipartiteMatchingOptimizer.hpp | e452a989be6ecf416eb5e1a180112f87a4d70852 | [
"Apache-2.0"
] | permissive | lilbikey/RideShare | bd7e6cd046ea49e3a7719bc763ebdfe56b726767 | 6b5ba71ad8bc95a4212462dce2f48280266efa55 | refs/heads/master | 2020-03-29T04:57:01.237522 | 2014-09-13T18:51:43 | 2014-09-13T18:51:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,727 | hpp | #ifndef _BIPARTITE_MATCHING_OPTIMIZER_HPP
#define _BIPARTITE_MATCHING_OPTIMIZER_HPP
#include "Optimizer.hpp"
#include "Solution.hpp"
#include <vector>
namespace optimizer
{
struct Edge{
uint32_t match_id;
uint32_t rider_id;
};
typedef vector<Edge> Edges;
class BipartiteMatchingOptimizer : public Optimizer
{
pub... | [
"yoni.bmesh@gmail.com"
] | yoni.bmesh@gmail.com |
0fcb3e95c23e311295241834aa4a0b71b646abf4 | 60bb67415a192d0c421719de7822c1819d5ba7ac | /blaze/system/Random.h | 2001e79904fc39e902e743765f8fb4a32c2ad02e | [
"BSD-3-Clause"
] | permissive | rtohid/blaze | 48decd51395d912730add9bc0d19e617ecae8624 | 7852d9e22aeb89b907cb878c28d6ca75e5528431 | refs/heads/master | 2020-04-16T16:48:03.915504 | 2018-12-19T20:29:42 | 2018-12-19T20:29:42 | 165,750,036 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,982 | h | //=================================================================================================
/*!
// \file blaze/system/Random.h
// \brief Header file for the random number generator used in the Blaze library
//
// Copyright (C) 2012-2018 Klaus Iglberger - All Rights Reserved
//
// This file is part of the Bl... | [
"klaus.iglberger@gmail.com"
] | klaus.iglberger@gmail.com |
1e54ea5dcab47365f4ecd3d76402ef927514874f | 0d4dc9999121af3e8ac735ec4f1c13972ab3de89 | /hydroags-core.ino | 6d2f86c6c9df4a55f51c28fa056a2b09363196ec | [] | no_license | 215n/hydroAGS-core | d530d14952fa97b1983984893cca334714596438 | e48b30de1705eb6ef3b83d53a63ec568d37ff27f | refs/heads/master | 2021-01-17T15:36:41.595169 | 2016-05-30T14:51:02 | 2016-05-30T14:51:02 | 53,437,617 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 16,421 | ino | //-- hydroags-core
#define HA_VER "0.9.11"
//-- used libraries
#include <EtherCard.h>
#include <tinyFAT.h>
#include <FastLED.h>
#include <Timer.h>
#include <OneWire.h>
#include <DallasTemperature.h>
//-- Schluffi's libraries
#include "Relay.h"
#include "HCSR04.h"
#include "DHT.h"
#include "FC51.h"
#include "Funduino.... | [
"goeran@kelch.it"
] | goeran@kelch.it |
6d65a0abcb80550b64333459b3c32a5fb21ae333 | 2b4dd17b278dee70383b866c9ed0ca8cae3ddd1e | /src/common/OW_StackTrace.hpp | dde298a90871d86f1f820e737635015a744d1b95 | [
"BSD-3-Clause"
] | permissive | murisfurder/openwbem | 165344e13f9b189be3a4b5a8ee65ace2c490d64d | 5c688eefc1f8e35a4b1c58529aae5f114c25c2a8 | refs/heads/master | 2021-01-16T23:00:11.194124 | 2012-09-27T10:59:55 | 2012-09-27T12:36:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,177 | hpp | /*******************************************************************************
* Copyright (C) 2001-2004 Vintela, Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* - Redistributions of sou... | [
"kkaempf@suse.de"
] | kkaempf@suse.de |
424bbaeae8380ef51a82c966b80727402588f09a | 08fae5bd7f16809b84cf6463693732f2308ab4da | /MarketDataAdapters/mytrackproviders/stdafx.h | 47b2d16eae67ed9d59fbc9fdef869311723ac29d | [] | no_license | psallandre/IVRM | a7738c31534e1bbff32ded5cfc7330c52b378f19 | 5a674d10caba23b126e9bcea982dee30eee72ee1 | refs/heads/master | 2021-01-21T03:22:33.658311 | 2014-09-24T11:47:10 | 2014-09-24T11:47:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,802 | h | // stdafx.h : include file for standard system include files,
// or project specific include files that are used frequently,
// but are changed infrequently
#if !defined(AFX_STDAFX_H__B86F0A60_42ED_41F9_AB72_0B65718F200F__INCLUDED_)
#define AFX_STDAFX_H__B86F0A60_42ED_41F9_AB72_0B65718F200F__INCLUDED_
#if _... | [
"alex2172@gmail.com"
] | alex2172@gmail.com |
2d4c4b5360c831f1e629a2f3da99edaadcc1ee9e | f888e1f7bd0735c6f0158a4c7dc0d0726b660272 | /Aurora/Systems/EntitySystem/EntitySystem.cpp | df05902bae02e28ce96fcd462024cd0ef29ad780 | [] | no_license | jdduke/RuntimeCompiledCPlusPlus | ad07dc9be6a4fdf33ff92f771f41855175fad4aa | 683fe76af8569e09f627778ef4c767407e573afb | refs/heads/master | 2021-01-18T11:58:27.680014 | 2012-07-02T09:37:13 | 2012-07-02T09:37:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,345 | cpp | //
// Copyright (c) 2010-2011 Matthew Jack and Doug Binks
//
// This software is provided 'as-is', without any express or implied
// warranty. In no event will the authors be held liable for any damages
// arising from the use of this software.
// Permission is granted to anyone to use this software for any purpose,
/... | [
"doug.binks@googlemail.com"
] | doug.binks@googlemail.com |
75996d233ea556487ada769de9e94c54f842bcf5 | df5c61d5939a32986fd52a04e74f2198761016cf | /PT6311_8x8/PT6311B.cpp | eb6507750f4f3204838b2dcba08dff0e3f14d403 | [
"Unlicense"
] | permissive | errere/WuLiao_de_Arduino | 5eb4ecdd122e478eb08d14ef4cb98348e5d818da | 55963e640daffb53e61dbaae2bd9716058ab7f73 | refs/heads/master | 2022-11-25T10:45:55.759103 | 2020-08-04T15:50:30 | 2020-08-04T15:50:30 | 285,026,525 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,710 | cpp | //
//
//
#include "PT6311B.h"
//stby,clk,in,out
PT6311B::PT6311B(uint8_t stby, uint8_t clk, uint8_t din, uint8_t dout)
{
this->stby = stby;
this->clk = clk;
this->din = din;
this->dout = dout;
pinMode(stby, OUTPUT);
pinMode(clk, OUTPUT);
pinMode(din, OUTPUT);//mcu->lcd
pinMode(dout, INPUT);//lcd->mcu
dig... | [
"2294396441@qq.com"
] | 2294396441@qq.com |
b7df16ca46735ec7aa3fd69a91ac9383db8149c8 | 45c8e3f7a294c60d830e5b5dcabf8e05c00ff0d3 | /Src/KDramaPlayer.cpp | b26eac141f7bcb70c4e2f74e8ea2bc881a55fbc9 | [] | no_license | zhengguo07q/GameWorld | 14fadd3ca56d0f8367acd13e9a02c3eebc9ce682 | 4c980edebdaa2a1d5d6949e7114b81bd66da152d | refs/heads/master | 2021-01-25T08:43:21.285513 | 2018-03-19T07:55:23 | 2018-03-19T07:55:23 | 40,157,367 | 3 | 0 | null | null | null | null | GB18030 | C++ | false | false | 4,539 | cpp | #include "stdafx.h"
#include "KDramaPlayer.h"
#include "KSO3World.h"
#include "KScene.h"
#include "KPlayerServer.h"
KDramaPlayer::KDramaPlayer()
{
m_pDramaFrameInfo = NULL;
m_nNextFrame = 0;
m_dwScriptID = 0;
m_pScene = NULL;
m_nLoop = 0;
m_bPause = false;
m_nDramaNumber = 0;
... | [
"85938406@qq.com"
] | 85938406@qq.com |
2b160a1ab692dce8d5cba94a10a05ab8f9aead63 | dc510017cd0dd1ed3b2633ae9bc883df25718e2a | /applications/DisPlugin/CppUtils/DIS/PacketFactory.cpp | b531e2ac3aa397798ce7e8fbd57c82acc26371be | [] | no_license | Dukeboys/open-dis | eeb4144075a825f36fdc993c4ce49947052866b0 | f9a2087e269012bdfa0c3cad32025d8f8aa1b621 | refs/heads/master | 2020-12-07T00:50:25.932151 | 2013-08-07T02:41:32 | 2013-08-07T02:41:32 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 526 | cpp | #include <DIS/PacketFactory.h>
#include <DIS/Pdu.h>
#include <cstdlib>
using namespace DIS;
Pdu* PacketFactory::CreatePacket(unsigned char id)
{
FunctionMap::iterator iter =_fMap.find( id );
if( iter != _fMap.end() )
{
return (iter->second)();
}
return NULL;
}
void PacketFactor... | [
"mcgredo@1da32bc5-2e4a-4c7f-92e1-9780f3f753aa"
] | mcgredo@1da32bc5-2e4a-4c7f-92e1-9780f3f753aa |
e97ad3cfdb85d692845a26791e63dee263bea1f1 | 220ab14e8734e24793aef43b772f6599aad35dff | /Fusion/pp-array-to-map.cxx | b02357d2be0646ddf8b06dcf8119091f38c5f36f | [] | no_license | suryakiran/CodeSamples | 1ab93ae76d6d473fdf72b2ba663b4a43d382fbec | f2e18e8fa7611bca25f92fbd167a6a5a97b66a55 | refs/heads/master | 2016-09-15T13:57:35.113621 | 2016-02-07T15:54:55 | 2016-02-07T15:54:55 | 828,790 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 199 | cxx | #include <std.hxx>
#include <boost/preprocessor.hpp>
#include <boost/fusion/container.hpp>
int main (void)
{
cout << "=============== PP Array To Fusion Map ================" << endl ;
}
| [
"suryagullapalli@a1ae422f-012c-4595-b219-9b566b4fa53f"
] | suryagullapalli@a1ae422f-012c-4595-b219-9b566b4fa53f |
39c0b28fd9caa7352da50fd1cb54251b4e2d989e | 7c7ae1db92779a81b8e1166a96ae32c268be7270 | /teensy/firmware/lib/kinematics/Kinematics.h | df7dc5ba49aaef239c81c0acc433c944d1400e1a | [
"BSD-2-Clause"
] | permissive | ROS-education/linorobot | e47ed9e3e96638db1f3e050cd51fbdf5021113a9 | f4dfc24169f985eb8b461d7423bf47757e3c14d1 | refs/heads/master | 2020-03-23T07:07:33.190013 | 2018-07-20T23:54:03 | 2018-07-20T23:54:03 | 141,249,975 | 2 | 1 | BSD-2-Clause | 2018-07-17T07:35:15 | 2018-07-17T07:35:14 | null | UTF-8 | C++ | false | false | 3,094 | h | /*
Copyright (c) 2016, Juan Jimeno
Source: http://research.ijcaonline.org/volume113/number3/pxc3901586.pdf
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 ... | [
"jimenojmm@gmail.com"
] | jimenojmm@gmail.com |
ab2e952993100c2bb86fac7458e6dcf1802a746c | 1d38af29d9f22317a3fe0e84a2c67f1e5ae3068b | /PA06/include/shader.h | 0fc4372de8ee624f11a47b2e99e21109c5ebe000 | [] | no_license | pateldeev/cs480_Fall18 | c091776d6dfa39dace3797adbd228fddcd398307 | b01b03167cfb2ea727c23eb5f27452b46f3f5ce2 | refs/heads/master | 2020-03-27T09:21:39.596247 | 2018-12-17T06:09:01 | 2018-12-17T06:09:01 | 146,333,628 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 671 | h | #ifndef SHADER_H
#define SHADER_H
#include "graphics_headers.h"
#include <string>
#include <vector>
class Shader {
public:
Shader(void);
~Shader(void);
bool Initialize(void);
void Enable(void);
bool AddShader(const GLenum ShaderType);
bool Finalize(void);
GLint GetUniformLocation(const char * pUniformName) c... | [
"pateldeev@nevada.unr.edu"
] | pateldeev@nevada.unr.edu |
ed2570a7acfcff6de53b298344eba717b77447fe | 6b40e9dccf2edc767c44df3acd9b626fcd586b4d | /NT/enduser/netmeeting/core/video.cpp | 29d39969e33033c6fb41db702c4a5f4aabd682c1 | [] | no_license | jjzhang166/WinNT5_src_20201004 | 712894fcf94fb82c49e5cd09d719da00740e0436 | b2db264153b80fbb91ef5fc9f57b387e223dbfc2 | refs/heads/Win2K3 | 2023-08-12T01:31:59.670176 | 2021-10-14T15:14:37 | 2021-10-14T15:14:37 | 586,134,273 | 1 | 0 | null | 2023-01-07T03:47:45 | 2023-01-07T03:47:44 | null | UTF-8 | C++ | false | false | 31,963 | cpp | /****************************************************************************
*
* FILE: Videoui.cpp
*
* CREATED: Mark MacLin (MMacLin) 10-17-96
*
* CONTENTS: CVideo object
*
****************************************************************************/
// File: VideoUI.cpp
#include "precomp.h"
#inc... | [
"seta7D5@protonmail.com"
] | seta7D5@protonmail.com |
3a115d719bba44b2141eb4b6fdd87b43542b4b1a | 806e0f5879e598c2171d4a7b9745a4ab625e4278 | /junk/indigologger.h | 4bdcb826a14503e2052b2d5b7e3a2ee302ccfccb | [] | no_license | koolkhel/bus-qt | 28a125028dd71f3c62c7799330e65f664e041a39 | c12f8b136ba74159262a68f5b2ff3545e6f247b5 | refs/heads/master | 2021-08-16T20:30:24.540389 | 2017-11-20T09:14:10 | 2017-11-20T09:14:10 | 111,388,949 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,206 | h | #ifndef INDIGOLOGGER_H
#define INDIGOLOGGER_H
#include <QtNetwork/QUdpSocket>
#include <QtNetwork/QTcpServer>
#include <QLoggingCategory>
#include <QDebug>
Q_DECLARE_LOGGING_CATEGORY(GPS)
Q_DECLARE_LOGGING_CATEGORY(GSM)
Q_DECLARE_LOGGING_CATEGORY(ZMQ)
Q_DECLARE_LOGGING_CATEGORY(LOG)
class IndigoLogger;
extern Indig... | [
"koolkhel@mail.ru"
] | koolkhel@mail.ru |
58818f6284d1caad80ca9db93121d30f4d8021a8 | a1fbf16243026331187b6df903ed4f69e5e8c110 | /cs/engine/utils/xrAI/builder_allocator_constructor.h | 85a494a9f25852dce5b59b273c268316845b8fc2 | [
"LicenseRef-scancode-warranty-disclaimer",
"BSD-2-Clause"
] | permissive | OpenXRay/xray-15 | ca0031cf1893616e0c9795c670d5d9f57ca9beff | 1390dfb08ed20997d7e8c95147ea8e8cb71f5e86 | refs/heads/xd_dev | 2023-07-17T23:42:14.693841 | 2021-09-01T23:25:34 | 2021-09-01T23:25:34 | 23,224,089 | 64 | 23 | NOASSERTION | 2019-04-03T17:50:18 | 2014-08-22T12:09:41 | C++ | UTF-8 | C++ | false | false | 1,288 | h | ////////////////////////////////////////////////////////////////////////////
// Module : builder_allocator_constructor.h
// Created : 21.03.2002
// Modified : 28.02.2004
// Author : Dmitriy Iassenev
// Description : Builder allocator constructor
////////////////////////////////////////////////////////////////////... | [
"paul-kv@yandex.ru"
] | paul-kv@yandex.ru |
4b0bf56b599875805efaebd89ae239f14c197676 | 9678f45d262f11bc0e4c814f73e3210cce592c8c | /src/RSys/Interface/RUsageWidget.cc | 057dfa7450d87e62c2afab72afdc3c68563d3eba | [] | no_license | tuxmark5/RSys | 9aaa210fd780a01c2b973321beec85089c801773 | a92a8645e76eab4ac53beedb22f5e8428393db60 | refs/heads/master | 2021-01-23T22:07:09.246031 | 2011-12-27T22:35:08 | 2011-12-27T22:35:08 | 2,438,907 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 8,239 | cc | #include <QtGui/QAction>
#include <QtGui/QLabel>
#include <QtGui/QMenu>
#include <QtGui/QPushButton>
#include <QtGui/QStackedLayout>
#include <RSys/Core/RData.hh>
#include <RSys/Core/RUnit.hh>
#include <RSys/Interface/RChart.hh>
#include <RSys/Interface/RResultsModel.hh>
#include <RSys/Interface/RTableView.hh>
#include... | [
"tuxmarkv@gmail.com"
] | tuxmarkv@gmail.com |
9fb5a740f01f5d5209cf4a0f1da9d58fb0f10031 | 786a89a4bd31e0a5953094c7880021cc98f78f98 | /library/graph/bipartite_graph.cpp | ad5883817acf038f85555bd7992e761c865cfa6c | [] | no_license | enjoy82/atcodersyozin | c12eb9cc04e61cedcdc13643b84e8c87c13ff4b1 | c8a73577d1d75db2d5c22eab028f942f75f2fba7 | refs/heads/master | 2022-10-04T04:47:16.835712 | 2022-09-30T07:15:47 | 2022-09-30T07:15:47 | 243,669,940 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 354 | cpp | using Graph = vector<vector<ll>>;
int colors[100005];
bool is_bipartite_graph(const Graph &graph, int v, int c) {
colors[v] = c;
for (int u: graph[v]) {
if (colors[u] == c) {
return false;
}
if (colors[u] == 0 && !is_bipartite_graph(graph, u, -c)) {
return false;
... | [
"naoya990506@gmail.com"
] | naoya990506@gmail.com |
10a241cb1725f8bae0b3b87aba4f759cfbc44d19 | d0fb46aecc3b69983e7f6244331a81dff42d9595 | /ccc/src/model/ListInstancesOfUserRequest.cc | af88d650eae3d5436d826406f1a8930525ebf669 | [
"Apache-2.0"
] | permissive | aliyun/aliyun-openapi-cpp-sdk | 3d8d051d44ad00753a429817dd03957614c0c66a | e862bd03c844bcb7ccaa90571bceaa2802c7f135 | refs/heads/master | 2023-08-29T11:54:00.525102 | 2023-08-29T03:32:48 | 2023-08-29T03:32:48 | 115,379,460 | 104 | 82 | NOASSERTION | 2023-09-14T06:13:33 | 2017-12-26T02:53:27 | C++ | UTF-8 | C++ | false | false | 1,493 | cc | /*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by... | [
"sdk-team@alibabacloud.com"
] | sdk-team@alibabacloud.com |
4a80c79632a4d69659d56d37f8073bbac26727e9 | 45ca9b71a5242a9b71d510eb1a0c34c3d1dd4816 | /hw/hw5/p1/testHexagon.cpp | a88bd6b67d6c6ee4e75c3dbf7fc986d09cab9910 | [] | no_license | DengYiping/Jacobs-OOP | de3a7a6a5c240ab2f9cd9fe70056ff6c3dfd8862 | 49676a1b7e46c4544ad979bbe792d48a60828fc3 | refs/heads/master | 2021-03-22T01:05:48.841220 | 2017-11-01T17:08:21 | 2017-11-01T17:08:21 | 105,886,447 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 723 | cpp | #include <iostream>
#include "Shapes.h"
#include <string>
int main(int argc, char** argv){
Hexagon red_hex(2, RED);
Hexagon yellow_hex(10, YELLOW);
Hexagon copied(yellow_hex);
std::cout << "red hexagon:" << std::endl;
std::cout << "area: " << red_hex.area() << std::endl;
std::cout << "perimeter... | [
"yiping.deng.98@gmail.com"
] | yiping.deng.98@gmail.com |
aa224a874a3e82b1854f3a2051188a92d2b9f4eb | 83d9d024ee6015978e65612593de6cc682cf585a | /src/qt/bitcoinunits.h | 07a50469bc872e900818845f7058174b1a597c65 | [
"MIT"
] | permissive | waggoxpay/waggox | ba0ceba1d8830782b1ad9b758d0ba12325caa104 | d301ef289238510bc46ea2429bc25af0d1c616d7 | refs/heads/master | 2020-04-22T06:16:50.316701 | 2019-02-12T18:24:41 | 2019-02-12T18:24:41 | 163,040,649 | 0 | 0 | MIT | 2019-02-11T13:21:11 | 2018-12-25T03:03:16 | C++ | UTF-8 | C++ | false | false | 4,546 | h | // Copyright (c) 2011-2015 The Bitcoin Core developers
// Copyright (c) 2014-2017 The Waggox Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef BITCOIN_QT_BITCOINUNITS_H
#define BITCOIN_QT_BITCOINUNITS_H
#i... | [
"txchange8@gmail.com"
] | txchange8@gmail.com |
438a2a5bd50e597128e1c461788f1659bac5c548 | fa2c619d4e6d5d6f08b23c6cbb012a2cdf82b706 | /cocos3d/Engine/libcocos3d/Meshes/CC3SkinMeshNode.h | 1393d08bedaf28e7a68acd44836d2df9c5f8f194 | [] | no_license | playbar/cocos3d-x | 12fc3c85eb02b6db59e2be0cb4b26ec98a5f32f8 | 7891a59aad45314ccdad10736903dc0d0bc49450 | refs/heads/master | 2021-05-31T13:57:55.832920 | 2016-05-31T12:00:35 | 2016-05-31T12:00:35 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,183 | h | /*
* Cocos3D-X 1.0.0
* Author: Bill Hollings
* Copyright (c) 2010-2014 The Brenwill Workshop Ltd. All rights reserved.
* http://www.brenwill.com
*
* Copyright (c) 2014-2015 Jason Wong
* http://www.cocos3dx.org/
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software... | [
"michaelgamedev@sina.cn"
] | michaelgamedev@sina.cn |
dfa885e43c76f909b53af7a59922d1d482ed8a29 | f3e0a99d123c62d32031a44b6f0e2378f052c2ff | /AdjustLight/opencvutility.h | 6a5fdcd6968a801fc7d279dabf8ec30170140ffe | [] | no_license | mhcchang/DrugDetector | 0a2dba7f4e1b5bbf3d2ddae5c0104528a1a9b6fe | 84f792e5157a9342c582e9baa91d284d748b39c5 | refs/heads/master | 2023-08-05T10:05:35.572338 | 2017-09-21T10:07:20 | 2017-09-21T10:07:20 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,579 | h | /*******************************************************************
**
** Copyright:万孚生物
** Author: wwl
** Date:2017-07-17
** Description: opencv操作摄像头,实现录像、拍照功能
** ----------------------------------------------------------
** History:
** 1.Author:
**---------------------------------------------------------... | [
"china_larry@163.com"
] | china_larry@163.com |
6be5fdd820ec24fe4cc140fab42ae1aa36440495 | 77170cbcd2c87952763f770d50abd2d8b671f9d2 | /aws-cpp-sdk-opsworks/include/aws/opsworks/model/Instance.h | f33075eedf32568777f6d52da889f27db8cfedc3 | [
"JSON",
"MIT",
"Apache-2.0"
] | permissive | bittorrent/aws-sdk-cpp | 795f1cdffb92f6fccb4396d8f885f7bf99829ce7 | 3f84fee22a0f4d5926aadf8d3303ea15a76421fd | refs/heads/master | 2020-12-03T00:41:12.194688 | 2016-03-04T01:41:51 | 2016-03-04T01:41:51 | 53,150,048 | 1 | 1 | null | 2016-03-04T16:43:12 | 2016-03-04T16:43:12 | null | UTF-8 | C++ | false | false | 63,441 | 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" file... | [
"henso@amazon.com"
] | henso@amazon.com |
c91435ee6f9f8c768ccea18bb5cf9cddc4f8c786 | 53ecbcb5c0c9cf9fa1581c7b0341da8252fe019d | /AboutDlg.h | 562dba1e366cf6588785d6bcf062530059333f96 | [
"MIT"
] | permissive | Xangis/QuickTileViewer | 6fae8826ee7441131876c862ea941a556c48caf7 | 90107fb5387f89f3ce2267251d0eb0a9bd245033 | refs/heads/master | 2021-10-08T15:56:49.070582 | 2020-12-15T18:53:43 | 2020-12-15T18:53:43 | 43,783,284 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,281 | h | /************************************************************************/
/* Copyright (c) 2006. D&S Consultants, Inc. All Rights Reserved */
/* Permission to use, copy, modify, and distribute this software and */
/* its documentation for any purpose, without fee and without a signed */
/* licensing agreeme... | [
"="
] | = |
e0a68346bcda720cd28132e95f4baa0e7d0cd101 | 1942a0d16bd48962e72aa21fad8d034fa9521a6c | /aws-cpp-sdk-workspaces/source/model/ComputeType.cpp | 6dbc917c619d59b403261286cc3fb26e49d774d4 | [
"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 | 1,535 | cpp | /*
* 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 |
8526d68546f603243e9a85756ab70bde27bfb588 | e00aa6936df0a03afc1690f87715035bd9edcd59 | /FarNet/FarNetMan/History.h | c6f6def94060a70edaac474470c72d0b289e5ece | [
"BSD-3-Clause"
] | permissive | MinhTranCA/FarNet | d955ab116b1fdd70480814b76c25dc3f31404e05 | 673f89165c614c9f8811d0fc445f52d1bbf8162d | refs/heads/master | 2023-03-10T08:07:53.062898 | 2020-11-14T04:37:27 | 2021-02-11T17:49:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 281 | h |
// FarNet plugin for Far Manager
// Copyright (c) Roman Kuzmin
#pragma once
namespace FarNet
{
ref class History sealed : IHistory
{
public:
virtual array<HistoryInfo^>^ GetHistory(GetHistoryArgs^ args) override;
internal:
static History Instance;
private:
History() {}
};
}
| [
"nightroman@gmail.com"
] | nightroman@gmail.com |
bff9b2b2648d2a57a195ba0fcb36adcdae9f9af8 | 3438e8c139a5833836a91140af412311aebf9e86 | /ui/compositor/layer_animator.cc | 87b852ecf93b2557040aa3e19334af0e5cbacf1c | [
"BSD-3-Clause"
] | permissive | Exstream-OpenSource/Chromium | 345b4336b2fbc1d5609ac5a67dbf361812b84f54 | 718ca933938a85c6d5548c5fad97ea7ca1128751 | refs/heads/master | 2022-12-21T20:07:40.786370 | 2016-10-18T04:53:43 | 2016-10-18T04:53:43 | 71,210,435 | 0 | 2 | BSD-3-Clause | 2022-12-18T12:14:22 | 2016-10-18T04:58:13 | null | UTF-8 | C++ | false | false | 33,204 | 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 "ui/compositor/layer_animator.h"
#include <stddef.h>
#include <memory>
#include "base/logging.h"
#include "base/trace_event/trace_event.h"... | [
"support@opentext.com"
] | support@opentext.com |
66628a30014a66a24d90f65d8c881f601920f620 | c983a7d121aab6765033b92a05b902f6dc210c5b | /src/utils/estimatefinishjobqueue.h | 8769cad19b8a024eca5ee25db47de4a1c53798d1 | [] | no_license | AlvioSim/kentosim | d77ba87a1f6d3effe8790a30124ca8e0471f9955 | faf73a743438052d5d429af30119b8a4f8d5f66f | refs/heads/master | 2016-09-02T04:09:23.509625 | 2015-01-08T13:55:26 | 2015-01-08T13:55:26 | 28,967,899 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,563 | h | #ifndef SIMULATORESTIMATEFINISHJOBQUEUE_H
#define SIMULATORESTIMATEFINISHJOBQUEUE_H
#include <scheduling/job.h>
#include <utils/jobqueue.h>
#include <assert.h>
#include <set>
#define ESTIMATE_FINISH_TIME_JOB_Qt 2
using namespace std;
using std::set;
using namespace Simulator;
namespace Utils {
/**< Comparation ... | [
"francesc.guim@gmail.com"
] | francesc.guim@gmail.com |
828abf2d14bafddee6685973acaf2d4a656c1c74 | f2a0de5e45f06c216bf1955534442f9360f3c04d | /src/SignalAlignToBed.hpp | b43f35caed370d4a43e96f51ddb1c1c4a69dc3ee | [
"MIT"
] | permissive | adbailey4/embed_fast5 | 91e3cce09e9f3daa93eff79ad87295bbef63b2f9 | c9b6d8d819e8e31229b8c1691b6b2dfabc44ad59 | refs/heads/master | 2022-10-07T23:52:14.844791 | 2022-09-09T10:49:48 | 2022-09-09T10:49:48 | 175,866,636 | 2 | 0 | MIT | 2021-09-04T17:41:35 | 2019-03-15T17:45:41 | C++ | UTF-8 | C++ | false | false | 235 | hpp | //
// Created by Andrew Bailey on 2019-07-14.
//
#ifndef EMBED_FAST5_INC_SIGNALALIGN_TO_BED_HPP
#define EMBED_FAST5_INC_SIGNALALIGN_TO_BED_HPP
#endif //EMBED_FAST5_INC_SIGNALALIGN_TO_BED_HPP
int sa2bed_main(int argc, char** argv);
| [
"noreply@github.com"
] | noreply@github.com |
4faaf4bc871e7817f83bf73b18f969fd3af83118 | 2f62cc37370cde53faad681269cbf296ec62f901 | /ifttt.ino | acaa7734e9c43307d4a6621d400ae2dc1ed43fac | [] | no_license | dylanmedlin/SIT210-Task3.2C-ParticleIFTTT | 14d90e4778bd264afb2b82d28db66d2284ca69bf | f2ffdf6819dd6e6019969e104c9f42dd46b77117 | refs/heads/main | 2023-04-17T09:14:37.352656 | 2021-04-15T13:28:14 | 2021-04-15T13:28:14 | 358,265,997 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 627 | ino | int photoresistor = A5;
bool isLight;
void setup() {
pinMode(photoresistor, INPUT);
}
void loop() {
// read light data
int lightValue = analogRead(photoresistor);
// if in sunlight
if (lightValue > 40) {
// if value has changed
if (isLight == false) {
... | [
"noreply@github.com"
] | noreply@github.com |
0c8832586a2aa816d7bb537cc30346101b69ef4f | fcc6b24384b0de413fd2f194bde4f903217b44d6 | /Producer/CProducer.h | 89059a83fb3001162061859d5ac35bd2fac84e3e | [
"Apache-2.0"
] | permissive | ThorstenKuypers/data-streaming | 52b1534cd3c8b4c3a96a4987988c92f21c9839ff | 60cd6a292acdddff5e481f6c4a751db96d3baf9f | refs/heads/master | 2020-03-26T17:26:52.160429 | 2018-08-22T21:15:52 | 2018-08-22T21:15:52 | 145,161,574 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 400 | h | #pragma once
#include <librdkafka/rdkafkacpp.h>
namespace KafkaProducer {
using namespace RdKafka;
class CProducer
{
Conf* _conf;
Producer* _producer;
std::vector<Topic*> _topics;
public:
CProducer() {}
CProducer(std::string brokerList, std::vector<std::string> topics);
~CProducer();
void Produc... | [
"v8judd@gmail.com"
] | v8judd@gmail.com |
69ac4a2ab61c77034a237750459c529e0f4f47b9 | 30451311860126cf1aac9772e0ed2a1007eef879 | /Test/Test/Light.h | 4e30b657f26e9f261890f38c981e7837891d5894 | [] | no_license | jedwardmc/Airplane-Simulator | 8ee11c07994564a69fbdeedcf04ba117e5e26eb4 | 036e16c4f4dbb1521a1f2169b5d76fa5f0ee2bbc | refs/heads/master | 2022-11-26T08:52:15.548972 | 2020-07-31T13:41:18 | 2020-07-31T13:41:18 | 281,626,172 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,149 | h | //
// Light.h
// Assignment
//
// Created by Jasper Fitzgerald-Cherry on 06/11/2018.
// Copyright © 2018 JFC. All rights reserved.
//
#ifndef Light_h
#define Light_h
#include <stdio.h>
#include <math.h>
#ifdef __APPLE__
#include <GLUT/glut.h>
#else
#include <GL/glut.h>
#endif
class MaterialClass {
public:
fl... | [
"noreply@github.com"
] | noreply@github.com |
454a36ca1442ca2aa3a5a36121fe5686a1ae9c51 | fbe60fa0d8e888bfdcf20beb2ef062f0f24fbcbd | /Algorithms/largest-triangle-area.cpp | 464b17d2845c7f1eefe9c04840021a5063ca2b7b | [] | no_license | aman1228/LeetCode | 552e5feff8a67c05ba318efa3a8a2d121ab64636 | 76a3d6878719643cbca59643ff8e697498411498 | refs/heads/master | 2023-04-03T13:27:06.340091 | 2021-04-18T00:15:51 | 2021-04-18T00:20:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,743 | cpp | 812. Largest Triangle Area
https://leetcode.com/problems/largest-triangle-area/
You have a list of points in the plane. Return the area of the largest triangle that can be formed by any 3 of the points.
Example:
Input: points = [[0,0],[0,1],[1,0],[0,2],[2,0]]
Output: 2
Explanation:
The five points are show in the fi... | [
"noreply@github.com"
] | noreply@github.com |
f8879f53d7c28db47c340104d67fda292ccd40d6 | c440d1fb7a5d61dd99ea4613f91056367fefb994 | /stk2gff.cpp | 591b1d89c89596028ead6334407e4a1983835a56 | [] | no_license | wmckerrow/Gene-Structure-Xrate-Grammar | a1cfa4dcf71cc65bda64e33f80d32886bf64d30e | 358a8e3b477438347ba36e90d0129379fd80b415 | refs/heads/master | 2021-01-22T11:11:48.867048 | 2012-02-03T17:31:02 | 2012-02-03T17:31:02 | 2,548,360 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,344 | cpp | #include <iostream>
#include <string>
#include <fstream>
#include <cstdlib>
#include <sstream>
#include <math.h>
using namespace std;
//finds out if a letter is a cds letter
bool iscds(char letter) {
string cdsletters="efghab";
if (cdsletters.find(letter) != string::npos) {
return 1;
}
else {
return 0;
}
}
/... | [
"willmckerrow@gmail.com"
] | willmckerrow@gmail.com |
0d74caadf7b51e423ced2001d9a13dd1383f95d5 | fc5e23731a1b06d1f0f1607fdb339a8a5acacbab | /lab15.cpp | 3c672da772d8042f12e45fae9840cfa4318fa0fc | [] | no_license | danno200/school-projects | 77813a93c9effc5f7f99ff7e2277af3ecb3f2be4 | 63a99309a5b573a9c258ddddd3f218fea27da151 | refs/heads/master | 2021-01-20T02:25:18.768465 | 2017-04-25T20:37:00 | 2017-04-25T20:37:00 | 89,404,232 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,032 | cpp | #include <iostream>
#include <fstream>
using namespace std;
struct node
{
int data;
node *next;
};
bool isEmpty(node *head);
void insertAsFirstElement(node *&head, node *&last, int number);
void insert(node *&head, node *&last, int data);
void remove(node *&head, node *&last);
void showList(node... | [
"noreply@github.com"
] | noreply@github.com |
ec9a381a77662e59557985d00e69e506dd1553a3 | d7b7dcec797f3294b1de671d1f84e354c93a1308 | /physx/source/geomutils/src/intersection/GuIntersectionTriangleTriangle.cpp | b139b8446f3f1c4a831845e2744cfb0cc0c61ed7 | [
"BSD-3-Clause"
] | permissive | NVIDIA-Omniverse/PhysX | c93ed4287a57d51fda56798b5fae8aaa65cdfa13 | e8c8deb2d548dc635db4f61083ea0e745c0102a0 | refs/heads/main | 2023-08-16T14:46:51.919670 | 2023-07-25T17:22:31 | 2023-07-25T17:22:31 | 545,381,143 | 1,814 | 216 | BSD-3-Clause | 2023-08-28T19:47:10 | 2022-10-04T09:07:32 | C++ | UTF-8 | C++ | false | false | 5,115 | cpp | // Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions
// are met:
// * Redistributions of source code must retain the above copyright
// notice, this list of conditions and the following disclaimer.
// * Redistributions in binary... | [
"preist@nvidia.com"
] | preist@nvidia.com |
89fef4eedbe79edd56db01cb075b962224ac2dfa | 5b2dc3a00b93dee9bf2cac8196bae44e7910ae81 | /01-GeekBand算法原理与实践/cpp/sequentialSearch.cpp | 91045a2c58ac244844a45891b1e35331526eabb6 | [] | no_license | congmei86/leetcode | 2216b757ff16c0506008176afbb5815230650a77 | 329306c5463efb56000fbd9cd1f3976cde2017fe | refs/heads/main | 2023-05-13T02:49:07.608801 | 2021-06-07T12:25:08 | 2021-06-07T12:25:08 | 376,035,864 | 2 | 0 | null | 2021-06-11T13:34:30 | 2021-06-11T13:34:29 | null | UTF-8 | C++ | false | false | 411 | cpp | /**
* @file sequentialSearch.cpp
* @brief
* @author DuYong
* @date 2021-03-11
*/
template <typename T>
int sequentialSearch(std::vector<T>& vec, T key)
{
T tmp = vec[vec.size() - 1];
vec[vec.size() - 1] = key;
int i = 0;
while (vec[i] != key) {
i++;
}
vec[vec.size() - 1] =... | [
"51398959+duycc@users.noreply.github.com"
] | 51398959+duycc@users.noreply.github.com |
91ac3004361b2fb6b8c5a643ca8d246883edc9f8 | 3b48ab831c347c01e2b765c8b3d0cf01c216ea2a | /src/R_API.cpp | 5d723a6e8d7348c3f48523e8d0945751bf1ad7e3 | [] | no_license | agartland/flowWorkspace | 40206a3c57391e98800fe7aa39e6fc5452b6a4fb | e02c3db8f181794b5771b6e675f48587fe24a556 | refs/heads/trunk | 2020-04-06T05:30:03.852559 | 2016-03-29T18:30:35 | 2016-03-29T18:30:35 | 54,089,735 | 0 | 0 | null | 2016-03-17T04:56:59 | 2016-03-17T04:56:56 | R | UTF-8 | C++ | false | false | 7,052 | cpp | /*
*
*
* some C++ routines to be invoked by R for the faster R APIs
*
* Created on: Aug 18, 2014
* Author: wjiang2
*/
#include "include/GatingSet.hpp"
//[[Rcpp::plugins(temp)]]
//' grab vectors of pop counts and the parent counts along with their paths and FCS filenames
//'
//' This speeds up the process... | [
"wjiang2@fhcrc.org"
] | wjiang2@fhcrc.org |
d738d7eb57d48d1ec01e2ddaf84bef8c4dfea428 | 01f49fd636a5d0e49c01024ae5ad526e0be5212b | /source/small/detail/traits/is_pair.h | c8eebe9a4f6fe88154a9e496b2a080444d0a4053 | [
"MIT"
] | permissive | Penghmed/small | b19489192c5054badbc1b8819f153dc01116accb | afcf3f03166edc6c328ef6090d915006fa09c3af | refs/heads/master | 2023-08-01T16:11:56.439705 | 2021-09-25T00:19:14 | 2021-09-25T00:19:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 439 | h | //
// Created by Alan Freitas on 9/7/21.
//
#ifndef SMALL_IS_PAIR_H
#define SMALL_IS_PAIR_H
#include <type_traits>
namespace small {
/// Check if type is a pair
template <typename> struct is_pair : std::false_type {};
template <typename T, typename U> struct is_pair<std::pair<T, U>> : std::true_type {};... | [
"alandefreitas@gmail.com"
] | alandefreitas@gmail.com |
1af2c16c2e194c3de04d930349b1260ea21ff9a4 | f0f86851987711a6f96b40b7f31589b7b3c03d7f | /src/GravitechLoraCAT_SmokeDetector/CommandController.cpp | 92bf22ea3c3d70765d8399ffebce75cc6ec1d5ab | [] | no_license | choonewza/demo-GravitechLoraCAT_SmokeDetector | 96c04c76828e5b63f07148e3b77678f2de5ce5e3 | 3aa7fa5fec26fdb8075a2c994ded331c75ec0365 | refs/heads/master | 2020-12-24T04:45:32.468646 | 2020-01-31T08:10:52 | 2020-01-31T08:10:52 | 237,386,524 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 17,881 | cpp | #include "CommandController.h"
CommandController::~CommandController() {
}
CommandController::CommandController(DS3231* clock, GSensorForFloat* tHTS221, GSensorForFloat* hHTS221, MQ2Sensor* gas) {
this->clock = clock;
this->tHTS221 = tHTS221;
this->hHTS221 = hHTS221;
this->gas = gas;
}
void CommandContr... | [
"choonewza@gmail.com"
] | choonewza@gmail.com |
f763045166d5ce49d073fcebf81bc4f25438ffde | 1f58e435ef17ff7c25f18afe58188563b0e25916 | /0128 LongestConsecutiveSequence/main.cpp | 20e67b1d144de9d1b19a0adbd58ebc0f7c3f2447 | [] | no_license | Kerisa/LeetCode-OJ | 14371cd5e830f93820584fa57b723b69ab6e05af | d1e5b8d2641de08712489524e01fe5a6ff3eab90 | refs/heads/master | 2022-02-08T00:00:08.847818 | 2018-11-25T16:10:19 | 2018-11-25T16:10:19 | 88,337,009 | 0 | 0 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 1,173 | cpp | /*
* By : Alisa
* Date : 15-08-12
*
* Given an unsorted array of integers, find the length of the longest consecutive elements sequence.
* For example,
* Given [100, 4, 200, 1, 3, 2],
* The longest consecutive elements sequence is [1, 2, 3, 4]. Return its length: 4.
* Your algorithm should run in O(n) compl... | [
"segistration@gmail.com"
] | segistration@gmail.com |
5230655b97dfd213732bbf4eac2dd56c6835ddb2 | f6a0e8fbb3e7edd7ee325dc8e9a414faac5af81f | /b_transport_1/Interconnect_1.h | 499f66a449e596bff0ccba0165281832a1956d0e | [] | no_license | vishal-cst/tlm2.0 | 903af3915600f3c7619b95bfba65d2451d1cd1e9 | 539273a0891891661ae64338e364e610d2299131 | refs/heads/master | 2021-01-18T20:39:26.614952 | 2017-04-02T12:44:44 | 2017-04-02T12:44:44 | 86,983,472 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,503 | h | /**********************************************************************************************************
* How to implement loosely-timed methodology using b_transport callback interface with temporal decoupling*
* ... | [
"vshlptk@gmail.com"
] | vshlptk@gmail.com |
70f505fc691872cfdef4ba53c9539772458b434f | 9317040f571d77e469f655454ef22e79d5593b44 | /Source/Plugins/bsfSL/BsSLImporter.cpp | bfda57255342e380aa9903de1e271861de78ecbd | [
"MIT"
] | permissive | Milerius/bsf | 8ebd40fd9f0c9b7c65ca2b1b52808cb9f2fefb6b | 8715b344d6b7893f64fd5dccaaf10603a27c7a15 | refs/heads/master | 2020-03-29T13:53:47.242383 | 2019-04-06T17:24:12 | 2019-04-06T17:24:12 | 149,987,589 | 0 | 0 | MIT | 2019-04-06T16:57:14 | 2018-09-23T13:35:55 | C++ | UTF-8 | C++ | false | false | 1,972 | cpp | //************************************ bs::framework - Copyright 2018 Marko Pintera **************************************//
//*********** Licensed under the MIT license. See LICENSE.md for full terms. This notice is not to be removed. ***********//
#include "BsSLImporter.h"
#include "FileSystem/BsDataStream.h"
#includ... | [
"bearishsun@gmail.com"
] | bearishsun@gmail.com |
d960941aee37813de1bec56a08fc227d5b30086b | c3392950e9a869c89cfe060afe77626d9000d35b | /Logging/imu_fusion.cpp | 56479a947e4bec97389cacc361d60a463a18b127 | [] | no_license | tyu91/mldeadreckoning | 273ab91911e1fe56c42d3523ff7318993f9a5246 | c09c28879551c1ed532ef142ef23182482ecfe24 | refs/heads/main | 2023-02-12T20:27:20.054884 | 2021-01-07T05:55:10 | 2021-01-07T05:55:10 | 313,695,926 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,812 | cpp | #include "icm20948.h"
#include "imu_fusion.h"
#include <stdlib.h>
#include <stdio.h>
#include <math.h>
#include "MadgwickAHRS.h"
#include <thread>
#include <chrono>
#define DEG_RAD 57.2957795131f
extern volatile float q0, q1, q2, q3;
float rx, ry, rz;
accel_gyro_data data;
void update_euler();
void update_imu();
... | [
"mbankole@andrew.cmu.edu"
] | mbankole@andrew.cmu.edu |
38603189c3002cd45663ce61022dfd632ff3be37 | ad5b72656f0da99443003984c1e646cb6b3e67ea | /src/core/shape_inference/include/rdft_shape_inference.hpp | 174f77fbed0a930581d6a9df92c01902cb506f58 | [
"Apache-2.0"
] | permissive | novakale/openvino | 9dfc89f2bc7ee0c9b4d899b4086d262f9205c4ae | 544c1acd2be086c35e9f84a7b4359439515a0892 | refs/heads/master | 2022-12-31T08:04:48.124183 | 2022-12-16T09:05:34 | 2022-12-16T09:05:34 | 569,671,261 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,995 | hpp | // Copyright (C) 2018-2022 Intel Corporation
// SPDX-License-Identifier: Apache-2.0
//
#pragma once
#include <openvino/op/rdft.hpp>
#include "openvino/core/axis_vector.hpp"
#include "rfft_common_validation.hpp"
#include "utils.hpp"
namespace ov {
namespace op {
namespace util {
template <typename B>
B get_ouput_dimen... | [
"noreply@github.com"
] | noreply@github.com |
57dd87d0b1f3579052f4828af7d0764cdf6e5946 | 79e713886872eba5931ec152197708f36cc58ed9 | /InfraellySockets.hpp | 63a302484896c9d768eb0761dfa6c82f7e4ebab7 | [] | no_license | hoodwolf/Infraelly | 1f1be6a8dde0af8bbe79aea8c730fca827c10974 | 08f295c60bffd2684b74fab0d91dd9a51982e261 | refs/heads/master | 2021-01-18T03:00:01.253623 | 2013-04-30T01:13:51 | 2013-04-30T01:13:51 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,926 | hpp | /*-----------------------------------------------------------------------------\
| ____ |
| __ / __ \ /\ /\ |
| /_/ / / \/ / / / / ... | [
"vikingdude394@yahoo.com"
] | vikingdude394@yahoo.com |
7afd842968e3224d41da8aef7958566478394b64 | 44e2a537ca3472fc3b00a3edd4c22e07e859e40e | /components/viz/service/display_embedder/skia_output_device_buffer_queue.h | 2f39800552e37ddbbe0b5d47d284513223fae65c | [
"BSD-3-Clause"
] | permissive | JACB920/chromium | cd6f836f5dbc6b44f4c7836a33ffbbcc8270f4bb | c8af0e6f42e95a02af31801aa386f4feaedb2b46 | refs/heads/master | 2023-02-26T20:36:17.814303 | 2020-01-15T22:11:38 | 2020-01-15T22:11:38 | 234,184,746 | 1 | 0 | null | 2020-01-15T22:18:50 | 2020-01-15T22:18:49 | null | UTF-8 | C++ | false | false | 4,945 | h | // Copyright 2019 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef COMPONENTS_VIZ_SERVICE_DISPLAY_EMBEDDER_SKIA_OUTPUT_DEVICE_BUFFER_QUEUE_H_
#define COMPONENTS_VIZ_SERVICE_DISPLAY_EMBEDDER_SKIA_OUTPUT_DEVICE_BUFF... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
498f9081a302d14c1f7d8880796d98b5bf95acd6 | 7b6935ce633d8df97ac45fad0cc5b388bedf3a03 | /Graph/MST/Kruskal/lightoj.1123.cpp | 7ba633f12457a40b35d8c99dfbacf20dc86dde4a | [] | no_license | rakib-ruet-13/Algorithms-and-Codes | 8f422dc5bf0a58ae699acb42d8a1ded6e250fd7d | 83a4e4d6580cd270d0b3a45ca188f8cbf8f62234 | refs/heads/master | 2020-04-25T01:09:29.894413 | 2019-02-24T22:47:34 | 2019-02-24T22:47:34 | 172,400,148 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,150 | cpp | #include<iostream>
#include<bits/stdc++.h>
#define rep(i,a,b) for(int i=a; i<=b; i++)
#define pb(x) push_back(x)
#define mod (1e9+7)ll
#define pi acos(-1.0000)
#define pii pair<long long,long long>
#define VI vector<long long>
#define CLEAR(a) memset(a,0,sizeof(a))
#define ALL(x) (x.begin(),x.end())
#define pis pair<i... | [
"ruet.rakib.cse13@gmail.com"
] | ruet.rakib.cse13@gmail.com |
5b6ecbc0c8e570e82e73238c085bfb33d337da78 | aa64dea5b57c628cd216e4a2919d0a4bb77ad0ce | /Engine/Physics/ContactListener.h | 4a2fb272a8a93aceee21edcae29ac9c573e1dfab | [] | no_license | SebCushman/IntroSoftwareProjects | 008dad5eba13ba08ec3fd8d4a85289e18b076214 | d3a7305745d7fa8e33f6e48645ffd44fa42eaf12 | refs/heads/master | 2023-01-22T19:47:59.626347 | 2020-11-30T15:30:17 | 2020-11-30T15:30:17 | 312,954,020 | 0 | 0 | null | 2020-11-27T20:26:02 | 2020-11-15T03:59:28 | C | UTF-8 | C++ | false | false | 218 | h | #pragma once
#include "box2d/box2d.h"
namespace nc {
class ContactListener : public b2ContactListener {
public:
void BeginContact(b2Contact* contact) override;
void EndContact(b2Contact* contact) override;
};
} | [
"61478231+SebCushman@users.noreply.github.com"
] | 61478231+SebCushman@users.noreply.github.com |
946c46566a6af573fd86e3c9627039fa04068811 | 11a5c93ce7ced7ead6c8d2ba9f800c3b279ee00e | /GLTF/BMFile/TessellationCylinder20180517.cpp | f08d9ed7fb00c6761f094644a34b8a92a1f0d3c9 | [] | no_license | hupech/MyBMConvert | 563c6e3c14f54e52c626deeb012d8ac6e8174920 | 8acb45991c37796d48e67affaab2a46e774b29ee | refs/heads/master | 2021-09-18T18:21:02.667847 | 2018-07-18T06:49:57 | 2018-07-18T06:49:57 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 10,488 | cpp | #include "stdafx.h"
#include "TessellationCylinder.h"
//
bool TessellationCylinder::Tessellation(vector<HDPoint>& vCenterPoints, vector<float>& vRadius, int tesselationNum/* = 6*/)
{
size_t numPt = vCenterPoints.size();
size_t numRa = vRadius.size();
if (numPt < 2 || numRa == 0) return false;
//确保vRadius 中半径个数与 vCe... | [
"jiaguobing@126.com"
] | jiaguobing@126.com |
2bc395974866698810b26b4fd15b8284756c8e33 | bfa6a3339842664fc860740c570bec44ec54604f | /Pade6.hpp | 983fd217a7d38f321bd8ae84789a59c45e9c94c2 | [] | no_license | emathew1/OMP_2DCompact | 73679ecb8adc0a126afde4cccda6048288136beb | 4705d5350d77852e8c3f75b5d382437b6700f047 | refs/heads/master | 2020-07-05T00:09:05.514046 | 2020-01-18T03:58:13 | 2020-01-18T03:58:13 | 202,464,952 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 6,228 | hpp | #ifndef _PADE6H_
#define _PADE6H_
#include <math.h>
#include <cstring>
#include <iostream>
#include "AbstractDerivatives.hpp"
class Pade6: public AbstractDerivatives{
public:
//First Derivative
// Interior Coefficients
double alpha_1D;
double a_1D, b_1D;
//T6 Dirichlet Coefficients w/ T4 ... | [
"emathew1@edwins-mbp.lan"
] | emathew1@edwins-mbp.lan |
30862732ce92a0e0f06cd558aefccbcd69f457e9 | 91a882547e393d4c4946a6c2c99186b5f72122dd | /Source/XPSP1/NT/inetsrv/iis/svcs/staxcore/mailmsg/cthrdapp/parsearg.cpp | 4b57ac01a5ea5a65a897c093e56199392e1784d9 | [] | no_license | IAmAnubhavSaini/cryptoAlgorithm-nt5src | 94f9b46f101b983954ac6e453d0cf8d02aa76fc7 | d9e1cdeec650b9d6d3ce63f9f0abe50dabfaf9e2 | refs/heads/master | 2023-09-02T10:14:14.795579 | 2021-11-20T13:47:06 | 2021-11-20T13:47:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,463 | cpp |
#include <stdio.h>
#include <windows.h>
#include "parsearg.h"
#define BAIL_WITH_ERROR(x) \
{ \
SetParseError((x), szSwitch); \
return(x); \
}
#define RETURN_SUCCESS(x) \
{ \
SetParseError((x), NULL); \
return(x); \
}
CParseArgs::CParseArgs(
char *szAppDescripti... | [
"support@cryptoalgo.cf"
] | support@cryptoalgo.cf |
02ecc5947762030028c8bd80ebfa63a5c24888d6 | 025c43d79a0525f744237503c4a0785538d2c51b | /libsensors/bma150.cpp | 5000c766446e55ee87dbb0e3e9825fc2966d1067 | [] | no_license | liliang2008ll/Android_Native_Service_SHT20Demo | 2f4dc2797e3f5aea3978717a47a97fb4a33183f0 | 608989a74ce3940d2f4a13a4d1e75ba9a65e1a3b | refs/heads/master | 2020-12-30T14:19:18.621267 | 2013-06-16T01:15:49 | 2013-06-16T01:15:49 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,477 | cpp | /*
* Copyright (C) 2008 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | [
"howard.lin@cyess.com"
] | howard.lin@cyess.com |
6406f6116665f1cffae0c94d72034493b8944a2a | 4bcc9806152542ab43fc2cf47c499424f200896c | /tensorflow/lite/core/async/c/async_kernel.cc | e220014954926cb014ac255584403b4556131b3e | [
"Apache-2.0",
"LicenseRef-scancode-generic-cla",
"BSD-2-Clause"
] | permissive | tensorflow/tensorflow | 906276dbafcc70a941026aa5dc50425ef71ee282 | a7f3934a67900720af3d3b15389551483bee50b8 | refs/heads/master | 2023-08-25T04:24:41.611870 | 2023-08-25T04:06:24 | 2023-08-25T04:14:08 | 45,717,250 | 208,740 | 109,943 | Apache-2.0 | 2023-09-14T20:55:50 | 2015-11-07T01:19:20 | C++ | UTF-8 | C++ | false | false | 5,679 | cc | /* Copyright 2023 The TensorFlow Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or a... | [
"gardener@tensorflow.org"
] | gardener@tensorflow.org |
06f108eea359544bb7906f930fbc47e2ef0eeaec | 878b6cdaafb8ee7b106e83034de21d1d064eea64 | /VS2015/code/UDL_Client - switch/include/OpCRC32.h | 3153bb25d963b9e47b3603775b96ba63873b33d4 | [] | no_license | hafoxiaowanzi/DeviceDriverDll | 1724e0821351527e2cd9a5c2ea53e6690db109e1 | 62199f4bd81955fe953ac397a0b91c3621f4fe38 | refs/heads/master | 2022-06-20T10:57:06.871504 | 2020-05-16T09:33:21 | 2020-05-16T09:33:21 | 264,344,166 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 680 | h | // OpCRC32.h: interface for the COpCRC32 class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_OPCRC32_H__1E8A92AC_32AE_429C_9433_5F13B0C55F97__INCLUDED_)
#define AFX_OPCRC32_H__1E8A92AC_32AE_429C_9433_5F13B0C55F97__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_... | [
"hafoxiaowanzi"
] | hafoxiaowanzi |
9b8a975f97b11c322bd7d3823da5b928c9b4568f | e37f0ef98552770d6d60f82c589911d85dcc19e9 | /Codeforces/570.C.cpp | ce67b5ba2147f2f371d662c4d29809f39c2b3db3 | [] | no_license | anand873/CP_Codes | 00c9948810a84d8c9085684f31b75246b1f4ea2c | ec7cd07141512646d96cd247c190924ae9a7e263 | refs/heads/master | 2021-09-09T20:58:51.713079 | 2021-08-30T08:15:13 | 2021-08-30T08:15:13 | 204,478,713 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,305 | cpp | #include <bits/stdc++.h>
using namespace std;
int main()
{
int n,m;
cin>>n>>m;
string s;
cin>>s;
int curr=0;
int con=0;
for(int i=0;i<n;i++)
{
if(s[i]=='.') con++;
else {curr+=max(0,con-1);con=0;}
}
if(con!=0) curr+=con-1;
//cout<<curr<<endl;
while(m--)
{
int in;
char c;
ci... | [
"noreply@github.com"
] | noreply@github.com |
e61a49b9e45b90a543f961d0c8191903743b4554 | 1dd3430a03426851aeba17e7f46937fa4932dbde | /Multithreading/Chapter3/LockRace.cpp | a7a1aa00618ce3a1b436bbd011c8aa40b9776629 | [] | no_license | AndrewMacatangay/Concurrency | 9cfc6f2e478b0586104e235893f9be78c1b35069 | 82d5c167dd892ad0ddbd9450614ccbbe8fa4d0fe | refs/heads/main | 2023-08-03T03:37:11.522714 | 2021-09-20T20:54:59 | 2021-09-20T20:54:59 | 369,027,388 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 835 | cpp | //Since threads will race to acquire a lock, the thread that has been
//constructed first may have a head start to acquiring the lock. To
//give both threads a fair race to the lock, we stall the execution of
//a thread while waiting for all other threads to be constructed. Once
//all threads are ready, we let them rac... | [
"andrewmacatangay5@gmail.com"
] | andrewmacatangay5@gmail.com |
d9672f72e1a29c9d7fc1ed16c363d246f8846665 | 155e12d1b6e8cacd27d8bd773b592876d8cd9829 | /UsualEngineR/Graphics/TextureManager.cpp | e90da49b6fcb1a6c5ecffdecaf3d63aedd84d212 | [] | no_license | kokoasann/UsualEngineR | dd6606f72b719ea1e3d684bde59af90f2a981280 | cf803f96c3520bd485282c680be29f5248737b26 | refs/heads/master | 2023-03-07T12:18:52.795038 | 2021-02-25T17:21:59 | 2021-02-25T17:21:59 | 291,441,353 | 0 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 2,304 | cpp | #include "PreCompile.h"
#include "TextureManager.h"
namespace UER
{
TextureManager::~TextureManager()
{
Release();
}
void TextureManager::Release()
{
for (auto d : m_textureDic)
{
d.second.texture->Release();
}
m_textureDic.clear();
}
ID3D12Resource* TextureManager::Load(const wchar_t* path)
{
... | [
"kokoasann@gmail.com"
] | kokoasann@gmail.com |
5ed0072d410946c1c29a7a8f86834c86d7a5f16e | 6edc7762f23ec36e231ecb5c9847ecd54c26171d | /EmptyGeneralTesting/SPA/StatementNode.cpp | aabc2b05b778ce059655db2bd5c5dbf1b6381810 | [] | no_license | Humberd/ATS-projekt | a1c3b47895065152c42841d6fdb57c6c91c3b646 | 753e5fed7101ea02e2b3545ed6cfe262bd8982b0 | refs/heads/master | 2021-03-22T03:07:27.004755 | 2017-05-29T01:20:24 | 2017-05-29T01:20:24 | 87,347,800 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 241 | cpp | #include "StatementNode.h"
StatementNode::StatementNode(int sourceLineNumber,
RangeNumber* rangeOfRequiredChildNodes) : Node(sourceLineNumber, rangeOfRequiredChildNodes) {
}
StatementNode::~StatementNode() {
}
| [
"sawik11@wp.pl"
] | sawik11@wp.pl |
67e8fb85a8aa24dafe1b3f278636a78028500435 | d2e905d301e6396ff767d0c9585e5161c02e4424 | /CppApplication_2/Manager.h | 8b2dd45991f5fc6e9b928d09d18bf934df26636b | [] | no_license | is108/manager_windows | 27d8317743d36a3e63d8bfe68ff5bc7f8a32db33 | 550d24a94e14ee020635df54cbdfe513ff8339ca | refs/heads/master | 2020-06-09T12:08:39.927234 | 2019-06-24T04:50:02 | 2019-06-24T04:50:02 | 193,435,247 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 423 | h | #ifndef MANAGER_H
#define MANAGER_H
#include <vector>
#include <stack>
#include <memory>
#include "Window.h"
using namespace std;
class Manager {
public:
Manager();
void createWindow();
void createMainWindow();
void deleteWindow();
void setMain(int);
void show();
virtual ~Manager();
priva... | [
"noreply@github.com"
] | noreply@github.com |
1e309bedfe8c6daecb21fea6b147f702781e0cc9 | 70950c7e1a6233c42ae80c79f998761c3eb01024 | /CodeForces/Educational 35 Div 2 B.cpp | 1d6d0dc20bfa3f226758c6ca0244504ba30b298a | [] | no_license | karimelghazouly/CompetitiveProgramming | be54f9cf0f70d131bb44025077eb852539e5c405 | f1e1beb23b1301e154cdec4f12ddaf08b7cfe514 | refs/heads/master | 2021-09-14T00:33:44.856073 | 2018-05-06T17:52:58 | 2018-05-06T17:52:58 | 100,038,836 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 438 | cpp | #include <bits/stdc++.h>
using namespace std;
#define long long ll
int main()
{
ios::sync_with_stdio(false);
cin.tie(0); cout.tie(0);
int n,a,b,ans=INT_MIN,mn;
cin>>n>>a>>b;
for(int i=1;i<n;i++)
{
mn=INT_MAX;
int j=n-i;
mn=min(a/i,b/j);
//cout<<" i = "<<i<<" j = "<... | [
"karimelghazouly@gmail.com"
] | karimelghazouly@gmail.com |
3c7ebd62440e354e4aa611e6aedbd67db3b00a44 | 33394856a8de0e824ec49a3643e387cdbacca0c6 | /SolvedProblems/HDU/1021.cpp | da564b5e6fc672a74b35cd91efa7613341bfe554 | [] | no_license | MoogleAndChocobo/ACM-Learning | caf116d713c24d14af166dac701e7812e495405b | 9a86daf172c3a74aab69f2054f222f51c5939830 | refs/heads/master | 2021-08-10T15:40:43.108255 | 2018-09-14T07:06:04 | 2018-09-14T07:06:04 | 129,596,917 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,108 | cpp | #include<cstdio>
#include<algorithm>
#include<cstring>
#include<string>
#include<queue>
#include<iostream>
#include<vector>
#include<sstream>
#include<map>
#include<set>
#include<cmath>
#include<cctype>
#include<functional>
#include<ctime>
using namespace std;
typedef long long LL;
typedef unsigned long long ULL;
typ... | [
"1728708466@qq.com"
] | 1728708466@qq.com |
3be6bf2859d4fac24ee7f022c02b330a786b29a0 | e4382f8065582006d7d39c5bfc1a61170ffef134 | /Functions/func1.cpp | f0d13ed94c0a0251b86e82150b6237f6823f09d0 | [] | no_license | Sachin-0215/Cpp-File | c27598bf23d870e457dbae812aeee5e8d375c968 | 278b6032a445471a4e908928a0988d9f51d14853 | refs/heads/master | 2023-08-28T12:35:18.664749 | 2021-11-07T13:59:21 | 2021-11-07T13:59:21 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 136 | cpp | #include <iostream>
using namespace std;
void display()
{
cout << "This is Display";
}
int main()
{
display();
return 0;
} | [
"sgupta15120@gmail.com"
] | sgupta15120@gmail.com |
133b57fccbde4961a77242a13f85e75685560891 | ded19e21614e7847cb4141ddefe84d50083ec090 | /learningCenter/ChapterWidget.cpp | f3e169fc34602dc26e1bc25c75948b0b4d8e124c | [] | no_license | weijibin/MyListView | 9b887f5abdd9fe4a72f90b9c4e44472285bac338 | 4f0cd4ec41026d2342d52cab8a040fb31d2fe75f | refs/heads/master | 2020-06-24T12:13:07.558121 | 2019-08-24T11:48:58 | 2019-08-24T11:48:58 | 198,960,141 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 729 | cpp | #include "ChapterWidget.h"
#include "title/ChapterTitle.h"
#include "chapterList/ChapterListWidget.h"
#include <QVBoxLayout>
ChapterWidget::ChapterWidget(QWidget *parent) : QWidget(parent)
{
initUI();
}
void ChapterWidget::initUI()
{
m_title = new ChapterTitle(this);
m_title->setObjectName("chapterTitle"... | [
"1285253265@qq.com"
] | 1285253265@qq.com |
b078801f32ae40800ac13f94b509cd4ffa947955 | 1631e8517b4a9132c8e96dccf02d14169a421288 | /List/list-2.cpp | b0158a81dc15a9ef4d41f552c8b48f807b9e8b50 | [] | no_license | Slavick-Vinnitskyi/first | 67b82c8ac7bf46f1518eb79fe8632c5eed4e61cf | 5a40b28ed96f09fcc102fc21b01e82d71a0a25b7 | refs/heads/master | 2021-01-22T21:23:38.895038 | 2017-04-26T22:51:56 | 2017-04-26T22:51:56 | 85,427,487 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 150 | cpp | #include <iostream>
#include <stdio.h>
#include <string.h>
#include <iomanip>
using namespace std;
int main ()
{
list <int> myList(9,1);
}
| [
"andrey.belyi1@gmail.com"
] | andrey.belyi1@gmail.com |
7dd0498a1fea125e9d63976be80ad2eaab328beb | 9f7a69c5bed51d86c5ad4af07c824e38661ab745 | /1_tree/remove_BST_keys_outside_given_range.cpp | fce9090f126643781b16bcfc7f0fa72399308653 | [] | no_license | umaidansari12/Assignments-H-JHU | 94314df56dbac996002ed635f13f1b45751444b5 | bf6b76b807afe8055e5e1ed9cd576b2a5bda8319 | refs/heads/master | 2023-08-22T05:39:40.987401 | 2021-10-14T09:29:05 | 2021-10-14T09:29:05 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,335 | cpp | /**
* Definition for a binary tree node.
* struct TreeNode {
* int val;
* TreeNode *left;
* TreeNode *right;
* TreeNode() : val(0), left(nullptr), right(nullptr) {}
* TreeNode(int x) : val(x), left(nullptr), right(nullptr) {}
* TreeNode(int x, TreeNode *left, TreeNode *right) : v... | [
"noreply@github.com"
] | noreply@github.com |
0f62413533085c41cc937a0ee4c9b3b41554c78a | 9e49e8f484a996b87bc16c74fe372f48b89c6d41 | /src/Game.hpp | def8868da73d5a01d9b9143c48eaf340a7b57a82 | [] | no_license | terrynoya/UltimateTreta | 82206dc0a1e73dbfec060d3c7fb9620dc1dd80c6 | 941abd8fbe09a0e29e6d35a859550dc56c42d728 | refs/heads/master | 2020-04-28T03:32:54.862693 | 2013-06-27T17:33:56 | 2013-06-27T17:33:56 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 746 | hpp | #ifndef __GAME_HPP__
#define __GAME_HPP__
#include <allegro5/allegro.h>
#include "Title.hpp"
#include "Fight.hpp"
#include "Select.hpp"
class Title;
class Fight;
class Select;
class Game
{
public:
enum {
GAME_STATE_EXIT = 0,
GAME_STATE_TITLE,
GAME_STATE_SELECT,
GAME_STATE_B... | [
"zxmarcos@gmail.com"
] | zxmarcos@gmail.com |
f4efb1b5629988321195b7c717dd024ab56d8555 | b788bf2f8b25dc2e766cf9fdef95655706a9e7c8 | /Chapter2/ex2_2_210814.cpp | e1a93d34073fef181a535c27a26b3513355be466 | [] | no_license | vidarsko/Exercises | 3994d51f847a536a966b631c35f01c3911402674 | 2a362151ff276588960a44aee52f091f82807cc6 | refs/heads/master | 2016-09-05T16:21:05.148373 | 2014-08-28T08:30:29 | 2014-08-28T08:30:29 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 470 | cpp | #include <iostream>
#include <stdlib.h>
using namespace std;
int main(int argc, char *argv[]){
int N = atof(argv[1]);
cout << "The value of N you have entered is "<< N << '\n';
float sum=0, sumr=0;
for (int n=1; n <= N; n++){
sum += 1./n; //The sum from 1 to N
sumr += 1./(N-n+1); // The sum from N to ... | [
"vidarsko@gmail.com"
] | vidarsko@gmail.com |
3d79c62fc641fa12040b4698cd62bdfadf36f219 | 8da5eb54981193d850a7e35439845a6b54326c65 | /VGP336/GameWorldTest/GameWorldApp.cpp | 91e38939fe17938f8dc65a18914b0028cc489d80 | [] | no_license | tstaples/Cat3D | 7eb5cf590798e09a6bdb8bed68bd83fe903d43b8 | 795d3bfce0eb52b36324ffe9de99269bb40a6ec6 | refs/heads/master | 2021-01-15T20:43:48.676483 | 2015-08-14T00:53:56 | 2015-08-14T00:53:56 | 28,846,705 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,559 | cpp | #include "GameWorldApp.h"
#include "Random.h"
#include "FileBuffer.h"
#include "Gizmo.h"
#define DEBUG_INPUT 0
namespace
{
void DrawGroundPlane()
{
const s32 groundSize = 25;
for (s32 x = -groundSize; x <= groundSize; ++x)
{
Math::Vector3 a((f32)x, 0.0f, (... | [
"Tyler.A.Staples@gmail.com"
] | Tyler.A.Staples@gmail.com |
cbe6dc5518e12137566aaf3e8730afd65fafb517 | 81d06ae2f88f71881df69074321eeb3f894413dc | /Project211/string_processing.h | 1491ac37393392009586f011503df20c864710e9 | [] | no_license | RKGekk/YandexConcurrentSearchServer | 3fb846122111a26e3e9144e33507449dde729e9e | a9214caff6a534d2fe0f53739a014bb7874b13a8 | refs/heads/main | 2023-02-28T20:12:32.983062 | 2021-02-04T18:35:07 | 2021-02-04T18:35:07 | 335,231,977 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 547 | h | #pragma once
#include <set>
#include <string>
#include <string_view>
#include <vector>
std::vector<std::string_view> SplitIntoWords(std::string_view text);
using TransparentStringSet = std::set<std::string, std::less<>>;
template <typename StringContainer>
TransparentStringSet MakeUniqueNonEmptyStrings(const StringC... | [
"radium49@mail.ru"
] | radium49@mail.ru |
8e42cf80c056893f8f9296a4811e6dc8a67d3576 | 7f3656cbfdb45e694de3d960fbd04730a77eef76 | /CeXianYouHuaDoc.h | a4b49e1c8ae451e4ff4a595e428723575205be7f | [] | no_license | zhaoyue4810/road | d15d2c79dfd080f14c47a1aabcf1421b92883014 | 01d5ead6daded24edd2ca2e3ed24d8209fc33822 | refs/heads/master | 2020-03-24T10:02:12.170184 | 2018-07-28T04:10:42 | 2018-07-28T04:10:42 | 142,645,351 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 3,225 | h | // CeXianYouHuaDoc.h : interface of the CCeXianYouHuaDoc class
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_CEXIANYOUHUADOC_H__7C1CD884_798F_4AB5_AE43_65A32BBB8678__INCLUDED_)
#define AFX_CEXIANYOUHUADOC_H__7C1CD884_798F_4AB5_AE43_65A32BBB8678__INCLUDED_
#if... | [
"noreply@github.com"
] | noreply@github.com |
238ec1fda52187c8ee1be7d32bf171ec3c263f0b | 79da638f1edeb2b0ee49d8400a962712504832f0 | /src/util/dictBuilder.h | 0798cc2c156be44540ebaeac596d0c0dde76efb6 | [] | no_license | andy-hanson/noze | 1ca3e5937ceb944caa26aec9de3b474e21a67ecc | ad00c46ed21a73e100599ebb9991ba64726656c4 | refs/heads/master | 2020-06-12T16:54:13.407053 | 2019-09-21T20:22:41 | 2019-09-24T05:14:17 | 194,363,810 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,623 | h | #pragma once
#include "./arrBuilder.h"
#include "./dict.h"
template <typename K, typename V, Cmp<K> cmp>
struct DictBuilder {
ArrBuilder<KeyValuePair<K, V>> builder;
inline DictBuilder() : builder{} {}
};
template <typename K, typename V, Cmp<K> cmp>
void addToDict(Arena* arena, DictBuilder<K, V, cmp>* db, K key, ... | [
"andy.pj.hanson@gmail.com"
] | andy.pj.hanson@gmail.com |
013413a0b202353f1bdb7c423f7a8a09bc279332 | 11211916f39b9d98027b64d778e52743d0c519a1 | /L3/assignments/logic.cpp | 35c82ee18203ac01405de0939af4ce5fffc5d87c | [] | no_license | mantasruigys3000/Group-Task | 87baf1bc2747323c0508f6f32ef733c3f4b50978 | 6790d74ae7fa0fe6b13733efcd75a9f4aca70ab0 | refs/heads/master | 2020-04-23T20:54:09.696659 | 2019-02-22T01:29:53 | 2019-02-22T01:29:53 | 171,454,102 | 0 | 0 | null | 2019-02-19T10:31:09 | 2019-02-19T10:31:08 | null | UTF-8 | C++ | false | false | 280 | cpp | Voluptatem velit sit quaerat non quaerat quiquia.
Sed magnam magnam quiquia numquam eius aliquam.
Est porro non aliquam modi aliquam consectetur.
Etincidunt velit porro quisquam non quaerat dolor labore.
Username: Mellissa
Password: gabby
Non quaerat adipisci ut ut numquam modi.
| [
"mantasruigys101@gmail.com"
] | mantasruigys101@gmail.com |
9186b2597d1a6ec3af725882e51ff7d2db39392a | bff4518b3089c014e9af2e729d98f5521138073b | /The_rise_of_jabari.cpp | 4b5ee9946cf49bc081ea13ac438715a8521a3d9b | [] | no_license | Aniganesh/100daysofcode | 3d5e2e6c3d8526938620cf9fac700c69175618ec | 2c11d71a5374be0d845b568ef16009bd3f1718da | refs/heads/master | 2021-05-16T22:58:48.915268 | 2020-07-17T18:18:48 | 2020-07-17T18:18:48 | 250,505,128 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 733 | cpp | // https://www.hackerearth.com/practice/basic-programming/bit-manipulation/basics-of-bit-manipulation/practice-problems/algorithm/the-rise-of-jabari/
// 12-07-2020 Very-easy/easy
#include<bits/stdc++.h>
#define MOD % 1000000007
typedef long long ll;
using namespace std;
int main(){
cin.tie(NULL);
cout.tie(NUL... | [
"aniganesh741@gmail.com"
] | aniganesh741@gmail.com |
8d7240b3d3c059b02e4b80acfce67636299c6fc9 | 91ba0c0c42b3fcdbc2a7778e4a4684ab1942714b | /Cpp/SDK/Title_LegendaryWestwardBlackPowderReaper_classes.h | 6f037e37c59483042f16a3403001f44669f3d4d6 | [] | no_license | zH4x/SoT-SDK-2.1.1 | 0f8c1ec3ad8821de82df3f75a0356642b581b8c6 | 35144dfc629aeddf96c1741e9e27e5113a2b1bb3 | refs/heads/main | 2023-05-12T09:03:32.050860 | 2021-06-05T01:54:15 | 2021-06-05T01:54:15 | 373,997,263 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 836 | h | #pragma once
// Name: SoT, Version: 2.1.1
/*!!DEFINE!!*/
/*!!HELPER_DEF!!*/
/*!!HELPER_INC!!*/
#ifdef _MSC_VER
#pragma pack(push, 0x01)
#endif
namespace CG
{
//---------------------------------------------------------------------------
// Classes
//--------------------------------------------------------------... | [
"Massimo.linker@gmail.com"
] | Massimo.linker@gmail.com |
f327fc7556b210f12a0f30ab4af01fd046bf2cb4 | c38fe7e2490d1235c10067d99e1bf803fb56cce0 | /loadgl/loadgl33.cpp | 64c58e191e14b6f7dff1495ca66787e85a0a9c3b | [
"MIT"
] | permissive | Crystiol/shader-printf | 67511f95705e43746fc101a81e6b6e09fb358a4f | e7b25ffb6e5557b48a1010c0a829e51d56903ad6 | refs/heads/master | 2023-05-25T23:27:27.593726 | 2020-04-13T17:26:41 | 2020-04-13T17:26:41 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 173,143 | cpp | #include <Windows.h>
#include <gl/gl.h>
#include "glext.h"
#include "loadgl33.h"
PFNGLDRAWRANGEELEMENTSPROC glDrawRangeElements;
PFNGLTEXIMAGE3DPROC glTexImage3D;
PFNGLTEXSUBIMAGE3DPROC glTexSubImage3D;
PFNGLCOPYTEXSUBIMAGE3DPROC glCopyTexSubImage3D;
PFNGLACTIVETEXTUREPROC glActiveTexture;
PFNGLSAMPLECOVERAGEPROC glSam... | [
"pauli.kemppinen@aalto.fi"
] | pauli.kemppinen@aalto.fi |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.