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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
cc296a38c091c5e763f25c97531f0a680a4465ec | c2caa58960859fff7294e390e9e536d436ba6c8d | /ch04/MFCApplication1/MFCApplication1/MFCApplication1.cpp | dc04205b326443be68da273bbb60ae8e0530a3d3 | [] | no_license | stuckat1/CPP_Design_Patterns_and_Derivatives_Pricing | 0c65a2853eb53a2d5404e770795252dbb61c7ffe | 3fb60fdde68540aee267e4e8e27492ad9c7ae68b | refs/heads/master | 2021-01-17T08:58:32.091029 | 2016-05-13T00:37:14 | 2016-05-13T00:37:23 | 32,754,584 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,046 | cpp |
// MFCApplication1.cpp : Defines the class behaviors for the application.
//
#include "stdafx.h"
#include "afxwinappex.h"
#include "afxdialogex.h"
#include "MFCApplication1.h"
#include "MainFrm.h"
#include "ChildFrm.h"
#include "MFCApplication1Doc.h"
#include "MFCApplication1View.h"
#ifdef _DEBUG
#define new DEBUG_... | [
"keweima@yahoo.com"
] | keweima@yahoo.com |
fc64be456bb12648b8ae1f14e73f0d22478d49cc | 30479151ee24c009881f0c2f1960efb76ffa11fe | /hikyuu_cpp/hikyuu/indicator/imp/SaftyLoss.cpp | e9eeb6d63d7a7b1aa4e61540d80f5dc3f694fd4f | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | archya/hikyuu | 9832ec713bef400d8887dd107d64806e9d8a9541 | 2305a977a78bab832bf8fcb4d66482dfef442c9d | refs/heads/master | 2021-01-01T06:28:25.858204 | 2019-04-16T03:22:44 | 2019-04-16T03:22:44 | 97,430,935 | 0 | 0 | MIT | 2019-04-16T03:22:45 | 2017-07-17T03:19:27 | C++ | UTF-8 | C++ | false | false | 2,297 | cpp | /*
* SaftyLoss.cpp
*
* Created on: 2013-4-12
* Author: fasiondog
*/
#include "SaftyLoss.h"
#if HKU_SUPPORT_SERIALIZATION
BOOST_CLASS_EXPORT(hku::SaftyLoss)
#endif
namespace hku {
SaftyLoss::SaftyLoss():IndicatorImp("SAFTYLOSS", 1) {
setParam<int>("n1", 10);
setParam<int>("n2", 3);
setParam<d... | [
"fasiondog@163.com"
] | fasiondog@163.com |
de5a24a86513cf3fc55373108036e832c860d68e | 804e45b0ecc2108f52d6a1a95700ed471a80cae5 | /ppt/Unit3/3-5-3.cpp | adf50f89359d89cabee1c255a662a3a55e775ad9 | [] | no_license | ThinBuffalo/Cpp-study | 61fca18eec85bed537855317b44d2a410ad3f7ef | 88e3ce5373dc1d677999a37c98874c08e3bdf2ee | refs/heads/master | 2023-03-16T07:50:11.159315 | 2021-03-03T05:33:39 | 2021-03-03T05:33:39 | 322,501,215 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 224 | cpp | //ͬ3-2-5.cpp
#include <bits/stdc++.h>
using namespace std;
int main()
{
int x;
scanf("%d", &x);
printf("%s", (x % 4 == 0) && (x % 100 != 0) || (x % 400 == 0) ? "YES" : "NO");
system("pause");
return 0;
} | [
"mcluozc@163.com"
] | mcluozc@163.com |
73a4bd12ff62f0163be56fec7c31c4b7c3a7c10d | ba0cbdae81c171bd4be7b12c0594de72bd6d625a | /MyToontown/Panda3D-1.9.0/include/bulletVehicle.h | 4e1e8e1676eca6ae6cd64f95c83d45fd5cd1c842 | [
"BSD-3-Clause",
"BSD-2-Clause"
] | permissive | sweep41/Toontown-2016 | 65985f198fa32a832e762fa9c59e59606d6a40a3 | 7732fb2c27001264e6dd652c057b3dc41f9c8a7d | refs/heads/master | 2021-01-23T16:04:45.264205 | 2017-06-04T02:47:34 | 2017-06-04T02:47:34 | 93,279,679 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,059 | h | // Filename: bulletVehicle.h
// Created by: enn0x (16Feb10)
//
////////////////////////////////////////////////////////////////////
//
// PANDA 3D SOFTWARE
// Copyright (c) Carnegie Mellon University. All rights reserved.
//
// All use of this software is subject to the terms of the revised BSD
// license. ... | [
"sweep14@gmail.com"
] | sweep14@gmail.com |
ac71edf6e3cce37799a6c02f43ee3470306de821 | b3b73a21030e565636073187fa09a33b6c8a0db7 | /Problems/Caesar Cipher.cpp | 24c3968852f52364b8e33edc0f5f78e79265b4ab | [] | no_license | ch05/Exercise | c54e376e13bf52eb1f8601b05159d079dd80227b | 265b527805e1f30fc94d6c57bb6eb41e71372e48 | refs/heads/master | 2021-01-18T23:41:11.219646 | 2016-04-19T03:14:12 | 2016-04-19T03:14:12 | 33,741,854 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,201 | cpp | #include <cmath>
#include <cstdio>
#include <vector>
#include <iostream>
#include <algorithm>
using namespace std;
int main() {
string plain, cipher;
int length, shift, diff, curr;
cin >> length;
cin >> plain;
cin >> shift;
cipher = plain;
while(shift > 26){
shift -= 26;
}
... | [
"sichen5@illinois.edu"
] | sichen5@illinois.edu |
2439e50aca5d0dc08ed177f36369374044d36b86 | a4f9e159fd976daa151a3cb2635e6bdc70d7b733 | /esmath/EsMathFitConstraint.h | 86671569b89600cd2edc8309d9a7b63ac7dc05a5 | [] | no_license | vgromov/esfwx | 6d77f9303de3b8391a26bbbc41d117de851bf64d | c727752378cad36d32cb344f916d87cd84ea0830 | refs/heads/master | 2021-07-08T03:08:17.442342 | 2020-07-30T10:01:58 | 2020-07-30T10:01:58 | 166,006,433 | 0 | 0 | null | 2020-07-30T10:01:59 | 2019-01-16T08:51:10 | C++ | UTF-8 | C++ | false | false | 2,357 | h | #ifndef _es_math_fit_constraint_h_
#define _es_math_fit_constraint_h_
enum class EsMathFitInfo : ulong
{
None,
Success,
Inconvergence,
ConstraintInconsistent,
Fail
};
enum class EsMathFitConstraintKind : ulong
{
Value,
FirstDerivative
};
class ESMATH_CLASS EsMathFitConstraint
{
publ... | [
"gromov.vsevolod@yandex.ru"
] | gromov.vsevolod@yandex.ru |
09dbf840e293a508c481a804174f8f962fa7bb26 | 688a51f4072cc7816ab1beba6252f037cff1bf55 | /Overload/SSSEngine/Include/ShaderManager.h | d196cf48332551909ea81bdf673920a49e92675d | [] | no_license | wognl0439/D3D_Overload | f0c19c2c7a4ab2c950d3a97adb6195738c67280a | 7af41388591f2f60aa124d215084c72e9797eb86 | refs/heads/master | 2023-07-17T17:29:25.754980 | 2021-09-01T10:07:27 | 2021-09-01T10:07:27 | 401,966,646 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,400 | h | #pragma once
#include "Engine.h"
SSS_BEGIN
typedef struct SSS_DLL _tagConstantBuffer
{
ID3D11Buffer* pBuffer;
int iSize;
int iRegister;
}CONSTANTBUFFER, *PCONSTANTBUFFER;
class SSS_DLL CShaderManager
{
DECLARE_SINGLE(CShaderManager)
private:
unordered_map<string, class CShader*> m_mapShader;
unordere... | [
"wognl0439@gmail.com"
] | wognl0439@gmail.com |
17aea442870d10b8eca80bbde9ec4928ce2f9590 | ad273708d98b1f73b3855cc4317bca2e56456d15 | /aws-cpp-sdk-mq/include/aws/mq/model/BrokerStorageType.h | 4576141572f39ce023d71f817ab2aff4c51872db | [
"MIT",
"Apache-2.0",
"JSON"
] | permissive | novaquark/aws-sdk-cpp | b390f2e29f86f629f9efcf41c4990169b91f4f47 | a0969508545bec9ae2864c9e1e2bb9aff109f90c | refs/heads/master | 2022-08-28T18:28:12.742810 | 2020-05-27T15:46:18 | 2020-05-27T15:46:18 | 267,351,721 | 1 | 0 | Apache-2.0 | 2020-05-27T15:08:16 | 2020-05-27T15:08:15 | null | UTF-8 | C++ | false | false | 1,084 | h | /*
* Copyright 2010-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" fil... | [
"aws-sdk-cpp-automation@github.com"
] | aws-sdk-cpp-automation@github.com |
53c33b1bb1db9b11c06a8f087dcb337a70fb15bf | 90e66232f6d02811acf1d9123dd1b7b5d19ed35a | /a1paper.cpp | 4169a12788f819ad0e7ee610a0559a544ec13862 | [] | no_license | lukevand/kattis-submissions | 8396fb2dbc4d5550c47eae7525bf9482d5155955 | fc61a5117e507ef283241dec1dd3caa242df8934 | refs/heads/master | 2021-07-12T16:42:43.582376 | 2020-03-13T05:57:51 | 2021-05-27T19:40:12 | 246,996,282 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,028 | cpp | #include <bits/stdc++.h>
using namespace std;
#define debugp(X) for(auto const& CCC:X) std::cerr<<CCC<<' '; cerr<<'\n'
#define debugvii(X) for(auto const& CCC:X) std::cerr<<CCC.first<<', '<<CC.second << '\n'
#define debug(XXX) cerr << #XXX << ": " << XXX << '\n'
#define debuga(X, _a, _b) cerr << #X << ": "; for (int _... | [
"lvanduuren@protonmail.com"
] | lvanduuren@protonmail.com |
4f808a6900b53d08dae38ce5ab6f04400a67eba8 | 0b15c7a046d703e153b6e6054cb57a0664a2d4df | /RobWork/src/sandbox/algorithms/PointConstraint.hpp | 3db95e8c2bab7df86a235e5d0c29cdd209e16da8 | [
"Apache-2.0"
] | permissive | skyellen/robwork-mirror | bf5d97ce19775c2928432854a93fb87ab2f7cd26 | 5a74a49d9ef98eff7c75f48fe48c2e655480e9b3 | refs/heads/master | 2020-04-16T06:10:11.359979 | 2018-09-06T09:26:01 | 2018-09-06T09:26:01 | 165,335,340 | 4 | 0 | null | 2019-01-12T02:01:40 | 2019-01-12T02:01:40 | null | UTF-8 | C++ | false | false | 2,431 | hpp | /********************************************************************************
* Copyright 2009 The Robotics Group, The Maersk Mc-Kinney Moller Institute,
* Faculty of Engineering, University of Southern Denmark
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file e... | [
"adwol@mmmi.sdu.dk"
] | adwol@mmmi.sdu.dk |
069ec6c6dddbbb0a56961b2148aec03fc21bf574 | b0dd7779c225971e71ae12c1093dc75ed9889921 | /boost/spirit/home/phoenix/core/detail/compose.hpp | 359bd1964ed9bddd3be0b068c4b897d6a5b6d192 | [
"LicenseRef-scancode-warranty-disclaimer",
"BSL-1.0"
] | permissive | blackberry/Boost | 6e653cd91a7806855a162347a5aeebd2a8c055a2 | fc90c3fde129c62565c023f091eddc4a7ed9902b | refs/heads/1_48_0-gnu | 2021-01-15T14:31:33.706351 | 2013-06-25T16:02:41 | 2013-06-25T16:02:41 | 2,599,411 | 244 | 154 | BSL-1.0 | 2018-10-13T18:35:09 | 2011-10-18T14:25:18 | C++ | UTF-8 | C++ | false | false | 1,800 | hpp | /*=============================================================================
Copyright (c) 2001-2007 Joel de Guzman
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)
===================================... | [
"tvaneerd@rim.com"
] | tvaneerd@rim.com |
952b303da1e61d38c2510224419ac400f0722f07 | 140c46f234796da28bc91ea23055754a02d47ab8 | /ui/UtilityWidgets.cpp | c5e182d02f42f317184539f01a3cfa71ee8a6742 | [] | no_license | songjin321/QEstimator | 282b5389ef24a3f1d973eb373175d438b25e55a2 | 50fff7e4c84104f6b32e758825ad9feafb7a5cf6 | refs/heads/master | 2021-01-01T03:57:07.179275 | 2018-09-29T05:09:26 | 2018-09-29T05:09:26 | 58,736,127 | 5 | 3 | null | 2016-05-13T15:06:26 | 2016-05-13T12:00:55 | C++ | UTF-8 | C++ | false | false | 2,143 | cpp | #include "UtilityWidgets.h"
//
RangeDialog::RangeDialog(float *lowVal, float *highVal, QDialog *parent, QString title, QString discribe)
:QDialog(parent),
_lowVal(lowVal),
_highVal(highVal)
{
ledtLow = new QLineEdit(tr("-1"));
ledtHigh = new QLineEdit(tr("-1"));
QPushButton* btnOK =... | [
"sjinfeixue@Gmail.com"
] | sjinfeixue@Gmail.com |
c0bbfe01ad477a033ce93850236512cdc8fa5138 | 51ef482d0a4705e9231efeb3835b45f3f7d6647e | /SEM 4/OS_lab/roundrobin.cpp | 48be133c986992a6d95cee911a182aad4ac6d622 | [] | no_license | devmukul44/VIT-University-Vellore-Lab-Assignment | 40c4b941371a1261878e2041f55a922d2ea4d08a | 761c2a58b40f8cf9f7f07d3c35b95df850e90b93 | refs/heads/master | 2022-01-10T21:35:10.152193 | 2019-05-01T10:48:31 | 2019-05-01T10:48:31 | 77,526,817 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,372 | cpp | #include<stdio.h>
struct p
{
int at,bt,wt,tt,pn,st,ft;
}pr[10];
int main()
{
int n,tq,i,flag=0,f=0,twt=0,ttt=0;
float awt,att;
printf("\nEnter the number of processes:- ");
scanf("%d",&n);
for(i=0;i<n;i++)
{
printf("\nEnter the arrival time of process P%d :-",(i+1));
scanf("%d",&pr[i].at);
pr[i].pn=(i+1);
... | [
"devmukul44@gmail.com"
] | devmukul44@gmail.com |
881b4eaa432bc42c70f6da69cd3632cb93d96811 | bddf3eee728421f4ea7acb2582a0b28aa8fbd541 | /pro_of_Qt/faims_04-08/build-faims_-Desktop_Qt_5_14_2_GCC_64bit-Debug/temp/moc/moc_databasethread.cpp | 4c0930678e769cf63315cb1d5f180fb72267cdfa | [] | no_license | yzkaa/CPP_All_Test | 6e64ab12fd9f41a35b660330d922da73d6c13524 | 3bd8076247551b9180a0ddf1fb01e71632c5693a | refs/heads/master | 2023-05-06T02:42:19.639079 | 2021-05-29T15:34:23 | 2021-05-29T15:34:23 | 318,482,502 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,327 | cpp | /****************************************************************************
** Meta object code from reading C++ file 'databasethread.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.14.2)
**
** WARNING! All changes made in this file will be lost!
*****************************************************... | [
"1076992525@qq.com"
] | 1076992525@qq.com |
0b8ea0e585f9d138fcaa153d361bd4b82f81e7a8 | fa017e7a5b6e0b79c3a78f11d618d46af3dffece | /List.cpp | fb60eebbcdb87267faf95a7649bfbb1798270c9b | [] | no_license | leyap/Timer | 5c76191c038b2ed3c869547fbe23779b1b3967e9 | eb2c5679a896fc781223763b83afee93cb17f8a8 | refs/heads/master | 2020-12-26T10:08:39.782775 | 2014-04-12T06:40:32 | 2014-04-12T06:40:32 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,756 | cpp | //////////////////////////////////////////////////////////////////////////////////////
// Copyright (c) 2012 by Byron Watkins <ByronWatkins@clear.net>
// List library for arduino.
//
// This file is free software; you can redistribute it and/or modify
// it under the terms of either the GNU General Public License versi... | [
"byron.watkins@comcast.net"
] | byron.watkins@comcast.net |
25ab0027c0f1def39cf07e7b404cb00b750b8066 | 02e6a51bd283d518c85cd461d23a5352bc539250 | /Source/BlackJack/PlayerWinState.cpp | a6619011661291696c6865e4c34596f1985c3596 | [
"MIT"
] | permissive | VictorLeach96/BlackJack | 050d55517b44d7f8a6f1f7b29d420c6f81639442 | fb93b607bec38138b4afe21fe97171e039c6752f | refs/heads/master | 2016-08-12T10:03:11.615136 | 2016-01-06T12:23:19 | 2016-01-06T12:23:19 | 48,953,032 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 650 | cpp | #include "Header.h"
string PlayerWinState::stateName(){
return "PlayerWinState";
}
GameState* PlayerWinState::gameLoop(Player *player, Dealer *dealer, Screen* screen){
GameState* nextState = NULL;
//Update screen with win message
screen->message = "PLAYER WINS!, Press Enter for a rematch or Escape to qui... | [
"victor96@mac.com"
] | victor96@mac.com |
273a909d5c634b0394b125a541f1f4fe4eafeb59 | d80c3fb3d79c38c77d695459fa6a68ab227ee8ec | /Week 2/SearchInsertPosition.cpp | 75046f418fd507baaacef8607c4cdb46af31fe5b | [] | no_license | keerthisree-raghu/June-LeetCoding-Challenge | df0802d1d464ef055c1919b4556ea7133a3a31e9 | c00aed9dd01eadeac72df8a5add9d578446f808a | refs/heads/master | 2023-01-05T11:02:49.760158 | 2020-10-20T17:03:43 | 2020-10-20T17:03:43 | 268,586,039 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,360 | cpp | // SEARCH INSERT POSITION
/* PROBLEM:
Given a sorted array and a target value, return the index if the target is found.
If not, return the index where it would be if it were inserted in order.
You may assume no duplicates in the array.
*/
/* EXAMPLES:
Input: [1,3,5,6], 5
Output: 2
Input: ... | [
"raghu.keerthisree@gmail.com"
] | raghu.keerthisree@gmail.com |
2bfe47d03c36ea6de60fff73bd83032d3c75dc80 | 42fc6ef081b64fc60bdc70fcdb384a6c70343c25 | /Mohd Uzaif/Rotate Array/RotateArray.cpp | 5c923a8966205f929b9b6a3a3be6f4ff1aa67456 | [] | no_license | CSoC-2020/Project-on-Data-structure | b7e62e8f31f624884e313dbdee4f64d0d18eeb07 | 6f317b29f780626df21b54599a35ac3c3eb0970e | refs/heads/master | 2022-11-06T18:28:59.901919 | 2020-06-23T22:00:19 | 2020-06-23T22:00:19 | 261,388,319 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 560 | cpp | class Solution {
public:
void rotate(vector<int>& nums, int k) {
if(k>nums.size())
{
k=k%nums.size();
}
for(int i=0,j=nums.size()-1;i<j;i++,j--)
{
int temp;
temp=nums[i];
nums[i]=nums[j];
nums[j]=temp;
}
for(int i=0,j=k-1;i<j;i++,j--)
{
... | [
"imuzaifmohd@gmail.com"
] | imuzaifmohd@gmail.com |
ae85278925c2a47b0381b5bf1bc0f3844d35618a | 74ff14608a3c91fbe650ed1039c3036ae17ded89 | /Data-Structures/Linked_List/Doubly/doubly.cpp | f15a33d15b7600896f01e237f5ffa402e2ef8d8e | [] | no_license | sooryaprakash31/ProgrammingBasics | 92fe1d9fb3d90283e7474c74db2b73091a53e462 | e46c2b7dbe35d6226120ce73d609a29e9d36e6e4 | refs/heads/master | 2023-02-10T01:32:27.071046 | 2021-01-06T18:24:08 | 2021-01-06T18:24:08 | 289,292,107 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,673 | cpp | /*
Doubly Linked List:
- A linear data structure in which the elements are not stored in
contiguous memory locations.
- Doubly Linked List contains an extra pointer to keep track of the previous
node to a particular node.
Representation:
previous|data|next <---> previous|data|next <---> previ... | [
"sooryaprakash.r31@gmail.com"
] | sooryaprakash.r31@gmail.com |
90f3744f0f12ce583c24e257f4746765842dbb43 | 41499f73e807ac9fee5e2ff96a8894d08d967293 | /FORKS/C++/OpenPGP/tree/Encryptions/SymAlg.cpp | a24e5d989a21ff4b312dd04b444660638091aa71 | [
"MIT",
"LicenseRef-scancode-unknown-license-reference",
"WTFPL",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | lordnynex/CLEANUP | c9f3058ec96674696339e7e936170a8645ddc09b | 77e8e3cad25ce740fefb42859d9945cc482e009a | refs/heads/master | 2021-01-10T07:35:08.071207 | 2016-04-10T22:02:57 | 2016-04-10T22:02:57 | 55,870,021 | 5 | 1 | WTFPL | 2023-03-20T11:55:51 | 2016-04-09T22:36:23 | C++ | UTF-8 | C++ | false | false | 82 | cpp | #include "SymAlg.h"
SymAlg::SymAlg() :
keyset(false)
{}
SymAlg::~SymAlg(){}
| [
"lordnynex@gmail.com"
] | lordnynex@gmail.com |
bec48977bb48d90e928ac64e49382539f61b9648 | bbdb7a5e36e494574098ed6de85b38d69888fe90 | /blasr-master/alignment/Blasr.cpp | ee1347fbce5e04cae0ef110d997c23894731939b | [] | no_license | chenwi/reference | 5294ee65d75b17a0365f56a198aab3add3e70920 | 7ce094b12b2d76be18f9f07286c61e481bc03c6e | refs/heads/master | 2021-07-20T01:16:39.719966 | 2017-10-27T11:39:06 | 2017-10-27T11:39:06 | 103,332,774 | 0 | 0 | null | 2017-09-18T15:09:40 | 2017-09-13T00:07:27 | null | UTF-8 | C++ | false | false | 185,306 | cpp | #include <string>
#include <iostream>
#include <vector>
#include <set>
#include <sstream>
#include <pthread.h>
#include <stdlib.h>
#include <time.h>
#include <signal.h>
#include <execinfo.h>
#include <algorithm>
#include "MappingIPC.h"
#include "MappingSemaphores.h"
#include "CCSSequence.h"
#include "SMRTSequence.h"
... | [
"1587504387@qq.com"
] | 1587504387@qq.com |
316448e2f7d80cdf2157848add5df50b63cb69d9 | 560659d09dbc09eadbac35ce42e4653bfddb7df8 | /BSDSBench/source/Random.hh | cfce766c0b3c6be56366746819d4d3d292e28ecc | [] | no_license | bygreencn/FLIC | 44a941a44f5eb44b86aa95ed3aa65f868a8e8c2d | 8d01146fe0a405c68ca80e53f6d9c5f37f892d13 | refs/heads/master | 2020-03-25T09:19:10.289530 | 2018-04-14T11:47:52 | 2018-04-14T11:47:52 | 143,659,341 | 1 | 0 | null | 2018-08-06T00:57:57 | 2018-08-06T00:57:57 | null | UTF-8 | C++ | false | false | 4,015 | hh |
#ifndef __Random_hh__
#define __Random_hh__
// Copyright (C) 2002 David R. Martin <dmartin@eecs.berkeley.edu>
//
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License as
// published by the Free Software Foundation; either version 2 of ... | [
"zhaojiaxing@mail.nankai.edu.cn"
] | zhaojiaxing@mail.nankai.edu.cn |
4b4992ae028622524e99882743f73a627f151d23 | aae79375bee5bbcaff765fc319a799f843b75bac | /atcoder/arc_083/b.cpp | e201e3983723d3e1dc7faaf693f944836e44fb3b | [] | no_license | firewood/topcoder | b50b6a709ea0f5d521c2c8870012940f7adc6b19 | 4ad02fc500bd63bc4b29750f97d4642eeab36079 | refs/heads/master | 2023-08-17T18:50:01.575463 | 2023-08-11T10:28:59 | 2023-08-11T10:28:59 | 1,628,606 | 21 | 6 | null | null | null | null | UTF-8 | C++ | false | false | 238 | cpp | // B.
#include <iostream>
using namespace std;
int main(int argc, char *argv[]) {
int n, k, x, ans = 0;
cin >> n >> k;
for (int i = 0; i < n; ++i) {
cin >> x;
ans += min(x, abs(x - k)) * 2;
}
cout << ans << endl;
return 0;
}
| [
"karamaki@gmail.com"
] | karamaki@gmail.com |
b75aca9b0071b4e3ee23454d4710e1cd6443bd63 | 188fb8ded33ad7a2f52f69975006bb38917437ef | /Fluid/processor3/0.41/pointDisplacement | ca61fa222c6a66a4e543376bda9d0624a3a7ceea | [] | no_license | abarcaortega/Tuto_2 | 34a4721f14725c20471ff2dc8d22b52638b8a2b3 | 4a84c22efbb9cd2eaeda92883343b6910e0941e2 | refs/heads/master | 2020-08-05T16:11:57.674940 | 2019-10-04T09:56:09 | 2019-10-04T09:56:09 | 212,573,883 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 25,639 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: dev |
... | [
"aldo.abarca.ortega@gmail.com"
] | aldo.abarca.ortega@gmail.com | |
269b53727c797f0d387651aa70dee198cafc48aa | ac8e27210d8ae1c79e7d0d9db1bcf4e31c737718 | /tools/flang/runtime/libpgmath/lib/common/acos/fma3/vdacos2.cpp | 9ab2aaa643c7ab4aa10ab943afeb31e0ebc03f33 | [
"Apache-2.0",
"NCSA",
"LLVM-exception"
] | permissive | steleman/flang9 | d583d619bfb67d27a995274e30c8c1a642696ec1 | 4ad7c213b30422e1e0fcb3ac826640d576977d04 | refs/heads/master | 2020-11-27T09:50:18.644313 | 2020-03-07T14:37:32 | 2020-03-07T14:37:32 | 229,387,867 | 0 | 0 | Apache-2.0 | 2019-12-21T06:35:35 | 2019-12-21T06:35:34 | null | UTF-8 | C++ | false | false | 4,173 | cpp |
/*
* Copyright (c) 2017-2018, NVIDIA CORPORATION. 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
*
* Unles... | [
"stefan.teleman@cavium.com"
] | stefan.teleman@cavium.com |
3a12c0fed3efa7730b73c96f01d7944dc8d7f5e1 | 16d46f116d9b769801e745d763949b8f82dfeb18 | /foofxp/model/ftp/server_reply.hpp | 08cbb79a738a8d67cb7ab7f81a2a43b82820b50f | [] | no_license | rdingwall/foofxp | a89605c018fa14402ac81848ccfd478885f9286f | 0c2c42be5b5d75465d5a7b6a2eaf9786e135270c | refs/heads/master | 2016-09-06T20:12:37.713306 | 2012-08-06T20:38:14 | 2012-08-06T20:38:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,099 | hpp | #ifndef FOOFXP_SERVER_REPLY_HPP_INCLUDED
#define FOOFXP_SERVER_REPLY_HPP_INCLUDED
#include <stdexcept>
#include <string>
namespace foofxp {
namespace model {
namespace ftp {
class server_reply
{
public:
typedef unsigned short reply_code_type;
server_reply(const std::string & line);
bool is_end_of_reply() const... | [
"rdingwall@gmail.com"
] | rdingwall@gmail.com |
b1d3b1c0a008897dd43aca9b81fd95dce9cc2c38 | 32bfc176a5db0d59129f3c39381c46b0a520eb86 | /demos/parallaxhome/StreamMusicTest/HTTP_window.h | 1909696ee6acaef3a2ac664a2f2895e3d37c9b22 | [] | no_license | varzhou/Hifi-Pod | 2fb4c6bd3172720f8813fbbdf48375a10598a834 | eec4e27e37bc5d99b9fddb65be06ef5978da2eee | refs/heads/master | 2021-05-28T18:26:14.507496 | 2012-09-16T05:45:28 | 2012-09-16T05:45:28 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 760 | h | /*
* MyPlayer.h
*/
#ifndef MYHTTPWINDOW_H_
#define MYHTTPWINDOW_H_
#include <QWidget>
#include <QLabel>
#include <QLineEdit>
#include <QHttp>
#include <QFile>
#include <QProgressDialog>
#include <QListWidget>
#include <QPushButton>
struct MyDataItem
{
QString audio;
QString... | [
"root@(none).(none)"
] | root@(none).(none) |
c94152890c940b22bdb79f243c4f1585d5936f63 | 024d621c20595be82b4622f534278009a684e9b7 | /SupportPosCalculator.h | a5e6a26a02bc832a3e52b38065da83d11c7d94e0 | [] | no_license | tj10200/Simple-Soccer | 98a224c20b5e0b66f0e420d7c312a6cf6527069b | 486a4231ddf66ae5984713a177297b0f9c83015f | refs/heads/master | 2021-01-19T09:02:02.791225 | 2011-03-15T01:38:15 | 2011-03-15T01:38:15 | 1,480,980 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,396 | h | #ifndef SUPPORTING_POS_CALCULATOR_H
#define SUPPORTING_POS_CALCULATOR_H
#include "GameHeaders.h"
#include "Player.h"
class SupportPosCalculator
{
private:
D3DXVECTOR2 **regions,
goal,
RegSize;
Player *teammate,
*oppTeam,
*ballCarrier;
int rows,
cols,
numPlayer... | [
"tjjohnson10200@gmail.com"
] | tjjohnson10200@gmail.com |
b37a5dcbe93be479cd68f0592ac52b1d08062ad9 | 6b40e9dccf2edc767c44df3acd9b626fcd586b4d | /NT/base/wmi/cimmap/testinfo.cpp | f6a7e4ce64e3b048a4475186325dc40f9821db33 | [] | no_license | jjzhang166/WinNT5_src_20201004 | 712894fcf94fb82c49e5cd09d719da00740e0436 | b2db264153b80fbb91ef5fc9f57b387e223dbfc2 | refs/heads/Win2K3 | 2023-08-12T01:31:59.670176 | 2021-10-14T15:14:37 | 2021-10-14T15:14:37 | 586,134,273 | 1 | 0 | null | 2023-01-07T03:47:45 | 2023-01-07T03:47:44 | null | UTF-8 | C++ | false | false | 33,452 | cpp | //***************************************************************************
//
// TestInfo.CPP
//
// Module: CDM Provider
//
// Purpose: Defines the CClassPro class. An object of this class is
// created by the class factory for each connection.
//
// Copyright (c) 2000 Microsoft Corporation
... | [
"seta7D5@protonmail.com"
] | seta7D5@protonmail.com |
84ab2aa16985c967f720abaa413b4e8790fafbff | 61e6710132ac14b9a8a318576f11132fd48bd9c0 | /unityLibrary/src/main/Il2CppOutputProject/Source/il2cppOutput/UnityEngine.AnimationModule.cpp | 3cf151793a6e1dd64195b14dea3f8aef73b2821d | [] | no_license | gundarsv/FlyIt-Android | 3863976aac1fd9824a965669b4ec5437054d7ceb | 0669e7e8dbe502158eb6c8e8a17ec9e3aab1da73 | refs/heads/master | 2023-02-05T09:03:09.807679 | 2020-12-16T16:21:58 | 2020-12-16T16:21:58 | 296,871,087 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 242,284 | cpp | #include "pch-cpp.hpp"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <limits>
#include <stdint.h>
template <typename R, typename T1>
struct VirtFuncInvoker1
{
typedef R (*Func)(void*, T1, const RuntimeMethod*);
static inline R Invoke (Il2CppMethodSlot slot, RuntimeObject* obj... | [
"ionutputinicabz@gmail.com"
] | ionutputinicabz@gmail.com |
6681db0f9c7fff1a0f31e81abef08d88b6b052dd | 019a9c2de0eeccb4f31eecbeb0e91cc2db5404c2 | /CodeForces/680B - Bear and Finding Criminals.cpp | dc57644e9c6b0ffe3db976a8b8556cf89863f534 | [] | no_license | Prakhar-FF13/Competitive-Programming | 4e9bd1944a55b0b89ff21537e0960f058f1693fd | 3f0937475d2985da323e5ceb65b20dc458155e74 | refs/heads/master | 2023-01-09T05:09:27.574518 | 2023-01-04T11:32:01 | 2023-01-04T11:32:01 | 133,995,411 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 549 | cpp | #include<bits/stdc++.h>
using namespace std;
int main(){
int n,a;
cin>>n>>a;
a--;
int arr[n];
for(int i = 0 ; i < n ; i++){
cin>>arr[i];
}
int left = a-1, right = a+1;
int cnt = (arr[a] == 1);
while(left >= 0 && right < n){
if(arr[left] == 1 && arr[right] == 1) cnt+=... | [
"prakhar.meerut@gmail.com"
] | prakhar.meerut@gmail.com |
900bc4d73005c9ef3788977607df85fe56ef8c9e | 053770753a862f6406d5d3c20218d48a68ff777d | /src/abr/bola_basic.cc | 44e64094dde35abdf7fce44192a1e8d5a659877d | [] | no_license | bradparks/puffer__stream_live_tv_us | 4091e91beafa3bd62f61e302e0881c7a653a8814 | d9d28209193b89396bc113ec8dc53d0098753786 | refs/heads/master | 2022-10-02T04:13:40.169149 | 2020-06-09T20:19:31 | 2020-06-09T20:30:26 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,549 | cc | #include "bola_basic.hh"
#include "ws_client.hh"
#include <math.h>
#include <fstream>
#include <algorithm>
using namespace std;
BolaBasic::BolaBasic(const WebSocketClient & client, const string & abr_name)
: ABRAlgo(client, abr_name)
{
// TODO: Make gamma and V configurable
}
/* Note BOLA uses the raw value of u... | [
"emilykmarx@gmail.com"
] | emilykmarx@gmail.com |
d58de5a98808ba83f4adb971ef14e28838935d58 | 667fd9708e38e78331d16a58634bee468c26ec0c | /kernel/mem/intel_page_mapper.h | 76f4bc0bcc3f2cec59a5c20b9434fdd85d2e40de | [] | no_license | jcredland/fos | 16ffb9ec5122994628e1503728b250662f815795 | 23030d095d7c917380a2533d6b690cdf0ab30890 | refs/heads/master | 2020-05-05T02:22:21.594508 | 2015-03-18T08:38:06 | 2015-03-18T08:38:06 | 31,543,774 | 8 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 8,853 | h | #pragma once
#include <klibrary/klibrary.h>
#include <mem/mem_layout.h>
#include <mem/physical.h>
/*
* From the intel documentation:
*
All three paging modes translate linear addresses use hierarchical paging structures.
This section provides an overview of their operation. Section 4.3, Section 4.4,
and Section ... | [
"jim@cernproductions.com"
] | jim@cernproductions.com |
ee76c405f9bd006a80415e7606ceabce522a4dfe | 6ed471f36e5188f77dc61cca24daa41496a6d4a0 | /SDK/EngramEntry_ClothGloves_functions.cpp | 8e107cf50ff5a1b8ea9c68ca9201ea1fef28462f | [] | no_license | zH4x-SDK/zARKSotF-SDK | 77bfaf9b4b9b6a41951ee18db88f826dd720c367 | 714730f4bb79c07d065181caf360d168761223f6 | refs/heads/main | 2023-07-16T22:33:15.140456 | 2021-08-27T13:40:06 | 2021-08-27T13:40:06 | 400,521,086 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,036 | cpp |
#include "../SDK.h"
// Name: ARKSotF, Version: 178.8.0
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
namespace SDK
{
//---------------------------------------------------------------------------
// Functions
//---------------------------------------------------------------------------
// Function EngramEntry_Clo... | [
"zp2kshield@gmail.com"
] | zp2kshield@gmail.com |
08ac03775476373d6a5c0f147c2b8685f15b5df1 | 3ea22cdb46fd3e688cb66e1bd89500e59dea7203 | /Unidade 1/Códigos/Complex_V1/complex.cpp | 536fd368c432445c3fbce0d383ab92ced9a0c42a | [] | no_license | lariskelmer/PA | 8e8ce724cac4b5370cadfc43bf0cf85ddd8432ae | 286e3c8b91c2afeccadf39987c34a47edba94bd1 | refs/heads/master | 2020-08-28T01:46:56.053323 | 2018-05-30T05:18:44 | 2018-05-30T05:18:44 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 722 | cpp | #include <iostream>
#include <cmath>
#include "complex.h"
using namespace std;
// As funcoes
istream &operator>>(istream &X, Complex &C)
{
cout << "R? ";
X >> C.real;
cout << "I? ";
X >> C.imag;
return X;
}
ostream &operator<<(ostream &X, const Complex &C)
{
X << C.real << (C.imag<0.0 ?... | [
"luizfelipeplm@gmail.com"
] | luizfelipeplm@gmail.com |
e9cfbb91f4a31c5c8ad345b4cdfb043dbb99722f | ddf831f5865504bddb5ecef46b3e1c7d24be4ba1 | /flat.cpp | 9b4c8c894271cdbf5f1199f92a82ea4fd57c7a42 | [
"BSD-3-Clause"
] | permissive | termoshtt/flat_ffi_example | 9a60c1a88eb4c221a729105dbbb5ca93d33d2067 | 34e95857cf13133f36cde7bed924f55c4186c025 | refs/heads/master | 2020-06-18T20:33:45.195665 | 2019-07-12T11:02:49 | 2019-07-12T11:02:49 | 196,438,020 | 5 | 0 | BSD-3-Clause | 2019-07-12T11:02:50 | 2019-07-11T17:25:26 | CMake | UTF-8 | C++ | false | false | 434 | cpp | #include <boost/python.hpp>
#include <boost/python/numpy.hpp>
#include "data_generated.h"
namespace p = boost::python;
namespace np = boost::python::numpy;
np::ndarray new_zero1(unsigned int N) {
p::tuple shape = p::make_tuple(N);
np::dtype dtype = np::dtype::get_builtin<double>();
return np::zeros(shape, dtyp... | [
"toshiki.teramura@gmail.com"
] | toshiki.teramura@gmail.com |
47672f30fc0db0b3cae2c64dd9aa9d991ba15463 | 1741a8daf997608e9756c5cdee3391db030da3a0 | /svr/hall/src/HallHandlerProxy.cpp | 04a9266c96e2df4294742018b68def9975241826 | [] | no_license | Michael-Z/coins_ddz | 5cf13aa192cecde0b897a60c47dbfc7911fbba90 | 7fe015952ad7b7e0525eaaceb80c0c9ffbfe2864 | refs/heads/master | 2020-04-10T14:18:13.992316 | 2018-10-10T06:27:04 | 2018-10-10T06:27:04 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,083 | cpp | #include "HallHandlerProxy.h"
#include "global.h"
#include "Packet.h"
#include "ProcesserManager.h"
#include "SessionManager.h"
#include "HandlerManager.h"
#include "HallHandlerToken.h"
CPacketDecoder HallHandlerProxy::_decoder;
int HallHandlerProxy::OnAttachPoller(CTCPSocketHandler * phandler)
{
if (phandler->_d... | [
"Administrator@PV-X00179798"
] | Administrator@PV-X00179798 |
9c044830d185d99f299b02e026b676fb821df7c4 | 3760b0d86a3f16efb85a3944a3fdc25114050c00 | /ViCon/NetworkSender.cpp | e23bd72a51829a6fcf69151c4a451252684beb86 | [] | no_license | luringens/ViCon | 726a7eb271ac5c000275889987cd6cc36a6bd83b | 70d6d012c15d2bf605426d416d6ce558721e24e0 | refs/heads/master | 2023-08-09T03:28:53.234517 | 2017-03-01T09:05:54 | 2017-03-01T09:10:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,215 | cpp | #include "NetworkSender.h"
#include <iostream>
#include <string>
NetworkSender::NetworkSender(const char* port, const char* host)
{
// Set hints (blanking to zero)
struct addrinfo hints, *result;
memset(&hints, 0, sizeof hints);
hints.ai_family = AF_UNSPEC;
hints.ai_socktype = SOCK_DGRAM;
// Get address info of... | [
"soltvedt.stian@gmail.com"
] | soltvedt.stian@gmail.com |
7434286203b565510202c6e9344f3abeaf545b06 | 8a6656dd0dea2836c9b7cc63a3282054960ceec2 | /epos_arm_control/src/imu_velocity_control3.cpp | 7e9bfa3e14a364cada49408a770c43628d9f5cbd | [] | no_license | 1-mr-robot/Epos4-Control | ea3b61005d8acf5cb3be92a124b801447dd6cac8 | 92237a923330e657082991724492d96f6f4f3348 | refs/heads/main | 2023-04-18T02:08:23.864852 | 2021-05-03T12:31:17 | 2021-05-03T12:31:17 | 343,724,829 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,235 | cpp | #include "ros/ros.h"
#include "epos4.h"
#include <epos_arm_control/epos.h>
#include <std_msgs/Float64MultiArray.h>
#include <std_msgs/Float64.h>
epos_arm_control::epos arm_control;
std_msgs::Float64MultiArray angle;
std_msgs::Float64 error;
std_msgs::Float64 error_prev;
void arrayCallback(const std_msgs::Float64Mul... | [
"dhyan.bohra@gmail.com"
] | dhyan.bohra@gmail.com |
491eabef4de83000a7ccbe7d4cbe12c209e88e54 | 83bacfbdb7ad17cbc2fc897b3460de1a6726a3b1 | /v8_4_5/src/cpu-profiler.cc | f48499e5f0f62a827010335f5b78f195a98c93c2 | [
"bzip2-1.0.6",
"BSD-3-Clause",
"Apache-2.0"
] | permissive | cool2528/miniblink49 | d909e39012f2c5d8ab658dc2a8b314ad0050d8ea | 7f646289d8074f098cf1244adc87b95e34ab87a8 | refs/heads/master | 2020-06-05T03:18:43.211372 | 2019-06-01T08:57:37 | 2019-06-01T08:59:56 | 192,294,645 | 2 | 0 | Apache-2.0 | 2019-06-17T07:16:28 | 2019-06-17T07:16:27 | null | UTF-8 | C++ | false | false | 17,847 | 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/cpu-profiler-inl.h"
#include "src/compiler.h"
#include "src/deoptimizer.h"
#include "src/frames-inl.h"
#include "src... | [
"22249030@qq.com"
] | 22249030@qq.com |
7b3b6eeaa074dad8daccd9021e3aec9ff1d390aa | ac1c9fbc1f1019efb19d0a8f3a088e8889f1e83c | /out/release/gen/services/viz/public/mojom/compositing/filter_operations.mojom-blink-forward.h | b266020e3474e49d55c1e17e07f375ec80d5b47c | [
"BSD-3-Clause"
] | permissive | xueqiya/chromium_src | 5d20b4d3a2a0251c063a7fb9952195cda6d29e34 | d4aa7a8f0e07cfaa448fcad8c12b29242a615103 | refs/heads/main | 2022-07-30T03:15:14.818330 | 2021-01-16T16:47:22 | 2021-01-16T16:47:22 | 330,115,551 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 996 | h | // services/viz/public/mojom/compositing/filter_operations.mojom-blink-forward.h is auto generated by mojom_bindings_generator.py, do not edit
// Copyright 2019 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef SE... | [
"xueqi@zjmedia.net"
] | xueqi@zjmedia.net |
57c4bc9608ddcfae00b91c1ffde4a9cc02912e4c | 39adfee7b03a59c40f0b2cca7a3b5d2381936207 | /codeforces/196/C.cpp | 09e8cf5eae21eeac358d3b893b0cfa3ce39e1f02 | [] | no_license | ngthanhtrung23/CompetitiveProgramming | c4dee269c320c972482d5f56d3808a43356821ca | 642346c18569df76024bfb0678142e513d48d514 | refs/heads/master | 2023-07-06T05:46:25.038205 | 2023-06-24T14:18:48 | 2023-06-24T14:18:48 | 179,512,787 | 78 | 22 | null | null | null | null | UTF-8 | C++ | false | false | 2,626 | cpp | #include <iostream>
#include <algorithm>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <string>
#include <vector>
#include <queue>
#include <stack>
#include <map>
#include <set>
#include <iomanip>
#include <bitset>
#include <complex>
#define FOR(i,a,b) for(int i = a; i <= b; ++i)
#de... | [
"ngthanhtrung23@gmail.com"
] | ngthanhtrung23@gmail.com |
a9d61905b96fb623a7013e923ea4fb7f7db9e7e9 | 74212aa37999516a0aeba7ba1e71620a217f8e9d | /GameDemonstrator/game/GameOwnerRepository.cpp | fc8f15103b4430485fba9d0442869eeba900eebe | [] | no_license | raubwuerger/StrategicGameProject | 21729192518baa541f2c74f35cb0558a64292c2b | ce3e4c31383c44809e970996091067b94602fd92 | refs/heads/master | 2022-04-30T18:31:55.283915 | 2021-11-08T19:14:43 | 2021-11-08T19:14:43 | 19,796,707 | 0 | 0 | null | null | null | null | ISO-8859-1 | C++ | false | false | 2,201 | cpp | #include "stdafx.h"
#include "GameOwnerRepository.h"
#include "GameOwner.h"
#include "LogInterface.h"
GameOwnerRepository* GameOwnerRepository::Instance = nullptr;
GameOwnerRepository::GameOwnerRepository()
: BaseRepository(),
DefaultGameOwnerTypeId(NOT_INITIALIZED_INT)
{
}
GameOwnerRepository* GameOwnerRepositor... | [
"hannuschka@web.de"
] | hannuschka@web.de |
95a3b2c5b29786f927eedb518cdd49ee0bbd6472 | c57624029247759a6a21dbca7234941888c3c7f2 | /I_University-Graduate-Information-System_MaxHeap/University-Graduate-Information-System_MaxHeap.cpp | d8fe419aee2a5049b182d5ada89362d6a16ece71 | [
"MIT"
] | permissive | SYangChen/DS_practice | 858ecf54ff3851d7aef053ec1a3519116ab1b982 | 1c43606910894b5a1b5b1577663ec906ac8a8183 | refs/heads/master | 2022-11-24T13:38:49.433645 | 2020-07-24T01:44:55 | 2020-07-24T01:44:55 | 281,609,104 | 1 | 0 | null | null | null | null | BIG5 | C++ | false | false | 8,276 | cpp | #include <cstdlib>
#include <iostream>
#include <cstring>
#include <cstdio>
#include <fstream>
#include <vector>
#include <cmath>
using namespace std;
fstream fin ; // file input
fstream fout ; // file output
typedef struct Data {
int schoolCode ; //... | [
"yang870313@gmail.com"
] | yang870313@gmail.com |
cb276429b8f580be94c49f03f0622ccee6f53c7e | cecf6991e6007ee4bc32a82e438c9120b3826dad | /Win/Source/CoInitializer.h | a70c6dd049258c4366f0a0c5259f5e1af75894a5 | [] | no_license | thinking2535/Rso | 172a3499400331439a530cab78934fa4c4433771 | 35d556463118825a1d5d36f49d46f18a05806169 | refs/heads/main | 2022-11-30T12:43:50.917063 | 2022-11-23T10:47:59 | 2022-11-23T10:47:59 | 31,525,549 | 11 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 293 | h | #pragma once
#include "Base.h"
namespace rso
{
namespace win
{
class CCoInitializer
{
HRESULT _Result = S_FALSE;
public:
CCoInitializer();
CCoInitializer(CCoInitializer&& Var_);
virtual ~CCoInitializer();
CCoInitializer& operator = (CCoInitializer&& Var_);
};
}
}
| [
"thinking2535@gmail.com"
] | thinking2535@gmail.com |
7974965a1e23d05763f2508866076efcb560c04b | f049bfc58b5f7076e03b23e4508b0e63e2089890 | /Week_07/547.朋友圈.cpp | 46d97b3bf001e739a619ec38f579246e38877448 | [] | no_license | kangshuaibing/algorithm014-algorithm014 | 7335014eac544f642c961805137f39d6078fa774 | 879df27da75fac6042583d1e4a234ce7cb81c747 | refs/heads/master | 2022-12-28T20:14:26.640776 | 2020-10-16T08:32:50 | 2020-10-16T08:32:50 | 287,421,050 | 0 | 0 | null | 2020-08-14T02:04:45 | 2020-08-14T02:04:45 | null | UTF-8 | C++ | false | false | 187 | cpp | /*
* @lc app=leetcode.cn id=547 lang=cpp
*
* [547] 朋友圈
*/
// @lc code=start
class Solution {
public:
int findCircleNum(vector<vector<int>>& M) {
}
};
// @lc code=end
| [
"1326799350@qq.com"
] | 1326799350@qq.com |
d4e56acb960133f2f8aea88ad92d529c078f419d | eaed8df7c2ec6574742906453b41a9a988e97849 | /src/RcppExports.cpp | 3dfec1ba4ca005dc294284e63a1d9c5d796c8eaf | [] | no_license | ssnorrizaurous/prioritizr | ad3320e8de08f804de5e26bbc0b0f5293e8efde0 | 00d8fcacc519031e1e03fe667f085df886868924 | refs/heads/master | 2020-06-11T12:16:29.799739 | 2019-06-13T18:17:57 | 2019-06-13T18:17:57 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 25,074 | cpp | // Generated by using Rcpp::compileAttributes() -> do not edit by hand
// Generator token: 10BE3573-1514-4C36-9D1C-5A225CD40393
#include <RcppArmadillo.h>
#include <Rcpp.h>
using namespace Rcpp;
// rcpp_new_optimization_problem
SEXP rcpp_new_optimization_problem(std::size_t nrow, std::size_t ncol, std::size_t ncell)... | [
"jeffrey.hanson@uqconnect.edu.au"
] | jeffrey.hanson@uqconnect.edu.au |
4723ea6198ccff811412c423dfc8c9aceae61e85 | 6b40e9dccf2edc767c44df3acd9b626fcd586b4d | /NT/multimedia/dshow/filters/core/filgraph/filgraph/efcache.h | 3ee92656303941851a5c97c28049233c13d6b7eb | [] | no_license | jjzhang166/WinNT5_src_20201004 | 712894fcf94fb82c49e5cd09d719da00740e0436 | b2db264153b80fbb91ef5fc9f57b387e223dbfc2 | refs/heads/Win2K3 | 2023-08-12T01:31:59.670176 | 2021-10-14T15:14:37 | 2021-10-14T15:14:37 | 586,134,273 | 1 | 0 | null | 2023-01-07T03:47:45 | 2023-01-07T03:47:44 | null | UTF-8 | C++ | false | false | 1,666 | h | // Copyright (c) Microsoft Corporation 1999. All Rights Reserved
//
//
// efcache.h
// Definition of CEnumCacheFilter which implementents
// the filter enumerator for the filter cache
//
#ifndef EnumCachedFilter_h
#define EnumCachedFilter_h
class CMsgMutex;
class CFilterCache;
class CEnum... | [
"seta7D5@protonmail.com"
] | seta7D5@protonmail.com |
b3b5a6dd72a5918bc6d9e04381331f5ac253efa2 | 402b890909f0bea35c52bf5c67cf47c49ec7b93b | /11 - GTLib/weblapok_GTlib jeles/webpageEnor.cpp | 42cb8476cbacca15b5141f05600952353c8a3b19 | [] | no_license | kovacs-levent/ELTEProg | 528baee1bb8bd57b17087eee1e095997a29586f2 | 2f8c0ee953628381709ba0876943568b038156f6 | refs/heads/master | 2020-07-27T14:54:52.652474 | 2019-05-15T16:56:19 | 2019-05-15T16:56:19 | 145,883,210 | 3 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 297 | cpp | #include "webpageEnor.h"
void webpageEnor::next()
{
isEnd = f.end();
if(!isEnd)
{
actpage.url = f.current().url;
unpopular up(actpage.url, f.current().onceUnpopular);
up.addEnumerator(&f);
up.run();
actpage.onceUnpopular = up.result();
}
}
| [
"42651399+kovacs-levent@users.noreply.github.com"
] | 42651399+kovacs-levent@users.noreply.github.com |
e7fb41475352f5af5ee01ac71545abc250ff78a6 | 73ea06441b74590dd0eba308a217f0a75de758b2 | /include/person_detection_pcl/impl/head_based_subcluster.hpp | 89b69112c1630b577a16bcd74775bcea370a6458 | [] | no_license | songlang/csapex_person_detection_pcl | e71aefcf2d2386b51d55fdefe02b002465fe9f51 | d3dcf9a6b9742c2a9baf4a3a1dcfe96ef9c7ac71 | refs/heads/master | 2020-06-13T21:44:52.141639 | 2017-09-15T15:16:33 | 2017-09-15T15:16:33 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,066 | hpp | /*
* Software License Agreement (BSD License)
*
* Point Cloud Library (PCL) - www.pointclouds.org
* Copyright (c) 2013-, Open Perception, Inc.
*
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* ... | [
"philipp.kuhlmann@student.uni-tuebingen.de"
] | philipp.kuhlmann@student.uni-tuebingen.de |
282dddfb2c05304cdfc6d8fca31cf8838ad76261 | 73c170c1fd36044d834853883fd8c555b12a065d | /src/show.h | a97d9fabea02db3e5c489cb98db60bd1d2e3d1b1 | [] | no_license | LnL7/scp2 | ce1fc5ce8408e69d6bf1ae229bf74494dcd1c095 | d9196137ea334b6b484e621517cb25ab414444be | refs/heads/master | 2016-09-07T18:54:48.382718 | 2014-11-24T13:02:32 | 2014-11-24T13:02:32 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 297 | h | #include "types.h"
#ifndef SHOW_H
#define SHOW_H
namespace Show {
template< class A
, class Show = typename A::Show >
String show(const A& a) { return Show(a).s; }
OString buf() {
OString os;
os.setf(std::ios::fixed);
os.precision(2);
return os;
}
};
#endif
| [
"daiderd@gmail.com"
] | daiderd@gmail.com |
882af3f0d3dfee924b6ba1cd6a2b131af0273094 | dc1031bd6a17f5eb67abe8702f70465f2dc31b5b | /core/core/src/Component.cpp | 6388bd4efa110345505ffabb956380fbd7b86ddb | [] | no_license | y0rshl/SimpleEngine | 46e03219474f2dbee71554deebd0f5af96121bad | 196f9131d17293ef27924b054e0041b16af5f08e | refs/heads/master | 2020-05-21T15:02:32.648992 | 2016-09-08T21:55:38 | 2016-09-08T21:56:17 | 64,023,935 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 70 | cpp | //
// Created by SANDSTORM04 on 8/11/16.
//
#include "Component.hpp"
| [
"jorge@sandstormi.com"
] | jorge@sandstormi.com |
44afadfedf11b5ce7fbe2eeb1423a633134fa8ea | 2c465b240d5718b89a2b2ed0c560a5a3d7f28190 | /qtree.h | 85bedaaaa652d4a923fb1c7dd6bccbd55ba70858 | [] | no_license | AlexZhou876/nbody | d96ff20edc371752fe69421ae1f25e66f41b0e78 | c8640d37c9eed0ccd40e9a06186eeed0b80c897d | refs/heads/master | 2023-05-03T10:01:04.952098 | 2021-05-16T01:07:15 | 2021-05-16T01:07:15 | 366,889,443 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,330 | h | #ifndef QTREE_H_
#define QTREE_H_
#include <vector>
#include "particle.h"
#include "vec2d.h"
#include "sim.h"
#include "SFML/Graphics.hpp"
class Node;
class QTree : public Sim {
public:
QTree();
QTree(std::vector<Particle*> particles, float width);
// nested tree traversal to compute next position for a... | [
"azhou02@students.cs.ubc.ca"
] | azhou02@students.cs.ubc.ca |
366c8023dc7f88cf4ca0cd48daa7646d5ea3abad | 87990bd79a7305428fb9e324dab7103e14010ccf | /include/Mesh.hpp | c960147e15f9dbcf5883f8f0daa1c7c9eefef13d | [] | no_license | code-overseer/Gravity | 6b68ff0f8f26ac6a79639722daceb9ad08878454 | 1514834486706608176c7be3f7f1c257b6b400b6 | refs/heads/master | 2023-02-04T22:29:29.084036 | 2020-03-21T20:26:19 | 2020-03-21T20:26:19 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 578 | hpp | #ifndef GRAVITY_MESH_HPP
#define GRAVITY_MESH_HPP
#include <mathsimd.hpp>
#include <vector>
#include <cstdint>
namespace gravity {
struct Mesh {
Mesh() = default;
Mesh(Mesh const&mesh) = default;
Mesh(Mesh &&mesh) noexcept : vertices(std::move(mesh.vertices)), triangles(std::move(mesh.triang... | [
"wongjengyan@gmail.com"
] | wongjengyan@gmail.com |
42cbfc83712cfc13890c8248c9033cc7bec25faf | 1dfd12072c1926b6ea710c090573ecbb7bdc08bd | /FactoryReset/FactoryReset.ino | c27149473d53bd8f5650135bed06359bc1802955 | [] | no_license | prudolph/arduinoProjects | c57c65d5e13e45848a1039a545516cae35321a4d | b8297a64fda05a2b4efb2d4aa4071fc6a3994142 | refs/heads/master | 2020-04-12T05:16:32.693407 | 2018-12-18T17:34:53 | 2018-12-18T17:34:53 | 162,320,964 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,946 | ino | /**************************************************************
*
* To run this tool you need StreamDebugger library:
* https://github.com/vshymanskyy/StreamDebugger
* or from http://librarymanager/all#StreamDebugger
*
* TinyGSM Getting Started guide:
* http://tiny.cc/tiny-gsm-readme
*
******************... | [
"paul.e.rudolph@gmail.com"
] | paul.e.rudolph@gmail.com |
8475dde519418d51419088b94478785dbf73f91c | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/squid/gumtree/squid_repos_function_2865_last_repos.cpp | 71914a1f7d705a1154da57e4c7467f8963cd9b6e | [] | no_license | niuxu18/logTracker-old | 97543445ea7e414ed40bdc681239365d33418975 | f2b060f13a0295387fe02187543db124916eb446 | refs/heads/master | 2021-09-13T21:39:37.686481 | 2017-12-11T03:36:34 | 2017-12-11T03:36:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 698 | cpp | static void
snmpConstructReponse(SnmpRequest * rq)
{
struct snmp_pdu *RespPDU;
debugs(49, 5, "snmpConstructReponse: Called.");
if (UsingSmp() && IamWorkerProcess()) {
AsyncJob::Start(new Snmp::Forwarder(static_cast<Snmp::Pdu&>(*rq->PDU),
static_cast<Snm... | [
"993273596@qq.com"
] | 993273596@qq.com |
4dd7fc228c38f25c1ebd65e6a1f1a1b473453d01 | 3d2f45bcecde8dff7e4131b65cdeb0ce32cff03f | /CppSystemCase01/SystemApp/EasyXDemo/EasyXDemo.cpp | b324ef27d9a58886ff780f0df648bb6cb7d2b772 | [
"Unlicense"
] | permissive | lvse301/CppCase01 | 94ffa8071daa372e274faad4fb4798f9b36fb9c1 | 339611a9200aee83ce5399699920a6867443f014 | refs/heads/main | 2023-03-07T10:55:38.102298 | 2021-02-21T10:06:06 | 2021-02-21T10:06:06 | 337,090,149 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,796 | cpp | // EasyXDemo.cpp : 此文件包含 "main" 函数。程序执行将在此处开始并结束。
//
#include <iostream>
#include <graphics.h>
#include <ctime>
#include <conio.h>
#include <vector>
using namespace std;
// 枚举蛇的方向
enum position { Up=1, Down, Left, Right };
// 坐标属性
struct point
{
int x;
int y;
};
// 蛇的属性
struct Snake
{
vector <point> xy; ... | [
"lvese301@gmail.com"
] | lvese301@gmail.com |
e543557c6c755b3aa4ec7ef7eff35d2c865e43a8 | 9dc8658d35c6d7e15b93595a46e23f80c1303c84 | /ray_tracing_in_1_weekend/given/sphere.h | d47bbf3894dba28c870a5220e2cc48fbe2959f40 | [] | no_license | fengjilanghen/DirectX11Tutorial11 | a5e0622bc29d22559aacb2ee2e32f6a5c18b9485 | 42de7071f6128165deba5e016011b242a4486ccc | refs/heads/master | 2021-01-22T10:09:22.726402 | 2017-09-24T10:07:38 | 2017-09-24T10:07:38 | 102,335,787 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,259 | h | #ifndef SPHEREH
#define SPHEREH
#include "hitable.h"
class sphere: public hitable {
public:
sphere() {}
sphere(vec3 cen, float r, material *m) : center(cen), radius(r), mat_ptr(m) {};
virtual bool hit(const ray& r, float tmin, float tmax, hit_record& rec) const;
vec3 center;
... | [
"fengjilanghen@gmail.com"
] | fengjilanghen@gmail.com |
7a538350ca9488d16e751a2817b04a57f9bc61dc | 80e24133e76a3c760ecd6a8e60be59d3dcfad6e8 | /src/entities/enttypes.h | 7b4b981c8b91d9acdc2d2f1ead31ec56eaffc264 | [] | no_license | CiprianBeldean/omega-Y | 385840926e823bb9665bf272d8048eb278972712 | 3426da42f8dff4033efe53cf9cef1bb11eeb1c7c | refs/heads/master | 2022-02-05T00:01:57.712787 | 2019-07-29T10:54:04 | 2019-07-29T10:54:04 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 374 | h | #ifndef __ENTTYPES_H__
#define __ENTTYPES_H__
namespace EntityTypes {
enum GameEntityTypes : unsigned {
FREE_CAMERA = 101, // we start at 101 to avoid collision with EntityTypes::EType from boglfw
PLAYER = 102,
TERRAIN = 103,
SKYBOX = 104,
PROJECTILE = 105, // all projectiles have this ent... | [
"bog2k3@gmail.com"
] | bog2k3@gmail.com |
65494cd7a54172a3194c040bbf6f339e821ee436 | 36e79e538d25d851744597f7f76afffc13d1f3f2 | /inc/vtl/xtl/Xtl_Progress.hpp | 203d6c40e36d844e70ba8d2d067a05f3995d5c60 | [] | no_license | nagyistoce/VideoCollage | fb5cea8244e7d06b7bc19fa5661bce515ec7d725 | 60d715d4a3926040855f6e0b4b4e23663f959ac5 | refs/heads/master | 2021-01-16T06:05:03.056906 | 2014-07-03T06:20:09 | 2014-07-03T06:20:09 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,762 | hpp | #ifndef __XTL_HELPER_HPP__
#define __XTL_HELPER_HPP__
/*************************************************************************\
Oliver Liyin Copyright (c) 2003
Module Name:
Abstract:
General helper functions and classes
Notes:
Usage:
1. IProgress interface
History:
Created on 2004 Ju... | [
"junx1992@gmail.com"
] | junx1992@gmail.com |
de0b0ac8353db2717df78c60ebe4d64305824221 | 90db83e7fb4d95400e62fa2ce48bd371754987e0 | /src/chrome/browser/chromeos/net/network_diagnostics/network_diagnostics_util.h | 037fb3411c6fd7fde0dd5a11a521c9522f97d8d8 | [
"BSD-3-Clause"
] | permissive | FinalProjectNEG/NEG-Browser | 5bf10eb1fb8b414313d5d4be6b5af863c4175223 | 66c824bc649affa8f09e7b1dc9d3db38a3f0dfeb | refs/heads/main | 2023-05-09T05:40:37.994363 | 2021-06-06T14:07:21 | 2021-06-06T14:07:21 | 335,742,507 | 2 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 2,903 | h | // Copyright 2020 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_CHROMEOS_NET_NETWORK_DIAGNOSTICS_NETWORK_DIAGNOSTICS_UTIL_H_
#define CHROME_BROWSER_CHROMEOS_NET_NETWORK_DIAGNOSTICS_NETWORK_DIAGNO... | [
"sapirsa3@ac.sce.ac.il"
] | sapirsa3@ac.sce.ac.il |
ae69bb02fb40bb1791bb2ce973e458a5cf72aeab | b3e63b99e7e9c4c7b85c282fdfa5df292e48c5ea | /Unreal/UnTexture4.cpp | 6e40271946eed8c3f7e79d238e4ed3c1d524eb78 | [] | no_license | shyanxiaowen/UModel | fdd82d27b33430412e5b9d97284f791507011864 | 5657d09317dc5c1d32853aaff1c8b41c64f30f37 | refs/heads/master | 2021-01-15T10:26:40.606336 | 2015-06-26T15:09:06 | 2015-06-26T15:09:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,275 | cpp | #include "Core.h"
#include "UnCore.h"
#include "UnObject.h"
#include "UnMaterial.h"
#include "UnMaterial3.h"
#include "UnPackage.h"
//#define DEBUG_TEX 1
#if DEBUG_TEX
#define DBG(...) appPrintf(__VA_ARGS__);
#else
#define DBG(...)
#endif
/*----------------------------------------------------... | [
"git@gildor.org"
] | git@gildor.org |
833dda8483449645a785b1540fcca6625f630984 | dc650d6e924de04990458c8f5a42dca4a165450a | /2016.08.14-2016-CCPC2016-Online/C.cpp | 2b7c53bf25c56feaa6d73800dfce172d93f96685 | [] | no_license | Nerer/Mjolnir | 2d5f465988d9792682b16599d50af316a261fef8 | 823870125697f8355f3df52e97836af2a74c78c7 | refs/heads/master | 2021-01-21T01:44:22.618215 | 2016-08-14T12:38:05 | 2016-08-14T12:38:05 | 64,058,347 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,282 | cpp | #include <bits/stdc++.h>
using namespace std;
const int N = 100010;
int n, a[N];
struct edge
{
int v, w, next;
}e[N * 2];
int head[N], k;
int fa[N];
int f[N], g[N], ff[N], gg[N], ans[N];
vector <int> f1[N], f2[N];
vector <int> g1[N], g2[N];
int dis[N];
void adde(int u, int v, int w)
{
e[k].v = v;
e[k].w = w;
... | [
"xunayun1996@163.com"
] | xunayun1996@163.com |
ec8d60d5fe138c033a5652fbb724b803c6f0f8ca | 97a019b52a56cfd16cd7c4dbb730e83c581d2b3e | /Archived/Research/Benchmark/SetupEnvironment.h | d52e124bf1b64d6b92d6e2f5c54a13037829d51b | [] | no_license | nalinraut/high-level-Motion-Planning | f0263dcfa344b914159b0486370bc544552ac360 | 08cd792124defba63583ba6ae6394b20329d38c0 | refs/heads/master | 2020-03-09T04:20:12.846801 | 2018-04-09T06:11:29 | 2018-04-09T06:11:29 | 128,585,159 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,020 | h | /*
* File: SetupEnvironment.h
* Author: Jingru
*
* Created on March 13, 2012, 11:35 AM
*/
#ifndef READENVIRONMENT_H
#define READENVIRONMENT_H
#include <iostream>
#include <fstream>
#include <sstream>
#include <cstring>
#include <ompl/base/ScopedState.h>
#include <math/vector.h>
#include "Polyhe... | [
"rautnalin@gmail.com"
] | rautnalin@gmail.com |
17114ae5eab86ba0d9f08ba65e2d1768736e6aba | f63196d2f8340031e2ad4845eda2cf02212b6506 | /drawer/D3DEngine.cpp | 7da70305a81ee735b9fc3e4db4379cf670ab86dd | [] | no_license | RoyLab/TuneCurve | 3af103534eb4af661ff588dd15181682e7c5e696 | 5a6b610cd818097edad743961071e073421031c3 | refs/heads/master | 2021-01-01T15:40:25.356752 | 2014-08-27T02:21:59 | 2014-08-27T02:21:59 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,770 | cpp | #include "stdafx.h"
#include "D3DEngine.h"
#include "VirtualDeviceDx11.h"
#include "Camera.h"
#include "Shader2D.h"
#include "Ellipse.h"
D3DEngine::D3DEngine(void):
mD3D(nullptr), mCamera(nullptr),
mShader(nullptr), mCircle(nullptr)
{
}
D3DEngine::~D3DEngine(void)
{
}
bool D3DEngine::Initialize(int width, int h... | [
"t_wangr@SHACNG210WV8D.ads.autodesk.com"
] | t_wangr@SHACNG210WV8D.ads.autodesk.com |
2a517a5c8400cb5aaf380e7df1f6e03a8314ad73 | a0f05422a36a84de78631999edd3510f014fd532 | /code/quicksort/cpp/2276.cpp | 650170997709f6d0a948097ff1d153ca95a5bb9b | [] | no_license | yijunyu/bi-tbcnn | 20093acc433cac7ee69d297117a6b928151d7cc5 | 74d0410d6ff07dad99014d7ef34a7d353202ca8b | refs/heads/master | 2021-09-18T13:17:22.526840 | 2018-02-21T16:25:49 | 2018-02-21T16:25:49 | 111,034,124 | 6 | 3 | null | 2017-11-16T23:31:54 | 2017-11-16T23:31:54 | null | UTF-8 | C++ | false | false | 874 | cpp | #include<iostream>
using namespace std;
int Partition(int a[], int beg, int end) //Function to Find Pivot Point
{
int p=beg, pivot=a[beg], loc;
for(loc=beg+1;loc<=end;loc++)
{
if(pivot>a[loc])
{
a[p]=a[loc];
a[loc]=a[p+1];
a[p+1]=pivot;
p=p+1;
}
}
return p;
}
void QuickSort(int a[], int beg, int end)
{
i... | [
"y.yu@open.ac.uk"
] | y.yu@open.ac.uk |
7bd9678b54f6db4de4b099d6e54007c4b419c293 | c6a311cec2cdca13e2facf1e93c92cc01656de7b | /filter/FilterEdge.cpp | f1a2ef7763992896db60ceb138d60b2e5a6b65a5 | [] | no_license | junewoop/projects | f01cba4037fb855fd03806c387e1ffc1d3d2167d | bb4543980eedd33676310ec4ce0201d2378c437a | refs/heads/master | 2023-08-27T02:55:58.514142 | 2021-11-05T21:16:55 | 2021-11-05T21:16:55 | 298,744,123 | 0 | 0 | null | 2020-09-26T05:28:07 | 2020-09-26T05:28:06 | null | UTF-8 | C++ | false | false | 1,882 | cpp | #include "FilterEdge.h"
FilterEdge::FilterEdge(float p) :
m_p(p)
{
}
FilterEdge::~FilterEdge()
{
}
void FilterEdge::apply(Canvas2D *canvas){
// apply Grayscale
FilterGray::apply(canvas);
// load image
std::vector<float> vec_gray, tmp_g_x, tmp_g_y;
loadImage(canvas, vec_gray, tmp_g_x, tmp_g_y... | [
"40329273+junewoop@users.noreply.github.com"
] | 40329273+junewoop@users.noreply.github.com |
c5384efb2b6f0acf6aa88dbba7a23cfa935d093b | 47cceefe390101069de80d0b1af4ee7bdbec1d6e | /groups/bdl/bdlmt/bdlmt_multiprioritythreadpool.t.cpp | 5439a5d30ece12d8280934b0478c047c89ca5870 | [
"Apache-2.0"
] | permissive | mversche/bde | a184da814209038c8687edaa761f420aa3234ae2 | 842c7e5c372eb5c29f7984f3beb4010d1c493521 | refs/heads/master | 2021-01-21T23:45:25.376416 | 2015-11-06T19:15:10 | 2015-11-06T19:15:10 | 29,453,231 | 2 | 0 | null | 2015-01-19T04:13:24 | 2015-01-19T04:13:22 | null | UTF-8 | C++ | false | false | 63,997 | cpp | // bdlmt_multiprioritythreadpool.t.cpp -*-C++-*-
// ----------------------------------------------------------------------------
// NOTICE
//
// This component is not up to date with current BDE coding standards, and
// should not be used as an example f... | [
"mgiroux@bloomberg.net"
] | mgiroux@bloomberg.net |
85a83521b2a1ae7ec86fedc6103300e85377618e | aa07f25902c510ce7b7e2d4c2544e47960521fa9 | /interface/gen-cpp/ant_types.cpp | 560c1a233fce197aa6e76317ff2918deb83aab97 | [] | no_license | thejasper/JAMAnt | 68c44b50eaa576c3e1613c369042327862a323c1 | 21de0fdb1f5512372b6d76cf8698dae1d5de1541 | refs/heads/master | 2016-08-05T03:57:30.812195 | 2013-02-21T09:38:28 | 2013-02-21T09:38:28 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | true | 2,252 | cpp | /**
* Autogenerated by Thrift Compiler (0.9.0)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
*/
#include "ant_types.h"
#include <algorithm>
namespace robotics {
const char* AntSettings::ascii_fingerprint = "EEBC915CE44901401D881E6091423036";
const uint8_t AntSettings::binary... | [
"jasper_desmadryl@hotmail.com"
] | jasper_desmadryl@hotmail.com |
112585c0e28bf2efa7ff0a7f06e0e569c6b856c5 | 410e45283cf691f932b07c5fdf18d8d8ac9b57c3 | /ui/compositor/host/host_context_factory_private.cc | f8b1e4b8c64809bf3b151f0578e3bfe6f5b2d6b6 | [
"BSD-3-Clause"
] | permissive | yanhuashengdian/chrome_browser | f52a7f533a6b8417e19b85f765f43ea63307a1fb | 972d284a9ffa4b794f659f5acc4116087704394c | refs/heads/master | 2022-12-21T03:43:07.108853 | 2019-04-29T14:20:05 | 2019-04-29T14:20:05 | 184,068,841 | 0 | 2 | BSD-3-Clause | 2022-12-17T17:35:55 | 2019-04-29T12:40:27 | null | UTF-8 | C++ | false | false | 11,637 | cc | // 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.
#include "ui/compositor/host/host_context_factory_private.h"
#include "base/command_line.h"
#include "base/trace_event/trace_event.h"
#include "build/bui... | [
"279687673@qq.com"
] | 279687673@qq.com |
a4603c66aaaa9ca05fd823bd5993af1ccec43953 | 22d3eb446ad65e5d5228c228d37a82845580bac1 | /src/include/entry.h | c5349af068a7903c8f11694bff495c25117a4c4d | [] | no_license | chenanton/issue-tracker | d5cd1adc4a218efb1356cbb0feafd7c9f40042b7 | 7fbfc9eaba8259f86e86196e1c2921a83dac453f | refs/heads/master | 2022-12-17T13:49:35.020973 | 2020-09-08T00:49:32 | 2020-09-08T00:49:32 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,714 | h | /*
Anton Chen 2020
github.com/azychen/issue-tracker
*/
#pragma once
#include <algorithm>
#include <chrono>
#include <ctime>
#include <iostream>
#include <string>
#include <dirent.h>
// Abstract class, represents a generic entry,
// is inherited by Group and Issue classes.
class Entry {
protected:
sta... | [
"antonzychen+github@gmail.com"
] | antonzychen+github@gmail.com |
ff22e61b8e326591a8b86777a060cb9e1fa44ebd | 916b2132bcd49372fca98c3002d49b70daf741d3 | /overloading.cpp | 72a89b51b5e34b17aadb949d2084231394589a67 | [] | no_license | JaeHun0304/cpp_study | 863e07b07506d6c0b920f476aa38e3006a458261 | afb10ff210a91ea13e476a6f71a1db42f625e92d | refs/heads/main | 2023-01-13T09:45:16.689204 | 2020-11-09T03:30:20 | 2020-11-09T03:30:20 | 310,962,593 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,496 | cpp | // The <bits/stdc++.h> is a header file. This file includes all standard library.
#include <bits/stdc++.h>
using namespace std;
// function overloading class example (compile time polymorphism)
class Funcoverload
{
public:
// function with 1 int parameter
void func(int x){
cout << "value of x is " << x << en... | [
"jaehjung@DESKTOP-56SU65I.localdomain"
] | jaehjung@DESKTOP-56SU65I.localdomain |
713d89c733d45ec1ea501179e5554e03a3f91604 | 71873fbecd1786d3f1eeb94c04a46c3a8b0afd71 | /cycle1/experiment2/filemanipulation.cpp | 2a8db6bdbf25d573dc379e1b48438c0b054460f4 | [] | no_license | abhishek-sankar/NetworkingLab | 1580b444e7510f9be63b12e96bfe4440a7c3df7f | 0c4693f3cb03cf11b7bf7fb74ff54babdd91af57 | refs/heads/master | 2022-01-11T17:46:47.661133 | 2019-06-27T16:31:04 | 2019-06-27T16:31:04 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 543 | cpp | #include<iostream>
#include<fstream>
using namespace std;
int main(){
ifstream in;
in.open("helloworld.txt");
if(in == NULL){
cout<<"Error opening file";
return 1;
}
ofstream out;
out.open("byeworld.txt");
string line;
if(out == NULL){
cout<<"Error opening file "... | [
"bilaljaleel123@gmail.com"
] | bilaljaleel123@gmail.com |
329a34a72ca31e2dd02f163e7e7d36e25ca7f6d5 | 1f63dde39fcc5f8be29f2acb947c41f1b6f1683e | /Boss2D/addon/tensorflow-1.2.1_for_boss/tensorflow/stream_executor/stream_executor_pimpl.cc | fe5da12639fdb73b18e9b5526b00e101dd509e25 | [
"MIT",
"Apache-2.0"
] | permissive | koobonil/Boss2D | 09ca948823e0df5a5a53b64a10033c4f3665483a | e5eb355b57228a701495f2660f137bd05628c202 | refs/heads/master | 2022-10-20T09:02:51.341143 | 2019-07-18T02:13:44 | 2019-07-18T02:13:44 | 105,999,368 | 7 | 2 | MIT | 2022-10-04T23:31:12 | 2017-10-06T11:57:07 | C++ | UTF-8 | C++ | false | false | 26,290 | cc | /* Copyright 2015 The TensorFlow Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or a... | [
"slacealic@gmail.com"
] | slacealic@gmail.com |
dab2b3b60cee9b2eba8fa2c5f8615b9abbaa1ae8 | 8f2d8e1e85e2962721e32093fbb4deaf3e318e3f | /SDK/PUBG_MasteryPoseScene_structs.hpp | a6f8677f90203e935008bd8cfe0f2d56a16c74b4 | [] | no_license | besimbicer89/PUBG-SDK | f8878bea83bb1e560e3ae3d026e9245ab7d5a360 | bdb95dfd6176ec54f8df1653968c7bfbea90150d | refs/heads/master | 2022-04-17T01:47:26.574416 | 2020-04-09T10:42:19 | 2020-04-09T10:42:19 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,672 | hpp | #pragma once
// PUBG (7.2.8.10) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "PUBG_Basic.hpp"
#include "PUBG_CoreUObject_classes.hpp"
namespace SDK
{
//---------------------------------------------------------------------------
//Script Structs
//-----------------------------------------------------... | [
"1263178881@qq.com"
] | 1263178881@qq.com |
3f4281f33746d0db30b09320a01bb3164ce2bc9e | 86c164c2af0779d80adbaa84c995e90541b923b8 | /plugins/com.phonegap.plugins.barcodescanner/src/ios/ZXingWidgetLibrary/ZXingWidgetLibrary/core/zxing/oned/OneDReader.h | 5fa01927f7f458ec9d6707cd2c05532e512e42ce | [
"Apache-2.0",
"MIT"
] | permissive | vinfo/personalID | 59cb1681e4fd2381c6490e8af23b4da78a498158 | 836c9fddb77cdfc076d0cff2b80d7b56b4666c98 | refs/heads/master | 2020-05-27T01:31:12.258354 | 2019-05-24T23:39:56 | 2019-05-24T23:39:56 | 188,438,768 | 0 | 0 | NOASSERTION | 2019-10-30T07:42:52 | 2019-05-24T14:44:54 | Java | UTF-8 | C++ | false | false | 2,277 | h | // -*- mode:c++; tab-width:2; indent-tabs-mode:nil; c-basic-offset:2 -*-
#ifndef __ONED_READER_H__
#define __ONED_READER_H__
/*
* OneDReader.h
* ZXing
*
* Copyright 2010 ZXing authors All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except i... | [
"victor.valencia@gmail.com"
] | victor.valencia@gmail.com |
483901516e4aa989184ca0d7238b0321995981fd | 57a7d082c3553fdd592eedbdaede23495b5c5644 | /MyPoker/proj.ios_mac/Common/RoomConfig.cpp | 410d4099acc9c0c4a0bc5e2a6f7eb8f2988b8220 | [] | no_license | cnceo/NewProject | f18ed4edaa33ba7dde129dd8ce51648cc509c58e | f87d4cd3702cb567a0c282043c42cf4a2b4f637f | refs/heads/master | 2020-03-28T23:04:06.802755 | 2017-04-13T08:25:34 | 2017-04-13T08:25:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,947 | cpp | #include "RoomConfig.h"
#include "CommonDefine.h"
#include "LogManager.h"
#include <assert.h>
void stSpeedRoomConfigs::AddConfig(stTaxasRoomConfig* pConfig)
{
VEC_BLIND_ROOM_CONFIG* pVec ;
if ( pConfig->nMaxSeat == 5 )
{
pVec = &m_vPlayerCountRoom[eSeatCount_5] ;
}
else
{
pVec = &m_vPlayerCount... | [
"xuwenyanbill@gmail.com"
] | xuwenyanbill@gmail.com |
f16025fc4e1e707ab9f0d7596acc605576f2a4b5 | 4bcc9806152542ab43fc2cf47c499424f200896c | /tensorflow/examples/custom_ops_doc/multiplex_2/multiplex_2_kernel.cc | bf42b49b55cd36df4570c487a4fde309bbd1fc6e | [
"Apache-2.0",
"LicenseRef-scancode-generic-cla",
"BSD-2-Clause"
] | permissive | tensorflow/tensorflow | 906276dbafcc70a941026aa5dc50425ef71ee282 | a7f3934a67900720af3d3b15389551483bee50b8 | refs/heads/master | 2023-08-25T04:24:41.611870 | 2023-08-25T04:06:24 | 2023-08-25T04:14:08 | 45,717,250 | 208,740 | 109,943 | Apache-2.0 | 2023-09-14T20:55:50 | 2015-11-07T01:19:20 | C++ | UTF-8 | C++ | false | false | 1,543 | cc | /* Copyright 2021 The TensorFlow Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or a... | [
"gardener@tensorflow.org"
] | gardener@tensorflow.org |
a3630e9b2a2a6684bd36a5286f7a308612c77561 | 646b92654d11cdd269b82cd819d5b72ed5c0ef69 | /qnx_system/backtrace/main.cpp | 5ce2e9107c49c3b856b2e7424638a5afe4b9587f | [] | no_license | yanvasilij/cpp_examples | 832b8d20665b107e486b2a915325ab99ad5fe408 | 35bd2effac66cc6217bd5fdec899f97ab5b73873 | refs/heads/master | 2023-03-24T09:04:18.589338 | 2021-03-05T06:55:03 | 2021-03-05T06:55:03 | 302,635,669 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,400 | cpp | /**
* @brief Пример получения дампа при аварийном завершении программы
* @author Yanikeev-VS
*/
#include <thread>
#include <iostream>
#include <chrono>
#include <backtrace.h>
using VoidFunction = void (*)();
bt_accessor_t acc;
bt_accessor_t acc_sighandler1;
bt_addr_t pc_sighandler1[10];
int cnt_sighandler1;
bt_mem... | [
"yanikeev-vs@nefteavtomatika.ru"
] | yanikeev-vs@nefteavtomatika.ru |
83669b4d74a0c157fbddb273b7664c8363cb9cf3 | c73288f7d678db17b08b72277b02f7dadb558ed8 | /lib/Time/examples/TimeArduinoDue/TimeArduinoDue.ino | a1470605ec18750d0503c21d7e85fdbb1df06e74 | [] | no_license | judsonc/esp-medidor | 608a13da63fbd9fd6141b48bb70fd487261823c9 | dbf0a3f173d9b6a565241fb9c6f3f7bae2111a72 | refs/heads/master | 2021-01-21T14:24:47.798039 | 2017-06-28T06:15:34 | 2017-06-28T06:15:34 | 95,278,608 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,964 | ino | #include <Arduino.h>
/*
* TimeRTC.pde
* example code illustrating Time library with Real Time Clock.
*
* This example requires Markus Lange's Arduino Due RTC Library
* https://github.com/MarkusLange/Arduino-Due-RTC-Library
*/
#include <TimeLib.h>
#include <rtc_clock.h>
// Select the Slowclock sourc... | [
"judson.scosta@hotmail.com"
] | judson.scosta@hotmail.com |
aea1ba8e7b00a8035a5ead2b69661937800d5a86 | 7029a18f2e72cac9e8c0af3f43a0f37dcbd429f8 | /gunir/utils/create_tablet.cc | 9807dea95ae7da99d18ad4bf83e31d8c574dfcf4 | [] | no_license | GregHWayne/gunir | f542975e1eaf9a6a72ea533d03a6ea488d7979ac | 66a57a961cc9169dbf1d0a8cc0e0d6e99e106a01 | refs/heads/master | 2021-01-17T21:52:05.581720 | 2015-07-29T03:51:25 | 2015-07-29T03:51:25 | 39,935,844 | 1 | 0 | null | 2015-07-30T06:53:44 | 2015-07-30T06:53:44 | null | UTF-8 | C++ | false | false | 2,598 | cc | // Copyright (C) 2015. The Gunir Authors. All rights reserved.
// Author: An Qin (anqin.qin@gmail.com)
//
// Description:
#include "gunir/utils/create_tablet.h"
#include <vector>
#include "thirdparty/gflags/gflags.h"
#include "thirdparty/glog/logging.h"
#include "gunir/io/dissector.h"
#include "gunir/io/tablet_writ... | [
"qinan@baidu.com"
] | qinan@baidu.com |
c8e9c2355dc4f24287945b3b9b714ac5e16d76c4 | 3edd3da6213c96cf342dc842e8b43fe2358c960d | /abc/abc060/c/main.cpp | 838222def1dd4cfd6486d96ee908d4a681627172 | [] | no_license | tic40/atcoder | 7c5d12cc147741d90a1f5f52ceddd708b103bace | 3c8ff68fe73e101baa2aff955bed077cae893e52 | refs/heads/main | 2023-08-30T20:10:32.191136 | 2023-08-30T00:58:07 | 2023-08-30T00:58:07 | 179,283,303 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 270 | cpp | #include <bits/stdc++.h>
using namespace std;
#define REP(i, n) for(int i = 0; i < n; i++)
using ll = long long;
int main() {
int t,n,T,ans=0,y=0; cin >> n >> T;
REP(i,n) {
cin >> t;
ans += min(T,t-y);
y = t;
}
cout << ans + T << endl;
return 0;
} | [
"ccpzjoh@gmail.com"
] | ccpzjoh@gmail.com |
5a94fc0825251160c0fe1fe00c004a5520257395 | 9befd4e34b23e172f29bfa8c6a8ca3b6dd5fdb8e | /include/Console.h | 4463df36d9f7c11fefd4ff068f7bab7dceb04143 | [] | no_license | Toliak/BMSTU-AL-HW4 | 7b5c9e6a1cba7385864227ca7dde09df362b682d | 307a49eb02df24408f1f3e3b39fb10c0304feb80 | refs/heads/master | 2020-05-04T18:54:13.766686 | 2019-05-02T17:17:51 | 2019-05-02T17:17:51 | 179,371,002 | 5 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,855 | h | #pragma once
#include <string>
#include <unordered_map>
#include <list>
#include "Shortcut.h"
class Console
{
private:
std::istream *istream = nullptr;
std::ostream *ostream = nullptr;
std::list<std::string> prefixes = {};
public:
Console() = default;
Console(std::istream &istream, std::ostrea... | [
"ibolosik@gmail.com"
] | ibolosik@gmail.com |
c5e4180f101ca6546b50972174de1aee60db7b6a | 5466c25ca58b5a5c6fdd128f882c1405a8373d80 | /modules/engine/include/bullet3/BulletCollision/CollisionShapes/btBoxShape.h | 3202fc2628aa778c1ed9f8a3bff5c573f4501fa8 | [
"MIT"
] | permissive | alexlitty/randar | 73781d877daafb1a62b5e86251c31ee101831bcb | 95daae57b1ec7d87194cdbcf6e3946b4ed9fc79b | refs/heads/master | 2020-05-27T12:59:49.744931 | 2018-03-27T05:15:35 | 2018-03-27T05:16:01 | 73,526,607 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,837 | h | /*
Bullet Continuous Collision Detection and Physics Library
Copyright (c) 2003-2009 Erwin Coumans http://bulletphysics.org
This software is provided 'as-is', without any express or implied warranty.
In no event will the authors be held liable for any damages arising from the use of this software.
Permission is grant... | [
"github@alexlitty.com"
] | github@alexlitty.com |
f8c521a28e3b1c67df0859c1c568b0acab804040 | 0fc3861eca64f9a7b145ec67a71108e6f4ea025a | /Protobuf.CPP/Protos/SeverSocketMessages.pb.h | de388529104a2669f0622f36d65b2235502651da | [] | no_license | lobboAngelov/FlexSoft.CommonProto | 40b80565dcb7ca36d2106ab2b273c7a1f1d7dcaa | 6580857b7d70bea32abb8a0e795975e8082bf0f4 | refs/heads/master | 2020-03-06T22:59:48.045562 | 2018-03-31T13:26:08 | 2018-03-31T13:26:08 | 127,120,091 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | true | 24,545 | h | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: Protos/SeverSocketMessages.proto
#ifndef PROTOBUF_Protos_2fSeverSocketMessages_2eproto__INCLUDED
#define PROTOBUF_Protos_2fSeverSocketMessages_2eproto__INCLUDED
#include <string>
#include <google/protobuf/stubs/common.h>
#if GOOGLE_PROTOBUF_VERS... | [
"langelov@melontech.com"
] | langelov@melontech.com |
dfb82ee6e2232980d48b9d2b18d862c4bb30e925 | 46fc9ccf00cc6e59e31a7ad9914e06ba5d76edf2 | /src/qt/dogecash/settings/settingssignmessagewidgets.h | 1cd3cbcc3a0dede462df5970b5e0fdd5863397a6 | [
"MIT"
] | permissive | Grimer123/dogecash | c5618a304fa84860f56ca6dc6ddf626ee9ef591c | 86efd92f340187a972f0b8d5b9778c65bbe34ef2 | refs/heads/master | 2020-09-12T13:14:54.871320 | 2019-11-17T23:28:37 | 2019-11-17T23:28:37 | 222,436,653 | 0 | 0 | MIT | 2019-11-18T11:47:56 | 2019-11-18T11:47:55 | null | UTF-8 | C++ | false | false | 1,269 | h | // Copyright (c) 2019 The DogeCash developers
// Copyright (c) 2019 The PIVX developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef SETTINGSSIGNMESSAGEWIDGETS_H
#define SETTINGSSIGNMESSAGEWIDGETS_H
#include <QWidget... | [
"akshaycm@hotmail.com"
] | akshaycm@hotmail.com |
739faf2332e5e2b1cf1b0d36bcf77269a56c6784 | 5181e2dd87941613b74be655fd621c13c1032d31 | /1. Nhap mon lap trinh_chuong04_ma tran/bai080.cpp | ccbc835e1855d476c8e25eeca94c65b094b24999 | [] | no_license | my-hoang-huu/My-hh | 36c57bcc0ff2a6f09d1404af502a63c94dfd7b92 | 176a0ec629438260ef1a44db82fe1a99a59c809f | refs/heads/main | 2023-06-05T03:03:18.421699 | 2021-05-07T00:36:26 | 2021-05-07T00:36:26 | 342,750,649 | 0 | 0 | null | 2021-05-07T00:36:27 | 2021-02-27T02:18:47 | C++ | UTF-8 | C++ | false | false | 1,450 | cpp | #include<iostream>
#include<iomanip>
#include<cstdlib>
#include<ctime>
using namespace std;
void Nhap(float[][50], int&, int&);
void Xuat(float[][50], int, int);
float Kt(float[][50], int, int);
void XuLy(float[][50], int, int);
int main()
{
float a[20][50];
int m;
int n;
Nhap(a, m, n);
cout << "Ma tran ban dau: ... | [
"hhmy1995@gmail.com"
] | hhmy1995@gmail.com |
f6e3ebb8414b7c4060407c7d039bfc2c35071aa9 | 794ec36417d1f5fe9f8a8dfefee17169ba346447 | /UESTC/205/10148932_AC_267ms_5084kB.cpp | 29ebea2653fb4f95d79e26b0b66aa5b9a06b1099 | [] | no_license | riba2534/My_ACM_Code | 1d2f7dacb50f7e9ed719484419b3a7a41ba407cf | fa914ca98ad0794073bc1ccac8ab7dca4fe13f25 | refs/heads/master | 2020-03-24T01:19:19.889558 | 2019-03-11T03:01:09 | 2019-03-11T03:01:09 | 142,331,120 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,523 | cpp | #include <cstdio>
#include <cstring>
#include <cctype>
#include <string>
#include <set>
#include <iostream>
#include <stack>
#include <cmath>
#include <queue>
#include <vector>
#include <algorithm>
#define mem(a,b) memset(a,b,sizeof(a))
#define inf 0x3f3f3f3f
#define N 101000
#define ll long long
using namespace std;
#... | [
"riba2534@qq.com"
] | riba2534@qq.com |
541dc949044b21600d132257e2bea5ff37145e6d | 1f69ad2e0e3a4f95128552116e0b6f9d178ffbee | /sgm-vulkan/sgm-vulkan.h | b9cf8749ec9e09f91989c0986d8ef8837fc37eb4 | [] | no_license | AbyssGaze/stereo-sgm-opencl | 59feb4cb26e528e8a2a2c92aa873157ffbf5197c | c14471392df338bbf72689b96c4804060f5bc082 | refs/heads/master | 2021-01-02T09:18:51.809612 | 2017-06-24T19:45:20 | 2017-06-24T19:45:20 | 99,192,400 | 2 | 0 | null | 2017-08-03T04:59:33 | 2017-08-03T04:59:33 | null | UTF-8 | C++ | false | false | 2,019 | h | #pragma once
#include <vulkan/vulkan.hpp>
class StereoSGMVULKAN
{
public:
StereoSGMVULKAN(int width, int height, int max_disp_size);
~StereoSGMVULKAN();
bool init();
void execute(void * left_data, void * right_data, void * output_buffer);
private:
void initVulkan();
void census();
void mem_init();
void matchi... | [
"siposcsaba89@live.com"
] | siposcsaba89@live.com |
cde4fc3ecff55e901b481eec2af0d9bcf8614d4d | 4c4a17ddb659849c0e46df83ef910cc5e74a6afd | /src/marnav/seatalk/message_89.hpp | ff5ce3c008215993f8d4bff6f6584bd667f518ae | [
"BSD-3-Clause",
"BSD-4-Clause"
] | permissive | Kasetkin/marnav | 39e8754d8c0223b4c99df0799b5d259024d240c8 | 7cb912387d6f66dc3e9201c2f4cdabed86f08e16 | refs/heads/master | 2021-01-23T05:03:51.172254 | 2017-03-19T23:08:16 | 2017-03-19T23:08:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,243 | hpp | #ifndef MARNAV__SEATALK__MESSAGE_89__HPP
#define MARNAV__SEATALK__MESSAGE_89__HPP
#include <marnav/seatalk/message.hpp>
namespace marnav
{
namespace seatalk
{
/// @brief Compass heading sent by ST40 compass instrument
///
/// @code
/// 89 U2 VW XY 2Z
///
/// Compass heading sent by ST40 compass instrument
/// (it is ... | [
"mario.konrad@gmx.net"
] | mario.konrad@gmx.net |
3f81d43cf5b328d327697395db2fae44d8566bbe | 5525d270883134aff70cc686ca3be2484ceffb9c | /src/app/widget/Vector.h | 80d830a7d09583d9e0882a6405fe55c878c209bf | [] | no_license | WilstonOreo/Tomo | 7907a3811c19b70eb64c978ce0feba291adb9e5c | c5bcdd18878f7950b8e5f607d3d48aaf9d95a05e | refs/heads/master | 2021-01-19T01:26:39.373934 | 2016-06-21T11:43:02 | 2016-06-21T11:43:02 | 61,629,539 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 482 | h | #pragma once
#include "ui_Vector.h"
#include <tomo/base/gex.hpp>
namespace tomo
{
namespace widget
{
class Vector : public QWidget, public Ui::Vector
{
Q_OBJECT
public:
Vector(QWidget* _parent =nullptr);
~Vector();
void setValue(const Vec3&);
TBD_PROPERTY_REF_RO(Vec3,va... | [
"m@cr8tr.org"
] | m@cr8tr.org |
7d577e9630d1771cea12874c7db5ba7a6990668f | 37aed740a238ff7b083c769a01361b3050cde7fb | /cpp04/ex01/main.cpp | e8f16fb4991c528dc4ed67a5e678a8ffb2393b90 | [] | no_license | nawaraing/cppModule | e96961510b7974203befb5edd4d9a336696ddb59 | 437265c5070fd2714d20fea36248d22e2515ed34 | refs/heads/master | 2023-03-28T18:00:36.821494 | 2021-03-29T11:40:53 | 2021-03-29T11:40:53 | 340,276,195 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 503 | cpp | #include "Character.hpp"
#include "PowerFist.hpp"
#include "PlasmaRifle.hpp"
#include "RadScorpion.hpp"
#include "SuperMutant.hpp"
int main()
{
Character* me = new Character("me");
std::cout << *me;
Enemy* b = new RadScorpion();
AWeapon* pr = new PlasmaRifle();
AWeapon* pf = new PowerFist();
me->equip(pr);
std:... | [
"nawaddaing@gmail.com"
] | nawaddaing@gmail.com |
2ad5e141de705b754e8a133a2acffee70e76a617 | cf3302a478551167d14c577be171fe0c1b4a3507 | /src/cpp/activemq/activemq-cpp-3.2.5/src/test/activemq/wireformat/openwire/marshal/v2/ActiveMQBlobMessageMarshallerTest.h | 2a98a7c52194301a919c5d93c757021fe61deb2b | [
"Apache-2.0"
] | permissive | WilliamDrewAeroNomos/muthur | 7babb320ed3bfb6ed7905a1a943e3d35aa03aedc | 0c66c78af245ef3b06b92172e0df62eb54b3fb84 | refs/heads/master | 2016-09-05T11:15:50.083267 | 2015-07-01T15:49:56 | 2015-07-01T15:49:56 | 38,366,076 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,276 | h | /*
* 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 ... | [
"wdrew@aeronomos.com"
] | wdrew@aeronomos.com |
d168457c625f43e1c86632b03bda64ecb33afc28 | 433410a07309822d47614d879aa95208150a0b61 | /canYouWin.cpp | 5c97a7a35158c1be8de232aca3cbeb199424cb0e | [] | no_license | aditya1944/Scaler-Questions | c141b12cfcf618101e7f47d9ebcdaf097fdebdee | f1fe38d165751d239d2471d7a89b3d397cde1d9a | refs/heads/master | 2023-01-07T08:02:55.230168 | 2020-11-09T11:46:47 | 2020-11-09T11:46:47 | 271,989,746 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,126 | cpp | #include<iostream>
struct TreeNode {
int val;
TreeNode *left;
TreeNode *right;
TreeNode(int x) : val(x), left(NULL), right(NULL) {}
};
void find(TreeNode* A, int C,TreeNode** ptr){
if(!A){
return ;
}
if(A->val==C){
*ptr = A;
return;
}
find(A->left,C,ptr);
... | [
"aditya1944@live.com"
] | aditya1944@live.com |
445480b79021eeaa3b35b571838d690ecd5ccbca | 2098c74a59133c985e10f57a901bc5839a6d1333 | /Source/Editors/XrECore/Editor/UIRenderForm.cpp | c6b4c5440a607e2bd156c136d193edbe7b77b65c | [] | no_license | ChuniMuni/XRayEngine | 28672b4c5939e95c6dfb24c9514041dd25cfa306 | cdb13c23552fd86409b6e4e2925ac78064ee8739 | refs/heads/master | 2023-04-02T01:04:01.134317 | 2021-04-10T07:44:41 | 2021-04-10T07:44:41 | 266,738,168 | 1 | 0 | null | 2021-04-10T07:44:41 | 2020-05-25T09:27:11 | C++ | UTF-8 | C++ | false | false | 3,356 | cpp | #include "stdafx.h"
#include "UIRenderForm.h"
#include "ui_main.h"
UIRenderForm::UIRenderForm()
{
m_mouse_down = false;
m_mouse_move = false;
m_shiftstate_down = false;
}
UIRenderForm::~UIRenderForm()
{
}
void UIRenderForm::Draw()
{
ImGui::Begin("Render");
if (UI && UI->RT->pSurface)
{
int ShiftState = ssNo... | [
"i-sobolevskiy@mail.ru"
] | i-sobolevskiy@mail.ru |
4f18623ad06821be0fba3f55cf54ca488114fa6d | a39cdf77168b11d7eea4e0ac29919884560a3211 | /2303.cpp | e0623a2988ee78151706f4fad14d4aef86ec03e3 | [] | no_license | EEngblo/GBS_2014_info | e8eb082922e89017f8a60a4a52f7b9264b93dade | 6d5e0b349efc2e6c5f745b146741de1d8619107b | refs/heads/master | 2016-09-05T13:02:37.751706 | 2014-11-05T02:33:04 | 2014-11-05T02:33:04 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 298 | cpp | #include <iostream>
using namespace std;
int main(){
int n, a, b, answ;
int arr[10001] = {};
cin >> n;
for (int i = 1; i <= n; i++)
cin >> arr[i];
do{
answ = 0;
cin >> a >> b;
for (int i = a; i <= b; i++)
answ += arr[i];
cout << answ << endl;
} while (a || b);
return 0;
} | [
"sheogorath0213@gmail.com"
] | sheogorath0213@gmail.com |
8ed41a845798203dcbf6d07590d02fc4dc1ff44e | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/xgboost/xgboost-old-new/xgboost-old-new/dmlc_xgboost_old_file_386.cpp | fd6800ce49b09016987cb799bcf2c130fe8f2c66 | [] | no_license | niuxu18/logTracker-old | 97543445ea7e414ed40bdc681239365d33418975 | f2b060f13a0295387fe02187543db124916eb446 | refs/heads/master | 2021-09-13T21:39:37.686481 | 2017-12-11T03:36:34 | 2017-12-11T03:36:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 17,825 | cpp | #ifndef XGBOOST_REGRANK_H
#define XGBOOST_REGRANK_H
/*!
* \file xgboost_regrank.h
* \brief class for gradient boosted regression and ranking
* \author Kailong Chen: chenkl198812@gmail.com, Tianqi Chen: tianqi.tchen@gmail.com
*/
#include <cmath>
#include <cstdlib>
#include <cstring>
#include "xgboost_regrank_data.h"
#in... | [
"993273596@qq.com"
] | 993273596@qq.com |
35eca4f2fa77db6935ca18221cc5a9b754b39b67 | 3ae80dbc18ed3e89bedf846d098b2a98d8e4b776 | /src/IO/ViewFileBufferL.cpp | 683571767cf38940fcc365cc6acb24b47896734f | [] | no_license | sswroom/SClass | deee467349ca249a7401f5d3c177cdf763a253ca | 9a403ec67c6c4dfd2402f19d44c6573e25d4b347 | refs/heads/main | 2023-09-01T07:24:58.907606 | 2023-08-31T11:24:34 | 2023-08-31T11:24:34 | 329,970,172 | 10 | 7 | null | null | null | null | UTF-8 | C++ | false | false | 1,259 | cpp | #include "Stdafx.h"
#include "MyMemory.h"
#include "IO/ViewFileBuffer.h"
#include <unistd.h>
#include <stdio.h>
#include <fcntl.h>
#include <sys/types.h>
#include <sys/mman.h>
IO::ViewFileBuffer::ViewFileBuffer(const UTF8Char *fileName)
{
this->filePtr = 0;
this->fileHandle = (void*)(OSInt)open((co... | [
"sswroom@yahoo.com"
] | sswroom@yahoo.com |
430bb6c3b68246c26a00b127895ce8e08c7dcc3f | 9f520bcbde8a70e14d5870fd9a88c0989a8fcd61 | /pitzDaily/804/phia | a8cba1ac4a1f9059fd25e3e928299eaff0a3e639 | [] | 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 | 235,037 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v1806 |
... | [
"as998@snu.edu.in"
] | as998@snu.edu.in | |
670c5a964a6ac105f3deb3345fa693491c3d6ffa | 105d30f94b958b5548adcaec2eb52aead72e26ff | /src/StateEnemy.cpp | 7cb83de97c81eabc2517b396dc457a4417d5d174 | [
"MIT"
] | permissive | CaioIcy/Dauphine | fc51dd9c6d9b7387943075c02f1a6642e76e816c | 8fd9bb649fea25ff5422ce11c305cffc52080d63 | refs/heads/master | 2020-12-24T16:40:35.059079 | 2015-12-04T17:54:37 | 2015-12-04T17:54:37 | 41,003,672 | 1 | 1 | null | 2015-08-19T00:05:51 | 2015-08-19T00:05:50 | null | UTF-8 | C++ | false | false | 145 | cpp | #include "StateEnemy.h"
StateEnemy::StateEnemy(Enemy* const enemy_) :
enemy(enemy_)
{
}
StateEnemy::~StateEnemy(){
this->enemy = nullptr;
}
| [
"caio.nardelli@hotmail.com"
] | caio.nardelli@hotmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.