blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
264
content_id
stringlengths
40
40
detected_licenses
listlengths
0
85
license_type
stringclasses
2 values
repo_name
stringlengths
5
140
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
986 values
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
3.89k
681M
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
23 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
145 values
src_encoding
stringclasses
34 values
language
stringclasses
1 value
is_vendor
bool
1 class
is_generated
bool
2 classes
length_bytes
int64
3
10.4M
extension
stringclasses
122 values
content
stringlengths
3
10.4M
authors
listlengths
1
1
author_id
stringlengths
0
158
5ef02d8580b89143a065d0a5af03d8ca9a7fc84d
fb7b1068179053d6e1e9e52103fa2648a67ae95a
/src/Trie_cuckoo_noise_07_21.h
48ebc074a0400ae9f8f85cfffb98ff935750d591
[]
no_license
yunhong111/3-24_prefilter_BLA
d20d314ac2eb4b4ea0686abf1ed7104bdc121ae1
0136518cdc643fe6dd2bdf279e97b555319d1173
refs/heads/master
2021-01-10T00:55:39.559674
2016-03-24T15:56:54
2016-03-24T15:56:54
54,654,778
0
0
null
null
null
null
UTF-8
C++
false
false
592
h
/** trie_cuckoo_noise_07_21.cpp create by: Yunhong create time: 07/21/2015 */ #include <math.h> #include <stdint.h> #include <stdio.h> #include <iostream> #include <numeric> #include <algorithm> #include <iterator> #include <string> #include <vector> #include <sys/time.h> #include <arpa/inet.h> #include "aggregation_a...
[ "yunhong@tamu.edu" ]
yunhong@tamu.edu
6d0d5e72c7ab10ed212ca007145866591b2e3b41
58ac7ce414dcbe875e26bb6fae692e3c74f39c4e
/net/socket/socks5_client_socket_fuzzer.cc
377b6614a5321378ca18395b3a8eb77f0381dc1e
[]
no_license
markthomas93/tempwork
f4ba7b4620c1cb806aef40a66692115140b42c90
93c852f3d14c95b2d73077b00e7284ea6f416d84
refs/heads/master
2021-12-10T10:35:39.230466
2016-08-11T12:00:33
2016-08-11T12:00:33
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,633
cc
// 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. #include <stddef.h> #include <stdint.h> #include <memory> #include "base/logging.h" #include "net/base/address_list.h" #include "net/base/fuz...
[ "gaoxiaojun@gmail.com" ]
gaoxiaojun@gmail.com
0d2ae32eea01f27fde9b26e37740af662c7dd0f6
9126df6fc8a6786463bea1cbb2b8dcc29ccb7f39
/cpp/include/cuml/explainer/permutation_shap.hpp
b0546fbc415b67531884a625484ef8138e60fd36
[ "Apache-2.0" ]
permissive
akaanirban/cuml
6667eb7fc7eb81bdc11977f259c2dd4993934dd0
9f924a2d8e7192c7b65a7efee7257dafdbebce06
refs/heads/main
2023-06-04T12:49:36.812511
2021-06-10T19:39:13
2021-06-10T19:39:13
371,710,939
0
0
Apache-2.0
2021-05-28T13:32:32
2021-05-28T13:32:31
null
UTF-8
C++
false
false
5,395
hpp
/* * Copyright (c) 2020-2021, NVIDIA CORPORATION. * * 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...
[ "noreply@github.com" ]
akaanirban.noreply@github.com
f711281b6260673dabfc43e0fff2589453aa24e3
8adfe707978a0de4f2c70a95878f1db563224536
/src/game/WorldSession.h
968fdee5ce9751bfa131fc1ea4acf83f2b8dcc5d
[]
no_license
wuhongyi1977/StrawberryCore-1
4138e102bc8d2c1b7b6513b168587e7e59ec968f
3fdd0ca71208d97189166729be59832eff086db0
refs/heads/master
2020-12-24T15:49:06.047248
2012-01-17T01:03:11
2012-01-17T01:03:11
3,224,456
0
2
null
null
null
null
UTF-8
C++
false
false
42,666
h
/* * Copyright (C) 2010-2012 Strawberry-Pr0jcts <http://strawberry-pr0jcts.com/> * Copyright (C) 2005-2011 MaNGOS <http://getmangos.com/> * * 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; ...
[ "fabian@strawberry-pr0jcts.com" ]
fabian@strawberry-pr0jcts.com
b1ab20b42996148978b000093f2f8118a1372bf6
6b2a8dd202fdce77c971c412717e305e1caaac51
/solutions_2464487_1/C++/ciceblue/GoogleCodeJam.cpp
2d52b7b542969fc37596299fdfb68ed7cffd9d9b
[]
no_license
alexandraback/datacollection
0bc67a9ace00abbc843f4912562f3a064992e0e9
076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf
refs/heads/master
2021-01-24T18:27:24.417992
2017-05-23T09:23:38
2017-05-23T09:23:38
84,313,442
2
4
null
null
null
null
GB18030
C++
false
false
1,002
cpp
// GoogleCodeJam.cpp : 定义控制台应用程序的入口点。 // #include "stdafx.h" #include <iostream> #include <fstream> #include <vector> #include <algorithm> #include <cstring> #include <cmath> using namespace std; #define fcin fin #define fcout fout ifstream fin("a.in"); ofstream fout("a.out"); int main(int argc, char* a...
[ "eewestman@gmail.com" ]
eewestman@gmail.com
6c12b1662b0546c079dd87696bbbb23e5675a031
2c33a3bfd10fdab4cd335f28615f61957ed66e88
/car_simulation/car_simulation/simulation/car_positions_container.cpp
d85d7081e4c48d771f11e3bcb4b0268d04061e09
[]
no_license
istrandjev/car-parking-system
6c02148a23ef0b44574360e25a3b3d12245fd418
c428baa6acb87c0b4bdd76d6a6a1fd519a9375cf
refs/heads/master
2021-01-20T12:01:21.372201
2012-06-26T20:35:52
2012-06-26T20:35:52
32,250,532
0
0
null
null
null
null
UTF-8
C++
false
false
4,096
cpp
#include "car_positions_container.h" #include "geometry/bounding_box.h" #include "simulation/car.h" namespace simulation { static const int VERTICAL_CELL_NUM = 200; static const int HORIZONTAL_CELL_NUM = 300; void CarPositionEntry::AddCarPosition(int position_index) { carPositions_.push_back(position_i...
[ "istrandjev@gmail.com@28d065b4-702d-1fc3-fb8c-6eee9887d1d4" ]
istrandjev@gmail.com@28d065b4-702d-1fc3-fb8c-6eee9887d1d4
2cc77a56cd704e6df6876382d2115b9a7c7b2d09
7f63ce85c200ed894db5f57c2fbd822954de001a
/Assignment1/代码框架/main.cpp
7f29143cf6aae08fd10c4e702b8c9f3eccd0c7b6
[]
no_license
MuLaF1aga/games101-assignments
f03ad6c31cfd7c7642278941927e10d9047e2dfe
891788335c7ab971e9039c541bcd3eff86d8d3ab
refs/heads/master
2023-07-03T15:34:12.541438
2021-08-08T14:48:25
2021-08-08T14:48:25
386,870,688
0
0
null
null
null
null
UTF-8
C++
false
false
5,954
cpp
#include "Triangle.hpp" #include "rasterizer.hpp" #include <eigen3/Eigen/Eigen> #include <iostream> #include <opencv2/opencv.hpp> #include <cmath> constexpr double MY_PI = 3.1415926; Eigen::Matrix4f get_view_matrix(Eigen::Vector3f eye_pos) { Eigen::Matrix4f view = Eigen::Matrix4f::Identity(); Ei...
[ "380650315@qq.com" ]
380650315@qq.com
c1ce03439e983a972b7fa7ca8f516841c9825db7
bf9f3889b149cc9885528df8ef8f13bf46bcc197
/FWCore/Concurrency/test/limitedtaskqueue_t.cppunit.cpp
7c74abcbab0d77b9a0a7e343f93e4f353a3ee9cb
[ "Apache-2.0" ]
permissive
cgemmell2/cmssw
b601815ceb2d8152d7a1a8933d9f007e50455d64
25dd0613be10f0c654f7556670b4968aa6b26122
refs/heads/master
2021-05-06T09:46:24.987318
2017-12-12T17:54:10
2017-12-12T17:54:10
null
0
0
null
null
null
null
UTF-8
C++
false
false
8,656
cpp
// // LimitedTaskQueue_test.cpp // DispatchProcessingDemo // // Created by Chris Jones on 9/27/11. // #include <iostream> #include <cppunit/extensions/HelperMacros.h> #include <unistd.h> #include <memory> #include <atomic> #include "tbb/task.h" #include "FWCore/Concurrency/interface/LimitedTaskQueue.h" #include "F...
[ "chrisdjones15@gmail.com" ]
chrisdjones15@gmail.com
8d3254692e9b0b633340c8cd0a3d84cc6099d7e7
eb8c139fd770be28ac8369e9b6c408d4108e8cac
/tests/test_levelSet.cpp
8dda9e3420563b73f57ff7077b1064fa52daf01d
[ "MIT" ]
permissive
GLorieul/FluidBoxPublic
2a10d059956665cf5e2c4f3c69edc83128c2785f
a026e16cf5c6efc606832a9f5bdac3738e0062e3
refs/heads/master
2020-05-25T09:28:30.159826
2019-05-21T01:00:45
2019-05-21T01:00:45
187,735,409
0
0
null
null
null
null
UTF-8
C++
false
false
2,318
cpp
#include <gtest/gtest.h> #include "levelSet.hpp" using namespace fb; TEST(levelSetReinitializer, test) { Domain domain(Resolution(9,9), Point(-1.0,-1.0), Distance(2.0,2.0)); LevelSet levelSet(domain, Anchor("C"), GhostCells(1,1,1,1)); LevelSet answer(domain, Anchor("C"), GhostCells(0,0,0,0)); //INITI...
[ "gael.lorieul@coandev.com" ]
gael.lorieul@coandev.com
537d163dab12524b81dd6ed9885ab06d39a65129
751e0d30c5699e398c1c81cce6195849d7328b20
/Source/WebKit/UIProcess/gtk/ViewGestureControllerGtk.cpp
9d0ba2205c704fd42a39d7b4ce974e88cd9a56c9
[]
no_license
aswaunni/webkit
91f02b22bf9002befdd15d49d477147ab122d870
65ba051f1d39c614f148b3c2c552af71e18b29c7
refs/heads/master
2023-01-24T11:24:12.289987
2019-06-20T04:41:54
2019-06-20T04:41:54
null
0
0
null
null
null
null
UTF-8
C++
false
false
14,447
cpp
/* * Copyright (C) 2013, 2014 Apple 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: * 1. Redistributions of source code must retain the above copyright * notice, this list of condit...
[ "commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc" ]
commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc
d102a5ec7a7d1b5e9798b9b577a391ba38a24710
ed080011612c9a6d43520218722f3fbfb913fed5
/Tool/Camera_Tool.h
445c80e2af4ba80dc6c157bc3e19df7605a42c14
[]
no_license
iso5930/Direct-3D-Portfolio
53e6d6a4f0550000e3a513d2578fea964bd16b67
c8480cc23ee07b5f72a667a06f4a1c630c0c02fb
refs/heads/master
2021-08-23T07:46:28.834635
2017-12-04T05:56:27
2017-12-04T05:56:27
112,998,678
0
0
null
null
null
null
UTF-8
C++
false
false
555
h
/*! * \file Camera_Tool.h * \date 2016/07/27 19:11 * * \author Administrator * Contact: user@company.com * * \brief * * TODO: long description * * \note */ #ifndef Camera_Tool_h__ #define Camera_Tool_h__ #include "Camera.h" class CCamera_Tool : public Engine::CCamera { private: float m_fSpeed; public: ...
[ "iso5930@naver.com" ]
iso5930@naver.com
6626ac28766ac27ed3d085877a3f001b7d50b5b2
286bf5d8afa9692fdef36ae2171da90d418a0889
/PoisonousPlnt.cpp
c23b6204bbec46f9eb8ec30d3bb81fe6958aa224
[]
no_license
kanglicheng/CompetitiveProgramming
6863702712e3c902f1e3b1344b9a17bf611e141d
80a0fa8a5bf3793a1300ec15b3c4529e66b157cc
refs/heads/master
2020-07-07T05:46:01.437467
2018-02-17T15:26:13
2018-02-17T15:26:13
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,488
cpp
#include<bits/stdc++.h> #define pb push_back #define MOD (int)(1e9 + 7) #define N 200000 #define pi pair<int,int> using namespace std; #define ll long long ll arr[N], tree[N], c, a, b, x0, cof[N]; int n, m, type, q; ll power(ll a, ll b){ if(b == 0) return 1ll; if(b == 1) return a % MOD; ll half = power(a, b / 2); h...
[ "lamthao1995@gmail.com" ]
lamthao1995@gmail.com
451a1aff2395969a91398c183bd8dc5f1336d207
2bac86d234290f068e0cccc0d5ba7a51db8db617
/AI.h
009ddbe4a40f309c4eb51b86fbb9f286cd6c5501
[]
no_license
schwadyl/Projects
0e23ae4fb0b9cf658b9e839c1a555edde5b5ab2d
5a0c5371b13ae58a93da5bf32a8c4261e9acf899
refs/heads/master
2020-10-01T10:56:48.536486
2019-12-12T04:41:53
2019-12-12T04:41:53
227,521,489
0
0
null
null
null
null
UTF-8
C++
false
false
1,410
h
#ifndef _AI_H_ #define _AI_H_ #include <iostream> #include "Utility.h" #include "Move.h" #include "BuildingState.h" #include "Person.h" //////////////////////////////////////////////////////// //////// DO NOT MODIFY ANY 😤 CODE IN THIS FILE //////// /////////// 😡 ANY CONSTANTS/ETC SHOULD 😡 ///////////// ...
[ "noreply@github.com" ]
schwadyl.noreply@github.com
5ce3a459dabd22bf068065d5d110b283d7498e45
1917cc3414598031b02f6530a48af20ccc5dd2a6
/src/base/KikiFace.cpp
8d6993652d1f43f430a81154efcad9c1acb333dc
[ "LicenseRef-scancode-warranty-disclaimer", "Unlicense" ]
permissive
Mistress-Anna/kiki
8cebcf4b7b737bb214bbea8908bbdc61bc325cb5
2f615044d72de6b3ca869e2230abdd0aced2aa00
refs/heads/master
2022-04-29T16:34:45.812039
2018-06-24T09:13:39
2020-01-04T23:38:22
42,407,357
2
1
Unlicense
2022-03-16T08:11:09
2015-09-13T18:23:04
C++
UTF-8
C++
false
false
1,666
cpp
/* * KikiFace.cpp * kiki */ #include "KikiFace.h" // __________________________________________________________________________________________________ KQuaternion KikiFace::orientationForFace ( int face ) { switch (face % 6) { case PZ: return KQuaternion(); case NZ: return KQuaternion::r...
[ "monsterkodi@users.sourceforge.net" ]
monsterkodi@users.sourceforge.net
9dcc79dae7f2a788b040a15c40d43e07d5a7feb4
7a897ee71adc3f1d80d1f9cf27808bdf5c136108
/gTests/main.cpp
c64d0a025b5228e39baf9993927c6846553d3ee3
[ "MIT" ]
permissive
gabb99/tsjson
df5625d2e3c45435ca927f6553fddfba806f4ba0
0e1493ae3ee3ba1597e49751dcf714e04c93c88a
refs/heads/master
2020-04-13T23:56:05.138006
2019-01-07T12:15:01
2019-01-07T12:15:01
163,519,738
0
0
null
null
null
null
UTF-8
C++
false
false
373
cpp
// // main.cpp // tsjson // // Created by Gabriel Beauchemin on 2018-11-27. // Copyright © 2018 Gabriel Beauchemin. All rights reserved. // #include <iostream> #include "tsobject.hpp" #include "gtest/gtest.h" #include "gmock/gmock.h" int main(int argc, const char * argv[]) { testing::InitGoogleMock(&argc, con...
[ "gbeauchemin@gmail.com" ]
gbeauchemin@gmail.com
e63850c2eb791b53c5e22a9d39e64c602bf08c0a
cf5bbf2da605e067b689476757ba90579d331c2d
/src/Guidance-SDK-ROS/src/Guidance_Depthimage.cpp
d271a59a86d033a0ed3b09a925266f7d798ba9e5
[]
no_license
levenberg/DJI2016_Challenge_v1.0
b8800819c34abc9b24db390d9754780ec91a2ab3
751c04a265d560f6c698b3baaa47265f59932483
refs/heads/master
2020-03-16T18:25:23.261720
2018-05-10T08:36:49
2018-05-10T08:36:49
132,872,221
1
0
null
null
null
null
UTF-8
C++
false
false
3,584
cpp
#include <stdio.h> #include <string.h> #include <iostream> #include <opencv/cv.h> #include <opencv/highgui.h> #include "DJI_guidance.h" #include "DJI_utility.h" #include <ros/ros.h> #include <cv_bridge/cv_bridge.h> #include <geometry_msgs/TransformStamped.h> // IMU #include <geometry_msgs/Vector3Stamped.h> // velo...
[ "luckykelfor@163.com" ]
luckykelfor@163.com
24a1d79bdf91f619937ae63da3a7fd40e11e4f10
4d0300263d28fb461f285cc2c3dfd7c51621cb4d
/platform/android/ndk/Rtt_AndroidTimer.h
38f18584d5c12e668168eb798c200875a6e870d4
[ "MIT", "LicenseRef-scancode-generic-cla", "LicenseRef-scancode-free-unknown" ]
permissive
coronalabs/corona
6a108e8bfc8026e8c85e6768cdd8590b5a83bdc2
5e853b590f6857f43f4d1eb98ee2b842f67eef0d
refs/heads/master
2023-08-30T14:29:19.542726
2023-08-22T15:18:29
2023-08-22T15:18:29
163,527,358
2,487
326
MIT
2023-09-02T16:46:40
2018-12-29T17:05:15
C++
UTF-8
C++
false
false
1,313
h
////////////////////////////////////////////////////////////////////////////// // // This file is part of the Corona game engine. // For overview and more information on licensing please refer to README.md // Home page: https://github.com/coronalabs/corona // Contact: support@coronalabs.com // ////////////////////////...
[ "vlad@coronalabs.com" ]
vlad@coronalabs.com
6c451c5922550c497220affcaff26b1b235534c1
e118b47c785aaa6f26301c7567f24e9bacbcc44d
/tests/rendertest.cpp
504ecfbe5382efd4464ca2f7c1f51f20b3b03998
[ "LicenseRef-scancode-unknown-license-reference", "BSD-3-Clause" ]
permissive
axnjaxn/libbyteimage
94b82b691d0ec36510f3919369b765a601420d57
ceba2ec2c5b619535c1d773df6d7e29561ceec8e
refs/heads/master
2021-01-14T12:39:36.210751
2015-07-23T17:54:10
2015-07-23T17:54:10
27,449,545
0
0
null
null
null
null
UTF-8
C++
false
false
1,156
cpp
#include <byteimage/render.h> #include <byteimage/byteimage_sdl2.h> using namespace byteimage; int main(int argc, char* argv[]) { ByteImage img(256, 256, 3); DrawLine(img, 0, 0, 255, 255, 255); //White line from top left to bottom right DrawLine(img, Pt2f(255, 0), Pt2f(0, 255), Color(255, 255, 0), 3); //Yellow ...
[ "axnjaxn@axnjaxn.com" ]
axnjaxn@axnjaxn.com
f1fb7a4aace33b058f981a2f097a1045f6942a6d
be48cb4b8debf0565c376a5409633933c576c800
/Source/MyProject/Private/TankBarrelComponent.cpp
2d09189768915ef42c4700fefcfd287835a0718f
[]
no_license
natern/04_BattleTank
addbae4db5da0d7f0b8540bf17ebae59473a88b2
8a2df8ec21a7d94b7d53b23f8c848219ffff1065
refs/heads/master
2021-08-15T01:48:11.921996
2017-11-17T05:50:18
2017-11-17T05:50:18
109,541,156
0
0
null
null
null
null
UTF-8
C++
false
false
977
cpp
// Fill out your copyright notice in the Description page of Project Settings. #include "MyProject.h" #include "TankBarrelComponent.h" UTankBarrelComponent::UTankBarrelComponent() : maxDegreesPerSecond(30.f), minElevationDegrees(0.f), maxElevationDegrees(35.f) { } void UTankBarrelComponent::ElevateBarrel( float r...
[ "natern@gmail.com" ]
natern@gmail.com
ea95fd09bee1916a98d0cc518a12ddc0def41b04
5d83739af703fb400857cecc69aadaf02e07f8d1
/Archive2/79/49d1bcd39da26e/main.cpp
81801bb1e3d024596031672ed7326087eb2aa132
[]
no_license
WhiZTiM/coliru
3a6c4c0bdac566d1aa1c21818118ba70479b0f40
2c72c048846c082f943e6c7f9fa8d94aee76979f
refs/heads/master
2021-01-01T05:10:33.812560
2015-08-24T19:09:22
2015-08-24T19:09:22
56,789,706
3
0
null
null
null
null
UTF-8
C++
false
false
261
cpp
#include <iostream> #include <string> #include <vector> struct A { int f() { return 5; } }; struct B: public A { void b() { std::cout << f() << std::endl; } }; int main() { B b{}; b.b(); std::cout << b.f() + 5 << std::endl; }
[ "francis.rammeloo@36614edc-3e3a-acb8-9062-c8ae0e4185df" ]
francis.rammeloo@36614edc-3e3a-acb8-9062-c8ae0e4185df
5b12a3aeaa1a886bbd9c4eef88e372bfb70c07ec
99aaf505f9fae90731aba60fca223abaee228f68
/faq/mitbbs/sort_bolt_nut.cpp
15f3f44a6167347bc0a077696c59168084ba418f
[]
no_license
pamd/foo
13c3c354141b456f79274787aeb3e71c1f26e56b
52ce658f3adac4aa618706d1256ead26e90ab6fe
refs/heads/master
2016-09-05T14:35:22.727306
2015-12-27T22:42:58
2015-12-27T22:42:58
31,291,416
2
1
null
null
null
null
UTF-8
C++
false
false
2,256
cpp
/* Facebook Problem: * http://www.mitbbs.com/article_t/JobHunting/32396691.html * * Suppose we have one group of distinct bolts and * one group of distinct nuts. Each bolt matches a unique nut * anf vice versa. We also have a robot that can match a certain * bolt with a certain nut. If bolt is larger than nut,...
[ "dhu@air.local" ]
dhu@air.local
a46b44ef9d07b457dea70340faef39c737bad366
444a300b50564ab34020fc4ca6fd54bb8bceba7a
/externals/onut/src/UIControl.cpp
d24cf2e6625f236dc6abeb1f90c38d247dd09d2d
[ "MIT" ]
permissive
ltjax/click_to_repair
2700c92695cf8f844f404bead2dcc033b12e9547
2fa898da8d10796c90fc16560cd7b26c97f93952
refs/heads/master
2020-12-26T11:09:41.833793
2020-02-09T21:25:00
2020-02-09T21:25:00
237,490,129
4
0
null
null
null
null
UTF-8
C++
false
false
47,227
cpp
// Onut #include <onut/ContentManager.h> #include <onut/Crypto.h> #include <onut/Log.h> #include <onut/UIButton.h> #include <onut/UICheckBox.h> #include <onut/UIComponents.h> #include <onut/UIContext.h> #include <onut/UIControl.h> #include <onut/UIImage.h> #include <onut/UILabel.h> #include <onut/UIPanel.h> #include <o...
[ "marius.elvert@softwareschneiderei.de" ]
marius.elvert@softwareschneiderei.de
bb7567b11cad5c0cf5438ea283d5dd73225db8e1
2c35da61dc41f8ff2c1588a2e66b61ca90cd1f3a
/src/lib/entityx/deps/Dependencies.h
1bfed72a876d5d3e2002c25336a7c0c3a5203e32
[]
no_license
vkaytsanov/AngryBirds
5858b3dad02940f21dfa849153a134645ecc2191
2cc1a7494f1c2c337461df73c4f43c57bfa57770
refs/heads/master
2023-06-17T10:27:37.254180
2021-07-08T11:37:00
2021-07-08T11:37:00
364,853,524
0
0
null
null
null
null
UTF-8
C++
false
false
1,425
h
/* * Copyright (C) 2013 Alec Thomas <alec@swapoff.org> * All rights reserved. * * This software is licensed as described in the file COPYING, which * you should have received as part of this distribution. * * Author: Alec Thomas <alec@swapoff.org> */ #pragma once #include "entityx/System.h" #include "entityx/E...
[ "vkaytsanov@yahoo.com" ]
vkaytsanov@yahoo.com
a1c5b0935061e2ebdee000da918eb02454f67152
2efe5186105cf3707b640a693017c55e62344fb7
/Beautiful_Pairs.cpp
19f07bd9ab5969be2cdf3b0c33134f97aae67175
[]
no_license
saraffa13/c-
2365f5edec034efc5de192631cda82191ad39220
c33cb4f1f024e6b7ebce9c3941478dc2eaf89cf2
refs/heads/main
2023-08-18T17:04:14.653556
2021-10-21T15:12:33
2021-10-21T15:12:33
385,671,493
0
0
null
null
null
null
UTF-8
C++
false
false
913
cpp
#include <bits/stdc++.h> using namespace std; #define endl "\n" #define IOS \ ios::sync_with_stdio(0); \ cin.tie(0); \ cout.tie(0); #define ll long long #define ld long double #define MAX 1e5 + 1; void init(ll arr[], ll n) { for (ll i = 0; i < n; i++) cin >> arr[i]...
[ "ssaraffa786@gmail.com" ]
ssaraffa786@gmail.com
149e3a0c12757b5c41f16c03ce166a46bf34f6ac
f81b774e5306ac01d2c6c1289d9e01b5264aae70
/chromeos/services/secure_channel/pending_connection_manager_impl.h
b81b0faf8ae252d99332f6fcd431a6ad3c39886e
[ "BSD-3-Clause" ]
permissive
waaberi/chromium
a4015160d8460233b33fe1304e8fd9960a3650a9
6549065bd785179608f7b8828da403f3ca5f7aab
refs/heads/master
2022-12-13T03:09:16.887475
2020-09-05T20:29:36
2020-09-05T20:29:36
293,153,821
1
1
BSD-3-Clause
2020-09-05T21:02:50
2020-09-05T21:02:49
null
UTF-8
C++
false
false
5,188
h
// Copyright 2018 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CHROMEOS_SERVICES_SECURE_CHANNEL_PENDING_CONNECTION_MANAGER_IMPL_H_ #define CHROMEOS_SERVICES_SECURE_CHANNEL_PENDING_CONNECTION_MANAGER_IMPL_H_ #...
[ "commit-bot@chromium.org" ]
commit-bot@chromium.org
54bbdbfcaa0f135d7325f15ae9449e5fd5bedbe5
aaa9d1fa1aee3b8e30add439cf799be8004f1e28
/for_offer/06_min_of_rotate_array.cpp
f0d8776a4bb82cf971c98368eba75fad0f8cdeb5
[]
no_license
Arjen0130/new_code
7dc909fb773a1f858e7183619c93a68438de8a5a
9d4e39dec4c8e298f66933482e9214f02ad0794d
refs/heads/master
2020-03-27T18:15:09.666773
2018-09-30T05:15:26
2018-09-30T05:15:26
146,908,857
0
0
null
null
null
null
UTF-8
C++
false
false
938
cpp
#include <iostream> #include <vector> #include <string> using namespace std; /* 题目: 把一个数组最开始的若干个元素搬到数组的末尾,我们称之为数组的旋转。 输入一个非减排序的数组的一个旋转,输出旋转数组的最小元素。 例如数组{3,4,5,1,2}为{1,2,3,4,5}的一个旋转,该数组的最小值为1。 NOTE:给出的所有元素都大于0,若数组大小为0,请返回0。 */ class Solution { public: int minNumberInRotateArray(vector<int> rotateArray) { ...
[ "friendship0130@yeah.net" ]
friendship0130@yeah.net
facb010ea18ab42aa6c1f13dece6f0cb650c60ec
b0cf510695a0062dbc0651df7085c347b7974bc2
/welcomewidget.h
9c0b2b1b7c15efe8190aad3fdf4950ed352d2021
[]
no_license
semahkadri/Smart_Cinema-Application-Desktop-
acb138a1ed2707386cfb80835e93260de5871298
3aad23e3ce1f6e8a719d073a9de37d5606ce185c
refs/heads/master
2023-06-29T09:11:38.771672
2020-12-30T21:35:47
2020-12-30T21:35:47
314,355,134
1
0
null
null
null
null
UTF-8
C++
false
false
367
h
#ifndef WELCOMEWIDGET_H #define WELCOMEWIDGET_H #include <QWidget> #include <QPropertyAnimation> #include "qtmaterialraisedbutton.h" #include "qtmaterialtextfield.h" class welcomewidget : public QWidget { Q_OBJECT public: explicit welcomewidget(QWidget *parent = nullptr); private: QWidget *Gw;...
[ "noreply@github.com" ]
semahkadri.noreply@github.com
b8e3d806f0cb504603257c98e03e6bf5808f752c
f9bf7e7aa1182e47fca41b6795c73c54cd57af24
/TD3/exo4CorrProf.cpp
d91d336498d5e0ca8343c9684412c67da97f3ecf
[]
no_license
apolloLemon/algorithmique_s3
4160776905ad5d944f911cb258417a52fdc718b7
2737f3ed73771d2091eab1daace629d36202fa30
refs/heads/master
2020-03-30T12:18:51.575022
2018-12-15T15:07:02
2018-12-15T15:07:02
151,218,668
0
0
null
null
null
null
UTF-8
C++
false
false
260
cpp
void long_chemin (mat G, int S, tab &M, tab &longeur){ M[s]=true; printf("%d est visite a une distance de %d de la source",s,longeur[s]); for(i<SIZE){ if(G[s][i]!=-1 && (!M[i])){ longeur[i] = longeur[s]+G[s][i]; long_chemin(G,i,M,longeur); } } }
[ "matthew@coyle.fr" ]
matthew@coyle.fr
d0c8a13097f56f70812f633306e53c73097a3002
4c39ed31fe1268302952bbe5c2cd456c8083281e
/ProjectEuler/99.cpp
37cae8fc41ef322921ea55f151b4a21dd6031e60
[]
no_license
Abhay4/Algorithm
37e3b8bd3c9990b896d862f1aa20ad8312f20e75
50b157e027c7f0c085a8a15929422e75851fafc4
refs/heads/master
2020-12-11T01:37:58.200719
2018-01-24T18:24:05
2018-01-24T18:24:05
38,934,843
0
0
null
2015-07-11T17:46:17
2015-07-11T17:46:17
null
UTF-8
C++
false
false
1,528
cpp
#include <iostream> #include <sstream> #include <algorithm> #include <iterator> #include <vector> #include <set> #include <cmath> using namespace std; #define REP(i,n) for(int i=0;i<(n);++i) #define FOR(i,a,b) for(int i=(a);i<=(b);++i) #define RFOR(i,a,b) for(int i=(a);i>=(b);--i) typedef long long LL; vector<string>...
[ "wendai@wendai1026.redmond.corp.microsoft.com" ]
wendai@wendai1026.redmond.corp.microsoft.com
ad498a296bcbd31a31b31922276203e1a66dc5aa
9d672dec24baa22c51ad51fa73f1af1cbe07c3a2
/PO-pollard.hpp
f8370bb1449f3f79f5437d3fde11ff53665e548c
[]
no_license
tomorrowzhuwt/rho-pollard
cd0b2596d0c6d0cb4b3b736be545b5e787571e6c
928bd36aba99dc7aa386d941be4ce7074f70fa9a
refs/heads/master
2020-03-19T03:17:06.830962
2016-05-08T13:59:08
2016-05-08T13:59:19
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,436
hpp
#ifndef PO_POLLARD_HPP_INCLUDED #define PO_POLLARD_HPP_INCLUDED /** \file PO-pollard.hpp * * \brief rho-Pollard & GCD implementaion * * \author Strizhniou Fiodar * \copyright Creative Commons Attribution-NonCommercial-ShareAlike */ #include <iostream> #include <assert.h> /** \brief Binary GCD algor...
[ "fedor_qd@mail.ru" ]
fedor_qd@mail.ru
991125e0744c6eaa4b1c4aec52b819f5748d412f
5eac322d96620863c35f0aad1bd346d311e42724
/LeetCode/Array/Missing Number.cpp
efa677adef0fc2e9092566df93627e4e7a2562aa
[]
no_license
ceosss/coding
fcff2934b9b3942e541ea8b9bac2f00dfc5f7fc0
26606ee955ca362539fd06cade7fca37f608e066
refs/heads/master
2023-09-02T18:17:08.291926
2021-11-19T15:33:51
2021-11-19T15:33:51
262,366,409
1
0
null
null
null
null
UTF-8
C++
false
false
730
cpp
class Solution { public: int missingNumber(vector<int> &nums) { // TC - o(n) int n = nums.size(); int sum_original = (n * (n + 1)) / 2; int sum_found = 0; for (auto i : nums) sum_found += i; return sum_original - sum_found; // TC - o(n^2) ...
[ "sswarajsamant@gmail.com" ]
sswarajsamant@gmail.com
02764b1715c3f7e829dafe70c263e15a48edd34d
0ef832d8eaedc16253cc220bc704a52597d248fe
/newntui/discovermdi/src/dormantprocessor.cpp
1595a9212e6b0fcad5843f764bde29d84a57f04a
[ "BSD-2-Clause" ]
permissive
radtek/software-emancipation-discover
9c0474b1abe1a8a3f91be899a834868ee0edfc18
bec6f4ef404d72f361d91de954eae9a3bd669ce3
refs/heads/master
2020-05-24T19:03:26.967346
2015-11-21T22:23:54
2015-11-21T22:23:54
187,425,106
1
0
BSD-2-Clause
2019-05-19T02:26:08
2019-05-19T02:26:07
null
UTF-8
C++
false
false
7,156
cpp
/************************************************************************* * Copyright (c) 2015, Synopsys, Inc. * * All rights reserved. * * * * Redistribution and...
[ "ktransue@synopsys.com" ]
ktransue@synopsys.com
a1b66521bfa9490197f39500c3814c0b11c8dc92
ac4c1958e54535b2e712c22ced38a41627c80107
/server/interface/ipriv.h
7849f5cbd7cf05ef6431afefd68248587e757f13
[]
no_license
koziolekrg/b1chat
8c57b47f69c31412e025df4c2be94d17d3bd13bf
2be0859e97010050750473ddb93ab62ec5615fe8
refs/heads/master
2020-04-14T04:10:38.153417
2016-10-12T11:50:55
2016-10-12T11:50:55
68,181,039
0
0
null
null
null
null
UTF-8
C++
false
false
359
h
#ifndef IPRIV_H #define IPRIV_H #include <string> #include <vector> class IPriv { public: virtual ~IPriv(){}; virtual bool addNewGroup(std::string title, int16_t client) = 0 ; virtual bool addNewClientToGroup(std::string title, int16_t client) = 0 ; virtual std::vector <int16_t> getClients(std::string...
[ "koziolekrg@gmail.com" ]
koziolekrg@gmail.com
78ecec879b409cb576bac43c8495ef4f71056396
b66cc73bc19dc7127a7d77833e9010b8c791ad36
/lab6/Solve/Solve/Controller.cpp
cadf2404787aed481e09eda9edd494546586d4a9
[]
no_license
exMifsan/oop-lab
b468194e7448b41f3e700f25a415b3966b266091
dbd553e59768e7a259928fd90e73a93dd2a322c6
refs/heads/master
2021-07-08T05:01:59.587681
2017-09-29T16:22:27
2017-09-29T16:22:27
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,468
cpp
#include "stdafx.h" #include "Controller.h" using namespace std; using namespace std::placeholders; CController::CController(std::istream& input, std::ostream& output) : m_input(input) , m_output(output) , m_actions({ { "Help", bind(&CController::Help, this) }, { "Solve", bind(&CController::SolveTheEquation, ...
[ "chocolatefckll@gmail.com" ]
chocolatefckll@gmail.com
bb2eaafd0e9511f4592a883f06f516d09bd14cea
a2fc06cf458f896d2217592ac92098863e755a9c
/src/library/pointlist/facelist.cpp
a1eff2ad3c154605fa84214140683321c4ecf07e
[]
no_license
MrBrood/Stanford-Junior-self-driving-car
ba3f2a07a9366d3566def59fd25f90bad55748d2
d999e94bb287933666dac82129cad6702923a8e1
refs/heads/master
2023-07-18T04:56:02.055754
2020-08-21T01:31:46
2020-08-21T01:31:46
null
0
0
null
null
null
null
UTF-8
C++
false
false
4,389
cpp
#include <roadrunner.h> #include <GL/gl.h> #include <GL/glut.h> #include "facelist.h" void dgc_facelist_new(dgc_facelist_p points, int num_points) { points->num_points = num_points; points->points = (dgc_polygon_p)calloc(points->num_points, sizeof(dgc_polygon_t)); dgc_te...
[ "6959037@qq.com" ]
6959037@qq.com
0b728a5d578a3c9e8e52f15bf6e4f9ce653f2b23
751d3736a4ae0ccad69122a53a65dcc6d242c63c
/SharedUtility/MyUtils/MyUtil.h
34b6a157c0b8c73878196f599c189f04f69be9aa
[ "MIT" ]
permissive
RaphaelK12/FbxModelViewer
5108c920174beb3a4d4e02695cb8b75c08ee5daa
498e130494cf04aeabc49344baa335285094abd1
refs/heads/master
2022-12-29T01:04:03.792780
2020-09-26T02:39:03
2020-09-26T02:39:03
null
0
0
null
null
null
null
UTF-8
C++
false
false
13,834
h
#pragma once // FBX にも Direct3D にも OpenGL にも依存しないユーティリティを記述する。 // ただし CRT、Boost、WinAPI および MFC/ATL には依存する。 // NOTE: 文字列クラスは移植性よりも速度・メモリ効率や機能性が必要な部分や、MFC/ATL との境界面には、MFC/ATL の CString 系列を使う。 // なお、Windows ストア アプリでは ATL の CStringW, CPathW は使えるが、CStringA, CPathA が使えない。 // また、ANSI マルチバイト文字列が廃止されている。 // 明示的に ASCI...
[ "whitekatyusha@yahoo.co.jp" ]
whitekatyusha@yahoo.co.jp
22a2fa145ea6fdbf02391936d6f354dbb1b0e933
111c3ebecfa9eac954bde34b38450b0519c45b86
/SDK_Perso/include/Cockpit/Base/Header/Avionics/avMechanics.h
5694525fb768430d3700cc20fa1b720532be9d63
[]
no_license
1059444127/NH90
25db189bb4f3b7129a3c6d97acb415265339dab7
a97da9d49b4d520ad169845603fd47c5ed870797
refs/heads/master
2021-05-29T14:14:33.309737
2015-10-05T17:06:10
2015-10-05T17:06:10
null
0
0
null
null
null
null
UTF-8
C++
false
false
9,638
h
#pragma once #include "Avionics/avDevice.h" #include "wFloat.h" #include "Utilities/ccUtilities.h" #include "FMElectricSystems/Items/MultiThrowSwitch.h" #include "FMElectricSystems/Items/Wire.h" namespace Lua { class Config; } namespace cockpit { class GaugeBiasChunk { public: GaugeBiasChunk() : min_val(0.0)...
[ "hashmaaal@gmail.com" ]
hashmaaal@gmail.com
ccdc95517e6a97653ce270cb3d72fc0c6f16338f
0da624ab75d88a1f27ac8a87a27a8e25209007e6
/sources/enduro2d/utils/filesystem_impl/files_posix.cpp
e6ee5ba552c82e83ef057182bb6dcf083342c0e6
[ "MIT" ]
permissive
BobDeng1974/enduro2d
e2a6ebf3ac681e4c77676757e71cdba3f58ca2cc
f8721f365a91353ff3c96b63fa8186d8bd98406b
refs/heads/master
2020-08-03T06:20:54.860890
2019-09-05T11:38:07
2019-09-05T11:38:07
null
0
0
null
null
null
null
UTF-8
C++
false
false
6,035
cpp
/******************************************************************************* * This file is part of the "Enduro2D" * For conditions of distribution and use, see copyright notice in LICENSE.md * Copyright (C) 2018-2019, by Matvey Cherevko (blackmatov@gmail.com) ***************************************************...
[ "blackmatov@gmail.com" ]
blackmatov@gmail.com
fea4c85d7a536785cb68401a7b21e5aa399f5867
8dafe0da13657e7cae5fdf023461bdc5f54afab6
/Review/widget.h
616086d9293c621f826fe5bacb7ef08274c3e3b2
[]
no_license
waynegod/Qt-Learning
0901f0ccd5bf02a89ae61c9bdb06046051c11467
088666938e1cd7c88bcf30fd43cdd3a2788191e1
refs/heads/master
2021-08-24T13:43:42.252356
2017-11-21T08:47:47
2017-11-21T08:47:47
109,367,924
0
0
null
null
null
null
UTF-8
C++
false
false
181
h
#ifndef WIDGET_H #define WIDGET_H #include <QWidget> class Widget : public QWidget { Q_OBJECT public: Widget(QWidget *parent = 0); }; #endif // WIDGET_H
[ "noreply@github.com" ]
waynegod.noreply@github.com
f683954df94e2b4557c3e1d51d359dfc9b3b8d35
cb9bbac43da9262d23017de87813ef5a849e3421
/Lab7/Lab7/Lab7.ino
2f3838005f99e11cffd3c062caf263b7739c3d35
[]
no_license
kebradford/ECE4960
887677a58e81ab6695eb60194019e7923c62b6ee
ae1b327e170954cd0875c5f911b9f8560d332ece
refs/heads/master
2023-01-30T14:30:55.004871
2020-12-17T22:08:58
2020-12-17T22:08:58
292,678,685
0
0
null
null
null
null
UTF-8
C++
false
false
3,919
ino
/////////Motor and IMU Stuff//////////////////////////////////////////////////////////// #include "ICM_20948.h" // Click here to get the library: http://librarymanager/All#SparkFun_ICM_20948_IMU #include "math.h" #include <Arduino.h> #include <stdint.h> #include "SCMD.h" #include "SCMD_config.h" //Contains #defines f...
[ "bradfordkatiee@gmail.com" ]
bradfordkatiee@gmail.com
23d6e24999631c57fd53663aa172d8e301965687
5235ae66b46cfd628a0988ea10730b33c81c2e91
/mirror/Main.cpp
9fbb2b3e29ea944124d05ae13fd21342d93b1266
[]
no_license
anstn1993/c-_practice
c761234303a439da3df8839abda1133c8afed5c4
d2f4a7c77778fd9a4415eaa239eac8e55f77f176
refs/heads/master
2022-03-18T21:40:50.599718
2019-12-12T09:34:02
2019-12-12T09:34:02
223,435,607
0
0
null
null
null
null
UTF-8
C++
false
false
99
cpp
#include "Mirrorstring.h" using namespace samples; int main() { MirroStringExample(); return 0; }
[ "anstn1993@gmail.com" ]
anstn1993@gmail.com
aaf950a0095ed705a446feb9e277a1c6069544b0
b3392d0a195c0d94f6197e0f561195b670a6d47c
/quartile_cal.cpp
2ab2911e9ce800371335eae2097c0c0c13f3ef9b
[]
no_license
ths205/C-plus-plus
ed7bc3c6be6b26e1343373f8c9874b2a71e70abd
e3d031828ea3b098eba5124df0e1e046c7479898
refs/heads/master
2022-02-25T20:29:08.722168
2022-02-10T18:01:46
2022-02-10T18:01:46
10,113,868
0
0
null
null
null
null
UTF-8
C++
false
false
1,745
cpp
//Calculates the first,second and third Quartiles of an array #include <cmath> #include <cstdio> #include <vector> #include <iostream> #include <algorithm> using namespace std; int main() { /* Enter your code here. Read input from STDIN. Print output to STDOUT */ int n; cin>>n; if( !cin || n<=0) ...
[ "noreply@github.com" ]
ths205.noreply@github.com
e09d86e779da1035cb9ff624cef72de833b0f8bd
c60e4f97890cc7329123d18fd5bc55734815caa5
/3rd/xulrunner-sdk/include/nsIMemory.h
11dddd834b3665c1e28d64dd8ad2219dfe1f0f08
[ "Apache-2.0" ]
permissive
ShoufuLuo/csaw
cbdcd8d51bb7fc4943e66b82ee7bc9c25ccbc385
0d030d5ab93e61b62dff10b27a15c83fcfce3ff3
refs/heads/master
2021-01-19T10:02:51.209070
2014-04-30T19:53:32
2014-04-30T19:53:32
16,976,394
0
0
null
null
null
null
UTF-8
C++
false
false
4,378
h
/* * DO NOT EDIT. THIS FILE IS GENERATED FROM /builds/slave/rel-m-rel-xr-osx64-bld/build/xpcom/base/nsIMemory.idl */ #ifndef __gen_nsIMemory_h__ #define __gen_nsIMemory_h__ #ifndef __gen_nsISupports_h__ #include "nsISupports.h" #endif /* For IDL files that don't want to include root IDL files. */ #ifndef NS_NO_V...
[ "luoshoufu@gmail.com" ]
luoshoufu@gmail.com
c4be7735620f71f504522e3479bfdfe7611203b2
3280d7dc9ac78d970aa0054ac9636dbe751df681
/include/dnsrpc_constants.h
34f462c56aab2e81e0bd8234daf467d4293d7a8c
[]
no_license
he475943497/new_edns_dial
ff21e4a88c5185d8d0359089a1b884df53882d17
89c2627e9fc56e8aa57207995d35141531035f54
refs/heads/master
2021-05-08T04:16:26.871575
2017-10-31T08:04:55
2017-10-31T08:04:55
108,391,696
1
0
null
null
null
null
UTF-8
C++
false
true
408
h
/** * Autogenerated by Thrift Compiler (0.9.0) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ #ifndef dnsrpc_CONSTANTS_H #define dnsrpc_CONSTANTS_H #include "dnsrpc_types.h" namespace rpc { namespace yamutech { namespace com { class dnsrpcConstants { public: dnsrpcConst...
[ "ww.he@yamutech.com" ]
ww.he@yamutech.com
483376a30a16fb76f91bbe44b0d8d43c2a547cf7
757c29b9f49427f7116972d84c08d87d8aa4e333
/standard_algorithm/FenwickTree.cpp
ad170ff6680cda6d22cbb99770f037e6a620a6a2
[]
no_license
jKhurana/competitive_coding
4ed3a8aa8b32b05b8a32c50bfe84bffdb64dc679
37fd652e5ba925596f41094014b51665a8f6ba0e
refs/heads/master
2020-06-13T16:53:29.684831
2019-03-18T19:05:56
2019-03-18T19:05:56
75,524,541
0
0
null
null
null
null
UTF-8
C++
false
false
498
cpp
#include <stdio.h> #include <iostream> #include <cstring> #include <vector> using namespace std; void create_fenwick(vector<int> &freq,vector<int> &tree) { int add,j; for(unsigned int i=1;i<freq.size();i++) { add=freq[i]; j=i; while(j<=n-1) { tree[j]=tree[j]+add; } } } int main() { int n,temp; ...
[ "jatinkhurana9@gmail.com" ]
jatinkhurana9@gmail.com
86cdc2b9b6f26346675e22660a8f20c86a02557b
e9ade5ea33cf3382f8ab3ad980e7f6d8cb76faf8
/solved/RobertCppPrograming/extern1.cpp
eef950d9c8f4301925f74ec0af141f94b416a237
[]
no_license
Creamy1137689/kyopro
75bc3f92edb7bff2cbf27dc79d384b422a0a4702
dcacbf27defe840ea7998e06a5f3fb78718e7d53
refs/heads/master
2023-05-10T19:28:56.447493
2021-06-03T12:54:11
2021-06-03T12:54:11
266,143,691
0
0
null
null
null
null
UTF-8
C++
false
false
108
cpp
#include <iostream> using namespace std; int a = 2; void func(){ cout << "a = " << a << endl; }
[ "exception031noexist@gmail.com" ]
exception031noexist@gmail.com
2006b384960eb1e9fd372cd3dd3b67eb43aa3ead
1af49694004c6fbc31deada5618dae37255ce978
/chrome/browser/ui/views/frame/tab_strip_region_view_unittest.cc
777e9e998e7cab5a2f6c9c4fe0a1dd076e03b738
[ "BSD-3-Clause" ]
permissive
sadrulhc/chromium
59682b173a00269ed036eee5ebfa317ba3a770cc
a4b950c23db47a0fdd63549cccf9ac8acd8e2c41
refs/heads/master
2023-02-02T07:59:20.295144
2020-12-01T21:32:32
2020-12-01T21:32:32
317,678,056
3
0
BSD-3-Clause
2020-12-01T21:56:26
2020-12-01T21:56:25
null
UTF-8
C++
false
false
10,510
cc
// Copyright (c) 2020 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/ui/views/frame/tab_strip_region_view.h" #include <memory> #include <string> #include "base/feature_list.h" #include "base/t...
[ "commit-bot@chromium.org" ]
commit-bot@chromium.org
23bc53fd45e680ba0c26f56b848b54865723fedf
87ec6512217d88fc2919ec8ca1b336f6fb1b01e9
/Common/Sources/VProjectItem.h
7f5c877fe75f8fff4ecf28d001cee2bdc1e229b5
[]
no_license
tzuchiangshen/core-Wakanda
9002e7013e0b2221217373deb4713030f7cb296c
c1b4fb1ef7bce79b3d3d453a4112e77d6d37ba36
refs/heads/master
2021-01-17T08:46:59.059280
2013-05-16T15:03:30
2013-05-16T15:03:30
null
0
0
null
null
null
null
UTF-8
C++
false
false
26,875
h
/* * This file is part of Wakanda software, licensed by 4D under * (i) the GNU General Public License version 3 (GNU GPL v3), or * (ii) the Affero General Public License version 3 (AGPL v3) or * (iii) a commercial license. * This file remains the exclusive property of 4D and/or its licensors * and is protected by na...
[ "stephane.hamel@4d.com" ]
stephane.hamel@4d.com
a7882dffa1aa051e05426ad1969acac3dced30e5
17b9e156eafafe2b2ec34bedbe54dd1c072fc8da
/src/rpcblockchain.cpp
edc590febbd48db3be0df50d7158579f924cb258
[ "MIT" ]
permissive
Nikita8669/ZaardeCore
39af59cabba96fb58da6eea151e46139c4bd81ce
9bc06bb2a5d364fbdcb4071dd457dcf82cf2aceb
refs/heads/master
2020-09-03T18:25:09.447435
2019-11-04T16:17:58
2019-11-04T16:17:58
219,532,505
0
6
null
null
null
null
UTF-8
C++
false
false
38,192
cpp
// Copyright (c) 2010 Satoshi Nakamoto // Copyright (c) 2009-2014 The Bitcoin developers // Copyright (c) 2014-2015 The Dash developers // Copyright (c) 2015-2017 The PIVX developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php...
[ "nikki.bisschoff@gmail.com" ]
nikki.bisschoff@gmail.com
4595b37d016c72cdee70db690c1c9048953d9ee1
0363e5f25ce4d6e2ef0f122c0f430f64521252b7
/Problems/PTA/B1007.cpp
fd23821257da912e7d68be20e905537147d5d721
[ "Apache-2.0" ]
permissive
five-5/code
b734f7c4e63b93f6d06f210fb3e2b0c68f4ae6a1
9c20757b1d4a087760c51da7d3dcdcc2b17aee07
refs/heads/master
2021-06-30T02:53:46.463096
2020-10-13T02:37:14
2020-10-13T02:37:14
177,311,694
0
0
null
null
null
null
UTF-8
C++
false
false
432
cpp
#include <cstdio> #include <cmath> bool isPrime(int n) { if (n <= 1) return false; for (int i = 2; i <= std::sqrt(n); ++i) { if (n % i == 0) return false; } return true; } int main() { int n, count = 0; scanf("%d", &n); for (int i = 3; i + 2 <= n; i+=2) { if (isPr...
[ "535237609@qq.com" ]
535237609@qq.com
0644c0fb5024571e6632a82acd444dc6a2a3e757
c3de57676ebc2c4f6d0849347798534f85ab9a72
/GUILib/src/GLMeshDisplayWindow.cpp
73b39da25fac8be6197105cfdf1343aa1757dcdb
[]
no_license
plusminus34/Interactive_thin_shells_Bachelor_thesis
0662f6d88d76d8d49b2b6066bf1d2b0fc258f01e
85f034a476eeab8d485f19a6ea3208498061a4da
refs/heads/main
2023-03-10T15:15:53.666726
2021-02-24T08:01:25
2021-02-24T08:01:25
341,820,202
0
1
null
null
null
null
UTF-8
C++
false
false
700
cpp
#include <GUILib/GLApplication.h> #include <GUILib/GLMeshDisplayWindow.h> #include <Utils/Utils.h> #include <GUILib/GLUtils.h> #include <GUILib/GLContentManager.h> #include <GUILib/GLMesh.h> #include <GUILib/GLCamera.h> #include <GUILib/GLTrackingCamera.h> /** Default constructor */ GLMeshDisplayWindow::GLMeshDispla...
[ "moritzgeilinger@gmail.com" ]
moritzgeilinger@gmail.com
64836697cfcb8897b4e0d96fdc1a52ee67724460
8f3d9eb1d632282a55ea5a5c3dfe6f23e6d1b76c
/Wawaji-Server-Windows/wwj_demo/libs/nim_sdk_desktop/nim_cpp_sdk/api/nim_cpp_msglog.h
af1f90037bc1e82e083ba424b6b93bc25bdc731a
[ "MIT" ]
permissive
jzsplk/Wawaji
086580efb5ecf952b990a36bb5cd8a6a9a1fc6f7
45c51c3cd1b49a4a926b76b6e4e31a331ede66ee
refs/heads/master
2020-03-12T15:29:40.437612
2018-04-23T12:03:00
2018-04-23T12:03:00
130,691,413
1
0
null
2018-04-23T12:13:28
2018-04-23T12:13:28
null
UTF-8
C++
false
false
21,028
h
/** @file nim_cpp_msglog.h * @brief 消息历史 * @copyright (c) 2015-2017, NetEase Inc. All rights reserved * @author towik, Oleg * @date 2015/2/1 */ #ifndef _NIM_SDK_CPP_MSGLOG_H_ #define _NIM_SDK_CPP_MSGLOG_H_ #include <string> #include <functional> #include "nim_msglog_helper.h" #include "nim_talk_helper.h" ...
[ "hzgaoqi1@corp.netease.com" ]
hzgaoqi1@corp.netease.com
64c2f15807b5d7d979b7b90b72a574fa39f4f4e5
6335043b83fcfc0cd9537ee775dc3badbfb6d478
/examples/dcps/QueryCondition/isocpp/publisher.cpp
600464724bb6cc704ea6708d605acaebfde52f75
[]
no_license
satej1210/CasinoRoyale
5d989ef1e3b88ee032c4cc847b235c5b2d2a43f6
f3de3fc29d27d58e95852bd674021743b91f4eee
refs/heads/master
2021-03-24T12:51:58.889956
2017-11-15T07:22:11
2017-11-15T07:22:11
73,645,806
1
1
null
null
null
null
UTF-8
C++
false
false
528
cpp
/* * OpenSplice DDS * * This software and documentation are Copyright 2006 to 2013 PrismTech * Limited and its licensees. All rights reserved. See file: * * $OSPL_HOME/LICENSE * * for full copyright notice and license terms. * */ #include "implementation.hpp"...
[ "satej1210@live.com" ]
satej1210@live.com
e60ebf61de415a589da309610deaf2dee7d726a3
51e8260df21001498150dc4dcadd36a364300e24
/src/test/resources/results/armadillo/testMath/l0/test_math_tanCommandTest.h
254b49abb7d84664d795688a43db53ef4574891c
[]
no_license
Qwertzimus/EMAM2Cpp
f733a19eaf8619df921aaff9ee401d1c4e8314e8
6f5a7ffa880fa223fd5e3d828239b7d3bbd2efa1
refs/heads/master
2020-03-20T22:34:50.299533
2018-05-22T16:51:38
2018-05-22T16:51:38
null
0
0
null
null
null
null
UTF-8
C++
false
false
276
h
#ifndef TEST_MATH_TANCOMMANDTEST #define TEST_MATH_TANCOMMANDTEST #ifndef M_PI #define M_PI 3.14159265358979323846 #endif #include "armadillo.h" using namespace arma; class test_math_tanCommandTest{ public: void init() { } void execute() { double a = (tan(0.5)); } }; #endif
[ "sascha.schneiders@rwth-aachen.de" ]
sascha.schneiders@rwth-aachen.de
fbb371dd3f34045e0c8f9f0bb5078aac651a78d6
83e687bc3f6878e4d739072be7380b5f285c6490
/dgconst.h
77919d9bd454779f4c29e7b82358ed4a11510295
[]
no_license
miheslkivi/PPFCU-controller
7c18fb7d9802645d0e3e1af7e642f69dbe26e5e2
dff94ced522887fd325cfa99d6056f98e4c80e8f
refs/heads/master
2021-05-04T22:29:37.894183
2018-04-23T13:00:18
2018-04-23T13:00:18
120,038,935
2
0
null
null
null
null
UTF-8
C++
false
false
2,040
h
/* * * Controller and info program for Pac-person freespace continuum undiscreted * ( PPFCU or p-pf-scu-d ) - Copyright (C) 2018 by Mikko Heiska * * *** You may use this file under the terms of the BSD license as follows: ** ** "Redistribution and use in source and binary forms, with or without ** modific...
[ "mihepeau@suomi24.fi" ]
mihepeau@suomi24.fi
d6e7623725cc257bf6085929e0bca17ebd487149
ffc0f86fc1110564ca188b8e22a8e5de5c31e24d
/lab14_5.cpp
97f1a89e2e00f002c2f6d8f865d79cea2fae07af
[]
no_license
jerryc137th/lab_14
ec0f1f2de2d6a4ffe04f2fb5639ac359d2d36ddf
f6da4e089976c6f57cd36709994a149c3a2af3d2
refs/heads/master
2023-02-26T12:35:51.792222
2021-02-02T11:11:59
2021-02-02T11:11:59
335,261,425
0
0
null
null
null
null
UTF-8
C++
false
false
696
cpp
#include <iostream> #include <cstdlib> #include <ctime> using namespace std; void shuffle(int *,int *, int *, int *); //Modify input arguments to pointer int main(){ int a = 50, b = 100, c = 500, d = 1000; srand(time(0)); for(int i = 0;i < 10;i++){ shuffle(&a,&b,&c,&d); //Modify input arguments to point...
[ "noreply@github.com" ]
jerryc137th.noreply@github.com
1db6693d30caaf1f97739ce90aa52a7128a80795
940dd9691f1409d9f12c5f0f6912b36d4c6bf0bf
/include/boost/mpl/permutations.hpp
8f7cdad424e5ef3a41e21718f42bacd54584ff11
[ "BSL-1.0" ]
permissive
blockspacer/mpl_extensions
06e6591b122e6ba42f0d2da7802b4a65ac37b2f1
ca728992567b96dad884be1658b0822a955174cc
refs/heads/master
2021-04-24T03:39:04.068234
2013-09-28T13:47:50
2013-09-28T13:47:50
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,623
hpp
/*! * @file * Defines `boost::mpl::permutations`. */ #ifndef BOOST_MPL_PERMUTATIONS_HPP #define BOOST_MPL_PERMUTATIONS_HPP #include <boost/mpl/copy.hpp> #include <boost/mpl/fold.hpp> #include <boost/mpl/front_inserter.hpp> #include <boost/mpl/list.hpp> #include <boost/mpl/placeholders.hpp> #include <boost/mpl/push...
[ "ldionne.2@gmail.com" ]
ldionne.2@gmail.com
91578af0d04c7cdaddb44ff3b36c72d851a2742f
d3f554e22644369444f287487a5b429bcf8393ea
/pta1009.cpp
a9bc308aa4646311dfad71a0f7fe130016aef035
[]
no_license
momoshenchi/PAT-Advanced-level
19a74ee3791060c13392faf93124c66be750ab55
a014d5c1cd0183cd0530ea2e8138ec0e318ec10f
refs/heads/master
2020-09-16T20:23:52.327746
2020-06-08T08:38:24
2020-06-08T08:38:24
223,880,110
0
0
null
null
null
null
UTF-8
C++
false
false
813
cpp
#include <bits/stdc++.h> #define MAX 501 #define INF 0x7fffffff using namespace std; map<int,double,greater<int>>dit1; map<int,double,greater<int>>sum; int main(void) { int now=0,n1,n2; int a;double b; cin>>n1; for(int i=0;i<n1;++i) ...
[ "982060958@qq.com" ]
982060958@qq.com
c4446a3a9bf6722dca948175dd096864b486b858
fa55f3745c046c591018002c39eb82f6c17662dd
/SiblingViterbi.H
178c8669412a04754789bce40f7653afaf928cac
[]
no_license
bmajoros/alignment
bd73cd8a1d56c0eb4672da97a6eb6f51f5d769fa
0bb4b89a0445d4cc2cf8b49ee21a67ecc4e398f8
refs/heads/master
2021-01-20T04:30:21.310099
2015-08-13T18:54:03
2015-08-13T18:54:03
40,673,892
0
0
null
null
null
null
UTF-8
C++
false
false
1,513
h
/**************************************************************** SiblingViterbi.H william.majoros@duke.edu This is open-source software, governed by the Gnu General Public License (GPL) version 3 (see www.opensource.org). ****************************************************************/ #ifndef INCL_SiblingVite...
[ "martiandna@gmail.com" ]
martiandna@gmail.com
b92b028ef35feede97d86ab2926999aaf09fee90
45d2a4d3d738e3ded35908a17f2bae65b5aac57d
/pgAdmin/include/schema/edbPackageFunction.h
fb04ec83c84771fae50a435b3a5593c6be528cb1
[ "PostgreSQL" ]
permissive
asdbaihu/Database-Designer-for-pgAdmin
fa2fb39fe1c4908567e817b6945b5c163d440437
502afe753362233eb8ecb60004fee9346579b2ef
refs/heads/master
2020-07-08T11:07:54.105552
2010-08-14T23:55:45
2010-08-14T23:55:45
null
0
0
null
null
null
null
UTF-8
C++
false
false
3,505
h
////////////////////////////////////////////////////////////////////////// // // pgAdmin III - PostgreSQL Tools // RCS-ID: $Id: edbPackageFunction.h 8189 2010-02-25 22:10:21Z dpage $ // Copyright (C) 2002 - 2010, The pgAdmin Development Team // This software is released under the PostgreSQL Licence // // edbPackag...
[ "ziul1979@gmail.com" ]
ziul1979@gmail.com
dfea6329164caf5fb61955a5db6e4bced053c2f6
624511f6ad0cf17a2ba1a1ea1f25c3b139ce4295
/topchain/src/primitives/transaction.h
9e901225f2ef4b020c8ee5a37553538f61b28b1a
[]
no_license
lightchainone/lightchain
7d90338d4a4e8d31d550c07bf380c06580941334
6fc7019c76a8b60d4fd63fba58fa79858856f66b
refs/heads/master
2021-05-11T05:47:17.672527
2019-12-16T09:51:39
2019-12-16T09:51:39
117,969,593
23
6
null
null
null
null
UTF-8
C++
false
false
12,160
h
// Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2016 The Bitcoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #ifndef BITCOIN_PRIMITIVES_TRANSACTION_H #define BITCOIN_PRIMITIVES_TRANSACTION_H...
[ "dongyunbiao@itrustdata.com.cn" ]
dongyunbiao@itrustdata.com.cn
d20d2c602ab628f57ac8beecf476bfa33ebf250e
d70ccc804729cb8af2c7076383c8965c6d3e0952
/UVA online judge/AOAPC I_ Beginning Algorithm Contests (Rujia Liu)/Volume 0. Getting Started/10055 - Hashmat the Brave Warrior.cpp
3f407ac009b66e64474b94be38c2921cd1bee63e
[]
no_license
Saqib29/Problem-solving
5f57bfac02ff85f3e134de78a242c0cb2c8e4523
ecf966a8c6beda52218c76017981deffe6abdc08
refs/heads/master
2021-07-03T10:18:26.484183
2020-09-09T19:06:24
2020-09-09T19:06:24
164,236,758
0
0
null
null
null
null
UTF-8
C++
false
false
376
cpp
#include <iostream> #include <cstdio> using namespace std; int main() { long long int a, b; //there was data type problem // unsigned didn't work here! while(scanf("%lld %lld", &a, &b) != EOF) { if(a<b) { printf("%lld\n", b-a); } else ...
[ "saqib29111@gmail.com" ]
saqib29111@gmail.com
ed9038259b475443438c4ff7e743bc3749e4f30d
11a246743073e9d2cb550f9144f59b95afebf195
/kattis/largesttriangle.cpp
dd996b82b12b926c854137ca5fdb3481b6af771b
[]
no_license
ankitpriyarup/online-judge
b5b779c26439369cedc05c045af5511cbc3c980f
8a00ec141142c129bfa13a68dbf704091eae9588
refs/heads/master
2020-09-05T02:46:56.377213
2019-10-27T20:12:25
2019-10-27T20:12:25
219,959,932
0
1
null
2019-11-06T09:30:58
2019-11-06T09:30:57
null
UTF-8
C++
false
false
1,696
cpp
#include <bits/stdc++.h> using namespace std; #define all(x) begin(x), end(x) using ll = long long; using ld = long double; using pii = pair<int, int>; using vi = vector<int>; using pt = pair<ll, ll>; ll ccw(const pt& a, const pt& b, const pt& c) { ll x1 = b.first - a.first; ll y1 = b.second - a.second; ...
[ "arnavsastry@gmail.com" ]
arnavsastry@gmail.com
e3038baabf9d628a92e295cd2572bf36de18cb46
0ee652fc4120dc35d1f4114db31fd34b8cd0c2b5
/t1/q1/FibonacciHeap/FibonacciHeap.h
361b057c8bdeb7717052f01a17023cee86a59c5b
[]
no_license
luizfls/paa211
819bdb22df4a908931cd8e0422138db43959aefc
8590119b1b0746ad0bca3d6e17cce21fba386cfa
refs/heads/main
2023-06-05T03:15:36.457654
2021-06-15T16:39:26
2021-06-15T16:39:26
363,583,121
0
0
null
null
null
null
UTF-8
C++
false
false
3,137
h
#pragma once #include <algorithm> #include <cmath> #include <cstddef> #include <iterator> #include <list> #include <optional> #include <stdexcept> #include <utility> #include <vector> template <typename T> struct FibonacciHeap { using value_type = T; private: struct Node; public: using NodePtr = typename...
[ "luiz.felipe7@gmail.com" ]
luiz.felipe7@gmail.com
6c4250fc06f8b04b29211acda528a25c86211556
eeaeb9bfeb56cff52b074b413b259c5de64eba24
/Principle 5/src/AllPrinciplesExemplar.cpp
684c13b75b4a07483cbabdc7a282b5dbc2e0b147
[]
no_license
UW-COSC-4010-5010-CYBER-FA-2017/foundational-concepts-in-cybersecurity-aphorism14
4bc5dac805f456d7fef4c934bfa61a777f35520f
d7d7d5e91765e1085c45c1533cc59c76ca4dcef3
refs/heads/master
2021-07-24T06:16:41.737136
2017-11-01T06:03:17
2017-11-01T06:03:17
104,931,760
0
0
null
null
null
null
UTF-8
C++
false
false
9,216
cpp
// Russell Todd // Cybersecurity // Principle 1 (Domain Separation) Exemplar // Principle 2 (Process Isolation) Exemplar // Principle 3 (Resource Encapsulation) Exemplar // Principle 4 (Least Privilege) Exemplar // Principle 5 (Modularity) Exemplar // Principle 6 (Layering) Exemplar // Principle 7 (Ab...
[ "noreply@github.com" ]
UW-COSC-4010-5010-CYBER-FA-2017.noreply@github.com
535fb8cfeecf26f52cfc84bf6233ea06734488f4
7d5538864d38167b2cb66764b4ea5c85bee0c918
/atcoder/abc/219/c.cpp
95152aacaaf5dfb8467ab7a040d4cecb7de64128
[]
no_license
iPolyomino/contest
ec63acef925bf4a9b562aab46fc247d0fe7a71b9
96bea95174cc320f0620da322a25668ac5c500cd
refs/heads/master
2023-07-09T01:19:33.026494
2023-06-24T01:06:13
2023-06-24T01:06:13
163,596,349
0
0
null
null
null
null
UTF-8
C++
false
false
596
cpp
#include <bits/stdc++.h> using namespace std; string X; bool compare(string left, string right) { int lIndex = X.find(left[0]); int rIndex = X.find(right[0]); if (lIndex == rIndex) { if (left.size() == 1) { return true; } else if (right.size() == 1) { return false; } return compare(left.substr(1), ...
[ "macbookpromacbookpromacbookpro@gmail.com" ]
macbookpromacbookpromacbookpro@gmail.com
29595bb857fc8bc25a957b4923bc7e1adb01bc28
101036abb220a37af1ad838e6b68ca6431da39c7
/DHT22 lcd.ino
a367823b9c1fce2e1b02122744bfe9a6bbc30912
[]
no_license
estagio2018/SensorDHT
d2066b5ea0199d89802423c065afd57a15ccae44
90378b293c21c18166260f7edd8ab4f4e8d35f35
refs/heads/master
2020-04-22T12:22:03.721719
2019-02-18T18:39:53
2019-02-18T18:39:53
170,368,963
0
0
null
null
null
null
UTF-8
C++
false
false
1,637
ino
//---------- Bloco de define e inclusão de bibliotecas ----------------// #include "DHT.h" //Biblioteca do DHT #include <Wire.h> //Biblioteca do módulo I2C #include <LiquidCrystal_I2C.h> //Biblioteca do LCD LiquidCrystal_I2C lcd(0x27, 2, 1, 0, 4, 5, 6, 7, 3, POSITIVE); // configurações do LCD #define PINODHT 2 ...
[ "noreply@github.com" ]
estagio2018.noreply@github.com
ab493f8639e22108e1be8f0f92b1f580ff116d60
41bda13313dc1643f55043507cb780012f4a8e0e
/physx_demo/source/gl_manager.cpp
e7cdc02e67a76d1f9765908296a25852528f1229
[]
no_license
BarleyTuan/work
f965307032c42941eceb09c7c1d51db142bd7ba4
fc41c570ac76a23802ea75c903917db7281a5837
refs/heads/master
2021-01-12T11:42:49.324079
2017-02-07T09:37:42
2017-02-07T09:37:42
72,273,204
0
0
null
null
null
null
UTF-8
C++
false
false
3,454
cpp
#include "gl_manager.h" void GlManager::DrawGrid(int grid_size) { glBegin(GL_LINES); glColor3f(0.75f, 0.75f, 0.75f); for(int i = -grid_size; i<=grid_size; i++) { glVertex3f((float) i, 0, (float) -grid_size); glVertex3f((float) i, 0, (float) grid_size); glVertex3f((float) -grid_size, 0, (float) i); glVertex...
[ "handybiz@163.com" ]
handybiz@163.com
826095773911814c19a90c986aac208aa08be17a
53f343023df12ac59d9489de9c0c3611b2cb6bfa
/Chapter11/ex11_1.cpp
e039b78ef1b606ae3b058a71152eb981d3b6e6f9
[]
no_license
Sparrow-hawks/C-Primer-Plus-Exercises
0b1884a25e08fe77cc7bd2038b4602376a11961e
ae9e3df0336b6edaa969d9aae2b04e6808ed8c87
refs/heads/master
2021-04-09T15:44:10.300636
2018-03-18T14:54:45
2018-03-18T14:54:45
125,735,612
0
0
null
null
null
null
UTF-8
C++
false
false
1,679
cpp
// Book: C++ Primer Plus // Chapter: 11 // Exercise: 1 #include <iostream> #include <fstream> #include <cstdlib> #include <ctime> #include "vect_1.h" int main() { using namespace std; using VECTOR::Vector; srand(time(0)); double direction; Vector step; Vector result(0.0, 0.0); unsigned long st...
[ "sparrow-hawk@hotmail.com" ]
sparrow-hawk@hotmail.com
fbc51273fbb7804566ca4f74a6dbcac0dca8eef0
ef2f818f3a89511f854f053904839cf72c756f83
/RandomPlayer.cpp
a2c1668978c8b01a2a93b38bf124a5aaa5055ad0
[]
no_license
Buzzkata/ReversiBoardGame
631f1123ca435f6992ee08631f5e60757d808f2f
6192f685a5245bec0155374ffe29530c8b75931e
refs/heads/main
2023-02-24T19:11:44.578297
2021-01-29T04:43:04
2021-01-29T04:43:04
334,039,161
0
0
null
null
null
null
UTF-8
C++
false
false
389
cpp
//Bozhidar Stoyanov, 0353616 #include "RandomPlayer.h" #include "Board.h" #include "Game.h" #include "ReversiTester.h" #include <vector> using namespace std; //random player class class RandomPlayer : public ComputerPlayer { vector<Move> validMoves; void makeMove() { genValidMoves(); } vo...
[ "noreply@github.com" ]
Buzzkata.noreply@github.com
ff2915ac686cfcfcc65e44c5e3063f3e03bd9d54
a1cf56748379556e3573e45c9f953cfede2c8512
/RandomWalkGenerator.h
c2a791f7368c6a8648e3960f6d892d0f68f8329d
[]
no_license
EdemEkoue98/CProject
f94be9707e3b67c3452ea7be0c2ff88371590146
6a4f666f355fa250c4a05a5f3ed775d7503cebf6
refs/heads/main
2023-03-31T03:16:28.620673
2021-04-03T12:00:22
2021-04-03T12:00:22
354,273,082
0
0
null
null
null
null
UTF-8
C++
false
false
441
h
#include <iostream> #include "RandomWalk.cpp" class RandomWalkGenerator { public: // Methods static RandomWalkGenerator& getInstance(); static RandomWalk generate(int, std::string, float, float, float); private: // Constructor RandomWalkGenerator(); // Methods static std::vecto...
[ "edemedem12345@gmail.com" ]
edemedem12345@gmail.com
16d2fb5c056c01f443581d39e27ccd52b136bf61
c01b74e74650e6dd5f8affac9fb5ce7a970f7ffb
/Source/CoopHordeShooter/Private/CSGameMode.cpp
baa1e6c7c2eb9e428be4fe211b295de54df58eea
[ "MIT" ]
permissive
AomDEV/CoopHordeShooter
af404a25a5e6aa18d2295ce7126f862deec4231f
de118fb1f9379508e40b210f0f7d18ede5541bd3
refs/heads/master
2020-03-29T06:26:32.057564
2018-02-01T08:57:10
2018-02-01T08:57:10
null
0
0
null
null
null
null
UTF-8
C++
false
false
3,710
cpp
#include "CSGameMode.h" #include "TimerManager.h" #include "Engine/World.h" #include "CSHealthComponent.h" #include "CSGameState.h" #include "CSPlayerState.h" ACSGameMode::ACSGameMode(): BotsToSpawn(0), WaveCount(0), TimeBetweenWaves(10.0f) { GameStateClass = ACSGameState::StaticClass(); PlayerStateClass = AC...
[ "relrin78@gmail.com" ]
relrin78@gmail.com
b620698779b0cee9ffde47814a3bb6f8f22026b5
c2efe54b8ad33c2a6f516b865fc104894d800186
/[其他]1001.Travel Information Center.cpp
6e335537cda565e80700aebb12aa5d013f86fc55
[]
no_license
Fly365/AlgorithmCode
2f8df8b934dcd3099d0e6b0fed66b670f28d21b3
389401a4f7eb9f97ff524277c6e049771276e700
refs/heads/master
2021-01-12T17:56:10.927847
2015-10-27T02:00:23
2015-10-27T02:00:23
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,895
cpp
#include <iostream> #include <vector> #include <limits.h> #include <list> using namespace std; #define N 100002 // Any two cities are connected directly or indirectly and there is ONLY one path between any 2 cities class Solution { public: int ShortestPath(vector<list<int> > Map,vector<bool> city,int num){ ...
[ "1203745031@qq.com" ]
1203745031@qq.com
ed2d63fb73c7b3027cfba44f5bc2f74f04a71cb1
abe58add361b401b53045fdacdd8a65635ed7e7f
/src/base/application.h
53b95f74531e1dc0e8bf214d0e7dce57552360db
[ "BSD-2-Clause" ]
permissive
arthurx70/mayo
50862f434a167a5e332c7f676345a1d83f161681
1cec4f6aec31bf942ed9e836849923102780210b
refs/heads/master
2023-01-23T13:14:13.383475
2020-07-09T09:48:12
2020-07-09T09:48:12
null
0
0
null
null
null
null
UTF-8
C++
false
false
4,820
h
/**************************************************************************** ** Copyright (c) 2020, Fougue Ltd. <http://www.fougue.pro> ** All rights reserved. ** See license at https://github.com/fougue/mayo/blob/master/LICENSE.txt ****************************************************************************/ #pragma...
[ "delorme.hugues@fougue.pro" ]
delorme.hugues@fougue.pro
26ad575cbe8c49ce9c553c0d19f344d2b8f34e71
68ea83d49f993e2f2caa630cffdf2f3ee3b35fdf
/tools/aac_converter/aac_converter/test.cpp
15809f12851a869835c7d5f8e915bd1e6f13dfa4
[]
no_license
xiangchunsong520/UnityClientFramework
ac42bdd36cc11c3d1246179d19c7c319b4a3a555
627c9a41ecc5f124bfbee96d070712faa4e9a61e
refs/heads/master
2021-01-23T00:16:04.661357
2018-01-25T17:47:33
2018-01-25T17:47:33
85,711,138
4
2
null
null
null
null
UTF-8
C++
false
false
391
cpp
#include "aac_converter.h" #include <stdio.h> int main() { int id; unsigned long frameSamples, maxOutputBytes; id = StartEncode(44100, 1, &frameSamples, &maxOutputBytes); id = StartEncode(44100, 1, &frameSamples, &maxOutputBytes); printf("id\t%d\n", id); printf("frameSamples\t%d\n", frameSample...
[ "xiangchunsong520@gmail.com" ]
xiangchunsong520@gmail.com
ac6979203256c9932e1b999866d1dd29eebc9b2f
23553b6bcf0a278776f0a651b24a3c6a22a702f9
/ALibrary/Console/tFileToFile.cpp
588a06ad804169423f0e3959ab6486f184643ec0
[]
no_license
achacha/AOS
24ace04a4228de4d0295379d84cb936c2a33511b
bea07af94f23982d4fceb10a9cf70a7e5467355f
refs/heads/master
2020-05-17T12:20:35.667655
2016-02-10T13:33:43
2016-02-10T13:33:43
3,578,772
0
0
null
null
null
null
UTF-8
C++
false
false
326
cpp
#include "AFile_AString.hpp" void testReadWrite() { { AFile_AString source("0123456789"); AFile_AString target; target.write(source, 4); target.write(source, 2); target.write(source, 5); std::cout << target << std::endl; } } int main() { testReadWrite(); return...
[ "achacha@1a8727a7-69a9-4645-974c-ee3eb180c2d6" ]
achacha@1a8727a7-69a9-4645-974c-ee3eb180c2d6
dcfc2ccc547520bed1fc346ca151728e2dc16bc9
ac227cc22d5f5364e5d029a2cef83816a6954590
/applications/physbam/physbam-lib/Public_Library/PhysBAM_Geometry/Grids_RLE_Interpolation_Collidable/INTERPOLATION_COLLIDABLE_RLE_FORWARD.h
3e32d8cc5115bcbf6b1566b8b0322786af392021
[ "BSD-3-Clause" ]
permissive
schinmayee/nimbus
597185bc8bac91a2480466cebc8b337f5d96bd2e
170cd15e24a7a88243a6ea80aabadc0fc0e6e177
refs/heads/master
2020-03-11T11:42:39.262834
2018-04-18T01:28:23
2018-04-18T01:28:23
129,976,755
0
0
BSD-3-Clause
2018-04-17T23:33:23
2018-04-17T23:33:23
null
UTF-8
C++
false
false
1,143
h
//##################################################################### // Copyright 2009, Geoffrey Irving. // This file is part of PhysBAM whose distribution is governed by the license contained in the accompanying file PHYSBAM_COPYRIGHT.txt. //##################################################################### // H...
[ "quhang@stanford.edu" ]
quhang@stanford.edu
a15605bf20e0d8b3a47fe073f37e340d077080c7
fa083621ffabe3579dbb622323d6d1668da2e531
/AtCoder/ABC/126/abc126_d.cpp
74dafd88d35448cf17e2bb12e43d8432da01033a
[]
no_license
y-meguro/competitive-programming
0dc7e0338332d3b17915f41136f744bff5e39965
dbe4a51fd4d88e6ccc80ae0c41098f844783bd23
refs/heads/master
2020-12-21T12:02:08.210193
2020-10-06T13:26:02
2020-10-06T13:26:02
236,424,669
1
0
null
null
null
null
UTF-8
C++
false
false
733
cpp
#include <bits/stdc++.h> using namespace std; vector<vector<pair<int, int>>> tree; vector<int> col; void dfs(int current, int c) { col.at(current) = c; for (pair<int, int> e : tree.at(current)) { int to = e.first; if (col.at(to) != -1) continue; int dist = e.second; if (dist % 2 == 0) { dfs(...
[ "y.meguro.2008@gmail.com" ]
y.meguro.2008@gmail.com
cec99c0e5c2759468dad70bdb018beb29cb20425
d73eb9e6b9450f5456d92c710c457fb36bbe8d59
/cdcResource/AnimationSection.cpp
8313c67cd7b52e69e12fd9a26923bc81fc530660
[]
no_license
rrika/cdcEngineDXHR
110cb9314f242e0cfe07c51d439da1045aec78a0
ff312d19663ca1f68881b46089c4a856c2ced0f5
refs/heads/main
2023-08-31T05:09:34.118694
2023-08-30T23:49:39
2023-08-30T23:49:39
474,729,623
192
7
null
null
null
null
UTF-8
C++
false
false
30
cpp
#include "AnimationSection.h"
[ "adam.jensen@si.det.usa" ]
adam.jensen@si.det.usa
bd9cf15be4453e200dfc6914c7f8241c51974303
90d39aa2f36783b89a17e0687980b1139b6c71ce
/SPOJ/CPRMT.cpp
b5b29729c8b7d5580095700a1d9a06f01fbe397e
[]
no_license
nims11/coding
634983b21ad98694ef9badf56ec8dfc950f33539
390d64aff1f0149e740629c64e1d00cd5fb59042
refs/heads/master
2021-03-22T08:15:29.770903
2018-05-28T23:27:37
2018-05-28T23:27:37
247,346,971
4
0
null
null
null
null
UTF-8
C++
false
false
578
cpp
/* * Problem is to find the common characters between the two strings and print them alphabetically */ #include<cstdio> int main() { char a[1001],b[1001]; while(scanf("%s%s",a,b)!=EOF) { int counta[26]={0}; int countb[26]={0}; for(int i=0;a[i]!=0;i++) counta[a[i]-'a']++; ...
[ "nimeshghelani@gmail.com" ]
nimeshghelani@gmail.com
970e3aae7c221b4646781998e895c2fdc9269f62
58dab5e6ab12f43dd8352176081e5b2a656ed6bb
/src/accumulatormap.h
ace0392859b350db0cdf178fcab21d3f27351ce3
[ "MIT" ]
permissive
designcoinled/DesignCoin
7b591fbdbff46f9e1c6509d809c2e3ed1cf5c0fb
f77ff26cef2e5a2e8b133456fcadb0295058e22a
refs/heads/master
2020-04-05T09:01:33.577918
2018-11-08T17:28:05
2018-11-08T17:28:05
156,739,202
0
0
null
null
null
null
UTF-8
C++
false
false
787
h
// Copyright (c) 2017 The PIVX developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #ifndef SIGN_ACCUMULATORMAP_H #define SIGN_ACCUMULATORMAP_H #include "libzerocoin/Accumulator.h" #include "libzerocoin/Coin.h" //A map wi...
[ "Soytannoob809@gmail.com" ]
Soytannoob809@gmail.com
82798ad21f8bdfe98f84c654609f6d63fd21fc02
6b40e9dccf2edc767c44df3acd9b626fcd586b4d
/NT/admin/wmi/wbem/winmgmt/esscomp/timeprov/dnf.h
cf2de1e4f04fe1e0c9d020312158a26f657f48d5
[]
no_license
jjzhang166/WinNT5_src_20201004
712894fcf94fb82c49e5cd09d719da00740e0436
b2db264153b80fbb91ef5fc9f57b387e223dbfc2
refs/heads/Win2K3
2023-08-12T01:31:59.670176
2021-10-14T15:14:37
2021-10-14T15:14:37
586,134,273
1
0
null
2023-01-07T03:47:45
2023-01-07T03:47:44
null
UTF-8
C++
false
false
1,759
h
#include <parmdefs.h> #include <ql.h> #include <sync.h> #include <limits.h> #include <sortarr.h> #ifndef __WBEM_EVALUTAION_TREE__H_ #define __WBEM_EVALUTAION_TREE__H_ class CConjunction { protected: CUniquePointerArray<QL_LEVEL_1_TOKEN> m_apTokens; public: CConjunction(QL_LEVEL_1_TOKEN& Token,...
[ "seta7D5@protonmail.com" ]
seta7D5@protonmail.com
69c99b2698c12bcb9495fa1fba303dfabcd8a5a7
770056a788b1478f977b79648f16fe4219816768
/src/qt/askpassphrasedialog.h
87d2409da33451a4451dfe4360ba2e3141e9f134
[ "MIT" ]
permissive
StipendClassic/spdz
4356334f685c21f4388e2972254abf33f0fcb06f
27c30658982d8f5ade462902a2ae0ce40b98c507
refs/heads/master
2020-03-19T02:15:46.286346
2018-05-31T19:20:32
2018-05-31T19:20:32
135,613,310
0
0
null
null
null
null
UTF-8
C++
false
false
2,222
h
// Copyright (c) 2011-2013 The Bitcoin developers // Copyright (c) 2017-2018 The SPDZ developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #ifndef BITCOIN_QT_ASKPASSPHRASEDIALOG_H #define BITCOIN_QT_ASKPASSPHRASEDIALOG...
[ "paul.brooks2091@gmail.com" ]
paul.brooks2091@gmail.com
d52b818dc98987da4746d13e3c491fe0c041ab00
3a81e856e3a7dcae8ab88085fb228920d1acbaf3
/fsfd.cpp
38fe763c50bd64b2024f0907716d5ea3301678ae
[]
no_license
michaelxuzhi/2016-5.3
d171a224638e85eb7d78a8d908bf6cb85472f959
00fc271b8ffab41d549edf5468dc7e392df27a12
refs/heads/master
2020-03-30T00:25:22.863504
2018-09-27T03:19:59
2018-09-27T03:19:59
150,520,283
0
0
null
null
null
null
GB18030
C++
false
false
531
cpp
#include <iostream.h> int main() { int x,y,d,m=31,n=30,l=28; cin>>x>>y; //x表示月y表示年 switch(x) { case 1: case 3: case 5: case 7: case 8: case 10: case 12: cout<<"当月天数="<<m<<endl; break; case 4: case 6: case 9: case 11: cout<<"当月天数="<<n<<endl; break; } if(...
[ "noreply@github.com" ]
michaelxuzhi.noreply@github.com
a4c94b1584b129852fa2f0e1689784caac8f2267
124167abc99747fbcb95960940e6968c6c556bb8
/include/jkl/util/lambda.hpp
720bcf983aaf28eedfa5f89d13560053d8b849aa
[ "MIT" ]
permissive
feverzsj/jkl
c62fe0122fb2bb75f4a2034b2b4a67fdef2ce81f
1ea32ff2495120cc901d29a9c351154ca1f565e4
refs/heads/master
2023-02-15T12:06:42.214564
2021-01-15T03:31:25
2021-01-15T03:31:25
301,203,569
0
0
null
null
null
null
UTF-8
C++
false
false
9,611
hpp
#pragma once #include <tuple> #include <type_traits> namespace jkl::lambda_placeholders{ template<size_t N> struct holder{ static constexpr size_t value = N; }; constexpr auto _1 = holder<0>{}; constexpr auto _2 = holder<1>{}; constexpr auto _3 = holder<2>{}; constexpr auto _4 = holder<3>{}; constexpr auto _5 = ...
[ "feverzsj@hotmail.com" ]
feverzsj@hotmail.com
769b5198237e2238897947a121900c98b3c31ff0
855b36038b837ef1283b42aa8231920636a12013
/mic2.ino
65b57359b7d24021695cee4ffd0aea8a771ba168
[]
no_license
ngonhu159/mic_recognize
76f3a65e161769abc7456f53e2c5cfa4773dcd52
a4e4940cd34b83c8a3592f6999897d6b3ad35fae
refs/heads/master
2020-04-08T20:01:27.932536
2018-11-30T01:59:25
2018-11-30T01:59:25
159,681,007
0
0
null
null
null
null
UTF-8
C++
false
false
2,636
ino
const int sampleWindow = 15; // lấy mẫu 50ms (50 mS = 20Hz) unsigned int sample; int i_sample=0; int count_threshold_dapBan=0; int count_threshold_het=0; #define count_dapBan 1 #define count_het 4 #define threshold_dapBan 520 #define threshold_het 450 #define time_delay 2000 /* thời gian delay */ void s...
[ "noreply@github.com" ]
ngonhu159.noreply@github.com
aee8ef0b67ede2915560c4b2c1bc3f18ec7ca75c
88636ec6b098142931caa02740db0fae4a0e0dcb
/api/api_athena/src/utests/test_coint.cpp
ec78f813cb99e070a3e2aff8acbea89c28756ca8
[]
no_license
xibaomo/athena
6b8464b67a43b765f8b0c0794ecaea43d94d266f
8e28814670dc2d0af06956e906bf60f68e0a23d4
refs/heads/master
2023-08-22T20:20:25.996064
2023-08-15T12:06:42
2023-08-15T12:06:42
147,918,903
0
0
null
null
null
null
UTF-8
C++
false
false
390
cpp
#include "basics/utils.h" #include "basics/types.h" #include <vector> #define N 100 using namespace std; using namespace athena; int main() { PyEnviron::getInstance(); vector<real64> v1; vector<real64> v2; for (int i=0; i < N; i++) { v1.push_back(i*.1); v2.push_back(i*i*0.2+1); } ...
[ "fxua@gmail.com" ]
fxua@gmail.com
a963f4661bd33b6106d18bcfac73f8b9b7803b83
1dae79fb96f0dbbd03104eac106285e1aef88197
/Compiler Theory/PascalParser/TK_Array/TK_Array.cpp
3e59dc926ec16a813d3326d94abec12f7b393b7e
[ "Apache-2.0" ]
permissive
ilyacoding/bsuir
781e8f126d1f7d2db402b9d8083d1f4bcdcc6f4e
c1a09b63d5d66a3dc0f4545589608a18d1b5d9c9
refs/heads/master
2021-05-15T04:23:26.430221
2019-05-29T04:06:12
2019-05-29T04:06:12
75,403,020
0
0
Apache-2.0
2021-04-21T19:34:52
2016-12-02T14:35:01
Objective-C
WINDOWS-1251
C++
false
false
14,688
cpp
// TK_Array.cpp : Defines the entry point for the console application. // #define _CRT_SECURE_NO_WARNINGS #include "stdafx.h" #include "iostream" #include "fstream" #include "string" #include "vector" #include <algorithm> #include <functional> #include <sstream> #include <cctype> #include <locale> #include <iostream...
[ "ilyacoding@yandex.com" ]
ilyacoding@yandex.com
9560be08eb09dc333900e0af4c9530360bbeae4d
810ff30662ef6ceb2d8a60b62bb9f3e6b565e466
/code-network/igwb/com/cdrstat/cdr_stat_svr.h
90d7e096770a87541c3653980be219fbf207c8a3
[]
no_license
y35777/abcd
9e551d26a0c9128e3f02f61bd2f9c24415a4df67
77d71ae93103cbf39c1a77148367de0f21860bc4
refs/heads/main
2023-05-28T12:26:02.436874
2021-06-06T13:01:50
2021-06-06T13:01:50
361,348,921
0
1
null
null
null
null
GB18030
C++
false
false
4,209
h
#ifndef __CDR_STAT_SVR_H__ #define __CDR_STAT_SVR_H__ #include "../include/toolbox.h" #include "../include/frame.h" #include "../utility/mml_para.h" #include "stat_cfg_info.h" #ifdef _PLATFORM_WIN32 #pragma warning(disable:4503) #endif class CCDRStatCfgMgr; class CCDRStatRstMgr; class CCDRStatTask; class CQBMMLRepo...
[ "y35777@163.com" ]
y35777@163.com
b8c58c251653b22378d2ee5b2ee98ea13487370c
a47a539625a3e4962abbd91f4d6eab1bd7ee6823
/balltrack.cpp
9278a72e58e1fd5f317cb2ef83aba5eb49c3f75d
[]
no_license
burakkurtt/ballTrack
cc21e3342a2a74d1eb6462e5e4abeb49befe34bb
ba778971802e17a6aebbe5fc2b5bc1b47bb215e1
refs/heads/master
2020-04-13T05:48:45.086029
2018-12-24T16:59:45
2018-12-24T16:59:45
163,003,867
0
0
null
null
null
null
UTF-8
C++
false
false
9,725
cpp
#include "../flycapture.2.9.3.43_armhf/include/FlyCapture2.h" #include <opencv2/core/core.hpp> #include <opencv2/highgui/highgui.hpp> #include <opencv2/imgproc/imgproc.hpp> #include <stdio.h> #include <iostream> #include <fstream> #include <wiringSerial.h> using namespace FlyCapture2; using namespace cv; using name...
[ "noreply@github.com" ]
burakkurtt.noreply@github.com
8e8af1cdc245620c2c6471070a030a8a8f105c46
6161b649af64dd01c041ef47e809eb0ea2c6e6fd
/libs/ardour/ardour/delivery.h
bb07b9ab2554b5e1ddcddb51070a2336b1631db9
[]
no_license
taybin/Gusto
a6df309075f2ed5fffa5404ce756c8282cc6aa87
567554470a8de13a9984c895b83f3ac045f587ab
refs/heads/master
2016-08-05T13:52:42.667291
2010-07-06T03:11:34
2010-07-06T03:16:08
null
0
0
null
null
null
null
UTF-8
C++
false
false
3,704
h
/* Copyright (C) 2006 Paul Davis 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 distr...
[ "taybin@penguinsounds.org" ]
taybin@penguinsounds.org
4bfa4a1cb4ab8c6b56cd884804e47a666ceaa021
4ab8df086e0079258f3fed9452e0a62d782e7b40
/WorldPlayer.h
cb54cf728338ff9b52a98f3ae276e0771cc4d4f2
[]
no_license
PhanHoangf/game_development
7d1e4b7bba7fe24613f20db779ebe678bc17d315
717a80e8d57a10713bf32a63aa894607851c8eb7
refs/heads/master
2023-06-22T00:09:53.155602
2021-07-17T03:55:30
2021-07-17T03:55:30
366,421,367
2
0
null
null
null
null
UTF-8
C++
false
false
934
h
#pragma once #include "GameObject.h" #include "Game.h" #define PLAYER_SPEED 0.1f #define PLAYER_STATE_IDLE 0 #define PLAYER_STATE_RIGHT 100 #define PLAYER_STATE_LEFT 111 #define PLAYER_STATE_UP 200 #define PLAYER_STATE_DOWN 201 #define PLAYER_BBOX_WIDTH 8 // SMALL #define MARIO_ANI_SMALL 0 //BIG #defi...
[ "thanh-hoang.phan@ant-tech.eu" ]
thanh-hoang.phan@ant-tech.eu
9811d11a41ddf2d5a45f3eb3e5b8811a3ef9f9cc
48e5c7e47a09ec53a4763efe29dedc41535d1d68
/src/runtime-env/fiber-env/native-mutex.cpp
3e5ed26ce5f2ccdac6598d75bfebe56f780e53a7
[]
no_license
kaifengz/fasmio
dddd2e9249a0643ac5b3de7f416ba053c809fe9d
4a769823d35c27c3f764eb0342e0dde6b71fb4b3
refs/heads/master
2016-08-10T12:59:12.136290
2015-05-23T11:53:47
2015-07-09T02:07:36
36,076,525
0
0
null
null
null
null
UTF-8
C++
false
false
474
cpp
#include "./native-mutex.h" namespace fasmio { namespace fiber_env { NativeMutex::NativeMutex() { pthread_mutex_init(&mutex_, nullptr); } NativeMutex::~NativeMutex() { pthread_mutex_destroy(&mutex_); } bool NativeMutex::Lock() { return 0 == pthread_mutex_lock(&mutex_); } bool NativeMutex::TryLock() { ...
[ "kaifeng.zhu@citrix.com" ]
kaifeng.zhu@citrix.com
6a9722b4ef351d8acb57f48e75bd2d5518984c62
35a9dcf009857ca7c720e31dbef6cd22479854ef
/src/Utils/MyGLM.h
aafbcb5321e8afaff88c0d8d65f12c73f3b0d79b
[]
no_license
x3ent3nte/SimulationProject
22e9646512f374c74a3fdde68cc2fa5b183bb327
292e4e663a66d35147442dcda0841a56a736ed4a
refs/heads/master
2023-05-14T06:28:15.124400
2021-06-06T19:42:43
2021-06-06T19:42:43
275,607,695
0
0
null
null
null
null
UTF-8
C++
false
false
357
h
#ifndef MY_GLM_H #define MY_GLM_H #define GLM_FORCE_DEFAULT_ALIGNED_GENTYPES #define GLM_FORCE_RADIANS #define GLM_FORCE_DEPTH_ZERO_TO_ONE #define GLM_ENABLE_EXPERIMENTAL #include <glm/glm.hpp> #include <glm/gtc/matrix_transform.hpp> #include <glm/gtx/hash.hpp> #include <sstream> std::ostream& operator<<(std::ostrea...
[ "m202-tracer@hotmail.co.uk" ]
m202-tracer@hotmail.co.uk
1404a24871c04abbd67d921685bb8c094821a185
075e1e57da060d1c705a28786583f296e54a331c
/Internet_Clock_eps01_v3/Internet_Clock_eps01_v3.ino
ed66860e303699f308022510ecd4f91e791a36e0
[]
no_license
AgIgor/Internet_Clock_3
84dfab4c759a06c40bc1b736f4a50cfd642351fa
a52725fa743b16f4d2131adeae0c0af6501d349f
refs/heads/main
2023-08-23T15:58:26.312268
2021-11-07T17:15:27
2021-11-07T17:15:27
404,538,374
0
0
null
null
null
null
UTF-8
C++
false
false
846
ino
#include <NTPClient.h> #include <ESP8266WiFi.h> #include <WiFiUdp.h> const char *ssid = "VIVOFIBRA-9501"; const char *password = "rgw7ucm3GT"; const long utcOffsetInSeconds = -10800; char daysOfTheWeek[7][12] = {"Domingo", "Segunda", "Terça", "Quarta", "Quinta", "Sexta", "Sabado"}; WiFiUDP ntp...
[ "you@example.com" ]
you@example.com
8036d577f0cd981ab60563cb083db2f4a8389ae2
519c2a08b44addad219dba1393c21e78b3c0f175
/BasicFunctions.cpp
0d40f7190c1660a5c67c3ae477e9c405540c86aa
[]
no_license
genghiskhan3/C-Tutorials
0692f9ac4c38090aab4e74b2fea0339f995062b7
a712c64a8eeb6ea210a3c0d553f414cb8c8b1c45
refs/heads/master
2021-01-25T10:44:39.069158
2015-03-13T04:38:01
2015-03-13T04:38:01
28,027,137
0
0
null
null
null
null
UTF-8
C++
false
false
531
cpp
#include <iostream> int add(int x, int y) { return x + y; } int multiply(int z, int w) { return z * w; } int main() { using namespace std; cout << add(4, 5) << endl; // evalutes 4 + 5 cout << add(3, 6) << endl; // evalues 3 + 6 cout << add(1, 8) << endl; // evalues 1 + 8 int a = 3; ...
[ "mattleblanc333@gmail.com" ]
mattleblanc333@gmail.com
1a5565f2ac3c17e6db560ae3438fa49787b50ae2
0ef6f523f64dd2461893bfa510eae3ac2da47dc1
/Classes/Buff.h
d63ea3664e427737cca2361655fc0618d9d62baf
[]
no_license
Crasader/ColorDefence
2654fcd368f9a3f20056dbb8733f3f9c99264770
e0f940c26bbf3803ff64b7a4e4d2e248967db2ab
refs/heads/master
2020-12-07T08:41:53.498516
2016-05-21T06:17:23
2016-05-21T06:17:23
null
0
0
null
null
null
null
UTF-8
C++
false
false
831
h
#pragma once #include "cocos2d.h" class Enemy; class Buff : public cocos2d::Sprite { public: //初始化 virtual bool init(); //create函数 CREATE_FUNC(Buff); unsigned getBuffType(); virtual void makeEffectWithTarget(Enemy* target, float delta); virtual void overrideWithNewBuff(Buff* newBuff); bool wil...
[ "aillieo@163.com" ]
aillieo@163.com
b0cc512448d055c854dfcbd630ef436f52cd4f99
e1a0c89b0923e7e9be5e44d546c75a0f808c8d79
/lib/ArduinoJson/test/JsonVariant/as.cpp
3c9002a663e3f7e3d5ff2246ab794712d85ff1db
[ "MIT" ]
permissive
nicksteiner/tltcam
71961b1bab00aa5eb6b8fc3ad272b8cfc8c1f679
1353e4384d163a5033e8b12f3362fa5c12176b6d
refs/heads/master
2020-03-12T16:22:20.481462
2018-04-23T15:08:33
2018-04-23T15:08:33
130,714,435
0
0
null
null
null
null
UTF-8
C++
false
false
5,746
cpp
// Copyright Benoit Blanchon 2014-2017 // MIT License // // Arduino JSON library // https://bblanchon.github.io/ArduinoJson/ // If you like this project, please add a star! #include <ArduinoJson.h> #include <stdint.h> #include <catch.hpp> static const char* null = 0; TEST_CASE("JsonVariant::as()") { ...
[ "nick.steiner@gmail.com" ]
nick.steiner@gmail.com
3e7175f3070ab3f0b626b9fd105bd32f76485e9b
afb13079285b95a307df439b0a5393c41f881e58
/QRNG-unity/Assets/StreamingAssets/.q/src/noise/noise_model.hpp
04fbe787706ae0cd588218989a576280cd877ac6
[ "Apache-2.0" ]
permissive
edwinagnew/procedural-rng
a59bcc54ac215fc618cd6fdb2ef1276a7a42004f
ce158572a700c9f247162affb076afff30dd8632
refs/heads/main
2023-06-13T03:52:00.826642
2021-07-15T11:05:25
2021-07-15T11:05:25
351,199,592
0
0
null
null
null
null
UTF-8
C++
false
false
45,342
hpp
/** * This code is part of Qiskit. * * (C) Copyright IBM 2018, 2019. * * This code is licensed under the Apache License, Version 2.0. You may * obtain a copy of this license in the LICENSE.txt file in the root directory * of this source tree or at http://www.apache.org/licenses/LICENSE-2.0. * * Any modificatio...
[ "edwin.agnew@duke.edu" ]
edwin.agnew@duke.edu
dbca024b25bc1948e0f5ef769bc23cad9e3258b7
0447f03d44890be87c5595d6b3a351c6d87d1395
/Rec/bzoj3998.cpp
8ee4189dc6caccebfb6c3230fac2cbb341ab442e
[]
no_license
Jupitercal/ProblemsSolvedCode
3e27aed6256e10e11ba7ed5d4cc6c12a344b4c19
8653f5b3f97e8e41eedf7e1f5bfdb4a128fc4a28
refs/heads/master
2022-08-13T21:54:50.798759
2020-05-24T15:25:18
2020-05-24T15:25:18
266,562,033
3
0
null
null
null
null
UTF-8
C++
false
false
1,909
cpp
#include<bits/stdc++.h> #define N 520000 #define INF 0x3f3f3f3f typedef long long LL; char s[N]; int mx[N*2],Len; int len[N<<1],fa[N<<1],son[N<<1][26]; int size,last,root,anslen; int a[N<<1],c[N<<1],cnt[N<<1],t,k,sum[N<<1]; LL F[N<<1]; char ans[N]; void Init(){root=size=last=1;} void Extend(int c){ int end=++size,t...
[ "719650063@qq.com" ]
719650063@qq.com