blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 3 264 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 5 140 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 905
values | visit_date timestamp[us]date 2015-08-09 11:21:18 2023-09-06 10:45:07 | revision_date timestamp[us]date 1997-09-14 05:04:47 2023-09-17 19:19:19 | committer_date timestamp[us]date 1997-09-14 05:04:47 2023-09-06 06:22:19 | github_id int64 3.89k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 22
values | gha_event_created_at timestamp[us]date 2012-06-07 00:51:45 2023-09-14 21:58:39 ⌀ | gha_created_at timestamp[us]date 2008-03-27 23:40:48 2023-08-21 23:17:38 ⌀ | gha_language stringclasses 141
values | src_encoding stringclasses 34
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 3 10.4M | extension stringclasses 115
values | content stringlengths 3 10.4M | authors listlengths 1 1 | author_id stringlengths 0 158 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
7fe59555abf6dd180a8f8d3de26dcb0eb76c996e | 47b8c7125d3c8d9bc9768669465ca66566fb51d1 | /src/net/socket/client_socket_pool_manager.cc | 40a3342e1a56da9fce7e851997a9dadcf2627b87 | [
"BSD-3-Clause"
] | permissive | xlee/naiveproxy | 743e2da1e3b0cec01d051c4e6b38df8a302952d8 | 8bbb7526b927cbaa82870a4c81a08ccf5e8e9c1d | refs/heads/master | 2023-09-04T10:22:48.679148 | 2019-04-25T17:40:46 | 2021-11-15T12:25:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,046 | cc | // Copyright (c) 2012 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 "net/socket/client_socket_pool_manager.h"
#include <memory>
#include <utility>
#include "base/check_op.h"
#include "base/cxx17_backports.h"... | [
"kizdiv@gmail.com"
] | kizdiv@gmail.com |
b0bb4504207c8f85dc30b810d8355286de888aae | aa376f1548a2a536ab6a1b03407201e236d22195 | /legacy/lib/check50++/Fwk/PtrInterface.h | 919b9838d90ed4caae994dcbfe8ed7a238111b96 | [] | no_license | kevgathuku/check50 | 5e3c023ac7d6120eac022974457cc59d44c1b27e | e7764004bb0776ae3a3c0d537ca4b97b6f75f1fb | refs/heads/master | 2021-01-16T00:22:34.143430 | 2015-09-28T15:35:20 | 2015-09-28T15:35:20 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 568 | h | #ifndef LIB_CHECK50_FWK_PTRINTERFACE_H
#define LIB_CHECK50_FWK_PTRINTERFACE_H
namespace Fwk {
template <class T>
class PtrInterface {
public:
PtrInterface() : _ref(0) {}
unsigned long references() const { return _ref; }
inline const PtrInterface * new_ref() const { ++_ref; return this; }
inline void delete_r... | [
"nate@cs.harvard.edu"
] | nate@cs.harvard.edu |
c10fe8faa8ada596f6cfa21d9fbecebd303973ad | cfeac52f970e8901871bd02d9acb7de66b9fb6b4 | /generated/src/aws-cpp-sdk-lookoutequipment/source/model/ListLabelGroupsRequest.cpp | da260c22c0ec62c9c8762d3b5e938eae632e373a | [
"Apache-2.0",
"MIT",
"JSON"
] | permissive | aws/aws-sdk-cpp | aff116ddf9ca2b41e45c47dba1c2b7754935c585 | 9a7606a6c98e13c759032c2e920c7c64a6a35264 | refs/heads/main | 2023-08-25T11:16:55.982089 | 2023-08-24T18:14:53 | 2023-08-24T18:14:53 | 35,440,404 | 1,681 | 1,133 | Apache-2.0 | 2023-09-12T15:59:33 | 2015-05-11T17:57:32 | null | UTF-8 | C++ | false | false | 1,275 | cpp | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/lookoutequipment/model/ListLabelGroupsRequest.h>
#include <aws/core/utils/json/JsonSerializer.h>
#include <utility>
using namespace Aws::LookoutEquipment::Model;
using namespace Aws::U... | [
"sdavtaker@users.noreply.github.com"
] | sdavtaker@users.noreply.github.com |
7be54c77dee74eb925bf5054bd1c2200bea2329b | b3d1e6e05871233e994b44d5259f57437e2b1433 | /Code/CommonHeader.h | f6ec5b50e00d5e229a5a0fffc8264922e5af2b56 | [] | no_license | Tavlin/Theses | 6621d86f883b7d8d436afabde104b598694adc7c | c5cd3451e6d3050e78e91afd683f3779fbefe172 | refs/heads/master | 2020-03-27T23:45:30.730575 | 2019-04-05T08:15:41 | 2019-04-05T08:15:41 | 147,343,777 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 19,679 | h | // printer.h file
#ifndef CommonHeader_H
#define CommonHeader_H
#include "TLatex.h"
#include "stddef.h"
#include "TLegend.h"
#include "TObject.h"
#include "TCanvas.h"
#include "TGraphErrors.h"
#include "TF1.h"
#include "TStyle.h"
#include "TString.h"
#include "TMath.h"
#include "TGaxis.h"
#include "TList.h"
#include "... | [
"mhemmer@stud.uni-frankfurt.de"
] | mhemmer@stud.uni-frankfurt.de |
51d75f0eda5e02a8341665ffed45124ed661996b | dd00fc81510368a4a94139fda002c433a1d3c556 | /src/preferences.cpp | fa716483508383c961656a88ea268c4246ef9a47 | [
"MIT"
] | permissive | 0312birdzhang/TrulyYours | 4c5a8730e3a985c197996a68ccc3f867a67ea681 | 5a553b57072369796ad57a4cb90558aa53d77c1c | refs/heads/master | 2021-01-18T01:39:25.839943 | 2015-05-12T04:45:59 | 2015-05-12T04:45:59 | 35,467,058 | 0 | 0 | null | 2015-05-12T04:36:52 | 2015-05-12T04:36:51 | null | UTF-8 | C++ | false | false | 1,378 | cpp | /*
* The MIT License (MIT)
*
* Copyright (c) 2014 matrixx
*
* 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
* to u... | [
"setelani@live.com"
] | setelani@live.com |
1e75b74490786adb17d32c584bb6d08fb6d9a031 | c5143d24f8aee52c0066b7be95c2bf06fe946261 | /include/formula-tree/formula-type.hpp | 2a5bd3186762a60567159596167ee27bf493782a | [
"BSD-3-Clause",
"LicenseRef-scancode-warranty-disclaimer",
"MIT",
"BSL-1.0",
"BSD-2-Clause"
] | permissive | AnandSaminathan/formula-tree | 1985bc50594237277c92df463fa7ea926bf714c3 | f0e96f40a65dd7ba9f40923b398625d6385c4150 | refs/heads/master | 2022-12-04T18:51:01.703144 | 2020-08-29T16:32:36 | 2020-08-29T16:32:36 | 245,760,934 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 83 | hpp | #pragma once
namespace ftree {
enum formulaType { pl, ltl, pb, rel, arith };
}
| [
"anand.saminathan1.1@gmail.com"
] | anand.saminathan1.1@gmail.com |
ed8b608ee5043aa4f062e0c2946a24f1d0ddab54 | 2d34422361367d6fb28167c713f689ee7084d5c0 | /libraries/rigidBodyDynamics/rigidBody_generalTensor.cpp | dc4b125728e60b658981b175aeb1d67af5920d12 | [] | no_license | kengwit/VegaFEM-v3.0 | 5c307de1f2a2f57c2cc7d111c1da989fe07202f4 | 6eb4822f8d301d502d449d28bcfb5b9dbb916f08 | refs/heads/master | 2021-12-10T15:03:14.828219 | 2016-08-24T12:04:03 | 2016-08-24T12:04:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,949 | cpp | /*************************************************************************
* *
* Vega FEM Simulation Library Version 3.0 *
* *
* "rigidBodyDynamic... | [
"jslee02@gmail.com"
] | jslee02@gmail.com |
55add28e4ce5f4fec7a0201fbf346e3e96f15e1e | 48298469e7d828ab1aa54a419701c23afeeadce1 | /Client/SceneEdit/Xerces/src/xercesc/validators/DTD/DocTypeHandler.hpp | e9b9921cb39b378ff26da23bf4fbd24094259e86 | [
"Apache-2.0"
] | permissive | brock7/TianLong | c39fccb3fd2aa0ad42c9c4183d67a843ab2ce9c2 | 8142f9ccb118e76a5cd0a8b168bcf25e58e0be8b | refs/heads/master | 2021-01-10T14:19:19.850859 | 2016-02-20T13:58:55 | 2016-02-20T13:58:55 | 52,155,393 | 5 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 3,870 | hpp | /*
* Copyright 1999-2000,2004 The Apache Software Foundation.
*
* 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 requir... | [
"xiaowave@gmail.com"
] | xiaowave@gmail.com |
e915df111b36e8999704f095094075e012b7b74c | 48298469e7d828ab1aa54a419701c23afeeadce1 | /Client/SceneEdit/Xerces/src/xercesc/validators/datatype/DayDatatypeValidator.hpp | 6f109f1cb069e049e641928faa37a30f8d03e23c | [
"Apache-2.0"
] | permissive | brock7/TianLong | c39fccb3fd2aa0ad42c9c4183d67a843ab2ce9c2 | 8142f9ccb118e76a5cd0a8b168bcf25e58e0be8b | refs/heads/master | 2021-01-10T14:19:19.850859 | 2016-02-20T13:58:55 | 2016-02-20T13:58:55 | 52,155,393 | 5 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 2,938 | hpp | /*
* Copyright 2001,2004 The Apache Software Foundation.
*
* 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... | [
"xiaowave@gmail.com"
] | xiaowave@gmail.com |
f60943ceff422a43561eb18a2f653034b61337d9 | 105efdc72b1efd797736935fa271d671b921ed7f | /Assignment3/submission/src/helper.cpp | fbb3f3e8e07fce9b2d3ae50b065910b728919e9d | [] | no_license | cyrusdiego/CMPUT379_Assignments | 0780e797c39e8f353cd17e38eedaca5480ca46a0 | 5e0f006d558cb10da9356ec9da41ba6f2ee38e32 | refs/heads/master | 2023-01-18T17:35:19.886974 | 2020-11-29T21:21:54 | 2020-11-29T21:21:54 | 296,697,831 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 668 | cpp | #include "../include/helpers.hpp"
/**
* Checks if port is valid
*/
bool is_valid_port(std::string port) {
int p = stoi(port);
return p >= 5000 && p <= 64000;
}
/**
* Checks if ip is address
* https://man7.org/linux/man-pages/man3/inet_pton.3.html
*/
bool is_valid_ip(std::string ip) {
unsigned char bu... | [
"cyrus.d04@gmail.com"
] | cyrus.d04@gmail.com |
881309065a9392b6c4542811e7a2ea8255ed2bb7 | 56f431ac8061ddb4c45b32457b0f948d1029d98f | /MonoNative.Tests/mscorlib/System/Text/mscorlib_System_Text_Encoding_Fixture.cpp | 9fea6f0f4d9db5b432236a52880c38332f118ebf | [
"BSD-2-Clause"
] | permissive | brunolauze/MonoNative | 886d2a346a959d86e7e0ff68661be1b6767c5ce6 | 959fb52c2c1ffe87476ab0d6e4fcce0ad9ce1e66 | refs/heads/master | 2016-09-15T17:32:26.626998 | 2016-03-01T17:55:27 | 2016-03-01T17:55:27 | 22,582,991 | 12 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 12,666 | cpp | // Mono Native Fixture
// Assembly: mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
// Namespace: System.Text
// Name: Encoding
// C++ Typed Name: mscorlib::System::Text::Encoding
#include <gtest/gtest.h>
#include <mscorlib/System/Text/mscorlib_System_Text_Encoding.h>
#include <mscorlib/Sy... | [
"brunolauze@msn.com"
] | brunolauze@msn.com |
40bfd9fa06d02ce7ec91b1f741bcecefc24e5099 | aaf47d848fcea43be73738aa63946da68ea1b1d0 | /src/olymp/codef/contests/1324/b/sol.cpp | f2242cc6c6919ab8db914b36da169dd983069fd2 | [] | no_license | xsaiter/isasln | c0de69fa0850a4cac3af3380acc1faedfd304ee6 | 58fb0f8d6974c254f9bd05a3c36929c87d827989 | refs/heads/master | 2023-05-27T15:55:23.736073 | 2023-05-20T21:18:29 | 2023-05-20T21:18:29 | 98,072,474 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 342 | cpp | #include <bits/stdc++.h>
using namespace std;
bool solve(vector<int> &a, int n) {
return false;
}
int main() {
int t;
cin >> t;
while (t--) {
int n;
cin >> n;
vector<int> a(n);
for (int i = 0; i < n; ++i) {
cin >> a[i];
}
cout << (solve(a, n) ? "YES" : "NO") << "\n";
}
cout ... | [
"xsaiter@mail.ru"
] | xsaiter@mail.ru |
0bf67b698708e6e3408dea225b0b24649179e1c0 | 9fa381707e4732b7ee3402b3dbf1fea063de312b | /phoenix/qt/widget/horizontal-scroll-bar.cpp | 6127c301b5d569cbabd42fbc134125c82d25a55a | [] | no_license | vgmtool/vgmtool | e2e7360633589475402cb6cbe59119c5c6485e5a | dc68f7f99de288fd72be5b3f9011467287a31480 | refs/heads/master | 2016-09-05T20:33:18.236676 | 2012-06-18T23:47:55 | 2012-06-18T23:47:55 | 4,513,921 | 14 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,127 | cpp | Geometry pHorizontalScrollBar::minimumGeometry() {
return { 0, 0, 0, 15 };
}
unsigned pHorizontalScrollBar::position() {
return qtScrollBar->value();
}
void pHorizontalScrollBar::setLength(unsigned length) {
length += length == 0;
qtScrollBar->setRange(0, length - 1);
qtScrollBar->setPageStep(length >> 3);
... | [
"neoexmachina@gmail.com"
] | neoexmachina@gmail.com |
2d4b07adc9e03514053b09b362383d5ea4fbf409 | f551cdd86d1c8865bbb81a4f33d0db8c994a291b | /Prj_Android/app/src/main/jni/shared/app/logic/log/LogicLogCell.hpp | a0ee78fe4b4513aad89dee574d78ebb874585a40 | [] | no_license | hakumai-iida/IllustLogicAnalyzer | beed07acabac8b3bc14daa3bd3512f88e6b6ea8e | 1d2435ece314f614ab491c046b5ab2bbc240cf4f | refs/heads/master | 2022-11-21T18:58:57.156839 | 2020-08-01T07:40:56 | 2020-08-01T07:40:56 | 284,156,374 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 7,331 | hpp | /*+----------------------------------------------------------------+
| Title: LogicLogCell.hpp [共通環境]
| Comment: ロジック:ログ単位
| Author: K.Takayanagi
+----------------------------------------------------------------+*/
/*+----------------------------------------------------------------+
| Header Define ヘッダ定義
... | [
"hakumai.iida@gmail.com"
] | hakumai.iida@gmail.com |
c72ad3fc3597a794e19ec73958fc5492f68a9bf0 | 7ca30b24597f19075f7cd7a3fd52f575ca7ccaa9 | /network/network.h | 6e66b2f8db35471cc4c2839b37274157d1bd1960 | [] | no_license | lihejia/syberh-plugins | fb2e09cdddcfa6565a017c8514b5808127a11e00 | 1d72febb658716c55baff0924aaeb44c647a1450 | refs/heads/master | 2023-01-07T00:51:33.646334 | 2020-11-06T02:47:32 | 2020-11-06T02:47:32 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 725 | h | #ifndef NETWORK_H
#define NETWORK_H
#include <QObject>
#include <QtPlugin>
#include <QNetworkAccessManager>
#include "iplugin/iplugin.h"
#include "network_global.h"
class TaskInfo
{
public:
QString dataType;
QNetworkReply* reply;
};
class NETWORKSHARED_EXPORT Network: public ExtensionSystem::IPlugin
{
... | [
"liujingpeng@syberos.com"
] | liujingpeng@syberos.com |
abdedc78e672a911cf23d9eebe366dd6bca7a4f3 | 8f961bc022f5ce587d854b7458909c3e0f1ef4bb | /demo/Stage/EntitySplitterDemo/src/root/app/EntitySplitterDemoAppBase.cpp | 3c91441ac74cab2c0471d0570957d42bcb29e0c3 | [] | no_license | takashikumagai/amorphous | 73f0bd8c5f5d947a71bbad696ce728f25c456aae | 8e5f5ec9368757a639ed4cf7aeb02a4b201e6b42 | refs/heads/master | 2020-05-17T10:55:59.428403 | 2018-07-05T02:48:59 | 2018-07-05T02:48:59 | 183,671,422 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,420 | cpp | #include "EntitySplitterDemoAppBase.hpp"
#include "amorphous/Graphics/GraphicsElementManager.hpp"
#include "amorphous/Graphics/MeshUtilities.hpp"
#include "amorphous/Input.hpp"
#include "amorphous/Stage.hpp"
#include "amorphous/Stage/Trace.hpp"
#include "amorphous/Stage/EntitySplitter.hpp"
#include "amorphous/Stage/St... | [
"amorphous.git@gmail.com"
] | amorphous.git@gmail.com |
3b2ba780f1bbde1531aa2cd6fadfb151735697d9 | 24a004b568aad622ef8e2b21ee3fc3dc8dd3cbe2 | /Apple Sample Code/iPhoneACFileConvertTest/PublicUtility/CAXException.h | ff96261ac682a0c8e69397936e1d57b6c87c667d | [] | no_license | the-mac/iOS | c9e872cde87dad6ad1a723f49a160fdc2d34fba2 | 34fccea9f605073cce98a7a820ca525a57a42e50 | refs/heads/master | 2020-04-05T23:06:38.856021 | 2016-10-01T21:24:25 | 2016-10-01T21:24:25 | 17,992,935 | 5 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 10,777 | h | /*
File: CAXException.h
Abstract: Part of CoreAudio Utility Classes
Version: 1.0.3
Disclaimer: IMPORTANT: This Apple software is supplied to you by Apple
Inc. ("Apple") in consideration of your agreement to the following
terms, and your use, installation, modification or redistribution of
this A... | [
"christopher@iamplus.com"
] | christopher@iamplus.com |
8370428aba7c2a58a29f72a0d07a21aff55dd8f2 | e5c837b21ecb2384cb532b98f2cc6fb7a8ebb9d3 | /task3_scale_of_notation_conv/main.cpp | cf1662fcf0a60be90b2d4ecf74a64d2215e104af | [] | no_license | tungyr/college-study | cddc88911102ddbe091ef58d9dd14b96b861635c | a162916a1d4a1096bd6707e0523a78232775e4c8 | refs/heads/master | 2020-11-23T20:52:57.724540 | 2020-02-12T20:04:05 | 2020-02-12T20:04:05 | 227,816,024 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 201 | cpp | #include <iostream>
#include "func.h"
int main()
{
std::cout << "Enter an integer: ";
int number;
std::cin >> number;
std::cout << "Число " << number << " = " << convert(number);
}
| [
"rotkivem@gmail.com"
] | rotkivem@gmail.com |
d16290a88846f8458271511a2318ebefc9309bd6 | 3f0bc471522820ffabb132580f799538c4bb9d1a | /COJ_ACCEPTED/2421 - The Asteroids.cpp | 7c9f033ef53d80078b5efd91a18aae79a31b2a2d | [] | no_license | luismoax/Competitive-Programming---luismo | d40267e7947d03a304355a1ff936c2ecb5460b77 | 63016024bdcff8755fe537be5eb8e46c6e6a18e6 | refs/heads/master | 2023-09-03T17:56:36.258278 | 2023-08-20T06:01:27 | 2023-08-20T06:01:27 | 250,821,058 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,115 | cpp | #include <iostream>
#include <cstdio>
#include <vector>
#include <cstring>
#include <map>
#include <algorithm>
#include <cmath>
#define pf printf
#define sf scanf
#define INF 1000000
/*
Author: Luismo
Problem: 2421 - Asteroids
Algorithm: Implementation
*/
using namespace std;
struct _point
{
int x,... | [
"luismoax@gmail.com"
] | luismoax@gmail.com |
2bbfc2adbc52584fe8056ac77e2d3462f125f7d5 | bb67db6be6980c0ec6a69e13b6fcc1ca42694b5c | /Task5/MIPS_SystemC_v0.6.6/mux4.h | bcdb33746eb8131959bb7b919685b8f82d0d35c4 | [] | no_license | toomyy94/MIPS-SystemC-ACA | 6f0d85d376679cb024954f06f171fa310b532119 | 0cf586d85f3094434c94aa51dfced96d7d77deb0 | refs/heads/master | 2021-01-19T02:31:10.239024 | 2016-08-08T01:42:10 | 2016-08-08T01:42:10 | 65,163,653 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,143 | h | #ifndef MUX4MOD_H
#define MUX4MOD_H
/**
*
* 4:1 Mux4 module template.
*/
#include <systemc.h>
/**
* Mux4 module.
* Mux4 module models a generic 4:1 multiplexor of template type T.
* Implementation based on a template class.
*
* - input ports
* - \c T \c din0 - input
* - \c T \c din1 - input
* ... | [
"rui.oliveira.rpo@gmail.com"
] | rui.oliveira.rpo@gmail.com |
1b621672bb6f8cc917fef0ecacb173df3a6c1a76 | 138492d8f798a462b79329a7b6c34a3e4ccff3c3 | /include/jxy/alloc.hpp | 871fde445e3411fff3bcb06ccea90bd4a4df9470 | [
"MIT"
] | permissive | SilverTuxedo/stlkrn | 1e34f1d02a30e4559271ecf34b9cd27aae6eb614 | 9f483a94d0dc2e502a066899589db3bae976443e | refs/heads/main | 2023-07-19T11:33:50.007725 | 2021-09-17T17:12:48 | 2021-09-17T17:12:48 | 405,061,178 | 0 | 0 | MIT | 2021-09-10T11:44:36 | 2021-09-10T11:44:35 | null | UTF-8 | C++ | false | false | 704 | hpp | //
// Copyright (c) Johnny Shaw. All rights reserved.
//
// File: jxystl/alloc.hpp
// Author: Johnny Shaw
// Abstract: cpp new/delete functions
//
// Default new/delete is intentionally unimplemented! This forces specifying
// the pool type and tags for all allocations.
//
#pragma once
#include <fltKernel.h>
#in... | [
"johnny.shaw@live.com"
] | johnny.shaw@live.com |
3de091b3e2cd1b4576a8d15b2a923c7c60e8d348 | fd6d4842c8f939c9a910cb1cd64bd299b6ea81cd | /Developments/BlinkingHeart/BlinkingHeart.ino | 15daabd0ba922bcf819ae3fcd56c4e8f8c8e6503 | [] | no_license | thorty/Mysterybox | db40c46f46bb93589d1a58b676f4fcafa2824c4c | cedabcccb8b46f2062c210edbb1d1b7fac4a2d61 | refs/heads/master | 2021-01-20T22:12:09.524488 | 2018-07-26T06:35:57 | 2018-07-26T06:35:57 | 101,805,272 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,416 | ino | #include <Wire.h>
#include <LiquidCrystal_I2C.h>
byte heart_h[8] = {
B00000,
B00000,
B01010,
B10101,
B10001,
B01010,
B00100, B00000
};
byte heart_f[8] = {
B00000,
B00000,
B01010,
B11111,
B11111,
B01110,
B00100, B00000
};
// Set the LCD address to 0x27 for a 16 chars and 2 line display
Liqu... | [
"thorty.w82@gmail.com"
] | thorty.w82@gmail.com |
f39943fb305cecb8b0983158f9babc2973a8cd51 | 050f22fa36ef8a044605bb46086fba3b88d9ffb2 | /LedSnake.ino | 88c3e31e6c7fbe2d2d61ed1ecaa0c306d4fdf3aa | [] | no_license | jpsk/Arduino-8x8LED-Matrix-Snake | 6cd4bbf24f708c90a60b68e55f745daa59ccc248 | 586b3036e02a9bc2649339ce49ed693b2f8e7d1f | refs/heads/master | 2021-01-23T08:11:01.358382 | 2017-03-28T20:08:08 | 2017-03-28T20:08:08 | 86,484,414 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,502 | ino | #include "LedControl.h"
// Define interrupt pins
#define I_LEFT 3
#define I_UP 2
#define I_DOWN 18
#define I_RIGHT 19
// Define vector constants
#define LEFT 1
#define UP 2
#define RIGHT 3
#define DOWN 4
#define ON 1
// Program variables
unsigned long delaytime = 300;
int moveVector = RIGHT; // Initial move vecto... | [
"pask.mindaugas@gmail.com"
] | pask.mindaugas@gmail.com |
f899a2cb6964c195e061b0466706e9de53b45a65 | 4979915833a11a0306b66a25a91fadd009e7d863 | /src/ui/scenic/lib/flatland/default_flatland_presenter.h | f7344ff876b1ba3baf8ece772fa5b8504da99d55 | [
"BSD-2-Clause"
] | permissive | dreamboy9/fuchsia | 1f39918fb8fe71d785b43b90e0b3128d440bd33f | 4ec0c406a28f193fe6e7376ee7696cca0532d4ba | refs/heads/master | 2023-05-08T02:11:06.045588 | 2021-06-03T01:59:17 | 2021-06-03T01:59:17 | 373,352,924 | 0 | 0 | NOASSERTION | 2021-06-03T01:59:18 | 2021-06-03T01:58:57 | null | UTF-8 | C++ | false | false | 2,991 | h | // Copyright 2020 The Fuchsia 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 SRC_UI_SCENIC_LIB_FLATLAND_DEFAULT_FLATLAND_PRESENTER_H_
#define SRC_UI_SCENIC_LIB_FLATLAND_DEFAULT_FLATLAND_PRESENTER_H_
#include <fuchsia/ui/sce... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
fcf46a693c7c61cd17f4f16a8f1c6219fcd92444 | e12bf2accd38cb20e2b87877013c47e57be9ef0f | /Source/ToonTanks/Pawns/PawnTurret.cpp | 84a08ab42a409355f01c48ff097f5d6ed644ce12 | [] | no_license | daltonbr/ToonTanks | 867cbd41226605b9ba7a0f3c9b911e1fd527eda4 | e9ccb9657e847bfee8791699089d99fcf016485e | refs/heads/master | 2023-01-23T04:36:41.904716 | 2020-11-20T08:29:46 | 2020-11-20T08:29:46 | 275,569,587 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,111 | cpp | // daltonlima.com
#include "PawnTurret.h"
#include "PawnTank.h"
#include "Kismet/GameplayStatics.h"
void APawnTurret::Tick(float DeltaTime)
{
Super::Tick(DeltaTime);
if (!PlayerPawn || GetDistanceToPlayer() > FireRange)
{
return;
}
RotateTurret(PlayerPawn->GetActorLocation());
}
voi... | [
"daltonvarussa@gmail.com"
] | daltonvarussa@gmail.com |
8a71d9dc1c16562c7f0ed8a200963ecafb8f6081 | 9bda740bf1b40f2a644fb5f15d26c386f3452602 | /plugins/GFLLibraryBuilder/Builder.cpp | f395f0eec7395facfa99364cc53202304305ec86 | [] | no_license | ivan386/Shareaza | 32f8f7c572835383d16f38fef3577c6e4523e4c0 | 0c2f2f56c8294c930f26463a522057d00ed319fa | refs/heads/ipv6 | 2023-01-11T11:24:13.295702 | 2019-08-07T23:22:14 | 2019-08-07T23:22:14 | 13,932,006 | 128 | 42 | null | 2022-12-29T17:38:18 | 2013-10-28T16:46:31 | C | UTF-8 | C++ | false | false | 3,650 | cpp | //
// Builder.cpp : Implementation of CBuilder
//
// Copyright (c) Nikolay Raspopov, 2005-2014.
// This file is part of SHAREAZA (shareaza.sourceforge.net)
//
// Shareaza 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 S... | [
"raspopov@3231ed4b-2112-0410-84e0-8c3944a40730"
] | raspopov@3231ed4b-2112-0410-84e0-8c3944a40730 |
72da24880d919abc51b1b65029cb03198b21cf57 | fa274ec4f0c66c61d6acd476e024d8e7bdfdcf54 | /Meu-Codebook/Estrutura de Dados/map.cpp | 8f4bebdf33043ca6a0147e6204efd0de3f707bd5 | [] | no_license | luanaamorim04/Competitive-Programming | 1c204b9c21e9c22b4d63ad425a98f4453987b879 | 265ad98ffecb304524ac805612dfb698d0a419d8 | refs/heads/master | 2023-07-13T03:04:51.447580 | 2021-08-11T00:28:57 | 2021-08-11T00:28:57 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,005 | cpp | #include<bits/stdc++.h>
#define _ ios_base::sync_with_stdio(0);
#define i64 long long
#define ii pair<int,int>
#define ll pair<i64,i64>
#define vi vector<int>
#define vs vector<string>
#define vii vector<ii>
#define vvii vector<vii>
#define fs first
#define sc second
#define eb emplace_back
using namespace std;
int n... | [
"fepaf.eng@uea.edu.br"
] | fepaf.eng@uea.edu.br |
30a1a07f444a95e9ea5e0f960bfa42c3870d2219 | 912cd9c4baebaf6df91b9d0b364b22e3e59f72de | /src/add-ons/translators/libtifftranslator/TIFFView.cpp | 92d8d3d99b972c957f501971911a537f69b52ae1 | [] | no_license | D-os/cosmoe | 994ad2ead11a7fd4a4a18f2e48589e664d767ea3 | ff9803afcfa6ef588548dfb850f55a098d84ee13 | refs/heads/master | 2020-03-07T21:59:47.239870 | 2014-11-10T15:46:12 | 2014-11-10T15:46:12 | 127,742,119 | 1 | 1 | null | 2018-04-02T10:34:39 | 2018-04-02T10:34:39 | null | UTF-8 | C++ | false | false | 6,293 | cpp | /*****************************************************************************/
// TIFFView
// Written by Michael Wilber, OBOS Translation Kit Team
// Picking the compression method added by Stephan Aßmus, <stippi@yellowbites.com>
//
// TIFFView.cpp
//
// This BView based object displays information about the TIFFTrans... | [
"ithamar@upgrade-android.com"
] | ithamar@upgrade-android.com |
24a488600433e4ed7a6824552a3d95f47a44467b | 1018341eb1f2815f93191cc244098b5d472efa75 | /src/librt/include/Surface.h | fd2f05a97ce47eb58cd223fb1aac302678f3c5c8 | [] | no_license | Jcvarela/Computer-Graphics-proj3-SceneMani | bc55a8f1d0ff7bdc3448411fef06b349ba132c79 | ee1108bbf9a4e17eaed6ddfc420319e1fb236519 | refs/heads/master | 2021-01-23T02:35:29.420342 | 2017-03-24T00:31:36 | 2017-03-24T00:31:36 | 86,009,882 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,374 | h | //------------------------------------------------------------------------------
// Copyright 2015 Corey Toler-Franklin, University of Florida
// Surface.h
// Defines the base class for surfaces
//-----------------------------------------------------------------------------
#ifndef _SURFACE_H
#define _SURFACE_H
#inc... | [
"jcvarela@live.com"
] | jcvarela@live.com |
738336285f2d807ddd504bf1fa3d571d3b79fca7 | 421e42d72c69ee97c5da282fca8d1316177c3214 | /task01/task0120.cpp | 889d58e80b6272fbfcf56b6510aab1dbb1944105 | [] | no_license | derand/cpp_tasks | 50d1344e0165f892a30fafeef9a020d91fca22d7 | 2be2c359b648796186df6babd48dfec3f6582e65 | refs/heads/master | 2021-01-10T11:59:20.544776 | 2016-02-03T15:20:00 | 2016-02-03T15:20:00 | 49,011,532 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 441 | cpp | #include <iostream>
#include <stdlib.h>
#include <cmath>
using namespace std;
int main(int argc, const char *argv[])
{
float m, n;
cout << "Enter m:";
cin >> m;
cout << "Enter n:";
cin >> n;
float z1 = ((m-1) * sqrt(m) - (n-1)*sqrt(n)) / (sqrt(pow(m, 3.0)*n) + m*n + m*m - m);
float z2 = (... | [
"2derand@gmail.com"
] | 2derand@gmail.com |
e517c7343d3c8a269902de8fbc974bab38d91563 | ebade0c5d9aa64f9bff35518bf611afef28e6bc5 | /ZFFramework/src/ZFCore/ZFObjectDef/ZFSerializableDef.h | 9be2cc71a99c9678528bbff3325b4fe3ae9dd5d3 | [
"MIT"
] | permissive | lyhistory/ZFFramework | e9c58db2efa9428ed51fa58a4f65a88886b8ddfc | a61357a4e5211960fe6769265627ddcf6330e937 | refs/heads/master | 2021-01-14T08:31:05.709692 | 2015-12-26T03:17:30 | 2015-12-26T03:17:30 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 35,169 | h | /* ====================================================================== *
* Copyright (c) 2010-2015 ZSaberLv0
* home page: http://ZFFramework.com
* blog: http://zsaber.com
* contact: master@zsaber.com (Chinese and English only)
*
*
* Distributed under MIT license:
*
* Permission is hereby granted, free of ch... | [
"z@zsaber.com"
] | z@zsaber.com |
95a212c26f7115c1ac3f1ccf47329dcc732d946a | 99bf3db097fc4996adb6f0946df9c4c83099fd66 | /src/mainfunction.cpp | 6eb2740746f248e994764bb0c39fa3933ea5eb23 | [] | no_license | Z-qie/Game-Cpp-Ziiky | d6218f7627415f66f85f38780608804555c70a6a | d6a08eb81d5a80161e20bbd9ff9936e1e9889171 | refs/heads/master | 2023-04-29T13:15:08.020517 | 2021-05-20T03:26:35 | 2021-05-20T03:26:35 | 368,706,248 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,202 | cpp | #pragma once
#include "header.h"
#include <ctime>
// Needs one of the following #includes, to include the class definition
#include "MyDemoA.h"
#include "Zy21586Engine.h"
#include "SimpleDemo.h" // ok
#include "BouncingBallMain.h" // ok
#include "MazeDemoMain.h" // ok
#include "FlashingDemo.h"
#include "StarfieldDemo... | [
"zy21586@nottingham.ac.uk"
] | zy21586@nottingham.ac.uk |
5dc00f91c8336e582e41bd0ae931d042e45407a2 | 438180ac509e4f743e4d27236a686ee9eb545fdd | /Components/Terrain/src/OgreTerrainMaterialGeneratorA.cpp | 4a3e00c357307f0a460168878fce292cf2b9ef04 | [
"MIT"
] | permissive | milram/ogre-1.7.4-osx | 15e3d14e827e3c198f7cda68872a0be26ba95e55 | adec12bc0694b9b56a8f31e91cc72f0f75dd83c7 | refs/heads/master | 2021-01-01T19:21:11.880357 | 2012-04-30T18:34:49 | 2012-04-30T18:34:49 | 7,885,095 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 53,214 | cpp | /*
-----------------------------------------------------------------------------
This source file is part of OGRE
(Object-oriented Graphics Rendering Engine)
For the latest info, see http://www.ogre3d.org/
Copyright (c) 2000-2011 Torus Knot Software Ltd
Permission is hereby granted, free of charge, to any person obta... | [
"1991md@gmail.com"
] | 1991md@gmail.com |
8114e72c769d4332f5ff71f50d182a58a90657cc | 771a5f9d99fdd2431b8883cee39cf82d5e2c9b59 | /SDK/BP_female_makeup_black_04_Desc_functions.cpp | ca9e941f09948aba55b5ee91d67955f91f22b601 | [
"MIT"
] | permissive | zanzo420/Sea-Of-Thieves-SDK | 6305accd032cc95478ede67d28981e041c154dce | f56a0340eb33726c98fc53eb0678fa2d59aa8294 | refs/heads/master | 2023-03-25T22:25:21.800004 | 2021-03-20T00:51:04 | 2021-03-20T00:51:04 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 580 | cpp | // Name: SeaOfThieves, Version: 2.0.23
#include "../pch.h"
/*!!DEFINE!!*/
/*!!HELPER_DEF!!*/
/*!!HELPER_INC!!*/
#ifdef _MSC_VER
#pragma pack(push, 0x01)
#endif
namespace CG
{
//---------------------------------------------------------------------------
// Functions
//--------------------------------------------... | [
"40242723+alxalx14@users.noreply.github.com"
] | 40242723+alxalx14@users.noreply.github.com |
ba9302118f44ef9914e4877958063dcf5849d682 | 501591e4268ad9a5705012cd93d36bac884847b7 | /src/server/game/Server/Protocol/Handlers/VehicleHandler.cpp | d874f6d2e39a80538602e21111d18ae35a697279 | [] | no_license | CryNet/MythCore | f550396de5f6e20c79b4aa0eb0a78e5fea9d86ed | ffc5fa1c898d25235cec68c76ac94c3279df6827 | refs/heads/master | 2020-07-11T10:09:31.244662 | 2013-06-29T19:06:43 | 2013-06-29T19:06:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,431 | cpp | /*
* Copyright (C) 2008 - 2011 Trinity <http://www.trinitycore.org/>
*
* Copyright (C) 2010 - 2012 Myth Project <http://mythprojectnetwork.blogspot.com/>
*
* Myth Project's source is based on the Trinity Project source, you can find the
* link to that easily in Trinity Copyrights. Myth Project is a private commun... | [
"vitasic-pokataev@yandex.ru"
] | vitasic-pokataev@yandex.ru |
05025935b5806e04044f17a9613b7c54cca940de | b778b18efb8e51fda19eea63e4263c65577f3dfa | /src/devices/thermosensors.cpp | 5cf284f25fdd925a170390d38fb016777780cfc8 | [] | no_license | alambin/sad_lamp_arduino | c620695c1cf913598018ab233a15e8891c83e081 | f7b31d71708cf0d60dfc9310ff1b2082849e54a9 | refs/heads/master | 2023-08-26T00:35:59.410867 | 2021-10-11T07:45:51 | 2021-10-11T07:45:51 | 339,043,853 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,695 | cpp | #include "thermosensors.hpp"
#include <HardwareSerial.h>
#include <Streaming.h>
namespace
{
// Calibration data:
//
// 1 sensor (28B61675D0013CA2 - orange wires):
// 37.0 on medical thermometer -> 36.31 on sensor
// Boiling water (100) -> 97.25, but water in boiling pan can have different temperatures in different ar... | [
"extern.aleksei.lambin@porsche.de"
] | extern.aleksei.lambin@porsche.de |
60714149543000324d207dd222ec66295d0bf0c4 | 482e8aabcaf3c3a01b9fc06049e82410445b7208 | /map.cpp | f68ab4ae31a2ce0ce0d7b5083007aca0fb49f8ca | [] | no_license | NickVeld/robo-pathfinding | fecb3e080f82a83a6811466cac27751a4ce0685a | a13a884dc21eb5f5f7dbf308433f307a78f739cc | refs/heads/master | 2023-04-07T20:40:54.770017 | 2021-04-14T08:11:43 | 2021-04-14T08:11:43 | 109,509,332 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 16,357 | cpp | #include "map.h"
Map::Map()
{
height = -1;
width = -1;
start_i = -1;
start_j = -1;
goal_i = -1;
goal_j = -1;
Grid = NULL;
cellSize = 1;
}
Map::~Map()
{
if (Grid) {
for (int i = 0; i < height; ++i)
delete[] Grid[i];
delete[] Grid;
}
}
int Map::get_s... | [
"NickVeld@users.noreply.github.com"
] | NickVeld@users.noreply.github.com |
491571bc587cdfdff9ddfe6501fc88004b413eae | 3b8acbbb565ff8c7183883847ed874b02966eb1f | /devel/include/comp313p_mapper/MapUpdate.h | 20c463c6662f9069203bd859d8d90b747b266311 | [] | no_license | tahlia5119/cw2_ws | 1ffe0e17d37a2b1c0ff3c83188447db8bb2f46bf | 9e022ecfc01d98515f3d24abf3fda8bc95bc3fa5 | refs/heads/master | 2020-03-11T23:55:02.672197 | 2018-04-20T09:12:29 | 2018-04-20T09:12:29 | 126,618,451 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,095 | h | // Generated by gencpp from file comp313p_mapper/MapUpdate.msg
// DO NOT EDIT!
#ifndef COMP313P_MAPPER_MESSAGE_MAPUPDATE_H
#define COMP313P_MAPPER_MESSAGE_MAPUPDATE_H
#include <string>
#include <vector>
#include <map>
#include <ros/types.h>
#include <ros/serialization.h>
#include <ros/builtin_message_traits.h>
#in... | [
"tahlia.cutifani@gmail.com"
] | tahlia.cutifani@gmail.com |
aa7e41b1b261b3fee79a73082674b0983c14d381 | bb41c4e142e8874bf1de1af7b75f0ef850e5a0f1 | /GifImage/Shared/GaussianBlurEffectDescription.h | e770f52db5188b2d47a6449ef20c90edac641219 | [
"MIT"
] | permissive | zhanghua0926/GifImageSource | 4a71b76cbd3dfb2db3ce581ea5abdad2a67de0b3 | 83dc8bbd79a6203d09e01f5d691519fd9196e348 | refs/heads/master | 2023-03-16T09:25:44.499571 | 2018-02-26T01:14:29 | 2018-02-26T01:14:29 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,323 | h | #pragma once
#include "pch.h"
#include "IEffectDescription.h"
namespace GifImage
{
public enum struct GaussianBlurOptimization {Speed, Balanced, Quality};
public enum struct GaussianBlurBorderMode {Soft, Hard};
public ref class GaussianBlurEffectDescription sealed : IEffectDescription
{
public:
GaussianBlu... | [
"sskodje@gmail.com"
] | sskodje@gmail.com |
471f9092c62f649c7b5c6e6c152bd2252bee436c | 035c23cff67a9e0fdce3d9a021807697fe266883 | /common/newsparse/krylov_solvers.cpp | 61b5867e268ad0639676b85dc2eb9fa0ad9beff4 | [
"BSD-2-Clause"
] | permissive | joeedh/eltopo | bf6420ff11efc29ac36882e84ba0094b442d6f50 | 5db63d4df66816a07509fe3884299fca52d38665 | refs/heads/master | 2021-01-05T15:27:08.708465 | 2020-03-13T21:58:09 | 2020-03-13T21:58:09 | 241,061,523 | 0 | 0 | BSD-2-Clause | 2020-02-17T08:59:20 | 2020-02-17T08:59:20 | null | UTF-8 | C++ | false | false | 6,210 | cpp | #include <krylov_solvers.h>
#include <blas_wrapper.h>
#include <cassert>
//============================================================================
KrylovSolverStatus CG_Solver::
solve(const LinearOperator &A, const double *rhs, double *result,
const LinearOperator *preconditioner, bool use_given_initial_gue... | [
"tyson.brochu@gmail.com"
] | tyson.brochu@gmail.com |
6e9d2ab8abc281847376977a475e7e9dac843c3c | f601edf3814629a9b9bd66235554f705a24c1383 | /src/driver/audiodec/basedec.cpp | 6d2b0e0ef57fb06de2baf552db81f7911d109394 | [] | no_license | OpenSat-zz/AZtrino | 6e73fb6c6b61f340745b7395a74749230d0e8f3a | 19bba9a552adeaae47e9a6cbdd6667742017c992 | refs/heads/master | 2021-01-18T01:41:15.481624 | 2012-05-29T08:02:03 | 2012-05-29T08:02:03 | 2,995,637 | 2 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 6,121 | cpp | /*
Neutrino-GUI - DBoxII-Project
Copyright (C) 2004 Zwen
base decoder class
Homepage: http://www.cyberphoria.org/
Kommentar:
License: GPL
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... | [
"git@opensat.eu"
] | git@opensat.eu |
17596848ac3e201d4d0457510380dc9570feb8c2 | 6ab8bc7c02696b1e386e3be2717d50761cb4390c | /URI/p1158.cpp | 55d7268b3a172a2322c62c2fecd53749caa7d2df | [] | no_license | shahriercse/Online-Judge-Solutions | 4c71d21cadaf12a04e2021f0168b27fba436e257 | 2b35452116547e1f7769fa3f32ca6cc3a5eb2e75 | refs/heads/master | 2023-08-20T20:47:22.104809 | 2021-10-26T09:39:16 | 2021-10-26T09:39:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 454 | cpp | #include<iostream>
using namespace std ;
int main()
{
int n, x, y, sum;
cin >> n ;
while (n--){
cin >> x >> y ;
if ( x % 2 != 0 ){
sum = 0 ;
while (y--){
sum += x ;
x += 2 ;
}
cout << sum << endl ;
}
else{
x++ ;
... | [
"shahrierf82@gmail.com"
] | shahrierf82@gmail.com |
2cc0e48df192c17ad5ec2da5df1500da4bd23819 | e29f5042fdb28d982fc0ab3241f4847d02338208 | /src/GameGraphics/include/Game/Graphics/TextureProvider.h | 145385376148ea5c3775cdaf5f7b1a054124afdc | [] | no_license | talex-tnt/sdl-engine-libs | 16ebf6bf476067879f8d12dc467d14349e571c1b | fdba891eceed0276928e7590506055db0f3f3709 | refs/heads/master | 2021-11-20T20:20:27.397361 | 2021-07-28T19:12:43 | 2021-07-28T19:12:43 | 229,116,114 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,186 | h | #pragma once
#include <Math/Vector.h>
#include <memory>
#include <array>
#include <unordered_map>
namespace sdl
{
class TextureFactory;
class Texture;
}
namespace game
{
namespace graphics
{
class TextureProvider
{
public:
using Pos = Math::Vec2i;
using Size = Math::Vec2i;
struct Rect
{
Pos pos; Size size;... | [
"alextinti83@gmail.com"
] | alextinti83@gmail.com |
7f6b0c61873f8c4f72b36b23ade18d061135a5bc | 64589428b06258be0b9b82a7e7c92c0b3f0778f1 | /Maratona de Programação/Final Brasileira 2018/3-YES-723204458-C.cpp | f7a43ae6d6a164f1fc6eaf66e862d8e1047cf3a5 | [] | no_license | splucs/Competitive-Programming | b6def1ec6be720c6fbf93f2618e926e1062fdc48 | 4f41a7fbc71aa6ab8cb943d80e82d9149de7c7d6 | refs/heads/master | 2023-08-31T05:10:09.573198 | 2023-08-31T00:40:32 | 2023-08-31T00:40:32 | 85,239,827 | 141 | 27 | null | 2023-01-08T20:31:49 | 2017-03-16T20:42:37 | C++ | UTF-8 | C++ | false | false | 789 | cpp | #include <bits/stdc++.h>
#define INF 1e9
#define EPS 1e-9
#define MAXN 10009
#define FOR(x,n) for(int x=0;x<n;x++)
using namespace std;
typedef long long int ll;
int N, c[MAXN], d[MAXN];
double dp[MAXN][7][130];
double mlt[7] = {1, 0.5, 0.25, 0.25, 0.25, 0.25, INF};
double solve(int i, int qty, int t){
if (t >= 120)... | [
"lucas.fra.oli18@gmail.com"
] | lucas.fra.oli18@gmail.com |
58f80624ed8a96e79d4c794b48c4b0fa6616ff0d | 8ddef90d7d4a302fa0bd8096a7fc8e47fb31166b | /own_libs/cpp/Windows/practice_helpers/include/TestRunner.h | b5ceac710c4fbdd50371761883565a3b5732e0e4 | [] | no_license | norbertkorczynski/practice | b79da8f7805a8a7c3b3d38de2e8406c0ec9eebbb | 9c2473cfadee0317585066561030b6c7b3f62d87 | refs/heads/main | 2023-02-18T22:43:58.059324 | 2021-01-17T00:35:55 | 2021-01-17T00:35:55 | 322,052,868 | 0 | 0 | null | 2021-01-17T00:35:57 | 2020-12-16T17:21:29 | C++ | UTF-8 | C++ | false | false | 1,491 | h | #pragma once
#include <string_view>
#include <list>
#include <tuple>
#include <unordered_map>
#include <any>
#include <fstream>
using FilePath = std::string_view;
using InputName = std::string_view;
using TestInputs = std::unordered_map<InputName, std::any>;
using TestCase = std::list<TestInputs>;
//! ... | [
"nkorczynski@gmail.com"
] | nkorczynski@gmail.com |
9deadcd034c566efd010514e1e5af5db87b73b7c | a3ec7ce8ea7d973645a514b1b61870ae8fc20d81 | /Codeforces/A/1204.cc | f01fb6b9717f7c8ec15d1c91fde9e7b0e8fefb51 | [] | no_license | userr2232/PC | 226ab07e3f2c341cbb087eecc2c8373fff1b340f | 528314b608f67ff8d321ef90437b366f031e5445 | refs/heads/master | 2022-05-29T09:13:54.188308 | 2022-05-25T23:24:48 | 2022-05-25T23:24:48 | 130,185,439 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 254 | cc | #include <iostream>
using namespace std;
int main() {
string t_str;
cin >> t_str;
int l = t_str.length() - 1;
string x = string((t_str.length()-1)/2*2,'0');
t_str.erase(0,1);
cout << l/2 + (x == t_str ? 0 : 1);
return 0;
} | [
"reynaldo.rz.26@gmail.com"
] | reynaldo.rz.26@gmail.com |
e8ee23521a6423dd02011db4cc2481f1d65d35a0 | 9f5a1bd35ed4ebf5dc161e734b369eae10ada68d | /interpolation.hpp | 0b2add93d1dc178d193acf7f22d908071abefd2e | [] | no_license | Shrihari93/SLAM-6D | 22c5b9f4f5813e6e8475416348488aa7adbef43b | 1540abe42d2877663e0f2f534838e51112114a8a | refs/heads/master | 2021-01-01T17:09:43.388198 | 2013-06-13T12:59:42 | 2013-06-13T12:59:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,505 | hpp | /* Arpit
*/
#ifndef INTERPOLATION_HPP
#define INTERPOLATION_HPP
#include <stdio.h>
#include <highgui/highgui.hpp>
#include <imgproc/imgproc.hpp>
#include <iostream>
#include <fstream>
#include <vector>
#include <set>
using namespace cv;
using namespace std;
namespace Interpolation {
int neighbours[][2] = { {-1,-1},
... | [
"anjan@anjan-desktop"
] | anjan@anjan-desktop |
c8cd7fa61b6e798f13e3ba86cee7056e60775fe0 | 9eaf679a99a88ccf42920fe7076856398b095402 | /MaJiangServer/src/SZMJRoom.cpp | 20ab0cba82c2d294f85b7cb8c804bcef85a52a71 | [] | no_license | daxingyou/MJ | 1fce631d11c14a2d08928260704a6c359bcca12b | 4fdfc39d710562cf6e493292c5e4afc967866a40 | refs/heads/master | 2021-06-18T19:18:08.864754 | 2017-07-11T10:05:56 | 2017-07-11T10:05:56 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,727 | cpp | #include "SZMJRoom.h"
#include "SZMJPlayer.h"
#include "SZMJPlayerCard.h"
#include "log4z.h"
#include "IMJPoker.h"
#include "ServerMessageDefine.h"
#include "MJRoomStateWaitReady.h"
#include "MJRoomStateWaitPlayerChu.h"
#include "SZRoomStateWaitPlayerAct.h"
#include "MJRoomStateGameEnd.h"
#include "SZRoomStateDoPlayerA... | [
"dengh_dhsea@126.com"
] | dengh_dhsea@126.com |
bb769c0161030ffa1d8b426edb3ec7ca3f04cf85 | 62d48af115ea9d14bc5a7dd85212e616a48dcac6 | /src/lambdas/headers/ComputeInfo.h | e0cc79254a6bc2a1f5bc98c7bcbeb52a192508d7 | [
"Apache-2.0",
"LicenseRef-scancode-public-domain",
"BSD-3-Clause"
] | permissive | asu-cactus/lachesis | ab1ab1704e4f0f2d6aef1a2bff2dc99ea8f09337 | 92efa7b124a23894485a900bb394670487051948 | refs/heads/master | 2023-03-05T11:41:35.016673 | 2021-02-14T21:50:32 | 2021-02-14T21:50:32 | 151,744,205 | 2 | 0 | Apache-2.0 | 2021-02-14T16:37:54 | 2018-10-05T15:49:15 | C++ | UTF-8 | C++ | false | false | 298 | h |
#ifndef COMPUTE_INFO_H
#define COMPUTE_INFO_H
#include <memory>
namespace pdb {
// this is the base class for parameters that are sent into a pipeline when it is built
class ComputeInfo {
public:
virtual ~ComputeInfo() {}
};
typedef std::shared_ptr<ComputeInfo> ComputeInfoPtr;
}
#endif
| [
"jacquelinezou@gmail.com"
] | jacquelinezou@gmail.com |
b1f9777f242aca5bbb501825595aef222808a63f | 8adcca55ce05f323282d9380d234b1e06a5489f7 | /section1/1.5.cpp | 6400b2fc7530efcf988373aef29626893e17bc98 | [] | no_license | Codywei/WeiCpp | e8078dbd1a9d4b6acba2b9d12e10924948426233 | 6bb995848714557396402568d43cdb8a4fa468b2 | refs/heads/master | 2020-05-22T13:32:15.118288 | 2020-03-14T06:51:57 | 2020-03-14T06:51:57 | 186,361,639 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 343 | cpp | /**
分离打印语句
*/
#include <iostream>
int main()
{
std::cout << "Enter tow numbers:";
std::cout << std::endl;
int v1 = 0, v2 = 0;
std::cin >> v1 >> v2;
std::cout << "The accumulate of ";
std::cout << v1;
std::cout << " and ";
std::cout << v2;
std::cout << " is ";
std::cout << v1 * v2;
std::cout << std::endl;
r... | [
"493559615@qq.com"
] | 493559615@qq.com |
c615ce3bccdde7cf585351f6d758418ca55460e7 | c60e4f97890cc7329123d18fd5bc55734815caa5 | /3rd/xulrunner-sdk/include/nsIX509Cert.h | 3312dcf807e0e4bdb284751f879b43d350d0f9b4 | [
"Apache-2.0"
] | permissive | ShoufuLuo/csaw | cbdcd8d51bb7fc4943e66b82ee7bc9c25ccbc385 | 0d030d5ab93e61b62dff10b27a15c83fcfce3ff3 | refs/heads/master | 2021-01-19T10:02:51.209070 | 2014-04-30T19:53:32 | 2014-04-30T19:53:32 | 16,976,394 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 21,899 | h | /*
* DO NOT EDIT. THIS FILE IS GENERATED FROM /builds/slave/rel-m-rel-xr-osx64-bld/build/security/manager/ssl/public/nsIX509Cert.idl
*/
#ifndef __gen_nsIX509Cert_h__
#define __gen_nsIX509Cert_h__
#ifndef __gen_nsISupports_h__
#include "nsISupports.h"
#endif
/* For IDL files that don't want to include root IDL fi... | [
"luoshoufu@gmail.com"
] | luoshoufu@gmail.com |
f937d49e56d5a6f1c4d6bd33ad2b5e056b4ed776 | a0b0eb383ecfeaeed3d2b0271657a0c32472bf8e | /uvalive/6259.cpp | cd62c1ed7b4f060e11474a9a5102c2b35b3b3d6e | [
"Apache-2.0"
] | permissive | tangjz/acm-icpc | 45764d717611d545976309f10bebf79c81182b57 | f1f3f15f7ed12c0ece39ad0dd044bfe35df9136d | refs/heads/master | 2023-04-07T10:23:07.075717 | 2022-12-24T15:30:19 | 2022-12-26T06:22:53 | 13,367,317 | 53 | 20 | Apache-2.0 | 2022-12-26T06:22:54 | 2013-10-06T18:57:09 | C++ | UTF-8 | C++ | false | false | 1,451 | cpp | #include <cstdio>
#include <cstring>
const int maxn = 2001, maxm = 501, maxs = 6;
int t, n, m, rt, H[maxm], L[maxm], R[maxm], f[maxm][maxn];
char word[maxm][maxs], str[maxn], a[maxs], b[maxs];
bool vis[maxm];
int Hash(char *s)
{
int res = 0;
for(int i = 0; s[i]; ++i)
res = res * 29 + (s[i] - 'A' + 1);
return res;
... | [
"t251346744@gmail.com"
] | t251346744@gmail.com |
d04a505ce0ce7efac8a49727489ca104df5aefc5 | adc4d04471e3fced971ae7abca7663b2a3885150 | /frameworks/cocos2d-x/cocos/ui/UIScrollView.cpp | 280902485af55951bbdbca99351b4d0b17b346ea | [] | no_license | s752167062/MJPlatform | 0aa81b38225b64852d89d5a42a6b6e6d6081016b | cacabedcf0de923740c81cbe12464774334a2cd3 | refs/heads/master | 2020-03-21T06:50:59.573272 | 2019-01-22T08:24:34 | 2019-01-22T08:24:34 | 138,245,383 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 42,029 | cpp | /****************************************************************************
Copyright (c) 2013-2014 Chukong Technologies Inc.
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 deal
in the Sof... | [
"752167062@qq.com"
] | 752167062@qq.com |
004153d45d8f9d8dddcc6483c0c6500f4b4ec89a | 0bffb010cf7b5c178d889ad63ba0f2ec9ecacbb5 | /Model/DnaData/PairDecorator.h | 2b2b5377f05a437cc41a649800b4feca4ebdb51c | [] | no_license | yujiadong666/Dna-Analyzer | a6d19111e41f008ff17ded819a04f6768416c1ce | 989a9226c71f04ffcb21e49162aef4378809e50d | refs/heads/master | 2020-05-30T10:48:46.335651 | 2019-03-29T19:45:48 | 2019-03-29T19:45:48 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 509 | h | #ifndef DNAPROJECT_PAIRDECORATOR_H
#define DNAPROJECT_PAIRDECORATOR_H
#include "AbstractDna.h"
#include "../SharedPtr.h"
#include "Nucleotide.h"
class PairDecorator : public AbstractDna {
public:
PairDecorator(SharedPtr<AbstractDna> dna) : m_dna(dna) {
}
size_t size() const {
return m_dna->size... | [
"hmada.kh@gmail.com"
] | hmada.kh@gmail.com |
2c424c267bd0a6b7fd96b4db731d9a0ecb5b55ce | 7b3899819c46272554c0ab2a584030ad1fc92e79 | /antsupporter/src/antlib/include/Ant_Error.h | 08291c1b3c434ce67f055fc38119acf0b57fca5c | [
"Apache-2.0"
] | permissive | summerquiet/NmeaAnalysisTool | 63a303f5fd0b7cb76704b6f74908afe9a0547291 | 73d10e421a5face988444fb04d7d61d3f30333f7 | refs/heads/master | 2020-04-05T08:06:51.994203 | 2018-11-08T12:48:55 | 2018-11-08T12:48:55 | 156,701,514 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 5,403 | h | /**
* Copyright @ 2014 - 2017 Personal
* All Rights Reserved.
*/
#ifndef ANT_ERROR_H
#define ANT_ERROR_H
#ifndef __cplusplus
# error ERROR: This file requires C++ compilation (use a .cpp suffix)
#endif
/*---------------------------------------------------------------------------*/
// Include files
#ifndef ANT_N... | [
"summerquiet@hotmail.com"
] | summerquiet@hotmail.com |
a03a0a92ee21588f3d3cb744cbfbc76677ca7c0d | 10f8237265db1392ed4c5bcc888f0cecb32a3e54 | /src/cc/qcdio/qciobufferpool.cpp | 73634f7f738a39274177e17e71a3295d4146b190 | [
"Apache-2.0"
] | permissive | jomie/kfs | c88f18334f9a4cf2a3dc4ce80f196e52304bfe9f | 8bce116e87f31b1e91f75c09e8aec19c1cafffd4 | refs/heads/master | 2021-01-16T20:56:49.943904 | 2012-05-03T22:12:07 | 2012-05-03T22:12:07 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,416 | cpp | //---------------------------------------------------------- -*- Mode: C++ -*-
// $Id: qciobufferpool.cpp 1552 2011-01-06 22:21:54Z sriramr $
//
// Created 2008/11/01
//
// Copyright 2008,2009 Quantcast Corp.
//
// This file is part of Kosmos File System (KFS).
//
// Licensed under the Apache License, Version 2.0
// (t... | [
"sriramsrao@gmail.com"
] | sriramsrao@gmail.com |
0aa912e0987649da198b3e438a3a6aaf8d7686e6 | 6b596da0708cc5b2c15f683e2c40593c6a622153 | /C++/[1]Programmers/Level1/완주하지못한선수.cpp | bca7fc7e53210dba9a592bb0e86344dad77ae956 | [] | no_license | yjw5344/Algorithm | eddecefd598f05f687f9f3e645c36d8924c241cb | 6a5b26692d53fd9e87193ca74b55586e8dec9be8 | refs/heads/master | 2023-08-16T16:20:30.663979 | 2023-08-08T04:21:39 | 2023-08-08T04:21:39 | 140,273,687 | 6 | 5 | null | null | null | null | UTF-8 | C++ | false | false | 384 | cpp | #include <string>
#include <vector>
#include <algorithm>
#include <map>
using namespace std;
string solution(vector<string> participant, vector<string> completion) {
string answer = "";
map<string, int> m;
for (auto i : participant){
m[i]++;
}
for (auto i : completion){
m[i]--;
}
for (auto i : m){
if ... | [
"yjw5344@hanmail.net"
] | yjw5344@hanmail.net |
9c151b38265336b42598d692660d6460959f1d9c | 2e4f485ec35f5c525f28eaee0a1005555cf61a21 | /messagelist/src/core/widgets/autotests/configurefilterswidgettest.h | a3b8946d619799dbca3576995e3afb3f57488e61 | [
"CC0-1.0",
"BSD-3-Clause"
] | permissive | KDE/messagelib | 8b0174c5e4c95344a828b8bf1c31ff52cc6663d7 | ab4f300a88bb9414734296d0031cbb905a53999c | refs/heads/master | 2023-08-30T23:50:09.096181 | 2023-08-28T02:16:39 | 2023-08-28T02:16:39 | 47,712,197 | 13 | 6 | null | null | null | null | UTF-8 | C++ | false | false | 405 | h | /*
SPDX-FileCopyrightText: 2021-2023 Laurent Montel <montel@kde.org>
SPDX-License-Identifier: GPL-2.0-or-later
*/
#pragma once
#include <QObject>
class ConfigureFiltersWidgetTest : public QObject
{
Q_OBJECT
public:
explicit ConfigureFiltersWidgetTest(QObject *parent = nullptr);
~ConfigureFiltersWidg... | [
"montel@kde.org"
] | montel@kde.org |
73e031a98b88c6ed59ec3c959a5708449f6d42bb | 09b984876e6c904726b6ebd95bb08fd741515faa | /C++/16_Polymorphism/Section16Challenge/I_Printable.h | a992d0551da07bb6468a07bcee540250154d27a6 | [] | no_license | Kagan-benjamin/PracticeCPP | 2ee46b0fee398de9a033a6b77f2ea6375baac850 | d1c0cc245daa5e2d5e752bf780e8c5d019173b83 | refs/heads/main | 2023-02-28T13:16:44.347056 | 2021-02-04T20:06:29 | 2021-02-04T20:06:29 | 309,462,125 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 466 | h | #ifndef _I_PRINTABLE_H_
#define _I_PRINTABLE_H_
#include <iostream>
class I_Printable { // We want the stream on the left side, and the object to be inserted on the right
friend std::ostream &operator<<(std::ostream &os, const I_Printable &obj); // this cannot be done with a member function
public:
... | [
"kagan.benjamin@gmail.com"
] | kagan.benjamin@gmail.com |
2916e8a307c52e06ab6580f9c9d0807b4ae51aec | 08a8327ba667e3b425a891a772b2c93e609d8b81 | /week_260/main.cpp | 40549d6a0a2babbb907d1e8ead0436bf629a0685 | [] | no_license | erban-xiao/hihocoder_study | 72a66ff81c545e90fbc4632b5ccb712aa39c45cb | c38f249cc44850d057989b507d15d866ef73e6dc | refs/heads/master | 2020-04-15T04:13:58.333218 | 2019-06-24T11:17:28 | 2019-06-24T11:17:28 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,399 | cpp | #include <iostream>
#include <memory.h>
using namespace std;
int main()
{
int row,column;
long long maxSum;
cin>>row>>column>>maxSum;
int** rowArray = new int*[row];
for(int i=0;i<row;++i)
{
rowArray[i] = new int[column];
}
for(int i=0;i<row;++i)
{
for(int j=0;j<col... | [
"qianyou.liang@qualvision.cn"
] | qianyou.liang@qualvision.cn |
468c5c4575c01e7359031fff8b7840e86894920b | 98e966b65e6f1a72ebaff03b4fe4181e58b724fc | /widgetproblem.h | bb1f95a78bdb2404b9f1a89a4c340ce24af7ce51 | [] | no_license | yangwanyang/QTTest | 87b6df09caea10c98474f35d3a6a774245d52128 | eae02167e149e6e98bafde3bc32dff1dd77cb103 | refs/heads/master | 2020-09-05T13:56:52.727307 | 2020-01-02T06:12:05 | 2020-01-02T06:12:05 | 220,125,989 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 530 | h | #ifndef WIDGETPROBLEM_H
#define WIDGETPROBLEM_H
#include <QWidget>
namespace Ui {
class CWidgetProblem;
}
class CWidgetProblem : public QWidget
{
Q_OBJECT
public:
explicit CWidgetProblem(QWidget *parent = nullptr);
~CWidgetProblem();
private:
void FindMaxSubstring(QString qstrSrc, int &nMaxLength, ... | [
"1764117093@qq.com"
] | 1764117093@qq.com |
0cf45f5800ad076fe4862f4fd007af617f9f13e6 | fdba1523527f669d5ce53405bc099baacc2c1a63 | /app/TestClient/TestClient.cpp | 090225b8b013acbe467fcd27a6e7b320fee1d6d9 | [] | no_license | jratcliff63367/wsclient | 91dbf5e40287dce9c83c47b97cf2cca8d48b859e | e2268886797417baf38a5d37782b74428d7e302b | refs/heads/master | 2020-03-22T16:43:41.029778 | 2018-08-06T17:19:18 | 2018-08-06T17:19:18 | 140,346,801 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,554 | cpp |
#ifdef _MSC_VER
#endif
#include "easywsclient.h"
#include "InputLine.h"
#include "wplatform.h"
#include "TestSharedMemory.h"
#include <stdio.h>
#include <string.h>
class ReceiveData : public easywsclient::WebSocketCallback
{
public:
virtual void receiveMessage(const void *data, uint32_t dataLen, bool isAscii) over... | [
"jratcliff@nvidia.com"
] | jratcliff@nvidia.com |
8bf50620bcf0d1fe713981ab4153bc6bc58fb7a5 | da8153002b0bce9c1a17fa3d2c87bb3a3406ee7c | /lib-hal/src/circle/hardware.cpp | 6f45ebd40698c18d9a909afbcd7158def37726df | [] | no_license | lulersoft/rpidmx512 | 93369a81ee5e298ca7daea86b5bbb67b79342609 | bb4209a076e35a1858859b0dcbb91eccd7b523a6 | refs/heads/master | 2020-08-02T23:56:51.767899 | 2019-09-26T17:17:05 | 2019-09-26T17:17:05 | 211,554,034 | 1 | 0 | null | 2019-09-28T19:50:56 | 2019-09-28T19:50:55 | null | UTF-8 | C++ | false | false | 2,910 | cpp | /**
* @file hardware.h
*
*/
/* Copyright (C) 2019 by Arjan van Vught mailto:info@raspberrypi-dmx.nl
*
* 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 wit... | [
"Arjan.van.Vught@gmail.com"
] | Arjan.van.Vught@gmail.com |
12485af0efdfa5c5df71283b47f4c516ff71f33d | cc1701cadaa3b0e138e30740f98d48264e2010bd | /chrome/browser/chromeos/arc/print_spooler/arc_print_spooler_bridge.h | 1060bc2babd37882819de83b73834372da6504e2 | [
"BSD-3-Clause"
] | permissive | dbuskariol-org/chromium | 35d3d7a441009c6f8961227f1f7f7d4823a4207e | e91a999f13a0bda0aff594961762668196c4d22a | refs/heads/master | 2023-05-03T10:50:11.717004 | 2020-06-26T03:33:12 | 2020-06-26T03:33:12 | 275,070,037 | 1 | 3 | BSD-3-Clause | 2020-06-26T04:04:30 | 2020-06-26T04:04:29 | null | UTF-8 | C++ | false | false | 2,297 | h | // Copyright 2019 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_CHROMEOS_ARC_PRINT_SPOOLER_ARC_PRINT_SPOOLER_BRIDGE_H_
#define CHROME_BROWSER_CHROMEOS_ARC_PRINT_SPOOLER_ARC_PRINT_SPOOLER_BRIDGE_H... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
59455da0597dc8e3e228ce3029152807c9763876 | 814fd0bea5bc063a4e34ebdd0a5597c9ff67532b | /components/keyed_service/ios/browser_state_keyed_service_factory.cc | 115569281ab70ffd11eeed4791b7ecf7d67e03a4 | [
"BSD-3-Clause"
] | permissive | rzr/chromium-crosswalk | 1b22208ff556d69c009ad292bc17dca3fe15c493 | d391344809adf7b4f39764ac0e15c378169b805f | refs/heads/master | 2021-01-21T09:11:07.316526 | 2015-02-16T11:52:21 | 2015-02-16T11:52:21 | 38,887,985 | 0 | 0 | NOASSERTION | 2019-08-07T21:59:20 | 2015-07-10T15:35:50 | C++ | UTF-8 | C++ | false | false | 3,789 | 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/keyed_service/ios/browser_state_keyed_service_factory.h"
#include "base/logging.h"
#include "components/keyed_service/core/keyed_ser... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
bfafba40835dd53a483051e13803bb7a1ed1729e | cefeee1872d6fb67225101c50a9e3b6b41f5e6e1 | /libcef/browser/osr/render_widget_host_view_osr.cc | c8b362b3ed78b52e8667747044421f054273fb90 | [
"BSD-3-Clause"
] | permissive | maojun1998/cef | 39d5d22dacbd0342e1ad338a0c161e60f8d8e047 | 58e1149c7127314072903d3d45b9ba8b9fd2fc92 | refs/heads/master | 2020-04-29T08:08:11.326892 | 2019-02-26T18:23:17 | 2019-03-07T22:09:54 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 69,384 | cc | // Copyright (c) 2014 The Chromium Embedded Framework Authors.
// Portions copyright (c) 2012 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 "libcef/browser/osr/render_widget_host_view_osr.h"
#include <stdint.... | [
"magreenblatt@gmail.com"
] | magreenblatt@gmail.com |
25378e0f69f161ec7a503eec2e7820c80b3cb4f7 | ced9ee65fe86a50f23c8ba0e433b448604b9e08d | /lab_2/set.cpp | 7f16ca3ea58623c506e0340e63906bb4d904d6bc | [] | no_license | josefineflygge/TND004-Datastructures | e46b22ba363a832ee511ec6ecabe96d9c368889d | 1d178864dd093be361925d3d356f5d6a6a6f7f42 | refs/heads/master | 2021-06-16T07:19:10.168446 | 2017-05-11T16:16:10 | 2017-05-11T16:16:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,846 | cpp | #include "set.h"
/*****************************************************
* Implementation of the member functions *
******************************************************/
//Default constructor
Set::Set ()
: counter(0)
{
//IMPLEMENT before HA session on week 14
}
//Conversion constructor
Set::Set (int ... | [
"josefineflygge@hotmail.com"
] | josefineflygge@hotmail.com |
9177dcdd30bb1081f68b102dc5e5db7dc0d75002 | 2c9e0541ed8a22bcdc81ae2f9610a118f62c4c4d | /harmony/tests/vts/vm/src/test/vm/jvmti/funcs/ClearFieldModif/ClearFieldModif0103/ClearFieldModif0103.cpp | a26b832bbf45ae280aa43695ddcfe42568c074b8 | [
"Apache-2.0",
"LicenseRef-scancode-generic-cla"
] | permissive | JetBrains/jdk8u_tests | 774de7dffd513fd61458b4f7c26edd7924c7f1a5 | 263c74f1842954bae0b34ec3703ad35668b3ffa2 | refs/heads/master | 2023-08-07T17:57:58.511814 | 2017-03-20T08:13:25 | 2017-03-20T08:16:11 | 70,048,797 | 11 | 9 | null | null | null | null | UTF-8 | C++ | false | false | 3,123 | cpp | /*
Copyright 2005-2006 The Apache Software Foundation or its licensors, as applicable
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... | [
"vitaly.provodin@jetbrains.com"
] | vitaly.provodin@jetbrains.com |
d675cccb7cd28427f7ed28fa1737b7a7e953d1e2 | 7ec7d09ccdc49338497bddde23a23ae653b60883 | /primes/main.cpp | d551ce9854c1bbd001460c4375a2b1ea4846c029 | [] | no_license | dmytrolev/algorithms | 0799be0cb1d983c60a95e98f9b5c95ba48fc6505 | 9b006f46037e13d20b77d9cfa73c0dc515d48714 | refs/heads/master | 2021-07-12T11:56:26.049943 | 2017-10-16T12:42:44 | 2017-10-16T12:42:44 | 61,023,437 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,294 | cpp | #include <iostream>
#include <cmath>
#ifdef ALGO_DEBUG
#include "../test/debug.cpp"
#else
#define TRACE(message)
#define TRACE_LINE(message)
#define ASSERT(expr)
#define UNIT_TESTS()
#endif
constexpr int MAX_N = 150000;
constexpr int MAX_P = 30000;
int primes_count = 1;
int primes[MAX_P];
int primes_sqr[MAX_P];
con... | [
"ldimat@gmail.com"
] | ldimat@gmail.com |
9f61277e5d85a762218b79061ed6d3d4620c864f | 87188de154d973f33b45ad54c11a0b2246ad5596 | /hlh516/Algorithms.cpp | a9410a3e28dc9e099eef53991cdac70c45a1534e | [] | no_license | HuangLianghong/DIP-Assignment | a9f31e5b654095fea9a75c9755aae3d966f228b0 | 23872b28e9d66bd021b102b75c6aa58ae37027b1 | refs/heads/master | 2022-11-02T07:56:29.659038 | 2020-06-19T15:24:32 | 2020-06-19T15:24:32 | 258,387,534 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 21,300 | cpp | /*
学号:2017052516
姓名:黄亮鸿
专业:信息安全
GitHub:https://github.com/HuangLianghong/DIP-Assignment.git
注:github中有程序完整的提交记录
*/
#include "pch.h"
#include "Algorithms.h"
#include <complex>
#include <math.h>
using namespace std;
BITMAPINFO* lpBitsInfo = NULL;
BITMAPINFO* lpDIB_IFFT = NULL;
BOOL LoadBmpFile(LPCTSTR BmpFileName)
{
... | [
"739302661@qq.com"
] | 739302661@qq.com |
0e7384b4414ad347f61d2d2baaddb388b53e9131 | 3136459fd674e1027f480895ba6685312ac6959b | /examples/replaceplus/Replacer.cpp | 1bebe15d8495ef821f1765ebb8de3b25ccecfa94 | [
"Zlib"
] | permissive | pierrebestwork/owl-next | 701d1a6cbabd4566a0628aa8a64343b498d1e977 | 94ba85e8b4dcb978f095b479f85fe4ba3af2fe4e | refs/heads/master | 2023-02-14T02:03:33.656218 | 2020-03-16T16:41:49 | 2020-03-16T16:41:49 | 326,663,717 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,401 | cpp | #include "pch.h"
#pragma hdrstop
#include "Replacer.h"
#include <owl/filename.h>
#include <algorithm>
using namespace owl;
using namespace std;
namespace
{
const uint FileAndExt = TFileName::File | TFileName::Ext;
//-----------------------------------------------------------------------------
... | [
"Pierre.Best@taxsystems.com"
] | Pierre.Best@taxsystems.com |
b4b3639702bd972950a49d782f6810fb1e730578 | e0bd9572d3d2e5e24b41ab5b33245cec0c8250c9 | /MontiCompiler/MontiCompiler/TypeTableManager.h | 4735e8b8cc1157dbb8989c4d1ebb45e19b59a6e3 | [] | no_license | montionproductions/Compilador | f6088651281b2bb9d17a30750ef6c2ae544a4245 | d168b9eaa44f002dfbf20e65923e9cd1d3e39a85 | refs/heads/master | 2021-01-23T12:32:05.231763 | 2017-08-19T00:32:00 | 2017-08-19T00:32:00 | 93,162,770 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,656 | h | #pragma once
#include <unordered_map>
#include "EnumNodes.h"
#include "STree.h"
class CSymbolManager;
class CErrorController;
class CTypeTableManager
{
public:
CTypeTableManager();
~CTypeTableManager();
void SetSymbolManager(CSymbolManager *sybolManagerPtr);
CSymbolManager *m_ptrSymbolManager;
void SetErrorCont... | [
"idv15c.jmontion@uartesdigitales.edu.mx"
] | idv15c.jmontion@uartesdigitales.edu.mx |
295492fb66c8cdde46ba40985dee1180eee8ee37 | 1ada0d995d8de7892d47857fe10b6f9b2bae4a40 | /WinCode/刷题/洛谷刷题/数学/P1029最大公约数和最小公倍数.cpp | 578af8a5e2529a2a36747e8f2523a61e4c124dac | [] | no_license | Chicaogo/My-Linux-git | 4d99065b5cb84a089a3b036d9a472333208d1350 | 185bcbb72d37eecb6e84a15781f4e255e9df29d1 | refs/heads/master | 2020-03-27T13:01:35.319019 | 2018-10-05T14:34:14 | 2018-10-05T14:34:14 | 146,585,341 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 344 | cpp | #include<bits/stdc++.h>
using namespace std;
int m,n,ans;
int gcd(int x,int y)
{
if(y==0)return x;
return gcd(y,x%y);
}
int main()
{
cin>>n>>m;
for(int i=1;i <= sqrt(m*n);i++)
{
if((n*m)%i == 0 && gcd(i,(n*m)/i)==n) ans++;
}
cout << ans*2;
getchar();getchar();getc... | [
"chicago01@qq.com"
] | chicago01@qq.com |
008bb2de0cc9826a89dc9a92f4478526954f973a | 006f035d65012b7c5af15d54716407a276a096a8 | /src/Core/src/assign_openings.cpp | 4a455bf0075bb880cc85fb38b70865a778244f4d | [] | no_license | rosecodym/space-boundary-tool | 4ce5b67fd96ec9b66f45aca60e0e69f4f8936e93 | 300db4084cd19b092bdf2e8432da065daeaa7c55 | refs/heads/master | 2020-12-24T06:51:32.828579 | 2016-08-12T16:13:51 | 2016-08-12T16:13:51 | 65,566,229 | 7 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 703 | cpp | #include "precompiled.h"
#include "assign_openings.h"
#include "surface.h"
#include "oriented_area.h"
#include "area.h"
namespace opening_assignment {
namespace impl {
boost::optional<oriented_area> has_subarea(
const oriented_area & parent,
const oriented_area & child,
double height_eps)
{
if (parent.sense() ... | [
"cmrose@lbl.gov"
] | cmrose@lbl.gov |
7e6a0e910d7c560af51a60d66177f6538c6581da | 6c8a158fd3eea6dc37b8497f9eb7ea2e57b91896 | /132_QtQmlDashboardAnimation/carinfoproxy.h | 5d6de1168566215e28b5f95263882091c9140c05 | [] | no_license | beduty/QtTrain | 07677ec37730c230dbf5ba04c30ef69f39d29a45 | 5983ef485b5f45ae59ef2ac33bc40c7241ae6db7 | refs/heads/master | 2023-02-10T11:22:49.400596 | 2021-01-04T14:59:20 | 2021-01-04T14:59:20 | 326,716,000 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,973 | h | #ifndef CARINFOPROXY_H
#define CARINFOPROXY_H
#include <QObject>
#include "carinfo.h"
/// 프록시 패턴.
/// 1. 일종의 비서(대리자)다.
/// 2. 인터페이스 역할만 하여 외부의 요청을 수행하는 역할을 한다.
/// 3. 여기서는 CarInfoProxy를 사용하여 QML과의 인터페이스를 수행한다.
/// 4. Q_PROPERTY 의 READ는 실제 객체인 CarInfo m_car;에서 수행한다.
/// 5. 프록시 패턴을 위해서 외부와의 인터페이스를 만들어준 것처럼,
///... | [
"jungty6735@gmail.com"
] | jungty6735@gmail.com |
edf6ab0a9328f599c94da2829757107848ea2379 | 9d8b17c43380d53d3159612b09ec6bff643c3689 | /Lab2_2/Lab2_2/Lab2_2.cpp | e99c5b7ae98f4f87172ad5da6624e476ae51e505 | [
"Unlicense"
] | permissive | ThomasMorrissey/Cpp_Lab_02 | 822710daa7dbf128e25bb61c2d2f99098890fca4 | b02fe5e28ecff8179912215595b0c2057fa980c3 | refs/heads/master | 2020-12-26T15:52:38.204283 | 2015-01-27T12:25:25 | 2015-01-27T12:25:25 | 29,743,093 | 0 | 0 | null | 2015-01-23T17:07:17 | 2015-01-23T17:07:16 | null | UTF-8 | C++ | false | false | 807 | cpp | // Lab2_2.cpp : Recreate guess my number in C++
//Author: Thomas Morrissey
//Date: 1-23-2015
#include "stdafx.h"
#include <iostream>
#include <string>
#include <ctime>
using namespace std;
int main()
{
cout << "Welcome to Guess my Number!" << endl;
cout << "I'm think of a number between 1 and 100." << endl;
cout... | [
"IEUser@IE8Win7-09P.cis.com"
] | IEUser@IE8Win7-09P.cis.com |
b0d31f99ef09c97a92f521f0141a4f54841a17ca | 03625da9b7d6b514565b311249a2af321c6373b6 | /fat12/fat12/stdafx.cpp | cee96651b943e44feca9e13553e6fc2bc20f0105 | [] | no_license | zhaoqike/os | 6b6256767eae686901a15ecbc7bea55f67a5b91b | dcc1b4f249f755dee54f053f6e1516ec88b72344 | refs/heads/master | 2021-01-01T05:32:38.402884 | 2012-12-25T13:39:43 | 2012-12-25T13:39:43 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 257 | cpp | // stdafx.cpp : 只包括标准包含文件的源文件
// fat12.pch 将作为预编译头
// stdafx.obj 将包含预编译类型信息
#include "stdafx.h"
// TODO: 在 STDAFX.H 中
// 引用任何所需的附加头文件,而不是在此文件中引用
| [
"zhaoqike@163.com"
] | zhaoqike@163.com |
fdf9ccecd395623f4edf7f4b96d140c3c408a520 | eb8a3c494aca2dca624b8e6af0d72daec69a30bf | /shuttle.cpp | bce47bffcf58602dc4d9e872b4e1eecdae9b325a | [] | no_license | asand017/AirportShuttleModel | fdc70e78f986edaf7be6ae28c36b1b3ed6af42e6 | 372d1d4d7d6555432edf0a783f86bb6697c3ba99 | refs/heads/master | 2021-01-20T09:57:11.753306 | 2017-05-04T23:44:44 | 2017-05-04T23:44:44 | 90,310,859 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,231 | cpp | // Simulation of the Hertz airport shuttle bus, which picks up passengers
// from the airport terminal building going to the Hertz rental car lot.
#include <iostream>
#include "cpp.h"
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
#include <string>
#include <cmath>
#include <time.h>
#include <vector> // to... | [
"asand017@ucr.edu"
] | asand017@ucr.edu |
48ac890b6db8760f8892e6a9cb22dacc35c4221d | c5111c91943f467bc4de4bc2142d129f7eddeeeb | /clipp/null_consumer.cpp | c4a64166d63416f3dfc9a662c1aa24de2d714d5c | [
"LicenseRef-scancode-unknown-license-reference",
"Apache-2.0",
"LicenseRef-scancode-generic-cla"
] | permissive | orenyomtov/ironbee | 9ec91bdad60ab367543ae753a2152f2b27eef366 | 320064e17543665989b67f6187150a4a26cf00ef | refs/heads/master | 2021-01-22T15:00:42.739930 | 2015-07-24T18:04:34 | 2015-07-24T18:04:34 | 39,648,775 | 1 | 0 | null | 2015-07-24T17:55:39 | 2015-07-24T17:55:38 | null | UTF-8 | C++ | false | false | 1,241 | cpp | /*****************************************************************************
* Licensed to Qualys, Inc. (QUALYS) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* QUALYS licenses this file to You under ... | [
"calfeld@qualys.com"
] | calfeld@qualys.com |
9a6245c533f7bf484b20a0660ee310474ed4e999 | 94dcc118f9492896d6781e5a3f59867eddfbc78a | /llvm/lib/Target/Mips/MCTargetDesc/MipsTargetStreamer.cpp | c6bb84d3b02e967d1115bd93d99e5bad2293c18c | [
"Apache-2.0",
"NCSA"
] | permissive | vusec/safeinit | 43fd500b5a832cce2bd87696988b64a718a5d764 | 8425bc49497684fe16e0063190dec8c3c58dc81a | refs/heads/master | 2021-07-07T11:46:25.138899 | 2021-05-05T10:40:52 | 2021-05-05T10:40:52 | 76,794,423 | 22 | 5 | null | null | null | null | UTF-8 | C++ | false | false | 41,719 | cpp | //===-- MipsTargetStreamer.cpp - Mips Target Streamer Methods -------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | [
"fuzzie@fuzzie.org"
] | fuzzie@fuzzie.org |
511161fdd3c0523292b873187d42d7db747791ae | 0e396441486cb37be80550be4df3611c7b0de2d4 | /lw3/Beverages/Chocolate.h | 7b53b5b16934e3cb34ba93c5d2c02a3460d39445 | [] | no_license | minakovuri/ood | 5ad99731e7f88f8cb3c1472b2db16638b30b4fab | d4e49c8848e08bd518ceca8d0dd41237c5390caa | refs/heads/master | 2022-03-24T05:41:09.197447 | 2019-12-18T18:12:15 | 2019-12-18T18:12:15 | 205,739,403 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 558 | h | #pragma once
#include "Condiments.h"
const unsigned MAX_SLICES_COUNT = 5;
class CChocolate : public CCondimentDecorator
{
public:
CChocolate(IBeveragePtr&& beverage, unsigned slices = 1)
: CCondimentDecorator(move(beverage))
, m_slices(slices)
{
if (slices > MAX_SLICES_COUNT)
{
m_slices = MAX_SLICES_COUN... | [
"minakov_uri@mail.ru"
] | minakov_uri@mail.ru |
a7955e2117e58b9d213c8771b37d60778f906504 | 7660adaf1ae04e7c6ce38f2a1212081607d8416d | /TwoPotOneButton/TwoPotOneButton.ino | e179f236d0f360e35e4238da010786a332e0f1f7 | [] | no_license | hjlam1/SerialTestUnity2019.2 | 5c7b13ac72dd216ab9665201cf361d7c1018399a | 6eb87521db0603a4c4aec49185e65c65d755dfff | refs/heads/master | 2020-07-28T16:20:22.844046 | 2019-09-19T05:03:43 | 2019-09-19T05:03:43 | 209,463,543 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 320 | ino | int buttonPIN = 3;
int analogPINa = A0;
int analogPINb = A1;
void setup() {
Serial.begin(115200);
pinMode(buttonPIN, INPUT_PULLUP);
}
void loop() {
Serial.print(digitalRead(buttonPIN));
Serial.print(";");
Serial.print(analogRead(analogPINa));
Serial.print(";");
Serial.println(analogRead(analogPINb));
}
| [
"lamh657@newschool.edu"
] | lamh657@newschool.edu |
b22627ae75ee145542ec2e9b40d0a88220ebe3ea | 6e351c47c4d34e105909daeacc29fa8669ecc4eb | /libs/dungeon-generation-lib/src/bsp.cpp | 65a76e9dc2d2bd94cf05e31cea41677b02c9d58e | [] | no_license | ludamad/lanarts | 5820e267d140385955c6968d337748be2d79882f | 674bd96d3b917c85ba451ddd902ee46f93179355 | refs/heads/master | 2021-07-07T09:35:37.927137 | 2021-05-15T02:34:22 | 2021-05-15T02:34:22 | 4,853,686 | 5 | 3 | null | 2018-02-17T01:16:55 | 2012-07-01T21:53:11 | C++ | UTF-8 | C++ | false | false | 5,975 | cpp | /*
* libtcod 1.5.1
* Copyright (c) 2008,2009,2010,2012 Jice & Mingos
* 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
... | [
"domuradical@gmail.com"
] | domuradical@gmail.com |
a8c49ae0e36555dff53ca04de79a031a5d3d461f | 4352b5c9e6719d762e6a80e7a7799630d819bca3 | /tutorials/eulerVortex.twitch/eulerVortex.cyclic.twitch.test.test/processor0/1.07/T | ada8ce342f8128ae6d26978d5589c44c5d00b909 | [] | no_license | dashqua/epicProject | d6214b57c545110d08ad053e68bc095f1d4dc725 | 54afca50a61c20c541ef43e3d96408ef72f0bcbc | refs/heads/master | 2022-02-28T17:20:20.291864 | 2019-10-28T13:33:16 | 2019-10-28T13:33:16 | 184,294,390 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 16,621 | /*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: 6
\\/ M anipulation |
\*-------... | [
"tdg@debian"
] | tdg@debian | |
565bf6408d3c64de66a767145bb6d6fb855fac6b | 2154f4e8d2d091177b5bbcc962e28305109d4ff7 | /week-03/day-03/animals/Animals.cpp | f86748215ffb48c853b300fabf5f14bdbbe9203f | [] | no_license | green-fox-academy/vviktor807 | 0d4a8aef2ef568775dca94d3268f7a1ab650e4b1 | 6472f2bf06636647da565243071a03482007ed3f | refs/heads/master | 2020-05-04T11:24:11.395863 | 2019-06-20T15:03:32 | 2019-06-20T15:03:32 | 179,107,014 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 602 | cpp | //
// Created by Viktor on 2019. 04. 17..
//
#include "Animals.h"
Animals::Animals(int hunger, int thirst)
{
_hunger = hunger;
_thirst = thirst;
}
Animals::Animals()
{
_hunger = 50;
_thirst = 50;
}
int Animals::getHunger()
{
return _hunger;
}
int Animals::getThirst()
{
return _thirst;
}
vo... | [
"viktor.varga807@gmail.com"
] | viktor.varga807@gmail.com |
8aba67215a3e7e0e37cc0ed680e324ae8ebd4e28 | f6571c1c8992c21bd2fdbc3009ada9863a777a15 | /src/Matrix.cpp | 932550aaa53dda1a1b0b3fdec15f08b26cef1647 | [
"LicenseRef-scancode-unknown-license-reference",
"NCSA"
] | permissive | maxscheurer/orcavmd | 0f3af216eed2a05ab05bb2b12f77c54a71626ab1 | 008504d541050a0884682e4f7e7d9f86434ecf1a | refs/heads/master | 2021-01-19T08:24:42.672704 | 2018-03-25T19:35:08 | 2018-03-25T19:35:08 | 87,625,710 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,801 | cpp | // Class for Matrix calculations of arbitrary size, used in orcaplugin
// Matrix.cpp
//
#include "Matrix.h"
using namespace std;
double Matrix::stringToDouble(std::string& s)
{
istringstream i(s);
double x;
if (!(i >> x))
return 0;
return x;
}
double** Matrix::parseInput(std::string input)
{... | [
"max.scheurer@me.com"
] | max.scheurer@me.com |
bbdd9cd78f54f612ef37d487f4170a0b054ac550 | 9f60ce25f6967550d5b5918aec361055048a3af3 | /Zambies!/Project14/Source.cpp | c7c38d3fc86a0e09448cb7cb1fafc84a995ffde7 | [] | no_license | AustinMorrell/Homework | 61c9ae25c2e81626a3e6305aea39cdfc1e9e0dab | 89488bb7d8d314f4433da7bb4aa13ca53c6b97ad | refs/heads/master | 2020-06-02T01:23:49.124465 | 2015-09-29T14:02:04 | 2015-09-29T14:02:04 | 41,000,367 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,289 | cpp | ////////////////////////////////////////////////////////////////
//Austin Morrell//
//Septemper 9th 2015//
//September 14th 2015//
//Wumpus World Problem//
///////////////////////////////////////////////////////////////
#include <iostream>
#include <string>
#include <fstream>
#include <math.h>
using namespace std;
... | [
"austinlm19@gmail.com"
] | austinlm19@gmail.com |
c8912d23640ca41dc6a2b93b6395883c5c0fdfa7 | c83050730f8d518e3a5689f9d27098fab55bdb32 | /NCTUBINUS/gen.cpp | 20cadd98984f7e542b61c26c5e3fabd5515a5a4f | [] | no_license | NCTU-Kemono/Practice | 5cfed2ea2b69cea1362d78de9667f048a4cf0dc7 | 615a56290da8f7e24fa2f62dd0a9c18de96d28f4 | refs/heads/master | 2021-07-16T12:34:03.946642 | 2018-12-05T05:21:57 | 2018-12-05T05:21:57 | 137,240,180 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 291 | cpp | #include <bits/stdc++.h>
using namespace std;
int main() {
srand(time(NULL));
int t = 100; cout << t << '\n';
while (t--) {
int n = 10; cout << n << '\n';
for (int i = 0 ; i < n ; i++)
cout << rand() % 1000000000 << ' ';
cout << '\n';
}
}
| [
"s1357andy871207@gmail.com"
] | s1357andy871207@gmail.com |
2ddd94b3a0c45e7a506ba832877dad7efd579860 | 67ed24f7e68014e3dbe8970ca759301f670dc885 | /win10.19042/System32/musdialoghandlers.dll.cpp | e46f6c992f92958dfac5d2b8e34151d293573990 | [] | no_license | nil-ref/dll-exports | d010bd77a00048e52875d2a739ea6a0576c82839 | 42ccc11589b2eb91b1aa82261455df8ee88fa40c | refs/heads/main | 2023-04-20T21:28:05.295797 | 2021-05-07T14:06:23 | 2021-05-07T14:06:23 | 401,055,938 | 1 | 0 | null | 2021-08-29T14:00:50 | 2021-08-29T14:00:49 | null | UTF-8 | C++ | false | false | 230 | cpp | #pragma comment(linker, "/export:DllCanUnloadNow=\"C:\\Windows\\System32\\musdialoghandlers.DllCanUnloadNow\"")
#pragma comment(linker, "/export:DllGetClassObject=\"C:\\Windows\\System32\\musdialoghandlers.DllGetClassObject\"")
| [
"magnus@stubman.eu"
] | magnus@stubman.eu |
39af4a8b4f63d253c3e67bd01ab204d809f84a2d | aec141bfdb7c4e51281c1aef7b706748932e58d5 | /Katya/edem/api/Api/Core/NExternalForceTypesV3_0_0.h | e0cca966071efe62203efcd719bc5f99908e6f34 | [] | no_license | kystyn/different | e4e72ece48022d7789da2a6b0598f57c5bce386f | e82e99032abbe8f4f1dc92f161b82c959c88dcae | refs/heads/master | 2022-12-12T22:38:49.869942 | 2022-12-07T08:40:26 | 2022-12-07T08:40:26 | 235,436,448 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,066 | h | #ifndef NEXTERNALFORCETYPESV3_0_0_H
#define NEXTERNALFORCETYPESV3_0_0_H
#include "HelpersV3_0_0.h"
namespace NExternalForceTypesV3_0_0
{
/**
* This struct represents particle element, which is used to modify particle body forces (such as electromagnetic or drag forces).
*/
struct SParticle... | [
"konstantindamaskinskiy@gmail.com"
] | konstantindamaskinskiy@gmail.com |
a3f47fced667a2c7e7e9dfa97da41e0c5a1bfded | 34b3623dbd185b9d8e6bc5af787ff656ebb8f837 | /finalProject/results/test/test_lowRe/wedge/wedge1/39/phi | 4897d070931a4547f5f68586e3aef5f80e671a8c | [] | no_license | kenneth-meyer/COE347 | 6426252133cdb94582b49337d44bdc5759d96cda | a4f1e5f3322031690a180d0815cc8272b6f89726 | refs/heads/master | 2023-04-25T04:03:37.617189 | 2021-05-16T02:40:23 | 2021-05-16T02:40:23 | 339,565,109 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 379,691 | /*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: 7
\\/ M anipulation |
\*-------... | [
"kmeyer299@gmail.com"
] | kmeyer299@gmail.com | |
11cee4f4410bbc3be0b22bf27dd713ea9bef90d8 | 2c37c298a494ed37bff11b0b240371eaba6575b7 | /0143/main.cpp | 8ed9641c1ae88656da6aad994a93b71ba12b4eec | [] | no_license | chichuyun/LeetCode | 04ec78bf5b05d4febfd8daff5e0e0145cfcfacf4 | 44752f2b58cd7a850b8e02cd3735f93bb82bcb85 | refs/heads/master | 2021-06-04T11:03:04.297131 | 2020-11-19T14:48:32 | 2020-11-19T14:48:32 | 148,440,792 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,093 | cpp | /**
* Definition for singly-linked list.
* struct ListNode {
* int val;
* ListNode *next;
* ListNode(int x) : val(x), next(NULL) {}
* };
*/
class Solution {
public:
void reorderList(ListNode* head) {
int len=0;
ListNode *p = head;
while(p) {++len; p = p->next;}
int... | [
"442307054@qq.com"
] | 442307054@qq.com |
f92511647b1dc8c9ad14b58252f172df050f291e | 8be023f90d9a18f4917af4bba8fb31230df3df2a | /SigLog_MibLib/ip-mib/data_access/ipaddress_common.cpp | 454d60b9dc8785d81b463edea3677741fe217074 | [] | no_license | duniansampa/SigLog | d6dba1c0e851e1c8d3aef3af4bb85b4d038ab9c9 | 3dae0e42a36ebc5dca46fb044d3b1d40152ec786 | refs/heads/master | 2021-01-10T12:25:17.511236 | 2016-03-12T18:38:19 | 2016-03-12T18:38:19 | 44,571,851 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,310 | cpp | /*
* Ipaddress MIB architecture support
*
* $Id$
*/
#include <siglog/net-snmp-config.h>
#include <siglog/net-snmp-includes.h>
#include <siglog/agent/net-snmp-agent-includes.h>
#include <siglog/data_access/ipaddress.h>
#include <siglog/data_access/interface.h>
#include "ip-mib/ipAddressTable/ipAddressTable_consta... | [
"duniansampa@outlook.com"
] | duniansampa@outlook.com |
4dbcf0d0809a68af5689fb3efbf61d96aaab0c98 | f6cf2a73274025b4e2e7b2a44c3e303041fd1c54 | /ComponentFramework1.0 Bullet/ComponentFramework/MaterialManager.h | dfc8d40ea87066776f0c1d54c2515461ae987bb2 | [] | no_license | Rynold/MayneGameEngine | 6c23342506dc0cd417a8e31e1b9d0bc55f3492e9 | b19267eefae67d4d0fdb0c008922ad31d5d3658a | refs/heads/master | 2020-05-20T06:01:17.872133 | 2016-04-27T03:53:46 | 2016-04-27T03:53:46 | 51,024,569 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 412 | h | #ifndef MATERIALMANAGER_H
#define MATERIALMANAGER_H
#include <map>
#include "Material.h"
class MaterialManager
{
public:
static MaterialManager* GetInstance();
void Insert(const char* path, Material* mat);
Material* Contains(const char* name);
void Delete();
private:
MaterialManager();
~MaterialManager();
... | [
"Ryan_P_Mayne@hotmail.com"
] | Ryan_P_Mayne@hotmail.com |
35d9dc9c4c53cc98cf74cd416dfb712dae33e1b5 | 60afbb6676cd148e1de81075a6c290f9de3f968e | /asio/daytime_server_async.cpp | edbcbc0e24d95e5e0071ebd6add61b144bd573ae | [] | no_license | SebastianElvis/cpp-learn | 38c6f064475a61739a0fb33f0caf8eba9520b475 | 7d1a6314b186872d41baf32d877bd8ead9560257 | refs/heads/master | 2021-09-16T23:04:58.737761 | 2018-06-25T20:37:46 | 2018-06-25T20:37:46 | 113,498,117 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,437 | cpp | //
// server.cpp
// ~~~~~~~~~~
//
// Copyright (c) 2003-2017 Christopher M. Kohlhoff (chris at kohlhoff dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
#include <ctime>
#include <iostream>
#include <... | [
"408063141@qq.com"
] | 408063141@qq.com |
fcfe3bd6ea8184a3edcfc703bf26767d3b5b2410 | 973a6943b3c5fc76696064819cc06acbfc5fd049 | /src/graphics/BaseSprite.cpp | 494774d38052da416e660ab2be2923c94e9ea863 | [
"MIT"
] | permissive | Alex-doc/nCine | a8a5fb59d36532886f530d3bde384fd8a6707a52 | 985bc37f3a312a1f4ccfdb12331d9e5a1544eadc | refs/heads/master | 2022-05-24T13:14:04.295248 | 2019-10-17T14:31:49 | 2019-10-20T22:03:01 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,391 | cpp | #include "BaseSprite.h"
#include "RenderCommand.h"
namespace ncine {
///////////////////////////////////////////////////////////
// CONSTRUCTORS and DESTRUCTOR
///////////////////////////////////////////////////////////
/*! \note The initial layer value for a sprite is `DrawableNode::SCENE_LAYER` */
BaseSprite::Base... | [
"encelo@gmail.com"
] | encelo@gmail.com |
752dcec10976420b55a86c33c17de06766571dd6 | 344698fe022c42c25074328cea0437945658e554 | /3_Sort/3-6-1_SortColors.cpp | 289e760dab7041bc44b4d3c4375c9726bddd311d | [] | no_license | cotecsz/WayOfOffer-Phase2 | 249dd39f7c4ea41cc4266004e317fd6e075d85bf | 75c6cc73fe100f5c48912d64e4609751e01f9625 | refs/heads/master | 2023-02-05T12:15:23.958782 | 2020-12-21T04:08:15 | 2020-12-21T04:08:15 | 313,908,739 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 535 | cpp | //
// Created by dream on 2020/11/24.
//
#include <vector>
using namespace std;
class Solution {
public:
void sortColors(vector<int> &nums) {
int less = -1;
int more = nums.size();
int index = 0;
while (index < more){
if (nums[index] == 0){
swap(nums[in... | [
"dreamre21@gmail.com"
] | dreamre21@gmail.com |
327318408443f864e6e7bcedce1b1edc2c562895 | 6b652479502d96db0ca9edf9c590ce8170ed982e | /Project6/Level1.cpp | 48fca86aa4c47d5b0bcb5fe9d17c2c465dff52f3 | [] | no_license | LonghamBridge/CSUY3113 | ed208fce93559ecb7c01ae98bc37f5de220956d7 | 7c5869da05ca658d537713144bacca598daacc0b | refs/heads/master | 2023-01-30T11:48:48.536908 | 2020-12-15T04:15:25 | 2020-12-15T04:15:25 | 288,581,445 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,658 | cpp |
#include "Level1.h"
#define LEVEL1_WIDTH 40
#define LEVEL1_HEIGHT 8
#define LEVEL1_ENEMY_COUNT 41
unsigned int level1_data[] =
{
0, 1, 1, 1, 1, 1, 1, 1, 3, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 3, 1, 1, 1, 1, 1, 0, 1, 1, 1, 3,
14,5, 5, 5, 5, 5, 5, 5, 17,5, 5, 5, 5, 5, 5, 5... | [
"lawrencexue26@gmail.com"
] | lawrencexue26@gmail.com |
70bf93baadb1fead7016e0d920471258ad3f3b4b | 2788cb3ad63bafea870441fb99a619cbffa43698 | /source/interface/bci.hpp | 162a8e6c1ac4cf08a2f704f8a6f690b67cc265e6 | [
"MIT"
] | permissive | tfussell/cort | 166e276e3f9953ff23db0dd60ba9904226bbe362 | bf548aaeab0dfca9a88afaa0c5420270622f4a0d | refs/heads/master | 2021-01-17T07:04:05.977669 | 2016-03-25T06:45:06 | 2016-03-25T06:45:06 | 28,144,991 | 7 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,557 | hpp | /*
The MIT License (MIT)
Copyright (c) 2006-2016 Thomas Fussell
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
to use, copy, modify, ... | [
"thomas.fussell@gmail.com"
] | thomas.fussell@gmail.com |
2ea0c3b65468c5cfc3465d55d36c2bf6db099747 | c87ab47fad0bee293c49c7f4f35aed25bd898ae5 | /source/hydra_next/source/graphics/gpu_device_vulkan.cpp | d115f3a21bda952f58c023c42a366fd0f48be9f4 | [
"Zlib"
] | permissive | swordow/DataDrivenRendering | 555443db2f5463a13e3671d7061991ddc6df9f4d | 2a1f1cb7be091d128c20c0c583c71c04395302a8 | refs/heads/master | 2023-08-15T18:40:38.518904 | 2021-10-26T22:27:12 | 2021-10-26T22:27:12 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 131,264 | cpp | #include "graphics/gpu_device_vulkan.hpp"
#include "graphics/command_buffer.hpp"
#include "kernel/file.hpp"
#include "kernel/process.hpp"
#include "kernel/hash_map.hpp"
#if defined(HYDRA_VULKAN)
template<class T>
constexpr const T& hydra_min( const T& a, const T& b ) {
return ( a < b ) ? a : b;
}
template<class... | [
"gsassone7@gmail.com"
] | gsassone7@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.