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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
f07153fbbb5e07ca51da804013b6994a95034328 | 5bb5e7cb8a1341d2c3db744e09babb684f8f314d | /Module/Log/sql_log.h | ea8373cdffcb121d35ecf37a08d6479a93470c6c | [] | no_license | jerry-zzz/ShakerMe | a0621e2c71115a393a2511172d41ca7e225654ea | d3423cd4a8c7320103fd8efaf07d485871314268 | refs/heads/master | 2020-09-26T10:11:39.900567 | 2019-12-06T03:01:40 | 2019-12-06T03:01:40 | 226,233,746 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 954 | h | #ifndef SQL_LOG_H
#define SQL_LOG_H
#include <QObject>
#include <QReadWriteLock>
class Sql_Log : public QObject
{
Q_OBJECT
public:
explicit Sql_Log(QObject *parent = nullptr);
// 设置log文件路径
void set_file_path(QString dir, QString file);
// 返回log文件路径
QString get_dir_path(void);
QString get_... | [
"13085610320@163.com"
] | 13085610320@163.com |
da21042d1bb57265304a96bbbd4eb9ffbf77eac9 | 1049415125c2c64f9ce714ecb4c15b3f3c130bee | /include/ListBox.h | 970146ba03d5d46982db42f86afa2c9d41e9032f | [
"MIT"
] | permissive | gearsns/TxtMiru2 | 3d53588d839b4304fb822630b5d1b78b6e66d21f | f829803721354e0639e791ba63962bd702aebfd1 | refs/heads/master | 2022-11-01T17:33:23.977198 | 2019-11-30T02:35:58 | 2019-11-30T02:35:58 | 208,549,945 | 5 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 1,793 | h | #ifndef __LIST_BOX_H__
#define __LIST_BOX_H__
#include "ComonCtrl.h"
#include <windowsx.h>
class CGrListBox : public CGrComonCtrl
{
public:
// リストボックスを作成します。
// hWnd [in]: 親ウインドウのハンドル
// 戻り値 [out]: 作成したステータスウインドウのハンドル
virtual HWND Create(HINSTANCE hInst, HWND hWnd);
int AddString(LPCTSTR str) ... | [
"gears.ns@gmail.com"
] | gears.ns@gmail.com |
fffaeea1a4f14360e4c3398b1211c38bae6d47cd | 5ec06dab1409d790496ce082dacb321392b32fe9 | /clients/cpp-restbed-server/generated/model/ComAdobeCqSocialActivitystreamsListenerImplEventListenerHandlerProperties.h | 5680cb81dc7c4db86dbd08d04479a47d9b257463 | [
"Apache-2.0"
] | permissive | shinesolutions/swagger-aem-osgi | e9d2385f44bee70e5bbdc0d577e99a9f2525266f | c2f6e076971d2592c1cbd3f70695c679e807396b | refs/heads/master | 2022-10-29T13:07:40.422092 | 2021-04-09T07:46:03 | 2021-04-09T07:46:03 | 190,217,155 | 3 | 3 | Apache-2.0 | 2022-10-05T03:26:20 | 2019-06-04T14:23:28 | null | UTF-8 | C++ | false | false | 1,952 | h | /**
* Adobe Experience Manager OSGI config (AEM) API
* Swagger AEM OSGI is an OpenAPI specification for Adobe Experience Manager (AEM) OSGI Configurations API
*
* OpenAPI spec version: 1.0.0-pre.0
* Contact: opensource@shinesolutions.com
*
* NOTE: This class is auto generated by OpenAPI-Generator 3.2.1-SNAPSHOT.... | [
"cliffano@gmail.com"
] | cliffano@gmail.com |
fed2470d19eb338ab1e6279c8f493a6dd2fd3875 | 8029d4bab7be395f438e0f62d8920a473c9334dc | /mythread.cpp | 10432fa54f8b9dfaf75ed2727312f133895e9373 | [] | no_license | Liurunyuan/guiJ75 | 2bab2e436075129871d5c9ca1be5fe52855cee86 | 5a819c837f049adf049cfe104f638f6efe692204 | refs/heads/master | 2022-02-16T07:16:52.293974 | 2019-04-08T11:42:48 | 2019-04-08T11:42:48 | 182,366,109 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 159 | cpp | #include "mythread.h"
MyThread::MyThread()
{
}
void MyThread::run()
{
while(1)
{
qDebug() << "mThread1";
QThread::sleep(3);
}
}
| [
"liurunyuan0802@163.com"
] | liurunyuan0802@163.com |
e066d7e0d120f3007d29e908f0054af55811edf7 | 769e14ed0ae07950d8455b25f4c311fefd4ab5b4 | /C-Plus-Plus/search/binary_search.cpp | 65f552b2d6e94af3d7d2e1400b6348cc9c4b0df7 | [
"MIT"
] | permissive | 20-1-SKKU-OSS/2020-1-OSS-7 | cf8f32412e1a50daa7bd61021b50a4d0c4aa07b6 | 16d29392c476cd88a7c158155fe471e5e86bdd74 | refs/heads/master | 2022-09-26T03:57:29.916954 | 2020-06-10T07:28:57 | 2020-06-10T07:28:57 | 259,804,828 | 0 | 0 | null | 2020-06-10T07:28:58 | 2020-04-29T02:31:11 | Python | UTF-8 | C++ | false | false | 939 | cpp | #include <iostream>
// binary_search function
int binary_search(int a[], int l, int r, int key)
{
while (l <= r)
{
int m = l + (r - l) / 2;
if (key == a[m])
return m;
else if (key < a[m])
r = m - 1;
else
l = m + 1;
}
return -1;
}
int ma... | [
"hojoon0205@gmail.com"
] | hojoon0205@gmail.com |
67b4456d8e7d1c07bb873e0995eb35bccab2ce16 | 30ef15f604c2fce34ddf69834e33e293361956c5 | /Program Design/Arduino/sFPI_test_interface/sFPI_test_interface.ino | 20309360125e660c36327323f37e5c4c37433212 | [] | no_license | aviatorblue62/sFPI | 1c1c4e1189791cadeea47b9777fb63a31a07712b | 20faa4194643c8566c7f651499bc9f08bd302904 | refs/heads/master | 2016-09-14T21:15:29.652999 | 2016-03-18T21:44:04 | 2016-03-18T21:44:04 | 49,546,039 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,247 | ino | /* sFPI Processor version 1.0
Copyright (c) 2015 David Miles Houston
This sketch uses the following assoicated
pins in conjunction with the MCP4725 DAC,
for use with the output manipulation of the
sFPI Driver program and with data collection,
storage, and processing. It uses I2C to com-
... | [
"miles.dave.houston@gmail.com"
] | miles.dave.houston@gmail.com |
11eedf54e6feffc3e520e5ad1bac154b6279a41c | 28261dd3abc51ee4bdefc6489530c29c2185184c | /src/gtest/doxygen/build/generated_src/commentscan.cpp | d68330c3b22fea1bd66ded38fb12f23da17ccefe | [
"LicenseRef-scancode-generic-cla"
] | no_license | audreybender/cppcourse-brunel | d97d6453655eb7c154e14284a1f9fcd081ec8b33 | 227b9fc2ff0e27d8d26b4b039e5e6aa886d2dfa8 | refs/heads/master | 2021-08-09T03:00:48.045421 | 2017-11-12T01:47:31 | 2017-11-12T01:47:31 | 105,807,155 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 321,588 | cpp | #line 2 "/home/localguest/Documents/SVIII/Neurone/gtest/doxygen/build/generated_src/commentscan.cpp"
#line 4 "/home/localguest/Documents/SVIII/Neurone/gtest/doxygen/build/generated_src/commentscan.cpp"
#define YY_INT_ALIGNED short int
/* A lexical scanner generated by flex */
#define yy_create_buffer commentscanYY... | [
"audrey.bender@epfl.ch"
] | audrey.bender@epfl.ch |
ddbcd91b5d73966b3f73e16763e7ec48558990c9 | 292827a33c60bdba5643a19a58b0add3d8f7bd1e | /Project_Dependant/IOinputBlocked.hpp | 1a2ee06a66ea8f9ae88484cf5f3c2e93c9a67fac | [] | no_license | artcampo/2012_3D_96k_Procedural_game | 143c9a6ca351fca127f8b00d2ebb8a461a002e9c | ae33e17c795457d777a0569762a3d157de4774b1 | refs/heads/master | 2021-01-12T04:27:50.727862 | 2016-12-29T14:01:49 | 2016-12-29T14:01:49 | 77,615,952 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 828 | hpp | #ifndef _IO_INPUT_BLOCKED_HPP
#define _IO_INPUT_BLOCKED_HPP
#include "dx_misc.hpp"
#include "Camera/Camera.hpp"
#include "Camera/CameraThidPerson.hpp"
#include "Camera/CameraFirstPerson.hpp"
#include "physics/Physics.hpp"
#include "GameBall/Game.hpp"
#include "Project_Dependant/IOAbstract.hpp"
class Gam... | [
"arturocampos82@gmail.com"
] | arturocampos82@gmail.com |
d5af8dc9d5f6415ce88dee5c6ee5fddbc9eda3ee | 2f7e428c916aedc7e227b0f093cd11f906f7e3f7 | /c++/Builder/UserBuilder/UserBuilder.hpp | 13e5be3dc8c3fedeb4c4b00cc584e9343eec220a | [
"MIT"
] | permissive | Om4ar/Design-Patterns | 2b8c290f635260a12ea1e5f482c2eb83af5abf55 | 210553651660072bad3a6b954b581742c5501ec0 | refs/heads/master | 2020-07-21T13:37:52.248416 | 2019-06-26T13:42:28 | 2019-06-26T13:42:28 | 206,883,388 | 1 | 0 | MIT | 2019-09-06T22:31:57 | 2019-09-06T22:31:57 | null | UTF-8 | C++ | false | false | 440 | hpp | #ifndef __USER_BUILDER_H_
#define __USER_BUILDER_H_
#include <string>
#include "../User/User.hpp"
class UserBuilder {
private:
string _firstName;
string _lastName;
int _age;
string _street;
public:
UserBuilder();
UserBuilder& withFirstName(string name);
UserBuilder& withLastName(strin... | [
"fastercodingtutorial@gmail.com"
] | fastercodingtutorial@gmail.com |
d0bc83c09fc6e294450adb7981767a8edf493d71 | f02534d5d190c1f239b6d3bc7f37740f36d24069 | /LQCore/Selection/include/BaseSelection.h | ea220c8e7bd565a12f69aea10ec17609f696ab0c | [] | no_license | sungbinoh/LQanalyzer | c8d7031df94d7f4ebca541b6f93cdfb5aafbd61a | 43844b72271f2b9fb862a608e5c4270796625b7b | refs/heads/CatAnalyzer_13TeV | 2020-01-23T21:52:56.054920 | 2016-11-17T16:11:11 | 2016-11-17T16:11:11 | 74,735,602 | 0 | 1 | null | 2016-11-25T07:30:16 | 2016-11-25T07:30:15 | null | UTF-8 | C++ | false | false | 4,315 | h | #ifndef BaseSelection_h
#define BaseSelection_h
#include <iostream>
using namespace std;
#include <TROOT.h>
#include <TChain.h>
#include <TFile.h>
#include <stdio.h>
#include <stdlib.h>
#include <string>
#include <vector>
#include "TLorentzVector.h"
#include "TH1F.h"
#include "TH2F.h"
#include "TH3F.h"
#include "Anal... | [
"jalmond@cern.ch"
] | jalmond@cern.ch |
d23509795a8724fdf12e3e5e4744ae9e470c38ee | 3b59884fb983fc78ec34a1ae82003b2c95a0b34e | /src/behavior/valuefunction/Q_provider.h | 3f50aba050d0f1eb9e10aeff06fbb48407aeb6f4 | [
"Apache-2.0"
] | permissive | MarkieMark/fastrl | 8b0704d498b2a7a5378abfbceef2cd2d6c2f10cb | e4f0b9b60a7ecb6f13bbb79936ea82acb8adae0e | refs/heads/master | 2021-01-23T00:25:57.964522 | 2019-03-10T13:17:18 | 2019-03-27T09:12:48 | 92,812,155 | 6 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 695 | h | //
// Mark Benjamin 6/1/17.
// Copyright (c) 2017 Mark Benjamin
//
#ifndef FASTRL_BEHAVIOR_VALUEFUNCTION_Q_PROVIDER_H
#define FASTRL_BEHAVIOR_VALUEFUNCTION_Q_PROVIDER_H
#include "Q_function.hpp"
#include "../policy/enumerable_policy.hpp"
#include "Q_value.hpp"
class QProvider : public QFunction {
public:
virtual... | [
"MarkBenjamin1@gatech.edu"
] | MarkBenjamin1@gatech.edu |
5bf3dfb0656b8fd54cf738f9ad8bbdfcb6066702 | ebad70e7b3228b10b2d277462da2f7a37c93c26e | /src/osdep/gui/EditFilesysVirtual.cpp | 2df16339f495b07f6fed01e6b915bfa991061dc0 | [] | no_license | 03stevensmi/uae4arm | a6390bc4bcb33c7ef30015efc592aa785434d3b0 | 0689cf926bbc2e8643af7302f789161e79179581 | refs/heads/master | 2020-03-29T12:42:52.218305 | 2018-07-08T17:11:09 | 2018-07-08T17:11:09 | 149,914,199 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,828 | cpp | #ifdef USE_SDL2
#include <guisan.hpp>
#include <SDL_ttf.h>
#include <guisan/sdl.hpp>
#include <guisan/sdl/sdltruetypefont.hpp>
#else
#include <guichan.hpp>
#include <SDL/SDL_ttf.h>
#include <guichan/sdl.hpp>
#include "sdltruetypefont.hpp"
#endif
#include "SelectorEntry.hpp"
#include "UaeRadioButton.hpp"
#include "UaeDr... | [
"lubomyr31@gmail.com"
] | lubomyr31@gmail.com |
a37949a39891d9b4f5103e8b796372b676da8062 | 59dfb4acc4a58b7e6332254a604a40c365d3d114 | /Excises/Horton Beginning Visual C++ 2012 - 副本/Ivor Horton Website Code & Exercises/368084 Code from the Book/Chapter 09/Ex9_13/Ex9_13.cpp | 4dacca03f4dff16e670d234dbd2c9e8bd1d58e1b | [] | no_license | JerCaptain39/my_cpp_project | 2f227c7095bd4f73d4da5abf9768359e32b28b80 | 87b4afc52ecce6f5133739951ec0409d7acee16e | refs/heads/master | 2021-05-11T17:23:21.553971 | 2018-01-19T09:29:20 | 2018-01-19T09:29:20 | 117,798,030 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,268 | cpp | // Ex9_13.cpp
// Using a nested class to define a stack
#include "Box.h" // For CBox and CContainer
#include "GlassBox.h" // For CGlassBox (and CBox and CContainer)
#include "Stack.h" // For the stack class with nested struct CItem
#include <iostream> ... | [
"JerCaptain39@outlook.com"
] | JerCaptain39@outlook.com |
0c8dede94a63c7c7af9a91060a4fa2d16178d8a7 | 5d8c71b1b580517fb807efdfd673a46944b9957b | /znRender/DepthStencilState.h | 376f4c6509224972d0f7e2d8f30413d25d4fec68 | [] | no_license | bmjoy/ZenonEngine | abe2c4c47d1930f343dadcaed7d3c360660aa1bf | c7d1564246157abfa84b7028817bedff6993693b | refs/heads/master | 2020-05-23T03:12:21.586899 | 2019-04-22T10:52:31 | 2019-04-22T10:52:31 | 186,611,748 | 1 | 1 | null | 2019-05-14T11:51:37 | 2019-05-14T11:51:37 | null | UTF-8 | C++ | false | false | 7,378 | h | #pragma once
class DepthStencilState : public Object
{
public:
/**
* Used to enable or disable depth buffer writes.
*/
enum class DepthWrite
{
Enable,
Disable
};
/**
* Compare function determines if a pixel is written to the back buffer.
* This enumerator is used for both depth and stencil operation... | [
"alexstenfard@gmail.com"
] | alexstenfard@gmail.com |
b045fe55b45d94cc206e9adbaaa847ca4944424f | 8b69c522ad35e68100b0f70b12a7c8671560e882 | /2-05-01-multimaps.cpp | 12ec4d386aaf4005b5527c76440c595bc3977879 | [] | no_license | zarev/stl-course | 8dc2ff530f05f8cb693f328565810e5f5527c266 | b626d55198b766af46b61b9c92db0965c9527138 | refs/heads/master | 2021-04-14T17:58:43.109941 | 2020-04-01T10:19:50 | 2020-04-01T10:19:50 | 249,252,596 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,182 | cpp | #include <iostream>
#include <map>
#include <string>
#include <fstream>
#include <sstream>
#include <utility>
using namespace std;
int main(){
ifstream in("illiad.txt");
multimap<string, pair<int, int>> wordPositions;
int lineNumber, wordInLine = 0;
string line = " ";
while(!in.eof()){
lineNumber++;... | [
"21259114+zarev@users.noreply.github.com"
] | 21259114+zarev@users.noreply.github.com |
0f397227adb2351cf3c0330269c519e2a87b7d1e | 5c7f35bf82a69da68e2cde58ed792a61c8f6d923 | /PWG/DevNanoAOD/AliAnalysisTaskNanoAODnormalisation.h | 67ba21aec1724dffc7fd5bf4376fdac4a11f7ce7 | [] | permissive | novitzky/AliPhysics | a4b2cae5000da04c66227e57db30adef618e50c8 | 093f9cb10313464cc527204eec9cc403c8c42443 | refs/heads/master | 2020-06-02T23:03:58.281372 | 2019-06-11T09:10:15 | 2019-06-11T09:20:45 | 191,334,338 | 0 | 0 | BSD-3-Clause | 2019-06-11T09:05:46 | 2019-06-11T09:05:45 | null | UTF-8 | C++ | false | false | 918 | h | #ifndef AliAnalysisTaskNanoAODnormalisation_H
#define AliAnalysisTaskNanoAODnormalisation_H
#include "AliAnalysisCuts.h"
#include "AliAnalysisTaskSE.h"
#include "AliAnalysisNanoAODCuts.h"
#include <TList.h>
class AliAnalysisTaskNanoAODnormalisation : public AliAnalysisTaskSE {
public:
AliAnalysisTaskNanoAODnorma... | [
"maximiliano.puccio@cern.ch"
] | maximiliano.puccio@cern.ch |
5ad6e6c9ba354d1891d796f1a4b3a9808afdffe2 | d4c6151c86413dfd0881706a08aff5953a4aa28b | /src/ui/scenic/lib/gfx/tests/vk_session_test.cc | 4e77d3916a33d6c1dcb5c11970ed64551f57aaca | [
"BSD-3-Clause"
] | permissive | opensource-assist/fuschia | 64e0494fe0c299cf19a500925e115a75d6347a10 | 66646c55b3d0b36aae90a4b6706b87f1a6261935 | refs/heads/master | 2022-11-02T02:11:41.392221 | 2019-12-27T00:43:47 | 2019-12-27T00:43:47 | 230,425,920 | 0 | 1 | BSD-3-Clause | 2022-10-03T10:28:51 | 2019-12-27T10:43:28 | C++ | UTF-8 | C++ | false | false | 3,756 | cc | // Copyright 2018 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "src/ui/scenic/lib/gfx/tests/vk_session_test.h"
#include "src/ui/lib/escher/impl/vulkan_utils.h"
#include "src/ui/lib/escher/test/gtest_escher.h"... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
d3cc58634adc86263df2004a9007ee749569df6d | 502e207c832ef269a011e65f564925efa78ffa4f | /MicroSTL/MicroSTL/micro_iterator.h | 0241bb41be8093a9b8da55a3d50ff1c596676806 | [] | no_license | Maxmengt/MicroSTL | 57b8254d79706183d4a495048e602c66a67ad730 | 23b9124d27f35b0ede07171facfdbe7cfe65d0c4 | refs/heads/master | 2021-01-11T19:51:46.397010 | 2017-03-03T13:07:22 | 2017-03-03T13:07:22 | 79,409,450 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,516 | h | #ifndef _MICRO_ITERATOR_H_
#define _MICRO_ITERATOR_H_
#include <cstddef>
namespace MicroSTL {
struct input_iterator_tag {};
struct output_iterator_tag {};
struct forward_iterator_tag : public input_iterator_tag {};
struct bidirectional_iterator_tag : public forward_iterator_tag {};
struct random_access_iterator_... | [
"mengt2012@gmail.com"
] | mengt2012@gmail.com |
05c755eb1aecbd151cdcd0d7379e19a27adff014 | b452fdfb6a8667b6523d630cc46eaf25c9ff81f9 | /cmake_policy/src/cmake_policy.cpp | 8d3d38a66c6c9f982c2202c91d402d15390a55c1 | [] | no_license | dpinol/ros_tests | 8446984a7428b179ee7d9e2633869ba259113b82 | 8adda2cf544b319bdcfef2db7a650e3067081fee | refs/heads/master | 2021-01-20T08:47:25.580025 | 2014-02-26T16:59:48 | 2014-02-26T16:59:48 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 94 | cpp | #include<iostream>
#include <ros/console.h>
int main()
{
ROS_ERROR("hello");
return 0;
}
| [
"github@dpinol.com"
] | github@dpinol.com |
f7ac0c342586eec130b794cda64a5bcad7405b05 | 498a5610ddc171858f0f9764c2aff258adf53b7d | /1408.cpp | d5135b37a9bb264747e3cdc82c076c30b315b3ad | [] | no_license | banje/acmcpp | b317bbfd3d6b58b205c516ae4127d4ac56635c9c | 617b77984356c0a3a625525d21fbd66e7e30cbae | refs/heads/master | 2022-11-03T10:52:00.404774 | 2020-06-16T17:35:21 | 2020-06-16T17:35:21 | 260,918,744 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 371 | cpp | #include <stdio.h>
int main(){
int a,b=0,c=0,d;
scanf("%d:",&a);
b=b+3600*a;
scanf("%d:",&a);
b=b+60*a;
scanf("%d:\n",&a);
b=b+a;
scanf("%d:",&a);
c=c+3600*a;
scanf("%d:",&a);
c=c+60*a;
scanf("%d:\n",&a);
c=c+a;
d=c-b;
if(d<0){
d=d+86400;
}
pri... | [
"pak2t@naver.com"
] | pak2t@naver.com |
e51a22a3afb87fd76ecd0267418b5d8986cb04a6 | 48a70d93e92961a32c4d0e5f9b6c1799bbd73b46 | /datamover/production/syn/systemc/dataflow_in_loop.cpp | 5168a22110d089bec843bafcafd5dd13219fa891 | [] | no_license | OpenMRI/snickerdoodle-hls-data-mover | fa476ced1bd8c1696beacf37709c12eb9440f292 | 56768618f64a756bbca5f445431f042835065c2c | refs/heads/master | 2023-03-22T02:11:58.011884 | 2018-06-17T07:47:59 | 2018-06-17T07:47:59 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 38,569 | cpp | // ==============================================================
// RTL generated by Vivado(TM) HLS - High-Level Synthesis from C, C++ and SystemC
// Version: 2018.1
// Copyright (C) 1986-2018 Xilinx, Inc. All Rights Reserved.
//
// ===========================================================
#include "dataflow_in_lo... | [
"weatherbee@krtkl.com"
] | weatherbee@krtkl.com |
b9631992cde96f43d1c923455faadb6582ed2fb4 | 5f345205d03f55364b4c7e476b34ced8e8d8ed60 | /include/okapi/api/device/button/abstractButton.hpp | 4e75f2ebd79b4e1218f5053a3692656b1cd877c3 | [
"MIT",
"LicenseRef-scancode-unknown-license-reference",
"MPL-2.0"
] | permissive | Discobots-1104A/2020-2021-bionic-beaver | e660563815237a8d0e243de308ea729c3c04f7da | cd2245a65cad7884c87900d4625f4d5c5f6ad703 | refs/heads/master | 2023-02-14T05:16:16.955760 | 2020-12-14T23:44:22 | 2020-12-14T23:44:22 | 291,755,615 | 1 | 5 | MIT | 2021-01-08T23:35:25 | 2020-08-31T15:38:38 | C++ | UTF-8 | C++ | false | false | 1,290 | hpp | /*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
#pragma once
#include "okapi/api/control/controllerInput.hpp"
namespace okapi {
class AbstractButton : public... | [
"marco.tan.200405@gmail.com"
] | marco.tan.200405@gmail.com |
ba644b30b20da07143e939735b4cd0349a32779b | 70a3a722d31619e6a7c5a37644a707d595254616 | /codefoce/cf1323d.cc | a4897625aa2b951f5e8b25abc29dd5e55da4ecf1 | [] | no_license | yaoyaowd/competitivecoding | bed58601ae12cfa7768c5fd91bfb61293dc10545 | b626e75ffc593390e4e5cf1ed53f396b62df418c | refs/heads/master | 2022-05-04T03:44:20.313924 | 2022-04-04T20:33:18 | 2022-04-04T20:33:18 | 184,917,750 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,285 | cc | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
const int maxn = 400010;
const int inf = 1e8;
const int mod = 1000000007;
int n;
vector<int> a;
int b[maxn];
int check(int bit) {
for (int i =0 ; i < n; ++i) {
b[i] = a[i] & ((bit << 1) - 1);
}
sort(b, b + n);
int tot = 0;
int l =... | [
"dongw89@gmail.com"
] | dongw89@gmail.com |
6591a870b70708cd2a713bc618436f4de996b29a | 623a8be7e988b4006c82f25874e7570312089b96 | /dpse2/src/dpseapp/simu/CSimulatorBase.cpp | d211d8240be2657cb4d390ab730b1dd2ed1d9b46 | [
"MIT"
] | permissive | ArsMasiuk/DPSE | c8f30779bbff823c42552fe23bd0c867e122d314 | f04446545d73d19a130eb3a565ad46bf7008eb27 | refs/heads/master | 2021-01-19T04:08:22.592215 | 2019-11-07T22:18:57 | 2019-11-07T22:18:57 | 84,427,904 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 839 | cpp | #include "CSimulatorBase.h"
#include "ILogger.h"
#include <qvge/CNodeEditorScene.h>
CSimulatorBase::CSimulatorBase(QObject *parent) : QObject(parent)
{
}
void CSimulatorBase::setLogger(ILogger &logger)
{
m_logger = &logger;
}
void CSimulatorBase::logInfo(const QString& text)
{
if (m_logger)
m_lo... | [
"ars.masiuk@gmail.com"
] | ars.masiuk@gmail.com |
202872017c318a480bf1ff28940da728789c4a4f | e204913fed67f1dfac2d338592fd0929359f1577 | /components/Common/Slices/.svn/text-base/ReuseDistanceSlice.cpp.svn-base | 9f5f39476233abcfa7fb856316744b4c1c73c67c | [] | no_license | javpicorel/memory_tool | 33371dc778b2a1c4351661887444570265808356 | f88ea71a26c94a368675740205779d971ae510f5 | refs/heads/master | 2021-01-11T03:52:40.234629 | 2017-03-26T23:23:24 | 2017-03-26T23:23:24 | 71,281,348 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,252 | // DO-NOT-REMOVE begin-copyright-block
//
// Redistributions of any form whatsoever must retain and/or include the
// following acknowledgment, notices and disclaimer:
//
// Thi... | [
"javier.picorel@epfl.ch"
] | javier.picorel@epfl.ch | |
523a2e1eb61ba3dd1d15806f394040429ecde539 | a3bf8ac1d3070a4a2a6b264307286af38f68a9cb | /kolko i krzyz/PodajPole.cpp | 0a5e87125c0bccb2e87468b7bb2ccaf19ffea3ad | [] | no_license | Kacpi12/TIC-TAC-TOE | 27cff7ac9f36c12c9d469ca447d256081aee50eb | 402c93f01bb652a9f59957bd4887b26914c0660a | refs/heads/master | 2022-12-04T06:31:22.383726 | 2020-08-30T10:48:28 | 2020-08-30T10:48:28 | 291,451,311 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 309 | cpp | #include <iostream>
#include <fstream>
#include <cstdlib>
template<typename T>
void PodajXY(T& x, T& y) {
std::cout << "Podaj wspolrzedne pion: ";
while ((std::cin >> x) && (x > 2));
std::cout << std::endl;
std::cout << "Podaj wspolrzedne poziom: ";
while ((std::cin >> y) && (y > 2));
} | [
"kapisztuka1@gmail.com"
] | kapisztuka1@gmail.com |
1787757485638ca6f4c0fa2ad03b607243ab4c7e | 35b929181f587c81ad507c24103d172d004ee911 | /SrcLib/core/fwAtoms/include/fwAtoms/Blob.hpp | b56e155b8036d01a6dc335f9fa0946b152d62e62 | [] | no_license | hamalawy/fw4spl | 7853aa46ed5f96660123e88d2ba8b0465bd3f58d | 680376662bf3fad54b9616d1e9d4c043d9d990df | refs/heads/master | 2021-01-10T11:33:53.571504 | 2015-07-23T08:01:59 | 2015-07-23T08:01:59 | 50,699,438 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,899 | hpp | /* ***** BEGIN LICENSE BLOCK *****
* FW4SPL - Copyright (C) IRCAD, 2009-2013.
* Distributed under the terms of the GNU Lesser General Public License (LGPL) as
* published by the Free Software Foundation.
* ****** END LICENSE BLOCK ****** */
#ifndef __FWATOMS_BASE_BLOB_HPP__
#define __FWATOMS_BASE_BLOB_HPP__
#incl... | [
"fbridault@IRCAD.FR"
] | fbridault@IRCAD.FR |
64e101bf2f8407782bf7c2135431ac00a60551ec | 32ffbbbffef195ee4a87aa066499349bdf613e40 | /day02/bag.cpp | 6cf739c24e2ef16788c91bbf41b3cb14e89b1a74 | [] | no_license | webturing/2020NOIPWinterCamp | d4655fcdf537a33f8684a867b9cab9916b0f1d94 | a5becac8e18872f3b88550cc2f7961c6f7797604 | refs/heads/master | 2020-12-09T16:57:02.351834 | 2020-01-17T09:47:29 | 2020-01-17T09:47:29 | 233,363,866 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 677 | cpp | #include<bits/stdc++.h>
using namespace std;
int dp[20010];
int w[100],v[100];
int n, m;
int main()
{
//freopen("test.in.c", "r", stdin);
while(cin >> m >> n)
{
for (int i = 1;i <= n;i++)
cin >> v[i] >> w[i];
memset(dp, 0x3f3f3f3f, sizeof(dp));
dp[0] = 0;
for (i... | [
"zj@webturing"
] | zj@webturing |
38c9819641dc2c9314aa3bea7dbeb79d1a52af1e | 64b35e1a9e8e720d7d0fb31a9e85548bfef330c9 | /List/DoubleTable.cpp | de757f7f7348e0b0154d76aa2c446f34ef762441 | [] | no_license | bigJiaLuo/DataStructureStudy | 32395fce5c62f928f0bc145e0ce9b5da6d634dec | 5ed9d2b20605dca8b5532de63f12eaa64c2f4447 | refs/heads/master | 2022-12-13T01:45:48.041509 | 2020-09-17T06:08:13 | 2020-09-17T06:08:13 | 269,287,153 | 2 | 0 | null | null | null | null | GB18030 | C++ | false | false | 14,139 | cpp | // 2020年5月25日09:34:53
//双向链表
#include <stdio.h>
#include <malloc.h>
#define ERROR 0;
#define OK 1;
#define TRUE 1;
#define FALSE 0;
typedef int ElemType;
typedef int Status;
typedef struct Node
{
ElemType data;
struct Node * prior;//上一结点 地址
struct Node * next; //下一结点 地址
} doubleList, *pdoubleList;
Statu... | [
"2458681060@qq.com"
] | 2458681060@qq.com |
6d928ebc0c725b216167f68feeecd173575fed71 | 92453dcf4b3f89285236fddb52033c800898819d | /include/camera.h | 7a879ef4d33ed21067057757e98932ce45f26f1d | [] | no_license | splatpope/JuliaExplorer | ca48ffa90b864efafaa81010640fed3ec856b6ce | ad2a9bb075da7f8a9db5ad86f8955bbee35f0d22 | refs/heads/master | 2020-06-12T00:59:13.239813 | 2019-07-25T23:46:27 | 2019-07-25T23:46:27 | 194,143,650 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,612 | h | #ifndef CAMERA_H
#define CAMERA_H
#include <glad/glad.h>
#include <glm/glm.hpp>
#include <glm/gtc/matrix_transform.hpp>
#include <vector>
// Defines several possible options for camera movement. Used as abstraction to stay away from window-system specific input methods
enum Camera_Movement {
CAM_RESET = -1,
... | [
"prdrdecroly@gmail.com"
] | prdrdecroly@gmail.com |
b37035a5731bca8183e8a91acfea5e2b5585aed4 | 04b1803adb6653ecb7cb827c4f4aa616afacf629 | /components/offline_pages/core/prefetch/store/prefetch_downloader_quota.h | 7abb7915bc261c8a156a4e21c58b2a0c02adc781 | [
"BSD-3-Clause"
] | permissive | Samsung/Castanets | 240d9338e097b75b3f669604315b06f7cf129d64 | 4896f732fc747dfdcfcbac3d442f2d2d42df264a | refs/heads/castanets_76_dev | 2023-08-31T09:01:04.744346 | 2021-07-30T04:56:25 | 2021-08-11T05:45:21 | 125,484,161 | 58 | 49 | BSD-3-Clause | 2022-10-16T19:31:26 | 2018-03-16T08:07:37 | null | UTF-8 | C++ | false | false | 1,538 | h | // Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef COMPONENTS_OFFLINE_PAGES_CORE_PREFETCH_STORE_PREFETCH_DOWNLOADER_QUOTA_H_
#define COMPONENTS_OFFLINE_PAGES_CORE_PREFETCH_STORE_PREFETCH_DOWNLOADER... | [
"sunny.nam@samsung.com"
] | sunny.nam@samsung.com |
d6b939251651b57e68d1c5d99eb4789049eddec7 | 3dd2bdff943f707ee24cb7bbed371283af085d44 | /day08/ex03/CloseBracket.cpp | b143243915d7d2a298bc4bd5e988516ab78bde54 | [] | no_license | terngkub/piscine_cpp | 255ff5663b47013952e47ef4d38fbedcea8c14b4 | 7d61d49fd010a8f4ed365242dc6edb2ca0fa3aa9 | refs/heads/master | 2020-03-11T21:22:41.532592 | 2019-03-11T20:23:47 | 2019-03-11T20:23:47 | 130,263,263 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 358 | cpp | #include "CloseBracket.hpp"
#include <iostream>
CloseBracket::CloseBracket()
{
_type = ']';
}
CloseBracket::~CloseBracket()
{
}
void CloseBracket::execute(iterator & it, iterator & itb, iterator & ite, char * memory, int & index)
{
static_cast<void>(ite);
if (memory[index] == 0)
{
while (it != itb && (*it)->ge... | [
"terngnattapol@gmail.com"
] | terngnattapol@gmail.com |
af4c13f2c7eb24b874cd924fa48eed3f3080251d | 82ac4b610c34e2830ca7870b459ccd804839620f | /src/solver.cpp | da1054f0427b8cb203b6e5e550116ec1ee96122e | [] | no_license | mfkiwl/GNSS_Navi | 440a5c5624bfeb4455124f4c990d88ddf3d8d319 | cf625933fff1abd1be13a450e7baf619dfec3f45 | refs/heads/master | 2021-06-22T16:24:16.993016 | 2017-08-25T21:39:04 | 2017-08-25T21:39:04 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,116 | cpp | /*
* solver.cpp
*
* Created on: 16 Aug 2017
* Author: Sokol
*/
#include <math.h>
#include <iostream>
#include <iomanip>
#include "Observations.h"
#include "OrbProp.h"
#include "Matrix.h"
#include "solver.h"
using namespace std;
Matrix solverLS(const Observations& obsAll, const Orbits& orbsAll,
const Mat... | [
"sokolovalexv@gmail.com"
] | sokolovalexv@gmail.com |
c462c8656d495e0a185cdec93579df7f97c701f0 | db3b085d00c89ed16bd9e78e132c4558848e6866 | /788_Rotated_Digits.cpp | 49c946b33d38053c160c2e5aabca9c387134a043 | [] | no_license | zkxshg/Test_of_LeetCode | 23e4bcd814499c26940659614607f0782c764b09 | 8a3c2d43ed0b5815c5fb2d2bb4d59e586aae9dba | refs/heads/master | 2023-08-22T16:08:04.801856 | 2023-08-09T22:43:56 | 2023-08-09T22:43:56 | 230,379,638 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 486 | cpp | // string
class Solution {
public:
int rotatedDigits(int N) {
int res = 0;
for (int i = 1; i <= N; i++)
if (ifRo(i)) res++;
return res;
}
bool ifRo(int n) {
bool rot = false;
while (n > 0) {
int i = n % 10;
if (i == 3 || i =... | [
"zkxshg@126.com"
] | zkxshg@126.com |
d00b4f91b0a2272546c92452475c137ea23ed62c | a67a806c481f403a29f4290d4772a361169d19db | /src/gallium/drivers/radeon/AMDILDeviceInfo.cpp | 89b8312c294228bf6ca7033f9444499016f4fc91 | [
"NCSA"
] | permissive | curro/mesa | 4f77445a5b854c52192844020020322bde877753 | 4e86989a0334c6b6cbcd5291b3547657931f5ab7 | refs/heads/master | 2021-01-19T07:44:05.233166 | 2012-04-10T22:11:56 | 2012-05-01T15:18:03 | 2,745,131 | 5 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,128 | cpp | //===-- AMDILDeviceInfo.cpp - TODO: Add brief description -------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//==------------------------------------------------------------------... | [
"thomas.stellard@amd.com"
] | thomas.stellard@amd.com |
166012a60842bf8385c97cec48fbc377d30a984b | ead59468f0da63c830da5fb68dee75e83303ce9b | /obj_carre/carre.cpp | 45b1e56c9489c740889cea76d8eb9ebe66f2a98e | [] | no_license | cvcarles/Cpp | 532c6aeceaee58abb310a6036b07ac84ab3c3980 | 46eb5d510880b201bdae96a197144715be23b245 | refs/heads/main | 2023-03-14T06:14:58.261683 | 2021-03-08T16:44:10 | 2021-03-08T16:44:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 402 | cpp | #include "carre.hpp"
void carre::setCote(const double c) {
super::setLargeur(c);
super::setLongueur(c);
}
double carre::getCote() const{
return super::getLargeur();
}
double carre::surface() const{
return super::surface();
}
std::string carre::quiSuisJe() const {
return "un carre";
}
std::ostream &operator<<... | [
"43798006+Mr-Zygoto@users.noreply.github.com"
] | 43798006+Mr-Zygoto@users.noreply.github.com |
3313f017048fb7a60a49b58bd4013cafacc87cf9 | b2d201172f4409a6d29080f9adb83b91a6d12e83 | /assign-7/src/sscontroller.cpp | 5a8649ae01998e070313fab7a085c4c20d555207 | [] | no_license | WhiteCloudUU/cs106x | 0f1a2fc37bfd41a90e15f9f306dec1f1e26ac18a | d7b1b9decfbdc7fb339162a133d3d4fa173191e4 | refs/heads/master | 2023-03-31T21:13:56.578932 | 2021-04-04T17:24:08 | 2021-04-04T17:24:08 | 349,921,609 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,008 | cpp | /**
* File: sscontroller.cpp
* ----------------------
* This file implements the command-line controller for the Stanford 1-2-3 program.
*
* Fall 2007 Julie Zelenski (all initial work)
* Autumn 2009 Jerry Cain (upgrade to use new libraries)
* Autumn 2012 Jerry Cain (upgrade to use even newer libraries)
... | [
"jinzhao.chang.bayarea@gmail.com"
] | jinzhao.chang.bayarea@gmail.com |
9948741a7f680b79eaee7af3f76ae6eb44bdabbf | 741dafeb834dbca0e58ca1b393cc5bf12ba0da13 | /codeforce/1315/A/main.cpp | f7a5610741d051094a272ad80a77beb0a5cee4be | [] | no_license | HoangViet144/Competitive-Programming | 8c3a28f97b0de8ad9f501cbae9c0767d6a4b956f | 19e9472545a10379511af3cf64ad0d4c1305dd8c | refs/heads/master | 2021-07-15T14:11:45.515412 | 2020-11-09T01:45:54 | 2020-11-09T01:45:54 | 221,480,049 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 600 | cpp | #include <bits/stdc++.h>
#define FOR(i,a,b) for(long long i = (a); i < (b); i++)
#define FORD(i,a,b) for(int i = (a); i >= (b); i--)
#define REP(i,a) for(int i = 0; i < (a); i++)
#define REPD(i,a) for(int i = (a)-1; i >= 0; i--)
#define sz(a) (int)a.size()
#define ALL(a) a.begin(),a.end()
#define ii pair<int,int>
#de... | [
"viet14042000@gmail.com"
] | viet14042000@gmail.com |
04ca866ff2595395aa91b9cf3b65fea3e207c9ed | 22b31d2f6c0de8f7f35a8f1a927752a493418180 | /src/readWav.cpp | 258a80c5e6e5c2b7fb1df9e5a932e2ac43b869a3 | [] | no_license | joshtbennett/readUltrasoundAudio | b6c5c4039a5877636ac5049bcc4c4315d63e1d50 | 02d98c46be51f00d4833027d9cece7c2102a6a8d | refs/heads/master | 2020-03-30T02:20:34.568624 | 2018-09-27T17:56:00 | 2018-09-27T17:56:00 | 150,627,028 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,283 | cpp | #include <iostream>
#include <string.h>
#include <cstdint>
using namespace std;
typedef struct WAV_HEADER{
uint8_t riff[4];
uint32_t chunkSize;
uint8_t wave[4];
uint8_t fmt[4];
uint32_t subChunk1Size;
uint16_t audioFormat;
uint16_t numOfChannels;
uint3... | [
"josh.bennett@mun.ca"
] | josh.bennett@mun.ca |
28c109835d81ac1f4d59306bfd634570d158cff8 | af22d67edb7fc51c23c0c37cc33224302d9c7fe9 | /cplusplus/output.cpp | 7752965f808a4d7501fb910ea17e683ed2c1a7a0 | [] | no_license | 2011211242/test | a573b1a26481b1fddb67b3442efae9040cda24a8 | 2020f83e6c76edec50de5ed828e7f3e05b925d0b | refs/heads/master | 2021-01-23T02:40:39.026087 | 2017-09-27T07:24:55 | 2017-09-27T07:24:55 | 86,017,882 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 85 | cpp | #include <cstdio>
using namespace std;
int main()
{
printf("%08x\n", 0x1000);
}
| [
"2990936748@qq.com"
] | 2990936748@qq.com |
2f2a9d7f8921c8208f2c8a5bd7600754daca0d94 | 9b0598175c6d6605ca1a8d5eaea829bf5d9f9c2f | /cpp/leetcode495.提莫攻击.cpp | f1272f56d76bdc30148a601649c34bc863014470 | [] | no_license | xx502003587/LeetcodeExam | 7de49193452c7156ef814a4a5a1bd8be011da10e | a8ec990d8970e45772efdb1eb8e927df7b025fd8 | refs/heads/master | 2021-07-21T19:17:17.767374 | 2021-07-18T14:35:01 | 2021-07-18T14:35:01 | 198,946,581 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,748 | cpp | /*
* 题意:
* 在《英雄联盟》的世界中,有一个叫 “提莫” 的英雄,他的攻击可以让敌方英雄艾希进入中毒状态。
* 现在,给出提莫对艾希的攻击时间序列和提莫攻击的中毒持续时间,你需要输出艾希的中毒状态总时长。
* 你可以认为提莫在给定的时间点进行攻击,并立即使艾希处于中毒状态。
*
* 思路:
* 如果从 timeSeries[i] 开始攻击,加上持续时间 duration 后,还没达到 timeSeries[i+1] 的时间点
* 说明本次中毒的持续时间是满的
*
* 如果从 timeSeries[i] 开始攻击,加上持续时间 duration 后,已经超过了 timeSeries[i+1] 的时间点
... | [
"1701210908@pku.edu.cn"
] | 1701210908@pku.edu.cn |
7096c3d1e3de8dfa762696222e03892c0d2ecb08 | fb7efe44f4d9f30d623f880d0eb620f3a81f0fbd | /ui/views/examples/table_example.cc | f3bd42624c9ede8c5ce0fcbb25db85f1ea066c8d | [
"BSD-3-Clause"
] | permissive | wzyy2/chromium-browser | 2644b0daf58f8b3caee8a6c09a2b448b2dfe059c | eb905f00a0f7e141e8d6c89be8fb26192a88c4b7 | refs/heads/master | 2022-11-23T20:25:08.120045 | 2018-01-16T06:41:26 | 2018-01-16T06:41:26 | 117,618,467 | 3 | 2 | BSD-3-Clause | 2022-11-20T22:03:57 | 2018-01-16T02:09:10 | null | UTF-8 | C++ | false | false | 5,739 | cc | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ui/views/examples/table_example.h"
#include <vector>
#include "base/strings/string_util.h"
#include "base/strings/utf_string_conversions.h... | [
"jacob-chen@iotwrt.com"
] | jacob-chen@iotwrt.com |
a5dd00915723b80ac920e74e079cd59e5e79cdfe | 1212ca9c78bc4eb4f4f5c5ed3b15d109619b0d7a | /ash/multi_device_setup/multi_device_notification_presenter_unittest.cc | 65bf5b6c9fb82ab798afcd66e39894ae5d860bd0 | [
"BSD-3-Clause"
] | permissive | lierba64/chromium | de6cb1b18e920f32abe09ddad0228676f69c06ad | 740df9ada67ff550a3c6dd51aed4d29fe3aea31f | refs/heads/master | 2023-03-13T00:55:11.562148 | 2018-10-10T16:30:54 | 2018-10-10T16:30:54 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 16,815 | cc | // Copyright 2018 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 "ash/multi_device_setup/multi_device_notification_presenter.h"
#include <map>
#include <memory>
#include <utility>
#include "ash/session/test_s... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
91495dd4afdd3522e9476f6d6d793408b5a24338 | 3655b609205de8feb1ad0936943a538b81992681 | /CSC8503 Framework/Game Technologies/GameTechNew/SphereCollisionShape.h | 634b2a4d4c1539fbacc2a86cdcbec6b3b15004d0 | [] | no_license | shaunno94/MCompTeamProject_2016 | 607237d136f6179fc7c048b912e3689050181796 | c45d37e6cd736f4275ed56132333426cd0e0dbd9 | refs/heads/master | 2021-03-16T06:54:18.574410 | 2016-03-11T10:43:27 | 2016-03-11T10:43:27 | 50,836,215 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 861 | h |
#pragma once
#include "CollisionShape.h"
class SphereCollisionShape : public CollisionShape
{
public:
SphereCollisionShape();
SphereCollisionShape(float radius);
~SphereCollisionShape();
virtual Matrix3 BuildInverseInertia(float invMass) override;
virtual void GetLocalCollisionAxes(PhysicsObject* currentObjec... | [
"julius.narvilas@gmail.com"
] | julius.narvilas@gmail.com |
28791b9aa662c361bb8114d1007d48701da28549 | 14344ea4c081bbfb9639cc33dcf843b9134b7d5b | /mindspore/lite/c_ops/embedding_lookup_sparse.h | cf10c2d5559a3f0097268ffd01196d734eebf6e2 | [
"Apache-2.0",
"Libpng",
"LGPL-2.1-only",
"MIT",
"IJG",
"Zlib",
"BSD-3-Clause-Open-MPI",
"AGPL-3.0-only",
"MPL-2.0-no-copyleft-exception",
"MPL-1.0",
"MPL-1.1",
"MPL-2.0",
"LicenseRef-scancode-unknown-license-reference",
"GPL-2.0-only",
"Unlicense",
"LicenseRef-scancode-proprietary-lice... | permissive | Joejiong/mindspore | d06318e456c000f6368dbe648daa39d82ba6a2da | 083fd6565cab1aa1d3114feeacccf1cba0d55e80 | refs/heads/master | 2022-12-05T07:17:28.737741 | 2020-08-18T07:51:33 | 2020-08-18T07:51:33 | 288,415,456 | 0 | 0 | Apache-2.0 | 2020-08-18T09:43:35 | 2020-08-18T09:43:34 | null | UTF-8 | C++ | false | false | 1,633 | h | /**
* Copyright 2019-2020 Huawei Technologies 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 applicabl... | [
"yeyunpeng1@huawei.com"
] | yeyunpeng1@huawei.com |
3fe63e6cdf99f9cafc370187984dca14bb03c183 | 0de3385199ae63184d7bb627f714dd749def2c2b | /[Algo 7] Binomial Heap/[Algo 7] Binomial Heap/stdafx.cpp | 70dcf7ce0ee27adb896cd3cbdb24cbb4009133a0 | [] | no_license | DharaHarsora/BinomialHeap | 623b283fe83d84a28ca9f8189560719ab35fa76e | 4c3d2342bc7d4f2f6a55d279dbbd51d595a24644 | refs/heads/master | 2021-12-14T21:52:57.661426 | 2017-06-08T18:33:19 | 2017-06-08T18:33:19 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 301 | cpp | // stdafx.cpp : source file that includes just the standard includes
// [Algo 7] Binomial Heap.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
| [
"wiblz123@gmail.com"
] | wiblz123@gmail.com |
7d31aedb3c9152e0a9f0172c206986ef678abf26 | 34e89117d314c8d2b9c0d7ba633089b775b46c20 | /src/Caribou/Topology/test/Grid/Grid_3D.h | fe22e127adc65b289db16f89e05cc27a1dd5af63 | [] | no_license | hugtalbot/caribou | abd2c71e014ff368044f42ae26156c74f51810ae | c2a40b51238f1688404c2382bdce0bd1785efcf4 | refs/heads/master | 2022-07-14T02:50:20.589179 | 2020-03-24T15:17:14 | 2020-03-24T15:17:14 | 251,669,693 | 2 | 0 | null | 2022-06-29T13:16:39 | 2020-03-31T16:50:40 | null | UTF-8 | C++ | false | false | 14,719 | h | #ifndef CARIBOU_TOPOLOGY_TEST_GRID_3D_H
#define CARIBOU_TOPOLOGY_TEST_GRID_3D_H
#include <Caribou/Geometry/Hexahedron.h>
#include <vector>
#include <chrono>
#define BEGIN_CLOCK ;std::chrono::steady_clock::time_point __time_point_begin;
#define TICK ;__time_point_begin = std::chrono::steady_clock::now();
#define TOCK (... | [
"jnbrunet2000@gmail.com"
] | jnbrunet2000@gmail.com |
667cb9c345b00d16af34743477af6c8dbfaf1d87 | 49022e7430be70ab6880c28b759f9c68e1e2edf8 | /Common/Matrix2D.inl | 1d62ff69761225410aa1c5e9f9991819b8b58096 | [] | no_license | f3db43f4g443/SimpleSample11 | 61a634afa664676f94bf51f58c38640ee7ee1b64 | e6aa0ceb34843defd0433b09f42f2de036d443d7 | refs/heads/master | 2022-03-10T18:21:42.698566 | 2022-02-18T06:42:18 | 2022-02-18T06:42:18 | 68,726,252 | 0 | 1 | null | 2021-04-15T18:51:36 | 2016-09-20T15:30:41 | C++ | UTF-8 | C++ | false | false | 6,568 | inl | #include "Common.h"
template <typename T>
FORCE_INLINE TMatrix2D<T>::TMatrix2D ()
{
}
template <typename T>
FORCE_INLINE TMatrix2D<T>::TMatrix2D (const TMatrix2D& mat):m00(mat.m00), m01(mat.m01), m02(mat.m02),
m10(mat.m10), m11(mat.m11), m12(mat.m12),
m20(mat.m20), m21(mat.m21), m22(mat.m22)
{
}
template <typename ... | [
"654656040@qq.com"
] | 654656040@qq.com |
6a3b273253d66e09967595ed1a8552ee0f238ff7 | 5712a01bc06416cf32fb637e10b21b34b938961c | /Leetcode/Pascal's Triangle II.cpp | 3841f286b3071c3554a40acff5c5bf211cbe3704 | [] | no_license | WenShihKen/uva | 654a9f5f3e56935625e061795f152609899b79e5 | 03a3d603941dd9b9ec13e76fb99d24da6749a81b | refs/heads/master | 2021-01-10T14:34:29.580527 | 2020-06-25T15:34:23 | 2020-06-25T15:34:23 | 48,536,090 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 382 | cpp | class Solution
{
public:
vector<int> getRow(int rowIndex)
{
vector<int> ans(rowIndex + 1, 1);
for (int i = 1; i <= rowIndex; i++)
{
int t1 = 1;
for (int j = 1; j < i; j++)
{
int t2 = ans[j];
ans[j] += t1;
... | [
"WenShihKen@users.noreply.github.com"
] | WenShihKen@users.noreply.github.com |
bfb5366091cf387268d7bd4d27ef75b2f12251d7 | ad273708d98b1f73b3855cc4317bca2e56456d15 | /aws-cpp-sdk-iotanalytics/include/aws/iotanalytics/model/BatchPutMessageResult.h | 00b476177304842920e65a078d1a606ba5044781 | [
"MIT",
"Apache-2.0",
"JSON"
] | permissive | novaquark/aws-sdk-cpp | b390f2e29f86f629f9efcf41c4990169b91f4f47 | a0969508545bec9ae2864c9e1e2bb9aff109f90c | refs/heads/master | 2022-08-28T18:28:12.742810 | 2020-05-27T15:46:18 | 2020-05-27T15:46:18 | 267,351,721 | 1 | 0 | Apache-2.0 | 2020-05-27T15:08:16 | 2020-05-27T15:08:15 | null | UTF-8 | C++ | false | false | 3,376 | h | /*
* Copyright 2010-2017 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" fil... | [
"henso@amazon.com"
] | henso@amazon.com |
b66ba09593e642a672d8d7c125d2d17daa2ca61c | 85dd89fb0b3e89df45ce35cd9d54dd94a2d0bf06 | /AtCoderProblems/ARC/042/a.cpp | 95e926f458d959c99898eace0828310e77e35e0c | [] | no_license | Kourin1996/CompetitiveProgramming | c0a29f256ecc6d270357ca3b563ba57bbcb0e4be | be2bc9388b7ef63599b668827f7acb86908d02d5 | refs/heads/main | 2021-06-10T14:00:54.224708 | 2018-06-25T10:30:34 | 2018-06-25T10:30:34 | 114,212,139 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 552 | cpp | #include <iostream>
#include <vector>
#include <utility>
#include <algorithm>
int N = 0, M = 0;
std::vector< std::pair<int,int> > thread;
int main(void){
int i;
std::cin >> N >> M;
thread.resize(N);
for(i=0; i<N; ++i){
thread[i].first = 0;
thread[i].second = i+1;
}
int x = 0;... | [
"kourin1996@gmail.com"
] | kourin1996@gmail.com |
182942063a304f5c6ae0d0485d8d09916515d4d9 | 52a9241361bd179c437f85d9c307e0a8d27f5c72 | /461.cpp | ba500320ce4f4afbeb1cf22b2a223ebb6121cdaf | [] | no_license | xingoxu/leetcode | 5b710a21f3a220655dffa80300bf0515081a93d0 | aa109ce7004662e4be7f5771e80a19cbe22bb287 | refs/heads/master | 2020-05-23T15:10:30.949381 | 2020-02-27T00:10:01 | 2020-02-27T00:10:01 | 186,820,252 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 432 | cpp | #include <iostream>
#include <math.h>
using namespace std;
class Solution
{
public:
int hammingDistance(int x, int y)
{
int ret = y < 0 ? 1 : 0;
auto exclusiveOr = x ^ y;
while (exclusiveOr != 0 && exclusiveOr != -1)
{
if((exclusiveOr & 1))
++ret;
exclusiveOr = exclusiveOr >> ... | [
"xingoxu@gmail.com"
] | xingoxu@gmail.com |
40bb1869ea22126816372d236dc6b57a8f311426 | b88cf2abe9bf0c771db00b7576f03b9b54a47be5 | /smartDogWithSwitch.ino | ae1f6ea866c29114dae271be47171b63eff54ab0 | [] | no_license | alice-t/Treat-Dispenser | 0e80896bbb82e8951a02e7be396b3372305ed8e8 | 2907eda7e6b1fa4aad435c329eb0019e42d505f4 | refs/heads/master | 2020-12-07T05:03:53.616583 | 2020-01-09T16:28:32 | 2020-01-09T16:28:32 | 232,640,168 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,894 | ino | #include <SPI.h>
#include <Servo.h>
#include "Adafruit_BLE_UART.h"
#include <EEPROM.h>
// Bluetooth params
#define ADAFRUITBLE_REQ 10
#define ADAFRUITBLE_RDY 2
#define ADAFRUITBLE_RST 9
Adafruit_BLE_UART BTLEserial = Adafruit_BLE_UART(ADAFRUITBLE_REQ, ADAFRUITBLE_RDY, ADAFRUITBLE_RST);
aci_evt_opcode_t bleStatus;
... | [
"alice.torjussen@gmail.com"
] | alice.torjussen@gmail.com |
751f0b085599ba073b19657c64b8d05a976c099c | 916ef1b31f0b683de4f043626d9df59f37edbbc4 | /atcoder/05_AtCoder-Beginner-Contest/abc167/D/main.cpp | 0cc42db0cac32d3b7e0478fc646865378e3aff9e | [] | no_license | solareenlo/cpp | 56cc33673d30dd4a4031e4b81cec16b08b3490e0 | f78f8a098849938153e6e3a282737e067dbe2c58 | refs/heads/master | 2021-03-31T04:31:39.420394 | 2020-11-29T22:22:25 | 2020-11-29T22:22:25 | 248,076,420 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 878 | cpp | #include <iostream>
#include <vector>
#define REP(i, n) for (int i = 0; i < (n); i++)
using namespace std;
int main() {
int n;
long long k;
cin >> n >> k;
vector<int> a(n); // ワープ手順全部
REP(i, n) cin >> a[i];
vector<int> road; // 必要なワープ手順 (tail と loop の部分)
vector<int> count(n + 1, -1); // i... | [
"solareenlo@gmail.com"
] | solareenlo@gmail.com |
fbd777dca1761de9a79bdb979ed667a331292dfe | 15e9a40acc6a923ec3d8665e7171b7d55dc2a17e | /2019-2020 Pacific Northwest (Div. 1)/editorial/C. Coloring Contention/accepted/coloringgraphedgesgame_arknave.cpp | 1dfcc071cff133af0d541f8a72cd642333de7870 | [] | no_license | yuanz4/Codeforces | 951ad71469c2419a8bff6287d2989262759cc20b | c9e15f3194c54fe413e3b7cc07d69eb67712e9c7 | refs/heads/main | 2023-07-17T14:59:51.664501 | 2021-08-16T16:46:15 | 2021-08-16T16:46:15 | 324,513,112 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 877 | cpp | // #include <bits/stdc++.h> // this is not C++; this is a Linuxism
#include <iostream>
#include <vector>
#include <queue>
using namespace std;
#define all(x) begin(x), end(x)
using ll = long long;
using ld = long double;
using pii = pair<int, int>;
using vi = vector<int>;
int main() {
int n, m;
cin >> n >> ... | [
"yuanz4@illinois.edu"
] | yuanz4@illinois.edu |
0e446efb2e4e9f98c38f3fe6f85f669014d8ef8c | bfc88535fa1495c64672f048a5559e8bb6de1ae1 | /SPOJ/NDS.cpp | 8b87eae74980b8452377844f2d6e1e14b19c6e54 | [] | no_license | famus2310/CP | 59839ffe23cf74019e2f655f49af224390846776 | d8a77572830fb3927de92f1e913ee729d04865e1 | refs/heads/master | 2021-07-05T00:23:31.113026 | 2020-08-07T22:28:24 | 2020-08-07T22:28:24 | 144,426,214 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,277 | cpp | #include <bits/stdc++.h>
using namespace std;
typedef long long LL;
typedef pair<int, int> pii;
typedef pair<int, pair<int, int> > piii;
#define pb push_back
#define debug(x) cout << x << endl
#define fastio ios_base::sync_with_stdio(0), cin.tie(0)
#define PI acos(-1)
#define all(c) c.begin(), c.end()
#define SET(x, y)... | [
"fadhilmusaad@gmail.com"
] | fadhilmusaad@gmail.com |
5a135d27ebacbd81b7a46d8b9a15fd37a02311ca | a6dae8547c72dd40bc1b2ec2bae9b92ba6b96464 | /Core/pcre/pcre.cxx | 82b604a8011f61dac8a9f6b2570ea59427ca6a9f | [
"BSD-2-Clause",
"BSD-3-Clause",
"LicenseRef-scancode-pcre"
] | permissive | scijones/Soar | 543169cad2c93787f930eecfb06e5a4b30be8bee | de3bb9c9daff90499a9ea05aef1360c256628648 | refs/heads/master | 2023-02-24T22:38:15.956621 | 2015-07-13T18:07:13 | 2015-07-13T18:07:13 | 22,886,200 | 0 | 0 | NOASSERTION | 2023-02-15T23:08:41 | 2014-08-12T17:32:19 | C++ | UTF-8 | C++ | false | false | 553 | cxx | #include "pcre_chartables.c"
#include "pcre_compile.c"
#include "pcre_config.c"
#include "pcre_dfa_exec.c"
#include "pcre_exec.c"
#include "pcre_fullinfo.c"
#include "pcre_get.c"
#include "pcre_globals.c"
#include "pcre_info.c"
#include "pcre_maketables.c"
#include "pcre_newline.c"
#include "pcre_ord2utf8.c"
#include "... | [
"mazina@umich.edu"
] | mazina@umich.edu |
775d89f13e829471c23bf7cc1412b64a5dba89b0 | a6352828dbdfc70485bfe96518d8de6c20d64f65 | /Net/Connection/SocketConnection.cpp | 8ca36623a3e2888668200a9d0eec0b11899177bc | [] | no_license | lxj362343/framework-nd | cbbed6ccb29e9a5ae130b17947d5b324604a810d | 9fe9d770af2bf0a96308fc92811c908b883ed21d | refs/heads/master | 2022-01-07T13:07:21.845762 | 2019-01-11T03:05:50 | 2019-01-11T03:05:50 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,067 | cpp | #include "BoostProcessor.h"
#include "SocketConnection.h"
#include "TcpClient.h"
#include "Reactor.h"
#include "Protocol.h"
#include "Log.h"
#include <unistd.h>
#include <errno.h>
#include <string.h>
#include <err.h>
using namespace Net::Connection;
//----------------------------------------------------------------... | [
"noodle1983@126.com"
] | noodle1983@126.com |
6ea62b428fc3cf83c71333e24d20581b83fca563 | d5bd083dbcacce8cf62ebbd73c77c14c8247e057 | /external/skia/src/utils/SkTextureCompressor_Blitter.h | 73d8ee4ffb362f4fa2937a8dc030ba577b7f74d5 | [
"BSD-3-Clause",
"SGI-B-2.0"
] | permissive | RetronixTechInc/android-retronix | ab0e10840dab5dc7b0879737953ebf2e1916f2b0 | cd7d794dea51c3b287da0d35ddb18c1bdef00372 | refs/heads/RTX_NXP_Android601 | 2021-11-16T03:58:58.169998 | 2021-11-15T01:51:02 | 2021-11-15T01:51:02 | 198,991,737 | 4 | 5 | null | 2020-03-08T23:21:29 | 2019-07-26T09:49:01 | Java | UTF-8 | C++ | false | false | 30,232 | h | /*
* Copyright 2014 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#ifndef SkTextureCompressor_Blitter_DEFINED
#define SkTextureCompressor_Blitter_DEFINED
#include "SkTypes.h"
#include "SkBlitter.h"
namespace SkTextureCompressor {
// Osten... | [
"townwang@retronix.com.tw"
] | townwang@retronix.com.tw |
284e21121d7202f31145a26d5edd76828e6b391b | 52a9241361bd179c437f85d9c307e0a8d27f5c72 | /148.cpp | cf395aa8a73010b6fdbac40dbc7e55a883ba40e3 | [] | no_license | xingoxu/leetcode | 5b710a21f3a220655dffa80300bf0515081a93d0 | aa109ce7004662e4be7f5771e80a19cbe22bb287 | refs/heads/master | 2020-05-23T15:10:30.949381 | 2020-02-27T00:10:01 | 2020-02-27T00:10:01 | 186,820,252 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,189 | cpp | #include <iostream>
#include <vector>
#include <sstream>
#include <stack>
#include <unordered_map>
using namespace std;
struct ListNode
{
int val;
ListNode *next;
ListNode(int x) : val(x), next(NULL) {}
};
void trimLeftTrailingSpaces(string &input)
{
input.erase(input.begin(), find_if(input.begin(), input.end... | [
"xingoxu@gmail.com"
] | xingoxu@gmail.com |
f860a1cc4ccc07a367e9519ede0439c0aea78cb3 | 5fdb36b286e07309e05890e3222a3d8b754c05cc | /GUI Simulation/clix.h | 290ee79ee85cd967b863a7dc60a7f9c0dfb6f4ac | [
"MIT"
] | permissive | ADyson/CUDAMultislice | 638a659f4d62dfe288272a16cfa471e6b1705b58 | 27726b57b58213ee71318680ffe5ec764b69dbbb | refs/heads/master | 2021-03-13T00:01:50.525599 | 2014-08-25T11:41:12 | 2014-08-25T11:41:12 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,809 | h | // ------------------------------------------------------------------------------------------- //
// clix.h
//
// Marshals strings between .NET and C++ using C++/CLI (Visual C++ 2005 and later only).
// Faster and cleaner than the System::Interop method because it uses garbage collected memory.
// Use at your own leisu... | [
"dyson.adam@gmail.com"
] | dyson.adam@gmail.com |
4f6e8f727aa51c4848aede4e1f94857fc56237e2 | 54ab0f79f5d68f4732ca7d205f72ecef99862303 | /aten/src/ATen/native/quantized/cpu/XnnpackUtils.h | 12e4fbbf1e76ccbce83608760da343bfbd7828e8 | [
"BSD-3-Clause",
"LicenseRef-scancode-generic-cla",
"BSL-1.0",
"Apache-2.0",
"BSD-2-Clause"
] | permissive | csarofeen/pytorch | a9dd0f8ffa0642d72df2d5e109a8b4d9c2389cbc | e8557ec5e064608577f81e51ccfe7c36c917cb0f | refs/heads/devel | 2023-04-30T02:42:13.558738 | 2023-03-14T00:50:01 | 2023-03-14T00:50:01 | 88,071,101 | 35 | 10 | NOASSERTION | 2023-06-21T17:37:30 | 2017-04-12T16:02:31 | C++ | UTF-8 | C++ | false | false | 11,876 | h | #pragma once
#ifdef USE_XNNPACK
#include <cstdint>
#include <ATen/core/Tensor.h>
#include <ATen/native/xnnpack/Common.h>
using xnnpack_operator = at::native::xnnpack::Operator;
namespace at {
namespace native {
namespace xnnp_utils {
/*
* Return shape in the same order as the memory format
* e.g. channels_last w... | [
"pytorchmergebot@users.noreply.github.com"
] | pytorchmergebot@users.noreply.github.com |
f24815e77f5dcbe5fb8e9bac245bae916124661b | c8b39acfd4a857dc15ed3375e0d93e75fa3f1f64 | /Engine/Source/Editor/BlueprintGraph/Classes/K2Node_PureAssignmentStatement.h | 6d01953e9e06c756fc752897512d817c3e710532 | [
"MIT",
"LicenseRef-scancode-proprietary-license"
] | permissive | windystrife/UnrealEngine_NVIDIAGameWorks | c3c7863083653caf1bc67d3ef104fb4b9f302e2a | b50e6338a7c5b26374d66306ebc7807541ff815e | refs/heads/4.18-GameWorks | 2023-03-11T02:50:08.471040 | 2022-01-13T20:50:29 | 2022-01-13T20:50:29 | 124,100,479 | 262 | 179 | MIT | 2022-12-16T05:36:38 | 2018-03-06T15:44:09 | C++ | UTF-8 | C++ | false | false | 1,359 | h | // Copyright 1998-2017 Epic Games, Inc. All Rights Reserved.
#pragma once
#include "CoreMinimal.h"
#include "UObject/ObjectMacros.h"
#include "K2Node.h"
#include "K2Node_PureAssignmentStatement.generated.h"
class UEdGraphPin;
UCLASS(MinimalAPI)
class UK2Node_PureAssignmentStatement : public UK2Node
{
GENERATED_UCL... | [
"tungnt.rec@gmail.com"
] | tungnt.rec@gmail.com |
d77456196c3c51e1442c83e7c15d5e59b636c5cc | 67f988dedfd8ae049d982d1a8213bb83233d90de | /external/chromium/chrome/browser/sync/glue/bridged_invalidator_unittest.cc | 110aa635c0d375ea74b276bfefecd5c3002522b8 | [
"BSD-3-Clause"
] | permissive | opensourceyouthprogramming/h5vcc | 94a668a9384cc3096a365396b5e4d1d3e02aacc4 | d55d074539ba4555e69e9b9a41e5deb9b9d26c5b | refs/heads/master | 2020-04-20T04:57:47.419922 | 2019-02-12T00:56:14 | 2019-02-12T00:56:14 | 168,643,719 | 1 | 1 | null | 2019-02-12T00:49:49 | 2019-02-01T04:47:32 | C++ | UTF-8 | C++ | false | false | 6,250 | cc | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/sync/glue/bridged_invalidator.h"
#include <string>
#include "base/compiler_specific.h"
#include "base/memory/scoped_ptr.h"
... | [
"rjogrady@google.com"
] | rjogrady@google.com |
cc06d79739c02464fcf85aeda0aab966cdc9ca5f | 9bf8e4bd82ea684dd1f34c42c437faec74616f70 | /src/gui/power_gallery.hpp | ae0fb7d4b27d1d34572b1552ab01017275c0f8a0 | [] | no_license | tigrangs/ic_modeling | c8a3fcd5612877f53a7e978eca886cdafd25e059 | b2e7d3c299bf08f1a755cc11cbda0cc47f944efe | refs/heads/master | 2021-05-01T06:26:06.767214 | 2018-06-20T13:23:21 | 2018-06-20T13:23:21 | 121,142,769 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 414 | hpp | #ifndef POWER_GALLERY_HPP
#define POWER_GALLERY_HPP
#include <QWidget>
namespace core
{
class ic;
}
namespace gui
{
class viewer_3d;
class power_gallery : public QWidget
{
Q_OBJECT
public:
explicit power_gallery(core::ic*, QWidget *parent = nullptr);
private:
using layers = QList... | [
"programtg@yahoo.com"
] | programtg@yahoo.com |
ab3d4bf7a9715372e24fab2ec9e9dadd00e58392 | 05803cfabffdef2ccdf294fdcbcb6319e31997f4 | /src/lib/window_manager_win32.h | b2cc5f43566d2b8930c79800df3099c1a9bd9722 | [
"BSD-2-Clause"
] | permissive | abainbridge/trex-warrior | 3cedc69d5a69500e5cdde1a393df29e31f005ed9 | fac95802ce7efd8dc9c50f915ce8d5891f545640 | refs/heads/master | 2021-06-02T05:53:21.090486 | 2015-11-08T19:14:48 | 2015-11-08T19:14:48 | 32,854,108 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 265 | h | #ifndef INCLUDED_WINDOW_MANAGER_WIN32_H
#define INCLUDED_WINDOW_MANAGER_WIN32_H
class WindowManagerWin32
{
public:
HWND m_hWnd;
HDC m_hDC;
HGLRC m_hRC;
WindowManagerWin32()
: m_hWnd(NULL),
m_hDC(NULL),
m_hRC(NULL)
{
}
};
#endif
| [
"abainbridge2005@gmail.com@ec34d732-e6b3-c456-da3c-2a8e3e90ce8a"
] | abainbridge2005@gmail.com@ec34d732-e6b3-c456-da3c-2a8e3e90ce8a |
5e6bd43447446b114a7463c065e38d156efb03a1 | a9a84b790be4effadffc755f4f3939245798edd5 | /devel/include/franka_control/SetEEFrameResponse.h | ec4fcaee48b42d8a9cd4f5935b16b979a07190ac | [] | no_license | Valkje/panda | bce3e7b2f981e916f06ce0b3d6e5b2cb8506c8ad | 6a5177f8d0add40990d17f7027c0573490b52a72 | refs/heads/master | 2020-03-18T21:18:42.933651 | 2018-05-29T09:39:21 | 2018-05-29T09:39:21 | 135,273,530 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,721 | h | // Generated by gencpp from file franka_control/SetEEFrameResponse.msg
// DO NOT EDIT!
#ifndef FRANKA_CONTROL_MESSAGE_SETEEFRAMERESPONSE_H
#define FRANKA_CONTROL_MESSAGE_SETEEFRAMERESPONSE_H
#include <string>
#include <vector>
#include <map>
#include <ros/types.h>
#include <ros/serialization.h>
#include <ros/built... | [
"loran.knol@gmail.com"
] | loran.knol@gmail.com |
ce2e65235726fa1c2daedbbd45be10146e823ee1 | 95b1430f0882b89aa01cf152126e20b83f00aae3 | /week7/Inheritance/Car.cpp | f5c77710b254cd514b2e9ad04798b16e7a84e3af | [] | no_license | Vankata/OOP | 5bec3ac72c1e3c9e5a38f0c642266589f96d561c | d386638e1ae513e96f1916760423566967b46c58 | refs/heads/master | 2021-01-10T15:19:31.959667 | 2016-04-26T11:23:56 | 2016-04-26T11:23:56 | 53,796,614 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,778 | cpp | #include "stdafx.h"
#include "Car.h"
Car::Car() :Vehicle()
{
this->model = NULL;
this->doors = 0;
this->HP = 0;
}
Car::Car(char* color, char* make, int year, int seats, double maxSpeed, char* model, int doors, int HP) : Vehicle(color, make, year, seats, maxSpeed)
{
this->model = new char[strlen(model) + 1];
strc... | [
"vancyki@abv.bg"
] | vancyki@abv.bg |
dd25ddd8e95c92aa077ce2bbab5170105ee48bcf | 40be95adeb0dbabc0fc4a63799013555c9098135 | /sdk/Media/IMediaFilter.cpp | 8707ea8e0ba303f207371c1e8e6f99361918865d | [
"MIT"
] | permissive | InfiniteInteractive/LimitlessSDK | af563d5c880c8258d1a67834106b82dbea3e91ba | cb71dde14d8c59cbf8a1ece765989c5787fffefa | refs/heads/master | 2020-05-21T19:15:44.208452 | 2017-07-19T22:27:10 | 2017-07-19T22:27:10 | 63,438,341 | 3 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 29,584 | cpp | #include "Media/IMediaFilter.h"
#include "Media/MediaPad.h"
#include "Media/MediaSampleFactory.h"
#include "Media/MediaPluginFactory.h"
#include "Media/MediaSourcePad.h"
#include "Media/SystemMediaClock.h"
#include "Media/MediaSampleFlags.h"
#include "Base/JsonSerializer.h"
#include "boost/foreach.hpp"
#include <boos... | [
"caseymcc@krazer.net"
] | caseymcc@krazer.net |
0534cf6a3b0bf2ac6067fc7db747b4ee447d6a1b | 14e30c5f520f0ed28117914101d9bdf2f3d5dac7 | /project/source/game/states/game_state_manager.cpp | 9e0a68dabd2468f26e23d20bc4c50a1a06f31a59 | [] | no_license | danielePiracci/arlight | f356eb5a162d0cd62a759720cbc6da41a820642f | 15a68c4c80c97f2fe7458e7ddf03f3e1063e25a4 | refs/heads/master | 2016-08-11T13:45:35.252916 | 2011-01-24T20:22:50 | 2011-01-24T20:22:50 | 44,962,821 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,110 | cpp | /// \file game/states/game_state_manager.cpp
/// \author Juan Carlos De Abreu (jcabreur@gmail.com)
/// \date 2010/02/06
/// \version 1.0
///
/// \brief This file implements the DissertationProject::States::GameStateManager
/// class, declared at game/states/game_manager.h.
#include "game/states/game_state_manag... | [
"jcabreur@db05138c-34b8-7cfb-67b9-2db12d2e1ab0"
] | jcabreur@db05138c-34b8-7cfb-67b9-2db12d2e1ab0 |
2873dcd149218c3402df3ab5832cfe179e21033a | e08bde972d5856a256857e238055bc94876fae9c | /Path planning/Scurve/Scurve/PTP.cpp | fd21a83c394b5c0c796004c6df183c17b6cda038 | [] | no_license | YuCH-Hank/MyRobot | 5038cd2ebc4788804ae1bf0037c5df22cab916e3 | b65354d40150bb30397e0f6d40a42f53e8ab005d | refs/heads/master | 2023-03-09T21:06:18.153447 | 2021-02-27T08:06:29 | 2021-02-27T08:06:29 | null | 0 | 0 | null | null | null | null | BIG5 | C++ | false | false | 5,693 | cpp | #include "PTP.h"
//================ 點對點命令 ================
double Time = 0.0;
vector<double> jerk = { 1.0, 1.0, 1.0, 1.0, 1.0, 1.0 };
vector<double> Displacement;
double DisplacementFunction;
double max_time = 0.0;
double Ta, Tb, Tc, Ts, t1, t2, t3, t4, t5, t6, t7;
double ta, tb, tc, ts;
int NumberMax;
void PTP_S... | [
"70463744+YuCH-Hank@users.noreply.github.com"
] | 70463744+YuCH-Hank@users.noreply.github.com |
80e9cc36900ca8e24063f72ce740fc4f783eeb67 | 39040af0ff84935d083209731dd7343f93fa2874 | /inc/uprogressbar.h | 7f1c83ba565f38ec938dbdf22cfb92e0fc487e2f | [
"Apache-2.0"
] | permissive | alanzw/ulib-win | 02f8b7bcd8220b6a057fd3b33e733500294f9b56 | b67f644ed11c849e3c93b909f90d443df7be4e4c | refs/heads/master | 2020-04-06T05:26:54.849486 | 2011-07-23T05:47:17 | 2011-07-23T05:47:17 | 34,505,292 | 5 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 1,184 | h | #ifndef U_PROGRESSBAR_H
#define U_PROGRESSBAR_H
#include "ucontrol.h"
#include "colors.h"
class ULIB_API UProgressBar : public UControl
{
public:
UProgressBar(HWND hParent, UINT nResource, HINSTANCE hInst);
~UProgressBar();
//
virtual BOOL create();
//
virtual BOOL setRange(int min, int max)... | [
"fox000002@48c0247c-a797-11de-8c46-7bd654735883"
] | fox000002@48c0247c-a797-11de-8c46-7bd654735883 |
6f5acd5bd1de8ce8dc9d437c350189994a4077b6 | b18e47f011236926956de8894e1de2a4d5bde1f5 | /2.Bai tap YT/Bai tap so 4/nhap.cpp | a9627c215204b24a1752977ad1fc0d18fd947212 | [] | no_license | DuyetVu2001/Study-C-languge | 0209030efea57626ba88240ad67620ebedb0a403 | 0e16ad166a3e5b376b866a7f3aa9b45ca923293e | refs/heads/master | 2022-12-06T01:22:18.449125 | 2020-08-24T18:49:52 | 2020-08-24T18:49:52 | 290,013,393 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 104 | cpp | #include<stdio.h>
#include<math.h>
int main(){
int n;
n = ceil(7/2);
printf("%d", n);
return 0;
}
| [
"vungocduyet24@gmail.com"
] | vungocduyet24@gmail.com |
99c873e2ee088889b1f483b3f06552fe1d53432f | 4209e97658f8fdb6997c661d6e16b96aa0698977 | /A_star/MainFrm.cpp | 8c75ab70f224c08f5688498f814502872ce062b3 | [] | no_license | Feoggou/astar | fcf09a762bad2b9d0916fc93df24d2f0927668b7 | 8afd6c9581ad4dffd6a0cc7cfafd5732aa52a9d2 | refs/heads/master | 2016-09-01T23:26:49.057080 | 2013-04-02T21:00:43 | 2013-04-02T21:00:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,241 | cpp | // MainFrm.cpp : implementation of the CMainFrame class
//
#include "stdafx.h"
#include "A_star.h"
#include "MainFrm.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#endif
extern BOOL StoredOnce;
// CMainFrame
IMPLEMENT_DYNCREATE(CMainFrame, CFrameWnd)
BEGIN_MESSAGE_MAP(CMainFrame, CFrameWnd)
ON_WM_CREATE()
ON_WM_CLOSE... | [
"samuel.ghinet@moredevs.ro"
] | samuel.ghinet@moredevs.ro |
9af42367f7e7fa28c2a68dbd2b908477f63c20b9 | e52ce84e5ef50594d870ab31bb45e462557a926e | /Account.cpp | e47300f4e221c5574adf5163f741c8fb7cb5cebf | [] | no_license | minilooth/Kursovaya_3sem | 86fbd2b6487087a302019c106d44c8090788012c | 46cc19f24cec1786926a70f21bdcb05d3bc40f35 | refs/heads/master | 2023-01-22T11:55:30.963213 | 2019-12-28T15:42:22 | 2019-12-28T15:42:22 | 219,169,182 | 0 | 0 | null | null | null | null | WINDOWS-1251 | C++ | false | false | 1,475 | cpp | #include "AccountHandler.h"
using namespace account;
Account::Account()
{
username_ = "";
password_ = "";
adminAccess_ = false;
banStatus_ = false;
}
Account::Account(const string& username, const string& password, bool adminAccess, bool banStatus)
{
username_ = username;
password_ = password;
adminAccess_ = ... | [
"minilooth@gmail.com"
] | minilooth@gmail.com |
9acb75049f0880cda0c3a60bf6186126dcb7e100 | d7d5790c315b3f321873bf0c0853c2c7346bc23e | /tests/toolchain/abigen-pass/aliased_type_variant_template_arg.cpp | ab144ec55ac39d47841397307ddc6488520676c0 | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | DarthVader1977/eosio.cdt | ee4a45bf7a745c6ffb46a316f4e26228cd048d81 | 1853c2523ba248fc5dd2232471804543804d2fc4 | refs/heads/master | 2021-07-16T07:26:10.381721 | 2020-10-07T09:39:16 | 2020-10-07T09:39:16 | 220,968,301 | 0 | 0 | MIT | 2020-10-16T14:46:08 | 2019-11-11T11:39:44 | C++ | UTF-8 | C++ | false | false | 529 | cpp | /*
* Regression test for https://github.com/EOSIO/eosio.cdt/issues/602.
*
* Verifies that an aliased type can be used as a variant template arg.
*/
#include <eosio/eosio.hpp>
using namespace eosio;
using str = std::string;
class [[eosio::contract]] aliased_type_variant_template_arg : public contract {
public:
... | [
"jeffreyssmith2nd@gmail.com"
] | jeffreyssmith2nd@gmail.com |
ff4a0ed55cb490929099944065c2922c0da293d8 | b0568af5234e6ff8bb23d93725b00c895fb44f91 | /Assignment1/Assignment1/Order.cpp | bb7a337a34b086a51a8ba5ec52b5b8767ae7d40f | [] | no_license | JaiiParmar/C-Projects | 96a9ad390ed04208bdea749670c2463a708842ad | 4ec92c65752b365b9b35d07431d3857d9bddd3c9 | refs/heads/master | 2020-08-28T12:53:59.445140 | 2020-02-29T12:49:10 | 2020-02-29T12:49:10 | 217,704,390 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 459 | cpp |
#include "Order.h"
#include <vector>
#include <fstream>
void Order::createOrder(std::string path) const
{
std::ifstream fin(path);
while (!fin.eof())
{
// read line by line and store it in the vector or order.
// increment total accordingly
}
fin.close();
}
std::vector<Order> Order::getOrders() const
{
... | [
"jaiparmar207@gmail.com"
] | jaiparmar207@gmail.com |
e8ba7357a7dcf55a802f5f6bb86c6ef87354130b | c5cbf21e9867eb1f4c9b42c5fc9ca3a22c3bc6e0 | /src/init.cpp | 572e4f97c560f35f7f00bc1f842dddd5c0505622 | [
"MIT"
] | permissive | fancywarlock/bitcoinR | 3af69835110f3ece8d629919b210bc71aeb9f3fe | 12b4dee6342556c0890218b843f29cadfab06214 | refs/heads/master | 2022-07-17T09:48:39.681406 | 2020-05-19T22:30:55 | 2020-05-19T22:30:55 | 265,382,334 | 2 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 91,688 | cpp | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2018 The Bitcoin Core developers
// Copyright (c) 2020 The bitcoinR Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#if defined(HAVE_CONFIG_H)
#in... | [
"62725809+fancywarlock@users.noreply.github.com"
] | 62725809+fancywarlock@users.noreply.github.com |
0d710b81edb1c3286f405ccbb7ac98daa4d02680 | 50165286c35e6e27b7c3734795cc0e64b7f643fd | /include/Base_writer.h | eebb6a00c88155bbda608dad2f0e7e3a564a893c | [
"Zlib"
] | permissive | suppositio/Mandelbrot_fractal_explorer | 90741ecd1c35d513af193f8bc6f8c939b6cd9ec5 | 3c723558490813ea1f26f22922f6ca8e3f9d0920 | refs/heads/master | 2023-06-19T19:47:01.115852 | 2021-07-15T15:54:26 | 2021-07-15T15:54:26 | 373,987,407 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 454 | h | #pragma once
#include "Buffer.h"
namespace suppositio {
template <typename Pix_t>
class Base_writer {
public:
Base_writer(const std::shared_ptr<Buffer<Pix_t>>& buffer) :
buffer_{ buffer },
width_{ buffer->get_width() },
height_{ buffer->get_height() } {}
virtual void write(const std::string& file_name) = 0;
... | [
"rostyslav.paranko@gmail.com"
] | rostyslav.paranko@gmail.com |
35bc6649d5d131ae13bb7ca6d26ccb862df2557d | 0f835bc34c99d9a776b6ecf308d4acb723539870 | /worldsettings.cpp | cfd720d5d0f8bca0ff8906a3a9d65ee40f64c74f | [] | no_license | jacobmoroni/SnowGlobe | 526380a8684543cd056ec114bd0a3593228fc555 | 4c7c9144af2fb36d24810ec7637864e92657a769 | refs/heads/master | 2023-07-30T16:41:56.444181 | 2021-09-17T18:30:37 | 2021-09-17T18:30:37 | 407,608,664 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,358 | cpp | #include "worldsettings.h"
#include "ui_worldsettings.h"
#include "vector.h"
WorldSettings::WorldSettings(QWidget *parent) :
QDialog(parent),
ui(new Ui::WorldSettings)
{
ui->setupUi(this);
ui->gravity_x->setDisabled(true);
ui->gravity_y->setDisabled(true);
ui->gravity_z->setDisabled(true);
}
W... | [
"jacobmoroniolson@gmail.com"
] | jacobmoroniolson@gmail.com |
53c42b8d64870a90aa66630fa0b9d5aeed719c2b | 0f9f42ed3e125dbffd5a4fc021a91ce021c45a64 | /Bai Tap/clearing-input-buffer.cpp | f123fc6d07f5ea2bfb6c2b9f573d7cbc31d6fad4 | [] | no_license | luanquanghuy/LapTrinhNangCao | 94aa4a7e0f9fa0fd57fe159a96280ebd084789fe | 08678860a61ea2c1ef95b1146a454a61ff240b6c | refs/heads/master | 2021-05-05T23:24:17.854844 | 2018-05-07T15:13:02 | 2018-05-07T15:13:02 | 116,674,822 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 275 | cpp | #include <iostream>
//#include <ios>
#include <limits>
using namespace std;
int main()
{
int a;
char s[100];
cin >> a;
cin.ignore(numeric_limits<streamsize>::max(), '\n');
cin.getline(s, 100);
cout << numeric_limits<streamsize>::max() << endl;
}
| [
"luanquanghuy@gmail.com"
] | luanquanghuy@gmail.com |
754d2e26b0f801df8fabaae149932192bb09997d | 621ff38e8b62885c592b3f992e73ca12d06f8cdb | /Driver.cpp | 44831d91bc20a93f44ffd5131eca5ea86bbcf6dc | [] | no_license | etsc9287/Starting-Computing | 8b2673beba2800ba6133f6c93c23c0c9ef9c3820 | b418ad0d4531cd208486fa1aafaf4bf8c02c78a1 | refs/heads/master | 2020-12-10T18:43:55.837210 | 2020-01-13T19:28:45 | 2020-01-13T19:28:45 | 233,675,711 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,374 | cpp | #include "Hero.h"
#include "Emperor.h"
#include "StormTrooper.h"
#include "Shuffler.h"
#include <iostream>
#include <fstream>
#include <sstream>
#include <iomanip>
#include <vector>
#include <string>
using namespace std;
void game(){
//1. Welcome user to the Death Star, they encounter first group of stormtroo... | [
"etsc9287@colorado.edu"
] | etsc9287@colorado.edu |
72101bb823e76aefaef140a114d1c1c5d3e7f42c | 3a936048e29b527d04fd1ebee1efdefed87bfb52 | /201812/p1207.cpp | 3a030e4c4dae1372bf59e366a3462751d5e0dc98 | [] | no_license | j921724/201802-practice-j921724 | 79ecd30eb44026b1a34b3d8af876b6c2e66c27c3 | d8ad57c993ce1cf232f0db740588db69299be72d | refs/heads/master | 2020-05-05T13:48:42.902402 | 2018-12-09T09:32:00 | 2018-12-09T09:32:00 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,168 | cpp | #include <iostream>
class student
{
public:
int value;
static int count;
static int* m_pArray;
public:
student()
{
count++;
if(m_pArray == nullptr)
m_pArray = new int[100];
}
~student()
{
count--;
if(count == 0)
{
... | [
"21600156@handong.edu"
] | 21600156@handong.edu |
efd02f7ba95d8c20c6215531d7f6743c04141dda | 3922ea0006690e982d37b879cb259f72ed0d77ff | /14_01_资源管理类的copying行为/stdafx.cpp | e7a1612ec901fa431fb6da2e308032ca4e067ecd | [] | no_license | c437yuyang/EffectiveCPlusPlus | f746d6e4391db6792e8772bdee58349f610852be | 45abc4e18e3245722d2be6491d7abfdae24dc37b | refs/heads/master | 2021-01-23T06:25:35.199922 | 2018-02-03T13:33:56 | 2018-02-03T13:33:56 | 93,022,219 | 0 | 2 | null | null | null | null | GB18030 | C++ | false | false | 288 | cpp | // stdafx.cpp : 只包括标准包含文件的源文件
// 14_01_资源管理类的copying行为.pch 将作为预编译头
// stdafx.obj 将包含预编译类型信息
#include "stdafx.h"
// TODO: 在 STDAFX.H 中引用任何所需的附加头文件,
//而不是在此文件中引用
| [
"954222619@qq.com"
] | 954222619@qq.com |
67c20c576f501acd44501a5c6fe10e3ff2fd1f7a | 7648c7c574c972baf73ae74f5112acfc49a4c456 | /project2/bagback/Led.cpp | 06e0790f8846dc9fbc2992b95f9dd793f8e12fec | [] | no_license | hoenic07/sensors-networks-projects | a986da287f6497f5e3e72268b5912836a7cec138 | 93a8879ddd080e07b8a7a7b84d4e59235def84b0 | refs/heads/master | 2021-01-21T04:47:53.627712 | 2016-06-15T08:40:45 | 2016-06-15T08:40:45 | 55,857,574 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 236 | cpp | #include "Led.h"
Led::Led(int lid) {
ledId = lid;
}
void Led::init() {
pinMode(ledId, OUTPUT);
}
void Led::setActive(bool isActive) {
if(isActive) {
digitalWrite(ledId, HIGH);
}else{
digitalWrite(ledId, LOW);
}
}
| [
"magda.radinger@gmail.com"
] | magda.radinger@gmail.com |
6d625d9e5c3e8d5d896e27c8b5111f5f8f6cab78 | 82c147779dfb0ddd4e539159c902d25487f8790f | /ABC/ABC121-130/ABC123/D/D.cpp | 253058f50cc2e7ff7063d901728eecad31bb47ec | [] | no_license | nayuta1019/AtCoder | 4350e17ef21baf6015cbcf5a6d6ece8c5bbe767b | a1d8d85885e75dc103f185adfabd5354d0a69a6c | refs/heads/master | 2023-03-09T02:15:42.219174 | 2021-02-16T07:18:57 | 2021-02-16T07:18:57 | 339,315,134 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,542 | cpp | /**
ABC123
2019/04/06/ 解説AC
**/
#define _USE_MATH_DEFINES
#include <bits/stdc++.h>
using namespace std;
#define FOR(i,a,b) for(int i = (a); i < (b); ++i)
#define rep(i, n) for(int i = 0; i < (int)(n); i++)
#define all(x) (x).begin(),(x).end()
inline int toInt(string s) {int v; istringstream sin(s);sin>>... | [
"nayuta.04510@gmail.com"
] | nayuta.04510@gmail.com |
307e6812238468cf5bc77ffa1f4fe12b72831d91 | 18c2ae623a0a35aa0de2d4c0d80baf2db17586ef | /options.h | 543fdd74268033ad9b1abcd3d38ff4dd015b734c | [] | no_license | gritukan/gas-simulator | 8d8243c2e00b8ebba64c73975086c2d4d71b2261 | d47ebcaa2b38e5a34ef36ccee0bba8b4ed896963 | refs/heads/master | 2022-04-17T06:12:25.463617 | 2020-04-14T20:45:59 | 2020-04-14T20:45:59 | 255,721,726 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 645 | h | #ifndef TOPTIONS_H
#define TOPTIONS_H
#include "common.h"
#include <vector>
struct TPetrol
{
//! Price per liter (without markup).
double Price = 1;
//! Markup of petrol cost (in percent)
double Markup = 0;
double GetPrice() const
{
return Price * (1 + Markup / 100);
}
};
struct... | [
"gritukan@yandex-team.ru"
] | gritukan@yandex-team.ru |
ac34e3d640ac89ef8490d7e4a9c813fc8127fa6e | b050304dc5a3799116a6c811962835e88a6619dc | /external/pure_pursuit_old/external/catch/catch.hh | aee81ea1b1452e8033d1b3df7b8e498d6f511b27 | [] | no_license | iscumd/path_tracking | a420eafa4130b038bbe46644be113dd5d7667a34 | 8ff32488349defe60363c9677aabf304744c5c91 | refs/heads/master | 2020-05-04T19:17:04.821479 | 2019-04-04T00:50:09 | 2019-04-04T00:50:09 | 179,385,609 | 0 | 1 | null | 2019-04-04T00:50:10 | 2019-04-03T23:27:45 | C++ | UTF-8 | C++ | false | false | 469,740 | hh | /*
* Catch v2.2.2
* Generated: 2018-04-06 12:05:03.186665
* ----------------------------------------------------------
* This file has been merged from multiple headers. Please don't edit it directly
* Copyright (c) 2018 Two Blue Cubes Ltd. All rights reserved.
*
* Distributed under the Boost Software Lice... | [
"jnarsing@umich.edu"
] | jnarsing@umich.edu |
515ff98124d5ab6d4e1cbe8b327c04948b4422a0 | edac7317c6123c8baa831a5454ae8d91b3351dbf | /src/tokenizer.cpp | ea1aa43342e67f3f5a4969f82bd1ffd73ea2ea2d | [
"Apache-2.0"
] | permissive | tushartushar/tokenizer | 199373841ef7592cee9b9fd0fc479a7caa730c1e | db6c55f71944f2ce414c931854f29696f6026b9a | refs/heads/master | 2020-03-12T00:54:04.857857 | 2018-05-17T13:43:20 | 2018-05-17T13:43:20 | 130,361,099 | 0 | 0 | null | 2018-04-20T12:47:14 | 2018-04-20T12:47:14 | null | UTF-8 | C++ | false | false | 3,309 | cpp | /*-
* Copyright 2014 Diomidis Spinellis
*
* 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... | [
"dds@aueb.gr"
] | dds@aueb.gr |
f88e565ed72726f136513b1c84dfe762fa25ebda | 6f874ccb136d411c8ec7f4faf806a108ffc76837 | /code/VCSamples/VC2008Samples/MFC/advanced/collect/colledoc.cpp | 1c3eb686e35a80901e31cf73f849f23224308d84 | [
"MIT"
] | permissive | JetAr/ZDoc | c0f97a8ad8fd1f6a40e687b886f6c25bb89b6435 | e81a3adc354ec33345e9a3303f381dcb1b02c19d | refs/heads/master | 2022-07-26T23:06:12.021611 | 2021-07-11T13:45:57 | 2021-07-11T13:45:57 | 33,112,803 | 8 | 8 | null | null | null | null | UTF-8 | C++ | false | false | 6,948 | cpp | // colledoc.cpp : implementation of the CCollectDoc class
//
// This is a part of the Microsoft Foundation Classes C++ library.
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// This source code is only intended as a supplement to the
// Microsoft Foundation Classes Reference and related
// electroni... | [
"126.org@gmail.com"
] | 126.org@gmail.com |
e30392eaf85d27420366bf2b9f8917a56a8d8885 | 93ae503d2a0ddc2845157917b78d107eb9e2c5cb | /UserInterface/PythonApplicationModule.cpp | 7b493087002f9e4debac88002977b6cc9e49248a | [] | no_license | Nevisor/Client | 517f41bc68521e5ad289863c6ce9c53a129db335 | fce5997464d9923c7f92205d78f1b83dfcd62918 | refs/heads/master | 2020-03-19T20:23:46.772525 | 2018-06-11T09:03:32 | 2018-06-11T09:03:32 | 136,899,661 | 1 | 1 | null | null | null | null | UHC | C++ | false | false | 55,905 | cpp | #include "StdAfx.h"
#include "Resource.h"
#include "PythonApplication.h"
#include "../EterLib/Camera.h"
extern bool PERF_CHECKER_RENDER_GAME;
extern D3DXCOLOR g_fSpecularColor;
extern BOOL bVisibleNotice = true;
extern BOOL bTestServerFlag = FALSE;
extern int TWOHANDED_WEWAPON_ATT_SPEED_DECREASE_VALUE = 0;
#ifdef USE... | [
"DominXw@outlook.com"
] | DominXw@outlook.com |
699721dc5b20f894cfa22cac1fad89f5734969ac | c1d8cefebd8f85fe9a70ae18d6726e8e42a6fe3a | /02_c++2.0/c++11/08_智能指针/test2.cpp | 7705c068b15d101630fa2b6cfc7643e89d99ba86 | [] | no_license | leomaokai/MyCpp | 7df0b4097561774c9050e9eed27134202b011c3a | e81b0ba50c7de046ee63af47accd2897b5e289ee | refs/heads/master | 2023-02-19T11:14:58.697566 | 2021-01-22T16:50:13 | 2021-01-22T16:50:13 | 289,039,519 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 293 | cpp | //test2.cpp
#include<memory>
#include<iostream>
using namespace std;
int main()
{
unique_ptr<int> ptr1(new int);
unique_ptr<int> ptr2(std::move(ptr1));//使用了右值引用的拷贝构造
ptr2=std::move(ptr1);//使用了右值引用的operator=赋值重载函数
return 0;
} | [
"leomaokai@163.com"
] | leomaokai@163.com |
5d54128ce492945cb8ba207892d11ad12b14e894 | 5d37cf9e33b72b05ebcf9ee6d797c7a5c65ecc2d | /Option-Pricing-Model/Part F Finite Difference Methods/Exercise F Finite Difference Methods/Level9/Level9Code/Level9Code/VI.3/PlainOption/EuropeanOption.cpp | 2edf30d9a69baf289c0d8e68385d668e55625b79 | [
"MIT"
] | permissive | bondxue/Option-Pricing-Model | ca00503b27350fa36cbfe430dd752974ab5c0b01 | 5f22df0ff31e90fd536eb216c5af19c697fb87b2 | refs/heads/master | 2020-05-15T18:44:50.725463 | 2019-04-21T17:02:22 | 2019-04-21T17:02:22 | 182,437,415 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,141 | cpp | // EurpeanOption.cpp
//
// Author: Daniel Duffy
//
// (C) Datasim Component Technology BV 2003-2011
//
#include "EuropeanOption.hpp"
#include <cmath>
#include <iostream>
//////////// Gaussian functions /////////////////////////////////
// In general, we would use similar functions in Boost::Math Toolkit
double Eur... | [
"menghengxue@gmail.com"
] | menghengxue@gmail.com |
ad4cb27bd7946891db42125f36fef60224ef88c7 | 374f122c4439d651740aef63cc21ae4de471ca8d | /cocos2d/tests/performance-tests/Classes/Profile.cpp | 1836cc44c4fe2fd56e2fb5a756801d0ea1f8f2c2 | [
"MIT"
] | permissive | vladubogdan/LevelHelper2-Cocos2d-X.v3 | 5983d0c37ebc61cf73c0f95959662ade60c6a338 | 6ee54482d7ee0627a6f7ec54a26cf8fdbe4fb3f2 | refs/heads/master | 2016-09-15T08:38:51.909423 | 2016-05-15T05:07:44 | 2016-05-15T05:07:44 | 20,055,666 | 8 | 2 | null | 2016-04-02T08:27:16 | 2014-05-22T09:36:16 | C++ | UTF-8 | C++ | false | false | 8,132 | cpp | #include "Profile.h"
#include "json/document.h"
#include "json/prettywriter.h"
#include "json/stringbuffer.h"
#include "platform/CCFileUtils.h"
#include "cocos2d.h"
#include <time.h>
#define LOG_FILE_NAME_FMT "PerformanceLog-%s-%s.json"
#define PLIST_FILE_NAME "PerformanceLog.plist"
#define KEY_DEVICE ... | [
"bogdanvladu@Bogdans-MacBook-Pro.local"
] | bogdanvladu@Bogdans-MacBook-Pro.local |
8205352c874aacae8bccbb03e262ec2f604bc5ff | 385649614fc0b5179e1c5b0657fac84debacf5ef | /src/base_socket.cpp | 9805d3bf8b235ddc93aeceb2fcd7a198fd8ad676 | [
"MIT"
] | permissive | gitmark/bravo | 4ad6068e021f96ad71cb145e9c0c0763ee7e445f | 20adcf254be4757df2124bcf0d01a43cc0e615ba | refs/heads/master | 2021-01-13T12:17:04.754266 | 2019-06-29T21:48:52 | 2019-06-29T21:48:52 | 78,316,221 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,942 | cpp | /*******************************************************************************
MIT License
Copyright (c) 2017 Mark Elrod
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 restricti... | [
"git-mark@helixport.com"
] | git-mark@helixport.com |
87b0fa488fccb7071831f02f08768955e53e29a0 | 33965e8f0bbb38ebb4647ba7aa6976af11ffa3c7 | /strategy/ConstructionPlanning.cpp | cfd394ad9cd3409264de22c91e60219cb4474b25 | [] | no_license | TraceMyers/FrogFish | 8f5545c4ad1f80b23b64eeaeab7464cf31ba8ba3 | a3f6c2f92e3502e90537b2706fa6b7d46b08414b | refs/heads/master | 2022-05-01T00:34:50.158608 | 2022-04-08T14:19:17 | 2022-04-08T14:19:17 | 231,499,129 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,545 | cpp | #include "ConstructionPlanning.h"
#include "../production/BuildGraph.h"
#include "../basic/Bases.h"
#include "../basic/Units.h"
#include "../basic/UnitData.h"
#include "../test/TestMessage.h"
#include "BWEM/bwem.h"
using namespace Production;
namespace Strategy::ConstructionPlanning {
namespace {
Constr... | [
"18mm@protonmail.com"
] | 18mm@protonmail.com |
1aa415070eeb7ff4c312c6017764b424c64d042b | 40fc1a9100f271b289539c56af49d415ef2f4688 | /3dParty/boost_1_32_0/boost/mpl/size.hpp | 38a66d00f60cb087caaa8a60daced2d60477f26b | [] | no_license | radtek/sqltools-1 | 3c671993fef89cfc582dfb6f2b665b4e62d09aca | 887452f25dad2f51d2f620b4fb77d1d69f3d3f13 | refs/heads/master | 2021-02-26T12:51:09.123428 | 2019-12-03T11:51:20 | 2019-12-03T11:51:20 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,149 | hpp |
#ifndef BOOST_MPL_SIZE_HPP_INCLUDED
#define BOOST_MPL_SIZE_HPP_INCLUDED
// Copyright Aleksey Gurtovoy 2000-2004
//
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
//
// See http://www.boost.org/libs... | [
"26166377+lflfm@users.noreply.github.com"
] | 26166377+lflfm@users.noreply.github.com |
3865c84743f3848c994c8863e4870da4e07de12d | 29ee99e854185fc57cdaf1a0787f49dd0ac0b6f4 | /tensorflow/compiler/xla/tests/deconstruct_tuple_test.cc | e1435cf8abd8575c0b1049aa7154b4da38d82ea0 | [
"Apache-2.0"
] | permissive | zhspgood/tensorflow | a3e6389dd6d19dc4aec4ec93f017734ad1c8e378 | 348367a88e02a9e1750738b11a8e0784b2eb6b65 | refs/heads/master | 2020-03-27T17:19:13.604197 | 2018-08-31T04:12:31 | 2018-08-31T04:16:21 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,715 | cc | /* Copyright 2017 The TensorFlow 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 applicable law or a... | [
"gardener@tensorflow.org"
] | gardener@tensorflow.org |
464f6f922f791f1e26ff720668b49b9c45c6cd0d | b27f55a41fb810e8000fa476bede668a444f20ef | /lc-1048.cpp | 819987558af6df5c1a64563e526803fd3740728a | [] | no_license | aryanmali/dsa-code-snippets | cb7b0e90c0e2051f3e715133d1510b4753d0409f | 983d9b5114e97c7f86069c68ee77be3d40fd6878 | refs/heads/main | 2023-04-26T07:01:10.463434 | 2021-05-23T06:08:05 | 2021-05-23T06:08:05 | 355,400,782 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,011 | cpp | //https://leetcode.com/problems/longest-string-chain/
class Solution {
vector<vector<int>> adj;
vector<int> dp;
int dfs(int curr) {
if(dp[curr] > 0)
return dp[curr];
dp[curr] = 1;
for(auto v:adj[curr])
dp[curr] = max(dp[curr],dfs(v)+1);
return dp... | [
"aryanmali@users.noreply.github.com"
] | aryanmali@users.noreply.github.com |
cf36d05c7396ae1dad3a85bd7a916e2117a87447 | 9950bbd03b94419e4a9d01377233a2b8e7339cc4 | /src/gui/ClusteringResultPrototypeViewWidget.cpp | 1fc74a033749797ba9b63bc345b69dff3bb1e27d | [
"LicenseRef-scancode-warranty-disclaimer",
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | goldbdaniel/inventory-extraction | fc14ab9565ce00b99f9f180bb9bdb36db6aa7bb5 | de605eed1044b13ae73e7a3f8bfb76c0dc28df10 | refs/heads/master | 2023-03-16T01:43:07.453906 | 2020-06-12T09:41:38 | 2020-06-12T09:42:15 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 28,897 | cpp | /*
* ClusteringResultPrototypeViewWidget.cpp
*
* Created on: 20.07.2010
*
*/
#include "ClusteringResultPrototypeViewWidget.hpp"
#include "ext/cluster/cluster.h"
namespace impact_tr4 {
ClusteringResultPrototypeViewWidget::ClusteringResultPrototypeViewWidget( QWidget *parent /*= 0*/ )
: QWidget(parent)
{
... | [
"jkloe@jkloe.com"
] | jkloe@jkloe.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.