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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
632ce0035fee3c49ab7053b5790eeeb55927afea | 8c34bc282ba670aaffe9a7e37e1c7893a83a09ea | /Tests/Tuple/TupTest.cpp | 35d8091394912577864163de053a97fd8aededb7 | [
"MIT"
] | permissive | qookei/HackySolutions | acba46f62f8881b9b603d076284878c24c5ea4b2 | 3c61d67adbad9ed8197bab0ac53009fe5aa0edae | refs/heads/master | 2022-11-23T12:28:12.388277 | 2020-07-23T02:15:10 | 2020-07-23T02:20:19 | 281,828,222 | 0 | 0 | MIT | 2020-07-23T02:16:08 | 2020-07-23T02:16:07 | null | UTF-8 | C++ | false | false | 474 | cpp | #include <iostream>
#include "../../cpp/Tuple/Tuple.hpp"
template< typename... Args >
static void print(hsd::tuple<Args...> tup)
{
[&]<size_t... Ints>(hsd::index_sequence<Ints...>){
((std::cout << tup.template get<Ints>() << '\n'), ...);
}(hsd::make_index_sequence<tup.size()>{});
}
int main()
{
hs... | [
"catalinnicolau2013@gmail.com"
] | catalinnicolau2013@gmail.com |
8a0dff24283af95c882e4041b3c2dfb18943183c | 67bef438ec5430ce6588382a254a433505ca5dd4 | /db/userdb.cpp | 97351ac1698ed3dee3de8d1e886e31ddb77f062a | [] | no_license | psystingod/eremasPro | fed9a7b272b59b66f333210b593277ad66b5a643 | fcbe261f8b6f4074c8205f3a1c1535dd14647565 | refs/heads/master | 2020-04-11T14:17:35.018258 | 2018-12-15T18:06:43 | 2018-12-15T18:06:43 | 161,849,214 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,863 | cpp | #include "userdb.h"
#include "dbinteraction/mysqluserdb.h"
UserDB::UserDB ()
{
name = "";
user = "";
password = "";
department = "";
accesed = false;
lastdate = QDate::currentDate();
}
UserDB::UserDB( const QString &nameLocal, const QString &userLocal, const QString &passwordLocal, const QStri... | [
"goherrerago@gmail.com"
] | goherrerago@gmail.com |
1be2fc763d0593ff24178b92af44e0ea119ecf6b | d8e2fd33b55c7c5b4e6cba9392410e6fc36eea55 | /content/browser/interest_group/interest_group_browsertest.cc | 5862c54bcfa03250474b71cf231f3bcab37c3f40 | [
"BSD-3-Clause"
] | permissive | alexAtSourcegraph/chromium | ef21f69a70551d94f05b8902e9915e846487122a | 461fddb207772db44a69f027db03a66c0c785b0e | refs/heads/main | 2023-08-16T21:45:30.933224 | 2021-10-07T13:31:50 | 2021-10-07T13:31:50 | 414,617,138 | 0 | 0 | BSD-3-Clause | 2021-10-07T13:41:02 | 2021-10-07T13:41:01 | null | UTF-8 | C++ | false | false | 115,295 | 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 <sstream>
#include <string>
#include <vector>
#include "base/callback.h"
#include "base/callback_forward.h"
#include "base/containers/contains.h... | [
"chromium-scoped@luci-project-accounts.iam.gserviceaccount.com"
] | chromium-scoped@luci-project-accounts.iam.gserviceaccount.com |
dd1bacbc8fcce128e973e31c90d95e4880be960d | d4260227111433d05c497c8cb822c133e04cfce4 | /libcaf_net/test/net/web_socket/server.cpp | a97556552181869e42e692fa1faf2a31a5162ff1 | [] | no_license | forgivemyheart/actor-framework | 100be2f340c34fc2bd56069128f0a044fb9ffa32 | 7b308e895ab4f71a6ce99807af454ccfd2f37288 | refs/heads/master | 2023-05-26T12:05:53.723555 | 2023-05-09T12:51:10 | 2023-05-09T12:51:10 | 74,015,093 | 0 | 0 | null | 2016-11-17T10:13:32 | 2016-11-17T10:13:31 | null | UTF-8 | C++ | false | false | 7,197 | cpp | // This file is part of CAF, the C++ Actor Framework. See the file LICENSE in
// the main distribution directory for license terms and copyright or visit
// https://github.com/actor-framework/actor-framework/blob/master/LICENSE.
#define CAF_SUITE net.web_socket.server
#include "caf/net/web_socket/server.hpp"
#includ... | [
"dominik@charousset.de"
] | dominik@charousset.de |
8d3097a76851e64eb5dbb23ab08fb01c7d56959e | 56ccb2a9fe0b75956613cfdeefc25d30b427d4c1 | /cipher01.h | 4cd49d6ea1769425266cee3fabb8a903ef053a90 | [] | no_license | RBudd16005/encryption | 9d4da9dc917eb579a07352ae32f492bca9ec3dae | 4cd62bc8eee0a330f21abf00b2c015485c8c2de6 | refs/heads/main | 2023-04-01T18:28:14.256247 | 2021-04-03T19:00:08 | 2021-04-03T19:00:08 | 353,550,941 | 0 | 0 | null | 2021-04-01T02:37:14 | 2021-04-01T02:37:14 | null | UTF-8 | C++ | false | false | 6,385 | h | /********************************************************************
* Header:
* Implement your cipher here. You can view 'example.h' to see the
* completed Caesar Cipher example.
********************************************************************/
#ifndef CIPHER01_H
#include <algorithm>
#include <stdio.h>
#inc... | [
"ryanbudd9@yahoo.com"
] | ryanbudd9@yahoo.com |
4a32d90d2318d3b2aafe47b44e2226f29a90bdae | 3a31866d7d235b55d6ae9fbb82e3652acb519be9 | /StatusBlink.h | ba5e2f1801a8700bc1cb0c3005f4d92f0fb60c76 | [] | no_license | kkiani/Sensor-Pack | 7bc83228984ecb96850e499ddb3ff58087486ff6 | 673a2ecdff6583637c20daa4742ec1b7746c5327 | refs/heads/master | 2023-03-30T02:06:49.682854 | 2021-04-03T14:54:47 | 2021-04-03T14:54:47 | 288,918,239 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 830 | h | // Docs **************************************************
// -------------------------------------------------------
// copyright kiarash kiani 2020
// shannon version 3
// email: hi@kiarsh.info
// -------------------------------------------------------
// turn on led status -> startProgress()
// turn off led s... | [
"hi@kiarash.info"
] | hi@kiarash.info |
cadec27477c92d13f0809648da05bdbdc198f06e | b0d9a8dca6063dc212f2cec11217cf4413cc5bb4 | /数据结构/实习2/1/No.1 计算器/计算器/计算器Dlg.h | 94abf96d1237a2c14e6e518f3b7ab2ea53beaf54 | [] | no_license | AbiterVX/In-ClassLearning | 2c49c27ef85a7c9c3c43bc7d3fdc4cd5c563bebf | 082c8f8cbdf819069d9d94a04c8dcbfe38d13472 | refs/heads/master | 2023-03-23T12:49:21.141982 | 2021-03-23T04:43:30 | 2021-03-23T04:43:30 | 347,906,986 | 8 | 1 | null | null | null | null | GB18030 | C++ | false | false | 8,839 | h |
// 计算器Dlg.h : 头文件
//
#pragma once
#include"链表栈.h"
#include<string>
#include<sstream>
#include<cstring>
#include"中缀转后缀并计算.h"
#include<math.h>
#include<cmath>
// C计算器Dlg 对话框
class C计算器Dlg : public CDialogEx
{
// 构造
public:
C计算器Dlg(CWnd* pParent = NULL); // 标准构造函数
// 对话框数据
#ifdef AFX_DESIGN_TIME
enum { IDD = IDD_... | [
"32676474+AbiterVX@users.noreply.github.com"
] | 32676474+AbiterVX@users.noreply.github.com |
0b96356547639a25b36df4ff736987dce2156ed5 | 5da9a081d0651d78d7f3cee07880eb3fddb475d7 | /Spinning3DCubeOpenGL/Basic_SFML_Template/stdafx.cpp | 2b18b92b8cbfdd71f1c1d843fb125573219471db | [] | no_license | kenpower/SFMLProjects | 4b9fc75128c63692800b9a00261a919c9a80c5d5 | 4a3fbe153a8685798733c55cbad402a8fdbf423b | refs/heads/master | 2021-01-10T20:43:22.923087 | 2013-03-06T12:44:02 | 2013-03-06T12:44:02 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 298 | cpp | // stdafx.cpp : source file that includes just the standard includes
// Basic_SFML_Template.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
| [
"github@kenpower.com"
] | github@kenpower.com |
fdf6fa7e482cdf8f5769feaca062fea8590ab34a | 288893382ce978f47901e369b924e49faad2e1f3 | /ED1/Prj_Lista_Duplamente_Encad_Circular/main.cpp | 9c2ef9619044a6cbc210bc61dcb05d73d2d7078a | [] | no_license | arthurEstephano/Prog---FeMASS---RJ | ea3447ec0932fc32f4903564e8688bda60c956fa | f276abaeb55b5b85499933cde052e125272e5a60 | refs/heads/master | 2023-05-07T18:46:33.937781 | 2021-06-04T03:21:20 | 2021-06-04T03:21:20 | 373,708,319 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,629 | cpp | #include "lista_dupla_circular.h"
int main()
{
Lista2* l;
int op;
l = inicializa();
int valor;
printf("\n\nEscolha uma opcao abaixo para utilizar as funcoes da biblioteca de Lista circular duplamente encadeada de insercao ordenada.\n");
printf("1)Insere_inicio\n2)Insere_fim\n3)Remove_inicio\n4)Remove... | [
""
] | |
4c878541f5cf68462943c45632ac5da0e0edcf97 | 7320e7f74746322d400a11f714711132d6e5028e | /solvers/elliptic/src/ellipticPreconOAS.cpp | 630aceca7f2502d1da6648cff885a661334c14c4 | [
"MIT"
] | permissive | MalachiTimothyPhillips/libparanumal | 7f0a14c2d6c1d378db471db1489d9f64dca52863 | f3fd4505df56207b05aa86164124ab6bad83f92a | refs/heads/master | 2020-09-13T13:27:13.457848 | 2020-03-25T22:40:40 | 2020-03-25T22:40:40 | 222,797,307 | 0 | 0 | NOASSERTION | 2019-11-19T21:55:18 | 2019-11-19T21:55:18 | null | UTF-8 | C++ | false | false | 7,821 | cpp | /*
The MIT License (MIT)
Copyright (c) 2017 Tim Warburton, Noel Chalmers, Jesse Chan, Ali Karakus
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 limitatio... | [
"noel.chalmers@gmail.com"
] | noel.chalmers@gmail.com |
d66ffd15c540c9ae8511f8b27afbae05661b9d9c | 8ebf327f53c2e26a937fca97384388e260af617f | /src/Input.cpp | c13e70d320b0880a3ca0b302e843465f7a94fc2f | [] | no_license | bratek20/RCG | 0369432c04060d17d013c0ff440fe287d09b6456 | 930f8c15f700260c7fbdd5a53fea42a107aaa95e | refs/heads/master | 2020-04-27T13:28:26.645702 | 2019-06-11T13:40:40 | 2019-06-11T13:40:40 | 174,371,250 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,271 | cpp | #include "Input.h"
bool Input::isKeyPressed[Input::KEY_PRESSED_SIZE];
std::function<void()> Input::pressedCallback[Input::KEY_PRESSED_SIZE];
glm::vec2 Input::mouseOffset;
const float Input::MOUSE_SENSIVITY = 20;
void Input::init(){
// Ensure we can capture the escape key being pressed below
glfwSetInputMode(Wind... | [
"bartoszrudzkilo14@gmail.com"
] | bartoszrudzkilo14@gmail.com |
ebff7e4de7d7e694736582faa3fdc2a2d94089af | 30b59c39ed623c7a629867ce3f295f73b3e8a133 | /tests/external/libcxx/string.view/string.view.capacity/capacity.pass.cpp | 6cf674a1db57648babb9f874462e053230c04eb4 | [
"BSD-3-Clause",
"LicenseRef-scancode-unknown-license-reference",
"NCSA",
"MIT"
] | permissive | pmem/libpmemobj-cpp | 4f5b22451df6bc73899f23901d49149aff09318d | 36ffa5afee2288928c22ae6392e12dfd45b1f159 | refs/heads/master | 2023-09-04T09:58:56.743652 | 2023-03-22T10:07:26 | 2023-03-22T10:07:26 | 133,517,380 | 111 | 80 | NOASSERTION | 2023-03-22T10:07:27 | 2018-05-15T13:06:34 | C++ | UTF-8 | C++ | false | false | 2,771 | cpp | //===----------------------------------------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===---------------------------... | [
"krzysztof.filipek@intel.com"
] | krzysztof.filipek@intel.com |
166b6ad6429d0e0cd801bc5557edd5b279306407 | 5f5c4a8f744cea51824338b40f4a78748c9e893d | /FileReader.h | 68f2c18ab11fd904ae3ae0a83f1db69e0b5bf681 | [] | no_license | d13125710/ants4_oldversion | 05e7e9368b9207845c6c79a2907733bdf182ab3a | 82e1c6b4e12b57ebf41e3aa0f9c71f056d2bb919 | refs/heads/master | 2021-01-01T20:16:05.774076 | 2014-07-04T00:47:25 | 2014-07-04T00:47:25 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,374 | h | #pragma once
#include <string>
#include <iostream>
#include <fstream>
#include <vector>
#include <math.h>
#include <random>
#include <array> //for std::array
#include "Coords.h"
#include "Tokenizer.h"
#include "TokenFinder.h"
using namespace std;
typedef vector<Coords> Coords_vector;
typedef Tokenizer<TokenFinder... | [
"gar_hunter@yahoo.com"
] | gar_hunter@yahoo.com |
df34614b6865e0142a93a45e385dc7055e3b2257 | 613f4c5ee39cae399fcbc59e14106385476b4abf | /ZekeGame/ZekeGame/Engine/physics/PhysicsStaticObject.cpp | fb8a2842e0cc6cf4dad32523d25c1282fd741d22 | [] | no_license | kyotento/TGame | ae9ddcd629d6aad1cb2f65e3981c2ec86dfde31f | ead88322e6f5c74b9f10fb43d75007b7318033ce | refs/heads/master | 2020-04-08T14:18:17.027216 | 2018-11-29T02:49:23 | 2018-11-29T02:49:23 | 156,310,874 | 0 | 0 | null | 2018-11-26T08:10:33 | 2018-11-06T01:58:40 | C++ | SHIFT_JIS | C++ | false | false | 763 | cpp | /*!
* @brief 静的オブジェクト。
*/
#include "stdafx.h"
#include "Engine/physics/PhysicsStaticObject.h"
PhysicsStaticObject::PhysicsStaticObject()
{
}
PhysicsStaticObject::~PhysicsStaticObject()
{
g_physics.RemoveRigidBody(m_rigidBody);
}
void PhysicsStaticObject::CreateMeshObject(SkinModel& skinModel, CVector3 pos, CQuater... | [
"hnta3574@gmail.com"
] | hnta3574@gmail.com |
ff6d81641465107852d664238982ad3cc0e6c888 | 05b70b0ba1d8bc404820062c5d72069d81233e50 | /features/HitMarker.cpp | fd46817b0d9309b85aa686df1a07e7e7ee85e36e | [] | no_license | dddrafted/draftedhack-master | 4132fa9854d5bbe1d76a9ed80f7b198fe666015b | 7723c81bd6bdbd696120e50010b6f6bea081fcee | refs/heads/master | 2020-03-17T04:13:15.556874 | 2018-05-13T19:18:20 | 2018-05-13T19:18:20 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,020 | cpp | #include "HitMarker.hpp"
#include "../Structs.hpp"
#include "Visuals.hpp"
#include "../Options.hpp"
void HitMarkerEvent::FireGameEvent(IGameEvent *event)
{
if (!event)
return;
if (g_Options.visuals_others_hitmarker)
{
if (g_EngineClient->GetPlayerForUserID(event->GetInt("attacker")) == g_EngineClient->GetLoc... | [
"39245646+dddrafted@users.noreply.github.com"
] | 39245646+dddrafted@users.noreply.github.com |
913de41eb2df97a22672ec94d087b29f095bad88 | b5b4f1823ef58e1e9bf34049771a8d9c6ae109ab | /Il2CppOutputProject/Source/il2cppOutput/mscorlib16.cpp | 565c88cf9f9a61b6a54990b85ca3c0065bf3f066 | [] | no_license | Gizmoskip/CheckersGame | 6ce3dbb6247bcb44726fbcf6554b251d857f2ba3 | e660d85020706524f55db7446d252789b209e808 | refs/heads/main | 2023-04-09T10:20:10.882698 | 2021-04-15T16:00:05 | 2021-04-15T16:00:05 | 358,316,759 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,817,775 | cpp | #include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <cstring>
#include <string.h>
#include <stdio.h>
#include <cmath>
#include <limits>
#include <assert.h>
#include <stdint.h>
#include "codegen/il2cpp-codegen.h"
#include "icalls/mscorlib/System.Text/EncodingH... | [
"gismoskip@gmail.com"
] | gismoskip@gmail.com |
d5c480406f723cb163d01bbbc8c68d3ba08b0f0d | ce7a03fb9e5d01dc1cc8c72bd3c07d6e42a34c39 | /ZINO_ParcialLP1/cJefe.cpp | 02c4b74c9d4e1518539e46139568a7fb954f6fa9 | [] | no_license | MailenZino/ZINO_ParcialLP1 | 11ef726eeecf64353044e1ce1049175ed0725ad9 | 0ddfdb873322604eb4781b7aae041d58a10a1315 | refs/heads/master | 2023-05-30T22:31:19.557203 | 2021-06-11T13:37:43 | 2021-06-11T13:37:43 | 375,986,736 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 418 | cpp | ///////////////////////////////////////////////////////////
// cJefe.cpp
// Implementation of the Class cJefe
// Created on: 11-jun.-2021 09:52:34
// Original author: maile
///////////////////////////////////////////////////////////
#include "cJefe.h"
cJefe::cJefe(){
}
cJefe::~cJefe(){
}
/**
* vi... | [
"mailenzino15@gmail.com"
] | mailenzino15@gmail.com |
86a55a98e3213210b81647468969344bfac3f27c | 6569a0dcd21fd720c314077957fd2f97bb32e075 | /WickedEngine/wiRenderer_BindLua.cpp | 9d6162b8a40d24d744f8614ec1b830b09f01eddb | [
"MIT",
"Zlib"
] | permissive | TheExceptionist/WickedEngine | 5bdded6bb32e2b18d255d223339e0ba9aab48a1a | ca3009e4b29ac7420157da0c25c3a79095f44a24 | refs/heads/master | 2021-09-07T15:17:24.383738 | 2018-02-24T21:13:37 | 2018-02-24T21:13:37 | 122,923,289 | 1 | 0 | null | 2018-02-26T06:23:26 | 2018-02-26T06:23:26 | null | UTF-8 | C++ | false | false | 18,663 | cpp | #include "wiRenderer_BindLua.h"
#include "wiRenderer.h"
#include "wiLines.h"
#include "wiLoader.h"
#include "wiHelper.h"
#include "wiLoader_BindLua.h"
#include "Vector_BindLua.h"
#include "Matrix_BindLua.h"
#include "wiWaterPlane.h"
#include "Texture_BindLua.h"
#include "wiEmittedParticle.h"
#include "wiHairParticle.h"... | [
"turanszkij@gmail.com"
] | turanszkij@gmail.com |
0e0ba44c12beec0c4535a9facb0a5b5084bb7b42 | d9d118f4f1d626a750897babce33b3ce34f11575 | /x451/TML_X0_FIDL/HMI/gen/dbus/consumes/v0/com/harman/audiopres/plugin/audioPresPluginTypesDBusDeployment.cpp | 7d3eb084493ad1115327b8fd9d0d0d3dfa5d46f8 | [] | no_license | HNarayana-youCanDoIt/Testproject | 39af23d3ee4c2a413670c3dcd68dbd41424bbe91 | 226795327f50102989dfc8e12174823dddc2aa68 | refs/heads/master | 2023-03-26T05:57:57.044706 | 2021-03-31T11:14:53 | 2021-03-31T11:14:53 | 353,326,120 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 662 | cpp | /*
* This file was generated by the CommonAPI Generators.
* Used org.genivi.commonapi.dbus 3.1.5.
* Used org.franca.core 0.9.1.201412191134.
*
* generated by DCIF CodeGen Version: R2_v2.1.0
* generated on: Wed Oct 30 12:44:55 IST 2019
*/
#include "audioPre... | [
"hemanthakumar.narayana@harman.com"
] | hemanthakumar.narayana@harman.com |
e9285994277d0d6c080bb739914a109377a68340 | 6e2790210b3f07bfd38a0c03476cfdddbd0ddd92 | /leetcode81.cpp | 30e23db6e5ce406996b3163e4a5f50c5ddb96c01 | [] | no_license | VictorCPH/Leetcode-practice | 3dbf301bd2b6a55995f497f03907f7da4c407c6e | 0d044a5a214d98c5fcc9f02697da9a3ae94e05ae | refs/heads/master | 2021-01-10T15:22:26.871958 | 2016-03-25T17:03:48 | 2016-03-25T17:03:48 | 54,078,787 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 869 | cpp | // leetcode81.cpp : 定义控制台应用程序的入口点。
//
#include "stdafx.h"
#include <iostream>
#include <vector>
using namespace std;
class Solution {
public:
bool search(vector<int>& nums, int target) {
int low = 0;
int high = nums.size() - 1;
while (low <= high) {
int mid = (low + high) / 2;
if (nums[mid] == target)
... | [
"867118422@qq.com"
] | 867118422@qq.com |
9295ee3c8594bcab2db4fbab94f05b3d76c6876f | fec5c8665fb674c86d8a7b437b27dda68e2ecd30 | /LTBL2/src/LightDirectionEmission.hpp | e0c374d920dadadae79c10b18aad7c041ddee242 | [
"MIT",
"BSD-3-Clause",
"Zlib",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | Alia5/FSE | aaf4c453da4ac2b100554dd5ccb600ee34edf08b | e53565aa1bbf0235dfcd2c3209d18b64c1fb2df1 | refs/heads/master | 2021-11-23T04:29:40.685758 | 2021-03-04T15:06:44 | 2021-03-04T15:06:44 | 78,969,017 | 18 | 5 | MIT | 2020-01-06T13:27:28 | 2017-01-14T21:56:29 | C++ | UTF-8 | C++ | false | false | 5,281 | hpp | #pragma once
#include "Utils.hpp"
#include "LightShape.hpp"
namespace ltbl
{
//////////////////////////////////////////////////////////////////////////
/// \brief Light with a direction (usually sun/moon)
//////////////////////////////////////////////////////////////////////////
class LightDirectionEmission : publi... | [
"orly.alia5@gmail.com"
] | orly.alia5@gmail.com |
875adba1270dfd4cae9d31960c199f3ef0123c0e | 2928ae78267e041584424a96605e881815100038 | /FAManagement/PacketFilter.cpp | 3b5904dbcfdb5605ae9c824d028c6d8d9928060b | [] | no_license | jujinesy/FAManagement | 62e22b3ecffff3651bb963187c9d3ab02a8e3c5b | c5dcaca087895977ff84321402878467e8947f74 | refs/heads/master | 2021-01-18T13:54:03.751565 | 2015-04-10T00:13:59 | 2015-04-10T00:13:59 | 21,773,748 | 1 | 0 | null | null | null | null | UHC | C++ | false | false | 32,509 | cpp | #pragma once
#include "stdafx.h"
#include "PacketFilter.h"
#include <winsock2.h>
#include <windows.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
//#pragma comment( lib, "res/lib/WinDivert.lib")
FILE *fr;
HANDLE handle, console, hThread;
UINT i;
INT16 priority = 0;
char packet[MAXBUF];
UINT packet_len;... | [
"jujinesy@gmail.com"
] | jujinesy@gmail.com |
d3b14d9729b158ec605f10bc33b78fb5b64bdde0 | 1ce4baf0624e287ed56fd532d89ccc374b345f44 | /BOJ_backup/11565.cpp | 6038de98207abb34057459183a191d58be85497d | [] | no_license | craclog/BOJ_backup | 7007fbbb3efa055bd2a9cdcb503b28bb08fe79cc | 5a2d5d80d04349c83d2e1913e10163cfe9934e17 | refs/heads/master | 2021-05-12T00:44:44.256960 | 2018-01-30T16:12:16 | 2018-01-30T16:12:16 | 117,542,703 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 911 | cpp | #include <cstdio>
#include <set>
#include <algorithm>
#include <vector>
#include <string.h>
using namespace std;
typedef long long ll;
char a[1003], b[1003];
int main(){
int idx = 0;
int alen, blen;
scanf("%s",a);
scanf("%s",b);
alen = strlen(a);
blen = strlen(b);
int cnt = 0;
for(int i=0 ;i< alen; i++)
{
i... | [
"craclog@gmail.com"
] | craclog@gmail.com |
69f48f69ab1c2bbfd6d77f8b38e7e7e030ec929f | 1b966edc8337f9c69b4dc986034ea923dd891179 | /socket/c++/tcp/third/ServerSocket.cpp | 93d61e9c4ac6d61e98911783ab25ea1433da4db4 | [] | no_license | hackerlank/renyang-learn | 7394f7d387001255e36337b9c30caecbfcc576a6 | aaf2e1c4ed302558d0e043e4be845c532f00c06b | refs/heads/master | 2020-06-09T09:39:33.744807 | 2009-09-20T16:07:57 | 2009-09-20T16:07:57 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,114 | cpp |
#include "ServerSocket.h"
#include "SocketException.h"
ServerSocket::ServerSocket(int port,int family,int type,int protocol,int maxconnections):Socket()
{
if(!Socket::create(family,type,protocol)) {
throw SocketException ( "Could not create server socket." );
}
if(!Socket::bind (port,family)) {
throw SocketExc... | [
"superporter2001@e6a1191f-3756-0410-b840-13f34102b90a"
] | superporter2001@e6a1191f-3756-0410-b840-13f34102b90a |
e00a13bf7d5e08bf5b562a78da20ac68bad63e87 | cf8ddfc720bf6451c4ef4fa01684327431db1919 | /SDK/ARKSurvivalEvolved_DinoSettings_Carnivore_RockDrake_Adult_functions.cpp | fbd498d2a830d5d49ebd5dbfa4abfa42c85605b0 | [
"MIT"
] | permissive | git-Charlie/ARK-SDK | 75337684b11e7b9f668da1f15e8054052a3b600f | c38ca9925309516b2093ad8c3a70ed9489e1d573 | refs/heads/master | 2023-06-20T06:30:33.550123 | 2021-07-11T13:41:45 | 2021-07-11T13:41:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,247 | cpp | // ARKSurvivalEvolved (329.9) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "ARKSurvivalEvolved_DinoSettings_Carnivore_RockDrake_Adult_parameters.hpp"
namespace sdk
{
//---------------------------------------------------------------------------
//Functions
//-------------------------------------------... | [
"sergey.2bite@gmail.com"
] | sergey.2bite@gmail.com |
f06a85ee8dae344c7deefb0f745bf9e509bc28aa | 36210a52acb9c9afb6f3dec6763245e4b4babb4f | /GSM/GalleGSMnew/GalleGSMnew.ino | d801b39bf46d4e605563cca5c1a90e00c4170730 | [] | no_license | amilashanaka/tide | 842497afdac130aadc4951265077658c4bc3ae36 | d19def2c22a144d78e38c384ecdb5fd5ab0e188f | refs/heads/master | 2022-06-01T02:53:48.095794 | 2020-03-12T00:07:29 | 2020-03-12T00:07:29 | 161,558,930 | 0 | 0 | null | 2022-05-25T07:09:49 | 2018-12-12T23:45:48 | JavaScript | UTF-8 | C++ | false | false | 7,062 | ino | #include <Ethernet.h>
#include <LiquidCrystal.h>
#include <SoftwareSerial.h>
#define echoPin 7 // Echo Pin
#define trigPin 8 // Trigger Pi
SoftwareSerial sms(2, 3); // RX | TX
LiquidCrystal lcd(9,A1,A2,A3,A4,A5);
int maximumRange = 800; // Maximum range needed
int minimumRange = 0; // Minimum range needed
long du... | [
"48742407+amilabiz@users.noreply.github.com"
] | 48742407+amilabiz@users.noreply.github.com |
79e856bdb3d16a29fc1ab4f4d98b27aa5016be3b | cc799cb41ba0f736a9611eafd4ad06a0767fd102 | /CncControlerGui/CncLCDPositionPanel.h | f9b6f36d2ac813bf707b9d1d94dbe86bdcb1f73e | [] | no_license | HackiWimmer/cnc | 8cbfe5f5b9b39d96c9ea32da4adcb89f96ec1008 | 329278bbed7b4a10407e6ddb1c135366f3ef8537 | refs/heads/master | 2023-01-08T01:39:54.521532 | 2023-01-01T15:48:06 | 2023-01-01T15:48:06 | 85,393,224 | 3 | 2 | null | 2017-03-27T18:06:19 | 2017-03-18T10:30:06 | C++ | UTF-8 | C++ | false | false | 934 | h | #ifndef CNCLCDPOSITIONPANEL_H
#define CNCLCDPOSITIONPANEL_H
#include "wxCode/lcdwindow.h"
#include "wxCrafterLCDPanel.h"
class CncLCDPositionPanel : public CncLCDPositionPanelBase {
private:
enum PosType { PT_PHYSICAL = 0, PT_LOGICAL = 1 };
PosType posType;
wxLCDWindow* lcdF;
wxLCDWindow* lcdS;
w... | [
"stefan.hoelzer@fplusp.de"
] | stefan.hoelzer@fplusp.de |
3d4be2ff06ed794c414ddd64f9f8c8c311bd2d49 | c98bb32dca152d022f81b3aa1202e34954933501 | /taggressive.cpp | 357e85b1adc4d36f91af8f7fae0bb086383a561e | [] | no_license | keksi/tAggressive | 594b77730e8cea189a3a80db28c4d3a31a573ee7 | c631aff6c1f27b40ecc8a54c6b846e52b9158143 | refs/heads/master | 2016-09-06T02:31:17.869255 | 2011-04-11T19:21:30 | 2011-04-11T19:21:30 | 1,588,502 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,794 | cpp | // Qt/
#include <QtCore/QDir>
#include <QtCore/QDebug>
#include <QtGui/QTableWidget>
#include <QtGui/QFileSystemModel>
#include <QtGui/QSortFilterProxyModel>
// taggressive/
#include "taggressive.h"
#include "ui_taggressive.h"
// taglib/
#include "tag.h"
//--[ defines ]-------------------------------------... | [
"hense.stefan@googlemail.com"
] | hense.stefan@googlemail.com |
6b95a694a917c05ea6a6ac89b7dbfff83f325c4e | 31e3b479cb186199bf99dfe33504be6462583a83 | /src/fix_con_eval.cpp | 5b2af02e92a1b5e52b5515bda0d0aea7ab8150ca | [] | no_license | bradbell/cppad_mixed | decf2a30045bf07e4aa2733f9ec0adfc0a3badba | 134126527cbf8f9bfe9125ff9cc645cd3425f29e | refs/heads/master | 2023-02-05T07:17:26.296928 | 2023-01-12T13:58:00 | 2023-01-12T13:58:00 | 47,637,452 | 10 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,058 | cpp | // SPDX-License-Identifier: AGPL-3.0-or-later
// SPDX-FileCopyrightText: University of Washington <https://www.washington.edu>
// SPDX-FileContributor: 2014-22 Bradley M. Bell
// ----------------------------------------------------------------------------
# include <cppad/mixed/cppad_mixed.hpp>
# include <cppad/mixed/e... | [
"bradbell@seanet.com"
] | bradbell@seanet.com |
59ff21452fa54342478578782735cfe04cafc550 | 18d3c8457e0213885142a90c7d2d8dca5271a552 | /src/joysticker/cpu/simulated_actions/simulate_nothing.h | 48afac44a11227a040a0f202b9d82e43d8cd2489 | [] | no_license | higgipoker/senseless_soccer | c1fdcb8085657f4328d88bcd65d631993ff3e306 | 5dc76437cb104a4408fa4d34d8b8713779b81618 | refs/heads/master | 2021-07-07T00:14:09.993103 | 2019-05-27T19:13:05 | 2019-05-27T19:13:05 | 98,160,594 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 247 | h | #pragma once
#include "simulated_sequence.h"
namespace SenselessSoccer {
class SimulateNothing : public SimulatedSequence {
public:
/**
* @brief constructor
*/
SimulateNothing();
protected:
};
} // namespace SenselessSoccer
| [
"paul.samuel.higgins@gmail.com"
] | paul.samuel.higgins@gmail.com |
494c230cde2a54c745aa617937aff782f3a014f4 | 4296e51c67eb12c83bd01c9eb93d1cd1fd1852ef | /export/windows/obj/src/lime/graphics/opengl/ext/OES_texture_float_linear.cpp | 5ccdd6a91d218c3b8673bca6939fe06b2fdbc79d | [] | no_license | Jmacklin308/HaxeFlixel_DungeonCrawler | de23d7e86deb2fa3c2f135e6cc664b68bd1c8515 | e5b7cdf540913a8c2e9e1fdc4780831a9b823856 | refs/heads/main | 2023-06-26T14:33:12.532371 | 2021-07-18T04:03:18 | 2021-07-18T04:03:18 | 386,560,939 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | true | 2,616 | cpp | // Generated by Haxe 4.2.1+bf9ff69
#include <hxcpp.h>
#ifndef INCLUDED_lime_graphics_opengl_ext_OES_texture_float_linear
#include <lime/graphics/opengl/ext/OES_texture_float_linear.h>
#endif
HX_DEFINE_STACK_FRAME(_hx_pos_4b57b99d34ba052b_6_new,"lime.graphics.opengl.ext.OES_texture_float_linear","new",0x47cfd862,"lime... | [
"jmacklin308@gmail.com"
] | jmacklin308@gmail.com |
4da5c0c8d25e7f9761a0029f3e4744fc2b26d10a | a7764174fb0351ea666faa9f3b5dfe304390a011 | /inc/Handle_V3d_Light.hxx | 966665ea6c94dc8400b9e2c04d44d5cf32a572fd | [] | no_license | uel-dataexchange/Opencascade_uel | f7123943e9d8124f4fa67579e3cd3f85cfe52d91 | 06ec93d238d3e3ea2881ff44ba8c21cf870435cd | refs/heads/master | 2022-11-16T07:40:30.837854 | 2020-07-08T01:56:37 | 2020-07-08T01:56:37 | 276,290,778 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 757 | hxx | // This file is generated by WOK (CPPExt).
// Please do not edit this file; modify original file instead.
// The copyright and license terms as defined for the original file apply to
// this header file considered to be the "object code" form of the original source.
#ifndef _Handle_V3d_Light_HeaderFile
#define ... | [
"shoka.sho2@excel.co.jp"
] | shoka.sho2@excel.co.jp |
1d22309f3184f58df4c762184669bc815b5095ad | 8dea3eefcea0dc83bd8db9d3d0a307b1861abfb8 | /src/qt/splashscreen.cpp | ff298aef40173fbc7fb48fa139526eb7e378b534 | [
"MIT"
] | permissive | QMQcoin/qmq-source | 7b2799fc7c8076b934f775180088634fadb23610 | 7e172c5b991622f149778e914c111452ca02acaf | refs/heads/master | 2021-01-17T05:30:34.134203 | 2016-07-14T17:19:54 | 2016-07-14T17:19:54 | 63,355,906 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,042 | cpp | // Copyright (c) 2011-2013 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 "splashscreen.h"
#include "clientversion.h"
#include "util.h"
#include <QPainter>
#undef loop /* ugh, remove this wh... | [
"cass6060@gmail.com"
] | cass6060@gmail.com |
122fdfb8c8a633f92ce803e514ebcc9133fb8f72 | 777a75e6ed0934c193aece9de4421f8d8db01aac | /src/Providers/UNIXProviders/IndicatorLED/UNIX_IndicatorLED_ZOS.hxx | e820bd75489d1c7108abb70c92fc6a1f8b4b8cc5 | [
"MIT"
] | permissive | brunolauze/openpegasus-providers-old | 20fc13958016e35dc4d87f93d1999db0eae9010a | b00f1aad575bae144b8538bf57ba5fd5582a4ec7 | refs/heads/master | 2021-01-01T20:05:44.559362 | 2014-04-30T17:50:06 | 2014-04-30T17:50:06 | 19,132,738 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 118 | hxx | #ifdef PEGASUS_OS_ZOS
#ifndef __UNIX_INDICATORLED_PRIVATE_H
#define __UNIX_INDICATORLED_PRIVATE_H
#endif
#endif
| [
"brunolauze@msn.com"
] | brunolauze@msn.com |
82eaef5419ac99db0942325df98b5581420fe9f5 | c395922a2ad82e8fa21962ef1f66bf3438545bb3 | /Source/Reflection/TypeDescriptors/GuiReflectionPlugin.h | 578e972ddfd7eea0737033e77050a8aef8757771 | [] | no_license | kth8384/GacUI | 5fff77f2032fad88e9901296fa706f315580ceab | 495b35ef163455e95adbfb2ff58b43536e5ec90f | refs/heads/master | 2021-09-06T21:00:23.530632 | 2018-02-11T10:09:51 | 2018-02-11T10:09:51 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 39,926 | h | /***********************************************************************
Vczh Library++ 3.0
Developer: Zihan Chen(vczh)
GacUI Reflection: Basic
Interfaces:
***********************************************************************/
#ifdef VCZH_DEBUG_NO_REFLECTION
static_assert(false, "Don't use GacUIReflection.(h|cpp) i... | [
"vczh@163.com"
] | vczh@163.com |
b674a5fc370fabc514c0e96758ee8e04faeee18f | 29b05376289c8a4fd3ec7e3dd2b58f4c81ba3751 | /uv4l2/utils/safe_queue.cpp | 8bef158cb910822c9a809380d31c1194f26d0634 | [] | no_license | punitsoni/scratch | 30fbc01cbfb2e346c08549433d764e15428ba8b9 | 91cb0a01c09e752e4c3806d5030a4a5b3475c0d0 | refs/heads/master | 2022-07-08T12:14:56.537562 | 2020-09-02T07:18:32 | 2020-09-02T07:18:32 | 43,860,285 | 0 | 0 | null | 2022-06-22T02:40:26 | 2015-10-08T03:30:44 | JavaScript | UTF-8 | C++ | false | false | 348 | cpp | #include "safe_queue.h"
using namespace std;
void SafeQueue::push(const T& value)
{
{
unique_lock<mutex> lock(_mutex);
_q.push(val);
}
}
T SafeQueue::pop()
{
unique_lock<mutex> lock(_mutex);
T value(move(_q->front()));
_q.pop();
return val;
}
int size()
{... | [
"punits@qti.qualcomm.com"
] | punits@qti.qualcomm.com |
229dc0d625e89aec8d9502a4cf8dc352f575020e | fe1ca47c8095776eabc1d43f784e6139308b4451 | /src/cudafeat/online-ivector-feature-cuda-kernels.h | 5dfe4030e70e6fbaa0dd8ef9305c3b8e240d4750 | [
"Apache-2.0",
"LicenseRef-scancode-public-domain"
] | permissive | hhadian/kaldi | 8d281c6d536fba9e9b13b7f25ef697b4013b26d8 | 054af6bda820a96dd8d026d144a5263314f31dd3 | refs/heads/master | 2022-02-27T01:41:23.517680 | 2021-12-18T16:23:52 | 2021-12-18T16:23:52 | 44,244,555 | 13 | 4 | NOASSERTION | 2018-11-16T19:51:57 | 2015-10-14T11:55:09 | Shell | UTF-8 | C++ | false | false | 1,829 | h | // cudafeat/online-ivector-feature-cuda-kernels.h
//
// Copyright (c) 2019, NVIDIA CORPORATION. All rights reserved.
// Justin Luitjens
//
// 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
//... | [
"dpovey@gmail.com"
] | dpovey@gmail.com |
d1ca715fcb2b5f7a86e4823d58d8272d5901ac63 | cedf5cc9d6709be3c52a300ec98d1258e87e838c | /producer/producer.cpp | 46a74625b305be4f52a311ac4737539b6f731d40 | [] | no_license | kodefoundry/kafkacppconnect | 38d9a20933b7504a10f318c1b1f9e0cc3f3f5857 | 06ec7c32d1bf8f022f2a1c15e4f682957bf68059 | refs/heads/main | 2023-05-31T21:29:33.690277 | 2021-07-12T06:22:20 | 2021-07-12T06:22:20 | 385,138,023 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,764 | cpp | /*
* librdkafka - Apache Kafka C library
*
* Copyright (c) 2019, Magnus Edenhill
* 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 abov... | [
"bijunai@cisco.com"
] | bijunai@cisco.com |
567db2044177bfe2251ca28295c761ec2b561955 | e184b413a9e550c4702f3583a4213afaa5debf39 | /src/test/cpp/xcustom.cpp | 28d37874d5d134e9f3b5cc2d4be3fd21e4cb510a | [
"Apache-2.0",
"BSD-2-Clause"
] | permissive | mfkiwl/dana-accelerator-FPGA | afc45850eda6717caa41c72090e546fdaa25a9ef | 85ec500f7dadc1a122505e799ee9998759670455 | refs/heads/master | 2023-03-26T20:00:55.898283 | 2021-03-24T05:51:08 | 2021-03-24T05:51:08 | 188,897,448 | 0 | 0 | NOASSERTION | 2021-03-24T05:51:08 | 2019-05-27T19:18:00 | Scala | UTF-8 | C++ | false | false | 1,079 | cpp | // See LICENSE.IBM for license details.
#include "src/test/cpp/xcustom.h"
XCustom::XCustom(int x, privilegeMode prv) {
if (x < 0 || x > 3)
throw std::domain_error("XCustom x must be on range [0, 3]");
x_ = x;
prv_ = prv;
}
privilegeMode XCustom::ChangePrv(privilegeMode prv) {
privilegeMode prv_old = prv_... | [
"schuyler.eldridge@ibm.com"
] | schuyler.eldridge@ibm.com |
612f975f6a913d5b1f6f4a103a5fb7bf272346f1 | 9a2b052d66b9dec7b7c0ec7e4b06b4aaf18e15eb | /cpp/058_SpiralPrimes.cpp | 32bdb6d38d6b86b9912e5d31e0b6bec5ca547ebf | [] | no_license | RGillett/ProjectEuler | ccd2b6e81d028ded7d36a8e7dfd7e9bb16ff15ab | ea1a52d6a5256d60c41feb69a5de1bd69d380e5d | refs/heads/master | 2020-04-16T19:29:17.353444 | 2020-02-03T22:09:00 | 2020-02-03T22:09:00 | 44,133,519 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 757 | cpp | /******************************************************************************
* Spiral Primes
* Author: Ryan Gillett
******************************************************************************/
#include <iostream>
#include "primes.h"
using namespace std;
/*********************************************************... | [
"RGillett7889@yahoo.com"
] | RGillett7889@yahoo.com |
b47e03486de84072ce58eafb794e10fdb9e32e9c | 5bbe07e90aed3ab8c2b7d6c80d02f48c8b84d73c | /21. Merge Two Sorted Lists.cpp | 55bb69ec4faee511979ea11e3a71ebd801866d71 | [] | no_license | keyken/text | bb2bf9cfa21c95af54b5645dee2e30e44873f4b2 | 00a1399adce0f7aa5756587b9cc5b6edca5372bd | refs/heads/master | 2020-12-18T14:20:52.198565 | 2016-12-19T14:29:09 | 2016-12-19T14:29:09 | 52,420,274 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,069 | cpp | /**
* Definition for singly-linked list.
* struct ListNode {
* int val;
* ListNode *next;
* ListNode(int x) : val(x), next(NULL) {}
* };
*/
class Solution {
public:
ListNode* mergeTwoLists(ListNode* l1, ListNode* l2) {
if(l1==NULL) return l2;
if(l2==NULL) return l1;
List... | [
"593219230@qq.com"
] | 593219230@qq.com |
fa6b955148d11a4123bcc59326c7f2b0f5441e45 | a5a99f646e371b45974a6fb6ccc06b0a674818f2 | /SimG4CMS/Calo/interface/EcalDumpGeometry.h | a6581fbbabb04196fc7988a11f76ee490e0bdf55 | [
"Apache-2.0"
] | permissive | cms-sw/cmssw | 4ecd2c1105d59c66d385551230542c6615b9ab58 | 19c178740257eb48367778593da55dcad08b7a4f | refs/heads/master | 2023-08-23T21:57:42.491143 | 2023-08-22T20:22:40 | 2023-08-22T20:22:40 | 10,969,551 | 1,006 | 3,696 | Apache-2.0 | 2023-09-14T19:14:28 | 2013-06-26T14:09:07 | C++ | UTF-8 | C++ | false | false | 1,324 | h | #ifndef SimG4CMS_Calo_EcalDumpGeometry_H
#define SimG4CMS_Calo_EcalDumpGeometry_H
#include "Geometry/EcalCommonData/interface/EcalBarrelNumberingScheme.h"
#include "Geometry/EcalCommonData/interface/EcalBaseNumber.h"
#include "Geometry/EcalCommonData/interface/EcalEndcapNumberingScheme.h"
#include "Geometry/EcalCommonD... | [
"sunanda.banerjee@cern.ch"
] | sunanda.banerjee@cern.ch |
776cb43d18711c6e429bad29d9080a89e9f1d6e0 | fb5b1b3d2cfd2abeece4fe4b88b5b8a6ee84d503 | /hardware/comedi/dev/ComediSubDeviceAOut.hpp | 116c8a9478401be9f119be8b1e31e04e560c6d5e | [] | no_license | ptroja/orocos-ocl | 95f194e8c4c2efd30f610ae41e5e8f45ecd2d460 | d1a253e26dd8c5a94c78a46697396ca3a8d27f70 | refs/heads/master | 2021-01-17T22:56:10.252695 | 2009-07-22T14:42:33 | 2009-07-22T14:42:33 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,600 | hpp | /***************************************************************************
tag: Peter Soetens Thu Oct 10 16:22:44 CEST 2002 ComediSubDeviceAOut.hpp
ComediSubDeviceAOut.hpp - description
-------------------
begin : Thu October 10 2002
copy... | [
"psoetens@ce417995-dfc9-0310-95a0-acdaff106893"
] | psoetens@ce417995-dfc9-0310-95a0-acdaff106893 |
40fd0ffb7266a7e8b936a1d989876a4cb98fd7d2 | 281d5331545ceead3d36827dcbd7f69c11d96d10 | /Denocat/vendor/glm/glm/ext/matrix_float4x2.hpp | 4d66cdbae3ff01997648deeef8934f8ac29a5388 | [
"MIT",
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-happy-bunny",
"BSD-2-Clause"
] | permissive | vresque/denocat | 5846b2d78dec77d5ccf8a4a4937e789782b0aeea | 852e2b7b82927daa3b2189abb3a3e44c893dc57e | refs/heads/main | 2023-04-05T01:56:44.440561 | 2021-02-11T17:16:34 | 2021-02-11T17:16:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 447 | hpp | /// @ref core
/// @file glm/ext/matrix_float4x2.hpp
#pragma once
#include "../detail/type_mat4x2.hpp"
namespace glm
{
/// @addtogroup core_matrix
/// @{
/// 4 columns of 2 components matrix of single-precision floating-point numbers.
///
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf... | [
"panemlp@gmx.net"
] | panemlp@gmx.net |
48311abf0a4e195037e2108641f81f35d000c4c4 | 9d4426551bbc548f67044287a25f7b3d34f07416 | /src/qt/qrcodedialog.cpp | d7bab1cd6387486355f841cfa507babf7b25da5b | [
"MIT"
] | permissive | honey-coin/honey | 0bbba1ddc11531a4f37c67e961401bf442bb3f9a | 67d1cf3653d44b3bb69bc59d5bfbbf92818be114 | refs/heads/master | 2020-03-10T14:46:12.807039 | 2018-05-26T21:10:50 | 2018-05-26T21:10:50 | 129,434,523 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,341 | cpp | #include "qrcodedialog.h"
#include "ui_qrcodedialog.h"
#include "bitcoinunits.h"
#include "guiconstants.h"
#include "guiutil.h"
#include "optionsmodel.h"
#include <QPixmap>
#if QT_VERSION < 0x050000
#include <QUrl>
#endif
#include <qrencode.h>
QRCodeDialog::QRCodeDialog(const QString &addr, const QString &label, bo... | [
"danjarz1@hotmail.com"
] | danjarz1@hotmail.com |
b7ae1331d5addbd4ec3294c23ff54ca95562fe98 | 08b8cf38e1936e8cec27f84af0d3727321cec9c4 | /data/crawl/make/hunk_1575.cpp | 49edf0a98271447a8711986d82610dffc27f5f70 | [] | no_license | ccdxc/logSurvey | eaf28e9c2d6307140b17986d5c05106d1fd8e943 | 6b80226e1667c1e0760ab39160893ee19b0e9fb1 | refs/heads/master | 2022-01-07T21:31:55.446839 | 2018-04-21T14:12:43 | 2018-04-21T14:12:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 505 | cpp | }
}
- if (p - buf >= 30)
+ if (p - buf > DESCRIPTION_COLUMN - 2)
+ /* The list of option names is too long to fit on the same
+ line with the description, leaving at least two spaces.
+ Print it on its own line instead. */
{
fprintf (stderr, "%s\n", buf);
buf[0] = '... | [
"993273596@qq.com"
] | 993273596@qq.com |
69c1de4d27841d6f7cc34739556f4e7fc85ed476 | 523fb5f69a1b4ddeb38c12974183c8601e7c2168 | /environmental-sensor.ino | eb78fa9aae05c15284481c3aed772530413ca6ba | [
"MIT"
] | permissive | zefrenchtoon/environmental-sensor | df19fea4d89a7067a6c2e4d96fc3a2404e80ebff | ec4afdb5d345175a18a3cb41bcf7ca4d5dd70e3f | refs/heads/master | 2021-06-19T22:14:56.701640 | 2017-07-24T09:34:40 | 2017-07-24T09:34:40 | 98,128,613 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,370 | ino | #include <ESP8266WiFi.h>
#include <WiFiClient.h>
#include <ESP8266WebServer.h>
#include <ESP8266mDNS.h>
#include <Wire.h>
#include <Adafruit_Sensor.h>
#include <Adafruit_BME280.h>
#define SEALEVELPRESSURE_HPA (1013.25)
Adafruit_BME280 bme;
const boolean debug = false;
const uint8_t bme_i2c_address = 0x76;
const... | [
"mercier.antoine@gmail.com"
] | mercier.antoine@gmail.com |
8c8dfec54b9531c5157f357af8c1d8901fd76ad9 | 53a36a2d627219ffd1133d06c06c45f03263820c | /5_Combinatorics/F.cpp | 5d288040207438cc27c469185d1f4ffe39535b2f | [] | no_license | GwonilJoo/Samsung_SDS_Algorithm | cffc493599a27719566505479f4667719a539fe8 | bd9983ddd6861f4ff65b04f1653c2ec2b2418199 | refs/heads/master | 2023-02-28T06:28:08.681556 | 2021-01-29T13:46:49 | 2021-01-29T13:46:49 | 328,688,420 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 262 | cpp | // 5557 1학년
#include<cstdio>
int n, a[100], cnt;
int dp[100][21];
int main(){
scanf("%d", &n);
for(int i=0;i<n;i++){
scanf("%d", &a[i]);
}
dp[1][a[1]] = 1;
for(int i=2;i<=n;i++){
for(int j=0;j<=20;j++){
dp[i][a[j]];
}
}
}
| [
"gwonil3256@gmail.com"
] | gwonil3256@gmail.com |
ef46962b04b38a7b19258fa9050fb6c66e52b904 | 6db9a0904766e3f6c7a156c27f338295aaa87210 | /od-win32/ahidsound_dsonly.cpp | 7eaf1aaa19a9a0f6101e4956b7c684b38ee795c1 | [] | no_license | ismailozenc/WinUAE | b688d0b629ff489256d92ef4780fd3a079c2e4c8 | 7d12bb73fcb6a59e7e66fccd06e5461804af9446 | refs/heads/master | 2022-05-17T17:03:05.568842 | 2022-04-29T16:43:45 | 2022-04-29T16:43:45 | 228,479,667 | 0 | 0 | null | 2019-12-16T21:32:29 | 2019-12-16T21:32:28 | null | UTF-8 | C++ | false | false | 25,388 | cpp | /*
* UAE - The Un*x Amiga Emulator
*
* Win32 interface
*
* Copyright 1997 Mathias Ortmann
* Copyright 1997-2001 Brian King
* Copyright 2000-2002 Bernd Roesch
*/
#define NATIVBUFFNUM 4
#define RECORDBUFFER 50 //survive 9 sec of blocking at 44100
#include "sysconfig.h"
#include "sysdeps.h"
#if defined(AHI)
#include <... | [
"twilen@winuae.net"
] | twilen@winuae.net |
30bb295c85f022521d0241c3036401cb6f240171 | fa29b4d78d5c04dccbe82e2a487280298ea0fe0f | /Implementations/Soldier.cpp | f1b7727e20e6318951738d612deb57db591fc4af | [] | no_license | superbadgames/project_bones | 6f6acc8f5966754c0bcb926296cbd8fff8484a15 | 2e487ff3c48a69efbc36df63c7adf4a1aab347cb | refs/heads/master | 2023-01-21T17:06:22.664572 | 2020-07-06T14:06:43 | 2020-07-06T14:06:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,134 | cpp | #include <Game/Soldier.h>
#include <iostream>
//==========================================================================================================================
//
//Constructors
//
//===================================================================================================================... | [
"maxwell@layer8games.com"
] | maxwell@layer8games.com |
3401d414c9a6fa7b8976bd583b3ffc700ce7e3da | d9f7daa44b2d829f992069642c2334c514d98650 | /min3so.cpp | 4535770b3f26da657ba2152dd19f4398a080dc91 | [] | no_license | siligan8792/t2011eTestGit_LBEP | 0500ec16f146f6ed16d6ae737ccf29063aeb3211 | 5228fe98395bd3386f18f09d8dc0621c748f2234 | refs/heads/master | 2023-02-02T10:32:01.705231 | 2020-12-21T12:26:02 | 2020-12-21T12:26:02 | 315,912,516 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 370 | cpp | #include<stdio.h>
#include<math.h>
int main ()
{
int a,b,c;
printf ("nhap a= ");
scanf ("%d",&a);
printf ("nhap b= ");
scanf ("%d",&b);
printf ("nhap c= ");
scanf ("%d",&c);
if (a>b){
if (b>c){
printf ("Min: %d",c);
}else {
printf ("Min: %d",b);
}
}
else{
if (a>c){
printf ("Min: %d",c);
... | [
"nguyenthang871992@gmail.com"
] | nguyenthang871992@gmail.com |
dc72136557ebff58d3d55ad7caac1207eb4115f2 | 69b0c566c354431ccf49e145b92cabc81bed6b5e | /Math/Quarernion.h | c335c2382003f60958b33e593b8047e23fd13e65 | [] | no_license | Ciubix8513/Vulkan-engine | 18446ffb9b8534908451a8e6bb6f171fd8720898 | 51c77db56b740cad86e1830428b296431bbe26e7 | refs/heads/master | 2023-08-26T14:37:38.205223 | 2021-10-19T23:08:06 | 2021-10-19T23:08:06 | 387,918,837 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 836 | h | #pragma once
#ifndef _QUATERNION_H_
#define _QUATERNION_H_
#include "Vector4.h"
#include <cmath>
namespace EngineMath
{
class Quaternion
{
public:
Quaternion();
~Quaternion();
Quaternion(float x, float y, float z, float w);
Quaternion(Vector4 xyzw);
Quaternion(Vector3 xyz, float w);
Quaternion(Vector2 ... | [
"57328501+Ciubix8513@users.noreply.github.com"
] | 57328501+Ciubix8513@users.noreply.github.com |
1356101d28bca1daff7c18e0c6bb284df351b4fe | ac80d67f362bde62c47e24650f3f153b3c1ca985 | /examples/PRO/Module/4G/Ex_MQTT/Ex_MQTT.ino | ab054bac5076886ed8d701916368515f39c54f07 | [] | no_license | TonySpaceLtd/TonyS | 7a0905f85652cf2acbdec3442c18b9b5886ae238 | 5873820ed80a203fe9d2b8d4bf763e1add4ca77e | refs/heads/master | 2023-04-29T05:13:00.122016 | 2022-08-09T12:03:31 | 2022-08-09T12:03:31 | 198,813,767 | 4 | 5 | null | 2022-08-09T12:18:09 | 2019-07-25T10:53:21 | C | UTF-8 | C++ | false | false | 2,320 | ino | #include "TonyS_X1.h"
#include "TonyS_X1_ExternalModule.h"
#define SERVER "m16.cloudmqtt.com"
#define PORT 18568
#define DeviceID "4GModule"
#define USER "xxxxxxx"
#define PASSWORD "xxxxxxx"
EC25_MQTT mqtt;
unsigned long previousMillis = 0;
const long interval = 2000;
#ifdef __cplusplus
exter... | [
"witsanu.ao@thaieasyelec.com"
] | witsanu.ao@thaieasyelec.com |
d0792a6251ca7072f79c13c42ecd714fdfd3dfd9 | 7f5f745191c0eda556453a787103b9c71f52e9cb | /MaximumCoverage/GreedyMaximumCoverage.h | b8f6feb4603f9792cefa1e420634d4adb5326072 | [] | no_license | suto/Fuzzer | ea9169a659d291d7654e9fd8777b3a253be29bfd | 021d642b93c87cd24711698553cbd7d5d2aae27f | refs/heads/master | 2021-01-23T02:54:06.672270 | 2011-01-27T23:13:54 | 2011-01-27T23:13:54 | 18,321,419 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 557 | h | #ifndef _GreedyMaximumCoverage_h
#define _GreedyMaximumCoverage_h
#include "MaximumCoverage.h"
#include <set>
#include <map>
class GreedyMaximumCoverage : public MaximumCoverage {
public:
void FindMaximumCoverage(std::list<std::string> &filenameList, double cover,
std::list<std::pair<std::string, double> > &result... | [
"silvio.cesare@gmail.com"
] | silvio.cesare@gmail.com |
8e0e886a8af5e92427f6483e90fe8e92e742e087 | ce707ec7d2ad38bb0026914f711a5ae27a3331ae | /include/tfrt/bef_executor/function_util.h | 4b4f360be2484f2470436a9f13da786ce2394e58 | [
"Apache-2.0"
] | permissive | isabella232/runtime | 5cce8238a650c520060293ffa8cd5be864aedd87 | 1f99e08f7c6348f16bfb212bfe605f7d9ca88e22 | refs/heads/master | 2023-03-08T14:08:45.820804 | 2021-01-01T17:23:14 | 2021-01-01T17:25:06 | 326,204,371 | 0 | 0 | Apache-2.0 | 2021-02-24T00:50:33 | 2021-01-02T14:51:33 | null | UTF-8 | C++ | false | false | 7,251 | h | /*
* Copyright 2020 The TensorFlow Runtime Authors
*
* 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 applicab... | [
"copybara-worker@google.com"
] | copybara-worker@google.com |
345b0f95f564b042bf2e4060e4315bd0cb14d9b5 | 8d031bca7874cba7d4211dd5206c9f813e4f6b36 | /Code/WorkspaceB/C++_Files/SPOJ/SHPATH.cpp | 8143d5eb1efcc0cac54a3cafd6d39f0afc0ffc80 | [] | no_license | tushitgarg/algorithmic-programming | 529a3d6679b5e5e8e906f61298630efc583d4ff5 | a5482cca93f79ec8495256fa1a08525e61bfb899 | refs/heads/master | 2021-09-27T12:31:47.378541 | 2018-11-08T13:41:31 | 2018-11-08T13:41:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,666 | cpp | #include <bits/stdc++.h>
using namespace std;
#define readFile freopen("E:/Shreyans/Documents/Coding Workspace/STDINPUT.txt","r",stdin);
#define getPrecision(s,p) fixed<<setprecision(p)<<s
#define boostIO ios_base::sync_with_stdio(0), cin.tie(0)
#define CLR(s) memset(&s, 0, sizeof s)
#define hashset unordered_set... | [
"dev.shreyans96@gmail.com"
] | dev.shreyans96@gmail.com |
d677b5fa133335e7c09f8f7988b0839d117bc798 | 0678b6ba30b91618072e9a20df8541fff5b1a195 | /Libraly/Collision/CollisionCalc/CircleAndRect.h | b5191ed3ad8fb0eb7f98f2aaccde1257a9725006 | [] | no_license | nakamura106/-autumn-production | e0266509efe9fdb616fb04aae65188f4194c37fd | 9bfde2ba74a9b25a20c1973a103fd2ef7820dbbe | refs/heads/master | 2020-09-08T11:49:43.775598 | 2020-02-13T18:53:27 | 2020-02-13T18:53:27 | 221,122,246 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 446 | h | #ifndef CIRCLEANDRECT_H_
#define CIRCLEANDRECT_H_
#include "CollisionBase.h"
class CircleAndRect :public CollisionBase
{
public:
CircleAndRect();
~CircleAndRect()override;
bool CollisionCalc(const ShapeBase& shape1, const ShapeBase& shape2)override;
private:
float m_circle_centerX, m_circle_centerY;
float m_c... | [
"fksoccer1225@icloud.com"
] | fksoccer1225@icloud.com |
7d839927f87709217ca9469ec4fadb2946b3dbcd | 495ff3144057cb4d40aaccc2c95091b58fa7a64a | /src/readForceGlove/arduinoScripts/forceGloveADC/forceGloveADC.ino | 0e46146f50c910367ea06abf24a18a2d388e8083 | [] | no_license | jguggenh/forceGlove | 67a9d27323aeb85b52f1051db9711742d6fd458c | 1485a8096c79c73d121e68740a04dd8d26b37366 | refs/heads/master | 2020-05-01T13:36:08.250217 | 2019-03-25T01:55:28 | 2019-03-25T01:55:28 | 177,496,045 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,513 | ino | #include <ros.h>
#include <ArduinoHardware.h>
#include <std_msgs/Int16.h>
#include <std_msgs/Int16MultiArray.h>
#include <Wire.h>
// ros stuff
ros::NodeHandle forceGloveADC;
std_msgs::Int16MultiArray forceGloveSignal;
ros::Publisher forceGlovePub("forceGlovePub", &forceGloveSignal);
// sampe rate ros
//std_msgs::... | [
"jguggenh@mit.edu"
] | jguggenh@mit.edu |
0a901bf6771a801514f67f3b8e924a2f6f080803 | faaf347930949a6e6b0d7abc5f54bdbc84a02083 | /Diccionarios y aplicaciones de TADs/Faltas/faltas.h | ab350bbe17bb911966d2dc7b2c2d9b4e8011e4c8 | [] | no_license | gonzamol/EDA | e79e77d2523d1868ce54c7223e3ce4f8956ab92a | 7a67e781b51d6a82dd8afcc94d8e94fb8814e308 | refs/heads/master | 2021-01-20T13:18:26.563559 | 2018-05-23T19:07:27 | 2018-05-23T19:07:27 | 90,472,884 | 0 | 1 | null | null | null | null | ISO-8859-10 | C++ | false | false | 3,061 | h | #ifndef FALTAS_H
#define FALTAS_H
#include <iostream>
#include "HashMap.h"
#include "TreeMap.h"
#include "List.h"
using namespace std;
typedef string IdAsig;
typedef string IdAlumno;
typedef int numFaltas;
class faltas {
private:
typedef struct {
HashMap<IdAlumno, numFaltas> tablaAlumnos;
numFaltas num;
} Inf... | [
"gonzalo14molina@gmail.com"
] | gonzalo14molina@gmail.com |
e2570920c63babe6ee441bb1599332138eaa0de6 | ec00df8410c9c8894f5127a4019be28c3c732542 | /LightChaserAnim/katana_source_code/plugin_apis/include/pystring/ns.h | c1c44d8d807183fcacf2e882e27371ee28e95de8 | [] | no_license | tws0002/aWorkingSource | 580964ef39a7e5106d75136cfcd23814deecf0fd | 188c081d261c11faa11766be41def34b7e01ee5e | refs/heads/master | 2021-05-11T18:23:19.427869 | 2018-01-03T03:17:57 | 2018-01-03T03:17:57 | 117,823,716 | 1 | 0 | null | 2018-01-17T10:51:59 | 2018-01-17T10:51:59 | null | UTF-8 | C++ | false | false | 834 | h | #ifndef pystring_ns_h
#define pystring_ns_h
#define GEOLIB3_PYSTRING_NAMESPACE_TOKEN pystring_v1
#ifdef FNGEOLIB_INTERNAL_NAMESPACE
#include "ns_internal.h"
#else
// Macros used through the code to define API namespaces
#define GEOLIB3_PYSTRING_NAMESPACE_ENTER namespace Foundry { \
namespace Katana { \
names... | [
"iceprincefounder@qq.com"
] | iceprincefounder@qq.com |
656f9805308e2ca9d857564641e5a559675f6ffe | 720fb45ebe452542b69c900ce60567e28d01cb8c | /lec_002/Socket.cpp | e1795f461c957b677c082c71c758e68437cd723a | [
"MIT"
] | permissive | uniondirfolder/NetwPro | d8bcbabc9e01dd2ecb30d89dbce8ca08e47f6750 | de5b3a55a916f6db83c04fa26cd6bea8d5e1867d | refs/heads/main | 2022-12-30T15:34:14.244468 | 2020-10-17T23:05:07 | 2020-10-17T23:05:07 | 300,677,929 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,000 | cpp | //Socket.cpp:
#include "Socket.h"
Socket::Socket()
{
// якщо ініціалізація сокетів пройшла неуспішно,
// виводимо повідомлення про помилку
if (WSAStartup(MAKEWORD(2, 2), &wsaData) != NO_ERROR)
{
cout << "WSAStartup error \n";
system("pause");
WSACleanup();
exit(10);
}
// створюємо потоковий сокет, прото... | [
"uniondirfolder@gmail.com"
] | uniondirfolder@gmail.com |
c84411c8598d5b53339d6378e9ddcb70627d7fa4 | 5a8fafefd7712b3730b27c5907ca8f54b567e328 | /neb/inc/com/centreon/broker/neb/callbacks.hh | 7648edf1ad24763df2d2b070cbb39d2af22f9259 | [
"Apache-2.0"
] | permissive | joe4568/centreon-broker | 672d831389c17f92f09948704437c4bc9026998d | daf454371520989573c810be1f6dfca40979a75d | refs/heads/master | 2020-04-13T05:11:03.126655 | 2018-12-24T14:53:34 | 2018-12-24T14:53:34 | 162,984,149 | 0 | 0 | Apache-2.0 | 2018-12-24T11:33:05 | 2018-12-24T11:33:04 | null | UTF-8 | C++ | false | false | 2,252 | hh | /*
** Copyright 2009-2013,2015 Centreon
**
** Licensed under the Apache License, Version 2.0 (the "License");
** you may not use this file except in compliance with the License.
** You may obtain a copy of the License at
**
** http://www.apache.org/licenses/LICENSE-2.0
**
** Unless required by applicable law or agr... | [
"mkermagoret@merethis.com"
] | mkermagoret@merethis.com |
3ba48e48671e0722599bc1935dfb2332f74e3296 | cf86574f8dc83ac340b9f7816fb55c1583c3b5c8 | /ios/Pods/Folly/folly/detail/PolyDetail.h | 1452ab5127210b83f1e98ba88cd387fe78efe7f3 | [
"Apache-2.0"
] | permissive | juxtin/yarnu | 94b9f6068ebf3dd46b02173eb2cb9b394a06c969 | a3c3748a6738283644f252f87244880ca430c2f4 | refs/heads/master | 2022-12-30T07:17:56.708695 | 2020-09-28T19:29:02 | 2020-09-28T19:29:02 | 299,406,578 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 29,736 | h | /*
* Copyright 2017-present Facebook, Inc.
*
* 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... | [
"juxtin@github.com"
] | juxtin@github.com |
ebcc6358f521e739ca64a9854cd324ad4991f1dc | 7c41632828e0b172fb12d3eb4209dd73e7a4e0a6 | /lyskilder.X/EEPROM.inc | c661fc349df3b8f27582acf91ec2b482498c787c | [] | no_license | zlepper/lightcontroller | dbd4e1f328f89d024d0c524106e223f296b58268 | 0eb9ce56ea150679eb3edbb977f8e05f9fcee903 | refs/heads/master | 2021-01-21T12:58:06.392859 | 2016-05-12T11:08:34 | 2016-05-12T11:08:34 | 52,793,119 | 0 | 0 | null | null | null | null | ISO-8859-15 | C++ | false | false | 6,691 | inc | ;**** FIL OPLYSNINGER ******************************************************************
; Fil: EEPROM.inc
; Dato: 16.04.2016
; forfatter: Mathias Bejlegaard Madsen & Rasmus Hjelmberg Duemose Hansen
; ****** BESKRIVELSE **********************************************************************
; beskrivelse:
; Den... | [
"mathiasbejlegaard@hotmail.com"
] | mathiasbejlegaard@hotmail.com |
ed9fdafbaa89c56d78d1d502cae0f79c521311bb | c6ecad18dd41ea69c22baf78dfeb95cf9ba547d0 | /src/boost_1_42_0/libs/config/test/no_0x_hdr_concepts_pass.cpp | 1839f909d33ee40147d843cc6a54004dbdde7572 | [
"BSL-1.0"
] | permissive | neuschaefer/qnap-gpl | b1418d504ebe17d7a31a504d315edac309430fcf | 7bb76f6cfe7abef08777451a75924f667cca335b | refs/heads/master | 2022-08-16T17:47:37.015870 | 2020-05-24T18:56:05 | 2020-05-24T18:56:05 | 266,605,194 | 3 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,114 | cpp | // This file was automatically generated on Fri May 15 11:57:42 2009
// by libs/config/tools/generate.cpp
// Copyright John Maddock 2002-4.
// Use, modification and distribution are subject to the
// Boost Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/L... | [
"j.neuschaefer@gmx.net"
] | j.neuschaefer@gmx.net |
48b7905d43c6c3da4090be2b78dda1863cbc899b | 6b17724dcfe82d0efeac1b27fa3e674759407ad0 | /include/view/pkmnboxview.h | eeefb1bb48338a78c40dedfe7669a1c95b569c1b | [
"MIT"
] | permissive | lohathe/pkmnHacking | 870eef10a5ae0bf7ef0a0c632bc51a68d3c78fe6 | 00814c2f67d8244addcafa6d8ed034c34b4aaea3 | refs/heads/master | 2016-09-14T10:59:33.841117 | 2016-05-27T16:02:24 | 2016-05-27T16:02:24 | 59,786,361 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 928 | h | #ifndef PKMN_BOX_VIEW
#define PKMN_BOX_VIEW
#include <QWidget>
#include <string>
using std::string;
#include "pkmninfoview.h"
#include "pkmnspeciespickerview.h"
#include "pkmnmovepickerview.h"
#include "pkmnlistview.h"
class PkmnSaveStateModel;
class PkmnBoxView : public QWidget {
Q_OBJECT
public:
PkmnBoxVi... | [
"lohathe@gmail.com"
] | lohathe@gmail.com |
31283a7eb4a4b2149211cb2dd351e7ee2e7f84b5 | 785f542387f302225a8a95af820eaccb50d39467 | /Topcoder/SquaresInsideLattice.cpp | 187fb1780756687d2db43e93d4de26f2acc6c4a3 | [] | no_license | anveshi/Competitive-Programming | ce33b3f0356beda80b50fee48b0c7b0f42c44b0c | 9a719ea3a631320dfa84c60300f45e370694b378 | refs/heads/master | 2016-08-12T04:27:13.078738 | 2015-01-19T17:30:00 | 2016-03-08T17:44:36 | 51,570,689 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,744 | cpp | #include <vector>
#include <list>
#include <map>
#include <set>
#include <queue>
#include <deque>
#include <stack>
#include <bitset>
#include <algorithm>
#include <functional>
#include <numeric>
#include <utility>
#include <sstream>
#include <iostream>
#include <iomanip>
#include <cstdio>
#include <cmath>
#include <cst... | [
"anveshishukla@gmail.com"
] | anveshishukla@gmail.com |
6557844e5f52dd92902fc8b71a040ec2fdf21dd5 | 0f584f812bc606009163a2739a3698f0deaf9757 | /лаб7/task7.cpp | b73f8c5044b012762937d98144acc85bd3661327 | [] | no_license | manicall/- | 17fd89fcbb355466595fd4856f4bb724769e5272 | 4d99afe4afdba0fb77fd174e90e2968161f3db6b | refs/heads/main | 2023-04-26T07:29:52.494234 | 2021-05-14T15:26:47 | 2021-05-14T15:26:47 | 195,047,679 | 0 | 0 | null | null | null | null | WINDOWS-1251 | C++ | false | false | 2,702 | cpp | #include <string>
#include "List.h"
#include <list>
enum {ADD = 1, ERASE, PRINT, READ, CLEAR, EXIT};
int menu();
template<class Data>
void read(List<Data>& List);
template<class Data>
void add(List<Data>& );
template<class Data>
void erase(List<Data>&);
template<class Data>
void print(List<Data>& const);
int main()
{... | [
"makskms@gmail.com"
] | makskms@gmail.com |
8393308dc95e8c1496bf7ae5e3e8cc1154d9d4fd | ea3f27b607f017e6a975ddfa63c9d1eaa649c7ea | /CodeForce/1422/C.cpp | 7e78da53fef2cb1da6225651428a78d772e299e8 | [] | no_license | Igorjan94/CF | fbbda0037a866ebab33efe2db49b67302e420c37 | 816648a3a8e310e790e43b9c62a56ae6cc273844 | refs/heads/master | 2023-08-08T19:13:14.785199 | 2023-08-08T18:44:22 | 2023-08-08T18:44:22 | 19,123,715 | 0 | 0 | null | 2021-01-09T02:10:45 | 2014-04-24T20:52:42 | C++ | UTF-8 | C++ | false | false | 4,844 | cpp | // Igorjan94, template version from 13 October 2017. C++17 version, modified 18 march 2020 (writeln<tuple>, whole->all) {{{
#include <bits/stdc++.h>
using namespace std;
#define FOR(i, m, n) for (int i = m; i < (int) (n); ++i)
#define ROF(i, m, n) for (int i = m; i >= (int) (n); --i)
#define forn(i, n) for (int i ... | [
"igorjan94@mail.ru"
] | igorjan94@mail.ru |
c0aaca0c19f66e7b7b156ff0fdc29d108aab1394 | c7e08c0c3fda3f49d280ecf37ead3e54ea7db6d7 | /simd.h | 91bb243334337dc43e5b6ed5ae6f080aaa13a7b8 | [
"Apache-2.0"
] | permissive | pombredanne/dimsum | fa9172cc647826ed3e4ad2e22bb23b1b4ba47152 | bf720581624f02eba0a9469d3fd2b7471fa85ba9 | refs/heads/master | 2021-07-24T04:14:00.983332 | 2017-11-03T03:56:43 | 2017-11-03T03:56:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 36,908 | h | /*
* Copyright 2017 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... | [
"timshen@google.com"
] | timshen@google.com |
26d88ae7ac9eb525da9dc327d60a4afc28721316 | 4a5957a7bf94b78515758c6876db097f93953fb6 | /LearnCG/src/common/texture.cpp | a47da64d11c0cac8c8a82efb91c9d72665c5c2e8 | [] | no_license | LeChenHz/LearnCG | 0cbeada72a58616fb7fd107fa0cd1ac2014d8128 | 895f7e56962c32c05a293b05b9514bf5e73155d9 | refs/heads/master | 2022-01-27T05:15:52.964409 | 2022-01-25T02:58:40 | 2022-01-25T02:58:40 | 176,194,098 | 0 | 1 | null | 2019-03-18T02:58:11 | 2019-03-18T02:58:10 | null | UTF-8 | C++ | false | false | 1,014 | cpp | #include "texture.h"
GLuint loadTexture(const char * path)
{
unsigned int textureID;
glGenTextures(1, &textureID);
int width, height, nrComponents;
unsigned char *data = stbi_load(path, &width, &height, &nrComponents, 0);
if (data)
{
GLenum format;
if (nrComponents == 1)
format = GL_RED;
else if (nrCom... | [
"2621996061@qq.com"
] | 2621996061@qq.com |
0fc25ed37b834d2f495b14112eefc202272d9bb3 | 70ead1250760cef3f2bf6daf7cdab166dc8b365b | /Image.h | e104700feba90ad4b0aff8aa3382a0a9d3c318b0 | [] | no_license | abdmert97/RayTracer | 87582486b29cf145f24e1b1080119ac2787f7927 | 91ee9b274cf4bfef9b75ec47cbe61023feabb288 | refs/heads/master | 2022-11-11T01:48:51.672260 | 2020-06-29T11:06:13 | 2020-06-29T11:06:13 | 253,228,926 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,385 | h | #ifndef _IMAGE_H_
#define _IMAGE_H_
#include <cstdio>
#include <cstdlib>
#include "glm/vec3.hpp"
//
// Access the color using either individual component names
// or the channel array.
//
typedef union Color
{
struct
{
unsigned int red;
unsigned int grn;
unsigned int blu;
};
Colo... | [
"e2171981@ceng.metu.edu.tr"
] | e2171981@ceng.metu.edu.tr |
107abe7b85632ded5baa517156f56558cf77c99b | a758b43d30850a1b4a6aa178bdf7831aa113f741 | /include/udpdrop/config/os/win32_os.hpp | 88cb29405a9242ea3b8694d3d0c8c7b7179e1a5d | [] | no_license | xbigo/udpdrop | f720fdc1965da3fa745b82df6593dea430a7b56e | b857ef08f0e3ba593905de094a07c6f3d81e3cc4 | refs/heads/master | 2020-05-19T10:18:46.120778 | 2019-10-23T06:35:24 | 2019-10-23T06:35:24 | 184,968,669 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 104 | hpp | #ifndef NOMINMAX
#define NOMINMAX
#endif
#ifndef WIN32_LEAN_AND_MEAN
#define WIN32_LEAN_AND_MEAN
#endif | [
"Jackson.sun@autodesk.com"
] | Jackson.sun@autodesk.com |
cd60f65e47287e1c3ca415f52a21b5b7bcc2a844 | 81069d54c9cb3a1b2654cf5eed91ca71fc5ce874 | /Leetcode-2021-Year/Day15_09212020-BM/single-number-III.cpp | 46320cbbed2b45bab2366e8e2f172731180d478a | [] | no_license | RajeevSawant/leetCode | d7c9ca0fb9d3294c89eb7662134ac7376cd32608 | e0ac30965d4a7cc2ee44d539d3113c59c2be85d2 | refs/heads/master | 2023-08-18T17:02:44.358479 | 2023-08-18T05:30:25 | 2023-08-18T05:30:25 | 123,543,492 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,247 | cpp | #include <iostream>
#include <vector>
using namespace std;
vector<int> singleNumber(vector<int>& nums)
{
vector<int> result;
int num1 = 0, num2 = 0;
// save the 1st element in XorVal
int XorVal = nums.front();
// get the one number which helps to distinguish A... | [
"sawantrajeevv@gmail.com"
] | sawantrajeevv@gmail.com |
ac724047106f92852314238b8a5b732f36eb5bbf | 51b8c886fcd5847b090211151adbf5011e4a13af | /PAT (Advanced Level) Practice/1016_Phone_Bills/1016_Phone_Bills/1016_Phone_Bills.cpp | ee6df914d7a57270eed0403d69a7af4b61b4b448 | [] | no_license | wangber/OurCTF | f0ce06e104645a28f61854bab2567f7c1516a8a5 | 2ac994a7a64e4d4c167983c7466976a31eb7f6ab | refs/heads/master | 2022-11-10T08:24:16.911808 | 2020-06-26T05:40:12 | 2020-06-26T05:40:12 | 197,933,076 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,642 | cpp | // 1016_Phone_Bills.cpp : 此文件包含 "main" 函数。程序执行将在此处开始并结束。
//
#include "pch.h"
#include <iostream>
#include <string>
#include <vector>
#include <algorithm>
#include <set>
using namespace std;
int toll[24];
struct Record {
string mon;
string name;
string time;
bool on;
};
bool cmp(const Record &a, const Record &... | [
"1124026683@qq.com"
] | 1124026683@qq.com |
1f097d95ba256ea91eafbbee5e82b6fec75fed95 | 084c3fd59ae20cc9f4ee77f839b8b4c4f920266d | /TOKI/contest/open contest/2017/May/A.cpp | a3284195d0b4c270a12cf92a2dfd74b61512311c | [] | no_license | dawidjaja/competitive-programming | 24d06c73d6ddbc931f1a2fe1bc2766f4e401bbf4 | a8c52ad8bfe8ac6908b3666abc3026da7ea8f27d | refs/heads/master | 2021-06-17T20:22:21.309523 | 2021-03-17T09:19:45 | 2021-03-17T09:19:45 | 149,089,446 | 0 | 0 | null | 2019-10-14T15:26:49 | 2018-09-17T07:57:52 | C++ | UTF-8 | C++ | false | false | 687 | cpp | #include <algorithm>
#include <cstdio>
#include <cstring>
using namespace std;
char kata[105];
int temp, a, k, list[105];
int main() {
scanf("%s", kata);
temp = 0;
for(int i = 0; i < strlen(kata); i++) {
if(kata[i] == '_') {
temp++;
}
}
for(int i = 0; i < temp; i++) {
list[i] = 0;
}... | [
"dalfred2000@gmail.com"
] | dalfred2000@gmail.com |
b10e03e7c6e67bd45762470d5e3e57d4bf26800d | fb1f00cca968504888094bfdb3fb109dbe6d262b | /DMBlock/DMBlock/DMBlock3.cpp | 322c1e3745c586b7f923b0c660e97d6ab23809a0 | [
"MIT"
] | permissive | leoliuyt/DMBlock | 7c0f14407c31dbcee204bf15de5c10892b252b0b | 2b038316dc4df240a45ab9a8397da67ad04e9810 | refs/heads/master | 2020-03-18T04:08:23.892979 | 2018-06-05T15:12:13 | 2018-06-05T15:12:13 | 134,271,650 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,499,172 | cpp | #ifndef __OBJC2__
#define __OBJC2__
#endif
struct objc_selector; struct objc_class;
struct __rw_objc_super {
struct objc_object *object;
struct objc_object *superClass;
__rw_objc_super(struct objc_object *o, struct objc_object *s) : object(o), superClass(s) {}
};
#ifndef _REWRITER_typedef_Protocol
typedef struct... | [
"leoliuyt@sina.cn"
] | leoliuyt@sina.cn |
9a38351576a1ed4df508ab02f6dd960a388f70a3 | ce8bd73a9cda2d65d0610f2442847bf4ee647da5 | /src/com/typesafe/config/impl/ConfigInt.cpp | 599c64f1ab3d5225f705d579d4a8661aa2959aae | [] | no_license | cprice404/j2c-ts-config | 5fec505bd0a9d3b7c968e5d60e7f66db323d9cc4 | 4fe6cc64c7035b92251ef645cace6898344551de | refs/heads/master | 2020-12-24T13:29:05.975373 | 2015-07-08T06:00:04 | 2015-07-08T06:00:04 | 38,735,023 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,471 | cpp | // Generated from /config/src/main/java/com/typesafe/config/impl/ConfigInt.java
#include <com/typesafe/config/impl/ConfigInt.hpp>
#include <com/typesafe/config/ConfigValue.hpp>
#include <com/typesafe/config/ConfigValueType.hpp>
#include <com/typesafe/config/impl/SerializedConfigValue.hpp>
#include <java/lang/Integer.h... | [
"chris@puppetlabs.com"
] | chris@puppetlabs.com |
b4f3c1654a89fa14ad09857cb59550725a04936c | 461b69e513b8b248686d3f4f046ae6ad12b10880 | /x360dynarec_codepages/x360dynarec_codepages.cpp | e530334c834ed1c71fb2d5a42f1bc1bc677c6912 | [] | no_license | nateleroux/x360dynarec | 57e2045a2e87db58b2c9d87449386bc9555b4cc0 | 2132b3ea9a76a18eff772c661e7c8975ddc006df | refs/heads/master | 2016-09-01T19:39:44.459680 | 2013-06-29T22:38:24 | 2013-06-29T22:38:24 | 11,055,133 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 696 | cpp |
#define CODE_PAGE_SIZE ( 8 * 1024 * 1024 ) // 8 MB
// Define an executable section we can assign data to
#pragma section( ".dynarec", execute )
// Our code page(s), includes a simple 'return 0x1234;' program for fun
extern "C" __declspec(allocate(".dynarec")) const unsigned char CodePages[CODE_PAGE_SIZE] = {
... | [
"nateleroux@gmail.com"
] | nateleroux@gmail.com |
29d82d2f993966ad19eca41039a246310ffed63e | 5c4125f94545947eed212af3321eab9bcd4cd0d8 | /source/level.cpp | 93ec581a3a70e8396e0ebb7f60524666aeef5e0a | [] | no_license | korkesh/2D-Platformer | a89a52d8cf2c5660935764749ea4b6ba769d107a | 465b5804f189a5a96185cd6f524a4ce9b717fdbd | refs/heads/master | 2016-09-05T17:53:32.818787 | 2015-05-08T19:00:06 | 2015-05-08T19:00:06 | 24,239,457 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,093 | cpp | //
// level.cpp
// opengl-series
//
// Created by Matthew Correia on 2014-09-23.
//
//
#include "level.h"
void readstr(FILE *f, char *string)
{
do
{
fgets(string, 255, f);
} while (((string[0] == '*') && (string[1] == '*')) || (string[0] == '\n') || (string[0] == '\r'));
return;
}
Level::Level(float x,... | [
"Korkesh@Matthew-Correias-MacBook-Pro.local"
] | Korkesh@Matthew-Correias-MacBook-Pro.local |
57da6f7898964f229172102ad1b75b49253aae1a | 96148bf17555c028f5650d51f496f349c89e8c79 | /devel/include/cob_footprint_observer/GetFootprintResponse.h | d086ade46453732e3f114e67a5ac3b5f88d62305 | [] | no_license | kerekare/ros_hydra_libphidgetsupdated | 239daed94a95f60743c5659f1102183641761240 | e05e58417fb03a14d627bc80d09af3b2a0fcceab | refs/heads/master | 2016-09-05T23:35:43.792883 | 2014-03-25T16:32:01 | 2014-03-25T16:32:01 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,577 | h | /* Software License Agreement (BSD License)
*
* Copyright (c) 2011, Willow Garage, 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... | [
"kerekare@i60sr2.(none)"
] | kerekare@i60sr2.(none) |
bcb4538a982af2a4fc13c13277be53ad10fe725d | f3b4f013e55a0f64298dfca70e0bd13735341b32 | /problems/694-number-of-distinct-islands/bfs.cpp | afc153d1002beea5e040cc463e5f3a844720cc25 | [] | no_license | DFLovingWM/leetcode-solving | 0eb53f54a5ef5a365d6cae5ffd9e4d6a3ec4b5fb | deeb2d5ac504eaeb33cc429e2a0fcdc830e2213d | refs/heads/master | 2021-06-06T12:09:02.054056 | 2021-05-16T15:50:40 | 2021-05-16T15:50:40 | 163,033,138 | 8 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 2,132 | cpp | /**
* BFS + 岛屿形状哈希
*
* 时间:`O(N^2)`, 108ms
*/
typedef vector<int> Point;
class Solution {
public:
int numDistinctIslands(vector<vector<int>>& grid) {
R = grid.size();
C = grid[0].size();
visit = vector<vector<bool>>(R, vector<bool>(C, false));
unordered_set<string> islands;
... | [
"dafeikai@gmail.com"
] | dafeikai@gmail.com |
5029e64569b9e6300c9ebb6df44cebdf2bc9fb9d | 734211b71d40fb2bde32aa9c4dcbe92407488530 | /TrafficFlowStatistics/Vehicle.cpp | 21c6227ad30a107b9b3341ca722e43ed954a3c88 | [] | no_license | dpug/TrafficStatistics | 4397a91636947fd17b886e8f2f9e204d55c6a5e6 | 2e89d13e5b86f2819dc92a2b7d5f6b8792daaed6 | refs/heads/master | 2016-09-06T03:53:15.693798 | 2014-08-25T05:31:16 | 2014-08-25T05:31:16 | 22,404,181 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,818 | cpp | #include "Vehicle.h"
int Vehicle::count = 0;
Vehicle::Vehicle(void)
{
this->drawingColor = Scalar(rand() % 255, rand() % 255, rand() % 255);
this->Synchronized = false;
CenterPoint = Point(0, 0);
BoundingRectangle = Rect(0, 0, 0, 0);
vector<Point> trajectory = vector<Point>();
count++;
pForward = 0;
pLeft = 0... | [
"jpugachev@hotmail.com"
] | jpugachev@hotmail.com |
5a7155f3f1688f0256ff28cbe42f5fd5b1b8355e | 3309f568c229c1ba020f90832e6197691362b06c | /GFG/C++ BASIC/2 - Flow Control, Function & Loops/count_digits.cpp | ca820608f64a3825bf961207d0d0aac53d4fbe2e | [
"MIT"
] | permissive | IamBikramPurkait/My-CP-Journey | d3bb936ac2cbf32a316ce0e810cf3cbaf3778510 | bbb7fc533b8bcf79367e3f38f4a04de075b43d64 | refs/heads/main | 2023-04-26T05:51:19.142196 | 2021-05-16T20:03:48 | 2021-05-16T20:03:48 | 359,068,267 | 1 | 0 | MIT | 2021-05-16T19:42:06 | 2021-04-18T06:54:09 | C++ | UTF-8 | C++ | false | false | 545 | cpp | // { Driver Code Starts
//Initial Template for C++
#include <bits/stdc++.h>
using namespace std;
// } Driver Code Ends
//User function Template for C++
void countDigits(int n)
{
//write your code here
//print number of digits in n
int count = 0;
while (n > 0)
{
n /= 10;
count++;... | [
"bkrmprkt@gmail.com"
] | bkrmprkt@gmail.com |
120ad4b8dea3e7ff96903f2a14a9dc60388afd97 | 7d7301514d34006d19b2775ae4f967a299299ed6 | /leetcode/binarySearch/878.nthMagicalNumber.cpp | 406bfbeeab75f7f8df28f20eda94f5f34dc55252 | [] | no_license | xmlb88/algorithm | ae83ff0e478ea01f37bc686de14f7d009d45731b | cf02d9099569e2638e60029b89fd7b384f3c1a68 | refs/heads/master | 2023-06-16T00:21:27.922428 | 2021-07-17T03:46:50 | 2021-07-17T03:46:50 | 293,984,271 | 1 | 0 | null | 2020-12-02T09:08:28 | 2020-09-09T02:44:20 | C++ | WINDOWS-1252 | C++ | false | false | 924 | cpp | #include <iostream>
#include <vector>
using namespace std;
const int mod = 1e9 + 7;
int nthMagicalNumber(int n, int a, int b) {
long long i_a = 1, i_b = 1;
int res = 0;
for (int i = 0; i < n; ++i) {
res = min(i_a * a % mod, i_b * b % mod);
if (res == i_a * a % mod) i_a++;
if (res ==... | [
"xmlb@gmail.com"
] | xmlb@gmail.com |
eacde0cfd90d96a01ea394a228097db3d94d31f1 | 9c139237cca9ba3040f40f9c996cd610ae22db21 | /proyecto/MessageClient.cc | d11b1bc917fb9b1a8f5b3bd44f3508cb19b27082 | [] | no_license | DFaouaz/RVR_UCM_2019-20 | 8e32da5912d6d3601fb307cc5234f2246e1e8201 | 54aa3a466b51a38a92e8e7b1d4997e6f69ab2056 | refs/heads/master | 2022-11-04T22:08:08.717078 | 2020-06-21T15:27:06 | 2020-06-21T15:27:06 | 258,138,843 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,950 | cc | #include "MessageClient.h"
MessageClient::MessageClient()
{
}
MessageClient::MessageClient(const std::string &nick, const PlayerState &playerState) : nick(nick), playerState(playerState)
{
}
MessageClient::~MessageClient()
{
}
void MessageClient::to_bin()
{
alloc_data(sizeof(MessageType) + NICK_SIZE + sizeof(Pl... | [
"dfaouaz@ucm.es"
] | dfaouaz@ucm.es |
0930d90a92edcddc687001fa7285f49cff12b5e0 | 470385354ed332fc9f700c2fc46ebc28e7918512 | /listas/lista_4/o_inventory.cpp | c784a3006761383c6676079624011b22bc0226b4 | [] | no_license | sconetto/ppc | 3a97c092d4b235989bb92250c191aeb1258f88c3 | bfd70be6722a358b8488bdcdfb6316707458c755 | refs/heads/master | 2020-07-04T23:44:57.254823 | 2019-11-25T00:51:57 | 2019-11-25T00:51:57 | 202,459,597 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 759 | cpp | #include <bits/stdc++.h>
using namespace std;
int main(int argc, char const *argv[]) {
ios::sync_with_stdio(false);
long n;
cin >> n;
vector<long> invent(n);
set<long> remain;
for (size_t i = 1; i <= n; i++)
remain.insert(i);
for (size_t i = 0; i < n; i++) {
cin >> invent[i];
if (remain.cou... | [
"sconetto.joao@gmail.com"
] | sconetto.joao@gmail.com |
3d85e944add6a2afcae2bcab05d6be0877005860 | 27e54c8a70cd4447ccf7ff16daaae44cf0c40574 | /2014S2_DM2295_Team_11/src/Base/Source/PlayInfo3PV.h | f0f9198f8d2cda2e9e2e8dc096c36aa0bd970681 | [] | no_license | Glenn-Pao/SP4 | fbb7b8fb02fa846ef312f418a20a9cb71b1a0e4b | 195bbfe6c0cfd89dfddb6a274ecba739c81a2a08 | refs/heads/master | 2021-01-10T17:33:10.053390 | 2016-03-03T14:11:12 | 2016-03-03T14:11:12 | 51,736,906 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,317 | h | #pragma once
#include "Vector3.h"
#include "Mesh.h"
#include "SceneGraph/SceneNode.h" // Scene Graph
#include "SpatialPartition/SpatialPartition.h" // SpatialPartition
class CPlayInfo3PV
{
public:
CPlayInfo3PV(void);
virtual ~CPlayInfo3PV(void);
enum GEOMETRY_TYPE
{
GEO_AVATAR,
NUM_GEOMETRY,
};
// Initiali... | [
"140522J@mymail.nyp.edu.sg"
] | 140522J@mymail.nyp.edu.sg |
79d8bde43d5c0d3bc1f654e0dab64140862d3ea1 | 75c50ee45825d568caf80b62491386b315bb4727 | /Object 206.cpp | 5556b97d7c264316dc902a67613a9fc4d66374b3 | [] | no_license | nguyendoantung/projecteuler.tungnd20191 | cb84199df63fcb7f2c32965700135b7f81140cef | 73cb21d9259575a57bd9aa426b67aa46b025acf8 | refs/heads/master | 2020-11-30T12:01:27.632306 | 2019-12-27T08:32:04 | 2019-12-27T08:32:04 | 230,391,687 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 583 | cpp | #include<stdio.h>
int check(long long int x){
long long int n = x;
n = n/100;
if(n%10 != 9) return 0;
n = n/100;
if(n%10 != 8) return 0;
n = n/100;
if(n%10 != 7) return 0;
n = n/100;
if(n%10 != 6) return 0;
n = n/100;
if(n%10 != 5) return 0;
n = n/100;
if(n%10 != 4) return 0;
n = n/100;
if(n%10 != 3) ret... | [
"48167653+nguyendoantung@users.noreply.github.com"
] | 48167653+nguyendoantung@users.noreply.github.com |
4f5cf8ec0226b6de5e32fec34e1b6baacc23d3a3 | 99a27676e780e5582b9d5a7fc8c9768d48ce35ad | /lib/standard_timer_impl.cc | 786d7c023bde14648332ab82dc6592beb0791a88 | [] | no_license | difdenk/gr-inets | 1c96e625cf81cbded31a81c630dfa66f96afe14a | 14ed11c1ad45614b96f31f6eeabc49a6583c9ead | refs/heads/master | 2020-12-03T08:05:28.331228 | 2017-10-20T09:40:24 | 2017-10-20T09:40:24 | 95,654,551 | 0 | 0 | null | 2017-06-28T09:52:23 | 2017-06-28T09:52:22 | null | UTF-8 | C++ | false | false | 7,800 | cc | /* -*- c++ -*- */
/*
* Copyright 2017 <+YOU OR YOUR COMPANY+>.
*
* This is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3, or (at your option)
* any later version.
*
* This software i... | [
"joqoko@hotmail.com"
] | joqoko@hotmail.com |
4474797ac49c92f95a52ce348560295baed8bfdc | e405cc2e7194af0f565bfed54c932942b3b30ce9 | /test/functional/src/test_hyperlink12.cpp | 1f16c54068ae15b54b4bc0609b74c9352c32fc8f | [
"BSD-3-Clause",
"BSD-2-Clause-Views",
"Zlib"
] | permissive | WilliamQf-AI/libxlsxwriter-cpp | 406e09c1fdd3e76f2b3e1ac0c8028f95814b8d9b | dcd063a8523de605894f3592d17b0ebb2e133fa9 | refs/heads/master | 2023-06-17T04:17:25.315186 | 2017-12-16T15:03:43 | 2017-12-16T15:03:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 827 | cpp | /*****************************************************************************
* Test cases for libxlsxwriter.
*
* Test to compare output against Excel files.
*
* Copyright 2014-2016, John McNamara, jmcnamara@cpan.org
*
*/
#include "xlsxwriter.hpp"
int main() {
std::shared_ptr<xlsxwriter::workbook> workbo... | [
"realwenzel@gmail.com"
] | realwenzel@gmail.com |
479a511b105c59f78dcf35e768aba06663c63815 | 265b98719aa85f5876d9acda4e278dd2b4318a82 | /src/test/scriptnum_tests.cpp | dd6a3c3a3bce5ba7e6c67c71462d095137b9353b | [
"MIT"
] | permissive | JcoEighty6/digifel-core | 6d51e8ba4044dfc1b6824daab8da487cf1f97a86 | 36aa85b2f7a50b0b11a7f6521e0a7f8a3fda033e | refs/heads/master | 2021-04-28T09:28:41.445229 | 2018-02-13T23:49:14 | 2018-02-13T23:49:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,460 | cpp | // Copyright (c) 2012-2015 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "scriptnum10.h"
#include "script/script.h"
#include "test/test_digifel.h"
#include <boost/test/unit_test.hpp>
#incl... | [
"35785858+digifel@users.noreply.github.com"
] | 35785858+digifel@users.noreply.github.com |
00a33ef585a11bb39b0ff69aeb6f3fb15c2e753e | 3ed2269af0bffc4b0819a3c8e030756c0a3e9c3f | /periodjumpfield.h | e87ebcdf2effd94ebefc9f5c3a5ba5da9178e882 | [] | no_license | ezraezra101/AutoShader | 8c08ec6a506f8374a960b364064401cc56e75e44 | a2513042cfd12d7cffcf624c06245633892c192b | refs/heads/master | 2020-03-17T12:43:46.343031 | 2018-05-16T02:37:40 | 2018-05-16T02:37:40 | 133,600,389 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,897 | h | /*
Copyright or © or Copr. Emmanuel Iarussi, David Bommes, Adrien Bousseau
BendFields: Regularized Curvature Fields from Rough Concept Sketches (2015)
emmanueliarussi (AT) gmail (DOT) com
bommes (AT) aices (DOT) rwth-aachen (DOT) de
adrien (DOT) bousseau (AT) inria (DOT) fr
This software is a computer program whose p... | [
"ezra.davis@yale.edu"
] | ezra.davis@yale.edu |
1db8c5afa5de8847150d5c7fbf3e79a960f19aeb | ea9fdab491ca277959f7dc59004d1a30c4ee6be4 | /virtualbox/patches/patch-src_VBox_VMM_VMMR3_PGMPhys.cpp | 1e6c737de833ab53442129ed081ec55c2d0054b5 | [] | no_license | NetBSD/pkgsrc-wip | 99f40fb6f56e2a5a11840a810e9cf8b6097e7f21 | c94e923855e9515400435b2437a1659fdb26d2fb | refs/heads/master | 2023-08-30T14:27:26.946664 | 2023-08-30T12:09:15 | 2023-08-30T12:09:15 | 42,824,785 | 81 | 59 | null | 2021-01-28T20:10:38 | 2015-09-20T18:44:07 | Makefile | UTF-8 | C++ | false | false | 1,662 | cpp | $NetBSD$
--- src/VBox/VMM/VMMR3/PGMPhys.cpp.orig 2016-03-04 19:30:12.000000000 +0000
+++ src/VBox/VMM/VMMR3/PGMPhys.cpp
@@ -926,7 +926,7 @@ static int pgmR3PhysFreePageRange(PVM pV
return rc;
}
-#if HC_ARCH_BITS == 64 && (defined(RT_OS_WINDOWS) || defined(RT_OS_SOLARIS) || defined(RT_OS_LINUX) || defined(RT_OS... | [
"rillig@NetBSD.org"
] | rillig@NetBSD.org |
7daa11993ed804d29a91851c4fd7d4e4329b1c3c | d2ba7a867150e91bd5baa150d6a402facc057005 | /PostFilterSetForDepthCoding/x264FFMPEGDemo.cpp | 265049b1f45f0ea9374cbb43a0d294d93c544978 | [
"BSD-3-Clause",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | norishigefukushima/DepthMapCompression | 9f1d99488f7a7b30395e25b16574304c8899b27d | 94e80777933cb9f07e043ed0f3ab67e76307e341 | refs/heads/master | 2020-12-24T16:24:10.367095 | 2016-03-05T20:53:17 | 2016-03-05T20:53:17 | 9,346,240 | 4 | 2 | null | null | null | null | SHIFT_JIS | C++ | false | false | 5,272 | cpp | #include "util.h"
using namespace std;
static void writeYUVGray(string fname, Mat& src)
{
Size size =src.size();
FILE* fp = fopen(fname.c_str(),"wb");
if(fp==NULL)cout<<fname<<" open error\n";
const int fsize = size.area() + size.area()*2/4;
//fseek(fp,fsize*frame,SEEK_END);
uchar* buff = new uchar[fsize];
me... | [
"fukushima@nitech.ac.jp"
] | fukushima@nitech.ac.jp |
ee15f44490519dcf1d254228a583c0be0fc67eb1 | d0c44dd3da2ef8c0ff835982a437946cbf4d2940 | /cmake-build-debug/programs_tiling/function13785/function13785_schedule_5/function13785_schedule_5.cpp | 60eb38352419285d67b836ee0055d4476431fa3a | [] | no_license | IsraMekki/tiramisu_code_generator | 8b3f1d63cff62ba9f5242c019058d5a3119184a3 | 5a259d8e244af452e5301126683fa4320c2047a3 | refs/heads/master | 2020-04-29T17:27:57.987172 | 2019-04-23T16:50:32 | 2019-04-23T16:50:32 | 176,297,755 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 649 | cpp | #include <tiramisu/tiramisu.h>
using namespace tiramisu;
int main(int argc, char **argv){
tiramisu::init("function13785_schedule_5");
constant c0("c0", 16384), c1("c1", 4096);
var i0("i0", 0, c0), i1("i1", 0, c1), i01("i01"), i02("i02"), i03("i03"), i04("i04");
computation comp0("comp0", {i0, i1}, ... | [
"ei_mekki@esi.dz"
] | ei_mekki@esi.dz |
a92e723f8546a26f013cfaec79bde59ec63b27c6 | 2396332b61fd373e7b4b102305d271c234e5d7c9 | /src/libs/formatting/StopWords_Tree.h | 0e240b1c08c3f919f80129aa4c35f55401008ab5 | [] | no_license | browlm13/LocalSearch | 6a0b24b38692b14e5e09825b8fec39a5405771ff | 4d8ef7779211f2ee774b416afe70e81a36e920be | refs/heads/master | 2016-09-07T23:25:12.664142 | 2015-05-04T16:01:59 | 2015-05-04T16:01:59 | 34,547,086 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,016 | h | #ifndef STOPWORDS_TREE_H
#define STOPWORDS_TREE_H
#include "data-structs/avl.h"
#include <fstream>
/*
Description:
*/
//---------------------------------------------------------------------------------------------------//
/*
* StopWords_Tree Prototype
*/
//-------------------------------------------... | [
"browlm13@gmail.com"
] | browlm13@gmail.com |
90bcc62870ac39d972208a1f476ab55f0e22de3a | 77a08ec51aa16191986a739267fd9d4379bbb208 | /homework/CandC++/E15.cpp | 4d9c54f68b7fc1961e1a98b0fa02a48d09336347 | [] | no_license | cenariusxz/ACM-Coding | 8f698203db802f79578921b311b38346950ef0ca | dc09ac9adfb4b80d463bdc93f52b479a957154e6 | refs/heads/master | 2023-06-24T13:12:13.279255 | 2021-07-26T01:24:36 | 2021-07-26T01:24:36 | 185,567,471 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 148 | cpp | #include<stdio.h>
int main()
{
int i,t;
for (i=32,t=1;i<=126;i++,t++)
{
putchar(i);
printf("\t");
if (t%5==0) printf("\n");
}
return 0;
} | [
"810988849@qq.com"
] | 810988849@qq.com |
25080cbbe5b0ab05d5941faa5b242603b08c62fe | 52f41900f3c70ae25a67f73c610ca4cb6ae2edd7 | /src/Timer.h | fba0fd650e2740dc1377be1d5dad192b0501a27c | [] | no_license | RyanSwann1/TowerDefense | da290fc13d334f837dce8c15b367ac6e6ff6d283 | 2ebdfbecb3116586d110f23571fb8f934751da97 | refs/heads/master | 2020-06-25T11:00:34.746713 | 2019-07-31T22:20:38 | 2019-07-31T22:20:38 | 199,290,794 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 272 | h | #pragma once
class Timer
{
public:
Timer(float expirationTime, bool active = false);
bool isExpired() const;
void deactive();
void activate();
void update(float deltaTime);
void reset();
private:
float m_expirationTime;
float m_elaspedTime;
bool m_active;
}; | [
"RyanSwann1992@gmail.com"
] | RyanSwann1992@gmail.com |
6d49351b867388dfe72a7451b6c7bf5f99f219d6 | 3c027760e650ee163160913753ba6e5e09912043 | /jni/tuenti/presencepushtask.h | 7dc9991663b0caae691fbdd56ebb9acb86da9bdf | [] | no_license | bb0y88/simpleVoipApp_Source | 673d1f31df98fa6d26c9376844520c4ae2a6bf60 | e5f4b56bb35dac0910f10c75ffe7096577a47eda | refs/heads/master | 2021-01-17T08:45:20.730522 | 2015-02-04T08:55:58 | 2015-02-04T08:55:58 | 30,293,610 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,187 | h | /*
* libjingle
* Copyright 2004--2005, Google Inc.
*
* 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 and... | [
"stefanogarau88@gmail.com"
] | stefanogarau88@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.