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
0bfd021ce1488ca292db21086933c6681df88e67
686b7589eac2b2a262e68c661270acfa3bda9e8f
/src/block.cpp
7988cd281bf8dc783d749f4a5b3739b32a607b03
[ "MIT" ]
permissive
PantherNuru/vsmkv
52dfd87eda3e0f44f80fad22ab52fc27b3209e42
14eb8980c710c8b3c126e3a48926668c75e9fdb8
refs/heads/master
2023-02-13T10:31:46.647712
2018-03-06T19:26:58
2018-03-06T19:26:58
null
0
0
null
null
null
null
UTF-8
C++
false
false
4,711
cpp
/* Copyright (c) 2017 Peter Hegen 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, distribute, s...
[ "fluxamp@users.noreply.github.com" ]
fluxamp@users.noreply.github.com
32a2a1681650397cdff431e1c53f8650c0e561ee
7ab428531ed3f1d6afb938e714b6070af6384d22
/Numbers/mostRepeatedElements.cpp
e212eb4b46fe61b3c6a3f24a7937418094528db2
[]
no_license
madhok/Craftsmanship
91813369e3a440ba17659d381f1a36e7cdb00eca
653b1d17bb9ca58718ec5f8187ade77c2fe8f42c
refs/heads/master
2022-10-28T06:04:05.489175
2022-10-10T07:50:18
2022-10-10T07:50:18
5,733,118
0
2
null
2018-12-13T09:12:27
2012-09-08T23:13:09
C++
UTF-8
C++
false
false
1,622
cpp
//1, 1, 1, 2, 2, 3, 4 #include <iostream> #include <vector> #include <map> using namespace std; int mostRepeatedElement(map<int,int> &hashmap) { map<int,int>::iterator iter; iter= hashmap.begin(); int MostRepeatedElement = iter->first; int countVal = iter->second; for(; iter!=hashmap.end(); iter+...
[ "gsmadhok@gmail.com" ]
gsmadhok@gmail.com
72da4eb20b1e61a2ae325a0c3bc8dcc4c09e0ed6
3b53c60788ae19a898a3ff5d30a99f751e9384d2
/Engine/Graphics/Graphics.h
375628bba6ddcaa2c70c63d260a199144cd140a9
[]
no_license
rodrigobmg/GraphicsEngine-1
141ccb19d84674b493d977b60b290bc44220a562
dabec412923896f379df4a9f7acb496e3c7197cf
refs/heads/master
2020-07-17T14:18:10.141819
2017-12-13T12:32:03
2017-12-13T12:32:03
null
0
0
null
null
null
null
UTF-8
C++
false
false
3,217
h
/* This file declares the external interface for the graphics system */ #ifndef EAE6320_GRAPHICS_H #define EAE6320_GRAPHICS_H // Include Files //============== #include "Configuration.h" #include <cstdint> #include <Engine/Results/Results.h> #include <Engine\Math\sVector.h> #include <Engine\Physics\sRigidBodyState...
[ "superbrainchen@gmail.com" ]
superbrainchen@gmail.com
14b5840c5bb32b0428852c1266580e344ec20002
cb80a8562d90eb969272a7ff2cf52c1fa7aeb084
/inletTest3/0.077/omega
b17836ec8fec4497ee2bfa37321ad87a1e013aa7
[]
no_license
mahoep/inletCFD
eb516145fad17408f018f51e32aa0604871eaa95
0df91e3fbfa60d5db9d52739e212ca6d3f0a28b2
refs/heads/main
2023-08-30T22:07:41.314690
2021-10-14T19:23:51
2021-10-14T19:23:51
314,657,843
0
0
null
null
null
null
UTF-8
C++
false
false
150,415
/*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: v2006 | ...
[ "mhoeper3234@gmail.com" ]
mhoeper3234@gmail.com
53dbd2d66d8ef7c1b9f9dbec74565567a27903e7
a52cef813069b5c7344b69be3747b33eecd0417e
/besshell.cpp
cb0ce07e02f10970b227eb161789285eb21f35ba
[]
no_license
bessx/Bes-hell
ff688b11c473acb9bc435cd409c504bc69e90be6
68104b7a2165b6ed3a3b778c0a8f23cdfef9003f
refs/heads/master
2020-04-09T08:55:23.674519
2019-05-01T16:36:57
2019-05-01T16:36:57
160,213,556
0
0
null
null
null
null
UTF-8
C++
false
false
14,205
cpp
// Adam Bess // CSC7103 - Programming Project // Programming Project 1/3 // Project: PA-1(Programming) // Instructor: Feng Chen // Class: cs7103-au18 // LogonID: cs710313 #include <string> #include <iostream> #include <fstream> #include <unistd.h> #include <fcntl.h> #include <string.h> #include <limits....
[ "noreply@github.com" ]
bessx.noreply@github.com
9a5ba941b93aab41093a819ec2782f412adf67e6
58957c94291e2359ed8af9fde69d13781d401e1b
/assignment3/Q1c.cpp
8c0168e3919b9af4589030baa44f402ed8bbb737
[]
no_license
soniashutosh/DSA-Lab
0965067638a71c2129b5b1c337eed11bdca80954
17446e7f2caf2e879199fa833b39446d48d0b27b
refs/heads/master
2020-11-28T02:25:16.115894
2019-12-23T05:14:50
2019-12-23T05:14:50
229,680,108
2
0
null
null
null
null
UTF-8
C++
false
false
2,192
cpp
// Stack Implementation using Queue.. #include<iostream> using namespace std; class Queue { private: int cap; int top,bottom; int *array; public: void createqueue(int cap){ array=new int[cap]; top=-1; bottom=-1; } void insert(int data){ array[++top]=data; } int remove(){ int data; ...
[ "ashutosh@localhost.localdomain" ]
ashutosh@localhost.localdomain
c3800fee51e08c9e2b9ac9696ed5e79560d3f4ea
b7f3edb5b7c62174bed808079c3b21fb9ea51d52
/components/viz/service/surfaces/surface_allocation_group.cc
048e2e93358601d682746c09d43a9bf803e20063
[ "BSD-3-Clause" ]
permissive
otcshare/chromium-src
26a7372773b53b236784c51677c566dc0ad839e4
64bee65c921db7e78e25d08f1e98da2668b57be5
refs/heads/webml
2023-03-21T03:20:15.377034
2020-11-16T01:40:14
2020-11-16T01:40:14
209,262,645
18
21
BSD-3-Clause
2023-03-23T06:20:07
2019-09-18T08:52:07
null
UTF-8
C++
false
false
8,993
cc
// Copyright 2019 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "components/viz/service/surfaces/surface_allocation_group.h" #include "components/viz/service/surfaces/surface.h" #include "components/viz/servi...
[ "commit-bot@chromium.org" ]
commit-bot@chromium.org
b88e85a6f6a822714fdc8e00a44a6b9e556080bb
a47aeb7c2bf558637ed49e2be45fabd746b2f540
/wsc/wsc.cpp
d364b70b5fc3dbc51dc5da22a4502cb601f43417
[ "MIT" ]
permissive
jingjiajie/WorkScript
d90e44196d30b7797aa3cd76b181fbe1a4a0efd2
6b80932fcdbae0e915c37bac19d262025234074b
refs/heads/master
2021-06-28T15:16:34.054553
2019-06-02T02:32:18
2019-06-02T02:32:18
141,873,155
3
1
null
null
null
null
UTF-8
C++
false
false
684
cpp
#include <stdio.h> #include <locale.h> #include <string.h> #include "Locales.h" #include "Defines.h" #include "WorkScriptCompiler.h" #include "CmdArgs.h" #include "Utils.h" #include <llvm/ADT/Triple.h> #include <llvm/Support/Host.h> using namespace std; using namespace WorkScript; static void initExtraArgs(CmdArgs *...
[ "932166095@qq.com" ]
932166095@qq.com
46065f182fc8b1a94d2e1efe01f54f5eca1500f1
fc619cba3c1a5f458ed618549ae1abd1194b2e3c
/lightning-with-brightness.ino
a6d3f7b7dbc36da0155803638c5c9c55c917d674
[]
no_license
aslobodyanuk/lightning-with-brightness
0a69d7a163e4850d2e15c5cf5eda0fe9d3549752
10e00084f08d3cc5e9fe74b78e1a9a976e0304aa
refs/heads/master
2020-12-14T21:40:33.492143
2020-01-19T09:54:08
2020-01-19T09:54:08
234,876,676
0
0
null
null
null
null
UTF-8
C++
false
false
1,760
ino
#define POTENTIOMETER_PIN A2 #define WHITE_LED_MOSFET_PIN 9 #define WHITE_SWITCH_PIN 8 #define UV_LED_MOSFET_PIN 11 #define UV_SWITCH_PIN 12 #define MAX_POTENTIOMETER_VALUE 1015 #define MIN_POTENTIOMETER_VALUE 100 #define MAX_BRIGHTNESS_VALUE 255 #define MIN_BRIGHTNESS_VALUE 0 int _brightness = 0; ...
[ "noreply@github.com" ]
aslobodyanuk.noreply@github.com
a00fdb28b05b57153da5f34892f3e1a0e5f56b7b
2dc25b5ceee403ced565f424d60e13e98a17d55e
/lex.h
7aec4f246e78020c6e9aae8e05d640acad90cdd0
[]
no_license
Craig-Macomber/badlang
8527d67f5bbb17624d58c37b455fc3847165a1af
31b15c0a2c9d16242e60a433a9397a34829c0401
refs/heads/master
2020-05-16T21:09:51.875158
2013-11-02T23:57:00
2013-11-02T23:57:00
13,896,343
2
0
null
null
null
null
UTF-8
C++
false
false
1,188
h
#pragma once #include <cstdio> #include <cstdlib> #include <string> #include <map> #include <vector> #include <iostream> namespace lex { // The lexer returns tokens [0-255] if it is an unknown character, otherwise one // of these for known things. enum Token { tok_eof = -1, // commands tok_var = -2, tok_ext...
[ "Craigm@98115.net" ]
Craigm@98115.net
c234fdc49edb64f52c49f376ae344bbdd9632c51
2fd72b5c17e2c973740eb1f0fede297a38fd6bf1
/Sources/bdLib/BDFacturerUnGroupe.cpp
70decd6c374d3ed1374af17edcec56998beee68b
[ "MIT" ]
permissive
baudoliver7/hotel-manager-plus
cd35e8ec25350669327b13b878198e236fd7ddbb
17c5e0090c8f9135e7fd14964d27a994c1852b72
refs/heads/master
2022-12-10T17:06:39.336708
2020-09-01T01:23:23
2020-09-01T01:23:23
291,863,423
1
0
null
null
null
null
ISO-8859-1
C++
false
false
17,594
cpp
#include "BDFacturerUnGroupe.h" #include "ui_BDFacturerUnGroupe.h" BDFacturerUnGroupe::BDFacturerUnGroupe(QSqlDatabase *db, const agent &ag, QWidget *parent) : QDialog(parent), ui(new Ui::BDFacturerUnGroupe) { ui->setupUi(this); m_db = db; ui->btn_ok->setEnabled(false); ui->btn_details->setEna...
[ "olivier.oura@kyria-cs.com" ]
olivier.oura@kyria-cs.com
92f1933097cd9c63999f20f203eb1d87f5b9021a
d907ac57899bc7933451097de5224dc70199c7b9
/offer15/main.cpp
65d85fb204e8d515a6d007bec80d8aeca9457b4c
[]
no_license
wzq-hwx/offer_jian
1874776629e5854b06b08de75a700cb254e0619a
4e7ed3a0143fe21ec6f2058f87d013652ccc6ae3
refs/heads/master
2020-07-05T00:00:34.301214
2019-09-27T07:24:02
2019-09-27T07:24:02
202,462,673
2
0
null
null
null
null
UTF-8
C++
false
false
582
cpp
#include <iostream> using namespace std; int NumberOf1_Solution1(int n) { int count = 0; unsigned int flag = 1; while(flag) { if(n & flag) count ++; flag = flag << 1; } return count; } int NumberOf1_Solution2(int n) { int count = 0; while(n) { ...
[ "1259906709@qq.com" ]
1259906709@qq.com
5fe7476a9b28a592a91beb9ddcdcc1f20e2cbb34
8dc84558f0058d90dfc4955e905dab1b22d12c08
/cc/trees/layer_tree_host_pixeltest_tiles.cc
eabe1909a4f4443cdc0b40fd2e3e00c4c92497db
[ "LicenseRef-scancode-unknown-license-reference", "BSD-3-Clause" ]
permissive
meniossin/src
42a95cc6c4a9c71d43d62bc4311224ca1fd61e03
44f73f7e76119e5ab415d4593ac66485e65d700a
refs/heads/master
2022-12-16T20:17:03.747113
2020-09-03T10:43:12
2020-09-03T10:43:12
263,710,168
1
0
BSD-3-Clause
2020-05-13T18:20:09
2020-05-13T18:20:08
null
UTF-8
C++
false
false
9,520
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 <stddef.h> #include "cc/layers/content_layer_client.h" #include "cc/layers/picture_layer.h" #include "cc/paint/display_item_list.h" #include "cc...
[ "arnaud@geometry.ee" ]
arnaud@geometry.ee
0886614c0296945352c870d9b25920d3e9e4ccbc
676138d43b4e8bcc705aeead9b9d9b135ac2b751
/Effect.cpp
dc326f886f6359a1c77b04d8eac3dfe09ad54e9e
[]
no_license
liaml/Untitled-Project
53d97a7e65b5dffc02187ecbc78907919e705462
235294d6daf77fe43d1c86bed75a4d0865d189b9
refs/heads/master
2021-01-16T20:58:30.857581
2016-08-05T16:28:33
2016-08-05T16:28:33
65,032,905
0
0
null
null
null
null
UTF-8
C++
false
false
4,829
cpp
#include "Effect.hpp" #include "UI.hpp" #include <cmath> using namespace particles; bool Effect::initialise(unsigned int numParticles) { const unsigned int NO_PARTICLES = numParticles == 0 ? 100000 : numParticles; mSystem = std::make_shared<ParticleSystem>(NO_PARTICLES); mColGenerator = std::mak...
[ "noreply@github.com" ]
liaml.noreply@github.com
052fc072bfb87f74e457c35047444707e74febe2
304f5352997b0adc0337289804edd47fb809f94d
/Circuit/NudgeView.hpp
beb70a466c2fa90f32b10ee757f8cb927a27a822
[ "BSD-3-Clause" ]
permissive
Wang-Yue/Circuit
b4a820ba2733c36eafcb9be615e0ac464f8f646a
a194bb904f9debab35d24eecb53c091556c17cd6
refs/heads/master
2020-03-27T03:49:57.284460
2018-08-31T07:33:38
2018-08-31T07:33:38
145,892,549
9
0
null
null
null
null
UTF-8
C++
false
false
717
hpp
// // NudgeView.hpp // CircuitApp // // Created by Yue Wang on 8/25/18. // Copyright © 2018 Yue Wang. All rights reserved. // #ifndef NudgeView_hpp #define NudgeView_hpp #include <vector> #include <map> #include "TypeDefs.hpp" #include "Pad.hpp" #include "Color.hpp" class NudgeViewDelegate { public: virtual vo...
[ "yuleopen@gmail.com" ]
yuleopen@gmail.com
f17562b7e21b9902f0c786c1a2287972944e2b53
bb74a0752a594f6f50429f913a79d03b27614fb9
/MCP/MCP/testbench.cpp
dca1042a6466a29bf38b4f5032b5c7b44c96be58
[]
no_license
georrge1994/SystemC
2467d1a81a8f3956b77bef979eaab1fec1a4a4bb
bf9252495dbd69a8b6460a75bdf2ab1ed732400c
refs/heads/master
2021-01-19T13:31:30.649626
2017-06-17T20:54:03
2017-06-17T20:54:03
82,395,634
0
0
null
2017-06-17T20:49:59
2017-02-18T15:23:22
Makefile
UTF-8
C++
false
false
18,143
cpp
#include "systemc.h" #include "Top.h" #define soft_assert(signal, expected) \ if (signal.read() != expected) { \ cerr << "@" << sc_time_stamp() << " Check failed. Expected: " << expected << ". Actual: " << signal.read() << ".\n" << endl; \ } sc_clock clk("clock", 4, SC_NS); sc_signal<bool> sr...
[ "Zhore-Chebotarev@mail.ru" ]
Zhore-Chebotarev@mail.ru
4830cd4159a335cfdd6749f4cd0b04f74cf0e3b8
a00fdfc743262d3d9253bab1f2e8b10f99f013ee
/Bambu/source/TriggerFiller.cc
d6ff9e67623eb19472c2bdc2246d40a4acd7aabf
[]
no_license
pdoming/NeroProducer
2a97101002c626d7f23f3c80e1abfaacc5c81968
8082361fa0a05c83cc6c6aacb1bdd5de24f65115
refs/heads/master
2021-01-15T17:35:58.814592
2015-07-25T16:50:39
2015-07-25T16:50:39
null
0
0
null
null
null
null
UTF-8
C++
false
false
618
cc
#include "NeroProducer/Bambu/interface/TriggerFiller.h" #include "MitAna/DataTree/interface/Names.h" ClassImp(mithep::nero::TriggerFiller) void mithep::nero::TriggerFiller::setCrossRef(BaseFiller* _fillers[]) { // need dynamic cast here because BareP4 inherits virtually from BareCollection leptons_ = dynamic_cas...
[ "yiiyama@mit.edu" ]
yiiyama@mit.edu
2ac12547e67c2cb4aa17626b0af2a5662cdd2fcb
e96ffcc42c3c03ccab74622007921783005c00bd
/Mycomputer/mainwindow.cpp
c23b44f0ef6d2a626b2e9eb15e9d7f3c8e277a89
[]
no_license
cedricxs/QT
1635290f8bccb88b5fc7c52b736d2e7bb985b909
b3670d94f4397fb428035a0bede8ac4786e9aefb
refs/heads/master
2020-03-10T06:37:09.119847
2018-11-03T13:24:03
2018-11-03T13:24:03
128,939,908
0
0
null
null
null
null
UTF-8
C++
false
false
8,712
cpp
#include "mainwindow.h" #include "ui_mainwindow.h" #include<QTextCursor> #include<cmath> MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent), ui(new Ui::MainWindow) { ui->setupUi(this); num1=""; num2=""; oper=""; anwser=""; havenum1=false; this->resize(500,400); this->m...
[ "noreply@github.com" ]
cedricxs.noreply@github.com
91d7aede56cfdd85568705b289024ed9dd604d35
5daba21df31e057e44ab75cc42619d4a9f316502
/include/statusscreen.h
c772451308f55b8a36dffa0c2428d3481dc237b9
[]
no_license
FloweryScythe13/sds-14-exceedingly-clever
d694f8be507d7f5addbab465c4f371aba5b4f2d1
984caa7321b988452b8b89f6abd8dd6ee64bba60
refs/heads/master
2021-01-10T17:21:12.451019
2016-03-21T06:44:00
2016-03-21T06:44:00
54,365,557
0
0
null
null
null
null
UTF-8
C++
false
false
678
h
#ifndef _STATUSSCREEN_H #define _STATUSSCREEN_H #include "direction.h" #include "menuscreen.h" class Font; class ImageBox; class Label; class Party; class StatusScreen : public MenuScreen { public: StatusScreen(Party& party, const Rect& pos = Rect(0, 0, 640, 480), float z = 0.0f, Widget* parent = 0); virtual ~Statu...
[ "brichett13@gmail.com" ]
brichett13@gmail.com
332c2e2523dc05f0431f0c0cc6f92e7d8de04874
f2d256e00e01a868cc186c734f457118793a357c
/12.2.Rotating Matrix (inPlace algorithm using transpose).cpp
ea15234414dc242f3ef5ff75bf040cccc84386e5
[]
no_license
ASHISH-GITHUB2495/30-days-of-CODE--SDE-sheet-
66f89f8563e9581f8fa48b54f4e1a9a74682288a
9b5280dba277e7153c429d6395a76e624e03f2a7
refs/heads/master
2022-12-24T00:28:15.448625
2020-10-02T19:02:13
2020-10-02T19:02:13
284,450,810
0
1
null
2020-10-02T19:02:15
2020-08-02T11:46:54
C++
UTF-8
C++
false
false
825
cpp
#include<bits/stdc++.h> using namespace std; int32_t main() { //////////////////////////////////////start............... //we have to rotate matrix in 90' ; // it is also O(n^2) but in place algorithm no extra memory; //first transpose row to column then reverse every row; int r, c; cin >> r >> c; int mat...
[ "ashish_business@yahoo.com" ]
ashish_business@yahoo.com
27fc6d09b813ecd72aa842f8481a7117a10b1011
133d0f38b3da2c51bf52bcdfa11d62978b94d031
/testAutocad/vendor/objectArx/inc/dbole.h
efa6c75ec267e623030c84709d98363936ff7f5d
[]
no_license
Aligon42/ImportIFC
850404f1e1addf848e976b0351d9e217a72f868a
594001fc0942d356eb0d0472c959195151510493
refs/heads/master
2023-08-15T08:00:14.056542
2021-07-05T13:49:28
2021-07-05T13:49:28
361,410,709
0
1
null
null
null
null
UTF-8
C++
false
false
8,092
h
////////////////////////////////////////////////////////////////////////////// // // Copyright 2020 Autodesk, Inc. All rights reserved. // // Use of this software is subject to the terms of the Autodesk license // agreement provided at the time of installation or download, or which // otherwise accompanies this ...
[ "antoine.cacheux@procal.fr" ]
antoine.cacheux@procal.fr
56bf54fcf65000fd50ae53db04cb4f3de89eba60
eedddaeebe6535a1bf0edf3d2ef97e1845f420fb
/release/moc_view.cpp
0d5b3f4b445d539302be8f3b543c4f2a0cc88071
[]
no_license
OmarAbdelSamea/os-scheduler
479458c375d90161709891a8104167fb9e77b244
21af0705d3f8ee6418fbe263c418138dc0063865
refs/heads/main
2023-04-16T16:48:23.788942
2021-04-29T13:59:48
2021-04-29T13:59:48
null
0
0
null
null
null
null
UTF-8
C++
false
false
3,681
cpp
/**************************************************************************** ** Meta object code from reading C++ file 'view.h' ** ** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.2) ** ** WARNING! All changes made in this file will be lost! ***************************************************************...
[ "Loay.elshall@icloud.com" ]
Loay.elshall@icloud.com
112ec7b312b49d7792b7e524e1633ea253ba4aab
759ee1b4facf2baef1bfd2a9288b4ce9c571a216
/include/iregistrator.hpp
8895d258d428750711845e047cb051c7a7b93203
[]
no_license
eyalya/Experis-SmartHome-Project
184201899bf0a18c6c3b8344e1c4a924d0098bfe
ad887b7208a75ba00c6fe89d43019c306fdb3c8a
refs/heads/master
2022-11-06T06:18:18.026412
2020-03-15T08:49:45
2020-03-15T08:49:45
276,605,599
0
0
null
null
null
null
UTF-8
C++
false
false
606
hpp
#ifndef IREGISTRATOR_HPP #define IREGISTRATOR_HPP #include "event_base.hpp" //location #include "ievent_handler.hpp" #include "device.hpp" #include <memory> //std::shared_ptr namespace smartHome { namespace booter { class IRegistrator { public: virtual ~IRegistrator() = default; virtual void RegisterDevice(...
[ "noam1309@gmail.com" ]
noam1309@gmail.com
1768d2441a2d76788cd15f0d3be7566ea6f7a95d
91fbc7d400b8622dc95f6bdc3a47be337b00c1d7
/FightFirst/FightSecond/proj.win32/main.cpp
f8eb6ef1c152dca35beaf81a0ead637e38673718
[]
no_license
sandy1219/NarutoFight
7d2d2dce60e1d06f5eb1b04d37b3641fa662e5b0
f95254cdd606fae930d164639cf528401d34ea6f
refs/heads/master
2021-01-18T06:55:50.547943
2015-07-12T03:11:11
2015-07-12T03:11:11
null
0
0
null
null
null
null
UTF-8
C++
false
false
595
cpp
#include "main.h" #include "AppDelegate.h" #include "CCEGLView.h" USING_NS_CC; int APIENTRY _tWinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPTSTR lpCmdLine, int nCmdShow) { UNREFERENCED_PARAMETER(hPrevInstance); UNREFERENCE...
[ "jinrishouji@sina.com" ]
jinrishouji@sina.com
f3ca3b498804439d38abdaf3b58d3a328f82c5e6
7524106d9776f24311be4e6050cedd2a10e31282
/problems/cses/dp/x_rectangle_cutting_up/x_main_rectangle_cutting_up.cpp
7d435935574ba0054af3c21b7d78a06058a5826e
[]
no_license
Exr0nProjects/learn_cpp
f0d0ab1fd26adaea18d711c3cce16d63e0b2a7dc
c0fcb9783fa4ce76701fe234599bc13876cc4083
refs/heads/master
2023-04-11T08:19:42.923015
2021-01-27T02:41:35
2021-01-27T02:41:35
180,021,931
1
0
null
null
null
null
UTF-8
C++
false
false
1,993
cpp
/* * Problem intest (spoj/intest) * Create time: Sun 30 Aug 2020 @ 11:26 (PDT) * Accept time: Mon 31 Aug 2020 @ 08:06 (PDT) * */ #include <bits/stdc++.h> #define ll long long #define dl double #define pii pair<int, int> #define pb push_back #define mp make_pair #define f first #define s second #define F(i,b) f...
[ "spotyie@gmail.com" ]
spotyie@gmail.com
c5b54c164b0b068cb19d75e211ff8b2fd230efe9
40051990fd81ff4da9072d1c3be918d1e8e8d866
/be/src/rpc/rpc-mgr.h
85f88b627bf44acc84084d72173708b6bee79395
[ "Apache-2.0", "OpenSSL", "LicenseRef-scancode-openssl", "LicenseRef-scancode-ssleay-windows", "BSL-1.0", "LicenseRef-scancode-public-domain", "BSD-2-Clause", "dtoa", "BSD-3-Clause", "bzip2-1.0.6", "MIT", "PSF-2.0", "LicenseRef-scancode-mit-modification-obligations", "LicenseRef-scancode-un...
permissive
P79N6A/impala
64eb4dbab6b5b513ac37dc8aea351b01777bdda2
d36ad070e6cb6ff720111e01f723e05a8cdf6957
refs/heads/master
2020-04-05T10:13:00.038610
2018-11-09T01:21:42
2018-11-09T01:21:42
null
0
0
null
null
null
null
UTF-8
C++
false
false
7,706
h
// Licensed to the Apache Software Foundation (ASF) under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. The ASF licenses this file // to you under the Apache License, Version 2.0 (the // "License"); you may...
[ "zhangjunemail@126.com" ]
zhangjunemail@126.com
29d17277392a7d2d66c43249135d1f262855dd14
d5fe81b3810795aed884e9173a49228084f42109
/paper/pms_optimizer.cpp
0a8454f4c9cc748194cbbef0cf3e744d2a8ca038
[]
no_license
WelToHackerLand/PDSTSP_new
cd114e75163cbf383d5b3ef2da365f3f9818aba4
2535ad6339a0fcdd086d1b2f3b5241e3088e5f72
refs/heads/main
2023-02-24T06:51:09.553890
2021-01-30T14:51:43
2021-01-30T14:51:43
334,436,887
2
1
null
null
null
null
UTF-8
C++
false
false
1,002
cpp
#include "utilities.cpp" namespace pms_optimizer { void optimizeTour(const tigersugar::Instance &instance, tigersugar::Drone_Tour &tour) { if (tour.node.empty()) { tour.node.resize(1); return; } vector<pair<double, int> > ls; for (int x : tour.node[0]) ls.pu...
[ "krgaim10@gmail.com" ]
krgaim10@gmail.com
f240a83077621966afd3609d94b9704463f04a15
b22588340d7925b614a735bbbde1b351ad657ffc
/athena/Database/PersistentDataModelAthenaPool/src/DataHeaderCnv.h
9dc3dce9cee5b6242fe77b0676d1bd21ad756724
[]
no_license
rushioda/PIXELVALID_athena
90befe12042c1249cbb3655dde1428bb9b9a42ce
22df23187ef85e9c3120122c8375ea0e7d8ea440
refs/heads/master
2020-12-14T22:01:15.365949
2020-01-19T03:59:35
2020-01-19T03:59:35
234,836,993
1
0
null
null
null
null
UTF-8
C++
false
false
1,482
h
/* Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration */ #ifndef DATAHEADERCNV_H #define DATAHEADERCNV_H /** * @file DataHeaderCnv.h * @brief This file contains the class definition for the DataHeaderCnv class. * @author Peter van Gemmeren <gemmeren@anl.gov> * $Id: DataHeaderCnv.h,v 1.9...
[ "rushioda@lxplus754.cern.ch" ]
rushioda@lxplus754.cern.ch
fcdd141aba6d4b0e4aae6a2dd2c5ac2e76e30404
948f4e13af6b3014582909cc6d762606f2a43365
/testcases/juliet_test_suite/testcases/CWE690_NULL_Deref_From_Return/s02/CWE690_NULL_Deref_From_Return__struct_realloc_62b.cpp
c11bf9cd4649e4a3b8993fcb7192143b1947dbd0
[]
no_license
junxzm1990/ASAN--
0056a341b8537142e10373c8417f27d7825ad89b
ca96e46422407a55bed4aa551a6ad28ec1eeef4e
refs/heads/master
2022-08-02T15:38:56.286555
2022-06-16T22:19:54
2022-06-16T22:19:54
408,238,453
74
13
null
2022-06-16T22:19:55
2021-09-19T21:14:59
null
UTF-8
C++
false
false
1,340
cpp
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE690_NULL_Deref_From_Return__struct_realloc_62b.cpp Label Definition File: CWE690_NULL_Deref_From_Return.free.label.xml Template File: source-sinks-62b.tmpl.cpp */ /* * @description * CWE: 690 Unchecked Return Value To NULL Pointer * BadSource: realloc Allocate...
[ "yzhang0701@gmail.com" ]
yzhang0701@gmail.com
f14d07836f6aaee444fe16d4fb75dac13e42810f
1089b95d1ebad3e76b366f9d9f02dc9d036f9c62
/(1)Beginner/1078/c++/1079.cpp
387ce8fcf21246c689d6ab6539fe1223d089800e
[ "MIT" ]
permissive
G4DavidAlmeida/mySolutionsUriOnline
7c40a2ce431e6c61b2bc62df98f2d91c781d7696
47e427e3205124da00a8a44fb9900086d85c30ec
refs/heads/master
2021-02-07T04:27:24.173796
2020-12-09T19:34:06
2020-12-09T19:34:06
243,983,267
0
0
null
null
null
null
UTF-8
C++
false
false
177
cpp
#include<iostream> using namespace std; int main(){ int n=0; cin >> n; for(int r=1;r <= 10;r++){ cout << r << " x " << n << " = " << r * n << endl; } return 0; }
[ "almeida.david@gmail.com" ]
almeida.david@gmail.com
c777f1666b513bd161bb3f16d187a1c48d10bdba
a7a8db0200436c3a77abe347ade43ec80e2f0dce
/videoPara/main_trajectory.cpp
ad4c3aa039d29577781de50d35be4ec092f45f9a
[]
no_license
muffled/videopara
9d2810ead9c7d153bc0c69caa8ace30d0c802137
699311d775a759903754075d95d4b0a640f2f309
refs/heads/master
2021-01-23T06:29:18.482769
2012-02-23T08:15:49
2012-02-23T08:15:49
3,502,211
0
1
null
null
null
null
GB18030
C++
false
false
2,144
cpp
/** 此文件用于展示每一条完整的轨迹。 **/ #include <iostream> #include "FeatureTrack.h" using namespace std; using namespace cv; void showFinishedTrajecctory(Mat& img,list<CTrajectory>& finishedListTrajecctory); /* int main() { VideoCapture video(".\\testvideos\\3.avi"); if (!video.isOpened()) { cerr<<"can n...
[ "muffledli@gmail.com" ]
muffledli@gmail.com
eae40cdb666904b550459b3f1649115ac977de9d
3f9b0758a000fb2dc991f79cace2c8a5eba1e3d8
/include/boost/compute/device.hpp
b8a02df08433c0f1892538df06b0dfa563239651
[ "BSL-1.0" ]
permissive
sharmaar12/compute
43c87bcbc68fbd24e81d9ffc960758e07d9a405d
53d6e95054132b5e69c2ca00adf2fa3cb0bddb74
refs/heads/master
2020-04-02T01:40:05.850228
2014-03-16T22:18:26
2014-03-16T22:18:26
null
0
0
null
null
null
null
UTF-8
C++
false
false
10,164
hpp
//---------------------------------------------------------------------------// // Copyright (c) 2013 Kyle Lutz <kyle.r.lutz@gmail.com> // // Distributed under the Boost Software License, Version 1.0 // See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt // // See http://kylelutz.gi...
[ "kyle.r.lutz@gmail.com" ]
kyle.r.lutz@gmail.com
4237f7f090d342d296d7b6f1d7b7ddd0b046d74b
b767ca2f5c1826d259176e8cae755de7c034c1bd
/host/src/DebugBuffer.cpp
bf8c98a3011088c46c9c7bb72bf4e436679c042c
[ "MIT" ]
permissive
ilumsden/EmbMessenger
893901af9547ed4cf412c0cdeb5f3a233b1db70f
35cdcfdb782b6d97168ab2d3b6c2093c22c4ef11
refs/heads/master
2020-05-02T16:00:54.432260
2019-09-29T04:08:10
2019-09-29T04:08:10
178,057,706
0
0
MIT
2019-03-27T19:02:59
2019-03-27T19:02:58
null
UTF-8
C++
false
false
9,027
cpp
#include "EmbMessenger/DebugBuffer.hpp" #include "EmbMessenger/DataType.hpp" #include <cstdio> #include <sstream> #include <iomanip> namespace emb { namespace host { // Helper for getting the number of used bytes constexpr const uint8_t getWidth(uint16_t value16) { return (...
[ "noreply@github.com" ]
ilumsden.noreply@github.com
abe8aa57155b4c74a69814f7c5d56ea0a153acc6
2c67a542c55b5149b30be96c3725549483c35885
/OpenGL/src/Shader.cpp
c9d8925b79f2e69c248df119bddc546048f12330
[]
no_license
MikuSamaLOVEReady/RulomiRenderer
d7ba9a7eff5a5fcc007a12337d15c73428ca8bf2
0f092f5ab210edaa49f092ef743b60c88caa9c9e
refs/heads/master
2022-12-18T08:15:37.689298
2020-09-27T14:18:22
2020-09-27T14:18:22
299,046,933
0
0
null
null
null
null
GB18030
C++
false
false
4,691
cpp
#include "Shader.h" #include<iostream> #include "renderer.h" #include <fstream> #include<string> #include<sstream> ShaderProgramSource Shader::ParseShader(const std::string& filepath) { std::ifstream stream(filepath); enum class ShaderType { NONE = -1, VERTEX = 0, FRAGMENT = 1 }; std::st...
[ "sc17rl@leeds.ac.uk" ]
sc17rl@leeds.ac.uk
062fe0dab59ec15136567e4915aa19db4f6f266e
a2fc06cf458f896d2217592ac92098863e755a9c
/src/library/videoout/videoout.cpp
2399cee04fe19074f6c26669216b2fc2b08513e2
[]
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
15,368
cpp
#include <cmath> #include <roadrunner.h> #include <GL/glut.h> extern "C" { #include <videoout.h> #include <libavcodec/avcodec.h> #include <libswscale/swscale.h> } int video_recording = FALSE; long video_frame_nr = 0; float video_frame_rate = 0.0; double video_start_time = 0.0; pthread_mutex_t vo_mutex =...
[ "6959037@qq.com" ]
6959037@qq.com
e4dbcf9f505698b02f631d8978862f180b9077ad
f2f18d45053c26382cee44115876ca28948ad1a2
/pat_advanced/1131.cpp
11bc2fc4b461037276fa7ca391025b0c99637a14
[]
no_license
zerls/PAT
f38e07389c4f9cdfd9da748e24c90f47fea69280
c60c49c7ef004ffc8e69d0e203a7d9ff98929f69
refs/heads/master
2020-03-06T22:02:03.708702
2019-03-03T12:34:09
2019-03-03T12:34:09
127,091,405
0
0
null
null
null
null
UTF-8
C++
false
false
2,727
cpp
// // 1131.cpp // pat // // Created by zerl on 2019/1/17. // Github: https://github.com/zerls // Copyright © 2019年 zerl. All rights reserved. // #include <iostream> #include <vector> #include <unordered_map> using namespace std; static vector<vector<int>> v(10000); static unordered_map<int, int> line; static int...
[ "starss@outlook.com" ]
starss@outlook.com
92e033bdd882ed963b37c83a9b0f819ce41b1e7a
c86f3f1f748e03403671d840e50a3a3c87d6a882
/MyQTCustomWidgets/qbarruler.h
a5bb43322e124a0482a585fe8da11e1c8b7c54e5
[]
no_license
zhouyuming/QT
61143f015e09f63dddcfd5572f8347a69001ed04
e67339b7460e2701ddc46693af1433faa9eb92f0
refs/heads/master
2020-03-31T04:47:08.153881
2019-08-28T08:10:41
2019-08-28T08:10:41
151,919,758
2
2
null
null
null
null
UTF-8
C++
false
false
4,632
h
#ifndef QBARRULER_H #define QBARRULER_H /** * 柱状标尺控件 * 本控件来源于网络(原作者:kimtaikee(http://www.qtcn.org/bbs/read-htm-tid-33693-ds-1.html#tpc)) * 1:可设置精确度(小数点后几位)和间距 * 2:可设置背景色/柱状颜色/线条颜色 * 3:可设置长线条步长及短线条步长 * 4:可启用动画及设置动画步长 * 5:可设置范围值 * 6:支持负数刻度值 */ #include <QWidget> #include <QPainter> #include <QTimer> class QBa...
[ "zhouyuming@dding.cn" ]
zhouyuming@dding.cn
d213faf7fdbddf2bca04afc23f419c674af2ba15
4503b4ec29e9a30d26c433bac376f2bddaefd9e5
/XtreamToolkit/v16.4.0/Source/Calendar/XTPCalendarViewEvent.h
94fba7428b3a0206c1f23cc3e2bd15459425cb56
[]
no_license
SwunZH/ecocommlibs
0a872e0bbecbb843a0584fb787cf0c5e8a2a270b
4cff09ff1e479f5f519f207262a61ee85f543b3a
refs/heads/master
2021-01-25T12:02:39.067444
2018-02-23T07:04:43
2018-02-23T07:04:43
123,447,012
1
0
null
2018-03-01T14:37:53
2018-03-01T14:37:53
null
UTF-8
C++
false
false
55,755
h
// XTPCalendarViewEvent.h: interface for the CXTPCalendarViewEvent class. // // This file is a part of the XTREME CALENDAR MFC class library. // (c)1998-2013 Codejock Software, All Rights Reserved. // // THIS SOURCE FILE IS THE PROPERTY OF CODEJOCK SOFTWARE AND IS NOT TO BE // RE-DISTRIBUTED BY ANY MEANS WHATSOEV...
[ "kwkang@3e9e098e-e079-49b3-9d2b-ee27db7392fb" ]
kwkang@3e9e098e-e079-49b3-9d2b-ee27db7392fb
0e6552fcfe81598339b8d51ae00804b86e6322f6
4a399d20f9934c4984bab229a015be69e9189067
/devel/include/roboy_communication_control/StopRecordTrajectory.h
94b446caf39377628ee6f0e27fcdc35ebdf892cb
[ "BSD-3-Clause" ]
permissive
Roboy/myoarm_small_FPGA
09af14c7d82c9e8fc923842ae5aad1be6344bf27
f2f11bee50078d8a03f352e3b3ef9f3d9244d87a
refs/heads/master
2021-01-21T03:21:49.777564
2017-08-30T22:11:44
2017-08-30T22:11:44
101,892,113
0
0
null
2017-08-30T14:49:18
2017-08-30T14:33:46
null
UTF-8
C++
false
false
3,584
h
// Generated by gencpp from file roboy_communication_control/StopRecordTrajectory.msg // DO NOT EDIT! #ifndef ROBOY_COMMUNICATION_CONTROL_MESSAGE_STOPRECORDTRAJECTORY_H #define ROBOY_COMMUNICATION_CONTROL_MESSAGE_STOPRECORDTRAJECTORY_H #include <ros/service_traits.h> #include <roboy_communication_control/StopRecor...
[ "simon.trendel@tum.de" ]
simon.trendel@tum.de
2d81510d7e9c842773f1e32d24bf2f3db84daf6d
17add67fda68705402a3811747fc4d1b312a88d8
/src/fpsgame/client.cpp
7209bac8d3432a93f223c073508fee95a3dec876
[ "Zlib", "BSD-3-Clause", "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
bedna-KU/OF-Engine
c8e9852c45a54f0ff7f3466665f199347c4c2e7a
c52a81487c4bf02251f6a2afe2a40cc2d4255819
refs/heads/master
2021-01-17T06:44:27.409430
2013-06-17T12:26:52
2013-06-17T12:26:52
null
0
0
null
null
null
null
UTF-8
C++
false
false
22,085
cpp
// Copyright 2010 Alon Zakai ('kripken'). All rights reserved. // This file is part of Syntensity/the Intensity Engine, an open source project. See COPYING.txt for licensing. #include "cube.h" #include "engine.h" #include "game.h" #include "editing_system.h" #include "client_system.h" #include "message_system.h" #in...
[ "quaker66@gmail.com" ]
quaker66@gmail.com
a4f4c87b161a5b545543b3a5a98b3ae718461309
231e382c8b5b218d21836f45acbfed3dacc69964
/src/test/test_pooltask.cpp
84879b950232eb748609cde1220177c7507d9471
[]
no_license
Tyler-D/GET
bbb6a1603085fb77bb30cbe400e1944e7bbdbe76
92a5aba54134f4a2f87fe06043d552d1301ddd18
refs/heads/master
2021-01-13T02:12:15.278295
2016-10-09T03:54:23
2016-10-09T03:54:23
34,656,580
0
1
null
null
null
null
UTF-8
C++
false
false
1,559
cpp
/************************************************************************* > File Name: test_addtask.cpp > Author: > Mail: > Created Time: Tue 14 Apr 2015 02:43:26 AM EDT ************************************************************************/ #include<iostream> #include<stdlib.h> using namespace std; #include...
[ "136211494@qq.com" ]
136211494@qq.com
a0f37b2ec19b4f8046a1dc00cf29324492154921
25c4e05b6458bf16201ed3a79d302846b7f3a451
/Task4/lib/decompressor.cpp
6f04d73834065833d91b8c16e499928fa4be9a82
[]
no_license
Starcall/CPP_HW
e2676412d3f3d6e6ac6a922ccacd383833e66608
02678fa7e1875173c255a112fddc79d5aaea13fd
refs/heads/master
2020-03-17T07:33:15.590877
2018-01-27T10:33:45
2018-01-27T10:33:45
null
0
0
null
null
null
null
UTF-8
C++
false
false
4,348
cpp
#include "decompressor.h" #include <iostream> #include <stack> Decompressor::Decompressor(uint64_t l, uint16_t u, vector <uint16_t> const& tree_input, vector <uint8_t> const& leaves_input) { if(tree_input.size() != count_tree_input_size_by_unique(u) || leaves_input.size() != count_leaves_input_size_by_...
[ "hanver12@gmail.com" ]
hanver12@gmail.com
9a68698b4fdcb86c9dddc0bd7049d348962a35e5
cdf36db8dee0a1ce68e41e2cd2db8ddf0c038d3d
/butano/src/btn_sprite_palette_color_hblank_effect_handler.h
f8e629c2da632829ce306a72f5ce1e924c64eb0a
[ "Zlib" ]
permissive
cjiajiazhuiqiu/butano
f594736208e363e3cb22551797f3d7d9bb8cc37c
ac6cccfeeaeb4d6f3acb4de04a43bf8cefd4b042
refs/heads/master
2023-01-14T00:58:30.230050
2020-11-15T09:43:50
2020-11-15T09:43:50
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,196
h
/* * Copyright (c) 2020 Gustavo Valiente gustavo.valiente@protonmail.com * zlib License, see LICENSE file. */ #ifndef BTN_SPRITE_PALETTE_COLOR_HBLANK_EFFECT_HANDLER_H #define BTN_SPRITE_PALETTE_COLOR_HBLANK_EFFECT_HANDLER_H #include "btn_any_fwd.h" #include "btn_palettes_bank.h" #include "btn_palettes_manager.h" #...
[ "gustavo.valiente@protonmail.com" ]
gustavo.valiente@protonmail.com
1c16fb075ce05e2138e6a062dc14f976b0ac82e2
88bafd176e0f18848723193fbb7e18d52153da6f
/example/main.cpp
add055609ed3fe425e244570e5569e1e1f2ca3d2
[ "MIT" ]
permissive
Sondro/TinyErode
56067536bc338d39c4b772a88a1711ddd13f3c01
e2b686355dfb5d145110894424e7ee72c7c7ce50
refs/heads/main
2023-05-31T06:13:58.275868
2021-06-14T14:23:43
2021-06-14T14:23:43
null
0
0
null
null
null
null
UTF-8
C++
false
false
3,502
cpp
#include <TinyErode.h> #include <fstream> #include <iostream> #include <random> #include <vector> #include <math.h> #include <stdint.h> #define STB_IMAGE_WRITE_IMPLEMENTATION #include "stb_image_write.h" namespace { bool SavePNG(const char* imagePath, int w, int h, const std::vector<float>...
[ "taylor.holberton@protonmail.com" ]
taylor.holberton@protonmail.com
31ab166f5e46c1466f8a1a0f70def876193aa2a0
ac356a7c15480b7983f0ba6472a61f37eedf1b49
/Lab1/Lab1.cpp
03e35337942e6fa605e9054b4b03f5f78c208751
[]
no_license
thanhlam1702/DoHoaMayTinh
357916188c8eb7de441bd01a54d7da105cd12ca5
7d9ee7d5297481bdff063d2a5696ef2ba03d0c49
refs/heads/master
2022-12-01T18:00:53.363004
2020-08-15T03:56:10
2020-08-15T03:56:10
284,184,263
0
0
null
null
null
null
UTF-8
C++
false
false
1,166
cpp
//// Lab_1.cpp : Defines the entry point for the console application. //// // #include "stdafx.h" //#include "Dependencies\glew\glew.h" //#include "Dependencies\freeglut\freeglut.h" // // //const int screenWidth = 640; //const int screenHeight = 480; // //void init(void) //{ // glClearColor(0.0, 0.0, 0.0, 0.0); // glSh...
[ "Administrator@PC434" ]
Administrator@PC434
1ba2c4c341045522678bdce5f79356fffb3c1316
6aeccfb60568a360d2d143e0271f0def40747d73
/sandbox/statistics/distribution_toolkit/boost/statistics/detail/distribution_toolkit/distributions/location_scale/variance.hpp
03137c86b7b1402646e864fb3bc8d0b8f268adbb
[ "BSL-1.0" ]
permissive
ttyang/sandbox
1066b324a13813cb1113beca75cdaf518e952276
e1d6fde18ced644bb63e231829b2fe0664e51fac
refs/heads/trunk
2021-01-19T17:17:47.452557
2013-06-07T14:19:55
2013-06-07T14:19:55
13,488,698
1
3
null
2023-03-20T11:52:19
2013-10-11T03:08:51
C++
UTF-8
C++
false
false
1,363
hpp
////////////////////////////////////////////////////////////////////////// // distribution::toolkit::distributions::location_scale::variance.hpp // // // // (C) Copyright 2009 Erwann Rogard // // Use, modificati...
[ "erwann.rogard@gmail.com" ]
erwann.rogard@gmail.com
07bf845275ecd734d5359be038cef56ab278f83f
a3b093310df3986e6bd926c52bfb367af040a15f
/include/Actor.hpp
260115711f0c237b01cc18d03ef79a4dae5de1d3
[]
no_license
AnimeGirl110/Tracks-of-Galileo
57d14ffc417b17ff85c76f0b4f6772d068809ebd
827ba18bf6fe1b9657149f45937156c37bc0df41
refs/heads/main
2023-08-20T01:25:33.512227
2021-10-08T22:15:34
2021-10-08T22:15:34
415,139,955
0
0
null
null
null
null
UTF-8
C++
false
false
2,596
hpp
#pragma once #include "Model.hpp" #include "Vec2f.hpp" #include <vector> #include "World.hpp" namespace Game { // Base class for game objects having dimension and position. class Actor { public: // Called by Model to specify the model shared by all actors. static void SetModel(Model *model); // Cal...
[ "djoctowoomy@gmail.com" ]
djoctowoomy@gmail.com
83a8afa32537cb9ffefacff99d219d813c75df32
22438b083f16bb56c63395edf5203839cfe27ed3
/codes/Greedy/JobSelection.cpp
19eca790b6789f74362f4f2baf005145e47c8ae0
[]
no_license
kishore19a/learning
0c1fa9a19030522512d523f67315acb11befc3cb
c87ef8b05500bf752616601b8f341a242ddca219
refs/heads/master
2021-06-26T04:06:37.003159
2021-02-06T06:32:41
2021-02-06T06:32:41
207,135,878
0
0
null
null
null
null
UTF-8
C++
false
false
660
cpp
#include <iostream> #include <vector> #include <cmath> #include <algorithm> float maxProfit(std::vector<std::pair<int, float>>& jobsList) { auto it = std::max_element(jobsList.begin(), jobsList.end(), [](std::pair<int, float> a, std::pair<int, float> b){ return (a.first < b.first); }); if (it == jobsList.end()) ...
[ "kishore19a@gmail.com" ]
kishore19a@gmail.com
10c0777aedc4a6662f23e3eac8f7902ddb6c9c78
f28db6769ab62995600e2cfe03405e344733e326
/Playground/Playground/source/PathfindingScene.cpp
01042ab00575f69da46bcd9521347cdd1dd4a3a7
[]
no_license
xEricxD/Playground
0f07f60936ae4b1e814e4534cc6f814060d43ec7
89860865cec7ec976e2366ee6c039edb3eb00b46
refs/heads/master
2020-04-02T07:34:20.281297
2016-08-12T19:33:22
2016-08-12T19:33:22
61,394,875
1
0
null
null
null
null
UTF-8
C++
false
false
2,350
cpp
#include "PathfindingScene.h" #include "SpriteComponent.h" #include "GridObject.h" #include "AStarPathfinderObject.h" #include "JPSPathfinderObject.h" #include "AgentObject.h" #include "Engine.h" #define NUM_AGENTS 1000 //#define USE_DEBUG_AGENT //#define START_END_BY_NODE #define START_NODE glm::vec2(45, 42) #define...
[ "erictroost@msn.com" ]
erictroost@msn.com
58c2074c69329458aa452393e2fb0df2e137bae9
72b0f805e546cfc67abe16b1431a387d4caeb32b
/Beagle Bone/library/bbb_time.cpp
5ac2cc22a8306bfcb648ad7f7ee50b286207ee3c
[]
no_license
joechenchen/tinylink-lib
7ae3bf44293e80fa4f5c223b81326770008be962
4ab1505c3e2ac3360737392a734ecb5aadb08b1f
refs/heads/master
2021-08-23T04:50:37.204861
2017-12-03T12:06:55
2017-12-03T12:06:55
110,414,141
0
0
null
2017-11-12T07:39:03
2017-11-12T07:39:03
null
UTF-8
C++
false
false
459
cpp
#include "bbb_time.h" void _TIME::delayMillis(uint32_t duration) { ::delay(duration); } void _TIME::delayMicros(uint32_t duration) { ::delayMicroseconds(duration); } uint32_t _TIME::millisFromStart() { return ::millis(); } uint32_t _TIME::microsFromStart() { return ::micros(); } /*string _TIM...
[ "chengzh@emnets.org" ]
chengzh@emnets.org
57a84147188b908d72f70fdf0142f7ca79bc592c
542518f17b7e2f47717e37d76ca54f304a065681
/CAD2/arx2015/inc/AcGiLineAttributes.h
1b72acdb58c3911022cf74631fb3e411a42e0120
[]
no_license
joshinils/cad2_ss19
a61f7151afdf353b662c492656e7620044019e88
509c768c7e02c927ef78ca7f7f0b84b457494e64
refs/heads/master
2020-05-07T22:47:48.713311
2019-06-28T09:36:25
2019-06-28T09:36:25
180,960,541
1
1
null
null
null
null
UTF-8
C++
false
false
3,939
h
// ////////////////////////////////////////////////////////////////////////////// // // Copyright 2014 Autodesk, Inc. All rights reserved. // // Use of this software is subject to the terms of the Autodesk license // agreement provided at the time of installation or download, or which // otherwise accompanies t...
[ "joshua.laskowski@web.de" ]
joshua.laskowski@web.de
61c530c65ad87222aedf40568ca97c981aa554b3
7221884f323b1f4460bd6c1ae1626124264a0127
/xyzzy/src/largeint.cc
ae1b958c18c740381ca439440f02882e350deb92
[ "MIT", "MS-PL" ]
permissive
xyzzy-022/xyzzy-unicode
8333f30b7a65029e098f730d9abfd8f65093c266
46cab03de1fb939835ffbf65f335bac23514ef71
refs/heads/master
2021-01-23T18:52:28.301898
2012-03-20T00:04:48
2012-03-20T00:04:48
3,770,801
2
1
null
null
null
null
UTF-8
C++
false
false
3,551
cc
#include "cdecl.h" #include "largeint.h" #ifdef _M_IX86 # pragma warning (disable:4035) large_int __declspec (naked) __stdcall addsi (long a, long b) { __asm { push ebx; mov eax, [esp+12]; b cdq; mov ebx, eax; mov ecx, edx; mov eax, [esp+8]; a cd...
[ "none@none" ]
none@none
36157be9ec44326eda8236d0688e8f473f994355
fb169c2f361c5d860d56e585ac76bfb59e87fac0
/Engine/Engine.h
2afc7c5b75156214577ebc43d03f4bfea0becf3a
[]
no_license
thestray259/GAT150
0dd9283ff640ccfddea58d84ab33f7507e375a0e
716cdcf8b8fa377bff2d5d4d1f5f9bba86921b96
refs/heads/master
2023-07-17T15:05:36.101208
2021-08-17T21:42:41
2021-08-17T21:42:41
392,109,045
0
0
null
null
null
null
UTF-8
C++
false
false
1,364
h
#pragma once // systems // core #include "Core/Utilities.h" #include "Core/FileSystem.h" #include "Core/Timer.h" // math #include "Math/Vector2.h" #include "Math/Color.h" #include "Math/MathUtils.h" #include "Math/Transform.h" #include "Math/Matrix22.h" #include "Math/Matrix33.h" #include "Math/Random.h" // graph...
[ "tallen@student.neumont.edu" ]
tallen@student.neumont.edu
c40cef5ba988742ff405a4e7d219b2cada275ff9
426be981352881138c26492c0cdc1107a9c0afa4
/arbi/src/quote_interface_ine_my.cpp
57f0f40bf247b7c0a57dc6c145793061e33d69a9
[]
no_license
OverfittingStudyRoom/x-trader
491910f7284913330c4afac767c3c00893a9b9ba
247d1043bbb98ee7d53b5de447904ebde186093c
refs/heads/master
2023-03-31T13:01:38.097797
2020-03-12T12:29:37
2020-03-12T12:29:37
null
0
0
null
null
null
null
UTF-8
C++
false
false
8,404
cpp
#include <thread> // std::thread #include "quote_interface_ine_my.h" std::string MYIneQuoteData::ToString(const MYShfeMarketData &d) { clog_debug("MYShfeMarketData: instrument:%s, data_flag:%d,buy_total_volume:%d; sell_total_volume:%d; buy_weighted_avg_price:%lf; sell_weighted_avg_price:%lf", d.Inst...
[ "17199883@qq.com" ]
17199883@qq.com
3b32f4954d702685526bbbab3ca4b6b183be8322
7370c27c680f9d8e7ebeef224b3f6460a343fea8
/code/svc_mc/jni/extractor/src/Box/MovieHeaderBox.cpp
eb3f5f4b11d6069ee53cfe1d5a5782da3845c011
[]
no_license
nmsl/svc_android_project
63e289da9ab2ecb798aa09ee970782ed9a3e9c68
e292c995af64535bed6d810d4a1a7a021df6c55a
refs/heads/master
2020-03-29T21:56:55.031537
2015-06-05T09:40:46
2015-06-05T09:40:46
30,577,349
3
0
null
null
null
null
UTF-8
C++
false
false
6,131
cpp
#include "MovieHeaderBox.h" using namespace Boxes; using namespace std; MovieHeaderBox::MovieHeaderBox (uint32_t size, uint64_t type) : BaseBox (size, type), creationTime (0), modificationTime (0), timeScale (600), duration (0), preferredRate (0), preferredVolume (0), matrixA (0), matrixB (0), mat...
[ "jargotw@gmail.com" ]
jargotw@gmail.com
c859ec36ad02d4a343b4de8b7d1fac29a79d1091
72d9009d19e92b721d5cc0e8f8045e1145921130
/T4cluster/src/utilities.cpp
6e98d48db58cf24ee081efdbc9b0e393ffbb761a
[]
no_license
akhikolla/TestedPackages-NoIssues
be46c49c0836b3f0cf60e247087089868adf7a62
eb8d498cc132def615c090941bc172e17fdce267
refs/heads/master
2023-03-01T09:10:17.227119
2021-01-25T19:44:44
2021-01-25T19:44:44
332,027,727
1
0
null
null
null
null
UTF-8
C++
false
false
6,851
cpp
#include <RcppArmadillo.h> #include "utilities.h" #include <cassert> #ifdef _OPENMP #include <omp.h> #endif using namespace Rcpp; using namespace arma; using namespace std; // SECTION 1 : ELEMENTARY COMPUTATION ========================================== // [[Rcpp::export]] arma::mat cpp_shortestpath(arma::umat locs,...
[ "akhilakollasrinu424jf@gmail.com" ]
akhilakollasrinu424jf@gmail.com
0694602969ccfccbac49055505d575b7c79cbb36
bc0945070d150c8af7cc56bf6e045a8c2cc7873d
/1579/1930901_WA.cpp
a58ec689391f5cf94944634d1336303bda86c866
[]
no_license
fengrenchang86/PKU
ab889d88cd62b3c0b3e00cde5d5c3a652a16221a
0c4adf6b740d2186b7f23124673cd56520d1c818
refs/heads/master
2021-01-10T12:12:18.100884
2016-03-07T14:14:33
2016-03-07T14:14:33
53,328,385
1
0
null
null
null
null
UTF-8
C++
false
false
1,045
cpp
#include <iostream> using namespace std; int ww ( int a, int b, int c ) { if ( a <= 0 || b<= 0 || c<=0 ) return 1; if( a > 20 || b>20 || c>20 ) return ww(20,20,20); if ( a < b && b < c ) return (ww(a, b, c-1) + ww(a, b-1, c-1) - ww(a, b-1, c) ); return (ww(a-1, b, c) + ww(a-1, b-1, c) + ww(a-1, b, c-1) - ww(a...
[ "fengrenchang86@gmail.com" ]
fengrenchang86@gmail.com
9a8fac1e0e331613da087fe897f7126a98c64c23
fd84d7ae4efc0b58af89a319c01e8b4ed2bb6303
/algorithm/tree/test.cpp
3b30ef13ec042115f623febc57739fd0ba349367
[]
no_license
Junesuperking/test
3c94e5d601f0a023e594683b8ee5553f0d9a88f3
1d3548a5c1a693b9ab7fe2fad453928c809032cf
refs/heads/master
2021-01-13T09:15:38.537443
2019-06-06T08:02:09
2019-06-06T08:02:09
72,608,451
0
0
null
2016-11-02T06:04:12
2016-11-02T05:53:47
null
UTF-8
C++
false
false
327
cpp
#include <iostream> using namespace std; tree_node* sum(tree_node *root, int sum) { int a; if (!root) { return NULL; } a = root->para + sum; cout << root->para << endl; if (!root->left) sum(root->leftk, a); if (!root->right) sum(root->right, a); else put(a); } int main(void) { sum(root, 0); retur...
[ "wangjunchao@wangjunchaodeMacBook-Pro.local" ]
wangjunchao@wangjunchaodeMacBook-Pro.local
70bcc8a0f6a896b63ba9cdd5dbbf61afd6cd5746
56fb105452c03463832dda017b23ce5f9e25f5a3
/main.cpp
90b33e9bf14be40f425cd719d7c7465e335f9eb9
[]
no_license
maxmaxjian/TestTypeDeduction_cpp
87bad84644dfd6abf86104659b2bee099fb73c62
d0900149e08b0847557057a095fe3add2c36ba4d
refs/heads/master
2020-07-05T00:54:22.221529
2019-08-15T04:46:43
2019-08-15T04:46:43
202,475,689
0
0
null
null
null
null
UTF-8
C++
false
false
418
cpp
#include<iostream> #include<boost/type_index.hpp> template<typename T> void f(T&& param) { using boost::typeindex::type_id_with_cvr; std::cout << "T = " << type_id_with_cvr<T>().pretty_name() << std::endl; std::cout << "param = " << type_id_with_cvr<decltype(param)>().pretty_name() << std::endl; } ...
[ "wejian@amazon.com" ]
wejian@amazon.com
41d06c10cd90e46b0f354525dd9fe8f778acb46f
2e3fcddc6f3f9700f1b24b90360de56521ae9631
/_draft/flash_cpp/hashlib/hl_wrapperfactory.h
420f6e81eca6633d98728cbb39d19278a543d5d1
[ "BSD-3-Clause" ]
permissive
gorilahe/webuploader
3593a3fbea88bbe1076b2efcf40b0a0059f60822
a3c3980a038744f6fe8673836d87dcd9762c26fb
refs/heads/master
2023-07-19T10:30:40.215740
2023-07-10T16:17:28
2023-07-10T16:17:28
242,892,756
0
0
BSD-3-Clause
2020-02-25T02:38:49
2020-02-25T02:38:49
null
UTF-8
C++
false
false
3,081
h
/* * hashlib++ - a simple hash library for C++ * * Copyright (c) 2007-2010 Benjamin Grüdelbach * * 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...
[ "liaoxuezhi@baidu.com" ]
liaoxuezhi@baidu.com
e85660d00a49088f870a5636c0df72781fd5fd2a
71d3010a8d6e1026c95bf45403616127f4a1e5ec
/qjdmodulelist.cpp
c372852ce9346bd26786a4564358025e8c941217
[]
no_license
xtfllbl/flowGUI
87f1be48e620873b6d6a5bd6982044fea0ffab8d
00b7c4d921d338ce94918d4dfc23f24348926831
refs/heads/master
2016-09-06T16:53:04.335256
2011-12-19T05:10:11
2011-12-19T05:10:11
2,158,984
0
0
null
null
null
null
UTF-8
C++
false
false
3,242
cpp
#include "qjdmodulelist.h" #include <QDebug> #include <QtGui> #include "src/qjdargu.h" QJDModuleList::QJDModuleList(QWidget *parent) : QTreeWidget(parent) { setFocusPolicy(Qt::NoFocus); // setFrameShape(QFrame::WinPanel); // setFrameShadow(QFrame::Raised); setHeaderHidden(true); setSelectionMode...
[ "xtfllbl@hotmail.com" ]
xtfllbl@hotmail.com
99d076ee9ee9173c8a50f754f9f7e1b7bc16f6f8
8e5ae87af13e723705d41e2ad686ca80ee2ce3d6
/myplugin/myplugin.cxx
404f5353e0c5dcc35d8b83f3e6a9f2c1d86ea0a0
[ "MIT" ]
permissive
xTachyon/PluginSystem
1d970963e6239e1e0d010e0a135a3e64ed4c9f82
6c3a83743f706eedf1cfcad92eb756289d8f79e1
refs/heads/master
2020-12-31T06:55:12.369309
2017-07-05T08:32:37
2017-07-05T08:32:37
86,615,708
2
1
null
null
null
null
UTF-8
C++
false
false
239
cxx
#include <list> #include "myplugin.hpp" void plugin_init(void* ptr) { PluginUniquePtr& plugin = *reinterpret_cast<PluginUniquePtr*>(ptr); plugin = std::make_unique<MyPlugin>(); } void MyPlugin::onEnable() { Plugin::onEnable(); }
[ "andreidaamian@gmail.com" ]
andreidaamian@gmail.com
092a5c2063f3d05c8b36b42e2ee3e8b61da16ab8
f8a2a17426dff4dfcdabeca957670642c02faf8a
/src/common/Global.h
e4a4a3e9137948e05e2f39b4affe09cf782eea2b
[]
no_license
zhenglikanex/renderer
7b3ca6c7550ebf84499424cf771b8f27cb03e2fd
2d4c16dda115b5e629178bf29bae034c1a53627d
refs/heads/master
2020-04-28T01:18:56.870487
2019-12-27T10:13:52
2019-12-27T10:13:52
174,850,624
0
0
null
null
null
null
GB18030
C++
false
false
162
h
#ifndef GLOBAL_H_ #define GLOBAL_H_ namespace aurora { class Global { public: // 当前帧消耗的时间; static float s_delta_frame_time; }; } #endif
[ "郑立@DESKTOP-DRC2H2H" ]
郑立@DESKTOP-DRC2H2H
2860da26f75b1d936395e78b9311c3de54a31485
09b36c8ab18fdc7ec4034ed9fdad088a18c191be
/CourseBuild/MyFarmingGame_BackUpThisFolder_ButDontShipItWithYourGame/il2cppOutput/Generics16.cpp
ad34db23377429fdf885d4f157c4ea498f802cda
[]
no_license
zackrcarson/MyFarmingGame
782005ac51b1d90a376397a7c5196258649af3e2
0e0a867fe2023e9ac650169f6cf85bef8548a677
refs/heads/master
2023-01-27T14:34:02.572891
2020-12-10T03:11:09
2020-12-10T03:11:09
288,341,793
3
0
null
null
null
null
UTF-8
C++
false
false
1,453,383
cpp
#include "il2cpp-config.h" #ifndef _MSC_VER # include <alloca.h> #else # include <malloc.h> #endif #include <cstring> #include <string.h> #include <stdio.h> #include <cmath> #include <limits> #include <assert.h> #include <stdint.h> #include "codegen/il2cpp-codegen.h" #include "il2cpp-object-internals.h" template ...
[ "zackrcarson@gmail.com" ]
zackrcarson@gmail.com
fdb02c2e384433dcc5c65c809ccfa543031e8f32
00e840a1fade58f61be08b1811739dad0b381c92
/main.cpp
64bbf702c9760d31c717f435bc22f554c9121b24
[]
no_license
martb00/mast
6a1f2abc822c3337aa67dbe0fafd8db849837f4f
e464dfaf74f3bcf8f1867df2d7ecc06ad95146a0
refs/heads/main
2023-07-03T13:51:32.045261
2021-07-21T20:17:25
2021-07-21T20:17:25
386,016,644
0
0
null
null
null
null
UTF-8
C++
false
false
15,214
cpp
#include <iostream> #include <string> #define _CRT_SECURE_NO_WARNINGS #pragma warning(disable:4996) using namespace std; struct node { int key = NULL; struct node* parent = NULL; struct node* child = NULL; struct node* brother = NULL; }; struct tree { struct node* root; ...
[ "noreply@github.com" ]
martb00.noreply@github.com
895660da0b1810e20e08cec2b53732a478ce812f
301abbbcd4822ca11298d7272679ab6222dedbad
/LoRa/LoRa_Sub/LoRa_Loadcell/LoRa_Loadcell.ino
4c11c160ced2d60282560805a214a42be25fab17
[]
no_license
Kevinkwon98/Arduino-Project
d4d4377531cf17cfd3bdb6aac03db663880d00ab
ad051c1228e40460234776f473409f63de5f639d
refs/heads/master
2020-08-10T22:14:58.562429
2019-10-11T12:39:48
2019-10-11T12:39:48
214,431,747
0
0
null
null
null
null
UTF-8
C++
false
false
5,863
ino
/* Program by Kevin Kwon 2019. 9. 23. LoRa communication by Serial 9600bps with Adjusted H/W time 시리얼통신을 이용한 LoRa통신 기본 프로그램 ID Comparing : ID-A01 ~ Z99 (2,574개) Load Cell data gathering Hx711.DOUT - pin #A1 Hx711.SCK - pin #A0 */ #include <SPI.h> #include <LoRa.h> #include "Arduino.h" String ID = "I...
[ "keunhyug@gmail.com" ]
keunhyug@gmail.com
de2a02d269200e953479514339d60bde42a48d84
e76a18f315bbf974841557d1cd68b4ec11f8e276
/round3/problems/intervals/src/gen_small_rand.cpp
3b1cf4aa43da4e20da59da70f9a7b30ffb3ac23d
[]
no_license
bcip/yandex2014
498bcd32f5a2d23e1c46e1dcfded2e2728785542
787d244372592d66d57be82a2fce2bdd930215b2
refs/heads/master
2021-01-10T20:24:56.186890
2014-09-04T13:01:26
2014-09-04T13:01:26
null
0
0
null
null
null
null
UTF-8
C++
false
false
383
cpp
#include "testlib.h" #include <iostream> using namespace std; const int MAXN = 1000000000; int main(int argc, char* argv[]) { registerGen(argc, argv, 0); int n = rnd.next(5, 100); int D = rnd.next(-MAXN, MAXN); printf("%d %d\n", n, D); for (int i = 0; i < n-1; ++i) { printf("%d ", rnd.next(-MAXN, MAXN...
[ "wangqinshi1995@gmail.com" ]
wangqinshi1995@gmail.com
284fee6e8aa0186837fd275031266a7ad5a12771
13d6375392afd2809324de8c565d0f7309e42b3b
/Filter_1.cpp
9abcefde31c59860c2b494f7896be1ebdd376c49
[]
no_license
gongjiaji/CE221-Assignment-cpp
a0f7363d4eb42d70718d17affd9d1e381d4ca0d4
4c673bb55db6bda71df9364e0f9eac339c318d2c
refs/heads/master
2020-08-28T23:44:01.334151
2019-10-27T13:09:57
2019-10-27T13:09:57
217,856,590
0
0
null
null
null
null
UTF-8
C++
false
false
594
cpp
#include "Filter_1.h" // this filter accept at least 1 CAP letter and 0 non-CAP letter bool Filter_1::filter(string word){ bool accept = false; // whether a word could pass this filter for (char i : word) { // traverse every character of a word // if at least 1 CAP letter detected, accepted! if(...
[ "gongjiajiiii@gmail.com" ]
gongjiajiiii@gmail.com
b46c3e69853b3106ad1e15fe4dbb93a30fe6afe9
5a90342ed56f058c661b2f8edd91e17e43e19aad
/Triangle.cc
fe00e350a8458f697eb53ef5039cf4c40162a418
[]
no_license
mfandre/raytracer
e7ced353c40ccf48309c5a42d3277067fd4f81f2
621180428131d852f2cc81d467264083c8f56837
refs/heads/main
2023-07-21T23:53:30.923965
2021-09-01T17:43:55
2021-09-01T17:43:55
402,146,655
0
0
null
null
null
null
UTF-8
C++
false
false
338
cc
#include "Triangle.hh" Triangule::Triangule(Vec3f a, Vec3f b, Vec3f c, Shader *s) : Primitive(s), a(a), b(b), c(c) { Vec3f v1 = b - a; Vec3f v2 = c - a; normal = Cross(v1, v2); Normalize(normal); } bool Triangule::PointInTriangle(Vec3f &pt, Ray &ray) { //Verifica se um ponto pertence ao triangulo return t...
[ "fandre@gmail.com" ]
fandre@gmail.com
d8a207b3123122e296bf9b6c0488ba6488803f31
f6708de00e55eab96ddee086b5c2b517ba453567
/CPPToNet/InputFile.cpp
5b4d95d455af0527fce082e11ce7878754a2018d
[]
no_license
galkahana/Code-Name-Falafel
994c5989a4ffb835f86a57bc0788d144ff9ee124
0ffe727cd36660ca4f6e65f2ce4834d9c3e12c96
refs/heads/master
2022-11-09T01:12:52.590225
2022-10-24T11:05:33
2022-10-24T11:05:33
2,405,143
0
0
null
null
null
null
UTF-8
C++
false
false
2,450
cpp
/* Source File : InputFile.cpp Copyright 2011 Gal Kahana Hummus 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 Un...
[ "gal.kahana@hotmail.com" ]
gal.kahana@hotmail.com
da6c47064ca0edb1c8056a95b8cf3dc851887d31
ed7579d85e37329efd22e05e8dffbf9c8091b62a
/src/fl_shadow_box.cxx
dfadf04d6d921285fe38d8fc84fe6cf1a92281c7
[]
no_license
hair-ball/minifltk-1.3
21c22e019af958644fbd21e6f66b49be698bba2e
64f4deebcf9b22a18aa2ba9122ea4c39a25e577e
refs/heads/master
2021-01-18T03:29:58.852042
2014-09-24T04:10:08
2014-09-24T04:10:08
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,345
cxx
// // "$Id: fl_shadow_box.cxx 8864 2011-07-19 04:49:30Z greg.ercolano $" // // Shadow box drawing routines for the Fast Light Tool Kit (FLTK). // // Copyright 1998-2011 by Bill Spitzak and others. // // This library is free software. Distribution and use rights are outlined in // the file "COPYING" which should...
[ "cyantreeguo@users.noreply.github.com" ]
cyantreeguo@users.noreply.github.com
17801ed75fd8671ec3ae583aa10781175edc649c
06aacd171acbd777c6920227ed7d0d113649d81d
/languages/c/chat/chat1.cc
2a4b688e8cb231d5388df345bae5865ae52caa3f
[]
no_license
howerj/junk
e486f0cd34f1e45ab64c5d9ac7854564e84be92c
0b3045ff94d38d5d654f9227dd5afa706b962d7a
refs/heads/master
2022-05-30T05:21:04.247605
2022-05-16T19:51:49
2022-05-16T19:51:49
11,532,144
4
1
null
null
null
null
UTF-8
C++
false
false
1,975
cc
#include <iostream> #include <vector> #include <string> #include <sstream> #include <algorithm> #include <iterator> using namespace std; vector<string> words; vector<int> weight1; vector<int> weight2; int oldbw; int collect(string const& i, int w1, int w2) { istringstream iss(i), iss2(i); copy(istream_iterat...
[ "howe.r.j.89@gmail.com" ]
howe.r.j.89@gmail.com
f3bee9b2d17becf3ae4968afb2ac17503fe4418e
d48653e4015f6762e233436c03ca2956869b0885
/Source/AgogCore/Public/AgogCore/ADeferFunc.hpp
174fef64928455214ee1aad1b072fba8b268a893
[]
no_license
marynate/SkookumScript-UnrealEngine-1
2d98b08073e464e247a22ca6cf814f9709c638ac
5dc385b7a1f3fa93b075f8d6ed3ffeb6deceb2ad
refs/heads/master
2021-01-14T08:51:15.354834
2016-01-09T00:47:10
2016-01-09T00:47:10
49,553,362
0
0
null
2016-01-13T06:08:23
2016-01-13T06:08:23
null
UTF-8
C++
false
false
3,763
hpp
//======================================================================================= // Agog Labs C++ library. // Copyright (c) 2008 Agog Labs Inc., // All rights reserved. // // ADeferFunc class declaration header // Author(s): Conan Reis // Notes: //=================================================...
[ "markus@agoglabs.com" ]
markus@agoglabs.com
b80a65c526e0a5720193a487cfab7789f23057e2
86aa36810f4028fcfa69e86b4f8d576f66221adc
/sem_02/07-array-based-stack-and-queue/int_stack_non_optimal.cpp
824a8a7b26ae811a9ac6c5c7d2c921b536445e7e
[]
no_license
assambar/learn-up-2016
45c0f20f0af1608f1cd8393c112587e17539825d
41567f25791bdc18860119f7262b000d1abb9d79
refs/heads/master
2021-01-12T13:32:38.251003
2017-05-26T06:57:27
2017-05-26T06:57:27
69,843,877
0
2
null
null
null
null
UTF-8
C++
false
false
2,363
cpp
#include "simple_test.h" class IntStack { public: static const int MAX_SIZE = 100; IntStack() : top(-1) {} bool push(int value) { if (top == MAX_SIZE-1) { return false; } top++; values[top] = value; return true; } bool peek(int& out) const { ...
[ "asen.alexandrov@gmail.com" ]
asen.alexandrov@gmail.com
45aebe4ff19d51344f32ab9c19ad6f1eae80af65
db4adbcc036160cd7067f463278540f5e313c5bd
/src/include/fit_training_file_mesg_listener.hpp
47a2381e6472037d6046bd768610f67b04f605b2
[]
no_license
logicmonkey/fit_activity_decode
0b7c92d5ec5e09c6a6c4899792b881554c0b0df6
fed0d0f6a0f34a7d8140d129060a110e318159ca
refs/heads/master
2020-03-20T07:24:28.917085
2018-06-21T22:50:54
2018-06-21T22:50:54
137,280,480
0
0
null
null
null
null
UTF-8
C++
false
false
1,325
hpp
//////////////////////////////////////////////////////////////////////////////// // The following FIT Protocol software provided may be used with FIT protocol // devices only and remains the copyrighted property of Dynastream Innovations Inc. // The software is being provided on an "as-is" basis and as an accommodation...
[ "piers.barber@logicmonkey.co.uk" ]
piers.barber@logicmonkey.co.uk
c23f71e4618f0fe11d76808d496e43dc2796f7ce
343966f68798615621ed7f6a17ebe782b7738dea
/src/net/cookies/cookie_monster_unittest.cc
01ee039244e55225e8a9b2a40748d1777893e775
[ "BSD-3-Clause" ]
permissive
iuing/chromium.bb
57745cdda62a8b0097b7139f86422e74c331c937
e2c7771d2f79008f4c3b06b6cc024f3f1936156f
refs/heads/master
2023-04-09T10:12:54.306426
2021-04-22T14:26:20
2021-04-22T14:26:20
null
0
0
null
null
null
null
UTF-8
C++
false
false
201,508
cc
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "net/cookies/cookie_monster.h" #include <stdint.h> #include <algorithm> #include <string> #include <vector> #include "base/bind.h" #includ...
[ "buildbot@bloomberg.net" ]
buildbot@bloomberg.net
96a643decc3a32259692d81b8011cdb66db43583
de502074eb4ca2abf0b3eec33e435cd30628073a
/examples/standalone/custom_drawer/custom_drawer.cc
0ac1f02fb1f1a2603de8599b112f4783a3eddf04
[ "Apache-2.0" ]
permissive
DLu/ign-gui
9b389b4cef820b0192016a08d1038d404656a5c4
5048b05469cf57a77e20c8fa029c454513125cda
refs/heads/main
2023-07-08T14:12:26.652997
2021-07-21T17:16:40
2021-07-21T17:16:40
394,318,036
0
0
NOASSERTION
2021-08-09T14:15:25
2021-08-09T14:15:24
null
UTF-8
C++
false
false
2,041
cc
/* * Copyright (C) 2018 Open Source Robotics Foundation * * 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 appl...
[ "burajiru.no.chapulina@gmail.com" ]
burajiru.no.chapulina@gmail.com
243278197df6d7fbcb104a0181bc3443053f7bde
e953e528778430b706dd5616ba719068d2c98fd1
/IComposable.h
20280fd322737c50abc5b76ae9f905df0aca9424
[]
no_license
Julipiovesan/EDI-II
f3846f42293d5d5d93a61c3cf0611cab4bf3ebb0
657615985137b53925d126fb779de39ecfde07b1
refs/heads/master
2020-05-24T05:54:12.460424
2019-11-13T11:59:13
2019-11-13T11:59:13
187,128,597
0
0
null
null
null
null
UTF-8
C++
false
false
413
h
#ifndef IComposableH #define IcomposableH #include <tchar.h> #include <stdio.h> #include <iostream> class IComposable { public: virtual ~IComposable(){}; virtual void list(int depth) = 0; //operation virtual void add(IComposable* component) = 0; virtual void remove(ICompo...
[ "noreply@github.com" ]
Julipiovesan.noreply@github.com
71870efed4bf88ffd85f9011858a47f86096f59e
d8b5d1eb7a332d05a3971736c8f7f597e3b41d72
/LANDIS_7.1_MergeVersion/Landis40App/source/LANDIS.CPP
43dadb80183c0723cc8b7a287b37d4b457733840
[]
no_license
Leowisd/LandisProMerge
5d01d60514f657b4b0cfe5f71746aae59767100f
bf2e742fa05921ac5dc3f85dc1c30a0b805117c2
refs/heads/master
2020-04-22T14:17:17.093157
2019-02-26T01:09:32
2019-02-26T01:09:32
170,438,507
0
0
null
null
null
null
UTF-8
C++
false
false
60,705
cpp
/**************************************************************************** * LANDIS model design: * * David J. Mladenoff, Joel E. Boeder, Hong S. He, George E. Host * * LANDIS 4.0 Dynamic Linked Libraries : * * ...
[ "32425638+Leowisd@users.noreply.github.com" ]
32425638+Leowisd@users.noreply.github.com
3cc73952bb99cc8112f847d5aa88fc0276fbcfa2
49bcaff73950e8694c28ecf34dc7cbc5af202340
/modules/animationqt/include/modules/animationqt/factories/sequenceeditorfactoryobject.h
431b97ac69bdfb94de1b7deb9a9aa4ed285b8eb4
[ "BSD-2-Clause", "BSD-3-Clause" ]
permissive
Sparkier/inviwo
5a52e313303ce0033b14e1444aaea421565197f5
b3cc5c84e565cbd81d64688042215d7dd54dbd67
refs/heads/master
2021-11-26T14:03:29.958570
2019-05-09T12:17:39
2019-05-09T12:17:39
135,577,745
0
1
BSD-2-Clause
2019-10-07T14:00:54
2018-05-31T11:59:45
C++
UTF-8
C++
false
false
3,230
h
/********************************************************************************* * * Inviwo - Interactive Visualization Workshop * * Copyright (c) 2018-2019 Inviwo Foundation * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided th...
[ "peter@steneteg.se" ]
peter@steneteg.se
5734b946f869f46903630ea3cb8a4931516e3c7a
5367ac1f5ef0d8e9cb6801a68b981935e361d74f
/everywhere/source/packet.cpp
9de7b6e176bc89c535e88373112df8e109ed7aa8
[]
no_license
xuraoqing/everywhere
3564b6247ced656511a878ad12f4ba47f44a5b48
6e1e75a7746ee9103bdc63ae6086b34276031752
refs/heads/master
2021-01-19T11:42:58.378994
2016-07-04T15:31:12
2016-07-04T15:31:12
62,285,958
0
0
null
null
null
null
UTF-8
C++
false
false
1,759
cpp
#include"packet.h" #include<iostream> using namespace std; int32_t Packet::Input(uint8_t *Bytes,int32_t Len) { int Count; for(Count = 0;Count < Len;Count++){ Buf.push(*Bytes); Bytes++; } return Count; } int32_t Packet::Output(uint8_t *Bytes,int32_t Len) { cout<<"send packet len="<<Len+4<<endl; uint32_t LenFla...
[ "xuraoqing@163.com" ]
xuraoqing@163.com
80dc22c7ac761510f61005e2df828d17eab2f665
0a171c85b541be11361505fb750a750f5b4f85ac
/Visual C++/lessons/lesson2/CalculatorModificator/Source.cpp
27286f7dab290acc6be2a5db1e26d959f69cda52
[]
no_license
ukod/StepAcademyLessons
dc55f735a17071dd35ab5348e02915ef3c293677
5b6e7abbd7d79f38a1c0188a09794314de05c198
refs/heads/master
2021-04-15T07:34:32.049511
2016-01-30T20:30:41
2016-01-30T20:30:41
126,335,262
0
0
null
null
null
null
WINDOWS-1251
C++
false
false
2,724
cpp
#include <windows.h> #include <tchar.h> LRESULT CALLBACK xxx(HWND, UINT, WPARAM, LPARAM); TCHAR szClassWindow[] = TEXT("Каркасное приложение"); int WINAPI _tWinMain(HINSTANCE hInst, HINSTANCE hPrevInst, LPTSTR lpszCmdLine, int nCmdShow) { HWND hWnd; MSG Msg; WNDCLASSEX wcl; wcl.cbSize = sizeof(wcl); wcl.style =...
[ "ukosname@mail.ru" ]
ukosname@mail.ru
4b9b5b69b3697eeb3b07bf0249d2ba1f92ee9cb0
8094a6b21480d59bb706b7033bac13d8c73ffc0f
/P1280.cpp
686d75bea09dd3fea22e2048241e8ac6069d128b
[]
no_license
y2549liu/Code-for-OJ
596dbebf4efc43cdf8c32aad76076cc374e8eaa8
125f3b906ed49da359a40a704dc85fbdde09f35e
refs/heads/master
2020-04-16T20:59:52.115341
2019-08-09T19:41:36
2019-08-09T19:41:36
165,911,843
0
0
null
null
null
null
UTF-8
C++
false
false
596
cpp
#include <bits/stdc++.h> using namespace std; struct task { int beg, end; bool operator<(const task &x) const { return (beg < x.beg); } }; int dp[10001]; int main() { int n, k,start,duration; cin >> n >> k; priority_queue<task> taskQ; while (k--) { cin >> start >> duration; taskQ.push({ start,start + durat...
[ "y2549liu@edu.uwaterloo.ca" ]
y2549liu@edu.uwaterloo.ca
8ab0651c36ecd77a6eb90ac8ad50b12b1387dbe7
82dc3cc4c97c05e384812cc9aa07938e2dbfe24b
/toolbox/src-mirror/misc/Rotate3DT.cpp
bcab678257f24963ace36026dba72043a088ea3c
[ "BSD-3-Clause" ]
permissive
samanseifi/Tahoe
ab40da0f8d952491943924034fa73ee5ecb2fecd
542de50ba43645f19ce4b106ac8118c4333a3f25
refs/heads/master
2020-04-05T20:24:36.487197
2017-12-02T17:09:11
2017-12-02T17:24:23
38,074,546
3
0
null
null
null
null
UTF-8
C++
false
false
48
cpp
/home/saman/Tahoe/toolbox/src/misc/Rotate3DT.cpp
[ "saman@bu.(none)" ]
saman@bu.(none)
d90de8acedc0e5446b83674d51932e81fc4cad3a
b8723a2862a0bc34e02a44628a2f9434693ea7d1
/kattis/babynames.cpp
3394a59a2b3f9ff2c6da6cbe43da9bf6c41a1bd9
[]
no_license
mario7lorenzo/cp
ea6d20bbde7ec7217b7bab45f635dda40d2e078b
253c16599a06cb676a3c94b4892279905486cf5d
refs/heads/master
2022-05-03T22:27:07.710681
2022-04-10T08:37:53
2022-04-10T08:37:53
158,787,709
0
0
null
null
null
null
UTF-8
C++
false
false
1,667
cpp
// C++ program to demonstrate the // ordered set in GNU C++ #include <iostream> using namespace std; // Header files, namespaces, // macros as defined above #include <ext/pb_ds/assoc_container.hpp> #include <ext/pb_ds/tree_policy.hpp> using namespace __gnu_pbds; #define ordered_set tree<string, null_type,less<st...
[ "mariolorenzo213@gmail.com" ]
mariolorenzo213@gmail.com
9e47665aa4d371bb9131f2b02be3f0a73a3df523
70b4e3bb0136587edcccbef92a96a59ebbc63ae1
/src/privatesend-util.cpp
b5b1239dafb84801c32d137a965068402c7df4a8
[ "MIT" ]
permissive
soxar/soxar
3f4370b7de90cc6f9d31711a4672a05d8867d389
c36e28408bdc45b28c6459e7d2eaf6b4540311e3
refs/heads/master
2020-04-08T15:29:13.616868
2018-11-28T17:00:22
2018-11-28T17:00:22
159,480,884
1
2
null
null
null
null
UTF-8
C++
false
false
1,868
cpp
// Copyright (c) 2014-2017 The Dash Core developers // Copyright (c) 2018 The Soxar Core developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "privatesend-util.h" CKeyHolder::CKeyHolder(CWallet* pwallet) : ...
[ "root@instance-1.us-east1-b.c.hostlic-login.internal" ]
root@instance-1.us-east1-b.c.hostlic-login.internal
383c5e79b2bdaf2c884bdfc9640e173f1b2d4118
42c27557941739f818a74a56ac67fcacd2c42af2
/PB/C++/C++Primer/1.0/1.16.cpp
37ca36371760bd5245957f4950489f565407c688
[]
no_license
MrYone/study
235416334625a94b828dcd82cd24c4317a2865c5
8845de97e7f680e1ac27f27143a6da4556ce9a32
refs/heads/master
2021-01-12T05:17:46.771860
2017-03-26T16:21:36
2017-03-26T16:21:36
77,905,058
1
0
null
null
null
null
UTF-8
C++
false
false
234
cpp
#include "iostream" using namespace std; int main(){ int sum = 0, var; cout << "enter some num , take esc and enter end this!" << endl; while(cin >> var) sum += var; cout << "add all of num is : " << sum << endl; return 0; }
[ "yonebluzs@gmail.com" ]
yonebluzs@gmail.com
a508475b3f87c2c2a001451471a291d7dd5bdec1
d9f67124079d5dc08de5038fb6ce1106ab2f6284
/SoftEngRend/User.h
21e1a07f6aeddc01ad26198024e14bd3a0cf544f
[]
no_license
PavlidisE/SoftEngRend
8861a53d86be745a84ca1842dc3093691f26abea
7cabb1886b587ccc8eb9f341fd804dfb0b9ba7e0
refs/heads/master
2022-03-14T18:44:23.964741
2019-06-03T11:08:38
2019-06-03T11:08:38
null
0
0
null
null
null
null
UTF-8
C++
false
false
810
h
#ifndef USER_H #define USER_H #include <string> //#include "Report.h" using namespace std; class User { private: static int ID; string firstname; string lastname; string email; string password; string phone; float rating; enum usr_status { free = 0, premium = 1 }; // Report reports[]; public: User(...
[ "evrispa@gmail.com" ]
evrispa@gmail.com
2d43747c7451299776d157a46d21dcbc38098d86
2ac51407631c84809d4648e81188b36dcf7313a8
/library/avrdef_ptr/detail/mega16.hpp
c1122f6ac2ea1696a66e057debe556b126ea8644
[]
no_license
Reifat/MBL
b04f7fefdddfd805aa1d2baff74050987a8a76f4
6537a737412a7e0f4e75a390c4afe8f547b63135
refs/heads/master
2022-12-06T03:56:11.649750
2020-08-27T06:44:37
2020-08-27T06:44:37
null
0
0
null
null
null
null
UTF-8
C++
false
false
4,015
hpp
/* Определение указателей для микроконтроллеров AVR * Автор Reifat * GitHub Repository - https://github.com/Reifat * Последние изменения 04.05.2020. */ #ifndef MEGA_16_HPP #define MEGA_16_HPP #ifdef ATMEGA_16 #include <avr/io.h> // include default definitions type #include "metabit\definitions_type\definitions_t...
[ "NewFatalistik@yandex.ru" ]
NewFatalistik@yandex.ru
db6e4d0daef999954db48742a0fb0c175748ed13
caa742c4969b810ff648c66c2fc877225b49bce4
/Array/Array.h
b69dbd9a9b69970ce16026ca5b7c0a146827180e
[]
no_license
TheKalty/DataStructures
0dc5f24a529b35e5c97fd16ab4b69f16759eef75
81ac45650155c3bf3df4d5ad3e75826b2768d95b
refs/heads/master
2020-12-08T20:51:52.539993
2020-01-12T01:08:03
2020-01-12T01:08:03
233,092,197
0
0
null
null
null
null
UTF-8
C++
false
false
2,254
h
// Array.h // Future me remember, when implementing with templates the linker will have issues with them when defined in *.cpp files since compiling them will NOT make non-unique function symbols ie. NAME<unique>::FUNCTION will not make that #ifndef ARRAY_H #define ARRAY_H #include <cstddef> // for NULL // A constant...
[ "nkaltenbrun" ]
nkaltenbrun
ae157cf9dbd378e91b1e81051dc6681b182887f9
d72f2109d04fb51ca3ee6a72a01ba8a358d09d78
/TransparentDesktop/TransparentDesktop.cpp
bea4fcbaabc23c6d3e9402e220bc7b1504734634
[]
no_license
henan1234/DILP32
3e4ba44d9f275b28a157c360f7c423078317caa6
73a05be0863f90ddc600a363634a8e8f8bde9da9
refs/heads/master
2021-05-28T15:30:40.776830
2015-01-30T18:13:13
2015-01-30T18:13:13
null
0
0
null
null
null
null
UTF-8
C++
false
false
3,350
cpp
// ActiveDesktop.cpp : Defines the class behaviors for the application. // #include "stdafx.h" #include "Transparentdesktop.h" #include "TransparentopDlg.h" #include "GraphicPropertySheet.h" #include "PageInformation.h" #include "PropPages.h" #include <RegistrationKey.h> #include <PropPageRegistering.h> #...
[ "github.10.pilloni@spamgourmet.com" ]
github.10.pilloni@spamgourmet.com
5285037f2b124424b973ec6bb4c0ce64fccbf0f1
d29e597a8f973a9ceac3d9b61ce3ecb8368f8537
/codebook/Graph/stable-marriage.cpp
5290fc60f593f559458b3ac99459ab694310e252
[ "MIT" ]
permissive
NCTU-PCCA/NCTU_Ragnarok
b41ab3fd5c7e7a843a5aace08426cea5671ac6a3
ea2dc085bac1a2bb9dcdfaeb022a7e8b8e0a3586
refs/heads/master
2021-09-06T12:08:23.693561
2018-02-06T10:33:19
2018-02-06T10:33:19
55,043,415
6
2
null
null
null
null
UTF-8
C++
false
false
3,259
cpp
稳定婚姻是组合数学里面的一个问题。 问题大概是这样:有一个社团里有n个女生和n个男生,每位女生按照她的偏爱程度将男生排序,同时每位男生也按照自己的偏爱程度将女生排序。然后将这n个女生和n个男生配成完备婚姻。 如果存在两位女生A和B,两位男生a和b,使得A和a结婚,B和b结婚,但是A更偏爱b而不是a,b更偏爱A而不是B,则这个婚姻就是不稳定的,A和b可能背着别人相伴而走,因为他俩都认为,与当前配偶比起来他们更偏爱各自的新伴侣。 如果完备婚姻不是不稳定的,则称其是稳定的。通过证明,可以得到每一个n女n男的社团,都存在稳定婚姻的结论。但是这种情况只在异性的社团中存在。也就是说在同性的社团里面,稳定婚姻的存在性将不再被保证。 Gale - ...
[ "a0919610611@gmail.com" ]
a0919610611@gmail.com
3beac99c259b1e298b5795aff0c74d337b5f2dac
faa5d1d27a89cba2657f6fe53d9106630ef2c104
/洛谷/P1529.cpp
4a082b9a7c663d099a345b6d73bd96fb529cd45a
[]
no_license
xiao-lin52/My-Codes
f4feef04a05b1904a1f31e0e5a04e0a48ee61cb9
d8fc530ade2bbac32c016a731c667c4189e3c6c7
refs/heads/main
2023-03-12T23:32:55.219341
2021-03-07T07:31:32
2021-03-07T07:31:32
304,806,222
1
0
null
null
null
null
UTF-8
C++
false
false
1,042
cpp
#include<iostream> #include<queue> #include<cstring> using namespace std; struct Edge { int next; int to; int w; }; int change(char x) { if(x>='A'&&x<='Z') return x-'A'+1; if(x>='a'&&x<='z') return x-'a'+27; } Edge edge[20001]; int n,cnt,head[61],dis[61]; queue<int>q; void add_edge(int u,in...
[ "2492043904@qq.com" ]
2492043904@qq.com
45117821bba190b2bce0db408ec929b7faf41974
3142275793b5ca407bcb658ece39a617d1e75e30
/Cpp/Practice_2019/sorted_dll_to_bst.cpp
1046d330a118adaa715ce522aea291a48317b751
[]
no_license
avneetkaur1103/workbook
d35da2d58fe4e213a38303d4d21ede2973ad3f2d
61b32387784a19ac2c4d758e8dcbdbe2d2e870e5
refs/heads/master
2022-04-10T14:22:37.551104
2020-03-13T06:06:41
2020-03-13T06:06:41
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,840
cpp
// https://www.geeksforgeeks.org/in-place-conversion-of-sorted-dll-to-balanced-bst/ #include <bits/stdc++.h> using namespace std; class Node { public: int data; Node* next; Node* prev; Node(int data = 0): data{data}, next{nullptr}, prev{nullptr}{} }; int countNodes(Node *head) { int count = 0;...
[ "manishkumar.mishra@amadeus.com" ]
manishkumar.mishra@amadeus.com
e75eb353be4349627914932474bedc86cf0d5c4c
918eb2ed4f8ca7de627250ac50f1b25b8d07f2b1
/lib/gcc/arm-linux-gnueabi/9.0.0/plugin/include/ipa-prop.h
6d1f7eaa515ddf76ee9d8fd592b38625be324f8d
[]
no_license
Harpia-development/android_prebuilts_gcc_linux-x86_arm_arm-linux-gnueabi-9.0
560082350a9fc037a87ea3886867fcde9102a34e
fcf2085e7efee543df97d57f839c74c09ddfa18f
refs/heads/master
2020-04-16T15:51:17.397020
2019-01-18T00:30:55
2019-01-18T00:30:55
165,716,816
4
1
null
null
null
null
UTF-8
C++
false
false
27,732
h
/* Interprocedural analyses. Copyright (C) 2005-2019 Free Software Foundation, Inc. This file is part of GCC. GCC 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 3, or (at your option) any late...
[ "zamorano0695@gmail.com" ]
zamorano0695@gmail.com
6aa294841a136279395291c44d357cb47ba74587
1e17f6f0f9756d6043eb2a2d71dfd0e6c09590b2
/périmé/scripts/pycsw/geos-3.3.3/include/geos/algorithm/SimplePointInRing.h
f1e0a6f9a2ef4b84c5c19257b0a83208f92feb89
[ "LGPL-2.1-only", "MIT" ]
permissive
federal-geospatial-platform/fgp-metadata-proxy
20e300b68eedfb29eed3e1cd24a69cf3c52898c3
82368614a2658260c0f09a1b5d341918310626e5
refs/heads/master
2023-08-09T14:03:35.522230
2023-08-03T15:10:11
2023-08-03T15:10:11
160,414,397
10
7
MIT
2023-05-01T23:16:00
2018-12-04T20:24:01
C++
UTF-8
C++
false
false
1,570
h
/********************************************************************** * $Id: SimplePointInRing.h 2556 2009-06-06 22:22:28Z strk $ * * GEOS - Geometry Engine Open Source * http://geos.refractions.net * * Copyright (C) 2005-2006 Refractions Research Inc. * Copyright (C) 2001-2002 Vivid Solutions Inc. * * This ...
[ "keballan@nrn.nrcan.gc.ca" ]
keballan@nrn.nrcan.gc.ca
e26888baa8f3a60e4679ae0c984869b3a0c3c565
c175910763a4ed175cdbfc58f539aece471f5256
/truck/3d-cg/3DCG/pyramid/dx9_shader.cpp
f2e0b434fedcba7b00a8b3d232c56b2e2e79181f
[]
no_license
KiraiChang/3d-cg
357c8315a349653a6cbe7a339cefa04078db4b3d
dbbd66c4331f117857dbfa660991c2ded01d3738
refs/heads/master
2021-01-22T09:32:10.976546
2010-04-27T06:59:57
2010-04-27T06:59:57
32,336,993
1
0
null
null
null
null
BIG5
C++
false
false
3,702
cpp
#include "stdafx.h" #include "dx9_shader.h" #include "render_data.h" #include "..\glib\Utility\Gut.h" //############################################################# //########################no shader############################## //############################################################# /* void Re...
[ "kirai.chang@gmail.com@d0fecb8e-c161-339a-4e07-94e11f48a80e" ]
kirai.chang@gmail.com@d0fecb8e-c161-339a-4e07-94e11f48a80e
43929faac9530f3ccb337e01bd5c7efd8be4e293
12c995558414cc5248e16b4ff6e655ed6d10ff77
/hdoj/hdoj-4612.cpp
894312e5229f95a9e87fe256e4f01044f46b1704
[]
no_license
fshp971/ACM-ICPC
f7202fde85b7875f9d5e05ad147fa077880ca562
5d922295cf2cb64db15c689fef2a772ddf7e5311
refs/heads/master
2023-05-26T09:24:56.822990
2023-05-16T09:30:43
2023-05-16T09:30:43
58,751,341
3
0
null
null
null
null
UTF-8
C++
false
false
2,651
cpp
#include<cstdio> #include<cstdlib> #include<cstring> #include<cmath> #include<iostream> #include<algorithm> #include<queue> #include<string> #include<vector> #include<utility> #include<map> #include<set> #include<bitset> using namespace std; #define LL long long #define pii pair<int,int> #define MP make_pair #define ...
[ "noreply@github.com" ]
fshp971.noreply@github.com
c0ab8f019c7598e75b56ea9ef073e21bda1035ee
028e188d85c2cbeb1ff853420664b0e564e0b0ce
/cpp/String/test.cpp
cf590490e25036d68dcb3410e5ec4fa9fb062b82
[]
no_license
passedaway/misc
55e79083429a6aeb85f703fde389a9914773c9f5
f97070f698f6c07a9f391a3e3d28e8ec3d8b5d26
refs/heads/master
2021-01-02T08:33:55.695610
2016-09-22T12:11:19
2016-09-22T12:11:19
8,695,355
0
0
null
null
null
null
UTF-8
C++
false
false
929
cpp
#include "test.h" #include <iostream> using std::cout; using std::endl; Test::Test(String name, String passwd, String emaile):name(name),passwd(passwd),emaile(emaile) { } Test::Test(int fd):name(""),passwd(""),emaile("") { int flag = 0; char *buf = new char[1025]; int ret = read(fd, buf, 1024); if(ret == 1024)...
[ "changqing.1230@gmail.com" ]
changqing.1230@gmail.com
7f98b52509ea34ce6c54740a2dc87b1277991c82
ab1311a8688f86d3e791f73f4d1d745422dd4239
/HCI_Myo_Papers_Zac/HCI-Myo-Gesture-master/GRT/ClassificationModules/HMM/HMM.h
498fac2334de9e70ccc7443c2c6db4e68a7b1675
[]
no_license
ruisenericliu/MyoHAL
61d26848a4145b5c386a1b3561e3a2a82dfde7ba
7cbc7dad2be1d1a323976abd76da0be23f209cb2
refs/heads/master
2021-01-23T12:37:58.002390
2018-02-04T02:08:56
2018-02-04T02:08:56
93,180,916
0
0
null
null
null
null
UTF-8
C++
false
false
15,462
h
/** @file @author Nicholas Gillian <ngillian@media.mit.edu> @version 1.0 @brief This class acts as the main interface for using a Hidden Markov Model. @remark This implementation is based on Rabiner, Lawrence. "A tutorial on hidden Markov models and selected applications in speech recognition." Proceedings of...
[ "ruisenericliu@gmail.com" ]
ruisenericliu@gmail.com