blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 4 201 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 7 100 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 260
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 11.4k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 17
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 80
values | src_encoding stringclasses 28
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 8 9.86M | extension stringclasses 52
values | content stringlengths 8 9.86M | authors listlengths 1 1 | author stringlengths 0 119 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
d6cc56ec5638b697e6d2cc1749e628c737aaa012 | a734f2ab729e2f36d4f5b3a7617dd3eaf5199c01 | /Leetcode/Trees/222_Count_complete_tree_nodes.cpp | 01eee5eedd64c8b908dad50bab263fc8c825e995 | [] | no_license | shash04/General_Coding | 54b889d919b1de7d152a9e585ff604ed8c6a3b2b | 7d12479db221c4324e6254b88869997ce110866f | refs/heads/master | 2021-01-13T10:39:10.832265 | 2020-12-14T04:52:00 | 2020-12-14T04:52:00 | 69,840,301 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,510 | cpp | // Given a complete binary tree, count the number of nodes.
// Note:
// Definition of a complete binary tree from Wikipedia:
// In a complete binary tree every level, except possibly the last, is completely filled, and all nodes in the
// last level are as far left as possible. It can have between 1 and 2h nodes in... | [
"noreply@github.com"
] | noreply@github.com |
7c2771187d49160a1a31c2b5a78be2baecc291d5 | 962476e8b1a5e1ddde58a980402541adf23a13bf | /LLY/LLY/resource/track.cpp | 5d31c1d232365f09296bdfe918a3464bdcc7a0e1 | [
"MIT"
] | permissive | ooeyusea/GameEngine | c9f925a5bc88d69b118d7a10dafeba72fcf82813 | 85e7ceef7ddf663f9601a8a8787e29e8e8cdb425 | refs/heads/master | 2021-01-02T08:52:39.788919 | 2015-07-06T14:00:07 | 2015-07-06T14:00:07 | 33,131,532 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 933 | cpp | #include "track.h"
#include "key_frame.h"
namespace lly {
void Track::get_interpolate_frame(KeyFrame& frame)
{
if (_frames.empty())
throw std::logic_error("empty frame");
size_t i = 0;
while (i < _frames.size())
{
if (frame.get_time_pos() < _frames[i]->... | [
"ooeyusea@gmail.com"
] | ooeyusea@gmail.com |
46736207a4efbe20f7c5477c2dc486dff80a4214 | c92c442fcdd4442f23e97dd73382f96b41376c87 | /SourceCode/Common/GateWay.cpp | 473e7e53f47c73577ee90d0636861e7fe5ede728 | [] | no_license | hackerlank/akx | 2e56ab90ce5cf8f69dfaba75efe4e5604aa4a476 | a15489e27c4495b6d5d3c84bf6fff8bec00166e6 | refs/heads/master | 2020-03-12T06:17:33.802783 | 2017-10-01T16:00:53 | 2017-10-01T16:00:53 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 41,811 | cpp | #include "stdafx.h"
#include "UDPServer.h"
#include "Cmd_Fish.h"
#define UDP_PER_RECV_COUNT 3
#define UDP_CMD_VECTOR_SIZE 32
#define UDP_MTU 512
#define UDP_MAX_SEND_SIZE 2048
#define BUFF_MIN_SIZE 4096
#define UDP_CLIENT_MIN_SIZE 4
#define THREAD_ACCEPT_COUNT 512 //单个线程接收的容器数量
#define UDP_VALIDATION_TICK ... | [
"anhuiwangming@163.com"
] | anhuiwangming@163.com |
b7840ec2be0bd6215a43d29a41c7aad76f7ab33e | 30681dae0ff67c25216c688c1117f77895da8080 | /Ch05/ex0525.cpp | 1795a50078ef22ec6c477b1bd7a746573fe9a4b6 | [] | no_license | deng25/Cpp-Primer-5th | 17b3747214cf2a66dbec6662ee3e56e27141bc85 | 8a6d63eda154eb34eed740fc76980b883173519b | refs/heads/master | 2020-12-24T12:40:29.920775 | 2017-01-07T12:11:01 | 2017-01-07T12:11:01 | 72,964,690 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 802 | cpp | #include <iostream>
#include <exception>
using std::cin;
using std::cout;
using std::endl;
using std::exception;
int main()
{
int n1, n2;
cout << "请输入两个整数:" << endl;
while (cin >> n1 >> n2) {
try {
if (!n2) {
throw exception("被除数不能是0!");
}
// thro... | [
"noreply@github.com"
] | noreply@github.com |
1d2fbdef4c6585bfc0f293a732934180778151a6 | 2a0c80d9417f8538080c9c4582b309a660ad17ef | /fileexport.h | 09253b0ae95c7f00fa1135c4b4cfad042e8f90cc | [] | no_license | FxMain/ARK | 2388c7375d74a20705833e4fbd2414983a326c87 | ba6fc3c4ace6ce750d911883f6a4e5efde44c3ef | refs/heads/master | 2020-03-28T22:37:45.082689 | 2018-10-30T13:03:19 | 2018-10-30T13:03:19 | 149,245,943 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 283 | h | #ifndef FILEEXPORT_H
#define FILEEXPORT_H
#include <QDialog>
namespace Ui {
class fileexport;
}
class fileexport : public QDialog
{
Q_OBJECT
public:
explicit fileexport(QWidget *parent = 0);
~fileexport();
private:
Ui::fileexport *ui;
};
#endif // FILEEXPORT_H
| [
"1151042346@qq.com"
] | 1151042346@qq.com |
53b337b5907780d6092a9aaa4cfa0760a9a32ab3 | 4019d98ce38791a4e145c639d48aef5666a3fd5c | /probs/bzoj1086-tree-divide-blocks-with-vectors.cpp | cf317b4d0cf26197ee365d2f10e8dc8b9be7c9b5 | [] | no_license | karin0/problems | c099ded507fabc08d5fe6a234d8938575e9628b7 | b60ffaa685bbeb4a21cde518919cdd2749086846 | refs/heads/master | 2023-02-09T21:55:24.678019 | 2021-01-08T16:46:54 | 2021-01-08T16:46:54 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 984 | cpp | #include <cstdio>
#include <vector>
const int N = 1005;
std::vector<int> g[N];
int n, s, bcnt, cent[N], ssz, bel[N], sta[N];
void dfs(int u, int f) {
int osz = ssz;
for (std::vector<int>::iterator it = g[u].begin(); it != g[u].end(); ++it) {
if (*it == f)
continue;
dfs(*it, u);
... | [
"dredgar065@gmail.com"
] | dredgar065@gmail.com |
5f269e81b48fcd04f37fa4dcd13ad8155a1b58cf | d94436dbb76c4dd13d3e27dd254c70a5f5db1935 | /src/models/unit_test/model_test.cpp | 823abf81a4b544fbdedff543603256ae1e19374a | [
"Apache-2.0"
] | permissive | gutseb/lbann | 298a96ac4f406a20cd8e10b10dce688d2ac6ee52 | 0433bb81133f54d9555849e710e445b37383d2b8 | refs/heads/master | 2023-09-01T10:25:50.318390 | 2021-05-28T00:08:01 | 2021-05-28T00:08:01 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,072 | cpp | ////////////////////////////////////////////////////////////////////////////////
// Copyright (c) 2014-2019, Lawrence Livermore National Security, LLC.
// Produced at the Lawrence Livermore National Laboratory.
// Written by the LBANN Research Team (B. Van Essen, et al.) listed in
// the CONTRIBUTORS file. <lbann-dev@l... | [
"noreply@github.com"
] | noreply@github.com |
912ae16af53e6a1529d87240a9ee9d3e62816512 | 02214e152114bdfaa0df67c2405c6c2654610663 | /Classes/TerrainTest.h | 6ee37492bb68e0816395b714e470a6ed8885f226 | [] | no_license | devssx/Game | e7a6222ba672bd837e2b3272226b43f9c68c3bab | c9e250b5f5eeb0cecfefda1027f336c970b1a220 | refs/heads/master | 2020-03-17T11:14:53.020823 | 2018-05-27T01:14:39 | 2018-05-27T01:14:39 | 133,543,721 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,918 | h | #ifndef TERRAIN_TESH_H
#include "3d/CCSprite3D.h"
#include "3d/CCTerrain.h"
#include "2d/CCCamera.h"
#include "2d/CCAction.h"
#include "cocos2d.h"
class TerrainTestDemo : public cocos2d::Scene
{
protected:
std::string _title;
};
class TerrainSimple : public TerrainTestDemo
{
public:
CREATE_FUNC(TerrainS... | [
"salomon.sanchez@gameloft.com"
] | salomon.sanchez@gameloft.com |
db8dd62eada9875867786236bcf43116b7d93414 | e77e62ee038cf826ac5c9283590941946262e563 | /Lab/Conway_Game_of_Life/World.h | ab96f5ad0780e38a1bdada59ec8a2e4100630d53 | [] | no_license | himkwan01/TszKwan_CSC17C_48942 | 2d91fe501a7f620159d6b65ca14042af8f4d5ba8 | 425ca830a2476c9edf8e8551bc31c515e4493c7c | refs/heads/master | 2021-01-22T23:16:23.146434 | 2015-12-19T07:21:56 | 2015-12-19T07:21:56 | 41,872,665 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,522 | h | /*
* File: world.h
* Author: Himkw_000
*
* Created on November 2, 2015, 9:33 AM
*/
#ifndef WORLD_H
#define WORLD_H
#include <iostream>
using namespace std;
class World{
public:
World(){}
World(int, int);
int count_neighbour(int,int);
int getRow(){return row;}
int getCol(){return col;}
int getBoar... | [
"himkwanbbq@hotmail.com"
] | himkwanbbq@hotmail.com |
3b059cbe7fd057e906dd52f819df477ea365db9e | 50cbf2938d82848fbfb7d2f986db3bedc369bfa3 | /include/roq/layer.h | 588358bf6078be1bf56820c0c33c949cce387b4b | [
"BSD-3-Clause",
"MIT",
"BSL-1.0",
"Apache-2.0"
] | permissive | nika90426/roq-api | 19c15c209d4d37de4245e2e3deefb994ca14505a | b9399cfdc059dde125b94c58b071f0b8c0112bb5 | refs/heads/master | 2023-05-31T05:56:02.666288 | 2021-06-20T01:46:22 | 2021-06-20T01:46:22 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,246 | h | /* Copyright (c) 2017-2021, Hans Erik Thrane */
/* !!! THIS FILE HAS BEEN AUTO-GENERATED !!! */
#pragma once
#include <fmt/chrono.h>
#include <chrono>
#include <string_view>
#include "roq/chrono.h"
#include "roq/format.h"
#include "roq/literals.h"
#include "roq/numbers.h"
#include "roq/span.h"
#include "roq/string... | [
"thraneh@gmail.com"
] | thraneh@gmail.com |
e60848713ee512bb3531f6840f52cd41c8fd259e | 243b957e05baa9e00d4dce3f0e848153ed299ae0 | /src/bo/t_reaction.h | 60b6b4a6ae4206e2dcc03a8fa2f25172429b6486 | [] | no_license | victor-tr/configurator | 1efe0269d10bde315faaccc30151c225f7caa44e | a911627b97ee3630764959300475e09490d83afd | refs/heads/master | 2016-09-05T20:57:36.940171 | 2015-05-22T10:20:19 | 2015-05-22T10:20:19 | 36,068,422 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,177 | h | #ifndef T_REACTION_H
#define T_REACTION_H
class t_Event;
class t_BehaviorPreset;
class t_Reaction
{
typedef qx::dao::ptr<t_BehaviorPreset> t_BehaviorPreset_ptr;
typedef qx::QxCollection<int, t_BehaviorPreset_ptr> t_BehaviorPresetX;
typedef qx::dao::ptr<t_Event> t_Event_ptr;
public:
t_Reaction() : _... | [
"vic.box.1970@gmail.com"
] | vic.box.1970@gmail.com |
887c895b51b5634f9b5fc48537cf51aedac2f93f | 8862013eb3dcb6a174c5262f7a048d8316c13662 | /chap5/eg-5-5.cpp | bb353b0a81714d6a396298ca65c24894cb304a62 | [
"MIT"
] | permissive | mofhu/algorithm-workbook | ee05d707289e8643a7cfa648f5dda6d87eee07fe | e6255fc20fb76d8712ccfc014da0aaae0dd03452 | refs/heads/master | 2020-04-19T09:11:47.738047 | 2016-09-11T15:04:14 | 2016-09-11T15:04:14 | 66,284,959 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,257 | cpp | #include<iostream>
#include<algorithm>
#include<set>
#include<map>
#include<vector>
#include<stack>
#include<cstdio>
using namespace std;
typedef set<int> Set;
map<Set,int> IDcache;
vector<Set> Setcache;
int ID (Set x){
if (IDcache.count(x)) return IDcache[x];
Setcache.push_back(x);
return IDcache[x] = Set... | [
"mofrankhu@gmail.com"
] | mofrankhu@gmail.com |
8fea5223b1d7b2cdf993ba7209f026608e55ef9b | fa3050f5e5ee850ba39ccb602804c001d9b4dede | /third_party/blink/renderer/core/app_history/app_history.cc | dfb5eda0ac0688e10183050cae46538582a6f120 | [
"LGPL-2.0-only",
"BSD-2-Clause",
"LGPL-2.1-only",
"BSD-3-Clause",
"Apache-2.0",
"LGPL-2.0-or-later",
"MIT",
"GPL-1.0-or-later",
"LicenseRef-scancode-warranty-disclaimer",
"GPL-2.0-only",
"LicenseRef-scancode-other-copyleft"
] | permissive | wayou/chromium | a64c9df7d9c6190f8f9f730e7f68a998ffcabfc9 | f5f51fc460df28cef915df71b4161aaa6b668004 | refs/heads/main | 2023-06-27T18:09:41.425496 | 2021-09-08T23:02:28 | 2021-09-08T23:02:28 | 404,525,907 | 1 | 0 | BSD-3-Clause | 2021-09-08T23:38:08 | 2021-09-08T23:38:08 | null | UTF-8 | C++ | false | false | 29,353 | cc | // Copyright 2021 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 "third_party/blink/renderer/core/app_history/app_history.h"
#include <memory>
#include "third_party/blink/public/web/web_frame_load_type.h"
#in... | [
"chromium-scoped@luci-project-accounts.iam.gserviceaccount.com"
] | chromium-scoped@luci-project-accounts.iam.gserviceaccount.com |
54db0c8c8791255fa9d937c9330c8e566c32b23b | 0cdf75765c8f95c3720bda30ed76db1c44fb4314 | /textCompare/weiDockWidget.h | 901a1b22e2aa7c85819aa14a4c19c2ba68c418bf | [] | no_license | drink-crow/textCompare | 91e28d7cf66f011d4eb22f5c713ff9679a9d0919 | 17421cac9ab96c37ff1a6053dd7e5387dbd228cb | refs/heads/master | 2022-02-24T14:42:12.830405 | 2019-07-23T06:49:59 | 2019-07-23T06:49:59 | 198,369,245 | 0 | 1 | null | null | null | null | GB18030 | C++ | false | false | 1,712 | h | #pragma once
#include <QtWidgets/QMainWindow>
#include "customTitleBar.h"
#include "weiTextedit.h"
constexpr int originTopMargin = 2;
constexpr int tabAddTopMargin = 4;
class weiDockWidget : public QDockWidget
{
Q_OBJECT
//friend class weiDockWidget;
public:
explicit weiDockWidget(QWidget *parent = Q_NULLPTR, QUu... | [
"weibaoziisthebest@outlook.com"
] | weibaoziisthebest@outlook.com |
58b763c315531d9a5bcb09f9f284990c3a14dbfa | 379522feaf4b1780c11b5802b2fedf7eda90fbb9 | /cae/main/loop_condition/loop_condition.h | 9e85689313cac3608cabcb3a16598c8eaf9831b1 | [] | no_license | evil-is-good/primat-projects | 2b0896386ac546559b34b3df20f9862e0230fe28 | 460645fe25605af16ae074d02eeb801c84c92568 | refs/heads/master | 2023-01-24T04:34:36.063704 | 2023-01-03T09:38:49 | 2023-01-03T09:38:49 | 16,097,398 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 759 | h |
#ifndef LOOP_CONDITION
#define LOOP_CONDITION
#include "projects/cae/main/point/point.h"
namespace prmt
{
template<int spacedim>
class LoopCondition
{
public:
LoopCondition (prmt::Point<spacedim> &w, vec<prmt::Point<spacedim>> &b) :
substitutiv(... | [
"vlasko.a.f@yandex.ru"
] | vlasko.a.f@yandex.ru |
aa74e2c9165b856f9d025ac5cba0d18f2b8e6014 | a26575054e41cc73f9eb2603ba0008694a038126 | /vts/vm/src/test/vm/jvmti/funcs/GetLocalLong/GetLocalLong0107/GetLocalLong0107.cpp | a7bd1625b46ee40adacb7958638de6accae6eec2 | [
"Apache-2.0",
"LicenseRef-scancode-generic-cla"
] | permissive | FLORG1/drlvm-vts-bundle | e269ede0e2c41b402315100d7bb830f6c3d8a097 | 61f0d5a91d2e703d95e669298a84fc18ae9f050d | refs/heads/master | 2021-01-17T20:34:24.999958 | 2015-04-23T18:54:38 | 2015-04-23T18:54:38 | 45,146,096 | 2 | 0 | null | 2015-10-28T22:39:44 | 2015-10-28T22:39:43 | null | UTF-8 | C++ | false | false | 3,153 | 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/LI... | [
"niklas@therning.org"
] | niklas@therning.org |
e0802e67d49c668db0cab3714dc191c752272e60 | 2c3c7a7c1926a68ca7794a4960c9cb525aa189fc | /QuadTree.inl | 6a24ac39418fdb6edf266e0f69d2618b3740ef4e | [] | no_license | StephanoWurttele/rangeQuery | b13070a318377dadd27963d8540c10d8c93b127f | 8c8cb389a2fe45ce43fb9f11287933ecf91c5498 | refs/heads/main | 2023-06-11T14:20:23.946241 | 2021-07-01T00:23:00 | 2021-07-01T00:23:00 | 381,840,895 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,182 | inl | #include "QuadTree.h"
#include <memory>
#include <iostream>
#include <vector>
#include <algorithm>
namespace utec
{
namespace spatial
{
template<typename Node, typename Rectangle, typename Point>
QuadTree<Node, Rectangle, Point>::QuadTree(){
this->root=nullptr;
}
template<typename Node, typename Rectangle, typen... | [
"stephano.wurttele@utec.edu.pe"
] | stephano.wurttele@utec.edu.pe |
3dd56b34ec8e1962adc281d0a354e50c8b110447 | b59c97f2cbccff2157bbc2fb957742bae4b8855f | /LQ/p3.cpp | 7f2329e0d6bc35a1973644b575036831806b2176 | [] | no_license | Yaser-wyx/ACM | bbeab36c0218ceaaa0e1895f7c6b5eea6df76386 | d0c784a9605dc697b4ea9d74c5bd141b2822fec3 | refs/heads/master | 2020-03-09T04:47:30.418231 | 2018-05-17T10:24:19 | 2018-05-17T10:24:19 | 122,565,642 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 484 | cpp | #include <bits/stdc++.h>
using namespace std;
/**
* Created with IntelliJ Clion.
* @author wanyu
* @Date: 2018-03-26
* @Time: 10:55
* To change this template use File | Settings | File Templates.
*
*/
int p3() {
for (int i = 1; i <= 200; i++) {
int sum = 0;
for (int j = i; j <= 200;... | [
"335767798@qq.com"
] | 335767798@qq.com |
28c9c2899bd94f1ecf434ff123d2d8e0ed28dde4 | 0fbdba5f4372ddb01bb4ba69ba18ff26a9fb5d5d | /system/qsongitem.h | 690275c99b961d85c8b70513921f6d3a7c40ceaf | [] | no_license | dissonancedev/phonograph | fc47f1e0988949d4dbee8dc9fece161ce6708e74 | 1433407690b790d1896cfee769cfb51aa72f4319 | refs/heads/master | 2022-09-06T11:20:16.149679 | 2015-04-15T14:06:10 | 2015-04-15T14:06:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 197 | h | #ifndef QSONGITEM_H
#define QSONGITEM_H
#include <QTreeWidgetItem>
#include "song.h"
class QSongItem: public QTreeWidgetItem
{
public:
Song song;
QSongItem();
};
#endif // QSONGITEM_H
| [
"nparasta@gmail.com"
] | nparasta@gmail.com |
cbbcdddfed0d8da3a1a9e8beb29e031ac5ae1f54 | 3b01a4a148dbc5f8684da8f3283e71e7fa6922c3 | /Source/Urho3D/UI/tbUI/tbUISelectDropdown.cpp | 6f08b843d10d86e49428b719c675ef320242007d | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | tyrbedarf/Urho3D | bed80f24a621b89591a56330394cf1e6445803b5 | cc1fab1f00a50a61b1e4299e86173c7f8c042887 | refs/heads/master | 2020-04-21T21:02:59.598840 | 2019-06-23T15:44:02 | 2019-06-23T15:44:02 | 169,866,243 | 2 | 0 | null | 2019-02-09T12:46:47 | 2019-02-09T12:46:46 | null | UTF-8 | C++ | false | false | 1,957 | cpp | //
// Copyright (c) 2014-2015, THUNDERBEAST GAMES LLC All rights reserved
//
// 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
//... | [
"tyr@tyrbedarf.de"
] | tyr@tyrbedarf.de |
d1ce2cff748df656c87c1c9193628abe77bd46b9 | 8c2b2d80a28d8635ae17f18632222a69b1918f81 | /src/protected/geo/geolocationutil.h | 52f79c8c991829cf918934f19e9e78e84c13766d | [
"MIT"
] | permissive | stein2k/jeepney | 3c859175dd72f54741b7e1456e5f1013b1c270a0 | e9bb626ee31b0404fc68bdbc1667ffaa12de78d9 | refs/heads/master | 2020-03-28T12:56:41.058563 | 2019-04-10T23:46:21 | 2019-04-10T23:46:21 | 148,349,762 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 593 | h | #ifndef __jeepney_protected_geo_geolocationutil_h
#define __jeepney_protected_geo_geolocationutil_h
#include <napi.h>
namespace jeepney
{
class EllipseVertices : Napi::ObjectWrap<EllipseVertices>
{
public:
static Napi::Object Init(Napi::Env env, Napi::Object exports);
static ... | [
"stein2k@users.noreply.github.com"
] | stein2k@users.noreply.github.com |
29fee7809a46b125fe1f8608f1e018e2851235ba | 89dedd7f3c7acc81d12e2bcb2e716f9af9e5fa04 | /third_party/WebKit/Source/modules/webgl/WebGL2RenderingContext.cpp | f9a6beb9807001540cc2f7fece3ee4ca3abd8c12 | [
"LGPL-2.0-or-later",
"GPL-1.0-or-later",
"MIT",
"Apache-2.0",
"LicenseRef-scancode-warranty-disclaimer",
"LGPL-2.1-only",
"GPL-2.0-only",
"LGPL-2.0-only",
"BSD-2-Clause",
"LicenseRef-scancode-other-copyleft",
"BSD-3-Clause"
] | permissive | bino7/chromium | 8d26f84a1b6e38a73d1b97fea6057c634eff68cb | 4666a6bb6fdcb1114afecf77bdaa239d9787b752 | refs/heads/master | 2022-12-22T14:31:53.913081 | 2016-09-06T10:05:11 | 2016-09-06T10:05:11 | 67,410,510 | 1 | 3 | BSD-3-Clause | 2022-12-17T03:08:52 | 2016-09-05T10:11:59 | null | UTF-8 | C++ | false | false | 6,314 | cpp | // 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 "modules/webgl/WebGL2RenderingContext.h"
#include "bindings/modules/v8/OffscreenCanvasRenderingContext2DOrWebGLRenderingContextOrWebGL2Rendering... | [
"bino.zh@gmail.com"
] | bino.zh@gmail.com |
52db508fd641ea0ead52c51f1a91c07866215c6a | 42c2dad35b237a0cf8119683703885e5ccfd4a0f | /SelectDirFrame.h | b0fc47606d7e980d821332ead55bec9396d341c4 | [] | no_license | bp666/Qt-CloudMusic | 40f9a9a94b114a8ff3fb8ee06300f6733f615480 | 443909d440ef282ad4ff640ec56883b9bd7355e0 | refs/heads/master | 2022-03-25T12:31:28.289871 | 2019-12-22T05:00:34 | 2019-12-22T05:00:34 | 111,340,637 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 933 | h | #ifndef SELECTDIRFRAME_H
#define SELECTDIRFRAME_H
#include "FramelessAndAutoSize.h"
#include <QLabel>
#include <QPushButton>
#include <QHBoxLayout>
#include <QVBoxLayout>
#include <QCheckBox>
#include <QGroupBox>
#include <QListWidget>
#include <QListWidgetItem>
class SelectDirFrame : public FramelessA... | [
"sbpuse@outlook.com"
] | sbpuse@outlook.com |
d166dddedd8fbdb25c1a24a2fe367c9efde0a798 | 9cd165fb42220d8e6b46b8a494febb6cfd2d3a99 | /Level 2/Lecture 8(Linked List 1)/Classes/Pr1_LengthOfLL.cpp | 63f4cc7f9d4d9f76e861d751ff95754512cea64d | [] | no_license | Ritesh0722/Coding-Ninjas-Data-Structures-in-CPP | b4b71e81b27ca75043730078eab12a4cbe3b0d7a | e987a70c34097f970b95adf2daf9499407c03388 | refs/heads/master | 2023-07-16T02:30:52.533834 | 2021-08-29T10:11:42 | 2021-08-29T10:11:42 | 380,097,424 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,765 | cpp | /***
Length of LL
For a given singly linked list of integers, find and return its length. Do it using an iterative method.
Input format :
The first line contains an Integer 't' which denotes the number of test cases or queries to be run. Then the test cases follow.
First and the only line of each test case or query ... | [
"rnk2217@gmail.com"
] | rnk2217@gmail.com |
bffd5c12a5b62d147e4ebc997b18736387eb1b21 | 6a69d57c782e0b1b993e876ad4ca2927a5f2e863 | /vendor/samsung/common/packages/apps/SBrowser/src/chrome/browser/referrer_policy_browsertest.cc | 852dfd6862a8321dd88fb28bb0de67fef20b8cc4 | [
"BSD-3-Clause"
] | permissive | duki994/G900H-Platform-XXU1BOA7 | c8411ef51f5f01defa96b3381f15ea741aa5bce2 | 4f9307e6ef21893c9a791c96a500dfad36e3b202 | refs/heads/master | 2020-05-16T20:57:07.585212 | 2015-05-11T11:03:16 | 2015-05-11T11:03:16 | 35,418,464 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 24,686 | 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 "base/bind.h"
#include "base/prefs/pref_service.h"
#include "base/strings/string_number_conversions.h"
#include "base/strings/utf_string_conv... | [
"duki994@gmail.com"
] | duki994@gmail.com |
b4cb0a2dcee0064e20f8606da25c2491441323bc | d407f3bdbcdf70920bb8f0790c401dfb023af5de | /physics/Impact.cpp | 2f294bde2ec15a3da5e16ccefd1298793d5c0050 | [
"LicenseRef-scancode-unknown-license-reference",
"BSD-2-Clause"
] | permissive | mathall/nanaka | 3f02ffb4f2e19af3446d43af61226c122b18498c | 0304f444702318a83d221645d4e5f3622082c456 | refs/heads/master | 2016-09-11T04:01:22.986788 | 2014-04-16T20:31:46 | 2014-04-26T12:56:01 | 11,401,646 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,708 | cpp | /*
* Copyright (c) 2013, Mathias Hällman. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice,
* this list of condi... | [
"mathias87@gmail.com"
] | mathias87@gmail.com |
bd40740633424bba2782e97ba3c9c53b8354c0cd | e217eaf05d0dab8dd339032b6c58636841aa8815 | /Ifc4/src/OpenInfraPlatform/Ifc4/entity/include/IfcElementType.h | c9f71f656afc3678deb303c63a7ea9827e2c2d10 | [] | no_license | bigdoods/OpenInfraPlatform | f7785ebe4cb46e24d7f636e1b4110679d78a4303 | 0266e86a9f25f2ea9ec837d8d340d31a58a83c8e | refs/heads/master | 2021-01-21T03:41:20.124443 | 2016-01-26T23:20:21 | 2016-01-26T23:20:21 | 57,377,206 | 0 | 1 | null | 2016-04-29T10:38:19 | 2016-04-29T10:38:19 | null | UTF-8 | C++ | false | false | 3,145 | h | /*! \verbatim
* \copyright Copyright (c) 2015 Julian Amann. All rights reserved.
* \author Julian Amann <julian.amann@tum.de> (https://www.cms.bgu.tum.de/en/team/amann)
* \brief This file is part of the OpenInfraPlatform.
* \endverbatim
*/
#pragma once
#include <vector>
#include <map>
#include <sstream>
#include... | [
"julian.amann@tum.de"
] | julian.amann@tum.de |
76f30bb6d4cf37cb2229900ad424a615aab054b3 | 1d8fcc8c0026c8f60e9310c19439627f5cd75f19 | /CalderianMobiles/MobileModel.h | 7dbacf9627a254e9862e0c906cd0fc29dc354ee3 | [] | no_license | dritchie/simference | 6a1fe7ab351e77efe05b514dc17b6ee0f103ce7d | 6d67acda8b7208c75fe0bb24efd930879b1e3e7c | refs/heads/master | 2020-05-18T18:22:19.955150 | 2013-03-21T22:31:37 | 2013-03-21T22:31:37 | 8,104,482 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 811 | h | #ifndef __MOBILE_MODEL_H
#define __MOBILE_MODEL_H
#include "../Common/Model.h"
#include "Mobile.h"
namespace simference
{
namespace Models
{
class MobileFactorTemplate : public FactorTemplate
{
public:
MobileFactorTemplate(const Eigen::Vector3d& a) : anchor(a) {}
void unroll(StructurePtr s, std::vector<... | [
"daniel.c.ritchie@gmail.com"
] | daniel.c.ritchie@gmail.com |
42ee76e9654d1115260f43c1ea67269484566031 | f1f81da43d61f047865fc4f9e7da0c3bfa76d73a | /Profiler/lib/yaml-cpp/include/yaml-cpp/exceptions.h | eae31968b7ffac70cf2b9e4bb228308b4f056fb6 | [
"MIT",
"Apache-2.0"
] | permissive | cqse/teamscale-profiler-dotnet | 9c5de70751e1bf4fe3ccd496bedbc911c50ff3ab | ce8378722962b5ffb25f2b091fb4ff2205978232 | refs/heads/master | 2023-08-31T02:29:07.158064 | 2023-08-24T07:40:41 | 2023-08-24T07:40:41 | 120,932,815 | 11 | 6 | Apache-2.0 | 2023-08-18T11:56:43 | 2018-02-09T17:04:18 | C# | UTF-8 | C++ | false | false | 9,517 | h | #ifndef EXCEPTIONS_H_62B23520_7C8E_11DE_8A39_0800200C9A66
#define EXCEPTIONS_H_62B23520_7C8E_11DE_8A39_0800200C9A66
#if defined(_MSC_VER) || \
(defined(__GNUC__) && (__GNUC__ == 3 && __GNUC_MINOR__ >= 4) || \
(__GNUC__ >= 4)) // GCC supports "pragma once" correctly ... | [
"streitel@cqse.eu"
] | streitel@cqse.eu |
4f9dc5ea88f12e2553d2df96eb881f0880af3848 | 9e1e09ea61632e80465f371a083625d03b1e5ab2 | /src/Common/StringOutputStream.cpp | db2997ec88cff72d2f105dc5cd6fb62eea6f663c | [
"MIT"
] | permissive | bitcoin-note/bitcoin-note | 0f93c5a04dda2df6ff838187d894a0c4af633649 | 7be1e60f327b7ce1f995fee97f80131dcb934e70 | refs/heads/master | 2021-05-11T19:50:51.485229 | 2018-01-18T00:05:24 | 2018-01-18T00:05:24 | 117,895,059 | 3 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 460 | cpp | // Copyright (c) 2018, The Bitcoin Note Developers.
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "StringOutputStream.h"
namespace Common {
StringOutputStream::StringOutputStream(std::string& out) : out(out) {
}
si... | [
"bitnotecurrency@gmail.com"
] | bitnotecurrency@gmail.com |
ad04a6304753c06fbdef948157eee19e2007208e | 630a68871d4cdcc9dbc1f8ac8b44f579ff994ecf | /monitor/hook/KeyboardMonitor.cpp | ba30de68dde105286a2ff275e5544ce60592dcda | [
"MIT"
] | permissive | FFMG/myoddweb.piger | b56b3529346d9a1ed23034098356ea420c04929d | 6f5a183940661bd7457e6a497fd39509e186cbf5 | refs/heads/master | 2023-01-09T12:45:27.156140 | 2022-12-31T12:40:31 | 2022-12-31T12:40:31 | 52,210,495 | 19 | 2 | MIT | 2022-12-31T12:40:32 | 2016-02-21T14:31:50 | C++ | UTF-8 | C++ | false | false | 8,084 | cpp | #include "stdafx.h"
#include "KeyboardMonitor.h"
#include "hook.h"
KeyboardMonitor* keyboardMonitor;
KeyboardMonitor::KeyboardMonitor(const HANDLE hModule ) :
m_hModule( hModule ),
m_bRejectKeyBoardInputs(false),
m_hhook(nullptr)
{
UWM_KEYBOARD_CHAR = RegisterWindowMessage(UWM_KEYBOARD_MSG_CHAR);
UWM_KEYBO... | [
"github@myoddweb.com"
] | github@myoddweb.com |
ebc36338c87aaf447cd30c72aef39d8327cfe73b | 45f57eb0a552891b44e6d55783f0286480ae5f71 | /FinalProject/movieInfo.hpp | 124fdc9cbd67c61eaefbdae475e29414da88065e | [] | no_license | JakinChan200/CS100 | 21e169dec45326852cb10e36798087ea996baa04 | e42ec7a24239bb3eb465a90fa19393bb9a39b346 | refs/heads/main | 2023-02-08T15:01:24.233925 | 2020-12-22T07:52:16 | 2020-12-22T07:52:16 | 323,548,180 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 596 | hpp | #ifndef MOVIEINFO_HPP
#define MOVIEINFO_HPP
//#include "calculations.hpp"
#include "Visitor.hpp"
#include "movieInfo.hpp"
#include <iostream>
#include <vector>
#include <string>
using namespace std;
//class Calculation;
class MovieInfo {
public:
MovieInfo(){};
virtual string output_Info() = 0;
... | [
"JakinChan200@gmail.com"
] | JakinChan200@gmail.com |
ff2cb917b09f03e612375115e9712dce6cd6b27a | c14500adc5ce57e216123138e8ab55c3e9310953 | /Mesh/Levy3D.h | 7c48003895bfa120ea0353ef430e316b4384d595 | [
"LicenseRef-scancode-warranty-disclaimer",
"LGPL-2.0-or-later",
"LicenseRef-scancode-generic-exception",
"GPL-1.0-or-later",
"LicenseRef-scancode-proprietary-license",
"GPL-2.0-only",
"GPL-2.0-or-later",
"LicenseRef-scancode-other-copyleft",
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | ResonanceGroup/GMSH304 | 8c8937ed3839c9c85ab31c7dd2a37568478dc08e | a07a210131ee7db8c0ea5e22386270ceab44a816 | refs/heads/master | 2020-03-14T23:58:48.751856 | 2018-05-02T13:51:09 | 2018-05-02T13:51:09 | 131,857,142 | 0 | 1 | MIT | 2018-05-02T13:51:10 | 2018-05-02T13:47:05 | null | UTF-8 | C++ | false | false | 2,655 | h | // Gmsh - Copyright (C) 1997-2017 C. Geuzaine, J.-F. Remacle
//
// See the LICENSE.txt file for license information. Please report all
// bugs and problems to the public mailing list <gmsh@onelab.info>.
//
// Contributor(s):
// Tristan Carrier
#ifndef _LEVY3D_H_
#define _LEVY3D_H_
#include <list>
#include "SVector3... | [
"=phillipmobley2@gmail.com"
] | =phillipmobley2@gmail.com |
320f106e95ba25cb5bff643224cea23f70cda131 | 214ff7c2eb0bba4a504b17ba3e148396a5d3005c | /PrintNegativeNumbers.cpp | dc08c961abe22f773acbcae83bb0794571877f5d | [] | no_license | RahulBantode/c_cpp_practice | 08071b33fd859e9d0e04c69087e36ec77bcf9164 | 135276411ff2d60279340e665b922bc265571801 | refs/heads/main | 2023-05-15T04:01:03.475007 | 2021-06-14T06:27:25 | 2021-06-14T06:27:25 | 376,720,345 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 640 | cpp | /*Problem Statement :-
Write a program to print all the negative numbers in the array
*/
#include<iostream>
#define MAX 50
using namespace std;
void PrintNegativeNumbers(int arr[],int size)
{
int i;
cout<<"Negative numbers are : \n";
for(i=0; i<size; i++)
{
if(arr[i] < 0)
cout<<arr[i]<<" ... | [
"noreply@github.com"
] | noreply@github.com |
7896cff19043a79be99a11a13764f5f754e30a70 | d7c2999cae6f2539efa3348618e9cbd5d6e2f265 | /include/neovim_utils.hpp | 5a30722a7801fb6737df98097828f58ef54227d3 | [] | permissive | tsubota-kouga/neovim.cpp | de42cbc58d8582875671fe86a4b3823351116f5b | 379762e0661c3153d916be2a677de636c02c5b64 | refs/heads/master | 2020-04-14T02:28:27.866208 | 2019-03-17T13:59:10 | 2019-03-17T13:59:10 | 163,583,460 | 1 | 0 | BSD-3-Clause | 2018-12-30T11:50:20 | 2018-12-30T11:50:19 | null | UTF-8 | C++ | false | false | 248 | hpp | #ifndef ___Neovim_util_H_
#define ___Neovim_util_H_
namespace utils
{
constexpr short BIN1x1 = 0b10000000;
constexpr short BIN1x2 = 0b11000000;
constexpr short BIN1x3 = 0b11100000;
constexpr short BIN1x4 = 0b11110000;
} // namespace utils
#endif
| [
"kouga.infini@gmail.com"
] | kouga.infini@gmail.com |
b7b5d4e373721e6e90f253d39636c94fa0f1a255 | 880b2f6dbebd5369f09127bc764105fb28a1af4c | /src/ofxAEMask.cpp | a8c7157921ee3c777abb6a29a0bca2e566892aa5 | [] | no_license | saadahid/ofxAE | d6b94569917f0273c12a79f77197619f4aea81f9 | d99cd6b7a0c965615dd65977818f21e36b7c4379 | refs/heads/master | 2021-01-21T09:17:27.834471 | 2013-10-07T04:34:20 | 2013-10-07T04:34:20 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 437 | cpp | #include "ofxAEMask.h"
#include "ofxAEAVLayer.h"
#include "ofGraphics.h"
namespace ofxAE {
Mask::Mask()
{
ofPath& path = path_.get();
path.setPolyWindingMode(OF_POLY_WINDING_POSITIVE);
path.setColor(ofColor::white);
}
void Mask::draw()
{
ofPath& path = path_.get();
ofPushStyle();
ofEnableBlendMode(blend_mode_);... | [
"nariakiiwatani@annolab.com"
] | nariakiiwatani@annolab.com |
0540989a6016b2faefae4ac7c365cb5ba2374f1c | 69d335881ac4f4f78506ad53db1ae066419c62fc | /src/sysc/kernel/sc_module_registry.h | cd9985203ff75e8ff258d1fb34ebf7b078f7f5ea | [
"Apache-2.0"
] | permissive | ncihnegn/systemc-2.3.3 | c30cb9bbbdf8bc26455d5a1d88ddfa0a48d4cbef | 1e2386f5b84c1d6857237fbfbed2c4462d2ea800 | refs/heads/master | 2022-12-20T01:16:48.146391 | 2020-10-06T15:13:05 | 2020-10-06T15:18:54 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,489 | h | /*****************************************************************************
Licensed to Accellera Systems Initiative Inc. (Accellera) under one or
more contributor license agreements. See the NOTICE file distributed
with this work for additional information regarding copyright ownership.
Accellera licenses... | [
"ncihnegn@users.noreply.github.com"
] | ncihnegn@users.noreply.github.com |
0acb331b5465669d2af8bb092a360aa4feba855f | aa2ac425a8bb957a26763ae17e50d50f1cce8956 | /src/Addons/GeoStar/LibVCT/stdafx.cpp | 577de3b94fe081b5b21faa6cb1d78a48c503057b | [] | no_license | radtek/CGISS | c7289ed19d912c432aae81d0cdbb6b080b4f5458 | 3f7cfa19d8024a67a5350d51e3f2f40a5e203576 | refs/heads/master | 2023-03-16T21:23:56.948744 | 2017-06-17T14:14:09 | 2017-06-17T14:14:09 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 258 | cpp | // stdafx.cpp : 只包括标准包含文件的源文件
// LibVCT.pch 将作为预编译头
// stdafx.obj 将包含预编译类型信息
#include "stdafx.h"
// TODO: 在 STDAFX.H 中
// 引用任何所需的附加头文件,而不是在此文件中引用
| [
"hekaikai@live.cn"
] | hekaikai@live.cn |
52c821af9c03298a79690edb596be3c421e81207 | 5ad99bf8f500cbb2bc7d532812dc33d5f642205d | /core/Serialize.h | e7a707111e43f8ab2fbc3c57e34d661e1d09b05c | [] | no_license | cmguo/just-p2p-trip-client | 3cd4e861586b82376a3e10e98cb6afbd17611c0d | a200fea3c5afcb1da27d8201865a1c8511e0dc98 | refs/heads/master | 2022-11-18T23:08:37.256621 | 2018-07-13T01:41:33 | 2018-07-13T02:54:52 | 280,889,464 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,826 | h | // Serialize.h
#ifndef _TRIP_CLIENT_CORE_SERIALIZE_H_
#define _TRIP_CLIENT_CORE_SERIALIZE_H_
#include "trip/client/core/Resource.h"
#include "trip/client/core/Source.h"
#include "trip/client/core/Sink.h"
#include <util/serialization/NVPair.h>
#include <util/serialization/stl/vector.h>
#include <util/serialization/bo... | [
"isxxguo@pptv.com"
] | isxxguo@pptv.com |
966244153669f75cb2ae4e7c19e98b0c69e62815 | a7881a10dbeded9534f8c37d1655c1750d82518d | /device/modules/vdev_module.h | 5c6a0cf371a397277b4ffe5c2622f4e40b9ad17e | [
"MIT"
] | permissive | aconstlink/natus | 31130e7439c1bb983c35e5f8ed2e684677c6583a | 8f8ad12aa71d246a10802bf5042f407de45d66d7 | refs/heads/master | 2023-08-17T01:58:03.578900 | 2023-03-29T12:45:45 | 2023-03-29T12:45:45 | 248,593,153 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,501 | h | #pragma once
#include "../imodule.h"
#include "../layouts/game_controller.hpp"
#include <natus/ntd/vector.hpp>
namespace natus
{
namespace device
{
// a system module that spawns virtual devices like game controllers.
class NATUS_DEVICE_API vdev_module : public imodule
{
n... | [
"aconstlink@gmail.com"
] | aconstlink@gmail.com |
aba9e186b901634845aac56f2fe54645b025e835 | 2481e88a5f14ccf51eb83a8556dd711c73c500f1 | /ui_calculator.h | 3e1744f49d4522971e5f98de02b14f35ec74ba38 | [] | no_license | Saahil97/Qt-Calculator | 1ec9d0d6d5e0b06a5a6534873644d749c354189e | e59caa1c63640c562ba0600aba831d55d05067fb | refs/heads/master | 2020-05-05T13:33:28.233139 | 2019-04-08T06:40:35 | 2019-04-08T06:40:35 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,399 | h | /********************************************************************************
** Form generated from reading UI file 'calculator.ui'
**
** Created by: Qt User Interface Compiler version 5.9.1
**
** WARNING! All changes made in this file will be lost when recompiling UI file!
**********************************... | [
"noreply@github.com"
] | noreply@github.com |
61758c5947bda60f7ba7de123985edb0d547183f | 59636f543b56288f6e73379c020b89d5fbedafd0 | /src/o2liteesp32.cpp | 0e8385c6dbc7c16501975c3e15f9aedeb70302bb | [
"MIT"
] | permissive | vnorilo/o2 | e1bf1f992d54b77540ab4b9b18ddc85b36fae435 | dd9fad39267b8552b02ea980aaceb79693af78b6 | refs/heads/master | 2021-12-28T14:32:56.963948 | 2021-12-21T20:44:09 | 2021-12-21T20:44:09 | 127,145,836 | 0 | 1 | null | 2018-03-28T13:38:12 | 2018-03-28T13:38:12 | null | UTF-8 | C++ | false | false | 5,725 | cpp | // o2liteesp32.c -- discovery implementation for ESP32 o2lite
//
// Roger B. Dannenberg
// Aug 2021
// this also includes some o2lite functions that require C++
#include "o2lite.h"
#include "Printable.h"
#include "WiFi.h"
#include <string.h>
#include <mdns.h>
//#include <lwip/sockets.h>
//#include <lwip/netdb.h>
//#i... | [
"rbd@cs.cmu.edu"
] | rbd@cs.cmu.edu |
7216a9233891872af4c08f8a92145ee4be78dd11 | 813bdcdc2e7c9fbf853b154585c4c2b1cfe9eb4b | /LCD6963C.CPP | 87ab9e86105b92c69e4c457d85422b2b18f9c410 | [] | no_license | Rubyrohd/LCD6963C | 24a7c585a63b4ffb319a7e3e10482f515e5c2273 | dbfd47f971b75d77f4e84e74c01765e842a242fb | refs/heads/master | 2021-04-26T22:30:16.910954 | 2018-03-06T20:17:25 | 2018-03-06T20:17:25 | 124,102,471 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 138 | cpp | #include "Arduino.h"
#include "LCD6963C.h"
LCD6963C::LCD6963C()
{
//constructor
}
void LCD6963C::init()
{
//display initialization
}
| [
"development@brutaldesign.dk"
] | development@brutaldesign.dk |
3e00930584d40e2d958c0edb5f30ea6da2c45156 | 8a38398f6d81113652a36987bede7e46453edd52 | /BiLSTM-ChaoWang/bilstm.cpp | 995e70e9226bc5503b31693d49eecec2e3d0df82 | [] | no_license | andyhx/2016DL | 6989f0a3727b9e8c9c7141b24f32151c604b7666 | 87f9c7af6447a1cc63a5098acfce8a40073e208a | refs/heads/master | 2020-12-30T11:40:43.182087 | 2016-11-14T01:26:36 | 2016-11-14T01:26:36 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 52,200 | cpp | #include <iostream>
#include <utility>
#include <math.h>
#include <stdlib.h>
#include <string>
#include <algorithm>
#include <cfloat>
#include <vector>
#include <fstream>
//#include "util.h"
using namespace std;
typedef vector< vector<double> > D2array; //二维数组
typedef vector<double> D1array;
/* bidrectional lstm
... | [
"xgsbsz@gmail.com"
] | xgsbsz@gmail.com |
604600cbb4d827d84b8fe52dee40d690ff06a3c1 | f4db57cf0daedda942b1c471c33c85ecfc07dc84 | /benchmark/bmalloc/bmalloc/Logging.cpp | e1fb60cb816d450d2ed3c91e982bec02db0320b4 | [
"Unlicense",
"LicenseRef-scancode-public-domain"
] | permissive | ivan-tkatchev/rpmalloc-benchmark | 18a9d387554e75e0eb06c5fcb20e1d23544bd37d | 01daff466ec7971a618a52a04f09740feefc591e | refs/heads/master | 2020-04-05T13:55:51.697011 | 2018-11-30T14:43:48 | 2018-11-30T14:43:48 | 156,916,175 | 0 | 0 | Unlicense | 2018-11-09T20:46:00 | 2018-11-09T20:45:59 | null | UTF-8 | C++ | false | false | 2,314 | cpp | /*
* Copyright (C) 2016 Apple 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:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions a... | [
"mattias@rampantpixels.com"
] | mattias@rampantpixels.com |
f931b21f714e65f670168f07cf85ef3a46a23aee | d269301d6dd4038b3f7de6c4ffd1fe75d1af95c8 | /common/hal/inc/custom/debug_exif/cam/dbg_cam_n3d_param1.h | 708c4ea9e915b784debd4ca34b0cc5ea537f66b7 | [] | no_license | Skyrimus/camera_hals_5015D_5010D | 435d712e972db6c5940051625058069541cbd1ce | 2ab5f5826ced1a10e298886ff2ee3e1221610c2a | refs/heads/master | 2020-03-27T10:56:08.783761 | 2018-08-28T14:10:54 | 2018-08-28T14:10:56 | 146,454,642 | 2 | 1 | null | 2018-09-09T19:41:12 | 2018-08-28T13:50:15 | C | UTF-8 | C++ | false | false | 10,836 | h | /* Copyright Statement:
*
* This software/firmware and related documentation ("MediaTek Software") are
* protected under relevant copyright laws. The information contained herein
* is confidential and proprietary to MediaTek Inc. and/or its licensors.
* Without the prior written permission of MediaTek inc. and/or ... | [
"skyrimus@yandex.ru"
] | skyrimus@yandex.ru |
8fa5aee09ae4b9891603f32c731fc14c2b7ecfb9 | 06144da75812715881f1c9c635689ea920f422e3 | /Source/DataHolders/LevelDataAsset.cpp | 5533b750c8109e87946db2b0ade131673b647cdd | [
"MIT"
] | permissive | kseon12/SlavhorodskyiVlad_UE4TraineeTest | 247349cfa3a82224aa9e2e04af0deea9d8918730 | 7c4f69a57c50b4c40371bd658f5d73849ade3a96 | refs/heads/main | 2023-05-08T12:28:56.806521 | 2021-05-31T22:55:03 | 2021-05-31T22:55:03 | 370,443,459 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 475 | cpp | // Fill out your copyright notice in the Description page of Project Settings.
#include "LevelDataAsset.h"
#include "Tools/MacroTools.h"
FString ULevelDataAsset::GetLevelName(EAvailableLevels Level) const
{
if (!EnsureMsg(GameLevels.Contains(Level),
TEXT("[LevelData] There is no such level in database. Check it... | [
"eugene.fomin@playwing.net"
] | eugene.fomin@playwing.net |
f71da7a230fbd686e6358d458b199cf66dc8ef60 | d71402cd7a95aa34e30448194e5f9ff5f6b8e37f | /performance_tests/src/nodes/publisher_node.cpp | e20c1b84bb6c1c113ea407ed19d31fbff6842f2b | [] | no_license | beatrizfusaro/blueo-exercises | c1d5ec6429a6fd1d359d36065c78ca9d7479c3ae | 67751183c963598bc5a739e09c059da82c2a8386 | refs/heads/master | 2020-07-28T21:18:37.147318 | 2019-09-19T15:30:04 | 2019-09-19T15:30:04 | 209,540,666 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 215 | cpp | #include <performance_tests/publisher.h>
int main(int argc, char **argv) {
ros::init(argc, argv, "publisher");
ros::NodeHandle nh;
performance_tests::PublisherTest node(nh);
ros::spin();
return 0;
}
| [
"beatrizfusaro@gatech.edu"
] | beatrizfusaro@gatech.edu |
d6d573b8ef6321829ec27b56406f8035fee49c21 | 143ee2c7b0f36bc0719b2ef08c9f04ff6a5f83ff | /popobird-cocos2dx-v2/Classes/CherryNode.cpp | cb914bec37e2642cd6dc5430e32042d2a38f8eef | [] | no_license | xiangtone/xtone-public-base | f2538b5755629203dc44e6b821e3eab2614ef03e | 389098340d614610dd6c9a6a90f291129b14a551 | refs/heads/master | 2020-04-04T04:10:33.214528 | 2018-05-08T05:09:08 | 2018-05-08T05:09:08 | 46,548,224 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,116 | cpp | #include "CherryNode.h"
#define CHERRY_FILE_NAME ("cherry.png")
CherryNode::CherryNode()
{
}
CherryNode::~CherryNode()
{
}
bool CherryNode::init()
{
if (!CCNode::init())
return false;
CCNode *cherry = createTexture(CHERRY_FILE_NAME);
this->addChild(cherry);
this->setObjectType(kCherryType);
return t... | [
"13565644@qq.com"
] | 13565644@qq.com |
8e100f8d301cd085b5e83a6d816cfca3188f8f6d | 313df7ef5601ead89827a9d23443ef5ab80c55d6 | /NEUROPATHY_HEAT_DIAGNOSTIC.ino | 0ed74418ba88b5ddc15b1fec9d566bb3672efeca | [] | no_license | jmayeda/MAE156b-Neuropathy-Diagnostic-Device | 24fba7fd03466ba441b3d862487fc984049dd107 | 2e9fbc349c9a7dbb488167f3dcfaef8acae5c282 | refs/heads/master | 2020-03-11T17:50:39.173851 | 2018-06-13T00:32:18 | 2018-06-13T00:32:18 | 130,159,025 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,784 | ino | /*NEUROPATHY_HEAT_DIAGNOSTIC.ino
*
* @authors: Naif Alzahri, Thomas Ibbetson, Jason Mayeda, Inri Rodriguez
* @date: Feb-June 2018
* @about: Program to control a heat diagnostic test for WinSanTor neuropathy trials.
**/
#include <math.h>
#include <LiquidCrystal.h>
// ================================== INPUTS... | [
"noreply@github.com"
] | noreply@github.com |
9eb63ef458bb2c7a5f6ec5125cf853b08780c622 | 1ec4921c64335185527eedbf4f23570a341e4b94 | /src/FeistelFunction.cpp | 47f73b3ef5c682db853e9f7bbc4965fcd897a65f | [] | no_license | paulina-szubarczyk/DES | 3991be38b2eb8c51c437227381c41c8ff2f5c926 | 81b767e738f4efbf4d88229eae060dc91ce53184 | refs/heads/master | 2020-12-31T06:33:08.298190 | 2015-01-15T18:40:03 | 2015-01-15T18:40:03 | 28,404,172 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 529 | cpp | #include "FeistelFunction.h"
#include <iostream>
FeistelFunction::FeistelFunction() {
// TODO Auto-generated constructor stub
}
uint64_t FeistelFunction::calculate(uint64_t Ri, uint64_t Ki)
{
// permutacja rozszerzająca
E.expand(Ri);
// std::cout << "R1: " << Ri << "\t" ;
// suma modulo 2 z podkluczem
Ri ^= K... | [
"paulinaszubarczyk@gmail.com"
] | paulinaszubarczyk@gmail.com |
33438404e934aeb12414eac15ffaa92d6f83276a | 3cbea0497545c00ffc87fe1fa8a74dfe88dc9509 | /2100_FindGoodDaystoRobtheBank.cpp | e6049a8e6c043afae8204685446a4926c56117b8 | [] | no_license | yuhenghuang/Leetcode | 40b954676feb3a2ef350188a6d86dadc44e84d71 | 3c5aafa7969a5a1eb01106676a5b94d404d07d9f | refs/heads/master | 2023-08-30T18:17:16.209053 | 2023-08-25T01:05:49 | 2023-08-25T01:05:49 | 249,166,616 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 635 | cpp | #include <local_leetcode.hpp>
class Solution {
public:
vector<int> goodDaysToRobBank(vector<int>& security, int time) {
int n = security.size();
vector<int> dp(n);
for (int i = n - 2; i >= 0; --i)
if (security[i+1] >= security[i])
dp[i] = dp[i+1] + 1;
int l;
vecto... | [
"kongqiota@gmail.com"
] | kongqiota@gmail.com |
3f38bc70c3c062a8e0f63e04f3a6b7f4da8dbf25 | 65e8a612c6c45c481c450c9a965158872919c99d | /test/graph_bipartitioning/Strategy/StrategyBBGraphBipartitioning.h | 54a099bb8c6166099ccd7565ebfce7b59b4a1467 | [] | no_license | GoMani/pheet | aabb7dab06ab26ba12b7a8bb875b53cf2fe2afb5 | 374189d2fbe3de3db929b4e4b12d9642c38439e7 | refs/heads/master | 2021-01-18T05:07:28.957575 | 2013-10-21T14:17:40 | 2013-10-22T08:39:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,128 | h | /*
* StrategyBBGraphBipartitioning.h
*
* Created on: Dec 5, 2011
* Author: Martin Wimmer
* License: Boost Software License 1.0 (BSL1.0)
*/
#ifndef STRATEGYBBGRAPHBIPARTITIONING_H_
#define STRATEGYBBGRAPHBIPARTITIONING_H_
#include "../graph_helpers.h"
#include "../Basic/BBGraphBipartitioningSubproblem.h... | [
"martin@wimmer.co.uk"
] | martin@wimmer.co.uk |
5df756d0d0ba0b2383e38288d2489ce607ecde36 | 37cca16f12e7b1d4d01d6f234da6d568c318abee | /src/rice/p2p/util/testing/SecurityUtilsUnit-main.cpp | 0bd6cc02e4c147e55f7258a258fe6d921edf456e | [] | no_license | subhash1-0/thirstyCrow | e48155ce68fc886f2ee8e7802567c1149bc54206 | 78b7e4e3d2b9a9530ad7d66b44eacfe73ceea582 | refs/heads/master | 2016-09-06T21:25:54.075724 | 2015-09-21T17:21:15 | 2015-09-21T17:21:15 | 42,881,521 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 303 | cpp | #include <rice/p2p/util/testing/SecurityUtilsUnit.hpp>
extern void init_jvm();
extern java::lang::StringArray* make_args(int args, char** argv);
int main(int argc, char** argv)
{
init_jvm();
::rice::p2p::util::testing::SecurityUtilsUnit::main(make_args(argc, argv));
return 0;
}
| [
"sgurjar@adobe.com"
] | sgurjar@adobe.com |
254b9578cc44e778b7036c0bb7115acc045bb385 | 4a634ad6eddcc372b7b02f0e0dfef93b74ac2879 | /acm/oj/codeforce/problems/ac/888d.cpp | 4b69a9c00a39721936129d835fa1c37bed1d668b | [] | no_license | chilogen/workspace | 6e46d0724f7ce4f932a2c904e82d5cc6a6237e14 | 31f780d8e7c7020dbdece7f96a628ae8382c2703 | refs/heads/master | 2021-01-25T13:36:36.574867 | 2019-02-18T14:25:13 | 2019-02-18T14:25:13 | 123,596,604 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,838 | cpp | /*we need to find the number of permutation 1~n that have
*least (n minus k)'s position p[i]=i.
*just forget that problem a moment.if every player have his own shit
*in the lounge,after the game,you are the one who look after those shit
*so after the game,you should give everyone his owm shit,but you want to
*make a j... | [
"quantu_zo@yahoo.com"
] | quantu_zo@yahoo.com |
cae4f6901017a69a8e7ed18a7ae649b896ba094e | 5b905bc91236233b9705e0e56026b610ade7108a | /tf_pose/pafprocess/pafprocess_3.h | 2c91614e4741bcc16f68633cf791b5bf52c9fafd | [
"Apache-2.0"
] | permissive | jovialio/tf-pose-estimation | e328536f14784a38bb117a18097d986c69d1698f | 38ffcf1f31dfc129fcefc4e2452bbc36974620b8 | refs/heads/master | 2020-04-11T10:50:54.696094 | 2020-02-28T05:18:46 | 2020-02-28T05:18:46 | 161,728,287 | 0 | 0 | Apache-2.0 | 2018-12-14T03:45:39 | 2018-12-14T03:45:39 | null | UTF-8 | C++ | false | false | 1,409 | h | #include <vector>
#ifndef PAFPROCESS
#define PAFPROCESS
const float THRESH_HEAT = 0.05;
const float THRESH_VECTOR_SCORE = 0.05;
const int THRESH_VECTOR_CNT1 = 9;
const int THRESH_PART_CNT = 4;
const float THRESH_HUMAN_SCORE = 0.4;
const int NUM_PART = 18;
const int STEP_PAF = 10;
const int COCOPAIRS_SIZE = 19;
const... | [
"dennischewkt@gmail.com"
] | dennischewkt@gmail.com |
1d0a4c823d12f33a107a0e7aa8771e33246a4f54 | 731d0d3e1d1cc11f31ca8f8c0aa7951814052c15 | /InetSpeed/Generated Files/winrt/impl/Windows.Foundation.Collections.2.h | 20e061381685d07ca56ac8d15cca9c019e47184e | [] | no_license | serzh82saratov/InetSpeedCppWinRT | 07623c08b5c8135c7d55c17fed1164c8d9e56c8f | e5051f8c44469bbed0488c1d38731afe874f8c1f | refs/heads/master | 2022-04-20T05:48:22.203411 | 2020-04-02T19:36:13 | 2020-04-02T19:36:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,465 | h | // WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.200316.3
#ifndef WINRT_Windows_Foundation_Collections_2_H
#define WINRT_Windows_Foundation_Collections_2_H
#include "winrt/impl/Windows.Foundation.Collections.1.h"
WINRT_EXPORT namespace winrt::Windows::Foundation::Collections
{
template <... | [
"ctorre@microsoft.com"
] | ctorre@microsoft.com |
f217eee358e9d3d19ece6b9602bf767c9e54fff4 | 1733de50df4219fefab4c0b332f72a869861bada | /chatbot/stdafx.cpp | a7e7f74c417b28467b0aa08a69989c535e4c85bf | [] | no_license | Zybala/ChatBot | cb9e67fb048d8b0dce25fc78e00f3c8c1bdf9832 | 085838f0ce88cfcadfdd644d0784821147fc90c1 | refs/heads/master | 2021-01-11T15:01:15.558645 | 2017-01-31T01:24:06 | 2017-01-31T01:24:06 | 80,280,206 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 286 | cpp | // stdafx.cpp : source file that includes just the standard includes
// chatbot.pch will be the pre-compiled header
// stdafx.obj will contain the pre-compiled type information
#include "stdafx.h"
// TODO: reference any additional headers you need in STDAFX.H
// and not in this file
| [
"Khunzybla@gmail.com"
] | Khunzybla@gmail.com |
5cf280fe83cb9fb53406dda233933c1f48fcbd11 | 6fc57553a02b485ad20c6e9a65679cd71fa0a35d | /examples/media/audio/effects/dfx_base.h | 5d60cd01919908168de9adf1bb19dc1099fa12d0 | [
"BSD-3-Clause"
] | permissive | OpenTrustGroup/fuchsia | 2c782ac264054de1a121005b4417d782591fb4d8 | 647e593ea661b8bf98dcad2096e20e8950b24a97 | refs/heads/master | 2023-01-23T08:12:32.214842 | 2019-08-03T20:27:06 | 2019-08-03T20:27:06 | 178,452,475 | 1 | 1 | BSD-3-Clause | 2023-01-05T00:43:10 | 2019-03-29T17:53:42 | C++ | UTF-8 | C++ | false | false | 2,370 | h | // Copyright 2018 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.
// Refer to the accompanying README.md file for detailed API documentation
// (functions, structs and constants).
#ifndef EXAMPLES_MEDIA_AUDIO_EFFECTS_DFX... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
c1700321574b47d012653bb82dcf628eb8644819 | 032a44c3e0a7dc77271bb2213467154212a4e5d3 | /src/mprmpr/util/striped64.cc | 09c81404f319a56fa6e7027cdbbe55513e3a90e1 | [] | no_license | wqx081/mpr_mpr | 94f557e4d1ec696e880f93ce68ce57594da5a11c | cd0546e38f92576df73714088bc59e7f59b645d2 | refs/heads/master | 2021-01-12T10:25:03.208531 | 2016-12-21T14:53:15 | 2016-12-21T14:53:15 | 76,452,236 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 4,785 | cc | #include "mprmpr/util/monotime.h"
#include "mprmpr/util/random.h"
#include "mprmpr/util/striped64.h"
#include "mprmpr/util/threadlocal.h"
using mprmpr::striped64::internal::HashCode;
using mprmpr::striped64::internal::Cell;
namespace mprmpr {
namespace striped64 {
namespace internal {
//
// HashCode
//
HashCode::Ha... | [
"you@example.com"
] | you@example.com |
469ece50b9a368efc010b80d743551d078cb1665 | 58f46a28fc1b58f9cd4904c591b415c29ab2842f | /chromium-32.0.1700.107/content/browser/renderer_host/render_widget_host_view_aura.cc | d2c0a489fa0b877d0ca043cf9fd20b872c5f7aaa | [
"BSD-3-Clause"
] | permissive | bbmjja8123/chromium-1 | e739ef69d176c636d461e44d54ec66d11ed48f96 | 2a46d8855c48acd51dafc475be7a56420a716477 | refs/heads/master | 2021-01-16T17:50:45.184775 | 2015-03-20T18:38:11 | 2015-03-20T18:42:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 122,573 | 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 "content/browser/renderer_host/render_widget_host_view_aura.h"
#include "base/basictypes.h"
#include "base/bind.h"
#include "base/callback_h... | [
"Khilan.Gudka@cl.cam.ac.uk"
] | Khilan.Gudka@cl.cam.ac.uk |
e7e271489aadd58cdad9e423971ef879ef11dbb2 | 79487524fd7a6fbbe32e3e57b8aa5f150668ccfc | /Source/vtkDICOMValue.cxx | 391889f7fbde4c272582c79ccea3931b1cb6d62f | [] | no_license | lorensen/vtk-dicom | 067be771c2047c062123b2f2ad6848be19e32106 | 8664858b456607543e611c1e3ff7d3558e063134 | refs/heads/master | 2021-01-17T16:07:21.506708 | 2015-07-07T23:29:01 | 2015-07-07T23:29:01 | 38,824,130 | 1 | 0 | null | 2015-07-09T14:08:04 | 2015-07-09T14:08:04 | null | UTF-8 | C++ | false | false | 68,883 | cxx | /*=========================================================================
Program: DICOM for VTK
Copyright (c) 2012-2015 David Gobbi
All rights reserved.
See Copyright.txt or http://dgobbi.github.io/bsd3.txt for details.
This software is distributed WITHOUT ANY WARRANTY; without even
the implied ... | [
"david.gobbi@gmail.com"
] | david.gobbi@gmail.com |
51700dc0cc9cf6be6ee9ce780802089eb47cd616 | f6ab96101246c8764dc16073cbea72a188a0dc1a | /volume114/11423 - Cache Simulator.cpp | d6d92dbfbf923b24b7de26799ed968563f49030f | [] | no_license | nealwu/UVa | c87ddc8a0bf07a9bd9cadbf88b7389790bc321cb | 10ddd83a00271b0c9c259506aa17d03075850f60 | refs/heads/master | 2020-09-07T18:52:19.352699 | 2019-05-01T09:41:55 | 2019-05-01T09:41:55 | 220,883,015 | 3 | 2 | null | 2019-11-11T02:14:54 | 2019-11-11T02:14:54 | null | UTF-8 | C++ | false | false | 1,579 | cpp | #include <bits/stdc++.h>
using namespace std;
const int MAXT = (1e+7) + 5;
struct BIT {
int tree[MAXT], n;
void init(int n) {
this->n = n;
memset(tree, 0, sizeof(tree[0])*n);
}
void add(int x, int val) {
for (; x < n; x += x&(-x))
tree[x] += val;
}
int query(int x) {
int ret = 0;
for (; x; x -= x&(... | [
"morris821028@gmail.com"
] | morris821028@gmail.com |
60e7577eaab31810fde38335b1080da0a45070dc | da72f9635d75e60e6245af1f6cf0d41c63e209fd | /back_tracking/113_path_sum_ii.cpp | e56aba3038e14344e1502893bca7f1218a308c24 | [] | no_license | yiliu061/leetcode | b7165101f7d9ea7e2b605dbc50302cd7feae959d | 8c4c3eb73257bfcec1b56ca90b966fdda77f0992 | refs/heads/master | 2020-09-09T08:12:47.210200 | 2020-01-04T06:45:17 | 2020-01-04T06:45:17 | 221,396,099 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 672 | cpp | //backtracking
//! node-> val can be negative
class Solution {
public:
vector<vector<int>> pathSum(TreeNode* root, int sum) {
vector<vector<int>> res;
vector<int> curr;
explore(root, sum, curr, res);
return res;
}
private:
void explore(TreeNode* root, int sum, vecto... | [
"noreply@github.com"
] | noreply@github.com |
e826ef77761f8b88ce35679427a63472a06afecd | 0c397eba834d7000f3fe20a500b46742d0f77b22 | /docs/math/code/pollard-rho/pollard-rho_1.cpp | 096b3f1ec92be187c81eb52545f6aafb5f4e9eaa | [
"MIT"
] | permissive | xiaocairush/xiaocairush.github.io | 4548ecd7e3eecd13d2380d740d51ef3593658f30 | e1a536dd5c0100f1f13835dfc8354fed13ff18e9 | refs/heads/master | 2023-08-31T12:55:34.427476 | 2023-07-29T10:37:38 | 2023-07-29T10:37:38 | 64,105,374 | 4 | 1 | MIT | 2023-09-11T04:51:21 | 2016-07-25T05:13:22 | HTML | UTF-8 | C++ | false | false | 2,086 | cpp | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
int t;
long long max_factor, n;
long long gcd(long long a, long long b) {
if (b == 0) return a;
return gcd(b, a % b);
}
long long quick_pow(long long x, long long p, long long mod) { // 快速幂
long long ans = 1;
while (p) {
if (p & 1) an... | [
"xiaocairush@gmail.com"
] | xiaocairush@gmail.com |
d171ffff128eca176b4c2cbb6fc92e9fd33adf7a | 1f013e822124dfe9b4611f1fe08675a23871566e | /home/akielczewska/z2/oce.cpp | d25bf49eceef0b2647df40b35e4a08f154f7c963 | [] | no_license | dtraczewski/zpk2014 | a1d9a26d25ff174561e3b20c8660901178d827a5 | 548970bc5a9a02215687cb143d2f3f44307ff252 | refs/heads/master | 2021-01-21T06:06:32.044028 | 2015-09-06T12:17:07 | 2015-09-06T12:17:07 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 256 | cpp | #include <iostream>
using namespace std;
main(){
int n, x;
cin >> n;
int t[6] = {0,0,0,0,0,0};
for (int i = 1; i <= n; i++) {
cin >> x;
t[x-1]++;
}
for (int j = 0; j < 6; j++) {
cout << t[j] << " ";
}
}
| [
"aneta.kielczewska@student.uw.edu.pl"
] | aneta.kielczewska@student.uw.edu.pl |
845e75ad2bde25be63cec2725b2391b074633132 | bd51f6ee89b5023c7c454bce6151ccfdfd6f4f81 | /lecture4/zero.cc | 2c02b3b2df25031be9568fc4feef9a6ea770cdb2 | [] | no_license | leoncwu/cpp_basics | b353af74082e4ea76b6b576b58af21a58f717d20 | 55cc47ca032ff63d9ddc59eff64c1ddd48f453f3 | refs/heads/master | 2020-04-10T01:30:38.921278 | 2019-06-20T01:13:58 | 2019-06-20T01:13:58 | 160,717,918 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 287 | cc | #include <iostream>
using std::cout;
using std::endl;
int main(){
double a;
a = 1.0/3.0;
cout << "Hello world!" << endl ;
cout << "Hello world!" << endl ;
// cout << "One third is" << endl ; cout << a << endl;
cout << "One third is " << a << endl;
return 0;
}
| [
"chunlin5@isp02.tacc.utexas.edu"
] | chunlin5@isp02.tacc.utexas.edu |
610e2770aa364f9a68880c919a7205983e8c1063 | 109852f7d33cb52294167bd57351f6cc2c146f8b | /SetWorldTransform()_demo/rotateDrawDlg.h | 7020aa1de033223128446c39e8c2abcad375e40f | [] | no_license | IvanovRoman/graph | 41451245a525d9dd3634689a1c527c6a5eaf4014 | 4ce6c1086355613aecf5d65fefb260d0bbb03c19 | refs/heads/master | 2021-07-24T21:48:27.416401 | 2017-11-02T17:20:26 | 2017-11-02T17:20:26 | 104,109,439 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,394 | h | // rotateDrawDlg.h : header file
//
#if !defined(AFX_ROTATEDRAWDLG_H__683BCE9A_3BCC_41FD_AA7D_7A806034042E__INCLUDED_)
#define AFX_ROTATEDRAWDLG_H__683BCE9A_3BCC_41FD_AA7D_7A806034042E__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
//////////////////////////////////////////////////////////////... | [
"werert87@mail.ru"
] | werert87@mail.ru |
ab2de55177efaac947950e98df06feb8391c9590 | a5d35f7adb05489c16579d987c3d8da1fa0e7920 | /Euler/q052.cpp | 7e06c6eca0af91480e9a2f354459d5bf5dc64e22 | [] | no_license | rajdosi/Codes | 56cfcc7d73bce0399e34ef171210a05ae34a2724 | 9cf9bdd58bc6239d5096f18040c7df0b4cbf50ae | refs/heads/master | 2022-01-09T23:35:17.571544 | 2022-01-08T11:58:49 | 2022-01-08T11:58:49 | 70,044,918 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 635 | cpp | # include <bits/stdc++.h>
using namespace std;
bool isperm(long long num1,long long num2)
{
int a1[10]={0},a2[10]={0};
while (num1)
{
a1[num1%10]++;
a2[num2%10]++;
num1/=10;
num2/=10;
}
for (int i=0;i<10;i++)
{
if (a1[i]!=a2[i])
return false;
}
return true;
}
int main()
{
bool NF=true;
... | [
"rajdosi10@gmail.com"
] | rajdosi10@gmail.com |
341da9cb02be68bfe9aa91e8cba2e020418565b8 | 90df5416d79babeee0b028b691328943a430b931 | /datastructures/LinkedList/Compare.cpp | 0fb9ab99af87b3e0cedcd9e8530cce06576b6e90 | [] | no_license | arajhansa/HackerRank | 908abf25fb143412ac6b098d8ee4c304f5d56efc | 2a3a2db52a353eb7f1d22db05101f44f8276d267 | refs/heads/master | 2022-02-25T21:03:24.340329 | 2019-08-08T16:16:46 | 2019-08-08T16:16:46 | 106,919,337 | 0 | 0 | null | 2017-11-07T09:47:59 | 2017-10-14T10:35:57 | C++ | UTF-8 | C++ | false | false | 291 | cpp | int compare(Node *headA, Node *headB){
while(headA && headB){
if(headA->data != headB->data){
return 0;
} else {
headA = headA->next;
headB = headB->next;
}
}
if(headA || headB){
return 0;
}
return 1;
}
| [
"rajhansa.advay@gmail.com"
] | rajhansa.advay@gmail.com |
50645bb74762e9f989c9e02996602cdd1394bea2 | d4b733f2e00b5d0ab103ea0df6341648d95c993b | /src/c-cpp/test/sst/bignum/comparison_operators.cpp | 3d974c2c922bca0f3dce160c4091d1453b4b6c15 | [
"MIT"
] | permissive | stealthsoftwareinc/sst | ad6117a3d5daf97d947862674336e6938c0bc699 | f828f77db0ab27048b3204e10153ee8cfc1b2081 | refs/heads/master | 2023-04-06T15:21:14.371804 | 2023-03-24T08:30:48 | 2023-03-24T08:30:48 | 302,539,309 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,458 | cpp | //
// Copyright (C) 2012-2023 Stealth Software Technologies, 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 in the Software without
// restriction, including without limitation the rights to use,... | [
"sst@stealthsoftwareinc.com"
] | sst@stealthsoftwareinc.com |
d2e7cff122b5f675d197bb2c0f8d1a1f9e54c9c9 | d36d543ed08cdee85a587c6838a52ba630930c41 | /io/string2int.cc | f9baeb3343125e2ee40c2a3c90230480dc831f52 | [] | no_license | yaopu/Cplusplus_Optimization | 09742eb7bae8c13e20070b83f93327fa465c8f4d | bfefcd454cc13028bab013f968b6f07ec384b2d5 | refs/heads/master | 2020-07-10T10:54:50.193864 | 2019-10-09T12:55:08 | 2019-10-09T12:55:08 | 204,246,653 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 297 | cc | #include <iostream>
#include <stdio.h>
#include <string>
using namespace std;
int string2int(string ss) {
int value;
for (int i = 0; i < ss.length(); i++) {
value = atoi(&ss[0]);
}
return value;
}
int main() {
string s;
cin >> s;
cout << string2int(s) << endl;
return 0;
} | [
"1417511526@qq.com"
] | 1417511526@qq.com |
ac02008707c239e71f4a136ae65661e582f6ef26 | 3324b70597e57ac9f3ccaff859aff40852a513c6 | /homework/week10_flocking/src/Boid.cpp | 0cbd9a1ff95fd9955b4556a96d4faea4b394ff24 | [] | no_license | oherterich/algo2013-owenherterich | 0cc8aaa93318d026f627188fd6ba4e1f2cc23c16 | 0988b2dd821b44fca7216b4ec1eab365836dc381 | refs/heads/master | 2021-01-21T05:05:47.571780 | 2013-12-16T21:29:20 | 2013-12-16T21:29:20 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,277 | cpp | //
// Boid.cpp
// week10_flocking
//
// Created by Owen Herterich on 11/5/13.
//
//
#include "Boid.h"
Boid::Boid() {
size = 10.0;
c = ofColor(255);
center.set( ofGetWindowWidth() / 2, ofGetWindowHeight() / 2 );
centerRadius = 300;
damping = ofRandom(0.96, 0.98);
maxVel = ofRandom(... | [
"oherterich@gmail.com"
] | oherterich@gmail.com |
025ea63bc6a03f88ef488e7a72efbc53c1c6789a | 3de7f52b7d4b4aa4245607cdf9045d9c7d402035 | /baekjun/greedyAlgorithm/P11399.cpp | 4b52bc306787049f9a6d5715e2ab580bc97f0739 | [] | no_license | codePracticeWithC/CodePraWithC- | 0b9fc252174776f5fa37ac7df71ca5555094d51c | 8859ae886eb876cf4704b4bd581b40f2c2e3b112 | refs/heads/master | 2020-11-27T17:42:58.631029 | 2019-12-31T16:25:50 | 2019-12-31T16:25:50 | 229,548,883 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 470 | cpp | #include <stdio.h>
#include <algorithm>
using namespace std;
int main(void){
int n;
scanf("%d", &n);
int person[1001];
for(int i = 0; i < n; i++){
int time = 0;
scanf("%d" , &time);
person[i] = time;
}
sort(person, person + n);
int sum = 0 ;
... | [
"53043213+gudwnsdl88@users.noreply.github.com"
] | 53043213+gudwnsdl88@users.noreply.github.com |
3a9e881d0e5d99066465022d9da3c99c6ea32221 | abd74c69d1d3d7ecfe57d6f295823c8074c0cdf4 | /Language Translation/Using Sockets - Google/TranslateDlg.h | e26a43b7216d027ad4eccb13ad450a535bb28911 | [] | no_license | suresh3554/MFC-Windows-Programs | 8680b275b2ba2af1837a53a123a3297735433bcc | 0e7e2edafb58778a072641c590cb85c500c4c683 | refs/heads/master | 2021-01-10T03:10:04.586376 | 2016-01-08T09:30:41 | 2016-01-08T09:30:41 | 36,648,878 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,011 | h |
// TranslateDlg.h : header file
//
#pragma once
#include "afxwin.h"
#include "Translator.h"
#include "AboutDlg.h"
// CTranslateDlg dialog
class CTranslateDlg : public CDialogEx
{
// Construction
CTranslator m_cTranslator;
CFont m_font;
CFont m_Errorfont;
CEdit m_cSourceText;
CEdit m_cTranslatedTex... | [
"suresh3554@gmail.com"
] | suresh3554@gmail.com |
d37df2c43dea705f261a9f0a308db6e7e91171d1 | 665d8992518430801c8a93a9cbd81aceb8cd4bdb | /_c_code/pb_dist.cpp | 9dd4f0020b5318fd11ebed7f220e7a48ccf058d7 | [] | no_license | roujiawen/de_experiments | bd4f661ecf2d8328225cc8314aced088307ad514 | ce39783c432edb11125acf7e8546287662d356bf | refs/heads/master | 2023-04-06T13:40:13.143664 | 2021-04-21T14:17:55 | 2021-04-21T14:17:55 | 292,096,109 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 179 | cpp | double pb_dist(double x1, double x2, double size_x) {
double x = x2-x1;
if (x > size_x/2.){
x -= size_x;
} else if (x < -size_x/2.){
x += size_x;
}
return x;
}
| [
"wenroujia@gmail.com"
] | wenroujia@gmail.com |
9f17187ec6f47efd5780d032e0860f8f60af7ded | 9f81d77e028503dcbb6d7d4c0c302391b8fdd50c | /google/cloud/dialogflow_es/internal/session_entity_types_connection_impl.h | 36b08f3a4bc7a72d71f568486142027912351675 | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | googleapis/google-cloud-cpp | b96a6ee50c972371daa8b8067ddd803de95f54ba | 178d6581b499242c52f9150817d91e6c95b773a5 | refs/heads/main | 2023-08-31T09:30:11.624568 | 2023-08-31T03:29:11 | 2023-08-31T03:29:11 | 111,860,063 | 450 | 351 | Apache-2.0 | 2023-09-14T21:52:02 | 2017-11-24T00:19:31 | C++ | UTF-8 | C++ | false | false | 3,411 | h | // Copyright 2022 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in... | [
"noreply@github.com"
] | noreply@github.com |
3614207b763362b881a56763550381262faea18b | 4406c1a4cea905c35ac31ba9ab3ff7988dc612cc | /DerivedClass.cpp | 3fcddb3f16c69df99087ea83e4f5c4bf6735b191 | [] | no_license | apurbaanik/ItemRecord | 7bcf5849bc4d589a4a60f8c10d5b76e53e5ef19b | 2c27c0e3e88f51b482fe092987429f2fbea567f3 | refs/heads/main | 2023-05-12T03:16:55.064510 | 2021-06-05T02:33:02 | 2021-06-05T02:33:02 | 374,003,455 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,620 | cpp | /*
Title: Homework 4.2 A library record class with derived classes for books and CDs
Author: Anik Barua
Version: 1.0
Date: 05-04-2021
Description: This C++ program uses polymorphism. First we create a parent class "ItemRecord" and derive
two subclasses called "BookRecord" and "CDRecord". Then from main we create two o... | [
"noreply@github.com"
] | noreply@github.com |
5494a886517711c2d909f3149d0609bf6a0355a3 | f259b2bf1e3d4fe32a119b3c9f0a4954a3753fbf | /opencl/cfd/euler3d.cpp | fd6aebfec6bb1aeace5ec0503a8f10c8328553d8 | [] | no_license | alexanderjpowell/rodinia | 6f58c1f49cf17636dce67583acdf9c035e89d5d2 | 18c485be29fe5ee4b11a04c9ad756039086b31a3 | refs/heads/master | 2021-01-20T17:47:04.991148 | 2017-05-10T18:10:19 | 2017-05-10T18:10:19 | 90,887,268 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 17,726 | cpp | /********************************************************************
euler3d.cpp
: parallelized code of CFD
- original code from the AIAA-2009-4001 by Andrew Corrigan,
acorriga@gmu.edu
- parallelization with OpenCL API has been applied by
Jianbin Fang - j.fang@tudelft.nl
... | [
"alexanderpowell@Alexanders-MacBook-Pro-2.local"
] | alexanderpowell@Alexanders-MacBook-Pro-2.local |
2171893f7d86e3791f05ab23bddd81b30e2400d2 | 14887180edd20bff6d723d2d2e7b823e7626004e | /FadeRenderer.cpp | 552a61ac528809fa7a14b9997e15cbd1c1d5db91 | [] | no_license | MichaelDiBernardo/splash | 97835e735d107f998848eb645ec587656a730a09 | 24024a24fa71910894bf73d87cfab38881eb87f8 | refs/heads/master | 2022-11-01T12:37:34.690285 | 2022-10-21T01:51:55 | 2022-10-21T01:51:55 | 14,156,026 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,407 | cpp | // Author: mikedebo@gmail.com (Michael DiBernardo)
// Copyright Michael DiBernardo 2006
// Implementation of class FadeRenderer and related constructs.
#include "FadeRenderer.h"
#include "os.h"
#include "Config.h"
#include "Timer.h"
FadeRenderer::FadeRenderer(int secondsToFade, NextAction doneAction, Renderer* sceneTo... | [
"mikedebo@gmail.com"
] | mikedebo@gmail.com |
baa2d8018590855085267e9cd54dfafe61603963 | dd70b3ea90bea7dc08dbdc164bebc934f6207cb9 | /validation_tests/root/basic.cpp | 0e22887b1c3060b64abbe6c73970b9b8a92758cd | [] | no_license | robinmolle/ESIPAPCpp | 3e42c499ecf7213ca2643a66996ef739d7e58d18 | 03efff7f29a2dbe80c7ccc5649eb65fd654a9b62 | refs/heads/main | 2023-03-01T18:37:53.844119 | 2021-02-10T07:58:47 | 2021-02-10T07:58:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 199 | cpp | #include <iostream>
#include <TROOT.h>
int main()
{
std::cout << "BEGIN Test" << std::endl;
std::cout << gROOT->GetVersion() << std::endl;
std::cout << "END Test" << std::endl;
return 42;
}
| [
"eric.conte@iphc.cnrs.fr"
] | eric.conte@iphc.cnrs.fr |
19f545162ae56e4c09bf56a5caee65b5f4ea1e85 | 5f12bccc76142365ba4e1a28db800d01c952a24a | /reco/HierarchicalClustering/ATHierarchicalClusteringGraph.hpp | 8c4ecf7d2799d1d7b315398a174d1d4adae3ca83 | [] | no_license | sunlijie-msu/ATTPCROOTv2 | 7ad98fd6f85126e5b480f7897a2b98d1fc8bf184 | 870b75170990b0782918f17b2230045ab1f458ef | refs/heads/master | 2023-06-02T06:28:30.308596 | 2021-02-26T14:59:53 | 2021-02-26T14:59:53 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,989 | hpp | #ifndef ATHIERARCHICALCLUSTERINGGRAPH_H
#define ATHIERARCHICALCLUSTERINGGRAPH_H
#include <limits>
#include <numeric>
#include <vector>
#include <pcl/io/io.h>
namespace ATHierarchicalClusteringGraph
{
struct edge {
size_t voxelIndexA;
size_t voxelIndexB;
float distance;
};
struct s... | [
"lukas.aymans@googlemail.com"
] | lukas.aymans@googlemail.com |
760df4e1aa0c390c6a8e57a286a26a82618bb1e2 | 43250cad8ea54eae832689befa3383da09fc4ffa | /OnOffClient.cpp | 673c89c3fafdd405f5f7fc654b63c2cb4e0eb5f3 | [] | no_license | gaixas1/rinaApps | 354bfcf2a395a9fa10d84a4e85cf53f455a84fd8 | d9848151087f5d67ce448efb6e8501d9f0b00c67 | refs/heads/master | 2020-03-07T23:21:23.279796 | 2018-04-26T18:12:28 | 2018-04-26T18:12:28 | 127,779,178 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,485 | cpp | #include <tclap/CmdLine.h>
#include <random>
#include "include/test_client_base.h"
class OnOffClient : public TestClientBase {
public:
OnOffClient(const std::string Name, const std::string Instance, const std::string Servername, const std::string ServerInstance, const std::string DIF,
int FlowIdent, int QosIdent, ... | [
"gaixas1@gmail.com"
] | gaixas1@gmail.com |
7f6156259d9c936b2d3ae414e167452888314ea2 | 246a16842feb7633edbe6291ff36b4c93edbb3c7 | /conan-package/array/test_package/example.cpp | ddd8fd72d76a90305496de3731b92223f8b613e4 | [] | no_license | curtkim/c-first | 2c223949912c708734648cf29f98778249f79346 | f6fa50108ab7c032b74199561698cef087405c37 | refs/heads/master | 2023-06-08T10:57:35.159250 | 2023-05-28T05:52:20 | 2023-05-28T05:52:20 | 213,894,731 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,112 | cpp | #include "array/array.h"
#include "array/ein_reduce.h"
#include <functional>
#include <iostream>
#include <random>
using namespace nda;
int main()
{
using my_3d_shape_type = shape<dim<>, dim<>, dim<>>;
constexpr int width = 16;
constexpr int height = 10;
constexpr int depth = 3;
my_3d_shape_type my_3d_shap... | [
"curt.k@kakaomobility.com"
] | curt.k@kakaomobility.com |
df40cc814283f8f412add26c498c13c1662a5fc4 | a01363e94fc5c0e99d416717e76b30332340dc70 | /Clase 28/ordenamiento.h | c27ef96b449d919cd64f66fc28f976bf344fd2e8 | [] | no_license | phob0z/AyED | f0662e665322d51e56e9dbbc49a0db2714a908bc | 554c17d529e37120f87bff75a7127a53c0b65e7f | refs/heads/main | 2023-03-23T07:01:24.063299 | 2021-03-14T06:20:49 | 2021-03-14T06:20:49 | 329,105,972 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 785 | h | #include <iostream>
using namespace std;
void ordenamientoQuicksort(int vector[], int pinicial, int pfinal);
void ordenamientoQuicksort(int vector[], int pinicial, int pfinal)
{
int i = pinicial;
int j = pfinal;
int piv = vector[(pinicial + pfinal) / 2];
int temp;
do {
while (vector[i]<piv... | [
"leonel.alfonso@gmail.com"
] | leonel.alfonso@gmail.com |
8fba8c41340e4fdf171c93f80757aca16dcac010 | ba1e90ae6ea9f8f74d9b542e159825341c717712 | /2020/lcContest145D.cpp | aacea1d7da2db38786881ea0037cded5578d68e4 | [] | no_license | sailesh2/CompetitiveCode | b384687a7caa8980ab9b9c9deef2488b0bfe9cd9 | 5671dac08216f4ce75d5992e6af8208fa2324d12 | refs/heads/master | 2021-06-24T22:39:11.396049 | 2020-11-27T05:22:17 | 2020-11-27T05:22:17 | 161,877,355 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,945 | cpp | class Solution {
private:
vector<string> rskills;
map<string,int> peopleMap;
map<string,int>::iterator peopleMapIt;
map<string,int> mp;
map<string,int>::iterator mpIt;
int n;
int minS=1000000000;
vector<int> ans;
string getNewCurrent(){
string s="";
fo... | [
"sailesh.ku.upadhyaya@gmail.com"
] | sailesh.ku.upadhyaya@gmail.com |
1dadcd90837869a3fcc60be5e0035ee08daaa487 | bc38597594eca8e8693e52dca88941a3f2fc42f4 | /DS28EA00.ino | 3867c1000dfe88c4fe91a4c3f4b8452fe9dc392b | [] | no_license | mortonkopf/OneWire_DS28EA00 | c95999f842ba1a263df613047a92489b52e64bfe | a936e8e1491da9ab07c78288054a3003e0068487 | refs/heads/master | 2020-04-06T07:06:32.281543 | 2016-09-04T09:01:31 | 2016-09-04T09:01:31 | 60,271,217 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 22,804 | ino | /**********************************************************************
* File: DS28EA00
* Programmer: Maxim Integrated Systems Apps
* Started: 22JAN14
* Updated: 23JAN14
*
* Description: Demonstration of using the DS28EA00 1-wire devices.
* Program supports up to 10 sensors on the bus.
* Sens... | [
"mariusmdg@live.co.uk"
] | mariusmdg@live.co.uk |
d0d0033466d73e82a8852c79f9fd1cae77b67f22 | 898f517714dcd43a968bf3647ff88352dfaa2395 | /mongo_types.h | 44874d1d665efe7cda3a8761f9f7f9f789f71068 | [
"MIT"
] | permissive | InitialDLab/SONAR-SamplingIndex | 54c7e8fb05a418e0be052ec740175edc3b67364d | c83d6f53f8419cdb78f49935f41eb39447918ced | refs/heads/master | 2021-01-18T16:19:05.940489 | 2017-09-29T21:21:22 | 2017-09-29T21:21:22 | 86,735,043 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,890 | h | /*
Copyright 2017 InitialDLab
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, merge, publish, distribute, sublice... | [
"robert.christensen@gmail.com"
] | robert.christensen@gmail.com |
f3055838b01ae9c90ab4154c2257ce18c1e60fc3 | c4b2f0b5795bddf122429ad2706e4b12d7914bbe | /chrome/browser/notifications/notification_platform_bridge_win.cc | c2a8befe2a41799ace1dbd5905b8af292545948a | [
"BSD-3-Clause"
] | permissive | codeandcircuit/chromium | 976e3a0f06dce58eb48d25a5ba25a6e8e1c45426 | 0588d0628f73cfb7f01639afe4145655cf922744 | refs/heads/master | 2022-12-28T07:56:50.885265 | 2018-03-12T16:36:22 | 2018-03-12T16:36:22 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 30,396 | cc | // Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/notifications/notification_platform_bridge_win.h"
#include <NotificationActivationCallback.h>
#include <activation.h>
#include <... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
455c1d127a5d2cf4f3413592e5a46f695928e693 | db3205f3f43635d85d7f7f3fa201253f739f6ae9 | /GameWindow.h | e8ec382bf74afe731251dcd5f9f73e688cfd0fb1 | [] | no_license | qbytm/GameSample | a323969b411f6b46408a18cc0a26257c339e70ea | bc383583de1c2cd9f7ddd09242e6f8ab7b9387fb | refs/heads/master | 2020-04-10T13:19:17.832094 | 2015-06-18T09:46:40 | 2015-06-18T09:46:40 | 37,639,474 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 494 | h | #ifndef GAMEWINDOW_INCLUDE_H
#define GAMEWINDOW_INCLUDE_H
#include <iostream>
#include <string>
#include <SDL.h>
using namespace std;
class GameWindow
{
public:
GameWindow();
~GameWindow();
bool CreateWindow(string title, int windowWidth, int windowHeight);
void Run(void* Start = NULL, void* Update = NULL);
S... | [
"qbytm.nj@gmail.com"
] | qbytm.nj@gmail.com |
a4a0cf3a95763f3695abe132aad6ea27aa5378cd | 3f2c677e911f25653df65549def9e37611307563 | /particle_filter.cpp | 845f98e959127e075bd3a611bda52287871d9b07 | [] | no_license | microwatt/CarND-Kidnapped-Vehicle-Project | f521c52b9094d1bb74ac5ca3f5a3a54525f853e6 | c490a9aeed4585cc0eacd5d6bc821aa8327c0f67 | refs/heads/master | 2021-08-12T01:01:26.671980 | 2017-11-14T07:44:42 | 2017-11-14T07:44:42 | 110,655,720 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,398 | cpp | /*
* particle_filter.cpp
*
* Created on: Dec 12, 2016
* Author: Tiffany Huang
*/
#include <random>
#include <algorithm>
#include <iostream>
#include <numeric>
#include <math.h>
#include <iostream>
#include <sstream>
#include <string>
#include <iterator>
#include "particle_filter.h"
using namespace std;
... | [
"microwatt@users.noreply.github.com"
] | microwatt@users.noreply.github.com |
cd2c9324fb6d7c6050037d1afe7b34d09382381a | 1c8f1e943b0ee1273bf168894af9c210a76f4ce5 | /AlgorithmDesignAndAnalysis(2019)/2.4 白给题.cpp | 0690fca94bd2029e9c006ab6d57241a48b9bb87b | [] | no_license | jifengye/personal-Code | 0ef3013637bdb84e15f3228eb4422ff5692e31e7 | ab563a28ab6e945dd7b37603542b2d3c9b34a470 | refs/heads/master | 2020-05-02T04:19:44.762804 | 2019-12-28T15:47:52 | 2019-12-28T15:47:52 | 177,746,687 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,684 | cpp | /*
算法设计与分析 2.4 白给题
★题目描述
给定N个自然数,你需要选择M个,使得M个数中两两之间的差的绝对值的最小值尽可能大,求这个最大值。
★输入格式
第一行两个空格隔开的正整数N,M,表示自然数个数和要选的数的个数。
接下来一行为N个空格隔开的给定自然数。
★输出格式
一个整数。
★样例输入
3 2
1 2 3
★样例输出
2
*/
/*
先对数列进行排序
然后保存这个序列相邻两个数的差值,组成差值序列
这个时候就变成一道类型题了,
现在就是要通过相邻的两个差值合并,使最后余下的m-1个的差值中最小值尽可能的大
设置一个变量 间隔res
设置这个 间隔res 从(max-min)/m开始减小到为1
一旦根据... | [
"2509050464@qq.com"
] | 2509050464@qq.com |
fb7755c934a94f9b987884dafe1627c75ac52da5 | 38c10c01007624cd2056884f25e0d6ab85442194 | /sql/mojo/sql_test_base.cc | 107411342bf8fe51f2446e9ea95a3a79890901b0 | [
"BSD-3-Clause"
] | permissive | zenoalbisser/chromium | 6ecf37b6c030c84f1b26282bc4ef95769c62a9b2 | e71f21b9b4b9b839f5093301974a45545dad2691 | refs/heads/master | 2022-12-25T14:23:18.568575 | 2016-07-14T21:49:52 | 2016-07-23T08:02:51 | 63,980,627 | 0 | 2 | BSD-3-Clause | 2022-12-12T12:43:41 | 2016-07-22T20:14:04 | null | UTF-8 | C++ | false | false | 4,882 | 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 "sql/mojo/sql_test_base.h"
#include "mojo/application/public/cpp/application_impl.h"
#include "mojo/util/capture_util.h"
#include "sql/mojo/mojo... | [
"zeno.albisser@hemispherian.com"
] | zeno.albisser@hemispherian.com |
cd7d06d27e3ba0ba4ee680cfd6f256e2c4659f51 | c26631487f8e5c10b80d4f96710fed4309cdd354 | /Dependence/PythonQt/generated_cpp/com_trolltech_qt_gui/com_trolltech_qt_gui10.cpp | eb4e34a316467006c707eff8cd6149064c8cbc4d | [] | no_license | ccdump/PebbleEngine | 975fe39f80dc0a5b73257f528d459510fb69b23b | a7360989a204093dcbe4e70afa0d5a157284f296 | refs/heads/master | 2021-01-19T21:48:19.379256 | 2013-05-29T12:03:00 | 2013-05-29T12:03:00 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 535,837 | cpp | #include "com_trolltech_qt_gui10.h"
#include <PythonQtConversion.h>
#include <PythonQtMethodInfo.h>
#include <PythonQtSignalReceiver.h>
#include <QIcon>
#include <QMessageBox>
#include <QVariant>
#include <qabstractbutton.h>
#include <qabstractitemdelegate.h>
#include <qabstractitemmodel.h>
#include <qaction.h>
#includ... | [
"antmanler@gmail.com"
] | antmanler@gmail.com |
14cf6691ba4623ae08bd51da807e5e77ae26d94d | a865775d3502224a2e9544ec3f2c1ac0db2e0868 | /models/stock.h | acae697e11921b431adcb641aa6b85e5863033e7 | [] | no_license | webclinic017/ampanov | c3afcc08f9dae78dcfe385b9860d9bd5050a43e4 | 1d19051b975714f7a2b8b3c82a2906998a7493c5 | refs/heads/master | 2022-03-30T06:57:33.635946 | 2020-01-19T18:12:05 | 2020-01-19T18:12:05 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,271 | h | #ifndef STOCKMODEL_H
#define STOCKMODEL_H
#include "core/database.h"
#include "core/zeromq.h"
struct Stock {
int rowid = 0;
QString status = "";
QString symbol = "";
int symbol_id = 0;
QString descriptio... | [
"mgladkowski@axyz.com"
] | mgladkowski@axyz.com |
36d1bc672d35ba83596b83c49ba9f3c6249ecce5 | 2ec630d6652a71f1b4f8c9f36f9d92505ecb1da8 | /src/MiniCards.ino | 19bff6e6fb81db683f8959d05bb9383e283e1f8a | [] | no_license | EspeuteClement/Minicards | 6e3f4d3df3fa00c6b4119f7d72ebc329932c422b | 605349d31d283faf2291bbb2048e57c1fa904cdc | refs/heads/master | 2021-04-06T04:31:35.310868 | 2018-03-11T23:23:06 | 2018-03-11T23:23:06 | 124,809,017 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,627 | ino | #include <Gamebuino-Meta.h>
#include "Styx.h"
void setup()
{
gb.begin();
Styx::LoadImages();
Styx::Init();
}
void loop()
{
if (gb.update())
{
Styx::Update();
gb.display.clear(WHITE);
Styx::Draw();
}
}
void Styx::SetColor(uint8_t color_index)
{
Gamebuino_Meta::Graph... | [
"espeut.clement@gmail.com"
] | espeut.clement@gmail.com |
0ad2c1b7d0f708602e8a7bef98f1f3397ee59c41 | 61c325f099f251c22f13ac454c974ca7831d9077 | /src/rpcdump.cpp | 65d1b2a93c6b9f1a7590b1e1681aa564865f8a62 | [
"MIT"
] | permissive | freshbtcer/kidzcoinz | 96ceec623600ec31f419a33f802400dcf9290bdf | 3c98653b38df8283caa9c1f7eefa5e524d067f0e | refs/heads/master | 2021-07-05T14:40:04.915647 | 2017-10-01T06:17:34 | 2017-10-01T06:17:34 | 105,417,036 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,008 | cpp | // Copyright (c) 2009-2014 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" // for pwalletMain
#include "bitcoinrpc.h"
#include "ui_interface.h"
#include "base58.h"
#include <boost/lexica... | [
"freshbtcer@gmail.com"
] | freshbtcer@gmail.com |
3e359ef751092826c80ee6d6d62f70a00612ac8e | cb4516492965c75d14c9d499c387d3cd0b883bc4 | /X3/Section 2 - Rendering Techniques/2.2 Dean Calver/GBufferMRT.cpp | e052fdc79b3662963529330710b95d2aa96ad4f8 | [
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-public-domain"
] | permissive | nedma/ShaderX | 48367dfc1153e4e6ad6bb5c205777285b06376c5 | 0503dd6ae16f3d288f2e27b0f93ebdfbaf1f4436 | refs/heads/master | 2020-04-08T01:51:11.173038 | 2018-11-24T08:37:42 | 2018-11-24T08:37:42 | 158,911,553 | 0 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 8,355 | cpp | //-----------------------------------------------------------------------------
// File: GBufferMRT.cpp
//
// Desc: GBufferMRT class manages to the MRT
//-----------------------------------------------------------------------------
#include "dxstdafx.h"
#include "GBufferMRT.h"
// NOTES : 16Bit INT format is a... | [
"realned_07@163.com"
] | realned_07@163.com |
4e8035ec047a25cc09b2d335f83baa3b6cbf724c | dadaa057480479e3796063c7f0ee03b5d7775642 | /4. Conditions/20321016/1.BetterSqEq/1.BetterSqEq.cpp | af991848aaaf69e843f252e8ad272979743e46b6 | [
"MIT"
] | permissive | Mitaka01-eng/CS104 | 8c5f45cd70098d5f06764c022bc03eca52217250 | 5281b1519e0cf41f314003112a811747a2143bd4 | refs/heads/main | 2023-03-27T18:14:17.934925 | 2021-03-30T16:08:47 | 2021-03-30T16:08:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 807 | cpp | // 1.BetterSqEq.cpp : This file contains the 'main' function. Program execution begins and ends there.
//
#include <iostream>
#include <cmath>
using namespace std;
int main()
{
int a, b, c;
cout << "a=?, b=?, c=?" << endl;
cin >> a >> b >> c;
float d = pow(b, 2) - 4 * a * c;
... | [
"20321016@students.bfu.bg"
] | 20321016@students.bfu.bg |
27b5afb048201f0aaa1080ad6346dc409dce900c | 7aa50d001d3042a646f0ed72a48005115f0d017e | /SavingsAccountBalance.cpp | b4f1999618cd65ae7955acc7103505a6c4c39ef5 | [] | no_license | ashiqislam/CPP-Programs | 96e706e80a587f59c3307477cc919ca1bb062e78 | a2c7e5fbb826c3cae0083dd41c8b4f8615d0b678 | refs/heads/master | 2021-08-31T09:08:59.655378 | 2017-12-20T21:41:07 | 2017-12-20T21:41:07 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,200 | cpp | #include<iostream>
using namespace std;
int main()
{
double annInterestRate = 0,
startbalance = 0,
numberOfMonths = 0,
deposit = 0,
withdrawal = 0,
TotalDeposits = 0,
TotalWithdrawals = 0,
TotalInterest = 0,
monInterestRate = 0,
TotalBalance = 0;
char loop;
do
{
cout<<"\nEnter the annual interest... | [
"noreply@github.com"
] | noreply@github.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.