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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
222ee0bfd5d5ea6774181bb6b6231300e8da9fb5 | 58a36a74e92779c6550bbadae9db9e3c71845dfe | /csci111/labs/lab_3/lab3.cpp | 13a741fb3723024d496163193d57fcda31121891 | [] | no_license | spencermcw/Code | 9b34c2c11aa5b1cd4371ea074fa9220bcfdfe660 | 56cec1000602d2a4b83a085b2a7afd7ad3432016 | refs/heads/master | 2021-01-21T13:15:05.513865 | 2016-04-23T01:37:25 | 2016-04-23T01:37:25 | 56,894,455 | 0 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 106 | cpp | #include <iostream>
using namespace std;
int main()
{
cout << "Hello there world!\n";
return 0;
}
| [
"Spencer@Spencers-MacBook-Pro-2.local"
] | Spencer@Spencers-MacBook-Pro-2.local |
9fbd15a460c034f30d9b505608bfd06f2604a797 | cffc460605febc80e8bb7c417266bde1bd1988eb | /before2020/UVa_ACM/103 - Volume CIII/UVa 10311(prime).cpp | 0f907d4ae0e8911bd96a880674f0682b8a1c0aff | [] | no_license | m80126colin/Judge | f79b2077f2bf67a3b176d073fcdf68a8583d5a2c | 56258ea977733e992b11f9e0cb74d630799ba274 | refs/heads/master | 2021-06-11T04:25:27.786735 | 2020-05-21T08:55:03 | 2020-05-21T08:55:03 | 19,424,030 | 7 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 992 | cpp | /**
* @judge UVa
* @id 10311
* @tag Prime
*/
#include <stdio.h>
#include <math.h>
#include <iostream>
#include <map>
#include <math.h>
using namespace std;
map<int, int> M;
inline int isprime(int x)
{
if (x < 2) return 0;
if (M[x]) return M[x] > 1;
int y = sqrt((double) x);
for (int i = ... | [
"m80126colin@gmail.com"
] | m80126colin@gmail.com |
7d6fbdd7118ab2b8f7bb6013636cd0fd7fa505bc | 425eb72d3d8dc0492c649e0a29f757c3e9750d78 | /Source/GUI/AppMenu/Formats/Scrolling/AppMenu_Scrolling_InputHandler.cpp | b9198f47900bb23d3bd2528f2e0a4e0615676b2b | [] | no_license | centuryglass/Pocket-Home-Bismuth | 76a79a6d72d17253e1fe5c4702dc77a462a46f13 | c5cc2703f6176e97416e51877a6484b0ebd6b872 | refs/heads/master | 2022-06-18T18:27:16.736586 | 2022-06-02T16:13:01 | 2022-06-02T16:13:01 | 112,958,912 | 36 | 9 | null | 2022-06-02T16:13:02 | 2017-12-03T19:57:34 | C++ | UTF-8 | C++ | false | false | 4,385 | cpp | #define APPMENU_IMPLEMENTATION
#include "AppMenu_Scrolling_InputHandler.h"
#include "AppMenu_Scrolling_FolderComponent.h"
#include "AppMenu_Scrolling_MenuComponent.h"
#include "Layout_Transition_Animator.h"
// Initializes the InputHandler, setting it to handle the menu component's
// input events.
AppMenu::Scrolling::... | [
"anthony0857@gmail.com"
] | anthony0857@gmail.com |
e096212da7e1b95d1fba9ea281436eaf20f4a330 | ec3a754ac21137a04250ef7dc9e5152e94fb7bd3 | /damBreakFine/0.75/U | 66154faa5c698d84f0f5ede7072fb5b5cd1fb868 | [] | no_license | johnathoncobabe/425 | 2336a62cd0f575b777cd549a886a15b5799b6c72 | e1ee61fb87a1078683d71a1d15131713c435cfae | refs/heads/master | 2021-01-10T10:00:11.128510 | 2015-10-02T17:54:40 | 2015-10-02T17:54:40 | 43,466,206 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 225,427 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.4.0 |
... | [
"johnathoncobabe@gmail.com"
] | johnathoncobabe@gmail.com | |
dd06bd541fdc49ea4ed01ed6e83953a333fd7797 | 7c9240f53aad5d0be468eb5cfd4fa2c92583aa1a | /SourceCodes/FBCaptureSDK/Audio/IAudioCapture.cpp | fb87c7cf5b1a5022bd216650b182e78778669e3f | [
"BSD-3-Clause"
] | permissive | facebookarchive/360-Capture-SDK | 76ba6b865d12320754614b7bfec74a917a49011d | 3a74ce2658984fa768fe803e77c56788dae4c9d9 | refs/heads/master | 2021-10-10T20:36:43.189478 | 2019-01-16T20:22:43 | 2019-01-16T20:22:43 | 86,860,847 | 26 | 18 | null | null | null | null | UTF-8 | C++ | false | false | 1,748 | cpp | /*
* Copyright (c) 2014, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
*/
#include "IAudioCap... | [
"homin.lee@oculus.com"
] | homin.lee@oculus.com |
96cd56b732b25a1353e917fde001ddc23764cdd7 | afc067cc21eb8058a93e9c4f9af1d648e22ce9b8 | /hyphy-src/src/core/category.cpp | 369b7c695e3c350092eb128abb04b87fba5a6b27 | [
"MIT"
] | permissive | veg/hyphy-python | 76c0ea7d6a6a30735903b1182327762d64cc104a | 6f3e2d19bafe27d0b8a6626201a3326022010811 | refs/heads/master | 2023-05-25T19:00:26.404623 | 2023-05-15T19:17:33 | 2023-05-15T19:17:33 | 39,527,089 | 0 | 1 | NOASSERTION | 2023-05-25T02:19:32 | 2015-07-22T19:52:43 | C++ | UTF-8 | C++ | false | false | 44,699 | cpp | /*
HyPhy - Hypothesis Testing Using Phylogenies.
Copyright (C) 1997-now
Core Developers:
Sergei L Kosakovsky Pond (spond@ucsd.edu)
Art FY Poon (apoon@cfenet.ubc.ca)
Steven Weaver (sweaver@ucsd.edu)
Module Developers:
Lance Hepler (nlhepler@gmail.com)
Martin Smith (martin.audacis@gmail.com)
Signific... | [
"sweaver@temple.edu"
] | sweaver@temple.edu |
1af40286b13fadb5e4dd1c71844407a2638bda89 | 08d8a9ffeabacbe3fd0d770ab679ff9bd4e63ba0 | /Demo/SimpleClient/ThreadSimpleClientSocket.cpp | 1fb3cc74b25ceba8adc518563970ae4d3db737eb | [] | no_license | 99nails/threader | 2bf8ac8dc51ccc2970f3b9586c12e55376239e3b | 45b1d084ddd1167ca6ba9462173b89659f08df78 | refs/heads/master | 2023-03-28T17:17:48.157932 | 2021-04-01T15:35:09 | 2021-04-01T15:35:09 | 353,737,215 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,706 | cpp | #include "ThreadSimpleClientSocket.h"
#include "../Common/Logs/LogMessagesTemplatesDemo.h"
#include "../../Threads/HandlerTcpSocket.h"
#include "../../Utils/SocketUtils.h"
#include "../../Utils/DateUtils.h"
ThreadSimpleClientSocket::ThreadSimpleClientSocket(IMessageSubscriber *parent,
... | [
"maxx0@mail.ru"
] | maxx0@mail.ru |
b351cfc1934636acf1d7198654b4c920544cdb62 | 0dbefdf1d366ee330686201ee8ca8e7ae81215a6 | /CoreVRTemplate/Source/CoreVRTemplate/Private/UI/Widget3DBase.cpp | ea0b7f079e1a20c0f95514f5b42f860b66a3ad22 | [] | no_license | Mukudori/VRInputTemplatePlugin | c348522f65aede0d1b1461211adb62bc2d0eefe3 | a3791eca85f1e4578478cbbe23de25d02acb61ae | refs/heads/master | 2023-03-18T05:28:01.913859 | 2021-03-12T08:06:59 | 2021-03-12T08:06:59 | 346,988,717 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,652 | cpp | // Fill out your copyright notice in the Description page of Project Settings.
#include "UI/Widget3DBase.h"
// Sets default values
AWidget3DBase::AWidget3DBase()
{
// Set this actor to call Tick() every frame. You can turn this off to improve performance if you don't need it
PrimaryActorTick.bCanEverTick = true... | [
"vuramu@outlook.com"
] | vuramu@outlook.com |
68de4bb632508e654e684a2ab5c03b154be9512c | a55bb3c17399e44cad6ad58f5b53f372e46da264 | /codes/Human/src/lib.cpp | e895b8b35b8ffac7898532be6f17ebae9315e36a | [] | no_license | Ziaeemehr/Frontiers2021 | 92f7913285cfccaa8d91ce6853c83bc4f55e8f93 | c27f722757b3692e50fea4011af54cd2853976dc | refs/heads/master | 2023-03-25T02:41:51.862301 | 2021-03-24T07:12:26 | 2021-03-24T07:12:26 | 334,370,991 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,234 | cpp | #include "lib.h"
Eigen::MatrixXd read_matrix(int Node, std::string filename)
{
using namespace Eigen;
std::ifstream ifile(filename);
if (fileExists(filename))
{
dim2 Cij(Node, dim1(Node));
for (int i = 0; i < Node; i++)
{
for (int j = 0; j < Node; j++)
... | [
"a.ziaeemehr@gmail.com"
] | a.ziaeemehr@gmail.com |
7ee129ea72d20649cafe7ee2aac6c2900c81e458 | e3ef18f3123e881d597052a4f79ef1ff0e33478d | /src/WiFiConnectionManager.cpp | 54a7ec31860336f29b77ff2b51962d877ab8f26a | [] | no_license | hoangnguyen205/hvn205 | 97c40763522ef4558d2a27a4e6f8af650f3c899b | af22f221379283c6c8bc7ec7b7059b38f9daf5ff | refs/heads/master | 2023-04-06T05:19:25.101254 | 2021-04-25T02:12:16 | 2021-04-25T02:12:16 | 361,126,726 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,704 | cpp | #include "WiFiConnectionManager.h"
#include "HTTPUpdate.h"
#include "ESP32Ping.h"
#include "WiFiManager.h"
#include "esp_task_wdt.h"
const char* serverUrl = "http://airsense.vn:3030/firmware_v3.bin";
static unsigned long last_check_wifi_status = 0;
static unsigned long last_reconnect_wifi = 0;
static unsigned long t... | [
"nguyen.hv172728@gmail.com"
] | nguyen.hv172728@gmail.com |
3c6630db7e0d835fc02457449cbd19578bc980f2 | abd8c67768f4b9fd2a3144fb946382ad706190e2 | /other_code/2019.8.27/RBTree.cpp | fba5d3887306a26d21c1feffed209cb5a8b30abd | [] | no_license | ALXlixiong/day_code | 0647ad9f910087568184c62031dda784756ff143 | 4bde28e7023e6de19d15d4000b56254d71079ffd | refs/heads/master | 2020-05-04T06:21:05.375883 | 2019-09-18T13:25:38 | 2019-09-18T13:25:38 | 179,003,935 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 192 | cpp | #include <iostream>
#include <vector>
#include "RBTree.hpp"
int main()
{
RBTree<int> b;
std::vector<int> v{ 16, 3, 7, 11, 9, 26, 18, 14, 15 };
for (auto e : v)
b.Insert(e);
return 0;
}
| [
"2749811373@qq.com"
] | 2749811373@qq.com |
bfa061605e8442a51dc1b93a5d0e1a9ec9ccbd69 | 70eee34c50992d41118a85469ea6d9d590d48038 | /examples/dash-migrationLTE.cc | 566c5303204fb2aed0de9b299d3cc07ce974ab03 | [] | no_license | D3F3R4L/D2D-Video-Caching | 1fce233bf38cbcce982afe07820406be3ea73cbb | 2763fdac790d5bec94b4e7240c4bb08bdd518eea | refs/heads/master | 2023-02-24T22:36:41.284277 | 2021-02-01T19:10:06 | 2021-02-01T19:10:06 | 274,766,402 | 2 | 1 | null | 2021-02-01T19:10:07 | 2020-06-24T20:47:13 | C++ | UTF-8 | C++ | false | false | 52,328 | cc | /* Adapted from haraldott project
* Author: fabioraraujo */
// - TCP Stream server and user-defined number of clients connected with an AP
// - WiFi connection
// - Tracing of throughput, packet information is done in the client
#include "ns3/point-to-point-helper.h"
#include <fstream>
#include "ns3/core-module.h"
#i... | [
"derian.sobral@gmail.com"
] | derian.sobral@gmail.com |
ef93fd5354b9f7c4cb56139075b500af1676c852 | 34626fa16da7f909826a0ddba535f90760d9326c | /cpp/main.cpp | 3196f33c95190ac6e44acaaa3f25bb050e3b0b1e | [] | no_license | lennyferguson/MachineLearningLangs | db34f3269050cd6a52b3948d1bcd14afbd78bb3d | 4f21ca53c5520ce79e4e650b88a003c2084dac3c | refs/heads/master | 2020-06-10T06:25:17.762156 | 2016-12-12T05:04:11 | 2016-12-12T05:04:11 | 76,054,693 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 943 | cpp | #include "nvec.h"
#include <iostream>
#include <cassert>
using namespace std;
using namespace ML;
/* Testing Functions */
int main() {
// Use Variadic Constructor!
MlVecD a(1.0,1.0,1.0,1.0);
// Or use Initialize List!
MlVecD b = { 2.0, 3.0, 4.0, 5.0 };
assert(a == a && b == b);
assert(a != b && b != a);... | [
"trio.of.four@gmail.com"
] | trio.of.four@gmail.com |
626484b934c14c04eefad43597c4f6acb00d0d28 | 3bc3e4a0f630c1c5caf3624b5317b87aeaabaf47 | /diantiguanlixitong2/debug/moc_remark.cpp | 0616a1adb997fb38383a85dd5f6d7ede74589f34 | [] | no_license | bluege/diantiguanlixitong | 6db2be1609dfe8d48fc4ca2a122eb5a6ebcd5140 | 6899a79364a033aae0a21331ebf7bc20854b95fc | refs/heads/master | 2021-07-01T09:11:50.542966 | 2017-09-18T09:30:10 | 2017-09-18T09:30:10 | 104,162,334 | 0 | 0 | null | 2017-09-20T03:44:38 | 2017-09-20T03:44:38 | null | UTF-8 | C++ | false | false | 3,262 | cpp | /****************************************************************************
** Meta object code from reading C++ file 'remark.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.7.0)
**
** WARNING! All changes made in this file will be lost!
**************************************************************... | [
"674886842@qq.com"
] | 674886842@qq.com |
2e97afaa3d95044bf0bd92c23bd03bd5e394f624 | e431a1685ace7e541da641d9005195db89cb1b6f | /368_v1.cpp | 0dc7db41ed3930af6ff871f966aaf1fe98e45aec | [] | no_license | jianminchen/LeetCode-17 | 7f82230be3510fdfb60847bcee521e6796b33ea9 | 68080d07819bf81823a0c9d25ec84f2a19d422a6 | refs/heads/master | 2021-01-19T07:07:30.481800 | 2016-07-17T08:08:56 | 2016-07-17T08:08:56 | 67,087,459 | 1 | 0 | null | 2016-09-01T01:35:35 | 2016-09-01T01:35:34 | null | UTF-8 | C++ | false | false | 1,130 | cpp | /*
368_v1.cpp
Largest Divisible Subset
My first submission got WA. I didn't think too much about the initialization
part so I just went ahead and memset the two arrays f and prev as 0. This
apparently is incorrect since f[] at least can be 1.
*/
class Solution {
public:
vector<int> largestDivisibleSubset... | [
"phoenixinter@gmail.com"
] | phoenixinter@gmail.com |
bfba9c8c2503515c9e4dfc22123a821d0a293f37 | 4b9848f1a9496af06c9a8c8acebed34129d6a712 | /testing/test_sort/sort.h | 2f90fba6400192e7c4312a009343ee675fcf8c57 | [] | no_license | zcorvid/stalg | 8bf2e06d72078c96d4aec5158fd24732ba64166f | 99fbd625e99e784025f70402c08260fa84c76711 | refs/heads/master | 2022-12-03T02:42:03.194003 | 2020-08-21T12:46:05 | 2020-08-21T12:46:05 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 172 | h | #include <algorithm>
#include "stalgsort.h"
template<class RandomIt>
void tst_sort(RandomIt begin_it, RandomIt end_it)
{
CombSort(&(*begin_it), end_it - begin_it);
}
| [
"blackzabeth@yandex.ru"
] | blackzabeth@yandex.ru |
0537340e917e37a0b12917f75c16fa76be3df6de | 7d445799f32995d24bcffa79784175314bcbc922 | /DynamicProgramming/DynamicProgramming/Thief.cpp | 7d02b668c3f27f19596f7978d7b94fd8d81dacd7 | [] | no_license | kimhyeyun/Programmers | 2c73280eb9b2960835071e33e7c9bd5c992c159e | b3d9aa4b22a2313ff9ddef8b060cba3d70c6d899 | refs/heads/master | 2022-12-30T09:16:35.723658 | 2020-10-20T03:34:18 | 2020-10-20T03:34:18 | 287,903,433 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 661 | cpp | #include<iostream>
#include <string>
#include <vector>
using namespace std;
int solution(vector<int> money) {
vector<int> dp1(money.size() - 1);
vector<int> dp2(money.size());
//출발점
dp1[0] = money[0];
dp1[1] = money[0];
for (int i = 2;i < money.size() - 1;i++)
dp1[i] = max(dp1[i - 1],... | [
"cqqwer@gmail.com"
] | cqqwer@gmail.com |
804dbfc81db5c860993dd1af9e59e7dafc22e378 | a8bc07f102ec1383f4e79e7e3ba13b1ec659de0d | /Source/GIS/LevelSet.h | 6fdd791201dc6a1aec6e9285a03ac3fb131251d8 | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | hustztz/Urho3D | 19c2767910de18d6ab3056743467c16868220da5 | 90abf7d8f176da9f9b828bb7ea9f46d1058ed009 | refs/heads/master | 2020-03-10T04:40:04.173866 | 2018-08-29T08:16:24 | 2018-08-29T08:16:24 | 129,197,648 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 658 | h | #pragma once
#include "ElevationConfig.h"
#include "Level.h"
#include "Sector.h"
#include "LatLon.h"
#include <vector>
namespace GIS
{
class LevelSet
{
public:
LevelSet(ElevationConfig & config);
const Sector & GetSector() const noexcept;
const Level & GetLevel( int index ) const;
Level & GetLevel(in... | [
"ztz_mai@163.com"
] | ztz_mai@163.com |
3b0533f95549d2db86f61639a1f04452ba887ec1 | 7faeb9b6b0397935a7a529ebd5afccc968e27bc5 | /Исходные файлы/animal.h | 3ba13c4d3060930b8144e17e8c2e7bfd5332a1da | [] | no_license | VarZagus/Dekstop-Animal-World-DB | ef84d5981d1bcbda56a1ba998b898320bdf860a0 | 113ef17f252fead7b85997a9532ed03c29c00724 | refs/heads/main | 2023-05-24T10:15:44.311210 | 2021-06-15T23:04:40 | 2021-06-15T23:04:40 | 377,309,236 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 621 | h | #ifndef ANIMAL_H
#define ANIMAL_H
#include <QString>
#include <vector>
#include <fstream>
#include <QFile>
#include <QTextStream>
using namespace std;
struct animal{
QString _class;
QString otrad;
QString semestvo;
QString vid;
};
class Animals{
private:
vector<animal> data;
public:
Animals(QFil... | [
"69350747+VarZagus@users.noreply.github.com"
] | 69350747+VarZagus@users.noreply.github.com |
4e5fd845cb4fda89a62000b8c00bda5b9862423a | 53e04366a96e17b01ad481353e679defac954d7a | /src/calculator/sample.calculator/DivideImpl.h | 07eb016e1a4c10093d454b1012f4654fe6fbb3a5 | [] | no_license | maxdebayser/nativesca | 15704f7c84bc6aedd7809c5c0c117b4fc4d95373 | f883669dbf01dcdfa043f724ee607f5419f585df | refs/heads/master | 2016-09-06T01:16:19.896177 | 2013-03-18T03:20:17 | 2013-03-18T03:20:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,163 | h | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... | [
"maxdebayser@gmail.com"
] | maxdebayser@gmail.com |
0feda7bbfcc8a34f787e578ea74b3cb4cf462062 | 260774d6182ed7f0309636869abb9a0a32ea50ed | /Neat/src/Neat/Math/Types/TypeQuaternion.h | a24a16d17eb750d42c4bb6791688b505587203df | [
"Apache-2.0"
] | permissive | gabrieldinse/Neat | ff44be0dcd2570cddc50945f74918b262ac0df4e | c242378fdbd5b553b368196bd0baffc7cdfede6f | refs/heads/master | 2022-11-11T05:36:56.183743 | 2020-07-01T23:30:28 | 2020-07-01T23:30:28 | 261,851,463 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,754 | h | #pragma once
#include "Neat/Math/Types/TypeVectorN.h"
#include "Neat/Math/Types/TypeMatrixMxN.h"
namespace Neat
{
template <typename T>
struct Quaternion
{
using Type = Quaternion<T>;
using ValueType = T;
// Class data
union
{
struct { T w, x, y, z; };
struc... | [
"gabriel_dinse@hotmail.com"
] | gabriel_dinse@hotmail.com |
0b9d9cc1be8bf5cf37a3c5b89a6295a92106be4b | 2c316b08080767efa44b583ee40b16020d16df68 | /src/lib/Prefab.cpp | be9cd1ab1b0f845badeac51dfe974ecba12b68df | [
"MIT"
] | permissive | bmjoy/UniEngine-1 | e87f31c18bc99053b1d5f9310dfa8053872d91f7 | 5f9770e086a8382bff3a3d3e9f048aee284e26e5 | refs/heads/main | 2023-07-10T06:42:30.998172 | 2021-08-22T23:37:52 | 2021-08-22T23:37:52 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 52,601 | cpp | #include <Application.hpp>
#include <AssetManager.hpp>
#include <DefaultResources.hpp>
#include <EditorManager.hpp>
#include <Gui.hpp>
#include <MeshRenderer.hpp>
#include <Prefab.hpp>
#include <RenderManager.hpp>
#include <SerializationManager.hpp>
#include <SkinnedMeshRenderer.hpp>
#include <Utilities.hpp>
using name... | [
"li2343@purdue.edu"
] | li2343@purdue.edu |
8ca932de6c16dd7ba11a8e611f33f67eca9b3683 | a92b18defb50c5d1118a11bc364f17b148312028 | /src/test/current/source/NativeReplicatorStack/TpccService/TestComStateProvider2Factory.h | 4f36e6206f763346781a4d17ff92f22bed7daf6f | [
"MIT"
] | permissive | KDSBest/service-fabric | 34694e150fde662286e25f048fb763c97606382e | fe61c45b15a30fb089ad891c68c893b3a976e404 | refs/heads/master | 2023-01-28T23:19:25.040275 | 2020-11-30T11:11:58 | 2020-11-30T11:11:58 | 301,365,601 | 1 | 0 | MIT | 2020-11-30T11:11:59 | 2020-10-05T10:05:53 | null | UTF-8 | C++ | false | false | 1,375 | h | // ------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
// ------------------------------------------------------------
#pragma once
namespace TpccSe... | [
"31968192+bpm-ms@users.noreply.github.com"
] | 31968192+bpm-ms@users.noreply.github.com |
54755be5b2d554bc28946ea6f1cd098a190c068c | 8c8820fb84dea70d31c1e31dd57d295bd08dd644 | /UnrealAudio/Public/UnrealAudioTests.h | 6bc1d9daad45d879d1ec517b59abd37627beffd6 | [] | no_license | redisread/UE-Runtime | e1a56df95a4591e12c0fd0e884ac6e54f69d0a57 | 48b9e72b1ad04458039c6ddeb7578e4fc68a7bac | refs/heads/master | 2022-11-15T08:30:24.570998 | 2020-06-20T06:37:55 | 2020-06-20T06:37:55 | 274,085,558 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,509 | h | // Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "CoreMinimal.h"
#include "UnrealAudioSoundFile.h"
namespace UAudio
{
/**
* TestDeviceQuery
*
* Test which queries input and output devices and displays information to log about device capabilities, format, etc.
* @return True if test succ... | [
"wujiahong19981022@outlook.com"
] | wujiahong19981022@outlook.com |
300be069cd2f3bba49a9f609450c362d733c2bc5 | 73247c2e55fe21ca0ec03a508546845aa72164f6 | /006. ZigZag Conversion/my_solution.cpp | 807b82c79ad91a266cbd8363186fd04237a88c66 | [] | no_license | wrsophia/LeetCode | aaa9f5bb159db7618218e074d71dca7a245c2e8a | 46b653c54ca5ad5afc29fef6a79592acc4e10d53 | refs/heads/master | 2021-01-17T17:28:48.628595 | 2018-09-18T11:16:45 | 2018-09-18T11:16:45 | 70,395,595 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,197 | cpp | #include <iostream>
#include <string>
using namespace std;
/*
每隔一定的间隔取一个字母, 模 (2 * numRows - 2)
*/
class Solution {
public:
string convert(string s, int numRows) {
if (numRows == 1) { // 这个是为防止 line 19 进入无限循环
return s;
}
int n = s.length();
char res[n + 1];
in... | [
"ruishanwang@creditease.cn"
] | ruishanwang@creditease.cn |
7a8dce5b8f818e118c476fbf04155fddb984e67a | 4963543af7590efc362db1979f49e7f18f85a7db | /bro-2.3.1/build/src/analyzer/protocol/netbios/events.bif.h | be02822c7e995732dc2bd095bf5f6ac939d6a8a3 | [
"BSD-2-Clause"
] | permissive | bbaugnies/DPI-MPTCP | 683a0df3ebefbbbc32f9266775a7462342391015 | d9d7b753c19a114c897e6d9266ebc4175099bbd5 | refs/heads/master | 2020-04-05T23:46:21.166521 | 2015-08-17T13:19:47 | 2015-08-17T13:19:47 | 33,184,388 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,795 | h | // This file was automatically generated by bifcl from /home/benjamin/Bro/bro-2.3.1/src/analyzer/protocol/netbios/events.bif (plugin mode).
#if defined(BRO_IN_NETVAR) || ! defined(_home_benjamin_Bro_bro_2_3_1_build_src_analyzer_protocol_netbios_events_bif)
#ifndef BRO_IN_NETVAR
#ifndef _home_benjamin_Bro_bro_2_3_1_bui... | [
"bbaugnies@gmail.com"
] | bbaugnies@gmail.com |
99d92efc9a0d0173e639d3a4c8a2b68da92cfa63 | 6a36f251c7c8f49f4c28bd9d6993456b1da2348e | /Pointer/tempCodeRunnerFile.cpp | 0a6c96d697d7a626ccd91266a35340ecfc29f490 | [] | no_license | Payalkumari25/DSA | 2803d57e57d860b461407f20d616e6e85130ac28 | 15a898fcbd9a9c91c92bf992f1bec1878db7275e | refs/heads/main | 2023-07-17T06:20:58.164445 | 2021-09-09T23:27:14 | 2021-09-09T23:27:14 | 404,093,336 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 456 | cpp | cout<<"address of p "<<&p<<endl;
// cout<<"value of p2 "<<p2<<endl;
// cout<<endl;
// cout<<"value at *p2 "<<*p2<<endl;
// cout<<"value of p "<<p<<endl;
// cout<<"Before fun1 value of **p "<<p2<<endl;
// fun1(p2);
// cout<<"after fun1 value of **p "<<p2<<endl;
// cout<<endl;
... | [
"payalkumari255555@gmail.com"
] | payalkumari255555@gmail.com |
40e07b97b23492e91be2ab7e71edf1388f99bd90 | c75fe06cdae4ca3e91f5794dbb21ab6a96406776 | /detectors/UNIMLampWedge/UNIMLampWedgeRootEvent.cpp | d68275df62b075c1d16b781fb0cf93c3874d7876 | [] | no_license | dellaquilamaster/UNIMapper | 20012783df7b9bde41961ccf0de2cecae88ec678 | c980a2ed15dbb856a8175268bec3d0bd3b2a00ec | refs/heads/master | 2021-06-23T16:22:27.408141 | 2021-06-15T07:59:50 | 2021-06-15T07:59:50 | 211,689,953 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 759 | cpp | #include <UNIMLampWedgeRootEvent.h>
//________________________________________________
UNIMLampWedgeData::UNIMLampWedgeData(int num_dets) :
fmulti(0)
{
fnumstrip=new Int_t[num_dets];
fEnergy=new Short_t[num_dets];
fTime=new Short_t[num_dets];
fEnergyCal=new double[num_dets];
}
//_______________... | [
"daniele@ddellaq.zef.irb.hr"
] | daniele@ddellaq.zef.irb.hr |
90fcf515ba508555fbb5815b7be79c7a7b2031d8 | cc937768d5e0cdcd5e228fa81542316a18754c2a | /SqlStatementParser/SqlStatementParser.h | f79cd9b74d9b9c51a018e349f793aef851a51393 | [] | no_license | avraampiperidis/SqlStatementParser | e38e3a0f5e6c5dd8861f5c9ac4e42ed41123b0f5 | 6e59d79b3d903ca8c819be9171a870e1f01d15b6 | refs/heads/master | 2020-07-01T03:45:37.674348 | 2019-10-04T21:28:48 | 2019-10-04T21:28:48 | 201,037,514 | 12 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 693 | h | // SqlStatementParser.h
#pragma once
#include <Windows.h>
#include <vector>
#include <utility>
#include <stdio.h>
#include <limits.h>
#include <string>
#include <list>
using namespace System;
using namespace std;
namespace SqlStatementParser {
public ref class SqlStatementParser
{
private:
bool isLineBreak(co... | [
"piperidis3@yahoo.gr"
] | piperidis3@yahoo.gr |
7809d792ebcc34ed3b576f25cb7c332304ff1247 | c097c09c748cb8294d83d4763d744957501cd67c | /Ejercicio7MateriaSeccion/src/Seccion.cpp | 7e257917d4f82f5cbedb61d6bafb88810aaf303d | [] | no_license | PeterGabrielVE/CPlusPlus | afd9af5c4b5507fe0eb16793bea76f4ba76dc247 | b82a3df577570cc1e8deac2aa14c7baf494dc158 | refs/heads/master | 2021-05-11T04:03:03.054773 | 2018-04-01T02:50:01 | 2018-04-01T02:50:01 | 117,926,636 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 694 | cpp | /*
* Seccion.cpp
*
* Created on: 30/01/2013
* Author: Pedro Gabriel Leal
*/
#include "Seccion.h"
Seccion::Seccion() {}
// TODO Auto-generated constructor stub
void Seccion::setCantAlum(int CantAl)
{
CantAlum=CantAl;
}
int Seccion::getCantAlum()
{
return CantAlum;
}
void Seccion::setEstAplazados(int Est... | [
"gaboleal123@gmail.com"
] | gaboleal123@gmail.com |
951d26bf7f93911fd97a666eb3e209c418314e0b | c550a91bfc657b4ae537a8455609132d469b9de8 | /Measure/Measure.ino | d0fb7b8e7be8858720f2ab0ec597533bef823c18 | [] | no_license | Alpaca99/ELEC491 | e673f2d130d053be8096029c9553f81756e288f0 | e0b8e219db456d9ee152a657e52ff940e69aeb35 | refs/heads/master | 2020-04-05T09:45:10.362778 | 2019-03-28T07:46:55 | 2019-03-28T07:46:55 | 156,772,692 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 623 | ino | const int signalPin = 0;
unsigned long time;
void setup()
{
Serial.begin(57600);
}
int i=0;
void loop()
{
float voltage;
voltage = getVoltage(signalPin);
if( i<5000 ){
Serial.print(voltage);
Serial.print("\n");
i++;
Serial.print("Time: ");
time = millis();
Serial.print();
}
// Serial.println(vo... | [
"46383202+junxianhe@users.noreply.github.com"
] | 46383202+junxianhe@users.noreply.github.com |
bbd1d80e69ce37e4e1c9fd717f27bce28014814a | 6b2a8dd202fdce77c971c412717e305e1caaac51 | /solutions_5695413893988352_1/C++/MrDindows/code.cpp | 2a65a30119b32e672646caa5b98d4d881c72dda2 | [] | no_license | alexandraback/datacollection | 0bc67a9ace00abbc843f4912562f3a064992e0e9 | 076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf | refs/heads/master | 2021-01-24T18:27:24.417992 | 2017-05-23T09:23:38 | 2017-05-23T09:23:38 | 84,313,442 | 2 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 11,514 | cpp | #pragma comment(linker, "/stack:20000000")
#define _CRT_SECURE_NO_WARNINGS
# include <iostream>
# include <cmath>
# include <algorithm>
# include <cstdio>
# include <cstring>
# include <string>
# include <cstdlib>
# include <vector>
# include <bitset>
# include <map>
# include <queue>
# include <ctime>
# include <stack... | [
"alexandra1.back@gmail.com"
] | alexandra1.back@gmail.com |
28d6e3245620ba87140dc17ecfa8277dec1f45cf | b5a149e5d526c82d7576e7fb135a720802b35f6c | /search/globals.h | 03c5ae83d0e6a3d03a9d3465f1cf748607a66d78 | [] | no_license | xuy/fd-sac | f42a70cb7c1da81fea54910528f77ffe050e359c | 2e1db3047aac63b1838344fe27b5d2bf1e7bbf04 | refs/heads/master | 2020-11-26T21:02:31.551009 | 2012-08-07T17:42:17 | 2012-08-07T17:42:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,692 | h | #ifndef GLOBALS_H
#define GLOBALS_H
#include "operator_cost.h"
#include <iosfwd>
#include <string>
#include <vector>
class AxiomEvaluator;
class CausalGraph;
class DomainTransitionGraph;
class Operator;
class Axiom;
class State;
class SuccessorGenerator;
class Timer;
class RandomNumberGenerator;
bool test_goal(cons... | [
"xu.mathena@gmail.com"
] | xu.mathena@gmail.com |
5c4a0dd36c2811ee07d6cb75f22ffcbe3248d578 | c3b2e97f2f883297e45ec638d6a07eade9203c90 | /backends/lua/src/LuaOperatorConversion.hpp | a712d4134bff910b8b675ab3fd0fcf7cd5bc0e91 | [] | no_license | Sponk/Dynamo | f268133706b7bf27df7993c2e9fa95b53c5d2256 | 680823d92ea0df98208825df6fd316b334e169c1 | refs/heads/master | 2020-03-28T22:55:56.165417 | 2018-11-08T10:45:49 | 2018-11-08T10:45:49 | 149,266,399 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 716 | hpp | #pragma once
#include <Pass.h>
#include <Node.h>
#include <For.h>
#include <Assignment.h>
#include <Binop.h>
#include <vector>
class LuaOperatorConversion: public dynamo::Pass
{
public:
void handleNode(dynamo::NodeRef node) override
{
if(node->getType() == dynamo::BINOP)
{
auto binop = reinterpret_cast<Binop*... | [
"yp1995@outlook.com"
] | yp1995@outlook.com |
3f230e661603908ee05035703d10cbec3ca560c2 | eb0b9e28df8c8e522392d31628760c2361266693 | /tags/TexMakerX/1.8.1/structdialog.cpp | c027a35506c5b4dcbece075c68248d3f7f76e94e | [] | no_license | svn2github/texstudio | 9b0c7ccf22ed2aef453b43edf0fb0c416c742c93 | de425fe2f8d2c48637d91632f3aa5554d6e68899 | refs/heads/master | 2021-01-25T07:29:04.777238 | 2013-08-27T16:18:15 | 2013-08-27T16:18:15 | 11,453,207 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 975 | cpp | /***************************************************************************
* copyright : (C) 2003-2007 by Pascal Brachet *
* http://www.xm1math.net/texmaker/ *
* *
* This pr... | [
"BeniBela@92cce386-e96d-4106-809f-596c673a3fd8"
] | BeniBela@92cce386-e96d-4106-809f-596c673a3fd8 |
4e3234a7bc85144d521e5a24f1971f71b59e20e4 | 025917876a1f037f9af17fc20e74758c270e0c7f | /src/wiz/utils/futils.cpp | 7312f08b043f382ab932bf05f85856611a15b60e | [] | no_license | clytras/WizBoSa | 8ff78dab87b7666763a653b59a9326c2cbcd57e0 | e6e7ce25ab980a583c43d21f7cbb1044d42ed4ff | refs/heads/master | 2023-03-24T04:46:21.979908 | 2021-03-20T11:15:06 | 2021-03-20T11:15:06 | 349,433,404 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,687 | cpp | #include <iostream>
#include <stdlib.h>
#include <string.h>
#include <sys/stat.h>
#include <cerrno>
#include <fcntl.h>
#include <unistd.h>
#include <linux/limits.h>
#include "futils.h"
namespace wiznet
{
const char *futils::os_pathsep = PATH_SEPARATOR;
const char *futils::os_dirsep = DIRECTORY_SEPARATOR;
bool f... | [
"christos.lytras@gmail.com"
] | christos.lytras@gmail.com |
235a61f7224368207ac4361961b5e4a64b6d69df | 5286798f369775a6607636a7c97c87d2a4380967 | /src/scriptwidget.h | 7ea00d16da3d2b34f949095ee06436394fd9dc36 | [
"MIT",
"LicenseRef-scancode-free-unknown"
] | permissive | MelvinG24/dust3d | d03e9091c1368985302bd69e00f59fa031297037 | c4936fd900a9a48220ebb811dfeaea0effbae3ee | refs/heads/master | 2023-08-24T20:33:06.967388 | 2021-08-10T10:44:24 | 2021-08-10T10:44:24 | 293,045,595 | 0 | 0 | MIT | 2020-09-05T09:38:30 | 2020-09-05T09:38:29 | null | UTF-8 | C++ | false | false | 475 | h | #ifndef SCRIPT_WIDGET_H
#define SCRIPT_WIDGET_H
#include <QWidget>
#include <QPlainTextEdit>
#include "scriptvariableswidget.h"
class Document;
class ScriptWidget : public QWidget
{
Q_OBJECT
public:
ScriptWidget(const Document *document, QWidget *parent=nullptr);
public slots:
void updateScriptConsole();
... | [
"huxingyi@msn.com"
] | huxingyi@msn.com |
468fb123c0006bc1a8a7cc68308723291391fe7c | 2b631cb14b185044e4201c9cc8be8219c5ab7556 | /ml/nn/runtime/test/generated/examples/rnn_state.example.cpp | ed3fc97693c9f48fa9cff98925cf4804611aacca | [
"Apache-2.0"
] | permissive | yuchuangu85/Android-framework-code | 59837ba3e41ebdda7de74ce82e1af2d0367610ce | fb27715328b4b0064b0f4e7b499b8c0f2e728d61 | refs/heads/master | 2020-09-03T09:00:20.642461 | 2019-11-04T16:21:25 | 2019-11-04T16:21:25 | 219,429,555 | 2 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 11,603 | cpp | // clang-format off
// Generated file (from: rnn_state.mod.py). Do not edit
std::vector<MixedTypedExample>& get_examples() {
static std::vector<MixedTypedExample> examples = {
// Begin of an example
{
.operands = {
//Input(s)
{ // See tools/test_generator/include/TestHarness.h:MixedTyped
// int -> Dimensions map
.o... | [
"yuchuangu85@gmail.com"
] | yuchuangu85@gmail.com |
e2b4aa806b9af49c62b4272467ebd73e68530255 | 7d7c322f87ee4ce290f391eed5938cea526bbba8 | /work2017/SOA/smsv5src/Ses/Sgs/CurveUtil.h | 0b3bac985ba9001f36c1a760f24c3ffd3c58f464 | [] | no_license | tatsumiking/GitBackup | 8cc380f5ff29ed11118a1e3c9a28493f693f3588 | 74e7810e6449f5d233fde095a1901d6fd48b8ed6 | refs/heads/master | 2023-04-01T09:43:33.361077 | 2021-03-29T00:11:58 | 2021-03-29T00:11:58 | 326,543,058 | 0 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 971 | h | #pragma once
//C 交点検出処理クラス
class CCrossLib
{
public:
CCrossLib(CScrollView* pcview);
public:
CTonView* m_pcView;
CTonDoc* m_pcDoc;
CVect *m_pcVect;
CTypedPtrList<CObList,CData*> *m_pcPtrList;
typedef CTypedPtrList<CPtrList, CFigure*> m_cFigureList;
public:
void SetDataList(CTypedPtrList<CObList,CData*> *pLis... | [
"tatsumiking@gmail.com"
] | tatsumiking@gmail.com |
3e6b9247b6ab819b5cfb479d255489a57232efd9 | 8ef96553716f2df3cd927035a8eb4a0746c54320 | /controller/usbmidiio/source/midiparser.cpp | 3189f07cd9a4be98e60a808094fa76cfa924cbd6 | [
"MIT"
] | permissive | ThisIsNotRocketScience/Syntonovo_PAN | d25cd834cfc8e7cab42a492b47fea8b993756bca | 0dfb3ccc66df0c2699228dbdbc1e450c408dd91b | refs/heads/master | 2021-08-02T14:12:47.771414 | 2021-07-18T11:32:15 | 2021-07-18T11:32:15 | 129,516,620 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,109 | cpp | #include "midiparser.h"
static int usbmidi_msglen(const midicmd_t cmd)
{
switch (cmd.header & 0x0F) {
case 0x5: // 1-uint8_t sysex
case 0xF: // single uint8_t
return 1; // 1 uint8_t
case 0x2: // 2-uint8_t system common
case 0x6: // 2-uint8_t sysex end
case 0xC: // program change
case 0xD: // channel pressure
... | [
"lauri.koponen@iki.fi"
] | lauri.koponen@iki.fi |
61a95b7eee1da07e2a9167e3bd16bcf71ac1e755 | 840152e7187468fb31c0af1183d25a1c5985553c | /OCV/ocv.cpp | b9f57000e567925bfc612a8742d6364d85f7bf3d | [] | no_license | TaeWoo0k/OCV_CH11 | 0f2b035bd155da525536780e654680e390366f26 | 6f515e3b7d07cdf3a710552569338c0c97c9c02a | refs/heads/master | 2020-12-05T23:50:52.156780 | 2020-01-07T08:40:32 | 2020-01-07T08:40:32 | null | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 9,786 | cpp | //#include "pch.h"
#include <iostream>
#include<opencv\cv.h>
#include<opencv\highgui.h>
#include<opencv\cxcore.h>
#include<stdio.h>
#include<Windows.h>
#include<stdlib.h>
#include<time.h>
#include<math.h>
#include<string.h>
#include<assert.h>
#include<string.h>
#define unsigned char uchar
int N_MASK[3][3] = { { 0,1... | [
"uhwawoo@naver.com"
] | uhwawoo@naver.com |
b5b01f3446aff480c095f035e79b204277b47c8c | 1da5543d1edefd735f88741bb301c09925d87f96 | /Tensile/Source/lib/include/Tensile/ContractionProblem_Detail.hpp | c7d6abf2a92920a6cde2181987e8d4d62c0f226d | [
"MIT"
] | permissive | lsl036/Tensile_FGPS | 020d4b3ccfb6a2e0cbc2aab21f5e46adc9b9529e | c816e8b7ed622c067aec4388334d6b0b4415287a | refs/heads/master | 2023-08-23T19:37:05.754878 | 2021-10-25T08:09:59 | 2021-10-25T08:09:59 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,823 | hpp | /*******************************************************************************
*
* MIT License
*
* Copyright (c) 2019 Advanced Micro Devices, Inc.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* ... | [
"FFFLJL@163.com"
] | FFFLJL@163.com |
330af4bed6b4e4329a38688f7e1ff125ad596044 | 66b73baecd362382276abcb18f8b8beec8594c75 | /PathFinding/PathFinding/GraphSearchAlgorithms.h | c686d8bd37ac54103460ab38b30694303a6df071 | [] | no_license | mArribas/PathFinding | 0a0a12ff26a2458986f02256f2a3139c5b61684d | 333e3c4db78811d68f9c0951be6b6ae9564c7e17 | refs/heads/master | 2021-04-09T16:18:08.441926 | 2018-03-22T17:01:05 | 2018-03-22T17:01:05 | 125,852,971 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 972 | h | #pragma once
#include "Types.h"
class CGraph;
namespace GraphSearchAlgorithms
{
// Applies Breadth First Search algorithm and returns a path to the goal.
// If the goal cannot be reached, returns an empty path.
Nodes BreadthFirstSearch (
CGraph* const graph,
SNode* const start,
S... | [
"enterhak@gmail.com"
] | enterhak@gmail.com |
c97d69fde34262cb332fe0dcbab10cf9aecfa25b | 8a2b42bf4ac9333319dbb66390feb7a8469b4e3b | /Scripts/out/pybind11-module/bakkesmod/wrappers/GameObject/PerformanceStats/NetStatGraphWrapper.cpp | 9b5881beaf72045768cfbb85968103f91387aa09 | [
"MIT"
] | permissive | Stanbroek/BakkesModSDK-Python | c3cc9abbf9da8bf225180f054f1decc677bfecda | e9f977dbf1d39bbcb445731c2889749fe0c485c8 | refs/heads/main | 2023-05-13T04:37:30.654157 | 2021-06-10T18:36:35 | 2021-06-10T18:36:35 | 373,925,214 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,282 | cpp | void bind_NetStatGraphWrapper(pybind11::module& m)
{
pybind11::class_<NetStatGraphWrapper, std::shared_ptr<NetStatGraphWrapper>, StatGraphWrapper> cl_NetStatGraphWrapper(m, "NetStatGraphWrapper");
cl_NetStatGraphWrapper.def(pybind11::init<uintptr_t>(), pybind11::arg("mem"));
cl_NetStatGraphWrapper.def(pybind11::ini... | [
"32653890+Stanbroek@users.noreply.github.com"
] | 32653890+Stanbroek@users.noreply.github.com |
d745f559cca560505d2052d07a5629a2aa0f1f34 | 3b6185d3052764481e4b6dff75ab9a6ed34d1cef | /Solutions/sudoku-solver.cpp | 8ed1e0ce3a2f8dde5dbe4ddece469eb75a4dc1cf | [] | no_license | niaokedaoren/LeetCode_Solution | a01a8a7ffcd80c165a705bb712a2c75509464ac0 | 91be5d8bfc98b0efa76d92c2cdf4edb6fd0d3a03 | refs/heads/master | 2016-08-07T20:41:29.852161 | 2013-10-16T11:07:40 | 2013-10-16T11:07:40 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,126 | cpp | class Solution {
public:
void solveSudoku(vector<vector<char> > &board) {
// Note: The Solution object is instantiated only once and is reused by each test case.
DFS(board, 0);
}
private:
bool DFS(vector<vector<char> > &board, int n) {
if (n == size * size)
return true;
int x = n / ... | [
"gorgeousabalone@gmail.com"
] | gorgeousabalone@gmail.com |
33245e0399d2db66fe1bc3913846fa8bf54fbaa9 | a2643558629eadb20a458269b225ba94230b365d | /LeetCode/main.cpp | 36da028fc7964ad5341e2ac96c0ce65201495663 | [] | no_license | MyfristUbantu/LeetCode | b920da4d4f1581f40540b1d282efb39a205a3bd8 | 9035cbd457324b22281a2a5f600c6161cd65d476 | refs/heads/master | 2021-08-19T07:40:27.530960 | 2017-11-25T07:22:53 | 2017-11-25T07:22:53 | 111,985,594 | 0 | 0 | null | 2017-11-25T07:34:52 | 2017-11-25T07:34:52 | null | UTF-8 | C++ | false | false | 423 | cpp | #include <iostream>
#include <vector>
#include "4_MedianOfTwoSortedArrays.h"
#include "test.h"
int main(){
std::vector<int> v1{ 1, 2 }, v2{ 3, 4 };
auto mid = findMedianSortedArrays(v1, v2);
if (mid != ERRORCODE)
std::cout << "the median of the sorted array: " << mid << std::endl;
else
std::cout << "Error!!!... | [
"devinchang@126.com"
] | devinchang@126.com |
cbf86666c9f929387a180d6abe050f462af77a40 | 5de39f2aabbc2bd26ecc05850ed235955270c23e | /Ctwl_ChunkSvr_Analysis/xzmo_trunk/gamechunklog_s/GameDbPool.h | 643e4583a2f99866bb246e5bfaaaf8f8fe2f1a9d | [] | no_license | WangcfGH/Git_Code | ecba205784826f49a6059ee7ee7cbf9996e3c7b7 | db3ccddd039132669e4d9ac1c84ab156fee83eb2 | refs/heads/master | 2023-04-27T03:04:55.345257 | 2023-04-15T01:51:42 | 2023-04-15T01:51:42 | 224,375,664 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 663 | h | #pragma once
#include "dbconnectpool/DBConnectPool.h"
#include "dbconnectpool/TcyMySqlConnect.h"
class GameDbPool;
class DBConnectEntry : public PoolEntry, public MysqlSession
{
public:
DBConnectEntry(GameDbPool* pool);
virtual void enterThread() override;
virtual void leaveThread() override;
};
class GameDbPool... | [
"15988132243@163.com"
] | 15988132243@163.com |
46f4143544c544915d1c04d3dada45486cf13ee0 | 32f84ffec6a2ef0e72f8178ced15f4de060f3d3a | /MyAlgorithm/MyAlgorithm/BOJ/[9251]LCS.cpp | bc080fc47921c599b7413dd108cb0259087e3ded | [] | no_license | lyh4967/MyAlgorithm | 185e4bca772974a8f238e8f09f0e4bd7bb175840 | 82c783b7a56ca4eef517b352f6fbad9dcfa46afb | refs/heads/master | 2021-06-11T05:13:56.667656 | 2019-06-03T13:26:08 | 2019-06-03T13:26:08 | 128,493,317 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 730 | cpp | #include <iostream>
#include <algorithm>
#include <string>
using namespace std;
int main() {
string s1, s2;
cin >> s1 >> s2;
int length1 = s1.size();
int length2 = s2.size();
int** dp = new int*[length1 + 1];
for (int i = 0; i <= length1; i++) {
dp[i] = new int[length2 + 1];
fill(dp[i], dp[i] + length2 + 1... | [
"2012103993"
] | 2012103993 |
8e09c9c0038ae26a4338418e92844160ea2b2926 | b2e1ab1babfa9934570affd4630d06dfedc22639 | /C. Vanya and Exams.cpp | d03e951278245b850fcfb68a15ddd87066334e2a | [] | no_license | sunshine2050/CodeForces-Div2-C | 0c1a0055fa872dc90873b7bd38a3abf27444110c | 4a30786ec596edddc52d67a9f561b306ca6c0987 | refs/heads/master | 2020-06-10T22:34:00.047912 | 2017-01-11T17:40:23 | 2017-01-11T17:40:23 | 75,856,381 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 755 | cpp | #include <iostream>
#include <vector>
#include <algorithm>
#include <utility>
using namespace std;
typedef pair<int,int> ii;
bool cmp(ii i,ii j){
if(i.second==j.second) return i.first<j.first;
return i.second<j.second;
}
int main(){
long long n,r,minavg;
cin>>n>>r>>minavg;
vector <ii> a;
int gra... | [
"sunshin_samy@hotmail.com"
] | sunshin_samy@hotmail.com |
bfdaba73ecb664109a810cd986feadedefa3d5a9 | e9ade5ea33cf3382f8ab3ad980e7f6d8cb76faf8 | /solved/RobertCppPrograming/string2.cpp | 500622ec5e09c32b1befc7e422920f50b8b9c97a | [] | no_license | Creamy1137689/kyopro | 75bc3f92edb7bff2cbf27dc79d384b422a0a4702 | dcacbf27defe840ea7998e06a5f3fb78718e7d53 | refs/heads/master | 2023-05-10T19:28:56.447493 | 2021-06-03T12:54:11 | 2021-06-03T12:54:11 | 266,143,691 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 291 | cpp | #include <iostream>
#include <cstdio>
using namespace std;
int f(int x, int y){
return 2*x + y;
}
void show(int x, int y){
char str[50];
sprintf(str, "f(%d, %d) = %d", x, y ,f(x,y));
cout << str << endl;
}
int main(){
show(1,2);
show(182,144);
} | [
"exception031noexist@gmail.com"
] | exception031noexist@gmail.com |
ad8938ef0670c17bb0a13c1ae126b93bf927c819 | 88ae8695987ada722184307301e221e1ba3cc2fa | /third_party/webrtc/modules/rtp_rtcp/source/rtp_video_header.h | d185c20c83802418dce19f69e64193435137f7b1 | [
"Apache-2.0",
"LGPL-2.0-or-later",
"MIT",
"GPL-1.0-or-later",
"BSD-3-Clause",
"LicenseRef-scancode-google-patent-license-webrtc",
"LicenseRef-scancode-google-patent-license-webm",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | iridium-browser/iridium-browser | 71d9c5ff76e014e6900b825f67389ab0ccd01329 | 5ee297f53dc7f8e70183031cff62f37b0f19d25f | refs/heads/master | 2023-08-03T16:44:16.844552 | 2023-07-20T15:17:00 | 2023-07-23T16:09:30 | 220,016,632 | 341 | 40 | BSD-3-Clause | 2021-08-13T13:54:45 | 2019-11-06T14:32:31 | null | UTF-8 | C++ | false | false | 3,849 | h | /*
* Copyright (c) 2018 The WebRTC 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 in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contribut... | [
"jengelh@inai.de"
] | jengelh@inai.de |
13c43ed62eef8e759e1a5d766666aa7039ef5259 | 8ae7a23f05805fd71d4be13686cf35d8994762ed | /mame150/src/mess/machine/petuser.h | 6701595a4b4afe6ee769e6387359e6230ec4cf3e | [] | no_license | cyberkni/276in1JAMMA | fb06ccc6656fb4346808a24beed8977996da91b2 | d1a68172d4f3490cf7f6e7db25d5dfd4cde3bb22 | refs/heads/master | 2021-01-18T09:38:36.974037 | 2013-10-07T18:30:02 | 2013-10-07T18:30:02 | 13,152,960 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,013 | h | /**********************************************************************
Commodore PET User Port emulation
Copyright MESS Team.
Visit http://mamedev.org for licensing and usage restrictions.
**********************************************************************
GND 1 ... | [
"dan@van.derveer.com"
] | dan@van.derveer.com |
b194ac2a0e926c2d22d96371cd64a7e1f02c35ef | c53aa6accf1255d821d4225b40aec07f3a141c29 | /Parser/PRC.CPP | 3b6a238a0997e329d99d930d16d5a6d1826b025c | [] | no_license | dprotopopov/DES | ae6fc16cd26ae767dc73a9ce5ff0ab26aecedb71 | cb731635e8ff6f69490ea31a9ecae4b2c53cec2c | refs/heads/master | 2016-09-14T02:11:54.418760 | 2016-05-19T15:30:18 | 2016-05-19T15:30:18 | 59,219,204 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 403 | cpp | //////////////////////////////////
// System level dependencies
#include <windows.h>
//////////////////////////////////
// ANSI level dependencies
#include <stdio.h>
#include <time.h>
//////////////////////////////////
// Application level dependencies
#include "tdb.h"
#include "tio.h"
#include "tlog.h"
#include "... | [
"protopopov@narod.ru"
] | protopopov@narod.ru |
14f8071571be9875fe8a524000f95d6d951f259a | 77da632163112ccab3acfe1ae0da5f820034ebd5 | /playerlibrary/src/main/cpp/MediaPlayer/source/device/android/GLESDevice.h | 4caef8d01a1ed315407894787fe1c630ed7e6cb6 | [] | no_license | zhumingwei/DafuPlayer | d9b1e3f2e104f2e8a664823f4b756db583c02a96 | ca506b6bf9c7f5eb2200a21f9aa728e69f07d3d3 | refs/heads/master | 2022-11-17T17:07:01.799959 | 2020-07-16T03:29:40 | 2020-07-16T03:29:40 | 272,461,479 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,280 | h | //
// Created by zhumingwei on 2020/7/7.
//
#ifndef DAFUPLAYER_GLESDEVICE_H
#define DAFUPLAYER_GLESDEVICE_H
#include <player/PlayerState.h>
#include <device/VideoDevice.h>
#include <android/native_window.h>
#include <node/NodeType.h>
#include <Mutex.h>
#include <Condition.h>
#include <EGL/egl.h>
#include <common/EglH... | [
"zhumingwei2016@gmail.com"
] | zhumingwei2016@gmail.com |
8836b1fd2b8ddbfa2f48a2f25f615f7c94769146 | 9c7c58220a546d583e22f8737a59e7cc8bb206e6 | /Test/TestMyDelegatePortSimple/Src/MySimpleDelegate/MySimpleStaticFunPtrType.h | de6c818a85cc928f6efa2f78f5204813ed1ceb27 | [] | no_license | SiCoYu/UE | 7176f9ece890e226f21cf972e5da4c3c4c4bfe41 | 31722c056d40ad362e5c4a0cba53b05f51a19324 | refs/heads/master | 2021-03-08T05:00:32.137142 | 2019-07-03T12:20:25 | 2019-07-03T12:20:25 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 250 | h | #pragma once
namespace MyNS
{
template <typename FuncType>
struct MySimpleStaticFunPtrType;
template <typename RetType, typename... ArgTypes>
struct MySimpleStaticFunPtrType<RetType(ArgTypes...)>
{
typedef RetType(* Type)(ArgTypes...);
};
} | [
"kuangben2001@163.com"
] | kuangben2001@163.com |
baa7072216f800d74861324746e8c099ed757ff4 | be7ed980484aca16f96a69412dc2e94801c692f9 | /singlenode.cpp | ea3095de43ac90d4af505aff9db10fbe1e924e58 | [] | no_license | fazlayrabbi/SpeciesScore | b07bd5e71df05be21140b5c11a4cde17aefac63c | a8f62a5188707a98af05ce00be5cfa1300e3d7e5 | refs/heads/master | 2020-04-10T21:03:17.356373 | 2015-02-03T21:18:08 | 2015-02-03T21:18:08 | 30,265,131 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,218 | cpp | /*******************************************************************************
Title: singlenode.cpp
Author: Fazlay Rabbi
Created on: 12/14/2014
Description: Implementation file of singlenode.h for a program which outputs names
of species based on their score. Purpose of this program is to demonstrate
usage of tr... | [
"fazlay.rabbi35@myhunter.cuny.edu"
] | fazlay.rabbi35@myhunter.cuny.edu |
46b5967b791240a96c726c30113ce80442738782 | 56006c14ce5e67cd90b1352af771e76daf0f3f6e | /DirectionalLighting/Example/IndexedPrimitive.cpp | f20580f6f545a2b419633469d397810107638550 | [] | no_license | humbertosanchas/DirectXProg | dd014d5d6c90480378af93af1f34c69a3075f4b5 | 5da2b772bbd2660c6070258341f7e09ac6f618a0 | refs/heads/master | 2020-09-19T13:38:04.442993 | 2016-12-06T16:20:41 | 2016-12-06T16:20:41 | 67,732,811 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,511 | cpp | //
// BGTD 9201
// Class that represents a simple IndexedPrimitive
//
#include "IndexedPrimitive.h"
#include <DirectXColors.h>
#include <VertexTypes.h>
#include <vector>
static bool faceNormals = true;
// Temporary collection types used when generating the geometry.
typedef std::vector<VertexPositionNormalColor> V... | [
"pboyko1@S30816H0682"
] | pboyko1@S30816H0682 |
e0876a579ecd4b1d4e7c6f49bab8a089153770fb | a32cd2dfe184a166a0c738c982d15e1b09634be3 | /src/bitcoinrpc.cpp | 1386f2b76c302ec30cd0e86bd2b083915006fb0e | [
"MIT",
"LicenseRef-scancode-other-permissive"
] | permissive | bicypto/CRUR-Simplified-UI | 7db867a0fca496e31225dbc9623f6ec53f0dd2bc | 60f58c82dc112ee351a39097f211628e2861d3f3 | refs/heads/master | 2020-06-29T12:29:56.507963 | 2019-09-24T14:44:17 | 2019-09-24T14:44:17 | 200,536,353 | 0 | 0 | null | 2019-09-03T16:54:21 | 2019-08-04T20:04:27 | C++ | UTF-8 | C++ | false | false | 48,022 | cpp | // Copyright (c) 2010 Satoshi Nakamoto
// Copyright (c) 2009-2012 The Bitcoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "init.h"
#include "util.h"
#include "sync.h"
#include "ui_interface.h"
#includ... | [
"crur2017@outlook.com"
] | crur2017@outlook.com |
a3c7b6bbf7a924f0e9d87ca847145d47cebab40d | b0f8c523f9f5c0ec39f590289ddc113d316e6d7e | /p2-chain/linkedlist.cpp | 18c29c1e0261c5d7e0ff44183f38f39375b06806 | [] | no_license | mingzejin11/ECE-250-Data-Structures-and-Algorithms | a048aab0ea72c9eaaca71b1c7b6afed8a6d483b4 | e857ac555fce1d5fc0555f8823ed1303f67c5822 | refs/heads/master | 2022-07-04T14:03:53.418659 | 2020-05-13T00:09:01 | 2020-05-13T00:09:01 | 263,478,245 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,621 | cpp | #include "linkedlist.h"
#include <iostream>
using namespace std;
LinkedList::LinkedList() {
first = 0;
last = 0;
}
LinkedList::~LinkedList() {
node* current = first;
while (current) {
node* temp = current->next;
delete current;
current = temp;
}
first = 0;
}
bool Lin... | [
"mingze.jin11@gmail.com"
] | mingze.jin11@gmail.com |
f10ccf529f46bc14fdfccb3abf0ffb2fb9c9c90c | 29e2f637f2c49a4d9d0dd375dd0ccd79c69cb438 | /freeflow/sys/handler.ipp | 6f33463c425a2c8106bbf0c08eb8e0b1afe83ca8 | [
"Apache-2.0"
] | permissive | dmbk/freeflow | 03ea3da9dabfd516dbf286c00b47ee17c1840297 | c5cd77495d44fe3a9e48a2e06fbb44f7418d388e | refs/heads/master | 2020-12-27T20:39:43.757320 | 2014-08-28T12:45:44 | 2014-08-28T12:45:44 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,888 | ipp | // Copyright (c) 2013-2014 Flowgrammable.org
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at:
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law o... | [
"andrew.n.sutton@gmail.com"
] | andrew.n.sutton@gmail.com |
8923d15a8499ad737274c0b6218c80fc961b04b3 | 77c7ff339f5a4e84ac04be42be13c0b2f7146b77 | /BT10/A4.cpp | c7a3f5ccc38823973bc06c709fa32e1612f960d0 | [] | no_license | vinhnguyen1182002/baitap | 54d9113213e5d675dac4ddb50e9e2b0c30f3dfbf | f190b4842f380da0f0de7f67233fa735f374ced5 | refs/heads/master | 2023-04-24T01:06:06.915150 | 2021-05-15T16:53:54 | 2021-05-15T16:53:54 | 340,930,414 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 177 | cpp | #include<iostream>
using namespace std;
struct Point{
int x;
int y;
};
int main()
{
Point p;
cout<<&p<<endl<<&p.x<<endl<<&p.y;
//x duoc luu cung vi tri voi dia chi cua p
}
| [
"78186815+vinhnguyen1182002@users.noreply.github.com"
] | 78186815+vinhnguyen1182002@users.noreply.github.com |
5ef34a25ca684b0a4bb0ba71b9018b7d67fc7248 | ae8b9ad94b5cb354ad43057751aa4d9a7d31da4f | /IoTDataLogger/IoTDataLogger.ino | a86c9d61eb06d6204b0ed41043a0fa8191697e1a | [] | no_license | pubpsv/IoT-Data-Logger | 2618f1f5f8b41837f1d3b5b79f9bd3ecf320a8b6 | 42d3ab33634eba1e13e9432801b1460b82a0db79 | refs/heads/master | 2021-06-11T08:59:57.176112 | 2017-01-20T12:44:23 | 2017-01-20T12:44:23 | 108,173,603 | 1 | 0 | null | 2017-10-24T19:28:16 | 2017-10-24T19:28:16 | null | UTF-8 | C++ | false | false | 4,869 | ino | /***********************************************************************************/
/* This is an simple application to illustrate IoT Temperature & Humidity Logger. */
/* written by Prashanth from BSP Embed. */
/* This code is availbale from GitHub. ... | [
"bsp.embed@gmail.com"
] | bsp.embed@gmail.com |
dce19737e90a917a525a760b4b200a78ddbe3b5f | 771ae01dd3791635afc7b957fda4d04174945c5d | /server.h | f634380e6a57c81d2ebee5fd6d59eb7fb6401aa7 | [] | no_license | GeremiaPompei/rest_pistache | b1314219b71c23bb1747b393bf7fa1492aea3e11 | 1a9975ad3ba4dbc227f1aa22363d98293d264758 | refs/heads/main | 2023-04-30T19:42:54.949984 | 2021-05-17T01:35:06 | 2021-05-17T01:35:06 | 348,532,355 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,562 | h | #ifndef SERVER_H
#define SERVER_H
#include <pistache/router.h>
#include <pistache/endpoint.h>
#include "element.h"
using namespace std;
using namespace Pistache;
/**
* Classe Server utile per rispondere al client.
*/
class Server {
private:
/**
* Element salvati nel server da parte del client.
... | [
"geremia.pompei@studenti.unicam.it"
] | geremia.pompei@studenti.unicam.it |
97f4a48b1d1567146ed8d60d4d9d496a32909b70 | 09dc003859396d8839852711f58f38faf7057e05 | /src/visitor.h | 461c805f7ab19d735a70915c94fc167c9829e96b | [] | no_license | Xelonion/VisitorPattern-Cpp | b08c8de2c25dfee44e32e24fba5706cc4ea7b237 | 93c32e5ebea2c6450933ae356fdfc001e9b56f06 | refs/heads/master | 2021-01-19T03:47:38.512341 | 2017-04-05T20:41:10 | 2017-04-05T20:41:10 | 87,333,556 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 343 | h | #ifndef W_VISITOR_H
#define W_VISITOR_H
#include <string>
using namespace std;
class ElementNum;
class ElementStr;
class Visitor {
private:
int value;
string str;
public:
Visitor();
~Visitor();
void VisitElementNum(ElementNum*);
void VisitElementStr(ElementStr*);
int getValue();
strin... | [
"1310545@uni-wuppertal.de"
] | 1310545@uni-wuppertal.de |
ed60e20e809a4981fdbad4bfbe313a86876dff1a | 10c67c4beef52d4afc3b7935a698059e37cffc30 | /pao13.cpp | 197a239dcc12fd6d4fe2b35c9f216bf2b62b141d | [] | no_license | ronaldo-k/Solutions | 00e6bb321e677bcf6061099aa64ff870f6f18e53 | 3cc63cd1d9ff88654691b6a6f4afbbde902cb306 | refs/heads/master | 2020-07-29T15:50:45.905274 | 2019-11-27T00:39:06 | 2019-11-27T00:39:06 | 209,868,438 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 720 | cpp | #include <stdio.h>
#include <algorithm>
#define debug(args...) fprintf(stderr, args)
using namespace std;
const int MAXN = 1e5;
int n, k, v[MAXN]; // Comprimento dos paes
bool test(int m) {
if(m == 0) return true;
int div = 0;
for(int i = 0; i < k; i++) {
div += (v[i] / m);
}
debug("div = %d, k = %d\n", di... | [
"ronaldo.kanegae@gmail.com"
] | ronaldo.kanegae@gmail.com |
e5160a69212c0608f66f64739bd13231c9a434be | a5a934e6039c24e1311a00303f653fbac89e911f | /cf/Contest/645/Park lighting/main.cpp | 3985175ad85e30c167738c686fe43ae56c9036ef | [
"MIT"
] | permissive | wdjpng/soi | 8bd9561a3a3d86a0081388cde735a2d2cd3b3de8 | dd565587ae30985676f7f374093ec0687436b881 | refs/heads/master | 2022-11-19T03:26:58.386248 | 2020-07-15T15:35:48 | 2020-07-15T15:35:48 | 171,109,395 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 437 | cpp | #include <bits/stdc++.h>
#define int long long
using namespace std;
signed main() {
// Turn off synchronization between cin/cout and scanf/printf
ios_base::sync_with_stdio(false);
// Disable automatic flush of cout when reading from cin cin.tie(0);
cin.tie(0);
int t;
cin >> t;
for (int cu... | [
"muenzel.lukas@gmail.com"
] | muenzel.lukas@gmail.com |
b22d9134400f105a1c01c29c96089eb37343aea8 | 3cf9e141cc8fee9d490224741297d3eca3f5feff | /C++ Benchmark Programs/Benchmark Files 1/classtester/autogen-sources/source-17843.cpp | 9965f48b55533cdd230ef9ed313bce8b24025e51 | [] | no_license | TeamVault/tauCFI | e0ac60b8106fc1bb9874adc515fc01672b775123 | e677d8cc7acd0b1dd0ac0212ff8362fcd4178c10 | refs/heads/master | 2023-05-30T20:57:13.450360 | 2021-06-14T09:10:24 | 2021-06-14T09:10:24 | 154,563,655 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,192 | cpp | struct c0;
void __attribute__ ((noinline)) tester0(c0* p);
struct c0
{
bool active0;
c0() : active0(true) {}
virtual ~c0()
{
tester0(this);
active0 = false;
}
virtual void f0(){}
};
void __attribute__ ((noinline)) tester0(c0* p)
{
p->f0();
}
struct c1;
void __attribute__ ((noinline)) tester1(c1* p);
struct c1 : virtual... | [
"ga72foq@mytum.de"
] | ga72foq@mytum.de |
5aafb193ec7549d477d3a437360ccea0de43ebab | f51049c139bcea6626b9cbc338e7f6ba89ec09c7 | /cygwin/omnetpp-4.1/src/tkenv/modinsp.cc | 5f339f64410c771efa7bf13b80fa7c6b119cee09 | [] | no_license | YanivFais/thesis_msc_dist_alg | e147f4603e084e02054f6d5737392c92f479e891 | 9d495062516fa7960814a560e4956278d6d7b750 | refs/heads/master | 2023-01-29T05:27:20.307668 | 2020-04-12T12:12:41 | 2020-04-12T12:12:41 | 255,051,982 | 0 | 0 | null | 2023-01-26T23:54:42 | 2020-04-12T09:47:21 | C++ | UTF-8 | C++ | false | false | 45,227 | cc | //==========================================================================
// MODINSP.CC - part of
//
// OMNeT++/OMNEST
// Discrete System Simulation in C++
//
// Implementation of
// inspectors
//
//==========================================================================
/*----... | [
"YanivFais@users.noreply.github.com"
] | YanivFais@users.noreply.github.com |
ed6035b82953de6c1627aa34e9c77a6040166e16 | a2111a80faf35749d74a533e123d9da9da108214 | /raw/workshop11/workshop2011-data-20110925/sources/xfdtznywb7qjx61s/13/sandbox/my_sandbox/apps/my_app/basics.cpp | ba3296c0ada8042d89dcf673581eb28d60fa4e64 | [
"MIT"
] | permissive | bkahlert/seqan-research | f2c550d539f511825842a60f6b994c1f0a3934c2 | 21945be863855077eec7cbdb51c3450afcf560a3 | refs/heads/master | 2022-12-24T13:05:48.828734 | 2015-07-01T01:56:22 | 2015-07-01T01:56:22 | 21,610,669 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 704 | cpp | /*
* basics.cpp
* seqan
*
* Created by Roland Krause on 13.09.11.
* Copyright 2011 MPI for Molecular Genetics. All rights reserved.
*
*/
#include <seqan/sequence.h>
#include <seqan/basic.h>
#include <iostream>
using namespace seqan;
template <typename TAlphabet>
void showAllLetterOfMyAlphabet(TAlphabet con... | [
"mail@bkahlert.com"
] | mail@bkahlert.com |
8533fa9f8246ac920ef43966d4572f9e6a275566 | 24f26275ffcd9324998d7570ea9fda82578eeb9e | /ios/chrome/browser/component_updater/ios_component_updater_configurator.cc | 5ca721e51c22660b1173a526ade54160e7b21f99 | [
"BSD-3-Clause"
] | permissive | Vizionnation/chromenohistory | 70a51193c8538d7b995000a1b2a654e70603040f | 146feeb85985a6835f4b8826ad67be9195455402 | refs/heads/master | 2022-12-15T07:02:54.461083 | 2019-10-25T15:07:06 | 2019-10-25T15:07:06 | 217,557,501 | 2 | 1 | BSD-3-Clause | 2022-11-19T06:53:07 | 2019-10-25T14:58:54 | null | UTF-8 | C++ | false | false | 7,747 | 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 "ios/chrome/browser/component_updater/ios_component_updater_configurator.h"
#include <stdint.h>
#include <memory>
#include <string>
#include <v... | [
"rjkroege@chromium.org"
] | rjkroege@chromium.org |
0907fc56702e254c18ff6e311ca828511b214200 | 75d9ec182406aab369bd343512fb67f78bbc7d96 | /MMVII/include/MMVII_SysSurR.h | 04506d4d6225b32fef7225b0cb36073ee9722e7a | [
"LicenseRef-scancode-cecill-b-en"
] | permissive | FrankGuldstrand/micmac | e4460a0e115eda9b893825fd441f629a279805bd | f3f842164a87a54909bca525a1dd553a71032cf8 | refs/heads/master | 2020-07-24T02:31:00.529506 | 2019-09-09T12:42:28 | 2019-09-09T12:42:28 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,852 | h | #ifndef _MMVII_SysSurR_H_
#define _MMVII_SysSurR_H_
namespace MMVII
{
/** \file MMVII_SysSurR.h
\brief Classes for linear redundant system
*/
/** Virtual base classe for solving an over resolved system of linear equation;
Typical derived classes can be :
* l1 sys using barodale methods
* lea... | [
"marc.pierrot-deseilligny@ensg.eu"
] | marc.pierrot-deseilligny@ensg.eu |
73ff0bb4b0794d858d419df73f6f48f18590ef06 | 1de331d068456cedbd2a5b4d4a6b16145646f97d | /src/libv/sig/dummy.cpp | 64d6330a5b436fe80614c76f97575f4a985e4d1c | [
"Zlib"
] | permissive | sheerluck/libv | ed37015aeeb49ea8504d7b3aa48a69bde754708f | 293e382f459f0acbc540de8ef6283782b38d2e63 | refs/heads/master | 2023-05-26T01:18:50.817268 | 2021-04-18T01:06:51 | 2021-04-27T03:20:36 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 128 | cpp | // Project: libv.sig, File: src/libv/sig/dummy.cpp, Author: Császár Mátyás [Vader]
// VSIG is a header only implementation. | [
"vaderhun@gmail.com"
] | vaderhun@gmail.com |
1a9632b763ad11a57660b4dda001cf2802226112 | 04192d103aa82dc7d9f064624976b1ee6af523f3 | /qgis/include/qgsrelation.h | c3cf829025802022d256cecdc6ead9512167b764 | [] | no_license | lichaoenterprising/Template_QtPlugin | d4d6cd983efdb3f9d4b8c715883c54d0a7d73008 | 8cc932ccfe170e4bc19783bdfb35738d0191b4d7 | refs/heads/master | 2023-02-09T23:00:41.104328 | 2021-01-04T15:21:19 | 2021-01-04T15:21:19 | 325,731,335 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,296 | h | /***************************************************************************
qgsrelation.h
--------------------------------------
Date : 29.4.2013
Copyright : (C) 2013 Matthias Kuhn
Email : matthias at opengis dot ch
***************************************... | [
"51834877@qq.com"
] | 51834877@qq.com |
dbcdc4fb70d722d59b68cbd9a853981e93ede870 | 9fad4848e43f4487730185e4f50e05a044f865ab | /src/cc/trees/occlusion_tracker.cc | b1319b8a7a4a5fb0ac857acdd28c89c7d413d850 | [
"BSD-3-Clause"
] | permissive | dummas2008/chromium | d1b30da64f0630823cb97f58ec82825998dbb93e | 82d2e84ce3ed8a00dc26c948219192c3229dfdaa | refs/heads/master | 2020-12-31T07:18:45.026190 | 2016-04-14T03:17:45 | 2016-04-14T03:17:45 | 56,194,439 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 16,256 | cc | // Copyright 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 "cc/trees/occlusion_tracker.h"
#include <stddef.h>
#include <algorithm>
#include "cc/base/math_util.h"
#include "cc/base/region.h"
#include "c... | [
"dummas@163.com"
] | dummas@163.com |
d6bdbe73e52743522851fc65ff7d2edd613537dd | 3be032c14c9b659ba4c1dfd599f8c85257688317 | /dist/ios/include/Fuse.Platform.StatusBarStyle.h | acc4cfb1132942b9c0e986e18acb0fbc6ff070d4 | [] | no_license | gncvalente/18app | 5433674c6f86d204af81290aa61eef07bb897cf5 | 40968aa4e3e7c044ce14cd2488313dd5a45d9b1b | refs/heads/master | 2021-07-21T01:43:39.091532 | 2017-10-31T12:44:48 | 2017-10-31T12:44:48 | 106,106,556 | 3 | 0 | null | 2017-10-07T15:02:43 | 2017-10-07T15:02:43 | null | UTF-8 | C++ | false | false | 353 | h | // This file was generated based on /usr/local/share/uno/Packages/Fuse.Platform/1.3.1/iOS/SystemUI.uno.
// WARNING: Changes might be lost if you edit this file directly.
#pragma once
#include <Uno.Int.h>
namespace g{
namespace Fuse{
namespace Platform{
// public enum StatusBarStyle :8
uEnumType* StatusBarStyle_typeo... | [
"giuseppe.toto@gmail.com"
] | giuseppe.toto@gmail.com |
59d3ecb62434f9b324e2a24228876a159f19dae3 | 9b3b4c0467ab61832bd2102dae22bc2e38ffd105 | /Tools/EGen_v1.13.0/TestHarness/Reference/inc/TableRows.h | ffffbad89cc1785c99b58c202c296d22d44d1d90 | [] | no_license | gggggtz/Src | 6c37c9303f54b994f7c58c5fe2f8c94dfe9aae17 | 262152e1b6efb2ccb630a6e6320ae7bc01b6f933 | refs/heads/master | 2020-04-06T07:05:42.776707 | 2014-09-15T03:25:27 | 2014-09-15T03:25:27 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,430 | h | /*
* Legal Notice
*
* This document and associated source code (the "Work") is a part of a
* benchmark specification maintained by the TPC.
*
* The TPC reserves all right, title, and interest to the Work as provided
* under U.S. and international laws, including without limitation all patent
* and trademark rig... | [
"gggggtz@hotmail.com"
] | gggggtz@hotmail.com |
017faf1177f3e507a8e8ff6f345aaade34710fe7 | 96ad4472f36ef5534de298188150d0ca68cff5d0 | /src/s390/assembler-s390.h | cb14dae6675b44b8a8e650d5fd78e14d88aab4c9 | [
"SunPro",
"bzip2-1.0.6",
"BSD-3-Clause"
] | permissive | xiazemin/v8 | ba0401fd044acec9c5504240e8d9dacc668a0e0f | d4a108078d93a58fb2c296a59328f25980ded3ea | refs/heads/master | 2021-01-21T12:20:22.485156 | 2017-06-22T22:14:24 | 2017-06-22T22:14:24 | 95,180,489 | 1 | 0 | null | 2017-06-23T03:40:30 | 2017-06-23T03:40:29 | null | UTF-8 | C++ | false | false | 57,619 | h | // Copyright (c) 1994-2006 Sun Microsystems Inc.
// 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 notice,
// this list ... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
43dbc622c02c8fa52ac0b941045243a09717ce10 | 8445eea269977c26edfbbc6c9ae4a164e973732e | /week 10/contest 1/dominos.cpp | 11938272125bb057e277b3a71591ce508cd24f21 | [] | no_license | AbelTesfaye/Competitive-Programming | 5de1883267254b46b2370f4560695e8dd7dc8ee9 | f8613c31e64c755b9dd9b836fca872294f9b2b71 | refs/heads/master | 2023-06-14T09:59:09.229018 | 2021-07-17T09:47:20 | 2021-07-17T09:47:20 | 325,812,652 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 480 | cpp | class Solution {
public:
unordered_map<string, int> m;
int numEquivDominoPairs(vector<vector<int>>& dominoes) {
int ret = 0;
for(auto d: dominoes){
int mi = min(d[0], d[1]);
int ma = max(d[0], d[1]);
string key1 = to_string(mi) + "," ... | [
"abeltesfaye45@gmail.com"
] | abeltesfaye45@gmail.com |
6b89b8adcc5584e62c054c8f7f9d0595bfb6473b | 8eac14184cacb3ad8ff1385ad96c86b868ae67f6 | /ServerProject/LoginServer/LoginServer/DMainApp.h | 89b2e2a2b8d286eb0c26060f4473d2f3bc52acd0 | [] | no_license | luw630/darkserver | 2ff26fe2b13db8bcd8f93a3c31fba5e3f34643ca | a2a599dbb19073103b5b2c3cb863658a4f96e6ae | refs/heads/master | 2021-01-10T07:39:08.397177 | 2016-01-12T03:42:08 | 2016-01-12T03:42:08 | 47,673,294 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,659 | h | #pragma once
#include "PlayerManager.h"
#include "ServerManager.h"
#include "NetDBModule.h"
#include "NetAccountCheckModule.h"
#include "NetGMModule.h"
#include "CllctServerModule/LoginDataCollect.h"
#include "DBCenterModule.h"
#include "NetWorkModule/datamsgs.h"
#include "AccountModuleManage.h"
#include "zoneserver/z... | [
"luw630@gmail.com"
] | luw630@gmail.com |
19608c6fc0f78ed84d0d76e474e22e163b3524f2 | 33cf7b462d358197667ea8c02ed94d97e76749a3 | /Framework/Source/Math/MathHelpers.h | c84722343a669651af871f5a2862649951549fac | [] | no_license | omrkocar/SchoolGameEngine | 3bda792d1ba872727b5821d3cede5f835e397043 | 04426af512edaab15fe283eec60cb0a46df56028 | refs/heads/main | 2023-04-27T23:56:17.413476 | 2021-05-05T23:05:59 | 2021-05-05T23:05:59 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,170 | h | //
// Copyright (c) 2012-2014 Jimmy Lord http://www.flatheadgames.com
//
// This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software.
// Permission is granted to anyone to use this software for any purp... | [
"koca0007@algonquinlive.com"
] | koca0007@algonquinlive.com |
886854917032918d56473e53afb145019bae026e | 6730adf4a8ff8f77484ccb5db6a9c309b460520d | /abc058a.cpp | eb866d4f4c25a75f1456eb01d03de7e9c1795689 | [] | no_license | togacoder/AtCoder | 8fa3cd0007ec3aa5243dbf578c7588ce8940504b | 9128bc4d475da004d5aa490bd636ab6f935b6804 | refs/heads/master | 2021-06-08T09:08:11.403406 | 2020-04-12T14:17:54 | 2020-04-12T14:17:54 | 87,400,397 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 193 | cpp | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if(b - a == c - b) {
cout << "YES" << endl;
} else {
cout << "NO" << endl;
}
return 0;
}
| [
"bike.dio@gmail.com"
] | bike.dio@gmail.com |
61ff51b394c0692b6bde07b547a31e3792e0822d | 027ad99a3fa9231dd96dd610fdbebd26f9fd02db | /Projects/mo_graphics/compositeMaster_objectDOFFilter.cpp | edb73b5427d9c1540dfac75b454f23d6084267f5 | [
"BSD-3-Clause"
] | permissive | droidoid/MoPlugs | ee5b6162a3a504d43d8a62ab221cfe72317afe25 | fce52e6469408e32e94af8ac8a303840bc956e53 | refs/heads/master | 2020-12-19T04:26:07.530778 | 2019-08-07T22:05:07 | 2019-08-07T22:05:07 | 235,619,955 | 1 | 0 | BSD-3-Clause | 2020-01-22T16:54:13 | 2020-01-22T16:54:12 | null | UTF-8 | C++ | false | false | 10,710 | cpp |
//////////////////////////////////////////////////////////////////////////////////////////////////
//
// file: compositeMaster_objectDOFFilter.cpp
//
// Author Sergey Solokhin (Neill3d)
//
// GitHub page - https://github.com/Neill3d/MoPlugs
// Licensed under BSD 3-Clause - https://github.com/Neill3d/MoPlugs/blob/maste... | [
"neill@bk.ru"
] | neill@bk.ru |
50e1301455aab6e1592c82431ea6b7825e05c82c | 7d053d9477981633d31fc4dc6478ab0be3072b1c | /src/Utils/StringUtils.h | de2dce485dbff343262b5a74bd545d6b8cfff815 | [] | no_license | GorillaSX/RenderingSystem | 776416cd45413d10525887b1e58f4963969938bf | 0374edbae7a95487661e8f4c0a217c41a40aedc6 | refs/heads/master | 2020-03-15T06:22:37.785969 | 2018-12-03T17:54:30 | 2018-12-03T17:54:30 | 132,006,284 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 389 | h | #ifndef __STRINGUTILS_H__
#define __STRINGUTILS_H__
namespace Gorilla
{
class StringUtils
{
public:
static bool endsWith(const std::string& input, const std::string& end);
static std::string readFileToString(const std::string& fileName);
static std::string humanizeNumber(double val... | [
"songxin@udel.edu"
] | songxin@udel.edu |
d3b1947e23fd2e8432027ae7ab2ba465e72c11ca | 306ca9867750b5af749163187bdd368b52678936 | /GameEngine/src/graphics/sprite.cpp | 36c1642aec7f698e4a8d9a47836cc12d5ac95bb2 | [] | no_license | alfmunny/GameEngine | e0231049d1a49bf9ca8a5a3669176d2f22f3eb29 | 6590b825ee3e91ff889c58697a4fb25fe12deeff | refs/heads/master | 2021-05-04T10:47:25.905263 | 2017-01-17T15:33:34 | 2017-01-17T15:33:34 | 52,613,448 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 258 | cpp | #include "sprite.h"
namespace sparky{ namespace graphics {
Sprite::Sprite(float x, float y, float width, float height, const maths::vec4 & color)
: Renderable2D(maths::vec3(x, y, 0), maths::vec2(width, height), color)
{
}
Sprite::~Sprite()
{
}
} }
| [
"alfmunny@gmail.com"
] | alfmunny@gmail.com |
c51bebf2702658e1c993d090eb41cf8d8723a3e0 | dcd034bd298959a2dee25ace99633a4c23f19981 | /dendrite.cpp | 69af3d4ca2089a6842ee8a4a47a96b32c2213b52 | [] | no_license | thejbug/HTMstuff1 | 8901cdf31dcdb3cd83569359ec9eb9d5c7a5ab06 | 87029641c777f04552d80625bd3aa4270344c601 | refs/heads/master | 2020-09-28T08:12:32.553568 | 2020-01-02T07:49:41 | 2020-01-02T07:49:41 | 226,730,562 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,298 | cpp | #include "dendrite.h"
#include "random"
Dendrite::Dendrite()
{
potentialIndices = new std::vector<unsigned short>;
}
Dendrite::Dendrite(BitArray& input, float potentialPercent, float maxInitialPerm, float connectedThreshold)
{
this->connectedThreshold = static_cast<unsigned char>(connectedThreshold * 255);
... | [
"jaredemery@Jareds-MacBook-Pro.local"
] | jaredemery@Jareds-MacBook-Pro.local |
8c90dd111455f4deaec50d3412ac9962cf25b0f3 | 8a0a4d70c8626bdbf08f2c6a1856a159e885e0b5 | /NSIS/tags/v203/Source/script.cpp | e3520f9475c7ce8a19cce1be9cd284189aaa4c27 | [] | no_license | joelnb/nsis | c77ad193314fd3f23fd104d924dfbee7e3e959e7 | cb26737974acb558c61a143458a79984e724f381 | refs/heads/master | 2022-09-13T03:33:20.860809 | 2022-09-02T20:03:18 | 2022-09-02T20:03:18 | 142,794,118 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 190,733 | cpp | #include "Platform.h"
#include <stdio.h>
#include <ctype.h>
#include "tokens.h"
#include "build.h"
#include "util.h"
#include "exedata.h"
#include "ResourceEditor.h"
#include "DialogTemplate.h"
#include "lang.h"
#include "dirreader.h"
#include "exehead/resource.h"
#include <cassert> // for assert(3)
#include <time.h>
... | [
"(no author)@212acab6-be3b-0410-9dea-997c60f758d6"
] | (no author)@212acab6-be3b-0410-9dea-997c60f758d6 |
c59f80ae0149766dafeb640a6765b6e40bdf1e0f | 39bad116e64e588d7243eb4d0ffdff3d6658bd23 | /eggdroplin.cpp | e3bfb1c1e58e4783333aaafc919f73b38ea62c69 | [] | no_license | piyushdubey-pd/dp_temp | f3f063e37f86e6ae6e1e403ff6f199e0486a2dc1 | cf691aa0993f0cbb6f8dfa4dae3dae21a04ddefb | refs/heads/master | 2023-08-15T13:41:59.613723 | 2021-10-02T16:12:16 | 2021-10-02T16:12:16 | 330,150,021 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,265 | cpp | // { Driver Code Starts
#include<bits/stdc++.h>
using namespace std;
// } Driver Code Ends
class Solution
{
public:
//Function to find minimum number of attempts needed in
//order to find the critical floor.
int dp[201][201];
int egg(int n, int k)
{
if(n==1 || k<=1)
return... | [
"piyushdubey72090@gmail.com"
] | piyushdubey72090@gmail.com |
307d64a77deacddfcc9ad8f5df362a25aa00970d | c89fc569241ea9598d6fd009db484074fc466ee4 | /src/chart/main/stylesheet.cpp | 922be929f8ca3d070348a159a3998da29d1bff26 | [
"Apache-2.0",
"LicenseRef-scancode-free-unknown"
] | permissive | namica/vizzu-lib | abcfc05eecd9bf95d0e90bab832a3371eecf0cc0 | 4d9473147ff0082e811234ad4c17c95e2eb0bdd7 | refs/heads/main | 2023-08-28T12:07:30.170977 | 2021-10-24T11:59:03 | 2021-10-24T11:59:03 | 418,309,880 | 0 | 0 | Apache-2.0 | 2021-10-18T02:00:55 | 2021-10-18T02:00:55 | null | UTF-8 | C++ | false | false | 4,204 | cpp | #include "stylesheet.h"
#include <cmath>
#include "base/io/log.h"
using namespace Vizzu;
using namespace Vizzu::Styles;
Chart Sheet::getFullParams(
const Diag::DiagramOptionsPtr &options,
const Geom::Size &size)
{
this->options = options.get();
calcDefaults(size);
return Base::getFullParams();
}
void Sheet::... | [
"simon@vizzuhq.com"
] | simon@vizzuhq.com |
a472123d029a621b9132cd43572fa6b861719cf3 | d6271ab44c4e17aae7a63d3de84711b92b0e3269 | /src/server/fuse_fs/symlink.h | 61a96c4eb67660c0f2dfb82a29aeac960e10081e | [
"MIT"
] | permissive | throwException/genode-world | 1b9873d4d2abca4b48d8a111c8572d9ac7121437 | 2a947864592bff84acf39f341463b00761852808 | refs/heads/master | 2023-01-06T21:11:42.386892 | 2020-11-12T10:15:08 | 2020-11-12T10:18:20 | 299,933,376 | 0 | 0 | NOASSERTION | 2020-09-30T13:46:17 | 2020-09-30T13:46:16 | null | UTF-8 | C++ | false | false | 1,778 | h | /*
* \brief Symlink file-system node
* \author Norman Feske
* \author Christian Helmuth
* \author Josef Soentgen
* \date 2013-11-26
*/
/*
* Copyright (C) 2013-2017 Genode Labs GmbH
*
* This file is part of the Genode OS framework, which is distributed
* under the terms of the GNU Affero General Public Lic... | [
"norman.feske@genode-labs.com"
] | norman.feske@genode-labs.com |
96aec6285f80833cadd2509d1a06cb1b8b6fbdc0 | 859785282e385c49c7a6ad11a233e7f5a9d0c9e7 | /c++/Maximum-Path-Sum-between-2-Leaf-Nodes.cpp | eaa5960e2c328be8fc3690fc0fef4d5783750c38 | [] | no_license | tejeswinegi/DSA-Solved-Problems | eaacfd939ef08208f73854c2bae2b4e739d6c4c5 | 9c4947fecea1f8b66ee2405c2d537961465ea479 | refs/heads/master | 2023-08-30T19:49:06.935389 | 2021-10-06T02:07:47 | 2021-10-06T02:07:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 539 | cpp | int maxPathSumUtil(Node *root, int &res) {
if (root == NULL)
return 0;
if (!root->left && !root->right)
return root->data;
int ls = maxPathSumUtil(root->left, res);
int rs = maxPathSumUtil(root->right, res);
if (root->left && root->right) {
res = max(res, ls + rs + root->... | [
"nkits9@gmail.com"
] | nkits9@gmail.com |
f1cad7d0ba8ea614c44be1b5b1d33d4b28541582 | 71679d07ad4a4b698428806801bb081aae302f8a | /Square VS Round/sources/pos.cpp | 217891a6e945298f516063918f3b0055ef6ee927 | [
"MIT"
] | permissive | killerdy/Square-VS-Round | 7e7b4a3a1a5d7945c535718bf6f71ec8f7faf692 | f074322bb079110e2501e373f818e9dde303562b | refs/heads/main | 2023-03-06T07:26:47.707014 | 2021-02-21T11:09:40 | 2021-02-21T11:09:40 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 224 | cpp | #include "../includes/pos.hpp"
#include <cmath>
bool Pos::collide(Pos p, double eps)
{
return abs(x - p.x) + abs(y - p.y) < eps;
}
double Pos::get_dis(Pos p)
{
return sqrt((p.x - x) * (p.x - x) + (p.y - y) * (p.y - y));
} | [
"huyuantao@outlook.com"
] | huyuantao@outlook.com |
05a8c6051767e96f0cafee48a488ec9273a4d4f8 | c619b43718441c6faef4cafa01eb7a81c4009a3d | /base/task/thread_pool/priority_queue_unittest.cc | d4478dd07321ed0cace34b1df4ea739e3983329a | [
"BSD-3-Clause"
] | permissive | cyjie/chromium | 553cb41ac7416a6a23e80129ab35d394d31deb58 | 54cfcfc367d540c502f89a2e3c15bfb43be27a1a | refs/heads/master | 2022-12-31T23:35:23.038391 | 2020-11-11T07:12:22 | 2020-11-11T07:12:22 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,221 | 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 "base/task/thread_pool/priority_queue.h"
#include <memory>
#include <utility>
#include "base/bind_helpers.h"
#include "base/memory/ptr_util.h"
... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
9be28eb5a7ed5983b10a9e077cb7a69b857100dd | 3ae18db84d0aba32bf473d7902e466cec26e6897 | /tcpppl/array_ref_argument.cc | d173b5408cda15ebbe80128f503dca2574dfcb1c | [
"MIT"
] | permissive | sylsaint/cpp_learning | 59f8c18d78699cb3c27ec6d1bb3361edb5515eb3 | 158bdf6186a38838ef16f9739e436b17518a56ba | refs/heads/master | 2021-01-12T08:03:46.036808 | 2018-09-21T09:58:03 | 2018-09-21T09:58:03 | 77,113,208 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 192 | cc | #include<iostream>
void f(int(&r)[4])
{
std::cout << r[3]++ << std::endl;
}
void g()
{
int a1[] {1,2,3,4};
f(a1);
std::cout << a1[3] << std::endl;
}
int main()
{
g();
}
| [
"yonglu.syl@alibaba-inc.com"
] | yonglu.syl@alibaba-inc.com |
852a906ffaf741fa61c1f25b5a623abd4ede9e54 | b636da9e36be06c11ecf596545df8d221a5b0f35 | /src/mame/includes/model2.h | b8f162014f19c18b59eb9c2b8052844e1133079c | [] | no_license | Ced2911/drunken-ironman | e8d1040ee8dc33dff9309ca2d7b2102f5b341f24 | cad0a219576d3b0f9377c64fb5f66f4d69f8ceae | refs/heads/master | 2016-08-08T12:52:13.064543 | 2012-08-21T19:57:46 | 2012-08-21T19:57:46 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,007 | h | #include "video/poly.h"
typedef struct _raster_state raster_state;
typedef struct _geo_state geo_state;
class model2_state : public driver_device
{
public:
model2_state(const machine_config &mconfig, device_type type, const char *tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this,"maincpu"),... | [
"Ced2911@gmail.com"
] | Ced2911@gmail.com |
0be2c90f4f7d9ad5a1d70c5184a487ae40cb5cbf | f416ab3adfb5c641dc84022f918df43985c19a09 | /problems/projecteuler/0018.cpp | 062a4584e500b64e4ef126f222edbef0b30de8ed | [] | no_license | NicoKNL/coding-problems | a4656e8423e8c7f54be1b9015a9502864f0b13a5 | 4c8c8d5da3cdf74aefcfad4e82066c4a4beb8c06 | refs/heads/master | 2023-07-26T02:00:35.834440 | 2023-07-11T22:47:13 | 2023-07-11T22:47:13 | 160,269,601 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,294 | cpp | #include <bits/stdc++.h>
using namespace std;
string in = "75\n"
"95 64\n"
"17 47 82\n"
"18 35 87 10\n"
"20 04 82 47 65\n"
"19 01 23 75 03 34\n"
"88 02 77 73 07 63 67\n"
"99 65 04 28 06 16 70 92\n"
"41 41 26 56 83 40 80 70 ... | [
"klaassen.nico@gmail.com"
] | klaassen.nico@gmail.com |
3982955210b1d3b82f1d9fd968b269a513b4b8ff | b5a14460d1ef875a6b842738954e58b085dba4ed | /materials/14032019/globalne_ocieplenie.cpp | 568f10697831712b4d8f97971a516023086824a9 | [
"MIT"
] | permissive | kamiltokarski/devcpp_thur | b779e39dd90273b70f48e2c3acbe55e40face27b | 4106483644cde347f60eb20c8063e0d78fc89bcb | refs/heads/master | 2020-04-28T04:40:11.321411 | 2019-03-28T16:02:06 | 2019-03-28T16:02:06 | 174,988,013 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,249 | cpp | #include <bits/stdc++.h>
using namespace std;
int tab[1000009];
pair <int, int> srt[1000009];
int main()
{
ios_base::sync_with_stdio(false);
cin.tie(NULL);
cout.tie(NULL);
int n;
cin >> n;
for(int i = 1; i <= n; i++)
{
cin >> tab[i];
srt[i] = make_pair(tab[i], i);
}
... | [
"kato13@staszic.waw.pl"
] | kato13@staszic.waw.pl |
9fda8ae338939efdf4c1e5c55dd915f2e43c4f2c | a4c5a956e20c32e2b8d13752e06da39826280780 | /dft2lnt/DFTreeValidator.h | e7cc2e4bf5c3feb94808efd706d28de4bcccab32 | [] | no_license | buschko/dftcalc | 885f649b4b55ec7965bfb482a7d47f2abe3912b5 | f8859cdbca064931099cf0e8d8fd40aa5389a0e4 | refs/heads/master | 2020-06-07T15:44:57.516678 | 2015-05-19T12:06:04 | 2015-05-19T12:06:04 | 28,040,398 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,299 | h | /*
* DFTreeValidator.h
*
* Part of dft2lnt library - a library containing read/write operations for DFT
* files in Galileo format and translating DFT specifications into Lotos NT.
*
* @author Freark van der Berg
*/
namespace DFT {
class DFTreeValidator;
}
#ifndef DFTREEVALIDATOR_H
#define DFTREEVALIDATOR_H
... | [
"fivanderberg@gmail.com"
] | fivanderberg@gmail.com |
c0f397a40899cb1af0effd64e94b45ac00962559 | dacd0cb1c1a4b651a465a442709b44485f24263e | /TheLeadGame_cchef.cpp | e4c1072aec5bcd0adcde7ce2cc426b7d061ff89e | [] | no_license | Anupoma/CodeChef_Practice | a06cdc414651efb1f2a0e21762ba5c25f940e6f3 | 906006327e74ad41374b2f24fc73ab853d42fd2f | refs/heads/main | 2023-08-12T16:13:14.924915 | 2021-10-08T09:59:42 | 2021-10-08T09:59:42 | 414,934,126 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 85 | cpp | #include<bits/stdc++.h>
using namespace std;
int main()
{
int n,
return 0;
}
| [
"anupomadastoma@gmail.com"
] | anupomadastoma@gmail.com |
aa0c095ba33710a5a02ab90fff594cefeb6c7811 | d2c0a259489e17b9df8fa249c23a0fead6dbfd75 | /TrigBjetHypo/TrigDvHypo.h | f0458ebc41a110f4842ee939a5fa608c33a6ac57 | [] | no_license | duartej/TrigDVHypo | a756712bc8fd9a82f90157f60a5135398e9d3968 | 2086a5f0890da81d815d6b7df7ad041df614e2e7 | refs/heads/master | 2020-12-24T16:50:29.813914 | 2015-11-17T14:07:16 | 2015-11-17T14:07:16 | 27,373,867 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,542 | h | // ************************************************
//
// NAME: TrigDvHypo.h
// PACKAGE: Trigger/TrigHypothesis/TrigDvHypo
//
// AUTHOR: Andrea Coccaro
// EMAIL: Andrea.Coccaro@ge.infn.it
//
// ************************************************
#ifndef TRIGDVHYPO_H
#define TRIGDVHYPO_H
#include "TrigInterfac... | [
"Jordi.Duarte.Campderros@cern.ch"
] | Jordi.Duarte.Campderros@cern.ch |
5380f16cf60422d431830460f8e7a02b1f849dfe | 8883bb97208c0a2d38f9654c29a748ac3c8743d5 | /Implementation/circuit.h | 8dabc9505f91a370a5ada4ab045e4ba35ec37185 | [] | no_license | giancarlokc/fully-homomorphic-encryption | 35c3aaf1610f5cf08ff8314490100169d0deecc4 | c89494b98b241ff6d3dee0f98674f749bab3a339 | refs/heads/master | 2021-03-27T14:01:02.048310 | 2015-12-26T16:55:39 | 2015-12-26T16:55:39 | 46,006,106 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,363 | h | #ifndef CIRCUIT_H
#define CIRCUIT_H
#include "type_defs.h"
#include "security_settings.h"
#include "utilities.h"
#include <vector>
#include <stdexcept>
#include <cmath>
enum GateTypeEnum {And, Xor, Input, InputLiteral, Output};
typedef enum GateTypeEnum GateType;
class Gate {
private:
SecuritySettings *sec;
pub... | [
"giancarlokc@gmail.com"
] | giancarlokc@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.