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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
be3525c14c35033da57e7c8aa80a560f355ad330 | 56ee04007eac69701f0bb4421046eb558b24f6d6 | /ttpc2019/d.cpp | c79bc4fee32a763ebc2de77546b69ec924ae6ac7 | [] | no_license | tsuba3/atcoder | e5789515d96079a386843f744f0cf594ec663a24 | d397e98686cae982b431c098ec288d2994c33152 | refs/heads/master | 2021-07-01T21:31:45.429120 | 2021-02-20T13:40:24 | 2021-02-20T13:40:24 | 224,573,527 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,832 | cpp | /* _
_ooOoo_
o8888888o
88" . "88
(| -_- |)
O\ = /O
____/`---'\____
.' \\| |// `.
/ \\||| : |||// \
... | [
"tsubasa.afe@gmail.com"
] | tsubasa.afe@gmail.com |
3882a89115cba38829f6489f37a91e46cd2109fd | 8af5843b9d0c467cce1fc75a103dd33854d661eb | /Ares/Memory.cpp | b666d659bcef215c382dc87b807b160e46afc350 | [] | no_license | Slyvred/Ares | b754942b1fcc92ff2bbd70da2b620ae7bb763c96 | 5327f5e17480532fa89efa408908214bc5e41508 | refs/heads/master | 2023-04-23T16:21:44.790809 | 2021-05-16T16:52:53 | 2021-05-16T16:52:53 | 367,937,835 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,645 | cpp | #include "Memory.h"
#include "PATTERN SCANNER/PatternScanner.h"
#include "SDK/netvars_manager.h"
namespace signatures
{
//std::ptrdiff_t dwForceJump;
//std::ptrdiff_t dwForceAttack;
std::ptrdiff_t dwGlowObjectManager;
std::ptrdiff_t m_bDormant;
std::ptrdiff_t dwClientState;
//std::ptrdiff_t dwClientState_View... | [
"remihage2003@gmail.com"
] | remihage2003@gmail.com |
47c57aa96265ec422782fcf8eed1f5987ad4f5f8 | 34b3623dbd185b9d8e6bc5af787ff656ebb8f837 | /finalProject/results/test/test_height/wedge05/8.5/U | 99d399495a12f74c1b986fb15f34f2e2ac4b6907 | [] | no_license | kenneth-meyer/COE347 | 6426252133cdb94582b49337d44bdc5759d96cda | a4f1e5f3322031690a180d0815cc8272b6f89726 | refs/heads/master | 2023-04-25T04:03:37.617189 | 2021-05-16T02:40:23 | 2021-05-16T02:40:23 | 339,565,109 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 699,223 | /*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: 7
\\/ M anipulation |
\*-------... | [
"kmeyer299@gmail.com"
] | kmeyer299@gmail.com | |
92c6f10bc4fa66af178eb3cf2dfc64dbcdcbfe50 | 22011d72195a5675fa09c29a5374cc25d99505be | /source/game/progressbar.cpp | 64752b70a448e3b6b936eb57b7a9551dcb8f6545 | [] | no_license | mockthebear/burr-tower | 24844be9ea68dc82cc0f2c996233b39832ecca6f | 079753077950b12e1702cf752348f46ddd466b54 | refs/heads/master | 2020-03-17T22:13:18.558485 | 2018-05-18T19:07:29 | 2018-05-18T19:07:29 | 133,994,112 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,903 | cpp | #include "progressbar.hpp"
#include "../engine/renderhelp.hpp"
#include "../framework/geometry.hpp"
ProgressBar::ProgressBar(){
duration = 1.0f;
progress = 0.0f;
size = 32;
};
ProgressBar::ProgressBar(float duration,float start,int vfancy){
this->duration = duration;
this->progress = start;
on... | [
"matheus.mtb7@gmail.com"
] | matheus.mtb7@gmail.com |
9a806b8b66cdff6eee0b14f627f222da4f5173b6 | 6c2846f3e4af719409daf90601e57ac33ab2ba02 | /test/OpenMP/parallel_sections_if_messages.cpp | 8d36b6d5d3086d879d285383138d29b8df4e7ffe | [
"Apache-2.0",
"LLVM-exception",
"NCSA"
] | permissive | yangximi/clang | f419b19ae9e6afca42a5a624caa891e4ba27bc49 | 6ec62032be12de8de6c19c49155f33988d6d1315 | refs/heads/master | 2020-06-20T00:45:41.825310 | 2019-07-19T03:25:24 | 2019-07-19T03:25:24 | 196,913,958 | 0 | 0 | Apache-2.0 | 2019-07-15T03:01:24 | 2019-07-15T03:01:24 | null | UTF-8 | C++ | false | false | 5,515 | cpp | // RUN: %clang_cc1 -verify -fopenmp -fopenmp-version=45 -ferror-limit 100 %s -Wuninitialized
// RUN: %clang_cc1 -verify -fopenmp-simd -fopenmp-version=45 -ferror-limit 100 %s -Wuninitialized
void foo() {
}
bool foobool(int argc) {
return argc;
}
struct S1; // expected-note {{declared here}}
template <class T, cl... | [
"a.bataev@hotmail.com"
] | a.bataev@hotmail.com |
eca8c9650052d98a83e0c82174b01229573f9ad9 | 6387e818cd8356fbae61733fed052aa6ab87d2d8 | /cses/repititions.cpp | a16708643287090cb2c3a43f6752dd2b12c5f9ef | [] | no_license | Wwar-lock/codes | 097935f214fa4b7ef6ebf575dc2d2a4e29b85efe | 46b42b1a69e82ce2fcc9d7f8d9f6b7d33dd85f97 | refs/heads/master | 2022-12-02T08:47:15.536239 | 2020-08-14T05:28:23 | 2020-08-14T05:28:23 | 275,018,110 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,820 | cpp | #include <bits/stdc++.h>
#include <cstdio>
#include <cstring>
#include <cmath>
#include <cstring>
#include <chrono>
#include <complex>
#define int long long int
#define pb push_back
#define vi vector<int>
#define vll vector<ll>
#define vvi vector < vi >
#define all(v) v.begin(),v.end()
#define pii pair<int,int>
#define... | [
"iit2017019@iiita.ac.in"
] | iit2017019@iiita.ac.in |
6316cf9b4dfe97ab0a5838f0f4ddb3924e149c27 | 5249c8dd7c31216a82dae856afb499de82437a6b | /Design_Pattern/Iterator/ProjectIterator.cpp | 18fa05bf6568b207df6913818f494c74ce90d5f7 | [] | no_license | w-x-me/Demon_Code | c24fbfe245be5d9646b744f4d99c934f99be5937 | a3071ed9c5c0c5453601d16e8e9a4641658d72d6 | refs/heads/master | 2020-03-27T05:52:57.500745 | 2018-11-29T01:17:18 | 2018-11-29T01:17:18 | 146,059,683 | 16 | 7 | null | null | null | null | UTF-8 | C++ | false | false | 400 | cpp | #include "ProjectIterator.h"
CProjectIterator::CProjectIterator(vector<IProject *> pl) : m_projectList(pl)
{
m_currentItem = 0;
}
CProjectIterator::~CProjectIterator(void)
{
}
bool CProjectIterator::HasNext()
{
bool b = true;
if (m_currentItem >= m_projectList.size())
b = false;
return b;
}
IProject * CProjectIte... | [
"985808898@qq.com"
] | 985808898@qq.com |
4d01fbebf649b9b766da40bc57eb541395bc50b8 | c77039b8e5bb2c5bafe48606df4cae994a73c880 | /tests/src/main.cpp | 032ab8bc41db1748088ab59da141dd5827b007be | [
"Apache-2.0"
] | permissive | rrsc/iot-cpp-sdk | 5d81b3fc141e4b08e632b32d078c27169a2dc2c5 | abb7d70b2364089495ac73adf2a992c0af6eaf8c | refs/heads/master | 2020-05-24T19:04:59.498606 | 2018-11-27T22:25:49 | 2018-11-27T22:25:49 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,595 | cpp | /*
* Copyright (c) 2018 AppDynamics LLC and its affiliates
*
* 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 appli... | [
"vaasu1234@gmail.com"
] | vaasu1234@gmail.com |
76dec33cf9cf48cb7a4e6b278cae2b1fe03c6ad1 | d14b5d78b72711e4614808051c0364b7bd5d6d98 | /third_party/llvm-subzero/include/llvm/Support/AlignOf.h | abd19afa22f062de6c7089942a6d7f1dedd7500f | [
"Apache-2.0",
"NCSA"
] | permissive | google/swiftshader | 76659addb1c12eb1477050fded1e7d067f2ed25b | 5be49d4aef266ae6dcc95085e1e3011dad0e7eb7 | refs/heads/master | 2023-07-21T23:19:29.415159 | 2023-07-21T19:58:29 | 2023-07-21T20:50:19 | 62,297,898 | 1,981 | 306 | Apache-2.0 | 2023-07-05T21:29:34 | 2016-06-30T09:25:24 | C++ | UTF-8 | C++ | false | false | 4,893 | h | //===--- AlignOf.h - Portable calculation of type alignment -----*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | [
"capn@google.com"
] | capn@google.com |
c979e5905bc5db2c1eee7e2c8acf7754f6ec4e33 | 873002d555745752657e3e25839f6653e73966a2 | /model/VideoRelationshipResource.cpp | b49e9f0d4508da2d33c86177de3f884b7822dbb9 | [] | no_license | knetikmedia/knetikcloud-cpprest-client | e7e739e382c02479b0a9aed8160d857414bd2fbf | 14afb57d62de064fb8b7a68823043cc0150465d6 | refs/heads/master | 2021-01-23T06:35:44.076177 | 2018-03-14T16:02:35 | 2018-03-14T16:02:35 | 86,382,044 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,902 | 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 2.3.0-SNAPS... | [
"shawn.stout@knetik.com"
] | shawn.stout@knetik.com |
28fff698402f682f8bc0de306929b9dc94e90640 | db6026ddf84d7457227c1d2d58fae8b0e6105855 | /luogu/P1948-Telephone Lines S.cpp | 1e08ada75d4145e3d17561a38b07868a0427d8b5 | [] | no_license | bbbiggest/12 | e67b1b4e9d26c97427e2ae544222906841244acc | 743deba4b20d2b998f05c1c4615514f0606c44c0 | refs/heads/master | 2021-10-31T16:15:25.314186 | 2021-09-26T13:49:06 | 2021-09-26T13:49:06 | 234,906,424 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,024 | cpp | // P1948 - Telephone Lines S
#include <iostream>
#include <vector>
#include <map>
#include <queue>
#include <algorithm>
using namespace std;
using P = pair<int, int>;
const int INF = 0x3fffffff;
const int MAX_K = 1000 + 1;
const int MAX_V = 1000 * MAX_K + 10;
struct edge
{
int to, cost;
edge() {}
edge(int ... | [
"huangtengle@gmail.com"
] | huangtengle@gmail.com |
fa5609164e4dcbd2082f0dac207d89f42adf5b09 | 13d99d78cd8efcc9d0d134450f486bdd3faf460f | /ProyectoFinal/NodoArbol.h | de2484685033d6e8ba13ba1c71dd3540a4e39181 | [] | no_license | ProyectoFinal000/ProyectoFinal | 756cd04d0e15842c46d74bdaeb86e8dcc287d305 | 7da7b2901f2bc84d3eea1a5d38c63725f7119147 | refs/heads/master | 2016-09-06T06:56:55.769738 | 2015-07-10T03:20:57 | 2015-07-10T03:20:57 | 38,832,619 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 576 | h | #pragma once
#include "Lista.h"
template <typename T, template <class> class U>
class NodoArbol {
template <class T>
friend class ArbolBinario;
private:
Lista <T> actual;
NodoArbol <T, Lista>*padre;
NodoArbol <T, Lista>*hijos;
public:
NodoArbol(Lista<T> elementos){
this->actual = elementos;
padre = NULL;
... | [
"danijv-92@hotmail.com"
] | danijv-92@hotmail.com |
6c77a356db5fbc173054ccbabacfbadaf66ebafd | e6267643fb275f62ab2db70c2e1a6b6dd74b2758 | /VCECore/rgy_output.cpp | 91bb67780f04d385b9ef88bf20866c1a30237c1e | [
"MIT",
"Zlib",
"BSD-2-Clause"
] | permissive | smmzhang/VCEEnc | 77794eb4ae5af6a0abc85c1e62a6611d3999c729 | 8285cd996b57f65637bf4d2fec7655f53eb8a3c1 | refs/heads/master | 2023-04-26T14:22:04.553298 | 2021-05-23T11:25:41 | 2021-05-23T11:30:02 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 57,352 | cpp | // -----------------------------------------------------------------------------------------
// QSVEnc/NVEnc by rigaya
// -----------------------------------------------------------------------------------------
// The MIT License
//
// Copyright (c) 2011-2016 rigaya
//
// Permission is hereby granted, free of charge,... | [
"rigaya34589@live.jp"
] | rigaya34589@live.jp |
4a05b54953d81b7724c876799bd665dba03fafcf | 3e1ac5a6f5473c93fb9d4174ced2e721a7c1ff4c | /build/iOS/Preview/include/Uno.Time.Text.IPatternPart-1.h | 42d841bdeea701ee03f133d5115807fdaad2782f | [] | no_license | dream-plus/DreamPlus_popup | 49d42d313e9cf1c9bd5ffa01a42d4b7c2cf0c929 | 76bb86b1f2e36a513effbc4bc055efae78331746 | refs/heads/master | 2020-04-28T20:47:24.361319 | 2019-05-13T12:04:14 | 2019-05-13T12:04:14 | 175,556,703 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,760 | h | // This file was generated based on /usr/local/share/uno/Packages/UnoCore/1.9.0/Source/Uno/Time/Text/PatternPart.uno.
// WARNING: Changes might be lost if you edit this file directly.
#pragma once
#include <Uno.Object.h>
namespace g{
namespace Uno{
namespace Time{
namespace Text{
// internal abstract interface IPatt... | [
"cowodbs156@gmail.com"
] | cowodbs156@gmail.com |
8a1cf1cec6c931f6fc7e0d870a97734afacb8a2a | e56b41bedb756ab168341ee858a2e7a46227ce4e | /test/impl/oclint/ViolationSetTest.cpp | d233952c861d6900132055afb4df1da64e288d81 | [
"BSD-3-Clause"
] | permissive | halfhiddencode/oclint-04 | a0f383f5e6f2f8c675c21d43bc8370da0111e7c9 | 86d8a8f0d308ff312f0f16c1020087949436b1f1 | refs/heads/master | 2021-05-27T17:11:47.350669 | 2012-12-14T03:56:58 | 2012-12-14T03:56:58 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,389 | cpp | #include "oclint/exception/GenericException.h"
#include "oclint/Violation.h"
#include "oclint/ViolationSetTest.h"
#include "oclint/rule/MockRule.h"
void ViolationSetTest::setUp() {
_violationSet = new ViolationSet();
}
void ViolationSetTest::tearDown() {
delete _violationSet;
}
void ViolationSetTest::testNoViola... | [
"longyi@chaione.com"
] | longyi@chaione.com |
4f007429c53477dda172ce7e89e9dee474d3674d | 2aa8fb23126fd9323f1ffaff58869dc888b50673 | /Lab1/TDDD04__Lab1_source_code./IStringFormatterTest.cpp | a20af535572ad37ea91248760beeeaedf8b1b692 | [] | no_license | medhanie-weldemariam-git/Software_Testing_Lab_Assignments | 1712097437e4f809aaa9299f98da2930a49bd024 | 0a6ee2a7225f8cd16c32e857b3b8e336b51c98d3 | refs/heads/master | 2021-07-23T07:12:45.467666 | 2017-11-02T18:37:57 | 2017-11-02T18:37:57 | 109,304,301 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,325 | cpp | #include "stdafx.h"
#include "CppUnitTest.h"
#include "main.cpp"
using namespace Microsoft::VisualStudio::CppUnitTestFramework;
namespace TDDD04_lab1Btests
{
TEST_CLASS(IStringFormatterTest)
{
testIStringFormatter *formatter;
public:
TEST_METHOD_INITIALIZE(setUp)
{
formatter = new testIS... | [
"medwe277@student.liu.se"
] | medwe277@student.liu.se |
c3d26d2640f4ea8ab717a36ae5bd93311b57d860 | c436fc304da315ed7cfa4129faaba14d165a246e | /foundation/src/mysql/MySQLDB.h | 3ea78542b621f117bc4fc566954b774c6a24a025 | [] | no_license | wjbwstone/wstone | dae656ffff30616d85293bcc356ab7ab7cebd5ba | 25da4de6900e6cc34a96a3882f1307b7a9bbf8b0 | refs/heads/main | 2023-02-17T16:44:50.679974 | 2021-01-20T05:53:24 | 2021-01-20T05:53:24 | 330,961,566 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,456 | h | #ifndef _LIBMYSQL_DB_2020_01_15_11_14_41_H
#define _LIBMYSQL_DB_2020_01_15_11_14_41_H
#include <helper/Types.h>
#include <helper/Uncopyable.h>
#include <foundation/src/mysql/inner/mysql.h>
namespace ws {
namespace mysql {
class Table;
class DBManager;
class DB {
kDisableCopyAssign(DB);
public:
... | [
"junbo.wen@enmotech.com"
] | junbo.wen@enmotech.com |
db45737339e84a3faf39ef7645e74e69e4f88da7 | d64658a6b8391e3faf5abbe029031222efa247b2 | /STL implementation/reg.cpp | 06e89e771b959efb2f8bba2dd29e8fd3dd2ec3f1 | [] | no_license | qyqx233/RegexImpl | 6617427c310d85c13f6b34846915d8b7e7f2cb00 | 5f69dc736fe5d267510dce46f4f9ec1b48348720 | refs/heads/master | 2022-02-20T02:15:27.896134 | 2012-12-28T15:28:15 | 2012-12-28T15:28:15 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,995 | cpp | #include <iostream>
#include <cstring>
#include <stack>
#include "state.h"
#include "ptrlist.h"
#include "frag.h"
#include "list.h"
using namespace std;
#ifndef REG_CPP_
#define REG_CPP_
State matchstate = { Match };
int nstate;
/*
* Convert infix regexp re to postfix notation.
* Insert . as explicit concatenation... | [
"spiridon.g.alex@gmail.com"
] | spiridon.g.alex@gmail.com |
1ef9df71a3ee79ecf034825393021ef90cb2584c | 368f2a9226859033d64ade215e542e59eaeddc62 | /xface/stringbuilder.cpp | ea602f797b637984804f814c8bf5f64067041ef9 | [] | no_license | Pavelius/xface | a4c7e6994c72af65defa11bc4ca87480886d302f | a155909e3d9691d4029f19191009dd4c026c2dd8 | refs/heads/master | 2022-11-18T02:23:18.462447 | 2022-10-25T05:21:53 | 2022-10-25T05:21:53 | 145,845,610 | 2 | 0 | null | null | null | null | WINDOWS-1251 | C++ | false | false | 10,476 | cpp | #include "crt.h"
#include "stringbuilder.h"
static const char spaces[] = " \n\t\r.,!?;:";
static const char* psnum16(const char* p, int& value) {
int result = 0;
const int radix = 16;
while(*p) {
char a = *p;
if(a >= '0' && a <= '9') {
result = result * radix;
result += a - '0';
} else if(a >= 'a' && a... | [
"p000000000001@gmail.com"
] | p000000000001@gmail.com |
452f75d7222e7f73f9821773911a46b95419ff17 | 2f3bdbb4ec4e382a320a460aab6275bb61b3b31b | /Source/Ursine3D/include/Core/Audio/WWiseUtils/AkMultipleFileLocation.hpp | 6dd53df7ebbb73d8744d5e656ffe8a3b899b7d44 | [] | no_license | jjzhang166/Ursine3D | b23e88e87f6513d41968638c17412d2aab59484e | c5a806a7623bcd3c7a16dcd6b40033c2f912aad6 | refs/heads/master | 2023-03-22T18:25:51.138505 | 2018-05-17T01:21:47 | 2018-05-17T01:21:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,778 | hpp | //////////////////////////////////////////////////////////////////////
//
// AkFileLocationBase.cpp
//
// Basic file location resolving: Uses simple path concatenation logic.
// Exposes basic path functions for convenience.
// For more details on resolving file location, refer to section "File Location" inside
// "Goin... | [
"j.orion@digipen.edu"
] | j.orion@digipen.edu |
44b34a05e2ffdc5d3e08ac9022178b7f48c28e6f | 90af79681ba010c6a2a0f4da3f04c175c5805180 | /C++_Basic/005继承重载等/数据抽象.cpp | 7f6f29d80c35b2d19ecdaa057998fc9fd893d9d7 | [] | no_license | minxin126/C_Basic | a184c2e6902397dfff99e1406b912caa3a894a20 | 2225a66bd3826c81658a86f3cbee4bb70a3014c6 | refs/heads/master | 2021-07-14T20:23:14.691028 | 2020-06-26T14:10:13 | 2020-06-26T14:10:13 | 177,624,168 | 1 | 2 | null | 2019-03-29T16:49:51 | 2019-03-25T16:28:49 | C++ | GB18030 | C++ | false | false | 422 | cpp | #include <iostream>
using namespace std;
class Adder {
public:
// 构造函数
Adder(int i = 0)
{
total = i;
}
// 对外的接口
void addNum(int number)
{
total += number;
}
// 对外的接口
int getTotal()
{
return total;
};
private:
// 对外隐藏的数据
int total;
};
int main()
{
Adder a;
a.addNum(10);
a.addNum(20);
a.addNum(3... | [
"359676107@qq.com"
] | 359676107@qq.com |
06e18d983e28dba0d738ec9e9ea8e27a658a1caa | 20bf501a502a1fc20a7e94f36acd42e1db382efc | /include/CarPlanner/MochaException.h | 05226e5619dcf4cd4633b1fe91ad6ceaf8294d5d | [
"Apache-2.0"
] | permissive | arpg/CarPlanner | cfc293b397e57ed062e670a101008686ef0f5a3d | 9ac17abfd94224fff4a527c1f1ef341ed2de5a3a | refs/heads/master | 2022-07-25T04:53:32.863558 | 2022-06-22T20:27:15 | 2022-06-22T20:27:15 | 31,984,011 | 7 | 4 | null | 2019-05-13T22:20:06 | 2015-03-10T21:57:00 | C++ | UTF-8 | C++ | false | false | 417 | h | /*
* MochaException.h
*
* Created on: Feb 6, 2012
* Author: nima
*/
#ifndef MOCHAEXCEPTION_H_
#define MOCHAEXCEPTION_H_
#include <iostream>
#include <exception>
using namespace std;
class MochaException : public exception
{
private:
const char *m_pWhat;
public:
MochaException(const char *what);
virtu... | [
"crheckman@gmail.com"
] | crheckman@gmail.com |
64dff092896a94fce288b956001f370758c7c929 | bc2eddcb43b2e995e838a839b13ece64686dd8fc | /Tile.h | 7fc3f6ce27f189406bfeba4938d8c4d8e609eb04 | [] | no_license | CyrilYao/APT-Assignment2 | f36259426c626972519c7c693a643f1548e906f9 | 5152b806f88e771912a0b37916cfa86f36ea96aa | refs/heads/master | 2020-05-17T22:02:39.208558 | 2019-05-12T12:52:10 | 2019-05-12T12:52:10 | 183,989,103 | 2 | 0 | null | 2019-05-12T12:56:02 | 2019-04-29T02:52:06 | C++ | UTF-8 | C++ | false | false | 222 | h |
#ifndef ASSIGN2_TILE_H
#define ASSIGN2_TILE_H
// Define a Colour type
typedef char Colour;
// Define a Shape type
typedef int Shape;
class Tile {
public:
Colour colour;
Shape shape;
};
#endif // ASSIGN2_TILE_H
| [
"Jacklee5230@hotmail.com"
] | Jacklee5230@hotmail.com |
1dd164cdf6d8a9235f63fd255958dc0135cc6a18 | 4aeb3d977ffbabae516da01d55974c3ebdb07cea | /BulletBash/enemy.h | 6e3031a597c92a845ce9273942687a3c6d3e8439 | [] | no_license | Samhenry97/BulletBash | ed57ff1efca899f5e884c8a46c286443cb40ef9d | 690ed2c10d1ee5192a1480901e8b99ccc9da5335 | refs/heads/master | 2021-06-16T08:11:53.848758 | 2021-03-10T21:31:31 | 2021-03-10T21:31:31 | 161,505,884 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,596 | h | #pragma once
#include "gameobject.h"
#include "gun.h"
class Enemy : public GameObject {
protected:
float speed, baseSpeed;
int health, maxHealth, hitDamage;
float damageClock, damageTime;
float knockAngle, knockSpeed;
float spawnClock, spawnTime;
float pathClock, pathTime;
std::vector<vec2i> path;
sf::Rectangl... | [
"shenr124@students.bju.edu"
] | shenr124@students.bju.edu |
c439d8e421f6a9838afd90e744884bc14d779b9b | 2f4a2f89d4879a00c14b816a94c758a4ce5207bc | /gdw_project/gdw/uvm/include/uvm/lua.h | 9de316186e480a5710a0a0b9e178843722c66897 | [
"MIT"
] | permissive | GDW2018/GDW | 03c1d6646ed8aa054b6a7900972d209745f99c54 | a57cff2cf49a7f052d0dac0d2b532dfb82de4d0d | refs/heads/master | 2021-04-06T05:22:17.054128 | 2018-06-19T02:13:10 | 2018-06-19T02:13:10 | 125,323,129 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,985 | h | /*
** $Id: lua.h,v 1.329 2015/11/13 17:18:42 roberto Exp $
** Lua - A Scripting Language
** Lua.org, PUC-Rio, Brazil (http://www.lua.org)
** See Copyright Notice at the end of this file
*/
#ifndef lua_h
#define lua_h
#include <stdarg.h>
#include <stddef.h>
#include "uvm/luaconf.h"
#define LUA_VERSION_MAJOR "1"
... | [
"panguoxing@youjindui.com"
] | panguoxing@youjindui.com |
69453925b3fd8c67970bd40320d70128a964d280 | cde72953df2205c2322aac3debf058bb31d4f5b9 | /win10.19042/System32/untfs.dll.cpp | 090daada4e96c3467411637fd6465a14e2a34ab6 | [] | no_license | v4nyl/dll-exports | 928355082725fbb6fcff47cd3ad83b7390c60c5a | 4ec04e0c8f713f6e9a61059d5d87abc5c7db16cf | refs/heads/main | 2023-03-30T13:49:47.617341 | 2021-04-10T20:01:34 | 2021-04-10T20:01:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 21,509 | cpp | #print comment(linker, "/export:??0NTFS_ATTRIBUTE@@QEAA@XZ=\"C:\\Windows\\System32\\untfs.dll\"")
#print comment(linker, "/export:??0NTFS_ATTRIBUTE_DEFINITION_TABLE@@QEAA@XZ=\"C:\\Windows\\System32\\untfs.dll\"")
#print comment(linker, "/export:??0NTFS_ATTRIBUTE_LIST@@QEAA@XZ=\"C:\\Windows\\System32\\untfs.dll\"")
#... | [
"magnus@stubman.eu"
] | magnus@stubman.eu |
2ecb8023c275be3e58320b1c57cf7869f4da7702 | def39f068050b234df9f6909d4277f96b740f11c | /E-olimp/6940. Maximum Word Frequency .cpp | 84fa9291b49f3d64a206fe7cfae8a8ee3f54a667 | [] | no_license | azecoder/Problem-Solving | 41a9a4302c48c8de59412ab9175b253df99f1f28 | a920b7bac59830c7b798127f6eed0e2ab31a5fa2 | refs/heads/master | 2023-02-10T09:47:48.322849 | 2021-01-05T14:14:09 | 2021-01-05T14:14:09 | 157,236,604 | 5 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 525 | cpp | #include <iostream>
#include <algorithm>
using namespace std;
#define size 1000
string a[size],c;
int i,cnt=1,maxx;
int main()
{
int n;
cin >> n;
for(i = 0; i < n; i ++) cin >> a[i];
sort(a, a+n);
for(i = 0; i < n; i ++)
if(a[i].compare(a[i+1]) == 0) cnt++;
else
... | [
"tabriz.haji@gmail.com"
] | tabriz.haji@gmail.com |
a3d3a84417f5c7d950515262139858f23d1d88fa | 729649c905fd378d40bfd69a4bccd9ae5f5f0c1a | /srcs/level.cpp | b1a174fdbc9e56c4c28453941948a6dfd08bf910 | [] | no_license | OSGiftia/2DShootingGame | edd9499fc354c003cd291cfd0629643eecb7a478 | 2ca3f2cae74238c200c35e633de7e1cc052b683a | refs/heads/master | 2020-09-16T03:58:03.381145 | 2019-11-23T19:55:48 | 2019-11-23T19:55:48 | 223,516,603 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 778 | cpp | #include <SDL.h>
#include "level.h"
#include "graphics.h"
Level::Level() {
//
}
Level::Level(Graphics &graphics, const std::string &filePath, int _width, int _height) : _size(_size.zero()) {
loadMap(graphics, filePath, _width, _height);
}
Level::~Level() {
//
}
void Level::loadMap( Graphics &graphics, const std... | [
"gong141@purdue.edu"
] | gong141@purdue.edu |
ee0d7bbabe1e9195204fa19c60185d5dace68468 | 13b1c4b9dd1eb344a9c1c1467f0dc91f98b33150 | /Kattis - Fenwick Tree.cpp | 5a2c32b02c653b7c16f56205861cfc542abe04f5 | [] | no_license | willsenw/algods | 5ef4ba92b94e1760893945a3f962a850481a6108 | 050620fb8fd21538e60ef6c9a3aa3f2caad5967a | refs/heads/master | 2022-12-28T08:21:39.797704 | 2020-10-11T08:45:58 | 2020-10-11T08:45:58 | 285,851,748 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,486 | cpp | #include <cstdio>
#include <set>
#include <iostream>
#include <vector>
#include <algorithm>
#include <cstring>
#include <string>
using namespace std;
#define LL long long
LL ft[5000005];
int n,q;
string s;
int t[5000005], x[5000005], v[5000005];
void upd( int x, int v ){
while ( x <= n ){
ft[x] += v;
... | [
"willsen0123@gmail.com"
] | willsen0123@gmail.com |
8d700863fc36299da65703da1cc65032ab952136 | 9922edafddb080ccefb36858e5ffd1a106beae95 | /mdk/RealSpace3/RAnimationFileLoadImpl.h | 7b087bbe413b77a5f052d31e88f4d308fbe876df | [] | no_license | saerich/RaiderZ-Evolved-Develop | ee93f46d866ed0310107a07ad0a4a2db3a2fd529 | b2a20e2a5b058a330b2e18a3f0a45a10f71f2cb0 | refs/heads/master | 2023-02-25T15:43:26.276331 | 2021-02-04T01:37:25 | 2021-02-04T01:37:25 | 281,212,532 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,091 | h | #pragma once
#include "RFile.h"
namespace rs3 {
class RAnimationNode;
class RAnimationFileLoadImpl
{
public:
virtual bool LoadVertexAni(RFile &rf, RAnimationNode *pANode, DWORD dwVersion) = 0;
virtual bool LoadBoneAni(RFile &rf, RAnimationNode *pANode, DWORD dwVersion) = 0;
virtual bool LoadVisibilityKey(RFile &... | [
"fabs1996@live.co.uk"
] | fabs1996@live.co.uk |
f0124080ebf2bc1ca6de8095aa9256af254c28d1 | e3133217f36aa384b33d6bfaba7999f6633587a2 | /calc1_0.cpp | 50ae12cba4817b8dd043e3854cdc121fd9f159d6 | [] | no_license | mnty4/calculator | 8b004b9e4a3f87f5322d27183f053648e5187589 | f3a9f575b816422759cf20868456f75f9e53b741 | refs/heads/master | 2023-06-23T04:06:58.922632 | 2021-07-18T11:19:15 | 2021-07-18T11:19:15 | 387,157,180 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,985 | cpp | /*****************************************
The grammar for input is:
Statement:
Expression
Print
Quit
Print:
;
Quit:
q
Expression:
Term
Expression + Term
Expression - Term
Term:
Primary
Term * Primary
Term / Primary
Primary:
Number
( Expression )
+ Primary
... | [
"zenikyn@gmail.com"
] | zenikyn@gmail.com |
2a87f660cc9d213fab12bd5fefe825ae534a0dea | 8f50c262f89d3dc4f15f2f67eb76e686b8f808f5 | /MagneticField/MagFieldUtils/src/MagFieldCondReader.h | 96fbf4046fa379d3336cbaa046dc80b39330bdd6 | [
"Apache-2.0"
] | permissive | strigazi/athena | 2d099e6aab4a94ab8b636ae681736da4e13ac5c9 | 354f92551294f7be678aebcd7b9d67d2c4448176 | refs/heads/master | 2022-12-09T02:05:30.632208 | 2020-09-03T14:03:18 | 2020-09-03T14:03:18 | 292,587,480 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 838 | h | /*
Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
*/
#ifndef MAGFIELDUTILS_MAGFIELDCONDREADER_H
#define MAGFIELDUTILS_MAGFIELDCONDREADER_H
#include "AthenaBaseComps/AthReentrantAlgorithm.h"
#include "MagFieldConditions/AtlasFieldCacheCondObj.h"
#include "StoreGate/ReadHandleKey.h"
namespac... | [
"fwinkl@cern"
] | fwinkl@cern |
54a4359fd37fc6e81242e42033fb1d7f637dab08 | 75833eb690f367854339bd74b57ac6743cd97fe8 | /src/kvbf/kvbf_cell.cpp | 9b2da1c272e734d09513afe66bc2fd526efa70f3 | [] | no_license | huicpc0215/KVBF | de3c8c1e6b61bffea1da97272356c8af4e80024d | 753c33aa996738175cab5700414d676e60c992ba | refs/heads/master | 2021-01-18T15:10:16.546363 | 2015-11-30T08:40:49 | 2015-11-30T08:40:49 | 26,022,279 | 0 | 0 | null | 2015-07-08T01:25:42 | 2014-10-31T15:46:01 | C++ | UTF-8 | C++ | false | false | 1,630 | cpp | /*=============================================================================
# FileName: kvbf_cell.cpp
# Desc: implemtation
# Author: huicpc0215
# Email: huicpc0215@gmail.com
# HomePage: huicpc0215.github.io
# Version: 0.0.1
# LastChange: 2015-05-11 20:47:23
# History:
======... | [
"huicpc0215@gmail.com"
] | huicpc0215@gmail.com |
e00c0e974897de483fd53682d34b9159ebea4cee | 1de4f552d0007aa8d58438a4ff08b7f9e86634cf | /ledger/account.h | 62c6d965bcccd12a88d4b30dc0822e12fe00a3fb | [] | no_license | opec2019/opec | fe68a42cdc760b17803a84e7f13d344f0ceb7b49 | 905cfc006ea5819df283479a59281bf4d81ad5a9 | refs/heads/master | 2022-11-15T18:39:21.626745 | 2020-07-08T08:06:05 | 2020-07-08T08:06:05 | 278,025,046 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,591 | h | /*
Opec is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Opec is distributed in the hope that it will be useful,
but WITHOUT ANY WARRA... | [
"coolxw@126.com"
] | coolxw@126.com |
bf5394033fdd3b924c8fdc972240ffc22b218d16 | 4d78988e78a2d2a88230c60c8f0606d95546a7a2 | /ArduinoISP.ino | 4ea322f02cee26a64d03b8139783cf1c273f2b71 | [] | no_license | yvvas/ArduinoISP | 89e2e8af55bcb6c33c3d422eb010abb30607a1b5 | 2b397176d629c892e1c8865abe5fa6997a33beb0 | refs/heads/master | 2021-06-03T07:00:38.295515 | 2016-08-25T02:21:15 | 2016-08-25T02:21:15 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 16,939 | ino | // ArduinoISP
// Copyright (c) 2008-2011 Randall Bohn
// If you require a license, see
// http://www.opensource.org/licenses/bsd-license.php
//
// This sketch turns the Arduino into a AVRISP
// using the following arduino pins:
//
// Pin 10 is used to reset the target microcontroller.
//
// By default, the hardware... | [
"contact@acidhub.click"
] | contact@acidhub.click |
7300f2a59f7a3c2876ddda4141acddc9dad1a5a9 | e78464261bff8ca968d85c553cc04f057a628e0f | /ssl/blum_goldwasser.cpp | ee3f89d2e42d50e1c17fddccab67d204233cda1b | [] | no_license | qizhu8/CryptoFinalProject | aa7bad309527ef25a297db66a56781fccf63994b | 01b5655ec9e7424a4b94394b71643bdbf29bc795 | refs/heads/master | 2020-04-09T14:32:58.672554 | 2018-12-04T01:13:16 | 2018-12-04T01:13:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,568 | cpp | #include "blum_goldwasser.h"
#include <utility>
//Conversion functions that would have been way cleaner in a CharStream :^)
std::vector<uint8_t> vla_vec2vector(std::vector<uint8_t> &&vec) {
std::vector<uint8_t> bytes;
auto size = vec.size();
bytes.push_back(static_cast<uint8_t>(size & 0xFF));
bytes.push_back(stat... | [
"couleeapps@gmail.com"
] | couleeapps@gmail.com |
bf86d4585da3252c91137f9ca15b96e20b7535a2 | 2bcdd74a4e30563301e72c36d7f180e455b95593 | /managem/mgcombine-exact.cpp | 14d9f3bfa91f6acd7fc5def344ce3331f0080445 | [
"MIT"
] | permissive | gemforce-team/gemforce | 99df5343a642b9a66a7220bbff32739482d36d73 | 10cb44d7d391c59bc145fc0f2371b53f023b3444 | refs/heads/master | 2022-06-16T17:22:47.166798 | 2022-05-29T23:22:04 | 2022-05-29T23:22:55 | 24,009,618 | 29 | 10 | null | 2014-10-26T21:20:28 | 2014-09-14T00:17:29 | C | UTF-8 | C++ | false | false | 493 | cpp | #include <cstdio>
#include <cstdlib>
#include "managem_utils.h"
#include "2D_utils.h"
#include "cmdline_options.h"
#include "workers.h"
int main(int argc, char** argv)
{
cmdline_options options = cmdline_options();
options.has_printing();
options.has_extra_search();
options.has_pool_zero(1);
if(!options.parse_a... | [
"crudepatate@gmail.com"
] | crudepatate@gmail.com |
e90d993f293d7d25812623c910d59da40e96045f | 19907e496cfaf4d59030ff06a90dc7b14db939fc | /POC/oracle_dapp/node_modules/wrtc/third_party/webrtc/include/chromium/src/chromeos/network/network_connection_handler.h | fc38ce39cbb8911fc10ab1fb2d0b9753b0a1d420 | [
"BSD-2-Clause"
] | permissive | ATMatrix/demo | c10734441f21e24b89054842871a31fec19158e4 | e71a3421c75ccdeac14eafba38f31cf92d0b2354 | refs/heads/master | 2020-12-02T20:53:29.214857 | 2017-08-28T05:49:35 | 2017-08-28T05:49:35 | 96,223,899 | 8 | 4 | null | 2017-08-28T05:49:36 | 2017-07-04T13:59:26 | JavaScript | UTF-8 | C++ | false | false | 10,568 | h | // 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.
#ifndef CHROMEOS_NETWORK_NETWORK_CONNECTION_HANDLER_H_
#define CHROMEOS_NETWORK_NETWORK_CONNECTION_HANDLER_H_
#include <map>
#include <set>
#include ... | [
"steven.jun.liu@qq.com"
] | steven.jun.liu@qq.com |
1e47c550b3fa17ce7d87fee20fe1a3441bb590e0 | b207b13659b33b7d6b7b721fc7db811465e6d932 | /old2/plugins/simpler.h | 7a02c3a294316df6b6eb39e838aaa4a1a9458fc9 | [] | no_license | BackupTheBerlios/reshaked-svn | c99570088cb79a2b1900115a3d1f5a9c095f59d5 | d9a6b614b3d8aa486d8b5bf05e46fe564476dae4 | refs/heads/master | 2020-06-02T18:17:32.828688 | 2008-08-20T17:28:16 | 2008-08-20T17:28:16 | 40,818,420 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,931 | h | //
// C++ Interface: simpler
//
// Description:
//
//
// Author: red <red@killy>, (C) 2006
//
// Copyright: See COPYING file that comes with this distribution
//
//
#ifndef RESHAKEDSIMPLER_H
#define RESHAKEDSIMPLER_H
#include "engine/sound_plugin.h"
#include "dsp/midi_synth.h"
#include "dsp/sample.h"
#include "dsp/... | [
"reduz@f29b5cec-baf9-0310-81f7-bdff227380de"
] | reduz@f29b5cec-baf9-0310-81f7-bdff227380de |
e3a7d90dc86045116b66c865bbd10a833ef52643 | a0f781969ec342ada08a0e780213e25d3a5ba3cc | /weekend/hittable_list.h | c483a0fca6016d7f0aaf0efabcf5526fabc59b55 | [] | no_license | WT26/weekend | 7b7374d274ff820776b0e279f8b50269527a346a | 6f2673acdce365f82f14745632c2354290ba0bda | refs/heads/main | 2023-07-19T03:40:32.389882 | 2021-09-13T09:21:19 | 2021-09-13T09:21:19 | 404,369,425 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,052 | h | #ifndef HITTABLE_LIST_H
#define HITTABLE_LIST_H
#include "hittable.h"
#include <memory>
#include <vector>
using std::shared_ptr;
using std::make_shared;
class hittable_list : public hittable {
public:
hittable_list() {}
hittable_list(shared_ptr<hittable> object) { add(object); }
void cl... | [
"joel@DESKTOP-TORPGTD.localdomain"
] | joel@DESKTOP-TORPGTD.localdomain |
98fc7e117d3e21cbded29dfd03b6372bd5c40819 | 54001b746c70dff858b0b6310ab65958d0b2f7f1 | /Thesis/RPGWithNoCombat/Code/Game/Collision/CircleCollision.hpp | 704d09e20c684affba77192dad4e37ba97190dbe | [] | no_license | atbaird/ProceduralSystemsForNonCombatRPG | 024bccb62d997f430d8c5283d837cddfb386ff95 | 70ae98a38f89e74339b46422ff6ab02a9a584f9b | refs/heads/master | 2021-01-20T13:27:36.642071 | 2017-05-06T23:20:03 | 2017-05-06T23:20:03 | 90,496,215 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 479 | hpp | #pragma once
#ifndef CIRCLECOLLISION_HPP
#define CIRCLECOLLISION_HPP
#include "Game/Collision/Collision.hpp"
class CircleCollision : public Collision
{
private:
protected:
float m_radius = 0.45f;
public:
//Constructors
CircleCollision();
virtual ~CircleCollision();
//Setters
void SetRadius(float radius);
//G... | [
"atbaird@smu.edu"
] | atbaird@smu.edu |
cfc26f149d1e622017f730883cfd098139765561 | a301c2312197e7acda7a4f1b315e95cf01d1cb1d | /GameEngine/GameEngine.cpp | 46e150acec32d5c45a2565dfc0a500d05f6e91a6 | [] | no_license | acaskanette/MazeGame | 393e60751d8a13a43f200209a9c311fb09645145 | 22728d539226723a7a1421ef15dbd7eb1133ccbb | refs/heads/master | 2021-01-17T14:25:41.169296 | 2016-08-09T15:50:49 | 2016-08-09T15:50:49 | 52,488,275 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 4,196 | cpp | #include "GameEngine.h"
#include <GL/glew.h>
#include <GLM/glm.hpp>
#include "LogManager.h"
void GameEngine::Run() {
Initialize();
GameTime gameTime;
gameTime.startTime = (int)SDL_GetTicks() / 1000.0F;
int frameTicks = 0, lastTicks = 0;
// Game Loop
while (m_state != GameState::EXIT) {
//... | [
"MisterMiao@users.noreply.github.com"
] | MisterMiao@users.noreply.github.com |
c04fc2dba945f1ff7f7aa66f923858f9e4bdd4dc | 23d8f23ac25bbffc92c75aee30e62e331b708147 | /viral-advertising.cpp | 90d610f07dc3082f2d354ff82c208e57f754379e | [] | no_license | utupointko/hacker-rank-problems | 3696dddefe284a115324a8939319c9e097e7f4c4 | 48e88184846b0f420d336c0045f3a328f09e6bf4 | refs/heads/master | 2023-03-13T03:58:45.095234 | 2021-03-07T01:45:16 | 2021-03-07T01:45:16 | 336,063,818 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 232 | cpp | int viralAdvertising(int n)
{
int cumulative = 0, shared = 5;
for (int i = 0; i < n; i++)
{
int liked = floor(shared / 2);
cumulative += liked;
shared = liked * 3;
}
return cumulative;
}
| [
"arslan.abdizhalilov@gmail.com"
] | arslan.abdizhalilov@gmail.com |
4676c7c3e751f05ede1fafae6420fcdc3ad87142 | 208954fd3dbf8e674e89ad70ba266a432f66a2b8 | /src/calcserver.cpp | 336ccffbf510e3152fb42612faf43c8db63f4ad1 | [] | no_license | letrthong/gsoap | ebe896f0a9a0402098a06b8f02cbdbee33870e65 | d462ce608ca6492314b4c163962bea1c29006e18 | refs/heads/master | 2021-01-13T16:59:59.941534 | 2016-12-20T18:36:38 | 2016-12-20T18:36:38 | 76,978,762 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,889 | cpp |
#include "soapcalcService.h"
#include "calc.nsmap"
int main(int argc, char **argv)
{
calcService calc;
if (argc < 2)
calc.serve(); /* serve as CGI application */
else
{
int port = atoi(argv[1]);
if (!port)
{
fprintf(stderr, "Usage: calcserver++ <port>\n");
... | [
"letrthong@gamil.com"
] | letrthong@gamil.com |
66d8dbcefada7088eeca2781814a23a429ed8922 | 14582f8c74c28d346399f877b9957d0332ba1c3c | /branches/pstade_1_03_5_head/pstade_subversive/pstade/oven/initial_values.hpp | d5ac976035f8d2089cad76ebc4e5c1256d163890 | [] | no_license | svn2github/p-stade | c7b421be9eeb8327ddd04d3cb36822ba1331a43e | 909b46567aa203d960fe76055adafc3fdc48e8a5 | refs/heads/master | 2016-09-05T22:14:09.460711 | 2014-08-22T08:16:11 | 2014-08-22T08:16:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,203 | hpp | #ifndef BOOST_PP_IS_ITERATING
#ifndef PSTADE_OVEN_INITIAL_VALUES_HPP
#define PSTADE_OVEN_INITIAL_VALUES_HPP
// PStade.Oven
//
// Copyright Shunsuke Sogame 2005-2007.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LIC... | [
"mb2sync@350e9bb6-6311-0410-90c3-be67731b76ec"
] | mb2sync@350e9bb6-6311-0410-90c3-be67731b76ec |
67d20f7a1aa85964cca14745c26d7e38ec216f7f | bd1fea86d862456a2ec9f56d57f8948456d55ee6 | /000/243/386/CWE762_Mismatched_Memory_Management_Routines__new_free_int_06.cpp | 7408ce59eb5ffeb4dd1da6456c75e03fbe93e8c6 | [] | no_license | CU-0xff/juliet-cpp | d62b8485104d8a9160f29213368324c946f38274 | d8586a217bc94cbcfeeec5d39b12d02e9c6045a2 | refs/heads/master | 2021-03-07T15:44:19.446957 | 2020-03-10T12:45:40 | 2020-03-10T12:45:40 | 246,275,244 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 4,754 | cpp | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE762_Mismatched_Memory_Management_Routines__new_free_int_06.cpp
Label Definition File: CWE762_Mismatched_Memory_Management_Routines__new_free.label.xml
Template File: sources-sinks-06.tmpl.cpp
*/
/*
* @description
* CWE: 762 Mismatched Memory Management Routines
* BadS... | [
"frank@fischer.com.mt"
] | frank@fischer.com.mt |
0646253c3f200346589cf4b8ed1cf5d50829871b | b9fccefb37e5b293e30a6ca3071c2b23f4cb7351 | /Game/AI_ToggleShield.h | 6c5db5dc1009952d352e96c3f80eb38c37f2a510 | [] | no_license | qavenger97/Automaton-Assault | bb60fe07b52bd78521410a3e874f02a20290fa72 | 616c1dedabfe649f31b064c5024d4bad6c2b0876 | refs/heads/master | 2020-12-31T07:11:33.554420 | 2017-01-31T22:04:42 | 2017-01-31T22:04:42 | 80,561,820 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 367 | h | #pragma once
class Health;
class UnitShield;
class AI_ToggleShield : public Hourglass::IAction
{
public:
void LoadFromXML( tinyxml2::XMLElement* data );
void Init( Hourglass::Entity* entity );
IBehavior::Result Update( Hourglass::Entity* entity );
IBehavior* MakeCopy() const;
private:
uint32_t m_ShieldOn;
... | [
"xque@fullsail.edu"
] | xque@fullsail.edu |
2323355618e2d800cdc66d2b55b761bb1fd0f281 | be7b1a2f97e2c36a9a3c07d28850aec026c5b883 | /Inline/Inliner.hh | f7fb9ca0e92f4ff6add33df9108a4cbe264ecdd6 | [] | no_license | tkaretsos/vygraph | fb6552dc454d36bc63c878af8aa3cf882db543ec | 4a79459eedd74c96b9840b0b96be21844b5e4250 | refs/heads/master | 2016-08-06T12:29:41.300513 | 2015-02-04T16:23:48 | 2015-02-04T16:23:48 | 18,743,666 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,534 | hh | #ifndef VYGRAPH_INLINER_HH
#define VYGRAPH_INLINER_HH
#include <map>
#include <vector>
namespace clang {
class ASTContext;
class CallExpr;
class Rewriter;
class SourceLocation;
class Stmt;
}
namespace vy {
namespace util {
class ClangBaseWrapper;
}
/**
* @brief Class that performs the actual inlining of a use... | [
"karetsosjr@gmail.com"
] | karetsosjr@gmail.com |
630a9e591c23bd0db296b2c4e0801861d63b0795 | 30bdd8ab897e056f0fb2f9937dcf2f608c1fd06a | /scrape/data/Tokitsukaze and Discard Items/Engineer124_A.cpp | 2470988d895803aae5df19685134fb53675d4897 | [] | no_license | thegamer1907/Code_Analysis | 0a2bb97a9fb5faf01d983c223d9715eb419b7519 | 48079e399321b585efc8a2c6a84c25e2e7a22a61 | refs/heads/master | 2020-05-27T01:20:55.921937 | 2019-11-20T11:15:11 | 2019-11-20T11:15:11 | 188,403,594 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 646 | cpp | #include <bits/stdc++.h>
using namespace std;
long long n,m,k,x;
vector<long long> v;
int main(void)
{
ios_base::sync_with_stdio(0);
cin.tie(0);
cin>>n>>m>>k;
for(int i=0;i<m;i++)
{
cin>>x;
v.push_back(x);
}
long long cnt = 0 , i =0 , deleted=0 ;
whil... | [
"harshitagar1907@gmail.com"
] | harshitagar1907@gmail.com |
a6af1c8409daa4c40cb402c96db9bb1562630aa4 | 39f5ed1178375c65876323589a03ef5daf6e4739 | /chromeos/services/multidevice_setup/fake_host_backend_delegate.h | 61594c05a9cd0fe7efada9a26765e2a95db9bd37 | [
"BSD-3-Clause"
] | permissive | berber1016/chromium | 2718166c02fcb3aad24cc3bd326a4f8d2d7c0cae | 9dc373d511536c916dec337b4ccc53106967d28d | refs/heads/main | 2023-03-21T21:53:55.686443 | 2021-05-14T10:13:20 | 2021-05-14T10:13:20 | 367,332,075 | 1 | 0 | BSD-3-Clause | 2021-05-14T10:46:30 | 2021-05-14T10:46:29 | null | UTF-8 | C++ | false | false | 2,739 | h | // Copyright 2018 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 CHROMEOS_SERVICES_MULTIDEVICE_SETUP_FAKE_HOST_BACKEND_DELEGATE_H_
#define CHROMEOS_SERVICES_MULTIDEVICE_SETUP_FAKE_HOST_BACKEND_DELEGATE_H_
#incl... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
2d55ddbf7bcffff55b161afd449ed45813d4ef0a | 9cc827b2bffd8bd491eeebee5f8b89e4737b6d1d | /loadgen/bindings/c_api.cc | f40696fa10e1ee4b28b5335e5763db8415d2d846 | [
"Apache-2.0"
] | permissive | minus-one/inference | 30aacc3a63ccf24fd19a9cc9f270a24c832f5715 | a1557b2fd819740a8e47bf63998e68b0ccb9ab68 | refs/heads/master | 2020-04-18T00:03:57.345338 | 2019-07-01T21:35:52 | 2019-07-01T21:35:52 | 167,061,881 | 0 | 0 | Apache-2.0 | 2019-04-01T18:37:11 | 2019-01-22T20:24:41 | Python | UTF-8 | C++ | false | false | 5,451 | cc | /* Copyright 2019 The MLPerf 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 agreed t... | [
"brianderson@google.com"
] | brianderson@google.com |
08bbea0c668bceafd3b65f630e70058a3c7a196c | 646d9fca028ed30d57961662061d3c779b4e409f | /OOPS/Dynamic Array/DynamicArrayUse.cpp | 7821384eb7edc9ed5a6e49162edda45a0e4b6543 | [] | no_license | yakshitbindal/CP-Repo | 3e2553ea61c5ab30502033ab78438d1bd6de64af | 94fa04b557a50961ad273e97e617ed862ffe080f | refs/heads/master | 2022-12-22T20:19:28.113184 | 2020-09-30T13:50:17 | 2020-09-30T13:50:17 | 299,930,489 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 361 | cpp | #include<bits/stdc++.h>
using namespace std;
#include"DynamicArrayClass.cpp"
int main()
{
DynamicArray d1;
d1.add(10);
d1.add(20);
d1.add(30);
d1.add(40);
d1.add(50);
d1.add(60);
d1.add(70);
d1.print();
DynamicArray d2(d1); //copy constructor
d1.add(0,100);
d2.print();
... | [
"yakshitbinda@gmail.com"
] | yakshitbinda@gmail.com |
1bcfc648961931d0fe42148e4396a4738ead3564 | c0caed81b5b3e1498cbca4c1627513c456908e38 | /src/core/optimization/CartesianMinimizerMap.fwd.hh | e0570ed12f6c179586423ab00715a25867f587b1 | [] | no_license | malaifa/source | 5b34ac0a4e7777265b291fc824da8837ecc3ee84 | fc0af245885de0fb82e0a1144422796a6674aeae | refs/heads/master | 2021-01-19T22:10:22.942155 | 2017-04-19T14:13:07 | 2017-04-19T14:13:07 | 88,761,668 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,189 | hh | // -*- mode:c++;tab-width:2;indent-tabs-mode:t;show-trailing-whitespace:t;rm-trailing-spaces:t -*-
// vi: set ts=2 noet:
//
// (c) Copyright Rosetta Commons Member Institutions.
// (c) This file is part of the Rosetta software suite and is made available under license.
// (c) The Rosetta software is developed by the co... | [
"malaifa@yahoo.com"
] | malaifa@yahoo.com |
412246b8e6022df1008745a4751d51498af4956d | 43684e39b57acada47c3d640dc3e1ebf7330d81c | /Progs/202009/105/programs.cpp | fb82c0a0771666daa61195f0e42a939207ec48db | [] | no_license | rader90/project | 9826300d8d0baeb18c3e433540a1429e57559d81 | d4ffabead331c821f617a058854b7a814e428fa5 | refs/heads/master | 2023-01-11T19:56:04.919070 | 2020-11-03T11:52:13 | 2020-11-03T11:52:13 | 255,385,720 | 2 | 0 | null | 2020-04-16T12:26:24 | 2020-04-13T16:44:13 | null | WINDOWS-1251 | C++ | false | false | 586 | cpp | // Подключение стандартной библиотеки ввода-вывода
#include <iostream>
#include <vector>
#include <ctime>
#include <cstdlib>
// Подключение пространства имен std
using namespace std;
int main(void){
// Смена кодировки cp1251
system("chcp 1251 > null");
// Объявление переменных
int i,j,n,m;
cout << "Введите высоту... | [
"13xr@mail.ru"
] | 13xr@mail.ru |
6dca36fe8e23a73d36eb1859f8b753b8d13ca52c | 09752b111faebfd9a317acc43596323702ec7271 | /src/feverrpc/feverrpc.hpp | 9ee0359d7fffdcc203ff526d83130174c7d8000d | [] | no_license | ciyaca/client | e8fff0af69f1691cbae3a162a23f2b1a3805a48d | b39205ee3445244b1a2cb43ad7e732453adf10c7 | refs/heads/master | 2022-10-07T15:32:27.183451 | 2020-06-06T04:52:41 | 2020-06-06T04:52:41 | 259,004,149 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,275 | hpp | /*!
* \file feverrpc.cpp
* \brief 一个基于Socket长连接双向RPC框架,嵌入了登录认证功能。
*
* https://github.com/Courier-Developer/feverrpc
* 使用TCP/Socket长连接
* 双向RPC
* 支持任意长度、类型参数绑定
* 基于Msgpack,可自定义序列化类型
* Socket支持任意大小传输功能(int)
* 支持多线程,有多线程调度模块
* 服务端线程可相互通信
* 嵌入登录功能
*
* \author 冯开宇
* \version 0.1
* \date 2019-9... | [
"www.publicforme.com@gmail.com"
] | www.publicforme.com@gmail.com |
93b09529776d5c9a54828b4ec463ed8504f8bd32 | 0cab542096209108aa4b9eba8bde1188e917c555 | /marian/src/models/model_base.h | 878f317cad1e17ab549c7507dd276c88ec9fb5cc | [
"MIT"
] | permissive | lkfo415579/decoder | 6a270120de49c82ef102a7d8af671a523258b16a | 592711c82d7ad5583a966a9b6809e498b1a6e937 | refs/heads/master | 2021-05-11T04:01:58.318593 | 2018-01-18T04:02:50 | 2018-01-18T04:02:50 | 117,930,262 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 741 | h | #pragma once
#include <string>
#include "data/batch.h"
#include "graph/expression_graph.h"
namespace marian {
namespace models {
class ModelBase {
public:
virtual void load(Ptr<ExpressionGraph>, const std::string&) = 0;
virtual void save(Ptr<ExpressionGraph>,
const std::string&,
... | [
"lkfo415579@hotmail.com"
] | lkfo415579@hotmail.com |
b04f817ed837a0d177cf38050453ff618c2ab29f | 4a115a68cd4b8d84566b7d92fa960a9ab8d6592f | /Flyweight/Flyweight.cpp | 6f616cdc390f47ecb9c2704a372a1663da667ccc | [] | no_license | gml1988/DesignPattern | 2f705f4abe5ab1957505df201ccdefb4d0524c70 | 12566efb15e56a7e89ac75db58adae3bdde8ef94 | refs/heads/master | 2020-12-30T23:47:41.734695 | 2017-03-29T15:00:54 | 2017-03-29T15:00:54 | 86,595,764 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,735 | cpp | #include "Flyweight.h"
#include <stdio.h>
#include <map>
#include <string>
namespace DesignPattern
{
Flyweight * FlyweightFactory::GetFlyWeight(const std::string strFlyweightKey)
{
if ( IsExisted( strFlyweightKey ) )
return m_FlyweightMap[strFlyweightKey];
Flyweight * pFlyweight = NULL;
//在这里每个ConcreteFlywe... | [
"migong@microsoft.com"
] | migong@microsoft.com |
263081a401d7e942284431045f589cbf27c374c7 | c591b56220405b715c1aaa08692023fca61f22d4 | /Prachi bansal/Milestone-7/Question-43.cpp | 892b7d7cba7185b471d1173a4935979c20a08e0f | [] | no_license | Girl-Code-It/Beginner-CPP-Submissions | ea99a2bcf8377beecba811d813dafc2593ea0ad9 | f6c80a2e08e2fe46b2af1164189272019759935b | refs/heads/master | 2022-07-24T22:37:18.878256 | 2021-11-16T04:43:08 | 2021-11-16T04:43:08 | 263,825,293 | 37 | 105 | null | 2023-06-05T09:16:10 | 2020-05-14T05:39:40 | C++ | UTF-8 | C++ | false | false | 261 | cpp | #include<iostream>
#include<math.h>
using namespace std;
int main(){
int i=0,n,d,deci=0;
cout<<"Enter the octal number: ";
cin>>n;
cout<<"\nThe decimal number is: ";
while(n!=0){
d=n%10;
deci+=d*pow(8,i);
n/=10;
i++;
}
cout<<deci;
return 0;
}
| [
"prachibansal2111@gmail.com"
] | prachibansal2111@gmail.com |
46b52e5eb3f7c41809b3c3fb5f24f83d07d32439 | 93c967df51334773c2d024f9580f2b0fe4e27550 | /4Delphi/jvcl/examples/JvSimpleXML Encode/BCB/JvSimpleXMLEncodeDemo.cpp | bd46e5d39391d86513c37e373cbe7506ee480d8b | [] | no_license | kaan3434/gvindelen | 2e847be39413ade1c55342380652d3a8571840dc | 4f8e53ccda19a0f9548ccb13b47556bbade1fcf7 | refs/heads/master | 2020-03-31T00:53:53.817915 | 2015-01-29T08:35:29 | 2015-01-29T08:35:29 | 42,419,453 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,854 | cpp | /******************************************************************
JEDI-VCL Demo
Copyright (C) 2004 Project JEDI
Original author: Olivier Sannier (obones att altern dott org)
You may retrieve the latest version of this file at the JEDI-JVCL
home page, located at http://jvcl.sour... | [
"gvindelen@25f401a0-76e0-253e-e0f2-f62f10187558"
] | gvindelen@25f401a0-76e0-253e-e0f2-f62f10187558 |
5dff0ca1def5bd511028e344781f409337864c04 | c184b90a1f49427aa20992a1095389e711ecae78 | /toucan/tags/2.0.2/backupprocess.cpp | 7b9e07d5ce5fdbe98fab5a9598c10d7351a27a37 | [] | no_license | cnsuhao/portableapps | 1d9c0e4a925ff8edc89b7a6a1fae5f9cf0aac45d | 38211d347bc47a0830ef2af29fb0d8da627e3703 | refs/heads/master | 2021-09-08T20:46:59.408187 | 2010-10-21T00:31:18 | 2010-10-21T00:31:18 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,084 | cpp | /////////////////////////////////////////////////////////////////////////////////
// Author: Steven Lamerton
// Copyright: Copyright (C) 2007-2008 Steven Lamerton
// License: GNU GPL 2 (See readme for more info)
/////////////////////////////////////////////////////////////////////////////////
#include "back... | [
"steve_lamerton@85dbeb0d-692d-0410-9d2a-c6b154a7e15c"
] | steve_lamerton@85dbeb0d-692d-0410-9d2a-c6b154a7e15c |
7da130b62e2ddb7244eb4e238760a45ee6b211e8 | 37eb9e4b2624f3a8d8954c07359593f27e72c8f0 | /NES/MOS6502/Instructions/Accumulator/Accumulator.h | 47fb4ccb58b680af867d0f16d785302f3eb004a8 | [
"MIT"
] | permissive | MatthewHinton56/NES | a5bdc586af3f2a0428620f4fb26221c9a99e767f | 5ff0249de767ed7a8261566ac32f46e6ea0e98c7 | refs/heads/master | 2022-02-16T23:32:20.035782 | 2019-08-14T06:22:28 | 2019-08-14T06:22:28 | 197,897,515 | 0 | 0 | MIT | 2019-08-13T08:50:54 | 2019-07-20T07:45:59 | C++ | UTF-8 | C++ | false | false | 754 | h | #pragma once
#include "../Instruction.h"
#include "AccumulatorConstants.h"
namespace mos6502
{
class Accumulator : public Instruction
{
public:
Accumulator
(
Byte opcode
);
virtual int32_t step
(
Word& PC,
RegisterMap& registerMap,
Memory<PAGE_SIZE, NUM_PAGES>& mem
);
int32_t getStepCo... | [
"matthewhinton56@gmail.com"
] | matthewhinton56@gmail.com |
52ff37b4bc624d74f0faa09c5430c95027d57907 | 4a65b0e5b77d57a6dde55e2bf001c415f148ef21 | /Src/EditableStringView.h | 7a884c00962a995282e58272d086473431e3e422 | [
"MIT"
] | permissive | thinkpractice/bme | 99829da10f79b224cececb996ba1480d11dab2d1 | 8f55457fa2900e41ff112188b8683b4312e99d73 | refs/heads/master | 2021-06-01T22:26:05.779520 | 2016-11-19T17:24:40 | 2016-11-19T17:24:40 | 56,915,046 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,694 | h | /*****************************************************************
* Copyright (c) 2005 Tim de Jong *
* *
* All rights reserved. *
* Distributed under the terms of the MIT License. *
*****************************************************************/
#ifndef ED... | [
"opensource@thinkpractice.nl"
] | opensource@thinkpractice.nl |
ccf4626e695f0d6d2e207d3316d634bb492f4178 | 4bf2ee10c6594f70c32feb3bcb50eec186daa9cf | /solutions/1509/1509.cpp14.cpp | 82dbb4f658050ef28faf4ce69cec16f034c8d1d1 | [] | no_license | jwvg0425/boj | 7674928dc012ba3c404cef3a76aa753828e09761 | 4b7e7389cbe55270bd0dab546d6e84817477b0f1 | refs/heads/master | 2020-07-14T02:37:36.658675 | 2017-07-13T06:11:44 | 2017-07-13T06:11:44 | 94,295,654 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 923 | cpp | #include <stdio.h>
#include <vector>
#include <iostream>
#include <string>
#include <algorithm>
#include <set>
#include <map>
#include <stack>
#include <queue>
#include <tuple>
#include <memory.h>
bool isPalindrome[2501][2501];
int main()
{
std::string s;
std::cin >> s;
for (int i = 0; i < s.size(); i++)
isPali... | [
"jwvg0425@naver.com"
] | jwvg0425@naver.com |
d90b4784385ccae1f71afc0d90f18c8abb7474ef | b4b1fab7c1e62cb8242bf681c4dfcf85ccc7fba0 | /leetcode/validate-binary-search-tree-98.cpp | 9ade69820b667de886cc27509f35e4106bb19e49 | [] | no_license | qianlv/learning | 1dea4af07c60f065a2d4614376c864bea2cf99d4 | c48038dfdbac94fd2cf9f75cd6ebe5d8b9f93355 | refs/heads/master | 2021-06-22T13:19:43.852304 | 2021-01-25T09:40:16 | 2021-01-25T09:40:16 | 35,586,205 | 5 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,502 | cpp | /*
* =====================================================================================
*
* Filename: validate-binary-search-tree-98.cpp
*
* Description: validate binary search tree
*
* Version: 1.0
* Created: 2016年06月06日 10时53分05秒
* Revision: none
* Compiler: gcc
... | [
"qianlv7@qq.com"
] | qianlv7@qq.com |
07dcefb71b8f8b4cab49f7a779e7efc1acacf518 | 99e23e3780e47c8c9cae39f31f7c675ccdf9d091 | /src/View/Renderer/OpenGL/FileIO.hpp | dc90be9682d2d0cabbc8ad1f5111530adb343dbd | [
"MIT"
] | permissive | charlieSewell/ICT397-Game-Engine | 2781db2a441c62e8bfbd11abca9da3e6f7910942 | 64d44edfcf397ea0a1133680f908f74ea8bafb22 | refs/heads/develop | 2023-07-08T00:05:11.153191 | 2021-08-10T13:27:01 | 2021-08-10T13:27:01 | 308,914,426 | 1 | 0 | null | 2021-04-08T16:01:57 | 2020-10-31T15:40:45 | C | UTF-8 | C++ | false | false | 648 | hpp | //
// Created by charl on 10/03/2021.
//
#ifndef ICT397_GAME_ENGINE_FILEIO_HPP
#define ICT397_GAME_ENGINE_FILEIO_HPP
#include <iostream>
/**
* Loads a texture from a file and returns its data
* @param string - filename
* @param int& - width
* @param int& - height
* @param int& - nrComponents
* @param int& - reqC... | [
"charliesewell@live.com"
] | charliesewell@live.com |
0fe3af2bc6df2580d4843b89ccd6af2e95928deb | d0c44dd3da2ef8c0ff835982a437946cbf4d2940 | /cmake-build-debug/programs_tiling/function13892/function13892_schedule_33/function13892_schedule_33.cpp | c8296f5476cd1772e4f7662ecd2ae57f4ab614a6 | [] | no_license | IsraMekki/tiramisu_code_generator | 8b3f1d63cff62ba9f5242c019058d5a3119184a3 | 5a259d8e244af452e5301126683fa4320c2047a3 | refs/heads/master | 2020-04-29T17:27:57.987172 | 2019-04-23T16:50:32 | 2019-04-23T16:50:32 | 176,297,755 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,656 | cpp | #include <tiramisu/tiramisu.h>
using namespace tiramisu;
int main(int argc, char **argv){
tiramisu::init("function13892_schedule_33");
constant c0("c0", 256), c1("c1", 512), c2("c2", 512);
var i0("i0", 0, c0), i1("i1", 0, c1), i2("i2", 0, c2), i01("i01"), i02("i02"), i03("i03"), i04("i04"), i05("i05"), ... | [
"ei_mekki@esi.dz"
] | ei_mekki@esi.dz |
bfa451bbdd3ec11956b4a7ad673ab07eb5b03d88 | 0cde00266bddbb1abc159b011116c8a137cf21ec | /Dependencies/CppWinRT/winrt/impl/Windows.Media.Effects.0.h | e1be1833f7db02693e4069fccafddcc7fbe9158a | [
"Apache-2.0"
] | permissive | npstar/NavioIoT | 83071b4bba8b7f234187566114bf41371a443c43 | 419c8eb40f86c23e5ebe96cf1ad5f5cbc9a0ba4c | refs/heads/master | 2020-04-08T16:21:37.310348 | 2017-10-05T19:35:41 | 2017-10-05T19:35:41 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 38,209 | h | // C++/WinRT v1.0.170825.9
// Copyright (c) 2017 Microsoft Corporation. All rights reserved.
#pragma once
WINRT_EXPORT namespace winrt::Windows::Foundation::Collections {
struct IPropertySet;
}
WINRT_EXPORT namespace winrt::Windows::Graphics::DirectX::Direct3D11 {
struct IDirect3DDevice;
struct IDirect3DSurface;... | [
"tony@tonywall.com"
] | tony@tonywall.com |
9c9d965731a4236c0c4f8851f8929daf0dcd758b | 6628cd493fbe92c2079ff275d53540648314fa32 | /Onlinejudge/1101 - Sequence of Numbers and Sum.cpp | 12dc80f09f2a7bc83db9806f685631e0f734ccaa | [] | no_license | sebicarhat/Cplusplus | e48b77162ea3989aa80612856444984f54a586b7 | 1a7999c1cb4f4ac4e7d7e25e1fb0b998d2dd75bc | refs/heads/master | 2020-04-11T00:21:36.257888 | 2019-06-12T09:18:13 | 2019-06-12T09:18:13 | 160,858,408 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 491 | cpp | #include<iostream>
using namespace std;
int main()
{
int x,v[1000],i,a[1000],s,j;
for(i=1;i<=1000;i++)
{
cin>>v[i]>>a[i];
if(v[i]>0 && a[i]>0)
{
s=0;
if(v[i]<a[i])
{
for(j=v[i];j<=a[i];++j)
{
s=s+j;
cout<<j<<" ";
}
cout<<"Sum="<<s<<"\n";
}
else
if(v[i]>a[i])
{
for(j... | [
"45130729+sebicarhat@users.noreply.github.com"
] | 45130729+sebicarhat@users.noreply.github.com |
6f2ecfb874365224bfa66b360ec7fe747d7ccf57 | 22d95c0d1dd2d4c8cca1b9b6e26fd84e71deb4d4 | /电工基础1本/实验1实验注意事项.h | 21771cb88603aacd33c750dc120cc8c944891653 | [] | no_license | xujunmingbest/KBE-5001_software | a4463b9c5168fc9407d27e1de34b5e240abc30e5 | 45fb59d8427867b0a985aaff84b6a56d91694870 | refs/heads/master | 2021-09-16T18:39:24.691502 | 2018-06-23T09:02:37 | 2018-06-23T09:02:37 | 130,618,796 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 5,228 | h | #pragma once
extern bool 实验1实验注意事项IsOpened;
namespace 电工基础1本 {
using namespace System;
using namespace System::ComponentModel;
using namespace System::Collections;
using namespace System::Windows::Forms;
using namespace System::Data;
using namespace System::Drawing;
/// <summary>
/// 实验1实验注意事项 摘要
/// </summa... | [
"925271237@qq.com"
] | 925271237@qq.com |
d3f8d8c024041b57046c3e140646e88aa05fe9ec | f2ee0909c84a3ee64a21be8118e252602f945808 | /POJ/1177/11802705_WA.cpp | 6e2e9be4a02901acde676815f80c447d052e218e | [] | no_license | zhsl/OJSolutions | 498d5ec8f5101f7848b72a78b7188ef8d177b38f | c6a390bf839105b39dfb33194604841197e58472 | refs/heads/master | 2021-01-12T09:29:59.063957 | 2017-03-19T07:06:54 | 2017-03-19T07:06:54 | 76,168,886 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,405 | cpp | #include <functional>
#include <algorithm>
#include <iostream>
//#include <ext/rope>
#include <fstream>
#include <sstream>
#include <iomanip>
#include <numeric>
#include <cstring>
#include <cassert>
#include <cstdio>
#include <string>
#include <vector>
#include <bitset>
#include <queue>
#include <stack>
... | [
"zhanghsl.it@foxmail.com"
] | zhanghsl.it@foxmail.com |
3b6dd111d4f0690caed3c750c94364966fe8cdd7 | a7e9830ff819a23b07e80e46d916c5bc87f33532 | /Assignment29B-GlTranslate/Assignment29B-GlTranslate/Assignment29B-GlTranslate.cpp | e11623b9d1c7e6146f00aad45e0cdf35ae1b4743 | [] | no_license | zodgevaibhav/OpenGL-Native | f7679ac13a2075e1eab61299926c7f66bd65f4a9 | e9441acbca3c8743c912f8b37429951043e1e614 | refs/heads/master | 2021-09-01T11:43:38.285521 | 2017-12-26T19:06:07 | 2017-12-26T19:06:07 | 92,748,451 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,816 | cpp | #include<windows.h>
#include<gl/GL.h>
#define WIN_WIDTH 800
#define WIN_HEIGHT 600
#pragma comment(lib,"opengl32.lib")
LRESULT CALLBACK WndProc(HWND, UINT, WPARAM, LPARAM);
HBRUSH hBrushForBColor;
HWND ghwnd = NULL;
HDC ghdc = NULL;
HGLRC ghrc = NULL;
GLclampf red = 0.0f;
GLclampf green = 0.0f;
GLclampf blue = 0.0... | [
"zodgevaibhav@gmail.com"
] | zodgevaibhav@gmail.com |
d6782a7700c78b2f9dbc263f0017e97cf7aa38e0 | c8b39acfd4a857dc15ed3375e0d93e75fa3f1f64 | /Engine/Source/ThirdParty/ICU/icu4c-53_1/source/common/uprops.cpp | b42dba1483230e7b0d82c6589069d74f68855866 | [
"ICU",
"NAIST-2003",
"LicenseRef-scancode-unicode",
"BSD-3-Clause",
"LicenseRef-scancode-public-domain",
"BSD-2-Clause",
"MIT",
"LicenseRef-scancode-proprietary-license"
] | permissive | windystrife/UnrealEngine_NVIDIAGameWorks | c3c7863083653caf1bc67d3ef104fb4b9f302e2a | b50e6338a7c5b26374d66306ebc7807541ff815e | refs/heads/4.18-GameWorks | 2023-03-11T02:50:08.471040 | 2022-01-13T20:50:29 | 2022-01-13T20:50:29 | 124,100,479 | 262 | 179 | MIT | 2022-12-16T05:36:38 | 2018-03-06T15:44:09 | C++ | UTF-8 | C++ | false | false | 24,614 | cpp | /*
*******************************************************************************
*
* Copyright (C) 2002-2013, International Business Machines
* Corporation and others. All Rights Reserved.
*
*******************************************************************************
* file name: uprops.cpp
* encoding: ... | [
"tungnt.rec@gmail.com"
] | tungnt.rec@gmail.com |
8a38daa87a23a6a84ddc930e58b6ea73e9d12903 | bc90395b5c6fd005a45a8de0d79b65fdc4bbb854 | /src/LambdaToKsSubstitution.h | 430fcdc8c7bf4a8eb2c08fc30797efe7c61afd84 | [] | no_license | cvoss/DaVinciCoding | 0c282043947033979eab241f6d2977b4cf0c6534 | 8dfcf1e73db721e94e8cd065658b767efa7cf003 | refs/heads/master | 2021-01-12T05:36:18.827354 | 2016-12-22T13:29:23 | 2016-12-22T13:29:23 | 77,146,601 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,020 | h | #ifndef LAMBDATOKSSUBSTITUTION_H
#define LAMBDATOKSSUBSTITUTION_H 1
// Include files
// from Gaudi
#include "GaudiAlg/GaudiTool.h"
#include "IParticleManipulator.h" // Interface
/** @class LambdaToKsSubstitution LambdaToKsSubstitution.h
*
*
* @author Christian Voss
* @date 2014-06-23
*/
class ... | [
"cvoss@lxblade03.physik.rwth-aachen.de"
] | cvoss@lxblade03.physik.rwth-aachen.de |
02861b78b3cf7571b1f31c321076664a56a16512 | a3f3318c67032a1ca231028d316d5896baaf4dcb | /CA Simulator/CA Simulator.h | 75420a9b911e27f47bde827be1585c95cd6a23bd | [] | no_license | 0000duck/Cellular-Automata-Simulator | 6f18c3477ae2eddfd59f8e1c44180a35f955e05b | 3062b679152ef6c67cdc218fcf23f8aba6367916 | refs/heads/master | 2020-04-15T10:23:04.957936 | 2018-05-18T15:39:11 | 2018-05-18T15:39:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 502 | h |
// CA Simulator.h : main header file for the PROJECT_NAME application
//
#pragma once
#ifndef __AFXWIN_H__
#error "include 'stdafx.h' before including this file for PCH"
#endif
#include "resource.h" // main symbols
// CASimulatorApp:
// See CA Simulator.cpp for the implementation of this class
//
class CASimul... | [
"30803548+SamiJones@users.noreply.github.com"
] | 30803548+SamiJones@users.noreply.github.com |
22fa2779f016c5d2a1cfdb11c0e4d62c39d6dae8 | a873ae232a3577a796a7deefa193c81977b3cdd5 | /Lec02/sum2.cpp | 781bf57cb37275f94a6167923391bb1162494454 | [] | no_license | ucsb-cs16-su17/code-from-class | 9053cbfb8dacbdade6f774f6f8381c46b2a1e041 | 211dc93c750181063eab21d81caffb4b8be1f772 | refs/heads/master | 2020-04-05T12:34:04.419765 | 2017-08-29T23:17:48 | 2017-08-29T23:17:48 | 95,152,409 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 321 | cpp | #include <iostream>
#include <cassert>
using namespace std;
int main() {
int n;
cout << "Enter n\n";
cin >> n;
double sum = 0.0;
for (int i = 1; i <= n; i = i + 1) {
sum = sum + 1.0/i;
}
cout << "Sum of the first " << n
<< " terms is: " << sum << endl;
return 0;
... | [
"lawtonnichols@gmail.com"
] | lawtonnichols@gmail.com |
37524898d585a5a4a04984e1a3c20fdee1cedb78 | 26a6b4885f6d5b82275c2497521276d4dc8f9909 | /pkg/common/src/opt_basic_parser.h | 5ee58dcd8ef44a4a9ac88e154e7a9af123bfc797 | [] | no_license | aaaa11140/SWK | 151fd58a8cd1422c89a5458673520a5fba6f9c2f | 99ce3fefadab55eb66772b9b7b1db1cdb7ff65dc | refs/heads/master | 2021-01-10T14:45:12.690043 | 2015-11-23T09:51:19 | 2015-11-23T09:51:19 | 46,690,365 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,464 | h | // **************************************************************************
// File [ opt_basic_parser.h ]
// Author [ littleshamoo ]
// Synopsis [ ]
// History [ Version 2.0 2014/01/01 ]
// **************************************************************************
#ifndef __OPT_BASIC_PARSER_H__
#defi... | [
"aaaa11140@gmail.com"
] | aaaa11140@gmail.com |
77befcc703f6d89930bb38b959c9ea78be7aae87 | ee70770dc306afe31617a3d59b518ebb3ec69ccb | /mainwindow.cpp | 624003a280597878c5c4373ba54c6755469508d1 | [] | no_license | TianJM/TankSurface | b8c50ab2c81e88dcc5503e7c5e29c559388b74ed | f08f63abacb865b4d2e8fb0ddd4604dcd35aae36 | refs/heads/master | 2021-07-12T13:35:40.184855 | 2017-10-16T11:20:58 | 2017-10-16T11:20:58 | 107,126,180 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,841 | cpp | #include "mainwindow.h"
#include "ui_mainwindow.h"
MainWindow::MainWindow(QWidget *parent) :
QMainWindow(parent),
ui(new Ui::MainWindow)
{
ui->setupUi(this);
this->setFixedSize(1280,800);
SI_Reader = new Status_Info_Reader();
MainTabWidget = new QTabWidget(this);
MainTabWidget->resize(1280... | [
"tjm6621186@foxmail.com"
] | tjm6621186@foxmail.com |
3a18b2a5b826d3d58489bba161b647f934773bcd | 01c00bfac9b7098fb4bed77c02d580ee5be75e9d | /SeedSizeDLL/SeedSizeDLL/stdafx.cpp | beaed2edc169e145fe8d9a1a745469c6f76d2596 | [] | no_license | ParticularJ/interview | 2dfc9d4e775b9f7b597dbbde176755d7cf8fec04 | a64ccc159736d02f2a5a30cc84e03a58dac4b532 | refs/heads/master | 2021-04-03T08:55:20.815482 | 2019-05-27T10:01:11 | 2019-05-27T10:01:11 | 124,547,456 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 290 | cpp | // stdafx.cpp : source file that includes just the standard includes
// SeedSizeDLL.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
| [
"344409038@qq.com"
] | 344409038@qq.com |
c0e1ccad18938307011309ebf7f2b165e7fc2e2d | 74084cf3c98ef371640715abec5f03def2d6a24a | /backend/lib/XmlStreamReader.h | 9807a1f002972ef2fee4a684f3f51b1c4d0e48a7 | [] | no_license | MehdiChinoune/scidavis-svn | 5e13a6af41fecb0d4285bf19e077977f939f2276 | 0b535c868fcaab2ed3449af2a34deeb41ebf777f | refs/heads/master | 2023-04-22T09:25:45.478708 | 2009-02-06T20:39:14 | 2009-02-06T20:39:14 | 366,032,996 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,946 | h | /***************************************************************************
File : XmlStreamReader.h
Project : SciDAVis
Description : XML stream parser that supports errors as well as warnings
--------------------------------------------------------------------
... | [
"thzs@ee5bfcf9-8b04-45a4-a66c-bec449605a02"
] | thzs@ee5bfcf9-8b04-45a4-a66c-bec449605a02 |
e47b624782f1dba9045c3d741c79791fd56bcfb9 | 39a804932db9a0be6f6c72afd0480fe681c7bbe4 | /Projekt1/Projekt1/Source.cpp | 82d3097929073b93bb9e2cace7727f03da61d592 | [] | no_license | Qbixer/projekt01 | c97a055c0fcd51aadc70bfb3b1d67d52acfb3a19 | 3623e0efe47b9dda1e4badfce3edf900e39c3a55 | refs/heads/master | 2020-12-30T15:21:12.189448 | 2017-05-15T09:42:41 | 2017-05-15T09:42:41 | 91,125,326 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 30,452 | cpp | // GLEW
#define GLEW_STATIC
#include <GL/glew.h>
#include <ft2build.h>
#include FT_FREETYPE_H
// GLFW
#include <GLFW/glfw3.h>
// GL includes
#include "common/shader.h"
#include "common/camera.h"
#include "common/model.h"
// GLM Mathemtics
#include <glm/glm.hpp>
#include <glm/gtc/matrix_transform.hpp>
#include <glm/... | [
"Qbixer@gmail.com"
] | Qbixer@gmail.com |
81defaf286f632a7d970817220370deb749d5c50 | 1608d640598b7eb9164a5f1f84a03e37936de30a | /Piscine/Svgfile.h | 74ac868d68631ea64fd97a132a1049bdcf79c6b7 | [] | no_license | Vakto/Projet-Piscine-2020 | f75ea0af18a992ef30587d212b13bdbe5c3bbc97 | 5f049268d74339b1352c13dd8550fb9c064e4606 | refs/heads/master | 2022-05-23T14:05:43.938066 | 2020-04-28T08:33:15 | 2020-04-28T08:33:15 | 259,119,645 | 0 | 2 | null | 2020-04-28T09:29:11 | 2020-04-26T19:49:55 | C++ | IBM852 | C++ | false | false | 2,085 | h | #ifndef SVGFILE_H_INCLUDED
#define SVGFILE_H_INCLUDED
#include <string>
#include <fstream>
#include <set>
constexpr char defcol[] = "black";
class Svgfile
{
public:
Svgfile(std::string _filename = "output.svg", int _width=1000, int _height=800);
~Svgfile();
void addDisk(double x, double ... | [
"gregoire.charles@edu.ece.fr"
] | gregoire.charles@edu.ece.fr |
99ece11584fb55daf5c250956020c1bcce220797 | b6de8ad7f01c9d973fe7eabc4dde57ff4d4d6160 | /Luxury C++ practice Problem/function and reference, copy generator/1-8.cpp | b4e232d7dc2fd7349fe44572d5320ddad8b477af | [] | no_license | seungminlll3420/C-PP | d33c6f969854e1affed57d91a260de628db62cb8 | e459289d185bbb2350d1326806ede7f53a8037e0 | refs/heads/master | 2020-07-17T09:43:35.637688 | 2019-11-26T19:36:03 | 2019-11-26T19:36:03 | 205,996,375 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 949 | cpp | #include <iostream>
using namespace std;
class MyInStack{
int *p;
int size;
int tos;
public:
MyInStack(){
size = 10;
tos=0;
p = new int[size];
}
MyInStack(int size){
p = new int[size];
this->size = size;
tos = 0;
}
MyInStack(const MyInStack& s){
this->size = s.size;
thi... | [
"45160518+seungminlll3420@users.noreply.github.com"
] | 45160518+seungminlll3420@users.noreply.github.com |
a199800611eb4d7fe0633589f0fb17c35b7f0fa9 | dbf9b5af7e085c80a162391f58f4acfac41c5fff | /wemos_water_flow_sensor_LEDdisplay/wemos_water_flow_sensor_LEDdisplay.ino | 9c43dc8fb883d3bc62871e3638d5d4cf4139879b | [] | no_license | kiranshashiny/wemos_water_flow_sensor | 7235d2dae1397b92fb9ad6b196d9928d959bf27a | b6db840eb7908dcd941bc718d0e3f91353820732 | refs/heads/master | 2020-06-25T21:14:54.947858 | 2019-08-12T09:16:02 | 2019-08-12T09:16:02 | 199,423,796 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,423 | ino | #include <ESP8266WiFi.h>
#include <PubSubClient.h>
#include <Arduino.h>
#include <TM1637Display.h>
// Module connection pins (Digital Pins)
#define CLK D2
#define DIO D3
// The amount of time (in milliseconds) between tests
#define TEST_DELAY 2000
TM1637Display display(CLK, DIO);
byte statusLed = 13;
byte sen... | [
"kiranshashiny@gmail.com"
] | kiranshashiny@gmail.com |
f309293f95d0085546a2cec7fea1cb5fe3ac69e3 | 6f2b4ab47b2369dd8115c8773d8511b9e4c9648c | /F.I. Fondamenti Informatica/ES/IF05/IF05/IF05.cpp | 81782d6884f61038f71a3ed0352148ba02f96d05 | [] | no_license | TheSmallPixel/IOL-IF | 53823f7bd11fd5ec2de3a3640213a4bd658042d3 | 8245568b299e512547f2e79b36c41d83c701421a | refs/heads/master | 2023-02-10T16:33:45.496185 | 2021-01-09T18:36:26 | 2021-01-09T18:36:26 | 299,874,798 | 0 | 0 | null | null | null | null | ISO-8859-13 | C++ | false | false | 1,445 | cpp | // IF05.cpp : Questo file contiene la funzione 'main', in cui inizia e termina l'esecuzione del programma.
//
#include "pch.h";
#include <iostream>;
using namespace std;
void main() {
cout << "inserisci una frase con pił periodi e ti dico il numero piu' grande di caratteri in un periodo e quante parole contine il p... | [
"thesmallpixel@gmail.com"
] | thesmallpixel@gmail.com |
d12ff4a78d0789a1f697974564fcb3613f82ec11 | 23130cd12e38dbce8db8102810edaad70b240ae2 | /lintcode/321.cpp | b6c5d2f2f088cef507debe7f75c29d1d8571ac15 | [
"MIT"
] | permissive | kangli-bionic/algorithm | ee6687c82101088db20f10fb958b4e45e97d3d31 | c3c38723b9c5f1cc745550d89e228f92fd4abfb2 | refs/heads/master | 2023-01-05T09:29:33.204253 | 2020-10-25T17:29:38 | 2020-10-25T17:29:38 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 688 | cpp | /**
* 321. perfect string
* https://www.lintcode.com/problem/perfect-string/description
* 周赛
*/
class Solution {
public:
/**
* @param s: string need to be transformed
* @param k: minimum char can be transformed in one operation
* @return: minimum times to transform all char into '1'
*/
i... | [
"hipaulshi@gmail.com"
] | hipaulshi@gmail.com |
d2243875266a150942e020de87dff2189e7cae87 | fcc2ac035d35cb5ebad7f8048160fb1c1ed0d6bf | /src/gui/widgets/pagecreatecontract.cpp | eafdd88da84f7a2b33a0c8ddbf1630443b792a11 | [] | no_license | mshkhan31/Moneychanger-circleci | ca04594af59d2738de110bbd2a198ce162abac56 | a85a49923a5e2c4e193630ce9596b1358732438d | refs/heads/main | 2023-08-06T02:39:26.960093 | 2021-09-12T17:21:27 | 2021-09-12T17:21:27 | 405,706,803 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,444 | cpp | #ifndef __STABLE_HPP__
#include <core/stable.hpp>
#endif
#include <gui/widgets/pagecreatecontract.hpp>
#include <ui_pagecreatecontract.h>
#include <gui/widgets/wizardaddcontract.hpp>
#include <gui/widgets/dlgchooser.hpp>
#include <gui/widgets/detailedit.hpp>
#include <core/moneychanger.hpp>
#include <QClipboard>
... | [
"mshkhan31@gmail.com"
] | mshkhan31@gmail.com |
572dc1b535e0c8a205c193d36ad1b297749492ff | 49287138599f2e8e38a6bd9280b1dc0cb9d6775a | /abc063/D/main.cpp | 5c5b229f5ae04499191f31ed51ae33b60b2b60e6 | [] | no_license | JotaroS/Atcoder-Jotaro-Solutions | 26569bbe0c56d8634a27a59e1daa8c7921f0ac85 | 35d9489bb7991bad7e493e77c07cbdb3e2aad991 | refs/heads/master | 2022-06-20T12:29:18.189682 | 2022-06-09T23:20:58 | 2022-06-09T23:20:58 | 225,383,180 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,656 | cpp | #include <bits/stdc++.h>
using namespace std;
typedef vector<int> VI;
typedef vector<VI> VVI;
typedef vector<string> VS;
typedef pair<int, int> PII;
typedef long long LL;
typedef long long ll;
#define ALL(a) (a).begin(),(a).end()
#define RALL(a) (a).rbegin(), (a).rend()
#define PB push_back
#define MP make_pair
#defin... | [
"jojojoe77@gmail.com"
] | jojojoe77@gmail.com |
2d344ab4a3fbc9857027e463662684ddd2797fd2 | fdd3662d797e0170189b19aa938d092d6823ad18 | /src/HWUtils.h | 754b523e2aad63769d6ac8b686843e35478bb78f | [
"MIT"
] | permissive | MingmChen/Halide-to-Hardware | b5d3db0206d0daeb0dc1227f82b3a0e7a70fa209 | 62c6f0a2741d9869cade026a6bae92e76c442465 | refs/heads/master | 2020-09-28T10:24:24.809021 | 2019-12-06T00:06:51 | 2019-12-06T00:06:51 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 18,235 | h | #ifndef HALIDE_HW_UTILS_H
#define HALIDE_HW_UTILS_H
#include <string>
#include <vector>
#include "Bounds.h"
#include "HWStencil.h"
#include "IR.h"
#include "IRMutator.h"
#include "IRVisitor.h"
#include "Scope.h"
#include "Simplify.h"
using namespace std;
namespace Halide {
namespace Internal {
std::vector<st... | [
"dillonhuff@gmail.com"
] | dillonhuff@gmail.com |
05041b25b329b978bb6c875d317ecec9d1a7b08a | e217eaf05d0dab8dd339032b6c58636841aa8815 | /Ifc4/src/OpenInfraPlatform/Ifc4/entity/include/IfcAlarmType.h | 14e3afee8e8ba74fce76d658fdf9580b4a8399dd | [] | no_license | bigdoods/OpenInfraPlatform | f7785ebe4cb46e24d7f636e1b4110679d78a4303 | 0266e86a9f25f2ea9ec837d8d340d31a58a83c8e | refs/heads/master | 2021-01-21T03:41:20.124443 | 2016-01-26T23:20:21 | 2016-01-26T23:20:21 | 57,377,206 | 0 | 1 | null | 2016-04-29T10:38:19 | 2016-04-29T10:38:19 | null | UTF-8 | C++ | false | false | 3,532 | h | /*! \verbatim
* \copyright Copyright (c) 2015 Julian Amann. All rights reserved.
* \author Julian Amann <julian.amann@tum.de> (https://www.cms.bgu.tum.de/en/team/amann)
* \brief This file is part of the OpenInfraPlatform.
* \endverbatim
*/
#pragma once
#include <vector>
#include <map>
#include <sstream>
#include... | [
"julian.amann@tum.de"
] | julian.amann@tum.de |
277400a70c36e3bb8c22344dd0e772727e92291a | 9fccd259302c59f9540bddd21fba75ca9983ff0f | /resources/data_structures/AminLinkedList4_HeadTailTemplates.cpp | a0a2661216392797224d2f4bf371ff2123d9ed63 | [] | no_license | aminallam/test | e978ea3bc41fc52fddf590df274980ebe317f6cc | 9ed305e9b0ac613712539c0572b5745068597343 | refs/heads/master | 2021-06-05T01:58:42.680206 | 2021-02-28T16:29:09 | 2021-02-28T16:29:09 | 18,600,527 | 3 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 6,344 | cpp | // Author: Amin Allam
// Program: Linked list with head and tail - templates
#include <iostream>
using namespace std;
///////////////////////////////////////////////////////////////////////////////////////////////
// Declaration of class List, needed for the friend line below
template<class> class List;
template<c... | [
"aminmallam@gmail.com"
] | aminmallam@gmail.com |
24bca8babc64f1088220176d7bd013b0f80bfe40 | 2043ee9b733bdf244801b710d1a3752982a261d0 | /shlee5.3/chapter12/WidgetAndView/qrc_resource.cpp | 61e080cbff6e85e089fd3a420df4a7e53e5edae3 | [] | no_license | batonio/examples | 74cbd31a84d33608b93292b61c5628010029824c | f3663f67fe636b6de8876a7de53f367fdfd93c18 | refs/heads/master | 2020-04-25T19:15:35.168852 | 2019-02-28T01:14:19 | 2019-02-28T01:14:19 | 104,603,417 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 108,688 | cpp | /****************************************************************************
** Resource object code
**
** Created by: The Resource Compiler for Qt version 5.8.0
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/
static const unsig... | [
"2@me.com"
] | 2@me.com |
9dc61df8f4a642099bcc67e7ea171d4a5e494d4f | 6219eefa013c2dbd6492a9a662bfe3853b976664 | /src/cd-parse.cpp | 2d4b182bb6b279051fabdf2292a874e895592f18 | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | Roare/vms-cd-new | b25de979fd6206cd4b3fd47c41a207c48b37deaa | c7154fe544b625ec678d30b3665a4078ff07a326 | refs/heads/main | 2023-02-13T15:18:52.899971 | 2021-01-18T03:53:12 | 2021-01-18T03:53:12 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,079 | cpp | /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/* vim: set ts=8 sts=4 et sw=4 tw=80: */
/*
* Ported from VAX MACRO to C++ by Jake Hamby <jake.hamby@gmail.com>.
* Original source code in [.orig-src].
*/
#define __NEW_STARLET 1
#include "cd.h"
#include "vms-file-ops.h"
#include... | [
"jake.hamby@gmail.com"
] | jake.hamby@gmail.com |
e84be9546240568a9c59e08dc5cbb91b45eff051 | 47ba2d98dda33c0a4ed825ef116c9b664c60af1d | /branch.cpp | e3311ec4b090ecaf91ee68a25567e735f116f2e9 | [] | no_license | TechieDheeraj/vehicleRentalService | 034bb150f22218b660b23bc2568610b8e982be27 | 14aab9a7bfb4e44db622287bd53bba9839a84626 | refs/heads/main | 2023-07-15T20:12:01.123021 | 2021-08-28T10:09:19 | 2021-08-28T10:09:19 | 400,759,072 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 322 | cpp | #include"vehicle.h"
#include"branch.h"
void Branch::allocatePrice(VehicleType vType, int price) {
pricesMap[vType] = price;
}
void Branch::addVehicle(std::string& plate_number, VehicleType vType) {
Vehicle *vObj = new Vehicle(plate_number, vType);
vehicleInfo[vType].push_back(vObj); // adding vehicle to branch
... | [
"dheeraj.embdeveloper@gmail.com"
] | dheeraj.embdeveloper@gmail.com |
058005a73ae594f1dc719f7d36f9e86b056acae6 | a6a53e20b3ec874c12e4eba87a4deb2fee58d835 | /BoundingObjectManager/W9R_BoundingSphereDEMO/AppClass.cpp | acf5c5e0d8173bc8ead5ff32877c872ea636aec6 | [] | no_license | 1red2blue4/DarkSOLZHomeWorkAssignments | cd717ab8a475ef92969cc274c2d06283a242cbd3 | 0a316071a405225e72e6c84c7b4d7bdf2edcb3b9 | refs/heads/master | 2021-01-20T00:11:28.263542 | 2017-05-09T18:02:14 | 2017-05-09T18:02:14 | 89,092,446 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,211 | cpp | #include "AppClass.h"
void AppClass::InitWindow(String a_sWindowName)
{
super::InitWindow("Bounding Spheres DEMO");
}
void AppClass::InitVariables(void)
{
//Set the camera position
m_pCameraMngr->SetPositionTargetAndView(
vector3(0.0f, 2.5f, 15.0f),//Camera position
vector3(0.0f, 2.5f, 0.0f),//What Im looking a... | [
"Mark Obeldobel"
] | Mark Obeldobel |
0bb1450f3da23ee5ee259bba55fcb2c07803d0ad | a3dfb25a8ad9064a396ef132266ac296bdf81d78 | /nwerc2012/practice/10048-audiophobia-floydwarshall.cpp | 63aa554579a173a7ffb572fa493f17c7affc5a4e | [] | no_license | stefansundin/hax | c31cb9d2738f03450d8f78e6ee377fe790d20373 | 4da24144a68ad55afb79bf7df4a200d9da244ae7 | refs/heads/master | 2020-05-21T14:52:48.980653 | 2018-04-27T02:33:27 | 2018-04-27T02:33:27 | 59,928,503 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,004 | cpp | #include <cstdio>
#include <algorithm>
#include <cstring>
using namespace std;
int AdjMat[110][110];
#define INF 1000000000
void reset() {
for (int i=0; i < 110; i++) {
for (int j=0; j < 110; j++) {
AdjMat[i][j] = INF;
}
}
}
int main() {
for (int n=1; 1; n++) {
int c,s,q;
scanf("%d... | [
"git@stefansundin.com"
] | git@stefansundin.com |
1716b17955b0abadd5383c7908209482b66ace68 | 3bf91b10c47d677ac6caf121eeb4d1ead8d2b561 | /src/helium/system/socketMessageSpooler.cpp | 664d387036b6be4c6dfa727efcca8bd8322278ea | [] | no_license | fabiodl/helium | 8d9dea1e433973632199ea10a5bf54b6a3741afe | fe8f58eb55e033c596d66e377dc808c46ca0dfce | refs/heads/master | 2020-12-06T15:09:29.227558 | 2020-03-10T07:48:28 | 2020-03-10T07:48:28 | 67,750,827 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,607 | cpp | /*!
* \brief libhelium
* \author Fabio Dalla Libera
* \date 2012.07.01
* \version 0.2
* Release_flags s
*/
#include <helium/system/socketMessageSpooler.h>
namespace helium{
SocketMessageSpooler::SocketMessageSpooler(NetSocket& psocket
#ifdef LOGCELLSERVER
,BasicLog& pslog
#endif
):
socket(psoc... | [
"fabiodl@gmail.com"
] | fabiodl@gmail.com |
562172b0d517632fb37aba39e4d174ae48b77276 | 0b5ef83fe2e9c34a01e51d6b0798241068c12e9e | /prims - Copy.cpp | 2441e3e2aa867c25acde5d9fcbd9879df3582959 | [] | no_license | Shiva1405/C-_codes | cc3f8c1cdd88c3f58660ce01e1f814e5430ee9a1 | 44d65a9ebe1b4020a92a2cb9b20c3c798ae2f8ae | refs/heads/master | 2023-03-18T13:48:23.990136 | 2021-03-11T08:00:35 | 2021-03-11T08:00:35 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,704 | cpp | #include<stdio.h>
#include<stdlib.h>
#define infinity 9999
#define MAX 20
int G[MAX][MAX],spanning[MAX][MAX],n;
int prims();
int main()
{
int i,j,total_cost;
printf("Enter no. of vertices:");
scanf("%d",&n);
printf("\nEnter the adjacency matrix:\n");
for(i=0;i<n;i++)
for(j=0;j<n;j++)
scanf("%d",&G... | [
"71342542+Shiva1405@users.noreply.github.com"
] | 71342542+Shiva1405@users.noreply.github.com |
5390de9397ace31f1324f2b43ab554c546d87389 | 9a32178d3c2fdf377d84f65b55989264e67f40e9 | /2002/ALL VC SAMPLES/ATLServer/Applications/Manta/Calendar/ScheduleHandler.h | 5f1de596160374d1bc4954843b86ee8c52ab9e6d | [] | no_license | philipwolfe/Samples | 5e5cc1376575ac6361b62a3554c98626f153b694 | 7eb703287a6d07596a141c4557f271efe6c1666f | refs/heads/master | 2021-12-25T12:52:52.616313 | 2021-12-19T04:26:29 | 2021-12-19T04:26:29 | 250,445,305 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 13,490 | h | // ScheduleHandler.h : Defines the ATL Server request handler class
// (c) 2000 Microsoft Corporation
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// This source code is only intended as a supplement to the
// Microsoft Classes Reference and related electronic
// documentation provided with the libr... | [
"philipwolfe@users.noreply.github.com"
] | philipwolfe@users.noreply.github.com |
15050be0bfd1e415023b0070625f41d6e39422b6 | fac8da5bc75ae2026083c30e759ff6c66cac4c98 | /CG/4.cpp | 478f1a31d001c220925e5708e3053b6ba72a3d0e | [] | no_license | karansadhwani/collegeAssignments | dc81f6698d1565f647a7af998cfb9ca20348a02a | e0171e754319119bffdd266f57097589a4974058 | refs/heads/master | 2022-11-29T10:59:22.167408 | 2020-08-18T17:04:38 | 2020-08-18T17:04:38 | 288,515,042 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,226 | cpp | //Write C++/Java program to draw inscribed and Circumscribed circles in the triangle as shown as an example below. (Use any Circle drawing and Line drawing algorithms)
#include<graphics.h>
#include<iostream>
#include<stdlib.h>
#include<math.h>
using namespace std;
class pixel //Base Class
{
protected: int x1,y1... | [
"karansadhwani25@gmail.com"
] | karansadhwani25@gmail.com |
77a0cc41827d308046520e91580e66fc8322ba52 | 6ae8da6897c950a555a52927bca42fcedc2bbda5 | /third_party/bamtools/src/utils/bamtools_pileup_engine.cpp | 454eafeb811842da3f5b0d2105d23b28b3afc2fb | [
"MIT",
"LicenseRef-scancode-public-domain"
] | permissive | ratschlab/secedo | b7ba51a7a3ee3d353bc639e4071aec6ba21da864 | f5944261e21815b7d2862b0a501e205b0ff71a93 | refs/heads/main | 2023-04-12T09:53:45.787759 | 2022-05-04T08:54:21 | 2022-05-04T08:54:21 | 312,234,295 | 6 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,487 | cpp | // ***************************************************************************
// bamtools_pileup_engine.cpp (c) 2010 Derek Barnett, Erik Garrison
// Marth Lab, Department of Biology, Boston College
// ---------------------------------------------------------------------------
// Last modified: 9 March 2012 (DB)
// ---... | [
"dd@daedalean.ai"
] | dd@daedalean.ai |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.