hexsha
stringlengths
40
40
size
int64
7
1.05M
ext
stringclasses
13 values
lang
stringclasses
1 value
max_stars_repo_path
stringlengths
4
269
max_stars_repo_name
stringlengths
5
108
max_stars_repo_head_hexsha
stringlengths
40
40
max_stars_repo_licenses
listlengths
1
9
max_stars_count
int64
1
191k
max_stars_repo_stars_event_min_datetime
stringlengths
24
24
max_stars_repo_stars_event_max_datetime
stringlengths
24
24
max_issues_repo_path
stringlengths
4
269
max_issues_repo_name
stringlengths
5
116
max_issues_repo_head_hexsha
stringlengths
40
40
max_issues_repo_licenses
listlengths
1
9
max_issues_count
int64
1
67k
max_issues_repo_issues_event_min_datetime
stringlengths
24
24
max_issues_repo_issues_event_max_datetime
stringlengths
24
24
max_forks_repo_path
stringlengths
4
269
max_forks_repo_name
stringlengths
5
116
max_forks_repo_head_hexsha
stringlengths
40
40
max_forks_repo_licenses
listlengths
1
9
max_forks_count
int64
1
105k
max_forks_repo_forks_event_min_datetime
stringlengths
24
24
max_forks_repo_forks_event_max_datetime
stringlengths
24
24
content
stringlengths
7
1.05M
avg_line_length
float64
1.21
330k
max_line_length
int64
6
990k
alphanum_fraction
float64
0.01
0.99
author_id
stringlengths
2
40
75ff34fbbb9647902584e07132df7b43d76b229a
878
cpp
C++
chapter08/chapter08_ex08.cpp
TingeOGinge/stroustrup_ppp
bb69533fff8a8f1890c8c866bae2030eaca1cf8b
[ "MIT" ]
170
2015-05-02T18:08:38.000Z
2018-07-31T11:35:17.000Z
chapter08/chapter08_ex08.cpp
TingeOGinge/stroustrup_ppp
bb69533fff8a8f1890c8c866bae2030eaca1cf8b
[ "MIT" ]
7
2017-01-16T02:25:20.000Z
2018-07-20T12:57:30.000Z
chapter08/chapter08_ex08.cpp
TingeOGinge/stroustrup_ppp
bb69533fff8a8f1890c8c866bae2030eaca1cf8b
[ "MIT" ]
105
2015-05-28T11:52:19.000Z
2018-07-17T14:11:25.000Z
// Chapter 08, exercise 08: write simple function randint() to produce random // numbers // Exercise 09: write function that produces random number in a given range #include "../lib_files/std_lib_facilities.h" #include<climits> unsigned int X_n = 0; // initialise seed with clock void init_seed() { X_n = 66779; }...
19.511111
77
0.628702
TingeOGinge
75fff73f97639f162f565889a3aea4836e672bdf
8,705
cpp
C++
admin/wmi/wbem/providers/msiprovider/dll/filespecification.cpp
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
admin/wmi/wbem/providers/msiprovider/dll/filespecification.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
admin/wmi/wbem/providers/msiprovider/dll/filespecification.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
// FileSpecification.cpp: implementation of the CFileSpecification class. // // Copyright (c) 1997-2001 Microsoft Corporation, All Rights Reserved // ////////////////////////////////////////////////////////////////////// #include "precomp.h" #include "FileSpecification.h" #include "ExtendString.h" #incl...
29.811644
150
0.512809
npocmaka
2f022cfc429074cdf20faae1311b88792a063797
9,848
cpp
C++
examples/nonholonomic-car-demo.cpp
NEU-ZJX/Global-Trajectory-Optimization
43654a829014a1f3fa57f28c94f7101b5d4b54ca
[ "MIT" ]
10
2018-10-06T05:11:24.000Z
2021-08-06T09:07:41.000Z
examples/nonholonomic-car-demo.cpp
HansRobo/Global-Trajectory-Optimization
43654a829014a1f3fa57f28c94f7101b5d4b54ca
[ "MIT" ]
null
null
null
examples/nonholonomic-car-demo.cpp
HansRobo/Global-Trajectory-Optimization
43654a829014a1f3fa57f28c94f7101b5d4b54ca
[ "MIT" ]
6
2018-10-06T13:39:36.000Z
2022-01-23T15:05:26.000Z
#include <glc_planner_core.h> namespace example{ //////////////////////////////////////////////////////// /////////Discretization of Control Inputs/////////////// //////////////////////////////////////////////////////// class ControlInputs2D : public glc::Inputs{ public: //uniformly spaced points on a circle ...
37.731801
122
0.540008
NEU-ZJX
2f097be0d94bd131c172291d33733ee81f03f9da
4,002
cpp
C++
src/Lexer/Lexeme.cpp
AlexRoar/SxTree
7d37ed0ff5c5bdd3c497c070825ca4ebe10eab0e
[ "MIT" ]
null
null
null
src/Lexer/Lexeme.cpp
AlexRoar/SxTree
7d37ed0ff5c5bdd3c497c070825ca4ebe10eab0e
[ "MIT" ]
null
null
null
src/Lexer/Lexeme.cpp
AlexRoar/SxTree
7d37ed0ff5c5bdd3c497c070825ca4ebe10eab0e
[ "MIT" ]
null
null
null
/* * ================================================= * Copyright © 2021 * Aleksandr Dremov * * This code has been written by Aleksandr Dremov * Check license agreement of this project to evade * possible illegal use. * ================================================= */ #include <cassert> #include <sstream...
29.426471
106
0.555972
AlexRoar
2f0b35c112d2ae16e99f4262343dc034b7aed4fa
295
cpp
C++
lib/store/DM.cpp
beebus/CPUfactory4
64d9300dae6e9553fd3fb250fba6357159d7b8e2
[ "BSD-3-Clause" ]
1
2019-04-16T14:14:49.000Z
2019-04-16T14:14:49.000Z
lib/store/DM.cpp
beebus/CPUfactory4
64d9300dae6e9553fd3fb250fba6357159d7b8e2
[ "BSD-3-Clause" ]
null
null
null
lib/store/DM.cpp
beebus/CPUfactory4
64d9300dae6e9553fd3fb250fba6357159d7b8e2
[ "BSD-3-Clause" ]
2
2019-05-04T21:21:08.000Z
2019-08-30T18:19:44.000Z
// Copyright 2018 Roie R. Black #include "DM.h" #include <iostream> #include <string> // constructor DM::DM(std::string n):Component(n) { this->add_in_pin("MAR"); this->add_in_pin("IN"); this->add_out_pin("OUT"); } // TICK: perform component processing void DM::tick(int ctrl) { }
18.4375
37
0.657627
beebus
2f137773e438c14119bec747174ff6cbb6d7e89e
1,308
cpp
C++
131_Palindrome_Partitioning.cpp
AvadheshChamola/LeetCode
b0edabfa798c4e204b015f4c367bfc5acfbd8277
[ "MIT" ]
null
null
null
131_Palindrome_Partitioning.cpp
AvadheshChamola/LeetCode
b0edabfa798c4e204b015f4c367bfc5acfbd8277
[ "MIT" ]
null
null
null
131_Palindrome_Partitioning.cpp
AvadheshChamola/LeetCode
b0edabfa798c4e204b015f4c367bfc5acfbd8277
[ "MIT" ]
null
null
null
/* 131. Palindrome Partitioning Medium Given a string s, partition s such that every substring of the partition is a palindrome. Return all possible palindrome partitioning of s. A palindrome string is a string that reads the same backward as forward. Example 1: Input: s = "aab" Output: [["a","a","b"],["aa","b"]] Ex...
25.647059
139
0.552752
AvadheshChamola
2f13e1691d49d5cf4d2356a1c442923c6c675ffa
4,736
cpp
C++
projects/PolyhedralModel/projects/spmd-generator/polydriver/polyhedral-utils.cpp
maurizioabba/rose
7597292cf14da292bdb9a4ef573001b6c5b9b6c0
[ "BSD-3-Clause" ]
4
2017-12-19T17:15:00.000Z
2021-02-05T12:25:50.000Z
projects/PolyhedralModel/projects/spmd-generator/polydriver/polyhedral-utils.cpp
sujankh/rose-matlab
7435d4fa1941826c784ba97296c0ec55fa7d7c7e
[ "BSD-3-Clause" ]
null
null
null
projects/PolyhedralModel/projects/spmd-generator/polydriver/polyhedral-utils.cpp
sujankh/rose-matlab
7435d4fa1941826c784ba97296c0ec55fa7d7c7e
[ "BSD-3-Clause" ]
2
2019-02-19T01:27:51.000Z
2019-02-19T12:29:49.000Z
#include "polydriver/polyhedral-utils.hpp" #include "rose/Attribute.hpp" #include "rose/Parser.hpp" #include "rose/Exception-rose.hpp" namespace PolyhedricAnnotation { /**************/ /* Containers */ /**************/ /* PolyhedralProgram<SgStatement, SgExprStatement, RoseVariable> */ template <> PolyhedralPro...
37.888
190
0.774704
maurizioabba
2f16d0d651ce51c3da4780057264f884aacf19cc
6,354
cpp
C++
master/core/third/cxxtools/demo/rpcserver.cpp
importlib/klib
a59837857689d0e60d3df6d2ebd12c3160efa794
[ "MIT" ]
4
2017-12-04T08:22:48.000Z
2019-10-26T21:44:59.000Z
master/core/third/cxxtools/demo/rpcserver.cpp
isuhao/klib
a59837857689d0e60d3df6d2ebd12c3160efa794
[ "MIT" ]
null
null
null
master/core/third/cxxtools/demo/rpcserver.cpp
isuhao/klib
a59837857689d0e60d3df6d2ebd12c3160efa794
[ "MIT" ]
4
2017-12-04T08:22:49.000Z
2018-12-27T03:20:31.000Z
/* * Copyright (C) 2009,2011 Tommi Maekitalo * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * As...
35.497207
82
0.64542
importlib
2f1b82ad36e933c47b74254aed15f5d1e3f5cb8f
3,354
cc
C++
client/common/charsetutils.cc
zamorajavi/google-input-tools
fc9f11d80d957560f7accf85a5fc27dd23625f70
[ "Apache-2.0" ]
175
2015-01-01T12:40:33.000Z
2019-05-24T22:33:59.000Z
client/common/charsetutils.cc
DalavanCloud/google-input-tools
fc9f11d80d957560f7accf85a5fc27dd23625f70
[ "Apache-2.0" ]
11
2015-01-19T16:30:56.000Z
2018-04-25T01:06:52.000Z
client/common/charsetutils.cc
DalavanCloud/google-input-tools
fc9f11d80d957560f7accf85a5fc27dd23625f70
[ "Apache-2.0" ]
97
2015-01-19T15:35:29.000Z
2019-05-15T05:48:02.000Z
/* Copyright 2014 Google Inc. 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,...
34.9375
80
0.705128
zamorajavi
2f1ea34e1ec57d9bf981a0ff47629286ebdb1b2d
1,010
cpp
C++
src/cpu.cpp
KhaledYassin/CppND-System-Monitor-Project-Updated
9830ca4f7b877151b5c987b23d7682215363abdb
[ "MIT" ]
null
null
null
src/cpu.cpp
KhaledYassin/CppND-System-Monitor-Project-Updated
9830ca4f7b877151b5c987b23d7682215363abdb
[ "MIT" ]
null
null
null
src/cpu.cpp
KhaledYassin/CppND-System-Monitor-Project-Updated
9830ca4f7b877151b5c987b23d7682215363abdb
[ "MIT" ]
null
null
null
#include "cpu.h" #include <algorithm> #include <cstdlib> #include <iterator> #include <map> #include <string> #include <utility> #include <vector> #include "processor.h" const std::string CPU::kProcessesName = "processes"; const std::string CPU::kRunningProcessesName = "procs_running"; CPU::CPU(const std::string na...
28.857143
77
0.709901
KhaledYassin
2f2094af3f619c1ac5179d0720e71d505601969b
1,134
cpp
C++
C++/merge_sort.cpp
Shubham56-droid/DataStruture-and-algroithms-in-C-
d6e9f7a669bfe35fb05d97150f2e9aaacd4b53a2
[ "MIT" ]
80
2021-10-05T08:30:07.000Z
2022-03-04T19:42:53.000Z
C++/merge_sort.cpp
Shubham56-droid/DataStruture-and-algroithms-in-C-
d6e9f7a669bfe35fb05d97150f2e9aaacd4b53a2
[ "MIT" ]
182
2021-10-05T08:50:50.000Z
2022-01-31T17:53:04.000Z
C++/merge_sort.cpp
Shubham56-droid/DataStruture-and-algroithms-in-C-
d6e9f7a669bfe35fb05d97150f2e9aaacd4b53a2
[ "MIT" ]
104
2021-10-05T08:45:31.000Z
2022-01-24T10:16:37.000Z
#include <bits/stdc++.h> using namespace std; void merge(int *arr, int l, int mid, int r) { int n1 = mid - l + 1, n2 = r - mid; int a[n1], b[n2]; for (int i = 0; i < n1; i++) { a[i] = arr[l + i]; } for (int i = 0; i < n2; i++) { b[i] = arr[mid + 1 + i]; } int i = 0, j...
18.590164
44
0.354497
Shubham56-droid
2f20a05df79a73a1d0c5be0b2c1734c021acba4b
5,479
hh
C++
source/Utilities/shared/CalibrationYaml.hh
DArpinoRobotics/libmultisense
d3ed760c26762eabf3d9875a2379ff435b4f4be3
[ "Unlicense" ]
null
null
null
source/Utilities/shared/CalibrationYaml.hh
DArpinoRobotics/libmultisense
d3ed760c26762eabf3d9875a2379ff435b4f4be3
[ "Unlicense" ]
null
null
null
source/Utilities/shared/CalibrationYaml.hh
DArpinoRobotics/libmultisense
d3ed760c26762eabf3d9875a2379ff435b4f4be3
[ "Unlicense" ]
null
null
null
/** * @file shared/CalibrationYaml.hh * * Copyright 2013 * Carnegie Robotics, LLC * 4501 Hatfield Street, Pittsburgh, PA 15201 * http://www.carnegierobotics.com * * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the foll...
25.602804
121
0.548275
DArpinoRobotics
2f2116da52f0819186c50970bd8dc5b4ce95ad6b
857
cpp
C++
src/util/os_structs.cpp
dulingzhi/D2RMH
f3c079fb72234bfba84c9c5251f1c82fc8e5cdb2
[ "MIT" ]
125
2021-10-31T05:55:12.000Z
2022-03-30T09:15:29.000Z
src/util/os_structs.cpp
dulingzhi/D2RMH
f3c079fb72234bfba84c9c5251f1c82fc8e5cdb2
[ "MIT" ]
93
2021-10-31T11:19:37.000Z
2022-03-31T13:25:54.000Z
src/util/os_structs.cpp
dulingzhi/D2RMH
f3c079fb72234bfba84c9c5251f1c82fc8e5cdb2
[ "MIT" ]
57
2021-10-30T08:45:05.000Z
2022-03-30T04:11:21.000Z
/* * Copyright (c) 2021 Soar Qin<soarchin@gmail.com> * * Use of this source code is governed by an MIT-style * license that can be found in the LICENSE file or at * https://opensource.org/licenses/MIT. */ #include "os_structs.h" extern "C" { #if defined(_M_IX86) NtWow64QueryInformationProcess64Proc NtWow64Quer...
25.969697
112
0.770128
dulingzhi
2f241a83937550facec49079a4c99c4ee60e0fce
2,451
cpp
C++
cccc/tests/lexer/location_spec.cpp
DasNaCl/old-university-projects
af1c82afec4805ea672e0c353369035b394cb69d
[ "Apache-2.0" ]
null
null
null
cccc/tests/lexer/location_spec.cpp
DasNaCl/old-university-projects
af1c82afec4805ea672e0c353369035b394cb69d
[ "Apache-2.0" ]
null
null
null
cccc/tests/lexer/location_spec.cpp
DasNaCl/old-university-projects
af1c82afec4805ea672e0c353369035b394cb69d
[ "Apache-2.0" ]
null
null
null
#include <test_suite.hpp> #include <gtest/gtest.h> #define MYTEST(Y) TEST(lexer_locations, locations_ ## Y) using namespace mhc4; static const std::string f = "location.c"; const test_suite ts(f); std::ostream& operator<<(std::ostream& os, const token& tok) { return os << tok.to_string(); } MYTEST(lf_0) { ...
21.690265
71
0.585883
DasNaCl
2f2a2b68d981188819dce2b84abf38b75f5d04b3
679
cpp
C++
AcWing/LeetCode究极班/135.cpp
LauZyHou/-
66c047fe68409c73a077eae561cf82b081cf8e45
[ "MIT" ]
7
2019-02-25T13:15:00.000Z
2021-12-21T22:08:39.000Z
AcWing/LeetCode究极班/135.cpp
LauZyHou/-
66c047fe68409c73a077eae561cf82b081cf8e45
[ "MIT" ]
null
null
null
AcWing/LeetCode究极班/135.cpp
LauZyHou/-
66c047fe68409c73a077eae561cf82b081cf8e45
[ "MIT" ]
1
2019-04-03T06:12:46.000Z
2019-04-03T06:12:46.000Z
class Solution { public: vector<int> w; int n; vector<int> f; // 记忆化搜索 int candy(vector<int>& ratings) { w = ratings; n = ratings.size(); f.resize(n, -1); // -1表示没计算过 // 计算每个人分的糖果 int res = 0; for (int i = 0; i < n; i ++ ) res += dp(i); ...
23.413793
79
0.384389
LauZyHou
2f2c9683ffc93dc586d8d2eb08f1a7fd96ae2473
2,441
cpp
C++
rescan_file_task.cpp
tim77/qt-virustotal-uploader
d616ab0d709ff3be2eeb062d76e2338d8c2d22dd
[ "Apache-2.0" ]
227
2015-04-16T03:23:15.000Z
2022-03-28T15:54:04.000Z
rescan_file_task.cpp
tim77/qt-virustotal-uploader
d616ab0d709ff3be2eeb062d76e2338d8c2d22dd
[ "Apache-2.0" ]
10
2016-04-30T18:19:43.000Z
2021-11-17T01:41:30.000Z
rescan_file_task.cpp
tim77/qt-virustotal-uploader
d616ab0d709ff3be2eeb062d76e2338d8c2d22dd
[ "Apache-2.0" ]
75
2015-03-17T16:29:00.000Z
2022-03-05T09:19:14.000Z
/* Copyright 2014 VirusTotal S.L. 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 agreed to in ...
26.824176
103
0.671856
tim77
2f2f997852d864206d1a80fd3be31ec589d7f589
663
cpp
C++
freshman/midterm3/p3w2d.cpp
tsung1271232/581_homework
36b36b3380ed5161b3e28e3b7999a1d620736da1
[ "MIT" ]
null
null
null
freshman/midterm3/p3w2d.cpp
tsung1271232/581_homework
36b36b3380ed5161b3e28e3b7999a1d620736da1
[ "MIT" ]
null
null
null
freshman/midterm3/p3w2d.cpp
tsung1271232/581_homework
36b36b3380ed5161b3e28e3b7999a1d620736da1
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> using namespace std; int main() { long long int number; while(1) { cin>>number; if(number==0) break; long long int table[300][300]= {},coun[300][300]= {}; for(int i=1; i<=number; i++) for(int j=1; j<=number; j++) ...
24.555556
89
0.432881
tsung1271232
2f33ff3c7d9e9a30e14c39cfa65ffeb535bae601
28,614
cpp
C++
kvbc/src/kvbc_app_filter/kvbc_app_filter.cpp
evdzhurov/concord-bft
2e4fdabe0228b51d4d43398158e97d4e36ff974a
[ "Apache-2.0" ]
null
null
null
kvbc/src/kvbc_app_filter/kvbc_app_filter.cpp
evdzhurov/concord-bft
2e4fdabe0228b51d4d43398158e97d4e36ff974a
[ "Apache-2.0" ]
null
null
null
kvbc/src/kvbc_app_filter/kvbc_app_filter.cpp
evdzhurov/concord-bft
2e4fdabe0228b51d4d43398158e97d4e36ff974a
[ "Apache-2.0" ]
null
null
null
// Concord // // Copyright (c) 2021 VMware, Inc. All Rights Reserved. // // This product is licensed to you under the Apache 2.0 license (the "License"). // You may not use this product except in compliance with the Apache 2.0 // License. // // This product may include a number of subcomponents with separate copyright ...
41.171223
119
0.726428
evdzhurov
2f377ec0c59dcc50e6f5c659ac7ef33dcd8d4643
2,835
cpp
C++
JTS/CF-B/SPOJ-TOE1/test.cpp
rahulsrma26/ol_codes
dc599f5b70c14229a001c5239c366ba1b990f68b
[ "MIT" ]
2
2019-03-18T16:06:10.000Z
2019-04-07T23:17:06.000Z
JTS/CF-B/SPOJ-TOE1/test.cpp
rahulsrma26/ol_codes
dc599f5b70c14229a001c5239c366ba1b990f68b
[ "MIT" ]
null
null
null
JTS/CF-B/SPOJ-TOE1/test.cpp
rahulsrma26/ol_codes
dc599f5b70c14229a001c5239c366ba1b990f68b
[ "MIT" ]
1
2019-03-18T16:06:52.000Z
2019-03-18T16:06:52.000Z
// Date : 2019-03-27 // Author : Rahul Sharma // Problem : https://www.spoj.com/problems/TOE1/ #include <iostream> #include <string> #include <cmath> #include <unordered_set> #include <vector> using namespace std; unordered_set<string> bs; void gen(string& b, int m = 9) { if (!m) { bs.insert(b); ...
25.088496
71
0.332275
rahulsrma26
2f3a585f8c11acc29e89a9df2c33acfef6177282
3,328
cpp
C++
Kiwano/base/Object.cpp
nomango96/Kiwano
51b4078624fcd6370aa9c30eb5048a538cd1877c
[ "MIT" ]
1
2019-07-17T03:25:52.000Z
2019-07-17T03:25:52.000Z
Kiwano/base/Object.cpp
nomango96/Kiwano
51b4078624fcd6370aa9c30eb5048a538cd1877c
[ "MIT" ]
null
null
null
Kiwano/base/Object.cpp
nomango96/Kiwano
51b4078624fcd6370aa9c30eb5048a538cd1877c
[ "MIT" ]
null
null
null
// Copyright (c) 2016-2018 Kiwano - Nomango // // 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,...
21.470968
105
0.669772
nomango96
2f40517f93ad032b8dbaf5a6baeb4c2f1f3aa05e
3,310
cc
C++
ui/events/ozone/gamepad/generic_gamepad_mapping_unittest.cc
zipated/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
2,151
2020-04-18T07:31:17.000Z
2022-03-31T08:39:18.000Z
ui/events/ozone/gamepad/generic_gamepad_mapping_unittest.cc
cangulcan/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
395
2020-04-18T08:22:18.000Z
2021-12-08T13:04:49.000Z
ui/events/ozone/gamepad/generic_gamepad_mapping_unittest.cc
cangulcan/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
338
2020-04-18T08:03:10.000Z
2022-03-29T12:33:22.000Z
// Copyright 2017 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 "ui/events/ozone/gamepad/generic_gamepad_mapping.h" #include <errno.h> #include <fcntl.h> #include <linux/input.h> #include <unistd.h> #include...
35.978261
77
0.743505
zipated
2f458e81dce4bc144b554479b1386b6fc5291401
2,124
cpp
C++
Game/Game.cpp
dwarfcrank/FantasyQuest
e5a35a8631dc056db8ffbc114354244b1530eaa6
[ "MIT" ]
1
2020-05-09T20:03:04.000Z
2020-05-09T20:03:04.000Z
Game/Game.cpp
dwarfcrank/FantasyQuest
e5a35a8631dc056db8ffbc114354244b1530eaa6
[ "MIT" ]
null
null
null
Game/Game.cpp
dwarfcrank/FantasyQuest
e5a35a8631dc056db8ffbc114354244b1530eaa6
[ "MIT" ]
null
null
null
#include "pch.h" #include "Game.h" #include "Common.h" #include "InputMap.h" #include "Renderer.h" #include "Transform.h" #include "Mesh.h" #include "File.h" #include "Scene.h" #include "Camera.h" #include "Math.h" #include <SDL2/SDL.h> #include <fmt/format.h> #include <type_traits> #include <d3d11.h>...
25.285714
90
0.629473
dwarfcrank
2f466dd0f7ac366d24718c6c25d6899f434d4072
8,206
cpp
C++
Tissue/ias_TissueIO.cpp
torressancheza/ias
a63cbf4798ce3c91d4282ac25808970c1f272a5a
[ "MIT" ]
2
2021-04-08T06:24:31.000Z
2022-03-31T10:07:15.000Z
Tissue/ias_TissueIO.cpp
torressancheza/ias
a63cbf4798ce3c91d4282ac25808970c1f272a5a
[ "MIT" ]
null
null
null
Tissue/ias_TissueIO.cpp
torressancheza/ias
a63cbf4798ce3c91d4282ac25808970c1f272a5a
[ "MIT" ]
null
null
null
// ************************************************************************************************** // ias - Interacting Active Surfaces // Project homepage: https://github.com/torressancheza/ias // Copyright (c) 2020 Alejandro Torres-Sanchez, Max Kerr Winter and Guillaume Salbreux // *****************...
35.991228
213
0.469413
torressancheza
2f492448200f371994c36eebc26cdc03494638b8
1,284
cpp
C++
src/tMain.cpp
veljkolazic17/DOS_threads
0f5c065850143469862f1f5cb69d076a4dbd986c
[ "MIT" ]
null
null
null
src/tMain.cpp
veljkolazic17/DOS_threads
0f5c065850143469862f1f5cb69d076a4dbd986c
[ "MIT" ]
null
null
null
src/tMain.cpp
veljkolazic17/DOS_threads
0f5c065850143469862f1f5cb69d076a4dbd986c
[ "MIT" ]
null
null
null
/* * tMain.cpp * * Created on: Jul 1, 2021 * Author: OS1 */ #include "../h/tMain.h" #include "../h/ttools.h" #include "../h/IVTEntry.h" #include "../h/Iterator.h" unsigned tMain::started = 0; int userMain(int args,char* argv[]); void tMain::run(){ this->retback = userMain(args,argv); }...
18.882353
63
0.61838
veljkolazic17
2f4f64ca40b575480983d6d30bc1ac115aee7c6e
5,563
hpp
C++
cpp/include/eop/intrinsics.hpp
asefahmed56/elements-of-programming
2176d4a086ad52d73f1dc3c0cd7a97351766efd7
[ "MIT" ]
1
2020-04-09T06:16:48.000Z
2020-04-09T06:16:48.000Z
cpp/include/eop/intrinsics.hpp
asefahmed56/elements-of-programming
2176d4a086ad52d73f1dc3c0cd7a97351766efd7
[ "MIT" ]
null
null
null
cpp/include/eop/intrinsics.hpp
asefahmed56/elements-of-programming
2176d4a086ad52d73f1dc3c0cd7a97351766efd7
[ "MIT" ]
null
null
null
#ifndef EOP_INTRINSICS_HPP #define EOP_INTRINSICS_HPP #include "concepts.hpp" namespace eop { /** * @brief Method for construction * * Precondition: $v$ refers to raw memory, not an object * Postcondition: $v$ is in a partially-formed state * * @tparam ContainerType A container to ...
32.723529
81
0.621967
asefahmed56
016969c07f9e49fbba7a6a2b7ba8d588e708fef2
944
hpp
C++
include/nbtpp/tags/tagintarray.hpp
M4xi1m3/nbtpp
dfb69f2d4b52d60f54c1132047ae4a86816a5dd4
[ "MIT" ]
null
null
null
include/nbtpp/tags/tagintarray.hpp
M4xi1m3/nbtpp
dfb69f2d4b52d60f54c1132047ae4a86816a5dd4
[ "MIT" ]
null
null
null
include/nbtpp/tags/tagintarray.hpp
M4xi1m3/nbtpp
dfb69f2d4b52d60f54c1132047ae4a86816a5dd4
[ "MIT" ]
null
null
null
#ifndef NBTPP_TAGS_TAGINTARRAY_HPP_ #define NBTPP_TAGS_TAGINTARRAY_HPP_ #include "../tag.hpp" #include <vector> namespace nbtpp { namespace tags { class tag_intarray: public tag { public: tag_intarray(std::string name) : tag(name, tag_type::TAG_Int_Array), m_value() { } ...
21.953488
131
0.541314
M4xi1m3
016c679fcde0745331f83466ad7d22c792f30040
2,678
cpp
C++
frequency.cpp
scross99/cryptanalysis-gui
a3149972f1877889172bee9e969f3dc8b243e6ae
[ "MIT" ]
null
null
null
frequency.cpp
scross99/cryptanalysis-gui
a3149972f1877889172bee9e969f3dc8b243e6ae
[ "MIT" ]
null
null
null
frequency.cpp
scross99/cryptanalysis-gui
a3149972f1877889172bee9e969f3dc8b243e6ae
[ "MIT" ]
null
null
null
#include <wx/wx.h> #include <wx/listctrl.h> #include <cstdlib> #include <iostream> #include "frequency.h" #include "ids.h" #include "english.h" BEGIN_EVENT_TABLE(WA_Frequency, wxPanel) EVT_TEXT(frequency_txt, WA_Frequency::on_txt_changed) END_EVENT_TABLE() WA_Frequency::WA_Frequency(wxWindow * parent...
27.050505
105
0.616878
scross99
016faea80610f6deace15bd1cb0149f4b47d79bf
2,131
hpp
C++
src/petuum_ps/oplog/oplog_partition.hpp
daiwei89/wdai_petuum_public
4068859897061201d0a63630a3da6011b0d0f75f
[ "BSD-3-Clause" ]
370
2015-06-30T09:46:17.000Z
2017-01-21T07:14:00.000Z
src/petuum_ps/oplog/oplog_partition.hpp
daiwei89/wdai_petuum_public
4068859897061201d0a63630a3da6011b0d0f75f
[ "BSD-3-Clause" ]
3
2016-11-08T19:45:19.000Z
2016-11-11T13:21:19.000Z
src/petuum_ps/oplog/oplog_partition.hpp
daiwei89/wdai_petuum_public
4068859897061201d0a63630a3da6011b0d0f75f
[ "BSD-3-Clause" ]
159
2015-07-03T05:58:31.000Z
2016-12-29T20:59:01.000Z
// Author: jinliang #pragma once #include <petuum_ps/oplog/abstract_oplog.hpp> #include <libcuckoo/cuckoohash_map.hh> #include <petuum_ps_common/util/striped_lock.hpp> namespace petuum { class OpLogPartition : public AbstractOpLog { public: OpLogPartition(int32_t capacity, const AbstractRow *sample_row, ...
33.825397
79
0.755045
daiwei89
017157ae72a7def5c133dd4127665f444dda75e7
2,625
cpp
C++
src/AppLines/b3CopyProperty.cpp
stmork/blz3
275e24681cb1493319cd0a50e691feb86182f6f0
[ "BSD-3-Clause" ]
null
null
null
src/AppLines/b3CopyProperty.cpp
stmork/blz3
275e24681cb1493319cd0a50e691feb86182f6f0
[ "BSD-3-Clause" ]
null
null
null
src/AppLines/b3CopyProperty.cpp
stmork/blz3
275e24681cb1493319cd0a50e691feb86182f6f0
[ "BSD-3-Clause" ]
1
2022-01-07T15:58:38.000Z
2022-01-07T15:58:38.000Z
/* ** ** $Filename: b3CopyProperty.cpp $ ** $Release: Dortmund 2005 $ ** $Revision$ ** $Date$ ** $Author$ ** $Developer: Steffen A. Mork $ ** ** Blizzard III - Select shape property copy modes ** ** (C) Copyright 2005 Steffen A. Mork ** All Rights Reserved ** ** */ /***********************************************...
23.4375
78
0.508571
stmork
017294bdd75e366ade8483a96b4009bdd8b258bd
723
cpp
C++
Train/Sheet/Sheet-B/extra/extra 01 - 15/09.[Decoding].cpp
mohamedGamalAbuGalala/Practice
2a5fa3bdaf995d0c304f04231e1a69e6960f72c8
[ "MIT" ]
1
2019-12-19T06:51:20.000Z
2019-12-19T06:51:20.000Z
Train/Sheet/Sheet-B/extra/extra 01 - 15/09.[Decoding].cpp
mohamedGamalAbuGalala/Practice
2a5fa3bdaf995d0c304f04231e1a69e6960f72c8
[ "MIT" ]
null
null
null
Train/Sheet/Sheet-B/extra/extra 01 - 15/09.[Decoding].cpp
mohamedGamalAbuGalala/Practice
2a5fa3bdaf995d0c304f04231e1a69e6960f72c8
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; void fl() { #ifndef ONLINE_JUDGE freopen("in.txt", "r", stdin); // freopen("ot.txt", "w", stdout); #else // freopen("jumping.in", "r", stdin); // HERE #endif } //////////////////////////////////////////////////////////////////////////////////////////////// // snippet :: ...
20.083333
96
0.410788
mohamedGamalAbuGalala
0173df37d6ce5df5d2b00719a7859743b786c0f8
2,393
cpp
C++
src/tibb/src/Modules/UI/BlackBerry/ProgressBar/TiUIProgressBarProxy.cpp
ssaracut/titanium_mobile_blackberry
952a8100086dcc625584e33abc2dc03340cbb219
[ "Apache-2.0" ]
3
2015-03-07T15:41:18.000Z
2015-11-05T05:07:45.000Z
src/tibb/src/Modules/UI/BlackBerry/ProgressBar/TiUIProgressBarProxy.cpp
ssaracut/titanium_mobile_blackberry
952a8100086dcc625584e33abc2dc03340cbb219
[ "Apache-2.0" ]
1
2015-04-12T11:50:33.000Z
2015-04-12T21:13:19.000Z
src/tibb/src/Modules/UI/BlackBerry/ProgressBar/TiUIProgressBarProxy.cpp
ssaracut/titanium_mobile_blackberry
952a8100086dcc625584e33abc2dc03340cbb219
[ "Apache-2.0" ]
5
2015-01-13T17:14:41.000Z
2015-05-25T16:54:26.000Z
/** * Appcelerator Titanium Mobile * Copyright (c) 2014 by Appcelerator, Inc. All Rights Reserved. * Licensed under the terms of the Apache Public License * Please see the LICENSE included with this distribution for details. */ #include "TiUIProgressBarProxy.h" #include "TiUIProgressBar.h" namespace TiUI { TiUI...
22.364486
84
0.754283
ssaracut
01749a8cb48abff3e178b53309c6b048c7c420eb
10,913
cpp
C++
test/quantile_bai_unittest.cpp
gostevehoward/quantile-cs
12bad0fe9843e1a7263f667f95933c3d28825d87
[ "MIT" ]
1
2019-11-27T18:40:38.000Z
2019-11-27T18:40:38.000Z
test/quantile_bai_unittest.cpp
gostevehoward/quantilecs
12bad0fe9843e1a7263f667f95933c3d28825d87
[ "MIT" ]
null
null
null
test/quantile_bai_unittest.cpp
gostevehoward/quantilecs
12bad0fe9843e1a7263f667f95933c3d28825d87
[ "MIT" ]
null
null
null
#include <random> #include "quantile_bai.h" #include "gtest/gtest.h" namespace { TEST(BanditModelTest, Bernoulli) { std::mt19937_64 rng(123); auto model = BanditModel::NITHBernoulli(2, .5, .1); double draw = model.sample_arm(0, rng); EXPECT_TRUE(draw == 0.0 || draw == 1.0); } TEST(BanditModelTest, Uniform)...
30.313889
78
0.652525
gostevehoward
017561a52f0207591485d5ec7be8f3b67f30003e
18,513
cpp
C++
src/app/voltdb/voltdb_src/src/ee/executors/insertexecutor.cpp
OpenMPDK/SMDK
8f19d32d999731242cb1ab116a4cb445d9993b15
[ "BSD-3-Clause" ]
44
2022-03-16T08:32:31.000Z
2022-03-31T16:02:35.000Z
src/app/voltdb/voltdb_src/src/ee/executors/insertexecutor.cpp
H2O0Lee/SMDK
eff49bc17a55a83ea968112feb2e2f2ea18c4ff5
[ "BSD-3-Clause" ]
1
2022-03-29T02:30:28.000Z
2022-03-30T03:40:46.000Z
src/app/voltdb/voltdb_src/src/ee/executors/insertexecutor.cpp
H2O0Lee/SMDK
eff49bc17a55a83ea968112feb2e2f2ea18c4ff5
[ "BSD-3-Clause" ]
18
2022-03-19T04:41:04.000Z
2022-03-31T03:32:12.000Z
/* This file is part of VoltDB. * Copyright (C) 2008-2020 VoltDB Inc. * * This file contains original code and/or modifications of original code. * Any modifications made by VoltDB Inc. are licensed under the following * terms and conditions: * * This program is free software: you can redistribute it and/or modi...
44.395683
156
0.67693
OpenMPDK
017749506f9ca6e648e0c0787bacc0178bd9e649
14,148
cpp
C++
opt/nomad/src/Algos/Mads/Poll.cpp
scikit-quant/scikit-quant
397ab0b6287f3815e9bcadbfadbe200edbee5a23
[ "BSD-3-Clause-LBNL" ]
31
2019-02-05T16:39:18.000Z
2022-03-11T23:14:11.000Z
opt/nomad/src/Algos/Mads/Poll.cpp
scikit-quant/scikit-quant
397ab0b6287f3815e9bcadbfadbe200edbee5a23
[ "BSD-3-Clause-LBNL" ]
20
2020-04-13T09:22:53.000Z
2021-08-16T16:14:13.000Z
opt/nomad/src/Algos/Mads/Poll.cpp
scikit-quant/scikit-quant
397ab0b6287f3815e9bcadbfadbe200edbee5a23
[ "BSD-3-Clause-LBNL" ]
6
2020-04-21T17:43:47.000Z
2021-03-10T04:12:34.000Z
/*---------------------------------------------------------------------------------*/ /* NOMAD - Nonlinear Optimization by Mesh Adaptive Direct Search - */ /* */ /* NOMAD - Version 4 has been created by ...
39.741573
147
0.556192
scikit-quant
0177b1a5e739a0eef4cbf6ab6f8e3cbcd699183c
4,671
cpp
C++
tests/filemanager/copy.cpp
sugawaray/filemanager
3dcb908d4c1e0c36de0c60e1b2e1291eec986cb1
[ "MIT" ]
null
null
null
tests/filemanager/copy.cpp
sugawaray/filemanager
3dcb908d4c1e0c36de0c60e1b2e1291eec986cb1
[ "MIT" ]
null
null
null
tests/filemanager/copy.cpp
sugawaray/filemanager
3dcb908d4c1e0c36de0c60e1b2e1291eec986cb1
[ "MIT" ]
null
null
null
#include <iostream> #include <nomagic.h> #include "move_copy_test.h" #include "copy.h" using fm::filemanager::test::Copy_test; START_TEST(should_copy_a_file_to_a_file) { Copy_test test; test.test_should_move_or_copy_a_file_to_a_file(); } END_TEST START_TEST(should_copy_a_file_to_a_filepath) { Copy_test test; tes...
24.97861
72
0.863413
sugawaray
0183d939af51b8eb3c5f498bc3ea123b34bfe91e
676
cpp
C++
test/fuzzer/TraceMallocThreadedTest.cpp
hnakamur/golang-1.13-race-detector-runtime-deb
d72346b69f3b54fa522bc1cdfae7ee67d27db89c
[ "MIT" ]
27
2021-02-18T01:05:06.000Z
2022-03-29T05:34:37.000Z
test/fuzzer/TraceMallocThreadedTest.cpp
hnakamur/golang-1.13-race-detector-runtime-deb
d72346b69f3b54fa522bc1cdfae7ee67d27db89c
[ "MIT" ]
5
2018-08-16T08:36:55.000Z
2019-09-30T18:12:05.000Z
test/fuzzer/TraceMallocThreadedTest.cpp
hnakamur/golang-1.13-race-detector-runtime-deb
d72346b69f3b54fa522bc1cdfae7ee67d27db89c
[ "MIT" ]
25
2018-02-15T16:02:54.000Z
2022-03-23T14:55:25.000Z
// This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // Check that allocation tracing from different threads does not cause // interleaving of stack traces. #include <assert.h> #include <cstddef> #include <cstdint> #include <cstring> #include <cstdlib> #incl...
28.166667
73
0.652367
hnakamur
018e0bb14cb6c52ef92d31df5bea008c850ec038
31,826
cpp
C++
camera/hal/intel/ipu3/psl/ipu3/SyncManager.cpp
strassek/chromiumos-platform2
12c953f41f48b8a6b0bd1c181d09bdb1de38325c
[ "BSD-3-Clause" ]
4
2020-07-24T06:54:16.000Z
2021-06-16T17:13:53.000Z
camera/hal/intel/ipu3/psl/ipu3/SyncManager.cpp
strassek/chromiumos-platform2
12c953f41f48b8a6b0bd1c181d09bdb1de38325c
[ "BSD-3-Clause" ]
1
2021-04-02T17:35:07.000Z
2021-04-02T17:35:07.000Z
camera/hal/intel/ipu3/psl/ipu3/SyncManager.cpp
strassek/chromiumos-platform2
12c953f41f48b8a6b0bd1c181d09bdb1de38325c
[ "BSD-3-Clause" ]
1
2020-11-04T22:31:45.000Z
2020-11-04T22:31:45.000Z
/* * Copyright (C) 2018 Intel Corporation * * 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...
32.17998
100
0.640797
strassek
018e76deee8bdabaf65f1b68d555a51946186eaa
1,508
cpp
C++
paxos/acceptor.cpp
plsmaop/SLOG
bcf5775fdb756d73e56265835020517f6f7b79a7
[ "MIT" ]
26
2020-01-31T18:12:44.000Z
2022-02-07T01:46:07.000Z
paxos/acceptor.cpp
plsmaop/SLOG
bcf5775fdb756d73e56265835020517f6f7b79a7
[ "MIT" ]
17
2020-01-30T20:40:35.000Z
2021-12-22T18:43:21.000Z
paxos/acceptor.cpp
plsmaop/SLOG
bcf5775fdb756d73e56265835020517f6f7b79a7
[ "MIT" ]
6
2019-12-24T15:30:45.000Z
2021-07-06T19:47:30.000Z
#include "paxos/acceptor.h" #include "paxos/simulated_multi_paxos.h" namespace slog { using internal::Envelope; using internal::Request; using internal::Response; Acceptor::Acceptor(SimulatedMultiPaxos& sender) : sender_(sender), ballot_(0) {} void Acceptor::HandleRequest(const internal::Envelope& req) { switch ...
32.085106
105
0.732095
plsmaop
018f1dd975cb089e6fd899c8cf8bb936aebc7ab4
24,067
cpp
C++
mplapack/reference/Rlaqtr.cpp
Ndersam/mplapack
f2ef54d7ce95e4028d3f101a901c75d18d3f1327
[ "BSD-3-Clause-Open-MPI" ]
26
2019-03-20T04:06:03.000Z
2022-03-02T10:21:01.000Z
mplapack/reference/Rlaqtr.cpp
Ndersam/mplapack
f2ef54d7ce95e4028d3f101a901c75d18d3f1327
[ "BSD-3-Clause-Open-MPI" ]
5
2019-03-04T03:32:41.000Z
2021-12-01T07:47:25.000Z
mplapack/reference/Rlaqtr.cpp
Ndersam/mplapack
f2ef54d7ce95e4028d3f101a901c75d18d3f1327
[ "BSD-3-Clause-Open-MPI" ]
5
2019-03-09T17:50:26.000Z
2022-03-10T19:46:20.000Z
/* * Copyright (c) 2008-2021 * Nakata, Maho * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, th...
39.006483
166
0.279636
Ndersam
018f628d208b152da9e47284a479d912d22f2f03
453
cpp
C++
src/platform.cpp
matias310396/sonic
0bfbdd02ad1f1bff04b74b913199b9b7bc45c343
[ "MIT" ]
null
null
null
src/platform.cpp
matias310396/sonic
0bfbdd02ad1f1bff04b74b913199b9b7bc45c343
[ "MIT" ]
null
null
null
src/platform.cpp
matias310396/sonic
0bfbdd02ad1f1bff04b74b913199b9b7bc45c343
[ "MIT" ]
null
null
null
#include "../include/platform.hpp" using namespace engine; void Platform::on_event(GameEvent game_event){ std::string event_name = game_event.game_event_name; Image* platform_image = dynamic_cast<Image*>(images[0]); if(event_name == "MOVE_LEFT" && !GameObject::on_limit_of_level){ position.first += 10; ...
23.842105
73
0.706402
matias310396
019228dfe8b5d4b0bb0029b7bcac44bbf217b8af
893
cpp
C++
1237/src.cpp
sabingoyek/uva-online-judge
78be271d440ff3b9b1b038fb83343ba46ea60843
[ "MIT" ]
null
null
null
1237/src.cpp
sabingoyek/uva-online-judge
78be271d440ff3b9b1b038fb83343ba46ea60843
[ "MIT" ]
null
null
null
1237/src.cpp
sabingoyek/uva-online-judge
78be271d440ff3b9b1b038fb83343ba46ea60843
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; int main() { // your code goes here int T; scanf("%d", &T); while(T--){ int D, Q, L, H; string M; vector<pair<string, pair<int, int>>> db; scanf("%d", &D); while(D--){ cin >> M >> L >> H; db.push_back(make_pair(M, make_pair(L,H))); } /*fo...
16.537037
91
0.469205
sabingoyek
0194c378e1a5adc0f8e2c33bc437e8560f28e74b
314
hpp
C++
include/chip8/memory/stack.hpp
lance21/chip8
6797755845b73ee1a6be5c7b3970cb1c271a114b
[ "MIT" ]
null
null
null
include/chip8/memory/stack.hpp
lance21/chip8
6797755845b73ee1a6be5c7b3970cb1c271a114b
[ "MIT" ]
null
null
null
include/chip8/memory/stack.hpp
lance21/chip8
6797755845b73ee1a6be5c7b3970cb1c271a114b
[ "MIT" ]
null
null
null
#ifndef STACK_HPP #define STACK_HPP #include <cstdint> namespace chip8 { namespace memory { class Stack { private: uint8_t stack_pointer_; uint16_t stack_[16]; public: Stack(); uint8_t getStackPointer() const; uint16_t pop(); void push( const uint16_t return_address); }; } } #endif
12.076923
46
0.687898
lance21
019559d84072d03e66c173fa38129cb1dbd03e9c
2,306
cpp
C++
src/masking.cpp
davidchall/ipaddress
3a2a84e245eaf73aadfe0bf3692af27a622bc220
[ "MIT" ]
23
2020-03-06T01:26:49.000Z
2022-03-17T11:09:58.000Z
src/masking.cpp
davidchall/ipaddress
3a2a84e245eaf73aadfe0bf3692af27a622bc220
[ "MIT" ]
41
2020-02-09T18:34:09.000Z
2022-01-14T05:18:07.000Z
src/masking.cpp
davidchall/ipaddress
3a2a84e245eaf73aadfe0bf3692af27a622bc220
[ "MIT" ]
2
2020-03-12T14:45:37.000Z
2020-04-08T12:43:11.000Z
#include <Rcpp.h> #include <ipaddress.h> #include <ipaddress/to_string.h> #include "warn.h" using namespace Rcpp; using namespace ipaddress; // [[Rcpp::export]] List wrap_netmask(IntegerVector in_prefix_length, LogicalVector in_is_ipv6) { // initialize vectors std::size_t vsize = in_is_ipv6.size(); std::vector...
24.795699
78
0.632264
davidchall
019585181381bdc8accf87cc69e80e64ac949e34
1,069
hpp
C++
Lib/Chip/ATSAM3N0B.hpp
operativeF/Kvasir
dfbcbdc9993d326ef8cc73d99129e78459c561fd
[ "Apache-2.0" ]
null
null
null
Lib/Chip/ATSAM3N0B.hpp
operativeF/Kvasir
dfbcbdc9993d326ef8cc73d99129e78459c561fd
[ "Apache-2.0" ]
null
null
null
Lib/Chip/ATSAM3N0B.hpp
operativeF/Kvasir
dfbcbdc9993d326ef8cc73d99129e78459c561fd
[ "Apache-2.0" ]
null
null
null
#pragma once #include <cstdint> #include <Chip/CM3/Atmel/ATSAM3N0B/SPI.hpp> #include <Chip/CM3/Atmel/ATSAM3N0B/TC0.hpp> #include <Chip/CM3/Atmel/ATSAM3N0B/TWI0.hpp> #include <Chip/CM3/Atmel/ATSAM3N0B/TWI1.hpp> #include <Chip/CM3/Atmel/ATSAM3N0B/PWM.hpp> #include <Chip/CM3/Atmel/ATSAM3N0B/USART0.hpp> #include <Chip/CM3...
41.115385
46
0.776427
operativeF
01996a166cc70b0e8d688b1063eb8988ea976732
3,441
cpp
C++
sharedcpp/libeditcore/gpu_texture_cache.cpp
daimaren/TikTok
786437b8a05e84dead1bd54ba718edd68f893635
[ "MIT" ]
3
2020-11-11T04:08:19.000Z
2021-04-27T01:07:42.000Z
sharedcpp/libeditcore/gpu_texture_cache.cpp
daimaren/TikTok
786437b8a05e84dead1bd54ba718edd68f893635
[ "MIT" ]
2
2020-09-22T20:42:16.000Z
2020-11-11T04:08:57.000Z
sharedcpp/libeditcore/gpu_texture_cache.cpp
daimaren/TikTok
786437b8a05e84dead1bd54ba718edd68f893635
[ "MIT" ]
11
2020-07-04T03:03:18.000Z
2022-03-17T10:19:19.000Z
#include "./gpu_texture_cache.h" #define LOG_TAG "GPUTextureCache" /******************* GPUTextureCache class *******************/ GPUTextureCache::GPUTextureCache() { } GPUTextureCache::~GPUTextureCache() { } //初始化静态成员 GPUTextureCache* GPUTextureCache::instance = new GPUTextureCache(); GPUTextureCache* GPUTextureC...
26.674419
97
0.70619
daimaren
019cd4e4d0c828c058f79ead42439e16b12dd270
2,584
cpp
C++
utils/write_updater.cpp
openharmony-gitee-mirror/update_updater
72393623a6aa9d08346da98433bb3bdbe5f07120
[ "Apache-2.0" ]
null
null
null
utils/write_updater.cpp
openharmony-gitee-mirror/update_updater
72393623a6aa9d08346da98433bb3bdbe5f07120
[ "Apache-2.0" ]
null
null
null
utils/write_updater.cpp
openharmony-gitee-mirror/update_updater
72393623a6aa9d08346da98433bb3bdbe5f07120
[ "Apache-2.0" ]
1
2021-09-13T12:07:24.000Z
2021-09-13T12:07:24.000Z
/* * Copyright (c) 2021 Huawei Device Co., Ltd. * 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 ...
35.888889
108
0.594427
openharmony-gitee-mirror
01a1e24acf88e53592372de597bff526883fba94
15,802
hpp
C++
SDK/ARKSurvivalEvolved_Deathworm_AnimBlueprint_classes.hpp
2bite/ARK-SDK
c38ca9925309516b2093ad8c3a70ed9489e1d573
[ "MIT" ]
10
2020-02-17T19:08:46.000Z
2021-07-31T11:07:19.000Z
SDK/ARKSurvivalEvolved_Deathworm_AnimBlueprint_classes.hpp
2bite/ARK-SDK
c38ca9925309516b2093ad8c3a70ed9489e1d573
[ "MIT" ]
9
2020-02-17T18:15:41.000Z
2021-06-06T19:17:34.000Z
SDK/ARKSurvivalEvolved_Deathworm_AnimBlueprint_classes.hpp
2bite/ARK-SDK
c38ca9925309516b2093ad8c3a70ed9489e1d573
[ "MIT" ]
3
2020-07-22T17:42:07.000Z
2021-06-19T17:16:13.000Z
#pragma once // ARKSurvivalEvolved (329.9) SDK #ifdef _MSC_VER #pragma pack(push, 0x8) #endif #include "ARKSurvivalEvolved_Deathworm_AnimBlueprint_structs.hpp" namespace sdk { //--------------------------------------------------------------------------- //Classes //-------------------------------------------------...
121.553846
208
0.611378
2bite
01a29daa6672644661a43c4c1ada09267e97f7a0
345
cpp
C++
testcases/hh.p.cpp
qwerty472123/CPreprecessor
21bcf11d9478938ec977684f348caeaccbf56efd
[ "MIT" ]
2
2021-02-05T06:12:34.000Z
2021-05-31T10:59:32.000Z
testcases/hh.p.cpp
qwerty472123/CPreprocessor
21bcf11d9478938ec977684f348caeaccbf56efd
[ "MIT" ]
null
null
null
testcases/hh.p.cpp
qwerty472123/CPreprocessor
21bcf11d9478938ec977684f348caeaccbf56efd
[ "MIT" ]
null
null
null
# 1 "hh.c" # 1 "a a.h" hello # 2 "hh.c" check # 1 "aa.c" int main() { 9 3; 3()<a; <a a.h> 'aa' puts(<a); const int a=19; "aaaaa" int a,v,c,d,w; "hello worl\nd"; asm ( "1\n1" : "=r"(a), "=v"(v) : "=x"(c),"=dd"(w):"mem""ory" ); { int <a=1; } } ...
7.5
66
0.344928
qwerty472123
01a80cbbc25aa7a4dd190bfaf3af3a6b5f94bf54
5,543
cpp
C++
test_apps/STM32Cube_FW_F4_V1.24.0/Projects/STM32F429I-Discovery/Demonstrations/TouchGFX/Gui/gui/src/live_data_display_screen/CityInfo.cpp
hwiwonl/ACES
9b9a6766a177c531384b863854459a7e016dbdcc
[ "NCSA" ]
null
null
null
test_apps/STM32Cube_FW_F4_V1.24.0/Projects/STM32F429I-Discovery/Demonstrations/TouchGFX/Gui/gui/src/live_data_display_screen/CityInfo.cpp
hwiwonl/ACES
9b9a6766a177c531384b863854459a7e016dbdcc
[ "NCSA" ]
null
null
null
test_apps/STM32Cube_FW_F4_V1.24.0/Projects/STM32F429I-Discovery/Demonstrations/TouchGFX/Gui/gui/src/live_data_display_screen/CityInfo.cpp
hwiwonl/ACES
9b9a6766a177c531384b863854459a7e016dbdcc
[ "NCSA" ]
null
null
null
/** ****************************************************************************** * This file is part of the TouchGFX 4.10.0 distribution. * * <h2><center>&copy; Copyright (c) 2018 STMicroelectronics. * All rights reserved.</center></h2> * * This software component is licensed by ST under Ultimate Libert...
35.305732
160
0.707379
hwiwonl
01aa903c12681817cb94b6eee532b1dd17fd3171
660
cpp
C++
test/testRandom.cpp
htran118/MD-MS-CG
80a3104101348d1c599ecc0a1e08aec855fc70a9
[ "MIT" ]
null
null
null
test/testRandom.cpp
htran118/MD-MS-CG
80a3104101348d1c599ecc0a1e08aec855fc70a9
[ "MIT" ]
null
null
null
test/testRandom.cpp
htran118/MD-MS-CG
80a3104101348d1c599ecc0a1e08aec855fc70a9
[ "MIT" ]
null
null
null
#include <iostream> #include <random> #include <cmath> using namespace std; int NUMROL = 10000; int NUMBIN = 100; int BINSZE = 0.1; int main() { default_random_engine ENGINE; normal_distribution<float> norm(0.0, 1.0); int rand[NUMBIN], rSqr[NUMBIN]; float rVal, rSqT = 0; for(int i = 0; i < NUMBIN; ++i) ...
20
64
0.566667
htran118
01ab1caa9d18c97066657389a92ab8e27e3a9e95
1,282
cpp
C++
Nidrobb/Unitests/ToolboxTest.cpp
elias-hanna/Nidrobb
9de4b1bd63384a7c5969537be594f3248fd5c41b
[ "MIT" ]
null
null
null
Nidrobb/Unitests/ToolboxTest.cpp
elias-hanna/Nidrobb
9de4b1bd63384a7c5969537be594f3248fd5c41b
[ "MIT" ]
null
null
null
Nidrobb/Unitests/ToolboxTest.cpp
elias-hanna/Nidrobb
9de4b1bd63384a7c5969537be594f3248fd5c41b
[ "MIT" ]
null
null
null
#define BOOST_TEST_DYN_LINK #define BOOST_TEST_MODULE ToolboxTest #include <boost/test/unit_test.hpp> #include "../Toolbox.hpp" BOOST_AUTO_TEST_SUITE (CreateRect) BOOST_AUTO_TEST_CASE (Positive) { int x = 10, y=20, w = 30, h=40; SDL_Rect* r = createRect(x,y,w,h); BOOST_REQUIRE(r != nullptr); //Bloquant BOOST_REQ...
19.424242
73
0.652886
elias-hanna
01aca3435e599ebfcee6deb9b9daeeae63e33674
20,234
cpp
C++
test/rocprim/test_block_reduce.cpp
saadrahim/rocPRIM
4c8bc629b298f33e0c0df07b61f9b30503a84f27
[ "MIT" ]
null
null
null
test/rocprim/test_block_reduce.cpp
saadrahim/rocPRIM
4c8bc629b298f33e0c0df07b61f9b30503a84f27
[ "MIT" ]
null
null
null
test/rocprim/test_block_reduce.cpp
saadrahim/rocPRIM
4c8bc629b298f33e0c0df07b61f9b30503a84f27
[ "MIT" ]
null
null
null
// MIT License // // Copyright (c) 2017 Advanced Micro Devices, Inc. All rights reserved. // // 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 limitati...
34.64726
105
0.661708
saadrahim
01acc91ff0f87252de65216ec877bd878fbbb682
913
cpp
C++
src/IsoGame/Play/Rooms/ShooterRoom.cpp
Harry09/IsoGame
7320bee14197b66a96f432d4071537b3bb892c13
[ "MIT" ]
null
null
null
src/IsoGame/Play/Rooms/ShooterRoom.cpp
Harry09/IsoGame
7320bee14197b66a96f432d4071537b3bb892c13
[ "MIT" ]
null
null
null
src/IsoGame/Play/Rooms/ShooterRoom.cpp
Harry09/IsoGame
7320bee14197b66a96f432d4071537b3bb892c13
[ "MIT" ]
null
null
null
#include "ShooterRoom.h" #include <Common\Random.h> #include <Play\Objects\Entities\Enemies\Shooter.h> #include <Play\Objects\Rock.h> ShooterRoom::ShooterRoom(Map *parent, const sf::Vector2i &pos) : Room(parent, pos) { m_isRoomClear = false; m_roomType = Room::ENEMY; auto playZone = GetPlayZone(); Random rand...
21.738095
77
0.67908
Harry09
01af6663d4e513c5d9e6eb067655257b87986187
2,282
cpp
C++
LeetCodeCPP/212. Word Search II/main.cpp
18600130137/leetcode
fd2dc72c0b85da50269732f0fcf91326c4787d3a
[ "Apache-2.0" ]
1
2019-03-29T03:33:56.000Z
2019-03-29T03:33:56.000Z
LeetCodeCPP/212. Word Search II/main.cpp
18600130137/leetcode
fd2dc72c0b85da50269732f0fcf91326c4787d3a
[ "Apache-2.0" ]
null
null
null
LeetCodeCPP/212. Word Search II/main.cpp
18600130137/leetcode
fd2dc72c0b85da50269732f0fcf91326c4787d3a
[ "Apache-2.0" ]
null
null
null
// // main.cpp // 212. Word Search II // // Created by admin on 2019/6/13. // Copyright © 2019年 liu. All rights reserved. // #include <iostream> #include <vector> #include <string> using namespace std; class TrieNode{ public: TrieNode *next[26]; string word; TrieNode(){ word=""; m...
23.525773
107
0.468449
18600130137
01af913d446d653333760ee24a0a8a473afc85dc
3,400
hpp
C++
include/codegen/include/GlobalNamespace/PlayerHeightSettingsController.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
1
2021-11-12T09:29:31.000Z
2021-11-12T09:29:31.000Z
include/codegen/include/GlobalNamespace/PlayerHeightSettingsController.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
null
null
null
include/codegen/include/GlobalNamespace/PlayerHeightSettingsController.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
2
2021-10-03T02:14:20.000Z
2021-11-12T09:29:36.000Z
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once #pragma pack(push, 8) // Begin includes #include "extern/beatsaber-hook/shared/utils/typedefs.h" // Including type: UnityEngine.MonoBehaviour #include "UnityEngine/MonoBeh...
35.051546
111
0.726471
Futuremappermydud
01afe0535cfe3ca9df69abddfc03bbfe3764613f
7,739
cpp
C++
tests/src/types/src/types_test.cpp
hymanat/Karabiner-Elements
af955113ee0a5990ba52a467cad43a9f590b2e79
[ "Unlicense" ]
1
2021-11-09T10:28:50.000Z
2021-11-09T10:28:50.000Z
tests/src/types/src/types_test.cpp
bland328/Karabiner-Elements
328df25e09837cd29023def17d552830bf6cdba2
[ "Unlicense" ]
null
null
null
tests/src/types/src/types_test.cpp
bland328/Karabiner-Elements
328df25e09837cd29023def17d552830bf6cdba2
[ "Unlicense" ]
null
null
null
#include <catch2/catch.hpp> #include "types.hpp" TEST_CASE("make_key_code") { REQUIRE(krbn::make_key_code("spacebar") == krbn::key_code::spacebar); REQUIRE(krbn::make_key_code("unknown") == std::nullopt); REQUIRE(krbn::make_key_code_name(krbn::key_code::spacebar) == std::string("spacebar")); REQUIRE(krbn::mak...
46.90303
159
0.70513
hymanat
01b1224e96bd6bea7444be3a10d1e36c64bd2b44
168
hpp
C++
lib/language_framework.hpp
s9rA16Bf4/language_framework
231b3a615be88f080329c98bfc46502e9d3777e6
[ "MIT" ]
null
null
null
lib/language_framework.hpp
s9rA16Bf4/language_framework
231b3a615be88f080329c98bfc46502e9d3777e6
[ "MIT" ]
null
null
null
lib/language_framework.hpp
s9rA16Bf4/language_framework
231b3a615be88f080329c98bfc46502e9d3777e6
[ "MIT" ]
null
null
null
#ifndef MAIN_HPP #define MAIN_HPP 1 #define FRAMEWORK_VERSION "1.0" #include "custom.hpp" // Base headers #include "interpreter.hpp" #include "function.hpp" #endif
12.923077
31
0.744048
s9rA16Bf4
01ba0c69d7e84f272c22ff4df5725eef1e7bee88
346
hpp
C++
approach_boost_serialization/bus_group_ser.hpp
noahleft/serialization
731ebcee68339960308a86b25cf3c11ba815043e
[ "MIT" ]
null
null
null
approach_boost_serialization/bus_group_ser.hpp
noahleft/serialization
731ebcee68339960308a86b25cf3c11ba815043e
[ "MIT" ]
null
null
null
approach_boost_serialization/bus_group_ser.hpp
noahleft/serialization
731ebcee68339960308a86b25cf3c11ba815043e
[ "MIT" ]
null
null
null
#ifndef BUS_GROUP_SER_HPP #define BUS_GROUP_SER_HPP #include "bus_group.hpp" #include "bus_route_ser.hpp" #include <boost/serialization/vector.hpp> namespace boost { namespace serialization { template<class Archive> void serialize(Archive & ar, bus_group & obj, const unsigned int version) { ar & obj....
18.210526
79
0.725434
noahleft
01bfc931d9d88c120c9f536aa2b045582dea02ff
3,699
cpp
C++
utils/resoursecontainer.cpp
PLUkraine/Battle-City-Qt
65eafe10cd86a79474a2dd1a2b3ea7d94450d59a
[ "MIT" ]
1
2021-11-17T14:55:01.000Z
2021-11-17T14:55:01.000Z
utils/resoursecontainer.cpp
PLUkraine/Battle-City-Qt
65eafe10cd86a79474a2dd1a2b3ea7d94450d59a
[ "MIT" ]
null
null
null
utils/resoursecontainer.cpp
PLUkraine/Battle-City-Qt
65eafe10cd86a79474a2dd1a2b3ea7d94450d59a
[ "MIT" ]
null
null
null
#include "resoursecontainer.h" #include <QJsonArray> #include <QJsonObject> #include <QJsonDocument> #include <QFile> #include <QDebug> #include <iostream> ResBag &ResBag::get() { static ResBag container; return container; } QImage *ResBag::tankSprite() { return &m_tankSprite; } QImage *ResBag::bulletSp...
20.898305
75
0.664504
PLUkraine
01c5bea11288edf66001a4d5712488b6b7f5e786
3,572
cpp
C++
play_motion/play_motion/src/run_motion_node.cpp
hect1995/Robotics_intro
1b687585c20db5f1114d8ca6811a70313d325dd6
[ "BSD-3-Clause" ]
7
2018-10-24T14:52:20.000Z
2021-01-12T14:59:00.000Z
play_motion/play_motion/src/run_motion_node.cpp
hect1995/Robotics_intro
1b687585c20db5f1114d8ca6811a70313d325dd6
[ "BSD-3-Clause" ]
null
null
null
play_motion/play_motion/src/run_motion_node.cpp
hect1995/Robotics_intro
1b687585c20db5f1114d8ca6811a70313d325dd6
[ "BSD-3-Clause" ]
17
2019-09-29T10:22:41.000Z
2021-04-08T12:38:37.000Z
/* * Software License Agreement (Modified BSD License) * * Copyright (c) 2016, PAL Robotics, S.L. * 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...
31.892857
103
0.707167
hect1995
01cba97435271210885bf306469f7fe834e61162
1,133
hpp
C++
modules/services/pathfinder_cpp/bld/fsa.hpp
memristor/mep2
bc5cddacba3d740f791f3454b8cb51bda83ce202
[ "MIT" ]
5
2018-11-27T15:15:00.000Z
2022-02-10T21:44:13.000Z
modules/services/pathfinder_cpp/fsa.hpp
memristor/mep2
bc5cddacba3d740f791f3454b8cb51bda83ce202
[ "MIT" ]
2
2018-10-20T15:48:40.000Z
2018-11-20T05:11:33.000Z
modules/services/pathfinder_cpp/fsa.hpp
memristor/mep2
bc5cddacba3d740f791f3454b8cb51bda83ce202
[ "MIT" ]
1
2020-02-07T12:44:47.000Z
2020-02-07T12:44:47.000Z
#ifndef FSA_H #define FSA_H #include <cstring> #include <iostream> template <class T, int N = 100> class FixedSizeAllocator { private: struct FSAElem { T userElement; FSAElem *pNext; }; FSAElem *m_pFirstFree; int m_pMemory[(sizeof(FSAElem) * N) / sizeof(int) + 1]; public: FixedSizeAllocator(bool clear_m...
21.377358
86
0.633716
memristor
01d47a71ae639e745b34f274d99721d93d2b7a23
2,900
cpp
C++
Queue/Deque_Using_Circular_Array.cpp
susantabiswas/placementPrep
22a7574206ddc63eba89517f7b68a3d2f4d467f5
[ "MIT" ]
19
2018-12-02T05:59:44.000Z
2021-07-24T14:11:54.000Z
Queue/Deque_Using_Circular_Array.cpp
susantabiswas/placementPrep
22a7574206ddc63eba89517f7b68a3d2f4d467f5
[ "MIT" ]
null
null
null
Queue/Deque_Using_Circular_Array.cpp
susantabiswas/placementPrep
22a7574206ddc63eba89517f7b68a3d2f4d467f5
[ "MIT" ]
13
2019-04-25T16:20:00.000Z
2021-09-06T19:50:04.000Z
//Circular linked list using Array #include<iostream> #include<vector> using namespace std; struct CLL{ vector<int> arr; int rear = -1; int beg = -1; int n = 0; CLL(int n){ arr.resize(n); this->n = n; } }; bool isFull(CLL* head){ if( head->beg == head->rear+1 || head->beg == 0 && head->rear == head->n-1)...
20.714286
76
0.574828
susantabiswas
01d54580e79e3924267e5bf7b4ffc5a53ca7df96
1,300
hpp
C++
boost/spirit/home/support.hpp
mike-code/boost_1_38_0
7ff8b2069344ea6b0b757aa1f0778dfb8526df3c
[ "BSL-1.0" ]
14
2017-03-07T00:14:33.000Z
2022-02-09T00:59:22.000Z
boost/spirit/home/support.hpp
xin3liang/platform_external_boost
ac861f8c0f33538060790a8e50701464ca9982d3
[ "BSL-1.0" ]
11
2016-11-22T13:14:55.000Z
2021-12-14T00:56:51.000Z
boost/spirit/home/support.hpp
xin3liang/platform_external_boost
ac861f8c0f33538060790a8e50701464ca9982d3
[ "BSL-1.0" ]
6
2016-11-07T13:38:45.000Z
2021-04-04T12:13:31.000Z
/*============================================================================= Copyright (c) 2001-2007 Joel de Guzman 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) =========================================...
44.827586
80
0.715385
mike-code
01d57fb1fe3a45a224d7776f878e3eb2a5c76ffb
5,766
hpp
C++
sdk/components/ElPack/Code/Source/ElPrinterPreview.hpp
acidicMercury8/xray-1.0
65e85c0e31e82d612c793d980dc4b73fa186c76c
[ "Linux-OpenIB" ]
10
2021-05-04T06:40:27.000Z
2022-01-20T20:24:28.000Z
sdk/components/ElPack/Code/Source/ElPrinterPreview.hpp
acidicMercury8/xray-1.0
65e85c0e31e82d612c793d980dc4b73fa186c76c
[ "Linux-OpenIB" ]
null
null
null
sdk/components/ElPack/Code/Source/ElPrinterPreview.hpp
acidicMercury8/xray-1.0
65e85c0e31e82d612c793d980dc4b73fa186c76c
[ "Linux-OpenIB" ]
2
2020-05-17T10:01:14.000Z
2020-09-11T20:17:27.000Z
// Borland C++ Builder // Copyright (c) 1995, 2002 by Borland Software Corporation // All rights reserved // (DO NOT EDIT: machine generated header) 'ElPrinterPreview.pas' rev: 6.00 #ifndef ElPrinterPreviewHPP #define ElPrinterPreviewHPP #pragma delphiheader begin #pragma option push -w- #pragma option pu...
38.44
150
0.723205
acidicMercury8
01d5c788095fbab27a97f5f1d5c7ba0767d668b4
1,475
hpp
C++
AI-and-Analytics/End-to-end-Workloads/LidarObjectDetection-PointPillars/include/pointpillars/scan.hpp
tiwaria1/oneAPI-samples
18310adf63c7780715f24034acfb0bf01d15521f
[ "MIT" ]
310
2020-07-09T01:00:11.000Z
2022-03-31T17:52:14.000Z
AI-and-Analytics/End-to-end-Workloads/LidarObjectDetection-PointPillars/include/pointpillars/scan.hpp
tiwaria1/oneAPI-samples
18310adf63c7780715f24034acfb0bf01d15521f
[ "MIT" ]
438
2020-06-30T23:25:19.000Z
2022-03-31T00:37:13.000Z
AI-and-Analytics/End-to-end-Workloads/LidarObjectDetection-PointPillars/include/pointpillars/scan.hpp
junxnone/oneAPI-samples
f414747b5676688d690655c6043b71577027fc19
[ "MIT" ]
375
2020-06-04T22:58:24.000Z
2022-03-30T11:04:18.000Z
/* * Copyright 2018-2019 Autoware Foundation. All rights reserved. * Copyright (c) 2019-2021 Intel Corporation (oneAPI modifications) * * 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 * ...
31.382979
119
0.690847
tiwaria1
01d720531878bd2fe18bf2ebd3f132f11388b591
3,447
cpp
C++
Engine/Source/FishEditor/UI/UIGameObjectHeader.cpp
ValtoGameEngines/Fish-Engine
a4b9fb9b0a6dc202f7990e75f4b7d8d5163209d9
[ "MIT" ]
240
2017-02-17T10:08:19.000Z
2022-03-25T14:45:29.000Z
Engine/Source/FishEditor/UI/UIGameObjectHeader.cpp
ValtoGameEngines/Fish-Engine
a4b9fb9b0a6dc202f7990e75f4b7d8d5163209d9
[ "MIT" ]
2
2016-10-12T07:08:38.000Z
2017-04-05T01:56:30.000Z
Engine/Source/FishEditor/UI/UIGameObjectHeader.cpp
yushroom/FishEngine
a4b9fb9b0a6dc202f7990e75f4b7d8d5163209d9
[ "MIT" ]
39
2017-03-02T09:40:07.000Z
2021-12-04T07:28:53.000Z
#include "UIGameObjectHeader.hpp" #include "ui_UIGameObjectHeader.h" #include <FishEngine/GameObject.hpp> #include <FishEngine/LayerMask.hpp> #include <FishEngine/TagManager.hpp> #include "UIDebug.hpp" UIGameObjectHeader::UIGameObjectHeader(QWidget *parent) : QWidget(parent), ui(new Ui::UIGameObjectHeader) { ui->...
21.147239
73
0.695968
ValtoGameEngines
01dae4597e51fbaae1349b408354461803c38b19
4,852
cpp
C++
2.0/SensorPlacement.cpp
STMicroelectronics/st-mems-android-linux-sensors-hal
a12f3d9806b8851d17c331bc07acafae9dcb2d3b
[ "Apache-2.0" ]
7
2021-10-29T20:29:48.000Z
2022-03-03T01:38:45.000Z
2.0/SensorPlacement.cpp
STMicroelectronics/st-mems-android-linux-sensors-hal
a12f3d9806b8851d17c331bc07acafae9dcb2d3b
[ "Apache-2.0" ]
null
null
null
2.0/SensorPlacement.cpp
STMicroelectronics/st-mems-android-linux-sensors-hal
a12f3d9806b8851d17c331bc07acafae9dcb2d3b
[ "Apache-2.0" ]
null
null
null
/* * Copyright (C) 2018 The Android Open Source Project * Copyright (C) 2020 STMicroelectronics * * 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...
35.940741
98
0.634996
STMicroelectronics
01dcf6d7a7b9d9eb39557865ab2878023d65ec3a
1,931
cpp
C++
src/Engine/UI/ListGUI.cpp
BclEx/h3ml
acfcccbdadcffa7b2c1794393a26359ad7c8479b
[ "MIT" ]
null
null
null
src/Engine/UI/ListGUI.cpp
BclEx/h3ml
acfcccbdadcffa7b2c1794393a26359ad7c8479b
[ "MIT" ]
null
null
null
src/Engine/UI/ListGUI.cpp
BclEx/h3ml
acfcccbdadcffa7b2c1794393a26359ad7c8479b
[ "MIT" ]
null
null
null
#include "ListGUILocal.h" void ListGUILocal::StateChanged() { if (!_stateUpdates) return; int i; for (i = 0; i < Num(); i++) _gui->SetStateString(va("%s_item_%i", _name.c_str(), i), (*this)[i].c_str()); for (i = Num(); i < _water; i++) _gui->SetStateString(va("%s_item_%i", m_name.c_str(), i), ""); _water = ...
20.542553
94
0.640601
BclEx
01dea22851ce7efe9a2305c72028f7b12edadc08
5,978
hpp
C++
src/util/raft/node.hpp
vipinsun/opencbdc-tx
724f307548f92676423e98d7f2c1bfc2c66f79ef
[ "MIT" ]
1
2022-02-07T22:36:36.000Z
2022-02-07T22:36:36.000Z
src/util/raft/node.hpp
vipinsun/opencbdc-tx
724f307548f92676423e98d7f2c1bfc2c66f79ef
[ "MIT" ]
null
null
null
src/util/raft/node.hpp
vipinsun/opencbdc-tx
724f307548f92676423e98d7f2c1bfc2c66f79ef
[ "MIT" ]
null
null
null
// Copyright (c) 2021 MIT Digital Currency Initiative, // Federal Reserve Bank of Boston // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #ifndef OPENCBDC_TX_SRC_RAFT_NODE_H_ #define OPENCBDC_TX_SRC_RAFT_NODE_H...
43.007194
84
0.620442
vipinsun
01e311d5e32d8ad2ab4cf442fdd81a5f30d2f25c
781
cpp
C++
POINTMEE.cpp
Himanshu1801/codechef
100785c10f49e5200e82e68f10d7a6213b31b821
[ "Apache-2.0" ]
null
null
null
POINTMEE.cpp
Himanshu1801/codechef
100785c10f49e5200e82e68f10d7a6213b31b821
[ "Apache-2.0" ]
null
null
null
POINTMEE.cpp
Himanshu1801/codechef
100785c10f49e5200e82e68f10d7a6213b31b821
[ "Apache-2.0" ]
null
null
null
#include <bits/stdc++.h> using namespace std; int main() { int t; cin>>t; while(t--) { int n; int x[n],y[n]; int count=0,k,a,b; cin>>n; for (int i = 0; i < n; i++) { cin>>x[i]; cin>>y[i]; } for (int i = 0; i < n; i++) { if (/* condition */) ...
16.617021
36
0.289373
Himanshu1801
01e63b3d3b4f3693998e7cba41be6caf0e4e662e
6,728
cpp
C++
third_party/WebKit/Source/core/dom/custom/V0CustomElementRegistrationContext.cpp
google-ar/chromium
2441c86a5fd975f09a6c30cddb57dfb7fc239699
[ "Apache-2.0", "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
777
2017-08-29T15:15:32.000Z
2022-03-21T05:29:41.000Z
third_party/WebKit/Source/core/dom/custom/V0CustomElementRegistrationContext.cpp
harrymarkovskiy/WebARonARCore
2441c86a5fd975f09a6c30cddb57dfb7fc239699
[ "Apache-2.0", "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
66
2017-08-30T18:31:18.000Z
2021-08-02T10:59:35.000Z
third_party/WebKit/Source/core/dom/custom/V0CustomElementRegistrationContext.cpp
harrymarkovskiy/WebARonARCore
2441c86a5fd975f09a6c30cddb57dfb7fc239699
[ "Apache-2.0", "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
123
2017-08-30T01:19:34.000Z
2022-03-17T22:55:31.000Z
/* * Copyright (C) 2013 Google Inc. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * 1. Redistributions of source code must retain the above copyright * notice, this list of conditio...
36.172043
80
0.740785
google-ar
01e69ef705f15f6c4b90c8afae2b1e1ed68d18aa
5,895
cpp
C++
cpp/tools/networked-storage/main.cpp
luckiday/ndnrtc
ea224ce8d9f01d164925448c7424cf0f0caa4b07
[ "BSD-2-Clause" ]
null
null
null
cpp/tools/networked-storage/main.cpp
luckiday/ndnrtc
ea224ce8d9f01d164925448c7424cf0f0caa4b07
[ "BSD-2-Clause" ]
null
null
null
cpp/tools/networked-storage/main.cpp
luckiday/ndnrtc
ea224ce8d9f01d164925448c7424cf0f0caa4b07
[ "BSD-2-Clause" ]
null
null
null
// // main.cpp // // Created by Peter Gusev on 9 October 2018. // Copyright 2013-2018 Regents of the University of California // #include <iostream> #include <ctype.h> #include <stdio.h> #include <stdlib.h> #include <unistd.h> #include <execinfo.h> #include <boost/asio.hpp> #include <boost/asio/deadline_timer.hpp> #...
33.117978
155
0.543172
luckiday
5434c523ba9205b5e96f81960fd54474a4ec1f6d
4,893
cpp
C++
cpp/godot-cpp/src/gen/VisualScriptPropertyGet.cpp
GDNative-Gradle/proof-of-concept
162f467430760cf959f68f1638adc663fd05c5fd
[ "MIT" ]
1
2021-03-16T09:51:00.000Z
2021-03-16T09:51:00.000Z
cpp/godot-cpp/src/gen/VisualScriptPropertyGet.cpp
GDNative-Gradle/proof-of-concept
162f467430760cf959f68f1638adc663fd05c5fd
[ "MIT" ]
null
null
null
cpp/godot-cpp/src/gen/VisualScriptPropertyGet.cpp
GDNative-Gradle/proof-of-concept
162f467430760cf959f68f1638adc663fd05c5fd
[ "MIT" ]
null
null
null
#include "VisualScriptPropertyGet.hpp" #include <core/GodotGlobal.hpp> #include <core/CoreTypes.hpp> #include <core/Ref.hpp> #include <core/Godot.hpp> #include "__icalls.hpp" namespace godot { VisualScriptPropertyGet::___method_bindings VisualScriptPropertyGet::___mb = {}; void VisualScriptPropertyGet::___ini...
46.160377
227
0.816677
GDNative-Gradle
5434eb1c9eef69e0c99ae961ec0f1838d61fb243
22,097
cc
C++
gazebo/gui/model/ModelCreator.cc
hyunoklee/Gazebo
619218c0bb3dc8878b6c4dc2fddf3f7ec1d85497
[ "ECL-2.0", "Apache-2.0" ]
45
2015-07-17T10:14:22.000Z
2022-03-30T19:25:36.000Z
gazebo/gui/model/ModelCreator.cc
hyunoklee/Gazebo
619218c0bb3dc8878b6c4dc2fddf3f7ec1d85497
[ "ECL-2.0", "Apache-2.0" ]
1
2021-04-15T07:14:26.000Z
2021-04-15T07:14:26.000Z
gazebo/gui/model/ModelCreator.cc
hyunoklee/Gazebo
619218c0bb3dc8878b6c4dc2fddf3f7ec1d85497
[ "ECL-2.0", "Apache-2.0" ]
64
2015-04-18T07:10:14.000Z
2022-02-21T13:15:41.000Z
/* * Copyright 2013 Open Source Robotics Foundation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicab...
28.809648
80
0.62461
hyunoklee
54351f4440753e19b57f08ecd4efe7a84ee98cb3
1,011
cpp
C++
kakao_test_2017/A.cpp
sjnov11/Coding-Tests
8f98723f842357ee771f3842d46211bc9d92ff29
[ "MIT" ]
null
null
null
kakao_test_2017/A.cpp
sjnov11/Coding-Tests
8f98723f842357ee771f3842d46211bc9d92ff29
[ "MIT" ]
null
null
null
kakao_test_2017/A.cpp
sjnov11/Coding-Tests
8f98723f842357ee771f3842d46211bc9d92ff29
[ "MIT" ]
null
null
null
#include <iostream> #include <cstring> using namespace std; void go(int n, int arr1[], int arr2[]) { int map1[16][16], map2[16][16]; memset(map1, 0, sizeof(int) * 16 * 16); memset(map2, 0, sizeof(int) * 16 * 16); for (int i = 0; i < n; i++) { cout << "row " << i << endl; for (int j = 0; j < n; j++) { cout...
21.0625
67
0.431256
sjnov11
5436c6328408f5a3fe6c20d9842c05735a61d00d
3,406
cc
C++
old/graphics/vulkan/handle.cc
cristiandonosoc/GNTest
d90b571a7c4e42f51bb8d5dbffe48f681b9aae5e
[ "Zlib", "Unlicense", "MIT", "BSL-1.0", "BSD-4-Clause" ]
null
null
null
old/graphics/vulkan/handle.cc
cristiandonosoc/GNTest
d90b571a7c4e42f51bb8d5dbffe48f681b9aae5e
[ "Zlib", "Unlicense", "MIT", "BSL-1.0", "BSD-4-Clause" ]
null
null
null
old/graphics/vulkan/handle.cc
cristiandonosoc/GNTest
d90b571a7c4e42f51bb8d5dbffe48f681b9aae5e
[ "Zlib", "Unlicense", "MIT", "BSL-1.0", "BSD-4-Clause" ]
1
2019-06-04T04:43:24.000Z
2019-06-04T04:43:24.000Z
// Copyright 2018, Cristián Donoso. // This code has a BSD license. See LICENSE. #include "warhol/graphics/vulkan/handle.h" #include "warhol/graphics/vulkan/context.h" #include "warhol/graphics/vulkan/utils.h" namespace warhol { namespace vulkan { template <> void Handle<VkInstance>::InternalClear() { if (has_val...
25.044118
73
0.710217
cristiandonosoc
543958ce939943536c24a895401e3308fc1800ee
1,683
cc
C++
tensorflow_lite_support/cc/task/text/clu_lib/tflite_test_utils.cc
ccen-stripe/tflite-support
a92abc7eb8bd08c1fb8b26fecf394e0f8fcf3654
[ "Apache-2.0" ]
null
null
null
tensorflow_lite_support/cc/task/text/clu_lib/tflite_test_utils.cc
ccen-stripe/tflite-support
a92abc7eb8bd08c1fb8b26fecf394e0f8fcf3654
[ "Apache-2.0" ]
null
null
null
tensorflow_lite_support/cc/task/text/clu_lib/tflite_test_utils.cc
ccen-stripe/tflite-support
a92abc7eb8bd08c1fb8b26fecf394e0f8fcf3654
[ "Apache-2.0" ]
null
null
null
/* Copyright 2022 The TensorFlow 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 a...
30.6
80
0.711824
ccen-stripe
543d711f052d02af3325c57cdf30c5b549c14389
508
cc
C++
poj/2/2327.cc
eagletmt/procon
adbe503eb3c1bbcc1538b2ee8988aa353937e8d4
[ "MIT" ]
1
2015-04-17T09:54:23.000Z
2015-04-17T09:54:23.000Z
poj/2/2327.cc
eagletmt/procon
adbe503eb3c1bbcc1538b2ee8988aa353937e8d4
[ "MIT" ]
null
null
null
poj/2/2327.cc
eagletmt/procon
adbe503eb3c1bbcc1538b2ee8988aa353937e8d4
[ "MIT" ]
null
null
null
#include <cstdio> #include <vector> using namespace std; int main() { int N; while (scanf("%d", &N) != EOF && N != 0) { double Pl, Pr; scanf("%lf %lf", &Pl, &Pr); vector<double> dp(N+1, 1e10); dp[0] = 0; for (int i = 1; i <= N; i++) { for (int j = 0; j < i; j++) { const double El...
20.32
59
0.437008
eagletmt
5442027c3bbcc94269ca326ae3ff6b33d702e997
9,524
cpp
C++
2.0/SensorsDataProxyManager.cpp
STMicroelectronics/st-mems-android-linux-sensors-hal
a12f3d9806b8851d17c331bc07acafae9dcb2d3b
[ "Apache-2.0" ]
7
2021-10-29T20:29:48.000Z
2022-03-03T01:38:45.000Z
2.0/SensorsDataProxyManager.cpp
STMicroelectronics/st-mems-android-linux-sensors-hal
a12f3d9806b8851d17c331bc07acafae9dcb2d3b
[ "Apache-2.0" ]
null
null
null
2.0/SensorsDataProxyManager.cpp
STMicroelectronics/st-mems-android-linux-sensors-hal
a12f3d9806b8851d17c331bc07acafae9dcb2d3b
[ "Apache-2.0" ]
null
null
null
/* * Copyright (C) 2018 The Android Open Source Project * Copyright (C) 2020 STMicroelectronics * * 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...
29.669782
108
0.657287
STMicroelectronics
54424ca3f829733d999104dc15d838e545f5958e
11,142
cc
C++
src/Molecule_Lib/geometric_constraints.cc
IanAWatson/LillyMol-4.0-Bazel
f38f23a919c622c31280222f8a90e6ab7d871b93
[ "Apache-2.0" ]
6
2020-08-17T15:02:14.000Z
2022-01-21T19:27:56.000Z
src/Molecule_Lib/geometric_constraints.cc
IanAWatson/LillyMol-4.0-Bazel
f38f23a919c622c31280222f8a90e6ab7d871b93
[ "Apache-2.0" ]
null
null
null
src/Molecule_Lib/geometric_constraints.cc
IanAWatson/LillyMol-4.0-Bazel
f38f23a919c622c31280222f8a90e6ab7d871b93
[ "Apache-2.0" ]
null
null
null
#include "geometric_constraints.h" namespace geometric_constraints { using std::cerr; // Initialize with arbitrary values that will prevent matching anything. AllowedRange::AllowedRange() { _min_value = 1.0; _max_value = 0.0; } std::ostream& operator<< (std::ostream& output, const AllowedRange& arange) { outp...
27.109489
138
0.66532
IanAWatson
54426de9ef2b728b2868e7a5316d38c2af5cac61
974
cpp
C++
Engine/Source/Runtime/EcsFramework/Component/Camera/Old/OrthographicCamera.cpp
hebohang/HEngine
82f40797a7cfabaa11aeeb7797fba70551d18017
[ "MIT" ]
null
null
null
Engine/Source/Runtime/EcsFramework/Component/Camera/Old/OrthographicCamera.cpp
hebohang/HEngine
82f40797a7cfabaa11aeeb7797fba70551d18017
[ "MIT" ]
null
null
null
Engine/Source/Runtime/EcsFramework/Component/Camera/Old/OrthographicCamera.cpp
hebohang/HEngine
82f40797a7cfabaa11aeeb7797fba70551d18017
[ "MIT" ]
null
null
null
#include "hepch.h" #include "OrthographicCamera.h" #include <glm/gtc/matrix_transform.hpp> namespace HEngine { OrthographicCamera::OrthographicCamera(float left, float right, float bottom, float top) : mProjectionMatrix(glm::ortho(left, right, bottom, top, -1.0f, 1.0f)), mViewMatrix(1.0f) { mV...
34.785714
97
0.678645
hebohang
5444a52093a712adccddf081f06a8f4564d37db6
12,633
cpp
C++
FrameSkippingFilter.cpp
CSIR-RTVC/FrameSkippingFilter
a907161384b0bbe670dabcf2b78ad57bd348ec1b
[ "BSD-3-Clause" ]
null
null
null
FrameSkippingFilter.cpp
CSIR-RTVC/FrameSkippingFilter
a907161384b0bbe670dabcf2b78ad57bd348ec1b
[ "BSD-3-Clause" ]
null
null
null
FrameSkippingFilter.cpp
CSIR-RTVC/FrameSkippingFilter
a907161384b0bbe670dabcf2b78ad57bd348ec1b
[ "BSD-3-Clause" ]
1
2021-01-08T18:26:49.000Z
2021-01-08T18:26:49.000Z
/** @file MODULE : FrameSkippingFilter FILE NAME : FrameSkippingFilter.cpp DESCRIPTION : This filter skips a specified number of frames depending on the parameter denoted by "skipFrame" LICENSE: Software License Agreement (BSD License) Copyright (c) 2014, CSIR All rights reserved...
27.949115
204
0.675849
CSIR-RTVC
544516bca1bac9c8226de0bed344538bd0577e45
5,681
cpp
C++
Dot_Engine/src/Dot/LevelEditor/LevelEditor.cpp
Bodka0904/Dot_Engine
1db28c56eeecefaed8aa3f1d87932765d5b16dd4
[ "Apache-2.0" ]
null
null
null
Dot_Engine/src/Dot/LevelEditor/LevelEditor.cpp
Bodka0904/Dot_Engine
1db28c56eeecefaed8aa3f1d87932765d5b16dd4
[ "Apache-2.0" ]
7
2019-06-04T06:28:21.000Z
2019-06-05T05:49:55.000Z
Dot_Engine/src/Dot/LevelEditor/LevelEditor.cpp
Bodka0904/Dot_Engine
1db28c56eeecefaed8aa3f1d87932765d5b16dd4
[ "Apache-2.0" ]
null
null
null
#include "stdafx.h" #include "LevelEditor.h" #include "Dot/Renderer/RenderSystem.h" #include "Dot/Core/Input.h" #include "Dot/Core/AssetManager.h" namespace Dot { LevelEditor::LevelEditor() { m_Default = std::make_shared<DefaultUI>(); m_TerrainEditor = std::make_shared<TerrainEditorUI>(); m_DefaultID = GuiApp...
45.448
219
0.655694
Bodka0904
5445d64b96580e2ea8b77dda8289c0189275a2f2
3,615
cpp
C++
Arduino/oneM2M/examples/ThingPlug_oneM2M_SDK/src/SRA/GetTime.cpp
SKT-ThingPlug/thingplug-device-sdk-C
fcb12ee172265f882787cc993bd6c5bbe9d876cf
[ "Apache-2.0" ]
9
2017-06-14T11:19:09.000Z
2020-04-11T08:01:06.000Z
Arduino/oneM2M/examples/ThingPlug_oneM2M_SDK/src/SRA/GetTime.cpp
SKT-ThingPlug/thingplug-device-sdk-C
fcb12ee172265f882787cc993bd6c5bbe9d876cf
[ "Apache-2.0" ]
null
null
null
Arduino/oneM2M/examples/ThingPlug_oneM2M_SDK/src/SRA/GetTime.cpp
SKT-ThingPlug/thingplug-device-sdk-C
fcb12ee172265f882787cc993bd6c5bbe9d876cf
[ "Apache-2.0" ]
15
2017-04-17T00:17:20.000Z
2021-06-26T04:12:39.000Z
/** * @file getTime.cpp * * @brief Arduino get Time API * * Copyright (C) 2016. SPTek,All Rights Reserved. * Written 2016,by SPTek */ #include <Arduino.h> #include <SPI.h> #include <Ethernet.h> #include <EthernetUdp.h> #include <TimeLib.h> #include "GetTime.h" EthernetUDP Udp; unsigned int localPort = 8888; ...
26.386861
84
0.636515
SKT-ThingPlug
544883955e804df11c3ec0c3d75b36934ff48805
3,592
cpp
C++
modules/voting/voting.cpp
Clyde-Beep/sporks-test
c760d68c23a12dcc5c1a48ee0fc5e26c344f5c07
[ "Apache-2.0" ]
null
null
null
modules/voting/voting.cpp
Clyde-Beep/sporks-test
c760d68c23a12dcc5c1a48ee0fc5e26c344f5c07
[ "Apache-2.0" ]
null
null
null
modules/voting/voting.cpp
Clyde-Beep/sporks-test
c760d68c23a12dcc5c1a48ee0fc5e26c344f5c07
[ "Apache-2.0" ]
null
null
null
/************************************************************************************ * * Sporks, the learning, scriptable Discord bot! * * Copyright 2019 Craig Edwards <support@sporks.gg> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with t...
35.564356
146
0.639477
Clyde-Beep
5448b945fb8e76168c988f03baf438ae659f8164
45,905
cpp
C++
hookflash-core/core/hookflash/stack/cpp/stack_PeerFilePrivate.cpp
ilin-in/OP
bf3e87d90008e2a4106ee70360fbe15b0d694e77
[ "Unlicense" ]
1
2020-02-19T09:55:55.000Z
2020-02-19T09:55:55.000Z
hookflash-core/core/hookflash/stack/cpp/stack_PeerFilePrivate.cpp
ilin-in/OP
bf3e87d90008e2a4106ee70360fbe15b0d694e77
[ "Unlicense" ]
null
null
null
hookflash-core/core/hookflash/stack/cpp/stack_PeerFilePrivate.cpp
ilin-in/OP
bf3e87d90008e2a4106ee70360fbe15b0d694e77
[ "Unlicense" ]
null
null
null
/* Copyright (c) 2012, SMB Phone Inc. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the ...
40.373791
181
0.564078
ilin-in
544a45e9ba7d9dedbdacaf31bca8f2dd4a89b1bc
3,641
cpp
C++
Project/jsonHandler.cpp
Wasdns/Deputy
d59301f22bbea60da4ba7aa0076e1eabbf2756b4
[ "Apache-2.0" ]
null
null
null
Project/jsonHandler.cpp
Wasdns/Deputy
d59301f22bbea60da4ba7aa0076e1eabbf2756b4
[ "Apache-2.0" ]
null
null
null
Project/jsonHandler.cpp
Wasdns/Deputy
d59301f22bbea60da4ba7aa0076e1eabbf2756b4
[ "Apache-2.0" ]
null
null
null
#include <stdlib.h> #include <fstream> #include <iostream> #include <jsoncpp/json/json.h> #include "definition.h" #include "jsonHandler.h" using namespace std; extern students student[310]; extern departments department[25]; extern addmitted addmitted_department[25]; /* * Function Name: processJSON * Used to pro...
32.221239
105
0.691843
Wasdns
544af50cfdbbf197a44da8d367117dfb3fb8cf87
15,531
cc
C++
Launchers/RunP2PAlgo.cc
LBNL-UCB-STI/routing-framework
8dc1f5c008384051132bf5819056584700623417
[ "MIT" ]
32
2017-11-11T15:19:57.000Z
2021-11-16T04:41:54.000Z
Launchers/RunP2PAlgo.cc
kirilsol/routing-framework
80026caeddf84ef939742f33fcc69e865c51dbeb
[ "MIT" ]
1
2020-05-17T07:21:56.000Z
2020-05-17T07:21:56.000Z
Launchers/RunP2PAlgo.cc
kirilsol/routing-framework
80026caeddf84ef939742f33fcc69e865c51dbeb
[ "MIT" ]
10
2017-10-17T01:34:09.000Z
2022-02-10T06:19:30.000Z
#include <chrono> #include <cstdint> #include <cstdlib> #include <fstream> #include <iostream> #include <stdexcept> #include <string> #include <vector> #include <csv.h> #include <routingkit/nested_dissection.h> #include "Algorithms/CCH/CCH.h" #include "Algorithms/CCH/CCHMetric.h" #include "Algorithms/CCH/EliminationT...
38.253695
98
0.652437
LBNL-UCB-STI
544b77d96f7fff2b482d1abc1c2720a9f259ee1c
202
cpp
C++
qtglgame/mainwindow.cpp
Darkness-ua/cube-labyrinth-game
3b0b8971e20dfb17a63fb21e08c61f5d2b4c85b2
[ "Unlicense" ]
null
null
null
qtglgame/mainwindow.cpp
Darkness-ua/cube-labyrinth-game
3b0b8971e20dfb17a63fb21e08c61f5d2b4c85b2
[ "Unlicense" ]
null
null
null
qtglgame/mainwindow.cpp
Darkness-ua/cube-labyrinth-game
3b0b8971e20dfb17a63fb21e08c61f5d2b4c85b2
[ "Unlicense" ]
null
null
null
#include <iostream> #include "mainwindow.h" #include "window.h" using namespace std; MainWindow::MainWindow() { setWindowTitle(tr("QT GLGame")); setCentralWidget(new Window(this)); }
10.631579
39
0.678218
Darkness-ua
544c6659570a114807c6baf19bf6fe201eb2f5b6
6,079
cpp
C++
ort/cv/ssd_mobilenetv1.cpp
Imudassir77/lite.ai.toolkit
3b62ccfea7d3b9f8e010b08a5092a798bc45cf56
[ "MIT" ]
1
2021-08-09T09:13:49.000Z
2021-08-09T09:13:49.000Z
ort/cv/ssd_mobilenetv1.cpp
Imudassir77/lite.ai.toolkit
3b62ccfea7d3b9f8e010b08a5092a798bc45cf56
[ "MIT" ]
null
null
null
ort/cv/ssd_mobilenetv1.cpp
Imudassir77/lite.ai.toolkit
3b62ccfea7d3b9f8e010b08a5092a798bc45cf56
[ "MIT" ]
1
2021-08-10T03:58:55.000Z
2021-08-10T03:58:55.000Z
// // Created by DefTruth on 2021/6/5. // #include "ssd_mobilenetv1.h" #include "ort/core/ort_utils.h" using ortcv::SSDMobileNetV1; SSDMobileNetV1::SSDMobileNetV1(const std::string &_onnx_path, unsigned int _num_threads) : log_id(_onnx_path.data()), num_threads(_num_threads) { #ifdef LITE_WIN32 std::wstring _w...
30.243781
97
0.645007
Imudassir77
544d342b8f19e6d2d4bcc3802decf00f46005130
566
hpp
C++
cannon/utils/class_forward.hpp
cannontwo/cannon
4be79f3a6200d1a3cd26c28c8f2250dbdf08f267
[ "MIT" ]
null
null
null
cannon/utils/class_forward.hpp
cannontwo/cannon
4be79f3a6200d1a3cd26c28c8f2250dbdf08f267
[ "MIT" ]
46
2021-01-12T23:03:52.000Z
2021-10-01T17:29:01.000Z
cannon/utils/class_forward.hpp
cannontwo/cannon
4be79f3a6200d1a3cd26c28c8f2250dbdf08f267
[ "MIT" ]
null
null
null
#pragma once #ifndef CANNON_UTILS_CLASS_FORWARD_H #define CANNON_UTILS_CLASS_FORWARD_H /*! * \file cannon/utils/class_forward.hpp * \brief File containing class forward macro. */ #include <memory> /*! * \def CANNON_CLASS_FORWARD * \brief Macro that forward declares a class, <Class>Ptr, <Class>ConstPtr. */ #de...
25.727273
75
0.651943
cannontwo
544da4164e82942921678c6efe91b09e5dbe30fc
3,877
cpp
C++
c++/src/algo/winmask/seq_masker_ostat_ascii.cpp
OpenHero/gblastn
a0d6c1c288fe916ab85fc637a44cdd6e79ebd2a8
[ "MIT" ]
31
2016-12-09T04:56:59.000Z
2021-12-31T17:19:10.000Z
c++/src/algo/winmask/seq_masker_ostat_ascii.cpp
OpenHero/gblastn
a0d6c1c288fe916ab85fc637a44cdd6e79ebd2a8
[ "MIT" ]
6
2017-03-10T17:25:13.000Z
2021-09-22T15:49:49.000Z
c++/src/algo/winmask/seq_masker_ostat_ascii.cpp
OpenHero/gblastn
a0d6c1c288fe916ab85fc637a44cdd6e79ebd2a8
[ "MIT" ]
20
2015-01-04T02:15:17.000Z
2021-12-03T02:31:43.000Z
/* $Id: seq_masker_ostat_ascii.cpp 183994 2010-02-23 20:20:11Z morgulis $ * =========================================================================== * * PUBLIC DOMAIN NOTICE * National Center for Biotechnology Information * * This software/database is a "United States...
36.92381
80
0.522569
OpenHero
544f44564b1242558cae6856ed2a55fe46627295
1,573
cpp
C++
1]. DSA/2]. Algorithms/02]. Sorting Algorithms/C++/_1)_Merge Sort On 2 Linked Lists.cpp
MLinesCode/The-Complete-FAANG-Preparation
2d0c7e8940eb2a58caaf4e978e548c08dd1f9a52
[ "MIT" ]
6,969
2021-05-29T11:38:30.000Z
2022-03-31T19:31:49.000Z
1]. DSA/2]. Algorithms/02]. Sorting Algorithms/C++/_1)_Merge Sort On 2 Linked Lists.cpp
MLinesCode/The-Complete-FAANG-Preparation
2d0c7e8940eb2a58caaf4e978e548c08dd1f9a52
[ "MIT" ]
75
2021-06-15T07:59:43.000Z
2022-02-22T14:21:52.000Z
1]. DSA/2]. Algorithms/02]. Sorting Algorithms/C++/_1)_Merge Sort On 2 Linked Lists.cpp
MLinesCode/The-Complete-FAANG-Preparation
2d0c7e8940eb2a58caaf4e978e548c08dd1f9a52
[ "MIT" ]
1,524
2021-05-29T16:03:36.000Z
2022-03-31T17:46:13.000Z
#include<iostream> using namespace std; class node{ public: int data; node* next; node(int d){ data=d; next=NULL; } }; void insertatend(node*&head,int d){ if(head==NULL){ head= new node(d); return; } node *n=new node(d); node* temp=head; while(temp...
18.08046
40
0.516847
MLinesCode
544f9984d5a43d4550d1c6589d487b50b95e9c90
11,503
cpp
C++
src/DSArray/src/DSArray.cpp
haraisao/OpenHRI_Audio
473ec87855de35afef9eccb411bfe6ecf069be37
[ "MIT" ]
1
2020-03-30T03:00:08.000Z
2020-03-30T03:00:08.000Z
src/DSArray/src/DSArray.cpp
haraisao/OpenHRI_Audio
473ec87855de35afef9eccb411bfe6ecf069be37
[ "MIT" ]
null
null
null
src/DSArray/src/DSArray.cpp
haraisao/OpenHRI_Audio
473ec87855de35afef9eccb411bfe6ecf069be37
[ "MIT" ]
1
2020-03-30T03:02:09.000Z
2020-03-30T03:02:09.000Z
// -*- C++ -*- /*! * @file DSArray.cpp * @author Isao Hara(isao-hara@aist.go.jp) * * Copyright (C) * All rights reserved. * */ #include "DSArray.h" // use speex's internal fft functions extern "C" { void *spx_fft_init(int size); void spx_fft_destroy(void *table); void spx_fft_float(void *table, flo...
24.115304
184
0.545249
haraisao
54516c9b4b8be7b382d990a59303084266303a4e
29,680
cpp
C++
parser/parser.cpp
rdffg/bcaa_importer
f92e0b39673b5c557540154d4567c53a15adadcd
[ "Apache-2.0" ]
null
null
null
parser/parser.cpp
rdffg/bcaa_importer
f92e0b39673b5c557540154d4567c53a15adadcd
[ "Apache-2.0" ]
2
2019-05-07T22:49:31.000Z
2021-08-20T20:03:53.000Z
parser/parser.cpp
rdffg/bcaa_importer
f92e0b39673b5c557540154d4567c53a15adadcd
[ "Apache-2.0" ]
null
null
null
#include <string.h> #include <fstream> #include "parser.h" #include "DataAdvice-pimpl.h" #include "DataAdvice-pskel.h" #include "model/dataadvice.h" #include "runtypeparser.h" #include <QApplication> #include <QFileInfo> #include <QDebug> #include "QDjango.h" #include "saveerror.h" Parser::Parser(QString filePath, QOb...
41.980198
138
0.519474
rdffg
5451aa66c0eca9573d252c8fd44441d31c5295f9
1,351
cpp
C++
QtChartsDemo/PieChart/widget.cpp
mahuifa/QMDemo
430844c0167c7374550c6133b38c5e8485f506d6
[ "Apache-2.0" ]
null
null
null
QtChartsDemo/PieChart/widget.cpp
mahuifa/QMDemo
430844c0167c7374550c6133b38c5e8485f506d6
[ "Apache-2.0" ]
null
null
null
QtChartsDemo/PieChart/widget.cpp
mahuifa/QMDemo
430844c0167c7374550c6133b38c5e8485f506d6
[ "Apache-2.0" ]
null
null
null
#include "widget.h" #include <QPieSeries> QT_CHARTS_USE_NAMESPACE // 引入命名空间,必须放在ui_widget.h前 #include "ui_widget.h" Widget::Widget(QWidget *parent) : QWidget(parent) , ui(new Ui::Widget) { ui->setupUi(this); this->setWindowTitle("QtCharts绘图-饼图Demo"); initChart(); } Widget::~Widget() { dele...
30.022222
100
0.571429
mahuifa
54523956a8077c86a3c7c26a0225ee22dcaf5ffb
551
cpp
C++
EquilibriumPointInArray/main.cpp
Kapil706/GeeksForGeeks.Cpp-
3251fe2caf29e485656626d758058bd968e50ae1
[ "MIT" ]
1
2019-07-31T16:47:51.000Z
2019-07-31T16:47:51.000Z
EquilibriumPointInArray/main.cpp
Kapil706/GeeksForGeeks.Cpp-
3251fe2caf29e485656626d758058bd968e50ae1
[ "MIT" ]
null
null
null
EquilibriumPointInArray/main.cpp
Kapil706/GeeksForGeeks.Cpp-
3251fe2caf29e485656626d758058bd968e50ae1
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; int EqPoint(int arr[],int n){ int sum=0; for(int i=0;i<n;i++){ sum += arr[i]; } int l_sum=0; for(int i=0;i<n;i++){ if(l_sum==sum-arr[i]){ return i+1; } l_sum += arr[i]; sum -= arr[i]; } ...
8.746032
42
0.395644
Kapil706
5454c944abe007f82b0e3871a02707b18b713dd0
457
hpp
C++
core/world/filter/Filter.hpp
PlatformerTeam/mad
8768e3127a0659f1d831dcb6c96ba2bb71c30795
[ "MIT" ]
2
2022-02-21T08:23:02.000Z
2022-03-17T10:01:40.000Z
core/world/filter/Filter.hpp
PlatformerTeam/mad
8768e3127a0659f1d831dcb6c96ba2bb71c30795
[ "MIT" ]
43
2022-02-21T13:07:08.000Z
2022-03-22T11:02:16.000Z
core/world/filter/Filter.hpp
PlatformerTeam/mad
8768e3127a0659f1d831dcb6c96ba2bb71c30795
[ "MIT" ]
null
null
null
#ifndef MAD_CORE_WORLD_FILTER_FILTER_HPP #define MAD_CORE_WORLD_FILTER_FILTER_HPP #include <world/entity/Entity.hpp> #include <memory> #include <vector> namespace mad::core { struct Filter { enum class Type { Id, True }; explicit Filter(Type new_type) : type(new...
15.233333
57
0.621444
PlatformerTeam
5457dd67633d2d84e3c2f7bd495184dbb65e145b
5,683
cpp
C++
addons/support/config.cpp
Krzyciu/A3CS
b7144fc9089b5ded6e37cc1fad79b1c2879521be
[ "MIT" ]
1
2020-06-07T00:45:49.000Z
2020-06-07T00:45:49.000Z
addons/support/config.cpp
Krzyciu/A3CS
b7144fc9089b5ded6e37cc1fad79b1c2879521be
[ "MIT" ]
27
2020-05-24T11:09:56.000Z
2020-05-25T12:28:10.000Z
addons/support/config.cpp
Krzyciu/A3CS
b7144fc9089b5ded6e37cc1fad79b1c2879521be
[ "MIT" ]
2
2020-05-31T08:52:45.000Z
2021-04-16T23:16:37.000Z
#include "script_component.hpp" class CfgPatches { class ADDON { name = COMPONENT_NAME; units[] = {}; weapons[] = {}; requiredVersion = REQUIRED_VERSION; requiredAddons[] = {"a3cs_common", "A3_Ui_F"}; author = ECSTRING(main,Author); authors[] = {"SzwedzikPL"...
47.756303
138
0.575224
Krzyciu
5459e92dbd7eae9afe87f31967020dba55bfc527
5,131
hxx
C++
opencascade/ShapeUpgrade.hxx
valgur/OCP
2f7d9da73a08e4ffe80883614aedacb27351134f
[ "Apache-2.0" ]
117
2020-03-07T12:07:05.000Z
2022-03-27T07:35:22.000Z
opencascade/ShapeUpgrade.hxx
CadQuery/cpp-py-bindgen
66e7376d3a27444393fc99acbdbef40bbc7031ae
[ "Apache-2.0" ]
66
2019-12-20T16:07:36.000Z
2022-03-15T21:56:10.000Z
opencascade/ShapeUpgrade.hxx
CadQuery/cpp-py-bindgen
66e7376d3a27444393fc99acbdbef40bbc7031ae
[ "Apache-2.0" ]
76
2020-03-16T01:47:46.000Z
2022-03-21T16:37:07.000Z
// Created on: 1998-06-03 // Created by: data exchange team // Copyright (c) 1998-1999 Matra Datavision // Copyright (c) 1999-2014 OPEN CASCADE SAS // // This file is part of Open CASCADE Technology software library. // // This library is free software; you can redistribute it and/or modify it under // the terms of the...
34.668919
169
0.846619
valgur