blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
264
content_id
stringlengths
40
40
detected_licenses
listlengths
0
85
license_type
stringclasses
2 values
repo_name
stringlengths
5
140
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
905 values
visit_date
timestamp[us]date
2015-08-09 11:21:18
2023-09-06 10:45:07
revision_date
timestamp[us]date
1997-09-14 05:04:47
2023-09-17 19:19:19
committer_date
timestamp[us]date
1997-09-14 05:04:47
2023-09-06 06:22:19
github_id
int64
3.89k
681M
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
22 values
gha_event_created_at
timestamp[us]date
2012-06-07 00:51:45
2023-09-14 21:58:39
gha_created_at
timestamp[us]date
2008-03-27 23:40:48
2023-08-21 23:17:38
gha_language
stringclasses
141 values
src_encoding
stringclasses
34 values
language
stringclasses
1 value
is_vendor
bool
1 class
is_generated
bool
2 classes
length_bytes
int64
3
10.4M
extension
stringclasses
115 values
content
stringlengths
3
10.4M
authors
listlengths
1
1
author_id
stringlengths
0
158
fbdc5177ac9c49fb3c7afefb53a4d3b6018f350c
2124d0b0d00c3038924f5d2ad3fe14b35a1b8644
/source/GamosCore/GamosScoring/Scorers/src/GmPSLET_dEdx_unrestrD.cc
d32e8b41e13aa1ef9d16ff1f24e2b34e9b8d41e1
[]
no_license
arceciemat/GAMOS
2f3059e8b0992e217aaf98b8591ef725ad654763
7db8bd6d1846733387b6cc946945f0821567662b
refs/heads/master
2023-07-08T13:31:01.021905
2023-06-26T10:57:43
2023-06-26T10:57:43
21,818,258
1
0
null
null
null
null
UTF-8
C++
false
false
1,835
cc
//#define VERBOSE_DOSEDEP #include "GmPSLET_dEdx_unrestrD.hh" #include "G4VPrimitiveScorer.hh" #include "GamosCore/GamosScoring/Management/include/GmScoringVerbosity.hh" #include "GamosCore/GamosUtils/include/GmGenUtils.hh" #include "GamosCore/GamosBase/Base/include/GmParameterMgr.hh" #include "G4EmParameters.hh" #inc...
[ "pedro.arce@ciemat.es" ]
pedro.arce@ciemat.es
8b2d4b355db7e2032137d2edb91486c2c248e9d6
19ad692a3b1f7cadc8e94e2ad544190dd8aa48d1
/assignment 2/Solved/time.h
ce5061c71d1311393233c0667ae608f3b37d20ff
[]
no_license
mabdullahkhalil/Data-Structures
96f473c612efb3e730c5a171dcabdf8fb8e29222
c635d77e1d2ef851d830bdc68946b073dff4fe7e
refs/heads/master
2020-03-27T06:38:11.203952
2018-08-25T19:10:18
2018-08-25T19:10:18
146,122,148
0
0
null
null
null
null
UTF-8
C++
false
false
1,194
h
#include <sys/time.h> #include <iostream> using namespace std; int timeval_subtract (struct timeval *result, struct timeval *x, struct timeval *y) { /* Perform the carry for the later subtraction by updating y. */ if (x->tv_usec < y->tv_usec) { int nsec = (y->tv_usec - x->tv_usec) / 1000000 + 1; ...
[ "muhammadabdullahkhalil@gmail.com" ]
muhammadabdullahkhalil@gmail.com
7cbe456fbefdd6e4d5d268558782cd777324249b
2eec9db7c8890de85eaa2140b59116e573dd0b53
/src/qt/modaloverlay.h
5228ffd1e0a0f49958959ac6f6810399a5c301b6
[ "MIT" ]
permissive
Alonewolf-123/PaydayCoin-Core
45bca042a8014f4486977f951bc2083728d8fb5e
d807d95550d955bfa9ffda2b39cad745422224e5
refs/heads/master
2023-01-13T15:33:54.226987
2019-12-16T04:54:53
2019-12-16T04:54:53
227,445,703
2
0
null
null
null
null
UTF-8
C++
false
false
1,512
h
// Copyright (c) 2016-2018 The PaydayCoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #ifndef PAYDAYCOIN_QT_MODALOVERLAY_H #define PAYDAYCOIN_QT_MODALOVERLAY_H #include <QDateTime> #include <QWidget> //! Th...
[ "alonewolf2ksk@gmail.com" ]
alonewolf2ksk@gmail.com
a64e093d5d373559c712cb30cd4f734a20b4f052
b0c8bc79873ca7136c19b62adbe07107fcbf7cd8
/types/Body.cpp
b8bc1bdcff41c4474146a6daeaa94cb1bc32d243
[]
no_license
Giulianos/ss-2018b-tp4
3de51cf709013acc74169e2ad617157866131462
dd6d8408b66628a9931ef49f996df5424d45db15
refs/heads/master
2020-05-29T18:03:14.186634
2018-11-11T23:49:59
2018-11-11T23:49:59
189,294,823
0
0
null
null
null
null
UTF-8
C++
false
false
1,966
cpp
// // Created by Giuliano Scaglioni on 05/11/2018. // #include "Body.h" #include <cmath> #include <cstdio> int Body::next_id = 0; double Body::get_radius() const { return radius; } double Body::get_mass() const { return mass; } Body::Body(double x, double y, double vx, double vy, double radius, double mass) ...
[ "scaglionigiuliano@gmail.com" ]
scaglionigiuliano@gmail.com
4372154864296e19770387a4cac9032f2a6ce47e
c8533e38289deff74c37b2759137424762e28242
/CTCI/ch2/5b.cpp
359bcd14ef1e31bda94a05e87801896f8f1ff9b8
[]
no_license
rhb2/playground
0ab19416deca8961ec5279b1b962fe2aa01a3cfc
306257143152a76f01eedb3274c71f04bac414aa
refs/heads/master
2023-05-11T19:11:26.317693
2021-06-03T22:44:46
2021-06-03T22:44:46
334,799,168
0
0
null
null
null
null
UTF-8
C++
false
false
1,413
cpp
#include <iostream> #include <cassert> #include "../util/sll.h" using namespace std; linkedlist<int> * sumlists(linkedlist<int> &l1, linkedlist<int> &l2) { linkedlist<int> *result = new linkedlist<int>; int sum; int carry = 0; node<int> *pn1, *pn2; l1.reverse(); l2.reverse(); pn1 = l1.head; pn2 = l2.head; ...
[ "robert.bogart@joyent.com" ]
robert.bogart@joyent.com
e91dbf012f8644c94b5e87a8a9878e7b6b9d37a4
8de5fa2abac197367077f8aae43c16c3ce2f9ad2
/1010. Radix (25).cpp
07d045461518bce47ab9bb83c0f7dc4f54598909
[]
no_license
zhoujf620/PAT-Practice
2220435e9a27cbbe8230263f7ad0b5572138e3fb
c2b856f530af1f4ea38dfb4992eb974081a4890b
refs/heads/master
2020-12-04T23:24:56.252091
2020-01-20T14:48:01
2020-01-20T14:48:01
231,934,012
0
0
null
null
null
null
UTF-8
C++
false
false
2,310
cpp
// 1010. Radix (25) // Given a pair of positive integers, for example, 6 and 110, can this equation 6 = 110 be true? The answer is "yes", if 6 is a decimal number and 110 is a binary number. // Now for any pair of positive integers N1 and N2, your task is to find the radix of one number while that of the other is gi...
[ "zhoujf620@zju.edu.cn" ]
zhoujf620@zju.edu.cn
5b1ca8adfc4cc8c5e62109714d4b9004789812cc
4c25432a6d82aaebd82fd48e927317b15a6bf6ab
/data/dataset_2017/dataset_2017_8/ss1h2a3tw/5304486_5760761888505856_ss1h2a3tw.cpp
2912af530b40ae4bc2009b57cba2a4b914ae51c6
[]
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,804
cpp
#include <cstdio> #include <algorithm> using namespace std; char cake[30][30]; int r,c; int main (){ int T; scanf("%d",&T); for(int I = 1 ; I <= T ; I++){ scanf("%d%d",&r,&c); for(int i = 0 ; i < r ; i ++){ scanf("%s",cake[i]); } bool firstempty=true; f...
[ "e.quiring@tu-bs.de" ]
e.quiring@tu-bs.de
2d5f06a73a8becc601aab6f1fe95b7438e270d85
3ca7dd1e368194aa2f884139d01f802073cbbe0d
/Codeforces/solved/20C/20C.cpp
e46ba3d0d2b577fce5b47ede86f0fe7e77d0b6ba
[]
no_license
callistusystan/Algorithms-and-Data-Structures
07fd1a87ff3cfb07326f9f18513386a575359447
560e860ca1e546b7e7930d4e1bf2dd7c3acbcbc5
refs/heads/master
2023-02-17T17:29:21.678463
2023-02-11T09:12:40
2023-02-11T09:12:40
113,574,821
8
1
null
null
null
null
UTF-8
C++
false
false
1,181
cpp
#include <bits/stdc++.h> using namespace std; typedef long long ll; typedef vector<int> vi; typedef pair<int, int> pii; int main() { ios::sync_with_stdio(0); cin.tie(0); int N, M; cin >> N >> M; vector<vector<pair<int, ll>>> adjList(N+5); for (int i=0;i<M;i++) { int u,v,w; cin >> u >> v >> w; adjList...
[ "callistusystan@gmail.com" ]
callistusystan@gmail.com
2a4461a0a4dd9e7b399b32c016fa48e998d883ae
cc9ae71207dc667c2e0be27671ced5c86f2f71a3
/test/oldstudy/class_array.cpp
d0663fe13534f156229ae4051ec3c7a7b4702414
[]
no_license
xm0629/c-study
aed8480aa30b35637bfca307e009eb8b827b328d
26183be9c91b2b53bd71b6693fe6d39823bc5d63
refs/heads/master
2020-04-09T11:35:48.047562
2019-03-30T15:27:01
2019-03-30T15:27:01
160,316,327
1
0
null
null
null
null
UTF-8
C++
false
false
613
cpp
// 对象数组 # include <iostream> using namespace std; class Box { public: Box(int h=10, int w=12, int len=15):height(h),width(w),length(len){} int volume(); private: int height; int width; int length; }; int Box::volume() { return (height*width*length); } int main() { ...
[ "920972751@qq.com" ]
920972751@qq.com
8c5166c1e4948cf10f1e75871e54dca34ff52d73
68c2c9f85e79fb2ce4fd3bb90d857b8be5bf9520
/mathclass/src/subtraction.cpp
601b946109a928df196456c796f38afe85b59430
[ "LicenseRef-scancode-other-permissive", "MIT" ]
permissive
mori-inj/Graphics
556e6b7f7f722ec71f5ec5ede462e2e2b132f6a9
4923736e43f782e242f835074e8f67cb7653afd9
refs/heads/master
2021-01-01T16:47:37.426078
2019-06-13T20:25:47
2019-06-13T20:25:47
97,922,371
0
1
null
null
null
null
UTF-8
C++
false
false
1,110
cpp
#include "mathclass.h" namespace jhm { unit_vector operator-( unit_vector const& a ) { unit_vector b; b.p[0] = - a.p[0]; b.p[1] = - a.p[1]; b.p[2] = - a.p[2]; return b; } vector operator-( vector const& a ) { vector b; b.p[0] = - a.p[0]; b.p[1] = - a.p[1]; b.p[2] = - a.p[2]; ...
[ "leokim1022@snu.ac.kr" ]
leokim1022@snu.ac.kr
89602e597f50b469bb7dfa05a9a5317c6f75d1d7
6a13fa167b2d4bcea80358562dfde6164ff29693
/Scripts/Character.cpp
270faa38d303816f56f96861b68fd5622e29a151
[]
no_license
scrapzero/RPG-Zero-70
1e4130f38e42030bbf85c64177db188dc32fa5f7
19e95aff37b15949878458cae1f0f107b2ba7787
refs/heads/master
2023-06-30T08:09:28.794552
2023-06-15T15:30:40
2023-06-15T15:30:40
92,604,803
0
0
null
null
null
null
SHIFT_JIS
C++
false
false
61,161
cpp
#include "Character.h" #include "MyScene.h" #include "math.h" bool KeyOK(); bool KeyCancel(); bool KeyRight(); bool KeyLeft(); bool KeyUp(); bool KeyDown(); CEffect1::CEffect1() { Effect[0] = "zero/BattleEffect1.png"; } CEffect1::~CEffect1() { } void CEffect1::PushEffect(CCharacterBase * fromChar, CCharacterBase...
[ "doragontuinatomikku@gmail.com" ]
doragontuinatomikku@gmail.com
6cbf9d74c62652e42e372bf9fdba97dde802d950
6104eba97327b09b0d5f084c990b3bf50ef20ca6
/STL_Univ/STL_Univ/unodered_set 과 map.cpp
136e2cab3b514202d44c1f0e9421c80714ddcf01
[ "MIT" ]
permissive
LeeKangW/CPP_Study
03caf637d3cc797f6d8f5ed3121228f9e23f3232
897cd33ddeca79bbef6c4a084c309b40c6733334
refs/heads/master
2021-07-13T00:40:25.666219
2021-06-24T02:01:46
2021-06-24T02:01:46
222,482,593
1
0
null
null
null
null
UHC
C++
false
false
1,203
cpp
#include<iostream> #include<unordered_set> #include<random> #include<thread> #include"String.h" #include"save.h" using namespace std; //2020.5.25 월 // // unordered_set / unordered_map // // unordered associative container // 1. 순서가 없다. // 2. 메모리 구조를 출력 // 3. String을 이 컨테이너의 원소로 되도록 하려면 // hash 함수를 쓰기 때문에 찾을 때 O(1) ...
[ "leegw1371@gmail.com" ]
leegw1371@gmail.com
7a71b6a4d0506a37bc222e9612eaa9758bc01194
4cc4d9d488939dde56fda368faf58d8564047673
/test/vts/compilation_tools/vtsc/code_gen/fuzzer/HalHidlFuzzerCodeGen.cpp
6bb6176a6d99f7e945f00043e56ca4aa91131e96
[]
no_license
Tosotada/android-8.0.0_r4
24b3e4590c9c0b6c19f06127a61320061e527685
7b2a348b53815c068a960fe7243b9dc9ba144fa6
refs/heads/master
2020-04-01T11:39:03.926512
2017-08-28T16:26:25
2017-08-28T16:26:25
null
0
0
null
null
null
null
UTF-8
C++
false
false
6,150
cpp
/* * Copyright 2016 The Android Open Source Project * * 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 applica...
[ "xdtianyu@gmail.com" ]
xdtianyu@gmail.com
2cb63511678f4ee4ca3e068f7b21bf81a78ee107
1a9df829cfba53d1032a4e4fd60f40e998af2924
/src/predict_pseudo.cpp
a7c164e20b52f1b1978e441e54dff1e2c04bfd66
[]
no_license
X4vier/MC-AIXI-CTW
bf30c2610ed5435e4ba741e6daa741c8176a3789
ea2e98e95352166f8d707a200e67fb0e30690376
refs/heads/master
2020-04-04T15:41:17.541126
2018-11-04T04:17:40
2018-11-04T04:17:40
156,047,993
0
0
null
null
null
null
UTF-8
C++
false
false
2,438
cpp
#include "predict_pseudo.hpp" #include <cassert> #include <ctime> #include <cmath> #include "util.hpp" // create a context tree of specified maximum depth ContextTree::ContextTree(size_t depth) { return; } ContextTree::~ContextTree(void) { return; } // clear the entire context tree void ContextTree::clear(void) { re...
[ "xavier.orourke@gmail.com" ]
xavier.orourke@gmail.com
7608bccbf96cc36f9fc49a0202c905a139838fec
64058e1019497fbaf0f9cbfab9de4979d130416b
/c++/src/app/blastdb/blastdbcp.cpp
f5a5ea06f3bc8d507c65afcf25da25f36af4ed0f
[ "MIT" ]
permissive
OpenHero/gblastn
31e52f3a49e4d898719e9229434fe42cc3daf475
1f931d5910150f44e8ceab81599428027703c879
refs/heads/master
2022-10-26T04:21:35.123871
2022-10-20T02:41:06
2022-10-20T02:41:06
12,407,707
38
21
null
2020-12-08T07:14:32
2013-08-27T14:06:00
C++
UTF-8
C++
false
false
11,559
cpp
/* $Id: blastdbcp.cpp 347262 2011-12-15 14:16:31Z fongah2 $ * =========================================================================== * * PUBLIC DOMAIN NOTICE * National Center for Biotechnology Information * * This software/database is a "United States Government Wo...
[ "zhao.kaiyong@gmail.com" ]
zhao.kaiyong@gmail.com
bdc964416783c8d74b581f21943c873fb97c6434
1a0c8311f35111b275b7fa32db7581b8c9915211
/soundGEN/classes/sndanalyzer.h
8d23ca073a50d14c60257ddf24dd1daefdae9c79
[]
no_license
deus-amd/Sgen
485ffcafafeb992a5d40d07bfcda352790189c67
f7223bef1d7a85de64d50eb6436d9ba20dce923d
refs/heads/master
2020-12-13T21:52:11.541195
2014-10-26T10:57:29
2014-10-26T10:57:29
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,378
h
#ifndef SNDANALYZER_H #define SNDANALYZER_H #include <math.h> #include <QVector> #include <qDebug> #include "../abstractsndcontroller.h" #include "../kiss_fft/kiss_fftr.h" #include "../kiss_fft/_kiss_fft_guts.h" struct HarmonicInfo { double freq; double amp; }; class SndAnalyzer { public: SndAnalyzer(); ...
[ "posedelov@rusoft.ru" ]
posedelov@rusoft.ru
046cb79e430eaa717be3e074028817a2f461d1da
2e619c8e2b667640989c6703a39fde3e4485679b
/2. Leetcode/easy level/375. kth distinct string in an array.cpp
cd700c6c1ae7fccaa9c2507efebfc0ecec2a6ede
[]
no_license
satyampandey9811/competitive-programming
76957cde72ba217894ba18370f6489d7c481ba55
8ca1e2608f5d221f4be87529052c8eb3b0713386
refs/heads/master
2022-10-14T11:13:16.704203
2022-09-20T18:24:09
2022-09-20T18:24:09
203,355,790
0
0
null
null
null
null
UTF-8
C++
false
false
503
cpp
// link to question - https://leetcode.com/problems/kth-distinct-string-in-an-array/ class Solution { public: string kthDistinct(vector<string>& a, int k) { map<string, int> m; int n = a.size(), ct = 0; for(int i = 0; i < n; i++) { m[a[i]]++; } ...
[ "satyampandey9811@gmail.com" ]
satyampandey9811@gmail.com
dc22d51a8bf9cc33337873826a0a7a7cf3e4a0dd
14a925dcf097319834778c8b3010a7c786748199
/include/parser_utils.h
df50293d5110452d1322419273f70e441d6bc2f6
[ "MIT" ]
permissive
toaderandrei/cppnd-udacity-system-monitor
a410a194633dc0d786281df653a5ab08e7ded228
011f95e63452a7a7f7d0821c0131186a871a1ee9
refs/heads/master
2022-04-20T07:51:50.943096
2020-04-18T12:45:13
2020-04-18T12:45:13
256,291,666
1
0
null
null
null
null
UTF-8
C++
false
false
1,429
h
// // Created by toaderst on 08-03-20. // #ifndef MONITOR_PARSER_UTILS_H #define MONITOR_PARSER_UTILS_H #include <fstream> #include <iostream> #include <sstream> namespace ParserUtils { inline void CloseStream(std::ifstream *stream) { if (stream != NULL && stream->is_open()) { stream->close(); } } template...
[ "andrei.toader-stanescu@tomtom.com" ]
andrei.toader-stanescu@tomtom.com
f1023d10c90caacf68b692d37b47e5600b6ecd43
da8d1b8255feb551e9dc36853cd680da113791a4
/include/AvbApi_FunctionList.hpp
4f5c29c51c3fa26e73e267ad0dab1363a7506096
[ "BSD-2-Clause" ]
permissive
jdkoftinoff/jdksavbapi
a577285fde064d7be0de8d78bddcf2ac18a89128
431ee094ed22d05fc5ec7bc0b91f216e33466aae
refs/heads/master
2020-05-18T17:23:21.335287
2014-10-07T20:57:39
2014-10-07T20:57:39
24,826,923
0
1
null
null
null
null
UTF-8
C++
false
false
3,186
hpp
#pragma once /* Copyright (c) 2014, Jeff Koftinoff All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and...
[ "jeffk@jdkoftinoff.com" ]
jeffk@jdkoftinoff.com
2680efc3a2611a45fe87974c975071e244ad8eb4
fd47ed69443b69ff56316cbc81131782f5c460a5
/LogitechLcdWinamp/gen_lglcd/DrawableText.h
6f0dcde0a06706344cd139863a2f473d65d560b8
[]
no_license
koson/jawsper-projects
820b436f89415e2de3176168c489447d1f26bb34
d750c293ad33b568d304d27d81ed61d02a1ac1ae
refs/heads/master
2021-01-18T05:54:34.359533
2013-01-31T15:35:41
2013-01-31T15:35:41
null
0
0
null
null
null
null
UTF-8
C++
false
false
477
h
#pragma once #include "Fonts.h" class DrawableText { bool m_Changed; int m_X, m_Y, m_Width, m_MaxWidth; wchar_t m_Str[MAX_PATH]; Font* m_Font; int prev_len; public: DrawableText(int a_X, int a_Y, int a_Width, Font* a_Font ) : m_X(a_X), m_Y(a_Y), m_Width(a_Width), m_MaxWidth(a_Width), m_Changed(fa...
[ "jawsper@gmail.com@aa725750-22df-18b2-2580-202d682e9b9e" ]
jawsper@gmail.com@aa725750-22df-18b2-2580-202d682e9b9e
260a83d7146c1912a69ffd7f2ab4d546607d46c9
485faf9d4ec7def9a505149c6a491d6133e68750
/include/wxviz/VizRender.H
2112f6859a0b7ce0eca1192d40ed39db9b00bc5e
[ "LicenseRef-scancode-warranty-disclaimer", "ECL-2.0" ]
permissive
ohlincha/ECCE
af02101d161bae7e9b05dc7fe6b10ca07f479c6b
7461559888d829338f29ce5fcdaf9e1816042bfe
refs/heads/master
2020-06-25T20:59:27.882036
2017-06-16T10:45:21
2017-06-16T10:45:21
94,240,259
1
1
null
null
null
null
UTF-8
C++
false
false
1,547
h
/** * @file * */ #ifndef VIZRENDER_H_ #define VIZRENDER_H_ #include <string> using std::string; class ChemistryTask; class SbViewportRegion; class SoNode; class SoOffscreenRenderer; class SGContainer; class SGViewer; class SFile; class VizRender { public: static bool thumbnail(const string& urlstr, int widt...
[ "andre.ohlin@umu.se" ]
andre.ohlin@umu.se
e2601ab2802eef6f7c83cb1ea5c9f695bdaf69a5
c7ec870ad42a8ef1b4721e83f636d4533717d8a6
/src/wallet/wallet.cpp
0888d381cd941f60083d85980fe08eedb3ca5386
[ "MIT" ]
permissive
TheRinger/Atlascoin
dcdab93e74e151d62e1efc8f4bb35f3e7b2d72ac
21f6f2372e841fd3ba89e91086cbd5add3e4ef9b
refs/heads/master
2020-04-06T22:16:48.957176
2018-11-16T07:43:21
2018-11-16T07:43:21
157,830,789
0
0
null
null
null
null
UTF-8
C++
false
false
177,444
cpp
// Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2016 The Bitcoin Core developers // Copyright (c) 2017 The Atlas Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "wallet/wallet.h" #incl...
[ "tytek2012@gmail.com" ]
tytek2012@gmail.com
76250cfc3e8d3fdee22df78981ee158920f82865
600df3590cce1fe49b9a96e9ca5b5242884a2a70
/ash/touch/touch_uma.cc
4ae3adcf97ee2383a8429db685e84d602ae1d86f
[ "BSD-3-Clause" ]
permissive
metux/chromium-suckless
efd087ba4f4070a6caac5bfbfb0f7a4e2f3c438a
72a05af97787001756bae2511b7985e61498c965
refs/heads/orig
2022-12-04T23:53:58.681218
2017-04-30T10:59:06
2017-04-30T23:35:58
89,884,931
5
3
BSD-3-Clause
2022-11-23T20:52:53
2017-05-01T00:09:08
null
UTF-8
C++
false
false
10,965
cc
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "ash/touch/touch_uma.h" #include "ash/common/wm_shell.h" #include "base/metrics/histogram.h" #include "base/strings/stringprintf.h" #include...
[ "enrico.weigelt@gr13.net" ]
enrico.weigelt@gr13.net
e2b7d2f823ded9be5bbd11c2b9a8d846aef07bf2
4e7300d79bbdcaa9f70fff786fe0d8dc71cf3635
/source/group.cpp
74306c18056ea7e3b37791ac68afcc2244db993e
[]
no_license
busratican/ComputerGraphics-Assign3
4173ec5876f05ac49a49d4e752fdd8fdb2cc40c5
93f107b13d832efbdd406dc4a5971511edc79c8e
refs/heads/master
2021-01-01T06:36:29.440181
2017-07-17T11:08:02
2017-07-17T11:08:02
97,467,174
0
0
null
null
null
null
UTF-8
C++
false
false
423
cpp
#include "group.h" Group::Group(int n) { numObjects = n; index.resize(n); } Group::~Group() { index.clear(); } bool Group::intersect(const Ray &r, Hit &h, float tmin) { bool __r = false; for(int i=0;i<numObjects;i++) { if(index[i]->intersect(r,h,tmin)) __r = true; } return __...
[ "gulbusra55@gmail.com" ]
gulbusra55@gmail.com
f437506ef4b516b0bc805de5ed43b1d527332389
ce920bd897afa6135f3f1a3c777416eb390555cb
/include/sqlite.hh
3729743518c20bf55abec57b1cd2a69c12937e61
[]
no_license
ivankp/server_old_1
64095f03ed58c8599ebf1d5e9709a657a4f70e2e
fa7e4bb53751190057aabe571b8bfb7dbb1e8f03
refs/heads/master
2023-05-01T00:08:17.345373
2021-05-18T17:46:30
2021-05-18T17:46:50
null
0
0
null
null
null
null
UTF-8
C++
false
false
10,305
hh
#ifndef IVANP_SQLITE_HH #define IVANP_SQLITE_HH #include <iostream> #include <iomanip> #include <concepts> #include "sqlite3/sqlite3.h" // https://sqlite.org/cintro.html #include "base64.hh" #include "error.hh" #define THROW_SQLITE(...) ERROR(__VA_ARGS__,": ",errmsg()) class sqlite { sqlite3* db = nullptr; publ...
[ "ivan.pogrebnyak@gmail.com" ]
ivan.pogrebnyak@gmail.com
0a2d0c2057b402d1c28069e126e3e033aa15a34e
a4008ca31634dcafe53137267d7b2df4572605bc
/reco/HitClustering/STClusterizerCurveTrack.hh
0ef04685a69e412eb0b07515292e0903f7de6ac8
[]
no_license
SpiRIT-Collaboration/SpiRITROOT
416f766d59110b23f14b3f8c5647c649d5c42efb
0f5154b75e5db0d736373386e1481caa7c2ff03c
refs/heads/develop
2023-03-10T15:25:16.906623
2022-01-21T17:42:01
2022-01-21T17:42:01
19,332,445
6
3
null
2018-12-19T09:04:44
2014-05-01T01:20:47
C++
UTF-8
C++
false
false
873
hh
#ifndef STCLUSTERIZERCURVETRACK #define STCLUSTERIZERCURVETRACK #include "STClusterizer.hh" #include "STCurveTrackFitter.hh" #include "STCircleFitter.hh" #include "STRiemannFitter.hh" #include "STHitCluster.hh" #include "TMath.h" #include "TVector3.h" class STClusterizerCurveTrack : public STClusterizer { public:...
[ "phyjics@gmail.com" ]
phyjics@gmail.com
e32fb1861165772e7f2ae4bb2e750049e3b48ea2
35155c04e6eb4d65737cfc5477990479d40f47a6
/scripts/x-test-fem/x-test-neb/test-case-1-sin-buckle/src/murty95.cpp
8f7b0c843be13783acc76981988d780422e89d38
[]
no_license
XiaohanZhangCMU/mdGpy
b1476fb829e95c21ff0bb86ad2047e280dc2c796
90916bfb9cb2604b6f3341c8b7c5b37380a6679d
refs/heads/master
2020-03-20T18:40:06.092597
2018-06-16T17:56:39
2018-06-16T17:56:39
null
0
0
null
null
null
null
UTF-8
C++
false
false
23,587
cpp
/* murty95.h by Keonwook Kang kwkang75@yonsei.ac.kr Last Modified : FUNCTION : Reference: M. V. Ramana Murty and Harry A. Atwater "Empirical interatomic potential for Si-H interactions" Phys. Rev. B, 51, 4889 (1995) Si-Si interaction is based on J. Ters...
[ "xiaohanzhang.cmu@gmail.com" ]
xiaohanzhang.cmu@gmail.com
f2e17f79958df1a967867dd00c1600ac1513da5e
6a1eda4d8653fbe54afc5e473ce48de5434cf6b2
/taiji/v1.0/Taiji/TRedis/RedisClientSet.cpp
09e050be07e642e651f690f196a74353d11ffb99
[]
no_license
helloworldyuhaiyang/cdk
8263f5ddd211fdfc55dec05e4d9d0469f3967f67
7ace68f48ca0439dfe3ff451dec32354d4ddc54d
refs/heads/master
2023-07-19T07:51:03.615697
2021-09-07T07:09:07
2021-09-07T07:09:07
403,876,936
0
0
null
null
null
null
UTF-8
C++
false
false
4,864
cpp
#include "Command.h" #include "CRedisClient.h" namespace Taiji { namespace TRedis { uint64_t CRedisClient::sadd(const string &key, const VecString &members) { Command cmd( "SADD" ); cmd << key; VecString::const_iterator it = members.begin(); VecString::const_iterator end = members.end(); for ...
[ "18989893637@189.cn" ]
18989893637@189.cn
87951a10f99844c1b3c2c51f151120c2a97668b9
2eda515fba1767e517d0f6dc84f84590352a54ef
/ZF/ZFUIWidget/zfsrc/ZFUIWidget/ZFUIPageBasic.h
cbacad63895dbefc77a87ce0b3224992851b297b
[ "MIT" ]
permissive
yeshuopp123/ZFFramework
cb43ec281015b563618931c3972ef522a2e535c9
6cf2e78fed9e5ef1f35ad8402dbcb56cfd88ad9e
refs/heads/master
2021-05-01T05:38:03.739214
2017-01-22T16:48:47
2017-01-22T16:48:47
79,763,020
1
0
null
2017-01-23T02:34:41
2017-01-23T02:34:40
null
UTF-8
C++
false
false
7,514
h
/* ====================================================================== * * Copyright (c) 2010-2016 ZFFramework * home page: http://ZFFramework.com * blog: http://zsaber.com * contact: master@zsaber.com (Chinese and English only) * Distributed under MIT license: * https://github.com/ZFFramework/ZFFramework/bl...
[ "z@zsaber.com" ]
z@zsaber.com
f6858cf32b9dac91e3e30c3b2a4dadccb088455e
b5e00c7392791f982cc5a26d588d5ffc5cf9eb74
/Breakout/Ball.cpp
14b84c1b5090a68ef918ef9c6d703b1793f7c202
[]
no_license
Gareton/OpenGL_Learning
24643a4a2066158af16ed891dd54067fae8f8384
eeb8086af2006e42a684c3f5a6e429963d1ffb55
refs/heads/master
2020-06-16T01:50:03.271263
2019-07-20T14:02:12
2019-07-20T14:02:12
195,448,194
0
0
null
null
null
null
UTF-8
C++
false
false
1,029
cpp
#include "Ball.h" #include <glad/glad.h> Ball::Ball() : GameObject(), Radius(12.5f), Stuck(true) { } Ball::Ball(glm::vec2 pos, GLfloat radius, glm::vec2 velocity, Texture2D sprite) : GameObject(pos, glm::vec2(radius * 2, radius * 2), sprite, glm::vec3(1.0f), velocity), Radius(radius), Stuck(true), PassThroug...
[ "fghftftrdrrdrdrdr65656hj56h@gmail.com" ]
fghftftrdrrdrdrdr65656hj56h@gmail.com
223f7df63e9ecdec7736e77f1348f1dc183c8248
220846e017a9992e596bd1ea806d527e3aeea243
/162_Find_Peak_Element.cpp
618e82ebc8f572dcbf0cf7ddf9e0f7dd0bcccb78
[]
no_license
anzhe-yang/Leetcode
bfa443b7a74ddbd441348c364ee00004173ddd86
fe9eb16136035f25f31bddb37c6b4884cd7f6904
refs/heads/master
2020-04-08T14:49:04.781848
2019-10-25T02:39:22
2019-10-25T02:39:22
159,453,173
0
0
null
null
null
null
UTF-8
C++
false
false
1,049
cpp
/** 问题描述: * 如果某个元素大于它周围的元素,则称为山顶元素。 * 给定一个数组,数组中相邻两个元素不相等,找到其中的山顶元素并返回位置索引。 * 数组可能包含多个山顶元素,可以任意返回某一个。 * 可以假设数组的 -1 索引和 n 索引的值为负无穷。 * 算法复杂度为 O(logN) 。 */ #include <iostream> #include <vector> using namespace std; int findPeakElement(vector<int>& nums) { /* 二分法。 比较当前mid值和下一个值。 如果...
[ "yaz951114@gmail.com" ]
yaz951114@gmail.com
f29ac0e4bed17dfe8db9f25ded80d9695fa59af1
a4d518ddd989bad8b2dde807b2d3111eff00e356
/Project/libs/StarEngine/include/Scenes/SlideScene.h
d969a9191dde7875e3abecc76b36a2cd2516adcc
[ "MIT" ]
permissive
GlenDC/StarEngine-downloads
84269ea6ada832a82af4022a5dbaa1475fdc8924
b52a065b76df9b41327d20cde133ebad5e65adcd
refs/heads/master
2021-01-23T17:31:00.220517
2013-12-15T22:46:24
2013-12-15T22:46:24
15,191,686
0
2
null
null
null
null
UTF-8
C++
false
false
1,595
h
#pragma once #include "../defines.h" #include "../Logger.h" #include "../Context.h" #include "../Scenes/BaseScene.h" #include "../Graphics/UI/Index.h" namespace star { class SlideScene : public BaseScene { public: SlideScene(const tstring& name, const tstring & nextScene); virtual ~SlideScene(); ...
[ "decauwsemaecker.glen@gmail.com" ]
decauwsemaecker.glen@gmail.com
86c28b5d79a7b3a62e6010f0794768bba40bff6d
303b225245d9d090849fe89b32d46e171bbcb125
/C++/final/final1.1_fixed/input.h
5e2a564281654747d599a6b1390d4467808e0339
[]
no_license
Trouble404/Undergraduate-courseworks
cb3e70923168e4312d5a90e4d4bca0ee705ddeea
1e8b49f343c60c2756b701806ee97a3a8b0bbe5f
refs/heads/master
2021-09-05T01:51:16.309069
2018-01-23T15:07:42
2018-01-23T15:07:42
118,033,958
0
0
null
null
null
null
GB18030
C++
false
false
284
h
#ifndef _INPUT_H #define _INPUT_H #include <iostream> #include <string> #include <fstream> #include <vector> #include <cstring> using namespace std; int choose(int c); //菜单中的选择函数 int inte_Input(); //输入数字 string str_Input();//输入字符串 #endif
[ "362914124@qq.com" ]
362914124@qq.com
8591089edf128a2bb8e9aab1b7f6a1e84d6c704b
8dc84558f0058d90dfc4955e905dab1b22d12c08
/content/common/input/synthetic_web_input_event_builders.h
3247d0d243ddf02fe47ecb4e1bfd62c6a02fb2dc
[ "LicenseRef-scancode-unknown-license-reference", "BSD-3-Clause" ]
permissive
meniossin/src
42a95cc6c4a9c71d43d62bc4311224ca1fd61e03
44f73f7e76119e5ab415d4593ac66485e65d700a
refs/heads/master
2022-12-16T20:17:03.747113
2020-09-03T10:43:12
2020-09-03T10:43:12
263,710,168
1
0
BSD-3-Clause
2020-05-13T18:20:09
2020-05-13T18:20:08
null
UTF-8
C++
false
false
3,758
h
// Copyright 2013 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CONTENT_COMMON_INPUT_SYNTHETIC_WEB_INPUT_EVENT_BUILDERS_H_ #define CONTENT_COMMON_INPUT_SYNTHETIC_WEB_INPUT_EVENT_BUILDERS_H_ #include "base/time...
[ "arnaud@geometry.ee" ]
arnaud@geometry.ee
15f854947c9db5775945a5b4426165166e010e8e
b1708eb6995a2bdfc22cee18d2897bd5d8e1bc50
/x11hash.cc
789765812311ef50c949b1dc54d3200a3e60bc3f
[]
no_license
n-johnson/node-x11-hash-algo
6351f15b9fc906b33149bdaf95d58df72f4237d4
df95aa1442b09e719ad130e5595e0100d734ca0c
refs/heads/master
2021-01-16T08:55:00.308080
2014-08-11T08:23:35
2014-08-11T08:23:35
22,830,404
0
1
null
null
null
null
UTF-8
C++
false
false
960
cc
#include <node.h> #include <node_buffer.h> #include <v8.h> #include <stdint.h> extern "C" { #include "x11.h" } using namespace node; using namespace v8; Handle<Value> except(const char* msg) { return ThrowException(Exception::Error(String::New(msg))); } Handle<Value> hash(const Arguments& args) { Handl...
[ "node@njohnson.me" ]
node@njohnson.me
da2502bb64ee7e00ecef996437758ada18e57a5b
5a60d60fca2c2b8b44d602aca7016afb625bc628
/aws-cpp-sdk-appconfig/source/model/GetConfigurationProfileResult.cpp
9018b52076701d7d7635dbe68984d0863b5ee42a
[ "Apache-2.0", "MIT", "JSON" ]
permissive
yuatpocketgems/aws-sdk-cpp
afaa0bb91b75082b63236cfc0126225c12771ed0
a0dcbc69c6000577ff0e8171de998ccdc2159c88
refs/heads/master
2023-01-23T10:03:50.077672
2023-01-04T22:42:53
2023-01-04T22:42:53
134,497,260
0
1
null
2018-05-23T01:47:14
2018-05-23T01:47:14
null
UTF-8
C++
false
false
1,964
cpp
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/appconfig/model/GetConfigurationProfileResult.h> #include <aws/core/utils/json/JsonSerializer.h> #include <aws/core/AmazonWebServiceResult.h> #include <aws/core/utils/StringUtils.h> #inc...
[ "aws-sdk-cpp-automation@github.com" ]
aws-sdk-cpp-automation@github.com
8d8564d9a498e18607bf1a694729ef2a27b7fb96
cfad33a05c9d942060f05417521fe6512d3470e0
/python/cc/simple_output_stream_adapter_test.cc
b2e5efc1824a2e08a78d19155190b853be0b1806
[ "Apache-2.0" ]
permissive
code-machina/tink
fe2d3772e9b12ceaaef18c0789af2cdcd3ee6b9a
6db4f1846642e7f631043770ea80cf56caec723b
refs/heads/master
2020-07-18T15:42:40.824615
2019-09-03T19:15:21
2019-09-03T19:15:49
206,271,110
1
0
Apache-2.0
2019-09-04T08:34:19
2019-09-04T08:33:30
null
UTF-8
C++
false
false
7,857
cc
// 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 writing, software // distributed ...
[ "copybara-worker@google.com" ]
copybara-worker@google.com
7948a3902ef01507cd163f841c114927d960fdd7
117aaf186609e48230bff9f4f4e96546d3484963
/questions/48534529-1/main.cpp
74d870d60db7287710a8d015971c1023e39ecd7f
[ "MIT" ]
permissive
eyllanesc/stackoverflow
8d1c4b075e578496ea8deecbb78ef0e08bcc092e
db738fbe10e8573b324d1f86e9add314f02c884d
refs/heads/master
2022-08-19T22:23:34.697232
2022-08-10T20:59:17
2022-08-10T20:59:17
76,124,222
355
433
MIT
2022-08-10T20:59:18
2016-12-10T16:29:34
C++
UTF-8
C++
false
false
548
cpp
#include "filemodel.h" #include <QGuiApplication> #include <QQmlApplicationEngine> #include <QQmlContext> #include <QTimer> #include <QDebug> int main(int argc, char *argv[]) { #if defined(Q_OS_WIN) QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling); #endif QGuiApplication app(argc, argv); qmlRegist...
[ "e.yllanescucho@gmail.com" ]
e.yllanescucho@gmail.com
a1d90bfc62e9c1ddd465f51b592519e18f02aa7d
d9714160fd222bc49ef52a56edb7aeb82a591549
/bench/lib/exp/scalar/hkth1d6hkth3d4.cpp
f65ed039a55d50f6b0335eed169d5fa9b7365ed9
[ "MIT" ]
permissive
timocafe/poly
c2fb195a196f68c406fa10130c71e29d90bc125c
3931892bcd04f9ebfc0fde202db34d50973bc73b
refs/heads/master
2021-01-13T00:34:32.027241
2020-10-02T18:42:03
2020-10-02T18:42:03
41,051,374
0
0
null
2020-10-02T15:27:08
2015-08-19T18:08:26
C++
UTF-8
C++
false
false
1,756
cpp
// // hkth1d6hkth3d4_test.cpp // // Created by Ewart Timothée, 2/3/2016 // Copyright (c) Ewart Timothée. All rights reserved. // // This file is generated automatically, do not edit! // TAG: hkth1d6hkth3d4 // Helper: // h = Horner, e = Estrin, b = BruteForce // The number indicates the order for Horner // e...
[ "timothee.ewart@epfl.ch" ]
timothee.ewart@epfl.ch
41e702ec33255a127c309654a3e85b58ca50e12c
7a3fe1dccd3560a402dfb8f5c0ece7b3c4a054c0
/ConsoleApplication1/Game.cpp
d04bd55df27fc4320281094507009ee40def4887
[]
no_license
hasahmed/shapegame_cpp_win
95b761d65c19a6b67b429a04b04c7501bd4c91c9
db70d15e05a5ab379597576682e6843a9bb21b8d
refs/heads/master
2021-10-02T22:02:47.976511
2018-12-01T11:35:04
2018-12-01T11:35:04
159,936,303
0
0
null
null
null
null
UTF-8
C++
false
false
1,153
cpp
#include <exception> #include "shapegame" using namespace shapegame; Game* Game::_inst = nullptr; shapegame::Game::Game( unsigned int windowWidth, unsigned int windowHeight, std::string windowTitle ){ if (Game::_inst) { throw std::runtime_error("Game can only be constructed once"...
[ "hasahmed@umail.iu.edu" ]
hasahmed@umail.iu.edu
738cbb87b3f5b277d6ac7b6f1c2acc100305dede
9f010ed20064f81fb6cb84b4bff7df848a987488
/A1090/main.cpp
32b09725432001f77df83da83e5acccf3b03ed8b
[]
no_license
specular-zxy/PAT-code
cd847db9c25c5a753028729950691163e8680c30
d49b2557ae6105f13a8dc04d70bbaedd4951b044
refs/heads/master
2021-05-27T12:57:28.304496
2020-06-28T13:43:52
2020-06-28T13:43:52
254,268,749
0
0
null
null
null
null
UTF-8
C++
false
false
857
cpp
#include <cstdio> #include <cmath> #include <vector> using namespace std; const int maxn = 100010; vector<int> child[maxn]; double p, r; int n, maxDepth = 0, num = 0; void DFS(int index, int depth) { if (child[index].size() == 0) { if (depth > maxDepth) { maxDepth = depth; num = 1; ...
[ "zhouxinyan33@gmail.com" ]
zhouxinyan33@gmail.com
100661eddd0b8fec35f42efd387a379d459f61ac
dd1e33b7a6abe5e991b0f7f99bbcb06ffc8b36d1
/Source/PresetTable.cpp
6bc3e871ed0a62a9195dff25234c7b785fd74494
[]
no_license
n-wave/Akateko
45a1bb7a26d925510a00928e905816c696f1f318
f227a8f47c497bf33dabac0ab139a9740fc5073c
refs/heads/master
2020-03-23T14:54:32.947581
2018-06-29T14:45:06
2018-06-29T14:45:06
141,707,326
0
0
null
null
null
null
UTF-8
C++
false
false
6,581
cpp
/* ============================================================================== PresetTable.cpp Created: 27 Apr 2018 10:06:13pm Author: mario ============================================================================== */ #include "PresetTable.h" #include <algorithm> using std::v...
[ "info@n-wave.systems" ]
info@n-wave.systems
135b3473f8b452f11df2da65ae2052c1d6d4575f
b54829c3408a645bb0a13bccd4cc89df853ea3b3
/ReactionGameWithArcadianStyleLed.cydsn/Generated_Source/PSoC5/ErikaOS_1_ee_as_internal.inc
507c65267fd352bb524fee47dac6cc18c8557378
[]
no_license
aadarshkumar-singh/ReactionGameWithArcadianLeds
e023b437cf2b5735fc578ff981cab3b395e83688
f4b3e44e8dfa05c9fca23d32691c119ca7279577
refs/heads/master
2022-06-06T17:24:39.638079
2020-04-26T16:09:55
2020-04-26T16:09:55
259,063,626
0
0
null
null
null
null
UTF-8
C++
false
false
17,849
inc
/* ###*B*### * ERIKA Enterprise - a tiny RTOS for small microcontrollers * * Copyright (C) 2002-2012 Evidence Srl * * This file is part of ERIKA Enterprise. * * ERIKA Enterprise is free software; you can redistribute it * and/or modify it under the terms of the GNU General Public License * version 2 ...
[ "aadarshxp@gmail.com" ]
aadarshxp@gmail.com
c96be9f1489b7cbe34c981e06957adea97e23dbd
bb7d3a8c005d2dd14c22651b89ae7ca4ddaad37e
/2/main.cpp
23537971c4dab2b9b678881287ed8c1caf9e5dcb
[]
no_license
gheome/TemaIP123
45e700c7ccea927c4f8253944bae84d7e9aa69f6
4d6887e464a98fbb6820cf274fae2c422d9f0f8b
refs/heads/master
2021-01-11T01:11:24.412464
2016-10-16T20:04:21
2016-10-16T20:04:21
71,071,062
0
0
null
null
null
null
UTF-8
C++
false
false
303
cpp
#include <iostream> using namespace std; unsigned char sumBinaryFigure(unsigned long long number) { int nr; nr=0; while(number>0) { if (number%2==1) nr++; number=number/2; } return nr; } int main() { return sumBinaryFigure(111111222211); return 0; }
[ "alexandru_gh97@yahoo.co.uk" ]
alexandru_gh97@yahoo.co.uk
57c31a802f9aad39bc088ff9a39be85ae1dc2788
dc888595f079eade0807235c1880642600974d95
/seven day_1/build-gridLayout-Desktop_Qt_5_7_0_MinGW_32bit-Debug/debug/moc_widget.cpp
0d029dcb973488f7f56de84cf6964c13872bc0a0
[]
no_license
WenchaoZhang/qt_learing
53377594e4102a68ddcadfab121d502ffab72a53
33e4dbdbd3a2c35e124c923b850e6e244aab320b
refs/heads/master
2021-01-23T19:29:10.871224
2017-09-30T04:40:22
2017-09-30T04:40:22
102,826,803
2
0
null
null
null
null
UTF-8
C++
false
false
2,550
cpp
/**************************************************************************** ** Meta object code from reading C++ file 'widget.h' ** ** Created by: The Qt Meta Object Compiler version 67 (Qt 5.7.0) ** ** WARNING! All changes made in this file will be lost! **************************************************************...
[ "269426626@qq.com" ]
269426626@qq.com
3b561abe183d2204efc29915f5292126b9f512d3
0b69a011c9ffee099841c140be95ed93c704fb07
/problemsets/UVA/993.cpp
4155c9820d3017be5cf27aff3c41814b35a1317e
[ "Apache-2.0" ]
permissive
juarezpaulino/coderemite
4bd03f4f2780eb6013f07c396ba16aa7dbbceea8
a4649d3f3a89d234457032d14a6646b3af339ac1
refs/heads/main
2023-01-31T11:35:19.779668
2020-12-18T01:33:46
2020-12-18T01:33:46
320,931,351
0
0
null
null
null
null
UTF-8
C++
false
false
619
cpp
/** * * Author: Juarez Paulino(coderemite) * Email: juarez.paulino@gmail.com * */ #include <cstdio> #include <cmath> #include <algorithm> using namespace std; int main() { int T, N; scanf("%d", &T); while (T--) { scanf("%d", &N); if (N < 10) { printf("%d\n", N); continue; } ...
[ "juarez.paulino@gmail.com" ]
juarez.paulino@gmail.com
31214f42b2431a53de5e9505d1dd105c9b7f1a49
f3ee233dc76c097134931f4988b1b5c94ce6879e
/WeatherStation_CPP/Src/cpp_Light_Sensor.cpp
5faf3f5b9c8ecdc28aa2d66ffc28099f9648fa6e
[]
no_license
mitea1/WeatherStation_Cpp
d5ee59799718da080779ec5e8acb6c425d42f631
47ae8995a41c9179f36e7d1b5c056e4ab9fe9a20
refs/heads/master
2016-09-12T10:55:39.837159
2016-04-29T22:48:03
2016-04-29T22:48:03
56,344,920
0
0
null
null
null
null
UTF-8
C++
false
false
885
cpp
/* * Light_Sensor_CPP.cpp * * Created on: Apr 20, 2016 * Author: Simon */ /*----- Header-Files -------------------------------------------------------*/ #include "cpp_Light_Sensor.hpp" /*----- Macros -------------------------------------------------------------*/ /*----- Data types -------------...
[ "bolzs2@bfh.ch" ]
bolzs2@bfh.ch
604f72ad2a5a8078f411d0a809875b7d4a9cb2b8
4d9bbd510b0af8778daba54fe2b1809216463fa6
/build/Android/Debug/app/src/main/include/Fuse.Scripting.JSObjectUtils.h
9d76447f80d5acfc3d200b971f3180c654411126
[]
no_license
Koikka/mood_cal
c80666c4930bd8091e7fbe4869f5bad2f60953c1
9bf73aab2998aa7aa9e830aefb6dd52e25db710a
refs/heads/master
2021-06-23T20:24:14.150644
2020-09-04T09:25:54
2020-09-04T09:25:54
137,458,064
0
0
null
2020-12-13T05:23:20
2018-06-15T07:53:15
C++
UTF-8
C++
false
false
1,596
h
// This file was generated based on node_modules/@fuse-open/fuselibs/Source/build/Fuse.Scripting/1.12.0/JSObjectUtils.uno. // WARNING: Changes might be lost if you edit this file directly. #pragma once #include <Uno.h> namespace g{namespace Fuse{namespace Scripting{struct Context;}}} namespace g{namespace Fuse{namespa...
[ "antti.koivisto@samk.fi" ]
antti.koivisto@samk.fi
cb318f5136d99c6a2d67e0a080b0a7529f8714a0
b904263df73ce56b3c6f7e05b2bafb5abf46f21a
/gdipp_demo_render/commandline.cpp
4dc7daba3681d44d27bd540d8db4288742e1993e
[ "MIT" ]
permissive
dbautsch/gdipp-conf-editor
cc1c9fbf8dfda81a80da927b4044d0c7ce340547
817acdc9464db172782f465a44b27bfa917ef86f
refs/heads/master
2021-07-02T14:56:02.149213
2020-12-21T18:26:14
2020-12-21T18:26:14
208,060,372
0
0
null
null
null
null
UTF-8
C++
false
false
3,183
cpp
/* Copyright (c) 2019 Dawid Bautsch Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, pu...
[ "dawid@bautsch.pl" ]
dawid@bautsch.pl
000384326b414cc12fde586ff73a5ec5e224f532
633842301cd36cad562767da691ed5297ccd559f
/Accepted/zerojudge/a034. 二進位制轉換.cpp
643d1683c28f534d7835d148ab6ef72a0f26795d
[]
no_license
turtle11311/Codes
c5b87864f59802241b6784ccd5cd553fe5533748
7711679dffb421323ab2cc389662d106d50ab16c
refs/heads/master
2020-04-06T05:20:33.810466
2014-12-24T12:20:13
2014-12-24T12:20:13
null
0
0
null
null
null
null
UTF-8
C++
false
false
292
cpp
#include <iostream> #include <string> using namespace std; int main () { long long int n, i; char ans[60]; while (cin >> n) { for (i=0;i<60;i++) ans[i]=' '; for (i=0;n != 0;n/=2,i++) ans[i]=n%2+'0'; for (i-=1;i>=0;i--) cout << ans[i]; cout << endl; } }
[ "turtle11311@hotmail.com" ]
turtle11311@hotmail.com
9cfd63ec381c30e60c8e82aac8f62958be1fe804
d43c3fbfd149d2ac0a051a0074585dce345ae967
/muduo/muduo/base/AsyncLogging.h
8aaa827df955de6b60c0a78c461f5d93061cb52b
[ "BSD-3-Clause" ]
permissive
wuzhl2018/AnnotatedVersion
3dad25b843a7ba5dd272dca61e9bde98483dd1af
bfdafa36e18e7212fac01762e628aef28633b9a4
refs/heads/master
2020-09-16T22:03:22.695817
2019-11-20T05:18:34
2019-11-20T05:18:34
223,900,026
1
1
null
null
null
null
UTF-8
C++
false
false
1,706
h
#ifndef MUDUO_BASE_ASYNCLOGGING_H #define MUDUO_BASE_ASYNCLOGGING_H #include <muduo/base/BlockingQueue.h> #include <muduo/base/BoundedBlockingQueue.h> #include <muduo/base/CountDownLatch.h> #include <muduo/base/Mutex.h> #include <muduo/base/Thread.h> #include <muduo/base/LogStream.h> #include <boost/bind.hpp> #includ...
[ "805356546@qq.com" ]
805356546@qq.com
0dcc6931687b70e8737fbf4bf1b324537ebe98b5
563e3598843e0d7883c34d7d7fab130259cc0d60
/PalindromePermutation.cpp
89f7e88ea939c4ee42f408046b44d35f0560d3a1
[]
no_license
rshah918/Cracking-the-Coding-Interview
a315ba17bf590f23ebb343fa231df6c02d49e07f
e8d2fe39975f3dcad44bb931b6baa44ab7b4a9f9
refs/heads/master
2023-08-18T12:10:46.766123
2021-10-07T22:23:25
2021-10-07T22:23:25
270,379,968
0
0
null
null
null
null
UTF-8
C++
false
false
927
cpp
#include <iostream> #include <string> #include <unordered_map> using namespace std; bool palindromePermutation(string s){ unordered_map<char, int> char_count; int num_odd_chars = 0; for(int i = 0; i < s.length(); i++){ char curr = s[i]; //increment character count in hash table if(...
[ "rahulshah512@gmail.com" ]
rahulshah512@gmail.com
c9e31faedac8f4b1781a1c72c7b3ee9a885248c3
1111ac58ece117d2cd96bb5cabe07ab41220ad25
/class.h
f775453fb48ac05fcc2f9ae7ab64973378734389
[ "MIT" ]
permissive
Sophie-Williams/TAK-Game-playing-bot
f51f2a2c3b3498ecbe5f8f67c0730e4b2315075b
ee30166749669a03f7ecbb64caa8832bfa52ebc0
refs/heads/master
2020-05-19T15:39:17.191448
2016-11-12T15:45:40
2016-11-12T15:45:40
null
0
0
null
null
null
null
UTF-8
C++
false
false
368
h
#include<bits/stdc++.h> using namespace std; class state{ public: state* parent; vector< vector< vector< int > > > boardState; double eval ; double alpha, beta ; int depth; string printM ; //define a constructor function //error vecotr state(int size); state() ; bool operator < (const state& st) const ...
[ "singhmanish1997@gmail.com" ]
singhmanish1997@gmail.com
cf1ab5a019e54fec47f920181ec845a62fca700b
fbf49ac1585c87725a0f5edcb80f1fe7a6c2041f
/SDK/BP_C058A_SkillMoveTeleport_classes.h
5fea63434740597d23c72521a11a0294a7013833
[]
no_license
zanzo420/DBZ-Kakarot-SDK
d5a69cd4b147d23538b496b7fa7ba4802fccf7ac
73c2a97080c7ebedc7d538f72ee21b50627f2e74
refs/heads/master
2021-02-12T21:14:07.098275
2020-03-16T10:07:00
2020-03-16T10:07:00
244,631,123
0
1
null
null
null
null
UTF-8
C++
false
false
699
h
#pragma once // Name: DBZKakarot, Version: 1.0.3 #ifdef _MSC_VER #pragma pack(push, 0x8) #endif namespace SDK { //--------------------------------------------------------------------------- // Classes //--------------------------------------------------------------------------- // BlueprintGeneratedClass BP_C058A_...
[ "zp2kshield@gmail.com" ]
zp2kshield@gmail.com
976290a73958d73cba75c59572bd703df53e2c98
0f23651b08fd5a8ce21b9e78e39e61618996073b
/tools/clang/test/Misc/ast-dump-decl.cpp
0df8a5a2b8fb78765b51f6a8db062befe01e20c6
[ "NCSA" ]
permissive
arcosuc3m/clang-contracts
3983773f15872514f7b6ae72d7fea232864d7e3d
99446829e2cd96116e4dce9496f88cc7df1dbe80
refs/heads/master
2021-07-04T03:24:03.156444
2018-12-12T11:41:18
2018-12-12T12:56:08
118,155,058
31
1
null
null
null
null
UTF-8
C++
false
false
19,304
cpp
// RUN: %clang_cc1 -std=c++11 -triple x86_64-linux-gnu -fms-extensions -ast-dump -ast-dump-filter Test %s | FileCheck -strict-whitespace %s class testEnumDecl { enum class TestEnumDeclScoped; enum TestEnumDeclFixed : int; }; // CHECK: EnumDecl{{.*}} class TestEnumDeclScoped 'int' // CHECK: EnumDecl{{.*}} TestEnumD...
[ "jalopezg@inf.uc3m.es" ]
jalopezg@inf.uc3m.es
58fbb260bec723b877a9cdf354dfeae517296cad
31ff2096bcc62be7fcf929ad098c83367d8170d0
/src/net.cpp
fb92ed4a7449682340b3e71914c9092bf38b3974
[ "MIT" ]
permissive
puredev321/Decentronium
be59c538bea4d4b276789747489f3d27099b7120
b0a4faff7f4a979f9a86ba8f7b93693bc8c3b39a
refs/heads/master
2020-04-02T22:10:00.961056
2018-10-26T11:26:49
2018-10-26T11:26:49
154,823,724
3
0
null
null
null
null
UTF-8
C++
false
false
66,352
cpp
// Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2014 The Bitcoin developers // Copyright (c) 2014-2015 The Dash developers // Copyright (c) 2015-2017 The PIVX developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-li...
[ "puredev321@gmail.com" ]
puredev321@gmail.com
9282485cafc454aa7bbdae8f65515af9af9f4d4b
8ce1e9f1bef1a647f4c986a24df5340ffb17bc4e
/Linked List OO/LinkedListsOOPAssignment/LinkedListsOOPAssignment/Employee.h
a22ad6b25c73ef189d3ed24dee43fb4c1b93435b
[]
no_license
Nikhilvedi/University-Work
54ac1b22c3dba8bb65f493962b0fbef3bd6cc526
118705add1d105e753af5f7814484a3388f6645e
refs/heads/master
2021-01-10T15:06:22.126914
2015-10-17T16:12:04
2015-10-17T16:12:04
44,443,475
0
0
null
null
null
null
UTF-8
C++
false
false
831
h
#include "stdafx.h" #include <string> using namespace std; #ifndef EMPLOYEE_H #define EMPLOYEE_H class Employee { protected: string name; string startDate; int empNumber; int dept; public: Employee(); Employee(string, string, int, int); string getName(); string getStartDate(); int getEmpNo(); int getDept()...
[ "nv94@hotmail.co.uk" ]
nv94@hotmail.co.uk
1e86a5fc01abe16157d2bf3c0f80fda6145a6255
e61a0ebe93280719d9bb34cac52d772f0d814e5f
/hdoj1207.cpp
3c6f23988b6b6fef0fddea83639ba9c787a9e0eb
[]
no_license
zhouwangyiteng/ACM_code
ba5df2215500a1482cf21362160ddbf71be0196d
ca3e888bd4908287dd822471333a38c24b0a05db
refs/heads/master
2020-04-12T06:35:10.160246
2017-04-22T07:44:09
2017-04-22T07:44:09
61,373,600
0
0
null
null
null
null
UTF-8
C++
false
false
1,049
cpp
/************************************************************************* > File Name: hdoj1207.cpp > Author: > Mail: > Blog: > Created Time: 2016年07月30日 星期六 19时50分41秒 ************************************************************************/ #include <iostream> #include <cstdio> #include <vector> #include <...
[ "zhouwang122@qq.com" ]
zhouwang122@qq.com
7002cdc385ab345c27679e593dfb72df3e69d413
a63e739155d5b07bb9252501b64bf0d5de275087
/Ejercicio 4/src/common/Resultado.cpp
7329329f8038be5b00c8fdebf9220128a205a73d
[]
no_license
dario-ramos/testers-distribuidos7574
677b79588aadeb547d85f5f31f6c3912828cc8e4
5a8e992960f069a80491d49d270e52c4a8b95db6
refs/heads/master
2016-09-05T21:52:37.730168
2015-03-09T16:59:22
2015-03-09T16:59:22
33,097,578
0
0
null
null
null
null
UTF-8
C++
false
false
178
cpp
/* * File: Resultado.cpp * Author: knoppix * * Created on October 4, 2014, 10:28 PM */ #include "Resultado.h" Resultado::Resultado() { } Resultado::~Resultado() { }
[ "dario.fenix@gmail.com@18dcfaaf-94c9-9b71-9433-3f00c941b258" ]
dario.fenix@gmail.com@18dcfaaf-94c9-9b71-9433-3f00c941b258
eb1955d5768754226c535e1f1fe360f376e88e7e
4051dc0d87d36c889aefb2864ebe32cd21e9d949
/practice/Level_order_non_recursive.cpp
19bbb674602a60cb3aba6abcb765d893905ac265
[]
no_license
adityax10/ProgrammingCodes
e239971db7f3c4de9f2b060434a073932925ba4d
8c9bb45e1a2a82f76b66f375607c65037343dcd9
refs/heads/master
2021-01-22T22:53:01.382230
2014-11-07T10:35:00
2014-11-07T10:35:00
null
0
0
null
null
null
null
UTF-8
C++
false
false
557
cpp
#include<bits/stdc++.h> using namespace std; class node { public: int data; node *l,*r; node(int data) { this->data = data; l=r=0; } }; void levelorder(node *t) { queue<node*> v; v.push(t); while(!v.empty()) { t = v.front(); v.pop(); cout<<t->data<<" "; if(t->l) v.push(t->l); if(t->r)...
[ "androidaditya@gmail.com" ]
androidaditya@gmail.com
b9a0089e9ff15372c8809bae2153da632e3fc563
7f6d2df4f97ee88d8614881b5fa0e30d51617e61
/武庆安/Experiment_3/SouceCode/example2_04-局部变量.cpp
311b7cbb672a69dfd339860f01fdf4f1afa044e8
[]
no_license
tsingke/Homework_Turing
79d36b18692ec48b1b65cfb83fc21abf87fd53b0
aa077a2ca830cdf14f4a0fd55e61822a4f99f01d
refs/heads/master
2021-10-10T02:03:53.951212
2019-01-06T07:44:20
2019-01-06T07:44:20
148,451,853
15
25
null
2018-10-17T15:20:24
2018-09-12T09:01:50
C++
UTF-8
C++
false
false
905
cpp
// example2_04:局部变量示例 #include <stdio.h> #include <windows.h> int n = 10; //全局变量 void func(int n) { n = 20; //局部变量 printf("func n: %d\n", n); } void func1() { int n = 20; //局部变量 printf("func1 n: %d\n", n); } void func2(int n) { printf("func2 n: %d\n", n); } void func3() { printf("func3 n: %d...
[ "201711010304@stu.sdnu.edu.cn" ]
201711010304@stu.sdnu.edu.cn
bc9d8bba86d16f2e545ac32ae3f79fe75999a993
85fcd407df2eb50ea6e015580986f950882f9fd4
/basics/Arrays/sortInLinearTime.cpp
0cf4cc6133c6ecf1846f1152302256f9f8e07e82
[]
no_license
naveen700/CodingPractice
ff26c3901b8721cb0c6de32f8df246b999893471
d4f7c756974a5eee16c79e8d98f86b546260aa6d
refs/heads/master
2021-01-16T02:19:27.387955
2020-04-26T17:41:08
2020-04-26T17:41:08
242,941,499
0
0
null
null
null
null
UTF-8
C++
false
false
708
cpp
#include <iostream> using namespace std; void sortInLinearTime(int [],int); int main(){ int len; cin>>len; int arr[len]; for(int i=0; i<len;i++){ cin>>arr[i]; } sortInLinearTime(arr,len); } void sortInLinearTime(int arr[] , int len){ int a=0, b=0 ,c=0; // to count no of z...
[ "naveenrana921@gmail.com" ]
naveenrana921@gmail.com
55cac0b1df59f2c448c66ef59d722c32cd545e58
2a6a078d0073cfc78429f1f96370bac32bb5bd38
/src/node.h
effd6b13ce3c3bb313049a9834ebfc19053b9d18
[]
no_license
dieu-detruit/onnx2c
0466386ad96ab4eab6c1ecd231e83dee2ebb9acc
97e8d3913253e349b103c4dbdff30552d4137be0
refs/heads/master
2023-04-06T20:59:09.383733
2021-03-28T14:03:45
2021-03-31T19:39:00
null
0
0
null
null
null
null
UTF-8
C++
false
false
3,089
h
#pragma once #include <string> #include "error.h" #include "onnx.pb.h" #include "util.h" namespace toC { class Tensor; /* The ONNX node, or computation kernel. * * Node is a virtual parent class for each of the * ONNX node "types" or "operands" (e.g. Add, Relu, ...) * Each individual node in the graph is then an ...
[ "kraiskil@iki.fi" ]
kraiskil@iki.fi
d1ce092da27c2bfc9c353926f51085895022f3d9
95dcf1b68eb966fd540767f9315c0bf55261ef75
/build/pc/Boost_1_50_0/output/include/boost-1_50/boost/mpl/multiset/aux_/item.hpp
839c338e18241851ab2c45579dcdb96031efef79
[ "BSL-1.0" ]
permissive
quinsmpang/foundations.github.com
9860f88d1227ae4efd0772b3adcf9d724075e4d1
7dcef9ae54b7e0026fd0b27b09626571c65e3435
refs/heads/master
2021-01-18T01:57:54.298696
2012-10-14T14:44:38
2012-10-14T14:44:38
null
0
0
null
null
null
null
UTF-8
C++
false
false
3,661
hpp
#ifndef BOOST_MPL_MULTISET_AUX_ITEM_HPP_INCLUDED #define BOOST_MPL_MULTISET_AUX_ITEM_HPP_INCLUDED // Copyright Aleksey Gurtovoy 2003-2004 // // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) // // See http://ww...
[ "wisbyme@yahoo.com" ]
wisbyme@yahoo.com
dd59b9acea9bece9435b803d9b36c2b8f4e17a96
af665e07d1c18a8a15b39a980b01b2a55a33bb78
/kaldi/src/nnet3/nnet-descriptor.h
e2d2c41772d4ddb605875ba7faea7361c6cae716
[ "Apache-2.0", "LicenseRef-scancode-public-domain" ]
permissive
lyapple2008/SpeakerVerification_based_on_Kaldi
cd52721fcf9b6d05326df5a7fcabd0bf66db7f08
838b60e8a5be31909f7d17941999ad2fa6f32b4a
refs/heads/master
2021-01-23T06:14:35.046951
2017-06-01T09:33:10
2017-06-01T09:33:10
93,015,037
5
1
null
null
null
null
UTF-8
C++
false
false
26,845
h
// nnet3/nnet-descriptor.h // Copyright 2012-2015 Johns Hopkins University (author: Daniel Povey) // See ../../COPYING for clarification regarding multiple authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may ob...
[ "ly_apple_2008@163.com" ]
ly_apple_2008@163.com
59ac289351f134ec667d5077222717aaea8e15ad
225b9a9ce807b669f5da0224b374bbf496d0bc70
/lg3402.cpp
ec94854b618165b84c6374b974c2163dc6141ae3
[]
no_license
Kewth/OJStudy
2ed55f9802d430fc65647d8931c028b974935c03
153708467133338a19d5537408750b4732d6a976
refs/heads/master
2022-08-15T06:18:48.271942
2022-07-25T02:18:20
2022-07-25T02:18:20
172,679,963
6
2
null
null
null
null
UTF-8
C++
false
false
786
cpp
#include <bits/stdc++.h> inline long long input() { long long res ; scanf("%lld",&res); return res; } int find(int x,int *fa) { if(fa[x] == x) return x; return find(fa[x] , fa); } inline void add(int x,int y,int *fa,int *deep) { x = find(x , fa); y = find(y , fa); if(deep[x] < deep[y]) fa[x] = y; else fa[...
[ "wthdsg@foxmail.com" ]
wthdsg@foxmail.com
16fba564cabd85a3f50fedaafec5b7e5d85d48f1
22153e138bb70e4ec27f121882971bdd28df3444
/src/HuffyBool.cpp
6b6a62d9fa927c0be9854ef0dd27b5c290f51c17
[]
no_license
AndyKelly/Huffy
f9486fa097276ee253711743cbe5c19002d0eb4d
0c67f012fe69edb03cb0377ec6666b7174ca21ac
refs/heads/master
2021-01-01T16:55:19.200574
2013-01-14T08:07:01
2013-01-14T08:07:01
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,725
cpp
/* * HuffyBool.cpp * * Author: Andy Kelly */ #include "HuffyBool.h" #include "HuffyConstants.h" #include "HuffyManager.h" using namespace std; HuffyBool::HuffyBool(void) { m_Value = 0; } HuffyBool::HuffyBool(bool Value) { m_Value = Value; } HuffyBool::HuffyBool(bool Value, string UniqueID) { m_Value = ...
[ "andykelly@outlook.com" ]
andykelly@outlook.com
cb1164868c280c40ce464048f09bf6512ff8cc4f
f0c9b902901b2e70c004e24e07f6a30defa9f84a
/src/World/World.cpp
5fbfc72ecbbc1b0e65be701737d399b6e4bf1c1e
[]
no_license
lorenzofman/ComputerGraphicsTC
4f45a19356bec91da523e204e0436f8bf8af568e
a79ad136c3b26db212869b02561c18437ab11b3b
refs/heads/master
2022-06-02T14:55:18.850485
2020-05-05T16:52:22
2020-05-05T16:52:22
257,919,061
0
0
null
null
null
null
UTF-8
C++
false
false
844
cpp
#include "World.h" World::World() { EventSystem::UpdateCallback.Register([this] {this->OnUpdate(); }); EventSystem::KeyDownCallback.Register([this] (int key) {this->OnKeyDown(key); }); bezier = new BezierCurve(); } void World::OnUpdate() { Canvas2D::ClearScreen(Colors::Background); bezier->Render(); DisplayFrame...
[ "lorenzofman@gmail.com" ]
lorenzofman@gmail.com
d26dd617bf6912fea72dde546fbc6ceb92c4a240
2ca167503b276a48f232c9c179ec43f2214194e9
/InvokeTarget1/src/main.cpp
d64df089e13d910663e0e025199451796302ce87
[ "Apache-2.0", "LicenseRef-scancode-warranty-disclaimer" ]
permissive
ProLove365/Cascades-Community-Samples
6f3f81bfdc61ec57b4d0218d2c1ed5b2f59ee53c
4d723d37e5bf61df13a8fa7740acbdd1e422d230
refs/heads/master
2020-12-25T12:40:02.333653
2012-10-24T09:42:53
2012-10-24T09:42:53
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,467
cpp
/* Copyright (c) 2012 Research In Motion Limited. * * 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 ...
[ "shaque@rim.com" ]
shaque@rim.com
33bf8fa0e925509c71891a6eeb87339bcf66a4fc
839aa2696f888cbe966f94614e11d8962cc27c74
/utils/cpp/point_score.cpp
a535b6d27bebc000b921c32a0563220908743913
[]
no_license
jiehanzheng/rpi_intercom
dfb254ecd42b12252c099ad036691982f1073931
5ec9109504f78afc8b30c26cc83d518a91967dc5
refs/heads/master
2016-09-08T01:29:46.455086
2013-02-22T06:48:06
2013-02-22T06:48:06
null
0
0
null
null
null
null
UTF-8
C++
false
false
468
cpp
#include <math.h> score_info point_score(double x1, double y1, double x2, double y2) { double dx = std::abs(x1-x2); double y_ratio = y1/y2; double y_margin = pow(std::max(y1,y2),2.2)/1000000; double x_comp = pow((0.015*dx),4); double y_comp = pow(std::max((double)0,abs(y_ratio-1)-y_margin),(double)5); dou...
[ "zheng@jiehan.org" ]
zheng@jiehan.org
e4592f4e8d5aae51a2be0ce2fa1da93e289dbf24
9a3b9d80afd88e1fa9a24303877d6e130ce22702
/src/Providers/UNIXProviders/AggregateRedundancyComponent/UNIX_AggregateRedundancyComponent_LINUX.hxx
5d385a4adc902a9e9a28dbb4cd8fe37a866e560c
[ "MIT" ]
permissive
brunolauze/openpegasus-providers
3244b76d075bc66a77e4ed135893437a66dd769f
f24c56acab2c4c210a8d165bb499cd1b3a12f222
refs/heads/master
2020-04-17T04:27:14.970917
2015-01-04T22:08:09
2015-01-04T22:08:09
19,707,296
0
0
null
null
null
null
UTF-8
C++
false
false
1,841
hxx
//%LICENSE//////////////////////////////////////////////////////////////// // // Licensed to The Open Group (TOG) under one or more contributor license // agreements. Refer to the OpenPegasusNOTICE.txt file distributed with // this work for additional information regarding copyright ownership. // Each contributor lice...
[ "brunolauze@msn.com" ]
brunolauze@msn.com
dc9ec1a25d7ab88f46d6e38fb016c6bbdfad80a8
f7458f81055c5458ae619b8e5469e3e018f05b1f
/IO/SegY/vtkSegY3DReader.h
06534530974e3bafbbc9996ef0a845280bb51710
[ "BSD-3-Clause" ]
permissive
CDAT/VTK
f4e2d5920533eee2009044cff99d722290d14870
840dcb68621a8aeef2b49be4a3ba64c9f5061987
refs/heads/uvcdat-master
2022-04-07T07:13:44.287885
2017-08-18T16:25:07
2017-08-18T16:25:07
13,934,856
0
0
NOASSERTION
2020-02-28T07:53:21
2013-10-28T18:37:31
C++
UTF-8
C++
false
false
1,504
h
/*========================================================================= Program: Visualization Toolkit Module: vtkSegY3DReader.h Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen All rights reserved. See Copyright.txt or http://www.kitware.com/Copyright.htm for details. This software is...
[ "sankhesh.jhaveri@kitware.com" ]
sankhesh.jhaveri@kitware.com
af588588282fb1ecdd9a6712a6fddb4e09f06a95
41a08c02f23996fb2d7aeb78764443a63eed15eb
/greeting_10_24.cc
0bc1a58321df6799de73730a8fece1d150d74b06
[]
no_license
kmad1729/acpp
b28407ab007d18126601c03a05e4386bc1ed470a
7a933fbfa714c4459cff53d3fe364759118beb12
refs/heads/master
2020-04-29T02:18:11.154932
2014-01-05T18:45:27
2014-01-05T18:45:27
null
0
0
null
null
null
null
UTF-8
C++
false
false
918
cc
#include<iostream> #include<string> using std::cout; using std::cin; using std::string; using std::endl; int main() { cout << "Please enter your first name: "; string name; cin >> name; const string greeting = "Hi, " + name + "! How are you"; const int pad = 5; const int rows = 2 * pad + 3; strin...
[ "kashyap.mad@gmail.com" ]
kashyap.mad@gmail.com
02b5584684acbb23a3b18f28881499a34f68303a
1dae79fb96f0dbbd03104eac106285e1aef88197
/TI/Lab_2/UnitIDEA.h
a261e0fc89b5b2629e1f36f9345591e9effe2512
[ "Apache-2.0" ]
permissive
ilyacoding/bsuir
781e8f126d1f7d2db402b9d8083d1f4bcdcc6f4e
c1a09b63d5d66a3dc0f4545589608a18d1b5d9c9
refs/heads/master
2021-05-15T04:23:26.430221
2019-05-29T04:06:12
2019-05-29T04:06:12
75,403,020
0
0
Apache-2.0
2021-04-21T19:34:52
2016-12-02T14:35:01
Objective-C
UTF-8
C++
false
false
1,903
h
//--------------------------------------------------------------------------- #ifndef UnitIDEAH #define UnitIDEAH //--------------------------------------------------------------------------- #include <System.Classes.hpp> #include <Vcl.Controls.hpp> #include <Vcl.StdCtrls.hpp> #include <Vcl.Forms.hpp> #include <Vcl.Wi...
[ "ilyacoding@yandex.com" ]
ilyacoding@yandex.com
03e3044cae601707e8a4950b6517b30fbd989931
35fbe1678a2b52fed50c754e5e2fbe2f39ef44d6
/windows/runner/main.cpp
07c35159228a2d7b11a679857dddec9603250d47
[]
no_license
deorwine/desktop-applications-with-flutter
2ae1d5f006800a01cd6b0385fd68ff0c51741498
ccc81e797b5ef1fb521959bc691d9e624639ca60
refs/heads/master
2023-06-20T11:44:14.246979
2021-07-23T06:58:22
2021-07-23T06:58:22
388,004,891
0
0
null
null
null
null
UTF-8
C++
false
false
1,257
cpp
#include <flutter/dart_project.h> #include <flutter/flutter_view_controller.h> #include <windows.h> #include "flutter_window.h" #include "run_loop.h" #include "utils.h" int APIENTRY wWinMain(_In_ HINSTANCE instance, _In_opt_ HINSTANCE prev, _In_ wchar_t *command_line, _In_ int show_comm...
[ "paras.laxkar@deorwine.com" ]
paras.laxkar@deorwine.com
f2e39736ddeea4453e1404016a9c9cb0be23245c
a78390c58814a59998f330adab061c7f7678725e
/sources/srm/src/include/BaseSRF.h
3a832bfd854636bfc0b240eaa58f27142c155e1c
[ "LicenseRef-scancode-warranty-disclaimer" ]
no_license
Geo4Win/sedris-dynamic
d632c3c496bdd111b8cb27d69de359cd7cc7c420
cfb3b2f1605221bb1cfd86c8315ff0ca740767b8
refs/heads/master
2021-07-06T16:47:05.668696
2017-10-02T04:55:03
2017-10-02T04:55:03
105,417,233
0
1
null
null
null
null
UTF-8
C++
false
false
61,355
h
/** @file BaseSRF.h @author Warren Macchi, David Shen @brief Declaration of SRF base classes and includes of concrete SRF classes. */ // SRM SDK Release 4.1.4 - July 1, 2011 // - SRM spec. 4.1 /* * NOTICE * * This software is provided openly and freely for use in representing and * in...
[ "sysbender@gmail.com" ]
sysbender@gmail.com
72b3e573176a4672dcad4570563a226c76ff0d60
64c64f19d6028d3948263a0acd1e7e86f5bf38b1
/OJ/446.cpp
78fd05df8b6f3088c8c152140365157fb6f0e27f
[]
no_license
xiejun5/HaiZei
f765f2462b63fe87efe754096c80c5f2ec5ea3df
9f36757cadeb2f71434604eb16145dd5ef60e736
refs/heads/master
2020-09-22T08:16:44.318888
2020-08-11T15:25:10
2020-08-11T15:25:10
225,117,929
3
0
null
null
null
null
UTF-8
C++
false
false
1,013
cpp
/************************************************************************* > File Name: 446.cpp > Author: > Mail: > Created Time: 2020年01月08日 星期三 10时11分03秒 ************************************************************************/ #include<iostream> #include <cstring> using namespace std; #define N 100 int nu...
[ "3406505842@qq.com" ]
3406505842@qq.com
c5d382b88950e00ecb382799cb72d9bdaad953aa
5fe2f231d31d86c2a18ea88303e08b95af94d19b
/line_follower.cpp
97b2b2371faa0e511c2bfd1d4c79ab031bf1b968
[]
no_license
abhishyantkhare/hibike
db608e33b8b98bec48c94e699e674091c2382c51
c5aec317aa2393e8439758392cf12625fad7ca8b
refs/heads/master
2021-01-16T01:07:12.057563
2015-08-27T07:50:01
2015-08-27T07:50:01
42,791,486
1
0
null
null
null
null
UTF-8
C++
false
false
1,156
cpp
#include "hibike_message.h" #define IN_PIN 1 #define CONTROLLER_ID 0 // arbitrarily chosen for now uint32_t data; uint32_t subscriptionDelay; HibikeMessage* m; void setup() { Serial.begin(115200); pinMode(IN_PIN, INPUT); } void loop() { data = digitalRead(IN_PIN); // uncomment the line below for fun data...
[ "vincentdonato@pioneers.berkeley.edu" ]
vincentdonato@pioneers.berkeley.edu
bf2a301bc1493c0c56cf7538f3051af1edbad9bf
6b40e9dccf2edc767c44df3acd9b626fcd586b4d
/NT/multimedia/directx/dinput/diconfig/idftest.h
d557f9b8a05c0eea1966d582b5d5e2a530777260
[]
no_license
jjzhang166/WinNT5_src_20201004
712894fcf94fb82c49e5cd09d719da00740e0436
b2db264153b80fbb91ef5fc9f57b387e223dbfc2
refs/heads/Win2K3
2023-08-12T01:31:59.670176
2021-10-14T15:14:37
2021-10-14T15:14:37
586,134,273
1
0
null
2023-01-07T03:47:45
2023-01-07T03:47:44
null
UTF-8
C++
false
false
943
h
#ifndef __IDFTEST_H__ #define __IDFTEST_H__ typedef enum _TUI_CONFIGTYPE { TUI_CONFIGTYPE_VIEW, TUI_CONFIGTYPE_EDIT, } TUI_CONFIGTYPE; typedef enum _TUI_VIA { TUI_VIA_DI, TUI_VIA_CCI, } TUI_VIA; typedef enum _TUI_DISPLAY { TUI_DISPLAY_GDI, TUI_DISPLAY_DDRAW, TUI_DISPLAY_D3D, } TUI_DISPLAY; ...
[ "seta7D5@protonmail.com" ]
seta7D5@protonmail.com
900979ef0cd13453fcfc9d446a6dc5ccd5857ad0
73f70fa0176d4b40fe88f146fa12de5cf18b9c5f
/designPatterns/singleton/multiton.cpp
d71cd6fe2ecfe4b52754d88cd22e85ca0071d90d
[]
no_license
MichalDUnda/Cpp
93faf69e46b5f9155825addc447decdd0041b3bc
77bfabe04ffd47a514b98adf66b2d943cd2d6a40
refs/heads/master
2023-07-13T23:08:50.327335
2023-07-03T08:11:15
2023-07-03T08:11:15
384,334,021
0
0
null
null
null
null
UTF-8
C++
false
false
1,255
cpp
#include <map> #include <memory> #include <iostream> using namespace std; //helper enum class for instances of multitone enum class Importance { primary, secondary, tertiary }; template <typename T, typename Key = std::string> class Multiton { public: static shared_ptr<T> get(const Key& key) { ...
[ "michal.dundo@gmail.com" ]
michal.dundo@gmail.com
803cb938a6e7bc3ca561cda88d7a10aa5d11e631
90af79681ba010c6a2a0f4da3f04c175c5805180
/C++_Basic/005继承重载等/三目运算符.cpp
81372082cad0c9025f191e6833e523890ce0a07a
[]
no_license
minxin126/C_Basic
a184c2e6902397dfff99e1406b912caa3a894a20
2225a66bd3826c81658a86f3cbee4bb70a3014c6
refs/heads/master
2021-07-14T20:23:14.691028
2020-06-26T14:10:13
2020-06-26T14:10:13
177,624,168
1
2
null
2019-03-29T16:49:51
2019-03-25T16:28:49
C++
GB18030
C++
false
false
294
cpp
#include<iostream> using namespace std; int main() { int a = 10; int b = 20; (a < b ? a : b)=30; //C++中三目运算符可以作为左值,返回的是变量本身。 cout << "a=" << a << endl; //左值是有内存空间的,寄存器没有内存空间。 cout << "b=" << b << endl; }
[ "359676107@qq.com" ]
359676107@qq.com
dfe0bc8b82ef0d72a0797ecb955018c84d785065
f76e43b84e0b624de8aed0a4b9f9bb0a9be22b92
/src/dag-merger/BufferMaker.cpp
e999aabd23e5eab8f0ac68b8ebfa6bd91b57559a
[]
no_license
hansongfang/idb
8c2603a3b37d55e0f17d9f815c56cfa27b416941
5c160553a83548df30fad5bc125cc4f27b01473f
refs/heads/master
2021-09-13T04:52:29.246968
2018-04-25T05:33:26
2018-04-25T05:33:26
125,979,190
8
2
null
null
null
null
UTF-8
C++
false
false
5,050
cpp
#include "BufferMaker.h" #include "dag-lib/Log.h" #include "dag-lib/ViewPoint.h" #include "dag-lib/ViewFacet.h" #include <time.h> #include <random> #include <boost/filesystem.hpp> #include <boost/serialization/serialization.hpp> #include<boost/serialization/unordered_map.hpp> #include<boost/serialization/set.hpp> #incl...
[ "shanaf@ust.hk" ]
shanaf@ust.hk
1c4d1474149a1281a811d815381d3aee57ecf79b
0d87d119aa8aa2cc4d486f49b553116b9650da50
/autom4te.cache/src/arith_uint256.h
54fc1e46287e47d4cb8a5f490b4512ac550cfe82
[ "MIT" ]
permissive
KingricharVD/Nests
af330cad884745cc68feb460d8b5547d3182e169
7b2ff6d27ccf19c94028973b7da20bdadef134a7
refs/heads/main
2023-07-07T12:21:09.232244
2021-08-05T01:25:23
2021-08-05T01:25:23
386,196,221
1
0
null
null
null
null
UTF-8
C++
false
false
11,097
h
// Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2014 The Bitcoin developers // Copyright (c) 2020-2021 The NestEgg Core Developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #ifndef BITCOIN_ARITH_UINT256_H...
[ "northerncommunity1@gmail.com" ]
northerncommunity1@gmail.com
98bf97e3e889e9da3b0bd53fdddd837f18f57695
5ae01ab82fcdedbdd70707b825313c40fb373fa3
/src/evaluators/Charon_ThermodiffCoeff_Default_impl.hpp
617a9633bd95bb0b77c5b7f3fd840f93ae94f5d3
[]
no_license
worthenmanufacturing/tcad-charon
efc19f770252656ecf0850e7bc4e78fa4d62cf9e
37f103306952a08d0e769767fe9391716246a83d
refs/heads/main
2023-08-23T02:39:38.472864
2021-10-29T20:15:15
2021-10-29T20:15:15
488,068,897
0
0
null
2022-05-03T03:44:45
2022-05-03T03:44:45
null
UTF-8
C++
false
false
4,873
hpp
#ifndef CHARON_THERMODIFFCOEFF_DEFAULT_IMPL_HPP #define CHARON_THERMODIFFCOEFF_DEFAULT_IMPL_HPP #include <cmath> #include "Panzer_Workset.hpp" #include "Panzer_Workset_Utilities.hpp" #include "Panzer_IntegrationRule.hpp" #include "Panzer_BasisIRLayout.hpp" #include "Charon_Names.hpp" #include "Charon_Physical_Const...
[ "juan@tcad.com" ]
juan@tcad.com
56297ae7e695111815692272683e8533b9c74c05
4416d4c599f175b68f54e0ee2aca97b18639567f
/DXBase/DXBase/sources/Field/MoveFloorRightLeft.h
0a4f557d028917ddbb6083d644e4831b356e2563
[]
no_license
kentatakiguchi/GameCompetition2016_2
292fa9ab574e581406ff146cc98b15efc0d66446
df1eb6bf29aba263f46b850d268f49ef417a134b
refs/heads/master
2021-01-11T18:21:34.377644
2017-03-03T08:25:39
2017-03-03T08:25:39
69,625,978
0
0
null
null
null
null
SHIFT_JIS
C++
false
false
1,025
h
#pragma once #ifndef MOVE_FLOOR_RIGHT_LEFT_H_ #define MOVE_FLOOR_RIGHT_LEFT_H_ #include"../Actor/Base/Actor.h" #include"../Define.h" #include"MapChip.h" class MoveFloorRightLeft :public MapChip { public: //空のMapChipを生成 MoveFloorRightLeft() {} //マップチップの生成 MoveFloorRightLeft(IWorld* world, Vector2& position); Mov...
[ "microbug7@gmail.com" ]
microbug7@gmail.com
0cd1228640252d81f06a21c006aa52d318fbb1cd
95c241df67572e94798a216a6b75e2bc1bb17319
/Source.cpp
ee021c97af3ad92830973382c3e7e9e2af661a2b
[]
no_license
xhoic/GameY
8bc0d96ff13643e304d81daea20f7d45d76202d4
85065e407d5e861a903989fb8c0c5292f823456f
refs/heads/main
2023-02-17T21:04:09.183544
2021-01-18T02:36:45
2021-01-18T02:36:45
330,535,092
0
0
null
null
null
null
UTF-8
C++
false
false
2,640
cpp
//Xhoi Caveli #include <iostream> #include <map> #include <set> int main() { int diceNum; std::map<int, int> diceRoll; std::set<int> roll; std::cout << "Enter 5 numbers in range 1 to 6." << std::endl; for (int i = 1; i <= 5; i++) { std::cout << i << ". "; std::cin >> diceNum; while (diceNum < 1 or diceNu...
[ "caveli.xhoi@gmail.com" ]
caveli.xhoi@gmail.com
ff4c63f35fb5971280736ca30ce0334040d407db
ac9b37f9523f62c67c819fae44ec5a33e33f23e4
/collatz_conjecture/collatz_OpenMP_MPI_CUDA.cpp
d0961deb8dde7807b851db3f55e060d0231fd54b
[]
no_license
M-Hernandez/Arcane-repo
6fee76d11b634321a40b345875c1ffe90361fe12
bfc0d678fdeccb1cb044882fcbd8a4e87e7b4dbb
refs/heads/master
2021-09-23T11:14:29.370733
2021-09-14T02:52:44
2021-09-14T02:52:44
208,671,875
0
0
null
null
null
null
UTF-8
C++
false
false
3,689
cpp
/* Collatz code for CS 4380 / CS 5351 Copyright (c) 2020 Texas State University. All rights reserved. Redistribution in source or binary form, with or without modification, is *not* permitted. Use in source or binary form, with or without modification, is only permitted for academic use in CS 4380 or CS 5351 at Texas...
[ "miguelhernandez@Miguels-MacBook-Pro.local" ]
miguelhernandez@Miguels-MacBook-Pro.local
3490709c9d10c5f3a47928787cb12434bb27185e
e20b7293bba88babbd9b18ac731a2215cfac2c51
/src/qt/test/uritests.cpp
797bddb411771864f0d91c9a71c10f3a1b233258
[ "MIT" ]
permissive
thachpv91/hanhcoin-clone
af57bcc042e3584fdaad2b585f32daf83153910d
d7bd7f4b88066d4a4ca545857db59ba673103af5
refs/heads/master
2020-06-23T14:27:56.971235
2016-11-24T06:59:38
2016-11-24T06:59:38
74,646,122
0
0
null
null
null
null
UTF-8
C++
false
false
2,853
cpp
#include "uritests.h" #include "../guiutil.h" #include "../walletmodel.h" #include <QUrl> void URITests::uriTests() { SendCoinsRecipient rv; QUrl uri; uri.setUrl(QString("hanhcoin:LQDPC5rbjDB72fGFVHu4enYhxGAZuRiFh9?req-dontexist=")); QVERIFY(!GUIUtil::parseBitcoinURI(uri, &rv)); uri.setUrl(QStrin...
[ "thachphanvan@gmail.com" ]
thachphanvan@gmail.com
80862b2e4e75a0d761b2793bc2c2b29d42e0447c
0441585e00e2d1ceddc2e4575e6c195075d6d3ca
/PersonItem.hpp
0b8ac2bf298527dee103ac1174e14d1d66058e67
[]
no_license
rherardi/ldif2pst
9efc00f0ac4816934e5328030a0447b219b9342f
766959056d448793240dcd0d199d47c122a37e28
refs/heads/master
2020-05-20T07:49:05.914074
2015-05-12T07:46:18
2015-05-12T07:46:18
35,469,393
0
0
null
null
null
null
UTF-8
C++
false
false
1,492
hpp
// MessageItem.hpp: interface for the CPersonItem class. // ////////////////////////////////////////////////////////////////////// #if !defined(AFX_PERSONITEM_HPP__EC66FE86_817C_4257_84C8_5D4905E2CCBE__INCLUDED_) #define AFX_PERSONITEM_HPP__EC66FE86_817C_4257_84C8_5D4905E2CCBE__INCLUDED_ #if _MSC_VER > 1000 #pragma o...
[ "rherardi@alumni.stanford.edu" ]
rherardi@alumni.stanford.edu
566e77f8dd6a0cc6aa2ce2669134e1597586548c
fbb6b85ea717ddbbaa149a233213f59369c00780
/src/governance-vote.h
dafbc6e6402f6851b04def7af1c30e45149b7c2d
[ "MIT" ]
permissive
agenanextproject/Agena
bd5368c554a0b0051f8ce98fd39a962e71cb6ec9
562aed54370e2d64921006f0f2e1ee5154c650d9
refs/heads/master
2020-03-21T03:45:36.170961
2018-03-15T18:18:10
2018-03-15T18:18:10
null
0
0
null
null
null
null
UTF-8
C++
false
false
6,797
h
// Copyright (c) 2014-2017 The Agena Core developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #ifndef GOVERNANCE_VOTE_H #define GOVERNANCE_VOTE_H #include "key.h" #include "primitives/transaction.h" #include <boost/...
[ "agentaproject@gmail.com" ]
agentaproject@gmail.com
dc294122141a13c2a1d104495d46351e6fd64ce4
11ac20402a3bde71126f8c6d8734174fbcc409af
/note/test_code/stm/phch_recv.cc
7b66d3babe85148f98307b7db420de3fcd587789
[]
no_license
learning-lte/read-srslte
aa0bb1a0e711b9f6ba2eae65d78e691ea7293889
cfafa1df08a312bf467cb5c72bdc906849c07893
refs/heads/master
2021-10-11T22:57:28.892751
2019-01-30T11:14:05
2019-01-30T11:14:05
null
0
0
null
null
null
null
UTF-8
C++
false
false
528
cc
#include "phch_recv.h" #include <stdio.h> sync_state phy_state; void * run_thread(void){ bool running = true; while(running){ switch(phy_state.run_state()){ case sync_state::CELL_SEARCH: printf("I'm in cell search\n"); phy_state.state_exit(); break; case sync_state::SFN_SYNC: printf("I'm i...
[ "651558476@qq.com" ]
651558476@qq.com
5596d53e7e53f5dce98fd0bf7d55396f29f59902
091afb7001e86146209397ea362da70ffd63a916
/inst/include/nt2/constant/constants/maxexponent.hpp
4d628719ac4d9bb420da3445baefd976802cd47a
[]
no_license
RcppCore/RcppNT2
f156b58c08863243f259d1e609c9a7a8cf669990
cd7e548daa2d679b6ccebe19744b9a36f1e9139c
refs/heads/master
2021-01-10T16:15:16.861239
2016-02-02T22:18:25
2016-02-02T22:18:25
50,460,545
15
1
null
2019-11-15T22:08:50
2016-01-26T21:29:34
C++
UTF-8
C++
false
false
1,185
hpp
//============================================================================== // Copyright 2003 - 2011 LASMEA UMR 6602 CNRS/Univ. Clermont II // Copyright 2009 - 2011 LRI UMR 8623 CNRS/Univ Paris Sud XI // // Distributed under the Boost Software License, Version 1.0. // ...
[ "kevinushey@gmail.com" ]
kevinushey@gmail.com
37439e54d41ddbea6a3a5b025fe73197ba67938c
eb0b9c66976c0aa0b1a5506c0d500161a47294f7
/WalkThrough/Queue.h
8ef7e12e4650e6ce52adf73cc3b3e8272808b112
[]
no_license
codeprecise/a-gentle-introduction-to-cpp
46eb99ac46e0b39c7962e685abfdd8e50b623d61
db933dee8fc06249437172a2b943a2b80f6e6de0
refs/heads/master
2020-06-02T17:51:40.529676
2019-06-11T05:09:10
2019-06-11T05:09:10
191,044,620
1
0
null
null
null
null
UTF-8
C++
false
false
481
h
#pragma once #include "Mutex.h" typedef void* ElementPtr; class Queue { public: Queue(int maxElementCount, int elementSize); ~Queue(); int GetSize(); bool Enqueue(ElementPtr element); bool Dequeue(ElementPtr element); private: void IncrementIndex(int* index); ...
[ "davids@codeprecise.com" ]
davids@codeprecise.com
16a8823e1d2377f821d4075a7dc7aad3a4432ada
0c46b2988021dacf063778be69c12cf9466ff379
/INF/PrgT/Cpp/03-inheritance-and-polymorphism/diamond_problem/Boat.h
0b8690e4acee4a5692111981440ce7cf02a0001b
[]
no_license
AL5624/TH-Rosenheim-Backup
2db235cf2174b33f25758a36e83c3aa9150f72ee
fa01cb7459ab55cb25af79244912d8811a62f83f
refs/heads/master
2023-01-21T06:57:58.155166
2023-01-19T08:36:57
2023-01-19T08:36:57
219,547,187
0
0
null
2022-05-25T23:29:08
2019-11-04T16:33:34
C#
UTF-8
C++
false
false
327
h
#ifndef INC_03_INHERITANCE_AND_POLYMORPHISM_BOAT_H #define INC_03_INHERITANCE_AND_POLYMORPHISM_BOAT_H #include "Vehicle.h" // TODO: Define the Boat class class Boat : Vehicle { public: int maxKnots; Boat(int serial, int yearOfManufacture, int maxKnots); ~Boat(); }; #endif //INC_03_INHERITANCE_AND_POLYMORPHISM_...
[ "anton.bertram@stud.fh-rosenheim.de" ]
anton.bertram@stud.fh-rosenheim.de
e64a8543bc18e5018c4b735992b8ed19c9594fe6
27dbda0197096619145e80144f9a7bdc33099b08
/Core/Assembler.h
191bdee81301e110f4800c78b90f608c4be77643
[]
no_license
unknownbrackets/armips
f58941bc2307e8b72a150a00d0ab7b3749783bcb
f53a0949d11a29bda810811fc8b7647ecb630c78
refs/heads/master
2022-11-05T18:03:52.751621
2014-11-23T20:04:24
2014-11-23T20:04:24
27,045,572
2
0
null
null
null
null
UTF-8
C++
false
false
954
h
#pragma once #include "../Util/CommonClasses.h" #include "../Util/FileClasses.h" #include "../Util/Util.h" #include "FileManager.h" enum class ArmipsMode { File, Memory }; struct LabelDefinition { std::wstring name; int value; }; struct ArmipsArguments { // common ArmipsMode mode; int symFileVersion; bool erro...
[ "sorgts@googlemail.com" ]
sorgts@googlemail.com
2fabb0fe19a9f48de6d164d1cda43172e1a503ea
f6f55778056b4c008bfd5897a028faf20c6927a7
/src/qt/privacydialog.cpp
fd55a10cb40370b228b94c4b624e4db71f78be74
[ "MIT" ]
permissive
bright-project/brightcoin
f3b3c140a669be11dfc54d797397a46c70c14cab
b42683d82a65b96861383d8b3e4c7d22b92acc70
refs/heads/master
2020-03-29T20:06:59.302242
2018-09-25T16:33:53
2018-09-25T16:33:53
150,296,212
0
0
null
null
null
null
UTF-8
C++
false
false
28,569
cpp
// Copyright (c) 2011-2014 The Bitcoin developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "privacydialog.h" #include "ui_privacydialog.h" #include "addressbookpage.h" #include "addresstablemodel.h" #include...
[ "admin@brightcoin.cc" ]
admin@brightcoin.cc
0495eeb126da1679a24b306efe5f4323feecf691
711e5c8b643dd2a93fbcbada982d7ad489fb0169
/XPSP1/NT/inetsrv/iis/iisrearc/iisplus/ulatq/ipm_io_c.cxx
ea88b141030c06bf486a82d7bca0ea606b878895
[]
no_license
aurantst/windows-XP-SP1
629a7763c082fd04d3b881e0d32a1cfbd523b5ce
d521b6360fcff4294ae6c5651c539f1b9a6cbb49
refs/heads/master
2023-03-21T01:08:39.870106
2020-09-28T08:10:11
2020-09-28T08:10:11
null
0
0
null
null
null
null
UTF-8
C++
false
false
8,057
cxx
/*++ Copyright (c) 1999 Microsoft Corporation Module Name: ipm_io_c.hxx Abstract: This module contains classes for doing async io in the worker process. Author: Michael Courage (MCourage) 22-Feb-1999 Revision History: --*/ #include "precomp.hxx" #include "ipm.hxx" ...
[ "112426112@qq.com" ]
112426112@qq.com
5a9bdff4d70f193e5af9afd8974494c7bdca6536
874fd3e28319bf6042b72c580aad3018d2fa35fb
/src/binaryServer/logging/ClientSdkLoggerFactory.cpp
df8e22180be19037c7ef70935e52ba6b7fc8779b
[ "Apache-2.0" ]
permissive
menucha-de/OPC-UA.Server
43e50962afe631765693575bf80f5c6a6467f004
ebfafb0f9a1943fc1f2d44f20a0497a59e5bfd97
refs/heads/main
2023-03-24T16:29:13.864707
2021-03-19T14:28:36
2021-03-19T14:28:36
349,453,071
0
0
null
null
null
null
UTF-8
C++
false
false
1,123
cpp
#include "ClientSdkLoggerFactory.h" #include "ClientSdkLogger.h" #include <common/Mutex.h> #include <common/MutexLock.h> #include <stdio.h> // fprintf #include <map> using namespace CommonNamespace; class ClientSdkLoggerFactoryPrivate { friend class ClientSdkLoggerFactory; private: std::map<const char*, Logge...
[ "info@menucha.de" ]
info@menucha.de
e584b825b28a6150ba63281630eb0edd4e54e0c1
ecb2798c0529d23ed7e32f28578b23affd180ce1
/Assignment 3/src/Demos/SierpinskiBungeeJumpGUI.cpp
c61d366135a02bbac6e9a7c9752b020b8a3e01f3
[]
no_license
zjulsh/cs106b_2019
259305efbfce685ab91d5b771653a011b3aac478
9cd4a107fc24edfda18dc67372ce370b957d0404
refs/heads/master
2021-04-10T19:26:49.398285
2020-03-21T11:15:13
2020-03-21T11:15:13
248,958,721
1
0
null
null
null
null
UTF-8
C++
false
false
6,445
cpp
#include "ProblemHandler.h" #include "Sierpinski.h" #include "GUIUtils.h" #include "GVector.h" #include "gtimer.h" #include <algorithm> using namespace std; namespace { const string kBackgroundColor = "#FFFFFF"; const string kBorderColor = "#4C516D"; // Independence /* Timing parameters. */ const ...
[ "865835320@qq.com" ]
865835320@qq.com
369ff84ed0fe739311a8ea2971775372331315b3
5fd1de174f907a7625e798df35c8d07a7fce3f2b
/tests/formatstest.cpp
25172101a671292b61d0504c3cc53a134b749381
[ "BSD-3-Clause" ]
permissive
jeremyrearle/XtalOpt
1172b1e2c6eff2d5b58eb03d46619d0c61706729
a87aed2cf55db97d072db5f5a9fc03344c9ed46d
refs/heads/master
2021-07-07T02:10:40.315890
2017-09-21T14:02:16
2017-09-21T14:04:09
null
0
0
null
null
null
null
UTF-8
C++
false
false
19,010
cpp
/********************************************************************** Formats test - test our file format readers and writers Copyright (C) 2017 Patrick Avery This source code is released under the New BSD License, (the "License"). Unless required by applicable law or agreed to in writing, software distr...
[ "psavery@buffalo.edu" ]
psavery@buffalo.edu