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 986
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 3.89k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 23
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 145
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 122
values | content stringlengths 3 10.4M | authors listlengths 1 1 | author_id stringlengths 0 158 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
68b063c05b58401b587f3b637518effe6b5774c0 | 53a7e8efe42e6235a2314ead09e17e7f7d7beaec | /two_pointers/189_rotate_array.cpp | fe7dee387d21ac2843b5118fd69bbc8f806e7a3a | [] | no_license | YunfeiZHAO/leetcode | 3aa4805034b515af9d9313435efe0bc120f8749c | eaa4bfd5261a842f7252a3520f24b01ac1350cdd | refs/heads/master | 2023-05-12T07:23:55.699011 | 2023-05-01T17:55:10 | 2023-05-01T17:55:10 | 193,263,082 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 828 | cpp | #include <iostream>
#include <vector>
using namespace std;
/**
* Given an array, rotate the array to the right by k steps, where k is non-negative.
*/
// O(n) extra space
void rotate1(vector<int>& nums, int k) {
int l = nums.size();
vector<int> r(l);
for(int i=0; i<l; i++) {
r[(i+k) % l] = num... | [
"yunfei.zhao@ubisoft.com"
] | yunfei.zhao@ubisoft.com |
085f2389ed81bb124ac0516b2b98199928409207 | 15b322d609ed38de5392b67fc578fbbd22a4b7d0 | /TextArt/BADA/FUiIClipboard.h | dd083bac980c4adbec40a6484d2038cf912bde06 | [] | no_license | Vizantiec/Bada | 7725bb06cecb72267218220bec05a99879fc2087 | 51a3f544c8e0193dbf374d3a8042d867dbca9818 | refs/heads/master | 2016-09-11T02:18:26.326902 | 2013-12-23T10:22:35 | 2013-12-23T10:22:35 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,864 | h | //
// Copyright (c) 2011 Samsung Electronics Co., Ltd.
// All rights reserved.
// This software contains confidential and proprietary information
// of Samsung Electronics Co., Ltd.
// The user of this software agrees not to disclose, disseminate or copy such
// Confidential Information and shall use the software only... | [
"us@mobigear.ru"
] | us@mobigear.ru |
f35c5b719a2e002969b9a03edc738a60a8866059 | c049528f984f99ae783bcef9d26e57f63c337d77 | /Agents/MTConnectAgent1_3/MTConnectAgent/agent/agent.cpp | 973e8f8f1a403e9a064f0ce4b4cec90dead4c0b2 | [] | no_license | Maroooney/MTConnectToolbox | 9537f109ab265b2d690d56c4d8e833ee4c2edba7 | 15d9f830b14d7521277431dcd1c08b8af44a3c07 | refs/heads/master | 2020-03-30T10:47:54.670294 | 2018-06-07T16:30:06 | 2018-06-07T16:30:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 47,595 | cpp | /*
* Copyright Copyright 2012, System Insights, Inc.
*
* 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 requi... | [
"michalos@woodsy.el.nist.gov"
] | michalos@woodsy.el.nist.gov |
d87098fc80d2e15db5fda4bb7bfe50dea23792a5 | c26b3f1cb425ff5069b04c02b8e36b106bea4549 | /Tests/DiligentCoreAPITest/include/InlineShaders/TessellationTestHLSL.h | a94beb5c99655c67094be3798535873807921aa6 | [
"Apache-2.0"
] | permissive | englercj/DiligentCore | eea42b7cf34e1d8f0ec28bddfae3fe26765cf767 | 8151bc6df37372eb91011edede9ffbb258ebeab6 | refs/heads/master | 2023-08-01T11:30:56.298617 | 2020-05-22T23:19:39 | 2020-05-22T23:19:39 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,178 | h | /*
* Copyright 2019-2020 Diligent Graphics LLC
* Copyright 2015-2019 Egor Yusov
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENS... | [
"assiduous@diligentgraphics.com"
] | assiduous@diligentgraphics.com |
72c270d128db526f8fa806a0913a656343c3df61 | 7764b7dc4af929e13a05ba37d932005eb110010f | /Prac3.1/State.h | a029641aea503517f8dc46daa6c8666afa2c8902 | [] | no_license | Scott-Klein/DSA-Prac3 | 4092debecbd0f8737f9d86a9c230f80bddcaa498 | 9dd1d1cde57e3616df798acdd150339356c53906 | refs/heads/master | 2021-02-26T21:06:38.116002 | 2020-03-09T06:58:16 | 2020-03-09T06:58:16 | 245,553,377 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 89 | h | #pragma once
class State
{
private:
public:
int list[10];
int Size = 9;
State();
};
| [
"scotty.klei@gmail.com"
] | scotty.klei@gmail.com |
45746ab68f2d8a0650fffc5a9f6bfe82a1a8fb76 | 36655882886da9fa852d1db652a6163299c2ad36 | /SpaJam2016/Photon-SDK/Android/Demos/demo_memory/src/LoadBalancingListener.h | d333ffc2a48a77b55dbb4a8823d2abe81cc6386b | [] | no_license | HidehikoKondo/FlashMob | 37789da1345b9e719c7d39a916013f1beeb9cfa8 | b8b803153be9a7a5f0ad163c6d704ff7b17514c4 | refs/heads/master | 2023-02-15T14:23:31.039876 | 2017-11-03T08:06:53 | 2017-11-03T08:06:53 | 326,894,274 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,814 | h | #pragma once
#include "LoadBalancing-cpp/inc/Client.h"
#include "BaseView.h"
#include "OutputListener.h"
class Game;
// Also used as main controlling object
class LoadBalancingListener : public ExitGames::LoadBalancing::Listener
{
public:
LoadBalancingListener();
~LoadBalancingListener();
void in... | [
"takashi.ohsaka@gmail.com"
] | takashi.ohsaka@gmail.com |
230980d0549c3d12745037cfebeb42f73e5a0044 | 9bbb290eb606ee03fc43e1c1f84ac96b2eb1d030 | /main.cpp | 30424e60cdf4838519dee2d0d7f218cf4e22e38b | [] | no_license | lev-gevorgyan/type_traits | 6e2f0b0d546e846228b6b08036f2486d3c778215 | ba42f7ad719ed64164ae5a8e64986eb29e716718 | refs/heads/master | 2023-05-04T08:32:12.361015 | 2021-06-02T05:39:34 | 2021-06-02T05:39:34 | 373,052,176 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 179 | cpp | #include <iostream>
#include "is_void.hpp"
int main() {
std::cout << std::boolalpha << is_void<int>::value << std::endl << is_void<void>::value << std::endl;
return 0;
} | [
"lev.gevorgyan001@gmail.com"
] | lev.gevorgyan001@gmail.com |
affd830a78c7faa4383a6dd1254f908b0b7ab0c9 | e6eafb81baed9f58e6b54c6413b48a69a32219e7 | /ExamOOP2.h | ae1ffa65f354cf11b7aa0cce2ff0597d1b52d9d3 | [] | no_license | dianaelena12/Issue-Tracker | f682347e55f2c0b96da3f09602884c7044942902 | cc78ce3a9d1be991b00479ded2c7cc263e71cf64 | refs/heads/master | 2020-03-22T11:02:43.453047 | 2018-07-06T06:55:16 | 2018-07-06T06:55:16 | 139,942,758 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 206 | h | #pragma once
#include <QtWidgets/QMainWindow>
#include "ui_ExamOOP2.h"
class ExamOOP2 : public QMainWindow
{
Q_OBJECT
public:
ExamOOP2(QWidget *parent = Q_NULLPTR);
private:
Ui::ExamOOP2Class ui;
};
| [
"dianablueski@gmail.com"
] | dianablueski@gmail.com |
2af37546ce94c27e1729539c9126ed9b66fd09f5 | dadf8e6f3c1adef539a5ad409ce09726886182a7 | /airplay/src/toeBox2DBox.cpp | 3e2e15c2d1d888d2faf37db4c7933f2cc9c06654 | [] | no_license | sarthakpandit/toe | 63f59ea09f2c1454c1270d55b3b4534feedc7ae3 | 196aa1e71e9f22f2ecfded1c3da141e7a75b5c2b | refs/heads/master | 2021-01-10T04:04:45.575806 | 2011-06-09T12:56:05 | 2011-06-09T12:56:05 | 53,861,788 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,169 | cpp | #include <Box2D\Box2D.h>
#include <IwTextParserITX.h>
#include "toeBox2DBox.h"
#include "toeBox2DWorld.h"
using namespace TinyOpenEngine;
//Instantiate the default factory function for a named class
IW_CLASS_FACTORY(CtoeBox2DBox);
//This macro is required within some source file for every class derived from... | [
"gamemaster@101gr.com"
] | gamemaster@101gr.com |
12a4026fda71fc9ebc5c2c2c5d7e24ccfcff857c | a20c2be110d9a6828b16dbaa4b45d41458d654f6 | /source/FPointCommandLineOption.cpp | 662da7cede91d7123291e81c15a9b12c908a9f45 | [] | no_license | fstafforte/libcmdlineparser | 0ce76584f00252f192535b7f6d60a639c8f5192c | 07ca5696a4022119a08d1547023b4b9fa866a541 | refs/heads/master | 2021-01-10T11:07:30.523871 | 2017-09-08T09:43:31 | 2017-09-08T09:43:31 | 46,618,564 | 1 | 0 | null | 2017-09-08T09:43:33 | 2015-11-21T14:27:30 | C++ | UTF-8 | C++ | false | false | 1,967 | cpp | #include <FPointCommandLineOption.h>
#include <cstdlib>
/** @brief Floating point option constructor only a command line parser can call it
* @param shortForm a character used to identify an option in a short form\n
* i.g "-t"
* @param longForm a string used to identify an option in a long form\n
* ... | [
"f.stafforte@gamil.com"
] | f.stafforte@gamil.com |
fc8bb996af746c537c5d5f9c5e1f855f73e957cd | 913fe8925cc456e48667365526627e5ca6926759 | /1203.cpp | a1e999baa9a82239b9bffcffafc3ca33ae506e1a | [] | no_license | mddmdcvb2013/ACMTimus | e8ac1b1191d69a5bb3fa246262b45e7796467150 | a772a587feee615d1543aac54bc7909e9c048b68 | refs/heads/master | 2020-03-09T16:16:55.353347 | 2019-04-04T01:51:37 | 2019-04-04T01:51:37 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 457 | cpp | #include <iostream>
#include <algorithm>
using namespace std;
struct hui
{
int s, e;
}wuli[100010];
bool cmp(hui a, hui b)
{
return a.e<b.e;
}
int main()
{
int n, t;
scanf("%d", &n);
int i;
for (i = 0;i < n;i++)
{
scanf("%d%d", &wuli[i].s, &wuli[i].e);
}
sort(wuli, wuli+n, cmp);
int et = wuli[0].e;
... | [
"noreply@github.com"
] | mddmdcvb2013.noreply@github.com |
dae3898c294044bfecf119fdf31b9d50ca5bfe4c | e9b44f123d9ebe49552133d5a131ea098c5d7047 | /Source/Scenes/LitWaves/LitWavesFrameResource.cpp | 6b43c0560cbb8abb9c8e839f78b9893173b93d5f | [] | no_license | nameless323/DX12Samples | 676be81f83c2a5df99d1de4bc6d99fe8364f1bff | d9d97d2bf90270b962335388d4e5769c5db42705 | refs/heads/master | 2021-01-23T22:15:53.974720 | 2016-10-08T17:35:55 | 2016-10-08T17:35:55 | 58,257,224 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 744 | cpp | #include "LitWavesFrameResource.h"
namespace DX12Samples
{
LitWavesFrameResource::LitWavesFrameResource(ID3D12Device* device, UINT passCount, UINT objectCount, UINT materialCount, UINT waveVertCount)
{
ThrowIfFailed(device->CreateCommandAllocator(D3D12_COMMAND_LIST_TYPE_DIRECT, IID_PPV_ARGS(CmdListAlloc.GetAddress... | [
"nameless323@gmail.com"
] | nameless323@gmail.com |
f29b52e7dc3896aee4c26b3cf3bb76b2d46a5ca5 | 8681c91756b2941035db515b621e32480d35ec11 | /Editors/ECore/Editor/du_sphere_part.cpp | dc00e6f74f04181d327bbcdea56c3b09a2f7baf5 | [] | no_license | MaoZeDongXiJinping/xray-2212 | 1f3206c803c5fbc506114606424e2e834ffc51c0 | e143f01368c67b997f4be0dcdafb22f792bf485c | refs/heads/main | 2023-07-17T09:53:01.301852 | 2021-09-06T17:00:23 | 2021-09-06T17:00:23 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,928 | cpp | //---------------------------------------------------------------------------
#include "stdafx.h"
#pragma hdrstop
#include "du_sphere_part.h"
//---------------------------------------------------------------------------
#pragma warning(disable:4305)
Fvector du_sphere_part_vertices[DU_SPHERE_PART_NUMVERTEX]=
{
- .2886... | [
"47507219+ugozapad@users.noreply.github.com"
] | 47507219+ugozapad@users.noreply.github.com |
e08f34edad7df6b52c439ba93d57489a329430e9 | 9f520bcbde8a70e14d5870fd9a88c0989a8fcd61 | /pitzDaily/81/phi | 1b0a26543a81cf951361c3efa8736e6330d8ef16 | [] | no_license | asAmrita/adjoinShapOptimization | 6d47c89fb14d090941da706bd7c39004f515cfea | 079cbec87529be37f81cca3ea8b28c50b9ceb8c5 | refs/heads/master | 2020-08-06T21:32:45.429939 | 2019-10-06T09:58:20 | 2019-10-06T09:58:20 | 213,144,901 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 233,313 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v1806 |
... | [
"as998@snu.edu.in"
] | as998@snu.edu.in | |
99bef536169d19f7bc0e80cb701d5f68cbdfee69 | 776733107e8a3843776fa50375f3800aa2f13379 | /Lista de desafios/Questão 01/exercicio1.cpp | 449b08938883b20d3c4c5e9e8e74ccbf691974cc | [] | no_license | lucas54neves/gcc224-ialg | a0145d89481c4ac5dbd2c35231685b9d7240623f | c34e1a5f4dc27acb41a4637d3fc8b91c94167293 | refs/heads/master | 2020-03-17T19:51:23.041672 | 2018-05-18T00:06:18 | 2018-05-18T00:06:18 | 133,880,964 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 481 | cpp | #include <iostream>
using namespace std;
int main () {
int largura, altura, xMouse, yMouse;
float xConvertido, yConvertido, larguraCentro, alturaCentro;
cin >> largura;
cin >> altura;
cin >> xMouse;
cin >> yMouse;
larguraCentro = largura / 2.0;
alturaCentro = altura / 2.0;
xConvertido = (xMouse - larguraCe... | [
"34668346+lucas54neves@users.noreply.github.com"
] | 34668346+lucas54neves@users.noreply.github.com |
f5573e545bfca472b5cc62f625e7816dac93db9e | e39d84d42f480da7b58095f8e6dcf736d3c6ebbe | /projectOne/main.cpp | 72ed1253401e9ca751d259fc5ae8f7a546d1f766 | [] | no_license | BigMacStorm/imageProcessing | 5d82bdc3726ab36c27326dab1af15cba5cfa1f58 | 713d14297fce661c54de300ae2888dbe91d51d7f | refs/heads/master | 2020-05-18T15:37:16.408954 | 2015-12-09T21:00:10 | 2015-12-09T21:00:10 | 42,554,074 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 17,302 | cpp | #include <iostream>
#include <cstdlib>
#include "image.h"
#include <fstream>
#include "image.cpp"
#include <cstdlib>
#include <cstring>
#include <math.h>
#include <ctime>
#include <algorithm>
using namespace std;
//Reads the image into a 2d array
void readImage(string fname, ImageType& image);
//writes the image f... | [
"jberns407@gmail.com"
] | jberns407@gmail.com |
f1091ab926045df3416cb0a7d12358aada899529 | dd85ae4439f70b0f515aa9ce16f952b52d7d97e0 | /module07/ex01/iter.hpp | aa0afc192eaf9f59074039820019d620083af4f0 | [] | no_license | feechka-patrick/cpp-module | 1a4808958887dfed968bb17f28ed439330dbad74 | ca73218e3ce702a9c78211799152740021ec1f1f | refs/heads/master | 2023-08-29T18:02:05.452620 | 2021-11-12T18:15:05 | 2021-11-12T18:15:05 | 392,346,790 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 206 | hpp | #ifndef ITER_HPP
# define ITER_HPP
# include <iostream>
template<typename T>
void iter(T *array, size_t length, void (*f)(const T&))
{
for (size_t i = 0; i < length; i++)
f(array[i]);
}
#endif | [
"nmisfit@student.21-school.ru"
] | nmisfit@student.21-school.ru |
ba218d46e67bbc80dae9503ec5b52fdee34294bd | a6f4c8c91414d62fad5f8f7f53b1dee9c9d099ee | /R-Portable-Mac/library/BH/include/boost/asio/detail/handler_alloc_helpers.hpp | ee2e80c81d808814107e9931842ecc1b81cdecf9 | [
"GPL-2.0-only",
"LicenseRef-scancode-unknown-license-reference",
"CC0-1.0"
] | permissive | sdownin/sequencer | 6a2d70777fbd8109e26f126229b5ee10348cf4e7 | 045d0580e673cba6a3bd8ed1a12ff19494bf36fa | refs/heads/master | 2023-08-04T08:06:02.891739 | 2023-08-03T04:07:36 | 2023-08-03T04:07:36 | 221,256,941 | 2 | 1 | CC0-1.0 | 2023-02-04T15:06:14 | 2019-11-12T16:00:50 | C++ | UTF-8 | C++ | false | false | 5,985 | hpp | //
// detail/handler_alloc_helpers.hpp
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
//
// Copyright (c) 2003-2017 Christopher M. Kohlhoff (chris at kohlhoff dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
#if... | [
"pgordon@cbuscollaboratory.com"
] | pgordon@cbuscollaboratory.com |
992273eb7dc3f139de953700e16770b735f9d812 | 415984c24c97d4252d6241788024c20d5d6362b5 | /Arduino/encodertest/encodertest.ino | 186e5328a3482135ac17c7aa9cea837067dc5ab4 | [] | no_license | sbavlani/Rotary-encoder | 0d599c78a383c7bea359d8e97b28221302cea653 | 53ac6d61e40c1fdbf352d25dcbfc1418d299e68e | refs/heads/master | 2021-01-20T18:39:09.446799 | 2016-07-08T09:23:43 | 2016-07-08T09:23:43 | 62,876,628 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,090 | ino | int pinA = 3; //Connected to CLK pin
int pinB = 4; // Connected to DT pin
int encoderPosCount = 0; // Determine position of encoder. Encoder completes full rotation after 30 clicks
int pinALast;
int aVal;
boolean bCW;
void setup() {
pinMode (pinA,INPUT);
pinMode (pinB,INPUT);
pinALast = digita... | [
"noreply@github.com"
] | sbavlani.noreply@github.com |
496843ef3b4f5b0383954ccf13602d4b41dc0601 | 3ff1fe3888e34cd3576d91319bf0f08ca955940f | /tione/include/tencentcloud/tione/v20211111/model/MetricData.h | d58688132528c2d087916fd446e482cdcf49d97d | [
"Apache-2.0"
] | permissive | TencentCloud/tencentcloud-sdk-cpp | 9f5df8220eaaf72f7eaee07b2ede94f89313651f | 42a76b812b81d1b52ec6a217fafc8faa135e06ca | refs/heads/master | 2023-08-30T03:22:45.269556 | 2023-08-30T00:45:39 | 2023-08-30T00:45:39 | 188,991,963 | 55 | 37 | Apache-2.0 | 2023-08-17T03:13:20 | 2019-05-28T08:56:08 | C++ | UTF-8 | C++ | false | false | 10,686 | h | /*
* Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. 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
... | [
"tencentcloudapi@tencent.com"
] | tencentcloudapi@tencent.com |
a743f2c873f23396f6df473838f240e256b08783 | 65d3c23337b057c0187ce00430db0172dcda50bc | /Userland/Libraries/LibDebug/Dwarf/DIE.h | a1f4a278e8a46651ef363a9a8e99ace6a319d034 | [
"BSD-2-Clause"
] | permissive | Fly-Style/serenity | 7b6620b2bfb25b4fd4a542c5363c42155b53036c | 7400e3d8fc5ecd2be83830cab0c9bf560b7d2105 | refs/heads/master | 2023-04-08T21:37:59.264810 | 2021-04-20T17:47:23 | 2021-04-20T17:47:23 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,265 | h | /*
* Copyright (c) 2020, Itamar S. <itamar8910@gmail.com>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice, this
... | [
"kling@serenityos.org"
] | kling@serenityos.org |
3c8e038ffd259f82ce1aa731f9326d5bb2db11c8 | 9e6e8afb7c77068ca971c348d00979f9dee5272f | /huffman编码poj1521 Entropy.cpp | 6089d070ae380f0a30c2d189b7dfe75f0565fdd8 | [] | no_license | Jesse-Mcrae/Codes | 69d13d6a7d5ae96256b1d05a28bcdc28593df243 | 5cda22406a4b5f4fe27902f6be32f74483fb8c42 | refs/heads/master | 2020-06-30T22:11:14.626070 | 2019-10-28T11:11:41 | 2019-10-28T11:11:41 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 652 | cpp | #include<bits/stdc++.h>
using namespace std;
double ask;
int main()
{
string s;
double Huffman;
priority_queue<int,vector<int>,greater<int> > q;
while(getline(cin,s) && s!="END")
{
ask=s.size()*8;
int t=1;
sort(s.begin(),s.end());
for(int i=1;i<s.size();i++)
{
if(s[i]!=s[i-1])
{
... | [
"noreply@github.com"
] | Jesse-Mcrae.noreply@github.com |
72ea4f12a70d6517e942a4d356b1adc099b9c430 | 5bf10f2b54b03ba0f18c921691bf882c8ab1882c | /src/cc/qfsc/qfs.h | 39afe316f52f021541a559a3fedccb75f8470202 | [
"Apache-2.0"
] | permissive | subrata4096/qfs-repair | fa383430a6a8e386946b2bad4ae290e54462cf6d | dba4ef5b78ad4b1bd8ef6e8ff902471afbd704a2 | refs/heads/master | 2021-01-20T18:36:03.401370 | 2015-10-16T20:55:21 | 2015-10-16T20:55:21 | 40,488,701 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 17,550 | h | // QFS C API
//
// This file contains C compatible binds for the KfsClient C++ API. It
// attempts to provide a simple and idiomatic mapping into C function space,
// reducing allocations and copies where possible.
//
// At this time, these bindings are considered experimental and there is no
// guarantee that the ABI ... | [
"subrata4096@gmail.com"
] | subrata4096@gmail.com |
131e17ffc9aae4e5aa9dccf029858b3024861f0a | 179b22e8de93e4576afb7abe7105a186d37de5a4 | /OpenProjectCreator/ExtendedVPCParser.h | b8db7a8f720f1d260d4dc5b422f71a4211c38728 | [
"BSD-Source-Code"
] | permissive | ozxybox/OpenProjectCreator | 94775a172431ec6db1a7f883a4dbdb34694cc15d | 8432283ac8caea9fd3f973840d9cd5e8b5722ab0 | refs/heads/master | 2022-11-17T10:11:19.604675 | 2020-06-23T16:45:09 | 2020-06-23T16:45:09 | 266,699,251 | 1 | 1 | NOASSERTION | 2020-06-23T01:43:19 | 2020-05-25T06:17:23 | C++ | UTF-8 | C++ | false | false | 86 | h | #pragma once
#include "VPCParser.h"
class ExtendedVPCParser : public VPCParser
{
};
| [
"kieferstashu@gmail.com"
] | kieferstashu@gmail.com |
24354302197844a0020dda61327f4031c52d3df8 | 973238bc7fa2f929204fbd75ee54a5aa1a34781e | /De_1/src/BanDoc.h | fdd492cbc8f2fd00ce088510fa5e843b19ea5ea5 | [] | no_license | nguyenvanson9x/JAVA | 00aa60e1611a37f61be7a393f2254899367fb106 | 9b41608015cc23668f57b9cc450ad86cbcffd2b9 | refs/heads/master | 2021-01-20T00:20:26.286203 | 2017-05-31T14:23:52 | 2017-05-31T14:23:52 | 89,112,692 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 640 | h | /*
* BanDoc.h
*
* Created on: Mar 17, 2017
* Author: Nguyen Van Son
*/
#ifndef BANDOC_H_
#define BANDOC_H_
#include "Nguoi.h"
#include<iostream>
#include<string>
#include<fstream>
using namespace std;
class BanDoc: public Nguoi {
//friend class QLMS;
private:
int ma_the_doc, loai_ban_... | [
"asanfc9x@gmail.com"
] | asanfc9x@gmail.com |
6140f2de6e9a0dfe3cb719e195353a712dcd4659 | 6e54448e4e7dcefea9f484792774a21130840342 | /src/video_rxtx/sage.cpp | 3f6809df000f7f2b2177e776628b8c4aed2098dd | [
"BSD-3-Clause",
"OpenSSL"
] | permissive | mohnkhan/UltraGrid | 14249b2a92817ec67858173f16ce710e090aba5a | 43889a469171c2e569ee45e502ba6ff96a26b842 | refs/heads/master | 2020-05-01T03:55:59.083962 | 2019-03-05T17:17:12 | 2019-03-22T09:18:56 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,086 | cpp | /**
* @file video_rxtx/sage.cpp
* @author Martin Pulec <pulec@cesnet.cz>
*/
/*
* Copyright (c) 2013-2014 CESNET z.s.p.o.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, is permitted provided that the following conditions
* are met:
*
* 1. Re... | [
"pulec@cesnet.cz"
] | pulec@cesnet.cz |
8fc3f9b6cb27e7fbb074d1b9d7992cc39d0554fc | 2356d2a68be40016dd3490fc9eeefa4d257120f3 | /addons/ark_custom_units/config.cpp | 250a13394182bc039c55137201356f87493203cb | [] | no_license | kami-/ark_inhouse | 940d43fd16981958b321cee68c62a8f5954da959 | 6a7dfdf3c772e34579f4834571eee17855fc2ed7 | refs/heads/master | 2021-01-20T21:19:34.458078 | 2018-10-16T21:03:56 | 2018-10-16T21:03:56 | 60,200,301 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,360 | cpp | #include "script_component.hpp"
class CfgPatches {
class ADDON {
name = COMPONENT_NAME;
author = "ARK";
authors[] = {"ARK"};
url = "http://www.ark-group.org";
units[] = {};
weapons[] = {};
requiredVersion = REQUIRED_VERSION;
requiredAddons[] = {
... | [
"root.cyruz@gmail.com"
] | root.cyruz@gmail.com |
874e270db533ec3f1f27f6a97fbf7e9637a703c7 | c2efdc6047b98a3c89b2bee8c032222ac5fad7f8 | /Assignment 2/DataSequence.cpp | cf1bdf077adb47d94eccfacf1ae47cabb2574d90 | [] | no_license | DivyanshiRajput/CPP | 8da67f4946f4c3d2348356adcd69cc2e978080db | 71dc786911cca4514fc00317631a7b7dceabd090 | refs/heads/main | 2023-01-23T10:30:38.501653 | 2020-11-20T17:18:04 | 2020-11-20T17:18:04 | 306,387,962 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,444 | cpp | #include<iostream>
#include<cstdlib>
#include "DataSequence.h"
#include "Histogram.h"
using namespace std;
//constructor
DataSequence:: DataSequence(int size, float* values)
:size(size)
{
this->sequence = new float[size];
for(int i = 0; i < size; i++)
{
this->sequence[i] = v... | [
"noreply@github.com"
] | DivyanshiRajput.noreply@github.com |
1ecb819062c31cceebbe402dca4e3002fec36a79 | 753d47547e78da443cc964241e9b8c72556c8217 | /SYCL/DeprecatedFeatures/queue_old_interop.cpp | e6f0e234ec3cbe4d56bb1b8997dc93e57ff74102 | [
"LicenseRef-scancode-unknown-license-reference",
"NCSA",
"LLVM-exception",
"Apache-2.0"
] | permissive | intel/llvm-test-suite | d52de8f95b3f2500ed70cf3f3461cc346bea01a8 | 2e687fcd57149112d7b29e9e85bf74ce85f1119c | refs/heads/intel | 2023-05-28T08:59:07.287800 | 2023-03-27T23:53:19 | 2023-03-27T23:53:19 | 272,825,916 | 22 | 156 | NOASSERTION | 2023-09-08T11:41:32 | 2020-06-16T22:36:38 | Logos | UTF-8 | C++ | false | false | 3,804 | cpp | // RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple -D__SYCL_INTERNAL_API %s -o %t.out
// RUN: %BE_RUN_PLACEHOLDER %t.out
//
// hip_nvidia has problems constructing queues due to `No device of requested
// type available`.
// XFAIL: hip_nvidia
//==-------- queue_old_interop.cpp - SYCL queue OpenCL interop test --------... | [
"noreply@github.com"
] | intel.noreply@github.com |
544cb53a9643d803e8cb6dd702a9513b745e438e | 0203ad47f492276b802f504c59ba19c484509170 | /4_step_test/4_step_test.ino | 5e15b46853859944a7238e4b384033710eb0520c | [] | no_license | 0942792494/Luan_Van | 5a3353e42de47ca6b4b6b24a9314f4108043468c | fa0fec01ebd14c9ec38077856ac88239de2688a0 | refs/heads/main | 2023-02-08T10:51:57.176399 | 2020-12-31T15:25:40 | 2020-12-31T15:25:40 | 325,819,040 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,451 | ino | #include <SoftwareSerial.h>
#include <AccelStepper.h>
SoftwareSerial Bluetooth(A8, 38); // Arduino(RX, TX) - HC-05 Bluetooth (TX, RX)
// Define the stepper motors and the pins the will use
AccelStepper LeftBackWheel(1, 42, 43); // (Type:driver, STEP, DIR) - Stepper1
AccelStepper LeftFrontWheel(1, 40, 41); // Stepper... | [
"nguyenvanvinhcm1@gmail.com"
] | nguyenvanvinhcm1@gmail.com |
087570891946ef17133353b5e639196cfd71cab1 | 8cfc0ca50f8670ef47d3da6543262fb12b3d9ff8 | /bordercollieyoutoo-master/devel/include/costmap_2d/VoxelPluginConfig.h | e3a35db9d0d1a2a1784ae980cbdd2c9f05739b47 | [] | no_license | lololalayoho/BorderCollieYouToo | 10fddc70c243f8025d2f530f64f4473e58fed70a | 2a3e04a4e635d7b5c0bd569636e4f89f07c42e6e | refs/heads/master | 2022-06-21T06:21:08.177255 | 2020-05-08T03:55:08 | 2020-05-08T03:55:08 | 262,221,670 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 32,016 | h | //#line 2 "/opt/ros/kinetic/share/dynamic_reconfigure/cmake/../templates/ConfigType.h.template"
// *********************************************************
//
// File autogenerated for the costmap_2d package
// by the dynamic_reconfigure package.
// Please do not edit.
//
// *******************************************... | [
"3chlwlsdn@hanmail.net"
] | 3chlwlsdn@hanmail.net |
7020f5be0b44f69183e56e2a06d2dfd6346d2e70 | 1d7f8363324c092b0f04144515bf0e46a0a14940 | /2017/C语言课程设计/TeacherGarage_mfc/Elevator_dialog/LightBitmapButton.cpp | f346f0dadaaa35d6ed81c45216496703d008af6e | [] | no_license | jtrfid/C-Repositories | ddd7f6ca82c275d299b8ffaca0b44b76c945f33d | c285cb308d23a07e1503c20def32b571876409be | refs/heads/master | 2021-01-23T09:02:12.113799 | 2019-05-02T05:00:46 | 2019-05-02T05:00:46 | 38,694,237 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 3,538 | cpp | // LightBitmapButton.cpp : 实现文件
//
#include "stdafx.h"
#include "Elevator_dialog.h"
#include "LightBitmapButton.h"
// CLightBitmapButton
IMPLEMENT_DYNAMIC(CLightBitmapButton, CBitmapButton)
CLightBitmapButton::CLightBitmapButton()
{
m_LightOn = false;
}
CLightBitmapButton::~CLightBitmapButton()
{
}
BEGIN_MESSAGE... | [
"jtrfid@qq.com"
] | jtrfid@qq.com |
a555609c1b0efac02452eded79764f2ccf31098f | fb3c1e036f18193d6ffe59f443dad8323cb6e371 | /src/base/iphone/XSocket.cpp | d52a58a7c7fff73426af87ff5cc6b8d9278fe2c0 | [] | no_license | playbar/nstest | a61aed443af816fdc6e7beab65e935824dcd07b2 | d56141912bc2b0e22d1652aa7aff182e05142005 | refs/heads/master | 2021-06-03T21:56:17.779018 | 2016-08-01T03:17:39 | 2016-08-01T03:17:39 | 64,627,195 | 3 | 1 | null | null | null | null | GB18030 | C++ | false | false | 4,035 | cpp | // XSocket.cpp: implementation of the XSocket class.
//
//////////////////////////////////////////////////////////////////////
#include "StdAfxGGBase.h"
#ifdef __APPLE__
//#include <sys/socket.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <unistd.h>
#include <sys/select.h>
#include <netdb.h>
... | [
"hgl868@126.com"
] | hgl868@126.com |
e905266ff0da06326b000e63e4edb1de7884a7ae | 2d926da3a7e99582bcc09e9a61e70a0d7175e8f8 | /src/Magnum/GL/Test/TextureArrayGLTest.cpp | e7f558b828de98df3200857ed1125bd5aaa38d89 | [
"MIT"
] | permissive | black6816/magnum | 5879fdf569b19bd835c1db87d3d5ce2f211e6c9f | a49602987499379e4a2d155472961d99ddfc75ba | refs/heads/master | 2022-12-12T23:11:44.387207 | 2022-11-16T16:53:06 | 2022-11-19T14:26:39 | 155,795,059 | 0 | 0 | null | 2018-11-02T01:01:51 | 2018-11-02T01:01:51 | null | UTF-8 | C++ | false | false | 77,624 | cpp | /*
This file is part of Magnum.
Copyright © 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019,
2020, 2021, 2022 Vladimír Vondruš <mosra@centrum.cz>
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files ... | [
"mosra@centrum.cz"
] | mosra@centrum.cz |
05eb0db66f0e6b32b3a360a17b92197f3ab84a11 | 3623a34d18c65e3087d038b17b8f9a1231764647 | /ActionShooting/Draw2DObject.cpp | 5b013db5f082a0284db4b58d6ff148eb1dc71247 | [] | no_license | Taka03/DogFight | 3f47e6ef84ac87234f54904487f4617b80c7ffc8 | 76f5065a0b56d705ab0b546810261a80b31e2ce5 | refs/heads/master | 2021-03-12T20:06:23.790726 | 2013-05-07T13:31:34 | 2013-05-07T13:31:34 | null | 0 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 623 | cpp | #include "Draw2DObject.h"
//============================================================================
//コンストラクタ
//============================================================================
//[input]
// pName:ファイル名
//===========================================================================
CDraw2DObject::CDraw2D... | [
"luigemansion@yahoo.co.jp"
] | luigemansion@yahoo.co.jp |
ef18693eda0308014a4e1aa80c28c5c2d4b24baa | b3283c88e4ddb5f228f16448be6e9dee3d8cb272 | /ngy313/detail/opengl_texture.hpp | 7c212c688c60e454257c0f06f940e4b19ed4ec4e | [
"BSD-3-Clause",
"BSL-1.0"
] | permissive | nagoya313/ngy313 | ae386c84a4d3b5b68d5e172b32de9cd0fe90cf5c | 7c93a3edf69080559049d5e759a4db1be5e1e2fd | refs/heads/master | 2021-01-10T19:09:18.562953 | 2011-07-27T17:12:19 | 2011-07-27T17:12:19 | 1,025,796 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,902 | hpp | #ifndef NGY313_DETAIL_OPENGL_TEXTURE_HPP_
#define NGY313_DETAIL_OPENGL_TEXTURE_HPP_
#include <cassert>
#include <functional>
#include <memory>
#include <tuple>
#include <boost/bind.hpp>
#include <boost/noncopyable.hpp>
#include <boost/signals2/trackable.hpp>
#include <GL/gl.h>
namespace ngy313 { namespace... | [
"nagoya313@gmail.com"
] | nagoya313@gmail.com |
c0c2d3b65ac0c2ffdaed7e1bf88c8d490600c8a8 | 31574641b4b90bd5da95fc0595e91370c57ee32b | /src/util/statcollector.h | fe9973f4db15978c4d76f7d53aacfadb3b6a2aa3 | [] | no_license | jgera/trackingwsn | c2671e2610b6c16295ce2fe63adca50f539aec7d | 7c54b9a9cf0c34563cc40d1453d0e90fd53addf4 | refs/heads/master | 2021-01-15T09:33:35.118152 | 2014-02-14T09:32:36 | 2014-02-14T09:32:36 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,885 | h | //
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it wil... | [
"quannt24@gmail.com"
] | quannt24@gmail.com |
0a6e751fa55471e71d1160421ec6391e093d3091 | edc515702562a96aa31e3c353075b2f56f0bdd5d | /firstProject/Joint Project 1/enemySentry.cpp | ef693e44f191860bb7d526b887559f373dce22e4 | [] | no_license | AndrewHBashorum/Project-One | b40309fc441001b0e8d89f02b116673f47d39e37 | c8ec03659faf92e144be4a08b40d407365625367 | refs/heads/master | 2020-04-26T17:49:29.373583 | 2019-03-04T10:43:42 | 2019-03-04T10:43:42 | 173,725,272 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,161 | cpp |
#include "enemySentry.h"
#include "Globals.h"
#include "Player.h"
EnemySentry::EnemySentry() // default constructor
{
loadImageEnemy(); // load the image file for the sprite
speed = 2.8; // the average speed
direction = WEST;
}
void EnemySentry::restart() // resets enemy sentry
{
speed = 2.8; // the averag... | [
"c00238900@ITCARLOW.IE"
] | c00238900@ITCARLOW.IE |
1d6c34063a760ebef6e180b9a4309dc8113c810b | 1b30fe279bdb494e6099b8c2a9fa2e5f553514e6 | /VideoXpertSdk-ExampleRunner/Source/Drawings/DeleteDrawing.h | 1e1a0e7dbc471bfe9c78ef0cbeaaf0f55726d77d | [] | no_license | pelcointegrations/VideoXpertSdk-Examples | 1698009547b17b87ea7fcf965ea11c03946e4645 | ad6cde92feb91368290530ca04c8721eb6849de8 | refs/heads/master | 2022-01-19T07:18:41.753929 | 2022-01-12T20:00:47 | 2022-01-12T20:00:47 | 165,760,147 | 3 | 1 | null | 2021-04-21T19:45:15 | 2019-01-15T01:01:40 | C# | UTF-8 | C++ | false | false | 1,848 | h | #pragma once
#include "Plugin.h"
#include "VxSdk.h"
namespace ExampleRunner {
namespace Drawings {
/// <summary>
/// This plugin sample delete a selected drawing from the current system.
/// </summary>
class DeleteDrawing : public ExampleRunner::Common::Plugin {
public:
... | [
"Zach.Moore@schneider-electric.com"
] | Zach.Moore@schneider-electric.com |
925b8955ff07d92e9c28a22305134537dc6d4301 | cc40d6b758088e9ba56641e91c35e1ea85b64e07 | /third_party/spirv-tools/test/opt/dominator_tree/unreachable_for.cpp | d346d16de1d96b7e9641c1f9f8f7b0d1e9e478ce | [
"LicenseRef-scancode-unknown-license-reference",
"Apache-2.0",
"LicenseRef-scancode-generic-cla"
] | permissive | chinmaygarde/filament | 1091b664f1ba4cc9b63c31c73f63ec8b449acd22 | 030ba324e0db96dfd31c0c1e016ae44001d92b00 | refs/heads/master | 2020-03-26T00:25:48.310901 | 2018-08-13T22:26:23 | 2018-08-13T22:26:23 | 144,320,013 | 1 | 0 | Apache-2.0 | 2018-08-10T18:29:11 | 2018-08-10T18:29:11 | null | UTF-8 | C++ | false | false | 3,737 | cpp | // Copyright (c) 2017 Google Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to... | [
"romainguy@google.com"
] | romainguy@google.com |
95a4f4c59cedc4828ab28f595229cf4bdb8d7c91 | cc3198013ee01bcf0363393dc65ba70ef66f8e48 | /trunk/mamep/src/emu/bus/plus4/sid.h | 8a23dcb2b84cd3b74131ba0015e87ece453ffef7 | [] | no_license | svn2github/mameplus | 9188a20f6cec8223478288429a631c8d8f75dead | 2e7d741ede3bf495c04a399a77e9d36d088315d5 | refs/heads/master | 2020-12-24T15:14:08.317156 | 2015-01-10T14:10:50 | 2015-01-10T14:10:50 | 11,351,283 | 9 | 14 | null | null | null | null | UTF-8 | C++ | false | false | 1,887 | h | // license:BSD-3-Clause
// copyright-holders:Curt Coder
/**********************************************************************
Commodore Plus/4 SID cartridge emulation
Copyright MESS Team.
Visit http://mamedev.org for licensing and usage restrictions.
*******************************************... | [
"yuifan@e0215e0a-1e64-f442-9f1d-d2f61a7f4648"
] | yuifan@e0215e0a-1e64-f442-9f1d-d2f61a7f4648 |
1ce22903bb8f680ee40e825ee2b4baa930e158fd | ae80aedec98b74798d122de607f5bb04ffd7a426 | /NumConvPerf/Benchmarks/Num2StrString.cpp | 8b45ae0c00d944cf7e9aed7c5097d7570359ca6d | [
"MIT"
] | permissive | cristian-szabo/benchmark-numeric-conversion | 8554b612bb813ec98f0a8cf419bf715308fbc0e1 | 837c9a483b18523e2660a4102ba714c0ff1bf16e | refs/heads/master | 2022-09-11T01:15:03.468863 | 2020-05-25T18:59:28 | 2020-05-25T18:59:28 | 262,662,955 | 0 | 0 | MIT | 2020-06-01T21:19:39 | 2020-05-09T21:34:52 | C++ | UTF-8 | C++ | false | false | 1,750 | cpp | #include "Test.hpp"
#include "Fixtures/Num2StrStringFixture.hpp"
#include "Datasets/NumberDatasets.hpp"
#include "Datasets/IterationDatasets.hpp"
#include "Datasets/CartesianProductDataset.hpp"
TEST_SUITE_BEGIN(Performance)
TEST_SUITE_BEGIN(Num2Str)
TEST_SUITE_BEGIN(String)
REGISTER_FIXTURE_DATA_TEST_CASE... | [
"cristian.szabo@thingsonedge.co.uk"
] | cristian.szabo@thingsonedge.co.uk |
85a319ba2b6050edd9b5b00064069297d3065dda | ce6f5f7cb0e13c8e81d246f77963c0be9c04b878 | /C++/uva10306.cpp | 9ecec97bdadf429a517ce909346475702e011dd7 | [] | no_license | HankLyu/NCPC_pratice | 63d629665c2afa98e724a1a7cff8effcfd4fd2ad | 3ecfa0067a281fdaf7f81cb4ba88904b1f0a5fad | refs/heads/master | 2021-01-20T02:47:42.979283 | 2014-12-03T03:07:44 | 2014-12-03T03:07:44 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 761 | cpp | #include<iostream>
#include<cstdio>
#include<cstring>
#define INF 2e9
#define maxx 305
using namespace std;
struct node{
int x,y;
}p[45];
int main()
{
int test;
scanf("%d",&test);
while(test--){
int m,n;
int dp[maxx][maxx];
scanf("%d %d",&m,&n);
for(int i=0;i<m;i++){
scanf("%d %d",&p[i].x,&p[i].y);
... | [
"hanklgs9564@gmail.com"
] | hanklgs9564@gmail.com |
5a0b7af50ec9b5544a4fdea0f7341f350a8b9abf | 25fd637bec941415c67aabd5b9db96535237affd | /fiz_w3/common/input.cpp | 97f51c961c3effd6663117f2243deb948da5ce75 | [] | no_license | mtokarski/Fizyka | 40b01e5331b933d5fa8cba6f6f6acbfd42e137d5 | 3bf5842995828b237eb3258375d8412437a6e1ea | refs/heads/master | 2016-09-15T18:08:42.187262 | 2013-09-18T08:37:24 | 2013-09-18T08:37:24 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,645 | cpp | /** @file input.cpp
* @brief common input functions
*
* @author Bartlomiej Filipek
* @date April 2011
*/
#include "stdafx.h"
#include "input.h"
Camera::Camera()
{
m_isLeftPressed = false;
m_isMiddlePressed = false;
m_angleX = 0.0f;
m_angleY = 0.0f;
m_zoom = 0.0f;
m_deltaAngX = 0.0f;
m_deltaAngY = 0.0f;
... | [
"mp.tokarski@uj.edu.pl"
] | mp.tokarski@uj.edu.pl |
42be56cd23ba83f5e1fd695c85182aefc0bddbc8 | efe1e4dd102cc49a442f644a90fe1bd682a99747 | /project/BST.cpp | 6c455cafe89f5c114786c2e3e59cd25018bd1866 | [] | no_license | yanghaku/datastructure | d9acde31a6e8ec9981cdb8f2f6795a9632e67a62 | 729d33f779bedb44a639cd87412f77f250083c64 | refs/heads/master | 2020-04-09T18:55:03.452157 | 2018-12-13T15:20:17 | 2018-12-13T15:20:17 | 160,528,148 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,588 | cpp | #include"BinTree.cpp"
/**====================binary search tree ======================*/
template<typename K,typename V>struct Entry{// 词条模板类
K key; V value;//关键码,键值
Entry(K k=K(),V v=V()):key(k),value(v){};//构造函数
Entry(Entry<K,V>const& e):key(e.key),value(e.value){};//复制构造函数
//比较器
bool operator< (Entry<K,V>const... | [
"git@github.com"
] | git@github.com |
3d573774f422f616b2585ecf55128d3c5e8895ae | 61f661ee029c4aaf113350483ac9cd4d53f674dc | /NEUPlateR_server-master/Action/CarAction/update_car_action.cpp | 408a88a70dcb104d1710cea5bd51d0932239df11 | [] | no_license | jingma-git/NEUPlate | 17488cf06c4679b0502bf280c0817e25ec557c2d | 79bf7c001e3d395a82e131414d22954f70ff8029 | refs/heads/master | 2023-08-14T06:40:59.921182 | 2021-09-25T06:57:08 | 2021-09-25T06:57:08 | 409,620,951 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 446 | cpp | #include "update_car_action.h"
IMPLEMENT_ACTION(update_car, CUpdateCarAction)
void CUpdateCarAction::run()
{
try{
QJsonObject car_json=req->get_json("car");
CCar car(car_json);
int status_code=Car::update_car(car);
resp->put("car_id",car.car_id());
resp->set_status_code(st... | [
"11921154@zju.edu.cn"
] | 11921154@zju.edu.cn |
e8b1682462f76249377a22df2000dfbf91068b82 | ca75f207f584091440d2bae0f208d2066b81cc8e | /src/PrePost/Import/ImportFromCSV.h | b843d93108a6c29330d47d4389e4df75e91a4dbe | [
"MIT"
] | permissive | toporunner/PANSFEM2 | 73bdd35224f57d66de9d4bd827c79c51c614b664 | 5ca886a89ebac1df6449513149843d0721bce1b4 | refs/heads/master | 2023-05-28T14:52:24.570514 | 2021-01-20T11:47:10 | 2021-01-20T11:47:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,711 | h | //*****************************************************************************
//Title :PANSFEM2/PrePost/Import/ImportFromCSV.h
//Author :Tanabe Yuta
//Date :2019/10/01
//Copyright :(C)2019 TanabeYuta
//*****************************************************************************
#pragma once
#include <vector>
#in... | [
"yutatanabe510@gmail.com"
] | yutatanabe510@gmail.com |
d6a24aa583df60245b64b2f375e942560cfd0f9d | d05d19f0f30a2b52824164b9ebba74754d92c231 | /libraries/chain/db_market.cpp | 41d9bd399aba7cf1ddd0de4e1737a3f096416793 | [
"MIT"
] | permissive | moonstonedac/moonstone | 6c35975d166b99098b1d6ab2f1ed27e7f2b9b650 | 089b6ea165b652d62b795a47059907cf991d67a9 | refs/heads/master | 2020-06-10T18:36:35.821485 | 2017-01-27T16:56:55 | 2017-01-27T16:56:55 | 75,908,930 | 2 | 2 | null | 2017-01-27T16:56:56 | 2016-12-08T06:15:04 | C++ | UTF-8 | C++ | false | false | 23,357 | cpp | /*
* Copyright (c) 2015 Cryptonomex, Inc., and contributors.
*
* The MIT License
*
* 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... | [
"moonstonedac@gmail.com"
] | moonstonedac@gmail.com |
6d38b82a2d3722a15fe6cd6224b174d09972aea8 | c7bd5c7b4e7c54f9727879fb2e1c6646d3072333 | /ComparedClustering/C++Compare/kmeans/main.cpp | 983362183e9118a5079af62322ab4686c988c311 | [
"MIT"
] | permissive | mericy/ClusteringComparison | e93169dea90917136a71820f1eb4c808ed7a76f1 | 98b2d45e3e085e1c1565800cc6a9319b8a6082d9 | refs/heads/main | 2023-04-14T07:49:29.791221 | 2021-11-26T16:56:34 | 2021-11-26T16:56:34 | 431,849,087 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,380 | cpp | #include <chrono>
#include <fstream>
#include <iostream>
#include <string>
#include <vector>
using namespace std;
#include "KMeans.hpp"
int main(int argc, char **argv)
{
if (argc != 5)
{
cout << "Two parameters needed i.e; input_file output_file cluster_size max_iter" << endl;
return 0;
}... | [
"mericyucel@gmail.com"
] | mericyucel@gmail.com |
5c01478a3253ca9c246dbab2dba8c068539af4bc | 1ea6376da2a821ea7afeec84cf1a401044477d67 | /C++/GeneratePermutation.cpp | 5dc32cef64927fe312c7bdb37d3e2f050036fe5c | [] | no_license | lusifer65/algorithms | ac491f6f67a7922bf4d25080d67fda35d5099720 | 85075cbf05b7d99663107572f2e506bed5264e92 | refs/heads/master | 2022-12-10T10:07:02.557563 | 2021-10-25T19:49:14 | 2021-10-25T19:49:14 | 293,450,701 | 0 | 0 | null | 2020-09-07T07:14:16 | 2020-09-07T07:14:15 | null | UTF-8 | C++ | false | false | 918 | cpp | #include <bits/stdc++.h>
using namespace std;
void generate(int index, int n, vector<int>& v, vector<vector<int>>& res, vector<int> A) {
if(index == n ) {
res.push_back(v);
return;
}
for(int i = 0; i < n; i++) {
if(v[i] == -1) {
v[i] = A[index];
generate(ind... | [
"noreply@github.com"
] | lusifer65.noreply@github.com |
fa95bca030dd8b0938e0faed3fae93ba2a12c256 | e5d703474d37bead76fb749f260d10011b0aeba4 | /_Archiv/ToDoList/Shared/popupListboxctrl.cpp | 511d0664efe2c828cda2e63a0a3d626dc5e44658 | [] | no_license | jithuin/infogeezer | d87e68366c155d0da35f3ec8b845c1fc517287cf | 4b83e7e04429dd305954039ce0dae3ee0c1f4924 | refs/heads/master | 2021-01-10T09:10:06.215280 | 2014-11-16T23:13:22 | 2014-11-16T23:13:22 | 51,506,142 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,742 | cpp | //_ **********************************************************
//_
//_ Name: InputListCtrlListbox.cpp
//_ Purpose:
//_ Created: 15 September 1998
//_ Author: D.R.Godson
//_ Modified By:
//_
//_ Copyright (c) 1998 Brilliant Digital Entertainment Inc.
//_
//_ ********************************************... | [
"leonzrt@gmail.com"
] | leonzrt@gmail.com |
e5c4edf185c6b650609daddb86fb7848fafb5b49 | 78dc80b3cfbabfdedf2d2ebd0ed01d3eb83bb106 | /stone-util/print-ib-props.cc | fcead8d4b03313ae26aac3e124489205b50301bf | [
"Apache-2.0"
] | permissive | hooddanielc/stone | cc77d9d7c31380fa61889d3dfd78cccf9675b52e | e3bfd674e35a6e0c11a6985fb61cf63accb73a1a | refs/heads/master | 2021-01-01T16:21:47.897884 | 2018-10-22T06:42:38 | 2018-10-22T06:42:38 | 97,812,420 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 684 | cc | #include <iostream>
#include <sstream>
#define PASTE(name) PASTE_2(name)
#define PASTE_2(name) #name
inline std::string get_src_root() noexcept {
return PASTE(IB_SRC_ROOT);
}
inline std::string get_project_path(const std::string &relative) noexcept {
std::stringstream ss;
ss << get_src_root();
if (relative.a... | [
"hood.danielc@gmail.com"
] | hood.danielc@gmail.com |
4ca1f10de4f8d87001c12b63bfe0e8893741cf4a | 7a811197fcfb0904080b07dc02f0db09ca2aba7c | /Source/Engine/Graphics/GraphicsSwapchain/GraphicsSwapchain.h | def6dbca9b6613aa7700b359a99d5baf02f56a2e | [] | no_license | dbowler92/D3D11Engine | 3af8abdd883bdf3930ffbe227c3e45906d871d87 | 1391d6353932aed3380b23e9828203f4cb7cca85 | refs/heads/master | 2020-11-30T04:56:26.986818 | 2017-08-12T19:15:06 | 2017-08-12T19:15:06 | 96,707,671 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 496 | h | //GraphicsSwapchain.h
//Created 09/07/17
//Created By Daniel Bowler
//
//Interface to the swapchain + back buffer mechanisms.
#pragma once
#include <Config/EngineConfig.h> //Build settings
#ifdef ENGINE_CONFIG_GRAPHICS_API_D3D11
#include "D3D11/D3D11GraphicsSwapchain.h"
#endif
namespace EngineAPI
{
namespace Grap... | [
"dbowler1192@gmail.com"
] | dbowler1192@gmail.com |
f5b4fb878bec9f6b3428c1458bab3e750f70fa1a | 9dc52759708db93fa01041fcb6df30709eaf9046 | /check_connect_mysql/check_connect_mysql.cpp | 5806939c57323f6d36d6e22c9e092e6064c19e6c | [] | no_license | wangt1xiuyi/my_server_http_web | 266c855081c4c304c6652d1ed2f8918a3d35ddbd | 95d407891947d51a94a92bb09404bfbf13a29fd8 | refs/heads/master | 2020-03-17T22:51:56.083864 | 2018-05-31T13:30:03 | 2018-05-31T13:30:03 | 134,021,145 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,125 | cpp | //#include"/usr/include/mysql/mysql.h"
#include<mysql/mysql.h>
#include<iostream>
#include<string>
#include<string.h>
#include<cstdio>
#include"connection_pool.h"
#include<map>
using namespace std;
int main(int argc,char *argv[])
{
map<string,string> users;
if(argc!=3){
return 0;
}
connection_po... | [
"13547954130@163.com"
] | 13547954130@163.com |
b8527abcf6d9c2cd2383ec7045c585062950e15d | 930f56326abb890be3a865e8bcc23da049275366 | /src/aadcDemo/helper/AADC_ExtPythonServer/ExtPythonServer.h | 30d01ca9f5335a1cf03bd01dff92c0ca3775cb7c | [] | no_license | leongeim/AADC2017 | 02ebcfc4461780c1851815e8c6bbb0c9ed4fc51c | 98927f33cb5bcae025e4f85176b854ceb97fa9e8 | refs/heads/master | 2020-04-10T22:10:39.497542 | 2017-11-16T15:26:19 | 2017-11-16T15:26:19 | null | 0 | 0 | null | null | null | null | WINDOWS-1258 | C++ | false | false | 15,095 | h | /*****************************************************************************
Copyright (c)
Audi Autonomous Driving Cup. All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
1. Redistributions of sour... | [
"UniAutonom@aadc-2017.de"
] | UniAutonom@aadc-2017.de |
158d8a2b13848e0f97deaa8f4104e5f930214648 | fad354de10252cf074d5727232682440bdced572 | /project/include/system/ValuePointer.h | 6e571594ec0a5de0b307260b4bd6ab56f95c7057 | [
"LicenseRef-scancode-free-unknown",
"MIT",
"BSD-3-Clause",
"Apache-2.0",
"MPL-1.1",
"LGPL-2.0-only",
"LicenseRef-scancode-public-domain",
"GPL-3.0-only"
] | permissive | openfl/lime | 12bf58892e11df1b40e9cd8d75939b33bba29a27 | d4a04c80df33bbbd7e2fc54c5f6dc9d32b2ad83e | refs/heads/develop | 2023-09-01T17:21:02.054726 | 2023-08-19T16:39:16 | 2023-08-19T16:39:16 | 10,876,724 | 410 | 380 | MIT | 2023-08-19T16:39:18 | 2013-06-23T02:49:06 | JavaScript | UTF-8 | C++ | false | false | 805 | h | #ifndef LIME_SYSTEM_VALUE_POINTER_H
#define LIME_SYSTEM_VALUE_POINTER_H
#include <system/CFFI.h>
namespace lime {
class ValuePointer {
public:
ValuePointer (vobj* handle);
ValuePointer (vdynamic* handle);
ValuePointer (vclosure* handle);
ValuePointer (value handle);
~ValuePointer ();
void... | [
"jgranick@users.noreply.github.com"
] | jgranick@users.noreply.github.com |
c1ed6461ad24b7d9df92344fb2bd9b7e1fd41157 | df8f92a7459d1a28a6b32ceda553676465283954 | /renderer/WorleyNoise.h | 21e1ce0bd5eaf323ecc7b91e18437166f08b9226 | [] | no_license | dustars/dustar | 806a17167fc64d3a4045d5694bc72a6996d1aabf | cd76ccdf0019814e862bcf84fab3b56e34029041 | refs/heads/master | 2023-05-12T07:13:22.819370 | 2021-04-21T14:32:08 | 2021-04-21T14:32:08 | 240,114,239 | 1 | 0 | null | 2020-12-18T11:16:25 | 2020-02-12T21:00:27 | C++ | UTF-8 | C++ | false | false | 780 | h | /*
Description:
Worley noise class.
Created:
6/27/2020
Last Updated:
7/25/2020
To Do:
>Compute Shader. (Optional)
>Optimization.
See http://webstaff.itn.liu.se/~stegu/GLSL-cellular/GLSL-cellular-notes.pdf for
possible optimizations. (2x2x2 search region is not applicable to my program)
*/
#pragma once
#i... | [
"auty789@hotmail.com"
] | auty789@hotmail.com |
b15a276684d1e47fe8736c63fa8c6df27673944f | 2a6d385c7737aea3c6b49eef9252babb7557b909 | /SHNtupliser/interface/GenFuncs.h | 61e9c20b243857f861e1b37c7a233ed0481de15d | [] | no_license | Sam-Harper/usercode | 1b302a4b647e479d27a9501f9576bd04b07e111a | fa43427fac80d773978ea67b78be58d264f39ec8 | refs/heads/120XNtup | 2022-08-26T12:59:53.388853 | 2022-07-12T16:52:46 | 2022-07-12T16:52:46 | 15,675,175 | 1 | 11 | null | 2022-07-21T13:27:57 | 2014-01-06T13:54:22 | Python | UTF-8 | C++ | false | false | 1,161 | h | #ifndef SHARPER_SHNTUPLISER_GENFUNCS_H
#define SHARPER_SHNTUPLISER_GENFUNCS_H
#include "DataFormats/HepMCCandidate/interface/GenParticle.h"
class SHMCParticle;
class SHGenInfo;
namespace heep{
class Event;
}
class GenFuncs {
private:
static constexpr int kNrPartThresToStoreAll=10; //if the number of gen part... | [
"sam.j.harper@gmail.com"
] | sam.j.harper@gmail.com |
697f84a744e2e2d19bb3550062f11427b0e47579 | b34668278d825d49092a4db176e7a0f17b4d8e41 | /include/lattice_symmetries/lattice_symmetries.h | 20391a5c53a087e7dcf838b4ece470f496517c32 | [
"BSD-3-Clause",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | skphy/lattice-symmetries | adf6a2d8ddd57a9cd5b097a49d13574ff205a6ca | b6793fa9eeae6b9cbaa3844beec14ffe5ccfad45 | refs/heads/master | 2023-08-24T16:27:54.157131 | 2021-10-25T18:05:56 | 2021-10-25T18:05:56 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 17,301 | h | // Copyright (c) 2019-2020, Tom Westerhout
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// * Redistributions of source code must retain the above copyright notice, this
// list of cond... | [
"14264576+twesterhout@users.noreply.github.com"
] | 14264576+twesterhout@users.noreply.github.com |
1bb1f4dc29929dc9312e3d4f53f3aebe80a09687 | 9471b2743486250464fe6a7e962f663033fdb265 | /POJ/3600/3411616_AC_125MS_380K.cc | 13d1fc7cababe212fd21b66c8641474a76a3c2fb | [] | no_license | liruqi/topcoder | 25d1ce9fdb836c94d8229f11dc74e3e3a9819e53 | 17df44464c91db51a1a24a9658c41ccb1501870b | refs/heads/master | 2023-01-23T00:13:11.810623 | 2023-01-13T01:28:12 | 2023-01-13T01:28:12 | 6,572,063 | 6 | 6 | null | 2014-11-16T09:17:56 | 2012-11-07T00:31:47 | C++ | UTF-8 | C++ | false | false | 880 | cc | #include<algorithm>
#include<iostream>
#include<list>
using namespace std;
int rowA,rowB,colA,colB,r,c;
char ia[21][21],ib[21][21],it[21][21];
int equal(int lt){
int rr;
for(rr=0;rr<rowA;rr++)
if(ia[rr][c]!=it[rr][lt])
return 0;
return 1;
}
//compare col
int compare(){
int last=0;
for(c=... | [
"liruqi@conew.com"
] | liruqi@conew.com |
c3da492bc72eb88af7e58d017f7b3fb3c6bcf11d | 1a237e96a8ebac59ee86ff992c0b5a29c42bb2e4 | /main.cpp | b7da108128a6844ddbef0a5160ce752b44f5f2b7 | [] | no_license | lkwangpy/WaterColumnViewer | 905d241bc37578fb469b860633ea7f26edafcc35 | 4bcddf83373f2cca577e1ee2bcb3aa11a80b82d5 | refs/heads/master | 2021-01-18T07:34:42.072688 | 2015-02-25T12:27:44 | 2015-02-25T12:27:44 | 43,421,018 | 1 | 0 | null | 2015-09-30T08:24:24 | 2015-09-30T08:24:24 | null | UTF-8 | C++ | false | false | 1,836 | cpp | #include "mainwindow.h"
#include <QApplication>
#include <QDir>
#include <QFileInfo>
#include <QFileInfoList>
#include <omp.h>
int main(int argc, char *argv[])
{
QApplication a(argc, argv);
switch (argc) {
case 1:
{
MainWindow w;
w.show();
return a.exec();
break;
}
... | [
"juny.yan@foxmail.com"
] | juny.yan@foxmail.com |
868c5b975dd117bdb081d2bc603c6a2d4dc2baf0 | afef3b48d3fb8a69b2eb5cb8d6459c409e1defd0 | /sparta/test/Parameter/Param_test.cpp | 3cedeebe4e23aeac273fc145256cbdd47c5f4c6d | [
"MIT"
] | permissive | criusx/map | a2bf62ad2e67cdf23d2eeb1151315b342ef132e3 | 7a934d1721ac1257503f7f324b54eb898750ab0d | refs/heads/master | 2020-12-04T06:08:25.537385 | 2019-12-30T15:22:35 | 2019-12-30T15:22:35 | 231,648,145 | 0 | 0 | MIT | 2020-01-03T19:03:22 | 2020-01-03T19:03:21 | null | UTF-8 | C++ | false | false | 59,817 | cpp | #include <iostream>
#include <memory>
#include <cstring>
#include "Device.hpp"
#include "sparta/sparta.hpp"
#include "sparta/simulation/Parameter.hpp"
#include "sparta/utils/SpartaAssert.hpp"
#include "sparta/utils/SpartaTester.hpp"
#include "sparta/utils/Printing.hpp"
#include "sparta/simulation/TreeNode.hpp"
#incl... | [
"klingaard@gmail.com"
] | klingaard@gmail.com |
374087bccfec748771848fc7c3c4b04de67c6e56 | ea867ba4cdf3a5fcd867d7ddcd26619a46e82bf5 | /dllist.h | 2230d630b48d02799d39abe44c21014a7ded6ffb | [] | no_license | hazman117/pa-2 | 7ee5895ecda55c0e05fa5c39cf73b214d52966c8 | 0bbd68665df756c4c1520a86d576bc4ee2920778 | refs/heads/master | 2021-01-10T11:36:48.728033 | 2015-10-30T20:21:59 | 2015-10-30T20:21:59 | 45,274,422 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,155 | h | #ifndef __Dllist_h__
#define __Dllist_h__
#include <cstdint>
// this class represents each memory block ... it can be used for representing a
// node in a doubly linked list.
// You wiil have to give 'friend' access to the class that implements the doubly
// linked list, so the pointers can be accessed (adjusted) fro... | [
"bhazard17@gmail.com"
] | bhazard17@gmail.com |
eb12a3e4e73fbab76ff50e729decdfa731bb3152 | 1cb38256ac644d1673ba56d85b04bc2c65a4f160 | /src/components/NodeVisuals.cpp | f5230b265a50b91b265539927ad6304d94ab69d6 | [
"MIT"
] | permissive | Zmorra/REGoth-bs | 4973006af85e52a9650eb7f29847c2b00d889c7a | 8f785ce6ffcd969bee93685236e7cac0e23fafcb | refs/heads/master | 2020-05-16T18:32:00.672185 | 2019-04-24T08:38:15 | 2019-04-24T08:38:15 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,517 | cpp | #include "NodeVisuals.hpp"
#include <Components/BsCRenderable.h>
#include <Animation/BsSkeleton.h>
#include <Components/BsCBone.h>
#include <Components/BsCRenderable.h>
#include <Mesh/BsMesh.h>
#include <Scene/BsSceneObject.h>
#include <components/Visual.hpp>
#include <components/VisualStaticMesh.hpp>
namespace REGoth... | [
"a.taulien@live.de"
] | a.taulien@live.de |
c1d4800150da765aa4469e735a428f229e8e4a9a | 5ba0d7904565645e37c3c6307dbbda6b7d7cdcda | /proj/IntersectionTest.h | 5bcaf8aa30573258d4e59e56351463a9aa378b9c | [] | no_license | JuncongLin/SketchFusion | 7b867ddb1f9e79e0441eca7daa461f9867ac89e9 | beab0d096a95502a610c5ae94f5c40904c7e47b2 | refs/heads/master | 2020-05-13T14:17:55.003127 | 2019-04-16T06:54:20 | 2019-04-16T06:54:20 | 181,631,004 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 487 | h | #pragma once
#include "Box3.h"
#include "..\OpenGLBasic\Arcball\Vector3d.h"
#include "Triangle3.h"
#include "Point3.h"
#include "Plane.h"
class CIntersectionTest
{
public:
CIntersectionTest(void);
~CIntersectionTest(void);
static bool Box_LineSegment(CBox3 box, const CPoint3& ls,const CPoint3& le,CVector3d org,doubl... | [
"jclin@xmu.edu.cn"
] | jclin@xmu.edu.cn |
4dd988560f3032452f25aacf44e79659d29b8953 | 17575d8276d36cf5b32d0b6645fb5dd1b5c0962a | /array-python-cpp/convu.cpp | 545d90849e153c49119b0fe245f3223e3e833c1c | [] | no_license | upul/WhiteBoard | 2f720acc1b1c1e0002f8e0d7842c23707c58debe | e81feb8172add6b893fb4496a590c43f863a0346 | refs/heads/master | 2022-09-26T21:07:25.271461 | 2021-05-13T13:31:27 | 2021-05-13T13:31:27 | 47,049,709 | 8 | 20 | null | 2022-09-23T22:34:42 | 2015-11-29T04:20:21 | Jupyter Notebook | UTF-8 | C++ | false | true | 154,418 | cpp | /* Generated by Cython 0.26.1 */
/* BEGIN: Cython Metadata
{
"distutils": {
"depends": [
"convutils.h"
],
"extra_compile_args": [
"-std=c++11",
"-O3"
],
"language": "c++",
"name": "convu",
"sources": [
"convu.py... | [
"upulbandara@gmail.com"
] | upulbandara@gmail.com |
671d5fd7ebd7a0aab5626382d0c3a7c06aa63b4c | e89487c0792142a61cada0711dde8e1fcc921f28 | /C++/project08.cpp | d7925c0b1b28902244596fa6c77d06734fe3b844 | [] | no_license | jrs023/ProjectEuler | ae814a72d907222b8bb48131b77d463ba74953b6 | b3bba5ec3f96a0128f897dc3fa437e5c44f5390a | refs/heads/master | 2021-01-10T09:23:12.471309 | 2016-11-13T02:53:13 | 2016-11-13T02:53:13 | 44,712,206 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,372 | cpp | //ProjectEuler Number 8
//by Josh Smith
#include <iostream>
#include <string>
using namespace std;
int main() {
string s = "7316717653133062491922511967442657474235534919493496983520312774506326239578318016984801869478851843858615607891129494954595017379583319528532088055111254069874715852386305071569329096329522744... | [
"jrs023@uark.edu"
] | jrs023@uark.edu |
dd01a72c1c2381a1a23efe9871733d0af2fcae5f | 28a3903ace2bee9d64428af0b2cea63ec1e7af11 | /src/Core/IImage.cpp | 41a17320d8ddcc15e209dfa20c0213dd2788185f | [] | no_license | thennequin/InitialProject | e90a551c8b38e9c458eabb8c9b1c9d3a5395e9a0 | 89ab9de41a1191da38ea002f7233f8de0a9cb0af | refs/heads/master | 2021-01-10T02:29:10.419919 | 2018-04-21T13:30:20 | 2018-04-21T13:30:20 | 43,328,862 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,011 | cpp | //---------------------------------------------
// Initial Engine
// Image loader Module
//
// By Thibault HENNEQUIN
// January 12th 2008
//---------------------------------------------
#define _IIMAGE_COMPILE_
#include <windows.h>
#include <libgfl.h>
... | [
"cameleonth@9ba7cb8f-89f9-4171-b643-8b30d4d3aa91"
] | cameleonth@9ba7cb8f-89f9-4171-b643-8b30d4d3aa91 |
07f070f4b431cdb848cefcb6fc9b6d672f795368 | f4ac515f7d98202ca2a05c2036373eeef8e78916 | /src/field_advance/standard/pipeline/compute_curl_b_pipeline_v16.cc | 0da2042d9d247e12cacfc39560ee02c018247bdf | [
"BSD-3-Clause"
] | permissive | lanl/vpic | b5b52de384292985f4d9f98147ccc63108018799 | 5d1aa3cceac48c5ff36e131cd26c89a85b118d75 | refs/heads/master | 2023-04-11T22:08:48.789627 | 2023-02-16T15:55:15 | 2023-02-16T15:55:15 | 51,323,352 | 136 | 76 | NOASSERTION | 2023-02-16T15:55:17 | 2016-02-08T20:04:21 | C++ | UTF-8 | C++ | false | false | 8,775 | cc | #define IN_sfa
#define IN_compute_curl_b_pipeline
#include "compute_curl_b_pipeline.h"
#include "../sfa_private.h"
#if defined(V16_ACCELERATION)
using namespace v16;
void
compute_curl_b_pipeline_v16( pipeline_args_t * args,
int pipeline_rank,
int n_pipeline... | [
"noreply@github.com"
] | lanl.noreply@github.com |
f38ceb793d14ae0db2517c1d409cda0acfb893bb | dc804a6bff10318cea0546c2f1e2011d9a7a4679 | /Code/BP_framework/main.cpp | a536674c58c380632fe6cc3e5d51eeca2afbd39e | [] | no_license | PetrBarborka/BPrace | eb31df0ab32f79f27e18c460157c89925de3604d | 124cb72a695ec08c58417c1dd2c4e23629f29361 | refs/heads/master | 2021-01-18T21:42:36.496517 | 2016-05-12T21:51:55 | 2016-05-12T21:51:55 | 53,330,925 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,407 | cpp | //#include <QCoreApplication>
#include "opencv2/imgproc.hpp"
#include "opencv2/features2d.hpp"
#include "opencv2/xfeatures2d.hpp"
#include "opencv2/highgui.hpp"
#include <iostream>
#include <fstream>
//#include <streambuf>
//#include <string>
#include <regex>
#include "utility.hpp"
#include "detection.hpp"
#include ... | [
"grim.ramone@gmail.com"
] | grim.ramone@gmail.com |
fa158ff961ac4559ccc40b58d442b1b7b6629a22 | 8536c27cbb8265d1fbc1ddd45e2081fd01abdfa7 | /MPI/lab2.cpp | a906774a99b34f413a29a1673c16bf491b61a6b7 | [] | no_license | tsimafeip/master-course | 03e6dd8e87ceebd4a67c636459579b796a03df97 | 3035792666fe167b2052e1d482768df2241e1d67 | refs/heads/master | 2021-07-20T06:55:25.152586 | 2021-01-03T19:28:40 | 2021-01-03T19:28:59 | 230,803,994 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,401 | cpp | //#include <mpi.h>
//#include <iostream>
//#include <string>
//#include <cmath>
//
//const int MSG_SEND_DOUBLE = 33;
//
//double f(double x) {
// return cos(x);
//}
//
//void send_idx(int idx, int dest) {
// MPI_Send(&idx, 1, MPI_INT, dest, MSG_SEND_DOUBLE, MPI_COMM_WORLD);
//}
//
//int main(int argc, char** argv) {
//... | [
"noreply@github.com"
] | tsimafeip.noreply@github.com |
d6399e55567dd4273549866cde7f3f0e1667238f | 3438e8c139a5833836a91140af412311aebf9e86 | /chrome/browser/chrome_device_client.h | a4ed096d07bfbcf1670d166c5001e7e300b7c9c4 | [
"BSD-3-Clause"
] | permissive | Exstream-OpenSource/Chromium | 345b4336b2fbc1d5609ac5a67dbf361812b84f54 | 718ca933938a85c6d5548c5fad97ea7ca1128751 | refs/heads/master | 2022-12-21T20:07:40.786370 | 2016-10-18T04:53:43 | 2016-10-18T04:53:43 | 71,210,435 | 0 | 2 | BSD-3-Clause | 2022-12-18T12:14:22 | 2016-10-18T04:58:13 | null | UTF-8 | C++ | false | false | 992 | h | // Copyright 2014 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_CHROME_DEVICE_CLIENT_H_
#define CHROME_BROWSER_CHROME_DEVICE_CLIENT_H_
#include "device/base/device_client.h"
#include <memory>
... | [
"support@opentext.com"
] | support@opentext.com |
c8202bd61e29f2628f585ea0ac7e5936c747b2df | 0dafa49f8b54e61ff635846ae9c3bcb327e17f06 | /Aufgabe3_b/main.cpp | 438d99cbec25013696ffd5cc196411ebf792abb4 | [] | no_license | Xellon92/Aufgabe3_b | c3e032a93365070a2675679b4a9fac12439fe905 | 7670a5fd9dcf67266086989c59d1df334dad9883 | refs/heads/master | 2020-09-08T07:59:04.663772 | 2019-11-12T18:57:24 | 2019-11-12T18:57:24 | 221,070,793 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 185 | cpp | #include "mainwindow.h"
#include <QApplication>
int main(int argc, char *argv[])
{
QApplication a(argc, argv);
MainWindow w;
w.show();
return a.exec();
}
| [
"noreply@github.com"
] | Xellon92.noreply@github.com |
0c0c5320df3feec243980c16ad8a4dc7f6e25904 | 3c1679c8077bc4d2d9ee4cb4a197e2c108da4188 | /src/DirectoryCopier.h | d4b14222e7eef01f827df2871a3686eb0a0837af | [] | no_license | Teemperor/min-c | 1548d365e889fd338100ad25df8d62d6b49b1362 | 33f08705589edbfc5306b39dd4e2eca08487bc0a | refs/heads/master | 2020-04-06T06:22:42.406454 | 2017-02-28T13:48:53 | 2017-02-28T13:48:53 | 82,918,680 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,155 | h | #ifndef DIRECTORYCOPIER_H
#define DIRECTORYCOPIER_H
#include <string>
#include <vector>
#include <sys/stat.h>
#include <sys/types.h>
#include <random>
#include <unordered_map>
class DirectoryCopier {
public:
struct File {
std::string dirPath;
// full relative file path. Same as dirPath for directori... | [
"teemperor@gmail.com"
] | teemperor@gmail.com |
296191bdfa251970d8d7437f489e46b6b7ac1026 | e71807c58b97bc7c7ee286b5eb6c42421c0c0c22 | /ZKeyboardMouseHook.cpp | 0766db0857408475f1f184389475424cfc845424 | [] | no_license | henriquegnandt/Gunz1.5 | b42e086e3fe77084023c8aa6c2d037466d49c7ba | 36678e8c367e1a2ce8af6eed4fd54b3d76e67709 | refs/heads/master | 2022-04-13T13:20:24.702946 | 2020-03-27T00:47:37 | 2020-03-27T00:47:37 | 250,406,234 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,091 | cpp | #include "stdafx.h"
#include "OISInputManager.h"
#include "OISException.h"
#include "OISMouse.h"
#include "OISEvents.h"
#include "OISForceFeedback.h"
#include <iostream>
#include <vector>
#include <sstream>
#include "resource.h"
using namespace OIS;
#include "ZKeyboardMouseHook.h"
ZKeyboardMouseHook* ZKeyboardMouseHoo... | [
"henrique.gnandt@trustt.com.br"
] | henrique.gnandt@trustt.com.br |
1aa83cece433599bf1ff9e6ebc7c76962e3eee6a | 39f3baeb1824e9f93773038856c469778e23180c | /inc/vnLog.h | b7275a417ae0a644f3ebda506e785e7324aa00d2 | [] | no_license | signorinotang/vn2d | 965d247f0db1348eed0977628bcb4326bcd5a4e2 | d653e2b787532f428d227a8613aa961d1e97c89f | refs/heads/master | 2020-03-28T19:11:14.709615 | 2014-07-03T02:30:20 | 2014-07-03T02:30:20 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,217 | h | //
// vnLog.h
// vnbase
//
// Created by Wayne on 13-12-20.
// Copyright (c) 2013 viichi.com. All rights reserved.
//
#ifndef vnbase_vnLog_h
#define vnbase_vnLog_h
#include "vnSingleton.h"
#include "vnRefCounted.h"
#include "vnFastMutex.h"
#include <vector>
#include <sstream>
#define VN_LOG_DEBUG(x) \
{\
_vn_ns:... | [
"tanghailong@longsgoo.com"
] | tanghailong@longsgoo.com |
b7628e089ebd71d5c8b772fb1a88c95cb5224e0c | 7416235b0d156e9778766844141eec453ba5803e | /CPUDrivenGPUTest2/Software_d3d9_Driver/Software_d3d9_Driver/IDirect3DStateBlock9Hook.h | eb450cadd0e4de6478e84cc9a6fe483240fb1c17 | [
"Zlib"
] | permissive | code-tom-code/FPGAGPUTesting | 1dd575767226503c014e71337b43990a69870188 | 1ae15035637c1bdabc73fefd66e0046793666447 | refs/heads/master | 2023-08-04T12:02:43.399872 | 2023-08-03T04:29:29 | 2023-08-03T04:29:29 | 222,173,769 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 19,703 | h | #pragma once
#include "IDirect3DDevice9Hook.h"
enum StateBlockSetCallType : unsigned char
{
SBT_SetFVF = 0,
SBT_SetIndices,
SBT_SetMaterial,
SBT_SetNPatchMode,
SBT_SetPixelShader,
SBT_SetScissorRect,
SBT_SetViewport,
SBT_SetVertexDeclaration,
SBT_SetVertexShader,
SBT_SetCurrentTexturePalette,... | [
"48116778+code-tom-code@users.noreply.github.com"
] | 48116778+code-tom-code@users.noreply.github.com |
dc1a8454824357da47d734f4ea0d2b10b1f25a6f | e1ff993c7adad6c89a85d470bc904e7d852601d4 | /Operations/ArrayDeclaration.h | e8728c398b6937484a7aa8e34485927c5bedf3ef | [] | no_license | i2070p/R-nd | a3a2926e4f1c403c2d5b1361289550b49352cf33 | 7b870b6bf2ae87457357e47bad46d9eb0c2fa270 | refs/heads/master | 2021-01-19T05:09:56.630283 | 2015-05-24T23:09:32 | 2015-05-24T23:09:32 | 34,376,132 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 719 | h | #pragma once
#include "SimpleOperation.h"
#include "../Elements/NameElement.h"
#include "../StackAdapter.h"
#include "Type.h"
#include "Expression.h"
#include "../Strings.h"
using namespace std;
class ArrayDeclaration : public SimpleOperation {
public:
ArrayDeclaration(Operation * parent, NameElement* var, Type ... | [
"meti@devdeb"
] | meti@devdeb |
9249ca94ef8b7a7035e76c27c046433e4f18882d | 550963b7a93f47c1c011ee0a20c98c1662884e79 | /src/qt/coincontroltreewidget.cpp | 1146ae0952cbd2bef10422b7f0b2c2d24bcf27be | [
"MIT"
] | permissive | bankonme/MUE-Src | eb1a0e4462d7d5f0632775646aa0c8eab200578d | 598ceebd4a90417a65c23a9d69232f836ef3b89c | refs/heads/master | 2021-01-17T23:25:47.305638 | 2015-06-10T00:36:28 | 2015-06-10T00:36:28 | 40,028,999 | 1 | 0 | null | 2015-07-31T23:39:22 | 2015-07-31T23:39:20 | null | UTF-8 | C++ | false | false | 1,094 | cpp | // Copyright (c) 2009-2015 Bitcoin Developers
// Copyright (c) 2014-2015 MonetaryUnit Developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "coincontroltreewidget.h"
#include "coincontroldialog.h"
CoinControlT... | [
"upgradeadvice@gmail.com"
] | upgradeadvice@gmail.com |
6e95a190ed15ce7ce79a618ea0463fee0570f069 | 28bf7793cde66074ac6cbe2c76df92bd4803dab9 | /answers/kshitizpriyam/Day 19/Q2.cpp | 7fc5c372b7e5d55f8316571ef8e137219b1be163 | [
"MIT"
] | permissive | Codechef-SRM-NCR-Chapter/30-DaysOfCode-March-2021 | 2dee33e057ba22092795a6ecc6686a9d31607c9d | 66c7d85025481074c93cfda7853b145c88a30da4 | refs/heads/main | 2023-05-29T10:33:31.795738 | 2021-06-10T14:57:30 | 2021-06-10T14:57:30 | 348,153,476 | 22 | 135 | MIT | 2021-06-10T14:57:31 | 2021-03-15T23:37:26 | Java | UTF-8 | C++ | false | false | 454 | cpp | #include<iostream>
using namespace std;
int count_triplets(int a[], int n, int X){
int count=0;
for(int i=0;i<n-2;i++){
for(int j=i+1;j<n-1;j++){
for(int k=j+1;k<n;k++)
if(a[i]+a[j]+a[k]<X)
count++;
}
}
return count;
}
int main(){
int a[100],n,X;
cout<<"Enter a limit: ";
cin>>n;
cout<<"Ente... | [
"noreply@github.com"
] | Codechef-SRM-NCR-Chapter.noreply@github.com |
9026c9aeeffca4df6c383e830dcc28c2cdb972c7 | 6bf47fbfba9c064a130ee33abba9a0032dd469f9 | /CPP01/ex00/main.cpp | d9cd59039dfb5a73f097a0a1e6fca7e6befd0080 | [] | no_license | Kirakise/CPPModules | 0713e74687f2e42c89c220133283b327ce1e2d99 | 3d4f09c09c11a700322a5d185e8cebe68fad2982 | refs/heads/master | 2023-08-30T15:37:52.968582 | 2021-11-01T19:18:22 | 2021-11-01T19:18:22 | 376,305,632 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 259 | cpp | #include "Zombie.hpp"
int main()
{
Zombie type1arr[10];
std::srand(std::time(NULL));
for (int i = 0; i < 10; i++)
{
type1arr[i].randname(5);
type1arr[i].announce();
}
std::cout << "Here comes random chump!" << std::endl;
Zombie::RandomChump(5);
} | [
"rcaraway@oa-j3.msk.21-school.ru"
] | rcaraway@oa-j3.msk.21-school.ru |
aafc3d9c020f96f36905a2f2ffb1bbe5284f3f11 | 5ecc2a46c53bf2b65dd1fac65a772647784b5ef5 | /venv/Lib/site-packages/tensorflow/include/external/llvm-project/mlir/include/mlir/Interfaces/DataLayoutTypeInterface.cpp.inc | fcd9f3a099e925abc35af31d01f72ed40bb90eba | [
"LLVM-exception",
"Apache-2.0"
] | permissive | kanungosuyash/CSCI527game | 8578185853d14aebe04e099ab056da8c5233d8de | 7fbc9da0360756402fa01d6eebb87a8bb9236d71 | refs/heads/master | 2023-08-02T12:40:28.694846 | 2021-09-13T16:11:49 | 2021-09-13T16:11:49 | 401,088,055 | 1 | 0 | null | 2021-09-13T00:19:46 | 2021-08-29T16:22:30 | Python | UTF-8 | C++ | false | false | 1,913 | inc | /*===- TableGen'erated file -------------------------------------*- C++ -*-===*\
|* *|
|* Interface Definitions *|
|* ... | [
"msingh60@usc.edu"
] | msingh60@usc.edu |
cbebaf6e9d93bf68dfc5f4e02cffdfaa040508fc | f0e276cd595518a98c857b3cf9a9db95bc639d70 | /list_list_int.cpp | 2148930387b79a7a2f79ac0e1d3b0765e32fbb5b | [] | no_license | greshem/develop_cpp | caa6fa4f07d925ff1423cab2f29684de40748eb3 | 4f3d4b780eed8d7d678b975c7f098f58bb3b860e | refs/heads/master | 2021-01-19T01:53:15.922285 | 2017-10-08T07:25:35 | 2017-10-08T07:25:35 | 45,077,580 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 855 | cpp | //主要是为了体现struct 的operator 操作符.
#include <list>
#include <algorithm>
#include <iostream>
using namespace std;
struct Exist
{
int Target;
Exist( const int& t ):Target(t){};
bool operator()( const int& s ) { return s == Target; }
};
main()
{
list<int> list_int;
list<int>::iterator it;
int i;
... | [
"qianzhongjie@gmail.com"
] | qianzhongjie@gmail.com |
ad5c6171954c99685628414c844ffe7a457d70bb | d72232061a899e1d8236f44c8f9e05f7548c8f9e | /Level 3 HW Submission/2.3/2.3.7/2.3.7/TestPoint.cpp | b3be88ed613b38aa6e98774daabda6c64eafb4b9 | [] | no_license | wentaozou1/BaruchCPPHW | 6072ec8ec68aea878fc1eb5a6833234d3bb05911 | 15f97e03b01338931257247064e86a48eef6fce7 | refs/heads/master | 2020-03-22T16:53:48.310355 | 2018-07-12T03:23:00 | 2018-07-12T03:23:00 | 140,358,934 | 0 | 0 | null | 2018-07-10T01:05:25 | 2018-07-10T01:05:25 | null | UTF-8 | C++ | false | false | 970 | cpp | // TestPoint.cpp
//
// @author Xinyuan Zhang
// @version 1.0 07/11/18
#include "Point.hpp"
#include <iostream>
#include <string>
using namespace std;
void main()
{
double x1, y1;
double x2, y2;
cout << "Please input x and y of Point1 separated by space" << endl;
if (!(cin >> x1 >> y1))
{
cout << "Input Error... | [
"wentaozou1@gmail.com"
] | wentaozou1@gmail.com |
86b8dc6fda512e50834517c4e7e42183f2d2d5a5 | a0da5737e2fa604c6347186fffaec388a37485d6 | /app/PrintVisitor.cpp | 9897d838589d8cb4d4f75dc5405ae87edec5d363 | [] | no_license | DevilsCat/Horn-Clause-Resolving-Application | 9143bf5cb4e5a01278c8fab41dad2accd7d8ecf3 | 23d564c5977033470a6ac7ba7567b248f6652d3d | refs/heads/master | 2021-01-10T17:07:10.816942 | 2015-12-18T00:03:23 | 2015-12-18T00:03:23 | 48,200,115 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,044 | cpp | // PrintVisitor.cpp -- This file defines a PrintVisitor class to print contents in horn clause AST tree.
// Created by Yu Xiao, Anqi Zhang, all right reserved.
//
#include "stdafx.h"
#include "Utils.h"
#include "PrintVisitor.h"
#include "HornclauseASTNodes.h"
#include "HornclauseTokens.h"
#include <iostream>
void Pri... | [
"xiaoyuxqx@gmail.com"
] | xiaoyuxqx@gmail.com |
882c85442f0e329b3b2f288865d087c20dbd50f6 | 10d051b0fc316f389d5782c8009d96aac270b67c | /TestInclude/main.cpp | 8cd149924d58d0b52f136707e1bf89eafcf0f019 | [
"MIT"
] | permissive | xyz1001/BlogExamples | 24d84fc9cfcaf9963ef937b15a1811cc95d1b1da | a20cf77c1e16b948c7c414bec6a3ab9c4c64ad4e | refs/heads/master | 2021-06-27T14:49:01.633939 | 2020-09-24T08:23:30 | 2020-09-24T08:23:30 | 147,134,896 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 78 | cpp | #include <string>
using namespace std;
int main()
{
return 0;
}
| [
"zgzf1001@gmail.com"
] | zgzf1001@gmail.com |
d635d6fdfc751a9a78fa6e3ddab04253b087781a | 64deac97ba623ea62e23494fa1757e13da74f2d0 | /AnotherOne/AnotherOne/AnotherOne.cpp | 6adeacc52a45cc46d40c6c3b867ecfd22f61e3fa | [] | no_license | william-tam/Another-one | 59a9412ef7a9a113461b85b9c8bf13a2e19e4330 | 5e746d2f1bcf0cf682e2cbc7a4b998ecd8ac32cf | refs/heads/master | 2023-03-24T06:12:52.151635 | 2021-03-15T00:14:58 | 2021-03-15T00:14:58 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,852 | cpp | // AnotherOne.cpp : Defines the entry point for the application.
//
#include "framework.h"
#include "AnotherOne.h"
#define MAX_LOADSTRING 100
// Global Variables:
HINSTANCE hInst; // current instance
WCHAR szTitle[MAX_LOADSTRING]; // The title bar text
WCHAR szWindowCl... | [
"79667361+willt2021@users.noreply.github.com"
] | 79667361+willt2021@users.noreply.github.com |
0e2494192b2cb30991af1f0e853c2c56dc0dd402 | ce5d175f79908e17c37a96bfe78d7043bf4f3b5d | /FinalSubmission1/FinalRiskSubmission/MyObservable/MyObserver.h | 68057c8ef052058fd69a5ff6e38f7de5ec89706f | [] | no_license | Netopya/COMP-345-Project | 305cfe6cafbfb19028dc730cb68c6d9988c297a4 | 8286af4ccf95036e15a101224c8ae20534685533 | refs/heads/master | 2020-12-26T02:09:39.166381 | 2015-12-07T03:03:53 | 2015-12-15T14:09:39 | 43,391,798 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 254 | h | #ifndef MYOBSERVER_H
#define MYOBSERVER_H
/*
* Observer Interface for the Observer Pattern.
*/
class MyObserver {
public:
virtual void update(class MyObservable* observable) = 0; //Called when being notified of a change from the observable.
};
#endif | [
"maximemorinqc@hotmail.ca"
] | maximemorinqc@hotmail.ca |
fa596790623e3ba08d478e9ada6060cd38c8d79c | 738a808a17ffc4143f6e5c9f21d2ecbd0608fad1 | /Menus/Menu de repiticion.cpp | 8f9a6b88f3a8faea85c09521e0ff5b417d1e36c8 | [] | no_license | KaiKuroba/Tarea- | 39237e05b81880d59318261841162efabca2d42d | 2be9551c1d9d08093f1b69d004d17f0ef1885326 | refs/heads/main | 2023-07-06T14:34:41.184453 | 2021-08-05T22:07:29 | 2021-08-05T22:07:29 | 393,180,964 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 694 | cpp | #include <conio.h>
#include <stdio.h>
#include <cstdio>
using namespace std;
int main(void)
{
char usuario[20];
printf( "Introduzca su nombre estimado usuario: " );
scanf( "%s", usuario );
printf( "Hola %s, Iniciaremos el sistema ordinal.", usuario, 161 );
int opc = 0, num1 = 0, num2 = 0;
do{
(... | [
"noreply@github.com"
] | KaiKuroba.noreply@github.com |
60ad879140f13c4e0382680adab994526fea4459 | 9a99594d4b5080d9b8afb055d4ee6d0d9daa5d15 | /gdSTL/memory_pool/__default_alloc_template.h | b6ab61bf4f419c206ce20f96a2e6a4a384117bcf | [] | no_license | Gd58/gdSTL | 78c9f48d3986f2936d58ef2d34a5bcfe92708ee5 | 8d5c3e06240dc338345b45dabbc6e9c852602df8 | refs/heads/master | 2020-12-24T15:49:55.246036 | 2015-11-30T13:06:49 | 2015-11-30T13:06:49 | 46,853,034 | 0 | 0 | null | null | null | null | ISO-8859-3 | C++ | false | false | 4,834 | h | /* the interface writed by SGIĦĦSTL*/
#ifndef __DEFAULT_ALLOC_TEMPLATE__
#define __DEFAULT_ALLOC_TEMPLATE__
#ifndef __MALLOC_ALLOC_TEMPLATE__
#include "__malloc_alloc_template.h"
#endif
enum{ALIGN = 8};
enum{ MAX_BYTE = 128 };
enum{N_FREELIST = MAX_BYTE / ALIGN};
template<bool threads,int n>//here the thread to insist ... | [
"Gd58@outlook.com"
] | Gd58@outlook.com |
6aab5a1223cd3b132a752a0ef918b966483cf39d | 1359bb193ce7ec547ae07862c207b6b68d7d8d8e | /LeetCode Contests/Largest Number After Mutating Substring.cpp | 88cffdabdf67a7dba95ad5aa5ec69a285e3add50 | [] | no_license | yukta22/leetcode | f13f6d96c0e7254651de55ce9ab54ca5f5992e6b | 8d1352415146adf7cb8963e6c80c78111c89dc4f | refs/heads/main | 2023-08-14T11:01:48.541234 | 2021-09-28T09:36:45 | 2021-09-28T09:36:45 | 328,369,449 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 657 | cpp | https://leetcode.com/contest/weekly-contest-251/problems/largest-number-after-mutating-substring/
class Solution {
public:
string maximumNumber(string num, vector<int>& change) {
int n = num.size();
int flag = 0;
for(int i = 0 ; i < n ; i++){
int d ... | [
"noreply@github.com"
] | yukta22.noreply@github.com |
e811c1f6cfa171807f56afdc174a44e399f49cd9 | 8df198126a11543066c64a98a9d5ee24c7fa7618 | /(((... All online judge practice and contest ...)))/@++++ Vai , Sir , Lab contest ++++/TPC/09/H - Cinema.cpp | 8c2bb07479ec2dc3843c278d013b68b16f72ed94 | [] | no_license | mehadi-trackrep/ACM_Programming_related | eef0933febf44e3b024bc45afb3195b854eba719 | 7303931aa9f2ab68d76bbe04b06157b00ac9f6a6 | refs/heads/master | 2021-10-09T03:15:09.188172 | 2018-12-20T09:35:22 | 2018-12-20T09:35:22 | 117,265,703 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,538 | cpp | /*
BISMILLAH HIR RAHMANIR RAHIM .. "ALLAH IS ALMIGHTY" .
###########################################################################
# #
# // // ////// // // /\ //////\\ ///////// #
# // / / ... | [
"mehadi541@gmail.com"
] | mehadi541@gmail.com |
9027643a8ecd885bfd8956e4eff446a86b92b58d | c9c4d467432423ad7e718cfa226ee965cd83075c | /.history/try_20210506213222.cpp | 165cef325bf833603ca6714f01f29ecaf41be10d | [] | no_license | WZH-hub/BUPT_2021_C-_lab | 8cb4fafed13ec3f77044cc5835b5bbdf07e24fe8 | 531334b37adb831fe2a824703e0c90ca21808b7f | refs/heads/master | 2023-04-24T07:57:37.492322 | 2021-05-13T01:47:08 | 2021-05-13T01:47:08 | 358,433,723 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 336 | cpp | #include <iostream>
#include <fstream>
#include <string.h>
using namespace std;
class Type
{
private:
int num;
public:
int getnum()
{
printf(" num:%d ", num);
}
void change()
{
int now;
cin >> now;
num = now;
}
};
int main()
{
Type a;
a.getnum();
... | [
"wangzhenhao137@163.com"
] | wangzhenhao137@163.com |
6556f920e680c82713bc8d54c8109ee4bd2279c8 | 56c22711cfe618ebb43b3d5ee2a6e01311177a89 | /UTSO/utso21p2.cpp | 1c6a8639fcb04a9a56098c34f080c26b14a84208 | [
"MIT"
] | permissive | crackersamdjam/DMOJ-Solutions | f6f5709eb6648a01570b4c8992d26a664fd019c6 | 97992566595e2c7bf41b5da9217d8ef61bdd1d71 | refs/heads/master | 2023-07-09T07:14:12.105762 | 2021-08-09T03:05:01 | 2021-08-09T03:05:01 | 394,041,849 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 896 | cpp | #include <bits/stdc++.h>
#define all(x) (x).begin(), (x).end()
using namespace std;
#ifndef ONLINE_JUDGE
template<typename T>
void pr(T a){std::cerr<<a<<std::endl;}
template<typename T,typename... Args>
void pr(T a, Args... args) {std::cerr<<a<<' ',pr(args...);}
#else
template<typename... Args>
void pr(Ar... | [
"45298690+crackersamdjam@users.noreply.github.com"
] | 45298690+crackersamdjam@users.noreply.github.com |
2dca7cf2cceb85f81031d74639fa15349b1085e9 | ec0108e0fd9c6e0a04b0ac8575add06f382582f1 | /codeforces/314-codeforces-round-187/C.cpp | ceac5fb58760a1f543b6fc108c4def40a7228677 | [] | no_license | robotcator/acm-icpc | b5ac23604c2eb4345275ac76b6d10f9fc1135b69 | 6d64309c9875418359031fc7fb75e8f6401affd3 | refs/heads/master | 2021-01-18T07:32:49.086985 | 2014-07-28T02:32:16 | 2014-07-28T02:32:16 | 22,862,729 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,016 | cpp | // Codeforces Round #187
// Problem C -- Sereja and Subsequences
#include <cstdio>
#include <cstring>
const int N = 100000;
const int M = 1000000 + 1;
const int MOD = (int)1e9 + 7;
int n, a[N], last[M], product[N];
int count[M];
void add(int k, int v) {
for (; k < M; k += -k & k) {
(count[k] += v) %= MOD... | [
"ftiasch0@gmail.com"
] | ftiasch0@gmail.com |
bf0a25ffc0ebaae4aac8005cac75479ac7a922b0 | 4296ad62fc2d1c0111af5e9c9ef5b8336256674e | /src/minpro/a.cpp | 4d151b0a409d29e79c9f373457622a99908a2d5b | [] | no_license | emakryo/cmpro | 8aa50db1d84fb85e515546f37e675121be9de5c2 | 81db478cc7da06a9b99a7888e39952ddb82cdbe5 | refs/heads/master | 2023-02-09T12:36:47.893287 | 2023-01-23T12:07:03 | 2023-01-23T12:07:03 | 79,899,196 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 543 | cpp | #include<iostream>
#include<iomanip>
//#include<cstdio>
#include<vector>
#include<map>
#include<queue>
#include<algorithm>
#include<cmath>
#include<cassert>
using namespace std;
typedef long long ll;
int main(){
string s;
cin >> s;
map<char, int> count;
for(int i=0; i<s.size(); i++){
if(s[i]!='y'&&s[i]!='a'&&s[i... | [
"emak.ryo@gmail.com"
] | emak.ryo@gmail.com |
e08449fa0a7851692a5b0ce428c96bf5819ea937 | 3f7110998ecee46e6e3e6a2e7c415c3b41c565fb | /src/System/InterruptedException.cpp | 26fe128f2088c5a957157f57a2b2b09fc9961a67 | [
"MIT"
] | permissive | thehomosapien/avengerscoin | b1d37e92c1606b9f3c75b6b50e91a2c0a07cfd07 | b3243edf1a4524005b78fef4204f4374210a3b3c | refs/heads/master | 2020-05-16T03:34:06.173234 | 2019-04-22T10:23:57 | 2019-04-22T10:23:57 | 182,728,350 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 477 | cpp | // Copyright (c) 2011-2017 The Cryptonote developers
// Copyright (c) 2014-2017 XDN developers
// Copyright (c) 2016-2017 BXC developers
// Copyright (c) 2017-2019 UltraNote developers
// Copyright (c) 2019 Avengers developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or h... | [
"rishabhshukla@opulasoft.com"
] | rishabhshukla@opulasoft.com |
ed4450dba678ab2f70074b10d6bf9ba6f6ee0e8b | ed4f0ae5cfc032012cc21fc6ab2a80459825db77 | /arrays/2 dim array.cpp | 97f48e3d951f8a9ff34d51d393f19b0d5f67f726 | [] | no_license | ZainArif/C-program-practices | 5cb88cb422256cd35ce92ae81521124b3502a266 | 21047c2c6a01339c4582c40f28c43304ac59b2d3 | refs/heads/master | 2020-04-08T18:34:19.712748 | 2018-11-29T06:05:50 | 2018-11-29T06:05:50 | 159,614,341 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 118 | cpp | #include<stdio.h>
#include<conio.h>
int main()
{
int dim[2][3]={ {1,2,3}, {4,5,6} };
printf("%d",dim[0][0]);
}
| [
"zainarif14197@gmail.com"
] | zainarif14197@gmail.com |
b3cbd3626318bb73fc3e74a27e83a6b5576ea39d | ea8ba7cfc4f4773ed516e094ded4bc36502f93b5 | /branch/old_angsys/angsys_beta3/include/angsys/ang/dom/xml/ixml_node.h | 4f29b67b36a1d3fbd0cefcc0beae3ac989a29249 | [
"Apache-2.0"
] | permissive | ChuyX3/angsys | 15f896f0b4823b63a14aff8e35a30f344f2c30e8 | 89b2eaee866bcfd11e66efda49b38acc7468c780 | refs/heads/master | 2021-07-07T18:58:39.437477 | 2020-06-29T05:33:08 | 2020-06-29T05:33:08 | 92,321,439 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,197 | h | #ifndef __ANG_DOM_XML_H__
#error ...
#elif !defined __ANG_DOM_XML_IXML_NODE_H__
#define __ANG_DOM_XML_IXML_NODE_H__
namespace ang
{
namespace dom
{
namespace xml
{
ang_begin_interface(LINK ixml_node, ixml_object)
visible vcall xml_node_t xml_parent()const pure
visible vcall xml_document_t xml_parent_d... | [
"chuyangel.rm@gmail.com"
] | chuyangel.rm@gmail.com |
c5800ec9bdf22aab7ce58c2fce6547f721cd2f09 | 6d6d408af32b6ce6ef2529e65d7543d8d41082e3 | /Chapter_16/listing_16_22_ilist/src/ilist.cpp | b6f8f769d5c96740129d5390b8cb549c69d95645 | [] | no_license | eugene-bogorodsk/S_Prata_Prime_C-_exercise | 52e52b59e26bfb2f33a344a57c97b69b74ede060 | 1a6dd062e42ac4515df81f23bd425a5a85a05199 | refs/heads/master | 2020-08-28T22:51:08.657340 | 2019-12-19T08:50:58 | 2019-12-19T08:50:58 | 217,844,234 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,172 | cpp | //============================================================================
// Name : ilist.cpp
// Author :
// Version :using initializer_list
// Copyright : Your copyright notice
// Description : listing 16.22
//============================================================================
#includ... | [
"e.mitichkin@yandex.ru"
] | e.mitichkin@yandex.ru |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.