blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 3 264 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 5 140 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 986
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 3.89k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 23
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 145
values | src_encoding stringclasses 34
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 3 10.4M | extension stringclasses 122
values | content stringlengths 3 10.4M | authors listlengths 1 1 | author_id stringlengths 0 158 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
9f9d8e80ebf933d40f01104cf69bc1a862748aff | 5cb7861cf5787dec2ff4bb0d5f2f96803e4b7ede | /tensorflow/core/distributed_runtime/eager/remote_copy_node.cc | 5290d7be8c457f65021fb3b4498a5c6669770761 | [
"Apache-2.0",
"MIT",
"BSD-2-Clause"
] | permissive | VeriSilicon/tensorflow | c94887193d562c9d320b5c56d476629682c4ce58 | 2a1fa53a7c3a06eedec16b8aa751fb7deba8f4c5 | refs/heads/xla_npu_v270 | 2022-06-02T16:53:51.549104 | 2022-04-18T10:19:46 | 2022-04-18T10:19:46 | 93,762,772 | 4 | 29 | Apache-2.0 | 2022-04-18T10:19:47 | 2017-06-08T15:05:39 | C++ | UTF-8 | C++ | false | false | 19,432 | cc | /* Copyright 2019 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 |
ac9efe46e09345dd6f200552134f175c72473c5c | a15cabb96f2902d0d71be5b6d8cf3daff85b82b8 | /app/Interaction.hpp | c56266208c002f0fd6b08555df2fddb6784cfb22 | [] | no_license | andrewchen8407/People-Just-Love-to-Play-with-Words | 0622091b1ab1eaef73b0cf184ca7c9be051571ee | 0c9097a484475f0c8f188738ef422553f3b60170 | refs/heads/master | 2023-06-07T11:22:49.187392 | 2019-06-12T09:44:50 | 2019-06-12T09:44:50 | 190,830,811 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,264 | hpp | // Interaction.hpp
//
// ICS 45C Spring 2019
// Project #4: People Just Love to Play with Words
//
// An Interaction describes one interaction that the user undertakes
// with BooEdit. There are four different kinds of interactions:
//
// * Commands, which attempt to affect some kind of change on the editor
// * Undo,... | [
"noreply@github.com"
] | andrewchen8407.noreply@github.com |
14fd46706146ceded47f2e6792b8120386a3c4f5 | 08b8cf38e1936e8cec27f84af0d3727321cec9c4 | /data/crawl/squid/new_hunk_3331.cpp | be28b3598f8bde68bcb395c339c6ea2affebeb7f | [] | 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 | 1,742 | cpp | const char *
AuthBasicConfig::type() const
{
return basicScheme::GetInstance()->type();
}
int32_t
BasicUser::ttl() const
{
if (credentials() != Ok && credentials() != Pending)
return -1; // TTL is obsolete NOW.
int32_t basic_ttl = expiretime - squid_curtime + static_cast<AuthBasicConfig*>(config)-... | [
"993273596@qq.com"
] | 993273596@qq.com |
4a4a927d989a4598376ce5aeee4bb4f6875e07cc | eadff1890a9490969d2b095034f8146b8b168c7c | /src/io/reference/fasta.hpp | 65d38b354453698df3ea8213cf7bbb8218567135 | [
"MIT"
] | permissive | bjohnnyd/octopus | 34ad4a945e907111084108f03bd1a8a5f33c0e38 | fd981298a0591af0821ed8b8e04611c0cccec6dc | refs/heads/master | 2020-05-21T11:46:57.232257 | 2019-03-21T14:10:08 | 2019-03-21T14:10:08 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,327 | hpp | // Copyright (c) 2015-2019 Daniel Cooke
// Use of this source code is governed by the MIT license that can be found in the LICENSE file.
#ifndef fasta_hpp
#define fasta_hpp
#include <string>
#include <vector>
#include <cstdint>
#include <fstream>
#include <memory>
#include <boost/filesystem/path.hpp>
#include "bioi... | [
"dcooke@well.ox.ac.uk"
] | dcooke@well.ox.ac.uk |
a255269dbbf80f32e358e34581ed180db313c473 | 1c7cb3154854a0d5f628c4285aa209affd8d2fc9 | /chaos-ns-3/ns-3.27/src/wifi/helper/wifi-radio-energy-model-helper.cc | ee98ac93119d49c4ef90477c4611a1c75c7e5766 | [
"GPL-2.0-only",
"LicenseRef-scancode-free-unknown",
"MIT"
] | permissive | ErikNatanael/royal-chaos | fac8e5891044490cd2e61b7367f284d99951d0d1 | a8e763d3720cc3e158e98143cabce8106d8de2aa | refs/heads/master | 2022-07-16T12:21:31.494237 | 2020-05-12T12:50:08 | 2020-05-12T12:50:08 | 263,333,134 | 0 | 0 | MIT | 2020-05-12T12:42:08 | 2020-05-12T12:42:08 | null | UTF-8 | C++ | false | false | 4,708 | cc | /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
/*
* Copyright (c) 2010 Network Security Lab, University of Washington, Seattle.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Sof... | [
"zhanglong3030@qq.com"
] | zhanglong3030@qq.com |
98b45cbb81c33e2b69a860d3d9effd3d7a8e33bc | f048168dbd346e242dece4cdd90b57af82cc90b0 | /OpenGL-code/Solution-1/f.cpp | 8fad048d76372b5bf9f7089cffacd0f4a9f68ca1 | [] | no_license | SoC-OpenGL/soc-assignment-1-LostSam423 | 2ec9ad821f8cdfb289384b255294651fb75ff04e | 295a95668c52940e3d8a6cc4be299a287b3bd2c3 | refs/heads/master | 2021-05-16T18:29:45.327803 | 2020-03-31T05:01:58 | 2020-03-31T05:01:58 | 250,419,867 | 1 | 0 | null | 2020-03-27T02:16:39 | 2020-03-27T02:16:33 | null | UTF-8 | C++ | false | false | 4,438 | cpp |
#include <GL/glew.h>
#include <GLFW/glfw3.h>
#include <iostream>
#include <cmath>
#include "utility/readfile.hpp"
#include "utility/shader.hpp"
void framebuffer_size_callback(GLFWwindow* window, int width, int height);
void processInput(GLFWwindow *window);
// settings
const unsigned int SCR_WIDTH = 800;
const un... | [
"beherasambit423@gmail.com"
] | beherasambit423@gmail.com |
76a2d5c1a89b55c04f0926fe601efb9c26656119 | a8493c693e122fc8a89e68e871d5586a430473d3 | /RedisStudio/Base/String.h | 39d890c9ec34f8b134d79cbc6605a5ceba9e2fcc | [] | no_license | wangzijian0x7C6/RedisStudio | cb051ef45da2803e828730212858abb0827be509 | fa749c8405a10980a8ae11b293d4cf0ca12f2129 | refs/heads/master | 2021-05-26T21:19:04.230027 | 2014-05-06T14:17:30 | 2014-05-06T14:17:30 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 558 | h | #ifndef Base_String_INCLUDED
#define Base_String_INCLUDED
#include <string>
#include <vector>
namespace Base {
class String
{
public:
typedef std::vector<std::string> TSeqStr;
public:
enum Options
{
TOK_IGNORE_EMPTY = 1, /// ignore empty tokens
TOK_TRIM = 2 /// remove leading and trailing whitespace ... | [
"cinience@qq.com"
] | cinience@qq.com |
b86d04348f0d0d71a87ce795f07d8a0e424be822 | adab25556b82b65f14dbc8e490afdbc5ccfc42de | /lab3/Basic/basicinterpreter.cpp | cc7e4881ff176187b235fe545879bda05d3ec2d8 | [] | no_license | abucraft/ds-Lab | 4134eef72f75f2a358038b12900325b4f19bfd79 | a5706e216a13335e11a8e62cccd716ce1db9952e | refs/heads/master | 2021-01-10T14:49:27.010969 | 2015-06-03T17:19:36 | 2015-06-03T17:19:36 | 36,806,896 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,234 | cpp | #include"basicinterpreter.h"
#include<algorithm>
#include<cctype>
void changestring(std::string&dest)
{
std::transform(dest.begin(),dest.end(),dest.begin(),::tolower);
}
Basicline::Basicline(){}
Basicline::~Basicline(){}
//class Rem
Remline::Remline(std::string raw):linenum(0){
std::stringstream token(... | [
"499817366@qq.com"
] | 499817366@qq.com |
f4b4ac8fb461da847a4f639dd4859eaabf0c8a4d | 29206316f10ae35dbf4eb8a1de1e8496a2df136a | /Object.h | 48045b9b0d5c035716263dffb1a373278fd8f9ea | [] | no_license | MAGANER/Flappy-Chanty | 6d1ce2976d8abbbf86e5865dff79ae7739846ee5 | 35b6861ff4d8b82bb2e8fddd14e4d78152ac8d3d | refs/heads/master | 2020-04-11T16:55:57.978352 | 2018-12-15T21:21:11 | 2018-12-15T21:21:11 | 161,941,888 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 436 | h | // this is common class of every game object like player, enemy etc
#pragma once
#include"stdafx.h"
class Object
{
protected:
float x_pos, y_pos;
string img_file;
Image gobject_img;
Texture gobject_textr;
Sprite gobject_spr;
public:
float get_x();
float get_y();
void set_image(string img);
void set_pos(f... | [
"maganer.krik@mail.ru"
] | maganer.krik@mail.ru |
876ca99fa4ba9938c37d4ef313227465c1898f98 | 2c1451724d861cadf0eb0ca1d0ad0ecfb34c5ea2 | /Fall Project 2016/table.h | 3247f0669a81e62a915bc432baf784d9e379733d | [] | no_license | Qi-Ye-079/Board-Game---CSI2372 | dec570488323700592ba7c1faf8ebbbb05fd2819 | ce1bfc702a8d444bcffb3729abc7d3f41c4e5365 | refs/heads/master | 2020-03-29T07:14:32.934694 | 2018-06-20T17:20:48 | 2018-06-20T17:20:48 | 149,658,223 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,726 | h | #pragma once
#ifndef TABLE_H
#define TABLE_H
#include <string>
#include <iostream>
#include <array>
#include "player.h"
#include "discard_pile.h"
#include "trade_area.h"
class Table {
/**
* 2 players on the table
*/
std::array<Player*, 2> players;
/**
* The deck
*/
Deck* d_deck;
/**
* The discard ... | [
"qye079@uottawa.ca"
] | qye079@uottawa.ca |
e2173eb9f820df622aa21400df601b179d7212f4 | 1da7dac0da7bbfab25ffd47b6ef898e42365af25 | /src/parse_records.h | 07a32cab5c250534a3a5dc57b5aba7b55f75a08d | [
"Apache-2.0"
] | permissive | pixlise/piquant | a32e9a6dab8115bc6a601bac4b6efa4bebe2395a | a534d67ee84734fff746e6bdce0df8a1c3f72926 | refs/heads/main | 2023-04-13T21:21:07.518073 | 2023-03-24T11:02:43 | 2023-03-24T11:02:43 | 520,582,671 | 3 | 0 | Apache-2.0 | 2023-03-24T11:02:45 | 2022-08-02T17:04:14 | C | UTF-8 | C++ | false | false | 2,058 | h | // Copyright (c) 2018-2022 California Institute of Technology (“Caltech”) and
// University of Washington. U.S. Government sponsorship acknowledged.
// All rights reserved.
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// ... | [
"tom@spicule.co.uk"
] | tom@spicule.co.uk |
4a7f54f3b0944a41354b8b88f6508509b81ab536 | ce7326d8186d3732095047d7b40da6faece2d114 | /src/qt/tradeplus_coin/settings/settingswidget.h | e589b25c2670c8dd111e9cb00b670fac15ee300d | [
"MIT"
] | permissive | tdpsdevextreme/TradePlusCoin | e094d60c3d8d088f26bc16819194930ce39f7f6d | b3f49f72dff3c61edaed2f4be95c4dfa21893f7f | refs/heads/master | 2020-09-05T18:47:52.916679 | 2020-07-29T07:37:59 | 2020-07-29T07:37:59 | 220,183,704 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,017 | h | // Copyright (c) 2019 The TradePlus_Coin developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef SETTINGSWIDGET_H
#define SETTINGSWIDGET_H
#include <QWidget>
#include "qt/tradeplus_coin/pwidget.h"
#include "qt/tradep... | [
"57004535+tdpsdevextreme@users.noreply.github.com"
] | 57004535+tdpsdevextreme@users.noreply.github.com |
6170b0b0205a5cb1c28ea369ccec61ff9dc43c02 | 7bf34b21f3016f4bcf8a55b86ff951fa8782d9b2 | /TypeTest/myparser.h | 2cd1d45b89fb9848dcc8edf2ddd9f41130f04592 | [] | no_license | yzy-source/CompilerPrinciple | 75985a77697a501dd210b284fd1996861f6a9809 | 06fef5cb50cf25b54e2cc675caee1690716586fe | refs/heads/master | 2021-04-08T08:48:02.107178 | 2020-03-21T08:10:55 | 2020-03-21T08:10:55 | 248,759,752 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,102 | h | /****************************************************************************
* U N R E G I S T E R E D C O P Y
*
* You are on day 49 of your 30 day trial period.
*
* This file was produced by an UNREGISTERED COPY of Parser Generator. It is
* for evaluation purposes only. If you continue t... | [
"zhaoyangyu@192.168.0.8"
] | zhaoyangyu@192.168.0.8 |
3f6ff1e9a854e3c1f1499cbe499c08feb2632fa3 | 979be752bf1a0827817f282e83f1c4a494815dad | /Src/Position.cpp | 208757dccb467df6cefcfdf9f032927f93d32689 | [] | no_license | artalgame/CourseWork | e623fb342b575537706fb4100be8313e60b19422 | 2608b1530dba806b8b54c7fd7e33eb583a14ec6e | refs/heads/master | 2020-04-10T20:31:18.161399 | 2011-12-25T22:57:59 | 2011-12-25T22:57:59 | 2,826,551 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,035 | cpp | #include "Position.h"
Position::Position()
{
_x = 0;
_y = 0;
_angle = 0;
}
Position::Position(int x, int y, int angle)
{
_x = x;
_y = y;
_angle = angle;
}
int Position::GetX()
{
return _x;
}
int Position::GetY()
{
return _y;
}
int Position::GetAngle()
{
return _angle;
}
void Position::SetX(int x)
{
_x =... | [
"alkor1@yandex.ru"
] | alkor1@yandex.ru |
21703bc9944253a2a6f41fdbe1a6c4a115b4aa14 | 5e094222f22c9805992f77401f3bc3a03ca830b5 | /L1/src/figures/text.h | 6833c65f6c68742b4dc3947c0304409b21d3cfb4 | [
"Apache-2.0"
] | permissive | SqrtMinusOne/SEM7_Software_Design | d39f428c7637254dd0949b0c0dbeed50f3465a33 | a3d4828ad3aba5d7f266ee7eb598d1078d04450a | refs/heads/master | 2020-07-24T08:50:43.845513 | 2019-12-04T17:27:11 | 2019-12-04T17:27:11 | 207,872,166 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 561 | h | #pragma once
#include "shape.h"
class Text : virtual public Shape {
public:
explicit Text(std::string string, Point bottomLeft, Point topRight);
std::pair<Point, Point> getBorders() override;
std::vector<Point> getPath() override;
[[nodiscard]] const std::string &getString() const;
void setStri... | [
"thexcloud@gmail.com"
] | thexcloud@gmail.com |
9ddb4a5d8f3cde5cf48ff94cd74522b6b8d533e0 | a9341245fe25aa1bb9902a7ec387ac472a43c3f8 | /plugins/network/include/peaknetwork/core/NetworkWorldComponent.hpp | 97e8f35d1cbd70900ce542f045b0d222c0cbf628 | [] | no_license | mgottschlag/PeakEngineNew | c1287d86f52a6a8c92c6a87482a63d991236df38 | 271df91bf7982016d25b928ebd9872a2ab933966 | refs/heads/master | 2020-08-05T22:12:49.701966 | 2010-04-12T17:01:45 | 2010-04-12T17:01:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,210 | hpp | /*
Copyright (c) 2010, Mathias Gottschlag
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted, provided that the above
copyright notice and this permission notice appear in all copies.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARR... | [
"mathias-go@web.de"
] | mathias-go@web.de |
84d3a3f5d886bfa25534b5cf525706fbf639fbe8 | b3d56b40efb7103d323050728180e14e7d31e025 | /week1/3/matrix/matrix/indexoperator.cc | e41552fa24ae3d24dc2d840c92902ec076b416ef | [] | no_license | TTeun/c-PartII | 0f81b1cff554b72f810ab0d0a17643a1a5ae55dc | 168621c0d17f4dc23dea7d745f032995afcd9de8 | refs/heads/master | 2021-08-16T12:29:17.852697 | 2017-11-19T20:52:06 | 2017-11-19T20:52:06 | 111,330,704 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 115 | cc | #include "matrix.ih"
Matrix::Proxy Matrix::operator[](size_t const rowIdx){
return d_data + d_nCols * rowIdx;
}
| [
"teunverstraaten@gmail.com"
] | teunverstraaten@gmail.com |
6928833cb2a5d50307435ed5c355dd4b48f17b19 | 6d950133a551b50de6ebfecca6dfac9b5cdf55fc | /test/SemaCXX/cxx1z-class-template-argument-deduction.cpp | ede2844c235a594a3643bbf500d0778eeb54e446 | [
"NCSA"
] | permissive | kayju/clang | 35e82a9523c74d8d6d3011c0a0b87a0ea791e14b | efaec8fb6c752ab8eeefd22623d27f74e0686f23 | refs/heads/master | 2021-01-25T07:48:57.707247 | 2017-06-07T17:17:57 | 2017-06-07T17:17:57 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,864 | cpp | // RUN: %clang_cc1 -std=c++1z -verify %s
namespace std {
using size_t = decltype(sizeof(0));
template<typename T> struct initializer_list {
const T *p;
size_t n;
initializer_list();
};
// FIXME: This should probably not be necessary.
template<typename T> initializer_list(initializer_list<T>) -> i... | [
"richard-llvm@metafoo.co.uk"
] | richard-llvm@metafoo.co.uk |
84bc171509cfc658bc40be7b755323993c84603a | 79583cb52f7f9d32118b117e6a5df688216de135 | /baekjoon/1062/1062.cpp | c2e038b2c0a7d52e80e72d2ae2e8da9d217fb60d | [] | no_license | danaser72/baekjoon | f8f15096c90a04d59d034a6a8e25e6b066c0144d | bf3fb1e035f5b5e4c05ebf28865512addee818b2 | refs/heads/master | 2021-04-27T18:19:06.754507 | 2018-07-23T12:06:37 | 2018-07-23T12:06:37 | 122,337,625 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,038 | cpp | #include <iostream>
#include <string>
using namespace std;
int know[150] = { 0, };
string str[52];
int MAX = 0;
int N, K;
void func(int M, char alpha);
int main() {
//cin >> N >> K;
scanf("%d%d", &N, &K);
for (int i = 0; i < N; i++) {
cin >> str[i];
str[i].erase(str[i].begin(), str[i].begin() + 4);
str[i].... | [
"worl5604@naver.com"
] | worl5604@naver.com |
d0939d4b97fc4b0ecd450308d32338793626ce5d | 77ee25aae73961b5abdb9d742dd29459b8816d41 | /cpp/platform/impl/windows/generated/winrt/impl/Windows.Networking.Sockets.1.h | 0ee7036a3764f68a6bc7e0c28dd0b931d1d00bbf | [
"LicenseRef-scancode-generic-cla",
"Apache-2.0"
] | permissive | ciaraspissed/nearby-connections | eabaff88177289d3b15274fc4ed2e745fe022802 | 233c5f533771c4004bac87a49cbc9f0137d80bfb | refs/heads/master | 2023-08-12T14:43:09.092255 | 2021-09-16T20:18:26 | 2021-09-16T20:19:03 | 407,859,947 | 2 | 0 | Apache-2.0 | 2021-09-18T12:54:05 | 2021-09-18T12:54:04 | null | UTF-8 | C++ | false | false | 29,049 | h | // WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210825.3
#pragma once
#ifndef WINRT_Windows_Networking_Sockets_1_H
#define WINRT_Windows_Networking_Sockets_1_H
#include "winrt/impl/Windows.Foundation.0.h"
#include "winrt/impl/Windows.Networking.Sockets.0.h"
WINRT_EXPORT namespace winrt::Win... | [
"copybara-worker@google.com"
] | copybara-worker@google.com |
e52c6f85a6c46d4636bdba7581e1a185321a7ac9 | ff7598e88f8ab3b7d35debaf555c8e3a1086fd40 | /pool_CPP/rush2/cpp_santa/TablePePeNoel.cpp | aab2d4222890fae441bd9ba2004147913ebc203b | [] | no_license | Siphonay/epitech_projects | 3616c55c631013bdc7afec744c192b938a101e44 | ed5dccbfaf7fe9c5bb56529cf09d7fd8d156a6d9 | refs/heads/master | 2020-12-30T15:08:44.972820 | 2017-05-12T17:15:36 | 2017-05-12T17:15:36 | 91,112,015 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,638 | cpp | /*
** TablePePeNoel.cpp for cpp_santa
**
** Made by Alexandre Gaubert
** Login alexandre2.gaubert@epitech.eu
**
** Started on Sat Jan 14 16:14:04 2017 Alexandre Gaubert
** Last update Sat Jan 14 22:30:15 2017 Alexandre Gaubert
*/
#include "TablePePeNoel.hh"
#include "ITable.hh"
#include "LittlePony.hh"
#include "Teddy... | [
"alexis.viguie@epitech.eu"
] | alexis.viguie@epitech.eu |
a610019f709f1de3f431983a57b019d552416d68 | 0e9b7047fb8c3a77c26d392c6812f773d1dd1303 | /code_backup/IDE_src/18_example_1/18_example_1.ino | 43d253688651b8698c829a5b33d9391fd2d98827 | [] | no_license | Hururuk/1grade_ball_on_beams | 58003e87b0bd4068c1d991aa5c7cedfc303e41ab | 8f9cc2b720284075836b0d30efd5710c4d86b85f | refs/heads/master | 2023-02-12T20:14:09.294621 | 2021-01-17T09:50:58 | 2021-01-17T09:50:58 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 507 | ino | // Arduino pin assignment
#define PIN_IR A0
#define PIN_LED 9
void setup() {
// initialize GPIO pins
pinMode(PIN_LED,OUTPUT);
digitalWrite(PIN_LED, 1);
// initialize serial port
Serial.begin(57600);
}
float ir_distance(void){ // return value unit: mm
float val;
float volt = float(analogRead(PIN_IR));
... | [
"noreply@github.com"
] | Hururuk.noreply@github.com |
65fafb44b610717405bc3a190293ccff7002fef9 | 7c63a96fad4257f4959ffeba0868059fc96566fb | /cpp/std-14/s_meyers-effective_modern_cpp/code/ch_04-smart_ptrs/item_21-prefer_make_to_direct_use_of_new/case_6-using_the_new_keyword_3/main.cpp | 9b045a72f7e6d199e17175a75561567da60190be | [
"MIT"
] | permissive | ordinary-developer/education | b426148f5690f48e0ed4853adfc3740bd038b72c | 526e5cf86f90eab68063bb7c75744226f2c54b8d | refs/heads/master | 2023-08-31T14:42:37.237690 | 2023-08-30T18:15:18 | 2023-08-30T18:15:18 | 91,232,306 | 8 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 347 | cpp | #include <memory>
class ReallyBigType { };
int main() {
// before destroying weak_ptr
// memory can be occupied
auto pBigObj1 = std::make_shared<ReallyBigType>();
// after destroying the object
// only the control block can be still allocated
std::shared_ptr<ReallyBigType> pBigObj2(new Really... | [
"merely.ordinary.developer@gmail.com"
] | merely.ordinary.developer@gmail.com |
c43e314acfb6a3db1178c7959c5948b8ab84a8f1 | 63f1cd9d47965f03508d6f17c2f06ccb3fb33460 | /src/widget/PropertiesForm.cpp | 31519134efe6d68ad16b44b45282c13616b8d379 | [] | no_license | jfellus/libboiboites | 4cc83364978eb11da5b2d75753330c23f7c154d4 | f3706395541c7b5609700be0c01e9237ffb7088b | refs/heads/master | 2016-09-15T04:32:33.480249 | 2016-04-02T17:28:36 | 2016-04-02T17:28:36 | 26,346,319 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,504 | cpp | /*
* PropertiesForm.cpp
*
* Created on: 9 oct. 2014
* Author: jfellus
*/
#include "PropertiesForm.h"
#include "../workbench/Workbench.h"
#include "../commands/CommandPropertySetMultiple.h"
namespace libboiboites {
void PropertiesForm::update(std::vector<Module*>* selected_modules, std::vector<Link*>* sele... | [
"jfellus@gmail.com"
] | jfellus@gmail.com |
aa0aeb771af7c04ab9ecbff861f9f3390d01e6fa | d5f10c61c84eb46950cd1b7f2d1acfef6e63413e | /source/SimulationCore.cpp | 9c1daf29c68b857342e88eb891d38df1ec3cebde | [] | no_license | ecatanzani/DAMPE_SkyFall | f7097038533d0a7f7628b133ae727db982fd4e51 | 8346f8f4a743c3a8484bb90576a63ba0613e12f2 | refs/heads/master | 2021-09-24T16:21:33.720614 | 2018-10-11T19:28:19 | 2018-10-11T19:28:19 | 152,629,612 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,655 | cpp |
#include "MyHead.h"
void obtain_orbit_rate(TH2D *Orbit,TH2D *Rate,TChain &tree,Float_t &g_lat,Float_t &g_lon,Float_t &geo_lat,Float_t &geo_lon,Float_t sat_ra[],Float_t sat_dec[],UInt_t &sec,UShort_t &n_ev,bool &good,std::ofstream &log_file) {
Int_t chain_entries=tree.GetEntries();
for(Int_t tree_idx... | [
"18316072+ecatanzani@users.noreply.github.com"
] | 18316072+ecatanzani@users.noreply.github.com |
f5dde6797af6a6e746822f9f3711740ccb1f7989 | 82692cb6d80b9bda8930366f36f48eb6df073eba | /SteamAPIWrap/Stats.hpp | 356d37ec08c9484ece880d3799b63fb5f67b9508 | [
"MIT"
] | permissive | HoggeL/Ludosity-s-Steamworks-Wrapper | 897078de3bb5d6fa8b954aab05135c3084eb2b93 | 5cd8f5740829a20af23343865895ceb782f9b0b4 | refs/heads/master | 2021-01-01T04:50:04.904843 | 2016-05-09T21:31:05 | 2016-05-09T21:31:05 | 58,408,426 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,810 | hpp | #ifndef Stats_h_
#define Stats_h_
#include "Stats.h"
#include "Singleton.hpp"
#include "Services.hpp"
// Types
#include "ConvertedStructures.hpp"
#include "CallbackID.hpp"
#include "ResultID.hpp"
#include "Helper.hpp"
namespace SteamAPIWrap
{
class CStats : public CSingleton<CStats>
{
SW_CALLBACK_CONVERTED(CSt... | [
"Hogge Levin"
] | Hogge Levin |
a4eb89344a5af003927c7766aeb4acebf262d7ea | 481acff7fd42154ff8cca49afa175bec5711f654 | /Problem-004.cpp | c09554ddea5c6d8efced05ec0adb9cf07544f602 | [] | no_license | wiineeth/Project-Euler-Solutions-in-CPP | cb59ba4a936e46c9ce9b5819ebd18ba87aad105d | 80b45facb0a591bae1e03fc361f1f3bcaf3fec5f | refs/heads/master | 2022-12-25T22:32:30.626575 | 2020-10-13T13:14:13 | 2020-10-13T13:14:13 | 301,408,060 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 687 | cpp |
#include <iostream>
auto makePalindrome = [](auto x) {
auto res = x * 1000; // res = 123000
res += x / 100; // 123000+1, res = 123001
res += ((x / 10) % 10) * 10; //((123/10)%10)*10, res = 123021
res += (x % 10) * 100; //(123%10)*100, res= 123321
return res;
};
int main()... | [
"mynameisvineeth@gmail.com"
] | mynameisvineeth@gmail.com |
c4d106d68f06ee96486c0a6663ab2f77dcfebef0 | 28d40220e507f8c3b515e31c29e3975c6460f097 | /Homework 2/Problem4 Complex.h | 80997f80063162417ccc22b6ba556218c7382fd6 | [] | no_license | ishahzod/C_Plus_Plus-Fundamentals- | 7e6087cf69f727f23ff6bfa2efb4e89b8a0adcf4 | 0aba8dbdc2b69c170bf23c70bb018816493292ec | refs/heads/master | 2020-04-27T14:38:11.944307 | 2019-03-07T21:14:27 | 2019-03-07T21:14:27 | 174,416,426 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 949 | h |
//function decleration
//Complex.h
#include <iostream>
using namespace std;
#ifndef Complex_H
#define Complex_H
class Complex
{
public:
double real;
double imag;
//default constructor
Complex();
~Complex(); //destructor
Complex(float, float);
//operators
friend ostream& opera... | [
"noreply@github.com"
] | ishahzod.noreply@github.com |
abf11105ec45a9973c253cefffd793b5801209d7 | 1f75352f6dcce73bb0318f8dfa13fce31e52594a | /cext/src/primitive_consistency_loss_v2.cc | f4fadeacfcbe89e8a671e5cd16e814ec3d9d28e3 | [
"MIT"
] | permissive | PeterZhouSZ/cuboid_abstraction | 45f2e94296527b5cfedf64cc710f8a703274de02 | b0410d1cc574fef1fa77bf4d6428a5c46e755723 | refs/heads/master | 2020-08-01T05:07:13.000279 | 2019-09-24T14:10:19 | 2019-09-24T14:10:19 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,668 | cc | #include "tensorflow/core/framework/op.h"
#include "tensorflow/core/framework/op_kernel.h"
#include "tensorflow/core/framework/shape_inference.h"
#include "tensorflow/core/framework/common_shape_fns.h"
namespace tensorflow {
void compute_consistency_loss_v2(OpKernelContext* context, const int n_cube,
cons... | [
"sunchyqd@gmail.com"
] | sunchyqd@gmail.com |
42db4c831b96661ae26ceec7884fdfca7954a861 | 79583cb52f7f9d32118b117e6a5df688216de135 | /baekjoon/2133/2133.cpp | 3dde3f99a7d5585f3222a496f5c98b010192d6db | [] | no_license | danaser72/baekjoon | f8f15096c90a04d59d034a6a8e25e6b066c0144d | bf3fb1e035f5b5e4c05ebf28865512addee818b2 | refs/heads/master | 2021-04-27T18:19:06.754507 | 2018-07-23T12:06:37 | 2018-07-23T12:06:37 | 122,337,625 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 425 | cpp | #include <iostream>
using namespace std;
int N;
long long arr[16] = { 3, };
int main() {
cin >> N;
if (N % 2 == 1) {
cout << "0" << endl;
return 0;
}
N = N / 2 - 1;
if (N == 0) {
cout << "3" << endl;
return 0;
}
for (int i = 1; i <= N+1; i++) {
long long sum = arr[i - 1] * 3+2;
for (int j = i ... | [
"worl5604@naver.com"
] | worl5604@naver.com |
68f1c919f6b18e7061766754d8dd3f1c5287d3eb | 829869a01da6da0f17dcc173bb5ddd640fd8ba2c | /src/server/pegasus_read_service.h | fe66637770e2eb3d351d958d90c509ef83f8dba5 | [
"Apache-2.0"
] | permissive | SunnyShow/incubator-pegasus | fff92fa95354c7e44de6c82eb6bb4e6181b8f86d | c02e055e803dab479a31d3cac31739b75542f804 | refs/heads/master | 2022-12-21T00:30:26.747514 | 2020-09-28T16:03:42 | 2020-09-28T16:03:42 | 299,217,109 | 0 | 0 | Apache-2.0 | 2020-09-28T06:57:47 | 2020-09-28T06:57:47 | null | UTF-8 | C++ | false | false | 4,430 | 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... | [
"noreply@github.com"
] | SunnyShow.noreply@github.com |
c1ba8481db942848c542c791fd8ab9bbcf5ad1c5 | 56aeea1110ceb60f1a6ba6bf4254383c892a094e | /HK_camera.h | 5eb42dcfede9c3ac1f67b4ac51e22c220a1f326c | [] | no_license | FuHongy/HIK_Demo | 17689e0a9372e7f015d68c96fa1d587db5e13865 | de08315f54b2e5e33e182ba626816179260502b2 | refs/heads/master | 2020-09-10T02:40:28.122900 | 2019-11-14T06:47:43 | 2019-11-14T06:47:43 | 221,628,406 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,169 | h | #ifndef _HK_CAMERA_H
#define _HK_CAMERA_H
#include<HCNetSDK.h>
#include<plaympeg4.h>
#include<PlayM4.h>
#include <opencv2\core\core.hpp>
#include <opencv2\highgui\highgui.hpp>
#include <opencv2\imgproc\imgproc.hpp>
class HK_camera
{
public:
HK_camera(void);
~HK_camera(void);
public:
bool Re... | [
"noreply@github.com"
] | FuHongy.noreply@github.com |
c59271c47f0cbf348353b5191e3ee2a813b763c3 | b40320cfc131183e98afb620df6a7dd34f02954f | /src/utils.cpp | f9bff42eb6053137684e7bc423d3b5f9e536f363 | [] | no_license | isabella232/hello | ab810328a1563894dbbd1a06cb4e339178faff69 | e34f756c8ee496571cbf458c70585954df74a03e | refs/heads/master | 2022-01-11T23:20:01.073037 | 2019-05-12T20:02:12 | 2019-05-12T20:02:12 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,085 | cpp | #include "utils.hpp"
#include <fstream>
#include <sstream>
#include <iomanip>
#include <chrono>
void utils::toFile( const std::string& filename, const std::string& data ) {
std::ofstream file( filename.c_str(), std::ios::out | std::ios::binary );
if( file.is_open() ) {
file.write( data.data(), data.s... | [
"elsamuko@gmail.com"
] | elsamuko@gmail.com |
e3e45ae143551e96c34dd5146a4b732771c80bdd | 8c9250f3d436a2ecc6849766eebf51fdf6ddbc6a | /OnvifSDK/include/ReceiverClient.h | 1a8a7b3eaba89c28b56d53b70bce9d9a457d6ba4 | [
"MIT-0"
] | permissive | aleksandrm8/OpenONVIF | 8e2efece1be5feabfdd75d7b9f1eb16d38fcbf90 | e14776c05dd97aa3d19160d47426044c8c1b8e3a | refs/heads/master | 2021-01-15T19:27:24.973415 | 2019-11-29T05:45:22 | 2019-11-29T05:45:42 | 22,468,441 | 0 | 0 | null | 2015-02-25T14:58:45 | 2014-07-31T12:24:57 | C++ | UTF-8 | C++ | false | false | 536 | h | #ifndef RECEIVERCLIENT_H
#define RECEIVERCLIENT_H
#include "sigrlog.h"
#include "OnvifSDK.h"
#ifdef RECV_S
#include "WebReceiverBindingProxy.h"
class ReceiverClient
{
public:
ReceiverClient(const char * pchAdress, soap * s);
~ReceiverClient();
int GetReceivers( RecvGetReceiversResponse & );
int CreateRece... | [
"viktor.grenke@gmail.com"
] | viktor.grenke@gmail.com |
000658a312a51a44fed2a0c50b168fd9354029fb | 04251e142abab46720229970dab4f7060456d361 | /lib/rosetta/source/src/core/fragment/rna/FullAtomRNA_Fragments.cc | 5369b8cedf18fd8433b3a684b5e942441b417dd5 | [] | 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 | 24,708 | cc | // -*- 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 |
8c1ead5a9d4872877cada984c6ecaba62411ef89 | 84835cbe2d169e071168695f7cfa06e6be9fc2fb | /Kinect_OpenCV_FingerDetectionBeta/FingerDetectionGSFRecording.cpp | f122ac3a1230117953d5da10d1e90ee30b221ae3 | [] | no_license | darwinbeing/Osus | 1dbabc10716afb00a43da54c297b29e03ef8dffa | a3fe0eb9ab536220a40f215761647c5a1531bfb1 | refs/heads/master | 2020-04-21T20:31:47.318570 | 2017-12-15T07:37:41 | 2017-12-15T07:37:41 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 24,307 | cpp | // Kinect_OpenCV_FingerDetectionBeta.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
#include <iostream>
#include <fstream>
#include <vector>
#include <math.h>
#include "C:/Program Files/OpenNI2/Include/OpenNI.h"
#include "opencv2/opencv.hpp"
#include <opencv2/core/core.hpp>... | [
"noreply@github.com"
] | darwinbeing.noreply@github.com |
4eb0b844636e05b237a649dd53c88cec462ae9ae | e2db9c128eb325251e19c93a2e6896e4b15729ab | /src/弃用/skybox.h | edc0572926ac41d175524e8ef2c863d248bc8945 | [] | no_license | infinityyf/VanGL | 2d6f8d7aacfed7152c49047ed33e4b9b3c3c64af | 9d41b673c4b784aa8508dc6a450a65d883322911 | refs/heads/master | 2022-08-28T21:55:04.034130 | 2020-05-23T06:27:05 | 2020-05-23T06:27:05 | 241,411,471 | 4 | 0 | null | null | null | null | GB18030 | C++ | false | false | 4,298 | h | #pragma once
#ifndef SKYBOX
#define SKYBOX
#include <glad/glad.h>
#ifndef STB_IMAGE_IMPLEMENTATION
#define STB_IMAGE_IMPLEMENTATION
#endif
#include "stb_image.h"
#include <iostream>
#include <io.h>
#include <fstream>
#include <string>
#include <vector>
#include <glm.hpp>
#include <gtc/matrix_transform.hpp>
#include <gt... | [
"858314424@qq.com"
] | 858314424@qq.com |
e89546c11be387533f3db33cf778141279710392 | f39a57c5700fc5a6bc83e961c4342a993c1fecde | /net/thread.h | 007ec4688bb37fca57d359ce06774c0e47abd44e | [] | no_license | blockspacer/mpr_net | 763fc630afcea3311136735f3d3ee612a70ba64e | a3ab2b701f0c86f4274ef6f63c96a70cc7c72f26 | refs/heads/master | 2021-05-21T15:10:52.903149 | 2016-07-23T17:03:13 | 2016-07-23T17:03:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,552 | h | #ifndef WEBRTC_BASE_THREAD_H_
#define WEBRTC_BASE_THREAD_H_
#include "base/macros.h"
#include "net/event.h"
#include "net/message_queue.h"
#include "net/thread_annotations.h"
#include <algorithm>
#include <list>
#include <memory>
#include <string>
#include <vector>
#include <pthread.h>
namespace net {
class Thread... | [
"wangqx@mpreader.com"
] | wangqx@mpreader.com |
d7201af250874d3bc14215374187f44541cee9af | c788eb0d56a844a9c07e5572b55ccc9cdf0ea3e2 | /cpp/calc_rails/main.cpp | c1ec64107ae87cd57b068c90e5bc01d711fb2867 | [] | no_license | Ruzzz/LogicTasks | 1314aaab99c399938028eaa9db57332ce474fe2c | 7aaf6f6db28d7b6662d55c0f94a81b673c4c59ac | refs/heads/master | 2023-03-26T09:21:37.026326 | 2021-03-26T16:57:40 | 2021-03-26T16:57:40 | 297,352,094 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,020 | cpp | #include <algorithm>
#include <iostream>
#include <exception>
#include <vector>
#include <unordered_map>
template <typename Int>
inline void check_range(Int value, Int from, Int to)
{
if ((from > value) || (value > to))
throw std::out_of_range("Out of range");
}
int main(int argc, char **argv)
{
uint3... | [
"ruzzzua@gmail.com"
] | ruzzzua@gmail.com |
989978e3f95cee6c364a8498023c303f9d547ca0 | fa38381d417af9ad8cc5d70373606fd3245230cb | /Chapter6/Lever8/Bai5.cpp | 6f79fe56dc021239cd67d2f50751f55e6e369edb | [] | no_license | phongdz-cloud/C- | 9aecf2d3f900bcb1f25bb90cfe82eb9bca99eabb | eee2e213f340bff55cff11bfa3c49f1bca99e700 | refs/heads/master | 2023-06-18T02:23:26.989359 | 2021-07-09T05:17:37 | 2021-07-09T05:17:37 | 381,698,233 | 0 | 1 | null | 2021-07-21T01:59:03 | 2021-06-30T12:41:53 | C++ | UTF-8 | C++ | false | false | 1,000 | cpp | #include <iostream>
#include <math.h>
#define SIZE 100
using namespace std;
/*
Ta định nghĩa 1 mảng được gọi là dạng sóng khi phần tử có trị số i
lớn hơn hoặc nhỏ hơn 2 phần tử xung quanh. Hãy viết hàm kiểm tra mảng có dạng sóng không
*/
void input(int A[], int &n);
int solution(int A[], int n);
bool checkWave(int a, i... | [
"74032468+phongdz-cloud@users.noreply.github.com"
] | 74032468+phongdz-cloud@users.noreply.github.com |
de1ea6b6aee13e74efdc485cdfddf2f91d320312 | 1c36da67032bc817db72822725f1c6c547eb8705 | /ObserverPattern/SDL_Project_1.0.0/SDL_Project/Observer.cpp | 685438b058f13581bf567846cdb8b8b864320586 | [] | no_license | carnovalejf/Portfolio | 4779576a3b5f9d667744e0daf42a18c7e260c345 | 993ad8bd5d91fd27ca1f1b5b06379a702cd2c1e8 | refs/heads/master | 2020-08-19T10:20:34.429198 | 2019-11-20T19:56:44 | 2019-11-20T19:56:44 | 215,909,397 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 556 | cpp | #include "Observer.h"
#include "Subject.h"
#include <algorithm>
Observer::Observer() {
//initialize member variables
subjects = std::make_unique<std::vector<Subject *>>(std::vector<Subject *>());
}
void Observer::Subscribe(Subject * subject_) {
subjects->push_back(subject_);
subject_->Attach(this);
}
void Obse... | [
"carnovale.jf@gmail.com"
] | carnovale.jf@gmail.com |
b77e5d9ca58903c6af6b6466033c8d5bc51226ad | f64f21dd2ff3ba043cece8f4d7809142f636f067 | /cc/modules/tracking/tracking.cc | cfd967b24c8c60d6bf28d3c95c78c1a6641d9535 | [
"MIT"
] | permissive | fabioharry/opencv4nodejs | 67d7e0e6ec426022a0f6c64eaf9aa8848f8aa1b8 | 42b47be7e266702385b609aa3b642fc3037d1069 | refs/heads/master | 2020-03-25T05:51:27.801033 | 2018-07-21T06:49:43 | 2018-07-21T06:49:43 | 143,469,258 | 1 | 0 | MIT | 2018-08-03T20:10:53 | 2018-08-03T20:10:52 | null | UTF-8 | C++ | false | false | 1,056 | cc | #ifdef HAVE_TRACKING
#include "tracking.h"
#include "./Trackers/TrackerBoosting.h"
#include "./Trackers/TrackerMedianFlow.h"
#include "./Trackers/TrackerMIL.h"
#include "./Trackers/TrackerTLD.h"
#if CV_MINOR_VERSION > 0
#include "./Trackers/TrackerKCF.h"
#include "MultiTracker.h"
#endif
#if CV_MINOR_VERSION > 1
#inc... | [
"muehler.v@gmail.com"
] | muehler.v@gmail.com |
53d854689679019ba5fef3795c337a1ca7b16eb2 | b59fa1f7651b0bc84379a61294e31ee5160bb74c | /Chapter 4/ex5.cpp | 894a191ce25029cc7b863fb2f3ae4ab4bfddbc75 | [] | no_license | rahvig/C-Primer-Plus-5th-Edition | 3071f64f60257e6e8c9a4e091b5061d12d2758f5 | db582aba1425ebdeae53b1129934add59aab8bdc | refs/heads/master | 2021-07-01T21:17:21.129614 | 2017-09-24T00:41:54 | 2017-09-24T00:41:54 | 104,509,814 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 253 | cpp | #include <iostream>
using namespace std;
struct CandyBar{
string brand;
float weight;
int cals;
};
int main(){
CandyBar snack = {"twix", 10.1, 1000};
cout << snack.brand << endl << snack.weight << endl << snack.cals << endl;
return 0;
}
| [
"noreply@github.com"
] | rahvig.noreply@github.com |
07723b179e9c346799734a75f0c338b26b8aa4c6 | d2ba0389accde0370662b9df282ef1f8df8d69c7 | /frameworks/cocos2d-x/cocos/renderer/scene/assembler/MeshAssembler.cpp | b79e96ebcf836a82fd0725b0c60bbdaa0f665c99 | [] | no_license | Kuovane/LearnOpenGLES | 6a42438db05eecf5c877504013e9ac7682bc291c | 8458b9c87d1bf333b8679e90a8a47bc27ebe9ccd | refs/heads/master | 2022-07-27T00:28:02.066179 | 2020-05-14T10:34:46 | 2020-05-14T10:34:46 | 262,535,484 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,068 | cpp | /****************************************************************************
Copyright (c) 2019 Xiamen Yaji Software Co., Ltd.
http://www.cocos2d-x.org
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to dea... | [
"811408414@qq.com"
] | 811408414@qq.com |
84f71a63302349b90df577cb1aaa0c2bbc1ae72a | 661f4c6b955fcb72878d72efbf62a5ef5f7ba6c9 | /SDK/SoT_Athena_structs.hpp | af631aa25bcd604c4f3f500cb50a3cbf4525d97d | [] | no_license | RDTCREW/SoT-SDK | 97a154fdf7d5e8adf5807a38e57b9df5c819d818 | 71f1065b518f1f27fc053ae50c8daf6300253307 | refs/heads/master | 2022-04-24T00:18:21.692834 | 2020-04-16T18:40:07 | 2020-04-16T18:40:07 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,943,140 | hpp | #pragma once
// SeaOfThieves (1.6.4) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
namespace SDK
{
//---------------------------------------------------------------------------
//Enums
//---------------------------------------------------------------------------
// Enum Athena.EHealthChangedReason
enum class ... | [
"getpeyton@gmail.com"
] | getpeyton@gmail.com |
f5ca5e53119e53c91625eb0ac54874886fd711ea | 2dccb9e0e6cc8082c1bff84776c5bb5c887778be | /src/ar_track_alvar/nodes/IndividualMarkersNoKinect.cpp | 68e1d09efb825aac980e8a121e772cfb45a745d4 | [] | no_license | cduck/elementarybaxter | c30c6a96677cad5a150ebcf530133c95cfcee445 | d5c1ccc462927adc6fe67519e13de5548c763b11 | refs/heads/master | 2021-03-13T00:07:17.552991 | 2014-12-13T04:58:05 | 2014-12-13T06:28:12 | 27,949,958 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 11,138 | cpp | /*
Software License Agreement (BSD License)
Copyright (c) 2012, Scott Niekum
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
* Redistributions of source code must retain the above copyright
... | [
"ee125@pepper.(none)"
] | ee125@pepper.(none) |
5ce2200ba99b6f9fa970cd0a5349bfc3ad58f89a | 05ffad03c4fea513dab696d0b8ad8e3aedb7e6ca | /test/test_formatter.cpp | 5645a7298741e5e2f943605326b90cb72ea71b8b | [
"Zlib"
] | permissive | LongJohnCoder/derplanner | ae8d0ca2771b990e46a7907af4ea2130770c79f1 | 05fec764aff01df2f3ac41fddd41e47c80e5bd68 | refs/heads/master | 2021-05-27T00:51:46.227750 | 2014-02-17T22:37:39 | 2014-02-17T22:37:39 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,800 | cpp | //
// Copyright (c) 2013 Alexander Shafranov shafranov@gmail.com
//
// 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 granted to anyone to use this software for any ... | [
"shafranov@gmail.com"
] | shafranov@gmail.com |
4437e51bf39f6f37464a935cdbc342effcbb9c5a | 78d175569710bda38d9ca30e92ad9bea33541e80 | /include/ccmath/traits/imath_type_traits.h | 6831c9a405646830af956ea00e27aa8fda55572c | [
"MIT"
] | permissive | nanocell/ccnoise | 7020d80cd26ab731332674896b98db198a208be0 | 7f69b42cc56c7f1f0b80db1f3998cdf5e12ff3af | refs/heads/master | 2016-09-05T16:27:29.936929 | 2012-07-15T20:11:14 | 2012-07-15T20:11:14 | 2,421,076 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 880 | h |
#ifndef __CCMATH_IMATH_TYPE_TRAITS_H__
#define __CCMATH_IMATH_TYPE_TRAITS_H__
#include <ccmath/traits/type_traits.h>
#include <boost/mpl/int.hpp>
#include <OpenEXR/ImathVec.h>
namespace ccmath
{
//Imath::Vec2<T> adaptor
template<typename T>
struct type_traits< Imath::Vec2<T> >
{
typedef Imath::Vec2<T> type;
... | [
"nanocell@gmail.com"
] | nanocell@gmail.com |
19122790cde0ac1f2e9d25a98a9ab2e878f5a28e | 6a1f08a4d679b3a1778cd96a9e72239e7fa75eeb | /Mountain.cpp | 956117fb35907f39a0c0aed134df9b5b93ed4be3 | [] | no_license | wuzhi1023/Graphic-Project | 79619b874839aa4942985e505026ff25d29eb3ab | 42bc2dac39cfc1b761dde6e3e63526b6a1565fd8 | refs/heads/master | 2020-12-24T21:00:56.556625 | 2016-04-27T10:46:23 | 2016-04-27T10:46:23 | 56,917,439 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,382 | cpp | //
// Mountain class
//
#include "Mountain.h"
#include <QImage>
#include <iostream>
using namespace std;
//Loads a terrain from a heightmap. The heights of the terrain range from
//-height / 2 to height / 2.
Terrain* loadTerrain(const char* filename, float height) {
QImage image(filename);
int Iwidth = image.w... | [
"woozhh@gmail.com"
] | woozhh@gmail.com |
76407a01ec4a16f4e8181dcb78e6adee4c8dc77e | 4e9639915a245f3bfd69b542bd583191899bbeff | /Problem/2018省赛训练/校赛/Day1/A.cpp | 8de49794ca01a18778d080efc3d7ec72dcd11c64 | [
"MIT"
] | permissive | userpro/Code | d344d4835839f9f3bbb3b69819c1e3d80d4ef0b1 | 62f6206da53404cf17b9fee82a56a3fc368d3159 | refs/heads/master | 2021-05-11T12:14:02.940619 | 2019-03-11T02:48:01 | 2019-03-11T02:48:01 | 117,655,037 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 437 | cpp | #include <cstdio>
#include <cstring>
#include <cmath>
#include <algorithm>
#include <vector>
using namespace std;
#define LL long long
LL n,t;
int main()
{
while (scanf("%lld",&t)!=EOF)
{
for (int ii=1;ii<=t;ii++)
{
scanf("%lld",&n);
LL ans=n;
ans-=(int)sqrt... | [
"437773935@qq.com"
] | 437773935@qq.com |
db4d44e1da6a3a3597a77397ed61b4a51554f783 | 23d30f6b1de52e23730735b2dc79bb8b0f6bc74d | /tests/cpp/data/test_adapter.cc | fa3ed61f6808569b6480c9851488fc0bc62c8f9c | [
"Apache-2.0"
] | permissive | rapidsai/xgboost | d66ae03418ae61511a27b060956831d836e12df7 | f5bf7ad4b5b06449e93500d98f41f0c9793db065 | refs/heads/branch-23.02 | 2023-05-25T01:26:38.483612 | 2022-12-07T21:26:58 | 2022-12-07T21:26:58 | 156,279,925 | 30 | 18 | Apache-2.0 | 2023-04-19T18:53:15 | 2018-11-05T20:39:47 | C++ | UTF-8 | C++ | false | false | 5,498 | cc | // Copyright (c) 2019-2021 by XGBoost Contributors
#include <gtest/gtest.h>
#include <type_traits>
#include <utility>
#include <xgboost/data.h>
#include "../../../src/data/adapter.h"
#include "../../../src/data/simple_dmatrix.h"
#include "../../../src/common/timer.h"
#include "../helpers.h"
#include "xgboost/base.h"
#... | [
"noreply@github.com"
] | rapidsai.noreply@github.com |
6af1099eaa5574f5d9e4d5002fd518aa1553af01 | 3211ef2ce88b13ad2cbbc3c7307017e52ff2cb51 | /DataServer/Source_DB/WzMemScript.h | 977834ca48dfa3afed226ca817f518be47897255 | [] | no_license | YucelCeyhun/KingMuOnline | 887d84fe6bf688679f0bd45920a2b1e3eff33222 | f0191fb4b99b6f5b04ac6c5834a6dff0014059e6 | refs/heads/master | 2022-04-10T19:14:51.778327 | 2020-03-26T07:53:24 | 2020-03-26T07:53:24 | 249,654,970 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 936 | h | // WzMemScript.h: interface for the CWzMemScript class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_WZMEMSCRIPT_H__89643546_CDCA_4D61_8E23_D37B06AC9362__INCLUDED_)
#define AFX_WZMEMSCRIPT_H__89643546_CDCA_4D61_8E23_D37B06AC9362__INCLUDED_
#if _MSC_VER > 1000
#pragma once... | [
"muh.ceyhun.yucel@gmail.com"
] | muh.ceyhun.yucel@gmail.com |
7fc22180acc9723b64700cfffbc4552bae66c75d | 867f3beb04f388ebaecba98ab7f55ae7b7bb51f6 | /src/ui/mainwindow.h | a8bb502ee8f5cf69e86daa1be999d6177744d7a8 | [
"MIT"
] | permissive | LordDeng/tincan | a2e9d8b6c558272251c96f9fb716bfd529d14178 | 7f572c07dd54b7ee88d8fc127d565d1fd4e3d265 | refs/heads/master | 2020-07-14T14:22:22.735926 | 2018-09-28T22:51:06 | 2018-09-28T22:51:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 767 | h | #ifndef MAIN_WINDOW_H
#define MAIN_WINDOW_H
#include <QMainWindow>
#include "network/canudpreceiver.h"
#include "tincan/canbus.h"
#include "tincan/canbusdef.h"
#include "tincan/cantracer.h"
#include "file/dbcfile.h"
#include "models/canbusmodel.h"
#include "models/canbusdefmodel.h"
namespace Ui { class MainWindow;... | [
"xe@kthx.de"
] | xe@kthx.de |
355f8e3c1a315c6a4e463c680a70dc8cf7fa8ab1 | e217eaf05d0dab8dd339032b6c58636841aa8815 | /Ifc2x3/src/OpenInfraPlatform/Ifc2x3/entity/IfcRelAssociates.cpp | a490be16957dfc82c94fc3e5cc134cc6c5cf239a | [] | no_license | bigdoods/OpenInfraPlatform | f7785ebe4cb46e24d7f636e1b4110679d78a4303 | 0266e86a9f25f2ea9ec837d8d340d31a58a83c8e | refs/heads/master | 2021-01-21T03:41:20.124443 | 2016-01-26T23:20:21 | 2016-01-26T23:20:21 | 57,377,206 | 0 | 1 | null | 2016-04-29T10:38:19 | 2016-04-29T10:38:19 | null | UTF-8 | C++ | false | false | 6,015 | cpp | /*! \verbatim
* \copyright Copyright (c) 2014 Julian Amann. All rights reserved.
* \date 2014-04-26 17:30
* \author Julian Amann <julian.amann@tum.de> (https://www.cms.bgu.tum.de/en/team/amann)
* \brief This file is part of the BlueFramework.
* \endverbatim
*/
#include <sstream>
#include <limits>
#include "mo... | [
"planung.cms.bv@tum.de"
] | planung.cms.bv@tum.de |
d0bf278a7969c8dd85e2462dca22a3ba9326b7c8 | 8c01b286917ca24bee4d6ede0f1f336cbc445577 | /Distributor/Modules/RecentInstallCaseModule/Logic/NetInstallsCase/NetInstallsCaseData.cpp | 8f6068ecb79059926ee6d730cbaf9ac578e474e5 | [] | no_license | bugHappy/ND91 | 8d501682beb37212aea7e3ba73114c048c4ff689 | 0e0c44927d7b1564fa99e64d6c3ddce319d523bc | refs/heads/master | 2021-04-07T22:09:19.797378 | 2019-08-02T05:30:47 | 2019-08-02T05:30:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,142 | cpp | #include "stdafx.h"
#include "NetInstallsCaseData.h"
RENCENT_INSTALLCASE_BEGIN
NetInstallsCaseData::NetInstallsCaseData(UINT id)
:InstallsCaseData(id)
{INTERFUN;
PlanType(_INSTALL_PLAN_TYPE_NET);
NetInstallStatus = _NET_INSTALL_PLAN_STATUS_INIT;
_progressPer = 0;
NetAppItems = new InstallsAppList();
_wsPackegeI... | [
"czy@tongbu.com"
] | czy@tongbu.com |
67e1e988c33ca8024e39a2a14f0b1e5ca1209bae | 5ac189fdc07a4a0825323523c45482ce8a7b51a2 | /Projekt_Verkaufstelle/Preis.cpp | a224a66b1887aea62bb83a2831c867fdd4a7cd97 | [] | no_license | PJeksa/Projekt_Verkaufstelle | 06394d6569381d66164489278c738f04f666b4d5 | 39d3de7732a5b35e3d3f0cce7b7c89582a32648a | refs/heads/master | 2020-04-14T14:24:45.674855 | 2019-01-27T16:38:02 | 2019-01-27T16:38:02 | 163,895,887 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 124 | cpp | #include "Preis.h"
int Preis::getPreis()
{
return iPreis;
}
void Preis::setPreis(int iPreis)
{
this->iPreis = iPreis;
}
| [
"papik-94@hotmail.de"
] | papik-94@hotmail.de |
f42af3503e11ae6c25832b6cf0c8cf32bfb1967b | 7f45fa54386a7e2bb86b4bcfb04ff0a31d63703c | /algorithms/0523/checkSubarraySum-map.cc | 4f0175acb1f87393f2251eec6e0883a7ef68d294 | [] | no_license | ejunjsh/leetcode | e3ca7e30eea89dd345b286264bd64695e5faaf73 | 5aa8d70939acd9180c1e8d351a72b2cfcd4ff04f | refs/heads/master | 2021-08-31T22:19:20.522206 | 2021-08-25T07:47:47 | 2021-08-25T07:47:47 | 160,124,292 | 4 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 454 | cc | class Solution {
public:
bool checkSubarraySum(vector<int>& nums, int k) {
int n = nums.size(), sum = 0;
unordered_map<int, int> m{{0,-1}};
for(int i=0;i<n;++i){
sum+=nums[i];
int t = k==0?sum:(sum%k);
if(m.count(t)){
if(i-m[t]>1)
... | [
"sjj050121014@163.com"
] | sjj050121014@163.com |
f4410156c32107130b0951b98016b60e3e1e1438 | 8ad61dbcbd00f3db9aaddea751f2415c42f75623 | /gaet/output_validators/guess_validator/validate.cc | 72d3c3286950f323f7ffb41662eff1970fee062a | [] | no_license | ghamerly/dpopopvarmning | 2109ba1f4cf05554b0825eec77649db884e57a51 | eb1aac65f62c891dc27d0ff2beb440b4678141dc | refs/heads/master | 2021-02-06T01:30:18.252863 | 2020-02-28T11:11:13 | 2020-02-28T11:11:13 | 243,859,987 | 0 | 0 | null | 2020-02-28T21:46:11 | 2020-02-28T21:46:11 | null | UTF-8 | C++ | false | false | 2,415 | cc | #include <utility>
#include <string>
#include <cassert>
#include <cstring>
#include <cmath>
#include "validate.h"
using namespace std;
void check_case() {
string line;
/* Get test mode description from judge input file */
assert(getline(judge_in, line));
int value = -1;
if (sscanf(line.c_str(), "... | [
"thore.husfeldt@gmail.com"
] | thore.husfeldt@gmail.com |
d1071692affcf6db3a585479012588a09ea04fca | 8927b5ee6a41c1f57ae0fcd498faef89dd3951b5 | /cashflows/conundrumpricer.cpp | b18de9f180add761484731ac177c144af230b5c7 | [] | no_license | KarolinaIliash/cpp_coding_standard_verifier | 64287bb2c87253ed5891cda8170343c1663cfc92 | a201f5f6576daca266bdef1ae5093d6f17b69b91 | refs/heads/master | 2020-04-09T05:56:15.841260 | 2018-12-16T23:45:19 | 2018-12-16T23:45:19 | 160,087,604 | 0 | 0 | null | 2018-12-13T20:33:52 | 2018-12-02T20:03:13 | Python | UTF-8 | C++ | false | false | 39,398 | cpp | /*
Copyright (C) 2006 Giorgio Facchinetti
Copyright (C) 2006 Mario Pucci
This file is part of QuantLib, a free-software/open-source library
for financial quantitative analysts and developers - http://quantlib.org/
QuantLib is free software: you can redistribute it and/or modify it
under the terms of the QuantLi... | [
"karolina.iliash@gmail.com"
] | karolina.iliash@gmail.com |
a67aa108332b99607e3bd42f1fd2ff9132803294 | 7fc1f9f77837fa713c8bcfa0986598904ce031cd | /baekjoon/8월/구현/1406_에디터_링크드.cpp | 610fa1c6159a6aa940e88e5cc90249ff42a78b06 | [] | no_license | kang-jisu/algorithm | 429281cbf5559da43dfd6edac1451a2ca155a1d3 | d7c2d9ae72b7db7b419aa5fd6a792a08ce1dd4df | refs/heads/master | 2022-04-29T16:02:22.565200 | 2022-04-19T12:45:36 | 2022-04-19T12:45:36 | 249,916,090 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,053 | cpp | #include <iostream>
#include <list>
using namespace std;
int main()
{
int m;
string s;
cin >> s;
cin >> m;
list<char> editor(s.begin(), s.end());
auto cursor = editor.end();
while (m--)
{
char cmd;
cin >> cmd;
switch (cmd)
{
case 'P':
{
... | [
"rkdwltn0425@gmail.com"
] | rkdwltn0425@gmail.com |
0cf8e8adbf810db370a4f7ae6a3c53eeed50d261 | 45ff043ddfd40fd3d56e0848974bcd282dd11c18 | /main.cpp | d3b5d02866075f5162332b2f0075bbdbe620ae12 | [] | no_license | tylerjdurden/sudoku-solver | 4753a35f4913dd7ab49b2910888372b1f4dd8395 | 60d72b4c8bd46bcfd20acd84ecdfa09ac3a22645 | refs/heads/master | 2020-12-24T20:33:07.170896 | 2016-04-13T23:41:14 | 2016-04-13T23:41:14 | 56,191,661 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 115 | cpp | #include "solver.h"
int main()
{
solver s;
s.read_in_values();
s.print_grid();
s.solve();
s.print_grid();
}
| [
"durden@tamu.edu"
] | durden@tamu.edu |
e772f9a557793512d88589db81096c1e936c9d81 | a83983e32ff37d22435e2d4d032b7941c7d801b0 | /numero primo equilibrado.cpp | 07c524812788e69a8a48c14dd9a06963dbbc70dd | [] | no_license | Hidel57/Programacion-basica | 5b6ce21e4c10b5472e386e5f76c11fdd1d07bbb7 | c45b5523dbac0771f162194eec6e7344952583e3 | refs/heads/master | 2023-04-14T07:18:34.829415 | 2021-04-19T18:09:19 | 2021-04-19T18:09:19 | 135,869,618 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 496 | cpp | #include <iostream>
using namespace std;
int a,b,c,cd,d,x,r,y,ct;
int main()
{
cout<<"intr numero primo: ";
cin>>a;
ct=0;b=a;c=a;
do{
cd=2;c=c+1;
for(d=2;d<c;d++)
{
if(c%d==0)
cd=cd+1;
}
if(cd==2)
ct=1;
}while(ct==0);
do{
cd=2;b=b-1;
for(d=2;d<b;d++)
{
if(b%d==0)
cd=cd+1;
}
if... | [
"hidelberto.cayo57@gmail.com"
] | hidelberto.cayo57@gmail.com |
2515b8e14217a28969bfdd52ca1d0f9251e10cf4 | d90d6537c0cdd5e8d11517377b59a60d5e4ffbc7 | /西游/Hero.cpp | c80e95fd68b01f866a4acfce23ec05d6161b78a9 | [] | no_license | include-nan/xiyou | a7e4cc3f5a937a1ebb6c46648a078c6289d70773 | 10f21ec3d98ad8b1ae83b1363bddc6a8f603c91c | refs/heads/master | 2020-07-20T20:38:57.407346 | 2019-09-12T16:40:58 | 2019-09-12T16:40:58 | 203,806,516 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 25,621 | cpp | #include <iostream>
#include <iomanip>
#include <fstream>
#include <string>
#include <windows.h>
#include <time.h>
#include "Hero.h"
#include "cv.h"
#include "highgui.h"
using namespace std;
void input_int(int& choice0, int min0, int max0);//输入int型数据(工具函数)
Hero::Hero(string name0, bool if_file0) :Role(name0), experi... | [
"zjn1210@outlook.com"
] | zjn1210@outlook.com |
ba3207431c86a84a9b6c794db9fe13f83dbdf3e8 | 7804297c2757dd78a7c3b2e2cc31b58e61a07563 | /boids/src/boid.h | 35d93a7a9d5f3cb10a294944884647403a585220 | [] | no_license | JoshuaBatty/CEMA | 1464f47c639487edbd651e5a5e4444df63d821cc | 45a3a704c28a366cbad586fe927882202a5116ab | refs/heads/master | 2020-12-26T15:55:17.629250 | 2015-01-22T20:43:14 | 2015-01-22T20:43:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,482 | h | /*
* boid.h
* boids
*
* Created by Marco Gillies on 05/10/2010.
* Copyright 2010 Goldsmiths, University of London. All rights reserved.
*
*/
#ifndef _BOID
#define _BOID
// you use quotes "" for your own header files
#include "ofVectorMath.h"
// and angle brackets <> for the build in header files
#include <... | [
"pkmitl@meyer.wireless.dartmouth.edu"
] | pkmitl@meyer.wireless.dartmouth.edu |
6f4a350713f0f809e3e1b396ca5061c055fc4dcf | 4749b64b52965942f785b4e592392d3ab4fa3cda | /components/domain_reliability/util.cc | 1fc38baccd6776b1b0717c978fa83e32ccb2c06d | [
"BSD-3-Clause"
] | permissive | crosswalk-project/chromium-crosswalk-efl | 763f6062679727802adeef009f2fe72905ad5622 | ff1451d8c66df23cdce579e4c6f0065c6cae2729 | refs/heads/efl/crosswalk-10/39.0.2171.19 | 2023-03-23T12:34:43.905665 | 2014-12-23T13:44:34 | 2014-12-23T13:44:34 | 27,142,234 | 2 | 8 | null | 2014-12-23T06:02:24 | 2014-11-25T19:27:37 | C++ | UTF-8 | C++ | false | false | 4,661 | cc | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "components/domain_reliability/util.h"
#include "base/callback.h"
#include "base/logging.h"
#include "base/memory/weak_ptr.h"
#include "base/tim... | [
"ttuttle@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98"
] | ttuttle@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98 |
c59fbfa227ed2c76a93ec7be3590bc6d4e9a7a6c | 67fe8b02debdf79ced0387021f3d8404d8346e3e | /28March/main.cpp | b30492a3fb42a747a638d7d67df982fde2111b68 | [] | no_license | nclement/kaust-2017 | e975f6b5835b20d8221d4f9bbdd22c32be826cde | c467dd9f152b461c8b4da32f01e69e6b8d373112 | refs/heads/master | 2021-01-12T03:38:42.826946 | 2017-04-13T16:53:23 | 2017-04-13T16:53:23 | 78,246,440 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,520 | cpp | #include <iostream>
#include <vector>
using namespace std;
int x;
string y;
int h=0;
vector <string> names;
// returns the number, doubled
int doubleNum(int a) {
return a * 2;
}
// toupper(char c)
string makeUpperCase(string name) {
string newString = "";
for (int i = 0; i < name.size(); i++) {
ne... | [
"nclement@cs.utexas.edu"
] | nclement@cs.utexas.edu |
4d24c779e7ad36a5b08f0bbba3e4cb3f363a4374 | 5bbf2c05ca440287f3e181794d753cba4b6dce07 | /CSE472_Step4/CSE472Step4/Torus.h | 4221a6cec9ededd594edf73509aecad188b7d66b | [] | no_license | jsarmiento62/CSE472Step4 | eb6ca1e7d6cf77fb806a0d87f05c452d3a8a9773 | fbfcfe53d3410322a01c71256cb0dba9a8516454 | refs/heads/master | 2020-04-04T15:14:12.798902 | 2018-11-03T22:43:25 | 2018-11-03T22:43:25 | 156,029,853 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,914 | h | #pragma once
//! This class allows you to draw a torus
class CTorus
{
public:
CTorus(void);
virtual ~CTorus(void);
//! Set the large radius of the torus
/*! This is the radius of the entire torus. The
default is 5cm.
\param r Radius in cm */
void SetR1(double r) {m_r1 = r;}
/... | [
"sarmie12@msu.edu"
] | sarmie12@msu.edu |
f15d6020975ba5e7cf6fc9cb8b7dca60828c2fb9 | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/CMake/CMake-gumtree/Kitware_CMake_repos_log_503.cpp | 757a2ff65d9c4133fd70f5f8243a477b455cf0ec | [] | 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 | 107 | cpp | archive_set_error(&a->archive, ARCHIVE_ERRNO_FILE_FORMAT,
"Truncated RAR file data"); | [
"993273596@qq.com"
] | 993273596@qq.com |
a5cbdfde734fbcf60d313301863ca7fc042b2052 | 6feaebb8e182e1f80d9aabf850e556af094295d5 | /third-party/imgui-1.66b/examples/example_win32_directx12/main.cpp | 3379b2fe6e5648dbfd9171270fd650056dd243d9 | [
"Unlicense",
"MIT"
] | permissive | Celeborn2BeAlive/openglnoel | 1d29039383d2be9def4c245cb2a50dab5c20e8e2 | b5abb3d5b76d6810a2381a1a234b839a6e992a36 | refs/heads/master | 2021-06-18T16:51:59.725912 | 2019-01-16T16:54:51 | 2019-01-16T16:54:51 | 164,299,186 | 5 | 24 | Unlicense | 2019-03-31T19:18:08 | 2019-01-06T11:06:02 | C++ | UTF-8 | C++ | false | false | 17,751 | cpp | // dear imgui: standalone example application for DirectX 12
// If you are new to dear imgui, see examples/README.txt and documentation at the top of imgui.cpp.
// FIXME: 64-bit only for now! (Because sizeof(ImTextureId) == sizeof(void*))
#include "imgui.h"
#include "imgui_impl_win32.h"
#include "imgui_impl_dx12.h"
#i... | [
"laurent.noel.c2ba@gmail.com"
] | laurent.noel.c2ba@gmail.com |
ef3dd216b058732e11fc7bac38c1112e8311f1a8 | c4da7736d451d4a09dbdf78be0f06629add62ba9 | /Stealth/Source/Stealth/StealthHUD.h | 10811e9d8a82eedbf3f15f85fefe209a841b040b | [] | no_license | leguis/StealthGame | 9a68dfa2d76d99c20a914ba1885c50c4bc8cd9b0 | 82ff21cc2299475f13a89350075006bbe48635fc | refs/heads/master | 2022-03-09T02:18:40.107680 | 2018-03-09T03:02:55 | 2018-03-09T03:02:55 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 407 | h | // Copyright 1998-2017 Epic Games, Inc. All Rights Reserved.
#pragma once
#include "CoreMinimal.h"
#include "GameFramework/HUD.h"
#include "StealthHUD.generated.h"
UCLASS()
class AStealthHUD : public AHUD
{
GENERATED_BODY()
public:
AStealthHUD();
/** Primary draw call for the HUD */
virtual void DrawHUD() ove... | [
"sebastien.le-guischer@epitech.eu"
] | sebastien.le-guischer@epitech.eu |
0168d41d253469e976954c0040ab3f5680f0991c | 5bf545fc4138165694db3fddb2479c268df1fbeb | /Source/FPSGame/Private/FPSGameMode.cpp | 961036a6c6354ee7bee860a34b7d578948063b50 | [] | no_license | Goonfy/FPSGame-Multiplayer | 9690a2896b85918ef0b3d52f75b543ce6741c080 | 8f804d90f2936d74156b22c62ffcaebd84313415 | refs/heads/master | 2022-12-02T15:56:20.459794 | 2020-08-18T01:59:58 | 2020-08-18T01:59:58 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,616 | cpp | // Fill out your copyright notice in the Description page of Project Settings.
#include "FPSGameMode.h"
#include "FPSHUD.h"
#include "FPSCharacter.h"
#include "UObject/ConstructorHelpers.h"
#include "Kismet/GameplayStatics.h"
#include "FPSGameState.h"
#include "EngineUtils.h"
AFPSGameMode::AFPSGameMode()
{
// set d... | [
"edupedro1996@gmail.com"
] | edupedro1996@gmail.com |
249ec4545176914ff2782706862f92babe324481 | c4542b53f274c48fc8571656fdb0711889902681 | /test_case/50.4676134421789371/Tkk | a8f67c1ec78fccf27769ba65683bf5fbf0cb3437 | [
"MIT"
] | permissive | kakkapriyesh/Turbulence-flow-and-heat-budgets-in-OpenFOAM | e97f8ee5780bc8ff47c72e5189c21d612e70a105 | 94fef0cb4e09172f7532fbcf7a715095ed81e128 | refs/heads/main | 2023-04-15T23:24:11.392585 | 2022-12-22T02:16:10 | 2022-12-22T02:16:10 | 368,479,876 | 7 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,682 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 5.0 |
... | [
"kakkapriyesh199417@gmail.com"
] | kakkapriyesh199417@gmail.com | |
89ae1d30bccbecdad08b42f7aa3ee10b3414bb25 | cc48aef5650f09d71ae29631f637f9285f06cf96 | /5-37-1 구글크라우드와 음성인식을 이용한 LS PLC IoT 원격제어 - 1/Firebase_Stream_callback/Firebase_Stream_callback.ino | 7ee06ac1beb807bb070897ccaa0012f98a4d3acc | [] | no_license | kdi6033/node-red | cf141683fa4d78658beb566d02ec163435a55d23 | 0fc9ea83604a596ba10d9e1d7fe0787155793e38 | refs/heads/master | 2023-03-07T08:28:18.107404 | 2022-11-01T06:15:36 | 2022-11-01T06:15:36 | 131,582,259 | 3 | 22 | null | 2023-03-05T10:17:24 | 2018-04-30T10:21:46 | HTML | UTF-8 | C++ | false | false | 10,259 | ino | //FirebaseESP8266.h must be included before ESP8266WiFi.h
#include "FirebaseESP8266.h"
#include <ESP8266WiFi.h>
#include <SoftwareSerial.h>
#include "CRC.h"
#define FIREBASE_HOST "plc01-sehn-default-rtdb.firebaseio.com/" //Without http:// or https:// schemes
#define FIREBASE_AUTH "MPHLmBZ0yHY8ubgP3aCqegxcMlj9uy... | [
"noreply@github.com"
] | kdi6033.noreply@github.com |
cdfabda35f6e586c0cf214e076f1a12fc8171e9f | c9cf0586ace11aa32fa67606d237a130a06364ee | /circular-cylinder-3-35/0.75/phi | b23fbed573119095d699cb4e590dcdbf4ce0a165 | [] | no_license | jezvonek/CFD-Final-Project | c74cfa21f22545c27d97d85cf30eb6dc8c824dc1 | 7c9a7fb032d74f20888effa0a0b75b212bf899f4 | refs/heads/master | 2022-07-05T14:43:52.967657 | 2020-05-14T03:40:56 | 2020-05-14T03:40:56 | 262,370,756 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 410,009 | /*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: 6.0
\\/ M anipulation |
\*-----... | [
"danieler@login3.stampede2.tacc.utexas.edu"
] | danieler@login3.stampede2.tacc.utexas.edu | |
8b597aeef6d1b31e72e5e013f3446c829dd93198 | 0776eaa80db0d99eeee863c67eba166dbc3c9515 | /rekunziv, binaris/main.cpp | bb16e5680e9871d901156454962c16827be47cfd | [] | no_license | bogyaanna2003/XI.B. | fdffc04085a86d7c71b4e6b2519626ab8a872f49 | 1b60bae079602f40bdfaefc3802e52afc2b782d0 | refs/heads/master | 2023-05-30T10:21:33.947417 | 2021-06-10T06:25:49 | 2021-06-10T06:25:49 | 263,453,826 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 649 | cpp | #include <iostream>
using namespace std;
int binaris(int v[], int balindex, int jobbindex, int szam)
{
if (balindex <= jobbindex)
{
int kozep = (balindex + jobbindex) / 2;
if (v[kozep] == szam)
{
return kozep;
}
if (v[kozep] > szam)
{
... | [
"noreply@github.com"
] | bogyaanna2003.noreply@github.com |
3a52fdfd5bab868ba7092365b485511354af4a98 | 20e391ef829a0eb0528edd0df2a2114ac303dffb | /PKTO.cpp | 05160ce273c440c2352cec320491efd48cbe4184 | [] | no_license | PDCRL/KSFTM | d03f46a3b00121435f94161f3a9751600ce393db | bcdd856e8f6fa33b7e4f9282f904b0bee7a8368b | refs/heads/master | 2021-04-28T20:59:13.426722 | 2019-04-17T15:27:10 | 2019-04-17T15:27:10 | 121,941,345 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 18,394 | cpp | // PKTO.cpp
//
// Created by PDCRL group on 15/1/19..
// Copyright © 2019 IIT-HYD. All rights reserved.
#include "PKTO.h"
#define OK true
#define ABORTED false
#define K 5
#define NIL -1
#define TRUE true
#define FALSE false
#define ZERO 0
#define ONE 1
#define INFINITE 99999999;
#define C 0.1
/******************... | [
"noreply@github.com"
] | PDCRL.noreply@github.com |
ccf4482cdd7b2c2dcbd38d8ec1e9dc8152f5db56 | 6b2a8dd202fdce77c971c412717e305e1caaac51 | /solutions_5640146288377856_1/C++/akhtyamovpavel/A.cpp | 7bf8d0ef37665b68f121eba1351d51610241b269 | [] | no_license | alexandraback/datacollection | 0bc67a9ace00abbc843f4912562f3a064992e0e9 | 076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf | refs/heads/master | 2021-01-24T18:27:24.417992 | 2017-05-23T09:23:38 | 2017-05-23T09:23:38 | 84,313,442 | 2 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 2,802 | cpp | #include <cstdio>
#include <ctime>
#include <cmath>
#include <cctype>
#include <cstring>
#include <cstdlib>
#include <iostream>
#include <string>
#include <map>
#include <vector>
#include <set>
#include <algorithm>
#include <utility>
#include <stack>
#include <queue>
#include <complex>
#include <iomanip>
using namespa... | [
"eewestman@gmail.com"
] | eewestman@gmail.com |
956d3d52e3c2c6fc60842e79cca6438c0284c01e | 26b0efb08b6dacde668b8c7a7ef6d7eb31dcb96b | /src/BPLSettings.cpp | 4e3c77b157d06dcde58c5072f53b61e435aa7ebf | [] | no_license | zenesh/BrewPiLess | 668f7aac3f34616159e0a0a5a36e7049e07accad | 7afc58f9781dd9c5a4760a89b3b7909977756866 | refs/heads/master | 2020-03-27T21:44:45.396727 | 2018-08-07T09:04:40 | 2018-08-07T09:04:40 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 20,852 | cpp | #include <ArduinoJson.h>
#include <string.h>
#include <IPAddress.h>
#include <FS.h>
#include <ESP8266WiFi.h>
#include "Config.h"
#include "BPLSettings.h"
BPLSettings theSettings;
#define BPLSettingFileName "/bpl.cfg"
void BPLSettings::load()
{
DBG_PRINTF("syscfg:%d, timeinfo:%d, gdc:%d, \
tempSchedule:%d, brewSt... | [
"vitotai@mail.com"
] | vitotai@mail.com |
658042eda8b43736f3d7c3d3dec85dff70f35908 | 0543967d1fcd1ce4d682dbed0866a25b4fef73fd | /Midterm/solutions/midterm2017_54/A/000287-midterm2017_54-A.cpp | de08080a57e03fddfb2739534948d74b67324b38 | [] | no_license | Beisenbek/PP12017 | 5e21fab031db8a945eb3fa12aac0db45c7cbb915 | 85a314d47cd067f4ecbbc24df1aa7a1acd37970a | refs/heads/master | 2021-01-19T18:42:22.866838 | 2017-11-25T12:13:24 | 2017-11-25T12:13:24 | 101,155,127 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 252 | cpp | #include <iostream>
#include <cmath>
using namespace std;
int main () {
int N;
cin>>N;
if(N==1){
cout<<"NO";
return 0;
}
for(int i=2; i<N; i++){
if( N%i==0){
cout<<"NO";
return 0;
}
}
cout<<"YES";
return 0;
} | [
"beysenbek@gmail.com"
] | beysenbek@gmail.com |
17a37d905974230c907399794ad2e431cfd1ddb1 | 883887c3c84bd3ac4a11ac76414129137a1b643b | /ReManager/Protocol/PasteIn.cpp | b1560a08c0c537cf69bdf48d8f89ad929e3799e5 | [] | no_license | 15831944/vAcademia | 4dbb36d9d772041e2716506602a602d516e77c1f | 447f9a93defb493ab3b6f6c83cbceb623a770c5c | refs/heads/master | 2022-03-01T05:28:24.639195 | 2016-08-18T12:32:22 | 2016-08-18T12:32:22 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 748 | cpp | #include "stdafx.h"
#include "PasteIn.h"
CPasteIn::CPasteIn( BYTE *apData, int apDataSize):
CCommonPacketIn( apData, apDataSize)
{
m_pData = apData;
m_DataSize = apDataSize;
}
CPasteIn::~CPasteIn(void)
{
}
bool CPasteIn::Analyse()
{
int idx = 0;
if (!memparse_object(m_pData, idx, m_beginPos))
return false;
i... | [
"ooo.vspaces@gmail.com"
] | ooo.vspaces@gmail.com |
ffb1044fe3b979de20a02a4df819a3ec6c3fd32a | e6b668c5afc2a333a836bd8dc1dce6e04a5ef328 | /uva/10484.cpp | 0db63dde55a8016172c6d9e031ed5ff6ba033d73 | [] | no_license | mahim007/Online-Judge | 13b48cfe8fe1e8a723ea8e9e2ad40efec266e7ee | f703fe624035a86d7c6433c9111a3e3ee3e43a77 | refs/heads/master | 2020-03-11T21:02:04.724870 | 2018-04-20T11:28:42 | 2018-04-20T11:28:42 | 130,253,727 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,393 | cpp | #include<bits/stdc++.h>
using namespace std;
#define ll long long int
#define maax 109
bool tag[maax];
vector<ll>V;
ll fact[30];
void generator(){
tag[0]=tag[1]=1;
for(ll i=4;i<maax;i=i+2){
tag[i]=1;
}
for(ll i=3;i*i<maax;i=i+2){
if(tag[i]==0){
for(ll j=i*i;j<maax;j=j+i+i){
... | [
"ashrafulmahim@gmail.com"
] | ashrafulmahim@gmail.com |
997a2373803cde8d6465d382133f01953be9ce07 | 6e8a692abfb6e0d31c1c585a5236855d86251a8a | /LibQtApps/QtAppShaderProgram.cpp | ad8b7c8bb0206cc0aff936c9a713bf47be33e2e4 | [] | no_license | NTCodeBase/LibQtApps | a4567fed1b781b7742397ac4031e8e0a4976e885 | d090491055033208a5ae15f69e9eb96ed2c9410a | refs/heads/master | 2021-07-26T00:35:19.738707 | 2020-04-10T03:02:06 | 2020-04-10T03:02:06 | 142,731,183 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,095 | cpp | //-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
//-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
//
// .----... | [
"nghiatruong.vn@gmail.com"
] | nghiatruong.vn@gmail.com |
e907aab1fed15f79bef321bf4e58c1c38ba5387b | 4b9c94b36b2aa191ce1a2737b55f03b7f6717d37 | /Problems/Graph/bevarages.cpp | eeb259e609c1246e668d090d8c6842814f6e7a39 | [] | no_license | rmedeiros23/Competitive-Programming | d40ca5c0b58d39b0dd24817d791bf73fd270df9f | 8e87a9605d597122505b43d717897d68e85b98ba | refs/heads/master | 2020-04-28T09:53:40.838498 | 2020-04-19T17:38:01 | 2020-04-19T17:38:01 | 175,183,677 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,620 | cpp | #include <bits/stdc++.h>
using namespace std;
#define For(i,a,b) for(int (i)=(a);(i) < (b); ++(i))
#define INF 0x3f3f3f3f
#define pb push_back
#define mp make_pair
#define fi first
#define se second
#define fastcin ios_base::sync_with_stdio(false);
#define ll long long
#define MAX 110
#define aquiei cout << "Aqui" << ... | [
"USUARIOS+10284239@6-303-19.grad.usricmc.icmc.usp.br"
] | USUARIOS+10284239@6-303-19.grad.usricmc.icmc.usp.br |
bbc1945303b3c44a4923236eeb102eeb3b873316 | 12310cf668de5ac7cbe48fb9615a489b5be538ed | /src/qt/askpassphrasedialog.cpp | c93e87ee3f5414165e47f3d811fc74a07c3e834d | [
"MIT"
] | permissive | lyt217/lissomcoin | c09cff1e3323bb31da462d1d77853df8429c50c4 | 9364cc97896e45baab478c7efcc6eb8722d2521f | refs/heads/master | 2023-03-02T18:28:13.322306 | 2021-02-07T18:04:29 | 2021-02-07T18:04:29 | 335,684,120 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,904 | cpp | // Copyright (c) 2011-2018 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#if defined(HAVE_CONFIG_H)
#include <config/bitcoin-config.h>
#endif
#include <qt/askpassphrasedialog.h>
#include <qt/forms/... | [
"lyt217@naver.com"
] | lyt217@naver.com |
47eaf96da98ae84a51a697b952c3f0ef7c954ad9 | a78390c58814a59998f330adab061c7f7678725e | /sources/sedris_cpp_sdk_4.1.4/src/lib/taccess/interface/include/seDRMLabel.h | fd69f389c967e0cc32d73f75691bb8f70a73c0ff | [
"LicenseRef-scancode-warranty-disclaimer"
] | no_license | Geo4Win/sedris-dynamic | d632c3c496bdd111b8cb27d69de359cd7cc7c420 | cfb3b2f1605221bb1cfd86c8315ff0ca740767b8 | refs/heads/master | 2021-07-06T16:47:05.668696 | 2017-10-02T04:55:03 | 2017-10-02T04:55:03 | 105,417,233 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 4,267 | h | /*
* Copyright (c) 2006 Accent Geographic. All rights reserved.
* See the license file for licensing information.
* Created: Wed Jul 26 23:47:08 2006
*
* DO NOT EDIT THIS FILE! (Autogenerated)
*/
// SEDRIS C++ SDK Release 4.1.4 - July 1, 2011
/*
* NOTICE
*
* This software is ... | [
"sysbender@gmail.com"
] | sysbender@gmail.com |
e7e66163bcdf949f5ada72f220cafdced0f5afb9 | dc8789021332e423588ef2462ed38c7c78df046f | /plot.h | 085858b7e4bcb30de6a847443f4c70eb859ef78b | [] | no_license | markrosslonergan/SDecay | 16232e4be5cdace0381bd5e363d4c33761ce0c9d | 70c4ebce7d3d77b2b100bd2b35fba4d9c6a7db71 | refs/heads/master | 2020-12-07T02:39:20.659367 | 2015-08-27T13:48:39 | 2015-08-27T13:48:39 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 851 | h | #ifndef PLOT_H_
#define PLOT_H_
#include <iostream>
#include <cmath>
#include <vector>
#include <fstream>
#include <string>
class histogram2D {
public:
histogram2D(double b_x, double b_y);
int add_to_histogram(double x, double y);
int print();
int print(std::string name);
double binwidth_x;
double binwidth_y... | [
"peter.ballett@durham.ac.uk"
] | peter.ballett@durham.ac.uk |
681acb8888018e4986fa0b024cd36a4522abd574 | 3dd1c05c8e48d219f50a3d21188729d00e19cc74 | /src/libpsc/vpic/vpic_base.cxx | dcbca7ea745180d51b12764b6995fd5beedcdffb | [] | no_license | psc-code/psc | 4a81a14abf795a86187a2b2be6c08bf9be58910f | 9978ca6c3212a4fd8c33681a8b19fb6c697a537f | refs/heads/main | 2023-08-19T00:21:13.086327 | 2023-08-08T04:36:35 | 2023-08-08T04:36:35 | 85,747,335 | 20 | 16 | null | 2023-09-06T20:16:36 | 2017-03-21T19:59:42 | Jupyter Notebook | UTF-8 | C++ | false | false | 2,335 | cxx |
#include "vpic_config.h"
#include "vpic_iface.h"
#include <mrc_common.h>
#include <cassert>
vpic_simulation* simulation; // FIXME, never initialized, just a hack to make
// things link at least
// ----------------------------------------------------------------------
// vpic_base_init
... | [
"kai.germaschewski@unh.edu"
] | kai.germaschewski@unh.edu |
8c75e0dc16ce414fcf4c07e9d150328522edf3a9 | 3efc50ba20499cc9948473ee9ed2ccfce257d79a | /data/code-jam/files/1835486_emaxx_1481496_0_extracted_D.cpp | 6264a8758cb5ceddca7a857a1d2650791b618d78 | [] | no_license | arthurherbout/crypto_code_detection | 7e10ed03238278690d2d9acaa90fab73e52bab86 | 3c9ff8a4b2e4d341a069956a6259bf9f731adfc0 | refs/heads/master | 2020-07-29T15:34:31.380731 | 2019-12-20T13:52:39 | 2019-12-20T13:52:39 | 209,857,592 | 9 | 4 | null | 2019-12-20T13:52:42 | 2019-09-20T18:35:35 | C | UTF-8 | C++ | false | false | 2,111 | cpp | #define _CRT_SECURE_NO_DEPRECATE
#define _SECURE_SCL 0
#pragma comment (linker, "/STACK:200000000")
#include <algorithm>
#include <bitset>
#include <cmath>
#include <ctime>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <deque>
#include <iostream>
#include <map>
#include <queue>
#include... | [
"arthurherbout@gmail.com"
] | arthurherbout@gmail.com |
ebd84fae5b3e8c6f70a10cb65b16ab3e3422b7b0 | 0df18522cc3880893cc8552dbf7172c03ca86479 | /AIR-ARR/Programowanie Obiektowe/2/zalazek/src/dzialania.cpp | 0857edd73f72d73dec89e9cef73373152f3c5240 | [
"MIT"
] | permissive | superdyzio/PWR-Stuff | 58922d5f5dbab4fd8a45da0793a60cc2b1e3796d | 942dfd72e4fa987f80b0de185c4a3086d98b4e3f | refs/heads/master | 2020-12-30T22:37:07.804573 | 2018-07-19T23:24:39 | 2018-07-19T23:24:39 | 80,641,047 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 164 | cpp | #include "dzialania.hh"
Symbol TabDodawania[5][5] = {
{ e, a, b, c, d },
{ a, b, c, d, e },
{ b, c, d, e, a },
{ c, d, e, a, b },
{ d, e, a, b, a }
};
| [
"perdekdawid@gmail.com"
] | perdekdawid@gmail.com |
877f54e64d61c9d69841ba3b0d0943257df881c1 | 0aadbab091314463991d4dbc3ba5a616576861a4 | /CodeCube/CC072.cpp | b056d5262266d68518d20ec2673c11940a50f78f | [] | no_license | SilverFloo/Code | cdc0c6fdf8650d25a4b30ed4aaf577523021945a | 45a75e2dd42e2bb551f330ddbeee8d25b841f2b0 | refs/heads/master | 2022-12-15T10:04:19.562501 | 2020-09-02T14:34:54 | 2020-09-02T14:34:54 | 264,585,867 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 739 | cpp | #include<bits/stdc++.h>
#define FOR(i,a) for(int i=0;i<a;i++)
#define FOR1(i,a) for(int i=1;i<=a;i++)
#define f first
#define s second
#define all(x) x.begin(),x.end()
#define mp make_pair
#define pb emplace_back
#define p emplace
#define ii pair<int,int>
#define ll long long
using namespace std;
const int INF=1e9;
int... | [
"aapimrak@gmail.com"
] | aapimrak@gmail.com |
039599326d7cdc7b4780c27197486b0c17e7c7d8 | e695d0ddeffa22aed711e72aacdbd88a950a5abb | /图/图论500/最小生成树并查集/hdoj4081 秦始皇最小生成树.cpp | 56a987811b6762fedb0dd62770030825169a687a | [] | no_license | nNbSzxx/ACM | febe12eae960950bb4f03d0e14e72d54e66b4eee | e3994e292f2848b3fbe190b6273fdc30d69e887b | refs/heads/master | 2020-03-23T22:08:11.582054 | 2019-02-07T12:45:27 | 2019-02-07T12:45:27 | 142,155,512 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,097 | cpp | #include <iostream>
#include <cstdio>
#include <algorithm>
#include <cstring>
#include <cmath>
#include <vector>
using namespace std;
const int MAX = 1005;
const double INF = 1e10;
double map[MAX][MAX], xx[MAX], yy[MAX];
int n, p[MAX], vis[MAX], fu, fv, pmax;
struct edge {
int u, v;
double w;
} dis[MAX], e[MAX];
vect... | [
"hpzhuxiaoxie@163.com"
] | hpzhuxiaoxie@163.com |
3833e1821626a766cc582bd4a7cc2a548f1fa6d9 | f6e3e9dd43d13d069631339cc49cfc4455c0b984 | /cryptonote/src/WalletLegacy/WalletLegacy.h | d432c30a21de36a9cc56547cfc2672b64c41fe48 | [
"MIT"
] | permissive | gmin/safenetspace2 | 0076c9a08a8964f34f94e0b6bdc15784a9a8c483 | 869f53fb85c7c34cd45d9fea3a3658421ba58dda | refs/heads/master | 2021-08-18T21:59:06.064389 | 2017-11-24T02:20:05 | 2017-11-24T02:20:05 | 102,718,693 | 0 | 0 | null | 2017-09-07T09:30:35 | 2017-09-07T09:30:35 | null | UTF-8 | C++ | false | false | 8,842 | h |
// Copyright (c) 2014-2016 XDN developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#pragma once
#include <list>
#include <vector>
#include <unordered_map>
#include <memory>
#include <mutex>
#include "I... | [
"guom@bankledger.com"
] | guom@bankledger.com |
d30b44847059cc280ce49564a75cbb293fd5d4fc | abc7b3795be6210cd2ccff9bce475b91936a7f6f | /recurrent-net-lstm/src/sample.cc | 215718af90e714dbe1deb834ee2ac4a9f07ea6b0 | [] | no_license | brishtiteveja/DeepNN | 75d897cb578d42045eebf84d33d75f1e81eff3ae | a62cd67dda856b90650c31e3de8d946a6346c8db | refs/heads/master | 2021-01-19T21:44:23.237932 | 2018-03-01T20:22:09 | 2018-03-01T20:22:09 | 88,697,631 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,138 | cc | #include "general_settings.h"
using namespace std;
using namespace cv;
std::vector<HiddenLayerConfig> hiddenConfig;
SoftmaxLayerConfig softmaxConfig;
std::vector<int> sample_vec;
///////////////////////////////////
// General parameters init before
// reading config file
///////////////////////////////////
bool is_gr... | [
"brishtiteveja@gmail.com"
] | brishtiteveja@gmail.com |
ef892a56530156176feaab028370c0f56ca789f0 | ebe3f8220e8298fe3ace330b3f19c77fc131177d | /utils.cpp | dd7b37ce9bff4429388a2eddcf0842fb4ce5dcd5 | [] | no_license | piotrksiazek/cpp-chess-school-project | b4aff127c2179ad19d216816713b0004dd41631d | 89166db9286603c19ce786864258ab720c6aa7d5 | refs/heads/main | 2023-05-23T20:16:22.442891 | 2021-06-25T11:04:32 | 2021-06-25T11:04:32 | 365,006,121 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 714 | cpp | #include <iostream>
#include <SDL.h>
#include "constants.hpp"
#include "square.hpp"
#include "board.hpp"
#include "utils.hpp"
//ustawia wartości wskazywane przez squareX i squareY na odpowiendnie liczby będące indexami tablicy board
Position getCurrentHoveredRect(Board &board, int *squareX, int *squareY)
{
int xMo... | [
"pksiazek.py@gmail.com"
] | pksiazek.py@gmail.com |
728707c8359865b289aad2cb4ba5967e970066c7 | ebe7000856816a51e81066c945fbbc447fedba3b | /Game/Source/TestSuite/TestSuiteGameStateBase.h | 6dc0b3a457f27dfac0cd088c0672dd3e6e690221 | [
"MIT"
] | permissive | spatialos/UnrealGDKTestSuite | d5707b1d3411b748d049f419f1942817dbb4a550 | b2c3dc256f303600e2a91a4891a98b65fdd3e8e5 | refs/heads/release | 2020-03-07T05:17:11.419707 | 2019-04-30T13:13:36 | 2019-04-30T13:13:36 | 127,291,503 | 4 | 2 | MIT | 2019-04-30T13:13:38 | 2018-03-29T12:57:42 | C++ | UTF-8 | C++ | false | false | 310 | h | // Copyright (c) Improbable Worlds Ltd, All Rights Reserved
#pragma once
#include "CoreMinimal.h"
#include "GameFramework/GameStateBase.h"
#include "TestSuiteGameStateBase.generated.h"
UCLASS(SpatialType=Singleton)
class TESTSUITE_API ATestSuiteGameStateBase : public AGameStateBase
{
GENERATED_BODY()
};
| [
"noreply@github.com"
] | spatialos.noreply@github.com |
1015f4c9b4308eb51c3eaddfb3542f052166706a | c7d5f3767386a1787e8f0652d2eb2ee48a1a6b88 | /blockMeshDict | 33e015d81d8f42067c5f5ac4cec1dc2302da1fdf | [] | no_license | witoff/ConfigOpenFoam | 33d5b8baec1a0f90834eafaf3688c84436474ad2 | 90fa07e88838b6256d73fed029c19caed88da399 | refs/heads/master | 2020-04-25T01:20:59.836097 | 2012-10-29T01:09:49 | 2012-10-29T01:09:49 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,259 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.1.1 |
... | [
"ubuntu@ip-10-248-105-21.us-west-2.compute.internal"
] | ubuntu@ip-10-248-105-21.us-west-2.compute.internal | |
40392f1d55dfde4b2c51671df7272cfa6c25724e | 56f2cad92e7e2756a1385691efe04912ce255714 | /MotionProfiling/SCurvedMotionProfile.cpp | 7d2b40b7abc4a49a6847083c97294638f1c97148 | [] | no_license | olechiw/HotMP-Generator | 767e3c98dd5e8fb82dbfa9ec044167b9128aaff0 | 6a32c42e1c282fa1907cf321151820b7f80167aa | refs/heads/master | 2021-07-06T11:51:11.669991 | 2017-10-01T16:44:04 | 2017-10-01T16:44:04 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,831 | cpp | #include "SCurvedMotionProfile.h"
/*
Constructor and Predetermined Variables
*/
SCurvedMotionProfile::SCurvedMotionProfile(
double maxJerk,
double maxAcceleration,
double maxVelocity,
double targetDistance,
int precision)
:
MAXIMUM_JERK(maxJerk),
MAXIMUM_ACCELERATION(maxAcceleration),
MAXIMUM_VELOCITY(maxVe... | [
"pianist1119@gmail.com"
] | pianist1119@gmail.com |
105fea03d2a2882bca13ccc6bd244faf9d7f50ef | 6fdd6d4a12525849800811cc402ca0bb69a63eed | /uri-2163.cpp | ab0fa5d933e8ec25284556e33dd2bdb6b8e07b5f | [] | no_license | emmano2997/codigosUri | 4bd83a27174f6cd010023c1868d8b5e22d78613e | 14b6d416e7ec7f4cd7167aca945cdecefb158b52 | refs/heads/master | 2023-03-25T04:17:36.445370 | 2021-03-21T19:59:17 | 2021-03-21T19:59:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 744 | cpp | #include <iostream>
using namespace std;
int main(){
int m, n, lin, col, lin2, col2, soma;
cin >> m >> n;
int matriz[m][n];
for(lin = 0; lin < m; lin++){
for(col = 0; col < n; col++){
cin >> matriz[lin][col];
}
}
for(lin = 1; lin < m-1; lin++... | [
"thiagohenriqueprestes@gmail.com"
] | thiagohenriqueprestes@gmail.com |
c8e0d967134a2993ccddc41d4909839ef2fc5ba4 | 826c2762805e39ac1c080091e7f4f642fb41e19a | /ouniverse_2020_1_ue4_source/ouniverse/System/FormData.cpp | 49042dc4d73870582191bab52c2fba047e610f97 | [] | no_license | legendofceo/ouniverse_ue_cpp_source_deprecated_pre2022 | fe625f69210c9c038202b8305495bdf373657ea8 | 729f12569f805ce74e602f8b13bab0ac318358a5 | refs/heads/main | 2023-08-12T19:14:39.216646 | 2021-10-17T16:19:29 | 2021-10-17T16:19:29 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 324 | cpp | //Copyright 2015-2019, All Rights Reserved.
#include "System/FormData.h"
FormDataC::FormDataC(AtlasC* InAtlas, DataD* InForm)
{
Form_ = InForm;
Atlas_ = InAtlas;
}
AtlasC* FormDataC::Atlas()
{
return Atlas_;
}
DataD* FormDataC::Form()
{
return Form_;
}
void FormDataC::SetOpen(bool InStatus)
{
Open_ = InStatu... | [
"work.by.ceo@gmail.com"
] | work.by.ceo@gmail.com |
92ce70b0d779f0df074795d5e04af3eee76fff11 | 86a6846646037abe9618cae7bc0248f2d9c08020 | /exam1/main.cpp | 7d6323b1e5e693d43e92e108c38cd785cb4e91a3 | [] | no_license | andidh/OOP | 5dac173924137d94505b5343f12399a5bfe77329 | ef8510874a462c7dafa7445a8866b75ac6879d42 | refs/heads/master | 2020-04-06T03:41:16.021410 | 2016-06-19T17:58:14 | 2016-06-19T17:58:14 | 52,655,675 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 320 | cpp | //
// main.cpp
// mockup
//
// Copyright © 2016 Dehelean Andrei. All rights reserved.
//
#include <iostream>
#include "ui.hpp"
void testing(){
testAddRepo();
testFilter();
}
int main() {
Repository repo;
Controller contr(repo);
UI ui(contr);
ui.run();
return 0;
}
| [
"andi.deh30@icloud.com"
] | andi.deh30@icloud.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.