blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 3 264 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 5 140 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 986
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 3.89k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 23
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 145
values | src_encoding stringclasses 34
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 3 10.4M | extension stringclasses 122
values | content stringlengths 3 10.4M | authors listlengths 1 1 | author_id stringlengths 0 158 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
bd6a0ae6da4e175ddfc7b844c5d4d7619d034f93 | ba4db75b9d1f08c6334bf7b621783759cd3209c7 | /src_main/public/dme_controls/AttributeStringChoicePanel.h | 48ec8d4ce9191d5d3271b130ffc25eb084c018fb | [] | no_license | equalent/source-2007 | a27326c6eb1e63899e3b77da57f23b79637060c0 | d07be8d02519ff5c902e1eb6430e028e1b302c8b | refs/heads/master | 2020-03-28T22:46:44.606988 | 2017-03-27T18:05:57 | 2017-03-27T18:05:57 | 149,257,460 | 2 | 0 | null | 2018-09-18T08:52:10 | 2018-09-18T08:52:09 | null | WINDOWS-1252 | C++ | false | false | 2,185 | h | //====== Copyright © 1996-2005, Valve Corporation, All rights reserved. =======//
//
// Purpose:
//
// $NoKeywords: $
//
//=============================================================================//
#ifndef ATTRIBUTESTRINGCHOICEPANEL_h
#define ATTRIBUTESTRINGCHOICEPANEL_h
#ifdef _WIN32
#pragma once
... | [
"sean@csnxs.uk"
] | sean@csnxs.uk |
d7035f8e488be29fc6e86d6cc7079351d3dd1984 | e0e10f3ce7eb823e81fb7c968c5e1720c92e3fd3 | /EnginesAhoy/EnginesAhoy/Enemy.cpp | 29a096b686506dcf240e94d052ea4f06f936baba | [] | no_license | RoadRaz/EnginesAhoy | 2b0fda936ac9412cf6922466544d55a03d5bf072 | 9a6b8a48f15ef5c1993bb5a308525ab513eae87c | refs/heads/master | 2021-01-06T10:24:03.409422 | 2020-05-06T06:30:48 | 2020-05-06T06:30:48 | 241,292,937 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,351 | cpp | #include "Enemy.h"
#include "TextureManager.h"
#include "Input.h"
#include "Camera.h"
#include "ObjectFactory.h"
static Registrar<Enemy> registrar("enemy");
Enemy::Enemy(Properties* props) : Character(props) {
m_Collider = new Collider();
m_Collider->SetBuffer(0, 0, 0, 0);
m_RigidBody = new RigidBody();
m_Rigid... | [
"suryan993@gmail.com"
] | suryan993@gmail.com |
f67cb63120502b5e411f309a0e0086cf39d5464c | bfdb26d2dc8bc58453ebd6f467fd3b1ec07c5040 | /Samples/Win32/ThunderRumble/Kits/DirectXTK/Inc/Model.h | 436a9cd4c652be402ac900a81325088213a43ca5 | [
"LicenseRef-scancode-unknown-license-reference",
"MIT",
"Apache-2.0"
] | permissive | PlayFab/PlayFab-Samples | 83c9462e0cd2d0e039bdc579b4d9e3c7f4c257b3 | 40c8c01e4318c099229d2f53411230f2c83314c0 | refs/heads/master | 2023-08-10T20:51:19.715285 | 2022-05-06T23:31:27 | 2022-05-06T23:31:27 | 50,960,862 | 204 | 265 | MIT | 2023-05-25T01:32:03 | 2016-02-02T23:59:23 | C# | UTF-8 | C++ | false | false | 6,903 | h | //--------------------------------------------------------------------------------------
// File: Model.h
//
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
//
// http://go.microsoft.com/fwlink/?LinkId=248929
//-------------------------------------------------------------... | [
"24260996+markseminatore@users.noreply.github.com"
] | 24260996+markseminatore@users.noreply.github.com |
9f387037bc0b0cf176095bfb91cc3936e4f5b371 | d1dff012eafc3ba8182869532de0aeb6ac0a74dd | /UVa/11849 CD.cpp | 9ef76bf041fe6649db2ca2edbd74b846efcaa5c2 | [] | no_license | kashimmirza/Problem-Solving | 2d9b92bb6800e35e1aaad392e65bb4c4d6c2a4ab | 189f3101a1910408c0185270d676453bcf4670a8 | refs/heads/master | 2023-07-24T13:14:30.004271 | 2021-09-06T16:05:48 | 2021-09-06T16:05:48 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,789 | cpp |
/*######## IN THE NAME OF ALLAH ##########*/
#include<bits/stdc++.h>
using namespace std;
#define ll long long
#define MAX 999999999999999999
#define nl printf("\n")
#define r0 return 0
#define r1 return 1
#define sf1(x) scanf("%lld",&x)
#define sf2(x,y) scanf("%lld %lld",&x,&y)
#define sf3(x... | [
"noreply@github.com"
] | kashimmirza.noreply@github.com |
0f7374651111e83d845132f92031d9dfd043256c | 2b18bae8a8ca554474d76a162509ab9016792dc7 | /template/multi-platform-js/Classes/AppDelegate.cpp | fdc9eb57bd5a78ac26044a6eb20a81d92be1c82f | [
"MIT"
] | permissive | j4m3z0r/cocos2d-x | 2878a322458d2fdae9bbe8f26b1b4e28c211bd50 | fa85e33b657e5234c1e27beb4acc5f8394b903be | refs/heads/master | 2021-01-16T18:13:14.406160 | 2013-04-19T09:29:15 | 2013-04-19T09:29:15 | 9,554,578 | 3 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 2,899 | cpp | #include "AppDelegate.h"
#include "cocos2d.h"
#include "SimpleAudioEngine.h"
#include "ScriptingCore.h"
#include "generated/jsb_cocos2dx_auto.hpp"
#include "generated/jsb_cocos2dx_extension_auto.hpp"
#include "jsb_cocos2dx_extension_manual.h"
#include "cocos2d_specifics.hpp"
#include "js_bindings_chipmunk_registration... | [
"jianhua.chen@cocos2d-x.org"
] | jianhua.chen@cocos2d-x.org |
9debdb8a8ffb2b8728a07e9bf7e910915d8bec5e | dbd91d9dd4a871c93c04f4094b62a93cd64c0ac4 | /C++学习/C++1/C++1/constructor.cpp | 51c83595172086d8591cae7b8bf673a6b2791ff9 | [] | no_license | 15207175601/my_study_repository | d75c8d30ad9c7e5ae6dfd1ca5fbf9b0fcdc614ab | afdf36dc7cd37956b35d8a30ceb2cc45e189d457 | refs/heads/master | 2021-12-20T19:20:53.979190 | 2021-12-13T03:23:18 | 2021-12-13T03:23:18 | 228,417,919 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 280 | cpp | /*#include <iostream>
#include "stock00.h"
Stock::Stock(const std::string &co, long n, double pr)
{
company = co;
if (n < 0)
{
std::cerr << "number of shares can't be negative; "
<< company << " shares set to 0.\n";
}
else
shares = n;
share_val = pr;
set_tot();
}*/ | [
"852780186@qq.com"
] | 852780186@qq.com |
e05d3a850532b1d83e433755d7f09a8b20731330 | d7b84a31cafb72a3cb71b3a3cc724a68119ba18e | /Kvasir/0.72/phi | 60249ce02f506b02be9f851f9e348cbd9a0893f7 | [] | no_license | benroque/Ragnorak | 6cc7c68db801f9281a4ac241da754bce88ef6caf | a1bfc2430cccb207192792acebdd1530f1388a4c | refs/heads/master | 2021-01-14T08:13:18.774988 | 2017-02-20T08:32:53 | 2017-02-20T08:32:53 | 82,008,402 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 639,677 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 4.1 |
... | [
"benroque94@gmail.com"
] | benroque94@gmail.com | |
2e25c549611a002137295a3c650827311d49a298 | 11ef4bbb8086ba3b9678a2037d0c28baaf8c010e | /Source Code/server/binaries/chromium/gen/chrome/common/navigation_corrector.mojom-shared-internal.h | 8f9005d51788544f983af966d51d61731eb3889e | [] | no_license | lineCode/wasmview.github.io | 8f845ec6ba8a1ec85272d734efc80d2416a6e15b | eac4c69ea1cf0e9af9da5a500219236470541f9b | refs/heads/master | 2020-09-22T21:05:53.766548 | 2019-08-24T05:34:04 | 2019-08-24T05:34:04 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,030 | h | // Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_COMMON_NAVIGATION_CORRECTOR_MOJOM_SHARED_INTERNAL_H_
#define CHROME_COMMON_NAVIGATION_CORRECTOR_MOJOM_SHARED_INTERNAL_H_
#include "mojo/pu... | [
"wasmview@gmail.com"
] | wasmview@gmail.com |
d31ffb6bc10b5ab79411792f40a1d522228a674f | d4e96aa48ddff651558a3fe2212ebb3a3afe5ac3 | /Modules/IO/Mesh/include/itkMeshFileWriterException.h | 027732b45dbcac6a6280c749eb5a131ca19764cf | [
"SMLNJ",
"BSD-3-Clause",
"LicenseRef-scancode-free-unknown",
"LicenseRef-scancode-mit-old-style",
"LicenseRef-scancode-other-permissive",
"LicenseRef-scancode-unknown-license-reference",
"LicenseRef-scancode-warranty-disclaimer",
"NTP",
"IJG",
"GPL-1.0-or-later",
"libtiff",
"BSD-4.3TAHOE",
"... | permissive | nalinimsingh/ITK_4D | 18e8929672df64df58a6446f047e6ec04d3c2616 | 95a2eacaeaffe572889832ef0894239f89e3f303 | refs/heads/master | 2020-03-17T18:58:50.953317 | 2018-10-01T20:46:43 | 2018-10-01T21:21:01 | 133,841,430 | 0 | 0 | Apache-2.0 | 2018-05-17T16:34:54 | 2018-05-17T16:34:53 | null | UTF-8 | C++ | false | false | 1,834 | h | /*=========================================================================
*
* Copyright Insight Software Consortium
*
* 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
*
* ... | [
"ruizhi@csail.mit.edu"
] | ruizhi@csail.mit.edu |
05ba4019f6116a667304c49cad2448e21c308450 | dc442d8cd539a7db76d47007e20dfe7d2126ed53 | /Prims.cpp | 1a5f7c60e51652ce264d54f9df95b74d1aec0136 | [] | no_license | barsha87/snippets | e7177af081123852bff584b414013cb363824407 | fdf0ef70ca335cef127835297a21194e9d7bbc97 | refs/heads/master | 2022-01-09T00:14:33.520985 | 2019-04-30T10:54:49 | 2019-04-30T10:54:49 | 181,631,572 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,822 | cpp | #include<iostream.h>
#include<conio.h>
const int MAX=20;
class Queue
{
private:
int q[MAX];
int tail;
public:
Queue()
{
tail=-1;
}
void enqueue(int p)
{
q[++tail]=p;
}
int extractMin(int key[])
{
int i,min=key[q[0]],pos=0,node=q[0];
for(i=1;i<=tail;i++)
... | [
"barsha.8790@gmail.com"
] | barsha.8790@gmail.com |
3989a8ed02b1c6408d2a80da8deaf615bee8e660 | bd7eb0ff662fb741fbe67182cd43b01b39b05eb9 | /leetcode/mock test 2/insufficient nodes in root to leaf path.cpp | 117e459a4fb3542d1d786f08f6d6ffb2ed8c78e4 | [] | no_license | yottabytedev/competitive-programming | fb22a26817a1c53beb51a8a215643e11f3132d61 | 9fac0ef0464a6a511d96c02b295c0cd703f6e568 | refs/heads/master | 2022-12-08T05:31:48.141165 | 2020-09-05T02:01:12 | 2020-09-05T02:01:12 | 278,672,028 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,048 | cpp | /**
* Definition for a binary tree node.
* struct TreeNode {
* int val;
* TreeNode *left;
* TreeNode *right;
* TreeNode() : val(0), left(nullptr), right(nullptr) {}
* TreeNode(int x) : val(x), left(nullptr), right(nullptr) {}
* TreeNode(int x, TreeNode *left, TreeNode *right) : val(x), l... | [
"deveshkau@gmail.com"
] | deveshkau@gmail.com |
c20780c8ddf6ab5a905f52aadeb9ea5fa422a7e1 | 03f037d0f6371856ede958f0c9d02771d5402baf | /graphics/VTK-7.0.0/Filters/Core/Testing/Cxx/TestHedgeHog.cxx | eea0dde1950ddf64d165e66c8cf45c760549bfd7 | [
"BSD-3-Clause"
] | permissive | hlzz/dotfiles | b22dc2dc5a9086353ed6dfeee884f7f0a9ddb1eb | 0591f71230c919c827ba569099eb3b75897e163e | refs/heads/master | 2021-01-10T10:06:31.018179 | 2016-09-27T08:13:18 | 2016-09-27T08:13:18 | 55,040,954 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,372 | cxx | /*=========================================================================
Program: Visualization Toolkit
Module: TestHedgeHog.cxx
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
All rights reserved.
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
This sof... | [
"shentianweipku@gmail.com"
] | shentianweipku@gmail.com |
73b52292c5231148bb4fef01c94a105181d8444a | d19e32a89c9f3756dd375e33a1c51bbeb2551649 | /C++/TestSBB/SBB/cpp/sbsshpkcs11keystorage.cpp | 241f9365527f3fe3917f66bcecaf3e639992006d | [] | no_license | hackerlank/code_samples | 9982e3a8c36300f1fcfcd56eec46e82f80b25fad | 7be3fe03d901f405f650156890b55c455929afdd | refs/heads/master | 2020-06-12T18:38:24.684787 | 2016-09-12T20:50:37 | 2016-09-12T20:50:37 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 16,852 | cpp | #include "sbsshpkcs11keystorage.h"
namespace SecureBlackbox {
#ifdef SB_USE_CLASS_TELSSHPKCS11KEYSTORAGE
SB_INLINE void TElSSHPKCS11KeyStorage::Open()
{
SBCheckError(TElSSHPKCS11KeyStorage_Open(_Handle));
}
SB_INLINE void TElSSHPKCS11KeyStorage::Close()
{
SBCheckError(TElSSHPKCS11KeyStorage_Close(_Handle));
}
#i... | [
"leovant@gmail.com"
] | leovant@gmail.com |
1ae2d98f4271fc767a0817cfb066321550b66bd1 | 38e9ba5be27cc96eb6aa6dba97a7a649eb82acc4 | /cdeccore/io/test/test_io_filestream.cpp | 4020cb7caf24fb56303bbdd48d673f4544a85fdb | [] | no_license | AlgoPeek/cdec | 8f2ad94560118f27193d838f335652be358723f8 | e5ff37f84c5495fecb2b47fa7ac7f8daca12b7c6 | refs/heads/master | 2021-01-01T20:01:30.785406 | 2015-08-22T05:34:10 | 2015-08-22T05:34:10 | 40,390,702 | 0 | 2 | null | null | null | null | GB18030 | C++ | false | false | 9,361 | cpp | #include "stdafx.h"
#include "../../test_support.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
#if ENABLE_TEST
// -------------------------------------------------------------------------- //
class TestTextStream: public UnitTestSuite
{
UNITTEST_SUI... | [
"ksc_liyong@163.com"
] | ksc_liyong@163.com |
f34baf466c79fcddc1dd680845917ade870f2bdf | 839b62534608774208c491259a99b9917cbdae0b | /app/src/main/cpp/PhysicsManager.hpp | 6559ff3777488d71fa1f12e42f2feaff3b29be6d | [] | no_license | liongoodvery/native_activity | 5b9365338a8e73717162279ee3f018e2b362b58f | 0de82ec8409094ec968bbb7377e398949f7fb6e2 | refs/heads/master | 2021-01-21T22:10:41.216266 | 2017-06-23T04:04:41 | 2017-06-23T04:04:54 | 95,181,972 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,089 | hpp | //
// Created by lion on 17-6-22.
//
#ifndef NATIVEACTIVITY_PHYSICSMANAGER_HPP
#define NATIVEACTIVITY_PHYSICSMANAGER_HPP
#include "Types.hpp"
#include "TimeManager.hpp"
#include "GraphicsManager.hpp"
struct PhysicsBody {
PhysicsBody(Location* pLocation, int32_t pWidth, int32_t pHeight) :
location(pLo... | [
"lion_good@163.com"
] | lion_good@163.com |
82cdbd95bd29eda43a4214367877b7af57346a48 | da6bf94b01dbcaf3711c182dc27417f19eeeebc2 | /src/textured_rect.cpp | dd40e6adcb4987736f627564804e095fb06f5a73 | [] | no_license | Auerbah/KK_Invaders | cec237eb70cf3c90532654300420acdf8805b19c | f5143d5b098bf3684a30ecef29702f8c825e2b01 | refs/heads/master | 2020-03-23T01:35:55.187966 | 2018-07-14T07:35:19 | 2018-07-14T07:35:19 | 70,191,717 | 0 | 0 | null | 2016-10-06T20:47:20 | 2016-10-06T20:47:19 | null | UTF-8 | C++ | false | false | 3,161 | cpp | #include "textured_rect.hpp"
#include <QPainter>
#include <QPaintEngine>
#include <math.h>
TexturedRect::~TexturedRect()
{
delete m_program;
delete m_vertexShader;
delete m_fragmentShader;
m_vbo.destroy();
}
bool TexturedRect::Initialize(QOpenGLFunctions * functions)
{
m_functions = functions;
if (m_func... | [
"kvasnyy.alexey.borisovixh@gmail.com"
] | kvasnyy.alexey.borisovixh@gmail.com |
e5638c35f8c71dbf411ea7b6024dd0530fdcbbba | 3197285b6faeeb29aea478ba00aebae4391714f4 | /Assignment2/utils/Vec2.h | d84214bb67633c4d6a05933f6d71e39a3eab4882 | [] | no_license | f-tischler/PhysicallyBasedSimulation | 9a39edc35da6e040cfb8a28d45c61d81fbc268d3 | 103bf7a245f4f5ddc9fa32f67318c48c1a7b8ce3 | refs/heads/master | 2021-10-19T07:50:00.309959 | 2018-01-24T12:35:41 | 2018-01-24T12:35:41 | 106,805,279 | 1 | 0 | null | 2019-02-19T10:18:25 | 2017-10-13T09:32:13 | C++ | UTF-8 | C++ | false | false | 3,084 | h | /******************************************************************
*
* Vec2.h
*
* Description: Code providing helper function for handling 2D
* vectors; standard operators are provided
*
* Physically-Based Simulation Proseminar WS 2015
*
* Interactive Graphics and Simulation Group
* Institute of Computer Science
* Uni... | [
"mathias.hoelzl@hotmail.com"
] | mathias.hoelzl@hotmail.com |
029d7f21fe7e8639a4ff4ba9b8b117f19e28d220 | 5df7293b4a7d7f3cf4e4d25921e252ac92c21b5f | /onnxruntime/contrib_ops/cuda/bert/cutlass_fmha/fmha_launch_template.h | ed38cabc464a247e6d00f964d90e9d0379e5dc1b | [
"MIT"
] | permissive | Nifury/onnxruntime | ccd7fed07ad917fb3b63ae333c388895073f9263 | 198994d01d4e226fd3a8816e8b2fad00c84a691c | refs/heads/main | 2023-04-08T21:40:39.383881 | 2023-04-05T00:34:13 | 2023-04-05T00:34:13 | 312,125,003 | 7 | 2 | MIT | 2020-11-12T00:28:40 | 2020-11-12T00:28:39 | null | UTF-8 | C++ | false | false | 5,159 | h | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
#if USE_FLASH_ATTENTION
#if defined(__GNUC__)
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wunused-parameter"
#pragma GCC diagnostic ignored "-Wstrict-aliasing"
#endif
#include "contrib_ops/cuda/bert/cutla... | [
"noreply@github.com"
] | Nifury.noreply@github.com |
48e6e39f6d39355dacdd0a63a5fc79540d6c31b2 | 6a663c723162476e98000ed2521320793eed573f | /sources/Potion.cpp | 95854b6461f7ad5a71df899461fa8bdda100719b | [] | no_license | owengombas/redline | aa92e9c09a7aea38db1d54b79ee2fe80c5303ca2 | 14452a7a977d2c4f7f5e9d2dd837262c68326fb1 | refs/heads/main | 2023-05-28T20:17:05.724826 | 2021-06-18T18:42:23 | 2021-06-18T18:42:23 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 211 | cpp | #include "../headers/Potion.h"
using namespace std;
namespace HE_Arc::RPG {
string Potion::getName() const { return "potion"; }
int Potion::getFeature() const { return this->power; }
} // namespace HE_Arc::RPG | [
"owen.gombas@gmail.com"
] | owen.gombas@gmail.com |
4ab911af227aed39a7e64ad9fa999e7230065741 | f66c96fc0c0f8057726899eacc03719d7f19c957 | /Graph/Adjacent List/main.cpp | f50cdfd9df7bc0dbc912609f41a0d6d6fda2077c | [] | no_license | LucasLima21/DataStructure2-Implementation | 091a72d975d52cc34d88cdfbb18b389940c21137 | e804f2901d81b6f50d74823568a043fed1c38a62 | refs/heads/master | 2020-08-27T07:51:23.117506 | 2019-10-29T17:31:25 | 2019-10-29T17:31:25 | 217,290,408 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 970 | cpp |
#include<iostream>
#include "AdjacentList.h"
#include "MinimumSpaningTree.h"
#include "BreadthFirstSearch.h"
#include "DepthFirstSearch.h"
using namespace std;
int main(){
Graph<int> * g = new Graph<int>(5);
g->insertEdge(1, 2,4);
g->insertEdge(2, 3,5);
g->insertEdge(3, 4,3);
g->insertEdge(4, 5,6);
g->ins... | [
"root@Lucas-Not.localdomain"
] | root@Lucas-Not.localdomain |
9ef617df8989fcf97b3a5006b6a1faa6ae24f6b2 | ea63689f65ff0b7663323e4c90c66adc724b1849 | /src/solver/solver.h | 1c3de04c7627f80a17564205750e793c2bbd424b | [] | no_license | seamill/quikin | 46d90be5ce3ecae75dea847a5e0287b09471bde3 | 608c1283c1882d02b463d971e00f6f6100b59ec7 | refs/heads/master | 2021-01-13T09:21:57.936932 | 2016-10-10T22:51:43 | 2016-10-10T22:51:43 | 69,757,461 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,285 | h | #ifndef _qk_solver_solver_H
#define _qk_solver_solver_H
// STL includes
#include <string>
#include <vector>
// QK includes
#include "variable/variable_id.h"
#include "variable/variable_manager.h"
namespace qk
{
namespace solver
{
class solver
{
public:
solver()
{
}
virtual ~solver()
{
}
... | [
"seamill@sandia.gov"
] | seamill@sandia.gov |
d775c4b4635adfe9694f3b8f517dc9a5bbf4eb07 | 66e6f74b3bb462c31d6310f7d8cd6abcd98e4c83 | /race/submissions/accepted/race_zf.cpp | 7df2975ff39799305a99c9cbd1859a2a5c98c156 | [] | no_license | HowardChengUleth/RMRC2015-public | a578e132a1685bba2bc16b927d880ff53919d6b3 | cdbe9ce61a38d63214661da7fd4138bec4e9bec4 | refs/heads/master | 2016-08-12T21:29:14.820555 | 2015-11-17T16:25:50 | 2015-11-17T16:25:50 | 46,309,754 | 4 | 8 | null | null | null | null | UTF-8 | C++ | false | false | 1,631 | cpp | #include <iostream>
#include <cassert>
#include <algorithm>
#define MAXN 20
using namespace std;
int n, T;
int p[MAXN], t[MAXN], d[MAXN];
int dist[MAXN+2][MAXN+2];
int dp[1<<MAXN][MAXN+2];
bool smaller(int a, int b) {
while (a && b) {
if ((a&1) > (b&1)) return true;
if ((a&1) < (b&1)) return false;
a... | [
"howard.cheng@uleth.ca"
] | howard.cheng@uleth.ca |
c281b9daf6bba55969d11e39996336e39f9c1a94 | c79e603827952b219c619d736053867a87bf9cc9 | /exercise/12.14.cpp | 27796745a520d5adaa168917ea592d9f3a2af7a1 | [] | no_license | tuhbo/cpp-note | b2f6b45d354ad7c7fb83d6b265cd5b7cc876cfe9 | 9ac093ae5ed3f85400d00f2a04f5b2dcbf8769c1 | refs/heads/main | 2023-03-31T01:09:02.303049 | 2021-03-26T14:18:46 | 2021-03-26T14:18:46 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 643 | cpp | #include <iostream>
#include <memory>
using namespace std;
struct destination{
};
struct connection{
};
connection connect(destination *pd)
{
cout<<"打开连接"<<endl;
return connection();
}
void disconnect(connection c)
{
cout<<"关闭连接"<<endl;
}
void f(destination &d)
{
cout<<"直接管理connect"<<endl;
connection c = conn... | [
"2472996693@qq.com"
] | 2472996693@qq.com |
f58862881941e39970d8ebb12aab2542272a5e6a | 67a53e3ba09a6b8f83fc1d40b85b5941310702bd | /src/lib/controllib/BlockIntegral.cpp | ac4a11bf36b51a6055cb2db049b275a653f3077b | [
"BSD-3-Clause"
] | permissive | Diksha-agg/Firmware_val | f3bd60c7356b2f21b8c8ea4db98955f41d43e848 | 1efc1ba06997d19df3ed9bd927cfb24401b0fe03 | refs/heads/main | 2023-07-13T11:12:47.831945 | 2021-08-26T02:06:15 | 2021-08-26T02:06:15 | 397,618,511 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 129 | cpp | version https://git-lfs.github.com/spec/v1
oid sha256:ef6ead8e16343021c3e65899078b8d4dd8bbab1a7771ea52e7e34b9f0937ce63
size 2035
| [
"diksha.dtu@gmail.com"
] | diksha.dtu@gmail.com |
c4fd06c32d120967785f220578b7d0f743770142 | 55edcdfaa1ab1283bdff44e5b7c2c473cd11fbac | /src/core/NEON/kernels/NEGEMMLowpOffsetContributionOutputStageKernel.h | 4c68fb09435380db467a1437de9208937a6fa1bd | [
"MIT",
"LicenseRef-scancode-dco-1.1"
] | permissive | arenas7307979/ComputeLibrary | 490303d2d56f7ba810e017f6b4dc7a6608481cd5 | 49b8f9080cf2a24da986b6f156c7418ee3d28478 | refs/heads/master | 2023-01-24T04:39:29.366029 | 2020-11-27T12:49:11 | 2020-11-27T12:49:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,039 | h | /*
* Copyright (c) 2019-2020 Arm Limited.
*
* SPDX-License-Identifier: MIT
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to
* deal in the Software without restriction, including without limitation the
* ri... | [
"bsgcomp@arm.com"
] | bsgcomp@arm.com |
cc4122a727564bdf18f01ab6a26b6e869b13dda7 | f956dbb991ceca512df6d8f6d20b202f069c5394 | /src/Lethe/Script/Ast/AstStructLiteral.cpp | 53bb04a1893f99a7f07b4a0fc55d062f1067c225 | [
"LicenseRef-scancode-unknown-license-reference",
"BSL-1.0",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | ntoskrnl7/lethe | bdda532a1273f683f6a101ee72e7e1863e4c7916 | c1a9bb45063f5148dc6cf681ce907dcbb468f5e6 | refs/heads/master | 2021-03-04T12:38:33.943621 | 2020-03-08T17:32:01 | 2020-03-08T17:32:01 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,527 | cpp | #include "AstStructLiteral.h"
#include "AstVarDecl.h"
#include "NamedScope.h"
#include <Lethe/Script/Program/CompiledProgram.h>
#include <Lethe/Script/Vm/Stack.h>
namespace lethe
{
// AstStructLiteral
const AstNode *AstStructLiteral::GetTypeNode() const
{
return nodes[0]->GetTypeNode();
}
QDataType AstStructLitera... | [
"k_mar@seznam.cz"
] | k_mar@seznam.cz |
3d7fb6b49dbed3c71953acea8a050d6b5f7de1e6 | 1ad99d08374e4dadd45d106912ced9248ccb6f98 | /src/ofApp.cpp | d208661fa3e060681b756b5f915f948e9f75754f | [] | no_license | mathildemouw/veraMolnarLines | 3ae0ffbe1add90008fa75d853d3bbd2ba99ecfce | 4d7a2b7d23258384458d0d181444f42c945b9443 | refs/heads/main | 2020-08-09T04:07:00.758304 | 2019-10-13T18:42:57 | 2019-10-13T18:42:57 | 213,993,139 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,091 | cpp | #include "ofApp.h"
//--------------------------------------------------------------
void ofApp::setup(){
// from https://www.studiointernational.com/images/articles/m/084-molnar-vera-2018/Molnar_Computer_Drawing_5_30x30cm.jpg
ofSetBackgroundColor(255);
}
//------------------------------------------------------... | [
"nihaomouw@mac.com"
] | nihaomouw@mac.com |
c70aa1845cbc213fedde26bb219ed675565a5643 | 16c3d340e2112ee82d8f6ee97fa8ec105dbdab44 | /Faculdade/2008-2_-_IV/Estrutura_de_Dados_II/projetos/N2_-_Hash__Table/source/Interface.h | 9c64a295955943ef81b0abad34ac9ce2a509d0bb | [
"Apache-2.0"
] | permissive | mtulio/kb | 14be0875649a03adfa62a2e8a21ea12eeda3ebb8 | 1bc355d1750664cfea10dbb5a3f60549a1668971 | refs/heads/master | 2021-11-19T05:01:47.184128 | 2021-08-15T23:27:49 | 2021-08-15T23:27:49 | 39,852,791 | 3 | 0 | Apache-2.0 | 2019-01-31T15:03:34 | 2015-07-28T19:08:00 | C++ | UTF-8 | C++ | false | false | 9,512 | h | #ifndef INTERFACE_H_
#define INTERFACE_H_
#include<iomanip>
#include<iostream>
#include"No.h"
#include"Hash.h"
using namespace std;
class Interface
{
public:
static int submenu();
static void menuPrincipal(Hash *hash);
static void menuEncadeamentoFechado(Hash *&hash);
static void menuLinear(Hash *hash);
stat... | [
"marco.braga@chaordicsystems.com"
] | marco.braga@chaordicsystems.com |
183607977825abbbff16d9acda36830f67c93949 | cdd90666fbc983319dd58c311af4388d454c1994 | /PJE1626361_MonsterWorld_05_Practice.h | 9e172cfcf7ea3fd19486a59353f2f20363b594df | [] | no_license | JieunSummerPark/PJE1626361_MonsterWorld_05_Practice | fc60d578f9bbe85c58097d9a084c72f3df3296d7 | 68d346fd1d07600affbe7cfbf500468246bf6a71 | refs/heads/master | 2020-05-29T19:28:40.576560 | 2019-05-30T02:28:48 | 2019-05-30T02:28:48 | 189,331,456 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 725 | h |
// PJE1626361_MonsterWorld_05_Practice.h: PROJECT_NAME 애플리케이션에 대한 주 헤더 파일입니다.
//
#pragma once
#ifndef __AFXWIN_H__
#error "PCH에 대해 이 파일을 포함하기 전에 'pch.h'를 포함합니다."
#endif
#include "resource.h" // 주 기호입니다.
// CPJE1626361MonsterWorld05PracticeApp:
// 이 클래스의 구현에 대해서는 PJE1626361_MonsterWorld_05_Practice.cpp을(를) 참조하세... | [
"parkj2@student.swosu.edu"
] | parkj2@student.swosu.edu |
6ad242afb91f582f3f9795640f200401f97f8bff | eb12293dd6f1efe112fd0d7d84d0279a68e0debe | /C++/09_function.cpp | e547c31d0fc96c7b247af2a0db313a67a7b52ad2 | [] | no_license | samratkaley/Developer | 8cd5caa1c1866ff3e7ac861357ad7cb3234980ca | 8091aff4c670e88705bfc5c46ebdfe1ca7f92799 | refs/heads/main | 2023-07-17T18:56:14.074803 | 2021-08-18T09:22:07 | 2021-08-18T09:22:07 | 391,929,858 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 600 | cpp | #include<iostream>
using namespace std;
int add(int num1, int num2); // Function Declaration
int sub(int num1,int num2);
int main(){
int a = 10;
int b = 20;
int c;
int d;
c = add(a,b); // Function calling by refrence
d = sub(a,b);
cout<<"thank you"<<endl;
return 0;
}
int add(int num1,int num2){ // Function define ... | [
"samratkal@gmail.com"
] | samratkal@gmail.com |
b89b54022352175c2b306c21ec9c6663ac0e681c | bf57ecf75ef97d097a4b63181b5d16cf9da8707c | /PasswordManager/passwordgenerator.h | 1c346d637c2ee8a8addf332e426333b1e2e3fe50 | [] | no_license | Armand98/PasswordManagerV2 | 378768f1da7cf2cac1142b19dec633ac18dc3ac3 | 158eb9b82c153cd0eb746ef6335f8a5070a02ca3 | refs/heads/master | 2022-09-28T19:44:33.087371 | 2020-05-27T16:42:20 | 2020-05-27T16:42:20 | 267,346,515 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 296 | h | #ifndef PASSWORDGENERATOR_H
#define PASSWORDGENERATOR_H
#include <QString>
#include <ctime>
class PasswordGenerator
{
public:
static QString generatePassword(bool lowerCaseChars, bool upperCaseChars, bool digits, bool specialChars, int length);
};
#endif // PASSWORDGENERATOR_H
| [
"noreply@github.com"
] | Armand98.noreply@github.com |
c57ce80cd062812670fd17b7985f7cbd6217b82e | 3051076f6b7bd5870cc7f28e0ae61e770973aca4 | /include/animations.h | 88feaad332fbad093fca1a6d05dae3a2ec3185f9 | [
"MIT"
] | permissive | 6farer/zevoicemask | 605eac532c7fb0fbaa8b968f2e58b8b84a463d5c | 488b3fd7a88d6477db0218ab00aeae4cb012757e | refs/heads/master | 2023-01-24T21:52:30.173273 | 2020-11-25T21:05:56 | 2020-11-25T21:13:59 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 753 | h | #pragma once
#include <Arduino.h>
#include <vector>
class Animation;
class Animations
{
private:
const std::vector<Animation *> _animations;
Animation *_current;
unsigned _frame;
void set(Animation *a);
public:
Animations() noexcept;
/**
* Initialize animations.
*/
void init();
/**
* Cho... | [
"chrissicool@gmail.com"
] | chrissicool@gmail.com |
708f607d58bd3b2b244b20ab688c5ccbc23f010d | 8b7fdf5100ebd616eb5ac9f2b14d1c8d6c4c0d8e | /frameworks/core/image/animated_image_player.cpp | e03d12bf399089796213da6771ca5a339ca19759 | [
"Apache-2.0"
] | permissive | openharmony-sig-ci/ace_ace_engine | 13f2728bce323b67ac94a34d2e9c0a941227c402 | 05ebe2d6d2674777f5dc64fd735088dcf1a42cd9 | refs/heads/master | 2023-07-25T02:26:10.854405 | 2021-09-10T01:48:59 | 2021-09-10T01:48:59 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,907 | cpp | /*
* Copyright (c) 2021 Huawei Device Co., Ltd.
* 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 ... | [
"mamingshuai1@huawei.com"
] | mamingshuai1@huawei.com |
e1ad22b48752c8726a72e0d20ec0eaf40234a75e | 8903cb76cedac12995249e2e613af65365be7cf2 | /ares/gb/cartridge/cartridge.hpp | 9121a121fbe4231dd6fd893c37ae377488495844 | [
"ISC"
] | permissive | kirwinia/ares-emu-v121 | 0c1e21e073f291741406cd1ed01acca43acd56d7 | 722aa227caf943a4a64f1678c1bdd07b38b15caa | refs/heads/main | 2023-06-09T15:28:23.665934 | 2021-06-28T06:10:46 | 2021-06-28T06:10:46 | 380,923,321 | 0 | 0 | ISC | 2021-06-28T06:05:04 | 2021-06-28T06:05:04 | null | UTF-8 | C++ | false | false | 851 | hpp | struct Cartridge;
#include "board/board.hpp"
struct Cartridge : Thread {
Node::Peripheral node;
VFS::Pak pak;
auto title() const -> string { return information.title; }
//cartridge.cpp
auto allocate(Node::Port) -> Node::Peripheral;
auto connect() -> void;
auto disconnect() -> void;
auto save() -> vo... | [
"ecallaghan@protonmail.com"
] | ecallaghan@protonmail.com |
247e80c5cdb1a1796f3ddab03d69bb3d9190f141 | 924beddd94d2c099fd878e5078b57017f6e30457 | /test-queue.cpp | 17f938a2f31e8ac13cf87ecac15fb68163cd6dd1 | [] | no_license | chitalian/-CS4500-A1-part2 | a290b34ac736a745e92220952646e8c7481621ae | dd4015297aa715d0fed5974e4f2b68094d70c81b | refs/heads/master | 2020-12-22T12:23:00.681549 | 2020-01-28T16:17:27 | 2020-01-28T16:17:27 | 236,779,600 | 0 | 0 | null | 2020-01-28T16:19:56 | 2020-01-28T16:19:55 | null | UTF-8 | C++ | false | false | 2,521 | cpp | // Lang::CwC
#include "object.h"
#include "queue.h"
#include "string.h"
// clang-format off
void FAIL() { /** exit 1 */ }
void OK(const char* m) { /** print m */ }
void t_true(bool p) { if (!p) FAIL(); }
void t_false(bool p) { if (p) FAIL(); }
// clang-format on
void test1() {
// Basic test
Queue* q = new Qu... | [
"swindell.n@husky.neu.edu"
] | swindell.n@husky.neu.edu |
621b00011a686d03d8a8e96a875525903639653d | 2ab628b6e16db6ead8f3f88cd9225f97d021e892 | /src/completer.hpp | 9d16ac7124aad5d49f1c36de53d5d9256bcbadab | [] | no_license | cfillion/cpmenu | e28b567b6a5e14720b654da4c6867963fb766016 | 3214a03b139310e350b34a56b31ddb5c20fc760f | refs/heads/master | 2021-01-13T12:51:45.625630 | 2017-01-08T15:08:26 | 2017-01-08T15:09:04 | 78,339,624 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 345 | hpp | #ifndef CPDMENU_COMPLETER_HPP
#define CPDMENU_COMPLETER_HPP
#include <QListWidget>
class Completer : public QListWidget {
Q_OBJECT
public:
Completer(const QStringList &, QWidget *parent = 0);
void trigger(const QString &text);
void move(const int movement);
QString currentText() const;
private:
QStrin... | [
"cfillion@users.noreply.github.com"
] | cfillion@users.noreply.github.com |
eb0ea826dd708ae48b41e6fd1605c760b6f262de | 9c7f11e17f93eb2ed1fd39182070f4085caa1e5b | /assignments/HW3/HW3/landmark.cpp | e08b033a930a676416cea754847f1831b08b4e1d | [] | no_license | annyzy/ucla-cs32 | 48915548d01181925f1025b399048744cf46ae46 | 806b116d524b752ffaaca75f4ed478a682898538 | refs/heads/master | 2022-03-22T15:35:10.310995 | 2019-12-02T00:11:17 | 2019-12-02T00:11:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,766 | cpp | //
// main.cpp
// HW3
//
// Created by Ziying Yu on 2/6/19.
// Copyright © 2019 Ziying Yu. All rights reserved.
//
//Your declarations and implementations would go here
class Landmark
{
public:
Landmark(string name) {m_name=name;}; //constructor
string name() const {return m_name;} //non-virtual
virtua... | [
"noreply@github.com"
] | annyzy.noreply@github.com |
d7084cb3a84c1af3fb7ca2cc843b63bb9184c624 | 00497ebc3d7a1801ac6da3803f46900e7ad27efd | /Extracurricular extension code/Lesson19/AdeeptDHT11LCD12864Alarm/AdeeptDHT11LCD12864Alarm.ino | 320ce9dd64d6154ea13de95fc7e090192cf3ba9e | [] | no_license | adeept/Indoor_Environment_Monitoring_Kit | 9f88d18a6740e9dac0833e58f09e8d39d9602db6 | f422806d0ed2ad1d51b34201fed5d14103697c3e | refs/heads/master | 2022-06-08T12:45:58.999987 | 2020-05-05T06:44:01 | 2020-05-05T06:44:01 | 261,378,535 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,477 | ino | /***********************************************************
File name: AdeeptDHT11LCD12864Alarm.ino
Description:DHT11 detects temperature and humidity display on
LCD12864, exceeds the set threshold, RGB discoloration
and buzzer sound.
Website: www.adeept.com
E-mail: support@adeept.com
Author:... | [
"1553491000@qq.com"
] | 1553491000@qq.com |
924eee8cfdfb08b75a2ed117525ce328b86a7665 | 08dc6f093c9e7061b7718869ff21ab3c8e7bd381 | /URTouch_ButtonTest/URTouch_ButtonTest.ino | 7ad409e79357ef4d69054d6d416b1418c0c4d4f5 | [] | no_license | ICUERA/MSA_LAB | 3927bb3d5cf4cecebca450039c3f2e9d2d172ed0 | de875132df588e01b50b204bed8cc7581ffe5eca | refs/heads/master | 2022-12-13T23:36:28.528940 | 2020-09-04T03:06:32 | 2020-09-04T03:06:32 | 292,496,815 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,524 | ino |
#include <UTFT.h>
#include <URTouch.h>
// Пример простого интерфейса при помощи TFT дисплея с резистивным экраном.
// А.Б. Колкер Микропроцессорные усторйства автоматики НГТУ 2020
// текст программы лицензия GPL
// Инициализация дисплея
UTFT myGLCD(ITDB24E_8,A5,A4,A3,A2);
// Инициализация тачскрина
URTouch m... | [
"fiery77@yandex.ru"
] | fiery77@yandex.ru |
8205ab48e5dbddc110396c84108c9b866afbb09c | 4989fab0754276dc20f7e8f83797fbba6312ef3d | /src/HelperFunctions.cpp | 278f58b0e2e218de63f8ed612c563f032a670355 | [] | no_license | eltonvs/keno-game | 92993c5b8f765261f38de84e7824241d55ea83d0 | ddab1a9e4112bd1769c3f39620ccaa3cdfb8970f | refs/heads/master | 2021-01-10T12:35:47.780923 | 2016-05-03T23:54:50 | 2016-05-03T23:54:50 | 53,943,149 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,955 | cpp | /*!
* @file HelperFunctions.cpp
* @brief General Functions
* @copyright Copyright © 2016. All rights reserved.
*
* Source with the general functions
*/
#include <string>
#include <algorithm>
#include "HelperFunctions.hpp"
bool in_array(int x, const int *v, unsigned sz) {
for (auto i(0u); i < sz; i... | [
"eltonvs@outlook.com"
] | eltonvs@outlook.com |
4e39d2d651207874a779f1a8dfb2be86e3b5b2bb | 996fefd425087e0b3984569478aa9d6c04c6f39e | /mazemapper.cpp | aaf2713fbcb801cfd05b86ac415f0108329c2f1e | [] | no_license | MohammadJamali/MazeMapping | d2f2dc0b461cbf9a0d94ba5eb6b10e8caf851794 | 1d6151c4c0cc2f3a0564a837fda1a870907831c2 | refs/heads/master | 2022-04-27T07:06:54.973654 | 2020-04-26T10:48:10 | 2020-04-26T10:48:10 | 258,991,606 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,814 | cpp | #include "mazemapper.h"
vector<Maze> result;
vector<Maze> tiles;
void MazeMapper::solver(Maze maze)
{
if(isComplate(maze)) {
for (int i = 0; i < result.size(); i++)
if(maze == result.at(i))
return;
result.push_back(maze);
return;
}
for (unsigned int i = 0; i < tiles.size(); ++i... | [
"mohammadjamalid@gmail.com"
] | mohammadjamalid@gmail.com |
aabeb93bff4f404efd8f33098fb59e12d18c0b7c | 98b2ee5a57d66c957f8b924e0c99e28be9ce51d8 | /leetcode/303_RangeSumQuery-Immutable/main.cpp | a27bab89718ab7dc4f7017a269fbca9732c12102 | [] | no_license | sauleddy/C_plus | c990aeecedcb547fc3afcbf387d2b51aa94d08cc | 69d6a112d1dd9ac2d99c4b630bb6769b09032252 | refs/heads/master | 2021-01-19T04:49:07.240672 | 2017-06-07T05:51:10 | 2017-06-07T05:51:10 | 87,397,291 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 430 | cpp | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
/*
* File: main.cpp
* Author: eddy
*
* Created on May 21, 2017, 3:02 PM
*/
#include <cstdlib>
#include "NumArray.h"
using na... | [
"sauleddy38@gmail.com"
] | sauleddy38@gmail.com |
5c78d6ed76917844df25d7bcfeaf91deb167c593 | 4946879981bcda5df68000e6820b309129b94266 | /Random/cf_P1203C.cpp | 60badd564e63740f2b769f242f932863f3aefb34 | [] | no_license | NazmulHasanMoon/OJ | b567a231eb2dd7f4dd20f17026c6845ffe969c20 | 399d6fdf5e65cd49c5a00072b820bcda66e4676e | refs/heads/master | 2021-07-16T00:13:03.228187 | 2020-06-25T06:41:09 | 2020-06-25T06:41:09 | 178,351,786 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 973 | cpp | #include<bits/stdc++.h>
using namespace std;
#define loopn(a,b,c) for(int a=b;a>c;a--)
#define loop(a,b,c) for(int a=b;a<c;a++)
#define loopa(p,v) for(auto p:(v))
#define lloop(a,b,c) for(long long a=b;a<c;a++)
#define mem(ar,value) memset(ar,value,sizeof(ar))
#define EPS 1e-9
#define PI acos(-1)
#define rn PI/1... | [
"nazmulmoon123@gmail.com"
] | nazmulmoon123@gmail.com |
7e88eeb7d80f2fa85d3dd1e69617088d5b2ff2ec | 853194dce813fb96fad391a523453caaaa0c78f4 | /Simulation/libCpuSimulation/pch.hpp | e5095baae98bea25d217eea34c9b7509be6e6d6b | [] | no_license | tony-space/WingSimulator | 2a8e5e236e9b2012274111e17d3c20936bc05449 | 8e112a2c949045fdae6139580d08b43971b16d29 | refs/heads/master | 2020-12-28T18:40:54.503507 | 2020-11-06T19:00:14 | 2020-11-06T19:00:14 | 238,444,613 | 10 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 432 | hpp | #pragma once
#define SIMULATION_IMPL
#define _CRT_SECURE_NO_WARNINGS
#define GLM_FORCE_SWIZZLE
#include <cfloat>
#include <cassert>
#include <cstdint>
#include <vector>
#include <memory>
#include <atomic>
#include <algorithm>
#include <numeric>
#include <execution>
#include <glm/glm.hpp>
#include <glm/matrix.hpp>
... | [
"mail@vasin.space"
] | mail@vasin.space |
4f17f388eb036df040d2dbfc90ba923b0c19d034 | ad89e6bb6b480962f0ae444d89ca0c704eb589fa | /CF/964/a.cpp | 9d69f053f6dfd47f9023fea41a1a945db43555e4 | [] | no_license | teofr/CompProg | 22e597b921d62ef30ab61b3d94a500f8deb4735b | 9426d79dcce8643dba31c12d1b9dc9018f21ba90 | refs/heads/master | 2020-04-06T06:08:36.331909 | 2020-04-03T16:21:22 | 2020-04-03T16:21:22 | 73,639,715 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 588 | cpp | #include <bits/stdc++.h>
using namespace std;
#define tint long long
#define ii pair<tint,tint>
#define forsn(i,s,n) for(tint i = (tint)(s); i < (tint)(n); i++)
#define forn(i,n) forsn(i,0,n)
#define mp make_pair
#define fst first
#define snd second
#define pb push_back
#ifdef DEBUG
#define debug(v) cerr << #v << " = ... | [
"tfreund95@gmail.com"
] | tfreund95@gmail.com |
6e7cb77be33ea7ce92a70c37201ec3a063bf7965 | 9ce0b321ac978af069f63793b65b87b81a7b706f | /НОД/main.cpp | 23eed6521ee632f8e2165d3adb97b3d331355484 | [] | no_license | agafonovartem/Cpp_white_belt | 40d64c941ede66b29da78cf3da07b18a8578c516 | 856a1e5f122cb5385506c6c7b58faf2d69f3e36c | refs/heads/master | 2022-12-03T15:11:13.095515 | 2020-08-20T06:49:48 | 2020-08-20T06:49:48 | 288,928,445 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 429 | cpp | //
// main.cpp
// НОД
//
// Created by Артем on 26.11.2019.
// Copyright © 2019 Артем. All rights reserved.
//
#include <iostream>
using namespace::std;
int main(int argc, const char * argv[]) {
int a, b, q, r;
cin >> a >> b;
q = a / b;
r = a % b;
while (r != 0) {
a = b;
b ... | [
"noreply@github.com"
] | agafonovartem.noreply@github.com |
05f928193e593f1d0dc99c737686baa19b13f94c | 7e81c539856063ae9555559a7e32280a5bed9a1c | /Extra Features/dchat_congestion/stdincludes.h | 3579755a7d2c00021063a2c8c9a35de7f98aa05b | [] | no_license | weihu816/DVoter | 46866608e57e139caf8d82ac110626eac81ccbf8 | 93978d750728131e3b72a9ae1041edcfdae4584d | refs/heads/master | 2021-01-20T16:50:32.175825 | 2016-04-25T05:58:01 | 2016-04-25T05:58:01 | 54,268,601 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,397 | h | /**********************************
* FILE NAME: stdincludes.h
*
* DESCRIPTION: standard header file
**********************************/
#ifndef STDINCLUDES_H
#define STDINCLUDES_H
/*
* Macros
*/
#define FAILURE -1
#define SUCCESS 0
#define OK "OK"
/*
* Standard Header files
*/
#include <stdio.h>
#include <m... | [
"dwang022@gmail.com"
] | dwang022@gmail.com |
c51d3e649b1747d975c9a45ad0da06c080d15b0a | 6c2ab44d4785b7031e78efe4e5ad1602e65e4619 | /deps/lume/include/lume/normals.h | 8f73a03805ce6672f2edad07056b9e3c5896dd79 | [
"BSD-3-Clause",
"BSD-2-Clause",
"MIT",
"Zlib"
] | permissive | sreiter/lumeview | b152cd001fd52e15b9a20aa48856a005d5f44b32 | d535bc420a8e6766f633aff33696e16df0a2cff0 | refs/heads/master | 2020-03-28T18:58:33.163201 | 2018-09-28T14:29:16 | 2018-09-28T14:29:16 | 148,932,154 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,467 | h | // This file is part of lume, a C++ library for lightweight unstructured meshes
//
// Copyright (C) 2018 Sebastian Reiter
// Copyright (C) 2018 G-CSC, Goethe University Frankfurt
// Author: Sebastian Reiter <s.b.reiter@gmail.com>
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or w... | [
"s.b.reiter@gmail.com"
] | s.b.reiter@gmail.com |
0a08835380e9dd7f7101f356eb786536d08d2d47 | b59d246de917d0ba73e3a53211ec9f48fbf1c9eb | /SimpleTCS3200/SimpleTCS3200.h | a44e9e35f421cb7267d4691172829f61858a8dc2 | [] | no_license | per1234/TCS3200 | 52865eff1a6534dac810516d7c6924eb2a50f858 | ca5da4217138809cb46621a4468dbb87acc26946 | refs/heads/master | 2020-05-20T12:13:01.099356 | 2018-12-31T17:06:47 | 2018-12-31T17:06:47 | 185,566,548 | 0 | 0 | null | 2019-05-08T08:40:02 | 2019-05-08T08:40:02 | null | UTF-8 | C++ | false | false | 713 | h | #ifndef SimpleTCS3200_h
#define SimpleTCS3200_h
#include "Arduino.h"
#include "translateColour.h"
class SimpleTCS3200
{
public:
SimpleTCS3200(int s0, int s1, int s2, int s3, int out);
void readColour(int & R, int & G, int & B, int mapeo);
void calibrar(translateColour & tc);
void setR_limit... | [
"noreply@github.com"
] | per1234.noreply@github.com |
0dcc4307a6e711f370c470656df6b4c1c1484341 | 806819cd7a820ae65a6ea0c553a7cc09507eb5d0 | /3 - Problem Solving Paradigms/0 - Complete Search/0 - Iterative (One Loop, Linear Scan)/11078-open-credit-system.cpp | 8c744cf7452c42821dd0bfb6bce98a1af526213e | [] | no_license | xrav3nz/competitive-programming-3 | 7e70b8d23dc1f688ec97fd456b035adce5d5b34b | 0773a51c4c6c251b3c9e11f6e9a8dc12e7c07524 | refs/heads/master | 2021-01-10T20:50:13.807751 | 2015-05-17T01:53:50 | 2015-05-17T01:53:50 | 30,755,332 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 639 | cpp | #include <cstdio>
int max_score, max_difference, t, n, score;
int higher_score(int a, int b) {
return a > b ? a : b;
}
int main (int argc, char const *argv[]) {
#ifndef ONLINE_JUDGE
freopen("input.in", "r", stdin);
#endif
scanf("%d", &t);
while (t--) {
scanf("%d", &n);
max_sco... | [
"kyle_0420@hotmail.com"
] | kyle_0420@hotmail.com |
714466b07fefefc8ae237fa11b393141ac911cc5 | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/collectd/gumtree/collectd_repos_function_2306_collectd-5.6.1.cpp | 832741a7125383b27c11fc781d031aa20d7c767f | [] | no_license | niuxu18/logTracker-old | 97543445ea7e414ed40bdc681239365d33418975 | f2b060f13a0295387fe02187543db124916eb446 | refs/heads/master | 2021-09-13T21:39:37.686481 | 2017-12-11T03:36:34 | 2017-12-11T03:36:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 280 | cpp | int lcc_sort_identifiers (lcc_connection_t *c, /* {{{ */
lcc_identifier_t *idents, size_t idents_num)
{
if (idents == NULL)
{
lcc_set_errno (c, EINVAL);
return (-1);
}
qsort (idents, idents_num, sizeof (*idents),
lcc_identifier_compare);
return (0);
} | [
"993273596@qq.com"
] | 993273596@qq.com |
a844dc138e1745d93681b869fa5496972aa9b739 | d1c09d8584380516ca4a56c1fb01236542cb9776 | /lab8/lab8/testRepo.cpp | beaf6271542b88e1521b1ca576b3258041557fb6 | [] | no_license | MatyasM12/POO | 6b81b8bdf3251e44cc91e00ab4769103f2d3fd4e | 3250f70354b321fd05b53634c3c541e847be5cac | refs/heads/master | 2021-01-09T20:17:43.380983 | 2016-06-02T18:19:14 | 2016-06-02T18:19:14 | 60,285,605 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,935 | cpp | #include "Repo.h"
#include "Controller.h"
#include <assert.h>
#include <string.h>
#include <iostream>
using namespace std;
void testR()
{//constructor implicit
Vector q1 = Vector();
assert(q1.getSize() == 0);
//constructor de copiere
Vector v1, v2;
/*Pom *c1 = new Pom[3];
c1[0] = Pom(0, "par")... | [
"mihai_matyas@yahoo.com"
] | mihai_matyas@yahoo.com |
274fb63b79dff9438c4e5fe365b91257319ae00e | 89dedd7f3c7acc81d12e2bcb2e716f9af9e5fa04 | /net/log/trace_net_log_observer.h | 08907f2e230631438b47964c33d5a5ea76400d5a | [
"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 | 1,551 | h | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef NET_LOG_TRACE_NET_LOG_OBSERVER_H_
#define NET_LOG_TRACE_NET_LOG_OBSERVER_H_
#include "base/macros.h"
#include "base/trace_event/trace_log.h"
#inc... | [
"bino.zh@gmail.com"
] | bino.zh@gmail.com |
b8f961428815668b9df8930e01cbeba4e2541829 | c7214632c55cf1af484fc45a8d1d661687ba19c1 | /genAbs/waveGeneration/waveAlpha/waveAlphaFvPatchScalarField.H | 4637cd643d300a045e4df71655e755dbc8a4e927 | [] | no_license | phicau/olaFlow | 51701bcd297d01da8a8c696ea98f4ffdd6f31306 | 63238c318e8bdef2af40591f2e884f4103f8770f | refs/heads/master | 2022-08-17T01:03:10.463914 | 2022-07-24T14:39:23 | 2022-07-24T14:39:23 | 114,743,636 | 51 | 33 | null | null | null | null | UTF-8 | C++ | false | false | 9,694 | h | /*---------------------------------------------------------------------------*\
License
This file is part of olaFlow Project.
olaFlow 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... | [
"phicau@gmail.com"
] | phicau@gmail.com |
8370259894c5e25b785ca1083dcb1584ff723916 | f6054d78c4301bbc8e1708ec3ed66bc1e8551986 | /Source/CameraFinal/CameraFinalGameModeBase.cpp | ecfae86947b9643323caaab938f19ccad40a53c8 | [] | no_license | idksomething/HeroOfTheVillageYeet | 8f1bf94fa627a014f6233e04b0cfb3e52f1ac988 | b6764d4cb0a7ec40e909f7046c78545e4c9647d6 | refs/heads/master | 2020-05-25T07:26:47.682068 | 2019-05-20T17:42:49 | 2019-05-20T17:42:49 | 187,685,816 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 122 | cpp | // Fill out your copyright notice in the Description page of Project Settings.
#include "CameraFinalGameModeBase.h"
| [
"noreply@github.com"
] | idksomething.noreply@github.com |
1f7723a8da60f445a7a8cdca69ae2f19092f3404 | d9b9288eb607be4ebed5c28a246396329aed2913 | /src/utils/blacklist-fix/blacklist-fix-1.h | e3b18e770d66c73775f8b3aa83a928552479ebcf | [
"Apache-2.0"
] | permissive | 523334/imgbrd-grabber | 8a7cd58130c00661856f0ca7d957c73d693ce318 | a18dc84a1a9a7adfe0a20e47152d708ba098cd7b | refs/heads/master | 2021-01-15T20:37:58.747899 | 2016-09-10T23:17:43 | 2016-09-10T23:17:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 656 | h | #ifndef BLACKLIST_FIX_1_H
#define BLACKLIST_FIX_1_H
#include <QDialog>
#include <QMap>
#include "models/site.h"
namespace Ui
{
class BlacklistFix1;
}
class BlacklistFix1 : public QDialog
{
Q_OBJECT
public:
explicit BlacklistFix1(QMap<QString,Site*> sites, QWidget *parent = 0);
~Blacklis... | [
"bio.nus@hotmail.fr"
] | bio.nus@hotmail.fr |
8117a8576188c3d074ffe1515bdb752b1b9e5e1a | 4703e7ae907292598812704846a97db3533f4dc7 | /VektoriaApp/testRobo.cpp | 885a7431191c5e67c65d1d5b2a584a3cbbfb28cf | [] | no_license | cutecrait/marsgodgames | 57495692f3a14945c7c504263c8e87f7e99561fa | 6f1a94cc0172a27c0ef7150bb1f023c98fc6a6cd | refs/heads/master | 2023-06-24T11:42:43.377216 | 2021-07-26T09:39:10 | 2021-07-26T09:39:10 | 353,086,425 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 77 | cpp | #include "testRobo.h"
testRobo::testRobo()
{
}
testRobo::~testRobo()
{
}
| [
"hendrik.wilms97@gmail.com"
] | hendrik.wilms97@gmail.com |
e6b8747da5b52c3ca89ec3e37be7f027cee15975 | 5114265440a0b1be5fe22bfb1185d5643a193229 | /sycl/test/sub_group/scan_fp16.cpp | bfdb09f8f7f31e6266a74c3a2fd7f486654bb453 | [
"NCSA",
"LLVM-exception",
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | clevels/llvm | c2c05218a5dc22c6e2a411639102ed4f7103296c | df638c2271d34c1087fd9fc22cc8d0c513e8f53b | refs/heads/sycl | 2022-11-18T09:53:14.689313 | 2020-07-02T10:37:57 | 2020-07-02T10:37:57 | 233,906,949 | 0 | 0 | null | 2020-06-18T21:29:34 | 2020-01-14T18:20:34 | C++ | UTF-8 | C++ | false | false | 810 | cpp | // UNSUPPORTED: cuda
// CUDA compilation and runtime do not yet support sub-groups.
//
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %s -o %t.out
// RUN: %GPU_RUN_PLACEHOLDER %t.out
//==--------------- scan_fp16.cpp - SYCL sub_group scan test --------*- C++ -*---==//
//
// Part of the LLVM Project, under the Apa... | [
"noreply@github.com"
] | clevels.noreply@github.com |
b04b86200016562b0bb18cff749abb9a742339d9 | f681ee093f8f3b83ac5aac131c84664adac20c03 | /MagicMarket/TradingDay.cpp | 6a9b594d2d00a20a48df741d548cb05f91725323 | [] | no_license | walachey/magicmarket | 5554c61d81456d55826269bd4eb8868309eccfee | 634e807c540e81f376112d8716bfb4d4b137413e | refs/heads/master | 2021-01-02T09:29:00.655825 | 2017-08-03T12:03:55 | 2017-08-03T12:03:55 | 99,219,837 | 2 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 2,440 | cpp | #include "TradingDay.h"
#include "Stock.h"
#include "Market.h"
namespace MM
{
TradingDay::TradingDay(QuantLib::Date date, Stock *stock) : date(date), stock(stock)
{
saveFile = nullptr;
}
TradingDay::~TradingDay()
{
if (saveFile)
{
saveFile->close();
delete saveFile;
saveFile = nullptr;
}
}
... | [
"czapper@gmx.de"
] | czapper@gmx.de |
c8f6cbd2545949e602caae236305cd6b8fc57c6d | aa0f2f28ec0765bbf4631592eeacc5d11c968b8c | /EmptyProject/MathFunctions.h | 935de748e5a0780fd7d1d499643783aab6dac9e8 | [] | no_license | goskatopudel/essencegfx | 63ce783a701237710079c6ea549dbcc7615d0d28 | 9a2c9cba7bed7ab08b093cf9b37d914ae2b7a72d | refs/heads/master | 2020-05-21T19:23:46.716591 | 2016-12-16T21:55:32 | 2016-12-16T21:55:32 | 55,321,362 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,168 | h | #pragma once
#include "MathVector.h"
#include "MathMatrix.h"
template<typename T, i32 n>
Vector<T, n> operator +(Vector<T, n>const& lhs, Vector<T, n>const& rhs) {
Vector<T, n> v = lhs;
for (i32 i = 0; i < n; ++i) {
v[i] += rhs.data[i];
}
return v;
}
template<typename T, i32 n>
Vector<T, n>& operat... | [
"jakub.tyrcha@gmail.com"
] | jakub.tyrcha@gmail.com |
0ce8ada8ec667ee5bc17c853c8b044790a3575ee | fe517e5e62e0298a855d952537e156a97fa297d4 | /Lab3/Lab3.cpp | 0c966be4700c9bcacd95125801ade70f75ae5586 | [] | no_license | COMP118-PhoebeZizirou/Lab3 | 039c428de8d30b752b07e89003e120756d16ab8f | bee31625264999e79bd064b2ba0f45b9e8ac4a88 | refs/heads/master | 2023-04-02T12:06:51.867856 | 2021-04-14T20:44:27 | 2021-04-14T20:44:27 | 357,694,294 | 0 | 0 | null | 2021-04-14T20:44:27 | 2021-04-13T21:33:43 | C++ | UTF-8 | C++ | false | false | 5,162 | cpp | /** \file Lab3.cpp
* \brief A little with logical bugs in it
* \details This program is littered with logical bugs. Your task is the
* following:
* 1) Compile and run the program.
* 2) For each bug you find you must fix the bug then Check In
* t... | [
"zizirou.p@live.unic.ac.cy"
] | zizirou.p@live.unic.ac.cy |
1e97df3d20f16ee2685a82b75d3aa7d2593fa54f | ee797a93683470709c76c64a5bb58f118dcfe984 | /jogozinho/EstadoM.cpp | 23f3b1d190c83e5784a1b3c1d024552debc80e56 | [] | no_license | guiteixeirapimentel/LixoNoEspacoSimulator | ce4bab7b2d6d2211f8963d95ade26e61b9f16a72 | 4defec46dd948ee41aa936312fd102a6188fd851 | refs/heads/main | 2022-12-25T04:15:16.156928 | 2020-10-07T01:05:27 | 2020-10-07T01:05:27 | 301,891,938 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 47 | cpp | #include "EstadoM.h"
EstadoM::~EstadoM()
{} | [
"noreply@github.com"
] | guiteixeirapimentel.noreply@github.com |
41e202488d5f564be6b39a3332bc7d0722c0b634 | d344b96c1416fc02281c96c621fb983cb93bc02c | /include/hltypes/hclipboard.h | eac0ff976b2bfb15a093fa1cb57005836a704292 | [
"BSD-3-Clause"
] | permissive | JobsSteve/hltypes | f64a51f2b7a0c4adeb46c593453592504c2f40d9 | 825854e0ba4dff19c735bb7ddb21d92d8aa003c7 | refs/heads/master | 2021-01-19T05:19:18.748856 | 2017-04-06T11:31:02 | 2017-04-06T11:31:02 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,406 | h | /// @file
/// @version 4.0
///
/// @section LICENSE
///
/// This program is free software; you can redistribute it and/or modify it under
/// the terms of the BSD license: http://opensource.org/licenses/BSD-3-Clause
///
/// @section DESCRIPTION
///
/// Provides high level system clipboard handling.
#ifndef HLTYPES... | [
"boris.blizzard@gmail.com"
] | boris.blizzard@gmail.com |
83cb7b97dd21ae0a4eea5ab0f0f31a70246f2651 | 11dab97b3fd6b576eff0d6e18ad81b9dccf854d2 | /portfolio Practice/Day43/Source/ZeldaBOTW/Weapon/Weapon_Equip.h | 6065479ce8ea2d3f60ae26e9428e96b55eb171ab | [] | no_license | Ramge12/StudyLine | b8ac0dde0f9cc9c7be0837b51449ff55bc21d636 | 0cc1109380e6df5935688205f0ea31494fb6d9cf | refs/heads/master | 2020-04-01T22:57:43.702219 | 2019-05-04T11:43:13 | 2019-05-04T11:43:13 | 153,734,851 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,409 | h | // Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "ZeldaBOTW.h"
#include "Object/ItemClass.h"
#include "Weapon_Equip.generated.h"
UENUM()
enum class WeaponType : uint8 {
WeaponType_Sword UMETA(DisplayName = "WeaponType_Sword"),
WeaponType_Bow UMETA(DisplayName ... | [
"gogo2645@naver.com"
] | gogo2645@naver.com |
8bc37bd56ae1bde5718263c5d086b628a95226c7 | 33e560cfbc2cbd17610ac9a76df203eb8d923399 | /nowcoder_algorithm/17构造回文.cpp | 8a4d09191154f69d0feeb1fd91530d5f1fd1bf5f | [
"LicenseRef-scancode-unknown-license-reference",
"Apache-2.0"
] | permissive | gaobaoru/code_day | 935b4d63ff0c7a5d8d25a55069d8af5db21ec67f | c00aab4ea56309b4c000f3ef7056e8aa4d9ff7ec | refs/heads/master | 2020-04-10T03:28:49.439274 | 2017-01-21T14:37:09 | 2017-01-21T14:37:09 | 62,032,328 | 0 | 1 | null | 2016-11-14T12:54:16 | 2016-06-27T06:55:35 | C++ | UTF-8 | C++ | false | false | 1,040 | cpp | 给定一个字符串s,你可以从中删除一些字符,使得剩下的串是一个回文串。如何删除才能使得回文串最长呢?
输出需要删除的字符个数。
#include <iostream>
#include <string>
using namespace std;
int dp[1002][1002];
int max(const int &a, const int &b){
return a >= b ? a : b;
}
int huiwen(string &s, const int &begin, const int &end){
if(begin > end) return 0;
if(begin == en... | [
"gaobaoru2010@126.com"
] | gaobaoru2010@126.com |
64ae636ba4105c13ac7853b5fd4033c62d46a514 | a388bdb5a7072ca7d19e6d466205bf9e36c5183f | /interview/04_CTRIP/2_InformationGain.cpp | c704f3668d4f8df3fee0047f0da41c15a19bbd91 | [] | no_license | QuinnRong/cplusplus | e4a09c4e4bc35c6fbb75765c4ce58e0a012c3ef2 | 75612034596d52a186609534566262ffa403dc98 | refs/heads/master | 2020-03-23T22:02:10.492519 | 2019-02-20T08:07:07 | 2019-02-20T08:07:07 | 142,148,869 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,744 | cpp | #include <cstdio>
#include <iostream>
#include <unordered_map>
#include <string>
#include <cmath>
using namespace std;
double CalEntropy(int a, int b)
{ /*
input:
two frequencies
output:
entropy
*/
double entropy, p;
if (a == 0 || b == 0)
{
entropy = 0;
}
else
{
p = a * 1.0 / (a + b);
entropy = - p... | [
"qyrong@sjtu.edu.cn"
] | qyrong@sjtu.edu.cn |
c18c63da0524d6967a7c7bc74d63ac60dacaa0a3 | d6face59a153b062f1a86b75fc377fdb5f5a52d4 | /src/starboard/shared/blittergles/blitter_is_surface_format_supported_by_render_target_surface.cc | a435c4f88a1dc20ead5c6159276c36e1f8e1c2e9 | [
"BSD-3-Clause",
"Apache-2.0"
] | permissive | blockspacer/cobalt-clone-28052019 | 27fd44e64104e84a4a72d67ceaa8bafcfa72b4a8 | b94e4f78f0ba877fc15310648c72c9c4df8b0ae2 | refs/heads/master | 2022-10-26T04:35:33.702874 | 2019-05-29T11:07:12 | 2019-05-29T11:54:58 | 188,976,123 | 0 | 2 | null | 2022-10-03T12:37:17 | 2019-05-28T07:22:56 | null | UTF-8 | C++ | false | false | 848 | cc | // Copyright 2019 The Cobalt Authors. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by ap... | [
"trofimov_d_a@magnit.ru"
] | trofimov_d_a@magnit.ru |
20995762a1ff5f3ffce4c66de8fe13e501ff9e07 | 4340905185fc901174c00329bb6293ffa7dcf914 | /BattleTank_Sub/Source/BattleTank_Sub/BattleTank_Sub.cpp | 0591ec43f03e0398046c82ca7413098dd42ad72a | [] | no_license | xBurgueno/BattleTank | 9c72efae537ec9d744a0d49966cf7825389fd676 | 3f941b819a47daff08c54b8863e4e9b1f977b60f | refs/heads/master | 2020-03-25T22:19:34.541877 | 2019-01-19T04:35:31 | 2019-01-19T04:35:31 | 144,216,788 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 235 | cpp | // Fill out your copyright notice in the Description page of Project Settings.
#include "BattleTank_Sub.h"
#include "Modules/ModuleManager.h"
IMPLEMENT_PRIMARY_GAME_MODULE( FDefaultGameModuleImpl, BattleTank_Sub, "BattleTank_Sub" );
| [
"xavierburgueno.xb@gmail.com"
] | xavierburgueno.xb@gmail.com |
9359368fe5e98a491c721dec670ef4b2f9104c61 | f0b7ddd4bcdf99f027a75e283b22a0264ffa05ba | /DungeonEscape/Intermediate/Build/Mac/UE4Editor/Inc/DungeonEscape/DungeonEscapeGameModeBase.generated.h | 2eb3a8922c98f66a52cfbea179bec26eadd8e25a | [] | no_license | Onygox/UnrealProjects | cd1d8c29f228a7f8e0e2b84bf3c0102761fd07ef | e079c9593a5d9b794d17a409ff4f5175fbffaa0a | refs/heads/master | 2022-12-12T21:19:24.416300 | 2020-09-11T16:38:08 | 2020-09-11T16:38:08 | 277,343,579 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,096 | h | // Copyright Epic Games, Inc. All Rights Reserved.
/*===========================================================================
Generated code exported from UnrealHeaderTool.
DO NOT modify this manually! Edit the corresponding .h files instead!
========================================================================... | [
"miell534@newschool.edu"
] | miell534@newschool.edu |
298124b33ea244fb96bb4be1733ea21b130b9996 | 6822d7a1de1268cdd7ad52b6a18c206a41077fbd | /aws-cpp-sdk-firehose/include/aws/firehose/model/DescribeDeliveryStreamRequest.h | 6441d77aad5977947ebbe5d02909a4573e804065 | [
"Apache-2.0",
"JSON",
"MIT"
] | permissive | edolstra/aws-sdk-cpp | 57c924ef54f17a67a955c34239622851a9d52ed8 | b2d6affb450a7e276d39f1590bb644d73d721082 | refs/heads/master | 2020-04-05T14:25:50.895804 | 2016-02-16T02:04:09 | 2016-02-16T02:04:09 | 51,923,609 | 0 | 0 | null | 2016-02-17T13:15:00 | 2016-02-17T13:14:59 | null | UTF-8 | C++ | false | false | 5,735 | h | /*
* Copyright 2010-2015 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file... | [
"henso@amazon.com"
] | henso@amazon.com |
9fbed0d78e9da42d3b83f4d8b2d6cbc990ea4e2f | 9412d08658d04d88808bd3f22f8b7f1e5cc667c3 | /cameras/VidCapture/CVUtil.h | dc70f5b4414e6af5d89e48b2a6596b81666ea930 | [
"BSD-3-Clause"
] | permissive | iceblu3710/open-phd-guiding | 7b5ce168244236d98201ba5cbc704d5d0a1db878 | 80e24551812f1b7dd58712c197b3bb5219d34ca8 | refs/heads/master | 2021-01-20T10:29:35.633578 | 2015-04-01T16:45:34 | 2015-04-01T16:45:34 | 33,305,680 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,991 | h | /// \file CVUtil.h
/// \brief CVUtil.h defines some basic utility functions usable throughout
/// CodeVis apps.
// Written by Michael Ellison
//-------------------------------------------------------------------------
// CodeVis's Free License
// www.codevis.com... | [
"bretm@boneheads.us@a4fd5c06-7e29-11de-b8ac-f508f1a2864c"
] | bretm@boneheads.us@a4fd5c06-7e29-11de-b8ac-f508f1a2864c |
d178e50a4fabd71ce334700b3d40be74319ca146 | e1700081b3e9fa1c74e6dd903da767a3fdeca7f5 | /libs/misc/slowmotionspeededitdialog.cpp | 4189e30aba455370060ce915c4370ac22634cd85 | [
"MIT"
] | permissive | i-RIC/prepost-gui | 2fdd727625751e624245c3b9c88ca5aa496674c0 | 8de8a3ef8366adc7d489edcd500a691a44d6fdad | refs/heads/develop_v4 | 2023-08-31T09:10:21.010343 | 2023-08-31T06:54:26 | 2023-08-31T06:54:26 | 67,224,522 | 8 | 12 | MIT | 2023-08-29T23:04:45 | 2016-09-02T13:24:00 | C++ | UTF-8 | C++ | false | false | 524 | cpp | #include "ui_slowmotionspeededitdialog.h"
#include "slowmotionspeededitdialog.h"
SlowmotionSpeedEditDialog::SlowmotionSpeedEditDialog(QWidget* parent) :
QDialog(parent),
ui(new Ui::SlowmotionSpeedEditDialog)
{
ui->setupUi(this);
}
SlowmotionSpeedEditDialog::~SlowmotionSpeedEditDialog()
{
delete ui;
... | [
"kinoue@2cc7cdd0-1db9-4218-aa4a-1d8dad43e0f0"
] | kinoue@2cc7cdd0-1db9-4218-aa4a-1d8dad43e0f0 |
d439a82fcdb2e3e9ca93b0e5c123a40c7f9e4305 | 7357a35e69b806bc4cf16e213fb0ee7f26291654 | /hoard-testing/malloc-testing/NikitaMTtest.cpp | 2a0685ccaead9dfeae8ae4900481a21559f26911 | [] | no_license | h0tk3y/hoard | a4bcbfc6727289ed26100674d7f162781edad002 | b63dca17b6263051092b29c30514265c56477cf9 | refs/heads/master | 2021-03-12T23:01:41.690681 | 2014-01-24T21:29:26 | 2014-01-24T21:29:26 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,297 | cpp | #include <cstdlib>
#include <iostream>
#include <thread>
template <typename T>
struct vector {
T* data;
size_t capacity;
size_t size;
vector() {
void* ptr;
posix_memalign(&ptr, 1 << (3 + rand() % 10), sizeof(T) * (capacity = 64));
data = (T*) ptr;
siz... | [
"hotkeytlt@gmail.com"
] | hotkeytlt@gmail.com |
31db6132281b815861cceba0dae014a14b81d27c | 7693942e7ba93945b552e84607c6afb1064fe433 | /harshproject.cpp | 76c87995d27f1d69627a4d4e8236568cab8fca44 | [] | no_license | rahulp2020/new- | f394dfe4c5a6d970e0ca64b28e11aa4269d31974 | ec3b95bc979f52fdca1bdb009f3356db942f756d | refs/heads/master | 2022-06-08T15:32:52.424625 | 2020-05-08T09:40:06 | 2020-05-08T09:40:06 | 262,136,651 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,613 | cpp |
#include <fstream>
#include <stdio.h>
#include <sys/ipc.h>
#include <sys/shm.h>
#include <semaphore.h>
#include <unistd.h>
#include <iostream>
#include <fstream>
using namespace std;
class application {
public:
string name;
int internees, stipend;
int input();
anotheruser_access();
};
int appl... | [
"rahulprasoon24@gmail.com"
] | rahulprasoon24@gmail.com |
3826f9529169f83d647623109a372df6e35b4d46 | 58f29b9d4b832d0176b65af2c674a7aefc7cf716 | /SFML Framework/Source/Gui/TextEditBox.hpp | ea3ec1ee7ca39ab9009a066e5c87bd50aa605c23 | [] | no_license | tobsa/SFML-Framework | 4a1648ab58026dd8ec2cbd02fc320458e2278d14 | bf1919d139f48e4735d0c03d2b647730915334aa | refs/heads/master | 2021-01-20T05:29:40.889321 | 2014-07-14T21:05:47 | 2014-07-14T21:05:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,442 | hpp | ////////////////////////////////////////////////////////////////////////////////
// Filename: TextEditBox.hpp
// Author: Tobias Savinainen
// Year: 2013
////////////////////////////////////////////////////////////////////////////////
#ifndef SFX_TEXT_EDIT_BOX_HPP
#define SFX_TEXT_EDIT_BOX_HPP
///////////... | [
"tobias@savinainen.se"
] | tobias@savinainen.se |
6f863572534780005d665fef458ceafb3754974b | 5bc04daeef5284871264a7446aadf7552ec0d195 | /lib/mockturtle/include/mockturtle/utils/stopwatch.hpp | 5f769cd78d94e523967c6c013bbfbf1509b15083 | [
"MIT"
] | permissive | Ace-Ma/LSOracle | a8fd7efe8927f8154ea37407bac727e409098ed5 | 6e940906303ef6c2c6b96352f44206567fdd50d3 | refs/heads/master | 2020-07-23T15:36:18.224385 | 2019-08-16T15:58:33 | 2019-08-16T15:58:33 | 207,612,130 | 0 | 0 | MIT | 2019-09-10T16:42:43 | 2019-09-10T16:42:43 | null | UTF-8 | C++ | false | false | 4,465 | hpp | /* mockturtle: C++ logic network library
* Copyright (C) 2018 EPFL
*
* Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentation
* files (the "Software"), to deal in the Software without
* restriction, including without limitation the rights to u... | [
"u1219556@lnissrv4.eng.utah.edu"
] | u1219556@lnissrv4.eng.utah.edu |
ad3ee482f85eaef1ce5f26500882612495344396 | 8778b5f52dbdd9356d1899c88fccfba14b0d0d61 | /bbqshop/ZHFuncLib/zhfunclib.cpp | bcbe08f31fc9e6223f92165f3239371c387c6f14 | [] | no_license | qinan2014/bbqshop | 2b2548ace6dfbd37a5a88d755ed13ee2b3fc0761 | 5ba6420eec2e2f0e132e7d4f243a6b6f615ae779 | refs/heads/master | 2021-01-23T09:38:24.536952 | 2017-08-29T14:14:46 | 2017-08-29T14:14:46 | 102,586,592 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 8,920 | cpp | #include "zhfunclib.h"
#include <QCoreApplication>
#pragma comment(lib ,"user32.lib")
#include <Tlhelp32.h>
#include <time.h>
#pragma comment (lib, "ws2_32.lib")
#include <QString>
#include <QFile>
#include "AllExeName.h"
#include <QSettings>
ZHFuncLib::ZHFuncLib()
{
}
ZHFuncLib::~ZHFuncLib()
{
}
std::string ZHF... | [
"478396100@qq.com"
] | 478396100@qq.com |
28ada1c02b070a3e40ad0ff0e3ac5752cb172cc6 | 20a14e99a71bedc22742ddb64291d224d0c9e2fc | /Term1/Lab4/Task1/main.cpp | fda31bfdccfb6443cf931e85b9bebe8e42241996 | [] | no_license | keyclicker/labs | f0cd8ed2261204ff7c42769a9fc0b0d7fa33d842 | 45692d9e2b17253aec061d386ad524f829cbd633 | refs/heads/master | 2023-05-11T16:18:36.693061 | 2023-05-05T08:51:12 | 2023-05-05T08:51:12 | 207,407,019 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 579 | cpp | #include <iostream>
#include <string>
using namespace std;
bool isPalindrom(string::const_iterator beg, string::const_iterator end)
{
--end;
bool res = true;
for (;beg <= end; ++beg, --end)
{
if (*beg != *end)
{
res = false;
break;
}
}
return res;
}
string getPalindrom(const strin... | [
"kolchikcv@ukr.net"
] | kolchikcv@ukr.net |
2d7cf972ff7fbb78dd88f179d63e5e024a19a699 | 59dd6f7106b1cdc27020e899a6cf5ef573421a3f | /src/Leddar/LdTextProperty.h | e13c543a9ba9bbd1301ffa00a06c5f10a0501329 | [] | no_license | MaradiSu/LeddarSDK | cfaa8179dbcab0bea419265d1b266766f5491650 | b103ba1665719739887cf350c23af8d56ee34d00 | refs/heads/master | 2023-04-20T12:00:39.031298 | 2021-05-03T13:17:19 | 2021-05-03T13:18:15 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,132 | h | // *****************************************************************************
// Module..: Leddar
//
/// \file LdTextProperty.h
///
/// \brief Definition of class LdTextProperty.
///
/// \author Louis Perreault
///
/// \since May 2014
//
// Copyright (c) 2014 LeddarTech Inc. All rights reserved.
// *********... | [
"david.levy@leddartech.com"
] | david.levy@leddartech.com |
6c3e04a9cc2d78c70a325c9dee0ee1efb5b64abc | 92a6c46d0f8a18a38f90f068bab4f8828edffc16 | /lg/新手/P1424.cpp | bc75e158802f8d42c5c21298923180d4c8cc39e8 | [] | no_license | halo7777777/practice | 27e45a4d1c9b05bcb5925853583ddae85540f0bb | 14076b64f28d7c8b49c9e2a4ba601a4953a8a408 | refs/heads/master | 2020-06-16T07:34:38.382658 | 2019-12-06T03:35:43 | 2019-12-06T03:35:43 | 195,513,788 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 226 | cpp | #include<cstdio>
int main()
{
int x, n;
scanf("%d%d",&x,&n);
int s = 0;
for(int i = 0; i < n; i++)
{
if((x+i)%7 != 6 && (x+i)%7 != 0)
s += 250;
}
printf("%d",s);
return 0;
}
| [
"1144265174@qq.com"
] | 1144265174@qq.com |
620e6abebab9eef3fea745b35822d099bd42f69f | 09ad211d426e093aec7e674334834f1de188548e | /Chapter10/10_deep_learning/01_ann/src/helper.h | 05ecb904eae780b292f01ee06a8ab794b796658e | [
"MIT"
] | permissive | PacktPublishing/Learn-CUDA-Programming | b818f4766304bfe7b45719ad7c11c4d4dc08a2f5 | 2d0abbeeea9fbba79ef6cd63bef4148e4c00b1ac | refs/heads/master | 2023-08-29T10:12:33.682703 | 2023-04-04T18:20:33 | 2023-04-04T18:20:33 | 140,380,398 | 722 | 201 | MIT | 2023-04-04T18:20:34 | 2018-07-10T05:14:55 | Cuda | UTF-8 | C++ | false | false | 6,910 | h | #ifndef _HELPER_H_
#define _HELPER_H_
#include <cudnn.h>
#include <cublas_v2.h>
// #include <helper_cuda.h>
#include <curand.h>
namespace cudl
{
#define BLOCK_DIM_1D 512
#define BLOCK_DIM 16
/* DEBUG FLAGS */
#define DEBUG_FORWARD 0
#define DEBUG_BACKWARD 0
#define DEBUG_CONV 0
#define DEBUG_DENSE... | [
"haanjack@gmail.com"
] | haanjack@gmail.com |
944827cd0b58628eb8815adf7974ef2355898ad0 | ad2778fd033d78058cd3fb8f0f28d836cc5ac2a6 | /计算机图形学题目6-全局光照/OpenGL/OpenGL/utils/clock.cpp | 9fdf9701f3bbe1b0ca5d76ff88dbde672ca1a866 | [] | no_license | fhyPayaso/OpenGlLearn | 75b0574bf5f4702876a877d20ae6316216ecf101 | b0f6d02117930a2c6cbc355a93f150d71e4c1b1a | refs/heads/master | 2020-06-15T03:59:41.434396 | 2019-07-04T08:30:44 | 2019-07-04T08:30:44 | 195,197,879 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,337 | cpp | /*=====================================================================
Code By Nicholas Chapman.
nickamy@paradise.net.nz
You may use this code for any non-commercial project,
as long as you do not remove this description.
You may *not* use this code for any commercial project.
====================================... | [
"410619823@qq.com"
] | 410619823@qq.com |
a88729a3efcec8b172120a9e73f73a799434db60 | ee551b60f9571d538d96147201703c2ba22d4ffc | /include/sick_safetyscanners_base/cola2/MonitoringCaseTableHeaderVariableCommand.h | 44c4329b06632454b4e30a6075ed6932f6530333 | [
"Apache-2.0"
] | permissive | Barkeno/sick_safetyscanners_base | 9006c58d595ca33508dbc448cc12c457f09bb90b | d38a78770339773c84b8326a4881ce963b658468 | refs/heads/master | 2020-12-15T00:01:45.692534 | 2020-10-15T01:43:18 | 2020-10-15T01:43:18 | 234,919,878 | 1 | 0 | Apache-2.0 | 2020-01-19T15:17:10 | 2020-01-19T15:17:10 | null | UTF-8 | C++ | false | false | 2,811 | h | // this is for emacs file handling -*- mode: c++; indent-tabs-mode: nil -*-
// -- BEGIN LICENSE BLOCK ----------------------------------------------
/*!
* Copyright (C) 2018, SICK AG, Waldkirch
* Copyright (C) 2018, FZI Forschungszentrum Informatik, Karlsruhe, Germany
*
*
* Licensed under the Apache License, Versio... | [
"1193868236@qq.com"
] | 1193868236@qq.com |
234f360c3693ca3adc829fa783ab8b25d786e386 | ebd6f68d47e192da7f81c528312358cfe8052c8d | /decoders/swig/openfst-1.6.3/src/script/map.cc | 2856a69592e6f5d75bb9fb94154b434877321227 | [
"Apache-2.0"
] | permissive | inishchith/DeepSpeech | 965ad34d69eb4d150ddf996d30d02a1b29c97d25 | dcb7c716bc794d7690d96ed40179ed1996968a41 | refs/heads/master | 2021-01-16T16:16:05.282278 | 2020-05-19T08:00:33 | 2020-05-19T08:00:33 | 243,180,319 | 1 | 0 | Apache-2.0 | 2020-02-26T05:54:51 | 2020-02-26T05:54:50 | null | UTF-8 | C++ | false | false | 755 | cc | // See www.openfst.org for extensive documentation on this weighted
// finite-state transducer library.
#include <fst/script/fst-class.h>
#include <fst/script/map.h>
#include <fst/script/script-impl.h>
namespace fst {
namespace script {
FstClass *Map(const FstClass &ifst, MapType map_type, float delta,
... | [
"inishchith@gmail.com"
] | inishchith@gmail.com |
ce76185442da0d3c7ef4152c3f1d729f8537220a | e4621faec34e9b6859776f10caa3ca59d92bde14 | /src/app/CascadeSearchApplication.h | b1191afc54c89d0d9b8176af297894d92b121073 | [
"Apache-2.0"
] | permissive | crux-toolkit/crux-toolkit | a92eb83f8483bd581cadc0d41f8b6dc6983f6997 | bc4562efe1c2ebe33aaf19f816370193bca7c390 | refs/heads/master | 2023-08-08T11:17:01.289812 | 2023-07-25T18:47:03 | 2023-07-25T18:47:03 | 69,608,338 | 32 | 44 | NOASSERTION | 2023-09-01T23:54:26 | 2016-09-29T21:13:07 | C++ | UTF-8 | C++ | false | false | 1,779 | h | /**
* \file CascadeSearchApplication.h
* AUTHOR: Attila Kertesz-Farkas
* CREATE DATE: 30 May 2015
* \brief Iterative PSM meta-search via Cascade protocol
***********************************************************/
#ifndef CascadeSearchApplication_H
#define CascadeSearchApplication_H
#include "CruxApplication.h"... | [
"kfattila@212732f7-e82a-48c5-b261-38c1ba6edc5e"
] | kfattila@212732f7-e82a-48c5-b261-38c1ba6edc5e |
c3560b4c82981b80ee3b5436f2e07d5ba5be4fcb | 1f63dde39fcc5f8be29f2acb947c41f1b6f1683e | /Boss2D/boost/gil/extension/io/pnm/detail/writer_backend.hpp | 38672e6f71f794f87846441f3338d2cec672abec | [
"MIT"
] | permissive | koobonil/Boss2D | 09ca948823e0df5a5a53b64a10033c4f3665483a | e5eb355b57228a701495f2660f137bd05628c202 | refs/heads/master | 2022-10-20T09:02:51.341143 | 2019-07-18T02:13:44 | 2019-07-18T02:13:44 | 105,999,368 | 7 | 2 | MIT | 2022-10-04T23:31:12 | 2017-10-06T11:57:07 | C++ | UTF-8 | C++ | false | false | 1,539 | hpp | /*
Copyright 2012 Christian Henning
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/LICENSE_1_0.txt).
*/
/***********************************************************************************... | [
"slacealic@nate.com"
] | slacealic@nate.com |
cb7096aeca5d5e6cb4b4afe1f11a24395b7f1595 | 3b13eedb87e6545f832e1c62b8cb05b8428a897b | /src/main/avikodak/prep/company/google/geeksforgeeks/arrays/page14/minoperationspalindrome.h | e0f302c1da27c336f0e16d595acbb3c1ac1a4a06 | [] | no_license | avikodak/algos_v2 | a9c66b2f2b862318f12feb216240a9a66249aa2b | e1c77f1064c83599d0e57f426319ab536a6eeb29 | refs/heads/master | 2021-01-19T20:43:29.366352 | 2017-03-25T17:15:22 | 2017-03-25T17:15:22 | 24,980,353 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 7,200 | h | /****************************************************************************************************************************************************
* File Name : minoperationspalindrome.h
* File Location : /algos_v2/src/main/avikodak/prep/company/google/geeksforgeeks/arrays/page14/... | [
"avikodak@gmail.com"
] | avikodak@gmail.com |
c8d65cb0992408f1e1e03f352b162c1e5c6655fa | ab2e8013cf7d4895b5c4d66ba3283be818496c79 | /StrenthFR/client/client.cpp | 048561c2f66cdad1bf32edecbdba49494be5e0b7 | [] | no_license | langya2014/linux-programming | 7121675d10369418d19e489da9ca1b4f14f0e12c | 24122cb89bba2d81bfc8ea9e6d7dd992d535f675 | refs/heads/master | 2016-09-05T23:11:01.981283 | 2016-03-04T05:05:14 | 2016-03-04T05:05:14 | 33,642,452 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,503 | cpp | #include <iostream>
#include <json/json.h>
#include <json/reader.h>
#include <json/writer.h>
#include <sys/socket.h>
#include <arpa/inet.h>
#include <netinet/in.h>
#include <stdlib.h>
#include <errno.h>
#include <string.h>
#include <stdio.h>
using namespace std;
using namespace Json;
#define PORT 40001... | [
"1169201455@qq.com"
] | 1169201455@qq.com |
24d6df0471baf093b0720824907d48831cf60f13 | 64944f72b72ca1c5e85280d957a9ba6a8024cd3f | /cw2_helper/src/traj_planner_node_q4a.cpp | 4e335a54190aef1cba35dd1202ce91f4f333d25f | [] | no_license | surgical-vision/compgx01_lab | e5f35a6620f2a5055d59cdaaf75fff8fe6ed6438 | c0785278d9e3e486fff701bee02482f076aa63e0 | refs/heads/master | 2021-08-19T20:10:26.608768 | 2017-11-27T10:11:22 | 2017-11-27T10:11:22 | 107,863,477 | 7 | 1 | null | 2017-11-10T19:19:26 | 2017-10-22T12:23:03 | CMake | UTF-8 | C++ | false | false | 1,263 | cpp | #include <ros/ros.h>
#include <cw2_helper/YoubotIkine.h>
#include <rosbag/bag.h>
#include <rosbag/view.h>
#include <trajectory_msgs/JointTrajectory.h>
#include <geometry_msgs/Point.h>
#include <boost/foreach.hpp>
#define foreach BOOST_FOREACH
trajectory_msgs::JointTrajectoryPoint traj_pt;
MatrixXd get_checkpoint()
{... | [
"krittin.pachtrachai.13@ucl.ac.uk"
] | krittin.pachtrachai.13@ucl.ac.uk |
3ccc4e418111f7195175dc65952d64b44e6b36cc | f5add335feb88b57e1b2f5a23217298b6f698586 | /ChatServer/src/NMessage/ChatMessage.pb.cc | 0e519e1c786bcd61cdb07404816231272553634e | [] | no_license | truelsy/iEngine | bdd5de84cae5974c1ea2ceebc4df5dca2b3b8ba9 | 7932b34fafda4d44ccd5e38b5bd4445cc299c108 | refs/heads/master | 2021-01-18T13:54:51.101233 | 2016-02-29T08:23:52 | 2016-02-29T08:23:52 | 24,037,259 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | true | 17,596 | cc | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: ChatMessage.proto
#define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION
#include "ChatMessage.pb.h"
#include <algorithm>
#include <google/protobuf/stubs/common.h>
#include <google/protobuf/stubs/once.h>
#include <google/protobuf/io/coded_stream.h>... | [
"mega@mega-ubuntu.(none)"
] | mega@mega-ubuntu.(none) |
fed8d01b90e5cd5dfb23a65178e9e420c8776b02 | a5bdaebbad369f5a5c6da3997e6984f94c0941a2 | /2018/10/main.cpp | 8781c943ba021f5ccb1995c0e5372c41de7a27bc | [] | no_license | simplay/adventofcode_solutions | fa21cba271f18e856dc19db350b5dcf7d4cb8a56 | 937bae472f62b385579bd86822ca5ae7b1dddfac | refs/heads/master | 2021-05-06T09:11:09.074741 | 2018-12-19T18:19:44 | 2018-12-19T18:19:44 | 114,048,907 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,669 | cpp | #include <string>
#include <algorithm>
#include <iostream>
#include <fstream>
#include <vector>
#include <regex>
#include <unordered_map>
#include <cstdio>
#include <stack>
#include <cmath>
#include <unordered_set>
#include <set>
#include <limits>
using namespace std;
struct Star {
float px;
float py;
float vx;... | [
"silent.simplay@gmail.com"
] | silent.simplay@gmail.com |
dc3b5ba7720ac1bff1f28540cb2fd665b8f8d29c | 269ac89db7f995d1c4c04c7fcc87d5591cd2bcf9 | /Core/Source/odgl_ShaderManager.cpp | d50426be43858a778e21e45f284f818fa7ee4803 | [] | no_license | dmoody256/OpenDoorGL | fa9a4ff6ddac298afe47a704db63603683b96d39 | 43bb8c9e675f72873677f92328111017c3a31769 | refs/heads/master | 2021-06-02T06:38:44.328115 | 2020-04-30T17:28:14 | 2020-04-30T17:28:14 | 116,090,216 | 1 | 0 | null | 2018-06-20T18:41:49 | 2018-01-03T04:13:03 | C++ | UTF-8 | C++ | false | false | 3,698 | cpp |
#include "odgl_Include.hpp"
#include "odgl_ShaderManager.hpp"
#include "odgl_Shaders.hpp"
#include <sstream>
#include <vector>
namespace OpenDoorGL
{
const char *ShaderManager::GetTextureModelFragShader()
{
return textureModel_frag.c_str();
}
const char *ShaderManager::GetTextureModelVertShader()
{
return ... | [
"dmoody256@gmail.com"
] | dmoody256@gmail.com |
34d542736886588b95eef665f31dd09973fae839 | 5eeca28af765524f704f12d944ab8127ebd2f040 | /old/Plugin/Serie/fenetreserie.h | b1d18a3086d6e62412a4c20f773627b9a4a61924 | [] | no_license | Chewnonobelix/Inventory | 54541aea002d93cb0322ef12a7118b5c4e640bfd | f10d1cbfa9d1cd5e860f88fdfb465e36e63a11e6 | refs/heads/master | 2021-01-09T09:37:52.677394 | 2017-02-08T08:52:34 | 2017-02-08T08:52:34 | 81,189,550 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 678 | h | #ifndef FENETRESERIE_H
#define FENETRESERIE_H
#include <QDialog>
#include <QInputDialog>
#include <QTableWidgetItem>
#include "Serie.h"
#include "serie_global.h"
namespace Ui {
class FenetreSerie;
}
class SERIESHARED_EXPORT FenetreSerie : public QDialog
{
Q_OBJECT
public:
explicit Fene... | [
"chewnonobelix@gmail.com"
] | chewnonobelix@gmail.com |
b81e32e2392bd51ed1c6252cfe609279ae98e68c | bc01d89e3b77b9b60afd6f5f8fcad5675b813f8e | /multimediacommscontroller/mmcccontroller/src/mccfactory.cpp | 8136ff99155792533d4cefa1f414fcdd739ec190 | [] | no_license | SymbianSource/oss.FCL.sf.mw.ipappsrv | fce862742655303fcfa05b9e77788734aa66724e | 65c20a5a6e85f048aa40eb91066941f2f508a4d2 | refs/heads/master | 2021-01-12T15:40:59.380107 | 2010-09-17T05:32:38 | 2010-09-17T05:32:38 | 71,849,396 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,302 | cpp | /*
* Copyright (c) 2002-2004 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of "Eclipse Public License v1.0"
* which accompanies this distribution, and is available
* at the URL "http://www.eclipse.org/legal/epl-... | [
"kirill.dremov@nokia.com"
] | kirill.dremov@nokia.com |
56c476f14e3e64fba95a875ae3a8770806216f35 | 70baf8b9236095b325409de77325d8ac15a48d8d | /tools/lldb/include/lldb/Host/android/Android.h | 08e7dd93b2856384c11f0ef789db9842b795a5e2 | [
"NCSA"
] | permissive | happybaoliang/llvm | ab5bdf126e279a01411b9b5b35b8dbd4d011eadc | 46884f0bbb2a65127350f4cb9095bd06ff058535 | refs/heads/master | 2021-01-12T02:51:38.075844 | 2017-01-10T14:57:50 | 2017-01-10T14:57:50 | 78,118,092 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 634 | h | //===-- lldb-android.h --------------------------------------------*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-----------------------------------------------------... | [
"happybaoliang@gmail.com"
] | happybaoliang@gmail.com |
e6e4a33b52f3bccc4f52fef7886d03c182badb80 | 172722dbdcfda99f221d9bdf55ccde1d214958c7 | /PortForwarder.h | 48b3a894b0545175825d4718d60cca9b95b57dba | [
"BSD-3-Clause",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | comuttun/portforwarder | e042b94d28f17c7a5a0767239b70591a6d995067 | f0f5ef819dc072878bbf20b10dbef4c9aa9903d5 | refs/heads/master | 2021-05-31T03:08:29.211335 | 2015-07-20T05:12:55 | 2015-07-20T05:12:55 | 39,042,223 | 2 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 1,394 | h | // PortForwarder.h : PORTFORWARDER アプリケーションのメイン ヘッダー ファイルです。
//
#if !defined(AFX_PORTFORWARDER_H__FC035639_2D50_4F0D_B6EF_A5B81671B557__INCLUDED_)
#define AFX_PORTFORWARDER_H__FC035639_2D50_4F0D_B6EF_A5B81671B557__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#ifndef __AFXWIN_H__
#... | [
"skomatsu.comutt _at_ gmail.com"
] | skomatsu.comutt _at_ gmail.com |
cce7e5ace0305e20bc853f986b31275f86ac294a | 220529721e151c6cc088ebecf4d3c19fd4716df3 | /InterviewBit/Linked Lists/AddNewLists.cpp | dfa1fcf1017a1fa3cd2fafa64a927524e47e558e | [
"MIT"
] | permissive | jahid-coder/competitive-programming | baa2311796e3ffad3ded4789e43f4f37b95673ef | e7878de2445019c916404238180959dc9308ed4a | refs/heads/master | 2023-08-26T10:13:57.816451 | 2021-10-18T04:26:32 | 2021-10-18T04:26:32 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 718 | cpp | /**
* Definition for singly-linked list.
* struct ListNode {
* int val;
* ListNode *next;
* ListNode(int x) : val(x), next(NULL) {}
* };
*/
ListNode *Solution::addTwoNumbers(ListNode *A, ListNode *B) {
ListNode *dummyHead = new ListNode(0);
ListNode *C = dummyHead;
int carry = 0;
while (A != NULL... | [
"thedevelopersanjeev@gmail.com"
] | thedevelopersanjeev@gmail.com |
036735c9b7d443864ff76aca31e2e47ef3346fcd | 70450f0c551adf47b450468e424f4f90bebfb58d | /PROPOSAL/private/PROPOSAL/crossection/factories/BremsstrahlungFactory.cxx | 9da51259b030a1b506777aeba6dc8cfff6f1e621 | [
"LGPL-2.0-or-later",
"LicenseRef-scancode-unknown-license-reference",
"LGPL-3.0-only",
"MIT"
] | permissive | hschwane/offline_production | ebd878c5ac45221b0631a78d9e996dea3909bacb | e14a6493782f613b8bbe64217559765d5213dc1e | refs/heads/master | 2023-03-23T11:22:43.118222 | 2021-03-16T13:11:22 | 2021-03-16T13:11:22 | 280,381,714 | 0 | 0 | MIT | 2020-07-17T09:20:29 | 2020-07-17T09:20:29 | null | UTF-8 | C++ | false | false | 4,746 | cxx |
#include <algorithm>
#include "PROPOSAL/crossection/BremsIntegral.h"
#include "PROPOSAL/crossection/BremsInterpolant.h"
#include "PROPOSAL/crossection/factories/BremsstrahlungFactory.h"
#include "PROPOSAL/crossection/parametrization/Bremsstrahlung.h"
#include "PROPOSAL/Logging.h"
using namespace PROPOSAL;
Bremsstr... | [
"aolivas@umd.edu"
] | aolivas@umd.edu |
9790918ab2f1ecdbb39127a34b9b54db12590880 | 5f3bc99dbc42b48fae162c8c493a0ff84a07317e | /main.cpp | 8958f85165833c01d595f216d3afa951df76294b | [] | no_license | Wyrine/dijkstrasLab | 62ca0b91be5a6146069ecebfa6bb1c59827ad682 | c5a6580982da11e5822722991746d52627e55ac2 | refs/heads/master | 2020-06-13T04:45:02.648638 | 2016-12-05T04:26:32 | 2016-12-05T04:26:32 | 75,446,034 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 652 | cpp | //Kirolos Shahat
//implementing dijkstra's algorithm on graph data provided by the user
//main.cpp
#include "driver.h"
using namespace std;
int main(){
//opening a file with the string constant
ifstream input(FILENAME);
//defining a graph that should be fully loaded
//once it goes through the readFile functi... | [
"kashahat@gmail.com"
] | kashahat@gmail.com |
676e68131526a6aeb12f90bf9712e829beda0e4a | 734858f82291884bf1f2528e2450f8e057eecb07 | /lib/pddl/src/pddl/detail/parsing/Constant.cpp | 367f33cae994b60f9f93aab895df85ded78cc866 | [
"MIT"
] | permissive | javier-romero/plasp | 0839b3dd716b95f7595d29362aa36c86c0d332d9 | abb4b3721772128471d3294f30f36b359de6f113 | refs/heads/master | 2020-07-12T17:31:39.538200 | 2018-05-29T10:17:51 | 2018-05-29T10:17:51 | 73,902,671 | 0 | 4 | null | 2018-02-01T17:15:40 | 2016-11-16T09:06:53 | ASP | UTF-8 | C++ | false | false | 1,984 | cpp | #include <pddl/detail/parsing/Constant.h>
#include <pddl/AST.h>
#include <pddl/Exception.h>
namespace pddl
{
namespace detail
{
////////////////////////////////////////////////////////////////////////////////////////////////////
//
// Constant
//
//////////////////////////////////////////////////////////////////////... | [
"patrick-github@luehne.de"
] | patrick-github@luehne.de |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.