blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
2
247
content_id
stringlengths
40
40
detected_licenses
listlengths
0
57
license_type
stringclasses
2 values
repo_name
stringlengths
4
111
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringlengths
4
58
visit_date
timestamp[ns]date
2015-07-25 18:16:41
2023-09-06 10:45:08
revision_date
timestamp[ns]date
1970-01-14 14:03:36
2023-09-06 06:22:19
committer_date
timestamp[ns]date
1970-01-14 14:03:36
2023-09-06 06:22:19
github_id
int64
3.89k
689M
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
25 values
gha_event_created_at
timestamp[ns]date
2012-06-07 00:51:45
2023-09-14 21:58:52
gha_created_at
timestamp[ns]date
2008-03-27 23:40:48
2023-08-24 19:49:39
gha_language
stringclasses
159 values
src_encoding
stringclasses
34 values
language
stringclasses
1 value
is_vendor
bool
1 class
is_generated
bool
2 classes
length_bytes
int64
7
10.5M
extension
stringclasses
111 values
filename
stringlengths
1
195
text
stringlengths
7
10.5M
255b42b24ddfc460044d40b4a00d3ceb98a570ec
4f43007f1dc4d2c85fae06b1e94568cd79693307
/cat/main.cpp
ad9e640556e0b9c832be5a72d843939298203b49
[]
no_license
AtMiraz/progra2
7bd298058301763751a069e80487f541bc172446
409ad0b92f97436b21ec49002fda99a97954ef36
refs/heads/master
2021-01-18T03:59:59.910782
2017-03-23T22:31:18
2017-03-23T22:31:18
85,772,651
0
0
null
null
null
null
UTF-8
C++
false
false
1,132
cpp
main.cpp
#include "./includes/bootscat.h" #include <iostream> using namespace std; int main(int argc, char const *argv[]) { // Father class. cat fatherCat = cat(); fatherCat.setName("IDK"); fatherCat.setColour("Brown"); fatherCat.setFood("cat's food lmao"); fatherCat.setTailLength(15); bootscat maybeACat = bootsca...
d2c1cde215cf33dfac9b8327efa264274236f481
26d0a3e00d1e26765262ef51a94801d333034b28
/Framework/SM4topsSS3L/Root/LeptonVectorDecorator.cxx
5a87c2b3e40033fab96ef804cdb16b051ef6d1d1
[]
no_license
sen-sourav/common-framework
f0d4a61ccda53dfca4adf649c93a579de3df8619
474383ba7f30d19a2836e19d8bc028b7d1f83f9a
refs/heads/master
2020-04-01T06:24:09.210670
2019-06-06T17:37:47
2019-06-06T17:37:47
null
0
0
null
null
null
null
UTF-8
C++
false
false
5,013
cxx
LeptonVectorDecorator.cxx
#include "SM4topsSS3L/LeptonVectorDecorator.h" #include <algorithm> #include <sstream> #include "TopEvent/EventTools.h" #include "AsgTools/AsgTool.h" #include "AsgTools/ToolHandle.h" #include "../TTHbbAnalysis/TTHbbLeptonic/TTHbbLeptonic/EventSaverHelper.h" #include "../TTHbbAnalysis/TTHbbObjects/TTHbbObjects/Event...
6b70156f4f229dbbe0802dcd6424f05da4aea1c5
b6bc85c6cc86a1ad9b8b06239762f79772c8db7e
/cpp.func.handbook/ch05/5-3-1-10.cpp
58313cd7451c6d24c9b967fa741badf232ebe76b
[]
no_license
hexu1985/cpp_book_code
bacdfb7b9c1abff446f18dee33e8df451d18ec45
101c20ff87b89402262a8c74482871968cfc0464
refs/heads/master
2021-08-20T04:46:03.274538
2021-06-07T07:08:45
2021-06-07T07:10:11
150,828,290
0
3
null
null
null
null
UTF-8
C++
false
false
198
cpp
5-3-1-10.cpp
#include <string> #include <iostream> using namespace std; int main( ) { string str("abcd"); const char *ptr; ptr=str.data(); cout<<"ptr = "<<ptr<<endl; return 0; }
7757bd047307994eec7810c94b08c47085dc972b
4bc8b4a8acf86ad9b98fa07b079aa47eb0e7d6d5
/machinelearning/study/lintcode/C++_solutions/C++_solutions/C++_solutions/Jewels_and_Stones.cpp
1845e17647d93e9a64ee0f29eff1ae345f72dcbb
[]
no_license
Arctanxy/learning_notes
6aeadc856c30fd0f0d53993fa601210b6010e793
8c52e3a927b537c34a9d196cc2eda78251eb6a5a
refs/heads/master
2021-05-25T09:15:05.548009
2020-02-22T12:45:54
2020-02-22T12:45:54
126,953,925
11
1
null
null
null
null
GB18030
C++
false
false
520
cpp
Jewels_and_Stones.cpp
//https://leetcode.com/problems/jewels-and-stones/description/ #include <iostream> #include <string.h> using namespace std; //最简单的O(N^2)复杂度算法 int numJewelsInStones(char* J, char* S) { int num = 0; for (int i = 0; i < strlen(J); i++) { for (int j = 0; j < strlen(S); j++) { if (S[j] == J[i]) { num++; ...
33dc52f31975648c897ef7c1026ea1175708d6c0
5f5c12ec8afd76d4bd4552efed87025bcb42c2ae
/AhmiSimulator_v1.1.0/AHMI/Widget/DynamicTexClass.cpp
b2407987f4e768186f15397cd160f0ba3179383a
[]
no_license
radtek/czy
6ec52f38f6228b95f97d54baa635b32b4e4d0147
a11cd605a09f403a8cf59176a006891d3f049f71
refs/heads/master
2021-09-20T18:34:56.319020
2018-07-05T08:37:45
2018-07-05T08:38:06
null
0
0
null
null
null
null
GB18030
C++
false
false
13,043
cpp
DynamicTexClass.cpp
//////////////////////////////////////////////////////////////////////////////// // Company: // Engineer: AHMI小组成员 // // Create Date: 2016/03/21 // File Name: CanvasClass.cpp // Project Name: AHMISimulator // // Revision: // Revision 3.00 - File Created 2016/04/13 by 于春营 // Additional Comments: // // /...
247ac416c81adf00e1b894a402d06756343fa582
9edf9b93c0f316d2ec4ecc14391e2c6d06472402
/gr-cognitive_radio/lib/noise_average_sink_impl.cc
611ce91e8d3225878074747ddbe0cd8a4da4b6f3
[ "MIT" ]
permissive
n0p/my_GNURadio
bca14be18e02899990945ff339b8f1b3fa6f2ad4
2fc84cbc3e921daa1d3ab8cfa078788f6e1f709a
refs/heads/master
2021-01-17T21:19:06.770729
2017-03-06T06:28:02
2017-03-06T06:28:02
84,174,143
1
0
null
2017-03-07T08:27:55
2017-03-07T08:27:55
null
UTF-8
C++
false
false
3,752
cc
noise_average_sink_impl.cc
/* * Copyright 2016 <+YOU OR YOUR COMPANY+>. * * This 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 later version. * * This software is distributed in ...
8e845818fce29ad32f294323af5b4bf74e4fe6fa
877fff5bb313ccd23d1d01bf23b1e1f2b13bb85a
/app/src/main/cpp/dir7941/dir7942/dir8062/dir8063/dir8254/dir8444/dir8556/file8604.cpp
52c65096f3f60e4bb0146cda4408f7d3ea229992
[]
no_license
tgeng/HugeProject
829c3bdfb7cbaf57727c41263212d4a67e3eb93d
4488d3b765e8827636ce5e878baacdf388710ef2
refs/heads/master
2022-08-21T16:58:54.161627
2020-05-28T01:54:03
2020-05-28T01:54:03
267,468,475
0
0
null
null
null
null
UTF-8
C++
false
false
111
cpp
file8604.cpp
#ifndef file8604 #error "macro file8604 must be defined" #endif static const char* file8604String = "file8604";
2277221e4d8cb0e2216951fb16c3d820c7a33337
a3a90043a4586a31c5887a65a17c250cb969685c
/DSA-Sheet/String/65-find-next-permutation.cpp
bfe6f4256fd48e34d42bb799445bda97f9abf4c2
[]
no_license
SuryankDixit/Problem-Solving
b400caf5a28ad378339ab823f017a3fe430fc301
931e33ad5ec6d4fec587cbffd968872f7785dc58
refs/heads/master
2023-08-12T05:11:00.241191
2021-10-13T08:11:12
2021-10-13T08:11:12
207,796,551
9
2
null
null
null
null
UTF-8
C++
false
false
1,156
cpp
65-find-next-permutation.cpp
// Initial Template for C++ #include <bits/stdc++.h> using namespace std; // } Driver Code Ends // User function Template for C++ class Solution{ public: vector<int> nextPermutation(int N, vector<int> arr){ // code here int idx=-1; int idx2=-1; for(int i=N-1;i>=1;i--){ ...
ef7d9673baed22af145cf4b2d4df85a5de0f0220
fcdea24e6466d4ec8d7798555358a9af8acf9b35
/Tools/XEditor/SkyBoxDlg.h
c08ced61daa6ab9c3989e0a4b02d83588ab01fe2
[]
no_license
yingzhang536/mrayy-Game-Engine
6634afecefcb79c2117cecf3e4e635d3089c9590
6b6fcbab8674a6169e26f0f20356d0708620b828
refs/heads/master
2021-01-17T07:59:30.135446
2014-11-30T16:10:54
2014-11-30T16:10:54
27,630,181
2
0
null
null
null
null
UTF-8
C++
false
false
930
h
SkyBoxDlg.h
#pragma once #include "afxwin.h" // CSkyBoxDlg dialog using namespace mray; class CSkyBoxDlg : public CDialog { DECLARE_DYNAMIC(CSkyBoxDlg) struct SkyInfo { core::string name; core::string path; core::string ext; }; std::map<core::string,SkyInfo> m_skiesInfo; void RefreshList(); pub...
45231ed570aed2137911f377bc159127935e9f4c
0f88d73baf435d2d07171122bd283213a24e0550
/extern/tlv.hpp
f97ceeff53c570bb74b32af383631b188e5e47b1
[ "MIT" ]
permissive
phylib/pips-scenario
eb732ffbf6f6d1f0be6773c6d5f95d23b4bea54d
d152ae492a2bdf63be1340c1c9da91069a0460d9
refs/heads/master
2020-12-02T21:20:27.954059
2017-10-10T11:50:45
2017-10-10T11:50:45
96,297,617
3
0
null
null
null
null
UTF-8
C++
false
false
15,083
hpp
tlv.hpp
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /** * Copyright (c) 2013-2015 Regents of the University of California. * * This file is part of ndn-cxx library (NDN C++ library with eXperimental eXtensions). * * ndn-cxx library is free software: you can redistribute it and/or modify it under the ...
aa301d12e70e78efab157099f53ac265de09752b
34c36d86b4ec705cf9c0fb3c7f2d6b2d5b36b1ff
/Framework/Input/DIXInputListener.h
1e49767077fda2680d4a01a726b51fdd3f7516e3
[]
no_license
totoki-kei/tgp
dd0be1ece5fbf3c98515a8afef6f93a4a3f5bd02
38b7f67d7be50af147414daa8898411b709df4ec
refs/heads/master
2020-04-01T09:35:45.970201
2015-04-19T05:32:47
2015-04-19T05:32:47
15,510,784
0
0
null
null
null
null
UTF-8
C++
false
false
258
h
DIXInputListener.h
#pragma once #include "DIHeader.h" class DIXInputListener; enum class DIXInputType{ Button, Axis, }; class DIXInputListener { int padId; bool lastStatus; public: DIXInputListener(int padId); ~DIXInputListener(); void Update(XINPUT_STATE&); };
da03c0a9d177f18dd9f621ff394f2e48faab5f1d
aff1abb26ceba8c63a0ea1751b7790a05bf4bdb3
/qnc/src/utils.h
c3066ffc984c5fd4bc2310e42e039e66b4c51272
[ "MIT" ]
permissive
yang123vc/abandoned
e9036bf160d3305061e689566080c4cdebd7a485
c0af4108c30990203ab45436e2a92671598b8bac
refs/heads/master
2020-05-07T05:47:59.657827
2015-08-13T12:52:05
2015-08-13T12:52:05
null
0
0
null
null
null
null
UTF-8
C++
false
false
183
h
utils.h
#ifndef UTILS_H #define UTILS_H #include <QString> class Utils { Utils() {} // static class public: static QString formatFileSize(qint64 fileSize); }; #endif // UTILS_H
4460c5a1ac9abd4c538531cb2fa38c55bfee50d5
f48b9f128d005d8a4d6550b51c042aac97436709
/platformio/registration_translator/src/sketch.ino
aec48347f8a9595866d906559692fc8eae336cdb
[]
no_license
DefProc/made-invaders
384b3cb2bbf1f59c6406125538a663ecb9aeb313
32c6b11426a14e9a89a6bcb9e0815685749b7b33
refs/heads/master
2021-06-20T11:22:26.906143
2017-07-24T20:52:56
2017-07-24T20:52:56
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,580
ino
sketch.ino
/* Registration Translation This sketch translates the relavent game messages back to the expected format for Node Red to understand: * Game start: 0,<rfid-key>,<game_uid> * Take photograph: 1,<rfid-key>,<game_uid> * Game end: 2,<rfid-key>,<game_uid>,<score> * Target Hit: 3,<rfid-key>,<game_uid>...
be5872ed0216ffd9efbc449643e1b018b9cc81ac
7e7b21cd30c91e9b7a44e3a07b0c8c72fe26dcea
/Engine/Include/Quartz2/Vec3.hpp
21bdbd776d8f3aceff7133b47e6d5ca369b02da2
[ "BSD-3-Clause" ]
permissive
apachano/Phoenix
a80a5f0956d6abcce27265d63ccdf7eb6e24a99c
88242e4d3768bb878083121cc2a93106b699cd97
refs/heads/develop
2021-11-27T03:11:03.164468
2019-12-20T22:26:52
2019-12-20T22:26:52
229,603,884
1
1
BSD-3-Clause
2020-10-19T15:59:14
2019-12-22T17:21:30
null
UTF-8
C++
false
false
7,096
hpp
Vec3.hpp
// Copyright 2019 Genten Studios // // 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 conditions and the following disclaimer...
ca945d9cada33c6b3f872ad779b021bf7e6bf9b3
5cbb6f03a7ee11223095d641329e53e5f2fd676f
/src/clustering/cluster.h
716765ffd2dabae59b90350cd940109623291815
[]
no_license
aabin/DAGSfM
300e5caf92d74b80b6579a1dbb917ac4304ef25c
158646b9b554c5c7a0abf37016f243d37b987078
refs/heads/master
2022-11-08T07:12:26.793358
2020-06-24T09:14:38
2020-06-24T09:14:38
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,017
h
cluster.h
#ifndef SRC_CLUSTERING_CLUSTER_H_ #define SRC_CLUSTERING_CLUSTER_H_ #include <glog/logging.h> #include <igraph/igraph.h> #include <cstdio> #include <unordered_map> #include "util/types.h" using namespace colmap; namespace DAGSfM { enum ClusterType { NCUT, KMEANS, SPECTRAL, COMMUNITY_DETECTION, HYBRID }; class Cl...
f02744abe02e773f7b2625851b94f9a809c1798b
891eca7ee0570cdadad46576dbd38b579b2339a1
/tryOuts/stackWithDefaultParams.hpp
b70f86f82cd4e596cd05d2d2abf1434c2ffd018d
[]
no_license
girim/cplusplusPrimerExamples
c5caa0b47630c4afb221a1db78bbd492c9ae2f48
87223e8273d2fdebf91571a794038cfe5a483ec3
refs/heads/master
2021-01-17T20:43:12.655554
2018-09-08T11:07:50
2019-02-17T18:30:22
65,602,150
0
0
null
null
null
null
UTF-8
C++
false
false
1,657
hpp
stackWithDefaultParams.hpp
#ifndef __StackD_WITH_DEFAULT_PARAMS_HPP__ #define __StackD_WITH_DEFAULT_PARAMS_HPP__ #include <cassert> #include <iostream> template<typename T, typename Container = std::vector<T>> class StackD { public: StackD(); ~StackD(); void push(const T& element); void pop(); const T...
3163c1ef1c67502f1bf072de7226e98bf562ae30
23f2d77b6867cf053f50bedf107a453db3f1471c
/oi2/sze.cpp
e35d733a7fd0aeca9fc001668735de765f7d16d1
[]
no_license
jbhayven/oi_solutions
ecf71e84330373c7d59a7b9399c57773e7a6fa99
9e099d11b5235b208b43e76645932fdaf13f37ac
refs/heads/master
2023-07-15T09:34:52.896147
2021-08-25T12:59:38
2021-08-25T12:59:38
257,976,717
0
0
null
null
null
null
UTF-8
C++
false
false
389
cpp
sze.cpp
#include <bits/stdc++.h> using namespace std; int main() { int n; cin >> n; vector< pair<double, int> > acts(n); for(int i = 0; i < n; i++) { double a, b; cin >> a >> b; acts[i] = make_pair(b / a, i + 1); } sort(acts.begin(), acts.end()); for(auto...
fbf2bb7ad0b29c2deaf18116615f44d7fe8bc79b
cb613a172c1a5675270682a6c42cb7abd5f5fc1e
/build-NtrestandChill-Desktop_Qt_6_0_2_MinGW_64_bit-Debug/ui_createAccount.h
4c280809c204873fcb411422650a9dc633e86091
[]
no_license
umustdye/NtrestandChill
fde71d26d6b59db1aba65423f2e781009d92d352
b413f75caf4ec8bae314db84700e54b6ad7f8586
refs/heads/main
2023-04-10T13:07:40.679525
2021-04-11T19:04:18
2021-04-11T19:04:18
356,664,597
0
1
null
null
null
null
UTF-8
C++
false
false
1,889
h
ui_createAccount.h
/******************************************************************************** ** Form generated from reading UI file 'createAccount.ui' ** ** Created by: Qt User Interface Compiler version 6.0.2 ** ** WARNING! All changes made in this file will be lost when recompiling UI file! *************************************...
b811f025affb3def9c887b96d10a735a2efb4279
76fc0bf14b6ae4d962dbad694ffdb1c8f9e82d54
/201104/HookNet/HookNet/HookNet.cpp
9c5d6d18bc965343eed73ac3e47c516b047a51ab
[]
no_license
SquallATF/zghlibrary
a7884d7cd7a3935d9e9567c802ecb1aeef33494e
52703f9fd14ec66a99b99c48aad97bb74062c0bc
refs/heads/master
2016-06-15T21:47:43.219189
2012-11-30T08:11:35
2012-11-30T08:11:35
46,103,249
1
0
null
null
null
null
UTF-8
C++
false
false
227
cpp
HookNet.cpp
// HookNet.cpp : Defines the exported functions for the DLL application. // #include "stdafx.h" #include "HookNet.h" // This is an example of an exported function. HOOKNET_API int fnHookNet(void) { return 42; }
1242dd3951cef26eaab532929dde62fbfb4be9e9
fe0a4b4e71dc79420544ef0025432e091e69ed85
/10-Memory/DemoPointers/src/ex_ptr.cpp
8655f62f3edace7797a6054972f2d3a070c05be9
[]
no_license
avelana/cpp-examples
cc338a68efdf1fc06f7a2d58b68258a56ee09569
f83068f378ec64c9545eca19e0bcc4db8e7a3dfb
refs/heads/master
2022-12-21T20:53:04.830890
2022-12-18T19:03:13
2022-12-18T19:03:13
209,393,492
1
1
null
null
null
null
UTF-8
C++
false
false
1,190
cpp
ex_ptr.cpp
// // Created by volha on 28.10.2019. // // EX1 // #include <iostream> // // void doAnything(int *ptr) //{ // if (ptr) // std::cout << "You passed in " << *ptr << '\n'; // else // std::cout << "You passed in a null pointer\n"; // } // // int main() //{ // doAnything(nullptr); // теперь аргумент является...
3cd28e79b27ae5ed86ca42211f5335d48a6bf314
34c51434f890d387c07b6543c2ced9eb20883798
/gtest_example.cpp
c9af83695d63d68e7c04e946bd8eed79f1cc0725
[]
no_license
Eason-Sun/Breadth-First-Search
4add7a506234188a8a60b5709a822723f7668686
36164d87af48eacacece6f34cf1f6b9d9d2eab9b
refs/heads/master
2020-07-09T03:41:13.491951
2019-08-22T20:34:05
2019-08-22T20:34:05
203,865,771
0
0
null
null
null
null
UTF-8
C++
false
false
1,623
cpp
gtest_example.cpp
#define DOCTEST_CONFIG_IMPLEMENT_WITH_MAIN #include "doctest.h" #include "Vertex.h" #include "Graph.h" #include <iostream> #include <limits> using namespace std; TEST_CASE("1. isRemoved") { CHECK(isRemoved('<')); CHECK(isRemoved('>')); CHECK(isRemoved('{')); CHECK(isRemoved('}')); } TEST_CASE("2. inputParser...
5e3f2ec4c7fe258a02df948ac64310292f54095b
e26036d8c26ab28a13d7c5803a95225c1d5a9df5
/tmp.cpp
2e4b421a07cf10e252923f44b14997d2e48f3bd4
[]
no_license
Lurh/PAT_A-code
308e34155136b93a5d565b844516abf2191562ae
dcf7ade32fdbbbc9fb78e0fc949dac47fa4ae236
refs/heads/master
2021-09-18T10:35:34.321456
2018-07-13T03:51:08
2018-07-13T03:51:08
120,162,376
0
0
null
null
null
null
UTF-8
C++
false
false
879
cpp
tmp.cpp
#include <iostream> #include <vector> #include <algorithm> using namespace std; int findDuplicate(vector<int>& nums) { int i,j,sum=0,tmp=0,ans=0; for(i=0;i<nums.size();i++) { sum+=i; tmp+=nums[i]; } tmp-=sum; for(i=max(int(tmp+sum/nums.size()),in...
a8b912fba095c9c0c508ec95270729e52b81d305
efb711d2f0f15e1489b9ad239071b97641cc035c
/Topics/2015_02_01/multiplstrings.cpp
af3f38d9881fd0de339511f23666c6c3dc7bd597
[ "MIT" ]
permissive
TelerikAcademy/CPP-Beginner
42cac061cb803b052c066dd4a757ff9105dac901
a4d5a8beb870da910f74da41362b02f0d754ee51
refs/heads/master
2021-01-20T19:06:10.364957
2016-08-03T09:00:51
2016-08-03T09:00:51
64,829,458
0
0
null
null
null
null
UTF-8
C++
false
false
274
cpp
multiplstrings.cpp
#include <iostream> #include <cstring> using namespace std; int main () { char A[100], B[100], C[100]; strcpy(A, strcpy(B, strcpy(C, "Zdrawvey") )); /// A=B=C="Zdrawvey"; cout << A << endl; cout << B << endl; cout << C << endl; return 0; }
9abea3e32aecf236a536f70ddf31f718e8428f9e
d028fd7bd940a7e1d092cb6a321bdf358966db98
/src/enigma2/extract/EpisodeSeasonPattern.h
34809d784e3a1a2b3a103fae9a7bbe33bf0f4930
[]
no_license
phunkyfish/pvr.vuplus
5d59f609c61e10e507f69207510ea54351e5e028
457a28df62f8f2a6cecb8b92a7e256f8d418402e
refs/heads/Matrix
2023-02-28T13:04:02.586274
2019-08-24T07:00:57
2019-08-24T07:00:57
183,883,619
2
0
null
2021-07-14T13:20:42
2019-04-28T09:01:46
C++
UTF-8
C++
false
false
878
h
EpisodeSeasonPattern.h
#pragma once #include <regex> namespace enigma2 { namespace extract { struct EpisodeSeasonPattern { EpisodeSeasonPattern(const std::string &masterPattern, const std::string &seasonPattern, const std::string &episodePattern) { m_masterRegex = std::regex(masterPattern); m_seasonR...
9c3036b2ada21069253eaae332d2158e55bf9e75
31b99ef8b34063938415c72f8d6d82df17fcd720
/src/queue/queue.cpp
9fad8a04a24972329f0029db7a15ceab127a95bc
[]
no_license
kod3r/grape
5efc86825285ef6fe2dd2328d6e02651cf1d715e
ae397689a6cbf285124077bb11d564c8c2353e37
refs/heads/master
2021-01-17T16:48:41.637348
2013-07-15T18:52:43
2013-07-15T18:52:43
14,078,015
1
0
null
null
null
null
UTF-8
C++
false
false
10,243
cpp
queue.cpp
#include <cocaine/framework/logging.hpp> #include "grape/rapidjson/document.h" #include "grape/rapidjson/prettywriter.h" #include "grape/rapidjson/stringbuffer.h" #include "grape/rapidjson/filestream.h" #include "queue.hpp" namespace { //DEBUG: only for debug ioremap::elliptics::sessions std::shared_ptr<cocaine::f...
8aa1aa68bc2acdd4ae5c30856949f0f4acb6d5bb
f01adc16b5c18eba4f236b2e4e693fcbf76c25b6
/lab_03/Drawer/DrawerFactory/BaseDrawerCreator.h
5f755215d4e046d532a114334d58b9aabc3d57e3
[]
no_license
katya-varlamova/4-sem-oop
e1812702c3e50b2e12ca0796133fab077999a9f9
366efce823e2de2a00f72a599d485dfc535f56fc
refs/heads/master
2023-06-03T10:30:59.124017
2021-06-22T13:05:21
2021-06-22T13:05:21
346,469,846
2
0
null
null
null
null
UTF-8
C++
false
false
240
h
BaseDrawerCreator.h
#ifndef ABSTRACTDRAWFACTORY_H #define ABSTRACTDRAWFACTORY_H #include <memory> #include "Drawer/BaseDrawer.h" class BaseDrawerCreator { public: virtual std::shared_ptr<BaseDrawer> createDrawer() = 0; }; #endif // ABSTRACTDRAWFACTORY_H
b6b45b99d82d21e9b616f1365fcd76cfd9fc5a7b
075e6aad4b930c3a4ec61e0247db6b46e0248aa6
/Muon_Counter_ino.ino
1cb7c9e29e1830cd26396301e8b1f635cca14102
[]
no_license
jmoon2610/Muon-Arduino-Code
6bb70f8791ca147596a1d5f85e98e513914c4d94
0f1241bc65647b4784150f2f4e76430f59533c4e
refs/heads/master
2021-01-10T09:53:25.476799
2015-12-12T19:56:39
2015-12-12T19:56:39
47,891,960
0
0
null
null
null
null
UTF-8
C++
false
false
2,192
ino
Muon_Counter_ino.ino
#include <SPI.h> #include <Wire.h> #include <Adafruit_GFX.h> #include <Adafruit_SSD1306.h> #include <OzOLED.h> #define OLED_RESET 4 Adafruit_SSD1306 display(OLED_RESET); int inputPin = 11; int resetPin = 12; int val = 0; long int count = 0; int current = 0; int previous = 0; static...
9570609a0122a021e6b0f6f23b1999927656d9c6
e093de3afa04c5117290dbc05fac8c39ff144756
/lc/46.permutations.cpp
e6cd5c62776bc81afed8064d52d70a64c648f059
[]
no_license
njzhangyifei/oj
25cef36f0cb1484c94ee5adf91628c7c1fef81be
4d0b461f5c5c7dd36af0ff3f22a39a9e8d741f9c
refs/heads/master
2020-05-30T08:46:12.255693
2019-08-01T02:06:21
2019-08-01T02:06:21
82,627,911
1
0
null
null
null
null
UTF-8
C++
false
false
528
cpp
46.permutations.cpp
class Solution { public: vector<vector<int>> permute(vector<int>& nums) { vector<vector<int>> res; perm(res, nums, 0); return res; } void perm(vector<vector<int>> & res, vector<int> & nums, int begin) { if (begin >= nums.size()) { res.push_back(nums); ...
c0a8522408672f88f592466ba9b53d5892f6f8e8
f43ee54e7f09e81fb4af11040f314c5d6476f4d1
/example/FaceRecognition/KNNFaceRecognizer.cpp
64e6beb5095f30ab2eb8f55b1bbc49534a33256d
[ "BSD-3-Clause", "BSD-2-Clause" ]
permissive
SKTT1Ryze/ML-FinalProject
ef7ba134a47a693cb3bb5e83a4edcb3136ebd143
4f0120849aaa7cdceb539e6203271155cd371f2b
refs/heads/master
2022-11-09T18:25:03.593493
2020-06-25T14:06:41
2020-06-25T14:06:41
268,500,151
3
1
null
null
null
null
UTF-8
C++
false
false
82,570
cpp
KNNFaceRecognizer.cpp
/* * test cpp file for SeetaFace2 * 2020/5/28 * hustccc * Manjaro */ #pragma warning(disable : 4819) #include <stdio.h> #include <stdlib.h> #include <seeta/FaceDetector.h> #include <seeta/FaceLandmarker.h> #include <seeta/FaceDatabase.h> #include <seeta/FaceRecognizer.h> #include <seeta/FaceEngine.h> #include <see...
1547aedfc3329ef0d00c54a6b29e70237345a5f7
649242b5dc401b2626c1d2b8de09656867299b0e
/modules/trees/test/test_trees.cpp
dc8b6579155de2753ad3be0e55821d1612589a64
[ "CC-BY-4.0" ]
permissive
LuckyDmitry/devtools-course-practice
45db4f988b38c08365ed8b96f2b6cf3ae8414ae6
2384acf591161b8a90c3548929b2425a72d93c50
refs/heads/master
2022-10-06T03:50:15.806822
2020-06-07T17:42:39
2020-06-07T17:42:39
null
0
0
null
null
null
null
UTF-8
C++
false
false
4,391
cpp
test_trees.cpp
// Copyright 2020 Yasakova Anastasia & Sinitsina Maria #include <gtest/gtest.h> #include "include/trees.h" TEST(TreesTest, Constructor_TreeNode) { // Arrange and Act TreeNode* node = new TreeNode(4); // Assert ASSERT_EQ(4, node->GetData()); } TEST(TreesTest, Constructor_Tree) { // Arrange and A...
acd5f1c7022a92fd6387973194ed006dc90bee52
e046dd9c2921c03b097104d74890795f54565f1d
/Schedule.h
ed2bb23d4eb49a7984884488285032397b6daed2
[]
no_license
SakshamSharma1/Timetable-automation-using-genetic-algorithm
c8e21c7ba0e8ecbee73f7da7d0f8628d8d2e4303
8ed8f783d91e956b08f1170198a1e628491e1736
refs/heads/master
2020-05-21T06:37:16.750521
2019-05-10T08:30:13
2019-05-10T08:30:13
185,949,066
0
0
null
null
null
null
UTF-8
C++
false
false
2,350
h
Schedule.h
#include <bits/stdc++.h> #include "CourseClass.h" using namespace std; using namespace stdext; class CChildView; class Schedule; class Algorithm; #define DAY_HOURS 12 #define DAYS_NUM 5 enum AlgorithmState { AS_USER_STOPED, AS_CRITERIA_STOPPED, AS_RUNNING }; class Schedule { frien...
f587ef22caf6e77f2296283a35a960924235e712
fc3f9e3676cb1d167bb2b7ed3ef166ba3e4aa860
/Practice Algorithms/LeetCode/MaximumSubArray/main.cpp
ce65a6ef72d30b45e91f0b2a6ae3ab4175300f25
[]
no_license
hiepdangnguyendai/competitive-programming
e503cc1b7bf6d8da0fbfc5b1c6b21e83978f90e8
d5b33684c673efe3bf472c89dd8863fb5c428c43
refs/heads/master
2021-08-19T17:38:04.526610
2017-11-27T03:27:42
2017-11-27T03:27:42
112,141,894
0
0
null
null
null
null
UTF-8
C++
false
false
417
cpp
main.cpp
#include <iostream> #include <vector> #include <algorithm> using namespace std ; int maxSubArray (vector<int>& nums){ if (nums.size() ==0){return 0 ;} int maxs = nums[0]; int sum = nums[0]; for (int i = 1 ; i< nums.size() ; i++){ if (sum<0){sum = nums[i];} else { sum += nums[i]...
9768b7d35fc7a64aeb131eb66cc6b31c025909e6
d18c0e0b35e03bdc5f5259b88c4226efa5c669ea
/include/algorithm/rnn/Layer.h
37c0019603ae30389b1d0c3c76204f7cafe0bfaa
[]
no_license
zhangkai26/ccma
871698682584cfc9a16bf8dbed8add24a12e12b5
557a14502c83d1ae73c3defcafe21624ca958d84
refs/heads/master
2020-04-27T04:34:57.725614
2017-07-20T09:53:34
2017-07-20T09:53:34
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,833
h
Layer.h
/*********************************************** * Author: Jun Jiang - jiangjun4@sina.com * Create: 2017-06-20 16:23 * Last modified : 2017-06-20 16:23 * Filename : Layer.h * Description : RNN network Layer **********************************************/ #ifndef _CCMA_ALGORITHM_RNN_LAYER_H_ #define _CCMA...
300f5aea2e9dd84c733594cd8c88d8df34a60349
2ad8f53725ef867feb6820a329ec8ea947cb3e37
/SCWF/main.cpp
d809d4a866a784af3a4f54278d5cc0d9158e55b7
[]
no_license
ilmuk/SCFW
902d50c7ecbed02f2426d75355806b19d5f209ce
dd567620d90f608ef5d7e54bb3d6314b7a9cafe9
refs/heads/master
2021-01-22T10:18:35.839171
2015-01-11T11:28:28
2015-01-11T11:28:28
29,088,808
0
0
null
null
null
null
UTF-8
C++
false
false
579
cpp
main.cpp
#include <iostream> #include "systemc.h" #include "parser.cpp" #include <regex> using namespace std; /* SC_MODULE(test){ sc_in<sc_logic> input; sc_out<sc_logic> output; void p1(){ while(true) { wait(input.negedge_event()); } } }*/ void main(int &argc,char &argv) { char c; //const string text="entity ...
bfc34a08ec7dcc631a6fbdc6cc79648e934c94ad
34560ec30d1cd3b557939078ac78fc714dbbbb81
/Scale.h
9d4dd61586b20db42af92e67402a530732aac591
[]
no_license
jonasbru/kimiya-engine
6aaedb36c9e63095211a1c6753bd00d3deb0505d
b8ec874f9ee68e15d2ad90ab18037cd49a8ddedc
refs/heads/master
2016-09-06T13:03:06.134314
2014-10-12T20:32:09
2014-10-12T20:32:09
25,130,482
0
1
null
null
null
null
UTF-8
C++
false
false
1,387
h
Scale.h
/* * File: Scale.h * Author: jonas * * Created on 22 juillet 2009, 22:01 */ /** * \class Scale * * \ingroup ke * * \brief Handle scale effects. * * \author Jonas BRU * */ #ifndef _SCALE_H #define _SCALE_H #include "IntervalActionTransformation.h" namespace ke { class Scale : public ke::Interva...
227b7c0e997e91df9dff168ebd5754b3770d0b24
4c46aeea5a27e09559063e352d53f03894489457
/misc/deleteMatchingFiles.cpp
d01e6fdc45143dd541a8958a32b7641d5d9f72d8
[]
no_license
md81544/snippets
5fbacceea054866d341a1e4e231e9d4fd856cb7f
d38c77cd967449958669bfc78fc626990de8c6e2
refs/heads/master
2018-12-26T03:28:58.179781
2018-11-26T20:44:22
2018-11-26T20:44:22
112,035,381
0
0
null
null
null
null
UTF-8
C++
false
false
557
cpp
deleteMatchingFiles.cpp
// Requires boost filesystem and regex void DeleteMatchingFiles( const std::string& directory, const std::string& regexString ) { namespace fs = boost::filesystem; fs::path localDir( directory ); fs::directory_iterator itEnd; const boost::regex rgx( regexString, boost::regex::icase ); f...
d861fe5dddbe3b48fd33abe9017580c2d885e887
5241a49fc86a3229e1127427146b5537b3dfd48f
/src/Sparrow/Sparrow/Resources/Am1/STO-6G.cpp
55085aa7421da0c630b1f8e1d3492f200e9688ab
[ "BSD-3-Clause" ]
permissive
qcscine/sparrow
05fb1e53ce0addc74e84251ac73d6871f0807337
f1a1b149d7ada9ec9d5037c417fbd10884177cba
refs/heads/master
2023-05-29T21:58:56.712197
2023-05-12T06:56:50
2023-05-12T06:56:50
191,568,488
68
14
BSD-3-Clause
2021-12-15T08:19:47
2019-06-12T12:39:30
C++
UTF-8
C++
false
false
13,692
cpp
STO-6G.cpp
/** * @file * @copyright This code is licensed under the 3-clause BSD license.\n * Copyright ETH Zurich, Laboratory of Physical Chemistry, Reiher Group.\n * See LICENSE.txt for details. * * @note This file was generated by the Embed binary from runtime values. * Prefer improving the gener...
66ef7f9645596b696748685e2e6309eed3694d9b
0c27b7d43c21f70dfd6bead802a79e5def0ae743
/BattlezoneClone/Enemy.cpp
03f51f29c64c80f3c61249f7acd4d3031fc9ee4e
[]
no_license
adamcumiskey/BattleZone
730544f9d231d15057633c714713ea52f6ba0acd
364419801fd534345f1562d33658716e0d49fb0a
refs/heads/develop
2020-05-20T23:52:23.796337
2015-03-30T00:49:02
2015-03-30T00:49:02
14,189,439
0
0
null
2015-03-30T00:49:02
2013-11-07T00:07:24
C++
UTF-8
C++
false
false
4,104
cpp
Enemy.cpp
// // Enemy.cpp // BattlezoneClone // // Created by Adam Cumiskey on 11/23/13. // Copyright (c) 2013 Adam Cumiskey. All rights reserved. // #include "Enemy.h" #include "BoundingBox.h" #include <math.h> #define SQR(x) (x*x) #define PIdiv180 M_PI/180.0f #ifdef __APPLE__ # include <GLUT/glut.h> #else # include <G...
6aeda20f2ccf88934ee4798c71a6c111f3c62287
012f0800c635f23d069f0c400768bc58cc1a0574
/hhvm/hhvm-3.17/hphp/runtime/base/stat-cache.cpp
7875558e68d40dd1923cdd2771669e346ca8d1ad
[ "Zend-2.0", "BSD-3-Clause", "PHP-3.01" ]
permissive
chrispcx/es-hhvm
c127840387ee17789840ea788e308b711d3986a1
220fd9627b1b168271112d33747a233a91e8a268
refs/heads/master
2021-01-11T18:13:42.713724
2017-02-07T02:02:10
2017-02-07T02:02:10
79,519,670
5
0
null
null
null
null
UTF-8
C++
false
false
30,115
cpp
stat-cache.cpp
/* +----------------------------------------------------------------------+ | HipHop for PHP | +----------------------------------------------------------------------+ | Copyright (c) 2010-2016 Facebook, Inc. (http://www.facebook.com) | +---------...
bd87856c0ac3fe00ae582964a9f9e66786cda483
b22c189f38b8da715e70b76be3d9c0f3bb921f63
/DATA STRUCTURES AND ALGORITHMS/Prirority_queues/inplace_heap_sort.cpp
fef79073c39fbfe038b0d1e73584c379131178bd
[]
no_license
Bikubisw/Coding
108f1048bc54bbd526f2f3abea21bd17bb8e7975
274c50caab15f10663a83ad352fc5ddb04b9e236
refs/heads/master
2023-04-20T11:09:32.555814
2021-05-22T20:29:45
2021-05-22T20:29:45
280,332,695
0
0
null
null
null
null
UTF-8
C++
false
false
1,277
cpp
inplace_heap_sort.cpp
#include<iostream> using namespace std; void inplaceHeapsort(int* input,int n){ for(int i=1;i<n;i++){ int childindex=i; while(childindex>0){ int parentindex=(childindex-1)/2; if(input[childindex]<input[parentindex]){ int temp=input[childindex]; input[childindex]=input[parentindex]; input[parentindex]=...
d3e2ccfed0270e8dad7225c54325214fa842b205
00adc3d26ece42c6626680b0526e737adf23eb35
/src/api/dto/error_response.h
1f0cc698fc64292bb4a647853914c8cb766afea6
[ "MIT" ]
permissive
i96751414/torrest-cpp
2fa14fae6b03226ea90498f0c7588b484102648d
21348e7d9cf952c49556ef1dcf08eb91b859bee1
refs/heads/master
2023-08-03T06:56:58.975473
2023-06-17T13:55:47
2023-06-17T13:55:47
354,607,307
10
3
null
null
null
null
UTF-8
C++
false
false
585
h
error_response.h
#ifndef TORREST_ERROR_RESPONSE_H #define TORREST_ERROR_RESPONSE_H #include "api/dto/utils.h" namespace torrest { namespace api { #include OATPP_CODEGEN_BEGIN(DTO) class ErrorResponse : public oatpp::DTO { DTO_INIT(ErrorResponse, DTO) FIELD(String, error, "Error message") static oatpp::data::mapping::...
9f5e9934bfaeefa48bb8d2159def019cc2dd3b0c
93e22e4c66f0b5d7407e1bd7ef881ae18ad8dab1
/Contests/IV Escola de Inverno da Unifei/Intermediário - Dia 2/1799Gabriel.cpp
b5057c41563f91afd3c1c77f0ece45ffe782bd4e
[]
no_license
gustavochermout/maratona-final
b34325e3b986ac61f47bfb3cb7dbbc99440bee40
26f3a86827cc19e083f2b0d7ff368e0a91feafa6
refs/heads/master
2021-01-16T00:42:46.220626
2020-06-11T22:33:46
2020-06-11T22:33:46
99,975,191
0
0
null
2017-08-11T00:20:20
2017-08-11T00:20:20
null
UTF-8
C++
false
false
982
cpp
1799Gabriel.cpp
/*input 10 11 B A Entrada A B GT GT H H * B * * C C I I D C D D Saida */ #include <bits/stdc++.h> using namespace std; #define all(v) (v).begin(), (v).end() #define pb push_back #define fst first #define snd second #define debug(x) cout << #x << " = " << x << endl; typedef long long ll; typedef pair<int, int> ii; int...
5bd36a9642dacfab37813b06da9cd13a04667c89
389dcada03249a7665550a9e05bb49dd38b0163e
/initiation_and_control.cpp
961729b62fc28a20bcf4720f85fad6e72457c4d9
[]
no_license
dprefontaine/shrimpyrevenge
3dba7b910c5637aaaf1685fbc78c1c359f7e91b7
766dddb72b73ac5d568f241aecfc9a6c7da21c7b
refs/heads/master
2021-08-05T10:56:03.435892
2021-07-01T08:17:19
2021-07-01T08:17:19
167,265,845
0
0
null
null
null
null
UTF-8
C++
false
false
3,510
cpp
initiation_and_control.cpp
#include <initiation_and_control.h> //CODE OF INITIATION AND CLOSING PROCEDURES, AS WELL AS GENERAL CONTROL PROCEDURES DURING THE GAME // bool initialize(){ //INITIATION FLAG bool init_flag = true; for (int i = 0; i < TOTAL_FONTS; i++) fonts[i] = NULL; //START BY INITIALIZING BASE SDL //...
d5710c8f51053d5f57c0fd966f139c2582a434fc
aeca35cd0be358ac5a5fa7d9564a6170d942b7c1
/task1.cpp
5e9eb9bd1918bc7615322e7c83c5c8a4d2016b29
[]
no_license
Margo-V/tasks-for-training-functions
1ea15058ff6c3ccf30c4ea703b629439926df58c
44114bc98900a8e006413dfe6c1f9b1b4c191dfe
refs/heads/master
2023-03-06T14:24:07.564985
2021-02-22T15:24:57
2021-02-22T15:24:57
341,243,056
0
0
null
null
null
null
WINDOWS-1251
C++
false
false
14,416
cpp
task1.cpp
#include "task1.h" int leapYear1(int y1_1, int m1_1, int d1_1, int *days1_1, int *daysToYear1_1) { if (y1_1 % 4 == 0) { *days1_1 = 0, * daysToYear1_1 = 0; cout << y1_1 << " - високосный год" << endl; if (m1_1 == 1) { *days1_1 = 31 - d1_1; *daysToYear1_1 = *days1_1 + ...
2128481658658d6f9ae5282489a4d7a767866f42
2bb2f325610c917432d6b0586b2ed4cf40cdc499
/source/AdaBoost/AdaBoost.h
b9d96a1758d83938c1a3a372111eb6a62bb8b147
[]
no_license
skp2140/CliqueLib
bd077c4cfd4abc9c8430503755c971528faa7ce3
d8e54bc10746ced5bf2b7bdd9317292607fde6c2
refs/heads/master
2021-01-23T01:26:24.787938
2017-05-02T00:28:38
2017-05-02T00:28:38
85,907,608
0
1
null
null
null
null
UTF-8
C++
false
false
2,109
h
AdaBoost.h
//============================================================================ // Name : AdaBoost.h // Author : CliqueLib // Version : // Copyright : // Description : CliqueLib AdaBoost definition //============================================================================ #ifndef __ADABOOST_H__ ...
00557a6c1539e9dd460a489ed81b5a97d1d3200c
4ac90bd6405fe26285b351eb1bbdc904a6d542c3
/taichi/backends/vulkan/vulkan_memory.cpp
c176db1a5d1108ad3c56309c595a4851ccbf993d
[ "MIT" ]
permissive
JVL2020LVJ/taichi
0a51934c8e5294e1c51ea402dbdf8b86e622fbfc
899707f46a1b7f28efd927122104d59f02f7f5ec
refs/heads/master
2023-07-12T01:06:10.831394
2021-08-16T16:02:00
2021-08-16T16:02:00
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,910
cpp
vulkan_memory.cpp
#include "taichi/backends/vulkan/vulkan_memory.h" #include "taichi/math/arithmetic.h" #include "taichi/backends/vulkan/vulkan_common.h" #include "taichi/common/logging.h" #include "vk_mem_alloc.h" namespace taichi { namespace lang { namespace vulkan { namespace { static constexpr VkDeviceSize kAlignment = 256; Vk...
f2113f58ec8a80dad95f5b1adcab89dced75830f
9e24f0fb937cc11c00946751ca64870c9419cb2a
/ZhangYiming/Problems/61-Rotate List/solution.cpp
84326d87fcb29494d0bd347dbc34220a0d56a2c2
[]
no_license
zym-ustc/leetcode
6aa4a2b7680edac59cf3471e234d7651ad825602
391d2c3dabe66740daee44cc626f6101218fffdd
refs/heads/master
2021-01-02T08:34:03.320304
2017-05-17T08:04:58
2017-05-17T08:04:58
78,598,455
2
6
null
2017-04-13T06:01:20
2017-01-11T03:19:00
Java
UTF-8
C++
false
false
748
cpp
solution.cpp
/** * Definition for singly-linked list. * struct ListNode { * int val; * ListNode *next; * ListNode(int x) : val(x), next(NULL) {} * }; */ class Solution { public: ListNode* rotateRight(ListNode* head, int k) { if(head == NULL) return head; int length = 1; ListNode *rear ...
b1e7d1d202a62a3157f735fb06e6be4e7f45df86
fa274ec4f0c66c61d6acd476e024d8e7bdfdcf54
/Resoluções OJ/codeforces/Rounds/2017 Just Programming Contest 3.0/f.cpp
a42992669c55bca8d53ec39aa6d2b6fc8dc4cba8
[]
no_license
luanaamorim04/Competitive-Programming
1c204b9c21e9c22b4d63ad425a98f4453987b879
265ad98ffecb304524ac805612dfb698d0a419d8
refs/heads/master
2023-07-13T03:04:51.447580
2021-08-11T00:28:57
2021-08-11T00:28:57
null
0
0
null
null
null
null
UTF-8
C++
false
false
779
cpp
f.cpp
#include <bits/stdc++.h> #define _ ios_base::sync_with_stdio(0); #define i64 long long #define INF 0x3f3f3f3f #define MAX (100123) #define fs first #define sc second #define ii pair<int,int> #define vi vector<int> #define vii vector<ii> #define vvi vector<vi> #define eb emplace_back #define sz(x) ((int)(x).size()) #def...
709acd8a2c80d01fc3552e1118fa1d17f0fd718c
b9264aa2552272b19ca393ba818f9dcb8d91da10
/hashmap/lib/seqan3/test/snippet/search/dream_index/interleaved_bloom_filter_constructor.cpp
4b19a26d5a374467371704ad9f815fe5caf8a851
[ "BSD-3-Clause", "LicenseRef-scancode-free-unknown", "LicenseRef-scancode-public-domain", "CC0-1.0", "CC-BY-4.0", "MIT" ]
permissive
eaasna/low-memory-prefilter
c29b3aeb76f70afc4f26da3d9f063b0bc2e251e0
efa20dc8a95ce688d2a9d08773d120dff4cccbb6
refs/heads/master
2023-07-04T16:45:05.817237
2021-08-12T12:01:11
2021-08-12T12:01:11
383,427,746
0
0
BSD-3-Clause
2021-07-06T13:24:31
2021-07-06T10:22:54
C++
UTF-8
C++
false
false
629
cpp
interleaved_bloom_filter_constructor.cpp
#include <seqan3/search/dream_index/interleaved_bloom_filter.hpp> int main() { // Construct an Interleaved Bloom Filter that contains 43 bins, each using 8192 bits, and 3 hash functions. seqan3::interleaved_bloom_filter ibf{seqan3::bin_count{43u}, seqan3::bin_size{8192u...
0f29867099008cd0ddd961096e5ab8f61f2fd2ce
ad71ef02dcbea4f684dbc87119e860b7a4ae1ebb
/GeeksForGeeks/Algorithms/Searching Algorithms/07.K_Largest_Elements.cpp
a06fd1988711e1c1da602f8a6a79d2246b062244
[]
no_license
Bab95/Programs
851e46a8f7be0b6bde412caf405102c562dde2e0
79ed28bb487bdab3b72fa12d56c2d62f2bc6a683
refs/heads/master
2022-09-30T00:41:32.631053
2022-08-27T09:42:57
2022-08-27T09:42:57
228,459,568
0
0
null
null
null
null
UTF-8
C++
false
false
726
cpp
07.K_Largest_Elements.cpp
#include <bits/stdc++.h> using namespace std; void input(vector<int>& arr,int n){ for(int i=0;i<n;i++){ cin>>arr[i]; } } void solve(){ int n,k; cin>>n>>k; vector<int> arr(n); input(arr,n); priority_queue<int,vector<int>,greater<int> > pq; for(int i=0;i<k;i++){ pq.push(arr...
dddae768010d6531fb07c9a5d55e9ed1d0293cfd
992df6ff3b49fddf01babb2a04ded03109da7ab7
/4.0/Demo/WebsocketProtocol/WebsocketContext.cpp
362591ea7780abd421df296c2828c4b434d140d3
[ "BSL-1.0" ]
permissive
charfeddine-ahmed/PushFramework
abf187bc30bdd0f702929c4e571af49279278d56
ed9804ffc5148e180cb95bafe13aa2e0f3903147
refs/heads/master
2021-12-08T15:22:19.895640
2021-12-01T14:04:08
2021-12-01T14:04:08
92,851,089
3
0
null
null
null
null
UTF-8
C++
false
false
273
cpp
WebsocketContext.cpp
#include "stdafx.h" #include "WebsocketContext.h" WebsocketContext::WebsocketContext() { currentContinuationOpCode = -1; } WebsocketContext::~WebsocketContext(void) { } void WebsocketContext::recycle() { bufferedContent.release(); currentContinuationOpCode = -1; }
7a9838c9cc25cd13fedc2ed61344220c57708a4b
f4647d8b8dc5e8581903b5f78ba669dff9fa7733
/reverse.cpp
f745ba59b44a086f8006527d1488e1482299c8ba
[]
no_license
keerthna-manikandan/dsa-arrays
892253a7b890f19f17c8e977f843e3043d5af6e4
b624e82892ee3e6233331cdd0fca921b77e7fd43
refs/heads/main
2023-06-20T22:58:02.855214
2021-07-27T10:34:13
2021-07-27T10:34:13
383,679,559
0
0
null
null
null
null
UTF-8
C++
false
false
517
cpp
reverse.cpp
#include<bits/stdc++.h> using namespace std; int main() { int n; cout<<"Enter size of the array: "; cin>>n; int a[n]; cout<<"Enter the elements: "; for(int i=0;i<n;i++) { cin>>a[i]; } int j=n-1,i=0,x; for(;i<j;i++,j--) { x=a[i]; a[i]=a[j]; a[j...
57e1442d4a1c92fba7986d17f9b1e450800bd526
99c91cef7cd0f6225338752fe654507d25db541b
/OpenGLTest/ui.h
6d44ec5139dfb333878bc64f0eed8cc2c271cd6d
[]
no_license
Elekrisk/OpenGLTest
b52fafee57d677cd23034067f978bc2c31eb4a0a
2fc5e2005cd93b202662a02d696a15e85c53b4b9
refs/heads/master
2021-09-15T01:04:00.617334
2018-05-23T11:07:48
2018-05-23T11:07:48
119,383,171
0
0
null
null
null
null
ISO-8859-1
C++
false
false
5,595
h
ui.h
#pragma once #include "MessageBus.h" #include <memory> #include "ImageConstructor.h" class UIElement; class UIGroup; // Klass som hanterar UI:n. Ej helt implementerad än. class UI { // Den messageBus som UI:n ska lyssna på. MessageBus *m_messageBus; // Skalör för storleken på UI:n float m_uiScale; // Alla elemen...
d6db61101dab64730dfcd23b9c349e415a614b5e
1bc3a3bfe53bb450b5fe009c9a890be4e00c3afc
/Math/17087.cpp
d8cd5f9cf7cd21e293c4bd3f4d77a9339761c0c5
[]
no_license
juno7803/Algorithm
8d4d2d1bf7230b6c6aa0d0fcb2decd03b15b96d0
004d3e2e52f0bf4b26c14d562d8d39923258f692
refs/heads/master
2020-12-06T14:46:54.338275
2020-10-06T14:33:31
2020-10-06T14:33:31
232,488,984
1
0
null
null
null
null
UTF-8
C++
false
false
497
cpp
17087.cpp
#include<iostream> #include<vector> using namespace std; int gcd(int x, int y) { if (y == 0) { return x; } else { return gcd(y, x % y); } } int main() { int n; // 1<= b <= 10^5 int s; // 1<= s <= 10^9 cin >> n >> s; vector<int>a; for (int i = 0; i < n; i++) { int tmp; cin >> tmp; ...
e05a6bf0c2cd5d0e4396dc4a14af432a0fc66a3c
0cf04e613e2c16a8355441cbc6c6f902d8073aa8
/CS450/FinalSubmission/Debug/Sphere.h
742845c72197bf40d9081c219dbb69175640b158
[]
no_license
Gwolff97/SchoolWork
8193b8d56638c6bb2536fa6482f788b81dffad31
aca46fcc0f26dfa1f5302301683994d085fab30b
refs/heads/master
2020-05-25T07:58:20.377024
2019-05-20T19:26:32
2019-05-20T19:26:32
187,698,797
0
0
null
null
null
null
UTF-8
C++
false
false
643
h
Sphere.h
#ifndef SPHERE_H #define SPHERE_H #include <cstring> #include <iostream> #include <fstream> #include <algorithm> #include <vector> #include <string> #include <cmath> #include <thread> #include <chrono> #include "glm/glm.hpp" // NOTE: Need to compile, hence the quotes #include "glm/gtx/string_cast.hpp" class Spher...
fb671cff73c592be444de786e1f290909c6f64c9
c4d0e6aaa0b3f756a64df06469d44c7b9f3b6a31
/include/net_ip/net_entity.hpp
caf71263caa8ee319a65d27c1c61f82836806c9f
[ "BSL-1.0" ]
permissive
connectivecpp/chops-net-ip
d35850a0af0d7626472a3121b565f19036094feb
6a1fd59945fdc495da3ad390a1cc5f428f73ebe7
refs/heads/master
2020-04-28T06:23:23.682015
2020-03-30T20:17:59
2020-03-30T20:17:59
175,055,942
10
3
BSL-1.0
2020-03-30T20:18:01
2019-03-11T18:00:54
C++
UTF-8
C++
false
false
23,006
hpp
net_entity.hpp
/** @file * * @ingroup net_ip_module * * @brief @c net_entity class and related functionality. * * @author Cliff Green * * Copyright (c) 2017-2019 by Cliff Green * * Distributed under the Boost Software License, Version 1.0. * (See accompanying file LICENSE.txt or copy at http://www.boost.org/LICENSE...
8fe78afe90dfd8db0f13c2de9fca66a8cb384941
9cc85c4b112763b09faa44df585957a1a7c36e4a
/renderer.h
f64b5c6d7290d6bb42ec1e95ecb44187e0225389
[]
no_license
m-iDev-0792/TinyRayTracingRenderer
ab6ed31c81d780922a3cd1d8382e1a3c2005ffd4
221ba86da8ff65108b96ec03d09663d6dd082db7
refs/heads/master
2020-03-18T13:53:32.861602
2019-04-02T06:40:52
2019-04-02T06:40:52
134,815,635
4
0
null
null
null
null
UTF-8
C++
false
false
4,254
h
renderer.h
#ifndef RENDERER_H #define RENDERER_H #include <QObject> #include <cmath> #include <QPixmap> #include <QImage> #include <QDebug> #include "utility.h" struct Vec {//定义向量类型 double x, y, z; Vec(double xx = 0, double yy = 0, double zz = 0) { x = xx; y = yy; z = zz; } Vec operator ...
5ead05ebd1621d39cec66045c7c494dfb61540a9
6da62dacf463fde32b9bf85d87dc82fb1b87d876
/Nasledqvane_Comunity_Member/Nasledqvane_Comunity_Member/main.cpp
d5130ca09cd82276cf3f2d4c85795e533802d78b
[]
no_license
PetyrEftimov/GitHubPetyrEftimov
df90acfc4d398489643d5c1d517beab167a088d1
a77b5d2c352c5c5c9e4251294bcf9933798d1eec
refs/heads/master
2021-01-20T13:56:50.077544
2017-06-24T11:29:10
2017-06-24T11:29:10
90,543,799
0
0
null
null
null
null
UTF-8
C++
false
false
918
cpp
main.cpp
// // main.cpp // Nasledqvane_Comunity_Member // // Created by Pepi on 4/22/17. // Copyright © 2017 Pepi. All rights reserved. // #include "Employee.hpp" #include "ComunityMember.hpp" #include "Student.hpp" #include "Staff.hpp" #include <iostream> #include <string> #include <vector> #include "Adress.hpp" using name...
835202e8ffab35116eef30a95c09dc7f926c1b5e
343e6980be403c6ef38072b785fcb66c431c4aa2
/Pacman/Classes/View/WorldScene.cpp
26033a42c70a68679eb5de754779c7f474eb473f
[]
no_license
BeemoLin/pac-man-cocos2dx
9d8886812d6b69ed1beb49307e5fca7671126205
4daca26b4e134068d971d03f19853e059c40b01a
refs/heads/master
2020-12-11T05:45:10.867726
2014-09-15T21:20:14
2014-09-15T21:20:14
null
0
0
null
null
null
null
UTF-8
C++
false
false
3,400
cpp
WorldScene.cpp
#include "View\WorldScene.h" #include "Model\ReadLevel.h" #include "SimpleAudioEngine.h" #include "MainMenuScene.h" WorldScene* WorldScene::create(std::string levelName) { WorldScene* scene = new WorldScene(); if(scene && scene->init(levelName)){ return (WorldScene*)scene->autorelease(); } CC_SAFE_DELETE(scene);...
5d08ef00af5dd69214dcb585bd92b7633b5d0c63
2124d0b0d00c3038924f5d2ad3fe14b35a1b8644
/source/GamosCore/GamosGenerator/src/GmIsotopeDecay.cc
3b066976adc67c47ed9224ba77b69d55e2162bdc
[]
no_license
arceciemat/GAMOS
2f3059e8b0992e217aaf98b8591ef725ad654763
7db8bd6d1846733387b6cc946945f0821567662b
refs/heads/master
2023-07-08T13:31:01.021905
2023-06-26T10:57:43
2023-06-26T10:57:43
21,818,258
1
0
null
null
null
null
UTF-8
C++
false
false
1,416
cc
GmIsotopeDecay.cc
#include "GmIsotopeDecay.hh" #include "GmGenerVerbosity.hh" #include "GamosCore/GamosUtils/include/GmGenUtils.hh" #include "G4ParticleTable.hh" #include "G4tgrUtils.hh" GmIsotopeDecay::GmIsotopeDecay( const G4String& energy, const G4String& prob, const G4String& product ) { if( !GmGenUtils::IsNumber( energy ) ){ ...
fd823788c18f0f1ac53d187b8d813ed94bb102fc
09ce52bdf2052b1b4627d03aaec5c1e40761488b
/src/app/rbj_filter.h
1f475676165898af5169efe5180abcbf0d81cc6e
[ "BSD-3-Clause" ]
permissive
flit/bass.slab
5d077d8350c0922a4252c175df9011aaf79ea787
9b2d47545ef0045999c9e7a4aa94ba1ddab7fb1a
refs/heads/master
2021-01-09T20:40:44.537711
2016-12-23T20:04:12
2016-12-23T20:04:12
61,446,654
2
1
null
null
null
null
UTF-8
C++
false
false
5,151
h
rbj_filter.h
/* * Copyright (c) 2015 Immo Software * * Redistribution and use in source and binary forms, with or without modification, * are permitted provided that the following conditions are met: * * o Redistributions of source code must retain the above copyright notice, this list * of conditions and the following dis...
9b22757aaf4940eb46ad093e43860ee72c7b798e
26c3e3c441c021dd0138afef886ef802b451fced
/include/tools/config.h
7676664afedf9d8131d03b3892d5b1ba2e6e7633
[]
no_license
chxj1980/firstproject
1b25543db4e4b3d1ba636a03d2f3d9d8c8fef69f
effadd90087a0894a84e5a90924935c6d492eada
refs/heads/master
2021-09-15T20:24:09.870832
2018-06-10T11:17:18
2018-06-10T11:17:18
null
0
0
null
null
null
null
GB18030
C++
false
false
1,327
h
config.h
#pragma once #include "utility/noncopyable.h" #include "tools/xtXml.h" #include <string> #include <map> #include <wtypes.h> using namespace std; class config:private utility::noncopyable { private: config(void); ~config(void); public: static config* instance() { return &self; } typedef pair<string, string> ...
68138d54509d6a47071cd17ece133baf40b8b0f0
a4a52b549ac1bf9266ecbe58c1e8388331c947bf
/src/types/tenv.cpp
0cdd5efd242f489a2f9f69de73e2b5eec851211a
[ "MIT" ]
permissive
vimlord/Lomda
56074de148351ddddf8845320b7926f98e3de5fb
70cb7a9616c50fde3af62400fdcf945c63fad810
refs/heads/master
2021-10-18T05:13:37.569775
2019-02-08T04:27:32
2019-02-08T18:05:57
114,925,147
5
1
MIT
2019-02-14T02:17:59
2017-12-20T19:49:35
C++
UTF-8
C++
false
false
3,094
cpp
tenv.cpp
#include "types.hpp" #include "proof.hpp" using namespace std; string TypeEnv::next_id = "a"; TypeEnv::~TypeEnv() { for (auto it : types) delete it.second; for (auto it : mgu) delete it.second; } Type* TypeEnv::apply(string x) { if (types.find(x) == types.end()) { // We need to ...
4a8bbd6ed69ff1fbf78bb8a685f8dbe6c3721dc5
a7a1402b69773eadb7ddded20725f5aa9b52d0f1
/Chapter4/4.3-IOStream.h
093023f18d6786963db3741af712d93d614c9a7d
[]
no_license
theOtherWorld/Learning-Cplusplus
0194a52652e768085ef42de67ab772060fc6b2d3
62ff7ec69bdf0fc3b3a040ea43e5d310e52b7334
refs/heads/master
2021-07-06T03:59:12.718122
2017-09-30T10:21:47
2017-09-30T10:21:47
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,056
h
4.3-IOStream.h
// // Created by xl on 2017/8/25. // /** * io 数据流 */ #ifndef C_PROGRAMMING_LANGUAGE_4_3_IOSTREAM_H #define C_PROGRAMMING_LANGUAGE_4_3_IOSTREAM_H #include <string> #include <iostream> #include <ios> using namespace std; namespace i_o_s{ /** * 用户自定义类型的I/O */ struct Entry{ string name; ...
975c0eb1883f66db8dd491376cae8c2a76457269
39df52e86e7c99948731751eeb84d50debcebfb8
/NEBeauty/PC/personcall-1v1_nertc_beauty/source/src/call_widget.cpp
d8980e500d9747b77cf3777b92eec69417827641
[ "MIT" ]
permissive
tk2241998613/Advanced-Video
759de2627431900ac857fae06cc354cfa5d8c0fa
f006d18ac9703d4ba13ae402dd44733957e2b934
refs/heads/master
2023-08-20T23:08:40.656844
2021-10-26T08:13:19
2021-10-26T08:13:19
null
0
0
null
null
null
null
UTF-8
C++
false
false
6,907
cpp
call_widget.cpp
#include <QApplication> #include <QVBoxLayout> #include <QHBoxLayout> #include <QMoveEvent> #include <QDebug> #include "json/json.h" #include "call_widget.h" #include "engine.h" #include "video_widget.h" #include "room_button.h" #include "beauty_tabwidget.h" CallWidget::CallWidget(Engine* engine, QWidget *parent /*= ...
8223276d89f609b8c7baa6a4a9c9237a067e213b
3928dbd2997763bccd77dbec2c55a1e3a84a57be
/SpringMass/src/ofApp.cpp
6e1c4f440f28ee1d369a7eddce128655a4c1f395
[]
no_license
JanSnieg/ModelowanieFizyczne
1ed84031c861d4e3aa20905a68e01abe69dc9ae1
01123249dfe578e81de2dd179e11265b569ac6f7
refs/heads/master
2021-09-05T16:48:08.345793
2018-01-29T18:40:49
2018-01-29T18:40:49
111,568,270
0
0
null
null
null
null
UTF-8
C++
false
false
3,354
cpp
ofApp.cpp
#include "ofApp.hpp" //-------------------------------------------------------------- void ofApp::setup() { gui.setup(); gui.add(rectangleMass.setup("Rectangle mass",10,10,300)); ofSetFrameRate(30); ofBackground(35, 42, 70); } //-------------------------------------------------------------- void ofApp...
28328adac09b267cf61f0b9f40c80bd8f26ceac8
90e2f09587cac69b1f4a76f3f090d1c02ef78391
/src/modes/open/openLogMode.h
b65222dd8a66bc2859ac9c4932c1d56d026e226e
[ "BSD-3-Clause" ]
permissive
KDE/ksystemlog
70fa55a30bb960c6954e6d01f7c7d286a33f24eb
6ba2eb3ed81390fda48b091b114610d5c747b8a3
refs/heads/master
2023-08-16T18:26:34.352481
2023-08-06T01:54:13
2023-08-06T01:54:13
42,737,002
13
5
null
null
null
null
UTF-8
C++
false
false
652
h
openLogMode.h
/* SPDX-FileCopyrightText: 2007 Nicolas Ternisien <nicolas.ternisien@gmail.com> SPDX-License-Identifier: GPL-2.0-or-later */ #pragma once /** * Open Log Mode Identifier */ #define OPEN_LOG_MODE_ID "openLogMode" /** * System Log Icon */ #define OPEN_MODE_ICON "document-open" #include "logFile.h" #inclu...
46ea7e5e8b3aec9c5056fc0395b4ee421d1da22a
5d83739af703fb400857cecc69aadaf02e07f8d1
/Archive2/dd/11b605dc696b94/main.cpp
9d2dcb9fe7307a8f238f7b10d0a812b3b32efc32
[]
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
7,583
cpp
main.cpp
#include <cstddef> #include <type_traits> #include <initializer_list> #include <algorithm> namespace Furrovine { template <typename T, std::size_t n, std::size_t a = std::alignment_of<T>::value> class fixed_vector { public: typedef T value_type; typedef T& reference; typedef const T& const_reference; ty...
f1f8824246983d195d403687232d68d49057f09a
f90e8e7edcd58bc332af9cd91a57b88cb5e0b804
/OS1 Projekat/src/kernel.cpp
800b1400be02a92dc94f99b46db41af6d37b0aac
[]
no_license
denkoRa/OS-Kernel
5927c4b78915999a0f691a8020c832bba8489524
66628460b07f497d8eab7bc3f7e0440b3bc68fc8
refs/heads/master
2021-01-12T16:03:22.979415
2016-10-25T18:43:17
2016-10-25T18:43:17
71,927,848
0
0
null
null
null
null
UTF-8
C++
false
false
3,334
cpp
kernel.cpp
/* * kernel.cpp * * Created on: May 19, 2015 * Author: OS1 */ #include "kernel.h" #include <iostream.h> #include <schedule.h> #include <dos.h> #include <stdlib.h> typedef void interrupt (*InterPtr)(...); InterPtr Kernel::oldTimer; unsigned* Kernel::kernelStack = new unsigned [4096]; KernelList* Kernel::k...
70734dfa21cd0d59f9fa57f064f062c9c9b540a3
e149e4ed7e7634ab0fb1e87c26d1a6bc4fcfe3a1
/leetcode_vscode/leetcode_25/leetcode_25.cpp
e1ed22dc0407524b9f979c561f52b18d5d6d4f6a
[]
no_license
sailor-ux/mycodes
9291c78c4af2ffa8a4cd593184837a41b288e1ee
92f6b6338376daaec2d35a508845077fdcf4c25c
refs/heads/main
2023-08-31T13:29:36.675819
2023-08-20T16:19:05
2023-08-20T16:19:05
214,383,672
0
0
null
null
null
null
GB18030
C++
false
false
1,822
cpp
leetcode_25.cpp
#include <iostream> #include <vector> using namespace std; struct ListNode { int val; ListNode* next; ListNode() : val(0), next(nullptr) {} ListNode(int x) : val(x), next(nullptr) {} ListNode(int x, ListNode* next) : val(x), next(next) {} }; class Solution { public: ListNode* reverseKGroup(Lis...
dd4e33c178779af9f49d1edd28d421186d66502b
23b3fe726bc41c2af5e38645f39d11ebb8cfb773
/ProjectEuler/Problem-29-Distinct-powers.cpp
84d7dfda3cafaca5f958506cd277a3621bbfb4b4
[]
no_license
vmichal/Competitive
f4106deb6a786aa3203841b6f3ac5e5390b3ecf2
e357a20c1365176f25343c5f9fd88edc2e1db4e9
refs/heads/master
2020-12-23T21:02:57.635998
2020-08-09T15:52:22
2020-08-09T15:52:22
237,273,916
0
0
null
null
null
null
UTF-8
C++
false
false
1,024
cpp
Problem-29-Distinct-powers.cpp
#include <iostream> #include "BigInteger.h" #define MAX 100 int main() { std::vector<BigInteger*> cisla; cisla.reserve(10'000); for (int i = 2; i <= MAX; i++) { BigInteger *a = new BigInteger(i*i); for (int j = 2; j < MAX; j++) { cisla.push_back(a); a = new BigInteger(*a*i); } cisla.push_back(a); ...
bb7e4a45f5cfab3e092deb80a653d6416ffedb70
c9868cc566f422da064c350288d1070a4a5659b7
/c++ part/query.cpp
96551a2a41495a7e0067b6e463e39570c829f6e8
[]
no_license
Zestinc/Bachelor-Graduate-Project
0b70e19f7a4a647b06a34836aea4dfd9c6321d40
962f76a39a1fc86c9810fac1b96b6dbd5c9a659c
refs/heads/master
2021-01-10T14:41:14.568713
2016-02-18T09:43:21
2016-02-18T09:43:21
50,314,756
0
0
null
null
null
null
UTF-8
C++
false
false
1,350
cpp
query.cpp
//// //// query.cpp //// test //// //// Created by Zestinc on 15/1/4. //// Copyright (c) 2015年 Zestinc. All rights reserved. //// // //#include "query.h" //#include <stdio.h> //#include <iostream> //#include "test/cmysql/mysql.h" //#include <string> //using namespace std; // ////初始化 & 连接MySQL //MYSQL initsql() //{ ...
9580a83d9c81b09f74d78247e38971456a7318bd
508f595b141d5dec80da087202f1ccbb0323fec6
/libs/util/include/hades/detail/utility.inl
93057087dd51c05507f92a52442eceaceee97832
[]
no_license
cyanskies/hades
7bc44b7bad27be5104c4b79c131535f025c946dd
402b93e6694e524b5d3c600ab35470feb4c85e3f
refs/heads/master
2023-08-31T02:00:40.645910
2022-05-25T08:33:25
2022-05-25T08:33:25
66,844,618
1
0
null
null
null
null
UTF-8
C++
false
false
12,916
inl
utility.inl
#include "hades/utility.hpp" #include <cassert> #include <functional> #include <random> namespace hades { template<typename Float, typename std::enable_if_t<std::is_floating_point_v<Float>, int>> constexpr Float lerp(Float a, Float b, Float t) noexcept { //algorithm recommended for consistancy in P0811R2 : ht...
5499b62eae5b43978d235d89a2a19dd378066d88
261ff029c1355a8a1f74a46f76155bc44ca2f44b
/Engine/Resources/Codes/DynamicMesh.cpp
9f22221b91049a1a5b7719fcb779a1f0a3ac7fbd
[]
no_license
bisily/DirectX3D_Personal_-portfolio
39aa054f60228e703a6d942a7df94a9faaa7a00a
e06878690793d103273f2b50213a92bdfb923b33
refs/heads/master
2022-11-26T11:51:29.985373
2020-08-04T09:17:09
2020-08-04T09:17:09
284,932,529
0
0
null
null
null
null
UHC
C++
false
false
7,509
cpp
DynamicMesh.cpp
#include "DynamicMesh.h" USING(Engine) Engine::CDynamicMesh::CDynamicMesh(LPDIRECT3DDEVICE9 pGraphicDev) : Engine::CMesh(pGraphicDev) { } Engine::CDynamicMesh::CDynamicMesh(const CDynamicMesh & rhs) : Engine::CMesh(rhs) , m_pRootFrame(rhs.m_pRootFrame) , m_pLoader(rhs.m_pLoader) , m_MeshContainerList(rhs.m_Mesh...
f59c11a142dc4b5fc60c1c8cf1ae660537fe5c39
f1f40e4ee90cdb01ae22b8597dd8da40b8705fd2
/LIB_SENSORS/BMP180I2CDigitalSensor.h
cbeee9c56d3482a350bbb78af8d7d458faf15046
[]
no_license
CaptFrank/sensor-node
fe7db954756205805357f4526b3d243bee4ef750
f6a8f536bb7b79204c22c7facd6490e133713a23
refs/heads/master
2020-05-04T16:00:55.585620
2014-10-22T22:49:36
2014-10-22T22:49:36
32,990,730
0
0
null
null
null
null
UTF-8
C++
false
false
6,298
h
BMP180I2CDigitalSensor.h
/* * BMP180I2CDigitalSensor.h * * Created on: Jun 20, 2014 * Author: Administrator */ #ifndef BMP180I2CDIGITALSENSOR_H_ #define BMP180I2CDIGITALSENSOR_H_ // ------------------------------------------------------------------------------- // Includes // Standards extern "C" { #include <math...
1b659a319bc60d4e0d7628df0d8e466161e6d213
bfa3b192288ceed44ed30792d8857c3c1d72b4b2
/Temp/CyberLink4CC/include/cybergarage/soap/SOAPRequest.h
b8a97a5ac9eebf011a2b9f342df83ac3c4a95f66
[ "BSD-3-Clause" ]
permissive
Crawping/fishjam-template-library
a886ac50f807c4386ce37a89563b8da23024220f
46b4b3048a38034772d7c8a654d372907d7e024d
refs/heads/master
2020-12-24T09:44:22.596675
2015-03-18T10:50:43
2015-03-18T10:50:43
null
0
0
null
null
null
null
UTF-8
C++
false
false
3,549
h
SOAPRequest.h
/****************************************************************** * * CyberSOAP for C++ * * Copyright (C) Satoshi Konno 2002-2003 * * File: SOAPRequest.h * * Revision; * * 05/21/03 * - first revision * ******************************************************************/ #ifndef _CSOAP_SOAPREQUEST_H_ #define _...
06bcfc9ff14627e7ad0a9ad9326a2e4d6f770c82
3466c2193223e00505d7fefaeb0dd51424017a63
/chapter-l/rand.cpp
fa56ef8144679c9c702e1a54261f3b8e059530c2
[]
no_license
ohduran/reviewcpp
6c7a9a9cb131eec192f4e9359398dc42faa8f14f
30018d98cd0789791b829c48ff908ccaadfece9b
refs/heads/master
2023-01-19T00:25:38.347885
2020-11-09T06:55:18
2020-11-09T06:55:18
301,610,156
0
0
null
2020-12-11T11:28:00
2020-10-06T04:07:46
C++
UTF-8
C++
false
false
597
cpp
rand.cpp
#include <iostream> #include <cstdlib> // for std::rand and std::srand #include <ctime> // for std::time int getRandomNumber(int min, int max) { static const double fraction = 1.0 / (RAND_MAX + 1.0); // so that rand * fraction in [0, 1) return min + static_cast<int>((max - min + 1) * (std::rand() * fraction...
c6ef58c6b9e36041ce78d0e94b370b6c119842ff
7895353724d6bbc57e45eec7aa0db3d4220f84ca
/src/网络编程/multi_process/client.cpp
f416ed6a90485b63d7413d8a07511b558d647a75
[]
no_license
averyboy/skills
e8309ae835ad48d9f17c13b63047141589617f51
a825feee50bc2b6faafe4580d543d8bb619a94d3
refs/heads/master
2020-04-23T16:04:41.494831
2019-03-27T13:45:29
2019-03-27T13:45:29
171,285,846
1
0
null
null
null
null
UTF-8
C++
false
false
942
cpp
client.cpp
#include<bits/stdc++.h> #include<netinet/in.h> #include<arpa/inet.h> #include<sys/types.h> #include<sys/socket.h> #include<sys/time.h> #include<unistd.h> const int TCP_PORT=6666; const int BUF_SIZE=1024; using namespace std; int main() { int sockfd=socket(AF_INET,SOCK_STREAM,0); sockaddr_in cliaddr; memset(...
efb2372d9bf7a6e298fa275a9f977b4ebfa6e54a
4b1808f0e6fa6d19d3050e53f2960c28cf71e092
/main_window.cpp
4b9de18eb4d039e09dbcd923f40ff7f1469a9cec
[]
no_license
zhanghai/optical-system-qt
8feb1ea56bd6c0e8062b4aea77215161080ed40b
fd7cf6fc1a849aced4e1619930e9fb3e3f9276cd
refs/heads/master
2021-06-21T21:48:20.266329
2017-07-12T06:00:21
2017-07-12T06:34:09
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,324
cpp
main_window.cpp
/* * Copyright (c) 2017 Zhang Hai <Dreaming.in.Code.ZH@Gmail.com> * All Rights Reserved. */ #include <QtWidgets/QMessageBox> #include "main_window.h" #include "ui_main_window.h" #include "core.h" MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent), ui(new Ui::MainWindow) { ui->setupUi(this)...
bfc155acc1ded93e330878e5e3d4b62e54dce8f0
ae43081be77fc0cd94a151f28f0107298014ce76
/Classes/Weapon.h
03e915a7a72233ed03029c5039dcbe1a961333e7
[]
no_license
Stals/RotateGame
aa092f61528ff5e59876a9699f92b85686dd4129
c74b19bc17b8a58b6452b197fcb99744ecd4b1aa
refs/heads/master
2020-04-15T02:18:55.499091
2013-08-19T19:24:54
2013-08-19T19:24:54
10,866,926
0
0
null
null
null
null
WINDOWS-1251
C++
false
false
1,712
h
Weapon.h
#pragma once #include "AppMacros.h" #include "../external/Box2D/Box2D.h" #include "EntityType.h" class GameLayer; // Отвечает за отправление пули в определенную точку с определенной скоростью // Note: пока будет тупо прозрачным, но в теории у него могут быть анимации при выстреле и тд class Weapon : public cocos2d::CC...
1e7decbdbeea288648500d67e8ad66d7ad59814e
51be8db88a49f7bebeefddf431faff6048ac4f37
/xpcc/src/xpcc/architecture/platform/avr/atxmega/spi/spi_f.hpp
0b2bedbbfae7b0da34b59a44946731ad3d3ce8aa
[ "MIT" ]
permissive
jrahlf/3D-Non-Contact-Laser-Profilometer
0a2cee1089efdcba780f7b8d79ba41196aa22291
912eb8890442f897c951594c79a8a594096bc119
refs/heads/master
2016-08-04T23:07:48.199953
2014-07-13T07:09:31
2014-07-13T07:09:31
17,915,736
6
3
null
null
null
null
UTF-8
C++
false
false
7,529
hpp
spi_f.hpp
// coding: utf-8 // ---------------------------------------------------------------------------- /* Copyright (c) 2011, Roboterclub Aachen e.V. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: ...
984dac7c52c23724d60a0dda965b81aa4aba7b66
4b2741a424993dd2fdc4169995e64c9981246c77
/C++/2_AddTwoNumbers.cpp
381803e0763fa1828ab90122c8bafaae51dfb9b3
[]
no_license
UrMagicIsMine/LeetCode-Sol
6828507e733e1267369ba1b484dc4ef1b4c193ce
b5fe858adfd22d0084975a74a7b4f39c4e5b7d3d
refs/heads/master
2021-04-30T14:14:26.361993
2020-09-20T23:47:44
2020-09-20T23:47:44
121,192,645
1
0
null
null
null
null
UTF-8
C++
false
false
1,452
cpp
2_AddTwoNumbers.cpp
/* You are given two non-empty linked lists representing two non-negative integers. * The digits are stored in reverse order and each of their nodes contain a single * digit. Add the two numbers and return it as a linked list. * * You may assume the two numbers do not contain any leading zero, except the number * 0 its...
742c163fcc22c295a0852c73a18fbeb03b5f1a04
f54f816c39b45c5d925352b5d50dd81990b4ad0e
/include/model/equip/Weapon.h
f5d7b4d7f3e4aea9223795931e6454ed93b099ca
[]
no_license
mdportnov/DungeonGame
f5d7f00f37726076f49ca4424e30fc8f3d7c767e
1068771891fbef2b3ff956c4c4db28e308396d16
refs/heads/master
2023-04-13T17:40:43.476762
2021-04-11T13:31:37
2021-04-11T13:31:37
null
0
0
null
null
null
null
UTF-8
C++
false
false
478
h
Weapon.h
#pragma once #include <include/model/Item.h> /** * Класс оружия */ class Weapon : public Item { public: Weapon(Level &level, string &fileName, string &name, string &type, string &subType, float x, float y, float w, float h, int layer, int state, float damage); /** * Вычисляет урон */ ...
dfcb51bea68a64896785bb2e3b4faf69ac520721
39bcafc5f6b1672f31f0f6ea9c8d6047ee432950
/src/planner/logical_operator.cpp
75501f7156a4da42b41ee5a1a00ca77705f9a06c
[ "MIT" ]
permissive
duckdb/duckdb
315270af6b198d26eb41a20fc7a0eda04aeef294
f89ccfe0ec01eb613af9c8ac7c264a5ef86d7c3a
refs/heads/main
2023-09-05T08:14:21.278345
2023-09-05T07:28:59
2023-09-05T07:28:59
138,754,790
8,964
986
MIT
2023-09-14T18:42:49
2018-06-26T15:04:45
C++
UTF-8
C++
false
false
13,707
cpp
logical_operator.cpp
#include "duckdb/planner/logical_operator.hpp" #include "duckdb/common/field_writer.hpp" #include "duckdb/common/printer.hpp" #include "duckdb/common/serializer/buffered_deserializer.hpp" #include "duckdb/common/string_util.hpp" #include "duckdb/common/tree_renderer.hpp" #include "duckdb/parser/parser.hpp" #include "d...
352d2a80d81733ab7a5334f0389f572e5e36b83e
951a249ac9ed63674e4aca2775e8105dd0914911
/character/ThreeStarXiaoQiao.h
f8bd42a14ac648d6db3225f4c5a48a1d8eb4c96a
[]
no_license
wwp1122/shuaituzhibing
bfb84460bc548e17c738a69c6d98a108312e35df
798ccb0af01b06141f88573418cf9969f3d9b448
refs/heads/master
2022-11-15T06:45:06.038815
2022-10-31T02:28:09
2022-10-31T02:28:09
174,478,077
2
0
null
null
null
null
UTF-8
C++
false
false
415
h
ThreeStarXiaoQiao.h
#pragma once #include "character.h" //10% (one) (spell damage) class ThreeStarXiaoQiao :public Character { public: ThreeStarXiaoQiao(); ~ThreeStarXiaoQiao(); void initValue(); void normalAttack(int& attackP); void launchSkill(int& strategyP); void getName(QString& name); void setBloodVolume(int ...
a7fbae3d3566c723d9b2cf78478830f00045f2a1
857938ac2024b1e37f32a6631e85e179ae04b601
/src/Persistence_representations/concept/Real_valued_topological_data.h
12aceab4dc9de9c629e489fad900e9c53af424a0
[ "MIT" ]
permissive
GUDHI/gudhi-devel
a2b08232a2ea66047b7a626d85dff0d50decc71c
2f76d9416e145282adcd8264438480008bd59f77
refs/heads/master
2023-08-31T13:44:17.776336
2023-08-29T20:20:16
2023-08-29T20:20:16
174,304,137
212
69
MIT
2023-09-14T15:34:48
2019-03-07T08:34:04
C++
UTF-8
C++
false
false
1,307
h
Real_valued_topological_data.h
/* This file is part of the Gudhi Library - https://gudhi.inria.fr/ - which is released under MIT. * See file LICENSE or go to https://gudhi.inria.fr/licensing/ for full license details. * Author(s): Pawel Dlotko * * Copyright (C) 2016 Inria * * Modification(s): * - YYYY/MM Author: Desc...
32e12727af550f9a722cc5bed5750d4e2b189a52
8e6e8d6e28a14316089974386a6b481c7ac59a63
/CCF/201812-4.cc
ff5d922aa4175c39c237684c4a648475c233d5a9
[]
no_license
sqwlly/ACM-solved-problem
2301627e9cf7e8accbd731936cc494c2fd3d31f1
3509242792ea7bbd7d0a5989aeff712be57a4348
refs/heads/master
2021-06-05T03:02:46.655724
2020-02-19T04:58:32
2020-02-19T04:58:32
147,011,925
3
1
null
null
null
null
UTF-8
C++
false
false
1,231
cc
201812-4.cc
/************************************************************************* > File Name: 201812-4.cc > Author: sqwlly > Mail: sqw.lucky@gmail.com > Created Time: 2019年03月14日 星期四 13时32分01秒 ************************************************************************/ #include<bits/stdc++.h> #define DEBUG(x...
f6a276e950984c752c7d82debe31d6d76e345128
b0284628709544ae4edc53317617e3303e554f43
/LEDServer/C++/ColorCalculator.cpp
fa5b03134a838c2f2fae5c9f5c06521881566836
[ "MIT" ]
permissive
nordicway/Calamarity
f676a45f7e95278e2ae510c79b27ff65994a2bf1
8cac2afb3ac20144ddcc468cdaf4bcdd2dd000a2
refs/heads/master
2021-04-29T09:19:51.446565
2016-12-29T19:14:48
2016-12-29T19:14:48
77,634,320
0
0
null
null
null
null
UTF-8
C++
false
false
276
cpp
ColorCalculator.cpp
#include "stdafx.h" #include "ColorCalculator.h" ColorCalculator::ColorCalculator(void) { } ColorCalculator::~ColorCalculator(void) { } std::vector<unsigned char> ColorCalculator::calc(RGBLED* rgbLED, float value) { return std::vector<unsigned char>(); }
73e1e521ce60b6374bd228d09b7d0b1c4baf9842
f7ba06442157af01c455e7714ce91d4b3ce96043
/POTD/autograderTest53/main.cpp
93a02d94dc9d427cf89229105b0ccfc6f2da6b94
[]
no_license
Kennylixinran/cs225
3f870f84181bbe3daee72e78ff6ad675c662038e
2edc746b6b66623e3913d1a6206f32ca83fedbe6
refs/heads/master
2021-05-08T04:34:22.500790
2017-10-26T13:41:33
2017-10-26T13:41:33
108,416,638
0
1
null
null
null
null
UTF-8
C++
false
false
65
cpp
main.cpp
#include "mystery.h" int main(){ mystery(); return 0; }
166f9f9bbb99e989fe0257b6f6943845b4ca1367
51560818f665eb20abf806b5b06cedb1b904b39f
/src/visual/Renderer.cpp
86b1b757ace907df80cee3ddc34e9556296a98a8
[ "BSD-3-Clause" ]
permissive
zakrent/SDL-JUMP-GAME
bab7795dfbf661fa946daa0da484b7736f12944c
a28803dbf933d308338390e34c531e1339b983f5
refs/heads/master
2021-04-28T03:00:07.261023
2018-03-09T17:25:22
2018-03-09T17:25:22
122,128,820
0
0
null
null
null
null
UTF-8
C++
false
false
4,296
cpp
Renderer.cpp
// // Created by zakrent on 2/19/18. // #include <math.h> #include "Renderer.h" #include "../Game.h" Renderer::Renderer() { } Renderer::~Renderer() { SDL_DestroyRenderer(renderer); SDL_DestroyWindow(window); } void Renderer::createWindow() { Game* game = Game::get(); if(!game->settingsManager->check...
36bd697b56b7c9c398a6aa6e02e552bc033914eb
4bc8592399529c9cdd7a6334720c6a13c829ec5a
/game sfml/game sfml/main.cpp
3c813daa8a8913c4d7228b9147a5c52861b2ba5a
[]
no_license
KuR0uSaGi/game-sfml
9d44ae35b0fd6c664a027bc8d6d0f242e4c6f087
8564fd7ae26e00736b618079231981ed9d51b420
refs/heads/main
2023-01-12T13:59:29.101541
2020-11-16T07:19:04
2020-11-16T07:19:04
313,219,238
0
0
null
null
null
null
UTF-8
C++
false
false
12,995
cpp
main.cpp
#include <SFML/Graphics.hpp> #include<SFML/Window.hpp> #include <iostream> int main() { int a = 0; /*const float gravity = 1; int groundHeight = 630; float moveSpeed = 0.05f, jumpSpeed = 0.1f;*/ sf::Vector2f velocity(sf::Vector2f(0, 0)); // sf::RenderWindow window(sf::VideoMode(1080, 720), "Game...
a938d2a346e66d4841513fc2aa828fabd6d67b36
2dd89c3ba974cdb609dc2c7d0bf4c1322b23fdf7
/codeforces/294.2/A/A.cpp
d3a9b7bf8f4a88dc3af3ee0bcc644a80a8dc51ee
[]
no_license
KawashiroNitori/ACM_Problems
7f69b6d200679ba32a9728b23b9c9cbc7668fc9a
2e814843452dd6f4f595be005160ebef19ce2ca9
refs/heads/master
2016-09-05T12:06:47.391273
2015-09-01T14:47:13
2015-09-01T14:47:13
41,744,238
0
0
null
null
null
null
UTF-8
C++
false
false
1,119
cpp
A.cpp
#include <iostream> using namespace std; int main() { int white=0,black=0; char ch; for (int i=1;i<=8;i++) for (int j=1;j<=8;j++) { cin>>ch; switch (ch) { case 'Q': { white+=9; break; } case 'R': { white+=5; break; } case 'B...
270daa8f771d8ba2dd37b5426e1c4d548cc7f4e2
ffff2a4fb72a163e4d42b01cefa1f5566784990f
/codeforces/contests/662div2/q4.cpp
050fa1f9d4f5d307bb1fb83cb6c7dc33836ba3ff
[]
no_license
sanyamdtu/competitive_programming
d5b4bb6a1b46c56ebe2fe684f4a7129fe5fb8e86
5a810bbbd0c2119a172305b16d7d7aab3f0ed95e
refs/heads/master
2021-10-25T07:11:47.431312
2021-10-06T07:37:25
2021-10-06T07:37:25
238,703,031
1
0
null
null
null
null
UTF-8
C++
false
false
547
cpp
q4.cpp
#include<bits/stdc++.h> using namespace std; #define pb push_back #define mod 1000000007 #define INF 1e18 typedef long long ll; int main() { ios_base::sync_with_stdio(0); cin.tie(0); cout.tie(0); int t; cin >> t; while (t--) { int n,q; cin>>n>>q; ll arr[n]; vector<vector<int>> g(n+1); for (int i = 0; ...
22ae8795abae9a898201c56edd6c52324b1b3a6e
3b4696f5353468e08377283726ff8ac3b44a1f62
/driver/canbus_driver/CML/CanDriver/CML_Equipment.h
f1a535ba5b01cb46f8e4ff158bc18812709d927f
[]
no_license
hmguan/grace
7b8e14b07b35eb12c153765ba9f2189230fcd224
d4da5ec4b668720be6ff5c9b88a9d92d040e8bc1
refs/heads/master
2020-03-26T20:56:00.460868
2018-08-20T11:21:58
2018-08-20T11:21:58
145,356,104
0
0
null
2018-08-20T02:27:21
2018-08-20T02:27:21
null
UTF-8
C++
false
false
825
h
CML_Equipment.h
#ifndef _EQUIPMENT_ #define _EQUIPMENT_ #include "CML_Reference.h" #include "CML_EventMap.h" CML_NAMESPACE_START() class EquipmentError: public Error { public: static const EquipmentError NoParent; protected: EquipmentError( uint16 id, const char *desc ): Error( id, desc ){} }; class Equipment: ...
2d7e4cf5cbf9b030482a8377e3d37111aa2946b6
0dedbe330b2039f0f079ed30abeabb385b335f87
/piercingfactory.h
c3158bc0622ea8881b6163a8f84f395685692539
[]
no_license
craig95/flyingbadger
d7f62442b9200513caa910eb39ab6c2a24aa010e
439fe90313357cc4ecb3590a908cfe08ca314b8f
refs/heads/master
2021-01-10T13:17:34.672003
2015-09-29T08:01:22
2015-09-29T08:01:22
43,293,325
1
1
null
null
null
null
UTF-8
C++
false
false
181
h
piercingfactory.h
#ifndef PIERCINGFACTORY_H #define PIERCINGFACTORY_H #include "unitfactory.h" class PiercingFactory: public UnitFactory { public: void createPlayer(); void createMob(); } #endif
dd24c5bb71c29576a90b3a0af13153feceac9cb9
4b4564dbb0748d5f3fe588df98aee21ffbc8417e
/src/Dialog_Prompt.cpp
e91d0e092bd6970651f607749d4b749df8d9e4c8
[]
no_license
Openhologram/OpenholoRefAppGUI
08863739d09ee17489af2aba1d2c262c88192bc2
f8d10b7c4e3d49a470fab3457316eb30301ffbcf
refs/heads/master
2022-01-23T08:42:10.428399
2022-01-07T04:36:04
2022-01-07T04:36:04
207,519,048
8
8
null
null
null
null
UHC
C++
false
false
1,135
cpp
Dialog_Prompt.cpp
// Dialog_Prompt.cpp: 구현 파일 // #include "stdafx.h" #include "OpenholoRefAppGUI.h" #include "Dialog_Prompt.h" #include "afxdialogex.h" // Dialog_Prompt 대화 상자 IMPLEMENT_DYNAMIC(Dialog_Prompt, CDialogEx) Dialog_Prompt::Dialog_Prompt(CWnd* pParent /*=nullptr*/) : CDialogEx(IDD_DLG_PROMPT, pParent) { } Dialog_Prompt...
674d5eca4068fab973d46d4f99a31170d37d12b7
3b45c6dc53371ce94614b2d163f434a61e445d82
/include/dark/dll/dll.hpp
2b0b2db65344ba160f77be5c89eb6ec22cb68b49
[]
no_license
zephyrer/dark-filter
b00ade216365d6abeb9b654691233314f35b9c27
e69352f260c164c65576ead5983674f10f8d1c55
refs/heads/master
2021-01-23T11:02:57.067035
2014-06-10T04:23:48
2014-06-10T04:23:48
40,067,643
0
1
null
null
null
null
UTF-8
C++
false
false
501
hpp
dll.hpp
#ifndef _DARK_DLL_ #define _DARK_DLL_ namespace dark { namespace dll { class SetResourceHandle { public: HINSTANCE old; //構造設置資源句柄 SetResourceHandle() { old = AfxGetResourceHandle(); } SetResourceHandle(HINSTANCE hinstance) { old = AfxGetResourceHandle(); AfxS...
f7c60314befb361daa1484e56eea7e70f2496b8f
4c6af3fefc086a82d07dc6dabfc6c0215822f485
/main.cpp
960a9c5f858925827b14345fb696a957ea61d590
[]
no_license
DavidLiuGit/Synthagram
ee10344ca7e196c2a7f4a70cbf44684bc5c677a7
f59a33e288f217d75ab4e4fb082c29d9331a9f6f
refs/heads/master
2021-01-10T18:04:40.876497
2016-05-11T03:39:53
2016-05-11T03:39:53
49,257,255
0
0
null
null
null
null
UTF-8
C++
false
false
802
cpp
main.cpp
#include <cstdlib> #include <string> #include <iostream> #define PATH "Dictionary/dictionary.txt" #include "dictionary.h" #define V1 1 #define V2 1 using namespace std; void help(); void parser(dictionary *ref); // About synthagram void about(){ cout << "Synthagram is a console application that finds anagrams ...
54d9a93f8eaa29b01eb6993e888f4faaaa734c66
10ccc1739ad2a391e76b1c52b216e273babbf3bc
/src/mearly.h
2e9a250bbba9e4a7f292c2c1cc4ce35a572b276a
[]
no_license
mattearly/TheOnlyEscapeIsESC
44f5890f8d2f34e677cbb053063d7a15b685567c
8ec561f0c65d7bde596dd8a10ccf013af747923b
refs/heads/main
2023-01-28T00:28:21.893529
2023-01-25T00:35:09
2023-01-25T00:35:09
161,948,918
4
0
null
null
null
null
UTF-8
C++
false
false
521
h
mearly.h
/* ~ Utility Functions ~ built by Matthew Early */ #include <random> #include <chrono> namespace mearly { /// /// \brief ZTOR Zero-To-One-Random uses MersenneTwister seeded on a high precision /// timestamp seed for a true feeling of randomness /// \return double between 0.0 and 1.0 /// double ZTOR(); /// /// \brie...
156e03aad8122d48e0d75e8db3ead600961b4737
a43bf399b62b9ca17eb95c80c99067b925fdd2ad
/C++ Console/2015/T8/任务三 动物类/任务三 动物类/animal.h
7b20a3a569a2f7e3aabd1267a691b71acc90c73b
[]
no_license
imjinghun/university
d4bdf80ae6ed3d5a88c5a8b38c7640f19b0efe2c
1f5e9c0301ab4d38e4504d6c9cae4b5a187ce26b
refs/heads/master
2021-01-01T16:13:34.426161
2017-09-11T13:00:40
2017-09-11T13:00:40
97,788,115
0
0
null
null
null
null
UTF-8
C++
false
false
258
h
animal.h
#pragma once #include<iostream> #include<string> using namespace std; class animal { protected: string ani; public: animal(void); animal(string ani) { this->ani=ani; } ~animal(void); virtual void speak() { cout<<"My name is animal!"<<endl; } };