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
b74f7ab01587caf3da455d65557f764308c4e07a
cf8182ecc88888719cfaff79751834500800151a
/src/shogun/structure/Factor.cpp
bbe14fb21220a8ee620992761bec8638d7e79e7e
[ "BSD-3-Clause", "DOC", "GPL-3.0-only" ]
permissive
shogun-toolbox/shogun
17beb82a04fbf1179d300c4fcd16ee68850ad994
9b8d856971af5a295dd6ad70623ae45647a6334c
refs/heads/develop
2023-03-11T04:46:36.167073
2020-12-08T16:56:38
2020-12-08T16:56:38
1,555,094
2,938
1,246
BSD-3-Clause
2022-08-12T11:12:34
2011-04-01T10:44:32
C++
UTF-8
C++
false
false
7,644
cpp
Factor.cpp
/* * This software is distributed under BSD 3-clause license (see LICENSE file). * * Authors: Shell Hu, Heiko Strathmann, Jiaolong Xu, Bjoern Esser, * Sergey Lisitsyn */ #include <shogun/structure/Factor.h> #include <utility> using namespace shogun; Factor::Factor() : SGObject() { init(); } Factor::...
82998e82eed90333434cb7e909924bf043bf0659
17e6891e863fba80ad6080f802351c9514f8f33d
/remove_invalid_paranthesis.cc
b2352bf8ed167598b0fb6f77df495801c57b7dc2
[]
no_license
bbhavsar/ltc
de88aed97a31f7d5731ef1ab68875a8a95201ffa
f6a5617e652ced1513d48b4a1ad8204b28e3ddd1
refs/heads/master
2021-10-29T16:21:03.129286
2021-10-22T23:18:18
2021-10-22T23:23:43
127,701,900
1
0
null
null
null
null
UTF-8
C++
false
false
2,405
cc
remove_invalid_paranthesis.cc
// https://leetcode.com/problems/remove-invalid-parentheses/solution/ #include "common.hh" void recurse(const string& s, int idx, int left_count, int right_count, string expr, int left_to_remove, int right_to_remove, int& max, unordered_set<string>& result) { if (idx == s.length()) { ...
5ab94d7199e86fc52209fb3fef5fc2b2004cbfb0
26aeddd8cedbe39df14cd871eb850a79b4a9d75f
/TNFSH_Moodle/Task 5-4/task5-4.cpp
6f4e41ab37187e0e8d109da0dc75151d76bc46be
[]
no_license
gnsJhenJie/Mycpp
9bfe4327be4543e5ce30e1f93dc4c6b8666bc21d
5a283ee62b0ea3641b750edac61cdbb076c2d0c0
refs/heads/master
2021-07-15T10:48:37.342366
2018-06-05T01:40:29
2018-06-05T01:40:29
113,577,431
2
4
null
2018-10-28T10:58:59
2017-12-08T13:29:31
C++
UTF-8
C++
false
false
525
cpp
task5-4.cpp
//Copyright 2017 gnsJhenJie.All right reserved. #include<iostream> using namespace std; int main(){ int n; cin >> n; for (int i=1;i<=n;i++){ for (int j=1;j<=(n-i);j++){ cout <<"."; } for (int k=1;k<=i;k++){ cout <<"*"; } cout <<endl; } ...
96b6f2df53ed8d9e15bcc41b2980808bbe03b399
54a9c34c604249770c81f2f2b15af7f23448e8cb
/src/test_gui/dlg4.h
ca44816dc5841e3bf8686d8b6bbb329e91223841
[ "Unlicense" ]
permissive
blueantst/zpublic
3a51c1d1d5c0910d5ef5ad85feb4c617d6f5b049
17d798db89a9085200c2127e88ecf6b407393b3c
refs/heads/master
2020-12-11T06:13:25.796413
2013-12-30T09:09:39
2013-12-30T09:09:39
15,559,862
1
2
null
null
null
null
UTF-8
C++
false
false
1,591
h
dlg4.h
#pragma once #include "dlg4_handler.h" #include "resource.h" const int DLG4_ID_EDIT = 10086; class CDlg4 : public CDialogImpl<CDlg4> , public CDlg4Handler<CDlg4> { public: enum { IDD = IDD_DIALOG4 }; BEGIN_MSG_MAP(CDlg4) CHAIN_MSG_MAP(CDlg4Handler<CDlg4>) MSG_WM_INITDI...
63d5410b16c74f283c1df3523ee9e26ae4bddd94
84a73f877166e59fe3540a47045051f349cd4f77
/hw/firmware/3dcam/features.cpp
03e1b9ea17c7f403e44eb89f18b49ca86006011c
[]
no_license
BaeJuneHyuck/3D-video
b5f80eb18cf5b332bc9e7bc866889d8b60675272
146f2b4b7272de4a49d0aefbee7d46d9f5f1852e
refs/heads/master
2022-12-27T07:01:17.846559
2020-09-30T22:02:38
2020-09-30T22:02:38
268,448,362
4
1
null
null
null
null
UTF-8
C++
false
false
6,223
cpp
features.cpp
#include <ArduinoWebsockets.h> #include "esp_timer.h" #include "esp_camera.h" #include "img_converters.h" #include "Arduino.h" #include "fb_gfx.h" #include "SdFat.h" #include "sdios.h" #include "FreeStack.h" using namespace websockets; extern SdFat32 sd; extern File32 file; uint8_t sectorBuffer[512]; void format...
6862971fa45275cfaaf746b756245a8e0a6ea4d5
0c52fa7265a2ed79a206bcea69267b6776ed45ca
/include/rho/algo/stat_util.ipp
76403c1a078ff199ee2c2a23af6576e237e98038
[ "LicenseRef-scancode-openssl", "LicenseRef-scancode-ssleay-windows", "LicenseRef-scancode-warranty-disclaimer", "Zlib", "MIT", "BSD-3-Clause", "RSA-MD", "LicenseRef-scancode-public-domain" ]
permissive
Rhobota/librho
532792a9429801c4c9170bd0d19e3dc34c84ae01
d540cba6227e15ac6ef3dcb6549ed9557f6fee04
refs/heads/master
2021-01-01T05:36:43.887317
2017-04-29T04:11:33
2017-04-29T04:11:33
68,876,855
1
0
null
null
null
null
UTF-8
C++
false
false
1,851
ipp
stat_util.ipp
template <class T> T mean(const std::vector<T>& v) { if (v.size() == 0) throw eInvalidArgument("The mean is not defined over zero samples."); T sum(0); for (size_t i = 0; i < v.size(); i++) sum += v[i]; sum /= T(v.size()); return sum; } template <class T> T mean(const std::vector< ...
8e5f2b2f94a79d3399b70b927df96a1eb9653f7d
6a9dd9417ee3b67c5b59680b606eee3bdab767f1
/最大子列和/最大子列和/源.cpp
f49128eede66d13b4add06d11a58f72578ce5624
[]
no_license
underkongkong/Data-structure
2b39bf98a33db248c57c5fcdc11b12cb217ecbe5
64a2881f648bbd262b5347490f78fabdd841fb1f
refs/heads/master
2022-07-19T20:59:45.730975
2022-06-18T18:21:27
2022-06-18T18:21:27
192,154,842
4
3
null
null
null
null
UTF-8
C++
false
false
485
cpp
源.cpp
#include<iostream> using namespace std; int maxSum(int *p, int n) { int sum = 0; int maxsum = 0; int j, i; for (i = 0; i < n; i++) { for (j = i; j < n; j++) sum += p[j]; if (sum > maxsum) maxsum = sum; } return maxsum; } int main() { int a; cin >> a; int *p = new int[a]; int m=0; for (int i = 0; ...
a03092336ceb95eaad66962f1080b8d964d6bd33
c8488e2b35051868b759387917070b40aa7976be
/prototype_schematic.ino
94179761a27d969a5ab2d5263de8081b6b88fb13
[]
no_license
jkmingwen/protomato
19353f55f2d491b1244e0ba8293b2dc940068a8b
d711bb8fb79f879b927e025e5ff545ae80dd7499
refs/heads/master
2021-08-30T14:20:15.659402
2017-12-18T09:20:42
2017-12-18T09:20:42
114,614,950
0
0
null
null
null
null
UTF-8
C++
false
false
2,220
ino
prototype_schematic.ino
// Declaring pin variables int potPin = A0; int ledPin[3] = {3, 4, 5}; int switchPin = 2; int piezoPin = 9; // Declaring initial component values (to detect changes in state) int potVal; int switchState_old = 0; int switchState_new = 0; // User determined values int setLEDNumber; int timePerLED = 1; // Default time per...
bdac3e19911386e4aa3681028b7a9bf379561d7e
19ae84c7197c48dbd8fc416b5a639f0fb5d09ee3
/PERIOD 4/A-TeamTron/Pettijohn_TronClone/Tron.cpp
9cca0e79fec1ae0cb8e6e1006735d27ec9a986e5
[]
no_license
Kakoure/Computer-Science-1-PROJECTS-2016-2017
c53c616ee296d662e6d061ec04865365a7bd271a
29dbbfa6c0da36578bb7542fb93f06e6379e4895
refs/heads/master
2021-05-16T05:58:42.236444
2017-05-26T13:05:59
2017-05-26T13:05:59
null
0
0
null
null
null
null
UTF-8
C++
false
false
34,783
cpp
Tron.cpp
#include "LoadBMP.h" #include "Pixel.h" #include "VirtualKeys.h" #include <thread> #include <ctime> #include <mmsystem.h> /// WAV #include <mciapi.h> /// MP3 #pragma comment(lib, "winmm.lib") /// WAV also maybe MP3 enum GAMESTATE { START_MENU, PLAYER_1, PLAYER_2, CONTROLS, OPTIONS, MAPOPTIONS, GAME, END }; enum DIRECTI...
1948793f0a153811be280e2a14deacf48eb21785
d282110d4a0087614bf535737d1a8c7acd4930a4
/Wav.cpp
dba23518214487f8c82706e77b35350ba882aa6b
[]
no_license
kashyapiitd/Wav
756c323f58e35a9f79171c3b63396dbaf50291bf
9299fc11ef54b1cbdc630d8fb367eb0a9856127b
refs/heads/master
2020-03-19T02:58:01.497149
2018-06-01T12:07:03
2018-06-01T12:09:55
135,680,635
2
0
null
null
null
null
UTF-8
C++
false
false
2,823
cpp
Wav.cpp
#include "Wav.h" Wav::Wav(){}; Wav::~Wav(){}; status Wav::read_wave_file(string filename) { /* Open the Wavfile in read mode*/ fstream wavfile; wavfile.open(filename, ios::in | ios::binary); if (wavfile.is_open()) { wavfile.read(wav_header.chunk_id, 4); wav_header.chunk_id[4]...
f10a7eb85a6e452d6e71071e659fa50b96f2350f
e6d306682ef842808f67f7f4475e964aac1bb4fc
/include/fakeit/ActionSequence.hpp
b1f6018a139427655c0ca6f7ef95eba4c0823a97
[ "MIT" ]
permissive
eranpeer/FakeIt
34f72d7e10fc4383bcd717ec52e595741bd01832
cb39d8a053876f74dfeed66dd335d3041f142095
refs/heads/master
2023-08-28T18:32:13.281184
2023-04-17T19:46:35
2023-04-17T19:46:35
12,526,458
1,216
220
MIT
2023-08-27T13:48:38
2013-09-01T20:36:44
C++
UTF-8
C++
false
false
2,846
hpp
ActionSequence.hpp
/* * ActionSequence.hpp * Copyright (c) 2014 Eran Pe'er. * * This program is made available under the terms of the MIT License. * * Created on Aug 30, 2014 */ #pragma once #include <vector> #include "fakeit/DomainObjects.hpp" #include "fakeit/ActualInvocation.hpp" #include "fakeit/Action.hpp" #include "fakeit...
83bba671f08ff194c1fbeade779bac4749c86743
fd5789f78ec7d921ba5eeb448c1a2e39a58eac5a
/taichi/program/ir_bank.h
22ebb25fb3693bd726f6790a37ceda9cf58d806f
[ "MIT" ]
permissive
thisguy2020/taichi
5f2c720fac9769933b6fb697fdc11b15b2f5a7d9
75d5eccfe40091ba5a259cc2cc391e916e574954
refs/heads/master
2022-12-23T18:37:09.439277
2020-10-01T14:23:39
2020-10-01T14:23:39
null
0
0
null
null
null
null
UTF-8
C++
false
false
957
h
ir_bank.h
#include "taichi/program/async_utils.h" TLANG_NAMESPACE_BEGIN class IRBank { public: uint64 get_hash(IRNode *ir); void set_hash(IRNode *ir, uint64 hash); bool insert(std::unique_ptr<IRNode> &&ir, uint64 hash); void insert_to_trash_bin(std::unique_ptr<IRNode> &&ir); IRNode *find(IRHandle ir_handle); // ...
5669bfca54cd2ddd5c627983937355f659fb9726
21508d3c2dd940797f97a350cb66e1e16ca42f29
/square/include/square/util.h
d0f3c88b442f7b1ec2d9e84da5d636e199961770
[ "MIT" ]
permissive
mayant15/square
03a279f04b30665084b16affedf18c5270e51996
da6d492968fd8938887cbd6b9bdb5d1c295aff83
refs/heads/main
2023-08-29T05:20:15.200354
2021-10-25T18:37:40
2021-10-25T18:37:40
null
0
0
null
null
null
null
UTF-8
C++
false
false
361
h
util.h
#pragma once #include <string> namespace sq { /*! * @brief Set the viewport dimensions * * @param x Desired origin X * @param y Desird origin Y * @param width Desired viewport width * @param height Desired viewport height */ void set_viewport(int x, int y, unsigned int width...
36918f554297ec23fc47fc1e01483c535a4b4f0c
0ac059ac0027582d3f6ff57ec81cd56480d5b804
/Source/RainbowSeven_C/GameMode/LoginGameMode.cpp
1907c58569f894ea5b977516fdb9442f2ab89322
[]
no_license
gitchg/RainbowSeven_C
b054f23dfcbef6309657f78ec23641c909c0d1fc
5570ae594292383ecd957a7efb9b754f3bea7c17
refs/heads/master
2023-07-10T16:55:50.820400
2020-04-28T02:53:51
2020-04-28T02:53:51
null
0
0
null
null
null
null
UTF-8
C++
false
false
4,512
cpp
LoginGameMode.cpp
// Author : Kgho Github : https://github.com/kgho #include "LoginGameMode.h" #include "Engine/KBEngine.h" #include "Scripts/ExCommon.h" #include "Engine/KBEvent.h" #include "Engine/KBEMain.h" #include "UI/LoginWidget.h" #include "KBEClient.h" void ALoginGameMode::InstallEvent() { Super::InstallEvent(); //创建用户入口实...
596463cd754660157b1ed341f06836204a8fb09f
355ca7072c6a9208a7b0db8e8ae69035d7d6d40c
/appendix/dump_hid_report/main.cpp
1df4271258ccbf555092d4644083c4cf8c45d478
[ "Unlicense" ]
permissive
guider/Karabiner-Elements
7c4139dd92614c2608ac3a576907033179a500e1
b3d6c3a29818b11ed113b1d3424d290777631667
refs/heads/master
2020-04-06T13:43:27.131747
2018-11-14T00:05:41
2018-11-14T00:05:41
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,927
cpp
main.cpp
#include "dispatcher_utility.hpp" #include "hid_manager.hpp" namespace { class dump_hid_report final : public pqrs::dispatcher::extra::dispatcher_client { public: dump_hid_report(const dump_hid_report&) = delete; dump_hid_report(void) : dispatcher_client() { std::vector<std::pair<krbn::hid_usage_page, krbn::h...
e288129ed8515005f38d3e2e7799106026df1985
44119e98c4e8f79e69647defc5c2400104c887ba
/D3D11Engine/Engine.h
489f986f351fe8681073e833e074e0b43f1544a3
[]
no_license
IcarusCoding/D3D11Engine
20fb598a83dfda5f4ddba0953387624380741209
c7a8f75ab8a7158e1d28c83e97eb9682878b084e
refs/heads/master
2023-06-03T14:49:03.052952
2021-06-28T00:53:18
2021-06-28T00:53:18
377,317,487
0
0
null
null
null
null
UTF-8
C++
false
false
320
h
Engine.h
#pragma once #include "Window.h" #include "FPSCounter.h" class Engine { private: Window* ptrWindow; FPSCounter frameCounter; void Tick() noexcept; public: Engine() noexcept; ~Engine() noexcept; Window* Init(const wchar_t* className) noexcept; DWORD Start() noexcept; void AllocateConsole() noexcept; };
d1f10749cabf6607a0fb70d224c8215bd08e4c9a
bc62fef73c32417ed4b71c193ab8b6ed712a73f1
/libnd4j/include/ConstMessages.cpp
f7bca1d1dfb3bfb872ad167c09c8b375262287ed
[ "Apache-2.0", "MIT", "BSD-3-Clause" ]
permissive
deeplearning4j/deeplearning4j
0a1af00abc2fe7a843b50650b72c8200364b53bf
91131d0e1e2cf37002658764df29ae5c0e1f577b
refs/heads/master
2023-08-17T08:20:54.290807
2023-07-30T10:04:23
2023-07-30T10:04:23
14,734,876
13,626
4,793
Apache-2.0
2023-09-11T06:54:25
2013-11-27T02:03:28
Java
UTF-8
C++
false
false
5,452
cpp
ConstMessages.cpp
/* ****************************************************************************** * * * This program and the accompanying materials are made available under the * terms of the Apache License, Version 2.0 which is available at * https://www.apache.org/licenses/LICENSE-2.0. * * See the NOTICE file distributed wit...
1af7a16e2c771ab1536f0b214000cabb2e027303
2a1f10ef11b1bc3326e5e7ba98d7a664901c3755
/app/script_host/src/quanta/app_script_host/types.hpp
dda3e0d229be185cf8255dd7658d5bf8e44dfc42
[ "MIT" ]
permissive
komiga/quanta
bc57c21e9dc4a9307a14e2bebf229390ead134ad
28c186d2a74dd660baccd7981836f9ef46219bf1
refs/heads/master
2020-05-21T15:17:59.704742
2020-01-24T05:29:42
2020-01-24T05:29:42
51,727,484
0
0
null
null
null
null
UTF-8
C++
false
false
459
hpp
types.hpp
#line 2 "quanta/app_script_host/types.hpp" /** @copyright MIT license; see @ref index or the accompanying LICENSE file. @file @brief app_script_host types. @ingroup app_script_host_types @defgroup app_script_host_types Types @ingroup app_script_host @details */ #pragma once #include <quanta/app_script_host/config.h...
faafcbb61b10136dd780fb5b62347cd423f08a0c
0106751477cd91074c198abc4923613486548eb6
/vs/VsContext.hpp
e39764d54edbb1fbd5aa3213f541e36b7a70a80c
[]
no_license
eriser/linAnil
2f65b8fcfb931b9ad35d0439db8199cc1643cce9
8a862d0f886f897446a8fb6f9bf1ee7dfdcadc3a
refs/heads/master
2020-05-29T12:31:42.952823
2015-08-19T08:59:46
2015-08-19T08:59:46
null
0
0
null
null
null
null
UTF-8
C++
false
false
11,768
hpp
VsContext.hpp
#pragma once // // Created by manoyuria on 2015/7/11. // #ifndef LINANIL_VSCONTEXT_HPP #define LINANIL_VSCONTEXT_HPP #endif //LINANIL_VSCONTEXT_HPP #include <stdio.h> //#ifdef NANOVG_GLEW #include <GL/glew.h> //#endif #include <GLFW/glfw3.h> #include <iostream> #include <thread> #include "nanovg/nanovg.h" #defi...
d04f2cc49c4ecdf4e30d862190a0159119e07a6b
fd5e6ea643853dacc1ff5c6ed99d1d7cd26d50fa
/memory_system.cpp
dc12c87b61745521de43d085aba9aec95e0a1567
[]
no_license
swelgan/membles
dec0a268364b1058f4b7af3110b6422d35b5a106
572e310562e080c40921658ec2639ba122faeefd
refs/heads/master
2020-05-18T06:00:43.784084
2014-06-26T05:19:03
2014-06-26T05:19:03
20,864,788
1
0
null
null
null
null
UTF-8
C++
false
false
6,126
cpp
memory_system.cpp
/* Copyright (c) 2014, Jue Wang * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * 1. Redistributions of source code must retain the above copyright notice, * this list of conditions ...
421dfee5c798ecab9ff15f3cd2e6c89af97d4876
f8303dca1b39028da22d58c4e9fd62f6f91a0cd0
/backend/c++/libs/ioc/test/container/ClassFactoryTests.cpp
0588f74a59383152a5c6865128977f5bd194f2cf
[]
no_license
m-biermann/mabiphmo
92f8adccac8cd00e27efb1adddaac9e2060e60c9
740cb8bf50a82db82448ed174335699f31f9eb5d
refs/heads/master
2022-12-12T00:59:05.998336
2020-09-06T15:42:09
2020-09-06T15:42:09
291,800,601
0
0
null
null
null
null
UTF-8
C++
false
false
3,075
cpp
ClassFactoryTests.cpp
// // Created by max on 8/14/20. // #include <mabiphmo/ioc/Container.h> #include <boost/test/unit_test.hpp> #include "structs.h" BOOST_AUTO_TEST_SUITE(container) BOOST_AUTO_TEST_SUITE(class_factory) BOOST_AUTO_TEST_CASE(registerAndGet) { mabiphmo::ioc::Container uut; uut.RegisterClassFactory<A, std::tuple<unsi...
b7a73eea707dc2c847aaafd48695fbe2a7971ab1
772d932a0e5f6849227a38cf4b154fdc21741c6b
/CPP_Joc_Windows_Android/SH_Client_Win_Cpp_Cmake/App/src/graphics/geometry/data/bufferChangesTracker/GLBCTSingleRegion.cpp
bdc8992f8eee2d822f6801973ff12fd1855ab5c9
[]
no_license
AdrianNostromo/CodeSamples
1a7b30fb6874f2059b7d03951dfe529f2464a3c0
a0307a4b896ba722dd520f49d74c0f08c0e0042c
refs/heads/main
2023-02-16T04:18:32.176006
2021-01-11T17:47:45
2021-01-11T17:47:45
328,739,437
0
0
null
null
null
null
UTF-8
C++
false
false
1,592
cpp
GLBCTSingleRegion.cpp
#include "GLBCTSingleRegion.h" #include <base/opengl/util/GLUtil.h> #include <base/list/CompositesBuffer.h> #include <base/opengl/IGL.h> #include <base/math/Math.h> using namespace graphics; GLBCTSingleRegion::GLBCTSingleRegion(CompositesBuffer* buffer) : super(buffer) { //void } void GLBCTSingleRegion::validate(G...
7e6de58913359484929159bbc78b783ef55f67a2
8402b846cd8f86034d16d72809a1483c603a9019
/LOJ/6046.cpp
83bbb628eaee897c57bff7906e67ca7c78ccd442
[]
no_license
syniox/Online_Judge_solutions
6f0f3b5603c5e621f72cb1c8952ffbcbb94e3ea6
c4265f23823e7f1c87141f5a7429b8e55e906ac6
refs/heads/master
2021-08-29T05:40:06.071468
2021-08-28T03:05:28
2021-08-28T03:05:28
136,417,266
2
3
null
2018-06-10T09:33:57
2018-06-07T03:31:17
C++
UTF-8
C++
false
false
2,713
cpp
6046.cpp
#include <iostream> #include <cstdio> #include <cstring> #include <cassert> #include <algorithm> //const int N=3e4+5; //const int S=175; const int N=1e5+5; const int S=320; int n,m,val[N],bel[N]; int b_que[S][S+5],b_len[S],b_dlt[N]; namespace utils{ template <class T> inline void apx(T &x,const T y){ x<y?x=y:0; } ...
f582d825351b9fc0dfe2cc5a2564332748cc5a92
ef2ecfbd789fc409bdc02f7637a4dee4591bc699
/Projects/04/protocols/ipv6/include/ipv6/domain/ipv6.h
ca1910e1783301ee9fb7315da6c032db7a106d88
[]
no_license
muff1nman/CSCI471
66a927f977eeb57408c79da2ddaef93503eb829d
1e530e6b16fc73b10c1dac5d7a1d46a2ecffa0e0
refs/heads/master
2021-01-23T12:11:35.447697
2013-12-07T11:49:40
2013-12-07T11:49:40
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,875
h
ipv6.h
/* * ipv6.h * Copyright (C) 2013 Andrew DeMaria (muff1nman) <ademaria@mines.edu> * * All Rights Reserved. */ #ifndef IPV6_H #define IPV6_H #include <bitset> #include "networkmuncher/util/byte/byte.h" #include "networkmuncher/util/byte/convert.h" #include "networkmuncher/util/logging.h" #include "networkmuncher/d...
e7c62013903a41303918377e3ad7d1c64ee38337
18cc5605600f9fe69e0b994156259c606128ac8a
/src/listgame.cpp
19007855ce34829c8c950594e2e7bb889cc8c0f3
[]
no_license
sam-hunt/open-kattis
2583ebdc61ec467c418c17f0fb7250fa99b2624f
f9c8ad5c27b709554c0328053210b661bde5fe16
refs/heads/master
2021-03-22T05:11:39.800389
2017-03-22T11:24:27
2017-03-22T11:24:27
73,696,194
0
0
null
null
null
null
UTF-8
C++
false
false
624
cpp
listgame.cpp
#include <iostream> #include <math.h> using namespace std; int main() { unsigned long long X = 0; scanf("%llu", &X); unsigned int prime_factors = 0; unsigned long long divisor = 3; unsigned long long Xsqrt = ceil(sqrt(X)); while (!(X % 2)) { X /= 2; prime_factors++; //printf("2 "); ...
9ceb9cbfa0845e5b1c93b11a660d5da6a7d1ab48
95fdb141b16815d46f4549702fdaba91a44b0d5e
/contest/Topic 4/0316211-4-B.cpp
c705b9619d9ebb2e633b583c61aef0306088f643
[]
no_license
leo0049l/Programming-contest
fb356fcb68294ff6cd95c63a8e25562cd1019943
71e2b2441fc80fbb554e64004d20a04a74b33bdf
refs/heads/master
2021-07-07T00:07:46.821471
2017-10-03T07:38:28
2017-10-03T07:38:28
105,625,690
0
0
null
null
null
null
UTF-8
C++
false
false
642
cpp
0316211-4-B.cpp
#include <iostream> #include <cstdio> using namespace std; int main() { int size; cin>>size; int ans; int answer=-9999999; int array[size][size]; int sum[size][size]; for(int i=0;i<size;i++) { for(int j=0;j<size;j++) { sum[i][j]=0; scanf("%d",&array[i][j]); if(i>0) sum[i][j]+=(array[i][j]+sum[i-1][...
29e9b66cc276d90097d195d1433c48be02f0f378
86a6a4f978fdf44351390513814d4f6715faa2c8
/HMM/viterbi/viterbi/main.cpp
dd01b1c9087f034c12b91023a6b0f45cda428ad8
[]
no_license
irismanchen/Chinese_parser
19d7e2fab18661a788e8ec7c7d8f57181bc37609
46ce0c90f2cbfda152204af6f4fcceb1eb9afc82
refs/heads/master
2021-01-10T10:20:48.340855
2016-03-22T14:00:16
2016-03-22T14:00:16
54,479,540
0
1
null
null
null
null
UTF-8
C++
false
false
16,446
cpp
main.cpp
// // main.cpp // viterbi // // Created by 王曼晨 on 15/12/19. // Copyright © 2015年 王曼晨. All rights reserved. // #include <iostream> #include <fstream> #include <sstream> #include <map> #include <vector> #include <stack> #include <iomanip> using namespace std; const int N = 4; const int M = 4577; class DB { private: ...
5dbd733edec50581b03a7af502fb96d49d4e388e
13a610314057a810a61e2a679dc88570f1214803
/src/LedPack/bassFilterShow.cpp
62669f1bb6d64e498a34c33e9a9b4417fd990443
[ "MIT" ]
permissive
Robert1991/LedPack
9ecfcc8772deda72d768edd013855687b40d7fbf
df0737120f82b83d3eeda5ca23981af161dd3113
refs/heads/master
2022-12-13T17:14:54.402702
2020-09-27T14:06:28
2020-09-27T14:06:28
255,381,579
0
0
null
null
null
null
UTF-8
C++
false
false
569
cpp
bassFilterShow.cpp
#include "bassfilterShow.h" BassFilterShow::BassFilterShow(LedHeart *ledHeart, LowPassSampler *lowPassSampler, int lowPassFilterSamples = 25) { this->ledHeart = ledHeart; this->lowPassSampler = lowPassSampler; this->lowPassFilterSamples = lowPassFilterSamples; } void BassFilterShow::executeIteration(int changeL...
64d6ed380d6c34e99868e6cde7c9c2c9d0230221
2160fd4cc5cb24bb8427ec78ef9b2d3a9549c2c5
/include/cyng/sys/filesystem.h
89e91fad7c3a686c993eabe2a9950d4bce99dc22
[ "MIT" ]
permissive
solosTec/cyng
7e698487ef57f050fc2b3e287aa79463b2debc9f
a55fc9a7566254cb8e60a51b9884b40f19f866b9
refs/heads/master
2023-07-25T11:49:07.089159
2022-10-21T15:17:13
2022-10-21T15:17:13
115,027,279
0
2
MIT
2022-10-21T15:17:14
2017-12-21T16:46:54
C++
UTF-8
C++
false
false
415
h
filesystem.h
/* * The MIT License (MIT) * * Copyright (c) 2021 Sylko Olzscher * */ #ifndef CYNG_SYS_FILESYSTEM_H #define CYNG_SYS_FILESYSTEM_H #include <filesystem> #include <chrono> namespace cyng { namespace sys { /** * To get the last write time is currently a mess with the STL. * Waiting for C++20 */ std:...
a7963fc4ed1888b664f25af7c4dd5950855a3cfa
7c83c576b29c5b5d37124bc940eba482c97d6836
/projects/dump/rf95_router_server/rf95_router_server.ino
6dc869b628b239818cc6bc04eb75467f9b7d1703
[]
no_license
royyandzakiy/LoRa-RHMesh
37a7f2153d0a91f41c7127ea46ec6f36b531bd07
5df9a9417af1acb4271237d86b30a2389c2f6d86
refs/heads/master
2023-07-31T10:24:47.655431
2023-07-17T16:42:24
2023-07-17T16:42:24
250,162,352
5
6
null
null
null
null
UTF-8
C++
false
false
2,462
ino
rf95_router_server.ino
// rf95_router_client.pde // -*- mode: C++ -*- // Example sketch showing how to create a simple addressed, routed reliable messaging client // with the RHRouter class. // It is designed to work with the other examples rf95_router_server* #include <RHRouter.h> #include <RH_RF95.h> #include <SPI.h> // In this small art...
b04de4843221151450b5331d73388503b4b2545c
a909df0ba2abf695df4a7d15350312d4c6463c48
/UVa/10446.cpp
257f00b2e265b42bc0623880e0085cebe4c68dca
[]
no_license
SayaUrobuchi/uvachan
1dadd767a96bb02c7e9449c48e463847480e98ec
c213f5f3dcfc72376913a21f9abe72988a8127a1
refs/heads/master
2023-07-23T03:59:50.638063
2023-07-16T04:31:23
2023-07-16T04:31:23
94,064,326
0
0
null
null
null
null
UTF-8
C++
false
false
523
cpp
10446.cpp
#include <stdio.h> #include <string.h> unsigned long long dp[61][61]; char chk[61][61]; unsigned long long trib(int n, int m) { int i; if(n < 2) { return 1; } if(chk[n][m]) { return dp[n][m]; } dp[n][m] = chk[n][m] = 1; for(i=1; i<=m; i++) { dp[n][m] += trib(n-i, m); } return dp[n][m]; } int main()...
db4434dc41bd8cdd5c8aadb24abac994b221f055
4ffb20c0822d16cbaeafe65815a5d21cbfb747a0
/src/cpp/v7_cache_reuse/step.cpp
095c2c27e4f8d4f38ccf30811298d46bb6f89718
[ "MIT" ]
permissive
WallyMirrors/parallel-rust-shortcut-comparison
dd2eaa4b715c0a5a6bcbf02971ea7f13e9cf92e0
d676483ef3f9e2fae6f975417bee7d7f5a3ea044
refs/heads/master
2023-03-19T13:31:03.500428
2020-03-23T15:04:09
2020-03-23T15:04:09
null
0
0
null
null
null
null
UTF-8
C++
false
false
4,437
cpp
step.cpp
/* * From http://ppc.cs.aalto.fi/ch2/v7/ */ #include <algorithm> #if !NO_MULTI_THREAD #include <parallel/algorithm> #endif #include <vector> #include <tuple> #include "step.hpp" #include "simd.hpp" void step(float* r, const float* d_, int n) { constexpr int cols_per_stripe = 500; int na = (n + 8 - 1) / 8; ...
23326eb2a8c2576b36cb9c96250ac9351769e783
e511e2cc83b3050f95d0a7c66098e49bb730c1cc
/base/gfunc.cc
41443ce324ae21d988dda9ccab41e7325419a24d
[]
no_license
masteranza/qprop
15b8ef400d0c9695beb73fed57b332dcb898cd0c
0bfa29fb18446d124e8a0e5376d497cd911d4d0e
refs/heads/master
2023-06-01T21:36:39.197024
2021-06-17T08:44:38
2021-06-17T08:44:38
331,671,250
0
0
null
null
null
null
UTF-8
C++
false
false
4,242
cc
gfunc.cc
#include <gfunc.h> void gfunc(wavefunction &psi_at_RI, wavefunction &d_psi_dr_at_RI, double energy, wavefunction staticpot, fluid V_ee_0, double nuclear_charge, grid g, wavefunction wf, double R_surff) { long ell, i, m_index, m_limit, index, lmindex; const long dimens = g.dimens(); const long rg...
0ffcdf11e30cc547a67bde12d39669eb56ebb692
6913518fb95063b60829bd2854619cfbee27a724
/Problem_Solving_Paradigms/Complete_Search/Iterative (One Loop, Linear Scan)/ecological_bin_packing.cpp
58e63f902aae847b6a65fd48b0bdd70d2089d7c8
[]
no_license
sachinlomte2008/uva
44b75a2c64fbbca67350901b91fbcfa84c559615
bd0e28840b9cdc56ce346001e894c1d9bdd86864
refs/heads/master
2022-06-16T11:58:03.921025
2022-05-25T07:36:56
2022-05-25T07:36:56
97,311,004
0
0
null
null
null
null
UTF-8
C++
false
false
810
cpp
ecological_bin_packing.cpp
//https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=640&page=show_problem&problem=38 #include <bits/stdc++.h> using namespace std; int main(){ int b1,g1,c1,b2,g2,c2,b3,g3,c3,a[6],min; // while(scanf("%d%d%d%d%d%d%d%d%d",&b1,&g1,&c1,&b2,&g2,&c2,&b3,&g3,&c3)){ while(cin>>b1>>g1>>c1>>b2>>g2...
f0ec6e3dcf6311e3920b75c5977f5adbf441fb95
be2d2e1934c0ef07f8bd4e0f4aec3d5d5d109dd3
/src/fix_qbias.cpp
7a97f37ada9179c5d230cebb866f0c7f36a3932d
[ "MIT" ]
permissive
luwei0917/GlpG_Nature_Communication
b4064b3feec8c99dbc28c97dac5267d598e34347
a7f4f8b526e633b158dc606050e8993d70734943
refs/heads/master
2020-04-01T02:42:27.788338
2018-10-12T18:29:17
2018-10-12T18:29:17
152,791,497
1
0
null
null
null
null
UTF-8
C++
false
false
14,638
cpp
fix_qbias.cpp
/* ---------------------------------------------------------------------- Copyright (2010) Aram Davtyan and Garegin Papoian Papoian's Group, University of Maryland at Collage Park http://papoian.chem.umd.edu/ Last Update: 12/01/2010 ------------------------------------------------------------------------- */ ...
afbe303bf8150ae2a8ac6a3bf5d260575e08c70b
4c48713719116ebe8c33ed0262aeaf770e8e6736
/Εργασία2/final/9378_9380_PartB/Player.h
24921ff98531abe0be88d77de2cef68432f5f7d5
[]
no_license
Skapis9999/Object-oriented-programming-course
7da03f36ba7dee558a75e29ebeb394290b397a5b
0f347384d9c14ed93beacc8892d708b17b525942
refs/heads/main
2023-01-27T15:11:33.543539
2020-12-09T11:48:54
2020-12-09T11:48:54
319,938,493
0
0
null
null
null
null
UTF-8
C++
false
false
3,695
h
Player.h
/* Μέρος Εργασίας των: Ηλία Κωφοκώτσιου 9380 ikofokots@ece.auth.gr Σκαπέτη Χρήστου 9378 skapetis@ece.auth.gr */ #ifndef PLAYER_H_INCLUDED #define PLAYER_H_INCLUDED #include <string> using namespace std; // Κλάση που καλύπτει τις ανάγκες των παικτών. Οι μεταβλητές της κλάσης αυτή...
ce091d9a0654d1885769bb3afb2869fb401acd01
5cab06ca45252790696e2b263c28cd3af9b4dc81
/VersionInfoDlg.cpp
db7f3644e82e7d2845c1cc21e13259a79423115b
[]
no_license
Gucchiy/PicStand2.00
d91d412949cef06566ea2a923aa66b279fa07659
a59b2bea0a0cef4c837c8e96522faf71bc3d4f11
refs/heads/master
2021-01-12T13:15:39.981694
2016-10-28T02:32:57
2016-10-28T02:32:57
72,166,683
0
0
null
null
null
null
SHIFT_JIS
C++
false
false
1,239
cpp
VersionInfoDlg.cpp
// VersionInfoDlg.cpp : インプリメンテーション ファイル // #include "stdafx.h" #include "picstand.h" #include "VersionInfoDlg.h" #ifdef _DEBUG #define new DEBUG_NEW #undef THIS_FILE static char THIS_FILE[] = __FILE__; #endif ///////////////////////////////////////////////////////////////////////////// // CVersionInfoDlg ダイアログ CV...
35467bb15b95141d9e8634235afe46924a22b753
587cdded2d93f1bae729ab1bb912378fc9b03cac
/fun_test.cpp
0381bfa19e82875cae1657dc2c67d02d82f3455c
[]
no_license
ZychDev/Zak_Io_Project
d8460fcfd4dd09fcbe9d8d610a62b4e8a8e8af29
469d149bc395f05c1ab4edd8760052878e49628f
refs/heads/master
2023-05-09T00:24:49.288290
2021-01-27T19:02:56
2021-01-27T19:02:56
304,053,468
1
1
null
null
null
null
UTF-8
C++
false
false
1,712
cpp
fun_test.cpp
#include<iostream> #include<vector> #include<map> #include<list> #include<string> #include<gtest/gtest.h> #include "search_func_nam.cpp" #include "listing.cpp" std::map<std::string, double> listing(std::string sciezka); std::map<std::string, std::vector<std::string>> wyszukiwanie2(std::map<std::string, double> pliki);...
f172ee8da99fb340f08e853c306a13b8f7feb629
7092fbff65f11dc2da7e6a0c1ea5e189eb6ad147
/readerswriters.cpp
90611d9bef80da636e44c88ee5034b7f7385aa28
[]
no_license
singalkunal/sem4-OS
66339831e75fb190f37dd59196bcf7b0734c5094
840bd230d060e6ce181cc53c1b281d2b9f5d4c65
refs/heads/master
2022-09-15T12:40:25.642645
2020-05-31T21:47:31
2020-05-31T21:47:31
268,369,493
0
0
null
null
null
null
UTF-8
C++
false
false
1,367
cpp
readerswriters.cpp
#include <iostream> using namespace std; #include<stdio.h> #include<pthread.h> #include<semaphore.h> #include <unistd.h> #include <time.h> #include<cmath> sem_t mutex, wrt; int readcount; int data; void* reader(void*){ sem_wait(&mutex); //lock readcount readcount++; if(readcount == 1) //first reader (cu...
495948e3e2dcae69a5515f893b3eb7dd211949cd
5b9add05f5630207728aa9fa92df40d0f624188c
/Castleforce/Source/Castleforce/Castleforce.cpp
5863609db55eb5643f90bd480798e02c50d4a69d
[]
no_license
rh27un/castleforce
ff6bdb2f3719bee2e3d23b8c12084fa0f1ef5ad2
a1f70316e3876bfe2812f720fff4969ce83a1f3f
refs/heads/master
2021-10-26T10:55:05.166505
2019-02-08T13:33:25
2019-02-08T13:33:25
168,685,731
0
0
null
null
null
null
UTF-8
C++
false
false
212
cpp
Castleforce.cpp
// Copyright 1998-2018 Epic Games, Inc. All Rights Reserved. #include "Castleforce.h" #include "Modules/ModuleManager.h" IMPLEMENT_PRIMARY_GAME_MODULE(FDefaultGameModuleImpl, Castleforce, "Castleforce");
ed505df0c55f0fda1f9013303137b474ed547a36
f588635240479cb0411e1514e006dfccc2002d2e
/Classes/common/CommonMacros.hpp
420df8e052201117bd649f6a2631bf63ae82f07e
[]
no_license
youssefmyh/ThreadPoolcommandObserver
fe9459063bf73d7b0e10f4fcb5a358cf5c6af004
0aaeafd4713d7a82811222e7595812bfe188cd14
refs/heads/master
2023-02-27T12:54:37.712225
2021-02-09T10:26:05
2021-02-09T10:26:05
253,470,981
3
2
null
2020-09-13T10:55:18
2020-04-06T10:58:53
C++
UTF-8
C++
false
false
1,004
hpp
CommonMacros.hpp
// // CommonMacros.hpp // myGame // // Created by Youssef Hanna on 9/17/19. // #ifndef CommonMacros_hpp #define CommonMacros_hpp #include <stdio.h> /* Create A Macro to generate a getter and setter */ #define CREATE_SYNTHESIS_RETAIN_GENERAL(varType, varName, funName,protecion) \ private: varType varName; \ pr...
69abc19a95a17afc44d5487d255f8f7d76d6fd2d
843ff84bebaf929c1ac03c7e96c17b535c3952f8
/shader/simpleshadowshader.h
202afcc70659fc33ff258874d27eedb697e13b52
[ "MIT" ]
permissive
navythenerd/raytracer
f65fbc24aa0ebdb52914b64febaa7ebd795e8bfc
8f26466d64e1d07aad5a1a63d04da425f38e151b
refs/heads/master
2023-06-20T04:48:51.607044
2017-10-04T22:02:22
2017-10-04T22:02:22
null
0
0
null
null
null
null
UTF-8
C++
false
false
310
h
simpleshadowshader.h
#ifndef SIMPLESHADOWSHADER_H #define SIMPLESHADOWSHADER_H #include "shader/shader.h" class SimpleShadowShader : public Shader { public: // Constructor SimpleShadowShader(Color const& objectColor); // Shader functions virtual Color shade(Ray * ray) const; private: Color objectColor; }; #endif
895f5d03c0bc4cfe9eb69f4d1e3e1d9825b112ff
07effd83737bf8a5576b6e57b85e2ad8d47017da
/include/libexample/libexample.h
a1a7160093f2fd6c8e48891b823ae911c1909faf
[ "MIT" ]
permissive
kuntalghosh/cpp-basic-libs
e1a7cff3480dc8f7ca4472b30005c0f5360579d2
fbd0eef8fdc86dfab1f8b3d7d3e3fbb77e27388d
refs/heads/master
2022-06-06T22:11:15.026731
2020-04-29T09:17:41
2020-05-01T15:24:47
260,487,163
0
0
null
null
null
null
UTF-8
C++
false
false
238
h
libexample.h
#pragma once /* This is a simple library interface. */ namespace PROJECT_NAMESPACE { template <typename T> class MyClass { T a; public: void initialize(T a_val) { a = a_val; } T get_initialized_value() { return a; } }; }
5b835e5121f66d12fc13ab9ed3bc9119b26b77b4
113854f799ea342b2b2986d40256c9164b5759b4
/E.设计模式/13.组合模式/C++/Component.h
f011fff88652f0a5eb0e95156905fd058ed12ee3
[ "Apache-2.0" ]
permissive
isshe/coding-life
5710ad135bf91ab9c6caf2f29a91215f03bba120
f93ecaee587474446d51a0be6bce54176292fd97
refs/heads/master
2023-08-31T20:43:23.967162
2023-08-30T22:00:02
2023-08-30T22:00:02
147,092,799
8
0
null
null
null
null
UTF-8
C++
false
false
159
h
Component.h
#ifndef _COMPONENT_H_ #define _COMPONENT_H_ class Component { public: virtual void add(Component *component) = 0; virtual void print() = 0; }; #endif
cc5ab686927266e73655ea2b6d7ef424a605e1e5
8247c3aaf5ea08ffd9be526988f9420bdba7bfb5
/1759_solveThecipher_again/1759_Solve_The_Cipher_functions.cpp
9bced90a92dc397d67f2e9792a074d3d347dd9be
[]
no_license
BlueWhale1017/BAEKJOONALGORITHM
b26db1776efec5f02299d65ff5e3f1deed5318a9
0f2364057afae9bd620203e515727f052aec1492
refs/heads/master
2023-09-05T10:28:14.564338
2021-11-19T18:02:24
2021-11-19T18:02:24
290,677,328
0
0
null
null
null
null
UHC
C++
false
false
972
cpp
1759_Solve_The_Cipher_functions.cpp
#include "1759_Solve_The_Cipher.h" void Input() { cin >> L >> C; //C는 문자 종류의 개수, L은 단어의 총 길이. for (int i = 0; i < C; i++) { char x = 0; cin >> x; words.push_back(x); check.push_back(1); } } void Cipher() { do { string s = ""; for (int i = 0; i < C; i++) { if (check[i] == 0) { ...
2dd3e2ee912bbae2f5d353007a4bd5eb052d31f5
a212bf19c79c4b7f89cca9388cf6809b081f3ebc
/js_transcriptor.cpp
04d1a92207e5b0b24783e3d71cfd95486ef144e5
[]
no_license
r0ller/alice
96df1358f2d9ed819c6b66a25348b4f07d186fc4
43896ee0893a37b68fcce12af9340c2cc9331d7b
refs/heads/master
2023-07-26T05:35:24.460082
2023-06-06T15:58:57
2023-06-06T15:58:57
1,894,416
8
1
null
2023-09-14T09:08:58
2011-06-14T13:33:31
C++
UTF-8
C++
false
false
4,834
cpp
js_transcriptor.cpp
#include "js_transcriptor.h" js_transcriptor::js_transcriptor(const char *analyses):transcriptor(analyses){ } js_transcriptor::~js_transcriptor(){ logger::singleton()==NULL?(void)0:logger::singleton()->log(3,"destructing js transcriptor"); } std::string js_transcriptor::args_to_jsfun_arglist(std::vector<std::st...
428fff910d004764cdd0375ae74dd791fc79b514
1e6726c14ac01a0f01cde2c714157a377c9393d1
/lidar-esp/src/controller/network/OscController.h
80f8b73eb6d33297f0c2c837920753f5fdf06bb7
[ "MIT" ]
permissive
cansik/sweep-3d-lidar
b858aebd2fd10e92deee642cbaacb6bd1ffbb8c4
38434908c32a6835aae419e08f447fb090debc76
refs/heads/master
2021-07-17T07:14:55.373690
2018-11-04T22:25:36
2018-11-04T22:25:36
133,274,213
6
1
null
2018-08-15T11:45:48
2018-05-13T21:04:08
C#
UTF-8
C++
false
false
1,075
h
OscController.h
// // Created by Florian on 27.11.17. // #ifndef SILVA_OSCCONTROLLER_H #define SILVA_OSCCONTROLLER_H #include <controller/BaseController.h> #include <cstdint> #include <IPAddress.h> #include <OSCMessage.h> #include <WiFiUdp.h> // exclude min and max #undef max #undef min #include <functional> #define CHAR_BUFFER_...
f0bac64ed86da23ca0b46b05f0731ddf91340e65
51635c1a1135b979b47e4fc35fdf2b5421192d96
/lava/framework/core/graphicspipeline.cpp
5eb344feda2e4e4ee4780ee5e3c257a8f4eebb28
[ "LicenseRef-scancode-public-domain", "LicenseRef-scancode-unknown-license-reference", "MIT" ]
permissive
BalderOdinson/LavaVk
4b980166f44945e62b0f401d4da8e8ce94cf316a
f3241e1077bbfc8bbf14267d35e9c72272fceefa
refs/heads/master
2020-12-15T16:50:08.354426
2020-01-24T05:09:57
2020-01-24T05:09:57
235,183,993
0
0
null
null
null
null
UTF-8
C++
false
false
8,400
cpp
graphicspipeline.cpp
// // Created by dorian on 13. 12. 2019.. // #include "graphicspipeline.h" #include "options/pipelineoptions.h" LavaVk::Core::GraphicsPipeline::GraphicsPipeline(LavaVk::InjectionContext &context) : Pipeline(context) { auto options = context.container.option<PipelineOptions>(context); std::vector<ShaderModule...
5a80613d7e665054ced3929485d7b945a9f973bc
b94a823ad86403049f7e36897b3f6602446ecac6
/Algorithm/2020/weekly_vitaalgo/mon_04/0403_01.cpp
1c52f8083c1a4391c53539af9ef922cfb52c0567
[]
no_license
sos0911/PS_Cpluslplus
2807880e82942e8ad1971fb8ce2bbd940845fb15
c4ba30ef5112f2fb4369183dc263aec560949f8e
refs/heads/master
2021-07-17T14:38:01.320237
2021-07-15T15:44:18
2021-07-15T15:44:18
240,442,891
1
0
null
null
null
null
UHC
C++
false
false
1,122
cpp
0403_01.cpp
// string을 쓰는 일반 문제풀이용 템플릿 #include <bits/stdc++.h> using namespace std; int main() { cin.tie(NULL); ios_base::sync_with_stdio(false); string input; cin >> input; int len = input.size(); int n; cin >> n; // dp[i][j] : 길이가 i고 중심점이 j일때 이게 회문인가? // 길이가 짝수, 홀수일때 구분 bool dp[1001][1001] = { false, }; // 길이 1,2 pre...
ffc6c2e060834f88a6dfcfea0fb5a2163f860cfe
52d9fea5825f0f9211f85d7caecbe7ef151bdf78
/include/defence.h
a8efbc1c365f5f892060dacd9430e966cf10939a
[]
no_license
Lapulatos/Intercept-Simulation
3b8857c6147d504b828807cc09d6454b14bcc335
ca03eb8c16708855328a4e08717e9f526662c3c4
refs/heads/master
2021-05-13T21:32:33.199403
2018-02-26T02:25:58
2018-02-26T02:25:58
116,464,867
0
0
null
null
null
null
UTF-8
C++
false
false
3,463
h
defence.h
#ifndef DEFENCE_INCLUDED #define DEFENCE_INCLUDED #include "miliobj.h" #include "target.h" #include "bomber.h" #include "missile.h" namespace Simu { //////////////////////////////////// // 防守方的定义 //////////////////////////////////// // 前向声明导弹类 class Missile; typedef std::shared_ptr<Simu::Missile...
15e8e2b2627c9bd9e4f919be70442da108cf454a
9e009ec7d7e2cfc7e2ce264a2fd7689463bab017
/模板数组类.cpp
469596bdf583b46ae70b5f7c4b47de37b6fe52d9
[]
no_license
yuu1031/nione
d90a8e474d520645a9655a8ae461b33a08e0be33
419be3fd6b15eb727a32cd5d6ca68f4cf8852873
refs/heads/master
2021-07-16T11:30:58.782833
2021-03-09T06:29:01
2021-03-09T06:29:01
240,189,100
0
0
null
null
null
null
UTF-8
C++
false
false
2,661
cpp
模板数组类.cpp
#include <iostream> #include <vector> using namespace std; template <typename T> /*封装一个模板数组类Array,支持以下操作: 1. 构造函数Array(int n),将数组初始化为n个存储空间,建议使用vector; 2. 函数input(int n),使用插入运算符<<读取数据,最多读取n个元素,但不能超过数组存储空间的上限; 3. 重载下标运算符,返回数组的元素。*/ class Array { //请完成类的设计 public: vector<T> arr; Array(int n) { } ...
0da7a50ee108ca206c82e7eca782b75a09e97625
68a54c8ff6b3ecf041116576e323ffad80f2b24a
/MainWindow.cpp
a16ca975f9a2115b3009dfcdceb15189398405cd
[]
no_license
8Observer8/OpenAndSaveJsonFileByDialog
3647fb11b8bc7ff0f95ed6a76c661ebd1c8edcee
e55990d502c3f29386c8e4e5ec607c9a0d9d0be7
refs/heads/master
2020-06-04T11:15:42.659471
2014-10-20T17:02:09
2014-10-20T17:02:09
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,418
cpp
MainWindow.cpp
#include <QString> #include <QFileDialog> #include <QJsonObject> #include <QJsonDocument> #include <QFile> #include <QMessageBox> #include <QByteArray> #include <QDebug> #include "MainWindow.h" #include "ui_MainWindow.h" MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent), ui(new Ui::MainWindow) { ...
581187ad102ba624e764ebd6b323b38d7dcb114d
90e9208bfab6c1b9a6095066f723123ee35284f6
/UI/UIOperationalControlPanel.cpp
d14f2f0bc06409d100ef4e5f8b8800975d1bacec
[]
no_license
hvictor/Release
58cc832618fa777e87bbb8d79d5e8f6f4743910f
46655174cee9a357b7cc0b6b49ab51afd906d432
refs/heads/master
2020-12-12T07:00:36.358723
2016-08-08T06:17:10
2016-08-08T06:17:10
51,407,400
0
0
null
null
null
null
UTF-8
C++
false
false
337
cpp
UIOperationalControlPanel.cpp
/* * UIOperationalControlPanel.cpp * * Created on: Feb 13, 2016 * Author: sled */ #include "UIOperationalControlPanel.h" UIOperationalControlPanel::UIOperationalControlPanel() { // TODO Auto-generated constructor stub } UIOperationalControlPanel::~UIOperationalControlPanel() { // TODO Auto-generated de...
1754bd51d3a6c54aab033da0eb5aaeb1577e90e7
524efe3384ccba12f5849786e54de92740c4c0c2
/string.cpp
e1282e3bb306467e6b0f280d366d6a96f66ccf37
[]
no_license
mismail85/IndexedTable
1de174b7cd9db4ab7df3497a06788c8c2f123a1e
f250b95b66f9133ae13214ec98059246c71d7942
refs/heads/master
2021-01-19T05:43:17.167082
2014-11-06T17:22:45
2014-11-06T17:22:45
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,018
cpp
string.cpp
#include "string.h" #include <algorithm> #include <functional> #include <cctype> #include <locale> String::String() { } String::String(string &str) { this->assign(str); } /** * @brief split * @param tokens * @param text * @param sep * Splits an string (text)into tokens using a separator */ void String::sp...
7232cc08fdc083933db9476811dbbc44f603c70e
95b8ce7f08a5eb103fa74afd3cd32b53f9885db6
/types.cpp
2ebd5ed56170fed816e95eaab1badbcf08e19bae
[]
no_license
guyKN/Chess
a10c42150be797341518f680b2a05fe579a0639f
af131736a37180b0dfa321950c243d227157203b
refs/heads/main
2023-01-31T15:30:52.503473
2020-12-13T20:41:43
2020-12-13T20:41:43
321,156,072
0
0
null
null
null
null
UTF-8
C++
false
false
2,672
cpp
types.cpp
//#pragma clang diagnostic push // // Created by guykn on 12/7/2020. // #include <iostream> #include "types.h" # include <cassert> using namespace Chess; namespace Chess { std::ostream &printBitboard(Bitboard bitboard, std::ostream &os) { SquareMask squareMask = SQUARE_MASK_FIRST; os << "\n"; ...
112d328cccc9e1164ef9f5ee32125ad462564f5c
6ab9a3229719f457e4883f8b9c5f1d4c7b349362
/lib/geometry.cpp
ca8481d1909d2a48e1285fe00238dd6d491e9457
[]
no_license
ajmarin/coding
77c91ee760b3af34db7c45c64f90b23f6f5def16
8af901372ade9d3d913f69b1532df36fc9461603
refs/heads/master
2022-01-26T09:54:38.068385
2022-01-09T11:26:30
2022-01-09T11:26:30
2,166,262
33
15
null
null
null
null
UTF-8
C++
false
false
2,545
cpp
geometry.cpp
#include <cassert> #include <cmath> #include <cstdio> template <class _T> bool cmp(_T a, _T b){ return (a > b) - (a < b); } template <class _T> struct point { _T x, y; point(_T _x = 0, _T _y = 0): x(_x), y(_y) {} _T dot(const point p){ return x * p.x + y * p.y; } _T cross(const point p){ return x * p.y - y * p.x; ...
7e48e0071d629c0c3fc4c2c81aef2923060ce5d9
4c25432a6d82aaebd82fd48e927317b15a6bf6ab
/data/dataset_2017/dataset_2017_8_formatted/jddantes/8294486_5681755159789568_jddantes.cpp
0443a75d77099e09cad3a59f30e404700548cc10
[]
no_license
wzj1988tv/code-imitator
dca9fb7c2e7559007e5dbadbbc0d0f2deeb52933
07a461d43e5c440931b6519c8a3f62e771da2fc2
refs/heads/master
2020-12-09T05:33:21.473300
2020-01-09T15:29:24
2020-01-09T15:29:24
231,937,335
1
0
null
2020-01-05T15:28:38
2020-01-05T15:28:37
null
UTF-8
C++
false
false
1,637
cpp
8294486_5681755159789568_jddantes.cpp
#include <bits/stdc++.h> using namespace std; typedef long long ll; typedef tuple<int, int, ll> t3; #define INF (1e200) int N; int input[100][100]; int input_spd[100]; int input_rem[100]; map<t3, double> memo; double f(int index, int spd, ll rem) { if (index == N - 1) { return 0; } t3 state(index, sp...
2d6883c7798dfbf1cda4148262528307ad63b95c
1d75146a66245dc046dc216bb602129208e00733
/closed/Intel/code/bert-99/pytorch-cpu/mlperf_plugins/csrc/i_softmax_tpp.cpp
ddaa14c4187946de778f1752f7812fa5162a111e
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
georgelyuan/inference_results_v1.1
febf287bd5967bf7f087355a81f06a2bd298cbfe
3196a5587887c39203ee3ac246fa5dbe789d9085
refs/heads/main
2023-08-16T08:49:45.274284
2021-09-23T20:57:17
2021-09-23T20:57:17
409,773,141
0
0
NOASSERTION
2021-09-23T23:36:37
2021-09-23T23:36:37
null
UTF-8
C++
false
false
22,521
cpp
i_softmax_tpp.cpp
#include <cstdint> #include <immintrin.h> #include "i_softmax_tpp.hpp" #include "el_common_intrin.hpp" namespace intel_mlperf { static inline __m256 snd_order_poly_exp( __m256 z, __m256 f, const float c[]) { const auto c0 = _mm256_set1_ps(c[0]); const auto c1 = _mm256_set1_ps(c[1]); const auto c2 = _mm256_s...
8fc3ce719a5a4562a8d6bbf787628c23f7feaeec
69c9db81c9d4e8a491ce2051548263872dedbd1e
/SynchiveMonitor/SynchiveMonitor/WinTaskScheduler.cpp
e9da96d262ed91890ac9224b5f3c282da2725fcb
[]
no_license
tonyhsu17/SynchiveMonitor
cffea581f8024785f0ec66249137e7a1b1bc5086
d018c8dda34879d1088f303e383831827f871ebc
refs/heads/master
2021-01-17T17:17:34.217846
2017-01-08T22:32:21
2017-01-08T22:32:21
61,244,685
1
0
null
2016-12-24T08:13:25
2016-06-15T22:15:02
C++
UTF-8
C++
false
false
2,115
cpp
WinTaskScheduler.cpp
#include "stdafx.h" #include "WinTaskScheduler.h" String^ WinTaskScheduler::createOnLogonTask() { if(checkVersion() > 0) { return ""; } String^ filePath = kStoragePath + kFileName; String^ args = "/create /tn " + kEventSchTskName + " /tr \"" + (filePath + " " + kStartAllKeyword) + "\" /sc onlogon /f"; retur...
5fb69edb1f37813628607674e79a18209cd06e0b
7a00cb00c5bd71299a4507616b0251c0dc5a0c54
/Mrowka/Komorka.cpp
12a6802b5dd4481b0065f5ae215cc1f4a6b15476
[]
no_license
Kacp3r3/JZO_Langton
0de6d8d25114c78940886e63f701d8d4c424bdb2
dd831883152935aa0a856988577ffb6d4672eea5
refs/heads/master
2020-05-30T05:23:56.997484
2019-05-31T08:37:13
2019-05-31T08:37:13
189,558,951
0
0
null
null
null
null
UTF-8
C++
false
false
153
cpp
Komorka.cpp
#include "Komorka.h" Komorka::Komorka() { } Komorka::Komorka(size_t x, size_t y, Color cl) { _x = x; _y = y; c = cl; } Komorka::~Komorka() { }
6a728d371913934f57c2e6abf403c1afb57c73d7
42df5c6064fd34c85852a98e821d06b9f4bb61af
/BasicPlatformer/TitleScreen.cpp
98c712fb3d11ae1e76ecc14e98d3255938dfe9bf
[ "Unlicense", "LicenseRef-scancode-public-domain" ]
permissive
luksamuk/BasicPlatformer
a8761903526baeac21283349917060bf3f52b60d
a476e2fbe7d2ec016d377a647ea90cf27145cec4
refs/heads/master
2023-04-16T18:14:59.456126
2023-04-16T15:33:30
2023-04-16T15:33:30
57,168,827
3
0
null
null
null
null
UTF-8
C++
false
false
8,409
cpp
TitleScreen.cpp
#include "TitleScreen.hpp" #include "LevelSelectScreen.hpp" #include "LevelScreen.hpp" #include "OptionsScreen.hpp" #include <OficinaFramework/InputSystem.hpp> using namespace OficinaFramework; TitleScreen::TitleScreen() { SetActive(true); SetVisible(true); } void TitleScreen::Initialize() { m_fadetimer = 0; m_wh...
6804d7185027da2f1447f227f238b20330267118
8582495b78eaeb694c921e8453c07bfe6714838c
/HTTPServer/HTTPServer.cpp
ae3e366755a0bffb428aee849763c27fd4998b38
[]
no_license
phamkhacquang/HTTPServer
2a842e1d6e0802dbd2023fba0188167e054c3f10
8ba1e01b441392262aed4411f11a49082ee8e598
refs/heads/master
2021-01-01T03:40:44.008848
2016-05-13T03:29:55
2016-05-13T03:29:55
58,187,368
0
0
null
null
null
null
UTF-8
C++
false
false
13,115
cpp
HTTPServer.cpp
// Simple HTTP Server.cpp : Defines the entry point for the application. // #include "stdafx.h" #include "HTTPServer.h" #include <WinSock2.h> #include <stdio.h> #define MAX_LOADSTRING 100 #define MAX_WND 1024 #define MAX_SOCKET_NUM 2 #define WM_ACCEPT WM_USER + 1 #define WM_RECV WM_USER + 2 #define WM_SOCKET_CLOSE WM_...
9e4318eb9498c93a1f94de18818002eecf8d1ef6
84d98378511f59301f9693b7fe91ee8a4ac76283
/7. OOPS - 2/newFractionUse.cpp
f3c96e880c728da36f946015fc940701417d0031
[]
no_license
SaquibAnwar/Cpp-playground
03358e9b7b7d27b8ee6b3c62c1d6ba2b5c01086e
523202204b5ed24e162fc51d871afd2cb45f034b
refs/heads/master
2021-06-23T12:51:41.844899
2021-02-05T07:20:19
2021-02-05T07:20:19
189,625,826
0
0
null
null
null
null
UTF-8
C++
false
false
747
cpp
newFractionUse.cpp
#include<iostream> #include "newFraction.cpp" using namespace std; int main(){ Fraction f1(10, 3); Fraction f2(5, 2); // Fraction f3 = f1.add(f2); // f1.print(); // f2.print(); // f3.print(); // Fraction f4 = f2 + f3; // Fraction f5 = f2 * f3; // f4.print(); // f5.print(); ...
bf138784acaa00874631c84efab8fd8c0093ed2d
a52f81bf16032336404e31dd68aa88ff664e6831
/Game/Object/Wall/WallSystem.hpp
7755a3cd422023fa242e399a9db28a1e10e8aeb1
[]
no_license
lineCode/SpaceshipWarriorCombatED
651a525cedf586eb66c3db6543b07b8c9614c7a9
d52e394d781894b2abc63c77c51b844abe2aa53d
refs/heads/master
2023-03-18T07:39:58.366975
2020-11-02T21:13:07
2020-11-02T21:13:07
null
0
0
null
null
null
null
UTF-8
C++
false
false
590
hpp
WallSystem.hpp
/* ** EPITECH PROJECT, 2019 ** SpaceshipWarriorCombatED ** File description: ** WallSystem */ #ifndef WALLSYSTEM_HPP_ #define WALLSYSTEM_HPP_ #include <chrono> #include <ctime> #include "Wall.hpp" class WallSystem : public ASystem { public: WallSystem(); ~WallSystem(); void init(); void update(...
bab4b55bb8e192aa1a3fa2b52ad6de3cae048f5c
c30d4130c348a2bcf9ab6f847a03fd1d0fed78b4
/Codecube/90.cpp
50cfb31a2d1e7b1946a826beb40a4c0c09ef92e8
[]
no_license
boyplus/competitive-programming
6278c5f9c93ce830b62aa16ed4877dc82f5dd538
88ead4fddb09ac2ca658ad291c0fc6e8679eedda
refs/heads/master
2022-11-07T05:31:34.004320
2020-06-28T16:09:58
2020-06-28T16:09:58
67,353,435
0
0
null
null
null
null
UTF-8
C++
false
false
2,637
cpp
90.cpp
#include <stdio.h> void print(int,int); char str[100][100]; int table[100][100]={0}; int main() { int i,j,k,n,m,w,h; scanf("%d %d",&w,&h); for(i=0;i<h;i++) { scanf("%s",&str[i]); } for(i=0;i<h;i++) { for(j=0;j<w;j++) { if(str[i][j] == '.') ...
df860c9fb2581aaaf7c9712e77e5c586cacc21fb
73ed0329c341fbe3811b08e1bd36cd2c5b7b49e1
/Source/Render/RenderInterface.h
cdf3b62c160d5784015ac497614b682f1b3a60d8
[ "Unlicense" ]
permissive
Crazykingjammy/bkbotz
6e6bb661c91c677aa7b438b09d49cfd52096ffa4
6cdaa4164ff02e40f2909982f6dacad161c7d6cf
refs/heads/master
2020-07-28T23:25:14.667811
2019-09-19T14:59:05
2019-09-19T14:59:05
209,576,581
0
0
null
null
null
null
UTF-8
C++
false
false
1,933
h
RenderInterface.h
#ifndef __Render_Interface_h__ #define __Render_Interface_h__ #include "Render.h" #include "../Object/Object.h" #include "Lights/Lights.h" #include "Camera/Camera.h" #include "Camera/FreeCamera.h" #include "../Object/2D/2d.h" #include "../Object/Particles/Particle.h" #define MAX_LIGHTS 4 class CRenderInterface { pr...
e87ec288c9abf99192360897950bd9e030fdfa2e
a5efeeba8379cb72abd5b12538292dd77b5b8a85
/include/SAX/helpers/XMLFilterImpl.hpp
b605b122d829db91a1b53658fd9857776636da3e
[]
no_license
BenKeyFSI/arabica
4d48dc3509e8b718ac80cfdbfca81315922e6bec
0f0c4e85ec52ac66bf9acbb91bd91bbd72f7baab
refs/heads/master
2020-12-11T09:14:36.979061
2020-04-25T14:30:30
2020-04-25T14:30:30
55,283,591
0
0
null
2016-04-02T07:41:51
2016-04-02T07:41:51
null
UTF-8
C++
false
false
17,759
hpp
XMLFilterImpl.hpp
#ifndef ARABICA_XML_FILTER_IMPL_H #define ARABICA_XML_FILTER_IMPL_H // XMLFilterImpl.h #include <SAX/ArabicaConfig.hpp> #include <string> #include <SAX/XMLFilter.hpp> #include <SAX/helpers/DefaultHandler.hpp> #include <SAX/SAXNotRecognizedException.hpp> #include <Arabica/StringAdaptor.hpp> namespace Arabica { namesp...
f65ad94ddade53ff13b47cfc5742fad84e6ad3c0
99f0cd397d6a4b5c3a1d425a285c1ecc3d3e57a3
/sketch_nov01a.ino
be119743aa6b25887dc4d924197e784d2284ae36
[]
no_license
VitalyNikonorov/Arduino-MPU6050
160c75774a2bafeef8168e5ec76a0948c3a3d1d2
c0fd139d2ab9d4c5c76e281d1e0b069322b6209e
refs/heads/master
2021-05-31T04:56:33.605774
2016-05-14T18:41:57
2016-05-14T18:41:57
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,848
ino
sketch_nov01a.ino
#include <SoftwareSerial.h> int ledpin = 13; // LED connected to pin 48 (on-board LED) #include "I2Cdev.h" #include "MPU6050.h" #if I2CDEV_IMPLEMENTATION == I2CDEV_ARDUINO_WIRE #include "Wire.h" #endif SoftwareSerial mySerial(0, 1); // RX, TX char myChar; MPU6050 accelgyro; int incomingByte = 0; int16_t ax, ay...
b736fe6c8111c0199e7578c72d9d249014eebfba
cdeddf21e84922779350dc1ade310847f5511bee
/Cpp/NTP/Zadatak4/Fish.cpp
dd71d256f70868ead900312d04c9145d888b51c4
[]
no_license
luciantin-old/RandomStf
15e92c4d59f374f2622304bf28ddf78e9a825a7d
cec7dc40dd97163272b5bc291af276a16b8f954a
refs/heads/master
2022-11-16T17:35:27.210640
2020-07-17T17:39:27
2020-07-17T17:39:27
240,583,873
0
1
null
null
null
null
UTF-8
C++
false
false
212
cpp
Fish.cpp
#include "Fish.h" bool Shark::IsDangerous(){ return isDangerous;} bool WhiteCatFish::IsCatFish(){ return isCat & isFish;} bool WhiteCatFish::IsCat(){ return isCat;} bool WhiteCatFish::IsFish(){ return isFish;}
718cf3d7189f917295fe6e5ecbc3e7b27cb1e711
a3d6556180e74af7b555f8d47d3fea55b94bcbda
/chrome/browser/ui/startup/google_api_keys_infobar_delegate.cc
e677d475d354b37b83e08e63933432de5c16f814
[ "BSD-3-Clause" ]
permissive
chromium/chromium
aaa9eda10115b50b0616d2f1aed5ef35d1d779d6
a401d6cf4f7bf0e2d2e964c512ebb923c3d8832c
refs/heads/main
2023-08-24T00:35:12.585945
2023-08-23T22:01:11
2023-08-23T22:01:11
120,360,765
17,408
7,102
BSD-3-Clause
2023-09-10T23:44:27
2018-02-05T20:55:32
null
UTF-8
C++
false
false
1,540
cc
google_api_keys_infobar_delegate.cc
// Copyright 2013 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/ui/startup/google_api_keys_infobar_delegate.h" #include <memory> #include "chrome/browser/infobars/confirm_infobar_creator.h" #include "chrome/grit/c...
3decf38d8730080edc8e8342e880352201d06c9a
5ae79331e507854d00654a8242427eae0869d30a
/Test/test/tst_TestStatemachine.cpp
9efaf3cf5c969216498c7e1cccb69f93cd04e420
[]
no_license
openspaceaarhus/immobilePay
42f49a1adc7f2194818884faac91b401ff6e215a
8dbc8f4a1d4c8129c675cebede8c12d3c0319a90
refs/heads/master
2022-12-17T21:00:37.462695
2017-04-15T15:32:33
2017-04-15T15:32:33
294,988,109
0
0
null
null
null
null
UTF-8
C++
false
false
1,593
cpp
tst_TestStatemachine.cpp
#include <QString> #include <QtTest> #include <memory> #include "StateMachine.h" #include "UserDatabase.h" class TestStatemachine : public QObject { Q_OBJECT public: TestStatemachine(); private: std::unique_ptr< boost::sml::sm< OsaaMat::purchaseMachine > > machine; UserDatabase db; private Q_SLOTS: vo...
728acd98f024bc0936f479144a30d71e7d175808
4cd434f48bf76da03503130cb3e9d8611a29a659
/iTrace/MeshBaker.h
4db36ae3e5aecaf5d9784452f152ac04495885b1
[ "MIT" ]
permissive
Ruixel/iTrace
39d593856f89664d9c42e570369af146e2098713
07e31bb60acba03bc6523986233f16191c502682
refs/heads/master
2022-12-22T13:44:10.535266
2020-10-01T22:43:41
2020-10-01T22:43:41
null
0
0
null
null
null
null
UTF-8
C++
false
false
446
h
MeshBaker.h
#pragma once #include <assimp/cimport.h> #include <assimp/mesh.h> #include <assimp/Importer.hpp> #include <assimp/scene.h> #include <assimp/postprocess.h> #include "Core.h" #include "CustomBlockModel.h" namespace iTrace { namespace Rendering { namespace Chunk { void ConvertToModel(const std::string& Directo...
f26de678bf12ebb137281f7f80dde71dd7c4a09d
d366d7ad668b560e58ca63bf1d35b471b7cf6031
/libraries/Signalling/SignalController.cpp
dc0e98a39c41a2c8e1f6ab60c83389452a560ea3
[]
no_license
chenbk85/arduino
2de76282e583bc75408bfe5649de6720b8606277
d39d0c0728d9529410ebbad54f306b5a9227935c
refs/heads/master
2021-01-17T17:13:56.679937
2014-02-15T22:28:39
2014-02-15T22:28:39
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,218
cpp
SignalController.cpp
#include "SignalController.h" SignalController::SignalController() { this->activePattern = NULL; for(int i=0; i<10; i++) this->signalPatterns[i]=NULL; } SignalPattern* SignalController::getPattern(int idx) { if(idx<0 || idx>=10) return NULL; return this->signalPatterns[idx]; } void SignalController::setPat...
f9f9e9a16bc1eaf5eb5339fb75090ded30a187b1
58a0ba5ee99ec7a0bba36748ba96a557eb798023
/GeeksForGeeks/Algorithms/6. Mathematical/22.program-to-efficiently-calculate-ex.cpp
f0da5e2cefc027c2d57003630d5c07da6c2913d9
[ "MIT" ]
permissive
adityanjr/code-DS-ALGO
5bdd503fb5f70d459c8e9b8e58690f9da159dd53
1c104c33d2f56fe671d586b702528a559925f875
refs/heads/master
2022-10-22T21:22:09.640237
2022-10-18T15:38:46
2022-10-18T15:38:46
217,567,198
40
54
MIT
2022-10-18T15:38:47
2019-10-25T15:50:28
C++
UTF-8
C++
false
false
349
cpp
22.program-to-efficiently-calculate-ex.cpp
// http://www.geeksforgeeks.org/program-to-efficiently-calculate-ex #include <iostream> #include <cstdio> using namespace std; float exponential(int n, int x){ float res = 1.0; for(int i=n-1; i>0; i--){ res = 1 + res*x/i; } return res; } int main(){ int n = 10; float x = 1.0f; printf("e^x = %f", expon...
516fe0088d44d758a23a87799ee6967f35aff786
4e22d261d7dcf5fe2731d77ba3cfb47c5568977c
/Source/Engine/TempestEngine/External/SceneEntityReference.cpp
867ce9e47d11819514d2ec6e6dc1ae4ddcc30d2c
[]
no_license
SeraphinaMJ/Reformed
2d7424d6d38d1cfaf8d385fade474a27c02103a5
8563d35ab2b80ca403b3b57ad80db1173504cf55
refs/heads/master
2023-04-06T00:40:34.223840
2021-05-06T11:25:51
2021-05-06T11:25:51
364,884,928
0
0
null
null
null
null
WINDOWS-1252
C++
false
false
1,221
cpp
SceneEntityReference.cpp
/*!*************************************************************************************** \file SceneEntityReference.cpp \author Aaron Damyen \date 7/31/18 \copyright All content © 2018-2019 DigiPen (USA) Corporation, all rights reserved. \par Project: Boomerang \brief *************************...
b71ad25330d7c905e2e8a747ce42dd9bc8393b21
264eddcd3cd05f86aa6317c2486af6d03efc44f8
/lab/test2/a1.cpp
b374c570ddd9e63940981a0743684ee54a0203c9
[]
no_license
miapurva/OOAD
6a6c5be7106a8028cb686baab80dd6a38449fbfe
f8dfce390378684c1b4a97aa127529aebaa4e5dc
refs/heads/master
2021-05-07T17:31:12.495316
2017-10-29T14:24:57
2017-10-29T14:24:57
108,741,512
0
0
null
null
null
null
UTF-8
C++
false
false
1,141
cpp
a1.cpp
#include <iostream> #include <cstdlib> using namespace std; #define d 50 int abc(int x,int deno[],int no_of_deno) { int quot,rem[d],i,k,r=0,sum=0; rem[0]={x}; //int res[x]={0}; //int l=0; int res[x]; X:for(i=0;i<no_of_deno;i++) { for(int l=0;l<x;l++) { quot=x/deno[i]; if(quot<1) continue; el...
4425bc9883ac19a351b3704587d01cd92616f3f0
48d5d1af9fc728a1a83ac91e2d335df037b57d22
/modules/glfw/src/filewatcher.cpp
e003be749e7daad8dd1bc17b2c447cb67f67adad
[ "BSD-3-Clause", "BSD-2-Clause" ]
permissive
inviwo/inviwo
67601343919f3469c08beddd589df50153557a82
f268803cafb5cde2ce640daabbd3ed1ac2c66a87
refs/heads/master
2023-08-17T04:11:51.970989
2023-08-14T13:56:17
2023-08-14T13:56:17
108,262,622
402
129
BSD-2-Clause
2023-09-13T15:19:38
2017-10-25T11:47:56
C++
UTF-8
C++
false
false
12,252
cpp
filewatcher.cpp
/********************************************************************************* * * Inviwo - Interactive Visualization Workshop * * Copyright (c) 2020-2023 Inviwo Foundation * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided th...
f0c0fb973741689998ccd22a560b5c6f74beccf5
b494c362dd9a3c2ea0629c4e9bb841c1bdd05b6e
/SDK/SCUM_BP_WeaponBullet_WoodenArrowMetalTip_functions.cpp
3823f7fbfb402ae3ef835d604950eb3efdc35964
[]
no_license
a-ahmed/SCUM_SDK
6b55076b4aeb5973c4a1a3770c470fccce898100
cd5e5089507a638f130cc95a003e0000918a1ec7
refs/heads/master
2022-05-20T17:28:10.940288
2020-04-03T18:48:52
2020-04-03T18:48:52
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,328
cpp
SCUM_BP_WeaponBullet_WoodenArrowMetalTip_functions.cpp
// SCUM (Dumped by Hinnie) SDK #ifdef _MSC_VER #pragma pack(push, 0x8) #endif #include "../SDK.hpp" namespace SDK { //--------------------------------------------------------------------------- //Functions //--------------------------------------------------------------------------- // Function BP_WeaponBullet_Woo...
827f8601fb3aa9dd2f845481e8fd409a1b1bb6f6
4be8bf1a7ae35c094d7ce4d4eb355fd897a6b1a2
/passwordKalkulator_C++/lev2.h
9289b53547b84604fa489f7eb0c1a2e5866cad57
[]
no_license
Perry15/passwordKalculator
56461f1033d460be545c2bfa099b0d9f2dd68ca1
ae6289100942592201be491231d6d660aa60db7a
refs/heads/master
2020-05-04T20:43:56.543856
2019-04-04T08:06:44
2019-04-04T08:06:44
179,449,231
0
0
null
null
null
null
UTF-8
C++
false
false
562
h
lev2.h
#ifndef LEV2_H #define LEV2_H #include "password.h" #include <iostream> using namespace std; class lev2 : public Password{ private: const int lenMin; QString description; public: lev2(QString p="00000000"); ~lev2(); virtual QString combination1(const startingData &d1, const startingDat...
6627f151cb4212310fa4c755a8bfee3a6fe25650
d0b04ba4a1b1e95a5e205d33b9704791279ef157
/programs/bailey/bailey.ino
eaafd3d4d080409e269d9600d43c62a0b85fdfbe
[]
no_license
bsswartz/hexbright
787d3a732e24eb01c6e0e05f6fc2a3064f81ab96
420ad478dc6bb56dcc1fbaba543d655627a31ea6
refs/heads/master
2021-01-17T23:25:21.057645
2013-08-22T23:47:57
2013-08-22T23:47:57
null
0
0
null
null
null
null
UTF-8
C++
false
false
3,808
ino
bailey.ino
/* Copyright (c) 2013, "Bailey Swartz" <bsswartz@gmail.com> All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of cond...
57e802203f31486981665a50a3d2886a1874654a
a15c6b9ad62e06e3c1a054c13d6109cc1f1f1039
/Student.h
dee0168e05b462a71905e71cc33b6295da1e673b
[]
no_license
kholland57/CPSC350-Assignment4
82c5c12579d2171a81738d6695972237fc2d4128
38b34e9b3d42153d45566260cd090f56ec09bdc7
refs/heads/master
2022-04-21T17:30:28.599578
2020-04-24T03:23:21
2020-04-24T03:23:21
258,393,228
0
0
null
null
null
null
UTF-8
C++
false
false
918
h
Student.h
/* Kelsey Holland 002298547 kholland@chapman.edu CPSC-350-02 Assignment 4 */ //Libraries Included Here #include <string> #include <iostream> using namespace std; #ifndef STUDENT_H #define STUDENT_H class Student { public: //Constructors Student(); Student(int waitTime, int timeAtWindow, bool atWindow, in...
85f5401ccaba970330581ed3e9a96ee2b57025a3
6f86a2533e592fa02428521fc7dfb2ffdc9343d0
/examples/stiffened_panel/stiffened_panel.cpp
1bc044fbbac9b2dcb63fd842f4b1adf326da3685
[ "GPL-3.0-only", "Apache-2.0" ]
permissive
SourangshuGhosh/tacs
d3ff6d7b4a36d98ba35aae2b985fd721f7738775
1473eec093f3ac2c18ee9759865dc39a15b2e048
refs/heads/master
2022-11-19T05:33:02.127603
2020-07-22T13:08:44
2020-07-22T13:08:44
278,541,353
4
1
Apache-2.0
2020-07-21T07:08:02
2020-07-10T04:52:46
C++
UTF-8
C++
false
false
13,833
cpp
stiffened_panel.cpp
#include "TACSAssembler.h" #include "TACSBuckling.h" #include "TACSToFH5.h" #include "TACSMeshLoader.h" #include "MITCShell.h" #include "isoFSDTStiffness.h" #include "TACSPanelAnalysis.h" /* The TACSPanelAnalysis object cannot be used in complex mode because the underlying implementation uses eigenvalue routines f...
eaca6afccc9c3cfe3f307050857e65733d457fbe
d0121b4428a3fdd06702225b8fe6d9c5971643e3
/DFS_Tarjan_TopologicalSort/DFS_Tarjan_TopologicalSort/Source.cpp
3a17b8a2cce277401cb3513873db58a85d893ee2
[]
no_license
adrianbischin/Algoritmi_Fundamentali
c1069115973f7e8427768b18148ecc5f3d8736f0
b405671479a6629284fc63e0e2860c2ebaf0ebfa
refs/heads/main
2023-03-09T13:08:52.499213
2021-02-25T15:31:51
2021-02-25T15:31:51
341,998,497
0
0
null
null
null
null
UTF-8
C++
false
false
8,033
cpp
Source.cpp
/* ADRIAN BISCHIN Group 30228 DFS: complexitatea algoritmului DFS este O(|V| + |E|). Tarjan -> O(|V| + |E|). Topological sort -> O(|V| + |E|) -> este un DFS cu o stiva in plus. */ #include <iostream> #include <queue> #include <stack> #include <iterator> #include <algorithm> #include "Profiler.h" using n...
9c9d8aec2f03b0f14e82e43a4b527ae8dead4360
5c668bf23f2ab23219eb2a4d60640f96fe788906
/src/options.h
a1cbc96b5ffc686e855ffc7b73e8058ad44a2baf
[]
no_license
ctpo6/resmtp
d4a6b3087c3eacc29436a1362bbcdb27c2be09f4
f9b0e266cc54ba78273d8f8fe81bc5381a62fc91
refs/heads/master
2021-01-21T04:41:29.068841
2020-04-05T21:46:17
2020-04-05T21:46:17
46,131,482
0
0
null
null
null
null
UTF-8
C++
false
false
4,305
h
options.h
#ifndef _OPTIONS_H_ #define _OPTIONS_H_ #include <sys/types.h> #include <unistd.h> #include <cstdint> #include <iostream> #include <set> #include <string> #include <vector> #if 0 #include <boost/asio.hpp> #else #include "asio/asio.hpp" #endif #include "log.h" namespace r = resmtp; using std::string; using std::v...
becb811ca2c1fc030b88a865f800e9793cffb0e9
311ec343422dea00ea543ef0b61921d605b3a11f
/RecipientsBook.h
33cd9c4554375913fd4d120aca18a6d8b3a92cb2
[]
no_license
Khyho/Ksiazka_Adresowa_Obiektowo
48a6fe7bbeb4d6092f23a4026bb119e84a68ca35
b57eea3ccd744e733e8f10993d60a67e28a6bef9
refs/heads/master
2021-09-03T11:58:58.727610
2018-01-08T22:34:07
2018-01-08T22:34:07
115,660,858
0
0
null
null
null
null
UTF-8
C++
false
false
1,336
h
RecipientsBook.h
#include <iostream> #include <cstdlib> #include "Recipient.h" #include <windows.h> #include <cstdio> #include <fstream> #include <vector> #include <sstream> #include <algorithm> #include <iterator> using namespace std; class RecipientsBook :public Recipient{ string changeCase (string textToChange); int specifyID (ve...
0457801c223e5793b104e1fec400c4b4974d1a7e
6f3ca80c0bcf1ba68a4a76fe9e7890670c7cb9b9
/Od zera do gier kodera/Ch.4/4.SimpleCast/main.cpp
4a6b2317312f6452d561ee86fb1e1f1f647ad9c7
[]
no_license
VKiNGpl/Cpp-projects
5977ce9696d7f859f6e7b220c45bb87864475295
3dbfeba1ec1c8fcf382a75d00cc6ba3311f690ae
refs/heads/master
2022-09-21T06:48:15.309868
2020-06-03T04:31:39
2020-06-03T04:31:39
197,949,676
0
0
null
2019-07-22T00:06:33
2019-07-20T15:38:14
C++
UTF-8
C++
false
false
372
cpp
main.cpp
#include <iostream> int main() { for (int i = 32; i < 256; i +=4) { std::cout << "| " << (char) (i) << " == " << i << " | "; std::cout << (char) (i + 1) << " == " << i + 1 << " | "; std::cout << (char) (i + 2) << " == " << i + 2 << " | "; std::cout << (char) (i + 3) << " == " << i + 3 << " | ";...
f70356ebdc5ad3f32e14a9afa9b48f52256d2088
16e130599e881b7c1782ae822f3c52d88eac5892
/leetcode/maxStack/mySol2.cpp
19f168de726893316c6910578f1a37ee7b313329
[]
no_license
knightzf/review
9b40221a908d8197a3288ba3774651aa31aef338
8c716b13b5bfba7eafc218f29e4f240700ae3707
refs/heads/master
2023-04-27T04:43:36.840289
2023-04-22T22:15:26
2023-04-22T22:15:26
10,069,788
0
0
null
null
null
null
UTF-8
C++
false
false
932
cpp
mySol2.cpp
#include "header.h" class MaxStack { private: map<int, vector<list<int>::iterator>> m; list<int> l; public: /** initialize your data structure here. */ MaxStack() { } void push(int x) { l.push_front(x); m[x].push_back(l.begin()); } int pop() { ...
5d23b26c482737d40cf807ef8dd2ab89cdd406de
39a582a9ec775f7f7b818651ed40c0c567b70f45
/utils/local_seq_generator.h
b74e347a2ad13c81d21a6c8a3ae74a4f9dcbc97c
[]
no_license
sky-cfw/comm
2fe5427a2f90dc8f95209912d486963e98bd95f2
57f6cdf2c43ac5c1bf9c5e6a42a0771ba0e906ac
refs/heads/master
2022-05-29T10:24:27.278821
2022-05-28T16:13:11
2022-05-28T16:13:11
162,808,664
0
0
null
null
null
null
UTF-8
C++
false
false
1,439
h
local_seq_generator.h
#include <sys/types.h> #include <sys/shm.h> #include <sys/ipc.h> #include <errno.h> #include <string.h> #include <stdint.h> #include <string> class local_seq_generator { public: local_seq_generator( const key_t &key ): shm_key(key), inited(false), shmid(0), pseq(NULL), errmsg("") { ...
e237d09df9c6d82bb4d17e4d77c3f689954a5800
aaf3139fbede85f779ef906866437133f6518fc4
/BZRFlag AI/StraightLineCommanderAI.cpp
4bc1b343364898d6e7521ca4846c3cdaa8b6a0e8
[]
no_license
zygoth/BZRFlag-Project
1524de81c4820d9c8d89ce157feac7d128121852
59b6a051eeea77e9c458ae4eb5acf990d231322f
refs/heads/master
2021-01-10T20:29:27.579353
2013-06-17T16:08:31
2013-06-17T16:08:31
null
0
0
null
null
null
null
UTF-8
C++
false
false
829
cpp
StraightLineCommanderAI.cpp
/* * File: StraightLineCommanderAI.cpp * Author: zygoth * * Created on June 3, 2013, 2:39 PM */ #include "StraightLineCommanderAI.h" #include "StraightLineTankAI.h" StraightLineCommanderAI::StraightLineCommanderAI(BZRC* connection) : CommanderAI(connection) { vector<tank_t> myTanks; connection->get_m...
dc4c3ea7a7792d15f02e17e6e73e07a69905f084
c9be9c963fbc6591453cdd7cdedee8742991a3b4
/disjoint_sets.hpp
d3dbad20e663202fc5f5ef773157fe1ed87fa8bc
[ "MIT" ]
permissive
mzhong99/maze-generator
72215110aa4e67a3d271937b4f73f481487b2fa8
4a3cc13390b75eb0677b3aba0c6f30576e5d0aba
refs/heads/master
2020-04-13T06:26:07.782742
2019-01-29T14:34:13
2019-01-29T14:34:13
163,020,507
0
0
null
null
null
null
UTF-8
C++
false
false
713
hpp
disjoint_sets.hpp
#ifndef _DISJOINT_SETS_HPP_ #define _DISJOINT_SETS_HPP_ #include <vector> #include <cstdint> #include "point.hpp" class DisjointSets { private: uint32_t width, height; size_t number_of_sets; std::vector<std::vector<size_t>> sets; void fill_sets(); public: DisjointSets(); DisjointSets(ui...
b6e8f83dd565eb0d0df11b64fd2759828947d4ca
69654bd7c4910ebc2a7decdb5cd59d42f833c279
/engine/debug.cpp
c7eba620f57c012a350d97bed81f63fb308bd40a
[]
no_license
jensheukers/Battle
459058d63b8ff6a50a381f30ca172b1af19f27b5
b927a7be3ae56b049bc902039e61a929bca162d3
refs/heads/master
2023-04-05T09:04:24.200775
2021-04-09T13:26:55
2021-04-09T13:26:55
345,944,494
0
0
null
null
null
null
UTF-8
C++
false
false
4,118
cpp
debug.cpp
// Source file for debug class. // // Version: 19/9/2019 // // Copyright (C) Jens Heukers - All Rights Reserved // Unauthorized copying of this file, via any medium is strictly prohibited // Proprietary and confidential // Written by Jens Heukers, September 2019 #include "debug.h" #include <functional> #include "imgu...
f736eb581b45125566a9407d02388bf20e0c62f8
be8c21ee854de4af539d04faa620722e6ec6f706
/DeferredRenderer/LightClass.hpp
2360836628b69b9d656f2632a3c66fd39b643ca1
[]
no_license
Markyparky56/DeferredRenderer
449ebdaaf174c86608c5ca83691dd65b74e4af0d
9cef9616131ef217ea6d0a90ab135521fcc0c317
refs/heads/master
2021-01-23T03:43:48.703263
2017-04-04T21:42:17
2017-04-04T21:42:17
86,117,318
0
0
null
null
null
null
UTF-8
C++
false
false
752
hpp
LightClass.hpp
#pragma once #include <DirectXMath.h> using namespace DirectX; class LightClass { public: LightClass(); ~LightClass(); void SetAmbientColour(float red, float green, float blue, float alpha); void SetDiffuseColour(float red, float green, float blue, float alpha); void SetSpecularColour(float red, ...
470b4aefa089504ea04abde3bc8770852216bd67
a413e224714c87b41d621a848d040a0ec53e5524
/scriptline.cpp
c316fbd8ddddac9fba3e9bdff41def810f24abae
[]
no_license
Kaythay/RPG
c12a14618ccf2a3890b5600ae7ef2f65ad302953
b4cbc6b4f7bd701c0ac87f14587415c44c700948
refs/heads/master
2021-01-19T20:48:00.264516
2016-11-10T03:03:56
2016-11-10T03:07:59
71,415,552
2
0
null
null
null
null
UTF-8
C++
false
false
1,810
cpp
scriptline.cpp
#include <iostream> #include <string> #include <QObject> #include "scriptline.h" //TODO: make exeption for whenever a file line is in the wrong format Dialog::Dialog(std::string s) { this->parse(s); this->next = NULL; } /** Method takes the string from the constructor to parse for the speaker, words, and emo...
431f3a8e9a26dd10e649266908da0aa1fcb56c15
6bcdb9e8836cd60e972be865beb50fbfefdfa650
/libs/core/include/fcppt/container/bitfield/detail/make_range.hpp
e47ce93dd89f2ea528239277b7f32908a76bb150
[ "BSL-1.0" ]
permissive
pmiddend/fcppt
4dbba03f7386c1e0d35c21aa0e88e96ed824957f
9f437acbb10258e6df6982a550213a05815eb2be
refs/heads/master
2020-09-22T08:54:49.438518
2019-11-30T14:14:04
2019-11-30T14:14:04
225,129,546
0
0
BSL-1.0
2019-12-01T08:31:12
2019-12-01T08:31:11
null
UTF-8
C++
false
false
1,163
hpp
make_range.hpp
// Copyright Carl Philipp Reh 2009 - 2018. // 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) #ifndef FCPPT_CONTAINER_BITFIELD_DETAIL_MAKE_RANGE_HPP_INCLUDED #define FCPPT_CONTAINER_BITFIELD_D...
634bbd5e7a00807c76879bfe3a7605648da3aa19
5acf17fcc1e19dbb6343fe21608269898a0217c4
/_Embedded/Arduino.ino
acf88cb3376342bc4d237ee15e14ae87d544b061
[]
no_license
christopher-stewart15/ECSE3038_LAB_6
42c82266e3065a74bb1504dc509f8aab5d0c2366
3c13a9837377f699259f2a56e857dc209709466b
refs/heads/main
2023-04-05T12:48:14.294064
2021-04-03T05:47:05
2021-04-03T05:47:05
354,209,801
0
0
null
null
null
null
UTF-8
C++
false
false
1,985
ino
Arduino.ino
#include <SoftwareSerial.h> #define RX 10 #define TX 11 SoftwareSerial ESP01 (RX,TX); // RX | TX String ssid = "138SL-Residents"; String password = "resident2020@138sl"; String host = "10.10.85.212"; String PORT = "5000"; String Command = ""; String post = ""; String body = ""; int id = 1; int countTrueCommand; int ...
faae0f3e2d0f015c38cba01adb20977e7d87bfe8
93e8d75b94de07533c8bf716790acd0792a03f5e
/src/lfortran/pass/param_to_const.h
868637f22d4530eb6bd4e31bc5b6811a5e6f5fbe
[ "BSD-3-Clause" ]
permissive
mfkiwl/lfortran
44ccedd36f146537a6740dcfc4b06259c29d811b
94bf06129614f418cbccbca71f1a07eafbb1d77b
refs/heads/master
2023-08-06T10:24:20.930448
2021-09-29T14:51:05
2021-09-29T14:51:05
null
0
0
null
null
null
null
UTF-8
C++
false
false
278
h
param_to_const.h
#ifndef LFORTRAN_PASS_PARAM_TO_CONST_H #define LFORTRAN_PASS_PARAM_TO_CONST_H #include <lfortran/asr.h> namespace LFortran { void pass_replace_param_to_const(Allocator &al, ASR::TranslationUnit_t &unit); } // namespace LFortran #endif // LFORTRAN_PASS_PARAM_TO_CONST_H
eb6cd97b35581217fc42a8aada59a9d5d662799d
6c0ae2e7d7276618d4a0662315fca6541db72b55
/Day22.cpp
f61f8f2b45a5b61c4d03b30aad6f216b69c0fddb
[]
no_license
SanchiChopra/NovemberLeetcodingChallenge
1568fd13d377b94a98e99c98ac2ef67f01cbd25c
ba3e102ef206cb56f14ac66402cd4a7be12d9bb6
refs/heads/main
2023-01-29T23:20:03.188648
2020-12-09T14:38:35
2020-12-09T14:38:35
309,166,050
0
0
null
null
null
null
UTF-8
C++
false
false
1,609
cpp
Day22.cpp
/* QUESTION: International Morse Code defines a standard encoding where each letter is mapped to a series of dots and dashes, as follows: "a" maps to ".-", "b" maps to "-...", "c" maps to "-.-.", and so on. For convenience, the full table for the 26 letters of the English alphabet is given below: [".-","-...","-.-.",...
6a0f6b11a5177575cc9023b760b53d10bab715f8
f8210f0073e0d05b4b2cb38ce080ef70d44bb5be
/Include/Common/twSceneManager.h
7513bf9362b34faf9adb09a3b8f70aa80e012106
[ "MIT" ]
permissive
microqq/TwinkleGraphics
87c3255d17ca36fd5fb720f86ef1da9d75f075de
e3975dc6dad5b6b8d5db1d54e30e815072db162e
refs/heads/master
2022-10-03T11:32:46.527840
2020-08-17T02:26:36
2020-08-17T02:26:36
187,617,795
0
0
MIT
2020-07-03T03:14:56
2019-05-20T10:17:51
CMake
UTF-8
C++
false
false
1,205
h
twSceneManager.h
#ifndef TW_SCENEMANAGEMENT_H #define TW_SCENEMANAGEMENT_H #include "twCommon.h" #include "twCamera.h" #define MAX_SCENE_CAMERA_COUNT 128 namespace TwinkleGraphics { class Scene : public Object { public: typedef std::shared_ptr<Scene> Ptr; Scene(); virtual ~Scene(); virtual void Init(); virtu...
d7bf0fe435e662c5f89305708bd5852ba8b805c9
4d623ea7a585e58e4094c41dc212f60ba0aec5ea
/C_Dubious_Document.cpp
39bbe4c6bd8a4f784b670e7b7f78b510f38ee128
[]
no_license
akshit-04/CPP-Codes
624aadeeec35bf608ef4e83f1020b7b54d992203
ede0766d65df0328f7544cadb3f8ff0431147386
refs/heads/main
2023-08-30T13:28:14.748412
2021-11-19T12:04:43
2021-11-19T12:04:43
429,779,083
0
0
null
null
null
null
UTF-8
C++
false
false
2,216
cpp
C_Dubious_Document.cpp
#include<bits/stdc++.h> using namespace std; #define ll long long #define For(i,n) for(int i=0;i<n;i++) #define VI vector<int> #define fast ios_base::sync_with_stdio(0); cin.tie(0) const int MOD = 1000000007; template< int mod > struct ModInt { int x; ModInt() : x(0) {} ModInt(int64_t y) : x(y >= 0 ? y % mod ...
8f5da5c54ec855c6e723078451d7931598829e5e
d09945668f19bb4bc17087c0cb8ccbab2b2dd688
/yuki/0001-1000/001-100/060.cpp
cec5c95a55466b4aec9f089006fdee8e72ef8ca1
[]
no_license
kmjp/procon
27270f605f3ae5d80fbdb28708318a6557273a57
8083028ece4be1460150aa3f0e69bdb57e510b53
refs/heads/master
2023-09-04T11:01:09.452170
2023-09-03T15:25:21
2023-09-03T15:25:21
30,825,508
23
2
null
2023-08-18T14:02:07
2015-02-15T11:25:23
C++
UTF-8
C++
false
false
1,195
cpp
060.cpp
#include <bits/stdc++.h> using namespace std; typedef signed long long ll; #undef _P #define _P(...) (void)printf(__VA_ARGS__) #define FOR(x,to) for(x=0;x<to;x++) #define ITR(x,c) for(__typeof(c.begin()) x=c.begin();x!=c.end();x++) #define ALL(a) (a.begin()),(a.end()) #define ZERO(a) memset(a,0,sizeof(a)) #d...