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
ab02d39d6b68c4af06fc1427a4f339961cd54097
1,120
hpp
C++
willow/include/popart/popx/op/basesortx.hpp
gglin001/popart
3225214343f6d98550b6620e809a3544e8bcbfc6
[ "MIT" ]
61
2020-07-06T17:11:46.000Z
2022-03-12T14:42:51.000Z
willow/include/popart/popx/op/basesortx.hpp
gglin001/popart
3225214343f6d98550b6620e809a3544e8bcbfc6
[ "MIT" ]
1
2021-02-25T01:30:29.000Z
2021-11-09T11:13:14.000Z
willow/include/popart/popx/op/basesortx.hpp
gglin001/popart
3225214343f6d98550b6620e809a3544e8bcbfc6
[ "MIT" ]
6
2020-07-15T12:33:13.000Z
2021-11-07T06:55:00.000Z
// Copyright (c) 2019 Graphcore Ltd. All rights reserved. #ifndef GUARD_NEURALNET_BASESORTX_HPP #define GUARD_NEURALNET_BASESORTX_HPP #include <popart/names.hpp> #include <popart/popx/popopx.hpp> namespace popart { namespace popx { struct FullSortResult { FullSortResult(snap::Tensor indices_, snap::Tensor values...
23.829787
73
0.736607
gglin001
ab0d02a9b6ab1bdaeeee0cde50d0d4e433aed821
2,913
cc
C++
src/transforms/identity.cc
Samsung/veles.sound_feature_extraction-
56b7c5d3816d092c72a874ca236e889fe843e6cd
[ "Apache-2.0" ]
31
2015-11-10T06:06:47.000Z
2021-02-28T04:54:17.000Z
src/transforms/identity.cc
Samsung/veles.sound_feature_extraction-
56b7c5d3816d092c72a874ca236e889fe843e6cd
[ "Apache-2.0" ]
null
null
null
src/transforms/identity.cc
Samsung/veles.sound_feature_extraction-
56b7c5d3816d092c72a874ca236e889fe843e6cd
[ "Apache-2.0" ]
17
2015-08-08T20:28:49.000Z
2021-04-15T01:03:47.000Z
/*! @file identity.cc * @brief Just copies the input. * @author Markovtsev Vadim <v.markovtsev@samsung.com> * @version 1.0 * * @section Notes * This code partially conforms to <a href="http://google-styleguide.googlecode.com/svn/trunk/cppguide.xml">Google C++ Style Guide</a>. * * @section Copyright * Co...
28.841584
136
0.734638
Samsung
ab0d86246024ed20f7a2fe9fc57e9814b50dbd40
1,464
cpp
C++
1679.cpp
Valarr/Uri
807de771b14b0e60d44b23835ad9ee7423c83471
[ "MIT" ]
null
null
null
1679.cpp
Valarr/Uri
807de771b14b0e60d44b23835ad9ee7423c83471
[ "MIT" ]
null
null
null
1679.cpp
Valarr/Uri
807de771b14b0e60d44b23835ad9ee7423c83471
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; int main() { double mass_water, mass_ice, temp_water, temp_ice, mass; double energy, temp, ice_energy, water_energy; double toIce, transition, toWater; scanf("%lf %lf %lf %lf", &mass_water, &mass_ice, &temp_water, &temp_ice); while ((mass_water != 0) || (mass_ice != ...
30.5
117
0.633197
Valarr
ab0e97ba3daf998018a2c7e9bd98757c07e985ba
84
cpp
C++
engine/backends/vulkan/libs/vk_mem_alloc_impl.cpp
Apache-HB/Benzene
0909370eeb09682f4af871b4c0d74b497963bfc8
[ "MIT" ]
null
null
null
engine/backends/vulkan/libs/vk_mem_alloc_impl.cpp
Apache-HB/Benzene
0909370eeb09682f4af871b4c0d74b497963bfc8
[ "MIT" ]
null
null
null
engine/backends/vulkan/libs/vk_mem_alloc_impl.cpp
Apache-HB/Benzene
0909370eeb09682f4af871b4c0d74b497963bfc8
[ "MIT" ]
1
2020-04-12T18:52:20.000Z
2020-04-12T18:52:20.000Z
#define VMA_IMPLEMENTATION #define VMA_HPP_NAMESPACE vma #include "vk_mem_alloc.hpp"
28
29
0.857143
Apache-HB
ab0ea9f2184bf1ca70f9204e317aa78c204e3eee
5,099
cc
C++
ui/gfx/geometry/matrix3_f.cc
sarang-apps/darshan_browser
173649bb8a7c656dc60784d19e7bb73e07c20daa
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
ui/gfx/geometry/matrix3_f.cc
sarang-apps/darshan_browser
173649bb8a7c656dc60784d19e7bb73e07c20daa
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
ui/gfx/geometry/matrix3_f.cc
sarang-apps/darshan_browser
173649bb8a7c656dc60784d19e7bb73e07c20daa
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
// Copyright (c) 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. #include "ui/gfx/geometry/matrix3_f.h" #include <algorithm> #include <cmath> #include <limits> #include "base/numerics/math_constants.h" #include "b...
28.486034
78
0.61365
sarang-apps
ab0eaecf5f6d794032345318a7df1c5a43406c11
194
cpp
C++
Second Year (2013-2014)/AP8/TP1/src/Exo5.cpp
tompo-andri/IUT
0b0c2d1c572858c552b711d15410e513f6ad848c
[ "MIT" ]
1
2015-04-29T01:08:47.000Z
2015-04-29T01:08:47.000Z
Second Year (2013-2014)/AP8/TP1/src/Exo5.cpp
tompo-andri/IUT
0b0c2d1c572858c552b711d15410e513f6ad848c
[ "MIT" ]
null
null
null
Second Year (2013-2014)/AP8/TP1/src/Exo5.cpp
tompo-andri/IUT
0b0c2d1c572858c552b711d15410e513f6ad848c
[ "MIT" ]
null
null
null
//Include its Exo5.h #include "Exo5.h" /** * The main method, here it'll just display "Ca marche!" */ int main() { //Redirect the output to the displays cout << "Coucou! Tu veux ... \n"; }
17.636364
56
0.623711
tompo-andri
ab101573c1620ad335809ee1c7f27afdeab4d3d8
596
cpp
C++
Project1/Collision.cpp
RyunosukeKawakami/SlimeHunter
bf9c496fefc59bb68756249400ac9cba253597be
[ "IJG", "Unlicense" ]
null
null
null
Project1/Collision.cpp
RyunosukeKawakami/SlimeHunter
bf9c496fefc59bb68756249400ac9cba253597be
[ "IJG", "Unlicense" ]
null
null
null
Project1/Collision.cpp
RyunosukeKawakami/SlimeHunter
bf9c496fefc59bb68756249400ac9cba253597be
[ "IJG", "Unlicense" ]
null
null
null
#include "Collision.h" Collision::Collision() { } Collision::~Collision() { } bool Collision::Main(Point a, Point b) { if (Distance(a,b)) return Temp(a,b); else return false; } bool Collision::Distance(Point a, Point b) { bool x; bool y; x = a.x - 32 * 4 < b.x < a.x + 32 * 4; y = a.y - 32 * 4 < b.y < a.y...
12.956522
42
0.545302
RyunosukeKawakami
ab10bd5c0732e1722c4006bc273db064da6a9182
17,330
cc
C++
third_party/blink/renderer/core/html/forms/html_select_element_test.cc
zipated/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
2,151
2020-04-18T07:31:17.000Z
2022-03-31T08:39:18.000Z
third_party/blink/renderer/core/html/forms/html_select_element_test.cc
cangulcan/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
395
2020-04-18T08:22:18.000Z
2021-12-08T13:04:49.000Z
third_party/blink/renderer/core/html/forms/html_select_element_test.cc
cangulcan/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
338
2020-04-18T08:03:10.000Z
2022-03-29T12:33:22.000Z
// Copyright 2014 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 "third_party/blink/renderer/core/html/forms/html_select_element.h" #include <memory> #include "testing/gtest/include/gtest/gtest.h" #include "th...
38.769575
80
0.683843
zipated
ab123d3b8e48d022e5d60dace108b07dc6866392
2,382
cc
C++
CondTools/DQM/src/DQMSummarySourceHandler.cc
nistefan/cmssw
ea13af97f7f2117a4f590a5e654e06ecd9825a5b
[ "Apache-2.0" ]
3
2018-08-24T19:10:26.000Z
2019-02-19T11:45:32.000Z
CondTools/DQM/src/DQMSummarySourceHandler.cc
nistefan/cmssw
ea13af97f7f2117a4f590a5e654e06ecd9825a5b
[ "Apache-2.0" ]
3
2018-08-23T13:40:24.000Z
2019-12-05T21:16:03.000Z
CondTools/DQM/src/DQMSummarySourceHandler.cc
nistefan/cmssw
ea13af97f7f2117a4f590a5e654e06ecd9825a5b
[ "Apache-2.0" ]
5
2018-08-21T16:37:52.000Z
2020-01-09T13:33:17.000Z
#include "CondTools/DQM/interface/DQMSummarySourceHandler.h" #include "FWCore/MessageLogger/interface/MessageLogger.h" #include "FWCore/ParameterSet/interface/ParameterSet.h" #include "FWCore/ParameterSet/interface/ParameterSetfwd.h" #include "CondTools/DQM/interface/DQMSummaryReader.h" #include <iostream> #include <st...
47.64
111
0.677162
nistefan
ab1321bb924c0c4163be90d2c196ba4de3f9fa17
1,572
cpp
C++
src/platform/opengl/graphics_gl_context.cpp
104-Berlin/usk-graphics
537dd48aa354b18b68424120a3aa64a246fefaf6
[ "MIT" ]
null
null
null
src/platform/opengl/graphics_gl_context.cpp
104-Berlin/usk-graphics
537dd48aa354b18b68424120a3aa64a246fefaf6
[ "MIT" ]
null
null
null
src/platform/opengl/graphics_gl_context.cpp
104-Berlin/usk-graphics
537dd48aa354b18b68424120a3aa64a246fefaf6
[ "MIT" ]
null
null
null
#include "graphics_opengl.h" using namespace GL; void GLContext::Init(void* initData) { if (!initData) { printf("Please provide the GLADloadproc to the OpenGL context init"); return; } int gladStatus = gladLoadGLLoader((GLADloadproc)initData); printf("Glad Init Status: %d\n", gladStatus); printf("%s...
32.75
106
0.73028
104-Berlin
ab1b41fc425059e49a59526fcc3ee6e4b776a49b
28,467
cxx
C++
src/libserver/symcache/symcache_impl.cxx
msuslu/rspamd
95764f816a9e1251a755c6edad339637345cfe28
[ "Apache-2.0" ]
null
null
null
src/libserver/symcache/symcache_impl.cxx
msuslu/rspamd
95764f816a9e1251a755c6edad339637345cfe28
[ "Apache-2.0" ]
null
null
null
src/libserver/symcache/symcache_impl.cxx
msuslu/rspamd
95764f816a9e1251a755c6edad339637345cfe28
[ "Apache-2.0" ]
null
null
null
/*- * Copyright 2022 Vsevolod Stakhov * * 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...
26.779868
118
0.661503
msuslu
ab1b8301418a0b1b6cbae42c16a3be59a6e4bb84
5,425
cc
C++
Project2/core/utils/process_utils.cc
AndrewSpano/Systems-Programming
a26834072a324a1e0e251afa8c799bc937291e42
[ "MIT" ]
2
2021-08-05T19:10:27.000Z
2021-08-06T14:51:50.000Z
Project2/core/utils/process_utils.cc
AndrewSpano/Systems-Programming
a26834072a324a1e0e251afa8c799bc937291e42
[ "MIT" ]
null
null
null
Project2/core/utils/process_utils.cc
AndrewSpano/Systems-Programming
a26834072a324a1e0e251afa8c799bc937291e42
[ "MIT" ]
null
null
null
#include <cstring> #include <unistd.h> #include <fcntl.h> #include <sys/stat.h> #include <sys/types.h> #include <poll.h> #include <dirent.h> #include <csignal> #include "../../include/utils/process_utils.hpp" #include "../../include/utils/parsing.hpp" void process_utils::travel_monitor::_create_pipe(char** named_pip...
31.178161
146
0.646267
AndrewSpano
ab1dc4e6454038b4ccff155e208246910064f794
574
cpp
C++
Lab4/Integrals/Integrals/PolynomialThirdDegree.cpp
ladaegorova18/CalculationMethods
7b1967cbaf0d6d6a8e744e99160f41138d40fe52
[ "Apache-2.0" ]
1
2021-09-01T20:24:35.000Z
2021-09-01T20:24:35.000Z
Lab4/Integrals/Integrals/PolynomialThirdDegree.cpp
ladaegorova18/CalculationMethods
7b1967cbaf0d6d6a8e744e99160f41138d40fe52
[ "Apache-2.0" ]
null
null
null
Lab4/Integrals/Integrals/PolynomialThirdDegree.cpp
ladaegorova18/CalculationMethods
7b1967cbaf0d6d6a8e744e99160f41138d40fe52
[ "Apache-2.0" ]
null
null
null
#include "PolynomialThirdDegree.h" #include <cmath> double PolynomialThirdDegree::func(double x) { return pow(x, 3) * (-17) + 0.3 * pow(x, 2) - x + 5; } double PolynomialThirdDegree::integral(double x) { return pow(x, 4) * (-4.25) + pow(x, 3) * 0.1 - pow(x, 2) / 2 + 5 * x; } double PolynomialTh...
21.259259
75
0.609756
ladaegorova18
ab1e8e2ac93fd1c6f85770db9e0c6fde10217450
27,604
hh
C++
dune/fem/oseen/modeldefault.hh
renemilk/DUNE-FEM-Oseen
2cc2a1a70f81469f13a2330be285960a13f78fdf
[ "BSD-2-Clause" ]
null
null
null
dune/fem/oseen/modeldefault.hh
renemilk/DUNE-FEM-Oseen
2cc2a1a70f81469f13a2330be285960a13f78fdf
[ "BSD-2-Clause" ]
null
null
null
dune/fem/oseen/modeldefault.hh
renemilk/DUNE-FEM-Oseen
2cc2a1a70f81469f13a2330be285960a13f78fdf
[ "BSD-2-Clause" ]
null
null
null
#ifndef MODELDEFAULT_HH #define MODELDEFAULT_HH #include <dune/common/fvector.hh> #include <dune/fem/function/adaptivefunction/adaptivefunction.hh> #include <dune/fem/space/dgspace.hh> #include <dune/fem/oseen/functionspacewrapper.hh> #include <dune/fem/oseen/boundaryinfo.hh> #include <dune/fem/oseen/stab_coeff.hh> ...
45.104575
191
0.528438
renemilk
ab20485e646e88acf9173125f322bcfdf5889021
1,228
cpp
C++
src/Shaders/SunShader.cpp
jaafersheriff/Clouds
00de0a33f6e6fe43c3287de5cba9228c70693110
[ "MIT" ]
6
2019-06-30T20:20:52.000Z
2022-01-07T06:31:18.000Z
src/Shaders/SunShader.cpp
jaafersheriff/Clouds
00de0a33f6e6fe43c3287de5cba9228c70693110
[ "MIT" ]
null
null
null
src/Shaders/SunShader.cpp
jaafersheriff/Clouds
00de0a33f6e6fe43c3287de5cba9228c70693110
[ "MIT" ]
3
2020-10-08T16:37:07.000Z
2022-01-07T06:31:22.000Z
#include "SunShader.hpp" #include "Sun.hpp" #include "Camera.hpp" #include "Library.hpp" void SunShader::render() { /* Bind shader */ bind(); /* Bind sun params */ loadVector(getUniform("center"), Sun::position); loadVector(getUniform("innerColor"), Sun::innerColor); loadFloat(getUniform("inn...
27.909091
65
0.614821
jaafersheriff
ab21554e50c831173b7ce7242a133a06b6c51146
2,438
cpp
C++
Sample/Sample_WebSocketSvr/timer/TimerMgr.cpp
sherry0319/YTSvrLib
5dda75aba927c4bf5c6a727592660bfc2619a063
[ "MIT" ]
61
2016-10-13T09:24:31.000Z
2022-03-26T09:59:34.000Z
Sample/Sample_WebSocketSvr/timer/TimerMgr.cpp
sherry0319/YTSvrLib
5dda75aba927c4bf5c6a727592660bfc2619a063
[ "MIT" ]
3
2018-05-15T10:42:22.000Z
2021-07-02T01:38:08.000Z
Sample/Sample_WebSocketSvr/timer/TimerMgr.cpp
sherry0319/YTSvrLib
5dda75aba927c4bf5c6a727592660bfc2619a063
[ "MIT" ]
36
2016-12-28T04:54:41.000Z
2021-12-15T06:02:56.000Z
#include "stdafx.h" #include "TimerMgr.h" void CTimerMgr::SetEvent() { YTSvrLib::CServerApplication::GetInstance()->SetEvent(EAppEvent::eAppTimerMgrOnTimer); } CTimerMgr::CTimerMgr(void) { m_tNow = time32(); SYSTEMTIME st; GetLocalTime(&st); m_nToday = st.wYear * 10000 + st.wMonth * 100 + st.wDay; m_wCurday = ...
23.669903
204
0.669811
sherry0319
ab27843e229041bce81786310cdefe9370255e88
2,065
cc
C++
components/sync/engine/attachments/fake_attachment_uploader_unittest.cc
metux/chromium-deb
3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
components/sync/engine/attachments/fake_attachment_uploader_unittest.cc
metux/chromium-deb
3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
components/sync/engine/attachments/fake_attachment_uploader_unittest.cc
metux/chromium-deb
3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
// Copyright 2014 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 "components/sync/engine/attachments/fake_attachment_uploader.h" #include "base/bind.h" #include "base/memory/ref_counted.h" #include "base/memor...
33.306452
78
0.753027
metux
ab28d35b02607fcbbed2179e99d9c1e8ed5f9d3a
3,160
cpp
C++
code/utils/xrDXT/tga.cpp
Rikoshet-234/xray-oxygen
eaac3fa4780639152684f3251b8b4452abb8e439
[ "Apache-2.0" ]
7
2018-03-27T12:36:07.000Z
2020-06-26T11:31:52.000Z
code/utils/xrDXT/tga.cpp
Rikoshet-234/xray-oxygen
eaac3fa4780639152684f3251b8b4452abb8e439
[ "Apache-2.0" ]
2
2018-05-26T23:17:14.000Z
2019-04-14T18:33:27.000Z
code/utils/xrDXT/tga.cpp
Rikoshet-234/xray-oxygen
eaac3fa4780639152684f3251b8b4452abb8e439
[ "Apache-2.0" ]
5
2020-10-18T11:55:26.000Z
2022-03-28T07:21:35.000Z
// file: targasaver.cpp #include "stdafx.h" #pragma hdrstop #include "tga.h" void tga_save(LPCSTR name, u32 w, u32 h, void* data, BOOL alpha) { TGAdesc tga; tga.data = data; tga.format = alpha ? IMG_32B : IMG_24B; tga.height = h; tga.width = w; tga.scanlength = w * 4; int hf = _open(name, ...
24.6875
76
0.446835
Rikoshet-234
ab2a947c4fe40048966908ab4adeff4b8919ae28
1,370
cpp
C++
Implementations/12 - Graphs Hard (4)/12.4 - Tarjan BCC.cpp
wangdongx/USACO
b920acd85e1d1e633333b14b424026a4dfe42234
[ "MIT" ]
null
null
null
Implementations/12 - Graphs Hard (4)/12.4 - Tarjan BCC.cpp
wangdongx/USACO
b920acd85e1d1e633333b14b424026a4dfe42234
[ "MIT" ]
null
null
null
Implementations/12 - Graphs Hard (4)/12.4 - Tarjan BCC.cpp
wangdongx/USACO
b920acd85e1d1e633333b14b424026a4dfe42234
[ "MIT" ]
null
null
null
/** * Description: computes biconnected components * Source: GeeksForGeeks (corrected) * Verification: USACO December 2017, Push a Box * https://pastebin.com/yUWuzTH8 */ template<int SZ> struct BCC { int N; vpi adj[SZ], ed; void addEdge(int u, int v) { adj[u].pb({v,sz(ed)}), adj[...
29.148936
86
0.439416
wangdongx
ab2d34a412149658399468c2f7aae2a8c7815f5f
926
cpp
C++
3641/7910679_AC_16MS_144K.cpp
vandreas19/POJ_sol
4895764ab800e8c2c4b2334a562dec2f07fa243e
[ "MIT" ]
18
2017-08-14T07:34:42.000Z
2022-01-29T14:20:29.000Z
3641/7910679_AC_16MS_144K.cpp
pinepara/poj_solutions
4895764ab800e8c2c4b2334a562dec2f07fa243e
[ "MIT" ]
null
null
null
3641/7910679_AC_16MS_144K.cpp
pinepara/poj_solutions
4895764ab800e8c2c4b2334a562dec2f07fa243e
[ "MIT" ]
14
2016-12-21T23:37:22.000Z
2021-07-24T09:38:57.000Z
#define _CRT_SECURE_NO_WARNINGS #include<cstdio> int powMod(int base,int exp,int mod){ __int64 powRemainder[32],pos=0,remainder=1; for(int pos=0;exp;pos++){ if(pos==0) powRemainder[pos]=base%mod; else powRemainder[pos]=(powRemainder[pos-1]*powRemainder[pos-1])%mod; if(exp&1) remainder=(re...
21.534884
90
0.62095
vandreas19
ab2de24b4d3597ccc2b3ed3814f695e7fa7a0315
9,051
cpp
C++
OpenGL/src/Layers/Implementation/AdvancedLayer.cpp
scooper/OpenGL
605bc9210013e27df320de8b6bdc10522d09142d
[ "Apache-2.0" ]
null
null
null
OpenGL/src/Layers/Implementation/AdvancedLayer.cpp
scooper/OpenGL
605bc9210013e27df320de8b6bdc10522d09142d
[ "Apache-2.0" ]
null
null
null
OpenGL/src/Layers/Implementation/AdvancedLayer.cpp
scooper/OpenGL
605bc9210013e27df320de8b6bdc10522d09142d
[ "Apache-2.0" ]
null
null
null
#include "AdvancedLayer.h" #include "Util/Logger.h" #include <string> #include <imgui.h> float AdvancedLayer::m_CubeVertices[] = { // positions // texture coords -0.5f, -0.5f, -0.5f, 0.0f, 0.0f, 0.5f, -0.5f, -0.5f, 1.0f, 0.0f, 0.5f, 0.5f, -0.5f, 1.0f, 1.0f, 0.5f, 0.5f, -0.5f, 1.0f...
31.427083
131
0.644459
scooper
ab2f04f03e6344cf0d37c1baef64b27216010a03
2,629
cpp
C++
cpp/04/ex03/MateriaSource.cpp
maxdesalle/libft
8845656e1f5cc1fec052cf97fc8f5839b2b590a8
[ "Unlicense" ]
3
2021-01-06T13:50:12.000Z
2022-02-28T09:16:15.000Z
cpp/04/ex03/MateriaSource.cpp
maxdesalle/libft
8845656e1f5cc1fec052cf97fc8f5839b2b590a8
[ "Unlicense" ]
null
null
null
cpp/04/ex03/MateriaSource.cpp
maxdesalle/libft
8845656e1f5cc1fec052cf97fc8f5839b2b590a8
[ "Unlicense" ]
1
2020-11-23T12:58:18.000Z
2020-11-23T12:58:18.000Z
/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* MateriaSource.cpp :+: :+: :+: ...
24.570093
80
0.435527
maxdesalle
ab2f502ac0c07ce17c4542ab792fb032089b2abd
8,339
cpp
C++
src/cache/node/node_manager.cpp
EmanuelHerrendorf/mapping-core
d28d85547e8ed08df37dad1da142594d3f07a366
[ "MIT" ]
null
null
null
src/cache/node/node_manager.cpp
EmanuelHerrendorf/mapping-core
d28d85547e8ed08df37dad1da142594d3f07a366
[ "MIT" ]
10
2018-03-02T13:58:32.000Z
2020-06-05T11:12:42.000Z
src/cache/node/node_manager.cpp
EmanuelHerrendorf/mapping-core
d28d85547e8ed08df37dad1da142594d3f07a366
[ "MIT" ]
3
2018-02-26T14:01:43.000Z
2019-12-09T10:03:17.000Z
/* * util.cpp * * Created on: 03.12.2015 * Author: mika */ #include "cache/node/node_manager.h" #include "cache/node/manager/local_manager.h" #include "cache/node/manager/remote_manager.h" #include "cache/node/manager/hybrid_manager.h" #include "cache/node/puzzle_util.h" #include "cache/priv/connection.h" ...
27.796667
216
0.725507
EmanuelHerrendorf
ab331fda242d58cf18c60d4a93da44cb915de399
13,487
hpp
C++
kernel/src/simulationTools/D1MinusLinearOSI.hpp
BuildJet/siconos
5e9c95806f0a01d62ab564ffb1d9d50c2dc32ef0
[ "Apache-2.0" ]
137
2015-06-16T15:55:28.000Z
2022-03-26T06:01:59.000Z
kernel/src/simulationTools/D1MinusLinearOSI.hpp
BuildJet/siconos
5e9c95806f0a01d62ab564ffb1d9d50c2dc32ef0
[ "Apache-2.0" ]
381
2015-09-22T15:31:08.000Z
2022-02-14T09:05:23.000Z
kernel/src/simulationTools/D1MinusLinearOSI.hpp
BuildJet/siconos
5e9c95806f0a01d62ab564ffb1d9d50c2dc32ef0
[ "Apache-2.0" ]
30
2015-08-06T22:57:51.000Z
2022-03-02T20:30:20.000Z
/* Siconos is a program dedicated to modeling, simulation and control * of non smooth dynamical systems. * * Copyright 2021 INRIA. * * 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 * *...
37.052198
148
0.724031
BuildJet
ab33ae2ba1db21e870773b128a0ab5647796cae6
3,916
hpp
C++
include/Org/BouncyCastle/Crypto/Parameters/ParametersWithID.hpp
Fernthedev/BeatSaber-Quest-Codegen
716e4ff3f8608f7ed5b83e2af3be805f69e26d9e
[ "Unlicense" ]
null
null
null
include/Org/BouncyCastle/Crypto/Parameters/ParametersWithID.hpp
Fernthedev/BeatSaber-Quest-Codegen
716e4ff3f8608f7ed5b83e2af3be805f69e26d9e
[ "Unlicense" ]
null
null
null
include/Org/BouncyCastle/Crypto/Parameters/ParametersWithID.hpp
Fernthedev/BeatSaber-Quest-Codegen
716e4ff3f8608f7ed5b83e2af3be805f69e26d9e
[ "Unlicense" ]
null
null
null
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once // Begin includes #include "extern/beatsaber-hook/shared/utils/typedefs.h" #include "extern/beatsaber-hook/shared/utils/byref.hpp" // Completed includes // Begin f...
54.388889
256
0.723698
Fernthedev
ab33eec088a46ee0ba96860a4c03413737042503
5,877
cpp
C++
Computing-IV/psx/original.cpp
DulceWRLD/College
9b94868514f461c97121d72ea0855f72ca95e798
[ "MIT" ]
2
2021-08-21T01:25:50.000Z
2021-12-10T06:51:46.000Z
Computing-IV/psx/original.cpp
DulceWRLD/College
9b94868514f461c97121d72ea0855f72ca95e798
[ "MIT" ]
null
null
null
Computing-IV/psx/original.cpp
DulceWRLD/College
9b94868514f461c97121d72ea0855f72ca95e798
[ "MIT" ]
6
2021-03-14T22:21:23.000Z
2022-03-29T15:30:58.000Z
/* * Copyright 2015 Jason Downing * */ #include "original.hpp" // Seed the rand function for random colors - uses current time to do so unsigned int seed = time(NULL); /* * Inital coordinates of the circle will be: * 1) set the origin to be radius, radius - this makes it so that the circle's center for...
22.093985
90
0.531223
DulceWRLD
ab3410522fc87d1f7a0ea580c6711dcac8d7fbf2
21,103
cpp
C++
src/tests/functional/inference_engine/transformations/common_optimizations/hswish_fusion_test.cpp
kurylo/openvino
4da0941cd2e8f9829875e60df73d3cd01f820b9c
[ "Apache-2.0" ]
1,127
2018-10-15T14:36:58.000Z
2020-04-20T09:29:44.000Z
src/tests/functional/inference_engine/transformations/common_optimizations/hswish_fusion_test.cpp
kurylo/openvino
4da0941cd2e8f9829875e60df73d3cd01f820b9c
[ "Apache-2.0" ]
439
2018-10-20T04:40:35.000Z
2020-04-19T05:56:25.000Z
src/tests/functional/inference_engine/transformations/common_optimizations/hswish_fusion_test.cpp
kurylo/openvino
4da0941cd2e8f9829875e60df73d3cd01f820b9c
[ "Apache-2.0" ]
414
2018-10-17T05:53:46.000Z
2020-04-16T17:29:53.000Z
// Copyright (C) 2018-2022 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #include <gtest/gtest.h> #include <string> #include <memory> #include <ngraph/function.hpp> #include <ngraph/opsets/opset7.hpp> #include <ngraph/pass/manager.hpp> #include "transformations/common_optimizations/hsigmoid_fusion.hpp"...
56.728495
122
0.679524
kurylo
ab3540c6933bd0de3a05adaa2555f5a21fd6cf53
500
hpp
C++
TE2502/src/graphics/transfer_queue.hpp
ferthu/TE2502
de801f886713c0b2ef3ce6aa1e41e3fd9a58483e
[ "MIT" ]
null
null
null
TE2502/src/graphics/transfer_queue.hpp
ferthu/TE2502
de801f886713c0b2ef3ce6aa1e41e3fd9a58483e
[ "MIT" ]
null
null
null
TE2502/src/graphics/transfer_queue.hpp
ferthu/TE2502
de801f886713c0b2ef3ce6aa1e41e3fd9a58483e
[ "MIT" ]
null
null
null
#pragma once #include "queue.hpp" class VulkanContext; // Represents a hardware queue used for transfer commands class TransferQueue : public Queue { public: TransferQueue() {}; TransferQueue(VulkanContext& context, VkCommandPool command_pool, VkQueue queue); virtual ~TransferQueue(); TransferQueue(TransferQueu...
19.230769
82
0.756
ferthu
ab371356e252e5df75a4272d3ee0d18590b4a4ef
14,767
cc
C++
systems/trajectory_optimization/dircon_opt_constraints.cc
Nanda-Kishore-V/dairlib-1
7ffd43bb559408bc96bd590992aab52d42dfba16
[ "BSD-3-Clause" ]
1
2019-08-29T17:46:19.000Z
2019-08-29T17:46:19.000Z
systems/trajectory_optimization/dircon_opt_constraints.cc
Nanda-Kishore-V/dairlib
7ffd43bb559408bc96bd590992aab52d42dfba16
[ "BSD-3-Clause" ]
null
null
null
systems/trajectory_optimization/dircon_opt_constraints.cc
Nanda-Kishore-V/dairlib
7ffd43bb559408bc96bd590992aab52d42dfba16
[ "BSD-3-Clause" ]
null
null
null
#include "dircon_opt_constraints.h" #include <cstddef> #include <stdexcept> #include <utility> #include <vector> #include "drake/math/autodiff.h" #include "drake/math/autodiff_gradient.h" #include "multibody/multibody_utils.h" namespace dairlib { namespace systems { namespace trajectory_optimization { using drake::m...
41.248603
88
0.689646
Nanda-Kishore-V
ab38c6989f1e7876b85b36d27381a598adf9c48e
3,778
cpp
C++
spearmint/spearmint.cpp
chopralab/spear
d45ffc907ab1730789413dd04afb347a26f35154
[ "BSD-3-Clause" ]
2
2019-07-28T07:57:02.000Z
2019-10-28T13:58:37.000Z
spearmint/spearmint.cpp
chopralab/spear
d45ffc907ab1730789413dd04afb347a26f35154
[ "BSD-3-Clause" ]
null
null
null
spearmint/spearmint.cpp
chopralab/spear
d45ffc907ab1730789413dd04afb347a26f35154
[ "BSD-3-Clause" ]
null
null
null
#include <memory> #include "spearmint.h" #include "chemfiles/Trajectory.hpp" #include "spear/Molecule.hpp" #include "spear/Grid.hpp" #include "spear/ScoringFunction.hpp" #include "spear/atomtypes/IDATM.hpp" #include "spear/scoringfunctions/Bernard12.hpp" std::unique_ptr<Spear::Molecule> receptor; std::unique_ptr<S...
29.515625
112
0.607729
chopralab
ab391aac421287f42bebd88419157837554be526
6,131
cpp
C++
TAO/orbsvcs/orbsvcs/IFRService/ArrayDef_i.cpp
cflowe/ACE
5ff60b41adbe1772372d1a43bcc1f2726ff8f810
[ "DOC" ]
36
2015-01-10T07:27:33.000Z
2022-03-07T03:32:08.000Z
TAO/orbsvcs/orbsvcs/IFRService/ArrayDef_i.cpp
cflowe/ACE
5ff60b41adbe1772372d1a43bcc1f2726ff8f810
[ "DOC" ]
2
2018-08-13T07:30:51.000Z
2019-02-25T03:04:31.000Z
TAO/orbsvcs/orbsvcs/IFRService/ArrayDef_i.cpp
cflowe/ACE
5ff60b41adbe1772372d1a43bcc1f2726ff8f810
[ "DOC" ]
38
2015-01-08T14:12:06.000Z
2022-01-19T08:33:00.000Z
// $Id: ArrayDef_i.cpp 91682 2010-09-09 07:20:23Z johnnyw $ #include "orbsvcs/IFRService/ArrayDef_i.h" #include "orbsvcs/IFRService/Repository_i.h" #include "orbsvcs/IFRService/IFR_Service_Utils.h" #include "ace/Auto_Ptr.h" #include "ace/SString.h" TAO_BEGIN_VERSIONED_NAMESPACE_DECL TAO_ArrayDef_i::TAO_ArrayDef_i (T...
24.922764
72
0.586527
cflowe
ab3ee2e3345c79f948d9427138aafa7cfbfd64f3
5,207
cc
C++
src/pybind/matrix/kaldi_matrix_pybind.cc
aadps/kaldi
cd351bb31c98f9d540c409478cbf2c5fef1853ca
[ "Apache-2.0" ]
null
null
null
src/pybind/matrix/kaldi_matrix_pybind.cc
aadps/kaldi
cd351bb31c98f9d540c409478cbf2c5fef1853ca
[ "Apache-2.0" ]
null
null
null
src/pybind/matrix/kaldi_matrix_pybind.cc
aadps/kaldi
cd351bb31c98f9d540c409478cbf2c5fef1853ca
[ "Apache-2.0" ]
null
null
null
// pybind/matrix/kaldi_matrix_pybind.cc // Copyright 2019 Daniel Povey // 2019 Dongji Gao // 2019 Mobvoi AI Lab, Beijing, China (author: Fangjun Kuang) // See ../../../COPYING for clarification regarding multiple authors // // Licensed under the Apache License, Version 2.0 (the "License"); /...
44.887931
79
0.568273
aadps
ab41678ebf9fc75067453305997eaecf12b40c09
2,351
cpp
C++
lib/host/wasi_crypto/signature/signature.cpp
sonder-joker/WasmEdge
3a522b4e242af1870bdd963f631fc8308b53bad7
[ "Apache-2.0" ]
null
null
null
lib/host/wasi_crypto/signature/signature.cpp
sonder-joker/WasmEdge
3a522b4e242af1870bdd963f631fc8308b53bad7
[ "Apache-2.0" ]
null
null
null
lib/host/wasi_crypto/signature/signature.cpp
sonder-joker/WasmEdge
3a522b4e242af1870bdd963f631fc8308b53bad7
[ "Apache-2.0" ]
null
null
null
// SPDX-License-Identifier: Apache-2.0 #include "host/wasi_crypto/signature/signature.h" #include "host/wasi_crypto/signature/ecdsa.h" #include "host/wasi_crypto/signature/eddsa.h" #include "host/wasi_crypto/signature/rsa.h" namespace WasmEdge { namespace Host { namespace WASICrypto { namespace Signatures { WasiCryp...
42.745455
70
0.792003
sonder-joker
ab41be26b1679bddb4179f28ff8e34468424d58f
7,340
hpp
C++
libraries/db/include/graphene/db/object_database.hpp
VinChain/VINchain-blockchain
c52ec3bf67c6d4700bbaf5ec903185d31a2d63ec
[ "MIT" ]
15
2018-04-13T18:40:35.000Z
2021-03-17T00:11:00.000Z
libraries/db/include/graphene/db/object_database.hpp
VinChain/VINchain-blockchain
c52ec3bf67c6d4700bbaf5ec903185d31a2d63ec
[ "MIT" ]
null
null
null
libraries/db/include/graphene/db/object_database.hpp
VinChain/VINchain-blockchain
c52ec3bf67c6d4700bbaf5ec903185d31a2d63ec
[ "MIT" ]
3
2018-05-15T18:38:53.000Z
2022-01-14T18:36:04.000Z
/* * Copyright (c) 2015 Cryptonomex, Inc., and contributors. * * The MIT License * * 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...
38.229167
133
0.585014
VinChain
ab488b7d6dc9bdadb6a4ca8e1ab2c6ff291ff485
3,435
cpp
C++
algorithms/kernel/neural_networks/layers/loss_layer/loss_layer_forward.cpp
masdevas/daal
d48d27fac50907cb47a620d9e2ce1595f466a703
[ "Apache-2.0" ]
null
null
null
algorithms/kernel/neural_networks/layers/loss_layer/loss_layer_forward.cpp
masdevas/daal
d48d27fac50907cb47a620d9e2ce1595f466a703
[ "Apache-2.0" ]
null
null
null
algorithms/kernel/neural_networks/layers/loss_layer/loss_layer_forward.cpp
masdevas/daal
d48d27fac50907cb47a620d9e2ce1595f466a703
[ "Apache-2.0" ]
1
2018-11-09T15:59:50.000Z
2018-11-09T15:59:50.000Z
/* file: loss_layer_forward.cpp */ /******************************************************************************* * Copyright 2014-2019 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 th...
29.110169
126
0.695197
masdevas
ab4994f0e23f2fbb64696a459f7c5ccaf9491818
10,507
cpp
C++
arrus/core/devices/us4r/us4oem/Us4OEMFactoryImplTest.cpp
us4useu/arrus
10487b09f556e327ddb1bec28fbaccf3b8b08064
[ "BSL-1.0", "MIT" ]
11
2021-02-04T19:56:08.000Z
2022-02-18T09:41:51.000Z
arrus/core/devices/us4r/us4oem/Us4OEMFactoryImplTest.cpp
us4useu/arrus
10487b09f556e327ddb1bec28fbaccf3b8b08064
[ "BSL-1.0", "MIT" ]
60
2020-11-06T04:59:06.000Z
2022-03-12T17:39:06.000Z
arrus/core/devices/us4r/us4oem/Us4OEMFactoryImplTest.cpp
us4useu/arrus
10487b09f556e327ddb1bec28fbaccf3b8b08064
[ "BSL-1.0", "MIT" ]
4
2021-07-22T16:13:06.000Z
2021-12-13T08:53:31.000Z
#include <gtest/gtest.h> #include <gmock/gmock.h> #include <ius4oem.h> #include "arrus/core/common/tests.h" #include "arrus/core/devices/us4r/us4oem/Us4OEMFactoryImpl.h" #include "arrus/core/devices/us4r/us4oem/tests/CommonSettings.h" #include "arrus/core/devices/us4r/tests/MockIUs4OEM.h" #include "arrus/common/logg...
42.196787
130
0.696488
us4useu
ab4ad0701b8784476901667af4898b4831043630
2,728
hpp
C++
include/gba/util/tiles.hpp
felixjones/gba-hpp
66c84e2261c9a2d8e678e8cefb4f43f8c1c13cf3
[ "Zlib" ]
5
2022-03-12T19:16:58.000Z
2022-03-24T20:35:45.000Z
include/gba/util/tiles.hpp
felixjones/gba-hpp
66c84e2261c9a2d8e678e8cefb4f43f8c1c13cf3
[ "Zlib" ]
null
null
null
include/gba/util/tiles.hpp
felixjones/gba-hpp
66c84e2261c9a2d8e678e8cefb4f43f8c1c13cf3
[ "Zlib" ]
null
null
null
/* =============================================================================== Copyright (C) 2022 gba-hpp contributors For conditions of distribution and use, see copyright notice in LICENSE.md =============================================================================== */ #ifndef GBAXX_UTIL_TILES_HPP #defi...
28.715789
109
0.533358
felixjones
ab4eb62f71ac3f2af1500cc72b368bf6b982cb62
659
cpp
C++
samples/dnnMmodFaceLandmarkDetection/src/dnnMmodFaceLandmarkDetectionApp.cpp
kino-dome/Cinder-dlib
79601367cd6761566911ce6a0ea33b45507359b9
[ "BSD-2-Clause" ]
1
2019-03-07T09:12:32.000Z
2019-03-07T09:12:32.000Z
samples/dnnMmodFaceLandmarkDetection/src/dnnMmodFaceLandmarkDetectionApp.cpp
kino-dome/Cinder-dlib
79601367cd6761566911ce6a0ea33b45507359b9
[ "BSD-2-Clause" ]
null
null
null
samples/dnnMmodFaceLandmarkDetection/src/dnnMmodFaceLandmarkDetectionApp.cpp
kino-dome/Cinder-dlib
79601367cd6761566911ce6a0ea33b45507359b9
[ "BSD-2-Clause" ]
null
null
null
#include "cinder/app/App.h" #include "cinder/app/RendererGl.h" #include "cinder/gl/gl.h" using namespace ci; using namespace ci::app; using namespace std; class dnnMmodFaceLandmarkDetectionApp : public App { public: void setup() override; void mouseDown( MouseEvent event ) override; void update() override; void...
18.828571
67
0.758725
kino-dome
ab503cf1985127b70b5978ccc29657a9d3ccb5a8
4,913
cpp
C++
SysInfo/CpuModelNumber.cpp
eyalfishler/CrystalCPUID
eb6692e2b563351ecdf7f8f247a4f71dc6456738
[ "BSD-2-Clause" ]
19
2016-02-19T02:14:16.000Z
2021-01-25T23:57:13.000Z
SysInfo/CpuModelNumber.cpp
eyalfishler/CrystalCPUID
eb6692e2b563351ecdf7f8f247a4f71dc6456738
[ "BSD-2-Clause" ]
1
2018-10-26T03:28:23.000Z
2018-10-27T03:32:03.000Z
SysInfo/CpuModelNumber.cpp
eyalfishler/CrystalCPUID
eb6692e2b563351ecdf7f8f247a4f71dc6456738
[ "BSD-2-Clause" ]
10
2015-06-01T03:39:34.000Z
2020-07-19T01:40:04.000Z
/*---------------------------------------------------------------------------*/ // Author : hiyohiyo // Mail : hiyohiyo@crystalmark.info // Web : http://crystalmark.info/ // License : The modified BSD license // // Copyright 2007 hiyohiyo, All rights rese...
22.536697
80
0.478526
eyalfishler
ab51f1443d5a6f07c13a4eb20e865dac61498b50
20,766
cpp
C++
qhexview.cpp
xmikula/QHexView
ac74ab5aee8c43b4b0701496b86d8a02c898edf4
[ "MIT" ]
null
null
null
qhexview.cpp
xmikula/QHexView
ac74ab5aee8c43b4b0701496b86d8a02c898edf4
[ "MIT" ]
null
null
null
qhexview.cpp
xmikula/QHexView
ac74ab5aee8c43b4b0701496b86d8a02c898edf4
[ "MIT" ]
null
null
null
#include "qhexview.h" #include "document/buffer/qmemorybuffer.h" #include <QApplication> #include <QDebug> #include <QFontDatabase> #include <QHelpEvent> #include <QPaintEvent> #include <QPainter> #include <QScrollBar> #include <QToolTip> #include <cmath> #define CURSOR_BLINK_INTERVAL 500 // ms #define DOCUMENT_WHEEL_...
26.022556
79
0.608446
xmikula
ab52169cfe7b90242ba9110652f1da45dfb2c856
9,397
cpp
C++
core/lib/soci_sqlite3/session.cpp
RomanWlm/lib-ledger-core
8c068fccb074c516096abb818a4e20786e02318b
[ "MIT" ]
92
2016-11-13T01:28:34.000Z
2022-03-25T01:11:37.000Z
core/lib/soci_sqlite3/session.cpp
RomanWlm/lib-ledger-core
8c068fccb074c516096abb818a4e20786e02318b
[ "MIT" ]
242
2016-11-28T11:13:09.000Z
2022-03-04T13:02:53.000Z
core/lib/soci_sqlite3/session.cpp
RomanWlm/lib-ledger-core
8c068fccb074c516096abb818a4e20786e02318b
[ "MIT" ]
91
2017-06-20T10:35:28.000Z
2022-03-09T14:15:40.000Z
// // Copyright (C) 2004-2006 Maciej Sobczak, Stephen Hutton, David Courtney // 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) // #include "soci-sqlite3.h" #include <connection-parameters.h> #include <sstream> ...
34.547794
152
0.582952
RomanWlm
ab527f317a4f0cec4b2216c71f11abf45382019f
1,626
cxx
C++
phys-services/private/pybindings/I3CutValues.cxx
hschwane/offline_production
e14a6493782f613b8bbe64217559765d5213dc1e
[ "MIT" ]
1
2020-12-24T22:00:01.000Z
2020-12-24T22:00:01.000Z
phys-services/private/pybindings/I3CutValues.cxx
hschwane/offline_production
e14a6493782f613b8bbe64217559765d5213dc1e
[ "MIT" ]
null
null
null
phys-services/private/pybindings/I3CutValues.cxx
hschwane/offline_production
e14a6493782f613b8bbe64217559765d5213dc1e
[ "MIT" ]
3
2020-07-17T09:20:29.000Z
2021-03-30T16:44:18.000Z
// // Copyright (c) 2008 Troy D. Straszheim and the IceCube Collaboration // // This file is part of IceTray. // // IceTray is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation; either version 3 of...
36.954545
91
0.721402
hschwane
ab54b3159c75f1982fdd28d57e93714fd501d2d0
62,789
cpp
C++
orca/gporca/libnaucrates/src/statistics/CStatisticsUtils.cpp
vitessedata/gpdb.4.3.99.x
9462aad5df1bf120a2a87456b1f9574712227da4
[ "PostgreSQL", "Apache-2.0" ]
3
2017-12-10T16:41:21.000Z
2020-07-08T12:59:12.000Z
orca/gporca/libnaucrates/src/statistics/CStatisticsUtils.cpp
vitessedata/gpdb.4.3.99.x
9462aad5df1bf120a2a87456b1f9574712227da4
[ "PostgreSQL", "Apache-2.0" ]
null
null
null
orca/gporca/libnaucrates/src/statistics/CStatisticsUtils.cpp
vitessedata/gpdb.4.3.99.x
9462aad5df1bf120a2a87456b1f9574712227da4
[ "PostgreSQL", "Apache-2.0" ]
4
2017-12-10T16:41:35.000Z
2020-11-28T12:20:30.000Z
//--------------------------------------------------------------------------- // Greenplum Database // Copyright 2013 EMC Corp. // // @filename: // CStatisticsUtils.cpp // // @doc: // Statistics helper routines // // @owner: // // // @test: // // //-------------------------------------------------------------------...
27.993313
138
0.63664
vitessedata
ab557d5a1bfad72e3369f82383143e30ebed024e
720
cpp
C++
llvm/tools/clang/test/CodeGenCXX/mangle-literal-suffix.cpp
oslab-swrc/juxta
481cd6f01e87790041a07379805968bcf57d75f4
[ "MIT" ]
58
2016-08-27T03:19:14.000Z
2022-01-05T17:33:44.000Z
llvm/tools/clang/test/CodeGenCXX/mangle-literal-suffix.cpp
oslab-swrc/juxta
481cd6f01e87790041a07379805968bcf57d75f4
[ "MIT" ]
14
2017-12-01T17:16:59.000Z
2020-12-21T12:16:35.000Z
llvm/tools/clang/test/CodeGenCXX/mangle-literal-suffix.cpp
oslab-swrc/juxta
481cd6f01e87790041a07379805968bcf57d75f4
[ "MIT" ]
22
2016-11-27T09:53:31.000Z
2021-11-22T00:22:53.000Z
// RUN: %clang_cc1 -triple mips-none-none -emit-llvm -o - %s | FileCheck %s template <class T> void g3(char (&buffer)[sizeof(T() + 5.0)]) {} template void g3<int>(char (&)[sizeof(double)]); // CHECK: _Z2g3IiEvRAszplcvT__ELd4014000000000000E_c template <class T> void g4(char (&buffer)[sizeof(T() + 5.0L)]) {} template ...
40
75
0.691667
oslab-swrc
ab58451b672784990c2d510c4cdd98b33c1fe695
6,301
cc
C++
src/database_fs_locking.cc
reactive-systems/edacc_client
d15a42f4f02bf6985423bb900d91410b1d184390
[ "MIT" ]
null
null
null
src/database_fs_locking.cc
reactive-systems/edacc_client
d15a42f4f02bf6985423bb900d91410b1d184390
[ "MIT" ]
null
null
null
src/database_fs_locking.cc
reactive-systems/edacc_client
d15a42f4f02bf6985423bb900d91410b1d184390
[ "MIT" ]
null
null
null
/* * database_fs_locking.cc * * Created on: 13.03.2012 * Author: simon */ #include <string> #include <vector> #include <mysql/mysqld_error.h> #include "database.h" #include "database_fs_locking.h" #include "log.h" // the fsid, from database.cc extern int fsid; extern MYSQL* connection; ...
32.647668
144
0.615934
reactive-systems
ab5923966452a465b1ca20a7f4e091080c341a99
1,508
cpp
C++
libs/runtime_configuration/src/runtime_mode.cpp
jokteur/hpx
689ce9b586322c90f966ef84aa6eba190f037dd7
[ "BSL-1.0" ]
1,822
2015-01-03T11:22:37.000Z
2022-03-31T14:49:59.000Z
libs/runtime_configuration/src/runtime_mode.cpp
jokteur/hpx
689ce9b586322c90f966ef84aa6eba190f037dd7
[ "BSL-1.0" ]
3,288
2015-01-05T17:00:23.000Z
2022-03-31T18:49:41.000Z
libs/runtime_configuration/src/runtime_mode.cpp
jokteur/hpx
689ce9b586322c90f966ef84aa6eba190f037dd7
[ "BSL-1.0" ]
431
2015-01-07T06:22:14.000Z
2022-03-31T14:50:04.000Z
//////////////////////////////////////////////////////////////////////////////// // Copyright (c) 2012 Bryce Adelstein-Lelbach // Copyright (c) 2012-2017 Hartmut Kaiser // // SPDX-License-Identifier: BSL-1.0 // Distributed under the Boost Software License, Version 1.0. (See accompanying // file LICENSE_1_0.txt or ...
32.782609
80
0.525199
jokteur
ab5d5c911c98f1a043baf0cd01c29bd9cd2a0db7
185
cpp
C++
Sources/functions.cpp
Gabriel-Barbosa-Pereira/vilut
626ba392297552a15ced328a1f0fd4912b374faf
[ "MIT" ]
null
null
null
Sources/functions.cpp
Gabriel-Barbosa-Pereira/vilut
626ba392297552a15ced328a1f0fd4912b374faf
[ "MIT" ]
null
null
null
Sources/functions.cpp
Gabriel-Barbosa-Pereira/vilut
626ba392297552a15ced328a1f0fd4912b374faf
[ "MIT" ]
null
null
null
#include <cstdlib> #include <cmath> void net(){ system("ping www.google.com"); } double pit(double b, double c){ double a; a = sqrt(pow(b, 2) + pow(c, 2)); return a; }
15.416667
36
0.578378
Gabriel-Barbosa-Pereira
ab5dae9226c70ba540d9ab235c33a55b1e031d63
2,830
hpp
C++
modules/scene_manager/include/lifecycle_msgs/srv/get_available_states__response__rosidl_typesupport_opensplice_cpp.hpp
Omnirobotic/godot
d50b5d047bbf6c68fc458c1ad097321ca627185d
[ "CC-BY-3.0", "Apache-2.0", "MIT" ]
null
null
null
modules/scene_manager/include/lifecycle_msgs/srv/get_available_states__response__rosidl_typesupport_opensplice_cpp.hpp
Omnirobotic/godot
d50b5d047bbf6c68fc458c1ad097321ca627185d
[ "CC-BY-3.0", "Apache-2.0", "MIT" ]
3
2019-11-14T12:20:06.000Z
2020-08-07T13:51:10.000Z
modules/scene_manager/include/lifecycle_msgs/srv/get_available_states__response__rosidl_typesupport_opensplice_cpp.hpp
Omnirobotic/godot
d50b5d047bbf6c68fc458c1ad097321ca627185d
[ "CC-BY-3.0", "Apache-2.0", "MIT" ]
null
null
null
// generated from // rosidl_typesupport_opensplice_cpp/resource/msg__rosidl_typesupport_opensplice_cpp.hpp.em // generated code does not contain a copyright notice #ifndef LIFECYCLE_MSGS__SRV__GET_AVAILABLE_STATES__RESPONSE__ROSIDL_TYPESUPPORT_OPENSPLICE_CPP_HPP_ #define LIFECYCLE_MSGS__SRV__GET_AVAILABLE_STATES__RESP...
30.430108
139
0.863604
Omnirobotic
ab5f1c641901a8ba056bddb959ce47d644460973
13,525
cpp
C++
src/Plugins/MoviePlugin/Movie2Data.cpp
irov/Mengine
b76e9f8037325dd826d4f2f17893ac2b236edad8
[ "MIT" ]
39
2016-04-21T03:25:26.000Z
2022-01-19T14:16:38.000Z
src/Plugins/MoviePlugin/Movie2Data.cpp
irov/Mengine
b76e9f8037325dd826d4f2f17893ac2b236edad8
[ "MIT" ]
23
2016-06-28T13:03:17.000Z
2022-02-02T10:11:54.000Z
src/Plugins/MoviePlugin/Movie2Data.cpp
irov/Mengine
b76e9f8037325dd826d4f2f17893ac2b236edad8
[ "MIT" ]
14
2016-06-22T20:45:37.000Z
2021-07-05T12:25:19.000Z
#include "Movie2Data.h" #include "Interface/ResourceServiceInterface.h" #include "Interface/MaterialEnumInterface.h" #include "Kernel/Materialable.h" #include "Kernel/Logger.h" #include "Kernel/DocumentHelper.h" #include "Kernel/AssertionMemoryPanic.h" #include "Kernel/ConstStringHelper.h" namespace Mengine { //...
38.642857
207
0.553789
irov
ab5fb7104d3fc5fd3e30669b6db3c6dc3eb94ca3
4,045
cpp
C++
src/armnnTfParser/test/Gather.cpp
Project-Xtended/external_armnn
c5e1bbf9fc8ecbb8c9eb073a1550d4c8c15fce94
[ "MIT" ]
2
2021-12-09T15:14:04.000Z
2021-12-10T01:37:53.000Z
src/armnnTfParser/test/Gather.cpp
Project-Xtended/external_armnn
c5e1bbf9fc8ecbb8c9eb073a1550d4c8c15fce94
[ "MIT" ]
null
null
null
src/armnnTfParser/test/Gather.cpp
Project-Xtended/external_armnn
c5e1bbf9fc8ecbb8c9eb073a1550d4c8c15fce94
[ "MIT" ]
3
2022-01-23T11:34:40.000Z
2022-02-12T15:51:37.000Z
// // Copyright © 2017 Arm Ltd and Contributors. All rights reserved. // SPDX-License-Identifier: MIT // #include "armnnTfParser/ITfParser.hpp" #include "ParserPrototxtFixture.hpp" #include <PrototxtConversions.hpp> #include <boost/test/unit_test.hpp> BOOST_AUTO_TEST_SUITE(TensorflowParser) namespace { // helper f...
21.864865
107
0.549567
Project-Xtended
ab601c9dfd7974cee110faf31abd8da455ea5cf0
176
hpp
C++
hiro/cocoa/header.hpp
CasualPokePlayer/ares
58690cd5fc7bb6566c22935c5b80504a158cca29
[ "BSD-3-Clause" ]
153
2020-07-25T17:55:29.000Z
2021-10-01T23:45:01.000Z
hiro/cocoa/header.hpp
CasualPokePlayer/ares
58690cd5fc7bb6566c22935c5b80504a158cca29
[ "BSD-3-Clause" ]
245
2021-10-08T09:14:46.000Z
2022-03-31T08:53:13.000Z
hiro/cocoa/header.hpp
CasualPokePlayer/ares
58690cd5fc7bb6566c22935c5b80504a158cca29
[ "BSD-3-Clause" ]
44
2020-07-25T08:51:55.000Z
2021-09-25T16:09:01.000Z
#include <nall/macos/guard.hpp> #include <Cocoa/Cocoa.h> #include <Carbon/Carbon.h> #include <IOKit/pwr_mgt/IOPMLib.h> #include <nall/macos/guard.hpp> #include <nall/run.hpp>
22
34
0.738636
CasualPokePlayer
ab607b4662e0307b79748fff8fc9c806dfd9f8bb
43,850
cc
C++
unittest/types_t.cc
mysql/mysql-shell
7a299599a79ef2b2f578ffa41cbc901a88fc6b62
[ "Apache-2.0" ]
119
2016-04-14T14:16:22.000Z
2022-03-08T20:24:38.000Z
unittest/types_t.cc
mysql/mysql-shell
7a299599a79ef2b2f578ffa41cbc901a88fc6b62
[ "Apache-2.0" ]
9
2017-04-26T20:48:42.000Z
2021-09-07T01:52:44.000Z
unittest/types_t.cc
mysql/mysql-shell
7a299599a79ef2b2f578ffa41cbc901a88fc6b62
[ "Apache-2.0" ]
51
2016-07-20T05:06:48.000Z
2022-03-09T01:20:53.000Z
/* * Copyright (c) 2014, 2021, Oracle and/or its affiliates. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License, version 2.0, * as published by the Free Software Foundation. * * This program is also distributed with certain software (in...
31.729378
80
0.632908
mysql
ab615e780f7777cf5c6c44d984acc61e5a9e108c
977
cxx
C++
1.4 Sortland/main.cxx
SemenMartynov/openedu-itmo-algorithms
93697a1ac4de2300a9140d8752de7851743c0426
[ "MIT" ]
null
null
null
1.4 Sortland/main.cxx
SemenMartynov/openedu-itmo-algorithms
93697a1ac4de2300a9140d8752de7851743c0426
[ "MIT" ]
null
null
null
1.4 Sortland/main.cxx
SemenMartynov/openedu-itmo-algorithms
93697a1ac4de2300a9140d8752de7851743c0426
[ "MIT" ]
null
null
null
#include <fstream> #include <iostream> #include <algorithm> #include <vector> struct citizen_t { long id; double account; }; int main(int argc, char **argv) { std::ifstream fin("input.txt"); std::ofstream fout("output.txt"); size_t citezens_c; fin >> citezens_c; std::vector<citizen_t> ci...
20.787234
116
0.511771
SemenMartynov
ab6283662cdfbfa4d3e34bd586015f639bdc1b2c
17,722
cpp
C++
src/cmfd_solver.cpp
HunterBelanger/openmc
7f7977091df7552449cff6c3b96a1166e4b43e45
[ "MIT" ]
1
2020-12-18T16:09:59.000Z
2020-12-18T16:09:59.000Z
src/cmfd_solver.cpp
HunterBelanger/openmc
7f7977091df7552449cff6c3b96a1166e4b43e45
[ "MIT" ]
null
null
null
src/cmfd_solver.cpp
HunterBelanger/openmc
7f7977091df7552449cff6c3b96a1166e4b43e45
[ "MIT" ]
null
null
null
#include "openmc/cmfd_solver.h" #include <vector> #include <cmath> #ifdef _OPENMP #include <omp.h> #endif #include "xtensor/xtensor.hpp" #include "openmc/bank.h" #include "openmc/error.h" #include "openmc/constants.h" #include "openmc/capi.h" #include "openmc/mesh.h" #include "openmc/message_passing.h" #include "ope...
31.091228
84
0.548584
HunterBelanger
ab65b3ca0855c8ca49a902ffc13aa16d498fabbc
252,842
cc
C++
plugins/community/repos/Southpole-parasites/parasites/warps/resources.cc
guillaume-plantevin/VeeSeeVSTRack
76fafc8e721613669d6f5ae82a0f58ce923a91e1
[ "Zlib", "BSD-3-Clause" ]
233
2018-07-02T16:49:36.000Z
2022-02-27T21:45:39.000Z
plugins/community/repos/Southpole-parasites/parasites/warps/resources.cc
guillaume-plantevin/VeeSeeVSTRack
76fafc8e721613669d6f5ae82a0f58ce923a91e1
[ "Zlib", "BSD-3-Clause" ]
24
2018-07-09T11:32:15.000Z
2022-01-07T01:45:43.000Z
plugins/community/repos/Southpole-parasites/parasites/warps/resources.cc
guillaume-plantevin/VeeSeeVSTRack
76fafc8e721613669d6f5ae82a0f58ce923a91e1
[ "Zlib", "BSD-3-Clause" ]
24
2018-07-14T21:55:30.000Z
2021-05-04T04:20:34.000Z
// Copyright 2014 Olivier Gillet. // // Author: Olivier Gillet (ol.gillet@gmail.com) // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation th...
70.645991
80
0.702387
guillaume-plantevin
ab6743463b56c9f3efd40d32725b056dce2b39d2
11,140
cpp
C++
src/analysis/processing/qgsalgorithmrastersurfacevolume.cpp
dyna-mis/Hilabeling
cb7d5d4be29624a20c8a367162dbc6fd779b2b52
[ "MIT" ]
null
null
null
src/analysis/processing/qgsalgorithmrastersurfacevolume.cpp
dyna-mis/Hilabeling
cb7d5d4be29624a20c8a367162dbc6fd779b2b52
[ "MIT" ]
null
null
null
src/analysis/processing/qgsalgorithmrastersurfacevolume.cpp
dyna-mis/Hilabeling
cb7d5d4be29624a20c8a367162dbc6fd779b2b52
[ "MIT" ]
1
2021-12-25T08:40:30.000Z
2021-12-25T08:40:30.000Z
/*************************************************************************** qgsalgorithmrasterlayeruniquevalues.cpp --------------------- begin : January 2019 copyright : (C) 2019 by Nyall Dawson email : nyall dot da...
44.38247
170
0.62325
dyna-mis
0369f1cd6f22e3f59ae90e28252641a56965a5c4
544
cc
C++
pcraster/pcraster-4.2.0/pcraster-4.2.0/source/pcrcom/com_singlevaluedrastertest.cc
quanpands/wflow
b454a55e4a63556eaac3fbabd97f8a0b80901e5a
[ "MIT" ]
null
null
null
pcraster/pcraster-4.2.0/pcraster-4.2.0/source/pcrcom/com_singlevaluedrastertest.cc
quanpands/wflow
b454a55e4a63556eaac3fbabd97f8a0b80901e5a
[ "MIT" ]
null
null
null
pcraster/pcraster-4.2.0/pcraster-4.2.0/source/pcrcom/com_singlevaluedrastertest.cc
quanpands/wflow
b454a55e4a63556eaac3fbabd97f8a0b80901e5a
[ "MIT" ]
null
null
null
#define BOOST_TEST_MODULE pcraster com single_valued_raster #include <boost/test/unit_test.hpp> #include "csftypes.h" #include "com_singlevaluedraster.h" BOOST_AUTO_TEST_CASE(this_) { using namespace com; SingleValuedRaster<UINT1> v(4,5,8); BOOST_CHECK(v.nrRows()==4); BOOST_CHECK(v.nrCols()==5); BOOST_CHEC...
18.758621
59
0.713235
quanpands
036cbd9d2e99f378768e00e52d456c3fef8c1f6c
4,073
hpp
C++
Libraries/Support/FileSupport.hpp
jodavis42/WelderEngineRevamp
1b8776c53857e66b2c933321e965bbe12f0df61e
[ "MIT" ]
3
2022-02-11T10:34:33.000Z
2022-02-24T17:44:17.000Z
Code/Foundation/Support/FileSupport.hpp
WelderUpdates/WelderEngineRevamp
1c665239566e9c7156926852f7952948d9286d7d
[ "MIT" ]
null
null
null
Code/Foundation/Support/FileSupport.hpp
WelderUpdates/WelderEngineRevamp
1c665239566e9c7156926852f7952948d9286d7d
[ "MIT" ]
null
null
null
// MIT Licensed (see LICENSE.md). #pragma once namespace Zero { inline u32 EndianSwap(u32 x) { return (x >> 24) | ((x << 8) & 0x00FF0000) | ((x >> 8) & 0x0000FF00) | (x << 24); } inline u64 EndianSwap(u64 x) { return (x >> 56) | ((x << 40) & 0x00FF000000000000ULL) | ((x << 24) & 0x0000FF0000000000ULL) | ...
28.886525
120
0.741959
jodavis42
036df1406e680bd1a2a6472454450f5855a8223e
596
cpp
C++
LinkedList/linkedlist.cpp
Farhan-Khalifa-Ibrahim/Data-Structure
a2864d70a38cdcb5dbbfb9ef9dc09f49fd2412af
[ "MIT" ]
null
null
null
LinkedList/linkedlist.cpp
Farhan-Khalifa-Ibrahim/Data-Structure
a2864d70a38cdcb5dbbfb9ef9dc09f49fd2412af
[ "MIT" ]
null
null
null
LinkedList/linkedlist.cpp
Farhan-Khalifa-Ibrahim/Data-Structure
a2864d70a38cdcb5dbbfb9ef9dc09f49fd2412af
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; class Node { public: Node(int number); int getdata(); Node *next; private: int data; }; Node::Node(int number) { data = number; next = NULL; } int Node::getdata() { return data; } void printList(Node *n) { while (n != NULL) { c...
12.956522
36
0.531879
Farhan-Khalifa-Ibrahim
0370c4933d3ba9c646169dda13548168167fe6ee
5,104
cpp
C++
private/tst/avb_streamhandler/src/IasTestAvbRxStreamClockDomain.cpp
tnishiok/AVBStreamHandler
7621daf8c9238361e030fe35188b921ee8ea2466
[ "BSL-1.0", "BSD-3-Clause" ]
13
2018-09-26T13:32:35.000Z
2021-05-20T10:01:12.000Z
private/tst/avb_streamhandler/src/IasTestAvbRxStreamClockDomain.cpp
keerockl/AVBStreamHandler
c0c9aa92656ae0acd0f57492d4f325eee2f7d13b
[ "BSD-3-Clause" ]
23
2018-10-03T22:45:21.000Z
2020-03-05T23:40:12.000Z
private/tst/avb_streamhandler/src/IasTestAvbRxStreamClockDomain.cpp
keerockl/AVBStreamHandler
c0c9aa92656ae0acd0f57492d4f325eee2f7d13b
[ "BSD-3-Clause" ]
22
2018-09-14T03:55:34.000Z
2021-12-07T01:13:27.000Z
/* * Copyright (C) 2018 Intel Corporation. All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause */ /** * @file IasTestAvbRxStreamClockDomain.cpp * @date 2018 * @brief This file contains the unit tests of the IasAvbRxStreamClockDomain class. */ #include "gtest/gtest.h" #define private public #de...
29.674419
100
0.706505
tnishiok
03730e9cc9e6dbb959be34cb8bb22cee50224346
253
cpp
C++
src/cbag/layout/via_wrapper.cpp
ayan-biswas/cbag
0d08394cf39e90bc3acb4a94fd7b5a6560cf103c
[ "BSD-3-Clause" ]
1
2020-01-07T04:44:17.000Z
2020-01-07T04:44:17.000Z
src/cbag/layout/via_wrapper.cpp
skyworksinc/cbag
0d08394cf39e90bc3acb4a94fd7b5a6560cf103c
[ "BSD-3-Clause" ]
null
null
null
src/cbag/layout/via_wrapper.cpp
skyworksinc/cbag
0d08394cf39e90bc3acb4a94fd7b5a6560cf103c
[ "BSD-3-Clause" ]
1
2020-01-07T04:45:13.000Z
2020-01-07T04:45:13.000Z
#include <cbag/layout/via_wrapper.h> namespace cbag { namespace layout { via_wrapper::via_wrapper() = default; via_wrapper::via_wrapper(via &&v, bool add_layers) : v(std::move(v)), add_layers(add_layers) {} } // namespace layout } // namespace cbag
21.083333
95
0.72332
ayan-biswas
0378476e6f80c8f11254a3fe6ec963be47c226ea
719
hpp
C++
src/scene/BVH.hpp
huang-jl/Graphics-Renderer
947c145330aeec9fe127c168e9629aeab84e416e
[ "MIT" ]
null
null
null
src/scene/BVH.hpp
huang-jl/Graphics-Renderer
947c145330aeec9fe127c168e9629aeab84e416e
[ "MIT" ]
null
null
null
src/scene/BVH.hpp
huang-jl/Graphics-Renderer
947c145330aeec9fe127c168e9629aeab84e416e
[ "MIT" ]
null
null
null
#ifndef BVH_HPP #define BVH_HPP #include "AABB.hpp" #include "Hitable.hpp" #include "Ray.hpp" #include <vector> /* * 层次包围体BHV:用AABB实现 * 这里认为层次包围盒也是一个Hitable * 其作用是一个容器,能够高效处理光线和物体是否相交 */ class BVHNode : public Hitable { public: BVHNode() {} // BVHNode(Hitable **l, int n, float time0, float time1); B...
25.678571
100
0.698192
huang-jl
0378b92d9bbc2a0decd7fa86b24800700a175488
3,500
hpp
C++
sdl/Util/LogInfo.hpp
sdl-research/hyp
d39f388f9cd283bcfa2f035f399b466407c30173
[ "Apache-2.0" ]
29
2015-01-26T21:49:51.000Z
2021-06-18T18:09:42.000Z
sdl/Util/LogInfo.hpp
hypergraphs/hyp
d39f388f9cd283bcfa2f035f399b466407c30173
[ "Apache-2.0" ]
1
2015-12-08T15:03:15.000Z
2016-01-26T14:31:06.000Z
sdl/Util/LogInfo.hpp
hypergraphs/hyp
d39f388f9cd283bcfa2f035f399b466407c30173
[ "Apache-2.0" ]
4
2015-11-21T14:25:38.000Z
2017-10-30T22:22:00.000Z
// Copyright 2014-2015 SDL plc // 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,...
33.653846
112
0.702857
sdl-research
037c16bca08a729b681c298b16c40690dd8a7511
6,023
hh
C++
L1Trigger/TrackFindingTracklet/interface/FPGATrackDer.hh
thesps/cmssw
ad5315934948ce96699b29cc1d5b03a59f99634f
[ "Apache-2.0" ]
null
null
null
L1Trigger/TrackFindingTracklet/interface/FPGATrackDer.hh
thesps/cmssw
ad5315934948ce96699b29cc1d5b03a59f99634f
[ "Apache-2.0" ]
null
null
null
L1Trigger/TrackFindingTracklet/interface/FPGATrackDer.hh
thesps/cmssw
ad5315934948ce96699b29cc1d5b03a59f99634f
[ "Apache-2.0" ]
null
null
null
#ifndef FPGATRACKDER_H #define FPGATRACKDER_H #include <iostream> #include <fstream> #include <assert.h> #include <math.h> #include <vector> using namespace std; class FPGATrackDer{ public: FPGATrackDer() { for (unsigned int i=0;i<6;i++){ irinvdphi_[i]=9999999; irinvdzordr_[i]=9999999; ...
28.956731
78
0.659804
thesps
0380bf57dd0284f716d35ededc515eeab745d947
1,487
cpp
C++
Lezioni/04/11_3.cpp
FoxySeta/unibo-00819-programmazione
e8b54bf38c9f7885b05eabff9bced7c212aeb97e
[ "MIT" ]
3
2021-11-02T16:06:46.000Z
2022-02-15T11:24:15.000Z
Lezioni/04/11_3.cpp
FoxySeta/unibo-00819-programmazione
e8b54bf38c9f7885b05eabff9bced7c212aeb97e
[ "MIT" ]
1
2020-09-25T17:54:52.000Z
2020-09-25T22:15:42.000Z
Lezioni/04/11_3.cpp
FoxySeta/unibo-00819-programmazione
e8b54bf38c9f7885b05eabff9bced7c212aeb97e
[ "MIT" ]
null
null
null
/* Università di Bologna Corso di laurea in Informatica 00819 - Programmazione Stefano Volpe #969766 01/10/2020 11_3.cpp "Comandi condizionali e iterativi", d. 11, es. 3 */ #include <iostream> using namespace std; int main() { cout << "Inserisci interi x, y, z: "; // diverrà più...
31.638298
78
0.417619
FoxySeta
0387f3344dc39e9b5d3d54312b7cacccdef236d1
2,970
cpp
C++
src/Dengo/Init_MemAllocate_Dengo.cpp
hisunnytang/gamer-fork
8ca0cd1dd3ffd5bbd04049a4af5bdf63103b0df9
[ "BSD-3-Clause" ]
null
null
null
src/Dengo/Init_MemAllocate_Dengo.cpp
hisunnytang/gamer-fork
8ca0cd1dd3ffd5bbd04049a4af5bdf63103b0df9
[ "BSD-3-Clause" ]
null
null
null
src/Dengo/Init_MemAllocate_Dengo.cpp
hisunnytang/gamer-fork
8ca0cd1dd3ffd5bbd04049a4af5bdf63103b0df9
[ "BSD-3-Clause" ]
null
null
null
#include "GAMER.h" #ifdef SUPPORT_DENGO // global variables for accessing h_Che_Array[] // --> also used by Dengo_Prepare.cpp and Dengo_Close.cpp // --> they are not declared in "Global.h" simply because they are only used by a few Dengo routines int Che_NField = NULL_INT; int CheIdx_Dens = Idx_Undefined; int Che...
30.618557
105
0.622896
hisunnytang
038b11d5956e807a02dc734015bd8dda3048d7b6
3,780
cpp
C++
source/styles/conditional_format.cpp
wuganhao/xlnt
4acfa185c0891e64b044ddac16046baee011bdf5
[ "Unlicense" ]
null
null
null
source/styles/conditional_format.cpp
wuganhao/xlnt
4acfa185c0891e64b044ddac16046baee011bdf5
[ "Unlicense" ]
null
null
null
source/styles/conditional_format.cpp
wuganhao/xlnt
4acfa185c0891e64b044ddac16046baee011bdf5
[ "Unlicense" ]
1
2021-11-22T10:07:34.000Z
2021-11-22T10:07:34.000Z
// Copyright (c) 2014-2021 Thomas Fussell // Copyright (c) 2010-2015 openpyxl // // 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 right...
28.208955
80
0.73254
wuganhao
038c602020ed7fb1b51e746ffbc7d102648ad832
1,810
cc
C++
cc/layer_quad.cc
GnorTech/chromium
e1c7731d5bd099ca5544fcf8eda3867d4ce5bab5
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
1
2018-03-10T13:08:49.000Z
2018-03-10T13:08:49.000Z
cc/layer_quad.cc
GnorTech/chromium
e1c7731d5bd099ca5544fcf8eda3867d4ce5bab5
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
cc/layer_quad.cc
GnorTech/chromium
e1c7731d5bd099ca5544fcf8eda3867d4ce5bab5
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
1
2020-11-04T07:19:31.000Z
2020-11-04T07:19:31.000Z
// Copyright 2011 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 "cc/layer_quad.h" #include "base/logging.h" #include "ui/gfx/quad_f.h" namespace cc { LayerQuad::Edge::Edge(const gfx::PointF& p, const gfx::P...
25.492958
94
0.601105
GnorTech
039044f2605a851c5273020b1f45d670c8279b18
3,166
cpp
C++
cpp02/ex03/Fixed.cpp
ostef/42-cpp
59853e5252793e8aef9a7dfe31d2888304146e90
[ "Unlicense" ]
1
2022-02-16T18:07:02.000Z
2022-02-16T18:07:02.000Z
cpp02/ex03/Fixed.cpp
ostef/42-cpp
59853e5252793e8aef9a7dfe31d2888304146e90
[ "Unlicense" ]
null
null
null
cpp02/ex03/Fixed.cpp
ostef/42-cpp
59853e5252793e8aef9a7dfe31d2888304146e90
[ "Unlicense" ]
null
null
null
#include "Fixed.hpp" #include <iostream> #include <cmath> // | integral | fractional | // 32 ... 8 ... 0 const int Fixed::FRACT_BITS = 8; Fixed::Fixed () : m_raw (0) { std::cout << "Default constructor called... Yay..." << std::endl; } Fixed::Fixed (const int i) : m_...
16.575916
74
0.618446
ostef
03907e4ac617f43d27f9482051a79d447119109f
7,346
cpp
C++
src/NVProperty.cpp
RadioShuttle/NVProperty
5028d28c2addcd2a4091e37989fd0817e7d7fbe9
[ "Apache-2.0" ]
null
null
null
src/NVProperty.cpp
RadioShuttle/NVProperty
5028d28c2addcd2a4091e37989fd0817e7d7fbe9
[ "Apache-2.0" ]
null
null
null
src/NVProperty.cpp
RadioShuttle/NVProperty
5028d28c2addcd2a4091e37989fd0817e7d7fbe9
[ "Apache-2.0" ]
null
null
null
/* * Copyright (c) 2019 Helmut Tschemernjak * 30826 Garbsen (Hannover) Germany * Licensed under the Apache License, Version 2.0); */ #ifdef ARDUINO #include <Arduino.h> #elif __MBED__ #include <mbed.h> #else #error "Unkown operating system" #endif #include <NVPropertyProviderInterface.h> #include <NVProperty_SRA...
20.751412
94
0.585216
RadioShuttle
0392611ba04118daee7bc62ab7989233c6d5535c
706
cpp
C++
Competitve Programming & Online Problems/Coding-Interview/Chapter 3 - Stacks and Queues/3.5 sort_stack.cpp
srini1392/Programming-in-Cpp
099f44d65cbe976b27625e5806b32ab88414b019
[ "MIT" ]
1
2019-01-02T21:52:49.000Z
2019-01-02T21:52:49.000Z
Competitve Programming & Online Problems/Coding-Interview/Chapter 3 - Stacks and Queues/3.5 sort_stack.cpp
srini1392/Programming-in-Cpp
099f44d65cbe976b27625e5806b32ab88414b019
[ "MIT" ]
1
2019-04-05T00:00:13.000Z
2019-04-05T00:00:13.000Z
Competitve Programming & Online Problems/Coding-Interview/Chapter 3 - Stacks and Queues/3.5 sort_stack.cpp
srini1392/Programming-in-Cpp
099f44d65cbe976b27625e5806b32ab88414b019
[ "MIT" ]
5
2019-02-18T08:42:32.000Z
2021-04-27T12:11:43.000Z
#include <bits/stdc++.h> using namespace std; template <class T> void sort_stack(vector<T> *s) { vector<T> r; while ((*s).size()) { T temp = (*s).back(); (*s).pop_back(); while (r.size() && r.back() > temp) { (*s).push_back(r.back()); r.pop_back(); ...
18.102564
43
0.446176
srini1392
0394b50e8ed2c4dd1acc34bea63e9c815266adc5
4,997
cpp
C++
OpenSees/SRC/element/updatedLagrangianBeamColumn/Elastic2DGNL.cpp
kuanshi/ductile-fracture
ccb350564df54f5c5ec3a079100effe261b46650
[ "MIT" ]
8
2019-03-05T16:25:10.000Z
2020-04-17T14:12:03.000Z
SRC/element/updatedLagrangianBeamColumn/Elastic2DGNL.cpp
steva44/OpenSees
417c3be117992a108c6bbbcf5c9b63806b9362ab
[ "TCL" ]
null
null
null
SRC/element/updatedLagrangianBeamColumn/Elastic2DGNL.cpp
steva44/OpenSees
417c3be117992a108c6bbbcf5c9b63806b9362ab
[ "TCL" ]
3
2019-09-21T03:11:11.000Z
2020-01-19T07:29:37.000Z
/* ****************************************************************** ** ** OpenSees - Open System for Earthquake Engineering Simulation ** ** Pacific Earthquake Engineering Research Center ** ** ** ** ...
29.744048
107
0.479288
kuanshi
039522f4f213257af29a27c6a775fba3c27e0242
29,098
cpp
C++
sample/caged.cpp
jb55/libcage
7d39947a5c73bfba2e0b68513ded7a9de0d8dac6
[ "BSD-3-Clause" ]
1
2015-03-29T11:00:09.000Z
2015-03-29T11:00:09.000Z
sample/caged.cpp
jb55/libcage
7d39947a5c73bfba2e0b68513ded7a9de0d8dac6
[ "BSD-3-Clause" ]
null
null
null
sample/caged.cpp
jb55/libcage
7d39947a5c73bfba2e0b68513ded7a9de0d8dac6
[ "BSD-3-Clause" ]
null
null
null
#include <errno.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <unistd.h> #include <arpa/inet.h> #include <sys/types.h> #include <sys/socket.h> #include <sys/stat.h> #include <event.h> #include <libcage/cage.hpp> #include <iostream> #include <string> #include <boost/lexical_cast.hpp> #incl...
31.697168
92
0.468177
jb55
0396df5b6a69bf857f9697957de56037943d4780
3,068
cpp
C++
LeetCode/941.cpp
jnvshubham7/CPP_Programming
a17c4a42209556495302ca305b7c3026df064041
[ "Apache-2.0" ]
1
2021-12-22T12:37:36.000Z
2021-12-22T12:37:36.000Z
LeetCode/941.cpp
jnvshubham7/CPP_Programming
a17c4a42209556495302ca305b7c3026df064041
[ "Apache-2.0" ]
null
null
null
LeetCode/941.cpp
jnvshubham7/CPP_Programming
a17c4a42209556495302ca305b7c3026df064041
[ "Apache-2.0" ]
null
null
null
class Solution { public: bool validMountainArray(vector<int>& arr) { int n=arr.size(); int count1=0; int count2=0; if(arr.size() < 3) return false; //check any any element is same in array return false for(int i = 0; i < arr.size() - 1; i++) { if(ar...
22.558824
75
0.390156
jnvshubham7
0397526a8bc73b4e3f64ed5cd6ea08b8aef7d6eb
1,254
hpp
C++
Animator/src/Debug.hpp
Trequend/Animator
583d1d76d4e25a2840d1e122654c80f794f91d51
[ "MIT" ]
null
null
null
Animator/src/Debug.hpp
Trequend/Animator
583d1d76d4e25a2840d1e122654c80f794f91d51
[ "MIT" ]
null
null
null
Animator/src/Debug.hpp
Trequend/Animator
583d1d76d4e25a2840d1e122654c80f794f91d51
[ "MIT" ]
null
null
null
#pragma once #include <ctime> #include <cstdio> #include <vector> #include <imgui/imgui.h> #include "window/DebugWindow.hpp" #ifndef MESSAGE_BUFFER_SIZE #define MESSAGE_BUFFER_SIZE 2000 #endif // !MESSAGE_BUFFER_SIZE class Debug { friend class DebugWindow; public: enum class MessageType { Info, Warning, ...
19.292308
90
0.703349
Trequend
039b753bf1d4f56f250fb5527fd17d860af561fc
11,782
cpp
C++
src/all/frm/core/TextureAtlas.cpp
CPau/GfxSampleFramework
aa32d505d7ad6b53691daa2805a1b6c408e6c34a
[ "MIT" ]
null
null
null
src/all/frm/core/TextureAtlas.cpp
CPau/GfxSampleFramework
aa32d505d7ad6b53691daa2805a1b6c408e6c34a
[ "MIT" ]
null
null
null
src/all/frm/core/TextureAtlas.cpp
CPau/GfxSampleFramework
aa32d505d7ad6b53691daa2805a1b6c408e6c34a
[ "MIT" ]
null
null
null
#include "TextureAtlas.h" #include <frm/core/Texture.h> #include <apt/Image.h> #ifdef frm_TextureAtlas_DEBUG #include <imgui/imgui.h> static eastl::vector<frm::TextureAtlas::Region*> s_dbgRegionList; #endif using namespace frm; using namespace apt; /***************************************************************...
29.827848
119
0.652775
CPau
039ddd9c06d91ad456c52f2731f6fe4ddb61526c
765
cpp
C++
tests/lexy/input/base.cpp
netcan/lexy
775e3d6bf1169ce13b08598d774e707c253f0792
[ "BSL-1.0" ]
null
null
null
tests/lexy/input/base.cpp
netcan/lexy
775e3d6bf1169ce13b08598d774e707c253f0792
[ "BSL-1.0" ]
null
null
null
tests/lexy/input/base.cpp
netcan/lexy
775e3d6bf1169ce13b08598d774e707c253f0792
[ "BSL-1.0" ]
null
null
null
// Copyright (C) 2020 Jonathan Müller <jonathanmueller.dev@gmail.com> // This file is subject to the license terms in the LICENSE file // found in the top-level directory of this distribution. #include <lexy/input/base.hpp> #include <doctest/doctest.h> #include <lexy/input/string_input.hpp> TEST_CASE("partial_reader...
26.37931
69
0.654902
netcan
03a26d793d446d7efba14b9a7df18e1e3221ec17
1,060
cpp
C++
example-8/src/ClientWin.cpp
GGolbik/basics-cpp
37466e7fa03b428093055a269e2ee96b8e685b82
[ "MIT" ]
null
null
null
example-8/src/ClientWin.cpp
GGolbik/basics-cpp
37466e7fa03b428093055a269e2ee96b8e685b82
[ "MIT" ]
null
null
null
example-8/src/ClientWin.cpp
GGolbik/basics-cpp
37466e7fa03b428093055a269e2ee96b8e685b82
[ "MIT" ]
null
null
null
#ifdef _WIN32 // _WIN32 marco is defined for both 32-bit and 64-bit environments // windows code goes here #include <iostream> #include "Client.h" namespace ggolbik { namespace cpp { namespace tls { Client::Client(std::string serverAddress, unsigned short port) : serverAddress{serverAddress}, port{port} {} Cli...
23.555556
73
0.695283
GGolbik
03a354546d987610a72062ef6ae9f7cfb7c5a721
5,742
cpp
C++
applications/DEMApplication/custom_constitutive/DEM_continuum_constitutive_law.cpp
clazaro/Kratos
b947b82c90dfcbf13d60511427f85990d36b90be
[ "BSD-4-Clause" ]
2
2020-12-22T11:50:11.000Z
2021-09-15T11:36:30.000Z
applications/DEMApplication/custom_constitutive/DEM_continuum_constitutive_law.cpp
clazaro/Kratos
b947b82c90dfcbf13d60511427f85990d36b90be
[ "BSD-4-Clause" ]
3
2021-08-18T16:12:20.000Z
2021-09-02T07:36:15.000Z
applications/DEMApplication/custom_constitutive/DEM_continuum_constitutive_law.cpp
clazaro/Kratos
b947b82c90dfcbf13d60511427f85990d36b90be
[ "BSD-4-Clause" ]
1
2020-12-28T15:39:39.000Z
2020-12-28T15:39:39.000Z
#include "DEM_continuum_constitutive_law.h" #include "custom_elements/spheric_continuum_particle.h" namespace Kratos { DEMContinuumConstitutiveLaw::DEMContinuumConstitutiveLaw() {} DEMContinuumConstitutiveLaw::DEMContinuumConstitutiveLaw(const DEMContinuumConstitutiveLaw &rReferenceContinuumConstitutiveLaw) ...
59.8125
164
0.550157
clazaro
03a42e9142ad8381137aab0a63659e963d46d1b6
6,323
cpp
C++
groups/bbl/bblscm/bblscm_versiontag.t.cpp
Nexuscompute/bde
d717c1cb780a46afe9373f522ba0e6ef9bab6220
[ "Apache-2.0" ]
null
null
null
groups/bbl/bblscm/bblscm_versiontag.t.cpp
Nexuscompute/bde
d717c1cb780a46afe9373f522ba0e6ef9bab6220
[ "Apache-2.0" ]
null
null
null
groups/bbl/bblscm/bblscm_versiontag.t.cpp
Nexuscompute/bde
d717c1cb780a46afe9373f522ba0e6ef9bab6220
[ "Apache-2.0" ]
null
null
null
// bblscm_versiontag.t.cpp -*-C++-*- #include <bblscm_versiontag.h> #include <bsls_bsltestutil.h> #include <bsl_cstdlib.h> // atoi() #include <bsl_cstring.h> #include <bsl_cstdio.h> using namespace BloombergLP; static bool verbose = false; static bool veryVerbose = fa...
34.933702
79
0.517792
Nexuscompute
03a61165250c861cd34edb1cd981042de23e67c8
4,579
cpp
C++
Source/UnrealEnginePython/Private/Slate/UEPySGraphPanel.cpp
recogni/UnrealEnginePython
57310d0881a408d9392188aa8f6aeb4443e17c96
[ "MIT" ]
null
null
null
Source/UnrealEnginePython/Private/Slate/UEPySGraphPanel.cpp
recogni/UnrealEnginePython
57310d0881a408d9392188aa8f6aeb4443e17c96
[ "MIT" ]
null
null
null
Source/UnrealEnginePython/Private/Slate/UEPySGraphPanel.cpp
recogni/UnrealEnginePython
57310d0881a408d9392188aa8f6aeb4443e17c96
[ "MIT" ]
null
null
null
#include "UnrealEnginePythonPrivatePCH.h" #if WITH_EDITOR #if ENGINE_MINOR_VERSION > 15 #include "UEPySGraphPanel.h" #define sw_graph_panel StaticCastSharedRef<SGraphPanel>(self->s_nodePanel.s_panel.s_widget) /* static PyObject *py_ue_sgraph_panel_add_slot(ue_PySGraphPanel* self, PyObject *args, PyObject *kwargs) { ...
32.942446
110
0.56366
recogni
03a64b7c25c08d22ff6ef2a03d9014ce1515f1fe
700
hpp
C++
link.hpp
helm100/2d-cdt
e79044451f0f84c1b0ff5c3290a61b5f24df45c0
[ "MIT" ]
3
2021-01-11T14:28:27.000Z
2022-02-08T14:19:30.000Z
link.hpp
helm100/2d-cdt
e79044451f0f84c1b0ff5c3290a61b5f24df45c0
[ "MIT" ]
1
2021-02-26T12:40:53.000Z
2021-02-26T12:40:53.000Z
link.hpp
helm100/2d-cdt
e79044451f0f84c1b0ff5c3290a61b5f24df45c0
[ "MIT" ]
1
2021-03-02T16:03:14.000Z
2021-03-02T16:03:14.000Z
// Copyright 2020 Joren Brunekreef and Andrzej Görlich #ifndef LINK_HPP_ #define LINK_HPP_ #include "pool.hpp" class Vertex; class Triangle; class Link : public Pool<Link> { public: static const unsigned pool_size = 10000000; Pool<Vertex>::Label getVertexFinal(); Pool<Vertex>::Label getVertexInitial(); Pool<Tri...
22.580645
71
0.732857
helm100
03a7a16d727583b5c47cc642f4e617a104217942
1,141
cpp
C++
examples/Primitives/src/main.cpp
jamjarlabs/JamJarNative
ed8aea9cbd3f1eed3eb49c7da0df50eea87e880e
[ "MIT" ]
1
2022-03-28T02:26:23.000Z
2022-03-28T02:26:23.000Z
examples/Primitives/src/main.cpp
jamjarlabs/JamJarNative
ed8aea9cbd3f1eed3eb49c7da0df50eea87e880e
[ "MIT" ]
103
2020-02-24T23:52:58.000Z
2021-04-18T21:00:50.000Z
examples/Primitives/src/main.cpp
jamjarlabs/JamJarNative
ed8aea9cbd3f1eed3eb49c7da0df50eea87e880e
[ "MIT" ]
1
2021-05-20T22:29:44.000Z
2021-05-20T22:29:44.000Z
#include "emscripten/html5.h" #include "entity/entity_manager.hpp" #include "game.hpp" #include "message/message_bus.hpp" #include "message/message_payload.hpp" #include "primitives.hpp" #include "standard/2d/interpolation/interpolation_system.hpp" #include "standard/2d/primitive/primitive_system.hpp" #include "standar...
32.6
73
0.751096
jamjarlabs
03a8672bbce093bf438e43aaf4102e41ec18d631
16,114
cc
C++
lib/seldon/test/unit/eigenvalue_feast.cc
HongyuHe/lsolver
c791bf192308ba6b564cb60cb3991d2e72093cd7
[ "Apache-2.0" ]
7
2021-01-31T23:20:07.000Z
2021-09-09T20:54:15.000Z
lib/seldon/test/unit/eigenvalue_feast.cc
HongyuHe/lsolver
c791bf192308ba6b564cb60cb3991d2e72093cd7
[ "Apache-2.0" ]
1
2021-06-07T07:52:38.000Z
2021-08-13T20:40:55.000Z
lib/seldon/test/unit/eigenvalue_feast.cc
HongyuHe/lsolver
c791bf192308ba6b564cb60cb3991d2e72093cd7
[ "Apache-2.0" ]
null
null
null
#include "SeldonLib.hxx" using namespace Seldon; double threshold = 1e-10; /************************ * Checking eigenvalues * ************************/ // checking symmetric standard eigenproblems template<class MatrixS, class Vector1, class Matrix1> void CheckEigenvalues(const MatrixS& mat_stiff, ...
26.373159
173
0.583592
HongyuHe
03a91fe7f6ffd57ba51261e671bb6adbae3f5b27
73,798
cpp
C++
2006/samples/reactors/DWFMetaData/DWFAPI.cpp
kevinzhwl/ObjectARXMod
ef4c87db803a451c16213a7197470a3e9b40b1c6
[ "MIT" ]
1
2021-06-25T02:58:47.000Z
2021-06-25T02:58:47.000Z
2006/samples/reactors/DWFMetaData/DWFAPI.cpp
kevinzhwl/ObjectARXMod
ef4c87db803a451c16213a7197470a3e9b40b1c6
[ "MIT" ]
null
null
null
2006/samples/reactors/DWFMetaData/DWFAPI.cpp
kevinzhwl/ObjectARXMod
ef4c87db803a451c16213a7197470a3e9b40b1c6
[ "MIT" ]
3
2020-05-23T02:47:44.000Z
2020-10-27T01:26:53.000Z
// (C) Copyright 2004 by Autodesk, Inc. // // Permission to use, copy, modify, and distribute this software in // object code form for any purpose and without fee is hereby granted, // provided that the above copyright notice appears in all copies and // that both that copyright notice and the limited warranty ...
34.436771
141
0.691821
kevinzhwl
03aa9ba8720287b2efda4aa8189528cca5319153
6,958
hpp
C++
ocs2_thirdparty/include/cppad/local/optimize/get_op_previous.hpp
grizzi/ocs2
4b78c4825deb8b2efc992fdbeef6fdb1fcca2345
[ "BSD-3-Clause" ]
126
2021-07-13T13:59:12.000Z
2022-03-31T02:52:18.000Z
ocs2_thirdparty/include/cppad/local/optimize/get_op_previous.hpp
grizzi/ocs2
4b78c4825deb8b2efc992fdbeef6fdb1fcca2345
[ "BSD-3-Clause" ]
27
2021-07-14T12:14:04.000Z
2022-03-30T16:27:52.000Z
ocs2_thirdparty/include/cppad/local/optimize/get_op_previous.hpp
grizzi/ocs2
4b78c4825deb8b2efc992fdbeef6fdb1fcca2345
[ "BSD-3-Clause" ]
55
2021-07-14T07:08:47.000Z
2022-03-31T15:54:30.000Z
# ifndef CPPAD_LOCAL_OPTIMIZE_GET_OP_PREVIOUS_HPP # define CPPAD_LOCAL_OPTIMIZE_GET_OP_PREVIOUS_HPP /* -------------------------------------------------------------------------- CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-18 Bradley M. Bell CppAD is distributed under the terms of the Eclips...
33.291866
79
0.542828
grizzi
03aeca585a9a5164b117f7f9af56071cb43c1513
22,291
cpp
C++
agent/config.cpp
markovchainz/cppagent
97314ec43786a90697ca7fda15db13f2973aee3e
[ "Apache-2.0" ]
null
null
null
agent/config.cpp
markovchainz/cppagent
97314ec43786a90697ca7fda15db13f2973aee3e
[ "Apache-2.0" ]
null
null
null
agent/config.cpp
markovchainz/cppagent
97314ec43786a90697ca7fda15db13f2973aee3e
[ "Apache-2.0" ]
null
null
null
/* * Copyright Copyright 2012, System Insights, 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 requi...
33.928463
135
0.636759
markovchainz
03af014a9d8ef72ced695c343c136bd7c4e82d97
13,959
cpp
C++
src/systemfonts.cpp
kevinushey/systemfonts
597f94f1cb55ba7693c5534638978924fa6a6394
[ "MIT" ]
null
null
null
src/systemfonts.cpp
kevinushey/systemfonts
597f94f1cb55ba7693c5534638978924fa6a6394
[ "MIT" ]
null
null
null
src/systemfonts.cpp
kevinushey/systemfonts
597f94f1cb55ba7693c5534638978924fa6a6394
[ "MIT" ]
null
null
null
#include <string> #include <R.h> #include <Rinternals.h> #include <R_ext/GraphicsEngine.h> #include "systemfonts.h" #include "utils.h" #include "FontDescriptor.h" // these functions are implemented by the platform ResultSet *getAvailableFonts(); ResultSet *findFonts(FontDescriptor *); FontDescriptor *findFont(FontDe...
31.368539
95
0.668243
kevinushey
03b29aeecb1a0a5698052e83864dbf845a4ecc47
230
cpp
C++
201-300/231-240/233-numberOfDigitOne/numberOfDigitOne.cpp
xuychen/Leetcode
c8bf33af30569177c5276ffcd72a8d93ba4c402a
[ "MIT" ]
null
null
null
201-300/231-240/233-numberOfDigitOne/numberOfDigitOne.cpp
xuychen/Leetcode
c8bf33af30569177c5276ffcd72a8d93ba4c402a
[ "MIT" ]
null
null
null
201-300/231-240/233-numberOfDigitOne/numberOfDigitOne.cpp
xuychen/Leetcode
c8bf33af30569177c5276ffcd72a8d93ba4c402a
[ "MIT" ]
null
null
null
class Solution { public: int countDigitOne(int n) { int ones = 0; for (long long m = 1; m <= n; m *= 10) ones += (n / m + 8) / 10 * m + (n / m % 10 == 1) * (n % m + 1); return ones; } };
25.555556
75
0.404348
xuychen
03b2d68381cf703fe34e113035b6220adb396936
4,754
cpp
C++
src/parseInput/parseTiledModel.cpp
daklinus/model-synthesis
1c2c0c18df72bba82e36c092fc639776dabd878c
[ "MIT" ]
47
2021-07-30T12:32:14.000Z
2022-03-20T22:02:46.000Z
src/parseInput/parseTiledModel.cpp
daklinus/model-synthesis
1c2c0c18df72bba82e36c092fc639776dabd878c
[ "MIT" ]
1
2021-11-29T18:26:53.000Z
2021-11-29T18:26:53.000Z
src/parseInput/parseTiledModel.cpp
daklinus/model-synthesis
1c2c0c18df72bba82e36c092fc639776dabd878c
[ "MIT" ]
3
2021-09-08T11:31:59.000Z
2022-01-05T14:33:07.000Z
// Copyright (c) 2021 Paul Merrell #include <iostream> #include <fstream> #include <sstream> #include "parseTiledModel.h" using namespace std; // Parse a <tiledmodel /> input. void parseTiledModel(InputSettings& settings) { string path = "samples/" + settings.name; ifstream modelFile(path, ios::in); if (!modelFile...
26.858757
116
0.592133
daklinus
03b5370273740e53b66b1aecc114f74eb5db2b8a
512
hpp
C++
include/jln/mp/functional/flip.hpp
jonathanpoelen/jln.mp
e5f05fc4467f14ac0047e3bdc75a04076e689985
[ "MIT" ]
9
2020-07-04T16:46:13.000Z
2022-01-09T21:59:31.000Z
include/jln/mp/functional/flip.hpp
jonathanpoelen/jln.mp
e5f05fc4467f14ac0047e3bdc75a04076e689985
[ "MIT" ]
null
null
null
include/jln/mp/functional/flip.hpp
jonathanpoelen/jln.mp
e5f05fc4467f14ac0047e3bdc75a04076e689985
[ "MIT" ]
1
2021-05-23T13:37:40.000Z
2021-05-23T13:37:40.000Z
#pragma once #include <jln/mp/list/listify.hpp> #include <jln/mp/utility/unpack.hpp> #include <jln/mp/functional/call.hpp> namespace jln::mp { /// \ingroup functional /// Invokes a \function with its two first arguments reversed. /// \treturn \sequence template<class C = listify> struct flip { templa...
19.692308
64
0.640625
jonathanpoelen
03b65e98df5672597fafc9bb3f34b48f11ef1ba4
15,699
cpp
C++
sourcedata/jedit41source/jEdit/jeditshell/jeditlauncher/ScriptWriter.cpp
DXYyang/SDP
6ad0daf242d4062888ceca6d4a1bd4c41fd99b63
[ "Apache-2.0" ]
6
2020-10-27T06:11:59.000Z
2021-09-09T13:52:42.000Z
sourcedata/jedit41source/jEdit/jeditshell/jeditlauncher/ScriptWriter.cpp
DXYyang/SDP
6ad0daf242d4062888ceca6d4a1bd4c41fd99b63
[ "Apache-2.0" ]
8
2020-11-16T20:41:38.000Z
2022-02-01T01:05:45.000Z
sourcedata/jedit41source/jEdit/jeditshell/jeditlauncher/ScriptWriter.cpp
DXYyang/SDP
6ad0daf242d4062888ceca6d4a1bd4c41fd99b63
[ "Apache-2.0" ]
null
null
null
/* * ScriptWriter.cpp - part of jEditLauncher package * Copyright (C) 2001 John Gellene * jgellene@nyc.rr.com * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the ...
24.339535
87
0.679661
DXYyang
03b7acf4293f327946ef2e921c4ebbaf9182fea7
3,384
hpp
C++
libs/Delphi/src/Syntax/DelphiParameterSyntax.hpp
henrikfroehling/interlinck
d9d947b890d9286c6596c687fcfcf016ef820d6b
[ "MIT" ]
null
null
null
libs/Delphi/src/Syntax/DelphiParameterSyntax.hpp
henrikfroehling/interlinck
d9d947b890d9286c6596c687fcfcf016ef820d6b
[ "MIT" ]
19
2021-12-01T20:37:23.000Z
2022-02-14T21:05:43.000Z
libs/Delphi/src/Syntax/DelphiParameterSyntax.hpp
henrikfroehling/interlinck
d9d947b890d9286c6596c687fcfcf016ef820d6b
[ "MIT" ]
null
null
null
#ifndef ARGOS_DELPHI_SYNTAX_DELPHIPARAMETERSYNTAX_H #define ARGOS_DELPHI_SYNTAX_DELPHIPARAMETERSYNTAX_H #include <string> #include <argos-Core/Syntax/SyntaxVariant.hpp> #include <argos-Core/Types.hpp> #include "Syntax/DelphiSyntaxNode.hpp" namespace argos::Core::Syntax { class ISyntaxToken; } namespace argos::Delp...
38.022472
110
0.673168
henrikfroehling
03b7bf917ca67d53e4fa12a4cf339b65938c2a8d
8,035
cc
C++
L1TriggerConfig/L1ScalesProducers/src/L1JetEtScaleOnlineProd.cc
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
852
2015-01-11T21:03:51.000Z
2022-03-25T21:14:00.000Z
L1TriggerConfig/L1ScalesProducers/src/L1JetEtScaleOnlineProd.cc
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
30,371
2015-01-02T00:14:40.000Z
2022-03-31T23:26:05.000Z
L1TriggerConfig/L1ScalesProducers/src/L1JetEtScaleOnlineProd.cc
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
3,240
2015-01-02T05:53:18.000Z
2022-03-31T17:24:21.000Z
// -*- C++ -*- // // Package: L1JetEtScaleOnlineProd // Class: L1JetEtScaleOnlineProd // /**\class L1JetEtScaleOnlineProd L1JetEtScaleOnlineProd.h L1TriggerConfig/L1ScalesProducers/src/L1JetEtScaleOnlineProd.cc Description: Online producer for L1 jet Et scales Implementation: <Notes on implementation> ...
39.004854
121
0.697822
ckamtsikis
03b8677a9dee93d9a96f67472fefc39dbe332750
4,681
cpp
C++
tests/symbols_tests.cpp
ruthenium96/july
62f93b33253cd7324b36c851afc58b6f80c00248
[ "Apache-2.0" ]
null
null
null
tests/symbols_tests.cpp
ruthenium96/july
62f93b33253cd7324b36c851afc58b6f80c00248
[ "Apache-2.0" ]
5
2021-11-28T14:29:35.000Z
2022-03-21T08:16:20.000Z
tests/symbols_tests.cpp
ruthenium96/july
62f93b33253cd7324b36c851afc58b6f80c00248
[ "Apache-2.0" ]
null
null
null
#include "gtest/gtest.h" #include "src/common/runner/Runner.h" TEST(symbols, throw_add_the_same_symbol_name) { model::symbols::Symbols symbols(2); symbols.addSymbol("same", 10); EXPECT_THROW(symbols.addSymbol("same", 10), std::invalid_argument); } TEST(symbols, throw_assign_the_same_exchange) { model:...
36.570313
96
0.701346
ruthenium96
03b8d2a2b0475d08a3b099bb0f5ef1123d371739
458
cpp
C++
uva/c/10820.cpp
dk00/old-stuff
e1184684c85fe9bbd1ceba58b94d4da84c67784e
[ "Unlicense" ]
null
null
null
uva/c/10820.cpp
dk00/old-stuff
e1184684c85fe9bbd1ceba58b94d4da84c67784e
[ "Unlicense" ]
null
null
null
uva/c/10820.cpp
dk00/old-stuff
e1184684c85fe9bbd1ceba58b94d4da84c67784e
[ "Unlicense" ]
null
null
null
#include<stdio.h> #define MAX 50000 int notp[MAX+1]; long long t[MAX+1]; main(){ long i,j,p; for(i=4;i<=MAX;i++,i++)notp[i]=1; for(i=3;i<=MAX;i++,i++) if(!notp[i]) for(j=i*3;j<=MAX;j+=i*2)notp[j]=1; for(t[1]=1,i=2;i<=MAX;i++){ for(p=i,j=2;j*j<=i;j++) if(i%j==0){ if(!notp[j])p-=p/j; ...
21.809524
48
0.445415
dk00
03ba5b61d4f0bc71fa878e44810db854ec2ecfce
5,639
cpp
C++
tc 160+/PizzaDelivery.cpp
ibudiselic/contest-problem-solutions
88082981b4d87da843472e3ca9ed5f4c42b3f0aa
[ "BSD-2-Clause" ]
3
2015-05-25T06:24:37.000Z
2016-09-10T07:58:00.000Z
tc 160+/PizzaDelivery.cpp
ibudiselic/contest-problem-solutions
88082981b4d87da843472e3ca9ed5f4c42b3f0aa
[ "BSD-2-Clause" ]
null
null
null
tc 160+/PizzaDelivery.cpp
ibudiselic/contest-problem-solutions
88082981b4d87da843472e3ca9ed5f4c42b3f0aa
[ "BSD-2-Clause" ]
5
2015-05-25T06:24:40.000Z
2021-08-19T19:22:29.000Z
#include <algorithm> #include <cassert> #include <cstdio> #include <iostream> #include <sstream> #include <string> #include <vector> #include <cstring> #include <queue> using namespace std; int T[20]; int dest[50][50]; int N; int best[50][50]; const int inf = (1<<29); struct state { int t, i, j;...
32.408046
309
0.422238
ibudiselic
03bf5c479c5afaa1bdc0f1d097561f87fc0e61bf
15,049
cc
C++
file/list_file_reader.cc
dendisuhubdy/gaia
a988b7f08a4080a3209eba6cb378718486947a68
[ "BSD-2-Clause" ]
72
2019-01-25T09:03:41.000Z
2022-01-16T01:01:55.000Z
file/list_file_reader.cc
dendisuhubdy/gaia
a988b7f08a4080a3209eba6cb378718486947a68
[ "BSD-2-Clause" ]
35
2019-09-20T05:02:22.000Z
2022-02-14T17:28:58.000Z
file/list_file_reader.cc
dendisuhubdy/gaia
a988b7f08a4080a3209eba6cb378718486947a68
[ "BSD-2-Clause" ]
15
2018-08-12T13:43:31.000Z
2022-02-09T08:04:27.000Z
// Copyright 2019, Beeri 15. All rights reserved. // Author: Roman Gershman (romange@gmail.com) // // Based on LevelDB implementation. #include "file/list_file_reader.h" #include <cstdio> #include "base/flags.h" #include "base/varint.h" #include "base/crc32c.h" #include "base/fixed.h" #include "file/compressors.h" ...
32.573593
100
0.643498
dendisuhubdy
03bfdc806b7a67ddcc7cb79eda6d799c4d39601b
1,754
hpp
C++
modules/models/behavior/behavior_model.hpp
grzPat/bark
807092815c81eeb23defff473449a535a9c42f8b
[ "MIT" ]
null
null
null
modules/models/behavior/behavior_model.hpp
grzPat/bark
807092815c81eeb23defff473449a535a9c42f8b
[ "MIT" ]
null
null
null
modules/models/behavior/behavior_model.hpp
grzPat/bark
807092815c81eeb23defff473449a535a9c42f8b
[ "MIT" ]
null
null
null
// Copyright (c) 2019 fortiss GmbH, Julian Bernhard, Klemens Esterle, Patrick Hart, Tobias Kessler // // This work is licensed under the terms of the MIT license. // For a copy, see <https://opensource.org/licenses/MIT>. #ifndef MODULES_MODELS_BEHAVIOR_BEHAVIOR_MODEL_HPP_ #define MODULES_MODELS_BEHAVIOR_BEHAVIOR_MODE...
28.754098
98
0.730901
grzPat
03c005a2358ecf9334359c7d3e0e25d87eb9189b
5,297
hpp
C++
cpp/include/cudf/strings/convert/convert_durations.hpp
Ahsantw/cudf
e099688d5ca7dd20104930485a829881a68c522a
[ "Apache-2.0" ]
4,012
2018-10-29T00:11:19.000Z
2022-03-31T19:20:19.000Z
cpp/include/cudf/strings/convert/convert_durations.hpp
Ahsantw/cudf
e099688d5ca7dd20104930485a829881a68c522a
[ "Apache-2.0" ]
9,865
2018-10-29T12:52:07.000Z
2022-03-31T23:09:21.000Z
cpp/include/cudf/strings/convert/convert_durations.hpp
Ahsantw/cudf
e099688d5ca7dd20104930485a829881a68c522a
[ "Apache-2.0" ]
588
2018-10-29T05:52:44.000Z
2022-03-28T06:13:09.000Z
/* * Copyright (c) 2020, NVIDIA 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 ...
40.746154
100
0.649424
Ahsantw