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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
b2eee0aed6a3c1d151feb77a5a7da322b290f8d6 | 5c2436ee0d0bfe24b45c6eb03ff9c73fd488ea49 | /Card.h | 30d624ba87adb2ee5b88557b3a939d8adbbf3780 | [] | no_license | kafkaesc/MiniMonsters | 0e6562e764415fc1b9cd50261776935cf86f94be | 0ca1b4ed55ba11f09e328aec3056cdb6710eb9a0 | refs/heads/master | 2021-01-01T15:17:53.440380 | 2013-09-22T05:07:43 | 2013-09-22T05:07:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,342 | h | #ifndef CARD_H
#define CARD_H
#include <iostream>
#include <string>
using namespace std;
enum aspect{ SCAR, ARTI, EARTH, WIND, FIRE, WATER, BOLT, LEAF };
class Card
{
private:
Card() {};
string title;
aspect type;
int stats[2][3];
string abilityText;
string flavorText;
public:
Card(string ti, aspect ... | [
"allthosemoments@gmail.com"
] | allthosemoments@gmail.com |
7cde704f43c4a41c67cd7e25625d92f3e9c7afbf | a3db71946c2fdcdee8cab60ecf1fcdf80806db57 | /src/CRequest.cpp | b4174491858cdbd80d933d211994dee922480066 | [
"MIT"
] | permissive | Luckshya/httpreq-sqmod | e0b98ab57d806c35499f13cb23dc80a6ed7ecb99 | 51dba401a202b2beabed26d3b27b105852e4cd5a | refs/heads/master | 2021-04-17T04:13:10.402074 | 2020-11-28T15:20:25 | 2020-11-28T15:20:25 | 249,412,057 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,270 | cpp | // ------------------------------------------------------------------------------------------------
#include "CRequest.h"
#include "CResponse.h"
#include <string>
// ------------------------------------------------------------------------------------------------
namespace SqHTTP {
// ---------------------------------... | [
"luckshyaverma@gmail.com"
] | luckshyaverma@gmail.com |
58a41e0f78e1193922499e7015e4edfd2e090e7a | deb9334fc2e75fd105370e7cdd857d4f7c2caffb | /上海计算机协会/2020年07月/丙组/03.cpp | 64d3456bb0812da5e730aecf4aa1e12558ca90f6 | [] | no_license | liwei2088/oi | a641aa06cfeeaeff75673191c4e0bd3f5aae9de3 | 487acf4b1d4f97ab26614f9f396c9ca007c2b507 | refs/heads/master | 2021-06-12T00:00:02.767091 | 2021-03-27T06:21:09 | 2021-03-27T06:21:09 | 149,082,839 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 418 | cpp | /**
* https://iai.sh.cn/problem/93
*
* 数根
*/
#include <iostream>
using namespace std;
int main() {
string s;
cin >> s;
while (s.size() != 1) {
int sum = 0;
for (int i = 0; i < s.size(); i++) sum += s[i] - '0';
string c;
while (sum != 0) {
c.push_back(sum % 1... | [
"liwei2088@sohu.com"
] | liwei2088@sohu.com |
374e5f31fa043384392b07adb52cdc3329d70621 | b047bec64435a3a444cd13b377de5f4d6d313a45 | /src/cir/cirOpt.cpp | 21d534437009a73d97620cb2806f92343904b842 | [] | no_license | vectominist/FRAIG | c774d1b735389f031b219f8b9af96a0260192dd9 | 2ce01876e09d116564c0f9c3885d56dd54b00ec8 | refs/heads/master | 2022-03-04T01:41:38.326102 | 2019-11-05T16:03:13 | 2019-11-05T16:03:13 | 219,777,954 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,207 | cpp | /****************************************************************************
FileName [ cirSim.cpp ]
PackageName [ cir ]
Synopsis [ Define cir optimization functions ]
Author [ Chung-Yang (Ric) Huang ]
Copyright [ Copyleft(c) 2008-present LaDs(III), GIEE, NTU, Taiwan ]
*********************... | [
"hc@zhanghengruide-MacBook-Pro.local"
] | hc@zhanghengruide-MacBook-Pro.local |
87bc9c27979cd4866e492c9e27ed592473fb56aa | e029e3cfddcf7051d2937600bd420da638ab0e04 | /src/qt/test/compattests.cpp | 75877121c032430939d16f9da46f5b1dd1d0d0f3 | [
"MIT"
] | permissive | reflexcoin/core | d49e2fd8b7383d3fc101752dccf7fa45a4b26391 | eeda5f3424d4eb8969580b5ac8787d350760d1f5 | refs/heads/master | 2020-06-12T04:45:26.910957 | 2019-07-10T03:10:20 | 2019-07-10T03:10:20 | 194,197,107 | 0 | 1 | MIT | 2019-07-10T03:10:21 | 2019-06-28T03:03:39 | C++ | UTF-8 | C++ | false | false | 714 | cpp | // Copyright (c) 2016 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "paymentrequestplus.h" // this includes protobuf's port.h which defines its own bswap macos
#include "compattests.... | [
"owlcrypto@tutanota.com"
] | owlcrypto@tutanota.com |
e0d68cdee64c3eea70b531faad336315d9d432e7 | 4d508e0bd33dfc2134485ed19692d0c75dc05d67 | /src/HOI4World/Ideas/IdeaGroupTests.cpp | 20fff069c8f54347857cabee95b2a7e2d87432b7 | [
"MIT"
] | permissive | ParadoxGameConverters/Vic2ToHoI4 | 4f97a00eb989d45cf7c4c460a884273aceab3a46 | 518bdc4542eb9e2f3a6f4eb02659ef4d67fabb22 | refs/heads/master | 2023-08-17T15:20:41.599432 | 2023-08-12T01:31:06 | 2023-08-12T01:31:06 | 160,988,154 | 33 | 45 | MIT | 2023-09-04T23:13:34 | 2018-12-08T23:37:24 | C++ | UTF-8 | C++ | false | false | 5,748 | cpp | #include "external/common_items/external/googletest/googletest/include/gtest/gtest.h"
#include "src/HOI4World/Ideas/IdeaGroup.h"
#include <sstream>
TEST(HoI4World_Ideas_IdeaGroupTests, NameIsAsSet)
{
std::stringstream input;
const HoI4::IdeaGroup theIdeaGroup("theName", input);
ASSERT_EQ("theName", theIdeaGroup.... | [
"noreply@github.com"
] | ParadoxGameConverters.noreply@github.com |
b5103c838299f215c9b65bf5511dd23e5e751efe | a81c07a5663d967c432a61d0b4a09de5187be87b | /chrome/browser/android/document/document_web_contents_delegate.cc | 3b75d30c0ec40434d7adba2b5ed6da7bcc5764af | [
"BSD-3-Clause"
] | permissive | junxuezheng/chromium | c401dec07f19878501801c9e9205a703e8643031 | 381ce9d478b684e0df5d149f59350e3bc634dad3 | refs/heads/master | 2023-02-28T17:07:31.342118 | 2019-09-03T01:42:42 | 2019-09-03T01:42:42 | 205,967,014 | 2 | 0 | BSD-3-Clause | 2019-09-03T01:48:23 | 2019-09-03T01:48:23 | null | UTF-8 | C++ | false | false | 2,198 | 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 "chrome/browser/android/document/document_web_contents_delegate.h"
#include "chrome/android/chrome_jni_headers/DocumentWebContentsDelegate_jni.h... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
b2d7a822ccb36f6167a19dee439d9741ccff7ef4 | 913baa438c8b64d0cb859ca4c333027c8f79344f | /Source/FPSArkde/Public/UI/HUD/RP_HUDGameState.h | ddc033dd9138833644c9029ad5ec0c0298050144 | [] | no_license | DvlPnk/FPSArkde | 16c47e67a15fd9c2b4ef2a0e9fded0c77c743871 | 2cbee16cb7ba0ea75526cdf450a838202bcbb768 | refs/heads/main | 2023-07-21T23:53:25.717351 | 2021-09-06T15:14:15 | 2021-09-06T15:14:15 | 361,840,749 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 798 | h | // Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "Blueprint/UserWidget.h"
#include "RP_HUDGameState.generated.h"
class ARP_GameMode;
/**
*
*/
UCLASS()
class FPSARKDE_API URP_HUDGameState : public UUserWidget
{
GENERATED_BODY()
protecte... | [
"pierre.ruiz.r@uni.pe"
] | pierre.ruiz.r@uni.pe |
8f7e44dbc1d3dbf3832deba6b41af4f57c4ebdcd | f1660c483f52d6e19648fba45e87e47806a64a80 | /Build/nclgl/Graphics/Renderer/PS4/PS4Shader.h | e6c631f03f4406f3607f71414c311ee450497c75 | [] | no_license | Team6-crew/Team6Project | c352e01d458e184e4f95d8ac370838d04fd73cd8 | e9f6fb0d2362b3c2618a0feac8bea1bd29995bbd | refs/heads/develop | 2021-05-04T21:06:12.743450 | 2018-03-15T16:46:47 | 2018-03-15T16:46:47 | 119,851,958 | 0 | 0 | null | 2018-03-15T19:33:58 | 2018-02-01T15:09:30 | C | UTF-8 | C++ | false | false | 72 | h | #pragma once
class PS4Shader
{
public:
PS4Shader();
~PS4Shader();
};
| [
"philipjones87@hotmail.com"
] | philipjones87@hotmail.com |
203efd67b3e6f1df2e2ef78b7b1c7ab6f27de3c7 | b19e8574606470bb53a1ea2c13a22667b1b60ed1 | /Aquarium.h | 866184531e77e4388cf5aea9238e878317a5214e | [] | no_license | cnastoski/Aquarium-MFC-App | 5a525aec9223e9051c1ad1c0899f56e3a7596f44 | df1168ebd3e52aa38c3079c1995a5fa8ac70ce57 | refs/heads/master | 2020-08-05T16:49:06.037869 | 2019-10-03T16:06:58 | 2019-10-03T16:06:58 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,190 | h | /**
* \file Aquarium.h
*
* \author Chris Nastoski
*
*
*/
#pragma once
#include <memory>
#include <vector>
#include <string>
#include "XmlNode.h"
class CItem;
/**
* Represents an aquarium
*/
class CAquarium
{
public:
CAquarium();
void OnDraw(Gdiplus::Graphics* graphics);
... | [
"noreply@github.com"
] | cnastoski.noreply@github.com |
4885b0b245eba15f0bc06b1167532291f3cf0786 | 9791a7a24160c3acacb1d0bb1b5b4453361b2151 | /WinDDK/7600.16385.1/src/print/XPSDrvSmpl/src/ui/ftrppg.h | 04a32d43222afbf18c56364452873bcee187bb68 | [] | no_license | kcrazy/winekit | fedc7bfa3fa702423f93447a8a19e2a4d358241e | 7948f5f42a60225d9f94930be539f0a1d6202dbc | refs/heads/master | 2021-01-10T08:18:48.598427 | 2017-02-17T05:34:15 | 2017-02-17T05:34:15 | 50,400,541 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 812 | h | /*++
Copyright (c) 2005 Microsoft Corporation
All rights reserved.
THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
PARTICULAR PURPOSE.
File Name:
ftrp... | [
"thekcrazy@gmail.com"
] | thekcrazy@gmail.com |
43a2501f81249870324219fac3a56aa340827253 | fd3a73b9f16b54b1f57bbe3deeae18199c3e075f | /src/xirscript/xir_scanner.h | 47551e74fcd698385ef5809f7d0f6ad7b3b234ba | [] | no_license | FDavis348915654/faeris | a9d381e930abd56ee6d1963d497049bdc52b2175 | 5e82656877e2b1fde77731ccb0b1747a86d5f71b | refs/heads/master | 2021-01-20T23:37:28.017770 | 2012-10-27T16:25:57 | 2012-10-27T16:25:57 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 599 | h | #ifndef _FAERY_XIR_SCRIPT_SCANNER_H_
#define _FAERY_XIR_SCRIPT_SCANNER_H_
#include"xirscript/xir_file.h"
#include<string>
#include"xirscript/xir_state.h"
class XirScanner
{
private:
XirFile* m_file;
int m_cur_token;
int m_cur_line;
std::string m_cur_string;
XirState* m_begin_state;
bool m_eof;
public:
X... | [
"nosiclin@foxmial.com"
] | nosiclin@foxmial.com |
8f6dfc9c03ab145f3ae756ab16767576685536fb | 54f352a242a8ad6ff5516703e91da61e08d9a9e6 | /Source Codes/AtCoder/agc006/A/966227.cpp | 4b7c41bb433c6e2bbc32f3ab4d6257788c5ddab9 | [] | no_license | Kawser-nerd/CLCDSA | 5cbd8a4c3f65173e4e8e0d7ed845574c4770c3eb | aee32551795763b54acb26856ab239370cac4e75 | refs/heads/master | 2022-02-09T11:08:56.588303 | 2022-01-26T18:53:40 | 2022-01-26T18:53:40 | 211,783,197 | 23 | 9 | null | null | null | null | UTF-8 | C++ | false | false | 525 | cpp | #include<iostream>
#include<vector>
#include<string>
using namespace std;
int main() {
int n;
string s,t;
cin >> n >> s >> t;
for(int l = n; l <= 2*n; l++) {
bool flag = false;
for(int i = 0; i < 2*n-l; i++){
if(s[n-1-i] != t[2*n-l-1-i]){
f... | [
"kwnafi@yahoo.com"
] | kwnafi@yahoo.com |
0b82763391a42f4413f80e09758a080969499316 | cb53a0cff7733bc8f5c70597009580287543bb72 | /AutoSave/2010/inc/AcPlPlotErrorHandler.h | 092fb83cb23a7ba26050156048846acfda1dc754 | [
"MIT"
] | permissive | 15831944/AllDemo | d23b900f15fe4b786577f60d03a7b72b8dc8bf09 | fe4f56ce91afc09e034ddc80769adf9cc5daef81 | refs/heads/master | 2023-03-15T20:49:15.385750 | 2014-08-27T07:42:24 | 2014-08-27T07:42:24 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,302 | h | #ifndef ACPLPLOTERRORHANDLER_H
#define ACPLPLOTERRORHANDLER_H
//
// (C) Copyright 2003-2007 by Autodesk, Inc. All rights reserved.
//
// Permission to use, copy, modify, and distribute this software in
// object code form for any purpose and without fee is hereby granted,
// provided that the above copyright n... | [
"lixiaolei2005-12@163.com"
] | lixiaolei2005-12@163.com |
27e7ea82bfaf81d8d61a97da69a7bb5050396875 | 7a36a0652fe0704b4b27f644653e7b0f7e72060f | /Common/ZQDaemon.cpp | ed94ce511a64e2346ed5d7061d414f096b5fc125 | [] | no_license | darcyg/CXX | 1ee13c1765f1987e293c15b9cbc51ae625ac3a2e | ef288ad0e1624ed0582839f2a5a0ef66073d415e | refs/heads/master | 2020-04-06T04:27:11.940141 | 2016-12-29T03:49:56 | 2016-12-29T03:49:56 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,453 | cpp | #include "ZQDaemon.h"
#include "ConfigHelper.h"
#include <sstream>
#include <cstdio>
#include <cstdlib>
#include <cerrno>
#include <unistd.h>
#include <syslog.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include "strHelper.h"
// #include "SnmpManPkg.h"
#include "./ZQResource.h" /... | [
"jjz@example.com"
] | jjz@example.com |
28456891de46f0b110ad1c0520ee55d0a9962fbc | 5622e71e5bfb3f448bdd579cdc5779c6f112a01f | /MarioOzawa/PlaySence.cpp | 348e2ba40c3cd386eca9a9efb1e02f73236645ad | [] | no_license | nionguyen/Mario-Ozawa-Game | d029c9d4f8572af508b0e3b83e3a107e52d4d82f | a121d6c63f6b26d47394b732a56716ac389e65b6 | refs/heads/master | 2021-01-06T20:45:23.883630 | 2015-01-23T10:46:38 | 2015-01-23T10:46:38 | 28,554,629 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 8,976 | cpp | #include "PlaySence.h"
#include "MenuSence.h"
#include "ZoomSence.h"
#include "MapLoader.h"
#include "Writer.h"
#include "SoundManager.h"
#include "LoseGameSence.h"
PlaySence::PlaySence(Game* game, int timeAni)
: GameSence(game, timeAni)
{
SoundManager::GetInst()->PlayBgSound(SOUND_B_GAME1);
_isExitting = false;
... | [
"huynguyen.uit@gmail.com"
] | huynguyen.uit@gmail.com |
875c3b70d545cdc08ce7df07824f10eb60083b43 | 127b250f22a27babd29a21af1e8e11d7c594bf7f | /vstudio/test/testing.cpp | 9087b08b920a35a9000e3771c87c83471ff52989 | [] | no_license | porty/netlib | 13e36a3c121f32b929d85eb8f6c6acabe5b5d68f | 21b18b5446a7478e3f245c0fb484ffde3d6f5108 | refs/heads/master | 2020-05-19T12:37:16.992949 | 2012-02-02T09:26:37 | 2012-02-02T09:26:37 | 3,264,701 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 332 | cpp | #include "testing.h"
void Testing::fail(const std::string & message)
{
throw std::exception(message.c_str());
}
void Testing::assertTrue(const std::string & message, bool actual)
{
if (!actual)
{
fail(message);
}
}
void Testing::assertFalse(const std::string & message, bool actual)
{
if (actual)
{
fail(mes... | [
"pppppppman@gmail.com"
] | pppppppman@gmail.com |
cc18e85f529d4f5ca1193c616c0991e67a8f4e7a | ec0108e0fd9c6e0a04b0ac8575add06f382582f1 | /training/2012-06-19-arab-and-north-africa-2007/A.cpp | d45dd402445d14306dcc6503de9a5322c162cf44 | [] | no_license | robotcator/acm-icpc | b5ac23604c2eb4345275ac76b6d10f9fc1135b69 | 6d64309c9875418359031fc7fb75e8f6401affd3 | refs/heads/master | 2021-01-18T07:32:49.086985 | 2014-07-28T02:32:16 | 2014-07-28T02:32:16 | 22,862,729 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 726 | cpp | // Problem A -- Judging Olympia
#include <cstdio>
#include <cstring>
#include <algorithm>
using namespace std;
int score[6];
int main() {
while (true) {
int sum = 0;
for (int i = 0; i < 6; ++ i) {
scanf("%d", score + i);
sum += score[i];
}
if (sum == 0) {
... | [
"ftiasch0@gmail.com"
] | ftiasch0@gmail.com |
9ae9940b9e88ca3d3e4b48c59e2c10da63cfdb45 | 80c35a3cf98cc9614a2904953179ee975d2a7ec3 | /source/engine/renderer/irenderer.cpp | a2bdeaa907948d009244c5778e9ad0a39bf6bf01 | [] | no_license | aiekick/fast_vulkan | 6e723730fef5432c75cbfa5f874f7bec7f4ca124 | ccbddcda964fd268ff4adde0a866a4d9c082478a | refs/heads/master | 2022-02-26T16:01:49.084272 | 2019-09-28T20:45:41 | 2019-09-30T03:59:46 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 70 | cpp | #include "irenderer.h"
namespace renderer {} // end namespace renderer | [
"bobluoluo@hotmail.com"
] | bobluoluo@hotmail.com |
63ce59c4a46d101e0295732b99882d63b916f9d3 | a0ade761033420d190d957f139af0d55b69d32a4 | /Homework_3/p1/HW3/HW3/GLBlueSphere.cpp | 6e68b8570cfaecece15475ebae92277027c08526 | [] | no_license | nfriend/HCI_557_2016_nf | ca90dcd05819695777e7cf72395f0bc147d1d21d | 4dbbe1d40c168c845cb41e100e055ce274ae62ed | refs/heads/master | 2020-07-14T11:04:55.569974 | 2016-11-03T02:13:07 | 2016-11-03T02:13:07 | 67,309,366 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,277 | cpp | #include "GLBlueSphere.h"
GLBlueSphere::GLBlueSphere(float center_x, float center_y, float center_z, float radius, int rows, int segments)
{
_center.x() = center_x;
_center.y() = center_y;
_center.z() = center_z;
_radius = radius;
_rows = rows;
_segments = segments;
_program_normals = 0;
_program = 0;
_r... | [
"hello@nathanfriend.io"
] | hello@nathanfriend.io |
ebae6ebbd0b80a1e44eb570c9e075f135d00b30f | 753495267275b55f277e8e905f46e70283d00069 | /Doubly Linked List/Source.cpp | 1652605adfd59c2301637ba503883a9cecccc8b3 | [] | no_license | DylanConvery/Doubly-Linked-List | 2c695499dfcb3675366ce536c27afb4dfec88d0e | eb8b24b896e9181b2c864960b6041a09b84b2a45 | refs/heads/master | 2020-08-18T09:05:56.692608 | 2019-10-17T11:10:31 | 2019-10-17T11:10:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,512 | cpp | #include <iostream>
#include <string>
#include "Link.h"
#include "God.h"
//moves forward Thorugh a list starting from the link argument provided and print each links value,
//we first check whether the link argument is not a nullptr, if so, we try print its value
//property, after which we assign the link argu... | [
"dylanconvery94@gmail.com"
] | dylanconvery94@gmail.com |
7d81a181a536b7ef2775806045f7e789e3303eb8 | 0f2f6c61f984c344971b7393c445c07d0eb8b261 | /install/include/baxter_core_msgs/AssemblyStates.h | a9591f25bb0dcd45abf9fac374af2bb29bf51629 | [] | no_license | stephenmylabathula/BaxterDots | 3acc06b825a39240a28a926a72e091e65e6784c5 | 82c01b8be9ce9995b175e2f020e66b6231d8b4a8 | refs/heads/master | 2021-08-30T11:42:41.430808 | 2017-12-17T14:22:30 | 2017-12-17T14:22:30 | 112,288,754 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 7,857 | h | // Generated by gencpp from file baxter_core_msgs/AssemblyStates.msg
// DO NOT EDIT!
#ifndef BAXTER_CORE_MSGS_MESSAGE_ASSEMBLYSTATES_H
#define BAXTER_CORE_MSGS_MESSAGE_ASSEMBLYSTATES_H
#include <string>
#include <vector>
#include <map>
#include <ros/types.h>
#include <ros/serialization.h>
#include <ros/builtin_mes... | [
"mylo777@icloud.com"
] | mylo777@icloud.com |
9abc1b912bdc44cef7e24ad7eb1e26ef9c8b0b53 | b2f3ec886782a5827e1976e33f6ed3695b4077e5 | /assignment3/person.h | 74c5d5efc0d1aa9713fb917c73a37601706a77b7 | [] | no_license | jamesbertel/CS-211 | 0eb72fd024b4a42cdd1deea7e6ef93cfbaedbf4d | 0db67696245b8b759737f17f0c45020bb688f7a2 | refs/heads/master | 2020-09-05T09:36:35.076880 | 2019-11-06T18:13:08 | 2019-11-06T18:13:08 | 220,059,167 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 329 | h | #include <string>
#ifndef PERSON_H
#define PERSON_H
using namespace std;
class Person
{
protected:
string name;
string email;
string address;
string dateOfBirth;
string gender;
public:
Person();
Person(string n, string e, string a, string d, string g);
void printPerson();
string getname() const;
}... | [
"noreply@github.com"
] | jamesbertel.noreply@github.com |
eaad18bbddd80b5d9da928e54e5470a678537dea | b5b71a801bddc43ed8522c42bfd6d706e3e3062d | /UE4.23/Engine/Source/Runtime/Engine/Classes/Engine/EngineTypes.h | f14df21e9e67a8a58a8edd4e52fb307c5e843012 | [] | no_license | FashGek/UEToonStylized | 4300b4f9440caf14c22e20fc3b85b22725187507 | a727d1d83469be7835b686fceb14e6f85f909fbd | refs/heads/master | 2020-09-25T14:24:18.944796 | 2019-12-04T03:46:25 | 2019-12-04T03:46:25 | 226,023,362 | 1 | 0 | null | 2019-12-05T05:30:00 | 2019-12-05T05:29:59 | null | UTF-8 | C++ | false | false | 130,821 | h | // Copyright 1998-2019 Epic Games, Inc. All Rights Reserved.
#pragma once
/**
* This will hold all of our enums and types and such that we need to
* use in multiple files where the enum can't be mapped to a specific file.
*/
#include "CoreMinimal.h"
#include "UObject/ObjectMacros.h"
#include "UObject/Object.h"
#i... | [
"mljuw@126.com"
] | mljuw@126.com |
cc0f9908b86f7bca9a13a0dd57c6f09c1b3d2256 | 0f63cebd6ab61f1e52531b72967763835d7ab679 | /Obj2Point/vcg/complex/algorithms/geodesic.h | d981512217b2054889c898ced9c3eb0b77cbf889 | [] | no_license | pengsida/configuration | 721061e1d21a95fce334e987cf401ceeb55b54f6 | f64367095a9e88a64a7a6fc1633a687b0d9a4c4d | refs/heads/master | 2023-08-16T18:14:56.896539 | 2023-08-12T09:06:40 | 2023-08-12T09:06:40 | 142,301,847 | 50 | 11 | null | null | null | null | UTF-8 | C++ | false | false | 13,462 | h | /****************************************************************************
* VCGLib o o *
* Visual and Computer Graphics Library o o *
* _ O _ *
* Copyri... | [
"pengsida@zju.edu.cn"
] | pengsida@zju.edu.cn |
bbfc7e237e04069fabab9c7fdefa934dedfe3920 | ef320c2411f63c4643ea74ebcb6dc03adb6b2983 | /RenderingEngine.cpp | a681a66e9fd06590f6a415827956217536a39006 | [
"Apache-2.0"
] | permissive | XiaozhiGuo/Complex-3D-Vector-Fields | b4e5e593b6663cb1dc664c0b21b613b498804de3 | a2c7f13716781281be9b1f2fa60cefe81da4599a | refs/heads/master | 2021-01-24T20:03:10.280807 | 2016-03-30T01:33:15 | 2016-03-30T01:33:15 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,673 | cpp | #pragma once
#include "RenderingEngine.h"
//#define _USE_MATH_DEFINES
//#include <math.h>
RenderingEngine::RenderingEngine()
{
}
RenderingEngine::~RenderingEngine()
{
}
//to be moved to vector3d?
/*void
Cross(float v1[3], float v2[3], float vout[3])
{
float tmp[3];
tmp[0] = v1[1] * v2[2] - v2[1] * v1[2];
tmp... | [
"zosit123@hotmail.com"
] | zosit123@hotmail.com |
2c44b1496066591c41fe1098026b929460848137 | 67d297959d0ddecc6a1349d714eb8dd3cf20d8bc | /litehtml/src/xstring.cpp | d341269920288b0a73110635a07219eba997f425 | [
"BSD-3-Clause",
"Apache-2.0"
] | permissive | blockspacer/foton | bb70d0c5292c9210c45b9a00ecfeeffd14824217 | 2f9b68ca0ccc2f087f769e52f8caa30806c9484c | refs/heads/master | 2020-05-07T08:07:24.543221 | 2018-05-01T18:22:31 | 2018-05-01T18:22:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,861 | cpp | #include "xstring.h"
#include <ctype.h>
namespace litehtml {
/**
* @brief xstring::xstring
*/
xstring::xstring( )
: m_ptr( m_buf )
{
*m_buf = 0;
m_len = 0;
}
/**
* @brief xstring::xstring
* @param other
*/
xstring::xstring( const xstring& other )
{
*m_buf = 0;
m_ptr = m_buf;
m_len = 0;
... | [
"etienne.cochard@gmail.com"
] | etienne.cochard@gmail.com |
9a1bf06d759dc3e090df6d972f4e3367cb98079f | d657d42eba1a5cf80f39719859cb6944e28f0aa0 | /Exercícios Aulas Práticas Resolvidos/Exercícios While Saul Delabrida/84.cpp | e5ad41d5efb2457e2a12251abd9b4aa16af96c8e | [] | no_license | fonte-nele/BCC201-Introducao-Programacao | ef6b700f2caea2806d57901d9eace1fac85d29a5 | 18383ae82b49595c25add46bfa2e8fcef83afdf1 | refs/heads/master | 2020-06-08T16:17:37.457370 | 2019-06-22T17:29:53 | 2019-06-22T17:29:53 | 193,261,398 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 539 | cpp | #include <iostream>
using namespace std;
int main()
{
int num1,num2,mmc=1,div=2;
cout<<"Digite dois numeros para calcular o M.M.C.: "<<endl;
cin>>num1>>num2;
while (div<=num1 || div<=num2)
{
if (num1%div==0 || num2%div==0)
{
mmc = mmc * div;
}
if (num1%di... | [
"felipephontinelly@hotmail.com"
] | felipephontinelly@hotmail.com |
6ecef3d356fddfa62ae2d656e068707d3a05dcdd | c01524eff02c91b38610a1a66dc3ea9d747271b6 | /Uva/UVa11364.cpp | 53b1bb176584121c41b2f35adc3de98a33d04b44 | [] | no_license | Ramonr20/CompetitiveProgramming | 29a3a72df6b6d5621cd0521cfc63cf0a53887da5 | 3a9f52756d6d762645ca89df25b4457a1e62341f | refs/heads/master | 2021-06-11T05:10:50.965380 | 2020-04-06T18:17:34 | 2020-04-06T18:17:34 | 125,678,739 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 510 | cpp | #include <bits/stdc++.h>
using namespace std;
int main() {
int t, n, sum, num;
vector<int> places;
cin >> t;
while (t--) {
places.clear();
sum = 0;
cin >> n;
for (int j = 0; j < n; ++j) {
cin >> num;
places.push_back(num);
}
... | [
"hermon.rios@outlook.com"
] | hermon.rios@outlook.com |
547494070ce142722ba00ef303d5f7c754c21847 | b341fe653178d68acee457a872a9b1252724bf0d | /Test/2005-2-1-test.cpp | aa67006afe75be9afbc727f289a8617caee04eba | [
"MIT"
] | permissive | Freecloudy/BIT_885_Problems | 150540f0f7f6b6abecb040d3030ea39d29495751 | c9a36d9d8dbf5d0732844876d01b569378c7ebf8 | refs/heads/master | 2023-03-20T07:15:42.872028 | 2020-12-20T14:17:34 | 2020-12-20T14:17:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 889 | cpp | /*
* Chinese Comment by UTF-8
*
* 题目内容
* 设有一个表头指针为h1的单链表。试设计一个算法,通过遍历一趟链表,将链表中所有节点的链接方向逆转。
* 要求逆转之后的结果链表的表头指针h1指向原链表的最后一个节点。
*
* 分析
* 标准的反转链表题。
* 反转链表实际上就是建立链表,不要对"反转"产生过多的恐惧。
* 建议做https://leetcode-cn.com/problems/reverse-linked-list/来练习。
* 非常典型的程序。
* 如果没有把握临场编写这一程序,建议背诵之。
*
* 要点
* - 反转链表
*/
# includ... | [
"65227082+AmachiInori@users.noreply.github.com"
] | 65227082+AmachiInori@users.noreply.github.com |
fd4ec9d452ce811b49458dd064cf53d0ddfdb0e0 | 3af68b32aaa9b7522a1718b0fc50ef0cf4a704a9 | /cpp/D/C/D/B/A/ADCDBA.h | fa86e78dca9414d4d313238a65db4fddeae30991 | [] | no_license | devsisters/2021-NDC-ICECREAM | 7cd09fa2794cbab1ab4702362a37f6ab62638d9b | ac6548f443a75b86d9e9151ff9c1b17c792b2afd | refs/heads/master | 2023-03-19T06:29:03.216461 | 2021-03-10T02:53:14 | 2021-03-10T02:53:14 | 341,872,233 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 67 | h | #ifndef ADCDBA_H
namespace ADCDBA {
std::string run();
}
#endif | [
"nakhyun@devsisters.com"
] | nakhyun@devsisters.com |
70861b3419f6ccef5f7681c1bc3a0fa8141bb5fb | bff6523f531f9f769daf90d947cabd7d15eb98ba | /GRIFFIN_KOWASH_2020-02-09_hw2-2.cpp | bf31b265daf612791e68b2380ee146413e9f030e | [] | no_license | gkowash/PHYS175_HW2 | f153f690b2acd03a3f5dc75fd56aba9a68055e63 | 0eb2ffc131a29e489e5879f8730141024dfbde6a | refs/heads/master | 2020-12-31T23:05:26.848143 | 2020-02-10T04:14:02 | 2020-02-10T04:14:02 | 239,067,459 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,394 | cpp | #include <iostream>
using namespace std;
//program to find the sum of all natural numbers below 1000 divisible by 3 or 5
//___Method 1___//
/*loops through all integers 3 to 999 and checks the remainder when divided by 3 and 5.
If either remainder is 0, the number is added to a running count.*/
in... | [
"gkowash@gmail.com"
] | gkowash@gmail.com |
bd1ce943d2b0159e9be2aeb785e49bbe22819d86 | 225b9a9ce807b669f5da0224b374bbf496d0bc70 | /keoj53.cpp | bcc79cfdc2ab2f56d55a30350fa723474802ffb3 | [] | no_license | Kewth/OJStudy | 2ed55f9802d430fc65647d8931c028b974935c03 | 153708467133338a19d5537408750b4732d6a976 | refs/heads/master | 2022-08-15T06:18:48.271942 | 2022-07-25T02:18:20 | 2022-07-25T02:18:20 | 172,679,963 | 6 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 10 | cpp | bz5297.cpp | [
"Kewth.K.D@outlook.com"
] | Kewth.K.D@outlook.com |
a50cd88e7e68a078da231d4484a3d5ab87283de1 | 3c105db33d0e6118ad8a8702c92e4a220a6897fa | /Source/Tamagochi/TamagochiPlayerController.h | 855c09f0f93e630d9dfb0a287dc9d075ce149bef | [] | no_license | Anarchydus/WeeklyJam119 | 87badbbb32e325f628688feadffa3ce3bb1305a7 | 1ad54e47401cb9ef2a1558af093f85da414a17cd | refs/heads/master | 2020-08-22T13:38:55.128166 | 2019-10-20T18:22:16 | 2019-10-20T18:22:16 | 216,406,830 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,015 | h | // Copyright 1998-2019 Epic Games, Inc. All Rights Reserved.
#pragma once
#include "CoreMinimal.h"
#include "GameFramework/PlayerController.h"
#include "Animation/AnimSequence.h"
#include "TamagochiPlayerController.generated.h"
UCLASS()
class ATamagochiPlayerController : public APlayerController
{
GENERATED_BODY()
... | [
"leonnc@stud.ntnu.no"
] | leonnc@stud.ntnu.no |
7d054d773d22821548b0926e8b15a0b7744cf638 | 8894ab29e8c99f964b33075e306c5db7f984247a | /DataStructure/Assignment6/TreeNode.h | 411e965f3eb503447d1b1572d869bd29610b4f1b | [] | no_license | WooKimm/Homework | d5e5d29cddcae66d50fda9259f7b4d1e9f5b38fc | 58efb0f6c5fe6460cc572353ca94e7cc29a4227c | refs/heads/master | 2022-01-04T22:36:30.251938 | 2018-07-28T08:29:46 | 2018-07-28T08:29:46 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,538 | h | #pragma once
#include <iostream>
using namespace std;
// the Node of HuffmanTree
class TreeNode {
public:
char data;
double weight;
TreeNode *lchild, *rchild;
int position;
TreeNode(char data, double weight, int position) {
this->lchild = this->rchild = NULL;
this->data = data;
this->weight = weight;
thi... | [
"1310178049@qq.com"
] | 1310178049@qq.com |
97d9ef5058fc66bcad7153aa89d77d773703ec30 | d3cff7de4bc2e23055c1a4bcee6d16e93fa68e9d | /addition.cpp | 64ce4275bc1e94dfac5a23c3e46623aa88149fa8 | [] | no_license | BeastSlayer754/Git123 | 6fa63a4b1c5fad10cc6045f0f8c268faa96ea764 | 91a48ef9b85c9fd838d6e8be4155c56d5f1aa5da | refs/heads/master | 2020-12-27T04:54:56.780566 | 2020-02-02T13:19:05 | 2020-02-02T13:19:05 | 237,772,917 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 166 | cpp | #include<iostream.h>
#include<conio.h>
void main()
{
clrscr();
int a,b,c;
cout<<"Enter 2 Numbers:";
cin>>a>>b;
c = a+b;
cout<<"Sum Is:"<<c;
getch();
}
| [
"noreply@github.com"
] | BeastSlayer754.noreply@github.com |
f39a3d98c342fd621ae162dc8739960018efbd58 | b67044ae73272f81819304a9736d49c9727e868f | /OriginalPlan/.svn/pristine/1d/1d8caf29d711cd91528533e2e6194d5bd8df78c5.svn-base | 7509e98605ed97654e229e7b071c66bcb28af220 | [] | no_license | bagua0301/red_slg | 5b16ab66354c552ab2066fc95effaca2a9a56535 | 50c48cbdfeb4ba373d2f9040c9b4c9e609e3b9cb | refs/heads/master | 2023-06-17T21:39:15.730529 | 2020-05-23T10:29:07 | 2020-05-23T10:29:07 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,091 | #ifndef _SCRIPT_BIND_FUNC_H_
#define _SCRIPT_BIND_FUNC_H_
class CMServerHelper
{
public:
static std::vector<CRole*> LuaGetAllRole();
static CRole* LuaGetRole(TRoleUID_t roleUID);
static CRole* LuaGetRoleByName(const std::string roleName);
static lua_tinker::s_object LuaGetSpRole(TRoleUID_t roleUID);
static void L... | [
"zhangzhen0523@126.com"
] | zhangzhen0523@126.com | |
c5d15c5135cc995764781aca56958b0c22290d08 | 23eb03e6d49cb9998edbcdf130122fd7096a6fe3 | /trie树.cpp | e9ee756ce91025d6aff676c675641d34ed2036f9 | [] | no_license | XyyStudyHard/practice_code | 0fc1fa8b257b767c75359fbe0d413d62fd859397 | 5fb3de0c58c98056f5abec87abea16ce0f786d71 | refs/heads/master | 2016-09-05T10:30:46.894578 | 2014-09-15T14:03:31 | 2014-09-15T14:04:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,272 | cpp | #include <iostream>
using namespace std;
#define MAX 26
typedef struct TrieTree {
int count;
struct TrieTree *next[MAX];
}TrieTree;
TrieTree *insert(TrieTree **root, const char *s)
{
if (*root == NULL && s == NULL)
return NULL;
TrieTree *index = *root;
while (*s != '\0')
{
int tmp = (*s) - 'a';
if (ind... | [
"zhaoyujing9165@gmail.com"
] | zhaoyujing9165@gmail.com |
b66a20a5e2657974f4793b227c87ed567ed8cdf4 | 5c23e2d5062a8a0049cdc0e0cdf5eefde3e7e9f4 | /src/view/JuView.cpp | 9698dae8fed49887ba454e3b2e05e6471d49936b | [] | no_license | luakuc/justui | 340b74234cad65a0625a71765d03e1c21c23a999 | 9ec3235594f522645af027891e7afdc8d0ffadeb | refs/heads/master | 2021-05-26T18:24:12.423139 | 2012-06-02T13:14:21 | 2012-06-02T13:14:21 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,631 | cpp | #include "JuView.h"
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/ioctl.h>
#include <fcntl.h>
#include <errno.h>
#include <unistd.h>
#include <linux/fb.h>
#include <sys/mman.h>
#include <vector>
#include <map>
#include <string>
using namespace std;
#include <JuPainter.h>
#include <JuItem.h>
#include <Ju... | [
"xuhj@linux.vnet.ibm.com"
] | xuhj@linux.vnet.ibm.com |
65d6ae65c4ffabf7cca35f36a2bd70aa5e45c132 | 600df3590cce1fe49b9a96e9ca5b5242884a2a70 | /third_party/skia/src/pdf/SkPDFResourceDict.h | a9618b24235a46033f09c32684d8896057049555 | [
"BSD-3-Clause",
"LGPL-2.0-or-later",
"GPL-1.0-or-later",
"MIT",
"Apache-2.0"
] | permissive | metux/chromium-suckless | efd087ba4f4070a6caac5bfbfb0f7a4e2f3c438a | 72a05af97787001756bae2511b7985e61498c965 | refs/heads/orig | 2022-12-04T23:53:58.681218 | 2017-04-30T10:59:06 | 2017-04-30T23:35:58 | 89,884,931 | 5 | 3 | BSD-3-Clause | 2022-11-23T20:52:53 | 2017-05-01T00:09:08 | null | UTF-8 | C++ | false | false | 1,817 | h | /*
* Copyright 2013 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#ifndef SkPDFResourceDict_DEFINED
#define SkPDFResourceDict_DEFINED
#include "SkRefCnt.h"
#include "SkTDArray.h"
class SkPDFDict;
class SkPDFObject;
/** \class SkPDFResourc... | [
"enrico.weigelt@gr13.net"
] | enrico.weigelt@gr13.net |
ea862c8544c5905f51d9f0928a83e005ce849ba0 | 2986eb716a38664d6dd1a24c57ef6210e6a62ada | /AvalonEngine/Source/Runtime/Core/Timer.cpp | d140e3b2e8c863c1aceb9c785a84387e341a71b1 | [] | no_license | giovgiac/AvalonEngine | 70cb33016282c1cfd79d59547bc65b63efa83e63 | d81fa822c28bd12cde8cfb81a606bb44f3cd8f5a | refs/heads/master | 2021-08-23T03:38:16.347574 | 2017-12-02T23:35:36 | 2017-12-02T23:35:36 | 112,679,309 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,733 | cpp | /**
* Timer.cpp
*
* Copyright (c) Giovanni Giacomo. All Rights Reserved.
*
*/
#include "Timer.h"
namespace Avalon
{
ATimer::ATimer(void)
:
BaseTime(std::chrono::high_resolution_clock::time_point(std::chrono::high_resolution_clock::duration::zero())),
CurrentTime(std::chrono::high_resolution_clock::time_po... | [
"giovanni@unitool.com.br"
] | giovanni@unitool.com.br |
3751a633e3c9c1c95312eeaef1972781766e255b | 7d6e2c192cfb4408b76e823369eaa6c822f40d73 | /DeviceFirmware/Particle/lib/Adafruit_BME280/examples/bme280test/bme280test.ino | 5d49365990ea5e1a4dd29ce99d94bd18e8257fd6 | [
"BSD-2-Clause",
"BSD-3-Clause"
] | permissive | JohnDoeKyrgyz/WeatherStation | 2963f545c506af6ab6864b54a80600d564e93cbc | 265163896b07f82eade1be41d15ce72096d079aa | refs/heads/master | 2022-12-28T05:21:41.301504 | 2020-06-06T20:48:39 | 2020-06-06T20:48:39 | 109,200,966 | 0 | 1 | null | 2022-12-10T16:58:07 | 2017-11-02T01:01:55 | C++ | UTF-8 | C++ | false | false | 2,067 | ino | /***************************************************************************
This is a library for the BME280 humidity, temperature & pressure sensor
Designed specifically to work with the Adafruit BME280 Breakout
----> http://www.adafruit.com/products/2650
These sensors use I2C or SPI to communicate, 2 or 4 ... | [
"JohnDoeKyrgyz@gmail.com"
] | JohnDoeKyrgyz@gmail.com |
ead708bdc4a51cbe69a9c6b9f9ac6522d1a38989 | cdc855bca46610890587f51bfd4c7a7cf4c0da38 | /Task_4_3/aufgabe2.cpp | e75e0d9f46d74c8bfdbcf392ead07daaf34ef9f9 | [] | no_license | udowallasch/comcave | 22eb9b8bba9efcf53cb785d8dd01bb0cec8f4dc2 | a25b997b175f5dc5d7a59741386e7696f14e2350 | refs/heads/master | 2020-04-19T18:13:08.466139 | 2019-03-06T11:24:25 | 2019-03-06T11:24:25 | 168,357,249 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 400 | cpp | #include "pch.h"
#include "aufgabe2.h"
#include <iostream>
using namespace std;
int a[] = { 2,47,23,9,49,3,4,5,7,47,9,8 };
int minimum(int*, int);
void aufgabe2::run() {
cout << "min: " << minimum(a, 11) << endl;
cout << "min: " << *a << endl;
}
int minimum(int* ia, int len) {
int m = *ia;
for (int i = 0; i < ... | [
"uwr05@t-online.de"
] | uwr05@t-online.de |
23cc7023773668cc0ace2ce97362b1c7a0e0d54f | 9f8a069f7d337a022cae89e3e5b75d161c832e2d | /Midterm_Case/Graded_Mesh/TimeAccurate/Turbulent/925/k | 36633df974aa1eb36b610905f9b86a1ecb9ba0de | [] | no_license | Logan-Price/CFD | 453f6df21f90fd91a834ce98bc0b3970406f148d | 16e510ec882e65d5f7101e0aac91dbe8a035f65d | refs/heads/master | 2023-04-06T04:17:49.899812 | 2021-04-19T01:22:14 | 2021-04-19T01:22:14 | 359,291,399 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 25,095 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v1912 |
... | [
"loganprice2369@gmail.com"
] | loganprice2369@gmail.com | |
037dd010ae36571243e3f5f7f7cd232c391ed526 | 656cbd1962d676fadbecd430f2847c3d378daca9 | /1009C.cpp | 72b9f951009de2ab3f5bd2c573c23d97d9c2d336 | [] | no_license | AkazawaNozomu/codeforces | b642fdc85bfdff3010b81ef971faefe5d1c11e33 | c0da0e8095e482f0adfd02865b77412f4e6f25d5 | refs/heads/master | 2020-04-02T10:40:41.729352 | 2018-10-23T15:09:27 | 2018-10-23T15:09:27 | 154,349,586 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 568 | cpp | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
const ll maxn=1e5+5;
ll x[maxn],d[maxn];
int main()
{
ios::sync_with_stdio(false);
cin.tie(0);cout.tie(0);
long double m,sum=0;ll n;
cin>>n>>m;
for(ll i=0;i<m;i++)
{
cin>>x[i]>>d[i];
sum+=x[i]*n;
if(d[i]>0)
{
ll t=(n-1)*n/2;
sum+=d[... | [
"38837924+AkazawaNozomu@users.noreply.github.com"
] | 38837924+AkazawaNozomu@users.noreply.github.com |
a901fd66933a3396ff9bac6b42af7496f7fb1289 | c50794376cf2b7fe96a853091af95976b9880cf3 | /kendryte-freertos-demo-master/shared/tensorflow/toco/tflite/whitelisted_flex_ops.h | 6b2ca6ae9b730e01202e6fd981d45a5a921ee051 | [] | no_license | liren197968/GameConsole | 475ba1582c03dd86790f05be9ff326c5ad0f5699 | 05321c7bdd43b87d3b1fb6174201e9a014c7782c | refs/heads/main | 2023-03-10T08:29:26.317042 | 2021-02-18T15:33:50 | 2021-02-18T15:33:50 | 340,085,445 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,514 | h | /* Copyright 2018 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 ... | [
"1979379768@qq.com"
] | 1979379768@qq.com |
6fd00777deb7bc38cd41bdbd9e71bb0cf808719d | 67cf2ca9ad28e05eac04ebd3f6720b20c508e95f | /FIRESC1.cpp | bd92e457628f8d9cb4538614d5f05eac2b07f9f4 | [] | no_license | priyanshuid/practice-codes | ffe3854d8a7b3f3ce6dadfa8b9266d291869e908 | 8190a96385692200842380563bbef47c9df092b9 | refs/heads/master | 2021-04-24T17:50:36.493524 | 2014-11-15T04:20:51 | 2014-11-15T04:20:51 | 26,667,907 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,383 | cpp | #include <iostream>
#include <stdio.h>
#include <algorithm>
#include <vector>
using namespace std;
int main()
{
int t;
cin>>t;
for(int t1=0;t1<t;t1++)
{
int n,m;
cin>>n>>m;
int ar[m][2],flg=-1;
int count[n];
for(int i=0;i<n;i++)
count[i]=1;
for(int i=0;i<m;i++)
{
scanf("%d %d... | [
"priyanshuid@gmail.com"
] | priyanshuid@gmail.com |
0e9a8934cb1cf6f2e50738adec7fb8fe50fb2ef1 | 57e7b4f7cdfa01ed1b53049ae3811147171b1989 | /Win32xx/samples/RoundWindow/src/RoundApp.cpp | 4c9c7ab3b2cc6fd9db063df1e1b4facc4e3d0c38 | [
"Unlicense"
] | permissive | mufunyo/VisionRGBApp | d083f34982de903a06c4f928817fdddb78ebb193 | c09092770032150083eda171a22b1a3ef0914dab | refs/heads/trunk | 2023-03-03T01:49:03.164808 | 2021-02-09T20:35:08 | 2021-02-09T20:37:05 | 324,387,638 | 2 | 1 | Unlicense | 2020-12-28T10:21:03 | 2020-12-25T15:34:00 | C++ | UTF-8 | C++ | false | false | 398 | cpp | ////////////////////////////////////////
// SimpleApp.cpp
#include "RoundApp.h"
// Definitions for the CRoundApp class
CRoundApp::CRoundApp()
{
// Constructor for CRoundApp
}
BOOL CRoundApp::InitInstance()
{
// This function is called automatically when the application starts
// Create the Window
m... | [
"mf@mufunyo.net"
] | mf@mufunyo.net |
93fac3fff279ba903a616a91454dfef2dc253ca0 | 9628b555ffe0768020abcfbc3935005043601bc3 | /Data Strucures DS/2D-Array.cpp | 08c2bf116ef138bb6d7c44dca64026690341d41e | [] | no_license | Dgeneration11/HackerRank | 2e13ffd602467473252ca2b0868aaa4b729a3eca | 3dd2fb35981079b7e6091dd0955a56746a67f4af | refs/heads/main | 2023-09-06T04:53:34.278465 | 2021-10-31T06:45:38 | 2021-10-31T06:45:38 | 363,462,890 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 644 | cpp | /*
* Complete the 'hourglassSum' function below.
*
* The function is expected to return an INTEGER.
* The function accepts 2D_INTEGER_ARRAY arr as parameter.
*/
int hourglassSum(vector<vector<int>> arr)
{
int sum, max = -99999, c = 0;
for (int i = 0; i <= arr.size() - 3; i++)
{
fo... | [
"buntydgeneration@gmail.com"
] | buntydgeneration@gmail.com |
0aa658cfd5f5fb16fe17970467d629d1739e06a9 | c1a6025e2e50dcc7529f4689b25e08fb0c6e9fa0 | /lib/src/pt_leaky_relu_layer.cpp | c9db53005c2bcdd0cf973ecd941c12eac153063f | [
"MIT"
] | permissive | smr-nn/pocket-tensor | d8c7da47cb0beeeafdf09d32f8f60faa2074bf35 | 0779a0fd0948cedd625f19cfc3ff3f5f14a551ef | refs/heads/master | 2020-04-06T15:34:25.176479 | 2019-10-15T11:25:18 | 2019-10-15T11:25:18 | 157,583,786 | 1 | 0 | null | 2018-11-14T17:12:02 | 2018-11-14T17:12:01 | null | UTF-8 | C++ | false | false | 937 | cpp | /*
* pocket-tensor (c) 2018 Gustavo Valiente gustavo.valiente.m@gmail.com
* Kerasify (c) 2016 Robert W. Rose
*
* MIT License, see LICENSE file.
*/
#include "pt_leaky_relu_layer.h"
#include "pt_parser.h"
#include "pt_layer_data.h"
namespace pt
{
std::unique_ptr<LeakyReluLayer> LeakyReluLayer::create(std::istre... | [
"gustavo.valiente.m@gmail.com"
] | gustavo.valiente.m@gmail.com |
31b3007af51a0ec64dc30b9663032cc2fbd7a22d | e87411251cd274762cfd542eb4a5dd7438d17d32 | /001-025/010/main.cpp | 3e21915ce1d8053a8927c3e2db26459ffc2a4c3c | [] | no_license | 7182514362/leetcode | 2356798bcb0693badd764106fcc341b56f914abc | 45ab9857ee4f4cd3f0e210034a6ab9a88f525837 | refs/heads/main | 2023-03-24T00:51:13.136609 | 2021-03-23T10:35:55 | 2021-03-23T10:35:55 | 350,672,432 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,089 | cpp | #include <iostream>
#include <vector>
using namespace std;
enum class Enum {
};
// 官方
class Solution {
public:
bool isMatch(string s, string p) {
int m = s.size();
int n = p.size();
auto matches = [&](int i, int j) {
if (i == 0) {
return false;
... | [
"2454024733@qq.com"
] | 2454024733@qq.com |
7cfaceb314ae8611b99446c5fd0ccdd9fdb36baf | c817e0297a2ca8e1dff411f7c07916053cb246b3 | /Agario/김정연.cpp | 228fae86e95d3f07e05d223cfc5dcb70099f3cfd | [] | no_license | jungyeon-kim/Agario | 57f8106f5a560bfc98b35e4ebdb89b192d5a4e00 | 849352e42ab9c590628ff69c360206d1bbdc37da | refs/heads/master | 2020-04-24T04:57:55.069310 | 2019-02-20T18:59:28 | 2019-02-20T18:59:28 | 171,721,359 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 16,544 | cpp | #include <Windows.h>
#include<time.h>
#include<math.h>
#include"resource.h"
#define WndX 800
#define WndY 750
#define MAX 5000
struct Agario {
int x, y;
int radius;
int R, G, B;
};
Agario user[MAX];
Agario com[MAX];
Agario food[MAX];
Agario spitFood[MAX];
Agario trap[MAX];
LRESULT CALLBACK WndProc(HWND, UINT, WP... | [
"zoemfhs123@Naver.com"
] | zoemfhs123@Naver.com |
cc6b3331348234a491a5e4f2baf09008a5cfb140 | 3fe05c3d5da5c5fdc7c94da04985ba8d7ecad212 | /LibGUI/GSortingProxyModel.cpp | 0661fd3e9df5188bd2bb25167a873dec9c66ec63 | [
"BSD-2-Clause"
] | permissive | mycollectos/serenity | 26f5fef0786cda6a1c5c94a87a300d6ef68a2b4f | e478a2fb0ab8b1b392e4dd0bfaa7eafb7d12c6a4 | refs/heads/master | 2023-08-31T18:40:53.661749 | 2019-05-25T02:17:21 | 2019-05-25T02:17:21 | 188,532,452 | 1 | 0 | BSD-2-Clause | 2019-05-26T09:26:19 | 2019-05-25T07:03:22 | C++ | UTF-8 | C++ | false | false | 2,876 | cpp | #include <LibGUI/GSortingProxyModel.h>
#include <AK/QuickSort.h>
#include <stdlib.h>
#include <stdio.h>
GSortingProxyModel::GSortingProxyModel(Retained<GModel>&& target)
: m_target(move(target))
, m_key_column(-1)
{
m_target->on_model_update = [this] (GModel&) {
resort();
};
}
GSortingProxyMod... | [
"awesomekling@gmail.com"
] | awesomekling@gmail.com |
4f48b640009caa1af79f2b1e9f4246fef0e218ae | b2c2de30aec8f6cd84162f9fdf3ab23614b6d963 | /opencv/sources/modules/core/src/matrix.cpp | 53c41909c5d3f7824a7be14c26784781c970e084 | [
"BSD-3-Clause"
] | permissive | ASeoighe/5thYearProject | aeaecde5eb289bcc09f570cb8815fcda2b2367a6 | 772aff2b30f04261691171a1039c417c386785c4 | refs/heads/master | 2021-09-14T11:41:11.701841 | 2018-04-24T22:30:41 | 2018-04-24T22:30:41 | 112,224,159 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 121,905 | cpp | /*M///////////////////////////////////////////////////////////////////////////////////////
//
// IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING.
//
// By downloading, copying, installing or using the software you agree to this license.
// If you do not agree to this license, do not download, instal... | [
"aaronjoyce2@gmail.com"
] | aaronjoyce2@gmail.com |
229047383ccb8244d1a00e3d2b16d33d4e4c5bac | bff2ab6747067832984a9d53b7259d64e2f28af6 | /include/artemis/delayed_entity_system.hpp | 036d100253c415a53a501b1b4b9b94b5f7522782 | [] | no_license | riffautae/artemiscpp | 06429e4d08f8a207a9209ddbf6e65a33f3fb9d57 | 1bf0e403c9b4e5ab505b0c553dc16b539d3607db | refs/heads/master | 2021-01-10T19:50:50.963162 | 2011-10-26T03:54:34 | 2011-10-26T03:54:34 | 2,587,341 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,150 | hpp | #ifndef ARTEMIS_DELAYED_ENTITY_SYSTEM_H
#define ARTEMIS_DELAYED_ENTITY_SYSTEM_H
#include <list>
#include "artemis/pointers/entity.hpp"
#include "artemis/entity.hpp"
#include "artemis/entity_system.hpp"
namespace Artemis
{
/**
* The purpose of this class is to allow systems to execute at varying
* int... | [
"milton@spoontacular.com"
] | milton@spoontacular.com |
ce172420c97cbaa3c7c36d664594f1bb5d8cb926 | 5787b8bcb6d527126aa644d07dac66c7ebb21362 | /permute.cpp | 151cb275a72c2e128edd69a1dc878410924e84ac | [] | no_license | boro741/code_snippet | 26e26f54ea31d5e18d565e81e06774f84339f3e8 | ce8a8a1dd99e0bd5d9fc9b5cc5ca7007c1fa66a5 | refs/heads/master | 2020-04-09T11:18:52.592264 | 2018-12-07T07:12:22 | 2018-12-07T07:12:22 | 160,305,337 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 550 | cpp | /********* PERMUTATION *********/
#include<iostream>
#include<algorithm>
#include<unordered_set>
using namespace std;
int main(){
unordered_set<string> dic = {"stop","pots","tops","opts","post","spot"};
string word = "stop";
// sorts the word "stop" in lexographic order
sort(word.begin(),word.... | [
"pavanboro14@gmail.com"
] | pavanboro14@gmail.com |
01c5e06cee9450dc2fe7aa23f5796cb6b390c106 | d1956c4697a056cbb2baddd82c580ac79fbbc5c3 | /command/remote-control.hpp | 228b858ecd4598423bba7a7194911d07380eebe1 | [] | no_license | iLoveUcdit/design-patterns | 36e98563bbb47e0663c269c0fd928d47b5537784 | 3b8e943aa6407877a435149240f73b562a5967cb | refs/heads/master | 2021-01-10T10:14:02.320889 | 2016-01-24T15:34:13 | 2016-01-24T15:34:13 | 45,346,299 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,945 | hpp | #ifndef _REMOTE_CONTROL_HPP_
#define _REMOTE_CONTROL_HPP_
#include "command.hpp"
#include <vector>
#include <string>
#include <sstream>
//
// This is the invoker
//
class RemoteControl {
public:
static const int MAX_SLOT_NUM = 7;
RemoteControl() {
m_undoCommand = NULL;
for(int i = 0; i < MA... | [
"i_love_ucdit@163.com"
] | i_love_ucdit@163.com |
c1ba7c87a12e72dc8adca560cdef48f3ee63cbba | 247326302397084ac73de487dcd652176fba93c7 | /G2G/tooldatabase/tooleditform.cpp | a3aee0fc9d2a1bed233e5ec1feb156fa857d74a5 | [] | no_license | 15831944/GERBER_X2_VisualStudio2019 | 0e7eb9503b3ce0a4d4315c722a4870694319f677 | 77ae75d92324adec9b8ff2dc48014e311274f70d | refs/heads/master | 2022-04-07T02:06:19.050288 | 2020-03-05T00:49:41 | 2020-03-05T00:49:41 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,055 | cpp | #include "tooleditform.h"
#include "toolitem.h"
#include "toolmodel.h"
#include "ui_tooleditform.h"
#include <QDebug>
#include <QPicture>
#include <QSettings>
#include <QTimer>
ToolEditForm::ToolEditForm(QWidget* parent)
: QWidget(parent)
, ui(new Ui::ToolEditForm)
{
ui->setupUi(this);
dsbx = {
... | [
"jerry1455@gmail.com"
] | jerry1455@gmail.com |
3e32de8b498b0460ab9b48c63d7626fb16c56c6b | 7c5c667d10f01f6cd0e87e6af53a720bd2502bc7 | /src/atcoder/CODE FESTIVAL 2015/B.cpp | 7e5688bbdcc14a25482ff960766782cddf3f9940 | [] | no_license | xyiyy/icpc | 3306c163a4fdefb190518435c09929194b3aeebc | 852c53860759772faa052c32f329149f06078e77 | refs/heads/master | 2020-04-12T06:15:50.747975 | 2016-10-25T12:16:57 | 2016-10-25T12:16:57 | 40,187,486 | 5 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,367 | cpp | //#####################
//Author:fraud
//Blog: http://www.cnblogs.com/fraud/
//#####################
//#pragma comment(linker, "/STACK:102400000,102400000")
#include <bits/stdc++.h>
using namespace std;
#define XINF INT_MAX
#define INF 0x3FFFFFFF
#define mp(X,Y) make_pair(X,Y)
#define pb(X) push_back(X)
#define rep(X,N... | [
"fraudxyiyy@gmail.com"
] | fraudxyiyy@gmail.com |
9acfb33d7d59c35b62c39983870795973164a96f | 227c9ab1c127927b097bd16c9823d33e1c999ff5 | /linkedlist-mod.cpp | eff1d9844d6a2bf65b6564e46391ea1fb49fbeb0 | [] | no_license | udaysankarm/stack-and-queue | 1942dcf4e6efd5d8d82e42017823641da9332fc0 | 222f8c32cfe6df104f91d82d24a123f3af7bb5aa | refs/heads/master | 2020-04-20T05:09:49.062018 | 2019-02-01T05:42:30 | 2019-02-01T05:42:30 | 168,648,465 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,673 | cpp | #include<iostream>
using namespace std;
class Node // each circles
{
public:
//data
int data;
//pointer to point ot next element
Node *nxt;
Node()
{
nxt=NULL;
}
};
class LinkedList
{
public:
//head
Node *head;
Node *last;
LinkedList()
{
head=NULL;
last=NULL;
}
//insert
void insert(int value)
{
... | [
"noreply@github.com"
] | udaysankarm.noreply@github.com |
5301afae541709a5623a2becaee16c37bdf38c00 | d04549b1ba243371de53d6ff113b0716f7fc7c65 | /Helpers/KaiString.h | e40dcccfc51b45690c52c217f72c20f07efa026c | [] | no_license | kbogatyrev/Kai2 | 0541e2e48c8c5070eb0a6709b933677b93c55075 | 2eee38d4836b7e138cf38b4c05ebf0e32cb3a34d | refs/heads/master | 2016-09-05T12:52:34.016879 | 2011-04-25T01:17:24 | 2011-04-25T01:17:24 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,684 | h | //==============================================================================
//
// Copyright (c) Konstantin Bogatyrev, 2011
//
// Facility: Kai 2.1
//
// Module description: custom string class.
//
//==============================================================================
#pragma once
#include ... | [
"kostya@917a17ce-c119-4def-a483-dcb93d956afe"
] | kostya@917a17ce-c119-4def-a483-dcb93d956afe |
98e999685e79e1af0053ad8d2da007c2909ddb65 | b7ac0a475078bfe7e6b643c74dda363a2d15df10 | /Option.h | aa4b71ca79bfaa38cbe62519090dc53c77398b08 | [] | no_license | mikewezyk/OptionPricing | b9c1fa540e8f59362063e29f17bae611e15076b2 | 3e69fc027aa69df36f6e1aabe757b944ba27ec68 | refs/heads/master | 2020-05-25T11:30:31.476070 | 2017-05-10T22:27:42 | 2017-05-10T22:27:42 | 83,600,851 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 717 | h | #pragma once
#include <iostream>
#include <cstdio>
#include <cmath>
#include <vector>
//Create Node Structure
struct Node {
double price;
double payoff;
double value;
double average;
};
//Option Class
class Option
{
protected:
double n;
double S0;
double K;
doubl... | [
"noreply@github.com"
] | mikewezyk.noreply@github.com |
1822f02f5806b5a6c4fa8dd790249e7b1b141161 | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/mutt/gumtree/mutt_repos_function_1639.cpp | ddc5db84f8c1457f95c81f0d5d700b59fdcafa49 | [] | 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 | 6,775 | cpp | int mutt_view_attachment (FILE *fp, BODY *a, int flag, HEADER *hdr,
ATTACHPTR **idx, short idxlen)
{
char tempfile[_POSIX_PATH_MAX] = "";
char pagerfile[_POSIX_PATH_MAX] = "";
int is_message;
int use_mailcap;
int use_pipe = 0;
int use_pager = 1;
char type[STRING];
char command[HUGE_STRING];
char ... | [
"993273596@qq.com"
] | 993273596@qq.com |
a0c4759929cfc010f2c5690c075d48e358001805 | dade9c87c5f5ec438ce5152ca50bb57632af2cec | /include/AnalyseurLex2.h | 10febb3519e78fd0a93d26d21466955438ed5063 | [] | no_license | HabibAroua/lex-and-syntax-anlyst | 0a42884d3a599cdc31a28a1354b059444625d26a | ae93d81efe148c8dbb1179d3808fa064d0bafa47 | refs/heads/master | 2020-04-14T14:01:25.899478 | 2019-01-09T18:42:42 | 2019-01-09T18:42:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 201 | h | #ifndef ANALYSEURLEX2_H
#define ANALYSEURLEX2_H
class AnalyseurLex2
{
public:
AnalyseurLex2();
virtual ~AnalyseurLex2();
protected:
private:
};
#endif // ANALYSEURLEX2_H
| [
"habibha.aroua82@gmail.com"
] | habibha.aroua82@gmail.com |
a131cf4ce5564744435acaa0f48e4f68f8141de8 | be2f74028b573f8b5e39afad903ca7fd894aba8f | /src/main/study/cmake_demo/boost3/main.cpp | 6a1ed1dc0738640cd4d19487511521c03b993414 | [] | no_license | louyuting/cpp_study | aec2d0d7470f6ed3e5b80be683a2dce843d556c0 | 0f6919d3f8e3404178c2a5a21296ad8d41405d59 | refs/heads/master | 2020-04-11T17:51:47.436112 | 2019-05-05T16:14:11 | 2019-05-05T16:14:11 | 161,977,031 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 182 | cpp | #include <iostream>
#include "func/function.h"
using namespace std;
int main(){
cout << "Hello, World!" << endl;
cout << "version:"<< get_version() << endl;
return 0;
}
| [
"ytlou@freewheel.tv"
] | ytlou@freewheel.tv |
a415ce424a858b33c861dc284285b178e438db00 | 057a0f70fa3e057d84b3ccfb7722d839c47834fb | /Bank Management System/Savings.cpp | c3793f29d705403a75f51292678089599a10b1db | [] | no_license | OtemPsych/Bank-Management-System | 68485ab81954b1636d420b6eba4178379c5a8853 | c58a5593c6892d56e6c16556990eecc84267afc7 | refs/heads/master | 2021-01-25T12:20:56.373742 | 2015-06-10T19:57:16 | 2015-06-10T19:57:16 | 31,369,541 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,396 | cpp | #include "Savings.h"
#include <iostream>
#include <fstream>
#include <algorithm>
#include <iomanip>
// Constructor
Savings::Savings(unsigned id, const std::string& name, double balance)
: Account(id, SAVINGS, name, balance)
, mInterestRate(0.6)
, mWithdrawalAmounts(4)
{
}
// Protected Methods
// Read
const std::... | [
"gleglakos.filippos@gmail.com"
] | gleglakos.filippos@gmail.com |
59208561835096628a09f336b0f7b7f7e40729fd | 9ea1ec28cbf7abf63511d65d52625c323953de57 | /useless-stats-server/node_modules/oracledb/src/dpi/src/dpiPoolImpl.cpp | b8349b655ec6f278e2517ac0d0753460c04562af | [
"LicenseRef-scancode-warranty-disclaimer",
"Apache-2.0",
"BSD-3-Clause",
"ISC",
"BSD-2-Clause",
"MIT"
] | permissive | fieldsrya/InfrastructureManager | 88cb2414817caefe2aaedd8cc85794ea94a5adef | 76fabf14c72bee76b12f967eac9f20f7842d3192 | refs/heads/master | 2021-07-04T11:52:03.992484 | 2017-09-27T18:50:27 | 2017-09-27T18:50:27 | 104,897,969 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,674 | cpp | /* Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved. */
/******************************************************************************
*
* You may not use the identified files except in compliance with the Apache
* License, Version 2.0 (the "License.")
*
* You may obtain a copy of the ... | [
"fieldsry@ucmail.uc.edu"
] | fieldsry@ucmail.uc.edu |
f6b7323458e077861e60365df3ff6e23e9427b6a | 4a25372ebed03096119b66f2dfe6dbc14ec442ed | /labs/2014/tsvetkov.alexey/3/file_system.cpp | c0801708ef473c3cea1fafa979acef0d46400571 | [] | no_license | gumeniukcom/aptu-os | 218af3df72960db4ecd211ddccb51a03064e9625 | 4f4013f3495fb5781cda4696dde2809703bb78d9 | refs/heads/master | 2021-05-30T16:35:47.182087 | 2014-12-19T07:07:56 | 2014-12-19T07:07:56 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,894 | cpp | #include <math.h>
#include <cstring>
#include <string>
#include <sstream>
#include <string>
#include <vector>
#include "file_system.hpp"
using std::string;
FS::FS(const char *root)
: root(root),
config(get_config()),
BLOCK_DATA_SIZE(config.block_size - sizeof(BlockDescriptor)),
initialized(ifstream(get... | [
"type.inference@gmail.com"
] | type.inference@gmail.com |
269e34688b896eec5ade6b8187a42516ebcaff7a | 83bacfbdb7ad17cbc2fc897b3460de1a6726a3b1 | /v8_4_8/src/code-factory.h | 4775efeb89a0f24f11f63c5f56a623e1b9945462 | [
"Apache-2.0"
] | permissive | cool2528/miniblink49 | d909e39012f2c5d8ab658dc2a8b314ad0050d8ea | 7f646289d8074f098cf1244adc87b95e34ab87a8 | refs/heads/master | 2020-06-05T03:18:43.211372 | 2019-06-01T08:57:37 | 2019-06-01T08:59:56 | 192,294,645 | 2 | 0 | Apache-2.0 | 2019-06-17T07:16:28 | 2019-06-17T07:16:27 | null | UTF-8 | C++ | false | false | 4,509 | h | // Copyright 2012 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef V8_CODE_FACTORY_H_
#define V8_CODE_FACTORY_H_
#include "src/allocation.h"
#include "src/assembler.h"
#include "src/codegen.h"
#include "src/glo... | [
"22249030@qq.com"
] | 22249030@qq.com |
73c4401fde6fb4659f1cd2fc0d5ad8e13fa244e7 | 4666d32df0457d82bfb14c013d78644396379699 | /src/rpcmisc.cpp | 169f777a0f14c1cd78a66ac6b52fa7c411519053 | [
"MIT"
] | permissive | Imams26/Netrum-Blockchain | ab83d23cf25b70d9224123175eb3a1d44914078d | e450dc8534348423bcd19689d6f2dc70764e7453 | refs/heads/master | 2021-01-04T05:58:18.836987 | 2019-09-02T21:49:22 | 2019-09-02T21:49:22 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 28,310 | cpp | // Copyright (c) 2010 Satoshi Nakamoto
// Copyright (c) 2009-2014 The Bitcoin developers
// Copyright (c) 2014-2015 The Dash developers
// Copyright (c) 2015-2017 The PIVX developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php... | [
"brands.pratama@gmail.com"
] | brands.pratama@gmail.com |
c602dd7709e38a923a1f681c0759205bbc4a18dd | 78ccc1571c92b82875c3b68ecee39f757894f328 | /src/util.cpp | cf5db0ecc21ae0b3c46b60772fd1005d4ff1efa3 | [
"MIT"
] | permissive | quorumdev/ktest | d1dfb0b39f1c11e6b57fe5fd2c774e1ec9527bbe | 02196d098237ebe53b5ae39c99093f77b3bf655e | refs/heads/master | 2020-03-12T04:38:03.542880 | 2018-04-21T08:24:56 | 2018-04-21T08:24:56 | 130,448,880 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 30,849 | cpp | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2015 The Bitcoin Core developers
// Copyright (c) 2014-2017 The Dash Core developers
// Copyright (c) 2017-2018 The Nyx Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licen... | [
"root@vultr.guest"
] | root@vultr.guest |
3ee1b0845bd64f796000e886ad03511ad9f4c9a5 | d5841502923dbbdb881bf2d6907dff19d5e765d0 | /referansileyerdegistirme.cpp | 75a69d0f09b45f4ca2a63fc37c1dd5689b5d4b14 | [] | no_license | DOGANAY06/Veri-Yap-lar-C- | eff81e68a08b7fa0c12a908dffab8f62bbe3ac8e | adb3a2a5f85ac9a539a1b2171b3e214dd4b135b9 | refs/heads/main | 2023-02-24T09:23:01.587339 | 2021-02-01T10:11:47 | 2021-02-01T10:11:47 | 317,643,458 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 240 | cpp | #include <iostream>
using namespace std;
void Yerdegistir(char& y, char& z) {
char temp = y;
y = z;
z = temp;
}
int main() {
char a = 'y';
char b = 'n';
Yerdegistir(a, b);
cout << a << b << endl;
return 0;
system("pause");
}
| [
"noreply@github.com"
] | DOGANAY06.noreply@github.com |
2a064783028b7b8dc2efbb62cd04bfa7f96a665e | 737b5c951f7985c8e42d765920ec0def7f3debe1 | /src/services/pcn-firewall/src/serializer/ChainAppendInputJsonObject.h | c5f7ef99a6bad850f90a8b2ab9aecb8655821d6b | [
"Apache-2.0"
] | permissive | mbertrone/polycube | e3bd8db976abdf820863bcbe72f133802cd79ed4 | b35a6aa13273c000237d53c5f1bf286f12e4b9bd | refs/heads/master | 2020-04-15T04:58:34.309749 | 2019-02-21T23:01:40 | 2019-02-21T23:01:40 | 164,404,243 | 2 | 0 | NOASSERTION | 2019-01-07T08:53:22 | 2019-01-07T08:53:21 | null | UTF-8 | C++ | false | false | 4,071 | h | /**
* firewall API
* Firewall Service
*
* OpenAPI spec version: 2.0
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/polycube-network/swagger-codegen.git
* branch polycube
*/
/* Do not edit this file manually */
/*
* ChainAppendInputJsonObject.h
*
*
*/
#pragma once
... | [
"whoeverys@gmail.com"
] | whoeverys@gmail.com |
ef2c7ca164282db4346cb4c9a8e7da1cb71a879e | a0ac0cb4113b731721c73dbca165f0f473e20435 | /data/kernels/3761/51/connect_spec.h | 7a8754e361cbdf0cc0cf8fc2d29d4e45516dc247 | [] | no_license | NTNU-HPC-Lab/LS-CAT | 93f2d5d24937c518a8a216e56e54961658fcaab8 | 83a50786eee2de633be477819c044d2c9a1ad076 | refs/heads/master | 2023-08-22T11:53:35.114641 | 2023-08-08T14:12:14 | 2023-08-08T14:12:14 | 380,981,826 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 2,405 | h | /*
Copyright (C) 2020 Bruno Golosio
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that... | [
"jacobot@selbu.idi.ntnu.no"
] | jacobot@selbu.idi.ntnu.no |
2bbe11915b265c4c1dea0c842c0469d8a37595fb | b507b6106ea1ef76d67655dfb6eb0226e42e2824 | /C++Projects/c++.all.samples/16.5.2.2.cpp | fb8ac130f9adf1b465474c859977bd48649969a6 | [] | no_license | xuchaoxin1375/learnCpp_C | e85dd65ad30af7b355243962873b93c180c9e056 | 5515178e37a8977d9e1d1cfce580db6d5b1d5238 | refs/heads/master | 2023-02-08T22:14:27.671532 | 2021-01-02T12:31:03 | 2021-01-02T12:31:03 | 324,476,535 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 392 | cpp | //program 16.5.2.2.cpp 用cin.getline读取文件全部内容
#include <iostream>
using namespace std;
const int MAX_LINE_LEN = 10000; //假设文件中一行最长10000个字符
int main()
{
char szBuf[MAX_LINE_LEN + 10];
freopen("test.txt","r",stdin); //将标准输入重定向为test.txt
while(cin.getline(szBuf,MAX_LINE_LEN + 5))
cout << szBuf << endl;
... | [
"838808930@qq.com"
] | 838808930@qq.com |
7ee6cade481133b839d0f939c35a394d047cc458 | 4f37081ed62e44afa0b2465388a8adf9b5490b13 | /gpu/ipc/common/gpu_info_struct_traits.cc | c97c165ab6c91882f0e7c6b0155b77d71655b729 | [
"BSD-3-Clause"
] | permissive | zowhair/chromium | 05b9eed58a680941c3595d52c3c77b620ef2c3ac | d84d5ef83e401ec210fcb14a92803bf339e1ccce | refs/heads/master | 2023-03-04T23:15:10.914156 | 2018-03-15T11:27:44 | 2018-03-15T11:27:44 | 125,359,706 | 1 | 0 | null | 2018-03-15T11:50:44 | 2018-03-15T11:50:43 | null | UTF-8 | C++ | false | false | 11,969 | cc | // Copyright 2016 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 "gpu/ipc/common/gpu_info_struct_traits.h"
#include "mojo/common/time_struct_traits.h"
namespace mojo {
// static
bool StructTraits<gpu::mojom:... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
f504cf10e56e8f337f3d84e3e4dd47c5c7535363 | 6c9713e1852c6bf910490b60346fa8afde33bcff | /myGrep.cpp | 699cef3478cea136def769c58eb106149ce4a371 | [] | no_license | Tarasso/CommandLineTools | 61e0b13002a34aaadbdee1d5ef97fabbffe403b3 | 428ed67705c54ab5ab783bfee92993563caafe5b | refs/heads/main | 2023-02-21T19:08:25.524917 | 2021-01-31T18:38:21 | 2021-01-31T18:38:21 | 334,727,986 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 308 | cpp | #include <iostream>
#include <fstream>
#include <string>
using namespace std;
int main(int argc, char** argv)
{
ifstream input;
input.open(argv[1]);
string line = "";
string search = argv[2];
while(getline(input, line))
{
if(line.find(search) != string::npos)
{
cout << line << endl;
}
}
}
| [
"kylemrosko@gmail.com"
] | kylemrosko@gmail.com |
7ac5c06597618113910a4cd24685531bd3ea8fbc | b8b7fb57fb6f931fb459fd4277ac09e382377c2c | /bilateral_filtering/include/array.h | 7ea29a94895d99ffd25440c40984f31e3a0b9da8 | [] | no_license | xinyuangui2/point-cloud-preprocess | fb1ba448e97e655b644683938b57160c2c6e8049 | f77e08087f60da03710114db95a23c30d750a64e | refs/heads/master | 2020-04-04T22:12:04.159523 | 2018-11-06T18:30:59 | 2018-11-06T18:30:59 | 156,314,129 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 31,404 | h | /*! \file
\verbatim
Copyright (c) 2004, Sylvain Paris and Francois Sillion
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 copyrig... | [
"guixinyuanwh@163.com"
] | guixinyuanwh@163.com |
49b0468bad5a0561da42b937fffc3255176ce35d | 7b1b26ca127147b023b006f9d78ed22c8e16d68f | /srrg2_solver/src/srrg_solver/variables_and_factors/types_projective/se3_rectified_stereo_projective_error_factor.h | 3c06332d8759b8c7f39cb12a550b4712bc09dc8e | [
"BSD-3-Clause"
] | permissive | SolarSLAM/srrg2_solver | bc196794a101d68cf4ecc7bf3cfa98940bfe2c85 | 69866669fc3303ca349cc05d2117398b0a2175e9 | refs/heads/master | 2022-04-09T20:59:43.174018 | 2020-03-03T16:54:23 | 2020-03-03T16:54:23 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,206 | h | #pragma once
#include "srrg_solver/solver_core/error_factor.h"
#include "srrg_solver/solver_core/factor_correspondence_driven.h"
#include "srrg_solver/variables_and_factors/types_3d/variable_se3.h"
#include <srrg_geometry/geometry3d.h>
#include <srrg_pcl/point_types.h>
namespace srrg2_solver {
using namespace srrg2_... | [
"ialoise@diag.uniroma1.it"
] | ialoise@diag.uniroma1.it |
005bd447af212255bd263a6bf836628304970bb8 | 99d3989754840d95b316a36759097646916a15ea | /trunk/2011_09_07_to_baoxin_gpd/ferrylibs/src/ferry/ground_detection/VerticalLineDetector.cpp | dfe0ec79d28f359e53d525f88131d3751e9feb21 | [] | no_license | svn2github/ferryzhouprojects | 5d75b3421a9cb8065a2de424c6c45d194aeee09c | 482ef1e6070c75f7b2c230617afe8a8df6936f30 | refs/heads/master | 2021-01-02T09:20:01.983370 | 2011-10-20T11:39:38 | 2011-10-20T11:39:38 | 11,786,263 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 39 | cpp | #include ".\verticallinedetector.h"
| [
"ferryzhou@b6adba56-547e-11de-b413-c5e99dc0a8e2"
] | ferryzhou@b6adba56-547e-11de-b413-c5e99dc0a8e2 |
988613055d808b9c9b060fcd38ce1cba05a5f3f3 | a540b6ed3f59c9e525fd0b33666c24a758770b21 | /ibrdtn/ibrdtn/tests/security/TestSecurityBlock.h | e9f5b3ac4770ec98312f176e4c30fc29985f3b64 | [
"Apache-2.0"
] | permissive | destmaxi/ibrdtn | f2057806c97478b5e2142eaef4b85224327a7728 | cd4e3659570174b22a72e7a8b972104f57e60928 | refs/heads/master | 2020-12-28T07:59:03.081258 | 2020-02-06T09:12:45 | 2020-02-06T09:12:45 | 238,237,504 | 1 | 0 | null | 2020-02-04T15:22:34 | 2020-02-04T15:22:33 | null | UTF-8 | C++ | false | false | 1,762 | h | /*
* TestSecurityBlock.h
*
* Copyright (C) 2011 IBR, TU Braunschweig
*
* Written-by: Johannes Morgenroth <morgenroth@ibr.cs.tu-bs.de>
*
* 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
... | [
"morgenroth@ibr.cs.tu-bs.de"
] | morgenroth@ibr.cs.tu-bs.de |
0c58c1b1e76f889397bc60c9699a5e7ef9be2914 | 428a7ffef9f9002a1ad6288fe1f55afa63dd4f33 | /ftl/ftlengine/ftlEngine/Graphics.cpp | 67b3e73e42e1cee142e7603065f4d0e35ff10cea | [] | no_license | heejae-kwon/Basic-GameEngine | 5bf8fce755c4cca002a7d7d85eb8ae4e382985d4 | 044f0927ac1e1e60d10b9cd971ac8474d090eb2b | refs/heads/master | 2021-06-19T21:49:56.243550 | 2017-08-03T08:10:33 | 2017-08-03T08:10:33 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,556 | cpp | #include "Graphics.hpp"
#include "DebugUtil.hpp"
//#include "GL\glew.h" // loading opengl functions
#include "Application.hpp"
#include <fstream> //file stream; open file
#include <sstream> //string stream; file -> string
#include <vector>
#include <SOIL.h>
#include <GL\glew.h>
#include "Sprite.hpp"
#include "Transf... | [
"sfhy33@gmail.com"
] | sfhy33@gmail.com |
bad9b668fca0d6fa59f3eb401b71e9ef9c21dfed | a6cbc9a22379689a49e1195b2afb1c2a893bfcf6 | /class_test/test_index/test_13.cc | 9c70481c329b77185dc79560d0abded6d43b3c56 | [] | no_license | Allmight-ccc/Allmight-s_code_Home | 3cc6c03cab5a5bea12981e431e9c8c31fbee5f46 | 7e14b615a8370a2c85cf69a837d7bb69da5eb9d1 | refs/heads/master | 2023-06-14T11:19:10.556383 | 2021-07-09T10:07:44 | 2021-07-09T10:07:44 | 352,489,433 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,915 | cc | #include <iostream>
#include <cmath>
using namespace std;
// 概率题
double C(int n, int k) {
return (k == 0 || k == n) ? 1 : (n - k + 1) * C(n, k-1) / k;
}
void binomia(int n, double p) {
double sum = 0;
double Xk = 0;
for(int i = 0; i <= n; ++i) {
Xk = C(n, i) * pow(p, i) * pow(1-p, n-i);
... | [
"1804475055@qq.com"
] | 1804475055@qq.com |
082ebfecc5fd4e4c4dca3b6fa9d4c2806b730df0 | 2bd33b1c3b2bc45e445ba16eafc81279a5fb5ce7 | /SS/Rhapsody/DT_System/DefaultComponent/DefaultConfig/Communication.cpp | ae2acf86e268c7f3416c2a62f82933b52203a6b2 | [] | no_license | ArkenSmaug/Final_Deliverables | b7d32a8c6a5e7c89566cb920f29f5b38f1dfb49d | d83640a28abc5487da4f8e87df9196c5cced56c8 | refs/heads/main | 2023-07-01T15:23:13.678417 | 2021-08-12T00:31:48 | 2021-08-12T00:31:48 | 395,147,967 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,982 | cpp | /********************************************************************
Rhapsody : 8.4
Login : 20192727
Component : DefaultComponent
Configuration : DefaultConfig
Model Element : Communication
//! Generated Date : Thu, 9, Jul 2020
File Path : DefaultComponent\DefaultConfig\Communication.cpp
******************... | [
"65487352+ArkenSmaug@users.noreply.github.com"
] | 65487352+ArkenSmaug@users.noreply.github.com |
34dce3ed4f25346272c50609f71add5a488ff7a5 | a93ad06a1b95730a6aa77f9d08939ea0b6a97155 | /LAB_5/Lab_4/Tests.cpp | b97caad8afe26a14019af35bc21ae4b58ddc82ec | [] | no_license | LauraDiosan-CS/lab04-florinacimpan12 | fed7fbab13aa59d5e59fe808463f7944aaa4704e | c24aafabe4d42bebf01eccf7c85895f2f943c571 | refs/heads/master | 2021-04-05T09:38:18.859382 | 2020-03-26T16:30:16 | 2020-03-26T16:30:16 | 248,541,930 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,984 | cpp | #include "Tests.h"
#include "Transaction.h"
#include "Repo.h"
#include "Service.h"
#include <cassert>
void Tests_transaction::test_transaction_sets() {
char* type = new char[1 + strlen("in")];
char* description = new char[1 + strlen("descriere")];
strcpy_s(type, 1 + strlen("in"), "in");
strcpy_s(description, 1 ... | [
"florinacimpan16@gmail.com"
] | florinacimpan16@gmail.com |
8dfb3bfbb30b4df618c6756404614b05fcd0b7bb | 0e368e87ed2d39027f51e4e0d9bed564318750e1 | /TcpServer/tcpserver.cpp | f8f0b7ee31e533c25dd4f1ad0f02cdd4eed7f9c6 | [] | no_license | jodleif/gpsserver | 4ce7c29ef155aa5700aecfc585418be49885176d | e4186e27d3cf38255bc98b524cf2d27ae88ca5c0 | refs/heads/master | 2021-01-10T09:53:35.440544 | 2015-11-29T15:31:53 | 2015-11-29T15:31:53 | 47,028,137 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,183 | cpp | #include "tcpserver.h"
#include <iostream>
#include <chrono>
#include <boost/asio/write.hpp>
/*
std::string gps::server::tcpserver::read(tcp::socket& _socket)
{
std::string result;
char data[max_length];
boost::system::error_code error;
size_t length = _socket.read_some(boost::asio::buffer(data), error);
if (error... | [
"jodleif@gmail.com"
] | jodleif@gmail.com |
bdfbf8e5ba361f96d65950271ec772f93d919aa1 | 04b1803adb6653ecb7cb827c4f4aa616afacf629 | /components/signin/core/browser/mice_account_reconcilor_delegate.cc | 86bcfa4143a8d697af6cf83694b69f4068174ba5 | [
"BSD-3-Clause"
] | permissive | Samsung/Castanets | 240d9338e097b75b3f669604315b06f7cf129d64 | 4896f732fc747dfdcfcbac3d442f2d2d42df264a | refs/heads/castanets_76_dev | 2023-08-31T09:01:04.744346 | 2021-07-30T04:56:25 | 2021-08-11T05:45:21 | 125,484,161 | 58 | 49 | BSD-3-Clause | 2022-10-16T19:31:26 | 2018-03-16T08:07:37 | null | UTF-8 | C++ | false | false | 2,682 | cc | // Copyright 2019 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "components/signin/core/browser/mice_account_reconcilor_delegate.h"
#include "base/logging.h"
#include "components/signin/core/browser/account_r... | [
"sunny.nam@samsung.com"
] | sunny.nam@samsung.com |
de04b79f417ae0518c7999c123e747d2570bb4c7 | a13e7993275058dceae188f2101ad0750501b704 | /2021/1499. Max Value of Equation.cpp | f41f5f66cfe06aa517145ba016fc135feb16c0e3 | [] | no_license | yangjufo/LeetCode | f8cf8d76e5f1e78cbc053707af8bf4df7a5d1940 | 15a4ab7ce0b92b0a774ddae0841a57974450eb79 | refs/heads/master | 2023-09-01T01:52:49.036101 | 2023-08-31T00:23:19 | 2023-08-31T00:23:19 | 126,698,393 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 679 | cpp | class Solution {
public:
int findMaxValueOfEquation(vector<vector<int>>& points, int k) {
deque<pair<int, int>> pq;
int maxVal = INT_MIN;
for (vector<int>& p : points) {
while (!pq.empty() && p[0] - pq.front().first > k) {
pq.pop_front();
}... | [
"yangjufo@gmail.com"
] | yangjufo@gmail.com |
af1a34c9d5da1ccf8728a4ca25ad49b19a9bad76 | 06394bc34f4298ddc625ced2ac68530a257810c0 | /hackerrank/algo/FormingAMagicSquare.cpp | 62108d76d9729f4504224d291c6ec1b3472681b5 | [] | no_license | dubeyalok7/problems | a052e5e06e009a4df40972eb48f204c2193aea3b | 6e2b74cf7188dcaa26c368ce847a0d0a873f15d0 | refs/heads/master | 2020-03-26T05:11:37.206457 | 2019-02-16T18:00:27 | 2019-02-16T20:18:52 | 144,542,942 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 602 | cpp | /*
* FormingAMagicSquare.cpp
*
* Created on: 18-Jun-2018
* Author: dubeyalo
*/
#include <bits/stdc++.h>
using namespace std;
// Complete the formingMagicSquare function below.
int formingMagicSquare(vector<vector<int> > s) {
return 0;
}
int FormingAMagicSquare()
{
vector<vector<int> > s(3);
for ... | [
"alok.dubey@votarytech.com"
] | alok.dubey@votarytech.com |
552ead7c0efd98ec60264c1db28bbe392432a442 | 3dbe2d0454979091d3f1f23c3bda6f8371efe8be | /arm_compute/runtime/NEON/functions/NESpaceToDepthLayer.h | 6a7a9c83a15de745eb225f5ca9b5964a2aabff1c | [
"MIT",
"LicenseRef-scancode-dco-1.1"
] | permissive | alexjung/ComputeLibrary | 399339e097a34cf28f64ac23b3ccb371e121a4c9 | a9d47c17791ebce45427ea6331bd6e35f7d721f4 | refs/heads/master | 2022-11-25T22:34:48.281986 | 2020-07-30T14:38:20 | 2020-07-30T14:38:20 | 283,794,492 | 0 | 0 | MIT | 2020-07-30T14:16:27 | 2020-07-30T14:16:26 | null | UTF-8 | C++ | false | false | 3,482 | h | /*
* Copyright (c) 2019 ARM Limited.
*
* SPDX-License-Identifier: MIT
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to
* deal in the Software without restriction, including without limitation the
* rights ... | [
"bsgcomp@arm.com"
] | bsgcomp@arm.com |
ae5d122c7bc613df0b0c03fe8a7a395b9cc00ec3 | e77764d232fa4428dd1541486f57d9a791c3f25a | /src/webcam/src/Tile.h | f53f460dc769f288961cbc0bfdf98930a5168eed | [] | no_license | mjwsteenbergen/Tesseron | bbeb461717e276cbaa22520bed0e27a381214a0a | 28a9cddf4eccbf9463a7149c5abc7049050b4e46 | refs/heads/master | 2021-01-18T07:49:58.062314 | 2016-01-27T22:25:31 | 2016-01-27T22:25:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 526 | h | //
// Created by newnottakenname on 30.11.15.
//
#ifndef WEBCAM_SQUARE_H
#define WEBCAM_SQUARE_H
enum TileColor{ Blue, Grey, White, Black};
class Tile {
protected:
double x;
double y;
double size;
std::vector <cv::Point> edges;
TileColor color;
public:
double GetX();
double GetY();
do... | [
"martijnsreclame@hotmail.nl"
] | martijnsreclame@hotmail.nl |
c184b78c4f6b5d9e020426c5157816c826b02512 | 38c10c01007624cd2056884f25e0d6ab85442194 | /components/user_prefs/tracked/pref_service_hash_store_contents.cc | 122fa4724136bb38530415d554bf97a8f4ce3112 | [
"BSD-3-Clause"
] | permissive | zenoalbisser/chromium | 6ecf37b6c030c84f1b26282bc4ef95769c62a9b2 | e71f21b9b4b9b839f5093301974a45545dad2691 | refs/heads/master | 2022-12-25T14:23:18.568575 | 2016-07-14T21:49:52 | 2016-07-23T08:02:51 | 63,980,627 | 0 | 2 | BSD-3-Clause | 2022-12-12T12:43:41 | 2016-07-22T20:14:04 | null | UTF-8 | C++ | false | false | 5,205 | 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/user_prefs/tracked/pref_service_hash_store_contents.h"
#include "base/prefs/pref_registry_simple.h"
#include "base/prefs/pref_servic... | [
"zeno.albisser@hemispherian.com"
] | zeno.albisser@hemispherian.com |
2a99daef76df3c150a141257aa2d3143863b5db0 | ba9322f7db02d797f6984298d892f74768193dcf | /ehpc/include/alibabacloud/ehpc/model/DeleteContainerAppsRequest.h | b4a7cc9b4674ca4fdac9d79eb1ffd4935871785c | [
"Apache-2.0"
] | permissive | sdk-team/aliyun-openapi-cpp-sdk | e27f91996b3bad9226c86f74475b5a1a91806861 | a27fc0000a2b061cd10df09cbe4fff9db4a7c707 | refs/heads/master | 2022-08-21T18:25:53.080066 | 2022-07-25T10:01:05 | 2022-07-25T10:01:05 | 183,356,893 | 3 | 0 | null | 2019-04-25T04:34:29 | 2019-04-25T04:34:28 | null | UTF-8 | C++ | false | false | 1,590 | h | /*
* Copyright 2009-2017 Alibaba Cloud 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... | [
"haowei.yao@alibaba-inc.com"
] | haowei.yao@alibaba-inc.com |
63b0ad5c92764f56e65cd7a4015bafc7e6c6b62f | efe4fa9cad2ee8af5031497445fa0868135b8338 | /tests/src/core_configuration/test.cpp | bb3cffdda3f0df09a0e85c0fbc6947a02c3a9f30 | [
"Unlicense"
] | permissive | yshstudy/Karabiner-Elements | 0e265f177f85f071c076ef6cb5cd5eda39e7235a | caee7cb3e0c174ba3e7afbb0dc14f358b5ce9e9e | refs/heads/master | 2021-05-01T20:04:00.045335 | 2018-02-09T16:48:36 | 2018-02-09T16:48:36 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 64,931 | cpp | #define CATCH_CONFIG_MAIN
#include "../../vendor/catch/catch.hpp"
#include "core_configuration.hpp"
#include "manipulator/details/types.hpp"
#include "thread_utility.hpp"
#include <boost/optional/optional_io.hpp>
#include <iostream>
using simple_modifications = krbn::core_configuration::profile::simple_modifications;... | [
"tekezo@pqrs.org"
] | tekezo@pqrs.org |
f420c6edad55901e1a689d3167a080612d2d7796 | 32c3c90c4c8e3e47fb5252f97213556bba84f30b | /week02/boj10835/Mocha_10835.cpp | 78f40dbfb5a6b0d6eab800cacc1ce79967f766c3 | [] | no_license | onww1/Soft-Algorithm-Study | 8b4398ca8afcce64ec3e01609b0661044636bd39 | 6b66759a3e542d22b06433ff46aa82a0f883b529 | refs/heads/master | 2020-04-16T17:07:39.029418 | 2019-12-23T23:05:57 | 2019-12-23T23:05:57 | 165,763,614 | 3 | 3 | null | 2019-03-10T07:13:26 | 2019-01-15T01:32:14 | C++ | UTF-8 | C++ | false | false | 1,799 | cpp | /*
* BOJ 10835. 카드게임
*
* DP[i][j] : 왼쪽 더미에서 i번째, 오른쪽 더미에서 j번째에서 시작할 때,
* 얻을 수 있는 점수의 최댓값
* DP[i][j] = max(DP[i+1][j+1], DP[i+1][j]) (a[i] <= b[j])
* max(DP[i+1][j+1], DP[i+1][j], b[j] + DP[i][j+1]) (a[i] > b[j])
*
* DP 항의 정의와 점화식은 위와 같습니다.
* 재귀 함수를 사용하여 처음 0, 0... | [
"sewon.dev@gmail.com"
] | sewon.dev@gmail.com |
5875c90d33a71a248e552edfd64cf579de6693b8 | bae2aade592b06361f617d3044b8f4868f7c051b | /Temp/StagingArea/Data/il2cppOutput/Bulk_Generics_4.cpp | 54794132399e50464038e3f1c583cdbb5bdd5649 | [] | no_license | crisc98/Space-Shooter | 7bd3c9edb6e7ff4b21b72e600c26897d47483783 | e6ecb7b606267d2f4661f4053e2f3e28b7deeda7 | refs/heads/master | 2021-08-08T14:31:26.266555 | 2017-11-10T14:24:45 | 2017-11-10T14:24:45 | 110,077,662 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 239,458 | cpp | #include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <cstring>
#include <string.h>
#include <stdio.h>
#include <cmath>
#include <limits>
#include <assert.h>
#include <stdint.h>
#include "class-internals.h"
#include "codegen/il2cpp-codegen.h"
#include "object-in... | [
"Cristiano.Chelotti@capitalone.com"
] | Cristiano.Chelotti@capitalone.com |
2e3b7976927518cbc46427d637aa662311ffd0ca | 3ea8c4003fc63502503eaef2b97c48b37621e825 | /source_code/ssim_psnr_cpp_v0.2/ssim_psnr/ssim_psnr/psnr.cpp | c5cadf08bb82e267372e041899d4ae92016cde6d | [] | no_license | LoveMIssY/Low-Light-Video-Deniose-Tools | 6dfbf045cfd3ae798aec8ed146cd955b15855fd1 | 4f6b5bde483bc3b5aacdf017d0be977a42f69bae | refs/heads/master | 2022-04-19T20:36:41.730625 | 2020-04-21T07:44:18 | 2020-04-21T07:45:32 | 257,509,399 | 1 | 1 | null | null | null | null | GB18030 | C++ | false | false | 1,665 | cpp | #include "psnr.hpp"
/*
构造函数
*/
PSNR::PSNR(int h, int w, int c) : Metric(h, w, c)
{
height = h;
width = w;
channel = c;
}
/*
根据不同的通道数目,返回最终的SSIM值,是一个浮点数
params:
original: 原始真实图片
processed: 处理之后的图片
return:
float,最终计算的PSNR值
*/
double PSNR::getMetric(const cv::Mat& original, const cv::Mat& processed)
{
//通过getS... | [
"1248397847@qq.com"
] | 1248397847@qq.com |
220a0711757e487598807cd6540c19702d19afd2 | c608c8b68274caaeb06c0c2fbfb2ba2f111047e4 | /main/lsp/requests/code_action.h | 08f6d9be9cd18b959681c2521e4b46c03288e834 | [
"Apache-2.0"
] | permissive | gtrias/sorbet | 317498d7d79cd8bc98bb9c4f054b32a44fc34e66 | e6cd0c3be9834b0883bdf652a555f36607b3853c | refs/heads/master | 2022-07-20T07:18:19.047812 | 2022-07-11T10:56:53 | 2022-07-11T10:56:53 | 256,273,502 | 1 | 0 | Apache-2.0 | 2020-04-16T16:43:05 | 2020-04-16T16:43:04 | null | UTF-8 | C++ | false | false | 621 | h | #ifndef RUBY_TYPER_LSP_REQUESTS_CODE_ACTION_H
#define RUBY_TYPER_LSP_REQUESTS_CODE_ACTION_H
#include "main/lsp/LSPTask.h"
#include "main/lsp/json_types.h"
namespace sorbet::realmain::lsp {
class CodeActionParams;
class CodeActionTask final : public LSPRequestTask {
std::unique_ptr<CodeActionParams> params;
publi... | [
"noreply@github.com"
] | gtrias.noreply@github.com |
5189a38c6a037a3145d2f4bae58e035c7c3a736d | b28575448da2861779f714c0b4f9c68a0be6e9a9 | /EBERGIA/test/out/v.ino | 6724a80c250bda7488766543747172d1402c39e6 | [] | no_license | SijieChenXM/Study-Notes-of-MSP430 | 906ab6dd0872c1c3709e9289ad3e8084764d9f27 | 75e8f4f58d0869902908f65265ae89cc67a9a8c4 | refs/heads/master | 2020-06-16T05:25:47.922630 | 2019-07-06T09:03:52 | 2019-07-06T09:03:52 | 195,490,245 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 365 | ino | int sensorValue = 0;
void setup() {
// put your setup code here, to run once:
analogReference(DEFAULT);
Serial.begin(9600);
}
void loop() {
// put your main code here, to run repeatedly:
sensorValue = analogRead(A1);
float vol = sensorValue * (3.3 / 1024.0);
Serial.print("Voltage:");
Serial.print(... | [
"noreply@github.com"
] | SijieChenXM.noreply@github.com |
a79f53a3d545b86e4222b3a1347ddcf5e0694737 | 750395d2f5d37b1f30b8b1920e11e040cbe401c4 | /Yao/YaoGate.h | 08dd45d08306745e240b2aac4025e0abda9cdd78 | [
"MIT",
"BSD-2-Clause"
] | permissive | AlexanderViand/MP-SPDZ | b4c920e45143f710c9371cab4c37b63da5420ed7 | d26a62efe496946d721b0ab49710494cea5c9652 | refs/heads/master | 2020-05-19T08:10:28.857168 | 2019-05-03T08:03:13 | 2019-05-03T08:03:50 | 184,914,569 | 1 | 0 | NOASSERTION | 2019-05-04T15:48:59 | 2019-05-04T15:48:59 | null | UTF-8 | C++ | false | false | 2,060 | h | /*
* YaoGate.h
*
*/
#ifndef YAO_YAOGATE_H_
#define YAO_YAOGATE_H_
#include "config.h"
#include "BMR/Key.h"
#include "YaoGarbleWire.h"
#include "YaoEvalWire.h"
class YaoGate
{
Key entries[2][2];
public:
static Key E_input(const Key& left, const Key& right, long T);
YaoGate() {}
YaoGate(const YaoGarbleWire& ou... | [
"mks.keller@gmail.com"
] | mks.keller@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.