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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
fda12e39ca8f790c9ed0cca337daa03175a02ceb | b1f475245f859009aa36b7a173350c392bf8a62a | /hw7/hw7_q1/hw7_q1.cpp | 0af9ecde8050b629e80fd66db5ec5324a22a0879 | [] | no_license | NaveganteX/NYU-Bridge | 98e55bd4520aab4e8c1d3e51a3392e03bb101dde | 869e1be7ca30113d1522b90597967ae3bed083af | refs/heads/master | 2022-07-08T06:24:42.543523 | 2020-05-17T16:24:57 | 2020-05-17T16:24:57 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,832 | cpp | #include <iostream>
#include <string>
using namespace std;
int printMonthCalendar(int numOfDays, int startingDay);
bool isLeapYear(int year);
int printYearCalendar(int year, int startingDay);
int main() {
int year = 0, firstDay = 0;
cout << "Please enter a year: ";
cin >> year;
cout << "Enter the fir... | [
"lhon001@gmail.com"
] | lhon001@gmail.com |
15455f5cd23a5b75111a09139aac1b21fa416cb8 | 054fbc9ca03e4ef0c06b448ac2215a4a5ee308c1 | /Chiller Code/Chiller.cpp | d4136324112b4b084d808ceb73337f7515030476 | [] | no_license | mlab-upenn/chiller_model | 5c3f1cb9b1a0a59d52f3a269ad4aeb0559d714e6 | adb3ea845eaa49892a394632010553ab0734dd61 | refs/heads/master | 2020-12-28T20:55:21.355955 | 2014-01-27T22:12:28 | 2014-01-27T22:12:28 | 16,287,888 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,057 | cpp | // Chiller.cpp : Defines the entry point for the console application.
//
#include <math.h>
#include <mex.h>
#include "Headers\Protos.h"
#include "Headers\Properties.h"
#include "Headers\Components.h"
#include "Headers\NumRecipes.h"
#include "Headers\ErrorLog.h"
ErrorLog errorlog;
#define N_NODES_C 15
#define N_NODES... | [
"willybernal@gmail.com"
] | willybernal@gmail.com |
e011a76e9c3d506527aecb3198e018630b61f6ca | eb0c8b001de4e935cf3597d416e48cf1d9df6e9b | /include/universal/integer/integer_exceptions.hpp | fd90553213c303bd275fbc69dece4aeff6a29c7f | [
"MIT",
"LGPL-3.0-only",
"LicenseRef-scancode-public-domain"
] | permissive | gussmith23/universal | 073547eb4801b96bf16ee01d333c2be453aa5cc6 | b26fae9983105c876385d6cb0cc53ccb946ddd10 | refs/heads/master | 2020-12-27T21:45:30.620646 | 2020-02-02T00:50:12 | 2020-02-02T00:50:12 | 238,068,916 | 0 | 0 | MIT | 2020-02-03T21:48:41 | 2020-02-03T21:48:40 | null | UTF-8 | C++ | false | false | 1,641 | hpp | #pragma once
// integer_exceptions.hpp: definition of integer exceptions
//
// Copyright (C) 2017-2020 Stillwater Supercomputing, Inc.
//
// This file is part of the universal numbers project, which is released under an MIT Open Source license.
#include <exception>
#if defined(__clang__)
/* Clang/LLVM. ---------------... | [
"theo@stillwater-sc.com"
] | theo@stillwater-sc.com |
26db506f8de7d47b4b92f4433d34c167fd43f0d4 | 215c9bd0c27e6a43c46d72072d14eeb2622d6fa5 | /code/easylogging++.cc | a87f0b8970bb00bb6228f0753959759251ec2a95 | [
"MIT"
] | permissive | oargudo/mountains | 2d4b695db0741ceaf224f6df41c3b0a564065e59 | b295281f81ed93163b71f5caf7465b0a91df8bb2 | refs/heads/master | 2021-05-23T09:43:01.344765 | 2020-09-15T17:58:18 | 2020-09-15T17:58:18 | 253,226,688 | 4 | 0 | MIT | 2020-09-15T17:58:20 | 2020-04-05T12:13:11 | C++ | UTF-8 | C++ | false | false | 121,481 | cc | //
// Bismillah ar-Rahmaan ar-Raheem
//
// Easylogging++ v9.96.4
// Cross-platform logging library for C++ applications
//
// Copyright (c) 2012-2018 Muflihun Labs
// Copyright (c) 2012-2018 @abumusamq
//
// This library is released under the MIT Licence.
// https://github.com/muflihun/easyloggingpp/blob/master/... | [
"akirmse@gmail.com"
] | akirmse@gmail.com |
c5e3abc5c7cc479ae272f3513690c8544b68928b | 707b9564d3d7d9c55a748974e273f1a8a5816eb5 | /paths_in_graphs2/shortest_paths.cpp | b683e16ffeef6d6a232b6fd6c060bd3b6c710f37 | [] | no_license | Aditya88Gupta/Graphs | d2186581194342d5515570772059da3ccf379e41 | 83a2d32c5962bbbbe90504bc469229b2c558e974 | refs/heads/main | 2023-06-02T08:38:57.071525 | 2021-06-22T06:32:26 | 2021-06-22T06:32:26 | 338,612,970 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,505 | cpp | #include <iostream>
#include <limits>
#include <vector>
#include <queue>
using std::vector;
using std::queue;
void BFS(vector<vector<int> > &adj, vector<bool> Visited, vector<bool> &shortest){
queue<int> Q;
for(size_t i=0;i<adj.size();i++){
if(Visited[i]==true)
Q.push(i);
}
while(!Q.empty()){
in... | [
"prince88aditya@gmail.com"
] | prince88aditya@gmail.com |
ca97173781cf2e744b41fbb79f8376a6bfbdf163 | a6b698105aec67701cdd509cb9a48528786049d2 | /RegainEarthCheat/SDK/W_Setting_SoundFrame_classes.h | 94683dc60c913616492b0e56846c0348ab7ed3b6 | [] | no_license | ejiaogl/RegainEarth-Cheat | 859d44d8400a3694b4e946061b20d30561c6304f | 4136c2c11e78e9dbb305e55556928dfba7f4f620 | refs/heads/master | 2023-08-29T09:39:45.222291 | 2021-10-19T19:56:05 | 2021-10-19T19:56:05 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,116 | h | #pragma once
// Name: RegainEart-FirtstStrike, Version: Version-1
/*!!DEFINE!!*/
/*!!HELPER_DEF!!*/
/*!!HELPER_INC!!*/
#ifdef _MSC_VER
#pragma pack(push, 0x01)
#endif
namespace CG
{
//---------------------------------------------------------------------------
// Classes
//--------------------------------------... | [
"64608145+Fischsalat@users.noreply.github.com"
] | 64608145+Fischsalat@users.noreply.github.com |
161e054f468322015256a4ed5c336c6a52d717c5 | 39eca8f785bb50992d5d1ce97e1b05cb8445954a | /USACO/2016OpenGold/SplittingTheField.cpp | 26d4290220da75218939ddcdf20d54e400addce2 | [] | no_license | diegoteran/Contest-Archive | eea5c14f17812216d48e89ec121a326328d8b6a5 | 0992a5914ec0b9140a33c2219b3cf740b2dc0658 | refs/heads/master | 2021-05-16T02:45:57.126921 | 2017-09-28T02:37:50 | 2017-09-28T02:37:50 | 42,429,676 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,626 | cpp | #include <iostream>
#include <fstream>
#include <algorithm>
#define fst first
#define snd second
#define MAXN 50010
#define mp make_pair
using namespace std;
typedef pair<long long, long long> pii;
long long N, x, y, xMax[MAXN], xMin[MAXN], yMax[MAXN], yMin[MAXN], A, B, a, b;
pii xf[MAXN];
int main(){
ifstream i... | [
"diegoteran94@gmail.com"
] | diegoteran94@gmail.com |
019ffd74308eb759a81486888ccd2f49d5934fa4 | ee5880c557312a993caf74ad1bda6e4b810fdd6f | /CArmWorkStation/FunctionalWidget/Config/QConfigPageAbstract.h | 34ba0903551d9d7233eeeaf60ca82ccc8f4babb8 | [] | no_license | isliulin/MobileCArm | f6d8fa49d57f2d4558783337daa36a5c83df85c4 | 344776d2f960855cc5c13e303aa1e6a801dcc224 | refs/heads/master | 2023-03-18T22:08:34.517191 | 2020-09-10T02:32:28 | 2020-09-10T02:32:28 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,168 | h | #ifndef QCONFIGPAGEABSTRACT_H
#define QCONFIGPAGEABSTRACT_H
#include <QWidget>
#include "Config.h"
#define ToQSTR(v) (QString::fromStdString(v))
#define QStr2Std(v) (v.QString::toStdString())
#define UNOVERWRITEVIRTUAL() virtual void updatePage(){}; \
virtual void savePage(){}; ... | [
"783393587@qq.com"
] | 783393587@qq.com |
62496f4c415b0e82cbd1fb496077d28bb61f2fee | 67bf93cfae8f8153e65601fd3bc5442349ee665c | /Chapter14/winec2.cpp | ed2fc2f0baf3cb7038f27e340195b9913018988b | [] | no_license | Ali-Fawzi-Lateef/C-PrimerPlus | ce86c880dc3a2b6b4eda6a277463563136c1cc00 | f53bca85c36dffb768aa18a15d0446dd766fe309 | refs/heads/master | 2023-08-02T02:38:05.418154 | 2021-09-23T18:06:47 | 2021-09-23T18:06:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,399 | cpp | // winec2.cpp -- implementation of the wine class
// This is exercise 1 of chapter 14 in C++ Primer Plus 5e by Stephen Prata
#include"winec2.h"
#include<iostream>
using std::string;
Wine::Wine(const char * l, int y, const int yr[], const int bot[]) :
PairArray(ArrayInt(y), ArrayInt(y)), string(l)
{
years = y;
for ... | [
"nruderman.s@gmail.com"
] | nruderman.s@gmail.com |
00442e223c2624c08077f1514b72fc273509cf45 | 571c183a1177d22a1e49b1b5d12136dbbda1f3a2 | /boost/di/concepts/creatable.hpp | ef565eab9c60b52ca536c0fdd5c5f40008b53747 | [] | no_license | wher021/DependencyInjection | bb7d0470307cbc4649c211c85e9f988b2b85ea53 | ba263f090e7ed4c0d7f81d95641fe7c971a533c0 | refs/heads/master | 2021-04-09T16:10:25.645729 | 2018-03-18T11:11:18 | 2018-03-18T11:11:18 | 125,716,455 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,720 | hpp | //
// Copyright (c) 2012-2018 Kris Jusiak (kris at jusiak dot net)
//
// 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)
//
#ifndef BOOST_DI_CONCEPTS_CREATABLE_HPP
#define BOOST_DI_CONCEPTS_CREATABLE_HPP
#include "boo... | [
"wh@hotmail.com"
] | wh@hotmail.com |
0e543e818a13a91e6a620a5fa16eae00ac70d9a4 | a7b5d8c15ed289e75c026709923a032ba5eacb6b | /ercf/code/ERCF.cpp | 212afd5e501a3457a41715678fa3551fa1631a26 | [] | no_license | ojaisnielsen/mva-2011-computer-vision | 5ee3ba68d980237640c1287b32d26a5552f77d4e | 845ee994e3bee5dc9999da5aa218a927d394e6ef | refs/heads/master | 2020-05-17T15:29:27.964649 | 2019-04-27T15:45:41 | 2019-04-27T15:45:41 | 183,791,786 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,579 | cpp | /*! \file */
#include "stdafx.h"
#include "ErcForest.h"
#include "tools.h"
#include "FeatureExtractor.h"
#include "Classifier.h"
using namespace ercf;
void train(vector<string> imageSearchPaths, vector<string> maskSearchPaths, unsigned int featureType, unsigned int maxNPictures)
{
unsigned int nClasses ... | [
"olivierj@palantir.com"
] | olivierj@palantir.com |
a5eed3db93f89ed14433462772013eb94ffa2ea7 | 0f867ab0c8930e88e267dd637d48fdc6c422bed7 | /Mercury2/src/Orthographic.cpp | 04ea9a4b8f5a975964a443381ab3f9ffd238a159 | [] | no_license | axlecrusher/hgengine | e15f29f955352da55776de45a21d60845491b91e | 7e7e75c41a86d83acdcaab2b346a6b8c2f87da54 | refs/heads/master | 2021-01-20T05:43:26.316683 | 2013-01-31T05:42:34 | 2013-01-31T05:42:34 | 89,799,775 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,530 | cpp | #include <Orthographic.h>
#include <GLHeaders.h>
#include <MercuryWindow.h>
REGISTER_NODE_TYPE(Orthographic);
Orthographic::Orthographic()
{
}
void Orthographic::PreRender(const MercuryMatrix& matrix)
{
FRUSTUM = &m_frustum;
//Load the frustum into the projection
GLCALL( glMatrixMode(GL_PROJECTION) );
GLCALL( ... | [
"axlecrusher@141cdb93-e927-4a07-a99f-75eb1556cfc9"
] | axlecrusher@141cdb93-e927-4a07-a99f-75eb1556cfc9 |
b4127cdaaba39c6a4e63c3df164f2ae433ae9bbd | b259158ad684b189d0473eeba41b30a2d6d52157 | /mainwindow.cpp | 073eaa7f7a47d311a1c6724b0b4f7ed701b5efc4 | [] | no_license | htphilipp/CoinExample | ccd79a2431d5082300b8e111d66fff7227eec80d | 567598504a83ee6983d694ec52625a2cdcdcd794 | refs/heads/master | 2021-04-15T17:14:13.016248 | 2018-03-24T19:15:24 | 2018-03-24T19:15:24 | 126,628,951 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,682 | cpp | #include "mainwindow.h"
#include "ui_mainwindow.h"
//added to github testing QT integration
MainWindow::MainWindow(QWidget *parent) :
QMainWindow(parent),
ui(new Ui::MainWindow)
{
ui->setupUi(this);
ui->graphOne->addGraph();
// ui->graphOne->graph(0)->setScatterStyle(QCPScatterStyle(QCPScatterSt... | [
"hugh'[at]'his.com"
] | hugh'[at]'his.com |
faf76375955822862f846115f4d2b855943e1af8 | 099c2076771c1fd5bba80e5f1465410dfa70375a | /PE018_Maximum_path_sum_I/pe018.cpp | 889510be00ba2cb104a68c0b060a503494dabecc | [] | no_license | Jul-Le/project-euler | 73595411effa3c150c9bae04ae8f155b4c69aae6 | 17fc9e0ad252931ba0dbaeb033a139727eb99e45 | refs/heads/master | 2021-10-07T23:45:29.106429 | 2018-12-05T18:24:00 | 2018-12-05T18:24:00 | 159,533,336 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,682 | cpp | #include <iostream>
#include <string>
#define SIZE 15
struct cell
{
int up_left;
int up_right;
};
cell triangle[SIZE][SIZE]{ 0 };
const int originalTriangle[SIZE][SIZE]
{
75,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,
95,64,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,
17,47,82,-1,-1,-1,-1,-1,-1,-1,-1,... | [
"unconfigured@null.spigotmc.org"
] | unconfigured@null.spigotmc.org |
58df7b3a286eaecd79c64d5ff97e97182836a835 | 8c37b5363ff77a10e9c54204bc88b1c9861cdee6 | /torch/csrc/api/src/nn/options/instancenorm.cpp | 930fc276db9dc23ca3f3a4b68ee5dd7023fc9d57 | [
"BSD-2-Clause",
"BSD-3-Clause",
"LicenseRef-scancode-generic-cla",
"Apache-2.0"
] | permissive | gchanan/pytorch | 50bf0843388c5ce3a818cf79688cf319b2262b15 | 0d03e73ae73aa6964ef72f848a77d27afeacf329 | refs/heads/master | 2021-07-02T16:20:50.304428 | 2019-12-26T20:52:21 | 2019-12-26T20:52:21 | 88,906,627 | 9 | 1 | NOASSERTION | 2019-12-26T20:52:23 | 2017-04-20T20:14:16 | Python | UTF-8 | C++ | false | false | 214 | cpp | #include <torch/nn/options/instancenorm.h>
namespace torch {
namespace nn {
InstanceNormOptions::InstanceNormOptions(int64_t num_features) : num_features_(num_features) {}
} // namespace nn
} // namespace torch
| [
"facebook-github-bot@users.noreply.github.com"
] | facebook-github-bot@users.noreply.github.com |
05e7a609f5b502230abcbce3eea8c2b19b59ef40 | cdbfd8891cde8e11bd15b9d00e677e20e75f93aa | /python/riegeli/bytes/python_writer.cc | dd65bc50974ab8e63770314be1d2d431b6f5f079 | [
"Apache-2.0"
] | permissive | micahcc/riegeli | dbe317a8f8183f9a8a8c63b21702e0406e6452dd | d8cc64857253037d4f022e860b7b86cbe7d4b8d8 | refs/heads/master | 2023-06-24T21:36:14.894457 | 2021-07-20T16:07:49 | 2021-07-21T08:18:02 | 265,888,704 | 0 | 0 | Apache-2.0 | 2020-05-21T15:47:47 | 2020-05-21T15:47:46 | null | UTF-8 | C++ | false | false | 13,194 | cc | // Copyright 2018 Google LLC
//
// 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 in ... | [
"qrczak@google.com"
] | qrczak@google.com |
7a1dabde683031ff382f17dafe2fb7d7fbc06237 | 8b127cab5c35c1b5a754fc152118baec7df74003 | /Accelerated-Cpp/ch_6/ex_6-3.cpp | ef1fccbff41d3b456a6650bca093db6133f14f9a | [] | no_license | arshjot/Cpp-Practice | 76cb07c30b02a110fbe1fba9b65045402f3818df | 0463d6f1c5fcb60967e7e3be88717e566dbcf984 | refs/heads/master | 2020-12-19T20:04:43.343339 | 2020-03-06T15:10:58 | 2020-03-06T15:10:58 | 235,838,197 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 666 | cpp | // The below program gives a "Segmentation fault" error
// because v is an empty vector so cannot accomodate
// elements of u
#include <iostream>
#include <string>
#include <vector>
#include <algorithm>
using std::vector;
using std::cin;
using std::cout;
using std::endl;
int main()
{
vector<int> u(10, 100);
... | [
"arshjot@live.com"
] | arshjot@live.com |
d9559cc6ff1a45e19b9402e3b99b3b1213ec1200 | 6f833cbd5b035870bafc112676e4a96d79abb108 | /Config.h | dc4f85e20af8fe937213108ce21dda1460ae7c48 | [] | no_license | cc222ip/Video_Game | 6d0e115597ecf02e25a986f6ef46a9096c69f3c4 | 6e1d29ae2be0dab26fe51b5777ae5b6fb7c2db7e | refs/heads/master | 2020-03-11T08:57:08.676571 | 2018-04-17T11:56:21 | 2018-04-17T11:56:21 | 129,897,139 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 762 | h | #ifndef CONFIG_H
#define CONFIG_H
#include "Character.h"
class Config {
public:
int nbr_monster; //Nombre de Monstres sur la Carte
int nbr_obstacle; //Nombre d'obstacle sur la Carte
int dim_map; //Dimension d'un cote de la carte
int nbr_pot_map; //Nombre de potion de vie sur la carte
int nbr_pot_perso; ... | [
"32032587+cc222ip@users.noreply.github.com"
] | 32032587+cc222ip@users.noreply.github.com |
8998dc2b4c452e1bf97462ab210a983f3fbf4ca3 | 776c5767effd31fd917df2a2a060af107c9b62eb | /mdvw/mdvw.cpp | c91d893c9af35dbedd4f730fb1a90b68cc4f1785 | [] | no_license | hchen90/mdvw-win32 | 6fd9b7812aff50dd4773a45da331f4c3d62f8ce2 | a63db554f23259fc456539ed8e0c181460407531 | refs/heads/master | 2021-03-22T04:39:28.515932 | 2018-03-11T09:18:16 | 2018-03-11T09:18:16 | 110,072,436 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,533 | cpp | // This MFC Samples source code demonstrates using MFC Microsoft Office Fluent User Interface
// (the "Fluent UI") and is provided only as referential material to supplement the
// Microsoft Foundation Classes Reference and related electronic documentation
// included with the MFC C++ library software.
// Lice... | [
"a.chenxiang.z@gmail.com"
] | a.chenxiang.z@gmail.com |
0062cdbe03bbbb0757396c678736104229473bc1 | 0514949c259aea5dbef62ddb26826a1bc28185a8 | /code/SDK/include/Maya_17/maya/MFnNIdData.h | e023fb77ab2a44331e2e07170c22b39152dda95c | [
"Apache-2.0",
"LicenseRef-scancode-warranty-disclaimer",
"BSD-2-Clause"
] | permissive | ArtemGen/xray-oxygen | f759a1c72803b9aabc1fdb2d5c62f8c0b14b7858 | f62d3e1f4e211986c057fd37e97fd03c98b5e275 | refs/heads/master | 2020-12-18T15:41:40.774697 | 2020-01-22T02:36:23 | 2020-01-22T02:36:23 | 235,440,782 | 1 | 0 | NOASSERTION | 2020-01-22T02:36:24 | 2020-01-21T21:01:45 | C++ | UTF-8 | C++ | false | false | 2,024 | h |
#ifndef _MFnNIdData
#define _MFnNIdData
//
//-
// ===========================================================================
// Copyright 2018 Autodesk, Inc. All rights reserved.
//
// Use of this software is subject to the terms of the Autodesk license
// agreement provided at the time of installation or download, o... | [
"sv3nk@yandex.ru"
] | sv3nk@yandex.ru |
6cda8eb08368913f9bf2f089dd91758882f83674 | aa1a579dccc2e87bedc458fa987ee233f7ab37e6 | /src/actions/advanced.cpp | 237b0bc3c5a74c9c15f072bc7841b9cd4f31585c | [] | no_license | STEVEMARS/midRecovery | b6baea52f322b97ee43f4a857a8ceb5316f073aa | 4f456fe7621375e7daa145cc78bd5e6e0ad4ac86 | refs/heads/master | 2021-01-15T18:51:44.245661 | 2012-08-25T08:52:16 | 2012-08-25T08:52:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,231 | cpp | /*
* backups.cpp:
* - Actions for "Advanced" menu.
*/
// Shows a window asking for size for the named partition.
// Returns one of the selected values.
int GetPartitionSize(const char *name, vector<int> sizes) {
for (;;) {
// Build title.
string
title = "Select size of '";
... | [
"navneet117@gmail.com"
] | navneet117@gmail.com |
f06d2c0309f9bec75f2525925b28cff8c727c3dd | 20ba322d959c1168eda6741bc4b2de2e3c63a1ef | /src/init.cpp | 1765744257ca1704278ec5d46aebe4c0c8e53d62 | [
"MIT"
] | permissive | seacoin-project/cc | fa4c0a150ed391ab0e17418612ed1e7056cbaaea | cc2046e7472cce76b1ae1483ff8c1ded4a92086f | refs/heads/master | 2016-09-10T10:42:10.772284 | 2014-03-22T15:55:12 | 2014-03-22T15:55:12 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 42,954 | cpp | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2012 The Bitcoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "txdb.h"
#include "walletdb.h"
#include "bitcoinrpc.h"
#include "net.h"
#... | [
"fug@sdo.com.tw"
] | fug@sdo.com.tw |
0e5bf7b869a3039d63d293b7d79930af56ba8c46 | aaf86162b5f90e5d3358d9629a84a5af8feaf14b | /codeVS/1430 素数判定/main.cpp | 4e876e4141e094e97f408375acfc2942fb5d8408 | [] | no_license | Linsenx/AcmCodes | ffbd5b5b634a693d9d5e8af680dfc8657085f2e1 | 08f6c708c9b47a3e8234dc2f9d2534344c0597c5 | refs/heads/master | 2021-09-14T11:57:43.707852 | 2018-05-13T06:04:00 | 2018-05-13T06:04:00 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 351 | cpp | #include <bits/stdc++.h>
using namespace std;
int isPrime(int x)
{
int v = sqrt(x);
for(int i = 2; i <= v; ++i) {
if (x % i == 0) return 0;
}
return 1;
}
int main()
{
freopen("in.txt", "r", stdin);
int a;
cin >> a;
if (isPrime(a) == 1) {
cout << "\\t" << endl;
}
else{
cout << "\... | [
"1279707779@qq.com"
] | 1279707779@qq.com |
16cad8b479f480b29b00fd7f754d00770f689329 | 67d1eba373b9afe9cd1f6bc8a52fde774207e6c7 | /UVA/186 - Trip Routing.cpp | 3563c6e99d4b210112744037850aac658ed3a7b2 | [] | no_license | evan-hossain/competitive-programming | 879b8952df587baf906298a609b471971bdfd421 | 561ce1a6b4a4a6958260206a5d0252cc9ea80c75 | refs/heads/master | 2021-06-01T13:54:04.351848 | 2018-01-19T14:18:35 | 2018-01-19T14:18:35 | 93,148,046 | 2 | 3 | null | 2020-10-01T13:29:54 | 2017-06-02T09:04:50 | C++ | UTF-8 | C++ | false | false | 3,772 | cpp | #include <vector>
#include <list>
#include <map>
#include <set>
#include <deque>
#include <queue>
#include <stack>
#include <bitset>
#include <algorithm>
#include <functional>
#include <numeric>
#include <utility>
#include <sstream>
#include <iostream>
#include <iomanip>
#include <cstdio>
#include <cmat... | [
"evan.hossain@ipay.com.bd"
] | evan.hossain@ipay.com.bd |
cb7e003b7585dc8033e09da1097e3070fd6ccbab | 88ae8695987ada722184307301e221e1ba3cc2fa | /components/history_clusters/core/file_clustering_backend_unittest.cc | a69bf78645242b0071ed88eff20e3e17d6132503 | [
"BSD-3-Clause"
] | permissive | iridium-browser/iridium-browser | 71d9c5ff76e014e6900b825f67389ab0ccd01329 | 5ee297f53dc7f8e70183031cff62f37b0f19d25f | refs/heads/master | 2023-08-03T16:44:16.844552 | 2023-07-20T15:17:00 | 2023-07-23T16:09:30 | 220,016,632 | 341 | 40 | BSD-3-Clause | 2021-08-13T13:54:45 | 2019-11-06T14:32:31 | null | UTF-8 | C++ | false | false | 5,238 | cc | // Copyright 2022 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "components/history_clusters/core/file_clustering_backend.h"
#include "base/command_line.h"
#include "base/containers/flat_set.h"
#include "base/files/file_util.h"
#i... | [
"jengelh@inai.de"
] | jengelh@inai.de |
4962dc3d0c5901158c6191aba25f39459270d622 | 2f64ba43d5dc6142c02aadf4bc2a34f81e0e226c | /day2/b/gen.cpp | 774541ac8c2a40d7bc8cb994336a46581cdbc537 | [] | no_license | cppascalinux/guangzhoujixun | e4ae73f032548835e22a5a4ff344a43a1454968b | a06ed0a10db5cd1f7fd335ea8b23ba3c6e5c7cdd | refs/heads/master | 2020-06-05T01:43:10.535027 | 2019-07-15T08:39:51 | 2019-07-15T08:39:51 | 192,269,274 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 675 | cpp | #include<iostream>
#include<cstdio>
#include<cstring>
#include<algorithm>
#include<random>
using namespace std;
int s[10009];
random_device sd;
mt19937 rnd(sd());
void build(int l,int r)
{
if(l==r)
return;
int p=l;
printf("%d ",p);
build(l,p);
build(p+1,r);
}
int main()
{
freopen("b.in","w",stdout);
int n=1000... | [
"cppascalinux@gmail.com"
] | cppascalinux@gmail.com |
c897e4264b37ff28b03cdc58385c3aa31afb317f | 20a09e80a6fabab0ba9c7a821b73b726bb79666a | /src/indexer/indexer.h | 0451c672ec908f8d2f560b1662444039b6d62f80 | [
"MIT"
] | permissive | j5land/cloriSearch | daaca077ce24351779f0fd82da58bcae48d54dd7 | ba113ba193cd24f6fa1fbfa7b16a5f52a240e6cd | refs/heads/master | 2020-12-19T13:39:41.148981 | 2018-12-29T15:40:59 | 2018-12-29T15:40:59 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 909 | h | //
// indexer main class definition
// version: 1.0
// Copyright (C) 2018 James Wei (weijianlhp@163.com). All rights reserved
//
#ifndef CLORIS_INDEXER_H_
#define CLORIS_INDEXER_H_
#include <list>
#include "inverted_index.pb.h"
#include "posting_list.h"
#include "term.h"
namespace cloris {
class Indexer {
public:
... | [
"weijianlhp@163.com"
] | weijianlhp@163.com |
7fcedf5112914d3d02c185e226433f78134406c8 | 04251e142abab46720229970dab4f7060456d361 | /lib/rosetta/source/src/core/select/residue_selector/ResidueNameSelector.hh | c19eebeb73fe9350d0a8582c7e85a4a4862c5c4f | [] | no_license | sailfish009/binding_affinity_calculator | 216257449a627d196709f9743ca58d8764043f12 | 7af9ce221519e373aa823dadc2005de7a377670d | refs/heads/master | 2022-12-29T11:15:45.164881 | 2020-10-22T09:35:32 | 2020-10-22T09:35:32 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,430 | hh | // -*- mode:c++;tab-width:2;indent-tabs-mode:t;show-trailing-whitespace:t;rm-trailing-spaces:t -*-
// vi: set ts=2 noet:
//
// (c) Copyright Rosetta Commons Member Institutions.
// (c) This file is part of the Rosetta software suite and is made available under license.
// (c) The Rosetta software is developed by the co... | [
"lzhangbk@connect.ust.hk"
] | lzhangbk@connect.ust.hk |
517524a7310ee127d8daf75524fe7b8879e80435 | 3c6faf45fa2a2c1daa7b3a56c507bcc0273b3463 | /Source/BattleOfShips/BattleOfShipsGameModeBase.h | 1ed06dccc1d8a5c16d991e63d2ec5c351c4080db | [] | no_license | wangyars/BattleOfShips | fd396d10b19b2afce4f65a6b9943cc659f0f8749 | 278e0e4c72a4cb27da07803f0ab4a80ab55d4e09 | refs/heads/master | 2020-06-14T19:32:04.270182 | 2016-12-02T02:41:36 | 2016-12-02T02:41:36 | 75,353,698 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 310 | h | // Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "GameFramework/GameModeBase.h"
#include "BattleOfShipsGameModeBase.generated.h"
/**
*
*/
UCLASS()
class BATTLEOFSHIPS_API ABattleOfShipsGameModeBase : public AGameModeBase
{
GENERATED_BODY()
};
| [
"wangyars@hotmail.com"
] | wangyars@hotmail.com |
5f56f57452dfaf4c5434e438646721344fc3ad09 | 8687a237b885bb7a116410491e48c35d444745b5 | /c++/primer_plus_s_pratt/ch_9/pr_ex4/app.cpp | 295340827cd5ad0cec0f951ce55518633ed3e15b | [
"MIT"
] | permissive | dinimar/Projects | 150b3d95247c738ca9a5ce6b2ec1ed9cee30b415 | 7606c23c4e55d6f0c03692b4a1d2bb5b42f10992 | refs/heads/master | 2021-06-11T20:34:29.081266 | 2021-05-15T19:22:36 | 2021-05-15T19:22:36 | 183,491,754 | 0 | 0 | MIT | 2019-04-25T18:47:39 | 2019-04-25T18:47:39 | null | UTF-8 | C++ | false | false | 263 | cpp | #ifndef SALES_H
#define SALES_H
#include "sales.h"
#endif
using namespace SALES;
int main(int argc, char const *argv[])
{
double ar[4] = {0, 1, 2, 3};
Sales s1;
Sales s2;
setSales(s1, ar, 3);
showSales(s1);
setSales(s2);
showSales(s2);
return 0;
} | [
"dinir.imameev@gmail.com"
] | dinir.imameev@gmail.com |
b63940f55c078538e05e57fc8a4adb3df90aeb25 | 44ab57520bb1a9b48045cb1ee9baee8816b44a5b | /EngineTesting/Code/Mathematics/MathematicsTesting/MeshesSuite/TriangleKeyTesting.cpp | 7c80863e75fbd56ad2b70228b1c0ae2746265156 | [
"BSD-3-Clause"
] | permissive | WuyangPeng/Engine | d5d81fd4ec18795679ce99552ab9809f3b205409 | 738fde5660449e87ccd4f4878f7bf2a443ae9f1f | refs/heads/master | 2023-08-17T17:01:41.765963 | 2023-08-16T07:27:05 | 2023-08-16T07:27:05 | 246,266,843 | 10 | 0 | null | null | null | null | GB18030 | C++ | false | false | 2,179 | cpp | /// Copyright (c) 2010-2023
/// Threading Core Render Engine
///
/// 作者:彭武阳,彭晔恩,彭晔泽
/// 联系作者:94458936@qq.com
///
/// 标准:std:c++20
/// 引擎测试版本:0.9.0.12 (2023/06/09 15:55)
#include "TriangleKeyTesting.h"
#include "CoreTools/Helper/AssertMacro.h"
#include "CoreTools/Helper/ClassInvariant/MathematicsClassInvariantMacro.h"
... | [
"94458936@qq.com"
] | 94458936@qq.com |
55deac4ee8b47ad5a286e5a0dbe76622c36fb944 | 947cb6c70634ae9004eddbd4687b69288e663321 | /projCompiladores/projCompiladores/SyntacticAnalyzer.cpp | 3fb14e2519c8303a5ae30adc1f3bc93ae132b397 | [] | no_license | jdmaia/projCompiladoresMaisNovo | 08d0260fca165122dbb7219541462a0388bb9a8c | 4e2b367853bd94b08d72a9e2d2fbc89afb563ee0 | refs/heads/master | 2021-05-28T16:28:49.213346 | 2014-06-29T20:08:20 | 2014-06-29T20:08:20 | null | 0 | 0 | null | null | null | null | ISO-8859-1 | C++ | false | false | 20,050 | cpp | #include <cstring>
#include <fstream>
#include <string>
#include "SyntacticAnalyzer.h"
#include <iostream>
using namespace std;
/* Funcoes de Classe */
SyntacticAnalyzer::SyntacticAnalyzer(string filename){
ifstream *file = new ifstream(filename.c_str());
string leitura;
tokens = new vector<string>();
classes = n... | [
"juliodaniel.carvalho@gmail.com"
] | juliodaniel.carvalho@gmail.com |
cf82bb1e13c1d3855cb9d7b6d527436092b392f9 | dfd47d4de1169f0a390e94a53711345918a2d8d6 | /Hamza_ait_Messaoud/Map/map.cpp | 9eb493541998640bf0ce3d9a9fa3ed07e2df436f | [] | no_license | CasperTI/THO78-Roborescue | b801e83ec96d1c658296a6cee7019f67aad4ac60 | 54e3e3711560afbeb7d6637f4e3024e9e4addd4f | refs/heads/master | 2021-01-16T18:44:06.105845 | 2015-03-13T11:14:06 | 2015-03-13T11:14:06 | 32,157,567 | 0 | 0 | null | 2015-03-13T13:33:21 | 2015-03-13T13:33:21 | null | UTF-8 | C++ | false | false | 3,279 | cpp | #include "map.h"
enum ColorCode{
Nothing = 0,
Wall = 1,
Robot = 2,
Rosbee = 3
};
struct boxColors{
QColor wall = Qt::black;
QColor Nothing = Qt::white;
QColor Rosbee = Qt::blue;
QColor Robot = Qt::red;
} boxcolors;
struct toolTips{
QString Wall = "Wall";
QString Nothing = "No... | [
"hamza.aitmessaoud@student.hu.nl"
] | hamza.aitmessaoud@student.hu.nl |
4e053c279d86f0bb61a56ee60b4b975d111ce789 | 842a1c51b7342b39001cea38c4c46f1d4f6ad232 | /src/Components/ProjectileEmitterComponent.h | e889f9394cf1b2a94ef122b9c12c399198a356fb | [] | no_license | D1amond/2dgameengine | 2d7ece0f005dd4c1dd8c0be087878ba4296ea598 | 0228e115abc4764fb96529dd9eb616c7b41efd78 | refs/heads/master | 2020-12-28T14:19:39.296916 | 2020-02-13T01:46:07 | 2020-02-13T01:46:07 | 238,366,787 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 577 | h | #ifndef PROJECTILEEMITTERCOMPONENT_H
#define PROJECTILEEMITTERCOMPONENT_H
#include "../../lib/glm/glm.hpp"
#include "../EntityManager.h"
#include "./TransformComponent.h"
class ProjectileEmitterComponent: public Component {
private:
TransformComponent* transform;
glm::vec2 origin;
int speed;
int range... | [
"d1amond456.fb@gmail.com"
] | d1amond456.fb@gmail.com |
bd9b3319d8d0f538048bd9e02f11e3fb5792fb63 | ae7ec837eb954d7be7878f367aa7afb70d1a3897 | /libs/lwwx/basic_list_mediator.cpp | fe653d3b0a2662391c3695caeddb31dc7be9195b | [
"MIT",
"BSD-3-Clause"
] | permissive | hajokirchhoff/litwindow | 0387bd1e59200eddb77784c665ba921089589026 | 7f574d4e80ee8339ac11c35f075857c20391c223 | refs/heads/master | 2022-06-18T20:15:21.475921 | 2016-12-28T18:16:58 | 2016-12-28T18:16:58 | 77,551,164 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,053 | cpp | #include "stdwx.h"
#include "litwindow/wx/basic_list_mediator.hpp"
namespace litwindow {
namespace wx {
wxString VirtualListCtrl::OnGetItemText( long item, long column ) const
{
return on_get_item_text ? on_get_item_text(item, column) : wxString();
}
int VirtualListCtrl::OnGe... | [
"mailinglists@hajo-kirchhoff.de"
] | mailinglists@hajo-kirchhoff.de |
d55746cf72859a4a1f00832bbaba08f03934fb36 | 358668370a91ea6dbefc52fac818677af78f7669 | /homework/Week04_fireworks/src/testApp.h | 179e4fea1ea0418508527566ee80b6cf7de52280 | [] | no_license | jmatthewgriffis/griffis_algo2013 | 73efb45b53f5a76e617d1e46257acebcec07bcbb | 4cd17cff9481a6c845683a0da6b531ebb6b0d049 | refs/heads/master | 2016-09-07T23:56:35.770684 | 2015-01-05T21:32:51 | 2015-01-05T21:32:51 | 12,420,109 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 881 | h | #pragma once
#include "ofMain.h"
#include "Particle.h"
class testApp : public ofBaseApp{
public:
void setup();
void update();
void draw();
void keyPressed(int key);
void keyReleased(int key);
void mouseMoved(int x, int y );
void mouseDragged(int x, int y, int button);
void mousePressed(int x, int ... | [
"grifj153@newschool.edu"
] | grifj153@newschool.edu |
db9fe9d00881628818761575be47ca0cab8cb3c8 | 9870e11c26c15aec3cc13bc910e711367749a7ff | /SPOJ/sp_3580.cpp | 71ef8174d52a7e711ada5f90948177bad09a5090 | [] | no_license | liuq901/code | 56eddb81972d00f2b733121505555b7c7cbc2544 | fcbfba70338d3d10bad2a4c08f59d501761c205a | refs/heads/master | 2021-01-15T23:50:10.570996 | 2016-01-16T16:14:18 | 2016-01-16T16:14:18 | 12,918,517 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,563 | cpp | #include <cstdio>
#include <cstdlib>
#include <cstring>
#include <cmath>
#include <cctype>
#include <ctime>
#include <cstdarg>
#include <iostream>
#include <sstream>
#include <fstream>
#include <iomanip>
#include <vector>
#include <list>
#include <deque>
#include <stack>
#include <queue>
#include <set>
#include <map>
#... | [
"liuq901@163.com"
] | liuq901@163.com |
765e11d62203237ee4f73ae66776bc47c16291b5 | 579a5aad9aabc60f4f2d245dbf1c74b704fc9a96 | /src/main.cpp | f024c50eb23a7cef5594335cd13d70457fb99cfa | [] | no_license | dead-tech/A-Star-Pathfinding | c1b8d1e7521ead831d0ff0ea1e262503e890383f | 2c5c5cceef1b4b2b1b2b32e9c288a95447609005 | refs/heads/master | 2022-11-24T14:00:27.338033 | 2020-07-30T16:53:55 | 2020-07-30T17:05:20 | 280,620,341 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 607 | cpp | #define FMT_HEADER_ONLY
#include <fmt/format.h>
#include "GraphGen.hpp"
#include "GraphRenderer.hpp"
int main()
{
const std::size_t graphDim = 10;
Graph graph { graphDim };
GraphRenderer renderer { std::make_unique<Graph>(graph) };
while (!glfwWindowShouldClose(renderer.m_... | [
"dev.dead.tech@gmail.com"
] | dev.dead.tech@gmail.com |
8e42eadc105b613eb0da103460ccb54a352101ea | 25dcf2bda9558e9621502d2575420cccf1b71b72 | /clahevid.cpp | c2be7f742349f2dd01bd71aceb9af66d7f29c5e3 | [] | no_license | singhsterabhi/globous | b07c6533b37caf171b11b2700a8830da34150042 | c1f3341151125cb4c1ff68ea5a5b16702a4fab74 | refs/heads/master | 2021-03-24T13:46:03.390193 | 2017-07-29T11:52:10 | 2017-07-29T11:52:10 | 95,944,731 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,703 | cpp | #include "opencv2/opencv.hpp"
#include "iostream"
#include<string>
#include <opencv2/core/core.hpp> // Basic OpenCV structures (cv::Mat)
#include <opencv2/highgui/highgui.hpp> // Video write
using namespace cv;
using namespace std;
// void GammaCorrection(Mat& src, Mat& dst, float fGamma);
int main(int, char... | [
"singhsterabhi@gmail.com"
] | singhsterabhi@gmail.com |
366b3015462c3ca9924857aff0db479859b21faf | d902ec7f2fe6a8d1ad8cc231bd4c237175879902 | /api.hpp | 640fbbaf9ea2db7a8f47cdb195af71946f77e87d | [] | no_license | moosingin3space/optical-iq-raspi | 79252fd0055a7a711693f2ce5d5734290cabfb9d | e0b1fa188e9c2d18936ca85fe73bb0c8571fcec3 | refs/heads/master | 2016-09-10T00:12:12.548557 | 2014-09-07T04:12:09 | 2014-09-07T04:12:09 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 395 | hpp | #ifndef __API_HPP
#define __API_HPP
#include <iostream>
#include <string>
#include <cmath>
#include <restclient-cpp/restclient.h>
#include <picojson.h>
using namespace std;
namespace mhacks
{
const string API_ROOT = "http://wirelessturnstile.mybluemix.net";
RestClient::response send_delta(int delta, string r... | [
"moosingin3space@gmail.com"
] | moosingin3space@gmail.com |
dbe7ce495a709ba2d3be385d1986a1b1df4e1c52 | fef58dcd0c1434724a0a0a82e4c84ae906200289 | /usages/0x52923C4710DD9907.cpp | f6766195a5bdfd2a979935ede3529b1a0fd3a3ff | [] | no_license | DottieDot/gta5-additional-nativedb-data | a8945d29a60c04dc202f180e947cbdb3e0842ace | aea92b8b66833f063f391cb86cbcf4d58e1d7da3 | refs/heads/main | 2023-06-14T08:09:24.230253 | 2021-07-11T20:43:48 | 2021-07-11T20:43:48 | 380,364,689 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 458 | cpp | // am_casino_peds.ysc @ L66736
void func_520(int iParam0, int iParam1, var uParam2)
{
int iVar0;
if (INTERIOR::IS_VALID_INTERIOR(iParam1->f_9093) && INTERIOR::IS_INTERIOR_READY(iParam1->f_9093))
{
if (func_15(iParam1->f_217[iParam0 /*71*/]))
{
iVar0 = func_521(iParam1, uParam2, iParam0);
if... | [
"tvangroenigen@outlook.com"
] | tvangroenigen@outlook.com |
8298927c4448b6fc47539213b4a3da8b1578857a | 238e46a903cf7fac4f83fa8681094bf3c417d22d | /VTK/vtk_7.1.1_x64_Debug/include/vtk-7.1/vtkPerlinNoise.h | b2b85c5d404a3395e5bcd94da603705a19598196 | [
"BSD-3-Clause"
] | permissive | baojunli/FastCAE | da1277f90e584084d461590a3699b941d8c4030b | a3f99f6402da564df87fcef30674ce5f44379962 | refs/heads/master | 2023-02-25T20:25:31.815729 | 2021-02-01T03:17:33 | 2021-02-01T03:17:33 | 268,390,180 | 1 | 0 | BSD-3-Clause | 2020-06-01T00:39:31 | 2020-06-01T00:39:31 | null | UTF-8 | C++ | false | false | 3,386 | h | /*=========================================================================
Program: Visualization Toolkit
Module: vtkPerlinNoise.h
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
All rights reserved.
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
This sof... | [
"l”ibaojunqd@foxmail.com“"
] | l”ibaojunqd@foxmail.com“ |
5465cb014bd39fc13cdb0b679499bf7d9a967cb0 | 6d7301f57f4ddcb0cd502843be97adf355be2843 | /src/Platforms/OpenGL/PostProccessing/bloomOpenGL.h | 8508c610aa7c8c0e6527919f3c72f6a26f7559bb | [
"MIT"
] | permissive | merpheus-dev/LavaEngine | 1b413a32600d3eb9f8881fe7c1c21417cb0d7ebb | 33fc8cab9b31a93426f5ad430ca355dd4456197a | refs/heads/master | 2023-02-17T12:34:49.781884 | 2020-08-16T22:19:26 | 2020-08-16T22:19:26 | 231,239,338 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 282 | h | #pragma once
#include "GLBloomPostProcess.h"
namespace Lava {
namespace OpenGL {
class BloomFX : public GLBloomPostProcess {
public:
BloomFX() : GLBloomPostProcess( "Shaders/bloom.fp" )
{
//m_bank->GetShader( 1 )->SetBool( "horizontal" , horizontal );
};
};
}
} | [
"mertkirimgeri@gmail.com"
] | mertkirimgeri@gmail.com |
ca4f4aa24ff66b6f56203f56f6e338baf9cca250 | 429bc8f2431bcf734225317754827c2288881c7b | /pick_objects/src/pick_objects.cpp | e12d2287679eb5b112ce35b9c37438718691fc08 | [
"MIT"
] | permissive | acampos074/HomeServiceRobot | 3c022e2a12d14dd0882b331e0797921cebfebe7d | a5803cbb131092a50caae4c42f69b5b780d74501 | refs/heads/master | 2023-02-23T04:56:00.865822 | 2021-01-25T06:10:11 | 2021-01-25T06:10:11 | 332,589,424 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,061 | cpp | #include <ros/ros.h>
#include <move_base_msgs/MoveBaseAction.h>
#include <actionlib/client/simple_action_client.h>
#include "std_msgs/Bool.h"
// Define a client for to send goal requests to the move_base server through a SimpleActionClient
typedef actionlib::SimpleActionClient<move_base_msgs::MoveBaseAction> MoveBaseC... | [
"andres.campos.9841@gmail.com"
] | andres.campos.9841@gmail.com |
51fee9b99090154d44ba943184f012b415ca157e | 634120df190b6262fccf699ac02538360fd9012d | /Develop/Game/XMyCharacterAlphaMgr.cpp | 9bf0080b23757036f3e6773bf038c803166c4b84 | [] | no_license | ktj007/Raiderz_Public | c906830cca5c644be384e68da205ee8abeb31369 | a71421614ef5711740d154c961cbb3ba2a03f266 | refs/heads/master | 2021-06-08T03:37:10.065320 | 2016-11-28T07:50:57 | 2016-11-28T07:50:57 | 74,959,309 | 6 | 4 | null | 2016-11-28T09:53:49 | 2016-11-28T09:53:49 | null | UTF-8 | C++ | false | false | 506 | cpp | #include "stdafx.h"
#include "XMyCharacterAlphaMgr.h"
#include "XCameraManager.h"
#include "XModuleEntity.h"
void XMyCharacterAlphaMgr::Check( float fCameraDist, XModuleEntity* pModuleEntity )
{
if (m_bAlphaState)
{
if (fCameraDist >= CONST_ALPHA_DIST())
{
pModuleEntity->StartFade(1.0f, CONST_FADE_TIME());
... | [
"espause0703@gmail.com"
] | espause0703@gmail.com |
cf840f085ad72638988322c88bcb0b7d614c8e12 | 19f9de1ca8b169fe3009aae26637e2cdcf810213 | /HopsanCore/src/ComponentUtilities/HopsanPowerUser.cpp | 10c123266f1a8429b27b3acfb77149788facc119 | [
"Apache-2.0",
"LicenseRef-scancode-free-unknown",
"GPL-3.0-only"
] | permissive | Hopsan/hopsan | b9f5eca1da31b69ea07682bbf302dbc5fa0466ad | e93e2dc107d86efdbfef1da757880f62204b05c5 | refs/heads/master | 2023-06-24T01:49:34.199161 | 2023-06-22T18:33:10 | 2023-06-22T18:33:58 | 91,779,008 | 125 | 41 | Apache-2.0 | 2023-06-22T18:46:25 | 2017-05-19T07:35:11 | Mathematica | UTF-8 | C++ | false | false | 3,438 | cpp | /*-----------------------------------------------------------------------------
Copyright 2017 Hopsan Group
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.o... | [
"peterNordin@users.noreply.github.com"
] | peterNordin@users.noreply.github.com |
2368fed0169565dbbf863f7a4ff2c9d0eba07474 | 88ab55311591ad5f2d9a9bc97eb839d66dccb875 | /surface_mesh/data_structure/IO.h | f26ce0b0c949c95051ac6a10c8dce617925ece4b | [] | no_license | hometao/graphene | e9581ba02483ff65d3c4ef43a6721d80316e95a4 | f2bc352566dde832cd49ba0e013426a63e17a90d | refs/heads/master | 2020-03-12T13:00:27.755089 | 2018-04-23T03:10:03 | 2018-04-23T03:10:03 | 130,631,955 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,583 | h | //=============================================================================
// Copyright (C) 2001-2005 by Computer Graphics Group, RWTH Aachen
// Copyright (C) 2011 by Graphics & Geometry Group, Bielefeld University
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of ... | [
"408072704@qq.com"
] | 408072704@qq.com |
79a97abdd1874b35a84698be88ce4e98140748c2 | 4196f6223e897f1438ff5b03a24c0fd758cac784 | /src/support/operations/mkdir.h | 332729fcaa450f9a5ff4bb898542fe7ad3d48d2a | [
"MIT"
] | permissive | ivan-f-n/DHTFS | b8514f884a519c3a02177ee0c4d2876830097714 | eca33ef4651a6f10188b0e888c8bae5add732cb8 | refs/heads/master | 2023-05-30T19:03:52.631758 | 2021-06-16T12:37:26 | 2021-06-16T12:37:26 | 363,394,528 | 5 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,428 | h | #ifndef __MKDIR_H_
#define __MKDIR_H_
#include "../../FSpart.h"
#include "../global.h"
#include "../logger.h"
#include "../globalFunctions.h"
using namespace std;
int FSpart::mkdir(const char *path, mode_t mode)
{
Logger("Making directory " + string(path));
std::mutex mtx;
std::unique_lock<std::mutex> l... | [
"ivanfdeznavarro@gmail.com"
] | ivanfdeznavarro@gmail.com |
b1aa945633fec3727056e319042e14bf1a346fdf | 32f8a5ad85b87cbf7bd031a09164a50725f49847 | /Source/LuminoEngine/Source/Audio/DirectMusic/DirectMusicAudioDevice.h | 4151ee10ca8cbe62d11f105ba34f3c7e23430000 | [
"MIT"
] | permissive | mediabuff/Lumino | 9787c588bac3a983c79199cbc168a919bb17a0f6 | 684be8f25631a104f5236e6131c0fcb84df8bb57 | refs/heads/master | 2021-05-14T17:04:46.553426 | 2017-12-28T14:33:47 | 2017-12-28T14:33:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 823 | h |
#pragma once
#include "../AudioDevice.h"
LN_NAMESPACE_BEGIN
LN_NAMESPACE_AUDIO_BEGIN
namespace detail
{
// DirectMusic 用の AudioDevice の実装
class DirectMusicAudioDevice
: public AudioDevice
{
public:
struct ConfigData
{
DirectMusicMode DMInitMode; ///< DirectMusic を初期化する時の方法
HWND hWn... | [
"lriki.net@gmail.com"
] | lriki.net@gmail.com |
3cbd19240a22e6f82456375d985ecaddabca2d6b | c5308806060f6cf9fddf68617136134c9a043ebe | /Programme/build-Dodge_Cruasder-Desktop_Qt_5_12_6_MinGW_32_bit-Debug/ui_game.h | 7dc360c4486efed8f7a4837008e5ab205e5fb4cc | [] | no_license | tikotti/PPO_G6_DODGE_CRUSADERS | 15422f38b08326e41a3b0fa2d67270b25275b1b2 | d4483093ee3f4fe2ee4ba34d5868547fd03e3964 | refs/heads/master | 2020-08-20T13:45:15.625492 | 2019-12-13T11:09:54 | 2019-12-13T11:09:54 | 216,029,666 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,421 | h | /********************************************************************************
** Form generated from reading UI file 'game.ui'
**
** Created by: Qt User Interface Compiler version 5.12.6
**
** WARNING! All changes made in this file will be lost when recompiling UI file!
***************************************... | [
"matthew.flenet@outlook.com"
] | matthew.flenet@outlook.com |
3497d35fa75ab2734086edda655b13c2b883eaa0 | 7bfdaa5be493d8e98ff6f97be9a297e8ee98285b | /01-C++ Programing/47.cpp | f67c0ff1dbabff6812182b927d7adfadea03ecea | [] | no_license | GhulamMustafaGM/C-Programming | a21795ff9183462d41bb6916966342c4059cd2e2 | 4db74317e85ea883dbef173f02d937765ee2a6f5 | refs/heads/master | 2023-03-16T23:31:45.024962 | 2021-02-18T22:25:25 | 2021-02-18T22:25:25 | 194,243,282 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 503 | cpp | /* C++ Program - Octal to decimal conversion */
#include <iostream>
#include <cmath>
using namespace std;
int main()
{
long int octnum, decnum = 0;
int i = 0;
cout << "\nEnter any octal number :";
cin >> octnum;
while (octnum != 0)
{
decnum = decnum + (octnum % 10) * pow(8, i);
... | [
"mustafaji@gmail.com"
] | mustafaji@gmail.com |
5228cdd56f07d3b90ac2dae8d20e6ffc964cb8d4 | d95f8ed0f35834814eb82f9da599c3fb4d99d165 | /PortScan/PortScan.h | 52175eb5b635b95be948034114e16b89f27062c4 | [] | no_license | hackpascal/PortScan | a7fb3f00488e471f1a9143439e56a51189b5411f | a901d72bcee5f958ddd11e62db9399363c4f5baf | refs/heads/master | 2021-01-19T17:37:52.418466 | 2017-04-15T09:18:56 | 2017-04-15T09:18:56 | 88,336,802 | 8 | 6 | null | null | null | null | GB18030 | C++ | false | false | 517 | h |
// PortScan.h : PROJECT_NAME 应用程序的主头文件
//
#pragma once
#ifndef __AFXWIN_H__
#error "在包含此文件之前包含“stdafx.h”以生成 PCH 文件"
#endif
#include "resource.h" // 主符号
// CPortScanApp:
// 有关此类的实现,请参阅 PortScan.cpp
//
class CPortScanApp : public CWinApp
{
public:
CPortScanApp();
~CPortScanApp();
// 重写
... | [
"hackpascal@qq.com"
] | hackpascal@qq.com |
3023b94b3ba7206a939f68b999a794ab4b763ba8 | 777a75e6ed0934c193aece9de4421f8d8db01aac | /src/Providers/UNIXProviders/ProcessStatisticalInformation/UNIX_ProcessStatisticalInformation_SOLARIS.hxx | bf0af4dbee2f44df4bb7a8d455b5046985c61110 | [
"MIT"
] | permissive | brunolauze/openpegasus-providers-old | 20fc13958016e35dc4d87f93d1999db0eae9010a | b00f1aad575bae144b8538bf57ba5fd5582a4ec7 | refs/heads/master | 2021-01-01T20:05:44.559362 | 2014-04-30T17:50:06 | 2014-04-30T17:50:06 | 19,132,738 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 156 | hxx | #ifdef PEGASUS_OS_SOLARIS
#ifndef __UNIX_PROCESSSTATISTICALINFORMATION_PRIVATE_H
#define __UNIX_PROCESSSTATISTICALINFORMATION_PRIVATE_H
#endif
#endif
| [
"brunolauze@msn.com"
] | brunolauze@msn.com |
939f692d670d2a1a0f09d84ab070402a3b851252 | 3fff1471c7b80ab8c56cab666e3c412c22eeac5b | /main.cpp | b70f682eb22499c3d101423c81a2d08fe78805e1 | [] | no_license | SigmaDeltaTechnologiesInc/SDT-example-ble-uart-echo | 23ca4b801bb2cc5f3e18f227537ca41cfa8a1480 | 4460835710c0e0e308225441263912fc3a5e3f4f | refs/heads/master | 2020-03-28T06:02:44.374381 | 2018-12-11T16:10:33 | 2018-12-11T16:10:33 | 147,810,715 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,073 | cpp | /* SDT-example-ble-uart-echo
*
* Copyright (c) 2018 Sigma Delta Technologies Inc.
*
* 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, includin... | [
"hjpark@sigma-delta.tech"
] | hjpark@sigma-delta.tech |
6662a6ed42e902accc1aa1eef68b765e114dc2b0 | 0cc5ccce3488d47cb664635d868e73db146b4fb5 | /index_tests/multi_file/static.cc | c0a7267a242af03146bb4ad2845b6faa4eae3c3d | [] | no_license | y2kbcm1/ccls | d5f2196dc91a0070e0b09ed965df930c7b281948 | 7923ce5ee9c7f0e65045d11cf5fa18cdda4ee3db | refs/heads/master | 2020-03-23T07:06:08.233883 | 2018-07-17T07:52:52 | 2018-07-17T07:52:52 | 141,248,548 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,963 | cc | #include "static.h"
void Buffer::CreateSharedBuffer() {}
/*
OUTPUT: static.h
{
"includes": [],
"skipped_ranges": [],
"usr2func": [{
"usr": 14576076421851654759,
"detailed_name": "static void Buffer::CreateSharedBuffer()",
"qual_name_offset": 12,
"short_name": "CreateSharedBuffer",
... | [
"i@maskray.me"
] | i@maskray.me |
9de5e5e8045d40f8613e69c036369dc98f0a01bf | e4ecca96e8011e578d019e49feb5a8b17a264166 | /AlgoFramework/commonUsage/algorithm.cpp | 514005ed3645295e5e29b0746bf4726b0f130aa4 | [] | no_license | wondron/selfSoftWare | eda189a36a82d590702601da303e68bc40f96808 | e735eabe38213d6ebddd134dd22a819dbf7a7683 | refs/heads/master | 2023-06-27T01:05:29.568524 | 2021-08-05T15:00:45 | 2021-08-05T15:00:45 | 393,076,901 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 20,849 | cpp | #include "algorithm.h"
#include "QList"
#include "qline.h"
#include "qdebug.h"
#include "commonDef.h"
#include "QFileInfo"
#include "QTime"
using namespace Detect;
using namespace HalconCpp;
Algorithm::Algorithm()
{
}
CError Algorithm::objIsEmpty(CONSTIMG obj)
{
try {
bool ini = obj.IsInitialized();
... | [
"472024264@qq.com"
] | 472024264@qq.com |
0d01fc3855d28708c6e28b99f9ca1b291352e077 | 03e1d3d39f2f21646b0f97815f821ecd8707df88 | /src/PythonPlugin/PythonExecutor.cpp | 202941437ffdd1e3e39789c98bbe454dd9b5b7ce | [] | no_license | s-nakaoka/cnoid-boost-python | 23d1278b6b2d28b19b8149ea0238c96547d35a23 | a8e71fffbd7852f59b1bc1e7dee425aa45f7079f | refs/heads/master | 2021-06-30T16:14:53.969455 | 2020-01-16T01:37:44 | 2020-01-16T01:37:44 | 186,990,211 | 0 | 2 | null | 2020-11-30T10:33:54 | 2019-05-16T08:54:53 | C++ | UTF-8 | C++ | false | false | 15,424 | cpp | /**
@author Shin'ichiro Nakaoka
*/
#include "PythonExecutor.h"
#include <cnoid/PyUtil>
#include <cnoid/FileUtil>
#include <cnoid/LazyCaller>
#include <QThread>
#include <QMutex>
#include <QWaitCondition>
#include <map>
#include <boost/version.hpp>
// Boost 1.58
#if BOOST_VERSION / 100 % 1000 == 58
#include <fstream... | [
"s.nakaoka@aist.go.jp"
] | s.nakaoka@aist.go.jp |
965e334ba0eb699824fa8e95092f674c4d8a8d96 | 2e55fbf3303ad89bbee963170f708acf38a103f3 | /December Lunchtime 2020 Division 2/temp.cpp | 13ee1773a7073fe4f849c0648fd8ef53885a02c9 | [] | no_license | abaran803/myContests | ff083a342841af453fb5b92ea58bd67bae0feaf7 | 5b93cfe403721ee2ed45dc1d7d2454edf6e9c3c7 | refs/heads/main | 2023-02-15T09:16:50.228926 | 2021-01-13T13:11:06 | 2021-01-13T13:11:06 | 329,311,128 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,410 | cpp | // #include<bits/stdc++.h>
// #define int long long
// using namespace std;
// void solve();
// int32_t main()
// {
// ios_base::sync_with_stdio(false);cin.tie(NULL);
// #ifndef ONLINE_JUDGE
// freopen("inp.txt", "r", stdin);
// freopen("err.txt", "w", stderr);
// freopen("out... | [
"abaran803@gmail.com"
] | abaran803@gmail.com |
519b4069d7cf122c51a8e3c69b11874931737a37 | 770b7ad3c4e294e9c60d7c0e4f5d90f62daf3de0 | /ComponentSeq2SeqCom/smartsoft/src/CommandHandler.cc | 942117dd67e9947f693cdb865f9b10c25f61cb16 | [] | no_license | Servicerobotics-Ulm/ComponentRepository | b1b73ea8871366f05846aedc4ca4df4024b8fe39 | 0c958e9dd9263b525b404bb9581f33c15cfbb3d8 | refs/heads/master | 2022-12-15T07:54:19.437434 | 2022-12-06T14:30:05 | 2022-12-06T14:30:05 | 122,948,164 | 2 | 11 | null | 2021-02-10T12:03:13 | 2018-02-26T09:46:20 | C++ | UTF-8 | C++ | false | false | 2,582 | cc | //--------------------------------------------------------------------------
// Code generated by the SmartSoft MDSD Toolchain
// The SmartSoft Toolchain has been developed by:
//
// Service Robotics Research Center
// University of Applied Sciences Ulm
// Prittwitzstr. 10
// 89075 Ulm (Germany)
//
// Information abo... | [
"matthias@mlutz.de"
] | matthias@mlutz.de |
b3dfeb8d06b445600f4acf31f7ae07b01701281a | 5712a01bc06416cf32fb637e10b21b34b938961c | /Zerojudge/d563 等值首尾和.cpp | 17842247fec242c9a3b6ad13da70840d1511a25f | [] | no_license | WenShihKen/uva | 654a9f5f3e56935625e061795f152609899b79e5 | 03a3d603941dd9b9ec13e76fb99d24da6749a81b | refs/heads/master | 2021-01-10T14:34:29.580527 | 2020-06-25T15:34:23 | 2020-06-25T15:34:23 | 48,536,090 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 619 | cpp | #include<iostream>
#include<stdio.h>
#include<algorithm>
#include<map>
#include<string>
using namespace std;
int all[100005] = {}, in1;
int count() {
int start = 0, end = in1 - 1, c = 0;
int sum1 = 0, sum2 = 0;
while (start <= in1 - 1 || end >= 0) {
if (sum1 > sum2) {
sum2 += all[end--];
}
else if (sum1 <... | [
"00257142@ntou.edu.tw"
] | 00257142@ntou.edu.tw |
9310800444741178d2ece0fedb5233ef89155177 | 9b1a0e9ac2c5ffc35f368ca5108cd8953eb2716d | /3/06 Audio/07 Luchs/src/lib/atomgaud/GAMath.cpp | 7a567a81b81a5c8672932c8d6884c3718ba2be0a | [] | no_license | TomasRejhons/gpg-source-backup | c6993579e96bf5a6d8cba85212f94ec20134df11 | bbc8266c6cd7df8a7e2f5ad638cdcd7f6298052e | refs/heads/main | 2023-06-05T05:14:00.374344 | 2021-06-16T15:08:41 | 2021-06-16T15:08:41 | 377,536,509 | 2 | 2 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 8,137 | cpp | // GAMath Implementation
// --------------------------------------------------------------------------------------------------------
// System: ATOMGAUD
// Description: Simple math for FLOAT32 scalar and vector
// ...
// ...
// Location: http://www.visiomedia.com/rooms/labor/src/sphinxmmos/index.htm
// Ve... | [
"t.rejhons@gmail.com"
] | t.rejhons@gmail.com |
c65d320c59262da3af91ab710390a14fd63f5df5 | dfe3e8569e2785e062345f9854f02afeac67b8a0 | /Source/Utility/StringTools.h | 02d49809f4c1097379cfbc3b9d2b4c3af94cca4e | [] | no_license | mangeg/MG3 | e16f73b26b59a5729ac59b97efe8c38844adaa6d | 6915ea72650ed0bca0ecfe5ae3d4a20c8ac5a0f1 | refs/heads/master | 2016-08-05T08:48:25.031859 | 2011-07-18T23:24:30 | 2011-07-18T23:24:30 | 1,919,166 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 345 | h | //------------------------------------------------------------------------|
#pragma once
//------------------------------------------------------------------------|
namespace MG3
{
class StringTools
{
public:
static std::string ToAscii(std::wstring& txt);
static std::wstring ToUnicode(std::string& txt);
privat... | [
""
] | |
8a147c0d38d875a0017e0e8e9c8d2a3e6742f31e | f834dc3940a70c26757cd47db50800e774586eb5 | /mainwindow.h | 2591c6e307a8c70b0ce065432aa96469146d556d | [] | no_license | yitiaoyu1996/Qt-gradecalculator | f6c951cbd76dfd140fd417ff622e9d079c768e20 | d37f685e721ab23cf4dffb74950b13b7355adcf4 | refs/heads/master | 2021-08-30T08:39:18.131326 | 2017-12-17T01:52:05 | 2017-12-17T01:52:05 | 112,532,266 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 406 | h | #ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include <QMainWindow>
namespace Ui {
class MainWindow;
}
class MainWindow : public QMainWindow
{
Q_OBJECT
public:
explicit MainWindow(QWidget *parent = 0);
~MainWindow();
signals:
void compute_overall();
public slots:
void update_overall(int);
v... | [
"yitiaoyu1996@gmail.com"
] | yitiaoyu1996@gmail.com |
dd9e57662a7ac4196205ab803703f49c1ab1a049 | b7f3edb5b7c62174bed808079c3b21fb9ea51d52 | /content/common/in_process_child_thread_params.cc | 520122de5f3630cec0bc799e75716bfd4c43b70e | [
"BSD-3-Clause"
] | permissive | otcshare/chromium-src | 26a7372773b53b236784c51677c566dc0ad839e4 | 64bee65c921db7e78e25d08f1e98da2668b57be5 | refs/heads/webml | 2023-03-21T03:20:15.377034 | 2020-11-16T01:40:14 | 2020-11-16T01:40:14 | 209,262,645 | 18 | 21 | BSD-3-Clause | 2023-03-23T06:20:07 | 2019-09-18T08:52:07 | null | UTF-8 | C++ | false | false | 687 | cc | // Copyright 2015 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 "content/common/in_process_child_thread_params.h"
namespace content {
InProcessChildThreadParams::InProcessChildThreadParams(
scoped_refptr... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
100663059d275523396f2dc86c197136aa13ac30 | 35fdbeb171f989627b57044c14e7ac90b36a8985 | /components/main_class.h | af624d22493a94370e34d15c9065745615fedb84 | [] | no_license | Alexponomarev7/mini_java_compiler | 354d32befdafbb9ccfa4354a07d78da50ae32f09 | f59c4d62d5305046bcdb613bfc63aed808c47743 | refs/heads/master | 2021-05-25T21:20:06.938888 | 2020-05-24T02:01:53 | 2020-05-24T02:01:53 | 253,923,553 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 846 | h | #ifndef COMPILER_MAIN_CLASS_H
#define COMPILER_MAIN_CLASS_H
#include "base.h"
class MainClass : public BaseElement {
public:
MainClass(Identifier id, std::vector<Statement*> statements) :
id_(std::move(id))
, statements_(std::move(statements))
{}
void Accept(Visitor* visitor) override {
... | [
"lexolordan@yanex-team.ru"
] | lexolordan@yanex-team.ru |
1c41ca4835e3d3ca5d1248b4c1c68dd5f0834d24 | 752630bd87a55f4db56217e6a3f4b8bc7cc1c6bf | /cpp-htp/standard/ch05solutions/Ex05_08/ex05_08.cpp | f3a2fb80dbd46ae88e64783a910379323c4e5335 | [
"Apache-2.0"
] | permissive | wgfi110/cpp-playground | e4cfc8440a338d3fbb865b720f38cadd843759b6 | 6767a0ac50de8b532255511cd450dc84c66d1517 | refs/heads/master | 2021-09-27T22:25:32.963986 | 2018-11-12T09:13:56 | 2018-11-12T09:13:56 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,856 | cpp | // Exercise 5.8 Solution: ex05_08.cpp
// Find the smallest of several integers.
#include <iostream>
using namespace std;
int main()
{
int number; // number of values
int value; // current value
int smallest; // smallest value so far
cout << "Enter the number of integers to be processed ";
... | [
"yanshengjia1995@163.com"
] | yanshengjia1995@163.com |
f5db283e63233ef45aa96c882b5cc78a72d2f825 | 08b92f8a2a6c4de809f6da036502d19422f3afc1 | /code/Xadrez_Version_01/quadrado.cpp | 63196860c6e7b0951f2a6b13313c0c345f04688f | [
"MIT"
] | permissive | matheusfbonfim/SimulateChessDesktopApp | 92eca7397760540d5c1ed99f3824c57b2ff95cdb | 09aaf703416644aaecbef0f6bad9548aad31f490 | refs/heads/master | 2023-04-27T08:04:42.467722 | 2020-08-01T15:25:01 | 2020-08-01T15:25:01 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,371 | cpp | #include "quadrado.h"
Quadrado::Quadrado(double x_,double y_)
{
x = x_;
y = y_;
caneta = new QPen(Qt::black); // Cria a caneta com contorno preto
peca = NULL;
}
//Retorna a coordenada X do quadrado
double Quadrado::getX()
{
return x;
}
//Retorna a coordenada Y do quadrado
double Quadrado::getY()
... | [
"matheusbonfim@alunos.utfpr.edu.br"
] | matheusbonfim@alunos.utfpr.edu.br |
64d882ee7a8f192bec86a4ec3845a1e840725a24 | c728ad7e699fe39716c3e7bf79c00659a4f0fa77 | /src/ytyaru/Framework/SingleWindow/Window.cpp | db3a4b8cb9ad789f5c05ebe6a2e41889dfb01fe0 | [
"CC0-1.0"
] | permissive | ytyaru/ProjectSplit201607300826 | 6a6c1a56afcf88f67a9c3b59997f90faf4352188 | 25a2c5ebbb2dad6221f84f2e5404e8e0e9f48de5 | refs/heads/master | 2021-01-19T01:38:09.044552 | 2016-07-30T07:02:58 | 2016-07-30T07:02:58 | 64,531,167 | 0 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 2,022 | cpp | #include "Window.h"
#include "Uuid.h"
namespace ytyaru {
namespace Framework {
namespace SingleWindow {
using ytyaru::Framework::SingleWindow::IPartWndProc;
vector<IPartWndProc*> Window::partWndProcs;
Window::Window(void) {}
Window::~Window(void) {}
void Window::Create(HINSTANCE hInstance)
{
basic_string<TCHAR> c... | [
"ytyaru@outlook.jp"
] | ytyaru@outlook.jp |
0ff7a4a1038cc2ccef66db9e926491e7afbd8327 | 4396e4a00332aabcd943aee98cf29f5faec60764 | /talk/src/endpoint2/StreamHandler.h | 7125bb8e788ac7b837fdedb827e85851701b1279 | [] | no_license | xiaoyu0/Talk-RenRen | 431fbebb13920c6eeb2651932f131460c487b5e7 | c7409b745e0056dec7e22a7c1995be122af27d3d | refs/heads/master | 2021-10-09T04:22:09.195537 | 2018-12-21T03:52:33 | 2018-12-21T03:52:33 | 6,398,175 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 857 | h | #ifndef TALK_HTTP_SERVER_HTTP_STREAM_HANDLER_H_
#define TALK_HTTP_SERVER_HTTP_STREAM_HANDLER_H_
#include <boost/shared_ptr.hpp>
#include <string>
#include "proxy/SocketServiceProxy.h"
#include "net/Connection.h"
namespace mtalk{
namespace endpoint2{
// typedef boost::shared_ptr<net::Connection> ConnectionPtr;
... | [
"wangyu@wang.yu-PC"
] | wangyu@wang.yu-PC |
9eb50c28c43c3d2b37e3bfec573ecc2a52d9f05f | c4338ebd1bd0358d9abc1f1f7350e37ab0314c2f | /Atcoder/M-Solutions2020D.cpp | 7d77f097759c27e250b97d6bd857a46b3df7cbe5 | [] | no_license | mt-revolution/Competition | 4b93a43230aff1f11e6614fcb45bb999ecdd633b | 6da911b1674d8d6ec2c27f073f35a935972547e3 | refs/heads/master | 2023-02-26T08:16:40.597143 | 2021-01-30T14:17:05 | 2021-01-30T14:17:05 | 300,127,965 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 788 | cpp | #include<bits/stdc++.h>
using namespace std;
int main() {
int N;
cin >> N;
long long money = 1000;
long long stock = 0;
vector<int> A(N);
for(int i = 0; i < N; i++) {
cin >> A[i];
}
for(int i = 0; i < N-1; i++) {
// 株価が上がるときは金をつぎ込んで変えるだけ買う
if(A[i] < A[... | [
"tekepao@gmail.com"
] | tekepao@gmail.com |
b2ea373880391f23b70469b8b83530367e2cdbc3 | 3812d4c6a283305100d8d4ff597d31178c2f2468 | /FlowMapStudy/Code/Mesh/Mesh.h | 0eb2cf92e77c42f520b5c06dcc1c75e9bc471747 | [] | no_license | rbleile/ParticleAdvection | d1029d8608ba770c046c81352f77d0ac191848fd | 70026c845fa20776a87c92a1750ce28cf49028a5 | refs/heads/master | 2020-12-24T13:35:48.712480 | 2015-06-23T02:21:46 | 2015-06-23T02:21:46 | 34,482,101 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,585 | h | #include <Particle.h>
#include <Flow.h>
#ifndef MESH_H
#define MESH_H
//*************************************************************************************************
// Mesh Class for Rectilinear or Regular Meshes
// Utilizes the Flow Map Classes
//*************************************************************... | [
"rbleile@cs.uoregon.edu"
] | rbleile@cs.uoregon.edu |
03336aeb53a17cd78ab856631b738d09b3c99a56 | 167c1259f696bd8570eb83279fbaafc8cb877099 | /MicroProjet/Entity.cpp | 9655b65467ef42e090bd457b2ed05d02142b5c82 | [] | no_license | hantisse/MicroProjet | a6aff0d7f37acf7a9ef281961691f4084e30d27e | 0d8f05ff4ad94be819f26a987c5c6954f21f0386 | refs/heads/master | 2020-05-31T04:34:49.321047 | 2019-07-06T00:00:06 | 2019-07-06T00:00:06 | 190,100,841 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,695 | cpp | #include "pch.h"
#include <iostream>
#include "Entity.h"
extern std::vector<EntityModelPtr>* GameEntityModels;
Entity::Entity(EntityID id) :
m_model((*GameEntityModels)[id])
{
m_sprite = sf::Sprite(m_model->sourceTexture, m_model->spriteRect);
}
Entity::Entity(EntityID id, b2Vec2 position) :
m_model((*GameEntit... | [
"judith.hantisse@telecom-sudparis.eu"
] | judith.hantisse@telecom-sudparis.eu |
e18bef428bb5c687d3152515d3c82fa9dc662973 | 62651a10428b77e6eb0f7c8717344daea6ce4f95 | /src/spider.cpp | d11b59e8fab84fae5067dee0b5d0bd32e22c0eb6 | [
"MIT"
] | permissive | Thiago-AS/http-inspector | 2f058241d2180da81909c571d896dc6954b8705a | 43f6743a0096051fc5f1b22543fcc57ac3e62b0d | refs/heads/master | 2020-09-11T21:06:56.093077 | 2019-12-05T10:04:40 | 2019-12-05T10:04:40 | 222,190,781 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,777 | cpp | #include "../include/spider.hpp"
#include "../include/proxy.hpp"
#include <sys/stat.h>
#include <sstream>
#include <fstream>
#define PROXY_PORT 8228
using namespace std;
void Spider::run(string file_name, string addr, int tree_h, int act_h) {
string path = file_name;
replace( path.begin(), path.end(), '_', '/');
t... | [
"thiagos.araujo09@gmail.com"
] | thiagos.araujo09@gmail.com |
ce676e1efe3eeeb47a0624c26f1a126bbc61bd55 | 08b8cf38e1936e8cec27f84af0d3727321cec9c4 | /data/crawl/squid/hunk_4906.cpp | eb285009d7b7d5c8939e0ceabd7cf355ba22a436 | [] | no_license | ccdxc/logSurvey | eaf28e9c2d6307140b17986d5c05106d1fd8e943 | 6b80226e1667c1e0760ab39160893ee19b0e9fb1 | refs/heads/master | 2022-01-07T21:31:55.446839 | 2018-04-21T14:12:43 | 2018-04-21T14:12:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 743 | cpp | virginSendClaim.protectAll();
}
+ const HttpRequest *request = virgin->data->cause ?
+ virgin->data->cause :
+ dynamic_cast<const HttpRequest*>(virgin->data->header);
+
+ if (request->client_addr.s_addr != any_addr.s_addr)
+ bu... | [
"993273596@qq.com"
] | 993273596@qq.com |
d784614938a9f5542c6886f20bdf37bcfae0f934 | 99ed5156c9b83d22dcd7c8a29937825694f4f36d | /dll/ALL/Demo示例/1-MFC综合示例(人脸库、人脸底图)/Config/ItsPictureCommon2.h | 8d6e4c5b434ee0e2faf0a2bfa6c1ab612064a7a5 | [
"MIT"
] | permissive | zyx030613/algorithm_its | 73e862988f375a73e517db4f39b8f9005a819609 | eae3628a498d2bd9d61487b53b9cdde23b99e314 | refs/heads/master | 2020-04-25T07:53:45.586587 | 2019-12-03T06:37:26 | 2019-12-03T06:37:26 | 172,627,700 | 0 | 1 | null | null | null | null | GB18030 | C++ | false | false | 2,902 | h | #pragma once
#include "../BasePage.h"
#include "afxwin.h"
#include "afxcmn.h"
#define MANUL 0
#define AUTO_SIMPLE 1
#define AUTO_DIFFCULT 2
#define ITS_TYPE_NUM 14
#define ITS_JPEG_MIN_VALUE 0
#define ITS_JPEG_MAX_VALUE 100
#define ITS_LIMIT_MIN 64
#define ITS_LIMIT_MAX 8192
#define ITS_MAX_HOUR 24
#define ITS_M... | [
"orchidaroma@126.com"
] | orchidaroma@126.com |
f55999994fff470510f9871979100bb32ae74514 | 52093e30d5ff4da56aa617df0b59c22909154f9a | /f2gameServer/Block.h | 066df708d4401a5e2a5aec74df536f40fe8f9970 | [] | no_license | LQ1234/f2gameServer | 1d06b07a7665b8d027e48634d9183f1c49f07fab | 7793314efa39902ae85348d6ef7138d71e46a5b6 | refs/heads/master | 2020-07-13T05:27:12.862814 | 2020-05-24T23:41:49 | 2020-05-24T23:41:49 | 205,003,384 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 770 | h | #pragma once
#include <vector>
#include "ListSerializer.h"
#include <Box2D/Box2D.h>
#include "gameObjectData.h"
#include <set>
#define BLOCK_TYPES_PP NULLBLOCK, STONEBLOCK, PLANKBLOCK, STONEBRICKBLOCK, LOGVBLOCK, LOGHBLOCK, GLASSBLOCK, TORCHBLOCK, LEAFBLOCK
#define BLOCK_HITABLE_PP STONEBLOCK, PLANKBLOCK, STONEBRICKB... | [
"Larry Qiu@DESKTOP-LG0O7G3"
] | Larry Qiu@DESKTOP-LG0O7G3 |
44ad6753b4ec9ca303c6847a062905469a2a3ae0 | 31d3018a2c9a7856fd4f614977ec6cb565dd2732 | /lib/Sema/SemaExprObjC.cpp | 0d41d2ef81d7c9fc0b2564539348435e4ada8c9c | [
"NCSA"
] | permissive | iewrer/Clang | 1e80b97d0cb8b51850519b23fdf77e8c5aaa3257 | d629b6fd7e1d1f5f54894e473909a84bfd8504c6 | refs/heads/master | 2020-06-04T21:34:09.859848 | 2014-03-20T07:46:22 | 2014-03-20T07:46:22 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 154,975 | cpp | //===--- SemaExprObjC.cpp - Semantic Analysis for ObjC Expressions --------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | [
"barry1451@gmail.com"
] | barry1451@gmail.com |
34f0813d68e0fb1b6cd090aa7cc3457cf72e1b90 | e54b9ff5eaf41ab13d156430554077f133b1be06 | /leetcode1710/leetcode1710_my_version.cpp | aef8b1b5631c237fe46db13aa87c956f22e45771 | [] | no_license | allpasscool/leetcodes | bb0bd1391d5201baad214e5b4f8089dfe9c782b0 | 4fd81b4cf9382890cadc6bf8def721cc25eb9949 | refs/heads/master | 2022-05-21T11:34:06.958063 | 2022-03-24T08:57:41 | 2022-03-24T08:57:41 | 163,725,766 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 939 | cpp | class Solution {
public:
int maximumUnits(vector<vector<int>>& boxTypes, int truckSize) {
sort(boxTypes.begin(), boxTypes.end(), [](const vector<int>& left, const vector<int>& right) {
return left[1] > right[1];
});
int ans = 0;
int count = 0;
for (int i ... | [
"a82012844013@yahoo.com.tw"
] | a82012844013@yahoo.com.tw |
2326788bd8c55329fcbc2648baaf8081901535e5 | ad9ca29988acfd2cdddd573c068cfd61dfa942f0 | /src/qt/splashscreen.h | f1a3fe71369313c6e7f4c98595a863b6acac2032 | [
"MIT"
] | permissive | 5GL/5GL | 5d6ca603079e7abf673596f59c38eaa96392c42f | 6a24c394206d53de3bccd4cb79a9dc22fa782ffa | refs/heads/master | 2020-07-27T00:36:33.568205 | 2019-09-16T13:52:11 | 2019-09-16T13:52:11 | 208,810,885 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,409 | h | // Copyright (c) 2018-2019 The 5GL developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef 5GL_QT_SPLASHSCREEN_H
#define 5GL_QT_SPLASHSCREEN_H
#include <QSplashScreen>
class NetworkStyle;
/** Class for the spla... | [
"5GL@5GL.info"
] | 5GL@5GL.info |
6970906a66a2dd5936a7a8022fe9d253ca4b6729 | c804da20fc2305b36a81fb2d0b43f64e7dc89f79 | /random.cpp | 86618a020edd5f31a221b2d0e5b91d96e38fbdd0 | [] | no_license | morisummer2/Random-question-program | 39260f0f914726853791e1859f5e4eb62a8322e9 | e59f7234458fa10ea32b719cae90b8e53a7249bb | refs/heads/main | 2023-03-07T05:42:44.576581 | 2021-02-25T00:43:25 | 2021-02-25T00:43:25 | 341,868,023 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 143 | cpp | #include"NODE.h"
#include"ITERATOR.h"
#include"UI_MANAGER.h"
int _tmain()
{
ITERATOR iterator;
UI_MANAGER ui(iterator);
ui.Start();
}
| [
"79527804+morisummer2@users.noreply.github.com"
] | 79527804+morisummer2@users.noreply.github.com |
8b2b5dea0c153f36fef8b3b7e7bc925d67e76598 | a6ceaaff1224a7db1162084f48a9ae9a4678401d | /CitrusEngine/CitrusEngine/Layer.h | ecc3e3845611d363dd33eb450cbfa89835ebfdf1 | [] | no_license | Kysumi/CitrusEngine | dfba0b102f184dc63240c97630d3e0da9888c714 | 81b3c2d720418158b359a1ff066c52658c38d815 | refs/heads/master | 2018-12-26T05:49:19.271100 | 2018-10-20T06:27:57 | 2018-10-20T06:27:57 | 111,181,043 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 426 | h | #pragma once
#ifndef LAYER_H
#define LAYER_H
#include "pugixml.hpp"
#include <vector>
#include <SFML\Graphics.hpp>
#include "strippper.h"
#include <iostream>
#include "Tile.h"
class Layer
{
public:
Layer(pugi::xml_node lNode);
std::string LayerId;
private:
bool _isVisible;
std::string _description;
sf::Vector... | [
"kysumiwow@gmail.com"
] | kysumiwow@gmail.com |
b4e77fd1dff4f3991006d7d802798a6e9061d774 | c4cb9bb1ca9bd22c27def2a61380a4df3ecb0520 | /native/services/inputflinger/InputReader.cpp | e5c24abfe3f6a6a8a50c07e1291237914f824838 | [
"LicenseRef-scancode-unicode",
"Apache-2.0"
] | permissive | SchedulerShu/android-framework | 28b2da34ce883314bcc1ad808faa7b804711a9ef | 44d10a60a799a1addcab49507793a94f9121be20 | refs/heads/master | 2021-08-22T04:52:20.070306 | 2017-11-29T09:57:02 | 2017-11-29T09:57:02 | 109,920,662 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 295,461 | cpp | /*
* Copyright (C) 2014 MediaTek Inc.
* Modification based on code covered by the mentioned copyright
* and/or permission notice(s).
*/
/*
* Copyright (C) 2010 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with th... | [
"shufu.shu@gmail.com"
] | shufu.shu@gmail.com |
b00100240223db480452a985efe5fd4a41027d03 | 7f74c236881176d673fd5b8bed6e18283232deca | /modules/predicates/unit/simd/is_nlez.cpp | 68079a018292e3483f554c7d0788dad7a23b6219 | [
"BSL-1.0"
] | permissive | pesterie/nt2 | 57a3cbe4e3631d5eacbd1703b79af769f40b13f1 | 94e4062794466136987bf0afd9a94d43275b13cf | refs/heads/master | 2021-01-18T06:52:52.070291 | 2011-08-31T12:04:16 | 2011-08-31T12:04:16 | 1,566,046 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,188 | cpp | //////////////////////////////////////////////////////////////////////////////
/// Copyright 2003 and onward LASMEA UMR 6602 CNRS/U.B.P Clermont-Ferrand
/// Copyright 2009 and onward LRI UMR 8623 CNRS/Univ Paris Sud XI
///
/// Distributed under the Boost Software License, Version 1.0
/// ... | [
"mathias@gaunard.com"
] | mathias@gaunard.com |
d21ac26b4e2a04f4fffd9086328cde47cc6fe22b | f7fa487f1872352781372611e3322d494de569da | /MemLeak/MemLeak.cpp | ad63ba70aca10d1f2c4edbe5f3a3686f5c2a8620 | [] | no_license | rainhenry/CodeNote | 151494aa5069d49ccf27112c8fc791a1c355bc5c | ba55ca15ee003aa2a02ffae7563629907a831333 | refs/heads/master | 2023-07-02T03:51:23.163637 | 2021-08-07T17:16:32 | 2021-08-07T17:16:32 | 393,670,260 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 245 | cpp |
#include "stdafx.h"
#include "MemLeak.h"
CMemLeak mCMemLeak;
bool CMemLeak::init_flag = false;
CMemLeak::CMemLeak()
{
if (init_flag == false)
{
init_flag = true;
CheckMemoryLeak;
}
}
CMemLeak::~CMemLeak()
{
}
| [
"rainhenry314@gmail.com"
] | rainhenry314@gmail.com |
37e3022172c224a75908aeccb589c2f15eae28cb | 3ea315a54e19789dc3fa1d4146931fcf4e0a3667 | /fibonacci.cpp | 1d5ee5dc9281c7d41f53e10103f67956a9e717c6 | [] | no_license | Nikhil-Reddy1/my_cpp_codes | b3c6062bbb3abcf1508944ce458ee1a85027f949 | a5f99410445aa72188af71ea3d953d58e1e4cc61 | refs/heads/master | 2020-12-21T05:20:11.958160 | 2020-01-26T13:45:47 | 2020-01-26T13:45:47 | 236,320,412 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 254 | cpp | #include<iostream>
using namespace std;
int main()
{
int a=0,n,b=1;
std::cout<<"enter the limit of fibonacci no..\n";
std::cin>>n;
std::cout<<a<<" "<<b<<" ";
for(int i=2;i<n;i++)
{
int c = a + b;
std::cout<<c<<" ";
a=b;
b=c;
}
return 0;
} | [
"nikhil-kittu@users.noreply.github.com"
] | nikhil-kittu@users.noreply.github.com |
665eec45d44a2b1ba94cac6f948d3cd599d45a9c | 7ba882fdb150d9125852b5ac7a75510619f5c05d | /sumi/allreduce.h | 4f19109149a0bf5704efc81d9a095217c72eb2db | [] | no_license | jjwilke/sumi | 402c32dd8af0ecd73c47453197a38f7333f8a030 | bd8971adf0765f93f64f1667dd7683de3028ded9 | refs/heads/master | 2021-01-10T09:10:46.039904 | 2016-03-22T01:31:52 | 2016-03-22T01:31:52 | 51,499,960 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,304 | h | #ifndef sstmac_sw_api_simpsg_ALLREDUCE_H
#define sstmac_sw_api_simpsg_ALLREDUCE_H
#include <sumi/collective.h>
#include <sumi/collective_actor.h>
#include <sumi/collective_message.h>
#include <sumi/comm_functions.h>
DeclareDebugSlot(sumi_allreduce)
namespace sumi {
class wilke_allreduce_actor :
public dag_collect... | [
"jjwilke@s940740ca.ca.sandia.gov"
] | jjwilke@s940740ca.ca.sandia.gov |
1e4b3a19b009be64d0be444a2ef6c5fb54e64627 | 184180d341d2928ab7c5a626d94f2a9863726c65 | /issuestests/fbroc/inst/testfiles/fpr_at_tpr_cached/libFuzzer_fpr_at_tpr_cached/fpr_at_tpr_cached_DeepState_TestHarness.cpp | 63ea5f8069aa53fa04a235f39c01b6bd2083e81c | [] | no_license | akhikolla/RcppDeepStateTest | f102ddf03a22b0fc05e02239d53405c8977cbc2b | 97e73fe4f8cb0f8e5415f52a2474c8bc322bbbe5 | refs/heads/master | 2023-03-03T12:19:31.725234 | 2021-02-12T21:50:12 | 2021-02-12T21:50:12 | 254,214,504 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,907 | cpp | #include <fstream>
#include <RInside.h>
#include <iostream>
#include <RcppDeepState.h>
#include <qs.h>
#include <DeepState.hpp>
NumericMatrix fpr_at_tpr_cached(NumericMatrix tpr, NumericMatrix fpr, int n_steps);
TEST(fbroc_deepstate_test,fpr_at_tpr_cached_test){
static int rinside_flag = 0;
if(rinside_flag == 0)
... | [
"akhilakollasrinu424jf@gmail.com"
] | akhilakollasrinu424jf@gmail.com |
8391dd95d7892d9907d55aa7e9afe97c52ed6be3 | 62cebce3183176b9d8e05f8437318072b8ef1ab3 | /test/src/dataman.cpp | 9aff3ce0a51709989a16077f36dbd5843b86c2f7 | [] | no_license | dec1/user_io | f4422f04622b979b16a1e457b0f290e438d2c8f7 | 2b26a69cffe065a2b02441f80398e8661521851c | refs/heads/master | 2020-06-23T06:26:12.543726 | 2017-09-07T10:01:31 | 2017-09-07T10:01:31 | 94,231,380 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 911 | cpp | #include "dataman.h"
#include "dataelem.h"
tDataMan::tDataMan(tMan * Man)
: _Man(Man)
{
_Elems = new tDataElems();
}
//---------------------------
tDataMan::~tDataMan()
{
freeElems();
delete _Elems;
}
//---------------------------
void tDataMan::addElem(tDataElem *Elem)
{
elems()->append(Elem);
}
... | [
"dec1@geoaze.com"
] | dec1@geoaze.com |
0ea2e6f773b20ae4436a3f273651a58d0e5fef73 | 4eaaeaaec02753509eb5118e1060e91377fa3290 | /BT_lesson_5/BaiTap_1.cpp | 7e2644eba4ec37715e30bc8c0f09843a24113486 | [] | no_license | luongngoc2194/T2104E | 0e5c8493aa7c7b5e34c3b5c89b41b5c9247b82d4 | e2156c6935d912d31b772a2b44d4806a2affb77f | refs/heads/main | 2023-07-15T00:30:58.884664 | 2021-08-26T13:30:54 | 2021-08-26T13:30:54 | 367,024,169 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 180 | cpp | //inso chan nho hon n
#include<stdio.h>
int main(){
int n;
printf("Nhap so n :");
scanf("%d",&n);
for(int i=1;i<n;i++){
if(i%2==0){
printf("%d\n",i);
}
}
}
| [
"luongngoc2194@gmail.com"
] | luongngoc2194@gmail.com |
ae4d1354fb023e8a1213414b57ac791827a66260 | 59d8c7160e92c235bdc28385a741fd9e4745f4ab | /mine/Section13/DeclareClassAndObjects/main.cpp | 979247c2c46035063023daab72012778caaaf27c | [] | no_license | mhirai-bit/BeginningCppProgrammingFromBeginnerToBeyond | 1ba3b56cea711a12c78bedfa6fc1f8a7cf422abe | 52ce8c4c3494b540bcba385b6a6826663387ebbe | refs/heads/master | 2022-12-17T01:51:34.622302 | 2020-09-23T03:42:54 | 2020-09-23T03:42:54 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 698 | cpp | // Sectioin 13
// Declare Classes and Objects
#include <iostream>
#include <string>
#include <vector>
using namespace std;
class Player{
//attributes
string name {"Player"};
int health {100};
int xp {3};
// methods
void talk(string);
bool is_dead();
};
class Account {
//attributes
string name {"Ac... | [
"mkohri22@gmail.com"
] | mkohri22@gmail.com |
0fcc4454bb6905d729740ea7ea5338d00d689a87 | b0ab9fd432e4de81bfa1213efd664e44573fd763 | /2008/main.cpp | 93b633972280ca43dfc2080c59a9592928a49cc9 | [] | no_license | Strazdonis/informatikos_egzai | 293912655d362f42bb8eca56236d68b12645e7fb | 686413aee87a3082ae9b279ef7d2d18b89e5afb2 | refs/heads/master | 2020-05-25T07:39:29.720259 | 2019-05-27T19:52:54 | 2019-05-27T19:52:54 | 187,690,336 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,535 | cpp | #include <iostream>
#include <fstream>
using namespace std;
struct duomenys {
string pavadinimas;
int msk;
int mnr[100];
};
duomenys duom[100];
int marsrutai[100] = {0};
int stoteles[100] = {0};
void nuskaitymas() {
ifstream fin;
fin.open("U2.txt");
int sk;
fin >> sk;
fin.get();
char... | [
"edvinasstrazdonis@gmail.com"
] | edvinasstrazdonis@gmail.com |
eb81209f78c20e20794110ee3393e637eae35d5d | 9f6cd4fa5c014673f24aad768802c5c0e9c279f1 | /lib/src/facts/posix/external_resolvers_factory.cc | 5f65222a23a52732ae63c6fc3b07d8925a5b3da1 | [
"Apache-2.0"
] | permissive | nwops/facter | 9b0de994c47ba5c8cf0065b6afb9b1bdfcacce98 | e36657bea27254f003c8fc71d8ef57454db643e2 | refs/heads/master | 2022-12-22T07:21:29.274914 | 2020-09-21T13:45:35 | 2020-09-21T13:45:35 | 298,468,479 | 0 | 0 | MIT | 2020-09-25T04:37:36 | 2020-09-25T04:37:35 | null | UTF-8 | C++ | false | false | 494 | cc | #include <leatherman/locale/locale.hpp>
#include <facter/facts/external_resolvers_factory.hpp>
using namespace std;
namespace facter { namespace facts {
shared_ptr<external::resolver> external_resolvers_factory::get_resolver(const string& path) {
auto resolver = get_common_resolver(path);
if (resolver)... | [
"ciprian.badescu@puppet.com"
] | ciprian.badescu@puppet.com |
0abd8e0c58ee141a14021aa9d54689c8a2a71f00 | f770634e8d0926b0fe365e634682ca9ac5a426da | /Tencent_intership_2016/construct_huiwen.cpp | 7609a47217131c0df7e06be9efd4e3090676982f | [] | no_license | hu18yuanwai/code_work | 4ea838f884e619c815f97dcab6d67c153e4c256a | 040bba008ee0f32ef96a3bfc7560134440d56006 | refs/heads/master | 2020-04-02T04:58:01.760054 | 2017-03-26T12:55:54 | 2017-03-26T12:55:54 | 62,209,794 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 677 | cpp | #include <iostream>
#include <cstring>
#include <string>
using namespace std;
#define INT_MAX 2147483647
bool is_P(string s){
if(s.size()<=1) return true;
int i=0,j=s.size()-1;
while(i<=j){
if(s[i]!=s[j]) return false;
i++;
j--;
}
return true;
}
void back(string s,int num,int &min){
if(num>=min) return;
... | [
"1028117255@qq.com"
] | 1028117255@qq.com |
380a5c79d767938539f43fb37d57ac673d89b5d1 | 32783ad2a0aecdbfae71be7a684e13887e038a28 | /CodeChef/Easy/RESQ.cpp | c24c2c3378c3a4d041cad2ff9dc2b4e4f42c366c | [
"MIT"
] | permissive | malathidhandapani/Competitive-Coding | 7c6fe2074bb8a171b54f633f84a69fceee6cd483 | ffefe5f8b299c623af1ef01bf024af339401de0b | refs/heads/master | 2020-04-02T02:50:01.341770 | 2017-12-19T09:07:53 | 2017-12-19T09:07:53 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 801 | cpp | #include "bits/stdc++.h"
using namespace std;
# define s(n) scanf("%d",&n)
# define sc(n) scanf("%c",&n)
# define sl(n) scanf("%lld",&n)
# define sf(n) scanf("%lf",&n)
# define ss(n) scanf("%s",n)
# define I... | [
"saurabhjn76@gmail.com"
] | saurabhjn76@gmail.com |
03c1cca67b5d3c377aedcd30f89dfc6ce97c9d30 | 793c8848753f530aab28076a4077deac815af5ac | /src/dskphone/logic/lamp/ledlamp/src/eventslot.h | 55bfcd908f7c1668d109e7a727b7ebc130e10d9c | [] | no_license | Parantido/sipphone | 4c1b9b18a7a6e478514fe0aadb79335e734bc016 | f402efb088bb42900867608cc9ccf15d9b946d7d | refs/heads/master | 2021-09-10T20:12:36.553640 | 2018-03-30T12:44:13 | 2018-03-30T12:44:13 | 263,628,242 | 1 | 0 | null | 2020-05-13T12:49:19 | 2020-05-13T12:49:18 | null | UTF-8 | C++ | false | false | 720 | h | #ifndef _EVENTSLOTH_
#define _EVENTSLOTH_
#ifdef _T42
#else
// #include <list>
// #include <vector>
#endif
#include <ETLLib.hpp>
#include "ledlampstruct.h"
class CLedLamp;
class CEventSlot
{
public:
CEventSlot();
~CEventSlot();
bool PostEvent(LAMP_EVENTTYPE _eventType, const tEventUnit & eventUnit, bool bR... | [
"rongxx@yealink.com"
] | rongxx@yealink.com |
344db27bf7c62d80483bee339beeeaf2bba159bc | 508510d10ddcb009fc4fb53a26d897bc462039c0 | /PUBG/SDK/PUBG_HudMain_parameters.hpp | 62aba74126421ef6ebd6ca4c8560ed248b4d285d | [] | no_license | Avatarchik/PUBG-SDK | ed6e0aa27eac646e557272bbf1607b7351905c8c | 07639ddf96bc0f57fb4b1be0a9b29d5446fcc5da | refs/heads/master | 2021-06-21T07:51:37.309095 | 2017-08-10T08:15:56 | 2017-08-10T08:15:56 | 100,607,141 | 1 | 1 | null | 2017-08-17T13:36:40 | 2017-08-17T13:36:40 | null | UTF-8 | C++ | false | false | 13,017 | hpp | #pragma once
// PLAYERUNKNOWN BattleGrounds () SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "../SDK.hpp"
namespace Classes
{
//---------------------------------------------------------------------------
//Parameters
//---------------------------------------------------------------------------
// Fu... | [
"jl2378@cornell.edu"
] | jl2378@cornell.edu |
248a245ea5251927f865ecebd479e2b0ba4e9ad2 | 212f1210ab1da799fb26262614edee0cf2c14380 | /src/libtcod/sdl2/sdl2_display.cpp | b9bdbfd616b4e7c99e87e9e29e20493cf5e5f823 | [] | no_license | MSylvia/libtcod | 43ae15408a35d9d583dfe13119e8b8767681914a | f1089129890bbf2d84abed08b73874c129d6ec6f | refs/heads/master | 2020-04-04T09:07:29.655093 | 2018-10-24T23:04:45 | 2018-10-24T23:04:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,904 | cpp | /* libtcod
* Copyright © 2008-2018 Jice and the libtcod contributers.
* All rights reserved.
*
* libtcod 'The Doryen library' is a cross-platform C/C++ library for roguelike
* developers.
* Its source code is available from:
* https://github.com/libtcod/libtcod
*
* Redistribution and use in source and binary f... | [
"4b796c65@gmail.com"
] | 4b796c65@gmail.com |
d7a457738012bac2c7091aeb8e4c0795ed17c6dc | 0f46bca9176f453ea28be8a7c91adfdeee4af3e5 | /include/dynamics/STVD.h | 0b16adcca884298101996bc55ea488a0f65278f2 | [] | no_license | PeterZs/RIM | 3181baf1b668c719ae55dbc0448228d233083cd4 | 81639c2f06b969c668f6d187f6cccf5d97a71ba7 | refs/heads/master | 2022-12-01T04:35:23.344641 | 2020-08-06T07:29:16 | 2020-08-06T07:29:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,451 | h | /*
********************************************************************************
MIT License
Copyright(c) 2019 Christopher Brandt
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... | [
"RotateMe@gmail.com"
] | RotateMe@gmail.com |
06ca0d9c5fbb35273341ebee8d7aca5a30185387 | 6f53e715ab0edeafc89cbf33941228314181c4cb | /Classes/Utility/Config.cpp | 2b9c29488278c78c0edced42a89d21aa06319b44 | [] | no_license | HuyenPhuong/mini | 859a9b4450117ddc6ffea0b723a231d2787ea72e | e3a29eecebb5cdf2b2d5c34c801e17bdab8fdce2 | refs/heads/master | 2021-01-23T21:35:35.789464 | 2015-06-26T15:59:28 | 2015-06-26T15:59:28 | 38,119,254 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 529 | cpp | #include "Config.h"
Config::Config(){}
Config::~Config(){}
Vec2 Config::centerPoint = Vec2(0,0);
Size Config::screenSize = Size(0, 0);
float Config::getScale(Node* p)
{
float xScale = screenSize.width / p->getContentSize().width;
float yScale = screenSize.height / p->getContentSize().height;
return max(xScale, ... | [
"huyensoc.mta"
] | huyensoc.mta |
89af3058bb78c9bf3c57b0c6a3cf58031eae6a6b | 35891e29e295589495a3d4196f59cbf8dddaf3cb | /main.cpp | 79303b2d1316ec390fed822d073f8a92bac51645 | [] | no_license | dmehrotra/smelly-wifi | de3aef0f56edeb92d449b4c94af755bdf173bbb8 | 1d17289e8d087ac15035e8613b0935d7632967a6 | refs/heads/master | 2021-01-13T00:16:53.210693 | 2016-03-24T23:59:01 | 2016-03-24T23:59:01 | 54,681,911 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,287 | cpp | #include <vector>
#include <tins.h>
//g++ main.cpp -o test -O3 -std=c++11 -lpthread -ltins
using namespace Tins;
using namespace std;
string get_header_from_raw(string header, const RawPDU& rawpdu){
string payL = "";
string content = "";
const RawPDU::payload_type& payload = rawpdu.payload();
for... | [
"dhruv.mehrotra3@gmail.com"
] | dhruv.mehrotra3@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.