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
b0e2f650cd34efb34c1377db7926cc86a6941c42
6e60698f107a9a6da687a8f4fa639f3bb12467c7
/thirdparty/IntervalTree/test/countouterintervals.cpp
ead7e045c5b69781420eab899d1602ff5319f962
[ "MIT" ]
permissive
nikitaresh/rectangles_intersections
710769a7512bfc47639bd2db96f68ab16e7d0841
3108e12ccd89e2d0d538e83689c96c1d2543fee2
refs/heads/master
2020-03-20T20:24:23.059300
2018-12-05T16:43:28
2018-12-05T16:43:28
137,685,968
0
0
null
null
null
null
UTF-8
C++
false
false
4,387
cpp
#include "catch.hpp" #include "intervals.h" TEST_CASE("Count outer intervals") { SECTION("Empty tree") { const IntervalTree tree; const auto count = tree.countOuterIntervals(Test::interval()); REQUIRE(tree.isEmpty()); REQUIRE(0 == count); } SECTION("Boundary interval...
[ "nikitaresh@mail.ru" ]
nikitaresh@mail.ru
7ee7312a0cdfcc6826d5a643418d9854eaed6c04
219bf71bde7b12219656ec333f2329109b3d0c73
/Source/RHI/OpenRLRHI/RLVertexBufferLayout.cpp
d4e276fda4583b3ef9c6fcafc2b5cb32250fc16c
[]
no_license
blizmax/OpenRL_Baker
958e96f88efe35e4c7c795f8a1706d1990b6c074
8ef3e2c60854088500aa00874447aff61650ee4b
refs/heads/master
2022-01-13T02:05:14.378677
2019-03-11T08:28:24
2019-03-11T08:28:24
null
0
0
null
null
null
null
UTF-8
C++
false
false
460
cpp
#include "RLVertexBufferLayout.h" namespace Core { RLVertexBufferLayout::RLVertexBufferLayout() { } void RLVertexBufferLayout::SetSlotElement(uint32 index, int32 size, RLDataType dataType, Bool normalized, uint32 stride, uint32 offset) const { // rlGetAttribLocation(program, "positionAttribute") rlVertexAtt...
[ "1989punk@gmail.com" ]
1989punk@gmail.com
226f6e49e7ded97fbaaddaaee35d17131215c53c
b0e233b9b173a866cf78f6e74a9b95c1e64eeb51
/Code/Server/AutoLuaBind/cpp/LuaBind_GameLogic_SkillBase.cpp
70019f9b1f787463cb4f0d73868e242abe31a6e5
[]
no_license
xiaol-luo/Utopia
47a6e987ebd6aaebb7759b736a4590859a6c4eb3
798741067114467680c6bcf9d22301f12f127f02
refs/heads/master
2021-07-10T13:21:24.547069
2019-01-14T14:03:31
2019-01-14T14:03:31
100,261,666
6
3
null
null
null
null
UTF-8
C++
false
false
2,179
cpp
#include "SolLuaBindUtils.h" #include <sol.hpp> #include "Logic/LogicModules/GameLogic/Scene/SceneUnitModules/SceneUnitSkills/SceneUnitSkills.h" #include "Logic/LogicModules/GameLogic/Scene/Defines/EffectDefine.h" #include "Logic/LogicModules/GameLogic/Scene/Defines/SceneDefine.h" #include "Logic/LogicModules/GameL...
[ "xiaol.luo@163.com" ]
xiaol.luo@163.com
5e345746d4d6bf90ea914d006cb8bb979c119a51
e9d07cf8619f043ab051bd9a584f690fdb136b95
/modules/fit_signal/fit_signal.h
5234d2eb592741f7294745dadf8bc22b59f32464
[]
no_license
slazav/pico_osc
0465defae427c88bd33de2c659d60c8367aee08a
b98e13b8ea03d07b8d00d8836c74926c0b195593
refs/heads/master
2023-02-09T21:58:45.238122
2023-02-09T12:33:00
2023-02-09T12:33:00
29,144,427
1
1
null
2019-12-05T16:05:55
2015-01-12T16:22:45
C++
UTF-8
C++
false
false
926
h
#include <vector> #include <stdint.h> /* Fit a signal by a model: amp * exp(-t/tau) * sin(2*pi*fre*t + ph), it also works for a non-decaying signals with 1/tau=0, (TODO: fix boundary conditions!) output: a vector with 4 double values: fre, 1/tau, amp, ph input: buf -- signal data array len -- array length ...
[ "slazav@altlinux.org" ]
slazav@altlinux.org
c9b6194f6e1b936a48ed37cc85d6fa16de7d8fb7
3cc1092ed190a1c8a8ad51db38cf21324a29265d
/bin/cpp/include/haxe/IMap.h
31d4a3948c3f3585ffc3a4ea9b4e036c1406591a
[]
no_license
civo/client-haxe
cab0e890103b4b27a0cbdad65a81aa36746a5d27
6542bef8d0ae635e7d7d82aa281efa87fdd04053
refs/heads/master
2023-01-08T21:10:00.029740
2019-11-27T21:48:54
2019-11-27T21:48:54
223,903,648
1
0
null
2023-01-05T01:38:54
2019-11-25T08:55:54
C++
UTF-8
C++
false
true
337
h
// Generated by Haxe 4.0.2 #ifndef INCLUDED_haxe_IMap #define INCLUDED_haxe_IMap #ifndef HXCPP_H #include <hxcpp.h> #endif HX_DECLARE_CLASS1(haxe,IMap) namespace haxe{ class HXCPP_CLASS_ATTRIBUTES IMap_obj { public: typedef hx::Object super; HX_DO_INTERFACE_RTTI; }; } // end namespace haxe #endif /* INCLUD...
[ "lee.sylvester@gmail.com" ]
lee.sylvester@gmail.com
1fc956a27599f55ef7a4fe04ebadda48d5feb075
523a1f9f9628cd1f374f2abf75c78fd7d3f2af33
/include/queue.h
4c4cf74864a65e73145f85ea04bf8d9b95005f1a
[ "MIT" ]
permissive
wari/sandbox
c2271fea319df56744c802f620c70ffc4d770ed8
13f37d2eb45571d6b34fab65cfc965b443621697
refs/heads/master
2020-05-09T09:26:25.613873
2014-02-05T05:20:12
2014-02-05T05:20:12
null
0
0
null
null
null
null
UTF-8
C++
false
false
171
h
class Queue { struct Node { int* data; Node *next; }; Node *front; Node *back; public: Queue(); void put(int); int* get(); };
[ "wahabmw@i2r.a-star.edu.sg" ]
wahabmw@i2r.a-star.edu.sg
09d641424b38b5fa5cce4b791a6541e92f9d58c6
84a96dbd96e926ebb5c658e3cb897db276c32d6c
/tensorflow/core/common_runtime/process_state.cc
19f7a985f3e3bcc3647c6d0358738527840cc818
[ "Apache-2.0" ]
permissive
MothCreations/gavlanWheels
bc9189092847369ad291d1c7d3f4144dd2239359
01d8a43b45a26afec27b971f686f79c108fe08f9
refs/heads/master
2022-12-06T09:27:49.458800
2020-10-13T21:56:40
2020-10-13T21:56:40
249,206,716
6
5
Apache-2.0
2022-11-21T22:39:47
2020-03-22T14:57:45
C++
UTF-8
C++
false
false
6,027
cc
/* Copyright 2015 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
6e95a1d5585eabb74ab3aaca63f00d47e4a2c815
b9b17fcfac43774e730ecf221bc26164598010b6
/src/ncmdline.h
85cf03f86fa4e7414fb082793ac98677692bc5f9
[ "BSD-3-Clause" ]
permissive
taviso/mpgravity
e2334e77e9d5e9769e05d24609e4bbed00f23b5c
f6a2a7a02014b19047e44db76ae551bd689c16ac
refs/heads/master
2023-07-26T00:49:37.297106
2020-04-24T06:15:10
2020-04-24T06:15:10
251,759,803
13
0
null
null
null
null
UTF-8
C++
false
false
3,521
h
/*****************************************************************************/ /* SOURCE CONTROL VERSIONS */ /*---------------------------------------------------------------------------*/ /* ...
[ "taviso@gmail.com" ]
taviso@gmail.com
de10269f4d283bacbeaf31487398b4504b54e0ae
f03cc2d3b830f6a616af40815815020ead38b992
/FairyEngine/Source/F3DEngine/F3DTrack.h
666fdc4efd8e605f073f7bf5e4a824cef51cedb3
[]
no_license
yish0000/Fairy3D
18d88d13e2a3a3e466d65db7aea06a8b111118ba
6b84c6cb6c58a383e53a6a7f64676667c159c76b
refs/heads/master
2021-07-01T16:37:14.887464
2020-11-08T14:52:01
2020-11-08T14:52:01
12,029,469
1
0
null
null
null
null
GB18030
C++
false
false
2,189
h
/* * ------------------------------------------------------------------------ * Name: F3DTrack.h * Desc: 本文件定义了一个引擎所需的轨迹类。 * Author: Yish * Date: 2010/11/12 * ---------------------------------------------------------------------- * CopyRight (C) YishSoft. 2010 All right Observed. * ---------...
[ "yish0000@foxmail.com" ]
yish0000@foxmail.com
1b421321dc11fda00a3fb36db20be76cfb6ba651
8ba3820b70bf3808dc96ac393f96e859c17e69e7
/codeforces/1341/A.cpp
07527de9e42f8af5b1a23bea2d47eb44df21e8b0
[]
no_license
anikxt/Competitive_Programming
d92767247c358a093d8de04933c8fda4abeb42c0
e464bd2b480ccc4f469bdbe1609af921ef93c723
refs/heads/master
2023-03-24T13:56:38.442334
2021-02-14T18:14:00
2021-03-19T19:19:01
null
0
0
null
null
null
null
UTF-8
C++
false
false
710
cpp
//#pragma GCC optimize "trapv" #include<bits/stdc++.h> #define ll long long #define fab(a,b,i) for(int i=a;i<b;i++) #define pb push_back #define db double #define mp make_pair #define endl "\n" #define f first #define se second #define all(x) x.begin(),x.end() #define MOD 1000000007 #define quick ios_base::sync_with_s...
[ "nishitsharma0@gmail.com" ]
nishitsharma0@gmail.com
d46339589bbf7fa89b60df847d29bf8e862e06ad
c80bd757f18735452eef1f0f7cd7bd305d4313c7
/src/Dataflow/Serialization/Network/ModuleDescriptionSerialization.cc
bbf1c5a3aab7428d015fcf682a749aa9b73d22f5
[ "MIT" ]
permissive
kenlouie/SCIRunGUIPrototype
956449f4b4ce3ed76ccc1fa23a6656f084c3a9b1
062ff605839b076177c4e50f08cf36d83a6a9220
refs/heads/master
2020-12-25T03:11:44.510875
2013-10-01T05:51:39
2013-10-01T05:51:39
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,990
cc
/* For more information, please see: http://software.sci.utah.edu The MIT License Copyright (c) 2012 Scientific Computing and Imaging Institute, University of Utah. License for the specific language governing rights and limitations under Permission is hereby granted, free of charge, to any person o...
[ "dwhite@sci.utah.edu" ]
dwhite@sci.utah.edu
b4c9883e2dfe8c12262f42960cd4e05748b90d15
6391f2ba00ee3273518af0a02be01c1141ad667c
/include/GameState.hpp
8ae628ed79040938c6fd286e19fcd844ae004305
[]
no_license
linorabolini/Dungeon
d1847f8fc368b0f09e5a79866a00aab60f85cbae
d23bec2a94b84636d4daec91f826b8fd11bd318c
refs/heads/master
2020-01-23T21:34:01.506515
2017-02-02T23:26:40
2017-02-02T23:26:40
74,698,718
0
0
null
null
null
null
UTF-8
C++
false
false
116
hpp
#pragma once struct GameState { int floorsCleared = 0; int enemiesKilled = 0; int chestsOpened = 0; };
[ "linorabolini@gmail.com" ]
linorabolini@gmail.com
4355740daf6a988512d75ae7975e7b7af538f1ff
632b94beca62f7c8af5ae1d1e8e095a352600429
/devel/include/control_msgs/FollowJointTrajectoryAction.h
fb65b86db7ea7b7e96f1ccbdd14fd0b549592ff7
[]
no_license
Haoran-Zhao/US_UR3
d9eb17a7eceed75bc623be4f4db417a38f5a9f8d
a0c25e1daf613bb45dbd08075e3185cb9cd03657
refs/heads/master
2020-08-31T07:02:45.403001
2020-05-27T16:58:52
2020-05-27T16:58:52
218,629,020
0
0
null
null
null
null
UTF-8
C++
false
false
15,549
h
// Generated by gencpp from file control_msgs/FollowJointTrajectoryAction.msg // DO NOT EDIT! #ifndef CONTROL_MSGS_MESSAGE_FOLLOWJOINTTRAJECTORYACTION_H #define CONTROL_MSGS_MESSAGE_FOLLOWJOINTTRAJECTORYACTION_H #include <string> #include <vector> #include <map> #include <ros/types.h> #include <ros/serialization.h...
[ "zhaohaorandl@gmail.com" ]
zhaohaorandl@gmail.com
9799de56b81b66934c75c38e50c76d34ea7e6379
3ff1fe3888e34cd3576d91319bf0f08ca955940f
/gse/include/tencentcloud/gse/v20191112/model/DeleteScalingPolicyResponse.h
141bb3c22118c26292bf39a6888c795e3ca9be06
[ "Apache-2.0" ]
permissive
TencentCloud/tencentcloud-sdk-cpp
9f5df8220eaaf72f7eaee07b2ede94f89313651f
42a76b812b81d1b52ec6a217fafc8faa135e06ca
refs/heads/master
2023-08-30T03:22:45.269556
2023-08-30T00:45:39
2023-08-30T00:45:39
188,991,963
55
37
Apache-2.0
2023-08-17T03:13:20
2019-05-28T08:56:08
C++
UTF-8
C++
false
false
1,637
h
/* * Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. 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 ...
[ "tencentcloudapi@tenent.com" ]
tencentcloudapi@tenent.com
1393776d3103dda6b4caeef8ab410746ee831133
dbfb77666a87e0d9dc89f2f50db89e7173f1f0d8
/source/cpp_utils/data/ArrayView.hpp
714ae5194ef47b502b5c8995d539f2f16ab00f78
[]
no_license
VladasZ/cpp_utils
b7b248933e1711c6586be2a836d56c9383c5d96c
76e7246f6b31e8a189e5fbbb943c733792815f9e
refs/heads/master
2021-06-10T11:14:16.895833
2021-03-31T19:50:32
2021-03-31T19:50:32
157,543,516
3
0
null
null
null
null
UTF-8
C++
false
false
1,057
hpp
// // ArrayView.hpp // cpp_utils // // Created by Vladas Zakrevskis on 03/05/20. // Copyright © 2020 VladasZ. All rights reserved. // #pragma once #include <stdlib.h> namespace cu { template<class T> class ArrayView { private: const T* const _data; const size_t _size; public:...
[ "146100@gmail.com" ]
146100@gmail.com
d99d743af97c21e8fee84e101560d3543ceefa62
7e96610cc01da9082e6c00c2f8304da78fee5af0
/src/server/game/Handlers/CollectionsHandler.cpp
0679ef9b90396dd4c6e0b048e0fdc5f75c02b548
[]
no_license
ralphhorizon/bfacore-1
f945d24bafcb84f12d875c17aa8e948bddcb46ed
8085d551669a164aa7fbade55081058451cb8024
refs/heads/master
2023-01-06T23:21:35.959674
2020-10-24T20:17:16
2020-10-24T20:17:16
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,707
cpp
/* * Copyright (C) 2020 BfaCore * * This program 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 2 of the License, or (at your * option) any later version. * * This program is distribute...
[ "zemetskia@gmail.com" ]
zemetskia@gmail.com
ab051ff4bec4499901de3b8cbb3e1fab6bac12e3
9e99984a3e8a5582ce2f32beb8e7bbcaf6f71fb3
/src/points.h
1bfabf8bcfded8e024c6c109377217c65246c1cb
[]
no_license
alirezagoli/dots-game
1176985b0cc7ff88478a1b5b3218c25177006fc0
5899c7dc7a3b0d208e17210f51a9cac4528ed3e8
refs/heads/main
2023-02-09T09:17:21.247788
2021-01-02T09:57:48
2021-01-02T09:57:48
326,098,931
0
0
null
null
null
null
UTF-8
C++
false
false
1,096
h
#ifndef POINTS_H #define POINTS_H #include <QGraphicsScene> #include<QGraphicsEllipseItem> #include<QList> #include<QMessageBox> #include<QBrush> #include"show_winner.h" enum playerTurn{player1,player2}; struct PointStatus { PointStatus *up; PointStatus *down; PointStatus *right; PointStatus *left; }; ...
[ "alirezagoli.mail@gmail.com" ]
alirezagoli.mail@gmail.com
41cfc04ba182c6f4a1c9e2b53e274f234496422d
04b1803adb6653ecb7cb827c4f4aa616afacf629
/chrome/browser/ui/search/instant_theme_browsertest.cc
9a6115bbe46b4d0a90a5e8fc84e48395d363689a
[ "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
12,619
cc
// Copyright 2017 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "base/macros.h" #include "chrome/browser/chrome_notification_types.h" #include "chrome/browser/extensions/extension_browsertest.h" #include "chro...
[ "sunny.nam@samsung.com" ]
sunny.nam@samsung.com
1443fcde15aabbacf587f07365df5ea6cbd1e7f1
833b0ad8f71cd1a2cd0a0f761edb059a86a79e55
/BOJ/1000~/2455.cpp
322b919221e0731815fac060b7aa4aed831bfe76
[]
no_license
kin16742/Problem-Solving
339c0be925eeaab82c2715bbcb571d32ffd00b8c
f549bdf05f16d3179fcc7a177378241b405db56e
refs/heads/master
2022-12-28T14:29:58.613114
2020-10-07T12:24:47
2020-10-07T12:24:47
185,807,578
0
0
null
null
null
null
UTF-8
C++
false
false
330
cpp
#include <iostream> #include <algorithm> #include <string.h> using namespace std; int main() { std::ios::sync_with_stdio(false); cin.tie(NULL); int a, b, result = 0, people = 0; for (int i = 0; i < 4; i++) { cin >> a >> b; people = people - a + b; result = max(result, people); } cout << result << '\n'; re...
[ "kin16742@naver.com" ]
kin16742@naver.com
23be59e8658cc959eace12dbcd456402344c6c0f
7ea45377de05a91d447687c53e1a836cfaec4b11
/forces_code/con221/d.cpp
f1280decfc9b415ae84c440244ba9a03b04779e9
[]
no_license
saikrishna17394/Code
d2b71efe5e3e932824339149008c3ea33dff6acb
1213f951233a502ae6ecf2df337f340d8d65d498
refs/heads/master
2020-05-19T14:16:49.037709
2017-01-26T17:17:13
2017-01-26T17:17:13
24,478,656
0
0
null
null
null
null
UTF-8
C++
false
false
770
cpp
#include <iostream> #include <cstdio> #include <cmath> #include <algorithm> #include <vector> #include <cstring> #include <map> using namespace std; #define inf 99999999 typedef long long int lli; typedef pair<int,int> ii; char s[5010][5010]; int dp[5000][5000],n,m,ans,A[5000]; int main() { // cin>>n>>m; scanf("%d ...
[ "saikrishna17394@gmail.com" ]
saikrishna17394@gmail.com
b85412dd32248222bc252ad00d9625e126bedd46
65cdc3ced737400cef283915d70d87fe42b70632
/src/cGame.cpp
19c8f9c20e3ba242d1afef1a8bc4b25e4a570a35
[]
no_license
alexgg-developer/sdlbaseforgame
1f2f5cc70557412ab30d58b5ea9d0994e2b0e0df
1e16c9d7aa464d95d07d5483adabe949331f64f0
refs/heads/master
2020-03-30T04:35:32.781620
2014-05-08T21:25:10
2014-05-08T21:25:10
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,343
cpp
#include "cGame.hpp" #include "cTexture.hpp" #include "vec3.hpp" #include "cAnimation2D.hpp" #include "cText.hpp" #include "TypesDefined.hpp" #include "SDL_ttf.h" #include "SDL_mixer.h" #include "cMusic.hpp" #include "cSound.hpp" #include <sstream> Game::Game() {} int Game::init() { int error = initSDL(); if(erro...
[ "alexgg.developer@gmail.com" ]
alexgg.developer@gmail.com
1508f3e698bacd4793a59f3acaa5091a638d2429
08234a09fbb5efc56ac886c1dcb0d6e68f680735
/benchmarks/benchmark-tsv.cpp
56ae150021d6849de55867bcb99429513995449b
[]
no_license
sramas15/snapr
d861f3a7d3329aaa296c6a73ec2498a5d1eaa004
b873101d87d1081cbfec28ceffdaf33411da5773
refs/heads/master
2021-01-14T12:47:14.937481
2015-03-11T21:46:41
2015-03-11T21:46:41
25,495,610
0
0
null
null
null
null
UTF-8
C++
false
false
466
cpp
#include <stdio.h> #include "Snap.h" int main(int argc, char* argv[]) { TFIn LoadF("attr/save-vec.bin"); double start = omp_get_wtime(); PNSparseNet Net = TNSparseNet::Load(LoadF); double end = omp_get_wtime(); printf("Time to read from binary: %f\n", (end-start)); start = omp_get_wtime(); FILE *fp = fo...
[ "ramasshe@cs.stanford.edu" ]
ramasshe@cs.stanford.edu
890333a478a749b189477819261d9655c22a50dc
e5645099723739972ac8965819a6eb15e3d6d6b0
/URI_Online_Judge/1136uri.cpp
cf199c1545eeac1f0c2bd6e953c1d3086f2a19bb
[]
no_license
arleyribeiro/Maratona
a3ab602bf025e4565a53af8c724f266fd7d0c989
f60ae7f07d74e33683ea1b48e72770e3707e1874
refs/heads/master
2016-08-12T03:43:59.984403
2016-04-23T18:09:42
2016-04-23T18:09:42
55,017,237
0
0
null
null
null
null
UTF-8
C++
false
false
495
cpp
#include <bits/stdc++.h> #define TAM 92 int main() { int n=0,b=0,d; while(scanf("%d %d",&n,&b)==2, n+b) { int v[TAM]={0}; int bo[TAM]={0}; for(int i=0;i<b;i++) { scanf("%d",&bo[i]); } for(int i=0;i<b;i++){ for(int j=0;j<b;j++) { d=abs(bo[i]-bo[j]); if(!v[d]) { v[d]=1;...
[ "arley.sribeiro@gmail.com" ]
arley.sribeiro@gmail.com
44d5470f9a69c2352894cc5fcee5d324a1f88358
eb580526d1c04da0a1f3ed4146b9b68609cef3ea
/D/630.cpp
9452914d5b118ab04d1f7a282befd7240a82324f
[]
no_license
bhaveshgawri/codeforces
bc34e7b688ee1e7ddc7efbdd758839454ba40524
22b8b7e0f3432051ddc1132b6bb84e0b25781347
refs/heads/master
2021-01-12T03:32:58.452769
2018-01-13T09:01:14
2018-01-13T09:01:14
78,229,124
0
1
null
2017-10-28T17:06:10
2017-01-06T18:31:40
C++
UTF-8
C++
false
false
113
cpp
#include <iostream> int main(){ unsigned long long int n; std::cin>>n; std::cout<<3*n*n+3*n+1; }
[ "4bhaveshgawri@gmail.com" ]
4bhaveshgawri@gmail.com
fb4b9cce15a058d278f4c1621d358aba606810cc
2f0fa24dac268978f9fb24c9369d5127b898dfe8
/Classes/SlitherMap.cpp
95273dfe3dda40c9927ee69982ab5aa9da4e8c6e
[]
no_license
tomcat2088/slitherApp
fc2f7dea3a2719514afc20f50f884ab283eaf136
b501e32505d265bfc6c26f5163124128e4a1cfb7
refs/heads/master
2016-09-13T09:33:34.559016
2016-05-31T15:58:35
2016-05-31T15:58:35
56,503,688
0
0
null
null
null
null
UTF-8
C++
false
false
109
cpp
// // SlitherMap.cpp // slitherApp // // Created by wangyang on 16/4/21. // // #include "SlitherMap.hpp"
[ "tomcat1991@126.com" ]
tomcat1991@126.com
db6c8e41dfb571b9a639583604b5a6d126af5a10
e47f3bc67c0dbfa194e7ec57044a8e16f2410200
/ReservasHotel/sources/habitacion.hpp
8d915ef2264ed7755ae14d339db7988abf17d420
[ "MIT" ]
permissive
rocammo/object-oriented-programming-i
5afee2b05b7c6495562512b7dd0f53e43a71e69b
e1c7b4c060e843d9358b501ab64a4d83d8bf2f89
refs/heads/master
2020-04-28T01:44:58.695737
2019-03-10T21:04:29
2019-03-10T21:04:29
174,869,936
0
0
null
null
null
null
UTF-8
C++
false
false
552
hpp
/** * habitacion.hpp * * @author: Rodrigo Casamayor <alu.89657@usj.es> * @date: 14 ene. 2019 */ #pragma once class Habitacion { private: int plazas; bool ocupada; private: long idHabitacion; int numHabitacion; public: Habitacion(); int getPlazas() const; void setPlazas(int plazas...
[ "rodrigo.casamayor@gmail.com" ]
rodrigo.casamayor@gmail.com
b608a829a99668b69478286f3cd72aa6fce9343f
aac5c40093e690689091844dd0bfe497a343a3cb
/EscalonadorEstruct.cpp
910ce457bc3f02bb3c3199b6e9e9ce1e0c55d704
[]
no_license
jlopezsa/escalonadorJulianTesteEscaClassMaq
4d69d6a15b3ef6684a0dc8826d633ae488612d63
e8df6770c128e91d2bf3469e7c13908946641f9e
refs/heads/master
2020-09-21T05:54:18.320412
2019-11-28T17:32:29
2019-11-28T17:32:29
224,701,124
1
0
null
null
null
null
UTF-8
C++
false
false
8,573
cpp
#include <iostream> #include <stdio.h> #include <iomanip> using namespace std; #include "EscalonadorEstruct.h" #include "Lista.cpp" #include "Timer.cpp" //template<typename TYPEFUNC,typename TASKTYPE,typename OBJECTTYPE> EscalonadorEstruct::EscalonadorEstruct() { schedulerStates = 0; }; // //tem...
[ "jlopezsa@gmail.com" ]
jlopezsa@gmail.com
97289ac790d13a19f7ab578edcd3386a255569c8
48da32f6a426262cc2c8107f7e31c9d62ffb619b
/main.cpp
24f64717060034bc945a928102953587ae3c8316
[]
no_license
Garcia6l20/qtsignalgraph
afbeddcaa2a1dab3d0188aabf82e2c14601c3fcd
3cd065a1bde9255f6a0dce733d69e858cf049557
refs/heads/master
2020-09-30T00:36:45.914262
2019-12-17T18:38:38
2019-12-17T18:38:38
227,157,779
2
0
null
null
null
null
UTF-8
C++
false
false
276
cpp
// Copyright (c) 2019 Schneider-Electric. All rights reserved. // Licensed under the MIT license. // See LICENSE file in the project root for full license information. #include <iostream> using namespace std; int main() { cout << "Hello World!" << endl; return 0; }
[ "garcia.6l20@gmail.com" ]
garcia.6l20@gmail.com
306fa7907dcf8dad4a707e085706d9f3ada99843
b5c338541fb8102293d4f93d1ba18d86e0a6dec9
/main/src/Math/Matrix.h
0b7ff6dd78b87b84a17aac16d9c8df26b1bba602
[]
no_license
robinvierich/engine
e894870e2559b9b862cdfc92975cc022681b3816
e5cccdbac1e4d824b4047251286533f67950163d
refs/heads/master
2021-01-10T04:23:57.133209
2017-11-06T00:58:05
2017-11-06T00:58:05
49,519,003
0
0
null
null
null
null
UTF-8
C++
false
false
604
h
#pragma once #include "Math/Vector.h" class Matrix4 { private: Vector4 m_columns[4]; const static Matrix4 s_identity; public: static const Matrix4& Identity() { return s_identity; } static Matrix4 Matrix4::CreateProjectionMatrix(const float fov, const float farPlane, const float nearPlane); M...
[ "robinvierich@gmail.com" ]
robinvierich@gmail.com
266d94774bcb32a0b78bb999ebfffa8fe0ea2b6b
baa9fffc817a2a993d4ecc774d3f277783308c20
/test/gtest/common/googletest/gtest-matchers.h
f28d10eafabad8fc44fa11875d0ff72d9e24aed6
[ "BSD-3-Clause" ]
permissive
openucx/ucx
9a0f2205295afbdf3cff14b5d24af781b123f5ea
73a48700badb7cbace64d94b82f408e2a26fca32
refs/heads/master
2023-09-01T16:51:26.913950
2023-09-01T13:02:25
2023-09-01T13:02:25
25,379,390
966
420
NOASSERTION
2023-09-14T12:29:35
2014-10-17T22:17:24
C
UTF-8
C++
false
false
27,021
h
// Copyright 2007, Google Inc. // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are // met: // // * Redistributions of source code must retain the above copyright // notice, this list of conditions ...
[ "lgenkin@nvidia.com" ]
lgenkin@nvidia.com
18bfb159b1f6190a516119da4d34b3468af048d6
b54847ee4898fb3272a38daabf60d1a02646dd05
/exams/exam_part2/Button.h
b87b74fd22cde26e886581b871293249c483d61c
[]
no_license
IvanFilipov/FMI-OOP
4d7b97e92b14949d6edf269bedef95d0b86ed97d
92a8c5a8cf1e73f3da640928c46965affba7e57e
refs/heads/master
2023-04-21T10:13:18.911124
2018-06-05T10:57:08
2018-06-05T10:57:08
52,727,858
19
9
null
2023-04-06T23:14:31
2016-02-28T15:27:39
C++
UTF-8
C++
false
false
231
h
#pragma once #include "Element.h" class Button : public Element{ public: Button(const char*); Button(const Button&); Button& operator= (const Button&); virtual const char* convertToHtml(); virtual Element* clone(); };
[ "vanaka1189@gmail.com" ]
vanaka1189@gmail.com
25ed7c4738159902023acc11edec4cb66ebad103
db04ecf258aef8a187823b8e47f4a1ae908e5897
/Cplus/LastMomentBeforeAllAntsFallOutofaPlank.cpp
03a60ce5fb3324f2e9ee69a7d4c4f3bf5e1c5e94
[ "MIT" ]
permissive
JumHorn/leetcode
9612a26e531ceae7f25e2a749600632da6882075
abf145686dcfac860b0f6b26a04e3edd133b238c
refs/heads/master
2023-08-03T21:12:13.945602
2023-07-30T07:00:50
2023-07-30T07:00:50
74,735,489
0
0
null
null
null
null
UTF-8
C++
false
false
405
cpp
#include <algorithm> #include <vector> using namespace std; class Solution { public: int getLastMoment(int n, vector<int> &left, vector<int> &right) { int res = 0, l = 0, r = 0; if (!left.empty()) { l = *max_element(left.begin(), left.end()); res = max(res, l); } if (!right.empty()) { r = *min_e...
[ "JumHorn@gmail.com" ]
JumHorn@gmail.com
fd8e8d9f0a038c6bbbf3f6209580f9a5b1431a84
7e791eccdc4d41ba225a90b3918ba48e356fdd78
/chromium/src/mojo/edk/test/multiprocess_test_helper.cc
0490119abbc227a32bdedcccd05c685379e7b834
[ "BSD-3-Clause" ]
permissive
WiViClass/cef-3.2623
4e22b763a75e90d10ebf9aa3ea9a48a3d9ccd885
17fe881e9e481ef368d9f26e903e00a6b7bdc018
refs/heads/master
2021-01-25T04:38:14.941623
2017-06-09T07:37:43
2017-06-09T07:37:43
93,824,379
2
1
null
null
null
null
UTF-8
C++
false
false
4,037
cc
// Copyright 2013 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 "mojo/edk/test/multiprocess_test_helper.h" #include <utility> #include "base/command_line.h" #include "base/logging.h" #include "base/process/k...
[ "1480868058@qq.com" ]
1480868058@qq.com
a696952ddc3578d4c85a555ef1a6a9074aa120f5
8c910789637e15021cc169fe3c6ab8f29487daf1
/Linux_ex_box/build-Linux_ex_box-Desktop_Qt_5_1_0_GCC_64bit-Debug/ui_mymainwindow.h
841a5896cabe8a5e61f3d06cb8fd46f9ea49d5cc
[]
no_license
Dufferent/Qt-Work
498c6b9251cbb43fdcaeec273ce0878722a0d40b
245481420d7a511511fc8906a4955f4727806446
refs/heads/master
2023-01-11T00:54:01.533118
2020-10-29T08:53:22
2020-10-29T08:53:22
287,864,157
0
0
null
null
null
null
UTF-8
C++
false
false
1,535
h
/******************************************************************************** ** Form generated from reading UI file 'mymainwindow.ui' ** ** Created by: Qt User Interface Compiler version 5.1.0 ** ** WARNING! All changes made in this file will be lost when recompiling UI file! **************************************...
[ "2269969490@qq.com" ]
2269969490@qq.com
70126879b03599750b7c5c708cfc0def2003f2dd
04b886bcb4eae8b4cd656b2917a82a13067ca2b7
/src/cpp/oclint/oclint-rules/test/custom2/CommaMissingInIntArrayInitRuleTest.cpp
374b3dd1ebf54f51e850a54bcb5bcd208e3e3eaa
[ "BSD-3-Clause" ]
permissive
terryhu08/MachingLearning
4d01ba9c72e931a82db0992ea58ad1bd425f1544
45ccc79ee906e072bb40552c211579e2c677f459
refs/heads/master
2021-09-16T01:38:10.364942
2018-06-14T13:45:39
2018-06-14T13:45:39
null
0
0
null
null
null
null
UTF-8
C++
false
false
773
cpp
#include "TestRuleOnCode.h" #include "rules/custom2/CommaMissingInIntArrayInitRule.cpp" TEST(CommaMissingInIntArrayInitRuleTest, PropertyTest) { CommaMissingInIntArrayInitRule rule; EXPECT_EQ(3, rule.priority()); EXPECT_EQ("comma missing in int array init", rule.name()); EXPECT_EQ("custom2", rule.categ...
[ "dhfang812@163.com" ]
dhfang812@163.com
3b23f675a82d35706ba8b2400b39b40fee517ab6
2112057af069a78e75adfd244a3f5b224fbab321
/branches/ref1/src-root/src/common/world/client_zone.cpp
0f6076b8fb3308af47100ffb40c7b2d1bfa35067
[]
no_license
blockspacer/ireon
120bde79e39fb107c961697985a1fe4cb309bd81
a89fa30b369a0b21661c992da2c4ec1087aac312
refs/heads/master
2023-04-15T00:22:02.905112
2010-01-07T20:31:07
2010-01-07T20:31:07
null
0
0
null
null
null
null
UTF-8
C++
false
false
4,274
cpp
/** * @file client_zone.cpp * Client-side zone class */ /* Copyright (C) 2005 ireon.org developers council * $Id$ * This program 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 versio...
[ "psavichev@gmail.com" ]
psavichev@gmail.com
9c01007ded74b8ef3e8088874d50ece6fde219d6
b9048652f15be10232888d2af78ef7e6eb363893
/include/qxt/qxtletterboxwidget_p.h
dcd81e9b2a0f47d45568dabeae9c59ee268f724d
[]
no_license
vghost2008/wlib
0457b1e191f2d461caf100486521c89f2abbf9f1
ab7ae25eef6427df21d7022f3376ec601beec28f
refs/heads/master
2022-05-09T11:49:07.802162
2019-05-07T11:39:39
2019-05-07T11:39:39
185,389,328
0
0
null
null
null
null
UTF-8
C++
false
false
2,524
h
/******************************************************************************** * License : * Author : WangJie bluetornado@zju.edu.cn * Description : ********************************************************************************/ #ifndef QXTLETTERBOXWIDGET_P_H /*********************************...
[ "bluetornado@zju.edu.cn" ]
bluetornado@zju.edu.cn
ac01dbb0756b955213bc4131cb000ff1ffde511f
e773d41ff293c1c0b7f1968a26cc5764e00667bb
/cefclient/browser/main_context_impl_win.cc
d59788a8b7a73af33767949f5a20e3de85da8ec1
[]
no_license
yufanghu/fec
43794ac187d3c1aa84bd4e660f5272c8addf830a
87be1c1238ff638ed4c5488cf5f0701b78e4b82f
refs/heads/master
2021-03-27T12:33:52.573027
2017-12-01T10:18:38
2017-12-01T10:18:38
108,273,897
1
0
null
null
null
null
UTF-8
C++
false
false
1,073
cc
// Copyright (c) 2015 The Chromium Embedded Framework 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 "cefclient/browser/main_context_impl.h" #include <direct.h> #include <shlobj.h> namespace client { std::string MainCont...
[ "fibonacci2016@126.com" ]
fibonacci2016@126.com
43b7fcaad12c788e099ed7b44642527ad17e47b1
fd05fd318468dfddb80a3af1b413fca06e9fae90
/SMJS_GameRulesProps.h
8285328acf0ac0297a08a182fec89f38d837c97b
[]
no_license
Sarzhevsky/SourceMod.js
6a6c7df9ae0d3ef7f1beffc40efb36186d8b90f9
639c0cb3dd60c6034f8fccea4be8ac6127f74f44
refs/heads/master
2021-01-22T03:23:26.301192
2013-11-17T21:30:52
2013-11-17T21:30:52
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,107
h
#ifndef _INCLUDE_SMJS_GAMERULESPROPS_H_ #define _INCLUDE_SMJS_GAMERULESPROPS_H_ #include "SMJS.h" #include "SMJS_BaseWrapped.h" #include "SMJS_Netprops.h" class SMJS_GameRulesProps : public SMJS_BaseWrapped, public SMJS_NPValueCacher { public: void *gamerules; void *proxy; SMJS_GameRulesProps(); WRAPPED_CLS(SMJ...
[ "matheusavs3@gmail.com" ]
matheusavs3@gmail.com
2789ade5b65463402ebfc694f29169ffcf47b495
2e3d9d4b286b7b3d0b367181f5d1c2c154fb9b28
/Math/BottomUpResultOut/solver.cpp
c4106aea156899b69147dbaedf2d0ab426625cd9
[]
no_license
squirrelClare/algorithm_cplusplus
8237baf5cea6f79889eaad6360b2dadd7a1b3624
312a63851182962d014b6b5fba28bdd51decb033
refs/heads/master
2021-01-10T03:38:40.434217
2015-10-22T17:36:57
2015-10-22T17:36:57
44,685,760
0
0
null
null
null
null
UTF-8
C++
false
false
2,680
cpp
#include "solver.h" #include<QDebug> /** 与SteelBarCut中的不同之处在于, 该算法将每次局部最优解存储起来, 以便再次需要求解该局部最优解的 时候直接从记录中调取。以牺牲内存 为代价获得运行时间上的提升*/ Solver::Solver() { } Solver::Solver(const QList<int> lengthList, const QList<int> valueList, const int totalLength) { /*lengthList为可以切割的长度选项 valueList为每个长度对应的价...
[ "zcc136314853@hotmail.com" ]
zcc136314853@hotmail.com
f11299f4f177bb08528eafc5a291f89e623efd6d
bf53c9dc6851b501b13fa89c6e2bd2cf775b0d67
/src/WaterSurface.cpp
698ebd16de31516b1b6fa25c35163267e77800c8
[]
no_license
xchuki00/PGP
2ca971dc9af7858b57407502c777c2819d56d689
3f4990f84260734b5758e3731bd088e099d00575
refs/heads/master
2023-01-28T09:57:57.710541
2020-11-23T14:05:08
2020-11-23T14:05:08
315,334,034
0
0
null
null
null
null
UTF-8
C++
false
false
5,746
cpp
#pragma once #include <iostream> #include <cstdlib> #include <fstream> #include <GPUEngine/geGL/StaticCalls.h> #include <GPUEngine/geGL/geGL.h> #include <GPUEngine/geAd/SDLWindow/SDLWindow.h> #include <GPUEngine/geAd/SDLWindow/SDLMainLoop.h> #include<glm/glm.hpp> #include<glm/gtc/matrix_transform.hpp> #incl...
[ "p.chukir@gmail.com" ]
p.chukir@gmail.com
32aba7c26130efcbfb2358267d8900a725353ffb
4bc40d60c146300030512b11e375cb8abbf2f5b3
/LiteX/software/Doom/mc1-doom/src/i_video_mc1.c
2a236239853956be6fd01e54612d3112cdc7efe5
[ "BSD-3-Clause", "GPL-1.0-or-later", "LicenseRef-scancode-proprietary-license" ]
permissive
BrunoLevy/learn-fpga
fd18ea8a67cfc46d29fac9ad417ae7990b135118
fd954b06f6dc57ee042d0c82e9418e83c4b261b4
refs/heads/master
2023-08-23T06:15:43.195975
2023-08-04T06:41:22
2023-08-04T06:41:22
267,350,664
2,036
191
BSD-3-Clause
2023-06-23T13:41:44
2020-05-27T15:04:05
C++
UTF-8
C++
false
false
11,164
c
// Emacs style mode select -*- C++ -*- //----------------------------------------------------------------------------- // // Copyright (C) 1993-1996 by id Software, Inc. // Copyright (C) 2020 by Marcus Geelnard // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU...
[ "Bruno.Levy@inria.fr" ]
Bruno.Levy@inria.fr
2c5a747a79e80d3fbf7e81763656c376af17dc7b
212d4a1c13f8ccbce673982df770258c03f9abcc
/libnmm/sml/sml-tools/Helper.cc
067e36e2142577748d5aa6e7a04719cea41209f3
[]
no_license
ShravanTata/Mouse_Webots_BenchMarking
0c3d62cd1d15c82134b8bdb8605f4e83d783875d
90d838f42675752d68190e62c47693e45b6038e0
refs/heads/master
2020-12-30T15:07:40.042027
2017-05-29T15:47:37
2017-05-29T15:47:37
91,102,564
0
0
null
null
null
null
UTF-8
C++
false
false
1,372
cc
#include "Helper.hh" #include <boost/random/normal_distribution.hpp> #include <boost/random.hpp> //constructor typedef boost::mt19937 RandomGenerator; static RandomGenerator rng(static_cast<unsigned> (time(0))); // Gaussian typedef boost::normal_distribution<double> NormalDistribution; typedef boost::variate_gener...
[ "tatarama@biorobpc4.epfl.ch" ]
tatarama@biorobpc4.epfl.ch
34b32e0ebddb7e497561bfa6cfd433687b80057a
4bc21b62a346c48cbe29b898b7fe331d6dedc023
/src/rpcserver.h
914de9fc73b3017f1d06ef8829a1926a1a79d169
[ "MIT" ]
permissive
dachcoin/dach
0bc1f57a2be087c81a847b8114d8d38cb211d39b
57c2b4af4005e8deba7932e81bd6ccdfbfe7f6bf
refs/heads/master
2020-04-12T22:36:32.451311
2019-01-30T05:54:04
2019-01-30T05:54:04
162,793,444
1
0
null
null
null
null
UTF-8
C++
false
false
15,802
h
// Copyright (c) 2010 Satoshi Nakamoto // Copyright (c) 2009-2014 The Bitcoin developers // Copyright (c) 2015-2018 The PIVX developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #ifndef BITCOIN_RPCSERVER_H #define BITCOIN_...
[ "media@dachcoin.live" ]
media@dachcoin.live
b532c0d8db525bccbc32a4a011db755b9eccce11
1095cfe2e29ddf4e4c5e12d713bd12f45c9b6f7d
/ext/systemc/src/sysc/datatypes/fx/scfx_pow10.h
c9b278561f747424d113f608bdbcec18f19550fe
[ "BSD-3-Clause", "LicenseRef-scancode-proprietary-license", "LGPL-2.0-or-later", "MIT", "Apache-2.0" ]
permissive
gem5/gem5
9ec715ae036c2e08807b5919f114e1d38d189bce
48a40cf2f5182a82de360b7efa497d82e06b1631
refs/heads/stable
2023-09-03T15:56:25.819189
2023-08-31T05:53:03
2023-08-31T05:53:03
27,425,638
1,185
1,177
BSD-3-Clause
2023-09-14T08:29:31
2014-12-02T09:46:00
C++
UTF-8
C++
false
false
2,543
h
/***************************************************************************** Licensed to Accellera Systems Initiative Inc. (Accellera) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. Accellera licenses...
[ "jungma@eit.uni-kl.de" ]
jungma@eit.uni-kl.de
562386b22cb290f536bf08ae70457fa8816770fe
b7f3edb5b7c62174bed808079c3b21fb9ea51d52
/components/safe_browsing/core/common/safe_browsing_prefs.cc
e0b3f4727e8d5b419b756fedb9ed9953ca61da84
[ "BSD-3-Clause" ]
permissive
otcshare/chromium-src
26a7372773b53b236784c51677c566dc0ad839e4
64bee65c921db7e78e25d08f1e98da2668b57be5
refs/heads/webml
2023-03-21T03:20:15.377034
2020-11-16T01:40:14
2020-11-16T01:40:14
209,262,645
18
21
BSD-3-Clause
2023-03-23T06:20:07
2019-09-18T08:52:07
null
UTF-8
C++
false
false
16,705
cc
// Copyright (c) 2016 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "components/safe_browsing/core/common/safe_browsing_prefs.h" #include "base/check_op.h" #include "base/command_line.h" #include "base/metric...
[ "commit-bot@chromium.org" ]
commit-bot@chromium.org
d42c8deff676e637fed89c4e7e2a62848f769323
76957b84c5c97ac08dd2baea6cd3d5db96d26012
/common_project/nim/nim_doc/callback/doc_callback.h
4c062c88ae2734f183bbc7743fddb5d21976e41b
[]
no_license
luchengbiao/base
4e14e71b9c17ff4d2f2c064ec4f5eb7e9ce09ac8
f8af675e01b0fee31a2b648eb0b95d0c115d68ff
refs/heads/master
2021-06-27T12:04:29.620264
2019-04-29T02:39:32
2019-04-29T02:39:32
136,405,188
0
1
null
null
null
null
UTF-8
C++
false
false
856
h
#pragma once #include <stdint.h> #include <list> #include "nim_sdk_manager\helper\nim_doc_trans_helper.h" namespace nim_comp { /** @class DocTransCallback * @brief 文档传输回调类 * @copyright (c) 2016, NetEase Inc. All rights reserved * @author redrain * @date 2016/12/15 */ class DocTransCallback { public: /** ...
[ "993925668@qq.com" ]
993925668@qq.com
a5978e3ee825e8c0a636da529925b087fb92e632
dfc05885f375d723c767e85c303b706890e9bba9
/hashmap/main.cpp
ffb749d5a8d9f2a19fd5cb476064d9abbbe91b2c
[]
no_license
z847299324/demo
417f3f11118e38f93a4263485361ca4334bb8616
0f7649f5834682c4f5d32885621f4033a34e0604
refs/heads/master
2018-10-19T22:31:48.323534
2018-09-20T01:27:17
2018-09-20T01:27:17
99,782,273
0
0
null
null
null
null
GB18030
C++
false
false
1,947
cpp
#define _CRT_SECURE_NO_WARNINGS #include <stdio.h> #include <stdlib.h> #include <string.h> int main(int argc, char *argv[]) { char ch; int flag = 0;//设置标志位 char *infilename ="in", *outfilename = "out"; // 初始化的输入输出文件名 FILE *infile, *outfile;//文件指针 if (argc == 2) strcpy(infilename, argv[1]); else if (argc == 3) /...
[ "123456@qq.com" ]
123456@qq.com
010fbde138ce792da167028ff08cf326c7859740
755e7b5e73c5aa3b9702ba97ec33ca30c9e4e667
/CFEM/PhyElementBar.cpp
b769156b8bb4823dda83c03c2b51522255fa7db5
[]
no_license
JohnDTill/QtFEM
a18733aed7a42f50874c6a098b1128327e2dbb2c
95ed1ba67e95760209f20733aee2d6be085b91cb
refs/heads/master
2022-11-08T02:03:33.570951
2020-06-10T01:27:05
2020-06-10T01:27:05
174,175,275
1
0
null
null
null
null
UTF-8
C++
false
false
630
cpp
#include "PhyElementBar.h" #include "PhyNode.h" void PhyElementBar::setGeometry(){ L = fabs(eNodePtrs[1]->coordinate(0) - eNodePtrs[0]->coordinate(0)); } void PhyElementBar::setInternalMaterialProperties(VectorXd& pMat){ A = pMat(mpb_A); E = pMat(mpb_E); } void PhyElementBar::Calculate_ElementStiffness(){ ...
[ "JohnDTill@gmail.com" ]
JohnDTill@gmail.com
9e57ed1f90551bf84fd2f2fa7e480b440b16e419
6b5d6690678f05a71837b85016db3da52359a2f6
/src/net/ftp/ftp_network_transaction.h
ec0c1f8de2b39a52ee073dc70106b6d65422b117
[ "BSD-3-Clause", "MIT" ]
permissive
bopopescu/MQUIC
eda5477bacc68f30656488e3cef243af6f7460e6
703e944ec981366cfd2528943b1def2c72b7e49d
refs/heads/master
2022-11-22T07:41:11.374401
2016-04-08T22:27:32
2016-04-08T22:27:32
282,352,335
0
0
MIT
2020-07-25T02:05:49
2020-07-25T02:05:49
null
UTF-8
C++
false
false
7,990
h
// 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. #ifndef NET_FTP_FTP_NETWORK_TRANSACTION_H_ #define NET_FTP_FTP_NETWORK_TRANSACTION_H_ #include <stdint.h> #include <string> #include <utility> #inc...
[ "junhuac@hotmail.com" ]
junhuac@hotmail.com
eab58b1d187bbc8260bb2f0bfad521cf86d7c74a
68c0596591ca804f3f5d4cebc1332704ab89fd14
/BibliotecaSTL/Pilha.cpp
bc75838c2e941dcbc0e0f908ee297b993874ee39
[]
no_license
Daniel-Fonseca-da-Silva/C-Basic-Codes
dcf6cbb3145f5fdcba1465f8a92c498400bef2bd
f20af5e636a236e07f35c4c49d12d2a8fb47ac5c
refs/heads/master
2020-06-23T08:37:00.501384
2019-07-29T03:56:23
2019-07-29T03:56:23
198,572,860
2
0
null
null
null
null
UTF-8
C++
false
false
555
cpp
#include <iostream> #include <stack> // pilha // Pilha retira o primeiro elemento do topo // Primeiro que entra é o último que sai (first in last out) using namespace std; int main() { stack<double> pilha; pilha.push(3.14); pilha.push(5.123); pilha.push(10.56); pilha.pop(); // Retira 3.14 do topo cout << "T...
[ "developer-web@programmer.net" ]
developer-web@programmer.net
a1a2ea4f364cf96de37277b7b564c5f2d5da6fad
fb2337d616b5e121d66b0b59b4222d2eec9d7290
/src/cpp/206. Reverse Linked List.cpp
caa3f84ef6dc520dd0a296f68c36af248f0f1356
[ "MIT" ]
permissive
asdlei99/D.S.A-Leet
02348b33bf4a7a8a4f673de9a087d8557471af59
be19c3ccc1f704e75590786fdfd4cd3ab4818d4f
refs/heads/master
2020-09-24T15:47:03.756271
2019-03-29T01:34:37
2019-03-29T01:34:37
null
0
0
null
null
null
null
UTF-8
C++
false
false
681
cpp
/* Reverse a singly linked list. */ /** * Definition for singly-linked list. * struct ListNode { * int val; * ListNode *next; * ListNode(int x) : val(x), next(NULL) {} * }; */ #include <common.hpp> class Solution { public: ListNode *reverseList(ListNode *head) { if (head == NULL) ...
[ "x-jj@foxmail.com" ]
x-jj@foxmail.com
137e6ba78c4bd25145f987530a4b8f4daf98a295
59515f3d82033ed774c135a5310ed86f7db8b7f7
/mainwindow.h
8c77496833d1743f0fa21a1c3b628cb6df0835b4
[]
no_license
CyberMakaron/2019_VT-22_Klesov_Makar_2
e3295a27466debe43295686e46987a5937a25fa1
e9c2de2618e906783929f301b9c2d30d276dcd20
refs/heads/master
2020-05-23T19:18:39.123124
2019-05-22T21:12:50
2019-05-22T21:12:50
186,909,171
0
0
null
null
null
null
UTF-8
C++
false
false
737
h
#ifndef MAINWINDOW_H #define MAINWINDOW_H #include <QMainWindow> #include <QString> #include <QPixmap> #include "dir_imagesworker.h" #include "shortcutworker.h" namespace Ui { class MainWindow; } class MainWindow : public QMainWindow { Q_OBJECT public: explicit MainWindow(QWidget *parent = nullptr); voi...
[ "makrusim@yandex.ru" ]
makrusim@yandex.ru
3665d4f7b455df893765c1e38391e9757ade0639
f65ce9e212064d6c27c7f9bd13684b83fef58d83
/Softrast/src/App.h
8d3a8653f6b115cf7b6858a00f8fd674953d9749
[ "MIT" ]
permissive
RickvanMiltenburg/SoftRast
9722d2bda7b9fcfe2bf5494b09de6bbf99e27237
e14b74804c052bb448058808cbb6dd06616ba585
refs/heads/master
2020-05-18T18:00:55.752279
2015-05-18T14:05:28
2015-05-18T14:05:28
35,819,422
0
0
null
null
null
null
UTF-8
C++
false
false
956
h
#pragma once #include <stdint.h> #include <d3d11.h> #include "RenderTarget.h" class App { public: App ( ID3D11Device* device, ID3D11DeviceContext* deviceContext, ID3D11RenderTargetView** backBuffer, ID3D11Texture2D** backBufferTexture ); ~App ( ); bool LoadModel ( const char* path ); void OnResize ( uint32_t ...
[ "rick@milty.nl" ]
rick@milty.nl
f1bf06e81bbe9e48552823d8f040ccc6bff88791
763269f66f7e34a21b4cf1eee065984d9ab43406
/RC_S620S_Test/RC_S620S_Test.ino
04d9ee7dc3380ce9235fd37ae5ba6f0070133a6e
[]
no_license
yukusakabe/HomeSensorNetwork
44ad57f8fadc8f12d8ed36b9d340fc8eb786ff97
098f751b0315fbf9fdbff1ab09d9019a15de40fa
refs/heads/master
2020-05-20T00:23:33.841505
2013-06-10T19:59:07
2013-06-10T19:59:07
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,488
ino
#include <SoftwareSerial.h> #include <TypeDefinition.h> #include <LiquidCrystal.h> #include <libRCS620S.h> #define COMMAND_TIMEOUT 400 #define POLLING_INTERVAL 1000 #define LED_PIN 13 LiquidCrystal lcd(12, 11, 5, 4, 3, 2); RCS620S rcs620s(NULL); void setup() { int ret; pinMode(LED_PIN, OUTPUT); // for Po...
[ "yu@kskb.jp" ]
yu@kskb.jp
4c144649924ed465079b211bde3170611940e0f9
f3cc7fafad9d507bd608fb1c15fc792fd07f4615
/src/Collisions/CollisionalFusionDD.cpp
770e262337b3cf79624f5615f01e9271855fee47
[]
no_license
michaeltouati/Smilei
2eb3367b950bc4defe7a023bc802e169f6bf95a9
e551c9640859e11df33211c37d06f83b65773132
refs/heads/master
2021-11-29T22:35:00.808182
2021-10-08T13:07:14
2021-10-08T13:07:14
235,618,233
0
0
null
2020-01-22T16:45:01
2020-01-22T16:45:00
null
UTF-8
C++
false
false
4,079
cpp
#include "CollisionalFusionDD.h" #include "Collisions.h" #include "Species.h" #include "Patch.h" #include <cmath> using namespace std; // Coefficients used for energy interpolation // The list of energies is in logarithmic scale, // with Emin=1 keV, Emax=631 MeV and npoints=50. const int CollisionalFusionDD::np...
[ "frederic.perez@polytechnique.edu" ]
frederic.perez@polytechnique.edu
95a21d796bda56e0e7ea2fd477905e76111afe4b
2586a6db26d414dfbfeee28d9eeeaf50c13a3941
/strobingled.ino
d2ddf66d9dc3eb0d969ffbc35aae9fe2527cffa8
[]
no_license
minakhan01/ClockArduinoCode
334b6e9221d499498978611b6402494fda45d452
68043e47fefe239de9ed1c81c5539668119f1fb1
refs/heads/master
2021-01-20T06:59:55.981210
2017-05-02T19:29:10
2017-05-02T19:29:10
89,946,412
1
0
null
null
null
null
UTF-8
C++
false
false
6,124
ino
// Stroboscopic Tachometer // Ed Nisley - KE4ANU - December 2012 //---------- // Pin assignments const byte PIN_KNOB_A = 2; // knob A switch - must be on ext interrupt 2 const byte PIN_KNOB_B = 4; // .. B switch const byte PIN_BUTTONS = A5; // .. push-close momentary switches const byte...
[ "gordo@ALIENWARE-15-R3.mit.edu" ]
gordo@ALIENWARE-15-R3.mit.edu
6f73a85619583c8550dfe7251e4d14d0a55be431
786de89be635eb21295070a6a3452f3a7fe6712c
/psddl_psana/tags/V00-03-00/src/princeton.ddl.cpp
e319a983a16e8a0f276e58caaf9c08c154e700fd
[]
no_license
connectthefuture/psdmrepo
85267cfe8d54564f99e17035efe931077c8f7a37
f32870a987a7493e7bf0f0a5c1712a5a030ef199
refs/heads/master
2021-01-13T03:26:35.494026
2015-09-03T22:22:11
2015-09-03T22:22:11
null
0
0
null
null
null
null
UTF-8
C++
false
false
280
cpp
// *** Do not edit this file, it is auto-generated *** #include <cstddef> #include "psddl_psana/princeton.ddl.h" namespace Psana { namespace Princeton { ConfigV1::~ConfigV1() {} ConfigV2::~ConfigV2() {} FrameV1::~FrameV1() {} } // namespace Princeton } // namespace Psana
[ "salnikov@SLAC.STANFORD.EDU@b967ad99-d558-0410-b138-e0f6c56caec7" ]
salnikov@SLAC.STANFORD.EDU@b967ad99-d558-0410-b138-e0f6c56caec7
9c5a3c5de2737603ad4f1535e4d201a8046e2c9e
0b77403b8605b49fe26d3888c60b70f509b91bb7
/cad/elar_operator.cpp
9dab29a664fcd7b1d8da8a1c3f7d0cc61d1ea161
[]
no_license
wb-finalking/sweeping_based_on_Brep
747376cbeb6a931b705f3968d2ecf9648aa012d4
c12e85b277ba05f643ef7f780a5f91d3ebd9779e
refs/heads/master
2021-08-24T10:58:04.139730
2017-12-09T11:12:19
2017-12-09T11:12:19
110,979,739
0
0
null
null
null
null
UTF-8
C++
false
false
6,156
cpp
#include "elar_operator.h" #include <cstdio> Solid *ElarOperator::mvfs(double point[3], Vertex *&vertex) { Solid *solid = new Solid(); Face *face = new Face(); Loop *out_lp = new Loop(); vertex = new Vertex(point[0], point[1], point[2]); vertex->id = solid->vnum; out_lp->id = solid->lnum; face->id = solid->fnu...
[ "wbyx7071009@163.com" ]
wbyx7071009@163.com
e1492299cbaed00e13325d3c3b2ac4fddcc33c5d
0d37a489416e75ff013ebec2fbc2fdad80a521ac
/lib-rdm/src/rdmdevicecontroller.cpp
8c2cb9b47dfab58b147b0b81bf42a3a33d451b5c
[]
no_license
JohnSHoover/rpidmx512
fc26f7ee9ead5c1a9cb4dbbac5b4963744d3353d
ed1416b693d28030ba9ae45a25adf0f280bfc70b
refs/heads/master
2022-04-10T17:31:36.334680
2020-04-10T16:48:45
2020-04-10T16:48:45
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,978
cpp
/** * @file rdmdevicecontroller.cpp * */ /* Copyright (C) 2017-2019 by Arjan van Vught mailto:info@orangepi-dmx.nl * * 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...
[ "Arjan.van.Vught@gmail.com" ]
Arjan.van.Vught@gmail.com
3167ccf6e5b50889cd259f7d2e9fe70f35c7ba2f
7fc9ca1aa8c9281160105c7f2b3a96007630add7
/template.cpp
3076c5a8cd36ce2830193cc88ca60a1cc58f617a
[]
no_license
PatelManav/Codeforces_Backup
9b2318d02c42d8402c9874ae0c570d4176348857
9671a37b9de20f0f9d9849cd74e00c18de780498
refs/heads/master
2023-01-04T03:18:14.823128
2020-10-27T12:07:22
2020-10-27T12:07:22
300,317,389
2
1
null
2020-10-27T12:07:23
2020-10-01T14:54:31
C++
UTF-8
C++
false
false
462
cpp
/*May The Force Be With Me*/ #include <bits/stdc++.h> #define ll long long #define MOD 1000000007 #define endl '\n' using namespace std; ll N; vector<ll> arr; void Input(){ cin >> N, arr.clear(), arr.resize(N); for(ll i = 0; i < N; i++) cin >> arr[i]; } void Solve(){ } int main(){ ios_base::syn...
[ "helewrer3@gmail.com" ]
helewrer3@gmail.com
30ef68d4be7387083d1dc1f141379145db42a532
6ccaee717224338ba1889619a4c73454785588b5
/GFG Random Problems/Foldable Binary Tree.cpp
b92f4be8e596f04e9c8c411752634037d62b3b44
[]
no_license
nikhil-seth/cp-log
7dc69b15d79603637976018f8269d8ed11adb08a
faf123aa41096b19303ecaff00fbc2974491c32f
refs/heads/master
2021-06-22T02:57:05.031734
2021-01-04T14:26:11
2021-01-04T14:26:11
143,634,576
2
0
null
null
null
null
UTF-8
C++
false
false
435
cpp
// https://practice.geeksforgeeks.org/problems/foldable-binary-tree/1 // Foldable Binary Tree bool fn(node *r1,node *r2){ if(!r1 && !r2) return 1; if(!r1 || !r2) return 0; if(r1->left && !r2->right) return 0; if(r1->right && !r2->left) return 0; return fn(r1->left,r2...
[ "rootedguy24@gmail.com" ]
rootedguy24@gmail.com
98e543e31f0d4e2529876231c8d724aa9908425d
70b3436f940e9a28e8119f16ba121ac8a6352145
/codeforces/archive/003/a.cpp
14825b62b260be224fdff75d094571a76110866d
[]
no_license
Erumaru/ACM
59f85d4861e3055da3a612065a4051beafed8798
8a61e387a595bb50d34c7ffb78f597e6a413aefe
refs/heads/master
2021-04-26T16:20:13.555674
2016-11-22T18:12:05
2016-11-22T18:12:05
70,470,175
1
0
null
null
null
null
UTF-8
C++
false
false
1,900
cpp
#pragma comment(linker, "/STACK:64000000") #include <iostream> #include <cmath> #include <cstdio> #include <cstring> #include <cstdlib> #include <cassert> #include <ctime> #include <sstream> #include <algorithm> #include <functional> #include <numeric> #include <string> #include <vector> #include <queue> #include <stac...
[ "toremuratuly.abzal@gmail.com" ]
toremuratuly.abzal@gmail.com
3c7cdeb936f4fd2c44ff3ff0b2eba29529681160
24316e8888a959dec8a4af3e98e86e96a454f025
/include/threadedcanvas.h
b3d46c17be727a28c686d14149f99050c2c57c30
[ "Apache-2.0" ]
permissive
aerccu/LedDisplay
a1b33c271e3a89ae61f2e68ca9641b92d8786dd8
2152e8d56b51123cff1cfc657a887d51a05c3a70
refs/heads/master
2020-06-06T19:45:26.260394
2020-04-26T14:37:41
2020-04-26T14:37:41
192,838,056
0
0
null
null
null
null
UTF-8
C++
false
false
1,692
h
/* * -*- mode: c++; c-basic-offset: 2; indent-tabs-mode: 4; -*- * Author : aerccu * Created : 16.08.19 * * 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...
[ "aerccu@gmail.com" ]
aerccu@gmail.com
144ffdbbbf1c194afd07c31ea87856ddb6f41d95
37097fdaecb287e965273b1eeb089db69d4c0ce1
/src/planning/knowledge_representation/src/kdb_node.cpp
df7cfc6d35fa9ad88c49df2dc0b8cad7e5054319
[ "BSD-3-Clause-Clear", "LicenseRef-scancode-unknown-license-reference" ]
permissive
RobotJustina/tmc_justina_docker
9d5fc63188238608bc47ec896aae0fdd9e490223
8aa968a81ae4526f6f6c2d55b83954b57b28ea92
refs/heads/main
2023-06-01T04:37:55.193899
2021-06-27T04:23:21
2021-06-27T04:23:21
361,206,568
0
0
null
null
null
null
UTF-8
C++
false
false
2,800
cpp
#include <iostream> #include <sstream> #include "ros/ros.h" #include "knowledge_msgs/kdbFilePath.h" #include "std_msgs/Bool.h" #include "std_msgs/Empty.h" #include "std_msgs/String.h" #include "std_msgs/ColorRGBA.h" std::string locationsFilePath; std::string objectsFilePath; std::string categoriesFilePath; std::str...
[ "jc.shogun.t6s@gmail.com" ]
jc.shogun.t6s@gmail.com
6f23cfe4c5f012dfd215e8027eaa536b1727d920
969628b6cfc2f726fcbee28f19f47bcddb5cabfd
/走迷宫/tool.cpp
cfad40af869613eb6a563bc8a9e4b613a132a2b2
[]
no_license
MallocGad/little-game
94c04427ed7b179e0583c2c430d759052f05c8d7
4bb3a9be19a9f4f8b3095f10adb96ab94b4ad917
refs/heads/master
2021-01-15T12:59:21.642390
2017-08-09T12:55:04
2017-08-09T12:55:04
99,663,089
0
0
null
null
null
null
GB18030
C++
false
false
1,946
cpp
/******************************************* 所需函数的实现 ********************************************/ #include"tool.h" Person::Person() { _edirection = UP; _rPos = p_rPos = { 7,2 }; } void Person::direction(char a[][11]) { switch (_edirection) { case UP: if (a[_rPos.x][_rPos.y + 1] == '1') { if (a[_rPos.x - 1]...
[ "1165318097@qq.com" ]
1165318097@qq.com
5bfbbf7e528dc68db230ac4df9b570b1f27d9a2d
b8194fee4ddf498b2c1bd302ec4ba9466746250d
/build/Android/Debug/app/src/main/include/Fuse.SystemFont.Weight.h
ab880743dd7b10d6cc58bcdb21b432d2cb5ed2dc
[]
no_license
color0e/Fabric_Fuse_Project
e49e7371c9579d80c9ec96c1f2d3a90de7b52149
9b20a0347e5249315cf7af587e04234ec611c6be
refs/heads/master
2020-03-30T16:49:34.363764
2018-10-03T16:26:28
2018-10-03T16:26:28
151,428,896
0
1
null
null
null
null
UTF-8
C++
false
false
337
h
// This file was generated based on '../../AppData/Local/Fusetools/Packages/Fuse.Common/1.9.0/SystemFont.uno'. // WARNING: Changes might be lost if you edit this file directly. #pragma once #include <Uno.Int.h> namespace g{ namespace Fuse{ // public enum SystemFont.Weight :38 uEnumType* SystemFont__Weight_typeof(); ...
[ "limjangsoon@naver.com" ]
limjangsoon@naver.com
073e10196e543065c089b2527c2c23cf2370900e
6cc10a9754ef04f5fa30bee1681ebe044312a881
/includes/InputSource.hpp
b16feb9db8f44e36ba1fb21fd355c3358935a31d
[]
no_license
Adubedat/AbstractVM
3955a5bad63b960266ba81b37709291958dbf07e
7f04a7c422d62e12bfe7bf2d40b744f84bd8cbc7
refs/heads/master
2021-01-25T14:33:47.314535
2018-04-23T17:59:00
2018-04-23T17:59:00
123,711,795
0
0
null
null
null
null
UTF-8
C++
false
false
2,025
hpp
/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* InputSource.hpp :+: :+: :+: ...
[ "arthur.dubedat@gmail.com" ]
arthur.dubedat@gmail.com
601463a3f4a936ca6f5ed9a1a33f787917361316
3543b7f88aea464dc4b26148196e53c46b70d38e
/cgg06_Normal_Mapping_and_OBJ/Renderer3DRaycasting.h
a9ae288fd492e46bd234a34f2ebb770a2ff73672
[]
no_license
vanish87/CGG
77e76450062edd8743beda2bb80590bd5a172738
b1f6f6d924c7bf08af078572f78a98fcad782f20
refs/heads/master
2020-09-04T21:31:46.534548
2015-09-13T23:50:12
2015-09-13T23:50:12
null
0
0
null
null
null
null
UTF-8
C++
false
false
416
h
#ifndef RENDERER3DRAYCASTING_H_ #define RENDERER3DRAYCASTING_H_ #include "Renderer3D.h" class Color; class Ray; class Renderer3DRaycasting : public Renderer3D { private: Color raycasting(Ray& ray, double* dist); Renderer3DRaycasting(const Renderer3DRaycasting& src); public: Renderer3DRaycasting(); Renderer3DRay...
[ "rumpf@student.tugraz.at" ]
rumpf@student.tugraz.at
895e8f900ab69053fc48faaff37e9e79041f973d
0160c375f0f49778fa2d58cf14595d581dbfc308
/test/test.utils.cpp
ae8d8b9802dee1eb8fb0e180dfe4a03c218e49e6
[ "MIT" ]
permissive
chensoft/libfs
4d81c845b9264244ac5c12043ccc0c666de5a130
3288a865ffa71cfc197ea0fb54c042fa2c9546a6
refs/heads/master
2020-03-25T04:46:08.588642
2018-12-27T11:15:54
2018-12-27T11:15:54
143,412,033
1
0
null
null
null
null
UTF-8
C++
false
false
910
cpp
/** * Created by Jian Chen * @since 2018.09.03 * @author Jian Chen <admin@chensoft.com> * @link http://chensoft.com */ #include "fs/fs.hpp" #include "catch.hpp" TEST_CASE("fs.utils") { CHECK(std::string(u8"\u9648\u5251") == "\xE9\x99\x88\xE5\x89\x91"); CHECK(fs::widen(u8"\u9648\u5251") == L"\u9648\u525...
[ "admin@chensoft.com" ]
admin@chensoft.com
f45010a6e5b008d3fe2513dd36a06195dc0147f2
b5b4d7b9afe4405d7c20c65b22a17a4201aa3765
/src/Magnum/SceneGraph/MatrixTransformation3D.hpp
916b72733eefcc66f2d781884bfaa718e0b137f4
[ "MIT" ]
permissive
guangbinl/magnum
bfb8fbd949261092d0f9b3645ed2478a92544e98
a5d58aaab74f6ecb5d6678055b280b831e045e59
refs/heads/master
2023-02-18T02:10:51.396888
2021-01-10T11:24:25
2021-01-10T11:24:25
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,148
hpp
#ifndef Magnum_SceneGraph_MatrixTransformation3D_hpp #define Magnum_SceneGraph_MatrixTransformation3D_hpp /* This file is part of Magnum. Copyright © 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020 Vladimír Vondruš <mosra@centrum.cz> Permission is hereby granted, free of c...
[ "mosra@centrum.cz" ]
mosra@centrum.cz
38c5dc7e95318507648e92b0226103c93feeaa62
e49b23d9112411dd763311aed589ea47ab3a5029
/src/stacker_attribute_buffer.cpp
15f811dafa741fd421fd050d592e44150e16e517
[ "MIT" ]
permissive
scullion/stacker
754992aa9d583c5250a765f41ec22fad8c1bb380
541890f5c56971653138b991e70d0a64bbf9e852
refs/heads/master
2020-06-03T17:09:46.040380
2014-06-11T15:54:53
2014-06-11T15:54:53
20,300,216
1
0
null
null
null
null
UTF-8
C++
false
false
52,340
cpp
#include "stacker_attribute.h" #include <cstddef> #include <cstring> #include <cfloat> #include <algorithm> #include "stacker_shared.h" #include "stacker_util.h" #include "stacker_attribute_buffer.h" namespace stkr { #pragma pack(push, 1) /* Helper used to read attribute data located after the header in memory. *...
[ "thomasjamesmoran@gmail.com" ]
thomasjamesmoran@gmail.com
ca56c2a64be6538942e31ba2db189f2405cec3ca
e38fe12f1573c98ada37520292b64d2c454cd17c
/SlowakCodeTests/AIWonder.cpp
990b2ec4e80fff576e17ff67fb2aeb0c1bcfd941
[]
no_license
marzix/7Wonders
08d85ab7687f74e528138a6fea092584336e1f26
6a8665f1d327b9c34c8e1dc156f50066bce9b219
refs/heads/master
2020-04-06T07:06:37.443853
2018-06-29T14:55:56
2018-06-29T14:55:56
65,573,965
1
0
null
null
null
null
UTF-8
C++
false
false
4,038
cpp
#include "AIWonder.h" #include <ios> #include <iostream> #include <fstream> #include <iomanip> using std::cout; using std::cerr; using std::endl; using std::setw; using std::left; using std::right; using std::showpos; using std::noshowpos; #define netFileName "AIWonder.net" #define trainingDataFile "AIWonder.data" #pr...
[ "rafal.potoczek@gmail.com" ]
rafal.potoczek@gmail.com
06590f44c0accf67cb35df7410e6c29f278da85a
d6b48d0260beee183aa97d051b80373475a7e7c0
/build-SLStudio-Desktop-Debug/moc_PoseFilter.cpp
bfcc265293bfa80994a0273254b72d25a87f0117
[]
no_license
hehongyu1995/slstudio
c624f5fcae94f200560ec59137857391369a4904
2d85bec24382e609504030463001d16bd4aa1f5d
refs/heads/master
2020-12-02T22:47:14.502981
2017-07-14T05:23:34
2017-07-14T05:23:34
96,179,511
0
0
null
2017-07-04T05:43:28
2017-07-04T05:43:28
null
UTF-8
C++
false
false
4,467
cpp
/**************************************************************************** ** Meta object code from reading C++ file 'PoseFilter.h' ** ** Created by: The Qt Meta Object Compiler version 67 (Qt 5.5.1) ** ** WARNING! All changes made in this file will be lost! **********************************************************...
[ "hehongyu1995@github.com" ]
hehongyu1995@github.com
63ebed55dcb891723fe16d631f8d263b443b5835
1e5d25a8e0e31b78c4e979af55ee2ad64687c258
/92 Reverse Linked List II/reverseLinkedListII.cpp
f34ee72a31caa0ceb3380a3f5bdb8ddae0e35387
[]
no_license
charlenellll/LeetCodeSolution
ed02ee9b4059d6c1c6972af8cc56ea7bc85d401f
3b846bf4cc1817aaae9e4e392547ad9ccde04e76
refs/heads/master
2021-01-01T16:18:58.440351
2019-11-19T15:48:04
2019-11-19T15:48:04
97,808,314
2
0
null
null
null
null
UTF-8
C++
false
false
2,117
cpp
//2nd round class Solution { public: ListNode* reverseBetween(ListNode* head, int m, int n) { ListNode* pre = NULL, *cur = head; for(int i = 1; i < m; i++ ){ pre = cur; cur = cur->next; } if( !cur->next ) return head; ListNode* before = pre, *tail = cu...
[ "charleneliaojl@gmail.com" ]
charleneliaojl@gmail.com
aef8427d73ac89fbd587419700f2dcee76c41630
f6737c532718980a62d5d19753be9b1e94f908c1
/boost/asynchronous/scheduler/stealing_multiqueue_threadpool_scheduler.hpp
b285f73e86866ce42ae09cf2f13504f0641444d8
[]
no_license
Shevchenko-Alexander/asynchronous
8096228eda9b1e6455edcda746c91722f16973e9
1f0acf7bcd628d3ad0db50d8b921d5494f43f8a1
refs/heads/master
2020-04-03T11:41:37.695317
2018-10-29T15:06:26
2018-10-29T15:06:26
155,228,999
0
0
null
2018-10-29T14:47:59
2018-10-29T14:47:57
null
UTF-8
C++
false
false
16,250
hpp
// Boost.Asynchronous library // Copyright (C) Christophe Henry 2013 // // Use, modification and distribution is 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) // // For more information, see http://www.boost.org #i...
[ "christophe.j.henry@googlemail.com" ]
christophe.j.henry@googlemail.com
05ee3fbd5b2648a390d996fbb8b4e6a96521f66a
31c6face9f3a545a0b4df81a2f6c36362b9c5f81
/mechanics/Widgets/actionentitywidget.h
d1671118e45e240cf81d010ec860d2b540129344
[]
no_license
drblallo/Mapper
e92e5540e2b654b1d4408ffd77ed3f081d5c1968
8770fa4ec8a7faae4059f9652656fe699979134a
refs/heads/master
2021-01-01T19:57:46.839135
2017-11-26T09:51:51
2017-11-26T09:51:51
98,729,413
0
0
null
null
null
null
UTF-8
C++
false
false
476
h
#ifndef ACTIONENTITYWIDGET_H #define ACTIONENTITYWIDGET_H #include <QWidget> namespace mechanics { class EntityAction; } using namespace mechanics; namespace Ui { class ActionEntityWidget; } class ActionEntityWidget : public QWidget { Q_OBJECT public: explicit ActionEntityWidget(QWidget *parent = 0, E...
[ "blalloscompany@gmail.com" ]
blalloscompany@gmail.com
fa4b183133a5c27c90ebe74ae3677c1c0fa42d1a
2bae07914bcd383fefe415194ffb63e2b007aff2
/engine/modules/tool/tool_generic_data/include/tiki/tool_generic_data/generic_data_tag.hpp
74455d3db07ed51ba7575a2491cd8e08c723b03a
[]
no_license
TikiTek/mechanica
ec4972b541bfb7dc685b0b7918785c5ca99622d2
d151a818a279f1969b977ff7a935148b18ab9546
refs/heads/master
2021-10-09T07:27:23.308704
2021-10-08T07:42:04
2021-10-08T07:42:04
71,704,579
1
0
null
null
null
null
UTF-8
C++
false
false
891
hpp
#pragma once #include "tiki/base/dynamic_string.hpp" #include "tiki/base/types.hpp" namespace tiki { class GenericDataTag { TIKI_NONCOPYABLE_CLASS( GenericDataTag ); public: explicit GenericDataTag(); explicit GenericDataTag( const GenericDataTag* pCopyFrom ); ~GenericDataTag(); const Dyna...
[ "mail@timboden.de" ]
mail@timboden.de
3e9172cb8b65853efe9dd6032616749442a61044
09c5c4baed3d26701e866be100e4e52d9a34b856
/StudyAlone/StudyAlone/SupervisorCCTV.h
40b0907e07a0d00705931f64f298a4f8aee493a8
[]
no_license
sangdo913/Algorithms
556ac5fc789e35df2f65601e4439caca967edd7b
ee11265895d8ce3314f009df38166defc4b946c7
refs/heads/master
2022-09-11T12:00:58.615980
2022-07-31T11:11:04
2022-07-31T11:11:04
116,484,870
3
0
null
null
null
null
UTF-8
C++
false
false
2,789
h
#pragma once #include<iostream> #include<cstdio> #include<cstring> using namespace std; struct CCTVInfo { typedef struct Cod { int r, c; } cod; typedef enum {UP = 0b1, RIGHT = 0b0010, DOWN = 0b0100, LEFT = 0b1000} DIR; typedef enum {floor = 0, wall = 6, sensing = 7, final = -1} OBSTACLE; typedef enum {U = 0, R, D...
[ "sangdo913@naver.com" ]
sangdo913@naver.com
018621d8b2cd6dd8510fa9c0f020671775000083
1ac3f7213b2c4cda9872275d5c735dee27333825
/codes/data_structures/stack/cpp/templated_stack.cpp
4f72da0bff8462f87633cad5ae592efdd7f18371
[ "MIT" ]
permissive
basu0001/first-pr-Hacktoberfest--2019
b13a805590bd80f955a158a841dc657c6439dfd9
479553e67728fa8409dbceed7cb3d7554127c946
refs/heads/master
2021-06-28T10:24:15.910424
2021-02-02T07:38:31
2021-02-02T07:38:31
212,898,561
8
55
MIT
2021-02-01T18:11:35
2019-10-04T20:37:04
Java
UTF-8
C++
false
false
571
cpp
#include <exception> #include <iostream> #include "Stack.hpp" /* * Main is only used to test different * methods on my stack * */ int main(void) { Stack<int> s; std::cout << "Initializing stack" << std::endl; for (int i = 0; i < 10; ++i) s.push(i); std::cout << "Done!" << std::endl; while ( !s.empty()...
[ "rajarshee1234@gmail.com" ]
rajarshee1234@gmail.com
70fa4b3fe5aa99d79dfcdca4b04c33c071d38848
040eab433f00786ec34142f242c0735e8c19fd9c
/samples/threat_level/src/GameOverState.hpp
bc9d7f62528ec2774a79ee22dcebb55783e72e48
[ "Zlib" ]
permissive
MORTAL2000/crogine
d7c73f174dfd7b1cf89ee693f98c7ecd41bb11f4
488b46dc3f706def8fdae30346c248f01c95b49c
refs/heads/master
2020-12-20T20:52:56.810085
2020-01-24T15:41:32
2020-01-24T15:41:32
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,220
hpp
/*----------------------------------------------------------------------- Matt Marchant 2017 http://trederia.blogspot.com crogine test application - Zlib license. This software is provided 'as-is', without any express or implied warranty.In no event will the authors be held liable for any damages arising from the us...
[ "matty_styles@hotmail.com" ]
matty_styles@hotmail.com
a078be2d0024efc7b378e3a6a1508818642413b4
020aa89d2205271caa1023aeba139539f9a621a3
/list/seqList.h
2b73a2fd0200e8d230c1811dc752b99ddac2de14
[]
no_license
pengzi2017/Data-Structure
39344f7d0bca9d73be438e6a9aae906f3a661a13
1c135b416ddb4e43219cbee39babdc46c232e00e
refs/heads/master
2021-01-22T21:21:51.644461
2017-09-13T09:09:38
2017-09-13T09:09:38
85,414,711
0
0
null
null
null
null
GB18030
C++
false
false
3,583
h
//顺序表 #ifndef SEQLIST_H #define SEQLIST_H #include"list.h" #include<iostream> using namespace std; const int defaultSize = 100; template<class T> class SeqList:public List<T> { public: SeqList(int sz=defaultSize); SeqList(SeqList<T>&L); ~SeqList() { delete[] data; }; int Size()const {return size;};//表的最大体积 void re...
[ "15804052717@163.com" ]
15804052717@163.com
ce46a56086a3e463dd5b2a593504331fcab6d8b5
90c720b09228236ac0a0419b83bb4c870b1c7714
/src/qt/addressbookpage.cpp
f660c870bc433e97170ee9f85d86e02bc6160471
[ "MIT" ]
permissive
FilokOfficial/filok
80b6fb2d4a47a20da21d8b41aeede290a80cfcb7
20dbb5f6e6f5f73b0676f4bf302233644d4d7ce1
refs/heads/master
2020-04-18T18:43:48.645184
2019-02-05T21:28:24
2019-02-05T21:28:24
167,693,244
1
0
null
null
null
null
UTF-8
C++
false
false
10,169
cpp
// Copyright (c) 2011-2014 The Bitcoin developers // Copyright (c) 2014-2015 The Dash developers // Copyright (c) 2015-2017 The PIVX developers // Copyright (c) 2018 The Filok developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-li...
[ "root" ]
root
9694e535e1cb20131840c1281b5a9f2b7b9aeaa1
c1b7e15de90d3b7ce33d51f002c99b1d9b6ca715
/ChineseChess/CommonLib/CommandDecoder.h
f4b8c68f4f26ce2226cc47ff5bfbfe873f15bac5
[]
no_license
mainina/ChineseChess
a4c60be7ce31228b98f850e6514bb59114d7e6cc
40a3191bd9ecc8e2297079446d95752e73d73611
refs/heads/master
2021-01-02T08:13:29.982351
2017-08-25T07:34:18
2017-08-25T07:34:18
96,449,367
0
0
null
null
null
null
UTF-8
C++
false
false
480
h
#pragma once #include <string> #include "Decoder.h" #include "CmdData.h" #include <vector> class CommandDecoder: public Decoder { public: CommandDecoder(char bufRecv[]); ~CommandDecoder(); virtual bool decode(); CmdData* getData() { return mCmdData; } int getCommand() { return cmd; } const char getChBegin() { ...
[ "mainina200@sohu.com" ]
mainina200@sohu.com
5823f5f0c88476ed68ec683e504041eef7742720
14a2979c0baeb2ef14b3f34bb4017d541c8b0d8f
/apps/DataCollections/chainblock.h
a39b8a6a29db0a6392469762861d24c074bfcac3
[ "MIT" ]
permissive
MangoCats/aosuite
1fb6d3c929ad0634b07beb3a2fc7548dbcb6f0e9
bddabf44eb965f55a6f8628040c73fea4902db2f
refs/heads/master
2021-12-07T18:59:35.991784
2021-09-16T21:55:53
2021-09-16T21:55:53
144,416,778
0
0
MIT
2018-08-11T20:39:07
2018-08-11T20:39:06
null
UTF-8
C++
false
false
2,437
h
/* MIT License * * Copyright (c) 2018 Assign Onward * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modif...
[ "assign.onward@gmail.com" ]
assign.onward@gmail.com
36c1395b78dabd497d5fdbd98587c5feb080f233
2927dcbbb0723e8e76710040407c5561fb6b0121
/04096/windows/architectures/source/tool/GLView.h
cd51ff3227d26f939d10f18f4dbef14653f17bd3
[]
no_license
cafferta10/hardcode
9583599825010c16d46e199aaff9b15834730c65
2033e906d3a7850f88dda431f15a70f0981729b9
refs/heads/master
2021-05-22T01:06:19.072005
2019-10-26T03:28:44
2019-10-26T03:28:44
null
0
0
null
null
null
null
UTF-8
C++
false
false
927
h
#ifndef GLView_h #define GLView_h #include <stdint.h> #include <QtGui> #include <QGLWidget> #include "project.h" namespace aurora { // opengl view class GLWidget : public QGLWidget { Q_OBJECT public: GLWidget(const QGLWidget* shareWidget = 0); ~GLWidget(); project::Project *project; ...
[ "youngthug@youngthug.com" ]
youngthug@youngthug.com
95ac183ce96fcefdc06183e8167fc7302bc299fa
f0bd63eddce3d90c1d56ce6782b99557a6daf04b
/homework/assignment26.cpp
23c88294ee26ad014374b8b07ec857d8d4306627
[]
no_license
rsguru/cs124
205092b65b43c916d2abe456cf33dad93b160edd
0579cc77c7e38c79781a72cc425668ae8bce58eb
refs/heads/master
2021-01-11T20:42:38.138083
2016-12-22T04:43:02
2016-12-22T04:43:02
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,124
cpp
/*********************************************************************** * Program: * Assignment ##, ???? (e.g. Assignment 10, Hello World) * Brother {Cook, Comeau, Falin, Lilya, Honeycutt, Unsicker, Peterson, Phair, Ellsworth}, CS124 * Author: * your name * Summary: * Enter a brief description of...
[ "drew@lundgren.us" ]
drew@lundgren.us
48dedb912397a01916cd58169e0dd5ada1ede497
98157b3124db71ca0ffe4e77060f25503aa7617f
/codeforces/470/c.cpp
f46ccf3e2eb53cd918b4f8761615e823ceb4c394
[]
no_license
wiwitrifai/competitive-programming
c4130004cd32ae857a7a1e8d670484e236073741
f4b0044182f1d9280841c01e7eca4ad882875bca
refs/heads/master
2022-10-24T05:31:46.176752
2022-09-02T07:08:05
2022-09-02T07:08:35
59,357,984
37
4
null
null
null
null
UTF-8
C++
false
false
1,468
cpp
#include <bits/stdc++.h> using namespace std; const int N = 3e5 + 5; struct trie { int l, r, cnt; trie() : l(0), r(0), cnt(0) {} } node[N * 55]; int p[N], a[N], cntr; void add(int x) { int now = 1; ++node[now].cnt; for (int i = 29; i >= 0; --i) { if (x & (1 << i)) { if (node[now].r == 0) node[now...
[ "wiwitrifai@gmail.com" ]
wiwitrifai@gmail.com
d7e454abbaa3ab965ed867ac3cf97a42f17e3eb2
37ff29a9a83eafbf0f54e2ce0bf2c0255b1663a1
/devel/.private/map_msgs/include/map_msgs/GetMapROIResponse.h
77b136b55ea4b20e5d092b076594262f1cc1801c
[]
no_license
wy7727/husky
f8d9c2a05487f66efbfb58e8fc1c141efc10e177
7925bc34ae316639aef88fc3e6a8d36aba12620b
refs/heads/master
2020-04-09T12:09:41.420418
2019-12-01T09:24:24
2019-12-01T09:24:24
160,337,603
0
0
null
null
null
null
UTF-8
C++
false
false
7,838
h
// Generated by gencpp from file map_msgs/GetMapROIResponse.msg // DO NOT EDIT! #ifndef MAP_MSGS_MESSAGE_GETMAPROIRESPONSE_H #define MAP_MSGS_MESSAGE_GETMAPROIRESPONSE_H #include <string> #include <vector> #include <map> #include <ros/types.h> #include <ros/serialization.h> #include <ros/builtin_message_traits.h> ...
[ "wuying277727@gmail.com" ]
wuying277727@gmail.com
b9774cbe9b1df1babfbc302fb90ad3be3c93b30e
73dd6869ad9e72ca20efc9c3881c626a08290f58
/src/client/GameProc/CallGM.h
44465e66de94d6f88c9bbe2f0f5a98f764a14771
[]
no_license
rcirca/irose
76cd50fa223375c67e6db412aea2ab941d4c1934
39afb7d253f66c0f5f6661d0cb0c179c64a6e64e
refs/heads/master
2020-03-19T16:21:58.555061
2018-05-23T13:03:18
2018-05-23T13:03:18
136,712,714
4
4
null
2018-06-09T10:17:04
2018-06-09T10:17:04
null
UHC
C++
false
false
317
h
#ifndef _CALLGM_ #define _CALLGM_ #include <string> /// /// 유져의 GM 호출 요청을 웹으로 전송( 각 국가별 게시판 ) /// class CCallGM { public: CCallGM(void); ~CCallGM(void); void CallGM( std::string& strServerName, std::string& strChannelName, std::string& strMsg ); }; #endif //_CALLGM_
[ "ralphminderhoud@gmail.com" ]
ralphminderhoud@gmail.com
b17cad2cd536c4dcef182031a32efe6fdd0618a0
094cd67dd4904fbb7d7befd32f1684275e994d5b
/src/utilstrencodings.cpp
bca98360b0695d9d73b3cf2a4b0417d01875476c
[ "MIT" ]
permissive
Arinerron/jobecoin
a9219ee50b927fefe657e1844987c69e422fb81f
d6c966cf94c44061c157da77def3e15ecb866a2b
refs/heads/master
2021-08-20T02:55:06.170471
2017-11-28T02:05:06
2017-11-28T02:05:06
112,209,637
1
0
null
null
null
null
UTF-8
C++
false
false
23,962
cpp
// Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2016 The Jobecoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include <utilstrencodings.h> #include <tinyformat.h> #include <cstdlib> #incl...
[ "arinesau@gmail.com" ]
arinesau@gmail.com
2f46e7d443385f15002c2da7e449317e4657d52b
12e2e6e9b050f8916bf372ee725c9d1112d6c7ce
/Car/Core.cpp
5b4fd1fc0d34c3d3c41f8a2932ec27870d39cf6b
[]
no_license
Sozary-zz/Car
49f6796471f082231e33a87daf15405cd3d5635d
520bea5519c8bf3b72e2ab13a372b164208c429a
refs/heads/master
2022-04-30T22:06:36.717325
2017-09-27T11:45:20
2017-09-27T11:45:20
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,400
cpp
#include "core.hpp" #define GAME_FPS 60.f #include <iostream> using namespace std; using namespace sf; Core::Core(int w, int h, const string& title) : m_window(VideoMode(w, h), title, Style::Close, ContextSettings{ 0,0,8 }), TimePerFrame(seconds(1.f / (float)GAME_FPS)) { m_sim = new Simulation(); } Core::~Core()...
[ "mehdiayache@hotmail.fr" ]
mehdiayache@hotmail.fr
a2fc52808dc987e41536017958d230f54a3473cc
dbc0e3582d65bcf9d8fba29d872d6407454f9e28
/HackerRank/game-of-stones.cpp
4ff3386379bb41c664a0141f9ae92274bd2c0166
[]
no_license
sirAdarsh/CP-files
0b7430e2146620535451e0ab8959f70047bd7ea2
8d411224293fec547a3caa2708eed351c977ebed
refs/heads/master
2023-04-05T09:07:21.554361
2021-04-08T19:57:33
2021-04-08T19:57:33
297,582,418
0
0
null
null
null
null
UTF-8
C++
false
false
221
cpp
#include<iostream> using namespace std; string solve(int n){ if(n%7<=6 && n%7>=2){ return "First"; } return "Second"; } int main(){ int t; cin >> t; while(t--){ int n; cin >> n; cout<<solve(n)<<endl; } }
[ "aksinha.dhn@gmail.com" ]
aksinha.dhn@gmail.com
9d219a15e70b6dd7e9bc9afbc6e83775b8241bdc
ba9322f7db02d797f6984298d892f74768193dcf
/r-kvstore/src/model/ModifyGuardDomainModeRequest.cc
94827dd2bb9f4cef6a66bb45a3e77f159d937cff
[ "Apache-2.0" ]
permissive
sdk-team/aliyun-openapi-cpp-sdk
e27f91996b3bad9226c86f74475b5a1a91806861
a27fc0000a2b061cd10df09cbe4fff9db4a7c707
refs/heads/master
2022-08-21T18:25:53.080066
2022-07-25T10:01:05
2022-07-25T10:01:05
183,356,893
3
0
null
2019-04-25T04:34:29
2019-04-25T04:34:28
null
UTF-8
C++
false
false
3,396
cc
/* * Copyright 2009-2017 Alibaba Cloud 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...
[ "haowei.yao@alibaba-inc.com" ]
haowei.yao@alibaba-inc.com
d0f0b90d9b4006661d3a985b1a3e28ac6a7eb8f3
21ab9b42039e4559a738954680561925d531d9a6
/pybind11/operators.h
293d5abd29a9f99f8a2bb041bd9204ed8f4e3dc5
[ "Apache-2.0" ]
permissive
renesugar/pph-cpp
9f9db4ac2424873c8b79e911adb5c0dd5399e0c4
8df79ebf6b7c7b92af69eec3b7032eb53bbc25af
refs/heads/master
2023-04-15T00:28:04.526648
2020-06-09T21:53:04
2020-06-09T21:53:04
104,619,261
3
0
Apache-2.0
2021-04-20T20:08:24
2017-09-24T04:41:59
C++
UTF-8
C++
false
false
9,049
h
/* pybind11/operator.h: Metatemplates for operator overloading Copyright (c) 2016 Wenzel Jakob <wenzel.jakob@epfl.ch> All rights reserved. Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. */ #pragma once #include "pybind11.h" #if defined(__clang__) &...
[ "rene.sugar@gmail.com" ]
rene.sugar@gmail.com
154834e44163a88ef84289d2b6ced4b3bede1f51
d7f3d311f9b50740d422678134df3cf171fd95de
/Player.h
5fc5e3e970637e7b373ee8ccc76b972fdede70cd
[]
no_license
jagdinsky/labirinth_game
0b0a774232464596143c68106de6d3b7859f1251
612dd4993ae7246158b23bf1e84b89c969a0a57a
refs/heads/master
2023-04-10T02:14:59.799590
2021-04-09T19:35:06
2021-04-09T19:35:06
356,369,320
0
0
null
null
null
null
UTF-8
C++
false
false
905
h
#ifndef MAIN_PLAYER_H #define MAIN_PLAYER_H #include "Image.h" struct Point { int x; int y; }; enum class MovementDir { UP, DOWN, LEFT, RIGHT }; struct Player { explicit Player(Point pos = {.x = 400, .y = 400}) : coords(pos), old_coords(coord...
[ "jagdinsky@gmail.com" ]
jagdinsky@gmail.com
77b4ff4fcda9d342922628dc69fa158589930e33
464c01e2298eea56e4c78f1c30f65492090b02f3
/MP3/NachOS-4.0_MP3/code/threads/scheduler.cc
aa68cab86316ca6191fcc129e005afaa11077456
[ "MIT-Modern-Variant" ]
permissive
lijunhaoabroad/Operating-System-Project-NachOS
bff820b68005550aa55796f2ae4946f7176506bc
7ccbb19354de953c6f504408ffbe1489c2f5319c
refs/heads/master
2023-02-22T06:11:12.339265
2021-01-23T07:51:56
2021-01-23T07:51:56
null
0
0
null
null
null
null
UTF-8
C++
false
false
37,379
cc
// scheduler.cc // Routines to choose the next thread to run, and to dispatch to // that thread. // // These routines assume that interrupts are already disabled. // If interrupts are disabled, we can assume mutual exclusion // (since we are on a uniprocessor). // // NOTE: We can't use Locks to provide mutual exclus...
[ "jennyyeh56789@gmail.com" ]
jennyyeh56789@gmail.com
5b9767761cd213187ceee6246ecafa08e53b88a8
cdbce8b09cf43bf2e66e5e3437ae591262a55270
/D2Ex2-master/ExListBox.h
5cf2b600eac90b426fb0b73c350afbc5ded9db15
[]
no_license
tokenok/Visual-Studio-Projects
b82a53f141eff01eef69f119f55dabd8b52e803e
c3947dda48fdccdba01a21b0e5052b12a18fe2a6
refs/heads/master
2022-05-02T11:06:46.201991
2018-10-28T22:07:24
2018-10-28T22:07:24
89,531,738
5
0
null
null
null
null
UTF-8
C++
false
false
528
h
#ifndef __EXLISTBOX_H__ #define __EXLISTBOX_H__ #include "ExControl.h" #include "ExTextBox.h" #include "ExScrollBar.h" #include <vector> class ExListBox : public ExControl { public: ExListBox(int X, int Y, int Width, int Height, int Color, int Font); void AddToList(wstring Member); void RemoveFromList(wstring Memb...
[ "mrjack.is.minty@gmail.com" ]
mrjack.is.minty@gmail.com
d1125603f97352ea79a82c531b35dee0bb844598
30a34b3503decf1b4516039df3106cd152631819
/4AL17IS024_MAYURESH_KUNDER/PradeepSir_Coding_Challenge/Coding_Challenge_3/SumSeries.cpp
107e6aa1348b1515e209676fbb16056d68561335
[]
no_license
alvas-education-foundation/ISE_3rd_Year_Coding_challenge
8ddb6c325bf6ab63e2f73d16573fa0b6e2484136
b4074cab4a47aad07ed0fa426eacccbfafdef7f8
refs/heads/master
2022-11-23T20:52:19.204693
2020-07-23T11:28:15
2020-07-23T11:28:15
265,195,514
4
1
null
null
null
null
UTF-8
C++
false
false
247
cpp
//sum #include<iostream.h> #include<conio.h> #include<math.h> void main() { long i,n,x,sum=1; cout<<“1+x+x^2+……+x^n”; cout<<“nnEnter the value of x and n:”; cin>>x>>n; for(i=1;i<=n;++i) sum+=pow(x,i); cout<<“nSum=”<<sum; }
[ "kundermayuresh249@gmail.com" ]
kundermayuresh249@gmail.com
13d6112e4064d1ae87c5f97ad7dac5b82c976a19
881f7c1b2ffc0e292c50385e2c202fde10fbb301
/include/thectci/factory.hpp
0aa01a783110b5fae6238bbfc340dc6c3d9e4006
[ "MIT" ]
permissive
PeterHajdu/thectci
322b64236564d77856d04c903a9a6ab50dbdf8df
7ffe4c7d8ccbf55490e155f93ef8637d6f9c4119
refs/heads/master
2021-01-23T17:32:11.156279
2015-04-29T10:20:40
2015-04-29T10:20:40
21,159,578
0
0
null
null
null
null
UTF-8
C++
false
false
1,543
hpp
#pragma once #include <thectci/id.hpp> #include <memory> #include <cassert> #include <functional> #include <unordered_map> namespace the { namespace ctci { template < typename Base > class Creator { public: typedef std::unique_ptr< Base > base_pointer; virtual ~Creator() {} virtual base_pointer create()...
[ "peter.ferenc.hajdu@gmail.com" ]
peter.ferenc.hajdu@gmail.com