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
109
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
48.5k
⌀
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
df696042403ec94aa1d5b6c0bc9f87f52a140f12
17,943
cpp
C++
src/browser/browserwindow.cpp
e4z9/photobrowser
68cf4df7d89f4c3a29c03c1c3bf3db6c3e6bbc63
[ "BSD-3-Clause" ]
null
null
null
src/browser/browserwindow.cpp
e4z9/photobrowser
68cf4df7d89f4c3a29c03c1c3bf3db6c3e6bbc63
[ "BSD-3-Clause" ]
null
null
null
src/browser/browserwindow.cpp
e4z9/photobrowser
68cf4df7d89f4c3a29c03c1c3bf3db6c3e6bbc63
[ "BSD-3-Clause" ]
null
null
null
#include "browserwindow.h" #include "directorytree.h" #include "filmrollview.h" #include "fullscreensplitter.h" #include "sqaction.h" #include "sqcheckbox.h" #include "sqlineedit.h" #include <util/fileutil.h> #include <QAction> #include <QActionGroup> #include <QCheckBox> #include <QDesktopServices> #include <QEvent...
39.176856
101
0.658418
e4z9
df69a4ad3d3f057ce18f2e277ce944a1e00d3f14
340
cpp
C++
week4/MajorityElement.cpp
leohr/coursera-algorithmic-toolbox
53894f826f00b0776859174d45395eab48180dde
[ "MIT" ]
null
null
null
week4/MajorityElement.cpp
leohr/coursera-algorithmic-toolbox
53894f826f00b0776859174d45395eab48180dde
[ "MIT" ]
null
null
null
week4/MajorityElement.cpp
leohr/coursera-algorithmic-toolbox
53894f826f00b0776859174d45395eab48180dde
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> using namespace std; int main(){ int n; cin >> n; unordered_map<int, int> d; int maxReps = 0; for (int i=0; i<n; ++i){ int ai; cin >> ai; ++d[ai]; if (d[ai] > maxReps) maxReps = d[ai]; } cout << (maxReps > n/2 ? 1 : 0 ) << end...
21.25
46
0.444118
leohr
df6eb166a57a534a5d0b00ff43013da3dc75a2f2
4,105
hpp
C++
src/core/img_ff_rewriting.hpp
xianghex/also
b223adc430de0ca04e16699e8f8295e4a4cb366c
[ "MIT" ]
48
2019-02-24T07:22:23.000Z
2022-03-18T05:42:18.000Z
src/core/img_ff_rewriting.hpp
panhongyang0/also
ae66b1ab6bf157f194cd41fb771cfcca251be834
[ "MIT" ]
10
2020-03-07T01:39:28.000Z
2022-02-22T12:57:18.000Z
src/core/img_ff_rewriting.hpp
panhongyang0/also
ae66b1ab6bf157f194cd41fb771cfcca251be834
[ "MIT" ]
38
2019-02-24T07:10:57.000Z
2022-03-27T08:44:28.000Z
/* also: Advanced Logic Synthesis and Optimization tool * Copyright (C) 2019- Ningbo University, Ningbo, China */ /** * @file img_ff_rewriting.hpp * * @brief imgplication logic network rewriting for fanout-conflict * * @author Zhufei Chu * @since 0.1 */ #ifndef IMG_FF_REWRITING_HPP #define IMG_FF_REWRITING_H...
26.483871
124
0.481121
xianghex
df7079d8cc0055f9a4d718ac735ece56a116e37b
1,979
cpp
C++
aws-cpp-sdk-iot/source/model/AbortConfig.cpp
curiousjgeorge/aws-sdk-cpp
09b65deba03cfbef9a1e5d5986aa4de71bc03cd8
[ "Apache-2.0" ]
2
2019-03-11T15:50:55.000Z
2020-02-27T11:40:27.000Z
aws-cpp-sdk-iot/source/model/AbortConfig.cpp
curiousjgeorge/aws-sdk-cpp
09b65deba03cfbef9a1e5d5986aa4de71bc03cd8
[ "Apache-2.0" ]
null
null
null
aws-cpp-sdk-iot/source/model/AbortConfig.cpp
curiousjgeorge/aws-sdk-cpp
09b65deba03cfbef9a1e5d5986aa4de71bc03cd8
[ "Apache-2.0" ]
1
2019-01-18T13:03:55.000Z
2019-01-18T13:03:55.000Z
/* * Copyright 2010-2017 Amazon.com, Inc. or its affiliates. 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. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" fil...
25.371795
114
0.746337
curiousjgeorge
df72a07bc32bfd3132f163fdb2b28e4f8cd62917
1,603
cc
C++
z.uncategorized/boj11438.cc
kimminki10/algorithms2
5d3b2d970dbc88169108632ce0d234bf74446316
[ "MIT" ]
null
null
null
z.uncategorized/boj11438.cc
kimminki10/algorithms2
5d3b2d970dbc88169108632ce0d234bf74446316
[ "MIT" ]
null
null
null
z.uncategorized/boj11438.cc
kimminki10/algorithms2
5d3b2d970dbc88169108632ce0d234bf74446316
[ "MIT" ]
null
null
null
#include <cstdio> #include <cstring> #include <algorithm> #include <vector> using namespace std; int N, M; int parent[100'000][18]; // u의 2**k 번째 부모 int depth[100'000]; vector<int> adj[100'001]; void dfs(int curr) { for (int next: adj[curr]) { if (depth[next] == -1) { parent[next][0] = curr; ...
21.092105
73
0.387399
kimminki10
df7782be5d015400b68b6942a87dfa6984c6895d
2,534
cpp
C++
core/fxcrt/cfx_fileaccess_qt.cpp
agrogoth/pdfium
1be462069ea1a40894a100844882acc76a427717
[ "BSD-3-Clause" ]
1
2019-01-12T07:05:12.000Z
2019-01-12T07:05:12.000Z
core/fxcrt/cfx_fileaccess_qt.cpp
agrogoth/pdfium
1be462069ea1a40894a100844882acc76a427717
[ "BSD-3-Clause" ]
null
null
null
core/fxcrt/cfx_fileaccess_qt.cpp
agrogoth/pdfium
1be462069ea1a40894a100844882acc76a427717
[ "BSD-3-Clause" ]
null
null
null
// Copyright 2014 PDFium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com #include "cfx_fileaccess_qt.h" #include "third_party/base/ptr_util.h" namesp...
21.844828
94
0.70442
agrogoth
df79c35954b0bb256583668421d407725eee98de
9,481
cpp
C++
test/external_contribution/cmDNN/cmDNN/CM_Base.cpp
dmitryryintel/cm-compiler
1ef7651dc1c33d3e4853f8779d6a720e45e20e19
[ "Intel", "MIT" ]
115
2018-02-01T18:56:44.000Z
2022-03-21T13:23:00.000Z
test/external_contribution/cmDNN/cmDNN/CM_Base.cpp
dmitryryintel/cm-compiler
1ef7651dc1c33d3e4853f8779d6a720e45e20e19
[ "Intel", "MIT" ]
27
2018-09-17T17:49:49.000Z
2021-11-03T04:31:51.000Z
test/external_contribution/cmDNN/cmDNN/CM_Base.cpp
dmitryryintel/cm-compiler
1ef7651dc1c33d3e4853f8779d6a720e45e20e19
[ "Intel", "MIT" ]
55
2018-02-01T07:11:49.000Z
2022-03-04T01:20:23.000Z
/* * Copyright (c) 2017, Intel Corporation * * 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, ...
27.803519
134
0.630208
dmitryryintel
df7bd00acfe8ea0e5e596aabcb717f1af74bb408
718
cpp
C++
Mapper/Mapper0.cpp
ozanarmagan/NESEmulator
e4f7d5662caae85f1147fa8b57ce3dfa222ea164
[ "MIT" ]
11
2021-11-29T15:05:21.000Z
2022-03-25T06:36:19.000Z
Mapper/Mapper0.cpp
ozanarmagan/NESEmulator
e4f7d5662caae85f1147fa8b57ce3dfa222ea164
[ "MIT" ]
null
null
null
Mapper/Mapper0.cpp
ozanarmagan/NESEmulator
e4f7d5662caae85f1147fa8b57ce3dfa222ea164
[ "MIT" ]
null
null
null
#include "Mapper0.h" namespace nesemulator { Mapper0::Mapper0(Cartridge* cart) : MapperBase(cart) { } BYTE Mapper0::MapReadCpu(ADDRESS address) { if(address >= 0x8000 && address <= 0xFFFF) return cartridge->getPRGData((address - 0x8000) % (cartridge->getPRGNum() * 16 * 1024)); ...
19.405405
100
0.590529
ozanarmagan
df8509ef48190fbe4f25ab589eed5d459f3ca14b
2,692
cc
C++
examples/complex/raytracer/Intersection.cc
paulhjkelly/taskgraph-metaprogramming
54c4e2806a97bec555a90784ab4cf0880660bf89
[ "BSD-3-Clause" ]
5
2020-04-11T21:30:19.000Z
2021-12-04T16:16:09.000Z
examples/complex/raytracer/Intersection.cc
paulhjkelly/taskgraph-metaprogramming
54c4e2806a97bec555a90784ab4cf0880660bf89
[ "BSD-3-Clause" ]
null
null
null
examples/complex/raytracer/Intersection.cc
paulhjkelly/taskgraph-metaprogramming
54c4e2806a97bec555a90784ab4cf0880660bf89
[ "BSD-3-Clause" ]
null
null
null
#include <math.h> #ifdef SPECIALISE #include <TaskGraph> #include <TaskVector.h> #include "VectorOp.h" #endif #include "Intersection.h" #include "Ray.h" #include "Sphere.h" // Returns the first interseection of a ray with a sphere bool Intersection::getFirstPositiveRaySphere(Ray *r, Sphere *s, SCALAR *par) { Vector...
24.697248
200
0.665305
paulhjkelly
df90bac54f9fbd6b2e56c9f217be8a1c4d2727a5
624
cpp
C++
pclem_lib/test/test_matrix_33.cpp
davidlandry93/pclem
20c10eddae1b226d83c89f9ef15acb121b29a421
[ "MIT" ]
null
null
null
pclem_lib/test/test_matrix_33.cpp
davidlandry93/pclem
20c10eddae1b226d83c89f9ef15acb121b29a421
[ "MIT" ]
21
2016-11-16T19:08:13.000Z
2019-01-12T02:05:36.000Z
pclem_lib/test/test_matrix_33.cpp
davidlandry93/pclem
20c10eddae1b226d83c89f9ef15acb121b29a421
[ "MIT" ]
null
null
null
#include "gtest/gtest.h" #include "matrix33.h" #include "vector3.h" namespace pclem { TEST(CovarianceMatrixTest, EigenValuesInOrder) { Matrix33 c({1.0,0.0,0.0,0.0,1.0,0.0,0.0,0.0,1.0}); auto decomposition = c.eigen_decomposition(); auto eigvals = decomposition.first; EXPECT_LE(ei...
24
66
0.616987
davidlandry93
df95d4587190aea30f12161505e47eb30801f589
9,643
cpp
C++
source/plum/core/file.cpp
Bananattack/Plum
60ae0b07c0ef25dfa4bda6e81fe646ace6042664
[ "BSD-3-Clause" ]
5
2015-02-10T03:50:28.000Z
2017-08-23T08:49:49.000Z
source/plum/core/file.cpp
Bananattack/Plum
60ae0b07c0ef25dfa4bda6e81fe646ace6042664
[ "BSD-3-Clause" ]
null
null
null
source/plum/core/file.cpp
Bananattack/Plum
60ae0b07c0ef25dfa4bda6e81fe646ace6042664
[ "BSD-3-Clause" ]
1
2019-10-05T08:54:56.000Z
2019-10-05T08:54:56.000Z
#include "file.h" namespace plum { namespace { const char* getModeFlags(FileOpenMode mode) { switch(mode) { case FileOpenMode::Write: return "wb"; case FileOpenMode::Append: return "ab"; case FileOpenMode::Read:...
26.564738
90
0.488334
Bananattack
df9786003eba5bbb57e8d80a7ce1385ae8b8cf77
9,956
cpp
C++
LiDAR documentation/Delta-3A/Delta-3A_SDK_Windows(c++)/sdk/app/frame_grabber/MainFrm.cpp
NikodemBartnik/LIDAR-Robot
f2007ae4c54b92676f4a585b8455f8f27d830099
[ "MIT" ]
14
2022-01-29T22:58:58.000Z
2022-02-28T11:20:42.000Z
LiDAR documentation/Delta-3A/Delta-3A_SDK_Windows(c++)/sdk/app/frame_grabber/MainFrm.cpp
tranthanh1699/LIDAR-Robot
adebea8c794f189e3cb468805ecfb7f4884b462e
[ "MIT" ]
null
null
null
LiDAR documentation/Delta-3A/Delta-3A_SDK_Windows(c++)/sdk/app/frame_grabber/MainFrm.cpp
tranthanh1699/LIDAR-Robot
adebea8c794f189e3cb468805ecfb7f4884b462e
[ "MIT" ]
5
2022-02-01T22:48:43.000Z
2022-03-30T16:11:35.000Z
/* * RSLIDAR System * Driver Interface * * Copyright 2015 RS Team * All rights reserved. * * Author: ruishi, Data:2015-12-25 * */ // MainFrm.cpp : implmentation of the CMainFrame class // ///////////////////////////////////////////////////////////////////////////// #include "stdafx.h" #include "resource.h" #incl...
26.269129
139
0.685818
NikodemBartnik
df99135e87ce9a6b49394a409d200247e5bbc334
6,717
cpp
C++
IRadiance/src/IRadiance/Platform/OpenGL/GLShader.cpp
Nickelium/IRadiance
7e7040460852a6f9f977cf466e6dcecf44618ae7
[ "MIT" ]
null
null
null
IRadiance/src/IRadiance/Platform/OpenGL/GLShader.cpp
Nickelium/IRadiance
7e7040460852a6f9f977cf466e6dcecf44618ae7
[ "MIT" ]
null
null
null
IRadiance/src/IRadiance/Platform/OpenGL/GLShader.cpp
Nickelium/IRadiance
7e7040460852a6f9f977cf466e6dcecf44618ae7
[ "MIT" ]
null
null
null
#include "pch.h" #include "GLShader.h" #include <glad/glad.h> namespace IRadiance { GLShader::GLShader(const std::string& _vertexSource, const std::string& _fragmentSource) { Handle vertexShader = CreateShader(_vertexSource, ShaderType::VERTEX); Handle fragmentShader = CreateShader(_fragmentSource, ...
30.811927
106
0.700908
Nickelium
df999f2e830f11fa8666d447dc7abecf3fea9a16
13,369
cpp
C++
nf3d/emd.cpp
St4rk/nightmare-fiction
a6eca9bba2913ca7f8266b849cf85081586913ae
[ "MIT" ]
7
2016-09-20T11:49:22.000Z
2019-01-08T17:22:01.000Z
nf3d/emd.cpp
St4rk/nightmare-fiction
a6eca9bba2913ca7f8266b849cf85081586913ae
[ "MIT" ]
null
null
null
nf3d/emd.cpp
St4rk/nightmare-fiction
a6eca9bba2913ca7f8266b849cf85081586913ae
[ "MIT" ]
null
null
null
#include "emd.h" EMD::EMD(const std::string& dir) { FILE *emdFile = nullptr; emdFile = fopen(dir.c_str(), "rb"); // verify if it open the file if (emdFile == nullptr) { std::cout << "EMD file couldn't be loaded - " << dir << std::endl; return; } // get file size fseek(emd...
44.415282
180
0.596155
St4rk
df9d3a5f52a6828e5790c61613da87fff98df74f
5,948
cpp
C++
UUT/Video/Mesh.cpp
kolyden/uut-engine
aa8e5a42c350aceecee668941e06ac626aac6c52
[ "MIT" ]
null
null
null
UUT/Video/Mesh.cpp
kolyden/uut-engine
aa8e5a42c350aceecee668941e06ac626aac6c52
[ "MIT" ]
null
null
null
UUT/Video/Mesh.cpp
kolyden/uut-engine
aa8e5a42c350aceecee668941e06ac626aac6c52
[ "MIT" ]
null
null
null
#include "Mesh.h" #include <Core/Math/Matrix4.h> namespace uut { UUT_OBJECT_IMPLEMENT(Mesh) {} Mesh::~Mesh() { } Mesh::Mesh() : _changed(false) { } // void Mesh::Fill(const List<Vertex>& verts, const List<uint32_t>& indexes) // { // const int count = verts.Count(); // // _vertices.SetSize(count); /...
21.16726
140
0.58423
kolyden
df9eb55895e5bced90b6a30afa6eaaa8a0792f1f
3,618
cpp
C++
src/procedures/BooleanConstraintPropagation.cpp
AntonReinhard/preppy
5fceac3706d503c498a173a557dedda2618e98a3
[ "MIT" ]
null
null
null
src/procedures/BooleanConstraintPropagation.cpp
AntonReinhard/preppy
5fceac3706d503c498a173a557dedda2618e98a3
[ "MIT" ]
3
2021-01-07T18:57:22.000Z
2021-01-11T23:05:22.000Z
src/procedures/BooleanConstraintPropagation.cpp
AntonReinhard/preppy
5fceac3706d503c498a173a557dedda2618e98a3
[ "MIT" ]
1
2020-10-26T18:42:10.000Z
2020-10-26T18:42:10.000Z
/** * @file BooleanConstraintPropagation.cpp * @author Anton Reinhard * @brief Boolean Constraint Propagation procedure implementation * @version 0.1 * @date 2021-01-08 * * @copyright Copyright (c) 2021 * */ #include "BooleanConstraintPropagation.h" #include "../CNF.h" #include "../definitions.h" #include ...
30.923077
125
0.602543
AntonReinhard
df9f027a970fd201f1f5961685034dc6c7e74bdb
5,397
cpp
C++
core/Tools/BrowserImage.cpp
knowac/tizen-browser-30
0ea06a4cd6bdca3dc3da674dd8189bf528c166f8
[ "Apache-2.0" ]
1
2019-01-31T21:44:00.000Z
2019-01-31T21:44:00.000Z
core/Tools/BrowserImage.cpp
knowac/tizen-browser-1.6.4
a37a3ea5b8c01d86bd3dac00d228800e5eed4619
[ "Apache-2.0" ]
null
null
null
core/Tools/BrowserImage.cpp
knowac/tizen-browser-1.6.4
a37a3ea5b8c01d86bd3dac00d228800e5eed4619
[ "Apache-2.0" ]
1
2019-01-31T21:44:04.000Z
2019-01-31T21:44:04.000Z
/* * Copyright (c) 2014 Samsung Electronics 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 l...
30.664773
128
0.660182
knowac
dfb44d8a4aa455cd429e10c06351a057f435c0f9
11,844
cpp
C++
src/designZone/SpNode.cpp
vinben/Rotopp
f0c25db5bd25074c55ff0f67539a2452d92aaf72
[ "Unlicense" ]
47
2016-07-27T07:22:06.000Z
2021-08-17T13:08:19.000Z
src/designZone/SpNode.cpp
vinben/Rotopp
f0c25db5bd25074c55ff0f67539a2452d92aaf72
[ "Unlicense" ]
1
2016-09-24T06:04:39.000Z
2016-09-25T10:34:19.000Z
src/designZone/SpNode.cpp
vinben/Rotopp
f0c25db5bd25074c55ff0f67539a2452d92aaf72
[ "Unlicense" ]
13
2016-07-27T10:44:35.000Z
2020-07-01T21:08:33.000Z
/************************************************************************** ** This file is a part of our work (Siggraph'16 paper, binary, code and dataset): ** ** Roto++: Accelerating Professional Rotoscoping using Shape Manifolds ** Wenbin Li, Fabio Viola, Jonathan Starck, Gabriel J. Brostow and Neill D.F. Campbell *...
31.333333
99
0.638973
vinben
dfb64b362b8d720f2fdb96fa98849398d37548bb
285
cc
C++
src/dfxam.cc
k3v/dfx-and-more
df435f624e78ad3b9c86f8b689b76b726f7883b2
[ "MIT" ]
2
2017-06-08T18:20:03.000Z
2017-06-10T19:21:36.000Z
src/dfxam.cc
furryfaust/dfx-and-more
df435f624e78ad3b9c86f8b689b76b726f7883b2
[ "MIT" ]
null
null
null
src/dfxam.cc
furryfaust/dfx-and-more
df435f624e78ad3b9c86f8b689b76b726f7883b2
[ "MIT" ]
null
null
null
#include "dfxam.h" using namespace dfxam; int main() { repl::ExecutionEngine eng; while (true) { std::cout << ">> "; std::string input; getline(std::cin, input); eng << input; std::cout << std::endl; } return 0; }
14.25
41
0.484211
k3v
dfc1c277f8891ac0c5a7071a7bb6272b65050ee4
1,069
cpp
C++
contrib/optflow/opencl_kernels_optflow.cpp
thigiacmaytinh/opencv320
3eb7525b8ac7f4b293bebcbde355ba68778a3860
[ "BSD-3-Clause" ]
1
2018-10-26T10:18:33.000Z
2018-10-26T10:18:33.000Z
contrib/optflow/opencl_kernels_optflow.cpp
thigiacmaytinh/opencv320
3eb7525b8ac7f4b293bebcbde355ba68778a3860
[ "BSD-3-Clause" ]
null
null
null
contrib/optflow/opencl_kernels_optflow.cpp
thigiacmaytinh/opencv320
3eb7525b8ac7f4b293bebcbde355ba68778a3860
[ "BSD-3-Clause" ]
null
null
null
// This file is auto-generated. Do not edit! #include "precomp.hpp" #include "cvconfig.h" #include "opencl_kernels_optflow.hpp" #ifdef HAVE_OPENCL namespace cv { namespace ocl { namespace optflow { const struct ProgramEntry updatemotionhistory={"updatemotionhistory", "__kernel void updateMotionHistory(__global cons...
27.410256
98
0.712816
thigiacmaytinh
dfc548ed5136a82bd35f49395c9700afb8fa8aa3
6,759
cc
C++
src/openvslam/util/converter.cc
julieta-prieto/openvslam
5b3d6bdf244451c150ef24e17982f2bb895777f8
[ "Apache-2.0", "BSD-2-Clause", "MIT" ]
null
null
null
src/openvslam/util/converter.cc
julieta-prieto/openvslam
5b3d6bdf244451c150ef24e17982f2bb895777f8
[ "Apache-2.0", "BSD-2-Clause", "MIT" ]
null
null
null
src/openvslam/util/converter.cc
julieta-prieto/openvslam
5b3d6bdf244451c150ef24e17982f2bb895777f8
[ "Apache-2.0", "BSD-2-Clause", "MIT" ]
null
null
null
#include "openvslam/util/converter.h" namespace openvslam { namespace util { //------------------------------------------------------------------------------------------- //------------------------------------------------------------------------------------------- //---------------------------------------------------...
31.004587
202
0.558071
julieta-prieto
dfc8de3214a9cd130951b69835d7859cad1d9fd7
573
cpp
C++
plugins/vk-plugin/vk-communication/oauth-exceptions.cpp
sqglobe/SecureDialogues
bde56c7a62fb72b1cdfba8cebc0a770157b5f751
[ "MIT" ]
3
2019-07-05T12:01:36.000Z
2021-03-19T22:48:48.000Z
plugins/vk-plugin/vk-communication/oauth-exceptions.cpp
sqglobe/SecureDialogues
bde56c7a62fb72b1cdfba8cebc0a770157b5f751
[ "MIT" ]
41
2019-11-26T18:59:54.000Z
2020-05-01T10:52:47.000Z
plugins/vk-plugin/vk-communication/oauth-exceptions.cpp
sqglobe/SecureDialogues
bde56c7a62fb72b1cdfba8cebc0a770157b5f751
[ "MIT" ]
3
2019-05-21T17:48:16.000Z
2021-03-19T22:48:49.000Z
#include "oauth-exceptions.h" std::string getErrorCodeMessage(HttpCode code) { switch (code) { case HttpCode::INTERNAL_SERVER_ERROR: return "Internal Server Error"; case HttpCode::UNAUTHORIZED: return "Unauthorized"; default: return "Undefined HTTP error " + std::to_string(static_cast<i...
23.875
78
0.703316
sqglobe
dfce030fd7024cf7453044fe37a81276bf4eeb10
941
hpp
C++
include/utility/memory/addressof.hpp
SakuraLife/utility
b9bf26198917b6dc415520f74eb3eebf8aa8195e
[ "Unlicense" ]
2
2017-12-10T10:59:48.000Z
2017-12-13T04:11:14.000Z
include/utility/memory/addressof.hpp
SakuraLife/utility
b9bf26198917b6dc415520f74eb3eebf8aa8195e
[ "Unlicense" ]
null
null
null
include/utility/memory/addressof.hpp
SakuraLife/utility
b9bf26198917b6dc415520f74eb3eebf8aa8195e
[ "Unlicense" ]
null
null
null
#ifndef __UTILITY_MEMORY_ADDRESSOF__ #define __UTILITY_MEMORY_ADDRESSOF__ #include<utility/config/utility_config.hpp> namespace utility { namespace memory { /*! * \brief Get the pointer of the reference * * Get the pointer of a reference, even if the * operator& is overloaded * * \par...
22.95122
75
0.663124
SakuraLife
254673d24ade938452ddc030bd365ecdd45ea6f9
4,421
cpp
C++
tests/actionspace/test_generic_action_space.cpp
JHLee0513/libcozmo
f3a90a39ec1b1c4ead691328fd43459d67a3a44a
[ "BSD-3-Clause" ]
8
2017-01-11T15:49:34.000Z
2019-04-24T21:49:05.000Z
tests/actionspace/test_generic_action_space.cpp
JHLee0513/libcozmo
f3a90a39ec1b1c4ead691328fd43459d67a3a44a
[ "BSD-3-Clause" ]
6
2019-07-19T01:43:45.000Z
2020-03-10T07:28:30.000Z
tests/actionspace/test_generic_action_space.cpp
JHLee0513/libcozmo
f3a90a39ec1b1c4ead691328fd43459d67a3a44a
[ "BSD-3-Clause" ]
4
2019-07-01T20:04:44.000Z
2020-02-14T10:12:35.000Z
//////////////////////////////////////////////////////////////////////////////// // Copyright (c) 2019, Brian Lee, Vinitha Ranganeni // 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...
43.343137
80
0.70708
JHLee0513
254729e49310fc9e4b6bc6b510cf4c9c519d5664
31
cpp
C++
common/src/imodule.cpp
shockerjue/Gameserver
78faab152e1cb211d551a794ea4df5738cf99b04
[ "Unlicense" ]
31
2017-10-18T08:56:43.000Z
2022-03-22T15:43:10.000Z
common/src/imodule.cpp
shockerjue/Gameserver
78faab152e1cb211d551a794ea4df5738cf99b04
[ "Unlicense" ]
null
null
null
common/src/imodule.cpp
shockerjue/Gameserver
78faab152e1cb211d551a794ea4df5738cf99b04
[ "Unlicense" ]
14
2018-03-15T10:36:53.000Z
2021-11-11T19:35:39.000Z
#include "../include/imodule.h"
31
31
0.709677
shockerjue
256072d3d4346a42d0730f7b52dac1c326b2c5b0
5,749
cpp
C++
src/util/nm_math.cpp
nolmoonen/pbr
c5ed37795c8e67de1716762206fe7c58e9079ac0
[ "MIT" ]
null
null
null
src/util/nm_math.cpp
nolmoonen/pbr
c5ed37795c8e67de1716762206fe7c58e9079ac0
[ "MIT" ]
null
null
null
src/util/nm_math.cpp
nolmoonen/pbr
c5ed37795c8e67de1716762206fe7c58e9079ac0
[ "MIT" ]
null
null
null
#include "nm_math.hpp" #include <glm/geometric.hpp> bool nm_math::ray_sphere(float *t, glm::vec3 ray_o, glm::vec3 ray_d, glm::vec3 sphere_o, float sphere_r) { glm::vec3 v = ray_o - sphere_o; float discriminant = powf(glm::dot(v, ray_d), 2) - (glm::dot(v, v) - powf(sphere_r, 2)); if (discriminant < 0) { ...
37.090323
166
0.570708
nolmoonen
2566ecfdd2a1bd109a6460c8910cee9f1435be11
13,966
cpp
C++
source/Core/Windowing/Clipboard.cpp
mackron/GTGameEngine
380d1e01774fe6bc2940979e4e5983deef0bf082
[ "BSD-3-Clause" ]
31
2015-03-19T08:44:48.000Z
2021-12-15T20:52:31.000Z
source/Core/Windowing/Clipboard.cpp
mackron/GTGameEngine
380d1e01774fe6bc2940979e4e5983deef0bf082
[ "BSD-3-Clause" ]
19
2015-07-09T09:02:44.000Z
2016-06-09T03:51:03.000Z
source/Core/Windowing/Clipboard.cpp
mackron/GTGameEngine
380d1e01774fe6bc2940979e4e5983deef0bf082
[ "BSD-3-Clause" ]
3
2017-10-04T23:38:18.000Z
2022-03-07T08:27:13.000Z
// Copyright (C) 2011 - 2014 David Reid. See included LICENCE file. #include <GTGE/Core/Windowing/Clipboard.hpp> #include <GTGE/Core/WindowManagement.hpp> #include <GTGE/Core/Vector.hpp> #if defined(_WIN32) #include <GTGE/Core/Windowing/Win32/Win32.hpp> #include <GTGE/Core/Strings/LineIterator.hpp> namespace GT { ...
44.056782
174
0.346914
mackron
2571ba75e154f5bc36085d7791d485eb97ed3fe9
613
cpp
C++
chapter10/Proj1033.cpp
basstal/CPPPrimer
6366965657f873ac62003cf0a30a3fdb26c09351
[ "MIT" ]
null
null
null
chapter10/Proj1033.cpp
basstal/CPPPrimer
6366965657f873ac62003cf0a30a3fdb26c09351
[ "MIT" ]
null
null
null
chapter10/Proj1033.cpp
basstal/CPPPrimer
6366965657f873ac62003cf0a30a3fdb26c09351
[ "MIT" ]
null
null
null
#include"head.h" void read(const string &input_File,const string &output_File1,const string &output_File2); int main(){ read("F:\\int.txt","F:\\odds.txt","F:\\evens.txt"); return 0; } void read(const string &input_File,const string &output_File1,const string &output_File2){ ifstream ifs(input_File); istream_iterat...
26.652174
90
0.707993
basstal
2575177288bc48514ec1c8e6d8584d5c2422d662
2,180
cpp
C++
Libraries/MDStudio-SDK/Tests/test_importexport.cpp
dcliche/studioengine
1a18d373b26575b040d014ae2650a1aaeb208a89
[ "Apache-2.0" ]
null
null
null
Libraries/MDStudio-SDK/Tests/test_importexport.cpp
dcliche/studioengine
1a18d373b26575b040d014ae2650a1aaeb208a89
[ "Apache-2.0" ]
null
null
null
Libraries/MDStudio-SDK/Tests/test_importexport.cpp
dcliche/studioengine
1a18d373b26575b040d014ae2650a1aaeb208a89
[ "Apache-2.0" ]
null
null
null
// // test_importexport.h // MDStudioTest // // Created by Daniel Cliche on 2021-02-22. // Copyright (c) 2021 Daniel Cliche. All rights reserved. // #include "test_importexport.h" #include <midifile.h> #include <iostream> using namespace MDStudio; // ------------------------------------------------------------...
28.311688
120
0.506881
dcliche
257569171904f831ea012d0af8328536b4cac43c
50
cpp
C++
GameState.cpp
ChrSacher/MyEngine
8fe71fd9e84b9536148e0d4ebb4e53751ab49ce8
[ "Apache-2.0" ]
2
2015-10-27T21:36:59.000Z
2017-03-17T21:52:19.000Z
GameState.cpp
ChrSacher/MyEngine
8fe71fd9e84b9536148e0d4ebb4e53751ab49ce8
[ "Apache-2.0" ]
null
null
null
GameState.cpp
ChrSacher/MyEngine
8fe71fd9e84b9536148e0d4ebb4e53751ab49ce8
[ "Apache-2.0" ]
null
null
null
#include "GameState.h" GameState GameState::state;
25
27
0.8
ChrSacher
257a49de5d37708db48be6b43fdf1550f2957388
654
cpp
C++
BH1750.cpp
nedw/esp8266-BH1750
9ba78cbbac95cb39c9de08fdecf618fc6d945227
[ "MIT" ]
1
2019-02-18T16:53:51.000Z
2019-02-18T16:53:51.000Z
BH1750.cpp
nedw/esp8266-BH1750
9ba78cbbac95cb39c9de08fdecf618fc6d945227
[ "MIT" ]
null
null
null
BH1750.cpp
nedw/esp8266-BH1750
9ba78cbbac95cb39c9de08fdecf618fc6d945227
[ "MIT" ]
null
null
null
// // Support for BH1750FVI ambient light sensor // // #include "Arduino.h" #include <Wire.h> #include "BH1750.h" BH1750::BH1750() : _addr(0) { } int BH1750::begin(uint8_t addr) { _addr = addr; return 0; } int BH1750::read(int *pLevel) { if (_addr == 0) return BH1750_ERR_NOT_INITIALISED; Wire.beginTr...
15.571429
45
0.634557
nedw
257ce8800e337da06e4d07acd1b7141da89988d9
798
hpp
C++
Axis.Mint/services/language/primitives/CompositeParser.hpp
renato-yuzup/axis-fem
2e8d325eb9c8e99285f513b4c1218ef53eb0ab22
[ "MIT" ]
2
2021-07-23T08:49:54.000Z
2021-07-29T22:07:30.000Z
Axis.Mint/services/language/primitives/CompositeParser.hpp
renato-yuzup/axis-fem
2e8d325eb9c8e99285f513b4c1218ef53eb0ab22
[ "MIT" ]
null
null
null
Axis.Mint/services/language/primitives/CompositeParser.hpp
renato-yuzup/axis-fem
2e8d325eb9c8e99285f513b4c1218ef53eb0ab22
[ "MIT" ]
null
null
null
#pragma once #include "ExpressionParser.hpp" #include "foundation/Axis.Mint.hpp" #include "ExpressionList.hpp" #include "Parser.hpp" namespace axis { namespace services { namespace language { namespace primitives { class AXISMINT_API CompositeParser : public ExpressionParser { public: CompositeParser(void); virtual...
30.692308
81
0.781955
renato-yuzup
2582d69683206bae5e4d6c0383396731c8e2bbc9
2,963
cpp
C++
Libc++/Libc++/OSRuntime.cpp
admkopec/OS
5d1cac24e30b522a30aa911402f2e7d6a673cb45
[ "Apache-2.0" ]
69
2016-08-03T16:40:51.000Z
2022-03-25T00:21:28.000Z
Libc++/Libc++/OSRuntime.cpp
admkopec/OS
5d1cac24e30b522a30aa911402f2e7d6a673cb45
[ "Apache-2.0" ]
1
2021-05-28T10:51:10.000Z
2021-05-28T11:42:22.000Z
Libc++/Libc++/OSRuntime.cpp
admkopec/OS
5d1cac24e30b522a30aa911402f2e7d6a673cb45
[ "Apache-2.0" ]
5
2019-01-08T02:20:45.000Z
2022-03-20T15:57:08.000Z
// // OSRuntime.cpp // Libc++ // // Created by Adam Kopeć on 6/7/17. // Copyright © 2017 Adam Kopeć. All rights reserved. // #include "OSRuntime.hpp" #include <stdint.h> #include <string.h> #include <stdio.h> #include <stdarg.h> extern "C" { void * kalloc_(uint32_t size); void free_(void * data, uint32_t size); v...
20.156463
119
0.59028
admkopec
2583628a4bed62cf1c0b4481a411b0ff56e07ea5
1,084
hh
C++
cxx/thunderstorm/include/StackingAction.hh
Zelenyy/phd-code
d5b8bfefd2418a915dde89f7da2cb6683f438556
[ "MIT" ]
null
null
null
cxx/thunderstorm/include/StackingAction.hh
Zelenyy/phd-code
d5b8bfefd2418a915dde89f7da2cb6683f438556
[ "MIT" ]
null
null
null
cxx/thunderstorm/include/StackingAction.hh
Zelenyy/phd-code
d5b8bfefd2418a915dde89f7da2cb6683f438556
[ "MIT" ]
null
null
null
// // Created by zelenyy on 03.02.2020. // #ifndef PHD_CODE_STACKINGACTION_HH #define PHD_CODE_STACKINGACTION_HH #include <G4UserStackingAction.hh> #include <G4ParticleDefinition.hh> #include "G4SystemOfUnits.hh" #include "Settings.hh" #include "G4Track.hh" #include "DataThunderstorm.hh" class StackingAction : publ...
26.439024
74
0.78321
Zelenyy
258386a2b96233569e55a73e25fd98344d7b954b
1,069
cpp
C++
Projects/RenderEngine/src/CompositeRenderingObject.cpp
jayzhen521/VideoTrack
f832e9801cb479c02c7b9d121527b006445f75df
[ "Unlicense" ]
null
null
null
Projects/RenderEngine/src/CompositeRenderingObject.cpp
jayzhen521/VideoTrack
f832e9801cb479c02c7b9d121527b006445f75df
[ "Unlicense" ]
null
null
null
Projects/RenderEngine/src/CompositeRenderingObject.cpp
jayzhen521/VideoTrack
f832e9801cb479c02c7b9d121527b006445f75df
[ "Unlicense" ]
null
null
null
#pragma once #include "CommonInclude.h" #include "CompositeRenderingObject.h" namespace RenderEngine { CompositeRenderingObject::CompositeRenderingObject() { } void CompositeRenderingObject::Rendering() { for (const auto item : _renderingObjects) { item->Rendering...
19.796296
79
0.625819
jayzhen521
25862dabbfcd9cdd5114cb51692b96bfc98bef2b
91
hh
C++
anim.hh
vortexdesu/textanim8
2ba12d9d24e3c65a37684ab22c7fa99452b91b89
[ "Apache-2.0" ]
null
null
null
anim.hh
vortexdesu/textanim8
2ba12d9d24e3c65a37684ab22c7fa99452b91b89
[ "Apache-2.0" ]
null
null
null
anim.hh
vortexdesu/textanim8
2ba12d9d24e3c65a37684ab22c7fa99452b91b89
[ "Apache-2.0" ]
null
null
null
#ifndef ANIM_HH #define ANIM_HH #include "frame.hh" std::vector<Frame> cmdexec(); #endif
11.375
29
0.725275
vortexdesu
25890cf98e12f047838f3d69790f93da8f5b79c9
1,398
cpp
C++
unittests/support/klee/uint128/add.cpp
paulhuggett/pstore2
a0c663d10a2e2713fdf39ecdae1f9c1e96041f5c
[ "Apache-2.0" ]
11
2018-02-02T21:24:49.000Z
2020-12-11T04:06:03.000Z
unittests/support/klee/uint128/add.cpp
SNSystems/pstore
74e9dd960245d6bfc125af03ed964d8ad660a62d
[ "Apache-2.0" ]
63
2018-02-05T17:24:59.000Z
2022-03-22T17:26:28.000Z
unittests/support/klee/uint128/add.cpp
paulhuggett/pstore
067be94d87c87fce524c8d76c6f47c347d8f1853
[ "Apache-2.0" ]
5
2020-01-13T22:47:11.000Z
2021-05-14T09:31:15.000Z
//===- unittests/support/klee/uint128/add.cpp -----------------------------===// //* _ _ * //* __ _ __| | __| | * //* / _` |/ _` |/ _` | * //* | (_| | (_| | (_| | * //* \__,_|\__,_|\__,_| * //* * //===----------------------------------------------------------------------===// //...
29.744681
82
0.515737
paulhuggett
258b94289286f3081e1eb59caa6fd6fd1f42a69b
1,716
hpp
C++
src/core/Camera.hpp
AntonHakansson/KvantEngine
f101fc771a8e9eca8ced59a084b9be0169e95649
[ "MIT" ]
null
null
null
src/core/Camera.hpp
AntonHakansson/KvantEngine
f101fc771a8e9eca8ced59a084b9be0169e95649
[ "MIT" ]
2
2017-04-05T01:50:13.000Z
2017-08-10T00:58:26.000Z
src/core/Camera.hpp
AntonHakansson/KvantEngine
f101fc771a8e9eca8ced59a084b9be0169e95649
[ "MIT" ]
null
null
null
#ifndef CAMERA_HPP_INCLUDED #define CAMERA_HPP_INCLUDED #include <glm/glm.hpp> #include <glm/gtc/matrix_transform.hpp> #include "core/Screen.hpp" #include "core/Traits.hpp" namespace Kvant { struct Pov { glm::vec3 pos; // Position of view glm::vec3 tgt; // position of target glm::mat4 proj; // projection mat...
26.4
79
0.629953
AntonHakansson
258d3e36fb5d8a671dcf9a2bc22f136f60d4a0af
10,081
hpp
C++
include/chef_base/chef_count_dump.hpp
q191201771/libchef
678a5d92611aa15783ac86f6db362884cf211582
[ "MIT" ]
123
2018-12-28T02:18:10.000Z
2022-03-31T12:04:58.000Z
include/chef_base/chef_count_dump.hpp
q191201771/libchef
678a5d92611aa15783ac86f6db362884cf211582
[ "MIT" ]
1
2022-03-05T08:49:14.000Z
2022-03-06T12:52:46.000Z
include/chef_base/chef_count_dump.hpp
q191201771/libchef
678a5d92611aa15783ac86f6db362884cf211582
[ "MIT" ]
30
2019-01-02T10:51:40.000Z
2022-03-29T12:04:40.000Z
/** * @license this file is a part of libchef. more info see https://github.com/q191201771/libchef * @tag v1.10.17 * @file chef_count_dump.hpp * @deps chef_env.hpp | chef_filepath_op.hpp * @platform linux | macos | xxx * * @author * chef <191201771@qq.com> * - initial release xxxx-xx-xx * ...
28.397183
121
0.619482
q191201771
258f88beaa45c0a680a3b594757bcb1a55b1c124
1,056
hpp
C++
src/window/window_manager.hpp
zerujio/folk-engine
45aade10b67ae96e5d660292209bb982ef3bd2ac
[ "MIT" ]
null
null
null
src/window/window_manager.hpp
zerujio/folk-engine
45aade10b67ae96e5d660292209bb982ef3bd2ac
[ "MIT" ]
4
2021-12-22T02:18:36.000Z
2021-12-22T03:09:43.000Z
src/window/window_manager.hpp
zerujio/folk-engine
45aade10b67ae96e5d660292209bb982ef3bd2ac
[ "MIT" ]
1
2022-02-28T03:47:02.000Z
2022-02-28T03:47:02.000Z
#ifndef FOLK_WINDOW__MODULE_HPP #define FOLK_WINDOW__MODULE_HPP #include "../utils/singleton.hpp" #include <GLFW/glfw3.h> #include <string> namespace Folk { FOLK_SINGLETON_CLASS_FINAL(WindowManager) { public: struct WindowDimensions { int width; int height; }; const char* name() cons...
19.924528
57
0.699811
zerujio
2590a6b2e9d74cd6af7dfb7aa731a11e1855a6e9
2,120
cpp
C++
Fondamenti di Programmazione/Test008_Timeline/compito.cpp
NamaWho/University
5723e113e8ef082d50201c545ea901cc0eb87613
[ "MIT" ]
1
2021-01-10T10:03:58.000Z
2021-01-10T10:03:58.000Z
Fondamenti di Programmazione/Test008_Timeline/compito.cpp
NamaWho/University
5723e113e8ef082d50201c545ea901cc0eb87613
[ "MIT" ]
null
null
null
Fondamenti di Programmazione/Test008_Timeline/compito.cpp
NamaWho/University
5723e113e8ef082d50201c545ea901cc0eb87613
[ "MIT" ]
null
null
null
// // Created by danie on 29/12/2020. // #include "compito.h" #include <iostream> #include <cstring> using namespace std; Timeline::Timeline() { p0 = nullptr; } void Timeline::pubblica(const char *str, bool highlight) { if (str == NULL || strlen(str) < 1) return; photo* temp = new photo; temp->name...
18.275862
76
0.478774
NamaWho
2592c9205333695d674ff489e1c48b6bb0d54504
9,158
cpp
C++
programs/benchmark-iostreams/main.cpp
ntrifunovic/llfio
448847a5d6c0a60317a4ccd4cdfded728ceac355
[ "Apache-2.0" ]
null
null
null
programs/benchmark-iostreams/main.cpp
ntrifunovic/llfio
448847a5d6c0a60317a4ccd4cdfded728ceac355
[ "Apache-2.0" ]
null
null
null
programs/benchmark-iostreams/main.cpp
ntrifunovic/llfio
448847a5d6c0a60317a4ccd4cdfded728ceac355
[ "Apache-2.0" ]
null
null
null
/* Test the latency of iostreams vs LLFIO (C) 2018 Niall Douglas <http://www.nedproductions.biz/> (6 commits) File Created: Apr 2018 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 in the accompanying...
31.255973
161
0.603079
ntrifunovic
25954403cb50cc43ce87ecee48f364d940cd6813
2,827
cc
C++
src/test/log_test.cc
swaroop0707/TinyWeb
79d20f2bb858581cc5a0ea229bba3a54e5d1bd3e
[ "MIT" ]
352
2018-02-07T08:24:43.000Z
2022-03-31T12:35:17.000Z
src/test/log_test.cc
zhouq3405/TinyWeb
79d20f2bb858581cc5a0ea229bba3a54e5d1bd3e
[ "MIT" ]
6
2018-02-08T11:52:12.000Z
2022-01-20T03:37:41.000Z
src/test/log_test.cc
zhouq3405/TinyWeb
79d20f2bb858581cc5a0ea229bba3a54e5d1bd3e
[ "MIT" ]
75
2018-02-07T08:24:42.000Z
2021-10-03T08:20:24.000Z
/* *Author:GeneralSandman *Code:https://github.com/GeneralSandman/TinyWeb *E-mail:generalsandman@163.com *Web:www.generalsandman.cn */ /*---XXX--- * **************************************** * */ #include <tiny_base/log.h> #include <ctime> #include <iostream> #include <unistd.h> using namespace std; void test1() { ...
25.017699
67
0.478953
swaroop0707
25960b13a3fedaa2c7dd2381834b9b6f6309b7c1
1,990
cc
C++
net/instaweb/http/http_response_parser.cc
dimitrilongo/mod_pagespeed
d0d3bc51aa4feddf010b7085872c64cc46b5aae0
[ "Apache-2.0" ]
2
2019-11-02T07:54:17.000Z
2020-04-16T09:26:51.000Z
net/instaweb/http/http_response_parser.cc
dimitrilongo/mod_pagespeed
d0d3bc51aa4feddf010b7085872c64cc46b5aae0
[ "Apache-2.0" ]
12
2017-03-14T18:26:11.000Z
2021-10-01T15:33:50.000Z
net/instaweb/http/http_response_parser.cc
dimitrilongo/mod_pagespeed
d0d3bc51aa4feddf010b7085872c64cc46b5aae0
[ "Apache-2.0" ]
1
2020-04-16T09:28:30.000Z
2020-04-16T09:28:30.000Z
/* * Copyright 2010 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...
30.615385
75
0.709548
dimitrilongo
25996789ef01aab410d613db3cc64bc8d2a060d2
468
cpp
C++
src/chrono/ChronoObject.cpp
bander9289/StratifyAPI
9b45091aa71a4e5718047438ea4044c1fdc814a3
[ "MIT" ]
2
2016-05-21T03:09:19.000Z
2016-08-27T03:40:51.000Z
src/chrono/ChronoObject.cpp
bander9289/StratifyAPI
9b45091aa71a4e5718047438ea4044c1fdc814a3
[ "MIT" ]
75
2017-10-08T22:21:19.000Z
2020-03-30T21:13:20.000Z
src/chrono/ChronoObject.cpp
StratifyLabs/StratifyLib
975a5c25a84296fd0dec64fe4dc579cf7027abe6
[ "MIT" ]
5
2018-03-27T16:44:09.000Z
2020-07-08T16:45:55.000Z
/*! \file */ // Copyright 2011-2020 Tyler Gilbert and Stratify Labs, Inc; see LICENSE.md for rights. #include <unistd.h> #include "chrono/ClockTime.hpp" #include "chrono/Time.hpp" #include "api/ChronoObject.hpp" using namespace api; void chrono::wait(const Microseconds & duration){ Microseconds period = duration; u...
26
100
0.711538
bander9289
259bd11339036448519756791ed693799ab8eafe
3,441
cpp
C++
module-03/ex04/NinjaTrap.cpp
Chobischtroumpf/c--modules
3fd4da65cdb488e8e143a8707c7b767c3d6c381c
[ "Unlicense" ]
null
null
null
module-03/ex04/NinjaTrap.cpp
Chobischtroumpf/c--modules
3fd4da65cdb488e8e143a8707c7b767c3d6c381c
[ "Unlicense" ]
null
null
null
module-03/ex04/NinjaTrap.cpp
Chobischtroumpf/c--modules
3fd4da65cdb488e8e143a8707c7b767c3d6c381c
[ "Unlicense" ]
null
null
null
/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* NinjaTrap.cpp :+: :+: :+: ...
31.568807
80
0.490846
Chobischtroumpf
259d402753968ec51b9caad62731c1b75394694c
22,686
cpp
C++
xll_isda_cds.cpp
keithalewis/xll_isda_cds
64ede82ca899d1310bcc87816c4d693804a455cb
[ "MIT" ]
null
null
null
xll_isda_cds.cpp
keithalewis/xll_isda_cds
64ede82ca899d1310bcc87816c4d693804a455cb
[ "MIT" ]
null
null
null
xll_isda_cds.cpp
keithalewis/xll_isda_cds
64ede82ca899d1310bcc87816c4d693804a455cb
[ "MIT" ]
null
null
null
// xll_isda_cds.cpp #include "jpmcds.h" #include "xll_isda_cds.h" using namespace Jpmcds; using namespace xll; // Date stupidity inline TDate excel2TDate(double date) { return (TDate)date + 109205; } inline double TDate2excel(TDate date) { return date - 109205; } AddIn xai_isda_cds( Documentation(L"The J...
40.152212
173
0.661906
keithalewis
25a2c5a157cca1e89e6e06e5e6c6cb6abd51d5c7
644
cpp
C++
Attiny13-Test/Attiny13-Test/main.cpp
CuteBoiz/Atmel
ff27f46a1eec40f2fdc2ecee86303baa568416d0
[ "Unlicense" ]
null
null
null
Attiny13-Test/Attiny13-Test/main.cpp
CuteBoiz/Atmel
ff27f46a1eec40f2fdc2ecee86303baa568416d0
[ "Unlicense" ]
null
null
null
Attiny13-Test/Attiny13-Test/main.cpp
CuteBoiz/Atmel
ff27f46a1eec40f2fdc2ecee86303baa568416d0
[ "Unlicense" ]
null
null
null
#define F_CPU 1200000UL #include <avr/io.h> #include <util/delay.h> #include <avr/interrupt.h> void uart_init(){ DDRB |= (1<<3); PORTB |= (1<<3); } void makeDelay(long b){ for (int i = 0; i < b; i++); } void bit_bang_tx(uint8_t data){ PORTB &= ~(1<<3); makeDelay(103); for (int i = 0; i < 8; i++){ if ((dat...
14.311111
31
0.531056
CuteBoiz
25a31e7b0d1c32a4bb4891a5343fce1c60a6a859
7,298
cpp
C++
Ray/Components/RMeshRenderer.cpp
CAt0mIcS/Ray
898ebbfe1207513045718a4fb1df339621568de4
[ "MIT" ]
null
null
null
Ray/Components/RMeshRenderer.cpp
CAt0mIcS/Ray
898ebbfe1207513045718a4fb1df339621568de4
[ "MIT" ]
null
null
null
Ray/Components/RMeshRenderer.cpp
CAt0mIcS/Ray
898ebbfe1207513045718a4fb1df339621568de4
[ "MIT" ]
null
null
null
#include "RMeshRenderer.h" #include "RTransform.h" #include "RMesh.h" #include "Scene/RScene.h" #include "Scene/RCamera.h" #include "Shading/RMaterial.h" #include "Graphics/Pipelines/RGraphicsPipeline.h" #include "Graphics/Pipelines/Shader/DataAccess/RDescriptor.h" #include "Graphics/Pipelines/Shader/RShader.h" #in...
40.320442
92
0.731159
CAt0mIcS
25a9ba389aebbdcaf7d25b341e3b08a0037eb2cc
2,191
cpp
C++
src/layers/medCore/process/mask_image/medAbstractMaskImageProcess.cpp
arthursw/medInria-public
d52af882c36f0d96cc433cc1a4082accaa1ca11a
[ "BSD-4-Clause" ]
null
null
null
src/layers/medCore/process/mask_image/medAbstractMaskImageProcess.cpp
arthursw/medInria-public
d52af882c36f0d96cc433cc1a4082accaa1ca11a
[ "BSD-4-Clause" ]
null
null
null
src/layers/medCore/process/mask_image/medAbstractMaskImageProcess.cpp
arthursw/medInria-public
d52af882c36f0d96cc433cc1a4082accaa1ca11a
[ "BSD-4-Clause" ]
null
null
null
/*========================================================================= medInria Copyright (c) INRIA 2013 - 2018. All rights reserved. See LICENSE.txt for details. This software is distributed WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE....
26.083333
99
0.68188
arthursw
25ae429fb91840caf7c301ab558a44f05da03fa0
4,670
cpp
C++
data_structures/dynamic_array/dynamic_array.cpp
dmytroshurko/Algorithms-and-Data-Structures
36c954835c60e24d95c8e3c1c811ba2bc91a4f1f
[ "MIT" ]
null
null
null
data_structures/dynamic_array/dynamic_array.cpp
dmytroshurko/Algorithms-and-Data-Structures
36c954835c60e24d95c8e3c1c811ba2bc91a4f1f
[ "MIT" ]
null
null
null
data_structures/dynamic_array/dynamic_array.cpp
dmytroshurko/Algorithms-and-Data-Structures
36c954835c60e24d95c8e3c1c811ba2bc91a4f1f
[ "MIT" ]
null
null
null
#include "dynamic_array.hpp" #include <algorithm> #include <stdexcept> #include <string> namespace ds { template <class T> DynamicArray<T>::DynamicArray() : capacity_(kMinCapacity), size_(0), array_(new T[kMinCapacity]) {} template <class T> DynamicArray<T>::DynamicArray(int capacity) { if (capacit...
25.107527
95
0.610921
dmytroshurko
25af99d7b9c3cb9184ebd07e9b795e267581bfd7
6,626
cpp
C++
aspirant_application/Application.cpp
playdeezgames/Aspirant
a907475fefb58d766a103324e65317613831561b
[ "MIT" ]
null
null
null
aspirant_application/Application.cpp
playdeezgames/Aspirant
a907475fefb58d766a103324e65317613831561b
[ "MIT" ]
null
null
null
aspirant_application/Application.cpp
playdeezgames/Aspirant
a907475fefb58d766a103324e65317613831561b
[ "MIT" ]
null
null
null
#include <SDL.h> #include <string> #include <optional> #include "UIState.h" #include "Command.h" #include "Application.Renderer.h" #include "Graphics.Colors.h" #include "Graphics.Textures.h" #include "Graphics.Sprites.h" #include "Graphics.Fonts.h" #include "Graphics.Layouts.h" #include "Common.Sounds.h" #include "Opti...
31.552381
78
0.720344
playdeezgames
25b0c29011c4bc635ca3abc7e148c2a187b4be52
233
cpp
C++
DesignPatterns/Adapter/Driver.cpp
przet/CppProgramming
042aff253988b74db47659d36806912ce84dd8bc
[ "MIT" ]
null
null
null
DesignPatterns/Adapter/Driver.cpp
przet/CppProgramming
042aff253988b74db47659d36806912ce84dd8bc
[ "MIT" ]
null
null
null
DesignPatterns/Adapter/Driver.cpp
przet/CppProgramming
042aff253988b74db47659d36806912ce84dd8bc
[ "MIT" ]
null
null
null
#include <iostream> #include "Goose.hpp" #include "GooseToDuckAdapter.hpp" int main(){ Goose goose; GooseToDuckAdapter adapter(&goose); std::cout << adapter.Quack() << std::endl; return 0; }
19.416667
50
0.592275
przet
25b11bf93b9b9ab1735975fe8ad0393f90a7143c
4,509
cpp
C++
model.cpp
degarashi/boomstick
55dc5bfcfad6119d8401f578f91df7bbd44c192b
[ "MIT" ]
1
2015-06-14T15:54:27.000Z
2015-06-14T15:54:27.000Z
model.cpp
degarashi/boomstick
55dc5bfcfad6119d8401f578f91df7bbd44c192b
[ "MIT" ]
null
null
null
model.cpp
degarashi/boomstick
55dc5bfcfad6119d8401f578f91df7bbd44c192b
[ "MIT" ]
null
null
null
#include "geom2D.hpp" #include "geom3D.hpp" namespace boom { const AMat22 cs_mRot90[2] = { {spn::COS90, -spn::SIN90, spn::SIN90, spn::COS90}, {spn::COS90, spn::SIN90, -spn::SIN90, spn::COS90} }; float Area_x2(const Vec2& v0, const Vec2& v1) { return std::fabs(v0.cw(v1)); } float Area_x2(const Vec3& v0, ...
29.470588
94
0.650255
degarashi
25c62fe7a3ffa8c955db816f4b777577d2f95846
611
cpp
C++
stack/stack.cpp
nancyanand2807/algorithm-ds
9f79bd9a37bdf858a512ded44aa33040e8a7b9af
[ "MIT" ]
5
2020-10-01T13:08:35.000Z
2021-02-01T17:51:15.000Z
stack/stack.cpp
nancyanand2807/algorithm-ds
9f79bd9a37bdf858a512ded44aa33040e8a7b9af
[ "MIT" ]
21
2020-10-01T12:58:05.000Z
2020-10-07T11:58:30.000Z
stack/stack.cpp
sansyrox/summer_of_cpp
e07acee254e25febe5b11bc1adc743f5aaf57cc8
[ "MIT" ]
23
2020-10-01T12:59:06.000Z
2020-10-15T13:08:34.000Z
#include<iostream> #include<bits/stdc++.h> using namespace std; #define ll long long #define mp make_pair #define pb push_back template<typename T, typename U> class Stack{ vector<T> s; vector<U> v2; public: void push(T d){ s.pb(d); } void pop(){ s.pop_back(); } T top(){ ...
13.282609
32
0.505728
nancyanand2807
25c6fa84c5caa128bd0bf6c5e550c6bb518b4afc
936
hpp
C++
SDK/ARKSurvivalEvolved_PrimalItemStructure_WoodWallWithWindow_classes.hpp
2bite/ARK-SDK
c38ca9925309516b2093ad8c3a70ed9489e1d573
[ "MIT" ]
10
2020-02-17T19:08:46.000Z
2021-07-31T11:07:19.000Z
SDK/ARKSurvivalEvolved_PrimalItemStructure_WoodWallWithWindow_classes.hpp
2bite/ARK-SDK
c38ca9925309516b2093ad8c3a70ed9489e1d573
[ "MIT" ]
9
2020-02-17T18:15:41.000Z
2021-06-06T19:17:34.000Z
SDK/ARKSurvivalEvolved_PrimalItemStructure_WoodWallWithWindow_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_PrimalItemStructure_WoodWallWithWindow_structs.hpp" namespace sdk { //--------------------------------------------------------------------------- //Classes //----------------------------------...
24
146
0.691239
2bite
5ad5943ae6e6cc023347a7ce787e1a46dc333c62
1,039
cpp
C++
16a.cpp
malkiewiczm/adventofcode2019
e67f6224fc2c55edc7bba97caf4aee922d5200c7
[ "MIT" ]
null
null
null
16a.cpp
malkiewiczm/adventofcode2019
e67f6224fc2c55edc7bba97caf4aee922d5200c7
[ "MIT" ]
null
null
null
16a.cpp
malkiewiczm/adventofcode2019
e67f6224fc2c55edc7bba97caf4aee922d5200c7
[ "MIT" ]
null
null
null
#include "template.hpp" using Vec = std::vector<int>; static inline void go(FILE *f, Vec &v) { char *buf = new char[4096]; if (fgets(buf, 4096, f)) { char *c = buf; while (*c > ' ') { v.push_back(*c - '0'); ++c; } } delete[] buf; } static inline void transform(Vec &v) { const int pat[4] = { 0, 1, 0,...
16.758065
48
0.491819
malkiewiczm
5ad82212384e78c03f2e496e68bcd7effb2a5059
597
hpp
C++
rock/typekit/templates/auto_gen_types.hpp
envire/envire-orogen-envire_orogen
cf6dee83b037b84a51336a0754781c1a544085a5
[ "BSD-2-Clause" ]
null
null
null
rock/typekit/templates/auto_gen_types.hpp
envire/envire-orogen-envire_orogen
cf6dee83b037b84a51336a0754781c1a544085a5
[ "BSD-2-Clause" ]
null
null
null
rock/typekit/templates/auto_gen_types.hpp
envire/envire-orogen-envire_orogen
cf6dee83b037b84a51336a0754781c1a544085a5
[ "BSD-2-Clause" ]
1
2017-03-10T10:23:04.000Z
2017-03-10T10:23:04.000Z
/* Generated from orogen/lib/orogen/templates/typekit/marshalling_types.hpp */ <% target_namespace = Typelib.namespace(intermediate_type) target_basename = Typelib.basename(intermediate_type) target_basename.gsub!('/', '::') %> #ifndef _OROGEN_WRAPPER_TYPES_<%= target_basename.upcase %>_HPP #define _OROGEN_WRA...
24.875
78
0.740369
envire
5adaf9e93ba043c6504ecd9df0cb310770135bab
497
cpp
C++
src/permutations.cpp
SurajWarrier/cses-problem-set
6248468f526caef10b2d56d8d6ec71059799d60e
[ "MIT" ]
null
null
null
src/permutations.cpp
SurajWarrier/cses-problem-set
6248468f526caef10b2d56d8d6ec71059799d60e
[ "MIT" ]
null
null
null
src/permutations.cpp
SurajWarrier/cses-problem-set
6248468f526caef10b2d56d8d6ec71059799d60e
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; #define ll long long int main() { ll n; cin >> n; if (n==1) { cout << 1; return 0; } if (n==2 || n == 3) { cout << "NO SOLUTION"; return 0; } // 2 4 1 3 if(n%2==0) { for(int i=2;i<=n;i+=2) { cout << i << " "; } for(int i=1;i<=n-1;i+=2) { cout <<...
13.432432
28
0.418511
SurajWarrier
5adb9b5108f63fdc327c48611c97913b369c5626
2,550
cpp
C++
src/xray/core/sources/memory_writer.cpp
ixray-team/ixray-2.0
85c3a544175842323fc82f42efd96c66f0fc5abb
[ "Linux-OpenIB" ]
3
2021-10-30T09:36:14.000Z
2022-03-26T17:00:06.000Z
src/xray/core/sources/memory_writer.cpp
acidicMercury8/ixray-2.0
85c3a544175842323fc82f42efd96c66f0fc5abb
[ "Linux-OpenIB" ]
null
null
null
src/xray/core/sources/memory_writer.cpp
acidicMercury8/ixray-2.0
85c3a544175842323fc82f42efd96c66f0fc5abb
[ "Linux-OpenIB" ]
1
2022-03-26T17:00:08.000Z
2022-03-26T17:00:08.000Z
//////////////////////////////////////////////////////////////////////////// // Created : 11.05.2010 // Author : Andrew Kolomiets // Copyright (C) GSC Game World - 2010 //////////////////////////////////////////////////////////////////////////// #include "pch.h" #include <xray/memory_writer.h> #include <xray...
21.428571
108
0.597647
ixray-team
5ae3622834fe4e7d95171fabdd492cd5d2ecde77
4,651
hpp
C++
include/xlnt/cell/cell.hpp
AlanIWBFT/xlnt-ue4
486da299390a05198a0ba4ebb456f226b87924b3
[ "MIT", "Unlicense" ]
12
2015-09-05T04:12:16.000Z
2021-08-22T23:24:18.000Z
include/xlnt/cell/cell.hpp
AlanIWBFT/xlnt-ue4
486da299390a05198a0ba4ebb456f226b87924b3
[ "MIT", "Unlicense" ]
null
null
null
include/xlnt/cell/cell.hpp
AlanIWBFT/xlnt-ue4
486da299390a05198a0ba4ebb456f226b87924b3
[ "MIT", "Unlicense" ]
4
2015-09-06T13:00:10.000Z
2021-07-12T05:15:21.000Z
// Copyright (c) 2014 Thomas Fussell // Copyright (c) 2010-2014 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 rights // ...
30.201299
84
0.702215
AlanIWBFT
5ae3785b13b23b86e571b70b50bb5ffd99103d8d
71,229
cpp
C++
qCC/ccEntityAction.cpp
ohanlonl/qCMAT
f6ca04fa7c171629f094ee886364c46ff8b27c0b
[ "BSD-Source-Code" ]
null
null
null
qCC/ccEntityAction.cpp
ohanlonl/qCMAT
f6ca04fa7c171629f094ee886364c46ff8b27c0b
[ "BSD-Source-Code" ]
null
null
null
qCC/ccEntityAction.cpp
ohanlonl/qCMAT
f6ca04fa7c171629f094ee886364c46ff8b27c0b
[ "BSD-Source-Code" ]
1
2019-02-03T12:19:42.000Z
2019-02-03T12:19:42.000Z
//########################################################################## //# # //# CLOUDCOMPARE # //# # //# This pr...
28.663581
202
0.642449
ohanlonl
5ae4f57194bb79c91b5ee6ea354219019626a7b4
287
cpp
C++
BUAA/logic_cube_root.cpp
nickYDQ/Interview
5e21969b779a83952ea52ba084301e4c53769679
[ "MIT" ]
4
2016-08-23T16:05:53.000Z
2018-03-05T01:52:57.000Z
BUAA/logic_cube_root.cpp
nickYDQ/Interview
5e21969b779a83952ea52ba084301e4c53769679
[ "MIT" ]
null
null
null
BUAA/logic_cube_root.cpp
nickYDQ/Interview
5e21969b779a83952ea52ba084301e4c53769679
[ "MIT" ]
null
null
null
#include<stdio.h> int main() { int x,n; while(scanf("%d %d",&x,&n)!=EOF) { if(x==0) { continue; } double y=x; for(int i=0;i<n;i++) { y=(y*2)/3+x/(3*y*y); } printf("%0.6lf\n",y); } return 0; }
15.105263
34
0.348432
nickYDQ
5ae6011d19dd5e88f86adb5497f30a9165998b61
4,365
cpp
C++
qws/src/gui/QBrush.cpp
keera-studios/hsQt
8aa71a585cbec40005354d0ee43bce9794a55a9a
[ "BSD-2-Clause" ]
42
2015-02-16T19:29:16.000Z
2021-07-25T11:09:03.000Z
qws/src/gui/QBrush.cpp
keera-studios/hsQt
8aa71a585cbec40005354d0ee43bce9794a55a9a
[ "BSD-2-Clause" ]
1
2017-11-23T12:49:25.000Z
2017-11-23T12:49:25.000Z
qws/src/gui/QBrush.cpp
keera-studios/hsQt
8aa71a585cbec40005354d0ee43bce9794a55a9a
[ "BSD-2-Clause" ]
5
2015-10-15T21:25:30.000Z
2017-11-22T13:18:24.000Z
///////////////////////////////////////////////////////////////////////////// // // File : QBrush.cpp // Copyright : (c) David Harley 2010 // Project : qtHaskell // Version : 1.1.4 // Modified : 2010-09-02 17:01:56 // // Warning : this file is machine generated - do...
25.526316
89
0.639175
keera-studios
5aea05933bd71b919b3677d342d7ba74648776e2
1,448
hpp
C++
include/GameEngine/GridCell.hpp
DragonJoker/CastorTD
b055df76aff9f42945a0a5e7ed4ddbf03be84381
[ "MIT" ]
null
null
null
include/GameEngine/GridCell.hpp
DragonJoker/CastorTD
b055df76aff9f42945a0a5e7ed4ddbf03be84381
[ "MIT" ]
null
null
null
include/GameEngine/GridCell.hpp
DragonJoker/CastorTD
b055df76aff9f42945a0a5e7ed4ddbf03be84381
[ "MIT" ]
null
null
null
/** See licence file in root folder, MIT.txt */ #pragma once #ifndef ___EFO_GridCell_HPP___ #define ___EFO_GridCell_HPP___ #include "Ecs/Entity.hpp" namespace orastus { /** *\brief * A cell inside the grid. */ struct GridCell { /** *\brief * Cell states enumeration. */ enum class State : uint8_t ...
16.837209
69
0.616713
DragonJoker
5aec54faf1696b2d3552d2fd004f3f71173a8b82
3,598
cpp
C++
libnaucrates/src/statistics/CGroupByStatsProcessor.cpp
acmnu/gporca
22e0442576c7e9c578a2a7d6182007ca045baedd
[ "ECL-2.0", "Apache-2.0" ]
1
2019-03-05T10:08:56.000Z
2019-03-05T10:08:56.000Z
libnaucrates/src/statistics/CGroupByStatsProcessor.cpp
ppmht/gporca
7131e3e134e6e608f7e9fef9152a8b5d71e6a59e
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
libnaucrates/src/statistics/CGroupByStatsProcessor.cpp
ppmht/gporca
7131e3e134e6e608f7e9fef9152a8b5d71e6a59e
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
//--------------------------------------------------------------------------- // Greenplum Database // Copyright 2018 Pivotal, Inc. // // @filename: // CGroupByStatsProcessor.cpp // // @doc: // Statistics helper routines for processing group by operations //------------------------------------------------------------...
39.108696
119
0.737354
acmnu
5aeca1fcf5268d1575fe63c0c779639ea8fdffd0
2,552
cpp
C++
Gep/Source/common/emumovie.cpp
Sunlitspace542/SNESticle
9590ebf3bf768424ebd6cb018f322e724a7aade3
[ "MIT" ]
318
2022-01-15T23:35:01.000Z
2022-03-24T13:37:20.000Z
Gep/Source/common/emumovie.cpp
Sunlitspace542/SNESticle
9590ebf3bf768424ebd6cb018f322e724a7aade3
[ "MIT" ]
2
2022-01-25T23:58:23.000Z
2022-01-30T21:59:09.000Z
Gep/Source/common/emumovie.cpp
Sunlitspace542/SNESticle
9590ebf3bf768424ebd6cb018f322e724a7aade3
[ "MIT" ]
46
2022-01-17T22:46:08.000Z
2022-03-06T16:52:00.000Z
/*! \File emumovie.cpp \Description Description \Notes None. \Copyright (c) 2004 Icer Addis */ /*-- Include files -------------------------------------------------------------------------------*/ #include "types.h" #include "emumovie.h" using namespace Emu...
20.580645
101
0.504702
Sunlitspace542
5aefa38f52843b17e93108773877922eb129f301
16,111
cpp
C++
engine/runtime/graphics/render/d3d11/D3D11RenderContext.cpp
Afterback/Deadrop
96a96866d5cd657fbf6b561374f3d1878a65bd8d
[ "Zlib" ]
24
2020-07-18T06:40:09.000Z
2022-01-28T09:46:25.000Z
engine/runtime/graphics/render/d3d11/D3D11RenderContext.cpp
Afterback/Deadrop
96a96866d5cd657fbf6b561374f3d1878a65bd8d
[ "Zlib" ]
null
null
null
engine/runtime/graphics/render/d3d11/D3D11RenderContext.cpp
Afterback/Deadrop
96a96866d5cd657fbf6b561374f3d1878a65bd8d
[ "Zlib" ]
2
2020-07-21T08:00:49.000Z
2020-12-23T05:17:35.000Z
#include "engine/runtime/graphics/render/d3d11/D3D11RenderContext.h" #include "engine/runtime/graphics/render/d3d11/D3D11Texture2D.h" #include "engine/runtime/graphics/render/d3d11/D3D11Device.h" #include "engine/runtime/graphics/render/d3d11/D3D11RenderTarget.h" #include "engine/runtime/graphics/render/d3d11/D3D11View...
36.699317
149
0.734964
Afterback
5af2d8191249c111c17def26a9376788267acbc3
1,931
cpp
C++
Day7/main.cpp
baldwinmatt/AoC-2021
4a7f18f6364715f6e61127aba175db6fec6e6b13
[ "Apache-2.0" ]
4
2021-12-06T17:14:00.000Z
2021-12-10T06:29:35.000Z
Day7/main.cpp
baldwinmatt/AoC-2021
4a7f18f6364715f6e61127aba175db6fec6e6b13
[ "Apache-2.0" ]
null
null
null
Day7/main.cpp
baldwinmatt/AoC-2021
4a7f18f6364715f6e61127aba175db6fec6e6b13
[ "Apache-2.0" ]
null
null
null
#include "aoc21/helpers.h" #include <numeric> #include <vector> #include <cmath> #include <numeric> using InitialPositions = std::vector<int>; int main(int argc, char** argv) { aoc::AutoTimer t; auto f = aoc::open_argv_1(argc, argv); std::string input; std::getline(f, input); f.close(); InitialPosition...
35.759259
126
0.643708
baldwinmatt
5af4021f6172896833f09d08799e1691e104f918
774
cpp
C++
src/OscNode.cpp
adelpeyroux/rvra-project
b5df644bec250f1ab43cbb54e9aea05c30d8b51c
[ "MIT" ]
null
null
null
src/OscNode.cpp
adelpeyroux/rvra-project
b5df644bec250f1ab43cbb54e9aea05c30d8b51c
[ "MIT" ]
null
null
null
src/OscNode.cpp
adelpeyroux/rvra-project
b5df644bec250f1ab43cbb54e9aea05c30d8b51c
[ "MIT" ]
null
null
null
#include "OscNode.hpp" #include "MiscConsts.hpp" //**************************************** //***** Constructeurs / Destructeurs ***** //**************************************** OscNode::OscNode(int id, double freq, int type, double time) : AudioNode(id, time), _freq(freq), _initTime(time), _phi0(PHI[id]), _type(type...
24.967742
81
0.569767
adelpeyroux
850af2c0a7faa3706a35e293114b35ab53901d82
5,750
cpp
C++
stingraykit/any.cpp
zavadovsky/stingraykit
33e6587535325f08769bd8392381d70d4d316410
[ "0BSD" ]
24
2015-03-04T16:30:03.000Z
2022-02-04T15:03:42.000Z
stingraykit/any.cpp
zavadovsky/stingraykit
33e6587535325f08769bd8392381d70d4d316410
[ "0BSD" ]
null
null
null
stingraykit/any.cpp
zavadovsky/stingraykit
33e6587535325f08769bd8392381d70d4d316410
[ "0BSD" ]
7
2015-04-08T12:22:58.000Z
2018-06-14T09:58:45.000Z
// Copyright (c) 2011 - 2019, GS Group, https://github.com/GSGroup // Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, // provided that the above copyright notice and this permission notice appear in all copies. // THE SOFTWARE IS PROVIDED "AS IS" A...
22.908367
172
0.688522
zavadovsky
851174c3993c3114a7372b33ec6efb9289964f2a
2,418
hh
C++
libsrc/spatialdata/spatialdb/SimpleGridAscii.hh
rwalkerlewis/spatialdata
515c8d9dec21d261d0d654b5c30e6759565268d2
[ "MIT" ]
6
2017-09-19T11:05:33.000Z
2019-09-26T08:18:30.000Z
libsrc/spatialdata/spatialdb/SimpleGridAscii.hh
rwalkerlewis/spatialdata
515c8d9dec21d261d0d654b5c30e6759565268d2
[ "MIT" ]
38
2017-06-28T15:44:50.000Z
2022-02-17T04:04:02.000Z
libsrc/spatialdata/spatialdb/SimpleGridAscii.hh
rwalkerlewis/spatialdata
515c8d9dec21d261d0d654b5c30e6759565268d2
[ "MIT" ]
11
2015-11-09T06:29:35.000Z
2021-06-02T14:13:59.000Z
// -*- C++ -*- // // ---------------------------------------------------------------------- // // Brad T. Aagaard, U.S. Geological Survey // // This code was developed as part of the Computational Infrastructure // for Geodynamics (http://geodynamics.org). // // Copyright (c) 2010-2017 University of California, Davis /...
22.388889
73
0.565757
rwalkerlewis
851221e1f566c7ad8c029dfb0cb3771d1c883830
4,427
hxx
C++
include/shared_memory/exchange_manager_producer.hxx
MaximilienNaveau/shared_memory
1440454759cdd19e0d898753d86b8714c1aefa84
[ "BSD-3-Clause" ]
2
2020-09-08T04:01:02.000Z
2021-01-28T15:02:11.000Z
include/shared_memory/exchange_manager_producer.hxx
MaximilienNaveau/shared_memory
1440454759cdd19e0d898753d86b8714c1aefa84
[ "BSD-3-Clause" ]
13
2019-09-24T17:21:49.000Z
2021-03-02T10:09:03.000Z
include/shared_memory/exchange_manager_producer.hxx
MaximilienNaveau/shared_memory
1440454759cdd19e0d898753d86b8714c1aefa84
[ "BSD-3-Clause" ]
2
2019-05-06T08:25:35.000Z
2020-04-14T11:49:02.000Z
template <class Serializable, int QUEUE_SIZE> Exchange_manager_producer<Serializable, QUEUE_SIZE>::Exchange_manager_producer( std::string segment_id, std::string object_id, bool leading, bool autolock) { leading_ = leading; autolock_ = autolock; segment_id_ = segment_id; object_id_ = object_id; ...
22.937824
80
0.674046
MaximilienNaveau
851a2356dfa870cd08d4b528e236c93de95b26f0
5,253
cpp
C++
source/solution_zoo/xstream/methods/RectInputPredictMethod/src/RectInputPredictMethod.cpp
HorizonRobotics-Platform/AI-EXPRESS
413206d88dae1fbd465ced4d60b2a1769d15c171
[ "BSD-2-Clause" ]
98
2020-09-11T13:52:44.000Z
2022-03-23T11:52:02.000Z
source/solution_zoo/xstream/methods/RectInputPredictMethod/src/RectInputPredictMethod.cpp
HorizonRobotics-Platform/ai-express
413206d88dae1fbd465ced4d60b2a1769d15c171
[ "BSD-2-Clause" ]
8
2020-10-19T14:23:30.000Z
2022-03-16T01:00:07.000Z
source/solution_zoo/xstream/methods/RectInputPredictMethod/src/RectInputPredictMethod.cpp
HorizonRobotics-Platform/AI-EXPRESS
413206d88dae1fbd465ced4d60b2a1769d15c171
[ "BSD-2-Clause" ]
28
2020-09-17T14:20:35.000Z
2022-01-10T16:26:00.000Z
/* * Copyright (c) 2020 Horizon Robotics. All rights reserved. * @File: RectInputPredictMethod.cpp * @Brief: implementation of RectInputPredictMethod * @Author: shiyu.fu * @Email: shiyu.fu@horizon.ai * @Date: Thu Dec 24 2020 11:27:59 */ #include "RectInputPredictMethod/RectInputPredictMethod.h" #include <fstrea...
37.255319
78
0.625738
HorizonRobotics-Platform
8527446ab2712d2ec20cd6ad017b71c8ccdd9000
793
cpp
C++
poj/3589/main.cpp
nimitz871016/acm
a59aba6333e48473f9ef3c3702965b5ba2c4d741
[ "MIT" ]
null
null
null
poj/3589/main.cpp
nimitz871016/acm
a59aba6333e48473f9ef3c3702965b5ba2c4d741
[ "MIT" ]
null
null
null
poj/3589/main.cpp
nimitz871016/acm
a59aba6333e48473f9ef3c3702965b5ba2c4d741
[ "MIT" ]
null
null
null
// // main.cpp // 3589 // 水题,记录一个问题,当要接收4个字符的时候,数组长度最好多开一个。因为只开刚好的话,第一个如本例中a,就会有问题,a[0]会变成'\0'! // Created by Nimitz_007 on 16/7/31. // Copyright © 2016年 Fujian Ruijie Networks Co., Ltd. All rights reserved. // #include <iostream> int main(int argc, const char * argv[]) { int n,c,d; char a[5],b[5]; s...
22.027778
75
0.399748
nimitz871016
8527b9dbe7dc5149735cc842bf60b6375aba49e9
2,292
hpp
C++
Lib/Chip/ATSAMA5D33.hpp
operativeF/Kvasir
dfbcbdc9993d326ef8cc73d99129e78459c561fd
[ "Apache-2.0" ]
null
null
null
Lib/Chip/ATSAMA5D33.hpp
operativeF/Kvasir
dfbcbdc9993d326ef8cc73d99129e78459c561fd
[ "Apache-2.0" ]
null
null
null
Lib/Chip/ATSAMA5D33.hpp
operativeF/Kvasir
dfbcbdc9993d326ef8cc73d99129e78459c561fd
[ "Apache-2.0" ]
null
null
null
#pragma once #include <cstdint> #include <Chip/Unknown/Atmel/ATSAMA5D33/SMD.hpp> #include <Chip/Unknown/Atmel/ATSAMA5D33/AXIMX.hpp> #include <Chip/Unknown/Atmel/ATSAMA5D33/HSMCI0.hpp> #include <Chip/Unknown/Atmel/ATSAMA5D33/SPI0.hpp> #include <Chip/Unknown/Atmel/ATSAMA5D33/SSC0.hpp> #include <Chip/Unknown/Atmel/ATSAMA...
47.75
51
0.799738
operativeF
8529c1e883a333bbec1c93d8dcaecf9356475e0d
708
hpp
C++
tools/threads/thread.hpp
YashasSamaga/liveodr
b9352edef39ade1c68fb1d2439d0aadcc22661d6
[ "MIT" ]
1
2020-11-23T16:17:31.000Z
2020-11-23T16:17:31.000Z
tools/threads/thread.hpp
YashasSamaga/liveodr
b9352edef39ade1c68fb1d2439d0aadcc22661d6
[ "MIT" ]
null
null
null
tools/threads/thread.hpp
YashasSamaga/liveodr
b9352edef39ade1c68fb1d2439d0aadcc22661d6
[ "MIT" ]
null
null
null
#ifndef LIVEODR_TOOLS_THREADS_THREAD_HPP #define LIVEODR_TOOLS_THREADS_THREAD_HPP #include <cstddef> namespace liveodr::tools { template <class InputTaskItem, class OutputTaskItem> class ITaskThread { public: using input_type = InputTaskItem; using output_type = OutputTaskItem; vi...
28.32
62
0.689266
YashasSamaga
852b956e8b608917775142d59aa50b710e977d9b
1,434
cpp
C++
GetOnToC++/Step_1/S1_SP_RadToDeg.cpp
NarayanMahadevan/MakeTechEz
9e47733889ab2170835f60d5b3c38ed7aac6d85b
[ "Apache-2.0" ]
null
null
null
GetOnToC++/Step_1/S1_SP_RadToDeg.cpp
NarayanMahadevan/MakeTechEz
9e47733889ab2170835f60d5b3c38ed7aac6d85b
[ "Apache-2.0" ]
null
null
null
GetOnToC++/Step_1/S1_SP_RadToDeg.cpp
NarayanMahadevan/MakeTechEz
9e47733889ab2170835f60d5b3c38ed7aac6d85b
[ "Apache-2.0" ]
null
null
null
// // Program Name - S1_SP_RadToDeg.cpp // Series: GetOnToC++ Step: 1 Main Program // // Purpose: Write a Program to convert Radians to Degrees using a Macro. // The formulae is deg = rad * (180/pi) // // Compile: g++ S1_SP_RadToDeg.cpp -o S1_SP_RadToDeg // Execute: ./...
30.510638
77
0.531381
NarayanMahadevan
853b52bc74f20f2d0fac0fe035485b07fed44d6d
11,895
cpp
C++
codingame/ghost-in-the-cell/simulator/simulator.cpp
de-passage/web-exercises
8ab3ae4c027006de9f359e66d1067ff861db7c55
[ "MIT" ]
null
null
null
codingame/ghost-in-the-cell/simulator/simulator.cpp
de-passage/web-exercises
8ab3ae4c027006de9f359e66d1067ff861db7c55
[ "MIT" ]
null
null
null
codingame/ghost-in-the-cell/simulator/simulator.cpp
de-passage/web-exercises
8ab3ae4c027006de9f359e66d1067ff861db7c55
[ "MIT" ]
null
null
null
#include "decisions.hpp" #include "graph.hpp" #include "types.hpp" #include <stdexcept> #include <unordered_set> namespace simulator { using gitc::bomb_container; using gitc::bomb_id; using gitc::bomb_info; using gitc::decision_list; using gitc::duration; using gitc::factory_container; using gitc::factory_id; using ...
31.975806
80
0.595544
de-passage
8540c806caff154f898988c360b55c2dd618170a
7,957
cpp
C++
engine/engine/gems/image/tests/processing.cpp
ddr95070/RMIsaac
ee3918f685f0a88563248ddea11d089581077973
[ "FSFAP" ]
1
2020-04-14T13:55:16.000Z
2020-04-14T13:55:16.000Z
engine/engine/gems/image/tests/processing.cpp
ddr95070/RMIsaac
ee3918f685f0a88563248ddea11d089581077973
[ "FSFAP" ]
4
2020-09-25T22:34:29.000Z
2022-02-09T23:45:12.000Z
engine/engine/gems/image/tests/processing.cpp
ddr95070/RMIsaac
ee3918f685f0a88563248ddea11d089581077973
[ "FSFAP" ]
1
2022-01-28T16:37:51.000Z
2022-01-28T16:37:51.000Z
/* Copyright (c) 2018, NVIDIA CORPORATION. All rights reserved. NVIDIA CORPORATION and its licensors retain all intellectual property and proprietary rights in and to this software, related documentation and any modifications thereto. Any use, reproduction, disclosure or distribution of this software and related docum...
26.701342
96
0.606761
ddr95070
854144fdc6af56d5c588a5c9a3e8bd4e9f500b08
4,903
cpp
C++
src/Providers/UNIXProviders/iSCSIConnection/UNIX_iSCSIConnectionProvider.cpp
brunolauze/openpegasus-providers-old
b00f1aad575bae144b8538bf57ba5fd5582a4ec7
[ "MIT" ]
1
2020-10-12T09:00:09.000Z
2020-10-12T09:00:09.000Z
src/Providers/UNIXProviders/iSCSIConnection/UNIX_iSCSIConnectionProvider.cpp
brunolauze/openpegasus-providers-old
b00f1aad575bae144b8538bf57ba5fd5582a4ec7
[ "MIT" ]
null
null
null
src/Providers/UNIXProviders/iSCSIConnection/UNIX_iSCSIConnectionProvider.cpp
brunolauze/openpegasus-providers-old
b00f1aad575bae144b8538bf57ba5fd5582a4ec7
[ "MIT" ]
null
null
null
//%LICENSE//////////////////////////////////////////////////////////////// // // Licensed to The Open Group (TOG) under one or more contributor license // agreements. Refer to the OpenPegasusNOTICE.txt file distributed with // this work for additional information regarding copyright ownership. // Each contributor lice...
36.051471
103
0.742403
brunolauze
8547304a15eb83d3ffb34fc888d9a4a99ec55bd9
643
cpp
C++
abc043/abc043_c.cpp
crazystylus/AtCoderPractice
8e0f56a9b3905e11f83f351af66af5bfed8606b2
[ "MIT" ]
null
null
null
abc043/abc043_c.cpp
crazystylus/AtCoderPractice
8e0f56a9b3905e11f83f351af66af5bfed8606b2
[ "MIT" ]
null
null
null
abc043/abc043_c.cpp
crazystylus/AtCoderPractice
8e0f56a9b3905e11f83f351af66af5bfed8606b2
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; #define ll long long #define llu unsigned long long int main() { ll avg = 0, n; cin >> n; ll arr[n]; for (int i = 0; i < n; i++) { cin >> arr[i]; avg += arr[i]; } avg /= n; ll cost1 = 0, cost2 = 0, cost3 = 0; for (int i =...
18.371429
42
0.415241
crazystylus
85502158f103ddb4aa1dafeecc2cbf2835633bbb
8,394
cpp
C++
src/util.cpp
FlorianEith/rcll_status_board
2358ca07d72ad090408c0810071b95c03416b02c
[ "MIT" ]
null
null
null
src/util.cpp
FlorianEith/rcll_status_board
2358ca07d72ad090408c0810071b95c03416b02c
[ "MIT" ]
null
null
null
src/util.cpp
FlorianEith/rcll_status_board
2358ca07d72ad090408c0810071b95c03416b02c
[ "MIT" ]
2
2019-10-31T14:18:12.000Z
2021-01-18T14:40:06.000Z
/* The MIT License (MIT) Copyright (c) 2017-2018 Florian Eith <florian.eith@web.de> 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...
36.977974
142
0.564689
FlorianEith
855268b3210931362702a37775c379bb19df53ec
2,206
cpp
C++
USACO Silver/January 2017 Contest/hoof_paper_scissors.cpp
Alecs-Li/Competitive-Programming
39941ff8e2c8994abbae8c96a1ed0a04b10058b8
[ "MIT" ]
1
2021-07-06T02:14:03.000Z
2021-07-06T02:14:03.000Z
USACO Silver/January 2017 Contest/hoof_paper_scissors.cpp
Alex01890-creator/competitive-programming
39941ff8e2c8994abbae8c96a1ed0a04b10058b8
[ "MIT" ]
null
null
null
USACO Silver/January 2017 Contest/hoof_paper_scissors.cpp
Alex01890-creator/competitive-programming
39941ff8e2c8994abbae8c96a1ed0a04b10058b8
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> #include <tuple> #include <algorithm> #include <string> #include <set> #include <map> #include <cmath> #include <queue> #include <iomanip> using namespace std; typedef long double ld; typedef long long ll; typedef pair<int, int> pi; typedef pair<ll,ll> pll; typedef pair<char, cha...
23.72043
71
0.532638
Alecs-Li
8559a76ef7a93c860d4744286fe84090278fe994
6,033
cc
C++
copy-file-as-text/src/main.cc
itsuart/tiny-windows-utils
79ae157c48653fd96a7c8459507258a54258a409
[ "MIT" ]
null
null
null
copy-file-as-text/src/main.cc
itsuart/tiny-windows-utils
79ae157c48653fd96a7c8459507258a54258a409
[ "MIT" ]
3
2021-02-04T03:37:15.000Z
2021-02-10T02:28:32.000Z
copy-file-as-text/src/main.cc
itsuart/tiny-windows-utils
79ae157c48653fd96a7c8459507258a54258a409
[ "MIT" ]
null
null
null
#include <Windows.h> #include <string> #include <memory> #include <cassert> #include <type_traits> namespace { std::unique_ptr<std::FILE, decltype(&std::fclose)> open_file(const wchar_t* fileName, const wchar_t* mode) { assert(fileName); assert(mode); std::unique_ptr<FILE, decltype(&std::fc...
34.084746
112
0.561246
itsuart
855ba4142eddd92e96fbb88c79d13d9f6499cb1d
4,966
cpp
C++
Sources/AGEngine/Render/OpenGLTask/OpenGLState.cpp
Another-Game-Engine/AGE
d5d9e98235198fe580a43007914f515437635830
[ "MIT" ]
47
2015-03-29T09:44:25.000Z
2020-11-30T10:05:56.000Z
Sources/AGEngine/Render/OpenGLTask/OpenGLState.cpp
Another-Game-Engine/AGE
d5d9e98235198fe580a43007914f515437635830
[ "MIT" ]
313
2015-01-01T18:16:30.000Z
2015-11-30T07:54:07.000Z
Sources/AGEngine/Render/OpenGLTask/OpenGLState.cpp
Another-Game-Engine/AGE
d5d9e98235198fe580a43007914f515437635830
[ "MIT" ]
9
2015-06-07T13:21:54.000Z
2020-08-25T09:50:07.000Z
#include <Render/OpenGLTask/OpenGLState.hh> namespace AGE { OpenGLState::State OpenGLState::_currentState; const OpenGLState::ToStateMode OpenGLState::_glToStateMode[State::NUMBER_OF_MODES] = { { GL_ALPHA_TEST, State::ALPHA_TEST }, { GL_BLEND, State::BLEND }, { GL_CULL_FACE, State::CULL_FACE }, { GL_DEPTH_...
23.875
88
0.695127
Another-Game-Engine
855c1da221e31911e001fc8b87b23fab47e2cda4
2,571
cpp
C++
src/Title.cpp
darkbitsorg/db-08_green_grappler
f009228edb2eb1a943ab6d5801a78a5d00ac9e43
[ "BSD-2-Clause-NetBSD", "BSD-2-Clause", "BSD-3-Clause" ]
1
2018-06-12T13:35:31.000Z
2018-06-12T13:35:31.000Z
src/Title.cpp
darkbitsorg/db-08_green_grappler
f009228edb2eb1a943ab6d5801a78a5d00ac9e43
[ "BSD-2-Clause-NetBSD", "BSD-2-Clause", "BSD-3-Clause" ]
null
null
null
src/Title.cpp
darkbitsorg/db-08_green_grappler
f009228edb2eb1a943ab6d5801a78a5d00ac9e43
[ "BSD-2-Clause-NetBSD", "BSD-2-Clause", "BSD-3-Clause" ]
null
null
null
#include "Title.hpp" #include "Animation.hpp" #include "Font.hpp" #include "Resource.hpp" #include "Input.hpp" #include "Constants.hpp" #include "Sound.hpp" #include "Music.hpp" #include "LevelSelect.hpp" #include "ScreenManager.hpp" #include "GameState.hpp" #include "Level.hpp" #include "LevelDescription.hpp" Title:...
20.404762
110
0.65072
darkbitsorg
855f2d59189ec78ab5a40e254a39c4c68336e6fe
252
cpp
C++
test/utest_rp_process.cpp
TimG1997/System-Monitor
a60e3aa1be396be3ec2706628d69ed38ac0374b9
[ "MIT" ]
null
null
null
test/utest_rp_process.cpp
TimG1997/System-Monitor
a60e3aa1be396be3ec2706628d69ed38ac0374b9
[ "MIT" ]
null
null
null
test/utest_rp_process.cpp
TimG1997/System-Monitor
a60e3aa1be396be3ec2706628d69ed38ac0374b9
[ "MIT" ]
null
null
null
#include "../include/model/process.h" #include "gtest/gtest.h" class ProcessTest : public ::testing::Test {}; TEST_F(ProcessTest, TestLessThanOperator) { Process process_one{1}; Process process_two{2}; EXPECT_TRUE(process_two < process_one); }
22.909091
46
0.738095
TimG1997
856cc5e6cd830f7445038183688f96524c29b854
7,606
cpp
C++
src/ptz_track.cpp
dzyswy/ptz-utils
3b1052dc804f8168ec5a1c2206af35ae00df95d8
[ "MIT" ]
null
null
null
src/ptz_track.cpp
dzyswy/ptz-utils
3b1052dc804f8168ec5a1c2206af35ae00df95d8
[ "MIT" ]
null
null
null
src/ptz_track.cpp
dzyswy/ptz-utils
3b1052dc804f8168ec5a1c2206af35ae00df95d8
[ "MIT" ]
null
null
null
#include "ptz_track.h" static void handle_track(void *arg) { ptz_track *tk = (ptz_track *)arg; tk->track_process(); } ptz_track::ptz_track(ptz_ctl_visca *ptz, stereo_filter *target, fit_calib *calib, float period) { ptz_ = ptz; target_ = target; calib_ = calib; period_ = period; track_mode_ = 0; track_m...
29.253846
137
0.659611
dzyswy
856e75e227d293ff46c22d2aad4e6425c37eed63
3,266
cpp
C++
src/liblvr2/io/DrcIO.cpp
uos/lvr
9bb03a30441b027c39db967318877e03725112d5
[ "BSD-3-Clause" ]
38
2019-06-19T15:10:35.000Z
2022-02-16T03:08:24.000Z
src/liblvr2/io/DrcIO.cpp
jtpils/lvr2
b1010dfcc930d9ae0ff5cfa5c88d0810d65368ce
[ "BSD-3-Clause" ]
9
2019-06-19T16:19:51.000Z
2021-09-17T08:31:25.000Z
src/liblvr2/io/DrcIO.cpp
jtpils/lvr2
b1010dfcc930d9ae0ff5cfa5c88d0810d65368ce
[ "BSD-3-Clause" ]
13
2019-04-16T11:50:32.000Z
2020-11-26T07:47:44.000Z
/* Copyright (C) 2018 Uni Osnabrück * This file is part of the LAS VEGAS Reconstruction Toolkit, * * LAS VEGAS 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 License, or * (at yo...
26.991736
100
0.599204
uos
856ebbc4e11f3bc3e178cde1397645af98bbfa28
9,756
cpp
C++
tests/connectiontest/tst_connectiontest.cpp
sjinks/qfcgi
b29ee8defc475a6012dd4b81e5abff759e6f67fb
[ "MIT" ]
1
2018-01-03T17:25:44.000Z
2018-01-03T17:25:44.000Z
tests/connectiontest/tst_connectiontest.cpp
sjinks/qfcgi
b29ee8defc475a6012dd4b81e5abff759e6f67fb
[ "MIT" ]
null
null
null
tests/connectiontest/tst_connectiontest.cpp
sjinks/qfcgi
b29ee8defc475a6012dd4b81e5abff759e6f67fb
[ "MIT" ]
null
null
null
#include <QtCore/QCoreApplication> #include <QtNetwork/QLocalServer> #include <QtNetwork/QLocalSocket> #include <QtTest/QTest> #include <QtTest/QSignalSpy> #include "connection.h" #include "request.h" #include "outputstream.h" #include "protocol/beginrequest_p.h" class ConnectionTest : public QObject { Q_OBJECT publi...
36.539326
125
0.685117
sjinks
85712d83fe3844f92cd57974688add6c0f3c83df
514
cpp
C++
test/2020/Day08PuzzleTests.cpp
MarkRDavison/AdventOfCode
640ae6de76709367be8dfeb86b9f1f7d21908946
[ "MIT" ]
null
null
null
test/2020/Day08PuzzleTests.cpp
MarkRDavison/AdventOfCode
640ae6de76709367be8dfeb86b9f1f7d21908946
[ "MIT" ]
null
null
null
test/2020/Day08PuzzleTests.cpp
MarkRDavison/AdventOfCode
640ae6de76709367be8dfeb86b9f1f7d21908946
[ "MIT" ]
null
null
null
#include <catch/catch.hpp> #include <2020/Day08Puzzle.hpp> namespace TwentyTwenty { TEST_CASE("Day 8 Examples work", "[2020][Day08]") { const std::vector<std::string> input = { "nop +0", "acc +1", "jmp +4", "acc +3", "jmp -3", "acc -99", "acc +1", "jmp -4", "acc +6" }; Day08P...
17.724138
52
0.570039
MarkRDavison
85719508233d89fd1b47d6400453cfee8ea60064
1,787
hpp
C++
src/creature/player-party-factory.hpp
tilnewman/heroespath-src
a7784e44d8b5724f305ef8b8671fed54e2e5fd69
[ "BSL-1.0", "Beerware" ]
2
2019-02-28T00:28:08.000Z
2019-10-20T14:39:48.000Z
src/creature/player-party-factory.hpp
tilnewman/heroespath-src
a7784e44d8b5724f305ef8b8671fed54e2e5fd69
[ "BSL-1.0", "Beerware" ]
null
null
null
src/creature/player-party-factory.hpp
tilnewman/heroespath-src
a7784e44d8b5724f305ef8b8671fed54e2e5fd69
[ "BSL-1.0", "Beerware" ]
null
null
null
// ---------------------------------------------------------------------------- // "THE BEER-WARE LICENSE" (Revision 42): // <ztn@zurreal.com> wrote this file. As long as you retain this notice you // can do whatever you want with this stuff. If we meet some day, and you think // this stuff is worth it, you can buy me...
34.365385
99
0.670397
tilnewman
8576a8409d781274ef9fb40d5af34210a5c5e7b5
2,316
cc
C++
code/render/frame/frametext.cc
gscept/nebula-trifid
e7c0a0acb05eedad9ed37a72c1bdf2d658511b42
[ "BSD-2-Clause" ]
67
2015-03-30T19:56:16.000Z
2022-03-11T13:52:17.000Z
code/render/frame/frametext.cc
gscept/nebula-trifid
e7c0a0acb05eedad9ed37a72c1bdf2d658511b42
[ "BSD-2-Clause" ]
5
2015-04-15T17:17:33.000Z
2016-02-11T00:40:17.000Z
code/render/frame/frametext.cc
gscept/nebula-trifid
e7c0a0acb05eedad9ed37a72c1bdf2d658511b42
[ "BSD-2-Clause" ]
34
2015-03-30T15:08:00.000Z
2021-09-23T05:55:10.000Z
//------------------------------------------------------------------------------ // frametext.cc // (C) 2011 gscept //------------------------------------------------------------------------------ #include "stdneb.h" #include "frame/frametext.h" #include "coregraphics/textrenderer.h" #include "coregraphics/renderdevi...
23.632653
80
0.536269
gscept
85822b0c582d0c26781fe6a82b84d8845fe85871
1,392
cpp
C++
src/LGR/LGR-090/LGR-090-A.cpp
krishukr/cpp-code
1c94401682227bd86c0d9295134d43582247794e
[ "MIT" ]
1
2021-08-13T14:27:39.000Z
2021-08-13T14:27:39.000Z
src/LGR/LGR-090/LGR-090-A.cpp
krishukr/cpp-code
1c94401682227bd86c0d9295134d43582247794e
[ "MIT" ]
null
null
null
src/LGR/LGR-090/LGR-090-A.cpp
krishukr/cpp-code
1c94401682227bd86c0d9295134d43582247794e
[ "MIT" ]
null
null
null
#include <algorithm> #include <cstdio> #include <cstring> #include <iostream> #include <vector> bool vis[100050]; template <typename T> T read(); int main() { std::ios::sync_with_stdio(false); int T = read<int>(); while (T--) { int n = read<int>(), m = read<int>(); if (m > n / 2) { ...
21.090909
56
0.344828
krishukr
3fee89c0597cd3708354c523d15fefa5e630f83b
456
cpp
C++
Tests/main.cpp
jorshi/exercise_software
d6fbc44f301395ad1c2408c1d7cd7745ef254b7d
[ "MIT" ]
null
null
null
Tests/main.cpp
jorshi/exercise_software
d6fbc44f301395ad1c2408c1d7cd7745ef254b7d
[ "MIT" ]
null
null
null
Tests/main.cpp
jorshi/exercise_software
d6fbc44f301395ad1c2408c1d7cd7745ef254b7d
[ "MIT" ]
null
null
null
// // main.cpp // Unit Tests for the Exercise Software Application // // Created by Jordie Shier on 2015-11-12. // Copyright © 2015 Jordie Shier . All rights reserved. // #include <iostream> #include <gtest/gtest.h> // Set up Google Test and run all tests in the Tests directory GTEST_API_ int main(int argc, char...
25.333333
62
0.699561
jorshi
3fef3a7445c8d2ebd16dc89128577114d0c47680
131
hpp
C++
include/helper/helperFun.hpp
Charles-Chao-Chen/H-Matrix-Inverse
58e3f41100cf82103b75eb2a03b9f70d385a67fa
[ "MIT" ]
null
null
null
include/helper/helperFun.hpp
Charles-Chao-Chen/H-Matrix-Inverse
58e3f41100cf82103b75eb2a03b9f70d385a67fa
[ "MIT" ]
1
2015-03-15T19:22:19.000Z
2015-03-15T19:22:19.000Z
include/helper/helperFun.hpp
Charles-Chao-Chen/H-Matrix-Inverse
58e3f41100cf82103b75eb2a03b9f70d385a67fa
[ "MIT" ]
null
null
null
#ifndef helper_functions_hpp #define helper_functions_hpp #include "macros.hpp" #include "timer.hpp" #include "zperm.hpp" #endif
14.555556
28
0.78626
Charles-Chao-Chen
3ff67019e73ad6aa79ca25aad57be0a7923072fd
919
cpp
C++
cses/sorting-and-searching/traffic-lights.cpp
tysm/cpsols
262212646203e516d1706edf962290de93762611
[ "MIT" ]
4
2020-10-05T19:24:10.000Z
2021-07-15T00:45:43.000Z
cses/sorting-and-searching/traffic-lights.cpp
tysm/cpsols
262212646203e516d1706edf962290de93762611
[ "MIT" ]
null
null
null
cses/sorting-and-searching/traffic-lights.cpp
tysm/cpsols
262212646203e516d1706edf962290de93762611
[ "MIT" ]
null
null
null
#include <cpplib/stdinc.hpp> #include <cpplib/data-structure/tree/heap.hpp> #include <cpplib/data-structure/tree/order-statistic-tree.hpp> bool valid(const ii &range, ost_set<int> &vis){ return vis.order_of_key(range.ss) == vis.order_of_key(range.ff)+1; } int32_t main(){ // https://cses.fi/problemset/task/116...
24.184211
104
0.538629
tysm
3ff9e40d484324fd9036f02915596d4a3888d676
4,351
cpp
C++
tc 160+/AbsSequence.cpp
ibudiselic/contest-problem-solutions
88082981b4d87da843472e3ca9ed5f4c42b3f0aa
[ "BSD-2-Clause" ]
3
2015-05-25T06:24:37.000Z
2016-09-10T07:58:00.000Z
tc 160+/AbsSequence.cpp
ibudiselic/contest-problem-solutions
88082981b4d87da843472e3ca9ed5f4c42b3f0aa
[ "BSD-2-Clause" ]
null
null
null
tc 160+/AbsSequence.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 <utility> using namespace std; long long num(const string &s) { long long x = 0; for (int i=0; i<(int)s.size(); ++i) { x = 10*x + (s[i]-'0...
36.258333
433
0.540795
ibudiselic
3ffcbd61ef1cbb4ee76fc48de783797693807431
2,006
cpp
C++
include/text.cpp
vincentlaucsb/resume-generator
231beaf9f1195e3694fbc0a8c2d1ae3bf26a9a4f
[ "MIT" ]
2
2019-05-25T19:44:41.000Z
2019-05-29T01:00:35.000Z
include/text.cpp
vincentlaucsb/resume-generator
231beaf9f1195e3694fbc0a8c2d1ae3bf26a9a4f
[ "MIT" ]
null
null
null
include/text.cpp
vincentlaucsb/resume-generator
231beaf9f1195e3694fbc0a8c2d1ae3bf26a9a4f
[ "MIT" ]
null
null
null
#include "text.h" #include <regex> #include "text.h" namespace resume { bool is_capital(char ch) { return ch >= 'A' && ch <= 'Z'; } std::string lower(std::string_view str) { std::string ret; for (char ch : str) { ret += tolower(ch); } return ret; } ...
26.051948
102
0.401795
vincentlaucsb