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
e51cd266b1c875095921131d894f8d188119c1b2
a94a34cd7af1f45267e6eb0dfda627f1a9c7070c
/Practices/Training/2021AutumnTraining/1002/B.cpp
ca6c90256933f2e98a24acb651fc17222b9426bc
[]
no_license
AI1379/OILearning
91f266b942d644e8567cda20c94126ee63e6dd4b
98a3bd303bc2be97e8ca86d955d85eb7c1920035
refs/heads/master
2021-10-16T16:37:39.161312
2021-10-09T11:50:32
2021-10-09T11:50:32
187,294,534
0
0
null
null
null
null
UTF-8
C++
false
false
480
cpp
B.cpp
#include <bits/stdc++.h> using namespace std; long long m, h; long long a, b; long long ans = 0; long long binpow() { a %= m; long long res = 1; while (b > 0) { if (b & 1) res = res * a % m; a = a * a % m; b >>= 1; } return res; } int main() { // freopen("B.in", "r", stdin); cin >> m >> h; f...
305a60d384a09a3888dee460329f1f5116ad4560
6af45bec648dc5e1aebdc9a2b7d15bca0aa76770
/code for practice/数据结构OJ练习/2-I.cpp
ed4ff1c6683ac88386b55c3e4fb0753af65fc221
[]
no_license
icbtbo/zhiku
c10aefc233da85cccefd5d9aa74380bae309f440
ae1215fff06830bea474a2cafb81407424923e54
refs/heads/master
2020-05-22T16:12:41.841388
2017-07-22T06:49:30
2017-07-22T06:49:30
84,083,887
0
0
null
null
null
null
UTF-8
C++
false
false
1,143
cpp
2-I.cpp
#include<stdio.h> #include<string.h> #include<stdlib.h> #include<malloc.h> #include<math.h> int top[22]; int time[22]; int qu[22][202]; int m,tol; float tc=0; int cho(int a,int b); void pu(int a,int b){ int k; int t=cho(a,b); //printf("%d\n",t); top[t]++; qu[t][top[t]]=...
c09579b7c7cc0580c8f23a794ab49332e2250c32
dc54341f0de2e6bb28772e2dd5571e8aa91fadfb
/Firmware/microbit/microbit-dal/source/drivers/MicroBitCompass.cpp
fa7f8e7a93cad939b8853da099102f8bbfe24142
[ "MIT", "Apache-2.0" ]
permissive
hansj66/micro-bot
453ade2d6706351d5378aee9757cc417d2df1dcb
955995dd051f67189d093bed9e4a8dfd194c506c
refs/heads/master
2022-10-11T08:22:36.071372
2020-02-29T20:41:32
2020-02-29T20:41:32
231,663,190
13
2
Apache-2.0
2022-09-08T15:38:06
2020-01-03T20:50:39
C
UTF-8
C++
false
false
22,024
cpp
MicroBitCompass.cpp
/* The MIT License (MIT) Copyright (c) 2016 British Broadcasting Corporation. This software is provided by Lancaster University by arrangement with the BBC. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the...
cfc92871f337b99a60acff0127a16192c7d7aec5
50e418a88b7c3c52ab3760d491f6922d7cb8bdf5
/PID/PID/PID.ino
5c86100d75d185d22b2fb5233aab89215933ba1c
[]
no_license
radim04/Sekacka
9e20aea693b274bd971a56c9d1c2d66e572afd60
018bb2b05937313c71404d33a940d1199def843d
refs/heads/master
2021-01-21T13:26:50.835124
2016-05-12T21:18:13
2016-05-12T21:18:13
45,740,471
1
0
null
null
null
null
UTF-8
C++
false
false
547
ino
PID.ino
int val = 0; // Variable um den gelesenen Wert zu speichern int ledPin = 13; // LED verbunden mit dem digitalen Pin 13 int inPin = 2; // Taster verbunden mit dem digitalen Pin 7 void setup(){ //start serial connection //Serial.begin(9600); //configure pin2 as an input and enable the internal pull-up resi...
aab5db15b1d43274919c070fdb420b78309f16bd
d7998d79fac1cdf038a0d390a9a0ad31d599eaeb
/src/main.cpp
082fa92ce3d00ea9bc675cd854d2eef772feeb12
[]
no_license
imtsuki/SermoServer
e535fcf54576ccb034f8f18f2407920803ce560c
969ab35b33d8df9a9cb89ce5e028b8f21f32fe2a
refs/heads/master
2020-05-24T00:41:31.278242
2019-09-09T03:08:23
2019-09-09T03:08:23
187,020,769
2
0
null
null
null
null
UTF-8
C++
false
false
1,634
cpp
main.cpp
#include "log.h" #include "Server.h" #include "Config.h" #include "Db.h" #include <g3log/g3log.hpp> void signalHandler(int signum) { Sermo::Db::getInstance()->close(); exit(signum); } int main(int argc, char **argv, char **envp) { using namespace Sermo; log_init(argc, argv, envp); auto config = Co...
c14dae0e9c0ae0bed869187d1cadb0c88e237fd8
0695314fce393f6abdd322241db4294e237e351c
/src/Registries/BlockStates.h
4419fc8965a553962752ff6cbbac7cac3a54f33b
[ "Apache-2.0" ]
permissive
cuberite/cuberite
df468fe78e4f8e383e1229fe9bea799dff6fc501
eda440e0db028587975c867dbacb513d80df4dca
refs/heads/master
2023-08-31T17:55:40.563231
2023-08-21T11:49:46
2023-08-21T11:49:46
11,693,709
4,815
990
NOASSERTION
2023-08-21T11:49:47
2013-07-26T19:56:59
C++
UTF-8
C++
false
false
681,795
h
BlockStates.h
#pragma once #include "Globals.h" #include "BlockState.h" #include "Defines.h" namespace Block { namespace AcaciaButton { enum class Face { Floor, Wall, Ceiling }; constexpr BlockState AcaciaButton(const enum Face Face, const eBlockFace Facing, const bool Powered) { if (Face == Face::Floor) ...
21b574d44c7df689cb6f1771c60864a67dafc771
20c7816bc3f86d9238d9883490f42ec12f4a0f50
/gff_08/Plugins/StrixSDK/Source/StrixSDK/Dependencies/strix-net-2/strix/net/message/event/MessageChannelCloseEvent.h
0be1a959f4842de4f4af5b80697e45b3b15cc7bc
[]
no_license
matsumoto0112/gff_08
ac0776c98d8660bfbb02c478d7c4759a7833d9aa
b295f7c0cf349524f90ac49c433bc731c5036851
refs/heads/develop
2023-02-17T18:47:54.214146
2021-01-15T06:55:45
2021-01-15T06:55:45
296,857,164
0
0
null
2021-01-15T06:55:46
2020-09-19T11:49:40
C++
UTF-8
C++
false
false
571
h
MessageChannelCloseEvent.h
#pragma once #include <memory> namespace strix { namespace net { namespace message { class MessageChannel; typedef std::shared_ptr<MessageChannel> MessageChannelPtr; } } } namespace strix { namespace net { namespace message { namespace event { class MessageChannelCloseEvent { public: MessageChannelCloseEvent(co...
e296ff1d998f1856c7bc3618b90baa0d7e47875d
80a6ca509e1d7c3ab3222fdf03638b3fde4d91ab
/search_for_a_range/main.m.cpp
57d6c6765036ab3d4ae3cfc80b0a7fb8ef018f3b
[]
no_license
alsofly/leetcode
8fdeb6eaca244475990a6ceb34082d8d980f7a4d
c0ae6dfacdba5c40aab3c77287dfe6c763a1cce1
refs/heads/master
2020-04-05T23:38:56.921811
2013-08-12T04:11:23
2013-08-12T04:11:23
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,275
cpp
main.m.cpp
#include <iostream> #include <vector> using namespace std; class Solution { public: vector<int> searchRange(int A[], int n, int target) { // Start typing your C/C++ solution below // DO NOT write int main() function int upper = upper_bound(A, n, target); int lower = upper_bound(A, ...
4193acf0b68e43f16636edb527dd01572684de33
a30d09985c3bbe308db025eb5358f375e9906e69
/docs/ros_cyton_installNew/catkinWS/src/ros_cyton_pkg/include/xml/ecXmlPairType.h
25b993e54239c60078eb990ea9ae5922c6855785
[]
no_license
shelderzhang/ros_cyton_gamma
d86bb61bb6796aa8c49d61031fe23065d2bbb80d
fbadcc333518ea0522368be9bdb3e36d0c828dbf
refs/heads/master
2021-01-18T10:21:13.524783
2014-09-05T21:04:16
2014-09-05T21:04:16
null
0
0
null
null
null
null
UTF-8
C++
false
false
3,529
h
ecXmlPairType.h
#ifndef ecXmlPairType_H_ #define ecXmlPairType_H_ //------------------------------------------------------------------------------ // Copyright (c) 2005-2013 Energid Technologies. All rights reserved. // /// @file ecXmlPairType.h /// @class EcXmlPairType /// @brief An XML readable/writable Pair. Can hold any to types ...
9f63b3de60107d5c7d7d6b1739f0d44b10004538
e36e8f998e14711fedb616818587fdd19e5061f5
/v1.0/module/xmlloader/include/xmlsynthesisheightsfileloader.h
0abec41b9adde71f2a552f45f2811b155dfbb1b7
[]
no_license
fanxiang090909/Railway-Tunnel-Construction-Dlearance-Measure-LanZhou
af07dbbccbc563da2f91a0aba11a564fded525f9
745e3049839be0532bc1214bf494730d2c7df156
refs/heads/master
2016-09-10T13:37:05.093754
2015-11-22T10:04:02
2015-11-22T10:04:02
38,955,294
1
2
null
null
null
null
UTF-8
C++
false
false
607
h
xmlsynthesisheightsfileloader.h
#ifndef XMLSYNTHESISHEIGHTSFILELOADER_H #define XMLSYNTHESISHEIGHTSFILELOADER_H #include "xmlfileloader.h" /** * 隧道综合指定高度配置的XML文件解析类声明 * 继承自XMLFileLoader * @see XMLFileLoader * @author fanxiang * @date 20140105 * @version 1.0.0 */ class XMLSynthesisHeightsFileLoader : public XMLFileLoader { public: XMLSyn...
1be1518cf9be2480c15f5c7621e558a7924e4071
15a7060159f10832aa6df747ff0f7cabe0110c13
/1070_Six_Odd_Numbers/main.cpp
e8d614a2e28864735c63caa7d9211364d0a993a4
[]
no_license
guidesanti/URI
cca9c20fc462324763947c98041c5eb4379f5c2c
243231b187a877c964d1b709e104b190c84d5da2
refs/heads/master
2021-06-06T00:57:57.224672
2017-08-30T16:00:29
2017-08-30T16:00:29
41,391,678
0
0
null
null
null
null
UTF-8
C++
false
false
180
cpp
main.cpp
#include <stdio.h> int main() { int i = 0; int v = 0; scanf("%d", &v); if (v % 2 == 0) { v++; } for (i = 0; i < 6; i++) { printf("%d\n", v); v += 2; } return 0; }
088f0b8d1dddb3939e04c62fc2fccd8a5711ef5c
055ac7eb890c82ec9c20759dd5dc4e5648784c2f
/ios/UnityExport/Classes/Native/Bulk_Generics_19.cpp
61abf30691cb5514c2effd4923fa6aaeb503ec64
[]
no_license
alisherakb/CustomBottomBar-RNN
b5d33f5a7bd2703fcf000b7f0bee949faa319330
240e0d68c2d9cc88353b411e3ce30d2372d23ba3
refs/heads/master
2023-01-06T11:47:22.647766
2019-08-31T14:24:25
2019-08-31T14:24:25
205,234,618
1
0
null
2023-01-04T08:28:51
2019-08-29T19:18:03
C++
UTF-8
C++
false
false
1,328,328
cpp
Bulk_Generics_19.cpp
#include "il2cpp-config.h" #ifndef _MSC_VER # include <alloca.h> #else # include <malloc.h> #endif #include <cstring> #include <string.h> #include <stdio.h> #include <cmath> #include <limits> #include <assert.h> #include <stdint.h> #include "il2cpp-class-internals.h" #include "codegen/il2cpp-codegen.h" #include "i...
0aeef33701cf4052e01f8e386fea1a774da89952
93aebc3ab31facf5fb3f465d3768cb166266011c
/Codeforces/Codeforces Round #422 (Div. 2) [DONE]/822E - Liar.cpp
5a72568db7ef609304c7ecaba7749d3f0b2484b4
[]
no_license
deSigntheClutch/competitive-programming-code-repository
901b77a2f07c91e56ae432c678dfa2fec4d26e62
ee9c49e594c00bad8321a0554ce5d9b0b2257be0
refs/heads/master
2023-04-06T03:56:55.236256
2021-04-10T07:23:32
2021-04-10T07:23:32
257,667,861
0
0
null
null
null
null
UTF-8
C++
false
false
1,785
cpp
822E - Liar.cpp
#include <bits/stdc++.h> using namespace std; typedef long long ll; const ll MOD = 1e9 + 7; const ll B = 53; const int N = 1e5 + 10; const int X = 50 + 5; int n, m, x, f[N][X]; char s[N], t[N]; ll hashS[N], hashT[N], base[N]; void init() { int mx = max(n, m); base[0] = 1; for (int i = 1...
27fd79aae5e43722153b10da76108274992a00f3
bc4090101f9d61dd4bbedfba3913775d6c44578e
/LibTest2/StaticMath.cpp
caa0ee0d28b0c3d6a956cd59db82accabfa30f34
[]
no_license
jackchen7jjl/HelloWorld
56b2fa99c4e888f0f2f0bef652eddfbb8791a74a
a0157f2abdb13d1853857f9e09ad40a7276b20a6
refs/heads/master
2021-01-11T06:37:47.409369
2017-05-10T16:00:43
2017-05-10T16:00:43
81,322,411
0
0
null
null
null
null
UTF-8
C++
false
false
585
cpp
StaticMath.cpp
#include "StaticMath.h" #include <iostream> using namespace std; StaticMath::StaticMath() { } StaticMath::~StaticMath() { } double StaticMath::add(double a, double b) { return a + b; } double StaticMath::sub(double a, double b) { return a - b; } double StaticMath::mul(double a, double b) { return a * b; } do...
d20e069f85d7540c3e12682b1a8f3ec314f7a1fb
286d948b67b0b4a91f0907965a2593b23a5398a1
/include/Spells.hpp
6f18b91ff4e3574f89501d60a7c6e6e918d53351
[]
no_license
kraekin/monster-rpg-2
c60a38aa6ded9692a88ac43760ce9035f6ee8cd7
19de7022f06b04fb8ce13e02489e46cc0e184975
refs/heads/master
2021-01-12T15:42:45.014790
2016-10-01T15:57:07
2016-10-01T15:57:07
71,864,771
3
1
null
2016-10-25T06:04:43
2016-10-25T06:04:42
null
UTF-8
C++
false
false
13,394
hpp
Spells.hpp
#ifndef COMBAT_SPELLS_HPP #define COMBAT_SPELLS_HPP #include "Combatant.hpp" enum SpellAlignment { SPELL_WHITE = 0, SPELL_BLACK }; struct BoltPoint { int x, y; int r, max; std::vector<BoltPoint> branch; }; class GenericCureEffect; class GenericHealEffect; class GenericHolyWaterEffect; class Spell { public...
9e161f55436cd08903505a6b0ab2518d45335e4e
cf95aa7e0590e7639e28a167e0e33b94b35cb561
/editing/settings.cpp
21984f3e01bcd49bb714946ce9288a950123a6af
[]
no_license
lunakoly/EyeBang
02e9157b3369e5eb4455bf7094ff8416e6e73c44
6aeab047f262fb11cbb223663629d3147bef3370
refs/heads/master
2022-11-13T12:49:30.980259
2020-06-22T18:29:00
2020-06-22T18:29:00
273,029,119
0
0
null
null
null
null
UTF-8
C++
false
false
2,669
cpp
settings.cpp
#include "settings.h" #include <QJsonObject> #include <QJsonDocument> #include <QJsonArray> #include <QJsonValue> #include <QDir> #include <QMessageBox> void Settings::saveToFile(QFile &file) { QJsonObject allSettings; allSettings.insert("version", "1.0.0"); QJsonObject legacyCLI; legacyCLI.insert("python_comma...
009f677ccc1fceebd22743726c7f4a8064d6e524
85e48366d26097a18ad5f0e1df855e0af1ff343b
/geomtest/Dot.cpp
660bb634edf515511320a408dc181db9be1ec1ee
[]
no_license
YurieCo/GO
34e2566c33e9ada4e0a1793f58a81c450100b17a
640405bff48fb7f95dd73bc544b57308c998b261
refs/heads/master
2021-01-18T05:22:49.008833
2011-12-08T21:58:51
2011-12-08T21:58:51
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,081
cpp
Dot.cpp
/* * Dot.cpp * * Created on: 09-10-2011 * Author: ghik */ #include "commons.h" #include "Dot.h" #include <cairo/cairo.h> Dot::Dot() { } Dot::Dot(double _x, double _y) : x(_x), y(_y), size(POINT_SIZE) { setColor(fillColor, lineColor); } Dot::~Dot() { } void Dot::draw(cairo_t *cr) const { beginDraw(cr...
79ef0e3da8de4206f2d6cb5e6cbe878d4e7eca20
e6979549bf0f2af86b5bdd52a1e25853f2506e8a
/2281/Main.cpp
90c39db1c839005f18552dd40842055b0334e48c
[]
no_license
guithin/BOJ
9a3becbbae58c03130c1545cdb0985efd2563f63
d525f441e864fc07a21649d39273f0ac1e3158ac
refs/heads/master
2021-07-05T19:25:18.547317
2020-08-03T01:47:34
2020-08-03T01:47:34
144,382,439
1
0
null
null
null
null
UTF-8
C++
false
false
684
cpp
Main.cpp
#include<bits/stdc++.h> using namespace std; int n, m; int inp[1010]; int nu[1010]; int dp[1010]; int main() { scanf("%d %d", &n, &m); for (int i = 1; i <= n; i++) { scanf("%d", inp + i); nu[i] = inp[i] + nu[i - 1]; } memset(dp, 40, sizeof(dp)); dp[0] = 0; for (int i = 1; i <= n; i++) { for (int j = i; j ...
732e57a4e1fcc467b178f6bcf7d18ce6d4084e31
d665d4f48d9208eb3bc65bba929395a009cd7a7d
/src/SFML/Window/macOS/JoystickImpl.cpp
8155096ba6f2e49316bd9cdf9eb09bd9577b434a
[ "Zlib", "GPL-1.0-or-later", "LGPL-2.0-or-later", "CC0-1.0", "BSD-3-Clause", "LicenseRef-scancode-public-domain", "LicenseRef-scancode-unknown-license-reference" ]
permissive
SFML/SFML
bb46b4d0d274a1e47e02bfb5c983bd2687e1a8a8
78973e4a06dd5ace2185329ad165d391cc3c01a8
refs/heads/master
2023-08-31T06:55:51.690962
2023-08-26T22:24:50
2023-08-30T05:18:00
1,524,684
8,409
2,458
Zlib
2023-09-13T22:48:52
2011-03-25T08:05:25
C++
UTF-8
C++
false
false
19,169
cpp
JoystickImpl.cpp
//////////////////////////////////////////////////////////// // // SFML - Simple and Fast Multimedia Library // Copyright (C) 2007-2023 Marco Antognini (antognini.marco@gmail.com), // Laurent Gomila (laurent@sfml-dev.org) // // This software is provided 'as-is', without any express or implied wa...
1e6958c03db19b62f78c32e0096945eb2b014950
d0fc9bfbf9a809d3e345e8de98316f9a29df074a
/Arduino/LeptonCombined_Test/LeptonCombined_Test.ino
558fd4973cab90de853d4059755ce15360aecaa8
[]
no_license
AveryBodenstein/Lepton-Balloon
0e57dae9c86a7a746229f658863dacc59a6ded5d
7f5a9a82cb33c16a918e0358c73f04c0ae14fe0f
refs/heads/master
2021-01-23T06:49:20.817022
2017-06-01T12:11:25
2017-06-01T12:11:25
86,401,438
0
2
null
2017-05-30T21:59:58
2017-03-28T01:31:53
C
UTF-8
C++
false
false
14,104
ino
LeptonCombined_Test.ino
#include<SPI.h> #include <Wire.h> #include "Adafruit_GFX.h" #include "Adafruit_ILI9340.h" // Pin definitions #define CS 10 #define LEDPIN 4 #define DISP_CS 9 #define DISP_DC 8 #define DISP_RST 7 //VoSPI packet sizes #define PACKET_LEN 164 #define FRAME_PACKETS 60 // I2C address #define ADDRESS (0x2A) // Subsystem c...
197e9894ad3548f183607c0945986b82d751df5c
fcd6d36bb045334ab1b1c6c011648d653e59904a
/main_window.cpp
fa3d8708eec2fe4f592a4e3df5c65765673225b3
[ "Apache-2.0", "LicenseRef-scancode-warranty-disclaimer" ]
permissive
mehulsbhatt/trainer-studio-opensource
3964fe4f92c2b4f04953b175987cac24989d92a9
c118910b229f980ea9d65846e2b39a60c1b22949
HEAD
2018-07-07T13:17:23.432413
2011-03-08T02:10:05
2011-03-08T02:10:05
null
0
0
null
null
null
null
UTF-8
C++
false
false
7,736
cpp
main_window.cpp
/* * Eleutian Trainer Studio Application Opensource Edition, a VoIP client with Webkit and Flash support. * Copyright (C) 2011, Eleutian Technology, LLC <http://www.eleutian.com> * * Version: Apache License 2.0 * * The content of this file is licensed under the Apache License, Version 2.0. (the "License"). * You...
6be935e823ad2bf37454bc4ca92c6a41c572b62a
7dfd4a6893cac76d3c8a261b559afa7d0e0540e0
/Bingo.cpp
990e7e98edeeb0f21abf3939170e0e58a48f3ed0
[]
no_license
aproape-integralisti/ECCPR-2021
d5af6574d2ea1385b13f9eade66ae3c5a86a8d70
f16f541c48e6bec80bb3e040a9620aaac416827b
refs/heads/main
2023-04-26T20:28:11.152222
2021-05-27T21:00:29
2021-05-27T21:00:29
367,937,876
0
1
null
null
null
null
UTF-8
C++
false
false
517
cpp
Bingo.cpp
#include <bits/stdc++.h> using namespace std; int main(){ unordered_set<int> mySet; int n, k; cin >> n >> k; for(int i = 0; i < n * n; i++) { int aux; cin >> aux; mySet.insert(aux); } for(int i = 0; i < k; i++) { int aux; cin >> aux; ...
3acf0006712c9536b67a1f8b1fd5c279f33b917f
daf28dc6c26d812e0d0e36294390a3d33ac0afae
/src/nist/RandomExcursionsTest.cpp
77407f2b31a20c3720923173604fbbbd1d05243d
[ "LicenseRef-scancode-public-domain" ]
permissive
Ashes17b/NIST_tests
2dd8746cc367219305744f5aac2218a4d0d11700
dfe9281dfeea5fc19da1ffa35346e585aa050b6a
refs/heads/master
2020-05-25T17:01:18.487951
2019-06-08T17:12:54
2019-06-08T17:12:54
187,899,547
0
0
null
2019-06-08T16:55:57
2019-05-21T19:19:02
C++
UTF-8
C++
false
false
8,443
cpp
RandomExcursionsTest.cpp
/* * File: RandomExcursionsTest.cpp * Author: jk * * Created on 14. Dezember 2010, 00:25 */ #include <cstdlib> #include <cstdio> #include <cmath> using namespace std; #include "Cephes.h" #include "Tools.h" #include "RandomExcursionsTest.h" RandomExcursionsTest::RandomExcursionsTest() : AbstractTest(), ...
ba7f6ea18783c62bf03bca48e062d9ab3648fdfb
31f5cddb9885fc03b5c05fba5f9727b2f775cf47
/thirdparty/eigen-3.3.3/doc/examples/Cwise_erf.cpp
e7cd2c1c0f7a43e834f10fb0fac6cd54f2ad1a2d
[ "MIT", "GPL-3.0-only", "LGPL-2.1-only", "BSD-3-Clause", "LGPL-2.0-or-later", "MPL-2.0", "LGPL-2.1-or-later", "Minpack" ]
permissive
timi-liuliang/echo
2935a34b80b598eeb2c2039d686a15d42907d6f7
d6e40d83c86431a819c6ef4ebb0f930c1b4d0f24
refs/heads/master
2023-08-17T05:35:08.104918
2023-08-11T18:10:35
2023-08-11T18:10:35
124,620,874
822
102
MIT
2021-06-11T14:29:03
2018-03-10T04:07:35
C++
UTF-8
C++
false
false
189
cpp
Cwise_erf.cpp
#include <Eigen/Core> #include <unsupported/Eigen/SpecialFunctions> #include <iostream> using namespace Eigen; int main() { Array4d v(-0.5,2,0,-7); std::cout << v.erf() << std::endl; }
709962d037a177c8dec31ebabda9e67a0d1ef38e
0804986c844b92e9fc6235049fd2b445f6996047
/Server/function.h
e7b658a3f39379a3f7335673256656a4272d630f
[]
no_license
choisungwook/2015SoftwareClass
772b6e0857594fd146262bddedce9d3de13cd4d5
a1dc8e8746005d344efdf53a8506c0f588c879e0
refs/heads/master
2020-12-25T15:51:04.509315
2015-12-08T20:44:30
2015-12-08T20:44:30
42,775,668
0
0
null
null
null
null
UTF-8
C++
false
false
789
h
function.h
#ifndef __FUNCTION_H__ #define __FUNCTION_H__ #define KEY_NOTFOUND -1 #define KEY_ADD -1 #define KEY_EXISTED 1 #define KEY_UPDATE 1 #define KEY_DELETE 1 #include "carArgument.h" #include <Windows.h> #include <map> #include <string> #include <vector> typedef carArgument carArg; typedef int(*commandFunction)(int, std:...
7e045654ca31f9f9410f899bdd231672de9f8b05
8f27ca75187c121d9a815b00517175bc523f1801
/Plugins/Voxel/Source/Voxel/Public/VoxelGraph/VoxelGraphCompiler.h
4473b92163f252a86e5b214a7669523d874c2021
[ "MIT" ]
permissive
Maverrin/FirstGame
9991e84df316fef6afe7606b29d01f1eb8c375de
9ff0eeb0948a4f223d31e03b2cbf35a955db9e9e
refs/heads/master
2022-05-09T17:45:15.904563
2019-11-08T18:14:45
2019-11-08T18:14:45
null
0
0
null
null
null
null
UTF-8
C++
false
false
3,723
h
VoxelGraphCompiler.h
// Copyright 2018 Phyronnaz #pragma once #include "CoreMinimal.h" #include "VoxelGraph/VoxelNode.h" #include "VoxelGraph/VoxelComputeNodeTree.h" class FVoxelGraphCompiler; class UVoxelGraphGenerator; class FVoxelCompilationNode; /** * Tree used to create the compute tree */ class FVoxelCompilationNodeTree { publi...
9e0b40db641a294c1fdf1116985aa899567ebfa5
73b9ef740524ca2e0dd299ad82f8c6e86bb44f70
/include/Metric.h
4c4215efaabe626c291482eab95dc0510c54b1d1
[ "MIT" ]
permissive
JohnBobSmith/convertit-git
78462c82c1b4fd7d03a9881026de444a6d4c7724
4b2393f7aecdc12f69820f2b41b1a6617cd62f5d
refs/heads/master
2020-05-24T05:29:49.540509
2017-03-18T21:10:53
2017-03-18T21:10:53
84,826,269
1
0
null
null
null
null
UTF-8
C++
false
false
969
h
Metric.h
#ifndef METRIC_H #define METRIC_H class Metric { public: //Print the output of our calculations. Optionally use unit symbols //IE character 'C' for Celsius as part of the output //1 = enabled 0 or any other junk = disabled void convHectaresToAcresAndPrint(float hectares, bool useUni...
cc9c51e54bdaf58764c4114a698fa20cf10a7441
b9aa2a3f1251649ab1e32f49d8ad21981ab7172d
/c++/src/utils/my_cblas_wrapper.h
3926598ceaec43dc363baaae013a24595b4b773e
[]
no_license
optml/24am
653b5b11e85169f72951746acb25ba72e78daa81
f9962213f15c818ba00413047041ef8e1f771857
refs/heads/master
2021-06-01T19:42:02.100324
2020-05-16T17:46:31
2020-05-16T17:46:31
37,703,782
8
1
null
null
null
null
UTF-8
C++
false
false
3,384
h
my_cblas_wrapper.h
/* * * This is a parallel sparse PCA solver * * The solver is based on a simple alternating maximization (AM) subroutine * and is based on the paper * P. Richtarik, M.Jahani, S. Damla Ahipasaoglu and M. Takac * "Alternating Maximization: Unifying Framework for 8 Sparse PCA Formulations and Efficient Paral...
7eab89b20ff7dfab50cbb2c9909be5d55ff1eb65
c38f2746e0fc168759f6147c5fc1d286ee08e94c
/Shared/UDPSender/UDPSender/Test/UDPSenderTest.cpp
536e983b74f6b39e7e9df6139a3b0f4bb4574f94
[]
no_license
cameronfrandsenjenkins/R-Pi-Cluster
0777dee77487f9ec8ba5b63d29c38eb6487e6b74
85b2cbc211747cfd1301517d17309a8a0d360ddb
refs/heads/master
2020-05-18T22:06:35.807521
2018-05-03T23:00:34
2018-05-03T23:00:34
null
0
0
null
null
null
null
UTF-8
C++
false
false
998
cpp
UDPSenderTest.cpp
#include <QtTest> #include "UDPSender/UDPSender.hpp" #include <iostream> class UDPSenderTest : public QObject { Q_OBJECT public: UDPSenderTest(); ~UDPSenderTest(); private slots: void initTestCase(); void cleanupTestCase(); void testDatagramConversion(); void testBytesSent(); }; UDPSenderTest::UDPSe...
209469f2df256856b73cf117ac15958b05a6d336
ae270aaa9709e8e143cf7a63587d97ea8856b9ab
/tests/uoam_tests/mainLocalUnitTestsYes.cpp
bb46b2dc7185b00e726807394dac5bd795c43ffe
[]
no_license
bumbosiepsak/xml_parser
63abba6c3484ab0f89ce6d6eaafa8adc07c3cceb
3e254b68766b01a4fa5269f8504ad5f4f7ddccde
refs/heads/master
2020-05-18T16:56:17.844629
2015-04-12T17:05:40
2015-04-12T17:05:40
33,825,309
0
0
null
null
null
null
UTF-8
C++
false
false
479
cpp
mainLocalUnitTestsYes.cpp
/** @b Project: Wump @file mainLocalUnitTests.cpp @author Szymon Gutaj @brief Main interface function to UOAM tests for "tests enabled" case @date 29-03-2011 @version 0.1 @b History: - 29-03-2011 - sgutaj - Initial creation */ #...
348d41100b573c35ee5a91215f6a1f5d00fedbef
f1fe94ceeb1bfbc7c42ee591f82d73233959b785
/UUDate.cpp
3bd78cfbf74b3dae075bab0faa29becb25b9be66
[]
no_license
UananHesketh/Push2
14a2179e292f7f3435d1df5e825a62558fe174f4
c5a88bf2100aecb6abf823a702bea67cbac6f2d6
refs/heads/master
2020-04-05T10:52:06.327139
2018-11-09T05:16:42
2018-11-09T05:16:42
156,813,554
0
0
null
null
null
null
UTF-8
C++
false
false
3,408
cpp
UUDate.cpp
/* * UUDate.cpp * * Version information * Author: TODO - Uanan Hesketh * Date: TODO - Add date you started working on the code * Description: This file is the implementation file for the UUDate class and defines (implements) the functions of the class * * Copyright notice - */ #include "UUDate.h" #includ...
42ec61b3c305028448296dd937750e6c8b9617e0
2ee075999b336de7bb747305887d4972db05b1d7
/Examples/SlidesCPP/MutableHyperlink.cpp
3d4598c6cdaf30b6c8c00ae5abf30fc2286d1403
[ "LicenseRef-scancode-proprietary-license", "MIT" ]
permissive
aspose-slides/Aspose.Slides-for-C
71b33abe29ffbd08595888db9248200f49c8962a
6b309e7944974cd3080371c0a5156796a9672991
refs/heads/master
2023-09-03T12:33:47.550667
2023-08-25T09:03:38
2023-08-25T09:03:38
115,446,199
22
11
MIT
2023-02-09T15:52:54
2017-12-26T18:36:16
C++
UTF-8
C++
false
false
1,101
cpp
MutableHyperlink.cpp
#include "stdafx.h" #include "SlidesExamples.h" using namespace Aspose::Slides; using namespace System; void MutableHyperlink() { //ExStart:MutableHyperlink SharedPtr <Presentation> presentation = System::MakeObject <Presentation>(); SharedPtr <IAutoShape> shape1 = presentation->get_Slides()->idx_g...
a5313effe4240af9a70a312340170bc64a8a3c05
90d1dcab25a8e2a60401269019f56b77922855d5
/Castlevania/ItemNormal.cpp
0c319cfca5f1bb3873509a1beccb94d2a98f1b46
[]
no_license
sonhungel/Castlevania
97b4991304d51fc42d94ef9d102da81bbf4f2542
8fe069fb2911db0969cc13fa1eb56a6c6dc47c4b
refs/heads/master
2021-05-22T15:13:28.532314
2020-11-28T03:09:39
2020-11-28T03:09:39
255,390,480
2
0
null
2020-07-24T12:56:54
2020-04-13T17:04:09
C++
UTF-8
C++
false
false
1,575
cpp
ItemNormal.cpp
#include "ItemNormal.h" void CItemNormal::GetBoundingBox(float& left, float& top, float& right, float& bottom) { if (state == STATE_ITEM_EXSIST) { left = x; top = y; right = x + width; bottom = y + height; } } void CItemNormal::LoadItem(int _type) { switch (this->type) { case eType::ITEM_KNIFE: { Add...
8b3376afdc532b8cf0c325f75012f61551f3cb2f
9cfcf67fbc5a00e39a9361d7d20ca10353cbed29
/src/cannaui.h
9925c104fc221f4ac41a303ece2116ca66ff504c
[ "BSD-2-Clause" ]
permissive
ftake/ibus-canna
bd46736705f9b049a6152eb0cb88e36dd094213e
cbe034fd009da0a5dc8fbc9a6a7ef51be417657e
refs/heads/dev
2020-05-16T22:27:41.812426
2014-12-25T13:47:38
2014-12-25T13:47:38
1,945,790
1
1
null
2014-10-29T15:12:09
2011-06-24T04:11:34
C++
UTF-8
C++
false
false
891
h
cannaui.h
#ifndef _CANNAUI_H #define _CANNAUI_H #include <string> #include <ibus.h> //define CANNA_WCHAR16 #define CANNA_NEW_WCHAR_AWARE #include <canna/jrkanji.h> #define DEBUGM(...) fprintf(stderr, __VA_ARGS__) typedef struct { } CannaUISettings; static const int BUF_SIZE = 1024; class CannaText { private: std::string ...
916d133eb97f5e39f6802a1bd35c2304e329bc42
fad46211a6f9c048952cee078bd9170a5b03f49b
/CharacterCreator/bodypart.h
59e5b6b9d5213288e99a08f8a3ab0e2777fc7ed2
[]
no_license
flyshuttle/OverKill-Festival
12b6c7c9ceda3d22154d8b21e53a9bb1eb6795e2
a4065097c8bc693e71eadb6ad5a926d062d1ad0f
refs/heads/master
2022-04-08T04:51:44.061498
2020-02-29T10:32:47
2020-02-29T10:32:47
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,170
h
bodypart.h
#pragma once #include <array> #include <QPixmap> #include <QPainter> #include <QGraphicsItem> #include <QRandomGenerator> class DrawingDialog; enum class BodyParts { Head = 0, Chest = 1, ArmLeft = 2, ArmRight = 3, ForeArmLeft = 4, ForeArmRight = 5, HandLeft ...
b1911e992ae4451be2516df800bd3accf040701b
b1b31d91cc189aa8564989951ba3ddb60c3d8d1b
/cradle/src/alia/ui/library/tables.cpp
b86f4465600b86f9cfa103fc0d4b04d3552c5908
[ "BSL-1.0", "MIT" ]
permissive
dotdecimal/open-cradle
4a9ce7a7658fc27379aaf3828e5e1eb99ddb215b
a3d3e198ccb64200ff3d820067597b07f1513de1
refs/heads/master
2022-07-08T06:37:27.530663
2022-06-28T13:11:58
2022-06-28T13:11:58
107,994,029
1
5
MIT
2022-06-28T13:11:10
2017-10-23T14:30:25
C++
UTF-8
C++
false
false
4,169
cpp
tables.cpp
#include <alia/ui/api.hpp> #include <alia/ui/utilities.hpp> #include <alia/ui/library/panels.hpp> namespace alia { struct table_cell_style_info { panel_style_info panel_info; substyle_data substyle; }; struct table_style_info { table_cell_style_info cells[6]; style_path_storage root_path_storage; }; ...
c5609edae5ae7299ccf87af3e099b835a67ec33a
5516d54a5ad386871f1a72f521debbafa0ef5911
/cpp-algorithm-club/cpp-algorithm-club/LinkedList/LinkedList.hpp
fd439813368a20ada2fccf1741641a0dfce7b9d7
[]
no_license
HackShitUp/cpp-algorithm-club
be7ba529f93fdabd181399c487aceb4f855448a2
a0328df152ddef5a45d5cb328ef2b06ce4e1baea
refs/heads/master
2021-10-10T14:49:40.969489
2021-09-27T23:37:30
2021-09-27T23:37:30
186,534,892
0
2
null
null
null
null
UTF-8
C++
false
false
761
hpp
LinkedList.hpp
// // LinkedList.hpp // cpp-algorithm-club // // Created by Joshua Choi on 5/13/19. // Copyright © 2019 Nanogram LLC. All rights reserved. // #ifndef LinkedList_hpp #define LinkedList_hpp #include <stdio.h> #include <cmath> #include <fstream> #include <iostream> #include <iomanip> #include <queue> #include <vecto...
3428243011854acde5a09e55bff5be17fb4c00b4
1df0f2dd40099cdc146dc82ee353e7ea4e563af2
/rhizoid/GrowForest.h
9316e75c5a9fc5d4a23d3f9f735b1e95151a085e
[]
no_license
chuckbruno/aphid
1d0b2637414a03feee91b4c8909dd5d421d229d4
f07c216f3fda0798ee3f96cd9decb35719098b01
refs/heads/master
2021-01-01T18:10:17.713198
2017-07-25T02:37:15
2017-07-25T02:37:15
98,267,729
0
1
null
2017-07-25T05:30:27
2017-07-25T05:30:27
null
UTF-8
C++
false
false
2,698
h
GrowForest.h
/* * GrowForest.h * proxyPaint * * Created by jian zhang on 2/1/16. * Copyright 2016 __MyCompanyName__. All rights reserved. * */ #ifndef APH_RHI_GROW_FOREST_H #define APH_RHI_GROW_FOREST_H #include "Forest.h" #include "GrowOption.h" #include "CollisionContext.h" namespace aphid { class ForestCell; class ...
0f845e9281212cd45ede8ec8422126fcf36a5cdd
837162776da55243444a7dce3e98c69f25071d17
/src/assembler/RunCohort.h
ccff5249945162ed9431f92a861cb658b7899f2e
[]
no_license
vppatil/temVijMods
e1b6a10559c2afc29854ae77e107e4c4c747505c
5f9abc23d7b626feaa3d1e58a860aa945068cedc
refs/heads/master
2020-12-24T17:17:19.553771
2014-02-20T04:25:17
2014-02-20T04:25:17
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,550
h
RunCohort.h
/* * This class is used to run a cohort: from input to output * */ #ifndef RUNCOHORT_H_ #define RUNCOHORT_H_ #include <iostream> #include <vector> using namespace std; //local headers #include "../input/CohortInputer.h" #include "../input/RestartInputer.h" //#include "../input/SiteInputer.h" ...
77d287ee781e0f33f2eadb1438431018d78e01ab
abe86db153bdd8dd829dc5b76a303d04ee43280d
/src/Characters.cpp
ed6b53b56925ede8ef14deff772fb1ba594b9dc1
[]
no_license
ASalazar46/ToKWJ
7b993c930b65bf27c939ac91e64f9a247e4a458c
d1f02d7ed5f4b27435d8368a8785db91f6d7d87b
refs/heads/main
2023-08-01T11:50:38.378998
2021-09-13T22:41:20
2021-09-13T22:41:20
406,148,857
0
0
null
null
null
null
UTF-8
C++
false
false
2,414
cpp
Characters.cpp
#include "Characters.hpp" /* private: std::string name; int goodpoints; int evilpoints; int HP; int defense; int strength; int wisdom; std::vector<std::string> pouch; */ //constructor Unit::Unit (std::string bob, int hp, int def, int str, int wis) : name(bob), goodpoints(0), evilpoints(0...
50e4def734651b2921f293693151a71a7a78ab2f
90f9789d0618d88c845b14c80d8907700f306dfb
/test/modu6 1 xau mu b chia mod cho c.cpp
61a727ba8f87047ed47beed0d00c5504c3be7501
[]
no_license
NguyenMinhThuan24112001/CPP_PTIT
839251a8db4f78a8ef92e6983e5d05d38cc0dde8
8dbd00ed503a966c754881010882bc97d07570f9
refs/heads/master
2023-05-07T12:57:31.741372
2021-06-02T11:13:47
2021-06-02T11:13:47
373,137,713
0
0
null
null
null
null
UTF-8
C++
false
false
484
cpp
modu6 1 xau mu b chia mod cho c.cpp
#include<bits/stdc++.h> using namespace std; long long solve(long long a,long long b,long long c){ a%=c; long long res=1; while(b){ if(b%2==1){ res*=a; res%=c; } a*=a; a%=c; b/=2; } return res; } void solve2(string a,long long b,long long c){ long long res=0; for(int i=0;i<a.length();i++){ res=...
210d08ab74352e0e08e8a16f127cf889d6718e96
cffa65418093bf40178965234bff1b99a87e92f3
/7/SlnPipes/InOut/InOut.cpp
565067cafbf6207dae88c2932075067d14463408
[]
no_license
asntr/OSLabs
12966b130ea444e3e924c6b7058aedf704af8e27
81e8febe9e1c443c7e006ee1e9d929acf9162074
refs/heads/master
2021-01-01T05:11:54.766467
2016-04-29T12:06:29
2016-04-29T12:06:29
55,989,692
0
0
null
null
null
null
UTF-8
C++
false
false
202
cpp
InOut.cpp
// InOut.cpp : Defines the entry point for the console application. // #include "stdafx.h" int main() { int c, n = 0; while ((c = getc(stdin)) != EOF) { putc(c, stdout); putc(c, stdout); } }
af92769a57674396efab5001db8d48fba5e1d01e
413c9ad321a75ed646aef7fb9f2c530dcab4ec37
/A/Beautiful_Matrix/kabirdutt.cpp
aec34041a641c1deebe330317d831e195aca87b3
[]
no_license
learningtohack/Competitive-Programming
b1475b08cc1b98a3683c61d54f13bc239c5f1d0f
96a74258a512f176d968db92e7b841ddf6138397
refs/heads/main
2023-01-10T12:28:12.416427
2020-10-31T14:46:03
2020-10-31T14:46:03
308,891,745
1
0
null
2020-10-31T14:46:04
2020-10-31T13:47:20
C++
UTF-8
C++
false
false
623
cpp
kabirdutt.cpp
#include<iostream> #include<bits/stdc++.h> using namespace std; int main() { int matrix[5][5], row = 0, column = 0; //intializing variable for (int i = 0; i < 5; i++) //loop for rows { for (int j = 0; j < 5; j++) //loop for columns { cin >> a[i][j]; //taking input the m...
1e148ca0b19b84c7f578b0c716be5992b395d170
189a10bd39e004c61737e736472059a95dcad2b2
/tests/particle-03.cc
a7e92216758c74cac7500a324c21b10c6d247f7b
[]
no_license
dklong-csu/mepbm
164b9024f78b622ad41c3e3383854311a2734cab
afba336aa9379758caee5f56cd02d8c286eadbd9
refs/heads/main
2023-06-07T11:38:53.395531
2023-06-06T13:56:30
2023-06-06T13:56:30
283,408,189
0
0
null
2023-06-06T13:56:32
2020-07-29T05:35:31
C++
UTF-8
C++
false
false
348
cc
particle-03.cc
#include "src/particle.h" #include <iostream> // This tests the size function of the Particle class. int main () { MEPBM::Particle my_particle(1,5,3); for (unsigned int i=my_particle.index_start; i<=my_particle.index_end; ++i) { auto s = my_particle.size(i); // sizes should be: 3, 4, 5, 6, 7 std::c...
fe50850b115ad95107527c4558a768a691e50758
e48e08f84e3ffe8eefdceb2efd2388478662f998
/include/private/redis/asynchiredisdatabasediscovery.hpp
6d41042a007aebec9aa211df9e3a1734ff919477
[ "CC-BY-4.0", "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
o-ran-sc/ric-plt-sdl
a2d815404253579153816d26f7f86847cd4172bd
e9e0a5a2e3daa768d290be3cb21195df68bb80ce
refs/heads/master
2023-06-22T12:09:57.055960
2022-12-02T11:55:46
2022-12-02T11:56:48
222,796,952
0
0
null
null
null
null
UTF-8
C++
false
false
2,467
hpp
asynchiredisdatabasediscovery.hpp
/* Copyright (c) 2018-2019 Nokia. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in...
af610a17a8f40c4084c1341866a80b2db6f41acb
92136447fcdf86057be90d52ca33b5e67a1fd253
/pyxmolpp/geometry/exceptions.cpp
65687317fb7802045fcaca5e5a4bee190a6e8a6a
[]
no_license
bionmr-spbu/pyxmolpp2
b874722a8bb0d233e72a0eb55847a49da1727d55
4e3973b8af598b236c1bf52f4e3efc464a5469aa
refs/heads/master
2020-09-20T04:16:36.753535
2019-10-29T10:10:55
2019-10-29T10:10:55
224,374,675
0
0
null
2019-11-27T07:52:27
2019-11-27T07:52:27
null
UTF-8
C++
false
false
437
cpp
exceptions.cpp
#include "init.h" #include "xmol/geometry/exceptions.h" void pyxmolpp::geometry::init_exceptions(pybind11::module& geometry) { auto base = py::register_exception<xmol::geometry::GeometryException>(geometry, "GeometryException"); py::register_exception<xmol::geometry::BadRotationMatrix>(geometry, "BadRotationMatri...
4f769ea97de17e10219e391665b142af127b2f3c
6319526eb071e9f4ff32c567b39d4f85475ca8ac
/src/frontend/ilexer.h
47f853498cd1849fdd18b8ff8515010d262d0e4b
[]
no_license
iptyshew/Ymir
3df0ec56ccbd3fa5a2735dde0c1bd59b536ef66b
7b3a14d3af98a742a75cd52b13243604dafb4486
refs/heads/master
2021-06-24T21:00:57.569804
2020-11-22T13:14:27
2020-11-22T13:14:27
160,677,620
1
0
null
2020-11-22T13:14:47
2018-12-06T13:19:18
C++
UTF-8
C++
false
false
596
h
ilexer.h
#pragma once #include <variant> #include <optional> #include <string> namespace ymir { enum class Token { OpenParenthesis, // ( CloseParenthesis, // ) Comma, // , Semicolon, // ; Plus, // + Minus, // - Star, // * Slash, /...
494c43b0ee0e9668fe6bf50d7fff000d3d61612a
9c84604a3ea2957c46b57a3e513d390b9b0606f3
/src/shell/commands/CmdHelp.cpp
18ecc0b632bd12f6f45ca0fe1765b07f52617bd2
[ "MIT" ]
permissive
amsobr/iotool
ace2b8dc11dad936712e7cf8e3834a5d0680077b
a91a0d5d00136ff946a18f5584e6029ffaa3d0fe
refs/heads/master
2022-07-10T19:51:44.428427
2022-06-25T10:40:56
2022-06-25T10:40:56
177,014,878
0
0
null
null
null
null
UTF-8
C++
false
false
1,498
cpp
CmdHelp.cpp
// // Created by to on 28/02/22. // #include <rps/Context.hpp> #include <rps/Script.hpp> #include <rps/AbstractCommand.hpp> #include "CmdHelp.hpp" void CmdHelp::run(rps::ContextPtr& ctx, rps::ArgumentList const& args) const { if ( args.isEmpty() ) { auto [ cmds, scripts, children ] = ctx->listAll(); ...
e94f43427e30c9a8175395680b68077e1ac9a937
1244b1bae6c76f8c068fcbfcee84aec6fda68ec6
/Engine/Assert/Assert.h
bf01a7972ee8cf89737dffbbbfdda37ae1f202df
[]
no_license
chadha02/Memory-Manager
8ea94305203122222cbef862e4f3153a1bdccf9d
ef943808da6d091579872cd5abb5b90fe226efee
refs/heads/master
2021-01-13T05:00:19.350974
2017-02-07T05:05:45
2017-02-07T05:05:45
81,167,628
1
0
null
null
null
null
UTF-8
C++
false
false
470
h
Assert.h
#ifndef ASSERT_H #define ASSERT_H #define DEBUGGER_BREAK __debugbreak() namespace Engine { bool _MessagedAssert(const char * i_pExp, const char * i_pMessage, const char * i_pFile, unsigned int i_LineNo); } #ifdef NDEBUG #define MessagedAssert(_Expression,_Message) ((void)0) #else #define MessagedAssert(_Expr...
37027b8be6edecb9ae89fff591566f5336ba0140
55129e7e8d84580b1215df7c2c5688776a4b8861
/src/filesProcessing_13519083.h
ba818b67c590aca739b3dcbd030acaedf5a6a1a7
[]
no_license
salyamevia/IF2211-Tucil2-RencanaStudi
54ec027d9521ccb6ce77692605d0c18c3fa842e7
615e5b7541150801d8578b83db0beef9bf713644
refs/heads/master
2023-03-17T21:28:04.745177
2021-02-28T15:42:26
2021-02-28T15:42:26
342,824,607
0
0
null
null
null
null
UTF-8
C++
false
false
363
h
filesProcessing_13519083.h
#ifndef FILESPROCESSING_13519083_H #define FILESPROCESSING_13519083_H #include <iostream> #include "Graph_13519083.h" using namespace std; Graph filesToGraph(string filename); vector<Vertex> filesToVertex(string filename); int countFileLine(string filename); bool isCommaSpaceDot(char c); string removeSpace(string st...
87f90cca95bfacab7a7adbf3c465b6ce5b701482
3af68b32aaa9b7522a1718b0fc50ef0cf4a704a9
/cpp/E/A/E/AEAE.cpp
ec4d92b8cfb0a9cecc541fb8489da691e251dacb
[]
no_license
devsisters/2021-NDC-ICECREAM
7cd09fa2794cbab1ab4702362a37f6ab62638d9b
ac6548f443a75b86d9e9151ff9c1b17c792b2afd
refs/heads/master
2023-03-19T06:29:03.216461
2021-03-10T02:53:14
2021-03-10T02:53:14
341,872,233
0
0
null
null
null
null
UTF-8
C++
false
false
487
cpp
AEAE.cpp
#include "AEAE.h" #include "A/AEAEA.h" #include "B/AEAEB.h" #include "C/AEAEC.h" #include "D/AEAED.h" #include "E/AEAEE.h" namespace AEAE { std::string run() { std::string out("AEAE"); out += std::string(SEPARATOR); out += AEAEA::run(); out += std::string(SEPARATOR); out += AEAEB::run(); out += std::strin...
17416b89b3d28cba49869d1dbe2ab92f03af013d
ce6bd0ef064f33a0fab3cc6f3038bf2ae8547917
/FibrisTerre/Measurement.h
592ea5186be007d156a389e36833c85d481ee963
[]
no_license
youssefmyh/Measurement
b5040f7f01cca2156bf3fe8fdbd4ed25c4e827eb
123bd7e2f3d8491057dd8e7b9e72a912ef65dbf5
refs/heads/main
2023-03-18T14:11:00.481684
2021-03-12T16:33:14
2021-03-12T16:33:14
347,129,754
0
0
null
null
null
null
UTF-8
C++
false
false
507
h
Measurement.h
#pragma once #include <string> #include <vector> class Measurement { public: Measurement(std::string name,uint32_t length,std::vector<double> data,std::string command):mName(name),mLength(length),mData(data), mOrginalCommand(command){ } const std::string& GetName() const; std::vector<double>& GetData(); uint32_t ...
ef45cc6f55fbb8f57c24ee2ddcc7948b32e86c6a
6697cd726d4cd3744ae52a7d5618f4ad107befba
/CP/1500/Global8B.cpp
05ee29ffaa8017ef51bab085df19aee5271e5430
[]
no_license
Saifu0/Competitive-Programming
4385777115d5d83ba5140324c309db1e6c16f4af
ecc1c05f1a85636c57f7f6609dd6a002f220c0b0
refs/heads/master
2022-12-15T09:11:53.907652
2020-09-08T08:20:44
2020-09-08T08:20:44
293,743,953
0
0
null
null
null
null
UTF-8
C++
false
false
975
cpp
Global8B.cpp
// ----- In the name of ALLAH, the Most Gracious, the Most Merciful ----- #include<bits/stdc++.h> using namespace std; #define NINJA ios_base::sync_with_stdio(0); cin.tie(0); cout.tie(0) #define fo(i,n) for(int i=0;i<n;i++) #define Fo(i,k,n) for(int i=k;i<n;i++) #define for1(i,n) for(int i=1;i<=n;i++) #define dloop(i...
cd745d7d31550681ad6626a40dc1d230de0f38f2
9c36cbf7eb6ec7bd7930b13da4b3ec145f45a74d
/Client/Replies/delete_ng_reply.cc
b904a800bc5a4b59fdb8057638ed3a25e2a1c34f
[]
no_license
Roxling/EDA031proj
ef543c669005415e2bec149df333f7dd5edb5d4b
0a9e84fe6483c822059dcbf41faa785be0afc7d1
refs/heads/master
2021-01-13T01:36:33.212385
2014-03-29T13:32:06
2014-03-29T13:32:06
null
0
0
null
null
null
null
UTF-8
C++
false
false
538
cc
delete_ng_reply.cc
#include "Reply.h" #include <vector> #include <string> #include <iostream> #include "delete_ng_reply.h" using byte = char; delete_ng_reply::delete_ng_reply(const Connection& conn){ byte command = conn.read(); if(command == protocol.ANS_ACK){ ans = "NewsGroup deleted."; }else if(command == protocol.ANS_NAK){ if...
84aba7a685cfb2c0a39498f0f86443302a1c4c22
69d9b387b724965ca457655ec1518e28706bbeb6
/customview/mainwindow.h
9e870613a375da66e6a10927e336cd8f1a3e0bea
[]
no_license
rainInSun/QtLearn
e40960836e1d4f2c681c200d2548ffe8f24c0b39
396144ab80e56eab4e973f3087ee18a4ba018d14
refs/heads/master
2022-12-04T04:20:38.137934
2020-08-23T12:23:19
2020-08-23T12:23:19
282,624,425
0
0
null
null
null
null
UTF-8
C++
false
false
691
h
mainwindow.h
#ifndef MAINWINDOW_H #define MAINWINDOW_H #include <QMainWindow> class QStandardItemModel; class QTableView; class QMenuBar; class QMenu; class QAction; class QSplitter; class HistogramView; class MainWindow : public QMainWindow { Q_OBJECT public: MainWindow(QWidget *parent = nullptr); ~MainWindow(); p...
eee44c1ad74a51700e7004fcd481fcf522ecff95
b5b26ef51f513c52db8a5cbb5f2e1302376a1a53
/src/bluetooth/BtLocalDevicesManager.hpp
88f3c3eb9a66df717b3169e4fd2d1ebb4c9b230e
[]
no_license
dmarc0001/spx42Control
e1a99f8416add2955183e80fca354ab5f09ec6e2
55dc266f05388793bb29b54233b6684508db712c
refs/heads/master
2021-07-08T00:30:03.577217
2021-03-25T08:40:58
2021-03-25T08:40:58
67,631,728
0
1
null
null
null
null
UTF-8
C++
false
false
1,465
hpp
BtLocalDevicesManager.hpp
#ifndef BT_LOCAL_DEVICES_MANAGER_HPP #define BT_LOCAL_DEVICES_MANAGER_HPP #include <QBluetoothAddress> #include <QBluetoothDeviceDiscoveryAgent> #include <QBluetoothDeviceInfo> #include <QBluetoothLocalDevice> #include <QObject> #include <memory> #include "logging/Logger.hpp" namespace spx { class BtL...
43af37b5a88287157eef2c28136e71a1ca85b705
b44ec918069a8e87a69ee581f462493633222400
/Collection/Flexible_vector.cpp
72acf5fe27e827b05bd97b98f8f36101077092c0
[ "Apache-2.0" ]
permissive
neo-white/HPML
a4f91afd28bd715c7b90e22275242e6878e2e69e
f92a14f1fb41156e11bc5d1ed349d238bc63b720
refs/heads/master
2021-01-10T07:06:32.925572
2015-11-16T09:25:23
2015-11-16T09:25:23
45,326,126
0
0
null
null
null
null
UTF-8
C++
false
false
3,050
cpp
Flexible_vector.cpp
/* ID: neo-white LANG: C++ TASK: Flexible_vector.cpp */ #include "Flexible_vector.h" void exit_input_error(int line_num) { fprintf(stderr,"Wrong input format at line %d\n", line_num); exit(1); } void Flexible_vector::Load(std::string filename) { prob = Read_file_without_index(filename); } //Collection* part...
baff67edc07ccbdb8e5dcce330caeadee56e4806
a679dba6ef0364962b94ed65d0caad1a88da6c43
/OrginalServerCode/OrginalCode/shushanchuangqi/Svn/server/code/DemonTowerCFG.cpp
0646f50e24ff1f8a9495e5b3524bb5c1d153148d
[]
no_license
w5762847/Learn
7f84933fe664e6cf52089a9f4b9140fca8b9a783
a5494181ea791fd712283fa8e78ca0287bf05318
refs/heads/master
2020-08-27T05:43:35.496579
2016-12-02T12:16:12
2016-12-02T12:16:12
null
0
0
null
null
null
null
UTF-8
C++
false
false
4,906
cpp
DemonTowerCFG.cpp
// ******************************************************************************************************/ // 这个是工具自动生成的表代码,这个里面的任何更改在下次生成之后会变得无效,请注意!<UTF-8 With BOM> // 文件名: SDemonTowerCFG.cpp // Copyright(c) 2012-2100 上海恺英网络科技有限公司,All rights reserved. // ******************************************************...
de0c64e84f2f3f3696e2f76283a20209366416bc
166907f73594e9b24092a1880677b39713bf62f5
/App/Engines/GeneratorEngine/Instructions/Paths/PathsLinearAlizer.cpp
efbdc22e80af5a0128ea7912197ca1d524256e18
[]
no_license
robillardstudio/Images-Generiques
941cf236cd79472155be7e22ac99ba68199bd47c
68bdfb3370c031b797dc5069052af571850b8515
refs/heads/master
2023-08-24T16:24:27.339939
2021-10-29T12:01:57
2021-10-29T12:01:57
null
0
0
null
null
null
null
UTF-8
C++
false
false
617
cpp
PathsLinearAlizer.cpp
#include "PathsLinearAlizer.hpp" Instruction * PathsLinearAlizer::get() { return new PathsLinearAlizer(); } /// OK FOR V2 std::vector<VectorImage *> PathsLinearAlizer::execute(std::vector<VectorImage *> &vectorImages) { glm::mat4 tempCursor; for(VectorImage * vImage : vectorImages) { for(Shape &shape : *vImag...
f22cfc4438e00a6c6a634b576fa37675c306e2ee
864759118c57fca6ae1cf6348f71921a8336a7cc
/Classes/TurnplateLayer.cpp
66fff194f8e225b2053a6da910ad1abbdfb6681b
[]
no_license
droidsde/paopaolong
117d727cf3e283bd0247f9f4e6553f42b4bc3bb0
052abee0936a89c20410a8830a71c62ce87550ae
refs/heads/master
2020-07-05T01:54:25.156154
2019-06-28T14:19:28
2019-06-28T14:19:28
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,090
cpp
TurnplateLayer.cpp
#include "TurnplateLayer.h" #include "StartScene.h" #include "editor-support/cocostudio/CocoStudio.h" #include "ui/CocosGUI.h" #include "UserData.h" using namespace cocostudio::timeline; bool TurnplateLayer::init() { if (!Layer::init()) { return false; } _turnplateNode = CSLoader::createNode("TurnplateLayer.cs...
03339d467f08665258096f202510249f2c42208c
f7c601bb6cb3eb35ecf17568e96e42ca6ccf8e6f
/信息检索系统/include/PageLib.hpp
e6b09efae0f3ea0b33bda9b4fb0e8fd422359435
[]
no_license
qingtongWU/projects
24428058300a5eaa3e932d20c026ce6ffa6947d6
03fb45fee6136bdf5e2923bb368287b83a5a2e71
refs/heads/main
2023-07-29T05:24:50.835823
2021-09-15T09:43:07
2021-09-15T09:43:07
399,795,771
0
0
null
null
null
null
UTF-8
C++
false
false
852
hpp
PageLib.hpp
#ifndef __PAGELIB_HPP__ #define __PAGELIB_HPP__ #include "DirScanner.hpp" #include "Configuration.hpp" #include "tinyxml2/RssReader.h" #include <vector> #include <string> #include <map> using std::map; using std::pair; using std::string; using std::vector; namespace wd { class PageLib { public: ...
e609291c9233974ebbeea685ccd0a8e0db2dd01d
b148d8082d0ba3df28a4631030c267945b2e8624
/src/Server/ServerLogic/ServerLogic.Unit/TestSessionManager.hpp
c11a40361db299656ffa12bbed943a3be88b056c
[]
no_license
vividos/MultiplayerOnlineGame
eff8d816ffdef03d3c1781a677ec712c847636cd
cc9b0963fa1ad80428efcfd4bcf4e8d45d22176e
refs/heads/master
2020-05-18T16:46:36.682075
2019-10-25T21:51:29
2019-10-30T08:21:30
10,821,789
1
2
null
null
null
null
UTF-8
C++
false
false
1,309
hpp
TestSessionManager.hpp
// // MultiplayerOnlineGame - multiplayer game project // Copyright (C) 2008-2014 Michael Fink // /// \file TestSessionManager.hpp Session manager for unit tests // #pragma once // includes #include "ISessionManager.hpp" #include "Session.hpp" #include "RawMessage.hpp" #include <vector> class TestSessionManager: publ...
51d22eeef595b92370fab5df2ae3275c54ad60ab
fa51476f59090062e00c62c5d572da7466e32746
/sensor/src/classes/sensorhandlers/factories/default_handler_factory.cc
4b72cbbe0927ea45c991b2a105bac9b5c6e252b8
[]
no_license
dolle39/apmaskin
f62d35576a23f0f2799afedbc16b82bfa35d821b
e23c6e1ce6a2bc53064b5785b8c378da5b8fe1a0
refs/heads/master
2016-09-03T06:40:43.116072
2015-03-05T19:58:08
2015-03-05T19:58:08
24,994,415
0
1
null
null
null
null
UTF-8
C++
false
false
867
cc
default_handler_factory.cc
/* * Definition of a default concrete factory for the abstract factory pattern. * This factory returns different concrete implementations I2Chandler interface. * The factory is intended to be used by the IMU-class for dependency injection. */ #include "../acc_and_mag_handler.h" #include "../gyroscope_handler.h" #inclu...
2026902bbbafc9d4fbe261888c33ec7f99d6ace8
c976078bf8dde5baf96416d60dd3bb06c72111ad
/test/performance/video/VideoTestPublisher.hpp
8f0934cce2da2b5b48427ee42a0b0e2a3fd79a01
[ "Apache-2.0" ]
permissive
eProsima/Fast-DDS
21f3fecacca5a285ad9950b7683456c6f9930a4d
107ea8d64942102696840cd7d3e4cf93fa7a143e
refs/heads/master
2023-08-31T14:56:45.942016
2023-08-11T11:40:25
2023-08-11T11:40:25
20,296,703
1,225
463
Apache-2.0
2023-09-14T11:33:09
2014-05-29T14:36:15
C++
UTF-8
C++
false
false
4,477
hpp
VideoTestPublisher.hpp
// Copyright 2016 Proyectos y Sistemas de Mantenimiento SL (eProsima). // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless re...
8c939d11287d51b66bbd4a979b8e83e6fb4edd67
e72a48ffff811f4a73b12ead24dfebc961b9e13e
/plugins/triangle/triangle_make_hull.cpp
6f5cfab910047381a90fa14a728377e61ef24556
[]
no_license
In-Ki-Kim/viennamesh-dev
354f5fb49a36e43d9ca441c06c929db1ca80d7ff
6fe645b36557275dc23ac83256dbe6c283a9e312
refs/heads/master
2022-04-08T12:46:59.654293
2020-03-10T11:41:31
2020-03-10T11:41:31
null
0
0
null
null
null
null
UTF-8
C++
false
false
13,543
cpp
triangle_make_hull.cpp
/* ============================================================================ Copyright (c) 2011-2014, Institute for Microelectronics, Institute for Analysis and Scientific Computing, TU Wien. ----------------- Vie...
af55f5b73a71660ae28b74f71f50f9bc6485804c
36de1033a8ba7ed4be4c1d416595d3f8856283c3
/POSN first camp/DAY 1/P10.cpp
4f269d8d01b26feb45be607b4dd543203a4a512b
[]
no_license
Sav-eng/C
d9f21f5d05b955555e74ac73548b28ebb5043d78
99393603a1833b386ff4832b5ca44feae4529ec8
refs/heads/master
2021-11-22T22:13:12.059015
2021-11-07T08:29:45
2021-11-07T08:29:45
167,829,396
0
0
null
null
null
null
UTF-8
C++
false
false
139
cpp
P10.cpp
#include<stdio.h> main() { int i,T=2,R; for(i=1;i<=12;i++) { R = i*T; printf("%d x %d = %d \n",i,T,R); } }
7485cab3f1e90c735f4903971ed2a7d639d2af5a
d9fddf9463f5f6cbcfce0676848762eaaa89d44a
/hordeviahttp.cpp
e398b0e21490ad9e114bd33d3ab412267a8f0dc0
[]
no_license
ChristopherRabotin/GLaRDDOS
62c4804efd445d66a0e2582bfb74f05222b72705
fc05255d1adc1969b750a87fd6855e2d91b2a2c4
refs/heads/master
2020-06-30T00:40:52.337350
2015-01-19T23:27:32
2015-01-19T23:27:32
29,501,919
0
0
null
null
null
null
UTF-8
C++
false
false
923
cpp
hordeviahttp.cpp
#include "hordeviahttp.h" HordeViaHTTP::HordeViaHTTP(){ std::cout << "HTTP" << std::endl; } void HordeViaHTTP::connectToPortal(QString portal, QString room, QString extension){ manager = new QNetworkAccessManager(this); reply = manager->get(QNetworkRequest(QUrl(portal+":"+extension+"/"+room))); connect...
c04847e3cd7623b82ad57c498b848a87456b7f63
b22588340d7925b614a735bbbde1b351ad657ffc
/athena/MuonSpectrometer/MuonCalib/MuonCalibNtuple/MuonCalibNtuple/TgcRawHitNtupleBranch.h
29d68292da69541e2cd8f006ce580c5699050d4c
[]
no_license
rushioda/PIXELVALID_athena
90befe12042c1249cbb3655dde1428bb9b9a42ce
22df23187ef85e9c3120122c8375ea0e7d8ea440
refs/heads/master
2020-12-14T22:01:15.365949
2020-01-19T03:59:35
2020-01-19T03:59:35
234,836,993
1
0
null
null
null
null
UTF-8
C++
false
false
3,018
h
TgcRawHitNtupleBranch.h
/* Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration */ // TgcRawHitNtupleBranch.h // Header file for class MdtRawHitNtupleBranch /////////////////////////////////////////////////////////////////// // (c) ATLAS Detector software //////////////////////////////////////////////////////////////////...
1e9f6c4fd096c78f99015a489d01950ed2300858
46dca23775859b0a241743674915b157a870fe64
/conversion_format.h
e7e9148e48d93be885748bbed94c7ddf5ebf171e
[]
no_license
Qww57/Reco
01cb2bae1dca60b03b2d6e2d8cc0d54246926992
ea94315ad9c8fa650f431d588cbd1cf3c5e6f8ce
refs/heads/master
2020-04-08T06:21:56.882935
2015-01-17T13:34:51
2015-01-17T13:34:51
29,305,706
0
0
null
null
null
null
UTF-8
C++
false
false
1,562
h
conversion_format.h
/** * \file conversion_format.cpp * \brief programmes de conversion des types * \author Quentin.T * \version 0.1 * \date 13 janvier 2015 * * Partie dédiée aux différentes fonctions de conversions * des types de données utilisés par le reste des programmes * */ #ifndef CONVERSION_FORMAT_H #define CONVERSION_...
76c98223dfdfe3bc0d8c89073d0b2116fe9bbdea
e4b08afea21ccc1b351a6322e4755b711eac19a9
/baekjoon5622/baekjoon5622/main.cpp
7820dc571d390075214a98dbfbe3c59f56a5728e
[]
no_license
tkdlqjzotl/C-study
bdcc179c322677ff0aa6c9896b1177f235e332aa
284380162b2b113d41e0c17ab8f5745d024c19c0
refs/heads/master
2023-06-16T13:55:47.351993
2021-07-02T21:34:02
2021-07-02T21:34:02
229,262,841
0
0
null
null
null
null
UTF-8
C++
false
false
1,032
cpp
main.cpp
#include <stdio.h> #include <string> #include <iostream> using namespace std; int main() { string s ; std::cin >> s; /* if (s.length() < 2 || s.length() > 15) { return 0; } for (int i = 0; i < s.length(); i++) { if (int(s[i]) < 65 || int(s[i])>92) { return 0; } }*/ int min_time=0; for (int i =...
e1ce2d7ff43e86fa62512743d3947bc90bd48db5
b189a390b59ae8eb9e111077f5a95816a4cf2da9
/硬件烧写资料/WSN_Relay_V20继电器/WSN_Relay_V20.ino
c795f97518e08ff797509b602343ed9796b3bdf0
[]
no_license
VincentWzw/Owl_Environmental_security
fe54f64e137a6858020278e492a0d29f762afea5
ca6e311f2551e4190246e4450d5e4da0315799f0
refs/heads/master
2020-03-18T16:01:42.030248
2018-05-26T08:14:35
2018-05-26T08:14:35
134,942,791
1
0
null
null
null
null
GB18030
C++
false
false
2,031
ino
WSN_Relay_V20.ino
int relay1 = 2; int relay2 = 3; int relay3 = 4; int relay4 = 5; int add1 = 0x20;//需要修改为需要的地址 int add2 = 0x57;//需要修改为需要的地址 int runLed = 7; bool led = 0;//用来切换LED亮灭 unsigned char hexdata[9] = {}; unsigned char hex; unsigned char hexsent[9] = {}; void setup() { pinMode(relay1, OUTPUT); pinMode(relay2, OUTPUT); pinMode...
27d83d40f13346ef9ef532f5266722ae7d220038
b4abe7c340f9621113c726dec37aa879d42db60e
/src/VTNodeModule.cpp
b22740294c78f02161217eb2387b63bf4ea8a7a7
[]
no_license
onitama/knowbug
06c6f2ac75f04879044bedb3afdbe12f82cba4bb
4bb6b495b12bc59e5b807a4f19b4bdff7bf51737
refs/heads/master
2020-05-24T06:12:39.428397
2019-01-02T06:40:12
2019-01-02T06:40:19
null
0
0
null
null
null
null
UTF-8
C++
false
false
3,615
cpp
VTNodeModule.cpp
 #include <map> #include "module/utility.h" #include "DebugInfo.h" #include "config_mng.h" #include "VarTreeNodeData.h" using std::map; string const VTNodeModule::Global::Name { "@" }; struct VTNodeModule::Private { VTNodeModule& self; VTNodeData& parent_; string const name_; map<string, unique_ptr<VTNodeVar>> ...
64e5aef2e967a5f1e465fb6a8bd6b0861ce00279
6204fae696932f831d18b77bc1ebcc2cb1bff1df
/acm-icpc/2019-2020/nerc-north-western/D.cc
c98bd0e5652c105fbc1d91a9674e5128c9e044c5
[]
no_license
Pentagon03/competitive-programming
3e725bab66ba75f5e8c8489bada41c5ee51fed91
8ca7cec0ff7bb7c096d4b8d7100840cef6ae0c99
refs/heads/master
2022-11-15T15:36:18.595463
2020-07-02T15:27:37
2020-07-02T15:27:37
287,737,119
1
1
null
null
null
null
UTF-8
C++
false
false
678
cc
D.cc
#include <cstdio> #include <vector> using int64 = long long; const int mod = 998244353; int main() { int n, k; scanf("%d%d", &n, &k); std::vector<int64> pw(n + 1, 1); for (int i = 1; i <= n; ++i) { pw[i] = pw[i - 1] * k % mod; } std::vector<int64> dp(n + 1); for (int i = 1; i <= n; ++i) { if (i...
17a38c9115119523654550989313a31c788d0ecc
40f25cc8b7f86bb04afbdba88aea16243a3143c1
/OCR/ocr.cpp
17918f455452c5230b34a0d5c2200ee80cdfb978
[]
no_license
rlaskarb09/AlgorithmProblemSolvingStrategies
5b342f30fc6c44b29da5e4e9770de7975439af74
30aef078a23e2c9ff90a9048c8b01321d8405398
refs/heads/main
2023-01-13T22:41:58.026992
2020-11-04T06:23:16
2020-11-04T06:23:16
304,533,112
0
0
null
null
null
null
UTF-8
C++
false
false
2,465
cpp
ocr.cpp
#include <bits/stdc++.h> using namespace std; int main() { ios_base::sync_with_stdio(false); cin.tie(0); int M, Q; cin >> M >> Q; vector<double> init(M); vector<vector<double>> prior(M, vector<double>(M)), trans(M, vector<double>(M)); map<string, int> strToIdx; vector<string> idxToStr...
7170f4ab15c2cf6d77999ba56616e407ceb1e253
964170ed8f181ef172656cae59bcb6058830cbac
/Source/BlackWolf.Lupus.Core/NetworkStream.cpp
7fabef22acea9e83900079374e00a38b30359449
[ "MIT" ]
permissive
Qazwar/lupus-core
90d189fae2ba6dd24a9c67a1612aed5b8c390390
ea5196b1b8663999f0a6fcfb5ee3dc5c01d48f32
refs/heads/master
2021-05-29T09:34:51.090803
2014-11-14T14:47:42
2014-11-14T14:47:42
null
0
0
null
null
null
null
UTF-8
C++
false
false
5,054
cpp
NetworkStream.cpp
/** * Copyright (C) 2014 David Wolf <d.wolf@live.at> * * This file is part of Lupus. * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation th...
db2053b5847cb136a77e953e2ab65aea3c73156c
07bf7b241b5d6e96f5499a503d82c4a942d2cf81
/ctransceiver_project.cpp
538403ca4a66c6f60bea570a9cdec5a26ab5dddc
[]
no_license
da-nie/teamcontrolserver
f2a4695c6972bda441cc735d49455bf58071fc41
864fcdd63ad2d5476b82336c7936361de01c9ad2
refs/heads/master
2021-12-02T10:56:29.111080
2021-10-11T07:51:05
2021-10-11T07:51:05
101,172,399
0
0
null
null
null
null
WINDOWS-1251
C++
false
false
11,016
cpp
ctransceiver_project.cpp
#include "ctransceiver_project.h" //==================================================================================================== //макроопределения //==================================================================================================== //===================================================...
b1ca036c33300e3b49cb38fbc83a0df59fcfedc8
b740ebeb9718b70d8035bb837d5571ed21bcf027
/chart/TableObject_IVdrops.h
8351425ecb4201e7e8d9c6aa3cae1fbd94edc252
[]
no_license
vit9000/chart
84130608c4c29219220a0ae62a17e11ff771a6ea
453e95a95beff61d98c8b22dd454c4e5789e69cf
refs/heads/master
2021-05-10T20:13:22.672093
2018-05-01T09:54:13
2018-05-01T09:54:13
118,176,047
0
0
null
null
null
null
WINDOWS-1251
C++
false
false
3,203
h
TableObject_IVdrops.h
#pragma once #include "TableObjectMovable.h" // включает TableObject, TableObjectResizable #include "Button.h" #include <memory> class TableObject_IVdrops : public TableObjectResizable { protected: public: TableObject_IVdrops(IChartController* Controller, const ContainerUnit* containerUnit) : TableObjectResizab...
8e54723111ce237d4d60c8498107d39954c29d71
9090ceddde84e9780eebae1ef594a87410c2efe5
/dynamicsystem.h
ddd774ce5e4e95497685922108e686c4667e7d26
[]
no_license
tantrafael/soft-wheels
59335ca432f0aca18bdbace3482ddb1f2147be0a
5a0913176ebc0d97caef145c66577a0630777d74
refs/heads/main
2023-07-14T23:24:14.616296
2021-08-26T11:46:04
2021-08-26T11:46:04
null
0
0
null
null
null
null
UTF-8
C++
false
false
998
h
dynamicsystem.h
#ifndef __DYNAMICSYSTEM_H__ #define __DYNAMICSYSTEM_H__ #include "definitions.h" #include "ObjectSystem.h" #include "Atom.h" #include "Space.h" class DynamicSystem : public ObjectSystem { public: //------------------------------------------------------------ // Construction, destruction //------...
31d686ec8abae2c2d320b97a122386b1fd5ee643
4ce108ed3e4fa4c83ea8c03ab29a10d005b08b05
/LeetCode/#5 Longest Palindromic Substring.cpp
b2153c308a21f0460c1f1923723c06cf92bb7d8b
[]
no_license
Kevin6525/AlgorithmsPractice
09dcef1ef20c30bf6785b569d05c101f0453dde8
961c6788727e60c5b2c5d41f0f5396ff89089bf8
refs/heads/main
2023-02-26T01:19:17.289513
2021-02-02T02:15:22
2021-02-02T02:15:22
326,167,109
0
0
null
null
null
null
UTF-8
C++
false
false
1,075
cpp
#5 Longest Palindromic Substring.cpp
// https://leetcode.com/problems/longest-palindromic-substring/submissions/ (M) class Solution { public: string longestPalindrome(string s) { if(s.size()< 2) { return s; } int start = 0; int end = 0; for(int i = 0; i < s.size(); i++) ...
c2767a8f73952880494093166fda6ef0eb82225c
627d4d432c86ad98f669214d9966ae2db1600b31
/src/gui/widgets/qcombobox.h
a4a98961c0ce048e7b5ab0e7db885997987763d9
[]
no_license
fluxer/copperspice
6dbab905f71843b8a3f52c844b841cef17f71f3f
07e7d1315d212a4568589b0ab1bd6c29c06d70a1
refs/heads/cs-1.1
2021-01-17T21:21:54.176319
2015-08-26T15:25:29
2015-08-26T15:25:29
39,802,091
6
0
null
2015-07-27T23:04:01
2015-07-27T23:04:00
null
UTF-8
C++
false
false
11,169
h
qcombobox.h
/*********************************************************************** * * Copyright (c) 2012-2015 Barbara Geller * Copyright (c) 2012-2015 Ansel Sermersheim * Copyright (c) 2012-2014 Digia Plc and/or its subsidiary(-ies). * Copyright (c) 2008-2012 Nokia Corporation and/or its subsidiary(-ies). * All rights reserved....
77c4e87c4804a411193bbac53bcf03cbf5f0cff7
a3f1f180733c3408586d313b25ddeb272679098c
/record.cpp
53b14a6c95bae0f8340b3362d2c0f09ddbc5e156
[]
no_license
zcbmlijygrdwa/simple_data_record
086fd61a998466a9fcabeceed37bf0dcb36239d3
503a82f2e77177b97db3276977eec8034403a249
refs/heads/master
2020-04-27T23:17:26.474097
2019-03-31T17:58:35
2019-03-31T17:58:35
174,769,608
0
0
null
null
null
null
UTF-8
C++
false
false
804
cpp
record.cpp
#include <iostream> #include <fstream> #include <chrono> #include <ctime> using namespace std; int main () { ofstream myfile; float data = 0 ; cout<<"Please enter data:"<<endl; cin>>data; if(int(data)==0) { cout<<"invalid input, try again.."<<endl; return -1; } auto ...
0d4d38a6698d60564b57135feb3041cb5720dc08
a3d6556180e74af7b555f8d47d3fea55b94bcbda
/chromeos/ash/components/nearby/common/scheduling/nearby_expiration_scheduler_unittest.cc
412895b531551bf278d2fdf34608f0afaf1a7ac2
[ "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
3,962
cc
nearby_expiration_scheduler_unittest.cc
// Copyright 2020 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include <memory> #include "base/functional/bind.h" #include "base/functional/callback_helpers.h" #include "base/test/task_environment.h" #include "base/time/clock.h" #include...
4ea7b0854ddd0f8fcc5f1f144972a7d38a12fb8f
f9f3026186b388475db3d342822c5cc962a05e90
/main.cpp
a196ff01119c08b4935ad612ee4a2c1b9b67093f
[]
no_license
BernieMayer/CPSC589_A2v1.1
dd94ae904ddbd3cd1b9a735891953dd2b244b0b8
22589bec8d8cb7de59e0662ba4eb8e6550252361
refs/heads/master
2020-04-06T04:25:05.682294
2017-02-27T22:41:51
2017-02-27T22:41:51
82,949,918
0
0
null
null
null
null
UTF-8
C++
false
false
6,802
cpp
main.cpp
#include "bsplinegenerator.h" #include <GLFW/glfw3.h> #include <GL/gl.h> #include <GL/glu.h> #include <iostream> #include <glm/glm.hpp> #include <vector> using namespace std; using namespace glm; BSplineGenerator * bsplineGeometry; GLFWwindow *window; int w, h; double mouseX, mouseY; vector<vec2> control; float c...
46986593d7cffa3e6da00128b4153b3ee3647600
11b6b67b83265a7b0a3b1027cd1d83097f32bd9b
/NewtonRapshon.cpp
93ae65ea9427674fd43d6c9aa84ea6332ba76c46
[]
no_license
Ankit2305/ComputationalMethods
16fc2de9b2f9fcbbf46c7364d2abb013b01647bc
0aded0c125a4c75f9aa899607c90524cd7d69ce8
refs/heads/master
2021-07-15T22:34:30.804339
2020-10-02T04:16:44
2020-10-02T04:16:44
214,798,300
2
3
null
2020-10-02T04:16:46
2019-10-13T10:10:51
C++
UTF-8
C++
false
false
2,343
cpp
NewtonRapshon.cpp
#include<iostream> #include<cmath> #include<iomanip> using namespace std; #define MAX 10 double coeff[MAX], expo[MAX], coeff_dash[MAX], expo_dash[MAX]; int size = 0, size_dash = 0; /*The Newton-Raphson method (also known as Newton's method) is a way to quickly find a good approximation for the root of a real-valued ...
09179286d8cf0fb5c56fd58a57967d4598722be7
312295440a31b077a1b110eaacb4b457cb252af9
/TGame/TCommon/Combat/States/CombatState_Ready.h
a4d39cabf4f78610022b5133f704b566669540ce
[]
no_license
google-code/awoe
5106cde4768589bea063d8a7d73fcb659f74916e
917c2cc6224899f69a567b5a1f3ed892f68a9994
refs/heads/master
2016-09-05T14:19:59.233273
2015-03-15T17:28:45
2015-03-15T17:28:45
32,273,908
0
0
null
null
null
null
UTF-8
C++
false
false
808
h
CombatState_Ready.h
#ifndef CombatSysState_Ready_Calculator_H #define CombatSysState_Ready_Calculator_H #include "CombatState.h" class CombatSkill; /* * * CombatState Ready for role as Calculator : Master Role * * state Ready: in combat, ready for casting a spell to its target */ class TCOM_API CombatState_Ready : pu...
03cee232d402d9d9e9c0d6ca61936ef964653c63
49fe77a8637c4c737ab405fde8c09aec7c004143
/Linked_Lists/linkedlist.cpp
559cba79ebf7e7f8dcf6ef1b330910ba61aed00a
[]
no_license
saching1307/mycodes
bb7e5f3a1f365dfc355324909ca09284fc5afaf3
907cce05946b5ddc199cbd3fa89ac54c6463feaa
refs/heads/master
2020-04-01T09:03:16.534285
2018-10-15T05:29:30
2018-10-15T05:29:30
153,057,786
0
0
null
null
null
null
UTF-8
C++
false
false
819
cpp
linkedlist.cpp
#include"linkedlist.h" node::node(int newValue) { data = newValue; } LinkedList::LinkedList() { this->root = NULL; } void LinkedList::insert(int dataToInsert) { node* newNode = new node(dataToInsert); newNode->next = root; root = newNode; } void LinkedList::printList(node* NodeToPrint){ if(NodeToPrint == ...
0f8a2d4505991b1159827f65cf4af2bb7e2f3c21
101f908945b7f9c2d264eae02300673b178f9b19
/automata.h
2bdc68c7c1ce80050f15bb55e6c8315eed093731
[]
no_license
JonathanLoza/ProyectoTC-utec
926c2c4c739563eb57379e482d0ac7ea2795c454
80556700f447265f0cfc6ac1a807809ac06cd4ed
refs/heads/master
2020-04-03T13:01:19.711362
2018-11-25T20:18:10
2018-11-25T20:18:10
155,271,570
0
0
null
null
null
null
UTF-8
C++
false
false
22,964
h
automata.h
#ifndef AUTOMATA_H #define AUTOMATA_H #include <iostream> #include <vector> #include <list> #include <set> #include <map> #include <algorithm> #include "queue.h" using namespace std; class Estado; class Arista{ int Entrada; public: Estado* estados[2]; int getentrada(){ return Entrada; } void invertir(...
4b22eafad18ece717123dcfe48f86e17adb47528
99247ffe0b073d6e4c6339a427af79dccc6d84de
/Stopwatch.cpp
f0c0358b20620a424f5565ec3bfaa26f863f3160
[]
no_license
Netz00/Arduino-stopwatch
aa7153b7d95af77856746e2fbc5e70b884bc2e89
262103cd54b73863969909e45f6573e23042de17
refs/heads/master
2023-05-11T12:29:28.936237
2020-12-27T20:53:30
2020-12-27T20:53:30
181,732,074
3
0
null
2019-04-16T18:37:58
2019-04-16T17:01:43
C++
UTF-8
C++
false
false
1,273
cpp
Stopwatch.cpp
/* Stopwatch.cpp - Library for timing. Created by Božo Durdov, April 16, 2019. Released into the public domain. */ #include "Arduino.h" #include "Stopwatch.h" Stopwatch::Stopwatch(){ }; char *Stopwatch::getValue(){ stpw.now=(millis()+stpw.elapsed)-stpw.initially; int days = stp...
894e87091f1ee95ae23cf1964b44eaee554d2c06
d71c8929b906c275f0e3aa2eff3f02f3a908b6ca
/src/image.h
15c0338030697c2b41e1398d439d3fa8c68723ba
[]
no_license
olivermharrison/ImageProcessor
e18545ba32a917fc410e0e8789c498295aa4ccc9
13d1bcce1b0d93ae9f10655e748debfe0e0b6e91
refs/heads/master
2021-01-09T06:23:42.776401
2020-02-15T00:01:14
2020-02-15T00:01:14
80,979,440
0
0
null
null
null
null
UTF-8
C++
false
false
1,535
h
image.h
#ifndef IMAGE_H #define IMAGE_H #include <cmath> #include <iostream> #include <random> #include <string> #include <vector> #include "pixel.h" #include "lodepng.h" using namespace std; class Image { private: unsigned int width, height; vector<Pixel> pixels; public: /* Constructors */ Image(); Image(strin...
c2cb6c5198ef3ecc0c4be17a9f15f6fee6bd5692
079595e6704b34bd23d1bba4bf2c5019b052ca68
/Tests/Tools/ImplicationTools.cpp
95b62626775470ac344498e084f9685e34168452
[]
no_license
SimVil/Horn-Minimization-Code
ea721ba12726b322d6ee749ebaef4fd1b9cd6a77
76e79d9e0c2b41d74e6f9d820853f3eb47795afc
refs/heads/master
2021-01-25T14:15:40.431023
2018-06-16T13:37:10
2018-06-16T13:37:10
123,670,395
0
0
null
null
null
null
UTF-8
C++
false
false
10,872
cpp
ImplicationTools.cpp
// // Created by Simon on 22/03/2018. // #include "ImplicationTools.h" #ifndef MAX_ITER #define MAX_ITER 500 #endif void ImplicationTools::ReadImplication(const std::string &line, const size_t attrNum, theory &L) { size_t implsize = 2; // premise (1) + conclusion (1) = 2 std::vector<std::string> implicati...
cc41f4150681f67f9215ea8327d75a560f1ceb4b
7076622761b06c106bb14a91acb0a28efbba6fda
/space_vehicle.hpp
ceaa6e644f3f96fc917cccf8186b3097bf79cf5e
[]
no_license
ChristianMagnerfelt/AFuelSpaceStation
43134a15e2af5cfcf7541b7483abe0b77b1184f4
c45fc5577647ed37bcc45685564fe5992423fadb
refs/heads/master
2021-05-26T15:59:18.166142
2013-02-25T22:18:45
2013-02-25T22:18:45
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,098
hpp
space_vehicle.hpp
#ifndef SPACE_VEHICLE_HPP #define SPACE_VEHICLE_HPP #include "space_station.hpp" #include "types.hpp" /*! * \brief A space vehicle that delivers fuel to the space station */ class SpaceFuelVehicle { public: SpaceFuelVehicle(std::size_t id, SpaceStation & startStation, FuelTank storageFuelTank, FuelTank engineF...
da86bd564b60e0e0e51c822347bea7bd182933bb
151f4c8cc72a0fa33707db8f87e27f9af5392cef
/test.h
9600e11d7c2a84e7d55ac5b738e86ba71888ad0b
[]
no_license
wsqer/singletest
50fd8a78f8f62c3890dc151348473478a342743f
efedaa9c77a5e888e7699b88a5eb7488190d5589
refs/heads/master
2020-06-25T22:35:44.679838
2017-07-12T10:42:27
2017-07-12T10:42:27
96,995,503
0
0
null
null
null
null
UTF-8
C++
false
false
1,013
h
test.h
#ifndef TEST_H #define TEST_H #include <QMainWindow> #include <vector> #include <xdata.h> #include <QPushButton> #include "QTimer" using namespace std; namespace Ui { class test; } class test : public QMainWindow { Q_OBJECT int num; QString names; vector<int> randda; vector<QPushButton *> btn; ...
8c5a22bf236a1a39c04985e164e53ba29847b5b2
39c0ac99858f4ca69b109ed7a43a4375c68f1354
/src/testApp.cpp
08e644eec3232c3626b2a8882289bcf74ab1c51b
[]
no_license
benitezvogl/sara_android
f51df8d01a5f5912b2eba80c8062373cb486b54b
819681aa5b0f917426d3213292b90f5de2a80787
refs/heads/master
2020-04-04T17:20:30.105311
2014-09-02T17:11:57
2014-09-02T17:11:57
null
0
0
null
null
null
null
UTF-8
C++
false
false
9,321
cpp
testApp.cpp
#include "testApp.h" #include "ofxAndroidVideoGrabber.h" #include <jni.h> //-------------------------------------------------------------- void testApp::setup() { backColor.set(0, 0, 0); value = -1; //ofSleepMillis(1000); JNIEnv *env = ofGetJNIEnv(); jclass localClass = env->FindClass("cc/openframeworks/androidUi...
5a632b11529d870338e6b6f48a9990b414e32616
808899d6d14f6e86f3950ab7a6155dcc073342fe
/Source/VideoGLWidget.cpp
d038c5a77a4e08d6beaaa9834dec095361a5f992
[]
no_license
Martina1111/BehavioralVideo
10cd163199db4561adf03db13a5a9e665ad3fba6
777873f56783876c6624a387a095c979e8ba3717
refs/heads/master
2021-01-16T20:28:19.879599
2014-10-14T12:37:03
2014-10-14T12:37:03
null
0
0
null
null
null
null
UTF-8
C++
false
false
4,829
cpp
VideoGLWidget.cpp
#include "VideoGLWidget.h" #include <QtCore/QCoreApplication> #include <QtGui/QOpenGLContext> //#include <QtGui/QOpenGLPaintDevice> #include <QtGui/QPainter> #include <QDebug> VideoGLWidget::VideoGLWidget() { //currentFrame = ; v_width = -1; v_height = -1; } void VideoGLWidget::initialize() { glGenT...
f9f6ff520a1e3300b95207c9aeb3e6b765d387d8
2dfe9db46b60abed326c1932a02258e8fda2ed46
/src/gl/BoundShaderProgram.cpp
41a92c606bde61404137581b2df2a4cfd0b4e497
[]
no_license
RogueProfile/RogueProject
a477b5c3774984510b8ccf6f493a87dfb1fff6dc
0f3205ba1af6783e5d9c5cd7b778a9810c3c2802
refs/heads/master
2016-09-06T15:39:41.088385
2014-11-21T17:25:23
2014-11-21T17:25:23
null
0
0
null
null
null
null
UTF-8
C++
false
false
7,805
cpp
BoundShaderProgram.cpp
#include "BoundShaderProgram.h" #include "GlMacros.h" #include "GlError.h" namespace gl { BoundShaderProgram::BoundShaderProgram(ShaderProgram* object, TargetLock lock): m_object(object), m_lock(std::move(lock)) { } BoundShaderProgram::BoundShaderProgram(BoundShaderProgram&& other) noexcept: m_obje...
1553cbeb75286a05be8b971d7579ea2bc38b5ec1
75e4dd72262edd8dc0cbc6e02f4bd68cadcec9c8
/CPP TRAINING/Examples/STLList2.cpp
1196372352d12ce79fa85ac7fbd1b0f7e1ed8385
[]
no_license
sanjayg13/newrepo
b9283557f79d1cecb59a722a548cc6402d1e5067
f829dc55988769cff35ed446a8277efb0c20f6bd
refs/heads/master
2023-02-07T13:10:06.320388
2022-08-25T17:34:36
2022-08-25T17:34:36
209,714,677
0
0
null
2023-02-04T16:04:04
2019-09-20T05:49:20
C#
UTF-8
C++
false
false
717
cpp
STLList2.cpp
#include<iostream> #include<list> using namespace std; class CA { private: int a, b; public: CA(int x = 0, int y = 0) :a(x), b(y) { cout << "CA constructor" << endl; } ~CA() { cout << "CA destructor" << endl; } CA(const CA &x):a(x.a),b(x.b) { cout << "CA copy constructor" << endl; } void print(...
30c04cd1671d779f6894dbbaef9db3074ce88334
d49b855c86b1bb576c75e7daef31fea9d100b32a
/oneflow-master-zj/oneflow/core/framework/op_expr_helper.cpp
d66bfa182e0290a94df31afbd56ae07f555768e4
[ "Apache-2.0" ]
permissive
wanghongsheng01/Dubhe
dceabf9525bc04d10326c3ec24aaa5c10148fd15
a53a8356df34daa6056955bda84269f43ffb40ab
refs/heads/master
2023-05-30T10:26:19.952824
2021-06-22T13:37:05
2021-06-22T13:37:05
379,215,510
1
0
null
null
null
null
UTF-8
C++
false
false
36,580
cpp
op_expr_helper.cpp
/* Copyright 2020 The OneFlow Authors. All rights reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
226c7fd2524701720597fa0d036b0217af2a0b16
07145cbe3264978edd0ef7dedc0302044661c7f4
/mesos_allocation_go_module/allocator_server.hpp
63722495eac49701c150520797323bac37316c3b
[ "Apache-2.0" ]
permissive
digitalis-io/alligator
084d308dea087d57401b8f06e5b7219bcd629cbe
67ade05dc52b594fc1de84a36cc69f3931bb9ff4
refs/heads/master
2020-12-24T18:04:02.736011
2015-07-03T03:11:35
2015-07-03T03:11:35
60,858,023
0
0
null
2016-06-10T15:29:23
2016-06-10T15:29:23
null
UTF-8
C++
false
false
2,086
hpp
allocator_server.hpp
#ifndef ALLOCATOR_SERVER_HPP_ #define ALLOCATOR_SERVER_HPP_ #include <master/allocator/mesos/hierarchical.hpp> #include "./server.hpp" using namespace mesos::internal::master::allocator; namespace mesos { namespace master { namespace allocator { namespace custom { class AllocatorServer : public Server { private: ...
8e0e5e90009f3b092a12e1731b51b00b079e25c2
197d74923f630da29f906a7640694be572811e30
/course_code/3n+1/3n+1.cpp
dd600f875e5b7d715fcc2e294dbb754b46004079
[]
no_license
kkushagra/CPmsrit
591e9ca3e85a1f9731441f135db35a7df41b5842
60012919c85ddb9c075f9544e613f526a2c77c77
refs/heads/master
2021-01-15T17:56:23.126746
2013-07-18T12:47:52
2013-07-18T12:47:52
null
0
0
null
null
null
null
UTF-8
C++
false
false
436
cpp
3n+1.cpp
#include<iostream> using namespace std; long int count; int cycle(long int); int main() { long int a,s; while(cin>>a>>s) { long int big=0,test; for(long int i=s;i>=a;i--) { count=0; test = cycle(i); if(big<count) big=count; } cout<<a<<" "<<s<<" "<<big<<endl; } return 0; } int cycle(long...
2a7f3a3617cea3dcc92f68b08029f01c3fa53a13
938495d61712257f36cfeaa36f4380a760930047
/conjzero.cpp
0db09af01160abb5774516ed19b150caa495d319
[]
no_license
chaoshunh/seismic_unix
cec401f04e77c8dd6caf93e8cbac000a7ea15794
c975332d5fab748d5f42ed8225e9f878def7d76a
refs/heads/master
2022-11-06T18:22:16.105316
2020-06-26T16:52:43
2020-06-26T16:52:43
null
0
0
null
null
null
null
UTF-8
C++
false
false
240
cpp
conjzero.cpp
#include "su.h" void conjzero(int conj, int add, int nx, float *x, int ny, float *y) { int ix; int iy; if (add == 0) if(conj == 0) for (iy=0;iy<ny;iy++) y[iy]=0.; else for (ix=0;ix<nx;ix++) x[ix]=0; return; }