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
49aa7793d4a1deba7427c0193e1c2635e79cc067
b7f1b4df5d350e0edf55521172091c81f02f639e
/device/vr/test/fake_vr_device.cc
1d7e45c5e16a8559270b318dd6382d7e597ddc5c
[ "BSD-3-Clause" ]
permissive
blusno1/chromium-1
f13b84547474da4d2702341228167328d8cd3083
9dd22fe142b48f14765a36f69344ed4dbc289eb3
refs/heads/master
2023-05-17T23:50:16.605396
2018-01-12T19:39:49
2018-01-12T19:39:49
117,339,342
4
2
NOASSERTION
2020-07-17T07:35:37
2018-01-13T11:48:57
null
UTF-8
C++
false
false
2,181
cc
// Copyright 2015 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "device/vr/test/fake_vr_device.h" namespace device { FakeVRDevice::FakeVRDevice() : VRDeviceBase() { SetVRDisplayInfo(InitBasicDevice()); } ...
[ "commit-bot@chromium.org" ]
commit-bot@chromium.org
13f35858e0c60b8f793afe9e1f8b9a883102cddc
4be7a3f1465554edc9b31aacc2692daac51c46aa
/SEMPHY/lib/doubleRep.cpp
b9ae0bd1e64ef0373dcbb4d6e1a9c3814069e7c3
[]
no_license
kbavishi/MineBench
b90eaeb485b736cb80a4a5a7d09f966ef3eedf9d
74a8ef895a07f32164b20876798560f02f2b561e
refs/heads/master
2021-01-18T23:13:07.585731
2017-04-17T21:29:44
2017-04-17T21:29:44
87,095,090
2
0
null
null
null
null
UTF-8
C++
false
false
1,267
cpp
// $Id: doubleRep.cpp 2399 2014-03-13 22:43:51Z wkliao $ #include "doubleRep.h" #include <cmath> #ifdef DOUBLEREP doubleRep::doubleRep(MDOUBLE mantissa, int expon){ _mantissa=mantissa; _expon=expon; fixParams(); } doubleRep::doubleRep(MDOUBLE a){ int answerExp; MDOUBLE answerMantissa=frexp(a,&answerExp); _m...
[ "karan.bavishi90@gmail.com" ]
karan.bavishi90@gmail.com
ca601323cb3450c32ca7cfe941d4e510f15ecc9d
2ce285e3fb624c15916bd5d1e1acc77a40e49046
/20200827_13023/main.cpp
1d7674a06d8bb7fd723b65148658bfc7c2aa0a2b
[]
no_license
THLEE-KR/Baekjoon-Online-Judge_THLEE
7bda7f9afb14b100b5b7200a0922e2fdc174bab7
ff34f8b9374263cf277fd85c62e8d38a01712b44
refs/heads/master
2023-01-22T08:35:15.984315
2020-11-23T11:14:22
2020-11-23T11:14:22
267,593,876
0
0
null
null
null
null
UTF-8
C++
false
false
1,059
cpp
#include <iostream> #include <vector> #include <algorithm> using namespace std; bool d[2010][2010]; vector<int> g[2010]; vector<pair<int, int>> edges; int main() { int n, m; cin >> n >> m; for(int i=0; i<m; i++){ int a, b; cin >> a >> b; edges.push_back({a,b}); edges.push_...
[ "taehui0118@gmail.com" ]
taehui0118@gmail.com
7b980ecdecf5df3484d6b165410e487dd9a9b58e
599efab37c3f17f9beca21e9e877366f206b9238
/src/common/metric_jacobian.hpp
f798e2ae0d506c0a70286344e32249bd23b6a3ef
[]
no_license
OptimalDesignLab/DaVinci
843908eca5516add8887a16867a16594f6d0aad8
02c63757312640195583661d3577d8b407cdabc2
refs/heads/master
2021-01-01T17:31:19.584486
2014-03-04T18:19:24
2014-03-04T18:19:24
null
0
0
null
null
null
null
UTF-8
C++
false
false
4,660
hpp
/** * \file metric_jacobian.hpp * \brief class declaration for MetricJacobian evaluator * \author Jason Hicken <jason.hicken@gmail.com> */ #ifndef DAVINCI_SRC_COMMON_METRIC_JACOBIAN_HPP #define DAVINCI_SRC_COMMON_METRIC_JACOBIAN_HPP #include "Teuchos_RCP.hpp" #include "Teuchos_ArrayRCPDecl.hpp" #include "Intrepid...
[ "hickej2@rpi.edu" ]
hickej2@rpi.edu
9deecff4c6febe42a9a22cb1f027357a6ff0d83d
e10a6d844a286db26ef56469e31dc8488a8c6f0e
/fully_dynamic_submodular_maximization/utilities.h
78d9beea04837abb0bf41e4e6d7c878ae680bfd0
[ "Apache-2.0", "CC-BY-4.0" ]
permissive
Jimmy-INL/google-research
54ad5551f97977f01297abddbfc8a99a7900b791
5573d9c5822f4e866b6692769963ae819cb3f10d
refs/heads/master
2023-04-07T19:43:54.483068
2023-03-24T16:27:28
2023-03-24T16:32:17
282,682,170
1
0
Apache-2.0
2020-07-26T15:50:32
2020-07-26T15:50:31
null
UTF-8
C++
false
false
2,510
h
// Copyright 2020 The Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in...
[ "copybara-worker@google.com" ]
copybara-worker@google.com
f5bbb823572c9d234c39a93160033299cfff3767
e6b1363a1cb8f2cdce783d4b797b6e37f35c926f
/DeltaMSVS/PolyFit/PolyFit.cpp
16528932cfef2a317a9407be642a7ad9992a930f
[ "MIT" ]
permissive
BurdickSummer2015/delta-robot
048d980177441eadc1a51bc36bdcb7c5a27e6750
a456b870ca77491178d50e0d33268f6ad995ae94
refs/heads/master
2021-01-24T20:02:04.305841
2015-08-20T04:27:46
2015-08-20T04:27:46
38,400,227
0
0
null
2015-07-01T23:24:24
2015-07-01T23:24:24
null
UTF-8
C++
false
false
9,764
cpp
// PolyFit.cpp : Defines the entry point for the console application. // #include <stdio.h> #include "polyfit.hpp" #include <vector> #include <boost/numeric/ublas/matrix.hpp> #include <boost/numeric/ublas/lu.hpp> #include <float.h> //#include <boost/numeric/bindings/lapack/getsvd.hpp> //using std::vector; using names...
[ "dweitekamp@berkeley.edu" ]
dweitekamp@berkeley.edu
2284ef3eb6f8eca25e98bb26d840573d5988e3d7
49b1f2b8cfbf754e510a922fc240af6f614490fa
/src/qt/optionsmodel.cpp
368f4b52ec32ef52a3a16327e53adb55667cafa1
[ "MIT" ]
permissive
llcgroup/leilecoin
e5130acf089ed6a75e3bd5da0ca9b0a9276d2938
5b2cbdbe3c74ad49c22ce70d816c8f3b536d153e
refs/heads/master
2021-01-13T09:25:18.348987
2016-09-22T11:42:32
2016-09-22T11:42:32
68,915,375
0
0
null
null
null
null
UTF-8
C++
false
false
7,477
cpp
#include "optionsmodel.h" #include "bitcoinunits.h" #include "init.h" #include "wallet.h" #include "walletdb.h" #include "guiutil.h" #include <QSettings> bool fUseBlackTheme; OptionsModel::OptionsModel(QObject *parent) : QAbstractListModel(parent) { Init(); } bool static ApplyProxySettings() { QSetting...
[ "565169289@qq.com" ]
565169289@qq.com
51632e17f8086e7a3837987ab1ce7c39710ea43c
39fda1f6b76b2b68ff22cfe8e8ae8af79c731309
/lab3/src/topology.h
4cb07c13a8a2dd63b3874fb6105c47d3d29365ce
[]
no_license
dev0x13/networks_labs
d0a8233f9f995e3b7be0af7ad81cb17338471e7a
67a0cc467be0f348334e7667ed0c0af3c32a3b3d
refs/heads/master
2020-08-06T20:43:18.095218
2020-01-04T11:19:30
2020-01-04T11:20:01
213,146,236
2
0
null
null
null
null
UTF-8
C++
false
false
4,056
h
#pragma once #include <unordered_set> #include <unordered_map> #include <string> #include <ostream> #include <istream> #include <cassert> #include "messages.h" #include "common.h" /* Topology operation class. Used to distribute * topology changes all over the network. */ struct TopologyOperation { enum ChangeT...
[ "george.manuilov@gmail.com" ]
george.manuilov@gmail.com
a2e95e106bbeb7e037531f311b4cd9adf7cee485
83bacfbdb7ad17cbc2fc897b3460de1a6726a3b1
/gen/blink/bindings/core/v8/V8History.h
bfe422fff4d16730017612208342e634cbb8a106
[ "Apache-2.0" ]
permissive
cool2528/miniblink49
d909e39012f2c5d8ab658dc2a8b314ad0050d8ea
7f646289d8074f098cf1244adc87b95e34ab87a8
refs/heads/master
2020-06-05T03:18:43.211372
2019-06-01T08:57:37
2019-06-01T08:59:56
192,294,645
2
0
Apache-2.0
2019-06-17T07:16:28
2019-06-17T07:16:27
null
UTF-8
C++
false
false
1,957
h
// Copyright 2014 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // This file has been auto-generated by code_generator_v8.py. DO NOT MODIFY! #ifndef V8History_h #define V8History_h #include "bindings/core/v8...
[ "22249030@qq.com" ]
22249030@qq.com
384c2e968c3c16a68d4e03581e755849d5778e5c
32af63b872cfabbe6827c371ded9e2d033f4b677
/rvalue_ref_fwd.cpp
b9b0551627c109ce028bdaf80fe7f2d5df1a725e
[]
no_license
Anteru/c-11-samples
8a9c9df32b34b3b29a3328a8bba54bb4f5a44c5e
2477b4cd757573cfaee670fc075c005dc74d6057
refs/heads/master
2023-01-23T00:02:38.592699
2014-01-05T13:45:33
2014-01-05T13:45:33
315,340,273
0
0
null
null
null
null
UTF-8
C++
false
false
528
cpp
#include <iostream> class BigFatData { }; class DataProcessor { public: void Consume (BigFatData&& data) { std::cout << "Win" << std::endl; } void Consume (const BigFatData& data) { std::cout << "Fail" << std::endl; } }; void Process (DataProcessor& proc, BigFatData&& data) { // Must use forward here, ot...
[ "dev@anteru.net" ]
dev@anteru.net
e1808f6b2d87c8383f8718a9ff1b69a300f65e87
c1ff870879152fba2b54eddfb7591ec322eb3061
/include/apeIManualTexture.h
6ac9c5f83a69f98f1d7b9dbd50694b7c5399b50f
[ "LicenseRef-scancode-free-unknown", "MIT" ]
permissive
MTASZTAKI/ApertusVR
1a9809fb7af81c3cd7fb732ed481ebe4ce66fefa
424ec5515ae08780542f33cc4841a8f9a96337b3
refs/heads/0.9
2022-12-11T20:03:42.926813
2019-10-11T09:29:45
2019-10-11T09:29:45
73,708,854
188
55
MIT
2022-12-11T08:53:21
2016-11-14T13:48:00
C++
UTF-8
C++
false
false
3,040
h
/*MIT License Copyright (c) 2018 MTA SZTAKI Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, dist...
[ "peter.kovacs@sztaki.mta.hu" ]
peter.kovacs@sztaki.mta.hu
7264c95892d1fa71ad66dab208b1f1b3c05d4b05
14842d3d6eda487f36c901df5be39c4180d80e25
/src/cpp/app/ccgen/NopOperation.cc
ef198ebc622decf8e89d64f80417cb65e353ed60
[]
no_license
hansewetz/planner
6f2a7f20d96c25ec9278d572c698dc1f629a0f92
c30c827c3f61c3af8a29d4952b9bb57141473038
refs/heads/master
2021-01-21T01:33:27.971092
2017-11-29T07:21:56
2017-11-29T07:21:56
101,879,349
0
0
null
null
null
null
UTF-8
C++
false
false
1,396
cc
#include "NopOperation.h" #include <boost/log/trivial.hpp> #include <iostream> using namespace std; namespace po=boost::program_options; namespace ccgen{ // ctor NopOperation::NopOperation(std::string const&progname,int argc,char*argv[]): Operation(progname,"nop"),options_(string("usage: -h")){ // parse command ...
[ "ewetzha@dgtmtatecgpu01.wcfubi32g10evehp3weqnkhbyg.ax.internal.cloudapp.net" ]
ewetzha@dgtmtatecgpu01.wcfubi32g10evehp3weqnkhbyg.ax.internal.cloudapp.net
6490d948f2008e3c78e25e9949c6e2aaa8da5c0f
a1595e54ca38f03adec6c1e288baff269d409ec9
/Sorting/wave_sort.cpp
ba5bcf1cd966828adaf0e93afa192e01f69210f7
[]
no_license
biswa1612/Data-Structure-And-Algorithm
4bbe400ef262e0afc92e2fcb795727dc1dc82d85
afbef87036497da13be11765dafacf16aef25fc7
refs/heads/master
2023-07-06T16:14:37.124474
2021-08-15T20:54:13
2021-08-15T20:54:13
null
0
0
null
null
null
null
UTF-8
C++
false
false
460
cpp
#include<bits/stdc++.h> using namespace std; void wavesort(int arr[],int n){ for(int i=1;i<n;i+=2){ if(arr[i]>arr[i-1]){ swap(arr[i],arr[i-1]); } else if(arr[i]>arr[i+1] && i<=n-2){ swap(arr[i],arr[i+1]); } } } int main(){ int n; cin>>n; int ar...
[ "b119018@iiit-bh.ac.in" ]
b119018@iiit-bh.ac.in
9ff8d2ec2c255a52d6b51de4d2d94f8b9967481a
e5b7d3b3bd974b9488b30c31234e456aeed5aedb
/surface.h
6b7d695812667205793629b4c9e2a614316e9649
[ "MIT" ]
permissive
zoenolan/Breakout
9c3124e030f1f1521ffcafabf18e03cdca13f365
ab39104ebaf4ff40b28e8d01f35b0acad3926686
refs/heads/main
2021-01-09T06:10:35.022009
2017-02-03T22:22:29
2017-02-03T22:22:29
80,917,929
0
0
null
null
null
null
UTF-8
C++
false
false
962
h
#ifndef surface_h #define surface_h /***************************************************************************** Base class for all object surface properties in the raycaster/raytracer NAME:surface.h DATE:17/11/1996 AUTHOR: Z.A. Nolan ****************************************************************************...
[ "github@zoenolan.org" ]
github@zoenolan.org
943ab669b2edbc1959de9d336ab706aedf4aaed3
050c8a810d34fe125aecae582f9adfd0625356c6
/ioi2020/practice/routers/routers.cpp
f422290be956e2f57076727752cac8b09f6e539c
[]
no_license
georgerapeanu/c-sources
adff7a268121ae8c314e846726267109ba1c62e6
af95d3ce726325dcd18b3d94fe99969006b8e138
refs/heads/master
2022-12-24T22:57:39.526205
2022-12-21T16:05:01
2022-12-21T16:05:01
144,864,608
11
0
null
null
null
null
UTF-8
C++
false
false
1,162
cpp
#include "routers.h" #include <vector> #include <algorithm> #include <map> using namespace std; map<int,int> memo; int my_detector(int pos){ if(memo.count(pos) == 0){ memo[pos] = use_detector(pos); } return memo[pos]; } void solve(int l,int r,int l_val,int r_val,vector<int> &lst_pos){ if(l...
[ "alexandrurapeanu@yahoo.com" ]
alexandrurapeanu@yahoo.com
3649ba586e19088eb65f02f6f581afde2b82c4a8
2feb39cefdc35b6ca169dd7ea1309e3aef4c4489
/6.12/swap_reference.cpp
f5b367d7719c9365b12071550523d476821e702c
[]
no_license
wanjuwang/practice
505b68d39a557883a62910ebd623700bc5dd88bb
2ce904373f8cb25e02ae186bd00a6a9d8d7dd0ea
refs/heads/master
2021-01-06T20:36:14.246874
2017-08-17T07:18:24
2017-08-17T07:18:24
99,529,392
0
0
null
null
null
null
UTF-8
C++
false
false
106
cpp
#include <iostream> using namespace std; void swap(int& a, int& b) { int temp = a; a = b; b = temp; }
[ "maqian0418@sjtu.edu.cn" ]
maqian0418@sjtu.edu.cn
a38e4d2aea748127d70916f7bf9afc9d27052b89
37424c9d17b4988bed54bd57094b69bdb263a035
/4_median_of_two_sorted_arrays.cpp
ef2df36c9a16a197d43ad68ae823d5a3b2573b6e
[]
no_license
retaw/leetcode
c7aeea019abe5d3274712d73cf6dcb24e2ab4476
e9310138949334ef84f96ad2651b5c42810d4045
refs/heads/master
2022-10-02T10:24:19.928568
2022-09-13T08:18:59
2022-09-13T08:20:14
49,153,501
0
1
null
null
null
null
UTF-8
C++
false
false
2,244
cpp
#include "test.h" class Solution { public: double findMedianSortedArrays(vector<int>& nums1, vector<int>& nums2) { const int size1 = nums1.size(); const int size2 = nums2.size(); const int size = nums1.size() + nums2.size(); if(size == 0) return 0; const in...
[ "waterlzj@gmail.com" ]
waterlzj@gmail.com
35f568d7c6e9d566366cf4c0d6b6fc8a23f184d5
6a035c80e0b50f6adaeaba327bf71d2029bc53ca
/Pong/ScoreBoard.h
b0f48007d90c0ce0fb24d86a04b3eb1e79cd3f4c
[]
no_license
wahyupujiono/Pong
eef89455bbdae7c278ec889a2e8586b5af660cd7
d9a756bcb8d6df25a735b07e3731af738e74d704
refs/heads/master
2021-01-12T06:12:04.095871
2016-12-25T13:57:01
2016-12-25T13:57:01
77,270,192
0
0
null
null
null
null
UTF-8
C++
false
false
400
h
#pragma once class ScoreBoard { public: ScoreBoard(); ~ScoreBoard(); void Draw(sf::RenderWindow &window); void ResetScore(); void IncrementP1(); void IncrementP2(); void UpdateScore(); void UpdatePosition(); enum ScoreStatus { Playing, Won, Lost }; ScoreStatus CheckEndOfGame(); private: sf::Font _font; s...
[ "IdiotMonsters@IDIOTMONSTERS" ]
IdiotMonsters@IDIOTMONSTERS
930a2cbd2a0243e3ffda7dc6b62c760f2532b7c7
e86161961501f7a81cbfaaec7c1170118b38a251
/tests/performance_tests/rct_mlsag.h
629df22224ce1212b252dbd40c57d78beb6ca0fb
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
cryptonoteclub/xeonbit
3ed26794977c39f74e746ff1513d9b22a65bc86a
bac66a39438ee501b0ff03d3d83eeb224f3bc2ff
refs/heads/master
2020-07-14T04:24:02.632706
2019-08-08T00:14:35
2019-08-08T00:14:35
null
0
0
null
null
null
null
UTF-8
C++
false
false
3,069
h
// Copyright (c) 2014-2017, The Xeonbit Project // // All rights reserved. // // Redistribution and use in source and binary forms, with or without modification, are // permitted provided that the following conditions are met: // // 1. Redistributions of source code must retain the above copyright notice, this list ...
[ "contact@goldenhillsolution.com" ]
contact@goldenhillsolution.com
b58dfeee67a5552dd177b7a4a389a9477b1fa8f4
4c25432a6d82aaebd82fd48e927317b15a6bf6ab
/data/dataset_2017/dataset_2017_8_formatted_macrosremoved/4yn/3264486_5736519012712448_4yn.cpp
eafcc8a76fc180ee2c4a232ecc0e33380864498f
[]
no_license
wzj1988tv/code-imitator
dca9fb7c2e7559007e5dbadbbc0d0f2deeb52933
07a461d43e5c440931b6519c8a3f62e771da2fc2
refs/heads/master
2020-12-09T05:33:21.473300
2020-01-09T15:29:24
2020-01-09T15:29:24
231,937,335
1
0
null
2020-01-05T15:28:38
2020-01-05T15:28:37
null
UTF-8
C++
false
false
700
cpp
#include <bits/stdc++.h> using namespace std; int tc; int main() { cin >> tc; for (int t = 1; t <= tc; t++) { string s; int k, fl = 0; cin >> s >> k; for (int i = 0; i < s.size() - k + 1; i++) { if (s[i] == '-') { // cout << "Flip at " << i << endl; fl++; for (int j =...
[ "e.quiring@tu-bs.de" ]
e.quiring@tu-bs.de
6bd88230d9b1d6f2706bc081d1779990433c4379
02a10a5244d2214e932e54399e4b56b68fe5974b
/headers/RequestChunkRadiusPacket.h
be1894ed557c75743a6220e8ebcfd392fa7b98d7
[]
no_license
inxomnyaa/symbols-auto
839381c1e83f434b76b2faccadee5e413ac5f376
439a1399473cc765badc1b5c438fbf83d9eadf1d
refs/heads/master
2023-06-21T23:17:07.389321
2019-11-16T19:13:05
2019-11-16T19:13:05
null
0
0
null
null
null
null
UTF-8
C++
false
false
380
h
#pragma once class RequestChunkRadiusPacket : Packet { virtual ~RequestChunkRadiusPacket(); virtual ~RequestChunkRadiusPacket(); virtual void getId(void)const; virtual void _ZNK24RequestChunkRadiusPacket7getNameB5cxx11Ev; virtual void write(BinaryStream &)const; virtual void read(ReadOnlyBinar...
[ "6178101+SupremeMortal@users.noreply.github.com" ]
6178101+SupremeMortal@users.noreply.github.com
0a56227e8c39b117ab25d9a31214c1853dcaa41d
3f06e6f74c39d5c12dbe37fc03870e19b2bec153
/jour1_exo1_bis/src/GameObject.h
9f2fa520953c69e4e754667d5abd5d7c8e72236c
[]
no_license
khalilbellil/exo_sdl_dec_2019_khalil_bellil
af6929352e582d899244be77cadd0c687d9a7f06
7a4c4f54cb26a8632fa6b7d273aa3ff83d0c839d
refs/heads/master
2023-02-07T21:17:32.572387
2019-12-18T06:39:21
2019-12-18T06:39:21
225,873,255
0
0
null
null
null
null
UTF-8
C++
false
false
640
h
#ifndef JOUR1_EXO1_BIS_GAMEOBJECT_H #define JOUR1_EXO1_BIS_GAMEOBJECT_H #include <iostream> #include <stdio.h> #include <stdlib.h> using namespace std; class GameObject{ int x,y; public: GameObject(){ } GameObject(int x, int y) : x(x), y(y) {} int getX() const { return x; } vo...
[ "khalilbellil.ca@gmail.com" ]
khalilbellil.ca@gmail.com
c1bf292f98b6ad344d07210fd0f19e5bfe226935
6662313b2c6c0b9d1cbea744270d550c5ea935c1
/graphics/strassen.cpp
c1f7c3d287c013aef947e5cf01aaaf7d5744e1b0
[]
no_license
Sambhav-27/GraphicsandSQL
2c3a75f34e3c19d855dcae8c53a863305f3b0899
dbe5a108fd772ad800183a7b5ee9e85ec1df8886
refs/heads/master
2020-03-28T23:52:42.583165
2017-06-17T15:38:24
2017-06-17T15:38:24
94,632,511
0
0
null
null
null
null
WINDOWS-1252
C++
false
false
3,546
cpp
#include<iostream> #include<stdlib.h> using namespace std; //If the matrices A, B are not of type 2n × 2n we fill the missing rows and columns with zeros. int **declare(int r, int c) { int i; int **ans=(int **)calloc(r, sizeof(int *)); for(i=0;i<r;++i) ans[i]=(int *)calloc(c, sizeof(int)); retu...
[ "iamsambhavyadav@gmail.com" ]
iamsambhavyadav@gmail.com
53ba4b8319d368ce4940d0d483a1635add65d31c
8cf763c4c29db100d15f2560953c6e6cbe7a5fd4
/src/qt/qtbase/src/platformsupport/eglconvenience/qeglcompositor_p.h
1401fbdd559ce57f9898707a901d46466977ecec
[ "BSD-3-Clause", "LGPL-2.0-or-later", "LGPL-2.1-only", "GFDL-1.3-only", "Qt-LGPL-exception-1.1", "LicenseRef-scancode-digia-qt-commercial", "LGPL-3.0-only", "GPL-3.0-only", "LicenseRef-scancode-digia-qt-preview", "LGPL-2.1-or-later", "GPL-1.0-or-later", "LicenseRef-scancode-unknown-license-refe...
permissive
chihlee/phantomjs
69d6bbbf1c9199a78e82ae44af072aca19c139c3
644e0b3a6c9c16bcc6f7ce2c24274bf7d764f53c
refs/heads/master
2021-01-19T13:49:41.265514
2018-06-15T22:48:11
2018-06-15T22:48:11
82,420,380
0
0
BSD-3-Clause
2018-06-15T22:48:12
2017-02-18T22:34:48
C++
UTF-8
C++
false
false
2,530
h
/**************************************************************************** ** ** Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies). ** Contact: http://www.qt-project.org/legal ** ** This file is part of the plugins of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:LGPL21$ ** Commercial License Usage ** Licensees hol...
[ "ariya.hidayat@gmail.com" ]
ariya.hidayat@gmail.com
dd53ee7b40b2ee0c8f101b929f5d5bb9b6a86b76
533a5537eeace20f2309f315d96550f787576930
/hotspot/src/share/vm/runtime/atomic.cpp
06ddef3cf1886b58ead03af154d345dc5b7e3f2d
[]
no_license
huangxiuqi/jdk-source-code-reading
79c4607b71b876e198aea8d09bf1b5b2dbefe59e
b1ac7082eb80b3afbef88ed6e4e20085acea57a4
refs/heads/master
2023-04-20T16:32:41.645134
2021-05-11T23:30:12
2021-05-11T23:30:12
348,747,762
0
0
null
null
null
null
UTF-8
C++
false
false
4,496
cpp
/* * Copyright (c) 2001, 2013, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free ...
[ "huangxiuqi@outlook.com" ]
huangxiuqi@outlook.com
df256d481a51317d47fd3a6542c4e856eec6f4c5
b7444912fb9ecd331929d3587b4c96e8ecc76c4a
/Plugins/VRExpansionPlugin/VRExpansionPlugin/Intermediate/Build/Android/UE4/Inc/VRExpansionPlugin/VRSimpleCharacterMovementComponent.generated.h
04d572d5752c2999c218e83ec535a5359ca941a4
[ "MIT" ]
permissive
Kilowattrl/LTX
d3150b3183d88ce2dc62529eb3f1a4ad09bb4519
b3c463588bb9d1123a624fc87c4c3f41d5413363
refs/heads/master
2023-07-10T21:51:14.328779
2021-08-12T00:14:44
2021-08-12T00:14:44
null
0
0
null
null
null
null
UTF-8
C++
false
false
6,578
h
// Copyright 1998-2019 Epic Games, Inc. All Rights Reserved. /*=========================================================================== Generated code exported from UnrealHeaderTool. DO NOT modify this manually! Edit the corresponding .h files instead! ==============================================================...
[ "Justin@tonofham.com" ]
Justin@tonofham.com
fff7d7cd65babbd15d4b575ad2a66c4778c6f819
53911bb0d6bd47856ebe63d525315dbf65ed949d
/Pseudo-Drifter/Road.cpp
2ffa5c15615b42903157da292e7e459106000bd5
[ "Unlicense" ]
permissive
WerenskjoldH/Pseudo-Drifter
27874a109d6a90f54538544ad3056d1034cdbf64
e9b09baa540372276608270dbfa14d5dd7e72639
refs/heads/master
2021-07-22T10:03:00.850293
2020-09-04T06:08:16
2020-09-04T06:08:16
212,927,783
2
0
null
null
null
null
UTF-8
C++
false
false
5,505
cpp
#include "Road.h" #include "Definitions.h" #include "Ronin-Math-Library/vector.h" #include "Camera.h" Road::Road() { Initialize(); } Road::~Road() {} void Road::Initialize() { // Initialize the starting road segments from closest to farthest for (int i = 0; i <= SEGMENTS; i++) { Uint8 color = 200; bool ty...
[ "Rilliden@gmail.com" ]
Rilliden@gmail.com
e94aef6062e4b7fd41fbe0928f2e7291b44c5959
614582f420c4e5727133991e60dc1bbbeeda080f
/mf/register/register-generated-4.h
44d800ae4283952c862cdf6d216458f8acfab027
[ "BSL-1.0", "Apache-2.0" ]
permissive
Hui-Li/DSGDPP
dd667c5d17fd09cf1b3173ad0acb1241b9bc6d43
0ce5b115bfbed81cee1c39fbfa4a8f67a5e1b72e
refs/heads/master
2021-03-19T16:19:54.541256
2017-07-27T12:19:57
2017-07-27T12:19:57
93,245,684
0
0
null
null
null
null
UTF-8
C++
false
false
657
h
#ifndef REGISTER_GENERATED_4_H #define REGISTER_GENERATED_4_H #include <iostream> #include <mpi2/mpi2.h> #include <mf/sgd/functions/update-nzsl-nzl2.h> #include <mf/sgd/functions/update-abs.h> #include <mf/sgd/functions/update-truncate.h> namespace mf { typedef UpdateTruncate<UpdateNzslNzl2> UpdateNzslNzl2Trunc...
[ "chteflio@mpi-inf.mpg.de" ]
chteflio@mpi-inf.mpg.de
f90d637e87f5338c564dfb1a20709c99e9e6598a
659efed386f8794230e800cd8b9c16bfe7da4ac8
/Code/Servo_Final/Servo_Final.ino
0572a363f2867bd255736a473cd8c65f4e04f62e
[]
no_license
dsareval/Robotic-Arm-Project
bbd113d1c2f6129c3c2cc0908bf06aec7325c1da
bdbe96513a0444b9f1100a0b85ef417331b5f492
refs/heads/master
2020-03-07T07:31:08.009523
2018-03-30T21:28:48
2018-03-30T21:28:48
127,351,673
0
0
null
null
null
null
UTF-8
C++
false
false
9,232
ino
#include <Servo.h>//Librería para control de servomotores #include <DHT.h>//Librería para control de módulo DHT Servo srvH;//Servomotores ubicados en el hombro Servo srvC;//Servomotor ubicado en el codo Servo srvM1;//Servomotor para el movimiento vertical de la muñeca Servo srvM2;//Servomotor para el movimiento horizo...
[ "dsareval@edu.uwaterloo.ca" ]
dsareval@edu.uwaterloo.ca
5a7057bfa9903f94ae7292c762fa583852d79a84
574933565e69f1fadd4982aee98bfe48eaa94191
/C_С++/OOP/labs/pract2/Graphics.h
d593eebc3f470a11b8a77b2c69ce8deee19328e7
[]
no_license
andryuha24/CourseBachelorKRSU
96f831666f9ba57a5ae9fd2a74210aea2258c87d
542b9ddfd9db8dbf039a03390796e61347c74f22
refs/heads/master
2021-01-12T13:32:31.424327
2018-02-03T17:30:40
2018-02-03T17:30:40
69,844,356
1
0
null
null
null
null
WINDOWS-1251
C++
false
false
151,290
h
//============================================================================= //! \mainpage //! //! \brief Простейшая графическая библиотека Win32 (TXLib) //! \brief c функциями эмулирующими Borland BGI //! //! \version [Version 0.01 alpha, build 01] //! \author Copyright (C) Ded (TX), VV (BGI) //! \...
[ "Al-Catraz2023@mail.ru" ]
Al-Catraz2023@mail.ru
1119cf30108826a8fb04cb11fac3f1cebbb590e3
770b7ad3c4e294e9c60d7c0e4f5d90f62daf3de0
/ComponentKinectBoxDetection/smartsoft/src/basic/PointManipulation.hh
fd7a1a90f2562bd71924fd03198ff77f0b2f18f1
[]
no_license
Servicerobotics-Ulm/ComponentRepository
b1b73ea8871366f05846aedc4ca4df4024b8fe39
0c958e9dd9263b525b404bb9581f33c15cfbb3d8
refs/heads/master
2022-12-15T07:54:19.437434
2022-12-06T14:30:05
2022-12-06T14:30:05
122,948,164
2
11
null
2021-02-10T12:03:13
2018-02-26T09:46:20
C++
UTF-8
C++
false
false
3,630
hh
// -------------------------------------------------------------------------- // // Copyright (C) 2017 Matthias Rollenhagen // // rollenhagen@hs-ulm.de // schlegel@hs-ulm.de // // ZAFH Servicerobotic Ulm // Christian Schlegel // University of Applied Sciences // Prittwitzstr. 10 // 89075...
[ "matthias@mlutz.de" ]
matthias@mlutz.de
9882a44fdb1651a506a63dc3b441bc6a8dada7de
e41a2408975cd5c24d6b7a2cb70b18cd9fa82fd1
/propriete.hpp
ceaca635082c61526e7d545860b2c1457a51d0c5
[]
no_license
cmonroy/Monopoly
fdc625b999b92775a8aca3171ad14dfbe34a0862
c5842ffc0ba7a16c6767087a5c741cda87f454c4
refs/heads/master
2020-09-21T20:41:18.017602
2016-10-29T12:51:19
2016-10-29T12:51:19
67,828,951
0
0
null
null
null
null
ISO-8859-1
C++
false
false
1,099
hpp
#ifndef ProprieteHeader #define ProprieteHeader #include "case.hpp" #include <iostream> //normalement à éviter (dans ce cas, il faudrait éviter l'inline) #include <string> #include "joueur.hpp" //normalement à éviter (dans ce cas, il faudrait éviter l'inline) class Propriete : public Case { int prix; ...
[ "charles.monroy@gmail.com" ]
charles.monroy@gmail.com
9029f4d990eb7e37c0328c6c2072f0dc6edde19e
3e5ae9b260b16fcc86bb0669c1bd4e56912b5433
/VCB600ENU1/MSDN_VCB/SAMPLES/VC98/MFC/UTILITY/TEMPLDEF/AFXCOLL1.INL
5384ef3a91376adf8582c44fa543d178b81686e9
[]
no_license
briancpark/deitel-cpp
e8612c7011c9d9d748290419ae2708d2f3f11543
90cdae5661718e65ab945bcf45fe6adff30c1e10
refs/heads/main
2023-06-14T14:07:05.497253
2021-07-05T01:46:04
2021-07-05T01:46:04
382,984,213
0
0
null
null
null
null
UTF-8
C++
false
false
476
inl
// This is a part of the Microsoft Foundation Classes C++ library. // Copyright (C) 1992-1998 Microsoft Corporation // All rights reserved. // // This source code is only intended as a supplement to the // Microsoft Foundation Classes Reference and related // electronic documentation provided with the library. /...
[ "briancpark@berkeley.edu" ]
briancpark@berkeley.edu
a264a60987f3b413bc590210746767196a35023a
a1fbf16243026331187b6df903ed4f69e5e8c110
/cs/sdk/3d_sdk/maya/ver-8.5/devkit/mentalray/shaders/public-baseshaders/baseblinn.cpp
83fe788abc14bc1f5fb896a9c404fb3fbe9e856c
[ "LicenseRef-scancode-warranty-disclaimer", "BSD-2-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
OpenXRay/xray-15
ca0031cf1893616e0c9795c670d5d9f57ca9beff
1390dfb08ed20997d7e8c95147ea8e8cb71f5e86
refs/heads/xd_dev
2023-07-17T23:42:14.693841
2021-09-01T23:25:34
2021-09-01T23:25:34
23,224,089
64
23
NOASSERTION
2019-04-03T17:50:18
2014-08-22T12:09:41
C++
UTF-8
C++
false
false
5,216
cpp
/****************************************************************************** * Copyright 1986-2006 by mental images GmbH, Fasanenstr. 81, D-10623 Berlin, * Germany. All rights reserved. ****************************************************************************** * Created: 31.10.97 * Module: baseshader * Pur...
[ "paul-kv@yandex.ru" ]
paul-kv@yandex.ru
9433dccb4e3875342a9b5c13d0858c9e16e4a5f4
9fbf00188b94e55c634607bc7f13f7810f7fa5b4
/wz/src/WorldEditor.Framework/BaseType/MPoint2Converter.h
9d79091677598176d800194a70b784786b5a41ca
[]
no_license
arundev/dev-code
818494197466ccaa15e92fa628d9dc3abe15758b
d280cc7685016f30b22bf5636fe57a1c69329693
refs/heads/master
2021-01-10T13:55:15.216376
2015-11-18T10:13:46
2015-11-18T10:13:46
46,267,728
0
2
null
null
null
null
GB18030
C++
false
false
3,181
h
//************************************************************************************************* // 内容: (参考自WZEditor.Framework) //--------------------------------------------------------- // 作者: // 创建: 2014-05-27 // 最后修改: 2014-05-28 //*******************************************************************************...
[ "fuchu.ruan@mokun.net" ]
fuchu.ruan@mokun.net
595e3ba759f5e270bbb53b2213cab61bd1725201
58f6f4faf950381c62685da46cb1fecbf728dec2
/X11/10.cpp
d0f5abc47d6e94653f3ace2c4f50f8264e988c27
[ "WTFPL" ]
permissive
vzaguskin/tcpppl_4_exercises
1f4d58ebd330323d93917b251965cb6233642cba
510a517cac637688e2428bb431f79fb0391dbd85
refs/heads/master
2021-01-17T16:45:43.990979
2016-11-24T08:10:10
2016-11-24T08:10:10
71,874,410
1
0
null
null
null
null
UTF-8
C++
false
false
495
cpp
/*(∗2) Write a function rev() that takes a C-style string argument and reverses the characters in it. That is, after rev(p) the last character of p will be the first, etc.*/ #include <cstring> #include <iostream> //in-place reverse char* rev(char* src) { auto len = strlen(src); for(int i=0; i< len/2; i++) std:...
[ "vzagusk@mera.ru" ]
vzagusk@mera.ru
44808e309a0f355bf25e88257d4c11550b8638d3
8567438779e6af0754620a25d379c348e4cd5a5d
/third_party/WebKit/Source/bindings/core/v8/V8PrivateProperty.h
baf58f685d7fbb04c688ae1daf78d44af48568fb
[ "LGPL-2.0-or-later", "GPL-1.0-or-later", "MIT", "Apache-2.0", "LicenseRef-scancode-warranty-disclaimer", "LGPL-2.1-only", "GPL-2.0-only", "LGPL-2.0-only", "BSD-2-Clause", "LicenseRef-scancode-other-copyleft", "BSD-3-Clause" ]
permissive
thngkaiyuan/chromium
c389ac4b50ccba28ee077cbf6115c41b547955ae
dab56a4a71f87f64ecc0044e97b4a8f247787a68
refs/heads/master
2022-11-10T02:50:29.326119
2017-04-08T12:28:57
2017-04-08T12:28:57
84,073,924
0
1
BSD-3-Clause
2022-10-25T19:47:15
2017-03-06T13:04:15
null
UTF-8
C++
false
false
7,992
h
// Copyright 2016 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef V8PrivateProperty_h #define V8PrivateProperty_h #include <memory> #include "bindings/core/v8/ScopedPersistent.h" #include "bindings/core/v8/Scri...
[ "hedonist.ky@gmail.com" ]
hedonist.ky@gmail.com
ce11a92cc630dca13160be0fbff31100d3ece38a
47ec47a5bb53e6a12bac91e97741e48ae460881d
/Computer Grapihcs Year - II/FInal Game/Source/Train.cpp
e5773e5cbde1c63b1a1e44507eb17a1ae7feaa7e
[]
no_license
zVoxty/University
ad97f3bc1ba7e850cad3725098b610e037eceb99
8d9822631a3c8c13506d528ab6a3cbf660a511d3
refs/heads/master
2020-12-29T02:42:53.186222
2018-05-17T05:52:44
2018-05-17T05:52:44
53,352,966
0
1
null
2016-05-31T09:19:08
2016-03-07T19:33:00
HTML
UTF-8
C++
false
false
567
cpp
#include"Train.h" Train::Train(const BackBuffer *pBackBuffer) { m_pSprite = new Sprite("data/train.bmp", RGB(0xff, 0x00, 0xff)); m_pSprite->setBackBuffer(pBackBuffer); m_fTimer = 0; m_pBackBuffer = pBackBuffer; } Train::~Train() { delete m_pSprite; } void Train::Draw() { MovingObject::Draw(); } void Train::Upda...
[ "zvoxty@gmail.com" ]
zvoxty@gmail.com
65476392711247b5c493bea4ac3cad18b7852271
94dac9661d7e616af71fba7caea0bf975438c23f
/COPS_1613138703.cpp
3f61be094d81b4afb7a9710673ddc2695072f629
[]
no_license
goodbye-toby/competitive-programming
1d98e59aea16fd3ac236c7102d35085c80c019e5
d5892d80d77cd56eb0f3a9e021cd2d91a2e83dbd
refs/heads/main
2023-03-04T11:24:38.083431
2021-02-18T13:58:50
2021-02-18T13:58:50
338,041,158
0
0
null
null
null
null
UTF-8
C++
false
false
566
cpp
#include<iostream> using namespace std; int main(){ int t; cin >> t; while(t-- > 0){ int m , x, y; cin >> m >> x >> y; bool safe[100]; for(int i = 0 ; i < 100 ; i++){ safe[i] = true; } while(m-- > 0){ int pos; cin >> pos; int left = pos - (x * y); left = left < 1 ? 1 : left; int right =...
[ "goodbyetoby552@gmail.com" ]
goodbyetoby552@gmail.com
27782e6c08061e32c647d275937fc77edab3e53d
8beb9ad33300e25075fe7c4603f6288fcf78d8dd
/uri/uri2890.cpp
fce61f7ab2dceb38906f530507a4d0028f5d7186
[]
no_license
welersonMelo/Competitive-Programming---Maratona-ICPC-
37231957ea17f98c872c861e561e640348e99f64
89947cb9800ac6d151a41cd6da8908c136cb62f0
refs/heads/master
2021-01-11T19:01:52.321499
2020-02-27T13:30:37
2020-02-27T13:30:37
79,297,048
0
0
null
null
null
null
UTF-8
C++
false
false
280
cpp
#include<bits/stdc++.h> using namespace std; int mat[505][505]; int main(){ int n,m,t; scanf("%d", &t); while(t--){ scanf("%d%d", &n, &m ); long long int x = pow(26,n), y = pow(10,m); if(n==m && n == 0) cout<<"0\n"; else cout<<x*y<<endl; } return 0; }
[ "welerson.a.melo@gmail.com" ]
welerson.a.melo@gmail.com
2f04315fa08b8f747ffed122fc88b2b096ffa54b
7589616373c4996feda1bfdefb9ecb1e381ce4d3
/src/condor_contrib/aviary/codegen/collector/src/AviaryCollector_GetMasterResponse.cpp
fc268dafa069cdf8cbf3675d00e2ad7fcfeaef83
[ "Apache-2.0", "GPL-2.0-only", "DOC", "LicenseRef-scancode-unknown-license-reference", "OpenSSL" ]
permissive
djw8605/htcondor
182c0be0e0cdc548fda85f6c3247be662a96f434
8ddd327b192d1a886881100d145e9871e4d6ef7b
refs/heads/cached
2021-07-15T16:12:29.984106
2015-06-09T20:27:32
2015-06-09T20:27:32
15,949,885
1
2
Apache-2.0
2021-04-06T16:39:34
2014-01-15T22:00:59
C++
UTF-8
C++
false
false
28,126
cpp
/** * GetMasterResponse.cpp * * This file was auto-generated from WSDL * by the Apache Axis2/C version: SNAPSHOT Built on : Mar 10, 2008 (08:35:52 GMT+00:00) */ #include "AviaryCollector_GetMasterResponse.h" #ifdef __GNUC__ ...
[ "pmackinn@redhat.com" ]
pmackinn@redhat.com
51f087783d24fe47df075f0ab607b6219a2ff906
0eff74b05b60098333ad66cf801bdd93becc9ea4
/second/download/curl/gumtree/curl_repos_function_888_curl-7.18.1.cpp
d18f1040e0445e7ea636a0e8a225a52165107ee7
[]
no_license
niuxu18/logTracker-old
97543445ea7e414ed40bdc681239365d33418975
f2b060f13a0295387fe02187543db124916eb446
refs/heads/master
2021-09-13T21:39:37.686481
2017-12-11T03:36:34
2017-12-11T03:36:34
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,789
cpp
static CURLcode ftp_state_user_resp(struct connectdata *conn, int ftpcode, ftpstate instate) { CURLcode result = CURLE_OK; struct SessionHandle *data = conn->data; struct FTP *ftp = data->state.proto.ftp; struct ftp_conn *ftpc = &conn->prot...
[ "993273596@qq.com" ]
993273596@qq.com
9fab5e00b18a8916fe8b4b7412cb9a98a4bb2be2
f72bd2f8b393154a78782b15462ca0e308b1b706
/share/gc/g1/g1FullGCMarker.inline.hpp
651bfed0b870c0cb88e38a63e37790498cfbc0f4
[]
no_license
lzlzlz911/openjdk15-hotspot-old-
9a2c107bf411a7499b400e41edf78969c70a2e6e
7c4951124507062f3acd39800e996a0983d0264b
refs/heads/master
2023-07-14T01:40:14.187693
2021-08-30T03:18:19
2021-08-30T03:18:19
399,754,029
0
2
null
null
null
null
UTF-8
C++
false
false
5,847
hpp
/* * Copyright (c) 2017, 2018, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free ...
[ "lizhen5@greatwall.com.cn" ]
lizhen5@greatwall.com.cn
8407eb184019117c7bcef386543a3a0dbcf9836a
9519d5bdc02326027eb0664511796470590df20d
/ZCode/117_CPPSTR08.cpp
05c22cad1559b0949601946ec86426b800dd5310
[]
no_license
Tonoss-412/Code-Cpp
4c2676016f6553197375f7daed51a45ec8265fbb
3d39b228f8a2c87e0b639ad99262e966adab31b0
refs/heads/master
2023-06-23T04:17:07.725388
2021-07-21T12:40:10
2021-07-21T12:40:10
null
0
0
null
null
null
null
UTF-8
C++
false
false
783
cpp
#include <bits/stdc++.h> #define faster() ios::sync_with_stdio(0); cin.tie(0); cout.tie(0); #define base 1000000007 #define N 100005 using namespace std; typedef long long ll; typedef unsigned long long ull; typedef unsigned int uint; typedef vector <int> vi; typedef vector <string> vs; int a[N], b[N]; int sum(string...
[ "kieuoanh16012001@gmail.com" ]
kieuoanh16012001@gmail.com
57c87ae2081b1bf9a5c2cfad4529783ec1f91eb1
363288a3083f82dc6f5967769d4573b0933db6c6
/src/main.cc
7aa99eb8322a32b3ac9f708f813f893559b313fa
[]
no_license
Xyj2020/FPGA-
4e0b51c91582f7c761a2153d6b88a1025ff60cd1
60bec890928310996882407411acaaa4ace9f1ed
refs/heads/master
2023-01-14T22:03:07.681736
2020-11-13T12:09:58
2020-11-13T12:09:58
312,535,143
0
0
null
null
null
null
GB18030
C++
false
false
36,587
cc
/* -- (c) Copyright 2019 Xilinx, Inc. All rights reserved. -- -- This file contains confidential and proprietary information -- of Xilinx, Inc. and is protected under U.S. and -- international copyright and other intellectual property -- laws. -- -- DISCLAIMER -- This disclaimer is not a license and does not grant any ...
[ "2652884756@qq.com" ]
2652884756@qq.com
f0e2ab10bba3c212cd74e2f5e02fd20f9e6f2e2b
7f25ac596812ed201f289248de52d8d616d81b93
/hetanglianyi/cccc.cpp
a46bf19b0282238e9bb6e19d3a0bda623317f85e
[]
no_license
AplusB/ACEveryDay
dc6ff890f9926d328b95ff536abf6510cef57eb7
e958245213dcdba8c7134259a831bde8b3d511bb
refs/heads/master
2021-01-23T22:15:34.946922
2018-04-07T01:45:20
2018-04-07T01:45:20
58,846,919
25
49
null
2016-07-14T10:38:25
2016-05-15T06:08:55
C++
UTF-8
C++
false
false
652
cpp
#include <iostream> #include <cstring> #include <cstdlib> #include <cstdio> using namespace std; int f[1010][1010]; int n; char s[1010]; int main() { gets(s); n = strlen(s); int maxn = 1; for (int i = 0; i < n; i++) f[i][i] = 1; for (int i = 0; i < n-1; i++) if (s[i] == s[i+1]) {f[...
[ "hetanglianyi@126.com" ]
hetanglianyi@126.com
668d6884d446fc763ea7d7dac79749b2681a8b4e
473dd52d5c77cde4edaab8896177f9d0b10616f0
/Source/Tech4Demo/Tech4DemoGameMode.cpp
ed551011362417ef2884b0d24355bf33401c078c
[ "MIT" ]
permissive
the2h-kbs/T4FrameworkPublic
f35830bd01e35b32f5c676882dc5b951a44e628c
2ac4cb6917d50e61ace9b819e3d3d0337623f462
refs/heads/master
2020-08-18T05:12:28.912411
2019-10-17T02:23:45
2019-10-17T02:23:45
215,748,068
3
0
MIT
2019-10-17T08:59:55
2019-10-17T08:59:54
null
UTF-8
C++
false
false
667
cpp
// Copyright 2019 SoonBo Noh. All Rights Reserved. #include "Tech4DemoGameMode.h" #include "T4Framework/Public/T4Framework.h" #include "T4Framework/Classes/Controller/Player/T4PlayerController.h" // #42 #include "T4Framework/Classes/Controller/Player/T4PlayerDefaultPawn.h" // #42 #include "Kismet/GameplayStatics.h"...
[ "niceofer@hotmail.com" ]
niceofer@hotmail.com
1e9fe4c12cc373b52f12e25985cf9dd5a3f8335a
88ae8695987ada722184307301e221e1ba3cc2fa
/chrome/browser/ash/input_method/longpress_diacritics_suggester.cc
ae868e87461a335dd5a918536a29a271c16ddb2a
[ "BSD-3-Clause" ]
permissive
iridium-browser/iridium-browser
71d9c5ff76e014e6900b825f67389ab0ccd01329
5ee297f53dc7f8e70183031cff62f37b0f19d25f
refs/heads/master
2023-08-03T16:44:16.844552
2023-07-20T15:17:00
2023-07-23T16:09:30
220,016,632
341
40
BSD-3-Clause
2021-08-13T13:54:45
2019-11-06T14:32:31
null
UTF-8
C++
false
false
14,596
cc
// Copyright 2022 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/ash/input_method/longpress_diacritics_suggester.h" #include <string> #include "ash/constants/ash_features.h" #include "ash/constants/notifier_catalog...
[ "jengelh@inai.de" ]
jengelh@inai.de
57314048779de73d3079dcdbcd9ebe929f2805ce
5fc964feb7ee4256a0fd96b138363a6323be50c7
/Teaching-SnakeProject/src/orderedPair.cpp
766add5220a6e1e46ad4f8da3c19763ce0ffe5ac
[]
no_license
dhasl002/teaching_assistant_development
5981da126c1f922d487ede8b3130d50cb99df08c
54a683b3292765c7bb99f7b57a32bdaa7a68c869
refs/heads/master
2020-07-29T19:12:00.037305
2019-09-21T05:15:37
2019-09-21T05:15:37
209,927,512
0
0
null
null
null
null
UTF-8
C++
false
false
1,082
cpp
#include "orderedPair.h" #include <math.h> //default constructor for ordered pair orderedPair::orderedPair() { x = 0; y = 0; } //given an x and y coordinate, this constructor creates that ordered pair orderedPair::orderedPair(int newX, int newY) { x = newX; y = newY; } //given an ordered pair, a new ...
[ "dhasl002@odu.edu" ]
dhasl002@odu.edu
bd5c8f139a7c336353550325803027217dd69f64
a890dd62e2cbae0bc4b782bb6ae463820b0d655b
/pigsty.cpp
d30bf935c0f172ad546a228972b29d66c8c04244
[]
no_license
gkzscs/pigsty-5-
84283b6df4de1898ff8d12d7bfb96567c52b7114
9a587c47efadb8b77f8b24790ea93eaf0d9dd8d9
refs/heads/master
2022-12-25T13:00:53.985598
2020-09-27T10:04:44
2020-09-27T10:04:44
299,002,912
0
0
null
2020-09-27T10:02:50
2020-09-27T10:02:49
null
UTF-8
C++
false
false
6,399
cpp
using namespace std; #include<bits/stdc++.h> #define random(a,b) (rand()%(b-a+1))+a struct pig { int species; //黑猪为1 小花猪为2 大白花猪为3 int id; //编号 int gday; //成长天数(一个月按30天计) //int isInfected; //被感染为1 没被感染为2 double weight; //体重 pig *next; }; class pigsty { private: pig *head=NULL; int isb...
[ "cs@CS-PC.localdomain" ]
cs@CS-PC.localdomain
b42cf8fa86ca8a2e65b349ae1b41c6f4d1a5b800
1aa185a6653722109b8b3e4be5e07bea4f1aa863
/base/src/{project_name}.cc
669d854313f17e0e76081f7bc96ccc73eeefcfdf
[]
no_license
GAVLab/templates
e6f61fdd5859d01366945936940eec492ad670c1
0f4535ea36ff4be433e98c54a3f6154988cc3d6b
refs/heads/master
2020-06-08T20:34:40.507120
2012-07-27T18:19:22
2012-07-27T18:19:22
5,105,162
1
0
null
null
null
null
UTF-8
C++
false
false
190
cc
#include "{project_name}/{project_name}.h" using namespace {project_name}; {project_name_camel}::{project_name_camel} () {{ }} {project_name_camel}::~{project_name_camel} () {{ }}
[ "wjwwood@gmail.com" ]
wjwwood@gmail.com
0b5e90fc64d33c842f044a6e01151d663e4e49bc
5f07b241e13d30ba9fe0f8e090e52ed8c9c9d212
/GrowBotESP/WifiController.cpp
5db8a9a96ad83076c6e589f1691718f56cb927a3
[]
no_license
ogass81/GrowBotESP
8e6bae75f2076c59c667ef3b8809101b9616fcfc
d050ef13374dbc769e816b016c1127c11241cec5
refs/heads/master
2021-07-08T09:06:36.769505
2019-04-03T22:22:55
2019-04-03T22:22:55
146,175,596
0
0
null
null
null
null
UTF-8
C++
false
false
4,900
cpp
// // // #include "WifiController.h" WifiHandler::WifiHandler() { } void WifiHandler::begin() { WiFi.disconnect(true); WiFi.onEvent(std::bind(&WifiHandler::WiFiEvent, this, std::placeholders::_1)); WiFi.mode(WIFI_MODE_APSTA); WiFi.softAP(settings.ap_ssid.c_str(), settings.ap_pw.c_str()); WiFi.begin(settings....
[ "Papirossa2017!" ]
Papirossa2017!
ef99f698777de75c65c2eab85cd5ad021957491a
38c10c01007624cd2056884f25e0d6ab85442194
/chrome/browser/profiles/gaia_info_update_service_factory.h
01dcadbd11de88c11fe8d30cd354734a51d81e64
[ "BSD-3-Clause" ]
permissive
zenoalbisser/chromium
6ecf37b6c030c84f1b26282bc4ef95769c62a9b2
e71f21b9b4b9b839f5093301974a45545dad2691
refs/heads/master
2022-12-25T14:23:18.568575
2016-07-14T21:49:52
2016-07-23T08:02:51
63,980,627
0
2
BSD-3-Clause
2022-12-12T12:43:41
2016-07-22T20:14:04
null
UTF-8
C++
false
false
1,808
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 CHROME_BROWSER_PROFILES_GAIA_INFO_UPDATE_SERVICE_FACTORY_H_ #define CHROME_BROWSER_PROFILES_GAIA_INFO_UPDATE_SERVICE_FACTORY_H_ #include "bas...
[ "zeno.albisser@hemispherian.com" ]
zeno.albisser@hemispherian.com
bf0e67769bf7e7b1250a13c4a3e5ebd0804dad2a
9a28af596b29bbdae5513388cf1304f342f56772
/src/core/csr/measures/measures_fwd.hpp
c9beee1b99b39a17fc44a2fda8031f532ad62ebe
[ "MIT" ]
permissive
gmagoon/octopus
20144b7641f2b3242c69595bb211483d74765a24
4dc0ad89043514d87e10b3700889b9ae8f620444
refs/heads/master
2020-04-14T14:27:08.316570
2019-01-02T12:51:24
2019-01-02T12:51:24
163,897,322
0
0
MIT
2019-01-02T22:45:54
2019-01-02T22:45:54
null
UTF-8
C++
false
false
2,403
hpp
// Copyright (c) 2015-2018 Daniel Cooke // Use of this source code is governed by the MIT license that can be found in the LICENSE file. #ifndef measures_fwd_hpp #define measures_fwd_hpp #include "core/csr/measures/measure.hpp" #include "core/csr/measures/allele_depth.hpp" #include "core/csr/measures/allele_frequency...
[ "dcooke@well.ox.ac.uk" ]
dcooke@well.ox.ac.uk
6d5acb666c97178bee1744ce275f3f7a632922bf
9e34e84c20760a9a37512c675074974ac7e56275
/more-source/2010-2011/acmp/ACMP_5_team/b_fail.cpp
f1183f0b3054260865b89ad0e27aee1f2a4c753c
[]
no_license
Slava/competitiveProgramming
2b7f26bf24143b459c6e2625ef1ea343a926bb76
b68391720b9f9efc4162a66ca07d9448cffc1453
refs/heads/master
2021-01-21T12:40:40.053352
2020-01-06T19:21:45
2020-01-06T19:21:45
9,552,080
8
6
null
null
null
null
UTF-8
C++
false
false
1,005
cpp
// Kim Vyacheslav KarKTL #include <cstdio> #include <iostream> using namespace std; void d2(int k) { int i; for (i = 1; i <= n; i++) { if (a[k][i] > 0) { if (o[i] < 2) { c[i] = 1; o[i] = 2; d2(i); } } } } void d(int k, ...
[ "slava@meteor.com" ]
slava@meteor.com
a8295ac2f35a6a68b897109c3bd0f8153d5ff926
b19f30140cef064cbf4b18e749c9d8ebdd8bf27f
/D3DGame_180000_003_2_MovingUpperHeightMap/Program.cpp
5f3e850b63d6d8aea57dd1858dc70d8f57e55bde
[]
no_license
evehour/SGADHLee
675580e199991916cf3134e7c61749b0a0bfa070
0ebbedf5d0692b782e2e5f9a372911c65f98ddc4
refs/heads/master
2020-03-25T13:22:42.597811
2019-01-03T07:05:54
2019-01-03T07:05:54
143,822,128
0
0
null
null
null
null
UTF-8
C++
false
false
1,657
cpp
#include "stdafx.h" #include "Program.h" #include "./Viewer/Freedom.h" #include "./Executes/ExeHW1.h" Program::Program() { States::Create(); D3DDesc desc; D3D::GetDesc(&desc); values = new ExecuteValues(); values->ViewProjection = new ViewProjectionBuffer(); values->Perspective = new Perspective(desc.Width, de...
[ "evehour@naver.com" ]
evehour@naver.com
84cac83b6880ef5e4cc10df877310e698acfd4f5
746a23d19813fc92de746e21544598b3e822583d
/fizzbuzz.cpp
dce638c945cf21dcde2694c9262a0ab62f4999e7
[]
no_license
bnickle0000/fizzBuzz
6ee4c04ba8bfec695ff6db48571905c5bf0548ef
482248cfaa4bf53c902a0d0418e5faebc2c8f908
refs/heads/master
2023-04-14T12:54:49.409981
2021-04-27T04:38:40
2021-04-27T04:38:40
null
0
0
null
null
null
null
UTF-8
C++
false
false
385
cpp
/* Brad Feb 10 2020 Fizz buzz Thanks for reading */ #include <iostream> using namespace std; int main() { cout << "This is a fizz buzz program." << endl; int i = 0; for (i = 0;i < 100;i++) { if (i % 3 == 0) { cout << "fizz" << " "; } if (i % 5 == 0) { cout << "buzz" << " "; } if (i % 3 != 0 && ...
[ "30997096+aloafofbrad@users.noreply.github.com" ]
30997096+aloafofbrad@users.noreply.github.com
5906c4d3d6747c6a5671c306e093514e871197a5
0cda2dcf353c9dbb42e7b820861929948b9942ea
/fileedit/2009/Planks.cpp
86969b9e674afe9607aebf9007a90e90cda37360
[]
no_license
naoyat/topcoder
618853a31fa339ac6aa8e7099ceedcdd1eb67c64
ec1a691cd0f56359f3de899b03eada9efa01f31d
refs/heads/master
2020-05-30T23:14:10.356754
2010-01-17T04:03:52
2010-01-17T04:03:52
176,567
1
1
null
null
null
null
UTF-8
C++
false
false
6,795
cpp
// BEGIN CUT HERE /* // PROBLEM STATEMENT // After a recent construction project, you have found that you have some wooden planks of various lengths left over. Knowing that wood is quite valuable, you are going to try to sell them. A local hardware store has offered to buy the planks, but in order to make a retail disp...
[ "naoya_t@users.sourceforge.jp" ]
naoya_t@users.sourceforge.jp
442a1a6cc8a87f3b48924da1097b9e6df16b38b6
4d82a0225c6c565e00557e4261907d4e6a3fa1e7
/Project 4/Heap.h
f5d1d55783e8fadab12e4236e75792af2ecc28c2
[]
no_license
k-diep/CSCE_221
55c5895528cb2258f2f4d92bf0e5f5b6d69f76d0
6b02911e14213700a97fb7405d2b28c2838c9ef3
refs/heads/main
2023-05-03T15:10:37.913982
2021-06-03T21:33:52
2021-06-03T21:33:52
373,634,205
0
0
null
null
null
null
UTF-8
C++
false
false
2,107
h
#ifndef HEAP_H #define HEAP_H #include <exception> #include <cmath> #include <iostream> using namespace std; template <class Type> void _swap ( Type &v1, Type &v2 ) { Type v3 = v1; v1 = v2; v2 = v3; } template <class Type> class Heap { private: Type *heap; int n; int capacity; int leftChild ( int i ) { re...
[ "62728867+k-diep@users.noreply.github.com" ]
62728867+k-diep@users.noreply.github.com
c5c7201f17c9ebb2d00e90819bd63030e983028c
8295b7050ff2f92b7592e686b8c4c5b5f9709dad
/src/logfile_fwd.hh
48c6a508bb08b88868d489fd37cac6d2b56a8329
[ "BSD-2-Clause" ]
permissive
erzhick10/lnav
8ac558d692162acf9bae2523861f04d2348f47ab
5ab5d9a4f4d9116fc537ff9a869348f20548b2a1
refs/heads/master
2023-05-04T07:23:31.527565
2021-05-25T05:38:18
2021-05-25T05:38:18
null
0
0
null
null
null
null
UTF-8
C++
false
false
3,282
hh
/** * Copyright (c) 2020, Timothy Stack * * 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 condi...
[ "timothyshanestack@gmail.com" ]
timothyshanestack@gmail.com
39b03527bfa130a17021100e30b06bd72d16a36e
5456502f97627278cbd6e16d002d50f1de3da7bb
/chromecast/media/base/media_caps.h
07be2fd183341ee4f86ea1c58895f724d61364e0
[ "BSD-3-Clause" ]
permissive
TrellixVulnTeam/Chromium_7C66
72d108a413909eb3bd36c73a6c2f98de1573b6e5
c8649ab2a0f5a747369ed50351209a42f59672ee
refs/heads/master
2023-03-16T12:51:40.231959
2017-12-20T10:38:26
2017-12-20T10:38:26
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,817
h
// Copyright 2014 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CHROMECAST_MEDIA_BASE_MEDIA_CAPS_ #define CHROMECAST_MEDIA_BASE_MEDIA_CAPS_ #include "ui/gfx/geometry/size.h" namespace chromecast { n...
[ "lixiaodonglove7@aliyun.com" ]
lixiaodonglove7@aliyun.com
42d25ab87f1b061f33bfb9db8d0d59e46496981c
8448de53a91d6e2ac638290baf8e8cf6b2115322
/easyMule/src/WorkLayer/TransferCompletedProcessor.cpp
d34f90c696d55520231a16caf3950a2cb77b809b
[]
no_license
tempbottle/archive-code
0986e3e8dc689eedfb79adbbbbc51f6582f02d51
4a0b65fa026d868a018dddd14d5ed20e6c6044c6
refs/heads/master
2020-12-25T15:29:37.601713
2015-08-11T16:26:14
2015-08-11T16:26:14
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,698
cpp
/* * $Id: TransferCompletedProcessor.cpp 4483 2008-01-02 09:19:06Z soarchin $ * * this file is part of easyMule * Copyright (C)2002-2008 VeryCD Dev Team ( strEmail.Format("%s@%s", "emuledev", "verycd.com") / http: * www.easymule.org ) * * This program is free software; you can redistribute it and/or * m...
[ "V.E.O@TOM.COM" ]
V.E.O@TOM.COM
7e90d2830f6055c4cf105c751837ccd251a7fff0
d89ae9996de8aab8bb5dfe4c52499ba4c5e0f3b2
/MapViewer/include/TitaniaMapView.hh
b8056a599f135c9e82d587d997bb5fc2549feb3d
[]
no_license
arcanis/epitech.pfa
0524cd061f7126cea27b16a60ec5f9eb0d2263e5
cb839517a448065d5bf326bee8edb2e1cf5497c7
refs/heads/master
2023-07-09T05:52:03.264012
2012-04-18T17:00:40
2012-04-18T17:00:40
null
0
0
null
null
null
null
UTF-8
C++
false
false
532
hh
#ifndef TITANIAMAPVIEW_HH # define TITANIAMAPVIEW_HH # include <fstream> # include <list> # include <SDL/SDL.h> # include <SDL/SDL_ttf.h> #include <SDL/SDL_image.h> class TitaniaMapView { public: TitaniaMapView(); public: void init(char *); void run(); S...
[ "roidelaprog@hotmail.com" ]
roidelaprog@hotmail.com
2ce36f3722f59099dc2aa075323e9b23251ae011
c03d1c07140c16a850b42291293f814b9cfb1e3f
/app/WebView2APISample/ControlComponent.h
5820ea2a1b9bc6f9ff109872069efa990f5c888f
[ "MIT" ]
permissive
h2floh/WebChatBotInteractingWithApp
494ebdd3881cf3b9d28f76942eb271b765d345ef
def63a3a323c55eed318e1b95855c59a2c8483ca
refs/heads/main
2023-04-01T09:55:07.282169
2021-03-29T05:03:34
2021-03-29T05:03:34
351,348,125
1
0
null
null
null
null
UTF-8
C++
false
false
1,697
h
// Copyright (C) Microsoft Corporation. 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 "stdafx.h" #include <vector> #include "AppWindow.h" #include "ComponentBase.h" // This component handles commands from the butto...
[ "florian.wagner@microsoft.com" ]
florian.wagner@microsoft.com
863fece3c02f045fac80b382e505c52de95ad3fe
ee60b03c5707793fc072f94cc1d8fd10ac4f5c9a
/ass6.cpp
31533a27b169e8df73360b425cc75a0e0aced38d
[]
no_license
sanketsudake/OpenGL-Examples
706f1a4876c6cf1a133cf22b76f0060f9c5c4dd4
8c6747db7a339b9faba0455254e0d01c999ad064
refs/heads/master
2021-05-27T01:00:41.862679
2013-11-01T10:37:52
2013-11-01T10:37:52
null
0
0
null
null
null
null
UTF-8
C++
false
false
4,192
cpp
#include <GL/gl.h> #include <GL/glu.h> #include <GL/glut.h> #include <stdio.h> #include <stdlib.h> #include <SDL/SDL.h> GLfloat xRot,yRot,zRot; void init() { glEnable(GL_TEXTURE_2D); glShadeModel(GL_SMOOTH); glClearColor(0.0f,0.0f,0.0f,0.5f); glClearDepth(1.0f); glEnable(GL_DEPTH_TEST); glDepthFunc(GL_LEQUAL); ...
[ "sanketsudake@gmail.com" ]
sanketsudake@gmail.com
9b6c0544194d75a7a36c691cfd770d103d43b3a3
ca79d6d24a959fcead54a410af9e353885fdffe0
/src/teapot/src/main.cpp
86e68f5dea1aa8ef0f8f2a975a4260fb28eeab9c
[ "MIT" ]
permissive
nikitablack/vulkan_by_example
535aacfb64fd7bc0a9823862a344fd8444eec64f
d6be23104eea4f4d05dd47e1ff9c15909e59478f
HEAD
2018-10-19T23:10:11.307806
2018-07-30T06:24:03
2018-07-30T06:24:03
126,008,944
1
0
null
null
null
null
UTF-8
C++
false
false
338
cpp
#include "MainApplication.h" #include <iostream> #include <stdexcept> #include <string> int main() { try { MainApplication app{800, 600, "Teapot"}; app.run(); } catch(std::runtime_error const & err) { std::cout << err.what() << std::endl; } catch(...) { std::cout << "unexpected error" << std::endl;...
[ "nikita.cherniy@ibeo-as.com" ]
nikita.cherniy@ibeo-as.com
5eeee1b41864ea405c306cf90a6e636ffdbf653d
d001abba19711d678f2ba09dfbd5c84357be6bb0
/src/contest/atcoder/others/CodeFestival/2014/Final/E_.cpp
c4edce8afb78af7f708c4f35190ca6259f03549a
[]
no_license
cormoran/CompetitiveProgramming
89f8b3ceda97985d32b8cd91056b49abeb243e6f
fa0e479ab299f53984fa7541d088c10c447fb6e4
refs/heads/master
2020-04-17T19:59:49.724498
2020-03-28T15:46:26
2020-03-28T15:46:26
65,995,023
0
0
null
null
null
null
UTF-8
C++
false
false
916
cpp
#include<cstdio> #include<cstdlib> #include<iostream> #include<algorithm> #include<vector> #include<stack> #include<queue> #include<string> #include<cmath> //#include<> using namespace std; typedef long long ll; typedef pair<int,int> Pii; #define rep(i,j) for(i=0;i<j;i++) #define rev_rep(i,j) for(i=j;i>=0;i—-) int ...
[ "cormoran707@gmail.com" ]
cormoran707@gmail.com
dbf126b09c6dfa560053231d3feaef05db040718
e4c432f43fb1711d7307a25d5bc07f64e26ae9de
/knet/detail/AsyncReceivedMsgCB.cpp
1271c3669ff2bdb24ecdb45e5fd2f5b8ad3cf509
[]
no_license
longshadian/zylib
c456dc75470f9c6512a7d63b1182cb9eebcca999
9fde01c76a1c644d5daa46a645c8e1300e72c5bf
refs/heads/master
2021-01-22T23:49:11.912633
2020-06-16T09:13:50
2020-06-16T09:13:50
85,669,581
2
1
null
null
null
null
UTF-8
C++
false
false
153
cpp
#include "knet/detail/AsyncReceivedMsgCB.h" #include "knet/RPCManager.h" namespace knet { namespace detail { } // detail } // knet
[ "guangyuanchen001@163.com" ]
guangyuanchen001@163.com
fd6926bde71c30fc6de52ab1d665b4556edf3e2b
5dfc863b3b3a0e39b93dc38eb820b94dc93ee53a
/Hour_00/quocmesh-20140902-1202/quocmesh/modules/aol/eigenvectors.h
299aac9275b3d82ffed05515e14a11344d673131
[]
no_license
Wflying1224/K2-data-scripts
c0b13739e49a41cad4e45c1c62507d08a072baf4
b06200c372cc451e4fb6a2a53c587f6540325832
refs/heads/master
2021-01-10T14:36:15.600290
2015-07-13T22:39:58
2015-07-13T22:39:58
36,753,461
0
0
null
null
null
null
UTF-8
C++
false
false
34,550
h
#ifndef __EIGENVECTORS_H #define __EIGENVECTORS_H #include <op.h> #include <matrix.h> #include <matrixInverse.h> #include <progressBar.h> #include <vectorExtensions.h> #include <preconditioner.h> #include <solver.h> namespace aol { //************************************************************************** /** * ...
[ "pzhang54@wisc.edu" ]
pzhang54@wisc.edu
b8923ff268f2a0079b0ee84a03ad9286ffd9218a
13f7dd24534870d3546c997925c7c4bd24d1c716
/Biaffine-origin/src/Parser.h
21d93d2da2faf7cb9aa2222f6b6620f922fd645d
[]
no_license
jiangxinzhou/MarkdownPhotos
7aa55b6c93e2a11061de150e715e0898152c8482
e0fb7065325c8796e62c60bd6f592325fb0d5754
refs/heads/master
2020-12-02T16:18:05.207967
2017-07-17T14:30:30
2017-07-17T14:30:30
96,531,905
0
0
null
null
null
null
UTF-8
C++
false
false
7,444
h
#ifndef _PARSER_ #define _PARSER_ #pragma once #include <vector> #include <iostream> #include <fstream> #include <iomanip> #include <set> using namespace std; #include "IOPipe.h" #include "FGen.h" #include "Decoder.h" #include "common.h" #include "Eigen/Dense" #include "MyLib.h" /******************* There seems some ...
[ "381542235@qq.com" ]
381542235@qq.com
c14775f042a2dbe2ab58f5e0b9776c117602e78b
3c761ddfeadde07c39f033b12457fe490df6339f
/moneyhub2.2/Moneyhub_Agent/stdafx.h
07e968f4536f0c1cb024d1c7e3c01bc3ff81fd36
[]
no_license
3660628/chtmoneyhub
d8fe22cef017d7a12b4c582667b6484af01032d2
7861d387a49edfe395379c1450df18cb1b8658f2
refs/heads/master
2021-01-02T09:20:08.263263
2012-01-11T08:32:20
2012-01-11T08:32:20
33,034,456
2
1
null
null
null
null
GB18030
C++
false
false
2,917
h
// stdafx.h : include file for standard system include files, // or project specific include files that are used frequently, but // are changed infrequently // #pragma once // Change these values to use different versions #define WINVER 0x0500 #define _WIN32_WINNT 0x0501 #define _WIN32_IE 0x0501 #...
[ "robustwell@218c79bb-c378-f353-48b6-e0d4b39d76f1" ]
robustwell@218c79bb-c378-f353-48b6-e0d4b39d76f1
21b4648b7cecda62254af70047143def1be21052
4d4fbfd4ed5b38fb807fc23b8ab5caf30b62b32d
/opencore-linux/codecs_v2/omx/omx_amrenc/src/amr_enc.cpp
11f0a707ef07e02b5c001e42ae85df501567feb8
[ "MIT", "LicenseRef-scancode-other-permissive", "Artistic-2.0", "LicenseRef-scancode-philippe-de-muyter", "Apache-2.0", "LicenseRef-scancode-mpeg-iso", "LicenseRef-scancode-unknown-license-reference" ]
permissive
rcoscali/ftke
e88464f1e85502ffb9c199106bc6cb24f789efcf
e9d4e59c4387400387b65124d4b47b70072dd098
refs/heads/master
2021-01-10T05:01:03.546718
2010-09-23T02:49:21
2010-09-23T02:49:21
47,364,325
6
0
null
null
null
null
UTF-8
C++
false
false
7,820
cpp
/* ------------------------------------------------------------------ * Copyright (C) 1998-2009 PacketVideo * * 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.o...
[ "xianjimli@7eec7cec-e015-11de-ab17-5d3be3536607" ]
xianjimli@7eec7cec-e015-11de-ab17-5d3be3536607
ce3e786f695f41f611225ccc7d22625d4374c8f7
bb24e022d75c569e1b4521043b4569c677b5d9f6
/common/camera.h
32efdc253b857f7afcf02d546658137f4d7e1469
[]
no_license
Thalliuss/3D_Engine
00e5c1b77056f6f6c9c025b198c432196630e19b
c75deb60851e6ac9fd87728944dbd12c6637fdba
refs/heads/master
2020-12-29T02:21:41.324179
2016-06-20T10:16:40
2016-06-20T10:16:40
54,409,870
0
0
null
null
null
null
UTF-8
C++
false
false
533
h
#ifndef CAMERA_H #define CAMERA_H // Include GLFW #include <glfw3.h> // Include GLM #include <glm/glm.hpp> #include <glm/gtc/matrix_transform.hpp> class Camera { public: Camera(); glm::vec3 position; glm::vec2 rotation; glm::mat4 getViewMatrix(); glm::mat4 getProjectionMatrix(); void updateCamera(GLFWwindow* ...
[ "kevinhummel3@gmail.com" ]
kevinhummel3@gmail.com
2f4602d41e6eb7daceb92ff74204312c3c0e002c
7ad8c5af435935bb813232c40eb3bf938aec0dc5
/Basic/ArmStrong.cpp
d9d540e921035a029aa010db5e2fea9e072e086d
[]
no_license
jaypratap619/DSA-Practise
ccffe039410210d5ed09795a350a5216d839ad00
5a26b023055af22de1394c10e82661633a81bec0
refs/heads/master
2023-08-03T10:46:16.792547
2021-09-07T19:38:48
2021-09-07T19:38:48
396,463,083
0
0
null
null
null
null
UTF-8
C++
false
false
518
cpp
#include <iostream> #include <cmath> using namespace std; int order(int n){ int o = 0; while(n > 0){ o++; n /= 10; } return o; } bool isArmstrong(int n){ int sum = 0; int o = order(n); int originalN = n; while(n > 0){ int rem = n % 10; sum = sum + round(...
[ "jaypratap619@gmail.com" ]
jaypratap619@gmail.com
1b6d8ded77d0294dabcc678454934b566141e765
acc2f5336d768a7d86dbd2eec441283cfd11d52d
/src/Core/CLGetServerList.h
cf69240e700e7a562bfb41b6d45aed59560adce2
[]
no_license
stevexk/server
86df9e8c2448ad97db9c3ab86820beec507ef092
4ddb6e7cfa510bb13ccd87f56db008aa1be1baad
refs/heads/master
2020-01-23T22:00:57.359964
2015-09-18T14:58:27
2015-09-18T14:58:27
null
0
0
null
null
null
null
UHC
C++
false
false
2,497
h
////////////////////////////////////////////////////////////////////// // // Filename : CLGetServerList.h // Written By : reiot@ewestsoft.com // Description : // ////////////////////////////////////////////////////////////////////// #ifndef __CL_GET_SERVER_LIST_H__ #define __CL_GET_SERVER_LIST_H__ // include ...
[ "tiancaiamao@gmail.com" ]
tiancaiamao@gmail.com
7ae2840f2053264d55fbaa230b0a33702e46a5d4
f0b7bcc41298354b471a72a7eeafe349aa8655bf
/codebase/apps/Radx/src/deprecated/RadxPersistentClutter/prototype/original/RadxPersistentClutterSecondPass.cc
7f9f8e6746b298fb2dd5198800040f12f09420fd
[ "BSD-3-Clause" ]
permissive
NCAR/lrose-core
23abeb4e4f1b287725dc659fb566a293aba70069
be0d059240ca442883ae2993b6aa112011755688
refs/heads/master
2023-09-01T04:01:36.030960
2023-08-25T00:41:16
2023-08-25T00:41:16
51,408,988
90
53
NOASSERTION
2023-08-18T21:59:40
2016-02-09T23:36:25
C++
UTF-8
C++
false
false
5,911
cc
// *=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=* // ** Copyright UCAR (c) 1990 - 2016 // ** University Corporation for Atmospheric Research (UCAR) // ** National Center for Atmospheric Research (NCAR) // ** Bo...
[ "dixon@ucar.edu" ]
dixon@ucar.edu
945002de01ea243a831e66f3c18eec80a5339400
6158c19a5f7f74aee8c8ca504f87c783a887a99b
/src/parse_filenames.cpp
1d87b9255ebb8a1804d1a07c261e1f671dce6ab5
[]
no_license
Motherboard/mp3_gui
0f1c7effabae07b00753367e60d3ddf514bb184a
c8ebfe5b2f26751d09aad61c671f4fe0b9a78767
refs/heads/main
2023-05-24T03:37:14.152625
2021-06-13T19:30:40
2021-06-13T19:30:40
376,624,685
0
0
null
null
null
null
UTF-8
C++
false
false
2,396
cpp
// // Created by master on 6/3/19. // /* #include "parse_filenames.hpp" #include <vector> #include <string> #include <variant> #include <map> bool is_digit(char ch) { return ch >= '0' && ch <= '9'; } NameParts filename_parts(const std::string & filename) { NameParts parts; std::string current_part; ...
[ "cantfind@gmail.com" ]
cantfind@gmail.com
a47e65af5c35d9b13965762e131776de2a5f6179
dae81ba91c161bbc7be53c401c2ed6c014f6e87b
/src/test/sanity_tests.cpp
e9a641d524834108e73f10a2d125b0dcdc12a7e7
[ "MIT" ]
permissive
cryptopool-builders/bcash
9dd1f3ca992bbd22d3ad65d21c25d55c7d14ec99
418f0582763aa8dc7171829723706a81c797ea92
refs/heads/master
2020-12-14T05:22:43.946205
2018-09-13T07:23:23
2018-09-13T07:23:23
234,654,514
0
1
MIT
2020-01-17T23:33:22
2020-01-17T23:33:21
null
UTF-8
C++
false
false
655
cpp
// Copyright (c) 2012-2015 The Bitcoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "compat/sanity.h" #include "key.h" #include "test/test_bcash.h" #include <boost/test/unit_test.hpp> BOOST_FIXTURE_...
[ "bcash.games@gmail.com" ]
bcash.games@gmail.com
f5193e659ad30402c4de29b1ba7f434ea8b1b304
ce696ef56d225db2c2257dbfbe5e1a15ff6e427c
/src/network/Connection.cpp
fa142427fc2a80cbdc0343ebc8225e043c4c3034
[]
no_license
Domnyk/Oton
add03b2d9c2570dc4405dc0194c2f043e8bdb0c7
715699508476a0fb046a4e9ad608637524e5d1b0
refs/heads/master
2020-03-16T23:48:37.189974
2018-06-09T17:41:07
2018-06-09T17:41:07
133,092,128
1
2
null
2018-05-28T15:42:31
2018-05-11T21:54:35
C++
UTF-8
C++
false
false
11,429
cpp
#include <boost/bind.hpp> #include <boost/array.hpp> #include <iostream> #include <opencv2/imgcodecs.hpp> #include <thread> #include <cstring> #include "Connection.hpp" #include "../movie/Resolution.hpp" #include "protocol/Constants.hpp" Connection::Connection(boost::asio::io_context& io_context, unique_ptr<MovieList>...
[ "dominik.trusinski@gmail.com" ]
dominik.trusinski@gmail.com
707f12e1907a7ce045277481200fd9936ffc5d16
41495754cf8b951b23cece87b5c79a726748cff7
/Solutions/URI/2250.cpp
6c063ae87a33ad6bb3434d81f1831a43ff24fc76
[]
no_license
PedroAngeli/Competitive-Programming
86ad490eced6980d7bc3376a49744832e470c639
ff64a092023987d5e3fdd720f56c62b99ad175a6
refs/heads/master
2021-10-23T04:49:51.508166
2021-10-13T21:39:21
2021-10-13T21:39:21
198,916,501
1
0
null
null
null
null
UTF-8
C++
false
false
1,400
cpp
#include <bits/stdc++.h> using namespace std; #define endl '\n' #define f first #define s second #define pb push_back #define all(c) (c).begin(), (c).end() #define sz(x) (int)(x).size() #define fastio ios_base::sync_with_stdio(0);cin.tie(0);cout.tie(0); #define debug(...) cout << " [" << #__VA_ARGS__ ": " << (__VA_...
[ "pedroans.angeli@hotmail.com" ]
pedroans.angeli@hotmail.com
3eca11d1103357578ef928642eaed1fdcb74c933
4eb4242f67eb54c601885461bac58b648d91d561
/algorithm/leetcode/power_of_two/code.cc
d468bff10c11e436bd2291e4e877b038f85daa97
[]
no_license
biebipan/coding
630c873ecedc43a9a8698c0f51e26efb536dabd1
7709df7e979f2deb5401d835d0e3b119a7cd88d8
refs/heads/master
2022-01-06T18:52:00.969411
2018-07-18T04:30:02
2018-07-18T04:30:02
null
0
0
null
null
null
null
UTF-8
C++
false
false
283
cc
// Copyright 2015 Liqiang Guo. All Rights Reserved. // Author: Liqiang Guo (guoliqiang2006@gmail.com) // Date : 2015-12-22 19:23:08 // File : code.cc // Brief : class Solution { public: bool isPowerOfTwo(int n) { return n <= 0 ? false : ((n & (n - 1)) == 0); } };
[ "guoliqiang2006@126.com" ]
guoliqiang2006@126.com
162284be09c0feb3b55e94a23bb596fbb2f3cf86
6a44417fad3906ad14528baa4d4a49261cf942d4
/33_matrix_templ/Matrix.hpp
cc5547a467632ac919158e30230482ca504d2947
[]
no_license
frankhu311/FT510
3220cd5076b653193d5aeb5e273ad10a6c5cfd76
d07a2c5ec51d29d094b351966e18b93761649c34
refs/heads/master
2023-03-17T23:11:42.950653
2020-08-16T10:27:55
2020-08-16T10:27:55
null
0
0
null
null
null
null
UTF-8
C++
false
false
4,511
hpp
#ifndef __T_MATRIX_HPP__ #define __T_MATRIX_HPP__ #include <assert.h> #include <cstdlib> #include <iostream> #include <vector> //YOUR CODE GOES HERE! template<typename T> class Matrix { private: int numRows; int numColumns; std::vector<std::vector<T> > rows;//IMPORTANT!!!!! public: Matrix():numRows(0), num...
[ "50977975+cxh1996108@users.noreply.github.com" ]
50977975+cxh1996108@users.noreply.github.com
e2a1d27bca1cc7c67486b28e36c42a1dbec52183
3b45a85e009852c9c7403d40f617e2815c1ac35e
/src/language_structs.h
a1bc7cc0d4b6790d7e8026e0b8b064dc08cd041d
[]
no_license
araml/flashcards
d30b4fb7e72c5ff18d496b586cdd81f00d32e8a6
ea54a1ee80c0e48554524aa2ad1b9bf48cf89349
refs/heads/master
2022-12-22T12:16:11.341187
2020-08-04T03:57:41
2020-08-04T03:57:41
280,735,115
0
1
null
2020-10-01T21:43:05
2020-07-18T20:35:27
C++
UTF-8
C++
false
false
538
h
#ifndef LANGUAGE_STRUCTS_H #define LANGUAGE_STRUCTS_H #include <vector> #include <string> #include <unordered_map> struct word { std::string untranslated; std::string translated; /* TODO: maybe extende later for conjugations etc?*/ }; struct deck { bool expanded{false}; std::string name; std:...
[ "leandrojavr@gmail.com" ]
leandrojavr@gmail.com
2deb767cf787d1f78de253dfdfca036e283a8411
d41c695d949e4fdae054daa50a0e1dcc57b01a99
/include/imap/default_command_builder.h
3494e8fd45a3d7f6e1d9af8e6bb9826278280d45
[]
no_license
p-jackson/imap
d9b625c74407447194e76df1e3643341ebebe988
e03277da95b402fb6fd016d0066bc59bab16a7b5
refs/heads/master
2020-03-30T23:15:03.812246
2014-10-17T11:18:45
2014-10-17T11:18:45
19,202,556
2
1
null
null
null
null
UTF-8
C++
false
false
493
h
#ifndef IMAP_COMMAND_BUILDER_H #define IMAP_COMMAND_BUILDER_H #include <string> #include <vector> namespace imap { class DefaultCommandBuilder { unsigned int m_nextNum; std::string m_nextPrefix; public: DefaultCommandBuilder(); std::string join(std::vector<std::string> tokens); std::vector<s...
[ "p-jackson@live.com" ]
p-jackson@live.com
1cd30ffb07109fe41a27705c27dd1bae85eb0f09
84d0fde2774d79ce4e8e811ddb7667f1f9c228d7
/app/src/main.cpp
6820190c5b73e5d973afb479cb32c17a91079935
[ "MIT" ]
permissive
RangelReale/msgui
455ebe437bb568405a17b0d5439ede26d4a107ae
5c7405298d37a5ba12863230cf025151555ac5a6
refs/heads/master
2023-08-29T10:48:33.356198
2018-11-22T16:48:38
2018-11-22T16:48:38
142,601,277
63
2
null
null
null
null
UTF-8
C++
false
false
1,114
cpp
#include "msgui/Application.h" #include "msgui/MainWindow.h" #include "msgui/LogConfig.h" #include <QCommandLineParser> #include <QCommandLineOption> #include <log4qt/logger.h> #include <log4qt/logmanager.h> #include <log4qt/ttcclayout.h> int main(int argc, char *argv[]) { msgui::Application app(argc, argv); app.s...
[ "rangelspam@gmail.com" ]
rangelspam@gmail.com
562cc555efbca075f69b2542126589b63637e3b5
09e5cfe06e437989a2ccf2aeecb9c73eb998a36c
/modules/cctbx_project/spotfinder/dxtbx_toolbox/ext.cpp
fbe4533e9c2c86d897c4d971fdd9f5fdb4e841b9
[ "MIT", "BSD-3-Clause", "BSD-3-Clause-LBNL" ]
permissive
jorgediazjr/dials-dev20191018
b81b19653624cee39207b7cefb8dfcb2e99b79eb
77d66c719b5746f37af51ad593e2941ed6fbba17
refs/heads/master
2020-08-21T02:48:54.719532
2020-01-25T01:41:37
2020-01-25T01:41:37
216,089,955
0
1
BSD-3-Clause
2020-01-25T01:41:39
2019-10-18T19:03:17
Python
UTF-8
C++
false
false
2,558
cpp
#include <boost/python.hpp> #include <boost/python/args.hpp> #include <spotfinder/dxtbx_toolbox/distl.h> using namespace boost::python; using namespace spotfinder::dxtbx; namespace af = scitbx::af; BOOST_PYTHON_MODULE(spotfinder_dxtbx_ext) { typedef return_value_policy<return_by_value> rbv; typedef default_call...
[ "jorge7soccer@gmail.com" ]
jorge7soccer@gmail.com
c47890658555e4bdf2ffeece3e33d6955a81519a
03727fc0a8c6356c7816af11abe96b0534d54ba9
/example/Example2/evaluation/Evaluator/src/Util.h
e9c9d33f11b29cf3e8caabf88f2f54faa0229d43
[]
no_license
ChrisMaherLab/INTEGRATE-Vis
6f765f39ea4734eb2b696545b2cdd92450c6864d
1e96a2d1b088135dda0338c30c000f6d71574eb7
refs/heads/master
2023-05-26T12:11:53.726899
2023-05-08T19:50:13
2023-05-08T19:50:13
98,339,013
12
9
null
2023-05-08T15:41:43
2017-07-25T18:44:40
Python
UTF-8
C++
false
false
1,256
h
/* * Util.h * * Created on: Apr 28, 2013 * Updated on Mar 4, 2016 * Author: jinzhang */ #ifndef UTIL_H_ #define UTIL_H_ #include <MyTypes.h> #include <sys/types.h> #include <sys/stat.h> #include <stdint.h> #include <string> #include <cstring> #include <typeinfo> #include <cstdlib> #include <cstdio> ...
[ "jinzhang@ro-0tnj1gc.wucon.wustl.edu" ]
jinzhang@ro-0tnj1gc.wucon.wustl.edu
d99269c4077257f22aff39307fe93934a456885d
c3ca68aea5d824e75576c50dce68a6392cf5afbe
/Codeforces/938C_Constructing_Test.cpp
cef814b226841eed6c494497b76e15437e0635a7
[]
no_license
ManuelLoaizaVasquez/competitive-programming-solutions
bddcacdc54a63afc5f7fd5be19dc0a8afe47eb16
b502fcc2774b3f4286393f00e6e009cb30fa2c53
refs/heads/master
2021-06-18T14:29:06.103654
2021-03-05T14:23:41
2021-03-05T14:23:41
144,772,199
2
0
null
null
null
null
UTF-8
C++
false
false
1,084
cpp
#include <iostream> #include <cmath> #define FAST_IO ios::sync_with_stdio(0);cin.tie(NULL) using namespace std; typedef long long Long; typedef pair<Long, Long> Pair; Long f(Long n, Long m) { Long res = n / m; return (n * n - res * res); } Long Search(Long n, Long x) { Long l = 2LL; Long r = n; if (f(n, r) ...
[ "manulova999@gmail.com" ]
manulova999@gmail.com
47cdc7ab11d618b15a61f6d1848568aa15bbe35e
7ff42d0f1800f6fa80845651c607e1917a6818b1
/examples/robot_smv_12.0/robot_user_functions/viewer.cpp
70eef7ed1aa4eedf20befdded92c31f842764aa5
[]
no_license
LCAD-UFES/MAE
cff9a632c2c2bbd8916942c9a514f9306b76d54a
2ae6664b66091e7919e94582b022dd12b4e5842b
refs/heads/master
2021-01-10T16:55:44.737700
2018-08-02T23:14:27
2018-08-02T23:14:27
53,516,570
5
1
null
null
null
null
UTF-8
C++
false
false
22,759
cpp
// Includes #include "cconfig.h" #include "crobot_smv.h" #include "maplist.hpp" #include "view.hpp" #include "common.hpp" #include "viewer.hpp" #include "stereo_api.h" // Global Variables int g_nViewerWindowId; int g_nViewerViewMode= EXTERNAL_VIEW; bool g_bAutoSwapping = false; TMapList *g_pMaps; TView *g_pExternalVi...
[ "filipemtz@gmail.com" ]
filipemtz@gmail.com
baba769c8d22034b564374a375e4965f469fdeca
ecb7d085a73c6c3ca913235ee218ee1d9fbcf1f5
/kern/terminal/terminal.hpp
27d90a13a726dd894ce37fb443e21ac001c5d54e
[ "MIT" ]
permissive
hobbit19/LudOS
7b299f38dc35a765219cb8d5854f996d1acd894e
aa61f51ba7361d982b0c93941b97db96152ebf0a
refs/heads/master
2020-03-29T20:33:22.348980
2018-08-17T12:41:01
2018-08-17T12:41:01
null
0
0
null
null
null
null
UTF-8
C++
false
false
4,443
hpp
/* terminal.hpp Copyright (c) 16 Yann BOUCHER (yann) Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publ...
[ "Stellaris62@protonmail.com" ]
Stellaris62@protonmail.com
6d801ac956888e24ece7db57f33ebdde3ca80472
31479879980f03e3aa8d7a4a7d5a0cdec7efe8ed
/App/Src/Graphics.cpp
3b9a5a3a5264b3a653b54acaaf6c7db038846730
[]
no_license
ematt/GardenLedLamp
ae730682ca9d5e09d85dd8096efaa34e02b9174c
2ebee6fc9efebc8231c054775ab787c85d79b971
refs/heads/master
2023-07-09T23:51:58.291030
2021-07-29T06:49:37
2021-07-29T06:49:37
380,810,239
0
0
null
null
null
null
UTF-8
C++
false
false
1,437
cpp
/* * Graphics.cpp * * Created on: Jun 12, 2021 * Author: Vlad */ #include "Graphics.hpp" ColorRGB::ColorRGB(const ColorHSV &hsv) { uint8_t region, remainder, p, q, t; if (hsv.s == 0) { r = hsv.v; g = hsv.v; b = hsv.v; return; } region = hsv.h / 43; remainder = (hsv.h - (region * 43)) * 6; ...
[ "you@example.com" ]
you@example.com
0c8551d0b73254e7fe1a1ad9dab29d95f3f0d98e
b33a9177edaaf6bf185ef20bf87d36eada719d4f
/qtbase/examples/network/network-chat/connection.h
792e15d84fac6a28c9d2584dada4f21799e93fbf
[ "LicenseRef-scancode-proprietary-license", "LicenseRef-scancode-unknown-license-reference", "LicenseRef-scancode-commercial-license", "LGPL-2.0-or-later", "LGPL-2.1-only", "GFDL-1.3-only", "LicenseRef-scancode-qt-commercial-1.1", "LGPL-3.0-only", "LicenseRef-scancode-qt-company-exception-lgpl-2.1", ...
permissive
wgnet/wds_qt
ab8c093b8c6eead9adf4057d843e00f04915d987
8db722fd367d2d0744decf99ac7bafaba8b8a3d3
refs/heads/master
2021-04-02T11:07:10.181067
2020-06-02T10:29:03
2020-06-02T10:34:19
248,267,925
1
0
Apache-2.0
2020-04-30T12:16:53
2020-03-18T15:20:38
null
UTF-8
C++
false
false
3,323
h
/**************************************************************************** ** ** Copyright (C) 2015 The Qt Company Ltd. ** Contact: http://www.qt.io/licensing/ ** ** This file is part of the examples of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:BSD$ ** You may use this file under the terms of the BSD license as follow...
[ "p_pavlov@wargaming.net" ]
p_pavlov@wargaming.net
012ea7d99e8b905b95a99ffd6e9742d05fba4ebf
5d2b3e807fe7e7e400a0a827e379feb26b15bde0
/Linked Lists/search a node.cpp
eba084d1fc6377629723b62fa8463e9d9071e5d3
[]
no_license
ravipatil27/Everything-CPP
53951c423432fd387903ebf6c249fb026d830b07
bb1482f709a77952692e3ed635a6c280aca899d6
refs/heads/main
2023-08-20T02:55:44.310734
2021-10-04T12:15:32
2021-10-04T12:15:32
413,406,634
0
0
null
2021-10-04T12:12:57
2021-10-04T12:12:56
null
UTF-8
C++
false
false
468
cpp
// Make head as the current node. //Run a loop until the current node is NULL because the last element points to NULL. //In each iteration, check if the key of the node is equal to item. If it the key matches the item, return true otherwise return false. bool searchNode(struct Node** head_ref, int key) { struct Nod...
[ "ananya.ghosh2020@vitstudent.ac.in" ]
ananya.ghosh2020@vitstudent.ac.in
3c89d4aae4b22b98dccdde59df50e3b74a1132e3
27a42e395c9804c84533a3d4c568b52e558309a2
/URI-INICIANTE/uri1060.cpp
f2afb3d1aac853cd9f1468a7679ca51f2475fb44
[ "MIT" ]
permissive
henrique-artur/questoes-URI
8bd62e9e6097c1c115184bba6de0f112cbaecce5
f35c8fb30cd52b1d497bd08ee7ca6ff68972cd35
refs/heads/master
2023-08-22T02:51:47.984174
2021-09-21T10:20:33
2021-09-21T10:20:33
292,672,113
0
0
null
null
null
null
UTF-8
C++
false
false
272
cpp
#include<iostream> using namespace std; int main(void){ double num[6]; int cont; for(int i = 0; i < 6; i++){ cin >> num[i]; } for(int j = 0;j < 6; j++){ if(num[j] > 0){ cont = cont+1; } } cout << cont << " valores positivos" << endl; }
[ "henrique-artur@hotmail.com" ]
henrique-artur@hotmail.com
58c97ba6865e4c0844441d6bdf5d8155819da67c
0c5b471b0daafea2d8c79619e6952a3d69bd78bf
/codeup/6129.cpp
6b886054c909907b2268257c4fbd655829447c0c
[]
no_license
Loner1024/Algorithm
c2ab63cd6412b54b3cccadb3ceced6447c68f8be
f57a3288309e6adfb8db3ad2a5971882797da733
refs/heads/master
2020-04-16T14:17:45.898318
2019-12-01T14:09:45
2019-12-01T14:09:45
165,661,372
0
0
null
null
null
null
UTF-8
C++
false
false
1,806
cpp
#include <cstdio> // 牛客能过,codeup 不过, PAT 最后一条测试过不了 int main() { int n; while (scanf("%d", &n) != EOF) { int a[n]; int a1 = 0, a2 = 0, a3 = 0, a4 = 0, a5 = 0; int a2_ctrl = 1; // 用于控制 a2 的交错求和 int a4_ctrl = 0; // 用于 a4 求平均 for (int i = 0; i < n; i++) { ...
[ "xth12138@gmail.com" ]
xth12138@gmail.com
fedd48896404c7e0a6dbdf9681a6edf273d5e122
002ee897750982ad32c9807c07231b613f3dfea1
/Applications/IRCClient/IRCLogBuffer.h
82b31737f39c11245a698a68ce87e9c199bf7486
[ "BSD-2-Clause" ]
permissive
lesterbogran/serenity
c5218f94392b30c45140e65cc7afdfabcdbb360f
2fea2386757ffb89e8394be785e24bfdc5bb867b
refs/heads/master
2020-09-08T09:34:41.575181
2019-11-11T18:37:01
2019-11-11T21:20:02
221,095,267
1
1
BSD-2-Clause
2019-11-12T00:25:47
2019-11-12T00:25:47
null
UTF-8
C++
false
false
855
h
#pragma once #include <AK/RefCounted.h> #include <AK/RefPtr.h> #include <AK/String.h> #include <LibDraw/Color.h> #include <LibHTML/DOM/Document.h> class IRCLogBuffer : public RefCounted<IRCLogBuffer> { public: static NonnullRefPtr<IRCLogBuffer> create(); ~IRCLogBuffer(); struct Message { time_t t...
[ "awesomekling@gmail.com" ]
awesomekling@gmail.com
8378f023a7fcb01b8c1b0830e0502ece291e488a
27800c9c8c962df23ad6b52eaffbc4ced506de50
/src/data-stream-stream.cc
eb0a8ab7f64789ba466d5ac6dd9185820b9ce976
[ "BSD-2-Clause", "BSD-3-Clause" ]
permissive
moskewcz/boda
082b5212adf3d39566d59d010df78457ea1b0aac
27ec86e03ad004ad8beac7f7d74a5b0ef7676ef6
refs/heads/master
2021-01-24T08:21:25.049539
2019-08-15T05:19:45
2019-08-15T05:19:45
18,118,040
63
25
NOASSERTION
2018-12-05T12:53:04
2014-03-25T21:58:30
C++
UTF-8
C++
false
false
2,705
cc
// Copyright (c) 2015, Matthew W. Moskewicz <moskewcz@alumni.princeton.edu>; part of Boda framework; see LICENSE #include"boda_tu_base.H" #include"has_main.H" #include"str_util.H" #include"data-stream.H" #include"stream_util.H" namespace boda { struct data_stream_stream_src_t : virtual public nesi, public data_str...
[ "moskewcz@alumni.princeton.edu" ]
moskewcz@alumni.princeton.edu
3e35b0ec930cf66d4a83fa4b2c35288c83a505b3
90c7172db12106b1f41e5afd38c081e126b6a791
/src/common/ILuaModule.h
e92604c7549ce133d74323d311326f88eea3c517
[]
no_license
hw233/mmoserver
2292ebe17afb73e4b865aa3f301134b420373f37
5ca64542ae3835c08e8696edea82ce1d9323949e
refs/heads/master
2020-12-27T13:51:12.138437
2017-07-17T03:02:24
2017-07-17T03:02:24
null
0
0
null
null
null
null
GB18030
C++
false
false
3,833
h
#ifndef _I_LUAMODULE_H_ #define _I_LUAMODULE_H_ #ifdef _WIN32 // 为了阻止VS检查strncpy不安全 #pragma warning (disable : 4996) #endif // !_WIN32 #include <string> #include <string.h> extern "C" { #include "lua.h" #include "lualib.h" #include "lauxlib.h" } // 脚本数据类型定义 enum { SD_NUMBER = 0, // 数字类型 SD_DOUBLE, // 浮点数据...
[ "houontherun@gmail.com" ]
houontherun@gmail.com
f3b26e46e536e7dbae9e10f289205b923878600a
3e44c87bb77d39a91a865d8d8db18181f1b1effa
/PAT/Advanced/1065-A+B-and-C.cpp
e94546a457425be18a72d8581ca203dc496cd5bb
[]
no_license
kainzhang/kz-algo-cpp
e6386ec3d29104f21a15401ace96db869662afc8
12947152289802915a65c793687e6008b5f2cd76
refs/heads/master
2023-01-23T23:56:10.541532
2020-11-23T02:40:03
2020-11-23T02:40:03
247,682,344
0
0
null
null
null
null
UTF-8
C++
false
false
638
cpp
// // Created by LOKKA on 2020/5/25. // #include <bits/stdc++.h> using namespace std; typedef long long ll; string ans[] = {"false", "true"}; bool solve() { ll a, b, c; cin >> a >> b >> c; ll sum = a + b; if (a > 0 && b > 0 && sum < 0) return true; // 溢出: 正数 + 正数 = 负数 else if (a < 0 && b < 0 && su...
[ "luvwind@qq.com" ]
luvwind@qq.com
001b43160744df058f8556930cf4ef552e1de241
f7d323e3fb25a2de0891b91bf9265c3f42cecec7
/Lab2/HW2/problem_1_1/interchange.cpp
37a7f713993311a73e9259a55ed483ffd6e47a4a
[]
no_license
ym31433/MSOC
be7484bd94ff041adab044f22d437557281dbba6
64bac03f25ec56b3a0464e972128b1c4f3b832b9
refs/heads/master
2021-01-21T12:58:49.299128
2016-04-21T09:36:22
2016-04-21T09:36:22
54,979,096
1
0
null
null
null
null
UTF-8
C++
false
false
1,382
cpp
//BEGIN: interchange.cpp (systemc) //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ //See hier_chan.h for more information //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ #define SC_USE_SC_STRING_OLD #include <systemc.h> #include "interchange.h" void inte...
[ "ym31433@gmail.com" ]
ym31433@gmail.com