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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
593bd5cbebba25d703bd851dfffeb578320ea1f3 | 8e4c9ebefc0f7db0615377376f142e4a866f7700 | /MiracleEngine/Src/Engine/Tools/MathLib/Vector2.h | 74c9cd1167eec4bd69606ff79c63398a1aba47b9 | [] | no_license | Yuxuannnnnnnn/Gam200---Miracle-Studios | 2edaaf5902e9dd79bfb74c7204773e81093f0673 | 897d294df6876852a3dfaefa940c628d27e9bf66 | refs/heads/master | 2021-09-28T19:46:09.740223 | 2021-09-08T13:19:53 | 2021-09-08T13:19:53 | 205,817,968 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,453 | h | ///////////////////////////////////////////////////////////////////////////////////////
//
// Vector2.h
//
// Authors: yinshuyu
// Copyright 2019, Digipen Institute of Technology
//
///////////////////////////////////////////////////////////////////////////////////////
#ifndef _SHUYU_VECTOR2_H
#define _SHUYU_VECTOR2_H... | [
"love0love.ys@gmail.com"
] | love0love.ys@gmail.com |
d56cb90186b645e2706cd46902f5c4b0a1aa3aef | 975d4b8384122694b2a75d4737a25f06d672c208 | /src/dispatcher.h | 374a7297323d040e9155bf9d3190b9c18d5e0690 | [] | no_license | dxfburns/distribution_adapter | d9e165278d8c3b3dafdf31be2cea6321816c1f2f | fe38ab47063471d245e913a5139c3756838a9a76 | refs/heads/master | 2016-09-11T02:11:59.311722 | 2014-05-04T02:53:02 | 2014-05-04T02:53:02 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 937 | h | /*
* dispatcher.h
*
* Created on: Apr 28, 2014
* Author: root
*/
#ifndef DISPATCHER_H_
#define DISPATCHER_H_
#include <websocketpp/config/asio_no_tls_client.hpp>
#include <websocketpp/client.hpp>
#include <map>
#include <vector>
#include "model.h"
typedef websocketpp::client<websocketpp::config::asio_cli... | [
"xfdu.ld@gmail.com"
] | xfdu.ld@gmail.com |
87789b31da44bf563cc4aaf3c7a89795d24de25d | 30c0974df70d24e485dfed1afab9f8db135ff019 | /projects/libhttp/src/httpformfield_file.cpp | 2b1ebd55f30122d793cb6c6d8b7193901657fa45 | [
"Apache-2.0"
] | permissive | leckel2014/CoreLooper | 48cc7ae970fe9c46400b1eb9747dfc0d90c62219 | 5afd067488bd81105297eb84016949d539b67ea9 | refs/heads/master | 2020-05-25T19:04:26.976075 | 2019-03-05T12:25:29 | 2019-03-05T12:25:29 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,577 | cpp | #include "stdafx.h"
#include "httpformfield_file.h"
using namespace Bear::Core;
namespace Bear {
namespace Core {
using namespace FileSystem;
namespace Net {
namespace Http {
HttpFormField_File::HttpFormField_File()
{
mFile = nullptr;
}
HttpFormField_File::~HttpFormField_File()
{
Close();
}
void HttpFormField_F... | [
"xwpcom@163.com"
] | xwpcom@163.com |
df6d6985cc679c5e2b9067ca35dde8a835754a14 | 8d5016fa9db9eba2a014b2c78f6b09c40a56f98e | /exceptions.h | 7cbbd18f79edcd809d33051ac981b199e5d18cb1 | [] | no_license | mathewkramsch/pa01_cs130a | 8bd31aa5fc74be05050247adbb776903a58f5012 | f5f01808c4eb9e35ac01d6038515125f0e7ed784 | refs/heads/master | 2022-04-06T05:04:41.481906 | 2020-02-08T00:18:57 | 2020-02-08T00:18:57 | 238,636,238 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 300 | h | // exceptions.h
#ifndef EXCEPTIONS_H
#define EXCEPTIONS_H
class noInput { public: void mssg(); };
class invalidOperator { public: void mssg(); };
class invalidPolynomial { public: void mssg(); };
class invalidOperation {public: void mssg(); };
class outOfOrderPoly {public: void mssg(); };
#endif
| [
"mathewkramsch@ucsb.edu"
] | mathewkramsch@ucsb.edu |
b8e7929300e8d7c6e50ac825269c8e0eb0864226 | a06515f4697a3dbcbae4e3c05de2f8632f8d5f46 | /corpus/taken_from_cppcheck_tests/stolen_146.cpp | 1739cd6f90f45dec231082adbed99d1297e20219 | [] | no_license | pauldreik/fuzzcppcheck | 12d9c11bcc182cc1f1bb4893e0925dc05fcaf711 | 794ba352af45971ff1f76d665b52adeb42dcab5f | refs/heads/master | 2020-05-01T01:55:04.280076 | 2019-03-22T21:05:28 | 2019-03-22T21:05:28 | 177,206,313 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 50 | cpp | int main() {
int i;
free(&i);
return 0;
} | [
"github@pauldreik.se"
] | github@pauldreik.se |
cd14d0c7a5733cdf80dc012f0613c0b82d48d953 | 17d8812540d360aaa3066c385e23284c1991ece2 | /tests/regressions/insieme-src-a2667acd.cpp | cc627368cad6e758f3c3cf86396139ceee2d8292 | [] | no_license | allscale/allscale_runtime | 0fde3cc0fe6e9dde0687291f9f2d02b2e869ab0c | 27736d33cc8dd06836f13cab1448bc5acb4d9c2c | refs/heads/master | 2021-01-13T15:50:26.903497 | 2018-11-15T17:15:43 | 2018-11-15T17:15:43 | 76,855,426 | 6 | 3 | null | 2018-11-26T16:44:28 | 2016-12-19T11:13:54 | C++ | UTF-8 | C++ | false | false | 2,506 | cpp | /**
* ------------------------ Auto-generated Code ------------------------
* This code was generated by the Insieme Compiler
* ---------------------------------------------------------------------
*/
#include <allscale/runtime.hpp>
#include <stdint.h>
#ifdef __cplusplus
#define INS_INIT(...) __VA_ARGS__... | [
"thomas.heller@cs.fau.de"
] | thomas.heller@cs.fau.de |
bd87ef94841b92b1f3f7f4ef999b80ee153dd84b | d0fb46aecc3b69983e7f6244331a81dff42d9595 | /paifeaturestore/include/alibabacloud/paifeaturestore/model/WriteFeatureViewTableResult.h | b8b0b47e025068358f6eddc435fbb5cef54d3aba | [
"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,437 | h | /*
* 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... | [
"sdk-team@alibabacloud.com"
] | sdk-team@alibabacloud.com |
2aa2a3a50371725531cae2211764396e1a94a4cd | 33035c05aad9bca0b0cefd67529bdd70399a9e04 | /src/boost_process_start_dir.hpp | 67fbaf3aa2eeb24d8e613a308e322b3546593d14 | [
"LicenseRef-scancode-unknown-license-reference",
"BSL-1.0"
] | permissive | elvisbugs/BoostForArduino | 7e2427ded5fd030231918524f6a91554085a8e64 | b8c912bf671868e2182aa703ed34076c59acf474 | refs/heads/master | 2023-03-25T13:11:58.527671 | 2021-03-27T02:37:29 | 2021-03-27T02:37:29 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 39 | hpp | #include <boost/process/start_dir.hpp>
| [
"k@kekyo.net"
] | k@kekyo.net |
681f20bc8e78d5192381d814db7d26eceb4f448b | 9f89b08007ab7df86f44481d1a06a122ac55d924 | /Maximum Sum Increasing Subsequence.cpp | 8097e58f933022302d65f10bdae994da1eb2f91d | [] | no_license | raviguru123/prog-amazon | af22ecb62954a588f7c26930e7f58485384b09f1 | 30aeb83539dfa394ba58a171fb55b9284500aa17 | refs/heads/master | 2021-01-19T04:47:53.867859 | 2017-04-06T09:13:22 | 2017-04-06T09:13:22 | 87,396,593 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 565 | cpp | #include <iostream>
#include <vector>
#include <limits.h>
using namespace std;
int maxsum(vector<int> &v){
vector<int> sum(v.size(),0);
sum[0]=v[0];
int max;
for(int i=1;i<v.size();++i){
int j=i-1;
max=INT_MIN;
while(j>=0){
max=(max<sum[j]&&v[i]>=v[j])?sum[j]:max;
j--;
}
sum[i]=max+v[i];
}
max... | [
"raviguruiitr@gmail.com"
] | raviguruiitr@gmail.com |
cca03d9caa8262fb904349673b90b3987cc52694 | e312d48f11ea4f60dd185a12b54b5d66860a6e49 | /RaylibStarterCPP1/inc/SeekBehaviour.h | 5b318cfaaa19b7b816a22c513056906dcd23be25 | [] | no_license | SuperiorJacob/AIGame | 1df393408b7fbd81acf58874150db6319abb701f | e2a2344b7689ea1dbc50bd068e26c19f0f109dd1 | refs/heads/master | 2022-11-28T14:46:16.950132 | 2020-07-31T06:39:53 | 2020-07-31T06:39:53 | 283,411,859 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 602 | h | #pragma once
#include "Behaviour.h"
#include "raymath.h"
#include <functional>
class SeekBehaviour : public Behaviour
{
public:
SeekBehaviour();
virtual ~SeekBehaviour();
virtual void Update(GameObject* obj, float deltaTime);
virtual void Draw(GameObject* obj);
const Vector2& GetTarget() const;
void SetTarg... | [
"s200503@students.aie.edu.au"
] | s200503@students.aie.edu.au |
ece3878c4688dc9dece209b0df42efd6caf4f3ca | 4ba79c40692ae5ff3711674418bf0771fe18db7c | /src/s01-hello-name.cpp | c2949dd700cff84d978c168b593ff927c8e2ae7b | [] | no_license | s23578-pj/pjatk-prg1 | 0c3dd8424216a1aeee090d29df058c810a88a9ac | 6d4120ce1b4c907c788396cb11c67e5cd0dcc681 | refs/heads/master | 2023-03-01T11:25:58.599517 | 2021-02-14T20:41:05 | 2021-02-14T20:41:05 | 304,903,383 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 178 | cpp | #include <iostream>
#include <string>
auto main() -> int {
auto name = std::string{};
std::getline(std::cin, name);
std::cout << " Hello, " << name << "!\n";
return 0;
}
| [
"s23578@pjwstk.edu.edu.pl"
] | s23578@pjwstk.edu.edu.pl |
e2d0eae20f177cb4aa38129f77059edfe9237665 | d61aed92e58ad2e6ae22c70539ae28e091551448 | /BinarySearchFindIt-spyhton200p.cpp | 7bb2c30c48136a9821e3fdf18b08e5eb720ae732 | [] | no_license | jungsungyoon/test2 | b568ea2daafbacaa6a599e9315d45fd2b35bde11 | 678d486d8827d149caae88c76efb928efb8986a5 | refs/heads/master | 2021-12-23T06:07:37.926984 | 2021-08-07T14:07:13 | 2021-08-07T14:07:13 | 161,124,525 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 735 | cpp |
#include <bits/stdc++.h>
using namespace std;
int n, m;
// 가게게 있는 전체 부품 번호를 담을 집합(set) 컨테이너
set<int> s;
vector<int> targets;
int main(void) {
cin >> n;
for (int i = 0; i < n; i++) {
int x;
cin >> x;
s.insert(x);
}
cin >> m;
for (int i = 0; i < m; i++) {
int targe... | [
"dkffprtm0404@naver.com"
] | dkffprtm0404@naver.com |
1037356e1e8029709e0d18f5fdd4ab90ad5ad38e | 091afb7001e86146209397ea362da70ffd63a916 | /inst/include/nt2/include/functions/scalar/fast_tan.hpp | 825d8bcc8f5232af253dfff2216f9ce5a4823e8a | [] | no_license | RcppCore/RcppNT2 | f156b58c08863243f259d1e609c9a7a8cf669990 | cd7e548daa2d679b6ccebe19744b9a36f1e9139c | refs/heads/master | 2021-01-10T16:15:16.861239 | 2016-02-02T22:18:25 | 2016-02-02T22:18:25 | 50,460,545 | 15 | 1 | null | 2019-11-15T22:08:50 | 2016-01-26T21:29:34 | C++ | UTF-8 | C++ | false | false | 194 | hpp | #ifndef NT2_INCLUDE_FUNCTIONS_SCALAR_FAST_TAN_HPP_INCLUDED
#define NT2_INCLUDE_FUNCTIONS_SCALAR_FAST_TAN_HPP_INCLUDED
#include <nt2/trigonometric/include/functions/scalar/fast_tan.hpp>
#endif
| [
"kevinushey@gmail.com"
] | kevinushey@gmail.com |
64284224566a505c9afa35bd575e4b9ebdd186b0 | 48739132eb3f8c43fb632af8e111110125ec43a6 | /pad-drop-simulator/calculate_test.cpp | 415afc9c633653cbaa121f2dd02d3e3f297c6d0c | [] | no_license | dkwingsmt/pad-drop-simulator | 2bd5eae5157211786c0bb5e064ccde7adc22499a | 402444ae78ae32b2312bf75d98087850bf9e1b2f | refs/heads/master | 2021-01-21T12:50:17.238667 | 2017-09-01T10:18:18 | 2017-09-01T10:18:18 | 102,101,447 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,644 | cpp | #include "stdafx.h"
#include "types.h"
#include "calculate.h"
#include "utils.h"
#include "calculate_test.h"
void flagHollows(tCell *table);
size_t countHollowGroups(const tCell *table, tCell *filter);
void simulateDrop(tCell *table);
void translateTable(const char *src, tCell *dst) {
for (size_t iRow = 0; iRow < T... | [
"dkwingsmt@gmail.com"
] | dkwingsmt@gmail.com |
3c2f7aad617fbe1634adb78a434e542244043d81 | b4020318967ccac1a0e08a087184b62751285829 | /Source/UT_FrameworkEditor/Private/Npc/Graph/Node/NpcBehaviorGraphNode_RandomBranch.cpp | 8f8a34f4360e1fda7668d6c26fd1cfe8b41908ee | [] | no_license | richmondx/UT_Framework | a30dd8a3fc8a88c6955e5df9bb458dd320e74598 | 2cd70429ce9800c5f179fb10c29deed2c0b47a3e | refs/heads/master | 2020-03-25T07:58:51.384554 | 2018-05-27T15:28:33 | 2018-05-27T15:28:33 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,491 | cpp | /************************************************************************/
/* UMBRA TOOLS */
/* Maxwell - Axel Clerget */
/************************************************************************/
#include "NpcBehaviorGraphNode_RandomBranch.h"
#incl... | [
"clerget.a@gmail.com"
] | clerget.a@gmail.com |
412f183ca989199d0ec33f86fa4f038517802099 | 32db093028132c1e85b82ee801dc8f494c3b0b90 | /Codechef/MayChallenge(NoobQuota)/ValidPaths.cpp | 150b39f3e31936cd029a56b7e8d1b5530a172ee4 | [] | no_license | gautam-bits/CompetitiveCoding | b0aa13400655505fec48e4909d48b119b5fa895a | d9fb47c8f6bc94b6587cbdec3271ebd2bdf75b41 | refs/heads/master | 2023-08-16T18:02:07.278849 | 2021-09-24T09:08:13 | 2021-09-24T09:08:13 | 296,126,985 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,190 | cpp | #include <bits/stdc++.h>
using namespace std;
#define pb push_back
#define ll long long
#define cnl(x) cout << x << endl
#define csp(x) cout << x << " "
#define read(x) cin >> x
#define fo(i,a,b) for(int i=a;i<b;i++)
#define test(t) ll t; cin >> t; fo(tno,1,t+1)
#... | [
"gautammps123456789@gmail.com"
] | gautammps123456789@gmail.com |
9a9879ec10042e0e535a5d4f9eeaa93e42ab8688 | 94c647a218b1111785dca500b95cabfe98ee26d9 | /ssdb/src/ssdb/binlog.h | 413796c30c3c1a12afa6e4e20e867af8190da39c | [
"BSD-3-Clause",
"Apache-2.0",
"BSD-4-Clause-UC",
"MIT",
"BSD-2-Clause"
] | permissive | taihedeveloper/SSDB_Cluster | a417f497e3228a6251574c26c6ad1481624c9d02 | b8279dc42af24f8a244842f4d5191b3d1894ce88 | refs/heads/master | 2021-06-23T16:15:17.326140 | 2017-08-21T10:22:02 | 2017-08-21T10:22:02 | 94,286,919 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,677 | h | /*
Copyright (c) 2012-2014 The SSDB 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 SSDB_BINLOG_H_
#define SSDB_BINLOG_H_
#include <string>
#include "leveldb/db.h"
#include "leveldb/options.h"
#include "leveldb/slice.h"
#include... | [
"wangchangqing@taihe.com"
] | wangchangqing@taihe.com |
a3ea90c771508d25a4e3410317d0398b004094c2 | 4bd4609fe5e592a57a730a3fe9e0f7de6ce7526b | /Release/moc_licensecheck.cpp | 11144b16420530cdd45852cb06585158a5c5263b | [] | no_license | HuangGlory/ftrcartctl_u200 | 38d7f81c5285ff559bf7f7518d87896089b00ad2 | 2feda0c37844d8bbec212900c2125eae5f9119e3 | refs/heads/master | 2023-07-07T20:25:27.495393 | 2021-06-17T06:18:50 | 2021-06-17T06:18:50 | 394,573,712 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,726 | cpp | /****************************************************************************
** Meta object code from reading C++ file 'licensecheck.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.14.1)
**
** WARNING! All changes made in this file will be lost!
*******************************************************... | [
"h_yinwei@foxmail.com"
] | h_yinwei@foxmail.com |
5100b3fe15ac09dfe016a42aa470c25c07b548ad | 303cb679fdcd8a436dbd373f98da679eefefae01 | /LVSerial/Serialization/Style.h | 9f1e607fd68472bec0f4f1fb967213020c1a5107 | [
"MIT"
] | permissive | rohmer/LVGL_UI_Creator | d812a66ca8e3f8a736b02f074d6fbb324560b881 | 8ff044064819be0ab52eee89642956a3cc81564b | refs/heads/Dev | 2023-02-16T01:25:33.247640 | 2023-02-09T16:58:50 | 2023-02-09T16:58:50 | 209,129,978 | 37 | 17 | MIT | 2023-02-09T16:58:51 | 2019-09-17T18:35:36 | C | UTF-8 | C++ | false | false | 518 | h | #pragma once
#include <cstdlib>
#include <sstream>
#include <string>
#include <time.h>
#include "../../3rdParty/JSON/json.hpp"
#include "../../3rdParty/LVGL/lvgl/lvgl.h"
#include "LVFont.h"
using json = nlohmann::json;
namespace Serialization
{
class Style
{
public:
static json ToJSON(lv_style_t... | [
"rohmer@yahoo.com"
] | rohmer@yahoo.com |
87903a7a924ecec06e4ddcf79ba48328817534e7 | 8ebeffcd7730dda77c72ae92cd4c09b5451dfc73 | /CS350_Spring2020/CS350Framework/CS350Framework/Assignment2Tests.cpp | 562778212fb02771b1d71f226b6e84523e8f7019 | [] | no_license | Javonlxw/personal | 0a0f7ac044fc630d49e15b5a93350a938e595f4c | cd29bf7212ba39ed0c88410c19258a2c889750e5 | refs/heads/master | 2021-05-01T18:23:29.970731 | 2020-03-30T12:19:01 | 2020-03-30T12:19:01 | 121,006,477 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 384 | cpp | #include "Precompiled.hpp"
#include "Application.hpp"
#include "Shapes.hpp"
#include "Geometry.hpp"
#include "Math/Utilities.hpp"
#include "DebugDraw.hpp"
#include "Components.hpp"
#include "SimpleNSquared.hpp"
#include "UnitTests.hpp"
void InitializeAssignment2Tests()
{
mTestFns.push_back(AssignmentUnit... | [
"javonleexw@gmail.com"
] | javonleexw@gmail.com |
e5ae30c9afc51e37d2053fb4484d4e071da9eb51 | 9a9677246703f24121e5472bec1850fa7d998740 | /6Shots-V2/CRandom.cpp | e19552aadf4b6a864b5f0f091bb785c8ce94f921 | [
"CC0-1.0"
] | permissive | chrisdepas/6Shots-Game | ec02f21d5cb48da612ed25037d3b292b3255c061 | 2b339b1a367e3421d502e7815548d0b13ea3e32c | refs/heads/master | 2021-04-03T10:22:47.210072 | 2018-08-22T23:27:07 | 2018-08-22T23:27:07 | 124,375,434 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 541 | cpp | #include "stdafx.h"
#include "CRandom.h"
int CRandom::RandomInt() {
return m_RandEngine();
}
float CRandom::RandomFloat(float fMin, float fMax) {
// Overhead of std::uniform_real_distribution is minimal
return std::uniform_real_distribution<float> {fMin, fMax}(m_RandEngine);
}
int CRandom::RandomInt(int... | [
"cdep@squale.me"
] | cdep@squale.me |
2dbfd5dac579818b24fd5495f6ca256b2cff1464 | e949d578989d2c6fac3de825a6aff7cc599152d5 | /成绩.cpp | 6742fa38afb685443eb74848c54e29c0e47cc259 | [] | no_license | 20180309/C- | 822b4d1517a1440c65350fd3b5ac3f3d23d87dc9 | 267223d41b84ee72da4227d23875514c019fdc35 | refs/heads/master | 2020-03-10T13:34:49.072083 | 2018-06-19T13:46:54 | 2018-06-19T13:46:54 | 129,403,301 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 435 | cpp | #include<stdio.h>
#include<math.h>
int main()
{
float grade;
printf("请输入成绩小于100的分数grade:");
scanf("%f",&grade);
if(grade>100)
{printf("输入错误,请输入小于100的成绩grade:\n");
}
else if(grade>=90)
{
printf("A\n");
}
else if(grade>=80)
{
printf("B\n");
}
else if(grade>=70)
{
printf("C\n");
}
else if(grade>=60)... | [
"2457099326@qq.com"
] | 2457099326@qq.com |
5ea5861d42ce1e7bd9ae14dbd761a29308c51834 | 0b5f5a38bb3f43ded62b9c1e4f710f882b1155c5 | /owRender/R_Shader.h | 26ed7b03a52f6fda4efb4add66e09a48079e2510 | [
"Apache-2.0"
] | permissive | xuebai5/OpenWow | a3c41d984cebe4dc34e9e3d0530363da4106bb61 | 97b2738862ce0244fd5b708f4dc3f05db7491f8b | refs/heads/master | 2020-04-26T23:16:26.733576 | 2019-03-03T12:41:04 | 2019-03-03T12:41:04 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,161 | h | #pragma once
// FORWARD BEGIN
class RenderDevice;
// FORWARD END
class R_Shader
{
public:
R_Shader(RenderDevice* _RenderDevice, cstring _name);
~R_Shader();
void createShader(const char *vertexShaderSrc, const char *fragmentShaderSrc, const char *geometryShaderSrc, const char *tessControlShaderSrc, const char *t... | [
"alexstenfard@gmail.com"
] | alexstenfard@gmail.com |
0e0d60e402a6231a299128b187acb421f2baea0b | afdcb4ae6ab7ea2f7d9ed2cde544c5da3e08e7c6 | /Classes/Slash.h | 8c5a80258be8f86ae4f59d8b1a30897181c5eb66 | [] | no_license | a3845021/thecondorheroesCC2D | cc1dc65aa8107d998f67711e64d36915569bcb01 | 892700981ccaff72b0c52bd1a8bd8afcf46084aa | refs/heads/master | 2020-04-26T02:56:16.415172 | 2017-05-30T09:51:13 | 2017-05-30T09:51:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 478 | h | #ifndef __SLASH_H__
#define __SLASH_H__
#include "B2Skeleton.h"
class Slash : public B2Skeleton
{
private:
CC_SYNTHESIZE(bool, isDie, IsDie);
public:
Slash(string jsonFile, string atlasFile, float scale);
static Slash* create(string jsonFile, string atlasFile, float scale);
void initCirclePhysic(b2World *world,... | [
"vanthinh061189@gmail.com"
] | vanthinh061189@gmail.com |
dbae989f57276915a9a78344548ce95f18970b20 | be1ba277fc8d33195498ba14a450a3dcaaf28d25 | /My practice12—inheritance and derive.cpp | 2eb44153fb266eeed896b2b8254cd1a94ccfbb59 | [] | no_license | programAA/DataStructure | 869dbeb03f9353099fa5e48450fc5dbe3c96f707 | e3f40f2e4d23b1b07e1d706eedc8fa9c9230dfee | refs/heads/master | 2021-10-24T06:31:38.164493 | 2021-10-16T04:32:02 | 2021-10-16T04:32:02 | 151,939,720 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 2,987 | cpp | // 分别声明Teacher(教师)类和Cadre(干部)类,采用多重继承方式由这两个类派生出新类Teacher_Cadre(教师兼干部),要求:
//(1)在两个基类中都包含有姓名、年龄、性别、地址、电话等数据成员;
//(2)在Teacher类中还包含数据成员title(职称),在Cadre类中还包含数据成员post(职务),
// 在Teacher_Cadre类中还包含数据成员wages(工资);
//(3)对两个基类中的姓名、年龄、性别、地址、电话等数据成员用相同的名字,在引用这些数据成员时,指定作用域;
//(4)在类体中声明成员函数,在类外定义成员函数;
//(5)在派生类Teacher_Cadre的成员函数sh... | [
"784562470@qq.com"
] | 784562470@qq.com |
64cd12fbe4c60f19914aa3fc4a3cfeb27f190194 | a33b66a7148aaf8ef2e483937c74b5edef12440d | /sketches/lockbud.ino | 183c5f913fd5d2aaeffe10751c05d78e575e534b | [] | no_license | Zaidos/lockbud | 5b18746fc35529c60c7d1f7d9a2cae56c6dd81e7 | 7cb2e4c1ca2c20ac2cf60b2787fd986e1ac014e4 | refs/heads/master | 2016-09-08T05:10:16.656778 | 2014-10-20T19:22:05 | 2014-10-20T19:22:05 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 857 | ino | #define LOCK_PIN 6
long openTime = 0.0f;
long openDuration = 4000;
char incomingByte = 0;
char password = 'o';
void setup() {
Serial.begin(9600);
Serial.println(F("Arduino: Starting Lockbud Server"));
pinMode(LOCK_PIN, OUTPUT);
resetLock();
}
void loop() {
if (Serial.available() > 0) {
incomingByte = ... | [
"nevlad@gmail.com"
] | nevlad@gmail.com |
d2035e69f46470c7d2cd7ff0fda85899d16d123f | a5e00504919bb338910de4cc5c3c3c4afb71e8c6 | /CodeForces/contest/1321/f.cpp | b3b26dc0c960de9940664abf32544012da0a0889 | [] | no_license | samuel21119/Cpp | f55333a6e012e020dd45b54d8fff59a339d0f808 | 056a6570bd28dd795f66f31c82537c79eb57cc72 | refs/heads/master | 2023-01-05T15:14:55.357393 | 2020-10-20T23:32:20 | 2020-10-20T23:32:20 | 168,485,083 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,312 | cpp | /*************************************************************************
> File Name: f.cpp
> Author: Samuel
> Mail: enminghuang21119@gmail.com
> Created Time: Tue Mar 3 15:24:39 2020
*************************************************************************/
#include <bits/stdc++.h>
using namespace std;
ty... | [
"enminghuang21119@gmail.com"
] | enminghuang21119@gmail.com |
92867f91334b4b73d7ff5e29646807380f718e79 | bbeb7e4c334f9f33ea1106810a7113b58f281b27 | /AtCoder/Beginner/Beginner Contest 055/A.cpp | d6f17a7c260143619be1926891531f70741472fb | [] | no_license | Drone-Banks/ACM | 18638af3f3307ecb26dc5e79d0a06d58c87dedaf | 937224c32f8a00ce4885f12ffd83e35b9c99718c | refs/heads/master | 2021-04-15T13:41:20.077221 | 2018-04-16T13:17:33 | 2018-04-16T13:17:33 | 126,587,158 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 823 | cpp | /*************************************************************************
> File Name: test.cpp
> Author: Akira
> Mail: qaq.febr2.qaq@gmail.com
************************************************************************/
#include<bits/stdc++.h>
typedef long long LL;
typedef unsigned long long ULL;
typedef... | [
"qaq.febr2.qaq@gmail.com"
] | qaq.febr2.qaq@gmail.com |
1afd518bd203a8b41945bdc28b696d567e0e9b61 | a926089ebc425d33d3f1a8fd2fd1d99437104784 | /ErrorChecking.h | 8f4b310d0ec9583d64b4fa1fb729f6423e92f005 | [] | no_license | Eliminater30013/Book-Management-System | 81ca23cc937943f6ea9b0caa90ce8ca06f4b5a4a | d1e6b3e60bf962b4231b7f0dabaa0f1c999376f7 | refs/heads/master | 2022-12-08T06:38:06.187404 | 2020-09-01T13:32:09 | 2020-09-01T13:32:09 | 264,035,060 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 297 | h | #pragma once
#include <iostream>
#include <string>
using namespace std;
/*Function Declarations*/
int CheckUsername(string username, string password, char option); // ensure that this has error checking to ensure that username > 20;
istream& getline(istream& ins, int& n);
string getDate_Time();
| [
"ahmedosman30013@gmail.com"
] | ahmedosman30013@gmail.com |
da709b79d76118a095e197098a12fe4ca392fbb0 | 988413076cd53832ed9b0041770b64346f162201 | /src/misaxx-core/include/misaxx/core/misa_default_description_accessors.h | a5853212b5bffb6346d209e33a8cf089fdd34d3a | [
"BSD-2-Clause"
] | permissive | applied-systems-biology/misa-framework | 1a1edb7208009e92d8e34e6e749f1efe6a758840 | e7a303ccfd79e41f45df5fa79e52e24bdf4123d9 | refs/heads/master | 2023-08-20T12:46:10.905828 | 2023-08-12T12:19:06 | 2023-08-12T12:19:06 | 181,515,264 | 2 | 2 | null | 2023-09-06T18:43:36 | 2019-04-15T15:27:13 | HTML | UTF-8 | C++ | false | false | 1,464 | h | /**
* Copyright by Ruman Gerst
* Research Group Applied Systems Biology - Head: Prof. Dr. Marc Thilo Figge
* https://www.leibniz-hki.de/en/applied-systems-biology.html
* HKI-Center for Systems Biology of Infection
* Leibniz Institute for Natural Product Research and Infection Biology - Hans Knöll Insitute (HKI)
*... | [
"ruman.gerst@leibniz-hki.de"
] | ruman.gerst@leibniz-hki.de |
1d54407392e152630cd302bfb45eb65f42d49ab7 | 58a0ba5ee99ec7a0bba36748ba96a557eb798023 | /Olympiad Solutions/DMOJ/dmpg18g3.cpp | bc004e72840f4d29ac49a01d35d38e0257edd996 | [
"MIT"
] | permissive | adityanjr/code-DS-ALGO | 5bdd503fb5f70d459c8e9b8e58690f9da159dd53 | 1c104c33d2f56fe671d586b702528a559925f875 | refs/heads/master | 2022-10-22T21:22:09.640237 | 2022-10-18T15:38:46 | 2022-10-18T15:38:46 | 217,567,198 | 40 | 54 | MIT | 2022-10-18T15:38:47 | 2019-10-25T15:50:28 | C++ | UTF-8 | C++ | false | false | 3,932 | cpp | // Ivan Carvalho
// Solution to https://dmoj.ca/problem/dmpg18g3
#include <bits/stdc++.h>
#define LSOne(S) (S & (-S))
using namespace std;
typedef tuple<int,int,int> tupla;
const int MAXN = 2*1e5 + 10;
int BUCKET;
long long respostas[MAXN],frequencias[MAXN],quadrados[MAXN],total[MAXN];
int sz[MAXN],nivel[MAXN],N,Q,ini[... | [
"samant04aditya@gmail.com"
] | samant04aditya@gmail.com |
d49c74b7694d4f8190d9e79b20de9da9ad21a75c | fa0c642ba67143982d3381f66c029690b6d2bd17 | /Source/Engine/Platform/TJoystick.h | fc40ea35f5736ed07be9dd745105e1b04eea0542 | [
"MIT"
] | permissive | blockspacer/EasyGameEngine | 3f605fb2d5747ab250ef8929b0b60e5a41cf6966 | da0b0667138573948cbd2e90e56ece5c42cb0392 | refs/heads/master | 2023-05-05T20:01:31.532452 | 2021-06-01T13:35:54 | 2021-06-01T13:35:54 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,869 | h | //! @file TJoystick.h
//! @author LiCode
//! @version 1.1.0.621
//! @date 2011/01/17
//! Copyright 2009-2010 LiCode's Union.
#pragma once
namespace EGE
{
//----------------------------------------------------------------------------
// TJoystick
//----------------------------------------------------------... | [
"zopenge@126.com"
] | zopenge@126.com |
60ea6c20f204d996e8cce3948d49b8dde18f7775 | c602c1b4a2fd92ac70dfab173ec1d35c989a0e36 | /src/Events/HoldEvent.h | 04cb9192d635ffae3992fbabccda164385f4954b | [
"LicenseRef-scancode-unknown-license-reference",
"MIT"
] | permissive | alfredtorch/SimpleButton | 7f3146830250feae2b6dc1012cfbe20b7132b268 | 0ed5af22be4e8a8d911efdc551a344e217fa363f | refs/heads/master | 2020-11-30T16:15:17.293840 | 2020-04-09T14:22:21 | 2020-04-09T14:22:21 | 230,439,153 | 0 | 0 | MIT | 2019-12-27T12:21:24 | 2019-12-27T12:21:23 | null | UTF-8 | C++ | false | false | 425 | h | #ifndef SimpleButton_HoldEvent_h
#define SimpleButton_HoldEvent_h
#include "Event.h"
namespace simplebutton {
class HoldEvent : public Event {
public:
HoldEvent(ButtonEventFunction, uint32_t interval);
~HoldEvent();
uint8_t getMode();
uint32_t getInterval();... | [
"stef.1497@gmail.com"
] | stef.1497@gmail.com |
f8f3bac50c874898d73f23d9bbf170b1907d3b25 | ed5669151a0ebe6bcc8c4b08fc6cde6481803d15 | /test/magma-1.6.0/src/cheevr_gpu.cpp | 315d9ba6bcb294a3da25db22bec55b1168cfdd84 | [] | no_license | JieyangChen7/DVFS-MAGMA | 1c36344bff29eeb0ce32736cadc921ff030225d4 | e7b83fe3a51ddf2cad0bed1d88a63f683b006f54 | refs/heads/master | 2021-09-26T09:11:28.772048 | 2018-05-27T01:45:43 | 2018-05-27T01:45:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 20,063 | cpp | /*
-- MAGMA (version 1.6.0) --
Univ. of Tennessee, Knoxville
Univ. of California, Berkeley
Univ. of Colorado, Denver
@date November 2014
@author Raffaele Solca
@author Azzam Haidar
@generated from zheevr_gpu.cpp normal z -> c, Sat Nov 15 19:54:09 2014
*/
#includ... | [
"cjy7117@gmail.com"
] | cjy7117@gmail.com |
7e5575e464ae2529260e384aa7de008400bc3f15 | 032a44c3e0a7dc77271bb2213467154212a4e5d3 | /src/mprmpr/rpc/connection.cc | e2c16f77a57daef948d5feb0cf326befe34811ba | [] | no_license | wqx081/mpr_mpr | 94f557e4d1ec696e880f93ce68ce57594da5a11c | cd0546e38f92576df73714088bc59e7f59b645d2 | refs/heads/master | 2021-01-12T10:25:03.208531 | 2016-12-21T14:53:15 | 2016-12-21T14:53:15 | 76,452,236 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 25,343 | cc | #include "mprmpr/rpc/connection.h"
#include <algorithm>
#include <boost/intrusive/list.hpp>
#include <gflags/gflags.h>
#include <glog/logging.h>
#include <iostream>
#include <set>
#include <stdint.h>
#include <string>
#include <vector>
#include "mprmpr/base/map-util.h"
#include "mprmpr/base/strings/human_readable.h"
... | [
"you@example.com"
] | you@example.com |
41060893b0c97ead5587fc5f96b6965f39c32c83 | fa35b79ce696cc78c46d6473d9fbb278a1ea0bf1 | /lz/LZRecorderMgr.cpp | ae1683683ca02119a97c493c72a7c0536d510a8d | [] | no_license | hitner/beginner_items | 87669225d4f1c6ed96703dcb8e8b9de70e6726d7 | e0e00d16d7a8e77e64c255b42c85ee57df4482a0 | refs/heads/master | 2023-01-07T05:20:04.960105 | 2020-11-05T02:43:58 | 2020-11-05T02:43:58 | 261,348,363 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,637 | cpp | #include "LZRecorderMgr.h"
#include "LZRecorder.h"
#include "lzconfig.h"
LZRecorderMgr::LZRecorderMgr() {
}
LZRecorderMgr::~LZRecorderMgr(){
stopRecordAll();
}
void LZRecorderMgr::startRecord(const std::string & channel){
if (channel.length() > 0) {
for (auto it = recorderList_.cbegin(); it != recorderList... | [
"hitner@qq.com"
] | hitner@qq.com |
4dbd462c7924657265fcbf8025012083d7752f16 | 867ee0c866e481939964ad35a8e54d2e2b07fe2a | /d01/ex05_test/Brain.hpp | 316db233f2a441f24d2cb5b516b6646fd9ab2b9e | [] | no_license | rjwhobbs/cpp_bootcamp | 0db7ceaeeb0b19d898965ceb26b5b84635b36a5d | 8edc3bd419ee3587966a14bb3bebcf94c6efa8d4 | refs/heads/master | 2021-05-18T20:11:31.886529 | 2020-08-26T08:46:24 | 2020-08-26T08:46:24 | 251,397,756 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 216 | hpp | #ifndef BRAIN_HPP
#define BRAIN_HPP
#include <string>
#include <sstream>
class Brain {
public:
Brain(void);
~Brain(void);
std::string identify(void) const;
private:
std::string _humanAddress;
};
#endif | [
"rhobbs@student.wethinkcode.co.za"
] | rhobbs@student.wethinkcode.co.za |
93745c4bf50daf27ef29c16b4680888e10f7026c | f37016b7ff0ac795e85b22f4d03168d7e4f2b0e6 | /BaseFramework_2/Rasteriser/DirectionalLight.h | cb780dd933d53d81d0daff20c98c37b960ee4b32 | [] | no_license | Regilio-Henry/Software-Rendering-Engine | 52a481776a6426dc7eec1489c780263011596721 | cce564a6cabe9364b8c14587c9fda64c2b2d698f | refs/heads/master | 2020-04-20T03:14:32.244756 | 2019-01-31T20:43:00 | 2019-01-31T20:43:00 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 583 | h | #include <algorithm>
#include "Vector.h"
#include <vector>
class DirectionaLighting
{
public:
DirectionaLighting();
DirectionaLighting(Vector _lightDirection, float r, float g, float b);
~DirectionaLighting();
void setRed(float redIntensity);
float getRed() const;
void setBlue(float blueIntensity);
float getBl... | [
"regilio.henry@hotmail.com"
] | regilio.henry@hotmail.com |
b62f5f811732aeae38839a0cd0a23ab0656297af | 2907470d7ef28a8b83773228228ae2ffaeedc969 | /Flocking_Demo/Flocking_Demo/AvoidanceForce.cpp | fd2ffdf733bd366540dcc36ae11b07c7c31127c5 | [] | no_license | sparkplug377/AI-for-Games | c39ff5e6119fc0a46ccf621686b9ab722455e6ff | 7709e01d2cde74211101b16a91879eea8c0a5a83 | refs/heads/master | 2020-03-21T01:45:42.715388 | 2019-05-18T12:00:42 | 2019-05-18T12:00:42 | 137,960,753 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 647 | cpp | #include "AvoidanceForce.h"
AvoidanceForce::AvoidanceForce() {
}
AvoidanceForce::~AvoidanceForce() {
}
Vector3 AvoidanceForce::getForce(Agent * agent) {
Vector3 force = Vector3(0, 0, 0);
// get agent's current velocity
Vector3 ahead = agent->GetLocalTransform()[2] + agent->GetVelocity();
float distance = ah... | [
"rk.amumar@gmail.com"
] | rk.amumar@gmail.com |
77d4beec57662294b24d65f76c52f8f49846daa2 | 119e3839dc83d2f8fca8b8a78a687982cfe25104 | /prebuild/VTK-8.1.0.rc1/ThirdParty/vtkm/vtk-m/vtkm/worklet/testing/UnitTestWorkletMapTopologyExplicit.cxx | 2fe43836cd8529128f219083a18eaa8342720c50 | [
"BSD-3-Clause",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | liulihuogyh/osgall | 30cdb5c8ca7d3f2c0863ef2da6ff6c1bafb357f1 | 310530672b69be6afac16f0b9b2f5bd9b3ec60d4 | refs/heads/master | 2023-04-14T13:01:04.085705 | 2021-04-24T19:53:50 | 2021-04-24T19:53:50 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,695 | cxx | //============================================================================
// Copyright (c) Kitware, Inc.
// All rights reserved.
// See LICENSE.txt for details.
// This software is distributed WITHOUT ANY WARRANTY; without even
// the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
// PURPOSE... | [
"shell_tdf@126.com"
] | shell_tdf@126.com |
cd855350f0789f8d94bf6fd995034a6cb5d73580 | 1bd56891d75b9e386453bf54a41caa9f08fe80b7 | /frf/429142_AC_0.08SEC.cpp | a969d7c4b9cc22074fc52ed952850cde5586a9da | [] | no_license | ItzKaserine/Dovelet | 9f7dda5435bcb5704fdedfbfce0a7100659ba240 | ba24d6dfe8d69d00d0e22e5e644f5609016c4695 | refs/heads/master | 2023-05-26T13:08:41.772253 | 2017-10-09T07:04:13 | 2017-10-09T07:04:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 695 | cpp | #include<stdio.h>
int dp[100][100][100];
int main() {
int a,b,c;
scanf("%d%d%d",&a,&b,&c);
if(a<0||b<0||c<0) {
printf("w(%d, %d, %d) = 1",a,b,c);
return 0;
}
int i,j,k;
for(i=0;i<=20;i++) for(j=0;j<=20;j++) for(k=0;k<=20;k++) if(i==0||j==0||k==0) dp[i][j][k]=1;
for(i=1;i<=20;i++) {
for(j=1;j<=2... | [
"conankun@gatech.edu"
] | conankun@gatech.edu |
4a40c3741be28f82ead3ecec345bf967435d5ef7 | 30871a624da21421ee839ad49a0b6f65f74b80bf | /Lectures Codes/Code (16)/Code/OurStack.cpp | f09cc7ee6c2d0266dc451245391e740b2b94e574 | [] | no_license | bakurits/Programming-Abstractions | 7b15dbe543951e74d543389cb0c37efd4ef07cb2 | 680a87b3f029fe004355512be70ba822d1cd5ca9 | refs/heads/master | 2021-01-19T19:14:26.673149 | 2017-07-19T18:21:16 | 2017-07-19T18:21:16 | 88,407,754 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,165 | cpp | #include "OurStack.h"
#include "error.h"
/* Constant controlling the default size of our stack. */
const int kDefaultSize = 4;
/* Constructor initializes the fields of the stack to
* appropriate defaults.
*/
OurStack::OurStack() {
logicalLength = 0;
allocatedLength = kDefaultSize;
elems = new int[allocatedLength... | [
"bakuricucxashvili@gmail.com"
] | bakuricucxashvili@gmail.com |
ba31af052a8c6ee1102e1f26bf0d70f911413550 | d07a162fae98a9092f5eaa9588898436bb6c29f9 | /cosesdelpen/ConsoleApplication2/Map.h | 945261bc2c1cfb47352cf5d4b873d27838056b61 | [] | no_license | Setsilvestre/codipen | 8b6ae74d2610777f22f9760b0fca9e45beb628b1 | 3e2659e9f25ab67fd460c3163a0ca206c7e000ec | refs/heads/master | 2016-08-04T17:02:52.299401 | 2015-02-23T09:30:01 | 2015-02-23T09:30:01 | 31,201,147 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,071 | h | #pragma once
using namespace std;
#include <exception> //Management of exceptions
#include <iostream> //Management of cin and cout
#include <stdlib.h> //Management of random numbers: srand, rand
#include <time.h> //Management of time features
#include <cstdlib> //Management of system functions such as p... | [
"xavier_figuerola@hotmail.com"
] | xavier_figuerola@hotmail.com |
f033795d2c5259ece6a158fce5861df38757170e | 11227b9a3344c050366e801e0179f6bb6d05e725 | /Engine/Graphics/Font.h | d8af16a1c97c63ec0b68d1226a3cbbbaa6617201 | [] | no_license | MagnusRunesson/Pidventure | 46fefb63b95cecd78a1d159dcd4551651ac3d2d6 | 4bec99e46263c44c7ad69085cc0db81469bdae33 | refs/heads/master | 2020-09-22T15:12:20.369444 | 2018-01-02T19:37:15 | 2018-01-02T19:37:15 | 67,161,478 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 469 | h | //
// Font.h
// Razware Mega Collection 1
//
// Created by Magnus Runesson on 2017-06-05.
// Copyright © 2017 Magnus Runesson. All rights reserved.
//
#ifndef Font_h
#define Font_h
class Image;
class FontGlyph
{
public:
unsigned char ID;
int rectLeft, rectTop;
int rectWidth, rectHeight;
int baseline;
};
cla... | [
"magnus@pokewhat.com"
] | magnus@pokewhat.com |
c3f752e3941585b132fa8c368d0ea5aba780015e | f466e399822d25211abf450bbd0e5d4d35be7f42 | /Settings.cpp | 4aa5895d4d541cb46412dcfc55f40476f5ea9f77 | [] | no_license | jhpark2798/JSLib | d899cf737c52bd10130fc2a8079b9ce4aa62a2d8 | 101f1800f77d84be6049c5145aac7e5109847ad4 | refs/heads/master | 2020-09-12T12:56:05.744953 | 2020-03-05T21:41:01 | 2020-03-05T21:41:01 | 222,432,023 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 240 | cpp | #include "Settings.h"
namespace JSLib {
Settings::DateProxy& Settings::DateProxy::operator=(const Date& d) {
ObservableValue<Date>::operator=(d);
return *this;
}
Settings::DateProxy::operator Date() const {
return value();
}
} | [
"jhpark2798@gmail.com"
] | jhpark2798@gmail.com |
9c152c971b755a91f716964210df954c0d0ba3cb | 6e203dbe435bbfe167e637b42f9b80cce673e574 | /libs/Vehicle.hpp | 73b5d47e225e61a183ad6c92ae35d5f3f7baaad8 | [] | no_license | Carlovan/vehicles | 3c83beef211d4c0fcb1cf6f8faa57d34cd76f409 | c383b3d2367b48baf240d7d0d4c7aa31a1244b9e | refs/heads/main | 2023-06-06T08:29:17.010780 | 2021-06-30T19:02:19 | 2021-06-30T19:02:19 | 380,838,114 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 501 | hpp | #ifndef VEHICLES_VEHICLE_H
#define VEHICLES_VEHICLE_H
#include <Object.hpp>
#include <VectorMath.hpp>
/*
* This vehicle model is heavily inspired by http://www.red3d.com/cwr/steer/gdc99/
*/
class Vehicle : public Object {
const float maxSpeed = 5;
const float maxForce = 1;
public:
Vehicle(const float x, const ... | [
"giulio.carlassare@gmail.com"
] | giulio.carlassare@gmail.com |
a8bfc1830713095bd3ab97fb120ba42d04d0820b | c51febc209233a9160f41913d895415704d2391f | /YorozuyaGSLib/source/_qry_sheet_reged.cpp | f1f2b6406d704574535b3c22d0a47c26d741ad82 | [
"MIT"
] | permissive | roussukke/Yorozuya | 81f81e5e759ecae02c793e65d6c3acc504091bc3 | d9a44592b0714da1aebf492b64fdcb3fa072afe5 | refs/heads/master | 2023-07-08T03:23:00.584855 | 2023-06-29T08:20:25 | 2023-06-29T08:20:25 | 463,330,454 | 0 | 0 | MIT | 2022-02-24T23:15:01 | 2022-02-24T23:15:00 | null | UTF-8 | C++ | false | false | 560 | cpp | #include <_qry_sheet_reged.hpp>
START_ATF_NAMESPACE
_qry_sheet_reged::_qry_sheet_reged()
{
using org_ptr = void (WINAPIV*)(struct _qry_sheet_reged*);
(org_ptr(0x14011f550L))(this);
};
void _qry_sheet_reged::ctor__qry_sheet_reged()
{
using org_ptr = void (WINAPIV*)(struct _q... | [
"b1ll.cipher@yandex.ru"
] | b1ll.cipher@yandex.ru |
76f89febb42277945d265dc7fa33f486a04d3f01 | 3004d76f5f48ed932377c2e40a816e102216d237 | /344 Reverse String.cpp | 01e2d71c9f82820845a6599ebec0dc5299a022d7 | [] | no_license | gro-mit/LeetCode | 4e1c26380f90c4a036ba6a63a8ee32c267464afe | 9e11805b8dbea748e56b33b49cb75fde89caa1b6 | refs/heads/master | 2021-01-21T06:59:07.382179 | 2017-04-04T11:34:45 | 2017-04-04T11:34:45 | 82,875,042 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 215 | cpp | class Solution {
public:
string reverseString(string s) {
int i=0,j=s.length()-1;
while(i<=j){
swap(s[i],s[j]);
i++;
j--;
}
return s;
}
};
| [
"spatriotc@sina.com"
] | spatriotc@sina.com |
b1b5d3dcf75e02ef0719a0f485109f77768a7b5b | 6cd7fe3c469db20990f49def35e72b4dddeb495e | /fuse-bindings.cc | 14bc0f6b7eeb521c3d92915eee95530632fccb51 | [
"MIT"
] | permissive | dweinstein/fuse-bindings | 00bcdd94b8cf230207e2e33ec91d5aeaff015f8a | de412a6aaf566cc8d55d405e1407b9c5a07df465 | refs/heads/master | 2021-01-18T05:47:04.631961 | 2015-03-22T12:07:36 | 2015-03-22T12:07:36 | 32,242,617 | 0 | 0 | null | 2015-03-15T03:03:27 | 2015-03-15T03:03:27 | null | UTF-8 | C++ | false | false | 38,379 | cc | #include <nan.h>
#define FUSE_USE_VERSION 29
#include <fuse.h>
#include <fuse_opt.h>
#include <fuse_lowlevel.h>
#include <semaphore.h>
#include <stdio.h>
#include <string.h>
#include <errno.h>
#include <stdlib.h>
#include <unistd.h>
#include <sys/mount.h>
#include <sys/types.h>
#include <sys/wait.h>
#ifdef __APPLE__
... | [
"mathiasbuus@gmail.com"
] | mathiasbuus@gmail.com |
a9e83c24d730ae191dbadf4c47ed43fe6d72c152 | 1589539e075e6c3a5cee4d62541ea274bb1c02b2 | /SnookerVideoEventDetector/SnookerVideoEventDetector.h | 027a1e40d01466945ee0da25f149cd46f37af94e | [] | no_license | 147xin/SnookerVideoEventDetector | 2619e3167a644ea5acbbc5cc8ad8035e2da914dc | accbf4becd8c7cca8351f3257eceae3cda20eb4a | refs/heads/master | 2021-01-01T05:41:57.211743 | 2015-03-25T13:09:10 | 2015-03-25T13:09:10 | 28,905,011 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,023 | h | //
// SnookerVideoEventDetector.h
// SnookerVideoEventDetector
//
// Created by Yixin Huang on 14/12/22.
// Copyright (c) 2014年 Yixin Huang. All rights reserved.
//
#ifndef SnookerVideoEventDetector_h
#define SnookerVideoEventDetector_h
#include <string>
#include <vector>
#include <iostream>
#include <fstream>
#i... | [
"yef147@gmail.com"
] | yef147@gmail.com |
c0f7f7131ff0c7828f799165a1edddf027078dbb | a568d13304fad8f44b1a869837b99ca29687b7d8 | /Code_16/night/lesson_7_test_RT/RT_Converse.cpp | 51b08ed5fa6559e805dc040a0e35b8f659cd0f2f | [] | no_license | MasterIceZ/Code_CPP | ded570ace902c57e2f5fc84e4b1055d191fc4e3d | bc2561484e58b3a326a5f79282f1e6e359ba63ba | refs/heads/master | 2023-02-20T14:13:47.722180 | 2021-01-21T06:15:03 | 2021-01-21T06:15:03 | 331,527,248 | 0 | 0 | null | 2021-01-21T05:51:49 | 2021-01-21T05:43:59 | null | UTF-8 | C++ | false | false | 891 | cpp | /*
TASK:
LANG: CPP
AUTHOR: Wichada
SCHOOL: RYW
*/
#include<bits/stdc++.h>
using namespace std;
map< int,int > a,b;
int main()
{
int q,n,now,ansa=0,ansb=0,ans;
scanf("%d",&q);
while(q--){
ansa=ansb=0;
ans=0;
scanf("%d",&n);
for(int i=1;i<=n;i++){
sc... | [
"w.wichada26@gmail.com"
] | w.wichada26@gmail.com |
d350f72fdfa1e1f0b9844ebec17c28eaa34e65c0 | 1afc8cdbd3a6d627415b346293416ede54bf31e2 | /codeforces/1265/C.cpp | 52f783381c78e1bb4b6dcd034cf7fd0de02e4313 | [] | no_license | umangja/CompetitiveProgrammingSolution | bf6944b81373061124179db5ba2ce2612032e1fe | d622398e40dadadde191c0d9b34a9fcd4735c69c | refs/heads/master | 2023-03-25T23:05:09.596577 | 2021-02-23T09:07:00 | 2021-03-14T15:22:40 | 341,297,361 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,236 | cpp | /*input
*/
//assic value of ('0'-'9') is(48 - 57) and (a-z) is (97-122) and (A-Z) is(65-90) and 32 for space
#include<bits/stdc++.h>
using namespace std;
#define ll long long
#define pb push_back
#define pii pair<ll int,ll int>
#define vpii vector< pii >
#define vi ... | [
"umang.jain.cse17@itbhu.ac.in"
] | umang.jain.cse17@itbhu.ac.in |
8ee4158f4fb825995eff28099618ee09c0641235 | b53c09f2264c9ed94c1e9ed88feece12633a15f3 | /ihup-fix/HeadTable.cc | 2b6ba59f2367c5d125eac70083c9c015be752ff5 | [] | no_license | wsgan001/iCHUM-utility-mining | 87ce1ccc6f28fc553b824f5242b843e002eb0d6e | d655fd595fd2b5ac524747bab0f43e27642fff09 | refs/heads/master | 2020-03-25T19:29:35.847415 | 2015-08-10T06:16:11 | 2015-08-10T06:16:11 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,004 | cc | #include<iostream>
using namespace std;
#include "HeadTable.h"
#include "pardhp.h"
HeadTable::HeadTable(const double *d){
int i;
HeadNode = new item_2[maxitem];
for (i = 0; i<maxitem; i++) {
HeadNode[i].item2 = i;//设置其物品编号
HeadNode[i].t_utility = d[i];//设置其物品的TWU值
H... | [
"xiaojue1990@gmail.com"
] | xiaojue1990@gmail.com |
82ee69d5eef61c1e7e27496d337d71ef7845e5b8 | 6717142162a4f06640291cd9b5651af86043d103 | /chrome/browser/shell_integration_win.h | 294ae248fe29024c8cada0b26489451f2c22a5e1 | [
"BSD-3-Clause"
] | permissive | Sharp-Rock/chromium | ad82f1be0ba36563dfab380071b8520c7c39d89a | 239aaf3cc8a338de2c668e5b9170d37b0848a238 | refs/heads/master | 2023-02-25T08:29:01.592526 | 2019-09-11T12:31:58 | 2019-09-11T12:31:58 | 207,808,804 | 0 | 0 | BSD-3-Clause | 2019-09-11T12:37:41 | 2019-09-11T12:37:41 | null | UTF-8 | C++ | false | false | 4,300 | h | // Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_SHELL_INTEGRATION_WIN_H_
#define CHROME_BROWSER_SHELL_INTEGRATION_WIN_H_
#include <memory>
#include <string>
#include "base/callb... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
859058e39cce779eba438e092e77a19a76fcb81d | e4583509d9f01bc0fa6e7e8516b5466f158c2ff5 | /Prototyping/Misthaven - Aaron/Misthaven/Prototyping/Game.cpp | eec83d18211982fa45eb8b691176316b6fab084a | [] | no_license | Acularius/Pixel-Brother | 425a5871a43803b504b0aada474a7a9c168ef315 | 672b639a1d7418902bdf90b91676e68ed7d6a04b | refs/heads/master | 2021-01-19T11:03:29.960263 | 2014-04-13T22:04:26 | 2014-04-13T22:04:26 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,559 | cpp | #include "Game.h"
#include "DrawPrimitives.h"
/* this is called by std::sort to sort the list based on layerID
* for drawing in the proper order
*/
bool spriteSortingFunction(Sprite *s1, Sprite *s2)
{
// return true if s1's layerID is less than s2's layerID
return (s1->layerID < s2->layerID);
}
/* constructor ... | [
"aaron-metallion@hotmail.com"
] | aaron-metallion@hotmail.com |
e9c6e754630fa0b20dd53e5f307a166f65026ee3 | f7a6fd59ded5c9259649ddb2258391715cd16baa | /src/GameInput.cpp | 41f427b535eeea877555b60d511880025541e538 | [] | no_license | sillybear/StepMania-3.9-r2017 | 1b25cc9cd06f53c9fddea7ea98aa939146c66873 | ae40fb35f9d6c439bb1c9820dc2daf249a675b93 | refs/heads/master | 2021-01-19T09:57:03.481713 | 2018-02-09T21:39:03 | 2018-02-09T21:39:03 | 82,153,677 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,727 | cpp | #include "global.h"
#include "GameInput.h"
#include "RageLog.h"
#include "RageUtil.h"
CString GameInput::toString()
{
return ssprintf("%d-%d", controller, button );
}
bool GameInput::fromString( CString s )
{
CStringArray a;
split( s, "-", a);
if( a.size() != 2 ) {
MakeInvalid();
return false;
}
contro... | [
"jindev2k7@yahoo.com"
] | jindev2k7@yahoo.com |
4629d83f1129001d753402d50b41b479cbe2427e | c776476e9d06b3779d744641e758ac3a2c15cddc | /examples/litmus/c/run-scripts/tmp_1/Z6.2+dmb.sy+ctrlisb+addr.c.cbmc_out.cpp | 775976233ef36198dd545182ab74320205970f3f | [] | no_license | ashutosh0gupta/llvm_bmc | aaac7961c723ba6f7ffd77a39559e0e52432eade | 0287c4fb180244e6b3c599a9902507f05c8a7234 | refs/heads/master | 2023-08-02T17:14:06.178723 | 2023-07-31T10:46:53 | 2023-07-31T10:46:53 | 143,100,825 | 3 | 4 | null | 2023-05-25T05:50:55 | 2018-08-01T03:47:00 | C++ | UTF-8 | C++ | false | false | 41,367 | cpp | // 0:vars:3
// 3:atom_1_X0_1:1
// 4:atom_2_X0_1:1
// 5:thr0:1
// 6:thr1:1
// 7:thr2:1
#define ADDRSIZE 8
#define NPROC 4
#define NCONTEXT 1
#define ASSUME(stmt) __CPROVER_assume(stmt)
#define ASSERT(stmt) __CPROVER_assert(stmt, "error")
#define max(a,b) (a>b?a:b)
char __get_rng();
char get_rng( char from, char to ) ... | [
"tuan-phong.ngo@it.uu.se"
] | tuan-phong.ngo@it.uu.se |
7488240056099a3660f0cd26abfb030500844414 | 4c23be1a0ca76f68e7146f7d098e26c2bbfb2650 | /ic8h18/0.0025/TC3H6OCHO | 934e3a956d91b4aad710d0a6bbd4ce2a23e4bd97 | [] | no_license | labsandy/OpenFOAM_workspace | a74b473903ddbd34b31dc93917e3719bc051e379 | 6e0193ad9dabd613acf40d6b3ec4c0536c90aed4 | refs/heads/master | 2022-02-25T02:36:04.164324 | 2019-08-23T02:27:16 | 2019-08-23T02:27:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 842 | /*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: 6
\\/ M anipulation |
\*-------... | [
"jfeatherstone123@gmail.com"
] | jfeatherstone123@gmail.com | |
49dbe701a8bb4be0c877aa478181c4f9e4456649 | 6b2a8dd202fdce77c971c412717e305e1caaac51 | /solutions_1480487_1/C++/RosyIsh/A1.cpp | c3c9789bf8d07a4632b9fcb65d8af734070b4314 | [] | no_license | alexandraback/datacollection | 0bc67a9ace00abbc843f4912562f3a064992e0e9 | 076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf | refs/heads/master | 2021-01-24T18:27:24.417992 | 2017-05-23T09:23:38 | 2017-05-23T09:23:38 | 84,313,442 | 2 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 1,108 | cpp | #include<iostream>
#include<cstdio>
#include<cstring>
#include<cstdlib>
#include<vector>
#include<map>
#include<set>
#include<queue>
#include<algorithm>
#define SI(x) scanf("%d ",&x)
#define SL(x) scanf("%lld",&x)
typedef long long LL;
using namespace std;
int S[500];
int K[500];
double p[500];
double x = 0.0;
doub... | [
"eewestman@gmail.com"
] | eewestman@gmail.com |
537463592fd471642c79ccaa742961b34854f191 | 73a8f3c9c640af08acbefe657bff62e3d1751fc2 | /Dependencies/Qt-5.4.1/include/QtLocation/5.4.1/QtLocation/private/qgeocodereply_p.h | b75379e39fc9fd00903c9060e46a9a9332be6472 | [] | no_license | knight666/pitstop | 8d5ad076a71055803df1601e1df1640430ad56ca | 4e541d90507f38f36274e50b0d702a284d648e27 | refs/heads/master | 2020-07-10T00:51:28.141786 | 2019-08-24T20:08:02 | 2019-08-24T20:08:02 | 204,123,196 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,516 | h | /****************************************************************************
**
** Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/legal
**
** This file is part of the QtLocation module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL21$
** Commercial License Usag... | [
"knight666+github@gmail.com"
] | knight666+github@gmail.com |
6059adb59011f809a1241d481aa3b19d885a77bd | 3e21b0cc1b0c0089cb7259c8ae77c64ffccf8ade | /max-subarray-sum.cpp | 82083f494f0a2e32fa3ab824a9841746e5eec396 | [] | no_license | mehrankamal/competitive-100 | ee6c0946cc0c1f290e8a8dd989913d05859a8794 | 4b46d6c5940c2ba3942ba3164bebc52574f46649 | refs/heads/main | 2023-07-31T11:19:40.608156 | 2021-09-09T20:48:32 | 2021-09-09T20:48:32 | 396,076,441 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,058 | cpp | /*
* author: mkbaloch
* datetime: 2021-08-18 05:37:37
*/
#include<bits/stdc++.h>
#define all(x) x.begin(), x.end()
#define deb(x) cerr << "[" << #x << ": " << x << "]" << endl;
using namespace std;
typedef long long ll;
int main(){
ios_base::sync_with_stdio(false);
cin.tie(NULL);
#ifdef LOCAL
a... | [
"mehran_kamal@outlook.com"
] | mehran_kamal@outlook.com |
63718c4fbf4b0eb0eaa7ed54352d5fa588033647 | 88ae8695987ada722184307301e221e1ba3cc2fa | /third_party/skia/src/gpu/ganesh/GrDrawingManager.cpp | 13e3fd1ab6956b01a143f417ae009d5110394cd5 | [
"Apache-2.0",
"LGPL-2.0-or-later",
"MIT",
"GPL-1.0-or-later",
"BSD-3-Clause"
] | permissive | iridium-browser/iridium-browser | 71d9c5ff76e014e6900b825f67389ab0ccd01329 | 5ee297f53dc7f8e70183031cff62f37b0f19d25f | refs/heads/master | 2023-08-03T16:44:16.844552 | 2023-07-20T15:17:00 | 2023-07-23T16:09:30 | 220,016,632 | 341 | 40 | BSD-3-Clause | 2021-08-13T13:54:45 | 2019-11-06T14:32:31 | null | UTF-8 | C++ | false | false | 41,923 | cpp | /*
* Copyright 2015 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "src/gpu/ganesh/GrDrawingManager.h"
#include <algorithm>
#include <memory>
#include "include/core/SkDeferredDisplayList.h"
#include "include/gpu/GrBackendSemaphore.... | [
"jengelh@inai.de"
] | jengelh@inai.de |
d8e3eabc911276a0cec7835d9b3d394b7f803fdb | df680738e90d9d7c0022b0d109f45b3a03ab1359 | /entities/fire_streak.h | 3b26477e8d567e5f74767096b2c8df4c3c90770d | [] | no_license | graysonpike/cs378-sdlgl-tank-game | fc303f8ab1d51eebef0ecf0b61c97f7d9de36033 | 742fb9b6df9f5a6bae86afe3de743e1f382ad916 | refs/heads/main | 2023-01-27T11:52:07.251327 | 2020-12-13T17:17:37 | 2020-12-13T17:17:37 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 369 | h | #ifndef FIRESTREAK_H
#define FIRESTREAK_H
#include <utility>
#include <sdlgl/game/physical_entity.h>
#include <sdlgl/game/timer.h>
class FireStreak : public PhysicalEntity {
int end_x;
int end_y;
Timer timer;
public:
FireStreak(Scene *scene, std::pair<int, int> start, std::pair<int, int> end, float duration=1... | [
"graysonpike@gmail.com"
] | graysonpike@gmail.com |
94e1f778978afa42c294dcb1a9ca0796f7e388bc | 3d67864b29ce4b5438037af53d9cc18990661833 | /MyTestApp/Camera.cpp | 15f7b68c80869ac88e0990bbcd51abdaa0685708 | [] | no_license | TheCapleGuy/NSFWGL_Personal | fcd4e807a45cf747f928ac7d2bc790bc55f5c789 | 7cbafbf93b7f7c2a9d183e45e9949596f02d9037 | refs/heads/master | 2021-01-10T15:15:57.060299 | 2015-12-11T00:48:15 | 2015-12-11T00:48:15 | 43,984,460 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 568 | cpp | #include "Camera.h"
#include "Window.h"
void Camera::update()
{
{
auto &w = nsfw::Window::instance();
auto const &time = w.getTime();
//move camera right
if (w.getKey('D'))
m_transform[3] += m_transform[0] * (camSpeed * time);
//move camera left
if (w.getKey('A'))
m_transform[3] -= m_transform[0] * ... | [
"adrianocaple@gmail.com"
] | adrianocaple@gmail.com |
211ff5dba81185772af16d6d050a622fe6592a98 | f35bf9ff7405c179289f049fad4396198b4a0ef8 | /Algorithms/BS_Rotated_SrchPivot.cpp | 9a529677924e4fd3ef8d4b2a9cb822796fbad208 | [] | no_license | proRamLOGO/Competitive_Programming | d19fc542e9f10faba9a23f4ef3335f367ccc125a | 06e59ba95c3804cae10120ac7eda6482c3d72088 | refs/heads/master | 2023-01-03T07:27:25.960619 | 2020-10-29T19:15:53 | 2020-10-29T19:15:53 | 151,049,005 | 0 | 7 | null | 2020-10-29T19:15:54 | 2018-10-01T07:05:55 | C++ | UTF-8 | C++ | false | false | 1,257 | cpp | #include <iostream>
#include <vector>
using namespace std ;
int main() {
int n, x ;
cin >> n ;
vector< int > v(n) ;
for ( auto i = 0 ; i < n ; ++i )
cin >> v[i] ;
cin >> x ;
int lo = 0, hi = n-1, mid, ans=-1 ;
//Binary Search
while ( hi >= lo ) {
mid = (hi+l... | [
"kapilgupta547@outlook.com"
] | kapilgupta547@outlook.com |
b40c39526f1a278ce8d46e072f73db57b4b1516f | 97477c1b51de48e76bd823e66c3197c1bc258afc | /Sources/Transition.cpp | 01676a0eb46c9eed99307236a3417a74efe9644c | [] | no_license | anasteyshakoshman/Automaton | 5085ee9ae2562dd6ac479f7eadf7829b9c8e4d54 | 02dde12f1c517625d76bcf947d223319c1eca3b8 | refs/heads/master | 2020-04-13T04:52:48.208402 | 2018-12-26T21:50:27 | 2018-12-26T21:50:27 | 161,214,591 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,328 | cpp | //
// Created by Анастасия on 23/12/2018.
//
#include "../Headers/Transition.h"
Transition::Transition()
{
Out = NONE;
In = NONE;
};
Transition::Transition(const state out, const char letter, const state in)
{
Out = out;
In = in;
Letter = letter;
};
Transition & Transition::operator =(const Tran... | [
"anastasiay.andreevnaa@gmail.com"
] | anastasiay.andreevnaa@gmail.com |
5ed1d6af490aa7d4eb2f459372eac1cd680272c4 | 09545709c219b7532cd2623708265965588318d3 | /Cgadius 0.5/CMP105App/Level.h | 269ba78be0d1a253f2be8bd5844bde896e376cb0 | [] | no_license | dardarus86/Cgadius | a6bcc85abf0a788bea0188cba8cef5e4d18e752d | 83bea7f94cc4aa90bfd0e1816b4a5ca6589c3099 | refs/heads/master | 2021-11-03T20:42:06.436457 | 2019-04-27T01:44:48 | 2019-04-27T01:44:48 | 177,153,459 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,144 | h | #pragma once
#include <SFML/Graphics.hpp>
#include <SFML/Audio.hpp>
#include "Framework/Input.h"
#include "Framework/Collision.h"
#include "AsteroidManager.h"
#include "WallManager.h"
#include "EnemyManager.h"
#include "Asteroid.h"
#include "Enemy.h"
#include "Wall.h"
#include "Player.h"
#include <string.h>
#include ... | [
"jamiehaddow@hotmail.com"
] | jamiehaddow@hotmail.com |
2d9baf02f1a529a7cc7447b8169263a2392c99c4 | d4ad9c07d8fac9e800170b1af05954ddf297e394 | /ventana.cpp | a09e5318ad898d8608f1518198284f89649d7fae | [] | no_license | etanol/vigger | 04c3d4011e47498fa95747181963f6aef9a84dd0 | dfa955f1601cda7bb2335790cdabaf867525a292 | refs/heads/master | 2020-04-29T07:52:11.731284 | 2012-11-09T14:08:09 | 2012-11-09T14:08:09 | 175,967,188 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,799 | cpp | //
// ventana.cpp - Implementación de la clase Ventana
//
// Este fichero reemplaza el antiguo ventana.ui.h siguiendo los cambios
// determinados por la migración de Qt3 a Qt4.
//
#include <QFileInfo>
#include <QFileDialog>
#include <QMessageBox>
#include <QColorDialog>
#include <QColor>
#include "ventana.h"
#include ... | [
"diptongo@gmail.com"
] | diptongo@gmail.com |
6e72bfece938ebd76d0a0e2a998d607ae2fc2029 | ce4228a3005f297cd2eddf14dfee37eeeaae9d64 | /9_2.cpp | df5ca52ff417aa3de591e9b68faf5511cb66c3ab | [] | no_license | ShushGalstyan/Exercises-Chapter-9 | a7e57932c465ca7c44c857677a0a64efb4310e41 | 891ac2eead1ed99e4fc2a3122c7933c4a75cf78a | refs/heads/master | 2020-03-23T10:27:51.689754 | 2018-07-21T19:04:28 | 2018-07-21T19:04:28 | 141,444,543 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 639 | cpp | //9_2.cpp
// Demonstrating the class member access operators . and ->
#include <iostream>
using namespace std;
class Count
{
public:
int setX(int value)
{
x = value;
}
void print()
{
cout<< x<<endl;
}
private:
int x;
};
int main()
{
Count Counter;
Count *CounterPtr = &Counter;
Count &CounterRef = Counte... | [
"shush.galstyan.10@mail.ru"
] | shush.galstyan.10@mail.ru |
e5c04ba609c08881268b7b48beecd6be608d0f28 | 7e85999425d16039207c2e86f450452088d1ad1a | /cc/ModelSubroutines.h | 73ef347ac62e2ba270e4e9b999be4c1d3f12e9e5 | [] | no_license | proger/inquiry | 914f8402c69811d86d3505dc108f43c3d7acbd71 | 07774dd86a367bb0f4f2e17141f72dab9c225dd0 | refs/heads/master | 2021-01-20T06:26:11.939703 | 2011-11-16T13:45:55 | 2011-11-16T13:45:55 | 2,813,340 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,594 | h | /* $SYSREVERSE: ModelSubroutines.h,v 1.7 2011/05/05 19:48:18 proger Exp $ */
#ifndef _SYSREV_INQUIRY_AST_MODELSUBR_H_
#define _SYSREV_INQUIRY_AST_MODELSUBR_H_
#include <clang/AST/Decl.h>
#include <clang/AST/DeclGroup.h>
#include <clang/AST/Stmt.h>
#include <clang/AST/Expr.h>
#include <clang/AST/Type.h>
#include <clan... | [
"proger@wilab.org.ua"
] | proger@wilab.org.ua |
1d2b68877936ee53c37560572753e19299396fa0 | 38e9780cb2d2f9069428302b1ba4b4bb4ca04ed6 | /Huiswerk/Eindopdracht/Game Engine V2/stdafx.cpp | dc4fa79c9f41aa8ed495c54e8ecdd074a92e842a | [] | no_license | MaurodeLyon/Computer-Vision | 6184fc13eb7812979a984fafb6bb6a8dba5df9ac | d0271ec47ac50d8daedfa25247b12f155456b042 | refs/heads/master | 2021-01-17T13:27:09.885862 | 2016-06-07T19:30:14 | 2016-06-07T19:30:14 | 56,507,877 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 293 | cpp | // stdafx.cpp : source file that includes just the standard includes
// Game Engine V2.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
| [
"maurodelyon@gmail.com"
] | maurodelyon@gmail.com |
caab951c611645cad2d32945f7c807a2c5285f6d | 799d9503ac8bbabae206e0f12cd6f29121e3734f | /utils/particle_filter/landmarks_transformation.cpp | e012412dec8bf756e557bdea3be7acc346dff51e | [
"MIT"
] | permissive | andrea-ortalda/CarND-Kidnapped-Vehicle-Project | 71344c82b2861db7bd7b1a2194dc7eb094b5ccaa | 63a7446b24d049bc1e4d5a0575f63fb5cb351fb4 | refs/heads/master | 2020-12-26T19:58:54.781013 | 2020-02-01T17:59:55 | 2020-02-01T17:59:55 | 237,624,574 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,788 | cpp | #include <cmath>
#include <iostream>
int main()
{
// define coordinates and theta
double x_part, y_part, x_obs, y_obs, theta;
x_part = 4;
y_part = 5;
x_obs = 2;
y_obs = 2;
theta = -M_PI / 2; // -90 degrees
// transform to map x coordinate
double x_map;
x_map = x_part + (cos(theta) * x_obs) - (sin(... | [
"andrea.ortalda@fcagroup.com"
] | andrea.ortalda@fcagroup.com |
4decdf0ee459b4ad4834de54415479e5bd8d5726 | f5f750efbde0ccd95856820c975ec88ee6ace0f8 | /aws-cpp-sdk-sqs/include/aws/sqs/model/SetQueueAttributesRequest.h | f22d8ab8cb2c5ea9dae69cacd029630cfb33d9da | [
"JSON",
"MIT",
"Apache-2.0"
] | permissive | csimmons0/aws-sdk-cpp | 578a4ae6e7899944f8850dc37accba5568b919eb | 1d0e1ddb51022a02700a9d1d3658abf628bb41c8 | refs/heads/develop | 2020-06-17T14:58:41.406919 | 2017-04-12T03:45:33 | 2017-04-12T03:45:33 | 74,995,798 | 0 | 0 | null | 2017-03-02T05:35:49 | 2016-11-28T17:12:34 | C++ | UTF-8 | C++ | false | false | 64,036 | h | /*
* Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" fil... | [
"henso@amazon.com"
] | henso@amazon.com |
8b9a8315c9d95d59b292c405818babcc853b8efb | ca3c87e77a1a13d66c28a7ddfd651fdefa225c4f | /Classes/Building_Sprite.cpp | d168ab288eb1e1a9b43d88f495ae0f33d479da14 | [] | no_license | Anatoliuz/SpaceWarsX | 255dbd14389e9e1d393892bdb8a122b77315a6d9 | 375b5ba5c0168c740d2aac4676310e4628d65725 | refs/heads/master | 2021-01-17T07:08:09.494800 | 2016-06-25T15:17:49 | 2016-06-25T15:17:49 | 53,348,512 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,097 | cpp | //
// Building_Sprite.cpp
// space
//
// Created by fix on 18/05/16.
//
//
#include "Building_Sprite.hpp"
using namespace cocos2d;
Building_Sprite* Building_Sprite::create(){
Building_Sprite * sprite = new Building_Sprite();
if (sprite->initWithFile("building.png")) {
sprite->autorelease();
... | [
"afilinovs@gmail.com"
] | afilinovs@gmail.com |
3c8d01699bae7943eec6af58066fe614424a8fa1 | 30812e2d83952e5c96d3c24609944399d46f8b35 | /作业6.27.0.cpp | 558d88cf898d47d71ede8aed18ae22a41197536b | [] | no_license | xutong66/xu_tong | 516cbf204757527370884fc391268d2b3845d38d | 04afbc2bac04a31534b3f623ab05bec4cba83fd8 | refs/heads/master | 2020-04-28T03:19:02.831748 | 2019-08-09T06:07:50 | 2019-08-09T06:07:50 | 174,932,174 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 504 | cpp | #include<iostream>
using namespace std;
double smallest ( double,double,double );
int main ()
{
double n1 = 0;
double n2 = 0;
double n3 = 0;
cout << "Enter three numbers: ";
cin >> n1 >> n2 >> n3;
cout << "The smallest is: " << smallest ( n1, n2, n3 )<< endl;
}
double smallest ( double n1... | [
"2482780136@qq.com"
] | 2482780136@qq.com |
9b54891bdb6df3d895fbb7e8c51cfc2f55f89574 | a167971a2957008a35028412b8557c11872b5e06 | /MathLibrary/VecMatrix.h | a535783841a7d5153cde2927265a3f42e05c5ba3 | [] | no_license | MaxGuidry/Intro_To_Programming | a4f26f975cf20c7f67b84cf892257d661b1b6bad | 861de072aed82da692f5f6cffa2d24829044f617 | refs/heads/master | 2020-12-01T18:26:46.488601 | 2017-02-21T19:47:41 | 2017-02-21T19:47:41 | 66,005,250 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,399 | h | #pragma once
#include<iostream>
#include<time.h>
#include<Windows.h>
#include<fstream>
class Vector2
{
public:
Vector2();
Vector2(float xx, float yy);
//NAME: operator==
//ARGUMENTS: one argument of a const 2d vector
//DESCRIPTION: checks each value in the vector and returns true if they are equal and false if the... | [
"mguidry7@outlook.com"
] | mguidry7@outlook.com |
909914258962a7d72434f06445102c75cced88bb | 18c5ed1057dd6b4528adde132bb268af707e5083 | /src/ATen/templates/TensorDerived.cpp | 5977a834fe298eac7c025ab83ae594beaffa819d | [] | no_license | jgehring/ATen | 9356d284d1353d3870dc0ba269e5664989cab541 | 574352a7e3e0c3d7e8babadbb11ff49f10ec4acd | refs/heads/master | 2020-12-02T16:38:32.008369 | 2017-07-07T17:54:17 | 2017-07-07T17:54:17 | 96,564,049 | 0 | 0 | null | 2017-07-07T18:10:08 | 2017-07-07T18:10:08 | null | UTF-8 | C++ | false | false | 796 | cpp | #include "ATen/${Tensor}.h"
#include "ATen/Scalar.h"
#include "ATen/Half.h"
namespace at {
${Tensor}::${Tensor}(Context* context)
: ${Tensor}(context,${THTensor}_new(${state})) {}
${Tensor}::${Tensor}(Context* context, ${THTensor} * tensor)
: TensorImpl(&context->getType(Backend::${Backend},ScalarType::${ScalarName}... | [
"zdevito@fb.com"
] | zdevito@fb.com |
76308fa66e6834bd66144671ba8e591b6fdc3643 | 0c7be72ca167c64ac7b46fa13932e384aaf3f21a | /ch1.LinearList/Reference_Linked_list.cpp | 69709757b28c9edd255929ec2aa8a85c8ea08ada | [] | no_license | SilenceHS/algo_ds | cfdddeb20816b9550975c22c94199d99f2211311 | 79116cb56a5bb77e765d716ad52369cd6c6ccf4b | refs/heads/master | 2020-07-07T15:22:44.639706 | 2019-08-28T14:58:30 | 2019-08-28T14:58:30 | 203,388,161 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 815 | cpp | #include <iostream>
using namespace std;
struct LinkList{
int data;
LinkList * next;
};
void show(LinkList* L);
void delete2thNode(LinkList* &L);
int main(){
LinkList* L= (LinkList*)malloc(sizeof(LinkList));
LinkList* pre=L;
for(int i=0;i<4;i++)
{
LinkList* node= (LinkList*)malloc(sizeof... | [
"5724924@qq.com"
] | 5724924@qq.com |
cb7e931a8bfb18b4201c117a8091da458f07aab2 | d3d5636ae069c3d31c6e1dfae964f4b9797d1f87 | /C++_CN_Day16/C++_NC_Day16/完美数.cpp | 59694f2601f42884d53c84bc1e30886670323bdf | [] | no_license | adong001/C-C-_NC_Day | 1f83b1c609f2c9496ff787a0a98880a6cdad4c1d | 3351588293823c2507a4cef128967a07b80969ed | refs/heads/master | 2021-07-11T00:56:07.846956 | 2020-09-13T05:14:56 | 2020-09-13T05:14:56 | 191,345,716 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 542 | cpp | #define _CRT_SECURE_NO_WARNINGS 1
#include<iostream>
#include<cmath>
using namespace std;
int PerfectNum(int num)
{
int count = 0;
int i, j;
for (i = 1; i <= num; i++)
{
int sum = 0;
for (j = 1; j <= sqrt(i); j++)
{
if (i%j == 0)
{
sum += j;
if (j != i / j)
{
sum += i / j;
}
}
... | [
"1792095378@qq.com"
] | 1792095378@qq.com |
a25ca22d31a504574a11b798159c32c641832e36 | 897ef84932251c57a790b75b1410a147b9b64792 | /midieffecteditor.cpp | 32e542f6b175b5ff37b6f58ef9b16dbbcf57b083 | [] | no_license | erophames/CamX | a92b789d758e514d43e6fd676dbb9eed1b7b3468 | 56b08ed02d976621f538feca10e1aaa58926aa5a | refs/heads/master | 2021-06-21T21:14:27.776691 | 2017-07-22T11:46:09 | 2017-07-22T11:46:09 | 98,467,657 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 48 | cpp | #include "songmain.h"
#include "MIDIeffects.h"
| [
"matthieu.brucher@gmail.com"
] | matthieu.brucher@gmail.com |
fbbea912d6b38967f66d3c3b01240532fa81cf86 | a283103cbcdca66bd251a4ef03381e85fcf9611e | /Algorithms/Project2/11631.cpp | ec3f0881a2ffdb6840dde809f1bb1a9bfd0655c7 | [] | no_license | Alybaev/MathTasks | 98691a0fed5c6c1ef94d6722fe5f8a4087bc70e5 | c0eeaa377d38ef75f13a05045c9aed5f700c89e0 | refs/heads/master | 2020-05-02T04:21:41.563993 | 2019-05-14T08:12:59 | 2019-05-14T08:12:59 | 177,747,431 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,169 | cpp | #include <bits/stdc++.h>
using namespace std;
struct Edge
{
int u;
int w;
Edge(int aU,int aW)
:u(aU),w(aW)
{
}
};
int main()
{
iostream::sync_with_stdio(false);
int n,m;
while(cin >> n >> m and (n != 0 or m != 0))
{
int total = 0;
std::vector<std::vector<Edge>> g(n);
for(int k = 0; k < m;k++)
{
... | [
"alybaev_d@auca.kg"
] | alybaev_d@auca.kg |
b1625138ccbef71bd3c5c55d228f3f22a7c0760a | 42b69b6ee94412955bff05072f521cbfaf64686e | /src/gui/MessagesFrame.h | ea075b4f6f89809ee4b15918a20f0f77fc1c35ed | [
"LicenseRef-scancode-free-unknown",
"MIT"
] | permissive | Aluisyo/conceal-wallet | 66cb1c9d5234cd6620951fed69797216e35d6782 | 8019ca9d630e0e16052d20d24a73001eca471296 | refs/heads/master | 2020-04-29T11:31:46.948957 | 2019-03-12T10:32:13 | 2019-03-12T10:32:13 | 176,101,941 | 0 | 0 | MIT | 2019-03-17T13:03:02 | 2019-03-17T13:03:02 | null | UTF-8 | C++ | false | false | 992 | h | // Copyright (c) 2011-2017 The Cryptonote developers
// Copyright (c) 2018 The Circle Foundation
//
// Copyright (c) 2018 The Circle Foundation
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#pragma once
#include <QFrame... | [
"kahthan@gmail.com"
] | kahthan@gmail.com |
305692b0bc873702e19ca442ab258d85b9e8a6a4 | f9ebe7a39f065eb9f2b23dfb5fabab5dfc385580 | /libs-carto/vt/src/vt/BitmapManager.h | 9bf7a2e4ac206f225c6302ded7eb75de5e92090b | [
"BSD-3-Clause"
] | permissive | giserfly/mobile-sdk | b94f771a3723eb594c4469fffa54a47ee02a4337 | 7997616230901ccc0864f47e1079e86cd212ce39 | refs/heads/master | 2021-01-01T15:37:53.424250 | 2017-07-05T13:30:13 | 2017-07-05T13:30:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,844 | h | /*
* Copyright (c) 2016 CartoDB. All rights reserved.
* Copying and using this code is allowed only according
* to license terms, as given in https://cartodb.com/terms/
*/
#ifndef _CARTO_VT_BITMAPMANAGER_H_
#define _CARTO_VT_BITMAPMANAGER_H_
#include "Bitmap.h"
#include <memory>
#include <string>
#include <map>
... | [
"mark@nutiteq.ee"
] | mark@nutiteq.ee |
e736ee3304ef1315f8893c67a69acc868661cb1d | ef13f111f5988ebdcad3b569ff805bb9e8146025 | /5796_Tai_Game/map.cpp | a487023edbe372acaca91debefa284b2196b1e36 | [] | no_license | Tai1412/Basic_Game_Engine | 2e653d2a32264d5b098e86eb28bd7a22e0a38482 | f7ac0bdbab39d41e9529748da378bf4c6e727a4a | refs/heads/master | 2020-05-18T22:26:14.304551 | 2019-06-20T21:59:12 | 2019-06-20T21:59:12 | 184,690,029 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,817 | cpp | #include "map.h"
void Map::loadMyMap(char* mapName)
{
gameMap.maxX = 0;//start count from cell 0
gameMap.maxY = 0;
FILE* file = NULL; //read file
fopen_s(&file, mapName, "rb");//read mode rb
if (file == NULL)//check file
{
return;
}
for (int i = 0; i < maxMapY; i++)//<10 rows
{
for (int j = 0; j < maxMap... | [
"5796@ait.nsw.edu.au"
] | 5796@ait.nsw.edu.au |
ffda4d8a58cc5365a2c34ed697b156f123821a25 | 9832a7e0b2047b55bb236d8289e4d90b7add309e | /opmlimport.cpp | 4246c48741e298609dfeedaabe909991f9a498a8 | [] | no_license | zhorro/zizulja | f02a24a8c2e196864a32ec5722badce0c281fd7b | e9661d8a15d25d9843cc6069764d860861b3de48 | refs/heads/master | 2021-01-22T22:39:20.155002 | 2011-11-27T15:53:52 | 2011-11-27T15:53:52 | 2,542,154 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,612 | cpp | #include <QFile>
#include <QXmlSimpleReader>
#include <QXmlInputSource>
#include <QXmlDefaultHandler>
#include <QUrl>
#include "opmlimport.h"
#include "podcastsdb.h"
class OPMLHandler : public QXmlDefaultHandler
{
private:
int m_newElements;
public:
OPMLHandler(void) : QXmlDefaultHandler()
{
rese... | [
"smaksim@gmail.com"
] | smaksim@gmail.com |
4ffa0837ef97fd8ae4cb796551c3e1c726cffba1 | 424f0ff71d6cf8d8780f1e311600a80025bd6a56 | /TestGame/TestGame.cpp | b81d2b76b82e681f9e2d2913c198bf870d5a445a | [] | no_license | GAR-for-GATC/GameEngine | 384fd5d5db77901909f37a9ee9a7792dc5e6c558 | 27bb290bdb8ecfccaaf8221f315b67754eeb20ad | refs/heads/master | 2021-01-18T21:10:23.868477 | 2016-10-29T04:18:59 | 2016-10-29T04:18:59 | 72,263,012 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 623 | cpp |
#include <QtWidgets\qapplication.h>
#include <QtWidgets\qwidget.h>
#include "MyGlWindow.h"
int main(int argc, char* argv[]){
//This here just opens up a command line when run using
// return application.exec();
QApplication application(argc, argv);
//This opens a GUI window.
//QWidget myWidget;
//myWidget.s... | [
"eweaver15@comcast.net"
] | eweaver15@comcast.net |
ec370f12178664293397162ddb60d7f47cd00dab | cdd00d4d303e0829bb0c00530a165e1bd20cc7e6 | /gcpCbass/antenna/control/cbass/MountOffset.cc | 3ca2ace4a6a963f28c1c1f51cd145dac181511c8 | [] | no_license | chopley/controlCode | fa538a20719989c7d13946d7e273bae153aa91d7 | 0b40d14797bc6db63ca9ea55115be5217d87dc88 | refs/heads/master | 2021-01-19T01:34:05.388485 | 2016-07-20T11:20:29 | 2016-07-20T11:20:29 | 11,604,863 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,980 | cc | #define __FILEPATH__ "antenna/control/specific/MountOffset.cc"
#include <iostream>
#include "gcp/util/common/Debug.h"
#include "gcp/util/common/Exception.h"
#include "gcp/antenna/control/specific/MountOffset.h"
using namespace std;
using namespace gcp::antenna::control;
using namespace gcp::util;
/**................. | [
"cbassuser@c-bass.(none)"
] | cbassuser@c-bass.(none) |
20ad06d7caaaf427df8ab6bd838679fb1f26e304 | d21c44d6d0131a902ba8b55bd6c995191430fbda | /HEW4-2/sprite.cpp | 6bbfae12423da7fc3f3bada80ea10a596cc847ec | [] | no_license | shirokuma1114/Hew | f76399b446d0bf9607a3344343694cf0b0285e09 | 42ccad26a6028911f24237ee5ac941729075df6b | refs/heads/master | 2020-09-20T06:05:26.422354 | 2019-11-28T09:57:49 | 2019-11-28T09:57:49 | 223,906,974 | 0 | 5 | null | 2019-11-26T09:22:22 | 2019-11-25T09:12:50 | RPC | UTF-8 | C++ | false | false | 5,655 | cpp | #include <d3dx9.h>
#include <math.h>
#include "mydirect3d.h"
#include "texture.h"
typedef struct Vertex2D_tag
{
D3DXVECTOR4 position;
D3DCOLOR color;
D3DXVECTOR2 texcoord;
} Vertex2D;
#define FVF_VERTEX2D (D3DFVF_XYZRHW|D3DFVF_DIFFUSE|D3DFVF_TEX1)
static D3DCOLOR g_Color = 0xffffffff;
// static D3DCOLOR g_Color = ... | [
"hiromu.zai@gmail.com"
] | hiromu.zai@gmail.com |
11750489a14dfa2032603eb788a6ea80a42e1882 | 096961ee99272213aae979902aad0fed8b86a957 | /CodeForces/training/158B.cpp | 4a2e94efde83bcf1d98e2c5737e7bbcfff41d1fb | [] | no_license | yassin64b/competitive-programming | 2d92ee9878e33b5f40da4f0440e994beb595a21b | 180a309da3e12d00c9e4dc384a9aa95ec3e80938 | refs/heads/master | 2021-03-27T15:58:27.450505 | 2020-01-11T16:40:17 | 2020-01-11T16:40:17 | 53,347,417 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 855 | cpp | #include <iostream>
#include <vector>
#include <cstdlib>
using namespace std;
int main()
{
int n, num = 0;
cin >> n;
int cnt[4] = {0};
for(int i = 0; i < n; ++i)
{
int s;
cin >> s;
cnt[s-1]++;
}
num += cnt[3];
//cout << num << endl;
num += cnt[1]/2, cnt[1] -=... | [
"yassin.bahloul@gmx.de"
] | yassin.bahloul@gmx.de |
40a2c82f6aa5a7d1a2eb5c43c914e9dcf799eef4 | 8caae43ec3015fda9e1a8782980a21d7158452c3 | /src/nest_recursive/nest.cpp | 7764ae7a939620f46af29bd8da8544afa33d41b5 | [] | no_license | morning-color/data-structure | 5fafbff86bcded66bbd75b112a803fcff4c208e9 | e1df53f2b5c7f480f189c36a801022161e05775f | refs/heads/master | 2016-09-06T13:51:40.285820 | 2015-05-14T13:06:52 | 2015-05-14T13:06:52 | 34,613,861 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,918 | cpp | /******************************************************************************************
* Data Structures in C++
* ISBN: 7-302-33064-6 & 7-302-33065-3 & 7-302-29652-2 & 7-302-26883-3
* Junhui DENG, deng@tsinghua.edu.cn
* Computer Science & Technology, Tsinghua University
* Copyright (c) 2006-2013. All rig... | [
"moring_color@163.com"
] | moring_color@163.com |
8f37ff0527f5d3c51f945fd5d8b6672b2d0ac686 | 4352b5c9e6719d762e6a80e7a7799630d819bca3 | /tutorials/oldd/old/pimpleDyM_Piston/1.18/p | 13dfae39a56dba353fcd38c451d2ab7576ae743a | [] | no_license | dashqua/epicProject | d6214b57c545110d08ad053e68bc095f1d4dc725 | 54afca50a61c20c541ef43e3d96408ef72f0bcbc | refs/heads/master | 2022-02-28T17:20:20.291864 | 2019-10-28T13:33:16 | 2019-10-28T13:33:16 | 184,294,390 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,141 | /*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: 6
\\/ M anipulation |
\*-------... | [
"tdg@debian"
] | tdg@debian | |
f16168a8452bc7471958c0876c90d937caad9f0d | 87955ec8a20c3d3ee98ebce458956d57c972ed31 | /src/governance-validators.cpp | 3a9ec4f04ebe8408827c1fbf89efd9e409410904 | [
"MIT"
] | permissive | FullStackDeveloper2020/Hashshare | e7d8cdcff778ee127e01d092231c5080515ae4c2 | e4e5893183994382c1490356d158ee3dfc9f200e | refs/heads/master | 2020-12-26T12:06:11.529510 | 2020-01-31T19:48:36 | 2020-01-31T19:48:36 | 237,503,888 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,845 | cpp | // Copyright (c) 2014-2018 The Dash Core developers
// Copyright (c) 2018-2019 The PACGlobal developers
// Copyright (c) 2019 The HashShare Coin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "governance... | [
"59161578+hashshare@users.noreply.github.com"
] | 59161578+hashshare@users.noreply.github.com |
ee6b08b0d34dcf5e0f1a2aadc5ea98c3cd686971 | 50932dc8cec6f1ca48aff7a0a134885c0dead46c | /huffman_last.cpp | ed3d8d0fc5687c2ed04b0e2d55ae13bc060ce4ed | [] | no_license | ea-evdokimov/1-semestr | 8986fb1c05478b7f20bb6d85e5bbe6285e7b8c2c | 996ede52b77a4f752454c7a01ee0e15c3ac23947 | refs/heads/master | 2022-01-04T17:50:23.948791 | 2020-03-01T11:47:10 | 2020-03-01T11:47:10 | 223,782,760 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,059 | cpp | #include <iostream>
#include <string>
#include <queue>
//#include "Huffman.h"
using namespace std;
typedef unsigned char byte;
class node {
private:
int frequency;
byte symbol;
bool help;//флаг, является ли узел вспомогательным
string code;//строка для кода символа
node* left = nullptr;
node* right = nullptr;
p... | [
"e.evdokimov.gor@gmail.com"
] | e.evdokimov.gor@gmail.com |
968e8f94c6e5040a36577c88d4ef96309104ff9d | 45c6e5e140019ea417b06fe5c082ad309eaab0ce | /Imaging/include/Grabber.h | fb3db5d6543b836b71ee3922e69673125fcefbf3 | [] | no_license | isliulin/fadvs | 532220b54d17eab90717a8cd92b280417e65eeeb | 5729519bcd0651eb85b34fcbda61c50f1d70ddc4 | refs/heads/master | 2022-10-16T04:32:17.502976 | 2020-06-15T09:55:21 | 2020-06-15T09:55:21 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 44,294 | h | // Grabber.h: interface for the Grabber class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_GRABBER_H__F72DCE0B_3C5C_44EA_BFAB_ADDE04304CA6__INCLUDED_)
#define AFX_GRABBER_H__F72DCE0B_3C5C_44EA_BFAB_ADDE04304CA6__INCLUDED_
#pragma once
#include <string>
#include <vector>... | [
"qdh8087@gmail.com"
] | qdh8087@gmail.com |
1867b3a849976bfe07c15fd76fbcded58af6f75c | 6cb9d8be6814d03099ad0d2d7367501bc45d5419 | /Singularity/Code/World.cpp | d9cc05f749ca717039b054c792e82d39adbb908d | [] | no_license | y2kiah/singularity | ae7f5cdc627bf3cf79cc85a1b2db5cdd4a37980b | a489e6e1997bd220322466073b3dfcad8045ec6f | refs/heads/master | 2020-09-27T01:24:51.329042 | 2019-12-06T18:55:52 | 2019-12-06T18:55:52 | 226,389,561 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,188 | cpp | /* ----==== WORLD.CPP ====---- */
#include <GL\glew.h>
#include <cmath>
#include <fstream>
#include "world.h"
#include "world_console.h"
#include "engine.h"
#include "options.h"
#include "player.h"
#include "frustum.h"
#include "console.h"
#include "texturemanager.h"
#include "meshmanager.h"
#include "shadermanager.h"... | [
"y2kiah@hotmail.com"
] | y2kiah@hotmail.com |
11030a3d01c2d0dd08bcbebfce90e2f95f94ab31 | 20560888f97b922dc4cba544027b19acdd6ee4d6 | /libraries/SinricPro_Generic/examples/Generic/Switch/Generic_WiFiNINA/Generic_WiFiNINA_MultiSwitch_beginner/Generic_WiFiNINA_MultiSwitch_beginner.ino | d937f1077c1a41cfad8fbc723c8f50cb4e1f97d0 | [
"MIT"
] | permissive | WellingtonSouzaAbreu/Arduino-code | 6b8c419f2876d47966f8738e461d3a280e36ba71 | 0b6c18b3849717fbb8dff8ed2d210965055adcec | refs/heads/master | 2023-07-09T22:37:40.610906 | 2021-08-10T01:36:15 | 2021-08-10T01:36:15 | 314,090,841 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,122 | ino | /****************************************************************************************************************************
Generic_WiFiNINA_MultiSwitch_beginner.ino
For Generic boards, running WiFiNINA
Based on and modified from SinricPro libarary (https://github.com/sinricpro/)
to support other boards such... | [
"wellingtonsouza.wsa100@gmail.com"
] | wellingtonsouza.wsa100@gmail.com |
c8387fd11c0959c10aa3691c28e4076e1b949350 | 8dc84558f0058d90dfc4955e905dab1b22d12c08 | /third_party/blink/renderer/core/loader/modulescript/module_script_loader_registry.h | c3dd895bb6586a9ebafc3902a02a5d85d4133a99 | [
"LGPL-2.0-or-later",
"GPL-1.0-or-later",
"MIT",
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference",
"BSD-3-Clause",
"LGPL-2.0-only",
"BSD-2-Clause",
"LGPL-2.1-only"
] | permissive | meniossin/src | 42a95cc6c4a9c71d43d62bc4311224ca1fd61e03 | 44f73f7e76119e5ab415d4593ac66485e65d700a | refs/heads/master | 2022-12-16T20:17:03.747113 | 2020-09-03T10:43:12 | 2020-09-03T10:43:12 | 263,710,168 | 1 | 0 | BSD-3-Clause | 2020-05-13T18:20:09 | 2020-05-13T18:20:08 | null | UTF-8 | C++ | false | false | 1,502 | h | // Copyright 2017 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 THIRD_PARTY_BLINK_RENDERER_CORE_LOADER_MODULESCRIPT_MODULE_SCRIPT_LOADER_REGISTRY_H_
#define THIRD_PARTY_BLINK_RENDERER_CORE_LOADER_MODULESCRIPT_M... | [
"arnaud@geometry.ee"
] | arnaud@geometry.ee |
644b49fdfbd5cd782b29bf390c543004f99e0504 | 59a53ffbfe19eb84ba310e66889462ce67451318 | /443.compress.cpp | a85c59228171c8a67b2659ed255cf2d0d30e9faa | [] | no_license | wfnuser/leetcode | 0877e03fed6617836a8c4dd695f62868d00c0f05 | 3202104983b4b68272766a3285ffe8683e9b1712 | refs/heads/master | 2022-06-29T04:16:12.874513 | 2022-05-25T05:52:03 | 2022-05-25T05:52:03 | 142,956,247 | 42 | 14 | null | null | null | null | UTF-8 | C++ | false | false | 755 | cpp | class Solution {
public:
int compress(vector<char>& chars) {
int slow = 0;
int fast = 0;
chars.push_back(' ');
int cnt = 1;
for (int fast = 1; fast < chars.size(); fast++) {
if (chars[fast] == chars[fast-1]) {
cnt++;
} else {
... | [
"wfnuser@126.com"
] | wfnuser@126.com |
c8d6c5a09e9ed41d6d33498fca1d633a8dbf8ba3 | 5247709841cccca956cd25c22521750227d3ef86 | /src/Packages.cc | 17dcc4a09f04c696351aaf06cfbf6ded45c59630 | [] | no_license | caliston/packman | 5b69b6f312fa75b2ef710d1c172448f21032a084 | f2b47945ef25d2f7a018dab01c4f5107838605aa | refs/heads/master | 2021-01-20T05:31:46.220278 | 2012-09-27T23:03:27 | 2012-09-27T23:03:27 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,580 | cc | /*********************************************************************
* Copyright 2009 Alan Buckley
*
* This file is part of PackMan.
*
* PackMan 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... | [
"alanb@RISCID.ORG@78777953-6a5e-4945-a5f6-d951f3f33b3d"
] | alanb@RISCID.ORG@78777953-6a5e-4945-a5f6-d951f3f33b3d |
75a19a2983ed87ee84fb1c0dbfa688b3e9209c31 | 1dbf007249acad6038d2aaa1751cbde7e7842c53 | /eip/include/huaweicloud/eip/v2/model/NeutronShowFloatingIpRequest.h | 1d1a2f7fb3511e782cdcf261805518cd9ffc51ca | [] | permissive | huaweicloud/huaweicloud-sdk-cpp-v3 | 24fc8d93c922598376bdb7d009e12378dff5dd20 | 71674f4afbb0cd5950f880ec516cfabcde71afe4 | refs/heads/master | 2023-08-04T19:37:47.187698 | 2023-08-03T08:25:43 | 2023-08-03T08:25:43 | 324,328,641 | 11 | 10 | Apache-2.0 | 2021-06-24T07:25:26 | 2020-12-25T09:11:43 | C++ | UTF-8 | C++ | false | false | 1,590 | h |
#ifndef HUAWEICLOUD_SDK_EIP_V2_MODEL_NeutronShowFloatingIpRequest_H_
#define HUAWEICLOUD_SDK_EIP_V2_MODEL_NeutronShowFloatingIpRequest_H_
#include <huaweicloud/eip/v2/EipExport.h>
#include <huaweicloud/core/utils/ModelBase.h>
#include <huaweicloud/core/http/HttpResponse.h>
#include <string>
namespace HuaweiCloud {... | [
"hwcloudsdk@huawei.com"
] | hwcloudsdk@huawei.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.