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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ec2204bc6172b84a8709c12c7698d0a068e49e02 | 4fa2dffb1da895b6d38d2be1b4fbf6e53f4ac3a9 | /src/core/NeShader.h | 1e3d76591b4346afbb5f3a2fb3a979526152d220 | [] | no_license | airoseFy/BitalShader | c55493457cc2b447bd3e5a37ea427534a3433cb7 | be9854e90e3c8937108e8ee6f1af7ff250bb55c9 | refs/heads/master | 2021-01-10T14:54:07.110011 | 2015-12-01T10:28:43 | 2015-12-01T10:28:43 | 45,011,792 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,396 | h | #ifndef _NE_SHADER_H_
#define _NE_SHADER_H_
// c/c++ std headers
#include <exception>
#include <string>
#include <functional>
// local headers
#include "base.h"
#include "log.h"
#include "glError.h"
using namespace std;
NE_NAMESPACE_BEGIN
class NeShader;
class NeShaderFactory;
enum class NeSha... | [
"leon@inter-S2600CP.(none)"
] | leon@inter-S2600CP.(none) |
881d1c7d8901544b7b0d3e5edee47633eab6b110 | e38e89d5b2b84ea07c6105c9e4be76160bb4e56a | /geant/EXOsim/EXOSim/EXOPrimaryGeneratorMessenger.hh | 9fb6095b7339af0f50a17981b76b1e7f95f56dc2 | [] | no_license | qxia1991/offline | d06ef060bc5e4e0c08de3d36b667bd3802315370 | f67c7f11f4131661bb81dfb914d653223abea129 | refs/heads/master | 2022-04-17T20:09:23.407344 | 2020-04-12T21:18:51 | 2020-04-12T21:18:51 | 159,555,892 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,618 | hh | #ifndef EXOPrimaryGeneratorMessenger_h
#define EXOPrimaryGeneratorMessenger_h 1
#include "G4UImessenger.hh"
#include "G4UIdirectory.hh"
#include "G4UIcmdWithAString.hh"
#include "G4UIcmdWithABool.hh"
#include "G4UIcmdWithADouble.hh"
#include "G4UIcmdWithADoubleAndUnit.hh"
#include "G4UIcmdWithAnInteger.hh"
class EXOP... | [
"qingxia@QingdeMacBook-Pro.local"
] | qingxia@QingdeMacBook-Pro.local |
578c2755f237ef132b40f7126bb9ef29d035ff3a | 26a9943412451214612cfd462eee8527aa980ffd | /PhysioTrain/lib/PhysioTrainLib/src/Transformation.cpp | 18b678b12febf051f00f13e90c3d7bc6328d8501 | [] | no_license | te-bachi/platformio_projects | 21eb7224060a7550ceca31e40dcd50c4e0c5e00d | 21736aee6614b96520c90af130c99de5d3ffd18a | refs/heads/master | 2021-05-07T05:13:38.858758 | 2021-01-13T16:10:30 | 2021-01-13T16:10:30 | 111,452,226 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,425 | cpp | /*******************************************************************************
* PhysioTrain (c) 2017
* Andreas Bachmann
* 23.04.2017
*
* https://github.com/te-bachi/PhysioTrainLib
*/
#include "config.h"
#include "Transformation.h"
#include "avr/dtostrf.h"
#ifndef ARDUINO
#include <stdio.h>
#e... | [
"bachi@te-clan.ch"
] | bachi@te-clan.ch |
08fe1755e9e270b51c88ac762be634a8f0f7eec8 | f8db2e308f7c860e465ed397aae91e3e7e003232 | /GameAndroidControlPCCoding/DuiLib/Control/UIWebBrowser.cpp | 885acc85442f91a53e888552b8f4849efe1ed49e | [
"MIT"
] | permissive | xautshuanglong/GameAndroidControlPC | 0bbfd1ae4d209845a2c19a74d7ba29812375bac8 | 22c2ae234880403c21cd2f39c049fa02c20f6a84 | refs/heads/master | 2023-08-08T00:57:09.275603 | 2023-07-30T14:03:11 | 2023-07-30T14:03:11 | 77,190,197 | 0 | 0 | null | 2018-03-26T02:38:57 | 2016-12-23T02:09:55 | C++ | GB18030 | C++ | false | false | 20,106 | cpp | #include "../stdafx.h"
#include "UIWebBrowser.h"
#include <atlconv.h>
#include <atlcomcli.h>
#include "../Utils/downloadmgr.h"
#include <mshtml.h>
DuiLib::CWebBrowserUI::CWebBrowserUI()
: m_pWebBrowser2(NULL)
, _pHtmlWnd2(NULL)
, m_pWebBrowserEventHandler(NULL)
, m_bAutoNavi(false)
, m_dwRef(0)
... | [
"xjshuanglong@126.com"
] | xjshuanglong@126.com |
ef8aff28df82ab9d4c7118da1890e2cd0bf859c9 | ab81ae0e5c03d5518d535f4aa2e3437081e351af | /OCCT.Foundation.NetHost/Visualization/TKV3d/Prs3d/XPrs3d_PointAspect.cpp | e3587a5fcd2416ae179829b01ce619caf94a4059 | [] | no_license | sclshu3714/MODELWORX.CORE | 4f9d408e88e68ab9afd8644027392dc52469b804 | 966940b110f36509e58921d39e8c16b069e167fa | refs/heads/master | 2023-03-05T23:15:43.308268 | 2021-02-11T12:05:41 | 2021-02-11T12:05:41 | 299,492,644 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,322 | cpp | // Copyright (c) 1995-1999 Matra Datavision
// Copyright (c) 1999-2014 OPEN CASCADE SAS
//
// This file is part of Open CASCADE Technology software library.
//
// This library is free software; you can redistribute it and/or modify it under
// the terms of the GNU Lesser General Public License version 2.1 as published
... | [
"sclshu3714@163.com"
] | sclshu3714@163.com |
993cf673acb1f637389550015e66c4e741f5f07b | 4915034d22c228dd9693547e7414f61e77519366 | /2019_7_19_排序算法总结/test_7_19排序算法/源.cpp | bbfea7beb0c5885d1b53a1b7e409719a50516da5 | [] | no_license | xiaobbei/Data_structure- | 74ede60d82ab0f7483dc50d763b0529b569ffd59 | 265ec8e0b053969d90dcf0a4454a391504dee89a | refs/heads/master | 2022-03-31T19:29:10.802402 | 2020-02-13T15:42:37 | 2020-02-13T15:42:37 | 198,358,828 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 4,854 | cpp | #include <stdio.h>
#include<stdlib.h>
#include<string.h>
void swap(int *a, int *b)
{
int t = *a;
*a = *b;
*b = t;
}
void printfSort(int a[], int size)
{
for (int i = 0; i < size; ++i)
{
printf("%d ", a[i]);
}
printf("\n");
}
void insertionSort(int a[], int size)
{
for (int i = 0; i < size; ++i)
{
int key... | [
"413351042@qq.com"
] | 413351042@qq.com |
106587c44119337563391fb0511865710ab2f01a | 5831128a4b8a0debfdc00a365f79d25c2866d6cc | /UVa/uva12293.cpp | 9b702e1f18b4b75cbcdf6f6e3edddec40659f220 | [] | no_license | yameenjavaid/Online-Judge-Solutions | b577717d777075f618f84676f20f08c184248ac8 | 7d8ecc4ffb9a7bfddc0cd7d64646ef92ac8c0322 | refs/heads/master | 2022-12-24T12:00:20.187337 | 2020-10-13T19:56:17 | 2020-10-13T19:56:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 576 | cpp | #include <bits/stdc++.h>
using namespace std;
// Box Game
vector<long long int> a{2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048,
4096, 8192, 16384, 32768, 65536, 131072, 262144,
524288, 1048576, 2097152, 4194304, 8388608, 16777216,
33554432, 67108864, 134217728, 26843... | [
"mohsendb7008@gmail.com"
] | mohsendb7008@gmail.com |
0dd82a2abf27e5f557cce2ffd2b8ec36ab2e2ce2 | 301eaa4b1d27b62552961bd9c212d032d5ee90e5 | /example_bmp180/example_bmp180.ino | f06a42ad5e529d0cbd9c7b5ec226c8e8e60b2118 | [] | no_license | matheusladislau/arduino_examples | 7d8ecd4fd831d07b0127c95632e2dc7c65d5b0b1 | 7691264f743029a3ca80432b56d0a3e4aec481a8 | refs/heads/master | 2020-05-18T13:39:04.372874 | 2019-05-01T23:22:46 | 2019-05-01T23:22:46 | 184,447,237 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 450 | ino | #include <Adafruit_BMP085.h>
Adafruit_BMP085 bmp180;
void setup() {
Serial.begin(9600);
if (!bmp180.begin()) {
Serial.println("Sensor nao encontrado !!");
while (1) {}
}
}
void loop(){
Serial.print("Temperatura : ");
Serial.print(bmp180.readTemperature(),1);
Serial.println(" C");
Serial.p... | [
"matheus.ladislau@2rpnet.com"
] | matheus.ladislau@2rpnet.com |
8426987643a9689bcb445092887c6229e5b2dad1 | 05087ffdddfe3f13a8e5f3bd3ca10c6212220bdb | /Fibonacci-recursive/Fibonacci-recursive/stdafx.cpp | 80f3ed9a5578ffde823a3e20da0d0102a34ee116 | [
"MIT"
] | permissive | LeeInJae/Algorithm | d2397c44f6d7c1b516981f6269b7e8c6ada59d4e | ec9d539a96fd87c3c0fdd4067e10900f7cddbaf9 | refs/heads/master | 2021-07-09T14:39:44.035975 | 2016-10-30T15:38:55 | 2016-10-30T15:38:55 | 22,943,693 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 345 | cpp | // stdafx.cpp : 표준 포함 파일만 들어 있는 소스 파일입니다.
// Fibonacci-recursive.pch는 미리 컴파일된 헤더가 됩니다.
// stdafx.obj에는 미리 컴파일된 형식 정보가 포함됩니다.
#include "stdafx.h"
// TODO: 필요한 추가 헤더는
// 이 파일이 아닌 STDAFX.H에서 참조합니다.
| [
"LeeInJae@users.noreply.github.com"
] | LeeInJae@users.noreply.github.com |
27f804de2aef9fbb96aa1425312888410a72334e | 42447c786188b99bfe26d3a88b747e5a42aa2710 | /代码/线性混合.cpp | 9c2c1fcf53023bf70538bc0c6aff2dda6ece9fad | [] | no_license | chariotrequiem/opencv4- | cc6731d2fef37d513e9b24d38b5e5209d1eea43f | 04e3d6bdeca35ddfab3a5af53eb05d7e3e7d0bfd | refs/heads/master | 2023-07-11T00:19:04.047720 | 2021-08-18T08:39:33 | 2021-08-18T08:39:33 | 382,611,708 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 783 | cpp | #include<opencv2/opencv.hpp>
#include<iostream>
using namespace std;
using namespace cv;
//利用addWeight函数实现图像线性混合
int main(int argc, char** argv)
{
Mat src1 = imread("D:/images/a.jpg");
Mat src2 = imread("D:/images/b.jpg");
Mat dst;
if (src1.empty())
{
cout << "src1 could not load!" << endl;
}
if (src2.empty()... | [
"2856793309@qq.com"
] | 2856793309@qq.com |
5da5000e0f1b57766448d5aa47db3cf5725a8209 | 2bfddaf9c0ceb7bf46931f80ce84a829672b0343 | /src/xtd.forms/src/xtd/forms/command_link_button.cpp | 3ed02fe7d808fbdb38607debf501c5d5c0fdc770 | [
"MIT"
] | permissive | gammasoft71/xtd | c6790170d770e3f581b0f1b628c4a09fea913730 | ecd52f0519996b96025b196060280b602b41acac | refs/heads/master | 2023-08-19T09:48:09.581246 | 2023-08-16T20:52:11 | 2023-08-16T20:52:11 | 170,525,609 | 609 | 53 | MIT | 2023-05-06T03:49:33 | 2019-02-13T14:54:22 | C++ | UTF-8 | C++ | false | false | 3,978 | cpp | #include "../../../include/xtd/forms/command_link_button.h"
#include "../../../include/xtd/forms/form.h"
#define __XTD_FORMS_NATIVE_LIBRARY__
#include <xtd/forms/native/command_link_button.h>
#include <xtd/forms/native/button_styles.h>
#include <xtd/forms/native/control.h>
#undef __XTD_FORMS_NATIVE_LIBRARY__
#include <... | [
"gammasoft71@gmail.com"
] | gammasoft71@gmail.com |
55010f5632352469fc7d4ace01806a9975f68523 | 6c274b888b334153edb9fc360c1858462b669d65 | /libs/gfx/include/SDL_exception.h | df203818ca066ffbb298e524776a1d20f5efdc20 | [] | no_license | plfiorini/opencl-erosion | 2603f8db859fd6c15274ecddc143f2293a5b0288 | daec1253fe25a087ff92d242cb9960a66626818e | refs/heads/master | 2021-01-10T06:18:53.327090 | 2015-07-22T11:34:21 | 2015-07-22T11:34:21 | 51,542,147 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 227 | h | #ifndef __SDL_EXCEPTION_H__
#define __SDL_EXCEPTION_H__
#include <common/include/Mkay_exception.h>
namespace mkay
{
class SDL_exception
: public Mkay_exception
{
};
} // namespace mkay
#endif // __SDL_EXCEPTION_H__ | [
"eaglo.goo@gmail.com"
] | eaglo.goo@gmail.com |
89e06eceff94095ac535e5cddc963158067c2a9f | 9afde504e6f3051160da4f9dc9083e6af2498ca3 | /src/moses/phrase-extract/extract-rules.cpp | c333040f64443bdd31886e0cb4604611ad362c48 | [] | no_license | Itanael/tr-en-edu | 120a3ebf74daeb1e6c7f4fe7de66633eae68fb3c | d0817cdf5e6c23fb420e9c7e2867f7354f58e483 | refs/heads/master | 2021-01-16T19:51:41.295036 | 2014-07-02T14:21:58 | 2014-07-02T14:21:58 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 39,652 | cpp | /***********************************************************************
Moses - factored phrase-based language decoder
Copyright (C) 2009 University of Edinburgh
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by t... | [
"aydinhan@gmail.com"
] | aydinhan@gmail.com |
e37364f8fbc2f9d81a829d923028191aeb81644a | e5a2eed530086b4b3772886f1daad8ed6d6b5152 | /projects/db/src/pse-db/names.h | 9eb4202b195430f35ed8978afd1237f94ff36a80 | [
"Apache-2.0"
] | permissive | junebug12851/pokered-save-editor-2 | f7cf5013652737ef24f0c7a400c6520e4df5f54b | af883fd4c12097d408e1756c7181709cf2b797d8 | refs/heads/master | 2020-06-06T09:17:16.194569 | 2020-03-18T09:45:34 | 2020-03-18T09:45:34 | 192,697,866 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,187 | h | /*
* Copyright 2020 June Hanabi
*
* 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 l... | [
"junehanabi@gmail.com"
] | junehanabi@gmail.com |
183bd438a6a3b03910b9db95b2ad97ff9f5d6878 | 7b6edff0440add447e8182f164e39f361539b857 | /finalassignment/Sphere.cpp | 360b7499e27aacb22d5134c3218774ed2ab85deb | [] | no_license | ifrdee/computergraphics | d301bcf80a07742541c10f957af8c6b7c7a643a3 | d02de15fdb23c5209b925325272d8b9e1989f30b | refs/heads/master | 2020-06-14T06:53:04.861370 | 2015-07-16T13:16:32 | 2015-07-16T13:16:32 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,618 | cpp | #include "Sphere.h"
#include "Shape.h"
#include <cmath>
#include <iostream>
using namespace std;
using namespace algebra;
Sphere::Sphere(const Vector& cen, float rad, Material mat) : Shape(mat), c(cen), r(rad) {
}
Sphere::Sphere(const Vector& cen, float rad, Material mat, const char* texturefile) :
Shape(mat), c... | [
"miguel.frde@gmail.com"
] | miguel.frde@gmail.com |
82192469d345c92733cfbb94b8ddad957c66ed29 | f66782a0b04e3b95fa7e3d05d361476f533496e2 | /main.cpp | 425875c560be30774a7f5cfeb64480e0e2724b20 | [] | no_license | CrashTestCoder/randomTest | 6ae30ba8f4e7ac6ade07adf4eda23c7352fdaeff | 48c1539471cfd15a91202f687e273b6ae2194eae | refs/heads/master | 2020-04-22T23:50:22.360641 | 2019-02-14T19:45:32 | 2019-02-14T19:45:32 | 170,755,637 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,538 | cpp | #include<iostream>
#include<vector>
template<typename T, typename U> constexpr bool const HasSameRank = T::rank == U::rank;
template<typename T, typename U> concept isSame = requires T==U;
template<typename grid_space> requires
//requires () { grid_space::space_type; } &&
requires () { grid_space::ran... | [
"mrryanmchale@outlook.com"
] | mrryanmchale@outlook.com |
97e4db9be28a5dca39055f1cf2608e60c49b2a75 | 744dd509e973ae9030ed97e126ae9ae3d75c96dd | /main.cpp | b6aa556e807827d7ac5e102f17b0748dd8fe9c0b | [] | no_license | A5245896ting/Polymorphism | 82b824e5df6dc4a87c655fdeab24a25aeab0d1f3 | 06d722b24a92fda12f5e59f7557b8469c455b77b | refs/heads/master | 2020-06-02T18:55:42.592638 | 2019-06-11T01:52:15 | 2019-06-11T01:52:15 | 191,274,036 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 763 | cpp | #include "GeometricObject.h"
#include "Ball.h"
#include "Cube.h"
#include <iostream>
#include <iomanip>
using namespace std;
void display(const GeometricObject & g) {
cout<< ", area:" << fixed << setprecision(1) << g.getArea()
<< ", volume:" << fixed << setprecision(1) << g.getVolume()
<< ", color:" << g.getColo... | [
"45842652+A5245896ting@users.noreply.github.com"
] | 45842652+A5245896ting@users.noreply.github.com |
c54d269097676fbc4b38673357720d2cbad12b25 | 260d5143c41e93c890ab0a6c3319509bc427661a | /views/raw/rawaccelview.h | 76b54c71f7144befae1763356462ff1cd62afa9c | [] | no_license | neolu/ins-board-pc | b2aff009b61624ad8faab140310033340ba871c7 | 8c9d5a1bed35f9b1d5fb859c39862178c5f25cc5 | refs/heads/master | 2023-03-19T13:43:35.164577 | 2018-08-28T13:00:19 | 2018-08-28T13:00:19 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 514 | h | #ifndef RAWACCELVIEW_H
#define RAWACCELVIEW_H
#include "views/base/IBaseView.h"
#include "packets.h"
class QCustomPlot;
/*!
* @brief The raw acceleration plot view.
*/
struct RawAccelView : IRawView
{
/*!
* @brief RawAccelView constructor.
* @param plot plot pointer.
*/
RawAccelView(QCustomP... | [
"big.awesome.pie@gmail.com"
] | big.awesome.pie@gmail.com |
374d3a536c6c454ef6d1633bf8322e1e1eb5d56e | 48d5dbf4475448f5df6955f418d7c42468d2a165 | /SDK/SoT_Proposal_StarsOfAThief_Chapter2_functions.cpp | 5929a1a8b3d2d8e6a913b9039b4319667e906653 | [] | no_license | Outshynd/SoT-SDK-1 | 80140ba84fe9f2cdfd9a402b868099df4e8b8619 | 8c827fd86a5a51f3d4b8ee34d1608aef5ac4bcc4 | refs/heads/master | 2022-11-21T04:35:29.362290 | 2020-07-10T14:50:55 | 2020-07-10T14:50:55 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 374 | cpp | // Sea of Thieves (1.4.16) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "SoT_Proposal_StarsOfAThief_Chapter2_parameters.hpp"
namespace SDK
{
//---------------------------------------------------------------------------
//Functions
//--------------------------------------------------------------------... | [
"53855178+Shat-sky@users.noreply.github.com"
] | 53855178+Shat-sky@users.noreply.github.com |
3f3ca235150cd144a53a394b7d12ba25047843f7 | f9e3111ded6df3611bc3a8c0ff7602de01abbb95 | /zsl-golang/zsl/snark/libsnark/src/gadgetlib1/gadgets/curves/weierstrass_g1_gadget.tcc | d84010836d885e3817b67184457d4b36394600df | [
"Apache-2.0",
"MIT"
] | permissive | kobigurk/zsl-q | fa74107c45c5e813f070dcac366b789ce2686c47 | 918385ee41a5c3a7e44a1fc97881e0801381b1f4 | refs/heads/master | 2020-04-03T05:51:33.901118 | 2018-10-28T10:19:14 | 2018-10-28T10:19:14 | 155,057,810 | 0 | 0 | Apache-2.0 | 2018-10-28T10:15:06 | 2018-10-28T10:15:05 | null | UTF-8 | C++ | false | false | 11,798 | tcc | /** @file
*****************************************************************************
Implementation of interfaces for G1 gadgets.
See weierstrass_g1_gadgets.hpp .
*****************************************************************************
* @author This file is part of libsnark, developed by SCIPR Lab
... | [
"simon@bitcartel.com"
] | simon@bitcartel.com |
879c5907b484b901e0ba9e364bb30f4b43f94338 | 7614b96569a38a37b5cffbad54a9a052062ad055 | /ConsoleApplication1/ConsoleApplication1.cpp | ea8a8acf84d64b261e66a04bbad6408658e196b3 | [] | no_license | histxipan/algorithm | 06f770884436906b7cb4731785e7bee6ac017052 | 8096b4e5d6d68cc0360bdcd5bccf9ae875cf8cea | refs/heads/main | 2022-12-31T10:51:39.825509 | 2020-10-05T10:29:10 | 2020-10-05T10:29:10 | 301,371,204 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 732 | cpp | // ConsoleApplication1.cpp : This file contains the 'main' function. Program execution begins and ends there.
//
#include <iostream>
#include "Source.h"
#include "Pointers_01_UpsideDown.h"
#include "Pointers_02_BubbleSort.h"
#include "Pointers_03_CountWords.h"
#include "Pointers_04_SortWords.h"
int main()
{
//Ba... | [
"Xi Pan"
] | Xi Pan |
d33651a2506c0641658dc3770f96d9835e434919 | 5069f89049e1519bf5d9ccbc450c66468c68744c | /raytracer/raytracer/primitives/opt-mesh-reader.cpp | 4fdfc218785e7828060847922ce932d4e3e9c86e | [] | no_license | DenisBlondeel/3D-raytracer | a1a10cad421a22c079c7d0577112ca46a7aced5b | b4c313cf6d9488b77eec97e6d9ab6848225b3404 | refs/heads/master | 2023-01-24T19:45:43.768665 | 2018-08-29T07:49:19 | 2018-08-29T07:49:19 | 320,062,465 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,069 | cpp | #include "primitives\opt-mesh-reader.h"
#include "primitives\mesh-primitive.h"
#include "json.hpp"
#include "math\box.h"
#include "math/interval.h"
#include "primitives\triangle-primitive.h"
#include <fstream>
#include "easylogging++.h"
using namespace raytracer;
using namespace raytracer::primitives;
using namespace ... | [
"r0632439@ucll.be"
] | r0632439@ucll.be |
116ccf2ef34ba547b3c1d3f6e5751b2133597462 | 118739cab199118062da5c9351a4fb95e4f900b7 | /device/src/json/ArduinoJson/StringStorage/StringMover.hpp | d122a01df3fd69b69ba86e6bd0c246ca8fd0b444 | [] | no_license | fjand5/VoCaUI-v2.0 | 7f3ce49c18145f51654021f495078b51c2e56f79 | 18a9a83be5dd0e9a3a1568780cde9cdb3920eb77 | refs/heads/main | 2023-06-10T07:33:17.357455 | 2021-07-01T14:43:57 | 2021-07-01T14:43:57 | 356,585,360 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 698 | hpp | // ArduinoJson - arduinojson.org
// Copyright Benoit Blanchon 2014-2021
// MIT License
#pragma once
#include "../Namespace.hpp"
#include "../Strings/StoragePolicy.hpp"
namespace ARDUINOJSON_NAMESPACE {
class StringMover {
public:
StringMover(char* ptr) : _writePtr(ptr) {}
void startString() {
_startPtr = ... | [
"huynhtheluat@gmail.com"
] | huynhtheluat@gmail.com |
c41f9484bfb9e75d463a9b6a96754f5966be8355 | 197d063f1b9ad66275022c8a3ce875bbf6581f50 | /ObjectPool/ActorPoolFactory/ActorPool.cpp | 4fce40ba11b5680b90b04afce66ba0ee4715c617 | [
"MIT"
] | permissive | standardgalactic/Creational-Design-Patterns-in-Modern-C-plus-plus | 957277f00576f4ad0a5bedcce1ad03bbd272f693 | c18b99ac05b237b972092f693b11a728e70e680d | refs/heads/master | 2023-02-21T07:27:02.258744 | 2021-01-22T07:23:08 | 2021-01-22T07:23:08 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,500 | cpp | #include "ActorPool.h"
#include <iostream>
ActorPtr ActorPool::InternalCreate(const std::string& key) {
ActorPtr actor{} ;
if(!m_ActorPool[key].m_Creator) {
std::cout << "Creator not registered\n" ;
return actor ;
}
actor = m_ActorPool[key].m_Creator() ;
m_ActorPool[key].m_Actors.push_back(actor) ;
return a... | [
"dwayned@packtpub.com"
] | dwayned@packtpub.com |
8a89f9c50f0796392ba43cacc102f90cbf01ae51 | 5c8d0f62fba284c70ee71ebd4794c99dbb74b206 | /backup/bam.cpp | 80e4972b6fcd018677a83030560afe6bfae9f76b | [] | no_license | Light-Pattern/bam | bfa02382a7601f59ac1ac10eb90bfaa7a6a6480b | c04628be34a2f864f08774be66566c38181bd13e | refs/heads/main | 2023-02-09T05:23:32.685878 | 2020-12-30T03:12:44 | 2020-12-30T03:12:44 | 324,915,493 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,423 | cpp | #include <SPI.h>
#include <Arduino.h>
// define pins and other variables
const int latchPin = 5;
const int clockPin = 18;
const int dataPin = 23;
const int NUMBER_OF_CONNECTED_LEDS = 8;
// global array that keeps track of the LEDs brightnesses
bool brightnessMask[NUMBER_OF_CONNECTED_LEDS*4];
// setup the correct pin... | [
"keith.mar@govx.com"
] | keith.mar@govx.com |
e462a8f09a660669990c75a3218dfcd868b253d6 | f0a2f416be2faec6a73fcbb4d7819f1ecf77b192 | /assignment/lab5/GarageController/lib/GarageHardware/src/GarageHardwareReal.cpp | 49db529704946e413799f07bde6709b7f4ebd066 | [] | no_license | thierry1129/cse222_combine | 07a79c0d1458d48395747168e714e8bb3d2893ce | fa2292f44120aa2debe39ddaafa7976feb3d2202 | refs/heads/master | 2021-04-15T15:05:14.584206 | 2018-04-22T21:29:50 | 2018-04-22T21:29:50 | 126,898,171 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,811 | cpp |
#if 1
#include "Arduino.h"
#include"GarageHardware.h"
#define gc Serial1 // Garage Controller is connected via Serial port 1
//#define DEBUG_G 1
#ifdef DEBUG_G
#define debug_print(a) Serial.print(a)
#define debug_println(a) Serial.println(a)
#else
#define debug_print(a) ;
#define debug_println(a) ;
#endif
/... | [
"terrylu@wustl.edu"
] | terrylu@wustl.edu |
039129a00b1c299ecb75e13a1bf98e93123f0e8a | 085f2ec73fcb1dd7501705dfb310adc65cdbc661 | /compositeentity.cpp | f6b33c86b083e3366563fe6d0ef135406f4cbdf4 | [
"MIT"
] | permissive | williamwu88/Flying-Stickman | eeb3a74a433e70764f03066ba490878c743ee138 | d11c05e87bde481200ed1f3aaf5a0f4e4982d9ae | refs/heads/master | 2020-05-29T12:52:56.117347 | 2019-10-27T01:37:50 | 2019-10-27T01:37:50 | 189,142,163 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,276 | cpp | #include "compositeentity.h"
CompositeEntity::CompositeEntity(Coordinate* position, std::string name)
: Entity(position, name) {}
void CompositeEntity::addChild(Entity* e) {
std::vector<Entity*>::iterator it;
for (it = children.begin(); it != children.end(); it++) {
if (*it == e) {
re... | [
"chwu4078@uni.sydney.edu.au"
] | chwu4078@uni.sydney.edu.au |
69acff363324832c5593f5fd407808c1b5e3dc5c | f3257b69199753bfe9cc0fad42e415dd5a0025d6 | /OtherLibs/ImageAquisition/SampleConverter.cpp | 7c773c7af18a15187b2ea4420e099ec6f7142103 | [] | no_license | ARLM-Attic/xmedia-net | 11ff938824a48b733ea5f6bad9b9fd4bf49c2f74 | 506a46e4dd6e1130a41d6224c4e57f0613a3c308 | refs/heads/master | 2021-01-23T10:35:15.158567 | 2015-05-15T02:45:51 | 2015-05-15T02:45:51 | 93,072,411 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 25,674 | cpp |
#include "stdafx.h"
#include "SampleConverter.h"
#ifdef USE_IPP
#ifdef SIXTYFOURBIT
#define IPPAPI(type,name,arg) extern type __STDCALL y8_##name arg;
#define IPPCALL(name) y8_##name
#else
#define IPPAPI(type,name,arg) extern type __STDCALL w7_##name arg;
#define IPPCALL(name) w7_##name
#endif
... | [
"SND\\bonnbria_cp@83a7461f-ea85-4138-920c-f536d31b1086"
] | SND\bonnbria_cp@83a7461f-ea85-4138-920c-f536d31b1086 |
f7cb0f1dd458661f98c34db1b0fb1406678a668a | e16cec2d3512f42f7de7ffd4fe91e76ae5b089fc | /test.cpp | fd17675671c3163e0479e4ffb89c8693a488c37d | [] | no_license | soelusoelu/GitTest | 1af16419694ebe7fee822152a103ca05f1416ab7 | 48ea69bf6e5fabb74f5ff8f8656e237195e80ea7 | refs/heads/master | 2020-05-27T20:03:05.380128 | 2019-05-27T06:22:40 | 2019-05-27T06:22:40 | 188,772,182 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 76 | cpp | void testfunction() {
printf("testtest");
}
私は鳥になりたい | [
"llmn.0419@gmail.com"
] | llmn.0419@gmail.com |
59424fc5d26d5719596aa4acbe70043c4fe70bc5 | 9a6ca2c5e37a7a2a6e34514d7f0c91a55f81f885 | /Spring 2014/TECH 198. Fall 2013. Arduino/TECH 198. Arduino Exercises/Reading_Pushbutton_and_IF_statement/Reading_Pushbutton_and_IF_statement.ino | facd11ead2de6820d4268a29a6318074103033ad | [
"MIT"
] | permissive | agenteaty007/PCC_MIT_101 | 73a226a8b2e37cc8129a0c08c458403fbe7af5be | 078eff8d3d7384c7429fc620af897de915764b92 | refs/heads/master | 2016-09-10T22:54:18.851431 | 2015-05-07T14:30:00 | 2015-05-07T14:30:00 | 24,176,103 | 0 | 0 | null | 2015-05-07T14:30:00 | 2014-09-18T06:06:27 | null | UTF-8 | C++ | false | false | 390 | ino | /*
Reading Pushbutton and IF statement
DigitalRead
DigitalWrite
IF statement
Setup:
Pushbutton, with a pulldown resistor, connected to pin 2
*/
void setup()
{
pinMode(2,INPUT); //configure pin 2 as an input
pinMode(13,OUTPUT); //configure pin 13 as an output
}
void loop()
{
if(digitalRead(2) == HIGH)
{
... | [
"agenteaty007@hotmail.com"
] | agenteaty007@hotmail.com |
919b54699de535365b4a1c2d4221754ad1eccfab | 4daa7873fa023a361501b5a37682fc8dc7406859 | /src/KodiEventClient.h | 1b824bcb5780dbb25a0d938c3d54ee352796fd3c | [] | no_license | kolos/KodiEventClient | 08d89561742a3f1e398a8fec448ad5cd699f783a | faa50d30f63746a207da448ec9e8e02df58650e0 | refs/heads/master | 2023-05-07T21:30:30.958994 | 2021-05-06T18:53:54 | 2021-05-06T18:53:54 | 363,705,131 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,989 | h | #ifndef KODIEVENTCLIENT_H
#define KODIEVENTCLIENT_H
#include <Arduino.h>
#include <WiFiUdp.h>
#define MS_ABSOLUTE 0x01
//#define MS_RELATIVE 0x02
#define BTN_USE_NAME 0x01
#define BTN_DOWN 0x02
#define BTN_UP 0x04
#define BTN_USE_AMOUNT 0x08
#define BTN_QUEUE 0x10
#define BTN_NO_REPEAT 0x... | [
"kolos@users.noreply.github.com"
] | kolos@users.noreply.github.com |
207346bc3f1c4934392302f27934aa267ceca420 | 8e88031e7d42d622a90f4823b379b840805a99d1 | /ArkApi/API/Actor.h | 41ad6dd961255e507c8c7371c4ee166e02c5fca5 | [] | no_license | htsui/ARK-Server-Beyond-API | d9d96f8b9522aef9b65e822d0f90843156d2ea17 | a0cc555dc51c01f120f9827dc3b1fa5c25e895f3 | refs/heads/master | 2021-01-23T04:54:01.855333 | 2017-03-24T08:27:48 | 2017-03-24T08:27:48 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 686,009 | h | #pragma once
#include "Base.h"
struct FChatMessage
{
FString SenderName;
FString SenderSteamName;
FString SenderTribeName;
unsigned int SenderId;
FString Message;
FString Receiver;
int SenderTeamIndex;
long double ReceivedTime;
EChatSendMode::Type SendMode;
unsigned int RadioFrequency;
EChatType::Type Chat... | [
"michido@protonmail.com"
] | michido@protonmail.com |
c092136b31a3de9dbfb825824644e3ff3fd30c35 | 77a06177c4f272dba5796b6f784dac2dff4e5a68 | /src/chainparamsbase.h | 84c5afc648779bd5de40021eff718e4aeed610f8 | [
"MIT"
] | permissive | merge-swap/fornix-wallet | 2d45422646844ea6ded4de46075cccbaf6523274 | e208e49b53bc8de7c69b4b146e291e840a57df35 | refs/heads/master | 2020-04-18T10:19:40.529386 | 2019-01-25T03:08:15 | 2019-01-25T03:08:15 | 167,464,268 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,650 | h | // Copyright (c) 2014 The Bitcoin developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef BITCOIN_CHAINPARAMSBASE_H
#define BITCOIN_CHAINPARAMSBASE_H
#include <string>
#include <vector>
/**
* CBaseChainParams defin... | [
"ahmed-ig@hotmail.com"
] | ahmed-ig@hotmail.com |
fc6722a6dd66487eee4b1ef859f6e832f8bb5a29 | b41dddb6722fffce17f09537797a2cd37a97c8ec | /LeetCode/medium/Longest_Common_Subsequence.cxx | 33aaeff02cf0fa108e706754a22ffb418f2b0ce4 | [] | no_license | zinsmatt/Programming | 29a6141eba8d9f341edcad2f4c41b255d290b06a | 96978c6496d90431e75467026b59cd769c9eb493 | refs/heads/master | 2023-07-06T11:18:08.597210 | 2023-06-25T10:40:18 | 2023-06-25T10:40:18 | 188,894,324 | 0 | 0 | null | 2021-03-06T22:53:57 | 2019-05-27T18:51:32 | C++ | UTF-8 | C++ | false | false | 937 | cxx | class Solution {
public:
int longestCommonSubsequence(string text1, string text2) {
vector<vector<int>> DP(text1.size(), vector<int>(text2.size(), 0));
DP[0][0] = text1[0] == text2[0];
for (int i = 1; i < text1.size(); ++i)
DP[i][0] = max(DP[i-1][0], (int)(text1[i] == te... | [
"zins.matthieu@gmail.com"
] | zins.matthieu@gmail.com |
21952773fd55907873fee1f3dc24cf79b74fdcd3 | 385314c17cabc082aa54d97c2693d66bb0976a64 | /lib/tao/tao/json/utf8.hpp | bdc2b214e5b3db0be16d567b2263850c16f49f6b | [
"MIT"
] | permissive | 21doublenexus/contemplative-game | dd835e66f928ddecc4bd3ab267a04a9058856ac8 | cadf92c1b44d226bf97a87f738ea3aad3e7dd376 | refs/heads/main | 2023-02-15T08:55:55.187533 | 2021-01-05T17:15:37 | 2021-01-05T17:15:37 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,573 | hpp | // Copyright (c) 2018 Dr. Colin Hirsch and Daniel Frey
// Please see LICENSE for license or visit https://github.com/taocpp/json/
#ifndef TAO_JSON_UTF8_HPP
#define TAO_JSON_UTF8_HPP
#include "external/pegtl/memory_input.hpp"
#include "external/pegtl/parse.hpp"
#include "external/pegtl/rules.hpp"
#include "external/pe... | [
"vscavinner@gmail.com"
] | vscavinner@gmail.com |
7be9de6013b24dc1cac696109a497371a6854364 | dd0a25afe5987e473175920653ceecca84501023 | /Digital Wolves Games - Tower Defense/Motor2D/UI_HPBar.h | c650332e93910f0cdeadcd34bacad4cf105c20b4 | [] | no_license | marclafr/Expansion-AoE-II-Defenders | 4255bd55279e07498802ce3a2ad7258532c7c228 | cf06a0d826395ae8271208c190b9914b54e29cef | refs/heads/master | 2021-07-03T06:27:49.428265 | 2017-09-08T18:06:30 | 2017-09-08T18:06:30 | 94,330,738 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 425 | h | #ifndef __UI_HP_BAR_H__
#define __UI_HP_BAR_H__
#include "SDL\include\SDL.h"
#include "j1Gui.h"
class UI_HPBar : public UI_Element
{
public:
UI_HPBar(iPoint pos, SDL_Rect atlas_back_rect, SDL_Rect damaged_atlas_rect, Entity* entity, bool not_in_world = true);
~UI_HPBar();
bool Draw(SDL_Texture* atlas, int alpha =... | [
"marc.lafrwy@gmail.com"
] | marc.lafrwy@gmail.com |
3c09a8e092b5dc35851a5472f2d9430b1f0798c2 | ef80a4616a15ab64cceb64e7bfe8886e695c52b8 | /third_party/blink/renderer/core/events/overscroll_event.h | c1ec550addea1aa894d93128c41dabb72baf613c | [
"LGPL-2.0-only",
"BSD-2-Clause",
"LGPL-2.1-only",
"BSD-3-Clause",
"LGPL-2.0-or-later",
"LicenseRef-scancode-warranty-disclaimer",
"GPL-1.0-or-later",
"GPL-2.0-only",
"LicenseRef-scancode-other-copyleft",
"MIT",
"Apache-2.0"
] | permissive | bobsmile/chromium | 646377745bff0224df61d63dbeb9aa7b84fd380e | 563ebbe80c8993978cee672c5da9c6ab4fca451b | refs/heads/master | 2023-02-21T00:45:34.337364 | 2020-02-10T10:29:43 | 2020-02-10T10:29:43 | 239,488,818 | 1 | 0 | BSD-3-Clause | 2020-02-10T10:50:05 | 2020-02-10T10:50:04 | null | UTF-8 | C++ | false | false | 1,644 | 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 THIRD_PARTY_BLINK_RENDERER_CORE_EVENTS_OVERSCROLL_EVENT_H_
#define THIRD_PARTY_BLINK_RENDERER_CORE_EVENTS_OVERSCROLL_EVENT_H_
#include "third_par... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
8fbb55edbe6b4d76718ea79dffcae11de03f4ff5 | ad5549c09e1fd05f8fc968d66926d48d0ff96a2c | /caffe/include/caffe/util/benchmark.hpp | ff9fc7b587ff69bd78ea241e498dbda40feb0db9 | [] | no_license | elhoangvu/PCN-iOS | cc8f06217c96ca1637e8eb0b65d04e9861210965 | 8bb4ce75ef07fe0935e49031145def5023e2e80f | refs/heads/master | 2020-04-18T23:18:40.434111 | 2019-03-17T10:04:42 | 2019-03-17T10:04:42 | 167,817,933 | 9 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,258 | hpp | #ifndef CAFFE_UTIL_BENCHMARK_H_
#define CAFFE_UTIL_BENCHMARK_H_
//#include <boost/date_time/posix_time/posix_time.hpp>
#include <chrono>
#include "caffe/util/device_alternate.hpp"
namespace caffe {
class Timer {
public:
Timer();
virtual ~Timer();
virtual void Start();
virtual void Stop();
virtual float M... | [
"elhoangvu@gmail.com"
] | elhoangvu@gmail.com |
51dda1fc322bf17e20a7178e4047a4aaa888b777 | bb4b04d222d738101f17bb819fca77fc2ceaa9c4 | /Evaluation/main.cpp | af86f84d0ed5857155cea11989168a5af5557f65 | [] | no_license | judeter/AFO | 85a377277d0cb74f5cd40c39e68900e0e5527546 | af801ccd40b5ec97bf8e96bed9136821dcf24258 | refs/heads/master | 2022-12-22T19:07:10.257572 | 2020-09-30T13:16:56 | 2020-09-30T13:16:56 | 267,034,045 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 527 | cpp | #include "Optimizer.h"
#include "TestFunctions.h"
#include <iostream>
int main(void)
{
Optimizer::domain domain{ -5.12, 5.12, -5.12, 5.12 };
Optimizer::Dummy test_dummy(rastrigin, 12345, domain, 0.001, 50);
test_dummy.optimize();
std::cout << "Number of evaluated points: " << test_dummy.getEvaluatedPoints().size() ... | [
"Justin Deterding"
] | Justin Deterding |
570b86868adec9e7592075494c3f01f62255262d | eee5f3315c8f4b53a9e3f42c20fce52ecd631121 | /letters/H.hpp | 26270fa9dc672972c3964ff71d20771cb197d137 | [] | no_license | watsnav/wordart | 5777bf799914003bbb1ecd77862a452c364c2596 | 9ee45d0faac473ac4a890ac187c5865f8aea2d3e | refs/heads/master | 2020-05-14T14:18:44.791292 | 2019-06-10T22:02:04 | 2019-06-10T22:02:04 | 181,829,988 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 125 | hpp | #ifndef H_HPP
#define H_HPP
#include "../graphics/line.hpp"
class H {
public:
H();
H(int, char c=CHARACTER);
};
#endif
| [
"navneetwats@yahoo.in"
] | navneetwats@yahoo.in |
f6a5ec3c10f8fd3b514efb6f6eb5c57e97e98de1 | 9ef360235f05da1383503c8a625e68f7ef96f69a | /tests/test_retained.cpp | e9e586dd2123c68fcde379008866f6410dd9f919 | [
"MIT"
] | permissive | hpesoj/gsl-pointers | 8648f70cf06081e99ae676ecd413b8d89e1008b7 | 934a847686eea9c1957a8abeb42d17c9333cb746 | refs/heads/master | 2021-10-27T05:05:11.847935 | 2019-04-16T01:08:28 | 2019-04-16T01:08:28 | 70,650,181 | 10 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 7,515 | cpp | /*
* Copyright (c) 2016 - 2019 Joseph Thomson
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merg... | [
"joseph.thomson@gmail.com"
] | joseph.thomson@gmail.com |
2b3b0de2a3377fd95387cff9f61a9a45f227474d | 1e42ee37484aea8eb5b31875fd8322a912bc9c56 | /wxLuaBind/src/string_bind.cc | b64e9675859f1a55f407afd083513f0134f2fbdf | [] | no_license | zeroli/wxLuaBind | 58053ee24ad0fb38488fa48f082f8e6f0a0465b2 | 5623f7765fabe1a3002240adf87a81ead5a245f8 | refs/heads/master | 2021-01-10T19:26:32.501659 | 2014-04-28T11:08:26 | 2014-04-28T11:08:26 | 16,058,602 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,271 | cc | #include <precompile.h>
namespace
{
object strlua2wx(const object luastr)
{
wxASSERT_MSG(luastr.is_valid(), wxT("Lua state is not valid for argument"));
int luatype = type(luastr);
lua_State* L = luastr.interpreter();
if (luatype == LUA_TSTRING)
{
const char... | [
"zeroliql@gmail.com"
] | zeroliql@gmail.com |
05a6efa8026748e1f86ca1f840a0384f1af69796 | da9d3ddd991f1dc65e726dd658ac0f76b3b7d045 | /LightOj -1047 - Neighbor House.cpp | 0beea028d39406b0f1498950ecfc2861a286a4ef | [] | no_license | jawadalmishu/lightoj | ed959ab0b1ee7fa944041b4cf53aa5331adc2f18 | 7c87f93c42153ad3efec1bbc2aa34d33435ebe5b | refs/heads/master | 2023-06-24T21:04:18.004230 | 2021-07-22T06:50:41 | 2021-07-22T06:50:41 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 980 | cpp | #include<iostream>
#include<cstdio>
#include<cstring>
using namespace std;
#define inf 1<<28
int r,c=3,mat[20][3],dp[21][4],n;
int mat1(int i,int j){
if(i>=0 && i<r && j>=0 &&j<3){
if(dp[i][j]!=-1) return dp[i][j];
int ret=inf;
ret=min(ret,mat1(i+1,j+1)+mat[i][j]);
ret=min... | [
"mishu667@gmail.com"
] | mishu667@gmail.com |
7670012de9f37b965102408967b677d6135110cd | 4ab1323abb30acb42a51a2e60e5b5f6ae6678297 | /src/test/FileReaderTester.cpp | d5e1c9c0e6c7e97cedc7b776599a2a79c8e73817 | [] | no_license | matthewchiborak/DnDAdventure | b0bd9721c333ef454af8a379564871fd2d43a705 | 6338033906c389c0c4c96262ff86828ce1967d53 | refs/heads/main | 2023-04-23T11:35:55.255021 | 2021-04-18T18:13:18 | 2021-04-18T18:13:18 | 354,141,908 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,420 | cpp | #include "FileReaderTester.h"
#include <QDebug>
#include "../filemanagment/fileReader.h"
#include "../factory/boardobjectfactory.h"
#include "../model/boardobjectobstacle.h"
#include "../factory/inputstatefactory.h"
#include "../model/modelconcrete.h"
#include "../model/playercharacterstats.h"
#include "../model/doo... | [
"matthewchiborak@hotmail.com"
] | matthewchiborak@hotmail.com |
b7d0df69bbbd0a521d8c1f9b1b0b2d8947ea0a49 | 0ffcc567ea0ebfb054a70afa18d4588e7d2bf23f | /Assets/Plugins/IOS/PlayAdsSDKWrapper.h | 27a67b986dc8b349e9f666a24404ff7b17c1b670 | [] | no_license | russellmorgan/Super-Flappy-Fishy | 01d273e2f0ae0f51cc7797d2740ba3ca8a5e35ec | 2414d86816e6999533353c03bd55533e518af4a5 | refs/heads/master | 2020-05-21T11:42:14.191212 | 2016-01-02T19:05:59 | 2016-01-02T19:05:59 | 18,338,577 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 344 | h | #include <iostream>
#ifdef __cplusplus
extern "C"
{
void PlayAdsSDKInitialize(const char* appID, const char* secret, const char* instanceName);
void PlayAdsSDKShowInterstitial(const char* type);
void PlayAdsSDKPrepareInterstitial(const char* type);
void PlayAdsSDKShowPreparedInterstitial();
void PlayAdsS... | [
"russell@subreference.com"
] | russell@subreference.com |
b54a2120f71de44495f86057b55375aef8cd88bf | 0a3341c8991f8dcf26adc5b20359c64de5032dd0 | /Source/FortniteClone/Private/FortniteCloneCharacter.cpp | 5167f9dd9775a187a0916624df35ef1cd9d6f84e | [
"MIT"
] | permissive | ajeets1978/fortnite-clone-ue-roth | 1f35d0f813156ec7df7c1941127bacee54a77b58 | c8119f78621a4c554828d5461afb83a9a558c29c | refs/heads/master | 2020-12-12T08:41:31.738725 | 2019-01-12T23:31:58 | 2019-01-12T23:31:58 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 27,264 | cpp | // Copyright 1998-2018 Epic Games, Inc. All Rights Reserved.
#include "FortniteCloneCharacter.h"
#include "HeadMountedDisplayFunctionLibrary.h"
#include "Camera/CameraComponent.h"
#include "Components/CapsuleComponent.h"
#include "Components/InputComponent.h"
#include "GameFramework/CharacterMovementComponent.h"
#incl... | [
"chris_gong@yahoo.com"
] | chris_gong@yahoo.com |
09310cef7979defe3dec55070fcca901c33749a8 | d5d37f19ef6de5c69751307a85efd84d573226a9 | /ProgrammingProblems/AuthorCode/Book1 Code/trees/depth_iterative.cpp | 0fef93fea4bc19565573a3be2b7fff6e09493a12 | [] | no_license | hdduong/ProgrammingInterview | 638b3ad1aeec53d32b835dd56a440b951eb9f2ce | a32b6e1381125c64ba949b0e0aa053ac0013fc65 | refs/heads/master | 2020-04-27T22:11:07.762015 | 2013-11-04T15:57:27 | 2013-11-04T15:57:27 | 13,479,477 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 590 | cpp | size_t depth(node* root) {
if (nullptr == root) return 0;
size_t maxdepth = 0;
std::set<node*> visited;
std::stack<node*> s;
s.push(root);
while (!s.empty()) {
node* top = s.top();
if (nullptr != top->left
&& visited.end() ==
visited.find(top->left)) {
s.push(top->left);
... | [
"hdduong.at.wpi.edu@gmail.com"
] | hdduong.at.wpi.edu@gmail.com |
a7b914f6d3f6f85afa3759c5e95c7cbc117526b5 | 1a5a3b9f8675000cf94b1a6797a909e1a0fcc40e | /src/client/src/Interface/Command/DragCommand.cpp | 140ef9953ec93d2060818ef8319a19d2c5338cf2 | [] | no_license | Davidixx/client | f57e0d82b4aeec75394b453aa4300e3dd022d5d7 | 4c0c1c0106c081ba9e0306c14607765372d6779c | refs/heads/main | 2023-07-29T19:10:20.011837 | 2021-08-11T20:40:39 | 2021-08-11T20:40:39 | 403,916,993 | 0 | 0 | null | 2021-09-07T09:21:40 | 2021-09-07T09:21:39 | null | UHC | C++ | false | false | 14,084 | cpp | #include "StdAfx.h"
#include "DragCommand.h"
#include "../it_mgr.h"
#include "../DLGs/QuickToolBAR.h"
#include "../DLGs/CPatDlg.h"
#include "../DLGs/CItemDlg.h"
#include "../DLGs/CGoodsDlg.h"
#include "../DLGs/CPrivateStoreDlg.h"
#include "../Icon/CIconItem.h"
#include "../Icon/CIconSkill.h"
#include "../Ic... | [
"ralphminderhoud@gmail.com"
] | ralphminderhoud@gmail.com |
585d8b626e31ee68dc4cb24f179478efebeed5f9 | 468056729447adbc195a7ea98451570a572a9f62 | /miniMoverLib/socket_linux.cpp | 9ea021d76f352a8fbdfafac3b6c16a3486519127 | [] | no_license | killvxk/miniMover | c97af7297c692ddc2c864be7f400b3bdd8be3853 | f97ce6e7561191798c516a2122ab4f27b1f72971 | refs/heads/master | 2020-04-01T00:44:40.481660 | 2018-10-09T01:44:14 | 2018-10-09T01:44:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,756 | cpp | //****Note, linux only!
#ifdef _WIN32
# include <assert.h>
assert(false);
#endif
#include <sys/socket.h>
#include <arpa/inet.h>
#include <netdb.h> // Needed for getaddrinfo() and freeaddrinfo()
#include <unistd.h> // Needed for close()
#include <errno.h>
#include <sys/ioctl.h>
#include <sys/stat.h>
#include <sys/t... | [
"david.tucker@goliathindustries.com"
] | david.tucker@goliathindustries.com |
c4d995b1a60044f1dec112fec9b02bbbda4b43f2 | 3d18be2d58f2aa78ad2ea8dfbcce34ab08095e8b | /Code/op_client.cpp | 7e24704d500ef25b6cc423c3d373ef520e8487e9 | [
"MIT"
] | permissive | hewei-nju/TCP-IP-Network-Programming | 7796f449efcccf1f1923c49ae65996f9cff8dd69 | 0685f0cc60e3af49093d3aa5189c7eafda5af017 | refs/heads/main | 2023-07-25T15:34:43.638484 | 2021-09-08T00:52:00 | 2021-09-08T00:52:00 | 403,846,405 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,463 | cpp | /** @author heweibright@gmail.com
* @date 2021/8/28 22:01
* Copyright (c) All rights reserved.
*/
#include <iostream>
#include <cstdlib>
#include <cstring>
#include <arpa/inet.h>
#include <unistd.h>
const int BUF_SIZE = 1024;
void error_handling(const char* msg)
{
std::cerr << msg << '\n';
std::termina... | [
"191250044@smail.nju.edu.cn"
] | 191250044@smail.nju.edu.cn |
c80292e3343aadecaf2ada77ad8ac42828d63cb2 | 3aaa0ec8db183c7b6e3fda2ce994dffbc8bfc561 | /Practice_Baseball Game/mainGame.cpp | e9f454f2d65f090e7b5f57709a82d604988a7ba2 | [] | no_license | LEEEUNSOUL/PracticeAndLearn | e5419c252c21b80188c803ba92352f07857122f0 | be9bd90816dffee983d7fb2b0bdf87f87b4df523 | refs/heads/master | 2021-05-20T14:54:01.257265 | 2020-04-02T02:48:56 | 2020-04-02T02:48:56 | 252,339,798 | 1 | 0 | null | null | null | null | UHC | C++ | false | false | 2,227 | cpp | #include "mainGame.h"
#include <iostream>
#include <time.h>
using namespace std;
mainGame::mainGame() //생성자
{
srand(time(NULL));
int number[25];
int dest, temp, sour; //셔플 알고리즘
int playerNum;
int bingocount = 0;
int num = 35;
for (int i = 0; i < 25; i++)
{
number[i] = i + 1;
}
cout << en... | [
"54984902+LEEEUNSOUL@users.noreply.github.com"
] | 54984902+LEEEUNSOUL@users.noreply.github.com |
25d97731ee310e45a2d7124b733d8edfc00b8bdb | ee3cb4c7e05af586d933fe66e431566d8a3fcc79 | /testFFmpeg/videotools.h | d6b753fecdfc951ba139336679934b6bf91a090a | [] | no_license | tiancai1912/xiba | 8a7bfe7f610d585e7e2409da049a927cbbc02ccf | ca0bae537255436746385b112d79fb889e171491 | refs/heads/master | 2023-04-21T22:45:10.036232 | 2021-05-05T14:34:24 | 2021-05-05T14:34:24 | 270,003,155 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,303 | h | #ifndef VIDEOTOOLS_H
#define VIDEOTOOLS_H
#include <stdio.h>
#include <unistd.h>
#include <stdlib.h>
#include <stdint.h>
#include <string.h>
#include <fcntl.h>
extern "C" {
#include <libavutil/imgutils.h>
#include <libavutil/samplefmt.h>
#include <libavutil/timestamp.h>
#include <libavformat/avformat.h>
}
class Vi... | [
"tiancai1912@sina.com"
] | tiancai1912@sina.com |
af64fd78b94374964e848481ce0be06e877a4fa1 | 07318127752c82cd19cc90d9297754a1ac6f2f53 | /SeRoNet-Tooling-ROS-Mixed-Port/DomainRosModelsRepositories/ROSRos_core/smartsoft/src-gen/ROSRos_core/Std_msgs_BoolACE.cc | e3b807a0ae27b7324fb68dda4815af80f187a3db | [] | no_license | seronet-project/SeRoNet-examples | 2dc694a2e36d80e5a852d328b324dd5cc30dffbb | 1d712c2bfab7ab54e43b6282cef94e5cdf6df8ca | refs/heads/master | 2020-08-15T08:35:16.025675 | 2020-08-14T06:14:55 | 2020-08-14T06:14:55 | 215,308,821 | 0 | 2 | null | 2020-04-16T09:59:21 | 2019-10-15T13:41:37 | C++ | UTF-8 | C++ | false | false | 1,571 | cc | //--------------------------------------------------------------------------
// Code generated by the SmartSoft MDSD Toolchain
// The SmartSoft Toolchain has been developed by:
//
// Service Robotics Research Center
// University of Applied Sciences Ulm
// Prittwitzstr. 10
// 89075 Ulm (Germany)
//
// Information abo... | [
"nhg@ipa.fhg.de"
] | nhg@ipa.fhg.de |
cbe54f81a6ae7ef1494da7a4e58380b7a9ba1500 | fe51156c1d91e4118ded7bb2a794d74763b2f8a6 | /inst/include/stan/math/opencl/rev/crossprod.hpp | 6346f1e18ec172b811f4dadb1ad3382f44ac6319 | [] | no_license | cran/StanHeaders | 67e6ef97961846c6049daa33780a7ba798b1709f | 492547cdb2d0818ef906e4f2fbb1b93700b213b7 | refs/heads/master | 2023-06-21T04:00:11.779535 | 2023-06-14T21:52:05 | 2023-06-14T21:52:05 | 30,589,564 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 887 | hpp | #ifndef STAN_MATH_OPENCL_REV_CROSSPROD_HPP
#define STAN_MATH_OPENCL_REV_CROSSPROD_HPP
#ifdef STAN_OPENCL
#include <stan/math/opencl/kernel_generator.hpp>
#include <stan/math/opencl/prim/crossprod.hpp>
#include <stan/math/rev/core.hpp>
namespace stan {
namespace math {
/**
* Returns the result of pre-multiplying a m... | [
"csardi.gabor+cran@gmail.com"
] | csardi.gabor+cran@gmail.com |
27e745166adbe35c08b1f895546ee80cfc6922f7 | 1a4f6d71e5944d80ccee022999c77a29ece56ec6 | /ui/RenderWindow.h | 1ef4f835d0165201697cf95cb18b5c19d3a11a2b | [] | no_license | LavinasChange/qc | 8e43d20f08b620d1a1732c08234b4a1c586e84ce | fb08f8cd2ff50cd2c4b907ff43ab65a3479d4c3c | refs/heads/master | 2020-07-11T11:25:42.416507 | 2019-04-19T20:05:04 | 2019-04-19T20:05:04 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,775 | h | /*
===========================================================================
Doom 3 GPL Source Code
Copyright (C) 1999-2011 id Software LLC, a ZeniMax Media company.
This file is part of the Doom 3 GPL Source Code (?Doom 3 Source Code?).
Doom 3 Source Code is free software: you can redistribute it and/o... | [
"sjm@sjm.io"
] | sjm@sjm.io |
408245ec36e450562fe37631e428fa9f76a43ad8 | 249b0c0c6a5fac4733cc96b239fd8eb3624cf620 | /pat/reverselist.cc | f8c15ce2b5a23035ef3e674a847429f29e65e3fb | [] | no_license | edonyzpc/PLC | e0e4278b06e5e2b34f764e1c486dc900fd11c4a3 | b0cb06b7b6bd3e8edc11adbd2b23d4072f3c101e | refs/heads/master | 2021-06-05T20:58:53.760532 | 2016-10-29T14:37:26 | 2016-10-29T14:37:26 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,641 | cc | /*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# .---. .-----------
# / \ __ / ------
# / / \( )/ ----- (`-') _ _(`-') <-. (`-')_
# ////// '\/ ` --- ( OO).-/( (OO ).-> .-> \( OO) ) .->
... | [
"edonyzpc@gmail.com"
] | edonyzpc@gmail.com |
e487dcc1b9eab63ff993f866fa35a77701b17e51 | d2c30770193f53a9455a9a51c1122c3835d91b7c | /source/InputController.h | d1fcfe3a8e2109930338a7ff314ee5d052b5eb8b | [] | no_license | liyiming-serif/GameDesign2018sp | ffff05c6458c48f749d6fd3601ce1d262870fc52 | 6b3b8912f6542670b68eb6c0a1a7a9aa2a501bdd | refs/heads/master | 2021-09-14T20:43:47.418222 | 2018-05-18T21:20:43 | 2018-05-18T21:20:43 | 119,615,447 | 0 | 0 | null | 2018-05-18T20:05:10 | 2018-01-31T01:08:04 | C | UTF-8 | C++ | false | false | 4,430 | h | //
// InputController.h
// Chaos Castle
//
// The Input Controller effectively abstracts touch and mouse callbacks into
// specific input commands (e.g. just released, is swiping) that can be polled
// by the parent scene class per update. Vector positions are return in SCREEN
// COORDINATES!
//
// Unlike CUGL input de... | [
"liyiming.serif@gmail.com"
] | liyiming.serif@gmail.com |
e0971fa75b0d69fb53f9146a76d0f333feac1ea4 | c78f01652444caa083ca75211bae6903d98363cb | /devel/.private/mavros_msgs/include/mavros_msgs/ParamPullRequest.h | 3492e5c705ed2fb494556ab183a7af45cdaa8359 | [
"Apache-2.0"
] | permissive | arijitnoobstar/UAVProjectileCatcher | 9179980f8095652811b69b70930f65b17fbb4901 | 3c1bed80df167192cb4b971b58c891187628142e | refs/heads/master | 2023-05-01T11:03:09.595821 | 2021-05-16T15:10:03 | 2021-05-16T15:10:03 | 341,154,017 | 19 | 7 | null | null | null | null | UTF-8 | C++ | false | false | 5,037 | h | // Generated by gencpp from file mavros_msgs/ParamPullRequest.msg
// DO NOT EDIT!
#ifndef MAVROS_MSGS_MESSAGE_PARAMPULLREQUEST_H
#define MAVROS_MSGS_MESSAGE_PARAMPULLREQUEST_H
#include <string>
#include <vector>
#include <map>
#include <ros/types.h>
#include <ros/serialization.h>
#include <ros/builtin_message_trai... | [
"arijit.dg@hotmail.com"
] | arijit.dg@hotmail.com |
37627c8571e8f7df9a5dd835f479aa81a4ceff0a | e06929cb82e94791ae8d1b441de8e0b033ce31f9 | /src/key.h | c1ed661d46a5b676e076a084b590631b6fb77a91 | [
"MIT"
] | permissive | Fluxworth/Flux | b7b7a20aedb44a6bcc07750d3855602bcbe07556 | 00c868f4c8f8e666606875f803ac36d3a7490cc5 | refs/heads/master | 2016-09-05T12:46:13.638416 | 2014-06-06T20:34:43 | 2014-06-06T20:34:43 | 20,375,511 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,117 | h | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2012 The Bitcoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef FLUX_KEY_H
#define FLUX_KEY_H
#include <stdexcept>
#include <vector>
#inc... | [
"fluxworth@gmail.com"
] | fluxworth@gmail.com |
112809727139c54c6b09c4e2aa4faa12bfe23b91 | 3a856d9e431bdd5b7bdd9031f92d03dc81572173 | /17B_PROJECT/mainwindow.h | a7ec8d86ddd0bf16127c600553cdfd2952302e42 | [] | no_license | om2154460/battleship_17B | a6101c4a00a60f1359683bb7c8d135aaf1c6ccc3 | e788c48d62b0fd07d5880e794817d6e310e1e879 | refs/heads/master | 2021-01-12T11:58:03.948888 | 2016-12-16T04:05:21 | 2016-12-16T04:05:21 | 68,876,975 | 2 | 0 | null | 2016-12-14T22:48:33 | 2016-09-22T02:33:05 | C++ | UTF-8 | C++ | false | false | 4,173 | h | #ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include <QMainWindow>
#include <QPushButton>
namespace Ui {
class MainWindow;
}
class MainWindow : public QMainWindow
{
Q_OBJECT
public:
explicit MainWindow(QWidget *parent = 0);
~MainWindow();
private slots:
void on_pushButton_clicked();
void on_pushB... | [
"connor.hillis@yahoo.com"
] | connor.hillis@yahoo.com |
33349674fcf0d4b7a14c404452e55e5e89026623 | fa5f20700f3354076feb2760491236856cd38d03 | /ex03/Paladin.hh | bb203657809ff2ee9bcf05fe6ea4991d0c20bcfe | [] | no_license | Sherry-Du/piscine_cpp_d05 | 146350b5571488714974d66b743fc61a1d5dcf77 | df72e9dd69b89af77be898217606248a719f476e | refs/heads/master | 2020-03-22T11:57:57.778329 | 2018-07-06T18:06:49 | 2018-07-06T18:06:49 | 140,007,657 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 357 | hh | #ifndef _PALADIN_
#define _PALADIN_
#include "Priest.hh"
#include "Warrior.hh"
class Paladin : public Warrior, public Priest
{
public:
Paladin(std::string const& name, int lvl);
~Paladin();
using Warrior::CloseAttack;
using Priest::RangeAttack;
using Character::RestorePower;
int Intercept();
private:
s... | [
"726845321@qq.com"
] | 726845321@qq.com |
771a8c68c07198de1582acc0768afa23c41ca88f | 1da06c184bccae76475b6e2ec3b6de3ba722c927 | /test/posix/test_subprocess_test_runner.cpp | 93e107f734a1f45c08d833e19b00ddcd16d78af6 | [
"BSD-3-Clause"
] | permissive | reveo/mettle | 94e91ed74ad455594e7ca0c1935aca9731a99fd3 | e3f5035d640c3a8f3f9ec58cb518ddc9a8a0c28d | refs/heads/master | 2021-01-16T19:23:54.870992 | 2017-03-16T18:54:03 | 2017-03-16T18:54:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,110 | cpp | #include <mettle.hpp>
using namespace mettle;
#include <chrono>
#include <iostream>
#include <thread>
#include <signal.h>
#include <mettle/driver/run_tests.hpp>
#include <mettle/driver/subprocess_test_runner.hpp>
#include <mettle/driver/posix/scoped_pipe.hpp>
using namespace mettle::posix;
#include "../test_event_l... | [
"jporter@mozilla.com"
] | jporter@mozilla.com |
5d5e75bc4ce3f74270cc07f9c6cdd49ad648d5bb | 105c2013683089e120829bb716d7608871ab96f0 | /download/main.cpp | 9b7cf2f69fa83d6371b2a30268882d3bcd0397d7 | [] | no_license | 0803030112/download | 8594e13318ebafebef304374d48fc197df505f7f | dda1bb03ec87194bbf1c52526d53c9dcd2daaa70 | refs/heads/master | 2022-12-22T22:12:40.226656 | 2020-09-27T14:51:02 | 2020-09-27T14:51:02 | 299,053,646 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 560 | cpp | #include "mainwindow.h"
#include <QApplication>
#include "downloadmanager.h"
#include "getjson.h"
int main(int argc, char *argv[])
{
QApplication a(argc, argv);
// QFile file(":/qss/psblack.css");
// if (file.open(QFile::ReadOnly)) {
// QString qss = QLatin1String(file.readAll());
// QString ... | [
"815491365@qq.com"
] | 815491365@qq.com |
f97477b8a4b66124e06013f3643a37d38c28b666 | 98b6b3063c80b82175a1ebe2f0ab35b026967481 | /Codeforces/767/A.cpp | f7f4dd9ddc98be4893b30c09f74cfaa5fdbff245 | [
"MIT"
] | permissive | AakashPawanGPS/competitive-programming | 02c6f8a2ad55c7274f0d4aa668efe75ee9f39859 | b2f1ad3a258c00da71e468316f020a88df5d8872 | refs/heads/master | 2023-05-27T14:32:01.669785 | 2021-06-14T04:17:09 | 2021-06-14T04:17:09 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,498 | cpp | #include <bits/stdc++.h>
using namespace std;
#define IOS ios::sync_with_stdio(0); cin.tie(0); cout.tie(0);
#define endl "\n"
#define Max(x,y,z) max(x,max(y,z))
#define Min(x,y,z) min(x,min(y,z))
#define fr(i,s,e) for(i=s;i<e;i++)
#define rf(i,s,e) for(i=s-1;i>=e;i--)
#define pb push_back
#define eb emblace_back
#defi... | [
"thedevelopersanjeev@gmail.com"
] | thedevelopersanjeev@gmail.com |
aea1fd4993d08c1af5be926d8c8104cffa96f9a7 | 64058e1019497fbaf0f9cbfab9de4979d130416b | /c++/src/objtools/format/format_item_ostream.cpp | dddc7772463ec559f0c05d540c2cc096541ded40 | [
"MIT"
] | permissive | OpenHero/gblastn | 31e52f3a49e4d898719e9229434fe42cc3daf475 | 1f931d5910150f44e8ceab81599428027703c879 | refs/heads/master | 2022-10-26T04:21:35.123871 | 2022-10-20T02:41:06 | 2022-10-20T02:41:06 | 12,407,707 | 38 | 21 | null | 2020-12-08T07:14:32 | 2013-08-27T14:06:00 | C++ | UTF-8 | C++ | false | false | 1,902 | cpp | /* $Id: format_item_ostream.cpp 103491 2007-05-04 17:18:18Z kazimird $
* ===========================================================================
*
* PUBLIC DOMAIN NOTICE
* National Center for Biotechnology Information
*
* This software/database is a "United States Governme... | [
"zhao.kaiyong@gmail.com"
] | zhao.kaiyong@gmail.com |
229f5d63e3a239fd666f6b9002572cf40bcf581c | 850255823bff88d57d319fa0acabae3b0570e3dc | /PoolPi/PoolPi.cpp | 99a9bb7bf9da747a7a5457c19027881b4afb58b3 | [] | no_license | Who7F/PoolPi | a21f70a4fe1bd3519fde41fa63ae654b7e247c36 | 9dcda10c965d1494923d2e94ec102b0c11b5322f | refs/heads/master | 2023-06-11T06:53:26.521592 | 2021-07-09T20:12:22 | 2021-07-09T20:12:22 | 382,855,316 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,633 | cpp | #include <iostream>
#include "pbPlots.hpp"
#include "supportLib.hpp"
using namespace std;
// ball with wait of 1 and speed of one hit a ball with weight 1 speed one
// eng of ball a is 1 and ball be is 0
//
class pool_ball
{
private:
double Weight;
double Momentum;
double AllWeight;
double ShareBu... | [
"william.hoggins@googlemail.com"
] | william.hoggins@googlemail.com |
93488a7ccc5182abec9dba4775ddea7f61901987 | e9161aff87f77bbe0e23d3314a8b7374752a77aa | /qeastmonystockcodesthread.cpp | f799e40008bb41be22312771514c8e7c934dbca1 | [] | no_license | dice2019/Hq | 533506c9d4a956ed3aed9d18ed7c837dc96f0492 | 11293ba43a1d8a4ef2fa345a5cf65971f4618385 | refs/heads/master | 2021-01-23T22:05:12.443326 | 2017-09-05T09:51:54 | 2017-09-05T09:51:54 | 102,923,029 | 0 | 1 | null | 2017-09-09T03:12:31 | 2017-09-09T03:12:31 | null | UTF-8 | C++ | false | false | 1,078 | cpp | #include "qeastmonystockcodesthread.h"
#include <QDebug>
#include <QDateTime>
#include <QRegularExpression>
#include "qhttpget.h"
QEastMonyStockCodesThread::QEastMonyStockCodesThread(QObject *parent) : QThread(parent)
{
}
QEastMonyStockCodesThread::~QEastMonyStockCodesThread()
{
}
void QEastMonySto... | [
"qq@qq.com"
] | qq@qq.com |
d1f7aa6dd9a4738661651958e03598f26311abfb | ae074043343553665bebf7d4e6a6448d6a7b3d52 | /C++/problems/0132_next_permutation.cpp | 1cd7047adcd054c33258e47e2373c7dd8f64c40a | [
"MIT"
] | permissive | raulhsant/algorithms | 9089adc91bc16b749a7efd67e817e0f36c8843c4 | 1578a0dc0a34d63c74c28dd87b0873e0b725a0bd | refs/heads/master | 2022-05-26T21:25:22.919252 | 2021-07-13T13:30:59 | 2021-07-13T13:30:59 | 213,479,201 | 0 | 0 | MIT | 2019-10-07T20:23:21 | 2019-10-07T20:23:21 | null | UTF-8 | C++ | false | false | 1,393 | cpp | // Problem Statement
// Implement next permutation, which rearranges numbers into the lexicographically next greater permutation of numbers.
// If such arrangement is not possible, it must rearrange it as the lowest possible order (ie, sorted in ascending order).
// The replacement must be in-place and use only const... | [
"walterjgsp@gmail.com"
] | walterjgsp@gmail.com |
77ac70e5e74b5a31c1455aaf78ede0aaf39834ab | ad8271700e52ec93bc62a6fa3ee52ef080e320f2 | /CatalystRichPresence/CatalystSDK/PamClientPlayerInfoEntity.h | d81550256d330dd0eaf29c7bc7d1d3cffc218f50 | [] | no_license | RubberDuckShobe/CatalystRPC | 6b0cd4482d514a8be3b992b55ec143273b3ada7b | 92d0e2723e600d03c33f9f027c3980d0f087c6bf | refs/heads/master | 2022-07-29T20:50:50.640653 | 2021-03-25T06:21:35 | 2021-03-25T06:21:35 | 351,097,185 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 465 | h | //
// Generated with FrostbiteGen by Chod
// File: SDK\PamClientPlayerInfoEntity.h
// Created: Wed Mar 10 19:04:53 2021
//
#ifndef FBGEN_PamClientPlayerInfoEntity_H
#define FBGEN_PamClientPlayerInfoEntity_H
#include "Entity.h"
class PamClientPlayerInfoEntity :
public Entity // size = 0x20
{
public:
static void* Ge... | [
"dog@dog.dog"
] | dog@dog.dog |
176a3f6a33ba62334a4d8916fafce60ec1fbc33f | add250d0d9967dcc7cdf8de653b9b9ce0761b074 | /33/CodeForces/CF_1353B_Two Arrays And Swaps.cpp | 8578c795e817c91b11b3541f358eb3094118efdf | [] | no_license | DeftHaHa/33team | 8850be522b3f33d04722b3ba957ef9e8c73128f9 | f9a08166ea064acfb1be2a9c3498b09de9fe03f9 | refs/heads/master | 2022-08-20T13:29:58.926178 | 2020-05-28T03:55:22 | 2020-05-28T03:55:22 | 267,508,289 | 1 | 0 | null | 2020-05-28T06:10:31 | 2020-05-28T06:10:30 | null | UTF-8 | C++ | false | false | 662 | cpp | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
int main()
{
ios::sync_with_stdio(false);
cin.tie(0);
int t;
int n, k, a[50], b[50];
cin >> t;
while (t--)
{
cin >> n >> k;
int sum = 0;
for (int i = 1; i <= n; i++)
{
cin >> a[i]... | [
"daijianshan33@outlook.com"
] | daijianshan33@outlook.com |
654d00aca118845889f18c01665131e8c65d3696 | 447c6294304926c9d495dc87893420b8bf15dba8 | /_Gcode_Parser/_Queue.h | 45b467db6a2f6f4bccd3abc213bd21847df93a16 | [] | no_license | Martinsoyyo/Probando_cosas_GRBL | 5b22bcc2c79dbace26ba49d233e047139058a5e6 | bb1d8c15e846ea742001d95ed88adb3c855e29bd | refs/heads/master | 2022-12-01T05:28:55.769367 | 2020-08-21T05:48:36 | 2020-08-21T05:48:36 | 289,189,197 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,111 | h | #ifndef QUEUE_H
#define QUEUE_H
#include <iostream>
#include <string>
using namespace std;
template<class T, uint32_t MAX_ELEMENTS>
class _Queue {
protected:
T buffer[MAX_ELEMENTS];
uint32_t rear; // always point to the last element that remove.
uint32_t front;// always point to the next empty space.
... | [
"mmpelloni@hotmail.com"
] | mmpelloni@hotmail.com |
9cf81cc890ec5d8fd16a7c474a1a0c3493f2e04d | 026417bcfc45369b5f5389353a9fafdd7812a51e | /Source/BOTWStyleCooking/TestFPSCharacter.h | c33d74c1ba76dfa750d77807cb81cbd1d617f691 | [
"MIT"
] | permissive | hubba368/UE4-BOTWCookingSystem | ce227f41dc30d8025fa0c04b7350df78380340bc | 7dd1a52c3218802e75d7eb8545f6535aa3b37f96 | refs/heads/master | 2020-05-30T13:33:42.151022 | 2019-06-03T14:21:04 | 2019-06-03T14:21:04 | 189,764,390 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,857 | h | // Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "GameFramework/Character.h"
#include "TestFPSCharacter.generated.h"
UCLASS()
class BOTWSTYLECOOKING_API ATestFPSCharacter : public ACharacter
{
GENERATED_BODY()
public:
// Sets default val... | [
"elliott_bowman@hotmail.com"
] | elliott_bowman@hotmail.com |
c17c4069215fd7284f0c9ac6739979904e329bf4 | 868e8628acaa0bf276134f9cc3ced379679eab10 | /squareDrop/0.472/p_rgh | 56987b1abe53ef5abad1180f74ac290d8522fac1 | [] | no_license | stigmn/droplet | 921af6851f88c0acf8b1cd84f5e2903f1d0cb87a | 1649ceb0a9ce5abb243fb77569211558c2f0dc96 | refs/heads/master | 2020-04-04T20:08:37.912624 | 2015-11-25T11:20:32 | 2015-11-25T11:20:32 | 45,102,907 | 0 | 0 | null | 2015-10-28T09:46:30 | 2015-10-28T09:46:29 | null | UTF-8 | C++ | false | false | 125,326 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.4.0 |
... | [
"stig.m.nilsen@gmail.com"
] | stig.m.nilsen@gmail.com | |
f0577ef660f76d480f5008e92b70344ab5e48eb1 | 1a3ee1a29e94befa912cd803bdbe3682840b0087 | /C++/problem97.cpp | 0d04556d8d161ccee8a28eb0e627cf23bbc2708f | [] | no_license | Riuchando/projectEuler | e4581234019021208f0cf61efb9c52d17ec13da0 | d10ed083eb43946fd472f669b0a9baf083987814 | refs/heads/master | 2021-01-20T11:49:50.696557 | 2019-11-02T23:54:22 | 2019-11-02T23:54:22 | 32,451,126 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,000 | cpp | //Author: Stephen Kinser
//Problem 97
/*
The first known prime found to exceed one million digits was discovered in 1999, and is a Mersenne prime of the form 26972593−1; it contains exactly 2,098,960 digits. Subsequently other Mersenne primes, of the form 2p−1, have been found which contain more digits.
However, in 2... | [
"sdkinser456@gmail.com"
] | sdkinser456@gmail.com |
2ffb4af15954b09edf66c70b1c65b846662ee483 | d502d07aec64254f37d863bbad16462e85156194 | /include/MillerRabinPrimeRandomNumberGenerator.h | abbd269d0b45b4bb294cc18827fc768197a86099 | [] | no_license | guilhermesartori/random-prime-number-generator | 387d15e1aa18c71706ee4c46cedfd90cbf21b233 | d3a4859b273e796bb4517e54b8dd15b4209909e3 | refs/heads/main | 2022-12-28T14:51:35.171674 | 2020-10-13T20:19:05 | 2020-10-13T20:19:05 | 302,707,254 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,435 | h | #ifndef MILLER_RABIN_PRIME_RNG_H
#define MILLER_RABIN_PRIME_RNG_H
#include <memory>
#include <random>
#include <limits>
#include <iostream>
#include <cmath>
#include "RandomNumberGenerator.h"
#include "XorshiftRandomNumberGenerator.h"
#include "MultiplyWithCarryRandomNumberGenerator.h"
#include "PrimeRandomNumberGener... | [
"guimsartori@gmail.com"
] | guimsartori@gmail.com |
8bed0fd38e34fbd7e7e7ca1883e042149aa332b9 | 98dec845c663d87fd39890d2eb98758feac10938 | /Year 1 Sem 2/pooExamQuestions/probleme/105.cpp | ef45585ae70c196c276b8ac7b5685db59e40d5c5 | [] | no_license | mihainsto/FMI | 6a0aa7971721e79bc7c170a265d67156909248f1 | af6085732c1d8d26b046bc45823a2ac18115b4cb | refs/heads/master | 2021-07-19T14:04:47.903515 | 2020-05-05T00:34:16 | 2020-05-05T00:34:16 | 154,816,218 | 5 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 254 | cpp | #include <iostream>
using namespace std;
class A
{ static int *x;
public: A() {}
int get_x() { return (++(*x))++; } };
int *A::x(new int(19));
int main()
{ A *p=new A,b;
cout<<b.get_x()<<" ";
cout<<p->get_x();
return 0;
}
| [
"mihaistoianro@gmail.com"
] | mihaistoianro@gmail.com |
fd42d3a159829d0baf38d0ca86fb8b06c42c3739 | 481ff5af691f12dd066547538f6b0d3610f8804a | /Code/TestInput_Cursor/main.cpp | d90592ab108afa3ad35e1fcb8bfa4ff94598ae90 | [] | no_license | lightindarkgit/irisembx00 | 909a1ff0fe10165537cf03f78f310f2329c62da4 | 3fa3ca437246172dfa0b6adbbddda418c60ee7a6 | refs/heads/master | 2020-04-11T06:45:09.549740 | 2018-03-09T03:32:23 | 2018-03-09T03:32:23 | 124,330,594 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,621 | cpp |
/*****************************************************************************
** 文 件 名: main.h
** 主 要 类: 主程序
**
** Copyright (c) 中科虹霸有限公司
**
** 创 建 人:刘中昌
** 创建时间:20013-10-24
**
** 修 改 人:
** 修改时间:
** 描 述: 项目入口
** 主要模块说明: 项目入口
**
** 版 本: 1.0.0
** 备 注:
**
********************************************************... | [
"guowen@irisking.com"
] | guowen@irisking.com |
9591bef9692062fbaed114366eee1003d5f358ae | bba872c8b6b3d38ab3e2d4d19d3feb05bacc00d5 | /S-Tengine2/Source/S-Tengine2/include/BulletController.h | 06b45ef858cad81d899f0cc6fe672cf7b2c7f092 | [] | no_license | SweetheartSquad/S-Tengine2 | 0f38f33ffa3571311f908956cab9d8cebc3b1da7 | 3059298e257c5112b6632281fa0a9e0f51cf1275 | refs/heads/master | 2020-12-19T21:20:51.405743 | 2016-05-15T10:04:49 | 2016-05-15T10:04:49 | 34,470,200 | 5 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,408 | h | #pragma once
#include <node/NodeUpdatable.h>
#include <glm\glm.hpp>
#include <Keyboard.h>
#include <Mouse.h>
class Joystick;
class BulletController : public virtual NodeUpdatable{
protected:
bool enabled;
Keyboard & keyboard;
Mouse & mouse;
Joystick * joystick;
// enables inputs
virtual void enable();
// di... | [
"sean.s.leblanc@gmail.com"
] | sean.s.leblanc@gmail.com |
e6e3587ccd2bcbed6bf3a34592598496dc65f336 | a081002197d091f1c387576894a160ececb69497 | /activemq-cpp/src/test-benchmarks/decaf/io/ByteArrayOutputStreamBenchmark.cpp | 95cfc0c20e2d64676dbd2b17353fb2f85e99e45b | [
"Apache-2.0"
] | permissive | greatyang/activemq-cpp | 357fe087c839ed0d535ad7e3d987db2dc0badf1e | 4f5d0847552d6a5e206cc54c4354ebd8b0bb8fe3 | refs/heads/master | 2021-03-03T09:53:20.887464 | 2020-03-09T05:34:59 | 2020-03-09T05:34:59 | 245,951,764 | 0 | 0 | Apache-2.0 | 2020-03-09T05:31:25 | 2020-03-09T05:31:25 | null | UTF-8 | C++ | false | false | 2,441 | cpp | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | [
"tabish@apache.org"
] | tabish@apache.org |
86301b0b6d30aa5f74412eb2e139216e6abec875 | 1bb2f5c0eb12a540bc0e9ec51dd8fa73460640a3 | /ws2811Led/ColorPalette/ColorPalette.ino | db25edbb6c2ab85469a81bf2676a02214daf0d3a | [] | no_license | cpreinholtz/stage-effects | a5d1bcdadebeaddf7de6a51c9717d50164099e2f | 5e36ba89afeb1f5dcbe1cb6f64ee13a1b27e3b1e | refs/heads/master | 2021-05-20T11:19:10.400711 | 2020-04-04T05:13:27 | 2020-04-04T05:13:27 | 252,272,185 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,732 | ino | #include <FastLED.h>
#define LED_PIN 13
#define NUM_LEDS 12
#define BRIGHTNESS 64
#define LED_TYPE WS2811
#define COLOR_ORDER GRB
CRGB leds[NUM_LEDS];
#define UPDATES_PER_SECOND 100
// This example shows several ways to set up and use 'palettes' of colors
// with FastLED.
//
// These compact palettes prov... | [
"cpr978@gmail.com"
] | cpr978@gmail.com |
1d0778104804876bb5ba9e30a4043f321487970e | 6b2a8dd202fdce77c971c412717e305e1caaac51 | /solutions_5640146288377856_0/C++/adityaakash/A.cpp | 0d567c60cdef93b7377930c035570fe3b7a44341 | [] | 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,589 | cpp | #include <iostream>
#include <stdio.h>
#include <vector>
#include <map>
#include <list>
#include <string>
#include <string.h>
#include <algorithm>
#include <math.h>
#include <queue>
using namespace std;
#define fore(i, l, r) for(int i = l; i < r; i++)
#define forn(i, n) fore(i, 0, n)
#define pb push_back
#define mp m... | [
"eewestman@gmail.com"
] | eewestman@gmail.com |
c6180a48aaaa14d207201692867a42d1981c6d5d | dd267038685dcefd5f89016c63f72c2ad4aa7fdf | /src/gin/isolate_holder.cc | 347dc7c3ed9b3c4b5f478de9056ad9873484e3c8 | [
"BSD-3-Clause"
] | permissive | webosose/chromium87 | 044d5c74ae9c2815cf096fd98bf9ea4e7e2fe6b3 | 75729b78817d49249cd004ef734c032269f06e53 | refs/heads/master | 2022-11-05T07:23:21.710708 | 2021-10-06T11:24:51 | 2021-10-08T08:30:55 | 392,617,373 | 4 | 2 | null | 2022-11-01T02:23:21 | 2021-08-04T08:54:03 | null | UTF-8 | C++ | false | false | 4,676 | cc | // Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "gin/public/isolate_holder.h"
#include <stddef.h>
#include <stdlib.h>
#include <string.h>
#include <memory>
#include <utility>
#include "base/... | [
"youngsoo.choi@lge.com"
] | youngsoo.choi@lge.com |
60e96b085f60b8437650f1a6ccf9d7e9f22dc439 | c9e0227c3958db89747488328bd2b255e54f008f | /solutions/1529. Bulb Switcher IV/1529.cpp | e1d90a4fc631ba8879b85f80f5a5d9d7cd40b837 | [] | no_license | XkhldY/LeetCode | 2deba28b7491c36b4f224c3132fb89feea318832 | 94e23db2668615d9fe09e129a96c22ae4e83b9c8 | refs/heads/main | 2023-04-03T08:17:30.743071 | 2021-04-14T23:34:03 | 2021-04-14T23:34:03 | 358,136,537 | 1 | 0 | null | 2021-04-15T05:20:21 | 2021-04-15T05:20:21 | null | UTF-8 | C++ | false | false | 230 | cpp | class Solution {
public:
int minFlips(string target) {
int ans = 0;
int state = 0;
for (const char c : target)
if (c - '0' != state) {
state = c - '0';
++ans;
}
return ans;
}
};
| [
"walkccray@gmail.com"
] | walkccray@gmail.com |
8558f8b80a65a55465dd8e0b177d380f63f1b482 | b2fbdd90f8edfca0ea6c5c8eae4e9c46da7b2575 | /实验一.cpp | 56f5b8101f24b63c400be180e95060fe517455e6 | [] | no_license | lhhhhs/learngit | 5890eaac539b0195d4a30f21d19c3e63eefa41b6 | b4e5b2943a5c8b91f56e94b2dccddabcdabbb5a7 | refs/heads/master | 2023-04-27T01:37:28.072493 | 2021-05-15T10:00:11 | 2021-05-15T10:00:11 | 367,587,730 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,172 | cpp | #include<stdio.h>
#include<stdlib.h>
#include<string.h>
int getChar(FILE *fp){
char ch;
int number=0;
while((ch=fgetc(fp))!=EOF){
if((ch!='\n')&&(ch!=' ')&&(ch!='\t')){
number++;
}
}
rewind(fp);
return number;
}
int getWord(FILE *fp){
int flag=0;
int number=0;
char ch;
while(feof(fp)==0)
{
... | [
"1537302005@qq.com"
] | 1537302005@qq.com |
254cdd514f9cfaa8522f763ba6b091cd16be9f59 | 989cd68cf1a7388e5c53ae2443a51b4ebebcfdbb | /UVa/11034.Ferry-Loading-IV.cpp | 3823e9411fe7298310b6724647fcfe9ae42ac673 | [
"MIT"
] | permissive | vitorgt/SCC0211 | 1679218bad8a47413f4b6e8828d1b71106351e01 | ab84f5724811bd7f2d11ed72dd059c8841feba84 | refs/heads/master | 2022-12-27T15:58:41.888011 | 2020-10-15T18:56:10 | 2020-10-15T18:56:10 | 291,717,888 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,025 | cpp | #include <bits/stdc++.h>
using namespace std;
const int INF = 0x3f3f3f3f;
int main(int argc, const char **argv) {
std::ios::sync_with_stdio(false), cin.tie(NULL), cout.tie(NULL);
int c = 0, L = 0, m = 0, car = 0, i = 0;
string buf = "";
cin >> c;
while (c--) {
cin >> L >> m;
L *= ... | [
"26410338+vitorgt@users.noreply.github.com"
] | 26410338+vitorgt@users.noreply.github.com |
e013afb557d297384693c4e4693c0929690c3352 | f38f03edd457221267b0b2ee0d0917ff58094b68 | /stl_httpClient.cpp | d96350206199df6c9522f98773a4298a61557099 | [] | no_license | BennoG/str_tool | 2bd72c69371e162e1091239832392841c8c6083d | 97c6bc70feec467c735052dbef42cb303665f30b | refs/heads/master | 2018-11-22T15:39:33.490141 | 2018-09-04T07:49:36 | 2018-09-04T07:49:36 | 120,899,736 | 0 | 1 | null | 2018-07-03T11:07:56 | 2018-02-09T11:52:17 | C | UTF-8 | C++ | false | false | 8,770 | cpp | /* ---------------------------------------------------------------------*
* Advanced Network Services v.o.f., *
* Copyright (c) 2002-2011 All Rights reserved *
* *
* This Library is licens... | [
"benno@lancop.nl"
] | benno@lancop.nl |
d18e38c0ab8a869f30cc15a4841073e49b703fcb | ecabc86704f3fa502fa998788baf112163005c27 | /C++ Programming Experiment/lab3/src/Lab1/Circle.cpp | ecc8e8a03adc9f74a2f65ca9e93bca42336d058e | [
"WTFPL"
] | permissive | xianfei/SSE18_Homework | da21ebb8ebc3bfb7b9cf58248aaa52a5d9323e88 | fedd7e802a6fcfbe7100be5dec36b6cbe47467a3 | refs/heads/master | 2022-08-30T17:07:46.874393 | 2022-05-05T04:18:20 | 2022-05-05T04:18:20 | 215,285,169 | 92 | 12 | WTFPL | 2022-08-11T21:15:24 | 2019-10-15T11:46:55 | C++ | UTF-8 | C++ | false | false | 1,109 | cpp | #include "Circle.h"
Circle::~Circle() {
delete centerPoint;
cNum--;
}
Circle::Circle() {
this->centerPoint = new point;
cNum++;
};
Circle::Circle(const Circle& c) :shape(c){
this->centerPoint = new point{*(c.centerPoint)};
cNum++;
}
Circle::Circle(point centerPoint, int r, color lineColor, color fil... | [
"979719361@qq.com"
] | 979719361@qq.com |
4d2bcdd0c39d53063bfe61758b4de7802dc7375f | 9178022b8d1dc9f510a950fd6d4c97c5639edf71 | /c++11/numeric_random/random2.cpp | e34161ddba993bf93627e64d4a2029694fba0f1f | [] | no_license | hanhiver/mycpp11 | f71ea9fbcb021763630dd05861c3226eb9457558 | deaebbde07bd153d2cd287af8c1b474f51f5d8a5 | refs/heads/master | 2021-06-21T16:33:29.668467 | 2021-03-23T07:00:09 | 2021-03-23T07:00:09 | 204,598,282 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,308 | cpp | #include <random>
#include <iostream>
#include <sstream>
void printNumbers(std::default_random_engine& dre)
{
for (int i=0; i<6; ++i)
{
std::cout << dre() << " ";
}
std::cout << std::endl;
}
int main()
{
// create engine and generate numbers.
std::default_random_engine dre;
std::... | [
"handongfr@163.com"
] | handongfr@163.com |
35b2398f92277f951a80633f8784f4443180ccbd | 10b64f59519773726a227986719f06dc4a5778e7 | /Organized_Source_Tree/Game_Logic/Actor_Class/Actor_Class.h | 2c3530f71a56ffa011231c5dfb87af2acce70d10 | [] | no_license | kelvinsilva/OG_MASTERS_ALPHA_Industrial_Strength-v1.337 | b261eb3dc157e67207d297a9b957db1f8d09135d | 79970ec76a532681ea69f4135caee2aa6f8fd742 | refs/heads/master | 2020-04-25T14:42:14.770690 | 2013-10-11T03:52:16 | 2013-10-11T03:52:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,330 | h |
//Actor class
//Written By Kelvin Silva
//A simple class to define any actor on screen
//Do not instantiate this class with new
#ifndef ACTOR_CLASS_H_
#define ACTOR_CLASS_H_
#include <allegro.h>
#include <winalleg.h>
class Actor{
private:
BITMAP *draw_surface; //Draw to screen or buffer? The destination of a... | [
"kelvinsilva747@gmail.com"
] | kelvinsilva747@gmail.com |
a197fe650078ac9b0984b0e8b5d511c611903b51 | 9760ba4e86ab650f2ab50a0800cf7178bc14eb6e | /CtrlrFx/DigIO.h | 930bc513bf4f662eedb2023e6607b38e108ffbe3 | [] | no_license | iCodeIN/CtrlrFx-0.9 | d218f96b458bf84005edddf66d44b64cf28a5cd5 | 88d7ac37910574825b0434cd18e203c7334a7a58 | refs/heads/master | 2022-01-04T21:55:30.809360 | 2018-07-27T11:08:03 | 2018-07-27T11:08:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,673 | h | /// @file DigIO.h
/// Remote interfaces for Digital I/O.
#ifndef __CtrlrFx_DigIO_h
#define __CtrlrFx_DigIO_h
namespace CtrlrFx {
/////////////////////////////////////////////////////////////////////////////
/// A digital input port.
/// Each bit has a high/low (true/false) value that can be queried.
in... | [
"fpagliughi@mindspring.com"
] | fpagliughi@mindspring.com |
3e2aa94c72e7f79e96c0326946d1e82de45f35eb | 3159d77c2fc0828025bd0fb6f5d95c91fcbf4cd5 | /cpp/cpp_exploration/user_defined_conversion/main.cpp | 7c04c48dcc4737a8a23f8f8d941301bbb6fcb95c | [] | no_license | jcmana/playground | 50384f4489a23c3a3bb6083bc619e95bd20b17ea | 8cf9b9402d38184f1767c4683c6954ae63d818b8 | refs/heads/master | 2023-09-01T11:26:07.231711 | 2023-08-21T16:30:16 | 2023-08-21T16:30:16 | 152,144,627 | 1 | 0 | null | 2023-08-21T16:21:29 | 2018-10-08T20:47:39 | C++ | UTF-8 | C++ | false | false | 214 | cpp | #include "A.h"
#include "B.h"
int main()
{
A a(7);
B b(14);
A aa = static_cast<A>(b); // explicit conversion (explicit operator A() const)
B bb = a; // implicit conversion (operator B() const)
return 0;
}
| [
"mjcmana@gmail.com"
] | mjcmana@gmail.com |
458abd047df394738fb00b613500eb30cf13daa9 | 0bd157831b873c99258a3a9f73f0553f272a1104 | /DSA_codes_in_cpp/DSA_Interview_Batch/Stacks/next_greater_element.cpp | 135807be43da68e5451e4a2475b0c94644345b77 | [] | no_license | sayantikag98/Current_Data_Structures_and_Algorithms | f79bb9b915e1550d4ea1e77146a19adfb61b95a2 | f9b56959b7c9bd991b3348d6ab1adcdfb919b667 | refs/heads/master | 2023-07-17T13:52:30.298513 | 2021-08-19T05:17:29 | 2021-08-19T05:17:29 | 386,279,433 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 752 | cpp | #include<bits/stdc++.h>
using namespace std;
void nge_right(int* arr, int n){
int nge[n];
stack<int> s;
for(int i = n-1; i>=0; i--){
while((!s.empty()) and arr[i]>=s.top()){
s.pop();
}
if(s.empty()) nge[i] = -1;
else nge[i] = s.top();
s.push(arr[i]);
}
for(int i = 0; i<n; i++){
cout<<nge[i]<<" ";
... | [
"sayantikaghosh98@gmail.com"
] | sayantikaghosh98@gmail.com |
334b086aea0731b8a24a183310fa6412ceafe86b | bb6ebff7a7f6140903d37905c350954ff6599091 | /v8/src/handles.cc | f701d26f05fad265632ab2f203b15d4bfb597d52 | [
"BSD-3-Clause",
"bzip2-1.0.6"
] | permissive | PDi-Communication-Systems-Inc/lollipop_external_chromium_org | faa6602bd6bfd9b9b6277ce3cd16df0bd26e7f2f | ccadf4e63dd34be157281f53fe213d09a8c66d2c | refs/heads/master | 2022-12-23T18:07:04.568931 | 2016-04-11T16:03:36 | 2016-04-11T16:03:36 | 53,677,925 | 0 | 1 | BSD-3-Clause | 2022-12-09T23:46:46 | 2016-03-11T15:49:07 | C++ | UTF-8 | C++ | false | false | 3,975 | cc | // Copyright 2012 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "src/v8.h"
#include "src/handles.h"
namespace v8 {
namespace internal {
int HandleScope::NumberOfHandles(Isolate* isolate) {
HandleScopeI... | [
"mrobbeloth@pdiarm.com"
] | mrobbeloth@pdiarm.com |
1ca4f04fa19326df2e7cc20a55e12abaff5bab89 | 656b726d7da0ac851849742df924df8bea4b7520 | /TestProgSrc/AutoSetData/GridCtrl_src/GridDropTarget.cpp | a9df613b484ebc33a79264456dbd2711c221271e | [] | no_license | redparrot/CoreViewSrc | 50a8f904f151710c658bf244bb39486c12461b27 | a4fce951de0d6c50eaf0d4861f1cd8fa135db12b | refs/heads/master | 2021-01-17T03:33:07.073870 | 2015-06-27T03:35:31 | 2015-06-27T03:35:31 | 38,143,405 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,440 | cpp | // GridDropTarget.cpp : implementation file
//
// MFC Grid Control - Drag/Drop target implementation
//
// CGridDropTarget is an OLE drop target for CGridCtrl. All it does
// is handle the drag and drop windows messages and pass them
// directly onto the grid control.
//
// Written by Chris Maunder <cmaunder@mail.com>
... | [
"wanghao8888@outlook.com"
] | wanghao8888@outlook.com |
e96c3f09cd4020b0daec2fa84b0ee119f9094a04 | c52657c590ba8e3dcc3bf1d74295962fd24ceb09 | /RPackage/src/multiStateFlowReliability/isUndirectedGraphNEL.cpp | 2b5c48ad032de36381b1f3fd01884eaeeeff8716 | [] | no_license | rohan-shah/multiStateFlowReliability | ec5dfa546762129bae47467fc4a9851adcd49ddb | 7b7fafa83c8629bae7beaa20920763dc5447be8b | refs/heads/master | 2020-04-12T06:26:18.591334 | 2017-08-03T02:25:12 | 2017-08-03T02:25:12 | 39,879,338 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,395 | cpp | #include "convertGraph.h"
#include "context.h"
namespace multistateTurnip
{
bool isUndirectedGraphNEL(SEXP graph_sexp)
{
Rcpp::S4 graph_s4;
try
{
graph_s4 = Rcpp::as<Rcpp::S4>(graph_sexp);
}
catch(Rcpp::not_compatible&)
{
throw std::runtime_error("Input graph must be an S4 object");
}
if(Rcpp::a... | [
"github@bookshah.com"
] | github@bookshah.com |
e88b1cccf9933503aee9c7b08d06b2906da96560 | 1ad181b17ca0c69116859d347405d24a94b38f33 | /src/swapphase.cc | 2b713148339b6042763bf67112eeaf17ea1ac467 | [
"MIT"
] | permissive | williamslab/hapi2 | fd838c0efa6d54a605c10294ef813830a37d4e27 | cefe681a0f073368f3edbbbc6f2b74435f89bd0e | refs/heads/master | 2023-09-04T19:39:46.094389 | 2023-08-31T17:52:35 | 2023-08-31T17:52:35 | 82,085,606 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,692 | cc | #include <stdint.h>
// For calculating canonical State::ambigParPhase values; need to update these
// bits, which are phase swap types, according to a <flipType> value -- the
// first index to swap01Phase and swap2Phase below. The <flipType> takes on
// values 0,1,2,3 corresponding, respectively, to inverting neither ... | [
"alw289@cornell.edu"
] | alw289@cornell.edu |
d99153b70c27e21d54912325238fb6f89dfd0aed | 8243c7492b71755beb2057475bf3d9cd779afeb2 | /examples/glview/glview.cc | d6615ab128e7ed7dc4779bc15ad89d2c59d72fda | [
"MIT",
"LicenseRef-scancode-public-domain"
] | permissive | babooppa6/tinygltfloader | 53aaee7201c4cdb78757b6d3283874040cfb232f | 5442071f992bb501589e988c664e1b8f174ffba7 | refs/heads/master | 2023-07-19T07:59:14.197662 | 2016-10-24T16:48:44 | 2016-10-24T16:48:44 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 24,533 | cc | #include <vector>
#include <string>
#include <cstdio>
#include <cstdlib>
#include <iostream>
#include <limits>
#include <cassert>
#include <cmath>
#include <GL/glew.h>
#define GLFW_INCLUDE_GLU
#include <GLFW/glfw3.h>
#include "trackball.h"
#define TINYGLTF_LOADER_IMPLEMENTATION
#define STB_IMAGE_IMPLEMENTATION
#inc... | [
"syoyo@lighttransport.com"
] | syoyo@lighttransport.com |
3f54f16402153b26a98659128ba7d7ba013334fd | 3e4d037dfb6916ddc4c1978377d8fae241db0fdf | /src/ELSParameters.cc | 6e20fa90edb1ab96ce798db952c3aae4ed31d8bc | [] | no_license | mrelich/ELS_mrelich | 04a71397825108549ab63d4ad672416efb13359e | f9193a29c801f1d5e3586c5d8b249bcbbf780b7b | refs/heads/master | 2021-01-25T04:09:07.073999 | 2014-05-29T02:59:20 | 2014-05-29T02:59:20 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 116,354 | cc | //===================================================================
// ELS Parameter Class : ELSParameters.cc
// Author : T.Shibata
// Creation : 2009.11.30
// Last Update ; 2010.11.10
// Last Update ; 2011.01.24
// Last Update ; 2011.02.03
// Last Update ; 2011.03.23
// Last... | [
"mrelich6@gmail.com"
] | mrelich6@gmail.com |
617d0edb732ad3a9febb5916d060eca03277246d | 47de9c88b957dc66c46769f40103d5147b00b7c9 | /codeforces/122/A.cpp | 85be0d83686e9e3000168866034089df2177a4cc | [] | no_license | autul2017831021/Codeforces_Atcoder_Solved_Problems | 1027a606b3cb5be80e57fcfbcfa0327ebd47bd95 | b95e432718c9393f8a781fa56c2ed65f082274f5 | refs/heads/master | 2023-07-02T02:23:58.307782 | 2021-03-01T13:00:00 | 2021-07-31T15:40:28 | 329,067,317 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 708 | cpp | #include<stdio.h>
main()
{
int n;
scanf("%d",&n);
if(n%4==0)
printf("YES");
else if(n%7==0)
printf("YES");
else if(n%44==0)
printf("YES");
else if(n%47==0)
printf("YES");
else if(n%77==0)
printf("YES");
else if(n%74==0)
printf("YES");
e... | [
"alexiautul@gmail.com"
] | alexiautul@gmail.com |
d2e449abbed2f8709f522ebb2d5446f4d8954b3c | 640ce20729b8d7466525be49412af7f4bd6efc2c | /201_bitwise_and_num_range.cpp | 25c7245f38e8bd601c63c6121a8ddd9f2cdb93c0 | [] | no_license | howardplus/leetcode | 782cc614bec736b671479bee254b16b6d478ca84 | 0c041dbf899a3075e6499fd393d368b7b4879bb3 | refs/heads/master | 2021-01-02T08:48:55.943535 | 2020-01-22T07:30:10 | 2020-01-22T07:30:10 | 99,068,703 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,053 | cpp | /*
* https://leetcode.com/problems/bitwise-and-of-numbers-range/description/
*
* Given a range [m, n] where 0 <= m <= n <= 2147483647, return the bitwise AND
* of all numbers in this range, inclusive.
*
* For example, given the range [5, 7], you should return 4.
*/
#include <iostream>
using namespace std;
clas... | [
"howardplus@gmail.com"
] | howardplus@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.